diff --git a/CHANGELOG.md b/CHANGELOG.md index 04a9c7c2798..d6e6ba01465 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,45 +1,128 @@ -## 1.3.0 (Unreleased) +## 1.6.0 (Unreleased) + +FEATURES: + +* **New Data Source:** `aws_network_interface` [GH-2316] +* **New Data Source:** `aws_elb` [GH-2004] +* **New Resource:** `aws_dx_connection_association` [GH-2360] +* **New Resource:** `aws_appautoscaling_scheduled_action` [GH-2231] +* **New Resource:** `aws_cloudwatch_log_resource_policy` [GH-2243] +* **New Resource:** `aws_media_store_container` [GH-2448] +* **New Resource:** `aws_service_discovery_public_dns_namespace` [GH-2569] +* **New Resource:** `aws_service_discovery_private_dns_namespace` [GH-2589] + +IMPROVEMENTS: + +* resource/aws_ssm_association: Add `association_name` [GH-2257] +* resource/aws_ecs_service: Add `network_configuration` [GH-2299] +* resource/aws_lambda_function: Add `reserved_concurrent_executions` [GH-2504] +* resource/aws_ecs_service: Add `launch_type` (Fargate support) [GH-2483] +* resource/aws_ecs_task_definition: Add `cpu`, `memory`, `execution_role_arn` & `requires_compatibilities` (Fargate support) [GH-2483] +* resource/aws_ecs_cluster: Add arn attribute [GH-2552] +* resource/aws_elasticache_security_group: Add import support [GH-2277] +* resource/aws_sqs_queue_policy: Support import by queue URL [GH-2544] +* resource/aws_elasticsearch_domain: Add `log_publishing_options` [GH-2285] +* resource/aws_athena_database: Add `force_destroy` field [GH-2363] +* resource/aws_elasticache_replication_group: Add support for Redis auth, in-transit and at-rest encryption [GH-2090] +* resource/aws_s3_bucket: Add `server_side_encryption_configuration` block [GH-2472] + +BUG FIXES: + +* data-source/aws_instance: Set `placement_group` if available [GH-2400] +* resource/aws_elasticache_parameter_group: Add StateFunc to make name lowercase [GH-2426] +* resource/aws_elasticache_replication_group: Modify validation, make replication_group_id lowercase [GH-2432] +* resource/aws_db_instance: Treat `storage-optimization` as valid state [GH-2409] +* resource/aws_dynamodb_table: Ensure `ttl` is properly read [GH-2452] +* resource/aws_lb_target_group: fixes to behavior based on protocol type [GH-2380] +* resource/aws_mq_broker: Fix crash in hashing function [GH-2598] + +## 1.5.0 (November 29, 2017) + +FEATURES: + +* **New Resource:** `aws_mq_broker` ([#2466](https://github.com/terraform-providers/terraform-provider-aws/issues/2466)) +* **New Resource:** `aws_mq_configuration` ([#2466](https://github.com/terraform-providers/terraform-provider-aws/issues/2466)) + +## 1.4.0 (November 29, 2017) + +BUG FIXES: + +* resource/aws_cognito_user_pool: Fix `email_subject_by_link` ([#2395](https://github.com/terraform-providers/terraform-provider-aws/issues/2395)) +* resource/aws_api_gateway_method_response: Fix conflict exception in API gateway method response ([#2393](https://github.com/terraform-providers/terraform-provider-aws/issues/2393)) +* resource/aws_api_gateway_method: Fix typo `authorization_type` -> `authorization` ([#2430](https://github.com/terraform-providers/terraform-provider-aws/issues/2430)) + +IMPROVEMENTS: + +* data-source/aws_nat_gateway: Add missing address attributes to the schema ([#2209](https://github.com/terraform-providers/terraform-provider-aws/issues/2209)) +* resource/aws_ssm_maintenance_window_target: Change MaxItems of targets ([#2361](https://github.com/terraform-providers/terraform-provider-aws/issues/2361)) +* resource/aws_sfn_state_machine: Support Update State machine call ([#2349](https://github.com/terraform-providers/terraform-provider-aws/issues/2349)) +* resource/aws_instance: Set placement_group in state on read if available ([#2398](https://github.com/terraform-providers/terraform-provider-aws/issues/2398)) + +## 1.3.1 (November 20, 2017) + +BUG FIXES: + +* resource/aws_ecs_task_definition: Fix equivalency comparator ([#2339](https://github.com/terraform-providers/terraform-provider-aws/issues/2339)) +* resource/aws_batch_job_queue: Return errors correctly if deletion fails ([#2322](https://github.com/terraform-providers/terraform-provider-aws/issues/2322)) +* resource/aws_security_group_rule: Parse `description` correctly ([#1959](https://github.com/terraform-providers/terraform-provider-aws/issues/1959)) +* Fixed Cognito Lambda Config Validation for optional ARN configurations ([#2370](https://github.com/terraform-providers/terraform-provider-aws/issues/2370)) +* resource/aws_cognito_identity_pool_roles_attachment: Fix typo "authenticated" -> "unauthenticated" ([#2358](https://github.com/terraform-providers/terraform-provider-aws/issues/2358)) + +## 1.3.0 (November 16, 2017) NOTES: -* resource/aws_redshift_cluster: Field `enable_logging`, `bucket_name` and `s3_key_prefix` were deprecated in favour of a new `logging` block [GH-2230] +* resource/aws_redshift_cluster: Field `enable_logging`, `bucket_name` and `s3_key_prefix` were deprecated in favour of a new `logging` block ([#2230](https://github.com/terraform-providers/terraform-provider-aws/issues/2230)) +* resource/aws_lb_target_group: We no longer provide defaults for `health_check`'s `path` nor `matcher` in order to support network load balancers where these arguments aren't valid. Creating _new_ ALB will therefore require you to specify these two arguments. Existing deployments are unaffected. ([#2251](https://github.com/terraform-providers/terraform-provider-aws/issues/2251)) FEATURES: -* **New Data Source:** `aws_rds_cluster` [GH-2070] -* **New Data Source:** `aws_elasticache_replication_group` [GH-2124] -* **New Resource:** `aws_ses_template` [GH-2003] -* **New Resource:** `aws_dx_lag` [GH-2154] -* **New Resource:** `aws_dx_connection` [GH-2173] -* **New Resource:** `aws_athena_database` [GH-1922] -* **New Resource:** `aws_athena_named_query` [GH-1893] -* **New Resource:** `aws_ssm_resource_data_sync` [GH-1895] +* **New Data Source:** `aws_rds_cluster` ([#2070](https://github.com/terraform-providers/terraform-provider-aws/issues/2070)) +* **New Data Source:** `aws_elasticache_replication_group` ([#2124](https://github.com/terraform-providers/terraform-provider-aws/issues/2124)) +* **New Data Source:** `aws_instances` ([#2266](https://github.com/terraform-providers/terraform-provider-aws/issues/2266)) +* **New Resource:** `aws_ses_template` ([#2003](https://github.com/terraform-providers/terraform-provider-aws/issues/2003)) +* **New Resource:** `aws_dx_lag` ([#2154](https://github.com/terraform-providers/terraform-provider-aws/issues/2154)) +* **New Resource:** `aws_dx_connection` ([#2173](https://github.com/terraform-providers/terraform-provider-aws/issues/2173)) +* **New Resource:** `aws_athena_database` ([#1922](https://github.com/terraform-providers/terraform-provider-aws/issues/1922)) +* **New Resource:** `aws_athena_named_query` ([#1893](https://github.com/terraform-providers/terraform-provider-aws/issues/1893)) +* **New Resource:** `aws_ssm_resource_data_sync` ([#1895](https://github.com/terraform-providers/terraform-provider-aws/issues/1895)) +* **New Resource:** `aws_cognito_user_pool` ([#1419](https://github.com/terraform-providers/terraform-provider-aws/issues/1419)) IMPROVEMENTS: -* data-source/efs_file_system: Added dns_name [GH-2105] -* resource/aws_batch_job_queue: Add validation for `name` [GH-2159] -* resource/aws_batch_compute_environment: Improve validation for `compute_environment_name` [GH-2159] -* resource/aws_ssm_parameter: Add support for import [GH-2234] -* resource/aws_redshift_cluster: Add support for `snapshot_copy` [GH-2238] -* resource/aws_ecs_task_definition: Print `container_definitions` as JSON instead of checksum [GH-1195] -* provider: Add support for assuming roles via profiles defined in `~/.aws/config` [GH-1608] +* provider: Add support for assuming roles via profiles defined in `~/.aws/config` ([#1608](https://github.com/terraform-providers/terraform-provider-aws/issues/1608)) +* data-source/efs_file_system: Added dns_name ([#2105](https://github.com/terraform-providers/terraform-provider-aws/issues/2105)) +* data-source/aws_ssm_parameter: Add `arn` attribute ([#2273](https://github.com/terraform-providers/terraform-provider-aws/issues/2273)) +* data-source/aws_ebs_volume: Add `arn` attribute ([#2271](https://github.com/terraform-providers/terraform-provider-aws/issues/2271)) +* resource/aws_batch_job_queue: Add validation for `name` ([#2159](https://github.com/terraform-providers/terraform-provider-aws/issues/2159)) +* resource/aws_batch_compute_environment: Improve validation for `compute_environment_name` ([#2159](https://github.com/terraform-providers/terraform-provider-aws/issues/2159)) +* resource/aws_ssm_parameter: Add support for import ([#2234](https://github.com/terraform-providers/terraform-provider-aws/issues/2234)) +* resource/aws_redshift_cluster: Add support for `snapshot_copy` ([#2238](https://github.com/terraform-providers/terraform-provider-aws/issues/2238)) +* resource/aws_ecs_task_definition: Print `container_definitions` as JSON instead of checksum ([#1195](https://github.com/terraform-providers/terraform-provider-aws/issues/1195)) +* resource/aws_ssm_parameter: Add `arn` attribute ([#2273](https://github.com/terraform-providers/terraform-provider-aws/issues/2273)) +* resource/aws_elb: Add listener `ssl_certificate_id` ARN validation ([#2276](https://github.com/terraform-providers/terraform-provider-aws/issues/2276)) +* resource/aws_cloudformation_stack: Support updating `tags` ([#2262](https://github.com/terraform-providers/terraform-provider-aws/issues/2262)) +* resource/aws_elb: Add `arn` attribute ([#2272](https://github.com/terraform-providers/terraform-provider-aws/issues/2272)) +* resource/aws_ebs_volume: Add `arn` attribute ([#2271](https://github.com/terraform-providers/terraform-provider-aws/issues/2271)) BUG FIXES: -* resource/aws_appautoscaling_policy: Retry putting policy on invalid token [GH-2135] -* resource/aws_batch_compute_environment: `compute_environment_name` allows hyphens [GH-2126] -* resource/aws_batch_job_definition: `name` allows hyphens [GH-2126] -* resource/aws_elasticache_parameter_group: Raise timeout for retry on pending changes [GH-2134] -* resource/aws_kms_key: Retry GetKeyRotationStatus on NotFoundException [GH-2133] +* resource/aws_appautoscaling_policy: Retry putting policy on invalid token ([#2135](https://github.com/terraform-providers/terraform-provider-aws/issues/2135)) +* resource/aws_batch_compute_environment: `compute_environment_name` allows hyphens ([#2126](https://github.com/terraform-providers/terraform-provider-aws/issues/2126)) +* resource/aws_batch_job_definition: `name` allows hyphens ([#2126](https://github.com/terraform-providers/terraform-provider-aws/issues/2126)) +* resource/aws_elasticache_parameter_group: Raise timeout for retry on pending changes ([#2134](https://github.com/terraform-providers/terraform-provider-aws/issues/2134)) +* resource/aws_kms_key: Retry GetKeyRotationStatus on NotFoundException ([#2133](https://github.com/terraform-providers/terraform-provider-aws/issues/2133)) * resource/aws_lb_target_group: Fix issue that prevented using `aws_lb_target_group` with - Network type load balancers [GH-2251] -* resource/aws_redshift_cluster: Make master_username ForceNew [GH-2202] -* resource/aws_cloudwatch_log_metric_filter: Fix pattern length check [GH-2107] -* resource/aws_cloudwatch_log_group: Use ID as name [GH-2190] -* resource/aws_elasticsearch_domain: Added ForceNew to vpc_options [GH-2157] -* resource/aws_redshift_cluster: Make snapshot identifiers `ForceNew` [GH-2212] -* resource/aws_elasticsearch_domain_policy: Fix typo in err code [GH-2249] + Network type load balancers ([#2251](https://github.com/terraform-providers/terraform-provider-aws/issues/2251)) +* resource/aws_lb: mark subnets as `ForceNew` for network load balancers ([#2310](https://github.com/terraform-providers/terraform-provider-aws/issues/2310)) +* resource/aws_redshift_cluster: Make master_username ForceNew ([#2202](https://github.com/terraform-providers/terraform-provider-aws/issues/2202)) +* resource/aws_cloudwatch_log_metric_filter: Fix pattern length check ([#2107](https://github.com/terraform-providers/terraform-provider-aws/issues/2107)) +* resource/aws_cloudwatch_log_group: Use ID as name ([#2190](https://github.com/terraform-providers/terraform-provider-aws/issues/2190)) +* resource/aws_elasticsearch_domain: Added ForceNew to vpc_options ([#2157](https://github.com/terraform-providers/terraform-provider-aws/issues/2157)) +* resource/aws_redshift_cluster: Make snapshot identifiers `ForceNew` ([#2212](https://github.com/terraform-providers/terraform-provider-aws/issues/2212)) +* resource/aws_elasticsearch_domain_policy: Fix typo in err code ([#2249](https://github.com/terraform-providers/terraform-provider-aws/issues/2249)) +* resource/aws_appautoscaling_policy: Retry PutScalingPolicy on rate exceeded message ([#2275](https://github.com/terraform-providers/terraform-provider-aws/issues/2275)) +* resource/aws_dynamodb_table: Retry creation on `LimitExceededException` w/ different error message ([#2274](https://github.com/terraform-providers/terraform-provider-aws/issues/2274)) ## 1.2.0 (October 31, 2017) diff --git a/GNUmakefile b/GNUmakefile index c9eacb4511d..5d5ed69f0cf 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,3 +1,4 @@ +SWEEP?=us-east-1,us-west-2 TEST?=$$(go list ./... |grep -v 'vendor') GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor) @@ -6,6 +7,10 @@ default: build build: fmtcheck go install +sweep: + @echo "WARNING: This will destroy infrastructure. Use only in development accounts." + go test $(TEST) -v -sweep=$(SWEEP) $(SWEEPARGS) + test: fmtcheck go test -i $(TEST) || exit 1 echo $(TEST) | \ @@ -43,5 +48,5 @@ test-compile: fi go test -c $(TEST) $(TESTARGS) -.PHONY: build test testacc vet fmt fmtcheck errcheck vendor-status test-compile +.PHONY: build sweep test testacc vet fmt fmtcheck errcheck vendor-status test-compile diff --git a/README.md b/README.md index 1a130c31539..763c7fd89aa 100644 --- a/README.md +++ b/README.md @@ -32,12 +32,12 @@ $ make build Using the provider ---------------------- -If you're building the provider, follow the instructions to [install it as a plugin.](https://www.terraform.io/docs/plugins/basics.html#installing-a-plugin) to install it as a plugin. After placing it into your plugins directory, run `terraform init` to initialize it. +If you're building the provider, follow the instructions to [install it as a plugin.](https://www.terraform.io/docs/plugins/basics.html#installing-a-plugin) After placing it into your plugins directory, run `terraform init` to initialize it. Developing the Provider --------------------------- -If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.8+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`. +If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.9+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`. To compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory. diff --git a/aws/config.go b/aws/config.go index c9d1b996c1c..4782f76eafc 100644 --- a/aws/config.go +++ b/aws/config.go @@ -31,6 +31,7 @@ import ( "github.com/aws/aws-sdk-go/service/codedeploy" "github.com/aws/aws-sdk-go/service/codepipeline" "github.com/aws/aws-sdk-go/service/cognitoidentity" + "github.com/aws/aws-sdk-go/service/cognitoidentityprovider" "github.com/aws/aws-sdk-go/service/configservice" "github.com/aws/aws-sdk-go/service/databasemigrationservice" "github.com/aws/aws-sdk-go/service/devicefarm" @@ -57,12 +58,15 @@ import ( "github.com/aws/aws-sdk-go/service/kms" "github.com/aws/aws-sdk-go/service/lambda" "github.com/aws/aws-sdk-go/service/lightsail" + "github.com/aws/aws-sdk-go/service/mediastore" + "github.com/aws/aws-sdk-go/service/mq" "github.com/aws/aws-sdk-go/service/opsworks" "github.com/aws/aws-sdk-go/service/rds" "github.com/aws/aws-sdk-go/service/redshift" "github.com/aws/aws-sdk-go/service/route53" "github.com/aws/aws-sdk-go/service/s3" "github.com/aws/aws-sdk-go/service/servicecatalog" + "github.com/aws/aws-sdk-go/service/servicediscovery" "github.com/aws/aws-sdk-go/service/ses" "github.com/aws/aws-sdk-go/service/sfn" "github.com/aws/aws-sdk-go/service/simpledb" @@ -129,6 +133,7 @@ type AWSClient struct { cloudwatchlogsconn *cloudwatchlogs.CloudWatchLogs cloudwatcheventsconn *cloudwatchevents.CloudWatchEvents cognitoconn *cognitoidentity.CognitoIdentity + cognitoidpconn *cognitoidentityprovider.CognitoIdentityProvider configconn *configservice.ConfigService devicefarmconn *devicefarm.DeviceFarm dmsconn *databasemigrationservice.DatabaseMigrationService @@ -170,12 +175,14 @@ type AWSClient struct { elastictranscoderconn *elastictranscoder.ElasticTranscoder lambdaconn *lambda.Lambda lightsailconn *lightsail.Lightsail + mqconn *mq.MQ opsworksconn *opsworks.OpsWorks glacierconn *glacier.Glacier codebuildconn *codebuild.CodeBuild codedeployconn *codedeploy.CodeDeploy codecommitconn *codecommit.CodeCommit codepipelineconn *codepipeline.CodePipeline + sdconn *servicediscovery.ServiceDiscovery sfnconn *sfn.SFN ssmconn *ssm.SSM wafconn *waf.WAF @@ -184,6 +191,7 @@ type AWSClient struct { batchconn *batch.Batch athenaconn *athena.Athena dxconn *directconnect.DirectConnect + mediastoreconn *mediastore.MediaStore } func (c *AWSClient) S3() *s3.S3 { @@ -381,6 +389,7 @@ func (c *Config) Client() (interface{}, error) { client.codedeployconn = codedeploy.New(sess) client.configconn = configservice.New(sess) client.cognitoconn = cognitoidentity.New(sess) + client.cognitoidpconn = cognitoidentityprovider.New(sess) client.dmsconn = databasemigrationservice.New(sess) client.codepipelineconn = codepipeline.New(sess) client.dsconn = directoryservice.New(sess) @@ -403,6 +412,7 @@ func (c *Config) Client() (interface{}, error) { client.kmsconn = kms.New(awsKmsSess) client.lambdaconn = lambda.New(sess) client.lightsailconn = lightsail.New(sess) + client.mqconn = mq.New(sess) client.opsworksconn = opsworks.New(sess) client.r53conn = route53.New(r53Sess) client.rdsconn = rds.New(awsRdsSess) @@ -410,6 +420,7 @@ func (c *Config) Client() (interface{}, error) { client.simpledbconn = simpledb.New(sess) client.s3conn = s3.New(awsS3Sess) client.scconn = servicecatalog.New(sess) + client.sdconn = servicediscovery.New(sess) client.sesConn = ses.New(sess) client.sfnconn = sfn.New(sess) client.snsconn = sns.New(awsSnsSess) @@ -420,6 +431,7 @@ func (c *Config) Client() (interface{}, error) { client.batchconn = batch.New(sess) client.athenaconn = athena.New(sess) client.dxconn = directconnect.New(sess) + client.mediastoreconn = mediastore.New(sess) // Workaround for https://github.com/aws/aws-sdk-go/issues/1376 client.kinesisconn.Handlers.Retry.PushBack(func(r *request.Request) { diff --git a/aws/data_source_aws_db_instance_test.go b/aws/data_source_aws_db_instance_test.go index 5d3a200ec27..d43e5e0507e 100644 --- a/aws/data_source_aws_db_instance_test.go +++ b/aws/data_source_aws_db_instance_test.go @@ -54,7 +54,7 @@ resource "aws_db_instance" "bar" { allocated_storage = 10 engine = "MySQL" - instance_class = "db.m1.small" + instance_class = "db.t2.micro" name = "baz" password = "barbarbarbar" username = "foo" diff --git a/aws/data_source_aws_ebs_volume.go b/aws/data_source_aws_ebs_volume.go index 325c64bdd0c..c09c238b163 100644 --- a/aws/data_source_aws_ebs_volume.go +++ b/aws/data_source_aws_ebs_volume.go @@ -5,6 +5,7 @@ import ( "log" "sort" + "github.com/aws/aws-sdk-go/aws/arn" "github.com/aws/aws-sdk-go/service/ec2" "github.com/davecgh/go-spew/spew" "github.com/hashicorp/terraform/helper/schema" @@ -22,6 +23,10 @@ func dataSourceAwsEbsVolume() *schema.Resource { Default: false, ForceNew: true, }, + "arn": { + Type: schema.TypeString, + Computed: true, + }, "availability_zone": { Type: schema.TypeString, Computed: true, @@ -98,7 +103,7 @@ func dataSourceAwsEbsVolumeRead(d *schema.ResourceData, meta interface{}) error } log.Printf("[DEBUG] aws_ebs_volume - Single Volume found: %s", *volume.VolumeId) - return volumeDescriptionAttributes(d, volume) + return volumeDescriptionAttributes(d, meta.(*AWSClient), volume) } type volumeSort []*ec2.Volume @@ -117,9 +122,19 @@ func mostRecentVolume(volumes []*ec2.Volume) *ec2.Volume { return sortedVolumes[len(sortedVolumes)-1] } -func volumeDescriptionAttributes(d *schema.ResourceData, volume *ec2.Volume) error { +func volumeDescriptionAttributes(d *schema.ResourceData, client *AWSClient, volume *ec2.Volume) error { d.SetId(*volume.VolumeId) d.Set("volume_id", volume.VolumeId) + + arn := arn.ARN{ + Partition: client.partition, + Region: client.region, + Service: "ec2", + AccountID: client.accountid, + Resource: fmt.Sprintf("volume/%s", d.Id()), + } + d.Set("arn", arn.String()) + d.Set("availability_zone", volume.AvailabilityZone) d.Set("encrypted", volume.Encrypted) d.Set("iops", volume.Iops) diff --git a/aws/data_source_aws_ebs_volume_test.go b/aws/data_source_aws_ebs_volume_test.go index 7f10baf1e68..072b471910e 100644 --- a/aws/data_source_aws_ebs_volume_test.go +++ b/aws/data_source_aws_ebs_volume_test.go @@ -17,6 +17,7 @@ func TestAccAWSEbsVolumeDataSource_basic(t *testing.T) { Config: testAccCheckAwsEbsVolumeDataSourceConfig, Check: resource.ComposeTestCheckFunc( testAccCheckAwsEbsVolumeDataSourceID("data.aws_ebs_volume.ebs_volume"), + resource.TestCheckResourceAttrSet("data.aws_ebs_volume.ebs_volume", "arn"), resource.TestCheckResourceAttr("data.aws_ebs_volume.ebs_volume", "size", "40"), resource.TestCheckResourceAttr("data.aws_ebs_volume.ebs_volume", "tags.%", "1"), resource.TestCheckResourceAttr("data.aws_ebs_volume.ebs_volume", "tags.Name", "External Volume"), diff --git a/aws/data_source_aws_elb.go b/aws/data_source_aws_elb.go new file mode 100644 index 00000000000..e997c9ffc25 --- /dev/null +++ b/aws/data_source_aws_elb.go @@ -0,0 +1,212 @@ +package aws + +import ( + "fmt" + "log" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/elb" + "github.com/hashicorp/terraform/helper/schema" +) + +func dataSourceAwsElb() *schema.Resource { + return &schema.Resource{ + Read: dataSourceAwsElbRead, + Schema: map[string]*schema.Schema{ + "name": { + Type: schema.TypeString, + Required: true, + }, + + "access_logs": { + Type: schema.TypeList, + Computed: true, + MaxItems: 1, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "interval": { + Type: schema.TypeInt, + Computed: true, + }, + "bucket": { + Type: schema.TypeString, + Computed: true, + }, + "bucket_prefix": { + Type: schema.TypeString, + Computed: true, + }, + "enabled": { + Type: schema.TypeBool, + Computed: true, + }, + }, + }, + }, + + "availability_zones": { + Type: schema.TypeSet, + Elem: &schema.Schema{Type: schema.TypeString}, + Computed: true, + Set: schema.HashString, + }, + + "connection_draining": { + Type: schema.TypeBool, + Computed: true, + }, + + "connection_draining_timeout": { + Type: schema.TypeInt, + Computed: true, + }, + + "cross_zone_load_balancing": { + Type: schema.TypeBool, + Computed: true, + }, + + "dns_name": { + Type: schema.TypeString, + Computed: true, + }, + + "health_check": { + Type: schema.TypeList, + Computed: true, + MaxItems: 1, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "healthy_threshold": { + Type: schema.TypeInt, + Computed: true, + }, + + "unhealthy_threshold": { + Type: schema.TypeInt, + Computed: true, + }, + + "target": { + Type: schema.TypeString, + Computed: true, + }, + + "interval": { + Type: schema.TypeInt, + Computed: true, + }, + + "timeout": { + Type: schema.TypeInt, + Computed: true, + }, + }, + }, + }, + + "idle_timeout": { + Type: schema.TypeInt, + Computed: true, + }, + + "instances": { + Type: schema.TypeSet, + Elem: &schema.Schema{Type: schema.TypeString}, + Computed: true, + Set: schema.HashString, + }, + + "internal": { + Type: schema.TypeBool, + Computed: true, + }, + + "listener": { + Type: schema.TypeSet, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "instance_port": { + Type: schema.TypeInt, + Computed: true, + }, + + "instance_protocol": { + Type: schema.TypeString, + Computed: true, + }, + + "lb_port": { + Type: schema.TypeInt, + Computed: true, + }, + + "lb_protocol": { + Type: schema.TypeString, + Computed: true, + }, + + "ssl_certificate_id": { + Type: schema.TypeString, + Computed: true, + }, + }, + }, + Set: resourceAwsElbListenerHash, + }, + + "security_groups": { + Type: schema.TypeSet, + Elem: &schema.Schema{Type: schema.TypeString}, + Computed: true, + Set: schema.HashString, + }, + + "source_security_group": { + Type: schema.TypeString, + Computed: true, + }, + + "source_security_group_id": { + Type: schema.TypeString, + Computed: true, + }, + + "subnets": { + Type: schema.TypeSet, + Elem: &schema.Schema{Type: schema.TypeString}, + Computed: true, + Set: schema.HashString, + }, + + "tags": tagsSchemaComputed(), + + "zone_id": { + Type: schema.TypeString, + Computed: true, + }, + }, + } +} + +func dataSourceAwsElbRead(d *schema.ResourceData, meta interface{}) error { + elbconn := meta.(*AWSClient).elbconn + lbName := d.Get("name").(string) + + input := &elb.DescribeLoadBalancersInput{ + LoadBalancerNames: []*string{aws.String(lbName)}, + } + + log.Printf("[DEBUG] Reading ELBs: %#v", input) + resp, err := elbconn.DescribeLoadBalancers(input) + if err != nil { + return fmt.Errorf("Error retrieving LB: %s", err) + } + if len(resp.LoadBalancerDescriptions) != 1 { + return fmt.Errorf("Search returned %d results, please revise so only one is returned", len(resp.LoadBalancerDescriptions)) + } + d.SetId(*resp.LoadBalancerDescriptions[0].LoadBalancerName) + + return flattenAwsELbResource(d, meta.(*AWSClient).ec2conn, elbconn, resp.LoadBalancerDescriptions[0]) +} diff --git a/aws/data_source_aws_elb_test.go b/aws/data_source_aws_elb_test.go new file mode 100644 index 00000000000..05c48f27376 --- /dev/null +++ b/aws/data_source_aws_elb_test.go @@ -0,0 +1,114 @@ +package aws + +import ( + "fmt" + "testing" + + "github.com/hashicorp/terraform/helper/acctest" + "github.com/hashicorp/terraform/helper/resource" +) + +func TestAccDataSourceAWSELB_basic(t *testing.T) { + // Must be less than 32 characters for ELB name + rName := fmt.Sprintf("TestAccDataSourceAWSELB-%s", acctest.RandStringFromCharSet(5, acctest.CharSetAlphaNum)) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + Steps: []resource.TestStep{ + { + Config: testAccDataSourceAWSELBConfigBasic(rName, t.Name()), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr("data.aws_elb.elb_test", "name", rName), + resource.TestCheckResourceAttr("data.aws_elb.elb_test", "cross_zone_load_balancing", "true"), + resource.TestCheckResourceAttr("data.aws_elb.elb_test", "idle_timeout", "30"), + resource.TestCheckResourceAttr("data.aws_elb.elb_test", "internal", "true"), + resource.TestCheckResourceAttr("data.aws_elb.elb_test", "subnets.#", "2"), + resource.TestCheckResourceAttr("data.aws_elb.elb_test", "security_groups.#", "1"), + resource.TestCheckResourceAttr("data.aws_elb.elb_test", "tags.%", "1"), + resource.TestCheckResourceAttr("data.aws_elb.elb_test", "tags.TestName", t.Name()), + resource.TestCheckResourceAttrSet("data.aws_elb.elb_test", "dns_name"), + resource.TestCheckResourceAttrSet("data.aws_elb.elb_test", "zone_id"), + ), + }, + }, + }) +} + +func testAccDataSourceAWSELBConfigBasic(rName, testName string) string { + return fmt.Sprintf(` +resource "aws_elb" "elb_test" { + name = "%[1]s" + internal = true + security_groups = ["${aws_security_group.elb_test.id}"] + subnets = ["${aws_subnet.elb_test.*.id}"] + + idle_timeout = 30 + + listener { + instance_port = 80 + instance_protocol = "http" + lb_port = 80 + lb_protocol = "http" + } + + tags { + TestName = "%[2]s" + } +} + +variable "subnets" { + default = ["10.0.1.0/24", "10.0.2.0/24"] + type = "list" +} + +data "aws_availability_zones" "available" {} + +resource "aws_vpc" "elb_test" { + cidr_block = "10.0.0.0/16" + + tags { + TestName = "%[2]s" + } +} + +resource "aws_subnet" "elb_test" { + count = 2 + vpc_id = "${aws_vpc.elb_test.id}" + cidr_block = "${element(var.subnets, count.index)}" + map_public_ip_on_launch = true + availability_zone = "${element(data.aws_availability_zones.available.names, count.index)}" + + tags { + TestName = "%[2]s" + } +} + +resource "aws_security_group" "elb_test" { + name = "%[1]s" + description = "%[2]s" + vpc_id = "${aws_vpc.elb_test.id}" + + ingress { + from_port = 0 + to_port = 0 + protocol = "-1" + cidr_blocks = ["0.0.0.0/0"] + } + + egress { + from_port = 0 + to_port = 0 + protocol = "-1" + cidr_blocks = ["0.0.0.0/0"] + } + + tags { + TestName = "%[2]s" + } +} + +data "aws_elb" "elb_test" { + name = "${aws_elb.elb_test.name}" +}`, rName, testName) +} diff --git a/aws/data_source_aws_instance.go b/aws/data_source_aws_instance.go index 0033a09c90e..12ae005043b 100644 --- a/aws/data_source_aws_instance.go +++ b/aws/data_source_aws_instance.go @@ -38,6 +38,10 @@ func dataSourceAwsInstance() *schema.Resource { Type: schema.TypeString, Computed: true, }, + "placement_group": { + Type: schema.TypeString, + Computed: true, + }, "tenancy": { Type: schema.TypeString, Computed: true, @@ -277,6 +281,9 @@ func instanceDescriptionAttributes(d *schema.ResourceData, instance *ec2.Instanc if instance.Placement != nil { d.Set("availability_zone", instance.Placement.AvailabilityZone) } + if instance.Placement.GroupName != nil { + d.Set("placement_group", instance.Placement.GroupName) + } if instance.Placement.Tenancy != nil { d.Set("tenancy", instance.Placement.Tenancy) } diff --git a/aws/data_source_aws_instance_test.go b/aws/data_source_aws_instance_test.go index 9a5dec37b5b..e362d9d64f0 100644 --- a/aws/data_source_aws_instance_test.go +++ b/aws/data_source_aws_instance_test.go @@ -178,6 +178,23 @@ func TestAccAWSInstanceDataSource_VPC(t *testing.T) { }) } +func TestAccAWSInstanceDataSource_PlacementGroup(t *testing.T) { + rStr := acctest.RandString(5) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + Steps: []resource.TestStep{ + { + Config: testAccInstanceDataSourceConfig_PlacementGroup(rStr), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.aws_instance.foo", "placement_group", fmt.Sprintf("testAccInstanceDataSourceConfig_PlacementGroup_%s", rStr)), + ), + }, + }, + }) +} + func TestAccAWSInstanceDataSource_SecurityGroups(t *testing.T) { rInt := acctest.RandInt() resource.Test(t, resource.TestCase{ @@ -429,6 +446,43 @@ data "aws_instance" "foo" { } ` +func testAccInstanceDataSourceConfig_PlacementGroup(rStr string) string { + return fmt.Sprintf(` +resource "aws_vpc" "foo" { + cidr_block = "10.1.0.0/16" + tags { + Name = "testAccInstanceDataSourceConfig_PlacementGroup_%s" + } +} + +resource "aws_subnet" "foo" { + cidr_block = "10.1.1.0/24" + vpc_id = "${aws_vpc.foo.id}" +} + +resource "aws_placement_group" "foo" { + name = "testAccInstanceDataSourceConfig_PlacementGroup_%s" + strategy = "cluster" +} + +# Limitations: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html#concepts-placement-groups +resource "aws_instance" "foo" { + # us-west-2 + ami = "ami-55a7ea65" + instance_type = "c3.large" + subnet_id = "${aws_subnet.foo.id}" + associate_public_ip_address = true + placement_group = "${aws_placement_group.foo.name}" + # pre-encoded base64 data + user_data = "3dc39dda39be1205215e776bad998da361a5955d" +} + +data "aws_instance" "foo" { + instance_id = "${aws_instance.foo.id}" +} +`, rStr, rStr) +} + func testAccInstanceDataSourceConfig_SecurityGroups(rInt int) string { return fmt.Sprintf(` provider "aws" { diff --git a/aws/data_source_aws_instances.go b/aws/data_source_aws_instances.go new file mode 100644 index 00000000000..52bff321a02 --- /dev/null +++ b/aws/data_source_aws_instances.go @@ -0,0 +1,112 @@ +package aws + +import ( + "fmt" + "log" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/ec2" + "github.com/hashicorp/terraform/helper/resource" + "github.com/hashicorp/terraform/helper/schema" +) + +func dataSourceAwsInstances() *schema.Resource { + return &schema.Resource{ + Read: dataSourceAwsInstancesRead, + + Schema: map[string]*schema.Schema{ + "filter": dataSourceFiltersSchema(), + "instance_tags": tagsSchemaComputed(), + + "ids": { + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{Type: schema.TypeString}, + }, + "private_ips": { + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{Type: schema.TypeString}, + }, + "public_ips": { + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{Type: schema.TypeString}, + }, + }, + } +} + +func dataSourceAwsInstancesRead(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).ec2conn + + filters, filtersOk := d.GetOk("filter") + tags, tagsOk := d.GetOk("instance_tags") + + if !filtersOk && !tagsOk { + return fmt.Errorf("One of filters or instance_tags must be assigned") + } + + params := &ec2.DescribeInstancesInput{ + Filters: []*ec2.Filter{ + &ec2.Filter{ + Name: aws.String("instance-state-name"), + Values: []*string{aws.String("running")}, + }, + }, + } + if filtersOk { + params.Filters = append(params.Filters, + buildAwsDataSourceFilters(filters.(*schema.Set))...) + } + if tagsOk { + params.Filters = append(params.Filters, buildEC2TagFilterList( + tagsFromMap(tags.(map[string]interface{})), + )...) + } + + log.Printf("[INFO] Describing EC2 instances: %s", params) + + var instanceIds, privateIps, publicIps []string + err := conn.DescribeInstancesPages(params, func(resp *ec2.DescribeInstancesOutput, isLast bool) bool { + for _, res := range resp.Reservations { + for _, instance := range res.Instances { + instanceIds = append(instanceIds, *instance.InstanceId) + if instance.PrivateIpAddress != nil { + privateIps = append(privateIps, *instance.PrivateIpAddress) + } + if instance.PublicIpAddress != nil { + publicIps = append(publicIps, *instance.PublicIpAddress) + } + } + } + return !isLast + }) + if err != nil { + return err + } + + if len(instanceIds) < 1 { + return fmt.Errorf("Your query returned no results. Please change your search criteria and try again.") + } + + log.Printf("[DEBUG] Found %d instances via given filter", len(instanceIds)) + + d.SetId(resource.UniqueId()) + err = d.Set("ids", instanceIds) + if err != nil { + return err + } + + err = d.Set("private_ips", privateIps) + if err != nil { + return err + } + + err = d.Set("public_ips", publicIps) + if err != nil { + return err + } + + return nil +} diff --git a/aws/data_source_aws_instances_test.go b/aws/data_source_aws_instances_test.go new file mode 100644 index 00000000000..2dd92bfa5b1 --- /dev/null +++ b/aws/data_source_aws_instances_test.go @@ -0,0 +1,115 @@ +package aws + +import ( + "fmt" + "testing" + + "github.com/hashicorp/terraform/helper/acctest" + "github.com/hashicorp/terraform/helper/resource" +) + +func TestAccAWSInstancesDataSource_basic(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + Steps: []resource.TestStep{ + { + Config: testAccInstancesDataSourceConfig_ids, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.aws_instances.test", "ids.#", "3"), + resource.TestCheckResourceAttr("data.aws_instances.test", "private_ips.#", "3"), + resource.TestCheckResourceAttr("data.aws_instances.test", "public_ips.#", "3"), + ), + }, + }, + }) +} + +func TestAccAWSInstancesDataSource_tags(t *testing.T) { + rInt := acctest.RandInt() + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + Steps: []resource.TestStep{ + { + Config: testAccInstancesDataSourceConfig_tags(rInt), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.aws_instances.test", "ids.#", "5"), + resource.TestCheckResourceAttr("data.aws_instances.test", "private_ips.#", "5"), + resource.TestCheckResourceAttr("data.aws_instances.test", "public_ips.#", "5"), + ), + }, + }, + }) +} + +const testAccInstancesDataSourceConfig_ids = ` +data "aws_ami" "ubuntu" { + most_recent = true + + filter { + name = "name" + values = ["ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-*"] + } + + filter { + name = "virtualization-type" + values = ["hvm"] + } + + owners = ["099720109477"] # Canonical +} + +resource "aws_instance" "test" { + count = 3 + ami = "${data.aws_ami.ubuntu.id}" + instance_type = "t2.micro" + tags { + Name = "TfAccTest" + } +} + +data "aws_instances" "test" { + filter { + name = "instance-id" + values = ["${aws_instance.test.*.id}"] + } +} +` + +func testAccInstancesDataSourceConfig_tags(rInt int) string { + return fmt.Sprintf(` +data "aws_ami" "ubuntu" { + most_recent = true + + filter { + name = "name" + values = ["ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-*"] + } + + filter { + name = "virtualization-type" + values = ["hvm"] + } + + owners = ["099720109477"] # Canonical +} + +resource "aws_instance" "test" { + count = 5 + ami = "${data.aws_ami.ubuntu.id}" + instance_type = "t2.micro" + tags { + Name = "TfAccTest-HelloWorld" + TestSeed = "%[1]d" + } +} + +data "aws_instances" "test" { + instance_tags { + Name = "${aws_instance.test.0.tags["Name"]}" + TestSeed = "%[1]d" + } +} +`, rInt) +} diff --git a/aws/data_source_aws_nat_gateway.go b/aws/data_source_aws_nat_gateway.go index 85297625240..091f3326277 100644 --- a/aws/data_source_aws_nat_gateway.go +++ b/aws/data_source_aws_nat_gateway.go @@ -34,8 +34,23 @@ func dataSourceAwsNatGateway() *schema.Resource { Optional: true, Computed: true, }, - "tags": tagsSchemaComputed(), - + "allocation_id": { + Type: schema.TypeString, + Computed: true, + }, + "network_interface_id": { + Type: schema.TypeString, + Computed: true, + }, + "public_ip": { + Type: schema.TypeString, + Computed: true, + }, + "private_ip": { + Type: schema.TypeString, + Computed: true, + }, + "tags": tagsSchemaComputed(), "filter": ec2CustomFiltersSchema(), }, } @@ -95,6 +110,8 @@ func dataSourceAwsNatGatewayRead(d *schema.ResourceData, meta interface{}) error ngw := resp.NatGateways[0] + log.Printf("[DEBUG] NAT Gateway response: %s", ngw) + d.SetId(aws.StringValue(ngw.NatGatewayId)) d.Set("state", ngw.State) d.Set("subnet_id", ngw.SubnetId) diff --git a/aws/data_source_aws_nat_gateway_test.go b/aws/data_source_aws_nat_gateway_test.go index e1e516e288d..f2fb2ee98d3 100644 --- a/aws/data_source_aws_nat_gateway_test.go +++ b/aws/data_source_aws_nat_gateway_test.go @@ -26,6 +26,10 @@ func TestAccDataSourceAwsNatGateway(t *testing.T) { "data.aws_nat_gateway.test_by_subnet_id", "subnet_id", "aws_nat_gateway.test", "subnet_id"), resource.TestCheckResourceAttrSet("data.aws_nat_gateway.test_by_id", "state"), + resource.TestCheckResourceAttrSet("data.aws_nat_gateway.test_by_id", "allocation_id"), + resource.TestCheckResourceAttrSet("data.aws_nat_gateway.test_by_id", "network_interface_id"), + resource.TestCheckResourceAttrSet("data.aws_nat_gateway.test_by_id", "public_ip"), + resource.TestCheckResourceAttrSet("data.aws_nat_gateway.test_by_id", "private_ip"), resource.TestCheckNoResourceAttr("data.aws_nat_gateway.test_by_id", "attached_vpc_id"), ), }, diff --git a/aws/data_source_aws_network_interface.go b/aws/data_source_aws_network_interface.go new file mode 100644 index 00000000000..6a8f56729ac --- /dev/null +++ b/aws/data_source_aws_network_interface.go @@ -0,0 +1,174 @@ +package aws + +import ( + "fmt" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/ec2" + "github.com/hashicorp/terraform/helper/schema" +) + +func dataSourceAwsNetworkInterface() *schema.Resource { + return &schema.Resource{ + Read: dataSourceAwsNetworkInterfaceRead, + Schema: map[string]*schema.Schema{ + "id": { + Type: schema.TypeString, + Required: true, + }, + "association": &schema.Schema{ + Type: schema.TypeList, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "allocation_id": &schema.Schema{ + Type: schema.TypeString, + Computed: true, + }, + "association_id": &schema.Schema{ + Type: schema.TypeString, + Computed: true, + }, + "ip_owner_id": &schema.Schema{ + Type: schema.TypeString, + Computed: true, + }, + "public_dns_name": &schema.Schema{ + Type: schema.TypeString, + Computed: true, + }, + "public_ip": &schema.Schema{ + Type: schema.TypeString, + Computed: true, + }, + }, + }, + }, + "attachment": &schema.Schema{ + Type: schema.TypeList, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "attachment_id": &schema.Schema{ + Type: schema.TypeString, + Computed: true, + }, + "device_index": &schema.Schema{ + Type: schema.TypeInt, + Computed: true, + }, + "instance_id": &schema.Schema{ + Type: schema.TypeString, + Computed: true, + }, + "instance_owner_id": &schema.Schema{ + Type: schema.TypeString, + Computed: true, + }, + }, + }, + }, + "availability_zone": { + Type: schema.TypeString, + Computed: true, + }, + "description": { + Type: schema.TypeString, + Computed: true, + }, + "security_groups": { + Type: schema.TypeSet, + Computed: true, + Elem: &schema.Schema{Type: schema.TypeString}, + }, + "interface_type": { + Type: schema.TypeString, + Computed: true, + }, + "ipv6_addresses": { + Type: schema.TypeSet, + Computed: true, + Elem: &schema.Schema{Type: schema.TypeString}, + }, + "mac_address": &schema.Schema{ + Type: schema.TypeString, + Computed: true, + }, + "owner_id": &schema.Schema{ + Type: schema.TypeString, + Computed: true, + }, + "private_dns_name": &schema.Schema{ + Type: schema.TypeString, + Computed: true, + }, + "private_ip": &schema.Schema{ + Type: schema.TypeString, + Computed: true, + }, + "private_ips": &schema.Schema{ + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{Type: schema.TypeString}, + }, + "requester_id": { + Type: schema.TypeString, + Computed: true, + }, + "subnet_id": { + Type: schema.TypeString, + Computed: true, + }, + "vpc_id": { + Type: schema.TypeString, + Computed: true, + }, + "tags": tagsSchemaComputed(), + }, + } +} + +func dataSourceAwsNetworkInterfaceRead(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).ec2conn + + input := &ec2.DescribeNetworkInterfacesInput{ + NetworkInterfaceIds: []*string{aws.String(d.Get("id").(string))}, + } + + resp, err := conn.DescribeNetworkInterfaces(input) + if err != nil { + return err + } + if resp == nil || len(resp.NetworkInterfaces) == 0 { + return fmt.Errorf("no matching network interface found") + } + if len(resp.NetworkInterfaces) > 1 { + return fmt.Errorf("multiple network interfaces matched %s", d.Id()) + } + + eni := resp.NetworkInterfaces[0] + + d.SetId(*eni.NetworkInterfaceId) + if eni.Association != nil { + d.Set("association", flattenEc2NetworkInterfaceAssociation(eni.Association)) + } + if eni.Attachment != nil { + attachment := []interface{}{flattenAttachment(eni.Attachment)} + d.Set("attachment", attachment) + } + d.Set("availability_zone", eni.AvailabilityZone) + d.Set("description", eni.Description) + d.Set("security_groups", flattenGroupIdentifiers(eni.Groups)) + d.Set("interface_type", eni.InterfaceType) + d.Set("ipv6_addresses", flattenEc2NetworkInterfaceIpv6Address(eni.Ipv6Addresses)) + d.Set("mac_address", eni.MacAddress) + d.Set("owner_id", eni.OwnerId) + d.Set("private_dns_name", eni.PrivateDnsName) + d.Set("private_id", eni.PrivateIpAddress) + d.Set("private_ips", flattenNetworkInterfacesPrivateIPAddresses(eni.PrivateIpAddresses)) + d.Set("requester_id", eni.RequesterId) + d.Set("subnet_id", eni.SubnetId) + d.Set("vpc_id", eni.VpcId) + d.Set("tags", tagsToMap(eni.TagSet)) + return nil +} diff --git a/aws/data_source_aws_network_interface_test.go b/aws/data_source_aws_network_interface_test.go new file mode 100644 index 00000000000..f598b621059 --- /dev/null +++ b/aws/data_source_aws_network_interface_test.go @@ -0,0 +1,57 @@ +package aws + +import ( + "fmt" + "testing" + + "github.com/hashicorp/terraform/helper/acctest" + "github.com/hashicorp/terraform/helper/resource" +) + +func TestAccDataSourceAwsNetworkInterface_basic(t *testing.T) { + rName := acctest.RandString(5) + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + Steps: []resource.TestStep{ + { + Config: testAccDataSourceAwsNetworkInterface_basic(rName), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr("data.aws_network_interface.test", "private_ips.#", "1"), + resource.TestCheckResourceAttr("data.aws_network_interface.test", "security_groups.#", "1"), + ), + }, + }, + }) +} + +func testAccDataSourceAwsNetworkInterface_basic(rName string) string { + return fmt.Sprintf(` +data "aws_availability_zones" "available" {} + +resource "aws_vpc" "test" { + cidr_block = "10.0.0.0/16" +} + +resource "aws_subnet" "test" { + cidr_block = "10.0.0.0/24" + availability_zone = "${data.aws_availability_zones.available.names[0]}" + vpc_id = "${aws_vpc.test.id}" +} + +resource "aws_security_group" "test" { + name = "tf-sg-%s" + vpc_id = "${aws_vpc.test.id}" +} + +resource "aws_network_interface" "test" { + subnet_id = "${aws_subnet.test.id}" + private_ips = ["10.0.0.50"] + security_groups = ["${aws_security_group.test.id}"] +} + +data "aws_network_interface" "test" { + id = "${aws_network_interface.test.id}" +} + `, rName) +} diff --git a/aws/data_source_aws_s3_bucket.go b/aws/data_source_aws_s3_bucket.go index 6a62841f125..e625fd1252c 100644 --- a/aws/data_source_aws_s3_bucket.go +++ b/aws/data_source_aws_s3_bucket.go @@ -18,6 +18,45 @@ func dataSourceAwsS3Bucket() *schema.Resource { Type: schema.TypeString, Required: true, }, + "server_side_encryption_configuration": { + Type: schema.TypeList, + MaxItems: 1, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "enabled": { + Type: schema.TypeBool, + Computed: true, + }, + "rule": { + Type: schema.TypeList, + MaxItems: 1, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "apply_server_side_encryption_by_default": { + Type: schema.TypeList, + MaxItems: 1, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "kms_master_key_id": { + Type: schema.TypeString, + Computed: true, + }, + "sse_algorithm": { + Type: schema.TypeString, + Computed: true, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, "arn": { Type: schema.TypeString, Computed: true, @@ -70,6 +109,53 @@ func dataSourceAwsS3BucketRead(d *schema.ResourceData, meta interface{}) error { return err } + if err := bucketEncryption(d, bucket, conn); err != nil { + return err + } + + return nil +} + +func bucketEncryption(data *schema.ResourceData, bucket string, conn *s3.S3) error { + input := &s3.GetBucketEncryptionInput{ + Bucket: aws.String(bucket), + } + output, err := conn.GetBucketEncryption(input) + if err != nil { + if isAWSErr(err, "ServerSideEncryptionConfigurationNotFoundError", "encryption configuration was not found") { + log.Printf("[DEBUG] Default encryption is not enabled for %s", bucket) + data.Set("server_side_encryption_configuration", []map[string]interface{}{ + { + "enabled": false, + }, + }) + return nil + } else { + return err + } + } + if ruleCount := len(output.ServerSideEncryptionConfiguration.Rules); ruleCount != 1 { + return fmt.Errorf("expect one rule returned but there are %d rules. Changes required in the data source to support this", ruleCount) + } + defaultRuleConfiguration := output.ServerSideEncryptionConfiguration.Rules[0].ApplyServerSideEncryptionByDefault + defaultRule := make([]map[string]interface{}, 1) + defaultRule[0] = make(map[string]interface{}) + masterKmsKeyId := "" + if defaultRuleConfiguration.KMSMasterKeyID != nil { + masterKmsKeyId = aws.StringValue(defaultRuleConfiguration.KMSMasterKeyID) + } + defaultRule[0]["kms_master_key_id"] = masterKmsKeyId + defaultRule[0]["sse_algorithm"] = aws.StringValue(defaultRuleConfiguration.SSEAlgorithm) + + encryptionConfiguration := make([]map[string]interface{}, 1) + encryptionConfiguration[0] = make(map[string]interface{}) + encryptionConfiguration[0]["enabled"] = true + rule := make([]map[string]interface{}, 1) + encryptionConfiguration[0]["rule"] = rule + rule[0] = make(map[string]interface{}) + rule[0]["apply_server_side_encryption_by_default"] = defaultRule + + data.Set("server_side_encryption_configuration", encryptionConfiguration) return nil } diff --git a/aws/data_source_aws_s3_bucket_test.go b/aws/data_source_aws_s3_bucket_test.go index 9acc9a24051..eb7f73513e4 100644 --- a/aws/data_source_aws_s3_bucket_test.go +++ b/aws/data_source_aws_s3_bucket_test.go @@ -56,6 +56,125 @@ func TestAccDataSourceS3Bucket_website(t *testing.T) { }) } +func TestAccDataSourceS3Bucket_whenDefaultEncryptionNotEnabled(t *testing.T) { + rInt := acctest.RandInt() + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + Steps: []resource.TestStep{ + { + Config: testAccAWSDataSourceS3BucketConfig_basic(rInt), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSS3BucketExists("data.aws_s3_bucket.bucket"), + resource.TestCheckResourceAttr( + "data.aws_s3_bucket.bucket", "server_side_encryption_configuration.0.enabled", "false"), + resource.TestCheckResourceAttr( + "data.aws_s3_bucket.bucket", "server_side_encryption_configuration.0.rule.#", "0"), + ), + }, + }, + }) +} + +func TestAccDataSourceS3Bucket_whenDefaultEncryptionEnabledWithAES256(t *testing.T) { + rInt := acctest.RandInt() + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + Steps: []resource.TestStep{ + { + Config: testAccAWSDataSourceS3BucketConfigWithDefaultEncryptionAES256(rInt), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr( + "data.aws_s3_bucket.bucket", "server_side_encryption_configuration.#", "1"), + resource.TestCheckResourceAttr( + "data.aws_s3_bucket.bucket", "server_side_encryption_configuration.0.enabled", "true"), + resource.TestCheckResourceAttr( + "data.aws_s3_bucket.bucket", "server_side_encryption_configuration.0.rule.#", "1"), + resource.TestCheckResourceAttr( + "data.aws_s3_bucket.bucket", "server_side_encryption_configuration.0.rule.0.apply_server_side_encryption_by_default.#", "1"), + resource.TestCheckResourceAttr( + "data.aws_s3_bucket.bucket", "server_side_encryption_configuration.0.rule.0.apply_server_side_encryption_by_default.0.sse_algorithm", "AES256"), + resource.TestCheckResourceAttr( + "data.aws_s3_bucket.bucket", "server_side_encryption_configuration.0.rule.0.apply_server_side_encryption_by_default.0.kms_master_key_id", ""), + ), + }, + }, + }) +} + +func TestAccDataSourceS3Bucket_whenDefaultEncryptionEnabledWithAWSKMS(t *testing.T) { + rInt := acctest.RandInt() + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + Steps: []resource.TestStep{ + { + Config: testAccAWSDataSourceS3BucketConfigWithDefaultEncryptionAWSKMS(rInt), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr( + "data.aws_s3_bucket.bucket", "server_side_encryption_configuration.#", "1"), + resource.TestCheckResourceAttr( + "data.aws_s3_bucket.bucket", "server_side_encryption_configuration.0.enabled", "true"), + resource.TestCheckResourceAttr( + "data.aws_s3_bucket.bucket", "server_side_encryption_configuration.0.rule.#", "1"), + resource.TestCheckResourceAttr( + "data.aws_s3_bucket.bucket", "server_side_encryption_configuration.0.rule.0.apply_server_side_encryption_by_default.#", "1"), + resource.TestCheckResourceAttr( + "data.aws_s3_bucket.bucket", "server_side_encryption_configuration.0.rule.0.apply_server_side_encryption_by_default.0.sse_algorithm", "aws:kms"), + resource.TestMatchResourceAttr( + "data.aws_s3_bucket.bucket", "server_side_encryption_configuration.0.rule.0.apply_server_side_encryption_by_default.0.kms_master_key_id", regexp.MustCompile("^arn")), + ), + }, + }, + }) +} + +func testAccAWSDataSourceS3BucketConfigWithDefaultEncryptionAWSKMS(randInt int) string { + return fmt.Sprintf(` +resource "aws_kms_key" "arbitrary" { + description = "KMS Key for Bucket Testing %d" + deletion_window_in_days = 10 +} + +resource "aws_s3_bucket" "arbitrary" { + bucket = "tf-test-bucket-%d" + server_side_encryption_configuration { + rule { + apply_server_side_encryption_by_default { + kms_master_key_id = "${aws_kms_key.arbitrary.arn}" + sse_algorithm = "aws:kms" + } + } + } +} + +data "aws_s3_bucket" "bucket" { + bucket = "${aws_s3_bucket.arbitrary.id}" +}`, randInt, randInt) +} + +func testAccAWSDataSourceS3BucketConfigWithDefaultEncryptionAES256(randInt int) string { + return fmt.Sprintf(` +resource "aws_s3_bucket" "bucket" { + bucket = "tf-test-bucket-%d" + server_side_encryption_configuration { + rule { + apply_server_side_encryption_by_default { + sse_algorithm = "AES256" + } + } + } +} + +data "aws_s3_bucket" "bucket" { + bucket = "${aws_s3_bucket.bucket.id}" +}`, randInt) +} + func testAccAWSDataSourceS3BucketConfig_basic(randInt int) string { return fmt.Sprintf(` resource "aws_s3_bucket" "bucket" { diff --git a/aws/data_source_aws_ssm_parameter.go b/aws/data_source_aws_ssm_parameter.go index 0de1a1ccaa8..28e1955ffce 100644 --- a/aws/data_source_aws_ssm_parameter.go +++ b/aws/data_source_aws_ssm_parameter.go @@ -5,6 +5,7 @@ import ( "log" "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/arn" "github.com/aws/aws-sdk-go/service/ssm" "github.com/hashicorp/errwrap" "github.com/hashicorp/terraform/helper/schema" @@ -14,6 +15,10 @@ func dataSourceAwsSsmParameter() *schema.Resource { return &schema.Resource{ Read: dataAwsSsmParameterRead, Schema: map[string]*schema.Schema{ + "arn": { + Type: schema.TypeString, + Computed: true, + }, "name": { Type: schema.TypeString, Required: true, @@ -57,6 +62,16 @@ func dataAwsSsmParameterRead(d *schema.ResourceData, meta interface{}) error { param := resp.Parameters[0] d.SetId(*param.Name) + + arn := arn.ARN{ + Partition: meta.(*AWSClient).partition, + Region: meta.(*AWSClient).region, + Service: "ssm", + AccountID: meta.(*AWSClient).accountid, + Resource: fmt.Sprintf("parameter/%s", d.Id()), + } + d.Set("arn", arn.String()) + d.Set("name", param.Name) d.Set("type", param.Type) d.Set("value", param.Value) diff --git a/aws/data_source_aws_ssm_parameter_test.go b/aws/data_source_aws_ssm_parameter_test.go index 3b9c0d0f42d..02b0fa7aac1 100644 --- a/aws/data_source_aws_ssm_parameter_test.go +++ b/aws/data_source_aws_ssm_parameter_test.go @@ -18,6 +18,7 @@ func TestAccAwsSsmParameterDataSource_basic(t *testing.T) { { Config: testAccCheckAwsSsmParameterDataSourceConfig(name), Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttrSet("data.aws_ssm_parameter.test", "arn"), resource.TestCheckResourceAttr("data.aws_ssm_parameter.test", "name", name), resource.TestCheckResourceAttr("data.aws_ssm_parameter.test", "type", "String"), resource.TestCheckResourceAttr("data.aws_ssm_parameter.test", "value", "TestValue"), diff --git a/aws/ecs_task_definition_equivalency.go b/aws/ecs_task_definition_equivalency.go index abad556cd31..52c5e38fe7e 100644 --- a/aws/ecs_task_definition_equivalency.go +++ b/aws/ecs_task_definition_equivalency.go @@ -3,8 +3,11 @@ package aws import ( "bytes" "encoding/json" + "log" "reflect" + "sort" + "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil" "github.com/aws/aws-sdk-go/service/ecs" "github.com/mitchellh/copystructure" @@ -34,12 +37,18 @@ func ecsContainerDefinitionsAreEquivalent(def1, def2 string) (bool, error) { if err != nil { return false, err } + canonicalJson2, err := jsonutil.BuildJSON(obj2) if err != nil { return false, err } - return bytes.Compare(canonicalJson1, canonicalJson2) == 0, nil + equal := bytes.Compare(canonicalJson1, canonicalJson2) == 0 + if !equal { + log.Printf("[DEBUG] Canonical definitions are not equal.\nFirst: %s\nSecond: %s\n", + canonicalJson1, canonicalJson2) + } + return equal, nil } type containerDefinitions []*ecs.ContainerDefinition @@ -47,6 +56,12 @@ type containerDefinitions []*ecs.ContainerDefinition func (cd containerDefinitions) Reduce() error { for i, def := range cd { // Deal with special fields which have defaults + if def.Cpu != nil && *def.Cpu == 0 { + def.Cpu = nil + } + if def.Essential == nil { + def.Essential = aws.Bool(true) + } for j, pm := range def.PortMappings { if pm.Protocol != nil && *pm.Protocol == "tcp" { cd[i].PortMappings[j].Protocol = nil @@ -56,6 +71,11 @@ func (cd containerDefinitions) Reduce() error { } } + // Deal with fields which may be re-ordered in the API + sort.Slice(def.Environment, func(i, j int) bool { + return *def.Environment[i].Name < *def.Environment[j].Name + }) + // Create a mutable copy defCopy, err := copystructure.Copy(def) if err != nil { diff --git a/aws/ecs_task_definition_equivalency_test.go b/aws/ecs_task_definition_equivalency_test.go index 4e45f4cabbc..a05517bca03 100644 --- a/aws/ecs_task_definition_equivalency_test.go +++ b/aws/ecs_task_definition_equivalency_test.go @@ -134,6 +134,259 @@ func TestAwsEcsContainerDefinitionsAreEquivalent_portMappings(t *testing.T) { } } +func TestAwsEcsContainerDefinitionsAreEquivalent_arrays(t *testing.T) { + cfgRepresention := ` +[ + { + "name": "wordpress", + "image": "wordpress", + "essential": true, + "links": ["container1", "container2", "container3"], + "portMappings": [ + {"containerPort": 80}, + {"containerPort": 81}, + {"containerPort": 82} + ], + "environment": [ + {"name": "VARNAME1", "value": "VARVAL1"}, + {"name": "VARNAME2", "value": "VARVAL2"}, + {"name": "VARNAME3", "value": "VARVAL3"} + ], + "extraHosts": [ + {"hostname": "host1", "ipAddress": "127.0.0.1"}, + {"hostname": "host2", "ipAddress": "127.0.0.2"}, + {"hostname": "host3", "ipAddress": "127.0.0.3"} + ], + "mountPoints": [ + {"sourceVolume": "vol1", "containerPath": "/vol1"}, + {"sourceVolume": "vol2", "containerPath": "/vol2"}, + {"sourceVolume": "vol3", "containerPath": "/vol3"} + ], + "volumesFrom": [ + {"sourceContainer": "container1"}, + {"sourceContainer": "container2"}, + {"sourceContainer": "container3"} + ], + "ulimits": [ + { + "name": "core", + "softLimit": 10, "hardLimit": 20 + }, + { + "name": "cpu", + "softLimit": 10, "hardLimit": 20 + }, + { + "name": "fsize", + "softLimit": 10, "hardLimit": 20 + } + ], + "linuxParameters": { + "capabilities": { + "add": ["AUDIT_CONTROL", "AUDIT_WRITE", "BLOCK_SUSPEND"], + "drop": ["CHOWN", "IPC_LOCK", "KILL"] + } + }, + "devices": [ + { + "hostPath": "/path1", + "permissions": ["read", "write", "mknod"] + }, + { + "hostPath": "/path2", + "permissions": ["read", "write"] + }, + { + "hostPath": "/path3", + "permissions": ["read", "mknod"] + } + ], + "dockerSecurityOptions": ["label:one", "label:two", "label:three"], + "memory": 500, + "cpu": 10 + }, + { + "name": "container1", + "image": "busybox", + "memory": 100 + }, + { + "name": "container2", + "image": "busybox", + "memory": 100 + }, + { + "name": "container3", + "image": "busybox", + "memory": 100 + } +]` + + apiRepresentation := ` +[ + { + "cpu": 10, + "dockerSecurityOptions": [ + "label:one", + "label:two", + "label:three" + ], + "environment": [ + { + "name": "VARNAME3", + "value": "VARVAL3" + }, + { + "name": "VARNAME2", + "value": "VARVAL2" + }, + { + "name": "VARNAME1", + "value": "VARVAL1" + } + ], + "essential": true, + "extraHosts": [ + { + "hostname": "host1", + "ipAddress": "127.0.0.1" + }, + { + "hostname": "host2", + "ipAddress": "127.0.0.2" + }, + { + "hostname": "host3", + "ipAddress": "127.0.0.3" + } + ], + "image": "wordpress", + "links": [ + "container1", + "container2", + "container3" + ], + "linuxParameters": { + "capabilities": { + "add": [ + "AUDIT_CONTROL", + "AUDIT_WRITE", + "BLOCK_SUSPEND" + ], + "drop": [ + "CHOWN", + "IPC_LOCK", + "KILL" + ] + } + }, + "memory": 500, + "mountPoints": [ + { + "containerPath": "/vol1", + "sourceVolume": "vol1" + }, + { + "containerPath": "/vol2", + "sourceVolume": "vol2" + }, + { + "containerPath": "/vol3", + "sourceVolume": "vol3" + } + ], + "name": "wordpress", + "portMappings": [ + { + "containerPort": 80, + "hostPort": 0, + "protocol": "tcp" + }, + { + "containerPort": 81, + "hostPort": 0, + "protocol": "tcp" + }, + { + "containerPort": 82, + "hostPort": 0, + "protocol": "tcp" + } + ], + "ulimits": [ + { + "hardLimit": 20, + "name": "core", + "softLimit": 10 + }, + { + "hardLimit": 20, + "name": "cpu", + "softLimit": 10 + }, + { + "hardLimit": 20, + "name": "fsize", + "softLimit": 10 + } + ], + "volumesFrom": [ + { + "sourceContainer": "container1" + }, + { + "sourceContainer": "container2" + }, + { + "sourceContainer": "container3" + } + ] + }, + { + "cpu": 0, + "environment": [], + "essential": true, + "image": "busybox", + "memory": 100, + "mountPoints": [], + "name": "container1", + "portMappings": [], + "volumesFrom": [] + }, + { + "cpu": 0, + "environment": [], + "essential": true, + "image": "busybox", + "memory": 100, + "mountPoints": [], + "name": "container2", + "portMappings": [], + "volumesFrom": [] + }, + { + "cpu": 0, + "environment": [], + "essential": true, + "image": "busybox", + "memory": 100, + "mountPoints": [], + "name": "container3", + "portMappings": [], + "volumesFrom": [] + } +] +` + + equal, err := ecsContainerDefinitionsAreEquivalent(cfgRepresention, apiRepresentation) + if err != nil { + t.Fatal(err) + } + if !equal { + t.Fatal("Expected definitions to be equal.") + } +} + func TestAwsEcsContainerDefinitionsAreEquivalent_negative(t *testing.T) { cfgRepresention := ` [ diff --git a/aws/import_aws_cognito_user_pool_test.go b/aws/import_aws_cognito_user_pool_test.go new file mode 100644 index 00000000000..2cd078f2431 --- /dev/null +++ b/aws/import_aws_cognito_user_pool_test.go @@ -0,0 +1,29 @@ +package aws + +import ( + "testing" + + "github.com/hashicorp/terraform/helper/acctest" + "github.com/hashicorp/terraform/helper/resource" +) + +func TestAccAWSCognitoUserPool_importBasic(t *testing.T) { + resourceName := "aws_cognito_user_pool.pool" + name := acctest.RandString(5) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSCloudWatchDashboardDestroy, + Steps: []resource.TestStep{ + resource.TestStep{ + Config: testAccAWSCognitoUserPoolConfig_basic(name), + }, + resource.TestStep{ + ResourceName: resourceName, + ImportState: true, + ImportStateVerify: true, + }, + }, + }) +} diff --git a/aws/import_aws_dynamodb_table_test.go b/aws/import_aws_dynamodb_table_test.go index 00fa2169dff..666573c71b2 100644 --- a/aws/import_aws_dynamodb_table_test.go +++ b/aws/import_aws_dynamodb_table_test.go @@ -49,3 +49,25 @@ func TestAccAWSDynamoDbTable_importTags(t *testing.T) { }, }) } + +func TestAccAWSDynamoDbTable_importTimeToLive(t *testing.T) { + resourceName := "aws_dynamodb_table.basic-dynamodb-table" + rName := acctest.RandomWithPrefix("TerraformTestTable-") + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSDynamoDbTableDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSDynamoDbConfigAddTimeToLive(rName), + }, + + { + ResourceName: resourceName, + ImportState: true, + ImportStateVerify: true, + }, + }, + }) +} diff --git a/aws/provider.go b/aws/provider.go index 219efe2fe33..5847b3cda20 100644 --- a/aws/provider.go +++ b/aws/provider.go @@ -186,6 +186,7 @@ func Provider() terraform.ResourceProvider { "aws_eip": dataSourceAwsEip(), "aws_elastic_beanstalk_solution_stack": dataSourceAwsElasticBeanstalkSolutionStack(), "aws_elasticache_cluster": dataSourceAwsElastiCacheCluster(), + "aws_elb": dataSourceAwsElb(), "aws_elasticache_replication_group": dataSourceAwsElasticacheReplicationGroup(), "aws_elb_hosted_zone_id": dataSourceAwsElbHostedZoneId(), "aws_elb_service_account": dataSourceAwsElbServiceAccount(), @@ -198,12 +199,14 @@ func Provider() terraform.ResourceProvider { "aws_iam_user": dataSourceAwsIAMUser(), "aws_internet_gateway": dataSourceAwsInternetGateway(), "aws_instance": dataSourceAwsInstance(), + "aws_instances": dataSourceAwsInstances(), "aws_ip_ranges": dataSourceAwsIPRanges(), "aws_kinesis_stream": dataSourceAwsKinesisStream(), "aws_kms_alias": dataSourceAwsKmsAlias(), "aws_kms_ciphertext": dataSourceAwsKmsCiphertext(), "aws_kms_secret": dataSourceAwsKmsSecret(), "aws_nat_gateway": dataSourceAwsNatGateway(), + "aws_network_interface": dataSourceAwsNetworkInterface(), "aws_partition": dataSourceAwsPartition(), "aws_prefix_list": dataSourceAwsPrefixList(), "aws_rds_cluster": dataSourceAwsRdsCluster(), @@ -261,6 +264,7 @@ func Provider() terraform.ResourceProvider { "aws_app_cookie_stickiness_policy": resourceAwsAppCookieStickinessPolicy(), "aws_appautoscaling_target": resourceAwsAppautoscalingTarget(), "aws_appautoscaling_policy": resourceAwsAppautoscalingPolicy(), + "aws_appautoscaling_scheduled_action": resourceAwsAppautoscalingScheduledAction(), "aws_athena_database": resourceAwsAthenaDatabase(), "aws_athena_named_query": resourceAwsAthenaNamedQuery(), "aws_autoscaling_attachment": resourceAwsAutoscalingAttachment(), @@ -278,6 +282,7 @@ func Provider() terraform.ResourceProvider { "aws_cloudwatch_log_destination_policy": resourceAwsCloudWatchLogDestinationPolicy(), "aws_cloudwatch_log_group": resourceAwsCloudWatchLogGroup(), "aws_cloudwatch_log_metric_filter": resourceAwsCloudWatchLogMetricFilter(), + "aws_cloudwatch_log_resource_policy": resourceAwsCloudWatchLogResourcePolicy(), "aws_cloudwatch_log_stream": resourceAwsCloudWatchLogStream(), "aws_cloudwatch_log_subscription_filter": resourceAwsCloudwatchLogSubscriptionFilter(), "aws_config_config_rule": resourceAwsConfigConfigRule(), @@ -286,6 +291,7 @@ func Provider() terraform.ResourceProvider { "aws_config_delivery_channel": resourceAwsConfigDeliveryChannel(), "aws_cognito_identity_pool": resourceAwsCognitoIdentityPool(), "aws_cognito_identity_pool_roles_attachment": resourceAwsCognitoIdentityPoolRolesAttachment(), + "aws_cognito_user_pool": resourceAwsCognitoUserPool(), "aws_autoscaling_lifecycle_hook": resourceAwsAutoscalingLifecycleHook(), "aws_cloudwatch_metric_alarm": resourceAwsCloudWatchMetricAlarm(), "aws_cloudwatch_dashboard": resourceAwsCloudWatchDashboard(), @@ -313,6 +319,7 @@ func Provider() terraform.ResourceProvider { "aws_dms_replication_task": resourceAwsDmsReplicationTask(), "aws_dx_lag": resourceAwsDxLag(), "aws_dx_connection": resourceAwsDxConnection(), + "aws_dx_connection_association": resourceAwsDxConnectionAssociation(), "aws_dynamodb_table": resourceAwsDynamoDbTable(), "aws_ebs_snapshot": resourceAwsEbsSnapshot(), "aws_ebs_volume": resourceAwsEbsVolume(), @@ -396,6 +403,9 @@ func Provider() terraform.ResourceProvider { "aws_load_balancer_listener_policy": resourceAwsLoadBalancerListenerPolicies(), "aws_lb_ssl_negotiation_policy": resourceAwsLBSSLNegotiationPolicy(), "aws_main_route_table_association": resourceAwsMainRouteTableAssociation(), + "aws_mq_broker": resourceAwsMqBroker(), + "aws_mq_configuration": resourceAwsMqConfiguration(), + "aws_media_store_container": resourceAwsMediaStoreContainer(), "aws_nat_gateway": resourceAwsNatGateway(), "aws_network_acl": resourceAwsNetworkAcl(), "aws_default_network_acl": resourceAwsDefaultNetworkAcl(), @@ -454,6 +464,8 @@ func Provider() terraform.ResourceProvider { "aws_default_security_group": resourceAwsDefaultSecurityGroup(), "aws_security_group_rule": resourceAwsSecurityGroupRule(), "aws_servicecatalog_portfolio": resourceAwsServiceCatalogPortfolio(), + "aws_service_discovery_private_dns_namespace": resourceAwsServiceDiscoveryPrivateDnsNamespace(), + "aws_service_discovery_public_dns_namespace": resourceAwsServiceDiscoveryPublicDnsNamespace(), "aws_simpledb_domain": resourceAwsSimpleDBDomain(), "aws_ssm_activation": resourceAwsSsmActivation(), "aws_ssm_association": resourceAwsSsmAssociation(), diff --git a/aws/resource_aws_api_gateway_api_key.go b/aws/resource_aws_api_gateway_api_key.go index 66a7154de8c..76684cc5224 100644 --- a/aws/resource_aws_api_gateway_api_key.go +++ b/aws/resource_aws_api_gateway_api_key.go @@ -112,6 +112,7 @@ func resourceAwsApiGatewayApiKeyRead(d *schema.ResourceData, meta interface{}) e }) if err != nil { if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == "NotFoundException" { + log.Printf("[WARN] API Gateway API Key (%s) not found, removing from state", d.Id()) d.SetId("") return nil } diff --git a/aws/resource_aws_api_gateway_base_path_mapping.go b/aws/resource_aws_api_gateway_base_path_mapping.go index a04171916a7..ed31dc67b5f 100644 --- a/aws/resource_aws_api_gateway_base_path_mapping.go +++ b/aws/resource_aws_api_gateway_base_path_mapping.go @@ -99,7 +99,7 @@ func resourceAwsApiGatewayBasePathMappingRead(d *schema.ResourceData, meta inter }) if err != nil { if err, ok := err.(awserr.Error); ok && err.Code() == "NotFoundException" { - log.Printf("[WARN] API gateway base path mapping %s has vanished\n", d.Id()) + log.Printf("[WARN] API Gateway Base Path Mapping (%s) not found, removing from state", d.Id()) d.SetId("") return nil } diff --git a/aws/resource_aws_api_gateway_deployment.go b/aws/resource_aws_api_gateway_deployment.go index f4c1daf20a7..4e291b780e8 100644 --- a/aws/resource_aws_api_gateway_deployment.go +++ b/aws/resource_aws_api_gateway_deployment.go @@ -107,6 +107,7 @@ func resourceAwsApiGatewayDeploymentRead(d *schema.ResourceData, meta interface{ }) if err != nil { if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == "NotFoundException" { + log.Printf("[WARN] API Gateway Deployment (%s) not found, removing from state", d.Id()) d.SetId("") return nil } diff --git a/aws/resource_aws_api_gateway_domain_name.go b/aws/resource_aws_api_gateway_domain_name.go index be90c40ec53..d06298503ee 100644 --- a/aws/resource_aws_api_gateway_domain_name.go +++ b/aws/resource_aws_api_gateway_domain_name.go @@ -131,7 +131,7 @@ func resourceAwsApiGatewayDomainNameRead(d *schema.ResourceData, meta interface{ }) if err != nil { if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == "NotFoundException" { - log.Printf("[WARN] API gateway domain name %s has vanished\n", d.Id()) + log.Printf("[WARN] API Gateway Domain Name (%s) not found, removing from state", d.Id()) d.SetId("") return nil } diff --git a/aws/resource_aws_api_gateway_integration.go b/aws/resource_aws_api_gateway_integration.go index 351e55c5ee1..6e0390362ea 100644 --- a/aws/resource_aws_api_gateway_integration.go +++ b/aws/resource_aws_api_gateway_integration.go @@ -212,6 +212,7 @@ func resourceAwsApiGatewayIntegrationRead(d *schema.ResourceData, meta interface }) if err != nil { if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == "NotFoundException" { + log.Printf("[WARN] API Gateway Integration (%s) not found, removing from state", d.Id()) d.SetId("") return nil } diff --git a/aws/resource_aws_api_gateway_integration_response.go b/aws/resource_aws_api_gateway_integration_response.go index 24c66f28e18..88cf85176bb 100644 --- a/aws/resource_aws_api_gateway_integration_response.go +++ b/aws/resource_aws_api_gateway_integration_response.go @@ -139,6 +139,7 @@ func resourceAwsApiGatewayIntegrationResponseRead(d *schema.ResourceData, meta i }) if err != nil { if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == "NotFoundException" { + log.Printf("[WARN] API Gateway Integration Response (%s) not found, removing from state", d.Id()) d.SetId("") return nil } diff --git a/aws/resource_aws_api_gateway_method.go b/aws/resource_aws_api_gateway_method.go index 8bf40204408..fdbc451098a 100644 --- a/aws/resource_aws_api_gateway_method.go +++ b/aws/resource_aws_api_gateway_method.go @@ -152,6 +152,7 @@ func resourceAwsApiGatewayMethodRead(d *schema.ResourceData, meta interface{}) e }) if err != nil { if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == "NotFoundException" { + log.Printf("[WARN] API Gateway Method (%s) not found, removing from state", d.Id()) d.SetId("") return nil } @@ -162,7 +163,7 @@ func resourceAwsApiGatewayMethodRead(d *schema.ResourceData, meta interface{}) e d.Set("request_parameters", aws.BoolValueMap(out.RequestParameters)) d.Set("request_parameters_in_json", aws.BoolValueMap(out.RequestParameters)) d.Set("api_key_required", out.ApiKeyRequired) - d.Set("authorization_type", out.AuthorizationType) + d.Set("authorization", out.AuthorizationType) d.Set("authorizer_id", out.AuthorizerId) d.Set("request_models", aws.StringValueMap(out.RequestModels)) d.Set("request_validator_id", out.RequestValidatorId) diff --git a/aws/resource_aws_api_gateway_method_response.go b/aws/resource_aws_api_gateway_method_response.go index b0b929ad749..caedc77d3d8 100644 --- a/aws/resource_aws_api_gateway_method_response.go +++ b/aws/resource_aws_api_gateway_method_response.go @@ -12,8 +12,11 @@ import ( "github.com/aws/aws-sdk-go/service/apigateway" "github.com/hashicorp/terraform/helper/resource" "github.com/hashicorp/terraform/helper/schema" + "sync" ) +var resourceAwsApiGatewayMethodResponseMutex = &sync.Mutex{} + func resourceAwsApiGatewayMethodResponse() *schema.Resource { return &schema.Resource{ Create: resourceAwsApiGatewayMethodResponseCreate, @@ -93,14 +96,20 @@ func resourceAwsApiGatewayMethodResponseCreate(d *schema.ResourceData, meta inte } } - _, err := conn.PutMethodResponse(&apigateway.PutMethodResponseInput{ - HttpMethod: aws.String(d.Get("http_method").(string)), - ResourceId: aws.String(d.Get("resource_id").(string)), - RestApiId: aws.String(d.Get("rest_api_id").(string)), - StatusCode: aws.String(d.Get("status_code").(string)), - ResponseModels: aws.StringMap(models), - ResponseParameters: aws.BoolMap(parameters), + resourceAwsApiGatewayMethodResponseMutex.Lock() + defer resourceAwsApiGatewayMethodResponseMutex.Unlock() + + _, err := retryOnAwsCode(apigateway.ErrCodeConflictException, func() (interface{}, error) { + return conn.PutMethodResponse(&apigateway.PutMethodResponseInput{ + HttpMethod: aws.String(d.Get("http_method").(string)), + ResourceId: aws.String(d.Get("resource_id").(string)), + RestApiId: aws.String(d.Get("rest_api_id").(string)), + StatusCode: aws.String(d.Get("status_code").(string)), + ResponseModels: aws.StringMap(models), + ResponseParameters: aws.BoolMap(parameters), + }) }) + if err != nil { return fmt.Errorf("Error creating API Gateway Method Response: %s", err) } @@ -114,7 +123,7 @@ func resourceAwsApiGatewayMethodResponseCreate(d *schema.ResourceData, meta inte func resourceAwsApiGatewayMethodResponseRead(d *schema.ResourceData, meta interface{}) error { conn := meta.(*AWSClient).apigateway - log.Printf("[DEBUG] Reading API Gateway Method %s", d.Id()) + log.Printf("[DEBUG] Reading API Gateway Method Response %s", d.Id()) methodResponse, err := conn.GetMethodResponse(&apigateway.GetMethodResponseInput{ HttpMethod: aws.String(d.Get("http_method").(string)), ResourceId: aws.String(d.Get("resource_id").(string)), @@ -123,13 +132,14 @@ func resourceAwsApiGatewayMethodResponseRead(d *schema.ResourceData, meta interf }) if err != nil { if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == "NotFoundException" { + log.Printf("[WARN] API Gateway Response (%s) not found, removing from state", d.Id()) d.SetId("") return nil } return err } - log.Printf("[DEBUG] Received API Gateway Method: %s", methodResponse) + log.Printf("[DEBUG] Received API Gateway Method Response: %s", methodResponse) d.Set("response_models", aws.StringValueMap(methodResponse.ResponseModels)) d.Set("response_parameters", aws.BoolValueMap(methodResponse.ResponseParameters)) d.Set("response_parameters_in_json", aws.BoolValueMap(methodResponse.ResponseParameters)) diff --git a/aws/resource_aws_api_gateway_method_settings.go b/aws/resource_aws_api_gateway_method_settings.go index 06d5efd0147..cb9c828a7d3 100644 --- a/aws/resource_aws_api_gateway_method_settings.go +++ b/aws/resource_aws_api_gateway_method_settings.go @@ -97,7 +97,7 @@ func resourceAwsApiGatewayMethodSettingsRead(d *schema.ResourceData, meta interf stage, err := conn.GetStage(&input) if err != nil { if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == "NotFoundException" { - log.Printf("[WARN] API Gateway Stage %s not found, removing method settings", d.Id()) + log.Printf("[WARN] API Gateway Stage (%s) not found, removing method settings", d.Id()) d.SetId("") return nil } diff --git a/aws/resource_aws_api_gateway_model.go b/aws/resource_aws_api_gateway_model.go index 3f2721889d0..8b39c676e84 100644 --- a/aws/resource_aws_api_gateway_model.go +++ b/aws/resource_aws_api_gateway_model.go @@ -93,6 +93,7 @@ func resourceAwsApiGatewayModelRead(d *schema.ResourceData, meta interface{}) er }) if err != nil { if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == "NotFoundException" { + log.Printf("[WARN] API Gateway Model (%s) not found, removing from state", d.Id()) d.SetId("") return nil } diff --git a/aws/resource_aws_api_gateway_request_validator.go b/aws/resource_aws_api_gateway_request_validator.go index c86d12468ff..045ad007f0e 100644 --- a/aws/resource_aws_api_gateway_request_validator.go +++ b/aws/resource_aws_api_gateway_request_validator.go @@ -75,6 +75,7 @@ func resourceAwsApiGatewayRequestValidatorRead(d *schema.ResourceData, meta inte out, err := conn.GetRequestValidator(&input) if err != nil { if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == apigateway.ErrCodeNotFoundException { + log.Printf("[WARN] API Gateway Request Validator (%s) not found, removing from state", d.Id()) d.SetId("") return nil } diff --git a/aws/resource_aws_api_gateway_rest_api.go b/aws/resource_aws_api_gateway_rest_api.go index e7457797434..0d5ae48e3e4 100644 --- a/aws/resource_aws_api_gateway_rest_api.go +++ b/aws/resource_aws_api_gateway_rest_api.go @@ -129,6 +129,7 @@ func resourceAwsApiGatewayRestApiRead(d *schema.ResourceData, meta interface{}) }) if err != nil { if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == "NotFoundException" { + log.Printf("[WARN] API Gateway (%s) not found, removing from state", d.Id()) d.SetId("") return nil } diff --git a/aws/resource_aws_api_gateway_stage.go b/aws/resource_aws_api_gateway_stage.go index 1b8579e3dbd..7ce0abda3c5 100644 --- a/aws/resource_aws_api_gateway_stage.go +++ b/aws/resource_aws_api_gateway_stage.go @@ -150,7 +150,7 @@ func resourceAwsApiGatewayStageRead(d *schema.ResourceData, meta interface{}) er stage, err := conn.GetStage(&input) if err != nil { if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == "NotFoundException" { - log.Printf("[WARN] API Gateway Stage %s not found, removing", d.Id()) + log.Printf("[WARN] API Gateway Stage (%s) not found, removing from state", d.Id()) d.SetId("") return nil } diff --git a/aws/resource_aws_api_gateway_usage_plan.go b/aws/resource_aws_api_gateway_usage_plan.go index 9556278a293..4fe7164b3cf 100644 --- a/aws/resource_aws_api_gateway_usage_plan.go +++ b/aws/resource_aws_api_gateway_usage_plan.go @@ -233,6 +233,7 @@ func resourceAwsApiGatewayUsagePlanRead(d *schema.ResourceData, meta interface{} }) if err != nil { if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == "NotFoundException" { + log.Printf("[WARN] API Gateway Usage Plan (%s) not found, removing from state", d.Id()) d.SetId("") return nil } diff --git a/aws/resource_aws_api_gateway_usage_plan_key.go b/aws/resource_aws_api_gateway_usage_plan_key.go index 2433da48b91..b9218b6a0d7 100644 --- a/aws/resource_aws_api_gateway_usage_plan_key.go +++ b/aws/resource_aws_api_gateway_usage_plan_key.go @@ -80,6 +80,7 @@ func resourceAwsApiGatewayUsagePlanKeyRead(d *schema.ResourceData, meta interfac }) if err != nil { if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == "NotFoundException" { + log.Printf("[WARN] API Gateway Usage Plan Key (%s) not found, removing from state", d.Id()) d.SetId("") return nil } diff --git a/aws/resource_aws_appautoscaling_policy.go b/aws/resource_aws_appautoscaling_policy.go index 52fe78e9b8b..35a1d85d49b 100644 --- a/aws/resource_aws_appautoscaling_policy.go +++ b/aws/resource_aws_appautoscaling_policy.go @@ -262,6 +262,9 @@ func resourceAwsAppautoscalingPolicyCreate(d *schema.ResourceData, meta interfac var err error resp, err = conn.PutScalingPolicy(¶ms) if err != nil { + if isAWSErr(err, "FailedResourceAccessException", "Rate exceeded") { + return resource.RetryableError(err) + } if isAWSErr(err, "FailedResourceAccessException", "is not authorized to perform") { return resource.RetryableError(err) } diff --git a/aws/resource_aws_appautoscaling_scheduled_action.go b/aws/resource_aws_appautoscaling_scheduled_action.go new file mode 100644 index 00000000000..0cccbeb4eba --- /dev/null +++ b/aws/resource_aws_appautoscaling_scheduled_action.go @@ -0,0 +1,191 @@ +package aws + +import ( + "fmt" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/applicationautoscaling" + "github.com/hashicorp/terraform/helper/resource" + "github.com/hashicorp/terraform/helper/schema" +) + +const awsAppautoscalingScheduleTimeLayout = "2006-01-02T15:04:05Z" + +func resourceAwsAppautoscalingScheduledAction() *schema.Resource { + return &schema.Resource{ + Create: resourceAwsAppautoscalingScheduledActionPut, + Read: resourceAwsAppautoscalingScheduledActionRead, + Delete: resourceAwsAppautoscalingScheduledActionDelete, + + Schema: map[string]*schema.Schema{ + "name": &schema.Schema{ + Type: schema.TypeString, + Required: true, + ForceNew: true, + }, + "service_namespace": &schema.Schema{ + Type: schema.TypeString, + Required: true, + ForceNew: true, + }, + "resource_id": &schema.Schema{ + Type: schema.TypeString, + Required: true, + ForceNew: true, + }, + "scalable_dimension": &schema.Schema{ + Type: schema.TypeString, + Optional: true, + ForceNew: true, + }, + "scalable_target_action": &schema.Schema{ + Type: schema.TypeList, + Optional: true, + ForceNew: true, + MaxItems: 1, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "max_capacity": &schema.Schema{ + Type: schema.TypeInt, + Optional: true, + ForceNew: true, + }, + "min_capacity": &schema.Schema{ + Type: schema.TypeInt, + Optional: true, + ForceNew: true, + }, + }, + }, + }, + "schedule": &schema.Schema{ + Type: schema.TypeString, + Optional: true, + ForceNew: true, + }, + "start_time": &schema.Schema{ + Type: schema.TypeString, + Optional: true, + ForceNew: true, + }, + "end_time": &schema.Schema{ + Type: schema.TypeString, + Optional: true, + ForceNew: true, + }, + "arn": &schema.Schema{ + Type: schema.TypeString, + Computed: true, + }, + }, + } +} + +func resourceAwsAppautoscalingScheduledActionPut(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).appautoscalingconn + + input := &applicationautoscaling.PutScheduledActionInput{ + ScheduledActionName: aws.String(d.Get("name").(string)), + ServiceNamespace: aws.String(d.Get("service_namespace").(string)), + ResourceId: aws.String(d.Get("resource_id").(string)), + } + if v, ok := d.GetOk("scalable_dimension"); ok { + input.ScalableDimension = aws.String(v.(string)) + } + if v, ok := d.GetOk("schedule"); ok { + input.Schedule = aws.String(v.(string)) + } + if v, ok := d.GetOk("scalable_target_action"); ok { + sta := &applicationautoscaling.ScalableTargetAction{} + raw := v.([]interface{})[0].(map[string]interface{}) + if max, ok := raw["max_capacity"]; ok { + sta.MaxCapacity = aws.Int64(int64(max.(int))) + } + if min, ok := raw["min_capacity"]; ok { + sta.MaxCapacity = aws.Int64(int64(min.(int))) + } + input.ScalableTargetAction = sta + } + if v, ok := d.GetOk("start_time"); ok { + t, err := time.Parse(awsAppautoscalingScheduleTimeLayout, v.(string)) + if err != nil { + return fmt.Errorf("Error Parsing Appautoscaling Scheduled Action Start Time: %s", err.Error()) + } + input.StartTime = aws.Time(t) + } + if v, ok := d.GetOk("end_time"); ok { + t, err := time.Parse(awsAppautoscalingScheduleTimeLayout, v.(string)) + if err != nil { + return fmt.Errorf("Error Parsing Appautoscaling Scheduled Action End Time: %s", err.Error()) + } + input.EndTime = aws.Time(t) + } + + err := resource.Retry(5*time.Minute, func() *resource.RetryError { + _, err := conn.PutScheduledAction(input) + if err != nil { + if isAWSErr(err, applicationautoscaling.ErrCodeObjectNotFoundException, "") { + return resource.RetryableError(err) + } + return resource.NonRetryableError(err) + } + return nil + }) + + if err != nil { + return err + } + + d.SetId(d.Get("name").(string) + "-" + d.Get("service_namespace").(string) + "-" + d.Get("resource_id").(string)) + return resourceAwsAppautoscalingScheduledActionRead(d, meta) +} + +func resourceAwsAppautoscalingScheduledActionRead(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).appautoscalingconn + + saName := d.Get("name").(string) + input := &applicationautoscaling.DescribeScheduledActionsInput{ + ScheduledActionNames: []*string{aws.String(saName)}, + ServiceNamespace: aws.String(d.Get("service_namespace").(string)), + } + resp, err := conn.DescribeScheduledActions(input) + if err != nil { + return err + } + if len(resp.ScheduledActions) < 1 { + d.SetId("") + return nil + } + if len(resp.ScheduledActions) != 1 { + return fmt.Errorf("Expected 1 scheduled action under %s, found %d", saName, len(resp.ScheduledActions)) + } + if *resp.ScheduledActions[0].ScheduledActionName != saName { + return fmt.Errorf("Scheduled Action (%s) not found", saName) + } + d.Set("arn", resp.ScheduledActions[0].ScheduledActionARN) + return nil +} + +func resourceAwsAppautoscalingScheduledActionDelete(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).appautoscalingconn + + input := &applicationautoscaling.DeleteScheduledActionInput{ + ScheduledActionName: aws.String(d.Get("name").(string)), + ServiceNamespace: aws.String(d.Get("service_namespace").(string)), + ResourceId: aws.String(d.Get("resource_id").(string)), + } + if v, ok := d.GetOk("scalable_dimension"); ok { + input.ScalableDimension = aws.String(v.(string)) + } + _, err := conn.DeleteScheduledAction(input) + if err != nil { + if isAWSErr(err, applicationautoscaling.ErrCodeObjectNotFoundException, "") { + d.SetId("") + return nil + } + return err + } + d.SetId("") + return nil +} diff --git a/aws/resource_aws_appautoscaling_scheduled_action_test.go b/aws/resource_aws_appautoscaling_scheduled_action_test.go new file mode 100644 index 00000000000..710a69a0691 --- /dev/null +++ b/aws/resource_aws_appautoscaling_scheduled_action_test.go @@ -0,0 +1,679 @@ +package aws + +import ( + "fmt" + "testing" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/applicationautoscaling" + "github.com/hashicorp/terraform/helper/acctest" + "github.com/hashicorp/terraform/helper/resource" + "github.com/hashicorp/terraform/terraform" +) + +func TestAccAwsAppautoscalingScheduledAction_dynamo(t *testing.T) { + ts := time.Now().AddDate(0, 0, 1).Format("2006-01-02T15:04:05") + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAwsAppautoscalingScheduledActionDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAppautoscalingScheduledActionConfig_DynamoDB(acctest.RandString(5), ts), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsAppautoscalingScheduledActionExists("aws_appautoscaling_scheduled_action.hoge"), + ), + }, + }, + }) +} + +func TestAccAwsAppautoscalingScheduledAction_ECS(t *testing.T) { + ts := time.Now().AddDate(0, 0, 1).Format("2006-01-02T15:04:05") + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAwsAppautoscalingScheduledActionDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAppautoscalingScheduledActionConfig_ECS(acctest.RandString(5), ts), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsAppautoscalingScheduledActionExists("aws_appautoscaling_scheduled_action.hoge"), + ), + }, + }, + }) +} + +func TestAccAwsAppautoscalingScheduledAction_EMR(t *testing.T) { + ts := time.Now().AddDate(0, 0, 1).Format("2006-01-02T15:04:05") + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAwsAppautoscalingScheduledActionDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAppautoscalingScheduledActionConfig_EMR(acctest.RandString(5), ts), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsAppautoscalingScheduledActionExists("aws_appautoscaling_scheduled_action.hoge"), + ), + }, + }, + }) +} + +func TestAccAwsAppautoscalingScheduledAction_SpotFleet(t *testing.T) { + ts := time.Now().AddDate(0, 0, 1).Format("2006-01-02T15:04:05") + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAwsAppautoscalingScheduledActionDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAppautoscalingScheduledActionConfig_SpotFleet(acctest.RandString(5), ts), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsAppautoscalingScheduledActionExists("aws_appautoscaling_scheduled_action.hoge"), + ), + }, + }, + }) +} + +func testAccCheckAwsAppautoscalingScheduledActionDestroy(s *terraform.State) error { + conn := testAccProvider.Meta().(*AWSClient).appautoscalingconn + + for _, rs := range s.RootModule().Resources { + if rs.Type != "aws_appautoscaling_scheduled_action" { + continue + } + + input := &applicationautoscaling.DescribeScheduledActionsInput{ + ScheduledActionNames: []*string{aws.String(rs.Primary.Attributes["name"])}, + ServiceNamespace: aws.String(rs.Primary.Attributes["service_namespace"]), + } + resp, err := conn.DescribeScheduledActions(input) + if err != nil { + return err + } + if len(resp.ScheduledActions) > 0 { + return fmt.Errorf("Appautoscaling Scheduled Action (%s) not deleted", rs.Primary.Attributes["name"]) + } + } + return nil +} + +func testAccCheckAwsAppautoscalingScheduledActionExists(name string) resource.TestCheckFunc { + return func(s *terraform.State) error { + _, ok := s.RootModule().Resources[name] + if !ok { + return fmt.Errorf("Not found: %s", name) + } + return nil + } +} + +func testAccAppautoscalingScheduledActionConfig_DynamoDB(rName, ts string) string { + return fmt.Sprintf(` +resource "aws_dynamodb_table" "hoge" { + name = "tf-ddb-%s" + read_capacity = 5 + write_capacity = 5 + hash_key = "UserID" + + attribute { + name = "UserID" + type = "S" + } +} + +resource "aws_iam_role" "hoge" { + assume_role_policy = < 0 { log.Printf("[DEBUG] Adding ECS load balancers: %s", loadBalancers) @@ -194,6 +226,8 @@ func resourceAwsEcsServiceCreate(d *schema.ResourceData, meta interface{}) error input.Role = aws.String(v.(string)) } + input.NetworkConfiguration = expandEcsNetworkConfigration(d.Get("network_configuration").([]interface{})) + strategies := d.Get("placement_strategy").(*schema.Set).List() if len(strategies) > 0 { var ps []*ecs.PlacementStrategy @@ -319,6 +353,8 @@ func resourceAwsEcsServiceRead(d *schema.ResourceData, meta interface{}) error { d.Set("desired_count", service.DesiredCount) + d.Set("launch_type", service.LaunchType) + // Save cluster in the same format if strings.HasPrefix(d.Get("cluster").(string), "arn:"+meta.(*AWSClient).partition+":ecs:") { d.Set("cluster", service.ClusterArn) @@ -353,9 +389,36 @@ func resourceAwsEcsServiceRead(d *schema.ResourceData, meta interface{}) error { log.Printf("[ERR] Error setting placement_constraints for (%s): %s", d.Id(), err) } + if err := d.Set("network_configuration", flattenEcsNetworkConfigration(service.NetworkConfiguration)); err != nil { + return fmt.Errorf("[ERR] Error setting network_configuration for (%s): %s", d.Id(), err) + } + return nil } +func flattenEcsNetworkConfigration(nc *ecs.NetworkConfiguration) []interface{} { + if nc == nil { + return nil + } + result := make(map[string]interface{}) + result["security_groups"] = schema.NewSet(schema.HashString, flattenStringList(nc.AwsvpcConfiguration.SecurityGroups)) + result["subnets"] = schema.NewSet(schema.HashString, flattenStringList(nc.AwsvpcConfiguration.Subnets)) + return []interface{}{result} +} + +func expandEcsNetworkConfigration(nc []interface{}) *ecs.NetworkConfiguration { + if len(nc) == 0 { + return nil + } + awsVpcConfig := &ecs.AwsVpcConfiguration{} + raw := nc[0].(map[string]interface{}) + if val, ok := raw["security_groups"]; ok { + awsVpcConfig.SecurityGroups = expandStringSet(val.(*schema.Set)) + } + awsVpcConfig.Subnets = expandStringSet(raw["subnets"].(*schema.Set)) + return &ecs.NetworkConfiguration{AwsvpcConfiguration: awsVpcConfig} +} + func flattenServicePlacementConstraints(pcs []*ecs.PlacementConstraint) []map[string]interface{} { if len(pcs) == 0 { return nil @@ -418,6 +481,10 @@ func resourceAwsEcsServiceUpdate(d *schema.ResourceData, meta interface{}) error } } + if d.HasChange("network_configration") { + input.NetworkConfiguration = expandEcsNetworkConfigration(d.Get("network_configuration").([]interface{})) + } + // Retry due to IAM & ECS eventual consistency err := resource.Retry(2*time.Minute, func() *resource.RetryError { out, err := conn.UpdateService(&input) diff --git a/aws/resource_aws_ecs_service_test.go b/aws/resource_aws_ecs_service_test.go index 2fb37f64955..2b10eaeaac4 100644 --- a/aws/resource_aws_ecs_service_test.go +++ b/aws/resource_aws_ecs_service_test.go @@ -341,6 +341,40 @@ func TestAccAWSEcsServiceWithPlacementConstraints_emptyExpression(t *testing.T) }) } +func TestAccAWSEcsServiceWithLaunchTypeFargate(t *testing.T) { + rInt := acctest.RandInt() + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSEcsServiceDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSEcsServiceWithLaunchTypeFargate(rInt), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSEcsServiceExists("aws_ecs_service.main"), + resource.TestCheckResourceAttr("aws_ecs_service.main", "launch_type", "FARGATE"), + ), + }, + }, + }) +} + +func TestAccAWSEcsServiceWithNetworkConfiguration(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSEcsServiceDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSEcsServiceWithNetworkConfigration(acctest.RandString(5)), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSEcsServiceExists("aws_ecs_service.main"), + ), + }, + }, + }) +} + func testAccCheckAWSEcsServiceDestroy(s *terraform.State) error { conn := testAccProvider.Meta().(*AWSClient).ecsconn @@ -581,6 +615,89 @@ resource "aws_ecs_service" "mongo" { `, rInt, rInt) } +func testAccAWSEcsServiceWithLaunchTypeFargate(rInt int) string { + return fmt.Sprintf(` +provider "aws" { + region = "us-east-1" +} +data "aws_availability_zones" "available" {} + +resource "aws_vpc" "main" { + cidr_block = "10.10.0.0/16" +} + +resource "aws_subnet" "main" { + count = 2 + cidr_block = "${cidrsubnet(aws_vpc.main.cidr_block, 8, count.index)}" + availability_zone = "${data.aws_availability_zones.available.names[count.index]}" + vpc_id = "${aws_vpc.main.id}" +} + +resource "aws_security_group" "allow_all_a" { + name = "allow_all_a_%d" + description = "Allow all inbound traffic" + vpc_id = "${aws_vpc.main.id}" + + ingress { + protocol = "6" + from_port = 80 + to_port = 8000 + cidr_blocks = ["${aws_vpc.main.cidr_block}"] + } +} + +resource "aws_security_group" "allow_all_b" { + name = "allow_all_b_%d" + description = "Allow all inbound traffic" + vpc_id = "${aws_vpc.main.id}" + + ingress { + protocol = "6" + from_port = 80 + to_port = 8000 + cidr_blocks = ["${aws_vpc.main.cidr_block}"] + } +} + +resource "aws_ecs_cluster" "main" { + name = "tf-ecs-cluster-%d" +} + +resource "aws_ecs_task_definition" "mongo" { + family = "mongodb" + network_mode = "awsvpc" + requires_compatibilities = ["FARGATE"] + cpu = "256" + memory = "512" + + container_definitions = < 0 { + input.RequiresCompatibilities = expandStringList(v.(*schema.Set).List()) + } + log.Printf("[DEBUG] Registering ECS task definition: %s", input) out, err := conn.RegisterTaskDefinition(&input) if err != nil { @@ -230,12 +272,19 @@ func resourceAwsEcsTaskDefinitionRead(d *schema.ResourceData, meta interface{}) } d.Set("task_role_arn", taskDefinition.TaskRoleArn) + d.Set("execution_role_arn", taskDefinition.ExecutionRoleArn) + d.Set("cpu", taskDefinition.Cpu) + d.Set("memory", taskDefinition.Memory) d.Set("network_mode", taskDefinition.NetworkMode) d.Set("volumes", flattenEcsVolumes(taskDefinition.Volumes)) if err := d.Set("placement_constraints", flattenPlacementConstraints(taskDefinition.PlacementConstraints)); err != nil { log.Printf("[ERR] Error setting placement_constraints for (%s): %s", d.Id(), err) } + if err := d.Set("requires_compatibilities", flattenStringList(taskDefinition.RequiresCompatibilities)); err != nil { + return err + } + return nil } diff --git a/aws/resource_aws_ecs_task_definition_test.go b/aws/resource_aws_ecs_task_definition_test.go index afbf2955f84..6d16d1f9fca 100644 --- a/aws/resource_aws_ecs_task_definition_test.go +++ b/aws/resource_aws_ecs_task_definition_test.go @@ -160,6 +160,69 @@ func TestAccAWSEcsTaskDefinition_changeVolumesForcesNewResource(t *testing.T) { }) } +// Regression for https://github.com/terraform-providers/terraform-provider-aws/issues/2336 +func TestAccAWSEcsTaskDefinition_arrays(t *testing.T) { + var conf ecs.TaskDefinition + familyName := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(10)) + containerName := fmt.Sprintf("tfacctest%s", acctest.RandString(10)) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSEcsTaskDefinitionDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSEcsTaskDefinitionArrays(familyName, containerName), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSEcsTaskDefinitionExists("aws_ecs_task_definition.test", &conf), + ), + }, + }, + }) +} + +func TestAccAWSEcsTaskDefinition_Fargate(t *testing.T) { + var conf ecs.TaskDefinition + familyName := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(10)) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSEcsTaskDefinitionDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSEcsTaskDefinitionFargate(familyName), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSEcsTaskDefinitionExists("aws_ecs_task_definition.fargate", &conf), + resource.TestCheckResourceAttr("aws_ecs_task_definition.fargate", "requires_compatibilities.#", "1"), + resource.TestCheckResourceAttr("aws_ecs_task_definition.fargate", "cpu", "256"), + resource.TestCheckResourceAttr("aws_ecs_task_definition.fargate", "memory", "512"), + ), + }, + }, + }) +} + +func TestAccAWSEcsTaskDefinition_ExecutionRole(t *testing.T) { + var conf ecs.TaskDefinition + familyName := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(10)) + rInt := acctest.RandInt() + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSEcsTaskDefinitionDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSEcsTaskDefinitionExecutionRole(familyName, rInt), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSEcsTaskDefinitionExists("aws_ecs_task_definition.fargate", &conf), + ), + }, + }, + }) +} + func testAccCheckEcsTaskDefinitionRecreated(t *testing.T, before, after *ecs.TaskDefinition) resource.TestCheckFunc { return func(s *terraform.State) error { @@ -425,6 +488,206 @@ TASK_DEFINITION } ` +func testAccAWSEcsTaskDefinitionArrays(familyName, containerName string) string { + return fmt.Sprintf(` +resource "aws_ecs_task_definition" "test" { + family = "%s" + container_definitions = < 0 { + lbName := matches[2] + describeElbOpts := &elb.DescribeLoadBalancersInput{ + LoadBalancerNames: []*string{aws.String(lbName)}, + } + if _, err := conn.DescribeLoadBalancers(describeElbOpts); err != nil { + if isAWSErr(err, "LoadBalancerNotFound", "") { + log.Printf("[WARN] Load Balancer (%s) causing delete conflict not found", lbName) + } + } + } +} + func normalizeCert(cert interface{}) string { if cert == nil || cert == (*string)(nil) { return "" diff --git a/aws/resource_aws_iam_server_certificate_test.go b/aws/resource_aws_iam_server_certificate_test.go index be91ae8b8d3..e5f7349d99b 100644 --- a/aws/resource_aws_iam_server_certificate_test.go +++ b/aws/resource_aws_iam_server_certificate_test.go @@ -2,6 +2,7 @@ package aws import ( "fmt" + "log" "strings" "testing" @@ -12,6 +13,57 @@ import ( "github.com/hashicorp/terraform/terraform" ) +func init() { + resource.AddTestSweepers("aws_iam_server_certificate", &resource.Sweeper{ + Name: "aws_iam_server_certificate", + F: testSweepIamServerCertificates, + }) +} + +func testSweepIamServerCertificates(region string) error { + client, err := sharedClientForRegion(region) + if err != nil { + return fmt.Errorf("error getting client: %s", err) + } + conn := client.(*AWSClient).iamconn + + prefixes := []string{ + "tf-acctest-", + "test_cert_", + "terraform-test-cert-", + } + + err = conn.ListServerCertificatesPages(&iam.ListServerCertificatesInput{}, func(out *iam.ListServerCertificatesOutput, lastPage bool) bool { + for _, sc := range out.ServerCertificateMetadataList { + hasPrefix := false + for _, prefix := range prefixes { + if strings.HasPrefix(*sc.ServerCertificateName, prefix) { + hasPrefix = true + } + } + if !hasPrefix { + continue + } + log.Printf("[INFO] Deleting IAM Server Certificate: %s", *sc.ServerCertificateName) + + _, err := conn.DeleteServerCertificate(&iam.DeleteServerCertificateInput{ + ServerCertificateName: sc.ServerCertificateName, + }) + if err != nil { + log.Printf("[ERROR] Failed to delete IAM Server Certificate %s: %s", + *sc.ServerCertificateName, err) + continue + } + } + return !lastPage + }) + if err != nil { + return fmt.Errorf("Error retrieving IAM Server Certificates: %s", err) + } + + return nil +} + func TestAccAWSIAMServerCertificate_basic(t *testing.T) { var cert iam.ServerCertificate rInt := acctest.RandInt() diff --git a/aws/resource_aws_instance.go b/aws/resource_aws_instance.go index dc847ff2f3e..52572d232d1 100644 --- a/aws/resource_aws_instance.go +++ b/aws/resource_aws_instance.go @@ -612,6 +612,9 @@ func resourceAwsInstanceRead(d *schema.ResourceData, meta interface{}) error { if instance.Placement != nil { d.Set("availability_zone", instance.Placement.AvailabilityZone) } + if instance.Placement.GroupName != nil { + d.Set("placement_group", instance.Placement.GroupName) + } if instance.Placement.Tenancy != nil { d.Set("tenancy", instance.Placement.Tenancy) } diff --git a/aws/resource_aws_instance_test.go b/aws/resource_aws_instance_test.go index 85d7cc2b4a5..3bc8762b57d 100644 --- a/aws/resource_aws_instance_test.go +++ b/aws/resource_aws_instance_test.go @@ -559,6 +559,32 @@ func TestAccAWSInstance_vpc(t *testing.T) { }) } +func TestAccAWSInstance_placementGroup(t *testing.T) { + var v ec2.Instance + rStr := acctest.RandString(5) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + IDRefreshName: "aws_instance.foo", + IDRefreshIgnore: []string{"associate_public_ip_address"}, + Providers: testAccProviders, + CheckDestroy: testAccCheckInstanceDestroy, + Steps: []resource.TestStep{ + { + Config: testAccInstanceConfigPlacementGroup(rStr), + Check: resource.ComposeTestCheckFunc( + testAccCheckInstanceExists( + "aws_instance.foo", &v), + resource.TestCheckResourceAttr( + "aws_instance.foo", + "placement_group", + fmt.Sprintf("testAccInstanceConfigPlacementGroup_%s", rStr)), + ), + }, + }, + }) +} + func TestAccAWSInstance_ipv6_supportAddressCount(t *testing.T) { var v ec2.Instance @@ -1686,6 +1712,39 @@ resource "aws_instance" "foo" { } ` +func testAccInstanceConfigPlacementGroup(rStr string) string { + return fmt.Sprintf(` +resource "aws_vpc" "foo" { + cidr_block = "10.1.0.0/16" + tags { + Name = "testAccInstanceConfigPlacementGroup_%s" + } +} + +resource "aws_subnet" "foo" { + cidr_block = "10.1.1.0/24" + vpc_id = "${aws_vpc.foo.id}" +} + +resource "aws_placement_group" "foo" { + name = "testAccInstanceConfigPlacementGroup_%s" + strategy = "cluster" +} + +# Limitations: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html#concepts-placement-groups +resource "aws_instance" "foo" { + # us-west-2 + ami = "ami-55a7ea65" + instance_type = "c3.large" + subnet_id = "${aws_subnet.foo.id}" + associate_public_ip_address = true + placement_group = "${aws_placement_group.foo.name}" + # pre-encoded base64 data + user_data = "3dc39dda39be1205215e776bad998da361a5955d" +} +`, rStr, rStr) +} + const testAccInstanceConfigIpv6ErrorConfig = ` resource "aws_vpc" "foo" { cidr_block = "10.1.0.0/16" diff --git a/aws/resource_aws_kinesis_firehose_delivery_stream_test.go b/aws/resource_aws_kinesis_firehose_delivery_stream_test.go index 730c0afa84d..6f8e83e7eac 100644 --- a/aws/resource_aws_kinesis_firehose_delivery_stream_test.go +++ b/aws/resource_aws_kinesis_firehose_delivery_stream_test.go @@ -995,7 +995,7 @@ var testAccKinesisFirehoseDeliveryStreamBaseElasticsearchConfig = testAccKinesis resource "aws_elasticsearch_domain" "test_cluster" { domain_name = "es-test-%d" cluster_config { - instance_type = "r3.large.elasticsearch" + instance_type = "m3.medium.elasticsearch" } access_policies = < 0 { + + log.Printf("[DEBUG] Setting Concurrency to %d for the Lambda Function %s", reservedConcurrentExecutions, functionName) + + concurrencyParams := &lambda.PutFunctionConcurrencyInput{ + FunctionName: aws.String(functionName), + ReservedConcurrentExecutions: aws.Int64(int64(reservedConcurrentExecutions)), + } + + _, err := conn.PutFunctionConcurrency(concurrencyParams) + if err != nil { + return fmt.Errorf("Error setting concurrency for Lambda %s: %s", functionName, err) + } + } + d.SetId(d.Get("function_name").(string)) return resourceAwsLambdaFunctionRead(d, meta) @@ -453,6 +473,12 @@ func resourceAwsLambdaFunctionRead(d *schema.ResourceData, meta interface{}) err d.Set("invoke_arn", buildLambdaInvokeArn(*function.FunctionArn, meta.(*AWSClient).region)) + if getFunctionOutput.Concurrency != nil { + d.Set("reserved_concurrent_executions", getFunctionOutput.Concurrency.ReservedConcurrentExecutions) + } else { + d.Set("reserved_concurrent_executions", nil) + } + return nil } @@ -667,6 +693,34 @@ func resourceAwsLambdaFunctionUpdate(d *schema.ResourceData, meta interface{}) e d.SetPartial("s3_object_version") } + if d.HasChange("reserved_concurrent_executions") { + nc := d.Get("reserved_concurrent_executions") + + if nc.(int) > 0 { + log.Printf("[DEBUG] Updating Concurrency to %d for the Lambda Function %s", nc.(int), d.Id()) + + concurrencyParams := &lambda.PutFunctionConcurrencyInput{ + FunctionName: aws.String(d.Id()), + ReservedConcurrentExecutions: aws.Int64(int64(d.Get("reserved_concurrent_executions").(int))), + } + + _, err := conn.PutFunctionConcurrency(concurrencyParams) + if err != nil { + return fmt.Errorf("Error setting concurrency for Lambda %s: %s", d.Id(), err) + } + } else { + log.Printf("[DEBUG] Removing Concurrency for the Lambda Function %s", d.Id()) + + deleteConcurrencyParams := &lambda.DeleteFunctionConcurrencyInput{ + FunctionName: aws.String(d.Id()), + } + _, err := conn.DeleteFunctionConcurrency(deleteConcurrencyParams) + if err != nil { + return fmt.Errorf("Error setting concurrency for Lambda %s: %s", d.Id(), err) + } + } + } + d.Partial(false) return resourceAwsLambdaFunctionRead(d, meta) diff --git a/aws/resource_aws_lambda_function_test.go b/aws/resource_aws_lambda_function_test.go index d8e01be6911..a28db1a0d52 100644 --- a/aws/resource_aws_lambda_function_test.go +++ b/aws/resource_aws_lambda_function_test.go @@ -34,6 +34,82 @@ func TestAccAWSLambdaFunction_basic(t *testing.T) { testAccCheckAwsLambdaFunctionExists("aws_lambda_function.lambda_function_test", rName, &conf), testAccCheckAwsLambdaFunctionName(&conf, rName), testAccCheckAwsLambdaFunctionArnHasSuffix(&conf, ":"+rName), + resource.TestCheckResourceAttr("aws_lambda_function.lambda_function_test", "reserved_concurrent_executions", "0"), + ), + }, + }, + }) +} + +func TestAccAWSLambdaFunction_concurrency(t *testing.T) { + var conf lambda.GetFunctionOutput + + rSt := acctest.RandString(5) + rName := fmt.Sprintf("tf_test_%s", rSt) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckLambdaFunctionDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSLambdaConfigBasicConcurrency(rName, rSt), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsLambdaFunctionExists("aws_lambda_function.lambda_function_test", rName, &conf), + testAccCheckAwsLambdaFunctionName(&conf, rName), + testAccCheckAwsLambdaFunctionArnHasSuffix(&conf, ":"+rName), + resource.TestCheckResourceAttr("aws_lambda_function.lambda_function_test", "reserved_concurrent_executions", "111"), + ), + }, + { + Config: testAccAWSLambdaConfigConcurrencyUpdate(rName, rSt), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsLambdaFunctionExists("aws_lambda_function.lambda_function_test", rName, &conf), + testAccCheckAwsLambdaFunctionName(&conf, rName), + testAccCheckAwsLambdaFunctionArnHasSuffix(&conf, ":"+rName), + resource.TestCheckResourceAttr("aws_lambda_function.lambda_function_test", "reserved_concurrent_executions", "222"), + ), + }, + }, + }) +} + +func TestAccAWSLambdaFunction_concurrencyCycle(t *testing.T) { + var conf lambda.GetFunctionOutput + + rSt := acctest.RandString(5) + rName := fmt.Sprintf("tf_test_%s", rSt) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckLambdaFunctionDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSLambdaConfigBasic(rName, rSt), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsLambdaFunctionExists("aws_lambda_function.lambda_function_test", rName, &conf), + testAccCheckAwsLambdaFunctionName(&conf, rName), + testAccCheckAwsLambdaFunctionArnHasSuffix(&conf, ":"+rName), + resource.TestCheckResourceAttr("aws_lambda_function.lambda_function_test", "reserved_concurrent_executions", "0"), + ), + }, + { + Config: testAccAWSLambdaConfigConcurrencyUpdate(rName, rSt), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsLambdaFunctionExists("aws_lambda_function.lambda_function_test", rName, &conf), + testAccCheckAwsLambdaFunctionName(&conf, rName), + testAccCheckAwsLambdaFunctionArnHasSuffix(&conf, ":"+rName), + resource.TestCheckResourceAttr("aws_lambda_function.lambda_function_test", "reserved_concurrent_executions", "222"), + ), + }, + { + Config: testAccAWSLambdaConfigBasic(rName, rSt), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsLambdaFunctionExists("aws_lambda_function.lambda_function_test", rName, &conf), + testAccCheckAwsLambdaFunctionName(&conf, rName), + testAccCheckAwsLambdaFunctionArnHasSuffix(&conf, ":"+rName), + resource.TestCheckResourceAttr("aws_lambda_function.lambda_function_test", "reserved_concurrent_executions", "0"), ), }, }, @@ -1069,6 +1145,32 @@ resource "aws_lambda_function" "lambda_function_test" { `, rName) } +func testAccAWSLambdaConfigBasicConcurrency(rName, rSt string) string { + return fmt.Sprintf(baseAccAWSLambdaConfig(rSt)+` +resource "aws_lambda_function" "lambda_function_test" { + filename = "test-fixtures/lambdatest.zip" + function_name = "%s" + role = "${aws_iam_role.iam_for_lambda.arn}" + handler = "exports.example" + runtime = "nodejs4.3" + reserved_concurrent_executions = 111 +} +`, rName) +} + +func testAccAWSLambdaConfigConcurrencyUpdate(rName, rSt string) string { + return fmt.Sprintf(baseAccAWSLambdaConfig(rSt)+` +resource "aws_lambda_function" "lambda_function_test" { + filename = "test-fixtures/lambdatest.zip" + function_name = "%s" + role = "${aws_iam_role.iam_for_lambda.arn}" + handler = "exports.example" + runtime = "nodejs4.3" + reserved_concurrent_executions = 222 +} +`, rName) +} + func testAccAWSLambdaConfigBasicUpdateRuntime(rName, rSt string) string { return fmt.Sprintf(baseAccAWSLambdaConfig(rSt)+` resource "aws_lambda_function" "lambda_function_test" { diff --git a/aws/resource_aws_lb.go b/aws/resource_aws_lb.go index 63084d5299a..a60901774ee 100644 --- a/aws/resource_aws_lb.go +++ b/aws/resource_aws_lb.go @@ -24,6 +24,8 @@ func resourceAwsLb() *schema.Resource { Read: resoureAwsLbRead, Update: resourceAwsLbUpdate, Delete: resourceAwsLbDelete, + // Subnets are ForceNew for Network Load Balancers + CustomizeDiff: customizeDiffNLBSubnets, Importer: &schema.ResourceImporter{ State: schema.ImportStatePassthrough, }, @@ -52,6 +54,16 @@ func resourceAwsLb() *schema.Resource { ForceNew: true, ConflictsWith: []string{"name_prefix"}, ValidateFunc: validateElbName, + // This is to work around an unexpected schema behaviour returning diff + // for an empty field when it has a pre-computed value from previous run + // (e.g. from name_prefix) + // TODO: Revisit after we find the real root cause + DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool { + if new == "" { + return true + } + return false + }, }, "name_prefix": { @@ -387,7 +399,11 @@ func resourceAwsLbUpdate(d *schema.ResourceData, meta interface{}) error { } - if d.HasChange("subnets") { + // subnets are assigned at Create; the 'change' here is an empty map for old + // and current subnets for new, so this change is redundant when the + // resource is just created, so we don't attempt if it is a newly created + // resource. + if d.HasChange("subnets") && !d.IsNewResource() { subnets := expandStringList(d.Get("subnets").(*schema.Set).List()) params := &elbv2.SetSubnetsInput{ @@ -687,3 +703,50 @@ func flattenAwsLbResource(d *schema.ResourceData, meta interface{}, lb *elbv2.Lo return nil } + +// Load balancers of type 'network' cannot have their subnets updated at +// this time. If the type is 'network' and subnets have changed, mark the +// diff as a ForceNew operation +func customizeDiffNLBSubnets(diff *schema.ResourceDiff, v interface{}) error { + // The current criteria for determining if the operation should be ForceNew: + // - lb of type "network" + // - existing resource (id is not "") + // - there are actual changes to be made in the subnets + // + // Any other combination should be treated as normal. At this time, subnet + // handling is the only known difference between Network Load Balancers and + // Application Load Balancers, so the logic below is simple individual checks. + // If other differences arise we'll want to refactor to check other + // conditions in combinations, but for now all we handle is subnets + lbType := diff.Get("load_balancer_type").(string) + if "network" != lbType { + return nil + } + + if "" == diff.Id() { + return nil + } + + o, n := diff.GetChange("subnets") + if o == nil { + o = new(schema.Set) + } + if n == nil { + n = new(schema.Set) + } + os := o.(*schema.Set) + ns := n.(*schema.Set) + remove := os.Difference(ns).List() + add := ns.Difference(os).List() + delta := len(remove) > 0 || len(add) > 0 + if delta { + if err := diff.SetNew("subnets", n); err != nil { + return err + } + + if err := diff.ForceNew("subnets"); err != nil { + return err + } + } + return nil +} diff --git a/aws/resource_aws_lb_target_group.go b/aws/resource_aws_lb_target_group.go index b5317ad753b..21826891d42 100644 --- a/aws/resource_aws_lb_target_group.go +++ b/aws/resource_aws_lb_target_group.go @@ -18,6 +18,9 @@ import ( func resourceAwsLbTargetGroup() *schema.Resource { return &schema.Resource{ + // NLBs have restrictions on them at this time + CustomizeDiff: resourceAwsLbTargetGroupCustomizeDiff, + Create: resourceAwsLbTargetGroupCreate, Read: resourceAwsLbTargetGroupRead, Update: resourceAwsLbTargetGroupUpdate, @@ -129,6 +132,7 @@ func resourceAwsLbTargetGroup() *schema.Resource { "path": { Type: schema.TypeString, Optional: true, + Computed: true, ValidateFunc: validateAwsLbTargetGroupHealthCheckPath, }, @@ -152,7 +156,7 @@ func resourceAwsLbTargetGroup() *schema.Resource { "timeout": { Type: schema.TypeInt, Optional: true, - Default: 10, + Computed: true, ValidateFunc: validateAwsLbTargetGroupHealthCheckTimeout, }, @@ -165,6 +169,7 @@ func resourceAwsLbTargetGroup() *schema.Resource { "matcher": { Type: schema.TypeString, + Computed: true, Optional: true, }, @@ -210,14 +215,24 @@ func resourceAwsLbTargetGroupCreate(d *schema.ResourceData, meta interface{}) er params.HealthCheckPort = aws.String(healthCheck["port"].(string)) params.HealthCheckProtocol = aws.String(healthCheck["protocol"].(string)) params.HealthyThresholdCount = aws.Int64(int64(healthCheck["healthy_threshold"].(int))) + params.UnhealthyThresholdCount = aws.Int64(int64(healthCheck["unhealthy_threshold"].(int))) + t := healthCheck["timeout"].(int) + if t != 0 { + params.HealthCheckTimeoutSeconds = aws.Int64(int64(t)) + } + + if *params.HealthCheckProtocol != "TCP" { + p := healthCheck["path"].(string) + if p != "" { + params.HealthCheckPath = aws.String(p) + } - if *params.Protocol != "TCP" { - params.HealthCheckTimeoutSeconds = aws.Int64(int64(healthCheck["timeout"].(int))) - params.HealthCheckPath = aws.String(healthCheck["path"].(string)) - params.Matcher = &elbv2.Matcher{ - HttpCode: aws.String(healthCheck["matcher"].(string)), + m := healthCheck["matcher"].(string) + if m != "" { + params.Matcher = &elbv2.Matcher{ + HttpCode: aws.String(m), + } } - params.UnhealthyThresholdCount = aws.Int64(int64(healthCheck["unhealthy_threshold"].(int))) } } @@ -266,39 +281,43 @@ func resourceAwsLbTargetGroupUpdate(d *schema.ResourceData, meta interface{}) er } if d.HasChange("health_check") { - healthChecks := d.Get("health_check").([]interface{}) - var params *elbv2.ModifyTargetGroupInput + healthChecks := d.Get("health_check").([]interface{}) if len(healthChecks) == 1 { + params = &elbv2.ModifyTargetGroupInput{ + TargetGroupArn: aws.String(d.Id()), + } healthCheck := healthChecks[0].(map[string]interface{}) params = &elbv2.ModifyTargetGroupInput{ - TargetGroupArn: aws.String(d.Id()), - HealthCheckPort: aws.String(healthCheck["port"].(string)), - HealthCheckProtocol: aws.String(healthCheck["protocol"].(string)), - HealthyThresholdCount: aws.Int64(int64(healthCheck["healthy_threshold"].(int))), + TargetGroupArn: aws.String(d.Id()), + HealthCheckPort: aws.String(healthCheck["port"].(string)), + HealthCheckProtocol: aws.String(healthCheck["protocol"].(string)), + HealthyThresholdCount: aws.Int64(int64(healthCheck["healthy_threshold"].(int))), + UnhealthyThresholdCount: aws.Int64(int64(healthCheck["unhealthy_threshold"].(int))), + } + + t := healthCheck["timeout"].(int) + if t != 0 { + params.HealthCheckTimeoutSeconds = aws.Int64(int64(t)) } healthCheckProtocol := strings.ToLower(healthCheck["protocol"].(string)) - if healthCheckProtocol != "tcp" { + if healthCheckProtocol != "tcp" && !d.IsNewResource() { params.Matcher = &elbv2.Matcher{ HttpCode: aws.String(healthCheck["matcher"].(string)), } params.HealthCheckPath = aws.String(healthCheck["path"].(string)) params.HealthCheckIntervalSeconds = aws.Int64(int64(healthCheck["interval"].(int))) - params.UnhealthyThresholdCount = aws.Int64(int64(healthCheck["unhealthy_threshold"].(int))) - params.HealthCheckTimeoutSeconds = aws.Int64(int64(healthCheck["timeout"].(int))) - } - } else { - params = &elbv2.ModifyTargetGroupInput{ - TargetGroupArn: aws.String(d.Id()), } } - _, err := elbconn.ModifyTargetGroup(params) - if err != nil { - return errwrap.Wrapf("Error modifying Target Group: {{err}}", err) + if params != nil { + _, err := elbconn.ModifyTargetGroup(params) + if err != nil { + return errwrap.Wrapf("Error modifying Target Group: {{err}}", err) + } } } @@ -544,7 +563,11 @@ func flattenAwsLbTargetGroupResource(d *schema.ResourceData, meta interface{}, t } } - if err := d.Set("stickiness", []interface{}{stickinessMap}); err != nil { + setStickyMap := []interface{}{} + if len(stickinessMap) > 0 { + setStickyMap = []interface{}{stickinessMap} + } + if err := d.Set("stickiness", setStickyMap); err != nil { return err } @@ -564,3 +587,57 @@ func flattenAwsLbTargetGroupResource(d *schema.ResourceData, meta interface{}, t return nil } + +func resourceAwsLbTargetGroupCustomizeDiff(diff *schema.ResourceDiff, v interface{}) error { + protocol := diff.Get("protocol").(string) + if protocol == "TCP" { + // TCP load balancers do not support stickiness + stickinessBlocks := diff.Get("stickiness").([]interface{}) + if len(stickinessBlocks) != 0 { + return fmt.Errorf("Network Load Balancers do not support Stickiness") + } + // Network Load Balancers have many special qwirks to them. + // See http://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_CreateTargetGroup.html + if healthChecks := diff.Get("health_check").([]interface{}); len(healthChecks) == 1 { + healthCheck := healthChecks[0].(map[string]interface{}) + // Cannot set custom matcher on TCP health checks + if m := healthCheck["matcher"].(string); m != "" { + return fmt.Errorf("%s: custom matcher is not supported for target_groups with TCP protocol", diff.Id()) + } + // Cannot set custom path on TCP health checks + if m := healthCheck["path"].(string); m != "" { + return fmt.Errorf("%s: custom path is not supported for target_groups with TCP protocol", diff.Id()) + } + // Cannot set custom timeout on TCP health checks + if t := healthCheck["timeout"].(int); t != 0 && diff.Id() == "" { + // timeout has a default value, so only check this if this is a network + // LB and is a first run + return fmt.Errorf("%s: custom timeout is not supported for target_groups with TCP protocol", diff.Id()) + } + } + } + + if strings.Contains(protocol, "HTTP") { + if healthChecks := diff.Get("health_check").([]interface{}); len(healthChecks) == 1 { + healthCheck := healthChecks[0].(map[string]interface{}) + // HTTP(S) Target Groups cannot use TCP health checks + if p := healthCheck["protocol"].(string); strings.ToLower(p) == "tcp" { + return fmt.Errorf("HTTP Target Groups cannot use TCP health checks") + } + } + } + + if diff.Id() == "" { + return nil + } + + if protocol == "TCP" { + if diff.HasChange("health_check.0.interval") { + old, new := diff.GetChange("health_check.0.interval") + return fmt.Errorf("Health check interval cannot be updated from %d to %d for TCP based Target Group %s,"+ + " use 'terraform taint' to recreate the resource if you wish", + old, new, diff.Id()) + } + } + return nil +} diff --git a/aws/resource_aws_lb_target_group_test.go b/aws/resource_aws_lb_target_group_test.go index 556dbadfdac..5a563cc56c9 100644 --- a/aws/resource_aws_lb_target_group_test.go +++ b/aws/resource_aws_lb_target_group_test.go @@ -87,7 +87,7 @@ func TestAccAWSLBTargetGroup_basic(t *testing.T) { } func TestAccAWSLBTargetGroup_networkLB_TargetGroup(t *testing.T) { - var conf elbv2.TargetGroup + var confBefore, confAfter elbv2.TargetGroup targetGroupName := fmt.Sprintf("test-target-group-%s", acctest.RandStringFromCharSet(10, acctest.CharSetAlphaNum)) resource.Test(t, resource.TestCase{ @@ -99,7 +99,7 @@ func TestAccAWSLBTargetGroup_networkLB_TargetGroup(t *testing.T) { { Config: testAccAWSLBTargetGroupConfig_typeTCP(targetGroupName), Check: resource.ComposeAggregateTestCheckFunc( - testAccCheckAWSLBTargetGroupExists("aws_lb_target_group.test", &conf), + testAccCheckAWSLBTargetGroupExists("aws_lb_target_group.test", &confBefore), resource.TestCheckResourceAttrSet("aws_lb_target_group.test", "arn"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "name", targetGroupName), resource.TestCheckResourceAttr("aws_lb_target_group.test", "port", "8082"), @@ -107,16 +107,51 @@ func TestAccAWSLBTargetGroup_networkLB_TargetGroup(t *testing.T) { resource.TestCheckResourceAttrSet("aws_lb_target_group.test", "vpc_id"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "deregistration_delay", "200"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.#", "1"), - resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.interval", "30"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.interval", "10"), + testAccCheckAWSLBTargetGroupHealthCheckInterval(&confBefore, 10), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.port", "traffic-port"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.protocol", "TCP"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.timeout", "10"), + testAccCheckAWSLBTargetGroupHealthCheckTimeout(&confBefore, 10), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.healthy_threshold", "3"), + testAccCheckAWSLBTargetGroupHealthyThreshold(&confBefore, 3), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.unhealthy_threshold", "3"), + testAccCheckAWSLBTargetGroupUnhealthyThreshold(&confBefore, 3), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "tags.%", "1"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "tags.Name", "TestAcc_networkLB_TargetGroup"), + ), + }, + { + Config: testAccAWSLBTargetGroupConfig_typeTCPThresholdUpdated(targetGroupName), + Check: resource.ComposeAggregateTestCheckFunc( + testAccCheckAWSLBTargetGroupExists("aws_lb_target_group.test", &confAfter), + resource.TestCheckResourceAttrSet("aws_lb_target_group.test", "arn"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "name", targetGroupName), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "port", "8082"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "protocol", "TCP"), + resource.TestCheckResourceAttrSet("aws_lb_target_group.test", "vpc_id"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "deregistration_delay", "200"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.#", "1"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.interval", "10"), + testAccCheckAWSLBTargetGroupHealthCheckInterval(&confAfter, 10), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.port", "traffic-port"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.protocol", "TCP"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.timeout", "10"), + testAccCheckAWSLBTargetGroupHealthCheckTimeout(&confBefore, 10), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.healthy_threshold", "5"), + testAccCheckAWSLBTargetGroupHealthyThreshold(&confAfter, 5), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.unhealthy_threshold", "5"), + testAccCheckAWSLBTargetGroupUnhealthyThreshold(&confAfter, 5), resource.TestCheckResourceAttr("aws_lb_target_group.test", "tags.%", "1"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "tags.Name", "TestAcc_networkLB_TargetGroup"), ), }, + { + Config: testAccAWSLBTargetGroupConfig_typeTCPIntervalUpdated(targetGroupName), + + ExpectNonEmptyPlan: true, + ExpectError: regexp.MustCompile("Health check interval cannot be updated"), + }, }, }) } @@ -369,11 +404,14 @@ func TestAccAWSLBTargetGroup_updateHealthCheck(t *testing.T) { resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.#", "1"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.path", "/health"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.interval", "60"), + testAccCheckAWSLBTargetGroupHealthCheckInterval(&conf, 60), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.port", "8081"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.protocol", "HTTP"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.timeout", "3"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.healthy_threshold", "3"), + testAccCheckAWSLBTargetGroupHealthyThreshold(&conf, 3), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.unhealthy_threshold", "3"), + testAccCheckAWSLBTargetGroupUnhealthyThreshold(&conf, 3), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.matcher", "200-299"), ), }, @@ -393,11 +431,14 @@ func TestAccAWSLBTargetGroup_updateHealthCheck(t *testing.T) { resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.#", "1"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.path", "/health2"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.interval", "30"), + testAccCheckAWSLBTargetGroupHealthCheckInterval(&conf, 30), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.port", "8082"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.protocol", "HTTPS"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.timeout", "4"), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.healthy_threshold", "4"), + testAccCheckAWSLBTargetGroupHealthyThreshold(&conf, 4), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.unhealthy_threshold", "4"), + testAccCheckAWSLBTargetGroupUnhealthyThreshold(&conf, 4), resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.matcher", "200"), ), }, @@ -490,6 +531,111 @@ func TestAccAWSLBTargetGroup_updateSticknessEnabled(t *testing.T) { }) } +func TestAccAWSLBTargetGroup_defaults_application(t *testing.T) { + var conf elbv2.TargetGroup + targetGroupName := fmt.Sprintf("test-target-group-%s", acctest.RandStringFromCharSet(10, acctest.CharSetAlphaNum)) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + IDRefreshName: "aws_lb_target_group.test", + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSLBTargetGroupDestroy, + Steps: []resource.TestStep{ + { + Config: testAccALB_defaults(targetGroupName), + Check: resource.ComposeAggregateTestCheckFunc( + testAccCheckAWSLBTargetGroupExists("aws_lb_target_group.test", &conf), + resource.TestCheckResourceAttrSet("aws_lb_target_group.test", "arn"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "name", targetGroupName), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "port", "443"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "protocol", "HTTP"), + resource.TestCheckResourceAttrSet("aws_lb_target_group.test", "vpc_id"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "deregistration_delay", "200"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.#", "1"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.interval", "10"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.port", "8081"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.protocol", "HTTP"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.timeout", "5"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.healthy_threshold", "3"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.unhealthy_threshold", "3"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "tags.%", "1"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "tags.Name", "TestAccAWSLBTargetGroup_application_LB_defaults"), + ), + }, + }, + }) +} + +func TestAccAWSLBTargetGroup_defaults_network(t *testing.T) { + var conf elbv2.TargetGroup + targetGroupName := fmt.Sprintf("test-target-group-%s", acctest.RandStringFromCharSet(10, acctest.CharSetAlphaNum)) + healthCheckInvalid1 := ` + path = "/health" + interval = 10 + port = 8081 + protocol = "TCP" + ` + healthCheckInvalid2 := ` + interval = 10 + port = 8081 + protocol = "TCP" + matcher = "200" + ` + healthCheckInvalid3 := ` + interval = 10 + port = 8081 + protocol = "TCP" + timeout = 4 + ` + healthCheckValid := ` + interval = 10 + port = 8081 + protocol = "TCP" + ` + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + IDRefreshName: "aws_lb_target_group.test", + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSLBTargetGroupDestroy, + Steps: []resource.TestStep{ + { + Config: testAccNLB_defaults(targetGroupName, healthCheckInvalid1), + ExpectError: regexp.MustCompile("custom path is not supported for target_groups with TCP protocol"), + }, + { + Config: testAccNLB_defaults(targetGroupName, healthCheckInvalid2), + ExpectError: regexp.MustCompile("custom matcher is not supported for target_groups with TCP protocol"), + }, + { + Config: testAccNLB_defaults(targetGroupName, healthCheckInvalid3), + ExpectError: regexp.MustCompile("custom timeout is not supported for target_groups with TCP protocol"), + }, + { + Config: testAccNLB_defaults(targetGroupName, healthCheckValid), + Check: resource.ComposeAggregateTestCheckFunc( + testAccCheckAWSLBTargetGroupExists("aws_lb_target_group.test", &conf), + resource.TestCheckResourceAttrSet("aws_lb_target_group.test", "arn"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "name", targetGroupName), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "port", "443"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "protocol", "TCP"), + resource.TestCheckResourceAttrSet("aws_lb_target_group.test", "vpc_id"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "deregistration_delay", "200"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.#", "1"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.interval", "10"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.port", "8081"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.protocol", "TCP"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.timeout", "10"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.healthy_threshold", "3"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "health_check.0.unhealthy_threshold", "3"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "tags.%", "1"), + resource.TestCheckResourceAttr("aws_lb_target_group.test", "tags.Name", "TestAccAWSLBTargetGroup_application_LB_defaults"), + ), + }, + }, + }) +} + func testAccCheckAWSLBTargetGroupExists(n string, res *elbv2.TargetGroup) resource.TestCheckFunc { return func(s *terraform.State) error { rs, ok := s.RootModule().Resources[n] @@ -521,6 +667,62 @@ func testAccCheckAWSLBTargetGroupExists(n string, res *elbv2.TargetGroup) resour } } +func testAccCheckAWSLBTargetGroupHealthCheckInterval(res *elbv2.TargetGroup, expected int64) resource.TestCheckFunc { + return func(s *terraform.State) error { + if res.HealthCheckIntervalSeconds == nil { + return fmt.Errorf("Expected HealthCheckIntervalSeconds to be %d, given: %#v", + expected, res.HealthCheckIntervalSeconds) + } + if *res.HealthCheckIntervalSeconds != expected { + return fmt.Errorf("Expected HealthCheckIntervalSeconds to be %d, given: %d", + expected, *res.HealthCheckIntervalSeconds) + } + return nil + } +} + +func testAccCheckAWSLBTargetGroupHealthCheckTimeout(res *elbv2.TargetGroup, expected int64) resource.TestCheckFunc { + return func(s *terraform.State) error { + if res.HealthCheckTimeoutSeconds == nil { + return fmt.Errorf("Expected HealthCheckTimeoutSeconds to be %d, given: %#v", + expected, res.HealthCheckTimeoutSeconds) + } + if *res.HealthCheckTimeoutSeconds != expected { + return fmt.Errorf("Expected HealthCheckTimeoutSeconds to be %d, given: %d", + expected, *res.HealthCheckTimeoutSeconds) + } + return nil + } +} + +func testAccCheckAWSLBTargetGroupHealthyThreshold(res *elbv2.TargetGroup, expected int64) resource.TestCheckFunc { + return func(s *terraform.State) error { + if res.HealthyThresholdCount == nil { + return fmt.Errorf("Expected HealthyThresholdCount to be %d, given: %#v", + expected, res.HealthyThresholdCount) + } + if *res.HealthyThresholdCount != expected { + return fmt.Errorf("Expected HealthyThresholdCount to be %d, given: %d", + expected, *res.HealthyThresholdCount) + } + return nil + } +} + +func testAccCheckAWSLBTargetGroupUnhealthyThreshold(res *elbv2.TargetGroup, expected int64) resource.TestCheckFunc { + return func(s *terraform.State) error { + if res.UnhealthyThresholdCount == nil { + return fmt.Errorf("Expected.UnhealthyThresholdCount to be %d, given: %#v", + expected, res.UnhealthyThresholdCount) + } + if *res.UnhealthyThresholdCount != expected { + return fmt.Errorf("Expected.UnhealthyThresholdCount to be %d, given: %d", + expected, *res.UnhealthyThresholdCount) + } + return nil + } +} + func testAccCheckAWSLBTargetGroupDestroy(s *terraform.State) error { conn := testAccProvider.Meta().(*AWSClient).elbv2conn @@ -551,6 +753,71 @@ func testAccCheckAWSLBTargetGroupDestroy(s *terraform.State) error { return nil } +func testAccALB_defaults(name string) string { + return fmt.Sprintf(` +resource "aws_lb_target_group" "test" { + name = "%s" + port = 443 + protocol = "HTTP" + vpc_id = "${aws_vpc.test.id}" + + deregistration_delay = 200 + + # HTTP Only + stickiness { + type = "lb_cookie" + cookie_duration = 10000 + } + + health_check { + interval = 10 + port = 8081 + protocol = "HTTP" + healthy_threshold = 3 + unhealthy_threshold = 3 + } + tags { + Name = "TestAccAWSLBTargetGroup_application_LB_defaults" + } +} + +resource "aws_vpc" "test" { + cidr_block = "10.0.0.0/16" + + tags { + Name = "TestAccAWSLBTargetGroup_application_LB_defaults" + } +}`, name) +} + +func testAccNLB_defaults(name, healthCheckBlock string) string { + return fmt.Sprintf(` +resource "aws_lb_target_group" "test" { + name = "%s" + port = 443 + protocol = "TCP" + vpc_id = "${aws_vpc.test.id}" + + deregistration_delay = 200 + + health_check { + %s + } + + tags { + Name = "TestAccAWSLBTargetGroup_application_LB_defaults" + } +} + +resource "aws_vpc" "test" { + cidr_block = "10.0.0.0/16" + + tags { + Name = "TestAccAWSLBTargetGroup_application_LB_defaults" + } +}`, name, healthCheckBlock) +} + func testAccAWSLBTargetGroupConfig_basic(targetGroupName string) string { return fmt.Sprintf(`resource "aws_lb_target_group" "test" { name = "%s" @@ -839,10 +1106,9 @@ func testAccAWSLBTargetGroupConfig_typeTCP(targetGroupName string) string { deregistration_delay = 200 health_check { - interval = 30 + interval = 10 port = "traffic-port" protocol = "TCP" - timeout = 10 healthy_threshold = 3 unhealthy_threshold = 3 } @@ -861,6 +1127,68 @@ resource "aws_vpc" "test" { }`, targetGroupName) } +func testAccAWSLBTargetGroupConfig_typeTCPThresholdUpdated(targetGroupName string) string { + return fmt.Sprintf(`resource "aws_lb_target_group" "test" { + name = "%s" + port = 8082 + protocol = "TCP" + vpc_id = "${aws_vpc.test.id}" + + deregistration_delay = 200 + + health_check { + interval = 10 + port = "traffic-port" + protocol = "TCP" + healthy_threshold = 5 + unhealthy_threshold = 5 + } + + tags { + Name = "TestAcc_networkLB_TargetGroup" + } +} + +resource "aws_vpc" "test" { + cidr_block = "10.0.0.0/16" + + tags { + Name = "TestAcc_networkLB_TargetGroup" + } +}`, targetGroupName) +} + +func testAccAWSLBTargetGroupConfig_typeTCPIntervalUpdated(targetGroupName string) string { + return fmt.Sprintf(`resource "aws_lb_target_group" "test" { + name = "%s" + port = 8082 + protocol = "TCP" + vpc_id = "${aws_vpc.test.id}" + + deregistration_delay = 200 + + health_check { + interval = 30 + port = "traffic-port" + protocol = "TCP" + healthy_threshold = 5 + unhealthy_threshold = 5 + } + + tags { + Name = "TestAcc_networkLB_TargetGroup" + } +} + +resource "aws_vpc" "test" { + cidr_block = "10.0.0.0/16" + + tags { + Name = "TestAcc_networkLB_TargetGroup" + } +}`, targetGroupName) +} + func testAccAWSLBTargetGroupConfig_stickiness(targetGroupName string, addStickinessBlock bool, enabled bool) string { var stickinessBlock string diff --git a/aws/resource_aws_lb_test.go b/aws/resource_aws_lb_test.go index 68d7cacbe03..18d4e13e30e 100644 --- a/aws/resource_aws_lb_test.go +++ b/aws/resource_aws_lb_test.go @@ -458,6 +458,31 @@ func TestAccAWSLB_accesslogs(t *testing.T) { }) } +func TestAccAWSLB_networkLoadbalancer_subnet_change(t *testing.T) { + var conf elbv2.LoadBalancer + lbName := fmt.Sprintf("testaccawslb-basic-%s", acctest.RandStringFromCharSet(10, acctest.CharSetAlphaNum)) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + IDRefreshName: "aws_lb.lb_test", + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSLBDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSLBConfig_networkLoadbalancer_subnets(lbName), + Check: resource.ComposeAggregateTestCheckFunc( + testAccCheckAWSLBExists("aws_lb.lb_test", &conf), + resource.TestCheckResourceAttr("aws_lb.lb_test", "name", lbName), + resource.TestCheckResourceAttr("aws_lb.lb_test", "internal", "true"), + resource.TestCheckResourceAttr("aws_lb.lb_test", "tags.%", "1"), + resource.TestCheckResourceAttr("aws_lb.lb_test", "tags.Name", "testAccAWSLBConfig_networkLoadbalancer_subnets"), + resource.TestCheckResourceAttr("aws_lb.lb_test", "load_balancer_type", "network"), + ), + }, + }, + }) +} + func testAccCheckAWSlbARNs(pre, post *elbv2.LoadBalancer) resource.TestCheckFunc { return func(s *terraform.State) error { if *pre.LoadBalancerArn != *post.LoadBalancerArn { @@ -818,6 +843,65 @@ resource "aws_security_group" "alb_test" { }`, lbName) } +func testAccAWSLBConfig_networkLoadbalancer_subnets(lbName string) string { + return fmt.Sprintf(`resource "aws_vpc" "alb_test" { + cidr_block = "10.0.0.0/16" + + tags { + Name = "testAccAWSLBConfig_networkLoadbalancer_subnets" + } +} + +resource "aws_lb" "lb_test" { + name = "%s" + + subnets = [ + "${aws_subnet.alb_test_1.id}", + "${aws_subnet.alb_test_2.id}", + "${aws_subnet.alb_test_3.id}", + ] + + load_balancer_type = "network" + internal = true + idle_timeout = 60 + enable_deletion_protection = false + + tags { + Name = "testAccAWSLBConfig_networkLoadbalancer_subnets" + } +} + +resource "aws_subnet" "alb_test_1" { + vpc_id = "${aws_vpc.alb_test.id}" + cidr_block = "10.0.1.0/24" + availability_zone = "us-west-2a" + + tags { + Name = "testAccAWSLBConfig_networkLoadbalancer_subnets" + } +} + +resource "aws_subnet" "alb_test_2" { + vpc_id = "${aws_vpc.alb_test.id}" + cidr_block = "10.0.2.0/24" + availability_zone = "us-west-2b" + + tags { + Name = "testAccAWSLBConfig_networkLoadbalancer_subnets" + } +} + +resource "aws_subnet" "alb_test_3" { + vpc_id = "${aws_vpc.alb_test.id}" + cidr_block = "10.0.3.0/24" + availability_zone = "us-west-2c" + + tags { + Name = "testAccAWSLBConfig_networkLoadbalancer_subnets" + } +} +`, lbName) +} func testAccAWSLBConfig_networkLoadbalancer(lbName string) string { return fmt.Sprintf(`resource "aws_lb" "lb_test" { name = "%s" diff --git a/aws/resource_aws_media_store_container.go b/aws/resource_aws_media_store_container.go new file mode 100644 index 00000000000..7380dad1f81 --- /dev/null +++ b/aws/resource_aws_media_store_container.go @@ -0,0 +1,136 @@ +package aws + +import ( + "fmt" + "regexp" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/mediastore" + "github.com/hashicorp/terraform/helper/resource" + "github.com/hashicorp/terraform/helper/schema" +) + +func resourceAwsMediaStoreContainer() *schema.Resource { + return &schema.Resource{ + Create: resourceAwsMediaStoreContainerCreate, + Read: resourceAwsMediaStoreContainerRead, + Delete: resourceAwsMediaStoreContainerDelete, + + Schema: map[string]*schema.Schema{ + "name": &schema.Schema{ + Type: schema.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: func(v interface{}, k string) (ws []string, errors []error) { + value := v.(string) + if !regexp.MustCompile("^\\w+$").MatchString(value) { + errors = append(errors, fmt.Errorf("%q must contain alphanumeric characters or underscores", k)) + } + return + }, + }, + "arn": { + Type: schema.TypeString, + Computed: true, + }, + "endpoint": { + Type: schema.TypeString, + Computed: true, + }, + }, + } +} + +func resourceAwsMediaStoreContainerCreate(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).mediastoreconn + + input := &mediastore.CreateContainerInput{ + ContainerName: aws.String(d.Get("name").(string)), + } + + _, err := conn.CreateContainer(input) + if err != nil { + return err + } + stateConf := &resource.StateChangeConf{ + Pending: []string{mediastore.ContainerStatusCreating}, + Target: []string{mediastore.ContainerStatusActive}, + Refresh: mediaStoreContainerRefreshStatusFunc(conn, d.Get("name").(string)), + Timeout: 10 * time.Minute, + Delay: 10 * time.Second, + MinTimeout: 3 * time.Second, + } + + _, err = stateConf.WaitForState() + if err != nil { + return err + } + + d.SetId(d.Get("name").(string)) + return resourceAwsMediaStoreContainerRead(d, meta) +} + +func resourceAwsMediaStoreContainerRead(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).mediastoreconn + + input := &mediastore.DescribeContainerInput{ + ContainerName: aws.String(d.Id()), + } + resp, err := conn.DescribeContainer(input) + if err != nil { + return err + } + d.Set("arn", resp.Container.ARN) + d.Set("endpoint", resp.Container.Endpoint) + return nil +} + +func resourceAwsMediaStoreContainerDelete(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).mediastoreconn + + input := &mediastore.DeleteContainerInput{ + ContainerName: aws.String(d.Id()), + } + _, err := conn.DeleteContainer(input) + if err != nil { + if isAWSErr(err, mediastore.ErrCodeContainerNotFoundException, "") { + d.SetId("") + return nil + } + return err + } + + err = resource.Retry(5*time.Minute, func() *resource.RetryError { + dcinput := &mediastore.DescribeContainerInput{ + ContainerName: aws.String(d.Id()), + } + _, err := conn.DescribeContainer(dcinput) + if err != nil { + if isAWSErr(err, mediastore.ErrCodeContainerNotFoundException, "") { + return nil + } + return resource.NonRetryableError(err) + } + return resource.RetryableError(nil) + }) + if err != nil { + return err + } + + d.SetId("") + return nil +} + +func mediaStoreContainerRefreshStatusFunc(conn *mediastore.MediaStore, cn string) resource.StateRefreshFunc { + return func() (interface{}, string, error) { + input := &mediastore.DescribeContainerInput{ + ContainerName: aws.String(cn), + } + resp, err := conn.DescribeContainer(input) + if err != nil { + return nil, "failed", err + } + return resp, *resp.Container.Status, nil + } +} diff --git a/aws/resource_aws_media_store_container_test.go b/aws/resource_aws_media_store_container_test.go new file mode 100644 index 00000000000..033223bf676 --- /dev/null +++ b/aws/resource_aws_media_store_container_test.go @@ -0,0 +1,73 @@ +package aws + +import ( + "fmt" + "testing" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/mediastore" + "github.com/hashicorp/terraform/helper/acctest" + "github.com/hashicorp/terraform/helper/resource" + "github.com/hashicorp/terraform/terraform" +) + +func TestAccAwsMediaStoreContainer_basic(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAwsMediaStoreContainerDestroy, + Steps: []resource.TestStep{ + { + Config: testAccMediaStoreContainerConfig(acctest.RandString(5)), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsMediaStoreContainerExists("aws_media_store_container.test"), + ), + }, + }, + }) +} + +func testAccCheckAwsMediaStoreContainerDestroy(s *terraform.State) error { + conn := testAccProvider.Meta().(*AWSClient).mediastoreconn + + for _, rs := range s.RootModule().Resources { + if rs.Type != "aws_media_store_container" { + continue + } + + input := &mediastore.DescribeContainerInput{ + ContainerName: aws.String(rs.Primary.ID), + } + + resp, err := conn.DescribeContainer(input) + if err != nil { + if isAWSErr(err, mediastore.ErrCodeContainerNotFoundException, "") { + return nil + } + return err + } + + if *resp.Container.Status != mediastore.ContainerStatusDeleting { + return fmt.Errorf("Media Store Container (%s) not deleted", rs.Primary.ID) + } + } + return nil +} + +func testAccCheckAwsMediaStoreContainerExists(name string) resource.TestCheckFunc { + return func(s *terraform.State) error { + _, ok := s.RootModule().Resources[name] + if !ok { + return fmt.Errorf("Not found: %s", name) + } + + return nil + } +} + +func testAccMediaStoreContainerConfig(rName string) string { + return fmt.Sprintf(` +resource "aws_media_store_container" "test" { + name = "tf_mediastore_%s" +}`, rName) +} diff --git a/aws/resource_aws_mq_broker.go b/aws/resource_aws_mq_broker.go new file mode 100644 index 00000000000..3589a52b8bf --- /dev/null +++ b/aws/resource_aws_mq_broker.go @@ -0,0 +1,537 @@ +package aws + +import ( + "bytes" + "fmt" + "log" + "reflect" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/mq" + "github.com/hashicorp/terraform/helper/hashcode" + "github.com/hashicorp/terraform/helper/resource" + "github.com/hashicorp/terraform/helper/schema" + "github.com/mitchellh/copystructure" +) + +func resourceAwsMqBroker() *schema.Resource { + return &schema.Resource{ + Create: resourceAwsMqBrokerCreate, + Read: resourceAwsMqBrokerRead, + Update: resourceAwsMqBrokerUpdate, + Delete: resourceAwsMqBrokerDelete, + + Schema: map[string]*schema.Schema{ + "apply_immediately": { + Type: schema.TypeBool, + Optional: true, + Default: false, + }, + "auto_minor_version_upgrade": { + Type: schema.TypeBool, + Optional: true, + Default: false, + ForceNew: true, + }, + "broker_name": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + }, + "configuration": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "id": { + Type: schema.TypeString, + Optional: true, + Computed: true, + }, + "revision": { + Type: schema.TypeInt, + Optional: true, + Computed: true, + }, + }, + }, + }, + "deployment_mode": { + Type: schema.TypeString, + Optional: true, + Default: "SINGLE_INSTANCE", + ForceNew: true, + }, + "engine_type": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + }, + "engine_version": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + }, + "host_instance_type": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + }, + "maintenance_window_start_time": { + Type: schema.TypeList, + MaxItems: 1, + Optional: true, + Computed: true, + ForceNew: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "day_of_week": { + Type: schema.TypeString, + Required: true, + }, + "time_of_day": { + Type: schema.TypeString, + Required: true, + }, + "time_zone": { + Type: schema.TypeString, + Required: true, + }, + }, + }, + }, + "publicly_accessible": { + Type: schema.TypeBool, + Optional: true, + Default: false, + ForceNew: true, + }, + "security_groups": { + Type: schema.TypeSet, + Elem: &schema.Schema{Type: schema.TypeString}, + Required: true, + ForceNew: true, + }, + "subnet_ids": { + Type: schema.TypeSet, + Elem: &schema.Schema{Type: schema.TypeString}, + Optional: true, + Computed: true, + ForceNew: true, + }, + "user": { + Type: schema.TypeSet, + Required: true, + Set: resourceAwsMqUserHash, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "console_access": { + Type: schema.TypeBool, + Optional: true, + Default: false, + }, + "groups": { + Type: schema.TypeSet, + Elem: &schema.Schema{Type: schema.TypeString}, + Set: schema.HashString, + Optional: true, + }, + "password": { + Type: schema.TypeString, + Required: true, + Sensitive: true, + }, + "username": { + Type: schema.TypeString, + Required: true, + }, + }, + }, + }, + + "arn": { + Type: schema.TypeString, + Computed: true, + }, + "instances": { + Type: schema.TypeList, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "console_url": { + Type: schema.TypeString, + Computed: true, + }, + "endpoints": { + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{Type: schema.TypeString}, + }, + }, + }, + }, + }, + } +} + +func resourceAwsMqBrokerCreate(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).mqconn + + name := d.Get("broker_name").(string) + requestId := resource.PrefixedUniqueId(fmt.Sprintf("tf-%s", name)) + input := mq.CreateBrokerRequest{ + AutoMinorVersionUpgrade: aws.Bool(d.Get("auto_minor_version_upgrade").(bool)), + BrokerName: aws.String(name), + CreatorRequestId: aws.String(requestId), + EngineType: aws.String(d.Get("engine_type").(string)), + EngineVersion: aws.String(d.Get("engine_version").(string)), + HostInstanceType: aws.String(d.Get("host_instance_type").(string)), + PubliclyAccessible: aws.Bool(d.Get("publicly_accessible").(bool)), + SecurityGroups: expandStringSet(d.Get("security_groups").(*schema.Set)), + Users: expandMqUsers(d.Get("user").(*schema.Set).List()), + } + + if v, ok := d.GetOk("configuration"); ok { + input.Configuration = expandMqConfigurationId(v.([]interface{})) + } + if v, ok := d.GetOk("deployment_mode"); ok { + input.DeploymentMode = aws.String(v.(string)) + } + if v, ok := d.GetOk("maintenance_window_start_time"); ok { + input.MaintenanceWindowStartTime = expandMqWeeklyStartTime(v.([]interface{})) + } + if v, ok := d.GetOk("subnet_ids"); ok { + input.SubnetIds = expandStringList(v.(*schema.Set).List()) + } + + log.Printf("[INFO] Creating MQ Broker: %s", input) + out, err := conn.CreateBroker(&input) + if err != nil { + return err + } + + d.SetId(*out.BrokerId) + d.Set("arn", out.BrokerArn) + + stateConf := resource.StateChangeConf{ + Pending: []string{ + mq.BrokerStateCreationInProgress, + mq.BrokerStateRebootInProgress, + }, + Target: []string{mq.BrokerStateRunning}, + Timeout: 30 * time.Minute, + Refresh: func() (interface{}, string, error) { + out, err := conn.DescribeBroker(&mq.DescribeBrokerInput{ + BrokerId: aws.String(d.Id()), + }) + if err != nil { + return 42, "", err + } + + return out, *out.BrokerState, nil + }, + } + _, err = stateConf.WaitForState() + if err != nil { + return err + } + + return resourceAwsMqBrokerRead(d, meta) +} + +func resourceAwsMqBrokerRead(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).mqconn + + log.Printf("[INFO] Reading MQ Broker: %s", d.Id()) + out, err := conn.DescribeBroker(&mq.DescribeBrokerInput{ + BrokerId: aws.String(d.Id()), + }) + if err != nil { + if isAWSErr(err, "NotFoundException", "") { + log.Printf("[WARN] MQ Broker %q not found, removing from state", d.Id()) + d.SetId("") + return nil + } + // API docs say a 404 can also return a 403 + if isAWSErr(err, "ForbiddenException", "Forbidden") { + log.Printf("[WARN] MQ Broker %q not found, removing from state", d.Id()) + d.SetId("") + return nil + } + return err + } + + d.Set("auto_minor_version_upgrade", out.AutoMinorVersionUpgrade) + d.Set("arn", out.BrokerArn) + d.Set("instances", flattenMqBrokerInstances(out.BrokerInstances)) + d.Set("broker_name", out.BrokerName) + d.Set("deployment_mode", out.DeploymentMode) + d.Set("engine_type", out.EngineType) + d.Set("engine_version", out.EngineVersion) + d.Set("host_instance_type", out.HostInstanceType) + d.Set("publicly_accessible", out.PubliclyAccessible) + err = d.Set("maintenance_window_start_time", flattenMqWeeklyStartTime(out.MaintenanceWindowStartTime)) + if err != nil { + return err + } + d.Set("security_groups", aws.StringValueSlice(out.SecurityGroups)) + d.Set("subnet_ids", aws.StringValueSlice(out.SubnetIds)) + + err = d.Set("configuration", flattenMqConfigurationId(out.Configurations.Current)) + if err != nil { + return err + } + + rawUsers := make([]*mq.User, len(out.Users), len(out.Users)) + for i, u := range out.Users { + uOut, err := conn.DescribeUser(&mq.DescribeUserInput{ + BrokerId: aws.String(d.Id()), + Username: u.Username, + }) + if err != nil { + return err + } + + rawUsers[i] = &mq.User{ + ConsoleAccess: uOut.ConsoleAccess, + Groups: uOut.Groups, + Username: uOut.Username, + } + } + + users := flattenMqUsers(rawUsers, d.Get("user").(*schema.Set).List()) + err = d.Set("user", users) + if err != nil { + return err + } + + return nil +} + +func resourceAwsMqBrokerUpdate(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).mqconn + + if d.HasChange("configuration") { + _, err := conn.UpdateBroker(&mq.UpdateBrokerRequest{ + BrokerId: aws.String(d.Id()), + Configuration: expandMqConfigurationId(d.Get("configuration").([]interface{})), + }) + if err != nil { + return err + } + } + + if d.HasChange("user") { + o, n := d.GetChange("user") + err := updateAwsMqBrokerUsers(conn, d.Id(), + o.(*schema.Set).List(), n.(*schema.Set).List()) + if err != nil { + return err + } + } + + if d.Get("apply_immediately").(bool) { + _, err := conn.RebootBroker(&mq.RebootBrokerInput{ + BrokerId: aws.String(d.Id()), + }) + if err != nil { + return err + } + + stateConf := resource.StateChangeConf{ + Pending: []string{ + mq.BrokerStateRunning, + mq.BrokerStateRebootInProgress, + }, + Target: []string{mq.BrokerStateRunning}, + Timeout: 30 * time.Minute, + Refresh: func() (interface{}, string, error) { + out, err := conn.DescribeBroker(&mq.DescribeBrokerInput{ + BrokerId: aws.String(d.Id()), + }) + if err != nil { + return 42, "", err + } + + return out, *out.BrokerState, nil + }, + } + _, err = stateConf.WaitForState() + if err != nil { + return err + } + } + + return nil +} + +func resourceAwsMqBrokerDelete(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).mqconn + + log.Printf("[INFO] Deleting MQ Broker: %s", d.Id()) + _, err := conn.DeleteBroker(&mq.DeleteBrokerInput{ + BrokerId: aws.String(d.Id()), + }) + if err != nil { + return err + } + + return waitForMqBrokerDeletion(conn, d.Id()) +} + +func resourceAwsMqUserHash(v interface{}) int { + var buf bytes.Buffer + + m := v.(map[string]interface{}) + if ca, ok := m["console_access"]; ok { + buf.WriteString(fmt.Sprintf("%t-", ca.(bool))) + } else { + buf.WriteString("false-") + } + if g, ok := m["groups"]; ok { + buf.WriteString(fmt.Sprintf("%v-", g.(*schema.Set).List())) + } + if p, ok := m["password"]; ok { + buf.WriteString(fmt.Sprintf("%s-", p.(string))) + } + buf.WriteString(fmt.Sprintf("%s-", m["username"].(string))) + + return hashcode.String(buf.String()) +} + +func waitForMqBrokerDeletion(conn *mq.MQ, id string) error { + stateConf := resource.StateChangeConf{ + Pending: []string{ + mq.BrokerStateRunning, + mq.BrokerStateRebootInProgress, + mq.BrokerStateDeletionInProgress, + }, + Target: []string{""}, + Timeout: 30 * time.Minute, + Refresh: func() (interface{}, string, error) { + out, err := conn.DescribeBroker(&mq.DescribeBrokerInput{ + BrokerId: aws.String(id), + }) + if err != nil { + if isAWSErr(err, "NotFoundException", "") { + return 42, "", nil + } + return 42, "", err + } + + return out, *out.BrokerState, nil + }, + } + _, err := stateConf.WaitForState() + return err +} + +func updateAwsMqBrokerUsers(conn *mq.MQ, bId string, oldUsers, newUsers []interface{}) error { + createL, deleteL, updateL, err := diffAwsMqBrokerUsers(bId, oldUsers, newUsers) + if err != nil { + return err + } + + for _, c := range createL { + _, err := conn.CreateUser(c) + if err != nil { + return err + } + } + for _, d := range deleteL { + _, err := conn.DeleteUser(d) + if err != nil { + return err + } + } + for _, u := range updateL { + _, err := conn.UpdateUser(u) + if err != nil { + return err + } + } + + return nil +} + +func diffAwsMqBrokerUsers(bId string, oldUsers, newUsers []interface{}) ( + cr []*mq.CreateUserRequest, di []*mq.DeleteUserInput, ur []*mq.UpdateUserRequest, e error) { + + existingUsers := make(map[string]interface{}, 0) + for _, ou := range oldUsers { + u := ou.(map[string]interface{}) + username := u["username"].(string) + // Convert Set to slice to allow easier comparison + if g, ok := u["groups"]; ok { + groups := g.(*schema.Set).List() + u["groups"] = groups + } + + existingUsers[username] = u + } + + for _, nu := range newUsers { + // Still need access to the original map + // because Set contents doesn't get copied + // Likely related to https://github.com/mitchellh/copystructure/issues/17 + nuOriginal := nu.(map[string]interface{}) + + // Create a mutable copy + newUser, err := copystructure.Copy(nu) + if err != nil { + e = err + return + } + + newUserMap := newUser.(map[string]interface{}) + username := newUserMap["username"].(string) + + // Convert Set to slice to allow easier comparison + var ng []interface{} + if g, ok := nuOriginal["groups"]; ok { + ng = g.(*schema.Set).List() + newUserMap["groups"] = ng + } + + if eu, ok := existingUsers[username]; ok { + + existingUserMap := eu.(map[string]interface{}) + + if !reflect.DeepEqual(existingUserMap, newUserMap) { + ur = append(ur, &mq.UpdateUserRequest{ + BrokerId: aws.String(bId), + ConsoleAccess: aws.Bool(newUserMap["console_access"].(bool)), + Groups: expandStringList(ng), + Password: aws.String(newUserMap["password"].(string)), + Username: aws.String(username), + }) + } + + // Delete after processing, so we know what's left for deletion + delete(existingUsers, username) + } else { + cur := &mq.CreateUserRequest{ + BrokerId: aws.String(bId), + ConsoleAccess: aws.Bool(newUserMap["console_access"].(bool)), + Password: aws.String(newUserMap["password"].(string)), + Username: aws.String(username), + } + if len(ng) > 0 { + cur.Groups = expandStringList(ng) + } + cr = append(cr, cur) + } + } + + for username, _ := range existingUsers { + di = append(di, &mq.DeleteUserInput{ + BrokerId: aws.String(bId), + Username: aws.String(username), + }) + } + + return +} diff --git a/aws/resource_aws_mq_broker_test.go b/aws/resource_aws_mq_broker_test.go new file mode 100644 index 00000000000..0ef11a88f43 --- /dev/null +++ b/aws/resource_aws_mq_broker_test.go @@ -0,0 +1,587 @@ +package aws + +import ( + "fmt" + "log" + "regexp" + "strings" + "testing" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/mq" + "github.com/hashicorp/terraform/helper/acctest" + "github.com/hashicorp/terraform/helper/resource" + "github.com/hashicorp/terraform/helper/schema" + "github.com/hashicorp/terraform/terraform" +) + +func init() { + resource.AddTestSweepers("aws_mq_broker", &resource.Sweeper{ + Name: "aws_mq_broker", + F: testSweepMqBrokers, + }) +} + +func testSweepMqBrokers(region string) error { + client, err := sharedClientForRegion(region) + if err != nil { + return fmt.Errorf("error getting client: %s", err) + } + conn := client.(*AWSClient).mqconn + + resp, err := conn.ListBrokers(&mq.ListBrokersInput{ + MaxResults: aws.Int64(100), + }) + if err != nil { + return fmt.Errorf("Error listing MQ brokers: %s", err) + } + + if len(resp.BrokerSummaries) == 0 { + log.Print("[DEBUG] No MQ brokers found to sweep") + return nil + } + log.Printf("[DEBUG] %d MQ brokers found", len(resp.BrokerSummaries)) + + for _, bs := range resp.BrokerSummaries { + if !strings.HasPrefix(*bs.BrokerName, "tf-acc-test-") { + continue + } + + log.Printf("[INFO] Deleting MQ broker %s", *bs.BrokerId) + _, err := conn.DeleteBroker(&mq.DeleteBrokerInput{ + BrokerId: bs.BrokerId, + }) + if err != nil { + return err + } + err = waitForMqBrokerDeletion(conn, *bs.BrokerId) + if err != nil { + return err + } + } + + return nil +} + +func TestDiffAwsMqBrokerUsers(t *testing.T) { + testCases := []struct { + OldUsers []interface{} + NewUsers []interface{} + + Creations []*mq.CreateUserRequest + Deletions []*mq.DeleteUserInput + Updates []*mq.UpdateUserRequest + }{ + { + OldUsers: []interface{}{}, + NewUsers: []interface{}{ + map[string]interface{}{ + "console_access": false, + "username": "second", + "password": "TestTest2222", + "groups": schema.NewSet(schema.HashString, []interface{}{"admin"}), + }, + }, + Creations: []*mq.CreateUserRequest{ + { + BrokerId: aws.String("test"), + ConsoleAccess: aws.Bool(false), + Username: aws.String("second"), + Password: aws.String("TestTest2222"), + Groups: aws.StringSlice([]string{"admin"}), + }, + }, + Deletions: []*mq.DeleteUserInput{}, + Updates: []*mq.UpdateUserRequest{}, + }, + { + OldUsers: []interface{}{ + map[string]interface{}{ + "console_access": true, + "username": "first", + "password": "TestTest1111", + }, + }, + NewUsers: []interface{}{ + map[string]interface{}{ + "console_access": false, + "username": "second", + "password": "TestTest2222", + }, + }, + Creations: []*mq.CreateUserRequest{ + { + BrokerId: aws.String("test"), + ConsoleAccess: aws.Bool(false), + Username: aws.String("second"), + Password: aws.String("TestTest2222"), + }, + }, + Deletions: []*mq.DeleteUserInput{ + {BrokerId: aws.String("test"), Username: aws.String("first")}, + }, + Updates: []*mq.UpdateUserRequest{}, + }, + { + OldUsers: []interface{}{ + map[string]interface{}{ + "console_access": true, + "username": "first", + "password": "TestTest1111updated", + }, + map[string]interface{}{ + "console_access": false, + "username": "second", + "password": "TestTest2222", + }, + }, + NewUsers: []interface{}{ + map[string]interface{}{ + "console_access": false, + "username": "second", + "password": "TestTest2222", + "groups": schema.NewSet(schema.HashString, []interface{}{"admin"}), + }, + }, + Creations: []*mq.CreateUserRequest{}, + Deletions: []*mq.DeleteUserInput{ + {BrokerId: aws.String("test"), Username: aws.String("first")}, + }, + Updates: []*mq.UpdateUserRequest{ + { + BrokerId: aws.String("test"), + ConsoleAccess: aws.Bool(false), + Username: aws.String("second"), + Password: aws.String("TestTest2222"), + Groups: aws.StringSlice([]string{"admin"}), + }, + }, + }, + } + + for _, tc := range testCases { + creations, deletions, updates, err := diffAwsMqBrokerUsers("test", tc.OldUsers, tc.NewUsers) + if err != nil { + t.Fatal(err) + } + + expectedCreations := fmt.Sprintf("%s", tc.Creations) + creationsString := fmt.Sprintf("%s", creations) + if creationsString != expectedCreations { + t.Fatalf("Expected creations: %s\nGiven: %s", expectedCreations, creationsString) + } + + expectedDeletions := fmt.Sprintf("%s", tc.Deletions) + deletionsString := fmt.Sprintf("%s", deletions) + if deletionsString != expectedDeletions { + t.Fatalf("Expected deletions: %s\nGiven: %s", expectedDeletions, deletionsString) + } + + expectedUpdates := fmt.Sprintf("%s", tc.Updates) + updatesString := fmt.Sprintf("%s", updates) + if updatesString != expectedUpdates { + t.Fatalf("Expected updates: %s\nGiven: %s", expectedUpdates, updatesString) + } + } +} + +func TestAccAwsMqBroker_basic(t *testing.T) { + sgName := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(5)) + brokerName := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(5)) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAwsMqBrokerDestroy, + Steps: []resource.TestStep{ + { + Config: testAccMqBrokerConfig(sgName, brokerName), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsMqBrokerExists("aws_mq_broker.test"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "auto_minor_version_upgrade", "false"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "broker_name", brokerName), + resource.TestCheckResourceAttr("aws_mq_broker.test", "configuration.#", "1"), + resource.TestMatchResourceAttr("aws_mq_broker.test", "configuration.0.id", regexp.MustCompile(`^c-[a-z0-9-]+$`)), + resource.TestMatchResourceAttr("aws_mq_broker.test", "configuration.0.revision", regexp.MustCompile(`^[0-9]+$`)), + resource.TestCheckResourceAttr("aws_mq_broker.test", "deployment_mode", "SINGLE_INSTANCE"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "engine_type", "ActiveMQ"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "engine_version", "5.15.0"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "host_instance_type", "mq.t2.micro"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "maintenance_window_start_time.#", "1"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "maintenance_window_start_time.0.day_of_week", "MONDAY"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "maintenance_window_start_time.0.time_of_day", "01:00"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "maintenance_window_start_time.0.time_zone", "UTC"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "publicly_accessible", "false"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "security_groups.#", "1"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "subnet_ids.#", "1"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.#", "1"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.3793764891.console_access", "false"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.3793764891.groups.#", "0"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.3793764891.username", "Test"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.3793764891.password", "TestTest1234"), + resource.TestMatchResourceAttr("aws_mq_broker.test", "arn", + regexp.MustCompile("^arn:aws:mq:[a-z0-9-]+:[0-9]{12}:broker:[a-z0-9-]+:[a-f0-9-]+$")), + resource.TestCheckResourceAttr("aws_mq_broker.test", "instances.#", "1"), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.0.console_url", + regexp.MustCompile(`^https://[a-f0-9-]+\.mq.[a-z0-9-]+.amazonaws.com:8162$`)), + resource.TestCheckResourceAttr("aws_mq_broker.test", "instances.0.endpoints.#", "5"), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.0.endpoints.0", regexp.MustCompile(`^ssl://[a-z0-9-\.]+:61617$`)), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.0.endpoints.1", regexp.MustCompile(`^amqp\+ssl://[a-z0-9-\.]+:5671$`)), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.0.endpoints.2", regexp.MustCompile(`^stomp\+ssl://[a-z0-9-\.]+:61614$`)), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.0.endpoints.3", regexp.MustCompile(`^mqtt\+ssl://[a-z0-9-\.]+:8883$`)), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.0.endpoints.4", regexp.MustCompile(`^wss://[a-z0-9-\.]+:61619$`)), + ), + }, + }, + }) +} + +func TestAccAwsMqBroker_allFields(t *testing.T) { + sgName := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(5)) + cfgNameBefore := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(5)) + cfgNameAfter := fmt.Sprintf("tf-acc-test-updated-%s", acctest.RandString(5)) + brokerName := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(5)) + + cfgBodyBefore := ` + +` + cfgBodyAfter := ` + + + + + + +` + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAwsMqBrokerDestroy, + Steps: []resource.TestStep{ + { + Config: testAccMqBrokerConfig_allFields(sgName, cfgNameBefore, cfgBodyBefore, brokerName), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsMqBrokerExists("aws_mq_broker.test"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "auto_minor_version_upgrade", "true"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "broker_name", brokerName), + resource.TestCheckResourceAttr("aws_mq_broker.test", "configuration.#", "1"), + resource.TestMatchResourceAttr("aws_mq_broker.test", "configuration.0.id", regexp.MustCompile(`^c-[a-z0-9-]+$`)), + resource.TestCheckResourceAttr("aws_mq_broker.test", "configuration.0.revision", "2"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "deployment_mode", "ACTIVE_STANDBY_MULTI_AZ"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "engine_type", "ActiveMQ"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "engine_version", "5.15.0"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "host_instance_type", "mq.t2.micro"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "maintenance_window_start_time.#", "1"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "maintenance_window_start_time.0.day_of_week", "TUESDAY"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "maintenance_window_start_time.0.time_of_day", "02:00"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "maintenance_window_start_time.0.time_zone", "CET"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "publicly_accessible", "true"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "security_groups.#", "2"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "subnet_ids.#", "2"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.#", "2"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1344916805.console_access", "true"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1344916805.groups.#", "3"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1344916805.groups.2456940119", "first"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1344916805.groups.3055489385", "second"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1344916805.groups.607264868", "third"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1344916805.password", "SecondTestTest1234"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1344916805.username", "SecondTest"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.3793764891.console_access", "false"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.3793764891.groups.#", "0"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.3793764891.password", "TestTest1234"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.3793764891.username", "Test"), + resource.TestMatchResourceAttr("aws_mq_broker.test", "arn", + regexp.MustCompile("^arn:aws:mq:[a-z0-9-]+:[0-9]{12}:broker:[a-z0-9-]+:[a-f0-9-]+$")), + resource.TestCheckResourceAttr("aws_mq_broker.test", "instances.#", "2"), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.0.console_url", + regexp.MustCompile(`^https://[a-f0-9-]+\.mq.[a-z0-9-]+.amazonaws.com:8162$`)), + resource.TestCheckResourceAttr("aws_mq_broker.test", "instances.0.endpoints.#", "5"), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.0.endpoints.0", regexp.MustCompile(`^ssl://[a-z0-9-\.]+:61617$`)), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.0.endpoints.1", regexp.MustCompile(`^amqp\+ssl://[a-z0-9-\.]+:5671$`)), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.0.endpoints.2", regexp.MustCompile(`^stomp\+ssl://[a-z0-9-\.]+:61614$`)), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.0.endpoints.3", regexp.MustCompile(`^mqtt\+ssl://[a-z0-9-\.]+:8883$`)), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.0.endpoints.4", regexp.MustCompile(`^wss://[a-z0-9-\.]+:61619$`)), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.1.console_url", + regexp.MustCompile(`^https://[a-f0-9-]+\.mq.[a-z0-9-]+.amazonaws.com:8162$`)), + resource.TestCheckResourceAttr("aws_mq_broker.test", "instances.1.endpoints.#", "5"), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.1.endpoints.0", regexp.MustCompile(`^ssl://[a-z0-9-\.]+:61617$`)), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.1.endpoints.1", regexp.MustCompile(`^amqp\+ssl://[a-z0-9-\.]+:5671$`)), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.1.endpoints.2", regexp.MustCompile(`^stomp\+ssl://[a-z0-9-\.]+:61614$`)), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.1.endpoints.3", regexp.MustCompile(`^mqtt\+ssl://[a-z0-9-\.]+:8883$`)), + resource.TestMatchResourceAttr("aws_mq_broker.test", "instances.1.endpoints.4", regexp.MustCompile(`^wss://[a-z0-9-\.]+:61619$`)), + ), + }, + { + // Update configuration in-place + Config: testAccMqBrokerConfig_allFields(sgName, cfgNameBefore, cfgBodyAfter, brokerName), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsMqBrokerExists("aws_mq_broker.test"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "broker_name", brokerName), + resource.TestCheckResourceAttr("aws_mq_broker.test", "configuration.#", "1"), + resource.TestMatchResourceAttr("aws_mq_broker.test", "configuration.0.id", regexp.MustCompile(`^c-[a-z0-9-]+$`)), + resource.TestCheckResourceAttr("aws_mq_broker.test", "configuration.0.revision", "3"), + ), + }, + { + // Replace configuration + Config: testAccMqBrokerConfig_allFields(sgName, cfgNameAfter, cfgBodyAfter, brokerName), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsMqBrokerExists("aws_mq_broker.test"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "broker_name", brokerName), + resource.TestCheckResourceAttr("aws_mq_broker.test", "configuration.#", "1"), + resource.TestMatchResourceAttr("aws_mq_broker.test", "configuration.0.id", regexp.MustCompile(`^c-[a-z0-9-]+$`)), + resource.TestCheckResourceAttr("aws_mq_broker.test", "configuration.0.revision", "2"), + ), + }, + }, + }) +} + +func TestAccAwsMqBroker_updateUsers(t *testing.T) { + sgName := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(5)) + brokerName := fmt.Sprintf("tf-acc-test-%s", acctest.RandString(5)) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAwsMqBrokerDestroy, + Steps: []resource.TestStep{ + { + Config: testAccMqBrokerConfig_updateUsers1(sgName, brokerName), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsMqBrokerExists("aws_mq_broker.test"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.#", "1"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.3400735725.console_access", "false"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.3400735725.groups.#", "0"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.3400735725.password", "TestTest1111"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.3400735725.username", "first"), + ), + }, + // Adding new user + modify existing + { + Config: testAccMqBrokerConfig_updateUsers2(sgName, brokerName), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsMqBrokerExists("aws_mq_broker.test"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.#", "2"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1074486012.console_access", "false"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1074486012.groups.#", "0"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1074486012.password", "TestTest2222"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1074486012.username", "second"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1166726986.console_access", "true"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1166726986.groups.#", "0"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1166726986.password", "TestTest1111updated"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.1166726986.username", "first"), + ), + }, + // Deleting user + modify existing + { + Config: testAccMqBrokerConfig_updateUsers3(sgName, brokerName), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsMqBrokerExists("aws_mq_broker.test"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.#", "1"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.2244717082.console_access", "false"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.2244717082.groups.#", "1"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.2244717082.groups.2282622326", "admin"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.2244717082.password", "TestTest2222"), + resource.TestCheckResourceAttr("aws_mq_broker.test", "user.2244717082.username", "second"), + ), + }, + }, + }) +} + +func testAccCheckAwsMqBrokerDestroy(s *terraform.State) error { + conn := testAccProvider.Meta().(*AWSClient).mqconn + + for _, rs := range s.RootModule().Resources { + if rs.Type != "aws_mq_broker" { + continue + } + + input := &mq.DescribeBrokerInput{ + BrokerId: aws.String(rs.Primary.ID), + } + + _, err := conn.DescribeBroker(input) + if err != nil { + if isAWSErr(err, "NotFoundException", "") { + return nil + } + return err + } + + return fmt.Errorf("Expected MQ Broker to be destroyed, %s found", rs.Primary.ID) + } + + return nil +} + +func testAccCheckAwsMqBrokerExists(name string) resource.TestCheckFunc { + return func(s *terraform.State) error { + _, ok := s.RootModule().Resources[name] + if !ok { + return fmt.Errorf("Not found: %s", name) + } + + return nil + } +} + +func testAccMqBrokerConfig(sgName, brokerName string) string { + return fmt.Sprintf(` +resource "aws_security_group" "test" { + name = "%s" +} + +resource "aws_mq_broker" "test" { + broker_name = "%s" + engine_type = "ActiveMQ" + engine_version = "5.15.0" + host_instance_type = "mq.t2.micro" + security_groups = ["${aws_security_group.test.id}"] + user { + username = "Test" + password = "TestTest1234" + } +}`, sgName, brokerName) +} + +func testAccMqBrokerConfig_allFields(sgName, cfgName, cfgBody, brokerName string) string { + return fmt.Sprintf(` +data "aws_availability_zones" "available" {} + +resource "aws_vpc" "main" { + cidr_block = "10.11.0.0/16" + tags { + Name = "TfAccTest-MqBroker" + } +} + +resource "aws_subnet" "private" { + count = 2 + cidr_block = "10.11.${count.index}.0/24" + availability_zone = "${data.aws_availability_zones.available.names[count.index]}" + vpc_id = "${aws_vpc.main.id}" + tags { + Name = "TfAccTest-MqBroker" + } +} + +resource "aws_security_group" "mq1" { + name = "%s-1" + vpc_id = "${aws_vpc.main.id}" +} + +resource "aws_security_group" "mq2" { + name = "%s-2" + vpc_id = "${aws_vpc.main.id}" +} + +resource "aws_mq_configuration" "test" { + name = "%s" + engine_type = "ActiveMQ" + engine_version = "5.15.0" + data = < + + +DATA +}`, configurationName) +} + +func testAccMqConfigurationConfig_descriptionUpdated(configurationName string) string { + return fmt.Sprintf(` +resource "aws_mq_configuration" "test" { + description = "TfAccTest MQ Configuration Updated" + name = "%s" + engine_type = "ActiveMQ" + engine_version = "5.15.0" + data = < + + +DATA +}`, configurationName) +} + +func testAccMqConfigurationWithDataConfig(configurationName string) string { + return fmt.Sprintf(` +resource "aws_mq_configuration" "test" { + description = "TfAccTest MQ Configuration" + name = "%s" + engine_type = "ActiveMQ" + engine_version = "5.15.0" + data = < + + + + + + + + + + + + + + + + + + + + +DATA +}`, configurationName) +} diff --git a/aws/resource_aws_rds_cluster_instance.go b/aws/resource_aws_rds_cluster_instance.go index 269d28458c7..9c4b580d067 100644 --- a/aws/resource_aws_rds_cluster_instance.go +++ b/aws/resource_aws_rds_cluster_instance.go @@ -251,7 +251,7 @@ func resourceAwsRDSClusterInstanceCreate(d *schema.ResourceData, meta interface{ "rebooting", "renaming", "resetting-master-credentials", "starting", "upgrading"}, Target: []string{"available"}, - Refresh: resourceAwsDbInstanceStateRefreshFunc(d, meta), + Refresh: resourceAwsDbInstanceStateRefreshFunc(d.Id(), conn), Timeout: d.Timeout(schema.TimeoutCreate), MinTimeout: 10 * time.Second, Delay: 30 * time.Second, @@ -267,7 +267,7 @@ func resourceAwsRDSClusterInstanceCreate(d *schema.ResourceData, meta interface{ } func resourceAwsRDSClusterInstanceRead(d *schema.ResourceData, meta interface{}) error { - db, err := resourceAwsDbInstanceRetrieve(d, meta) + db, err := resourceAwsDbInstanceRetrieve(d.Id(), meta.(*AWSClient).rdsconn) // Errors from this helper are always reportable if err != nil { return fmt.Errorf("[WARN] Error on retrieving RDS Cluster Instance (%s): %s", d.Id(), err) @@ -422,7 +422,7 @@ func resourceAwsRDSClusterInstanceUpdate(d *schema.ResourceData, meta interface{ "rebooting", "renaming", "resetting-master-credentials", "starting", "upgrading"}, Target: []string{"available"}, - Refresh: resourceAwsDbInstanceStateRefreshFunc(d, meta), + Refresh: resourceAwsDbInstanceStateRefreshFunc(d.Id(), conn), Timeout: d.Timeout(schema.TimeoutUpdate), MinTimeout: 10 * time.Second, Delay: 30 * time.Second, // Wait 30 secs before starting @@ -462,7 +462,7 @@ func resourceAwsRDSClusterInstanceDelete(d *schema.ResourceData, meta interface{ stateConf := &resource.StateChangeConf{ Pending: []string{"modifying", "deleting"}, Target: []string{}, - Refresh: resourceAwsDbInstanceStateRefreshFunc(d, meta), + Refresh: resourceAwsDbInstanceStateRefreshFunc(d.Id(), conn), Timeout: d.Timeout(schema.TimeoutDelete), MinTimeout: 10 * time.Second, Delay: 30 * time.Second, // Wait 30 secs before starting diff --git a/aws/resource_aws_rds_cluster_instance_test.go b/aws/resource_aws_rds_cluster_instance_test.go index 72e49cd1728..0dc51ef4c50 100644 --- a/aws/resource_aws_rds_cluster_instance_test.go +++ b/aws/resource_aws_rds_cluster_instance_test.go @@ -243,7 +243,7 @@ resource "aws_rds_cluster" "default" { resource "aws_rds_cluster_instance" "cluster_instances" { identifier = "tf-cluster-instance-%d" cluster_identifier = "${aws_rds_cluster.default.id}" - instance_class = "db.r3.large" + instance_class = "db.t2.small" db_parameter_group_name = "${aws_db_parameter_group.bar.name}" promotion_tier = "3" } @@ -279,7 +279,7 @@ resource "aws_rds_cluster" "default" { resource "aws_rds_cluster_instance" "cluster_instances" { identifier = "tf-cluster-instance-%d" cluster_identifier = "${aws_rds_cluster.default.id}" - instance_class = "db.r3.large" + instance_class = "db.t2.small" db_parameter_group_name = "${aws_db_parameter_group.bar.name}" auto_minor_version_upgrade = false promotion_tier = "3" @@ -307,7 +307,7 @@ func testAccAWSClusterInstanceConfig_namePrefix(n int) string { resource "aws_rds_cluster_instance" "test" { identifier_prefix = "tf-cluster-instance-" cluster_identifier = "${aws_rds_cluster.test.id}" - instance_class = "db.r3.large" + instance_class = "db.t2.small" } resource "aws_rds_cluster" "test" { @@ -348,7 +348,7 @@ func testAccAWSClusterInstanceConfig_generatedName(n int) string { return fmt.Sprintf(` resource "aws_rds_cluster_instance" "test" { cluster_identifier = "${aws_rds_cluster.test.id}" - instance_class = "db.r3.large" + instance_class = "db.t2.small" } resource "aws_rds_cluster" "test" { @@ -423,7 +423,7 @@ resource "aws_rds_cluster" "default" { resource "aws_rds_cluster_instance" "cluster_instances" { identifier = "tf-cluster-instance-%d" cluster_identifier = "${aws_rds_cluster.default.id}" - instance_class = "db.r3.large" + instance_class = "db.t2.small" db_parameter_group_name = "${aws_db_parameter_group.bar.name}" } @@ -458,7 +458,7 @@ resource "aws_rds_cluster" "default" { resource "aws_rds_cluster_instance" "cluster_instances" { identifier = "tf-cluster-instance-%d" cluster_identifier = "${aws_rds_cluster.default.id}" - instance_class = "db.r3.large" + instance_class = "db.t2.small" db_parameter_group_name = "${aws_db_parameter_group.bar.name}" monitoring_interval = "60" monitoring_role_arn = "${aws_iam_role.tf_enhanced_monitor_role.arn}" @@ -484,9 +484,44 @@ EOF } resource "aws_iam_policy_attachment" "rds_m_attach" { - name = "AmazonRDSEnhancedMonitoringRole" + name = "tf-enhanced-monitoring-attachment-%d" roles = ["${aws_iam_role.tf_enhanced_monitor_role.name}"] - policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonRDSEnhancedMonitoringRole" + policy_arn = "${aws_iam_policy.test.arn}" +} + +resource "aws_iam_policy" "test" { + name = "tf-enhanced-monitoring-policy-%d" + policy = < 0 { + for _, c := range rule.IpRanges { + if _, ok := cidrIps[*c.CidrIp]; !ok { + continue + } - for _, c := range rule.IpRanges { - desc := aws.StringValue(c.Description) - if desc != "" { - description = desc + if desc := aws.StringValue(c.Description); desc != "" { + return desc + } } } - for _, ip := range rule.Ipv6Ranges { - desc := aws.StringValue(ip.Description) - if desc != "" { - description = desc + // probe Ipv6Ranges + cidrIpv6s := make(map[string]bool) + if raw, ok := d.GetOk("ipv6_cidr_blocks"); ok { + for _, v := range raw.([]interface{}) { + cidrIpv6s[v.(string)] = true } } - for _, p := range rule.PrefixListIds { - desc := aws.StringValue(p.Description) - if desc != "" { - description = desc + if len(cidrIpv6s) > 0 { + for _, ip := range rule.Ipv6Ranges { + if _, ok := cidrIpv6s[*ip.CidrIpv6]; !ok { + continue + } + + if desc := aws.StringValue(ip.Description); desc != "" { + return desc + } } } - if len(rule.UserIdGroupPairs) > 0 { - desc := aws.StringValue(rule.UserIdGroupPairs[0].Description) - if desc != "" { - description = desc + // probe PrefixListIds + listIds := make(map[string]bool) + if raw, ok := d.GetOk("prefix_list_ids"); ok { + for _, v := range raw.([]interface{}) { + listIds[v.(string)] = true + } + } + + if len(listIds) > 0 { + for _, p := range rule.PrefixListIds { + if _, ok := listIds[*p.PrefixListId]; !ok { + continue + } + + if desc := aws.StringValue(p.Description); desc != "" { + return desc + } + } + } + + // probe UserIdGroupPairs + groupIds := make(map[string]bool) + if raw, ok := d.GetOk("source_security_group_id"); ok { + groupIds[raw.(string)] = true + } + + if len(groupIds) > 0 { + for _, gp := range rule.UserIdGroupPairs { + if _, ok := groupIds[*gp.GroupId]; !ok { + continue + } + + if desc := aws.StringValue(gp.Description); desc != "" { + return desc + } } } - d.Set("description", description) + return "" } // Validates that either 'cidr_blocks', 'ipv6_cidr_blocks', 'self', or 'source_security_group_id' is set diff --git a/aws/resource_aws_security_group_rule_test.go b/aws/resource_aws_security_group_rule_test.go index 82eb446b338..5f5bbd4daad 100644 --- a/aws/resource_aws_security_group_rule_test.go +++ b/aws/resource_aws_security_group_rule_test.go @@ -676,6 +676,139 @@ func TestAccAWSSecurityGroupRule_EgressDescription_updates(t *testing.T) { }) } +func TestAccAWSSecurityGroupRule_MultiDescription(t *testing.T) { + var group ec2.SecurityGroup + var nat ec2.SecurityGroup + rInt := acctest.RandInt() + + rule1 := ec2.IpPermission{ + FromPort: aws.Int64(22), + ToPort: aws.Int64(22), + IpProtocol: aws.String("tcp"), + IpRanges: []*ec2.IpRange{ + {CidrIp: aws.String("0.0.0.0/0"), Description: aws.String("CIDR Description")}, + }, + } + + rule2 := ec2.IpPermission{ + FromPort: aws.Int64(22), + ToPort: aws.Int64(22), + IpProtocol: aws.String("tcp"), + Ipv6Ranges: []*ec2.Ipv6Range{ + {CidrIpv6: aws.String("::/0"), Description: aws.String("IPv6 CIDR Description")}, + }, + } + + var rule3 ec2.IpPermission + + // This function creates the expected IPPermission with the group id from an + // external security group, needed because Security Group IDs are generated on + // AWS side and can't be known ahead of time. + setupSG := func(*terraform.State) error { + if nat.GroupId == nil { + return fmt.Errorf("Error: nat group has nil GroupID") + } + + rule3 = ec2.IpPermission{ + FromPort: aws.Int64(22), + ToPort: aws.Int64(22), + IpProtocol: aws.String("tcp"), + UserIdGroupPairs: []*ec2.UserIdGroupPair{ + {GroupId: nat.GroupId, Description: aws.String("NAT SG Description")}, + }, + } + + return nil + } + + var endpoint ec2.VpcEndpoint + var rule4 ec2.IpPermission + + // This function creates the expected IPPermission with the prefix list ID from + // the VPC Endpoint created in the test + setupPL := func(*terraform.State) error { + conn := testAccProvider.Meta().(*AWSClient).ec2conn + prefixListInput := &ec2.DescribePrefixListsInput{ + Filters: []*ec2.Filter{ + {Name: aws.String("prefix-list-name"), Values: []*string{endpoint.ServiceName}}, + }, + } + + log.Printf("[DEBUG] Reading VPC Endpoint prefix list: %s", prefixListInput) + prefixListsOutput, err := conn.DescribePrefixLists(prefixListInput) + + if err != nil { + _, ok := err.(awserr.Error) + if !ok { + return fmt.Errorf("Error reading VPC Endpoint prefix list: %s", err.Error()) + } + } + + if len(prefixListsOutput.PrefixLists) != 1 { + return fmt.Errorf("There are multiple prefix lists associated with the service name '%s'. Unexpected", prefixListsOutput) + } + + rule4 = ec2.IpPermission{ + FromPort: aws.Int64(22), + ToPort: aws.Int64(22), + IpProtocol: aws.String("tcp"), + PrefixListIds: []*ec2.PrefixListId{ + {PrefixListId: prefixListsOutput.PrefixLists[0].PrefixListId, Description: aws.String("Prefix List Description")}, + }, + } + + return nil + } + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSSecurityGroupRuleDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSSecurityGroupRuleMultiDescription(rInt, "ingress"), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSSecurityGroupRuleExists("aws_security_group.worker", &group), + testAccCheckAWSSecurityGroupRuleExists("aws_security_group.nat", &nat), + testAccCheckVpcEndpointExists("aws_vpc_endpoint.s3-us-west-2", &endpoint), + + testAccCheckAWSSecurityGroupRuleAttributes("aws_security_group_rule.ingress_rule_1", &group, &rule1, "ingress"), + resource.TestCheckResourceAttr("aws_security_group_rule.ingress_rule_1", "description", "CIDR Description"), + + testAccCheckAWSSecurityGroupRuleAttributes("aws_security_group_rule.ingress_rule_2", &group, &rule2, "ingress"), + resource.TestCheckResourceAttr("aws_security_group_rule.ingress_rule_2", "description", "IPv6 CIDR Description"), + + setupSG, + testAccCheckAWSSecurityGroupRuleAttributes("aws_security_group_rule.ingress_rule_3", &group, &rule3, "ingress"), + resource.TestCheckResourceAttr("aws_security_group_rule.ingress_rule_3", "description", "NAT SG Description"), + ), + }, + { + Config: testAccAWSSecurityGroupRuleMultiDescription(rInt, "egress"), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSSecurityGroupRuleExists("aws_security_group.worker", &group), + testAccCheckAWSSecurityGroupRuleExists("aws_security_group.nat", &nat), + testAccCheckVpcEndpointExists("aws_vpc_endpoint.s3-us-west-2", &endpoint), + + testAccCheckAWSSecurityGroupRuleAttributes("aws_security_group_rule.egress_rule_1", &group, &rule1, "egress"), + resource.TestCheckResourceAttr("aws_security_group_rule.egress_rule_1", "description", "CIDR Description"), + + testAccCheckAWSSecurityGroupRuleAttributes("aws_security_group_rule.egress_rule_2", &group, &rule2, "egress"), + resource.TestCheckResourceAttr("aws_security_group_rule.egress_rule_2", "description", "IPv6 CIDR Description"), + + setupSG, + testAccCheckAWSSecurityGroupRuleAttributes("aws_security_group_rule.egress_rule_3", &group, &rule3, "egress"), + resource.TestCheckResourceAttr("aws_security_group_rule.egress_rule_3", "description", "NAT SG Description"), + + setupPL, + testAccCheckAWSSecurityGroupRuleAttributes("aws_security_group_rule.egress_rule_4", &group, &rule4, "egress"), + resource.TestCheckResourceAttr("aws_security_group_rule.egress_rule_4", "description", "Prefix List Description"), + ), + }, + }, + }) +} + func testAccCheckAWSSecurityGroupRuleDestroy(s *terraform.State) error { conn := testAccProvider.Meta().(*AWSClient).ec2conn @@ -797,6 +930,19 @@ func testAccCheckAWSSecurityGroupRuleAttributes(n string, group *ec2.SecurityGro continue } + remaining = len(p.Ipv6Ranges) + for _, ip := range p.Ipv6Ranges { + for _, rip := range r.Ipv6Ranges { + if *ip.CidrIpv6 == *rip.CidrIpv6 { + remaining-- + } + } + } + + if remaining > 0 { + continue + } + remaining = len(p.UserIdGroupPairs) for _, ip := range p.UserIdGroupPairs { for _, rip := range r.UserIdGroupPairs { @@ -1015,6 +1161,81 @@ resource "aws_security_group_rule" "ingress_2" { } ` +func testAccAWSSecurityGroupRuleMultiDescription(rInt int, rType string) string { + var b bytes.Buffer + b.WriteString(fmt.Sprintf(` + resource "aws_vpc" "tf_sgrule_description_test" { + cidr_block = "10.0.0.0/16" + tags { Name = "tf-sg-rule-description" } + } + + resource "aws_vpc_endpoint" "s3-us-west-2" { + vpc_id = "${aws_vpc.tf_sgrule_description_test.id}" + service_name = "com.amazonaws.us-west-2.s3" + } + + resource "aws_security_group" "worker" { + name = "terraform_test_%[1]d" + vpc_id = "${aws_vpc.tf_sgrule_description_test.id}" + description = "Used in the terraform acceptance tests" + tags { Name = "tf-sg-rule-description" } + } + + resource "aws_security_group" "nat" { + name = "terraform_test_%[1]d_nat" + vpc_id = "${aws_vpc.tf_sgrule_description_test.id}" + description = "Used in the terraform acceptance tests" + tags { Name = "tf-sg-rule-description" } + } + + resource "aws_security_group_rule" "%[2]s_rule_1" { + security_group_id = "${aws_security_group.worker.id}" + description = "CIDR Description" + type = "%[2]s" + protocol = "tcp" + from_port = 22 + to_port = 22 + cidr_blocks = ["0.0.0.0/0"] + } + + resource "aws_security_group_rule" "%[2]s_rule_2" { + security_group_id = "${aws_security_group.worker.id}" + description = "IPv6 CIDR Description" + type = "%[2]s" + protocol = "tcp" + from_port = 22 + to_port = 22 + ipv6_cidr_blocks = ["::/0"] + } + + resource "aws_security_group_rule" "%[2]s_rule_3" { + security_group_id = "${aws_security_group.worker.id}" + description = "NAT SG Description" + type = "%[2]s" + protocol = "tcp" + from_port = 22 + to_port = 22 + source_security_group_id = "${aws_security_group.nat.id}" + } + `, rInt, rType)) + + if rType == "egress" { + b.WriteString(fmt.Sprintf(` + resource "aws_security_group_rule" "egress_rule_4" { + security_group_id = "${aws_security_group.worker.id}" + description = "Prefix List Description" + type = "egress" + protocol = "tcp" + from_port = 22 + to_port = 22 + prefix_list_ids = ["${aws_vpc_endpoint.s3-us-west-2.prefix_list_id}"] + } + `)) + } + + return b.String() +} + // check for GH-1985 regression const testAccAWSSecurityGroupRuleConfigSelfReference = ` provider "aws" { diff --git a/aws/resource_aws_service_discovery_private_dns_namespace.go b/aws/resource_aws_service_discovery_private_dns_namespace.go new file mode 100644 index 00000000000..d74458285ad --- /dev/null +++ b/aws/resource_aws_service_discovery_private_dns_namespace.go @@ -0,0 +1,132 @@ +package aws + +import ( + "fmt" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/servicediscovery" + "github.com/hashicorp/terraform/helper/resource" + "github.com/hashicorp/terraform/helper/schema" +) + +func resourceAwsServiceDiscoveryPrivateDnsNamespace() *schema.Resource { + return &schema.Resource{ + Create: resourceAwsServiceDiscoveryPrivateDnsNamespaceCreate, + Read: resourceAwsServiceDiscoveryPrivateDnsNamespaceRead, + Delete: resourceAwsServiceDiscoveryPrivateDnsNamespaceDelete, + + Schema: map[string]*schema.Schema{ + "name": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + }, + "description": { + Type: schema.TypeString, + Optional: true, + ForceNew: true, + }, + "vpc": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + }, + "arn": { + Type: schema.TypeString, + Computed: true, + }, + "hosted_zone": { + Type: schema.TypeString, + Computed: true, + }, + }, + } +} + +func resourceAwsServiceDiscoveryPrivateDnsNamespaceCreate(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).sdconn + + requestId := resource.PrefixedUniqueId(fmt.Sprintf("tf-%s", d.Get("name").(string))) + input := &servicediscovery.CreatePrivateDnsNamespaceInput{ + Name: aws.String(d.Get("name").(string)), + Vpc: aws.String(d.Get("vpc").(string)), + CreatorRequestId: aws.String(requestId), + } + + if v, ok := d.GetOk("description"); ok { + input.Description = aws.String(v.(string)) + } + + resp, err := conn.CreatePrivateDnsNamespace(input) + if err != nil { + return err + } + + stateConf := &resource.StateChangeConf{ + Pending: []string{servicediscovery.OperationStatusSubmitted, servicediscovery.OperationStatusPending}, + Target: []string{servicediscovery.OperationStatusSuccess}, + Refresh: servicediscoveryOperationRefreshStatusFunc(conn, *resp.OperationId), + Timeout: 5 * time.Minute, + } + + opresp, err := stateConf.WaitForState() + if err != nil { + return err + } + + d.SetId(*opresp.(*servicediscovery.GetOperationOutput).Operation.Targets["NAMESPACE"]) + return resourceAwsServiceDiscoveryPrivateDnsNamespaceRead(d, meta) +} + +func resourceAwsServiceDiscoveryPrivateDnsNamespaceRead(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).sdconn + + input := &servicediscovery.GetNamespaceInput{ + Id: aws.String(d.Id()), + } + + resp, err := conn.GetNamespace(input) + if err != nil { + if isAWSErr(err, servicediscovery.ErrCodeNamespaceNotFound, "") { + d.SetId("") + return nil + } + return err + } + + d.Set("description", resp.Namespace.Description) + d.Set("arn", resp.Namespace.Arn) + if resp.Namespace.Properties != nil { + d.Set("hosted_zone", resp.Namespace.Properties.DnsProperties.HostedZoneId) + } + return nil +} + +func resourceAwsServiceDiscoveryPrivateDnsNamespaceDelete(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).sdconn + + input := &servicediscovery.DeleteNamespaceInput{ + Id: aws.String(d.Id()), + } + + resp, err := conn.DeleteNamespace(input) + if err != nil { + return err + } + + stateConf := &resource.StateChangeConf{ + Pending: []string{servicediscovery.OperationStatusSubmitted, servicediscovery.OperationStatusPending}, + Target: []string{servicediscovery.OperationStatusSuccess}, + Refresh: servicediscoveryOperationRefreshStatusFunc(conn, *resp.OperationId), + Timeout: 5 * time.Minute, + } + + _, err = stateConf.WaitForState() + if err != nil { + return err + } + + d.SetId("") + return nil +} diff --git a/aws/resource_aws_service_discovery_private_dns_namespace_test.go b/aws/resource_aws_service_discovery_private_dns_namespace_test.go new file mode 100644 index 00000000000..7fe2a3b5474 --- /dev/null +++ b/aws/resource_aws_service_discovery_private_dns_namespace_test.go @@ -0,0 +1,78 @@ +package aws + +import ( + "fmt" + "testing" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/servicediscovery" + "github.com/hashicorp/terraform/helper/acctest" + "github.com/hashicorp/terraform/helper/resource" + "github.com/hashicorp/terraform/terraform" +) + +func TestAccAwsServiceDiscoveryPrivateDnsNamespace_basic(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAwsServiceDiscoveryPrivateDnsNamespaceDestroy, + Steps: []resource.TestStep{ + { + Config: testAccServiceDiscoveryPrivateDnsNamespaceConfig(acctest.RandString(5)), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsServiceDiscoveryPrivateDnsNamespaceExists("aws_service_discovery_private_dns_namespace.test"), + resource.TestCheckResourceAttrSet("aws_service_discovery_private_dns_namespace.test", "arn"), + resource.TestCheckResourceAttrSet("aws_service_discovery_private_dns_namespace.test", "hosted_zone"), + ), + }, + }, + }) +} + +func testAccCheckAwsServiceDiscoveryPrivateDnsNamespaceDestroy(s *terraform.State) error { + conn := testAccProvider.Meta().(*AWSClient).sdconn + + for _, rs := range s.RootModule().Resources { + if rs.Type != "aws_service_discovery_private_dns_namespace" { + continue + } + + input := &servicediscovery.GetNamespaceInput{ + Id: aws.String(rs.Primary.ID), + } + + _, err := conn.GetNamespace(input) + if err != nil { + if isAWSErr(err, servicediscovery.ErrCodeNamespaceNotFound, "") { + return nil + } + return err + } + } + return nil +} + +func testAccCheckAwsServiceDiscoveryPrivateDnsNamespaceExists(name string) resource.TestCheckFunc { + return func(s *terraform.State) error { + _, ok := s.RootModule().Resources[name] + if !ok { + return fmt.Errorf("Not found: %s", name) + } + + return nil + } +} + +func testAccServiceDiscoveryPrivateDnsNamespaceConfig(rName string) string { + return fmt.Sprintf(` +resource "aws_vpc" "test" { + cidr_block = "10.0.0.0/16" +} + +resource "aws_service_discovery_private_dns_namespace" "test" { + name = "tf-sd-%s.terraform.local" + description = "test" + vpc = "${aws_vpc.test.id}" +} +`, rName) +} diff --git a/aws/resource_aws_service_discovery_public_dns_namespace.go b/aws/resource_aws_service_discovery_public_dns_namespace.go new file mode 100644 index 00000000000..52d0353becc --- /dev/null +++ b/aws/resource_aws_service_discovery_public_dns_namespace.go @@ -0,0 +1,139 @@ +package aws + +import ( + "fmt" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/servicediscovery" + "github.com/hashicorp/terraform/helper/resource" + "github.com/hashicorp/terraform/helper/schema" +) + +func resourceAwsServiceDiscoveryPublicDnsNamespace() *schema.Resource { + return &schema.Resource{ + Create: resourceAwsServiceDiscoveryPublicDnsNamespaceCreate, + Read: resourceAwsServiceDiscoveryPublicDnsNamespaceRead, + Delete: resourceAwsServiceDiscoveryPublicDnsNamespaceDelete, + + Schema: map[string]*schema.Schema{ + "name": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + }, + "description": { + Type: schema.TypeString, + Optional: true, + ForceNew: true, + }, + "arn": { + Type: schema.TypeString, + Computed: true, + }, + "hosted_zone": { + Type: schema.TypeString, + Computed: true, + }, + }, + } +} + +func resourceAwsServiceDiscoveryPublicDnsNamespaceCreate(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).sdconn + + requestId := resource.PrefixedUniqueId(fmt.Sprintf("tf-%s", d.Get("name").(string))) + input := &servicediscovery.CreatePublicDnsNamespaceInput{ + Name: aws.String(d.Get("name").(string)), + CreatorRequestId: aws.String(requestId), + } + + if v, ok := d.GetOk("description"); ok { + input.Description = aws.String(v.(string)) + } + + resp, err := conn.CreatePublicDnsNamespace(input) + if err != nil { + return err + } + + stateConf := &resource.StateChangeConf{ + Pending: []string{servicediscovery.OperationStatusSubmitted, servicediscovery.OperationStatusPending}, + Target: []string{servicediscovery.OperationStatusSuccess}, + Refresh: servicediscoveryOperationRefreshStatusFunc(conn, *resp.OperationId), + Timeout: 5 * time.Minute, + } + + opresp, err := stateConf.WaitForState() + if err != nil { + return err + } + + d.SetId(*opresp.(*servicediscovery.GetOperationOutput).Operation.Targets["NAMESPACE"]) + return resourceAwsServiceDiscoveryPublicDnsNamespaceRead(d, meta) +} + +func resourceAwsServiceDiscoveryPublicDnsNamespaceRead(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).sdconn + + input := &servicediscovery.GetNamespaceInput{ + Id: aws.String(d.Id()), + } + + resp, err := conn.GetNamespace(input) + if err != nil { + if isAWSErr(err, servicediscovery.ErrCodeNamespaceNotFound, "") { + d.SetId("") + return nil + } + return err + } + + d.Set("description", resp.Namespace.Description) + d.Set("arn", resp.Namespace.Arn) + if resp.Namespace.Properties != nil { + d.Set("hosted_zone", resp.Namespace.Properties.DnsProperties.HostedZoneId) + } + return nil +} + +func resourceAwsServiceDiscoveryPublicDnsNamespaceDelete(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).sdconn + + input := &servicediscovery.DeleteNamespaceInput{ + Id: aws.String(d.Id()), + } + + resp, err := conn.DeleteNamespace(input) + if err != nil { + return err + } + + stateConf := &resource.StateChangeConf{ + Pending: []string{servicediscovery.OperationStatusSubmitted, servicediscovery.OperationStatusPending}, + Target: []string{servicediscovery.OperationStatusSuccess}, + Refresh: servicediscoveryOperationRefreshStatusFunc(conn, *resp.OperationId), + Timeout: 5 * time.Minute, + } + + _, err = stateConf.WaitForState() + if err != nil { + return err + } + + d.SetId("") + return nil +} + +func servicediscoveryOperationRefreshStatusFunc(conn *servicediscovery.ServiceDiscovery, oid string) resource.StateRefreshFunc { + return func() (interface{}, string, error) { + input := &servicediscovery.GetOperationInput{ + OperationId: aws.String(oid), + } + resp, err := conn.GetOperation(input) + if err != nil { + return nil, "failed", err + } + return resp, *resp.Operation.Status, nil + } +} diff --git a/aws/resource_aws_service_discovery_public_dns_namespace_test.go b/aws/resource_aws_service_discovery_public_dns_namespace_test.go new file mode 100644 index 00000000000..ff7a5fc16a4 --- /dev/null +++ b/aws/resource_aws_service_discovery_public_dns_namespace_test.go @@ -0,0 +1,73 @@ +package aws + +import ( + "fmt" + "testing" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/service/servicediscovery" + "github.com/hashicorp/terraform/helper/acctest" + "github.com/hashicorp/terraform/helper/resource" + "github.com/hashicorp/terraform/terraform" +) + +func TestAccAwsServiceDiscoveryPublicDnsNamespace_basic(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAwsServiceDiscoveryPublicDnsNamespaceDestroy, + Steps: []resource.TestStep{ + { + Config: testAccServiceDiscoveryPublicDnsNamespaceConfig(acctest.RandString(5)), + Check: resource.ComposeTestCheckFunc( + testAccCheckAwsServiceDiscoveryPublicDnsNamespaceExists("aws_service_discovery_public_dns_namespace.test"), + resource.TestCheckResourceAttrSet("aws_service_discovery_public_dns_namespace.test", "arn"), + resource.TestCheckResourceAttrSet("aws_service_discovery_public_dns_namespace.test", "hosted_zone"), + ), + }, + }, + }) +} + +func testAccCheckAwsServiceDiscoveryPublicDnsNamespaceDestroy(s *terraform.State) error { + conn := testAccProvider.Meta().(*AWSClient).sdconn + + for _, rs := range s.RootModule().Resources { + if rs.Type != "aws_service_discovery_public_dns_namespace" { + continue + } + + input := &servicediscovery.GetNamespaceInput{ + Id: aws.String(rs.Primary.ID), + } + + _, err := conn.GetNamespace(input) + if err != nil { + if isAWSErr(err, servicediscovery.ErrCodeNamespaceNotFound, "") { + return nil + } + return err + } + } + return nil +} + +func testAccCheckAwsServiceDiscoveryPublicDnsNamespaceExists(name string) resource.TestCheckFunc { + return func(s *terraform.State) error { + _, ok := s.RootModule().Resources[name] + if !ok { + return fmt.Errorf("Not found: %s", name) + } + + return nil + } +} + +func testAccServiceDiscoveryPublicDnsNamespaceConfig(rName string) string { + return fmt.Sprintf(` +resource "aws_service_discovery_public_dns_namespace" "test" { + name = "tf-sd-%s.terraform.com" + description = "test" +} +`, rName) +} diff --git a/aws/resource_aws_sfn_state_machine.go b/aws/resource_aws_sfn_state_machine.go index c2eda62bcfb..e59765e48f7 100644 --- a/aws/resource_aws_sfn_state_machine.go +++ b/aws/resource_aws_sfn_state_machine.go @@ -1,6 +1,7 @@ package aws import ( + "fmt" "log" "time" @@ -16,6 +17,7 @@ func resourceAwsSfnStateMachine() *schema.Resource { return &schema.Resource{ Create: resourceAwsSfnStateMachineCreate, Read: resourceAwsSfnStateMachineRead, + Update: resourceAwsSfnStateMachineUpdate, Delete: resourceAwsSfnStateMachineDelete, Importer: &schema.ResourceImporter{ State: schema.ImportStatePassthrough, @@ -25,7 +27,6 @@ func resourceAwsSfnStateMachine() *schema.Resource { "definition": { Type: schema.TypeString, Required: true, - ForceNew: true, ValidateFunc: validateSfnStateMachineDefinition, }, @@ -39,7 +40,6 @@ func resourceAwsSfnStateMachine() *schema.Resource { "role_arn": { Type: schema.TypeString, Required: true, - ForceNew: true, ValidateFunc: validateArn, }, @@ -125,6 +125,29 @@ func resourceAwsSfnStateMachineRead(d *schema.ResourceData, meta interface{}) er return nil } +func resourceAwsSfnStateMachineUpdate(d *schema.ResourceData, meta interface{}) error { + conn := meta.(*AWSClient).sfnconn + + params := &sfn.UpdateStateMachineInput{ + StateMachineArn: aws.String(d.Id()), + Definition: aws.String(d.Get("definition").(string)), + RoleArn: aws.String(d.Get("role_arn").(string)), + } + + _, err := conn.UpdateStateMachine(params) + + log.Printf("[DEBUG] Updating Step Function State Machine: %#v", params) + + if err != nil { + if isAWSErr(err, "StateMachineDoesNotExist", "State Machine Does Not Exist") { + return fmt.Errorf("Error updating Step Function State Machine: %s", err) + } + return err + } + + return resourceAwsSfnStateMachineRead(d, meta) +} + func resourceAwsSfnStateMachineDelete(d *schema.ResourceData, meta interface{}) error { conn := meta.(*AWSClient).sfnconn log.Printf("[DEBUG] Deleting Step Function State Machine: %s", d.Id()) diff --git a/aws/resource_aws_sfn_state_machine_test.go b/aws/resource_aws_sfn_state_machine_test.go index 408717ac478..7e3da1a0a40 100644 --- a/aws/resource_aws_sfn_state_machine_test.go +++ b/aws/resource_aws_sfn_state_machine_test.go @@ -2,6 +2,7 @@ package aws import ( "fmt" + "regexp" "testing" "github.com/aws/aws-sdk-go/aws" @@ -12,7 +13,7 @@ import ( "github.com/hashicorp/terraform/terraform" ) -func TestAccAWSSfnStateMachine_basic(t *testing.T) { +func TestAccAWSSfnStateMachine_createUpdate(t *testing.T) { name := acctest.RandString(10) resource.Test(t, resource.TestCase{ @@ -21,13 +22,25 @@ func TestAccAWSSfnStateMachine_basic(t *testing.T) { CheckDestroy: testAccCheckAWSSfnStateMachineDestroy, Steps: []resource.TestStep{ { - Config: testAccAWSSfnStateMachineBasicConfig(name), + Config: testAccAWSSfnStateMachineConfig(name, 5), Check: resource.ComposeTestCheckFunc( testAccCheckAWSSfnExists("aws_sfn_state_machine.foo"), resource.TestCheckResourceAttr("aws_sfn_state_machine.foo", "status", sfn.StateMachineStatusActive), resource.TestCheckResourceAttrSet("aws_sfn_state_machine.foo", "name"), resource.TestCheckResourceAttrSet("aws_sfn_state_machine.foo", "creation_date"), resource.TestCheckResourceAttrSet("aws_sfn_state_machine.foo", "definition"), + resource.TestMatchResourceAttr("aws_sfn_state_machine.foo", "definition", regexp.MustCompile(`.*\"MaxAttempts\": 5.*`)), + resource.TestCheckResourceAttrSet("aws_sfn_state_machine.foo", "role_arn"), + ), + }, + { + Config: testAccAWSSfnStateMachineConfig(name, 10), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSSfnExists("aws_sfn_state_machine.foo"), + resource.TestCheckResourceAttr("aws_sfn_state_machine.foo", "status", sfn.StateMachineStatusActive), + resource.TestCheckResourceAttrSet("aws_sfn_state_machine.foo", "name"), + resource.TestCheckResourceAttrSet("aws_sfn_state_machine.foo", "creation_date"), + resource.TestMatchResourceAttr("aws_sfn_state_machine.foo", "definition", regexp.MustCompile(`.*\"MaxAttempts\": 10.*`)), resource.TestCheckResourceAttrSet("aws_sfn_state_machine.foo", "role_arn"), ), }, @@ -89,7 +102,7 @@ func testAccCheckAWSSfnStateMachineDestroy(s *terraform.State) error { return fmt.Errorf("Default error in Step Function Test") } -func testAccAWSSfnStateMachineBasicConfig(rName string) string { +func testAccAWSSfnStateMachineConfig(rName string, rMaxAttempts int) string { return fmt.Sprintf(` data "aws_region" "current" { current = true @@ -190,6 +203,14 @@ resource "aws_sfn_state_machine" "foo" { "HelloWorld": { "Type": "Task", "Resource": "${aws_lambda_function.lambda_function_test.arn}", + "Retry": [ + { + "ErrorEquals": ["States.ALL"], + "IntervalSeconds": 5, + "MaxAttempts": %d, + "BackoffRate": 8.0 + } + ], "End": true } } @@ -197,5 +218,5 @@ resource "aws_sfn_state_machine" "foo" { EOF } -`, rName, rName, rName, rName, rName, rName) +`, rName, rName, rName, rName, rName, rName, rMaxAttempts) } diff --git a/aws/resource_aws_sqs_queue_policy.go b/aws/resource_aws_sqs_queue_policy.go index 3432497994b..2ec1f37821f 100644 --- a/aws/resource_aws_sqs_queue_policy.go +++ b/aws/resource_aws_sqs_queue_policy.go @@ -5,7 +5,6 @@ import ( "log" "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/service/sqs" "github.com/hashicorp/terraform/helper/schema" ) @@ -16,15 +15,20 @@ func resourceAwsSqsQueuePolicy() *schema.Resource { Read: resourceAwsSqsQueuePolicyRead, Update: resourceAwsSqsQueuePolicyUpsert, Delete: resourceAwsSqsQueuePolicyDelete, + Importer: &schema.ResourceImporter{ + State: schema.ImportStatePassthrough, + }, + MigrateState: resourceAwsSqsQueuePolicyMigrateState, + SchemaVersion: 1, Schema: map[string]*schema.Schema{ - "queue_url": &schema.Schema{ + "queue_url": { Type: schema.TypeString, Required: true, ForceNew: true, }, - "policy": &schema.Schema{ + "policy": { Type: schema.TypeString, Required: true, ValidateFunc: validateJsonString, @@ -48,20 +52,20 @@ func resourceAwsSqsQueuePolicyUpsert(d *schema.ResourceData, meta interface{}) e return fmt.Errorf("Error updating SQS attributes: %s", err) } - d.SetId("sqs-policy-" + url) + d.SetId(url) return resourceAwsSqsQueuePolicyRead(d, meta) } func resourceAwsSqsQueuePolicyRead(d *schema.ResourceData, meta interface{}) error { conn := meta.(*AWSClient).sqsconn - url := d.Get("queue_url").(string) + out, err := conn.GetQueueAttributes(&sqs.GetQueueAttributesInput{ - QueueUrl: aws.String(url), + QueueUrl: aws.String(d.Id()), AttributeNames: []*string{aws.String("Policy")}, }) if err != nil { - if awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == "AWS.SimpleQueueService.NonExistentQueue" { + if isAWSErr(err, "AWS.SimpleQueueService.NonExistentQueue", "") { log.Printf("[WARN] SQS Queue (%s) not found", d.Id()) d.SetId("") return nil @@ -78,6 +82,7 @@ func resourceAwsSqsQueuePolicyRead(d *schema.ResourceData, meta interface{}) err } d.Set("policy", policy) + d.Set("queue_url", d.Id()) return nil } @@ -85,10 +90,9 @@ func resourceAwsSqsQueuePolicyRead(d *schema.ResourceData, meta interface{}) err func resourceAwsSqsQueuePolicyDelete(d *schema.ResourceData, meta interface{}) error { conn := meta.(*AWSClient).sqsconn - url := d.Get("queue_url").(string) - log.Printf("[DEBUG] Deleting SQS Queue Policy of %s", url) + log.Printf("[DEBUG] Deleting SQS Queue Policy of %s", d.Id()) _, err := conn.SetQueueAttributes(&sqs.SetQueueAttributesInput{ - QueueUrl: aws.String(url), + QueueUrl: aws.String(d.Id()), Attributes: aws.StringMap(map[string]string{ "Policy": "", }), diff --git a/aws/resource_aws_sqs_queue_policy_migrate.go b/aws/resource_aws_sqs_queue_policy_migrate.go new file mode 100644 index 00000000000..2906c171919 --- /dev/null +++ b/aws/resource_aws_sqs_queue_policy_migrate.go @@ -0,0 +1,38 @@ +package aws + +import ( + "fmt" + "log" + + "github.com/hashicorp/terraform/terraform" +) + +func resourceAwsSqsQueuePolicyMigrateState( + v int, is *terraform.InstanceState, meta interface{}) (*terraform.InstanceState, error) { + switch v { + case 0: + log.Println("[INFO] Found AWS SQS Query Policy State v0; migrating to v1") + return migrateSqsQueuePolicyStateV0toV1(is) + default: + return is, fmt.Errorf("Unexpected schema version: %d", v) + } +} + +func migrateSqsQueuePolicyStateV0toV1(is *terraform.InstanceState) (*terraform.InstanceState, error) { + + if is.Empty() { + log.Println("[DEBUG] Empty InstanceState; nothing to migrate.") + + return is, nil + } + + log.Printf("[DEBUG] Attributes before migration: %#v", is.Attributes) + + is.Attributes["id"] = is.Attributes["queue_url"] + is.ID = is.Attributes["queue_url"] + + log.Printf("[DEBUG] Attributes after migration: %#v, new id: %s", is.Attributes, is.Attributes["queue_url"]) + + return is, nil + +} diff --git a/aws/resource_aws_sqs_queue_policy_migrate_test.go b/aws/resource_aws_sqs_queue_policy_migrate_test.go new file mode 100644 index 00000000000..6a9954a7d27 --- /dev/null +++ b/aws/resource_aws_sqs_queue_policy_migrate_test.go @@ -0,0 +1,45 @@ +package aws + +import ( + "testing" + + "github.com/hashicorp/terraform/terraform" +) + +func TestAWSSqsQueuePolicyMigrateState(t *testing.T) { + + cases := map[string]struct { + StateVersion int + ID string + Attributes map[string]string + Expected string + Meta interface{} + }{ + "v0_1": { + StateVersion: 0, + ID: "sqs-policy-https://queue.amazonaws.com/0123456789012/myqueue", + Attributes: map[string]string{ + "policy": "{}", + "queue_url": "https://queue.amazonaws.com/0123456789012/myqueue", + }, + Expected: "https://queue.amazonaws.com/0123456789012/myqueue", + }, + } + + for tn, tc := range cases { + is := &terraform.InstanceState{ + ID: tc.ID, + Attributes: tc.Attributes, + } + is, err := resourceAwsSqsQueuePolicyMigrateState( + tc.StateVersion, is, tc.Meta) + + if err != nil { + t.Fatalf("bad: %s, err: %#v", tn, err) + } + + if is.ID != tc.Expected { + t.Fatalf("bad sqs queue policy id: %s\n\n expected: %s", is.ID, tc.Expected) + } + } +} diff --git a/aws/resource_aws_sqs_queue_policy_test.go b/aws/resource_aws_sqs_queue_policy_test.go index c663cac1943..72d5ab743e0 100644 --- a/aws/resource_aws_sqs_queue_policy_test.go +++ b/aws/resource_aws_sqs_queue_policy_test.go @@ -28,6 +28,28 @@ func TestAccAWSSQSQueuePolicy_basic(t *testing.T) { }) } +func TestAccAWSSQSQueuePolicy_import(t *testing.T) { + queueName := fmt.Sprintf("sqs-queue-%s", acctest.RandString(5)) + resourceName := "aws_sqs_queue_policy.test" + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSSQSQueueDestroy, + Steps: []resource.TestStep{ + resource.TestStep{ + Config: testAccAWSSQSPolicyConfig_basic(queueName), + }, + + resource.TestStep{ + ResourceName: resourceName, + ImportState: true, + ImportStateVerify: true, + }, + }, + }) +} + func testAccAWSSQSPolicyConfig_basic(r string) string { return fmt.Sprintf(testAccAWSSQSPolicyConfig_basic_tpl, r) } diff --git a/aws/resource_aws_ssm_association.go b/aws/resource_aws_ssm_association.go index 75c6ef3361c..e44363cd27e 100644 --- a/aws/resource_aws_ssm_association.go +++ b/aws/resource_aws_ssm_association.go @@ -21,6 +21,10 @@ func resourceAwsSsmAssociation() *schema.Resource { SchemaVersion: 1, Schema: map[string]*schema.Schema{ + "association_name": { + Type: schema.TypeString, + Optional: true, + }, "association_id": { Type: schema.TypeString, Computed: true, @@ -99,6 +103,10 @@ func resourceAwsSsmAssociationCreate(d *schema.ResourceData, meta interface{}) e Name: aws.String(d.Get("name").(string)), } + if v, ok := d.GetOk("association_name"); ok { + assosciationInput.AssociationName = aws.String(v.(string)) + } + if v, ok := d.GetOk("instance_id"); ok { assosciationInput.InstanceId = aws.String(v.(string)) } @@ -157,6 +165,7 @@ func resourceAwsSsmAssociationRead(d *schema.ResourceData, meta interface{}) err } association := resp.AssociationDescription + d.Set("association_name", association.AssociationName) d.Set("instance_id", association.InstanceId) d.Set("name", association.Name) d.Set("parameters", association.Parameters) @@ -184,6 +193,10 @@ func resourceAwsSsmAssocationUpdate(d *schema.ResourceData, meta interface{}) er AssociationId: aws.String(d.Get("association_id").(string)), } + if d.HasChange("association_name") { + associationInput.AssociationName = aws.String(d.Get("association_name").(string)) + } + if d.HasChange("schedule_expression") { associationInput.ScheduleExpression = aws.String(d.Get("schedule_expression").(string)) } diff --git a/aws/resource_aws_ssm_association_test.go b/aws/resource_aws_ssm_association_test.go index bea24bd3158..791cc92b88d 100644 --- a/aws/resource_aws_ssm_association_test.go +++ b/aws/resource_aws_ssm_association_test.go @@ -73,6 +73,35 @@ func TestAccAWSSSMAssociation_withParameters(t *testing.T) { }) } +func TestAccAWSSSMAssociation_withAssociationName(t *testing.T) { + assocName1 := acctest.RandString(10) + assocName2 := acctest.RandString(10) + rName := acctest.RandString(5) + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSSSMAssociationDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSSSMAssociationBasicConfigWithAssociationName(rName, assocName1), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSSSMAssociationExists("aws_ssm_association.foo"), + resource.TestCheckResourceAttr( + "aws_ssm_association.foo", "association_name", assocName1), + ), + }, + { + Config: testAccAWSSSMAssociationBasicConfigWithAssociationName(rName, assocName2), + Check: resource.ComposeTestCheckFunc( + testAccCheckAWSSSMAssociationExists("aws_ssm_association.foo"), + resource.TestCheckResourceAttr( + "aws_ssm_association.foo", "association_name", assocName2), + ), + }, + }, + }) +} + func TestAccAWSSSMAssociation_withDocumentVersion(t *testing.T) { name := acctest.RandString(10) resource.Test(t, resource.TestCase{ @@ -648,3 +677,39 @@ resource "aws_ssm_association" "foo" { } }`, rName, rName, rName) } + +func testAccAWSSSMAssociationBasicConfigWithAssociationName(rName, assocName string) string { + return fmt.Sprintf(` +resource "aws_ssm_document" "foo_document" { + name = "test_document_association-%s", + document_type = "Command" + content = < 0 { + return []map[string]interface{}{m} + } + + return []map[string]interface{}{} +} + +func expandCognitoUserPoolAdminCreateUserConfig(config map[string]interface{}) *cognitoidentityprovider.AdminCreateUserConfigType { + configs := &cognitoidentityprovider.AdminCreateUserConfigType{} + + if v, ok := config["allow_admin_create_user_only"]; ok { + configs.AllowAdminCreateUserOnly = aws.Bool(v.(bool)) + } + + if v, ok := config["invite_message_template"]; ok { + data := v.([]interface{}) + + if len(data) > 0 { + m, ok := data[0].(map[string]interface{}) + + if ok { + imt := &cognitoidentityprovider.MessageTemplateType{} + + if v, ok := m["email_message"]; ok { + imt.EmailMessage = aws.String(v.(string)) + } + + if v, ok := m["email_subject"]; ok { + imt.EmailSubject = aws.String(v.(string)) + } + + if v, ok := m["sms_message"]; ok { + imt.SMSMessage = aws.String(v.(string)) + } + + configs.InviteMessageTemplate = imt + } + } + } + + configs.UnusedAccountValidityDays = aws.Int64(int64(config["unused_account_validity_days"].(int))) + + return configs +} + +func flattenCognitoUserPoolAdminCreateUserConfig(s *cognitoidentityprovider.AdminCreateUserConfigType) []map[string]interface{} { + config := map[string]interface{}{} + + if s == nil { + return nil + } + + if s.AllowAdminCreateUserOnly != nil { + config["allow_admin_create_user_only"] = *s.AllowAdminCreateUserOnly + } + + if s.InviteMessageTemplate != nil { + subconfig := map[string]interface{}{} + + if s.InviteMessageTemplate.EmailMessage != nil { + subconfig["email_message"] = *s.InviteMessageTemplate.EmailMessage + } + + if s.InviteMessageTemplate.EmailSubject != nil { + subconfig["email_subject"] = *s.InviteMessageTemplate.EmailSubject + } + + if s.InviteMessageTemplate.SMSMessage != nil { + subconfig["sms_message"] = *s.InviteMessageTemplate.SMSMessage + } + + if len(subconfig) > 0 { + config["invite_message_template"] = []map[string]interface{}{subconfig} + } + } + + config["unused_account_validity_days"] = *s.UnusedAccountValidityDays + + return []map[string]interface{}{config} +} + +func expandCognitoUserPoolDeviceConfiguration(config map[string]interface{}) *cognitoidentityprovider.DeviceConfigurationType { + configs := &cognitoidentityprovider.DeviceConfigurationType{} + + if v, ok := config["challenge_required_on_new_device"]; ok { + configs.ChallengeRequiredOnNewDevice = aws.Bool(v.(bool)) + } + + if v, ok := config["device_only_remembered_on_user_prompt"]; ok { + configs.DeviceOnlyRememberedOnUserPrompt = aws.Bool(v.(bool)) + } + + return configs +} + +func flattenCognitoUserPoolDeviceConfiguration(s *cognitoidentityprovider.DeviceConfigurationType) []map[string]interface{} { + config := map[string]interface{}{} + + if s == nil { + return nil + } + + if s.ChallengeRequiredOnNewDevice != nil { + config["challenge_required_on_new_device"] = *s.ChallengeRequiredOnNewDevice + } + + if s.DeviceOnlyRememberedOnUserPrompt != nil { + config["device_only_remembered_on_user_prompt"] = *s.DeviceOnlyRememberedOnUserPrompt + } + + return []map[string]interface{}{config} +} + +func expandCognitoUserPoolLambdaConfig(config map[string]interface{}) *cognitoidentityprovider.LambdaConfigType { + configs := &cognitoidentityprovider.LambdaConfigType{} + + if v, ok := config["create_auth_challenge"]; ok && v.(string) != "" { + configs.CreateAuthChallenge = aws.String(v.(string)) + } + + if v, ok := config["custom_message"]; ok && v.(string) != "" { + configs.CustomMessage = aws.String(v.(string)) + } + + if v, ok := config["define_auth_challenge"]; ok && v.(string) != "" { + configs.DefineAuthChallenge = aws.String(v.(string)) + } + + if v, ok := config["post_authentication"]; ok && v.(string) != "" { + configs.PostAuthentication = aws.String(v.(string)) + } + + if v, ok := config["post_confirmation"]; ok && v.(string) != "" { + configs.PostConfirmation = aws.String(v.(string)) + } + + if v, ok := config["pre_authentication"]; ok && v.(string) != "" { + configs.PreAuthentication = aws.String(v.(string)) + } + + if v, ok := config["pre_sign_up"]; ok && v.(string) != "" { + configs.PreSignUp = aws.String(v.(string)) + } + + if v, ok := config["verify_auth_challenge_response"]; ok && v.(string) != "" { + configs.VerifyAuthChallengeResponse = aws.String(v.(string)) + } + + return configs +} + +func flattenCognitoUserPoolLambdaConfig(s *cognitoidentityprovider.LambdaConfigType) []map[string]interface{} { + m := map[string]interface{}{} + + if s == nil { + return nil + } + + if s.CreateAuthChallenge != nil { + m["create_auth_challenge"] = *s.CreateAuthChallenge + } + + if s.CustomMessage != nil { + m["custom_message"] = *s.CustomMessage + } + + if s.DefineAuthChallenge != nil { + m["define_auth_challenge"] = *s.DefineAuthChallenge + } + + if s.PostAuthentication != nil { + m["post_authentication"] = *s.PostAuthentication + } + + if s.PostConfirmation != nil { + m["post_confirmation"] = *s.PostConfirmation + } + + if s.PreAuthentication != nil { + m["pre_authentication"] = *s.PreAuthentication + } + + if s.PreSignUp != nil { + m["pre_sign_up"] = *s.PreSignUp + } + + if s.VerifyAuthChallengeResponse != nil { + m["verify_auth_challenge_response"] = *s.VerifyAuthChallengeResponse + } + + if len(m) > 0 { + return []map[string]interface{}{m} + } + + return []map[string]interface{}{} +} + +func expandCognitoUserPoolPasswordPolicy(config map[string]interface{}) *cognitoidentityprovider.PasswordPolicyType { + configs := &cognitoidentityprovider.PasswordPolicyType{} + + if v, ok := config["minimum_length"]; ok { + configs.MinimumLength = aws.Int64(int64(v.(int))) + } + + if v, ok := config["require_lowercase"]; ok { + configs.RequireLowercase = aws.Bool(v.(bool)) + } + + if v, ok := config["require_numbers"]; ok { + configs.RequireNumbers = aws.Bool(v.(bool)) + } + + if v, ok := config["require_symbols"]; ok { + configs.RequireSymbols = aws.Bool(v.(bool)) + } + + if v, ok := config["require_uppercase"]; ok { + configs.RequireUppercase = aws.Bool(v.(bool)) + } + + return configs +} + +func flattenCognitoUserPoolPasswordPolicy(s *cognitoidentityprovider.PasswordPolicyType) []map[string]interface{} { + m := map[string]interface{}{} + + if s == nil { + return nil + } + + if s.MinimumLength != nil { + m["minimum_length"] = *s.MinimumLength + } + + if s.RequireLowercase != nil { + m["require_lowercase"] = *s.RequireLowercase + } + + if s.RequireNumbers != nil { + m["require_numbers"] = *s.RequireNumbers + } + + if s.RequireSymbols != nil { + m["require_symbols"] = *s.RequireSymbols + } + + if s.RequireUppercase != nil { + m["require_uppercase"] = *s.RequireUppercase + } + + if len(m) > 0 { + return []map[string]interface{}{m} + } + + return []map[string]interface{}{} +} + +func expandCognitoUserPoolSchema(inputs []interface{}) []*cognitoidentityprovider.SchemaAttributeType { + configs := make([]*cognitoidentityprovider.SchemaAttributeType, len(inputs), len(inputs)) + + for i, input := range inputs { + param := input.(map[string]interface{}) + config := &cognitoidentityprovider.SchemaAttributeType{} + + if v, ok := param["attribute_data_type"]; ok { + config.AttributeDataType = aws.String(v.(string)) + } + + if v, ok := param["developer_only_attribute"]; ok { + config.DeveloperOnlyAttribute = aws.Bool(v.(bool)) + } + + if v, ok := param["mutable"]; ok { + config.Mutable = aws.Bool(v.(bool)) + } + + if v, ok := param["name"]; ok { + config.Name = aws.String(v.(string)) + } + + if v, ok := param["required"]; ok { + config.Required = aws.Bool(v.(bool)) + } + + if v, ok := param["number_attribute_constraints"]; ok { + data := v.([]interface{}) + + if len(data) > 0 { + m, ok := data[0].(map[string]interface{}) + if ok { + numberAttributeConstraintsType := &cognitoidentityprovider.NumberAttributeConstraintsType{} + + if v, ok := m["min_value"]; ok && v.(string) != "" { + numberAttributeConstraintsType.MinValue = aws.String(v.(string)) + } + + if v, ok := m["max_value"]; ok && v.(string) != "" { + numberAttributeConstraintsType.MaxValue = aws.String(v.(string)) + } + + config.NumberAttributeConstraints = numberAttributeConstraintsType + } + } + } + + if v, ok := param["string_attribute_constraints"]; ok { + data := v.([]interface{}) + + if len(data) > 0 { + m, _ := data[0].(map[string]interface{}) + if ok { + stringAttributeConstraintsType := &cognitoidentityprovider.StringAttributeConstraintsType{} + + if l, ok := m["min_length"]; ok && l.(string) != "" { + stringAttributeConstraintsType.MinLength = aws.String(l.(string)) + } + + if l, ok := m["max_length"]; ok && l.(string) != "" { + stringAttributeConstraintsType.MaxLength = aws.String(l.(string)) + } + + config.StringAttributeConstraints = stringAttributeConstraintsType + } + } + } + + configs[i] = config + } + + return configs +} + +func flattenCognitoUserPoolSchema(inputs []*cognitoidentityprovider.SchemaAttributeType) []map[string]interface{} { + values := make([]map[string]interface{}, len(inputs), len(inputs)) + + for i, input := range inputs { + value := make(map[string]interface{}) + + if input == nil { + return nil + } + + if input.AttributeDataType != nil { + value["attribute_data_type"] = *input.AttributeDataType + } + + if input.DeveloperOnlyAttribute != nil { + value["developer_only_attribute"] = *input.DeveloperOnlyAttribute + } + + if input.Mutable != nil { + value["mutable"] = *input.Mutable + } + + if input.Name != nil { + value["name"] = *input.Name + } + + if input.NumberAttributeConstraints != nil { + subvalue := make(map[string]interface{}) + + if input.NumberAttributeConstraints.MinValue != nil { + subvalue["min_value"] = input.NumberAttributeConstraints.MinValue + } + + if input.NumberAttributeConstraints.MaxValue != nil { + subvalue["max_value"] = input.NumberAttributeConstraints.MaxValue + } + + value["number_attribute_constraints"] = subvalue + } + + if input.Required != nil { + value["required"] = *input.Required + } + + if input.StringAttributeConstraints != nil { + subvalue := make(map[string]interface{}) + + if input.StringAttributeConstraints.MinLength != nil { + subvalue["min_length"] = input.StringAttributeConstraints.MinLength + } + + if input.StringAttributeConstraints.MaxLength != nil { + subvalue["max_length"] = input.StringAttributeConstraints.MaxLength + } + + value["string_attribute_constraints"] = subvalue + } + + values[i] = value + } + + return values +} + +func expandCognitoUserPoolSmsConfiguration(config map[string]interface{}) *cognitoidentityprovider.SmsConfigurationType { + smsConfigurationType := &cognitoidentityprovider.SmsConfigurationType{ + SnsCallerArn: aws.String(config["sns_caller_arn"].(string)), + } + + if v, ok := config["external_id"]; ok && v.(string) != "" { + smsConfigurationType.ExternalId = aws.String(v.(string)) + } + + return smsConfigurationType +} + +func flattenCognitoUserPoolSmsConfiguration(s *cognitoidentityprovider.SmsConfigurationType) []map[string]interface{} { + m := map[string]interface{}{} + + if s == nil { + return nil + } + + if s.ExternalId != nil { + m["external_id"] = *s.ExternalId + } + m["sns_caller_arn"] = *s.SnsCallerArn + + return []map[string]interface{}{m} +} + +func expandCognitoUserPoolVerificationMessageTemplate(config map[string]interface{}) *cognitoidentityprovider.VerificationMessageTemplateType { + verificationMessageTemplateType := &cognitoidentityprovider.VerificationMessageTemplateType{} + + if v, ok := config["default_email_option"]; ok && v.(string) != "" { + verificationMessageTemplateType.DefaultEmailOption = aws.String(v.(string)) + } + + if v, ok := config["email_message"]; ok && v.(string) != "" { + verificationMessageTemplateType.EmailMessage = aws.String(v.(string)) + } + + if v, ok := config["email_message_by_link"]; ok && v.(string) != "" { + verificationMessageTemplateType.EmailMessageByLink = aws.String(v.(string)) + } + + if v, ok := config["email_subject"]; ok && v.(string) != "" { + verificationMessageTemplateType.EmailSubject = aws.String(v.(string)) + } + + if v, ok := config["email_subject_by_link"]; ok && v.(string) != "" { + verificationMessageTemplateType.EmailSubjectByLink = aws.String(v.(string)) + } + + if v, ok := config["sms_message"]; ok && v.(string) != "" { + verificationMessageTemplateType.SmsMessage = aws.String(v.(string)) + } + + return verificationMessageTemplateType +} + +func flattenCognitoUserPoolVerificationMessageTemplate(s *cognitoidentityprovider.VerificationMessageTemplateType) []map[string]interface{} { + m := map[string]interface{}{} + + if s == nil { + return nil + } + + if s.DefaultEmailOption != nil { + m["default_email_option"] = *s.DefaultEmailOption + } + + if s.EmailMessage != nil { + m["email_message"] = *s.EmailMessage + } + + if s.EmailMessageByLink != nil { + m["email_message_by_link"] = *s.EmailMessageByLink + } + + if s.EmailSubject != nil { + m["email_subject"] = *s.EmailSubject + } + + if s.EmailSubjectByLink != nil { + m["email_subject_by_link"] = *s.EmailSubjectByLink + } + + if s.SmsMessage != nil { + m["sms_message"] = *s.SmsMessage + } + + if len(m) > 0 { + return []map[string]interface{}{m} + } + + return []map[string]interface{}{} +} + func buildLambdaInvokeArn(lambdaArn, region string) string { apiVersion := "2015-03-31" return fmt.Sprintf("arn:aws:apigateway:%s:lambda:path/%s/functions/%s/invocations", @@ -2154,7 +2692,7 @@ func sliceContainsMap(l []interface{}, m map[string]interface{}) (int, bool) { } func expandAwsSsmTargets(d *schema.ResourceData) []*ssm.Target { - var targets []*ssm.Target + targets := make([]*ssm.Target, 0) targetConfig := d.Get("targets").([]interface{}) @@ -2178,13 +2716,13 @@ func flattenAwsSsmTargets(targets []*ssm.Target) []map[string]interface{} { } result := make([]map[string]interface{}, 0, len(targets)) - target := targets[0] - - t := make(map[string]interface{}) - t["key"] = *target.Key - t["values"] = flattenStringList(target.Values) + for _, target := range targets { + t := make(map[string]interface{}, 1) + t["key"] = *target.Key + t["values"] = flattenStringList(target.Values) - result = append(result, t) + result = append(result, t) + } return result } @@ -2374,3 +2912,150 @@ func flattenRedshiftSnapshotCopy(scs *redshift.ClusterSnapshotCopyStatus) []inte return []interface{}{cfg} } + +// cannonicalXML reads XML in a string and re-writes it canonically, used for +// comparing XML for logical equivalency +func canonicalXML(s string) (string, error) { + doc := etree.NewDocument() + doc.WriteSettings.CanonicalEndTags = true + if err := doc.ReadFromString(s); err != nil { + return "", err + } + + rawString, err := doc.WriteToString() + if err != nil { + return "", err + } + + re := regexp.MustCompile(`\s`) + results := re.ReplaceAllString(rawString, "") + return results, nil +} + +func expandMqUsers(cfg []interface{}) []*mq.User { + users := make([]*mq.User, len(cfg), len(cfg)) + for i, m := range cfg { + u := m.(map[string]interface{}) + user := mq.User{ + Username: aws.String(u["username"].(string)), + Password: aws.String(u["password"].(string)), + } + if v, ok := u["console_access"]; ok { + user.ConsoleAccess = aws.Bool(v.(bool)) + } + if v, ok := u["groups"]; ok { + user.Groups = expandStringList(v.(*schema.Set).List()) + } + users[i] = &user + } + return users +} + +// We use cfgdUsers to get & set the password +func flattenMqUsers(users []*mq.User, cfgUsers []interface{}) *schema.Set { + existingPairs := make(map[string]string, 0) + for _, u := range cfgUsers { + user := u.(map[string]interface{}) + username := user["username"].(string) + existingPairs[username] = user["password"].(string) + } + + out := make([]interface{}, 0) + for _, u := range users { + password := "" + if p, ok := existingPairs[*u.Username]; ok { + password = p + } + m := map[string]interface{}{ + "username": *u.Username, + "password": password, + } + if u.ConsoleAccess != nil { + m["console_access"] = *u.ConsoleAccess + } + if len(u.Groups) > 0 { + m["groups"] = schema.NewSet(schema.HashString, flattenStringList(u.Groups)) + } + out = append(out, m) + } + return schema.NewSet(resourceAwsMqUserHash, out) +} + +func expandMqWeeklyStartTime(cfg []interface{}) *mq.WeeklyStartTime { + if len(cfg) < 1 { + return nil + } + + m := cfg[0].(map[string]interface{}) + return &mq.WeeklyStartTime{ + DayOfWeek: aws.String(m["day_of_week"].(string)), + TimeOfDay: aws.String(m["time_of_day"].(string)), + TimeZone: aws.String(m["time_zone"].(string)), + } +} + +func flattenMqWeeklyStartTime(wst *mq.WeeklyStartTime) []interface{} { + if wst == nil { + return []interface{}{} + } + m := make(map[string]interface{}, 0) + if wst.DayOfWeek != nil { + m["day_of_week"] = *wst.DayOfWeek + } + if wst.TimeOfDay != nil { + m["time_of_day"] = *wst.TimeOfDay + } + if wst.TimeZone != nil { + m["time_zone"] = *wst.TimeZone + } + return []interface{}{m} +} + +func expandMqConfigurationId(cfg []interface{}) *mq.ConfigurationId { + if len(cfg) < 1 { + return nil + } + + m := cfg[0].(map[string]interface{}) + out := mq.ConfigurationId{ + Id: aws.String(m["id"].(string)), + } + if v, ok := m["revision"].(int); ok && v > 0 { + out.Revision = aws.Int64(int64(v)) + } + + return &out +} + +func flattenMqConfigurationId(cid *mq.ConfigurationId) []interface{} { + if cid == nil { + return []interface{}{} + } + m := make(map[string]interface{}, 0) + if cid.Id != nil { + m["id"] = *cid.Id + } + if cid.Revision != nil { + m["revision"] = *cid.Revision + } + return []interface{}{m} +} + +func flattenMqBrokerInstances(instances []*mq.BrokerInstance) []interface{} { + if len(instances) == 0 { + return []interface{}{} + } + l := make([]interface{}, len(instances), len(instances)) + for i, instance := range instances { + m := make(map[string]interface{}, 0) + if instance.ConsoleURL != nil { + m["console_url"] = *instance.ConsoleURL + } + if len(instance.Endpoints) > 0 { + m["endpoints"] = aws.StringValueSlice(instance.Endpoints) + } + l[i] = m + } + + return l +} diff --git a/aws/structure_test.go b/aws/structure_test.go index 2f81f7ff477..54897d6794c 100644 --- a/aws/structure_test.go +++ b/aws/structure_test.go @@ -1322,3 +1322,188 @@ func TestNormalizeCloudFormationTemplate(t *testing.T) { t.Fatalf("Got:\n\n%s\n\nExpected:\n\n%s\n", actual, validNormalizedYaml) } } + +func TestCanonicalXML(t *testing.T) { + cases := []struct { + Name string + Config string + Expected string + ExpectError bool + }{ + { + Name: "Config sample from MSDN", + Config: testExampleXML_from_msdn, + Expected: testExampleXML_from_msdn, + }, + { + Name: "Config sample from MSDN, modified", + Config: testExampleXML_from_msdn, + Expected: testExampleXML_from_msdn_modified, + }, + { + Name: "Config sample from MSDN, flaw", + Config: testExampleXML_from_msdn, + Expected: testExampleXML_from_msdn_flawed, + ExpectError: true, + }, + { + Name: "A note", + Config: ` + + +You +Me +Reminder +You're awesome + + + +`, + Expected: ` + + + You + Me + + Reminder + + You're awesome + + + +`, + }, + } + + for _, tc := range cases { + t.Run(tc.Name, func(t *testing.T) { + config, err := canonicalXML(tc.Config) + if err != nil { + t.Fatalf("Error getting canonical xml for given config: %s", err) + } + expected, err := canonicalXML(tc.Expected) + if err != nil { + t.Fatalf("Error getting canonical xml for expected config: %s", err) + } + + if config != expected { + if !tc.ExpectError { + t.Fatalf("Error matching canonical xmls:\n\tconfig: %s\n\n\texpected: %s\n", config, expected) + } + } + }) + } +} + +const testExampleXML_from_msdn = ` + + + + Alice Smith + 123 Maple Street + Mill Valley + CA + 90952 + + + Robert Smith + 8 Oak Avenue + Old Town + PA + 95819 + + Hurry, my lawn is going wild! + + + Lawnmower + 1 + 148.95 + Confirm this is electric + + + Baby Monitor + 1 + 39.98 + 1999-05-21 + + + + + +` + +const testExampleXML_from_msdn_modified = ` + + + + Alice Smith + 123 Maple Street + Mill Valley + CA + 90952 + + + Robert Smith + 8 Oak Avenue + Old Town + PA + 95819 + + Hurry, my lawn is going wild! + + + Lawnmower + 1 + 148.95 + Confirm this is electric + + + Baby Monitor + 1 + 39.98 + 1999-05-21 + + + + + + +` + +const testExampleXML_from_msdn_flawed = ` + + + + Alice Smith + 123 Maple Street + Mill Valley + CA + 90952 + + + Robert Smith + 8 Oak Avenue + Old Town + PA + 95819 + + Hurry, my lawn is going wild! + + + Lawnmower + 1 + 148.95 + Confirm this is electric + + + Baby Monitor + 1 + 39.98 + 1999-05-21 + + + flaw + + + +` diff --git a/aws/validators.go b/aws/validators.go index 991a7070cc9..9c5ecb4da85 100644 --- a/aws/validators.go +++ b/aws/validators.go @@ -10,6 +10,7 @@ import ( "github.com/aws/aws-sdk-go/service/apigateway" "github.com/aws/aws-sdk-go/service/cognitoidentity" + "github.com/aws/aws-sdk-go/service/cognitoidentityprovider" "github.com/aws/aws-sdk-go/service/s3" "github.com/hashicorp/terraform/helper/schema" ) @@ -281,6 +282,18 @@ func validateCloudWatchEventRuleName(v interface{}, k string) (ws []string, erro return } +func validateCloudWatchLogResourcePolicyDocument(v interface{}, k string) (ws []string, errors []error) { + value := v.(string) + // http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutResourcePolicy.html + if len(value) > 5120 || (len(value) == 0) { + errors = append(errors, fmt.Errorf("CloudWatch log resource policy document must be between 1 and 5120 characters.")) + } + if _, err := normalizeJsonString(v); err != nil { + errors = append(errors, fmt.Errorf("%q contains an invalid JSON: %s", k, err)) + } + return +} + func validateMaxLength(length int) schema.SchemaValidateFunc { return func(v interface{}, k string) (ws []string, errors []error) { value := v.(string) @@ -603,6 +616,16 @@ func validateS3BucketReplicationRulePrefix(v interface{}, k string) (ws []string return } +func validateS3BucketServerSideEncryptionAlgorithm(v interface{}, k string) (ws []string, errors []error) { + value := v.(string) + if value != s3.ServerSideEncryptionAes256 && value != s3.ServerSideEncryptionAwsKms { + errors = append(errors, fmt.Errorf( + "%q must be one of %q or %q", k, s3.ServerSideEncryptionAwsKms, s3.ServerSideEncryptionAes256)) + } + + return +} + func validateS3BucketReplicationDestinationStorageClass(v interface{}, k string) (ws []string, errors []error) { value := v.(string) if value != s3.StorageClassStandard && value != s3.StorageClassStandardIa && value != s3.StorageClassReducedRedundancy { @@ -1366,7 +1389,7 @@ func validateAwsKmsName(v interface{}, k string) (ws []string, es []error) { func validateCognitoIdentityPoolName(v interface{}, k string) (ws []string, errors []error) { val := v.(string) if !regexp.MustCompile("^[\\w _]+$").MatchString(val) { - errors = append(errors, fmt.Errorf("%q must contain only alphanumeric caracters and spaces", k)) + errors = append(errors, fmt.Errorf("%q must contain only alphanumeric characters and spaces", k)) } return @@ -1375,11 +1398,11 @@ func validateCognitoIdentityPoolName(v interface{}, k string) (ws []string, erro func validateCognitoProviderDeveloperName(v interface{}, k string) (ws []string, errors []error) { value := v.(string) if len(value) > 100 { - errors = append(errors, fmt.Errorf("%q cannot be longer than 100 caracters", k)) + errors = append(errors, fmt.Errorf("%q cannot be longer than 100 characters", k)) } if !regexp.MustCompile("^[\\w._-]+$").MatchString(value) { - errors = append(errors, fmt.Errorf("%q must contain only alphanumeric caracters, dots, underscores and hyphens", k)) + errors = append(errors, fmt.Errorf("%q must contain only alphanumeric characters, dots, underscores and hyphens", k)) } return @@ -1392,11 +1415,11 @@ func validateCognitoSupportedLoginProviders(v interface{}, k string) (ws []strin } if len(value) > 128 { - errors = append(errors, fmt.Errorf("%q cannot be longer than 128 caracters", k)) + errors = append(errors, fmt.Errorf("%q cannot be longer than 128 characters", k)) } if !regexp.MustCompile("^[\\w.;_/-]+$").MatchString(value) { - errors = append(errors, fmt.Errorf("%q must contain only alphanumeric caracters, dots, semicolons, underscores, slashes and hyphens", k)) + errors = append(errors, fmt.Errorf("%q must contain only alphanumeric characters, dots, semicolons, underscores, slashes and hyphens", k)) } return @@ -1409,11 +1432,11 @@ func validateCognitoIdentityProvidersClientId(v interface{}, k string) (ws []str } if len(value) > 128 { - errors = append(errors, fmt.Errorf("%q cannot be longer than 128 caracters", k)) + errors = append(errors, fmt.Errorf("%q cannot be longer than 128 characters", k)) } if !regexp.MustCompile("^[\\w_]+$").MatchString(value) { - errors = append(errors, fmt.Errorf("%q must contain only alphanumeric caracters and underscores", k)) + errors = append(errors, fmt.Errorf("%q must contain only alphanumeric characters and underscores", k)) } return @@ -1426,13 +1449,290 @@ func validateCognitoIdentityProvidersProviderName(v interface{}, k string) (ws [ } if len(value) > 128 { - errors = append(errors, fmt.Errorf("%q cannot be longer than 128 caracters", k)) + errors = append(errors, fmt.Errorf("%q cannot be longer than 128 characters", k)) } if !regexp.MustCompile("^[\\w._:/-]+$").MatchString(value) { - errors = append(errors, fmt.Errorf("%q must contain only alphanumeric caracters, dots, underscores, colons, slashes and hyphens", k)) + errors = append(errors, fmt.Errorf("%q must contain only alphanumeric characters, dots, underscores, colons, slashes and hyphens", k)) + } + + return +} + +func validateCognitoUserPoolEmailVerificationMessage(v interface{}, k string) (ws []string, es []error) { + value := v.(string) + if len(value) < 6 { + es = append(es, fmt.Errorf("%q cannot be less than 6 characters", k)) + } + + if len(value) > 2000 { + es = append(es, fmt.Errorf("%q cannot be longer than 2000 characters", k)) + } + + if !regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*`).MatchString(value) { + es = append(es, fmt.Errorf("%q does not contain {####}", k)) + } + return +} + +func validateCognitoUserPoolEmailVerificationSubject(v interface{}, k string) (ws []string, es []error) { + value := v.(string) + if len(value) < 6 { + es = append(es, fmt.Errorf("%q cannot be less than 6 characters", k)) + } + + if len(value) > 140 { + es = append(es, fmt.Errorf("%q cannot be longer than 140 characters", k)) + } + + if !regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}\s]+`).MatchString(value) { + es = append(es, fmt.Errorf("%q can be composed of any kind of letter, symbols, numeric character, punctuation and whitespaces", k)) + } + return +} + +func validateCognitoUserPoolMfaConfiguration(v interface{}, k string) (ws []string, es []error) { + value := v.(string) + + valid := map[string]bool{ + cognitoidentityprovider.UserPoolMfaTypeOff: true, + cognitoidentityprovider.UserPoolMfaTypeOn: true, + cognitoidentityprovider.UserPoolMfaTypeOptional: true, + } + if !valid[value] { + es = append(es, fmt.Errorf( + "%q must be equal to OFF, ON, or OPTIONAL", k)) + } + return +} + +func validateCognitoUserPoolSmsAuthenticationMessage(v interface{}, k string) (ws []string, es []error) { + value := v.(string) + if len(value) < 6 { + es = append(es, fmt.Errorf("%q cannot be less than 6 characters", k)) + } + + if len(value) > 140 { + es = append(es, fmt.Errorf("%q cannot be longer than 140 characters", k)) + } + + if !regexp.MustCompile(`.*\{####\}.*`).MatchString(value) { + es = append(es, fmt.Errorf("%q does not contain {####}", k)) + } + return +} + +func validateCognitoUserPoolSmsVerificationMessage(v interface{}, k string) (ws []string, es []error) { + value := v.(string) + if len(value) < 6 { + es = append(es, fmt.Errorf("%q cannot be less than 6 characters", k)) + } + + if len(value) > 140 { + es = append(es, fmt.Errorf("%q cannot be longer than 140 characters", k)) + } + + if !regexp.MustCompile(`.*\{####\}.*`).MatchString(value) { + es = append(es, fmt.Errorf("%q does not contain {####}", k)) + } + return +} + +func validateCognitoUserPoolAliasAttribute(v interface{}, k string) (ws []string, es []error) { + validValues := []string{ + cognitoidentityprovider.AliasAttributeTypeEmail, + cognitoidentityprovider.AliasAttributeTypePhoneNumber, + cognitoidentityprovider.AliasAttributeTypePreferredUsername, + } + period := v.(string) + for _, f := range validValues { + if period == f { + return + } + } + es = append(es, fmt.Errorf( + "%q contains an invalid alias attribute %q. Valid alias attributes are %q.", + k, period, validValues)) + return +} + +func validateCognitoUserPoolAutoVerifiedAttribute(v interface{}, k string) (ws []string, es []error) { + validValues := []string{ + cognitoidentityprovider.VerifiedAttributeTypePhoneNumber, + cognitoidentityprovider.VerifiedAttributeTypeEmail, + } + period := v.(string) + for _, f := range validValues { + if period == f { + return + } + } + es = append(es, fmt.Errorf( + "%q contains an invalid verified attribute %q. Valid verified attributes are %q.", + k, period, validValues)) + return +} + +func validateCognitoUserPoolTemplateDefaultEmailOption(v interface{}, k string) (ws []string, es []error) { + validValues := []string{ + cognitoidentityprovider.DefaultEmailOptionTypeConfirmWithLink, + cognitoidentityprovider.DefaultEmailOptionTypeConfirmWithCode, + } + period := v.(string) + for _, f := range validValues { + if period == f { + return + } + } + es = append(es, fmt.Errorf( + "%q contains an invalid template default email option %q. Valid template default email options are %q.", + k, period, validValues)) + return +} + +func validateCognitoUserPoolTemplateEmailMessage(v interface{}, k string) (ws []string, es []error) { + value := v.(string) + if len(value) < 6 { + es = append(es, fmt.Errorf("%q cannot be less than 6 characters", k)) + } + + if len(value) > 20000 { + es = append(es, fmt.Errorf("%q cannot be longer than 20000 characters", k)) } + if !regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*`).MatchString(value) { + es = append(es, fmt.Errorf("%q does not contain {####}", k)) + } + return +} + +func validateCognitoUserPoolTemplateEmailMessageByLink(v interface{}, k string) (ws []string, es []error) { + value := v.(string) + if len(value) < 1 { + es = append(es, fmt.Errorf("%q cannot be less than 1 character", k)) + } + + if len(value) > 140 { + es = append(es, fmt.Errorf("%q cannot be longer than 140 characters", k)) + } + + if !regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{##[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*##\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*`).MatchString(value) { + es = append(es, fmt.Errorf("%q must satisfy regular expression pattern: [\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s*]*\\{##[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s*]*##\\}[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s*]*", k)) + } + return +} + +func validateCognitoUserPoolTemplateEmailSubject(v interface{}, k string) (ws []string, es []error) { + value := v.(string) + if len(value) < 1 { + es = append(es, fmt.Errorf("%q cannot be less than 1 character", k)) + } + + if len(value) > 140 { + es = append(es, fmt.Errorf("%q cannot be longer than 140 characters", k)) + } + + if !regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}\s]+`).MatchString(value) { + es = append(es, fmt.Errorf("%q must satisfy regular expression pattern: [\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s]+", k)) + } + return +} + +func validateCognitoUserPoolTemplateEmailSubjectByLink(v interface{}, k string) (ws []string, es []error) { + value := v.(string) + if len(value) < 1 { + es = append(es, fmt.Errorf("%q cannot be less than 1 character", k)) + } + + if len(value) > 140 { + es = append(es, fmt.Errorf("%q cannot be longer than 140 characters", k)) + } + + if !regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}\s]+`).MatchString(value) { + es = append(es, fmt.Errorf("%q must satisfy regular expression pattern: [\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s]+", k)) + } + return +} + +func validateCognitoUserPoolTemplateSmsMessage(v interface{}, k string) (ws []string, es []error) { + value := v.(string) + if len(value) < 6 { + es = append(es, fmt.Errorf("%q cannot be less than 6 characters", k)) + } + + if len(value) > 140 { + es = append(es, fmt.Errorf("%q cannot be longer than 140 characters", k)) + } + + if !regexp.MustCompile(`.*\{####\}.*`).MatchString(value) { + es = append(es, fmt.Errorf("%q does not contain {####}", k)) + } + return +} + +func validateCognitoUserPoolInviteTemplateEmailMessage(v interface{}, k string) (ws []string, es []error) { + value := v.(string) + if len(value) < 6 { + es = append(es, fmt.Errorf("%q cannot be less than 6 characters", k)) + } + + if len(value) > 20000 { + es = append(es, fmt.Errorf("%q cannot be longer than 20000 characters", k)) + } + + if !regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*`).MatchString(value) { + es = append(es, fmt.Errorf("%q does not contain {####}", k)) + } + + if !regexp.MustCompile(`.*\{username\}.*`).MatchString(value) { + es = append(es, fmt.Errorf("%q does not contain {username}", k)) + } + return +} + +func validateCognitoUserPoolInviteTemplateSmsMessage(v interface{}, k string) (ws []string, es []error) { + value := v.(string) + if len(value) < 6 { + es = append(es, fmt.Errorf("%q cannot be less than 6 characters", k)) + } + + if len(value) > 140 { + es = append(es, fmt.Errorf("%q cannot be longer than 140 characters", k)) + } + + if !regexp.MustCompile(`.*\{####\}.*`).MatchString(value) { + es = append(es, fmt.Errorf("%q does not contain {####}", k)) + } + + if !regexp.MustCompile(`.*\{username\}.*`).MatchString(value) { + es = append(es, fmt.Errorf("%q does not contain {username}", k)) + } + return +} + +func validateCognitoUserPoolReplyEmailAddress(v interface{}, k string) (ws []string, errors []error) { + value := v.(string) + + if !regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}]+@[\p{L}\p{M}\p{S}\p{N}\p{P}]+`).MatchString(value) { + errors = append(errors, fmt.Errorf( + "%q must satisfy regular expression pattern: [\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+@[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+", k)) + } + return +} + +func validateCognitoUserPoolSchemaName(v interface{}, k string) (ws []string, es []error) { + value := v.(string) + if len(value) < 1 { + es = append(es, fmt.Errorf("%q cannot be less than 1 character", k)) + } + + if len(value) > 20 { + es = append(es, fmt.Errorf("%q cannot be longer than 20 character", k)) + } + + if !regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}]+`).MatchString(value) { + es = append(es, fmt.Errorf("%q must satisfy regular expression pattern: [\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+", k)) + } return } @@ -1450,7 +1750,7 @@ func validateIamRoleDescription(v interface{}, k string) (ws []string, errors [] value := v.(string) if len(value) > 1000 { - errors = append(errors, fmt.Errorf("%q cannot be longer than 1000 caracters", k)) + errors = append(errors, fmt.Errorf("%q cannot be longer than 1000 characters", k)) } if !regexp.MustCompile(`[\p{L}\p{M}\p{Z}\p{S}\p{N}\p{P}]*`).MatchString(value) { @@ -1610,7 +1910,7 @@ func validateCognitoRoleMappingsRulesClaim(v interface{}, k string) (ws []string value := v.(string) if !regexp.MustCompile("^[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+$").MatchString(value) { - errors = append(errors, fmt.Errorf("%q must contain only alphanumeric caracters, dots, underscores, colons, slashes and hyphens", k)) + errors = append(errors, fmt.Errorf("%q must contain only alphanumeric characters, dots, underscores, colons, slashes and hyphens", k)) } return @@ -1638,11 +1938,11 @@ func validateCognitoRoleMappingsRulesMatchType(v interface{}, k string) (ws []st func validateCognitoRoleMappingsRulesValue(v interface{}, k string) (ws []string, errors []error) { value := v.(string) if len(value) < 1 { - errors = append(errors, fmt.Errorf("%q cannot be less than 1 caracter", k)) + errors = append(errors, fmt.Errorf("%q cannot be less than 1 character", k)) } if len(value) > 128 { - errors = append(errors, fmt.Errorf("%q cannot be longer than 1 caracters", k)) + errors = append(errors, fmt.Errorf("%q cannot be longer than 1 characters", k)) } return @@ -1668,7 +1968,7 @@ func validateCognitoRoleMappingsType(v interface{}, k string) (ws []string, erro // Validates that either authenticated or unauthenticated is defined func validateCognitoRoles(v map[string]interface{}, k string) (errors []error) { _, hasAuthenticated := v["authenticated"].(string) - _, hasUnauthenticated := v["authenticated"].(string) + _, hasUnauthenticated := v["unauthenticated"].(string) if !hasAuthenticated && !hasUnauthenticated { errors = append(errors, fmt.Errorf("%q: Either \"authenticated\" or \"unauthenticated\" must be defined", k)) @@ -1694,3 +1994,16 @@ func validateDxConnectionBandWidth(v interface{}, k string) (ws []string, errors errors = append(errors, fmt.Errorf("expected %s to be one of %v, got %s", k, validBandWidth, val)) return } + +func validateAwsElastiCacheReplicationGroupAuthToken(v interface{}, k string) (ws []string, errors []error) { + value := v.(string) + if (len(value) < 16) || (len(value) > 128) { + errors = append(errors, fmt.Errorf( + "%q must contain from 16 to 128 alphanumeric characters or symbols (excluding @, \", and /)", k)) + } + if !regexp.MustCompile(`^[^@"\/]+$`).MatchString(value) { + errors = append(errors, fmt.Errorf( + "only alphanumeric characters or symbols (excluding @, \", and /) allowed in %q", k)) + } + return +} diff --git a/aws/validators_test.go b/aws/validators_test.go index 3748396a32d..cf9ec0234bc 100644 --- a/aws/validators_test.go +++ b/aws/validators_test.go @@ -2321,6 +2321,122 @@ func TestValidateCognitoIdentityProvidersProviderName(t *testing.T) { } } +func TestValidateCognitoUserPoolEmailVerificationMessage(t *testing.T) { + validValues := []string{ + "{####}", + "Foo {####}", + "{####} Bar", + "AZERTYUIOPQSDFGHJKLMWXCVBN?./+%£*¨°0987654321&é\"'(§è!çà)-@^'{####},=ù`$|´”’[å»ÛÁØ]–Ô¥#‰±•", + "{####}" + strings.Repeat("W", 1994), // = 2000 + } + + for _, s := range validValues { + _, errors := validateCognitoUserPoolEmailVerificationMessage(s, "email_verification_message") + if len(errors) > 0 { + t.Fatalf("%q should be a valid Cognito User Pool email verification message: %v", s, errors) + } + } + + invalidValues := []string{ + "Foo", + "{###}", + "{####}" + strings.Repeat("W", 1995), // > 2000 + } + + for _, s := range invalidValues { + _, errors := validateCognitoUserPoolEmailVerificationMessage(s, "email_verification_message") + if len(errors) == 0 { + t.Fatalf("%q should not be a valid Cognito User Pool email verification message: %v", s, errors) + } + } +} + +func TestValidateCognitoUserPoolEmailVerificationSubject(t *testing.T) { + validValues := []string{ + "FooBar", + "AZERTYUIOPQSDFGHJKLMWXCVBN?./+%£*¨°0987654321&é\" '(§è!çà)-@^'{####},=ù`$|´”’[å»ÛÁØ]–Ô¥#‰±•", + "Foo Bar", // special whitespace character + strings.Repeat("W", 140), + } + + for _, s := range validValues { + _, errors := validateCognitoUserPoolEmailVerificationSubject(s, "email_verification_subject") + if len(errors) > 0 { + t.Fatalf("%q should be a valid Cognito User Pool email verification subject: %v", s, errors) + } + } + + invalidValues := []string{ + "Foo", + strings.Repeat("W", 141), + } + + for _, s := range invalidValues { + _, errors := validateCognitoUserPoolEmailVerificationSubject(s, "email_verification_subject") + if len(errors) == 0 { + t.Fatalf("%q should not be a valid Cognito User Pool email verification subject: %v", s, errors) + } + } +} + +func TestValidateCognitoUserPoolSmsAuthenticationMessage(t *testing.T) { + validValues := []string{ + "{####}", + "Foo {####}", + "{####} Bar", + "AZERTYUIOPQSDFGHJKLMWXCVBN?./+%£*¨°0987654321&é\"'(§è!çà)-@^'{####},=ù`$|´”’[å»ÛÁØ]–Ô¥#‰±•", + "{####}" + strings.Repeat("W", 134), // = 140 + } + + for _, s := range validValues { + _, errors := validateCognitoUserPoolSmsAuthenticationMessage(s, "sms_authentication_message") + if len(errors) > 0 { + t.Fatalf("%q should be a valid Cognito User Pool sms authentication message: %v", s, errors) + } + } + + invalidValues := []string{ + "Foo", + "{####}" + strings.Repeat("W", 135), + } + + for _, s := range invalidValues { + _, errors := validateCognitoUserPoolSmsAuthenticationMessage(s, "sms_authentication_message") + if len(errors) == 0 { + t.Fatalf("%q should not be a valid Cognito User Pool sms authentication message: %v", s, errors) + } + } +} + +func TestValidateCognitoUserPoolSmsVerificationMessage(t *testing.T) { + validValues := []string{ + "{####}", + "Foo {####}", + "{####} Bar", + "AZERTYUIOPQSDFGHJKLMWXCVBN?./+%£*¨°0987654321&é\"'(§è!çà)-@^'{####},=ù`$|´”’[å»ÛÁØ]–Ô¥#‰±•", + "{####}" + strings.Repeat("W", 134), // = 140 + } + + for _, s := range validValues { + _, errors := validateCognitoUserPoolSmsVerificationMessage(s, "sms_verification_message") + if len(errors) > 0 { + t.Fatalf("%q should be a valid Cognito User Pool sms authentication message: %v", s, errors) + } + } + + invalidValues := []string{ + "Foo", + "{####}" + strings.Repeat("W", 135), + } + + for _, s := range invalidValues { + _, errors := validateCognitoUserPoolSmsVerificationMessage(s, "sms_verification_message") + if len(errors) == 0 { + t.Fatalf("%q should not be a valid Cognito User Pool sms authentication message: %v", s, errors) + } + } +} + func TestValidateWafMetricName(t *testing.T) { validNames := []string{ "testrule", @@ -2604,6 +2720,33 @@ func TestValidateCognitoRoleMappingsType(t *testing.T) { } } +func TestValidateCognitoRoles(t *testing.T) { + validValues := []map[string]interface{}{ + map[string]interface{}{"authenticated": "hoge"}, + map[string]interface{}{"unauthenticated": "hoge"}, + map[string]interface{}{"authenticated": "hoge", "unauthenticated": "hoge"}, + } + + for _, s := range validValues { + errors := validateCognitoRoles(s, "roles") + if len(errors) > 0 { + t.Fatalf("%q should be a valid Cognito Roles: %v", s, errors) + } + } + + invalidValues := []map[string]interface{}{ + map[string]interface{}{}, + map[string]interface{}{"invalid": "hoge"}, + } + + for _, s := range invalidValues { + errors := validateCognitoRoles(s, "roles") + if len(errors) == 0 { + t.Fatalf("%q should not be a valid Cognito Roles: %v", s, errors) + } + } +} + func TestValidateDxConnectionBandWidth(t *testing.T) { validValues := []string{ "1Gbps", @@ -2630,3 +2773,69 @@ func TestValidateDxConnectionBandWidth(t *testing.T) { } } } + +func TestValidateCognitoUserPoolReplyEmailAddress(t *testing.T) { + validTypes := []string{ + "foo@gmail.com", + "foo@bar", + "foo bar@gmail.com", + "foo+bar.baz@gmail.com", + } + for _, v := range validTypes { + _, errors := validateCognitoUserPoolReplyEmailAddress(v, "name") + if len(errors) != 0 { + t.Fatalf("%q should be a valid Cognito User Pool Reply Email Address: %q", v, errors) + } + } + + invalidTypes := []string{ + "foo", + "@bar.baz", + } + for _, v := range invalidTypes { + _, errors := validateCognitoUserPoolReplyEmailAddress(v, "name") + if len(errors) == 0 { + t.Fatalf("%q should be an invalid Cognito User Pool Reply Email Address", v) + } + } +} + +func TestResourceAWSElastiCacheReplicationGroupAuthTokenValidation(t *testing.T) { + cases := []struct { + Value string + ErrCount int + }{ + { + Value: "this-is-valid!#%()^", + ErrCount: 0, + }, + { + Value: "this-is-not", + ErrCount: 1, + }, + { + Value: "this-is-not-valid\"", + ErrCount: 1, + }, + { + Value: "this-is-not-valid@", + ErrCount: 1, + }, + { + Value: "this-is-not-valid/", + ErrCount: 1, + }, + { + Value: randomString(129), + ErrCount: 1, + }, + } + + for _, tc := range cases { + _, errors := validateAwsElastiCacheReplicationGroupAuthToken(tc.Value, "aws_elasticache_replication_group_auth_token") + + if len(errors) != tc.ErrCount { + t.Fatalf("Expected the ElastiCache Replication Group AuthToken to trigger a validation error") + } + } +} diff --git a/examples/cognito-user-pool/README.md b/examples/cognito-user-pool/README.md new file mode 100644 index 00000000000..828bd34ef9c --- /dev/null +++ b/examples/cognito-user-pool/README.md @@ -0,0 +1,27 @@ +# Cognito User Pool example + +This example shows how to create + +This creates a Cognito User Pool, IAM roles and lambdas. + +To run, configure your AWS provider as described in https://www.terraform.io/docs/providers/aws/index.html + +Running the example + +For planning phase + +``` +terraform plan +``` + +For apply phase + +``` +terraform apply +``` + +To remove the stack + +``` + terraform destroy -var 'key_name={your_key_name}' +``` diff --git a/examples/cognito-user-pool/lambda_function.zip b/examples/cognito-user-pool/lambda_function.zip new file mode 100644 index 00000000000..98c3d82439a Binary files /dev/null and b/examples/cognito-user-pool/lambda_function.zip differ diff --git a/examples/cognito-user-pool/main.tf b/examples/cognito-user-pool/main.tf new file mode 100644 index 00000000000..77ba20db4e9 --- /dev/null +++ b/examples/cognito-user-pool/main.tf @@ -0,0 +1,146 @@ +resource "aws_iam_role" "main" { + name = "terraform-example-lambda" + assume_role_policy = < 13 { - retryCount = 13 - } else if throttle && retryCount > 8 { + if throttle && retryCount > 8 { retryCount = 8 + } else if retryCount > 13 { + retryCount = 13 } delay := (1 << uint(retryCount)) * (seededRand.Intn(minTime) + minTime) diff --git a/vendor/github.com/aws/aws-sdk-go/aws/config.go b/vendor/github.com/aws/aws-sdk-go/aws/config.go index ae3a286960d..4fd0d072474 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/config.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/config.go @@ -168,7 +168,7 @@ type Config struct { // EC2MetadataDisableTimeoutOverride *bool - // Instructs the endpiont to be generated for a service client to + // Instructs the endpoint to be generated for a service client to // be the dual stack endpoint. The dual stack endpoint will support // both IPv4 and IPv6 addressing. // diff --git a/vendor/github.com/aws/aws-sdk-go/aws/defaults/defaults.go b/vendor/github.com/aws/aws-sdk-go/aws/defaults/defaults.go index 07afe3b8e6d..2cb08182fb0 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/defaults/defaults.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/defaults/defaults.go @@ -9,6 +9,7 @@ package defaults import ( "fmt" + "net" "net/http" "net/url" "os" @@ -118,14 +119,43 @@ func RemoteCredProvider(cfg aws.Config, handlers request.Handlers) credentials.P return ec2RoleProvider(cfg, handlers) } +var lookupHostFn = net.LookupHost + +func isLoopbackHost(host string) (bool, error) { + ip := net.ParseIP(host) + if ip != nil { + return ip.IsLoopback(), nil + } + + // Host is not an ip, perform lookup + addrs, err := lookupHostFn(host) + if err != nil { + return false, err + } + for _, addr := range addrs { + if !net.ParseIP(addr).IsLoopback() { + return false, nil + } + } + + return true, nil +} + func localHTTPCredProvider(cfg aws.Config, handlers request.Handlers, u string) credentials.Provider { var errMsg string parsed, err := url.Parse(u) if err != nil { errMsg = fmt.Sprintf("invalid URL, %v", err) - } else if host := aws.URLHostname(parsed); !(host == "localhost" || host == "127.0.0.1") { - errMsg = fmt.Sprintf("invalid host address, %q, only localhost and 127.0.0.1 are valid.", host) + } else { + host := aws.URLHostname(parsed) + if len(host) == 0 { + errMsg = "unable to parse host from local HTTP cred provider URL" + } else if isLoopback, loopbackErr := isLoopbackHost(host); loopbackErr != nil { + errMsg = fmt.Sprintf("failed to resolve host %q, %v", host, loopbackErr) + } else if !isLoopback { + errMsg = fmt.Sprintf("invalid endpoint host, %q, only loopback hosts are allowed.", host) + } } if len(errMsg) > 0 { diff --git a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go index 5df38000280..295e028638e 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go @@ -70,6 +70,7 @@ const ( ConfigServiceID = "config" // Config. CurServiceID = "cur" // Cur. DatapipelineServiceID = "datapipeline" // Datapipeline. + DaxServiceID = "dax" // Dax. DevicefarmServiceID = "devicefarm" // Devicefarm. DirectconnectServiceID = "directconnect" // Directconnect. DiscoveryServiceID = "discovery" // Discovery. @@ -264,7 +265,8 @@ var awsPartition = partition{ }, }, Endpoints: endpoints{ - "us-east-1": endpoint{}, + "ap-south-1": endpoint{}, + "us-east-1": endpoint{}, }, }, "apigateway": service{ @@ -666,6 +668,18 @@ var awsPartition = partition{ "us-west-2": endpoint{}, }, }, + "dax": service{ + + Endpoints: endpoints{ + "ap-northeast-1": endpoint{}, + "ap-south-1": endpoint{}, + "eu-west-1": endpoint{}, + "sa-east-1": endpoint{}, + "us-east-1": endpoint{}, + "us-west-1": endpoint{}, + "us-west-2": endpoint{}, + }, + }, "devicefarm": service{ Endpoints: endpoints{ @@ -1105,6 +1119,7 @@ var awsPartition = partition{ "ap-northeast-2": endpoint{}, "ap-south-1": endpoint{}, "ap-southeast-2": endpoint{}, + "eu-central-1": endpoint{}, "eu-west-1": endpoint{}, "us-east-1": endpoint{}, "us-west-1": endpoint{}, @@ -1371,9 +1386,18 @@ var awsPartition = partition{ Endpoints: endpoints{ "ap-northeast-1": endpoint{}, + "ap-northeast-2": endpoint{}, + "ap-south-1": endpoint{}, + "ap-southeast-1": endpoint{}, + "ap-southeast-2": endpoint{}, + "ca-central-1": endpoint{}, + "eu-central-1": endpoint{}, "eu-west-1": endpoint{}, + "eu-west-2": endpoint{}, + "sa-east-1": endpoint{}, "us-east-1": endpoint{}, "us-east-2": endpoint{}, + "us-west-1": endpoint{}, "us-west-2": endpoint{}, }, }, @@ -1451,6 +1475,7 @@ var awsPartition = partition{ }, }, Endpoints: endpoints{ + "eu-west-1": endpoint{}, "us-east-1": endpoint{}, }, }, @@ -1910,6 +1935,12 @@ var awscnPartition = partition{ }, }, Services: services{ + "apigateway": service{ + + Endpoints: endpoints{ + "cn-north-1": endpoint{}, + }, + }, "application-autoscaling": service{ Defaults: endpoint{ Hostname: "autoscaling.{region}.amazonaws.com", @@ -1919,7 +1950,8 @@ var awscnPartition = partition{ }, }, Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "autoscaling": service{ @@ -1927,25 +1959,29 @@ var awscnPartition = partition{ Protocols: []string{"http", "https"}, }, Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "cloudformation": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "cloudtrail": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "codedeploy": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "cognito-identity": service{ @@ -1957,13 +1993,15 @@ var awscnPartition = partition{ "config": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "directconnect": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "dynamodb": service{ @@ -1971,7 +2009,8 @@ var awscnPartition = partition{ Protocols: []string{"http", "https"}, }, Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "ec2": service{ @@ -1979,7 +2018,8 @@ var awscnPartition = partition{ Protocols: []string{"http", "https"}, }, Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "ec2metadata": service{ @@ -2008,13 +2048,15 @@ var awscnPartition = partition{ "elasticache": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "elasticbeanstalk": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "elasticloadbalancing": service{ @@ -2022,7 +2064,8 @@ var awscnPartition = partition{ Protocols: []string{"https"}, }, Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "elasticmapreduce": service{ @@ -2030,14 +2073,21 @@ var awscnPartition = partition{ Protocols: []string{"http", "https"}, }, Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, + }, + }, + "es": service{ + + Endpoints: endpoints{ + "cn-northwest-1": endpoint{}, }, }, - "es": service{}, "events": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "glacier": service{ @@ -2045,7 +2095,8 @@ var awscnPartition = partition{ Protocols: []string{"http", "https"}, }, Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "iam": service{ @@ -2074,7 +2125,8 @@ var awscnPartition = partition{ "kinesis": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "lambda": service{ @@ -2086,7 +2138,8 @@ var awscnPartition = partition{ "logs": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "monitoring": service{ @@ -2094,19 +2147,22 @@ var awscnPartition = partition{ Protocols: []string{"http", "https"}, }, Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "rds": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "redshift": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "s3": service{ @@ -2115,7 +2171,8 @@ var awscnPartition = partition{ SignatureVersions: []string{"s3v4"}, }, Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "snowball": service{ @@ -2129,7 +2186,8 @@ var awscnPartition = partition{ Protocols: []string{"http", "https"}, }, Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "sqs": service{ @@ -2138,13 +2196,15 @@ var awscnPartition = partition{ Protocols: []string{"http", "https"}, }, Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "ssm": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "storagegateway": service{ @@ -2161,19 +2221,22 @@ var awscnPartition = partition{ }, }, Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "sts": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "swf": service{ Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "tagging": service{ @@ -2267,10 +2330,22 @@ var awsusgovPartition = partition{ "us-gov-west-1": endpoint{}, }, }, + "dms": service{ + + Endpoints: endpoints{ + "us-gov-west-1": endpoint{}, + }, + }, "dynamodb": service{ Endpoints: endpoints{ "us-gov-west-1": endpoint{}, + "us-gov-west-1-fips": endpoint{ + Hostname: "dynamodb.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, }, }, "ec2": service{ @@ -2296,6 +2371,12 @@ var awsusgovPartition = partition{ "us-gov-west-1": endpoint{}, }, }, + "elasticbeanstalk": service{ + + Endpoints: endpoints{ + "us-gov-west-1": endpoint{}, + }, + }, "elasticloadbalancing": service{ Endpoints: endpoints{ @@ -2447,6 +2528,12 @@ var awsusgovPartition = partition{ }, Endpoints: endpoints{ "us-gov-west-1": endpoint{}, + "us-gov-west-1-fips": endpoint{ + Hostname: "dynamodb.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, }, }, "sts": service{ diff --git a/vendor/github.com/aws/aws-sdk-go/aws/request/request.go b/vendor/github.com/aws/aws-sdk-go/aws/request/request.go index 7bc42b5760b..5c7db4982c9 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/request/request.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/request/request.go @@ -112,6 +112,8 @@ func New(cfg aws.Config, clientInfo metadata.ClientInfo, handlers Handlers, err = awserr.New("InvalidEndpointURL", "invalid endpoint uri", err) } + SanitizeHostForHeader(httpReq) + r := &Request{ Config: cfg, ClientInfo: clientInfo, @@ -606,3 +608,72 @@ func shouldRetryCancel(r *Request) bool { errStr != "net/http: request canceled while waiting for connection") } + +// SanitizeHostForHeader removes default port from host and updates request.Host +func SanitizeHostForHeader(r *http.Request) { + host := getHost(r) + port := portOnly(host) + if port != "" && isDefaultPort(r.URL.Scheme, port) { + r.Host = stripPort(host) + } +} + +// Returns host from request +func getHost(r *http.Request) string { + if r.Host != "" { + return r.Host + } + + return r.URL.Host +} + +// Hostname returns u.Host, without any port number. +// +// If Host is an IPv6 literal with a port number, Hostname returns the +// IPv6 literal without the square brackets. IPv6 literals may include +// a zone identifier. +// +// Copied from the Go 1.8 standard library (net/url) +func stripPort(hostport string) string { + colon := strings.IndexByte(hostport, ':') + if colon == -1 { + return hostport + } + if i := strings.IndexByte(hostport, ']'); i != -1 { + return strings.TrimPrefix(hostport[:i], "[") + } + return hostport[:colon] +} + +// Port returns the port part of u.Host, without the leading colon. +// If u.Host doesn't contain a port, Port returns an empty string. +// +// Copied from the Go 1.8 standard library (net/url) +func portOnly(hostport string) string { + colon := strings.IndexByte(hostport, ':') + if colon == -1 { + return "" + } + if i := strings.Index(hostport, "]:"); i != -1 { + return hostport[i+len("]:"):] + } + if strings.Contains(hostport, "]") { + return "" + } + return hostport[colon+len(":"):] +} + +// Returns true if the specified URI is using the standard port +// (i.e. port 80 for HTTP URIs or 443 for HTTPS URIs) +func isDefaultPort(scheme, port string) bool { + if port == "" { + return true + } + + lowerCaseScheme := strings.ToLower(scheme) + if (lowerCaseScheme == "http" && port == "80") || (lowerCaseScheme == "https" && port == "443") { + return true + } + + return false +} diff --git a/vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4.go b/vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4.go index d9a3b8b0ae9..ccc88b4ac1c 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4.go @@ -339,6 +339,7 @@ func (v4 Signer) signWithBody(r *http.Request, body io.ReadSeeker, service, regi return http.Header{}, err } + ctx.sanitizeHostForHeader() ctx.assignAmzQueryValues() ctx.build(v4.DisableHeaderHoisting) @@ -363,6 +364,10 @@ func (v4 Signer) signWithBody(r *http.Request, body io.ReadSeeker, service, regi return ctx.SignedHeaderVals, nil } +func (ctx *signingCtx) sanitizeHostForHeader() { + request.SanitizeHostForHeader(ctx.Request) +} + func (ctx *signingCtx) handlePresignRemoval() { if !ctx.isPresign { return diff --git a/vendor/github.com/aws/aws-sdk-go/aws/version.go b/vendor/github.com/aws/aws-sdk-go/aws/version.go index 182582706bc..4a53cddea33 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/version.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.12.26" +const SDKVersion = "1.12.48" diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/build.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/build.go index 6efe43d5f39..ec765ba257e 100644 --- a/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/build.go +++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/build.go @@ -12,6 +12,7 @@ import ( "strconv" "time" + "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/private/protocol" ) @@ -49,7 +50,10 @@ func buildAny(value reflect.Value, buf *bytes.Buffer, tag reflect.StructTag) err t = "list" } case reflect.Map: - t = "map" + // cannot be a JSONValue map + if _, ok := value.Interface().(aws.JSONValue); !ok { + t = "map" + } } } @@ -210,14 +214,11 @@ func buildScalar(v reflect.Value, buf *bytes.Buffer, tag reflect.StructTag) erro } buf.Write(strconv.AppendFloat(scratch[:0], f, 'f', -1, 64)) default: - switch value.Type() { - case timeType: - converted := v.Interface().(*time.Time) - + switch converted := value.Interface().(type) { + case time.Time: buf.Write(strconv.AppendInt(scratch[:0], converted.UTC().Unix(), 10)) - case byteSliceType: + case []byte: if !value.IsNil() { - converted := value.Interface().([]byte) buf.WriteByte('"') if len(converted) < 1024 { // for small buffers, using Encode directly is much faster. @@ -233,6 +234,12 @@ func buildScalar(v reflect.Value, buf *bytes.Buffer, tag reflect.StructTag) erro } buf.WriteByte('"') } + case aws.JSONValue: + str, err := protocol.EncodeJSONValue(converted, protocol.QuotedEscape) + if err != nil { + return fmt.Errorf("unable to encode JSONValue, %v", err) + } + buf.WriteString(str) default: return fmt.Errorf("unsupported JSON value %v (%s)", value.Interface(), value.Type()) } diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/unmarshal.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/unmarshal.go index fea53561366..037e1e7be78 100644 --- a/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/unmarshal.go +++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/unmarshal.go @@ -8,6 +8,9 @@ import ( "io/ioutil" "reflect" "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/private/protocol" ) // UnmarshalJSON reads a stream and unmarshals the results in object v. @@ -50,7 +53,10 @@ func unmarshalAny(value reflect.Value, data interface{}, tag reflect.StructTag) t = "list" } case reflect.Map: - t = "map" + // cannot be a JSONValue map + if _, ok := value.Interface().(aws.JSONValue); !ok { + t = "map" + } } } @@ -183,6 +189,13 @@ func unmarshalScalar(value reflect.Value, data interface{}, tag reflect.StructTa return err } value.Set(reflect.ValueOf(b)) + case aws.JSONValue: + // No need to use escaping as the value is a non-quoted string. + v, err := protocol.DecodeJSONValue(d, protocol.NoEscape) + if err != nil { + return err + } + value.Set(reflect.ValueOf(v)) default: return errf() } diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonvalue.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonvalue.go new file mode 100644 index 00000000000..776d1101843 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonvalue.go @@ -0,0 +1,76 @@ +package protocol + +import ( + "encoding/base64" + "encoding/json" + "fmt" + "strconv" + + "github.com/aws/aws-sdk-go/aws" +) + +// EscapeMode is the mode that should be use for escaping a value +type EscapeMode uint + +// The modes for escaping a value before it is marshaled, and unmarshaled. +const ( + NoEscape EscapeMode = iota + Base64Escape + QuotedEscape +) + +// EncodeJSONValue marshals the value into a JSON string, and optionally base64 +// encodes the string before returning it. +// +// Will panic if the escape mode is unknown. +func EncodeJSONValue(v aws.JSONValue, escape EscapeMode) (string, error) { + b, err := json.Marshal(v) + if err != nil { + return "", err + } + + switch escape { + case NoEscape: + return string(b), nil + case Base64Escape: + return base64.StdEncoding.EncodeToString(b), nil + case QuotedEscape: + return strconv.Quote(string(b)), nil + } + + panic(fmt.Sprintf("EncodeJSONValue called with unknown EscapeMode, %v", escape)) +} + +// DecodeJSONValue will attempt to decode the string input as a JSONValue. +// Optionally decoding base64 the value first before JSON unmarshaling. +// +// Will panic if the escape mode is unknown. +func DecodeJSONValue(v string, escape EscapeMode) (aws.JSONValue, error) { + var b []byte + var err error + + switch escape { + case NoEscape: + b = []byte(v) + case Base64Escape: + b, err = base64.StdEncoding.DecodeString(v) + case QuotedEscape: + var u string + u, err = strconv.Unquote(v) + b = []byte(u) + default: + panic(fmt.Sprintf("DecodeJSONValue called with unknown EscapeMode, %v", escape)) + } + + if err != nil { + return nil, err + } + + m := aws.JSONValue{} + err = json.Unmarshal(b, &m) + if err != nil { + return nil, err + } + + return m, nil +} diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/build.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/build.go index 71618356493..c405288d742 100644 --- a/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/build.go +++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/build.go @@ -4,7 +4,6 @@ package rest import ( "bytes" "encoding/base64" - "encoding/json" "fmt" "io" "net/http" @@ -18,6 +17,7 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/private/protocol" ) // RFC822 returns an RFC822 formatted timestamp for AWS protocols @@ -252,13 +252,12 @@ func EscapePath(path string, encodeSep bool) string { return buf.String() } -func convertType(v reflect.Value, tag reflect.StructTag) (string, error) { +func convertType(v reflect.Value, tag reflect.StructTag) (str string, err error) { v = reflect.Indirect(v) if !v.IsValid() { return "", errValueNotSet } - var str string switch value := v.Interface().(type) { case string: str = value @@ -273,17 +272,19 @@ func convertType(v reflect.Value, tag reflect.StructTag) (string, error) { case time.Time: str = value.UTC().Format(RFC822) case aws.JSONValue: - b, err := json.Marshal(value) - if err != nil { - return "", err + if len(value) == 0 { + return "", errValueNotSet } + escaping := protocol.NoEscape if tag.Get("location") == "header" { - str = base64.StdEncoding.EncodeToString(b) - } else { - str = string(b) + escaping = protocol.Base64Escape + } + str, err = protocol.EncodeJSONValue(value, escaping) + if err != nil { + return "", fmt.Errorf("unable to encode JSONValue, %v", err) } default: - err := fmt.Errorf("Unsupported value for param %v (%s)", v.Interface(), v.Type()) + err := fmt.Errorf("unsupported value for param %v (%s)", v.Interface(), v.Type()) return "", err } return str, nil diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/unmarshal.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/unmarshal.go index 7a779ee2260..823f045eed7 100644 --- a/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/unmarshal.go +++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/unmarshal.go @@ -3,7 +3,6 @@ package rest import ( "bytes" "encoding/base64" - "encoding/json" "fmt" "io" "io/ioutil" @@ -16,6 +15,7 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/private/protocol" ) // UnmarshalHandler is a named request handler for unmarshaling rest protocol requests @@ -204,17 +204,11 @@ func unmarshalHeader(v reflect.Value, header string, tag reflect.StructTag) erro } v.Set(reflect.ValueOf(&t)) case aws.JSONValue: - b := []byte(header) - var err error + escaping := protocol.NoEscape if tag.Get("location") == "header" { - b, err = base64.StdEncoding.DecodeString(header) - if err != nil { - return err - } + escaping = protocol.Base64Escape } - - m := aws.JSONValue{} - err = json.Unmarshal(b, &m) + m, err := protocol.DecodeJSONValue(header, escaping) if err != nil { return err } diff --git a/vendor/github.com/aws/aws-sdk-go/service/acm/api.go b/vendor/github.com/aws/aws-sdk-go/service/acm/api.go index 953b364f3e9..ac561d73ea3 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/acm/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/acm/api.go @@ -38,7 +38,7 @@ const opAddTagsToCertificate = "AddTagsToCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificate func (c *ACM) AddTagsToCertificateRequest(input *AddTagsToCertificateInput) (req *request.Request, output *AddTagsToCertificateOutput) { op := &request.Operation{ Name: opAddTagsToCertificate, @@ -99,7 +99,7 @@ func (c *ACM) AddTagsToCertificateRequest(input *AddTagsToCertificateInput) (req // * ErrCodeTooManyTagsException "TooManyTagsException" // The request contains too many tags. Try the request again with fewer tags. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificate func (c *ACM) AddTagsToCertificate(input *AddTagsToCertificateInput) (*AddTagsToCertificateOutput, error) { req, out := c.AddTagsToCertificateRequest(input) return out, req.Send() @@ -146,7 +146,7 @@ const opDeleteCertificate = "DeleteCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificate func (c *ACM) DeleteCertificateRequest(input *DeleteCertificateInput) (req *request.Request, output *DeleteCertificateOutput) { op := &request.Operation{ Name: opDeleteCertificate, @@ -167,11 +167,11 @@ func (c *ACM) DeleteCertificateRequest(input *DeleteCertificateInput) (req *requ // DeleteCertificate API operation for AWS Certificate Manager. // -// Deletes an ACM Certificate and its associated private key. If this action -// succeeds, the certificate no longer appears in the list of ACM Certificates -// that can be displayed by calling the ListCertificates action or be retrieved -// by calling the GetCertificate action. The certificate will not be available -// for use by other AWS services. +// Deletes a certificate and its associated private key. If this action succeeds, +// the certificate no longer appears in the list that can be displayed by calling +// the ListCertificates action or be retrieved by calling the GetCertificate +// action. The certificate will not be available for use by AWS services integrated +// with ACM. // // You cannot delete an ACM Certificate that is being used by another AWS service. // To delete a certificate that is in use, the certificate association must @@ -196,7 +196,7 @@ func (c *ACM) DeleteCertificateRequest(input *DeleteCertificateInput) (req *requ // * ErrCodeInvalidArnException "InvalidArnException" // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificate func (c *ACM) DeleteCertificate(input *DeleteCertificateInput) (*DeleteCertificateOutput, error) { req, out := c.DeleteCertificateRequest(input) return out, req.Send() @@ -243,7 +243,7 @@ const opDescribeCertificate = "DescribeCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificate func (c *ACM) DescribeCertificateRequest(input *DescribeCertificateInput) (req *request.Request, output *DescribeCertificateOutput) { op := &request.Operation{ Name: opDescribeCertificate, @@ -279,7 +279,7 @@ func (c *ACM) DescribeCertificateRequest(input *DescribeCertificateInput) (req * // * ErrCodeInvalidArnException "InvalidArnException" // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificate func (c *ACM) DescribeCertificate(input *DescribeCertificateInput) (*DescribeCertificateOutput, error) { req, out := c.DescribeCertificateRequest(input) return out, req.Send() @@ -326,7 +326,7 @@ const opGetCertificate = "GetCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificate func (c *ACM) GetCertificateRequest(input *GetCertificateInput) (req *request.Request, output *GetCertificateOutput) { op := &request.Operation{ Name: opGetCertificate, @@ -345,12 +345,12 @@ func (c *ACM) GetCertificateRequest(input *GetCertificateInput) (req *request.Re // GetCertificate API operation for AWS Certificate Manager. // -// Retrieves an ACM Certificate and certificate chain for the certificate specified -// by an ARN. The chain is an ordered list of certificates that contains the -// ACM Certificate, intermediate certificates of subordinate CAs, and the root -// certificate in that order. The certificate and certificate chain are base64 -// encoded. If you want to decode the certificate chain to see the individual -// certificate fields, you can use OpenSSL. +// Retrieves a certificate specified by an ARN and its certificate chain . The +// chain is an ordered list of certificates that contains the end entity ertificate, +// intermediate certificates of subordinate CAs, and the root certificate in +// that order. The certificate and certificate chain are base64 encoded. If +// you want to decode the certificate to see the individual fields, you can +// use OpenSSL. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -371,7 +371,7 @@ func (c *ACM) GetCertificateRequest(input *GetCertificateInput) (req *request.Re // * ErrCodeInvalidArnException "InvalidArnException" // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificate func (c *ACM) GetCertificate(input *GetCertificateInput) (*GetCertificateOutput, error) { req, out := c.GetCertificateRequest(input) return out, req.Send() @@ -418,7 +418,7 @@ const opImportCertificate = "ImportCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificate func (c *ACM) ImportCertificateRequest(input *ImportCertificateInput) (req *request.Request, output *ImportCertificateOutput) { op := &request.Operation{ Name: opImportCertificate, @@ -437,35 +437,52 @@ func (c *ACM) ImportCertificateRequest(input *ImportCertificateInput) (req *requ // ImportCertificate API operation for AWS Certificate Manager. // -// Imports an SSL/TLS certificate into AWS Certificate Manager (ACM) to use -// with ACM's integrated AWS services (http://docs.aws.amazon.com/acm/latest/userguide/acm-services.html). +// Imports a certificate into AWS Certificate Manager (ACM) to use with services +// that are integrated with ACM. For more information, see Integrated Services +// (http://docs.aws.amazon.com/acm/latest/userguide/acm-services.html). // // ACM does not provide managed renewal (http://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html) // for certificates that you import. // // For more information about importing certificates into ACM, including the // differences between certificates that you import and those that ACM provides, -// see Importing Certificates (http://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) +// see Importing Certificates (http://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) // in the AWS Certificate Manager User Guide. // -// To import a certificate, you must provide the certificate and the matching -// private key. When the certificate is not self-signed, you must also provide -// a certificate chain. You can omit the certificate chain when importing a -// self-signed certificate. +// In general, you can import almost any valid certificate. However, services +// integrated with ACM allow only certificate types they support to be associated +// with their resources. The following guidelines are also important: // -// The certificate, private key, and certificate chain must be PEM-encoded. -// For more information about converting these items to PEM format, see Importing -// Certificates Troubleshooting (http://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html#import-certificate-troubleshooting) -// in the AWS Certificate Manager User Guide. +// * You must enter the private key that matches the certificate you are +// importing. +// +// * The private key must be unencrypted. You cannot import a private key +// that is protected by a password or a passphrase. +// +// * If the certificate you are importing is not self-signed, you must enter +// its certificate chain. +// +// * If a certificate chain is included, the issuer must be the subject of +// one of the certificates in the chain. +// +// * The certificate, private key, and certificate chain must be PEM-encoded. +// +// * The current time must be between the Not Before and Not After certificate +// fields. // -// To import a new certificate, omit the CertificateArn field. Include this -// field only when you want to replace a previously imported certificate. +// * The Issuer field must not be empty. // -// When you import a certificate by using the CLI or one of the SDKs, you must -// specify the certificate, chain, and private key parameters as file names -// preceded by file://. For example, you can specify a certificate saved in -// the C:\temp folder as C:\temp\certificate_to_import.pem. If you are making -// an HTTP or HTTPS Query request, include these parameters as BLOBs. +// * The OCSP authority URL must not exceed 1000 characters. +// +// * To import a new certificate, omit the CertificateArn field. Include +// this field only when you want to replace a previously imported certificate. +// +// * When you import a certificate by using the CLI or one of the SDKs, you +// must specify the certificate, certificate chain, and private key parameters +// as file names preceded by file://. For example, you can specify a certificate +// saved in the C:\temp folder as C:\temp\certificate_to_import.pem. If you +// are making an HTTP or HTTPS Query request, include these parameters as +// BLOBs. // // This operation returns the Amazon Resource Name (ARN) (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of the imported certificate. @@ -489,7 +506,7 @@ func (c *ACM) ImportCertificateRequest(input *ImportCertificateInput) (req *requ // violated. For more information about ACM limits, see the Limits (http://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html) // topic. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificate func (c *ACM) ImportCertificate(input *ImportCertificateInput) (*ImportCertificateOutput, error) { req, out := c.ImportCertificateRequest(input) return out, req.Send() @@ -536,7 +553,7 @@ const opListCertificates = "ListCertificates" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificates func (c *ACM) ListCertificatesRequest(input *ListCertificatesInput) (req *request.Request, output *ListCertificatesOutput) { op := &request.Operation{ Name: opListCertificates, @@ -561,9 +578,9 @@ func (c *ACM) ListCertificatesRequest(input *ListCertificatesInput) (req *reques // ListCertificates API operation for AWS Certificate Manager. // -// Retrieves a list of ACM Certificates and the domain name for each. You can -// optionally filter the list to return only the certificates that match the -// specified status. +// Retrieves a list of certificate ARNs and domain names. You can request that +// only certificates that match a specific status be listed. You can also filter +// by specific attributes of the certificate. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -571,7 +588,7 @@ func (c *ACM) ListCertificatesRequest(input *ListCertificatesInput) (req *reques // // See the AWS API reference guide for AWS Certificate Manager's // API operation ListCertificates for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificates func (c *ACM) ListCertificates(input *ListCertificatesInput) (*ListCertificatesOutput, error) { req, out := c.ListCertificatesRequest(input) return out, req.Send() @@ -668,7 +685,7 @@ const opListTagsForCertificate = "ListTagsForCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificate func (c *ACM) ListTagsForCertificateRequest(input *ListTagsForCertificateInput) (req *request.Request, output *ListTagsForCertificateOutput) { op := &request.Operation{ Name: opListTagsForCertificate, @@ -707,7 +724,7 @@ func (c *ACM) ListTagsForCertificateRequest(input *ListTagsForCertificateInput) // * ErrCodeInvalidArnException "InvalidArnException" // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificate func (c *ACM) ListTagsForCertificate(input *ListTagsForCertificateInput) (*ListTagsForCertificateOutput, error) { req, out := c.ListTagsForCertificateRequest(input) return out, req.Send() @@ -754,7 +771,7 @@ const opRemoveTagsFromCertificate = "RemoveTagsFromCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificate func (c *ACM) RemoveTagsFromCertificateRequest(input *RemoveTagsFromCertificateInput) (req *request.Request, output *RemoveTagsFromCertificateOutput) { op := &request.Operation{ Name: opRemoveTagsFromCertificate, @@ -803,7 +820,7 @@ func (c *ACM) RemoveTagsFromCertificateRequest(input *RemoveTagsFromCertificateI // One or both of the values that make up the key-value pair is not valid. For // example, you cannot specify a tag value that begins with aws:. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificate func (c *ACM) RemoveTagsFromCertificate(input *RemoveTagsFromCertificateInput) (*RemoveTagsFromCertificateOutput, error) { req, out := c.RemoveTagsFromCertificateRequest(input) return out, req.Send() @@ -850,7 +867,7 @@ const opRequestCertificate = "RequestCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificate func (c *ACM) RequestCertificateRequest(input *RequestCertificateInput) (req *request.Request, output *RequestCertificateOutput) { op := &request.Operation{ Name: opRequestCertificate, @@ -902,7 +919,7 @@ func (c *ACM) RequestCertificateRequest(input *RequestCertificateInput) (req *re // * ErrCodeInvalidDomainValidationOptionsException "InvalidDomainValidationOptionsException" // One or more values in the DomainValidationOption structure is incorrect. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificate func (c *ACM) RequestCertificate(input *RequestCertificateInput) (*RequestCertificateOutput, error) { req, out := c.RequestCertificateRequest(input) return out, req.Send() @@ -949,7 +966,7 @@ const opResendValidationEmail = "ResendValidationEmail" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmail +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmail func (c *ACM) ResendValidationEmailRequest(input *ResendValidationEmailInput) (req *request.Request, output *ResendValidationEmailOutput) { op := &request.Operation{ Name: opResendValidationEmail, @@ -1006,7 +1023,7 @@ func (c *ACM) ResendValidationEmailRequest(input *ResendValidationEmailInput) (r // * ErrCodeInvalidDomainValidationOptionsException "InvalidDomainValidationOptionsException" // One or more values in the DomainValidationOption structure is incorrect. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmail +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmail func (c *ACM) ResendValidationEmail(input *ResendValidationEmailInput) (*ResendValidationEmailOutput, error) { req, out := c.ResendValidationEmailRequest(input) return out, req.Send() @@ -1028,7 +1045,7 @@ func (c *ACM) ResendValidationEmailWithContext(ctx aws.Context, input *ResendVal return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificateRequest type AddTagsToCertificateInput struct { _ struct{} `type:"structure"` @@ -1103,7 +1120,7 @@ func (s *AddTagsToCertificateInput) SetTags(v []*Tag) *AddTagsToCertificateInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificateOutput type AddTagsToCertificateOutput struct { _ struct{} `type:"structure"` } @@ -1120,7 +1137,7 @@ func (s AddTagsToCertificateOutput) GoString() string { // Contains metadata about an ACM certificate. This structure is returned in // the response to a DescribeCertificate request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/CertificateDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/CertificateDetail type CertificateDetail struct { _ struct{} `type:"structure"` @@ -1142,6 +1159,11 @@ type CertificateDetail struct { // when the certificate type is AMAZON_ISSUED. DomainValidationOptions []*DomainValidation `min:"1" type:"list"` + // Contains a list of Extended Key Usage X.509 v3 extension objects. Each object + // specifies a purpose for which the certificate public key can be used and + // consists of a name and an object identifier (OID). + ExtendedKeyUsages []*ExtendedKeyUsage `type:"list"` + // The reason the certificate request failed. This value exists only when the // certificate status is FAILED. For more information, see Certificate Request // Failed (http://docs.aws.amazon.com/acm/latest/userguide/troubleshooting.html#troubleshooting-failed) @@ -1163,10 +1185,15 @@ type CertificateDetail struct { // The name of the certificate authority that issued and signed the certificate. Issuer *string `type:"string"` - // The algorithm that was used to generate the key pair (the public and private - // key). + // The algorithm that was used to generate the public-private key pair. KeyAlgorithm *string `type:"string" enum:"KeyAlgorithm"` + // A list of Key Usage X.509 v3 extension objects. Each object is a string value + // that identifies the purpose of the public key contained in the certificate. + // Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, + // and more. + KeyUsages []*KeyUsage `type:"list"` + // The time after which the certificate is not valid. NotAfter *time.Time `type:"timestamp" timestampFormat:"unix"` @@ -1250,6 +1277,12 @@ func (s *CertificateDetail) SetDomainValidationOptions(v []*DomainValidation) *C return s } +// SetExtendedKeyUsages sets the ExtendedKeyUsages field's value. +func (s *CertificateDetail) SetExtendedKeyUsages(v []*ExtendedKeyUsage) *CertificateDetail { + s.ExtendedKeyUsages = v + return s +} + // SetFailureReason sets the FailureReason field's value. func (s *CertificateDetail) SetFailureReason(v string) *CertificateDetail { s.FailureReason = &v @@ -1286,6 +1319,12 @@ func (s *CertificateDetail) SetKeyAlgorithm(v string) *CertificateDetail { return s } +// SetKeyUsages sets the KeyUsages field's value. +func (s *CertificateDetail) SetKeyUsages(v []*KeyUsage) *CertificateDetail { + s.KeyUsages = v + return s +} + // SetNotAfter sets the NotAfter field's value. func (s *CertificateDetail) SetNotAfter(v time.Time) *CertificateDetail { s.NotAfter = &v @@ -1353,7 +1392,7 @@ func (s *CertificateDetail) SetType(v string) *CertificateDetail { } // This structure is returned in the response object of ListCertificates action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/CertificateSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/CertificateSummary type CertificateSummary struct { _ struct{} `type:"structure"` @@ -1392,7 +1431,7 @@ func (s *CertificateSummary) SetDomainName(v string) *CertificateSummary { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificateRequest type DeleteCertificateInput struct { _ struct{} `type:"structure"` @@ -1440,7 +1479,7 @@ func (s *DeleteCertificateInput) SetCertificateArn(v string) *DeleteCertificateI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificateOutput type DeleteCertificateOutput struct { _ struct{} `type:"structure"` } @@ -1455,7 +1494,7 @@ func (s DeleteCertificateOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificateRequest type DescribeCertificateInput struct { _ struct{} `type:"structure"` @@ -1503,7 +1542,7 @@ func (s *DescribeCertificateInput) SetCertificateArn(v string) *DescribeCertific return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificateResponse type DescribeCertificateOutput struct { _ struct{} `type:"structure"` @@ -1528,7 +1567,7 @@ func (s *DescribeCertificateOutput) SetCertificate(v *CertificateDetail) *Descri } // Contains information about the validation of each domain name in the certificate. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DomainValidation +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DomainValidation type DomainValidation struct { _ struct{} `type:"structure"` @@ -1538,13 +1577,27 @@ type DomainValidation struct { // DomainName is a required field DomainName *string `min:"1" type:"string" required:"true"` + // Contains the CNAME record that you add to your DNS database for domain validation. + // For more information, see Use DNS to Validate Domain Ownership (http://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html). + ResourceRecord *ResourceRecord `type:"structure"` + // The domain name that ACM used to send domain validation emails. ValidationDomain *string `min:"1" type:"string"` // A list of email addresses that ACM used to send domain validation emails. ValidationEmails []*string `type:"list"` - // The validation status of the domain name. + // Specifies the domain validation method. + ValidationMethod *string `type:"string" enum:"ValidationMethod"` + + // The validation status of the domain name. This can be one of the following + // values: + // + // * PENDING_VALIDATION + // + // * SUCCESS + // + // * FAILED ValidationStatus *string `type:"string" enum:"DomainStatus"` } @@ -1564,6 +1617,12 @@ func (s *DomainValidation) SetDomainName(v string) *DomainValidation { return s } +// SetResourceRecord sets the ResourceRecord field's value. +func (s *DomainValidation) SetResourceRecord(v *ResourceRecord) *DomainValidation { + s.ResourceRecord = v + return s +} + // SetValidationDomain sets the ValidationDomain field's value. func (s *DomainValidation) SetValidationDomain(v string) *DomainValidation { s.ValidationDomain = &v @@ -1576,6 +1635,12 @@ func (s *DomainValidation) SetValidationEmails(v []*string) *DomainValidation { return s } +// SetValidationMethod sets the ValidationMethod field's value. +func (s *DomainValidation) SetValidationMethod(v string) *DomainValidation { + s.ValidationMethod = &v + return s +} + // SetValidationStatus sets the ValidationStatus field's value. func (s *DomainValidation) SetValidationStatus(v string) *DomainValidation { s.ValidationStatus = &v @@ -1583,8 +1648,8 @@ func (s *DomainValidation) SetValidationStatus(v string) *DomainValidation { } // Contains information about the domain names that you want ACM to use to send -// you emails to validate your ownership of the domain. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DomainValidationOption +// you emails that enable you to validate domain ownership. +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DomainValidationOption type DomainValidationOption struct { _ struct{} `type:"structure"` @@ -1658,7 +1723,107 @@ func (s *DomainValidationOption) SetValidationDomain(v string) *DomainValidation return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificateRequest +// The Extended Key Usage X.509 v3 extension defines one or more purposes for +// which the public key can be used. This is in addition to or in place of the +// basic purposes specified by the Key Usage extension. +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ExtendedKeyUsage +type ExtendedKeyUsage struct { + _ struct{} `type:"structure"` + + // The name of an Extended Key Usage value. + Name *string `type:"string" enum:"ExtendedKeyUsageName"` + + // An object identifier (OID) for the extension value. OIDs are strings of numbers + // separated by periods. The following OIDs are defined in RFC 3280 and RFC + // 5280. + // + // * 1.3.6.1.5.5.7.3.1 (TLS_WEB_SERVER_AUTHENTICATION) + // + // * 1.3.6.1.5.5.7.3.2 (TLS_WEB_CLIENT_AUTHENTICATION) + // + // * 1.3.6.1.5.5.7.3.3 (CODE_SIGNING) + // + // * 1.3.6.1.5.5.7.3.4 (EMAIL_PROTECTION) + // + // * 1.3.6.1.5.5.7.3.8 (TIME_STAMPING) + // + // * 1.3.6.1.5.5.7.3.9 (OCSP_SIGNING) + // + // * 1.3.6.1.5.5.7.3.5 (IPSEC_END_SYSTEM) + // + // * 1.3.6.1.5.5.7.3.6 (IPSEC_TUNNEL) + // + // * 1.3.6.1.5.5.7.3.7 (IPSEC_USER) + OID *string `type:"string"` +} + +// String returns the string representation +func (s ExtendedKeyUsage) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ExtendedKeyUsage) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *ExtendedKeyUsage) SetName(v string) *ExtendedKeyUsage { + s.Name = &v + return s +} + +// SetOID sets the OID field's value. +func (s *ExtendedKeyUsage) SetOID(v string) *ExtendedKeyUsage { + s.OID = &v + return s +} + +// This structure can be used in the ListCertificates action to filter the output +// of the certificate list. +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/Filters +type Filters struct { + _ struct{} `type:"structure"` + + // Specify one or more ExtendedKeyUsage extension values. + ExtendedKeyUsage []*string `locationName:"extendedKeyUsage" type:"list"` + + // Specify one or more algorithms that can be used to generate key pairs. + KeyTypes []*string `locationName:"keyTypes" type:"list"` + + // Specify one or more KeyUsage extension values. + KeyUsage []*string `locationName:"keyUsage" type:"list"` +} + +// String returns the string representation +func (s Filters) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Filters) GoString() string { + return s.String() +} + +// SetExtendedKeyUsage sets the ExtendedKeyUsage field's value. +func (s *Filters) SetExtendedKeyUsage(v []*string) *Filters { + s.ExtendedKeyUsage = v + return s +} + +// SetKeyTypes sets the KeyTypes field's value. +func (s *Filters) SetKeyTypes(v []*string) *Filters { + s.KeyTypes = v + return s +} + +// SetKeyUsage sets the KeyUsage field's value. +func (s *Filters) SetKeyUsage(v []*string) *Filters { + s.KeyUsage = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificateRequest type GetCertificateInput struct { _ struct{} `type:"structure"` @@ -1705,7 +1870,7 @@ func (s *GetCertificateInput) SetCertificateArn(v string) *GetCertificateInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificateResponse type GetCertificateOutput struct { _ struct{} `type:"structure"` @@ -1740,19 +1905,11 @@ func (s *GetCertificateOutput) SetCertificateChain(v string) *GetCertificateOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificateRequest type ImportCertificateInput struct { _ struct{} `type:"structure"` - // The certificate to import. It must meet the following requirements: - // - // * Must be PEM-encoded. - // - // * Must contain a 1024-bit or 2048-bit RSA public key. - // - // * Must be valid at the time of import. You cannot import a certificate - // before its validity period begins (the certificate's NotBefore date) or - // after it expires (the certificate's NotAfter date). + // The certificate to import. // // Certificate is automatically base64 encoded/decoded by the SDK. // @@ -1764,18 +1921,12 @@ type ImportCertificateInput struct { // this field. CertificateArn *string `min:"20" type:"string"` - // The certificate chain. It must be PEM-encoded. + // The PEM encoded certificate chain. // // CertificateChain is automatically base64 encoded/decoded by the SDK. CertificateChain []byte `min:"1" type:"blob"` - // The private key that matches the public key in the certificate. It must meet - // the following requirements: - // - // * Must be PEM-encoded. - // - // * Must be unencrypted. You cannot import a private key that is protected - // by a password or passphrase. + // The private key that matches the public key in the certificate. // // PrivateKey is automatically base64 encoded/decoded by the SDK. // @@ -1845,7 +1996,7 @@ func (s *ImportCertificateInput) SetPrivateKey(v []byte) *ImportCertificateInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificateResponse type ImportCertificateOutput struct { _ struct{} `type:"structure"` @@ -1870,13 +2021,49 @@ func (s *ImportCertificateOutput) SetCertificateArn(v string) *ImportCertificate return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificatesRequest +// The Key Usage X.509 v3 extension defines the purpose of the public key contained +// in the certificate. +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/KeyUsage +type KeyUsage struct { + _ struct{} `type:"structure"` + + // A string value that contains a Key Usage extension name. + Name *string `type:"string" enum:"KeyUsageName"` +} + +// String returns the string representation +func (s KeyUsage) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s KeyUsage) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *KeyUsage) SetName(v string) *KeyUsage { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificatesRequest type ListCertificatesInput struct { _ struct{} `type:"structure"` - // The status or statuses on which to filter the list of ACM Certificates. + // Filter the certificate list by status value. CertificateStatuses []*string `type:"list"` + // Filter the certificate list by one or more of the following values. For more + // information, see the Filters structure. + // + // * extendedKeyUsage + // + // * keyUsage + // + // * keyTypes + Includes *Filters `type:"structure"` + // Use this parameter when paginating results to specify the maximum number // of items to return in the response. If additional items exist beyond the // number you specify, the NextToken element is sent in the response. Use this @@ -1921,6 +2108,12 @@ func (s *ListCertificatesInput) SetCertificateStatuses(v []*string) *ListCertifi return s } +// SetIncludes sets the Includes field's value. +func (s *ListCertificatesInput) SetIncludes(v *Filters) *ListCertificatesInput { + s.Includes = v + return s +} + // SetMaxItems sets the MaxItems field's value. func (s *ListCertificatesInput) SetMaxItems(v int64) *ListCertificatesInput { s.MaxItems = &v @@ -1933,7 +2126,7 @@ func (s *ListCertificatesInput) SetNextToken(v string) *ListCertificatesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificatesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificatesResponse type ListCertificatesOutput struct { _ struct{} `type:"structure"` @@ -1967,12 +2160,12 @@ func (s *ListCertificatesOutput) SetNextToken(v string) *ListCertificatesOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificateRequest type ListTagsForCertificateInput struct { _ struct{} `type:"structure"` // String that contains the ARN of the ACM Certificate for which you want to - // list the tags. This has the following form: + // list the tags. This must have the following form: // // arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 // @@ -2015,7 +2208,7 @@ func (s *ListTagsForCertificateInput) SetCertificateArn(v string) *ListTagsForCe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificateResponse type ListTagsForCertificateOutput struct { _ struct{} `type:"structure"` @@ -2039,7 +2232,7 @@ func (s *ListTagsForCertificateOutput) SetTags(v []*Tag) *ListTagsForCertificate return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificateRequest type RemoveTagsFromCertificateInput struct { _ struct{} `type:"structure"` @@ -2114,7 +2307,7 @@ func (s *RemoveTagsFromCertificateInput) SetTags(v []*Tag) *RemoveTagsFromCertif return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificateOutput type RemoveTagsFromCertificateOutput struct { _ struct{} `type:"structure"` } @@ -2132,7 +2325,7 @@ func (s RemoveTagsFromCertificateOutput) GoString() string { // Contains information about the status of ACM's managed renewal (http://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html) // for the certificate. This structure exists only when the certificate type // is AMAZON_ISSUED. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RenewalSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RenewalSummary type RenewalSummary struct { _ struct{} `type:"structure"` @@ -2174,7 +2367,7 @@ func (s *RenewalSummary) SetRenewalStatus(v string) *RenewalSummary { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificateRequest type RequestCertificateInput struct { _ struct{} `type:"structure"` @@ -2183,25 +2376,15 @@ type RequestCertificateInput struct { // a wildcard certificate that protects several sites in the same domain. For // example, *.example.com protects www.example.com, site.example.com, and images.example.com. // - // The maximum length of a DNS name is 253 octets. The name is made up of multiple - // labels separated by periods. No label can be longer than 63 octets. Consider - // the following examples: - // - // (63 octets).(63 octets).(63 octets).(61 octets) is legal because the total - // length is 253 octets (63+1+63+1+63+1+61) and no label exceeds 63 octets. - // - // (64 octets).(63 octets).(63 octets).(61 octets) is not legal because the - // total length exceeds 253 octets (64+1+63+1+63+1+61) and the first label exceeds - // 63 octets. - // - // (63 octets).(63 octets).(63 octets).(62 octets) is not legal because the - // total length of the DNS name (63+1+63+1+63+1+62) exceeds 253 octets. + // The first domain name you enter cannot exceed 63 octets, including periods. + // Each subsequent Subject Alternative Name (SAN), however, can be up to 253 + // octets in length. // // DomainName is a required field DomainName *string `min:"1" type:"string" required:"true"` - // The domain name that you want ACM to use to send you emails to validate your - // ownership of the domain. + // The domain name that you want ACM to use to send you emails so taht your + // can validate domain ownership. DomainValidationOptions []*DomainValidationOption `min:"1" type:"list"` // Customer chosen string that can be used to distinguish between calls to RequestCertificate. @@ -2219,7 +2402,25 @@ type RequestCertificateInput struct { // add to an ACM Certificate is 100. However, the initial limit is 10 domain // names. If you need more than 10 names, you must request a limit increase. // For more information, see Limits (http://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html). + // + // The maximum length of a SAN DNS name is 253 octets. The name is made up of + // multiple labels separated by periods. No label can be longer than 63 octets. + // Consider the following examples: + // + // * (63 octets).(63 octets).(63 octets).(61 octets) is legal because the + // total length is 253 octets (63+1+63+1+63+1+61) and no label exceeds 63 + // octets. + // + // * (64 octets).(63 octets).(63 octets).(61 octets) is not legal because + // the total length exceeds 253 octets (64+1+63+1+63+1+61) and the first + // label exceeds 63 octets. + // + // * (63 octets).(63 octets).(63 octets).(62 octets) is not legal because + // the total length of the DNS name (63+1+63+1+63+1+62) exceeds 253 octets. SubjectAlternativeNames []*string `min:"1" type:"list"` + + // The method you want to use to validate your domain. + ValidationMethod *string `type:"string" enum:"ValidationMethod"` } // String returns the string representation @@ -2291,7 +2492,13 @@ func (s *RequestCertificateInput) SetSubjectAlternativeNames(v []*string) *Reque return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificateResponse +// SetValidationMethod sets the ValidationMethod field's value. +func (s *RequestCertificateInput) SetValidationMethod(v string) *RequestCertificateInput { + s.ValidationMethod = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificateResponse type RequestCertificateOutput struct { _ struct{} `type:"structure"` @@ -2318,16 +2525,15 @@ func (s *RequestCertificateOutput) SetCertificateArn(v string) *RequestCertifica return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmailRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmailRequest type ResendValidationEmailInput struct { _ struct{} `type:"structure"` // String that contains the ARN of the requested certificate. The certificate // ARN is generated and returned by the RequestCertificate action as soon as // the request is made. By default, using this parameter causes email to be - // sent to all top-level domains you specified in the certificate request. - // - // The ARN must be of the form: + // sent to all top-level domains you specified in the certificate request. The + // ARN must be of the form: // // arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 // @@ -2417,7 +2623,7 @@ func (s *ResendValidationEmailInput) SetValidationDomain(v string) *ResendValida return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmailOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmailOutput type ResendValidationEmailOutput struct { _ struct{} `type:"structure"` } @@ -2432,8 +2638,60 @@ func (s ResendValidationEmailOutput) GoString() string { return s.String() } +// Contains a DNS record value that you can use to can use to validate ownership +// or control of a domain. This is used by the DescribeCertificate action. +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResourceRecord +type ResourceRecord struct { + _ struct{} `type:"structure"` + + // The name of the DNS record to create in your domain. This is supplied by + // ACM. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // The type of DNS record. Currently this can be CNAME. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"RecordType"` + + // The value of the CNAME record to add to your DNS database. This is supplied + // by ACM. + // + // Value is a required field + Value *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s ResourceRecord) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ResourceRecord) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *ResourceRecord) SetName(v string) *ResourceRecord { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *ResourceRecord) SetType(v string) *ResourceRecord { + s.Type = &v + return s +} + +// SetValue sets the Value field's value. +func (s *ResourceRecord) SetValue(v string) *ResourceRecord { + s.Value = &v + return s +} + // A key-value pair that identifies or specifies metadata about an ACM resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/Tag type Tag struct { _ struct{} `type:"structure"` @@ -2526,6 +2784,44 @@ const ( DomainStatusFailed = "FAILED" ) +const ( + // ExtendedKeyUsageNameTlsWebServerAuthentication is a ExtendedKeyUsageName enum value + ExtendedKeyUsageNameTlsWebServerAuthentication = "TLS_WEB_SERVER_AUTHENTICATION" + + // ExtendedKeyUsageNameTlsWebClientAuthentication is a ExtendedKeyUsageName enum value + ExtendedKeyUsageNameTlsWebClientAuthentication = "TLS_WEB_CLIENT_AUTHENTICATION" + + // ExtendedKeyUsageNameCodeSigning is a ExtendedKeyUsageName enum value + ExtendedKeyUsageNameCodeSigning = "CODE_SIGNING" + + // ExtendedKeyUsageNameEmailProtection is a ExtendedKeyUsageName enum value + ExtendedKeyUsageNameEmailProtection = "EMAIL_PROTECTION" + + // ExtendedKeyUsageNameTimeStamping is a ExtendedKeyUsageName enum value + ExtendedKeyUsageNameTimeStamping = "TIME_STAMPING" + + // ExtendedKeyUsageNameOcspSigning is a ExtendedKeyUsageName enum value + ExtendedKeyUsageNameOcspSigning = "OCSP_SIGNING" + + // ExtendedKeyUsageNameIpsecEndSystem is a ExtendedKeyUsageName enum value + ExtendedKeyUsageNameIpsecEndSystem = "IPSEC_END_SYSTEM" + + // ExtendedKeyUsageNameIpsecTunnel is a ExtendedKeyUsageName enum value + ExtendedKeyUsageNameIpsecTunnel = "IPSEC_TUNNEL" + + // ExtendedKeyUsageNameIpsecUser is a ExtendedKeyUsageName enum value + ExtendedKeyUsageNameIpsecUser = "IPSEC_USER" + + // ExtendedKeyUsageNameAny is a ExtendedKeyUsageName enum value + ExtendedKeyUsageNameAny = "ANY" + + // ExtendedKeyUsageNameNone is a ExtendedKeyUsageName enum value + ExtendedKeyUsageNameNone = "NONE" + + // ExtendedKeyUsageNameCustom is a ExtendedKeyUsageName enum value + ExtendedKeyUsageNameCustom = "CUSTOM" +) + const ( // FailureReasonNoAvailableContacts is a FailureReason enum value FailureReasonNoAvailableContacts = "NO_AVAILABLE_CONTACTS" @@ -2539,6 +2835,9 @@ const ( // FailureReasonInvalidPublicDomain is a FailureReason enum value FailureReasonInvalidPublicDomain = "INVALID_PUBLIC_DOMAIN" + // FailureReasonCaaError is a FailureReason enum value + FailureReasonCaaError = "CAA_ERROR" + // FailureReasonOther is a FailureReason enum value FailureReasonOther = "OTHER" ) @@ -2550,8 +2849,57 @@ const ( // KeyAlgorithmRsa1024 is a KeyAlgorithm enum value KeyAlgorithmRsa1024 = "RSA_1024" + // KeyAlgorithmRsa4096 is a KeyAlgorithm enum value + KeyAlgorithmRsa4096 = "RSA_4096" + // KeyAlgorithmEcPrime256v1 is a KeyAlgorithm enum value KeyAlgorithmEcPrime256v1 = "EC_prime256v1" + + // KeyAlgorithmEcSecp384r1 is a KeyAlgorithm enum value + KeyAlgorithmEcSecp384r1 = "EC_secp384r1" + + // KeyAlgorithmEcSecp521r1 is a KeyAlgorithm enum value + KeyAlgorithmEcSecp521r1 = "EC_secp521r1" +) + +const ( + // KeyUsageNameDigitalSignature is a KeyUsageName enum value + KeyUsageNameDigitalSignature = "DIGITAL_SIGNATURE" + + // KeyUsageNameNonRepudiation is a KeyUsageName enum value + KeyUsageNameNonRepudiation = "NON_REPUDIATION" + + // KeyUsageNameKeyEncipherment is a KeyUsageName enum value + KeyUsageNameKeyEncipherment = "KEY_ENCIPHERMENT" + + // KeyUsageNameDataEncipherment is a KeyUsageName enum value + KeyUsageNameDataEncipherment = "DATA_ENCIPHERMENT" + + // KeyUsageNameKeyAgreement is a KeyUsageName enum value + KeyUsageNameKeyAgreement = "KEY_AGREEMENT" + + // KeyUsageNameCertificateSigning is a KeyUsageName enum value + KeyUsageNameCertificateSigning = "CERTIFICATE_SIGNING" + + // KeyUsageNameCrlSigning is a KeyUsageName enum value + KeyUsageNameCrlSigning = "CRL_SIGNING" + + // KeyUsageNameEncipherOnly is a KeyUsageName enum value + KeyUsageNameEncipherOnly = "ENCIPHER_ONLY" + + // KeyUsageNameDecipherOnly is a KeyUsageName enum value + KeyUsageNameDecipherOnly = "DECIPHER_ONLY" + + // KeyUsageNameAny is a KeyUsageName enum value + KeyUsageNameAny = "ANY" + + // KeyUsageNameCustom is a KeyUsageName enum value + KeyUsageNameCustom = "CUSTOM" +) + +const ( + // RecordTypeCname is a RecordType enum value + RecordTypeCname = "CNAME" ) const ( @@ -2599,3 +2947,11 @@ const ( // RevocationReasonAACompromise is a RevocationReason enum value RevocationReasonAACompromise = "A_A_COMPROMISE" ) + +const ( + // ValidationMethodEmail is a ValidationMethod enum value + ValidationMethodEmail = "EMAIL" + + // ValidationMethodDns is a ValidationMethod enum value + ValidationMethodDns = "DNS" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go b/vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go index eee3d539aec..7cd4b73585a 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go @@ -1308,6 +1308,93 @@ func (c *APIGateway) CreateUsagePlanKeyWithContext(ctx aws.Context, input *Creat return out, req.Send() } +const opCreateVpcLink = "CreateVpcLink" + +// CreateVpcLinkRequest generates a "aws/request.Request" representing the +// client's request for the CreateVpcLink operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateVpcLink for more information on using the CreateVpcLink +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateVpcLinkRequest method. +// req, resp := client.CreateVpcLinkRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) CreateVpcLinkRequest(input *CreateVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput) { + op := &request.Operation{ + Name: opCreateVpcLink, + HTTPMethod: "POST", + HTTPPath: "/vpclinks", + } + + if input == nil { + input = &CreateVpcLinkInput{} + } + + output = &UpdateVpcLinkOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateVpcLink API operation for Amazon API Gateway. +// +// Creates a VPC link, under the caller's account in a selected region, in an +// asynchronous operation that typically takes 2-4 minutes to complete and become +// operational. The caller must have permissions to create and update VPC Endpoint +// services. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon API Gateway's +// API operation CreateVpcLink for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnauthorizedException "UnauthorizedException" +// The request is denied because the caller has insufficient permissions. +// +// * ErrCodeBadRequestException "BadRequestException" +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// The request has reached its throttling limit. Retry after the specified time +// period. +// +func (c *APIGateway) CreateVpcLink(input *CreateVpcLinkInput) (*UpdateVpcLinkOutput, error) { + req, out := c.CreateVpcLinkRequest(input) + return out, req.Send() +} + +// CreateVpcLinkWithContext is the same as CreateVpcLink with the addition of +// the ability to pass a context and additional request options. +// +// See CreateVpcLink for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *APIGateway) CreateVpcLinkWithContext(ctx aws.Context, input *CreateVpcLinkInput, opts ...request.Option) (*UpdateVpcLinkOutput, error) { + req, out := c.CreateVpcLinkRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteApiKey = "DeleteApiKey" // DeleteApiKeyRequest generates a "aws/request.Request" representing the @@ -3125,6 +3212,95 @@ func (c *APIGateway) DeleteUsagePlanKeyWithContext(ctx aws.Context, input *Delet return out, req.Send() } +const opDeleteVpcLink = "DeleteVpcLink" + +// DeleteVpcLinkRequest generates a "aws/request.Request" representing the +// client's request for the DeleteVpcLink operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteVpcLink for more information on using the DeleteVpcLink +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteVpcLinkRequest method. +// req, resp := client.DeleteVpcLinkRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) DeleteVpcLinkRequest(input *DeleteVpcLinkInput) (req *request.Request, output *DeleteVpcLinkOutput) { + op := &request.Operation{ + Name: opDeleteVpcLink, + HTTPMethod: "DELETE", + HTTPPath: "/vpclinks/{vpclink_id}", + } + + if input == nil { + input = &DeleteVpcLinkInput{} + } + + output = &DeleteVpcLinkOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteVpcLink API operation for Amazon API Gateway. +// +// Deletes an existing VpcLink of a specified identifier. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon API Gateway's +// API operation DeleteVpcLink for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnauthorizedException "UnauthorizedException" +// The request is denied because the caller has insufficient permissions. +// +// * ErrCodeNotFoundException "NotFoundException" +// The requested resource is not found. Make sure that the request URI is correct. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// The request has reached its throttling limit. Retry after the specified time +// period. +// +// * ErrCodeBadRequestException "BadRequestException" +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. +// +func (c *APIGateway) DeleteVpcLink(input *DeleteVpcLinkInput) (*DeleteVpcLinkOutput, error) { + req, out := c.DeleteVpcLinkRequest(input) + return out, req.Send() +} + +// DeleteVpcLinkWithContext is the same as DeleteVpcLink with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteVpcLink for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *APIGateway) DeleteVpcLinkWithContext(ctx aws.Context, input *DeleteVpcLinkInput, opts ...request.Option) (*DeleteVpcLinkOutput, error) { + req, out := c.DeleteVpcLinkRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opFlushStageAuthorizersCache = "FlushStageAuthorizersCache" // FlushStageAuthorizersCacheRequest generates a "aws/request.Request" representing the @@ -5320,8 +5496,8 @@ func (c *APIGateway) GetGatewayResponsesRequest(input *GetGatewayResponsesInput) // // Gets the GatewayResponses collection on the given RestApi. If an API developer // has not added any definitions for gateway responses, the result will be the -// Amazon API Gateway-generated default GatewayResponses collection for the -// supported response types. +// API Gateway-generated default GatewayResponses collection for the supported +// response types. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5408,7 +5584,7 @@ func (c *APIGateway) GetIntegrationRequest(input *GetIntegrationInput) (req *req // GetIntegration API operation for Amazon API Gateway. // -// Represents a get integration. +// Get the integration settings. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7655,56 +7831,56 @@ func (c *APIGateway) GetUsagePlansPagesWithContext(ctx aws.Context, input *GetUs return p.Err() } -const opImportApiKeys = "ImportApiKeys" +const opGetVpcLink = "GetVpcLink" -// ImportApiKeysRequest generates a "aws/request.Request" representing the -// client's request for the ImportApiKeys operation. The "output" return +// GetVpcLinkRequest generates a "aws/request.Request" representing the +// client's request for the GetVpcLink operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ImportApiKeys for more information on using the ImportApiKeys +// See GetVpcLink for more information on using the GetVpcLink // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ImportApiKeysRequest method. -// req, resp := client.ImportApiKeysRequest(params) +// // Example sending a request using the GetVpcLinkRequest method. +// req, resp := client.GetVpcLinkRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *APIGateway) ImportApiKeysRequest(input *ImportApiKeysInput) (req *request.Request, output *ImportApiKeysOutput) { +func (c *APIGateway) GetVpcLinkRequest(input *GetVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput) { op := &request.Operation{ - Name: opImportApiKeys, - HTTPMethod: "POST", - HTTPPath: "/apikeys?mode=import", + Name: opGetVpcLink, + HTTPMethod: "GET", + HTTPPath: "/vpclinks/{vpclink_id}", } if input == nil { - input = &ImportApiKeysInput{} + input = &GetVpcLinkInput{} } - output = &ImportApiKeysOutput{} + output = &UpdateVpcLinkOutput{} req = c.newRequest(op, input, output) return } -// ImportApiKeys API operation for Amazon API Gateway. +// GetVpcLink API operation for Amazon API Gateway. // -// Import API keys from an external source, such as a CSV-formatted file. +// Gets a specified VPC link under the caller's account in a region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon API Gateway's -// API operation ImportApiKeys for usage and error information. +// API operation GetVpcLink for usage and error information. // // Returned Error Codes: // * ErrCodeUnauthorizedException "UnauthorizedException" @@ -7717,151 +7893,374 @@ func (c *APIGateway) ImportApiKeysRequest(input *ImportApiKeysInput) (req *reque // The request has reached its throttling limit. Retry after the specified time // period. // -// * ErrCodeLimitExceededException "LimitExceededException" -// The request exceeded the rate limit. Retry after the specified time period. -// -// * ErrCodeBadRequestException "BadRequestException" -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. -// -// * ErrCodeConflictException "ConflictException" -// The request configuration has conflicts. For details, see the accompanying -// error message. -// -func (c *APIGateway) ImportApiKeys(input *ImportApiKeysInput) (*ImportApiKeysOutput, error) { - req, out := c.ImportApiKeysRequest(input) +func (c *APIGateway) GetVpcLink(input *GetVpcLinkInput) (*UpdateVpcLinkOutput, error) { + req, out := c.GetVpcLinkRequest(input) return out, req.Send() } -// ImportApiKeysWithContext is the same as ImportApiKeys with the addition of +// GetVpcLinkWithContext is the same as GetVpcLink with the addition of // the ability to pass a context and additional request options. // -// See ImportApiKeys for details on how to use this API operation. +// See GetVpcLink for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *APIGateway) ImportApiKeysWithContext(ctx aws.Context, input *ImportApiKeysInput, opts ...request.Option) (*ImportApiKeysOutput, error) { - req, out := c.ImportApiKeysRequest(input) +func (c *APIGateway) GetVpcLinkWithContext(ctx aws.Context, input *GetVpcLinkInput, opts ...request.Option) (*UpdateVpcLinkOutput, error) { + req, out := c.GetVpcLinkRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opImportDocumentationParts = "ImportDocumentationParts" +const opGetVpcLinks = "GetVpcLinks" -// ImportDocumentationPartsRequest generates a "aws/request.Request" representing the -// client's request for the ImportDocumentationParts operation. The "output" return +// GetVpcLinksRequest generates a "aws/request.Request" representing the +// client's request for the GetVpcLinks operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ImportDocumentationParts for more information on using the ImportDocumentationParts +// See GetVpcLinks for more information on using the GetVpcLinks // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ImportDocumentationPartsRequest method. -// req, resp := client.ImportDocumentationPartsRequest(params) +// // Example sending a request using the GetVpcLinksRequest method. +// req, resp := client.GetVpcLinksRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *APIGateway) ImportDocumentationPartsRequest(input *ImportDocumentationPartsInput) (req *request.Request, output *ImportDocumentationPartsOutput) { +func (c *APIGateway) GetVpcLinksRequest(input *GetVpcLinksInput) (req *request.Request, output *GetVpcLinksOutput) { op := &request.Operation{ - Name: opImportDocumentationParts, - HTTPMethod: "PUT", - HTTPPath: "/restapis/{restapi_id}/documentation/parts", + Name: opGetVpcLinks, + HTTPMethod: "GET", + HTTPPath: "/vpclinks", + Paginator: &request.Paginator{ + InputTokens: []string{"position"}, + OutputTokens: []string{"position"}, + LimitToken: "limit", + TruncationToken: "", + }, } if input == nil { - input = &ImportDocumentationPartsInput{} + input = &GetVpcLinksInput{} } - output = &ImportDocumentationPartsOutput{} + output = &GetVpcLinksOutput{} req = c.newRequest(op, input, output) return } -// ImportDocumentationParts API operation for Amazon API Gateway. +// GetVpcLinks API operation for Amazon API Gateway. +// +// Gets the VpcLinks collection under the caller's account in a selected region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon API Gateway's -// API operation ImportDocumentationParts for usage and error information. +// API operation GetVpcLinks for usage and error information. // // Returned Error Codes: -// * ErrCodeUnauthorizedException "UnauthorizedException" -// The request is denied because the caller has insufficient permissions. -// -// * ErrCodeNotFoundException "NotFoundException" -// The requested resource is not found. Make sure that the request URI is correct. -// // * ErrCodeBadRequestException "BadRequestException" // The submitted request is not valid, for example, the input is incomplete // or incorrect. See the accompanying error message for details. // -// * ErrCodeLimitExceededException "LimitExceededException" -// The request exceeded the rate limit. Retry after the specified time period. +// * ErrCodeUnauthorizedException "UnauthorizedException" +// The request is denied because the caller has insufficient permissions. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" // The request has reached its throttling limit. Retry after the specified time // period. // -func (c *APIGateway) ImportDocumentationParts(input *ImportDocumentationPartsInput) (*ImportDocumentationPartsOutput, error) { - req, out := c.ImportDocumentationPartsRequest(input) +func (c *APIGateway) GetVpcLinks(input *GetVpcLinksInput) (*GetVpcLinksOutput, error) { + req, out := c.GetVpcLinksRequest(input) return out, req.Send() } -// ImportDocumentationPartsWithContext is the same as ImportDocumentationParts with the addition of +// GetVpcLinksWithContext is the same as GetVpcLinks with the addition of // the ability to pass a context and additional request options. // -// See ImportDocumentationParts for details on how to use this API operation. +// See GetVpcLinks for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *APIGateway) ImportDocumentationPartsWithContext(ctx aws.Context, input *ImportDocumentationPartsInput, opts ...request.Option) (*ImportDocumentationPartsOutput, error) { - req, out := c.ImportDocumentationPartsRequest(input) +func (c *APIGateway) GetVpcLinksWithContext(ctx aws.Context, input *GetVpcLinksInput, opts ...request.Option) (*GetVpcLinksOutput, error) { + req, out := c.GetVpcLinksRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opImportRestApi = "ImportRestApi" +// GetVpcLinksPages iterates over the pages of a GetVpcLinks operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetVpcLinks method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetVpcLinks operation. +// pageNum := 0 +// err := client.GetVpcLinksPages(params, +// func(page *GetVpcLinksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *APIGateway) GetVpcLinksPages(input *GetVpcLinksInput, fn func(*GetVpcLinksOutput, bool) bool) error { + return c.GetVpcLinksPagesWithContext(aws.BackgroundContext(), input, fn) +} -// ImportRestApiRequest generates a "aws/request.Request" representing the -// client's request for the ImportRestApi operation. The "output" return +// GetVpcLinksPagesWithContext same as GetVpcLinksPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *APIGateway) GetVpcLinksPagesWithContext(ctx aws.Context, input *GetVpcLinksInput, fn func(*GetVpcLinksOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetVpcLinksInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetVpcLinksRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetVpcLinksOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opImportApiKeys = "ImportApiKeys" + +// ImportApiKeysRequest generates a "aws/request.Request" representing the +// client's request for the ImportApiKeys operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ImportRestApi for more information on using the ImportRestApi +// See ImportApiKeys for more information on using the ImportApiKeys // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ImportRestApiRequest method. -// req, resp := client.ImportRestApiRequest(params) +// // Example sending a request using the ImportApiKeysRequest method. +// req, resp := client.ImportApiKeysRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *APIGateway) ImportRestApiRequest(input *ImportRestApiInput) (req *request.Request, output *RestApi) { +func (c *APIGateway) ImportApiKeysRequest(input *ImportApiKeysInput) (req *request.Request, output *ImportApiKeysOutput) { + op := &request.Operation{ + Name: opImportApiKeys, + HTTPMethod: "POST", + HTTPPath: "/apikeys?mode=import", + } + + if input == nil { + input = &ImportApiKeysInput{} + } + + output = &ImportApiKeysOutput{} + req = c.newRequest(op, input, output) + return +} + +// ImportApiKeys API operation for Amazon API Gateway. +// +// Import API keys from an external source, such as a CSV-formatted file. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon API Gateway's +// API operation ImportApiKeys for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnauthorizedException "UnauthorizedException" +// The request is denied because the caller has insufficient permissions. +// +// * ErrCodeNotFoundException "NotFoundException" +// The requested resource is not found. Make sure that the request URI is correct. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// The request has reached its throttling limit. Retry after the specified time +// period. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded the rate limit. Retry after the specified time period. +// +// * ErrCodeBadRequestException "BadRequestException" +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. +// +// * ErrCodeConflictException "ConflictException" +// The request configuration has conflicts. For details, see the accompanying +// error message. +// +func (c *APIGateway) ImportApiKeys(input *ImportApiKeysInput) (*ImportApiKeysOutput, error) { + req, out := c.ImportApiKeysRequest(input) + return out, req.Send() +} + +// ImportApiKeysWithContext is the same as ImportApiKeys with the addition of +// the ability to pass a context and additional request options. +// +// See ImportApiKeys for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *APIGateway) ImportApiKeysWithContext(ctx aws.Context, input *ImportApiKeysInput, opts ...request.Option) (*ImportApiKeysOutput, error) { + req, out := c.ImportApiKeysRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opImportDocumentationParts = "ImportDocumentationParts" + +// ImportDocumentationPartsRequest generates a "aws/request.Request" representing the +// client's request for the ImportDocumentationParts operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ImportDocumentationParts for more information on using the ImportDocumentationParts +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ImportDocumentationPartsRequest method. +// req, resp := client.ImportDocumentationPartsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) ImportDocumentationPartsRequest(input *ImportDocumentationPartsInput) (req *request.Request, output *ImportDocumentationPartsOutput) { + op := &request.Operation{ + Name: opImportDocumentationParts, + HTTPMethod: "PUT", + HTTPPath: "/restapis/{restapi_id}/documentation/parts", + } + + if input == nil { + input = &ImportDocumentationPartsInput{} + } + + output = &ImportDocumentationPartsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ImportDocumentationParts API operation for Amazon API Gateway. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon API Gateway's +// API operation ImportDocumentationParts for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnauthorizedException "UnauthorizedException" +// The request is denied because the caller has insufficient permissions. +// +// * ErrCodeNotFoundException "NotFoundException" +// The requested resource is not found. Make sure that the request URI is correct. +// +// * ErrCodeBadRequestException "BadRequestException" +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded the rate limit. Retry after the specified time period. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// The request has reached its throttling limit. Retry after the specified time +// period. +// +func (c *APIGateway) ImportDocumentationParts(input *ImportDocumentationPartsInput) (*ImportDocumentationPartsOutput, error) { + req, out := c.ImportDocumentationPartsRequest(input) + return out, req.Send() +} + +// ImportDocumentationPartsWithContext is the same as ImportDocumentationParts with the addition of +// the ability to pass a context and additional request options. +// +// See ImportDocumentationParts for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *APIGateway) ImportDocumentationPartsWithContext(ctx aws.Context, input *ImportDocumentationPartsInput, opts ...request.Option) (*ImportDocumentationPartsOutput, error) { + req, out := c.ImportDocumentationPartsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opImportRestApi = "ImportRestApi" + +// ImportRestApiRequest generates a "aws/request.Request" representing the +// client's request for the ImportRestApi operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ImportRestApi for more information on using the ImportRestApi +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ImportRestApiRequest method. +// req, resp := client.ImportRestApiRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) ImportRestApiRequest(input *ImportRestApiInput) (req *request.Request, output *RestApi) { op := &request.Operation{ Name: opImportRestApi, HTTPMethod: "POST", @@ -7879,8 +8278,8 @@ func (c *APIGateway) ImportRestApiRequest(input *ImportRestApiInput) (req *reque // ImportRestApi API operation for Amazon API Gateway. // -// A feature of the Amazon API Gateway control service for creating a new API -// from an external API definition file. +// A feature of the API Gateway control service for creating a new API from +// an external API definition file. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8435,9 +8834,9 @@ func (c *APIGateway) PutRestApiRequest(input *PutRestApiInput) (req *request.Req // PutRestApi API operation for Amazon API Gateway. // -// A feature of the Amazon API Gateway control service for updating an existing -// API with an input of external API definitions. The update can take the form -// of merging the supplied definition into the existing API or overwriting the +// A feature of the API Gateway control service for updating an existing API +// with an input of external API definitions. The update can take the form of +// merging the supplied definition into the existing API or overwriting the // existing API. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -10560,7 +10959,134 @@ func (c *APIGateway) UpdateUsagePlanWithContext(ctx aws.Context, input *UpdateUs return out, req.Send() } -// Represents an AWS account that is associated with Amazon API Gateway. +const opUpdateVpcLink = "UpdateVpcLink" + +// UpdateVpcLinkRequest generates a "aws/request.Request" representing the +// client's request for the UpdateVpcLink operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateVpcLink for more information on using the UpdateVpcLink +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateVpcLinkRequest method. +// req, resp := client.UpdateVpcLinkRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *APIGateway) UpdateVpcLinkRequest(input *UpdateVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput) { + op := &request.Operation{ + Name: opUpdateVpcLink, + HTTPMethod: "PATCH", + HTTPPath: "/vpclinks/{vpclink_id}", + } + + if input == nil { + input = &UpdateVpcLinkInput{} + } + + output = &UpdateVpcLinkOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateVpcLink API operation for Amazon API Gateway. +// +// Updates an existing VpcLink of a specified identifier. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon API Gateway's +// API operation UpdateVpcLink for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnauthorizedException "UnauthorizedException" +// The request is denied because the caller has insufficient permissions. +// +// * ErrCodeNotFoundException "NotFoundException" +// The requested resource is not found. Make sure that the request URI is correct. +// +// * ErrCodeBadRequestException "BadRequestException" +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. +// +// * ErrCodeConflictException "ConflictException" +// The request configuration has conflicts. For details, see the accompanying +// error message. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// The request has reached its throttling limit. Retry after the specified time +// period. +// +func (c *APIGateway) UpdateVpcLink(input *UpdateVpcLinkInput) (*UpdateVpcLinkOutput, error) { + req, out := c.UpdateVpcLinkRequest(input) + return out, req.Send() +} + +// UpdateVpcLinkWithContext is the same as UpdateVpcLink with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateVpcLink for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *APIGateway) UpdateVpcLinkWithContext(ctx aws.Context, input *UpdateVpcLinkInput, opts ...request.Option) (*UpdateVpcLinkOutput, error) { + req, out := c.UpdateVpcLinkRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// Access log settings, including the access log format and access log destination +// ARN. +type AccessLogSettings struct { + _ struct{} `type:"structure"` + + // The ARN of the CloudWatch Logs log group to receive access logs. + DestinationArn *string `locationName:"destinationArn" type:"string"` + + // A single line format of the access logs of data, as specified by selected + // $context variables (http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference). + // The format must include at least $context.requestId. + Format *string `locationName:"format" type:"string"` +} + +// String returns the string representation +func (s AccessLogSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AccessLogSettings) GoString() string { + return s.String() +} + +// SetDestinationArn sets the DestinationArn field's value. +func (s *AccessLogSettings) SetDestinationArn(v string) *AccessLogSettings { + s.DestinationArn = &v + return s +} + +// SetFormat sets the Format field's value. +func (s *AccessLogSettings) SetFormat(v string) *AccessLogSettings { + s.Format = &v + return s +} + +// Represents an AWS account that is associated with API Gateway. // // To view the account info, call GET on this resource. // @@ -10793,10 +11319,10 @@ type Authorizer struct { // functional impact. AuthType *string `locationName:"authType" type:"string"` - // Specifies the required credentials as an IAM role for Amazon API Gateway - // to invoke the authorizer. To specify an IAM role for Amazon API Gateway to - // assume, use the role's Amazon Resource Name (ARN). To use resource-based - // permissions on the Lambda function, specify null. + // Specifies the required credentials as an IAM role for API Gateway to invoke + // the authorizer. To specify an IAM role for API Gateway to assume, use the + // role's Amazon Resource Name (ARN). To use resource-based permissions on the + // Lambda function, specify null. AuthorizerCredentials *string `locationName:"authorizerCredentials" type:"string"` // The TTL in seconds of cached authorizer results. If it equals 0, authorization @@ -10840,8 +11366,8 @@ type Authorizer struct { IdentitySource *string `locationName:"identitySource" type:"string"` // A validation expression for the incoming identity token. For TOKEN authorizers, - // this value is a regular expression. Amazon API Gateway will match the incoming - // token from the client against the specified regular expression. It will invoke + // this value is a regular expression. API Gateway will match the incoming token + // from the client against the specified regular expression. It will invoke // the authorizer's Lambda function there is a match. Otherwise, it will return // a 401 Unauthorized response without calling the Lambda function. The validation // expression does not apply to the REQUEST authorizer. @@ -10980,6 +11506,60 @@ func (s *BasePathMapping) SetStage(v string) *BasePathMapping { return s } +// Configuration settings of a canary deployment. +type CanarySettings struct { + _ struct{} `type:"structure"` + + // The ID of the canary deployment. + DeploymentId *string `locationName:"deploymentId" type:"string"` + + // The percent (0-100) of traffic diverted to a canary deployment. + PercentTraffic *float64 `locationName:"percentTraffic" type:"double"` + + // Stage variables overridden for a canary release deployment, including new + // stage variables introduced in the canary. These stage variables are represented + // as a string-to-string map between stage variable names and their values. + StageVariableOverrides map[string]*string `locationName:"stageVariableOverrides" type:"map"` + + // A Boolean flag to indicate whether the canary deployment uses the stage cache + // or not. + UseStageCache *bool `locationName:"useStageCache" type:"boolean"` +} + +// String returns the string representation +func (s CanarySettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CanarySettings) GoString() string { + return s.String() +} + +// SetDeploymentId sets the DeploymentId field's value. +func (s *CanarySettings) SetDeploymentId(v string) *CanarySettings { + s.DeploymentId = &v + return s +} + +// SetPercentTraffic sets the PercentTraffic field's value. +func (s *CanarySettings) SetPercentTraffic(v float64) *CanarySettings { + s.PercentTraffic = &v + return s +} + +// SetStageVariableOverrides sets the StageVariableOverrides field's value. +func (s *CanarySettings) SetStageVariableOverrides(v map[string]*string) *CanarySettings { + s.StageVariableOverrides = v + return s +} + +// SetUseStageCache sets the UseStageCache field's value. +func (s *CanarySettings) SetUseStageCache(v bool) *CanarySettings { + s.UseStageCache = &v + return s +} + // Represents a client certificate used to configure client-side SSL authentication // while sending requests to the integration endpoint. // @@ -11135,10 +11715,10 @@ type CreateAuthorizerInput struct { // functional impact. AuthType *string `locationName:"authType" type:"string"` - // Specifies the required credentials as an IAM role for Amazon API Gateway - // to invoke the authorizer. To specify an IAM role for Amazon API Gateway to - // assume, use the role's Amazon Resource Name (ARN). To use resource-based - // permissions on the Lambda function, specify null. + // Specifies the required credentials as an IAM role for API Gateway to invoke + // the authorizer. To specify an IAM role for API Gateway to assume, use the + // role's Amazon Resource Name (ARN). To use resource-based permissions on the + // Lambda function, specify null. AuthorizerCredentials *string `locationName:"authorizerCredentials" type:"string"` // The TTL in seconds of cached authorizer results. If it equals 0, authorization @@ -11179,8 +11759,8 @@ type CreateAuthorizerInput struct { IdentitySource *string `locationName:"identitySource" type:"string"` // A validation expression for the incoming identity token. For TOKEN authorizers, - // this value is a regular expression. Amazon API Gateway will match the incoming - // token from the client against the specified regular expression. It will invoke + // this value is a regular expression. API Gateway will match the incoming token + // from the client against the specified regular expression. It will invoke // the authorizer's Lambda function there is a match. Otherwise, it will return // a 401 Unauthorized response without calling the Lambda function. The validation // expression does not apply to the REQUEST authorizer. @@ -11299,7 +11879,7 @@ func (s *CreateAuthorizerInput) SetType(v string) *CreateAuthorizerInput { return s } -// Requests Amazon API Gateway to create a new BasePathMapping resource. +// Requests API Gateway to create a new BasePathMapping resource. type CreateBasePathMappingInput struct { _ struct{} `type:"structure"` @@ -11375,7 +11955,7 @@ func (s *CreateBasePathMappingInput) SetStage(v string) *CreateBasePathMappingIn return s } -// Requests Amazon API Gateway to create a Deployment resource. +// Requests API Gateway to create a Deployment resource. type CreateDeploymentInput struct { _ struct{} `type:"structure"` @@ -11386,6 +11966,10 @@ type CreateDeploymentInput struct { // input, if a cache cluster is enabled. CacheClusterSize *string `locationName:"cacheClusterSize" type:"string" enum:"CacheClusterSize"` + // The input configuration for the canary deployment when the deployment is + // a canary release deployment. + CanarySettings *DeploymentCanarySettings `locationName:"canarySettings" type:"structure"` + // The description for the Deployment resource to create. Description *string `locationName:"description" type:"string"` @@ -11441,6 +12025,12 @@ func (s *CreateDeploymentInput) SetCacheClusterSize(v string) *CreateDeploymentI return s } +// SetCanarySettings sets the CanarySettings field's value. +func (s *CreateDeploymentInput) SetCanarySettings(v *DeploymentCanarySettings) *CreateDeploymentInput { + s.CanarySettings = v + return s +} + // SetDescription sets the Description field's value. func (s *CreateDeploymentInput) SetDescription(v string) *CreateDeploymentInput { s.Description = &v @@ -11897,7 +12487,7 @@ func (s *CreateRequestValidatorInput) SetValidateRequestParameters(v bool) *Crea return s } -// Requests Amazon API Gateway to create a Resource resource. +// Requests API Gateway to create a Resource resource. type CreateResourceInput struct { _ struct{} `type:"structure"` @@ -12050,7 +12640,7 @@ func (s *CreateRestApiInput) SetVersion(v string) *CreateRestApiInput { return s } -// Requests Amazon API Gateway to create a Stage resource. +// Requests API Gateway to create a Stage resource. type CreateStageInput struct { _ struct{} `type:"structure"` @@ -12060,7 +12650,10 @@ type CreateStageInput struct { // The stage's cache cluster size. CacheClusterSize *string `locationName:"cacheClusterSize" type:"string" enum:"CacheClusterSize"` - // The identifier of the Deployment resource for the Stage resource. + // The canary deployment settings of this stage. + CanarySettings *CanarySettings `locationName:"canarySettings" type:"structure"` + + // [Required] The identifier of the Deployment resource for the Stage resource. // // DeploymentId is a required field DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` @@ -12076,7 +12669,7 @@ type CreateStageInput struct { // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` - // The name for the Stage resource. + // [Required] The name for the Stage resource. // // StageName is a required field StageName *string `locationName:"stageName" type:"string" required:"true"` @@ -12128,6 +12721,12 @@ func (s *CreateStageInput) SetCacheClusterSize(v string) *CreateStageInput { return s } +// SetCanarySettings sets the CanarySettings field's value. +func (s *CreateStageInput) SetCanarySettings(v *CanarySettings) *CreateStageInput { + s.CanarySettings = v + return s +} + // SetDeploymentId sets the DeploymentId field's value. func (s *CreateStageInput) SetDeploymentId(v string) *CreateStageInput { s.DeploymentId = &v @@ -12310,6 +12909,73 @@ func (s *CreateUsagePlanKeyInput) SetUsagePlanId(v string) *CreateUsagePlanKeyIn return s } +// Creates a VPC link, under the caller's account in a selected region, in an +// asynchronous operation that typically takes 2-4 minutes to complete and become +// operational. The caller must have permissions to create and update VPC Endpoint +// services. +type CreateVpcLinkInput struct { + _ struct{} `type:"structure"` + + // The description of the VPC link. + Description *string `locationName:"description" type:"string"` + + // [Required] The name used to label and identify the VPC link. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // [Required] The ARNs of network load balancers of the VPC targeted by the + // VPC link. The network load balancers must be owned by the same AWS account + // of the API owner. + // + // TargetArns is a required field + TargetArns []*string `locationName:"targetArns" type:"list" required:"true"` +} + +// String returns the string representation +func (s CreateVpcLinkInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateVpcLinkInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateVpcLinkInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateVpcLinkInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.TargetArns == nil { + invalidParams.Add(request.NewErrParamRequired("TargetArns")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *CreateVpcLinkInput) SetDescription(v string) *CreateVpcLinkInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateVpcLinkInput) SetName(v string) *CreateVpcLinkInput { + s.Name = &v + return s +} + +// SetTargetArns sets the TargetArns field's value. +func (s *CreateVpcLinkInput) SetTargetArns(v []*string) *CreateVpcLinkInput { + s.TargetArns = v + return s +} + // A request to delete the ApiKey resource. type DeleteApiKeyInput struct { _ struct{} `type:"structure"` @@ -12550,7 +13216,7 @@ func (s DeleteClientCertificateOutput) GoString() string { return s.String() } -// Requests Amazon API Gateway to delete a Deployment resource. +// Requests API Gateway to delete a Deployment resource. type DeleteDeploymentInput struct { _ struct{} `type:"structure"` @@ -13498,7 +14164,7 @@ func (s DeleteRestApiOutput) GoString() string { return s.String() } -// Requests Amazon API Gateway to delete a Stage resource. +// Requests API Gateway to delete a Stage resource. type DeleteStageInput struct { _ struct{} `type:"structure"` @@ -13687,6 +14353,60 @@ func (s DeleteUsagePlanOutput) GoString() string { return s.String() } +// Deletes an existing VpcLink of a specified identifier. +type DeleteVpcLinkInput struct { + _ struct{} `type:"structure"` + + // [Required] The identifier of the VpcLink. It is used in an Integration to + // reference this VpcLink. + // + // VpcLinkId is a required field + VpcLinkId *string `location:"uri" locationName:"vpclink_id" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteVpcLinkInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteVpcLinkInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteVpcLinkInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteVpcLinkInput"} + if s.VpcLinkId == nil { + invalidParams.Add(request.NewErrParamRequired("VpcLinkId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetVpcLinkId sets the VpcLinkId field's value. +func (s *DeleteVpcLinkInput) SetVpcLinkId(v string) *DeleteVpcLinkInput { + s.VpcLinkId = &v + return s +} + +type DeleteVpcLinkOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteVpcLinkOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteVpcLinkOutput) GoString() string { + return s.String() +} + // An immutable representation of a RestApi resource that can be called by users // using Stages. A deployment must be associated with a Stage for it to be callable // over the Internet. @@ -13730,21 +14450,67 @@ func (s *Deployment) SetApiSummary(v map[string]map[string]*MethodSnapshot) *Dep return s } -// SetCreatedDate sets the CreatedDate field's value. -func (s *Deployment) SetCreatedDate(v time.Time) *Deployment { - s.CreatedDate = &v +// SetCreatedDate sets the CreatedDate field's value. +func (s *Deployment) SetCreatedDate(v time.Time) *Deployment { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Deployment) SetDescription(v string) *Deployment { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *Deployment) SetId(v string) *Deployment { + s.Id = &v + return s +} + +// The input configuration for a canary deployment. +type DeploymentCanarySettings struct { + _ struct{} `type:"structure"` + + // The percentage (0.0-100.0) of traffic routed to the canary deployment. + PercentTraffic *float64 `locationName:"percentTraffic" type:"double"` + + // A stage variable overrides used for the canary release deployment. They can + // override existing stage variables or add new stage variables for the canary + // release deployment. These stage variables are represented as a string-to-string + // map between stage variable names and their values. + StageVariableOverrides map[string]*string `locationName:"stageVariableOverrides" type:"map"` + + // A Boolean flag to indicate whether the canary release deployment uses the + // stage cache or not. + UseStageCache *bool `locationName:"useStageCache" type:"boolean"` +} + +// String returns the string representation +func (s DeploymentCanarySettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeploymentCanarySettings) GoString() string { + return s.String() +} + +// SetPercentTraffic sets the PercentTraffic field's value. +func (s *DeploymentCanarySettings) SetPercentTraffic(v float64) *DeploymentCanarySettings { + s.PercentTraffic = &v return s } -// SetDescription sets the Description field's value. -func (s *Deployment) SetDescription(v string) *Deployment { - s.Description = &v +// SetStageVariableOverrides sets the StageVariableOverrides field's value. +func (s *DeploymentCanarySettings) SetStageVariableOverrides(v map[string]*string) *DeploymentCanarySettings { + s.StageVariableOverrides = v return s } -// SetId sets the Id field's value. -func (s *Deployment) SetId(v string) *Deployment { - s.Id = &v +// SetUseStageCache sets the UseStageCache field's value. +func (s *DeploymentCanarySettings) SetUseStageCache(v bool) *DeploymentCanarySettings { + s.UseStageCache = &v return s } @@ -13767,8 +14533,8 @@ func (s *Deployment) SetId(v string) *Deployment { type DocumentationPart struct { _ struct{} `type:"structure"` - // The DocumentationPart identifier, generated by Amazon API Gateway when the - // DocumentationPart is created. + // The DocumentationPart identifier, generated by API Gateway when the DocumentationPart + // is created. Id *string `locationName:"id" type:"string"` // The location of the API entity to which the documentation applies. Valid @@ -13966,8 +14732,8 @@ func (s *DocumentationVersion) SetVersion(v string) *DocumentationVersion { // Represents a custom domain name as a user-friendly host name of an API (RestApi). // -// When you deploy an API, Amazon API Gateway creates a default host name for -// the API. This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com +// When you deploy an API, API Gateway creates a default host name for the API. +// This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com // format. With the default host name, you can access the API's root resource // with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. // When you set up a custom domain name of apis.example.com for this API, you @@ -13999,6 +14765,12 @@ type DomainName struct { // CloudFront documentation (http://aws.amazon.com/documentation/cloudfront/). DistributionDomainName *string `locationName:"distributionDomainName" type:"string"` + // The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized + // endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more + // information, see Set up a Regional Custom Domain Name (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html) + // and AWS Regions and Endpoints for API Gateway (http://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region). + DistributionHostedZoneId *string `locationName:"distributionHostedZoneId" type:"string"` + // The name of the DomainName resource. DomainName *string `locationName:"domainName" type:"string"` @@ -14017,8 +14789,13 @@ type DomainName struct { // The domain name associated with the regional endpoint for this custom domain // name. You set up this association by adding a DNS record that points the // custom domain name to this regional domain name. The regional domain name - // is returned by Amazon API Gateway when you create a regional endpoint. + // is returned by API Gateway when you create a regional endpoint. RegionalDomainName *string `locationName:"regionalDomainName" type:"string"` + + // The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. + // For more information, see Set up a Regional Custom Domain Name (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html) + // and AWS Regions and Endpoints for API Gateway (http://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region). + RegionalHostedZoneId *string `locationName:"regionalHostedZoneId" type:"string"` } // String returns the string representation @@ -14055,6 +14832,12 @@ func (s *DomainName) SetDistributionDomainName(v string) *DomainName { return s } +// SetDistributionHostedZoneId sets the DistributionHostedZoneId field's value. +func (s *DomainName) SetDistributionHostedZoneId(v string) *DomainName { + s.DistributionHostedZoneId = &v + return s +} + // SetDomainName sets the DomainName field's value. func (s *DomainName) SetDomainName(v string) *DomainName { s.DomainName = &v @@ -14085,6 +14868,12 @@ func (s *DomainName) SetRegionalDomainName(v string) *DomainName { return s } +// SetRegionalHostedZoneId sets the RegionalHostedZoneId field's value. +func (s *DomainName) SetRegionalHostedZoneId(v string) *DomainName { + s.RegionalHostedZoneId = &v + return s +} + // The endpoint configuration to indicate the types of endpoints an API (RestApi) // or its custom domain name (DomainName) has. type EndpointConfiguration struct { @@ -14180,7 +14969,7 @@ func (s FlushStageAuthorizersCacheOutput) GoString() string { return s.String() } -// Requests Amazon API Gateway to flush a stage's cache. +// Requests API Gateway to flush a stage's cache. type FlushStageCacheInput struct { _ struct{} `type:"structure"` @@ -14271,8 +15060,7 @@ func (s *GenerateClientCertificateInput) SetDescription(v string) *GenerateClien return s } -// Requests Amazon API Gateway to get information about the current Account -// resource. +// Requests API Gateway to get information about the current Account resource. type GetAccountInput struct { _ struct{} `type:"structure"` } @@ -14841,7 +15629,7 @@ func (s *GetClientCertificatesOutput) SetPosition(v string) *GetClientCertificat return s } -// Requests Amazon API Gateway to get information about a Deployment resource. +// Requests API Gateway to get information about a Deployment resource. type GetDeploymentInput struct { _ struct{} `type:"structure"` @@ -14909,7 +15697,7 @@ func (s *GetDeploymentInput) SetRestApiId(v string) *GetDeploymentInput { return s } -// Requests Amazon API Gateway to get information about a Deployments collection. +// Requests API Gateway to get information about a Deployments collection. type GetDeploymentsInput struct { _ struct{} `type:"structure"` @@ -15071,6 +15859,11 @@ type GetDocumentationPartsInput struct { // The maximum number of returned results per page. Limit *int64 `location:"querystring" locationName:"limit" type:"integer"` + // The status of the API documentation parts to retrieve. Valid values are DOCUMENTED + // for retrieving DocumentationPart resources with content and UNDOCUMENTED + // for DocumentationPart resources without content. + LocationStatus *string `location:"querystring" locationName:"locationStatus" type:"string" enum:"LocationStatusType"` + // The name of API entities of the to-be-retrieved documentation parts. NameQuery *string `location:"querystring" locationName:"name" type:"string"` @@ -15118,6 +15911,12 @@ func (s *GetDocumentationPartsInput) SetLimit(v int64) *GetDocumentationPartsInp return s } +// SetLocationStatus sets the LocationStatus field's value. +func (s *GetDocumentationPartsInput) SetLocationStatus(v string) *GetDocumentationPartsInput { + s.LocationStatus = &v + return s +} + // SetNameQuery sets the NameQuery field's value. func (s *GetDocumentationPartsInput) SetNameQuery(v string) *GetDocumentationPartsInput { s.NameQuery = &v @@ -15648,8 +16447,8 @@ func (s *GetGatewayResponseInput) SetRestApiId(v string) *GetGatewayResponseInpu // Gets the GatewayResponses collection on the given RestApi. If an API developer // has not added any definitions for gateway responses, the result will be the -// Amazon API Gateway-generated default GatewayResponses collection for the -// supported response types. +// API Gateway-generated default GatewayResponses collection for the supported +// response types. type GetGatewayResponsesInput struct { _ struct{} `type:"structure"` @@ -15713,7 +16512,7 @@ func (s *GetGatewayResponsesInput) SetRestApiId(v string) *GetGatewayResponsesIn // this collection. // // For more information about valid gateway response types, see Gateway Response -// Types Supported by Amazon API Gateway (http://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.html)Example: +// Types Supported by API Gateway (http://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.html)Example: // Get the collection of gateway responses of an API // // Request @@ -15899,7 +16698,7 @@ func (s *GetGatewayResponsesOutput) SetPosition(v string) *GetGatewayResponsesOu return s } -// Represents a get integration request. +// Represents a request to get the integration configuration. type GetIntegrationInput struct { _ struct{} `type:"structure"` @@ -16877,7 +17676,7 @@ type GetSdkInput struct { RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The language for the generated SDK. Currently java, javascript, android, - // objectivec and swift (for iOS) are supported. + // objectivec (for iOS), swift (for iOS), and ruby are supported. // // SdkType is a required field SdkType *string `location:"uri" locationName:"sdk_type" type:"string" required:"true"` @@ -17087,7 +17886,7 @@ func (s *GetSdkTypesOutput) SetPosition(v string) *GetSdkTypesOutput { return s } -// Requests Amazon API Gateway to get information about a Stage resource. +// Requests API Gateway to get information about a Stage resource. type GetStageInput struct { _ struct{} `type:"structure"` @@ -17140,7 +17939,7 @@ func (s *GetStageInput) SetStageName(v string) *GetStageInput { return s } -// Requests Amazon API Gateway to get information about one or more Stage resources. +// Requests API Gateway to get information about one or more Stage resources. type GetStagesInput struct { _ struct{} `type:"structure"` @@ -17582,6 +18381,114 @@ func (s *GetUsagePlansOutput) SetPosition(v string) *GetUsagePlansOutput { return s } +// Gets a specified VPC link under the caller's account in a region. +type GetVpcLinkInput struct { + _ struct{} `type:"structure"` + + // [Required] The identifier of the VpcLink. It is used in an Integration to + // reference this VpcLink. + // + // VpcLinkId is a required field + VpcLinkId *string `location:"uri" locationName:"vpclink_id" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetVpcLinkInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetVpcLinkInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetVpcLinkInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetVpcLinkInput"} + if s.VpcLinkId == nil { + invalidParams.Add(request.NewErrParamRequired("VpcLinkId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetVpcLinkId sets the VpcLinkId field's value. +func (s *GetVpcLinkInput) SetVpcLinkId(v string) *GetVpcLinkInput { + s.VpcLinkId = &v + return s +} + +// Gets the VpcLinks collection under the caller's account in a selected region. +type GetVpcLinksInput struct { + _ struct{} `type:"structure"` + + // The maximum number of returned results per page. + Limit *int64 `location:"querystring" locationName:"limit" type:"integer"` + + // The current pagination position in the paged result set. + Position *string `location:"querystring" locationName:"position" type:"string"` +} + +// String returns the string representation +func (s GetVpcLinksInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetVpcLinksInput) GoString() string { + return s.String() +} + +// SetLimit sets the Limit field's value. +func (s *GetVpcLinksInput) SetLimit(v int64) *GetVpcLinksInput { + s.Limit = &v + return s +} + +// SetPosition sets the Position field's value. +func (s *GetVpcLinksInput) SetPosition(v string) *GetVpcLinksInput { + s.Position = &v + return s +} + +// The collection of VPC links under the caller's account in a region. +// +// Getting Started with Private Integrations (http://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-with-private-integration.html), +// Set up Private Integrations (http://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-private-integration.html) +type GetVpcLinksOutput struct { + _ struct{} `type:"structure"` + + // The current page of elements from this collection. + Items []*UpdateVpcLinkOutput `locationName:"item" type:"list"` + + Position *string `locationName:"position" type:"string"` +} + +// String returns the string representation +func (s GetVpcLinksOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetVpcLinksOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *GetVpcLinksOutput) SetItems(v []*UpdateVpcLinkOutput) *GetVpcLinksOutput { + s.Items = v + return s +} + +// SetPosition sets the Position field's value. +func (s *GetVpcLinksOutput) SetPosition(v string) *GetVpcLinksOutput { + s.Position = &v + return s +} + // The POST request to import API keys from an external source, such as a CSV-formatted // file. type ImportApiKeysInput struct { @@ -17760,7 +18667,7 @@ func (s *ImportDocumentationPartsInput) SetRestApiId(v string) *ImportDocumentat // A collection of the imported DocumentationPart identifiers. // // This is used to return the result when documentation parts in an external -// (e.g., Swagger) file are imported into Amazon API Gateway +// (e.g., Swagger) file are imported into API Gateway // Documenting an API (http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html), // documentationpart:import (http://docs.aws.amazon.com/apigateway/api-reference/link-relation/documentationpart-import/), // DocumentationPart @@ -17796,8 +18703,8 @@ func (s *ImportDocumentationPartsOutput) SetWarnings(v []*string) *ImportDocumen return s } -// A POST request to import an API to Amazon API Gateway using an input of an -// API definition file. +// A POST request to import an API to API Gateway using an input of an API definition +// file. type ImportRestApiInput struct { _ struct{} `type:"structure" payload:"Body"` @@ -17812,10 +18719,27 @@ type ImportRestApiInput struct { // or not (false) when a warning is encountered. The default value is false. FailOnWarnings *bool `location:"querystring" locationName:"failonwarnings" type:"boolean"` - // Custom header parameters as part of the request. For example, to exclude - // DocumentationParts from an imported API, set ignore=documentation as a parameters - // value, as in the AWS CLI command of aws apigateway import-rest-api --parameters - // ignore=documentation --body 'file:///path/to/imported-api-body.json. + // A key-value map of context-specific query string parameters specifying the + // behavior of different API importing operations. The following shows operation-specific + // parameters and their supported values. + // + // To exclude DocumentationParts from the import, set parameters as ignore=documentation. + // + // To configure the endpoint type, set parameters as endpointConfigurationTypes=EDGE + // orendpointConfigurationTypes=REGIONAL. The default endpoint type is EDGE. + // + // To handle imported basePath, set parameters as basePath=ignore, basePath=prepend + // or basePath=split. + // + // For example, the AWS CLI command to exclude documentation from the imported + // API is: + // + // aws apigateway import-rest-api --parameters ignore=documentation --body + // 'file:///path/to/imported-api-body.json + // The AWS CLI command to set the regional endpoint on the imported API is: + // + // aws apigateway import-rest-api --parameters endpointConfigurationTypes=REGIONAL + // --body 'file:///path/to/imported-api-body.json Parameters map[string]*string `location:"querystring" locationName:"parameters" type:"map"` } @@ -17874,6 +18798,17 @@ type Integration struct { // Specifies the integration's cache namespace. CacheNamespace *string `locationName:"cacheNamespace" type:"string"` + // The (id (http://docs.aws.amazon.com/apigateway/api-reference/resource/vpc-link/#id)) + // of the VpcLink used for the integration when connectionType=VPC_LINK and + // undefined, otherwise. + ConnectionId *string `locationName:"connectionId" type:"string"` + + // The type of the network connection to the integration endpoint. The valid + // value is INTERNET for connections through the public routable internet or + // VPC_LINK for private connections between API Gateway and a network load balancer + // in a VPC. The default value is INTERNET. + ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"` + // Specifies how to handle request payload content type conversions. Supported // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: // @@ -17889,11 +18824,10 @@ type Integration struct { ContentHandling *string `locationName:"contentHandling" type:"string" enum:"ContentHandlingStrategy"` // Specifies the credentials required for the integration, if any. For AWS integrations, - // three options are available. To specify an IAM Role for Amazon API Gateway - // to assume, use the role's Amazon Resource Name (ARN). To require that the - // caller's identity be passed through from the request, specify the string - // arn:aws:iam::\*:user/\*. To use resource-based permissions on supported AWS - // services, specify null. + // three options are available. To specify an IAM Role for API Gateway to assume, + // use the role's Amazon Resource Name (ARN). To require that the caller's identity + // be passed through from the request, specify the string arn:aws:iam::\*:user/\*. + // To use resource-based permissions on supported AWS services, specify null. Credentials *string `locationName:"credentials" type:"string"` // Specifies the integration's HTTP method type. @@ -17927,19 +18861,18 @@ type Integration struct { // passed through the integration request to the back end without transformation. // A content type is unmapped if no mapping template is defined in the integration // or the content type does not match any of the mapped content types, as specified - // in requestTemplates. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, - // and NEVER. + // in requestTemplates. The valid value is one of the following: // - // WHEN_NO_MATCH passes the method request body through the integration request + // WHEN_NO_MATCH: passes the method request body through the integration request // to the back end without transformation when the method request content type // does not match any content type associated with the mapping templates defined // in the integration request. - // WHEN_NO_TEMPLATES passes the method request body through the integration + // WHEN_NO_TEMPLATES: passes the method request body through the integration // request to the back end without transformation when no mapping template is // defined in the integration request. If a template is defined when this option // is selected, the method request of an unmapped content-type will be rejected // with an HTTP 415 Unsupported Media Type response. - // NEVER rejects the method request with an HTTP 415 Unsupported Media Type + // NEVER: rejects the method request with an HTTP 415 Unsupported Media Type // response when either the method request content type does not match any content // type associated with the mapping templates defined in the integration request // or no mapping template is defined in the integration request. @@ -17960,22 +18893,56 @@ type Integration struct { // value. RequestTemplates map[string]*string `locationName:"requestTemplates" type:"map"` - // Specifies the integration's type. The valid value is HTTP for integrating - // with an HTTP back end, AWS for any AWS service endpoints, MOCK for testing - // without actually invoking the back end, HTTP_PROXY for integrating with the - // HTTP proxy integration, or AWS_PROXY for integrating with the Lambda proxy - // integration type. + // Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 + // milliseconds or 29 seconds. + TimeoutInMillis *int64 `locationName:"timeoutInMillis" type:"integer"` + + // Specifies an API method integration type. The valid value is one of the following: + // + // * AWS: for integrating the API method request with an AWS service action, + // including the Lambda function-invoking action. With the Lambda function-invoking + // action, this is referred to as the Lambda custom integration. With any + // other AWS service action, this is known as AWS integration. + // * AWS_PROXY: for integrating the API method request with the Lambda function-invoking + // action with the client request passed through as-is. This integration + // is also referred to as the Lambda proxy integration. + // * HTTP: for integrating the API method request with an HTTP endpoint, + // including a private HTTP endpoint within a VPC. This integration is also + // referred to as the HTTP custom integration. + // * HTTP_PROXY: for integrating the API method request with an HTTP endpoint, + // including a private HTTP endpoint within a VPC, with the client request + // passed through as-is. This is also referred to as the HTTP proxy integration. + // + // * MOCK: for integrating the API method request with API Gateway as a "loop-back" + // endpoint without invoking any backend. + // For the HTTP and HTTP proxy integrations, each integration can specify a + // protocol (http/https), port and path. Standard 80 and 443 ports are supported + // as well as custom ports above 1024. An HTTP or HTTP proxy integration with + // a connectionType of VPC_LINK is referred to as a private integration and + // uses a VpcLink to connect API Gateway to a network load balancer of a VPC. Type *string `locationName:"type" type:"string" enum:"IntegrationType"` - // Specifies the integration's Uniform Resource Identifier (URI). For HTTP integrations, - // the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 - // specification (https://en.wikipedia.org/wiki/Uniform_Resource_Identifier). - // For AWS integrations, the URI should be of the form arn:aws:apigateway:{region}:{subdomain.service|service}:{path|action}/{service_api}. - // Region, subdomain and service are used to determine the right endpoint. For - // AWS services that use the Action= query string parameter, service_api should - // be a valid action for the desired service. For RESTful AWS service APIs, - // path is used to indicate that the remaining substring in the URI should be - // treated as the path to the resource, including the initial /. + // Specifies Uniform Resource Identifier (URI) of the integration endpoint. + // + // * For HTTP or HTTP_PROXY integrations, the URI must be a fully formed, + // encoded HTTP(S) URL according to the RFC-3986 specification (_blank), + // for either standard integration, where connectionType is not VPC_LINK, + // or private integration, where connectionType is VPC_LINK. For a private + // HTTP integration, the URI is not used for routing. + // + // * For AWS or AWS_PROXY integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. + // Here, {Region} is the API Gateway region (e.g., us-east-1); {service} + // is the name of the integrated AWS service (e.g., s3); and {subdomain} + // is a designated subdomain supported by certain AWS service for fast host-name + // lookup. action can be used for an AWS service action-based API, using + // an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} + // refers to a supported action {name} plus any required input parameters. + // Alternatively, path can be used for an AWS service path-based API. The + // ensuing service_api refers to the path to an AWS service resource, including + // the region of the integrated AWS service, if applicable. For example, + // for integration with the S3 API of GetObject (http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html), + // the uri can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} + // or arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key} Uri *string `locationName:"uri" type:"string"` } @@ -18001,6 +18968,18 @@ func (s *Integration) SetCacheNamespace(v string) *Integration { return s } +// SetConnectionId sets the ConnectionId field's value. +func (s *Integration) SetConnectionId(v string) *Integration { + s.ConnectionId = &v + return s +} + +// SetConnectionType sets the ConnectionType field's value. +func (s *Integration) SetConnectionType(v string) *Integration { + s.ConnectionType = &v + return s +} + // SetContentHandling sets the ContentHandling field's value. func (s *Integration) SetContentHandling(v string) *Integration { s.ContentHandling = &v @@ -18043,6 +19022,12 @@ func (s *Integration) SetRequestTemplates(v map[string]*string) *Integration { return s } +// SetTimeoutInMillis sets the TimeoutInMillis field's value. +func (s *Integration) SetTimeoutInMillis(v int64) *Integration { + s.TimeoutInMillis = &v + return s +} + // SetType sets the Type field's value. func (s *Integration) SetType(v string) *Integration { s.Type = &v @@ -18226,6 +19211,15 @@ type Method struct { // method. ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"` + // A list authorization scopes configured on the method used with a COGNITO_USER_POOL + // authorizer to authorize the method invocation by matching them against the + // scopes parsed from the access token in the incoming request. The method invocation + // is authorized if any method scopes matches a claimed scope in the access + // token. Otherwise, the invocation is not authorized. When the method scope + // is configured, the client must provide an access token instead of an identity + // token for authorizatinon purposes. + AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"` + // The method's authorization type. Valid values are NONE for open access, AWS_IAM // for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS // for using a Cognito user pool. @@ -18321,8 +19315,8 @@ type Method struct { RequestModels map[string]*string `locationName:"requestModels" type:"map"` // A key-value map defining required or optional method request parameters that - // can be accepted by Amazon API Gateway. A key is a method request parameter - // name matching the pattern of method.request.{location}.{name}, where location + // can be accepted by API Gateway. A key is a method request parameter name + // matching the pattern of method.request.{location}.{name}, where location // is querystring, path, or header and name is a valid and unique parameter // name. The value associated with the key is a Boolean flag indicating whether // the parameter is required (true) or optional (false). The method request @@ -18350,6 +19344,12 @@ func (s *Method) SetApiKeyRequired(v bool) *Method { return s } +// SetAuthorizationScopes sets the AuthorizationScopes field's value. +func (s *Method) SetAuthorizationScopes(v []*string) *Method { + s.AuthorizationScopes = v + return s +} + // SetAuthorizationType sets the AuthorizationType field's value. func (s *Method) SetAuthorizationType(v string) *Method { s.AuthorizationType = &v @@ -18438,10 +19438,10 @@ type MethodResponse struct { ResponseModels map[string]*string `locationName:"responseModels" type:"map"` // A key-value map specifying required or optional response parameters that - // Amazon API Gateway can send back to the caller. A key defines a method response + // API Gateway can send back to the caller. A key defines a method response // header and the value specifies whether the associated method response header // is required or not. The expression of the key must match the pattern method.response.header.{name}, - // where name is a valid and unique header name. Amazon API Gateway passes certain + // where name is a valid and unique header name. API Gateway passes certain // integration response data to the method response headers specified here according // to the mapping you prescribe in the API's IntegrationResponse. The integration // response data that can be mapped include an integration response header expressed @@ -18725,11 +19725,15 @@ func (s *Model) SetSchema(v string) *Model { type PatchOperation struct { _ struct{} `type:"structure"` - // Not supported. + // The copy update operation's source as identified by a JSON-Pointer value + // referencing the location within the targeted resource to copy the value from. + // For example, to promote a canary deployment, you copy the canary deployment + // ID to the affiliated deployment ID by calling a PATCH request on a Stage + // resource with "op":"copy", "from":"/canarySettings/deploymentId" and "path":"/deploymentId". From *string `locationName:"from" type:"string"` // An update operation to be performed with this PATCH request. The valid value - // can be "add", "remove", or "replace". Not all valid operations are supported + // can be add, remove, replace or copy. Not all valid operations are supported // for a given resource. Support of the operations depends on specific operational // contexts. Attempts to apply an unsupported operation on a resource will return // an error message. @@ -18745,10 +19749,10 @@ type PatchOperation struct { // op operation can have only one path associated with it. Path *string `locationName:"path" type:"string"` - // The new target value of the update operation. When using AWS CLI to update - // a property of a JSON value, enclose the JSON object with a pair of single - // quotes in a Linux shell, e.g., '{"a": ...}'. In a Windows shell, see Using - // JSON for Parameters (http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#cli-using-param-json). + // The new target value of the update operation. It is applicable for the add + // or replace operation. When using AWS CLI to update a property of a JSON value, + // enclose the JSON object with a pair of single quotes in a Linux shell, e.g., + // '{"a": ...}'. In a Windows shell, see Using JSON for Parameters (http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#cli-using-param-json). Value *string `locationName:"value" type:"string"` } @@ -18899,6 +19903,17 @@ type PutIntegrationInput struct { // Specifies a put integration input's cache namespace. CacheNamespace *string `locationName:"cacheNamespace" type:"string"` + // The (id (http://docs.aws.amazon.com/apigateway/api-reference/resource/vpc-link/#id)) + // of the VpcLink used for the integration when connectionType=VPC_LINK and + // undefined, otherwise. + ConnectionId *string `locationName:"connectionId" type:"string"` + + // The type of the network connection to the integration endpoint. The valid + // value is INTERNET for connections through the public routable internet or + // VPC_LINK for private connections between API Gateway and a network load balancer + // in a VPC. The default value is INTERNET. + ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"` + // Specifies how to handle request payload content type conversions. Supported // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: // @@ -18966,20 +19981,36 @@ type PutIntegrationInput struct { // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` + // Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 + // milliseconds or 29 seconds. + TimeoutInMillis *int64 `locationName:"timeoutInMillis" type:"integer"` + // Specifies a put integration input's type. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"IntegrationType"` - // Specifies the integration's Uniform Resource Identifier (URI). For HTTP integrations, - // the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 - // specification (https://en.wikipedia.org/wiki/Uniform_Resource_Identifier). - // For AWS integrations, the URI should be of the form arn:aws:apigateway:{region}:{subdomain.service|service}:{path|action}/{service_api}. - // Region, subdomain and service are used to determine the right endpoint. For - // AWS services that use the Action= query string parameter, service_api should - // be a valid action for the desired service. For RESTful AWS service APIs, - // path is used to indicate that the remaining substring in the URI should be - // treated as the path to the resource, including the initial /. + // Specifies Uniform Resource Identifier (URI) of the integration endpoint. + // + // * For HTTP or HTTP_PROXY integrations, the URI must be a fully formed, + // encoded HTTP(S) URL according to the RFC-3986 specification (_blank), + // for either standard integration, where connectionType is not VPC_LINK, + // or private integration, where connectionType is VPC_LINK. For a private + // HTTP integration, the URI is not used for routing. + // + // * For AWS or AWS_PROXY integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. + // Here, {Region} is the API Gateway region (e.g., us-east-1); {service} + // is the name of the integrated AWS service (e.g., s3); and {subdomain} + // is a designated subdomain supported by certain AWS service for fast host-name + // lookup. action can be used for an AWS service action-based API, using + // an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} + // refers to a supported action {name} plus any required input parameters. + // Alternatively, path can be used for an AWS service path-based API. The + // ensuing service_api refers to the path to an AWS service resource, including + // the region of the integrated AWS service, if applicable. For example, + // for integration with the S3 API of GetObject (http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html), + // the uri can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} + // or arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key} Uri *string `locationName:"uri" type:"string"` } @@ -19027,6 +20058,18 @@ func (s *PutIntegrationInput) SetCacheNamespace(v string) *PutIntegrationInput { return s } +// SetConnectionId sets the ConnectionId field's value. +func (s *PutIntegrationInput) SetConnectionId(v string) *PutIntegrationInput { + s.ConnectionId = &v + return s +} + +// SetConnectionType sets the ConnectionType field's value. +func (s *PutIntegrationInput) SetConnectionType(v string) *PutIntegrationInput { + s.ConnectionType = &v + return s +} + // SetContentHandling sets the ContentHandling field's value. func (s *PutIntegrationInput) SetContentHandling(v string) *PutIntegrationInput { s.ContentHandling = &v @@ -19081,6 +20124,12 @@ func (s *PutIntegrationInput) SetRestApiId(v string) *PutIntegrationInput { return s } +// SetTimeoutInMillis sets the TimeoutInMillis field's value. +func (s *PutIntegrationInput) SetTimeoutInMillis(v int64) *PutIntegrationInput { + s.TimeoutInMillis = &v + return s +} + // SetType sets the Type field's value. func (s *PutIntegrationInput) SetType(v string) *PutIntegrationInput { s.Type = &v @@ -19237,6 +20286,15 @@ type PutMethodInput struct { // Specifies whether the method required a valid ApiKey. ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"` + // A list authorization scopes configured on the method used with a COGNITO_USER_POOL + // authorizer to authorize the method invocation by matching them against the + // scopes parsed from the access token in the incoming request. The method invocation + // is authorized if any method scopes matches a claimed scope in the access + // token. Otherwise, the invocation is not authorized. When the method scope + // is configured, the client must provide an access token instead of an identity + // token for authorizatinon purposes. + AuthorizationScopes []*string `locationName:"authorizationScopes" type:"list"` + // The method's authorization type. Valid values are NONE for open access, AWS_IAM // for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS // for using a Cognito user pool. @@ -19264,7 +20322,7 @@ type PutMethodInput struct { RequestModels map[string]*string `locationName:"requestModels" type:"map"` // A key-value map defining required or optional method request parameters that - // can be accepted by Amazon API Gateway. A key defines a method request parameter + // can be accepted by API Gateway. A key defines a method request parameter // name matching the pattern of method.request.{location}.{name}, where location // is querystring, path, or header and name is a valid and unique parameter // name. The value associated with the key is a Boolean flag indicating whether @@ -19325,6 +20383,12 @@ func (s *PutMethodInput) SetApiKeyRequired(v bool) *PutMethodInput { return s } +// SetAuthorizationScopes sets the AuthorizationScopes field's value. +func (s *PutMethodInput) SetAuthorizationScopes(v []*string) *PutMethodInput { + s.AuthorizationScopes = v + return s +} + // SetAuthorizationType sets the AuthorizationType field's value. func (s *PutMethodInput) SetAuthorizationType(v string) *PutMethodInput { s.AuthorizationType = &v @@ -19399,7 +20463,7 @@ type PutMethodResponseInput struct { ResponseModels map[string]*string `locationName:"responseModels" type:"map"` // A key-value map specifying required or optional response parameters that - // Amazon API Gateway can send back to the caller. A key defines a method response + // API Gateway can send back to the caller. A key defines a method response // header name and the associated value is a Boolean flag indicating whether // the method response parameter is required or not. The method response header // names must match the pattern of method.response.header.{name}, where name @@ -19761,7 +20825,7 @@ type RestApi struct { EndpointConfiguration *EndpointConfiguration `locationName:"endpointConfiguration" type:"structure"` // The API's identifier. This identifier is unique across all of your APIs in - // Amazon API Gateway. + // API Gateway. Id *string `locationName:"id" type:"string"` // The API's name. @@ -19952,6 +21016,9 @@ func (s *SdkType) SetId(v string) *SdkType { type Stage struct { _ struct{} `type:"structure"` + // Settings for logging access in this stage. + AccessLogSettings *AccessLogSettings `locationName:"accessLogSettings" type:"structure"` + // Specifies whether a cache cluster is enabled for the stage. CacheClusterEnabled *bool `locationName:"cacheClusterEnabled" type:"boolean"` @@ -19961,6 +21028,9 @@ type Stage struct { // The status of the cache cluster for the stage, if enabled. CacheClusterStatus *string `locationName:"cacheClusterStatus" type:"string" enum:"CacheClusterStatus"` + // Settings for the canary deployment in this stage. + CanarySettings *CanarySettings `locationName:"canarySettings" type:"structure"` + // The identifier of a client certificate for an API stage. ClientCertificateId *string `locationName:"clientCertificateId" type:"string"` @@ -19986,7 +21056,7 @@ type Stage struct { MethodSettings map[string]*MethodSetting `locationName:"methodSettings" type:"map"` // The name of the stage is the first path segment in the Uniform Resource Identifier - // (URI) of a call to Amazon API Gateway. + // (URI) of a call to API Gateway. StageName *string `locationName:"stageName" type:"string"` // A map that defines the stage variables for a Stage resource. Variable names @@ -20005,6 +21075,12 @@ func (s Stage) GoString() string { return s.String() } +// SetAccessLogSettings sets the AccessLogSettings field's value. +func (s *Stage) SetAccessLogSettings(v *AccessLogSettings) *Stage { + s.AccessLogSettings = v + return s +} + // SetCacheClusterEnabled sets the CacheClusterEnabled field's value. func (s *Stage) SetCacheClusterEnabled(v bool) *Stage { s.CacheClusterEnabled = &v @@ -20023,6 +21099,12 @@ func (s *Stage) SetCacheClusterStatus(v string) *Stage { return s } +// SetCanarySettings sets the CanarySettings field's value. +func (s *Stage) SetCanarySettings(v *CanarySettings) *Stage { + s.CanarySettings = v + return s +} + // SetClientCertificateId sets the ClientCertificateId field's value. func (s *Stage) SetClientCertificateId(v string) *Stage { s.ClientCertificateId = &v @@ -20230,7 +21312,7 @@ type TestInvokeAuthorizerOutput struct { // The execution latency of the test authorizer request. Latency *int64 `locationName:"latency" type:"long"` - // The Amazon API Gateway execution log for the test authorizer request. + // The API Gateway execution log for the test authorizer request. Log *string `locationName:"log" type:"string"` // The JSON policy document returned by the Authorizer @@ -20423,7 +21505,7 @@ type TestInvokeMethodOutput struct { // The execution latency of the test invoke request. Latency *int64 `locationName:"latency" type:"long"` - // The Amazon API Gateway execution log for the test invoke request. + // The API Gateway execution log for the test invoke request. Log *string `locationName:"log" type:"string"` // The HTTP status code. @@ -20505,8 +21587,7 @@ func (s *ThrottleSettings) SetRateLimit(v float64) *ThrottleSettings { return s } -// Requests Amazon API Gateway to change information about the current Account -// resource. +// Requests API Gateway to change information about the current Account resource. type UpdateAccountInput struct { _ struct{} `type:"structure"` @@ -20755,7 +21836,7 @@ func (s *UpdateClientCertificateInput) SetPatchOperations(v []*PatchOperation) * return s } -// Requests Amazon API Gateway to change information about a Deployment resource. +// Requests API Gateway to change information about a Deployment resource. type UpdateDeploymentInput struct { _ struct{} `type:"structure"` @@ -21081,12 +22162,12 @@ func (s *UpdateGatewayResponseInput) SetRestApiId(v string) *UpdateGatewayRespon // response parameters and mapping templates. // // For more information about valid gateway response types, see Gateway Response -// Types Supported by Amazon API Gateway (http://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.html)Example: +// Types Supported by API Gateway (http://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.html)Example: // Get a Gateway Response of a given response type // // Request // -// This example shows how to get a gateway response of the MISSING_AUTHNETICATION_TOKEN +// This example shows how to get a gateway response of the MISSING_AUTHENTICATION_TOKEN // type. // // GET /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1 @@ -21123,7 +22204,7 @@ type UpdateGatewayResponseOutput struct { // A Boolean flag to indicate whether this GatewayResponse is the default gateway // response (true) or not (false). A default gateway response is one generated - // by Amazon API Gateway without any customization by an API developer. + // by API Gateway without any customization by an API developer. DefaultResponse *bool `locationName:"defaultResponse" type:"boolean"` // Response parameters (paths, query strings and headers) of the GatewayResponse @@ -21836,7 +22917,7 @@ func (s *UpdateRestApiInput) SetRestApiId(v string) *UpdateRestApiInput { return s } -// Requests Amazon API Gateway to change information about a Stage resource. +// Requests API Gateway to change information about a Stage resource. type UpdateStageInput struct { _ struct{} `type:"structure"` @@ -22013,6 +23094,138 @@ func (s *UpdateUsagePlanInput) SetUsagePlanId(v string) *UpdateUsagePlanInput { return s } +// Updates an existing VpcLink of a specified identifier. +type UpdateVpcLinkInput struct { + _ struct{} `type:"structure"` + + // A list of update operations to be applied to the specified resource and in + // the order specified in this list. + PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` + + // [Required] The identifier of the VpcLink. It is used in an Integration to + // reference this VpcLink. + // + // VpcLinkId is a required field + VpcLinkId *string `location:"uri" locationName:"vpclink_id" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateVpcLinkInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateVpcLinkInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateVpcLinkInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateVpcLinkInput"} + if s.VpcLinkId == nil { + invalidParams.Add(request.NewErrParamRequired("VpcLinkId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPatchOperations sets the PatchOperations field's value. +func (s *UpdateVpcLinkInput) SetPatchOperations(v []*PatchOperation) *UpdateVpcLinkInput { + s.PatchOperations = v + return s +} + +// SetVpcLinkId sets the VpcLinkId field's value. +func (s *UpdateVpcLinkInput) SetVpcLinkId(v string) *UpdateVpcLinkInput { + s.VpcLinkId = &v + return s +} + +// A API Gateway VPC link for a RestApi to access resources in an Amazon Virtual +// Private Cloud (VPC). +// +// To enable access to a resource in an Amazon Virtual Private Cloud through +// Amazon API Gateway, you, as an API developer, create a VpcLink resource targeted +// for one or more network load balancers of the VPC and then integrate an API +// method with a private integration that uses the VpcLink. The private integration +// has an integration type of HTTP or HTTP_PROXY and has a connection type of +// VPC_LINK. The integration uses the connectionId property to identify the +// VpcLink used. +type UpdateVpcLinkOutput struct { + _ struct{} `type:"structure"` + + // The description of the VPC link. + Description *string `locationName:"description" type:"string"` + + // The identifier of the VpcLink. It is used in an Integration to reference + // this VpcLink. + Id *string `locationName:"id" type:"string"` + + // The name used to label and identify the VPC link. + Name *string `locationName:"name" type:"string"` + + // The status of the VPC link. The valid values are AVAILABLE, PENDING, DELETING, + // or FAILED. Deploying an API will wait if the status is PENDING and will fail + // if the status is DELETING. + Status *string `locationName:"status" type:"string" enum:"VpcLinkStatus"` + + // A description about the VPC link status. + StatusMessage *string `locationName:"statusMessage" type:"string"` + + // The ARNs of network load balancers of the VPC targeted by the VPC link. The + // network load balancers must be owned by the same AWS account of the API owner. + TargetArns []*string `locationName:"targetArns" type:"list"` +} + +// String returns the string representation +func (s UpdateVpcLinkOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateVpcLinkOutput) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *UpdateVpcLinkOutput) SetDescription(v string) *UpdateVpcLinkOutput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateVpcLinkOutput) SetId(v string) *UpdateVpcLinkOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateVpcLinkOutput) SetName(v string) *UpdateVpcLinkOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *UpdateVpcLinkOutput) SetStatus(v string) *UpdateVpcLinkOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *UpdateVpcLinkOutput) SetStatusMessage(v string) *UpdateVpcLinkOutput { + s.StatusMessage = &v + return s +} + +// SetTargetArns sets the TargetArns field's value. +func (s *UpdateVpcLinkOutput) SetTargetArns(v []*string) *UpdateVpcLinkOutput { + s.TargetArns = v + return s +} + // Represents the usage data of a usage plan. // // Create and Use Usage Plans (http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html), Manage Usage in a Usage Plan (http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-usage-plans-with-console.html#api-gateway-usage-plan-manage-usage) @@ -22285,6 +23498,14 @@ const ( CacheClusterStatusFlushInProgress = "FLUSH_IN_PROGRESS" ) +const ( + // ConnectionTypeInternet is a ConnectionType enum value + ConnectionTypeInternet = "INTERNET" + + // ConnectionTypeVpcLink is a ConnectionType enum value + ConnectionTypeVpcLink = "VPC_LINK" +) + const ( // ContentHandlingStrategyConvertToBinary is a ContentHandlingStrategy enum value ContentHandlingStrategyConvertToBinary = "CONVERT_TO_BINARY" @@ -22404,10 +23625,10 @@ const ( GatewayResponseTypeQuotaExceeded = "QUOTA_EXCEEDED" ) -// The integration type. The valid value is HTTP for integrating with an HTTP -// back end, AWS for any AWS service endpoints, MOCK for testing without actually -// invoking the back end, HTTP_PROXY for integrating with the HTTP proxy integration, -// or AWS_PROXY for integrating with the Lambda proxy integration type. +// The integration type. The valid value is HTTP for integrating an API method +// with an HTTP backend; AWS with any AWS service endpoints; MOCK for testing +// without actually invoking the backend; HTTP_PROXY for integrating with the +// HTTP proxy integration; AWS_PROXY for integrating with the Lambda proxy integration. const ( // IntegrationTypeHttp is a IntegrationType enum value IntegrationTypeHttp = "HTTP" @@ -22425,6 +23646,14 @@ const ( IntegrationTypeAwsProxy = "AWS_PROXY" ) +const ( + // LocationStatusTypeDocumented is a LocationStatusType enum value + LocationStatusTypeDocumented = "DOCUMENTED" + + // LocationStatusTypeUndocumented is a LocationStatusType enum value + LocationStatusTypeUndocumented = "UNDOCUMENTED" +) + const ( // OpAdd is a Op enum value OpAdd = "add" @@ -22474,3 +23703,17 @@ const ( // UnauthorizedCacheControlHeaderStrategySucceedWithoutResponseHeader is a UnauthorizedCacheControlHeaderStrategy enum value UnauthorizedCacheControlHeaderStrategySucceedWithoutResponseHeader = "SUCCEED_WITHOUT_RESPONSE_HEADER" ) + +const ( + // VpcLinkStatusAvailable is a VpcLinkStatus enum value + VpcLinkStatusAvailable = "AVAILABLE" + + // VpcLinkStatusPending is a VpcLinkStatus enum value + VpcLinkStatusPending = "PENDING" + + // VpcLinkStatusDeleting is a VpcLinkStatus enum value + VpcLinkStatusDeleting = "DELETING" + + // VpcLinkStatusFailed is a VpcLinkStatus enum value + VpcLinkStatusFailed = "FAILED" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/apigateway/doc.go b/vendor/github.com/aws/aws-sdk-go/service/apigateway/doc.go index a7862f072bd..7a343e30a7e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/apigateway/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/service/apigateway/doc.go @@ -4,10 +4,10 @@ // requests to Amazon API Gateway. // // Amazon API Gateway helps developers deliver robust, secure, and scalable -// mobile and web application back ends. Amazon API Gateway allows developers -// to securely connect mobile and web applications to APIs that run on AWS Lambda, -// Amazon EC2, or other publicly addressable web services that are hosted outside -// of AWS. +// mobile and web application back ends. API Gateway allows developers to securely +// connect mobile and web applications to APIs that run on AWS Lambda, Amazon +// EC2, or other publicly addressable web services that are hosted outside of +// AWS. // // See apigateway package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/apigateway/ diff --git a/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/api.go b/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/api.go index d574f8dbb4c..6f45c454b29 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/api.go @@ -36,7 +36,7 @@ const opDeleteScalingPolicy = "DeleteScalingPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScalingPolicyInput) (req *request.Request, output *DeleteScalingPolicyOutput) { op := &request.Operation{ Name: opDeleteScalingPolicy, @@ -90,7 +90,7 @@ func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScaling // * ErrCodeInternalServiceException "InternalServiceException" // The service encountered an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy func (c *ApplicationAutoScaling) DeleteScalingPolicy(input *DeleteScalingPolicyInput) (*DeleteScalingPolicyOutput, error) { req, out := c.DeleteScalingPolicyRequest(input) return out, req.Send() @@ -137,7 +137,7 @@ const opDeleteScheduledAction = "DeleteScheduledAction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction func (c *ApplicationAutoScaling) DeleteScheduledActionRequest(input *DeleteScheduledActionInput) (req *request.Request, output *DeleteScheduledActionOutput) { op := &request.Operation{ Name: opDeleteScheduledAction, @@ -185,7 +185,7 @@ func (c *ApplicationAutoScaling) DeleteScheduledActionRequest(input *DeleteSched // * ErrCodeInternalServiceException "InternalServiceException" // The service encountered an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction func (c *ApplicationAutoScaling) DeleteScheduledAction(input *DeleteScheduledActionInput) (*DeleteScheduledActionOutput, error) { req, out := c.DeleteScheduledActionRequest(input) return out, req.Send() @@ -232,7 +232,7 @@ const opDeregisterScalableTarget = "DeregisterScalableTarget" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget func (c *ApplicationAutoScaling) DeregisterScalableTargetRequest(input *DeregisterScalableTargetInput) (req *request.Request, output *DeregisterScalableTargetOutput) { op := &request.Operation{ Name: opDeregisterScalableTarget, @@ -285,7 +285,7 @@ func (c *ApplicationAutoScaling) DeregisterScalableTargetRequest(input *Deregist // * ErrCodeInternalServiceException "InternalServiceException" // The service encountered an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget func (c *ApplicationAutoScaling) DeregisterScalableTarget(input *DeregisterScalableTargetInput) (*DeregisterScalableTargetOutput, error) { req, out := c.DeregisterScalableTargetRequest(input) return out, req.Send() @@ -332,7 +332,7 @@ const opDescribeScalableTargets = "DescribeScalableTargets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargets func (c *ApplicationAutoScaling) DescribeScalableTargetsRequest(input *DescribeScalableTargetsInput) (req *request.Request, output *DescribeScalableTargetsOutput) { op := &request.Operation{ Name: opDescribeScalableTargets, @@ -388,7 +388,7 @@ func (c *ApplicationAutoScaling) DescribeScalableTargetsRequest(input *DescribeS // * ErrCodeInternalServiceException "InternalServiceException" // The service encountered an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargets func (c *ApplicationAutoScaling) DescribeScalableTargets(input *DescribeScalableTargetsInput) (*DescribeScalableTargetsOutput, error) { req, out := c.DescribeScalableTargetsRequest(input) return out, req.Send() @@ -485,7 +485,7 @@ const opDescribeScalingActivities = "DescribeScalingActivities" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivities +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivities func (c *ApplicationAutoScaling) DescribeScalingActivitiesRequest(input *DescribeScalingActivitiesInput) (req *request.Request, output *DescribeScalingActivitiesOutput) { op := &request.Operation{ Name: opDescribeScalingActivities, @@ -542,7 +542,7 @@ func (c *ApplicationAutoScaling) DescribeScalingActivitiesRequest(input *Describ // * ErrCodeInternalServiceException "InternalServiceException" // The service encountered an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivities +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivities func (c *ApplicationAutoScaling) DescribeScalingActivities(input *DescribeScalingActivitiesInput) (*DescribeScalingActivitiesOutput, error) { req, out := c.DescribeScalingActivitiesRequest(input) return out, req.Send() @@ -639,7 +639,7 @@ const opDescribeScalingPolicies = "DescribeScalingPolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPolicies func (c *ApplicationAutoScaling) DescribeScalingPoliciesRequest(input *DescribeScalingPoliciesInput) (req *request.Request, output *DescribeScalingPoliciesOutput) { op := &request.Operation{ Name: opDescribeScalingPolicies, @@ -702,7 +702,7 @@ func (c *ApplicationAutoScaling) DescribeScalingPoliciesRequest(input *DescribeS // * ErrCodeInternalServiceException "InternalServiceException" // The service encountered an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPolicies func (c *ApplicationAutoScaling) DescribeScalingPolicies(input *DescribeScalingPoliciesInput) (*DescribeScalingPoliciesOutput, error) { req, out := c.DescribeScalingPoliciesRequest(input) return out, req.Send() @@ -799,7 +799,7 @@ const opDescribeScheduledActions = "DescribeScheduledActions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScheduledActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScheduledActions func (c *ApplicationAutoScaling) DescribeScheduledActionsRequest(input *DescribeScheduledActionsInput) (req *request.Request, output *DescribeScheduledActionsOutput) { op := &request.Operation{ Name: opDescribeScheduledActions, @@ -848,7 +848,7 @@ func (c *ApplicationAutoScaling) DescribeScheduledActionsRequest(input *Describe // * ErrCodeInternalServiceException "InternalServiceException" // The service encountered an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScheduledActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScheduledActions func (c *ApplicationAutoScaling) DescribeScheduledActions(input *DescribeScheduledActionsInput) (*DescribeScheduledActionsOutput, error) { req, out := c.DescribeScheduledActionsRequest(input) return out, req.Send() @@ -895,7 +895,7 @@ const opPutScalingPolicy = "PutScalingPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicy func (c *ApplicationAutoScaling) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req *request.Request, output *PutScalingPolicyOutput) { op := &request.Operation{ Name: opPutScalingPolicy, @@ -968,7 +968,7 @@ func (c *ApplicationAutoScaling) PutScalingPolicyRequest(input *PutScalingPolicy // * ErrCodeInternalServiceException "InternalServiceException" // The service encountered an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicy func (c *ApplicationAutoScaling) PutScalingPolicy(input *PutScalingPolicyInput) (*PutScalingPolicyOutput, error) { req, out := c.PutScalingPolicyRequest(input) return out, req.Send() @@ -1015,7 +1015,7 @@ const opPutScheduledAction = "PutScheduledAction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScheduledAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScheduledAction func (c *ApplicationAutoScaling) PutScheduledActionRequest(input *PutScheduledActionInput) (req *request.Request, output *PutScheduledActionOutput) { op := &request.Operation{ Name: opPutScheduledAction, @@ -1082,7 +1082,7 @@ func (c *ApplicationAutoScaling) PutScheduledActionRequest(input *PutScheduledAc // * ErrCodeInternalServiceException "InternalServiceException" // The service encountered an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScheduledAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScheduledAction func (c *ApplicationAutoScaling) PutScheduledAction(input *PutScheduledActionInput) (*PutScheduledActionOutput, error) { req, out := c.PutScheduledActionRequest(input) return out, req.Send() @@ -1129,7 +1129,7 @@ const opRegisterScalableTarget = "RegisterScalableTarget" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTarget func (c *ApplicationAutoScaling) RegisterScalableTargetRequest(input *RegisterScalableTargetInput) (req *request.Request, output *RegisterScalableTargetOutput) { op := &request.Operation{ Name: opRegisterScalableTarget, @@ -1182,7 +1182,7 @@ func (c *ApplicationAutoScaling) RegisterScalableTargetRequest(input *RegisterSc // * ErrCodeInternalServiceException "InternalServiceException" // The service encountered an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTarget func (c *ApplicationAutoScaling) RegisterScalableTarget(input *RegisterScalableTargetInput) (*RegisterScalableTargetOutput, error) { req, out := c.RegisterScalableTargetRequest(input) return out, req.Send() @@ -1205,7 +1205,7 @@ func (c *ApplicationAutoScaling) RegisterScalableTargetWithContext(ctx aws.Conte } // Represents a CloudWatch alarm associated with a scaling policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/Alarm +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/Alarm type Alarm struct { _ struct{} `type:"structure"` @@ -1243,7 +1243,7 @@ func (s *Alarm) SetAlarmName(v string) *Alarm { } // Configures a customized metric for a target tracking policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/CustomizedMetricSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/CustomizedMetricSpecification type CustomizedMetricSpecification struct { _ struct{} `type:"structure"` @@ -1338,7 +1338,7 @@ func (s *CustomizedMetricSpecification) SetUnit(v string) *CustomizedMetricSpeci return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicyRequest type DeleteScalingPolicyInput struct { _ struct{} `type:"structure"` @@ -1368,6 +1368,9 @@ type DeleteScalingPolicyInput struct { // * DynamoDB global secondary index - The resource type is index and the // unique identifier is the resource ID. Example: table/my-table/index/my-table-index. // + // * Aurora DB cluster - The resource type is cluster and the unique identifier + // is the cluster name. Example: cluster:my-db-cluster. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` @@ -1397,6 +1400,9 @@ type DeleteScalingPolicyInput struct { // * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for // a DynamoDB global secondary index. // + // * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + // DB cluster. Available for Aurora MySQL-compatible edition. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -1470,7 +1476,7 @@ func (s *DeleteScalingPolicyInput) SetServiceNamespace(v string) *DeleteScalingP return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicyResponse type DeleteScalingPolicyOutput struct { _ struct{} `type:"structure"` } @@ -1485,7 +1491,7 @@ func (s DeleteScalingPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledActionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledActionRequest type DeleteScheduledActionInput struct { _ struct{} `type:"structure"` @@ -1510,6 +1516,9 @@ type DeleteScheduledActionInput struct { // * DynamoDB global secondary index - The resource type is index and the // unique identifier is the resource ID. Example: table/my-table/index/my-table-index. // + // * Aurora DB cluster - The resource type is cluster and the unique identifier + // is the cluster name. Example: cluster:my-db-cluster. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` @@ -1538,6 +1547,9 @@ type DeleteScheduledActionInput struct { // // * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for // a DynamoDB global secondary index. + // + // * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + // DB cluster. Available for Aurora MySQL-compatible edition. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The name of the scheduled action. @@ -1612,7 +1624,7 @@ func (s *DeleteScheduledActionInput) SetServiceNamespace(v string) *DeleteSchedu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledActionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledActionResponse type DeleteScheduledActionOutput struct { _ struct{} `type:"structure"` } @@ -1627,7 +1639,7 @@ func (s DeleteScheduledActionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTargetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTargetRequest type DeregisterScalableTargetInput struct { _ struct{} `type:"structure"` @@ -1652,6 +1664,9 @@ type DeregisterScalableTargetInput struct { // * DynamoDB global secondary index - The resource type is index and the // unique identifier is the resource ID. Example: table/my-table/index/my-table-index. // + // * Aurora DB cluster - The resource type is cluster and the unique identifier + // is the cluster name. Example: cluster:my-db-cluster. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` @@ -1681,6 +1696,9 @@ type DeregisterScalableTargetInput struct { // * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for // a DynamoDB global secondary index. // + // * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + // DB cluster. Available for Aurora MySQL-compatible edition. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -1742,7 +1760,7 @@ func (s *DeregisterScalableTargetInput) SetServiceNamespace(v string) *Deregiste return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTargetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTargetResponse type DeregisterScalableTargetOutput struct { _ struct{} `type:"structure"` } @@ -1757,7 +1775,7 @@ func (s DeregisterScalableTargetOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargetsRequest type DescribeScalableTargetsInput struct { _ struct{} `type:"structure"` @@ -1794,6 +1812,9 @@ type DescribeScalableTargetsInput struct { // // * DynamoDB global secondary index - The resource type is index and the // unique identifier is the resource ID. Example: table/my-table/index/my-table-index. + // + // * Aurora DB cluster - The resource type is cluster and the unique identifier + // is the cluster name. Example: cluster:my-db-cluster. ResourceIds []*string `type:"list"` // The scalable dimension associated with the scalable target. This string consists @@ -1822,6 +1843,9 @@ type DescribeScalableTargetsInput struct { // // * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for // a DynamoDB global secondary index. + // + // * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + // DB cluster. Available for Aurora MySQL-compatible edition. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The namespace of the AWS service. For more information, see AWS Service Namespaces @@ -1885,7 +1909,7 @@ func (s *DescribeScalableTargetsInput) SetServiceNamespace(v string) *DescribeSc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargetsResponse type DescribeScalableTargetsOutput struct { _ struct{} `type:"structure"` @@ -1919,7 +1943,7 @@ func (s *DescribeScalableTargetsOutput) SetScalableTargets(v []*ScalableTarget) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivitiesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivitiesRequest type DescribeScalingActivitiesInput struct { _ struct{} `type:"structure"` @@ -1956,6 +1980,9 @@ type DescribeScalingActivitiesInput struct { // // * DynamoDB global secondary index - The resource type is index and the // unique identifier is the resource ID. Example: table/my-table/index/my-table-index. + // + // * Aurora DB cluster - The resource type is cluster and the unique identifier + // is the cluster name. Example: cluster:my-db-cluster. ResourceId *string `min:"1" type:"string"` // The scalable dimension. This string consists of the service namespace, resource @@ -1984,6 +2011,9 @@ type DescribeScalingActivitiesInput struct { // // * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for // a DynamoDB global secondary index. + // + // * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + // DB cluster. Available for Aurora MySQL-compatible edition. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The namespace of the AWS service. For more information, see AWS Service Namespaces @@ -2050,7 +2080,7 @@ func (s *DescribeScalingActivitiesInput) SetServiceNamespace(v string) *Describe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivitiesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivitiesResponse type DescribeScalingActivitiesOutput struct { _ struct{} `type:"structure"` @@ -2084,7 +2114,7 @@ func (s *DescribeScalingActivitiesOutput) SetScalingActivities(v []*ScalingActiv return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPoliciesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPoliciesRequest type DescribeScalingPoliciesInput struct { _ struct{} `type:"structure"` @@ -2124,6 +2154,9 @@ type DescribeScalingPoliciesInput struct { // // * DynamoDB global secondary index - The resource type is index and the // unique identifier is the resource ID. Example: table/my-table/index/my-table-index. + // + // * Aurora DB cluster - The resource type is cluster and the unique identifier + // is the cluster name. Example: cluster:my-db-cluster. ResourceId *string `min:"1" type:"string"` // The scalable dimension. This string consists of the service namespace, resource @@ -2152,6 +2185,9 @@ type DescribeScalingPoliciesInput struct { // // * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for // a DynamoDB global secondary index. + // + // * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + // DB cluster. Available for Aurora MySQL-compatible edition. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The namespace of the AWS service. For more information, see AWS Service Namespaces @@ -2224,7 +2260,7 @@ func (s *DescribeScalingPoliciesInput) SetServiceNamespace(v string) *DescribeSc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPoliciesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPoliciesResponse type DescribeScalingPoliciesOutput struct { _ struct{} `type:"structure"` @@ -2258,11 +2294,11 @@ func (s *DescribeScalingPoliciesOutput) SetScalingPolicies(v []*ScalingPolicy) * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScheduledActionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScheduledActionsRequest type DescribeScheduledActionsInput struct { _ struct{} `type:"structure"` - // The maximum number of scalable target results. This value can be between + // The maximum number of scheduled action results. This value can be between // 1 and 50. The default value is 50. // // If this parameter is used, the operation returns up to MaxResults results @@ -2295,6 +2331,9 @@ type DescribeScheduledActionsInput struct { // // * DynamoDB global secondary index - The resource type is index and the // unique identifier is the resource ID. Example: table/my-table/index/my-table-index. + // + // * Aurora DB cluster - The resource type is cluster and the unique identifier + // is the cluster name. Example: cluster:my-db-cluster. ResourceId *string `min:"1" type:"string"` // The scalable dimension. This string consists of the service namespace, resource @@ -2323,6 +2362,9 @@ type DescribeScheduledActionsInput struct { // // * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for // a DynamoDB global secondary index. + // + // * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + // DB cluster. Available for Aurora MySQL-compatible edition. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The names of the scheduled actions to describe. @@ -2398,7 +2440,7 @@ func (s *DescribeScheduledActionsInput) SetServiceNamespace(v string) *DescribeS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScheduledActionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScheduledActionsResponse type DescribeScheduledActionsOutput struct { _ struct{} `type:"structure"` @@ -2433,7 +2475,7 @@ func (s *DescribeScheduledActionsOutput) SetScheduledActions(v []*ScheduledActio } // Describes the dimension of a metric. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/MetricDimension +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/MetricDimension type MetricDimension struct { _ struct{} `type:"structure"` @@ -2487,16 +2529,28 @@ func (s *MetricDimension) SetValue(v string) *MetricDimension { } // Configures a predefined metric for a target tracking policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PredefinedMetricSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PredefinedMetricSpecification type PredefinedMetricSpecification struct { _ struct{} `type:"structure"` - // The metric type. + // The metric type. The ALBRequestCountPerTarget metric type applies only to + // Spot fleet requests. // // PredefinedMetricType is a required field PredefinedMetricType *string `type:"string" required:"true" enum:"MetricType"` - // Reserved for future use. + // Identifies the resource associated with the metric type. You can't specify + // a resource label unless the metric type is ALBRequestCountPerTarget and there + // is a target group attached to the Spot fleet request. + // + // The format is app///targetgroup//, + // where: + // + // * app// is the final portion of + // the load balancer ARN + // + // * targetgroup// is the final portion + // of the target group ARN. ResourceLabel *string `min:"1" type:"string"` } @@ -2538,7 +2592,7 @@ func (s *PredefinedMetricSpecification) SetResourceLabel(v string) *PredefinedMe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicyRequest type PutScalingPolicyInput struct { _ struct{} `type:"structure"` @@ -2575,6 +2629,9 @@ type PutScalingPolicyInput struct { // * DynamoDB global secondary index - The resource type is index and the // unique identifier is the resource ID. Example: table/my-table/index/my-table-index. // + // * Aurora DB cluster - The resource type is cluster and the unique identifier + // is the cluster name. Example: cluster:my-db-cluster. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` @@ -2604,6 +2661,9 @@ type PutScalingPolicyInput struct { // * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for // a DynamoDB global secondary index. // + // * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + // DB cluster. Available for Aurora MySQL-compatible edition. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -2717,7 +2777,7 @@ func (s *PutScalingPolicyInput) SetTargetTrackingScalingPolicyConfiguration(v *T return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicyResponse type PutScalingPolicyOutput struct { _ struct{} `type:"structure"` @@ -2752,7 +2812,7 @@ func (s *PutScalingPolicyOutput) SetPolicyARN(v string) *PutScalingPolicyOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScheduledActionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScheduledActionRequest type PutScheduledActionInput struct { _ struct{} `type:"structure"` @@ -2780,6 +2840,9 @@ type PutScheduledActionInput struct { // * DynamoDB global secondary index - The resource type is index and the // unique identifier is the resource ID. Example: table/my-table/index/my-table-index. // + // * Aurora DB cluster - The resource type is cluster and the unique identifier + // is the cluster name. Example: cluster:my-db-cluster. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` @@ -2808,6 +2871,9 @@ type PutScheduledActionInput struct { // // * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for // a DynamoDB global secondary index. + // + // * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + // DB cluster. Available for Aurora MySQL-compatible edition. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The new minimum and maximum capacity. You can set both values or just one. @@ -2935,7 +3001,7 @@ func (s *PutScheduledActionInput) SetStartTime(v time.Time) *PutScheduledActionI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScheduledActionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScheduledActionResponse type PutScheduledActionOutput struct { _ struct{} `type:"structure"` } @@ -2950,7 +3016,7 @@ func (s PutScheduledActionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTargetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTargetRequest type RegisterScalableTargetInput struct { _ struct{} `type:"structure"` @@ -2985,12 +3051,22 @@ type RegisterScalableTargetInput struct { // * DynamoDB global secondary index - The resource type is index and the // unique identifier is the resource ID. Example: table/my-table/index/my-table-index. // + // * Aurora DB cluster - The resource type is cluster and the unique identifier + // is the cluster name. Example: cluster:my-db-cluster. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The ARN of an IAM role that allows Application Auto Scaling to modify the - // scalable target on your behalf. This parameter is required when you register - // a scalable target and optional when you update one. + // scalable target on your behalf. + // + // With Amazon RDS resources, permissions are granted using a service-linked + // role. For more information, see Service-Linked Roles for Application Auto + // Scaling (http://docs.aws.amazon.com/ApplicationAutoScaling/latest/APIReference/application-autoscaling-service-linked-roles.html). + // + // For resources that are not supported using a service-linked role, this parameter + // is required when you register a scalable target and optional when you update + // one. RoleARN *string `min:"1" type:"string"` // The scalable dimension associated with the scalable target. This string consists @@ -3019,6 +3095,9 @@ type RegisterScalableTargetInput struct { // * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for // a DynamoDB global secondary index. // + // * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + // DB cluster. Available for Aurora MySQL-compatible edition. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -3101,7 +3180,7 @@ func (s *RegisterScalableTargetInput) SetServiceNamespace(v string) *RegisterSca return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTargetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTargetResponse type RegisterScalableTargetOutput struct { _ struct{} `type:"structure"` } @@ -3117,7 +3196,7 @@ func (s RegisterScalableTargetOutput) GoString() string { } // Represents a scalable target. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalableTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalableTarget type ScalableTarget struct { _ struct{} `type:"structure"` @@ -3157,6 +3236,9 @@ type ScalableTarget struct { // * DynamoDB global secondary index - The resource type is index and the // unique identifier is the resource ID. Example: table/my-table/index/my-table-index. // + // * Aurora DB cluster - The resource type is cluster and the unique identifier + // is the cluster name. Example: cluster:my-db-cluster. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` @@ -3192,6 +3274,9 @@ type ScalableTarget struct { // * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for // a DynamoDB global secondary index. // + // * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + // DB cluster. Available for Aurora MySQL-compatible edition. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -3256,7 +3341,7 @@ func (s *ScalableTarget) SetServiceNamespace(v string) *ScalableTarget { } // Represents the minimum and maximum capacity for a scheduled action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalableTargetAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalableTargetAction type ScalableTargetAction struct { _ struct{} `type:"structure"` @@ -3290,7 +3375,7 @@ func (s *ScalableTargetAction) SetMinCapacity(v int64) *ScalableTargetAction { } // Represents a scaling activity. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalingActivity +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalingActivity type ScalingActivity struct { _ struct{} `type:"structure"` @@ -3336,6 +3421,9 @@ type ScalingActivity struct { // * DynamoDB global secondary index - The resource type is index and the // unique identifier is the resource ID. Example: table/my-table/index/my-table-index. // + // * Aurora DB cluster - The resource type is cluster and the unique identifier + // is the cluster name. Example: cluster:my-db-cluster. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` @@ -3365,6 +3453,9 @@ type ScalingActivity struct { // * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for // a DynamoDB global secondary index. // + // * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + // DB cluster. Available for Aurora MySQL-compatible edition. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -3466,7 +3557,7 @@ func (s *ScalingActivity) SetStatusMessage(v string) *ScalingActivity { } // Represents a scaling policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalingPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalingPolicy type ScalingPolicy struct { _ struct{} `type:"structure"` @@ -3514,6 +3605,9 @@ type ScalingPolicy struct { // * DynamoDB global secondary index - The resource type is index and the // unique identifier is the resource ID. Example: table/my-table/index/my-table-index. // + // * Aurora DB cluster - The resource type is cluster and the unique identifier + // is the cluster name. Example: cluster:my-db-cluster. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` @@ -3543,6 +3637,9 @@ type ScalingPolicy struct { // * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for // a DynamoDB global secondary index. // + // * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + // DB cluster. Available for Aurora MySQL-compatible edition. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -3631,7 +3728,7 @@ func (s *ScalingPolicy) SetTargetTrackingScalingPolicyConfiguration(v *TargetTra } // Represents a scheduled action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScheduledAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScheduledAction type ScheduledAction struct { _ struct{} `type:"structure"` @@ -3664,6 +3761,9 @@ type ScheduledAction struct { // * DynamoDB global secondary index - The resource type is index and the // unique identifier is the resource ID. Example: table/my-table/index/my-table-index. // + // * Aurora DB cluster - The resource type is cluster and the unique identifier + // is the cluster name. Example: cluster:my-db-cluster. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` @@ -3692,6 +3792,9 @@ type ScheduledAction struct { // // * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for // a DynamoDB global secondary index. + // + // * rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora + // DB cluster. Available for Aurora MySQL-compatible edition. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The new minimum and maximum capacity. You can set both values or just one. @@ -3838,7 +3941,7 @@ func (s *ScheduledAction) SetStartTime(v time.Time) *ScheduledAction { // with a null upper bound. // // * The upper and lower bound can't be null in the same step adjustment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/StepAdjustment +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/StepAdjustment type StepAdjustment struct { _ struct{} `type:"structure"` @@ -3909,7 +4012,7 @@ func (s *StepAdjustment) SetScalingAdjustment(v int64) *StepAdjustment { } // Represents a step scaling policy configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/StepScalingPolicyConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/StepScalingPolicyConfiguration type StepScalingPolicyConfiguration struct { _ struct{} `type:"structure"` @@ -4015,7 +4118,7 @@ func (s *StepScalingPolicyConfiguration) SetStepAdjustments(v []*StepAdjustment) } // Represents a target tracking scaling policy configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/TargetTrackingScalingPolicyConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/TargetTrackingScalingPolicyConfiguration type TargetTrackingScalingPolicyConfiguration struct { _ struct{} `type:"structure"` @@ -4172,6 +4275,24 @@ const ( // MetricTypeDynamoDbwriteCapacityUtilization is a MetricType enum value MetricTypeDynamoDbwriteCapacityUtilization = "DynamoDBWriteCapacityUtilization" + + // MetricTypeAlbrequestCountPerTarget is a MetricType enum value + MetricTypeAlbrequestCountPerTarget = "ALBRequestCountPerTarget" + + // MetricTypeRdsreaderAverageCpuutilization is a MetricType enum value + MetricTypeRdsreaderAverageCpuutilization = "RDSReaderAverageCPUUtilization" + + // MetricTypeRdsreaderAverageDatabaseConnections is a MetricType enum value + MetricTypeRdsreaderAverageDatabaseConnections = "RDSReaderAverageDatabaseConnections" + + // MetricTypeEc2spotFleetRequestAverageCpuutilization is a MetricType enum value + MetricTypeEc2spotFleetRequestAverageCpuutilization = "EC2SpotFleetRequestAverageCPUUtilization" + + // MetricTypeEc2spotFleetRequestAverageNetworkIn is a MetricType enum value + MetricTypeEc2spotFleetRequestAverageNetworkIn = "EC2SpotFleetRequestAverageNetworkIn" + + // MetricTypeEc2spotFleetRequestAverageNetworkOut is a MetricType enum value + MetricTypeEc2spotFleetRequestAverageNetworkOut = "EC2SpotFleetRequestAverageNetworkOut" ) const ( @@ -4206,6 +4327,9 @@ const ( // ScalableDimensionDynamodbIndexWriteCapacityUnits is a ScalableDimension enum value ScalableDimensionDynamodbIndexWriteCapacityUnits = "dynamodb:index:WriteCapacityUnits" + + // ScalableDimensionRdsClusterReadReplicaCount is a ScalableDimension enum value + ScalableDimensionRdsClusterReadReplicaCount = "rds:cluster:ReadReplicaCount" ) const ( @@ -4243,4 +4367,7 @@ const ( // ServiceNamespaceDynamodb is a ServiceNamespace enum value ServiceNamespaceDynamodb = "dynamodb" + + // ServiceNamespaceRds is a ServiceNamespace enum value + ServiceNamespaceRds = "rds" ) diff --git a/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/doc.go b/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/doc.go index 55dd3a2549b..2b16a63fba2 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/doc.go @@ -36,6 +36,9 @@ // Automatically with DynamoDB Auto Scaling (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html) // in the Amazon DynamoDB Developer Guide. // +// * Amazon Aurora Replicas. For more information, see Using Application +// Auto Scaling with an Amazon Aurora DB Cluster (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Integrating.AutoScaling.html). +// // For a list of supported regions, see AWS Regions and Endpoints: Application // Auto Scaling (http://docs.aws.amazon.com/general/latest/gr/rande.html#as-app_region) // in the AWS General Reference. diff --git a/vendor/github.com/aws/aws-sdk-go/service/appsync/api.go b/vendor/github.com/aws/aws-sdk-go/service/appsync/api.go new file mode 100644 index 00000000000..a70770acdb0 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/appsync/api.go @@ -0,0 +1,5417 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package appsync + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" +) + +const opCreateApiKey = "CreateApiKey" + +// CreateApiKeyRequest generates a "aws/request.Request" representing the +// client's request for the CreateApiKey operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateApiKey for more information on using the CreateApiKey +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateApiKeyRequest method. +// req, resp := client.CreateApiKeyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKey +func (c *AppSync) CreateApiKeyRequest(input *CreateApiKeyInput) (req *request.Request, output *CreateApiKeyOutput) { + op := &request.Operation{ + Name: opCreateApiKey, + HTTPMethod: "POST", + HTTPPath: "/v1/apis/{apiId}/apikeys", + } + + if input == nil { + input = &CreateApiKeyInput{} + } + + output = &CreateApiKeyOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateApiKey API operation for AWS AppSync. +// +// Creates a unique key that you can distribute to clients who are executing +// your API. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation CreateApiKey for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// * ErrCodeApiKeyLimitExceededException "ApiKeyLimitExceededException" +// The API key exceeded a limit. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKey +func (c *AppSync) CreateApiKey(input *CreateApiKeyInput) (*CreateApiKeyOutput, error) { + req, out := c.CreateApiKeyRequest(input) + return out, req.Send() +} + +// CreateApiKeyWithContext is the same as CreateApiKey with the addition of +// the ability to pass a context and additional request options. +// +// See CreateApiKey for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) CreateApiKeyWithContext(ctx aws.Context, input *CreateApiKeyInput, opts ...request.Option) (*CreateApiKeyOutput, error) { + req, out := c.CreateApiKeyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateDataSource = "CreateDataSource" + +// CreateDataSourceRequest generates a "aws/request.Request" representing the +// client's request for the CreateDataSource operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateDataSource for more information on using the CreateDataSource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateDataSourceRequest method. +// req, resp := client.CreateDataSourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSource +func (c *AppSync) CreateDataSourceRequest(input *CreateDataSourceInput) (req *request.Request, output *CreateDataSourceOutput) { + op := &request.Operation{ + Name: opCreateDataSource, + HTTPMethod: "POST", + HTTPPath: "/v1/apis/{apiId}/datasources", + } + + if input == nil { + input = &CreateDataSourceInput{} + } + + output = &CreateDataSourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateDataSource API operation for AWS AppSync. +// +// Creates a DataSource object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation CreateDataSource for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSource +func (c *AppSync) CreateDataSource(input *CreateDataSourceInput) (*CreateDataSourceOutput, error) { + req, out := c.CreateDataSourceRequest(input) + return out, req.Send() +} + +// CreateDataSourceWithContext is the same as CreateDataSource with the addition of +// the ability to pass a context and additional request options. +// +// See CreateDataSource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) CreateDataSourceWithContext(ctx aws.Context, input *CreateDataSourceInput, opts ...request.Option) (*CreateDataSourceOutput, error) { + req, out := c.CreateDataSourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateGraphqlApi = "CreateGraphqlApi" + +// CreateGraphqlApiRequest generates a "aws/request.Request" representing the +// client's request for the CreateGraphqlApi operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateGraphqlApi for more information on using the CreateGraphqlApi +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateGraphqlApiRequest method. +// req, resp := client.CreateGraphqlApiRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi +func (c *AppSync) CreateGraphqlApiRequest(input *CreateGraphqlApiInput) (req *request.Request, output *CreateGraphqlApiOutput) { + op := &request.Operation{ + Name: opCreateGraphqlApi, + HTTPMethod: "POST", + HTTPPath: "/v1/apis", + } + + if input == nil { + input = &CreateGraphqlApiInput{} + } + + output = &CreateGraphqlApiOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateGraphqlApi API operation for AWS AppSync. +// +// Creates a GraphqlApi object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation CreateGraphqlApi for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeApiLimitExceededException "ApiLimitExceededException" +// The GraphQL API exceeded a limit. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi +func (c *AppSync) CreateGraphqlApi(input *CreateGraphqlApiInput) (*CreateGraphqlApiOutput, error) { + req, out := c.CreateGraphqlApiRequest(input) + return out, req.Send() +} + +// CreateGraphqlApiWithContext is the same as CreateGraphqlApi with the addition of +// the ability to pass a context and additional request options. +// +// See CreateGraphqlApi for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) CreateGraphqlApiWithContext(ctx aws.Context, input *CreateGraphqlApiInput, opts ...request.Option) (*CreateGraphqlApiOutput, error) { + req, out := c.CreateGraphqlApiRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateResolver = "CreateResolver" + +// CreateResolverRequest generates a "aws/request.Request" representing the +// client's request for the CreateResolver operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateResolver for more information on using the CreateResolver +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateResolverRequest method. +// req, resp := client.CreateResolverRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolver +func (c *AppSync) CreateResolverRequest(input *CreateResolverInput) (req *request.Request, output *CreateResolverOutput) { + op := &request.Operation{ + Name: opCreateResolver, + HTTPMethod: "POST", + HTTPPath: "/v1/apis/{apiId}/types/{typeName}/resolvers", + } + + if input == nil { + input = &CreateResolverInput{} + } + + output = &CreateResolverOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateResolver API operation for AWS AppSync. +// +// Creates a Resolver object. +// +// A resolver converts incoming requests into a format that a data source can +// understand and converts the data source's responses into GraphQL. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation CreateResolver for usage and error information. +// +// Returned Error Codes: +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolver +func (c *AppSync) CreateResolver(input *CreateResolverInput) (*CreateResolverOutput, error) { + req, out := c.CreateResolverRequest(input) + return out, req.Send() +} + +// CreateResolverWithContext is the same as CreateResolver with the addition of +// the ability to pass a context and additional request options. +// +// See CreateResolver for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) CreateResolverWithContext(ctx aws.Context, input *CreateResolverInput, opts ...request.Option) (*CreateResolverOutput, error) { + req, out := c.CreateResolverRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateType = "CreateType" + +// CreateTypeRequest generates a "aws/request.Request" representing the +// client's request for the CreateType operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateType for more information on using the CreateType +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateTypeRequest method. +// req, resp := client.CreateTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateType +func (c *AppSync) CreateTypeRequest(input *CreateTypeInput) (req *request.Request, output *CreateTypeOutput) { + op := &request.Operation{ + Name: opCreateType, + HTTPMethod: "POST", + HTTPPath: "/v1/apis/{apiId}/types", + } + + if input == nil { + input = &CreateTypeInput{} + } + + output = &CreateTypeOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateType API operation for AWS AppSync. +// +// Creates a Type object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation CreateType for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateType +func (c *AppSync) CreateType(input *CreateTypeInput) (*CreateTypeOutput, error) { + req, out := c.CreateTypeRequest(input) + return out, req.Send() +} + +// CreateTypeWithContext is the same as CreateType with the addition of +// the ability to pass a context and additional request options. +// +// See CreateType for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) CreateTypeWithContext(ctx aws.Context, input *CreateTypeInput, opts ...request.Option) (*CreateTypeOutput, error) { + req, out := c.CreateTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteApiKey = "DeleteApiKey" + +// DeleteApiKeyRequest generates a "aws/request.Request" representing the +// client's request for the DeleteApiKey operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteApiKey for more information on using the DeleteApiKey +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteApiKeyRequest method. +// req, resp := client.DeleteApiKeyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKey +func (c *AppSync) DeleteApiKeyRequest(input *DeleteApiKeyInput) (req *request.Request, output *DeleteApiKeyOutput) { + op := &request.Operation{ + Name: opDeleteApiKey, + HTTPMethod: "DELETE", + HTTPPath: "/v1/apis/{apiId}/apikeys/{id}", + } + + if input == nil { + input = &DeleteApiKeyInput{} + } + + output = &DeleteApiKeyOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteApiKey API operation for AWS AppSync. +// +// Deletes an API key. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation DeleteApiKey for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKey +func (c *AppSync) DeleteApiKey(input *DeleteApiKeyInput) (*DeleteApiKeyOutput, error) { + req, out := c.DeleteApiKeyRequest(input) + return out, req.Send() +} + +// DeleteApiKeyWithContext is the same as DeleteApiKey with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteApiKey for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) DeleteApiKeyWithContext(ctx aws.Context, input *DeleteApiKeyInput, opts ...request.Option) (*DeleteApiKeyOutput, error) { + req, out := c.DeleteApiKeyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteDataSource = "DeleteDataSource" + +// DeleteDataSourceRequest generates a "aws/request.Request" representing the +// client's request for the DeleteDataSource operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteDataSource for more information on using the DeleteDataSource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteDataSourceRequest method. +// req, resp := client.DeleteDataSourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSource +func (c *AppSync) DeleteDataSourceRequest(input *DeleteDataSourceInput) (req *request.Request, output *DeleteDataSourceOutput) { + op := &request.Operation{ + Name: opDeleteDataSource, + HTTPMethod: "DELETE", + HTTPPath: "/v1/apis/{apiId}/datasources/{name}", + } + + if input == nil { + input = &DeleteDataSourceInput{} + } + + output = &DeleteDataSourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteDataSource API operation for AWS AppSync. +// +// Deletes a DataSource object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation DeleteDataSource for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSource +func (c *AppSync) DeleteDataSource(input *DeleteDataSourceInput) (*DeleteDataSourceOutput, error) { + req, out := c.DeleteDataSourceRequest(input) + return out, req.Send() +} + +// DeleteDataSourceWithContext is the same as DeleteDataSource with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteDataSource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) DeleteDataSourceWithContext(ctx aws.Context, input *DeleteDataSourceInput, opts ...request.Option) (*DeleteDataSourceOutput, error) { + req, out := c.DeleteDataSourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteGraphqlApi = "DeleteGraphqlApi" + +// DeleteGraphqlApiRequest generates a "aws/request.Request" representing the +// client's request for the DeleteGraphqlApi operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteGraphqlApi for more information on using the DeleteGraphqlApi +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteGraphqlApiRequest method. +// req, resp := client.DeleteGraphqlApiRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApi +func (c *AppSync) DeleteGraphqlApiRequest(input *DeleteGraphqlApiInput) (req *request.Request, output *DeleteGraphqlApiOutput) { + op := &request.Operation{ + Name: opDeleteGraphqlApi, + HTTPMethod: "DELETE", + HTTPPath: "/v1/apis/{apiId}", + } + + if input == nil { + input = &DeleteGraphqlApiInput{} + } + + output = &DeleteGraphqlApiOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteGraphqlApi API operation for AWS AppSync. +// +// Deletes a GraphqlApi object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation DeleteGraphqlApi for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApi +func (c *AppSync) DeleteGraphqlApi(input *DeleteGraphqlApiInput) (*DeleteGraphqlApiOutput, error) { + req, out := c.DeleteGraphqlApiRequest(input) + return out, req.Send() +} + +// DeleteGraphqlApiWithContext is the same as DeleteGraphqlApi with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteGraphqlApi for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) DeleteGraphqlApiWithContext(ctx aws.Context, input *DeleteGraphqlApiInput, opts ...request.Option) (*DeleteGraphqlApiOutput, error) { + req, out := c.DeleteGraphqlApiRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteResolver = "DeleteResolver" + +// DeleteResolverRequest generates a "aws/request.Request" representing the +// client's request for the DeleteResolver operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteResolver for more information on using the DeleteResolver +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteResolverRequest method. +// req, resp := client.DeleteResolverRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolver +func (c *AppSync) DeleteResolverRequest(input *DeleteResolverInput) (req *request.Request, output *DeleteResolverOutput) { + op := &request.Operation{ + Name: opDeleteResolver, + HTTPMethod: "DELETE", + HTTPPath: "/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}", + } + + if input == nil { + input = &DeleteResolverInput{} + } + + output = &DeleteResolverOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteResolver API operation for AWS AppSync. +// +// Deletes a Resolver object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation DeleteResolver for usage and error information. +// +// Returned Error Codes: +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolver +func (c *AppSync) DeleteResolver(input *DeleteResolverInput) (*DeleteResolverOutput, error) { + req, out := c.DeleteResolverRequest(input) + return out, req.Send() +} + +// DeleteResolverWithContext is the same as DeleteResolver with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteResolver for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) DeleteResolverWithContext(ctx aws.Context, input *DeleteResolverInput, opts ...request.Option) (*DeleteResolverOutput, error) { + req, out := c.DeleteResolverRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteType = "DeleteType" + +// DeleteTypeRequest generates a "aws/request.Request" representing the +// client's request for the DeleteType operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteType for more information on using the DeleteType +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteTypeRequest method. +// req, resp := client.DeleteTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteType +func (c *AppSync) DeleteTypeRequest(input *DeleteTypeInput) (req *request.Request, output *DeleteTypeOutput) { + op := &request.Operation{ + Name: opDeleteType, + HTTPMethod: "DELETE", + HTTPPath: "/v1/apis/{apiId}/types/{typeName}", + } + + if input == nil { + input = &DeleteTypeInput{} + } + + output = &DeleteTypeOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteType API operation for AWS AppSync. +// +// Deletes a Type object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation DeleteType for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteType +func (c *AppSync) DeleteType(input *DeleteTypeInput) (*DeleteTypeOutput, error) { + req, out := c.DeleteTypeRequest(input) + return out, req.Send() +} + +// DeleteTypeWithContext is the same as DeleteType with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteType for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) DeleteTypeWithContext(ctx aws.Context, input *DeleteTypeInput, opts ...request.Option) (*DeleteTypeOutput, error) { + req, out := c.DeleteTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetDataSource = "GetDataSource" + +// GetDataSourceRequest generates a "aws/request.Request" representing the +// client's request for the GetDataSource operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetDataSource for more information on using the GetDataSource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetDataSourceRequest method. +// req, resp := client.GetDataSourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSource +func (c *AppSync) GetDataSourceRequest(input *GetDataSourceInput) (req *request.Request, output *GetDataSourceOutput) { + op := &request.Operation{ + Name: opGetDataSource, + HTTPMethod: "GET", + HTTPPath: "/v1/apis/{apiId}/datasources/{name}", + } + + if input == nil { + input = &GetDataSourceInput{} + } + + output = &GetDataSourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetDataSource API operation for AWS AppSync. +// +// Retrieves a DataSource object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation GetDataSource for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSource +func (c *AppSync) GetDataSource(input *GetDataSourceInput) (*GetDataSourceOutput, error) { + req, out := c.GetDataSourceRequest(input) + return out, req.Send() +} + +// GetDataSourceWithContext is the same as GetDataSource with the addition of +// the ability to pass a context and additional request options. +// +// See GetDataSource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) GetDataSourceWithContext(ctx aws.Context, input *GetDataSourceInput, opts ...request.Option) (*GetDataSourceOutput, error) { + req, out := c.GetDataSourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetGraphqlApi = "GetGraphqlApi" + +// GetGraphqlApiRequest generates a "aws/request.Request" representing the +// client's request for the GetGraphqlApi operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetGraphqlApi for more information on using the GetGraphqlApi +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetGraphqlApiRequest method. +// req, resp := client.GetGraphqlApiRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi +func (c *AppSync) GetGraphqlApiRequest(input *GetGraphqlApiInput) (req *request.Request, output *GetGraphqlApiOutput) { + op := &request.Operation{ + Name: opGetGraphqlApi, + HTTPMethod: "GET", + HTTPPath: "/v1/apis/{apiId}", + } + + if input == nil { + input = &GetGraphqlApiInput{} + } + + output = &GetGraphqlApiOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetGraphqlApi API operation for AWS AppSync. +// +// Retrieves a GraphqlApi object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation GetGraphqlApi for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi +func (c *AppSync) GetGraphqlApi(input *GetGraphqlApiInput) (*GetGraphqlApiOutput, error) { + req, out := c.GetGraphqlApiRequest(input) + return out, req.Send() +} + +// GetGraphqlApiWithContext is the same as GetGraphqlApi with the addition of +// the ability to pass a context and additional request options. +// +// See GetGraphqlApi for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) GetGraphqlApiWithContext(ctx aws.Context, input *GetGraphqlApiInput, opts ...request.Option) (*GetGraphqlApiOutput, error) { + req, out := c.GetGraphqlApiRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetIntrospectionSchema = "GetIntrospectionSchema" + +// GetIntrospectionSchemaRequest generates a "aws/request.Request" representing the +// client's request for the GetIntrospectionSchema operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetIntrospectionSchema for more information on using the GetIntrospectionSchema +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetIntrospectionSchemaRequest method. +// req, resp := client.GetIntrospectionSchemaRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchema +func (c *AppSync) GetIntrospectionSchemaRequest(input *GetIntrospectionSchemaInput) (req *request.Request, output *GetIntrospectionSchemaOutput) { + op := &request.Operation{ + Name: opGetIntrospectionSchema, + HTTPMethod: "GET", + HTTPPath: "/v1/apis/{apiId}/schema", + } + + if input == nil { + input = &GetIntrospectionSchemaInput{} + } + + output = &GetIntrospectionSchemaOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetIntrospectionSchema API operation for AWS AppSync. +// +// Retrieves the introspection schema for a GraphQL API. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation GetIntrospectionSchema for usage and error information. +// +// Returned Error Codes: +// * ErrCodeGraphQLSchemaException "GraphQLSchemaException" +// The GraphQL schema is not valid. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchema +func (c *AppSync) GetIntrospectionSchema(input *GetIntrospectionSchemaInput) (*GetIntrospectionSchemaOutput, error) { + req, out := c.GetIntrospectionSchemaRequest(input) + return out, req.Send() +} + +// GetIntrospectionSchemaWithContext is the same as GetIntrospectionSchema with the addition of +// the ability to pass a context and additional request options. +// +// See GetIntrospectionSchema for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) GetIntrospectionSchemaWithContext(ctx aws.Context, input *GetIntrospectionSchemaInput, opts ...request.Option) (*GetIntrospectionSchemaOutput, error) { + req, out := c.GetIntrospectionSchemaRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetResolver = "GetResolver" + +// GetResolverRequest generates a "aws/request.Request" representing the +// client's request for the GetResolver operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetResolver for more information on using the GetResolver +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetResolverRequest method. +// req, resp := client.GetResolverRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolver +func (c *AppSync) GetResolverRequest(input *GetResolverInput) (req *request.Request, output *GetResolverOutput) { + op := &request.Operation{ + Name: opGetResolver, + HTTPMethod: "GET", + HTTPPath: "/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}", + } + + if input == nil { + input = &GetResolverInput{} + } + + output = &GetResolverOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetResolver API operation for AWS AppSync. +// +// Retrieves a Resolver object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation GetResolver for usage and error information. +// +// Returned Error Codes: +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolver +func (c *AppSync) GetResolver(input *GetResolverInput) (*GetResolverOutput, error) { + req, out := c.GetResolverRequest(input) + return out, req.Send() +} + +// GetResolverWithContext is the same as GetResolver with the addition of +// the ability to pass a context and additional request options. +// +// See GetResolver for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) GetResolverWithContext(ctx aws.Context, input *GetResolverInput, opts ...request.Option) (*GetResolverOutput, error) { + req, out := c.GetResolverRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetSchemaCreationStatus = "GetSchemaCreationStatus" + +// GetSchemaCreationStatusRequest generates a "aws/request.Request" representing the +// client's request for the GetSchemaCreationStatus operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetSchemaCreationStatus for more information on using the GetSchemaCreationStatus +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetSchemaCreationStatusRequest method. +// req, resp := client.GetSchemaCreationStatusRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatus +func (c *AppSync) GetSchemaCreationStatusRequest(input *GetSchemaCreationStatusInput) (req *request.Request, output *GetSchemaCreationStatusOutput) { + op := &request.Operation{ + Name: opGetSchemaCreationStatus, + HTTPMethod: "GET", + HTTPPath: "/v1/apis/{apiId}/schemacreation", + } + + if input == nil { + input = &GetSchemaCreationStatusInput{} + } + + output = &GetSchemaCreationStatusOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetSchemaCreationStatus API operation for AWS AppSync. +// +// Retrieves the current status of a schema creation operation. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation GetSchemaCreationStatus for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatus +func (c *AppSync) GetSchemaCreationStatus(input *GetSchemaCreationStatusInput) (*GetSchemaCreationStatusOutput, error) { + req, out := c.GetSchemaCreationStatusRequest(input) + return out, req.Send() +} + +// GetSchemaCreationStatusWithContext is the same as GetSchemaCreationStatus with the addition of +// the ability to pass a context and additional request options. +// +// See GetSchemaCreationStatus for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) GetSchemaCreationStatusWithContext(ctx aws.Context, input *GetSchemaCreationStatusInput, opts ...request.Option) (*GetSchemaCreationStatusOutput, error) { + req, out := c.GetSchemaCreationStatusRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetType = "GetType" + +// GetTypeRequest generates a "aws/request.Request" representing the +// client's request for the GetType operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetType for more information on using the GetType +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetTypeRequest method. +// req, resp := client.GetTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetType +func (c *AppSync) GetTypeRequest(input *GetTypeInput) (req *request.Request, output *GetTypeOutput) { + op := &request.Operation{ + Name: opGetType, + HTTPMethod: "GET", + HTTPPath: "/v1/apis/{apiId}/types/{typeName}", + } + + if input == nil { + input = &GetTypeInput{} + } + + output = &GetTypeOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetType API operation for AWS AppSync. +// +// Retrieves a Type object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation GetType for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetType +func (c *AppSync) GetType(input *GetTypeInput) (*GetTypeOutput, error) { + req, out := c.GetTypeRequest(input) + return out, req.Send() +} + +// GetTypeWithContext is the same as GetType with the addition of +// the ability to pass a context and additional request options. +// +// See GetType for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) GetTypeWithContext(ctx aws.Context, input *GetTypeInput, opts ...request.Option) (*GetTypeOutput, error) { + req, out := c.GetTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListApiKeys = "ListApiKeys" + +// ListApiKeysRequest generates a "aws/request.Request" representing the +// client's request for the ListApiKeys operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListApiKeys for more information on using the ListApiKeys +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListApiKeysRequest method. +// req, resp := client.ListApiKeysRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys +func (c *AppSync) ListApiKeysRequest(input *ListApiKeysInput) (req *request.Request, output *ListApiKeysOutput) { + op := &request.Operation{ + Name: opListApiKeys, + HTTPMethod: "GET", + HTTPPath: "/v1/apis/{apiId}/apikeys", + } + + if input == nil { + input = &ListApiKeysInput{} + } + + output = &ListApiKeysOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListApiKeys API operation for AWS AppSync. +// +// Lists the API keys for a given API. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation ListApiKeys for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys +func (c *AppSync) ListApiKeys(input *ListApiKeysInput) (*ListApiKeysOutput, error) { + req, out := c.ListApiKeysRequest(input) + return out, req.Send() +} + +// ListApiKeysWithContext is the same as ListApiKeys with the addition of +// the ability to pass a context and additional request options. +// +// See ListApiKeys for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) ListApiKeysWithContext(ctx aws.Context, input *ListApiKeysInput, opts ...request.Option) (*ListApiKeysOutput, error) { + req, out := c.ListApiKeysRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListDataSources = "ListDataSources" + +// ListDataSourcesRequest generates a "aws/request.Request" representing the +// client's request for the ListDataSources operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListDataSources for more information on using the ListDataSources +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListDataSourcesRequest method. +// req, resp := client.ListDataSourcesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSources +func (c *AppSync) ListDataSourcesRequest(input *ListDataSourcesInput) (req *request.Request, output *ListDataSourcesOutput) { + op := &request.Operation{ + Name: opListDataSources, + HTTPMethod: "GET", + HTTPPath: "/v1/apis/{apiId}/datasources", + } + + if input == nil { + input = &ListDataSourcesInput{} + } + + output = &ListDataSourcesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListDataSources API operation for AWS AppSync. +// +// Lists the data sources for a given API. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation ListDataSources for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSources +func (c *AppSync) ListDataSources(input *ListDataSourcesInput) (*ListDataSourcesOutput, error) { + req, out := c.ListDataSourcesRequest(input) + return out, req.Send() +} + +// ListDataSourcesWithContext is the same as ListDataSources with the addition of +// the ability to pass a context and additional request options. +// +// See ListDataSources for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) ListDataSourcesWithContext(ctx aws.Context, input *ListDataSourcesInput, opts ...request.Option) (*ListDataSourcesOutput, error) { + req, out := c.ListDataSourcesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListGraphqlApis = "ListGraphqlApis" + +// ListGraphqlApisRequest generates a "aws/request.Request" representing the +// client's request for the ListGraphqlApis operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListGraphqlApis for more information on using the ListGraphqlApis +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListGraphqlApisRequest method. +// req, resp := client.ListGraphqlApisRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis +func (c *AppSync) ListGraphqlApisRequest(input *ListGraphqlApisInput) (req *request.Request, output *ListGraphqlApisOutput) { + op := &request.Operation{ + Name: opListGraphqlApis, + HTTPMethod: "GET", + HTTPPath: "/v1/apis", + } + + if input == nil { + input = &ListGraphqlApisInput{} + } + + output = &ListGraphqlApisOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListGraphqlApis API operation for AWS AppSync. +// +// Lists your GraphQL APIs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation ListGraphqlApis for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis +func (c *AppSync) ListGraphqlApis(input *ListGraphqlApisInput) (*ListGraphqlApisOutput, error) { + req, out := c.ListGraphqlApisRequest(input) + return out, req.Send() +} + +// ListGraphqlApisWithContext is the same as ListGraphqlApis with the addition of +// the ability to pass a context and additional request options. +// +// See ListGraphqlApis for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) ListGraphqlApisWithContext(ctx aws.Context, input *ListGraphqlApisInput, opts ...request.Option) (*ListGraphqlApisOutput, error) { + req, out := c.ListGraphqlApisRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListResolvers = "ListResolvers" + +// ListResolversRequest generates a "aws/request.Request" representing the +// client's request for the ListResolvers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListResolvers for more information on using the ListResolvers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListResolversRequest method. +// req, resp := client.ListResolversRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolvers +func (c *AppSync) ListResolversRequest(input *ListResolversInput) (req *request.Request, output *ListResolversOutput) { + op := &request.Operation{ + Name: opListResolvers, + HTTPMethod: "GET", + HTTPPath: "/v1/apis/{apiId}/types/{typeName}/resolvers", + } + + if input == nil { + input = &ListResolversInput{} + } + + output = &ListResolversOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListResolvers API operation for AWS AppSync. +// +// Lists the resolvers for a given API and type. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation ListResolvers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolvers +func (c *AppSync) ListResolvers(input *ListResolversInput) (*ListResolversOutput, error) { + req, out := c.ListResolversRequest(input) + return out, req.Send() +} + +// ListResolversWithContext is the same as ListResolvers with the addition of +// the ability to pass a context and additional request options. +// +// See ListResolvers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) ListResolversWithContext(ctx aws.Context, input *ListResolversInput, opts ...request.Option) (*ListResolversOutput, error) { + req, out := c.ListResolversRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListTypes = "ListTypes" + +// ListTypesRequest generates a "aws/request.Request" representing the +// client's request for the ListTypes operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTypes for more information on using the ListTypes +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListTypesRequest method. +// req, resp := client.ListTypesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypes +func (c *AppSync) ListTypesRequest(input *ListTypesInput) (req *request.Request, output *ListTypesOutput) { + op := &request.Operation{ + Name: opListTypes, + HTTPMethod: "GET", + HTTPPath: "/v1/apis/{apiId}/types", + } + + if input == nil { + input = &ListTypesInput{} + } + + output = &ListTypesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTypes API operation for AWS AppSync. +// +// Lists the types for a given API. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation ListTypes for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypes +func (c *AppSync) ListTypes(input *ListTypesInput) (*ListTypesOutput, error) { + req, out := c.ListTypesRequest(input) + return out, req.Send() +} + +// ListTypesWithContext is the same as ListTypes with the addition of +// the ability to pass a context and additional request options. +// +// See ListTypes for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) ListTypesWithContext(ctx aws.Context, input *ListTypesInput, opts ...request.Option) (*ListTypesOutput, error) { + req, out := c.ListTypesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartSchemaCreation = "StartSchemaCreation" + +// StartSchemaCreationRequest generates a "aws/request.Request" representing the +// client's request for the StartSchemaCreation operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartSchemaCreation for more information on using the StartSchemaCreation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StartSchemaCreationRequest method. +// req, resp := client.StartSchemaCreationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreation +func (c *AppSync) StartSchemaCreationRequest(input *StartSchemaCreationInput) (req *request.Request, output *StartSchemaCreationOutput) { + op := &request.Operation{ + Name: opStartSchemaCreation, + HTTPMethod: "POST", + HTTPPath: "/v1/apis/{apiId}/schemacreation", + } + + if input == nil { + input = &StartSchemaCreationInput{} + } + + output = &StartSchemaCreationOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartSchemaCreation API operation for AWS AppSync. +// +// Adds a new schema to your GraphQL API. +// +// This operation is asynchronous. Use to determine when it has completed. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation StartSchemaCreation for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreation +func (c *AppSync) StartSchemaCreation(input *StartSchemaCreationInput) (*StartSchemaCreationOutput, error) { + req, out := c.StartSchemaCreationRequest(input) + return out, req.Send() +} + +// StartSchemaCreationWithContext is the same as StartSchemaCreation with the addition of +// the ability to pass a context and additional request options. +// +// See StartSchemaCreation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) StartSchemaCreationWithContext(ctx aws.Context, input *StartSchemaCreationInput, opts ...request.Option) (*StartSchemaCreationOutput, error) { + req, out := c.StartSchemaCreationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateDataSource = "UpdateDataSource" + +// UpdateDataSourceRequest generates a "aws/request.Request" representing the +// client's request for the UpdateDataSource operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateDataSource for more information on using the UpdateDataSource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateDataSourceRequest method. +// req, resp := client.UpdateDataSourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSource +func (c *AppSync) UpdateDataSourceRequest(input *UpdateDataSourceInput) (req *request.Request, output *UpdateDataSourceOutput) { + op := &request.Operation{ + Name: opUpdateDataSource, + HTTPMethod: "POST", + HTTPPath: "/v1/apis/{apiId}/datasources/{name}", + } + + if input == nil { + input = &UpdateDataSourceInput{} + } + + output = &UpdateDataSourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateDataSource API operation for AWS AppSync. +// +// Updates a DataSource object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation UpdateDataSource for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSource +func (c *AppSync) UpdateDataSource(input *UpdateDataSourceInput) (*UpdateDataSourceOutput, error) { + req, out := c.UpdateDataSourceRequest(input) + return out, req.Send() +} + +// UpdateDataSourceWithContext is the same as UpdateDataSource with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateDataSource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) UpdateDataSourceWithContext(ctx aws.Context, input *UpdateDataSourceInput, opts ...request.Option) (*UpdateDataSourceOutput, error) { + req, out := c.UpdateDataSourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateGraphqlApi = "UpdateGraphqlApi" + +// UpdateGraphqlApiRequest generates a "aws/request.Request" representing the +// client's request for the UpdateGraphqlApi operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateGraphqlApi for more information on using the UpdateGraphqlApi +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateGraphqlApiRequest method. +// req, resp := client.UpdateGraphqlApiRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi +func (c *AppSync) UpdateGraphqlApiRequest(input *UpdateGraphqlApiInput) (req *request.Request, output *UpdateGraphqlApiOutput) { + op := &request.Operation{ + Name: opUpdateGraphqlApi, + HTTPMethod: "POST", + HTTPPath: "/v1/apis/{apiId}", + } + + if input == nil { + input = &UpdateGraphqlApiInput{} + } + + output = &UpdateGraphqlApiOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateGraphqlApi API operation for AWS AppSync. +// +// Updates a GraphqlApi object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation UpdateGraphqlApi for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi +func (c *AppSync) UpdateGraphqlApi(input *UpdateGraphqlApiInput) (*UpdateGraphqlApiOutput, error) { + req, out := c.UpdateGraphqlApiRequest(input) + return out, req.Send() +} + +// UpdateGraphqlApiWithContext is the same as UpdateGraphqlApi with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateGraphqlApi for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) UpdateGraphqlApiWithContext(ctx aws.Context, input *UpdateGraphqlApiInput, opts ...request.Option) (*UpdateGraphqlApiOutput, error) { + req, out := c.UpdateGraphqlApiRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateResolver = "UpdateResolver" + +// UpdateResolverRequest generates a "aws/request.Request" representing the +// client's request for the UpdateResolver operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateResolver for more information on using the UpdateResolver +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateResolverRequest method. +// req, resp := client.UpdateResolverRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolver +func (c *AppSync) UpdateResolverRequest(input *UpdateResolverInput) (req *request.Request, output *UpdateResolverOutput) { + op := &request.Operation{ + Name: opUpdateResolver, + HTTPMethod: "POST", + HTTPPath: "/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}", + } + + if input == nil { + input = &UpdateResolverInput{} + } + + output = &UpdateResolverOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateResolver API operation for AWS AppSync. +// +// Updates a Resolver object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation UpdateResolver for usage and error information. +// +// Returned Error Codes: +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolver +func (c *AppSync) UpdateResolver(input *UpdateResolverInput) (*UpdateResolverOutput, error) { + req, out := c.UpdateResolverRequest(input) + return out, req.Send() +} + +// UpdateResolverWithContext is the same as UpdateResolver with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateResolver for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) UpdateResolverWithContext(ctx aws.Context, input *UpdateResolverInput, opts ...request.Option) (*UpdateResolverOutput, error) { + req, out := c.UpdateResolverRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateType = "UpdateType" + +// UpdateTypeRequest generates a "aws/request.Request" representing the +// client's request for the UpdateType operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateType for more information on using the UpdateType +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateTypeRequest method. +// req, resp := client.UpdateTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType +func (c *AppSync) UpdateTypeRequest(input *UpdateTypeInput) (req *request.Request, output *UpdateTypeOutput) { + op := &request.Operation{ + Name: opUpdateType, + HTTPMethod: "POST", + HTTPPath: "/v1/apis/{apiId}/types/{typeName}", + } + + if input == nil { + input = &UpdateTypeInput{} + } + + output = &UpdateTypeOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateType API operation for AWS AppSync. +// +// Updates a Type object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS AppSync's +// API operation UpdateType for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// Another modification is being made. That modification must complete before +// you can make your change. +// +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal AWS AppSync error occurred. Try your request again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType +func (c *AppSync) UpdateType(input *UpdateTypeInput) (*UpdateTypeOutput, error) { + req, out := c.UpdateTypeRequest(input) + return out, req.Send() +} + +// UpdateTypeWithContext is the same as UpdateType with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateType for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppSync) UpdateTypeWithContext(ctx aws.Context, input *UpdateTypeInput, opts ...request.Option) (*UpdateTypeOutput, error) { + req, out := c.UpdateTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// Describes an API key. +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ApiKey +type ApiKey struct { + _ struct{} `type:"structure"` + + // A description of the purpose of the API key. + Description *string `locationName:"description" type:"string"` + + // The time when the API key expires. + Expires *int64 `locationName:"expires" type:"long"` + + // The API key ID. + Id *string `locationName:"id" type:"string"` +} + +// String returns the string representation +func (s ApiKey) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ApiKey) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *ApiKey) SetDescription(v string) *ApiKey { + s.Description = &v + return s +} + +// SetExpires sets the Expires field's value. +func (s *ApiKey) SetExpires(v int64) *ApiKey { + s.Expires = &v + return s +} + +// SetId sets the Id field's value. +func (s *ApiKey) SetId(v string) *ApiKey { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKeyRequest +type CreateApiKeyInput struct { + _ struct{} `type:"structure"` + + // The ID for your GraphQL API. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // A description of the purpose of the API key. + Description *string `locationName:"description" type:"string"` +} + +// String returns the string representation +func (s CreateApiKeyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateApiKeyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateApiKeyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateApiKeyInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *CreateApiKeyInput) SetApiId(v string) *CreateApiKeyInput { + s.ApiId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateApiKeyInput) SetDescription(v string) *CreateApiKeyInput { + s.Description = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKeyResponse +type CreateApiKeyOutput struct { + _ struct{} `type:"structure"` + + // The API key. + ApiKey *ApiKey `locationName:"apiKey" type:"structure"` +} + +// String returns the string representation +func (s CreateApiKeyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateApiKeyOutput) GoString() string { + return s.String() +} + +// SetApiKey sets the ApiKey field's value. +func (s *CreateApiKeyOutput) SetApiKey(v *ApiKey) *CreateApiKeyOutput { + s.ApiKey = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSourceRequest +type CreateDataSourceInput struct { + _ struct{} `type:"structure"` + + // The API ID for the GraphQL API for the DataSource. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // A description of the DataSource. + Description *string `locationName:"description" type:"string"` + + // DynamoDB settings. + DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` + + // Amazon Elasticsearch settings. + ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` + + // AWS Lambda settings. + LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"` + + // A user-supplied name for the DataSource. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The IAM service role ARN for the data source. The system assumes this role + // when accessing the data source. + ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` + + // The type of the DataSource. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"DataSourceType"` +} + +// String returns the string representation +func (s CreateDataSourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDataSourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateDataSourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateDataSourceInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + if s.DynamodbConfig != nil { + if err := s.DynamodbConfig.Validate(); err != nil { + invalidParams.AddNested("DynamodbConfig", err.(request.ErrInvalidParams)) + } + } + if s.ElasticsearchConfig != nil { + if err := s.ElasticsearchConfig.Validate(); err != nil { + invalidParams.AddNested("ElasticsearchConfig", err.(request.ErrInvalidParams)) + } + } + if s.LambdaConfig != nil { + if err := s.LambdaConfig.Validate(); err != nil { + invalidParams.AddNested("LambdaConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *CreateDataSourceInput) SetApiId(v string) *CreateDataSourceInput { + s.ApiId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateDataSourceInput) SetDescription(v string) *CreateDataSourceInput { + s.Description = &v + return s +} + +// SetDynamodbConfig sets the DynamodbConfig field's value. +func (s *CreateDataSourceInput) SetDynamodbConfig(v *DynamodbDataSourceConfig) *CreateDataSourceInput { + s.DynamodbConfig = v + return s +} + +// SetElasticsearchConfig sets the ElasticsearchConfig field's value. +func (s *CreateDataSourceInput) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *CreateDataSourceInput { + s.ElasticsearchConfig = v + return s +} + +// SetLambdaConfig sets the LambdaConfig field's value. +func (s *CreateDataSourceInput) SetLambdaConfig(v *LambdaDataSourceConfig) *CreateDataSourceInput { + s.LambdaConfig = v + return s +} + +// SetName sets the Name field's value. +func (s *CreateDataSourceInput) SetName(v string) *CreateDataSourceInput { + s.Name = &v + return s +} + +// SetServiceRoleArn sets the ServiceRoleArn field's value. +func (s *CreateDataSourceInput) SetServiceRoleArn(v string) *CreateDataSourceInput { + s.ServiceRoleArn = &v + return s +} + +// SetType sets the Type field's value. +func (s *CreateDataSourceInput) SetType(v string) *CreateDataSourceInput { + s.Type = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSourceResponse +type CreateDataSourceOutput struct { + _ struct{} `type:"structure"` + + // The DataSource object. + DataSource *DataSource `locationName:"dataSource" type:"structure"` +} + +// String returns the string representation +func (s CreateDataSourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDataSourceOutput) GoString() string { + return s.String() +} + +// SetDataSource sets the DataSource field's value. +func (s *CreateDataSourceOutput) SetDataSource(v *DataSource) *CreateDataSourceOutput { + s.DataSource = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiRequest +type CreateGraphqlApiInput struct { + _ struct{} `type:"structure"` + + // The authentication type: API key, IAM, or Amazon Cognito User Pools. + // + // AuthenticationType is a required field + AuthenticationType *string `locationName:"authenticationType" type:"string" required:"true" enum:"AuthenticationType"` + + // A user-supplied name for the GraphqlApi. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The Amazon Cognito User Pool configuration. + UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` +} + +// String returns the string representation +func (s CreateGraphqlApiInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateGraphqlApiInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateGraphqlApiInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateGraphqlApiInput"} + if s.AuthenticationType == nil { + invalidParams.Add(request.NewErrParamRequired("AuthenticationType")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.UserPoolConfig != nil { + if err := s.UserPoolConfig.Validate(); err != nil { + invalidParams.AddNested("UserPoolConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAuthenticationType sets the AuthenticationType field's value. +func (s *CreateGraphqlApiInput) SetAuthenticationType(v string) *CreateGraphqlApiInput { + s.AuthenticationType = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateGraphqlApiInput) SetName(v string) *CreateGraphqlApiInput { + s.Name = &v + return s +} + +// SetUserPoolConfig sets the UserPoolConfig field's value. +func (s *CreateGraphqlApiInput) SetUserPoolConfig(v *UserPoolConfig) *CreateGraphqlApiInput { + s.UserPoolConfig = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiResponse +type CreateGraphqlApiOutput struct { + _ struct{} `type:"structure"` + + // The GraphqlApi. + GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"` +} + +// String returns the string representation +func (s CreateGraphqlApiOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateGraphqlApiOutput) GoString() string { + return s.String() +} + +// SetGraphqlApi sets the GraphqlApi field's value. +func (s *CreateGraphqlApiOutput) SetGraphqlApi(v *GraphqlApi) *CreateGraphqlApiOutput { + s.GraphqlApi = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolverRequest +type CreateResolverInput struct { + _ struct{} `type:"structure"` + + // The ID for the GraphQL API for which the resolver is being created. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The name of the data source for which the resolver is being created. + // + // DataSourceName is a required field + DataSourceName *string `locationName:"dataSourceName" type:"string" required:"true"` + + // The name of the field to attach the resolver to. + // + // FieldName is a required field + FieldName *string `locationName:"fieldName" type:"string" required:"true"` + + // The mapping template to be used for requests. + // + // A resolver use a request mapping template to convert a GraphQL expression + // into a format that a data source can understand. Mapping templates are written + // in Apache Velocity Template Language (VTL). + // + // RequestMappingTemplate is a required field + RequestMappingTemplate *string `locationName:"requestMappingTemplate" type:"string" required:"true"` + + // The mapping template to be used for responses from the data source. + ResponseMappingTemplate *string `locationName:"responseMappingTemplate" type:"string"` + + // The name of the Type. + // + // TypeName is a required field + TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateResolverInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateResolverInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateResolverInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateResolverInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.DataSourceName == nil { + invalidParams.Add(request.NewErrParamRequired("DataSourceName")) + } + if s.FieldName == nil { + invalidParams.Add(request.NewErrParamRequired("FieldName")) + } + if s.RequestMappingTemplate == nil { + invalidParams.Add(request.NewErrParamRequired("RequestMappingTemplate")) + } + if s.TypeName == nil { + invalidParams.Add(request.NewErrParamRequired("TypeName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *CreateResolverInput) SetApiId(v string) *CreateResolverInput { + s.ApiId = &v + return s +} + +// SetDataSourceName sets the DataSourceName field's value. +func (s *CreateResolverInput) SetDataSourceName(v string) *CreateResolverInput { + s.DataSourceName = &v + return s +} + +// SetFieldName sets the FieldName field's value. +func (s *CreateResolverInput) SetFieldName(v string) *CreateResolverInput { + s.FieldName = &v + return s +} + +// SetRequestMappingTemplate sets the RequestMappingTemplate field's value. +func (s *CreateResolverInput) SetRequestMappingTemplate(v string) *CreateResolverInput { + s.RequestMappingTemplate = &v + return s +} + +// SetResponseMappingTemplate sets the ResponseMappingTemplate field's value. +func (s *CreateResolverInput) SetResponseMappingTemplate(v string) *CreateResolverInput { + s.ResponseMappingTemplate = &v + return s +} + +// SetTypeName sets the TypeName field's value. +func (s *CreateResolverInput) SetTypeName(v string) *CreateResolverInput { + s.TypeName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolverResponse +type CreateResolverOutput struct { + _ struct{} `type:"structure"` + + // The Resolver object. + Resolver *Resolver `locationName:"resolver" type:"structure"` +} + +// String returns the string representation +func (s CreateResolverOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateResolverOutput) GoString() string { + return s.String() +} + +// SetResolver sets the Resolver field's value. +func (s *CreateResolverOutput) SetResolver(v *Resolver) *CreateResolverOutput { + s.Resolver = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateTypeRequest +type CreateTypeInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The type definition, in GraphQL Schema Definition Language (SDL) format. + // + // For more information, see the GraphQL SDL documentation (http://graphql.org/learn/schema/). + // + // Definition is a required field + Definition *string `locationName:"definition" type:"string" required:"true"` + + // The type format: SDL or JSON. + // + // Format is a required field + Format *string `locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"` +} + +// String returns the string representation +func (s CreateTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateTypeInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.Definition == nil { + invalidParams.Add(request.NewErrParamRequired("Definition")) + } + if s.Format == nil { + invalidParams.Add(request.NewErrParamRequired("Format")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *CreateTypeInput) SetApiId(v string) *CreateTypeInput { + s.ApiId = &v + return s +} + +// SetDefinition sets the Definition field's value. +func (s *CreateTypeInput) SetDefinition(v string) *CreateTypeInput { + s.Definition = &v + return s +} + +// SetFormat sets the Format field's value. +func (s *CreateTypeInput) SetFormat(v string) *CreateTypeInput { + s.Format = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateTypeResponse +type CreateTypeOutput struct { + _ struct{} `type:"structure"` + + // The Type object. + Type *Type `locationName:"type" type:"structure"` +} + +// String returns the string representation +func (s CreateTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateTypeOutput) GoString() string { + return s.String() +} + +// SetType sets the Type field's value. +func (s *CreateTypeOutput) SetType(v *Type) *CreateTypeOutput { + s.Type = v + return s +} + +// Describes a data source. +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DataSource +type DataSource struct { + _ struct{} `type:"structure"` + + // The data source ARN. + DataSourceArn *string `locationName:"dataSourceArn" type:"string"` + + // The description of the data source. + Description *string `locationName:"description" type:"string"` + + // DynamoDB settings. + DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` + + // Amazon Elasticsearch settings. + ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` + + // Lambda settings. + LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"` + + // The name of the data source. + Name *string `locationName:"name" type:"string"` + + // The IAM service role ARN for the data source. The system assumes this role + // when accessing the data source. + ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` + + // The type of the data source. + Type *string `locationName:"type" type:"string" enum:"DataSourceType"` +} + +// String returns the string representation +func (s DataSource) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DataSource) GoString() string { + return s.String() +} + +// SetDataSourceArn sets the DataSourceArn field's value. +func (s *DataSource) SetDataSourceArn(v string) *DataSource { + s.DataSourceArn = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *DataSource) SetDescription(v string) *DataSource { + s.Description = &v + return s +} + +// SetDynamodbConfig sets the DynamodbConfig field's value. +func (s *DataSource) SetDynamodbConfig(v *DynamodbDataSourceConfig) *DataSource { + s.DynamodbConfig = v + return s +} + +// SetElasticsearchConfig sets the ElasticsearchConfig field's value. +func (s *DataSource) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *DataSource { + s.ElasticsearchConfig = v + return s +} + +// SetLambdaConfig sets the LambdaConfig field's value. +func (s *DataSource) SetLambdaConfig(v *LambdaDataSourceConfig) *DataSource { + s.LambdaConfig = v + return s +} + +// SetName sets the Name field's value. +func (s *DataSource) SetName(v string) *DataSource { + s.Name = &v + return s +} + +// SetServiceRoleArn sets the ServiceRoleArn field's value. +func (s *DataSource) SetServiceRoleArn(v string) *DataSource { + s.ServiceRoleArn = &v + return s +} + +// SetType sets the Type field's value. +func (s *DataSource) SetType(v string) *DataSource { + s.Type = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKeyRequest +type DeleteApiKeyInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The ID for the API key. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteApiKeyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteApiKeyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteApiKeyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteApiKeyInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *DeleteApiKeyInput) SetApiId(v string) *DeleteApiKeyInput { + s.ApiId = &v + return s +} + +// SetId sets the Id field's value. +func (s *DeleteApiKeyInput) SetId(v string) *DeleteApiKeyInput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKeyResponse +type DeleteApiKeyOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteApiKeyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteApiKeyOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSourceRequest +type DeleteDataSourceInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The name of the data source. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteDataSourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteDataSourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteDataSourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteDataSourceInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *DeleteDataSourceInput) SetApiId(v string) *DeleteDataSourceInput { + s.ApiId = &v + return s +} + +// SetName sets the Name field's value. +func (s *DeleteDataSourceInput) SetName(v string) *DeleteDataSourceInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSourceResponse +type DeleteDataSourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteDataSourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteDataSourceOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApiRequest +type DeleteGraphqlApiInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteGraphqlApiInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteGraphqlApiInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteGraphqlApiInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteGraphqlApiInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *DeleteGraphqlApiInput) SetApiId(v string) *DeleteGraphqlApiInput { + s.ApiId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApiResponse +type DeleteGraphqlApiOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteGraphqlApiOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteGraphqlApiOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolverRequest +type DeleteResolverInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The resolver field name. + // + // FieldName is a required field + FieldName *string `location:"uri" locationName:"fieldName" type:"string" required:"true"` + + // The name of the resolver type. + // + // TypeName is a required field + TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteResolverInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteResolverInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteResolverInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteResolverInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.FieldName == nil { + invalidParams.Add(request.NewErrParamRequired("FieldName")) + } + if s.TypeName == nil { + invalidParams.Add(request.NewErrParamRequired("TypeName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *DeleteResolverInput) SetApiId(v string) *DeleteResolverInput { + s.ApiId = &v + return s +} + +// SetFieldName sets the FieldName field's value. +func (s *DeleteResolverInput) SetFieldName(v string) *DeleteResolverInput { + s.FieldName = &v + return s +} + +// SetTypeName sets the TypeName field's value. +func (s *DeleteResolverInput) SetTypeName(v string) *DeleteResolverInput { + s.TypeName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolverResponse +type DeleteResolverOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteResolverOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteResolverOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteTypeRequest +type DeleteTypeInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The type name. + // + // TypeName is a required field + TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteTypeInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.TypeName == nil { + invalidParams.Add(request.NewErrParamRequired("TypeName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *DeleteTypeInput) SetApiId(v string) *DeleteTypeInput { + s.ApiId = &v + return s +} + +// SetTypeName sets the TypeName field's value. +func (s *DeleteTypeInput) SetTypeName(v string) *DeleteTypeInput { + s.TypeName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteTypeResponse +type DeleteTypeOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteTypeOutput) GoString() string { + return s.String() +} + +// Describes a DynamoDB data source configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DynamodbDataSourceConfig +type DynamodbDataSourceConfig struct { + _ struct{} `type:"structure"` + + // The AWS region. + // + // AwsRegion is a required field + AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` + + // The table name. + // + // TableName is a required field + TableName *string `locationName:"tableName" type:"string" required:"true"` + + // Set to TRUE to use Amazon Cognito credentials with this data source. + UseCallerCredentials *bool `locationName:"useCallerCredentials" type:"boolean"` +} + +// String returns the string representation +func (s DynamodbDataSourceConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DynamodbDataSourceConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DynamodbDataSourceConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DynamodbDataSourceConfig"} + if s.AwsRegion == nil { + invalidParams.Add(request.NewErrParamRequired("AwsRegion")) + } + if s.TableName == nil { + invalidParams.Add(request.NewErrParamRequired("TableName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsRegion sets the AwsRegion field's value. +func (s *DynamodbDataSourceConfig) SetAwsRegion(v string) *DynamodbDataSourceConfig { + s.AwsRegion = &v + return s +} + +// SetTableName sets the TableName field's value. +func (s *DynamodbDataSourceConfig) SetTableName(v string) *DynamodbDataSourceConfig { + s.TableName = &v + return s +} + +// SetUseCallerCredentials sets the UseCallerCredentials field's value. +func (s *DynamodbDataSourceConfig) SetUseCallerCredentials(v bool) *DynamodbDataSourceConfig { + s.UseCallerCredentials = &v + return s +} + +// Describes an Elasticsearch data source configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ElasticsearchDataSourceConfig +type ElasticsearchDataSourceConfig struct { + _ struct{} `type:"structure"` + + // The AWS region. + // + // AwsRegion is a required field + AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` + + // The endpoint. + // + // Endpoint is a required field + Endpoint *string `locationName:"endpoint" type:"string" required:"true"` +} + +// String returns the string representation +func (s ElasticsearchDataSourceConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ElasticsearchDataSourceConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ElasticsearchDataSourceConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ElasticsearchDataSourceConfig"} + if s.AwsRegion == nil { + invalidParams.Add(request.NewErrParamRequired("AwsRegion")) + } + if s.Endpoint == nil { + invalidParams.Add(request.NewErrParamRequired("Endpoint")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsRegion sets the AwsRegion field's value. +func (s *ElasticsearchDataSourceConfig) SetAwsRegion(v string) *ElasticsearchDataSourceConfig { + s.AwsRegion = &v + return s +} + +// SetEndpoint sets the Endpoint field's value. +func (s *ElasticsearchDataSourceConfig) SetEndpoint(v string) *ElasticsearchDataSourceConfig { + s.Endpoint = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSourceRequest +type GetDataSourceInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The name of the data source. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetDataSourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetDataSourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetDataSourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetDataSourceInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *GetDataSourceInput) SetApiId(v string) *GetDataSourceInput { + s.ApiId = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetDataSourceInput) SetName(v string) *GetDataSourceInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSourceResponse +type GetDataSourceOutput struct { + _ struct{} `type:"structure"` + + // The DataSource object. + DataSource *DataSource `locationName:"dataSource" type:"structure"` +} + +// String returns the string representation +func (s GetDataSourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetDataSourceOutput) GoString() string { + return s.String() +} + +// SetDataSource sets the DataSource field's value. +func (s *GetDataSourceOutput) SetDataSource(v *DataSource) *GetDataSourceOutput { + s.DataSource = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiRequest +type GetGraphqlApiInput struct { + _ struct{} `type:"structure"` + + // The API ID for the GraphQL API. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetGraphqlApiInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetGraphqlApiInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetGraphqlApiInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetGraphqlApiInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *GetGraphqlApiInput) SetApiId(v string) *GetGraphqlApiInput { + s.ApiId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiResponse +type GetGraphqlApiOutput struct { + _ struct{} `type:"structure"` + + // The GraphqlApi object. + GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"` +} + +// String returns the string representation +func (s GetGraphqlApiOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetGraphqlApiOutput) GoString() string { + return s.String() +} + +// SetGraphqlApi sets the GraphqlApi field's value. +func (s *GetGraphqlApiOutput) SetGraphqlApi(v *GraphqlApi) *GetGraphqlApiOutput { + s.GraphqlApi = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchemaRequest +type GetIntrospectionSchemaInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The schema format: SDL or JSON. + // + // Format is a required field + Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"OutputType"` +} + +// String returns the string representation +func (s GetIntrospectionSchemaInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetIntrospectionSchemaInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetIntrospectionSchemaInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetIntrospectionSchemaInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.Format == nil { + invalidParams.Add(request.NewErrParamRequired("Format")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *GetIntrospectionSchemaInput) SetApiId(v string) *GetIntrospectionSchemaInput { + s.ApiId = &v + return s +} + +// SetFormat sets the Format field's value. +func (s *GetIntrospectionSchemaInput) SetFormat(v string) *GetIntrospectionSchemaInput { + s.Format = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchemaResponse +type GetIntrospectionSchemaOutput struct { + _ struct{} `type:"structure" payload:"Schema"` + + // The schema, in GraphQL Schema Definition Language (SDL) format. + // + // For more information, see the GraphQL SDL documentation (http://graphql.org/learn/schema/). + Schema []byte `locationName:"schema" type:"blob"` +} + +// String returns the string representation +func (s GetIntrospectionSchemaOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetIntrospectionSchemaOutput) GoString() string { + return s.String() +} + +// SetSchema sets the Schema field's value. +func (s *GetIntrospectionSchemaOutput) SetSchema(v []byte) *GetIntrospectionSchemaOutput { + s.Schema = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolverRequest +type GetResolverInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The resolver field name. + // + // FieldName is a required field + FieldName *string `location:"uri" locationName:"fieldName" type:"string" required:"true"` + + // The resolver type name. + // + // TypeName is a required field + TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetResolverInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetResolverInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetResolverInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetResolverInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.FieldName == nil { + invalidParams.Add(request.NewErrParamRequired("FieldName")) + } + if s.TypeName == nil { + invalidParams.Add(request.NewErrParamRequired("TypeName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *GetResolverInput) SetApiId(v string) *GetResolverInput { + s.ApiId = &v + return s +} + +// SetFieldName sets the FieldName field's value. +func (s *GetResolverInput) SetFieldName(v string) *GetResolverInput { + s.FieldName = &v + return s +} + +// SetTypeName sets the TypeName field's value. +func (s *GetResolverInput) SetTypeName(v string) *GetResolverInput { + s.TypeName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolverResponse +type GetResolverOutput struct { + _ struct{} `type:"structure"` + + // The Resolver object. + Resolver *Resolver `locationName:"resolver" type:"structure"` +} + +// String returns the string representation +func (s GetResolverOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetResolverOutput) GoString() string { + return s.String() +} + +// SetResolver sets the Resolver field's value. +func (s *GetResolverOutput) SetResolver(v *Resolver) *GetResolverOutput { + s.Resolver = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatusRequest +type GetSchemaCreationStatusInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetSchemaCreationStatusInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetSchemaCreationStatusInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetSchemaCreationStatusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetSchemaCreationStatusInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *GetSchemaCreationStatusInput) SetApiId(v string) *GetSchemaCreationStatusInput { + s.ApiId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatusResponse +type GetSchemaCreationStatusOutput struct { + _ struct{} `type:"structure"` + + // Detailed information about the status of the schema creation operation. + Details *string `locationName:"details" type:"string"` + + // The current state of the schema (PROCESSING, ACTIVE, or DELETING). Once the + // schema is in the ACTIVE state, you can add data. + Status *string `locationName:"status" type:"string" enum:"SchemaStatus"` +} + +// String returns the string representation +func (s GetSchemaCreationStatusOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetSchemaCreationStatusOutput) GoString() string { + return s.String() +} + +// SetDetails sets the Details field's value. +func (s *GetSchemaCreationStatusOutput) SetDetails(v string) *GetSchemaCreationStatusOutput { + s.Details = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetSchemaCreationStatusOutput) SetStatus(v string) *GetSchemaCreationStatusOutput { + s.Status = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetTypeRequest +type GetTypeInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The type format: SDL or JSON. + // + // Format is a required field + Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"` + + // The type name. + // + // TypeName is a required field + TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetTypeInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.Format == nil { + invalidParams.Add(request.NewErrParamRequired("Format")) + } + if s.TypeName == nil { + invalidParams.Add(request.NewErrParamRequired("TypeName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *GetTypeInput) SetApiId(v string) *GetTypeInput { + s.ApiId = &v + return s +} + +// SetFormat sets the Format field's value. +func (s *GetTypeInput) SetFormat(v string) *GetTypeInput { + s.Format = &v + return s +} + +// SetTypeName sets the TypeName field's value. +func (s *GetTypeInput) SetTypeName(v string) *GetTypeInput { + s.TypeName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetTypeResponse +type GetTypeOutput struct { + _ struct{} `type:"structure"` + + // The Type object. + Type *Type `locationName:"type" type:"structure"` +} + +// String returns the string representation +func (s GetTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetTypeOutput) GoString() string { + return s.String() +} + +// SetType sets the Type field's value. +func (s *GetTypeOutput) SetType(v *Type) *GetTypeOutput { + s.Type = v + return s +} + +// Describes a GraphQL API. +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi +type GraphqlApi struct { + _ struct{} `type:"structure"` + + // The API ID. + ApiId *string `locationName:"apiId" type:"string"` + + // The ARN. + Arn *string `locationName:"arn" type:"string"` + + // The authentication type. + AuthenticationType *string `locationName:"authenticationType" type:"string" enum:"AuthenticationType"` + + // The API name. + Name *string `locationName:"name" type:"string"` + + // The URIs. + Uris map[string]*string `locationName:"uris" type:"map"` + + // The Amazon Cognito User Pool configuration. + UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` +} + +// String returns the string representation +func (s GraphqlApi) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GraphqlApi) GoString() string { + return s.String() +} + +// SetApiId sets the ApiId field's value. +func (s *GraphqlApi) SetApiId(v string) *GraphqlApi { + s.ApiId = &v + return s +} + +// SetArn sets the Arn field's value. +func (s *GraphqlApi) SetArn(v string) *GraphqlApi { + s.Arn = &v + return s +} + +// SetAuthenticationType sets the AuthenticationType field's value. +func (s *GraphqlApi) SetAuthenticationType(v string) *GraphqlApi { + s.AuthenticationType = &v + return s +} + +// SetName sets the Name field's value. +func (s *GraphqlApi) SetName(v string) *GraphqlApi { + s.Name = &v + return s +} + +// SetUris sets the Uris field's value. +func (s *GraphqlApi) SetUris(v map[string]*string) *GraphqlApi { + s.Uris = v + return s +} + +// SetUserPoolConfig sets the UserPoolConfig field's value. +func (s *GraphqlApi) SetUserPoolConfig(v *UserPoolConfig) *GraphqlApi { + s.UserPoolConfig = v + return s +} + +// Describes a Lambda data source configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaDataSourceConfig +type LambdaDataSourceConfig struct { + _ struct{} `type:"structure"` + + // The ARN for the Lambda function. + // + // LambdaFunctionArn is a required field + LambdaFunctionArn *string `locationName:"lambdaFunctionArn" type:"string" required:"true"` +} + +// String returns the string representation +func (s LambdaDataSourceConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LambdaDataSourceConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *LambdaDataSourceConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LambdaDataSourceConfig"} + if s.LambdaFunctionArn == nil { + invalidParams.Add(request.NewErrParamRequired("LambdaFunctionArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLambdaFunctionArn sets the LambdaFunctionArn field's value. +func (s *LambdaDataSourceConfig) SetLambdaFunctionArn(v string) *LambdaDataSourceConfig { + s.LambdaFunctionArn = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeysRequest +type ListApiKeysInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The maximum number of results you want the request to return. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListApiKeysInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListApiKeysInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListApiKeysInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListApiKeysInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *ListApiKeysInput) SetApiId(v string) *ListApiKeysInput { + s.ApiId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListApiKeysInput) SetMaxResults(v int64) *ListApiKeysInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListApiKeysInput) SetNextToken(v string) *ListApiKeysInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeysResponse +type ListApiKeysOutput struct { + _ struct{} `type:"structure"` + + // The ApiKey objects. + ApiKeys []*ApiKey `locationName:"apiKeys" type:"list"` + + // An identifier to be passed in the next request to this operation to return + // the next set of items in the list. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListApiKeysOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListApiKeysOutput) GoString() string { + return s.String() +} + +// SetApiKeys sets the ApiKeys field's value. +func (s *ListApiKeysOutput) SetApiKeys(v []*ApiKey) *ListApiKeysOutput { + s.ApiKeys = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListApiKeysOutput) SetNextToken(v string) *ListApiKeysOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSourcesRequest +type ListDataSourcesInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The maximum number of results you want the request to return. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListDataSourcesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListDataSourcesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListDataSourcesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListDataSourcesInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *ListDataSourcesInput) SetApiId(v string) *ListDataSourcesInput { + s.ApiId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListDataSourcesInput) SetMaxResults(v int64) *ListDataSourcesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDataSourcesInput) SetNextToken(v string) *ListDataSourcesInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSourcesResponse +type ListDataSourcesOutput struct { + _ struct{} `type:"structure"` + + // The DataSource objects. + DataSources []*DataSource `locationName:"dataSources" type:"list"` + + // An identifier to be passed in the next request to this operation to return + // the next set of items in the list. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListDataSourcesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListDataSourcesOutput) GoString() string { + return s.String() +} + +// SetDataSources sets the DataSources field's value. +func (s *ListDataSourcesOutput) SetDataSources(v []*DataSource) *ListDataSourcesOutput { + s.DataSources = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDataSourcesOutput) SetNextToken(v string) *ListDataSourcesOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApisRequest +type ListGraphqlApisInput struct { + _ struct{} `type:"structure"` + + // The maximum number of results you want the request to return. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListGraphqlApisInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListGraphqlApisInput) GoString() string { + return s.String() +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListGraphqlApisInput) SetMaxResults(v int64) *ListGraphqlApisInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListGraphqlApisInput) SetNextToken(v string) *ListGraphqlApisInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApisResponse +type ListGraphqlApisOutput struct { + _ struct{} `type:"structure"` + + // The GraphqlApi objects. + GraphqlApis []*GraphqlApi `locationName:"graphqlApis" type:"list"` + + // An identifier to be passed in the next request to this operation to return + // the next set of items in the list. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListGraphqlApisOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListGraphqlApisOutput) GoString() string { + return s.String() +} + +// SetGraphqlApis sets the GraphqlApis field's value. +func (s *ListGraphqlApisOutput) SetGraphqlApis(v []*GraphqlApi) *ListGraphqlApisOutput { + s.GraphqlApis = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListGraphqlApisOutput) SetNextToken(v string) *ListGraphqlApisOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversRequest +type ListResolversInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The maximum number of results you want the request to return. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The type name. + // + // TypeName is a required field + TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` +} + +// String returns the string representation +func (s ListResolversInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListResolversInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListResolversInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListResolversInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.TypeName == nil { + invalidParams.Add(request.NewErrParamRequired("TypeName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *ListResolversInput) SetApiId(v string) *ListResolversInput { + s.ApiId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListResolversInput) SetMaxResults(v int64) *ListResolversInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListResolversInput) SetNextToken(v string) *ListResolversInput { + s.NextToken = &v + return s +} + +// SetTypeName sets the TypeName field's value. +func (s *ListResolversInput) SetTypeName(v string) *ListResolversInput { + s.TypeName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversResponse +type ListResolversOutput struct { + _ struct{} `type:"structure"` + + // An identifier to be passed in the next request to this operation to return + // the next set of items in the list. + NextToken *string `locationName:"nextToken" type:"string"` + + // The Resolver objects. + Resolvers []*Resolver `locationName:"resolvers" type:"list"` +} + +// String returns the string representation +func (s ListResolversOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListResolversOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListResolversOutput) SetNextToken(v string) *ListResolversOutput { + s.NextToken = &v + return s +} + +// SetResolvers sets the Resolvers field's value. +func (s *ListResolversOutput) SetResolvers(v []*Resolver) *ListResolversOutput { + s.Resolvers = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesRequest +type ListTypesInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The type format: SDL or JSON. + // + // Format is a required field + Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"` + + // The maximum number of results you want the request to return. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListTypesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListTypesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTypesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTypesInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.Format == nil { + invalidParams.Add(request.NewErrParamRequired("Format")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *ListTypesInput) SetApiId(v string) *ListTypesInput { + s.ApiId = &v + return s +} + +// SetFormat sets the Format field's value. +func (s *ListTypesInput) SetFormat(v string) *ListTypesInput { + s.Format = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListTypesInput) SetMaxResults(v int64) *ListTypesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTypesInput) SetNextToken(v string) *ListTypesInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesResponse +type ListTypesOutput struct { + _ struct{} `type:"structure"` + + // An identifier to be passed in the next request to this operation to return + // the next set of items in the list. + NextToken *string `locationName:"nextToken" type:"string"` + + // The Type objects. + Types []*Type `locationName:"types" type:"list"` +} + +// String returns the string representation +func (s ListTypesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListTypesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTypesOutput) SetNextToken(v string) *ListTypesOutput { + s.NextToken = &v + return s +} + +// SetTypes sets the Types field's value. +func (s *ListTypesOutput) SetTypes(v []*Type) *ListTypesOutput { + s.Types = v + return s +} + +// Describes a resolver. +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/Resolver +type Resolver struct { + _ struct{} `type:"structure"` + + // The resolver data source name. + DataSourceName *string `locationName:"dataSourceName" type:"string"` + + // The resolver field name. + FieldName *string `locationName:"fieldName" type:"string"` + + // The request mapping template. + RequestMappingTemplate *string `locationName:"requestMappingTemplate" type:"string"` + + // The resolver ARN. + ResolverArn *string `locationName:"resolverArn" type:"string"` + + // The response mapping template. + ResponseMappingTemplate *string `locationName:"responseMappingTemplate" type:"string"` + + // The resolver type name. + TypeName *string `locationName:"typeName" type:"string"` +} + +// String returns the string representation +func (s Resolver) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Resolver) GoString() string { + return s.String() +} + +// SetDataSourceName sets the DataSourceName field's value. +func (s *Resolver) SetDataSourceName(v string) *Resolver { + s.DataSourceName = &v + return s +} + +// SetFieldName sets the FieldName field's value. +func (s *Resolver) SetFieldName(v string) *Resolver { + s.FieldName = &v + return s +} + +// SetRequestMappingTemplate sets the RequestMappingTemplate field's value. +func (s *Resolver) SetRequestMappingTemplate(v string) *Resolver { + s.RequestMappingTemplate = &v + return s +} + +// SetResolverArn sets the ResolverArn field's value. +func (s *Resolver) SetResolverArn(v string) *Resolver { + s.ResolverArn = &v + return s +} + +// SetResponseMappingTemplate sets the ResponseMappingTemplate field's value. +func (s *Resolver) SetResponseMappingTemplate(v string) *Resolver { + s.ResponseMappingTemplate = &v + return s +} + +// SetTypeName sets the TypeName field's value. +func (s *Resolver) SetTypeName(v string) *Resolver { + s.TypeName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreationRequest +type StartSchemaCreationInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The schema definition, in GraphQL schema language format. + // + // Definition is automatically base64 encoded/decoded by the SDK. + // + // Definition is a required field + Definition []byte `locationName:"definition" type:"blob" required:"true"` +} + +// String returns the string representation +func (s StartSchemaCreationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartSchemaCreationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartSchemaCreationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartSchemaCreationInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.Definition == nil { + invalidParams.Add(request.NewErrParamRequired("Definition")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *StartSchemaCreationInput) SetApiId(v string) *StartSchemaCreationInput { + s.ApiId = &v + return s +} + +// SetDefinition sets the Definition field's value. +func (s *StartSchemaCreationInput) SetDefinition(v []byte) *StartSchemaCreationInput { + s.Definition = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreationResponse +type StartSchemaCreationOutput struct { + _ struct{} `type:"structure"` + + // The current state of the schema (PROCESSING, ACTIVE, or DELETING). Once the + // schema is in the ACTIVE state, you can add data. + Status *string `locationName:"status" type:"string" enum:"SchemaStatus"` +} + +// String returns the string representation +func (s StartSchemaCreationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartSchemaCreationOutput) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *StartSchemaCreationOutput) SetStatus(v string) *StartSchemaCreationOutput { + s.Status = &v + return s +} + +// Describes a type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/Type +type Type struct { + _ struct{} `type:"structure"` + + // The type ARN. + Arn *string `locationName:"arn" type:"string"` + + // The type definition. + Definition *string `locationName:"definition" type:"string"` + + // The type description. + Description *string `locationName:"description" type:"string"` + + // The type format: SDL or JSON. + Format *string `locationName:"format" type:"string" enum:"TypeDefinitionFormat"` + + // The type name. + Name *string `locationName:"name" type:"string"` +} + +// String returns the string representation +func (s Type) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Type) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Type) SetArn(v string) *Type { + s.Arn = &v + return s +} + +// SetDefinition sets the Definition field's value. +func (s *Type) SetDefinition(v string) *Type { + s.Definition = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Type) SetDescription(v string) *Type { + s.Description = &v + return s +} + +// SetFormat sets the Format field's value. +func (s *Type) SetFormat(v string) *Type { + s.Format = &v + return s +} + +// SetName sets the Name field's value. +func (s *Type) SetName(v string) *Type { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSourceRequest +type UpdateDataSourceInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The new description for the data source. + Description *string `locationName:"description" type:"string"` + + // The new DynamoDB configuration. + DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` + + // The new Elasticsearch configuration. + ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` + + // The new Lambda configuration. + LambdaConfig *LambdaDataSourceConfig `locationName:"lambdaConfig" type:"structure"` + + // The new name for the data source. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` + + // The new service role ARN for the data source. + ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` + + // The new data source type. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"DataSourceType"` +} + +// String returns the string representation +func (s UpdateDataSourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateDataSourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateDataSourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateDataSourceInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + if s.DynamodbConfig != nil { + if err := s.DynamodbConfig.Validate(); err != nil { + invalidParams.AddNested("DynamodbConfig", err.(request.ErrInvalidParams)) + } + } + if s.ElasticsearchConfig != nil { + if err := s.ElasticsearchConfig.Validate(); err != nil { + invalidParams.AddNested("ElasticsearchConfig", err.(request.ErrInvalidParams)) + } + } + if s.LambdaConfig != nil { + if err := s.LambdaConfig.Validate(); err != nil { + invalidParams.AddNested("LambdaConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *UpdateDataSourceInput) SetApiId(v string) *UpdateDataSourceInput { + s.ApiId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateDataSourceInput) SetDescription(v string) *UpdateDataSourceInput { + s.Description = &v + return s +} + +// SetDynamodbConfig sets the DynamodbConfig field's value. +func (s *UpdateDataSourceInput) SetDynamodbConfig(v *DynamodbDataSourceConfig) *UpdateDataSourceInput { + s.DynamodbConfig = v + return s +} + +// SetElasticsearchConfig sets the ElasticsearchConfig field's value. +func (s *UpdateDataSourceInput) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *UpdateDataSourceInput { + s.ElasticsearchConfig = v + return s +} + +// SetLambdaConfig sets the LambdaConfig field's value. +func (s *UpdateDataSourceInput) SetLambdaConfig(v *LambdaDataSourceConfig) *UpdateDataSourceInput { + s.LambdaConfig = v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateDataSourceInput) SetName(v string) *UpdateDataSourceInput { + s.Name = &v + return s +} + +// SetServiceRoleArn sets the ServiceRoleArn field's value. +func (s *UpdateDataSourceInput) SetServiceRoleArn(v string) *UpdateDataSourceInput { + s.ServiceRoleArn = &v + return s +} + +// SetType sets the Type field's value. +func (s *UpdateDataSourceInput) SetType(v string) *UpdateDataSourceInput { + s.Type = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSourceResponse +type UpdateDataSourceOutput struct { + _ struct{} `type:"structure"` + + // The updated DataSource object. + DataSource *DataSource `locationName:"dataSource" type:"structure"` +} + +// String returns the string representation +func (s UpdateDataSourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateDataSourceOutput) GoString() string { + return s.String() +} + +// SetDataSource sets the DataSource field's value. +func (s *UpdateDataSourceOutput) SetDataSource(v *DataSource) *UpdateDataSourceOutput { + s.DataSource = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiRequest +type UpdateGraphqlApiInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The new authentication type for the GraphqlApi object. + AuthenticationType *string `locationName:"authenticationType" type:"string" enum:"AuthenticationType"` + + // The new name for the GraphqlApi object. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The new Amazon Cognito User Pool configuration for the GraphqlApi object. + UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` +} + +// String returns the string representation +func (s UpdateGraphqlApiInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateGraphqlApiInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateGraphqlApiInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateGraphqlApiInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.UserPoolConfig != nil { + if err := s.UserPoolConfig.Validate(); err != nil { + invalidParams.AddNested("UserPoolConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *UpdateGraphqlApiInput) SetApiId(v string) *UpdateGraphqlApiInput { + s.ApiId = &v + return s +} + +// SetAuthenticationType sets the AuthenticationType field's value. +func (s *UpdateGraphqlApiInput) SetAuthenticationType(v string) *UpdateGraphqlApiInput { + s.AuthenticationType = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateGraphqlApiInput) SetName(v string) *UpdateGraphqlApiInput { + s.Name = &v + return s +} + +// SetUserPoolConfig sets the UserPoolConfig field's value. +func (s *UpdateGraphqlApiInput) SetUserPoolConfig(v *UserPoolConfig) *UpdateGraphqlApiInput { + s.UserPoolConfig = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiResponse +type UpdateGraphqlApiOutput struct { + _ struct{} `type:"structure"` + + // The udpated GraphqlApi object. + GraphqlApi *GraphqlApi `locationName:"graphqlApi" type:"structure"` +} + +// String returns the string representation +func (s UpdateGraphqlApiOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateGraphqlApiOutput) GoString() string { + return s.String() +} + +// SetGraphqlApi sets the GraphqlApi field's value. +func (s *UpdateGraphqlApiOutput) SetGraphqlApi(v *GraphqlApi) *UpdateGraphqlApiOutput { + s.GraphqlApi = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolverRequest +type UpdateResolverInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The new data source name. + // + // DataSourceName is a required field + DataSourceName *string `locationName:"dataSourceName" type:"string" required:"true"` + + // The new field name. + // + // FieldName is a required field + FieldName *string `location:"uri" locationName:"fieldName" type:"string" required:"true"` + + // The new request mapping template. + // + // RequestMappingTemplate is a required field + RequestMappingTemplate *string `locationName:"requestMappingTemplate" type:"string" required:"true"` + + // The new response mapping template. + ResponseMappingTemplate *string `locationName:"responseMappingTemplate" type:"string"` + + // The new type name. + // + // TypeName is a required field + TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateResolverInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateResolverInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateResolverInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateResolverInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.DataSourceName == nil { + invalidParams.Add(request.NewErrParamRequired("DataSourceName")) + } + if s.FieldName == nil { + invalidParams.Add(request.NewErrParamRequired("FieldName")) + } + if s.RequestMappingTemplate == nil { + invalidParams.Add(request.NewErrParamRequired("RequestMappingTemplate")) + } + if s.TypeName == nil { + invalidParams.Add(request.NewErrParamRequired("TypeName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *UpdateResolverInput) SetApiId(v string) *UpdateResolverInput { + s.ApiId = &v + return s +} + +// SetDataSourceName sets the DataSourceName field's value. +func (s *UpdateResolverInput) SetDataSourceName(v string) *UpdateResolverInput { + s.DataSourceName = &v + return s +} + +// SetFieldName sets the FieldName field's value. +func (s *UpdateResolverInput) SetFieldName(v string) *UpdateResolverInput { + s.FieldName = &v + return s +} + +// SetRequestMappingTemplate sets the RequestMappingTemplate field's value. +func (s *UpdateResolverInput) SetRequestMappingTemplate(v string) *UpdateResolverInput { + s.RequestMappingTemplate = &v + return s +} + +// SetResponseMappingTemplate sets the ResponseMappingTemplate field's value. +func (s *UpdateResolverInput) SetResponseMappingTemplate(v string) *UpdateResolverInput { + s.ResponseMappingTemplate = &v + return s +} + +// SetTypeName sets the TypeName field's value. +func (s *UpdateResolverInput) SetTypeName(v string) *UpdateResolverInput { + s.TypeName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolverResponse +type UpdateResolverOutput struct { + _ struct{} `type:"structure"` + + // The updated Resolver object. + Resolver *Resolver `locationName:"resolver" type:"structure"` +} + +// String returns the string representation +func (s UpdateResolverOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateResolverOutput) GoString() string { + return s.String() +} + +// SetResolver sets the Resolver field's value. +func (s *UpdateResolverOutput) SetResolver(v *Resolver) *UpdateResolverOutput { + s.Resolver = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateTypeRequest +type UpdateTypeInput struct { + _ struct{} `type:"structure"` + + // The API ID. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The new definition. + Definition *string `locationName:"definition" type:"string"` + + // The new type format: SDL or JSON. + // + // Format is a required field + Format *string `locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"` + + // The new type name. + // + // TypeName is a required field + TypeName *string `location:"uri" locationName:"typeName" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateTypeInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.Format == nil { + invalidParams.Add(request.NewErrParamRequired("Format")) + } + if s.TypeName == nil { + invalidParams.Add(request.NewErrParamRequired("TypeName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *UpdateTypeInput) SetApiId(v string) *UpdateTypeInput { + s.ApiId = &v + return s +} + +// SetDefinition sets the Definition field's value. +func (s *UpdateTypeInput) SetDefinition(v string) *UpdateTypeInput { + s.Definition = &v + return s +} + +// SetFormat sets the Format field's value. +func (s *UpdateTypeInput) SetFormat(v string) *UpdateTypeInput { + s.Format = &v + return s +} + +// SetTypeName sets the TypeName field's value. +func (s *UpdateTypeInput) SetTypeName(v string) *UpdateTypeInput { + s.TypeName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateTypeResponse +type UpdateTypeOutput struct { + _ struct{} `type:"structure"` + + // The updated Type object. + Type *Type `locationName:"type" type:"structure"` +} + +// String returns the string representation +func (s UpdateTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateTypeOutput) GoString() string { + return s.String() +} + +// SetType sets the Type field's value. +func (s *UpdateTypeOutput) SetType(v *Type) *UpdateTypeOutput { + s.Type = v + return s +} + +// Describes an Amazon Cognito User Pool configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UserPoolConfig +type UserPoolConfig struct { + _ struct{} `type:"structure"` + + // A regular expression for validating the incoming Amazon Cognito User Pool + // app client ID. + AppIdClientRegex *string `locationName:"appIdClientRegex" type:"string"` + + // The AWS region in which the user pool was created. + // + // AwsRegion is a required field + AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` + + // The action that you want your GraphQL API to take when a request that uses + // Amazon Cognito User Pool authentication doesn't match the Amazon Cognito + // User Pool configuration. + // + // DefaultAction is a required field + DefaultAction *string `locationName:"defaultAction" type:"string" required:"true" enum:"DefaultAction"` + + // The user pool ID. + // + // UserPoolId is a required field + UserPoolId *string `locationName:"userPoolId" type:"string" required:"true"` +} + +// String returns the string representation +func (s UserPoolConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UserPoolConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UserPoolConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UserPoolConfig"} + if s.AwsRegion == nil { + invalidParams.Add(request.NewErrParamRequired("AwsRegion")) + } + if s.DefaultAction == nil { + invalidParams.Add(request.NewErrParamRequired("DefaultAction")) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAppIdClientRegex sets the AppIdClientRegex field's value. +func (s *UserPoolConfig) SetAppIdClientRegex(v string) *UserPoolConfig { + s.AppIdClientRegex = &v + return s +} + +// SetAwsRegion sets the AwsRegion field's value. +func (s *UserPoolConfig) SetAwsRegion(v string) *UserPoolConfig { + s.AwsRegion = &v + return s +} + +// SetDefaultAction sets the DefaultAction field's value. +func (s *UserPoolConfig) SetDefaultAction(v string) *UserPoolConfig { + s.DefaultAction = &v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *UserPoolConfig) SetUserPoolId(v string) *UserPoolConfig { + s.UserPoolId = &v + return s +} + +const ( + // AuthenticationTypeApiKey is a AuthenticationType enum value + AuthenticationTypeApiKey = "API_KEY" + + // AuthenticationTypeAwsIam is a AuthenticationType enum value + AuthenticationTypeAwsIam = "AWS_IAM" + + // AuthenticationTypeAmazonCognitoUserPools is a AuthenticationType enum value + AuthenticationTypeAmazonCognitoUserPools = "AMAZON_COGNITO_USER_POOLS" +) + +const ( + // DataSourceTypeAwsLambda is a DataSourceType enum value + DataSourceTypeAwsLambda = "AWS_LAMBDA" + + // DataSourceTypeAmazonDynamodb is a DataSourceType enum value + DataSourceTypeAmazonDynamodb = "AMAZON_DYNAMODB" + + // DataSourceTypeAmazonElasticsearch is a DataSourceType enum value + DataSourceTypeAmazonElasticsearch = "AMAZON_ELASTICSEARCH" +) + +const ( + // DefaultActionAllow is a DefaultAction enum value + DefaultActionAllow = "ALLOW" + + // DefaultActionDeny is a DefaultAction enum value + DefaultActionDeny = "DENY" +) + +const ( + // OutputTypeSdl is a OutputType enum value + OutputTypeSdl = "SDL" + + // OutputTypeJson is a OutputType enum value + OutputTypeJson = "JSON" +) + +const ( + // SchemaStatusProcessing is a SchemaStatus enum value + SchemaStatusProcessing = "PROCESSING" + + // SchemaStatusActive is a SchemaStatus enum value + SchemaStatusActive = "ACTIVE" + + // SchemaStatusDeleting is a SchemaStatus enum value + SchemaStatusDeleting = "DELETING" +) + +const ( + // TypeDefinitionFormatSdl is a TypeDefinitionFormat enum value + TypeDefinitionFormatSdl = "SDL" + + // TypeDefinitionFormatJson is a TypeDefinitionFormat enum value + TypeDefinitionFormatJson = "JSON" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/appsync/doc.go b/vendor/github.com/aws/aws-sdk-go/service/appsync/doc.go new file mode 100644 index 00000000000..2b6bd39070a --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/appsync/doc.go @@ -0,0 +1,29 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package appsync provides the client and types for making API +// requests to AWS AppSync. +// +// AWS AppSync provides API actions for creating and interacting with data sources +// using GraphQL from your application. +// +// See https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25 for more information on this service. +// +// See appsync package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/appsync/ +// +// Using the Client +// +// To contact AWS AppSync with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the AWS AppSync client AppSync for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/appsync/#New +package appsync diff --git a/vendor/github.com/aws/aws-sdk-go/service/appsync/errors.go b/vendor/github.com/aws/aws-sdk-go/service/appsync/errors.go new file mode 100644 index 00000000000..d69bbf0d030 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/appsync/errors.go @@ -0,0 +1,63 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package appsync + +const ( + + // ErrCodeApiKeyLimitExceededException for service response error code + // "ApiKeyLimitExceededException". + // + // The API key exceeded a limit. Try your request again. + ErrCodeApiKeyLimitExceededException = "ApiKeyLimitExceededException" + + // ErrCodeApiLimitExceededException for service response error code + // "ApiLimitExceededException". + // + // The GraphQL API exceeded a limit. Try your request again. + ErrCodeApiLimitExceededException = "ApiLimitExceededException" + + // ErrCodeBadRequestException for service response error code + // "BadRequestException". + // + // The request is not well formed. For example, a value is invalid or a required + // field is missing. Check the field values, and try again. + ErrCodeBadRequestException = "BadRequestException" + + // ErrCodeConcurrentModificationException for service response error code + // "ConcurrentModificationException". + // + // Another modification is being made. That modification must complete before + // you can make your change. + ErrCodeConcurrentModificationException = "ConcurrentModificationException" + + // ErrCodeGraphQLSchemaException for service response error code + // "GraphQLSchemaException". + // + // The GraphQL schema is not valid. + ErrCodeGraphQLSchemaException = "GraphQLSchemaException" + + // ErrCodeInternalFailureException for service response error code + // "InternalFailureException". + // + // An internal AWS AppSync error occurred. Try your request again. + ErrCodeInternalFailureException = "InternalFailureException" + + // ErrCodeLimitExceededException for service response error code + // "LimitExceededException". + // + // The request exceeded a limit. Try your request again. + ErrCodeLimitExceededException = "LimitExceededException" + + // ErrCodeNotFoundException for service response error code + // "NotFoundException". + // + // The resource specified in the request was not found. Check the resource and + // try again. + ErrCodeNotFoundException = "NotFoundException" + + // ErrCodeUnauthorizedException for service response error code + // "UnauthorizedException". + // + // You are not authorized to perform this operation. + ErrCodeUnauthorizedException = "UnauthorizedException" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/appsync/service.go b/vendor/github.com/aws/aws-sdk-go/service/appsync/service.go new file mode 100644 index 00000000000..cdc4698e8e4 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/appsync/service.go @@ -0,0 +1,97 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package appsync + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// AppSync provides the API operation methods for making requests to +// AWS AppSync. See this package's package overview docs +// for details on the service. +// +// AppSync methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type AppSync struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "appsync" // Service endpoint prefix API calls made to. + EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. +) + +// New creates a new instance of the AppSync client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// // Create a AppSync client from just a session. +// svc := appsync.New(mySession) +// +// // Create a AppSync client with additional configuration +// svc := appsync.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *AppSync { + c := p.ClientConfig(EndpointsID, cfgs...) + return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *AppSync { + if len(signingName) == 0 { + signingName = "appsync" + } + svc := &AppSync{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + SigningName: signingName, + SigningRegion: signingRegion, + Endpoint: endpoint, + APIVersion: "2017-07-25", + JSONVersion: "1.1", + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed(restjson.UnmarshalErrorHandler) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a AppSync operation and runs any +// custom request initialization. +func (c *AppSync) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/athena/api.go b/vendor/github.com/aws/aws-sdk-go/service/athena/api.go index 89dd50c12fd..62c8cacff1e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/athena/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/athena/api.go @@ -35,7 +35,7 @@ const opBatchGetNamedQuery = "BatchGetNamedQuery" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetNamedQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetNamedQuery func (c *Athena) BatchGetNamedQueryRequest(input *BatchGetNamedQueryInput) (req *request.Request, output *BatchGetNamedQueryOutput) { op := &request.Operation{ Name: opBatchGetNamedQuery, @@ -78,7 +78,7 @@ func (c *Athena) BatchGetNamedQueryRequest(input *BatchGetNamedQueryInput) (req // Indicates that something is wrong with the input to the request. For example, // a required parameter may be missing or out of range. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetNamedQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetNamedQuery func (c *Athena) BatchGetNamedQuery(input *BatchGetNamedQueryInput) (*BatchGetNamedQueryOutput, error) { req, out := c.BatchGetNamedQueryRequest(input) return out, req.Send() @@ -125,7 +125,7 @@ const opBatchGetQueryExecution = "BatchGetQueryExecution" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetQueryExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetQueryExecution func (c *Athena) BatchGetQueryExecutionRequest(input *BatchGetQueryExecutionInput) (req *request.Request, output *BatchGetQueryExecutionOutput) { op := &request.Operation{ Name: opBatchGetQueryExecution, @@ -166,7 +166,7 @@ func (c *Athena) BatchGetQueryExecutionRequest(input *BatchGetQueryExecutionInpu // Indicates that something is wrong with the input to the request. For example, // a required parameter may be missing or out of range. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetQueryExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetQueryExecution func (c *Athena) BatchGetQueryExecution(input *BatchGetQueryExecutionInput) (*BatchGetQueryExecutionOutput, error) { req, out := c.BatchGetQueryExecutionRequest(input) return out, req.Send() @@ -213,7 +213,7 @@ const opCreateNamedQuery = "CreateNamedQuery" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateNamedQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateNamedQuery func (c *Athena) CreateNamedQueryRequest(input *CreateNamedQueryInput) (req *request.Request, output *CreateNamedQueryOutput) { op := &request.Operation{ Name: opCreateNamedQuery, @@ -254,7 +254,7 @@ func (c *Athena) CreateNamedQueryRequest(input *CreateNamedQueryInput) (req *req // Indicates that something is wrong with the input to the request. For example, // a required parameter may be missing or out of range. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateNamedQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateNamedQuery func (c *Athena) CreateNamedQuery(input *CreateNamedQueryInput) (*CreateNamedQueryOutput, error) { req, out := c.CreateNamedQueryRequest(input) return out, req.Send() @@ -301,7 +301,7 @@ const opDeleteNamedQuery = "DeleteNamedQuery" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteNamedQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteNamedQuery func (c *Athena) DeleteNamedQueryRequest(input *DeleteNamedQueryInput) (req *request.Request, output *DeleteNamedQueryOutput) { op := &request.Operation{ Name: opDeleteNamedQuery, @@ -342,7 +342,7 @@ func (c *Athena) DeleteNamedQueryRequest(input *DeleteNamedQueryInput) (req *req // Indicates that something is wrong with the input to the request. For example, // a required parameter may be missing or out of range. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteNamedQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteNamedQuery func (c *Athena) DeleteNamedQuery(input *DeleteNamedQueryInput) (*DeleteNamedQueryOutput, error) { req, out := c.DeleteNamedQueryRequest(input) return out, req.Send() @@ -389,7 +389,7 @@ const opGetNamedQuery = "GetNamedQuery" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetNamedQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetNamedQuery func (c *Athena) GetNamedQueryRequest(input *GetNamedQueryInput) (req *request.Request, output *GetNamedQueryOutput) { op := &request.Operation{ Name: opGetNamedQuery, @@ -426,7 +426,7 @@ func (c *Athena) GetNamedQueryRequest(input *GetNamedQueryInput) (req *request.R // Indicates that something is wrong with the input to the request. For example, // a required parameter may be missing or out of range. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetNamedQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetNamedQuery func (c *Athena) GetNamedQuery(input *GetNamedQueryInput) (*GetNamedQueryOutput, error) { req, out := c.GetNamedQueryRequest(input) return out, req.Send() @@ -473,7 +473,7 @@ const opGetQueryExecution = "GetQueryExecution" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecution func (c *Athena) GetQueryExecutionRequest(input *GetQueryExecutionInput) (req *request.Request, output *GetQueryExecutionOutput) { op := &request.Operation{ Name: opGetQueryExecution, @@ -511,7 +511,7 @@ func (c *Athena) GetQueryExecutionRequest(input *GetQueryExecutionInput) (req *r // Indicates that something is wrong with the input to the request. For example, // a required parameter may be missing or out of range. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecution func (c *Athena) GetQueryExecution(input *GetQueryExecutionInput) (*GetQueryExecutionOutput, error) { req, out := c.GetQueryExecutionRequest(input) return out, req.Send() @@ -558,7 +558,7 @@ const opGetQueryResults = "GetQueryResults" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryResults +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryResults func (c *Athena) GetQueryResultsRequest(input *GetQueryResultsInput) (req *request.Request, output *GetQueryResultsOutput) { op := &request.Operation{ Name: opGetQueryResults, @@ -603,7 +603,7 @@ func (c *Athena) GetQueryResultsRequest(input *GetQueryResultsInput) (req *reque // Indicates that something is wrong with the input to the request. For example, // a required parameter may be missing or out of range. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryResults +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryResults func (c *Athena) GetQueryResults(input *GetQueryResultsInput) (*GetQueryResultsOutput, error) { req, out := c.GetQueryResultsRequest(input) return out, req.Send() @@ -700,7 +700,7 @@ const opListNamedQueries = "ListNamedQueries" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListNamedQueries +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListNamedQueries func (c *Athena) ListNamedQueriesRequest(input *ListNamedQueriesInput) (req *request.Request, output *ListNamedQueriesOutput) { op := &request.Operation{ Name: opListNamedQueries, @@ -747,7 +747,7 @@ func (c *Athena) ListNamedQueriesRequest(input *ListNamedQueriesInput) (req *req // Indicates that something is wrong with the input to the request. For example, // a required parameter may be missing or out of range. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListNamedQueries +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListNamedQueries func (c *Athena) ListNamedQueries(input *ListNamedQueriesInput) (*ListNamedQueriesOutput, error) { req, out := c.ListNamedQueriesRequest(input) return out, req.Send() @@ -844,7 +844,7 @@ const opListQueryExecutions = "ListQueryExecutions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListQueryExecutions +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListQueryExecutions func (c *Athena) ListQueryExecutionsRequest(input *ListQueryExecutionsInput) (req *request.Request, output *ListQueryExecutionsOutput) { op := &request.Operation{ Name: opListQueryExecutions, @@ -891,7 +891,7 @@ func (c *Athena) ListQueryExecutionsRequest(input *ListQueryExecutionsInput) (re // Indicates that something is wrong with the input to the request. For example, // a required parameter may be missing or out of range. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListQueryExecutions +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListQueryExecutions func (c *Athena) ListQueryExecutions(input *ListQueryExecutionsInput) (*ListQueryExecutionsOutput, error) { req, out := c.ListQueryExecutionsRequest(input) return out, req.Send() @@ -988,7 +988,7 @@ const opStartQueryExecution = "StartQueryExecution" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecution func (c *Athena) StartQueryExecutionRequest(input *StartQueryExecutionInput) (req *request.Request, output *StartQueryExecutionOutput) { op := &request.Operation{ Name: opStartQueryExecution, @@ -1032,7 +1032,7 @@ func (c *Athena) StartQueryExecutionRequest(input *StartQueryExecutionInput) (re // * ErrCodeTooManyRequestsException "TooManyRequestsException" // Indicates that the request was throttled. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecution func (c *Athena) StartQueryExecution(input *StartQueryExecutionInput) (*StartQueryExecutionOutput, error) { req, out := c.StartQueryExecutionRequest(input) return out, req.Send() @@ -1079,7 +1079,7 @@ const opStopQueryExecution = "StopQueryExecution" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StopQueryExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StopQueryExecution func (c *Athena) StopQueryExecutionRequest(input *StopQueryExecutionInput) (req *request.Request, output *StopQueryExecutionOutput) { op := &request.Operation{ Name: opStopQueryExecution, @@ -1120,7 +1120,7 @@ func (c *Athena) StopQueryExecutionRequest(input *StopQueryExecutionInput) (req // Indicates that something is wrong with the input to the request. For example, // a required parameter may be missing or out of range. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StopQueryExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StopQueryExecution func (c *Athena) StopQueryExecution(input *StopQueryExecutionInput) (*StopQueryExecutionOutput, error) { req, out := c.StopQueryExecutionRequest(input) return out, req.Send() @@ -1142,7 +1142,7 @@ func (c *Athena) StopQueryExecutionWithContext(ctx aws.Context, input *StopQuery return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetNamedQueryInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetNamedQueryInput type BatchGetNamedQueryInput struct { _ struct{} `type:"structure"` @@ -1184,7 +1184,7 @@ func (s *BatchGetNamedQueryInput) SetNamedQueryIds(v []*string) *BatchGetNamedQu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetNamedQueryOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetNamedQueryOutput type BatchGetNamedQueryOutput struct { _ struct{} `type:"structure"` @@ -1217,7 +1217,7 @@ func (s *BatchGetNamedQueryOutput) SetUnprocessedNamedQueryIds(v []*UnprocessedN return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetQueryExecutionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetQueryExecutionInput type BatchGetQueryExecutionInput struct { _ struct{} `type:"structure"` @@ -1259,7 +1259,7 @@ func (s *BatchGetQueryExecutionInput) SetQueryExecutionIds(v []*string) *BatchGe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetQueryExecutionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetQueryExecutionOutput type BatchGetQueryExecutionOutput struct { _ struct{} `type:"structure"` @@ -1293,7 +1293,7 @@ func (s *BatchGetQueryExecutionOutput) SetUnprocessedQueryExecutionIds(v []*Unpr } // Information about the columns in a query execution result. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ColumnInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ColumnInfo type ColumnInfo struct { _ struct{} `type:"structure"` @@ -1404,7 +1404,7 @@ func (s *ColumnInfo) SetType(v string) *ColumnInfo { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateNamedQueryInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateNamedQueryInput type CreateNamedQueryInput struct { _ struct{} `type:"structure"` @@ -1511,7 +1511,7 @@ func (s *CreateNamedQueryInput) SetQueryString(v string) *CreateNamedQueryInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateNamedQueryOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateNamedQueryOutput type CreateNamedQueryOutput struct { _ struct{} `type:"structure"` @@ -1536,7 +1536,7 @@ func (s *CreateNamedQueryOutput) SetNamedQueryId(v string) *CreateNamedQueryOutp } // A piece of data (a field in the table). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/Datum +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/Datum type Datum struct { _ struct{} `type:"structure"` @@ -1560,7 +1560,7 @@ func (s *Datum) SetVarCharValue(v string) *Datum { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteNamedQueryInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteNamedQueryInput type DeleteNamedQueryInput struct { _ struct{} `type:"structure"` @@ -1599,7 +1599,7 @@ func (s *DeleteNamedQueryInput) SetNamedQueryId(v string) *DeleteNamedQueryInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteNamedQueryOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteNamedQueryOutput type DeleteNamedQueryOutput struct { _ struct{} `type:"structure"` } @@ -1616,7 +1616,7 @@ func (s DeleteNamedQueryOutput) GoString() string { // If query results are encrypted in Amazon S3, indicates the Amazon S3 encryption // option used. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/EncryptionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/EncryptionConfiguration type EncryptionConfiguration struct { _ struct{} `type:"structure"` @@ -1666,7 +1666,7 @@ func (s *EncryptionConfiguration) SetKmsKey(v string) *EncryptionConfiguration { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetNamedQueryInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetNamedQueryInput type GetNamedQueryInput struct { _ struct{} `type:"structure"` @@ -1705,7 +1705,7 @@ func (s *GetNamedQueryInput) SetNamedQueryId(v string) *GetNamedQueryInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetNamedQueryOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetNamedQueryOutput type GetNamedQueryOutput struct { _ struct{} `type:"structure"` @@ -1729,7 +1729,7 @@ func (s *GetNamedQueryOutput) SetNamedQuery(v *NamedQuery) *GetNamedQueryOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecutionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecutionInput type GetQueryExecutionInput struct { _ struct{} `type:"structure"` @@ -1768,7 +1768,7 @@ func (s *GetQueryExecutionInput) SetQueryExecutionId(v string) *GetQueryExecutio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecutionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecutionOutput type GetQueryExecutionOutput struct { _ struct{} `type:"structure"` @@ -1792,7 +1792,7 @@ func (s *GetQueryExecutionOutput) SetQueryExecution(v *QueryExecution) *GetQuery return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryResultsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryResultsInput type GetQueryResultsInput struct { _ struct{} `type:"structure"` @@ -1850,7 +1850,7 @@ func (s *GetQueryResultsInput) SetQueryExecutionId(v string) *GetQueryResultsInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryResultsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryResultsOutput type GetQueryResultsOutput struct { _ struct{} `type:"structure"` @@ -1883,7 +1883,7 @@ func (s *GetQueryResultsOutput) SetResultSet(v *ResultSet) *GetQueryResultsOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListNamedQueriesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListNamedQueriesInput type ListNamedQueriesInput struct { _ struct{} `type:"structure"` @@ -1917,7 +1917,7 @@ func (s *ListNamedQueriesInput) SetNextToken(v string) *ListNamedQueriesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListNamedQueriesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListNamedQueriesOutput type ListNamedQueriesOutput struct { _ struct{} `type:"structure"` @@ -1950,7 +1950,7 @@ func (s *ListNamedQueriesOutput) SetNextToken(v string) *ListNamedQueriesOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListQueryExecutionsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListQueryExecutionsInput type ListQueryExecutionsInput struct { _ struct{} `type:"structure"` @@ -1984,7 +1984,7 @@ func (s *ListQueryExecutionsInput) SetNextToken(v string) *ListQueryExecutionsIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListQueryExecutionsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListQueryExecutionsOutput type ListQueryExecutionsOutput struct { _ struct{} `type:"structure"` @@ -2019,7 +2019,7 @@ func (s *ListQueryExecutionsOutput) SetQueryExecutionIds(v []*string) *ListQuery // A query, where QueryString is the SQL query statements that comprise the // query. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/NamedQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/NamedQuery type NamedQuery struct { _ struct{} `type:"structure"` @@ -2086,7 +2086,7 @@ func (s *NamedQuery) SetQueryString(v string) *NamedQuery { } // Information about a single instance of a query execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecution type QueryExecution struct { _ struct{} `type:"structure"` @@ -2159,7 +2159,7 @@ func (s *QueryExecution) SetStatus(v *QueryExecutionStatus) *QueryExecution { } // The database in which the query execution occurs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecutionContext +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecutionContext type QueryExecutionContext struct { _ struct{} `type:"structure"` @@ -2198,7 +2198,7 @@ func (s *QueryExecutionContext) SetDatabase(v string) *QueryExecutionContext { // The amount of data scanned during the query execution and the amount of time // that it took to execute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecutionStatistics +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecutionStatistics type QueryExecutionStatistics struct { _ struct{} `type:"structure"` @@ -2233,7 +2233,7 @@ func (s *QueryExecutionStatistics) SetEngineExecutionTimeInMillis(v int64) *Quer // The completion date, current state, submission time, and state change reason // (if applicable) for the query execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecutionStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecutionStatus type QueryExecutionStatus struct { _ struct{} `type:"structure"` @@ -2290,7 +2290,7 @@ func (s *QueryExecutionStatus) SetSubmissionDateTime(v time.Time) *QueryExecutio // The location in Amazon S3 where query results are stored and the encryption // option, if any, used for query results. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ResultConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ResultConfiguration type ResultConfiguration struct { _ struct{} `type:"structure"` @@ -2346,7 +2346,7 @@ func (s *ResultConfiguration) SetOutputLocation(v string) *ResultConfiguration { // The metadata and rows that comprise a query result set. The metadata describes // the column structure and data types. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ResultSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ResultSet type ResultSet struct { _ struct{} `type:"structure"` @@ -2382,7 +2382,7 @@ func (s *ResultSet) SetRows(v []*Row) *ResultSet { // The metadata that describes the column structure and data types of a table // of query results. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ResultSetMetadata +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ResultSetMetadata type ResultSetMetadata struct { _ struct{} `type:"structure"` @@ -2407,7 +2407,7 @@ func (s *ResultSetMetadata) SetColumnInfo(v []*ColumnInfo) *ResultSetMetadata { } // The rows that comprise a query result table. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/Row +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/Row type Row struct { _ struct{} `type:"structure"` @@ -2431,7 +2431,7 @@ func (s *Row) SetData(v []*Datum) *Row { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecutionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecutionInput type StartQueryExecutionInput struct { _ struct{} `type:"structure"` @@ -2526,7 +2526,7 @@ func (s *StartQueryExecutionInput) SetResultConfiguration(v *ResultConfiguration return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecutionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecutionOutput type StartQueryExecutionOutput struct { _ struct{} `type:"structure"` @@ -2550,7 +2550,7 @@ func (s *StartQueryExecutionOutput) SetQueryExecutionId(v string) *StartQueryExe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StopQueryExecutionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StopQueryExecutionInput type StopQueryExecutionInput struct { _ struct{} `type:"structure"` @@ -2589,7 +2589,7 @@ func (s *StopQueryExecutionInput) SetQueryExecutionId(v string) *StopQueryExecut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StopQueryExecutionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StopQueryExecutionOutput type StopQueryExecutionOutput struct { _ struct{} `type:"structure"` } @@ -2605,7 +2605,7 @@ func (s StopQueryExecutionOutput) GoString() string { } // Information about a named query ID that could not be processed. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UnprocessedNamedQueryId +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UnprocessedNamedQueryId type UnprocessedNamedQueryId struct { _ struct{} `type:"structure"` @@ -2650,7 +2650,7 @@ func (s *UnprocessedNamedQueryId) SetNamedQueryId(v string) *UnprocessedNamedQue } // Describes a query execution that failed to process. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UnprocessedQueryExecutionId +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UnprocessedQueryExecutionId type UnprocessedQueryExecutionId struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go b/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go index 761d8ecee8a..10eecf6fc64 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go @@ -38,7 +38,7 @@ const opAttachInstances = "AttachInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstances func (c *AutoScaling) AttachInstancesRequest(input *AttachInstancesInput) (req *request.Request, output *AttachInstancesOutput) { op := &request.Operation{ Name: opAttachInstances, @@ -87,7 +87,7 @@ func (c *AutoScaling) AttachInstancesRequest(input *AttachInstancesInput) (req * // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstances func (c *AutoScaling) AttachInstances(input *AttachInstancesInput) (*AttachInstancesOutput, error) { req, out := c.AttachInstancesRequest(input) return out, req.Send() @@ -134,7 +134,7 @@ const opAttachLoadBalancerTargetGroups = "AttachLoadBalancerTargetGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroups func (c *AutoScaling) AttachLoadBalancerTargetGroupsRequest(input *AttachLoadBalancerTargetGroupsInput) (req *request.Request, output *AttachLoadBalancerTargetGroupsOutput) { op := &request.Operation{ Name: opAttachLoadBalancerTargetGroups, @@ -174,7 +174,7 @@ func (c *AutoScaling) AttachLoadBalancerTargetGroupsRequest(input *AttachLoadBal // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroups func (c *AutoScaling) AttachLoadBalancerTargetGroups(input *AttachLoadBalancerTargetGroupsInput) (*AttachLoadBalancerTargetGroupsOutput, error) { req, out := c.AttachLoadBalancerTargetGroupsRequest(input) return out, req.Send() @@ -221,7 +221,7 @@ const opAttachLoadBalancers = "AttachLoadBalancers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancers +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancers func (c *AutoScaling) AttachLoadBalancersRequest(input *AttachLoadBalancersInput) (req *request.Request, output *AttachLoadBalancersOutput) { op := &request.Operation{ Name: opAttachLoadBalancers, @@ -264,7 +264,7 @@ func (c *AutoScaling) AttachLoadBalancersRequest(input *AttachLoadBalancersInput // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancers +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancers func (c *AutoScaling) AttachLoadBalancers(input *AttachLoadBalancersInput) (*AttachLoadBalancersOutput, error) { req, out := c.AttachLoadBalancersRequest(input) return out, req.Send() @@ -311,7 +311,7 @@ const opCompleteLifecycleAction = "CompleteLifecycleAction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleAction func (c *AutoScaling) CompleteLifecycleActionRequest(input *CompleteLifecycleActionInput) (req *request.Request, output *CompleteLifecycleActionOutput) { op := &request.Operation{ Name: opCompleteLifecycleAction, @@ -366,7 +366,7 @@ func (c *AutoScaling) CompleteLifecycleActionRequest(input *CompleteLifecycleAct // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleAction func (c *AutoScaling) CompleteLifecycleAction(input *CompleteLifecycleActionInput) (*CompleteLifecycleActionOutput, error) { req, out := c.CompleteLifecycleActionRequest(input) return out, req.Send() @@ -413,7 +413,7 @@ const opCreateAutoScalingGroup = "CreateAutoScalingGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup func (c *AutoScaling) CreateAutoScalingGroupRequest(input *CreateAutoScalingGroupInput) (req *request.Request, output *CreateAutoScalingGroupOutput) { op := &request.Operation{ Name: opCreateAutoScalingGroup, @@ -464,7 +464,7 @@ func (c *AutoScaling) CreateAutoScalingGroupRequest(input *CreateAutoScalingGrou // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup func (c *AutoScaling) CreateAutoScalingGroup(input *CreateAutoScalingGroupInput) (*CreateAutoScalingGroupOutput, error) { req, out := c.CreateAutoScalingGroupRequest(input) return out, req.Send() @@ -511,7 +511,7 @@ const opCreateLaunchConfiguration = "CreateLaunchConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfiguration func (c *AutoScaling) CreateLaunchConfigurationRequest(input *CreateLaunchConfigurationInput) (req *request.Request, output *CreateLaunchConfigurationOutput) { op := &request.Operation{ Name: opCreateLaunchConfiguration, @@ -562,7 +562,7 @@ func (c *AutoScaling) CreateLaunchConfigurationRequest(input *CreateLaunchConfig // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfiguration func (c *AutoScaling) CreateLaunchConfiguration(input *CreateLaunchConfigurationInput) (*CreateLaunchConfigurationOutput, error) { req, out := c.CreateLaunchConfigurationRequest(input) return out, req.Send() @@ -609,7 +609,7 @@ const opCreateOrUpdateTags = "CreateOrUpdateTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTags func (c *AutoScaling) CreateOrUpdateTagsRequest(input *CreateOrUpdateTagsInput) (req *request.Request, output *CreateOrUpdateTagsOutput) { op := &request.Operation{ Name: opCreateOrUpdateTags, @@ -662,7 +662,7 @@ func (c *AutoScaling) CreateOrUpdateTagsRequest(input *CreateOrUpdateTagsInput) // * ErrCodeResourceInUseFault "ResourceInUse" // The operation can't be performed because the resource is in use. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTags func (c *AutoScaling) CreateOrUpdateTags(input *CreateOrUpdateTagsInput) (*CreateOrUpdateTagsOutput, error) { req, out := c.CreateOrUpdateTagsRequest(input) return out, req.Send() @@ -709,7 +709,7 @@ const opDeleteAutoScalingGroup = "DeleteAutoScalingGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroup func (c *AutoScaling) DeleteAutoScalingGroupRequest(input *DeleteAutoScalingGroupInput) (req *request.Request, output *DeleteAutoScalingGroupOutput) { op := &request.Operation{ Name: opDeleteAutoScalingGroup, @@ -765,7 +765,7 @@ func (c *AutoScaling) DeleteAutoScalingGroupRequest(input *DeleteAutoScalingGrou // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroup func (c *AutoScaling) DeleteAutoScalingGroup(input *DeleteAutoScalingGroupInput) (*DeleteAutoScalingGroupOutput, error) { req, out := c.DeleteAutoScalingGroupRequest(input) return out, req.Send() @@ -812,7 +812,7 @@ const opDeleteLaunchConfiguration = "DeleteLaunchConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLaunchConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLaunchConfiguration func (c *AutoScaling) DeleteLaunchConfigurationRequest(input *DeleteLaunchConfigurationInput) (req *request.Request, output *DeleteLaunchConfigurationOutput) { op := &request.Operation{ Name: opDeleteLaunchConfiguration, @@ -854,7 +854,7 @@ func (c *AutoScaling) DeleteLaunchConfigurationRequest(input *DeleteLaunchConfig // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLaunchConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLaunchConfiguration func (c *AutoScaling) DeleteLaunchConfiguration(input *DeleteLaunchConfigurationInput) (*DeleteLaunchConfigurationOutput, error) { req, out := c.DeleteLaunchConfigurationRequest(input) return out, req.Send() @@ -901,7 +901,7 @@ const opDeleteLifecycleHook = "DeleteLifecycleHook" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHook +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHook func (c *AutoScaling) DeleteLifecycleHookRequest(input *DeleteLifecycleHookInput) (req *request.Request, output *DeleteLifecycleHookOutput) { op := &request.Operation{ Name: opDeleteLifecycleHook, @@ -937,7 +937,7 @@ func (c *AutoScaling) DeleteLifecycleHookRequest(input *DeleteLifecycleHookInput // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHook +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHook func (c *AutoScaling) DeleteLifecycleHook(input *DeleteLifecycleHookInput) (*DeleteLifecycleHookOutput, error) { req, out := c.DeleteLifecycleHookRequest(input) return out, req.Send() @@ -984,7 +984,7 @@ const opDeleteNotificationConfiguration = "DeleteNotificationConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfiguration func (c *AutoScaling) DeleteNotificationConfigurationRequest(input *DeleteNotificationConfigurationInput) (req *request.Request, output *DeleteNotificationConfigurationOutput) { op := &request.Operation{ Name: opDeleteNotificationConfiguration, @@ -1019,7 +1019,7 @@ func (c *AutoScaling) DeleteNotificationConfigurationRequest(input *DeleteNotifi // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfiguration func (c *AutoScaling) DeleteNotificationConfiguration(input *DeleteNotificationConfigurationInput) (*DeleteNotificationConfigurationOutput, error) { req, out := c.DeleteNotificationConfigurationRequest(input) return out, req.Send() @@ -1066,7 +1066,7 @@ const opDeletePolicy = "DeletePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeletePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeletePolicy func (c *AutoScaling) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Request, output *DeletePolicyOutput) { op := &request.Operation{ Name: opDeletePolicy, @@ -1104,7 +1104,7 @@ func (c *AutoScaling) DeletePolicyRequest(input *DeletePolicyInput) (req *reques // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeletePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeletePolicy func (c *AutoScaling) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error) { req, out := c.DeletePolicyRequest(input) return out, req.Send() @@ -1151,7 +1151,7 @@ const opDeleteScheduledAction = "DeleteScheduledAction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledAction func (c *AutoScaling) DeleteScheduledActionRequest(input *DeleteScheduledActionInput) (req *request.Request, output *DeleteScheduledActionOutput) { op := &request.Operation{ Name: opDeleteScheduledAction, @@ -1186,7 +1186,7 @@ func (c *AutoScaling) DeleteScheduledActionRequest(input *DeleteScheduledActionI // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledAction func (c *AutoScaling) DeleteScheduledAction(input *DeleteScheduledActionInput) (*DeleteScheduledActionOutput, error) { req, out := c.DeleteScheduledActionRequest(input) return out, req.Send() @@ -1233,7 +1233,7 @@ const opDeleteTags = "DeleteTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTags func (c *AutoScaling) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { op := &request.Operation{ Name: opDeleteTags, @@ -1271,7 +1271,7 @@ func (c *AutoScaling) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Re // * ErrCodeResourceInUseFault "ResourceInUse" // The operation can't be performed because the resource is in use. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTags func (c *AutoScaling) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { req, out := c.DeleteTagsRequest(input) return out, req.Send() @@ -1318,7 +1318,7 @@ const opDescribeAccountLimits = "DescribeAccountLimits" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimits func (c *AutoScaling) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (req *request.Request, output *DescribeAccountLimitsOutput) { op := &request.Operation{ Name: opDescribeAccountLimits, @@ -1355,7 +1355,7 @@ func (c *AutoScaling) DescribeAccountLimitsRequest(input *DescribeAccountLimitsI // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimits func (c *AutoScaling) DescribeAccountLimits(input *DescribeAccountLimitsInput) (*DescribeAccountLimitsOutput, error) { req, out := c.DescribeAccountLimitsRequest(input) return out, req.Send() @@ -1402,7 +1402,7 @@ const opDescribeAdjustmentTypes = "DescribeAdjustmentTypes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAdjustmentTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAdjustmentTypes func (c *AutoScaling) DescribeAdjustmentTypesRequest(input *DescribeAdjustmentTypesInput) (req *request.Request, output *DescribeAdjustmentTypesOutput) { op := &request.Operation{ Name: opDescribeAdjustmentTypes, @@ -1435,7 +1435,7 @@ func (c *AutoScaling) DescribeAdjustmentTypesRequest(input *DescribeAdjustmentTy // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAdjustmentTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAdjustmentTypes func (c *AutoScaling) DescribeAdjustmentTypes(input *DescribeAdjustmentTypesInput) (*DescribeAdjustmentTypesOutput, error) { req, out := c.DescribeAdjustmentTypesRequest(input) return out, req.Send() @@ -1482,7 +1482,7 @@ const opDescribeAutoScalingGroups = "DescribeAutoScalingGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingGroups func (c *AutoScaling) DescribeAutoScalingGroupsRequest(input *DescribeAutoScalingGroupsInput) (req *request.Request, output *DescribeAutoScalingGroupsOutput) { op := &request.Operation{ Name: opDescribeAutoScalingGroups, @@ -1524,7 +1524,7 @@ func (c *AutoScaling) DescribeAutoScalingGroupsRequest(input *DescribeAutoScalin // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingGroups func (c *AutoScaling) DescribeAutoScalingGroups(input *DescribeAutoScalingGroupsInput) (*DescribeAutoScalingGroupsOutput, error) { req, out := c.DescribeAutoScalingGroupsRequest(input) return out, req.Send() @@ -1621,7 +1621,7 @@ const opDescribeAutoScalingInstances = "DescribeAutoScalingInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingInstances func (c *AutoScaling) DescribeAutoScalingInstancesRequest(input *DescribeAutoScalingInstancesInput) (req *request.Request, output *DescribeAutoScalingInstancesOutput) { op := &request.Operation{ Name: opDescribeAutoScalingInstances, @@ -1663,7 +1663,7 @@ func (c *AutoScaling) DescribeAutoScalingInstancesRequest(input *DescribeAutoSca // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingInstances func (c *AutoScaling) DescribeAutoScalingInstances(input *DescribeAutoScalingInstancesInput) (*DescribeAutoScalingInstancesOutput, error) { req, out := c.DescribeAutoScalingInstancesRequest(input) return out, req.Send() @@ -1760,7 +1760,7 @@ const opDescribeAutoScalingNotificationTypes = "DescribeAutoScalingNotificationT // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingNotificationTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingNotificationTypes func (c *AutoScaling) DescribeAutoScalingNotificationTypesRequest(input *DescribeAutoScalingNotificationTypesInput) (req *request.Request, output *DescribeAutoScalingNotificationTypesOutput) { op := &request.Operation{ Name: opDescribeAutoScalingNotificationTypes, @@ -1793,7 +1793,7 @@ func (c *AutoScaling) DescribeAutoScalingNotificationTypesRequest(input *Describ // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingNotificationTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingNotificationTypes func (c *AutoScaling) DescribeAutoScalingNotificationTypes(input *DescribeAutoScalingNotificationTypesInput) (*DescribeAutoScalingNotificationTypesOutput, error) { req, out := c.DescribeAutoScalingNotificationTypesRequest(input) return out, req.Send() @@ -1840,7 +1840,7 @@ const opDescribeLaunchConfigurations = "DescribeLaunchConfigurations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLaunchConfigurations +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLaunchConfigurations func (c *AutoScaling) DescribeLaunchConfigurationsRequest(input *DescribeLaunchConfigurationsInput) (req *request.Request, output *DescribeLaunchConfigurationsOutput) { op := &request.Operation{ Name: opDescribeLaunchConfigurations, @@ -1882,7 +1882,7 @@ func (c *AutoScaling) DescribeLaunchConfigurationsRequest(input *DescribeLaunchC // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLaunchConfigurations +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLaunchConfigurations func (c *AutoScaling) DescribeLaunchConfigurations(input *DescribeLaunchConfigurationsInput) (*DescribeLaunchConfigurationsOutput, error) { req, out := c.DescribeLaunchConfigurationsRequest(input) return out, req.Send() @@ -1979,7 +1979,7 @@ const opDescribeLifecycleHookTypes = "DescribeLifecycleHookTypes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypes func (c *AutoScaling) DescribeLifecycleHookTypesRequest(input *DescribeLifecycleHookTypesInput) (req *request.Request, output *DescribeLifecycleHookTypesOutput) { op := &request.Operation{ Name: opDescribeLifecycleHookTypes, @@ -2012,7 +2012,7 @@ func (c *AutoScaling) DescribeLifecycleHookTypesRequest(input *DescribeLifecycle // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypes func (c *AutoScaling) DescribeLifecycleHookTypes(input *DescribeLifecycleHookTypesInput) (*DescribeLifecycleHookTypesOutput, error) { req, out := c.DescribeLifecycleHookTypesRequest(input) return out, req.Send() @@ -2059,7 +2059,7 @@ const opDescribeLifecycleHooks = "DescribeLifecycleHooks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooks +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooks func (c *AutoScaling) DescribeLifecycleHooksRequest(input *DescribeLifecycleHooksInput) (req *request.Request, output *DescribeLifecycleHooksOutput) { op := &request.Operation{ Name: opDescribeLifecycleHooks, @@ -2092,7 +2092,7 @@ func (c *AutoScaling) DescribeLifecycleHooksRequest(input *DescribeLifecycleHook // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooks +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooks func (c *AutoScaling) DescribeLifecycleHooks(input *DescribeLifecycleHooksInput) (*DescribeLifecycleHooksOutput, error) { req, out := c.DescribeLifecycleHooksRequest(input) return out, req.Send() @@ -2139,7 +2139,7 @@ const opDescribeLoadBalancerTargetGroups = "DescribeLoadBalancerTargetGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroups func (c *AutoScaling) DescribeLoadBalancerTargetGroupsRequest(input *DescribeLoadBalancerTargetGroupsInput) (req *request.Request, output *DescribeLoadBalancerTargetGroupsOutput) { op := &request.Operation{ Name: opDescribeLoadBalancerTargetGroups, @@ -2172,7 +2172,7 @@ func (c *AutoScaling) DescribeLoadBalancerTargetGroupsRequest(input *DescribeLoa // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroups func (c *AutoScaling) DescribeLoadBalancerTargetGroups(input *DescribeLoadBalancerTargetGroupsInput) (*DescribeLoadBalancerTargetGroupsOutput, error) { req, out := c.DescribeLoadBalancerTargetGroupsRequest(input) return out, req.Send() @@ -2219,7 +2219,7 @@ const opDescribeLoadBalancers = "DescribeLoadBalancers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancers +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancers func (c *AutoScaling) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) (req *request.Request, output *DescribeLoadBalancersOutput) { op := &request.Operation{ Name: opDescribeLoadBalancers, @@ -2255,7 +2255,7 @@ func (c *AutoScaling) DescribeLoadBalancersRequest(input *DescribeLoadBalancersI // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancers +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancers func (c *AutoScaling) DescribeLoadBalancers(input *DescribeLoadBalancersInput) (*DescribeLoadBalancersOutput, error) { req, out := c.DescribeLoadBalancersRequest(input) return out, req.Send() @@ -2302,7 +2302,7 @@ const opDescribeMetricCollectionTypes = "DescribeMetricCollectionTypes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeMetricCollectionTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeMetricCollectionTypes func (c *AutoScaling) DescribeMetricCollectionTypesRequest(input *DescribeMetricCollectionTypesInput) (req *request.Request, output *DescribeMetricCollectionTypesOutput) { op := &request.Operation{ Name: opDescribeMetricCollectionTypes, @@ -2338,7 +2338,7 @@ func (c *AutoScaling) DescribeMetricCollectionTypesRequest(input *DescribeMetric // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeMetricCollectionTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeMetricCollectionTypes func (c *AutoScaling) DescribeMetricCollectionTypes(input *DescribeMetricCollectionTypesInput) (*DescribeMetricCollectionTypesOutput, error) { req, out := c.DescribeMetricCollectionTypesRequest(input) return out, req.Send() @@ -2385,7 +2385,7 @@ const opDescribeNotificationConfigurations = "DescribeNotificationConfigurations // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurations +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurations func (c *AutoScaling) DescribeNotificationConfigurationsRequest(input *DescribeNotificationConfigurationsInput) (req *request.Request, output *DescribeNotificationConfigurationsOutput) { op := &request.Operation{ Name: opDescribeNotificationConfigurations, @@ -2428,7 +2428,7 @@ func (c *AutoScaling) DescribeNotificationConfigurationsRequest(input *DescribeN // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurations +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurations func (c *AutoScaling) DescribeNotificationConfigurations(input *DescribeNotificationConfigurationsInput) (*DescribeNotificationConfigurationsOutput, error) { req, out := c.DescribeNotificationConfigurationsRequest(input) return out, req.Send() @@ -2525,7 +2525,7 @@ const opDescribePolicies = "DescribePolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribePolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribePolicies func (c *AutoScaling) DescribePoliciesRequest(input *DescribePoliciesInput) (req *request.Request, output *DescribePoliciesOutput) { op := &request.Operation{ Name: opDescribePolicies, @@ -2567,7 +2567,7 @@ func (c *AutoScaling) DescribePoliciesRequest(input *DescribePoliciesInput) (req // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribePolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribePolicies func (c *AutoScaling) DescribePolicies(input *DescribePoliciesInput) (*DescribePoliciesOutput, error) { req, out := c.DescribePoliciesRequest(input) return out, req.Send() @@ -2664,7 +2664,7 @@ const opDescribeScalingActivities = "DescribeScalingActivities" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivities +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivities func (c *AutoScaling) DescribeScalingActivitiesRequest(input *DescribeScalingActivitiesInput) (req *request.Request, output *DescribeScalingActivitiesOutput) { op := &request.Operation{ Name: opDescribeScalingActivities, @@ -2706,7 +2706,7 @@ func (c *AutoScaling) DescribeScalingActivitiesRequest(input *DescribeScalingAct // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivities +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivities func (c *AutoScaling) DescribeScalingActivities(input *DescribeScalingActivitiesInput) (*DescribeScalingActivitiesOutput, error) { req, out := c.DescribeScalingActivitiesRequest(input) return out, req.Send() @@ -2803,7 +2803,7 @@ const opDescribeScalingProcessTypes = "DescribeScalingProcessTypes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingProcessTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingProcessTypes func (c *AutoScaling) DescribeScalingProcessTypesRequest(input *DescribeScalingProcessTypesInput) (req *request.Request, output *DescribeScalingProcessTypesOutput) { op := &request.Operation{ Name: opDescribeScalingProcessTypes, @@ -2836,7 +2836,7 @@ func (c *AutoScaling) DescribeScalingProcessTypesRequest(input *DescribeScalingP // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingProcessTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingProcessTypes func (c *AutoScaling) DescribeScalingProcessTypes(input *DescribeScalingProcessTypesInput) (*DescribeScalingProcessTypesOutput, error) { req, out := c.DescribeScalingProcessTypesRequest(input) return out, req.Send() @@ -2883,7 +2883,7 @@ const opDescribeScheduledActions = "DescribeScheduledActions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScheduledActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScheduledActions func (c *AutoScaling) DescribeScheduledActionsRequest(input *DescribeScheduledActionsInput) (req *request.Request, output *DescribeScheduledActionsOutput) { op := &request.Operation{ Name: opDescribeScheduledActions, @@ -2926,7 +2926,7 @@ func (c *AutoScaling) DescribeScheduledActionsRequest(input *DescribeScheduledAc // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScheduledActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScheduledActions func (c *AutoScaling) DescribeScheduledActions(input *DescribeScheduledActionsInput) (*DescribeScheduledActionsOutput, error) { req, out := c.DescribeScheduledActionsRequest(input) return out, req.Send() @@ -3023,7 +3023,7 @@ const opDescribeTags = "DescribeTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTags func (c *AutoScaling) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { op := &request.Operation{ Name: opDescribeTags, @@ -3074,7 +3074,7 @@ func (c *AutoScaling) DescribeTagsRequest(input *DescribeTagsInput) (req *reques // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTags func (c *AutoScaling) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { req, out := c.DescribeTagsRequest(input) return out, req.Send() @@ -3171,7 +3171,7 @@ const opDescribeTerminationPolicyTypes = "DescribeTerminationPolicyTypes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTerminationPolicyTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTerminationPolicyTypes func (c *AutoScaling) DescribeTerminationPolicyTypesRequest(input *DescribeTerminationPolicyTypesInput) (req *request.Request, output *DescribeTerminationPolicyTypesOutput) { op := &request.Operation{ Name: opDescribeTerminationPolicyTypes, @@ -3204,7 +3204,7 @@ func (c *AutoScaling) DescribeTerminationPolicyTypesRequest(input *DescribeTermi // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTerminationPolicyTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTerminationPolicyTypes func (c *AutoScaling) DescribeTerminationPolicyTypes(input *DescribeTerminationPolicyTypesInput) (*DescribeTerminationPolicyTypesOutput, error) { req, out := c.DescribeTerminationPolicyTypesRequest(input) return out, req.Send() @@ -3251,7 +3251,7 @@ const opDetachInstances = "DetachInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstances func (c *AutoScaling) DetachInstancesRequest(input *DetachInstancesInput) (req *request.Request, output *DetachInstancesOutput) { op := &request.Operation{ Name: opDetachInstances, @@ -3299,7 +3299,7 @@ func (c *AutoScaling) DetachInstancesRequest(input *DetachInstancesInput) (req * // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstances func (c *AutoScaling) DetachInstances(input *DetachInstancesInput) (*DetachInstancesOutput, error) { req, out := c.DetachInstancesRequest(input) return out, req.Send() @@ -3346,7 +3346,7 @@ const opDetachLoadBalancerTargetGroups = "DetachLoadBalancerTargetGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroups func (c *AutoScaling) DetachLoadBalancerTargetGroupsRequest(input *DetachLoadBalancerTargetGroupsInput) (req *request.Request, output *DetachLoadBalancerTargetGroupsOutput) { op := &request.Operation{ Name: opDetachLoadBalancerTargetGroups, @@ -3379,7 +3379,7 @@ func (c *AutoScaling) DetachLoadBalancerTargetGroupsRequest(input *DetachLoadBal // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroups func (c *AutoScaling) DetachLoadBalancerTargetGroups(input *DetachLoadBalancerTargetGroupsInput) (*DetachLoadBalancerTargetGroupsOutput, error) { req, out := c.DetachLoadBalancerTargetGroupsRequest(input) return out, req.Send() @@ -3426,7 +3426,7 @@ const opDetachLoadBalancers = "DetachLoadBalancers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancers +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancers func (c *AutoScaling) DetachLoadBalancersRequest(input *DetachLoadBalancersInput) (req *request.Request, output *DetachLoadBalancersOutput) { op := &request.Operation{ Name: opDetachLoadBalancers, @@ -3468,7 +3468,7 @@ func (c *AutoScaling) DetachLoadBalancersRequest(input *DetachLoadBalancersInput // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancers +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancers func (c *AutoScaling) DetachLoadBalancers(input *DetachLoadBalancersInput) (*DetachLoadBalancersOutput, error) { req, out := c.DetachLoadBalancersRequest(input) return out, req.Send() @@ -3515,7 +3515,7 @@ const opDisableMetricsCollection = "DisableMetricsCollection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollection +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollection func (c *AutoScaling) DisableMetricsCollectionRequest(input *DisableMetricsCollectionInput) (req *request.Request, output *DisableMetricsCollectionOutput) { op := &request.Operation{ Name: opDisableMetricsCollection, @@ -3550,7 +3550,7 @@ func (c *AutoScaling) DisableMetricsCollectionRequest(input *DisableMetricsColle // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollection +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollection func (c *AutoScaling) DisableMetricsCollection(input *DisableMetricsCollectionInput) (*DisableMetricsCollectionOutput, error) { req, out := c.DisableMetricsCollectionRequest(input) return out, req.Send() @@ -3597,7 +3597,7 @@ const opEnableMetricsCollection = "EnableMetricsCollection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollection +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollection func (c *AutoScaling) EnableMetricsCollectionRequest(input *EnableMetricsCollectionInput) (req *request.Request, output *EnableMetricsCollectionOutput) { op := &request.Operation{ Name: opEnableMetricsCollection, @@ -3634,7 +3634,7 @@ func (c *AutoScaling) EnableMetricsCollectionRequest(input *EnableMetricsCollect // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollection +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollection func (c *AutoScaling) EnableMetricsCollection(input *EnableMetricsCollectionInput) (*EnableMetricsCollectionOutput, error) { req, out := c.EnableMetricsCollectionRequest(input) return out, req.Send() @@ -3681,7 +3681,7 @@ const opEnterStandby = "EnterStandby" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandby +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandby func (c *AutoScaling) EnterStandbyRequest(input *EnterStandbyInput) (req *request.Request, output *EnterStandbyOutput) { op := &request.Operation{ Name: opEnterStandby, @@ -3718,7 +3718,7 @@ func (c *AutoScaling) EnterStandbyRequest(input *EnterStandbyInput) (req *reques // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandby +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandby func (c *AutoScaling) EnterStandby(input *EnterStandbyInput) (*EnterStandbyOutput, error) { req, out := c.EnterStandbyRequest(input) return out, req.Send() @@ -3765,7 +3765,7 @@ const opExecutePolicy = "ExecutePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicy func (c *AutoScaling) ExecutePolicyRequest(input *ExecutePolicyInput) (req *request.Request, output *ExecutePolicyOutput) { op := &request.Operation{ Name: opExecutePolicy, @@ -3804,7 +3804,7 @@ func (c *AutoScaling) ExecutePolicyRequest(input *ExecutePolicyInput) (req *requ // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicy func (c *AutoScaling) ExecutePolicy(input *ExecutePolicyInput) (*ExecutePolicyOutput, error) { req, out := c.ExecutePolicyRequest(input) return out, req.Send() @@ -3851,7 +3851,7 @@ const opExitStandby = "ExitStandby" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandby +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandby func (c *AutoScaling) ExitStandbyRequest(input *ExitStandbyInput) (req *request.Request, output *ExitStandbyOutput) { op := &request.Operation{ Name: opExitStandby, @@ -3888,7 +3888,7 @@ func (c *AutoScaling) ExitStandbyRequest(input *ExitStandbyInput) (req *request. // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandby +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandby func (c *AutoScaling) ExitStandby(input *ExitStandbyInput) (*ExitStandbyOutput, error) { req, out := c.ExitStandbyRequest(input) return out, req.Send() @@ -3935,7 +3935,7 @@ const opPutLifecycleHook = "PutLifecycleHook" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHook +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHook func (c *AutoScaling) PutLifecycleHookRequest(input *PutLifecycleHookInput) (req *request.Request, output *PutLifecycleHookOutput) { op := &request.Operation{ Name: opPutLifecycleHook, @@ -4003,7 +4003,7 @@ func (c *AutoScaling) PutLifecycleHookRequest(input *PutLifecycleHookInput) (req // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHook +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHook func (c *AutoScaling) PutLifecycleHook(input *PutLifecycleHookInput) (*PutLifecycleHookOutput, error) { req, out := c.PutLifecycleHookRequest(input) return out, req.Send() @@ -4050,7 +4050,7 @@ const opPutNotificationConfiguration = "PutNotificationConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfiguration func (c *AutoScaling) PutNotificationConfigurationRequest(input *PutNotificationConfigurationInput) (req *request.Request, output *PutNotificationConfigurationOutput) { op := &request.Operation{ Name: opPutNotificationConfiguration, @@ -4098,7 +4098,7 @@ func (c *AutoScaling) PutNotificationConfigurationRequest(input *PutNotification // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfiguration func (c *AutoScaling) PutNotificationConfiguration(input *PutNotificationConfigurationInput) (*PutNotificationConfigurationOutput, error) { req, out := c.PutNotificationConfigurationRequest(input) return out, req.Send() @@ -4145,7 +4145,7 @@ const opPutScalingPolicy = "PutScalingPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScalingPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScalingPolicy func (c *AutoScaling) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req *request.Request, output *PutScalingPolicyOutput) { op := &request.Operation{ Name: opPutScalingPolicy, @@ -4191,7 +4191,7 @@ func (c *AutoScaling) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScalingPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScalingPolicy func (c *AutoScaling) PutScalingPolicy(input *PutScalingPolicyInput) (*PutScalingPolicyOutput, error) { req, out := c.PutScalingPolicyRequest(input) return out, req.Send() @@ -4238,7 +4238,7 @@ const opPutScheduledUpdateGroupAction = "PutScheduledUpdateGroupAction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupAction func (c *AutoScaling) PutScheduledUpdateGroupActionRequest(input *PutScheduledUpdateGroupActionInput) (req *request.Request, output *PutScheduledUpdateGroupActionOutput) { op := &request.Operation{ Name: opPutScheduledUpdateGroupAction, @@ -4287,7 +4287,7 @@ func (c *AutoScaling) PutScheduledUpdateGroupActionRequest(input *PutScheduledUp // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupAction func (c *AutoScaling) PutScheduledUpdateGroupAction(input *PutScheduledUpdateGroupActionInput) (*PutScheduledUpdateGroupActionOutput, error) { req, out := c.PutScheduledUpdateGroupActionRequest(input) return out, req.Send() @@ -4334,7 +4334,7 @@ const opRecordLifecycleActionHeartbeat = "RecordLifecycleActionHeartbeat" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeat +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeat func (c *AutoScaling) RecordLifecycleActionHeartbeatRequest(input *RecordLifecycleActionHeartbeatInput) (req *request.Request, output *RecordLifecycleActionHeartbeatOutput) { op := &request.Operation{ Name: opRecordLifecycleActionHeartbeat, @@ -4390,7 +4390,7 @@ func (c *AutoScaling) RecordLifecycleActionHeartbeatRequest(input *RecordLifecyc // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeat +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeat func (c *AutoScaling) RecordLifecycleActionHeartbeat(input *RecordLifecycleActionHeartbeatInput) (*RecordLifecycleActionHeartbeatOutput, error) { req, out := c.RecordLifecycleActionHeartbeatRequest(input) return out, req.Send() @@ -4437,7 +4437,7 @@ const opResumeProcesses = "ResumeProcesses" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ResumeProcesses +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ResumeProcesses func (c *AutoScaling) ResumeProcessesRequest(input *ScalingProcessQuery) (req *request.Request, output *ResumeProcessesOutput) { op := &request.Operation{ Name: opResumeProcesses, @@ -4480,7 +4480,7 @@ func (c *AutoScaling) ResumeProcessesRequest(input *ScalingProcessQuery) (req *r // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ResumeProcesses +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ResumeProcesses func (c *AutoScaling) ResumeProcesses(input *ScalingProcessQuery) (*ResumeProcessesOutput, error) { req, out := c.ResumeProcessesRequest(input) return out, req.Send() @@ -4527,7 +4527,7 @@ const opSetDesiredCapacity = "SetDesiredCapacity" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacity +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacity func (c *AutoScaling) SetDesiredCapacityRequest(input *SetDesiredCapacityInput) (req *request.Request, output *SetDesiredCapacityOutput) { op := &request.Operation{ Name: opSetDesiredCapacity, @@ -4569,7 +4569,7 @@ func (c *AutoScaling) SetDesiredCapacityRequest(input *SetDesiredCapacityInput) // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacity +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacity func (c *AutoScaling) SetDesiredCapacity(input *SetDesiredCapacityInput) (*SetDesiredCapacityOutput, error) { req, out := c.SetDesiredCapacityRequest(input) return out, req.Send() @@ -4616,7 +4616,7 @@ const opSetInstanceHealth = "SetInstanceHealth" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealth +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealth func (c *AutoScaling) SetInstanceHealthRequest(input *SetInstanceHealthInput) (req *request.Request, output *SetInstanceHealthOutput) { op := &request.Operation{ Name: opSetInstanceHealth, @@ -4654,7 +4654,7 @@ func (c *AutoScaling) SetInstanceHealthRequest(input *SetInstanceHealthInput) (r // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealth +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealth func (c *AutoScaling) SetInstanceHealth(input *SetInstanceHealthInput) (*SetInstanceHealthOutput, error) { req, out := c.SetInstanceHealthRequest(input) return out, req.Send() @@ -4701,7 +4701,7 @@ const opSetInstanceProtection = "SetInstanceProtection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtection +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtection func (c *AutoScaling) SetInstanceProtectionRequest(input *SetInstanceProtectionInput) (req *request.Request, output *SetInstanceProtectionOutput) { op := &request.Operation{ Name: opSetInstanceProtection, @@ -4742,7 +4742,7 @@ func (c *AutoScaling) SetInstanceProtectionRequest(input *SetInstanceProtectionI // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtection +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtection func (c *AutoScaling) SetInstanceProtection(input *SetInstanceProtectionInput) (*SetInstanceProtectionOutput, error) { req, out := c.SetInstanceProtectionRequest(input) return out, req.Send() @@ -4789,7 +4789,7 @@ const opSuspendProcesses = "SuspendProcesses" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SuspendProcesses +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SuspendProcesses func (c *AutoScaling) SuspendProcessesRequest(input *ScalingProcessQuery) (req *request.Request, output *SuspendProcessesOutput) { op := &request.Operation{ Name: opSuspendProcesses, @@ -4837,7 +4837,7 @@ func (c *AutoScaling) SuspendProcessesRequest(input *ScalingProcessQuery) (req * // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SuspendProcesses +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SuspendProcesses func (c *AutoScaling) SuspendProcesses(input *ScalingProcessQuery) (*SuspendProcessesOutput, error) { req, out := c.SuspendProcessesRequest(input) return out, req.Send() @@ -4884,7 +4884,7 @@ const opTerminateInstanceInAutoScalingGroup = "TerminateInstanceInAutoScalingGro // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TerminateInstanceInAutoScalingGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TerminateInstanceInAutoScalingGroup func (c *AutoScaling) TerminateInstanceInAutoScalingGroupRequest(input *TerminateInstanceInAutoScalingGroupInput) (req *request.Request, output *TerminateInstanceInAutoScalingGroupOutput) { op := &request.Operation{ Name: opTerminateInstanceInAutoScalingGroup, @@ -4925,7 +4925,7 @@ func (c *AutoScaling) TerminateInstanceInAutoScalingGroupRequest(input *Terminat // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TerminateInstanceInAutoScalingGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TerminateInstanceInAutoScalingGroup func (c *AutoScaling) TerminateInstanceInAutoScalingGroup(input *TerminateInstanceInAutoScalingGroupInput) (*TerminateInstanceInAutoScalingGroupOutput, error) { req, out := c.TerminateInstanceInAutoScalingGroupRequest(input) return out, req.Send() @@ -4972,7 +4972,7 @@ const opUpdateAutoScalingGroup = "UpdateAutoScalingGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup func (c *AutoScaling) UpdateAutoScalingGroupRequest(input *UpdateAutoScalingGroupInput) (req *request.Request, output *UpdateAutoScalingGroupOutput) { op := &request.Operation{ Name: opUpdateAutoScalingGroup, @@ -5033,7 +5033,7 @@ func (c *AutoScaling) UpdateAutoScalingGroupRequest(input *UpdateAutoScalingGrou // You already have a pending update to an Auto Scaling resource (for example, // a group, instance, or load balancer). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup func (c *AutoScaling) UpdateAutoScalingGroup(input *UpdateAutoScalingGroupInput) (*UpdateAutoScalingGroupOutput, error) { req, out := c.UpdateAutoScalingGroupRequest(input) return out, req.Send() @@ -5058,7 +5058,7 @@ func (c *AutoScaling) UpdateAutoScalingGroupWithContext(ctx aws.Context, input * // Describes scaling activity, which is a long-running process that represents // a change to your Auto Scaling group, such as changing its size or replacing // an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Activity +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Activity type Activity struct { _ struct{} `type:"structure"` @@ -5177,7 +5177,7 @@ func (s *Activity) SetStatusMessage(v string) *Activity { // // For more information, see Dynamic Scaling (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-scale-based-on-demand.html) // in the Auto Scaling User Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AdjustmentType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AdjustmentType type AdjustmentType struct { _ struct{} `type:"structure"` @@ -5203,7 +5203,7 @@ func (s *AdjustmentType) SetAdjustmentType(v string) *AdjustmentType { } // Describes an alarm. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Alarm +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Alarm type Alarm struct { _ struct{} `type:"structure"` @@ -5236,11 +5236,11 @@ func (s *Alarm) SetAlarmName(v string) *Alarm { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstancesQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstancesQuery type AttachInstancesInput struct { _ struct{} `type:"structure"` - // The name of the group. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -5287,7 +5287,7 @@ func (s *AttachInstancesInput) SetInstanceIds(v []*string) *AttachInstancesInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstancesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstancesOutput type AttachInstancesOutput struct { _ struct{} `type:"structure"` } @@ -5302,7 +5302,7 @@ func (s AttachInstancesOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroupsType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroupsType type AttachLoadBalancerTargetGroupsInput struct { _ struct{} `type:"structure"` @@ -5358,7 +5358,7 @@ func (s *AttachLoadBalancerTargetGroupsInput) SetTargetGroupARNs(v []*string) *A return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroupsResultType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroupsResultType type AttachLoadBalancerTargetGroupsOutput struct { _ struct{} `type:"structure"` } @@ -5373,11 +5373,11 @@ func (s AttachLoadBalancerTargetGroupsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancersType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancersType type AttachLoadBalancersInput struct { _ struct{} `type:"structure"` - // The name of the group. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -5429,7 +5429,7 @@ func (s *AttachLoadBalancersInput) SetLoadBalancerNames(v []*string) *AttachLoad return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancersResultType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancersResultType type AttachLoadBalancersOutput struct { _ struct{} `type:"structure"` } @@ -5445,7 +5445,7 @@ func (s AttachLoadBalancersOutput) GoString() string { } // Describes a block device mapping. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BlockDeviceMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BlockDeviceMapping type BlockDeviceMapping struct { _ struct{} `type:"structure"` @@ -5526,11 +5526,11 @@ func (s *BlockDeviceMapping) SetVirtualName(v string) *BlockDeviceMapping { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionType type CompleteLifecycleActionInput struct { _ struct{} `type:"structure"` - // The name of the group for the lifecycle hook. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -5626,7 +5626,7 @@ func (s *CompleteLifecycleActionInput) SetLifecycleHookName(v string) *CompleteL return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionAnswer type CompleteLifecycleActionOutput struct { _ struct{} `type:"structure"` } @@ -5641,12 +5641,12 @@ func (s CompleteLifecycleActionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType type CreateAutoScalingGroupInput struct { _ struct{} `type:"structure"` - // The name of the group. This name must be unique within the scope of your - // AWS account. + // The name of the Auto Scaling group. This name must be unique within the scope + // of your AWS account. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -5687,7 +5687,8 @@ type CreateAutoScalingGroupInput struct { HealthCheckType *string `min:"1" type:"string"` // The ID of the instance used to create a launch configuration for the group. - // Alternatively, specify a launch configuration instead of an EC2 instance. + // You must specify one of the following: an EC2 instance, a launch configuration, + // or a launch template. // // When you specify an ID of an instance, Auto Scaling creates a new launch // configuration and associates it with the group. This launch configuration @@ -5699,10 +5700,14 @@ type CreateAutoScalingGroupInput struct { // in the Auto Scaling User Guide. InstanceId *string `min:"1" type:"string"` - // The name of the launch configuration. Alternatively, specify an EC2 instance - // instead of a launch configuration. + // The name of the launch configuration. You must specify one of the following: + // a launch configuration, a launch template, or an EC2 instance. LaunchConfigurationName *string `min:"1" type:"string"` + // The launch template to use to launch instances. You must specify one of the + // following: a launch template, a launch configuration, or an EC2 instance. + LaunchTemplate *LaunchTemplateSpecification `type:"structure"` + // One or more lifecycle hooks. LifecycleHookSpecificationList []*LifecycleHookSpecification `type:"list"` @@ -5804,6 +5809,11 @@ func (s *CreateAutoScalingGroupInput) Validate() error { if s.VPCZoneIdentifier != nil && len(*s.VPCZoneIdentifier) < 1 { invalidParams.Add(request.NewErrParamMinLen("VPCZoneIdentifier", 1)) } + if s.LaunchTemplate != nil { + if err := s.LaunchTemplate.Validate(); err != nil { + invalidParams.AddNested("LaunchTemplate", err.(request.ErrInvalidParams)) + } + } if s.LifecycleHookSpecificationList != nil { for i, v := range s.LifecycleHookSpecificationList { if v == nil { @@ -5879,6 +5889,12 @@ func (s *CreateAutoScalingGroupInput) SetLaunchConfigurationName(v string) *Crea return s } +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *CreateAutoScalingGroupInput) SetLaunchTemplate(v *LaunchTemplateSpecification) *CreateAutoScalingGroupInput { + s.LaunchTemplate = v + return s +} + // SetLifecycleHookSpecificationList sets the LifecycleHookSpecificationList field's value. func (s *CreateAutoScalingGroupInput) SetLifecycleHookSpecificationList(v []*LifecycleHookSpecification) *CreateAutoScalingGroupInput { s.LifecycleHookSpecificationList = v @@ -5939,7 +5955,7 @@ func (s *CreateAutoScalingGroupInput) SetVPCZoneIdentifier(v string) *CreateAuto return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupOutput type CreateAutoScalingGroupOutput struct { _ struct{} `type:"structure"` } @@ -5954,7 +5970,7 @@ func (s CreateAutoScalingGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfigurationType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfigurationType type CreateLaunchConfigurationInput struct { _ struct{} `type:"structure"` @@ -6276,7 +6292,7 @@ func (s *CreateLaunchConfigurationInput) SetUserData(v string) *CreateLaunchConf return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfigurationOutput type CreateLaunchConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -6291,7 +6307,7 @@ func (s CreateLaunchConfigurationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTagsType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTagsType type CreateOrUpdateTagsInput struct { _ struct{} `type:"structure"` @@ -6340,7 +6356,7 @@ func (s *CreateOrUpdateTagsInput) SetTags(v []*Tag) *CreateOrUpdateTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTagsOutput type CreateOrUpdateTagsOutput struct { _ struct{} `type:"structure"` } @@ -6356,7 +6372,7 @@ func (s CreateOrUpdateTagsOutput) GoString() string { } // Configures a customized metric for a target tracking policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CustomizedMetricSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CustomizedMetricSpecification type CustomizedMetricSpecification struct { _ struct{} `type:"structure"` @@ -6451,11 +6467,11 @@ func (s *CustomizedMetricSpecification) SetUnit(v string) *CustomizedMetricSpeci return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroupType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroupType type DeleteAutoScalingGroupInput struct { _ struct{} `type:"structure"` - // The name of the group to delete. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -6504,7 +6520,7 @@ func (s *DeleteAutoScalingGroupInput) SetForceDelete(v bool) *DeleteAutoScalingG return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroupOutput type DeleteAutoScalingGroupOutput struct { _ struct{} `type:"structure"` } @@ -6519,7 +6535,7 @@ func (s DeleteAutoScalingGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationNameType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationNameType type DeleteLaunchConfigurationInput struct { _ struct{} `type:"structure"` @@ -6561,7 +6577,7 @@ func (s *DeleteLaunchConfigurationInput) SetLaunchConfigurationName(v string) *D return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLaunchConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLaunchConfigurationOutput type DeleteLaunchConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -6576,11 +6592,11 @@ func (s DeleteLaunchConfigurationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHookType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHookType type DeleteLifecycleHookInput struct { _ struct{} `type:"structure"` - // The name of the Auto Scaling group for the lifecycle hook. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -6635,7 +6651,7 @@ func (s *DeleteLifecycleHookInput) SetLifecycleHookName(v string) *DeleteLifecyc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHookAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHookAnswer type DeleteLifecycleHookOutput struct { _ struct{} `type:"structure"` } @@ -6650,7 +6666,7 @@ func (s DeleteLifecycleHookOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfigurationType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfigurationType type DeleteNotificationConfigurationInput struct { _ struct{} `type:"structure"` @@ -6710,7 +6726,7 @@ func (s *DeleteNotificationConfigurationInput) SetTopicARN(v string) *DeleteNoti return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfigurationOutput type DeleteNotificationConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -6725,7 +6741,7 @@ func (s DeleteNotificationConfigurationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeletePolicyType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeletePolicyType type DeletePolicyInput struct { _ struct{} `type:"structure"` @@ -6779,7 +6795,7 @@ func (s *DeletePolicyInput) SetPolicyName(v string) *DeletePolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeletePolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeletePolicyOutput type DeletePolicyOutput struct { _ struct{} `type:"structure"` } @@ -6794,7 +6810,7 @@ func (s DeletePolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledActionType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledActionType type DeleteScheduledActionInput struct { _ struct{} `type:"structure"` @@ -6853,7 +6869,7 @@ func (s *DeleteScheduledActionInput) SetScheduledActionName(v string) *DeleteSch return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledActionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledActionOutput type DeleteScheduledActionOutput struct { _ struct{} `type:"structure"` } @@ -6868,7 +6884,7 @@ func (s DeleteScheduledActionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTagsType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTagsType type DeleteTagsInput struct { _ struct{} `type:"structure"` @@ -6917,7 +6933,7 @@ func (s *DeleteTagsInput) SetTags(v []*Tag) *DeleteTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTagsOutput type DeleteTagsOutput struct { _ struct{} `type:"structure"` } @@ -6932,7 +6948,7 @@ func (s DeleteTagsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimitsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimitsInput type DescribeAccountLimitsInput struct { _ struct{} `type:"structure"` } @@ -6947,7 +6963,7 @@ func (s DescribeAccountLimitsInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimitsAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimitsAnswer type DescribeAccountLimitsOutput struct { _ struct{} `type:"structure"` @@ -7000,7 +7016,7 @@ func (s *DescribeAccountLimitsOutput) SetNumberOfLaunchConfigurations(v int64) * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAdjustmentTypesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAdjustmentTypesInput type DescribeAdjustmentTypesInput struct { _ struct{} `type:"structure"` } @@ -7015,7 +7031,7 @@ func (s DescribeAdjustmentTypesInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAdjustmentTypesAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAdjustmentTypesAnswer type DescribeAdjustmentTypesOutput struct { _ struct{} `type:"structure"` @@ -7039,12 +7055,12 @@ func (s *DescribeAdjustmentTypesOutput) SetAdjustmentTypes(v []*AdjustmentType) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/GroupNamesType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/GroupNamesType type DescribeAutoScalingGroupsInput struct { _ struct{} `type:"structure"` - // The group names. If you omit this parameter, all Auto Scaling groups are - // described. + // The names of the Auto Scaling groups. If you omit this parameter, all Auto + // Scaling groups are described. AutoScalingGroupNames []*string `type:"list"` // The maximum number of items to return with this call. The default value is @@ -7084,7 +7100,7 @@ func (s *DescribeAutoScalingGroupsInput) SetNextToken(v string) *DescribeAutoSca return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/GroupsType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/GroupsType type DescribeAutoScalingGroupsOutput struct { _ struct{} `type:"structure"` @@ -7120,7 +7136,7 @@ func (s *DescribeAutoScalingGroupsOutput) SetNextToken(v string) *DescribeAutoSc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingInstancesType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingInstancesType type DescribeAutoScalingInstancesInput struct { _ struct{} `type:"structure"` @@ -7166,7 +7182,7 @@ func (s *DescribeAutoScalingInstancesInput) SetNextToken(v string) *DescribeAuto return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstancesType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstancesType type DescribeAutoScalingInstancesOutput struct { _ struct{} `type:"structure"` @@ -7200,7 +7216,7 @@ func (s *DescribeAutoScalingInstancesOutput) SetNextToken(v string) *DescribeAut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingNotificationTypesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingNotificationTypesInput type DescribeAutoScalingNotificationTypesInput struct { _ struct{} `type:"structure"` } @@ -7215,7 +7231,7 @@ func (s DescribeAutoScalingNotificationTypesInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingNotificationTypesAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingNotificationTypesAnswer type DescribeAutoScalingNotificationTypesOutput struct { _ struct{} `type:"structure"` @@ -7239,7 +7255,7 @@ func (s *DescribeAutoScalingNotificationTypesOutput) SetAutoScalingNotificationT return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationNamesType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationNamesType type DescribeLaunchConfigurationsInput struct { _ struct{} `type:"structure"` @@ -7284,7 +7300,7 @@ func (s *DescribeLaunchConfigurationsInput) SetNextToken(v string) *DescribeLaun return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationsType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationsType type DescribeLaunchConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -7320,7 +7336,7 @@ func (s *DescribeLaunchConfigurationsOutput) SetNextToken(v string) *DescribeLau return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypesInput type DescribeLifecycleHookTypesInput struct { _ struct{} `type:"structure"` } @@ -7335,7 +7351,7 @@ func (s DescribeLifecycleHookTypesInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypesAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypesAnswer type DescribeLifecycleHookTypesOutput struct { _ struct{} `type:"structure"` @@ -7359,11 +7375,11 @@ func (s *DescribeLifecycleHookTypesOutput) SetLifecycleHookTypes(v []*string) *D return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooksType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooksType type DescribeLifecycleHooksInput struct { _ struct{} `type:"structure"` - // The name of the group. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -7411,7 +7427,7 @@ func (s *DescribeLifecycleHooksInput) SetLifecycleHookNames(v []*string) *Descri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooksAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooksAnswer type DescribeLifecycleHooksOutput struct { _ struct{} `type:"structure"` @@ -7435,7 +7451,7 @@ func (s *DescribeLifecycleHooksOutput) SetLifecycleHooks(v []*LifecycleHook) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroupsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroupsRequest type DescribeLoadBalancerTargetGroupsInput struct { _ struct{} `type:"structure"` @@ -7497,7 +7513,7 @@ func (s *DescribeLoadBalancerTargetGroupsInput) SetNextToken(v string) *Describe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroupsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroupsResponse type DescribeLoadBalancerTargetGroupsOutput struct { _ struct{} `type:"structure"` @@ -7531,11 +7547,11 @@ func (s *DescribeLoadBalancerTargetGroupsOutput) SetNextToken(v string) *Describ return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancersRequest type DescribeLoadBalancersInput struct { _ struct{} `type:"structure"` - // The name of the group. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -7593,7 +7609,7 @@ func (s *DescribeLoadBalancersInput) SetNextToken(v string) *DescribeLoadBalance return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancersResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancersResponse type DescribeLoadBalancersOutput struct { _ struct{} `type:"structure"` @@ -7627,7 +7643,7 @@ func (s *DescribeLoadBalancersOutput) SetNextToken(v string) *DescribeLoadBalanc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeMetricCollectionTypesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeMetricCollectionTypesInput type DescribeMetricCollectionTypesInput struct { _ struct{} `type:"structure"` } @@ -7642,7 +7658,7 @@ func (s DescribeMetricCollectionTypesInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeMetricCollectionTypesAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeMetricCollectionTypesAnswer type DescribeMetricCollectionTypesOutput struct { _ struct{} `type:"structure"` @@ -7675,11 +7691,11 @@ func (s *DescribeMetricCollectionTypesOutput) SetMetrics(v []*MetricCollectionTy return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurationsType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurationsType type DescribeNotificationConfigurationsInput struct { _ struct{} `type:"structure"` - // The name of the group. + // The name of the Auto Scaling group. AutoScalingGroupNames []*string `type:"list"` // The maximum number of items to return with this call. The default value is @@ -7719,7 +7735,7 @@ func (s *DescribeNotificationConfigurationsInput) SetNextToken(v string) *Descri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurationsAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurationsAnswer type DescribeNotificationConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -7755,11 +7771,11 @@ func (s *DescribeNotificationConfigurationsOutput) SetNotificationConfigurations return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribePoliciesType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribePoliciesType type DescribePoliciesInput struct { _ struct{} `type:"structure"` - // The name of the group. + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string"` // The maximum number of items to be returned with each call. The default value @@ -7770,10 +7786,10 @@ type DescribePoliciesInput struct { // a previous call.) NextToken *string `type:"string"` - // One or more policy names or policy ARNs to be described. If you omit this - // parameter, all policy names are described. If an group name is provided, - // the results are limited to that group. This list is limited to 50 items. - // If you specify an unknown policy name, it is ignored with no error. + // The names of one or more policies. If you omit this parameter, all policies + // are described. If an group name is provided, the results are limited to that + // group. This list is limited to 50 items. If you specify an unknown policy + // name, it is ignored with no error. PolicyNames []*string `type:"list"` // One or more policy types. Valid values are SimpleScaling and StepScaling. @@ -7833,7 +7849,7 @@ func (s *DescribePoliciesInput) SetPolicyTypes(v []*string) *DescribePoliciesInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PoliciesType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PoliciesType type DescribePoliciesOutput struct { _ struct{} `type:"structure"` @@ -7867,7 +7883,7 @@ func (s *DescribePoliciesOutput) SetScalingPolicies(v []*ScalingPolicy) *Describ return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivitiesType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivitiesType type DescribeScalingActivitiesInput struct { _ struct{} `type:"structure"` @@ -7878,7 +7894,7 @@ type DescribeScalingActivitiesInput struct { // they are ignored with no error. ActivityIds []*string `type:"list"` - // The name of the group. + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string"` // The maximum number of items to return with this call. The default value is @@ -7937,7 +7953,7 @@ func (s *DescribeScalingActivitiesInput) SetNextToken(v string) *DescribeScaling return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ActivitiesType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ActivitiesType type DescribeScalingActivitiesOutput struct { _ struct{} `type:"structure"` @@ -7974,7 +7990,7 @@ func (s *DescribeScalingActivitiesOutput) SetNextToken(v string) *DescribeScalin return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingProcessTypesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingProcessTypesInput type DescribeScalingProcessTypesInput struct { _ struct{} `type:"structure"` } @@ -7989,7 +8005,7 @@ func (s DescribeScalingProcessTypesInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ProcessesType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ProcessesType type DescribeScalingProcessTypesOutput struct { _ struct{} `type:"structure"` @@ -8013,11 +8029,11 @@ func (s *DescribeScalingProcessTypesOutput) SetProcesses(v []*ProcessType) *Desc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScheduledActionsType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScheduledActionsType type DescribeScheduledActionsInput struct { _ struct{} `type:"structure"` - // The name of the group. + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string"` // The latest scheduled start time to return. If scheduled action names are @@ -8105,7 +8121,7 @@ func (s *DescribeScheduledActionsInput) SetStartTime(v time.Time) *DescribeSched return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScheduledActionsType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScheduledActionsType type DescribeScheduledActionsOutput struct { _ struct{} `type:"structure"` @@ -8139,7 +8155,7 @@ func (s *DescribeScheduledActionsOutput) SetScheduledUpdateGroupActions(v []*Sch return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTagsType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTagsType type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -8183,7 +8199,7 @@ func (s *DescribeTagsInput) SetNextToken(v string) *DescribeTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TagsType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TagsType type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -8217,7 +8233,7 @@ func (s *DescribeTagsOutput) SetTags(v []*TagDescription) *DescribeTagsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTerminationPolicyTypesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTerminationPolicyTypesInput type DescribeTerminationPolicyTypesInput struct { _ struct{} `type:"structure"` } @@ -8232,7 +8248,7 @@ func (s DescribeTerminationPolicyTypesInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTerminationPolicyTypesAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTerminationPolicyTypesAnswer type DescribeTerminationPolicyTypesOutput struct { _ struct{} `type:"structure"` @@ -8257,11 +8273,11 @@ func (s *DescribeTerminationPolicyTypesOutput) SetTerminationPolicyTypes(v []*st return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstancesQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstancesQuery type DetachInstancesInput struct { _ struct{} `type:"structure"` - // The name of the group. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -8323,7 +8339,7 @@ func (s *DetachInstancesInput) SetShouldDecrementDesiredCapacity(v bool) *Detach return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstancesAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstancesAnswer type DetachInstancesOutput struct { _ struct{} `type:"structure"` @@ -8347,7 +8363,7 @@ func (s *DetachInstancesOutput) SetActivities(v []*Activity) *DetachInstancesOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroupsType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroupsType type DetachLoadBalancerTargetGroupsInput struct { _ struct{} `type:"structure"` @@ -8403,7 +8419,7 @@ func (s *DetachLoadBalancerTargetGroupsInput) SetTargetGroupARNs(v []*string) *D return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroupsResultType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroupsResultType type DetachLoadBalancerTargetGroupsOutput struct { _ struct{} `type:"structure"` } @@ -8418,7 +8434,7 @@ func (s DetachLoadBalancerTargetGroupsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancersType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancersType type DetachLoadBalancersInput struct { _ struct{} `type:"structure"` @@ -8474,7 +8490,7 @@ func (s *DetachLoadBalancersInput) SetLoadBalancerNames(v []*string) *DetachLoad return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancersResultType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancersResultType type DetachLoadBalancersOutput struct { _ struct{} `type:"structure"` } @@ -8489,11 +8505,11 @@ func (s DetachLoadBalancersOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollectionQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollectionQuery type DisableMetricsCollectionInput struct { _ struct{} `type:"structure"` - // The name or Amazon Resource Name (ARN) of the group. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -8557,7 +8573,7 @@ func (s *DisableMetricsCollectionInput) SetMetrics(v []*string) *DisableMetricsC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollectionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollectionOutput type DisableMetricsCollectionOutput struct { _ struct{} `type:"structure"` } @@ -8573,7 +8589,7 @@ func (s DisableMetricsCollectionOutput) GoString() string { } // Describes an Amazon EBS volume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Ebs +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Ebs type Ebs struct { _ struct{} `type:"structure"` @@ -8685,11 +8701,11 @@ func (s *Ebs) SetVolumeType(v string) *Ebs { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollectionQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollectionQuery type EnableMetricsCollectionInput struct { _ struct{} `type:"structure"` - // The name or ARN of the Auto Scaling group. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -8771,7 +8787,7 @@ func (s *EnableMetricsCollectionInput) SetMetrics(v []*string) *EnableMetricsCol return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollectionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollectionOutput type EnableMetricsCollectionOutput struct { _ struct{} `type:"structure"` } @@ -8787,7 +8803,7 @@ func (s EnableMetricsCollectionOutput) GoString() string { } // Describes an enabled metric. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnabledMetric +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnabledMetric type EnabledMetric struct { _ struct{} `type:"structure"` @@ -8836,7 +8852,7 @@ func (s *EnabledMetric) SetMetric(v string) *EnabledMetric { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandbyQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandbyQuery type EnterStandbyInput struct { _ struct{} `type:"structure"` @@ -8905,7 +8921,7 @@ func (s *EnterStandbyInput) SetShouldDecrementDesiredCapacity(v bool) *EnterStan return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandbyAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandbyAnswer type EnterStandbyOutput struct { _ struct{} `type:"structure"` @@ -8929,11 +8945,11 @@ func (s *EnterStandbyOutput) SetActivities(v []*Activity) *EnterStandbyOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicyType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicyType type ExecutePolicyInput struct { _ struct{} `type:"structure"` - // The name or Amazon Resource Name (ARN) of the Auto Scaling group. + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string"` // The breach threshold for the alarm. @@ -9030,7 +9046,7 @@ func (s *ExecutePolicyInput) SetPolicyName(v string) *ExecutePolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicyOutput type ExecutePolicyOutput struct { _ struct{} `type:"structure"` } @@ -9045,7 +9061,7 @@ func (s ExecutePolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandbyQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandbyQuery type ExitStandbyInput struct { _ struct{} `type:"structure"` @@ -9096,7 +9112,7 @@ func (s *ExitStandbyInput) SetInstanceIds(v []*string) *ExitStandbyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandbyAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandbyAnswer type ExitStandbyOutput struct { _ struct{} `type:"structure"` @@ -9121,7 +9137,7 @@ func (s *ExitStandbyOutput) SetActivities(v []*Activity) *ExitStandbyOutput { } // Describes a filter. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Filter +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Filter type Filter struct { _ struct{} `type:"structure"` @@ -9156,14 +9172,14 @@ func (s *Filter) SetValues(v []*string) *Filter { } // Describes an Auto Scaling group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup type Group struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the group. + // The Amazon Resource Name (ARN) of the Auto Scaling group. AutoScalingGroupARN *string `min:"1" type:"string"` - // The name of the group. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -9207,6 +9223,9 @@ type Group struct { // The name of the associated launch configuration. LaunchConfigurationName *string `min:"1" type:"string"` + // The launch template for the group. + LaunchTemplate *LaunchTemplateSpecification `type:"structure"` + // One or more load balancers associated with the group. LoadBalancerNames []*string `type:"list"` @@ -9327,6 +9346,12 @@ func (s *Group) SetLaunchConfigurationName(v string) *Group { return s } +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *Group) SetLaunchTemplate(v *LaunchTemplateSpecification) *Group { + s.LaunchTemplate = v + return s +} + // SetLoadBalancerNames sets the LoadBalancerNames field's value. func (s *Group) SetLoadBalancerNames(v []*string) *Group { s.LoadBalancerNames = v @@ -9394,7 +9419,7 @@ func (s *Group) SetVPCZoneIdentifier(v string) *Group { } // Describes an EC2 instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Instance +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Instance type Instance struct { _ struct{} `type:"structure"` @@ -9416,9 +9441,10 @@ type Instance struct { InstanceId *string `min:"1" type:"string" required:"true"` // The launch configuration associated with the instance. - // - // LaunchConfigurationName is a required field - LaunchConfigurationName *string `min:"1" type:"string" required:"true"` + LaunchConfigurationName *string `min:"1" type:"string"` + + // The launch template for the instance. + LaunchTemplate *LaunchTemplateSpecification `type:"structure"` // A description of the current lifecycle state. Note that the Quarantined state // is not used. @@ -9467,6 +9493,12 @@ func (s *Instance) SetLaunchConfigurationName(v string) *Instance { return s } +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *Instance) SetLaunchTemplate(v *LaunchTemplateSpecification) *Instance { + s.LaunchTemplate = v + return s +} + // SetLifecycleState sets the LifecycleState field's value. func (s *Instance) SetLifecycleState(v string) *Instance { s.LifecycleState = &v @@ -9480,11 +9512,11 @@ func (s *Instance) SetProtectedFromScaleIn(v bool) *Instance { } // Describes an EC2 instance associated with an Auto Scaling group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingInstanceDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingInstanceDetails type InstanceDetails struct { _ struct{} `type:"structure"` - // The name of the Auto Scaling group associated with the instance. + // The name of the Auto Scaling group for the instance. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -9508,9 +9540,10 @@ type InstanceDetails struct { // The launch configuration used to launch the instance. This value is not available // if you attached the instance to the Auto Scaling group. - // - // LaunchConfigurationName is a required field - LaunchConfigurationName *string `min:"1" type:"string" required:"true"` + LaunchConfigurationName *string `min:"1" type:"string"` + + // The launch template for the instance. + LaunchTemplate *LaunchTemplateSpecification `type:"structure"` // The lifecycle state for the instance. For more information, see Auto Scaling // Lifecycle (http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroupLifecycle.html) @@ -9566,6 +9599,12 @@ func (s *InstanceDetails) SetLaunchConfigurationName(v string) *InstanceDetails return s } +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *InstanceDetails) SetLaunchTemplate(v *LaunchTemplateSpecification) *InstanceDetails { + s.LaunchTemplate = v + return s +} + // SetLifecycleState sets the LifecycleState field's value. func (s *InstanceDetails) SetLifecycleState(v string) *InstanceDetails { s.LifecycleState = &v @@ -9579,7 +9618,7 @@ func (s *InstanceDetails) SetProtectedFromScaleIn(v bool) *InstanceDetails { } // Describes whether detailed monitoring is enabled for the Auto Scaling instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceMonitoring +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceMonitoring type InstanceMonitoring struct { _ struct{} `type:"structure"` @@ -9604,7 +9643,7 @@ func (s *InstanceMonitoring) SetEnabled(v bool) *InstanceMonitoring { } // Describes a launch configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfiguration type LaunchConfiguration struct { _ struct{} `type:"structure"` @@ -9808,12 +9847,77 @@ func (s *LaunchConfiguration) SetUserData(v string) *LaunchConfiguration { return s } +// Describes a launch template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchTemplateSpecification +type LaunchTemplateSpecification struct { + _ struct{} `type:"structure"` + + // The ID of the launch template. You must specify either a template ID or a + // template name. + LaunchTemplateId *string `min:"1" type:"string"` + + // The name of the launch template. You must specify either a template name + // or a template ID. + LaunchTemplateName *string `min:"3" type:"string"` + + // The version number. By default, the default version of the launch template + // is used. + Version *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s LaunchTemplateSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateSpecification) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *LaunchTemplateSpecification) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LaunchTemplateSpecification"} + if s.LaunchTemplateId != nil && len(*s.LaunchTemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateId", 1)) + } + if s.LaunchTemplateName != nil && len(*s.LaunchTemplateName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateName", 3)) + } + if s.Version != nil && len(*s.Version) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Version", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLaunchTemplateId sets the LaunchTemplateId field's value. +func (s *LaunchTemplateSpecification) SetLaunchTemplateId(v string) *LaunchTemplateSpecification { + s.LaunchTemplateId = &v + return s +} + +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *LaunchTemplateSpecification) SetLaunchTemplateName(v string) *LaunchTemplateSpecification { + s.LaunchTemplateName = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *LaunchTemplateSpecification) SetVersion(v string) *LaunchTemplateSpecification { + s.Version = &v + return s +} + // Describes a lifecycle hook, which tells Auto Scaling that you want to perform // an action whenever it launches instances or whenever it terminates instances. // // For more information, see Auto Scaling Lifecycle Hooks (http://docs.aws.amazon.com/autoscaling/latest/userguide/lifecycle-hooks.html) // in the Auto Scaling User Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LifecycleHook +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LifecycleHook type LifecycleHook struct { _ struct{} `type:"structure"` @@ -9925,13 +10029,13 @@ func (s *LifecycleHook) SetRoleARN(v string) *LifecycleHook { // // For more information, see Auto Scaling Lifecycle Hooks (http://docs.aws.amazon.com/autoscaling/latest/userguide/lifecycle-hooks.html) // in the Auto Scaling User Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LifecycleHookSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LifecycleHookSpecification type LifecycleHookSpecification struct { _ struct{} `type:"structure"` // Defines the action the Auto Scaling group should take when the lifecycle // hook timeout elapses or if an unexpected failure occurs. The valid values - // are CONTINUE and ABANDON. The default value is CONTINUE. + // are CONTINUE and ABANDON. DefaultResult *string `type:"string"` // The maximum time, in seconds, that can elapse before the lifecycle hook times @@ -9946,7 +10050,9 @@ type LifecycleHookSpecification struct { // The state of the EC2 instance to which you want to attach the lifecycle hook. // For a list of lifecycle hook types, see DescribeLifecycleHookTypes. - LifecycleTransition *string `type:"string"` + // + // LifecycleTransition is a required field + LifecycleTransition *string `type:"string" required:"true"` // Additional information that you want to include any time Auto Scaling sends // a message to the notification target. @@ -9981,6 +10087,9 @@ func (s *LifecycleHookSpecification) Validate() error { if s.LifecycleHookName != nil && len(*s.LifecycleHookName) < 1 { invalidParams.Add(request.NewErrParamMinLen("LifecycleHookName", 1)) } + if s.LifecycleTransition == nil { + invalidParams.Add(request.NewErrParamRequired("LifecycleTransition")) + } if s.NotificationMetadata != nil && len(*s.NotificationMetadata) < 1 { invalidParams.Add(request.NewErrParamMinLen("NotificationMetadata", 1)) } @@ -10047,7 +10156,7 @@ func (s *LifecycleHookSpecification) SetRoleARN(v string) *LifecycleHookSpecific // for the load balancer, the state transitions to InService after at least // one instance in the group passes the health check. If EC2 health checks are // enabled instead, the load balancer remains in the Added state. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LoadBalancerState +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LoadBalancerState type LoadBalancerState struct { _ struct{} `type:"structure"` @@ -10103,7 +10212,7 @@ func (s *LoadBalancerState) SetState(v string) *LoadBalancerState { // state transitions to InService after at least one Auto Scaling instance passes // the health check. If EC2 health checks are enabled instead, the target group // remains in the Added state. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LoadBalancerTargetGroupState +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LoadBalancerTargetGroupState type LoadBalancerTargetGroupState struct { _ struct{} `type:"structure"` @@ -10152,7 +10261,7 @@ func (s *LoadBalancerTargetGroupState) SetState(v string) *LoadBalancerTargetGro } // Describes a metric. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricCollectionType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricCollectionType type MetricCollectionType struct { _ struct{} `type:"structure"` @@ -10193,7 +10302,7 @@ func (s *MetricCollectionType) SetMetric(v string) *MetricCollectionType { } // Describes the dimension of a metric. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricDimension +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricDimension type MetricDimension struct { _ struct{} `type:"structure"` @@ -10247,7 +10356,7 @@ func (s *MetricDimension) SetValue(v string) *MetricDimension { } // Describes a granularity of a metric. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricGranularityType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricGranularityType type MetricGranularityType struct { _ struct{} `type:"structure"` @@ -10272,11 +10381,11 @@ func (s *MetricGranularityType) SetGranularity(v string) *MetricGranularityType } // Describes a notification. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/NotificationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/NotificationConfiguration type NotificationConfiguration struct { _ struct{} `type:"structure"` - // The name of the group. + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string"` // One of the following event notification types: @@ -10326,7 +10435,7 @@ func (s *NotificationConfiguration) SetTopicARN(v string) *NotificationConfigura } // Configures a predefined metric for a target tracking policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PredefinedMetricSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PredefinedMetricSpecification type PredefinedMetricSpecification struct { _ struct{} `type:"structure"` @@ -10350,7 +10459,7 @@ type PredefinedMetricSpecification struct { // * ALBRequestCountPerTarget - number of requests completed per target in // an Application Load Balancer target group // - // For predefined metric types ASGAverageCPUUtilization, ASGAverageNetworkIn + // For predefined metric types ASGAverageCPUUtilization, ASGAverageNetworkIn, // and ASGAverageNetworkOut, the parameter must not be specified as the resource // associated with the metric type is the Auto Scaling group. For predefined // metric type ALBRequestCountPerTarget, the parameter must be specified in @@ -10404,7 +10513,7 @@ func (s *PredefinedMetricSpecification) SetResourceLabel(v string) *PredefinedMe // // For more information, see Auto Scaling Processes (http://docs.aws.amazon.com/autoscaling/latest/userguide/as-suspend-resume-processes.html#process-types) // in the Auto Scaling User Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ProcessType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ProcessType type ProcessType struct { _ struct{} `type:"structure"` @@ -10446,12 +10555,11 @@ func (s *ProcessType) SetProcessName(v string) *ProcessType { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHookType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHookType type PutLifecycleHookInput struct { _ struct{} `type:"structure"` - // The name of the Auto Scaling group to which you want to assign the lifecycle - // hook. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -10593,7 +10701,7 @@ func (s *PutLifecycleHookInput) SetRoleARN(v string) *PutLifecycleHookInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHookAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHookAnswer type PutLifecycleHookOutput struct { _ struct{} `type:"structure"` } @@ -10608,7 +10716,7 @@ func (s PutLifecycleHookOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfigurationType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfigurationType type PutNotificationConfigurationInput struct { _ struct{} `type:"structure"` @@ -10683,7 +10791,7 @@ func (s *PutNotificationConfigurationInput) SetTopicARN(v string) *PutNotificati return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfigurationOutput type PutNotificationConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -10698,7 +10806,7 @@ func (s PutNotificationConfigurationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScalingPolicyType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScalingPolicyType type PutScalingPolicyInput struct { _ struct{} `type:"structure"` @@ -10711,7 +10819,7 @@ type PutScalingPolicyInput struct { // in the Auto Scaling User Guide. AdjustmentType *string `min:"1" type:"string"` - // The name or ARN of the group. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -10911,7 +11019,7 @@ func (s *PutScalingPolicyInput) SetTargetTrackingConfiguration(v *TargetTracking } // Contains the output of PutScalingPolicy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PolicyARNType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PolicyARNType type PutScalingPolicyOutput struct { _ struct{} `type:"structure"` @@ -10944,11 +11052,11 @@ func (s *PutScalingPolicyOutput) SetPolicyARN(v string) *PutScalingPolicyOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupActionType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupActionType type PutScheduledUpdateGroupActionInput struct { _ struct{} `type:"structure"` - // The name or Amazon Resource Name (ARN) of the Auto Scaling group. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -11078,7 +11186,7 @@ func (s *PutScheduledUpdateGroupActionInput) SetTime(v time.Time) *PutScheduledU return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupActionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupActionOutput type PutScheduledUpdateGroupActionOutput struct { _ struct{} `type:"structure"` } @@ -11093,11 +11201,11 @@ func (s PutScheduledUpdateGroupActionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeatType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeatType type RecordLifecycleActionHeartbeatInput struct { _ struct{} `type:"structure"` - // The name of the Auto Scaling group for the hook. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -11178,7 +11286,7 @@ func (s *RecordLifecycleActionHeartbeatInput) SetLifecycleHookName(v string) *Re return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeatAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeatAnswer type RecordLifecycleActionHeartbeatOutput struct { _ struct{} `type:"structure"` } @@ -11193,7 +11301,7 @@ func (s RecordLifecycleActionHeartbeatOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ResumeProcessesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ResumeProcessesOutput type ResumeProcessesOutput struct { _ struct{} `type:"structure"` } @@ -11209,7 +11317,7 @@ func (s ResumeProcessesOutput) GoString() string { } // Describes a scaling policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScalingPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScalingPolicy type ScalingPolicy struct { _ struct{} `type:"structure"` @@ -11220,7 +11328,7 @@ type ScalingPolicy struct { // The CloudWatch alarms related to the policy. Alarms []*Alarm `type:"list"` - // The name of the Auto Scaling group associated with this scaling policy. + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string"` // The amount of time, in seconds, after a scaling activity completes before @@ -11360,11 +11468,11 @@ func (s *ScalingPolicy) SetTargetTrackingConfiguration(v *TargetTrackingConfigur return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScalingProcessQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScalingProcessQuery type ScalingProcessQuery struct { _ struct{} `type:"structure"` - // The name or Amazon Resource Name (ARN) of the Auto Scaling group. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -11429,11 +11537,11 @@ func (s *ScalingProcessQuery) SetScalingProcesses(v []*string) *ScalingProcessQu } // Describes a scheduled update to an Auto Scaling group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScheduledUpdateGroupAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScheduledUpdateGroupAction type ScheduledUpdateGroupAction struct { _ struct{} `type:"structure"` - // The name of the group. + // The name of the Auto Scaling group. AutoScalingGroupName *string `min:"1" type:"string"` // The number of instances you prefer to maintain in the group. @@ -11539,7 +11647,7 @@ func (s *ScheduledUpdateGroupAction) SetTime(v time.Time) *ScheduledUpdateGroupA return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacityType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacityType type SetDesiredCapacityInput struct { _ struct{} `type:"structure"` @@ -11607,7 +11715,7 @@ func (s *SetDesiredCapacityInput) SetHonorCooldown(v bool) *SetDesiredCapacityIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacityOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacityOutput type SetDesiredCapacityOutput struct { _ struct{} `type:"structure"` } @@ -11622,7 +11730,7 @@ func (s SetDesiredCapacityOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealthQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealthQuery type SetInstanceHealthInput struct { _ struct{} `type:"structure"` @@ -11698,7 +11806,7 @@ func (s *SetInstanceHealthInput) SetShouldRespectGracePeriod(v bool) *SetInstanc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealthOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealthOutput type SetInstanceHealthOutput struct { _ struct{} `type:"structure"` } @@ -11713,11 +11821,11 @@ func (s SetInstanceHealthOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtectionQuery +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtectionQuery type SetInstanceProtectionInput struct { _ struct{} `type:"structure"` - // The name of the group. + // The name of the Auto Scaling group. // // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` @@ -11784,7 +11892,7 @@ func (s *SetInstanceProtectionInput) SetProtectedFromScaleIn(v bool) *SetInstanc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtectionAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtectionAnswer type SetInstanceProtectionOutput struct { _ struct{} `type:"structure"` } @@ -11827,7 +11935,7 @@ func (s SetInstanceProtectionOutput) GoString() string { // with a null upper bound. // // * The upper and lower bound can't be null in the same step adjustment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/StepAdjustment +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/StepAdjustment type StepAdjustment struct { _ struct{} `type:"structure"` @@ -11897,7 +12005,7 @@ func (s *StepAdjustment) SetScalingAdjustment(v int64) *StepAdjustment { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SuspendProcessesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SuspendProcessesOutput type SuspendProcessesOutput struct { _ struct{} `type:"structure"` } @@ -11914,7 +12022,7 @@ func (s SuspendProcessesOutput) GoString() string { // Describes an Auto Scaling process that has been suspended. For more information, // see ProcessType. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SuspendedProcess +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SuspendedProcess type SuspendedProcess struct { _ struct{} `type:"structure"` @@ -11948,7 +12056,7 @@ func (s *SuspendedProcess) SetSuspensionReason(v string) *SuspendedProcess { } // Describes a tag for an Auto Scaling group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Tag type Tag struct { _ struct{} `type:"structure"` @@ -12028,7 +12136,7 @@ func (s *Tag) SetValue(v string) *Tag { } // Describes a tag for an Auto Scaling group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TagDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TagDescription type TagDescription struct { _ struct{} `type:"structure"` @@ -12090,7 +12198,7 @@ func (s *TagDescription) SetValue(v string) *TagDescription { } // Represents a target tracking policy configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TargetTrackingConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TargetTrackingConfiguration type TargetTrackingConfiguration struct { _ struct{} `type:"structure"` @@ -12171,7 +12279,7 @@ func (s *TargetTrackingConfiguration) SetTargetValue(v float64) *TargetTrackingC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TerminateInstanceInAutoScalingGroupType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TerminateInstanceInAutoScalingGroupType type TerminateInstanceInAutoScalingGroupInput struct { _ struct{} `type:"structure"` @@ -12228,7 +12336,7 @@ func (s *TerminateInstanceInAutoScalingGroupInput) SetShouldDecrementDesiredCapa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ActivityType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ActivityType type TerminateInstanceInAutoScalingGroupOutput struct { _ struct{} `type:"structure"` @@ -12252,7 +12360,7 @@ func (s *TerminateInstanceInAutoScalingGroupOutput) SetActivity(v *Activity) *Te return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType type UpdateAutoScalingGroupInput struct { _ struct{} `type:"structure"` @@ -12287,9 +12395,14 @@ type UpdateAutoScalingGroupInput struct { // The service to use for the health checks. The valid values are EC2 and ELB. HealthCheckType *string `min:"1" type:"string"` - // The name of the launch configuration. + // The name of the launch configuration. You must specify either a launch configuration + // or a launch template. LaunchConfigurationName *string `min:"1" type:"string"` + // The launch template to use to specify the updates. You must specify a launch + // configuration or a launch template. + LaunchTemplate *LaunchTemplateSpecification `type:"structure"` + // The maximum size of the Auto Scaling group. MaxSize *int64 `type:"integer"` @@ -12359,6 +12472,11 @@ func (s *UpdateAutoScalingGroupInput) Validate() error { if s.VPCZoneIdentifier != nil && len(*s.VPCZoneIdentifier) < 1 { invalidParams.Add(request.NewErrParamMinLen("VPCZoneIdentifier", 1)) } + if s.LaunchTemplate != nil { + if err := s.LaunchTemplate.Validate(); err != nil { + invalidParams.AddNested("LaunchTemplate", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -12408,6 +12526,12 @@ func (s *UpdateAutoScalingGroupInput) SetLaunchConfigurationName(v string) *Upda return s } +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *UpdateAutoScalingGroupInput) SetLaunchTemplate(v *LaunchTemplateSpecification) *UpdateAutoScalingGroupInput { + s.LaunchTemplate = v + return s +} + // SetMaxSize sets the MaxSize field's value. func (s *UpdateAutoScalingGroupInput) SetMaxSize(v int64) *UpdateAutoScalingGroupInput { s.MaxSize = &v @@ -12444,7 +12568,7 @@ func (s *UpdateAutoScalingGroupInput) SetVPCZoneIdentifier(v string) *UpdateAuto return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupOutput type UpdateAutoScalingGroupOutput struct { _ struct{} `type:"structure"` } diff --git a/vendor/github.com/aws/aws-sdk-go/service/batch/api.go b/vendor/github.com/aws/aws-sdk-go/service/batch/api.go index 4af4e082b10..d7683d333d1 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/batch/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/batch/api.go @@ -35,7 +35,7 @@ const opCancelJob = "CancelJob" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJob func (c *Batch) CancelJobRequest(input *CancelJobInput) (req *request.Request, output *CancelJobOutput) { op := &request.Operation{ Name: opCancelJob, @@ -70,13 +70,13 @@ func (c *Batch) CancelJobRequest(input *CancelJobInput) (req *request.Request, o // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJob func (c *Batch) CancelJob(input *CancelJobInput) (*CancelJobOutput, error) { req, out := c.CancelJobRequest(input) return out, req.Send() @@ -123,7 +123,7 @@ const opCreateComputeEnvironment = "CreateComputeEnvironment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironment func (c *Batch) CreateComputeEnvironmentRequest(input *CreateComputeEnvironmentInput) (req *request.Request, output *CreateComputeEnvironmentOutput) { op := &request.Operation{ Name: opCreateComputeEnvironment, @@ -149,8 +149,8 @@ func (c *Batch) CreateComputeEnvironmentRequest(input *CreateComputeEnvironmentI // within the environment, based on the compute resources that you specify. // Instances launched into a managed compute environment use a recent, approved // version of the Amazon ECS-optimized AMI. You can choose to use Amazon EC2 -// On-Demand instances in your managed compute environment, or you can use Amazon -// EC2 Spot instances that only launch when the Spot bid price is below a specified +// On-Demand Instances in your managed compute environment, or you can use Amazon +// EC2 Spot Instances that only launch when the Spot bid price is below a specified // percentage of the On-Demand price. // // In an unmanaged compute environment, you can manage your own compute resources. @@ -158,12 +158,12 @@ func (c *Batch) CreateComputeEnvironmentRequest(input *CreateComputeEnvironmentI // a custom AMI, but you must ensure that your AMI meets the Amazon ECS container // instance AMI specification. For more information, see Container Instance // AMIs (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html) -// in the Amazon EC2 Container Service Developer Guide. After you have created +// in the Amazon Elastic Container Service Developer Guide. After you have created // your unmanaged compute environment, you can use the DescribeComputeEnvironments // operation to find the Amazon ECS cluster that is associated with it and then // manually launch your container instances into that Amazon ECS cluster. For // more information, see Launching an Amazon ECS Container Instance (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html) -// in the Amazon EC2 Container Service Developer Guide. +// in the Amazon Elastic Container Service Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -175,13 +175,13 @@ func (c *Batch) CreateComputeEnvironmentRequest(input *CreateComputeEnvironmentI // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironment func (c *Batch) CreateComputeEnvironment(input *CreateComputeEnvironmentInput) (*CreateComputeEnvironmentOutput, error) { req, out := c.CreateComputeEnvironmentRequest(input) return out, req.Send() @@ -228,7 +228,7 @@ const opCreateJobQueue = "CreateJobQueue" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueue func (c *Batch) CreateJobQueueRequest(input *CreateJobQueueInput) (req *request.Request, output *CreateJobQueueOutput) { op := &request.Operation{ Name: opCreateJobQueue, @@ -267,13 +267,13 @@ func (c *Batch) CreateJobQueueRequest(input *CreateJobQueueInput) (req *request. // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueue func (c *Batch) CreateJobQueue(input *CreateJobQueueInput) (*CreateJobQueueOutput, error) { req, out := c.CreateJobQueueRequest(input) return out, req.Send() @@ -320,7 +320,7 @@ const opDeleteComputeEnvironment = "DeleteComputeEnvironment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironment func (c *Batch) DeleteComputeEnvironmentRequest(input *DeleteComputeEnvironmentInput) (req *request.Request, output *DeleteComputeEnvironmentOutput) { op := &request.Operation{ Name: opDeleteComputeEnvironment, @@ -355,13 +355,13 @@ func (c *Batch) DeleteComputeEnvironmentRequest(input *DeleteComputeEnvironmentI // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironment func (c *Batch) DeleteComputeEnvironment(input *DeleteComputeEnvironmentInput) (*DeleteComputeEnvironmentOutput, error) { req, out := c.DeleteComputeEnvironmentRequest(input) return out, req.Send() @@ -408,7 +408,7 @@ const opDeleteJobQueue = "DeleteJobQueue" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueue func (c *Batch) DeleteJobQueueRequest(input *DeleteJobQueueInput) (req *request.Request, output *DeleteJobQueueOutput) { op := &request.Operation{ Name: opDeleteJobQueue, @@ -444,13 +444,13 @@ func (c *Batch) DeleteJobQueueRequest(input *DeleteJobQueueInput) (req *request. // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueue func (c *Batch) DeleteJobQueue(input *DeleteJobQueueInput) (*DeleteJobQueueOutput, error) { req, out := c.DeleteJobQueueRequest(input) return out, req.Send() @@ -497,7 +497,7 @@ const opDeregisterJobDefinition = "DeregisterJobDefinition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition func (c *Batch) DeregisterJobDefinitionRequest(input *DeregisterJobDefinitionInput) (req *request.Request, output *DeregisterJobDefinitionOutput) { op := &request.Operation{ Name: opDeregisterJobDefinition, @@ -528,13 +528,13 @@ func (c *Batch) DeregisterJobDefinitionRequest(input *DeregisterJobDefinitionInp // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition func (c *Batch) DeregisterJobDefinition(input *DeregisterJobDefinitionInput) (*DeregisterJobDefinitionOutput, error) { req, out := c.DeregisterJobDefinitionRequest(input) return out, req.Send() @@ -581,7 +581,7 @@ const opDescribeComputeEnvironments = "DescribeComputeEnvironments" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironments +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironments func (c *Batch) DescribeComputeEnvironmentsRequest(input *DescribeComputeEnvironmentsInput) (req *request.Request, output *DescribeComputeEnvironmentsOutput) { op := &request.Operation{ Name: opDescribeComputeEnvironments, @@ -616,13 +616,13 @@ func (c *Batch) DescribeComputeEnvironmentsRequest(input *DescribeComputeEnviron // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironments +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironments func (c *Batch) DescribeComputeEnvironments(input *DescribeComputeEnvironmentsInput) (*DescribeComputeEnvironmentsOutput, error) { req, out := c.DescribeComputeEnvironmentsRequest(input) return out, req.Send() @@ -669,7 +669,7 @@ const opDescribeJobDefinitions = "DescribeJobDefinitions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitions +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitions func (c *Batch) DescribeJobDefinitionsRequest(input *DescribeJobDefinitionsInput) (req *request.Request, output *DescribeJobDefinitionsOutput) { op := &request.Operation{ Name: opDescribeJobDefinitions, @@ -701,13 +701,13 @@ func (c *Batch) DescribeJobDefinitionsRequest(input *DescribeJobDefinitionsInput // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitions +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitions func (c *Batch) DescribeJobDefinitions(input *DescribeJobDefinitionsInput) (*DescribeJobDefinitionsOutput, error) { req, out := c.DescribeJobDefinitionsRequest(input) return out, req.Send() @@ -754,7 +754,7 @@ const opDescribeJobQueues = "DescribeJobQueues" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueues +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueues func (c *Batch) DescribeJobQueuesRequest(input *DescribeJobQueuesInput) (req *request.Request, output *DescribeJobQueuesOutput) { op := &request.Operation{ Name: opDescribeJobQueues, @@ -785,13 +785,13 @@ func (c *Batch) DescribeJobQueuesRequest(input *DescribeJobQueuesInput) (req *re // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueues +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueues func (c *Batch) DescribeJobQueues(input *DescribeJobQueuesInput) (*DescribeJobQueuesOutput, error) { req, out := c.DescribeJobQueuesRequest(input) return out, req.Send() @@ -838,7 +838,7 @@ const opDescribeJobs = "DescribeJobs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobs +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobs func (c *Batch) DescribeJobsRequest(input *DescribeJobsInput) (req *request.Request, output *DescribeJobsOutput) { op := &request.Operation{ Name: opDescribeJobs, @@ -869,13 +869,13 @@ func (c *Batch) DescribeJobsRequest(input *DescribeJobsInput) (req *request.Requ // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobs +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobs func (c *Batch) DescribeJobs(input *DescribeJobsInput) (*DescribeJobsOutput, error) { req, out := c.DescribeJobsRequest(input) return out, req.Send() @@ -922,7 +922,7 @@ const opListJobs = "ListJobs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobs +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobs func (c *Batch) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { op := &request.Operation{ Name: opListJobs, @@ -955,13 +955,13 @@ func (c *Batch) ListJobsRequest(input *ListJobsInput) (req *request.Request, out // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobs +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobs func (c *Batch) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { req, out := c.ListJobsRequest(input) return out, req.Send() @@ -1008,7 +1008,7 @@ const opRegisterJobDefinition = "RegisterJobDefinition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinition func (c *Batch) RegisterJobDefinitionRequest(input *RegisterJobDefinitionInput) (req *request.Request, output *RegisterJobDefinitionOutput) { op := &request.Operation{ Name: opRegisterJobDefinition, @@ -1039,13 +1039,13 @@ func (c *Batch) RegisterJobDefinitionRequest(input *RegisterJobDefinitionInput) // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinition func (c *Batch) RegisterJobDefinition(input *RegisterJobDefinitionInput) (*RegisterJobDefinitionOutput, error) { req, out := c.RegisterJobDefinitionRequest(input) return out, req.Send() @@ -1092,7 +1092,7 @@ const opSubmitJob = "SubmitJob" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJob func (c *Batch) SubmitJobRequest(input *SubmitJobInput) (req *request.Request, output *SubmitJobOutput) { op := &request.Operation{ Name: opSubmitJob, @@ -1124,13 +1124,13 @@ func (c *Batch) SubmitJobRequest(input *SubmitJobInput) (req *request.Request, o // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJob func (c *Batch) SubmitJob(input *SubmitJobInput) (*SubmitJobOutput, error) { req, out := c.SubmitJobRequest(input) return out, req.Send() @@ -1177,7 +1177,7 @@ const opTerminateJob = "TerminateJob" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJob func (c *Batch) TerminateJobRequest(input *TerminateJobInput) (req *request.Request, output *TerminateJobOutput) { op := &request.Operation{ Name: opTerminateJob, @@ -1210,13 +1210,13 @@ func (c *Batch) TerminateJobRequest(input *TerminateJobInput) (req *request.Requ // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJob func (c *Batch) TerminateJob(input *TerminateJobInput) (*TerminateJobOutput, error) { req, out := c.TerminateJobRequest(input) return out, req.Send() @@ -1263,7 +1263,7 @@ const opUpdateComputeEnvironment = "UpdateComputeEnvironment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironment func (c *Batch) UpdateComputeEnvironmentRequest(input *UpdateComputeEnvironmentInput) (req *request.Request, output *UpdateComputeEnvironmentOutput) { op := &request.Operation{ Name: opUpdateComputeEnvironment, @@ -1294,13 +1294,13 @@ func (c *Batch) UpdateComputeEnvironmentRequest(input *UpdateComputeEnvironmentI // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironment func (c *Batch) UpdateComputeEnvironment(input *UpdateComputeEnvironmentInput) (*UpdateComputeEnvironmentOutput, error) { req, out := c.UpdateComputeEnvironmentRequest(input) return out, req.Send() @@ -1347,7 +1347,7 @@ const opUpdateJobQueue = "UpdateJobQueue" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueue func (c *Batch) UpdateJobQueueRequest(input *UpdateJobQueueInput) (req *request.Request, output *UpdateJobQueueOutput) { op := &request.Operation{ Name: opUpdateJobQueue, @@ -1378,13 +1378,13 @@ func (c *Batch) UpdateJobQueueRequest(input *UpdateJobQueueInput) (req *request. // Returned Error Codes: // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeServerException "ServerException" // These errors are usually caused by a server issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueue func (c *Batch) UpdateJobQueue(input *UpdateJobQueueInput) (*UpdateJobQueueOutput, error) { req, out := c.UpdateJobQueueRequest(input) return out, req.Send() @@ -1406,8 +1406,113 @@ func (c *Batch) UpdateJobQueueWithContext(ctx aws.Context, input *UpdateJobQueue return out, req.Send() } +// An object representing an AWS Batch array job. +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ArrayProperties +type ArrayProperties struct { + _ struct{} `type:"structure"` + + // The size of the array job. + Size *int64 `locationName:"size" type:"integer"` +} + +// String returns the string representation +func (s ArrayProperties) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ArrayProperties) GoString() string { + return s.String() +} + +// SetSize sets the Size field's value. +func (s *ArrayProperties) SetSize(v int64) *ArrayProperties { + s.Size = &v + return s +} + +// An object representing the array properties of a job. +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ArrayPropertiesDetail +type ArrayPropertiesDetail struct { + _ struct{} `type:"structure"` + + // The job index within the array that is associated with this job. This parameter + // is returned for array job children. + Index *int64 `locationName:"index" type:"integer"` + + // The size of the array job. This parameter is returned for parent array jobs. + Size *int64 `locationName:"size" type:"integer"` + + // A summary of the number of array job children in each available job status. + // This parameter is returned for parent array jobs. + StatusSummary map[string]*int64 `locationName:"statusSummary" type:"map"` +} + +// String returns the string representation +func (s ArrayPropertiesDetail) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ArrayPropertiesDetail) GoString() string { + return s.String() +} + +// SetIndex sets the Index field's value. +func (s *ArrayPropertiesDetail) SetIndex(v int64) *ArrayPropertiesDetail { + s.Index = &v + return s +} + +// SetSize sets the Size field's value. +func (s *ArrayPropertiesDetail) SetSize(v int64) *ArrayPropertiesDetail { + s.Size = &v + return s +} + +// SetStatusSummary sets the StatusSummary field's value. +func (s *ArrayPropertiesDetail) SetStatusSummary(v map[string]*int64) *ArrayPropertiesDetail { + s.StatusSummary = v + return s +} + +// An object representing the array properties of a job. +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ArrayPropertiesSummary +type ArrayPropertiesSummary struct { + _ struct{} `type:"structure"` + + // The job index within the array that is associated with this job. This parameter + // is returned for children of array jobs. + Index *int64 `locationName:"index" type:"integer"` + + // The size of the array job. This parameter is returned for parent array jobs. + Size *int64 `locationName:"size" type:"integer"` +} + +// String returns the string representation +func (s ArrayPropertiesSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ArrayPropertiesSummary) GoString() string { + return s.String() +} + +// SetIndex sets the Index field's value. +func (s *ArrayPropertiesSummary) SetIndex(v int64) *ArrayPropertiesSummary { + s.Index = &v + return s +} + +// SetSize sets the Size field's value. +func (s *ArrayPropertiesSummary) SetSize(v int64) *ArrayPropertiesSummary { + s.Size = &v + return s +} + // An object representing the details of a container that is part of a job attempt. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/AttemptContainerDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/AttemptContainerDetail type AttemptContainerDetail struct { _ struct{} `type:"structure"` @@ -1474,23 +1579,23 @@ func (s *AttemptContainerDetail) SetTaskArn(v string) *AttemptContainerDetail { } // An object representing a job attempt. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/AttemptDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/AttemptDetail type AttemptDetail struct { _ struct{} `type:"structure"` // Details about the container in this job attempt. Container *AttemptContainerDetail `locationName:"container" type:"structure"` - // The Unix timestamp for when the attempt was started (when the task transitioned - // from the PENDING state to the RUNNING state). + // The Unix time stamp for when the attempt was started (when the attempt transitioned + // from the STARTING state to the RUNNING state). StartedAt *int64 `locationName:"startedAt" type:"long"` // A short, human-readable string to provide additional details about the current // status of the job attempt. StatusReason *string `locationName:"statusReason" type:"string"` - // The Unix timestamp for when the attempt was stopped (when the task transitioned - // from the RUNNING state to the STOPPED state). + // The Unix time stamp for when the attempt was stopped (when the attempt transitioned + // from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED). StoppedAt *int64 `locationName:"stoppedAt" type:"long"` } @@ -1528,7 +1633,7 @@ func (s *AttemptDetail) SetStoppedAt(v int64) *AttemptDetail { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJobRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJobRequest type CancelJobInput struct { _ struct{} `type:"structure"` @@ -1537,7 +1642,7 @@ type CancelJobInput struct { // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` - // A message to attach to the job that explains the reason for cancelling it. + // A message to attach to the job that explains the reason for canceling it. // This message is returned by future DescribeJobs operations on the job. This // message is also recorded in the AWS Batch activity logs. // @@ -1583,7 +1688,7 @@ func (s *CancelJobInput) SetReason(v string) *CancelJobInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJobResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJobResponse type CancelJobOutput struct { _ struct{} `type:"structure"` } @@ -1599,7 +1704,7 @@ func (s CancelJobOutput) GoString() string { } // An object representing an AWS Batch compute environment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeEnvironmentDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeEnvironmentDetail type ComputeEnvironmentDetail struct { _ struct{} `type:"structure"` @@ -1710,7 +1815,7 @@ func (s *ComputeEnvironmentDetail) SetType(v string) *ComputeEnvironmentDetail { // a queue. Compute environments are tried in ascending order. For example, // if two compute environments are associated with a job queue, the compute // environment with a lower order integer value is tried for job placement first. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeEnvironmentOrder +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeEnvironmentOrder type ComputeEnvironmentOrder struct { _ struct{} `type:"structure"` @@ -1764,7 +1869,7 @@ func (s *ComputeEnvironmentOrder) SetOrder(v int64) *ComputeEnvironmentOrder { } // An object representing an AWS Batch compute resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeResource type ComputeResource struct { _ struct{} `type:"structure"` @@ -1958,7 +2063,7 @@ func (s *ComputeResource) SetType(v string) *ComputeResource { // An object representing the attributes of a compute environment that can be // updated. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeResourceUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeResourceUpdate type ComputeResourceUpdate struct { _ struct{} `type:"structure"` @@ -2001,7 +2106,7 @@ func (s *ComputeResourceUpdate) SetMinvCpus(v int64) *ComputeResourceUpdate { } // An object representing the details of a container that is part of a job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerDetail type ContainerDetail struct { _ struct{} `type:"structure"` @@ -2181,7 +2286,7 @@ func (s *ContainerDetail) SetVolumes(v []*Volume) *ContainerDetail { } // The overrides that should be sent to a container. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerOverrides +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerOverrides type ContainerOverrides struct { _ struct{} `type:"structure"` @@ -2242,7 +2347,7 @@ func (s *ContainerOverrides) SetVcpus(v int64) *ContainerOverrides { // Container properties are used in job definitions to describe the container // that is launched as part of a job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerProperties +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerProperties type ContainerProperties struct { _ struct{} `type:"structure"` @@ -2259,8 +2364,8 @@ type ContainerProperties struct { // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/) // and the --env option to docker run (https://docs.docker.com/engine/reference/run/). // - // We do not recommend using plain text environment variables for sensitive - // information, such as credential data. + // We do not recommend using plaintext environment variables for sensitive information, + // such as credential data. // // Environment variables must not start with AWS_BATCH; this naming convention // is reserved for variables that are set by the AWS Batch service. @@ -2341,7 +2446,7 @@ type ContainerProperties struct { // in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/) // and the --cpu-shares option to docker run (https://docs.docker.com/engine/reference/run/). - // Each vCPU is equivalent to 1,024 CPU shares. You must specify at least 1 + // Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one // vCPU. // // Vcpus is a required field @@ -2462,7 +2567,42 @@ func (s *ContainerProperties) SetVolumes(v []*Volume) *ContainerProperties { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironmentRequest +// An object representing summary details of a container within a job. +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerSummary +type ContainerSummary struct { + _ struct{} `type:"structure"` + + // The exit code to return upon completion. + ExitCode *int64 `locationName:"exitCode" type:"integer"` + + // A short (255 max characters) human-readable string to provide additional + // details about a running or stopped container. + Reason *string `locationName:"reason" type:"string"` +} + +// String returns the string representation +func (s ContainerSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ContainerSummary) GoString() string { + return s.String() +} + +// SetExitCode sets the ExitCode field's value. +func (s *ContainerSummary) SetExitCode(v int64) *ContainerSummary { + s.ExitCode = &v + return s +} + +// SetReason sets the Reason field's value. +func (s *ContainerSummary) SetReason(v string) *ContainerSummary { + s.Reason = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironmentRequest type CreateComputeEnvironmentInput struct { _ struct{} `type:"structure"` @@ -2567,7 +2707,7 @@ func (s *CreateComputeEnvironmentInput) SetType(v string) *CreateComputeEnvironm return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironmentResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironmentResponse type CreateComputeEnvironmentOutput struct { _ struct{} `type:"structure"` @@ -2600,7 +2740,7 @@ func (s *CreateComputeEnvironmentOutput) SetComputeEnvironmentName(v string) *Cr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueueRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueueRequest type CreateJobQueueInput struct { _ struct{} `type:"structure"` @@ -2608,7 +2748,7 @@ type CreateJobQueueInput struct { // to each other. The job scheduler uses this parameter to determine which compute // environment should execute a given job. Compute environments must be in the // VALID state before you can associate them with a job queue. You can associate - // up to 3 compute environments with a job queue. + // up to three compute environments with a job queue. // // ComputeEnvironmentOrder is a required field ComputeEnvironmentOrder []*ComputeEnvironmentOrder `locationName:"computeEnvironmentOrder" type:"list" required:"true"` @@ -2695,7 +2835,7 @@ func (s *CreateJobQueueInput) SetState(v string) *CreateJobQueueInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueueResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueueResponse type CreateJobQueueOutput struct { _ struct{} `type:"structure"` @@ -2732,7 +2872,7 @@ func (s *CreateJobQueueOutput) SetJobQueueName(v string) *CreateJobQueueOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironmentRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironmentRequest type DeleteComputeEnvironmentInput struct { _ struct{} `type:"structure"` @@ -2771,7 +2911,7 @@ func (s *DeleteComputeEnvironmentInput) SetComputeEnvironment(v string) *DeleteC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironmentResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironmentResponse type DeleteComputeEnvironmentOutput struct { _ struct{} `type:"structure"` } @@ -2786,7 +2926,7 @@ func (s DeleteComputeEnvironmentOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueueRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueueRequest type DeleteJobQueueInput struct { _ struct{} `type:"structure"` @@ -2825,7 +2965,7 @@ func (s *DeleteJobQueueInput) SetJobQueue(v string) *DeleteJobQueueInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueueResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueueResponse type DeleteJobQueueOutput struct { _ struct{} `type:"structure"` } @@ -2840,7 +2980,7 @@ func (s DeleteJobQueueOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinitionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinitionRequest type DeregisterJobDefinitionInput struct { _ struct{} `type:"structure"` @@ -2880,7 +3020,7 @@ func (s *DeregisterJobDefinitionInput) SetJobDefinition(v string) *DeregisterJob return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinitionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinitionResponse type DeregisterJobDefinitionOutput struct { _ struct{} `type:"structure"` } @@ -2895,7 +3035,7 @@ func (s DeregisterJobDefinitionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironmentsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironmentsRequest type DescribeComputeEnvironmentsInput struct { _ struct{} `type:"structure"` @@ -2952,7 +3092,7 @@ func (s *DescribeComputeEnvironmentsInput) SetNextToken(v string) *DescribeCompu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironmentsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironmentsResponse type DescribeComputeEnvironmentsOutput struct { _ struct{} `type:"structure"` @@ -2988,7 +3128,7 @@ func (s *DescribeComputeEnvironmentsOutput) SetNextToken(v string) *DescribeComp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitionsRequest type DescribeJobDefinitionsInput struct { _ struct{} `type:"structure"` @@ -3062,7 +3202,7 @@ func (s *DescribeJobDefinitionsInput) SetStatus(v string) *DescribeJobDefinition return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitionsResponse type DescribeJobDefinitionsOutput struct { _ struct{} `type:"structure"` @@ -3098,7 +3238,7 @@ func (s *DescribeJobDefinitionsOutput) SetNextToken(v string) *DescribeJobDefini return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueuesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueuesRequest type DescribeJobQueuesInput struct { _ struct{} `type:"structure"` @@ -3154,7 +3294,7 @@ func (s *DescribeJobQueuesInput) SetNextToken(v string) *DescribeJobQueuesInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueuesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueuesResponse type DescribeJobQueuesOutput struct { _ struct{} `type:"structure"` @@ -3190,7 +3330,7 @@ func (s *DescribeJobQueuesOutput) SetNextToken(v string) *DescribeJobQueuesOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobsRequest type DescribeJobsInput struct { _ struct{} `type:"structure"` @@ -3229,7 +3369,7 @@ func (s *DescribeJobsInput) SetJobs(v []*string) *DescribeJobsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobsResponse type DescribeJobsOutput struct { _ struct{} `type:"structure"` @@ -3258,7 +3398,7 @@ func (s *DescribeJobsOutput) SetJobs(v []*JobDetail) *DescribeJobsOutput { // is empty, then the Docker daemon assigns a host path for your data volume, // but the data is not guaranteed to persist after the containers associated // with it stop running. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Host +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Host type Host struct { _ struct{} `type:"structure"` @@ -3289,7 +3429,7 @@ func (s *Host) SetSourcePath(v string) *Host { } // An object representing an AWS Batch job definition. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDefinition type JobDefinition struct { _ struct{} `type:"structure"` @@ -3389,12 +3529,15 @@ func (s *JobDefinition) SetType(v string) *JobDefinition { } // An object representing an AWS Batch job dependency. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDependency +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDependency type JobDependency struct { _ struct{} `type:"structure"` // The job ID of the AWS Batch job associated with this dependency. JobId *string `locationName:"jobId" type:"string"` + + // The type of the job dependency. + Type *string `locationName:"type" type:"string" enum:"ArrayJobDependency"` } // String returns the string representation @@ -3413,11 +3556,20 @@ func (s *JobDependency) SetJobId(v string) *JobDependency { return s } +// SetType sets the Type field's value. +func (s *JobDependency) SetType(v string) *JobDependency { + s.Type = &v + return s +} + // An object representing an AWS Batch job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDetail type JobDetail struct { _ struct{} `type:"structure"` + // The array properties of the job, if it is an array job. + ArrayProperties *ArrayPropertiesDetail `locationName:"arrayProperties" type:"structure"` + // A list of job attempts associated with this job. Attempts []*AttemptDetail `locationName:"attempts" type:"list"` @@ -3425,8 +3577,10 @@ type JobDetail struct { // the job. Container *ContainerDetail `locationName:"container" type:"structure"` - // The Unix timestamp for when the job was created (when the task entered the - // PENDING state). + // The Unix time stamp for when the job was created. For non-array jobs and + // parent array jobs, this is when the job entered the SUBMITTED state (at the + // time SubmitJob was called). For array child jobs, this is when the child + // job was spawned by its parent and entered the PENDING state. CreatedAt *int64 `locationName:"createdAt" type:"long"` // A list of job names or IDs on which this job depends. @@ -3460,8 +3614,8 @@ type JobDetail struct { // The retry strategy to use for this job if an attempt fails. RetryStrategy *RetryStrategy `locationName:"retryStrategy" type:"structure"` - // The Unix timestamp for when the job was started (when the task transitioned - // from the PENDING state to the RUNNING state). + // The Unix time stamp for when the job was started (when the job transitioned + // from the STARTING state to the RUNNING state). // // StartedAt is a required field StartedAt *int64 `locationName:"startedAt" type:"long" required:"true"` @@ -3475,8 +3629,8 @@ type JobDetail struct { // status of the job. StatusReason *string `locationName:"statusReason" type:"string"` - // The Unix timestamp for when the job was stopped (when the task transitioned - // from the RUNNING state to the STOPPED state). + // The Unix time stamp for when the job was stopped (when the job transitioned + // from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED). StoppedAt *int64 `locationName:"stoppedAt" type:"long"` } @@ -3490,6 +3644,12 @@ func (s JobDetail) GoString() string { return s.String() } +// SetArrayProperties sets the ArrayProperties field's value. +func (s *JobDetail) SetArrayProperties(v *ArrayPropertiesDetail) *JobDetail { + s.ArrayProperties = v + return s +} + // SetAttempts sets the Attempts field's value. func (s *JobDetail) SetAttempts(v []*AttemptDetail) *JobDetail { s.Attempts = v @@ -3575,7 +3735,7 @@ func (s *JobDetail) SetStoppedAt(v int64) *JobDetail { } // An object representing the details of an AWS Batch job queue. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobQueueDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobQueueDetail type JobQueueDetail struct { _ struct{} `type:"structure"` @@ -3667,10 +3827,23 @@ func (s *JobQueueDetail) SetStatusReason(v string) *JobQueueDetail { } // An object representing summary details of a job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobSummary type JobSummary struct { _ struct{} `type:"structure"` + // The array properties of the job, if it is an array job. + ArrayProperties *ArrayPropertiesSummary `locationName:"arrayProperties" type:"structure"` + + // An object representing the details of the container that is associated with + // the job. + Container *ContainerSummary `locationName:"container" type:"structure"` + + // The Unix time stamp for when the job was created. For non-array jobs and + // parent array jobs, this is when the job entered the SUBMITTED state (at the + // time SubmitJob was called). For array child jobs, this is when the child + // job was spawned by its parent and entered the PENDING state. + CreatedAt *int64 `locationName:"createdAt" type:"long"` + // The ID of the job. // // JobId is a required field @@ -3680,6 +3853,21 @@ type JobSummary struct { // // JobName is a required field JobName *string `locationName:"jobName" type:"string" required:"true"` + + // The Unix time stamp for when the job was started (when the job transitioned + // from the STARTING state to the RUNNING state). + StartedAt *int64 `locationName:"startedAt" type:"long"` + + // The current status for the job. + Status *string `locationName:"status" type:"string" enum:"JobStatus"` + + // A short, human-readable string to provide additional details about the current + // status of the job. + StatusReason *string `locationName:"statusReason" type:"string"` + + // The Unix time stamp for when the job was stopped (when the job transitioned + // from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED). + StoppedAt *int64 `locationName:"stoppedAt" type:"long"` } // String returns the string representation @@ -3692,6 +3880,24 @@ func (s JobSummary) GoString() string { return s.String() } +// SetArrayProperties sets the ArrayProperties field's value. +func (s *JobSummary) SetArrayProperties(v *ArrayPropertiesSummary) *JobSummary { + s.ArrayProperties = v + return s +} + +// SetContainer sets the Container field's value. +func (s *JobSummary) SetContainer(v *ContainerSummary) *JobSummary { + s.Container = v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *JobSummary) SetCreatedAt(v int64) *JobSummary { + s.CreatedAt = &v + return s +} + // SetJobId sets the JobId field's value. func (s *JobSummary) SetJobId(v string) *JobSummary { s.JobId = &v @@ -3704,16 +3910,40 @@ func (s *JobSummary) SetJobName(v string) *JobSummary { return s } +// SetStartedAt sets the StartedAt field's value. +func (s *JobSummary) SetStartedAt(v int64) *JobSummary { + s.StartedAt = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *JobSummary) SetStatus(v string) *JobSummary { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *JobSummary) SetStatusReason(v string) *JobSummary { + s.StatusReason = &v + return s +} + +// SetStoppedAt sets the StoppedAt field's value. +func (s *JobSummary) SetStoppedAt(v int64) *JobSummary { + s.StoppedAt = &v + return s +} + // A key-value pair object. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/KeyValuePair +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/KeyValuePair type KeyValuePair struct { _ struct{} `type:"structure"` - // The name of the key value pair. For environment variables, this is the name + // The name of the key-value pair. For environment variables, this is the name // of the environment variable. Name *string `locationName:"name" type:"string"` - // The value of the key value pair. For environment variables, this is the value + // The value of the key-value pair. For environment variables, this is the value // of the environment variable. Value *string `locationName:"value" type:"string"` } @@ -3740,15 +3970,17 @@ func (s *KeyValuePair) SetValue(v string) *KeyValuePair { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobsRequest type ListJobsInput struct { _ struct{} `type:"structure"` + // The job ID for an array job. Specifying an array job ID with this parameter + // lists all child jobs from within the specified array. + ArrayJobId *string `locationName:"arrayJobId" type:"string"` + // The name or full Amazon Resource Name (ARN) of the job queue with which to // list jobs. - // - // JobQueue is a required field - JobQueue *string `locationName:"jobQueue" type:"string" required:"true"` + JobQueue *string `locationName:"jobQueue" type:"string"` // The job status with which to filter jobs in the specified queue. If you do // not specify a status, only RUNNING jobs are returned. @@ -3783,17 +4015,10 @@ func (s ListJobsInput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListJobsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListJobsInput"} - if s.JobQueue == nil { - invalidParams.Add(request.NewErrParamRequired("JobQueue")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetArrayJobId sets the ArrayJobId field's value. +func (s *ListJobsInput) SetArrayJobId(v string) *ListJobsInput { + s.ArrayJobId = &v + return s } // SetJobQueue sets the JobQueue field's value. @@ -3820,7 +4045,7 @@ func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobsResponse type ListJobsOutput struct { _ struct{} `type:"structure"` @@ -3860,7 +4085,7 @@ func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput { // Details on a Docker volume mount point that is used in a job's container // properties. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/MountPoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/MountPoint type MountPoint struct { _ struct{} `type:"structure"` @@ -3903,7 +4128,7 @@ func (s *MountPoint) SetSourceVolume(v string) *MountPoint { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinitionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinitionRequest type RegisterJobDefinitionInput struct { _ struct{} `type:"structure"` @@ -3994,7 +4219,7 @@ func (s *RegisterJobDefinitionInput) SetType(v string) *RegisterJobDefinitionInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinitionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinitionResponse type RegisterJobDefinitionOutput struct { _ struct{} `type:"structure"` @@ -4043,13 +4268,13 @@ func (s *RegisterJobDefinitionOutput) SetRevision(v int64) *RegisterJobDefinitio } // The retry strategy associated with a job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RetryStrategy +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RetryStrategy type RetryStrategy struct { _ struct{} `type:"structure"` // The number of times to move a job to the RUNNABLE status. You may specify - // between 1 and 10 attempts. If attempts is greater than one, the job is retried - // if it fails until it has moved to RUNNABLE that many times. + // between 1 and 10 attempts. If the value of attempts is greater than one, + // the job is retried if it fails until it has moved to RUNNABLE that many times. Attempts *int64 `locationName:"attempts" type:"integer"` } @@ -4069,10 +4294,17 @@ func (s *RetryStrategy) SetAttempts(v int64) *RetryStrategy { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJobRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJobRequest type SubmitJobInput struct { _ struct{} `type:"structure"` + // The array properties for the submitted job, such as the size of the array. + // The array size can be between 2 and 10,000. If you specify array properties + // for a job, it becomes an array job. For more information, see Array Jobs + // (http://docs.aws.amazon.com/batch/latest/userguide/array_jobs.html) in the + // AWS Batch User Guide. + ArrayProperties *ArrayProperties `locationName:"arrayProperties" type:"structure"` + // A list of container overrides in JSON format that specify the name of a container // in the specified job definition and the overrides it should receive. You // can override the default command for a container (that is specified in the @@ -4082,8 +4314,12 @@ type SubmitJobInput struct { // an environment override. ContainerOverrides *ContainerOverrides `locationName:"containerOverrides" type:"structure"` - // A list of job IDs on which this job depends. A job can depend upon a maximum - // of 20 jobs. + // A list of dependencies for the job. A job can depend upon a maximum of 20 + // jobs. You can specify a SEQUENTIAL type dependency without specifying a job + // ID for array jobs so that each child array job completes sequentially, starting + // at index 0. You can also specify an N_TO_N type dependency with a job ID + // for array jobs so that each index child of this job must wait for the corresponding + // index child of each dependency to complete before it can begin. DependsOn []*JobDependency `locationName:"dependsOn" type:"list"` // The job definition used by this job. This value can be either a name:revision @@ -4099,8 +4335,8 @@ type SubmitJobInput struct { // JobName is a required field JobName *string `locationName:"jobName" type:"string" required:"true"` - // The job queue into which the job will be submitted. You can specify either - // the name or the Amazon Resource Name (ARN) of the queue. + // The job queue into which the job is submitted. You can specify either the + // name or the Amazon Resource Name (ARN) of the queue. // // JobQueue is a required field JobQueue *string `locationName:"jobQueue" type:"string" required:"true"` @@ -4146,6 +4382,12 @@ func (s *SubmitJobInput) Validate() error { return nil } +// SetArrayProperties sets the ArrayProperties field's value. +func (s *SubmitJobInput) SetArrayProperties(v *ArrayProperties) *SubmitJobInput { + s.ArrayProperties = v + return s +} + // SetContainerOverrides sets the ContainerOverrides field's value. func (s *SubmitJobInput) SetContainerOverrides(v *ContainerOverrides) *SubmitJobInput { s.ContainerOverrides = v @@ -4188,7 +4430,7 @@ func (s *SubmitJobInput) SetRetryStrategy(v *RetryStrategy) *SubmitJobInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJobResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJobResponse type SubmitJobOutput struct { _ struct{} `type:"structure"` @@ -4225,7 +4467,7 @@ func (s *SubmitJobOutput) SetJobName(v string) *SubmitJobOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJobRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJobRequest type TerminateJobInput struct { _ struct{} `type:"structure"` @@ -4234,7 +4476,7 @@ type TerminateJobInput struct { // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` - // A message to attach to the job that explains the reason for cancelling it. + // A message to attach to the job that explains the reason for canceling it. // This message is returned by future DescribeJobs operations on the job. This // message is also recorded in the AWS Batch activity logs. // @@ -4280,7 +4522,7 @@ func (s *TerminateJobInput) SetReason(v string) *TerminateJobInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJobResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJobResponse type TerminateJobOutput struct { _ struct{} `type:"structure"` } @@ -4296,7 +4538,7 @@ func (s TerminateJobOutput) GoString() string { } // The ulimit settings to pass to the container. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Ulimit +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Ulimit type Ulimit struct { _ struct{} `type:"structure"` @@ -4363,7 +4605,7 @@ func (s *Ulimit) SetSoftLimit(v int64) *Ulimit { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironmentRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironmentRequest type UpdateComputeEnvironmentInput struct { _ struct{} `type:"structure"` @@ -4444,7 +4686,7 @@ func (s *UpdateComputeEnvironmentInput) SetState(v string) *UpdateComputeEnviron return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironmentResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironmentResponse type UpdateComputeEnvironmentOutput struct { _ struct{} `type:"structure"` @@ -4477,7 +4719,7 @@ func (s *UpdateComputeEnvironmentOutput) SetComputeEnvironmentName(v string) *Up return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueueRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueueRequest type UpdateJobQueueInput struct { _ struct{} `type:"structure"` @@ -4559,7 +4801,7 @@ func (s *UpdateJobQueueInput) SetState(v string) *UpdateJobQueueInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueueResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueueResponse type UpdateJobQueueOutput struct { _ struct{} `type:"structure"` @@ -4593,14 +4835,14 @@ func (s *UpdateJobQueueOutput) SetJobQueueName(v string) *UpdateJobQueueOutput { } // A data volume used in a job's container properties. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Volume +// See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Volume type Volume struct { _ struct{} `type:"structure"` // The contents of the host parameter determine whether your data volume persists // on the host container instance and where it is stored. If the host parameter - // is empty, then the Docker daemon assigns a host path for your data volume, - // but the data is not guaranteed to persist after the containers associated + // is empty, then the Docker daemon assigns a host path for your data volume. + // However, the data is not guaranteed to persist after the containers associated // with it stop running. Host *Host `locationName:"host" type:"structure"` @@ -4632,6 +4874,14 @@ func (s *Volume) SetName(v string) *Volume { return s } +const ( + // ArrayJobDependencyNToN is a ArrayJobDependency enum value + ArrayJobDependencyNToN = "N_TO_N" + + // ArrayJobDependencySequential is a ArrayJobDependency enum value + ArrayJobDependencySequential = "SEQUENTIAL" +) + const ( // CEStateEnabled is a CEState enum value CEStateEnabled = "ENABLED" diff --git a/vendor/github.com/aws/aws-sdk-go/service/batch/errors.go b/vendor/github.com/aws/aws-sdk-go/service/batch/errors.go index 8ad5a3bb020..eb308658602 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/batch/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/batch/errors.go @@ -8,8 +8,8 @@ const ( // "ClientException". // // These errors are usually caused by a client action, such as using an action - // or resource on behalf of a user that doesn't have permission to use the action - // or resource, or specifying an identifier that is not valid. + // or resource on behalf of a user that doesn't have permissions to use the + // action or resource, or specifying an identifier that is not valid. ErrCodeClientException = "ClientException" // ErrCodeServerException for service response error code diff --git a/vendor/github.com/aws/aws-sdk-go/service/budgets/api.go b/vendor/github.com/aws/aws-sdk-go/service/budgets/api.go index 8fcf9381f62..2490161b2c1 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/budgets/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/budgets/api.go @@ -1179,9 +1179,7 @@ type Budget struct { CostFilters map[string][]*string `type:"map"` // This includes the options for getting the cost of a budget. - // - // CostTypes is a required field - CostTypes *CostTypes `type:"structure" required:"true"` + CostTypes *CostTypes `type:"structure"` // A time period indicating the start date and end date of a budget. // @@ -1216,9 +1214,6 @@ func (s *Budget) Validate() error { if s.BudgetType == nil { invalidParams.Add(request.NewErrParamRequired("BudgetType")) } - if s.CostTypes == nil { - invalidParams.Add(request.NewErrParamRequired("CostTypes")) - } if s.TimePeriod == nil { invalidParams.Add(request.NewErrParamRequired("TimePeriod")) } @@ -1235,11 +1230,6 @@ func (s *Budget) Validate() error { invalidParams.AddNested("CalculatedSpend", err.(request.ErrInvalidParams)) } } - if s.CostTypes != nil { - if err := s.CostTypes.Validate(); err != nil { - invalidParams.AddNested("CostTypes", err.(request.ErrInvalidParams)) - } - } if s.TimePeriod != nil { if err := s.TimePeriod.Validate(); err != nil { invalidParams.AddNested("TimePeriod", err.(request.ErrInvalidParams)) @@ -1364,20 +1354,32 @@ func (s *CalculatedSpend) SetForecastedSpend(v *Spend) *CalculatedSpend { type CostTypes struct { _ struct{} `type:"structure"` - // A generic boolean value. - // - // IncludeSubscription is a required field - IncludeSubscription *bool `type:"boolean" required:"true"` + // A boolean value whether to include credits in the cost budget. + IncludeCredit *bool `type:"boolean"` - // A generic boolean value. - // - // IncludeTax is a required field - IncludeTax *bool `type:"boolean" required:"true"` + // A boolean value whether to include other subscription costs in the cost budget. + IncludeOtherSubscription *bool `type:"boolean"` - // A generic boolean value. - // - // UseBlended is a required field - UseBlended *bool `type:"boolean" required:"true"` + // A boolean value whether to include recurring costs in the cost budget. + IncludeRecurring *bool `type:"boolean"` + + // A boolean value whether to include refunds in the cost budget. + IncludeRefund *bool `type:"boolean"` + + // A boolean value whether to include subscriptions in the cost budget. + IncludeSubscription *bool `type:"boolean"` + + // A boolean value whether to include support costs in the cost budget. + IncludeSupport *bool `type:"boolean"` + + // A boolean value whether to include tax in the cost budget. + IncludeTax *bool `type:"boolean"` + + // A boolean value whether to include upfront costs in the cost budget. + IncludeUpfront *bool `type:"boolean"` + + // A boolean value whether to use blended costs in the cost budget. + UseBlended *bool `type:"boolean"` } // String returns the string representation @@ -1390,23 +1392,28 @@ func (s CostTypes) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CostTypes) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CostTypes"} - if s.IncludeSubscription == nil { - invalidParams.Add(request.NewErrParamRequired("IncludeSubscription")) - } - if s.IncludeTax == nil { - invalidParams.Add(request.NewErrParamRequired("IncludeTax")) - } - if s.UseBlended == nil { - invalidParams.Add(request.NewErrParamRequired("UseBlended")) - } +// SetIncludeCredit sets the IncludeCredit field's value. +func (s *CostTypes) SetIncludeCredit(v bool) *CostTypes { + s.IncludeCredit = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetIncludeOtherSubscription sets the IncludeOtherSubscription field's value. +func (s *CostTypes) SetIncludeOtherSubscription(v bool) *CostTypes { + s.IncludeOtherSubscription = &v + return s +} + +// SetIncludeRecurring sets the IncludeRecurring field's value. +func (s *CostTypes) SetIncludeRecurring(v bool) *CostTypes { + s.IncludeRecurring = &v + return s +} + +// SetIncludeRefund sets the IncludeRefund field's value. +func (s *CostTypes) SetIncludeRefund(v bool) *CostTypes { + s.IncludeRefund = &v + return s } // SetIncludeSubscription sets the IncludeSubscription field's value. @@ -1415,12 +1422,24 @@ func (s *CostTypes) SetIncludeSubscription(v bool) *CostTypes { return s } +// SetIncludeSupport sets the IncludeSupport field's value. +func (s *CostTypes) SetIncludeSupport(v bool) *CostTypes { + s.IncludeSupport = &v + return s +} + // SetIncludeTax sets the IncludeTax field's value. func (s *CostTypes) SetIncludeTax(v bool) *CostTypes { s.IncludeTax = &v return s } +// SetIncludeUpfront sets the IncludeUpfront field's value. +func (s *CostTypes) SetIncludeUpfront(v bool) *CostTypes { + s.IncludeUpfront = &v + return s +} + // SetUseBlended sets the UseBlended field's value. func (s *CostTypes) SetUseBlended(v bool) *CostTypes { s.UseBlended = &v @@ -2659,10 +2678,10 @@ func (s *Spend) SetUnit(v string) *Spend { type Subscriber struct { _ struct{} `type:"structure"` - // A generic String. + // String containing email or sns topic for the subscriber address. // // Address is a required field - Address *string `type:"string" required:"true"` + Address *string `min:"1" type:"string" required:"true"` // The subscription type of the subscriber. It can be SMS or EMAIL. // @@ -2686,6 +2705,9 @@ func (s *Subscriber) Validate() error { if s.Address == nil { invalidParams.Add(request.NewErrParamRequired("Address")) } + if s.Address != nil && len(*s.Address) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Address", 1)) + } if s.SubscriptionType == nil { invalidParams.Add(request.NewErrParamRequired("SubscriptionType")) } diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudformation/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudformation/api.go index 86c60b3bdb4..7629f1cf726 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudformation/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudformation/api.go @@ -38,7 +38,7 @@ const opCancelUpdateStack = "CancelUpdateStack" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStack func (c *CloudFormation) CancelUpdateStackRequest(input *CancelUpdateStackInput) (req *request.Request, output *CancelUpdateStackOutput) { op := &request.Operation{ Name: opCancelUpdateStack, @@ -75,7 +75,7 @@ func (c *CloudFormation) CancelUpdateStackRequest(input *CancelUpdateStackInput) // * ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" // A client request token already exists. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStack func (c *CloudFormation) CancelUpdateStack(input *CancelUpdateStackInput) (*CancelUpdateStackOutput, error) { req, out := c.CancelUpdateStackRequest(input) return out, req.Send() @@ -122,7 +122,7 @@ const opContinueUpdateRollback = "ContinueUpdateRollback" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollback +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollback func (c *CloudFormation) ContinueUpdateRollbackRequest(input *ContinueUpdateRollbackInput) (req *request.Request, output *ContinueUpdateRollbackOutput) { op := &request.Operation{ Name: opContinueUpdateRollback, @@ -166,7 +166,7 @@ func (c *CloudFormation) ContinueUpdateRollbackRequest(input *ContinueUpdateRoll // * ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" // A client request token already exists. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollback +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollback func (c *CloudFormation) ContinueUpdateRollback(input *ContinueUpdateRollbackInput) (*ContinueUpdateRollbackOutput, error) { req, out := c.ContinueUpdateRollbackRequest(input) return out, req.Send() @@ -213,7 +213,7 @@ const opCreateChangeSet = "CreateChangeSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet func (c *CloudFormation) CreateChangeSetRequest(input *CreateChangeSetInput) (req *request.Request, output *CreateChangeSetOutput) { op := &request.Operation{ Name: opCreateChangeSet, @@ -274,7 +274,7 @@ func (c *CloudFormation) CreateChangeSetRequest(input *CreateChangeSetInput) (re // // For information on stack set limitations, see Limitations of StackSets (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-limitations.html). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet func (c *CloudFormation) CreateChangeSet(input *CreateChangeSetInput) (*CreateChangeSetOutput, error) { req, out := c.CreateChangeSetRequest(input) return out, req.Send() @@ -321,7 +321,7 @@ const opCreateStack = "CreateStack" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStack func (c *CloudFormation) CreateStackRequest(input *CreateStackInput) (req *request.Request, output *CreateStackOutput) { op := &request.Operation{ Name: opCreateStack, @@ -367,7 +367,7 @@ func (c *CloudFormation) CreateStackRequest(input *CreateStackInput) (req *reque // The template contains resources with capabilities that weren't specified // in the Capabilities parameter. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStack func (c *CloudFormation) CreateStack(input *CreateStackInput) (*CreateStackOutput, error) { req, out := c.CreateStackRequest(input) return out, req.Send() @@ -414,7 +414,7 @@ const opCreateStackInstances = "CreateStackInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstances func (c *CloudFormation) CreateStackInstancesRequest(input *CreateStackInstancesInput) (req *request.Request, output *CreateStackInstancesOutput) { op := &request.Operation{ Name: opCreateStackInstances, @@ -468,7 +468,7 @@ func (c *CloudFormation) CreateStackInstancesRequest(input *CreateStackInstances // // For information on stack set limitations, see Limitations of StackSets (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-limitations.html). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstances func (c *CloudFormation) CreateStackInstances(input *CreateStackInstancesInput) (*CreateStackInstancesOutput, error) { req, out := c.CreateStackInstancesRequest(input) return out, req.Send() @@ -515,7 +515,7 @@ const opCreateStackSet = "CreateStackSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSet func (c *CloudFormation) CreateStackSetRequest(input *CreateStackSetInput) (req *request.Request, output *CreateStackSetOutput) { op := &request.Operation{ Name: opCreateStackSet, @@ -555,7 +555,7 @@ func (c *CloudFormation) CreateStackSetRequest(input *CreateStackSetInput) (req // // For information on stack set limitations, see Limitations of StackSets (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-limitations.html). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSet func (c *CloudFormation) CreateStackSet(input *CreateStackSetInput) (*CreateStackSetOutput, error) { req, out := c.CreateStackSetRequest(input) return out, req.Send() @@ -602,7 +602,7 @@ const opDeleteChangeSet = "DeleteChangeSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSet func (c *CloudFormation) DeleteChangeSetRequest(input *DeleteChangeSetInput) (req *request.Request, output *DeleteChangeSetOutput) { op := &request.Operation{ Name: opDeleteChangeSet, @@ -640,7 +640,7 @@ func (c *CloudFormation) DeleteChangeSetRequest(input *DeleteChangeSetInput) (re // the change set status might be CREATE_IN_PROGRESS, or the stack status might // be UPDATE_IN_PROGRESS. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSet func (c *CloudFormation) DeleteChangeSet(input *DeleteChangeSetInput) (*DeleteChangeSetOutput, error) { req, out := c.DeleteChangeSetRequest(input) return out, req.Send() @@ -687,7 +687,7 @@ const opDeleteStack = "DeleteStack" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStack func (c *CloudFormation) DeleteStackRequest(input *DeleteStackInput) (req *request.Request, output *DeleteStackOutput) { op := &request.Operation{ Name: opDeleteStack, @@ -723,7 +723,7 @@ func (c *CloudFormation) DeleteStackRequest(input *DeleteStackInput) (req *reque // * ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" // A client request token already exists. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStack func (c *CloudFormation) DeleteStack(input *DeleteStackInput) (*DeleteStackOutput, error) { req, out := c.DeleteStackRequest(input) return out, req.Send() @@ -770,7 +770,7 @@ const opDeleteStackInstances = "DeleteStackInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstances func (c *CloudFormation) DeleteStackInstancesRequest(input *DeleteStackInstancesInput) (req *request.Request, output *DeleteStackInstancesOutput) { op := &request.Operation{ Name: opDeleteStackInstances, @@ -816,7 +816,7 @@ func (c *CloudFormation) DeleteStackInstancesRequest(input *DeleteStackInstances // * ErrCodeInvalidOperationException "InvalidOperationException" // The specified operation isn't valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstances func (c *CloudFormation) DeleteStackInstances(input *DeleteStackInstancesInput) (*DeleteStackInstancesOutput, error) { req, out := c.DeleteStackInstancesRequest(input) return out, req.Send() @@ -863,7 +863,7 @@ const opDeleteStackSet = "DeleteStackSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSet func (c *CloudFormation) DeleteStackSetRequest(input *DeleteStackSetInput) (req *request.Request, output *DeleteStackSetOutput) { op := &request.Operation{ Name: opDeleteStackSet, @@ -903,7 +903,7 @@ func (c *CloudFormation) DeleteStackSetRequest(input *DeleteStackSetInput) (req // Another operation is currently in progress for this stack set. Only one operation // can be performed for a stack set at a given time. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSet func (c *CloudFormation) DeleteStackSet(input *DeleteStackSetInput) (*DeleteStackSetOutput, error) { req, out := c.DeleteStackSetRequest(input) return out, req.Send() @@ -950,7 +950,7 @@ const opDescribeAccountLimits = "DescribeAccountLimits" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimits func (c *CloudFormation) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (req *request.Request, output *DescribeAccountLimitsOutput) { op := &request.Operation{ Name: opDescribeAccountLimits, @@ -978,7 +978,7 @@ func (c *CloudFormation) DescribeAccountLimitsRequest(input *DescribeAccountLimi // // See the AWS API reference guide for AWS CloudFormation's // API operation DescribeAccountLimits for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimits func (c *CloudFormation) DescribeAccountLimits(input *DescribeAccountLimitsInput) (*DescribeAccountLimitsOutput, error) { req, out := c.DescribeAccountLimitsRequest(input) return out, req.Send() @@ -1025,7 +1025,7 @@ const opDescribeChangeSet = "DescribeChangeSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSet func (c *CloudFormation) DescribeChangeSetRequest(input *DescribeChangeSetInput) (req *request.Request, output *DescribeChangeSetOutput) { op := &request.Operation{ Name: opDescribeChangeSet, @@ -1061,7 +1061,7 @@ func (c *CloudFormation) DescribeChangeSetRequest(input *DescribeChangeSetInput) // The specified change set name or ID doesn't exit. To view valid change sets // for a stack, use the ListChangeSets action. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSet func (c *CloudFormation) DescribeChangeSet(input *DescribeChangeSetInput) (*DescribeChangeSetOutput, error) { req, out := c.DescribeChangeSetRequest(input) return out, req.Send() @@ -1108,7 +1108,7 @@ const opDescribeStackEvents = "DescribeStackEvents" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEvents func (c *CloudFormation) DescribeStackEventsRequest(input *DescribeStackEventsInput) (req *request.Request, output *DescribeStackEventsOutput) { op := &request.Operation{ Name: opDescribeStackEvents, @@ -1146,7 +1146,7 @@ func (c *CloudFormation) DescribeStackEventsRequest(input *DescribeStackEventsIn // // See the AWS API reference guide for AWS CloudFormation's // API operation DescribeStackEvents for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEvents func (c *CloudFormation) DescribeStackEvents(input *DescribeStackEventsInput) (*DescribeStackEventsOutput, error) { req, out := c.DescribeStackEventsRequest(input) return out, req.Send() @@ -1243,7 +1243,7 @@ const opDescribeStackInstance = "DescribeStackInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstance func (c *CloudFormation) DescribeStackInstanceRequest(input *DescribeStackInstanceInput) (req *request.Request, output *DescribeStackInstanceOutput) { op := &request.Operation{ Name: opDescribeStackInstance, @@ -1282,7 +1282,7 @@ func (c *CloudFormation) DescribeStackInstanceRequest(input *DescribeStackInstan // * ErrCodeStackInstanceNotFoundException "StackInstanceNotFoundException" // The specified stack instance doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstance func (c *CloudFormation) DescribeStackInstance(input *DescribeStackInstanceInput) (*DescribeStackInstanceOutput, error) { req, out := c.DescribeStackInstanceRequest(input) return out, req.Send() @@ -1329,7 +1329,7 @@ const opDescribeStackResource = "DescribeStackResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResource func (c *CloudFormation) DescribeStackResourceRequest(input *DescribeStackResourceInput) (req *request.Request, output *DescribeStackResourceOutput) { op := &request.Operation{ Name: opDescribeStackResource, @@ -1359,7 +1359,7 @@ func (c *CloudFormation) DescribeStackResourceRequest(input *DescribeStackResour // // See the AWS API reference guide for AWS CloudFormation's // API operation DescribeStackResource for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResource func (c *CloudFormation) DescribeStackResource(input *DescribeStackResourceInput) (*DescribeStackResourceOutput, error) { req, out := c.DescribeStackResourceRequest(input) return out, req.Send() @@ -1406,7 +1406,7 @@ const opDescribeStackResources = "DescribeStackResources" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResources +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResources func (c *CloudFormation) DescribeStackResourcesRequest(input *DescribeStackResourcesInput) (req *request.Request, output *DescribeStackResourcesOutput) { op := &request.Operation{ Name: opDescribeStackResources, @@ -1450,7 +1450,7 @@ func (c *CloudFormation) DescribeStackResourcesRequest(input *DescribeStackResou // // See the AWS API reference guide for AWS CloudFormation's // API operation DescribeStackResources for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResources +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResources func (c *CloudFormation) DescribeStackResources(input *DescribeStackResourcesInput) (*DescribeStackResourcesOutput, error) { req, out := c.DescribeStackResourcesRequest(input) return out, req.Send() @@ -1497,7 +1497,7 @@ const opDescribeStackSet = "DescribeStackSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSet func (c *CloudFormation) DescribeStackSetRequest(input *DescribeStackSetInput) (req *request.Request, output *DescribeStackSetOutput) { op := &request.Operation{ Name: opDescribeStackSet, @@ -1529,7 +1529,7 @@ func (c *CloudFormation) DescribeStackSetRequest(input *DescribeStackSetInput) ( // * ErrCodeStackSetNotFoundException "StackSetNotFoundException" // The specified stack set doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSet func (c *CloudFormation) DescribeStackSet(input *DescribeStackSetInput) (*DescribeStackSetOutput, error) { req, out := c.DescribeStackSetRequest(input) return out, req.Send() @@ -1576,7 +1576,7 @@ const opDescribeStackSetOperation = "DescribeStackSetOperation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperation +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperation func (c *CloudFormation) DescribeStackSetOperationRequest(input *DescribeStackSetOperationInput) (req *request.Request, output *DescribeStackSetOperationOutput) { op := &request.Operation{ Name: opDescribeStackSetOperation, @@ -1611,7 +1611,7 @@ func (c *CloudFormation) DescribeStackSetOperationRequest(input *DescribeStackSe // * ErrCodeOperationNotFoundException "OperationNotFoundException" // The specified ID refers to an operation that doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperation +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperation func (c *CloudFormation) DescribeStackSetOperation(input *DescribeStackSetOperationInput) (*DescribeStackSetOperationOutput, error) { req, out := c.DescribeStackSetOperationRequest(input) return out, req.Send() @@ -1658,7 +1658,7 @@ const opDescribeStacks = "DescribeStacks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacks +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacks func (c *CloudFormation) DescribeStacksRequest(input *DescribeStacksInput) (req *request.Request, output *DescribeStacksOutput) { op := &request.Operation{ Name: opDescribeStacks, @@ -1694,7 +1694,7 @@ func (c *CloudFormation) DescribeStacksRequest(input *DescribeStacksInput) (req // // See the AWS API reference guide for AWS CloudFormation's // API operation DescribeStacks for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacks +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacks func (c *CloudFormation) DescribeStacks(input *DescribeStacksInput) (*DescribeStacksOutput, error) { req, out := c.DescribeStacksRequest(input) return out, req.Send() @@ -1791,7 +1791,7 @@ const opEstimateTemplateCost = "EstimateTemplateCost" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCost +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCost func (c *CloudFormation) EstimateTemplateCostRequest(input *EstimateTemplateCostInput) (req *request.Request, output *EstimateTemplateCostOutput) { op := &request.Operation{ Name: opEstimateTemplateCost, @@ -1820,7 +1820,7 @@ func (c *CloudFormation) EstimateTemplateCostRequest(input *EstimateTemplateCost // // See the AWS API reference guide for AWS CloudFormation's // API operation EstimateTemplateCost for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCost +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCost func (c *CloudFormation) EstimateTemplateCost(input *EstimateTemplateCostInput) (*EstimateTemplateCostOutput, error) { req, out := c.EstimateTemplateCostRequest(input) return out, req.Send() @@ -1867,7 +1867,7 @@ const opExecuteChangeSet = "ExecuteChangeSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSet func (c *CloudFormation) ExecuteChangeSetRequest(input *ExecuteChangeSetInput) (req *request.Request, output *ExecuteChangeSetOutput) { op := &request.Operation{ Name: opExecuteChangeSet, @@ -1923,7 +1923,7 @@ func (c *CloudFormation) ExecuteChangeSetRequest(input *ExecuteChangeSetInput) ( // * ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" // A client request token already exists. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSet func (c *CloudFormation) ExecuteChangeSet(input *ExecuteChangeSetInput) (*ExecuteChangeSetOutput, error) { req, out := c.ExecuteChangeSetRequest(input) return out, req.Send() @@ -1970,7 +1970,7 @@ const opGetStackPolicy = "GetStackPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicy func (c *CloudFormation) GetStackPolicyRequest(input *GetStackPolicyInput) (req *request.Request, output *GetStackPolicyOutput) { op := &request.Operation{ Name: opGetStackPolicy, @@ -1998,7 +1998,7 @@ func (c *CloudFormation) GetStackPolicyRequest(input *GetStackPolicyInput) (req // // See the AWS API reference guide for AWS CloudFormation's // API operation GetStackPolicy for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicy func (c *CloudFormation) GetStackPolicy(input *GetStackPolicyInput) (*GetStackPolicyOutput, error) { req, out := c.GetStackPolicyRequest(input) return out, req.Send() @@ -2045,7 +2045,7 @@ const opGetTemplate = "GetTemplate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplate func (c *CloudFormation) GetTemplateRequest(input *GetTemplateInput) (req *request.Request, output *GetTemplateOutput) { op := &request.Operation{ Name: opGetTemplate, @@ -2084,7 +2084,7 @@ func (c *CloudFormation) GetTemplateRequest(input *GetTemplateInput) (req *reque // The specified change set name or ID doesn't exit. To view valid change sets // for a stack, use the ListChangeSets action. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplate func (c *CloudFormation) GetTemplate(input *GetTemplateInput) (*GetTemplateOutput, error) { req, out := c.GetTemplateRequest(input) return out, req.Send() @@ -2131,7 +2131,7 @@ const opGetTemplateSummary = "GetTemplateSummary" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummary func (c *CloudFormation) GetTemplateSummaryRequest(input *GetTemplateSummaryInput) (req *request.Request, output *GetTemplateSummaryOutput) { op := &request.Operation{ Name: opGetTemplateSummary, @@ -2174,7 +2174,7 @@ func (c *CloudFormation) GetTemplateSummaryRequest(input *GetTemplateSummaryInpu // * ErrCodeStackSetNotFoundException "StackSetNotFoundException" // The specified stack set doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummary func (c *CloudFormation) GetTemplateSummary(input *GetTemplateSummaryInput) (*GetTemplateSummaryOutput, error) { req, out := c.GetTemplateSummaryRequest(input) return out, req.Send() @@ -2221,7 +2221,7 @@ const opListChangeSets = "ListChangeSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSets func (c *CloudFormation) ListChangeSetsRequest(input *ListChangeSetsInput) (req *request.Request, output *ListChangeSetsOutput) { op := &request.Operation{ Name: opListChangeSets, @@ -2250,7 +2250,7 @@ func (c *CloudFormation) ListChangeSetsRequest(input *ListChangeSetsInput) (req // // See the AWS API reference guide for AWS CloudFormation's // API operation ListChangeSets for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSets func (c *CloudFormation) ListChangeSets(input *ListChangeSetsInput) (*ListChangeSetsOutput, error) { req, out := c.ListChangeSetsRequest(input) return out, req.Send() @@ -2297,7 +2297,7 @@ const opListExports = "ListExports" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExports +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExports func (c *CloudFormation) ListExportsRequest(input *ListExportsInput) (req *request.Request, output *ListExportsOutput) { op := &request.Operation{ Name: opListExports, @@ -2336,7 +2336,7 @@ func (c *CloudFormation) ListExportsRequest(input *ListExportsInput) (req *reque // // See the AWS API reference guide for AWS CloudFormation's // API operation ListExports for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExports +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExports func (c *CloudFormation) ListExports(input *ListExportsInput) (*ListExportsOutput, error) { req, out := c.ListExportsRequest(input) return out, req.Send() @@ -2433,7 +2433,7 @@ const opListImports = "ListImports" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImports +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImports func (c *CloudFormation) ListImportsRequest(input *ListImportsInput) (req *request.Request, output *ListImportsOutput) { op := &request.Operation{ Name: opListImports, @@ -2472,7 +2472,7 @@ func (c *CloudFormation) ListImportsRequest(input *ListImportsInput) (req *reque // // See the AWS API reference guide for AWS CloudFormation's // API operation ListImports for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImports +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImports func (c *CloudFormation) ListImports(input *ListImportsInput) (*ListImportsOutput, error) { req, out := c.ListImportsRequest(input) return out, req.Send() @@ -2569,7 +2569,7 @@ const opListStackInstances = "ListStackInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstances func (c *CloudFormation) ListStackInstancesRequest(input *ListStackInstancesInput) (req *request.Request, output *ListStackInstancesOutput) { op := &request.Operation{ Name: opListStackInstances, @@ -2603,7 +2603,7 @@ func (c *CloudFormation) ListStackInstancesRequest(input *ListStackInstancesInpu // * ErrCodeStackSetNotFoundException "StackSetNotFoundException" // The specified stack set doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstances func (c *CloudFormation) ListStackInstances(input *ListStackInstancesInput) (*ListStackInstancesOutput, error) { req, out := c.ListStackInstancesRequest(input) return out, req.Send() @@ -2650,7 +2650,7 @@ const opListStackResources = "ListStackResources" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResources +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResources func (c *CloudFormation) ListStackResourcesRequest(input *ListStackResourcesInput) (req *request.Request, output *ListStackResourcesOutput) { op := &request.Operation{ Name: opListStackResources, @@ -2686,7 +2686,7 @@ func (c *CloudFormation) ListStackResourcesRequest(input *ListStackResourcesInpu // // See the AWS API reference guide for AWS CloudFormation's // API operation ListStackResources for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResources +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResources func (c *CloudFormation) ListStackResources(input *ListStackResourcesInput) (*ListStackResourcesOutput, error) { req, out := c.ListStackResourcesRequest(input) return out, req.Send() @@ -2783,7 +2783,7 @@ const opListStackSetOperationResults = "ListStackSetOperationResults" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResults +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResults func (c *CloudFormation) ListStackSetOperationResultsRequest(input *ListStackSetOperationResultsInput) (req *request.Request, output *ListStackSetOperationResultsOutput) { op := &request.Operation{ Name: opListStackSetOperationResults, @@ -2818,7 +2818,7 @@ func (c *CloudFormation) ListStackSetOperationResultsRequest(input *ListStackSet // * ErrCodeOperationNotFoundException "OperationNotFoundException" // The specified ID refers to an operation that doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResults +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResults func (c *CloudFormation) ListStackSetOperationResults(input *ListStackSetOperationResultsInput) (*ListStackSetOperationResultsOutput, error) { req, out := c.ListStackSetOperationResultsRequest(input) return out, req.Send() @@ -2865,7 +2865,7 @@ const opListStackSetOperations = "ListStackSetOperations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperations +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperations func (c *CloudFormation) ListStackSetOperationsRequest(input *ListStackSetOperationsInput) (req *request.Request, output *ListStackSetOperationsOutput) { op := &request.Operation{ Name: opListStackSetOperations, @@ -2897,7 +2897,7 @@ func (c *CloudFormation) ListStackSetOperationsRequest(input *ListStackSetOperat // * ErrCodeStackSetNotFoundException "StackSetNotFoundException" // The specified stack set doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperations +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperations func (c *CloudFormation) ListStackSetOperations(input *ListStackSetOperationsInput) (*ListStackSetOperationsOutput, error) { req, out := c.ListStackSetOperationsRequest(input) return out, req.Send() @@ -2944,7 +2944,7 @@ const opListStackSets = "ListStackSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSets func (c *CloudFormation) ListStackSetsRequest(input *ListStackSetsInput) (req *request.Request, output *ListStackSetsOutput) { op := &request.Operation{ Name: opListStackSets, @@ -2972,7 +2972,7 @@ func (c *CloudFormation) ListStackSetsRequest(input *ListStackSetsInput) (req *r // // See the AWS API reference guide for AWS CloudFormation's // API operation ListStackSets for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSets func (c *CloudFormation) ListStackSets(input *ListStackSetsInput) (*ListStackSetsOutput, error) { req, out := c.ListStackSetsRequest(input) return out, req.Send() @@ -3019,7 +3019,7 @@ const opListStacks = "ListStacks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacks +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacks func (c *CloudFormation) ListStacksRequest(input *ListStacksInput) (req *request.Request, output *ListStacksOutput) { op := &request.Operation{ Name: opListStacks, @@ -3056,7 +3056,7 @@ func (c *CloudFormation) ListStacksRequest(input *ListStacksInput) (req *request // // See the AWS API reference guide for AWS CloudFormation's // API operation ListStacks for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacks +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacks func (c *CloudFormation) ListStacks(input *ListStacksInput) (*ListStacksOutput, error) { req, out := c.ListStacksRequest(input) return out, req.Send() @@ -3153,7 +3153,7 @@ const opSetStackPolicy = "SetStackPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicy func (c *CloudFormation) SetStackPolicyRequest(input *SetStackPolicyInput) (req *request.Request, output *SetStackPolicyOutput) { op := &request.Operation{ Name: opSetStackPolicy, @@ -3182,7 +3182,7 @@ func (c *CloudFormation) SetStackPolicyRequest(input *SetStackPolicyInput) (req // // See the AWS API reference guide for AWS CloudFormation's // API operation SetStackPolicy for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicy func (c *CloudFormation) SetStackPolicy(input *SetStackPolicyInput) (*SetStackPolicyOutput, error) { req, out := c.SetStackPolicyRequest(input) return out, req.Send() @@ -3229,7 +3229,7 @@ const opSignalResource = "SignalResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResource func (c *CloudFormation) SignalResourceRequest(input *SignalResourceInput) (req *request.Request, output *SignalResourceOutput) { op := &request.Operation{ Name: opSignalResource, @@ -3263,7 +3263,7 @@ func (c *CloudFormation) SignalResourceRequest(input *SignalResourceInput) (req // // See the AWS API reference guide for AWS CloudFormation's // API operation SignalResource for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResource func (c *CloudFormation) SignalResource(input *SignalResourceInput) (*SignalResourceOutput, error) { req, out := c.SignalResourceRequest(input) return out, req.Send() @@ -3310,7 +3310,7 @@ const opStopStackSetOperation = "StopStackSetOperation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperation +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperation func (c *CloudFormation) StopStackSetOperationRequest(input *StopStackSetOperationInput) (req *request.Request, output *StopStackSetOperationOutput) { op := &request.Operation{ Name: opStopStackSetOperation, @@ -3348,7 +3348,7 @@ func (c *CloudFormation) StopStackSetOperationRequest(input *StopStackSetOperati // * ErrCodeInvalidOperationException "InvalidOperationException" // The specified operation isn't valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperation +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperation func (c *CloudFormation) StopStackSetOperation(input *StopStackSetOperationInput) (*StopStackSetOperationOutput, error) { req, out := c.StopStackSetOperationRequest(input) return out, req.Send() @@ -3395,7 +3395,7 @@ const opUpdateStack = "UpdateStack" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStack func (c *CloudFormation) UpdateStackRequest(input *UpdateStackInput) (req *request.Request, output *UpdateStackOutput) { op := &request.Operation{ Name: opUpdateStack, @@ -3439,7 +3439,7 @@ func (c *CloudFormation) UpdateStackRequest(input *UpdateStackInput) (req *reque // * ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" // A client request token already exists. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStack func (c *CloudFormation) UpdateStack(input *UpdateStackInput) (*UpdateStackOutput, error) { req, out := c.UpdateStackRequest(input) return out, req.Send() @@ -3461,6 +3461,119 @@ func (c *CloudFormation) UpdateStackWithContext(ctx aws.Context, input *UpdateSt return out, req.Send() } +const opUpdateStackInstances = "UpdateStackInstances" + +// UpdateStackInstancesRequest generates a "aws/request.Request" representing the +// client's request for the UpdateStackInstances operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateStackInstances for more information on using the UpdateStackInstances +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateStackInstancesRequest method. +// req, resp := client.UpdateStackInstancesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstances +func (c *CloudFormation) UpdateStackInstancesRequest(input *UpdateStackInstancesInput) (req *request.Request, output *UpdateStackInstancesOutput) { + op := &request.Operation{ + Name: opUpdateStackInstances, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateStackInstancesInput{} + } + + output = &UpdateStackInstancesOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateStackInstances API operation for AWS CloudFormation. +// +// Updates the parameter values for stack instances for the specified accounts, +// within the specified regions. A stack instance refers to a stack in a specific +// account and region. +// +// You can only update stack instances in regions and accounts where they already +// exist; to create additional stack instances, use CreateStackInstances (http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStackInstances.html). +// +// During stack set updates, any parameters overridden for a stack instance +// are not updated, but retain their overridden value. +// +// You can only update the parameter values that are specified in the stack +// set; to add or delete a parameter itself, use UpdateStackSet (http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html) +// to update the stack set template. If you add a parameter to a template, before +// you can override the parameter value specified in the stack set you must +// first use UpdateStackSet (http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html) +// to update all stack instances with the updated template and parameter value +// specified in the stack set. Once a stack instance has been updated with the +// new parameter, you can then override the parameter value using UpdateStackInstances. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CloudFormation's +// API operation UpdateStackInstances for usage and error information. +// +// Returned Error Codes: +// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. +// +// * ErrCodeStackInstanceNotFoundException "StackInstanceNotFoundException" +// The specified stack instance doesn't exist. +// +// * ErrCodeOperationInProgressException "OperationInProgressException" +// Another operation is currently in progress for this stack set. Only one operation +// can be performed for a stack set at a given time. +// +// * ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" +// The specified operation ID already exists. +// +// * ErrCodeStaleRequestException "StaleRequestException" +// Another operation has been performed on this stack set since the specified +// operation was performed. +// +// * ErrCodeInvalidOperationException "InvalidOperationException" +// The specified operation isn't valid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstances +func (c *CloudFormation) UpdateStackInstances(input *UpdateStackInstancesInput) (*UpdateStackInstancesOutput, error) { + req, out := c.UpdateStackInstancesRequest(input) + return out, req.Send() +} + +// UpdateStackInstancesWithContext is the same as UpdateStackInstances with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateStackInstances for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CloudFormation) UpdateStackInstancesWithContext(ctx aws.Context, input *UpdateStackInstancesInput, opts ...request.Option) (*UpdateStackInstancesOutput, error) { + req, out := c.UpdateStackInstancesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateStackSet = "UpdateStackSet" // UpdateStackSetRequest generates a "aws/request.Request" representing the @@ -3486,7 +3599,7 @@ const opUpdateStackSet = "UpdateStackSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSet func (c *CloudFormation) UpdateStackSetRequest(input *UpdateStackSetInput) (req *request.Request, output *UpdateStackSetOutput) { op := &request.Operation{ Name: opUpdateStackSet, @@ -3537,7 +3650,7 @@ func (c *CloudFormation) UpdateStackSetRequest(input *UpdateStackSetInput) (req // * ErrCodeInvalidOperationException "InvalidOperationException" // The specified operation isn't valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSet func (c *CloudFormation) UpdateStackSet(input *UpdateStackSetInput) (*UpdateStackSetOutput, error) { req, out := c.UpdateStackSetRequest(input) return out, req.Send() @@ -3584,7 +3697,7 @@ const opUpdateTerminationProtection = "UpdateTerminationProtection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtection +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtection func (c *CloudFormation) UpdateTerminationProtectionRequest(input *UpdateTerminationProtectionInput) (req *request.Request, output *UpdateTerminationProtectionOutput) { op := &request.Operation{ Name: opUpdateTerminationProtection, @@ -3619,7 +3732,7 @@ func (c *CloudFormation) UpdateTerminationProtectionRequest(input *UpdateTermina // // See the AWS API reference guide for AWS CloudFormation's // API operation UpdateTerminationProtection for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtection +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtection func (c *CloudFormation) UpdateTerminationProtection(input *UpdateTerminationProtectionInput) (*UpdateTerminationProtectionOutput, error) { req, out := c.UpdateTerminationProtectionRequest(input) return out, req.Send() @@ -3666,7 +3779,7 @@ const opValidateTemplate = "ValidateTemplate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplate func (c *CloudFormation) ValidateTemplateRequest(input *ValidateTemplateInput) (req *request.Request, output *ValidateTemplateOutput) { op := &request.Operation{ Name: opValidateTemplate, @@ -3696,7 +3809,7 @@ func (c *CloudFormation) ValidateTemplateRequest(input *ValidateTemplateInput) ( // // See the AWS API reference guide for AWS CloudFormation's // API operation ValidateTemplate for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplate func (c *CloudFormation) ValidateTemplate(input *ValidateTemplateInput) (*ValidateTemplateOutput, error) { req, out := c.ValidateTemplateRequest(input) return out, req.Send() @@ -3731,7 +3844,7 @@ func (c *CloudFormation) ValidateTemplateWithContext(ctx aws.Context, input *Val // result status for that account and region to FAILED. // // For more information, see Configuring a target account gate (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-account-gating.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AccountGateResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AccountGateResult type AccountGateResult struct { _ struct{} `type:"structure"` @@ -3791,7 +3904,7 @@ func (s *AccountGateResult) SetStatusReason(v string) *AccountGateResult { } // The AccountLimit data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AccountLimit +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AccountLimit type AccountLimit struct { _ struct{} `type:"structure"` @@ -3825,7 +3938,7 @@ func (s *AccountLimit) SetValue(v int64) *AccountLimit { } // The input for the CancelUpdateStack action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStackInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStackInput type CancelUpdateStackInput struct { _ struct{} `type:"structure"` @@ -3880,7 +3993,7 @@ func (s *CancelUpdateStackInput) SetStackName(v string) *CancelUpdateStackInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStackOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStackOutput type CancelUpdateStackOutput struct { _ struct{} `type:"structure"` } @@ -3897,7 +4010,7 @@ func (s CancelUpdateStackOutput) GoString() string { // The Change structure describes the changes AWS CloudFormation will perform // if you execute the change set. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Change +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Change type Change struct { _ struct{} `type:"structure"` @@ -3934,7 +4047,7 @@ func (s *Change) SetType(v string) *Change { // The ChangeSetSummary structure describes a change set, its status, and the // stack with which it's associated. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ChangeSetSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ChangeSetSummary type ChangeSetSummary struct { _ struct{} `type:"structure"` @@ -4037,7 +4150,7 @@ func (s *ChangeSetSummary) SetStatusReason(v string) *ChangeSetSummary { } // The input for the ContinueUpdateRollback action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollbackInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollbackInput type ContinueUpdateRollbackInput struct { _ struct{} `type:"structure"` @@ -4164,7 +4277,7 @@ func (s *ContinueUpdateRollbackInput) SetStackName(v string) *ContinueUpdateRoll } // The output for a ContinueUpdateRollback action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollbackOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollbackOutput type ContinueUpdateRollbackOutput struct { _ struct{} `type:"structure"` } @@ -4180,7 +4293,7 @@ func (s ContinueUpdateRollbackOutput) GoString() string { } // The input for the CreateChangeSet action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetInput type CreateChangeSetInput struct { _ struct{} `type:"structure"` @@ -4468,7 +4581,7 @@ func (s *CreateChangeSetInput) SetUsePreviousTemplate(v bool) *CreateChangeSetIn } // The output for the CreateChangeSet action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetOutput type CreateChangeSetOutput struct { _ struct{} `type:"structure"` @@ -4502,7 +4615,7 @@ func (s *CreateChangeSetOutput) SetStackId(v string) *CreateChangeSetOutput { } // The input for CreateStack action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInput type CreateStackInput struct { _ struct{} `type:"structure"` @@ -4829,7 +4942,7 @@ func (s *CreateStackInput) SetTimeoutInMinutes(v int64) *CreateStackInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstancesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstancesInput type CreateStackInstancesInput struct { _ struct{} `type:"structure"` @@ -4855,6 +4968,39 @@ type CreateStackInstancesInput struct { // Preferences for how AWS CloudFormation performs this stack set operation. OperationPreferences *StackSetOperationPreferences `type:"structure"` + // A list of stack set parameters whose values you want to override in the selected + // stack instances. + // + // Any overridden parameter values will be applied to all stack instances in + // the specified accounts and regions. When specifying parameters and their + // values, be aware of how AWS CloudFormation sets parameter values during stack + // instance operations: + // + // * To override the current value for a parameter, include the parameter + // and specify its value. + // + // * To leave a parameter set to its present value, you can do one of the + // following: + // + // Do not include the parameter in the list. + // + // Include the parameter and specify UsePreviousValue as true. (You cannot specify + // both a value and set UsePreviousValue to true.) + // + // * To set all overridden parameter back to the values specified in the + // stack set, specify a parameter list but do not include any parameters. + // + // * To leave all parameters set to their present values, do not specify + // this property at all. + // + // During stack set updates, any parameter values overridden for a stack instance + // are not updated, but retain their overridden value. + // + // You can only override the parameter values that are specified in the stack + // set; to add or delete a parameter itself, use UpdateStackSet (http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html) + // to update the stack set template. + ParameterOverrides []*Parameter `type:"list"` + // The names of one or more regions where you want to create stack instances // using the specified AWS account(s). // @@ -4923,6 +5069,12 @@ func (s *CreateStackInstancesInput) SetOperationPreferences(v *StackSetOperation return s } +// SetParameterOverrides sets the ParameterOverrides field's value. +func (s *CreateStackInstancesInput) SetParameterOverrides(v []*Parameter) *CreateStackInstancesInput { + s.ParameterOverrides = v + return s +} + // SetRegions sets the Regions field's value. func (s *CreateStackInstancesInput) SetRegions(v []*string) *CreateStackInstancesInput { s.Regions = v @@ -4935,7 +5087,7 @@ func (s *CreateStackInstancesInput) SetStackSetName(v string) *CreateStackInstan return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstancesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstancesOutput type CreateStackInstancesOutput struct { _ struct{} `type:"structure"` @@ -4960,7 +5112,7 @@ func (s *CreateStackInstancesOutput) SetOperationId(v string) *CreateStackInstan } // The output for a CreateStack action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackOutput type CreateStackOutput struct { _ struct{} `type:"structure"` @@ -4984,7 +5136,7 @@ func (s *CreateStackOutput) SetStackId(v string) *CreateStackOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSetInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSetInput type CreateStackSetInput struct { _ struct{} `type:"structure"` @@ -5172,7 +5324,7 @@ func (s *CreateStackSetInput) SetTemplateURL(v string) *CreateStackSetInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSetOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSetOutput type CreateStackSetOutput struct { _ struct{} `type:"structure"` @@ -5197,7 +5349,7 @@ func (s *CreateStackSetOutput) SetStackSetId(v string) *CreateStackSetOutput { } // The input for the DeleteChangeSet action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSetInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSetInput type DeleteChangeSetInput struct { _ struct{} `type:"structure"` @@ -5254,7 +5406,7 @@ func (s *DeleteChangeSetInput) SetStackName(v string) *DeleteChangeSetInput { } // The output for the DeleteChangeSet action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSetOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSetOutput type DeleteChangeSetOutput struct { _ struct{} `type:"structure"` } @@ -5270,7 +5422,7 @@ func (s DeleteChangeSetOutput) GoString() string { } // The input for DeleteStack action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInput type DeleteStackInput struct { _ struct{} `type:"structure"` @@ -5367,7 +5519,7 @@ func (s *DeleteStackInput) SetStackName(v string) *DeleteStackInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstancesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstancesInput type DeleteStackInstancesInput struct { _ struct{} `type:"structure"` @@ -5489,7 +5641,7 @@ func (s *DeleteStackInstancesInput) SetStackSetName(v string) *DeleteStackInstan return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstancesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstancesOutput type DeleteStackInstancesOutput struct { _ struct{} `type:"structure"` @@ -5513,7 +5665,7 @@ func (s *DeleteStackInstancesOutput) SetOperationId(v string) *DeleteStackInstan return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackOutput type DeleteStackOutput struct { _ struct{} `type:"structure"` } @@ -5528,7 +5680,7 @@ func (s DeleteStackOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSetInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSetInput type DeleteStackSetInput struct { _ struct{} `type:"structure"` @@ -5568,7 +5720,7 @@ func (s *DeleteStackSetInput) SetStackSetName(v string) *DeleteStackSetInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSetOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSetOutput type DeleteStackSetOutput struct { _ struct{} `type:"structure"` } @@ -5584,7 +5736,7 @@ func (s DeleteStackSetOutput) GoString() string { } // The input for the DescribeAccountLimits action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimitsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimitsInput type DescribeAccountLimitsInput struct { _ struct{} `type:"structure"` @@ -5622,7 +5774,7 @@ func (s *DescribeAccountLimitsInput) SetNextToken(v string) *DescribeAccountLimi } // The output for the DescribeAccountLimits action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimitsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimitsOutput type DescribeAccountLimitsOutput struct { _ struct{} `type:"structure"` @@ -5658,7 +5810,7 @@ func (s *DescribeAccountLimitsOutput) SetNextToken(v string) *DescribeAccountLim } // The input for the DescribeChangeSet action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetInput type DescribeChangeSetInput struct { _ struct{} `type:"structure"` @@ -5728,7 +5880,7 @@ func (s *DescribeChangeSetInput) SetStackName(v string) *DescribeChangeSetInput } // The output for the DescribeChangeSet action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetOutput type DescribeChangeSetOutput struct { _ struct{} `type:"structure"` @@ -5903,7 +6055,7 @@ func (s *DescribeChangeSetOutput) SetTags(v []*Tag) *DescribeChangeSetOutput { } // The input for DescribeStackEvents action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEventsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEventsInput type DescribeStackEventsInput struct { _ struct{} `type:"structure"` @@ -5958,7 +6110,7 @@ func (s *DescribeStackEventsInput) SetStackName(v string) *DescribeStackEventsIn } // The output for a DescribeStackEvents action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEventsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEventsOutput type DescribeStackEventsOutput struct { _ struct{} `type:"structure"` @@ -5992,7 +6144,7 @@ func (s *DescribeStackEventsOutput) SetStackEvents(v []*StackEvent) *DescribeSta return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstanceInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstanceInput type DescribeStackInstanceInput struct { _ struct{} `type:"structure"` @@ -6060,7 +6212,7 @@ func (s *DescribeStackInstanceInput) SetStackSetName(v string) *DescribeStackIns return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstanceOutput type DescribeStackInstanceOutput struct { _ struct{} `type:"structure"` @@ -6085,7 +6237,7 @@ func (s *DescribeStackInstanceOutput) SetStackInstance(v *StackInstance) *Descri } // The input for DescribeStackResource action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceInput type DescribeStackResourceInput struct { _ struct{} `type:"structure"` @@ -6149,7 +6301,7 @@ func (s *DescribeStackResourceInput) SetStackName(v string) *DescribeStackResour } // The output for a DescribeStackResource action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceOutput type DescribeStackResourceOutput struct { _ struct{} `type:"structure"` @@ -6175,7 +6327,7 @@ func (s *DescribeStackResourceOutput) SetStackResourceDetail(v *StackResourceDet } // The input for DescribeStackResources action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourcesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourcesInput type DescribeStackResourcesInput struct { _ struct{} `type:"structure"` @@ -6242,7 +6394,7 @@ func (s *DescribeStackResourcesInput) SetStackName(v string) *DescribeStackResou } // The output for a DescribeStackResources action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourcesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourcesOutput type DescribeStackResourcesOutput struct { _ struct{} `type:"structure"` @@ -6266,7 +6418,7 @@ func (s *DescribeStackResourcesOutput) SetStackResources(v []*StackResource) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetInput type DescribeStackSetInput struct { _ struct{} `type:"structure"` @@ -6305,7 +6457,7 @@ func (s *DescribeStackSetInput) SetStackSetName(v string) *DescribeStackSetInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperationInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperationInput type DescribeStackSetOperationInput struct { _ struct{} `type:"structure"` @@ -6361,7 +6513,7 @@ func (s *DescribeStackSetOperationInput) SetStackSetName(v string) *DescribeStac return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperationOutput type DescribeStackSetOperationOutput struct { _ struct{} `type:"structure"` @@ -6385,7 +6537,7 @@ func (s *DescribeStackSetOperationOutput) SetStackSetOperation(v *StackSetOperat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOutput type DescribeStackSetOutput struct { _ struct{} `type:"structure"` @@ -6410,7 +6562,7 @@ func (s *DescribeStackSetOutput) SetStackSet(v *StackSet) *DescribeStackSetOutpu } // The input for DescribeStacks action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacksInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacksInput type DescribeStacksInput struct { _ struct{} `type:"structure"` @@ -6465,7 +6617,7 @@ func (s *DescribeStacksInput) SetStackName(v string) *DescribeStacksInput { } // The output for a DescribeStacks action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacksOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacksOutput type DescribeStacksOutput struct { _ struct{} `type:"structure"` @@ -6500,7 +6652,7 @@ func (s *DescribeStacksOutput) SetStacks(v []*Stack) *DescribeStacksOutput { } // The input for an EstimateTemplateCost action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCostInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCostInput type EstimateTemplateCostInput struct { _ struct{} `type:"structure"` @@ -6571,7 +6723,7 @@ func (s *EstimateTemplateCostInput) SetTemplateURL(v string) *EstimateTemplateCo } // The output for a EstimateTemplateCost action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCostOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCostOutput type EstimateTemplateCostOutput struct { _ struct{} `type:"structure"` @@ -6597,7 +6749,7 @@ func (s *EstimateTemplateCostOutput) SetUrl(v string) *EstimateTemplateCostOutpu } // The input for the ExecuteChangeSet action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetInput type ExecuteChangeSetInput struct { _ struct{} `type:"structure"` @@ -6670,7 +6822,7 @@ func (s *ExecuteChangeSetInput) SetStackName(v string) *ExecuteChangeSetInput { } // The output for the ExecuteChangeSet action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetOutput type ExecuteChangeSetOutput struct { _ struct{} `type:"structure"` } @@ -6686,7 +6838,7 @@ func (s ExecuteChangeSetOutput) GoString() string { } // The Export structure describes the exported output values for a stack. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Export +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Export type Export struct { _ struct{} `type:"structure"` @@ -6732,7 +6884,7 @@ func (s *Export) SetValue(v string) *Export { } // The input for the GetStackPolicy action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicyInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicyInput type GetStackPolicyInput struct { _ struct{} `type:"structure"` @@ -6773,7 +6925,7 @@ func (s *GetStackPolicyInput) SetStackName(v string) *GetStackPolicyInput { } // The output for the GetStackPolicy action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicyOutput type GetStackPolicyOutput struct { _ struct{} `type:"structure"` @@ -6800,7 +6952,7 @@ func (s *GetStackPolicyOutput) SetStackPolicyBody(v string) *GetStackPolicyOutpu } // The input for a GetTemplate action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateInput type GetTemplateInput struct { _ struct{} `type:"structure"` @@ -6872,7 +7024,7 @@ func (s *GetTemplateInput) SetTemplateStage(v string) *GetTemplateInput { } // The output for GetTemplate action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateOutput type GetTemplateOutput struct { _ struct{} `type:"structure"` @@ -6914,7 +7066,7 @@ func (s *GetTemplateOutput) SetTemplateBody(v string) *GetTemplateOutput { } // The input for the GetTemplateSummary action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummaryInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummaryInput type GetTemplateSummaryInput struct { _ struct{} `type:"structure"` @@ -6931,7 +7083,7 @@ type GetTemplateSummaryInput struct { // // Conditional: You must specify only one of the following parameters: StackName, // StackSetName, TemplateBody, or TemplateURL. - StackSetName *string `min:"1" type:"string"` + StackSetName *string `type:"string"` // Structure containing the template body with a minimum length of 1 byte and // a maximum length of 51,200 bytes. For more information about templates, see @@ -6968,9 +7120,6 @@ func (s *GetTemplateSummaryInput) Validate() error { if s.StackName != nil && len(*s.StackName) < 1 { invalidParams.Add(request.NewErrParamMinLen("StackName", 1)) } - if s.StackSetName != nil && len(*s.StackSetName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("StackSetName", 1)) - } if s.TemplateBody != nil && len(*s.TemplateBody) < 1 { invalidParams.Add(request.NewErrParamMinLen("TemplateBody", 1)) } @@ -7009,7 +7158,7 @@ func (s *GetTemplateSummaryInput) SetTemplateURL(v string) *GetTemplateSummaryIn } // The output for the GetTemplateSummary action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummaryOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummaryOutput type GetTemplateSummaryOutput struct { _ struct{} `type:"structure"` @@ -7108,7 +7257,7 @@ func (s *GetTemplateSummaryOutput) SetVersion(v string) *GetTemplateSummaryOutpu } // The input for the ListChangeSets action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSetsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSetsInput type ListChangeSetsInput struct { _ struct{} `type:"structure"` @@ -7165,7 +7314,7 @@ func (s *ListChangeSetsInput) SetStackName(v string) *ListChangeSetsInput { } // The output for the ListChangeSets action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSetsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSetsOutput type ListChangeSetsOutput struct { _ struct{} `type:"structure"` @@ -7200,7 +7349,7 @@ func (s *ListChangeSetsOutput) SetSummaries(v []*ChangeSetSummary) *ListChangeSe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExportsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExportsInput type ListExportsInput struct { _ struct{} `type:"structure"` @@ -7238,7 +7387,7 @@ func (s *ListExportsInput) SetNextToken(v string) *ListExportsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExportsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExportsOutput type ListExportsOutput struct { _ struct{} `type:"structure"` @@ -7272,7 +7421,7 @@ func (s *ListExportsOutput) SetNextToken(v string) *ListExportsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImportsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImportsInput type ListImportsInput struct { _ struct{} `type:"structure"` @@ -7325,7 +7474,7 @@ func (s *ListImportsInput) SetNextToken(v string) *ListImportsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImportsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImportsOutput type ListImportsOutput struct { _ struct{} `type:"structure"` @@ -7359,7 +7508,7 @@ func (s *ListImportsOutput) SetNextToken(v string) *ListImportsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstancesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstancesInput type ListStackInstancesInput struct { _ struct{} `type:"structure"` @@ -7448,7 +7597,7 @@ func (s *ListStackInstancesInput) SetStackSetName(v string) *ListStackInstancesI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstancesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstancesOutput type ListStackInstancesOutput struct { _ struct{} `type:"structure"` @@ -7486,7 +7635,7 @@ func (s *ListStackInstancesOutput) SetSummaries(v []*StackInstanceSummary) *List } // The input for the ListStackResource action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResourcesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResourcesInput type ListStackResourcesInput struct { _ struct{} `type:"structure"` @@ -7547,7 +7696,7 @@ func (s *ListStackResourcesInput) SetStackName(v string) *ListStackResourcesInpu } // The output for a ListStackResources action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResourcesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResourcesOutput type ListStackResourcesOutput struct { _ struct{} `type:"structure"` @@ -7581,7 +7730,7 @@ func (s *ListStackResourcesOutput) SetStackResourceSummaries(v []*StackResourceS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResultsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResultsInput type ListStackSetOperationResultsInput struct { _ struct{} `type:"structure"` @@ -7669,7 +7818,7 @@ func (s *ListStackSetOperationResultsInput) SetStackSetName(v string) *ListStack return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResultsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResultsOutput type ListStackSetOperationResultsOutput struct { _ struct{} `type:"structure"` @@ -7707,7 +7856,7 @@ func (s *ListStackSetOperationResultsOutput) SetSummaries(v []*StackSetOperation return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationsInput type ListStackSetOperationsInput struct { _ struct{} `type:"structure"` @@ -7778,7 +7927,7 @@ func (s *ListStackSetOperationsInput) SetStackSetName(v string) *ListStackSetOpe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationsOutput type ListStackSetOperationsOutput struct { _ struct{} `type:"structure"` @@ -7815,7 +7964,7 @@ func (s *ListStackSetOperationsOutput) SetSummaries(v []*StackSetOperationSummar return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetsInput type ListStackSetsInput struct { _ struct{} `type:"structure"` @@ -7880,7 +8029,7 @@ func (s *ListStackSetsInput) SetStatus(v string) *ListStackSetsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetsOutput type ListStackSetsOutput struct { _ struct{} `type:"structure"` @@ -7918,7 +8067,7 @@ func (s *ListStackSetsOutput) SetSummaries(v []*StackSetSummary) *ListStackSetsO } // The input for ListStacks action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacksInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacksInput type ListStacksInput struct { _ struct{} `type:"structure"` @@ -7967,7 +8116,7 @@ func (s *ListStacksInput) SetStackStatusFilter(v []*string) *ListStacksInput { } // The output for ListStacks action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacksOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacksOutput type ListStacksOutput struct { _ struct{} `type:"structure"` @@ -8003,7 +8152,7 @@ func (s *ListStacksOutput) SetStackSummaries(v []*StackSummary) *ListStacksOutpu } // The Output data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Output +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Output type Output struct { _ struct{} `type:"structure"` @@ -8055,7 +8204,7 @@ func (s *Output) SetOutputValue(v string) *Output { } // The Parameter data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Parameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Parameter type Parameter struct { _ struct{} `type:"structure"` @@ -8064,9 +8213,14 @@ type Parameter struct { // is specified in your template. ParameterKey *string `type:"string"` - // The value associated with the parameter. + // The input value associated with the parameter. ParameterValue *string `type:"string"` + // Read-only. The value that corresponds to a Systems Manager parameter key. + // This field is returned only for SSM (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html#aws-ssm-parameter-types) + // parameter types in the template. + ResolvedValue *string `type:"string"` + // During a stack update, use the existing parameter value that the stack is // using for a given parameter key. If you specify true, do not specify a parameter // value. @@ -8095,6 +8249,12 @@ func (s *Parameter) SetParameterValue(v string) *Parameter { return s } +// SetResolvedValue sets the ResolvedValue field's value. +func (s *Parameter) SetResolvedValue(v string) *Parameter { + s.ResolvedValue = &v + return s +} + // SetUsePreviousValue sets the UsePreviousValue field's value. func (s *Parameter) SetUsePreviousValue(v bool) *Parameter { s.UsePreviousValue = &v @@ -8104,7 +8264,7 @@ func (s *Parameter) SetUsePreviousValue(v bool) *Parameter { // A set of criteria that AWS CloudFormation uses to validate parameter values. // Although other constraints might be defined in the stack template, AWS CloudFormation // returns only the AllowedValues property. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ParameterConstraints +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ParameterConstraints type ParameterConstraints struct { _ struct{} `type:"structure"` @@ -8129,7 +8289,7 @@ func (s *ParameterConstraints) SetAllowedValues(v []*string) *ParameterConstrain } // The ParameterDeclaration data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ParameterDeclaration +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ParameterDeclaration type ParameterDeclaration struct { _ struct{} `type:"structure"` @@ -8201,7 +8361,7 @@ func (s *ParameterDeclaration) SetParameterType(v string) *ParameterDeclaration // The ResourceChange structure describes the resource and the action that AWS // CloudFormation will perform on it if you execute this change set. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChange +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChange type ResourceChange struct { _ struct{} `type:"structure"` @@ -8296,7 +8456,7 @@ func (s *ResourceChange) SetScope(v []*string) *ResourceChange { // For a resource with Modify as the action, the ResourceChange structure describes // the changes AWS CloudFormation will make to that resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChangeDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChangeDetail type ResourceChangeDetail struct { _ struct{} `type:"structure"` @@ -8390,7 +8550,7 @@ func (s *ResourceChangeDetail) SetTarget(v *ResourceTargetDefinition) *ResourceC // The field that AWS CloudFormation will change, such as the name of a resource's // property, and whether the resource will be recreated. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceTargetDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceTargetDefinition type ResourceTargetDefinition struct { _ struct{} `type:"structure"` @@ -8462,7 +8622,7 @@ func (s *ResourceTargetDefinition) SetRequiresRecreation(v string) *ResourceTarg // // AWS CloudFormation does not monitor rollback triggers when it rolls back // a stack during an update operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration type RollbackConfiguration struct { _ struct{} `type:"structure"` @@ -8558,7 +8718,7 @@ func (s *RollbackConfiguration) SetRollbackTriggers(v []*RollbackTrigger) *Rollb // of stacks. If any of the alarms you specify goes to ALERT state during the // stack operation or within the specified monitoring period afterwards, CloudFormation // rolls back the entire stack operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger type RollbackTrigger struct { _ struct{} `type:"structure"` @@ -8614,7 +8774,7 @@ func (s *RollbackTrigger) SetType(v string) *RollbackTrigger { } // The input for the SetStackPolicy action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicyInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicyInput type SetStackPolicyInput struct { _ struct{} `type:"structure"` @@ -8683,7 +8843,7 @@ func (s *SetStackPolicyInput) SetStackPolicyURL(v string) *SetStackPolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicyOutput type SetStackPolicyOutput struct { _ struct{} `type:"structure"` } @@ -8699,7 +8859,7 @@ func (s SetStackPolicyOutput) GoString() string { } // The input for the SignalResource action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResourceInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResourceInput type SignalResourceInput struct { _ struct{} `type:"structure"` @@ -8792,7 +8952,7 @@ func (s *SignalResourceInput) SetUniqueId(v string) *SignalResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResourceOutput type SignalResourceOutput struct { _ struct{} `type:"structure"` } @@ -8808,7 +8968,7 @@ func (s SignalResourceOutput) GoString() string { } // The Stack data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Stack +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Stack type Stack struct { _ struct{} `type:"structure"` @@ -9042,7 +9202,7 @@ func (s *Stack) SetTimeoutInMinutes(v int64) *Stack { } // The StackEvent data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackEvent +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackEvent type StackEvent struct { _ struct{} `type:"structure"` @@ -9185,13 +9345,17 @@ func (s *StackEvent) SetTimestamp(v time.Time) *StackEvent { // some reason. A stack instance is associated with only one stack set. Each // stack instance contains the ID of its associated stack set, as well as the // ID of the actual stack and the stack status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackInstance type StackInstance struct { _ struct{} `type:"structure"` // The name of the AWS account that the stack instance is associated with. Account *string `type:"string"` + // A list of parameters from the stack set template whose values have been overridden + // in this stack instance. + ParameterOverrides []*Parameter `type:"list"` + // The name of the AWS region that the stack instance is associated with. Region *string `type:"string"` @@ -9243,6 +9407,12 @@ func (s *StackInstance) SetAccount(v string) *StackInstance { return s } +// SetParameterOverrides sets the ParameterOverrides field's value. +func (s *StackInstance) SetParameterOverrides(v []*Parameter) *StackInstance { + s.ParameterOverrides = v + return s +} + // SetRegion sets the Region field's value. func (s *StackInstance) SetRegion(v string) *StackInstance { s.Region = &v @@ -9274,7 +9444,7 @@ func (s *StackInstance) SetStatusReason(v string) *StackInstance { } // The structure that contains summary information about a stack instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackInstanceSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackInstanceSummary type StackInstanceSummary struct { _ struct{} `type:"structure"` @@ -9362,7 +9532,7 @@ func (s *StackInstanceSummary) SetStatusReason(v string) *StackInstanceSummary { } // The StackResource data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResource type StackResource struct { _ struct{} `type:"structure"` @@ -9470,7 +9640,7 @@ func (s *StackResource) SetTimestamp(v time.Time) *StackResource { } // Contains detailed information about the specified stack resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceDetail type StackResourceDetail struct { _ struct{} `type:"structure"` @@ -9589,7 +9759,7 @@ func (s *StackResourceDetail) SetStackName(v string) *StackResourceDetail { } // Contains high-level information about the specified stack resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceSummary type StackResourceSummary struct { _ struct{} `type:"structure"` @@ -9673,7 +9843,7 @@ func (s *StackResourceSummary) SetResourceType(v string) *StackResourceSummary { // you to provision stacks into AWS accounts and across regions by using a single // CloudFormation template. In the stack set, you specify the template to use, // as well as any parameters and capabilities that the template requires. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSet type StackSet struct { _ struct{} `type:"structure"` @@ -9768,7 +9938,7 @@ func (s *StackSet) SetTemplateBody(v string) *StackSet { } // The structure that contains information about a stack set operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperation +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperation type StackSetOperation struct { _ struct{} `type:"structure"` @@ -9890,7 +10060,7 @@ func (s *StackSetOperation) SetStatus(v string) *StackSetOperation { // // For more information on maximum concurrent accounts and failure tolerance, // see Stack set operation options (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationPreferences +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationPreferences type StackSetOperationPreferences struct { _ struct{} `type:"structure"` @@ -10005,7 +10175,7 @@ func (s *StackSetOperationPreferences) SetRegionOrder(v []*string) *StackSetOper // The structure that contains information about a specified operation's results // for a given account in a given region. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationResultSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationResultSummary type StackSetOperationResultSummary struct { _ struct{} `type:"structure"` @@ -10087,7 +10257,7 @@ func (s *StackSetOperationResultSummary) SetStatusReason(v string) *StackSetOper } // The structures that contain summary information about the specified operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationSummary type StackSetOperationSummary struct { _ struct{} `type:"structure"` @@ -10176,7 +10346,7 @@ func (s *StackSetOperationSummary) SetStatus(v string) *StackSetOperationSummary // The structures that contain summary information about the specified stack // set. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetSummary type StackSetSummary struct { _ struct{} `type:"structure"` @@ -10229,7 +10399,7 @@ func (s *StackSetSummary) SetStatus(v string) *StackSetSummary { } // The StackSummary Data Type -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSummary type StackSummary struct { _ struct{} `type:"structure"` @@ -10350,7 +10520,7 @@ func (s *StackSummary) SetTemplateDescription(v string) *StackSummary { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperationInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperationInput type StopStackSetOperationInput struct { _ struct{} `type:"structure"` @@ -10407,7 +10577,7 @@ func (s *StopStackSetOperationInput) SetStackSetName(v string) *StopStackSetOper return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperationOutput type StopStackSetOperationOutput struct { _ struct{} `type:"structure"` } @@ -10424,7 +10594,7 @@ func (s StopStackSetOperationOutput) GoString() string { // The Tag type enables you to specify a key-value pair that can be used to // store information about an AWS CloudFormation stack. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Tag type Tag struct { _ struct{} `type:"structure"` @@ -10487,7 +10657,7 @@ func (s *Tag) SetValue(v string) *Tag { } // The TemplateParameter data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TemplateParameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TemplateParameter type TemplateParameter struct { _ struct{} `type:"structure"` @@ -10540,7 +10710,7 @@ func (s *TemplateParameter) SetParameterKey(v string) *TemplateParameter { } // The input for an UpdateStack action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInput type UpdateStackInput struct { _ struct{} `type:"structure"` @@ -10860,8 +11030,180 @@ func (s *UpdateStackInput) SetUsePreviousTemplate(v bool) *UpdateStackInput { return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstancesInput +type UpdateStackInstancesInput struct { + _ struct{} `type:"structure"` + + // The names of one or more AWS accounts for which you want to update parameter + // values for stack instances. The overridden parameter values will be applied + // to all stack instances in the specified accounts and regions. + // + // Accounts is a required field + Accounts []*string `type:"list" required:"true"` + + // The unique identifier for this stack set operation. + // + // The operation ID also functions as an idempotency token, to ensure that AWS + // CloudFormation performs the stack set operation only once, even if you retry + // the request multiple times. You might retry stack set operation requests + // to ensure that AWS CloudFormation successfully received them. + // + // If you don't specify an operation ID, the SDK generates one automatically. + OperationId *string `min:"1" type:"string" idempotencyToken:"true"` + + // Preferences for how AWS CloudFormation performs this stack set operation. + OperationPreferences *StackSetOperationPreferences `type:"structure"` + + // A list of input parameters whose values you want to update for the specified + // stack instances. + // + // Any overridden parameter values will be applied to all stack instances in + // the specified accounts and regions. When specifying parameters and their + // values, be aware of how AWS CloudFormation sets parameter values during stack + // instance update operations: + // + // * To override the current value for a parameter, include the parameter + // and specify its value. + // + // * To leave a parameter set to its present value, you can do one of the + // following: + // + // Do not include the parameter in the list. + // + // Include the parameter and specify UsePreviousValue as true. (You cannot specify + // both a value and set UsePreviousValue to true.) + // + // * To set all overridden parameter back to the values specified in the + // stack set, specify a parameter list but do not include any parameters. + // + // * To leave all parameters set to their present values, do not specify + // this property at all. + // + // During stack set updates, any parameter values overridden for a stack instance + // are not updated, but retain their overridden value. + // + // You can only override the parameter values that are specified in the stack + // set; to add or delete a parameter itself, use UpdateStackSet to update the + // stack set template. If you add a parameter to a template, before you can + // override the parameter value specified in the stack set you must first use + // UpdateStackSet (http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html) + // to update all stack instances with the updated template and parameter value + // specified in the stack set. Once a stack instance has been updated with the + // new parameter, you can then override the parameter value using UpdateStackInstances. + ParameterOverrides []*Parameter `type:"list"` + + // The names of one or more regions in which you want to update parameter values + // for stack instances. The overridden parameter values will be applied to all + // stack instances in the specified accounts and regions. + // + // Regions is a required field + Regions []*string `type:"list" required:"true"` + + // The name or unique ID of the stack set associated with the stack instances. + // + // StackSetName is a required field + StackSetName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateStackInstancesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateStackInstancesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateStackInstancesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateStackInstancesInput"} + if s.Accounts == nil { + invalidParams.Add(request.NewErrParamRequired("Accounts")) + } + if s.OperationId != nil && len(*s.OperationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OperationId", 1)) + } + if s.Regions == nil { + invalidParams.Add(request.NewErrParamRequired("Regions")) + } + if s.StackSetName == nil { + invalidParams.Add(request.NewErrParamRequired("StackSetName")) + } + if s.OperationPreferences != nil { + if err := s.OperationPreferences.Validate(); err != nil { + invalidParams.AddNested("OperationPreferences", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccounts sets the Accounts field's value. +func (s *UpdateStackInstancesInput) SetAccounts(v []*string) *UpdateStackInstancesInput { + s.Accounts = v + return s +} + +// SetOperationId sets the OperationId field's value. +func (s *UpdateStackInstancesInput) SetOperationId(v string) *UpdateStackInstancesInput { + s.OperationId = &v + return s +} + +// SetOperationPreferences sets the OperationPreferences field's value. +func (s *UpdateStackInstancesInput) SetOperationPreferences(v *StackSetOperationPreferences) *UpdateStackInstancesInput { + s.OperationPreferences = v + return s +} + +// SetParameterOverrides sets the ParameterOverrides field's value. +func (s *UpdateStackInstancesInput) SetParameterOverrides(v []*Parameter) *UpdateStackInstancesInput { + s.ParameterOverrides = v + return s +} + +// SetRegions sets the Regions field's value. +func (s *UpdateStackInstancesInput) SetRegions(v []*string) *UpdateStackInstancesInput { + s.Regions = v + return s +} + +// SetStackSetName sets the StackSetName field's value. +func (s *UpdateStackInstancesInput) SetStackSetName(v string) *UpdateStackInstancesInput { + s.StackSetName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstancesOutput +type UpdateStackInstancesOutput struct { + _ struct{} `type:"structure"` + + // The unique identifier for this stack set operation. + OperationId *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s UpdateStackInstancesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateStackInstancesOutput) GoString() string { + return s.String() +} + +// SetOperationId sets the OperationId field's value. +func (s *UpdateStackInstancesOutput) SetOperationId(v string) *UpdateStackInstancesOutput { + s.OperationId = &v + return s +} + // The output for an UpdateStack action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackOutput type UpdateStackOutput struct { _ struct{} `type:"structure"` @@ -10885,7 +11227,7 @@ func (s *UpdateStackOutput) SetStackId(v string) *UpdateStackOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSetInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSetInput type UpdateStackSetInput struct { _ struct{} `type:"structure"` @@ -11117,7 +11459,7 @@ func (s *UpdateStackSetInput) SetUsePreviousTemplate(v bool) *UpdateStackSetInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSetOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSetOutput type UpdateStackSetOutput struct { _ struct{} `type:"structure"` @@ -11141,7 +11483,7 @@ func (s *UpdateStackSetOutput) SetOperationId(v string) *UpdateStackSetOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtectionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtectionInput type UpdateTerminationProtectionInput struct { _ struct{} `type:"structure"` @@ -11198,7 +11540,7 @@ func (s *UpdateTerminationProtectionInput) SetStackName(v string) *UpdateTermina return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtectionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtectionOutput type UpdateTerminationProtectionOutput struct { _ struct{} `type:"structure"` @@ -11223,7 +11565,7 @@ func (s *UpdateTerminationProtectionOutput) SetStackId(v string) *UpdateTerminat } // The input for ValidateTemplate action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplateInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplateInput type ValidateTemplateInput struct { _ struct{} `type:"structure"` @@ -11285,7 +11627,7 @@ func (s *ValidateTemplateInput) SetTemplateURL(v string) *ValidateTemplateInput } // The output for ValidateTemplate action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplateOutput type ValidateTemplateOutput struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go index b44abab8c9e..99e33b689ff 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go @@ -38,7 +38,7 @@ const opCreateCloudFrontOriginAccessIdentity = "CreateCloudFrontOriginAccessIden // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateCloudFrontOriginAccessIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateCloudFrontOriginAccessIdentity func (c *CloudFront) CreateCloudFrontOriginAccessIdentityRequest(input *CreateCloudFrontOriginAccessIdentityInput) (req *request.Request, output *CreateCloudFrontOriginAccessIdentityOutput) { op := &request.Operation{ Name: opCreateCloudFrontOriginAccessIdentity, @@ -92,7 +92,7 @@ func (c *CloudFront) CreateCloudFrontOriginAccessIdentityRequest(input *CreateCl // * ErrCodeInconsistentQuantities "InconsistentQuantities" // The value of Quantity and the size of Items don't match. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateCloudFrontOriginAccessIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateCloudFrontOriginAccessIdentity func (c *CloudFront) CreateCloudFrontOriginAccessIdentity(input *CreateCloudFrontOriginAccessIdentityInput) (*CreateCloudFrontOriginAccessIdentityOutput, error) { req, out := c.CreateCloudFrontOriginAccessIdentityRequest(input) return out, req.Send() @@ -139,7 +139,7 @@ const opCreateDistribution = "CreateDistribution2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistribution func (c *CloudFront) CreateDistributionRequest(input *CreateDistributionInput) (req *request.Request, output *CreateDistributionOutput) { op := &request.Operation{ Name: opCreateDistribution, @@ -287,7 +287,7 @@ func (c *CloudFront) CreateDistributionRequest(input *CreateDistributionInput) ( // // * ErrCodeInvalidOriginKeepaliveTimeout "InvalidOriginKeepaliveTimeout" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistribution func (c *CloudFront) CreateDistribution(input *CreateDistributionInput) (*CreateDistributionOutput, error) { req, out := c.CreateDistributionRequest(input) return out, req.Send() @@ -334,7 +334,7 @@ const opCreateDistributionWithTags = "CreateDistributionWithTags2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionWithTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionWithTags func (c *CloudFront) CreateDistributionWithTagsRequest(input *CreateDistributionWithTagsInput) (req *request.Request, output *CreateDistributionWithTagsOutput) { op := &request.Operation{ Name: opCreateDistributionWithTags, @@ -483,7 +483,7 @@ func (c *CloudFront) CreateDistributionWithTagsRequest(input *CreateDistribution // // * ErrCodeInvalidOriginKeepaliveTimeout "InvalidOriginKeepaliveTimeout" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionWithTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionWithTags func (c *CloudFront) CreateDistributionWithTags(input *CreateDistributionWithTagsInput) (*CreateDistributionWithTagsOutput, error) { req, out := c.CreateDistributionWithTagsRequest(input) return out, req.Send() @@ -530,7 +530,7 @@ const opCreateInvalidation = "CreateInvalidation2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateInvalidation +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateInvalidation func (c *CloudFront) CreateInvalidationRequest(input *CreateInvalidationInput) (req *request.Request, output *CreateInvalidationOutput) { op := &request.Operation{ Name: opCreateInvalidation, @@ -581,7 +581,7 @@ func (c *CloudFront) CreateInvalidationRequest(input *CreateInvalidationInput) ( // * ErrCodeInconsistentQuantities "InconsistentQuantities" // The value of Quantity and the size of Items don't match. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateInvalidation +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateInvalidation func (c *CloudFront) CreateInvalidation(input *CreateInvalidationInput) (*CreateInvalidationOutput, error) { req, out := c.CreateInvalidationRequest(input) return out, req.Send() @@ -628,7 +628,7 @@ const opCreateStreamingDistribution = "CreateStreamingDistribution2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistribution func (c *CloudFront) CreateStreamingDistributionRequest(input *CreateStreamingDistributionInput) (req *request.Request, output *CreateStreamingDistributionOutput) { op := &request.Operation{ Name: opCreateStreamingDistribution, @@ -720,7 +720,7 @@ func (c *CloudFront) CreateStreamingDistributionRequest(input *CreateStreamingDi // * ErrCodeInconsistentQuantities "InconsistentQuantities" // The value of Quantity and the size of Items don't match. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistribution func (c *CloudFront) CreateStreamingDistribution(input *CreateStreamingDistributionInput) (*CreateStreamingDistributionOutput, error) { req, out := c.CreateStreamingDistributionRequest(input) return out, req.Send() @@ -767,7 +767,7 @@ const opCreateStreamingDistributionWithTags = "CreateStreamingDistributionWithTa // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionWithTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionWithTags func (c *CloudFront) CreateStreamingDistributionWithTagsRequest(input *CreateStreamingDistributionWithTagsInput) (req *request.Request, output *CreateStreamingDistributionWithTagsOutput) { op := &request.Operation{ Name: opCreateStreamingDistributionWithTags, @@ -834,7 +834,7 @@ func (c *CloudFront) CreateStreamingDistributionWithTagsRequest(input *CreateStr // // * ErrCodeInvalidTagging "InvalidTagging" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionWithTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionWithTags func (c *CloudFront) CreateStreamingDistributionWithTags(input *CreateStreamingDistributionWithTagsInput) (*CreateStreamingDistributionWithTagsOutput, error) { req, out := c.CreateStreamingDistributionWithTagsRequest(input) return out, req.Send() @@ -881,7 +881,7 @@ const opDeleteCloudFrontOriginAccessIdentity = "DeleteCloudFrontOriginAccessIden // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteCloudFrontOriginAccessIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteCloudFrontOriginAccessIdentity func (c *CloudFront) DeleteCloudFrontOriginAccessIdentityRequest(input *DeleteCloudFrontOriginAccessIdentityInput) (req *request.Request, output *DeleteCloudFrontOriginAccessIdentityOutput) { op := &request.Operation{ Name: opDeleteCloudFrontOriginAccessIdentity, @@ -927,7 +927,7 @@ func (c *CloudFront) DeleteCloudFrontOriginAccessIdentityRequest(input *DeleteCl // // * ErrCodeOriginAccessIdentityInUse "OriginAccessIdentityInUse" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteCloudFrontOriginAccessIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteCloudFrontOriginAccessIdentity func (c *CloudFront) DeleteCloudFrontOriginAccessIdentity(input *DeleteCloudFrontOriginAccessIdentityInput) (*DeleteCloudFrontOriginAccessIdentityOutput, error) { req, out := c.DeleteCloudFrontOriginAccessIdentityRequest(input) return out, req.Send() @@ -974,7 +974,7 @@ const opDeleteDistribution = "DeleteDistribution2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteDistribution func (c *CloudFront) DeleteDistributionRequest(input *DeleteDistributionInput) (req *request.Request, output *DeleteDistributionOutput) { op := &request.Operation{ Name: opDeleteDistribution, @@ -1020,7 +1020,7 @@ func (c *CloudFront) DeleteDistributionRequest(input *DeleteDistributionInput) ( // The precondition given in one or more of the request-header fields evaluated // to false. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteDistribution func (c *CloudFront) DeleteDistribution(input *DeleteDistributionInput) (*DeleteDistributionOutput, error) { req, out := c.DeleteDistributionRequest(input) return out, req.Send() @@ -1067,7 +1067,7 @@ const opDeleteServiceLinkedRole = "DeleteServiceLinkedRole2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteServiceLinkedRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteServiceLinkedRole func (c *CloudFront) DeleteServiceLinkedRoleRequest(input *DeleteServiceLinkedRoleInput) (req *request.Request, output *DeleteServiceLinkedRoleOutput) { op := &request.Operation{ Name: opDeleteServiceLinkedRole, @@ -1106,7 +1106,7 @@ func (c *CloudFront) DeleteServiceLinkedRoleRequest(input *DeleteServiceLinkedRo // // * ErrCodeNoSuchResource "NoSuchResource" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteServiceLinkedRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteServiceLinkedRole func (c *CloudFront) DeleteServiceLinkedRole(input *DeleteServiceLinkedRoleInput) (*DeleteServiceLinkedRoleOutput, error) { req, out := c.DeleteServiceLinkedRoleRequest(input) return out, req.Send() @@ -1153,7 +1153,7 @@ const opDeleteStreamingDistribution = "DeleteStreamingDistribution2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteStreamingDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteStreamingDistribution func (c *CloudFront) DeleteStreamingDistributionRequest(input *DeleteStreamingDistributionInput) (req *request.Request, output *DeleteStreamingDistributionOutput) { op := &request.Operation{ Name: opDeleteStreamingDistribution, @@ -1234,7 +1234,7 @@ func (c *CloudFront) DeleteStreamingDistributionRequest(input *DeleteStreamingDi // The precondition given in one or more of the request-header fields evaluated // to false. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteStreamingDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteStreamingDistribution func (c *CloudFront) DeleteStreamingDistribution(input *DeleteStreamingDistributionInput) (*DeleteStreamingDistributionOutput, error) { req, out := c.DeleteStreamingDistributionRequest(input) return out, req.Send() @@ -1281,7 +1281,7 @@ const opGetCloudFrontOriginAccessIdentity = "GetCloudFrontOriginAccessIdentity20 // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentity func (c *CloudFront) GetCloudFrontOriginAccessIdentityRequest(input *GetCloudFrontOriginAccessIdentityInput) (req *request.Request, output *GetCloudFrontOriginAccessIdentityOutput) { op := &request.Operation{ Name: opGetCloudFrontOriginAccessIdentity, @@ -1316,7 +1316,7 @@ func (c *CloudFront) GetCloudFrontOriginAccessIdentityRequest(input *GetCloudFro // * ErrCodeAccessDenied "AccessDenied" // Access denied. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentity func (c *CloudFront) GetCloudFrontOriginAccessIdentity(input *GetCloudFrontOriginAccessIdentityInput) (*GetCloudFrontOriginAccessIdentityOutput, error) { req, out := c.GetCloudFrontOriginAccessIdentityRequest(input) return out, req.Send() @@ -1363,7 +1363,7 @@ const opGetCloudFrontOriginAccessIdentityConfig = "GetCloudFrontOriginAccessIden // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityConfig func (c *CloudFront) GetCloudFrontOriginAccessIdentityConfigRequest(input *GetCloudFrontOriginAccessIdentityConfigInput) (req *request.Request, output *GetCloudFrontOriginAccessIdentityConfigOutput) { op := &request.Operation{ Name: opGetCloudFrontOriginAccessIdentityConfig, @@ -1398,7 +1398,7 @@ func (c *CloudFront) GetCloudFrontOriginAccessIdentityConfigRequest(input *GetCl // * ErrCodeAccessDenied "AccessDenied" // Access denied. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityConfig func (c *CloudFront) GetCloudFrontOriginAccessIdentityConfig(input *GetCloudFrontOriginAccessIdentityConfigInput) (*GetCloudFrontOriginAccessIdentityConfigOutput, error) { req, out := c.GetCloudFrontOriginAccessIdentityConfigRequest(input) return out, req.Send() @@ -1445,7 +1445,7 @@ const opGetDistribution = "GetDistribution2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistribution func (c *CloudFront) GetDistributionRequest(input *GetDistributionInput) (req *request.Request, output *GetDistributionOutput) { op := &request.Operation{ Name: opGetDistribution, @@ -1480,7 +1480,7 @@ func (c *CloudFront) GetDistributionRequest(input *GetDistributionInput) (req *r // * ErrCodeAccessDenied "AccessDenied" // Access denied. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistribution func (c *CloudFront) GetDistribution(input *GetDistributionInput) (*GetDistributionOutput, error) { req, out := c.GetDistributionRequest(input) return out, req.Send() @@ -1527,7 +1527,7 @@ const opGetDistributionConfig = "GetDistributionConfig2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionConfig func (c *CloudFront) GetDistributionConfigRequest(input *GetDistributionConfigInput) (req *request.Request, output *GetDistributionConfigOutput) { op := &request.Operation{ Name: opGetDistributionConfig, @@ -1562,7 +1562,7 @@ func (c *CloudFront) GetDistributionConfigRequest(input *GetDistributionConfigIn // * ErrCodeAccessDenied "AccessDenied" // Access denied. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionConfig func (c *CloudFront) GetDistributionConfig(input *GetDistributionConfigInput) (*GetDistributionConfigOutput, error) { req, out := c.GetDistributionConfigRequest(input) return out, req.Send() @@ -1609,7 +1609,7 @@ const opGetInvalidation = "GetInvalidation2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetInvalidation +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetInvalidation func (c *CloudFront) GetInvalidationRequest(input *GetInvalidationInput) (req *request.Request, output *GetInvalidationOutput) { op := &request.Operation{ Name: opGetInvalidation, @@ -1647,7 +1647,7 @@ func (c *CloudFront) GetInvalidationRequest(input *GetInvalidationInput) (req *r // * ErrCodeAccessDenied "AccessDenied" // Access denied. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetInvalidation +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetInvalidation func (c *CloudFront) GetInvalidation(input *GetInvalidationInput) (*GetInvalidationOutput, error) { req, out := c.GetInvalidationRequest(input) return out, req.Send() @@ -1694,7 +1694,7 @@ const opGetStreamingDistribution = "GetStreamingDistribution2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistribution func (c *CloudFront) GetStreamingDistributionRequest(input *GetStreamingDistributionInput) (req *request.Request, output *GetStreamingDistributionOutput) { op := &request.Operation{ Name: opGetStreamingDistribution, @@ -1730,7 +1730,7 @@ func (c *CloudFront) GetStreamingDistributionRequest(input *GetStreamingDistribu // * ErrCodeAccessDenied "AccessDenied" // Access denied. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistribution func (c *CloudFront) GetStreamingDistribution(input *GetStreamingDistributionInput) (*GetStreamingDistributionOutput, error) { req, out := c.GetStreamingDistributionRequest(input) return out, req.Send() @@ -1777,7 +1777,7 @@ const opGetStreamingDistributionConfig = "GetStreamingDistributionConfig2017_03_ // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionConfig func (c *CloudFront) GetStreamingDistributionConfigRequest(input *GetStreamingDistributionConfigInput) (req *request.Request, output *GetStreamingDistributionConfigOutput) { op := &request.Operation{ Name: opGetStreamingDistributionConfig, @@ -1812,7 +1812,7 @@ func (c *CloudFront) GetStreamingDistributionConfigRequest(input *GetStreamingDi // * ErrCodeAccessDenied "AccessDenied" // Access denied. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionConfig func (c *CloudFront) GetStreamingDistributionConfig(input *GetStreamingDistributionConfigInput) (*GetStreamingDistributionConfigOutput, error) { req, out := c.GetStreamingDistributionConfigRequest(input) return out, req.Send() @@ -1859,7 +1859,7 @@ const opListCloudFrontOriginAccessIdentities = "ListCloudFrontOriginAccessIdenti // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListCloudFrontOriginAccessIdentities +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListCloudFrontOriginAccessIdentities func (c *CloudFront) ListCloudFrontOriginAccessIdentitiesRequest(input *ListCloudFrontOriginAccessIdentitiesInput) (req *request.Request, output *ListCloudFrontOriginAccessIdentitiesOutput) { op := &request.Operation{ Name: opListCloudFrontOriginAccessIdentities, @@ -1897,7 +1897,7 @@ func (c *CloudFront) ListCloudFrontOriginAccessIdentitiesRequest(input *ListClou // * ErrCodeInvalidArgument "InvalidArgument" // The argument is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListCloudFrontOriginAccessIdentities +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListCloudFrontOriginAccessIdentities func (c *CloudFront) ListCloudFrontOriginAccessIdentities(input *ListCloudFrontOriginAccessIdentitiesInput) (*ListCloudFrontOriginAccessIdentitiesOutput, error) { req, out := c.ListCloudFrontOriginAccessIdentitiesRequest(input) return out, req.Send() @@ -1994,7 +1994,7 @@ const opListDistributions = "ListDistributions2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributions +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributions func (c *CloudFront) ListDistributionsRequest(input *ListDistributionsInput) (req *request.Request, output *ListDistributionsOutput) { op := &request.Operation{ Name: opListDistributions, @@ -2032,7 +2032,7 @@ func (c *CloudFront) ListDistributionsRequest(input *ListDistributionsInput) (re // * ErrCodeInvalidArgument "InvalidArgument" // The argument is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributions +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributions func (c *CloudFront) ListDistributions(input *ListDistributionsInput) (*ListDistributionsOutput, error) { req, out := c.ListDistributionsRequest(input) return out, req.Send() @@ -2129,7 +2129,7 @@ const opListDistributionsByWebACLId = "ListDistributionsByWebACLId2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsByWebACLId +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsByWebACLId func (c *CloudFront) ListDistributionsByWebACLIdRequest(input *ListDistributionsByWebACLIdInput) (req *request.Request, output *ListDistributionsByWebACLIdOutput) { op := &request.Operation{ Name: opListDistributionsByWebACLId, @@ -2163,7 +2163,7 @@ func (c *CloudFront) ListDistributionsByWebACLIdRequest(input *ListDistributions // // * ErrCodeInvalidWebACLId "InvalidWebACLId" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsByWebACLId +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsByWebACLId func (c *CloudFront) ListDistributionsByWebACLId(input *ListDistributionsByWebACLIdInput) (*ListDistributionsByWebACLIdOutput, error) { req, out := c.ListDistributionsByWebACLIdRequest(input) return out, req.Send() @@ -2210,7 +2210,7 @@ const opListInvalidations = "ListInvalidations2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListInvalidations +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListInvalidations func (c *CloudFront) ListInvalidationsRequest(input *ListInvalidationsInput) (req *request.Request, output *ListInvalidationsOutput) { op := &request.Operation{ Name: opListInvalidations, @@ -2254,7 +2254,7 @@ func (c *CloudFront) ListInvalidationsRequest(input *ListInvalidationsInput) (re // * ErrCodeAccessDenied "AccessDenied" // Access denied. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListInvalidations +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListInvalidations func (c *CloudFront) ListInvalidations(input *ListInvalidationsInput) (*ListInvalidationsOutput, error) { req, out := c.ListInvalidationsRequest(input) return out, req.Send() @@ -2351,7 +2351,7 @@ const opListStreamingDistributions = "ListStreamingDistributions2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListStreamingDistributions +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListStreamingDistributions func (c *CloudFront) ListStreamingDistributionsRequest(input *ListStreamingDistributionsInput) (req *request.Request, output *ListStreamingDistributionsOutput) { op := &request.Operation{ Name: opListStreamingDistributions, @@ -2389,7 +2389,7 @@ func (c *CloudFront) ListStreamingDistributionsRequest(input *ListStreamingDistr // * ErrCodeInvalidArgument "InvalidArgument" // The argument is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListStreamingDistributions +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListStreamingDistributions func (c *CloudFront) ListStreamingDistributions(input *ListStreamingDistributionsInput) (*ListStreamingDistributionsOutput, error) { req, out := c.ListStreamingDistributionsRequest(input) return out, req.Send() @@ -2486,7 +2486,7 @@ const opListTagsForResource = "ListTagsForResource2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListTagsForResource func (c *CloudFront) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ Name: opListTagsForResource, @@ -2525,7 +2525,7 @@ func (c *CloudFront) ListTagsForResourceRequest(input *ListTagsForResourceInput) // // * ErrCodeNoSuchResource "NoSuchResource" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListTagsForResource func (c *CloudFront) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { req, out := c.ListTagsForResourceRequest(input) return out, req.Send() @@ -2572,7 +2572,7 @@ const opTagResource = "TagResource2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TagResource func (c *CloudFront) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ Name: opTagResource, @@ -2613,7 +2613,7 @@ func (c *CloudFront) TagResourceRequest(input *TagResourceInput) (req *request.R // // * ErrCodeNoSuchResource "NoSuchResource" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TagResource func (c *CloudFront) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) return out, req.Send() @@ -2660,7 +2660,7 @@ const opUntagResource = "UntagResource2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UntagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UntagResource func (c *CloudFront) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { op := &request.Operation{ Name: opUntagResource, @@ -2701,7 +2701,7 @@ func (c *CloudFront) UntagResourceRequest(input *UntagResourceInput) (req *reque // // * ErrCodeNoSuchResource "NoSuchResource" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UntagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UntagResource func (c *CloudFront) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) return out, req.Send() @@ -2748,7 +2748,7 @@ const opUpdateCloudFrontOriginAccessIdentity = "UpdateCloudFrontOriginAccessIden // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateCloudFrontOriginAccessIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateCloudFrontOriginAccessIdentity func (c *CloudFront) UpdateCloudFrontOriginAccessIdentityRequest(input *UpdateCloudFrontOriginAccessIdentityInput) (req *request.Request, output *UpdateCloudFrontOriginAccessIdentityOutput) { op := &request.Operation{ Name: opUpdateCloudFrontOriginAccessIdentity, @@ -2803,7 +2803,7 @@ func (c *CloudFront) UpdateCloudFrontOriginAccessIdentityRequest(input *UpdateCl // * ErrCodeInconsistentQuantities "InconsistentQuantities" // The value of Quantity and the size of Items don't match. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateCloudFrontOriginAccessIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateCloudFrontOriginAccessIdentity func (c *CloudFront) UpdateCloudFrontOriginAccessIdentity(input *UpdateCloudFrontOriginAccessIdentityInput) (*UpdateCloudFrontOriginAccessIdentityOutput, error) { req, out := c.UpdateCloudFrontOriginAccessIdentityRequest(input) return out, req.Send() @@ -2850,7 +2850,7 @@ const opUpdateDistribution = "UpdateDistribution2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateDistribution func (c *CloudFront) UpdateDistributionRequest(input *UpdateDistributionInput) (req *request.Request, output *UpdateDistributionOutput) { op := &request.Operation{ Name: opUpdateDistribution, @@ -3043,7 +3043,7 @@ func (c *CloudFront) UpdateDistributionRequest(input *UpdateDistributionInput) ( // // * ErrCodeInvalidOriginKeepaliveTimeout "InvalidOriginKeepaliveTimeout" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateDistribution func (c *CloudFront) UpdateDistribution(input *UpdateDistributionInput) (*UpdateDistributionOutput, error) { req, out := c.UpdateDistributionRequest(input) return out, req.Send() @@ -3090,7 +3090,7 @@ const opUpdateStreamingDistribution = "UpdateStreamingDistribution2017_03_25" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateStreamingDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateStreamingDistribution func (c *CloudFront) UpdateStreamingDistributionRequest(input *UpdateStreamingDistributionInput) (req *request.Request, output *UpdateStreamingDistributionOutput) { op := &request.Operation{ Name: opUpdateStreamingDistribution, @@ -3158,7 +3158,7 @@ func (c *CloudFront) UpdateStreamingDistributionRequest(input *UpdateStreamingDi // * ErrCodeInconsistentQuantities "InconsistentQuantities" // The value of Quantity and the size of Items don't match. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateStreamingDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateStreamingDistribution func (c *CloudFront) UpdateStreamingDistribution(input *UpdateStreamingDistributionInput) (*UpdateStreamingDistributionOutput, error) { req, out := c.UpdateStreamingDistributionRequest(input) return out, req.Send() @@ -3192,7 +3192,7 @@ func (c *CloudFront) UpdateStreamingDistributionWithContext(ctx aws.Context, inp // // For more information, see Serving Private Content through CloudFront (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) // in the Amazon CloudFront Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ActiveTrustedSigners +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ActiveTrustedSigners type ActiveTrustedSigners struct { _ struct{} `type:"structure"` @@ -3250,7 +3250,7 @@ func (s *ActiveTrustedSigners) SetQuantity(v int64) *ActiveTrustedSigners { // A complex type that contains information about CNAMEs (alternate domain names), // if any, for this distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Aliases +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Aliases type Aliases struct { _ struct{} `type:"structure"` @@ -3315,7 +3315,7 @@ func (s *Aliases) SetQuantity(v int64) *Aliases { // S3 bucket or to your custom origin so users can't perform operations that // you don't want them to. For example, you might not want users to have permissions // to delete objects from your origin. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/AllowedMethods +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/AllowedMethods type AllowedMethods struct { _ struct{} `type:"structure"` @@ -3420,7 +3420,7 @@ func (s *AllowedMethods) SetQuantity(v int64) *AllowedMethods { // // For more information about cache behaviors, see Cache Behaviors (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesCacheBehavior) // in the Amazon CloudFront Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CacheBehavior +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CacheBehavior type CacheBehavior struct { _ struct{} `type:"structure"` @@ -3702,7 +3702,7 @@ func (s *CacheBehavior) SetViewerProtocolPolicy(v string) *CacheBehavior { } // A complex type that contains zero or more CacheBehavior elements. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CacheBehaviors +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CacheBehaviors type CacheBehaviors struct { _ struct{} `type:"structure"` @@ -3771,7 +3771,7 @@ func (s *CacheBehaviors) SetQuantity(v int64) *CacheBehaviors { // If you pick the second choice for your Amazon S3 Origin, you may need to // forward Access-Control-Request-Method, Access-Control-Request-Headers, and // Origin headers for the responses to be cached correctly. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CachedMethods +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CachedMethods type CachedMethods struct { _ struct{} `type:"structure"` @@ -3832,7 +3832,7 @@ func (s *CachedMethods) SetQuantity(v int64) *CachedMethods { // cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies // (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html) // in the Amazon CloudFront Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CookieNames +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CookieNames type CookieNames struct { _ struct{} `type:"structure"` @@ -3887,7 +3887,7 @@ func (s *CookieNames) SetQuantity(v int64) *CookieNames { // cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies // (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html) // in the Amazon CloudFront Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CookiePreference +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CookiePreference type CookiePreference struct { _ struct{} `type:"structure"` @@ -3958,7 +3958,7 @@ func (s *CookiePreference) SetWhitelistedNames(v *CookieNames) *CookiePreference } // The request to create a new origin access identity. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateCloudFrontOriginAccessIdentityRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateCloudFrontOriginAccessIdentityRequest type CreateCloudFrontOriginAccessIdentityInput struct { _ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentityConfig"` @@ -4003,7 +4003,7 @@ func (s *CreateCloudFrontOriginAccessIdentityInput) SetCloudFrontOriginAccessIde } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateCloudFrontOriginAccessIdentityResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateCloudFrontOriginAccessIdentityResult type CreateCloudFrontOriginAccessIdentityOutput struct { _ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentity"` @@ -4047,7 +4047,7 @@ func (s *CreateCloudFrontOriginAccessIdentityOutput) SetLocation(v string) *Crea } // The request to create a new distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionRequest type CreateDistributionInput struct { _ struct{} `type:"structure" payload:"DistributionConfig"` @@ -4092,7 +4092,7 @@ func (s *CreateDistributionInput) SetDistributionConfig(v *DistributionConfig) * } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionResult type CreateDistributionOutput struct { _ struct{} `type:"structure" payload:"Distribution"` @@ -4136,7 +4136,7 @@ func (s *CreateDistributionOutput) SetLocation(v string) *CreateDistributionOutp } // The request to create a new distribution with tags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionWithTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionWithTagsRequest type CreateDistributionWithTagsInput struct { _ struct{} `type:"structure" payload:"DistributionConfigWithTags"` @@ -4181,7 +4181,7 @@ func (s *CreateDistributionWithTagsInput) SetDistributionConfigWithTags(v *Distr } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionWithTagsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionWithTagsResult type CreateDistributionWithTagsOutput struct { _ struct{} `type:"structure" payload:"Distribution"` @@ -4225,7 +4225,7 @@ func (s *CreateDistributionWithTagsOutput) SetLocation(v string) *CreateDistribu } // The request to create an invalidation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateInvalidationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateInvalidationRequest type CreateInvalidationInput struct { _ struct{} `type:"structure" payload:"InvalidationBatch"` @@ -4284,7 +4284,7 @@ func (s *CreateInvalidationInput) SetInvalidationBatch(v *InvalidationBatch) *Cr } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateInvalidationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateInvalidationResult type CreateInvalidationOutput struct { _ struct{} `type:"structure" payload:"Invalidation"` @@ -4319,7 +4319,7 @@ func (s *CreateInvalidationOutput) SetLocation(v string) *CreateInvalidationOutp } // The request to create a new streaming distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionRequest type CreateStreamingDistributionInput struct { _ struct{} `type:"structure" payload:"StreamingDistributionConfig"` @@ -4364,7 +4364,7 @@ func (s *CreateStreamingDistributionInput) SetStreamingDistributionConfig(v *Str } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionResult type CreateStreamingDistributionOutput struct { _ struct{} `type:"structure" payload:"StreamingDistribution"` @@ -4408,7 +4408,7 @@ func (s *CreateStreamingDistributionOutput) SetStreamingDistribution(v *Streamin } // The request to create a new streaming distribution with tags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionWithTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionWithTagsRequest type CreateStreamingDistributionWithTagsInput struct { _ struct{} `type:"structure" payload:"StreamingDistributionConfigWithTags"` @@ -4453,7 +4453,7 @@ func (s *CreateStreamingDistributionWithTagsInput) SetStreamingDistributionConfi } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionWithTagsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionWithTagsResult type CreateStreamingDistributionWithTagsOutput struct { _ struct{} `type:"structure" payload:"StreamingDistribution"` @@ -4506,7 +4506,7 @@ func (s *CreateStreamingDistributionWithTagsOutput) SetStreamingDistribution(v * // For more information about custom error pages, see Customizing Error Responses // (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) // in the Amazon CloudFront Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CustomErrorResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CustomErrorResponse type CustomErrorResponse struct { _ struct{} `type:"structure"` @@ -4634,7 +4634,7 @@ func (s *CustomErrorResponse) SetResponsePagePath(v string) *CustomErrorResponse // For more information about custom error pages, see Customizing Error Responses // (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) // in the Amazon CloudFront Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CustomErrorResponses +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CustomErrorResponses type CustomErrorResponses struct { _ struct{} `type:"structure"` @@ -4696,7 +4696,7 @@ func (s *CustomErrorResponses) SetQuantity(v int64) *CustomErrorResponses { } // A complex type that contains the list of Custom Headers for each origin. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CustomHeaders +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CustomHeaders type CustomHeaders struct { _ struct{} `type:"structure"` @@ -4757,7 +4757,7 @@ func (s *CustomHeaders) SetQuantity(v int64) *CustomHeaders { } // A customer origin. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CustomOriginConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CustomOriginConfig type CustomOriginConfig struct { _ struct{} `type:"structure"` @@ -4872,7 +4872,7 @@ func (s *CustomOriginConfig) SetOriginSslProtocols(v *OriginSslProtocols) *Custo // A complex type that describes the default cache behavior if you don't specify // a CacheBehavior element or if files don't match any of the values of PathPattern // in CacheBehavior elements. You must create exactly one default cache behavior. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DefaultCacheBehavior +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DefaultCacheBehavior type DefaultCacheBehavior struct { _ struct{} `type:"structure"` @@ -5118,7 +5118,7 @@ func (s *DefaultCacheBehavior) SetViewerProtocolPolicy(v string) *DefaultCacheBe } // Deletes a origin access identity. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteCloudFrontOriginAccessIdentityRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteCloudFrontOriginAccessIdentityRequest type DeleteCloudFrontOriginAccessIdentityInput struct { _ struct{} `type:"structure"` @@ -5167,7 +5167,7 @@ func (s *DeleteCloudFrontOriginAccessIdentityInput) SetIfMatch(v string) *Delete return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteCloudFrontOriginAccessIdentityOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteCloudFrontOriginAccessIdentityOutput type DeleteCloudFrontOriginAccessIdentityOutput struct { _ struct{} `type:"structure"` } @@ -5217,7 +5217,7 @@ func (s DeleteCloudFrontOriginAccessIdentityOutput) GoString() string { // For information about deleting a distribution using the CloudFront console, // see Deleting a Distribution (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html) // in the Amazon CloudFront Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteDistributionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteDistributionRequest type DeleteDistributionInput struct { _ struct{} `type:"structure"` @@ -5266,7 +5266,7 @@ func (s *DeleteDistributionInput) SetIfMatch(v string) *DeleteDistributionInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteDistributionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteDistributionOutput type DeleteDistributionOutput struct { _ struct{} `type:"structure"` } @@ -5281,7 +5281,7 @@ func (s DeleteDistributionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteServiceLinkedRoleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteServiceLinkedRoleRequest type DeleteServiceLinkedRoleInput struct { _ struct{} `type:"structure"` @@ -5318,7 +5318,7 @@ func (s *DeleteServiceLinkedRoleInput) SetRoleName(v string) *DeleteServiceLinke return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteServiceLinkedRoleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteServiceLinkedRoleOutput type DeleteServiceLinkedRoleOutput struct { _ struct{} `type:"structure"` } @@ -5334,7 +5334,7 @@ func (s DeleteServiceLinkedRoleOutput) GoString() string { } // The request to delete a streaming distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteStreamingDistributionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteStreamingDistributionRequest type DeleteStreamingDistributionInput struct { _ struct{} `type:"structure"` @@ -5383,7 +5383,7 @@ func (s *DeleteStreamingDistributionInput) SetIfMatch(v string) *DeleteStreaming return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteStreamingDistributionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteStreamingDistributionOutput type DeleteStreamingDistributionOutput struct { _ struct{} `type:"structure"` } @@ -5399,7 +5399,7 @@ func (s DeleteStreamingDistributionOutput) GoString() string { } // The distribution's information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Distribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Distribution type Distribution struct { _ struct{} `type:"structure"` @@ -5514,7 +5514,7 @@ func (s *Distribution) SetStatus(v string) *Distribution { } // A distribution configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DistributionConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DistributionConfig type DistributionConfig struct { _ struct{} `type:"structure"` @@ -5954,7 +5954,7 @@ func (s *DistributionConfig) SetWebACLId(v string) *DistributionConfig { // A distribution Configuration and a list of tags to be associated with the // distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DistributionConfigWithTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DistributionConfigWithTags type DistributionConfigWithTags struct { _ struct{} `type:"structure"` @@ -6018,7 +6018,7 @@ func (s *DistributionConfigWithTags) SetTags(v *Tags) *DistributionConfigWithTag } // A distribution list. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DistributionList +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DistributionList type DistributionList struct { _ struct{} `type:"structure"` @@ -6102,7 +6102,7 @@ func (s *DistributionList) SetQuantity(v int64) *DistributionList { } // A summary of the information about a CloudFront distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DistributionSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DistributionSummary type DistributionSummary struct { _ struct{} `type:"structure"` @@ -6408,7 +6408,7 @@ func (s *DistributionSummary) SetWebACLId(v string) *DistributionSummary { } // A complex type that specifies how CloudFront handles query strings and cookies. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ForwardedValues +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ForwardedValues type ForwardedValues struct { _ struct{} `type:"structure"` @@ -6524,7 +6524,7 @@ func (s *ForwardedValues) SetQueryStringCacheKeys(v *QueryStringCacheKeys) *Forw // A complex type that controls the countries in which your content is distributed. // CloudFront determines the location of your users using MaxMind GeoIP databases. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GeoRestriction +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GeoRestriction type GeoRestriction struct { _ struct{} `type:"structure"` @@ -6612,7 +6612,7 @@ func (s *GeoRestriction) SetRestrictionType(v string) *GeoRestriction { // The origin access identity's configuration information. For more information, // see CloudFrontOriginAccessIdentityConfigComplexType. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityConfigRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityConfigRequest type GetCloudFrontOriginAccessIdentityConfigInput struct { _ struct{} `type:"structure"` @@ -6652,7 +6652,7 @@ func (s *GetCloudFrontOriginAccessIdentityConfigInput) SetId(v string) *GetCloud } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityConfigResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityConfigResult type GetCloudFrontOriginAccessIdentityConfigOutput struct { _ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentityConfig"` @@ -6686,7 +6686,7 @@ func (s *GetCloudFrontOriginAccessIdentityConfigOutput) SetETag(v string) *GetCl } // The request to get an origin access identity's information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityRequest type GetCloudFrontOriginAccessIdentityInput struct { _ struct{} `type:"structure"` @@ -6726,7 +6726,7 @@ func (s *GetCloudFrontOriginAccessIdentityInput) SetId(v string) *GetCloudFrontO } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityResult type GetCloudFrontOriginAccessIdentityOutput struct { _ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentity"` @@ -6761,7 +6761,7 @@ func (s *GetCloudFrontOriginAccessIdentityOutput) SetETag(v string) *GetCloudFro } // The request to get a distribution configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionConfigRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionConfigRequest type GetDistributionConfigInput struct { _ struct{} `type:"structure"` @@ -6801,7 +6801,7 @@ func (s *GetDistributionConfigInput) SetId(v string) *GetDistributionConfigInput } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionConfigResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionConfigResult type GetDistributionConfigOutput struct { _ struct{} `type:"structure" payload:"DistributionConfig"` @@ -6835,7 +6835,7 @@ func (s *GetDistributionConfigOutput) SetETag(v string) *GetDistributionConfigOu } // The request to get a distribution's information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionRequest type GetDistributionInput struct { _ struct{} `type:"structure"` @@ -6875,7 +6875,7 @@ func (s *GetDistributionInput) SetId(v string) *GetDistributionInput { } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionResult type GetDistributionOutput struct { _ struct{} `type:"structure" payload:"Distribution"` @@ -6909,7 +6909,7 @@ func (s *GetDistributionOutput) SetETag(v string) *GetDistributionOutput { } // The request to get an invalidation's information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetInvalidationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetInvalidationRequest type GetInvalidationInput struct { _ struct{} `type:"structure"` @@ -6963,7 +6963,7 @@ func (s *GetInvalidationInput) SetId(v string) *GetInvalidationInput { } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetInvalidationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetInvalidationResult type GetInvalidationOutput struct { _ struct{} `type:"structure" payload:"Invalidation"` @@ -6989,7 +6989,7 @@ func (s *GetInvalidationOutput) SetInvalidation(v *Invalidation) *GetInvalidatio } // To request to get a streaming distribution configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionConfigRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionConfigRequest type GetStreamingDistributionConfigInput struct { _ struct{} `type:"structure"` @@ -7029,7 +7029,7 @@ func (s *GetStreamingDistributionConfigInput) SetId(v string) *GetStreamingDistr } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionConfigResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionConfigResult type GetStreamingDistributionConfigOutput struct { _ struct{} `type:"structure" payload:"StreamingDistributionConfig"` @@ -7063,7 +7063,7 @@ func (s *GetStreamingDistributionConfigOutput) SetStreamingDistributionConfig(v } // The request to get a streaming distribution's information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionRequest type GetStreamingDistributionInput struct { _ struct{} `type:"structure"` @@ -7103,7 +7103,7 @@ func (s *GetStreamingDistributionInput) SetId(v string) *GetStreamingDistributio } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionResult type GetStreamingDistributionOutput struct { _ struct{} `type:"structure" payload:"StreamingDistribution"` @@ -7149,7 +7149,7 @@ func (s *GetStreamingDistributionOutput) SetStreamingDistribution(v *StreamingDi // for each header value. For more information about caching based on header // values, see How CloudFront Forwards and Caches Headers (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html) // in the Amazon CloudFront Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Headers +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Headers type Headers struct { _ struct{} `type:"structure"` @@ -7225,7 +7225,7 @@ func (s *Headers) SetQuantity(v int64) *Headers { } // An invalidation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Invalidation +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Invalidation type Invalidation struct { _ struct{} `type:"structure"` @@ -7286,7 +7286,7 @@ func (s *Invalidation) SetStatus(v string) *Invalidation { } // An invalidation batch. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/InvalidationBatch +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/InvalidationBatch type InvalidationBatch struct { _ struct{} `type:"structure"` @@ -7365,7 +7365,7 @@ func (s *InvalidationBatch) SetPaths(v *Paths) *InvalidationBatch { // For more information about invalidation, see Invalidating Objects (Web Distributions // Only) (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html) // in the Amazon CloudFront Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/InvalidationList +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/InvalidationList type InvalidationList struct { _ struct{} `type:"structure"` @@ -7449,7 +7449,7 @@ func (s *InvalidationList) SetQuantity(v int64) *InvalidationList { } // A summary of an invalidation request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/InvalidationSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/InvalidationSummary type InvalidationSummary struct { _ struct{} `type:"structure"` @@ -7499,7 +7499,7 @@ func (s *InvalidationSummary) SetStatus(v string) *InvalidationSummary { // associated with AwsAccountNumber. // // For more information, see ActiveTrustedSigners. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/KeyPairIds +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/KeyPairIds type KeyPairIds struct { _ struct{} `type:"structure"` @@ -7540,7 +7540,7 @@ func (s *KeyPairIds) SetQuantity(v int64) *KeyPairIds { } // A complex type that contains a Lambda function association. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/LambdaFunctionAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/LambdaFunctionAssociation type LambdaFunctionAssociation struct { _ struct{} `type:"structure"` @@ -7608,7 +7608,7 @@ func (s *LambdaFunctionAssociation) SetLambdaFunctionARN(v string) *LambdaFuncti // // If you don't want to invoke any Lambda functions for the requests that match // PathPattern, specify 0 for Quantity and omit Items. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/LambdaFunctionAssociations +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/LambdaFunctionAssociations type LambdaFunctionAssociations struct { _ struct{} `type:"structure"` @@ -7658,7 +7658,7 @@ func (s *LambdaFunctionAssociations) SetQuantity(v int64) *LambdaFunctionAssocia } // The request to list origin access identities. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListCloudFrontOriginAccessIdentitiesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListCloudFrontOriginAccessIdentitiesRequest type ListCloudFrontOriginAccessIdentitiesInput struct { _ struct{} `type:"structure"` @@ -7696,7 +7696,7 @@ func (s *ListCloudFrontOriginAccessIdentitiesInput) SetMaxItems(v int64) *ListCl } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListCloudFrontOriginAccessIdentitiesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListCloudFrontOriginAccessIdentitiesResult type ListCloudFrontOriginAccessIdentitiesOutput struct { _ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentityList"` @@ -7722,7 +7722,7 @@ func (s *ListCloudFrontOriginAccessIdentitiesOutput) SetCloudFrontOriginAccessId // The request to list distributions that are associated with a specified AWS // WAF web ACL. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsByWebACLIdRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsByWebACLIdRequest type ListDistributionsByWebACLIdInput struct { _ struct{} `type:"structure"` @@ -7788,7 +7788,7 @@ func (s *ListDistributionsByWebACLIdInput) SetWebACLId(v string) *ListDistributi // The response to a request to list the distributions that are associated with // a specified AWS WAF web ACL. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsByWebACLIdResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsByWebACLIdResult type ListDistributionsByWebACLIdOutput struct { _ struct{} `type:"structure" payload:"DistributionList"` @@ -7813,7 +7813,7 @@ func (s *ListDistributionsByWebACLIdOutput) SetDistributionList(v *DistributionL } // The request to list your distributions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsRequest type ListDistributionsInput struct { _ struct{} `type:"structure"` @@ -7851,7 +7851,7 @@ func (s *ListDistributionsInput) SetMaxItems(v int64) *ListDistributionsInput { } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsResult type ListDistributionsOutput struct { _ struct{} `type:"structure" payload:"DistributionList"` @@ -7876,7 +7876,7 @@ func (s *ListDistributionsOutput) SetDistributionList(v *DistributionList) *List } // The request to list invalidations. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListInvalidationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListInvalidationsRequest type ListInvalidationsInput struct { _ struct{} `type:"structure"` @@ -7941,7 +7941,7 @@ func (s *ListInvalidationsInput) SetMaxItems(v int64) *ListInvalidationsInput { } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListInvalidationsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListInvalidationsResult type ListInvalidationsOutput struct { _ struct{} `type:"structure" payload:"InvalidationList"` @@ -7966,7 +7966,7 @@ func (s *ListInvalidationsOutput) SetInvalidationList(v *InvalidationList) *List } // The request to list your streaming distributions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListStreamingDistributionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListStreamingDistributionsRequest type ListStreamingDistributionsInput struct { _ struct{} `type:"structure"` @@ -8000,7 +8000,7 @@ func (s *ListStreamingDistributionsInput) SetMaxItems(v int64) *ListStreamingDis } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListStreamingDistributionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListStreamingDistributionsResult type ListStreamingDistributionsOutput struct { _ struct{} `type:"structure" payload:"StreamingDistributionList"` @@ -8025,7 +8025,7 @@ func (s *ListStreamingDistributionsOutput) SetStreamingDistributionList(v *Strea } // The request to list tags for a CloudFront resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListTagsForResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListTagsForResourceRequest type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -8065,7 +8065,7 @@ func (s *ListTagsForResourceInput) SetResource(v string) *ListTagsForResourceInp } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListTagsForResourceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListTagsForResourceResult type ListTagsForResourceOutput struct { _ struct{} `type:"structure" payload:"Tags"` @@ -8092,7 +8092,7 @@ func (s *ListTagsForResourceOutput) SetTags(v *Tags) *ListTagsForResourceOutput } // A complex type that controls whether access logs are written for the distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/LoggingConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/LoggingConfig type LoggingConfig struct { _ struct{} `type:"structure"` @@ -8193,7 +8193,7 @@ func (s *LoggingConfig) SetPrefix(v string) *LoggingConfig { // For the current limit on the number of origins that you can create for a // distribution, see Amazon CloudFront Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_cloudfront) // in the AWS General Reference. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Origin +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Origin type Origin struct { _ struct{} `type:"structure"` @@ -8351,7 +8351,7 @@ func (s *Origin) SetS3OriginConfig(v *S3OriginConfig) *Origin { } // CloudFront origin access identity. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CloudFrontOriginAccessIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CloudFrontOriginAccessIdentity type OriginAccessIdentity struct { _ struct{} `type:"structure"` @@ -8401,7 +8401,7 @@ func (s *OriginAccessIdentity) SetS3CanonicalUserId(v string) *OriginAccessIdent // Origin access identity configuration. Send a GET request to the /CloudFront // API version/CloudFront/identity ID/config resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CloudFrontOriginAccessIdentityConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CloudFrontOriginAccessIdentityConfig type OriginAccessIdentityConfig struct { _ struct{} `type:"structure"` @@ -8473,7 +8473,7 @@ func (s *OriginAccessIdentityConfig) SetComment(v string) *OriginAccessIdentityC // child elements. By default, your entire list of origin access identities // is returned in one single page. If the list is long, you can paginate it // using the MaxItems and Marker parameters. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CloudFrontOriginAccessIdentityList +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CloudFrontOriginAccessIdentityList type OriginAccessIdentityList struct { _ struct{} `type:"structure"` @@ -8562,7 +8562,7 @@ func (s *OriginAccessIdentityList) SetQuantity(v int64) *OriginAccessIdentityLis } // Summary of the information about a CloudFront origin access identity. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CloudFrontOriginAccessIdentitySummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CloudFrontOriginAccessIdentitySummary type OriginAccessIdentitySummary struct { _ struct{} `type:"structure"` @@ -8615,7 +8615,7 @@ func (s *OriginAccessIdentitySummary) SetS3CanonicalUserId(v string) *OriginAcce // A complex type that contains HeaderName and HeaderValue elements, if any, // for this distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/OriginCustomHeader +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/OriginCustomHeader type OriginCustomHeader struct { _ struct{} `type:"structure"` @@ -8673,7 +8673,7 @@ func (s *OriginCustomHeader) SetHeaderValue(v string) *OriginCustomHeader { // A complex type that contains information about the SSL/TLS protocols that // CloudFront can use when establishing an HTTPS connection with your origin. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/OriginSslProtocols +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/OriginSslProtocols type OriginSslProtocols struct { _ struct{} `type:"structure"` @@ -8728,7 +8728,7 @@ func (s *OriginSslProtocols) SetQuantity(v int64) *OriginSslProtocols { } // A complex type that contains information about origins for this distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Origins +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Origins type Origins struct { _ struct{} `type:"structure"` @@ -8793,7 +8793,7 @@ func (s *Origins) SetQuantity(v int64) *Origins { // to invalidate. For more information, see Specifying the Objects to Invalidate // (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects) // in the Amazon CloudFront Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Paths +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Paths type Paths struct { _ struct{} `type:"structure"` @@ -8841,7 +8841,7 @@ func (s *Paths) SetQuantity(v int64) *Paths { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/QueryStringCacheKeys +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/QueryStringCacheKeys type QueryStringCacheKeys struct { _ struct{} `type:"structure"` @@ -8893,7 +8893,7 @@ func (s *QueryStringCacheKeys) SetQuantity(v int64) *QueryStringCacheKeys { // A complex type that identifies ways in which you want to restrict distribution // of your content. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Restrictions +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Restrictions type Restrictions struct { _ struct{} `type:"structure"` @@ -8940,7 +8940,7 @@ func (s *Restrictions) SetGeoRestriction(v *GeoRestriction) *Restrictions { // A complex type that contains information about the Amazon S3 bucket from // which you want CloudFront to get your media files for distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/S3Origin +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/S3Origin type S3Origin struct { _ struct{} `type:"structure"` @@ -9011,7 +9011,7 @@ func (s *S3Origin) SetOriginAccessIdentity(v string) *S3Origin { // A complex type that contains information about the Amazon S3 origin. If the // origin is a custom origin, use the CustomOriginConfig element instead. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/S3OriginConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/S3OriginConfig type S3OriginConfig struct { _ struct{} `type:"structure"` @@ -9074,7 +9074,7 @@ func (s *S3OriginConfig) SetOriginAccessIdentity(v string) *S3OriginConfig { // A complex type that lists the AWS accounts that were included in the TrustedSigners // complex type, as well as their active CloudFront key pair IDs, if any. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Signer +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Signer type Signer struct { _ struct{} `type:"structure"` @@ -9114,7 +9114,7 @@ func (s *Signer) SetKeyPairIds(v *KeyPairIds) *Signer { } // A streaming distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistribution +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistribution type StreamingDistribution struct { _ struct{} `type:"structure"` @@ -9216,7 +9216,7 @@ func (s *StreamingDistribution) SetStreamingDistributionConfig(v *StreamingDistr } // The RTMP distribution's configuration information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistributionConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistributionConfig type StreamingDistributionConfig struct { _ struct{} `type:"structure"` @@ -9379,7 +9379,7 @@ func (s *StreamingDistributionConfig) SetTrustedSigners(v *TrustedSigners) *Stre // A streaming distribution Configuration and a list of tags to be associated // with the streaming distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistributionConfigWithTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistributionConfigWithTags type StreamingDistributionConfigWithTags struct { _ struct{} `type:"structure"` @@ -9443,7 +9443,7 @@ func (s *StreamingDistributionConfigWithTags) SetTags(v *Tags) *StreamingDistrib } // A streaming distribution list. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistributionList +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistributionList type StreamingDistributionList struct { _ struct{} `type:"structure"` @@ -9528,7 +9528,7 @@ func (s *StreamingDistributionList) SetQuantity(v int64) *StreamingDistributionL } // A summary of the information for an Amazon CloudFront streaming distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistributionSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistributionSummary type StreamingDistributionSummary struct { _ struct{} `type:"structure"` @@ -9679,7 +9679,7 @@ func (s *StreamingDistributionSummary) SetTrustedSigners(v *TrustedSigners) *Str // A complex type that controls whether access logs are written for this streaming // distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingLoggingConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingLoggingConfig type StreamingLoggingConfig struct { _ struct{} `type:"structure"` @@ -9755,7 +9755,7 @@ func (s *StreamingLoggingConfig) SetPrefix(v string) *StreamingLoggingConfig { } // A complex type that contains Tag key and Tag value. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Tag type Tag struct { _ struct{} `type:"structure"` @@ -9813,7 +9813,7 @@ func (s *Tag) SetValue(v string) *Tag { } // A complex type that contains zero or more Tag elements. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TagKeys +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TagKeys type TagKeys struct { _ struct{} `type:"structure"` @@ -9838,7 +9838,7 @@ func (s *TagKeys) SetItems(v []*string) *TagKeys { } // The request to add tags to a CloudFront resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TagResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TagResourceRequest type TagResourceInput struct { _ struct{} `type:"structure" payload:"Tags"` @@ -9896,7 +9896,7 @@ func (s *TagResourceInput) SetTags(v *Tags) *TagResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TagResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TagResourceOutput type TagResourceOutput struct { _ struct{} `type:"structure"` } @@ -9912,7 +9912,7 @@ func (s TagResourceOutput) GoString() string { } // A complex type that contains zero or more Tag elements. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Tags +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Tags type Tags struct { _ struct{} `type:"structure"` @@ -9974,7 +9974,7 @@ func (s *Tags) SetItems(v []*Tag) *Tags { // // For more information about updating the distribution configuration, see DistributionConfig // . -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TrustedSigners +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TrustedSigners type TrustedSigners struct { _ struct{} `type:"structure"` @@ -10039,7 +10039,7 @@ func (s *TrustedSigners) SetQuantity(v int64) *TrustedSigners { } // The request to remove tags from a CloudFront resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UntagResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UntagResourceRequest type UntagResourceInput struct { _ struct{} `type:"structure" payload:"TagKeys"` @@ -10092,7 +10092,7 @@ func (s *UntagResourceInput) SetTagKeys(v *TagKeys) *UntagResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UntagResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UntagResourceOutput type UntagResourceOutput struct { _ struct{} `type:"structure"` } @@ -10108,7 +10108,7 @@ func (s UntagResourceOutput) GoString() string { } // The request to update an origin access identity. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateCloudFrontOriginAccessIdentityRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateCloudFrontOriginAccessIdentityRequest type UpdateCloudFrontOriginAccessIdentityInput struct { _ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentityConfig"` @@ -10177,7 +10177,7 @@ func (s *UpdateCloudFrontOriginAccessIdentityInput) SetIfMatch(v string) *Update } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateCloudFrontOriginAccessIdentityResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateCloudFrontOriginAccessIdentityResult type UpdateCloudFrontOriginAccessIdentityOutput struct { _ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentity"` @@ -10211,7 +10211,7 @@ func (s *UpdateCloudFrontOriginAccessIdentityOutput) SetETag(v string) *UpdateCl } // The request to update a distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateDistributionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateDistributionRequest type UpdateDistributionInput struct { _ struct{} `type:"structure" payload:"DistributionConfig"` @@ -10280,7 +10280,7 @@ func (s *UpdateDistributionInput) SetIfMatch(v string) *UpdateDistributionInput } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateDistributionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateDistributionResult type UpdateDistributionOutput struct { _ struct{} `type:"structure" payload:"Distribution"` @@ -10314,7 +10314,7 @@ func (s *UpdateDistributionOutput) SetETag(v string) *UpdateDistributionOutput { } // The request to update a streaming distribution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateStreamingDistributionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateStreamingDistributionRequest type UpdateStreamingDistributionInput struct { _ struct{} `type:"structure" payload:"StreamingDistributionConfig"` @@ -10383,7 +10383,7 @@ func (s *UpdateStreamingDistributionInput) SetStreamingDistributionConfig(v *Str } // The returned result of the corresponding request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateStreamingDistributionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateStreamingDistributionResult type UpdateStreamingDistributionOutput struct { _ struct{} `type:"structure" payload:"StreamingDistribution"` @@ -10502,7 +10502,7 @@ func (s *UpdateStreamingDistributionOutput) SetStreamingDistribution(v *Streamin // // For more information, see Using Alternate Domain Names and HTTPS (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/SecureConnections.html#CNAMEsAndHTTPS) // in the Amazon CloudFront Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ViewerCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ViewerCertificate type ViewerCertificate struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go index 7cc67dfb435..78557cbd63f 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go @@ -36,7 +36,7 @@ const opAddTags = "AddTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTags func (c *CloudTrail) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) { op := &request.Operation{ Name: opAddTags, @@ -113,7 +113,7 @@ func (c *CloudTrail) AddTagsRequest(input *AddTagsInput) (req *request.Request, // * ErrCodeOperationNotPermittedException "OperationNotPermittedException" // This exception is thrown when the requested operation is not permitted. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTags func (c *CloudTrail) AddTags(input *AddTagsInput) (*AddTagsOutput, error) { req, out := c.AddTagsRequest(input) return out, req.Send() @@ -160,7 +160,7 @@ const opCreateTrail = "CreateTrail" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrail +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrail func (c *CloudTrail) CreateTrailRequest(input *CreateTrailInput) (req *request.Request, output *CreateTrailOutput) { op := &request.Operation{ Name: opCreateTrail, @@ -271,7 +271,7 @@ func (c *CloudTrail) CreateTrailRequest(input *CreateTrailInput) (req *request.R // * ErrCodeOperationNotPermittedException "OperationNotPermittedException" // This exception is thrown when the requested operation is not permitted. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrail +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrail func (c *CloudTrail) CreateTrail(input *CreateTrailInput) (*CreateTrailOutput, error) { req, out := c.CreateTrailRequest(input) return out, req.Send() @@ -318,7 +318,7 @@ const opDeleteTrail = "DeleteTrail" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrail +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrail func (c *CloudTrail) DeleteTrailRequest(input *DeleteTrailInput) (req *request.Request, output *DeleteTrailOutput) { op := &request.Operation{ Name: opDeleteTrail, @@ -372,7 +372,7 @@ func (c *CloudTrail) DeleteTrailRequest(input *DeleteTrailInput) (req *request.R // This exception is thrown when an operation is called on a trail from a region // other than the region in which the trail was created. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrail +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrail func (c *CloudTrail) DeleteTrail(input *DeleteTrailInput) (*DeleteTrailOutput, error) { req, out := c.DeleteTrailRequest(input) return out, req.Send() @@ -419,7 +419,7 @@ const opDescribeTrails = "DescribeTrails" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrails +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrails func (c *CloudTrail) DescribeTrailsRequest(input *DescribeTrailsInput) (req *request.Request, output *DescribeTrailsOutput) { op := &request.Operation{ Name: opDescribeTrails, @@ -455,7 +455,7 @@ func (c *CloudTrail) DescribeTrailsRequest(input *DescribeTrailsInput) (req *req // * ErrCodeOperationNotPermittedException "OperationNotPermittedException" // This exception is thrown when the requested operation is not permitted. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrails +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrails func (c *CloudTrail) DescribeTrails(input *DescribeTrailsInput) (*DescribeTrailsOutput, error) { req, out := c.DescribeTrailsRequest(input) return out, req.Send() @@ -502,7 +502,7 @@ const opGetEventSelectors = "GetEventSelectors" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectors +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectors func (c *CloudTrail) GetEventSelectorsRequest(input *GetEventSelectorsInput) (req *request.Request, output *GetEventSelectorsOutput) { op := &request.Operation{ Name: opGetEventSelectors, @@ -568,7 +568,7 @@ func (c *CloudTrail) GetEventSelectorsRequest(input *GetEventSelectorsInput) (re // * ErrCodeOperationNotPermittedException "OperationNotPermittedException" // This exception is thrown when the requested operation is not permitted. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectors +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectors func (c *CloudTrail) GetEventSelectors(input *GetEventSelectorsInput) (*GetEventSelectorsOutput, error) { req, out := c.GetEventSelectorsRequest(input) return out, req.Send() @@ -615,7 +615,7 @@ const opGetTrailStatus = "GetTrailStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatus func (c *CloudTrail) GetTrailStatusRequest(input *GetTrailStatusInput) (req *request.Request, output *GetTrailStatusOutput) { op := &request.Operation{ Name: opGetTrailStatus, @@ -667,7 +667,7 @@ func (c *CloudTrail) GetTrailStatusRequest(input *GetTrailStatusInput) (req *req // // * Not be in IP address format (for example, 192.168.5.4) // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatus func (c *CloudTrail) GetTrailStatus(input *GetTrailStatusInput) (*GetTrailStatusOutput, error) { req, out := c.GetTrailStatusRequest(input) return out, req.Send() @@ -714,7 +714,7 @@ const opListPublicKeys = "ListPublicKeys" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeys +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeys func (c *CloudTrail) ListPublicKeysRequest(input *ListPublicKeysInput) (req *request.Request, output *ListPublicKeysOutput) { op := &request.Operation{ Name: opListPublicKeys, @@ -763,7 +763,7 @@ func (c *CloudTrail) ListPublicKeysRequest(input *ListPublicKeysInput) (req *req // * ErrCodeInvalidTokenException "InvalidTokenException" // Reserved for future use. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeys +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeys func (c *CloudTrail) ListPublicKeys(input *ListPublicKeysInput) (*ListPublicKeysOutput, error) { req, out := c.ListPublicKeysRequest(input) return out, req.Send() @@ -810,7 +810,7 @@ const opListTags = "ListTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTags func (c *CloudTrail) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { op := &request.Operation{ Name: opListTags, @@ -877,7 +877,7 @@ func (c *CloudTrail) ListTagsRequest(input *ListTagsInput) (req *request.Request // * ErrCodeInvalidTokenException "InvalidTokenException" // Reserved for future use. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTags func (c *CloudTrail) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { req, out := c.ListTagsRequest(input) return out, req.Send() @@ -924,7 +924,7 @@ const opLookupEvents = "LookupEvents" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEvents func (c *CloudTrail) LookupEventsRequest(input *LookupEventsInput) (req *request.Request, output *LookupEventsOutput) { op := &request.Operation{ Name: opLookupEvents, @@ -998,7 +998,7 @@ func (c *CloudTrail) LookupEventsRequest(input *LookupEventsInput) (req *request // Invalid token or token that was previously used in a request with different // parameters. This exception is thrown if the token is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEvents func (c *CloudTrail) LookupEvents(input *LookupEventsInput) (*LookupEventsOutput, error) { req, out := c.LookupEventsRequest(input) return out, req.Send() @@ -1095,7 +1095,7 @@ const opPutEventSelectors = "PutEventSelectors" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectors +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectors func (c *CloudTrail) PutEventSelectorsRequest(input *PutEventSelectorsInput) (req *request.Request, output *PutEventSelectorsOutput) { op := &request.Operation{ Name: opPutEventSelectors, @@ -1192,7 +1192,7 @@ func (c *CloudTrail) PutEventSelectorsRequest(input *PutEventSelectorsInput) (re // * ErrCodeOperationNotPermittedException "OperationNotPermittedException" // This exception is thrown when the requested operation is not permitted. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectors +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectors func (c *CloudTrail) PutEventSelectors(input *PutEventSelectorsInput) (*PutEventSelectorsOutput, error) { req, out := c.PutEventSelectorsRequest(input) return out, req.Send() @@ -1239,7 +1239,7 @@ const opRemoveTags = "RemoveTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTags func (c *CloudTrail) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) { op := &request.Operation{ Name: opRemoveTags, @@ -1307,7 +1307,7 @@ func (c *CloudTrail) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Req // * ErrCodeOperationNotPermittedException "OperationNotPermittedException" // This exception is thrown when the requested operation is not permitted. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTags func (c *CloudTrail) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) { req, out := c.RemoveTagsRequest(input) return out, req.Send() @@ -1354,7 +1354,7 @@ const opStartLogging = "StartLogging" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLogging +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLogging func (c *CloudTrail) StartLoggingRequest(input *StartLoggingInput) (req *request.Request, output *StartLoggingOutput) { op := &request.Operation{ Name: opStartLogging, @@ -1410,7 +1410,7 @@ func (c *CloudTrail) StartLoggingRequest(input *StartLoggingInput) (req *request // This exception is thrown when an operation is called on a trail from a region // other than the region in which the trail was created. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLogging +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLogging func (c *CloudTrail) StartLogging(input *StartLoggingInput) (*StartLoggingOutput, error) { req, out := c.StartLoggingRequest(input) return out, req.Send() @@ -1457,7 +1457,7 @@ const opStopLogging = "StopLogging" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLogging +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLogging func (c *CloudTrail) StopLoggingRequest(input *StopLoggingInput) (req *request.Request, output *StopLoggingOutput) { op := &request.Operation{ Name: opStopLogging, @@ -1515,7 +1515,7 @@ func (c *CloudTrail) StopLoggingRequest(input *StopLoggingInput) (req *request.R // This exception is thrown when an operation is called on a trail from a region // other than the region in which the trail was created. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLogging +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLogging func (c *CloudTrail) StopLogging(input *StopLoggingInput) (*StopLoggingOutput, error) { req, out := c.StopLoggingRequest(input) return out, req.Send() @@ -1562,7 +1562,7 @@ const opUpdateTrail = "UpdateTrail" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrail +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrail func (c *CloudTrail) UpdateTrailRequest(input *UpdateTrailInput) (req *request.Request, output *UpdateTrailOutput) { op := &request.Operation{ Name: opUpdateTrail, @@ -1677,7 +1677,7 @@ func (c *CloudTrail) UpdateTrailRequest(input *UpdateTrailInput) (req *request.R // * ErrCodeOperationNotPermittedException "OperationNotPermittedException" // This exception is thrown when the requested operation is not permitted. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrail +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrail func (c *CloudTrail) UpdateTrail(input *UpdateTrailInput) (*UpdateTrailOutput, error) { req, out := c.UpdateTrailRequest(input) return out, req.Send() @@ -1700,7 +1700,7 @@ func (c *CloudTrail) UpdateTrailWithContext(ctx aws.Context, input *UpdateTrailI } // Specifies the tags to add to a trail. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTagsRequest type AddTagsInput struct { _ struct{} `type:"structure"` @@ -1763,7 +1763,7 @@ func (s *AddTagsInput) SetTagsList(v []*Tag) *AddTagsInput { // Returns the objects or data listed below if successful. Otherwise, returns // an error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTagsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTagsResponse type AddTagsOutput struct { _ struct{} `type:"structure"` } @@ -1779,7 +1779,7 @@ func (s AddTagsOutput) GoString() string { } // Specifies the settings for each trail. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrailRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrailRequest type CreateTrailInput struct { _ struct{} `type:"structure"` @@ -1950,7 +1950,7 @@ func (s *CreateTrailInput) SetSnsTopicName(v string) *CreateTrailInput { // Returns the objects or data listed below if successful. Otherwise, returns // an error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrailResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrailResponse type CreateTrailOutput struct { _ struct{} `type:"structure"` @@ -2107,7 +2107,7 @@ func (s *CreateTrailOutput) SetTrailARN(v string) *CreateTrailOutput { // // The event occurs on an object in an S3 bucket that you didn't specify in // the event selector. The trail doesn’t log the event. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DataResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DataResource type DataResource struct { _ struct{} `type:"structure"` @@ -2150,7 +2150,7 @@ func (s *DataResource) SetValues(v []*string) *DataResource { } // The request that specifies the name of a trail to delete. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrailRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrailRequest type DeleteTrailInput struct { _ struct{} `type:"structure"` @@ -2192,7 +2192,7 @@ func (s *DeleteTrailInput) SetName(v string) *DeleteTrailInput { // Returns the objects or data listed below if successful. Otherwise, returns // an error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrailResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrailResponse type DeleteTrailOutput struct { _ struct{} `type:"structure"` } @@ -2208,7 +2208,7 @@ func (s DeleteTrailOutput) GoString() string { } // Returns information about the trail. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrailsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrailsRequest type DescribeTrailsInput struct { _ struct{} `type:"structure"` @@ -2263,7 +2263,7 @@ func (s *DescribeTrailsInput) SetTrailNameList(v []*string) *DescribeTrailsInput // Returns the objects or data listed below if successful. Otherwise, returns // an error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrailsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrailsResponse type DescribeTrailsOutput struct { _ struct{} `type:"structure"` @@ -2289,7 +2289,7 @@ func (s *DescribeTrailsOutput) SetTrailList(v []*Trail) *DescribeTrailsOutput { // Contains information about an event that was returned by a lookup request. // The result includes a representation of a CloudTrail event. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Event +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Event type Event struct { _ struct{} `type:"structure"` @@ -2375,7 +2375,7 @@ func (s *Event) SetUsername(v string) *Event { // match any event selector, the trail doesn't log the event. // // You can configure up to five event selectors for a trail. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/EventSelector +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/EventSelector type EventSelector struct { _ struct{} `type:"structure"` @@ -2431,7 +2431,7 @@ func (s *EventSelector) SetReadWriteType(v string) *EventSelector { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectorsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectorsRequest type GetEventSelectorsInput struct { _ struct{} `type:"structure"` @@ -2487,7 +2487,7 @@ func (s *GetEventSelectorsInput) SetTrailName(v string) *GetEventSelectorsInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectorsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectorsResponse type GetEventSelectorsOutput struct { _ struct{} `type:"structure"` @@ -2521,7 +2521,7 @@ func (s *GetEventSelectorsOutput) SetTrailARN(v string) *GetEventSelectorsOutput } // The name of a trail about which you want the current status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatusRequest type GetTrailStatusInput struct { _ struct{} `type:"structure"` @@ -2566,7 +2566,7 @@ func (s *GetTrailStatusInput) SetName(v string) *GetTrailStatusInput { // Returns the objects or data listed below if successful. Otherwise, returns // an error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatusResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatusResponse type GetTrailStatusOutput struct { _ struct{} `type:"structure"` @@ -2760,7 +2760,7 @@ func (s *GetTrailStatusOutput) SetTimeLoggingStopped(v string) *GetTrailStatusOu } // Requests the public keys for a specified time range. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeysRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeysRequest type ListPublicKeysInput struct { _ struct{} `type:"structure"` @@ -2807,7 +2807,7 @@ func (s *ListPublicKeysInput) SetStartTime(v time.Time) *ListPublicKeysInput { // Returns the objects or data listed below if successful. Otherwise, returns // an error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeysResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeysResponse type ListPublicKeysOutput struct { _ struct{} `type:"structure"` @@ -2843,7 +2843,7 @@ func (s *ListPublicKeysOutput) SetPublicKeyList(v []*PublicKey) *ListPublicKeysO } // Specifies a list of trail tags to return. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTagsRequest type ListTagsInput struct { _ struct{} `type:"structure"` @@ -2896,7 +2896,7 @@ func (s *ListTagsInput) SetResourceIdList(v []*string) *ListTagsInput { // Returns the objects or data listed below if successful. Otherwise, returns // an error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTagsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTagsResponse type ListTagsOutput struct { _ struct{} `type:"structure"` @@ -2930,7 +2930,7 @@ func (s *ListTagsOutput) SetResourceTagList(v []*ResourceTag) *ListTagsOutput { } // Specifies an attribute and value that filter the events returned. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupAttribute type LookupAttribute struct { _ struct{} `type:"structure"` @@ -2984,7 +2984,7 @@ func (s *LookupAttribute) SetAttributeValue(v string) *LookupAttribute { } // Contains a request for LookupEvents. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEventsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEventsRequest type LookupEventsInput struct { _ struct{} `type:"structure"` @@ -3078,7 +3078,7 @@ func (s *LookupEventsInput) SetStartTime(v time.Time) *LookupEventsInput { } // Contains a response to a LookupEvents action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEventsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEventsResponse type LookupEventsOutput struct { _ struct{} `type:"structure"` @@ -3118,7 +3118,7 @@ func (s *LookupEventsOutput) SetNextToken(v string) *LookupEventsOutput { } // Contains information about a returned public key. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PublicKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PublicKey type PublicKey struct { _ struct{} `type:"structure"` @@ -3171,7 +3171,7 @@ func (s *PublicKey) SetValue(v []byte) *PublicKey { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectorsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectorsRequest type PutEventSelectorsInput struct { _ struct{} `type:"structure"` @@ -3242,7 +3242,7 @@ func (s *PutEventSelectorsInput) SetTrailName(v string) *PutEventSelectorsInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectorsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectorsResponse type PutEventSelectorsOutput struct { _ struct{} `type:"structure"` @@ -3279,7 +3279,7 @@ func (s *PutEventSelectorsOutput) SetTrailARN(v string) *PutEventSelectorsOutput } // Specifies the tags to remove from a trail. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTagsRequest type RemoveTagsInput struct { _ struct{} `type:"structure"` @@ -3342,7 +3342,7 @@ func (s *RemoveTagsInput) SetTagsList(v []*Tag) *RemoveTagsInput { // Returns the objects or data listed below if successful. Otherwise, returns // an error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTagsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTagsResponse type RemoveTagsOutput struct { _ struct{} `type:"structure"` } @@ -3358,7 +3358,7 @@ func (s RemoveTagsOutput) GoString() string { } // Specifies the type and name of a resource referenced by an event. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Resource +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Resource type Resource struct { _ struct{} `type:"structure"` @@ -3399,7 +3399,7 @@ func (s *Resource) SetResourceType(v string) *Resource { } // A resource tag. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ResourceTag +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ResourceTag type ResourceTag struct { _ struct{} `type:"structure"` @@ -3433,7 +3433,7 @@ func (s *ResourceTag) SetTagsList(v []*Tag) *ResourceTag { } // The request to CloudTrail to start logging AWS API calls for an account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLoggingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLoggingRequest type StartLoggingInput struct { _ struct{} `type:"structure"` @@ -3477,7 +3477,7 @@ func (s *StartLoggingInput) SetName(v string) *StartLoggingInput { // Returns the objects or data listed below if successful. Otherwise, returns // an error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLoggingResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLoggingResponse type StartLoggingOutput struct { _ struct{} `type:"structure"` } @@ -3494,7 +3494,7 @@ func (s StartLoggingOutput) GoString() string { // Passes the request to CloudTrail to stop logging AWS API calls for the specified // account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLoggingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLoggingRequest type StopLoggingInput struct { _ struct{} `type:"structure"` @@ -3538,7 +3538,7 @@ func (s *StopLoggingInput) SetName(v string) *StopLoggingInput { // Returns the objects or data listed below if successful. Otherwise, returns // an error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLoggingResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLoggingResponse type StopLoggingOutput struct { _ struct{} `type:"structure"` } @@ -3554,7 +3554,7 @@ func (s StopLoggingOutput) GoString() string { } // A custom key-value pair associated with a resource such as a CloudTrail trail. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Tag type Tag struct { _ struct{} `type:"structure"` @@ -3605,7 +3605,7 @@ func (s *Tag) SetValue(v string) *Tag { } // The settings for a trail. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Trail +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Trail type Trail struct { _ struct{} `type:"structure"` @@ -3762,7 +3762,7 @@ func (s *Trail) SetTrailARN(v string) *Trail { } // Specifies settings to update for the trail. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrailRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrailRequest type UpdateTrailInput struct { _ struct{} `type:"structure"` @@ -3936,7 +3936,7 @@ func (s *UpdateTrailInput) SetSnsTopicName(v string) *UpdateTrailInput { // Returns the objects or data listed below if successful. Otherwise, returns // an error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrailResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrailResponse type UpdateTrailOutput struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/api.go index decde86cb07..eceb129e510 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/api.go @@ -38,7 +38,7 @@ const opDeleteAlarms = "DeleteAlarms" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarms +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarms func (c *CloudWatch) DeleteAlarmsRequest(input *DeleteAlarmsInput) (req *request.Request, output *DeleteAlarmsOutput) { op := &request.Operation{ Name: opDeleteAlarms, @@ -72,7 +72,7 @@ func (c *CloudWatch) DeleteAlarmsRequest(input *DeleteAlarmsInput) (req *request // * ErrCodeResourceNotFound "ResourceNotFound" // The named resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarms +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarms func (c *CloudWatch) DeleteAlarms(input *DeleteAlarmsInput) (*DeleteAlarmsOutput, error) { req, out := c.DeleteAlarmsRequest(input) return out, req.Send() @@ -119,7 +119,7 @@ const opDeleteDashboards = "DeleteDashboards" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteDashboards +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteDashboards func (c *CloudWatch) DeleteDashboardsRequest(input *DeleteDashboardsInput) (req *request.Request, output *DeleteDashboardsOutput) { op := &request.Operation{ Name: opDeleteDashboards, @@ -158,7 +158,7 @@ func (c *CloudWatch) DeleteDashboardsRequest(input *DeleteDashboardsInput) (req // * ErrCodeInternalServiceFault "InternalServiceError" // Request processing has failed due to some unknown error, exception, or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteDashboards +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteDashboards func (c *CloudWatch) DeleteDashboards(input *DeleteDashboardsInput) (*DeleteDashboardsOutput, error) { req, out := c.DeleteDashboardsRequest(input) return out, req.Send() @@ -205,7 +205,7 @@ const opDescribeAlarmHistory = "DescribeAlarmHistory" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistory func (c *CloudWatch) DescribeAlarmHistoryRequest(input *DescribeAlarmHistoryInput) (req *request.Request, output *DescribeAlarmHistoryOutput) { op := &request.Operation{ Name: opDescribeAlarmHistory, @@ -247,7 +247,7 @@ func (c *CloudWatch) DescribeAlarmHistoryRequest(input *DescribeAlarmHistoryInpu // * ErrCodeInvalidNextToken "InvalidNextToken" // The next token specified is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistory func (c *CloudWatch) DescribeAlarmHistory(input *DescribeAlarmHistoryInput) (*DescribeAlarmHistoryOutput, error) { req, out := c.DescribeAlarmHistoryRequest(input) return out, req.Send() @@ -344,7 +344,7 @@ const opDescribeAlarms = "DescribeAlarms" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarms +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarms func (c *CloudWatch) DescribeAlarmsRequest(input *DescribeAlarmsInput) (req *request.Request, output *DescribeAlarmsOutput) { op := &request.Operation{ Name: opDescribeAlarms, @@ -384,7 +384,7 @@ func (c *CloudWatch) DescribeAlarmsRequest(input *DescribeAlarmsInput) (req *req // * ErrCodeInvalidNextToken "InvalidNextToken" // The next token specified is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarms +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarms func (c *CloudWatch) DescribeAlarms(input *DescribeAlarmsInput) (*DescribeAlarmsOutput, error) { req, out := c.DescribeAlarmsRequest(input) return out, req.Send() @@ -481,7 +481,7 @@ const opDescribeAlarmsForMetric = "DescribeAlarmsForMetric" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetric +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetric func (c *CloudWatch) DescribeAlarmsForMetricRequest(input *DescribeAlarmsForMetricInput) (req *request.Request, output *DescribeAlarmsForMetricOutput) { op := &request.Operation{ Name: opDescribeAlarmsForMetric, @@ -509,7 +509,7 @@ func (c *CloudWatch) DescribeAlarmsForMetricRequest(input *DescribeAlarmsForMetr // // See the AWS API reference guide for Amazon CloudWatch's // API operation DescribeAlarmsForMetric for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetric +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetric func (c *CloudWatch) DescribeAlarmsForMetric(input *DescribeAlarmsForMetricInput) (*DescribeAlarmsForMetricOutput, error) { req, out := c.DescribeAlarmsForMetricRequest(input) return out, req.Send() @@ -556,7 +556,7 @@ const opDisableAlarmActions = "DisableAlarmActions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActions func (c *CloudWatch) DisableAlarmActionsRequest(input *DisableAlarmActionsInput) (req *request.Request, output *DisableAlarmActionsOutput) { op := &request.Operation{ Name: opDisableAlarmActions, @@ -586,7 +586,7 @@ func (c *CloudWatch) DisableAlarmActionsRequest(input *DisableAlarmActionsInput) // // See the AWS API reference guide for Amazon CloudWatch's // API operation DisableAlarmActions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActions func (c *CloudWatch) DisableAlarmActions(input *DisableAlarmActionsInput) (*DisableAlarmActionsOutput, error) { req, out := c.DisableAlarmActionsRequest(input) return out, req.Send() @@ -633,7 +633,7 @@ const opEnableAlarmActions = "EnableAlarmActions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableAlarmActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableAlarmActions func (c *CloudWatch) EnableAlarmActionsRequest(input *EnableAlarmActionsInput) (req *request.Request, output *EnableAlarmActionsOutput) { op := &request.Operation{ Name: opEnableAlarmActions, @@ -662,7 +662,7 @@ func (c *CloudWatch) EnableAlarmActionsRequest(input *EnableAlarmActionsInput) ( // // See the AWS API reference guide for Amazon CloudWatch's // API operation EnableAlarmActions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableAlarmActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableAlarmActions func (c *CloudWatch) EnableAlarmActions(input *EnableAlarmActionsInput) (*EnableAlarmActionsOutput, error) { req, out := c.EnableAlarmActionsRequest(input) return out, req.Send() @@ -709,7 +709,7 @@ const opGetDashboard = "GetDashboard" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetDashboard +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetDashboard func (c *CloudWatch) GetDashboardRequest(input *GetDashboardInput) (req *request.Request, output *GetDashboardOutput) { op := &request.Operation{ Name: opGetDashboard, @@ -751,7 +751,7 @@ func (c *CloudWatch) GetDashboardRequest(input *GetDashboardInput) (req *request // * ErrCodeInternalServiceFault "InternalServiceError" // Request processing has failed due to some unknown error, exception, or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetDashboard +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetDashboard func (c *CloudWatch) GetDashboard(input *GetDashboardInput) (*GetDashboardOutput, error) { req, out := c.GetDashboardRequest(input) return out, req.Send() @@ -798,7 +798,7 @@ const opGetMetricStatistics = "GetMetricStatistics" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatistics +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatistics func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput) (req *request.Request, output *GetMetricStatisticsOutput) { op := &request.Operation{ Name: opGetMetricStatistics, @@ -889,7 +889,7 @@ func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput) // * ErrCodeInternalServiceFault "InternalServiceError" // Request processing has failed due to some unknown error, exception, or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatistics +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatistics func (c *CloudWatch) GetMetricStatistics(input *GetMetricStatisticsInput) (*GetMetricStatisticsOutput, error) { req, out := c.GetMetricStatisticsRequest(input) return out, req.Send() @@ -936,7 +936,7 @@ const opListDashboards = "ListDashboards" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListDashboards +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListDashboards func (c *CloudWatch) ListDashboardsRequest(input *ListDashboardsInput) (req *request.Request, output *ListDashboardsOutput) { op := &request.Operation{ Name: opListDashboards, @@ -973,7 +973,7 @@ func (c *CloudWatch) ListDashboardsRequest(input *ListDashboardsInput) (req *req // * ErrCodeInternalServiceFault "InternalServiceError" // Request processing has failed due to some unknown error, exception, or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListDashboards +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListDashboards func (c *CloudWatch) ListDashboards(input *ListDashboardsInput) (*ListDashboardsOutput, error) { req, out := c.ListDashboardsRequest(input) return out, req.Send() @@ -1020,7 +1020,7 @@ const opListMetrics = "ListMetrics" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetrics +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetrics func (c *CloudWatch) ListMetricsRequest(input *ListMetricsInput) (req *request.Request, output *ListMetricsOutput) { op := &request.Operation{ Name: opListMetrics, @@ -1069,7 +1069,7 @@ func (c *CloudWatch) ListMetricsRequest(input *ListMetricsInput) (req *request.R // * ErrCodeInvalidParameterValueException "InvalidParameterValue" // The value of an input parameter is bad or out-of-range. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetrics +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetrics func (c *CloudWatch) ListMetrics(input *ListMetricsInput) (*ListMetricsOutput, error) { req, out := c.ListMetricsRequest(input) return out, req.Send() @@ -1166,7 +1166,7 @@ const opPutDashboard = "PutDashboard" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutDashboard +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutDashboard func (c *CloudWatch) PutDashboardRequest(input *PutDashboardInput) (req *request.Request, output *PutDashboardOutput) { op := &request.Operation{ Name: opPutDashboard, @@ -1219,7 +1219,7 @@ func (c *CloudWatch) PutDashboardRequest(input *PutDashboardInput) (req *request // * ErrCodeInternalServiceFault "InternalServiceError" // Request processing has failed due to some unknown error, exception, or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutDashboard +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutDashboard func (c *CloudWatch) PutDashboard(input *PutDashboardInput) (*PutDashboardOutput, error) { req, out := c.PutDashboardRequest(input) return out, req.Send() @@ -1266,7 +1266,7 @@ const opPutMetricAlarm = "PutMetricAlarm" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarm +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarm func (c *CloudWatch) PutMetricAlarmRequest(input *PutMetricAlarmInput) (req *request.Request, output *PutMetricAlarmOutput) { op := &request.Operation{ Name: opPutMetricAlarm, @@ -1339,7 +1339,7 @@ func (c *CloudWatch) PutMetricAlarmRequest(input *PutMetricAlarmInput) (req *req // * ErrCodeLimitExceededFault "LimitExceeded" // The quota for alarms for this customer has already been reached. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarm +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarm func (c *CloudWatch) PutMetricAlarm(input *PutMetricAlarmInput) (*PutMetricAlarmOutput, error) { req, out := c.PutMetricAlarmRequest(input) return out, req.Send() @@ -1386,7 +1386,7 @@ const opPutMetricData = "PutMetricData" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricData +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricData func (c *CloudWatch) PutMetricDataRequest(input *PutMetricDataInput) (req *request.Request, output *PutMetricDataOutput) { op := &request.Operation{ Name: opPutMetricData, @@ -1457,7 +1457,7 @@ func (c *CloudWatch) PutMetricDataRequest(input *PutMetricDataInput) (req *reque // * ErrCodeInternalServiceFault "InternalServiceError" // Request processing has failed due to some unknown error, exception, or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricData +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricData func (c *CloudWatch) PutMetricData(input *PutMetricDataInput) (*PutMetricDataOutput, error) { req, out := c.PutMetricDataRequest(input) return out, req.Send() @@ -1504,7 +1504,7 @@ const opSetAlarmState = "SetAlarmState" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmState +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmState func (c *CloudWatch) SetAlarmStateRequest(input *SetAlarmStateInput) (req *request.Request, output *SetAlarmStateOutput) { op := &request.Operation{ Name: opSetAlarmState, @@ -1548,7 +1548,7 @@ func (c *CloudWatch) SetAlarmStateRequest(input *SetAlarmStateInput) (req *reque // * ErrCodeInvalidFormatFault "InvalidFormat" // Data was not syntactically valid JSON. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmState +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmState func (c *CloudWatch) SetAlarmState(input *SetAlarmStateInput) (*SetAlarmStateOutput, error) { req, out := c.SetAlarmStateRequest(input) return out, req.Send() @@ -1571,7 +1571,7 @@ func (c *CloudWatch) SetAlarmStateWithContext(ctx aws.Context, input *SetAlarmSt } // Represents the history of a specific alarm. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/AlarmHistoryItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/AlarmHistoryItem type AlarmHistoryItem struct { _ struct{} `type:"structure"` @@ -1632,7 +1632,7 @@ func (s *AlarmHistoryItem) SetTimestamp(v time.Time) *AlarmHistoryItem { } // Represents a specific dashboard. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DashboardEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DashboardEntry type DashboardEntry struct { _ struct{} `type:"structure"` @@ -1686,7 +1686,7 @@ func (s *DashboardEntry) SetSize(v int64) *DashboardEntry { } // An error or warning for the operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DashboardValidationMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DashboardValidationMessage type DashboardValidationMessage struct { _ struct{} `type:"structure"` @@ -1720,7 +1720,7 @@ func (s *DashboardValidationMessage) SetMessage(v string) *DashboardValidationMe } // Encapsulates the statistical data that CloudWatch computes from metric data. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Datapoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Datapoint type Datapoint struct { _ struct{} `type:"structure"` @@ -1808,7 +1808,7 @@ func (s *Datapoint) SetUnit(v string) *Datapoint { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarmsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarmsInput type DeleteAlarmsInput struct { _ struct{} `type:"structure"` @@ -1847,7 +1847,7 @@ func (s *DeleteAlarmsInput) SetAlarmNames(v []*string) *DeleteAlarmsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarmsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarmsOutput type DeleteAlarmsOutput struct { _ struct{} `type:"structure"` } @@ -1862,12 +1862,14 @@ func (s DeleteAlarmsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteDashboardsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteDashboardsInput type DeleteDashboardsInput struct { _ struct{} `type:"structure"` - // The dashboards to be deleted. - DashboardNames []*string `type:"list"` + // The dashboards to be deleted. This parameter is required. + // + // DashboardNames is a required field + DashboardNames []*string `type:"list" required:"true"` } // String returns the string representation @@ -1880,13 +1882,26 @@ func (s DeleteDashboardsInput) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteDashboardsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteDashboardsInput"} + if s.DashboardNames == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardNames")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetDashboardNames sets the DashboardNames field's value. func (s *DeleteDashboardsInput) SetDashboardNames(v []*string) *DeleteDashboardsInput { s.DashboardNames = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteDashboardsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteDashboardsOutput type DeleteDashboardsOutput struct { _ struct{} `type:"structure"` } @@ -1901,7 +1916,7 @@ func (s DeleteDashboardsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistoryInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistoryInput type DescribeAlarmHistoryInput struct { _ struct{} `type:"structure"` @@ -1987,7 +2002,7 @@ func (s *DescribeAlarmHistoryInput) SetStartDate(v time.Time) *DescribeAlarmHist return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistoryOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistoryOutput type DescribeAlarmHistoryOutput struct { _ struct{} `type:"structure"` @@ -2020,7 +2035,7 @@ func (s *DescribeAlarmHistoryOutput) SetNextToken(v string) *DescribeAlarmHistor return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetricInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetricInput type DescribeAlarmsForMetricInput struct { _ struct{} `type:"structure"` @@ -2140,7 +2155,7 @@ func (s *DescribeAlarmsForMetricInput) SetUnit(v string) *DescribeAlarmsForMetri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetricOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetricOutput type DescribeAlarmsForMetricOutput struct { _ struct{} `type:"structure"` @@ -2164,7 +2179,7 @@ func (s *DescribeAlarmsForMetricOutput) SetMetricAlarms(v []*MetricAlarm) *Descr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsInput type DescribeAlarmsInput struct { _ struct{} `type:"structure"` @@ -2254,7 +2269,7 @@ func (s *DescribeAlarmsInput) SetStateValue(v string) *DescribeAlarmsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsOutput type DescribeAlarmsOutput struct { _ struct{} `type:"structure"` @@ -2288,7 +2303,7 @@ func (s *DescribeAlarmsOutput) SetNextToken(v string) *DescribeAlarmsOutput { } // Expands the identity of a metric. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Dimension +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Dimension type Dimension struct { _ struct{} `type:"structure"` @@ -2348,7 +2363,7 @@ func (s *Dimension) SetValue(v string) *Dimension { } // Represents filters for a dimension. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DimensionFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DimensionFilter type DimensionFilter struct { _ struct{} `type:"structure"` @@ -2402,7 +2417,7 @@ func (s *DimensionFilter) SetValue(v string) *DimensionFilter { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActionsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActionsInput type DisableAlarmActionsInput struct { _ struct{} `type:"structure"` @@ -2441,7 +2456,7 @@ func (s *DisableAlarmActionsInput) SetAlarmNames(v []*string) *DisableAlarmActio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActionsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActionsOutput type DisableAlarmActionsOutput struct { _ struct{} `type:"structure"` } @@ -2456,7 +2471,7 @@ func (s DisableAlarmActionsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableAlarmActionsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableAlarmActionsInput type EnableAlarmActionsInput struct { _ struct{} `type:"structure"` @@ -2495,7 +2510,7 @@ func (s *EnableAlarmActionsInput) SetAlarmNames(v []*string) *EnableAlarmActions return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableAlarmActionsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableAlarmActionsOutput type EnableAlarmActionsOutput struct { _ struct{} `type:"structure"` } @@ -2510,12 +2525,14 @@ func (s EnableAlarmActionsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetDashboardInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetDashboardInput type GetDashboardInput struct { _ struct{} `type:"structure"` // The name of the dashboard to be described. - DashboardName *string `type:"string"` + // + // DashboardName is a required field + DashboardName *string `type:"string" required:"true"` } // String returns the string representation @@ -2528,13 +2545,26 @@ func (s GetDashboardInput) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetDashboardInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetDashboardInput"} + if s.DashboardName == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetDashboardName sets the DashboardName field's value. func (s *GetDashboardInput) SetDashboardName(v string) *GetDashboardInput { s.DashboardName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetDashboardOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetDashboardOutput type GetDashboardOutput struct { _ struct{} `type:"structure"` @@ -2578,7 +2608,7 @@ func (s *GetDashboardOutput) SetDashboardName(v string) *GetDashboardOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatisticsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatisticsInput type GetMetricStatisticsInput struct { _ struct{} `type:"structure"` @@ -2792,7 +2822,7 @@ func (s *GetMetricStatisticsInput) SetUnit(v string) *GetMetricStatisticsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatisticsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatisticsOutput type GetMetricStatisticsOutput struct { _ struct{} `type:"structure"` @@ -2825,7 +2855,7 @@ func (s *GetMetricStatisticsOutput) SetLabel(v string) *GetMetricStatisticsOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListDashboardsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListDashboardsInput type ListDashboardsInput struct { _ struct{} `type:"structure"` @@ -2861,7 +2891,7 @@ func (s *ListDashboardsInput) SetNextToken(v string) *ListDashboardsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListDashboardsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListDashboardsOutput type ListDashboardsOutput struct { _ struct{} `type:"structure"` @@ -2894,7 +2924,7 @@ func (s *ListDashboardsOutput) SetNextToken(v string) *ListDashboardsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricsInput type ListMetricsInput struct { _ struct{} `type:"structure"` @@ -2972,7 +3002,7 @@ func (s *ListMetricsInput) SetNextToken(v string) *ListMetricsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricsOutput type ListMetricsOutput struct { _ struct{} `type:"structure"` @@ -3006,7 +3036,7 @@ func (s *ListMetricsOutput) SetNextToken(v string) *ListMetricsOutput { } // Represents a specific metric. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Metric +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Metric type Metric struct { _ struct{} `type:"structure"` @@ -3049,7 +3079,7 @@ func (s *Metric) SetNamespace(v string) *Metric { } // Represents an alarm. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricAlarm +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricAlarm type MetricAlarm struct { _ struct{} `type:"structure"` @@ -3077,6 +3107,9 @@ type MetricAlarm struct { // threshold. The specified statistic value is used as the first operand. ComparisonOperator *string `type:"string" enum:"ComparisonOperator"` + // The number of datapoints that must be breaching to trigger the alarm. + DatapointsToAlarm *int64 `min:"1" type:"integer"` + // The dimensions for the metric associated with the alarm. Dimensions []*Dimension `type:"list"` @@ -3190,6 +3223,12 @@ func (s *MetricAlarm) SetComparisonOperator(v string) *MetricAlarm { return s } +// SetDatapointsToAlarm sets the DatapointsToAlarm field's value. +func (s *MetricAlarm) SetDatapointsToAlarm(v int64) *MetricAlarm { + s.DatapointsToAlarm = &v + return s +} + // SetDimensions sets the Dimensions field's value. func (s *MetricAlarm) SetDimensions(v []*Dimension) *MetricAlarm { s.Dimensions = v @@ -3294,7 +3333,7 @@ func (s *MetricAlarm) SetUnit(v string) *MetricAlarm { // Encapsulates the information sent to either create a metric or add new values // to be aggregated into an existing metric. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricDatum +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricDatum type MetricDatum struct { _ struct{} `type:"structure"` @@ -3423,21 +3462,26 @@ func (s *MetricDatum) SetValue(v float64) *MetricDatum { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutDashboardInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutDashboardInput type PutDashboardInput struct { _ struct{} `type:"structure"` // The detailed information about the dashboard in JSON format, including the - // widgets to include and their location on the dashboard. + // widgets to include and their location on the dashboard. This parameter is + // required. // // For more information about the syntax, see CloudWatch-Dashboard-Body-Structure. - DashboardBody *string `type:"string"` + // + // DashboardBody is a required field + DashboardBody *string `type:"string" required:"true"` // The name of the dashboard. If a dashboard with this name already exists, // this call modifies that dashboard, replacing its current contents. Otherwise, // a new dashboard is created. The maximum length is 255, and valid characters - // are A-Z, a-z, 0-9, "-", and "_". - DashboardName *string `type:"string"` + // are A-Z, a-z, 0-9, "-", and "_". This parameter is required. + // + // DashboardName is a required field + DashboardName *string `type:"string" required:"true"` } // String returns the string representation @@ -3450,6 +3494,22 @@ func (s PutDashboardInput) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutDashboardInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutDashboardInput"} + if s.DashboardBody == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardBody")) + } + if s.DashboardName == nil { + invalidParams.Add(request.NewErrParamRequired("DashboardName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetDashboardBody sets the DashboardBody field's value. func (s *PutDashboardInput) SetDashboardBody(v string) *PutDashboardInput { s.DashboardBody = &v @@ -3462,7 +3522,7 @@ func (s *PutDashboardInput) SetDashboardName(v string) *PutDashboardInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutDashboardOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutDashboardOutput type PutDashboardOutput struct { _ struct{} `type:"structure"` @@ -3494,7 +3554,7 @@ func (s *PutDashboardOutput) SetDashboardValidationMessages(v []*DashboardValida return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarmInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarmInput type PutMetricAlarmInput struct { _ struct{} `type:"structure"` @@ -3506,11 +3566,12 @@ type PutMetricAlarmInput struct { // any other state. Each action is specified as an Amazon Resource Name (ARN). // // Valid Values: arn:aws:automate:region:ec2:stop | arn:aws:automate:region:ec2:terminate - // | arn:aws:automate:region:ec2:recover + // | arn:aws:automate:region:ec2:recover | arn:aws:sns:region:account-id:sns-topic-name + // | arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name // - // Valid Values (for use with IAM roles): arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Stop/1.0 - // | arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Terminate/1.0 - // | arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Reboot/1.0 + // Valid Values (for use with IAM roles): arn:aws:swf:region:{account-id}:action/actions/AWS_EC2.InstanceId.Stop/1.0 + // | arn:aws:swf:region:{account-id}:action/actions/AWS_EC2.InstanceId.Terminate/1.0 + // | arn:aws:swf:region:{account-id}:action/actions/AWS_EC2.InstanceId.Reboot/1.0 AlarmActions []*string `type:"list"` // The description for the alarm. @@ -3527,6 +3588,9 @@ type PutMetricAlarmInput struct { // ComparisonOperator is a required field ComparisonOperator *string `type:"string" required:"true" enum:"ComparisonOperator"` + // The number of datapoints that must be breaching to trigger the alarm. + DatapointsToAlarm *int64 `min:"1" type:"integer"` + // The dimensions for the metric associated with the alarm. Dimensions []*Dimension `type:"list"` @@ -3548,7 +3612,8 @@ type PutMetricAlarmInput struct { EvaluationPeriods *int64 `min:"1" type:"integer" required:"true"` // The percentile statistic for the metric associated with the alarm. Specify - // a value between p0.0 and p100. + // a value between p0.0 and p100. When you call PutMetricAlarm, you must specify + // either Statistic or ExtendedStatistic, but not both. ExtendedStatistic *string `type:"string"` // The actions to execute when this alarm transitions to the INSUFFICIENT_DATA @@ -3556,11 +3621,12 @@ type PutMetricAlarmInput struct { // Name (ARN). // // Valid Values: arn:aws:automate:region:ec2:stop | arn:aws:automate:region:ec2:terminate - // | arn:aws:automate:region:ec2:recover + // | arn:aws:automate:region:ec2:recover | arn:aws:sns:region:account-id:sns-topic-name + // | arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name // - // Valid Values (for use with IAM roles): arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Stop/1.0 - // | arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Terminate/1.0 - // | arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Reboot/1.0 + // Valid Values (for use with IAM roles): arn:aws:swf:region:{account-id}:action/actions/AWS_EC2.InstanceId.Stop/1.0 + // | arn:aws:swf:region:{account-id}:action/actions/AWS_EC2.InstanceId.Terminate/1.0 + // | arn:aws:swf:region:{account-id}:action/actions/AWS_EC2.InstanceId.Reboot/1.0 InsufficientDataActions []*string `type:"list"` // The name for the metric associated with the alarm. @@ -3577,11 +3643,12 @@ type PutMetricAlarmInput struct { // other state. Each action is specified as an Amazon Resource Name (ARN). // // Valid Values: arn:aws:automate:region:ec2:stop | arn:aws:automate:region:ec2:terminate - // | arn:aws:automate:region:ec2:recover + // | arn:aws:automate:region:ec2:recover | arn:aws:sns:region:account-id:sns-topic-name + // | arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name // - // Valid Values (for use with IAM roles): arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Stop/1.0 - // | arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Terminate/1.0 - // | arn:aws:swf:us-east-1:{customer-account}:action/actions/AWS_EC2.InstanceId.Reboot/1.0 + // Valid Values (for use with IAM roles): arn:aws:swf:region:{account-id}:action/actions/AWS_EC2.InstanceId.Stop/1.0 + // | arn:aws:swf:region:{account-id}:action/actions/AWS_EC2.InstanceId.Terminate/1.0 + // | arn:aws:swf:region:{account-id}:action/actions/AWS_EC2.InstanceId.Reboot/1.0 OKActions []*string `type:"list"` // The period, in seconds, over which the specified statistic is applied. Valid @@ -3604,7 +3671,8 @@ type PutMetricAlarmInput struct { Period *int64 `min:"1" type:"integer" required:"true"` // The statistic for the metric associated with the alarm, other than percentile. - // For percentile statistics, use ExtendedStatistic. + // For percentile statistics, use ExtendedStatistic. When you call PutMetricAlarm, + // you must specify either Statistic or ExtendedStatistic, but not both. Statistic *string `type:"string" enum:"Statistic"` // The value against which the specified statistic is compared. @@ -3653,6 +3721,9 @@ func (s *PutMetricAlarmInput) Validate() error { if s.ComparisonOperator == nil { invalidParams.Add(request.NewErrParamRequired("ComparisonOperator")) } + if s.DatapointsToAlarm != nil && *s.DatapointsToAlarm < 1 { + invalidParams.Add(request.NewErrParamMinValue("DatapointsToAlarm", 1)) + } if s.EvaluateLowSampleCountPercentile != nil && len(*s.EvaluateLowSampleCountPercentile) < 1 { invalidParams.Add(request.NewErrParamMinLen("EvaluateLowSampleCountPercentile", 1)) } @@ -3733,6 +3804,12 @@ func (s *PutMetricAlarmInput) SetComparisonOperator(v string) *PutMetricAlarmInp return s } +// SetDatapointsToAlarm sets the DatapointsToAlarm field's value. +func (s *PutMetricAlarmInput) SetDatapointsToAlarm(v int64) *PutMetricAlarmInput { + s.DatapointsToAlarm = &v + return s +} + // SetDimensions sets the Dimensions field's value. func (s *PutMetricAlarmInput) SetDimensions(v []*Dimension) *PutMetricAlarmInput { s.Dimensions = v @@ -3811,7 +3888,7 @@ func (s *PutMetricAlarmInput) SetUnit(v string) *PutMetricAlarmInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarmOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarmOutput type PutMetricAlarmOutput struct { _ struct{} `type:"structure"` } @@ -3826,7 +3903,7 @@ func (s PutMetricAlarmOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricDataInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricDataInput type PutMetricDataInput struct { _ struct{} `type:"structure"` @@ -3895,7 +3972,7 @@ func (s *PutMetricDataInput) SetNamespace(v string) *PutMetricDataInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricDataOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricDataOutput type PutMetricDataOutput struct { _ struct{} `type:"structure"` } @@ -3910,7 +3987,7 @@ func (s PutMetricDataOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmStateInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmStateInput type SetAlarmStateInput struct { _ struct{} `type:"structure"` @@ -3990,7 +4067,7 @@ func (s *SetAlarmStateInput) SetStateValue(v string) *SetAlarmStateInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmStateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmStateOutput type SetAlarmStateOutput struct { _ struct{} `type:"structure"` } @@ -4006,7 +4083,7 @@ func (s SetAlarmStateOutput) GoString() string { } // Represents a set of statistics that describes a specific metric. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/StatisticSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/StatisticSet type StatisticSet struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/api.go index fac78e96853..feca94cc81b 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/api.go @@ -38,7 +38,7 @@ const opDeleteRule = "DeleteRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRule func (c *CloudWatchEvents) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, output *DeleteRuleOutput) { op := &request.Operation{ Name: opDeleteRule, @@ -81,7 +81,7 @@ func (c *CloudWatchEvents) DeleteRuleRequest(input *DeleteRuleInput) (req *reque // * ErrCodeInternalException "InternalException" // This exception occurs due to unexpected causes. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRule func (c *CloudWatchEvents) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error) { req, out := c.DeleteRuleRequest(input) return out, req.Send() @@ -128,7 +128,7 @@ const opDescribeEventBus = "DescribeEventBus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBus +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBus func (c *CloudWatchEvents) DescribeEventBusRequest(input *DescribeEventBusInput) (req *request.Request, output *DescribeEventBusOutput) { op := &request.Operation{ Name: opDescribeEventBus, @@ -165,7 +165,7 @@ func (c *CloudWatchEvents) DescribeEventBusRequest(input *DescribeEventBusInput) // * ErrCodeInternalException "InternalException" // This exception occurs due to unexpected causes. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBus +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBus func (c *CloudWatchEvents) DescribeEventBus(input *DescribeEventBusInput) (*DescribeEventBusOutput, error) { req, out := c.DescribeEventBusRequest(input) return out, req.Send() @@ -212,7 +212,7 @@ const opDescribeRule = "DescribeRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRule func (c *CloudWatchEvents) DescribeRuleRequest(input *DescribeRuleInput) (req *request.Request, output *DescribeRuleOutput) { op := &request.Operation{ Name: opDescribeRule, @@ -247,7 +247,7 @@ func (c *CloudWatchEvents) DescribeRuleRequest(input *DescribeRuleInput) (req *r // * ErrCodeInternalException "InternalException" // This exception occurs due to unexpected causes. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRule func (c *CloudWatchEvents) DescribeRule(input *DescribeRuleInput) (*DescribeRuleOutput, error) { req, out := c.DescribeRuleRequest(input) return out, req.Send() @@ -294,7 +294,7 @@ const opDisableRule = "DisableRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRule func (c *CloudWatchEvents) DisableRuleRequest(input *DisableRuleInput) (req *request.Request, output *DisableRuleOutput) { op := &request.Operation{ Name: opDisableRule, @@ -338,7 +338,7 @@ func (c *CloudWatchEvents) DisableRuleRequest(input *DisableRuleInput) (req *req // * ErrCodeInternalException "InternalException" // This exception occurs due to unexpected causes. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRule func (c *CloudWatchEvents) DisableRule(input *DisableRuleInput) (*DisableRuleOutput, error) { req, out := c.DisableRuleRequest(input) return out, req.Send() @@ -385,7 +385,7 @@ const opEnableRule = "EnableRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRule func (c *CloudWatchEvents) EnableRuleRequest(input *EnableRuleInput) (req *request.Request, output *EnableRuleOutput) { op := &request.Operation{ Name: opEnableRule, @@ -429,7 +429,7 @@ func (c *CloudWatchEvents) EnableRuleRequest(input *EnableRuleInput) (req *reque // * ErrCodeInternalException "InternalException" // This exception occurs due to unexpected causes. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRule func (c *CloudWatchEvents) EnableRule(input *EnableRuleInput) (*EnableRuleOutput, error) { req, out := c.EnableRuleRequest(input) return out, req.Send() @@ -476,7 +476,7 @@ const opListRuleNamesByTarget = "ListRuleNamesByTarget" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTarget func (c *CloudWatchEvents) ListRuleNamesByTargetRequest(input *ListRuleNamesByTargetInput) (req *request.Request, output *ListRuleNamesByTargetOutput) { op := &request.Operation{ Name: opListRuleNamesByTarget, @@ -509,7 +509,7 @@ func (c *CloudWatchEvents) ListRuleNamesByTargetRequest(input *ListRuleNamesByTa // * ErrCodeInternalException "InternalException" // This exception occurs due to unexpected causes. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTarget func (c *CloudWatchEvents) ListRuleNamesByTarget(input *ListRuleNamesByTargetInput) (*ListRuleNamesByTargetOutput, error) { req, out := c.ListRuleNamesByTargetRequest(input) return out, req.Send() @@ -556,7 +556,7 @@ const opListRules = "ListRules" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules func (c *CloudWatchEvents) ListRulesRequest(input *ListRulesInput) (req *request.Request, output *ListRulesOutput) { op := &request.Operation{ Name: opListRules, @@ -589,7 +589,7 @@ func (c *CloudWatchEvents) ListRulesRequest(input *ListRulesInput) (req *request // * ErrCodeInternalException "InternalException" // This exception occurs due to unexpected causes. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules func (c *CloudWatchEvents) ListRules(input *ListRulesInput) (*ListRulesOutput, error) { req, out := c.ListRulesRequest(input) return out, req.Send() @@ -636,7 +636,7 @@ const opListTargetsByRule = "ListTargetsByRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRule func (c *CloudWatchEvents) ListTargetsByRuleRequest(input *ListTargetsByRuleInput) (req *request.Request, output *ListTargetsByRuleOutput) { op := &request.Operation{ Name: opListTargetsByRule, @@ -671,7 +671,7 @@ func (c *CloudWatchEvents) ListTargetsByRuleRequest(input *ListTargetsByRuleInpu // * ErrCodeInternalException "InternalException" // This exception occurs due to unexpected causes. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRule func (c *CloudWatchEvents) ListTargetsByRule(input *ListTargetsByRuleInput) (*ListTargetsByRuleOutput, error) { req, out := c.ListTargetsByRuleRequest(input) return out, req.Send() @@ -718,7 +718,7 @@ const opPutEvents = "PutEvents" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEvents func (c *CloudWatchEvents) PutEventsRequest(input *PutEventsInput) (req *request.Request, output *PutEventsOutput) { op := &request.Operation{ Name: opPutEvents, @@ -751,7 +751,7 @@ func (c *CloudWatchEvents) PutEventsRequest(input *PutEventsInput) (req *request // * ErrCodeInternalException "InternalException" // This exception occurs due to unexpected causes. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEvents func (c *CloudWatchEvents) PutEvents(input *PutEventsInput) (*PutEventsOutput, error) { req, out := c.PutEventsRequest(input) return out, req.Send() @@ -798,7 +798,7 @@ const opPutPermission = "PutPermission" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermission func (c *CloudWatchEvents) PutPermissionRequest(input *PutPermissionInput) (req *request.Request, output *PutPermissionOutput) { op := &request.Operation{ Name: opPutPermission, @@ -852,7 +852,7 @@ func (c *CloudWatchEvents) PutPermissionRequest(input *PutPermissionInput) (req // * ErrCodeConcurrentModificationException "ConcurrentModificationException" // There is concurrent modification on a rule or target. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermission func (c *CloudWatchEvents) PutPermission(input *PutPermissionInput) (*PutPermissionOutput, error) { req, out := c.PutPermissionRequest(input) return out, req.Send() @@ -899,7 +899,7 @@ const opPutRule = "PutRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRule func (c *CloudWatchEvents) PutRuleRequest(input *PutRuleInput) (req *request.Request, output *PutRuleOutput) { op := &request.Operation{ Name: opPutRule, @@ -956,7 +956,7 @@ func (c *CloudWatchEvents) PutRuleRequest(input *PutRuleInput) (req *request.Req // * ErrCodeInternalException "InternalException" // This exception occurs due to unexpected causes. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRule func (c *CloudWatchEvents) PutRule(input *PutRuleInput) (*PutRuleOutput, error) { req, out := c.PutRuleRequest(input) return out, req.Send() @@ -1003,7 +1003,7 @@ const opPutTargets = "PutTargets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargets func (c *CloudWatchEvents) PutTargetsRequest(input *PutTargetsInput) (req *request.Request, output *PutTargetsOutput) { op := &request.Operation{ Name: opPutTargets, @@ -1131,7 +1131,7 @@ func (c *CloudWatchEvents) PutTargetsRequest(input *PutTargetsInput) (req *reque // * ErrCodeInternalException "InternalException" // This exception occurs due to unexpected causes. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargets func (c *CloudWatchEvents) PutTargets(input *PutTargetsInput) (*PutTargetsOutput, error) { req, out := c.PutTargetsRequest(input) return out, req.Send() @@ -1178,7 +1178,7 @@ const opRemovePermission = "RemovePermission" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermission func (c *CloudWatchEvents) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput) { op := &request.Operation{ Name: opRemovePermission, @@ -1221,7 +1221,7 @@ func (c *CloudWatchEvents) RemovePermissionRequest(input *RemovePermissionInput) // * ErrCodeConcurrentModificationException "ConcurrentModificationException" // There is concurrent modification on a rule or target. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermission func (c *CloudWatchEvents) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) { req, out := c.RemovePermissionRequest(input) return out, req.Send() @@ -1268,7 +1268,7 @@ const opRemoveTargets = "RemoveTargets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargets func (c *CloudWatchEvents) RemoveTargetsRequest(input *RemoveTargetsInput) (req *request.Request, output *RemoveTargetsOutput) { op := &request.Operation{ Name: opRemoveTargets, @@ -1316,7 +1316,7 @@ func (c *CloudWatchEvents) RemoveTargetsRequest(input *RemoveTargetsInput) (req // * ErrCodeInternalException "InternalException" // This exception occurs due to unexpected causes. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargets func (c *CloudWatchEvents) RemoveTargets(input *RemoveTargetsInput) (*RemoveTargetsOutput, error) { req, out := c.RemoveTargetsRequest(input) return out, req.Send() @@ -1363,7 +1363,7 @@ const opTestEventPattern = "TestEventPattern" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPattern +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPattern func (c *CloudWatchEvents) TestEventPatternRequest(input *TestEventPatternInput) (req *request.Request, output *TestEventPatternOutput) { op := &request.Operation{ Name: opTestEventPattern, @@ -1403,7 +1403,7 @@ func (c *CloudWatchEvents) TestEventPatternRequest(input *TestEventPatternInput) // * ErrCodeInternalException "InternalException" // This exception occurs due to unexpected causes. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPattern +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPattern func (c *CloudWatchEvents) TestEventPattern(input *TestEventPatternInput) (*TestEventPatternOutput, error) { req, out := c.TestEventPatternRequest(input) return out, req.Send() @@ -1425,7 +1425,7 @@ func (c *CloudWatchEvents) TestEventPatternWithContext(ctx aws.Context, input *T return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRuleRequest type DeleteRuleInput struct { _ struct{} `type:"structure"` @@ -1467,7 +1467,7 @@ func (s *DeleteRuleInput) SetName(v string) *DeleteRuleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRuleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRuleOutput type DeleteRuleOutput struct { _ struct{} `type:"structure"` } @@ -1482,7 +1482,7 @@ func (s DeleteRuleOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBusRequest type DescribeEventBusInput struct { _ struct{} `type:"structure"` } @@ -1497,7 +1497,7 @@ func (s DescribeEventBusInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBusResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBusResponse type DescribeEventBusOutput struct { _ struct{} `type:"structure"` @@ -1540,7 +1540,7 @@ func (s *DescribeEventBusOutput) SetPolicy(v string) *DescribeEventBusOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRuleRequest type DescribeRuleInput struct { _ struct{} `type:"structure"` @@ -1582,7 +1582,7 @@ func (s *DescribeRuleInput) SetName(v string) *DescribeRuleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRuleResponse type DescribeRuleOutput struct { _ struct{} `type:"structure"` @@ -1661,7 +1661,7 @@ func (s *DescribeRuleOutput) SetState(v string) *DescribeRuleOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRuleRequest type DisableRuleInput struct { _ struct{} `type:"structure"` @@ -1703,7 +1703,7 @@ func (s *DisableRuleInput) SetName(v string) *DisableRuleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRuleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRuleOutput type DisableRuleOutput struct { _ struct{} `type:"structure"` } @@ -1719,7 +1719,7 @@ func (s DisableRuleOutput) GoString() string { } // The custom parameters to be used when the target is an Amazon ECS cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EcsParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EcsParameters type EcsParameters struct { _ struct{} `type:"structure"` @@ -1775,7 +1775,7 @@ func (s *EcsParameters) SetTaskDefinitionArn(v string) *EcsParameters { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRuleRequest type EnableRuleInput struct { _ struct{} `type:"structure"` @@ -1817,7 +1817,7 @@ func (s *EnableRuleInput) SetName(v string) *EnableRuleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRuleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRuleOutput type EnableRuleOutput struct { _ struct{} `type:"structure"` } @@ -1834,7 +1834,7 @@ func (s EnableRuleOutput) GoString() string { // Contains the parameters needed for you to provide custom input to a target // based on one or more pieces of data extracted from the event. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/InputTransformer +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/InputTransformer type InputTransformer struct { _ struct{} `type:"structure"` @@ -1892,7 +1892,7 @@ func (s *InputTransformer) SetInputTemplate(v string) *InputTransformer { // and use as the partition key for the Amazon Kinesis stream, so that you can // control the shard to which the event goes. If you do not include this parameter, // the default is to use the eventId as the partition key. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/KinesisParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/KinesisParameters type KinesisParameters struct { _ struct{} `type:"structure"` @@ -1933,7 +1933,7 @@ func (s *KinesisParameters) SetPartitionKeyPath(v string) *KinesisParameters { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTargetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTargetRequest type ListRuleNamesByTargetInput struct { _ struct{} `type:"structure"` @@ -1999,7 +1999,7 @@ func (s *ListRuleNamesByTargetInput) SetTargetArn(v string) *ListRuleNamesByTarg return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTargetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTargetResponse type ListRuleNamesByTargetOutput struct { _ struct{} `type:"structure"` @@ -2033,7 +2033,7 @@ func (s *ListRuleNamesByTargetOutput) SetRuleNames(v []*string) *ListRuleNamesBy return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRulesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRulesRequest type ListRulesInput struct { _ struct{} `type:"structure"` @@ -2094,7 +2094,7 @@ func (s *ListRulesInput) SetNextToken(v string) *ListRulesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRulesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRulesResponse type ListRulesOutput struct { _ struct{} `type:"structure"` @@ -2128,7 +2128,7 @@ func (s *ListRulesOutput) SetRules(v []*Rule) *ListRulesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRuleRequest type ListTargetsByRuleInput struct { _ struct{} `type:"structure"` @@ -2194,7 +2194,7 @@ func (s *ListTargetsByRuleInput) SetRule(v string) *ListTargetsByRuleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRuleResponse type ListTargetsByRuleOutput struct { _ struct{} `type:"structure"` @@ -2228,7 +2228,7 @@ func (s *ListTargetsByRuleOutput) SetTargets(v []*Target) *ListTargetsByRuleOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsRequest type PutEventsInput struct { _ struct{} `type:"structure"` @@ -2272,7 +2272,7 @@ func (s *PutEventsInput) SetEntries(v []*PutEventsRequestEntry) *PutEventsInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsResponse type PutEventsOutput struct { _ struct{} `type:"structure"` @@ -2308,7 +2308,7 @@ func (s *PutEventsOutput) SetFailedEntryCount(v int64) *PutEventsOutput { } // Represents an event to be submitted. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsRequestEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsRequestEntry type PutEventsRequestEntry struct { _ struct{} `type:"structure"` @@ -2372,7 +2372,7 @@ func (s *PutEventsRequestEntry) SetTime(v time.Time) *PutEventsRequestEntry { } // Represents an event that failed to be submitted. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsResultEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsResultEntry type PutEventsResultEntry struct { _ struct{} `type:"structure"` @@ -2414,7 +2414,7 @@ func (s *PutEventsResultEntry) SetEventId(v string) *PutEventsResultEntry { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermissionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermissionRequest type PutPermissionInput struct { _ struct{} `type:"structure"` @@ -2501,7 +2501,7 @@ func (s *PutPermissionInput) SetStatementId(v string) *PutPermissionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermissionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermissionOutput type PutPermissionOutput struct { _ struct{} `type:"structure"` } @@ -2516,7 +2516,7 @@ func (s PutPermissionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRuleRequest type PutRuleInput struct { _ struct{} `type:"structure"` @@ -2607,7 +2607,7 @@ func (s *PutRuleInput) SetState(v string) *PutRuleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRuleResponse type PutRuleOutput struct { _ struct{} `type:"structure"` @@ -2631,7 +2631,7 @@ func (s *PutRuleOutput) SetRuleArn(v string) *PutRuleOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargetsRequest type PutTargetsInput struct { _ struct{} `type:"structure"` @@ -2700,7 +2700,7 @@ func (s *PutTargetsInput) SetTargets(v []*Target) *PutTargetsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargetsResponse type PutTargetsOutput struct { _ struct{} `type:"structure"` @@ -2734,7 +2734,7 @@ func (s *PutTargetsOutput) SetFailedEntryCount(v int64) *PutTargetsOutput { } // Represents a target that failed to be added to a rule. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargetsResultEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargetsResultEntry type PutTargetsResultEntry struct { _ struct{} `type:"structure"` @@ -2778,7 +2778,7 @@ func (s *PutTargetsResultEntry) SetTargetId(v string) *PutTargetsResultEntry { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermissionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermissionRequest type RemovePermissionInput struct { _ struct{} `type:"structure"` @@ -2821,7 +2821,7 @@ func (s *RemovePermissionInput) SetStatementId(v string) *RemovePermissionInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermissionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermissionOutput type RemovePermissionOutput struct { _ struct{} `type:"structure"` } @@ -2836,7 +2836,7 @@ func (s RemovePermissionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargetsRequest type RemoveTargetsInput struct { _ struct{} `type:"structure"` @@ -2895,7 +2895,7 @@ func (s *RemoveTargetsInput) SetRule(v string) *RemoveTargetsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargetsResponse type RemoveTargetsOutput struct { _ struct{} `type:"structure"` @@ -2929,7 +2929,7 @@ func (s *RemoveTargetsOutput) SetFailedEntryCount(v int64) *RemoveTargetsOutput } // Represents a target that failed to be removed from a rule. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargetsResultEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargetsResultEntry type RemoveTargetsResultEntry struct { _ struct{} `type:"structure"` @@ -2974,7 +2974,7 @@ func (s *RemoveTargetsResultEntry) SetTargetId(v string) *RemoveTargetsResultEnt } // Contains information about a rule in Amazon CloudWatch Events. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/Rule +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/Rule type Rule struct { _ struct{} `type:"structure"` @@ -3056,7 +3056,7 @@ func (s *Rule) SetState(v string) *Rule { // This parameter contains the criteria (either InstanceIds or a tag) used to // specify which EC2 instances are to be sent the command. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RunCommandParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RunCommandParameters type RunCommandParameters struct { _ struct{} `type:"structure"` @@ -3112,7 +3112,7 @@ func (s *RunCommandParameters) SetRunCommandTargets(v []*RunCommandTarget) *RunC // Information about the EC2 instances that are to be sent the command, specified // as key-value pairs. Each RunCommandTarget block can include only one key, // but this key may specify multiple values. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RunCommandTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RunCommandTarget type RunCommandTarget struct { _ struct{} `type:"structure"` @@ -3176,7 +3176,7 @@ func (s *RunCommandTarget) SetValues(v []*string) *RunCommandTarget { // types include EC2 instances, AWS Lambda functions, Amazon Kinesis streams, // Amazon ECS tasks, AWS Step Functions state machines, Run Command, and built-in // targets. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/Target +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/Target type Target struct { _ struct{} `type:"structure"` @@ -3335,7 +3335,7 @@ func (s *Target) SetRunCommandParameters(v *RunCommandParameters) *Target { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPatternRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPatternRequest type TestEventPatternInput struct { _ struct{} `type:"structure"` @@ -3389,7 +3389,7 @@ func (s *TestEventPatternInput) SetEventPattern(v string) *TestEventPatternInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPatternResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPatternResponse type TestEventPatternOutput struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go index a6fc9303b32..94f06d10bd4 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go @@ -37,7 +37,7 @@ const opAssociateKmsKey = "AssociateKmsKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateKmsKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateKmsKey func (c *CloudWatchLogs) AssociateKmsKeyRequest(input *AssociateKmsKeyInput) (req *request.Request, output *AssociateKmsKeyOutput) { op := &request.Operation{ Name: opAssociateKmsKey, @@ -93,7 +93,7 @@ func (c *CloudWatchLogs) AssociateKmsKeyRequest(input *AssociateKmsKeyInput) (re // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateKmsKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateKmsKey func (c *CloudWatchLogs) AssociateKmsKey(input *AssociateKmsKeyInput) (*AssociateKmsKeyOutput, error) { req, out := c.AssociateKmsKeyRequest(input) return out, req.Send() @@ -140,7 +140,7 @@ const opCancelExportTask = "CancelExportTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTask func (c *CloudWatchLogs) CancelExportTaskRequest(input *CancelExportTaskInput) (req *request.Request, output *CancelExportTaskOutput) { op := &request.Operation{ Name: opCancelExportTask, @@ -185,7 +185,7 @@ func (c *CloudWatchLogs) CancelExportTaskRequest(input *CancelExportTaskInput) ( // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTask func (c *CloudWatchLogs) CancelExportTask(input *CancelExportTaskInput) (*CancelExportTaskOutput, error) { req, out := c.CancelExportTaskRequest(input) return out, req.Send() @@ -232,7 +232,7 @@ const opCreateExportTask = "CreateExportTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTask func (c *CloudWatchLogs) CreateExportTaskRequest(input *CreateExportTaskInput) (req *request.Request, output *CreateExportTaskOutput) { op := &request.Operation{ Name: opCreateExportTask, @@ -290,7 +290,7 @@ func (c *CloudWatchLogs) CreateExportTaskRequest(input *CreateExportTaskInput) ( // * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" // The specified resource already exists. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTask func (c *CloudWatchLogs) CreateExportTask(input *CreateExportTaskInput) (*CreateExportTaskOutput, error) { req, out := c.CreateExportTaskRequest(input) return out, req.Send() @@ -337,7 +337,7 @@ const opCreateLogGroup = "CreateLogGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroup func (c *CloudWatchLogs) CreateLogGroupRequest(input *CreateLogGroupInput) (req *request.Request, output *CreateLogGroupOutput) { op := &request.Operation{ Name: opCreateLogGroup, @@ -404,7 +404,7 @@ func (c *CloudWatchLogs) CreateLogGroupRequest(input *CreateLogGroupInput) (req // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroup func (c *CloudWatchLogs) CreateLogGroup(input *CreateLogGroupInput) (*CreateLogGroupOutput, error) { req, out := c.CreateLogGroupRequest(input) return out, req.Send() @@ -451,7 +451,7 @@ const opCreateLogStream = "CreateLogStream" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStream func (c *CloudWatchLogs) CreateLogStreamRequest(input *CreateLogStreamInput) (req *request.Request, output *CreateLogStreamOutput) { op := &request.Operation{ Name: opCreateLogStream, @@ -505,7 +505,7 @@ func (c *CloudWatchLogs) CreateLogStreamRequest(input *CreateLogStreamInput) (re // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStream func (c *CloudWatchLogs) CreateLogStream(input *CreateLogStreamInput) (*CreateLogStreamOutput, error) { req, out := c.CreateLogStreamRequest(input) return out, req.Send() @@ -552,7 +552,7 @@ const opDeleteDestination = "DeleteDestination" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestination func (c *CloudWatchLogs) DeleteDestinationRequest(input *DeleteDestinationInput) (req *request.Request, output *DeleteDestinationOutput) { op := &request.Operation{ Name: opDeleteDestination, @@ -597,7 +597,7 @@ func (c *CloudWatchLogs) DeleteDestinationRequest(input *DeleteDestinationInput) // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestination func (c *CloudWatchLogs) DeleteDestination(input *DeleteDestinationInput) (*DeleteDestinationOutput, error) { req, out := c.DeleteDestinationRequest(input) return out, req.Send() @@ -644,7 +644,7 @@ const opDeleteLogGroup = "DeleteLogGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroup func (c *CloudWatchLogs) DeleteLogGroupRequest(input *DeleteLogGroupInput) (req *request.Request, output *DeleteLogGroupOutput) { op := &request.Operation{ Name: opDeleteLogGroup, @@ -688,7 +688,7 @@ func (c *CloudWatchLogs) DeleteLogGroupRequest(input *DeleteLogGroupInput) (req // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroup func (c *CloudWatchLogs) DeleteLogGroup(input *DeleteLogGroupInput) (*DeleteLogGroupOutput, error) { req, out := c.DeleteLogGroupRequest(input) return out, req.Send() @@ -735,7 +735,7 @@ const opDeleteLogStream = "DeleteLogStream" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStream func (c *CloudWatchLogs) DeleteLogStreamRequest(input *DeleteLogStreamInput) (req *request.Request, output *DeleteLogStreamOutput) { op := &request.Operation{ Name: opDeleteLogStream, @@ -779,7 +779,7 @@ func (c *CloudWatchLogs) DeleteLogStreamRequest(input *DeleteLogStreamInput) (re // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStream func (c *CloudWatchLogs) DeleteLogStream(input *DeleteLogStreamInput) (*DeleteLogStreamOutput, error) { req, out := c.DeleteLogStreamRequest(input) return out, req.Send() @@ -826,7 +826,7 @@ const opDeleteMetricFilter = "DeleteMetricFilter" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilter func (c *CloudWatchLogs) DeleteMetricFilterRequest(input *DeleteMetricFilterInput) (req *request.Request, output *DeleteMetricFilterOutput) { op := &request.Operation{ Name: opDeleteMetricFilter, @@ -869,7 +869,7 @@ func (c *CloudWatchLogs) DeleteMetricFilterRequest(input *DeleteMetricFilterInpu // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilter func (c *CloudWatchLogs) DeleteMetricFilter(input *DeleteMetricFilterInput) (*DeleteMetricFilterOutput, error) { req, out := c.DeleteMetricFilterRequest(input) return out, req.Send() @@ -916,7 +916,7 @@ const opDeleteResourcePolicy = "DeleteResourcePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteResourcePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteResourcePolicy func (c *CloudWatchLogs) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { op := &request.Operation{ Name: opDeleteResourcePolicy, @@ -957,7 +957,7 @@ func (c *CloudWatchLogs) DeleteResourcePolicyRequest(input *DeleteResourcePolicy // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteResourcePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteResourcePolicy func (c *CloudWatchLogs) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { req, out := c.DeleteResourcePolicyRequest(input) return out, req.Send() @@ -1004,7 +1004,7 @@ const opDeleteRetentionPolicy = "DeleteRetentionPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicy func (c *CloudWatchLogs) DeleteRetentionPolicyRequest(input *DeleteRetentionPolicyInput) (req *request.Request, output *DeleteRetentionPolicyOutput) { op := &request.Operation{ Name: opDeleteRetentionPolicy, @@ -1050,7 +1050,7 @@ func (c *CloudWatchLogs) DeleteRetentionPolicyRequest(input *DeleteRetentionPoli // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicy func (c *CloudWatchLogs) DeleteRetentionPolicy(input *DeleteRetentionPolicyInput) (*DeleteRetentionPolicyOutput, error) { req, out := c.DeleteRetentionPolicyRequest(input) return out, req.Send() @@ -1097,7 +1097,7 @@ const opDeleteSubscriptionFilter = "DeleteSubscriptionFilter" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilter func (c *CloudWatchLogs) DeleteSubscriptionFilterRequest(input *DeleteSubscriptionFilterInput) (req *request.Request, output *DeleteSubscriptionFilterOutput) { op := &request.Operation{ Name: opDeleteSubscriptionFilter, @@ -1140,7 +1140,7 @@ func (c *CloudWatchLogs) DeleteSubscriptionFilterRequest(input *DeleteSubscripti // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilter func (c *CloudWatchLogs) DeleteSubscriptionFilter(input *DeleteSubscriptionFilterInput) (*DeleteSubscriptionFilterOutput, error) { req, out := c.DeleteSubscriptionFilterRequest(input) return out, req.Send() @@ -1187,7 +1187,7 @@ const opDescribeDestinations = "DescribeDestinations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinations +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinations func (c *CloudWatchLogs) DescribeDestinationsRequest(input *DescribeDestinationsInput) (req *request.Request, output *DescribeDestinationsOutput) { op := &request.Operation{ Name: opDescribeDestinations, @@ -1229,7 +1229,7 @@ func (c *CloudWatchLogs) DescribeDestinationsRequest(input *DescribeDestinations // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinations +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinations func (c *CloudWatchLogs) DescribeDestinations(input *DescribeDestinationsInput) (*DescribeDestinationsOutput, error) { req, out := c.DescribeDestinationsRequest(input) return out, req.Send() @@ -1326,7 +1326,7 @@ const opDescribeExportTasks = "DescribeExportTasks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasks func (c *CloudWatchLogs) DescribeExportTasksRequest(input *DescribeExportTasksInput) (req *request.Request, output *DescribeExportTasksOutput) { op := &request.Operation{ Name: opDescribeExportTasks, @@ -1362,7 +1362,7 @@ func (c *CloudWatchLogs) DescribeExportTasksRequest(input *DescribeExportTasksIn // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasks func (c *CloudWatchLogs) DescribeExportTasks(input *DescribeExportTasksInput) (*DescribeExportTasksOutput, error) { req, out := c.DescribeExportTasksRequest(input) return out, req.Send() @@ -1409,7 +1409,7 @@ const opDescribeLogGroups = "DescribeLogGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroups func (c *CloudWatchLogs) DescribeLogGroupsRequest(input *DescribeLogGroupsInput) (req *request.Request, output *DescribeLogGroupsOutput) { op := &request.Operation{ Name: opDescribeLogGroups, @@ -1451,7 +1451,7 @@ func (c *CloudWatchLogs) DescribeLogGroupsRequest(input *DescribeLogGroupsInput) // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroups func (c *CloudWatchLogs) DescribeLogGroups(input *DescribeLogGroupsInput) (*DescribeLogGroupsOutput, error) { req, out := c.DescribeLogGroupsRequest(input) return out, req.Send() @@ -1548,7 +1548,7 @@ const opDescribeLogStreams = "DescribeLogStreams" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreams +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreams func (c *CloudWatchLogs) DescribeLogStreamsRequest(input *DescribeLogStreamsInput) (req *request.Request, output *DescribeLogStreamsOutput) { op := &request.Operation{ Name: opDescribeLogStreams, @@ -1597,7 +1597,7 @@ func (c *CloudWatchLogs) DescribeLogStreamsRequest(input *DescribeLogStreamsInpu // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreams +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreams func (c *CloudWatchLogs) DescribeLogStreams(input *DescribeLogStreamsInput) (*DescribeLogStreamsOutput, error) { req, out := c.DescribeLogStreamsRequest(input) return out, req.Send() @@ -1694,7 +1694,7 @@ const opDescribeMetricFilters = "DescribeMetricFilters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFilters +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFilters func (c *CloudWatchLogs) DescribeMetricFiltersRequest(input *DescribeMetricFiltersInput) (req *request.Request, output *DescribeMetricFiltersOutput) { op := &request.Operation{ Name: opDescribeMetricFilters, @@ -1740,7 +1740,7 @@ func (c *CloudWatchLogs) DescribeMetricFiltersRequest(input *DescribeMetricFilte // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFilters +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFilters func (c *CloudWatchLogs) DescribeMetricFilters(input *DescribeMetricFiltersInput) (*DescribeMetricFiltersOutput, error) { req, out := c.DescribeMetricFiltersRequest(input) return out, req.Send() @@ -1837,7 +1837,7 @@ const opDescribeResourcePolicies = "DescribeResourcePolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeResourcePolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeResourcePolicies func (c *CloudWatchLogs) DescribeResourcePoliciesRequest(input *DescribeResourcePoliciesInput) (req *request.Request, output *DescribeResourcePoliciesOutput) { op := &request.Operation{ Name: opDescribeResourcePolicies, @@ -1872,7 +1872,7 @@ func (c *CloudWatchLogs) DescribeResourcePoliciesRequest(input *DescribeResource // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeResourcePolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeResourcePolicies func (c *CloudWatchLogs) DescribeResourcePolicies(input *DescribeResourcePoliciesInput) (*DescribeResourcePoliciesOutput, error) { req, out := c.DescribeResourcePoliciesRequest(input) return out, req.Send() @@ -1919,7 +1919,7 @@ const opDescribeSubscriptionFilters = "DescribeSubscriptionFilters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFilters +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFilters func (c *CloudWatchLogs) DescribeSubscriptionFiltersRequest(input *DescribeSubscriptionFiltersInput) (req *request.Request, output *DescribeSubscriptionFiltersOutput) { op := &request.Operation{ Name: opDescribeSubscriptionFilters, @@ -1965,7 +1965,7 @@ func (c *CloudWatchLogs) DescribeSubscriptionFiltersRequest(input *DescribeSubsc // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFilters +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFilters func (c *CloudWatchLogs) DescribeSubscriptionFilters(input *DescribeSubscriptionFiltersInput) (*DescribeSubscriptionFiltersOutput, error) { req, out := c.DescribeSubscriptionFiltersRequest(input) return out, req.Send() @@ -2062,7 +2062,7 @@ const opDisassociateKmsKey = "DisassociateKmsKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DisassociateKmsKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DisassociateKmsKey func (c *CloudWatchLogs) DisassociateKmsKeyRequest(input *DisassociateKmsKeyInput) (req *request.Request, output *DisassociateKmsKeyOutput) { op := &request.Operation{ Name: opDisassociateKmsKey, @@ -2113,7 +2113,7 @@ func (c *CloudWatchLogs) DisassociateKmsKeyRequest(input *DisassociateKmsKeyInpu // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DisassociateKmsKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DisassociateKmsKey func (c *CloudWatchLogs) DisassociateKmsKey(input *DisassociateKmsKeyInput) (*DisassociateKmsKeyOutput, error) { req, out := c.DisassociateKmsKeyRequest(input) return out, req.Send() @@ -2160,7 +2160,7 @@ const opFilterLogEvents = "FilterLogEvents" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEvents func (c *CloudWatchLogs) FilterLogEventsRequest(input *FilterLogEventsInput) (req *request.Request, output *FilterLogEventsOutput) { op := &request.Operation{ Name: opFilterLogEvents, @@ -2212,7 +2212,7 @@ func (c *CloudWatchLogs) FilterLogEventsRequest(input *FilterLogEventsInput) (re // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEvents func (c *CloudWatchLogs) FilterLogEvents(input *FilterLogEventsInput) (*FilterLogEventsOutput, error) { req, out := c.FilterLogEventsRequest(input) return out, req.Send() @@ -2309,7 +2309,7 @@ const opGetLogEvents = "GetLogEvents" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEvents func (c *CloudWatchLogs) GetLogEventsRequest(input *GetLogEventsInput) (req *request.Request, output *GetLogEventsOutput) { op := &request.Operation{ Name: opGetLogEvents, @@ -2358,7 +2358,7 @@ func (c *CloudWatchLogs) GetLogEventsRequest(input *GetLogEventsInput) (req *req // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEvents func (c *CloudWatchLogs) GetLogEvents(input *GetLogEventsInput) (*GetLogEventsOutput, error) { req, out := c.GetLogEventsRequest(input) return out, req.Send() @@ -2455,7 +2455,7 @@ const opListTagsLogGroup = "ListTagsLogGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroup func (c *CloudWatchLogs) ListTagsLogGroupRequest(input *ListTagsLogGroupInput) (req *request.Request, output *ListTagsLogGroupOutput) { op := &request.Operation{ Name: opListTagsLogGroup, @@ -2490,7 +2490,7 @@ func (c *CloudWatchLogs) ListTagsLogGroupRequest(input *ListTagsLogGroupInput) ( // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroup func (c *CloudWatchLogs) ListTagsLogGroup(input *ListTagsLogGroupInput) (*ListTagsLogGroupOutput, error) { req, out := c.ListTagsLogGroupRequest(input) return out, req.Send() @@ -2537,7 +2537,7 @@ const opPutDestination = "PutDestination" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestination func (c *CloudWatchLogs) PutDestinationRequest(input *PutDestinationInput) (req *request.Request, output *PutDestinationOutput) { op := &request.Operation{ Name: opPutDestination, @@ -2585,7 +2585,7 @@ func (c *CloudWatchLogs) PutDestinationRequest(input *PutDestinationInput) (req // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestination func (c *CloudWatchLogs) PutDestination(input *PutDestinationInput) (*PutDestinationOutput, error) { req, out := c.PutDestinationRequest(input) return out, req.Send() @@ -2632,7 +2632,7 @@ const opPutDestinationPolicy = "PutDestinationPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicy func (c *CloudWatchLogs) PutDestinationPolicyRequest(input *PutDestinationPolicyInput) (req *request.Request, output *PutDestinationPolicyOutput) { op := &request.Operation{ Name: opPutDestinationPolicy, @@ -2675,7 +2675,7 @@ func (c *CloudWatchLogs) PutDestinationPolicyRequest(input *PutDestinationPolicy // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicy func (c *CloudWatchLogs) PutDestinationPolicy(input *PutDestinationPolicyInput) (*PutDestinationPolicyOutput, error) { req, out := c.PutDestinationPolicyRequest(input) return out, req.Send() @@ -2722,7 +2722,7 @@ const opPutLogEvents = "PutLogEvents" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEvents func (c *CloudWatchLogs) PutLogEventsRequest(input *PutLogEventsInput) (req *request.Request, output *PutLogEventsOutput) { op := &request.Operation{ Name: opPutLogEvents, @@ -2793,7 +2793,7 @@ func (c *CloudWatchLogs) PutLogEventsRequest(input *PutLogEventsInput) (req *req // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEvents func (c *CloudWatchLogs) PutLogEvents(input *PutLogEventsInput) (*PutLogEventsOutput, error) { req, out := c.PutLogEventsRequest(input) return out, req.Send() @@ -2840,7 +2840,7 @@ const opPutMetricFilter = "PutMetricFilter" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilter func (c *CloudWatchLogs) PutMetricFilterRequest(input *PutMetricFilterInput) (req *request.Request, output *PutMetricFilterOutput) { op := &request.Operation{ Name: opPutMetricFilter, @@ -2891,7 +2891,7 @@ func (c *CloudWatchLogs) PutMetricFilterRequest(input *PutMetricFilterInput) (re // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilter func (c *CloudWatchLogs) PutMetricFilter(input *PutMetricFilterInput) (*PutMetricFilterOutput, error) { req, out := c.PutMetricFilterRequest(input) return out, req.Send() @@ -2938,7 +2938,7 @@ const opPutResourcePolicy = "PutResourcePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicy func (c *CloudWatchLogs) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { op := &request.Operation{ Name: opPutResourcePolicy, @@ -2978,7 +2978,7 @@ func (c *CloudWatchLogs) PutResourcePolicyRequest(input *PutResourcePolicyInput) // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicy func (c *CloudWatchLogs) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { req, out := c.PutResourcePolicyRequest(input) return out, req.Send() @@ -3025,7 +3025,7 @@ const opPutRetentionPolicy = "PutRetentionPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicy func (c *CloudWatchLogs) PutRetentionPolicyRequest(input *PutRetentionPolicyInput) (req *request.Request, output *PutRetentionPolicyOutput) { op := &request.Operation{ Name: opPutRetentionPolicy, @@ -3070,7 +3070,7 @@ func (c *CloudWatchLogs) PutRetentionPolicyRequest(input *PutRetentionPolicyInpu // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicy func (c *CloudWatchLogs) PutRetentionPolicy(input *PutRetentionPolicyInput) (*PutRetentionPolicyOutput, error) { req, out := c.PutRetentionPolicyRequest(input) return out, req.Send() @@ -3117,7 +3117,7 @@ const opPutSubscriptionFilter = "PutSubscriptionFilter" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilter func (c *CloudWatchLogs) PutSubscriptionFilterRequest(input *PutSubscriptionFilterInput) (req *request.Request, output *PutSubscriptionFilterOutput) { op := &request.Operation{ Name: opPutSubscriptionFilter, @@ -3183,7 +3183,7 @@ func (c *CloudWatchLogs) PutSubscriptionFilterRequest(input *PutSubscriptionFilt // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilter func (c *CloudWatchLogs) PutSubscriptionFilter(input *PutSubscriptionFilterInput) (*PutSubscriptionFilterOutput, error) { req, out := c.PutSubscriptionFilterRequest(input) return out, req.Send() @@ -3230,7 +3230,7 @@ const opTagLogGroup = "TagLogGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroup func (c *CloudWatchLogs) TagLogGroupRequest(input *TagLogGroupInput) (req *request.Request, output *TagLogGroupOutput) { op := &request.Operation{ Name: opTagLogGroup, @@ -3274,7 +3274,7 @@ func (c *CloudWatchLogs) TagLogGroupRequest(input *TagLogGroupInput) (req *reque // * ErrCodeInvalidParameterException "InvalidParameterException" // A parameter is specified incorrectly. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroup func (c *CloudWatchLogs) TagLogGroup(input *TagLogGroupInput) (*TagLogGroupOutput, error) { req, out := c.TagLogGroupRequest(input) return out, req.Send() @@ -3321,7 +3321,7 @@ const opTestMetricFilter = "TestMetricFilter" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilter func (c *CloudWatchLogs) TestMetricFilterRequest(input *TestMetricFilterInput) (req *request.Request, output *TestMetricFilterOutput) { op := &request.Operation{ Name: opTestMetricFilter, @@ -3358,7 +3358,7 @@ func (c *CloudWatchLogs) TestMetricFilterRequest(input *TestMetricFilterInput) ( // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service cannot complete the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilter func (c *CloudWatchLogs) TestMetricFilter(input *TestMetricFilterInput) (*TestMetricFilterOutput, error) { req, out := c.TestMetricFilterRequest(input) return out, req.Send() @@ -3405,7 +3405,7 @@ const opUntagLogGroup = "UntagLogGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroup func (c *CloudWatchLogs) UntagLogGroupRequest(input *UntagLogGroupInput) (req *request.Request, output *UntagLogGroupOutput) { op := &request.Operation{ Name: opUntagLogGroup, @@ -3442,7 +3442,7 @@ func (c *CloudWatchLogs) UntagLogGroupRequest(input *UntagLogGroupInput) (req *r // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroup func (c *CloudWatchLogs) UntagLogGroup(input *UntagLogGroupInput) (*UntagLogGroupOutput, error) { req, out := c.UntagLogGroupRequest(input) return out, req.Send() @@ -3464,7 +3464,7 @@ func (c *CloudWatchLogs) UntagLogGroupWithContext(ctx aws.Context, input *UntagL return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateKmsKeyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateKmsKeyRequest type AssociateKmsKeyInput struct { _ struct{} `type:"structure"` @@ -3522,7 +3522,7 @@ func (s *AssociateKmsKeyInput) SetLogGroupName(v string) *AssociateKmsKeyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateKmsKeyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateKmsKeyOutput type AssociateKmsKeyOutput struct { _ struct{} `type:"structure"` } @@ -3537,7 +3537,7 @@ func (s AssociateKmsKeyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTaskRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTaskRequest type CancelExportTaskInput struct { _ struct{} `type:"structure"` @@ -3579,7 +3579,7 @@ func (s *CancelExportTaskInput) SetTaskId(v string) *CancelExportTaskInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTaskOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTaskOutput type CancelExportTaskOutput struct { _ struct{} `type:"structure"` } @@ -3594,7 +3594,7 @@ func (s CancelExportTaskOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTaskRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTaskRequest type CreateExportTaskInput struct { _ struct{} `type:"structure"` @@ -3721,7 +3721,7 @@ func (s *CreateExportTaskInput) SetTo(v int64) *CreateExportTaskInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTaskResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTaskResponse type CreateExportTaskOutput struct { _ struct{} `type:"structure"` @@ -3745,7 +3745,7 @@ func (s *CreateExportTaskOutput) SetTaskId(v string) *CreateExportTaskOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroupRequest type CreateLogGroupInput struct { _ struct{} `type:"structure"` @@ -3810,7 +3810,7 @@ func (s *CreateLogGroupInput) SetTags(v map[string]*string) *CreateLogGroupInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroupOutput type CreateLogGroupOutput struct { _ struct{} `type:"structure"` } @@ -3825,7 +3825,7 @@ func (s CreateLogGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStreamRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStreamRequest type CreateLogStreamInput struct { _ struct{} `type:"structure"` @@ -3884,7 +3884,7 @@ func (s *CreateLogStreamInput) SetLogStreamName(v string) *CreateLogStreamInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStreamOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStreamOutput type CreateLogStreamOutput struct { _ struct{} `type:"structure"` } @@ -3899,7 +3899,7 @@ func (s CreateLogStreamOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestinationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestinationRequest type DeleteDestinationInput struct { _ struct{} `type:"structure"` @@ -3941,7 +3941,7 @@ func (s *DeleteDestinationInput) SetDestinationName(v string) *DeleteDestination return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestinationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestinationOutput type DeleteDestinationOutput struct { _ struct{} `type:"structure"` } @@ -3956,7 +3956,7 @@ func (s DeleteDestinationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroupRequest type DeleteLogGroupInput struct { _ struct{} `type:"structure"` @@ -3998,7 +3998,7 @@ func (s *DeleteLogGroupInput) SetLogGroupName(v string) *DeleteLogGroupInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroupOutput type DeleteLogGroupOutput struct { _ struct{} `type:"structure"` } @@ -4013,7 +4013,7 @@ func (s DeleteLogGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStreamRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStreamRequest type DeleteLogStreamInput struct { _ struct{} `type:"structure"` @@ -4072,7 +4072,7 @@ func (s *DeleteLogStreamInput) SetLogStreamName(v string) *DeleteLogStreamInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStreamOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStreamOutput type DeleteLogStreamOutput struct { _ struct{} `type:"structure"` } @@ -4087,7 +4087,7 @@ func (s DeleteLogStreamOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilterRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilterRequest type DeleteMetricFilterInput struct { _ struct{} `type:"structure"` @@ -4146,7 +4146,7 @@ func (s *DeleteMetricFilterInput) SetLogGroupName(v string) *DeleteMetricFilterI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilterOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilterOutput type DeleteMetricFilterOutput struct { _ struct{} `type:"structure"` } @@ -4161,7 +4161,7 @@ func (s DeleteMetricFilterOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteResourcePolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteResourcePolicyRequest type DeleteResourcePolicyInput struct { _ struct{} `type:"structure"` @@ -4185,7 +4185,7 @@ func (s *DeleteResourcePolicyInput) SetPolicyName(v string) *DeleteResourcePolic return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteResourcePolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteResourcePolicyOutput type DeleteResourcePolicyOutput struct { _ struct{} `type:"structure"` } @@ -4200,7 +4200,7 @@ func (s DeleteResourcePolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicyRequest type DeleteRetentionPolicyInput struct { _ struct{} `type:"structure"` @@ -4242,7 +4242,7 @@ func (s *DeleteRetentionPolicyInput) SetLogGroupName(v string) *DeleteRetentionP return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicyOutput type DeleteRetentionPolicyOutput struct { _ struct{} `type:"structure"` } @@ -4257,7 +4257,7 @@ func (s DeleteRetentionPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilterRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilterRequest type DeleteSubscriptionFilterInput struct { _ struct{} `type:"structure"` @@ -4316,7 +4316,7 @@ func (s *DeleteSubscriptionFilterInput) SetLogGroupName(v string) *DeleteSubscri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilterOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilterOutput type DeleteSubscriptionFilterOutput struct { _ struct{} `type:"structure"` } @@ -4331,7 +4331,7 @@ func (s DeleteSubscriptionFilterOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinationsRequest type DescribeDestinationsInput struct { _ struct{} `type:"structure"` @@ -4394,7 +4394,7 @@ func (s *DescribeDestinationsInput) SetNextToken(v string) *DescribeDestinations return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinationsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinationsResponse type DescribeDestinationsOutput struct { _ struct{} `type:"structure"` @@ -4428,7 +4428,7 @@ func (s *DescribeDestinationsOutput) SetNextToken(v string) *DescribeDestination return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasksRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasksRequest type DescribeExportTasksInput struct { _ struct{} `type:"structure"` @@ -4502,7 +4502,7 @@ func (s *DescribeExportTasksInput) SetTaskId(v string) *DescribeExportTasksInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasksResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasksResponse type DescribeExportTasksOutput struct { _ struct{} `type:"structure"` @@ -4536,7 +4536,7 @@ func (s *DescribeExportTasksOutput) SetNextToken(v string) *DescribeExportTasksO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroupsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroupsRequest type DescribeLogGroupsInput struct { _ struct{} `type:"structure"` @@ -4599,7 +4599,7 @@ func (s *DescribeLogGroupsInput) SetNextToken(v string) *DescribeLogGroupsInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroupsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroupsResponse type DescribeLogGroupsOutput struct { _ struct{} `type:"structure"` @@ -4633,7 +4633,7 @@ func (s *DescribeLogGroupsOutput) SetNextToken(v string) *DescribeLogGroupsOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreamsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreamsRequest type DescribeLogStreamsInput struct { _ struct{} `type:"structure"` @@ -4746,7 +4746,7 @@ func (s *DescribeLogStreamsInput) SetOrderBy(v string) *DescribeLogStreamsInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreamsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreamsResponse type DescribeLogStreamsOutput struct { _ struct{} `type:"structure"` @@ -4780,7 +4780,7 @@ func (s *DescribeLogStreamsOutput) SetNextToken(v string) *DescribeLogStreamsOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFiltersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFiltersRequest type DescribeMetricFiltersInput struct { _ struct{} `type:"structure"` @@ -4874,7 +4874,7 @@ func (s *DescribeMetricFiltersInput) SetNextToken(v string) *DescribeMetricFilte return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFiltersResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFiltersResponse type DescribeMetricFiltersOutput struct { _ struct{} `type:"structure"` @@ -4908,7 +4908,7 @@ func (s *DescribeMetricFiltersOutput) SetNextToken(v string) *DescribeMetricFilt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeResourcePoliciesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeResourcePoliciesRequest type DescribeResourcePoliciesInput struct { _ struct{} `type:"structure"` @@ -4959,7 +4959,7 @@ func (s *DescribeResourcePoliciesInput) SetNextToken(v string) *DescribeResource return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeResourcePoliciesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeResourcePoliciesResponse type DescribeResourcePoliciesOutput struct { _ struct{} `type:"structure"` @@ -4993,7 +4993,7 @@ func (s *DescribeResourcePoliciesOutput) SetResourcePolicies(v []*ResourcePolicy return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFiltersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFiltersRequest type DescribeSubscriptionFiltersInput struct { _ struct{} `type:"structure"` @@ -5073,7 +5073,7 @@ func (s *DescribeSubscriptionFiltersInput) SetNextToken(v string) *DescribeSubsc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFiltersResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFiltersResponse type DescribeSubscriptionFiltersOutput struct { _ struct{} `type:"structure"` @@ -5108,7 +5108,7 @@ func (s *DescribeSubscriptionFiltersOutput) SetSubscriptionFilters(v []*Subscrip } // Represents a cross-account destination that receives subscription log events. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/Destination +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/Destination type Destination struct { _ struct{} `type:"structure"` @@ -5180,7 +5180,7 @@ func (s *Destination) SetTargetArn(v string) *Destination { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DisassociateKmsKeyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DisassociateKmsKeyRequest type DisassociateKmsKeyInput struct { _ struct{} `type:"structure"` @@ -5222,7 +5222,7 @@ func (s *DisassociateKmsKeyInput) SetLogGroupName(v string) *DisassociateKmsKeyI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DisassociateKmsKeyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DisassociateKmsKeyOutput type DisassociateKmsKeyOutput struct { _ struct{} `type:"structure"` } @@ -5238,7 +5238,7 @@ func (s DisassociateKmsKeyOutput) GoString() string { } // Represents an export task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ExportTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ExportTask type ExportTask struct { _ struct{} `type:"structure"` @@ -5337,7 +5337,7 @@ func (s *ExportTask) SetTo(v int64) *ExportTask { } // Represents the status of an export task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ExportTaskExecutionInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ExportTaskExecutionInfo type ExportTaskExecutionInfo struct { _ struct{} `type:"structure"` @@ -5373,7 +5373,7 @@ func (s *ExportTaskExecutionInfo) SetCreationTime(v int64) *ExportTaskExecutionI } // Represents the status of an export task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ExportTaskStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ExportTaskStatus type ExportTaskStatus struct { _ struct{} `type:"structure"` @@ -5406,7 +5406,7 @@ func (s *ExportTaskStatus) SetMessage(v string) *ExportTaskStatus { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEventsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEventsRequest type FilterLogEventsInput struct { _ struct{} `type:"structure"` @@ -5529,7 +5529,7 @@ func (s *FilterLogEventsInput) SetStartTime(v int64) *FilterLogEventsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEventsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEventsResponse type FilterLogEventsOutput struct { _ struct{} `type:"structure"` @@ -5574,7 +5574,7 @@ func (s *FilterLogEventsOutput) SetSearchedLogStreams(v []*SearchedLogStream) *F } // Represents a matched event. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilteredLogEvent +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilteredLogEvent type FilteredLogEvent struct { _ struct{} `type:"structure"` @@ -5636,7 +5636,7 @@ func (s *FilteredLogEvent) SetTimestamp(v int64) *FilteredLogEvent { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEventsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEventsRequest type GetLogEventsInput struct { _ struct{} `type:"structure"` @@ -5755,7 +5755,7 @@ func (s *GetLogEventsInput) SetStartTime(v int64) *GetLogEventsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEventsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEventsResponse type GetLogEventsOutput struct { _ struct{} `type:"structure"` @@ -5801,7 +5801,7 @@ func (s *GetLogEventsOutput) SetNextForwardToken(v string) *GetLogEventsOutput { // Represents a log event, which is a record of activity that was recorded by // the application or resource being monitored. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/InputLogEvent +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/InputLogEvent type InputLogEvent struct { _ struct{} `type:"structure"` @@ -5858,7 +5858,7 @@ func (s *InputLogEvent) SetTimestamp(v int64) *InputLogEvent { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroupRequest type ListTagsLogGroupInput struct { _ struct{} `type:"structure"` @@ -5900,7 +5900,7 @@ func (s *ListTagsLogGroupInput) SetLogGroupName(v string) *ListTagsLogGroupInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroupResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroupResponse type ListTagsLogGroupOutput struct { _ struct{} `type:"structure"` @@ -5925,7 +5925,7 @@ func (s *ListTagsLogGroupOutput) SetTags(v map[string]*string) *ListTagsLogGroup } // Represents a log group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogGroup type LogGroup struct { _ struct{} `type:"structure"` @@ -6008,7 +6008,7 @@ func (s *LogGroup) SetStoredBytes(v int64) *LogGroup { // Represents a log stream, which is a sequence of log events from a single // emitter of logs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogStream type LogStream struct { _ struct{} `type:"structure"` @@ -6105,7 +6105,7 @@ func (s *LogStream) SetUploadSequenceToken(v string) *LogStream { // Metric filters express how CloudWatch Logs would extract metric observations // from ingested log events and transform them into metric data in a CloudWatch // metric. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MetricFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MetricFilter type MetricFilter struct { _ struct{} `type:"structure"` @@ -6170,7 +6170,7 @@ func (s *MetricFilter) SetMetricTransformations(v []*MetricTransformation) *Metr } // Represents a matched event. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MetricFilterMatchRecord +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MetricFilterMatchRecord type MetricFilterMatchRecord struct { _ struct{} `type:"structure"` @@ -6214,7 +6214,7 @@ func (s *MetricFilterMatchRecord) SetExtractedValues(v map[string]*string) *Metr // Indicates how to transform ingested log events in to metric data in a CloudWatch // metric. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MetricTransformation +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MetricTransformation type MetricTransformation struct { _ struct{} `type:"structure"` @@ -6293,7 +6293,7 @@ func (s *MetricTransformation) SetMetricValue(v string) *MetricTransformation { } // Represents a log event. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/OutputLogEvent +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/OutputLogEvent type OutputLogEvent struct { _ struct{} `type:"structure"` @@ -6337,7 +6337,7 @@ func (s *OutputLogEvent) SetTimestamp(v int64) *OutputLogEvent { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationRequest type PutDestinationInput struct { _ struct{} `type:"structure"` @@ -6414,7 +6414,7 @@ func (s *PutDestinationInput) SetTargetArn(v string) *PutDestinationInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationResponse type PutDestinationOutput struct { _ struct{} `type:"structure"` @@ -6438,7 +6438,7 @@ func (s *PutDestinationOutput) SetDestination(v *Destination) *PutDestinationOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicyRequest type PutDestinationPolicyInput struct { _ struct{} `type:"structure"` @@ -6498,7 +6498,7 @@ func (s *PutDestinationPolicyInput) SetDestinationName(v string) *PutDestination return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicyOutput type PutDestinationPolicyOutput struct { _ struct{} `type:"structure"` } @@ -6513,7 +6513,7 @@ func (s PutDestinationPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsRequest type PutLogEventsInput struct { _ struct{} `type:"structure"` @@ -6615,7 +6615,7 @@ func (s *PutLogEventsInput) SetSequenceToken(v string) *PutLogEventsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsResponse type PutLogEventsOutput struct { _ struct{} `type:"structure"` @@ -6648,7 +6648,7 @@ func (s *PutLogEventsOutput) SetRejectedLogEventsInfo(v *RejectedLogEventsInfo) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilterRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilterRequest type PutMetricFilterInput struct { _ struct{} `type:"structure"` @@ -6748,7 +6748,7 @@ func (s *PutMetricFilterInput) SetMetricTransformations(v []*MetricTransformatio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilterOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilterOutput type PutMetricFilterOutput struct { _ struct{} `type:"structure"` } @@ -6763,7 +6763,7 @@ func (s PutMetricFilterOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicyRequest type PutResourcePolicyInput struct { _ struct{} `type:"structure"` @@ -6818,7 +6818,7 @@ func (s *PutResourcePolicyInput) SetPolicyName(v string) *PutResourcePolicyInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicyResponse type PutResourcePolicyOutput struct { _ struct{} `type:"structure"` @@ -6842,7 +6842,7 @@ func (s *PutResourcePolicyOutput) SetResourcePolicy(v *ResourcePolicy) *PutResou return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicyRequest type PutRetentionPolicyInput struct { _ struct{} `type:"structure"` @@ -6900,7 +6900,7 @@ func (s *PutRetentionPolicyInput) SetRetentionInDays(v int64) *PutRetentionPolic return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicyOutput type PutRetentionPolicyOutput struct { _ struct{} `type:"structure"` } @@ -6915,7 +6915,7 @@ func (s PutRetentionPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilterRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilterRequest type PutSubscriptionFilterInput struct { _ struct{} `type:"structure"` @@ -7048,7 +7048,7 @@ func (s *PutSubscriptionFilterInput) SetRoleArn(v string) *PutSubscriptionFilter return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilterOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilterOutput type PutSubscriptionFilterOutput struct { _ struct{} `type:"structure"` } @@ -7064,7 +7064,7 @@ func (s PutSubscriptionFilterOutput) GoString() string { } // Represents the rejected events. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/RejectedLogEventsInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/RejectedLogEventsInfo type RejectedLogEventsInfo struct { _ struct{} `type:"structure"` @@ -7108,7 +7108,7 @@ func (s *RejectedLogEventsInfo) SetTooOldLogEventEndIndex(v int64) *RejectedLogE // A policy enabling one or more entities to put logs to a log group in this // account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ResourcePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ResourcePolicy type ResourcePolicy struct { _ struct{} `type:"structure"` @@ -7152,7 +7152,7 @@ func (s *ResourcePolicy) SetPolicyName(v string) *ResourcePolicy { } // Represents the search status of a log stream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/SearchedLogStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/SearchedLogStream type SearchedLogStream struct { _ struct{} `type:"structure"` @@ -7186,7 +7186,7 @@ func (s *SearchedLogStream) SetSearchedCompletely(v bool) *SearchedLogStream { } // Represents a subscription filter. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/SubscriptionFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/SubscriptionFilter type SubscriptionFilter struct { _ struct{} `type:"structure"` @@ -7268,7 +7268,7 @@ func (s *SubscriptionFilter) SetRoleArn(v string) *SubscriptionFilter { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroupRequest type TagLogGroupInput struct { _ struct{} `type:"structure"` @@ -7327,7 +7327,7 @@ func (s *TagLogGroupInput) SetTags(v map[string]*string) *TagLogGroupInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroupOutput type TagLogGroupOutput struct { _ struct{} `type:"structure"` } @@ -7342,7 +7342,7 @@ func (s TagLogGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilterRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilterRequest type TestMetricFilterInput struct { _ struct{} `type:"structure"` @@ -7401,7 +7401,7 @@ func (s *TestMetricFilterInput) SetLogEventMessages(v []*string) *TestMetricFilt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilterResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilterResponse type TestMetricFilterOutput struct { _ struct{} `type:"structure"` @@ -7425,7 +7425,7 @@ func (s *TestMetricFilterOutput) SetMatches(v []*MetricFilterMatchRecord) *TestM return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroupRequest type UntagLogGroupInput struct { _ struct{} `type:"structure"` @@ -7484,7 +7484,7 @@ func (s *UntagLogGroupInput) SetTags(v []*string) *UntagLogGroupInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroupOutput type UntagLogGroupOutput struct { _ struct{} `type:"structure"` } diff --git a/vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go b/vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go index e4b4bdb4a61..bc23c2408fb 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go @@ -36,7 +36,7 @@ const opBatchDeleteBuilds = "BatchDeleteBuilds" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuilds +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuilds func (c *CodeBuild) BatchDeleteBuildsRequest(input *BatchDeleteBuildsInput) (req *request.Request, output *BatchDeleteBuildsOutput) { op := &request.Operation{ Name: opBatchDeleteBuilds, @@ -68,7 +68,7 @@ func (c *CodeBuild) BatchDeleteBuildsRequest(input *BatchDeleteBuildsInput) (req // * ErrCodeInvalidInputException "InvalidInputException" // The input value that was provided is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuilds +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuilds func (c *CodeBuild) BatchDeleteBuilds(input *BatchDeleteBuildsInput) (*BatchDeleteBuildsOutput, error) { req, out := c.BatchDeleteBuildsRequest(input) return out, req.Send() @@ -115,7 +115,7 @@ const opBatchGetBuilds = "BatchGetBuilds" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuilds +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuilds func (c *CodeBuild) BatchGetBuildsRequest(input *BatchGetBuildsInput) (req *request.Request, output *BatchGetBuildsOutput) { op := &request.Operation{ Name: opBatchGetBuilds, @@ -147,7 +147,7 @@ func (c *CodeBuild) BatchGetBuildsRequest(input *BatchGetBuildsInput) (req *requ // * ErrCodeInvalidInputException "InvalidInputException" // The input value that was provided is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuilds +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuilds func (c *CodeBuild) BatchGetBuilds(input *BatchGetBuildsInput) (*BatchGetBuildsOutput, error) { req, out := c.BatchGetBuildsRequest(input) return out, req.Send() @@ -194,7 +194,7 @@ const opBatchGetProjects = "BatchGetProjects" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjects +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjects func (c *CodeBuild) BatchGetProjectsRequest(input *BatchGetProjectsInput) (req *request.Request, output *BatchGetProjectsOutput) { op := &request.Operation{ Name: opBatchGetProjects, @@ -226,7 +226,7 @@ func (c *CodeBuild) BatchGetProjectsRequest(input *BatchGetProjectsInput) (req * // * ErrCodeInvalidInputException "InvalidInputException" // The input value that was provided is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjects +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjects func (c *CodeBuild) BatchGetProjects(input *BatchGetProjectsInput) (*BatchGetProjectsOutput, error) { req, out := c.BatchGetProjectsRequest(input) return out, req.Send() @@ -273,7 +273,7 @@ const opCreateProject = "CreateProject" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject func (c *CodeBuild) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) { op := &request.Operation{ Name: opCreateProject, @@ -312,7 +312,7 @@ func (c *CodeBuild) CreateProjectRequest(input *CreateProjectInput) (req *reques // * ErrCodeAccountLimitExceededException "AccountLimitExceededException" // An AWS service limit was exceeded for the calling AWS account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject func (c *CodeBuild) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) { req, out := c.CreateProjectRequest(input) return out, req.Send() @@ -359,7 +359,7 @@ const opCreateWebhook = "CreateWebhook" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook func (c *CodeBuild) CreateWebhookRequest(input *CreateWebhookInput) (req *request.Request, output *CreateWebhookOutput) { op := &request.Operation{ Name: opCreateWebhook, @@ -412,7 +412,7 @@ func (c *CodeBuild) CreateWebhookRequest(input *CreateWebhookInput) (req *reques // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified AWS resource cannot be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook func (c *CodeBuild) CreateWebhook(input *CreateWebhookInput) (*CreateWebhookOutput, error) { req, out := c.CreateWebhookRequest(input) return out, req.Send() @@ -459,7 +459,7 @@ const opDeleteProject = "DeleteProject" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProject func (c *CodeBuild) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) { op := &request.Operation{ Name: opDeleteProject, @@ -491,7 +491,7 @@ func (c *CodeBuild) DeleteProjectRequest(input *DeleteProjectInput) (req *reques // * ErrCodeInvalidInputException "InvalidInputException" // The input value that was provided is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProject func (c *CodeBuild) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) { req, out := c.DeleteProjectRequest(input) return out, req.Send() @@ -538,7 +538,7 @@ const opDeleteWebhook = "DeleteWebhook" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhook +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhook func (c *CodeBuild) DeleteWebhookRequest(input *DeleteWebhookInput) (req *request.Request, output *DeleteWebhookOutput) { op := &request.Operation{ Name: opDeleteWebhook, @@ -578,7 +578,7 @@ func (c *CodeBuild) DeleteWebhookRequest(input *DeleteWebhookInput) (req *reques // * ErrCodeOAuthProviderException "OAuthProviderException" // There was a problem with the underlying OAuth provider. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhook +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhook func (c *CodeBuild) DeleteWebhook(input *DeleteWebhookInput) (*DeleteWebhookOutput, error) { req, out := c.DeleteWebhookRequest(input) return out, req.Send() @@ -600,6 +600,88 @@ func (c *CodeBuild) DeleteWebhookWithContext(ctx aws.Context, input *DeleteWebho return out, req.Send() } +const opInvalidateProjectCache = "InvalidateProjectCache" + +// InvalidateProjectCacheRequest generates a "aws/request.Request" representing the +// client's request for the InvalidateProjectCache operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See InvalidateProjectCache for more information on using the InvalidateProjectCache +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the InvalidateProjectCacheRequest method. +// req, resp := client.InvalidateProjectCacheRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCache +func (c *CodeBuild) InvalidateProjectCacheRequest(input *InvalidateProjectCacheInput) (req *request.Request, output *InvalidateProjectCacheOutput) { + op := &request.Operation{ + Name: opInvalidateProjectCache, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &InvalidateProjectCacheInput{} + } + + output = &InvalidateProjectCacheOutput{} + req = c.newRequest(op, input, output) + return +} + +// InvalidateProjectCache API operation for AWS CodeBuild. +// +// Resets the cache for a project. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeBuild's +// API operation InvalidateProjectCache for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidInputException "InvalidInputException" +// The input value that was provided is not valid. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified AWS resource cannot be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCache +func (c *CodeBuild) InvalidateProjectCache(input *InvalidateProjectCacheInput) (*InvalidateProjectCacheOutput, error) { + req, out := c.InvalidateProjectCacheRequest(input) + return out, req.Send() +} + +// InvalidateProjectCacheWithContext is the same as InvalidateProjectCache with the addition of +// the ability to pass a context and additional request options. +// +// See InvalidateProjectCache for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeBuild) InvalidateProjectCacheWithContext(ctx aws.Context, input *InvalidateProjectCacheInput, opts ...request.Option) (*InvalidateProjectCacheOutput, error) { + req, out := c.InvalidateProjectCacheRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListBuilds = "ListBuilds" // ListBuildsRequest generates a "aws/request.Request" representing the @@ -625,7 +707,7 @@ const opListBuilds = "ListBuilds" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuilds +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuilds func (c *CodeBuild) ListBuildsRequest(input *ListBuildsInput) (req *request.Request, output *ListBuildsOutput) { op := &request.Operation{ Name: opListBuilds, @@ -657,7 +739,7 @@ func (c *CodeBuild) ListBuildsRequest(input *ListBuildsInput) (req *request.Requ // * ErrCodeInvalidInputException "InvalidInputException" // The input value that was provided is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuilds +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuilds func (c *CodeBuild) ListBuilds(input *ListBuildsInput) (*ListBuildsOutput, error) { req, out := c.ListBuildsRequest(input) return out, req.Send() @@ -704,7 +786,7 @@ const opListBuildsForProject = "ListBuildsForProject" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProject func (c *CodeBuild) ListBuildsForProjectRequest(input *ListBuildsForProjectInput) (req *request.Request, output *ListBuildsForProjectOutput) { op := &request.Operation{ Name: opListBuildsForProject, @@ -740,7 +822,7 @@ func (c *CodeBuild) ListBuildsForProjectRequest(input *ListBuildsForProjectInput // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified AWS resource cannot be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProject func (c *CodeBuild) ListBuildsForProject(input *ListBuildsForProjectInput) (*ListBuildsForProjectOutput, error) { req, out := c.ListBuildsForProjectRequest(input) return out, req.Send() @@ -787,7 +869,7 @@ const opListCuratedEnvironmentImages = "ListCuratedEnvironmentImages" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImages +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImages func (c *CodeBuild) ListCuratedEnvironmentImagesRequest(input *ListCuratedEnvironmentImagesInput) (req *request.Request, output *ListCuratedEnvironmentImagesOutput) { op := &request.Operation{ Name: opListCuratedEnvironmentImages, @@ -814,7 +896,7 @@ func (c *CodeBuild) ListCuratedEnvironmentImagesRequest(input *ListCuratedEnviro // // See the AWS API reference guide for AWS CodeBuild's // API operation ListCuratedEnvironmentImages for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImages +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImages func (c *CodeBuild) ListCuratedEnvironmentImages(input *ListCuratedEnvironmentImagesInput) (*ListCuratedEnvironmentImagesOutput, error) { req, out := c.ListCuratedEnvironmentImagesRequest(input) return out, req.Send() @@ -861,7 +943,7 @@ const opListProjects = "ListProjects" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjects +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjects func (c *CodeBuild) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) { op := &request.Operation{ Name: opListProjects, @@ -894,7 +976,7 @@ func (c *CodeBuild) ListProjectsRequest(input *ListProjectsInput) (req *request. // * ErrCodeInvalidInputException "InvalidInputException" // The input value that was provided is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjects +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjects func (c *CodeBuild) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) { req, out := c.ListProjectsRequest(input) return out, req.Send() @@ -941,7 +1023,7 @@ const opStartBuild = "StartBuild" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild func (c *CodeBuild) StartBuildRequest(input *StartBuildInput) (req *request.Request, output *StartBuildOutput) { op := &request.Operation{ Name: opStartBuild, @@ -979,7 +1061,7 @@ func (c *CodeBuild) StartBuildRequest(input *StartBuildInput) (req *request.Requ // * ErrCodeAccountLimitExceededException "AccountLimitExceededException" // An AWS service limit was exceeded for the calling AWS account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild func (c *CodeBuild) StartBuild(input *StartBuildInput) (*StartBuildOutput, error) { req, out := c.StartBuildRequest(input) return out, req.Send() @@ -1026,7 +1108,7 @@ const opStopBuild = "StopBuild" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild func (c *CodeBuild) StopBuildRequest(input *StopBuildInput) (req *request.Request, output *StopBuildOutput) { op := &request.Operation{ Name: opStopBuild, @@ -1061,7 +1143,7 @@ func (c *CodeBuild) StopBuildRequest(input *StopBuildInput) (req *request.Reques // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified AWS resource cannot be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild func (c *CodeBuild) StopBuild(input *StopBuildInput) (*StopBuildOutput, error) { req, out := c.StopBuildRequest(input) return out, req.Send() @@ -1108,7 +1190,7 @@ const opUpdateProject = "UpdateProject" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject func (c *CodeBuild) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput) { op := &request.Operation{ Name: opUpdateProject, @@ -1143,7 +1225,7 @@ func (c *CodeBuild) UpdateProjectRequest(input *UpdateProjectInput) (req *reques // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified AWS resource cannot be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject func (c *CodeBuild) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error) { req, out := c.UpdateProjectRequest(input) return out, req.Send() @@ -1165,7 +1247,7 @@ func (c *CodeBuild) UpdateProjectWithContext(ctx aws.Context, input *UpdateProje return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuildsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuildsInput type BatchDeleteBuildsInput struct { _ struct{} `type:"structure"` @@ -1207,7 +1289,7 @@ func (s *BatchDeleteBuildsInput) SetIds(v []*string) *BatchDeleteBuildsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuildsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuildsOutput type BatchDeleteBuildsOutput struct { _ struct{} `type:"structure"` @@ -1240,7 +1322,7 @@ func (s *BatchDeleteBuildsOutput) SetBuildsNotDeleted(v []*BuildNotDeleted) *Bat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuildsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuildsInput type BatchGetBuildsInput struct { _ struct{} `type:"structure"` @@ -1282,7 +1364,7 @@ func (s *BatchGetBuildsInput) SetIds(v []*string) *BatchGetBuildsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuildsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuildsOutput type BatchGetBuildsOutput struct { _ struct{} `type:"structure"` @@ -1315,7 +1397,7 @@ func (s *BatchGetBuildsOutput) SetBuildsNotFound(v []*string) *BatchGetBuildsOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjectsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjectsInput type BatchGetProjectsInput struct { _ struct{} `type:"structure"` @@ -1357,7 +1439,7 @@ func (s *BatchGetProjectsInput) SetNames(v []*string) *BatchGetProjectsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjectsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjectsOutput type BatchGetProjectsOutput struct { _ struct{} `type:"structure"` @@ -1391,7 +1473,7 @@ func (s *BatchGetProjectsOutput) SetProjectsNotFound(v []*string) *BatchGetProje } // Information about a build. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Build +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Build type Build struct { _ struct{} `type:"structure"` @@ -1419,6 +1501,9 @@ type Build struct { // * TIMED_OUT: The build timed out. BuildStatus *string `locationName:"buildStatus" type:"string" enum:"StatusType"` + // Information about the cache for the build. + Cache *ProjectCache `locationName:"cache" type:"structure"` + // The current build phase. CurrentPhase *string `locationName:"currentPhase" type:"string"` @@ -1446,6 +1531,9 @@ type Build struct { // Information about the build's logs in Amazon CloudWatch Logs. Logs *LogsLocation `locationName:"logs" type:"structure"` + // Describes a network interface. + NetworkInterface *NetworkInterface `locationName:"networkInterface" type:"structure"` + // Information about all previous build phases that are completed and information // about any current build phase that is not yet complete. Phases []*BuildPhase `locationName:"phases" type:"list"` @@ -1465,6 +1553,12 @@ type Build struct { // How long, in minutes, for AWS CodeBuild to wait before timing out this build // if it does not get marked as completed. TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" type:"integer"` + + // If your AWS CodeBuild project accesses resources in an Amazon VPC, you provide + // this parameter that identifies the VPC ID and the list of security group + // IDs and subnet IDs. The security groups and subnets must belong to the same + // VPC. You must provide at least one security group and one subnet ID. + VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"` } // String returns the string representation @@ -1501,6 +1595,12 @@ func (s *Build) SetBuildStatus(v string) *Build { return s } +// SetCache sets the Cache field's value. +func (s *Build) SetCache(v *ProjectCache) *Build { + s.Cache = v + return s +} + // SetCurrentPhase sets the CurrentPhase field's value. func (s *Build) SetCurrentPhase(v string) *Build { s.CurrentPhase = &v @@ -1537,6 +1637,12 @@ func (s *Build) SetLogs(v *LogsLocation) *Build { return s } +// SetNetworkInterface sets the NetworkInterface field's value. +func (s *Build) SetNetworkInterface(v *NetworkInterface) *Build { + s.NetworkInterface = v + return s +} + // SetPhases sets the Phases field's value. func (s *Build) SetPhases(v []*BuildPhase) *Build { s.Phases = v @@ -1573,8 +1679,14 @@ func (s *Build) SetTimeoutInMinutes(v int64) *Build { return s } +// SetVpcConfig sets the VpcConfig field's value. +func (s *Build) SetVpcConfig(v *VpcConfig) *Build { + s.VpcConfig = v + return s +} + // Information about build output artifacts. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildArtifacts +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildArtifacts type BuildArtifacts struct { _ struct{} `type:"structure"` @@ -1629,7 +1741,7 @@ func (s *BuildArtifacts) SetSha256sum(v string) *BuildArtifacts { } // Information about a build that could not be successfully deleted. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildNotDeleted +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildNotDeleted type BuildNotDeleted struct { _ struct{} `type:"structure"` @@ -1663,7 +1775,7 @@ func (s *BuildNotDeleted) SetStatusCode(v string) *BuildNotDeleted { } // Information about a stage for a build. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildPhase +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildPhase type BuildPhase struct { _ struct{} `type:"structure"` @@ -1767,7 +1879,7 @@ func (s *BuildPhase) SetStartTime(v time.Time) *BuildPhase { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectInput type CreateProjectInput struct { _ struct{} `type:"structure"` @@ -1776,6 +1888,14 @@ type CreateProjectInput struct { // Artifacts is a required field Artifacts *ProjectArtifacts `locationName:"artifacts" type:"structure" required:"true"` + // Set this to true to generate a publicly-accessible URL for your project's + // build badge. + BadgeEnabled *bool `locationName:"badgeEnabled" type:"boolean"` + + // Stores recently used information so that it can be quickly accessed at a + // later time. + Cache *ProjectCache `locationName:"cache" type:"structure"` + // A description that makes the build project easy to identify. Description *string `locationName:"description" type:"string"` @@ -1816,6 +1936,9 @@ type CreateProjectInput struct { // until timing out any build that has not been marked as completed. The default // is 60 minutes. TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"` + + // VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC. + VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"` } // String returns the string representation @@ -1860,6 +1983,11 @@ func (s *CreateProjectInput) Validate() error { invalidParams.AddNested("Artifacts", err.(request.ErrInvalidParams)) } } + if s.Cache != nil { + if err := s.Cache.Validate(); err != nil { + invalidParams.AddNested("Cache", err.(request.ErrInvalidParams)) + } + } if s.Environment != nil { if err := s.Environment.Validate(); err != nil { invalidParams.AddNested("Environment", err.(request.ErrInvalidParams)) @@ -1880,6 +2008,11 @@ func (s *CreateProjectInput) Validate() error { } } } + if s.VpcConfig != nil { + if err := s.VpcConfig.Validate(); err != nil { + invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -1893,6 +2026,18 @@ func (s *CreateProjectInput) SetArtifacts(v *ProjectArtifacts) *CreateProjectInp return s } +// SetBadgeEnabled sets the BadgeEnabled field's value. +func (s *CreateProjectInput) SetBadgeEnabled(v bool) *CreateProjectInput { + s.BadgeEnabled = &v + return s +} + +// SetCache sets the Cache field's value. +func (s *CreateProjectInput) SetCache(v *ProjectCache) *CreateProjectInput { + s.Cache = v + return s +} + // SetDescription sets the Description field's value. func (s *CreateProjectInput) SetDescription(v string) *CreateProjectInput { s.Description = &v @@ -1941,7 +2086,13 @@ func (s *CreateProjectInput) SetTimeoutInMinutes(v int64) *CreateProjectInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectOutput +// SetVpcConfig sets the VpcConfig field's value. +func (s *CreateProjectInput) SetVpcConfig(v *VpcConfig) *CreateProjectInput { + s.VpcConfig = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectOutput type CreateProjectOutput struct { _ struct{} `type:"structure"` @@ -1965,7 +2116,7 @@ func (s *CreateProjectOutput) SetProject(v *Project) *CreateProjectOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookInput type CreateWebhookInput struct { _ struct{} `type:"structure"` @@ -2007,7 +2158,7 @@ func (s *CreateWebhookInput) SetProjectName(v string) *CreateWebhookInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookOutput type CreateWebhookOutput struct { _ struct{} `type:"structure"` @@ -2032,7 +2183,7 @@ func (s *CreateWebhookOutput) SetWebhook(v *Webhook) *CreateWebhookOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProjectInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProjectInput type DeleteProjectInput struct { _ struct{} `type:"structure"` @@ -2074,7 +2225,7 @@ func (s *DeleteProjectInput) SetName(v string) *DeleteProjectInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProjectOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProjectOutput type DeleteProjectOutput struct { _ struct{} `type:"structure"` } @@ -2089,7 +2240,7 @@ func (s DeleteProjectOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookInput type DeleteWebhookInput struct { _ struct{} `type:"structure"` @@ -2131,7 +2282,7 @@ func (s *DeleteWebhookInput) SetProjectName(v string) *DeleteWebhookInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookOutput type DeleteWebhookOutput struct { _ struct{} `type:"structure"` } @@ -2147,7 +2298,7 @@ func (s DeleteWebhookOutput) GoString() string { } // Information about a Docker image that is managed by AWS CodeBuild. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentImage type EnvironmentImage struct { _ struct{} `type:"structure"` @@ -2182,7 +2333,7 @@ func (s *EnvironmentImage) SetName(v string) *EnvironmentImage { // A set of Docker images that are related by programming language and are managed // by AWS CodeBuild. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentLanguage +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentLanguage type EnvironmentLanguage struct { _ struct{} `type:"structure"` @@ -2217,7 +2368,7 @@ func (s *EnvironmentLanguage) SetLanguage(v string) *EnvironmentLanguage { // A set of Docker images that are related by platform and are managed by AWS // CodeBuild. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentPlatform +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentPlatform type EnvironmentPlatform struct { _ struct{} `type:"structure"` @@ -2251,7 +2402,7 @@ func (s *EnvironmentPlatform) SetPlatform(v string) *EnvironmentPlatform { } // Information about an environment variable for a build project or a build. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentVariable +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentVariable type EnvironmentVariable struct { _ struct{} `type:"structure"` @@ -2326,7 +2477,64 @@ func (s *EnvironmentVariable) SetValue(v string) *EnvironmentVariable { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProjectInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheInput +type InvalidateProjectCacheInput struct { + _ struct{} `type:"structure"` + + // The name of the build project that the cache will be reset for. + // + // ProjectName is a required field + ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s InvalidateProjectCacheInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InvalidateProjectCacheInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *InvalidateProjectCacheInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InvalidateProjectCacheInput"} + if s.ProjectName == nil { + invalidParams.Add(request.NewErrParamRequired("ProjectName")) + } + if s.ProjectName != nil && len(*s.ProjectName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProjectName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetProjectName sets the ProjectName field's value. +func (s *InvalidateProjectCacheInput) SetProjectName(v string) *InvalidateProjectCacheInput { + s.ProjectName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheOutput +type InvalidateProjectCacheOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s InvalidateProjectCacheOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InvalidateProjectCacheOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProjectInput type ListBuildsForProjectInput struct { _ struct{} `type:"structure"` @@ -2395,7 +2603,7 @@ func (s *ListBuildsForProjectInput) SetSortOrder(v string) *ListBuildsForProject return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProjectOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProjectOutput type ListBuildsForProjectOutput struct { _ struct{} `type:"structure"` @@ -2432,7 +2640,7 @@ func (s *ListBuildsForProjectOutput) SetNextToken(v string) *ListBuildsForProjec return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsInput type ListBuildsInput struct { _ struct{} `type:"structure"` @@ -2474,7 +2682,7 @@ func (s *ListBuildsInput) SetSortOrder(v string) *ListBuildsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsOutput type ListBuildsOutput struct { _ struct{} `type:"structure"` @@ -2510,7 +2718,7 @@ func (s *ListBuildsOutput) SetNextToken(v string) *ListBuildsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesInput type ListCuratedEnvironmentImagesInput struct { _ struct{} `type:"structure"` } @@ -2525,7 +2733,7 @@ func (s ListCuratedEnvironmentImagesInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesOutput type ListCuratedEnvironmentImagesOutput struct { _ struct{} `type:"structure"` @@ -2550,7 +2758,7 @@ func (s *ListCuratedEnvironmentImagesOutput) SetPlatforms(v []*EnvironmentPlatfo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjectsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjectsInput type ListProjectsInput struct { _ struct{} `type:"structure"` @@ -2627,7 +2835,7 @@ func (s *ListProjectsInput) SetSortOrder(v string) *ListProjectsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjectsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjectsOutput type ListProjectsOutput struct { _ struct{} `type:"structure"` @@ -2665,7 +2873,7 @@ func (s *ListProjectsOutput) SetProjects(v []*string) *ListProjectsOutput { } // Information about build logs in Amazon CloudWatch Logs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/LogsLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/LogsLocation type LogsLocation struct { _ struct{} `type:"structure"` @@ -2707,9 +2915,43 @@ func (s *LogsLocation) SetStreamName(v string) *LogsLocation { return s } +// Describes a network interface. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/NetworkInterface +type NetworkInterface struct { + _ struct{} `type:"structure"` + + // The ID of the network interface. + NetworkInterfaceId *string `locationName:"networkInterfaceId" min:"1" type:"string"` + + // The ID of the subnet. + SubnetId *string `locationName:"subnetId" min:"1" type:"string"` +} + +// String returns the string representation +func (s NetworkInterface) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NetworkInterface) GoString() string { + return s.String() +} + +// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. +func (s *NetworkInterface) SetNetworkInterfaceId(v string) *NetworkInterface { + s.NetworkInterfaceId = &v + return s +} + +// SetSubnetId sets the SubnetId field's value. +func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface { + s.SubnetId = &v + return s +} + // Additional information about a build phase that has an error. You can use // this information to help troubleshoot a failed build. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/PhaseContext +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/PhaseContext type PhaseContext struct { _ struct{} `type:"structure"` @@ -2744,7 +2986,7 @@ func (s *PhaseContext) SetStatusCode(v string) *PhaseContext { } // Information about a build project. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project type Project struct { _ struct{} `type:"structure"` @@ -2754,6 +2996,12 @@ type Project struct { // Information about the build output artifacts for the build project. Artifacts *ProjectArtifacts `locationName:"artifacts" type:"structure"` + // Information about the build badge for the build project. + Badge *ProjectBadge `locationName:"badge" type:"structure"` + + // Information about the cache for the build project. + Cache *ProjectCache `locationName:"cache" type:"structure"` + // When the build project was created, expressed in Unix time format. Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix"` @@ -2796,6 +3044,12 @@ type Project struct { // The default is 60 minutes. TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"` + // If your AWS CodeBuild project accesses resources in an Amazon VPC, you provide + // this parameter that identifies the VPC ID and the list of security group + // IDs and subnet IDs. The security groups and subnets must belong to the same + // VPC. You must provide at least one security group and one subnet ID. + VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"` + // Information about a webhook in GitHub that connects repository events to // a build project in AWS CodeBuild. Webhook *Webhook `locationName:"webhook" type:"structure"` @@ -2823,6 +3077,18 @@ func (s *Project) SetArtifacts(v *ProjectArtifacts) *Project { return s } +// SetBadge sets the Badge field's value. +func (s *Project) SetBadge(v *ProjectBadge) *Project { + s.Badge = v + return s +} + +// SetCache sets the Cache field's value. +func (s *Project) SetCache(v *ProjectCache) *Project { + s.Cache = v + return s +} + // SetCreated sets the Created field's value. func (s *Project) SetCreated(v time.Time) *Project { s.Created = &v @@ -2883,6 +3149,12 @@ func (s *Project) SetTimeoutInMinutes(v int64) *Project { return s } +// SetVpcConfig sets the VpcConfig field's value. +func (s *Project) SetVpcConfig(v *VpcConfig) *Project { + s.VpcConfig = v + return s +} + // SetWebhook sets the Webhook field's value. func (s *Project) SetWebhook(v *Webhook) *Project { s.Webhook = v @@ -2890,7 +3162,7 @@ func (s *Project) SetWebhook(v *Webhook) *Project { } // Information about the build output artifacts for the build project. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectArtifacts +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectArtifacts type ProjectArtifacts struct { _ struct{} `type:"structure"` @@ -3054,8 +3326,101 @@ func (s *ProjectArtifacts) SetType(v string) *ProjectArtifacts { return s } +// Information about the build badge for the build project. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectBadge +type ProjectBadge struct { + _ struct{} `type:"structure"` + + // Set this to true to generate a publicly-accessible URL for your project's + // build badge. + BadgeEnabled *bool `locationName:"badgeEnabled" type:"boolean"` + + // The publicly-accessible URL through which you can access the build badge + // for your project. + BadgeRequestUrl *string `locationName:"badgeRequestUrl" type:"string"` +} + +// String returns the string representation +func (s ProjectBadge) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ProjectBadge) GoString() string { + return s.String() +} + +// SetBadgeEnabled sets the BadgeEnabled field's value. +func (s *ProjectBadge) SetBadgeEnabled(v bool) *ProjectBadge { + s.BadgeEnabled = &v + return s +} + +// SetBadgeRequestUrl sets the BadgeRequestUrl field's value. +func (s *ProjectBadge) SetBadgeRequestUrl(v string) *ProjectBadge { + s.BadgeRequestUrl = &v + return s +} + +// Information about the cache for the build project. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectCache +type ProjectCache struct { + _ struct{} `type:"structure"` + + // Information about the cache location, as follows: + // + // * NO_CACHE: This value will be ignored. + // + // * S3: This is the S3 bucket name/prefix. + Location *string `locationName:"location" type:"string"` + + // The type of cache used by the build project. Valid values include: + // + // * NO_CACHE: The build project will not use any cache. + // + // * S3: The build project will read and write from/to S3. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"CacheType"` +} + +// String returns the string representation +func (s ProjectCache) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ProjectCache) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ProjectCache) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ProjectCache"} + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLocation sets the Location field's value. +func (s *ProjectCache) SetLocation(v string) *ProjectCache { + s.Location = &v + return s +} + +// SetType sets the Type field's value. +func (s *ProjectCache) SetType(v string) *ProjectCache { + s.Type = &v + return s +} + // Information about the build environment of the build project. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectEnvironment type ProjectEnvironment struct { _ struct{} `type:"structure"` @@ -3176,7 +3541,7 @@ func (s *ProjectEnvironment) SetType(v string) *ProjectEnvironment { } // Information about the build input source code for the build project. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectSource +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectSource type ProjectSource struct { _ struct{} `type:"structure"` @@ -3312,7 +3677,7 @@ func (s *ProjectSource) SetType(v string) *ProjectSource { // This information is for the AWS CodeBuild console's use only. Your code should // not get or set this information directly (unless the build project's source // type value is BITBUCKET or GITHUB). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/SourceAuth +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/SourceAuth type SourceAuth struct { _ struct{} `type:"structure"` @@ -3361,7 +3726,7 @@ func (s *SourceAuth) SetType(v string) *SourceAuth { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildInput type StartBuildInput struct { _ struct{} `type:"structure"` @@ -3488,7 +3853,7 @@ func (s *StartBuildInput) SetTimeoutInMinutesOverride(v int64) *StartBuildInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildOutput type StartBuildOutput struct { _ struct{} `type:"structure"` @@ -3512,7 +3877,7 @@ func (s *StartBuildOutput) SetBuild(v *Build) *StartBuildOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildInput type StopBuildInput struct { _ struct{} `type:"structure"` @@ -3554,7 +3919,7 @@ func (s *StopBuildInput) SetId(v string) *StopBuildInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildOutput type StopBuildOutput struct { _ struct{} `type:"structure"` @@ -3581,7 +3946,7 @@ func (s *StopBuildOutput) SetBuild(v *Build) *StopBuildOutput { // A tag, consisting of a key and a value. // // This tag is available for use by AWS services that support tags in AWS CodeBuild. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Tag type Tag struct { _ struct{} `type:"structure"` @@ -3630,7 +3995,7 @@ func (s *Tag) SetValue(v string) *Tag { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectInput type UpdateProjectInput struct { _ struct{} `type:"structure"` @@ -3638,6 +4003,14 @@ type UpdateProjectInput struct { // project. Artifacts *ProjectArtifacts `locationName:"artifacts" type:"structure"` + // Set this to true to generate a publicly-accessible URL for your project's + // build badge. + BadgeEnabled *bool `locationName:"badgeEnabled" type:"boolean"` + + // Stores recently used information so that it can be quickly accessed at a + // later time. + Cache *ProjectCache `locationName:"cache" type:"structure"` + // A new or replacement description of the build project. Description *string `locationName:"description" type:"string"` @@ -3676,6 +4049,9 @@ type UpdateProjectInput struct { // The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild // to wait before timing out any related build that did not get marked as completed. TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"` + + // VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC. + VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"` } // String returns the string representation @@ -3711,6 +4087,11 @@ func (s *UpdateProjectInput) Validate() error { invalidParams.AddNested("Artifacts", err.(request.ErrInvalidParams)) } } + if s.Cache != nil { + if err := s.Cache.Validate(); err != nil { + invalidParams.AddNested("Cache", err.(request.ErrInvalidParams)) + } + } if s.Environment != nil { if err := s.Environment.Validate(); err != nil { invalidParams.AddNested("Environment", err.(request.ErrInvalidParams)) @@ -3731,6 +4112,11 @@ func (s *UpdateProjectInput) Validate() error { } } } + if s.VpcConfig != nil { + if err := s.VpcConfig.Validate(); err != nil { + invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -3744,6 +4130,18 @@ func (s *UpdateProjectInput) SetArtifacts(v *ProjectArtifacts) *UpdateProjectInp return s } +// SetBadgeEnabled sets the BadgeEnabled field's value. +func (s *UpdateProjectInput) SetBadgeEnabled(v bool) *UpdateProjectInput { + s.BadgeEnabled = &v + return s +} + +// SetCache sets the Cache field's value. +func (s *UpdateProjectInput) SetCache(v *ProjectCache) *UpdateProjectInput { + s.Cache = v + return s +} + // SetDescription sets the Description field's value. func (s *UpdateProjectInput) SetDescription(v string) *UpdateProjectInput { s.Description = &v @@ -3792,7 +4190,13 @@ func (s *UpdateProjectInput) SetTimeoutInMinutes(v int64) *UpdateProjectInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectOutput +// SetVpcConfig sets the VpcConfig field's value. +func (s *UpdateProjectInput) SetVpcConfig(v *VpcConfig) *UpdateProjectInput { + s.VpcConfig = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectOutput type UpdateProjectOutput struct { _ struct{} `type:"structure"` @@ -3816,9 +4220,68 @@ func (s *UpdateProjectOutput) SetProject(v *Project) *UpdateProjectOutput { return s } +// If your AWS CodeBuild project accesses resources in an Amazon VPC, you provide +// this parameter that identifies the VPC ID and the list of security group +// IDs and subnet IDs. The security groups and subnets must belong to the same +// VPC. You must provide at least one security group and one subnet ID. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/VpcConfig +type VpcConfig struct { + _ struct{} `type:"structure"` + + // A list of one or more security groups IDs in your Amazon VPC. + SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` + + // A list of one or more subnet IDs in your Amazon VPC. + Subnets []*string `locationName:"subnets" type:"list"` + + // The ID of the Amazon VPC. + VpcId *string `locationName:"vpcId" min:"1" type:"string"` +} + +// String returns the string representation +func (s VpcConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VpcConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *VpcConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VpcConfig"} + if s.VpcId != nil && len(*s.VpcId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VpcId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSecurityGroupIds sets the SecurityGroupIds field's value. +func (s *VpcConfig) SetSecurityGroupIds(v []*string) *VpcConfig { + s.SecurityGroupIds = v + return s +} + +// SetSubnets sets the Subnets field's value. +func (s *VpcConfig) SetSubnets(v []*string) *VpcConfig { + s.Subnets = v + return s +} + +// SetVpcId sets the VpcId field's value. +func (s *VpcConfig) SetVpcId(v string) *VpcConfig { + s.VpcId = &v + return s +} + // Information about a webhook in GitHub that connects repository events to // a build project in AWS CodeBuild. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Webhook +// See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Webhook type Webhook struct { _ struct{} `type:"structure"` @@ -3901,6 +4364,14 @@ const ( BuildPhaseTypeCompleted = "COMPLETED" ) +const ( + // CacheTypeNoCache is a CacheType enum value + CacheTypeNoCache = "NO_CACHE" + + // CacheTypeS3 is a CacheType enum value + CacheTypeS3 = "S3" +) + const ( // ComputeTypeBuildGeneral1Small is a ComputeType enum value ComputeTypeBuildGeneral1Small = "BUILD_GENERAL1_SMALL" diff --git a/vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go b/vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go index 3799fa9fd5e..a97e4c7e86a 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go @@ -38,7 +38,7 @@ const opBatchGetRepositories = "BatchGetRepositories" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories func (c *CodeCommit) BatchGetRepositoriesRequest(input *BatchGetRepositoriesInput) (req *request.Request, output *BatchGetRepositoriesOutput) { op := &request.Operation{ Name: opBatchGetRepositories, @@ -102,7 +102,7 @@ func (c *CodeCommit) BatchGetRepositoriesRequest(input *BatchGetRepositoriesInpu // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories func (c *CodeCommit) BatchGetRepositories(input *BatchGetRepositoriesInput) (*BatchGetRepositoriesOutput, error) { req, out := c.BatchGetRepositoriesRequest(input) return out, req.Send() @@ -149,7 +149,7 @@ const opCreateBranch = "CreateBranch" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch func (c *CodeCommit) CreateBranchRequest(input *CreateBranchInput) (req *request.Request, output *CreateBranchOutput) { op := &request.Operation{ Name: opCreateBranch, @@ -203,7 +203,7 @@ func (c *CodeCommit) CreateBranchRequest(input *CreateBranchInput) (req *request // The specified branch name already exists. // // * ErrCodeInvalidBranchNameException "InvalidBranchNameException" -// The specified branch name is not valid. +// The specified reference name is not valid. // // * ErrCodeCommitIdRequiredException "CommitIdRequiredException" // A commit ID was not specified. @@ -230,7 +230,7 @@ func (c *CodeCommit) CreateBranchRequest(input *CreateBranchInput) (req *request // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch func (c *CodeCommit) CreateBranch(input *CreateBranchInput) (*CreateBranchOutput, error) { req, out := c.CreateBranchRequest(input) return out, req.Send() @@ -252,6 +252,183 @@ func (c *CodeCommit) CreateBranchWithContext(ctx aws.Context, input *CreateBranc return out, req.Send() } +const opCreatePullRequest = "CreatePullRequest" + +// CreatePullRequestRequest generates a "aws/request.Request" representing the +// client's request for the CreatePullRequest operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreatePullRequest for more information on using the CreatePullRequest +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreatePullRequestRequest method. +// req, resp := client.CreatePullRequestRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequest +func (c *CodeCommit) CreatePullRequestRequest(input *CreatePullRequestInput) (req *request.Request, output *CreatePullRequestOutput) { + op := &request.Operation{ + Name: opCreatePullRequest, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreatePullRequestInput{} + } + + output = &CreatePullRequestOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreatePullRequest API operation for AWS CodeCommit. +// +// Creates a pull request in the specified repository. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation CreatePullRequest for usage and error information. +// +// Returned Error Codes: +// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" +// A repository name is required but was not specified. +// +// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" +// At least one specified repository name is not valid. +// +// This exception only occurs when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. +// +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. +// +// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" +// An encryption integrity check failed. +// +// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" +// An encryption key could not be accessed. +// +// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" +// The encryption key is disabled. +// +// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" +// No encryption key was found. +// +// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" +// The encryption key is not available. +// +// * ErrCodeClientRequestTokenRequiredException "ClientRequestTokenRequiredException" +// A client request token is required. A client request token is an unique, +// client-generated idempotency token that when provided in a request, ensures +// the request cannot be repeated with a changed parameter. If a request is +// received with the same parameters and a token is included, the request will +// return information about the initial request that used that token. +// +// * ErrCodeInvalidClientRequestTokenException "InvalidClientRequestTokenException" +// The client request token is not valid. +// +// * ErrCodeIdempotencyParameterMismatchException "IdempotencyParameterMismatchException" +// The client request token is not valid. Either the token is not in a valid +// format, or the token has been used in a previous request and cannot be re-used. +// +// * ErrCodeReferenceNameRequiredException "ReferenceNameRequiredException" +// A reference name is required, but none was provided. +// +// * ErrCodeInvalidReferenceNameException "InvalidReferenceNameException" +// The specified reference name format is not valid. Reference names must conform +// to the Git references format, for example refs/heads/master. For more information, +// see Git Internals - Git References (https://git-scm.com/book/en/v2/Git-Internals-Git-References) +// or consult your Git documentation. +// +// * ErrCodeReferenceDoesNotExistException "ReferenceDoesNotExistException" +// The specified reference does not exist. You must provide a full commit ID. +// +// * ErrCodeReferenceTypeNotSupportedException "ReferenceTypeNotSupportedException" +// The specified reference is not a supported type. +// +// * ErrCodeTitleRequiredException "TitleRequiredException" +// A pull request title is required. It cannot be empty or null. +// +// * ErrCodeInvalidTitleException "InvalidTitleException" +// The title of the pull request is not valid. Pull request titles cannot exceed +// 100 characters in length. +// +// * ErrCodeInvalidDescriptionException "InvalidDescriptionException" +// The pull request description is not valid. Descriptions are limited to 1,000 +// characters in length. +// +// * ErrCodeTargetsRequiredException "TargetsRequiredException" +// An array of target objects is required. It cannot be empty or null. +// +// * ErrCodeInvalidTargetsException "InvalidTargetsException" +// The targets for the pull request is not valid or not in a valid format. Targets +// are a list of target objects. Each target object must contain the full values +// for the repository name, source branch, and destination branch for a pull +// request. +// +// * ErrCodeTargetRequiredException "TargetRequiredException" +// A pull request target is required. It cannot be empty or null. A pull request +// target must contain the full values for the repository name, source branch, +// and destination branch for the pull request. +// +// * ErrCodeInvalidTargetException "InvalidTargetException" +// The target for the pull request is not valid. A target must contain the full +// values for the repository name, source branch, and destination branch for +// the pull request. +// +// * ErrCodeMultipleRepositoriesInPullRequestException "MultipleRepositoriesInPullRequestException" +// You cannot include more than one repository in a pull request. Make sure +// you have specified only one repository name in your request, and then try +// again. +// +// * ErrCodeMaximumOpenPullRequestsExceededException "MaximumOpenPullRequestsExceededException" +// You cannot create the pull request because the repository has too many open +// pull requests. The maximum number of open pull requests for a repository +// is 1,000. Close one or more open pull requests, and then try again. +// +// * ErrCodeSourceAndDestinationAreSameException "SourceAndDestinationAreSameException" +// The source branch and the destination branch for the pull request are the +// same. You must specify different branches for the source and destination. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequest +func (c *CodeCommit) CreatePullRequest(input *CreatePullRequestInput) (*CreatePullRequestOutput, error) { + req, out := c.CreatePullRequestRequest(input) + return out, req.Send() +} + +// CreatePullRequestWithContext is the same as CreatePullRequest with the addition of +// the ability to pass a context and additional request options. +// +// See CreatePullRequest for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) CreatePullRequestWithContext(ctx aws.Context, input *CreatePullRequestInput, opts ...request.Option) (*CreatePullRequestOutput, error) { + req, out := c.CreatePullRequestRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateRepository = "CreateRepository" // CreateRepositoryRequest generates a "aws/request.Request" representing the @@ -277,7 +454,7 @@ const opCreateRepository = "CreateRepository" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository func (c *CodeCommit) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput) { op := &request.Operation{ Name: opCreateRepository, @@ -340,7 +517,7 @@ func (c *CodeCommit) CreateRepositoryRequest(input *CreateRepositoryInput) (req // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository func (c *CodeCommit) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error) { req, out := c.CreateRepositoryRequest(input) return out, req.Send() @@ -387,7 +564,7 @@ const opDeleteBranch = "DeleteBranch" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranch +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranch func (c *CodeCommit) DeleteBranchRequest(input *DeleteBranchInput) (req *request.Request, output *DeleteBranchOutput) { op := &request.Operation{ Name: opDeleteBranch, @@ -434,7 +611,7 @@ func (c *CodeCommit) DeleteBranchRequest(input *DeleteBranchInput) (req *request // A branch name is required but was not specified. // // * ErrCodeInvalidBranchNameException "InvalidBranchNameException" -// The specified branch name is not valid. +// The specified reference name is not valid. // // * ErrCodeDefaultBranchCannotBeDeletedException "DefaultBranchCannotBeDeletedException" // The specified branch is the default branch for the repository, and cannot @@ -456,7 +633,7 @@ func (c *CodeCommit) DeleteBranchRequest(input *DeleteBranchInput) (req *request // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranch +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranch func (c *CodeCommit) DeleteBranch(input *DeleteBranchInput) (*DeleteBranchOutput, error) { req, out := c.DeleteBranchRequest(input) return out, req.Send() @@ -478,6 +655,97 @@ func (c *CodeCommit) DeleteBranchWithContext(ctx aws.Context, input *DeleteBranc return out, req.Send() } +const opDeleteCommentContent = "DeleteCommentContent" + +// DeleteCommentContentRequest generates a "aws/request.Request" representing the +// client's request for the DeleteCommentContent operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteCommentContent for more information on using the DeleteCommentContent +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteCommentContentRequest method. +// req, resp := client.DeleteCommentContentRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContent +func (c *CodeCommit) DeleteCommentContentRequest(input *DeleteCommentContentInput) (req *request.Request, output *DeleteCommentContentOutput) { + op := &request.Operation{ + Name: opDeleteCommentContent, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteCommentContentInput{} + } + + output = &DeleteCommentContentOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteCommentContent API operation for AWS CodeCommit. +// +// Deletes the content of a comment made on a change, file, or commit in a repository. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation DeleteCommentContent for usage and error information. +// +// Returned Error Codes: +// * ErrCodeCommentDoesNotExistException "CommentDoesNotExistException" +// No comment exists with the provided ID. Verify that you have provided the +// correct ID, and then try again. +// +// * ErrCodeCommentIdRequiredException "CommentIdRequiredException" +// The comment ID is missing or null. A comment ID is required. +// +// * ErrCodeInvalidCommentIdException "InvalidCommentIdException" +// The comment ID is not in a valid format. Make sure that you have provided +// the full comment ID. +// +// * ErrCodeCommentDeletedException "CommentDeletedException" +// This comment has already been deleted. You cannot edit or delete a deleted +// comment. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContent +func (c *CodeCommit) DeleteCommentContent(input *DeleteCommentContentInput) (*DeleteCommentContentOutput, error) { + req, out := c.DeleteCommentContentRequest(input) + return out, req.Send() +} + +// DeleteCommentContentWithContext is the same as DeleteCommentContent with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteCommentContent for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) DeleteCommentContentWithContext(ctx aws.Context, input *DeleteCommentContentInput, opts ...request.Option) (*DeleteCommentContentOutput, error) { + req, out := c.DeleteCommentContentRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteRepository = "DeleteRepository" // DeleteRepositoryRequest generates a "aws/request.Request" representing the @@ -503,7 +771,7 @@ const opDeleteRepository = "DeleteRepository" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository func (c *CodeCommit) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput) { op := &request.Operation{ Name: opDeleteRepository, @@ -562,7 +830,7 @@ func (c *CodeCommit) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository func (c *CodeCommit) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error) { req, out := c.DeleteRepositoryRequest(input) return out, req.Send() @@ -584,81 +852,94 @@ func (c *CodeCommit) DeleteRepositoryWithContext(ctx aws.Context, input *DeleteR return out, req.Send() } -const opGetBlob = "GetBlob" +const opDescribePullRequestEvents = "DescribePullRequestEvents" -// GetBlobRequest generates a "aws/request.Request" representing the -// client's request for the GetBlob operation. The "output" return +// DescribePullRequestEventsRequest generates a "aws/request.Request" representing the +// client's request for the DescribePullRequestEvents operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetBlob for more information on using the GetBlob +// See DescribePullRequestEvents for more information on using the DescribePullRequestEvents // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetBlobRequest method. -// req, resp := client.GetBlobRequest(params) +// // Example sending a request using the DescribePullRequestEventsRequest method. +// req, resp := client.DescribePullRequestEventsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob -func (c *CodeCommit) GetBlobRequest(input *GetBlobInput) (req *request.Request, output *GetBlobOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEvents +func (c *CodeCommit) DescribePullRequestEventsRequest(input *DescribePullRequestEventsInput) (req *request.Request, output *DescribePullRequestEventsOutput) { op := &request.Operation{ - Name: opGetBlob, + Name: opDescribePullRequestEvents, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &GetBlobInput{} + input = &DescribePullRequestEventsInput{} } - output = &GetBlobOutput{} + output = &DescribePullRequestEventsOutput{} req = c.newRequest(op, input, output) return } -// GetBlob API operation for AWS CodeCommit. +// DescribePullRequestEvents API operation for AWS CodeCommit. // -// Returns the base-64 encoded content of an individual blob within a repository. +// Returns information about one or more pull request events. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS CodeCommit's -// API operation GetBlob for usage and error information. +// API operation DescribePullRequestEvents for usage and error information. // // Returned Error Codes: -// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" -// A repository name is required but was not specified. +// * ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException" +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. // -// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" -// At least one specified repository name is not valid. +// * ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException" +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// This exception only occurs when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// * ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException" +// A pull request ID is required, but none was provided. // -// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" -// The specified repository does not exist. +// * ErrCodeInvalidPullRequestEventTypeException "InvalidPullRequestEventTypeException" +// The pull request event type is not valid. // -// * ErrCodeBlobIdRequiredException "BlobIdRequiredException" -// A blob ID is required but was not specified. +// * ErrCodeInvalidActorArnException "InvalidActorArnException" +// The Amazon Resource Name (ARN) is not valid. Make sure that you have provided +// the full ARN for the user who initiated the change for the pull request, +// and then try again. // -// * ErrCodeInvalidBlobIdException "InvalidBlobIdException" -// The specified blob is not valid. +// * ErrCodeActorDoesNotExistException "ActorDoesNotExistException" +// The specified Amazon Resource Name (ARN) does not exist in the AWS account. // -// * ErrCodeBlobIdDoesNotExistException "BlobIdDoesNotExistException" -// The specified blob does not exist. +// * ErrCodeInvalidMaxResultsException "InvalidMaxResultsException" +// The specified number of maximum results is not valid. +// +// * ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException" +// The specified continuation token is not valid. // // * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" // An encryption integrity check failed. @@ -675,94 +956,135 @@ func (c *CodeCommit) GetBlobRequest(input *GetBlobInput) (req *request.Request, // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// * ErrCodeFileTooLargeException "FileTooLargeException" -// The specified file exceeds the file size limit for AWS CodeCommit. For more -// information about limits in AWS CodeCommit, see AWS CodeCommit User Guide -// (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob -func (c *CodeCommit) GetBlob(input *GetBlobInput) (*GetBlobOutput, error) { - req, out := c.GetBlobRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEvents +func (c *CodeCommit) DescribePullRequestEvents(input *DescribePullRequestEventsInput) (*DescribePullRequestEventsOutput, error) { + req, out := c.DescribePullRequestEventsRequest(input) return out, req.Send() } -// GetBlobWithContext is the same as GetBlob with the addition of +// DescribePullRequestEventsWithContext is the same as DescribePullRequestEvents with the addition of // the ability to pass a context and additional request options. // -// See GetBlob for details on how to use this API operation. +// See DescribePullRequestEvents for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) GetBlobWithContext(ctx aws.Context, input *GetBlobInput, opts ...request.Option) (*GetBlobOutput, error) { - req, out := c.GetBlobRequest(input) +func (c *CodeCommit) DescribePullRequestEventsWithContext(ctx aws.Context, input *DescribePullRequestEventsInput, opts ...request.Option) (*DescribePullRequestEventsOutput, error) { + req, out := c.DescribePullRequestEventsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetBranch = "GetBranch" +// DescribePullRequestEventsPages iterates over the pages of a DescribePullRequestEvents operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribePullRequestEvents method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribePullRequestEvents operation. +// pageNum := 0 +// err := client.DescribePullRequestEventsPages(params, +// func(page *DescribePullRequestEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *CodeCommit) DescribePullRequestEventsPages(input *DescribePullRequestEventsInput, fn func(*DescribePullRequestEventsOutput, bool) bool) error { + return c.DescribePullRequestEventsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// GetBranchRequest generates a "aws/request.Request" representing the -// client's request for the GetBranch operation. The "output" return +// DescribePullRequestEventsPagesWithContext same as DescribePullRequestEventsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) DescribePullRequestEventsPagesWithContext(ctx aws.Context, input *DescribePullRequestEventsInput, fn func(*DescribePullRequestEventsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribePullRequestEventsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribePullRequestEventsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*DescribePullRequestEventsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opGetBlob = "GetBlob" + +// GetBlobRequest generates a "aws/request.Request" representing the +// client's request for the GetBlob operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetBranch for more information on using the GetBranch +// See GetBlob for more information on using the GetBlob // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetBranchRequest method. -// req, resp := client.GetBranchRequest(params) +// // Example sending a request using the GetBlobRequest method. +// req, resp := client.GetBlobRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch -func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) (req *request.Request, output *GetBranchOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob +func (c *CodeCommit) GetBlobRequest(input *GetBlobInput) (req *request.Request, output *GetBlobOutput) { op := &request.Operation{ - Name: opGetBranch, + Name: opGetBlob, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetBranchInput{} + input = &GetBlobInput{} } - output = &GetBranchOutput{} + output = &GetBlobOutput{} req = c.newRequest(op, input, output) return } -// GetBranch API operation for AWS CodeCommit. +// GetBlob API operation for AWS CodeCommit. // -// Returns information about a repository branch, including its name and the -// last commit ID. +// Returns the base-64 encoded content of an individual blob within a repository. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS CodeCommit's -// API operation GetBranch for usage and error information. +// API operation GetBlob for usage and error information. // // Returned Error Codes: // * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" // A repository name is required but was not specified. // -// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" -// The specified repository does not exist. -// // * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" // At least one specified repository name is not valid. // @@ -770,14 +1092,17 @@ func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) (req *request.Reque // Other exceptions occur when a required repository parameter is missing, or // when a specified repository does not exist. // -// * ErrCodeBranchNameRequiredException "BranchNameRequiredException" -// A branch name is required but was not specified. +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. // -// * ErrCodeInvalidBranchNameException "InvalidBranchNameException" -// The specified branch name is not valid. +// * ErrCodeBlobIdRequiredException "BlobIdRequiredException" +// A blob ID is required but was not specified. // -// * ErrCodeBranchDoesNotExistException "BranchDoesNotExistException" -// The specified branch does not exist. +// * ErrCodeInvalidBlobIdException "InvalidBlobIdException" +// The specified blob is not valid. +// +// * ErrCodeBlobIdDoesNotExistException "BlobIdDoesNotExistException" +// The specified blob does not exist. // // * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" // An encryption integrity check failed. @@ -794,86 +1119,94 @@ func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) (req *request.Reque // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch -func (c *CodeCommit) GetBranch(input *GetBranchInput) (*GetBranchOutput, error) { - req, out := c.GetBranchRequest(input) +// * ErrCodeFileTooLargeException "FileTooLargeException" +// The specified file exceeds the file size limit for AWS CodeCommit. For more +// information about limits in AWS CodeCommit, see AWS CodeCommit User Guide +// (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob +func (c *CodeCommit) GetBlob(input *GetBlobInput) (*GetBlobOutput, error) { + req, out := c.GetBlobRequest(input) return out, req.Send() } -// GetBranchWithContext is the same as GetBranch with the addition of +// GetBlobWithContext is the same as GetBlob with the addition of // the ability to pass a context and additional request options. // -// See GetBranch for details on how to use this API operation. +// See GetBlob for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) GetBranchWithContext(ctx aws.Context, input *GetBranchInput, opts ...request.Option) (*GetBranchOutput, error) { - req, out := c.GetBranchRequest(input) +func (c *CodeCommit) GetBlobWithContext(ctx aws.Context, input *GetBlobInput, opts ...request.Option) (*GetBlobOutput, error) { + req, out := c.GetBlobRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetCommit = "GetCommit" +const opGetBranch = "GetBranch" -// GetCommitRequest generates a "aws/request.Request" representing the -// client's request for the GetCommit operation. The "output" return +// GetBranchRequest generates a "aws/request.Request" representing the +// client's request for the GetBranch operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetCommit for more information on using the GetCommit +// See GetBranch for more information on using the GetBranch // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetCommitRequest method. -// req, resp := client.GetCommitRequest(params) +// // Example sending a request using the GetBranchRequest method. +// req, resp := client.GetBranchRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit -func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) (req *request.Request, output *GetCommitOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch +func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) (req *request.Request, output *GetBranchOutput) { op := &request.Operation{ - Name: opGetCommit, + Name: opGetBranch, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetCommitInput{} + input = &GetBranchInput{} } - output = &GetCommitOutput{} + output = &GetBranchOutput{} req = c.newRequest(op, input, output) return } -// GetCommit API operation for AWS CodeCommit. +// GetBranch API operation for AWS CodeCommit. // -// Returns information about a commit, including commit message and committer -// information. +// Returns information about a repository branch, including its name and the +// last commit ID. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS CodeCommit's -// API operation GetCommit for usage and error information. +// API operation GetBranch for usage and error information. // // Returned Error Codes: // * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" // A repository name is required but was not specified. // +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. +// // * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" // At least one specified repository name is not valid. // @@ -881,17 +1214,14 @@ func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) (req *request.Reque // Other exceptions occur when a required repository parameter is missing, or // when a specified repository does not exist. // -// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" -// The specified repository does not exist. -// -// * ErrCodeCommitIdRequiredException "CommitIdRequiredException" -// A commit ID was not specified. +// * ErrCodeBranchNameRequiredException "BranchNameRequiredException" +// A branch name is required but was not specified. // -// * ErrCodeInvalidCommitIdException "InvalidCommitIdException" -// The specified commit ID is not valid. +// * ErrCodeInvalidBranchNameException "InvalidBranchNameException" +// The specified reference name is not valid. // -// * ErrCodeCommitIdDoesNotExistException "CommitIdDoesNotExistException" -// The specified commit ID does not exist. +// * ErrCodeBranchDoesNotExistException "BranchDoesNotExistException" +// The specified branch does not exist. // // * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" // An encryption integrity check failed. @@ -908,88 +1238,177 @@ func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) (req *request.Reque // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit -func (c *CodeCommit) GetCommit(input *GetCommitInput) (*GetCommitOutput, error) { - req, out := c.GetCommitRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch +func (c *CodeCommit) GetBranch(input *GetBranchInput) (*GetBranchOutput, error) { + req, out := c.GetBranchRequest(input) return out, req.Send() } -// GetCommitWithContext is the same as GetCommit with the addition of +// GetBranchWithContext is the same as GetBranch with the addition of // the ability to pass a context and additional request options. // -// See GetCommit for details on how to use this API operation. +// See GetBranch for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) GetCommitWithContext(ctx aws.Context, input *GetCommitInput, opts ...request.Option) (*GetCommitOutput, error) { - req, out := c.GetCommitRequest(input) +func (c *CodeCommit) GetBranchWithContext(ctx aws.Context, input *GetBranchInput, opts ...request.Option) (*GetBranchOutput, error) { + req, out := c.GetBranchRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetDifferences = "GetDifferences" +const opGetComment = "GetComment" -// GetDifferencesRequest generates a "aws/request.Request" representing the -// client's request for the GetDifferences operation. The "output" return +// GetCommentRequest generates a "aws/request.Request" representing the +// client's request for the GetComment operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetDifferences for more information on using the GetDifferences +// See GetComment for more information on using the GetComment // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetDifferencesRequest method. -// req, resp := client.GetDifferencesRequest(params) +// // Example sending a request using the GetCommentRequest method. +// req, resp := client.GetCommentRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences -func (c *CodeCommit) GetDifferencesRequest(input *GetDifferencesInput) (req *request.Request, output *GetDifferencesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetComment +func (c *CodeCommit) GetCommentRequest(input *GetCommentInput) (req *request.Request, output *GetCommentOutput) { op := &request.Operation{ - Name: opGetDifferences, + Name: opGetComment, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetCommentInput{} + } + + output = &GetCommentOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetComment API operation for AWS CodeCommit. +// +// Returns the content of a comment made on a change, file, or commit in a repository. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation GetComment for usage and error information. +// +// Returned Error Codes: +// * ErrCodeCommentDoesNotExistException "CommentDoesNotExistException" +// No comment exists with the provided ID. Verify that you have provided the +// correct ID, and then try again. +// +// * ErrCodeCommentIdRequiredException "CommentIdRequiredException" +// The comment ID is missing or null. A comment ID is required. +// +// * ErrCodeInvalidCommentIdException "InvalidCommentIdException" +// The comment ID is not in a valid format. Make sure that you have provided +// the full comment ID. +// +// * ErrCodeCommentDeletedException "CommentDeletedException" +// This comment has already been deleted. You cannot edit or delete a deleted +// comment. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetComment +func (c *CodeCommit) GetComment(input *GetCommentInput) (*GetCommentOutput, error) { + req, out := c.GetCommentRequest(input) + return out, req.Send() +} + +// GetCommentWithContext is the same as GetComment with the addition of +// the ability to pass a context and additional request options. +// +// See GetComment for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) GetCommentWithContext(ctx aws.Context, input *GetCommentInput, opts ...request.Option) (*GetCommentOutput, error) { + req, out := c.GetCommentRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetCommentsForComparedCommit = "GetCommentsForComparedCommit" + +// GetCommentsForComparedCommitRequest generates a "aws/request.Request" representing the +// client's request for the GetCommentsForComparedCommit operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetCommentsForComparedCommit for more information on using the GetCommentsForComparedCommit +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetCommentsForComparedCommitRequest method. +// req, resp := client.GetCommentsForComparedCommitRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommit +func (c *CodeCommit) GetCommentsForComparedCommitRequest(input *GetCommentsForComparedCommitInput) (req *request.Request, output *GetCommentsForComparedCommitOutput) { + op := &request.Operation{ + Name: opGetCommentsForComparedCommit, HTTPMethod: "POST", HTTPPath: "/", Paginator: &request.Paginator{ - InputTokens: []string{"NextToken"}, - OutputTokens: []string{"NextToken"}, - LimitToken: "MaxResults", + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", TruncationToken: "", }, } if input == nil { - input = &GetDifferencesInput{} + input = &GetCommentsForComparedCommitInput{} } - output = &GetDifferencesOutput{} + output = &GetCommentsForComparedCommitOutput{} req = c.newRequest(op, input, output) return } -// GetDifferences API operation for AWS CodeCommit. +// GetCommentsForComparedCommit API operation for AWS CodeCommit. // -// Returns information about the differences in a valid commit specifier (such -// as a branch, tag, HEAD, commit ID or other fully qualified reference). Results -// can be limited to a specified path. +// Returns information about comments made on the comparison between two commits. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS CodeCommit's -// API operation GetDifferences for usage and error information. +// API operation GetCommentsForComparedCommit for usage and error information. // // Returned Error Codes: // * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" @@ -1005,30 +1424,21 @@ func (c *CodeCommit) GetDifferencesRequest(input *GetDifferencesInput) (req *req // Other exceptions occur when a required repository parameter is missing, or // when a specified repository does not exist. // -// * ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException" -// The specified continuation token is not valid. -// -// * ErrCodeInvalidMaxResultsException "InvalidMaxResultsException" -// The specified number of maximum results is not valid. +// * ErrCodeCommitIdRequiredException "CommitIdRequiredException" +// A commit ID was not specified. // // * ErrCodeInvalidCommitIdException "InvalidCommitIdException" // The specified commit ID is not valid. // -// * ErrCodeCommitRequiredException "CommitRequiredException" -// A commit was not specified. -// -// * ErrCodeInvalidCommitException "InvalidCommitException" -// The specified commit is not valid. -// // * ErrCodeCommitDoesNotExistException "CommitDoesNotExistException" // The specified commit does not exist or no commit was specified, and the specified // repository has no default branch. // -// * ErrCodeInvalidPathException "InvalidPathException" -// The specified path is not valid. +// * ErrCodeInvalidMaxResultsException "InvalidMaxResultsException" +// The specified number of maximum results is not valid. // -// * ErrCodePathDoesNotExistException "PathDoesNotExistException" -// The specified path does not exist. +// * ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException" +// The specified continuation token is not valid. // // * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" // An encryption integrity check failed. @@ -1045,65 +1455,65 @@ func (c *CodeCommit) GetDifferencesRequest(input *GetDifferencesInput) (req *req // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences -func (c *CodeCommit) GetDifferences(input *GetDifferencesInput) (*GetDifferencesOutput, error) { - req, out := c.GetDifferencesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommit +func (c *CodeCommit) GetCommentsForComparedCommit(input *GetCommentsForComparedCommitInput) (*GetCommentsForComparedCommitOutput, error) { + req, out := c.GetCommentsForComparedCommitRequest(input) return out, req.Send() } -// GetDifferencesWithContext is the same as GetDifferences with the addition of +// GetCommentsForComparedCommitWithContext is the same as GetCommentsForComparedCommit with the addition of // the ability to pass a context and additional request options. // -// See GetDifferences for details on how to use this API operation. +// See GetCommentsForComparedCommit for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) GetDifferencesWithContext(ctx aws.Context, input *GetDifferencesInput, opts ...request.Option) (*GetDifferencesOutput, error) { - req, out := c.GetDifferencesRequest(input) +func (c *CodeCommit) GetCommentsForComparedCommitWithContext(ctx aws.Context, input *GetCommentsForComparedCommitInput, opts ...request.Option) (*GetCommentsForComparedCommitOutput, error) { + req, out := c.GetCommentsForComparedCommitRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// GetDifferencesPages iterates over the pages of a GetDifferences operation, +// GetCommentsForComparedCommitPages iterates over the pages of a GetCommentsForComparedCommit operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See GetDifferences method for more information on how to use this operation. +// See GetCommentsForComparedCommit method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetDifferences operation. +// // Example iterating over at most 3 pages of a GetCommentsForComparedCommit operation. // pageNum := 0 -// err := client.GetDifferencesPages(params, -// func(page *GetDifferencesOutput, lastPage bool) bool { +// err := client.GetCommentsForComparedCommitPages(params, +// func(page *GetCommentsForComparedCommitOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) // -func (c *CodeCommit) GetDifferencesPages(input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool) error { - return c.GetDifferencesPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *CodeCommit) GetCommentsForComparedCommitPages(input *GetCommentsForComparedCommitInput, fn func(*GetCommentsForComparedCommitOutput, bool) bool) error { + return c.GetCommentsForComparedCommitPagesWithContext(aws.BackgroundContext(), input, fn) } -// GetDifferencesPagesWithContext same as GetDifferencesPages except +// GetCommentsForComparedCommitPagesWithContext same as GetCommentsForComparedCommitPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) GetDifferencesPagesWithContext(ctx aws.Context, input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool, opts ...request.Option) error { +func (c *CodeCommit) GetCommentsForComparedCommitPagesWithContext(ctx aws.Context, input *GetCommentsForComparedCommitInput, fn func(*GetCommentsForComparedCommitOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *GetDifferencesInput + var inCpy *GetCommentsForComparedCommitInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.GetDifferencesRequest(inCpy) + req, _ := c.GetCommentsForComparedCommitRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -1112,71 +1522,83 @@ func (c *CodeCommit) GetDifferencesPagesWithContext(ctx aws.Context, input *GetD cont := true for p.Next() && cont { - cont = fn(p.Page().(*GetDifferencesOutput), !p.HasNextPage()) + cont = fn(p.Page().(*GetCommentsForComparedCommitOutput), !p.HasNextPage()) } return p.Err() } -const opGetRepository = "GetRepository" +const opGetCommentsForPullRequest = "GetCommentsForPullRequest" -// GetRepositoryRequest generates a "aws/request.Request" representing the -// client's request for the GetRepository operation. The "output" return +// GetCommentsForPullRequestRequest generates a "aws/request.Request" representing the +// client's request for the GetCommentsForPullRequest operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetRepository for more information on using the GetRepository +// See GetCommentsForPullRequest for more information on using the GetCommentsForPullRequest // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetRepositoryRequest method. -// req, resp := client.GetRepositoryRequest(params) +// // Example sending a request using the GetCommentsForPullRequestRequest method. +// req, resp := client.GetCommentsForPullRequestRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository -func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) (req *request.Request, output *GetRepositoryOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequest +func (c *CodeCommit) GetCommentsForPullRequestRequest(input *GetCommentsForPullRequestInput) (req *request.Request, output *GetCommentsForPullRequestOutput) { op := &request.Operation{ - Name: opGetRepository, + Name: opGetCommentsForPullRequest, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &GetRepositoryInput{} + input = &GetCommentsForPullRequestInput{} } - output = &GetRepositoryOutput{} + output = &GetCommentsForPullRequestOutput{} req = c.newRequest(op, input, output) return } -// GetRepository API operation for AWS CodeCommit. -// -// Returns information about a repository. +// GetCommentsForPullRequest API operation for AWS CodeCommit. // -// The description field for a repository accepts all HTML characters and all -// valid Unicode characters. Applications that do not HTML-encode the description -// and display it in a web page could expose users to potentially malicious -// code. Make sure that you HTML-encode the description field in any application -// that uses this API to display the repository description on a web page. +// Returns comments made on a pull request. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS CodeCommit's -// API operation GetRepository for usage and error information. +// API operation GetCommentsForPullRequest for usage and error information. // // Returned Error Codes: +// * ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException" +// A pull request ID is required, but none was provided. +// +// * ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException" +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. +// +// * ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException" +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. +// // * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" // A repository name is required but was not specified. // @@ -1190,6 +1612,27 @@ func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) (req *reque // Other exceptions occur when a required repository parameter is missing, or // when a specified repository does not exist. // +// * ErrCodeCommitIdRequiredException "CommitIdRequiredException" +// A commit ID was not specified. +// +// * ErrCodeInvalidCommitIdException "InvalidCommitIdException" +// The specified commit ID is not valid. +// +// * ErrCodeCommitDoesNotExistException "CommitDoesNotExistException" +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. +// +// * ErrCodeInvalidMaxResultsException "InvalidMaxResultsException" +// The specified number of maximum results is not valid. +// +// * ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException" +// The specified continuation token is not valid. +// +// * ErrCodeRepositoryNotAssociatedWithPullRequestException "RepositoryNotAssociatedWithPullRequestException" +// The repository does not contain any pull requests with that pull request +// ID. Check to make sure you have provided the correct repository name for +// the pull request. +// // * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" // An encryption integrity check failed. // @@ -1205,80 +1648,131 @@ func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) (req *reque // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository -func (c *CodeCommit) GetRepository(input *GetRepositoryInput) (*GetRepositoryOutput, error) { - req, out := c.GetRepositoryRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequest +func (c *CodeCommit) GetCommentsForPullRequest(input *GetCommentsForPullRequestInput) (*GetCommentsForPullRequestOutput, error) { + req, out := c.GetCommentsForPullRequestRequest(input) return out, req.Send() } -// GetRepositoryWithContext is the same as GetRepository with the addition of +// GetCommentsForPullRequestWithContext is the same as GetCommentsForPullRequest with the addition of // the ability to pass a context and additional request options. // -// See GetRepository for details on how to use this API operation. +// See GetCommentsForPullRequest for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) GetRepositoryWithContext(ctx aws.Context, input *GetRepositoryInput, opts ...request.Option) (*GetRepositoryOutput, error) { - req, out := c.GetRepositoryRequest(input) +func (c *CodeCommit) GetCommentsForPullRequestWithContext(ctx aws.Context, input *GetCommentsForPullRequestInput, opts ...request.Option) (*GetCommentsForPullRequestOutput, error) { + req, out := c.GetCommentsForPullRequestRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetRepositoryTriggers = "GetRepositoryTriggers" +// GetCommentsForPullRequestPages iterates over the pages of a GetCommentsForPullRequest operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetCommentsForPullRequest method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetCommentsForPullRequest operation. +// pageNum := 0 +// err := client.GetCommentsForPullRequestPages(params, +// func(page *GetCommentsForPullRequestOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *CodeCommit) GetCommentsForPullRequestPages(input *GetCommentsForPullRequestInput, fn func(*GetCommentsForPullRequestOutput, bool) bool) error { + return c.GetCommentsForPullRequestPagesWithContext(aws.BackgroundContext(), input, fn) +} -// GetRepositoryTriggersRequest generates a "aws/request.Request" representing the -// client's request for the GetRepositoryTriggers operation. The "output" return +// GetCommentsForPullRequestPagesWithContext same as GetCommentsForPullRequestPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) GetCommentsForPullRequestPagesWithContext(ctx aws.Context, input *GetCommentsForPullRequestInput, fn func(*GetCommentsForPullRequestOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetCommentsForPullRequestInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetCommentsForPullRequestRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetCommentsForPullRequestOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opGetCommit = "GetCommit" + +// GetCommitRequest generates a "aws/request.Request" representing the +// client's request for the GetCommit operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetRepositoryTriggers for more information on using the GetRepositoryTriggers +// See GetCommit for more information on using the GetCommit // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetRepositoryTriggersRequest method. -// req, resp := client.GetRepositoryTriggersRequest(params) +// // Example sending a request using the GetCommitRequest method. +// req, resp := client.GetCommitRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers -func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersInput) (req *request.Request, output *GetRepositoryTriggersOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit +func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) (req *request.Request, output *GetCommitOutput) { op := &request.Operation{ - Name: opGetRepositoryTriggers, + Name: opGetCommit, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetRepositoryTriggersInput{} + input = &GetCommitInput{} } - output = &GetRepositoryTriggersOutput{} + output = &GetCommitOutput{} req = c.newRequest(op, input, output) return } -// GetRepositoryTriggers API operation for AWS CodeCommit. +// GetCommit API operation for AWS CodeCommit. // -// Gets information about triggers configured for a repository. +// Returns information about a commit, including commit message and committer +// information. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS CodeCommit's -// API operation GetRepositoryTriggers for usage and error information. +// API operation GetCommit for usage and error information. // // Returned Error Codes: // * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" @@ -1294,6 +1788,15 @@ func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersIn // * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" // The specified repository does not exist. // +// * ErrCodeCommitIdRequiredException "CommitIdRequiredException" +// A commit ID was not specified. +// +// * ErrCodeInvalidCommitIdException "InvalidCommitIdException" +// The specified commit ID is not valid. +// +// * ErrCodeCommitIdDoesNotExistException "CommitIdDoesNotExistException" +// The specified commit ID does not exist. +// // * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" // An encryption integrity check failed. // @@ -1309,86 +1812,88 @@ func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersIn // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers -func (c *CodeCommit) GetRepositoryTriggers(input *GetRepositoryTriggersInput) (*GetRepositoryTriggersOutput, error) { - req, out := c.GetRepositoryTriggersRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit +func (c *CodeCommit) GetCommit(input *GetCommitInput) (*GetCommitOutput, error) { + req, out := c.GetCommitRequest(input) return out, req.Send() } -// GetRepositoryTriggersWithContext is the same as GetRepositoryTriggers with the addition of +// GetCommitWithContext is the same as GetCommit with the addition of // the ability to pass a context and additional request options. // -// See GetRepositoryTriggers for details on how to use this API operation. +// See GetCommit for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) GetRepositoryTriggersWithContext(ctx aws.Context, input *GetRepositoryTriggersInput, opts ...request.Option) (*GetRepositoryTriggersOutput, error) { - req, out := c.GetRepositoryTriggersRequest(input) +func (c *CodeCommit) GetCommitWithContext(ctx aws.Context, input *GetCommitInput, opts ...request.Option) (*GetCommitOutput, error) { + req, out := c.GetCommitRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListBranches = "ListBranches" +const opGetDifferences = "GetDifferences" -// ListBranchesRequest generates a "aws/request.Request" representing the -// client's request for the ListBranches operation. The "output" return +// GetDifferencesRequest generates a "aws/request.Request" representing the +// client's request for the GetDifferences operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListBranches for more information on using the ListBranches +// See GetDifferences for more information on using the GetDifferences // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListBranchesRequest method. -// req, resp := client.ListBranchesRequest(params) +// // Example sending a request using the GetDifferencesRequest method. +// req, resp := client.GetDifferencesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches -func (c *CodeCommit) ListBranchesRequest(input *ListBranchesInput) (req *request.Request, output *ListBranchesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences +func (c *CodeCommit) GetDifferencesRequest(input *GetDifferencesInput) (req *request.Request, output *GetDifferencesOutput) { op := &request.Operation{ - Name: opListBranches, + Name: opGetDifferences, HTTPMethod: "POST", HTTPPath: "/", Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "", + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { - input = &ListBranchesInput{} + input = &GetDifferencesInput{} } - output = &ListBranchesOutput{} + output = &GetDifferencesOutput{} req = c.newRequest(op, input, output) return } -// ListBranches API operation for AWS CodeCommit. +// GetDifferences API operation for AWS CodeCommit. // -// Gets information about one or more branches in a repository. +// Returns information about the differences in a valid commit specifier (such +// as a branch, tag, HEAD, commit ID or other fully qualified reference). Results +// can be limited to a specified path. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS CodeCommit's -// API operation ListBranches for usage and error information. +// API operation GetDifferences for usage and error information. // // Returned Error Codes: // * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" @@ -1404,6 +1909,31 @@ func (c *CodeCommit) ListBranchesRequest(input *ListBranchesInput) (req *request // Other exceptions occur when a required repository parameter is missing, or // when a specified repository does not exist. // +// * ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException" +// The specified continuation token is not valid. +// +// * ErrCodeInvalidMaxResultsException "InvalidMaxResultsException" +// The specified number of maximum results is not valid. +// +// * ErrCodeInvalidCommitIdException "InvalidCommitIdException" +// The specified commit ID is not valid. +// +// * ErrCodeCommitRequiredException "CommitRequiredException" +// A commit was not specified. +// +// * ErrCodeInvalidCommitException "InvalidCommitException" +// The specified commit is not valid. +// +// * ErrCodeCommitDoesNotExistException "CommitDoesNotExistException" +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. +// +// * ErrCodeInvalidPathException "InvalidPathException" +// The specified path is not valid. +// +// * ErrCodePathDoesNotExistException "PathDoesNotExistException" +// The specified path does not exist. +// // * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" // An encryption integrity check failed. // @@ -1419,68 +1949,65 @@ func (c *CodeCommit) ListBranchesRequest(input *ListBranchesInput) (req *request // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// * ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException" -// The specified continuation token is not valid. -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches -func (c *CodeCommit) ListBranches(input *ListBranchesInput) (*ListBranchesOutput, error) { - req, out := c.ListBranchesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences +func (c *CodeCommit) GetDifferences(input *GetDifferencesInput) (*GetDifferencesOutput, error) { + req, out := c.GetDifferencesRequest(input) return out, req.Send() } -// ListBranchesWithContext is the same as ListBranches with the addition of +// GetDifferencesWithContext is the same as GetDifferences with the addition of // the ability to pass a context and additional request options. // -// See ListBranches for details on how to use this API operation. +// See GetDifferences for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) ListBranchesWithContext(ctx aws.Context, input *ListBranchesInput, opts ...request.Option) (*ListBranchesOutput, error) { - req, out := c.ListBranchesRequest(input) +func (c *CodeCommit) GetDifferencesWithContext(ctx aws.Context, input *GetDifferencesInput, opts ...request.Option) (*GetDifferencesOutput, error) { + req, out := c.GetDifferencesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListBranchesPages iterates over the pages of a ListBranches operation, +// GetDifferencesPages iterates over the pages of a GetDifferences operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListBranches method for more information on how to use this operation. +// See GetDifferences method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBranches operation. +// // Example iterating over at most 3 pages of a GetDifferences operation. // pageNum := 0 -// err := client.ListBranchesPages(params, -// func(page *ListBranchesOutput, lastPage bool) bool { +// err := client.GetDifferencesPages(params, +// func(page *GetDifferencesOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) // -func (c *CodeCommit) ListBranchesPages(input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool) error { - return c.ListBranchesPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *CodeCommit) GetDifferencesPages(input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool) error { + return c.GetDifferencesPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListBranchesPagesWithContext same as ListBranchesPages except +// GetDifferencesPagesWithContext same as GetDifferencesPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) ListBranchesPagesWithContext(ctx aws.Context, input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool, opts ...request.Option) error { +func (c *CodeCommit) GetDifferencesPagesWithContext(ctx aws.Context, input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListBranchesInput + var inCpy *GetDifferencesInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListBranchesRequest(inCpy) + req, _ := c.GetDifferencesRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -1489,264 +2016,210 @@ func (c *CodeCommit) ListBranchesPagesWithContext(ctx aws.Context, input *ListBr cont := true for p.Next() && cont { - cont = fn(p.Page().(*ListBranchesOutput), !p.HasNextPage()) + cont = fn(p.Page().(*GetDifferencesOutput), !p.HasNextPage()) } return p.Err() } -const opListRepositories = "ListRepositories" +const opGetMergeConflicts = "GetMergeConflicts" -// ListRepositoriesRequest generates a "aws/request.Request" representing the -// client's request for the ListRepositories operation. The "output" return +// GetMergeConflictsRequest generates a "aws/request.Request" representing the +// client's request for the GetMergeConflicts operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListRepositories for more information on using the ListRepositories +// See GetMergeConflicts for more information on using the GetMergeConflicts // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListRepositoriesRequest method. -// req, resp := client.ListRepositoriesRequest(params) +// // Example sending a request using the GetMergeConflictsRequest method. +// req, resp := client.GetMergeConflictsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories -func (c *CodeCommit) ListRepositoriesRequest(input *ListRepositoriesInput) (req *request.Request, output *ListRepositoriesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflicts +func (c *CodeCommit) GetMergeConflictsRequest(input *GetMergeConflictsInput) (req *request.Request, output *GetMergeConflictsOutput) { op := &request.Operation{ - Name: opListRepositories, + Name: opGetMergeConflicts, HTTPMethod: "POST", HTTPPath: "/", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "", - TruncationToken: "", - }, } if input == nil { - input = &ListRepositoriesInput{} + input = &GetMergeConflictsInput{} } - output = &ListRepositoriesOutput{} + output = &GetMergeConflictsOutput{} req = c.newRequest(op, input, output) return } -// ListRepositories API operation for AWS CodeCommit. +// GetMergeConflicts API operation for AWS CodeCommit. // -// Gets information about one or more repositories. +// Returns information about merge conflicts between the before and after commit +// IDs for a pull request in a repository. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS CodeCommit's -// API operation ListRepositories for usage and error information. +// API operation GetMergeConflicts for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidSortByException "InvalidSortByException" -// The specified sort by value is not valid. +// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" +// A repository name is required but was not specified. // -// * ErrCodeInvalidOrderException "InvalidOrderException" -// The specified sort order is not valid. +// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" +// At least one specified repository name is not valid. // -// * ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException" -// The specified continuation token is not valid. +// This exception only occurs when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories -func (c *CodeCommit) ListRepositories(input *ListRepositoriesInput) (*ListRepositoriesOutput, error) { - req, out := c.ListRepositoriesRequest(input) +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. +// +// * ErrCodeMergeOptionRequiredException "MergeOptionRequiredException" +// A merge option or stategy is required, and none was provided. +// +// * ErrCodeInvalidMergeOptionException "InvalidMergeOptionException" +// The specified merge option is not valid. The only valid value is FAST_FORWARD_MERGE. +// +// * ErrCodeInvalidDestinationCommitSpecifierException "InvalidDestinationCommitSpecifierException" +// The destination commit specifier is not valid. You must provide a valid branch +// name, tag, or full commit ID. +// +// * ErrCodeInvalidSourceCommitSpecifierException "InvalidSourceCommitSpecifierException" +// The source commit specifier is not valid. You must provide a valid branch +// name, tag, or full commit ID. +// +// * ErrCodeCommitRequiredException "CommitRequiredException" +// A commit was not specified. +// +// * ErrCodeCommitDoesNotExistException "CommitDoesNotExistException" +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. +// +// * ErrCodeInvalidCommitException "InvalidCommitException" +// The specified commit is not valid. +// +// * ErrCodeTipsDivergenceExceededException "TipsDivergenceExceededException" +// The divergence between the tips of the provided commit specifiers is too +// great to determine whether there might be any merge conflicts. Locally compare +// the specifiers using git diff or a diff tool. +// +// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" +// An encryption integrity check failed. +// +// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" +// An encryption key could not be accessed. +// +// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" +// The encryption key is disabled. +// +// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" +// No encryption key was found. +// +// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" +// The encryption key is not available. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflicts +func (c *CodeCommit) GetMergeConflicts(input *GetMergeConflictsInput) (*GetMergeConflictsOutput, error) { + req, out := c.GetMergeConflictsRequest(input) return out, req.Send() } -// ListRepositoriesWithContext is the same as ListRepositories with the addition of +// GetMergeConflictsWithContext is the same as GetMergeConflicts with the addition of // the ability to pass a context and additional request options. // -// See ListRepositories for details on how to use this API operation. +// See GetMergeConflicts for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) ListRepositoriesWithContext(ctx aws.Context, input *ListRepositoriesInput, opts ...request.Option) (*ListRepositoriesOutput, error) { - req, out := c.ListRepositoriesRequest(input) +func (c *CodeCommit) GetMergeConflictsWithContext(ctx aws.Context, input *GetMergeConflictsInput, opts ...request.Option) (*GetMergeConflictsOutput, error) { + req, out := c.GetMergeConflictsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListRepositoriesPages iterates over the pages of a ListRepositories operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See ListRepositories method for more information on how to use this operation. -// -// Note: This operation can generate multiple requests to a service. -// -// // Example iterating over at most 3 pages of a ListRepositories operation. -// pageNum := 0 -// err := client.ListRepositoriesPages(params, -// func(page *ListRepositoriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// -func (c *CodeCommit) ListRepositoriesPages(input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool) error { - return c.ListRepositoriesPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListRepositoriesPagesWithContext same as ListRepositoriesPages except -// it takes a Context and allows setting request options on the pages. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *CodeCommit) ListRepositoriesPagesWithContext(ctx aws.Context, input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListRepositoriesInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListRepositoriesRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - cont := true - for p.Next() && cont { - cont = fn(p.Page().(*ListRepositoriesOutput), !p.HasNextPage()) - } - return p.Err() -} - -const opPutRepositoryTriggers = "PutRepositoryTriggers" +const opGetPullRequest = "GetPullRequest" -// PutRepositoryTriggersRequest generates a "aws/request.Request" representing the -// client's request for the PutRepositoryTriggers operation. The "output" return +// GetPullRequestRequest generates a "aws/request.Request" representing the +// client's request for the GetPullRequest operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See PutRepositoryTriggers for more information on using the PutRepositoryTriggers +// See GetPullRequest for more information on using the GetPullRequest // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the PutRepositoryTriggersRequest method. -// req, resp := client.PutRepositoryTriggersRequest(params) +// // Example sending a request using the GetPullRequestRequest method. +// req, resp := client.GetPullRequestRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers -func (c *CodeCommit) PutRepositoryTriggersRequest(input *PutRepositoryTriggersInput) (req *request.Request, output *PutRepositoryTriggersOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequest +func (c *CodeCommit) GetPullRequestRequest(input *GetPullRequestInput) (req *request.Request, output *GetPullRequestOutput) { op := &request.Operation{ - Name: opPutRepositoryTriggers, + Name: opGetPullRequest, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &PutRepositoryTriggersInput{} + input = &GetPullRequestInput{} } - output = &PutRepositoryTriggersOutput{} + output = &GetPullRequestOutput{} req = c.newRequest(op, input, output) return } -// PutRepositoryTriggers API operation for AWS CodeCommit. +// GetPullRequest API operation for AWS CodeCommit. // -// Replaces all triggers for a repository. This can be used to create or delete -// triggers. +// Gets information about a pull request in a specified repository. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS CodeCommit's -// API operation PutRepositoryTriggers for usage and error information. +// API operation GetPullRequest for usage and error information. // // Returned Error Codes: -// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" -// The specified repository does not exist. -// -// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" -// A repository name is required but was not specified. -// -// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" -// At least one specified repository name is not valid. -// -// This exception only occurs when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. -// -// * ErrCodeRepositoryTriggersListRequiredException "RepositoryTriggersListRequiredException" -// The list of triggers for the repository is required but was not specified. -// -// * ErrCodeMaximumRepositoryTriggersExceededException "MaximumRepositoryTriggersExceededException" -// The number of triggers allowed for the repository was exceeded. -// -// * ErrCodeInvalidRepositoryTriggerNameException "InvalidRepositoryTriggerNameException" -// The name of the trigger is not valid. -// -// * ErrCodeInvalidRepositoryTriggerDestinationArnException "InvalidRepositoryTriggerDestinationArnException" -// The Amazon Resource Name (ARN) for the trigger is not valid for the specified -// destination. The most common reason for this error is that the ARN does not -// meet the requirements for the service type. -// -// * ErrCodeInvalidRepositoryTriggerRegionException "InvalidRepositoryTriggerRegionException" -// The region for the trigger target does not match the region for the repository. -// Triggers must be created in the same region as the target for the trigger. +// * ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException" +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. // -// * ErrCodeInvalidRepositoryTriggerCustomDataException "InvalidRepositoryTriggerCustomDataException" -// The custom data provided for the trigger is not valid. -// -// * ErrCodeMaximumBranchesExceededException "MaximumBranchesExceededException" -// The number of branches for the trigger was exceeded. -// -// * ErrCodeInvalidRepositoryTriggerBranchNameException "InvalidRepositoryTriggerBranchNameException" -// One or more branch names specified for the trigger is not valid. -// -// * ErrCodeInvalidRepositoryTriggerEventsException "InvalidRepositoryTriggerEventsException" -// One or more events specified for the trigger is not valid. Check to make -// sure that all events specified match the requirements for allowed events. -// -// * ErrCodeRepositoryTriggerNameRequiredException "RepositoryTriggerNameRequiredException" -// A name for the trigger is required but was not specified. -// -// * ErrCodeRepositoryTriggerDestinationArnRequiredException "RepositoryTriggerDestinationArnRequiredException" -// A destination ARN for the target service for the trigger is required but -// was not specified. -// -// * ErrCodeRepositoryTriggerBranchNameListRequiredException "RepositoryTriggerBranchNameListRequiredException" -// At least one branch name is required but was not specified in the trigger -// configuration. +// * ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException" +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * ErrCodeRepositoryTriggerEventsListRequiredException "RepositoryTriggerEventsListRequiredException" -// At least one event for the trigger is required but was not specified. +// * ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException" +// A pull request ID is required, but none was provided. // // * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" // An encryption integrity check failed. @@ -1763,91 +2236,94 @@ func (c *CodeCommit) PutRepositoryTriggersRequest(input *PutRepositoryTriggersIn // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers -func (c *CodeCommit) PutRepositoryTriggers(input *PutRepositoryTriggersInput) (*PutRepositoryTriggersOutput, error) { - req, out := c.PutRepositoryTriggersRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequest +func (c *CodeCommit) GetPullRequest(input *GetPullRequestInput) (*GetPullRequestOutput, error) { + req, out := c.GetPullRequestRequest(input) return out, req.Send() } -// PutRepositoryTriggersWithContext is the same as PutRepositoryTriggers with the addition of +// GetPullRequestWithContext is the same as GetPullRequest with the addition of // the ability to pass a context and additional request options. // -// See PutRepositoryTriggers for details on how to use this API operation. +// See GetPullRequest for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) PutRepositoryTriggersWithContext(ctx aws.Context, input *PutRepositoryTriggersInput, opts ...request.Option) (*PutRepositoryTriggersOutput, error) { - req, out := c.PutRepositoryTriggersRequest(input) +func (c *CodeCommit) GetPullRequestWithContext(ctx aws.Context, input *GetPullRequestInput, opts ...request.Option) (*GetPullRequestOutput, error) { + req, out := c.GetPullRequestRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opTestRepositoryTriggers = "TestRepositoryTriggers" +const opGetRepository = "GetRepository" -// TestRepositoryTriggersRequest generates a "aws/request.Request" representing the -// client's request for the TestRepositoryTriggers operation. The "output" return +// GetRepositoryRequest generates a "aws/request.Request" representing the +// client's request for the GetRepository operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See TestRepositoryTriggers for more information on using the TestRepositoryTriggers +// See GetRepository for more information on using the GetRepository // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the TestRepositoryTriggersRequest method. -// req, resp := client.TestRepositoryTriggersRequest(params) +// // Example sending a request using the GetRepositoryRequest method. +// req, resp := client.GetRepositoryRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers -func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggersInput) (req *request.Request, output *TestRepositoryTriggersOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository +func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) (req *request.Request, output *GetRepositoryOutput) { op := &request.Operation{ - Name: opTestRepositoryTriggers, + Name: opGetRepository, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &TestRepositoryTriggersInput{} + input = &GetRepositoryInput{} } - output = &TestRepositoryTriggersOutput{} + output = &GetRepositoryOutput{} req = c.newRequest(op, input, output) return } -// TestRepositoryTriggers API operation for AWS CodeCommit. +// GetRepository API operation for AWS CodeCommit. // -// Tests the functionality of repository triggers by sending information to -// the trigger target. If real data is available in the repository, the test -// will send data from the last commit. If no data is available, sample data -// will be generated. +// Returns information about a repository. +// +// The description field for a repository accepts all HTML characters and all +// valid Unicode characters. Applications that do not HTML-encode the description +// and display it in a web page could expose users to potentially malicious +// code. Make sure that you HTML-encode the description field in any application +// that uses this API to display the repository description on a web page. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS CodeCommit's -// API operation TestRepositoryTriggers for usage and error information. +// API operation GetRepository for usage and error information. // // Returned Error Codes: -// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" -// The specified repository does not exist. -// // * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" // A repository name is required but was not specified. // +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. +// // * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" // At least one specified repository name is not valid. // @@ -1855,51 +2331,6 @@ func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggers // Other exceptions occur when a required repository parameter is missing, or // when a specified repository does not exist. // -// * ErrCodeRepositoryTriggersListRequiredException "RepositoryTriggersListRequiredException" -// The list of triggers for the repository is required but was not specified. -// -// * ErrCodeMaximumRepositoryTriggersExceededException "MaximumRepositoryTriggersExceededException" -// The number of triggers allowed for the repository was exceeded. -// -// * ErrCodeInvalidRepositoryTriggerNameException "InvalidRepositoryTriggerNameException" -// The name of the trigger is not valid. -// -// * ErrCodeInvalidRepositoryTriggerDestinationArnException "InvalidRepositoryTriggerDestinationArnException" -// The Amazon Resource Name (ARN) for the trigger is not valid for the specified -// destination. The most common reason for this error is that the ARN does not -// meet the requirements for the service type. -// -// * ErrCodeInvalidRepositoryTriggerRegionException "InvalidRepositoryTriggerRegionException" -// The region for the trigger target does not match the region for the repository. -// Triggers must be created in the same region as the target for the trigger. -// -// * ErrCodeInvalidRepositoryTriggerCustomDataException "InvalidRepositoryTriggerCustomDataException" -// The custom data provided for the trigger is not valid. -// -// * ErrCodeMaximumBranchesExceededException "MaximumBranchesExceededException" -// The number of branches for the trigger was exceeded. -// -// * ErrCodeInvalidRepositoryTriggerBranchNameException "InvalidRepositoryTriggerBranchNameException" -// One or more branch names specified for the trigger is not valid. -// -// * ErrCodeInvalidRepositoryTriggerEventsException "InvalidRepositoryTriggerEventsException" -// One or more events specified for the trigger is not valid. Check to make -// sure that all events specified match the requirements for allowed events. -// -// * ErrCodeRepositoryTriggerNameRequiredException "RepositoryTriggerNameRequiredException" -// A name for the trigger is required but was not specified. -// -// * ErrCodeRepositoryTriggerDestinationArnRequiredException "RepositoryTriggerDestinationArnRequiredException" -// A destination ARN for the target service for the trigger is required but -// was not specified. -// -// * ErrCodeRepositoryTriggerBranchNameListRequiredException "RepositoryTriggerBranchNameListRequiredException" -// At least one branch name is required but was not specified in the trigger -// configuration. -// -// * ErrCodeRepositoryTriggerEventsListRequiredException "RepositoryTriggerEventsListRequiredException" -// At least one event for the trigger is required but was not specified. -// // * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" // An encryption integrity check failed. // @@ -1915,94 +2346,85 @@ func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggers // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers -func (c *CodeCommit) TestRepositoryTriggers(input *TestRepositoryTriggersInput) (*TestRepositoryTriggersOutput, error) { - req, out := c.TestRepositoryTriggersRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository +func (c *CodeCommit) GetRepository(input *GetRepositoryInput) (*GetRepositoryOutput, error) { + req, out := c.GetRepositoryRequest(input) return out, req.Send() } -// TestRepositoryTriggersWithContext is the same as TestRepositoryTriggers with the addition of +// GetRepositoryWithContext is the same as GetRepository with the addition of // the ability to pass a context and additional request options. // -// See TestRepositoryTriggers for details on how to use this API operation. +// See GetRepository for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) TestRepositoryTriggersWithContext(ctx aws.Context, input *TestRepositoryTriggersInput, opts ...request.Option) (*TestRepositoryTriggersOutput, error) { - req, out := c.TestRepositoryTriggersRequest(input) +func (c *CodeCommit) GetRepositoryWithContext(ctx aws.Context, input *GetRepositoryInput, opts ...request.Option) (*GetRepositoryOutput, error) { + req, out := c.GetRepositoryRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateDefaultBranch = "UpdateDefaultBranch" +const opGetRepositoryTriggers = "GetRepositoryTriggers" -// UpdateDefaultBranchRequest generates a "aws/request.Request" representing the -// client's request for the UpdateDefaultBranch operation. The "output" return +// GetRepositoryTriggersRequest generates a "aws/request.Request" representing the +// client's request for the GetRepositoryTriggers operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateDefaultBranch for more information on using the UpdateDefaultBranch +// See GetRepositoryTriggers for more information on using the GetRepositoryTriggers // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateDefaultBranchRequest method. -// req, resp := client.UpdateDefaultBranchRequest(params) +// // Example sending a request using the GetRepositoryTriggersRequest method. +// req, resp := client.GetRepositoryTriggersRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch -func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput) (req *request.Request, output *UpdateDefaultBranchOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers +func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersInput) (req *request.Request, output *GetRepositoryTriggersOutput) { op := &request.Operation{ - Name: opUpdateDefaultBranch, + Name: opGetRepositoryTriggers, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UpdateDefaultBranchInput{} + input = &GetRepositoryTriggersInput{} } - output = &UpdateDefaultBranchOutput{} + output = &GetRepositoryTriggersOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// UpdateDefaultBranch API operation for AWS CodeCommit. -// -// Sets or changes the default branch name for the specified repository. +// GetRepositoryTriggers API operation for AWS CodeCommit. // -// If you use this operation to change the default branch name to the current -// default branch name, a success message is returned even though the default -// branch did not change. +// Gets information about triggers configured for a repository. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS CodeCommit's -// API operation UpdateDefaultBranch for usage and error information. +// API operation GetRepositoryTriggers for usage and error information. // // Returned Error Codes: // * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" // A repository name is required but was not specified. // -// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" -// The specified repository does not exist. -// // * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" // At least one specified repository name is not valid. // @@ -2010,14 +2432,8 @@ func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput) // Other exceptions occur when a required repository parameter is missing, or // when a specified repository does not exist. // -// * ErrCodeBranchNameRequiredException "BranchNameRequiredException" -// A branch name is required but was not specified. -// -// * ErrCodeInvalidBranchNameException "InvalidBranchNameException" -// The specified branch name is not valid. -// -// * ErrCodeBranchDoesNotExistException "BranchDoesNotExistException" -// The specified branch does not exist. +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. // // * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" // An encryption integrity check failed. @@ -2034,88 +2450,86 @@ func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput) // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch -func (c *CodeCommit) UpdateDefaultBranch(input *UpdateDefaultBranchInput) (*UpdateDefaultBranchOutput, error) { - req, out := c.UpdateDefaultBranchRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers +func (c *CodeCommit) GetRepositoryTriggers(input *GetRepositoryTriggersInput) (*GetRepositoryTriggersOutput, error) { + req, out := c.GetRepositoryTriggersRequest(input) return out, req.Send() } -// UpdateDefaultBranchWithContext is the same as UpdateDefaultBranch with the addition of +// GetRepositoryTriggersWithContext is the same as GetRepositoryTriggers with the addition of // the ability to pass a context and additional request options. // -// See UpdateDefaultBranch for details on how to use this API operation. +// See GetRepositoryTriggers for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) UpdateDefaultBranchWithContext(ctx aws.Context, input *UpdateDefaultBranchInput, opts ...request.Option) (*UpdateDefaultBranchOutput, error) { - req, out := c.UpdateDefaultBranchRequest(input) +func (c *CodeCommit) GetRepositoryTriggersWithContext(ctx aws.Context, input *GetRepositoryTriggersInput, opts ...request.Option) (*GetRepositoryTriggersOutput, error) { + req, out := c.GetRepositoryTriggersRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateRepositoryDescription = "UpdateRepositoryDescription" +const opListBranches = "ListBranches" -// UpdateRepositoryDescriptionRequest generates a "aws/request.Request" representing the -// client's request for the UpdateRepositoryDescription operation. The "output" return +// ListBranchesRequest generates a "aws/request.Request" representing the +// client's request for the ListBranches operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateRepositoryDescription for more information on using the UpdateRepositoryDescription +// See ListBranches for more information on using the ListBranches // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateRepositoryDescriptionRequest method. -// req, resp := client.UpdateRepositoryDescriptionRequest(params) +// // Example sending a request using the ListBranchesRequest method. +// req, resp := client.ListBranchesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription -func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryDescriptionInput) (req *request.Request, output *UpdateRepositoryDescriptionOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches +func (c *CodeCommit) ListBranchesRequest(input *ListBranchesInput) (req *request.Request, output *ListBranchesOutput) { op := &request.Operation{ - Name: opUpdateRepositoryDescription, + Name: opListBranches, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "", + TruncationToken: "", + }, } if input == nil { - input = &UpdateRepositoryDescriptionInput{} + input = &ListBranchesInput{} } - output = &UpdateRepositoryDescriptionOutput{} + output = &ListBranchesOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// UpdateRepositoryDescription API operation for AWS CodeCommit. -// -// Sets or changes the comment or description for a repository. +// ListBranches API operation for AWS CodeCommit. // -// The description field for a repository accepts all HTML characters and all -// valid Unicode characters. Applications that do not HTML-encode the description -// and display it in a web page could expose users to potentially malicious -// code. Make sure that you HTML-encode the description field in any application -// that uses this API to display the repository description on a web page. +// Gets information about one or more branches in a repository. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS CodeCommit's -// API operation UpdateRepositoryDescription for usage and error information. +// API operation ListBranches for usage and error information. // // Returned Error Codes: // * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" @@ -2131,9 +2545,6 @@ func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryD // Other exceptions occur when a required repository parameter is missing, or // when a specified repository does not exist. // -// * ErrCodeInvalidRepositoryDescriptionException "InvalidRepositoryDescriptionException" -// The specified repository description is not valid. -// // * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" // An encryption integrity check failed. // @@ -2149,94 +2560,152 @@ func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryD // * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" // The encryption key is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription -func (c *CodeCommit) UpdateRepositoryDescription(input *UpdateRepositoryDescriptionInput) (*UpdateRepositoryDescriptionOutput, error) { - req, out := c.UpdateRepositoryDescriptionRequest(input) +// * ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException" +// The specified continuation token is not valid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches +func (c *CodeCommit) ListBranches(input *ListBranchesInput) (*ListBranchesOutput, error) { + req, out := c.ListBranchesRequest(input) return out, req.Send() } -// UpdateRepositoryDescriptionWithContext is the same as UpdateRepositoryDescription with the addition of +// ListBranchesWithContext is the same as ListBranches with the addition of // the ability to pass a context and additional request options. // -// See UpdateRepositoryDescription for details on how to use this API operation. +// See ListBranches for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) UpdateRepositoryDescriptionWithContext(ctx aws.Context, input *UpdateRepositoryDescriptionInput, opts ...request.Option) (*UpdateRepositoryDescriptionOutput, error) { - req, out := c.UpdateRepositoryDescriptionRequest(input) +func (c *CodeCommit) ListBranchesWithContext(ctx aws.Context, input *ListBranchesInput, opts ...request.Option) (*ListBranchesOutput, error) { + req, out := c.ListBranchesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateRepositoryName = "UpdateRepositoryName" +// ListBranchesPages iterates over the pages of a ListBranches operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListBranches method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListBranches operation. +// pageNum := 0 +// err := client.ListBranchesPages(params, +// func(page *ListBranchesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *CodeCommit) ListBranchesPages(input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool) error { + return c.ListBranchesPagesWithContext(aws.BackgroundContext(), input, fn) +} -// UpdateRepositoryNameRequest generates a "aws/request.Request" representing the -// client's request for the UpdateRepositoryName operation. The "output" return +// ListBranchesPagesWithContext same as ListBranchesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) ListBranchesPagesWithContext(ctx aws.Context, input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListBranchesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListBranchesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListBranchesOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListPullRequests = "ListPullRequests" + +// ListPullRequestsRequest generates a "aws/request.Request" representing the +// client's request for the ListPullRequests operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateRepositoryName for more information on using the UpdateRepositoryName +// See ListPullRequests for more information on using the ListPullRequests // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateRepositoryNameRequest method. -// req, resp := client.UpdateRepositoryNameRequest(params) +// // Example sending a request using the ListPullRequestsRequest method. +// req, resp := client.ListPullRequestsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName -func (c *CodeCommit) UpdateRepositoryNameRequest(input *UpdateRepositoryNameInput) (req *request.Request, output *UpdateRepositoryNameOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequests +func (c *CodeCommit) ListPullRequestsRequest(input *ListPullRequestsInput) (req *request.Request, output *ListPullRequestsOutput) { op := &request.Operation{ - Name: opUpdateRepositoryName, + Name: opListPullRequests, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &UpdateRepositoryNameInput{} + input = &ListPullRequestsInput{} } - output = &UpdateRepositoryNameOutput{} + output = &ListPullRequestsOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// UpdateRepositoryName API operation for AWS CodeCommit. +// ListPullRequests API operation for AWS CodeCommit. // -// Renames a repository. The repository name must be unique across the calling -// AWS account. In addition, repository names are limited to 100 alphanumeric, -// dash, and underscore characters, and cannot include certain characters. The -// suffix ".git" is prohibited. For a full description of the limits on repository -// names, see Limits (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) -// in the AWS CodeCommit User Guide. +// Returns a list of pull requests for a specified repository. The return list +// can be refined by pull request status or pull request author ARN. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS CodeCommit's -// API operation UpdateRepositoryName for usage and error information. +// API operation ListPullRequests for usage and error information. // // Returned Error Codes: -// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" -// The specified repository does not exist. +// * ErrCodeInvalidPullRequestStatusException "InvalidPullRequestStatusException" +// The pull request status is not valid. The only valid values are OPEN and +// CLOSED. // -// * ErrCodeRepositoryNameExistsException "RepositoryNameExistsException" -// The specified repository name already exists. +// * ErrCodeInvalidAuthorArnException "InvalidAuthorArnException" +// The Amazon Resource Name (ARN) is not valid. Make sure that you have provided +// the full ARN for the author of the pull request, and then try again. +// +// * ErrCodeAuthorDoesNotExistException "AuthorDoesNotExistException" +// The specified Amazon Resource Name (ARN) does not exist in the AWS account. // // * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" // A repository name is required but was not specified. @@ -2248,318 +2717,3993 @@ func (c *CodeCommit) UpdateRepositoryNameRequest(input *UpdateRepositoryNameInpu // Other exceptions occur when a required repository parameter is missing, or // when a specified repository does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName -func (c *CodeCommit) UpdateRepositoryName(input *UpdateRepositoryNameInput) (*UpdateRepositoryNameOutput, error) { - req, out := c.UpdateRepositoryNameRequest(input) +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. +// +// * ErrCodeInvalidMaxResultsException "InvalidMaxResultsException" +// The specified number of maximum results is not valid. +// +// * ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException" +// The specified continuation token is not valid. +// +// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" +// An encryption integrity check failed. +// +// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" +// An encryption key could not be accessed. +// +// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" +// The encryption key is disabled. +// +// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" +// No encryption key was found. +// +// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" +// The encryption key is not available. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequests +func (c *CodeCommit) ListPullRequests(input *ListPullRequestsInput) (*ListPullRequestsOutput, error) { + req, out := c.ListPullRequestsRequest(input) return out, req.Send() } -// UpdateRepositoryNameWithContext is the same as UpdateRepositoryName with the addition of +// ListPullRequestsWithContext is the same as ListPullRequests with the addition of // the ability to pass a context and additional request options. // -// See UpdateRepositoryName for details on how to use this API operation. +// See ListPullRequests for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CodeCommit) UpdateRepositoryNameWithContext(ctx aws.Context, input *UpdateRepositoryNameInput, opts ...request.Option) (*UpdateRepositoryNameOutput, error) { - req, out := c.UpdateRepositoryNameRequest(input) +func (c *CodeCommit) ListPullRequestsWithContext(ctx aws.Context, input *ListPullRequestsInput, opts ...request.Option) (*ListPullRequestsOutput, error) { + req, out := c.ListPullRequestsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// Represents the input of a batch get repositories operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositoriesInput -type BatchGetRepositoriesInput struct { - _ struct{} `type:"structure"` - - // The names of the repositories to get information about. - // - // RepositoryNames is a required field - RepositoryNames []*string `locationName:"repositoryNames" type:"list" required:"true"` -} - -// String returns the string representation -func (s BatchGetRepositoriesInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s BatchGetRepositoriesInput) GoString() string { - return s.String() +// ListPullRequestsPages iterates over the pages of a ListPullRequests operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListPullRequests method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListPullRequests operation. +// pageNum := 0 +// err := client.ListPullRequestsPages(params, +// func(page *ListPullRequestsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *CodeCommit) ListPullRequestsPages(input *ListPullRequestsInput, fn func(*ListPullRequestsOutput, bool) bool) error { + return c.ListPullRequestsPagesWithContext(aws.BackgroundContext(), input, fn) } -// Validate inspects the fields of the type to determine if they are valid. -func (s *BatchGetRepositoriesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "BatchGetRepositoriesInput"} - if s.RepositoryNames == nil { - invalidParams.Add(request.NewErrParamRequired("RepositoryNames")) +// ListPullRequestsPagesWithContext same as ListPullRequestsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) ListPullRequestsPagesWithContext(ctx aws.Context, input *ListPullRequestsInput, fn func(*ListPullRequestsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListPullRequestsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListPullRequestsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, } - if invalidParams.Len() > 0 { - return invalidParams + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListPullRequestsOutput), !p.HasNextPage()) } - return nil + return p.Err() } -// SetRepositoryNames sets the RepositoryNames field's value. -func (s *BatchGetRepositoriesInput) SetRepositoryNames(v []*string) *BatchGetRepositoriesInput { - s.RepositoryNames = v - return s -} +const opListRepositories = "ListRepositories" + +// ListRepositoriesRequest generates a "aws/request.Request" representing the +// client's request for the ListRepositories operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListRepositories for more information on using the ListRepositories +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListRepositoriesRequest method. +// req, resp := client.ListRepositoriesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories +func (c *CodeCommit) ListRepositoriesRequest(input *ListRepositoriesInput) (req *request.Request, output *ListRepositoriesOutput) { + op := &request.Operation{ + Name: opListRepositories, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListRepositoriesInput{} + } + + output = &ListRepositoriesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListRepositories API operation for AWS CodeCommit. +// +// Gets information about one or more repositories. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation ListRepositories for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidSortByException "InvalidSortByException" +// The specified sort by value is not valid. +// +// * ErrCodeInvalidOrderException "InvalidOrderException" +// The specified sort order is not valid. +// +// * ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException" +// The specified continuation token is not valid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories +func (c *CodeCommit) ListRepositories(input *ListRepositoriesInput) (*ListRepositoriesOutput, error) { + req, out := c.ListRepositoriesRequest(input) + return out, req.Send() +} + +// ListRepositoriesWithContext is the same as ListRepositories with the addition of +// the ability to pass a context and additional request options. +// +// See ListRepositories for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) ListRepositoriesWithContext(ctx aws.Context, input *ListRepositoriesInput, opts ...request.Option) (*ListRepositoriesOutput, error) { + req, out := c.ListRepositoriesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListRepositoriesPages iterates over the pages of a ListRepositories operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListRepositories method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListRepositories operation. +// pageNum := 0 +// err := client.ListRepositoriesPages(params, +// func(page *ListRepositoriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *CodeCommit) ListRepositoriesPages(input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool) error { + return c.ListRepositoriesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListRepositoriesPagesWithContext same as ListRepositoriesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) ListRepositoriesPagesWithContext(ctx aws.Context, input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListRepositoriesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListRepositoriesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListRepositoriesOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opMergePullRequestByFastForward = "MergePullRequestByFastForward" + +// MergePullRequestByFastForwardRequest generates a "aws/request.Request" representing the +// client's request for the MergePullRequestByFastForward operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See MergePullRequestByFastForward for more information on using the MergePullRequestByFastForward +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the MergePullRequestByFastForwardRequest method. +// req, resp := client.MergePullRequestByFastForwardRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForward +func (c *CodeCommit) MergePullRequestByFastForwardRequest(input *MergePullRequestByFastForwardInput) (req *request.Request, output *MergePullRequestByFastForwardOutput) { + op := &request.Operation{ + Name: opMergePullRequestByFastForward, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &MergePullRequestByFastForwardInput{} + } + + output = &MergePullRequestByFastForwardOutput{} + req = c.newRequest(op, input, output) + return +} + +// MergePullRequestByFastForward API operation for AWS CodeCommit. +// +// Closes a pull request and attempts to merge the source commit of a pull request +// into the specified destination branch for that pull request at the specified +// commit using the fast-forward merge option. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation MergePullRequestByFastForward for usage and error information. +// +// Returned Error Codes: +// * ErrCodeManualMergeRequiredException "ManualMergeRequiredException" +// The pull request cannot be merged automatically into the destination branch. +// You must manually merge the branches and resolve any conflicts. +// +// * ErrCodePullRequestAlreadyClosedException "PullRequestAlreadyClosedException" +// The pull request status cannot be updated because it is already closed. +// +// * ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException" +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. +// +// * ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException" +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. +// +// * ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException" +// A pull request ID is required, but none was provided. +// +// * ErrCodeTipOfSourceReferenceIsDifferentException "TipOfSourceReferenceIsDifferentException" +// The tip of the source branch in the destination repository does not match +// the tip of the source branch specified in your request. The pull request +// might have been updated. Make sure that you have the latest changes. +// +// * ErrCodeReferenceDoesNotExistException "ReferenceDoesNotExistException" +// The specified reference does not exist. You must provide a full commit ID. +// +// * ErrCodeInvalidCommitIdException "InvalidCommitIdException" +// The specified commit ID is not valid. +// +// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" +// A repository name is required but was not specified. +// +// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" +// At least one specified repository name is not valid. +// +// This exception only occurs when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. +// +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. +// +// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" +// An encryption integrity check failed. +// +// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" +// An encryption key could not be accessed. +// +// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" +// The encryption key is disabled. +// +// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" +// No encryption key was found. +// +// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" +// The encryption key is not available. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForward +func (c *CodeCommit) MergePullRequestByFastForward(input *MergePullRequestByFastForwardInput) (*MergePullRequestByFastForwardOutput, error) { + req, out := c.MergePullRequestByFastForwardRequest(input) + return out, req.Send() +} + +// MergePullRequestByFastForwardWithContext is the same as MergePullRequestByFastForward with the addition of +// the ability to pass a context and additional request options. +// +// See MergePullRequestByFastForward for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) MergePullRequestByFastForwardWithContext(ctx aws.Context, input *MergePullRequestByFastForwardInput, opts ...request.Option) (*MergePullRequestByFastForwardOutput, error) { + req, out := c.MergePullRequestByFastForwardRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPostCommentForComparedCommit = "PostCommentForComparedCommit" + +// PostCommentForComparedCommitRequest generates a "aws/request.Request" representing the +// client's request for the PostCommentForComparedCommit operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PostCommentForComparedCommit for more information on using the PostCommentForComparedCommit +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PostCommentForComparedCommitRequest method. +// req, resp := client.PostCommentForComparedCommitRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommit +func (c *CodeCommit) PostCommentForComparedCommitRequest(input *PostCommentForComparedCommitInput) (req *request.Request, output *PostCommentForComparedCommitOutput) { + op := &request.Operation{ + Name: opPostCommentForComparedCommit, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PostCommentForComparedCommitInput{} + } + + output = &PostCommentForComparedCommitOutput{} + req = c.newRequest(op, input, output) + return +} + +// PostCommentForComparedCommit API operation for AWS CodeCommit. +// +// Posts a comment on the comparison between two commits. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation PostCommentForComparedCommit for usage and error information. +// +// Returned Error Codes: +// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" +// A repository name is required but was not specified. +// +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. +// +// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" +// At least one specified repository name is not valid. +// +// This exception only occurs when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. +// +// * ErrCodeClientRequestTokenRequiredException "ClientRequestTokenRequiredException" +// A client request token is required. A client request token is an unique, +// client-generated idempotency token that when provided in a request, ensures +// the request cannot be repeated with a changed parameter. If a request is +// received with the same parameters and a token is included, the request will +// return information about the initial request that used that token. +// +// * ErrCodeInvalidClientRequestTokenException "InvalidClientRequestTokenException" +// The client request token is not valid. +// +// * ErrCodeIdempotencyParameterMismatchException "IdempotencyParameterMismatchException" +// The client request token is not valid. Either the token is not in a valid +// format, or the token has been used in a previous request and cannot be re-used. +// +// * ErrCodeCommentContentRequiredException "CommentContentRequiredException" +// The comment is empty. You must provide some content for a comment. The content +// cannot be null. +// +// * ErrCodeCommentContentSizeLimitExceededException "CommentContentSizeLimitExceededException" +// The comment is too large. Comments are limited to 1,000 characters. +// +// * ErrCodeInvalidFileLocationException "InvalidFileLocationException" +// The location of the file is not valid. Make sure that you include the extension +// of the file as well as the file name. +// +// * ErrCodeInvalidRelativeFileVersionEnumException "InvalidRelativeFileVersionEnumException" +// Either the enum is not in a valid format, or the specified file version enum +// is not valid in respect to the current file version. +// +// * ErrCodePathRequiredException "PathRequiredException" +// The filePath for a location cannot be empty or null. +// +// * ErrCodeInvalidFilePositionException "InvalidFilePositionException" +// The position is not valid. Make sure that the line number exists in the version +// of the file you want to comment on. +// +// * ErrCodeCommitIdRequiredException "CommitIdRequiredException" +// A commit ID was not specified. +// +// * ErrCodeInvalidCommitIdException "InvalidCommitIdException" +// The specified commit ID is not valid. +// +// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" +// An encryption integrity check failed. +// +// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" +// An encryption key could not be accessed. +// +// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" +// The encryption key is disabled. +// +// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" +// No encryption key was found. +// +// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" +// The encryption key is not available. +// +// * ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException "BeforeCommitIdAndAfterCommitIdAreSameException" +// The before commit ID and the after commit ID are the same, which is not valid. +// The before commit ID and the after commit ID must be different commit IDs. +// +// * ErrCodeCommitDoesNotExistException "CommitDoesNotExistException" +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. +// +// * ErrCodeInvalidPathException "InvalidPathException" +// The specified path is not valid. +// +// * ErrCodePathDoesNotExistException "PathDoesNotExistException" +// The specified path does not exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommit +func (c *CodeCommit) PostCommentForComparedCommit(input *PostCommentForComparedCommitInput) (*PostCommentForComparedCommitOutput, error) { + req, out := c.PostCommentForComparedCommitRequest(input) + return out, req.Send() +} + +// PostCommentForComparedCommitWithContext is the same as PostCommentForComparedCommit with the addition of +// the ability to pass a context and additional request options. +// +// See PostCommentForComparedCommit for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) PostCommentForComparedCommitWithContext(ctx aws.Context, input *PostCommentForComparedCommitInput, opts ...request.Option) (*PostCommentForComparedCommitOutput, error) { + req, out := c.PostCommentForComparedCommitRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPostCommentForPullRequest = "PostCommentForPullRequest" + +// PostCommentForPullRequestRequest generates a "aws/request.Request" representing the +// client's request for the PostCommentForPullRequest operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PostCommentForPullRequest for more information on using the PostCommentForPullRequest +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PostCommentForPullRequestRequest method. +// req, resp := client.PostCommentForPullRequestRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequest +func (c *CodeCommit) PostCommentForPullRequestRequest(input *PostCommentForPullRequestInput) (req *request.Request, output *PostCommentForPullRequestOutput) { + op := &request.Operation{ + Name: opPostCommentForPullRequest, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PostCommentForPullRequestInput{} + } + + output = &PostCommentForPullRequestOutput{} + req = c.newRequest(op, input, output) + return +} + +// PostCommentForPullRequest API operation for AWS CodeCommit. +// +// Posts a comment on a pull request. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation PostCommentForPullRequest for usage and error information. +// +// Returned Error Codes: +// * ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException" +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. +// +// * ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException" +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. +// +// * ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException" +// A pull request ID is required, but none was provided. +// +// * ErrCodeRepositoryNotAssociatedWithPullRequestException "RepositoryNotAssociatedWithPullRequestException" +// The repository does not contain any pull requests with that pull request +// ID. Check to make sure you have provided the correct repository name for +// the pull request. +// +// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" +// A repository name is required but was not specified. +// +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. +// +// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" +// At least one specified repository name is not valid. +// +// This exception only occurs when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. +// +// * ErrCodeClientRequestTokenRequiredException "ClientRequestTokenRequiredException" +// A client request token is required. A client request token is an unique, +// client-generated idempotency token that when provided in a request, ensures +// the request cannot be repeated with a changed parameter. If a request is +// received with the same parameters and a token is included, the request will +// return information about the initial request that used that token. +// +// * ErrCodeInvalidClientRequestTokenException "InvalidClientRequestTokenException" +// The client request token is not valid. +// +// * ErrCodeIdempotencyParameterMismatchException "IdempotencyParameterMismatchException" +// The client request token is not valid. Either the token is not in a valid +// format, or the token has been used in a previous request and cannot be re-used. +// +// * ErrCodeCommentContentRequiredException "CommentContentRequiredException" +// The comment is empty. You must provide some content for a comment. The content +// cannot be null. +// +// * ErrCodeCommentContentSizeLimitExceededException "CommentContentSizeLimitExceededException" +// The comment is too large. Comments are limited to 1,000 characters. +// +// * ErrCodeInvalidFileLocationException "InvalidFileLocationException" +// The location of the file is not valid. Make sure that you include the extension +// of the file as well as the file name. +// +// * ErrCodeInvalidRelativeFileVersionEnumException "InvalidRelativeFileVersionEnumException" +// Either the enum is not in a valid format, or the specified file version enum +// is not valid in respect to the current file version. +// +// * ErrCodePathRequiredException "PathRequiredException" +// The filePath for a location cannot be empty or null. +// +// * ErrCodeInvalidFilePositionException "InvalidFilePositionException" +// The position is not valid. Make sure that the line number exists in the version +// of the file you want to comment on. +// +// * ErrCodeCommitIdRequiredException "CommitIdRequiredException" +// A commit ID was not specified. +// +// * ErrCodeInvalidCommitIdException "InvalidCommitIdException" +// The specified commit ID is not valid. +// +// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" +// An encryption integrity check failed. +// +// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" +// An encryption key could not be accessed. +// +// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" +// The encryption key is disabled. +// +// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" +// No encryption key was found. +// +// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" +// The encryption key is not available. +// +// * ErrCodeCommitDoesNotExistException "CommitDoesNotExistException" +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. +// +// * ErrCodeInvalidPathException "InvalidPathException" +// The specified path is not valid. +// +// * ErrCodePathDoesNotExistException "PathDoesNotExistException" +// The specified path does not exist. +// +// * ErrCodePathRequiredException "PathRequiredException" +// The filePath for a location cannot be empty or null. +// +// * ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException "BeforeCommitIdAndAfterCommitIdAreSameException" +// The before commit ID and the after commit ID are the same, which is not valid. +// The before commit ID and the after commit ID must be different commit IDs. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequest +func (c *CodeCommit) PostCommentForPullRequest(input *PostCommentForPullRequestInput) (*PostCommentForPullRequestOutput, error) { + req, out := c.PostCommentForPullRequestRequest(input) + return out, req.Send() +} + +// PostCommentForPullRequestWithContext is the same as PostCommentForPullRequest with the addition of +// the ability to pass a context and additional request options. +// +// See PostCommentForPullRequest for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) PostCommentForPullRequestWithContext(ctx aws.Context, input *PostCommentForPullRequestInput, opts ...request.Option) (*PostCommentForPullRequestOutput, error) { + req, out := c.PostCommentForPullRequestRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPostCommentReply = "PostCommentReply" + +// PostCommentReplyRequest generates a "aws/request.Request" representing the +// client's request for the PostCommentReply operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PostCommentReply for more information on using the PostCommentReply +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PostCommentReplyRequest method. +// req, resp := client.PostCommentReplyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReply +func (c *CodeCommit) PostCommentReplyRequest(input *PostCommentReplyInput) (req *request.Request, output *PostCommentReplyOutput) { + op := &request.Operation{ + Name: opPostCommentReply, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PostCommentReplyInput{} + } + + output = &PostCommentReplyOutput{} + req = c.newRequest(op, input, output) + return +} + +// PostCommentReply API operation for AWS CodeCommit. +// +// Posts a comment in reply to an existing comment on a comparison between commits +// or a pull request. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation PostCommentReply for usage and error information. +// +// Returned Error Codes: +// * ErrCodeClientRequestTokenRequiredException "ClientRequestTokenRequiredException" +// A client request token is required. A client request token is an unique, +// client-generated idempotency token that when provided in a request, ensures +// the request cannot be repeated with a changed parameter. If a request is +// received with the same parameters and a token is included, the request will +// return information about the initial request that used that token. +// +// * ErrCodeInvalidClientRequestTokenException "InvalidClientRequestTokenException" +// The client request token is not valid. +// +// * ErrCodeIdempotencyParameterMismatchException "IdempotencyParameterMismatchException" +// The client request token is not valid. Either the token is not in a valid +// format, or the token has been used in a previous request and cannot be re-used. +// +// * ErrCodeCommentContentRequiredException "CommentContentRequiredException" +// The comment is empty. You must provide some content for a comment. The content +// cannot be null. +// +// * ErrCodeCommentContentSizeLimitExceededException "CommentContentSizeLimitExceededException" +// The comment is too large. Comments are limited to 1,000 characters. +// +// * ErrCodeCommentDoesNotExistException "CommentDoesNotExistException" +// No comment exists with the provided ID. Verify that you have provided the +// correct ID, and then try again. +// +// * ErrCodeCommentIdRequiredException "CommentIdRequiredException" +// The comment ID is missing or null. A comment ID is required. +// +// * ErrCodeInvalidCommentIdException "InvalidCommentIdException" +// The comment ID is not in a valid format. Make sure that you have provided +// the full comment ID. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReply +func (c *CodeCommit) PostCommentReply(input *PostCommentReplyInput) (*PostCommentReplyOutput, error) { + req, out := c.PostCommentReplyRequest(input) + return out, req.Send() +} + +// PostCommentReplyWithContext is the same as PostCommentReply with the addition of +// the ability to pass a context and additional request options. +// +// See PostCommentReply for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) PostCommentReplyWithContext(ctx aws.Context, input *PostCommentReplyInput, opts ...request.Option) (*PostCommentReplyOutput, error) { + req, out := c.PostCommentReplyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPutRepositoryTriggers = "PutRepositoryTriggers" + +// PutRepositoryTriggersRequest generates a "aws/request.Request" representing the +// client's request for the PutRepositoryTriggers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutRepositoryTriggers for more information on using the PutRepositoryTriggers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PutRepositoryTriggersRequest method. +// req, resp := client.PutRepositoryTriggersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers +func (c *CodeCommit) PutRepositoryTriggersRequest(input *PutRepositoryTriggersInput) (req *request.Request, output *PutRepositoryTriggersOutput) { + op := &request.Operation{ + Name: opPutRepositoryTriggers, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PutRepositoryTriggersInput{} + } + + output = &PutRepositoryTriggersOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutRepositoryTriggers API operation for AWS CodeCommit. +// +// Replaces all triggers for a repository. This can be used to create or delete +// triggers. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation PutRepositoryTriggers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. +// +// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" +// A repository name is required but was not specified. +// +// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" +// At least one specified repository name is not valid. +// +// This exception only occurs when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. +// +// * ErrCodeRepositoryTriggersListRequiredException "RepositoryTriggersListRequiredException" +// The list of triggers for the repository is required but was not specified. +// +// * ErrCodeMaximumRepositoryTriggersExceededException "MaximumRepositoryTriggersExceededException" +// The number of triggers allowed for the repository was exceeded. +// +// * ErrCodeInvalidRepositoryTriggerNameException "InvalidRepositoryTriggerNameException" +// The name of the trigger is not valid. +// +// * ErrCodeInvalidRepositoryTriggerDestinationArnException "InvalidRepositoryTriggerDestinationArnException" +// The Amazon Resource Name (ARN) for the trigger is not valid for the specified +// destination. The most common reason for this error is that the ARN does not +// meet the requirements for the service type. +// +// * ErrCodeInvalidRepositoryTriggerRegionException "InvalidRepositoryTriggerRegionException" +// The region for the trigger target does not match the region for the repository. +// Triggers must be created in the same region as the target for the trigger. +// +// * ErrCodeInvalidRepositoryTriggerCustomDataException "InvalidRepositoryTriggerCustomDataException" +// The custom data provided for the trigger is not valid. +// +// * ErrCodeMaximumBranchesExceededException "MaximumBranchesExceededException" +// The number of branches for the trigger was exceeded. +// +// * ErrCodeInvalidRepositoryTriggerBranchNameException "InvalidRepositoryTriggerBranchNameException" +// One or more branch names specified for the trigger is not valid. +// +// * ErrCodeInvalidRepositoryTriggerEventsException "InvalidRepositoryTriggerEventsException" +// One or more events specified for the trigger is not valid. Check to make +// sure that all events specified match the requirements for allowed events. +// +// * ErrCodeRepositoryTriggerNameRequiredException "RepositoryTriggerNameRequiredException" +// A name for the trigger is required but was not specified. +// +// * ErrCodeRepositoryTriggerDestinationArnRequiredException "RepositoryTriggerDestinationArnRequiredException" +// A destination ARN for the target service for the trigger is required but +// was not specified. +// +// * ErrCodeRepositoryTriggerBranchNameListRequiredException "RepositoryTriggerBranchNameListRequiredException" +// At least one branch name is required but was not specified in the trigger +// configuration. +// +// * ErrCodeRepositoryTriggerEventsListRequiredException "RepositoryTriggerEventsListRequiredException" +// At least one event for the trigger is required but was not specified. +// +// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" +// An encryption integrity check failed. +// +// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" +// An encryption key could not be accessed. +// +// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" +// The encryption key is disabled. +// +// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" +// No encryption key was found. +// +// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" +// The encryption key is not available. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers +func (c *CodeCommit) PutRepositoryTriggers(input *PutRepositoryTriggersInput) (*PutRepositoryTriggersOutput, error) { + req, out := c.PutRepositoryTriggersRequest(input) + return out, req.Send() +} + +// PutRepositoryTriggersWithContext is the same as PutRepositoryTriggers with the addition of +// the ability to pass a context and additional request options. +// +// See PutRepositoryTriggers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) PutRepositoryTriggersWithContext(ctx aws.Context, input *PutRepositoryTriggersInput, opts ...request.Option) (*PutRepositoryTriggersOutput, error) { + req, out := c.PutRepositoryTriggersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opTestRepositoryTriggers = "TestRepositoryTriggers" + +// TestRepositoryTriggersRequest generates a "aws/request.Request" representing the +// client's request for the TestRepositoryTriggers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TestRepositoryTriggers for more information on using the TestRepositoryTriggers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the TestRepositoryTriggersRequest method. +// req, resp := client.TestRepositoryTriggersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers +func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggersInput) (req *request.Request, output *TestRepositoryTriggersOutput) { + op := &request.Operation{ + Name: opTestRepositoryTriggers, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &TestRepositoryTriggersInput{} + } + + output = &TestRepositoryTriggersOutput{} + req = c.newRequest(op, input, output) + return +} + +// TestRepositoryTriggers API operation for AWS CodeCommit. +// +// Tests the functionality of repository triggers by sending information to +// the trigger target. If real data is available in the repository, the test +// will send data from the last commit. If no data is available, sample data +// will be generated. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation TestRepositoryTriggers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. +// +// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" +// A repository name is required but was not specified. +// +// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" +// At least one specified repository name is not valid. +// +// This exception only occurs when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. +// +// * ErrCodeRepositoryTriggersListRequiredException "RepositoryTriggersListRequiredException" +// The list of triggers for the repository is required but was not specified. +// +// * ErrCodeMaximumRepositoryTriggersExceededException "MaximumRepositoryTriggersExceededException" +// The number of triggers allowed for the repository was exceeded. +// +// * ErrCodeInvalidRepositoryTriggerNameException "InvalidRepositoryTriggerNameException" +// The name of the trigger is not valid. +// +// * ErrCodeInvalidRepositoryTriggerDestinationArnException "InvalidRepositoryTriggerDestinationArnException" +// The Amazon Resource Name (ARN) for the trigger is not valid for the specified +// destination. The most common reason for this error is that the ARN does not +// meet the requirements for the service type. +// +// * ErrCodeInvalidRepositoryTriggerRegionException "InvalidRepositoryTriggerRegionException" +// The region for the trigger target does not match the region for the repository. +// Triggers must be created in the same region as the target for the trigger. +// +// * ErrCodeInvalidRepositoryTriggerCustomDataException "InvalidRepositoryTriggerCustomDataException" +// The custom data provided for the trigger is not valid. +// +// * ErrCodeMaximumBranchesExceededException "MaximumBranchesExceededException" +// The number of branches for the trigger was exceeded. +// +// * ErrCodeInvalidRepositoryTriggerBranchNameException "InvalidRepositoryTriggerBranchNameException" +// One or more branch names specified for the trigger is not valid. +// +// * ErrCodeInvalidRepositoryTriggerEventsException "InvalidRepositoryTriggerEventsException" +// One or more events specified for the trigger is not valid. Check to make +// sure that all events specified match the requirements for allowed events. +// +// * ErrCodeRepositoryTriggerNameRequiredException "RepositoryTriggerNameRequiredException" +// A name for the trigger is required but was not specified. +// +// * ErrCodeRepositoryTriggerDestinationArnRequiredException "RepositoryTriggerDestinationArnRequiredException" +// A destination ARN for the target service for the trigger is required but +// was not specified. +// +// * ErrCodeRepositoryTriggerBranchNameListRequiredException "RepositoryTriggerBranchNameListRequiredException" +// At least one branch name is required but was not specified in the trigger +// configuration. +// +// * ErrCodeRepositoryTriggerEventsListRequiredException "RepositoryTriggerEventsListRequiredException" +// At least one event for the trigger is required but was not specified. +// +// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" +// An encryption integrity check failed. +// +// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" +// An encryption key could not be accessed. +// +// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" +// The encryption key is disabled. +// +// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" +// No encryption key was found. +// +// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" +// The encryption key is not available. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers +func (c *CodeCommit) TestRepositoryTriggers(input *TestRepositoryTriggersInput) (*TestRepositoryTriggersOutput, error) { + req, out := c.TestRepositoryTriggersRequest(input) + return out, req.Send() +} + +// TestRepositoryTriggersWithContext is the same as TestRepositoryTriggers with the addition of +// the ability to pass a context and additional request options. +// +// See TestRepositoryTriggers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) TestRepositoryTriggersWithContext(ctx aws.Context, input *TestRepositoryTriggersInput, opts ...request.Option) (*TestRepositoryTriggersOutput, error) { + req, out := c.TestRepositoryTriggersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateComment = "UpdateComment" + +// UpdateCommentRequest generates a "aws/request.Request" representing the +// client's request for the UpdateComment operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateComment for more information on using the UpdateComment +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateCommentRequest method. +// req, resp := client.UpdateCommentRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateComment +func (c *CodeCommit) UpdateCommentRequest(input *UpdateCommentInput) (req *request.Request, output *UpdateCommentOutput) { + op := &request.Operation{ + Name: opUpdateComment, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateCommentInput{} + } + + output = &UpdateCommentOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateComment API operation for AWS CodeCommit. +// +// Replaces the contents of a comment. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation UpdateComment for usage and error information. +// +// Returned Error Codes: +// * ErrCodeCommentContentRequiredException "CommentContentRequiredException" +// The comment is empty. You must provide some content for a comment. The content +// cannot be null. +// +// * ErrCodeCommentContentSizeLimitExceededException "CommentContentSizeLimitExceededException" +// The comment is too large. Comments are limited to 1,000 characters. +// +// * ErrCodeCommentDoesNotExistException "CommentDoesNotExistException" +// No comment exists with the provided ID. Verify that you have provided the +// correct ID, and then try again. +// +// * ErrCodeCommentIdRequiredException "CommentIdRequiredException" +// The comment ID is missing or null. A comment ID is required. +// +// * ErrCodeInvalidCommentIdException "InvalidCommentIdException" +// The comment ID is not in a valid format. Make sure that you have provided +// the full comment ID. +// +// * ErrCodeCommentNotCreatedByCallerException "CommentNotCreatedByCallerException" +// You cannot modify or delete this comment. Only comment authors can modify +// or delete their comments. +// +// * ErrCodeCommentDeletedException "CommentDeletedException" +// This comment has already been deleted. You cannot edit or delete a deleted +// comment. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateComment +func (c *CodeCommit) UpdateComment(input *UpdateCommentInput) (*UpdateCommentOutput, error) { + req, out := c.UpdateCommentRequest(input) + return out, req.Send() +} + +// UpdateCommentWithContext is the same as UpdateComment with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateComment for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) UpdateCommentWithContext(ctx aws.Context, input *UpdateCommentInput, opts ...request.Option) (*UpdateCommentOutput, error) { + req, out := c.UpdateCommentRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateDefaultBranch = "UpdateDefaultBranch" + +// UpdateDefaultBranchRequest generates a "aws/request.Request" representing the +// client's request for the UpdateDefaultBranch operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateDefaultBranch for more information on using the UpdateDefaultBranch +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateDefaultBranchRequest method. +// req, resp := client.UpdateDefaultBranchRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch +func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput) (req *request.Request, output *UpdateDefaultBranchOutput) { + op := &request.Operation{ + Name: opUpdateDefaultBranch, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateDefaultBranchInput{} + } + + output = &UpdateDefaultBranchOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateDefaultBranch API operation for AWS CodeCommit. +// +// Sets or changes the default branch name for the specified repository. +// +// If you use this operation to change the default branch name to the current +// default branch name, a success message is returned even though the default +// branch did not change. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation UpdateDefaultBranch for usage and error information. +// +// Returned Error Codes: +// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" +// A repository name is required but was not specified. +// +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. +// +// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" +// At least one specified repository name is not valid. +// +// This exception only occurs when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. +// +// * ErrCodeBranchNameRequiredException "BranchNameRequiredException" +// A branch name is required but was not specified. +// +// * ErrCodeInvalidBranchNameException "InvalidBranchNameException" +// The specified reference name is not valid. +// +// * ErrCodeBranchDoesNotExistException "BranchDoesNotExistException" +// The specified branch does not exist. +// +// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" +// An encryption integrity check failed. +// +// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" +// An encryption key could not be accessed. +// +// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" +// The encryption key is disabled. +// +// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" +// No encryption key was found. +// +// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" +// The encryption key is not available. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch +func (c *CodeCommit) UpdateDefaultBranch(input *UpdateDefaultBranchInput) (*UpdateDefaultBranchOutput, error) { + req, out := c.UpdateDefaultBranchRequest(input) + return out, req.Send() +} + +// UpdateDefaultBranchWithContext is the same as UpdateDefaultBranch with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateDefaultBranch for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) UpdateDefaultBranchWithContext(ctx aws.Context, input *UpdateDefaultBranchInput, opts ...request.Option) (*UpdateDefaultBranchOutput, error) { + req, out := c.UpdateDefaultBranchRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdatePullRequestDescription = "UpdatePullRequestDescription" + +// UpdatePullRequestDescriptionRequest generates a "aws/request.Request" representing the +// client's request for the UpdatePullRequestDescription operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdatePullRequestDescription for more information on using the UpdatePullRequestDescription +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdatePullRequestDescriptionRequest method. +// req, resp := client.UpdatePullRequestDescriptionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescription +func (c *CodeCommit) UpdatePullRequestDescriptionRequest(input *UpdatePullRequestDescriptionInput) (req *request.Request, output *UpdatePullRequestDescriptionOutput) { + op := &request.Operation{ + Name: opUpdatePullRequestDescription, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdatePullRequestDescriptionInput{} + } + + output = &UpdatePullRequestDescriptionOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdatePullRequestDescription API operation for AWS CodeCommit. +// +// Replaces the contents of the description of a pull request. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation UpdatePullRequestDescription for usage and error information. +// +// Returned Error Codes: +// * ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException" +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. +// +// * ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException" +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. +// +// * ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException" +// A pull request ID is required, but none was provided. +// +// * ErrCodeInvalidDescriptionException "InvalidDescriptionException" +// The pull request description is not valid. Descriptions are limited to 1,000 +// characters in length. +// +// * ErrCodePullRequestAlreadyClosedException "PullRequestAlreadyClosedException" +// The pull request status cannot be updated because it is already closed. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescription +func (c *CodeCommit) UpdatePullRequestDescription(input *UpdatePullRequestDescriptionInput) (*UpdatePullRequestDescriptionOutput, error) { + req, out := c.UpdatePullRequestDescriptionRequest(input) + return out, req.Send() +} + +// UpdatePullRequestDescriptionWithContext is the same as UpdatePullRequestDescription with the addition of +// the ability to pass a context and additional request options. +// +// See UpdatePullRequestDescription for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) UpdatePullRequestDescriptionWithContext(ctx aws.Context, input *UpdatePullRequestDescriptionInput, opts ...request.Option) (*UpdatePullRequestDescriptionOutput, error) { + req, out := c.UpdatePullRequestDescriptionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdatePullRequestStatus = "UpdatePullRequestStatus" + +// UpdatePullRequestStatusRequest generates a "aws/request.Request" representing the +// client's request for the UpdatePullRequestStatus operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdatePullRequestStatus for more information on using the UpdatePullRequestStatus +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdatePullRequestStatusRequest method. +// req, resp := client.UpdatePullRequestStatusRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatus +func (c *CodeCommit) UpdatePullRequestStatusRequest(input *UpdatePullRequestStatusInput) (req *request.Request, output *UpdatePullRequestStatusOutput) { + op := &request.Operation{ + Name: opUpdatePullRequestStatus, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdatePullRequestStatusInput{} + } + + output = &UpdatePullRequestStatusOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdatePullRequestStatus API operation for AWS CodeCommit. +// +// Updates the status of a pull request. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation UpdatePullRequestStatus for usage and error information. +// +// Returned Error Codes: +// * ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException" +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. +// +// * ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException" +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. +// +// * ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException" +// A pull request ID is required, but none was provided. +// +// * ErrCodeInvalidPullRequestStatusUpdateException "InvalidPullRequestStatusUpdateException" +// The pull request status update is not valid. The only valid update is from +// OPEN to CLOSED. +// +// * ErrCodeInvalidPullRequestStatusException "InvalidPullRequestStatusException" +// The pull request status is not valid. The only valid values are OPEN and +// CLOSED. +// +// * ErrCodePullRequestStatusRequiredException "PullRequestStatusRequiredException" +// A pull request status is required, but none was provided. +// +// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" +// An encryption integrity check failed. +// +// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" +// An encryption key could not be accessed. +// +// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" +// The encryption key is disabled. +// +// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" +// No encryption key was found. +// +// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" +// The encryption key is not available. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatus +func (c *CodeCommit) UpdatePullRequestStatus(input *UpdatePullRequestStatusInput) (*UpdatePullRequestStatusOutput, error) { + req, out := c.UpdatePullRequestStatusRequest(input) + return out, req.Send() +} + +// UpdatePullRequestStatusWithContext is the same as UpdatePullRequestStatus with the addition of +// the ability to pass a context and additional request options. +// +// See UpdatePullRequestStatus for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) UpdatePullRequestStatusWithContext(ctx aws.Context, input *UpdatePullRequestStatusInput, opts ...request.Option) (*UpdatePullRequestStatusOutput, error) { + req, out := c.UpdatePullRequestStatusRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdatePullRequestTitle = "UpdatePullRequestTitle" + +// UpdatePullRequestTitleRequest generates a "aws/request.Request" representing the +// client's request for the UpdatePullRequestTitle operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdatePullRequestTitle for more information on using the UpdatePullRequestTitle +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdatePullRequestTitleRequest method. +// req, resp := client.UpdatePullRequestTitleRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitle +func (c *CodeCommit) UpdatePullRequestTitleRequest(input *UpdatePullRequestTitleInput) (req *request.Request, output *UpdatePullRequestTitleOutput) { + op := &request.Operation{ + Name: opUpdatePullRequestTitle, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdatePullRequestTitleInput{} + } + + output = &UpdatePullRequestTitleOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdatePullRequestTitle API operation for AWS CodeCommit. +// +// Replaces the title of a pull request. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation UpdatePullRequestTitle for usage and error information. +// +// Returned Error Codes: +// * ErrCodePullRequestDoesNotExistException "PullRequestDoesNotExistException" +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. +// +// * ErrCodeInvalidPullRequestIdException "InvalidPullRequestIdException" +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. +// +// * ErrCodePullRequestIdRequiredException "PullRequestIdRequiredException" +// A pull request ID is required, but none was provided. +// +// * ErrCodeTitleRequiredException "TitleRequiredException" +// A pull request title is required. It cannot be empty or null. +// +// * ErrCodeInvalidTitleException "InvalidTitleException" +// The title of the pull request is not valid. Pull request titles cannot exceed +// 100 characters in length. +// +// * ErrCodePullRequestAlreadyClosedException "PullRequestAlreadyClosedException" +// The pull request status cannot be updated because it is already closed. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitle +func (c *CodeCommit) UpdatePullRequestTitle(input *UpdatePullRequestTitleInput) (*UpdatePullRequestTitleOutput, error) { + req, out := c.UpdatePullRequestTitleRequest(input) + return out, req.Send() +} + +// UpdatePullRequestTitleWithContext is the same as UpdatePullRequestTitle with the addition of +// the ability to pass a context and additional request options. +// +// See UpdatePullRequestTitle for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) UpdatePullRequestTitleWithContext(ctx aws.Context, input *UpdatePullRequestTitleInput, opts ...request.Option) (*UpdatePullRequestTitleOutput, error) { + req, out := c.UpdatePullRequestTitleRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateRepositoryDescription = "UpdateRepositoryDescription" + +// UpdateRepositoryDescriptionRequest generates a "aws/request.Request" representing the +// client's request for the UpdateRepositoryDescription operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateRepositoryDescription for more information on using the UpdateRepositoryDescription +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateRepositoryDescriptionRequest method. +// req, resp := client.UpdateRepositoryDescriptionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription +func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryDescriptionInput) (req *request.Request, output *UpdateRepositoryDescriptionOutput) { + op := &request.Operation{ + Name: opUpdateRepositoryDescription, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateRepositoryDescriptionInput{} + } + + output = &UpdateRepositoryDescriptionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateRepositoryDescription API operation for AWS CodeCommit. +// +// Sets or changes the comment or description for a repository. +// +// The description field for a repository accepts all HTML characters and all +// valid Unicode characters. Applications that do not HTML-encode the description +// and display it in a web page could expose users to potentially malicious +// code. Make sure that you HTML-encode the description field in any application +// that uses this API to display the repository description on a web page. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation UpdateRepositoryDescription for usage and error information. +// +// Returned Error Codes: +// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" +// A repository name is required but was not specified. +// +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. +// +// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" +// At least one specified repository name is not valid. +// +// This exception only occurs when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. +// +// * ErrCodeInvalidRepositoryDescriptionException "InvalidRepositoryDescriptionException" +// The specified repository description is not valid. +// +// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException" +// An encryption integrity check failed. +// +// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException" +// An encryption key could not be accessed. +// +// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException" +// The encryption key is disabled. +// +// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException" +// No encryption key was found. +// +// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException" +// The encryption key is not available. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription +func (c *CodeCommit) UpdateRepositoryDescription(input *UpdateRepositoryDescriptionInput) (*UpdateRepositoryDescriptionOutput, error) { + req, out := c.UpdateRepositoryDescriptionRequest(input) + return out, req.Send() +} + +// UpdateRepositoryDescriptionWithContext is the same as UpdateRepositoryDescription with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateRepositoryDescription for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) UpdateRepositoryDescriptionWithContext(ctx aws.Context, input *UpdateRepositoryDescriptionInput, opts ...request.Option) (*UpdateRepositoryDescriptionOutput, error) { + req, out := c.UpdateRepositoryDescriptionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateRepositoryName = "UpdateRepositoryName" + +// UpdateRepositoryNameRequest generates a "aws/request.Request" representing the +// client's request for the UpdateRepositoryName operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateRepositoryName for more information on using the UpdateRepositoryName +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateRepositoryNameRequest method. +// req, resp := client.UpdateRepositoryNameRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName +func (c *CodeCommit) UpdateRepositoryNameRequest(input *UpdateRepositoryNameInput) (req *request.Request, output *UpdateRepositoryNameOutput) { + op := &request.Operation{ + Name: opUpdateRepositoryName, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateRepositoryNameInput{} + } + + output = &UpdateRepositoryNameOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateRepositoryName API operation for AWS CodeCommit. +// +// Renames a repository. The repository name must be unique across the calling +// AWS account. In addition, repository names are limited to 100 alphanumeric, +// dash, and underscore characters, and cannot include certain characters. The +// suffix ".git" is prohibited. For a full description of the limits on repository +// names, see Limits (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) +// in the AWS CodeCommit User Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS CodeCommit's +// API operation UpdateRepositoryName for usage and error information. +// +// Returned Error Codes: +// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException" +// The specified repository does not exist. +// +// * ErrCodeRepositoryNameExistsException "RepositoryNameExistsException" +// The specified repository name already exists. +// +// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException" +// A repository name is required but was not specified. +// +// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException" +// At least one specified repository name is not valid. +// +// This exception only occurs when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName +func (c *CodeCommit) UpdateRepositoryName(input *UpdateRepositoryNameInput) (*UpdateRepositoryNameOutput, error) { + req, out := c.UpdateRepositoryNameRequest(input) + return out, req.Send() +} + +// UpdateRepositoryNameWithContext is the same as UpdateRepositoryName with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateRepositoryName for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodeCommit) UpdateRepositoryNameWithContext(ctx aws.Context, input *UpdateRepositoryNameInput, opts ...request.Option) (*UpdateRepositoryNameOutput, error) { + req, out := c.UpdateRepositoryNameRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// Represents the input of a batch get repositories operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositoriesInput +type BatchGetRepositoriesInput struct { + _ struct{} `type:"structure"` + + // The names of the repositories to get information about. + // + // RepositoryNames is a required field + RepositoryNames []*string `locationName:"repositoryNames" type:"list" required:"true"` +} + +// String returns the string representation +func (s BatchGetRepositoriesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BatchGetRepositoriesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchGetRepositoriesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchGetRepositoriesInput"} + if s.RepositoryNames == nil { + invalidParams.Add(request.NewErrParamRequired("RepositoryNames")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRepositoryNames sets the RepositoryNames field's value. +func (s *BatchGetRepositoriesInput) SetRepositoryNames(v []*string) *BatchGetRepositoriesInput { + s.RepositoryNames = v + return s +} // Represents the output of a batch get repositories operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositoriesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositoriesOutput type BatchGetRepositoriesOutput struct { _ struct{} `type:"structure"` - // A list of repositories returned by the batch get repositories operation. - Repositories []*RepositoryMetadata `locationName:"repositories" type:"list"` + // A list of repositories returned by the batch get repositories operation. + Repositories []*RepositoryMetadata `locationName:"repositories" type:"list"` + + // Returns a list of repository names for which information could not be found. + RepositoriesNotFound []*string `locationName:"repositoriesNotFound" type:"list"` +} + +// String returns the string representation +func (s BatchGetRepositoriesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BatchGetRepositoriesOutput) GoString() string { + return s.String() +} + +// SetRepositories sets the Repositories field's value. +func (s *BatchGetRepositoriesOutput) SetRepositories(v []*RepositoryMetadata) *BatchGetRepositoriesOutput { + s.Repositories = v + return s +} + +// SetRepositoriesNotFound sets the RepositoriesNotFound field's value. +func (s *BatchGetRepositoriesOutput) SetRepositoriesNotFound(v []*string) *BatchGetRepositoriesOutput { + s.RepositoriesNotFound = v + return s +} + +// Returns information about a specific Git blob object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BlobMetadata +type BlobMetadata struct { + _ struct{} `type:"structure"` + + // The full ID of the blob. + BlobId *string `locationName:"blobId" type:"string"` + + // The file mode permissions of the blob. File mode permission codes include: + // + // * 100644 indicates read/write + // + // * 100755 indicates read/write/execute + // + // * 160000 indicates a submodule + // + // * 120000 indicates a symlink + Mode *string `locationName:"mode" type:"string"` + + // The path to the blob and any associated file name, if any. + Path *string `locationName:"path" type:"string"` +} + +// String returns the string representation +func (s BlobMetadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BlobMetadata) GoString() string { + return s.String() +} + +// SetBlobId sets the BlobId field's value. +func (s *BlobMetadata) SetBlobId(v string) *BlobMetadata { + s.BlobId = &v + return s +} + +// SetMode sets the Mode field's value. +func (s *BlobMetadata) SetMode(v string) *BlobMetadata { + s.Mode = &v + return s +} + +// SetPath sets the Path field's value. +func (s *BlobMetadata) SetPath(v string) *BlobMetadata { + s.Path = &v + return s +} + +// Returns information about a branch. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchInfo +type BranchInfo struct { + _ struct{} `type:"structure"` + + // The name of the branch. + BranchName *string `locationName:"branchName" min:"1" type:"string"` + + // The ID of the last commit made to the branch. + CommitId *string `locationName:"commitId" type:"string"` +} + +// String returns the string representation +func (s BranchInfo) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BranchInfo) GoString() string { + return s.String() +} + +// SetBranchName sets the BranchName field's value. +func (s *BranchInfo) SetBranchName(v string) *BranchInfo { + s.BranchName = &v + return s +} + +// SetCommitId sets the CommitId field's value. +func (s *BranchInfo) SetCommitId(v string) *BranchInfo { + s.CommitId = &v + return s +} + +// Returns information about a specific comment. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Comment +type Comment struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the person who posted the comment. + AuthorArn *string `locationName:"authorArn" type:"string"` + + // A unique, client-generated idempotency token that when provided in a request, + // ensures the request cannot be repeated with a changed parameter. If a request + // is received with the same parameters and a token is included, the request + // will return information about the initial request that used that token. + ClientRequestToken *string `locationName:"clientRequestToken" type:"string"` + + // The system-generated comment ID. + CommentId *string `locationName:"commentId" type:"string"` + + // The content of the comment. + Content *string `locationName:"content" type:"string"` + + // The date and time the comment was created, in timestamp format. + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + + // A Boolean value indicating whether the comment has been deleted. + Deleted *bool `locationName:"deleted" type:"boolean"` + + // The ID of the comment for which this comment is a reply, if any. + InReplyTo *string `locationName:"inReplyTo" type:"string"` + + // The date and time the comment was most recently modified, in timestamp format. + LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` +} + +// String returns the string representation +func (s Comment) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Comment) GoString() string { + return s.String() +} + +// SetAuthorArn sets the AuthorArn field's value. +func (s *Comment) SetAuthorArn(v string) *Comment { + s.AuthorArn = &v + return s +} + +// SetClientRequestToken sets the ClientRequestToken field's value. +func (s *Comment) SetClientRequestToken(v string) *Comment { + s.ClientRequestToken = &v + return s +} + +// SetCommentId sets the CommentId field's value. +func (s *Comment) SetCommentId(v string) *Comment { + s.CommentId = &v + return s +} + +// SetContent sets the Content field's value. +func (s *Comment) SetContent(v string) *Comment { + s.Content = &v + return s +} + +// SetCreationDate sets the CreationDate field's value. +func (s *Comment) SetCreationDate(v time.Time) *Comment { + s.CreationDate = &v + return s +} + +// SetDeleted sets the Deleted field's value. +func (s *Comment) SetDeleted(v bool) *Comment { + s.Deleted = &v + return s +} + +// SetInReplyTo sets the InReplyTo field's value. +func (s *Comment) SetInReplyTo(v string) *Comment { + s.InReplyTo = &v + return s +} + +// SetLastModifiedDate sets the LastModifiedDate field's value. +func (s *Comment) SetLastModifiedDate(v time.Time) *Comment { + s.LastModifiedDate = &v + return s +} + +// Returns information about comments on the comparison between two commits. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentsForComparedCommit +type CommentsForComparedCommit struct { + _ struct{} `type:"structure"` + + // The full blob ID of the commit used to establish the 'after' of the comparison. + AfterBlobId *string `locationName:"afterBlobId" type:"string"` + + // The full commit ID of the commit used to establish the 'after' of the comparison. + AfterCommitId *string `locationName:"afterCommitId" type:"string"` + + // The full blob ID of the commit used to establish the 'before' of the comparison. + BeforeBlobId *string `locationName:"beforeBlobId" type:"string"` + + // The full commit ID of the commit used to establish the 'before' of the comparison. + BeforeCommitId *string `locationName:"beforeCommitId" type:"string"` + + // An array of comment objects. Each comment object contains information about + // a comment on the comparison between commits. + Comments []*Comment `locationName:"comments" type:"list"` + + // Location information about the comment on the comparison, including the file + // name, line number, and whether the version of the file where the comment + // was made is 'BEFORE' or 'AFTER'. + Location *Location `locationName:"location" type:"structure"` + + // The name of the repository that contains the compared commits. + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` +} + +// String returns the string representation +func (s CommentsForComparedCommit) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CommentsForComparedCommit) GoString() string { + return s.String() +} + +// SetAfterBlobId sets the AfterBlobId field's value. +func (s *CommentsForComparedCommit) SetAfterBlobId(v string) *CommentsForComparedCommit { + s.AfterBlobId = &v + return s +} + +// SetAfterCommitId sets the AfterCommitId field's value. +func (s *CommentsForComparedCommit) SetAfterCommitId(v string) *CommentsForComparedCommit { + s.AfterCommitId = &v + return s +} + +// SetBeforeBlobId sets the BeforeBlobId field's value. +func (s *CommentsForComparedCommit) SetBeforeBlobId(v string) *CommentsForComparedCommit { + s.BeforeBlobId = &v + return s +} + +// SetBeforeCommitId sets the BeforeCommitId field's value. +func (s *CommentsForComparedCommit) SetBeforeCommitId(v string) *CommentsForComparedCommit { + s.BeforeCommitId = &v + return s +} + +// SetComments sets the Comments field's value. +func (s *CommentsForComparedCommit) SetComments(v []*Comment) *CommentsForComparedCommit { + s.Comments = v + return s +} + +// SetLocation sets the Location field's value. +func (s *CommentsForComparedCommit) SetLocation(v *Location) *CommentsForComparedCommit { + s.Location = v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *CommentsForComparedCommit) SetRepositoryName(v string) *CommentsForComparedCommit { + s.RepositoryName = &v + return s +} + +// Returns information about comments on a pull request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentsForPullRequest +type CommentsForPullRequest struct { + _ struct{} `type:"structure"` + + // The full blob ID of the file on which you want to comment on the source commit. + AfterBlobId *string `locationName:"afterBlobId" type:"string"` + + // he full commit ID of the commit that was the tip of the source branch at + // the time the comment was made. + AfterCommitId *string `locationName:"afterCommitId" type:"string"` + + // The full blob ID of the file on which you want to comment on the destination + // commit. + BeforeBlobId *string `locationName:"beforeBlobId" type:"string"` + + // The full commit ID of the commit that was the tip of the destination branch + // when the pull request was created. This commit will be superceded by the + // after commit in the source branch when and if you merge the source branch + // into the destination branch. + BeforeCommitId *string `locationName:"beforeCommitId" type:"string"` + + // An array of comment objects. Each comment object contains information about + // a comment on the pull request. + Comments []*Comment `locationName:"comments" type:"list"` + + // Location information about the comment on the pull request, including the + // file name, line number, and whether the version of the file where the comment + // was made is 'BEFORE' (destination branch) or 'AFTER' (source branch). + Location *Location `locationName:"location" type:"structure"` + + // The system-generated ID of the pull request. + PullRequestId *string `locationName:"pullRequestId" type:"string"` + + // The name of the repository that contains the pull request. + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` +} + +// String returns the string representation +func (s CommentsForPullRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CommentsForPullRequest) GoString() string { + return s.String() +} + +// SetAfterBlobId sets the AfterBlobId field's value. +func (s *CommentsForPullRequest) SetAfterBlobId(v string) *CommentsForPullRequest { + s.AfterBlobId = &v + return s +} + +// SetAfterCommitId sets the AfterCommitId field's value. +func (s *CommentsForPullRequest) SetAfterCommitId(v string) *CommentsForPullRequest { + s.AfterCommitId = &v + return s +} + +// SetBeforeBlobId sets the BeforeBlobId field's value. +func (s *CommentsForPullRequest) SetBeforeBlobId(v string) *CommentsForPullRequest { + s.BeforeBlobId = &v + return s +} + +// SetBeforeCommitId sets the BeforeCommitId field's value. +func (s *CommentsForPullRequest) SetBeforeCommitId(v string) *CommentsForPullRequest { + s.BeforeCommitId = &v + return s +} + +// SetComments sets the Comments field's value. +func (s *CommentsForPullRequest) SetComments(v []*Comment) *CommentsForPullRequest { + s.Comments = v + return s +} + +// SetLocation sets the Location field's value. +func (s *CommentsForPullRequest) SetLocation(v *Location) *CommentsForPullRequest { + s.Location = v + return s +} + +// SetPullRequestId sets the PullRequestId field's value. +func (s *CommentsForPullRequest) SetPullRequestId(v string) *CommentsForPullRequest { + s.PullRequestId = &v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *CommentsForPullRequest) SetRepositoryName(v string) *CommentsForPullRequest { + s.RepositoryName = &v + return s +} + +// Returns information about a specific commit. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Commit +type Commit struct { + _ struct{} `type:"structure"` + + // Any additional data associated with the specified commit. + AdditionalData *string `locationName:"additionalData" type:"string"` + + // Information about the author of the specified commit. Information includes + // the date in timestamp format with GMT offset, the name of the author, and + // the email address for the author, as configured in Git. + Author *UserInfo `locationName:"author" type:"structure"` + + // The full SHA of the specified commit. + CommitId *string `locationName:"commitId" type:"string"` + + // Information about the person who committed the specified commit, also known + // as the committer. Information includes the date in timestamp format with + // GMT offset, the name of the committer, and the email address for the committer, + // as configured in Git. + // + // For more information about the difference between an author and a committer + // in Git, see Viewing the Commit History (http://git-scm.com/book/ch2-3.html) + // in Pro Git by Scott Chacon and Ben Straub. + Committer *UserInfo `locationName:"committer" type:"structure"` + + // The commit message associated with the specified commit. + Message *string `locationName:"message" type:"string"` + + // The parent list for the specified commit. + Parents []*string `locationName:"parents" type:"list"` + + // Tree information for the specified commit. + TreeId *string `locationName:"treeId" type:"string"` +} + +// String returns the string representation +func (s Commit) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Commit) GoString() string { + return s.String() +} + +// SetAdditionalData sets the AdditionalData field's value. +func (s *Commit) SetAdditionalData(v string) *Commit { + s.AdditionalData = &v + return s +} + +// SetAuthor sets the Author field's value. +func (s *Commit) SetAuthor(v *UserInfo) *Commit { + s.Author = v + return s +} + +// SetCommitId sets the CommitId field's value. +func (s *Commit) SetCommitId(v string) *Commit { + s.CommitId = &v + return s +} + +// SetCommitter sets the Committer field's value. +func (s *Commit) SetCommitter(v *UserInfo) *Commit { + s.Committer = v + return s +} + +// SetMessage sets the Message field's value. +func (s *Commit) SetMessage(v string) *Commit { + s.Message = &v + return s +} + +// SetParents sets the Parents field's value. +func (s *Commit) SetParents(v []*string) *Commit { + s.Parents = v + return s +} + +// SetTreeId sets the TreeId field's value. +func (s *Commit) SetTreeId(v string) *Commit { + s.TreeId = &v + return s +} + +// Represents the input of a create branch operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranchInput +type CreateBranchInput struct { + _ struct{} `type:"structure"` + + // The name of the new branch to create. + // + // BranchName is a required field + BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"` + + // The ID of the commit to point the new branch to. + // + // CommitId is a required field + CommitId *string `locationName:"commitId" type:"string" required:"true"` + + // The name of the repository in which you want to create the new branch. + // + // RepositoryName is a required field + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateBranchInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateBranchInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateBranchInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateBranchInput"} + if s.BranchName == nil { + invalidParams.Add(request.NewErrParamRequired("BranchName")) + } + if s.BranchName != nil && len(*s.BranchName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BranchName", 1)) + } + if s.CommitId == nil { + invalidParams.Add(request.NewErrParamRequired("CommitId")) + } + if s.RepositoryName == nil { + invalidParams.Add(request.NewErrParamRequired("RepositoryName")) + } + if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBranchName sets the BranchName field's value. +func (s *CreateBranchInput) SetBranchName(v string) *CreateBranchInput { + s.BranchName = &v + return s +} + +// SetCommitId sets the CommitId field's value. +func (s *CreateBranchInput) SetCommitId(v string) *CreateBranchInput { + s.CommitId = &v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *CreateBranchInput) SetRepositoryName(v string) *CreateBranchInput { + s.RepositoryName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranchOutput +type CreateBranchOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s CreateBranchOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateBranchOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestInput +type CreatePullRequestInput struct { + _ struct{} `type:"structure"` + + // A unique, client-generated idempotency token that when provided in a request, + // ensures the request cannot be repeated with a changed parameter. If a request + // is received with the same parameters and a token is included, the request + // will return information about the initial request that used that token. + // + // The AWS SDKs prepopulate client request tokens. If using an AWS SDK, you + // do not have to generate an idempotency token, as this will be done for you. + ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` + + // A description of the pull request. + Description *string `locationName:"description" type:"string"` + + // The targets for the pull request, including the source of the code to be + // reviewed (the source branch), and the destination where the creator of the + // pull request intends the code to be merged after the pull request is closed + // (the destination branch). + // + // Targets is a required field + Targets []*Target `locationName:"targets" type:"list" required:"true"` + + // The title of the pull request. This title will be used to identify the pull + // request to other users in the repository. + // + // Title is a required field + Title *string `locationName:"title" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreatePullRequestInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreatePullRequestInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreatePullRequestInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreatePullRequestInput"} + if s.Targets == nil { + invalidParams.Add(request.NewErrParamRequired("Targets")) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Targets != nil { + for i, v := range s.Targets { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Targets", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientRequestToken sets the ClientRequestToken field's value. +func (s *CreatePullRequestInput) SetClientRequestToken(v string) *CreatePullRequestInput { + s.ClientRequestToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreatePullRequestInput) SetDescription(v string) *CreatePullRequestInput { + s.Description = &v + return s +} + +// SetTargets sets the Targets field's value. +func (s *CreatePullRequestInput) SetTargets(v []*Target) *CreatePullRequestInput { + s.Targets = v + return s +} + +// SetTitle sets the Title field's value. +func (s *CreatePullRequestInput) SetTitle(v string) *CreatePullRequestInput { + s.Title = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestOutput +type CreatePullRequestOutput struct { + _ struct{} `type:"structure"` + + // Information about the newly created pull request. + // + // PullRequest is a required field + PullRequest *PullRequest `locationName:"pullRequest" type:"structure" required:"true"` +} + +// String returns the string representation +func (s CreatePullRequestOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreatePullRequestOutput) GoString() string { + return s.String() +} + +// SetPullRequest sets the PullRequest field's value. +func (s *CreatePullRequestOutput) SetPullRequest(v *PullRequest) *CreatePullRequestOutput { + s.PullRequest = v + return s +} + +// Represents the input of a create repository operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepositoryInput +type CreateRepositoryInput struct { + _ struct{} `type:"structure"` + + // A comment or description about the new repository. + // + // The description field for a repository accepts all HTML characters and all + // valid Unicode characters. Applications that do not HTML-encode the description + // and display it in a web page could expose users to potentially malicious + // code. Make sure that you HTML-encode the description field in any application + // that uses this API to display the repository description on a web page. + RepositoryDescription *string `locationName:"repositoryDescription" type:"string"` + + // The name of the new repository to be created. + // + // The repository name must be unique across the calling AWS account. In addition, + // repository names are limited to 100 alphanumeric, dash, and underscore characters, + // and cannot include certain characters. For a full description of the limits + // on repository names, see Limits (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) + // in the AWS CodeCommit User Guide. The suffix ".git" is prohibited. + // + // RepositoryName is a required field + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateRepositoryInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateRepositoryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateRepositoryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateRepositoryInput"} + if s.RepositoryName == nil { + invalidParams.Add(request.NewErrParamRequired("RepositoryName")) + } + if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRepositoryDescription sets the RepositoryDescription field's value. +func (s *CreateRepositoryInput) SetRepositoryDescription(v string) *CreateRepositoryInput { + s.RepositoryDescription = &v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *CreateRepositoryInput) SetRepositoryName(v string) *CreateRepositoryInput { + s.RepositoryName = &v + return s +} + +// Represents the output of a create repository operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepositoryOutput +type CreateRepositoryOutput struct { + _ struct{} `type:"structure"` + + // Information about the newly created repository. + RepositoryMetadata *RepositoryMetadata `locationName:"repositoryMetadata" type:"structure"` +} + +// String returns the string representation +func (s CreateRepositoryOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateRepositoryOutput) GoString() string { + return s.String() +} + +// SetRepositoryMetadata sets the RepositoryMetadata field's value. +func (s *CreateRepositoryOutput) SetRepositoryMetadata(v *RepositoryMetadata) *CreateRepositoryOutput { + s.RepositoryMetadata = v + return s +} + +// Represents the input of a delete branch operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranchInput +type DeleteBranchInput struct { + _ struct{} `type:"structure"` + + // The name of the branch to delete. + // + // BranchName is a required field + BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"` + + // The name of the repository that contains the branch to be deleted. + // + // RepositoryName is a required field + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteBranchInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteBranchInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteBranchInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteBranchInput"} + if s.BranchName == nil { + invalidParams.Add(request.NewErrParamRequired("BranchName")) + } + if s.BranchName != nil && len(*s.BranchName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BranchName", 1)) + } + if s.RepositoryName == nil { + invalidParams.Add(request.NewErrParamRequired("RepositoryName")) + } + if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBranchName sets the BranchName field's value. +func (s *DeleteBranchInput) SetBranchName(v string) *DeleteBranchInput { + s.BranchName = &v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *DeleteBranchInput) SetRepositoryName(v string) *DeleteBranchInput { + s.RepositoryName = &v + return s +} + +// Represents the output of a delete branch operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranchOutput +type DeleteBranchOutput struct { + _ struct{} `type:"structure"` + + // Information about the branch deleted by the operation, including the branch + // name and the commit ID that was the tip of the branch. + DeletedBranch *BranchInfo `locationName:"deletedBranch" type:"structure"` +} + +// String returns the string representation +func (s DeleteBranchOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteBranchOutput) GoString() string { + return s.String() +} + +// SetDeletedBranch sets the DeletedBranch field's value. +func (s *DeleteBranchOutput) SetDeletedBranch(v *BranchInfo) *DeleteBranchOutput { + s.DeletedBranch = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContentInput +type DeleteCommentContentInput struct { + _ struct{} `type:"structure"` + + // The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit + // or GetCommentsForPullRequest. + // + // CommentId is a required field + CommentId *string `locationName:"commentId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteCommentContentInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteCommentContentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteCommentContentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteCommentContentInput"} + if s.CommentId == nil { + invalidParams.Add(request.NewErrParamRequired("CommentId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCommentId sets the CommentId field's value. +func (s *DeleteCommentContentInput) SetCommentId(v string) *DeleteCommentContentInput { + s.CommentId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContentOutput +type DeleteCommentContentOutput struct { + _ struct{} `type:"structure"` + + // Information about the comment you just deleted. + Comment *Comment `locationName:"comment" type:"structure"` +} + +// String returns the string representation +func (s DeleteCommentContentOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteCommentContentOutput) GoString() string { + return s.String() +} + +// SetComment sets the Comment field's value. +func (s *DeleteCommentContentOutput) SetComment(v *Comment) *DeleteCommentContentOutput { + s.Comment = v + return s +} + +// Represents the input of a delete repository operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepositoryInput +type DeleteRepositoryInput struct { + _ struct{} `type:"structure"` + + // The name of the repository to delete. + // + // RepositoryName is a required field + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteRepositoryInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteRepositoryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteRepositoryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteRepositoryInput"} + if s.RepositoryName == nil { + invalidParams.Add(request.NewErrParamRequired("RepositoryName")) + } + if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *DeleteRepositoryInput) SetRepositoryName(v string) *DeleteRepositoryInput { + s.RepositoryName = &v + return s +} + +// Represents the output of a delete repository operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepositoryOutput +type DeleteRepositoryOutput struct { + _ struct{} `type:"structure"` + + // The ID of the repository that was deleted. + RepositoryId *string `locationName:"repositoryId" type:"string"` +} + +// String returns the string representation +func (s DeleteRepositoryOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteRepositoryOutput) GoString() string { + return s.String() +} + +// SetRepositoryId sets the RepositoryId field's value. +func (s *DeleteRepositoryOutput) SetRepositoryId(v string) *DeleteRepositoryOutput { + s.RepositoryId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEventsInput +type DescribePullRequestEventsInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the user whose actions resulted in the + // event. Examples include updating the pull request with additional commits + // or changing the status of a pull request. + ActorArn *string `locationName:"actorArn" type:"string"` + + // A non-negative integer used to limit the number of returned results. The + // default is 100 events, which is also the maximum number of events that can + // be returned in a result. + MaxResults *int64 `locationName:"maxResults" type:"integer"` + + // An enumeration token that when provided in a request, returns the next batch + // of the results. + NextToken *string `locationName:"nextToken" type:"string"` + + // Optional. The pull request event type about which you want to return information. + PullRequestEventType *string `locationName:"pullRequestEventType" type:"string" enum:"PullRequestEventType"` + + // The system-generated ID of the pull request. To get this ID, use ListPullRequests. + // + // PullRequestId is a required field + PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribePullRequestEventsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribePullRequestEventsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribePullRequestEventsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribePullRequestEventsInput"} + if s.PullRequestId == nil { + invalidParams.Add(request.NewErrParamRequired("PullRequestId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActorArn sets the ActorArn field's value. +func (s *DescribePullRequestEventsInput) SetActorArn(v string) *DescribePullRequestEventsInput { + s.ActorArn = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribePullRequestEventsInput) SetMaxResults(v int64) *DescribePullRequestEventsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribePullRequestEventsInput) SetNextToken(v string) *DescribePullRequestEventsInput { + s.NextToken = &v + return s +} + +// SetPullRequestEventType sets the PullRequestEventType field's value. +func (s *DescribePullRequestEventsInput) SetPullRequestEventType(v string) *DescribePullRequestEventsInput { + s.PullRequestEventType = &v + return s +} + +// SetPullRequestId sets the PullRequestId field's value. +func (s *DescribePullRequestEventsInput) SetPullRequestId(v string) *DescribePullRequestEventsInput { + s.PullRequestId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEventsOutput +type DescribePullRequestEventsOutput struct { + _ struct{} `type:"structure"` + + // An enumeration token that can be used in a request to return the next batch + // of the results. + NextToken *string `locationName:"nextToken" type:"string"` + + // Information about the pull request events. + // + // PullRequestEvents is a required field + PullRequestEvents []*PullRequestEvent `locationName:"pullRequestEvents" type:"list" required:"true"` +} + +// String returns the string representation +func (s DescribePullRequestEventsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribePullRequestEventsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribePullRequestEventsOutput) SetNextToken(v string) *DescribePullRequestEventsOutput { + s.NextToken = &v + return s +} + +// SetPullRequestEvents sets the PullRequestEvents field's value. +func (s *DescribePullRequestEventsOutput) SetPullRequestEvents(v []*PullRequestEvent) *DescribePullRequestEventsOutput { + s.PullRequestEvents = v + return s +} + +// Returns information about a set of differences for a commit specifier. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Difference +type Difference struct { + _ struct{} `type:"structure"` + + // Information about an afterBlob data type object, including the ID, the file + // mode permission code, and the path. + AfterBlob *BlobMetadata `locationName:"afterBlob" type:"structure"` + + // Information about a beforeBlob data type object, including the ID, the file + // mode permission code, and the path. + BeforeBlob *BlobMetadata `locationName:"beforeBlob" type:"structure"` + + // Whether the change type of the difference is an addition (A), deletion (D), + // or modification (M). + ChangeType *string `locationName:"changeType" type:"string" enum:"ChangeTypeEnum"` +} + +// String returns the string representation +func (s Difference) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Difference) GoString() string { + return s.String() +} + +// SetAfterBlob sets the AfterBlob field's value. +func (s *Difference) SetAfterBlob(v *BlobMetadata) *Difference { + s.AfterBlob = v + return s +} + +// SetBeforeBlob sets the BeforeBlob field's value. +func (s *Difference) SetBeforeBlob(v *BlobMetadata) *Difference { + s.BeforeBlob = v + return s +} + +// SetChangeType sets the ChangeType field's value. +func (s *Difference) SetChangeType(v string) *Difference { + s.ChangeType = &v + return s +} + +// Represents the input of a get blob operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlobInput +type GetBlobInput struct { + _ struct{} `type:"structure"` + + // The ID of the blob, which is its SHA-1 pointer. + // + // BlobId is a required field + BlobId *string `locationName:"blobId" type:"string" required:"true"` + + // The name of the repository that contains the blob. + // + // RepositoryName is a required field + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetBlobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBlobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetBlobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetBlobInput"} + if s.BlobId == nil { + invalidParams.Add(request.NewErrParamRequired("BlobId")) + } + if s.RepositoryName == nil { + invalidParams.Add(request.NewErrParamRequired("RepositoryName")) + } + if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBlobId sets the BlobId field's value. +func (s *GetBlobInput) SetBlobId(v string) *GetBlobInput { + s.BlobId = &v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *GetBlobInput) SetRepositoryName(v string) *GetBlobInput { + s.RepositoryName = &v + return s +} + +// Represents the output of a get blob operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlobOutput +type GetBlobOutput struct { + _ struct{} `type:"structure"` + + // The content of the blob, usually a file. + // + // Content is automatically base64 encoded/decoded by the SDK. + // + // Content is a required field + Content []byte `locationName:"content" type:"blob" required:"true"` +} + +// String returns the string representation +func (s GetBlobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBlobOutput) GoString() string { + return s.String() +} + +// SetContent sets the Content field's value. +func (s *GetBlobOutput) SetContent(v []byte) *GetBlobOutput { + s.Content = v + return s +} + +// Represents the input of a get branch operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranchInput +type GetBranchInput struct { + _ struct{} `type:"structure"` + + // The name of the branch for which you want to retrieve information. + BranchName *string `locationName:"branchName" min:"1" type:"string"` + + // The name of the repository that contains the branch for which you want to + // retrieve information. + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` +} + +// String returns the string representation +func (s GetBranchInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBranchInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetBranchInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetBranchInput"} + if s.BranchName != nil && len(*s.BranchName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BranchName", 1)) + } + if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBranchName sets the BranchName field's value. +func (s *GetBranchInput) SetBranchName(v string) *GetBranchInput { + s.BranchName = &v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *GetBranchInput) SetRepositoryName(v string) *GetBranchInput { + s.RepositoryName = &v + return s +} + +// Represents the output of a get branch operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranchOutput +type GetBranchOutput struct { + _ struct{} `type:"structure"` + + // The name of the branch. + Branch *BranchInfo `locationName:"branch" type:"structure"` +} + +// String returns the string representation +func (s GetBranchOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBranchOutput) GoString() string { + return s.String() +} + +// SetBranch sets the Branch field's value. +func (s *GetBranchOutput) SetBranch(v *BranchInfo) *GetBranchOutput { + s.Branch = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentInput +type GetCommentInput struct { + _ struct{} `type:"structure"` + + // The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit + // or GetCommentsForPullRequest. + // + // CommentId is a required field + CommentId *string `locationName:"commentId" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetCommentInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetCommentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetCommentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCommentInput"} + if s.CommentId == nil { + invalidParams.Add(request.NewErrParamRequired("CommentId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCommentId sets the CommentId field's value. +func (s *GetCommentInput) SetCommentId(v string) *GetCommentInput { + s.CommentId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentOutput +type GetCommentOutput struct { + _ struct{} `type:"structure"` + + // The contents of the comment. + Comment *Comment `locationName:"comment" type:"structure"` +} + +// String returns the string representation +func (s GetCommentOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetCommentOutput) GoString() string { + return s.String() +} + +// SetComment sets the Comment field's value. +func (s *GetCommentOutput) SetComment(v *Comment) *GetCommentOutput { + s.Comment = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommitInput +type GetCommentsForComparedCommitInput struct { + _ struct{} `type:"structure"` + + // To establish the directionality of the comparison, the full commit ID of + // the 'after' commit. + // + // AfterCommitId is a required field + AfterCommitId *string `locationName:"afterCommitId" type:"string" required:"true"` + + // To establish the directionality of the comparison, the full commit ID of + // the 'before' commit. + BeforeCommitId *string `locationName:"beforeCommitId" type:"string"` + + // A non-negative integer used to limit the number of returned results. The + // default is 100 comments, and is configurable up to 500. + MaxResults *int64 `locationName:"maxResults" type:"integer"` + + // An enumeration token that when provided in a request, returns the next batch + // of the results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The name of the repository where you want to compare commits. + // + // RepositoryName is a required field + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetCommentsForComparedCommitInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetCommentsForComparedCommitInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetCommentsForComparedCommitInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCommentsForComparedCommitInput"} + if s.AfterCommitId == nil { + invalidParams.Add(request.NewErrParamRequired("AfterCommitId")) + } + if s.RepositoryName == nil { + invalidParams.Add(request.NewErrParamRequired("RepositoryName")) + } + if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAfterCommitId sets the AfterCommitId field's value. +func (s *GetCommentsForComparedCommitInput) SetAfterCommitId(v string) *GetCommentsForComparedCommitInput { + s.AfterCommitId = &v + return s +} + +// SetBeforeCommitId sets the BeforeCommitId field's value. +func (s *GetCommentsForComparedCommitInput) SetBeforeCommitId(v string) *GetCommentsForComparedCommitInput { + s.BeforeCommitId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetCommentsForComparedCommitInput) SetMaxResults(v int64) *GetCommentsForComparedCommitInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetCommentsForComparedCommitInput) SetNextToken(v string) *GetCommentsForComparedCommitInput { + s.NextToken = &v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *GetCommentsForComparedCommitInput) SetRepositoryName(v string) *GetCommentsForComparedCommitInput { + s.RepositoryName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommitOutput +type GetCommentsForComparedCommitOutput struct { + _ struct{} `type:"structure"` + + // A list of comment objects on the compared commit. + CommentsForComparedCommitData []*CommentsForComparedCommit `locationName:"commentsForComparedCommitData" type:"list"` + + // An enumeration token that can be used in a request to return the next batch + // of the results. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetCommentsForComparedCommitOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetCommentsForComparedCommitOutput) GoString() string { + return s.String() +} + +// SetCommentsForComparedCommitData sets the CommentsForComparedCommitData field's value. +func (s *GetCommentsForComparedCommitOutput) SetCommentsForComparedCommitData(v []*CommentsForComparedCommit) *GetCommentsForComparedCommitOutput { + s.CommentsForComparedCommitData = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetCommentsForComparedCommitOutput) SetNextToken(v string) *GetCommentsForComparedCommitOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequestInput +type GetCommentsForPullRequestInput struct { + _ struct{} `type:"structure"` + + // The full commit ID of the commit in the source branch that was the tip of + // the branch at the time the comment was made. + AfterCommitId *string `locationName:"afterCommitId" type:"string"` + + // The full commit ID of the commit in the destination branch that was the tip + // of the branch at the time the pull request was created. + BeforeCommitId *string `locationName:"beforeCommitId" type:"string"` + + // A non-negative integer used to limit the number of returned results. The + // default is 100 comments. You can return up to 500 comments with a single + // request. + MaxResults *int64 `locationName:"maxResults" type:"integer"` + + // An enumeration token that when provided in a request, returns the next batch + // of the results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The system-generated ID of the pull request. To get this ID, use ListPullRequests. + // + // PullRequestId is a required field + PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"` + + // The name of the repository that contains the pull request. + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` +} + +// String returns the string representation +func (s GetCommentsForPullRequestInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetCommentsForPullRequestInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetCommentsForPullRequestInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCommentsForPullRequestInput"} + if s.PullRequestId == nil { + invalidParams.Add(request.NewErrParamRequired("PullRequestId")) + } + if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAfterCommitId sets the AfterCommitId field's value. +func (s *GetCommentsForPullRequestInput) SetAfterCommitId(v string) *GetCommentsForPullRequestInput { + s.AfterCommitId = &v + return s +} + +// SetBeforeCommitId sets the BeforeCommitId field's value. +func (s *GetCommentsForPullRequestInput) SetBeforeCommitId(v string) *GetCommentsForPullRequestInput { + s.BeforeCommitId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetCommentsForPullRequestInput) SetMaxResults(v int64) *GetCommentsForPullRequestInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetCommentsForPullRequestInput) SetNextToken(v string) *GetCommentsForPullRequestInput { + s.NextToken = &v + return s +} + +// SetPullRequestId sets the PullRequestId field's value. +func (s *GetCommentsForPullRequestInput) SetPullRequestId(v string) *GetCommentsForPullRequestInput { + s.PullRequestId = &v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *GetCommentsForPullRequestInput) SetRepositoryName(v string) *GetCommentsForPullRequestInput { + s.RepositoryName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequestOutput +type GetCommentsForPullRequestOutput struct { + _ struct{} `type:"structure"` + + // An array of comment objects on the pull request. + CommentsForPullRequestData []*CommentsForPullRequest `locationName:"commentsForPullRequestData" type:"list"` + + // An enumeration token that can be used in a request to return the next batch + // of the results. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetCommentsForPullRequestOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetCommentsForPullRequestOutput) GoString() string { + return s.String() +} + +// SetCommentsForPullRequestData sets the CommentsForPullRequestData field's value. +func (s *GetCommentsForPullRequestOutput) SetCommentsForPullRequestData(v []*CommentsForPullRequest) *GetCommentsForPullRequestOutput { + s.CommentsForPullRequestData = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetCommentsForPullRequestOutput) SetNextToken(v string) *GetCommentsForPullRequestOutput { + s.NextToken = &v + return s +} + +// Represents the input of a get commit operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommitInput +type GetCommitInput struct { + _ struct{} `type:"structure"` + + // The commit ID. Commit IDs are the full SHA of the commit. + // + // CommitId is a required field + CommitId *string `locationName:"commitId" type:"string" required:"true"` + + // The name of the repository to which the commit was made. + // + // RepositoryName is a required field + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetCommitInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetCommitInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetCommitInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCommitInput"} + if s.CommitId == nil { + invalidParams.Add(request.NewErrParamRequired("CommitId")) + } + if s.RepositoryName == nil { + invalidParams.Add(request.NewErrParamRequired("RepositoryName")) + } + if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCommitId sets the CommitId field's value. +func (s *GetCommitInput) SetCommitId(v string) *GetCommitInput { + s.CommitId = &v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *GetCommitInput) SetRepositoryName(v string) *GetCommitInput { + s.RepositoryName = &v + return s +} + +// Represents the output of a get commit operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommitOutput +type GetCommitOutput struct { + _ struct{} `type:"structure"` + + // A commit data type object that contains information about the specified commit. + // + // Commit is a required field + Commit *Commit `locationName:"commit" type:"structure" required:"true"` +} + +// String returns the string representation +func (s GetCommitOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetCommitOutput) GoString() string { + return s.String() +} + +// SetCommit sets the Commit field's value. +func (s *GetCommitOutput) SetCommit(v *Commit) *GetCommitOutput { + s.Commit = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferencesInput +type GetDifferencesInput struct { + _ struct{} `type:"structure"` + + // The branch, tag, HEAD, or other fully qualified reference used to identify + // a commit. + // + // AfterCommitSpecifier is a required field + AfterCommitSpecifier *string `locationName:"afterCommitSpecifier" type:"string" required:"true"` + + // The file path in which to check differences. Limits the results to this path. + // Can also be used to specify the changed name of a directory or folder, if + // it has changed. If not specified, differences will be shown for all paths. + AfterPath *string `locationName:"afterPath" type:"string"` + + // The branch, tag, HEAD, or other fully qualified reference used to identify + // a commit. For example, the full commit ID. Optional. If not specified, all + // changes prior to the afterCommitSpecifier value will be shown. If you do + // not use beforeCommitSpecifier in your request, consider limiting the results + // with maxResults. + BeforeCommitSpecifier *string `locationName:"beforeCommitSpecifier" type:"string"` + + // The file path in which to check for differences. Limits the results to this + // path. Can also be used to specify the previous name of a directory or folder. + // If beforePath and afterPath are not specified, differences will be shown + // for all paths. + BeforePath *string `locationName:"beforePath" type:"string"` + + // A non-negative integer used to limit the number of returned results. + MaxResults *int64 `type:"integer"` + + // An enumeration token that when provided in a request, returns the next batch + // of the results. + NextToken *string `type:"string"` + + // The name of the repository where you want to get differences. + // + // RepositoryName is a required field + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetDifferencesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetDifferencesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetDifferencesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetDifferencesInput"} + if s.AfterCommitSpecifier == nil { + invalidParams.Add(request.NewErrParamRequired("AfterCommitSpecifier")) + } + if s.RepositoryName == nil { + invalidParams.Add(request.NewErrParamRequired("RepositoryName")) + } + if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAfterCommitSpecifier sets the AfterCommitSpecifier field's value. +func (s *GetDifferencesInput) SetAfterCommitSpecifier(v string) *GetDifferencesInput { + s.AfterCommitSpecifier = &v + return s +} + +// SetAfterPath sets the AfterPath field's value. +func (s *GetDifferencesInput) SetAfterPath(v string) *GetDifferencesInput { + s.AfterPath = &v + return s +} + +// SetBeforeCommitSpecifier sets the BeforeCommitSpecifier field's value. +func (s *GetDifferencesInput) SetBeforeCommitSpecifier(v string) *GetDifferencesInput { + s.BeforeCommitSpecifier = &v + return s +} + +// SetBeforePath sets the BeforePath field's value. +func (s *GetDifferencesInput) SetBeforePath(v string) *GetDifferencesInput { + s.BeforePath = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetDifferencesInput) SetMaxResults(v int64) *GetDifferencesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetDifferencesInput) SetNextToken(v string) *GetDifferencesInput { + s.NextToken = &v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *GetDifferencesInput) SetRepositoryName(v string) *GetDifferencesInput { + s.RepositoryName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferencesOutput +type GetDifferencesOutput struct { + _ struct{} `type:"structure"` + + // A differences data type object that contains information about the differences, + // including whether the difference is added, modified, or deleted (A, D, M). + Differences []*Difference `locationName:"differences" type:"list"` - // Returns a list of repository names for which information could not be found. - RepositoriesNotFound []*string `locationName:"repositoriesNotFound" type:"list"` + // An enumeration token that can be used in a request to return the next batch + // of the results. + NextToken *string `type:"string"` } // String returns the string representation -func (s BatchGetRepositoriesOutput) String() string { +func (s GetDifferencesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s BatchGetRepositoriesOutput) GoString() string { +func (s GetDifferencesOutput) GoString() string { return s.String() } -// SetRepositories sets the Repositories field's value. -func (s *BatchGetRepositoriesOutput) SetRepositories(v []*RepositoryMetadata) *BatchGetRepositoriesOutput { - s.Repositories = v +// SetDifferences sets the Differences field's value. +func (s *GetDifferencesOutput) SetDifferences(v []*Difference) *GetDifferencesOutput { + s.Differences = v return s } -// SetRepositoriesNotFound sets the RepositoriesNotFound field's value. -func (s *BatchGetRepositoriesOutput) SetRepositoriesNotFound(v []*string) *BatchGetRepositoriesOutput { - s.RepositoriesNotFound = v +// SetNextToken sets the NextToken field's value. +func (s *GetDifferencesOutput) SetNextToken(v string) *GetDifferencesOutput { + s.NextToken = &v return s } -// Returns information about a specific Git blob object. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BlobMetadata -type BlobMetadata struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflictsInput +type GetMergeConflictsInput struct { _ struct{} `type:"structure"` - // The full ID of the blob. - BlobId *string `locationName:"blobId" type:"string"` - - // The file mode permissions of the blob. File mode permission codes include: - // - // * 100644 indicates read/write + // The branch, tag, HEAD, or other fully qualified reference used to identify + // a commit. For example, a branch name or a full commit ID. // - // * 100755 indicates read/write/execute + // DestinationCommitSpecifier is a required field + DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"` + + // The merge option or strategy you want to use to merge the code. The only + // valid value is FAST_FORWARD_MERGE. // - // * 160000 indicates a submodule + // MergeOption is a required field + MergeOption *string `locationName:"mergeOption" type:"string" required:"true" enum:"MergeOptionTypeEnum"` + + // The name of the repository where the pull request was created. // - // * 120000 indicates a symlink - Mode *string `locationName:"mode" type:"string"` + // RepositoryName is a required field + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` - // The path to the blob and any associated file name, if any. - Path *string `locationName:"path" type:"string"` + // The branch, tag, HEAD, or other fully qualified reference used to identify + // a commit. For example, a branch name or a full commit ID. + // + // SourceCommitSpecifier is a required field + SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"` } // String returns the string representation -func (s BlobMetadata) String() string { +func (s GetMergeConflictsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s BlobMetadata) GoString() string { +func (s GetMergeConflictsInput) GoString() string { return s.String() } -// SetBlobId sets the BlobId field's value. -func (s *BlobMetadata) SetBlobId(v string) *BlobMetadata { - s.BlobId = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetMergeConflictsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetMergeConflictsInput"} + if s.DestinationCommitSpecifier == nil { + invalidParams.Add(request.NewErrParamRequired("DestinationCommitSpecifier")) + } + if s.MergeOption == nil { + invalidParams.Add(request.NewErrParamRequired("MergeOption")) + } + if s.RepositoryName == nil { + invalidParams.Add(request.NewErrParamRequired("RepositoryName")) + } + if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + } + if s.SourceCommitSpecifier == nil { + invalidParams.Add(request.NewErrParamRequired("SourceCommitSpecifier")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value. +func (s *GetMergeConflictsInput) SetDestinationCommitSpecifier(v string) *GetMergeConflictsInput { + s.DestinationCommitSpecifier = &v return s } -// SetMode sets the Mode field's value. -func (s *BlobMetadata) SetMode(v string) *BlobMetadata { - s.Mode = &v +// SetMergeOption sets the MergeOption field's value. +func (s *GetMergeConflictsInput) SetMergeOption(v string) *GetMergeConflictsInput { + s.MergeOption = &v return s } -// SetPath sets the Path field's value. -func (s *BlobMetadata) SetPath(v string) *BlobMetadata { - s.Path = &v +// SetRepositoryName sets the RepositoryName field's value. +func (s *GetMergeConflictsInput) SetRepositoryName(v string) *GetMergeConflictsInput { + s.RepositoryName = &v return s } -// Returns information about a branch. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchInfo -type BranchInfo struct { +// SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value. +func (s *GetMergeConflictsInput) SetSourceCommitSpecifier(v string) *GetMergeConflictsInput { + s.SourceCommitSpecifier = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflictsOutput +type GetMergeConflictsOutput struct { _ struct{} `type:"structure"` - // The name of the branch. - BranchName *string `locationName:"branchName" min:"1" type:"string"` + // The commit ID of the destination commit specifier that was used in the merge + // evaluation. + // + // DestinationCommitId is a required field + DestinationCommitId *string `locationName:"destinationCommitId" type:"string" required:"true"` - // The ID of the last commit made to the branch. - CommitId *string `locationName:"commitId" type:"string"` + // A Boolean value that indicates whether the code is mergable by the specified + // merge option. + // + // Mergeable is a required field + Mergeable *bool `locationName:"mergeable" type:"boolean" required:"true"` + + // The commit ID of the source commit specifier that was used in the merge evaluation. + // + // SourceCommitId is a required field + SourceCommitId *string `locationName:"sourceCommitId" type:"string" required:"true"` } // String returns the string representation -func (s BranchInfo) String() string { +func (s GetMergeConflictsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s BranchInfo) GoString() string { +func (s GetMergeConflictsOutput) GoString() string { return s.String() } -// SetBranchName sets the BranchName field's value. -func (s *BranchInfo) SetBranchName(v string) *BranchInfo { - s.BranchName = &v +// SetDestinationCommitId sets the DestinationCommitId field's value. +func (s *GetMergeConflictsOutput) SetDestinationCommitId(v string) *GetMergeConflictsOutput { + s.DestinationCommitId = &v return s } -// SetCommitId sets the CommitId field's value. -func (s *BranchInfo) SetCommitId(v string) *BranchInfo { - s.CommitId = &v +// SetMergeable sets the Mergeable field's value. +func (s *GetMergeConflictsOutput) SetMergeable(v bool) *GetMergeConflictsOutput { + s.Mergeable = &v return s } -// Returns information about a specific commit. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Commit -type Commit struct { - _ struct{} `type:"structure"` - - // Any additional data associated with the specified commit. - AdditionalData *string `locationName:"additionalData" type:"string"` - - // Information about the author of the specified commit. Information includes - // the date in timestamp format with GMT offset, the name of the author, and - // the email address for the author, as configured in Git. - Author *UserInfo `locationName:"author" type:"structure"` +// SetSourceCommitId sets the SourceCommitId field's value. +func (s *GetMergeConflictsOutput) SetSourceCommitId(v string) *GetMergeConflictsOutput { + s.SourceCommitId = &v + return s +} - // The full SHA of the specified commit. - CommitId *string `locationName:"commitId" type:"string"` +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestInput +type GetPullRequestInput struct { + _ struct{} `type:"structure"` - // Information about the person who committed the specified commit, also known - // as the committer. Information includes the date in timestamp format with - // GMT offset, the name of the committer, and the email address for the committer, - // as configured in Git. + // The system-generated ID of the pull request. To get this ID, use ListPullRequests. // - // For more information about the difference between an author and a committer - // in Git, see Viewing the Commit History (http://git-scm.com/book/ch2-3.html) - // in Pro Git by Scott Chacon and Ben Straub. - Committer *UserInfo `locationName:"committer" type:"structure"` - - // The commit message associated with the specified commit. - Message *string `locationName:"message" type:"string"` - - // The parent list for the specified commit. - Parents []*string `locationName:"parents" type:"list"` - - // Tree information for the specified commit. - TreeId *string `locationName:"treeId" type:"string"` + // PullRequestId is a required field + PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"` } // String returns the string representation -func (s Commit) String() string { +func (s GetPullRequestInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s Commit) GoString() string { +func (s GetPullRequestInput) GoString() string { return s.String() } -// SetAdditionalData sets the AdditionalData field's value. -func (s *Commit) SetAdditionalData(v string) *Commit { - s.AdditionalData = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetPullRequestInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetPullRequestInput"} + if s.PullRequestId == nil { + invalidParams.Add(request.NewErrParamRequired("PullRequestId")) + } -// SetAuthor sets the Author field's value. -func (s *Commit) SetAuthor(v *UserInfo) *Commit { - s.Author = v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetCommitId sets the CommitId field's value. -func (s *Commit) SetCommitId(v string) *Commit { - s.CommitId = &v +// SetPullRequestId sets the PullRequestId field's value. +func (s *GetPullRequestInput) SetPullRequestId(v string) *GetPullRequestInput { + s.PullRequestId = &v return s } -// SetCommitter sets the Committer field's value. -func (s *Commit) SetCommitter(v *UserInfo) *Commit { - s.Committer = v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOutput +type GetPullRequestOutput struct { + _ struct{} `type:"structure"` + + // Information about the specified pull request. + // + // PullRequest is a required field + PullRequest *PullRequest `locationName:"pullRequest" type:"structure" required:"true"` } -// SetMessage sets the Message field's value. -func (s *Commit) SetMessage(v string) *Commit { - s.Message = &v - return s +// String returns the string representation +func (s GetPullRequestOutput) String() string { + return awsutil.Prettify(s) } -// SetParents sets the Parents field's value. -func (s *Commit) SetParents(v []*string) *Commit { - s.Parents = v - return s +// GoString returns the string representation +func (s GetPullRequestOutput) GoString() string { + return s.String() } -// SetTreeId sets the TreeId field's value. -func (s *Commit) SetTreeId(v string) *Commit { - s.TreeId = &v +// SetPullRequest sets the PullRequest field's value. +func (s *GetPullRequestOutput) SetPullRequest(v *PullRequest) *GetPullRequestOutput { + s.PullRequest = v return s } -// Represents the input of a create branch operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranchInput -type CreateBranchInput struct { +// Represents the input of a get repository operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryInput +type GetRepositoryInput struct { _ struct{} `type:"structure"` - // The name of the new branch to create. - // - // BranchName is a required field - BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"` - - // The ID of the commit to point the new branch to. - // - // CommitId is a required field - CommitId *string `locationName:"commitId" type:"string" required:"true"` - - // The name of the repository in which you want to create the new branch. + // The name of the repository to get information about. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s CreateBranchInput) String() string { +func (s GetRepositoryInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateBranchInput) GoString() string { +func (s GetRepositoryInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateBranchInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateBranchInput"} - if s.BranchName == nil { - invalidParams.Add(request.NewErrParamRequired("BranchName")) - } - if s.BranchName != nil && len(*s.BranchName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("BranchName", 1)) - } - if s.CommitId == nil { - invalidParams.Add(request.NewErrParamRequired("CommitId")) - } +func (s *GetRepositoryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetRepositoryInput"} if s.RepositoryName == nil { invalidParams.Add(request.NewErrParamRequired("RepositoryName")) } @@ -2573,78 +6717,61 @@ func (s *CreateBranchInput) Validate() error { return nil } -// SetBranchName sets the BranchName field's value. -func (s *CreateBranchInput) SetBranchName(v string) *CreateBranchInput { - s.BranchName = &v - return s -} - -// SetCommitId sets the CommitId field's value. -func (s *CreateBranchInput) SetCommitId(v string) *CreateBranchInput { - s.CommitId = &v - return s -} - // SetRepositoryName sets the RepositoryName field's value. -func (s *CreateBranchInput) SetRepositoryName(v string) *CreateBranchInput { +func (s *GetRepositoryInput) SetRepositoryName(v string) *GetRepositoryInput { s.RepositoryName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranchOutput -type CreateBranchOutput struct { +// Represents the output of a get repository operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryOutput +type GetRepositoryOutput struct { _ struct{} `type:"structure"` + + // Information about the repository. + RepositoryMetadata *RepositoryMetadata `locationName:"repositoryMetadata" type:"structure"` } // String returns the string representation -func (s CreateBranchOutput) String() string { +func (s GetRepositoryOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateBranchOutput) GoString() string { +func (s GetRepositoryOutput) GoString() string { return s.String() } -// Represents the input of a create repository operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepositoryInput -type CreateRepositoryInput struct { +// SetRepositoryMetadata sets the RepositoryMetadata field's value. +func (s *GetRepositoryOutput) SetRepositoryMetadata(v *RepositoryMetadata) *GetRepositoryOutput { + s.RepositoryMetadata = v + return s +} + +// Represents the input of a get repository triggers operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersInput +type GetRepositoryTriggersInput struct { _ struct{} `type:"structure"` - // A comment or description about the new repository. - // - // The description field for a repository accepts all HTML characters and all - // valid Unicode characters. Applications that do not HTML-encode the description - // and display it in a web page could expose users to potentially malicious - // code. Make sure that you HTML-encode the description field in any application - // that uses this API to display the repository description on a web page. - RepositoryDescription *string `locationName:"repositoryDescription" type:"string"` - - // The name of the new repository to be created. - // - // The repository name must be unique across the calling AWS account. In addition, - // repository names are limited to 100 alphanumeric, dash, and underscore characters, - // and cannot include certain characters. For a full description of the limits - // on repository names, see Limits (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) - // in the AWS CodeCommit User Guide. The suffix ".git" is prohibited. + // The name of the repository for which the trigger is configured. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s CreateRepositoryInput) String() string { +func (s GetRepositoryTriggersInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateRepositoryInput) GoString() string { +func (s GetRepositoryTriggersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateRepositoryInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateRepositoryInput"} +func (s *GetRepositoryTriggersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetRepositoryTriggersInput"} if s.RepositoryName == nil { invalidParams.Add(request.NewErrParamRequired("RepositoryName")) } @@ -2658,78 +6785,73 @@ func (s *CreateRepositoryInput) Validate() error { return nil } -// SetRepositoryDescription sets the RepositoryDescription field's value. -func (s *CreateRepositoryInput) SetRepositoryDescription(v string) *CreateRepositoryInput { - s.RepositoryDescription = &v - return s -} - // SetRepositoryName sets the RepositoryName field's value. -func (s *CreateRepositoryInput) SetRepositoryName(v string) *CreateRepositoryInput { +func (s *GetRepositoryTriggersInput) SetRepositoryName(v string) *GetRepositoryTriggersInput { s.RepositoryName = &v return s } -// Represents the output of a create repository operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepositoryOutput -type CreateRepositoryOutput struct { +// Represents the output of a get repository triggers operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersOutput +type GetRepositoryTriggersOutput struct { _ struct{} `type:"structure"` - // Information about the newly created repository. - RepositoryMetadata *RepositoryMetadata `locationName:"repositoryMetadata" type:"structure"` + // The system-generated unique ID for the trigger. + ConfigurationId *string `locationName:"configurationId" type:"string"` + + // The JSON block of configuration information for each trigger. + Triggers []*RepositoryTrigger `locationName:"triggers" type:"list"` } // String returns the string representation -func (s CreateRepositoryOutput) String() string { +func (s GetRepositoryTriggersOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateRepositoryOutput) GoString() string { +func (s GetRepositoryTriggersOutput) GoString() string { return s.String() } -// SetRepositoryMetadata sets the RepositoryMetadata field's value. -func (s *CreateRepositoryOutput) SetRepositoryMetadata(v *RepositoryMetadata) *CreateRepositoryOutput { - s.RepositoryMetadata = v +// SetConfigurationId sets the ConfigurationId field's value. +func (s *GetRepositoryTriggersOutput) SetConfigurationId(v string) *GetRepositoryTriggersOutput { + s.ConfigurationId = &v return s } -// Represents the input of a delete branch operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranchInput -type DeleteBranchInput struct { +// SetTriggers sets the Triggers field's value. +func (s *GetRepositoryTriggersOutput) SetTriggers(v []*RepositoryTrigger) *GetRepositoryTriggersOutput { + s.Triggers = v + return s +} + +// Represents the input of a list branches operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranchesInput +type ListBranchesInput struct { _ struct{} `type:"structure"` - // The name of the branch to delete. - // - // BranchName is a required field - BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"` + // An enumeration token that allows the operation to batch the results. + NextToken *string `locationName:"nextToken" type:"string"` - // The name of the repository that contains the branch to be deleted. + // The name of the repository that contains the branches. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DeleteBranchInput) String() string { +func (s ListBranchesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteBranchInput) GoString() string { +func (s ListBranchesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteBranchInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteBranchInput"} - if s.BranchName == nil { - invalidParams.Add(request.NewErrParamRequired("BranchName")) - } - if s.BranchName != nil && len(*s.BranchName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("BranchName", 1)) - } +func (s *ListBranchesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListBranchesInput"} if s.RepositoryName == nil { invalidParams.Add(request.NewErrParamRequired("RepositoryName")) } @@ -2743,68 +6865,91 @@ func (s *DeleteBranchInput) Validate() error { return nil } -// SetBranchName sets the BranchName field's value. -func (s *DeleteBranchInput) SetBranchName(v string) *DeleteBranchInput { - s.BranchName = &v +// SetNextToken sets the NextToken field's value. +func (s *ListBranchesInput) SetNextToken(v string) *ListBranchesInput { + s.NextToken = &v return s } // SetRepositoryName sets the RepositoryName field's value. -func (s *DeleteBranchInput) SetRepositoryName(v string) *DeleteBranchInput { +func (s *ListBranchesInput) SetRepositoryName(v string) *ListBranchesInput { s.RepositoryName = &v return s } -// Represents the output of a delete branch operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranchOutput -type DeleteBranchOutput struct { +// Represents the output of a list branches operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranchesOutput +type ListBranchesOutput struct { _ struct{} `type:"structure"` - // Information about the branch deleted by the operation, including the branch - // name and the commit ID that was the tip of the branch. - DeletedBranch *BranchInfo `locationName:"deletedBranch" type:"structure"` + // The list of branch names. + Branches []*string `locationName:"branches" type:"list"` + + // An enumeration token that returns the batch of the results. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation -func (s DeleteBranchOutput) String() string { +func (s ListBranchesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteBranchOutput) GoString() string { +func (s ListBranchesOutput) GoString() string { return s.String() } -// SetDeletedBranch sets the DeletedBranch field's value. -func (s *DeleteBranchOutput) SetDeletedBranch(v *BranchInfo) *DeleteBranchOutput { - s.DeletedBranch = v +// SetBranches sets the Branches field's value. +func (s *ListBranchesOutput) SetBranches(v []*string) *ListBranchesOutput { + s.Branches = v return s } -// Represents the input of a delete repository operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepositoryInput -type DeleteRepositoryInput struct { +// SetNextToken sets the NextToken field's value. +func (s *ListBranchesOutput) SetNextToken(v string) *ListBranchesOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequestsInput +type ListPullRequestsInput struct { _ struct{} `type:"structure"` - // The name of the repository to delete. + // Optional. The Amazon Resource Name (ARN) of the user who created the pull + // request. If used, this filters the results to pull requests created by that + // user. + AuthorArn *string `locationName:"authorArn" type:"string"` + + // A non-negative integer used to limit the number of returned results. + MaxResults *int64 `locationName:"maxResults" type:"integer"` + + // An enumeration token that when provided in a request, returns the next batch + // of the results. + NextToken *string `locationName:"nextToken" type:"string"` + + // Optional. The status of the pull request. If used, this refines the results + // to the pull requests that match the specified status. + PullRequestStatus *string `locationName:"pullRequestStatus" type:"string" enum:"PullRequestStatusEnum"` + + // The name of the repository for which you want to list pull requests. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DeleteRepositoryInput) String() string { +func (s ListPullRequestsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteRepositoryInput) GoString() string { +func (s ListPullRequestsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteRepositoryInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteRepositoryInput"} +func (s *ListPullRequestsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListPullRequestsInput"} if s.RepositoryName == nil { invalidParams.Add(request.NewErrParamRequired("RepositoryName")) } @@ -2818,197 +6963,274 @@ func (s *DeleteRepositoryInput) Validate() error { return nil } +// SetAuthorArn sets the AuthorArn field's value. +func (s *ListPullRequestsInput) SetAuthorArn(v string) *ListPullRequestsInput { + s.AuthorArn = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListPullRequestsInput) SetMaxResults(v int64) *ListPullRequestsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListPullRequestsInput) SetNextToken(v string) *ListPullRequestsInput { + s.NextToken = &v + return s +} + +// SetPullRequestStatus sets the PullRequestStatus field's value. +func (s *ListPullRequestsInput) SetPullRequestStatus(v string) *ListPullRequestsInput { + s.PullRequestStatus = &v + return s +} + // SetRepositoryName sets the RepositoryName field's value. -func (s *DeleteRepositoryInput) SetRepositoryName(v string) *DeleteRepositoryInput { +func (s *ListPullRequestsInput) SetRepositoryName(v string) *ListPullRequestsInput { s.RepositoryName = &v return s } -// Represents the output of a delete repository operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepositoryOutput -type DeleteRepositoryOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequestsOutput +type ListPullRequestsOutput struct { _ struct{} `type:"structure"` - // The ID of the repository that was deleted. - RepositoryId *string `locationName:"repositoryId" type:"string"` + // An enumeration token that when provided in a request, returns the next batch + // of the results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The system-generated IDs of the pull requests. + // + // PullRequestIds is a required field + PullRequestIds []*string `locationName:"pullRequestIds" type:"list" required:"true"` } // String returns the string representation -func (s DeleteRepositoryOutput) String() string { +func (s ListPullRequestsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteRepositoryOutput) GoString() string { +func (s ListPullRequestsOutput) GoString() string { return s.String() } -// SetRepositoryId sets the RepositoryId field's value. -func (s *DeleteRepositoryOutput) SetRepositoryId(v string) *DeleteRepositoryOutput { - s.RepositoryId = &v +// SetNextToken sets the NextToken field's value. +func (s *ListPullRequestsOutput) SetNextToken(v string) *ListPullRequestsOutput { + s.NextToken = &v return s } -// Returns information about a set of differences for a commit specifier. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Difference -type Difference struct { +// SetPullRequestIds sets the PullRequestIds field's value. +func (s *ListPullRequestsOutput) SetPullRequestIds(v []*string) *ListPullRequestsOutput { + s.PullRequestIds = v + return s +} + +// Represents the input of a list repositories operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesInput +type ListRepositoriesInput struct { _ struct{} `type:"structure"` - // Information about an afterBlob data type object, including the ID, the file - // mode permission code, and the path. - AfterBlob *BlobMetadata `locationName:"afterBlob" type:"structure"` + // An enumeration token that allows the operation to batch the results of the + // operation. Batch sizes are 1,000 for list repository operations. When the + // client sends the token back to AWS CodeCommit, another page of 1,000 records + // is retrieved. + NextToken *string `locationName:"nextToken" type:"string"` - // Information about a beforeBlob data type object, including the ID, the file - // mode permission code, and the path. - BeforeBlob *BlobMetadata `locationName:"beforeBlob" type:"structure"` + // The order in which to sort the results of a list repositories operation. + Order *string `locationName:"order" type:"string" enum:"OrderEnum"` - // Whether the change type of the difference is an addition (A), deletion (D), - // or modification (M). - ChangeType *string `locationName:"changeType" type:"string" enum:"ChangeTypeEnum"` + // The criteria used to sort the results of a list repositories operation. + SortBy *string `locationName:"sortBy" type:"string" enum:"SortByEnum"` } // String returns the string representation -func (s Difference) String() string { +func (s ListRepositoriesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s Difference) GoString() string { +func (s ListRepositoriesInput) GoString() string { return s.String() } -// SetAfterBlob sets the AfterBlob field's value. -func (s *Difference) SetAfterBlob(v *BlobMetadata) *Difference { - s.AfterBlob = v +// SetNextToken sets the NextToken field's value. +func (s *ListRepositoriesInput) SetNextToken(v string) *ListRepositoriesInput { + s.NextToken = &v return s } -// SetBeforeBlob sets the BeforeBlob field's value. -func (s *Difference) SetBeforeBlob(v *BlobMetadata) *Difference { - s.BeforeBlob = v +// SetOrder sets the Order field's value. +func (s *ListRepositoriesInput) SetOrder(v string) *ListRepositoriesInput { + s.Order = &v return s } -// SetChangeType sets the ChangeType field's value. -func (s *Difference) SetChangeType(v string) *Difference { - s.ChangeType = &v +// SetSortBy sets the SortBy field's value. +func (s *ListRepositoriesInput) SetSortBy(v string) *ListRepositoriesInput { + s.SortBy = &v + return s +} + +// Represents the output of a list repositories operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesOutput +type ListRepositoriesOutput struct { + _ struct{} `type:"structure"` + + // An enumeration token that allows the operation to batch the results of the + // operation. Batch sizes are 1,000 for list repository operations. When the + // client sends the token back to AWS CodeCommit, another page of 1,000 records + // is retrieved. + NextToken *string `locationName:"nextToken" type:"string"` + + // Lists the repositories called by the list repositories operation. + Repositories []*RepositoryNameIdPair `locationName:"repositories" type:"list"` +} + +// String returns the string representation +func (s ListRepositoriesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListRepositoriesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListRepositoriesOutput) SetNextToken(v string) *ListRepositoriesOutput { + s.NextToken = &v + return s +} + +// SetRepositories sets the Repositories field's value. +func (s *ListRepositoriesOutput) SetRepositories(v []*RepositoryNameIdPair) *ListRepositoriesOutput { + s.Repositories = v return s } -// Represents the input of a get blob operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlobInput -type GetBlobInput struct { +// Returns information about the location of a change or comment in the comparison +// between two commits or a pull request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Location +type Location struct { _ struct{} `type:"structure"` - // The ID of the blob, which is its SHA-1 pointer. - // - // BlobId is a required field - BlobId *string `locationName:"blobId" type:"string" required:"true"` + // The name of the file being compared, including its extension and subdirectory, + // if any. + FilePath *string `locationName:"filePath" type:"string"` - // The name of the repository that contains the blob. - // - // RepositoryName is a required field - RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` + // The position of a change within a compared file, in line number format. + FilePosition *int64 `locationName:"filePosition" type:"long"` + + // In a comparison of commits or a pull request, whether the change is in the + // 'before' or 'after' of that comparison. + RelativeFileVersion *string `locationName:"relativeFileVersion" type:"string" enum:"RelativeFileVersionEnum"` } // String returns the string representation -func (s GetBlobInput) String() string { +func (s Location) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetBlobInput) GoString() string { +func (s Location) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GetBlobInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetBlobInput"} - if s.BlobId == nil { - invalidParams.Add(request.NewErrParamRequired("BlobId")) - } - if s.RepositoryName == nil { - invalidParams.Add(request.NewErrParamRequired("RepositoryName")) - } - if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetFilePath sets the FilePath field's value. +func (s *Location) SetFilePath(v string) *Location { + s.FilePath = &v + return s } -// SetBlobId sets the BlobId field's value. -func (s *GetBlobInput) SetBlobId(v string) *GetBlobInput { - s.BlobId = &v +// SetFilePosition sets the FilePosition field's value. +func (s *Location) SetFilePosition(v int64) *Location { + s.FilePosition = &v return s } -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetBlobInput) SetRepositoryName(v string) *GetBlobInput { - s.RepositoryName = &v +// SetRelativeFileVersion sets the RelativeFileVersion field's value. +func (s *Location) SetRelativeFileVersion(v string) *Location { + s.RelativeFileVersion = &v return s } -// Represents the output of a get blob operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlobOutput -type GetBlobOutput struct { +// Returns information about a merge or potential merge between a source reference +// and a destination reference in a pull request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeMetadata +type MergeMetadata struct { _ struct{} `type:"structure"` - // The content of the blob, usually a file. - // - // Content is automatically base64 encoded/decoded by the SDK. - // - // Content is a required field - Content []byte `locationName:"content" type:"blob" required:"true"` + // A Boolean value indicating whether the merge has been made. + IsMerged *bool `locationName:"isMerged" type:"boolean"` + + // The Amazon Resource Name (ARN) of the user who merged the branches. + MergedBy *string `locationName:"mergedBy" type:"string"` } // String returns the string representation -func (s GetBlobOutput) String() string { +func (s MergeMetadata) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetBlobOutput) GoString() string { +func (s MergeMetadata) GoString() string { return s.String() } -// SetContent sets the Content field's value. -func (s *GetBlobOutput) SetContent(v []byte) *GetBlobOutput { - s.Content = v +// SetIsMerged sets the IsMerged field's value. +func (s *MergeMetadata) SetIsMerged(v bool) *MergeMetadata { + s.IsMerged = &v return s } -// Represents the input of a get branch operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranchInput -type GetBranchInput struct { +// SetMergedBy sets the MergedBy field's value. +func (s *MergeMetadata) SetMergedBy(v string) *MergeMetadata { + s.MergedBy = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForwardInput +type MergePullRequestByFastForwardInput struct { _ struct{} `type:"structure"` - // The name of the branch for which you want to retrieve information. - BranchName *string `locationName:"branchName" min:"1" type:"string"` + // The system-generated ID of the pull request. To get this ID, use ListPullRequests. + // + // PullRequestId is a required field + PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"` - // The name of the repository that contains the branch for which you want to - // retrieve information. - RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` + // The name of the repository where the pull request was created. + // + // RepositoryName is a required field + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` + + // The full commit ID of the original or updated commit in the pull request + // source branch. Pass this value if you want an exception thrown if the current + // commit ID of the tip of the source branch does not match this commit ID. + SourceCommitId *string `locationName:"sourceCommitId" type:"string"` } // String returns the string representation -func (s GetBranchInput) String() string { +func (s MergePullRequestByFastForwardInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetBranchInput) GoString() string { +func (s MergePullRequestByFastForwardInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetBranchInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetBranchInput"} - if s.BranchName != nil && len(*s.BranchName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("BranchName", 1)) +func (s *MergePullRequestByFastForwardInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MergePullRequestByFastForwardInput"} + if s.PullRequestId == nil { + invalidParams.Add(request.NewErrParamRequired("PullRequestId")) + } + if s.RepositoryName == nil { + invalidParams.Add(request.NewErrParamRequired("RepositoryName")) } if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) @@ -3020,74 +7242,102 @@ func (s *GetBranchInput) Validate() error { return nil } -// SetBranchName sets the BranchName field's value. -func (s *GetBranchInput) SetBranchName(v string) *GetBranchInput { - s.BranchName = &v +// SetPullRequestId sets the PullRequestId field's value. +func (s *MergePullRequestByFastForwardInput) SetPullRequestId(v string) *MergePullRequestByFastForwardInput { + s.PullRequestId = &v return s } // SetRepositoryName sets the RepositoryName field's value. -func (s *GetBranchInput) SetRepositoryName(v string) *GetBranchInput { +func (s *MergePullRequestByFastForwardInput) SetRepositoryName(v string) *MergePullRequestByFastForwardInput { s.RepositoryName = &v return s } -// Represents the output of a get branch operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranchOutput -type GetBranchOutput struct { +// SetSourceCommitId sets the SourceCommitId field's value. +func (s *MergePullRequestByFastForwardInput) SetSourceCommitId(v string) *MergePullRequestByFastForwardInput { + s.SourceCommitId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForwardOutput +type MergePullRequestByFastForwardOutput struct { _ struct{} `type:"structure"` - // The name of the branch. - Branch *BranchInfo `locationName:"branch" type:"structure"` + // Information about the specified pull request, including information about + // the merge. + PullRequest *PullRequest `locationName:"pullRequest" type:"structure"` } // String returns the string representation -func (s GetBranchOutput) String() string { +func (s MergePullRequestByFastForwardOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetBranchOutput) GoString() string { +func (s MergePullRequestByFastForwardOutput) GoString() string { return s.String() } -// SetBranch sets the Branch field's value. -func (s *GetBranchOutput) SetBranch(v *BranchInfo) *GetBranchOutput { - s.Branch = v +// SetPullRequest sets the PullRequest field's value. +func (s *MergePullRequestByFastForwardOutput) SetPullRequest(v *PullRequest) *MergePullRequestByFastForwardOutput { + s.PullRequest = v return s } -// Represents the input of a get commit operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommitInput -type GetCommitInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommitInput +type PostCommentForComparedCommitInput struct { _ struct{} `type:"structure"` - // The commit ID. Commit IDs are the full SHA of the commit. + // To establish the directionality of the comparison, the full commit ID of + // the 'after' commit. // - // CommitId is a required field - CommitId *string `locationName:"commitId" type:"string" required:"true"` + // AfterCommitId is a required field + AfterCommitId *string `locationName:"afterCommitId" type:"string" required:"true"` - // The name of the repository to which the commit was made. + // To establish the directionality of the comparison, the full commit ID of + // the 'before' commit. + BeforeCommitId *string `locationName:"beforeCommitId" type:"string"` + + // A unique, client-generated idempotency token that when provided in a request, + // ensures the request cannot be repeated with a changed parameter. If a request + // is received with the same parameters and a token is included, the request + // will return information about the initial request that used that token. + ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` + + // The content of the comment you want to make. + // + // Content is a required field + Content *string `locationName:"content" type:"string" required:"true"` + + // The location of the comparison where you want to comment. + Location *Location `locationName:"location" type:"structure"` + + // The name of the repository where you want to post a comment on the comparison + // between commits. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s GetCommitInput) String() string { +func (s PostCommentForComparedCommitInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetCommitInput) GoString() string { +func (s PostCommentForComparedCommitInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetCommitInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetCommitInput"} - if s.CommitId == nil { - invalidParams.Add(request.NewErrParamRequired("CommitId")) +func (s *PostCommentForComparedCommitInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PostCommentForComparedCommitInput"} + if s.AfterCommitId == nil { + invalidParams.Add(request.NewErrParamRequired("AfterCommitId")) + } + if s.Content == nil { + invalidParams.Add(request.NewErrParamRequired("Content")) } if s.RepositoryName == nil { invalidParams.Add(request.NewErrParamRequired("RepositoryName")) @@ -3102,101 +7352,190 @@ func (s *GetCommitInput) Validate() error { return nil } -// SetCommitId sets the CommitId field's value. -func (s *GetCommitInput) SetCommitId(v string) *GetCommitInput { - s.CommitId = &v +// SetAfterCommitId sets the AfterCommitId field's value. +func (s *PostCommentForComparedCommitInput) SetAfterCommitId(v string) *PostCommentForComparedCommitInput { + s.AfterCommitId = &v + return s +} + +// SetBeforeCommitId sets the BeforeCommitId field's value. +func (s *PostCommentForComparedCommitInput) SetBeforeCommitId(v string) *PostCommentForComparedCommitInput { + s.BeforeCommitId = &v + return s +} + +// SetClientRequestToken sets the ClientRequestToken field's value. +func (s *PostCommentForComparedCommitInput) SetClientRequestToken(v string) *PostCommentForComparedCommitInput { + s.ClientRequestToken = &v + return s +} + +// SetContent sets the Content field's value. +func (s *PostCommentForComparedCommitInput) SetContent(v string) *PostCommentForComparedCommitInput { + s.Content = &v + return s +} + +// SetLocation sets the Location field's value. +func (s *PostCommentForComparedCommitInput) SetLocation(v *Location) *PostCommentForComparedCommitInput { + s.Location = v return s } // SetRepositoryName sets the RepositoryName field's value. -func (s *GetCommitInput) SetRepositoryName(v string) *GetCommitInput { +func (s *PostCommentForComparedCommitInput) SetRepositoryName(v string) *PostCommentForComparedCommitInput { s.RepositoryName = &v return s } -// Represents the output of a get commit operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommitOutput -type GetCommitOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommitOutput +type PostCommentForComparedCommitOutput struct { _ struct{} `type:"structure"` - // A commit data type object that contains information about the specified commit. - // - // Commit is a required field - Commit *Commit `locationName:"commit" type:"structure" required:"true"` + // In the directionality you established, the blob ID of the 'after' blob. + AfterBlobId *string `locationName:"afterBlobId" type:"string"` + + // In the directionality you established, the full commit ID of the 'after' + // commit. + AfterCommitId *string `locationName:"afterCommitId" type:"string"` + + // In the directionality you established, the blob ID of the 'before' blob. + BeforeBlobId *string `locationName:"beforeBlobId" type:"string"` + + // In the directionality you established, the full commit ID of the 'before' + // commit. + BeforeCommitId *string `locationName:"beforeCommitId" type:"string"` + + // The content of the comment you posted. + Comment *Comment `locationName:"comment" type:"structure"` + + // The location of the comment in the comparison between the two commits. + Location *Location `locationName:"location" type:"structure"` + + // The name of the repository where you posted a comment on the comparison between + // commits. + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` } // String returns the string representation -func (s GetCommitOutput) String() string { +func (s PostCommentForComparedCommitOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetCommitOutput) GoString() string { +func (s PostCommentForComparedCommitOutput) GoString() string { return s.String() } -// SetCommit sets the Commit field's value. -func (s *GetCommitOutput) SetCommit(v *Commit) *GetCommitOutput { - s.Commit = v +// SetAfterBlobId sets the AfterBlobId field's value. +func (s *PostCommentForComparedCommitOutput) SetAfterBlobId(v string) *PostCommentForComparedCommitOutput { + s.AfterBlobId = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferencesInput -type GetDifferencesInput struct { +// SetAfterCommitId sets the AfterCommitId field's value. +func (s *PostCommentForComparedCommitOutput) SetAfterCommitId(v string) *PostCommentForComparedCommitOutput { + s.AfterCommitId = &v + return s +} + +// SetBeforeBlobId sets the BeforeBlobId field's value. +func (s *PostCommentForComparedCommitOutput) SetBeforeBlobId(v string) *PostCommentForComparedCommitOutput { + s.BeforeBlobId = &v + return s +} + +// SetBeforeCommitId sets the BeforeCommitId field's value. +func (s *PostCommentForComparedCommitOutput) SetBeforeCommitId(v string) *PostCommentForComparedCommitOutput { + s.BeforeCommitId = &v + return s +} + +// SetComment sets the Comment field's value. +func (s *PostCommentForComparedCommitOutput) SetComment(v *Comment) *PostCommentForComparedCommitOutput { + s.Comment = v + return s +} + +// SetLocation sets the Location field's value. +func (s *PostCommentForComparedCommitOutput) SetLocation(v *Location) *PostCommentForComparedCommitOutput { + s.Location = v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *PostCommentForComparedCommitOutput) SetRepositoryName(v string) *PostCommentForComparedCommitOutput { + s.RepositoryName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequestInput +type PostCommentForPullRequestInput struct { _ struct{} `type:"structure"` - // The branch, tag, HEAD, or other fully qualified reference used to identify - // a commit. + // The full commit ID of the commit in the source branch that is the current + // tip of the branch for the pull request when you post the comment. // - // AfterCommitSpecifier is a required field - AfterCommitSpecifier *string `locationName:"afterCommitSpecifier" type:"string" required:"true"` + // AfterCommitId is a required field + AfterCommitId *string `locationName:"afterCommitId" type:"string" required:"true"` - // The file path in which to check differences. Limits the results to this path. - // Can also be used to specify the changed name of a directory or folder, if - // it has changed. If not specified, differences will be shown for all paths. - AfterPath *string `locationName:"afterPath" type:"string"` + // The full commit ID of the commit in the destination branch that was the tip + // of the branch at the time the pull request was created. + // + // BeforeCommitId is a required field + BeforeCommitId *string `locationName:"beforeCommitId" type:"string" required:"true"` - // The branch, tag, HEAD, or other fully qualified reference used to identify - // a commit. For example, the full commit ID. Optional. If not specified, all - // changes prior to the afterCommitSpecifier value will be shown. If you do - // not use beforeCommitSpecifier in your request, consider limiting the results - // with maxResults. - BeforeCommitSpecifier *string `locationName:"beforeCommitSpecifier" type:"string"` + // A unique, client-generated idempotency token that when provided in a request, + // ensures the request cannot be repeated with a changed parameter. If a request + // is received with the same parameters and a token is included, the request + // will return information about the initial request that used that token. + ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` - // The file path in which to check for differences. Limits the results to this - // path. Can also be used to specify the previous name of a directory or folder. - // If beforePath and afterPath are not specified, differences will be shown - // for all paths. - BeforePath *string `locationName:"beforePath" type:"string"` + // The content of your comment on the change. + // + // Content is a required field + Content *string `locationName:"content" type:"string" required:"true"` - // A non-negative integer used to limit the number of returned results. - MaxResults *int64 `type:"integer"` + // The location of the change where you want to post your comment. If no location + // is provided, the comment will be posted as a general comment on the pull + // request difference between the before commit ID and the after commit ID. + Location *Location `locationName:"location" type:"structure"` - // An enumeration token that when provided in a request, returns the next batch - // of the results. - NextToken *string `type:"string"` + // The system-generated ID of the pull request. To get this ID, use ListPullRequests. + // + // PullRequestId is a required field + PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"` - // The name of the repository where you want to get differences. + // The name of the repository where you want to post a comment on a pull request. // // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s GetDifferencesInput) String() string { +func (s PostCommentForPullRequestInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetDifferencesInput) GoString() string { +func (s PostCommentForPullRequestInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetDifferencesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetDifferencesInput"} - if s.AfterCommitSpecifier == nil { - invalidParams.Add(request.NewErrParamRequired("AfterCommitSpecifier")) +func (s *PostCommentForPullRequestInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PostCommentForPullRequestInput"} + if s.AfterCommitId == nil { + invalidParams.Add(request.NewErrParamRequired("AfterCommitId")) + } + if s.BeforeCommitId == nil { + invalidParams.Add(request.NewErrParamRequired("BeforeCommitId")) + } + if s.Content == nil { + invalidParams.Add(request.NewErrParamRequired("Content")) + } + if s.PullRequestId == nil { + invalidParams.Add(request.NewErrParamRequired("PullRequestId")) } if s.RepositoryName == nil { invalidParams.Add(request.NewErrParamRequired("RepositoryName")) @@ -3211,112 +7550,178 @@ func (s *GetDifferencesInput) Validate() error { return nil } -// SetAfterCommitSpecifier sets the AfterCommitSpecifier field's value. -func (s *GetDifferencesInput) SetAfterCommitSpecifier(v string) *GetDifferencesInput { - s.AfterCommitSpecifier = &v +// SetAfterCommitId sets the AfterCommitId field's value. +func (s *PostCommentForPullRequestInput) SetAfterCommitId(v string) *PostCommentForPullRequestInput { + s.AfterCommitId = &v return s } -// SetAfterPath sets the AfterPath field's value. -func (s *GetDifferencesInput) SetAfterPath(v string) *GetDifferencesInput { - s.AfterPath = &v +// SetBeforeCommitId sets the BeforeCommitId field's value. +func (s *PostCommentForPullRequestInput) SetBeforeCommitId(v string) *PostCommentForPullRequestInput { + s.BeforeCommitId = &v return s } -// SetBeforeCommitSpecifier sets the BeforeCommitSpecifier field's value. -func (s *GetDifferencesInput) SetBeforeCommitSpecifier(v string) *GetDifferencesInput { - s.BeforeCommitSpecifier = &v +// SetClientRequestToken sets the ClientRequestToken field's value. +func (s *PostCommentForPullRequestInput) SetClientRequestToken(v string) *PostCommentForPullRequestInput { + s.ClientRequestToken = &v return s } -// SetBeforePath sets the BeforePath field's value. -func (s *GetDifferencesInput) SetBeforePath(v string) *GetDifferencesInput { - s.BeforePath = &v +// SetContent sets the Content field's value. +func (s *PostCommentForPullRequestInput) SetContent(v string) *PostCommentForPullRequestInput { + s.Content = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *GetDifferencesInput) SetMaxResults(v int64) *GetDifferencesInput { - s.MaxResults = &v +// SetLocation sets the Location field's value. +func (s *PostCommentForPullRequestInput) SetLocation(v *Location) *PostCommentForPullRequestInput { + s.Location = v return s } -// SetNextToken sets the NextToken field's value. -func (s *GetDifferencesInput) SetNextToken(v string) *GetDifferencesInput { - s.NextToken = &v +// SetPullRequestId sets the PullRequestId field's value. +func (s *PostCommentForPullRequestInput) SetPullRequestId(v string) *PostCommentForPullRequestInput { + s.PullRequestId = &v return s } // SetRepositoryName sets the RepositoryName field's value. -func (s *GetDifferencesInput) SetRepositoryName(v string) *GetDifferencesInput { +func (s *PostCommentForPullRequestInput) SetRepositoryName(v string) *PostCommentForPullRequestInput { s.RepositoryName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferencesOutput -type GetDifferencesOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequestOutput +type PostCommentForPullRequestOutput struct { _ struct{} `type:"structure"` - // A differences data type object that contains information about the differences, - // including whether the difference is added, modified, or deleted (A, D, M). - Differences []*Difference `locationName:"differences" type:"list"` + // In the directionality of the pull request, the blob ID of the 'after' blob. + AfterBlobId *string `locationName:"afterBlobId" type:"string"` + + // The full commit ID of the commit in the destination branch where the pull + // request will be merged. + AfterCommitId *string `locationName:"afterCommitId" type:"string"` + + // In the directionality of the pull request, the blob ID of the 'before' blob. + BeforeBlobId *string `locationName:"beforeBlobId" type:"string"` + + // The full commit ID of the commit in the source branch used to create the + // pull request, or in the case of an updated pull request, the full commit + // ID of the commit used to update the pull request. + BeforeCommitId *string `locationName:"beforeCommitId" type:"string"` + + // The content of the comment you posted. + Comment *Comment `locationName:"comment" type:"structure"` + + // The location of the change where you posted your comment. + Location *Location `locationName:"location" type:"structure"` + + // The system-generated ID of the pull request. + PullRequestId *string `locationName:"pullRequestId" type:"string"` + + // The name of the repository where you posted a comment on a pull request. + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` +} + +// String returns the string representation +func (s PostCommentForPullRequestOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PostCommentForPullRequestOutput) GoString() string { + return s.String() +} + +// SetAfterBlobId sets the AfterBlobId field's value. +func (s *PostCommentForPullRequestOutput) SetAfterBlobId(v string) *PostCommentForPullRequestOutput { + s.AfterBlobId = &v + return s +} + +// SetAfterCommitId sets the AfterCommitId field's value. +func (s *PostCommentForPullRequestOutput) SetAfterCommitId(v string) *PostCommentForPullRequestOutput { + s.AfterCommitId = &v + return s +} + +// SetBeforeBlobId sets the BeforeBlobId field's value. +func (s *PostCommentForPullRequestOutput) SetBeforeBlobId(v string) *PostCommentForPullRequestOutput { + s.BeforeBlobId = &v + return s +} - // An enumeration token that can be used in a request to return the next batch - // of the results. - NextToken *string `type:"string"` +// SetBeforeCommitId sets the BeforeCommitId field's value. +func (s *PostCommentForPullRequestOutput) SetBeforeCommitId(v string) *PostCommentForPullRequestOutput { + s.BeforeCommitId = &v + return s } -// String returns the string representation -func (s GetDifferencesOutput) String() string { - return awsutil.Prettify(s) +// SetComment sets the Comment field's value. +func (s *PostCommentForPullRequestOutput) SetComment(v *Comment) *PostCommentForPullRequestOutput { + s.Comment = v + return s } -// GoString returns the string representation -func (s GetDifferencesOutput) GoString() string { - return s.String() +// SetLocation sets the Location field's value. +func (s *PostCommentForPullRequestOutput) SetLocation(v *Location) *PostCommentForPullRequestOutput { + s.Location = v + return s } -// SetDifferences sets the Differences field's value. -func (s *GetDifferencesOutput) SetDifferences(v []*Difference) *GetDifferencesOutput { - s.Differences = v +// SetPullRequestId sets the PullRequestId field's value. +func (s *PostCommentForPullRequestOutput) SetPullRequestId(v string) *PostCommentForPullRequestOutput { + s.PullRequestId = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *GetDifferencesOutput) SetNextToken(v string) *GetDifferencesOutput { - s.NextToken = &v +// SetRepositoryName sets the RepositoryName field's value. +func (s *PostCommentForPullRequestOutput) SetRepositoryName(v string) *PostCommentForPullRequestOutput { + s.RepositoryName = &v return s } -// Represents the input of a get repository operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryInput -type GetRepositoryInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReplyInput +type PostCommentReplyInput struct { _ struct{} `type:"structure"` - // The name of the repository to get information about. + // A unique, client-generated idempotency token that when provided in a request, + // ensures the request cannot be repeated with a changed parameter. If a request + // is received with the same parameters and a token is included, the request + // will return information about the initial request that used that token. + ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` + + // The contents of your reply to a comment. // - // RepositoryName is a required field - RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` + // Content is a required field + Content *string `locationName:"content" type:"string" required:"true"` + + // The system-generated ID of the comment to which you want to reply. To get + // this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest. + // + // InReplyTo is a required field + InReplyTo *string `locationName:"inReplyTo" type:"string" required:"true"` } // String returns the string representation -func (s GetRepositoryInput) String() string { +func (s PostCommentReplyInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetRepositoryInput) GoString() string { +func (s PostCommentReplyInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetRepositoryInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetRepositoryInput"} - if s.RepositoryName == nil { - invalidParams.Add(request.NewErrParamRequired("RepositoryName")) +func (s *PostCommentReplyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PostCommentReplyInput"} + if s.Content == nil { + invalidParams.Add(request.NewErrParamRequired("Content")) } - if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + if s.InReplyTo == nil { + invalidParams.Add(request.NewErrParamRequired("InReplyTo")) } if invalidParams.Len() > 0 { @@ -3325,285 +7730,428 @@ func (s *GetRepositoryInput) Validate() error { return nil } -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetRepositoryInput) SetRepositoryName(v string) *GetRepositoryInput { - s.RepositoryName = &v +// SetClientRequestToken sets the ClientRequestToken field's value. +func (s *PostCommentReplyInput) SetClientRequestToken(v string) *PostCommentReplyInput { + s.ClientRequestToken = &v return s } -// Represents the output of a get repository operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryOutput -type GetRepositoryOutput struct { +// SetContent sets the Content field's value. +func (s *PostCommentReplyInput) SetContent(v string) *PostCommentReplyInput { + s.Content = &v + return s +} + +// SetInReplyTo sets the InReplyTo field's value. +func (s *PostCommentReplyInput) SetInReplyTo(v string) *PostCommentReplyInput { + s.InReplyTo = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReplyOutput +type PostCommentReplyOutput struct { _ struct{} `type:"structure"` - // Information about the repository. - RepositoryMetadata *RepositoryMetadata `locationName:"repositoryMetadata" type:"structure"` + // Information about the reply to a comment. + Comment *Comment `locationName:"comment" type:"structure"` } // String returns the string representation -func (s GetRepositoryOutput) String() string { +func (s PostCommentReplyOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetRepositoryOutput) GoString() string { +func (s PostCommentReplyOutput) GoString() string { return s.String() } -// SetRepositoryMetadata sets the RepositoryMetadata field's value. -func (s *GetRepositoryOutput) SetRepositoryMetadata(v *RepositoryMetadata) *GetRepositoryOutput { - s.RepositoryMetadata = v +// SetComment sets the Comment field's value. +func (s *PostCommentReplyOutput) SetComment(v *Comment) *PostCommentReplyOutput { + s.Comment = v return s } -// Represents the input of a get repository triggers operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersInput -type GetRepositoryTriggersInput struct { +// Returns information about a pull request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequest +type PullRequest struct { _ struct{} `type:"structure"` - // The name of the repository for which the trigger is configured. - // - // RepositoryName is a required field - RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` + // The Amazon Resource Name (ARN) of the user who created the pull request. + AuthorArn *string `locationName:"authorArn" type:"string"` + + // A unique, client-generated idempotency token that when provided in a request, + // ensures the request cannot be repeated with a changed parameter. If a request + // is received with the same parameters and a token is included, the request + // will return information about the initial request that used that token. + ClientRequestToken *string `locationName:"clientRequestToken" type:"string"` + + // The date and time the pull request was originally created, in timestamp format. + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + + // The user-defined description of the pull request. This description can be + // used to clarify what should be reviewed and other details of the request. + Description *string `locationName:"description" type:"string"` + + // The day and time of the last user or system activity on the pull request, + // in timestamp format. + LastActivityDate *time.Time `locationName:"lastActivityDate" type:"timestamp" timestampFormat:"unix"` + + // The system-generated ID of the pull request. + PullRequestId *string `locationName:"pullRequestId" type:"string"` + + // The status of the pull request. Pull request status can only change from + // OPEN to CLOSED. + PullRequestStatus *string `locationName:"pullRequestStatus" type:"string" enum:"PullRequestStatusEnum"` + + // The targets of the pull request, including the source branch and destination + // branch for the pull request. + PullRequestTargets []*PullRequestTarget `locationName:"pullRequestTargets" type:"list"` + + // The user-defined title of the pull request. This title is displayed in the + // list of pull requests to other users of the repository. + Title *string `locationName:"title" type:"string"` } // String returns the string representation -func (s GetRepositoryTriggersInput) String() string { +func (s PullRequest) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetRepositoryTriggersInput) GoString() string { +func (s PullRequest) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GetRepositoryTriggersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetRepositoryTriggersInput"} - if s.RepositoryName == nil { - invalidParams.Add(request.NewErrParamRequired("RepositoryName")) - } - if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetAuthorArn sets the AuthorArn field's value. +func (s *PullRequest) SetAuthorArn(v string) *PullRequest { + s.AuthorArn = &v + return s } -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetRepositoryTriggersInput) SetRepositoryName(v string) *GetRepositoryTriggersInput { - s.RepositoryName = &v +// SetClientRequestToken sets the ClientRequestToken field's value. +func (s *PullRequest) SetClientRequestToken(v string) *PullRequest { + s.ClientRequestToken = &v return s } -// Represents the output of a get repository triggers operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersOutput -type GetRepositoryTriggersOutput struct { - _ struct{} `type:"structure"` +// SetCreationDate sets the CreationDate field's value. +func (s *PullRequest) SetCreationDate(v time.Time) *PullRequest { + s.CreationDate = &v + return s +} - // The system-generated unique ID for the trigger. - ConfigurationId *string `locationName:"configurationId" type:"string"` +// SetDescription sets the Description field's value. +func (s *PullRequest) SetDescription(v string) *PullRequest { + s.Description = &v + return s +} - // The JSON block of configuration information for each trigger. - Triggers []*RepositoryTrigger `locationName:"triggers" type:"list"` +// SetLastActivityDate sets the LastActivityDate field's value. +func (s *PullRequest) SetLastActivityDate(v time.Time) *PullRequest { + s.LastActivityDate = &v + return s } -// String returns the string representation -func (s GetRepositoryTriggersOutput) String() string { - return awsutil.Prettify(s) +// SetPullRequestId sets the PullRequestId field's value. +func (s *PullRequest) SetPullRequestId(v string) *PullRequest { + s.PullRequestId = &v + return s } -// GoString returns the string representation -func (s GetRepositoryTriggersOutput) GoString() string { - return s.String() +// SetPullRequestStatus sets the PullRequestStatus field's value. +func (s *PullRequest) SetPullRequestStatus(v string) *PullRequest { + s.PullRequestStatus = &v + return s } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *GetRepositoryTriggersOutput) SetConfigurationId(v string) *GetRepositoryTriggersOutput { - s.ConfigurationId = &v +// SetPullRequestTargets sets the PullRequestTargets field's value. +func (s *PullRequest) SetPullRequestTargets(v []*PullRequestTarget) *PullRequest { + s.PullRequestTargets = v return s } -// SetTriggers sets the Triggers field's value. -func (s *GetRepositoryTriggersOutput) SetTriggers(v []*RepositoryTrigger) *GetRepositoryTriggersOutput { - s.Triggers = v +// SetTitle sets the Title field's value. +func (s *PullRequest) SetTitle(v string) *PullRequest { + s.Title = &v return s } -// Represents the input of a list branches operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranchesInput -type ListBranchesInput struct { +// Returns information about a pull request event. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestEvent +type PullRequestEvent struct { _ struct{} `type:"structure"` - // An enumeration token that allows the operation to batch the results. - NextToken *string `locationName:"nextToken" type:"string"` + // The Amazon Resource Name (ARN) of the user whose actions resulted in the + // event. Examples include updating the pull request with additional commits + // or changing the status of a pull request. + ActorArn *string `locationName:"actorArn" type:"string"` - // The name of the repository that contains the branches. - // - // RepositoryName is a required field - RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` + // The day and time of the pull request event, in timestamp format. + EventDate *time.Time `locationName:"eventDate" type:"timestamp" timestampFormat:"unix"` + + // The type of the pull request event, for example a status change event (PULL_REQUEST_STATUS_CHANGED) + // or update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED). + PullRequestEventType *string `locationName:"pullRequestEventType" type:"string" enum:"PullRequestEventType"` + + // The system-generated ID of the pull request. + PullRequestId *string `locationName:"pullRequestId" type:"string"` + + // Information about the change in mergability state for the pull request event. + PullRequestMergedStateChangedEventMetadata *PullRequestMergedStateChangedEventMetadata `locationName:"pullRequestMergedStateChangedEventMetadata" type:"structure"` + + // Information about the updated source branch for the pull request event. + PullRequestSourceReferenceUpdatedEventMetadata *PullRequestSourceReferenceUpdatedEventMetadata `locationName:"pullRequestSourceReferenceUpdatedEventMetadata" type:"structure"` + + // Information about the change in status for the pull request event. + PullRequestStatusChangedEventMetadata *PullRequestStatusChangedEventMetadata `locationName:"pullRequestStatusChangedEventMetadata" type:"structure"` } // String returns the string representation -func (s ListBranchesInput) String() string { +func (s PullRequestEvent) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListBranchesInput) GoString() string { +func (s PullRequestEvent) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListBranchesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListBranchesInput"} - if s.RepositoryName == nil { - invalidParams.Add(request.NewErrParamRequired("RepositoryName")) - } - if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) - } +// SetActorArn sets the ActorArn field's value. +func (s *PullRequestEvent) SetActorArn(v string) *PullRequestEvent { + s.ActorArn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetEventDate sets the EventDate field's value. +func (s *PullRequestEvent) SetEventDate(v time.Time) *PullRequestEvent { + s.EventDate = &v + return s } -// SetNextToken sets the NextToken field's value. -func (s *ListBranchesInput) SetNextToken(v string) *ListBranchesInput { - s.NextToken = &v +// SetPullRequestEventType sets the PullRequestEventType field's value. +func (s *PullRequestEvent) SetPullRequestEventType(v string) *PullRequestEvent { + s.PullRequestEventType = &v return s } -// SetRepositoryName sets the RepositoryName field's value. -func (s *ListBranchesInput) SetRepositoryName(v string) *ListBranchesInput { - s.RepositoryName = &v +// SetPullRequestId sets the PullRequestId field's value. +func (s *PullRequestEvent) SetPullRequestId(v string) *PullRequestEvent { + s.PullRequestId = &v return s } -// Represents the output of a list branches operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranchesOutput -type ListBranchesOutput struct { +// SetPullRequestMergedStateChangedEventMetadata sets the PullRequestMergedStateChangedEventMetadata field's value. +func (s *PullRequestEvent) SetPullRequestMergedStateChangedEventMetadata(v *PullRequestMergedStateChangedEventMetadata) *PullRequestEvent { + s.PullRequestMergedStateChangedEventMetadata = v + return s +} + +// SetPullRequestSourceReferenceUpdatedEventMetadata sets the PullRequestSourceReferenceUpdatedEventMetadata field's value. +func (s *PullRequestEvent) SetPullRequestSourceReferenceUpdatedEventMetadata(v *PullRequestSourceReferenceUpdatedEventMetadata) *PullRequestEvent { + s.PullRequestSourceReferenceUpdatedEventMetadata = v + return s +} + +// SetPullRequestStatusChangedEventMetadata sets the PullRequestStatusChangedEventMetadata field's value. +func (s *PullRequestEvent) SetPullRequestStatusChangedEventMetadata(v *PullRequestStatusChangedEventMetadata) *PullRequestEvent { + s.PullRequestStatusChangedEventMetadata = v + return s +} + +// Returns information about the change in the merge state for a pull request +// event. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestMergedStateChangedEventMetadata +type PullRequestMergedStateChangedEventMetadata struct { _ struct{} `type:"structure"` - // The list of branch names. - Branches []*string `locationName:"branches" type:"list"` + // The name of the branch that the pull request will be merged into. + DestinationReference *string `locationName:"destinationReference" type:"string"` - // An enumeration token that returns the batch of the results. - NextToken *string `locationName:"nextToken" type:"string"` + // Information about the merge state change event. + MergeMetadata *MergeMetadata `locationName:"mergeMetadata" type:"structure"` + + // The name of the repository where the pull request was created. + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` } // String returns the string representation -func (s ListBranchesOutput) String() string { +func (s PullRequestMergedStateChangedEventMetadata) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListBranchesOutput) GoString() string { +func (s PullRequestMergedStateChangedEventMetadata) GoString() string { return s.String() } -// SetBranches sets the Branches field's value. -func (s *ListBranchesOutput) SetBranches(v []*string) *ListBranchesOutput { - s.Branches = v +// SetDestinationReference sets the DestinationReference field's value. +func (s *PullRequestMergedStateChangedEventMetadata) SetDestinationReference(v string) *PullRequestMergedStateChangedEventMetadata { + s.DestinationReference = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListBranchesOutput) SetNextToken(v string) *ListBranchesOutput { - s.NextToken = &v +// SetMergeMetadata sets the MergeMetadata field's value. +func (s *PullRequestMergedStateChangedEventMetadata) SetMergeMetadata(v *MergeMetadata) *PullRequestMergedStateChangedEventMetadata { + s.MergeMetadata = v return s } -// Represents the input of a list repositories operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesInput -type ListRepositoriesInput struct { +// SetRepositoryName sets the RepositoryName field's value. +func (s *PullRequestMergedStateChangedEventMetadata) SetRepositoryName(v string) *PullRequestMergedStateChangedEventMetadata { + s.RepositoryName = &v + return s +} + +// Information about an update to the source branch of a pull request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestSourceReferenceUpdatedEventMetadata +type PullRequestSourceReferenceUpdatedEventMetadata struct { _ struct{} `type:"structure"` - // An enumeration token that allows the operation to batch the results of the - // operation. Batch sizes are 1,000 for list repository operations. When the - // client sends the token back to AWS CodeCommit, another page of 1,000 records - // is retrieved. - NextToken *string `locationName:"nextToken" type:"string"` + // The full commit ID of the commit in the source branch that was the tip of + // the branch at the time the pull request was updated. + AfterCommitId *string `locationName:"afterCommitId" type:"string"` - // The order in which to sort the results of a list repositories operation. - Order *string `locationName:"order" type:"string" enum:"OrderEnum"` + // The full commit ID of the commit in the destination branch that was the tip + // of the branch at the time the pull request was updated. + BeforeCommitId *string `locationName:"beforeCommitId" type:"string"` - // The criteria used to sort the results of a list repositories operation. - SortBy *string `locationName:"sortBy" type:"string" enum:"SortByEnum"` + // The name of the repository where the pull request was updated. + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` } // String returns the string representation -func (s ListRepositoriesInput) String() string { +func (s PullRequestSourceReferenceUpdatedEventMetadata) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListRepositoriesInput) GoString() string { +func (s PullRequestSourceReferenceUpdatedEventMetadata) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListRepositoriesInput) SetNextToken(v string) *ListRepositoriesInput { - s.NextToken = &v +// SetAfterCommitId sets the AfterCommitId field's value. +func (s *PullRequestSourceReferenceUpdatedEventMetadata) SetAfterCommitId(v string) *PullRequestSourceReferenceUpdatedEventMetadata { + s.AfterCommitId = &v return s } -// SetOrder sets the Order field's value. -func (s *ListRepositoriesInput) SetOrder(v string) *ListRepositoriesInput { - s.Order = &v +// SetBeforeCommitId sets the BeforeCommitId field's value. +func (s *PullRequestSourceReferenceUpdatedEventMetadata) SetBeforeCommitId(v string) *PullRequestSourceReferenceUpdatedEventMetadata { + s.BeforeCommitId = &v return s } -// SetSortBy sets the SortBy field's value. -func (s *ListRepositoriesInput) SetSortBy(v string) *ListRepositoriesInput { - s.SortBy = &v +// SetRepositoryName sets the RepositoryName field's value. +func (s *PullRequestSourceReferenceUpdatedEventMetadata) SetRepositoryName(v string) *PullRequestSourceReferenceUpdatedEventMetadata { + s.RepositoryName = &v return s } -// Represents the output of a list repositories operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesOutput -type ListRepositoriesOutput struct { +// Information about a change to the status of a pull request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestStatusChangedEventMetadata +type PullRequestStatusChangedEventMetadata struct { _ struct{} `type:"structure"` - // An enumeration token that allows the operation to batch the results of the - // operation. Batch sizes are 1,000 for list repository operations. When the - // client sends the token back to AWS CodeCommit, another page of 1,000 records - // is retrieved. - NextToken *string `locationName:"nextToken" type:"string"` + // The changed status of the pull request. + PullRequestStatus *string `locationName:"pullRequestStatus" type:"string" enum:"PullRequestStatusEnum"` +} - // Lists the repositories called by the list repositories operation. - Repositories []*RepositoryNameIdPair `locationName:"repositories" type:"list"` +// String returns the string representation +func (s PullRequestStatusChangedEventMetadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PullRequestStatusChangedEventMetadata) GoString() string { + return s.String() +} + +// SetPullRequestStatus sets the PullRequestStatus field's value. +func (s *PullRequestStatusChangedEventMetadata) SetPullRequestStatus(v string) *PullRequestStatusChangedEventMetadata { + s.PullRequestStatus = &v + return s +} + +// Returns information about a pull request target. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestTarget +type PullRequestTarget struct { + _ struct{} `type:"structure"` + + // The full commit ID that is the tip of the destination branch. This is the + // commit where the pull request was or will be merged. + DestinationCommit *string `locationName:"destinationCommit" type:"string"` + + // The branch of the repository where the pull request changes will be merged + // into. Also known as the destination branch. + DestinationReference *string `locationName:"destinationReference" type:"string"` + + // Returns metadata about the state of the merge, including whether the merge + // has been made. + MergeMetadata *MergeMetadata `locationName:"mergeMetadata" type:"structure"` + + // The name of the repository that contains the pull request source and destination + // branches. + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` + + // The full commit ID of the tip of the source branch used to create the pull + // request. If the pull request branch is updated by a push while the pull request + // is open, the commit ID will change to reflect the new tip of the branch. + SourceCommit *string `locationName:"sourceCommit" type:"string"` + + // The branch of the repository that contains the changes for the pull request. + // Also known as the source branch. + SourceReference *string `locationName:"sourceReference" type:"string"` } // String returns the string representation -func (s ListRepositoriesOutput) String() string { +func (s PullRequestTarget) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListRepositoriesOutput) GoString() string { +func (s PullRequestTarget) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListRepositoriesOutput) SetNextToken(v string) *ListRepositoriesOutput { - s.NextToken = &v +// SetDestinationCommit sets the DestinationCommit field's value. +func (s *PullRequestTarget) SetDestinationCommit(v string) *PullRequestTarget { + s.DestinationCommit = &v + return s +} + +// SetDestinationReference sets the DestinationReference field's value. +func (s *PullRequestTarget) SetDestinationReference(v string) *PullRequestTarget { + s.DestinationReference = &v + return s +} + +// SetMergeMetadata sets the MergeMetadata field's value. +func (s *PullRequestTarget) SetMergeMetadata(v *MergeMetadata) *PullRequestTarget { + s.MergeMetadata = v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *PullRequestTarget) SetRepositoryName(v string) *PullRequestTarget { + s.RepositoryName = &v + return s +} + +// SetSourceCommit sets the SourceCommit field's value. +func (s *PullRequestTarget) SetSourceCommit(v string) *PullRequestTarget { + s.SourceCommit = &v return s } -// SetRepositories sets the Repositories field's value. -func (s *ListRepositoriesOutput) SetRepositories(v []*RepositoryNameIdPair) *ListRepositoriesOutput { - s.Repositories = v +// SetSourceReference sets the SourceReference field's value. +func (s *PullRequestTarget) SetSourceReference(v string) *PullRequestTarget { + s.SourceReference = &v return s } // Represents the input ofa put repository triggers operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggersInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggersInput type PutRepositoryTriggersInput struct { _ struct{} `type:"structure"` @@ -3670,7 +8218,7 @@ func (s *PutRepositoryTriggersInput) SetTriggers(v []*RepositoryTrigger) *PutRep } // Represents the output of a put repository triggers operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggersOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggersOutput type PutRepositoryTriggersOutput struct { _ struct{} `type:"structure"` @@ -3695,7 +8243,7 @@ func (s *PutRepositoryTriggersOutput) SetConfigurationId(v string) *PutRepositor } // Information about a repository. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryMetadata +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryMetadata type RepositoryMetadata struct { _ struct{} `type:"structure"` @@ -3801,7 +8349,7 @@ func (s *RepositoryMetadata) SetRepositoryName(v string) *RepositoryMetadata { } // Information about a repository name and ID. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNameIdPair +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNameIdPair type RepositoryNameIdPair struct { _ struct{} `type:"structure"` @@ -3835,7 +8383,7 @@ func (s *RepositoryNameIdPair) SetRepositoryName(v string) *RepositoryNameIdPair } // Information about a trigger for a repository. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTrigger type RepositoryTrigger struct { _ struct{} `type:"structure"` @@ -3930,7 +8478,7 @@ func (s *RepositoryTrigger) SetName(v string) *RepositoryTrigger { } // A trigger failed to run. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerExecutionFailure +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerExecutionFailure type RepositoryTriggerExecutionFailure struct { _ struct{} `type:"structure"` @@ -3963,8 +8511,76 @@ func (s *RepositoryTriggerExecutionFailure) SetTrigger(v string) *RepositoryTrig return s } +// Returns information about a target for a pull request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Target +type Target struct { + _ struct{} `type:"structure"` + + // The branch of the repository where the pull request changes will be merged + // into. Also known as the destination branch. + DestinationReference *string `locationName:"destinationReference" type:"string"` + + // The name of the repository that contains the pull request. + // + // RepositoryName is a required field + RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` + + // The branch of the repository that contains the changes for the pull request. + // Also known as the source branch. + // + // SourceReference is a required field + SourceReference *string `locationName:"sourceReference" type:"string" required:"true"` +} + +// String returns the string representation +func (s Target) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Target) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Target) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Target"} + if s.RepositoryName == nil { + invalidParams.Add(request.NewErrParamRequired("RepositoryName")) + } + if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + } + if s.SourceReference == nil { + invalidParams.Add(request.NewErrParamRequired("SourceReference")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDestinationReference sets the DestinationReference field's value. +func (s *Target) SetDestinationReference(v string) *Target { + s.DestinationReference = &v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *Target) SetRepositoryName(v string) *Target { + s.RepositoryName = &v + return s +} + +// SetSourceReference sets the SourceReference field's value. +func (s *Target) SetSourceReference(v string) *Target { + s.SourceReference = &v + return s +} + // Represents the input of a test repository triggers operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggersInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggersInput type TestRepositoryTriggersInput struct { _ struct{} `type:"structure"` @@ -4031,7 +8647,7 @@ func (s *TestRepositoryTriggersInput) SetTriggers(v []*RepositoryTrigger) *TestR } // Represents the output of a test repository triggers operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggersOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggersOutput type TestRepositoryTriggersOutput struct { _ struct{} `type:"structure"` @@ -4066,8 +8682,87 @@ func (s *TestRepositoryTriggersOutput) SetSuccessfulExecutions(v []*string) *Tes return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateCommentInput +type UpdateCommentInput struct { + _ struct{} `type:"structure"` + + // The system-generated ID of the comment you want to update. To get this ID, + // use GetCommentsForComparedCommit or GetCommentsForPullRequest. + // + // CommentId is a required field + CommentId *string `locationName:"commentId" type:"string" required:"true"` + + // The updated content with which you want to replace the existing content of + // the comment. + // + // Content is a required field + Content *string `locationName:"content" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateCommentInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateCommentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateCommentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateCommentInput"} + if s.CommentId == nil { + invalidParams.Add(request.NewErrParamRequired("CommentId")) + } + if s.Content == nil { + invalidParams.Add(request.NewErrParamRequired("Content")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCommentId sets the CommentId field's value. +func (s *UpdateCommentInput) SetCommentId(v string) *UpdateCommentInput { + s.CommentId = &v + return s +} + +// SetContent sets the Content field's value. +func (s *UpdateCommentInput) SetContent(v string) *UpdateCommentInput { + s.Content = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateCommentOutput +type UpdateCommentOutput struct { + _ struct{} `type:"structure"` + + // Information about the updated comment. + Comment *Comment `locationName:"comment" type:"structure"` +} + +// String returns the string representation +func (s UpdateCommentOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateCommentOutput) GoString() string { + return s.String() +} + +// SetComment sets the Comment field's value. +func (s *UpdateCommentOutput) SetComment(v *Comment) *UpdateCommentOutput { + s.Comment = v + return s +} + // Represents the input of an update default branch operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranchInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranchInput type UpdateDefaultBranchInput struct { _ struct{} `type:"structure"` @@ -4126,7 +8821,7 @@ func (s *UpdateDefaultBranchInput) SetRepositoryName(v string) *UpdateDefaultBra return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranchOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranchOutput type UpdateDefaultBranchOutput struct { _ struct{} `type:"structure"` } @@ -4141,8 +8836,247 @@ func (s UpdateDefaultBranchOutput) GoString() string { return s.String() } +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescriptionInput +type UpdatePullRequestDescriptionInput struct { + _ struct{} `type:"structure"` + + // The updated content of the description for the pull request. This content + // will replace the existing description. + // + // Description is a required field + Description *string `locationName:"description" type:"string" required:"true"` + + // The system-generated ID of the pull request. To get this ID, use ListPullRequests. + // + // PullRequestId is a required field + PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdatePullRequestDescriptionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdatePullRequestDescriptionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdatePullRequestDescriptionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdatePullRequestDescriptionInput"} + if s.Description == nil { + invalidParams.Add(request.NewErrParamRequired("Description")) + } + if s.PullRequestId == nil { + invalidParams.Add(request.NewErrParamRequired("PullRequestId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdatePullRequestDescriptionInput) SetDescription(v string) *UpdatePullRequestDescriptionInput { + s.Description = &v + return s +} + +// SetPullRequestId sets the PullRequestId field's value. +func (s *UpdatePullRequestDescriptionInput) SetPullRequestId(v string) *UpdatePullRequestDescriptionInput { + s.PullRequestId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescriptionOutput +type UpdatePullRequestDescriptionOutput struct { + _ struct{} `type:"structure"` + + // Information about the updated pull request. + // + // PullRequest is a required field + PullRequest *PullRequest `locationName:"pullRequest" type:"structure" required:"true"` +} + +// String returns the string representation +func (s UpdatePullRequestDescriptionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdatePullRequestDescriptionOutput) GoString() string { + return s.String() +} + +// SetPullRequest sets the PullRequest field's value. +func (s *UpdatePullRequestDescriptionOutput) SetPullRequest(v *PullRequest) *UpdatePullRequestDescriptionOutput { + s.PullRequest = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatusInput +type UpdatePullRequestStatusInput struct { + _ struct{} `type:"structure"` + + // The system-generated ID of the pull request. To get this ID, use ListPullRequests. + // + // PullRequestId is a required field + PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"` + + // The status of the pull request. The only valid operations are to update the + // status from OPEN to OPEN, OPEN to CLOSED or from from CLOSED to CLOSED. + // + // PullRequestStatus is a required field + PullRequestStatus *string `locationName:"pullRequestStatus" type:"string" required:"true" enum:"PullRequestStatusEnum"` +} + +// String returns the string representation +func (s UpdatePullRequestStatusInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdatePullRequestStatusInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdatePullRequestStatusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdatePullRequestStatusInput"} + if s.PullRequestId == nil { + invalidParams.Add(request.NewErrParamRequired("PullRequestId")) + } + if s.PullRequestStatus == nil { + invalidParams.Add(request.NewErrParamRequired("PullRequestStatus")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPullRequestId sets the PullRequestId field's value. +func (s *UpdatePullRequestStatusInput) SetPullRequestId(v string) *UpdatePullRequestStatusInput { + s.PullRequestId = &v + return s +} + +// SetPullRequestStatus sets the PullRequestStatus field's value. +func (s *UpdatePullRequestStatusInput) SetPullRequestStatus(v string) *UpdatePullRequestStatusInput { + s.PullRequestStatus = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatusOutput +type UpdatePullRequestStatusOutput struct { + _ struct{} `type:"structure"` + + // Information about the pull request. + // + // PullRequest is a required field + PullRequest *PullRequest `locationName:"pullRequest" type:"structure" required:"true"` +} + +// String returns the string representation +func (s UpdatePullRequestStatusOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdatePullRequestStatusOutput) GoString() string { + return s.String() +} + +// SetPullRequest sets the PullRequest field's value. +func (s *UpdatePullRequestStatusOutput) SetPullRequest(v *PullRequest) *UpdatePullRequestStatusOutput { + s.PullRequest = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitleInput +type UpdatePullRequestTitleInput struct { + _ struct{} `type:"structure"` + + // The system-generated ID of the pull request. To get this ID, use ListPullRequests. + // + // PullRequestId is a required field + PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"` + + // The updated title of the pull request. This will replace the existing title. + // + // Title is a required field + Title *string `locationName:"title" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdatePullRequestTitleInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdatePullRequestTitleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdatePullRequestTitleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdatePullRequestTitleInput"} + if s.PullRequestId == nil { + invalidParams.Add(request.NewErrParamRequired("PullRequestId")) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPullRequestId sets the PullRequestId field's value. +func (s *UpdatePullRequestTitleInput) SetPullRequestId(v string) *UpdatePullRequestTitleInput { + s.PullRequestId = &v + return s +} + +// SetTitle sets the Title field's value. +func (s *UpdatePullRequestTitleInput) SetTitle(v string) *UpdatePullRequestTitleInput { + s.Title = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitleOutput +type UpdatePullRequestTitleOutput struct { + _ struct{} `type:"structure"` + + // Information about the updated pull request. + // + // PullRequest is a required field + PullRequest *PullRequest `locationName:"pullRequest" type:"structure" required:"true"` +} + +// String returns the string representation +func (s UpdatePullRequestTitleOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdatePullRequestTitleOutput) GoString() string { + return s.String() +} + +// SetPullRequest sets the PullRequest field's value. +func (s *UpdatePullRequestTitleOutput) SetPullRequest(v *PullRequest) *UpdatePullRequestTitleOutput { + s.PullRequest = v + return s +} + // Represents the input of an update repository description operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescriptionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescriptionInput type UpdateRepositoryDescriptionInput struct { _ struct{} `type:"structure"` @@ -4194,7 +9128,7 @@ func (s *UpdateRepositoryDescriptionInput) SetRepositoryName(v string) *UpdateRe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescriptionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescriptionOutput type UpdateRepositoryDescriptionOutput struct { _ struct{} `type:"structure"` } @@ -4210,7 +9144,7 @@ func (s UpdateRepositoryDescriptionOutput) GoString() string { } // Represents the input of an update repository description operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryNameInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryNameInput type UpdateRepositoryNameInput struct { _ struct{} `type:"structure"` @@ -4269,7 +9203,7 @@ func (s *UpdateRepositoryNameInput) SetOldName(v string) *UpdateRepositoryNameIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryNameOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryNameOutput type UpdateRepositoryNameOutput struct { _ struct{} `type:"structure"` } @@ -4285,7 +9219,7 @@ func (s UpdateRepositoryNameOutput) GoString() string { } // Information about the user who made a specified commit. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UserInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UserInfo type UserInfo struct { _ struct{} `type:"structure"` @@ -4338,6 +9272,11 @@ const ( ChangeTypeEnumD = "D" ) +const ( + // MergeOptionTypeEnumFastForwardMerge is a MergeOptionTypeEnum enum value + MergeOptionTypeEnumFastForwardMerge = "FAST_FORWARD_MERGE" +) + const ( // OrderEnumAscending is a OrderEnum enum value OrderEnumAscending = "ascending" @@ -4346,6 +9285,36 @@ const ( OrderEnumDescending = "descending" ) +const ( + // PullRequestEventTypePullRequestCreated is a PullRequestEventType enum value + PullRequestEventTypePullRequestCreated = "PULL_REQUEST_CREATED" + + // PullRequestEventTypePullRequestStatusChanged is a PullRequestEventType enum value + PullRequestEventTypePullRequestStatusChanged = "PULL_REQUEST_STATUS_CHANGED" + + // PullRequestEventTypePullRequestSourceReferenceUpdated is a PullRequestEventType enum value + PullRequestEventTypePullRequestSourceReferenceUpdated = "PULL_REQUEST_SOURCE_REFERENCE_UPDATED" + + // PullRequestEventTypePullRequestMergeStateChanged is a PullRequestEventType enum value + PullRequestEventTypePullRequestMergeStateChanged = "PULL_REQUEST_MERGE_STATE_CHANGED" +) + +const ( + // PullRequestStatusEnumOpen is a PullRequestStatusEnum enum value + PullRequestStatusEnumOpen = "OPEN" + + // PullRequestStatusEnumClosed is a PullRequestStatusEnum enum value + PullRequestStatusEnumClosed = "CLOSED" +) + +const ( + // RelativeFileVersionEnumBefore is a RelativeFileVersionEnum enum value + RelativeFileVersionEnumBefore = "BEFORE" + + // RelativeFileVersionEnumAfter is a RelativeFileVersionEnum enum value + RelativeFileVersionEnumAfter = "AFTER" +) + const ( // RepositoryTriggerEventEnumAll is a RepositoryTriggerEventEnum enum value RepositoryTriggerEventEnumAll = "all" diff --git a/vendor/github.com/aws/aws-sdk-go/service/codecommit/doc.go b/vendor/github.com/aws/aws-sdk-go/service/codecommit/doc.go index 29b1798ea6a..1b2f75c9647 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codecommit/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codecommit/doc.go @@ -12,19 +12,19 @@ // Repositories, by calling the following: // // * BatchGetRepositories, which returns information about one or more repositories -// associated with your AWS account +// associated with your AWS account. // -// * CreateRepository, which creates an AWS CodeCommit repository +// * CreateRepository, which creates an AWS CodeCommit repository. // -// * DeleteRepository, which deletes an AWS CodeCommit repository +// * DeleteRepository, which deletes an AWS CodeCommit repository. // -// * GetRepository, which returns information about a specified repository +// * GetRepository, which returns information about a specified repository. // // * ListRepositories, which lists all AWS CodeCommit repositories associated -// with your AWS account +// with your AWS account. // // * UpdateRepositoryDescription, which sets or updates the description of -// the repository +// the repository. // // * UpdateRepositoryName, which changes the name of the repository. If you // change the name of a repository, no other users of that repository will @@ -32,39 +32,88 @@ // // Branches, by calling the following: // -// * CreateBranch, which creates a new branch in a specified repository +// * CreateBranch, which creates a new branch in a specified repository. // // * DeleteBranch, which deletes the specified branch in a repository unless -// it is the default branch +// it is the default branch. // -// * GetBranch, which returns information about a specified branch +// * GetBranch, which returns information about a specified branch. // -// * ListBranches, which lists all branches for a specified repository +// * ListBranches, which lists all branches for a specified repository. // -// * UpdateDefaultBranch, which changes the default branch for a repository +// * UpdateDefaultBranch, which changes the default branch for a repository. // // Information about committed code in a repository, by calling the following: // // * GetBlob, which returns the base-64 encoded content of an individual -// Git blob object within a repository +// Git blob object within a repository. // // * GetCommit, which returns information about a commit, including commit -// messages and author and committer information +// messages and author and committer information. // // * GetDifferences, which returns information about the differences in a // valid commit specifier (such as a branch, tag, HEAD, commit ID or other -// fully qualified reference) +// fully qualified reference). +// +// Pull requests, by calling the following: +// +// * CreatePullRequest, which creates a pull request in a specified repository. +// +// * DescribePullRequestEvents, which returns information about one or more +// pull request events. +// +// * GetCommentsForPullRequest, which returns information about comments +// on a specified pull request. +// +// * GetMergeConflicts, which returns information about merge conflicts between +// the source and destination branch in a pull request. +// +// * GetPullRequest, which returns information about a specified pull request. +// +// * ListPullRequests, which lists all pull requests for a repository. +// +// * MergePullRequestByFastForward, which merges the source destination branch +// of a pull request into the specified destination branch for that pull +// request using the fast-forward merge option. +// +// * PostCommentForPullRequest, which posts a comment to a pull request at +// the specified line, file, or request. +// +// * UpdatePullRequestDescription, which updates the description of a pull +// request. +// +// * UpdatePullRequestStatus, which updates the status of a pull request. +// +// * UpdatePullRequestTitle, which updates the title of a pull request. +// +// Information about comments in a repository, by calling the following: +// +// * DeleteCommentContent, which deletes the content of a comment on a commit +// in a repository. +// +// * GetComment, which returns information about a comment on a commit. +// +// * GetCommentsForComparedCommit, which returns information about comments +// on the comparison between two commit specifiers in a repository. +// +// * PostCommentForComparedCommit, which creates a comment on the comparison +// between two commit specifiers in a repository. +// +// * PostCommentReply, which creates a reply to a comment. +// +// * UpdateComment, which updates the content of a comment on a commit in +// a repository. // // Triggers, by calling the following: // // * GetRepositoryTriggers, which returns information about triggers configured -// for a repository +// for a repository. // // * PutRepositoryTriggers, which replaces all triggers for a repository -// and can be used to create or delete triggers +// and can be used to create or delete triggers. // // * TestRepositoryTriggers, which tests the functionality of a repository -// trigger by sending data to the trigger target +// trigger by sending data to the trigger target. // // For information about how to use AWS CodeCommit, see the AWS CodeCommit User // Guide (http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html). diff --git a/vendor/github.com/aws/aws-sdk-go/service/codecommit/errors.go b/vendor/github.com/aws/aws-sdk-go/service/codecommit/errors.go index ad28090f272..91a6a0e87ed 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codecommit/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codecommit/errors.go @@ -4,6 +4,25 @@ package codecommit const ( + // ErrCodeActorDoesNotExistException for service response error code + // "ActorDoesNotExistException". + // + // The specified Amazon Resource Name (ARN) does not exist in the AWS account. + ErrCodeActorDoesNotExistException = "ActorDoesNotExistException" + + // ErrCodeAuthorDoesNotExistException for service response error code + // "AuthorDoesNotExistException". + // + // The specified Amazon Resource Name (ARN) does not exist in the AWS account. + ErrCodeAuthorDoesNotExistException = "AuthorDoesNotExistException" + + // ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException for service response error code + // "BeforeCommitIdAndAfterCommitIdAreSameException". + // + // The before commit ID and the after commit ID are the same, which is not valid. + // The before commit ID and the after commit ID must be different commit IDs. + ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException = "BeforeCommitIdAndAfterCommitIdAreSameException" + // ErrCodeBlobIdDoesNotExistException for service response error code // "BlobIdDoesNotExistException". // @@ -34,6 +53,56 @@ const ( // A branch name is required but was not specified. ErrCodeBranchNameRequiredException = "BranchNameRequiredException" + // ErrCodeClientRequestTokenRequiredException for service response error code + // "ClientRequestTokenRequiredException". + // + // A client request token is required. A client request token is an unique, + // client-generated idempotency token that when provided in a request, ensures + // the request cannot be repeated with a changed parameter. If a request is + // received with the same parameters and a token is included, the request will + // return information about the initial request that used that token. + ErrCodeClientRequestTokenRequiredException = "ClientRequestTokenRequiredException" + + // ErrCodeCommentContentRequiredException for service response error code + // "CommentContentRequiredException". + // + // The comment is empty. You must provide some content for a comment. The content + // cannot be null. + ErrCodeCommentContentRequiredException = "CommentContentRequiredException" + + // ErrCodeCommentContentSizeLimitExceededException for service response error code + // "CommentContentSizeLimitExceededException". + // + // The comment is too large. Comments are limited to 1,000 characters. + ErrCodeCommentContentSizeLimitExceededException = "CommentContentSizeLimitExceededException" + + // ErrCodeCommentDeletedException for service response error code + // "CommentDeletedException". + // + // This comment has already been deleted. You cannot edit or delete a deleted + // comment. + ErrCodeCommentDeletedException = "CommentDeletedException" + + // ErrCodeCommentDoesNotExistException for service response error code + // "CommentDoesNotExistException". + // + // No comment exists with the provided ID. Verify that you have provided the + // correct ID, and then try again. + ErrCodeCommentDoesNotExistException = "CommentDoesNotExistException" + + // ErrCodeCommentIdRequiredException for service response error code + // "CommentIdRequiredException". + // + // The comment ID is missing or null. A comment ID is required. + ErrCodeCommentIdRequiredException = "CommentIdRequiredException" + + // ErrCodeCommentNotCreatedByCallerException for service response error code + // "CommentNotCreatedByCallerException". + // + // You cannot modify or delete this comment. Only comment authors can modify + // or delete their comments. + ErrCodeCommentNotCreatedByCallerException = "CommentNotCreatedByCallerException" + // ErrCodeCommitDoesNotExistException for service response error code // "CommitDoesNotExistException". // @@ -105,6 +174,28 @@ const ( // (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). ErrCodeFileTooLargeException = "FileTooLargeException" + // ErrCodeIdempotencyParameterMismatchException for service response error code + // "IdempotencyParameterMismatchException". + // + // The client request token is not valid. Either the token is not in a valid + // format, or the token has been used in a previous request and cannot be re-used. + ErrCodeIdempotencyParameterMismatchException = "IdempotencyParameterMismatchException" + + // ErrCodeInvalidActorArnException for service response error code + // "InvalidActorArnException". + // + // The Amazon Resource Name (ARN) is not valid. Make sure that you have provided + // the full ARN for the user who initiated the change for the pull request, + // and then try again. + ErrCodeInvalidActorArnException = "InvalidActorArnException" + + // ErrCodeInvalidAuthorArnException for service response error code + // "InvalidAuthorArnException". + // + // The Amazon Resource Name (ARN) is not valid. Make sure that you have provided + // the full ARN for the author of the pull request, and then try again. + ErrCodeInvalidAuthorArnException = "InvalidAuthorArnException" + // ErrCodeInvalidBlobIdException for service response error code // "InvalidBlobIdException". // @@ -114,9 +205,22 @@ const ( // ErrCodeInvalidBranchNameException for service response error code // "InvalidBranchNameException". // - // The specified branch name is not valid. + // The specified reference name is not valid. ErrCodeInvalidBranchNameException = "InvalidBranchNameException" + // ErrCodeInvalidClientRequestTokenException for service response error code + // "InvalidClientRequestTokenException". + // + // The client request token is not valid. + ErrCodeInvalidClientRequestTokenException = "InvalidClientRequestTokenException" + + // ErrCodeInvalidCommentIdException for service response error code + // "InvalidCommentIdException". + // + // The comment ID is not in a valid format. Make sure that you have provided + // the full comment ID. + ErrCodeInvalidCommentIdException = "InvalidCommentIdException" + // ErrCodeInvalidCommitException for service response error code // "InvalidCommitException". // @@ -135,12 +239,46 @@ const ( // The specified continuation token is not valid. ErrCodeInvalidContinuationTokenException = "InvalidContinuationTokenException" + // ErrCodeInvalidDescriptionException for service response error code + // "InvalidDescriptionException". + // + // The pull request description is not valid. Descriptions are limited to 1,000 + // characters in length. + ErrCodeInvalidDescriptionException = "InvalidDescriptionException" + + // ErrCodeInvalidDestinationCommitSpecifierException for service response error code + // "InvalidDestinationCommitSpecifierException". + // + // The destination commit specifier is not valid. You must provide a valid branch + // name, tag, or full commit ID. + ErrCodeInvalidDestinationCommitSpecifierException = "InvalidDestinationCommitSpecifierException" + + // ErrCodeInvalidFileLocationException for service response error code + // "InvalidFileLocationException". + // + // The location of the file is not valid. Make sure that you include the extension + // of the file as well as the file name. + ErrCodeInvalidFileLocationException = "InvalidFileLocationException" + + // ErrCodeInvalidFilePositionException for service response error code + // "InvalidFilePositionException". + // + // The position is not valid. Make sure that the line number exists in the version + // of the file you want to comment on. + ErrCodeInvalidFilePositionException = "InvalidFilePositionException" + // ErrCodeInvalidMaxResultsException for service response error code // "InvalidMaxResultsException". // // The specified number of maximum results is not valid. ErrCodeInvalidMaxResultsException = "InvalidMaxResultsException" + // ErrCodeInvalidMergeOptionException for service response error code + // "InvalidMergeOptionException". + // + // The specified merge option is not valid. The only valid value is FAST_FORWARD_MERGE. + ErrCodeInvalidMergeOptionException = "InvalidMergeOptionException" + // ErrCodeInvalidOrderException for service response error code // "InvalidOrderException". // @@ -153,6 +291,50 @@ const ( // The specified path is not valid. ErrCodeInvalidPathException = "InvalidPathException" + // ErrCodeInvalidPullRequestEventTypeException for service response error code + // "InvalidPullRequestEventTypeException". + // + // The pull request event type is not valid. + ErrCodeInvalidPullRequestEventTypeException = "InvalidPullRequestEventTypeException" + + // ErrCodeInvalidPullRequestIdException for service response error code + // "InvalidPullRequestIdException". + // + // The pull request ID is not valid. Make sure that you have provided the full + // ID and that the pull request is in the specified repository, and then try + // again. + ErrCodeInvalidPullRequestIdException = "InvalidPullRequestIdException" + + // ErrCodeInvalidPullRequestStatusException for service response error code + // "InvalidPullRequestStatusException". + // + // The pull request status is not valid. The only valid values are OPEN and + // CLOSED. + ErrCodeInvalidPullRequestStatusException = "InvalidPullRequestStatusException" + + // ErrCodeInvalidPullRequestStatusUpdateException for service response error code + // "InvalidPullRequestStatusUpdateException". + // + // The pull request status update is not valid. The only valid update is from + // OPEN to CLOSED. + ErrCodeInvalidPullRequestStatusUpdateException = "InvalidPullRequestStatusUpdateException" + + // ErrCodeInvalidReferenceNameException for service response error code + // "InvalidReferenceNameException". + // + // The specified reference name format is not valid. Reference names must conform + // to the Git references format, for example refs/heads/master. For more information, + // see Git Internals - Git References (https://git-scm.com/book/en/v2/Git-Internals-Git-References) + // or consult your Git documentation. + ErrCodeInvalidReferenceNameException = "InvalidReferenceNameException" + + // ErrCodeInvalidRelativeFileVersionEnumException for service response error code + // "InvalidRelativeFileVersionEnumException". + // + // Either the enum is not in a valid format, or the specified file version enum + // is not valid in respect to the current file version. + ErrCodeInvalidRelativeFileVersionEnumException = "InvalidRelativeFileVersionEnumException" + // ErrCodeInvalidRepositoryDescriptionException for service response error code // "InvalidRepositoryDescriptionException". // @@ -215,12 +397,58 @@ const ( // The specified sort by value is not valid. ErrCodeInvalidSortByException = "InvalidSortByException" + // ErrCodeInvalidSourceCommitSpecifierException for service response error code + // "InvalidSourceCommitSpecifierException". + // + // The source commit specifier is not valid. You must provide a valid branch + // name, tag, or full commit ID. + ErrCodeInvalidSourceCommitSpecifierException = "InvalidSourceCommitSpecifierException" + + // ErrCodeInvalidTargetException for service response error code + // "InvalidTargetException". + // + // The target for the pull request is not valid. A target must contain the full + // values for the repository name, source branch, and destination branch for + // the pull request. + ErrCodeInvalidTargetException = "InvalidTargetException" + + // ErrCodeInvalidTargetsException for service response error code + // "InvalidTargetsException". + // + // The targets for the pull request is not valid or not in a valid format. Targets + // are a list of target objects. Each target object must contain the full values + // for the repository name, source branch, and destination branch for a pull + // request. + ErrCodeInvalidTargetsException = "InvalidTargetsException" + + // ErrCodeInvalidTitleException for service response error code + // "InvalidTitleException". + // + // The title of the pull request is not valid. Pull request titles cannot exceed + // 100 characters in length. + ErrCodeInvalidTitleException = "InvalidTitleException" + + // ErrCodeManualMergeRequiredException for service response error code + // "ManualMergeRequiredException". + // + // The pull request cannot be merged automatically into the destination branch. + // You must manually merge the branches and resolve any conflicts. + ErrCodeManualMergeRequiredException = "ManualMergeRequiredException" + // ErrCodeMaximumBranchesExceededException for service response error code // "MaximumBranchesExceededException". // // The number of branches for the trigger was exceeded. ErrCodeMaximumBranchesExceededException = "MaximumBranchesExceededException" + // ErrCodeMaximumOpenPullRequestsExceededException for service response error code + // "MaximumOpenPullRequestsExceededException". + // + // You cannot create the pull request because the repository has too many open + // pull requests. The maximum number of open pull requests for a repository + // is 1,000. Close one or more open pull requests, and then try again. + ErrCodeMaximumOpenPullRequestsExceededException = "MaximumOpenPullRequestsExceededException" + // ErrCodeMaximumRepositoryNamesExceededException for service response error code // "MaximumRepositoryNamesExceededException". // @@ -234,12 +462,75 @@ const ( // The number of triggers allowed for the repository was exceeded. ErrCodeMaximumRepositoryTriggersExceededException = "MaximumRepositoryTriggersExceededException" + // ErrCodeMergeOptionRequiredException for service response error code + // "MergeOptionRequiredException". + // + // A merge option or stategy is required, and none was provided. + ErrCodeMergeOptionRequiredException = "MergeOptionRequiredException" + + // ErrCodeMultipleRepositoriesInPullRequestException for service response error code + // "MultipleRepositoriesInPullRequestException". + // + // You cannot include more than one repository in a pull request. Make sure + // you have specified only one repository name in your request, and then try + // again. + ErrCodeMultipleRepositoriesInPullRequestException = "MultipleRepositoriesInPullRequestException" + // ErrCodePathDoesNotExistException for service response error code // "PathDoesNotExistException". // // The specified path does not exist. ErrCodePathDoesNotExistException = "PathDoesNotExistException" + // ErrCodePathRequiredException for service response error code + // "PathRequiredException". + // + // The filePath for a location cannot be empty or null. + ErrCodePathRequiredException = "PathRequiredException" + + // ErrCodePullRequestAlreadyClosedException for service response error code + // "PullRequestAlreadyClosedException". + // + // The pull request status cannot be updated because it is already closed. + ErrCodePullRequestAlreadyClosedException = "PullRequestAlreadyClosedException" + + // ErrCodePullRequestDoesNotExistException for service response error code + // "PullRequestDoesNotExistException". + // + // The pull request ID could not be found. Make sure that you have specified + // the correct repository name and pull request ID, and then try again. + ErrCodePullRequestDoesNotExistException = "PullRequestDoesNotExistException" + + // ErrCodePullRequestIdRequiredException for service response error code + // "PullRequestIdRequiredException". + // + // A pull request ID is required, but none was provided. + ErrCodePullRequestIdRequiredException = "PullRequestIdRequiredException" + + // ErrCodePullRequestStatusRequiredException for service response error code + // "PullRequestStatusRequiredException". + // + // A pull request status is required, but none was provided. + ErrCodePullRequestStatusRequiredException = "PullRequestStatusRequiredException" + + // ErrCodeReferenceDoesNotExistException for service response error code + // "ReferenceDoesNotExistException". + // + // The specified reference does not exist. You must provide a full commit ID. + ErrCodeReferenceDoesNotExistException = "ReferenceDoesNotExistException" + + // ErrCodeReferenceNameRequiredException for service response error code + // "ReferenceNameRequiredException". + // + // A reference name is required, but none was provided. + ErrCodeReferenceNameRequiredException = "ReferenceNameRequiredException" + + // ErrCodeReferenceTypeNotSupportedException for service response error code + // "ReferenceTypeNotSupportedException". + // + // The specified reference is not a supported type. + ErrCodeReferenceTypeNotSupportedException = "ReferenceTypeNotSupportedException" + // ErrCodeRepositoryDoesNotExistException for service response error code // "RepositoryDoesNotExistException". // @@ -270,6 +561,14 @@ const ( // A repository names object is required but was not specified. ErrCodeRepositoryNamesRequiredException = "RepositoryNamesRequiredException" + // ErrCodeRepositoryNotAssociatedWithPullRequestException for service response error code + // "RepositoryNotAssociatedWithPullRequestException". + // + // The repository does not contain any pull requests with that pull request + // ID. Check to make sure you have provided the correct repository name for + // the pull request. + ErrCodeRepositoryNotAssociatedWithPullRequestException = "RepositoryNotAssociatedWithPullRequestException" + // ErrCodeRepositoryTriggerBranchNameListRequiredException for service response error code // "RepositoryTriggerBranchNameListRequiredException". // @@ -301,4 +600,47 @@ const ( // // The list of triggers for the repository is required but was not specified. ErrCodeRepositoryTriggersListRequiredException = "RepositoryTriggersListRequiredException" + + // ErrCodeSourceAndDestinationAreSameException for service response error code + // "SourceAndDestinationAreSameException". + // + // The source branch and the destination branch for the pull request are the + // same. You must specify different branches for the source and destination. + ErrCodeSourceAndDestinationAreSameException = "SourceAndDestinationAreSameException" + + // ErrCodeTargetRequiredException for service response error code + // "TargetRequiredException". + // + // A pull request target is required. It cannot be empty or null. A pull request + // target must contain the full values for the repository name, source branch, + // and destination branch for the pull request. + ErrCodeTargetRequiredException = "TargetRequiredException" + + // ErrCodeTargetsRequiredException for service response error code + // "TargetsRequiredException". + // + // An array of target objects is required. It cannot be empty or null. + ErrCodeTargetsRequiredException = "TargetsRequiredException" + + // ErrCodeTipOfSourceReferenceIsDifferentException for service response error code + // "TipOfSourceReferenceIsDifferentException". + // + // The tip of the source branch in the destination repository does not match + // the tip of the source branch specified in your request. The pull request + // might have been updated. Make sure that you have the latest changes. + ErrCodeTipOfSourceReferenceIsDifferentException = "TipOfSourceReferenceIsDifferentException" + + // ErrCodeTipsDivergenceExceededException for service response error code + // "TipsDivergenceExceededException". + // + // The divergence between the tips of the provided commit specifiers is too + // great to determine whether there might be any merge conflicts. Locally compare + // the specifiers using git diff or a diff tool. + ErrCodeTipsDivergenceExceededException = "TipsDivergenceExceededException" + + // ErrCodeTitleRequiredException for service response error code + // "TitleRequiredException". + // + // A pull request title is required. It cannot be empty or null. + ErrCodeTitleRequiredException = "TitleRequiredException" ) diff --git a/vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go b/vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go index f7018b8dda5..6e281cb133e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go @@ -37,7 +37,7 @@ const opAddTagsToOnPremisesInstances = "AddTagsToOnPremisesInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstances func (c *CodeDeploy) AddTagsToOnPremisesInstancesRequest(input *AddTagsToOnPremisesInstancesInput) (req *request.Request, output *AddTagsToOnPremisesInstancesOutput) { op := &request.Operation{ Name: opAddTagsToOnPremisesInstances, @@ -87,7 +87,7 @@ func (c *CodeDeploy) AddTagsToOnPremisesInstancesRequest(input *AddTagsToOnPremi // * ErrCodeInstanceNotRegisteredException "InstanceNotRegisteredException" // The specified on-premises instance is not registered. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstances func (c *CodeDeploy) AddTagsToOnPremisesInstances(input *AddTagsToOnPremisesInstancesInput) (*AddTagsToOnPremisesInstancesOutput, error) { req, out := c.AddTagsToOnPremisesInstancesRequest(input) return out, req.Send() @@ -134,7 +134,7 @@ const opBatchGetApplicationRevisions = "BatchGetApplicationRevisions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisions +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisions func (c *CodeDeploy) BatchGetApplicationRevisionsRequest(input *BatchGetApplicationRevisionsInput) (req *request.Request, output *BatchGetApplicationRevisionsOutput) { op := &request.Operation{ Name: opBatchGetApplicationRevisions, @@ -181,7 +181,7 @@ func (c *CodeDeploy) BatchGetApplicationRevisionsRequest(input *BatchGetApplicat // * ErrCodeBatchLimitExceededException "BatchLimitExceededException" // The maximum number of names or IDs allowed for this request (100) was exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisions +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisions func (c *CodeDeploy) BatchGetApplicationRevisions(input *BatchGetApplicationRevisionsInput) (*BatchGetApplicationRevisionsOutput, error) { req, out := c.BatchGetApplicationRevisionsRequest(input) return out, req.Send() @@ -228,7 +228,7 @@ const opBatchGetApplications = "BatchGetApplications" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications func (c *CodeDeploy) BatchGetApplicationsRequest(input *BatchGetApplicationsInput) (req *request.Request, output *BatchGetApplicationsOutput) { op := &request.Operation{ Name: opBatchGetApplications, @@ -269,7 +269,7 @@ func (c *CodeDeploy) BatchGetApplicationsRequest(input *BatchGetApplicationsInpu // * ErrCodeBatchLimitExceededException "BatchLimitExceededException" // The maximum number of names or IDs allowed for this request (100) was exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications func (c *CodeDeploy) BatchGetApplications(input *BatchGetApplicationsInput) (*BatchGetApplicationsOutput, error) { req, out := c.BatchGetApplicationsRequest(input) return out, req.Send() @@ -316,7 +316,7 @@ const opBatchGetDeploymentGroups = "BatchGetDeploymentGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups func (c *CodeDeploy) BatchGetDeploymentGroupsRequest(input *BatchGetDeploymentGroupsInput) (req *request.Request, output *BatchGetDeploymentGroupsOutput) { op := &request.Operation{ Name: opBatchGetDeploymentGroups, @@ -363,7 +363,7 @@ func (c *CodeDeploy) BatchGetDeploymentGroupsRequest(input *BatchGetDeploymentGr // * ErrCodeBatchLimitExceededException "BatchLimitExceededException" // The maximum number of names or IDs allowed for this request (100) was exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups func (c *CodeDeploy) BatchGetDeploymentGroups(input *BatchGetDeploymentGroupsInput) (*BatchGetDeploymentGroupsOutput, error) { req, out := c.BatchGetDeploymentGroupsRequest(input) return out, req.Send() @@ -410,7 +410,7 @@ const opBatchGetDeploymentInstances = "BatchGetDeploymentInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstances func (c *CodeDeploy) BatchGetDeploymentInstancesRequest(input *BatchGetDeploymentInstancesInput) (req *request.Request, output *BatchGetDeploymentInstancesOutput) { op := &request.Operation{ Name: opBatchGetDeploymentInstances, @@ -458,7 +458,7 @@ func (c *CodeDeploy) BatchGetDeploymentInstancesRequest(input *BatchGetDeploymen // * ErrCodeBatchLimitExceededException "BatchLimitExceededException" // The maximum number of names or IDs allowed for this request (100) was exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstances func (c *CodeDeploy) BatchGetDeploymentInstances(input *BatchGetDeploymentInstancesInput) (*BatchGetDeploymentInstancesOutput, error) { req, out := c.BatchGetDeploymentInstancesRequest(input) return out, req.Send() @@ -505,7 +505,7 @@ const opBatchGetDeployments = "BatchGetDeployments" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments func (c *CodeDeploy) BatchGetDeploymentsRequest(input *BatchGetDeploymentsInput) (req *request.Request, output *BatchGetDeploymentsOutput) { op := &request.Operation{ Name: opBatchGetDeployments, @@ -543,7 +543,7 @@ func (c *CodeDeploy) BatchGetDeploymentsRequest(input *BatchGetDeploymentsInput) // * ErrCodeBatchLimitExceededException "BatchLimitExceededException" // The maximum number of names or IDs allowed for this request (100) was exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments func (c *CodeDeploy) BatchGetDeployments(input *BatchGetDeploymentsInput) (*BatchGetDeploymentsOutput, error) { req, out := c.BatchGetDeploymentsRequest(input) return out, req.Send() @@ -590,7 +590,7 @@ const opBatchGetOnPremisesInstances = "BatchGetOnPremisesInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstances func (c *CodeDeploy) BatchGetOnPremisesInstancesRequest(input *BatchGetOnPremisesInstancesInput) (req *request.Request, output *BatchGetOnPremisesInstancesOutput) { op := &request.Operation{ Name: opBatchGetOnPremisesInstances, @@ -628,7 +628,7 @@ func (c *CodeDeploy) BatchGetOnPremisesInstancesRequest(input *BatchGetOnPremise // * ErrCodeBatchLimitExceededException "BatchLimitExceededException" // The maximum number of names or IDs allowed for this request (100) was exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstances func (c *CodeDeploy) BatchGetOnPremisesInstances(input *BatchGetOnPremisesInstancesInput) (*BatchGetOnPremisesInstancesOutput, error) { req, out := c.BatchGetOnPremisesInstancesRequest(input) return out, req.Send() @@ -675,7 +675,7 @@ const opContinueDeployment = "ContinueDeployment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeployment +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeployment func (c *CodeDeploy) ContinueDeploymentRequest(input *ContinueDeploymentInput) (req *request.Request, output *ContinueDeploymentOutput) { op := &request.Operation{ Name: opContinueDeployment, @@ -729,7 +729,7 @@ func (c *CodeDeploy) ContinueDeploymentRequest(input *ContinueDeploymentInput) ( // * ErrCodeUnsupportedActionForDeploymentTypeException "UnsupportedActionForDeploymentTypeException" // A call was submitted that is not supported for the specified deployment type. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeployment +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeployment func (c *CodeDeploy) ContinueDeployment(input *ContinueDeploymentInput) (*ContinueDeploymentOutput, error) { req, out := c.ContinueDeploymentRequest(input) return out, req.Send() @@ -776,7 +776,7 @@ const opCreateApplication = "CreateApplication" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplication func (c *CodeDeploy) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) { op := &request.Operation{ Name: opCreateApplication, @@ -818,7 +818,7 @@ func (c *CodeDeploy) CreateApplicationRequest(input *CreateApplicationInput) (re // * ErrCodeApplicationLimitExceededException "ApplicationLimitExceededException" // More applications were attempted to be created than are allowed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplication func (c *CodeDeploy) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) { req, out := c.CreateApplicationRequest(input) return out, req.Send() @@ -865,7 +865,7 @@ const opCreateDeployment = "CreateDeployment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeployment +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeployment func (c *CodeDeploy) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput) { op := &request.Operation{ Name: opCreateDeployment, @@ -961,7 +961,7 @@ func (c *CodeDeploy) CreateDeploymentRequest(input *CreateDeploymentInput) (req // but weren't part of the previous successful deployment. Valid values include // "DISALLOW", "OVERWRITE", and "RETAIN". // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeployment +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeployment func (c *CodeDeploy) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error) { req, out := c.CreateDeploymentRequest(input) return out, req.Send() @@ -1008,7 +1008,7 @@ const opCreateDeploymentConfig = "CreateDeploymentConfig" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfig func (c *CodeDeploy) CreateDeploymentConfigRequest(input *CreateDeploymentConfigInput) (req *request.Request, output *CreateDeploymentConfigOutput) { op := &request.Operation{ Name: opCreateDeploymentConfig, @@ -1053,7 +1053,7 @@ func (c *CodeDeploy) CreateDeploymentConfigRequest(input *CreateDeploymentConfig // * ErrCodeDeploymentConfigLimitExceededException "DeploymentConfigLimitExceededException" // The deployment configurations limit was exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfig func (c *CodeDeploy) CreateDeploymentConfig(input *CreateDeploymentConfigInput) (*CreateDeploymentConfigOutput, error) { req, out := c.CreateDeploymentConfigRequest(input) return out, req.Send() @@ -1100,7 +1100,7 @@ const opCreateDeploymentGroup = "CreateDeploymentGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroup func (c *CodeDeploy) CreateDeploymentGroupRequest(input *CreateDeploymentGroupInput) (req *request.Request, output *CreateDeploymentGroupOutput) { op := &request.Operation{ Name: opCreateDeploymentGroup, @@ -1230,7 +1230,7 @@ func (c *CodeDeploy) CreateDeploymentGroupRequest(input *CreateDeploymentGroupIn // The number of tag groups included in the tag set list exceeded the maximum // allowed limit of 3. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroup func (c *CodeDeploy) CreateDeploymentGroup(input *CreateDeploymentGroupInput) (*CreateDeploymentGroupOutput, error) { req, out := c.CreateDeploymentGroupRequest(input) return out, req.Send() @@ -1277,7 +1277,7 @@ const opDeleteApplication = "DeleteApplication" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplication func (c *CodeDeploy) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) { op := &request.Operation{ Name: opDeleteApplication, @@ -1314,7 +1314,7 @@ func (c *CodeDeploy) DeleteApplicationRequest(input *DeleteApplicationInput) (re // * ErrCodeInvalidApplicationNameException "InvalidApplicationNameException" // The application name was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplication func (c *CodeDeploy) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) { req, out := c.DeleteApplicationRequest(input) return out, req.Send() @@ -1361,7 +1361,7 @@ const opDeleteDeploymentConfig = "DeleteDeploymentConfig" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfig func (c *CodeDeploy) DeleteDeploymentConfigRequest(input *DeleteDeploymentConfigInput) (req *request.Request, output *DeleteDeploymentConfigOutput) { op := &request.Operation{ Name: opDeleteDeploymentConfig, @@ -1407,7 +1407,7 @@ func (c *CodeDeploy) DeleteDeploymentConfigRequest(input *DeleteDeploymentConfig // * ErrCodeInvalidOperationException "InvalidOperationException" // An invalid operation was detected. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfig func (c *CodeDeploy) DeleteDeploymentConfig(input *DeleteDeploymentConfigInput) (*DeleteDeploymentConfigOutput, error) { req, out := c.DeleteDeploymentConfigRequest(input) return out, req.Send() @@ -1454,7 +1454,7 @@ const opDeleteDeploymentGroup = "DeleteDeploymentGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroup func (c *CodeDeploy) DeleteDeploymentGroupRequest(input *DeleteDeploymentGroupInput) (req *request.Request, output *DeleteDeploymentGroupOutput) { op := &request.Operation{ Name: opDeleteDeploymentGroup, @@ -1500,7 +1500,7 @@ func (c *CodeDeploy) DeleteDeploymentGroupRequest(input *DeleteDeploymentGroupIn // group was specified, the specified service role does not grant the appropriate // permissions to Auto Scaling. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroup func (c *CodeDeploy) DeleteDeploymentGroup(input *DeleteDeploymentGroupInput) (*DeleteDeploymentGroupOutput, error) { req, out := c.DeleteDeploymentGroupRequest(input) return out, req.Send() @@ -1547,7 +1547,7 @@ const opDeregisterOnPremisesInstance = "DeregisterOnPremisesInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstance func (c *CodeDeploy) DeregisterOnPremisesInstanceRequest(input *DeregisterOnPremisesInstanceInput) (req *request.Request, output *DeregisterOnPremisesInstanceOutput) { op := &request.Operation{ Name: opDeregisterOnPremisesInstance, @@ -1584,7 +1584,7 @@ func (c *CodeDeploy) DeregisterOnPremisesInstanceRequest(input *DeregisterOnPrem // * ErrCodeInvalidInstanceNameException "InvalidInstanceNameException" // The specified on-premises instance name was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstance func (c *CodeDeploy) DeregisterOnPremisesInstance(input *DeregisterOnPremisesInstanceInput) (*DeregisterOnPremisesInstanceOutput, error) { req, out := c.DeregisterOnPremisesInstanceRequest(input) return out, req.Send() @@ -1631,7 +1631,7 @@ const opGetApplication = "GetApplication" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication func (c *CodeDeploy) GetApplicationRequest(input *GetApplicationInput) (req *request.Request, output *GetApplicationOutput) { op := &request.Operation{ Name: opGetApplication, @@ -1669,7 +1669,7 @@ func (c *CodeDeploy) GetApplicationRequest(input *GetApplicationInput) (req *req // * ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" // The application does not exist with the applicable IAM user or AWS account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication func (c *CodeDeploy) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error) { req, out := c.GetApplicationRequest(input) return out, req.Send() @@ -1716,7 +1716,7 @@ const opGetApplicationRevision = "GetApplicationRevision" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevision +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevision func (c *CodeDeploy) GetApplicationRevisionRequest(input *GetApplicationRevisionInput) (req *request.Request, output *GetApplicationRevisionOutput) { op := &request.Operation{ Name: opGetApplicationRevision, @@ -1763,7 +1763,7 @@ func (c *CodeDeploy) GetApplicationRevisionRequest(input *GetApplicationRevision // * ErrCodeInvalidRevisionException "InvalidRevisionException" // The revision was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevision +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevision func (c *CodeDeploy) GetApplicationRevision(input *GetApplicationRevisionInput) (*GetApplicationRevisionOutput, error) { req, out := c.GetApplicationRevisionRequest(input) return out, req.Send() @@ -1810,7 +1810,7 @@ const opGetDeployment = "GetDeployment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment func (c *CodeDeploy) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *GetDeploymentOutput) { op := &request.Operation{ Name: opGetDeployment, @@ -1848,7 +1848,7 @@ func (c *CodeDeploy) GetDeploymentRequest(input *GetDeploymentInput) (req *reque // * ErrCodeDeploymentDoesNotExistException "DeploymentDoesNotExistException" // The deployment does not exist with the applicable IAM user or AWS account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment func (c *CodeDeploy) GetDeployment(input *GetDeploymentInput) (*GetDeploymentOutput, error) { req, out := c.GetDeploymentRequest(input) return out, req.Send() @@ -1895,7 +1895,7 @@ const opGetDeploymentConfig = "GetDeploymentConfig" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfig func (c *CodeDeploy) GetDeploymentConfigRequest(input *GetDeploymentConfigInput) (req *request.Request, output *GetDeploymentConfigOutput) { op := &request.Operation{ Name: opGetDeploymentConfig, @@ -1934,7 +1934,7 @@ func (c *CodeDeploy) GetDeploymentConfigRequest(input *GetDeploymentConfigInput) // The deployment configuration does not exist with the applicable IAM user // or AWS account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfig func (c *CodeDeploy) GetDeploymentConfig(input *GetDeploymentConfigInput) (*GetDeploymentConfigOutput, error) { req, out := c.GetDeploymentConfigRequest(input) return out, req.Send() @@ -1981,7 +1981,7 @@ const opGetDeploymentGroup = "GetDeploymentGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup func (c *CodeDeploy) GetDeploymentGroupRequest(input *GetDeploymentGroupInput) (req *request.Request, output *GetDeploymentGroupOutput) { op := &request.Operation{ Name: opGetDeploymentGroup, @@ -2029,7 +2029,7 @@ func (c *CodeDeploy) GetDeploymentGroupRequest(input *GetDeploymentGroupInput) ( // The named deployment group does not exist with the applicable IAM user or // AWS account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup func (c *CodeDeploy) GetDeploymentGroup(input *GetDeploymentGroupInput) (*GetDeploymentGroupOutput, error) { req, out := c.GetDeploymentGroupRequest(input) return out, req.Send() @@ -2076,7 +2076,7 @@ const opGetDeploymentInstance = "GetDeploymentInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstance func (c *CodeDeploy) GetDeploymentInstanceRequest(input *GetDeploymentInstanceInput) (req *request.Request, output *GetDeploymentInstanceOutput) { op := &request.Operation{ Name: opGetDeploymentInstance, @@ -2123,7 +2123,7 @@ func (c *CodeDeploy) GetDeploymentInstanceRequest(input *GetDeploymentInstanceIn // * ErrCodeInvalidInstanceNameException "InvalidInstanceNameException" // The specified on-premises instance name was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstance func (c *CodeDeploy) GetDeploymentInstance(input *GetDeploymentInstanceInput) (*GetDeploymentInstanceOutput, error) { req, out := c.GetDeploymentInstanceRequest(input) return out, req.Send() @@ -2170,7 +2170,7 @@ const opGetOnPremisesInstance = "GetOnPremisesInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstance func (c *CodeDeploy) GetOnPremisesInstanceRequest(input *GetOnPremisesInstanceInput) (req *request.Request, output *GetOnPremisesInstanceOutput) { op := &request.Operation{ Name: opGetOnPremisesInstance, @@ -2208,7 +2208,7 @@ func (c *CodeDeploy) GetOnPremisesInstanceRequest(input *GetOnPremisesInstanceIn // * ErrCodeInvalidInstanceNameException "InvalidInstanceNameException" // The specified on-premises instance name was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstance func (c *CodeDeploy) GetOnPremisesInstance(input *GetOnPremisesInstanceInput) (*GetOnPremisesInstanceOutput, error) { req, out := c.GetOnPremisesInstanceRequest(input) return out, req.Send() @@ -2255,7 +2255,7 @@ const opListApplicationRevisions = "ListApplicationRevisions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisions +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisions func (c *CodeDeploy) ListApplicationRevisionsRequest(input *ListApplicationRevisionsInput) (req *request.Request, output *ListApplicationRevisionsOutput) { op := &request.Operation{ Name: opListApplicationRevisions, @@ -2321,7 +2321,7 @@ func (c *CodeDeploy) ListApplicationRevisionsRequest(input *ListApplicationRevis // * ErrCodeInvalidNextTokenException "InvalidNextTokenException" // The next token was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisions +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisions func (c *CodeDeploy) ListApplicationRevisions(input *ListApplicationRevisionsInput) (*ListApplicationRevisionsOutput, error) { req, out := c.ListApplicationRevisionsRequest(input) return out, req.Send() @@ -2418,7 +2418,7 @@ const opListApplications = "ListApplications" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplications +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplications func (c *CodeDeploy) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput) { op := &request.Operation{ Name: opListApplications, @@ -2456,7 +2456,7 @@ func (c *CodeDeploy) ListApplicationsRequest(input *ListApplicationsInput) (req // * ErrCodeInvalidNextTokenException "InvalidNextTokenException" // The next token was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplications +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplications func (c *CodeDeploy) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error) { req, out := c.ListApplicationsRequest(input) return out, req.Send() @@ -2553,7 +2553,7 @@ const opListDeploymentConfigs = "ListDeploymentConfigs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigs +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigs func (c *CodeDeploy) ListDeploymentConfigsRequest(input *ListDeploymentConfigsInput) (req *request.Request, output *ListDeploymentConfigsOutput) { op := &request.Operation{ Name: opListDeploymentConfigs, @@ -2591,7 +2591,7 @@ func (c *CodeDeploy) ListDeploymentConfigsRequest(input *ListDeploymentConfigsIn // * ErrCodeInvalidNextTokenException "InvalidNextTokenException" // The next token was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigs +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigs func (c *CodeDeploy) ListDeploymentConfigs(input *ListDeploymentConfigsInput) (*ListDeploymentConfigsOutput, error) { req, out := c.ListDeploymentConfigsRequest(input) return out, req.Send() @@ -2688,7 +2688,7 @@ const opListDeploymentGroups = "ListDeploymentGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroups func (c *CodeDeploy) ListDeploymentGroupsRequest(input *ListDeploymentGroupsInput) (req *request.Request, output *ListDeploymentGroupsOutput) { op := &request.Operation{ Name: opListDeploymentGroups, @@ -2736,7 +2736,7 @@ func (c *CodeDeploy) ListDeploymentGroupsRequest(input *ListDeploymentGroupsInpu // * ErrCodeInvalidNextTokenException "InvalidNextTokenException" // The next token was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroups func (c *CodeDeploy) ListDeploymentGroups(input *ListDeploymentGroupsInput) (*ListDeploymentGroupsOutput, error) { req, out := c.ListDeploymentGroupsRequest(input) return out, req.Send() @@ -2833,7 +2833,7 @@ const opListDeploymentInstances = "ListDeploymentInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstances func (c *CodeDeploy) ListDeploymentInstancesRequest(input *ListDeploymentInstancesInput) (req *request.Request, output *ListDeploymentInstancesOutput) { op := &request.Operation{ Name: opListDeploymentInstances, @@ -2896,7 +2896,7 @@ func (c *CodeDeploy) ListDeploymentInstancesRequest(input *ListDeploymentInstanc // An instance type was specified for an in-place deployment. Instance types // are supported for blue/green deployments only. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstances func (c *CodeDeploy) ListDeploymentInstances(input *ListDeploymentInstancesInput) (*ListDeploymentInstancesOutput, error) { req, out := c.ListDeploymentInstancesRequest(input) return out, req.Send() @@ -2993,7 +2993,7 @@ const opListDeployments = "ListDeployments" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeployments +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeployments func (c *CodeDeploy) ListDeploymentsRequest(input *ListDeploymentsInput) (req *request.Request, output *ListDeploymentsOutput) { op := &request.Operation{ Name: opListDeployments, @@ -3057,7 +3057,7 @@ func (c *CodeDeploy) ListDeploymentsRequest(input *ListDeploymentsInput) (req *r // * ErrCodeInvalidNextTokenException "InvalidNextTokenException" // The next token was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeployments +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeployments func (c *CodeDeploy) ListDeployments(input *ListDeploymentsInput) (*ListDeploymentsOutput, error) { req, out := c.ListDeploymentsRequest(input) return out, req.Send() @@ -3154,7 +3154,7 @@ const opListGitHubAccountTokenNames = "ListGitHubAccountTokenNames" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames func (c *CodeDeploy) ListGitHubAccountTokenNamesRequest(input *ListGitHubAccountTokenNamesInput) (req *request.Request, output *ListGitHubAccountTokenNamesOutput) { op := &request.Operation{ Name: opListGitHubAccountTokenNames, @@ -3189,7 +3189,7 @@ func (c *CodeDeploy) ListGitHubAccountTokenNamesRequest(input *ListGitHubAccount // * ErrCodeResourceValidationException "ResourceValidationException" // The specified resource could not be validated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames func (c *CodeDeploy) ListGitHubAccountTokenNames(input *ListGitHubAccountTokenNamesInput) (*ListGitHubAccountTokenNamesOutput, error) { req, out := c.ListGitHubAccountTokenNamesRequest(input) return out, req.Send() @@ -3236,7 +3236,7 @@ const opListOnPremisesInstances = "ListOnPremisesInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstances func (c *CodeDeploy) ListOnPremisesInstancesRequest(input *ListOnPremisesInstancesInput) (req *request.Request, output *ListOnPremisesInstancesOutput) { op := &request.Operation{ Name: opListOnPremisesInstances, @@ -3278,7 +3278,7 @@ func (c *CodeDeploy) ListOnPremisesInstancesRequest(input *ListOnPremisesInstanc // * ErrCodeInvalidNextTokenException "InvalidNextTokenException" // The next token was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstances func (c *CodeDeploy) ListOnPremisesInstances(input *ListOnPremisesInstancesInput) (*ListOnPremisesInstancesOutput, error) { req, out := c.ListOnPremisesInstancesRequest(input) return out, req.Send() @@ -3325,7 +3325,7 @@ const opRegisterApplicationRevision = "RegisterApplicationRevision" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevision +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevision func (c *CodeDeploy) RegisterApplicationRevisionRequest(input *RegisterApplicationRevisionInput) (req *request.Request, output *RegisterApplicationRevisionOutput) { op := &request.Operation{ Name: opRegisterApplicationRevision, @@ -3374,7 +3374,7 @@ func (c *CodeDeploy) RegisterApplicationRevisionRequest(input *RegisterApplicati // * ErrCodeInvalidRevisionException "InvalidRevisionException" // The revision was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevision +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevision func (c *CodeDeploy) RegisterApplicationRevision(input *RegisterApplicationRevisionInput) (*RegisterApplicationRevisionOutput, error) { req, out := c.RegisterApplicationRevisionRequest(input) return out, req.Send() @@ -3421,7 +3421,7 @@ const opRegisterOnPremisesInstance = "RegisterOnPremisesInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstance func (c *CodeDeploy) RegisterOnPremisesInstanceRequest(input *RegisterOnPremisesInstanceInput) (req *request.Request, output *RegisterOnPremisesInstanceOutput) { op := &request.Operation{ Name: opRegisterOnPremisesInstance, @@ -3488,7 +3488,7 @@ func (c *CodeDeploy) RegisterOnPremisesInstanceRequest(input *RegisterOnPremises // Both an IAM user ARN and an IAM session ARN were included in the request. // Use only one ARN type. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstance func (c *CodeDeploy) RegisterOnPremisesInstance(input *RegisterOnPremisesInstanceInput) (*RegisterOnPremisesInstanceOutput, error) { req, out := c.RegisterOnPremisesInstanceRequest(input) return out, req.Send() @@ -3535,7 +3535,7 @@ const opRemoveTagsFromOnPremisesInstances = "RemoveTagsFromOnPremisesInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstances func (c *CodeDeploy) RemoveTagsFromOnPremisesInstancesRequest(input *RemoveTagsFromOnPremisesInstancesInput) (req *request.Request, output *RemoveTagsFromOnPremisesInstancesOutput) { op := &request.Operation{ Name: opRemoveTagsFromOnPremisesInstances, @@ -3585,7 +3585,7 @@ func (c *CodeDeploy) RemoveTagsFromOnPremisesInstancesRequest(input *RemoveTagsF // * ErrCodeInstanceNotRegisteredException "InstanceNotRegisteredException" // The specified on-premises instance is not registered. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstances func (c *CodeDeploy) RemoveTagsFromOnPremisesInstances(input *RemoveTagsFromOnPremisesInstancesInput) (*RemoveTagsFromOnPremisesInstancesOutput, error) { req, out := c.RemoveTagsFromOnPremisesInstancesRequest(input) return out, req.Send() @@ -3632,7 +3632,7 @@ const opSkipWaitTimeForInstanceTermination = "SkipWaitTimeForInstanceTermination // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTermination +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTermination func (c *CodeDeploy) SkipWaitTimeForInstanceTerminationRequest(input *SkipWaitTimeForInstanceTerminationInput) (req *request.Request, output *SkipWaitTimeForInstanceTerminationOutput) { op := &request.Operation{ Name: opSkipWaitTimeForInstanceTermination, @@ -3682,7 +3682,7 @@ func (c *CodeDeploy) SkipWaitTimeForInstanceTerminationRequest(input *SkipWaitTi // * ErrCodeUnsupportedActionForDeploymentTypeException "UnsupportedActionForDeploymentTypeException" // A call was submitted that is not supported for the specified deployment type. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTermination +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTermination func (c *CodeDeploy) SkipWaitTimeForInstanceTermination(input *SkipWaitTimeForInstanceTerminationInput) (*SkipWaitTimeForInstanceTerminationOutput, error) { req, out := c.SkipWaitTimeForInstanceTerminationRequest(input) return out, req.Send() @@ -3729,7 +3729,7 @@ const opStopDeployment = "StopDeployment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeployment +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeployment func (c *CodeDeploy) StopDeploymentRequest(input *StopDeploymentInput) (req *request.Request, output *StopDeploymentOutput) { op := &request.Operation{ Name: opStopDeployment, @@ -3770,7 +3770,7 @@ func (c *CodeDeploy) StopDeploymentRequest(input *StopDeploymentInput) (req *req // * ErrCodeInvalidDeploymentIdException "InvalidDeploymentIdException" // At least one of the deployment IDs was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeployment +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeployment func (c *CodeDeploy) StopDeployment(input *StopDeploymentInput) (*StopDeploymentOutput, error) { req, out := c.StopDeploymentRequest(input) return out, req.Send() @@ -3817,7 +3817,7 @@ const opUpdateApplication = "UpdateApplication" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication func (c *CodeDeploy) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) { op := &request.Operation{ Name: opUpdateApplication, @@ -3861,7 +3861,7 @@ func (c *CodeDeploy) UpdateApplicationRequest(input *UpdateApplicationInput) (re // * ErrCodeApplicationDoesNotExistException "ApplicationDoesNotExistException" // The application does not exist with the applicable IAM user or AWS account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication func (c *CodeDeploy) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) { req, out := c.UpdateApplicationRequest(input) return out, req.Send() @@ -3908,7 +3908,7 @@ const opUpdateDeploymentGroup = "UpdateDeploymentGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup func (c *CodeDeploy) UpdateDeploymentGroupRequest(input *UpdateDeploymentGroupInput) (req *request.Request, output *UpdateDeploymentGroupOutput) { op := &request.Operation{ Name: opUpdateDeploymentGroup, @@ -4036,7 +4036,7 @@ func (c *CodeDeploy) UpdateDeploymentGroupRequest(input *UpdateDeploymentGroupIn // The number of tag groups included in the tag set list exceeded the maximum // allowed limit of 3. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup func (c *CodeDeploy) UpdateDeploymentGroup(input *UpdateDeploymentGroupInput) (*UpdateDeploymentGroupOutput, error) { req, out := c.UpdateDeploymentGroupRequest(input) return out, req.Send() @@ -4059,7 +4059,7 @@ func (c *CodeDeploy) UpdateDeploymentGroupWithContext(ctx aws.Context, input *Up } // Represents the input of, and adds tags to, an on-premises instance operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstancesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstancesInput type AddTagsToOnPremisesInstancesInput struct { _ struct{} `type:"structure"` @@ -4115,7 +4115,7 @@ func (s *AddTagsToOnPremisesInstancesInput) SetTags(v []*Tag) *AddTagsToOnPremis return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstancesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstancesOutput type AddTagsToOnPremisesInstancesOutput struct { _ struct{} `type:"structure"` } @@ -4131,7 +4131,7 @@ func (s AddTagsToOnPremisesInstancesOutput) GoString() string { } // Information about an alarm. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Alarm +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Alarm type Alarm struct { _ struct{} `type:"structure"` @@ -4157,7 +4157,7 @@ func (s *Alarm) SetName(v string) *Alarm { } // Information about alarms associated with the deployment group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AlarmConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AlarmConfiguration type AlarmConfiguration struct { _ struct{} `type:"structure"` @@ -4209,7 +4209,7 @@ func (s *AlarmConfiguration) SetIgnorePollAlarmFailure(v bool) *AlarmConfigurati } // Information about an application. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ApplicationInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ApplicationInfo type ApplicationInfo struct { _ struct{} `type:"structure"` @@ -4272,7 +4272,7 @@ func (s *ApplicationInfo) SetLinkedToGitHub(v bool) *ApplicationInfo { // Information about a configuration for automatically rolling back to a previous // version of an application revision when a deployment doesn't complete successfully. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AutoRollbackConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AutoRollbackConfiguration type AutoRollbackConfiguration struct { _ struct{} `type:"structure"` @@ -4307,7 +4307,7 @@ func (s *AutoRollbackConfiguration) SetEvents(v []*string) *AutoRollbackConfigur } // Information about an Auto Scaling group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AutoScalingGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AutoScalingGroup type AutoScalingGroup struct { _ struct{} `type:"structure"` @@ -4341,7 +4341,7 @@ func (s *AutoScalingGroup) SetName(v string) *AutoScalingGroup { } // Represents the input of a BatchGetApplicationRevisions operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsInput type BatchGetApplicationRevisionsInput struct { _ struct{} `type:"structure"` @@ -4398,7 +4398,7 @@ func (s *BatchGetApplicationRevisionsInput) SetRevisions(v []*RevisionLocation) } // Represents the output of a BatchGetApplicationRevisions operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsOutput type BatchGetApplicationRevisionsOutput struct { _ struct{} `type:"structure"` @@ -4441,7 +4441,7 @@ func (s *BatchGetApplicationRevisionsOutput) SetRevisions(v []*RevisionInfo) *Ba } // Represents the input of a BatchGetApplications operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsInput type BatchGetApplicationsInput struct { _ struct{} `type:"structure"` @@ -4466,7 +4466,7 @@ func (s *BatchGetApplicationsInput) SetApplicationNames(v []*string) *BatchGetAp } // Represents the output of a BatchGetApplications operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsOutput type BatchGetApplicationsOutput struct { _ struct{} `type:"structure"` @@ -4491,7 +4491,7 @@ func (s *BatchGetApplicationsOutput) SetApplicationsInfo(v []*ApplicationInfo) * } // Represents the input of a BatchGetDeploymentGroups operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroupsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroupsInput type BatchGetDeploymentGroupsInput struct { _ struct{} `type:"structure"` @@ -4549,7 +4549,7 @@ func (s *BatchGetDeploymentGroupsInput) SetDeploymentGroupNames(v []*string) *Ba } // Represents the output of a BatchGetDeploymentGroups operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroupsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroupsOutput type BatchGetDeploymentGroupsOutput struct { _ struct{} `type:"structure"` @@ -4583,7 +4583,7 @@ func (s *BatchGetDeploymentGroupsOutput) SetErrorMessage(v string) *BatchGetDepl } // Represents the input of a BatchGetDeploymentInstances operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesInput type BatchGetDeploymentInstancesInput struct { _ struct{} `type:"structure"` @@ -4637,7 +4637,7 @@ func (s *BatchGetDeploymentInstancesInput) SetInstanceIds(v []*string) *BatchGet } // Represents the output of a BatchGetDeploymentInstances operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesOutput type BatchGetDeploymentInstancesOutput struct { _ struct{} `type:"structure"` @@ -4671,7 +4671,7 @@ func (s *BatchGetDeploymentInstancesOutput) SetInstancesSummary(v []*InstanceSum } // Represents the input of a BatchGetDeployments operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsInput type BatchGetDeploymentsInput struct { _ struct{} `type:"structure"` @@ -4696,7 +4696,7 @@ func (s *BatchGetDeploymentsInput) SetDeploymentIds(v []*string) *BatchGetDeploy } // Represents the output of a BatchGetDeployments operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsOutput type BatchGetDeploymentsOutput struct { _ struct{} `type:"structure"` @@ -4721,7 +4721,7 @@ func (s *BatchGetDeploymentsOutput) SetDeploymentsInfo(v []*DeploymentInfo) *Bat } // Represents the input of a BatchGetOnPremisesInstances operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesInput type BatchGetOnPremisesInstancesInput struct { _ struct{} `type:"structure"` @@ -4746,7 +4746,7 @@ func (s *BatchGetOnPremisesInstancesInput) SetInstanceNames(v []*string) *BatchG } // Represents the output of a BatchGetOnPremisesInstances operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesOutput type BatchGetOnPremisesInstancesOutput struct { _ struct{} `type:"structure"` @@ -4771,7 +4771,7 @@ func (s *BatchGetOnPremisesInstancesOutput) SetInstanceInfos(v []*InstanceInfo) } // Information about blue/green deployment options for a deployment group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BlueGreenDeploymentConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BlueGreenDeploymentConfiguration type BlueGreenDeploymentConfiguration struct { _ struct{} `type:"structure"` @@ -4818,7 +4818,7 @@ func (s *BlueGreenDeploymentConfiguration) SetTerminateBlueInstancesOnDeployment // Information about whether instances in the original environment are terminated // when a blue/green deployment is successful. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BlueInstanceTerminationOption +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BlueInstanceTerminationOption type BlueInstanceTerminationOption struct { _ struct{} `type:"structure"` @@ -4858,7 +4858,7 @@ func (s *BlueInstanceTerminationOption) SetTerminationWaitTimeInMinutes(v int64) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeploymentInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeploymentInput type ContinueDeploymentInput struct { _ struct{} `type:"structure"` @@ -4883,7 +4883,7 @@ func (s *ContinueDeploymentInput) SetDeploymentId(v string) *ContinueDeploymentI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeploymentOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeploymentOutput type ContinueDeploymentOutput struct { _ struct{} `type:"structure"` } @@ -4899,7 +4899,7 @@ func (s ContinueDeploymentOutput) GoString() string { } // Represents the input of a CreateApplication operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplicationInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplicationInput type CreateApplicationInput struct { _ struct{} `type:"structure"` @@ -4943,7 +4943,7 @@ func (s *CreateApplicationInput) SetApplicationName(v string) *CreateApplication } // Represents the output of a CreateApplication operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplicationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplicationOutput type CreateApplicationOutput struct { _ struct{} `type:"structure"` @@ -4968,7 +4968,7 @@ func (s *CreateApplicationOutput) SetApplicationId(v string) *CreateApplicationO } // Represents the input of a CreateDeploymentConfig operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigInput type CreateDeploymentConfigInput struct { _ struct{} `type:"structure"` @@ -5043,7 +5043,7 @@ func (s *CreateDeploymentConfigInput) SetMinimumHealthyHosts(v *MinimumHealthyHo } // Represents the output of a CreateDeploymentConfig operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigOutput type CreateDeploymentConfigOutput struct { _ struct{} `type:"structure"` @@ -5068,7 +5068,7 @@ func (s *CreateDeploymentConfigOutput) SetDeploymentConfigId(v string) *CreateDe } // Represents the input of a CreateDeploymentGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupInput type CreateDeploymentGroupInput struct { _ struct{} `type:"structure"` @@ -5279,7 +5279,7 @@ func (s *CreateDeploymentGroupInput) SetTriggerConfigurations(v []*TriggerConfig } // Represents the output of a CreateDeploymentGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupOutput type CreateDeploymentGroupOutput struct { _ struct{} `type:"structure"` @@ -5304,7 +5304,7 @@ func (s *CreateDeploymentGroupOutput) SetDeploymentGroupId(v string) *CreateDepl } // Represents the input of a CreateDeployment operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentInput type CreateDeploymentInput struct { _ struct{} `type:"structure"` @@ -5464,7 +5464,7 @@ func (s *CreateDeploymentInput) SetUpdateOutdatedInstancesOnly(v bool) *CreateDe } // Represents the output of a CreateDeployment operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentOutput type CreateDeploymentOutput struct { _ struct{} `type:"structure"` @@ -5489,7 +5489,7 @@ func (s *CreateDeploymentOutput) SetDeploymentId(v string) *CreateDeploymentOutp } // Represents the input of a DeleteApplication operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplicationInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplicationInput type DeleteApplicationInput struct { _ struct{} `type:"structure"` @@ -5532,7 +5532,7 @@ func (s *DeleteApplicationInput) SetApplicationName(v string) *DeleteApplication return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplicationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplicationOutput type DeleteApplicationOutput struct { _ struct{} `type:"structure"` } @@ -5548,7 +5548,7 @@ func (s DeleteApplicationOutput) GoString() string { } // Represents the input of a DeleteDeploymentConfig operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfigInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfigInput type DeleteDeploymentConfigInput struct { _ struct{} `type:"structure"` @@ -5591,7 +5591,7 @@ func (s *DeleteDeploymentConfigInput) SetDeploymentConfigName(v string) *DeleteD return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfigOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfigOutput type DeleteDeploymentConfigOutput struct { _ struct{} `type:"structure"` } @@ -5607,7 +5607,7 @@ func (s DeleteDeploymentConfigOutput) GoString() string { } // Represents the input of a DeleteDeploymentGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroupInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroupInput type DeleteDeploymentGroupInput struct { _ struct{} `type:"structure"` @@ -5668,7 +5668,7 @@ func (s *DeleteDeploymentGroupInput) SetDeploymentGroupName(v string) *DeleteDep } // Represents the output of a DeleteDeploymentGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroupOutput type DeleteDeploymentGroupOutput struct { _ struct{} `type:"structure"` @@ -5698,7 +5698,7 @@ func (s *DeleteDeploymentGroupOutput) SetHooksNotCleanedUp(v []*AutoScalingGroup } // Information about a deployment configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigInfo type DeploymentConfigInfo struct { _ struct{} `type:"structure"` @@ -5750,7 +5750,7 @@ func (s *DeploymentConfigInfo) SetMinimumHealthyHosts(v *MinimumHealthyHosts) *D } // Information about a deployment group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentGroupInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentGroupInfo type DeploymentGroupInfo struct { _ struct{} `type:"structure"` @@ -5948,7 +5948,7 @@ func (s *DeploymentGroupInfo) SetTriggerConfigurations(v []*TriggerConfig) *Depl } // Information about a deployment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentInfo type DeploymentInfo struct { _ struct{} `type:"structure"` @@ -6229,7 +6229,7 @@ func (s *DeploymentInfo) SetUpdateOutdatedInstancesOnly(v bool) *DeploymentInfo } // Information about the deployment status of the instances in the deployment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentOverview +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentOverview type DeploymentOverview struct { _ struct{} `type:"structure"` @@ -6302,7 +6302,7 @@ func (s *DeploymentOverview) SetSucceeded(v int64) *DeploymentOverview { // Information about how traffic is rerouted to instances in a replacement environment // in a blue/green deployment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentReadyOption +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentReadyOption type DeploymentReadyOption struct { _ struct{} `type:"structure"` @@ -6349,7 +6349,7 @@ func (s *DeploymentReadyOption) SetWaitTimeInMinutes(v int64) *DeploymentReadyOp // Information about the type of deployment, either in-place or blue/green, // you want to run and whether to route deployment traffic behind a load balancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentStyle +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentStyle type DeploymentStyle struct { _ struct{} `type:"structure"` @@ -6383,7 +6383,7 @@ func (s *DeploymentStyle) SetDeploymentType(v string) *DeploymentStyle { } // Represents the input of a DeregisterOnPremisesInstance operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstanceInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstanceInput type DeregisterOnPremisesInstanceInput struct { _ struct{} `type:"structure"` @@ -6422,7 +6422,7 @@ func (s *DeregisterOnPremisesInstanceInput) SetInstanceName(v string) *Deregiste return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstanceOutput type DeregisterOnPremisesInstanceOutput struct { _ struct{} `type:"structure"` } @@ -6438,7 +6438,7 @@ func (s DeregisterOnPremisesInstanceOutput) GoString() string { } // Diagnostic information about executable scripts that are part of a deployment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Diagnostics +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Diagnostics type Diagnostics struct { _ struct{} `type:"structure"` @@ -6507,7 +6507,7 @@ func (s *Diagnostics) SetScriptName(v string) *Diagnostics { } // Information about an EC2 tag filter. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/EC2TagFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/EC2TagFilter type EC2TagFilter struct { _ struct{} `type:"structure"` @@ -6556,7 +6556,7 @@ func (s *EC2TagFilter) SetValue(v string) *EC2TagFilter { } // Information about groups of EC2 instance tags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/EC2TagSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/EC2TagSet type EC2TagSet struct { _ struct{} `type:"structure"` @@ -6585,7 +6585,7 @@ func (s *EC2TagSet) SetEc2TagSetList(v [][]*EC2TagFilter) *EC2TagSet { // Information about a load balancer in Elastic Load Balancing to use in a deployment. // Instances are registered directly with a load balancer, and traffic is routed // to the load balancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ELBInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ELBInfo type ELBInfo struct { _ struct{} `type:"structure"` @@ -6614,7 +6614,7 @@ func (s *ELBInfo) SetName(v string) *ELBInfo { } // Information about a deployment error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ErrorInformation +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ErrorInformation type ErrorInformation struct { _ struct{} `type:"structure"` @@ -6688,7 +6688,7 @@ func (s *ErrorInformation) SetMessage(v string) *ErrorInformation { } // Information about an application revision. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GenericRevisionInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GenericRevisionInfo type GenericRevisionInfo struct { _ struct{} `type:"structure"` @@ -6749,7 +6749,7 @@ func (s *GenericRevisionInfo) SetRegisterTime(v time.Time) *GenericRevisionInfo } // Represents the input of a GetApplication operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationInput type GetApplicationInput struct { _ struct{} `type:"structure"` @@ -6793,7 +6793,7 @@ func (s *GetApplicationInput) SetApplicationName(v string) *GetApplicationInput } // Represents the output of a GetApplication operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationOutput type GetApplicationOutput struct { _ struct{} `type:"structure"` @@ -6818,7 +6818,7 @@ func (s *GetApplicationOutput) SetApplication(v *ApplicationInfo) *GetApplicatio } // Represents the input of a GetApplicationRevision operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevisionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevisionInput type GetApplicationRevisionInput struct { _ struct{} `type:"structure"` @@ -6875,7 +6875,7 @@ func (s *GetApplicationRevisionInput) SetRevision(v *RevisionLocation) *GetAppli } // Represents the output of a GetApplicationRevision operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevisionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevisionOutput type GetApplicationRevisionOutput struct { _ struct{} `type:"structure"` @@ -6918,7 +6918,7 @@ func (s *GetApplicationRevisionOutput) SetRevisionInfo(v *GenericRevisionInfo) * } // Represents the input of a GetDeploymentConfig operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigInput type GetDeploymentConfigInput struct { _ struct{} `type:"structure"` @@ -6962,7 +6962,7 @@ func (s *GetDeploymentConfigInput) SetDeploymentConfigName(v string) *GetDeploym } // Represents the output of a GetDeploymentConfig operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigOutput type GetDeploymentConfigOutput struct { _ struct{} `type:"structure"` @@ -6987,7 +6987,7 @@ func (s *GetDeploymentConfigOutput) SetDeploymentConfigInfo(v *DeploymentConfigI } // Represents the input of a GetDeploymentGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroupInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroupInput type GetDeploymentGroupInput struct { _ struct{} `type:"structure"` @@ -7048,7 +7048,7 @@ func (s *GetDeploymentGroupInput) SetDeploymentGroupName(v string) *GetDeploymen } // Represents the output of a GetDeploymentGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroupOutput type GetDeploymentGroupOutput struct { _ struct{} `type:"structure"` @@ -7073,7 +7073,7 @@ func (s *GetDeploymentGroupOutput) SetDeploymentGroupInfo(v *DeploymentGroupInfo } // Represents the input of a GetDeployment operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInput type GetDeploymentInput struct { _ struct{} `type:"structure"` @@ -7113,7 +7113,7 @@ func (s *GetDeploymentInput) SetDeploymentId(v string) *GetDeploymentInput { } // Represents the input of a GetDeploymentInstance operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstanceInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstanceInput type GetDeploymentInstanceInput struct { _ struct{} `type:"structure"` @@ -7167,7 +7167,7 @@ func (s *GetDeploymentInstanceInput) SetInstanceId(v string) *GetDeploymentInsta } // Represents the output of a GetDeploymentInstance operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstanceOutput type GetDeploymentInstanceOutput struct { _ struct{} `type:"structure"` @@ -7192,7 +7192,7 @@ func (s *GetDeploymentInstanceOutput) SetInstanceSummary(v *InstanceSummary) *Ge } // Represents the output of a GetDeployment operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentOutput type GetDeploymentOutput struct { _ struct{} `type:"structure"` @@ -7217,7 +7217,7 @@ func (s *GetDeploymentOutput) SetDeploymentInfo(v *DeploymentInfo) *GetDeploymen } // Represents the input of a GetOnPremisesInstance operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstanceInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstanceInput type GetOnPremisesInstanceInput struct { _ struct{} `type:"structure"` @@ -7257,7 +7257,7 @@ func (s *GetOnPremisesInstanceInput) SetInstanceName(v string) *GetOnPremisesIns } // Represents the output of a GetOnPremisesInstance operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstanceOutput type GetOnPremisesInstanceOutput struct { _ struct{} `type:"structure"` @@ -7282,7 +7282,7 @@ func (s *GetOnPremisesInstanceOutput) SetInstanceInfo(v *InstanceInfo) *GetOnPre } // Information about the location of application artifacts stored in GitHub. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GitHubLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GitHubLocation type GitHubLocation struct { _ struct{} `type:"structure"` @@ -7321,7 +7321,7 @@ func (s *GitHubLocation) SetRepository(v string) *GitHubLocation { // Information about the instances that belong to the replacement environment // in a blue/green deployment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GreenFleetProvisioningOption +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GreenFleetProvisioningOption type GreenFleetProvisioningOption struct { _ struct{} `type:"structure"` @@ -7352,7 +7352,7 @@ func (s *GreenFleetProvisioningOption) SetAction(v string) *GreenFleetProvisioni } // Information about an on-premises instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceInfo type InstanceInfo struct { _ struct{} `type:"structure"` @@ -7432,7 +7432,7 @@ func (s *InstanceInfo) SetTags(v []*Tag) *InstanceInfo { } // Information about an instance in a deployment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceSummary type InstanceSummary struct { _ struct{} `type:"structure"` @@ -7520,7 +7520,7 @@ func (s *InstanceSummary) SetStatus(v string) *InstanceSummary { // Information about the most recent attempted or successful deployment to a // deployment group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LastDeploymentInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LastDeploymentInfo type LastDeploymentInfo struct { _ struct{} `type:"structure"` @@ -7574,7 +7574,7 @@ func (s *LastDeploymentInfo) SetStatus(v string) *LastDeploymentInfo { } // Information about a deployment lifecycle event. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LifecycleEvent +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LifecycleEvent type LifecycleEvent struct { _ struct{} `type:"structure"` @@ -7648,7 +7648,7 @@ func (s *LifecycleEvent) SetStatus(v string) *LifecycleEvent { } // Represents the input of a ListApplicationRevisions operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisionsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisionsInput type ListApplicationRevisionsInput struct { _ struct{} `type:"structure"` @@ -7775,7 +7775,7 @@ func (s *ListApplicationRevisionsInput) SetSortOrder(v string) *ListApplicationR } // Represents the output of a ListApplicationRevisions operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisionsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisionsOutput type ListApplicationRevisionsOutput struct { _ struct{} `type:"structure"` @@ -7811,7 +7811,7 @@ func (s *ListApplicationRevisionsOutput) SetRevisions(v []*RevisionLocation) *Li } // Represents the input of a ListApplications operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationsInput type ListApplicationsInput struct { _ struct{} `type:"structure"` @@ -7837,7 +7837,7 @@ func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput { } // Represents the output of a ListApplications operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationsOutput type ListApplicationsOutput struct { _ struct{} `type:"structure"` @@ -7873,7 +7873,7 @@ func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput } // Represents the input of a ListDeploymentConfigs operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigsInput type ListDeploymentConfigsInput struct { _ struct{} `type:"structure"` @@ -7900,7 +7900,7 @@ func (s *ListDeploymentConfigsInput) SetNextToken(v string) *ListDeploymentConfi } // Represents the output of a ListDeploymentConfigs operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigsOutput type ListDeploymentConfigsOutput struct { _ struct{} `type:"structure"` @@ -7937,7 +7937,7 @@ func (s *ListDeploymentConfigsOutput) SetNextToken(v string) *ListDeploymentConf } // Represents the input of a ListDeploymentGroups operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroupsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroupsInput type ListDeploymentGroupsInput struct { _ struct{} `type:"structure"` @@ -7991,7 +7991,7 @@ func (s *ListDeploymentGroupsInput) SetNextToken(v string) *ListDeploymentGroups } // Represents the output of a ListDeploymentGroups operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroupsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroupsOutput type ListDeploymentGroupsOutput struct { _ struct{} `type:"structure"` @@ -8036,7 +8036,7 @@ func (s *ListDeploymentGroupsOutput) SetNextToken(v string) *ListDeploymentGroup } // Represents the input of a ListDeploymentInstances operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstancesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstancesInput type ListDeploymentInstancesInput struct { _ struct{} `type:"structure"` @@ -8118,7 +8118,7 @@ func (s *ListDeploymentInstancesInput) SetNextToken(v string) *ListDeploymentIns } // Represents the output of a ListDeploymentInstances operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstancesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstancesOutput type ListDeploymentInstancesOutput struct { _ struct{} `type:"structure"` @@ -8154,7 +8154,7 @@ func (s *ListDeploymentInstancesOutput) SetNextToken(v string) *ListDeploymentIn } // Represents the input of a ListDeployments operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentsInput type ListDeploymentsInput struct { _ struct{} `type:"structure"` @@ -8245,7 +8245,7 @@ func (s *ListDeploymentsInput) SetNextToken(v string) *ListDeploymentsInput { } // Represents the output of a ListDeployments operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentsOutput type ListDeploymentsOutput struct { _ struct{} `type:"structure"` @@ -8281,7 +8281,7 @@ func (s *ListDeploymentsOutput) SetNextToken(v string) *ListDeploymentsOutput { } // Represents the input of a ListGitHubAccountTokenNames operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesInput type ListGitHubAccountTokenNamesInput struct { _ struct{} `type:"structure"` @@ -8307,7 +8307,7 @@ func (s *ListGitHubAccountTokenNamesInput) SetNextToken(v string) *ListGitHubAcc } // Represents the output of a ListGitHubAccountTokenNames operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesOutput type ListGitHubAccountTokenNamesOutput struct { _ struct{} `type:"structure"` @@ -8343,7 +8343,7 @@ func (s *ListGitHubAccountTokenNamesOutput) SetTokenNameList(v []*string) *ListG } // Represents the input of a ListOnPremisesInstances operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstancesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstancesInput type ListOnPremisesInstancesInput struct { _ struct{} `type:"structure"` @@ -8394,7 +8394,7 @@ func (s *ListOnPremisesInstancesInput) SetTagFilters(v []*TagFilter) *ListOnPrem } // Represents the output of list on-premises instances operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstancesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstancesOutput type ListOnPremisesInstancesOutput struct { _ struct{} `type:"structure"` @@ -8431,7 +8431,7 @@ func (s *ListOnPremisesInstancesOutput) SetNextToken(v string) *ListOnPremisesIn // Information about the Elastic Load Balancing load balancer or target group // used in a deployment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LoadBalancerInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LoadBalancerInfo type LoadBalancerInfo struct { _ struct{} `type:"structure"` @@ -8469,7 +8469,7 @@ func (s *LoadBalancerInfo) SetTargetGroupInfoList(v []*TargetGroupInfo) *LoadBal } // Information about minimum healthy instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/MinimumHealthyHosts +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/MinimumHealthyHosts type MinimumHealthyHosts struct { _ struct{} `type:"structure"` @@ -8528,7 +8528,7 @@ func (s *MinimumHealthyHosts) SetValue(v int64) *MinimumHealthyHosts { } // Information about groups of on-premises instance tags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/OnPremisesTagSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/OnPremisesTagSet type OnPremisesTagSet struct { _ struct{} `type:"structure"` @@ -8555,7 +8555,7 @@ func (s *OnPremisesTagSet) SetOnPremisesTagSetList(v [][]*TagFilter) *OnPremises } // Represents the input of a RegisterApplicationRevision operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevisionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevisionInput type RegisterApplicationRevisionInput struct { _ struct{} `type:"structure"` @@ -8622,7 +8622,7 @@ func (s *RegisterApplicationRevisionInput) SetRevision(v *RevisionLocation) *Reg return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevisionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevisionOutput type RegisterApplicationRevisionOutput struct { _ struct{} `type:"structure"` } @@ -8638,7 +8638,7 @@ func (s RegisterApplicationRevisionOutput) GoString() string { } // Represents the input of the register on-premises instance operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstanceInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstanceInput type RegisterOnPremisesInstanceInput struct { _ struct{} `type:"structure"` @@ -8695,7 +8695,7 @@ func (s *RegisterOnPremisesInstanceInput) SetInstanceName(v string) *RegisterOnP return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstanceOutput type RegisterOnPremisesInstanceOutput struct { _ struct{} `type:"structure"` } @@ -8711,7 +8711,7 @@ func (s RegisterOnPremisesInstanceOutput) GoString() string { } // Represents the input of a RemoveTagsFromOnPremisesInstances operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstancesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstancesInput type RemoveTagsFromOnPremisesInstancesInput struct { _ struct{} `type:"structure"` @@ -8764,7 +8764,7 @@ func (s *RemoveTagsFromOnPremisesInstancesInput) SetTags(v []*Tag) *RemoveTagsFr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstancesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstancesOutput type RemoveTagsFromOnPremisesInstancesOutput struct { _ struct{} `type:"structure"` } @@ -8780,7 +8780,7 @@ func (s RemoveTagsFromOnPremisesInstancesOutput) GoString() string { } // Information about an application revision. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionInfo type RevisionInfo struct { _ struct{} `type:"structure"` @@ -8815,7 +8815,7 @@ func (s *RevisionInfo) SetRevisionLocation(v *RevisionLocation) *RevisionInfo { } // Information about the location of an application revision. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionLocation type RevisionLocation struct { _ struct{} `type:"structure"` @@ -8863,7 +8863,7 @@ func (s *RevisionLocation) SetS3Location(v *S3Location) *RevisionLocation { } // Information about a deployment rollback. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RollbackInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RollbackInfo type RollbackInfo struct { _ struct{} `type:"structure"` @@ -8909,7 +8909,7 @@ func (s *RollbackInfo) SetRollbackTriggeringDeploymentId(v string) *RollbackInfo // Information about the location of application artifacts stored in Amazon // S3. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/S3Location +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/S3Location type S3Location struct { _ struct{} `type:"structure"` @@ -8984,7 +8984,7 @@ func (s *S3Location) SetVersion(v string) *S3Location { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTerminationInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTerminationInput type SkipWaitTimeForInstanceTerminationInput struct { _ struct{} `type:"structure"` @@ -9009,7 +9009,7 @@ func (s *SkipWaitTimeForInstanceTerminationInput) SetDeploymentId(v string) *Ski return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTerminationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTerminationOutput type SkipWaitTimeForInstanceTerminationOutput struct { _ struct{} `type:"structure"` } @@ -9025,7 +9025,7 @@ func (s SkipWaitTimeForInstanceTerminationOutput) GoString() string { } // Represents the input of a StopDeployment operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeploymentInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeploymentInput type StopDeploymentInput struct { _ struct{} `type:"structure"` @@ -9076,7 +9076,7 @@ func (s *StopDeploymentInput) SetDeploymentId(v string) *StopDeploymentInput { } // Represents the output of a StopDeployment operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeploymentOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeploymentOutput type StopDeploymentOutput struct { _ struct{} `type:"structure"` @@ -9114,7 +9114,7 @@ func (s *StopDeploymentOutput) SetStatusMessage(v string) *StopDeploymentOutput } // Information about a tag. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Tag type Tag struct { _ struct{} `type:"structure"` @@ -9148,7 +9148,7 @@ func (s *Tag) SetValue(v string) *Tag { } // Information about an on-premises instance tag filter. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagFilter type TagFilter struct { _ struct{} `type:"structure"` @@ -9199,7 +9199,7 @@ func (s *TagFilter) SetValue(v string) *TagFilter { // Information about a target group in Elastic Load Balancing to use in a deployment. // Instances are registered as targets in a target group, and traffic is routed // to the target group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TargetGroupInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TargetGroupInfo type TargetGroupInfo struct { _ struct{} `type:"structure"` @@ -9229,7 +9229,7 @@ func (s *TargetGroupInfo) SetName(v string) *TargetGroupInfo { // Information about the instances to be used in the replacement environment // in a blue/green deployment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TargetInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TargetInstances type TargetInstances struct { _ struct{} `type:"structure"` @@ -9277,7 +9277,7 @@ func (s *TargetInstances) SetTagFilters(v []*EC2TagFilter) *TargetInstances { } // Information about a time range. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TimeRange +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TimeRange type TimeRange struct { _ struct{} `type:"structure"` @@ -9315,7 +9315,7 @@ func (s *TimeRange) SetStart(v time.Time) *TimeRange { } // Information about notification triggers for the deployment group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TriggerConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TriggerConfig type TriggerConfig struct { _ struct{} `type:"structure"` @@ -9359,7 +9359,7 @@ func (s *TriggerConfig) SetTriggerTargetArn(v string) *TriggerConfig { } // Represents the input of an UpdateApplication operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplicationInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplicationInput type UpdateApplicationInput struct { _ struct{} `type:"structure"` @@ -9408,7 +9408,7 @@ func (s *UpdateApplicationInput) SetNewApplicationName(v string) *UpdateApplicat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplicationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplicationOutput type UpdateApplicationOutput struct { _ struct{} `type:"structure"` } @@ -9424,7 +9424,7 @@ func (s UpdateApplicationOutput) GoString() string { } // Represents the input of an UpdateDeploymentGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupInput type UpdateDeploymentGroupInput struct { _ struct{} `type:"structure"` @@ -9631,7 +9631,7 @@ func (s *UpdateDeploymentGroupInput) SetTriggerConfigurations(v []*TriggerConfig } // Represents the output of an UpdateDeploymentGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupOutput type UpdateDeploymentGroupOutput struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go b/vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go index 9ac88fcc537..6f2a29e4657 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go @@ -38,7 +38,7 @@ const opAcknowledgeJob = "AcknowledgeJob" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJob func (c *CodePipeline) AcknowledgeJobRequest(input *AcknowledgeJobInput) (req *request.Request, output *AcknowledgeJobOutput) { op := &request.Operation{ Name: opAcknowledgeJob, @@ -77,7 +77,7 @@ func (c *CodePipeline) AcknowledgeJobRequest(input *AcknowledgeJobInput) (req *r // * ErrCodeJobNotFoundException "JobNotFoundException" // The specified job was specified in an invalid format or cannot be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJob func (c *CodePipeline) AcknowledgeJob(input *AcknowledgeJobInput) (*AcknowledgeJobOutput, error) { req, out := c.AcknowledgeJobRequest(input) return out, req.Send() @@ -124,7 +124,7 @@ const opAcknowledgeThirdPartyJob = "AcknowledgeThirdPartyJob" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJob func (c *CodePipeline) AcknowledgeThirdPartyJobRequest(input *AcknowledgeThirdPartyJobInput) (req *request.Request, output *AcknowledgeThirdPartyJobOutput) { op := &request.Operation{ Name: opAcknowledgeThirdPartyJob, @@ -166,7 +166,7 @@ func (c *CodePipeline) AcknowledgeThirdPartyJobRequest(input *AcknowledgeThirdPa // * ErrCodeInvalidClientTokenException "InvalidClientTokenException" // The client token was specified in an invalid format // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJob func (c *CodePipeline) AcknowledgeThirdPartyJob(input *AcknowledgeThirdPartyJobInput) (*AcknowledgeThirdPartyJobOutput, error) { req, out := c.AcknowledgeThirdPartyJobRequest(input) return out, req.Send() @@ -213,7 +213,7 @@ const opCreateCustomActionType = "CreateCustomActionType" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionType +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionType func (c *CodePipeline) CreateCustomActionTypeRequest(input *CreateCustomActionTypeInput) (req *request.Request, output *CreateCustomActionTypeOutput) { op := &request.Operation{ Name: opCreateCustomActionType, @@ -250,7 +250,7 @@ func (c *CodePipeline) CreateCustomActionTypeRequest(input *CreateCustomActionTy // The number of pipelines associated with the AWS account has exceeded the // limit allowed for the account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionType +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionType func (c *CodePipeline) CreateCustomActionType(input *CreateCustomActionTypeInput) (*CreateCustomActionTypeOutput, error) { req, out := c.CreateCustomActionTypeRequest(input) return out, req.Send() @@ -297,7 +297,7 @@ const opCreatePipeline = "CreatePipeline" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipeline +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipeline func (c *CodePipeline) CreatePipelineRequest(input *CreatePipelineInput) (req *request.Request, output *CreatePipelineOutput) { op := &request.Operation{ Name: opCreatePipeline, @@ -348,7 +348,7 @@ func (c *CodePipeline) CreatePipelineRequest(input *CreatePipelineInput) (req *r // The number of pipelines associated with the AWS account has exceeded the // limit allowed for the account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipeline +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipeline func (c *CodePipeline) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error) { req, out := c.CreatePipelineRequest(input) return out, req.Send() @@ -395,7 +395,7 @@ const opDeleteCustomActionType = "DeleteCustomActionType" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionType +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionType func (c *CodePipeline) DeleteCustomActionTypeRequest(input *DeleteCustomActionTypeInput) (req *request.Request, output *DeleteCustomActionTypeOutput) { op := &request.Operation{ Name: opDeleteCustomActionType, @@ -433,7 +433,7 @@ func (c *CodePipeline) DeleteCustomActionTypeRequest(input *DeleteCustomActionTy // * ErrCodeValidationException "ValidationException" // The validation was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionType +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionType func (c *CodePipeline) DeleteCustomActionType(input *DeleteCustomActionTypeInput) (*DeleteCustomActionTypeOutput, error) { req, out := c.DeleteCustomActionTypeRequest(input) return out, req.Send() @@ -480,7 +480,7 @@ const opDeletePipeline = "DeletePipeline" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipeline +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipeline func (c *CodePipeline) DeletePipelineRequest(input *DeletePipelineInput) (req *request.Request, output *DeletePipelineOutput) { op := &request.Operation{ Name: opDeletePipeline, @@ -514,7 +514,7 @@ func (c *CodePipeline) DeletePipelineRequest(input *DeletePipelineInput) (req *r // * ErrCodeValidationException "ValidationException" // The validation was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipeline +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipeline func (c *CodePipeline) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error) { req, out := c.DeletePipelineRequest(input) return out, req.Send() @@ -561,7 +561,7 @@ const opDisableStageTransition = "DisableStageTransition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransition +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransition func (c *CodePipeline) DisableStageTransitionRequest(input *DisableStageTransitionInput) (req *request.Request, output *DisableStageTransitionOutput) { op := &request.Operation{ Name: opDisableStageTransition, @@ -602,7 +602,7 @@ func (c *CodePipeline) DisableStageTransitionRequest(input *DisableStageTransiti // * ErrCodeStageNotFoundException "StageNotFoundException" // The specified stage was specified in an invalid format or cannot be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransition +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransition func (c *CodePipeline) DisableStageTransition(input *DisableStageTransitionInput) (*DisableStageTransitionOutput, error) { req, out := c.DisableStageTransitionRequest(input) return out, req.Send() @@ -649,7 +649,7 @@ const opEnableStageTransition = "EnableStageTransition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransition +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransition func (c *CodePipeline) EnableStageTransitionRequest(input *EnableStageTransitionInput) (req *request.Request, output *EnableStageTransitionOutput) { op := &request.Operation{ Name: opEnableStageTransition, @@ -689,7 +689,7 @@ func (c *CodePipeline) EnableStageTransitionRequest(input *EnableStageTransition // * ErrCodeStageNotFoundException "StageNotFoundException" // The specified stage was specified in an invalid format or cannot be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransition +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransition func (c *CodePipeline) EnableStageTransition(input *EnableStageTransitionInput) (*EnableStageTransitionOutput, error) { req, out := c.EnableStageTransitionRequest(input) return out, req.Send() @@ -736,7 +736,7 @@ const opGetJobDetails = "GetJobDetails" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetails func (c *CodePipeline) GetJobDetailsRequest(input *GetJobDetailsInput) (req *request.Request, output *GetJobDetailsOutput) { op := &request.Operation{ Name: opGetJobDetails, @@ -776,7 +776,7 @@ func (c *CodePipeline) GetJobDetailsRequest(input *GetJobDetailsInput) (req *req // * ErrCodeJobNotFoundException "JobNotFoundException" // The specified job was specified in an invalid format or cannot be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetails func (c *CodePipeline) GetJobDetails(input *GetJobDetailsInput) (*GetJobDetailsOutput, error) { req, out := c.GetJobDetailsRequest(input) return out, req.Send() @@ -823,7 +823,7 @@ const opGetPipeline = "GetPipeline" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipeline +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipeline func (c *CodePipeline) GetPipelineRequest(input *GetPipelineInput) (req *request.Request, output *GetPipelineOutput) { op := &request.Operation{ Name: opGetPipeline, @@ -864,7 +864,7 @@ func (c *CodePipeline) GetPipelineRequest(input *GetPipelineInput) (req *request // The specified pipeline version was specified in an invalid format or cannot // be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipeline +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipeline func (c *CodePipeline) GetPipeline(input *GetPipelineInput) (*GetPipelineOutput, error) { req, out := c.GetPipelineRequest(input) return out, req.Send() @@ -911,7 +911,7 @@ const opGetPipelineExecution = "GetPipelineExecution" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecution func (c *CodePipeline) GetPipelineExecutionRequest(input *GetPipelineExecutionInput) (req *request.Request, output *GetPipelineExecutionOutput) { op := &request.Operation{ Name: opGetPipelineExecution, @@ -952,7 +952,7 @@ func (c *CodePipeline) GetPipelineExecutionRequest(input *GetPipelineExecutionIn // The pipeline execution was specified in an invalid format or cannot be found, // or an execution ID does not belong to the specified pipeline. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecution func (c *CodePipeline) GetPipelineExecution(input *GetPipelineExecutionInput) (*GetPipelineExecutionOutput, error) { req, out := c.GetPipelineExecutionRequest(input) return out, req.Send() @@ -999,7 +999,7 @@ const opGetPipelineState = "GetPipelineState" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineState +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineState func (c *CodePipeline) GetPipelineStateRequest(input *GetPipelineStateInput) (req *request.Request, output *GetPipelineStateOutput) { op := &request.Operation{ Name: opGetPipelineState, @@ -1035,7 +1035,7 @@ func (c *CodePipeline) GetPipelineStateRequest(input *GetPipelineStateInput) (re // * ErrCodePipelineNotFoundException "PipelineNotFoundException" // The specified pipeline was specified in an invalid format or cannot be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineState +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineState func (c *CodePipeline) GetPipelineState(input *GetPipelineStateInput) (*GetPipelineStateOutput, error) { req, out := c.GetPipelineStateRequest(input) return out, req.Send() @@ -1082,7 +1082,7 @@ const opGetThirdPartyJobDetails = "GetThirdPartyJobDetails" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetails func (c *CodePipeline) GetThirdPartyJobDetailsRequest(input *GetThirdPartyJobDetailsInput) (req *request.Request, output *GetThirdPartyJobDetailsOutput) { op := &request.Operation{ Name: opGetThirdPartyJobDetails, @@ -1129,7 +1129,7 @@ func (c *CodePipeline) GetThirdPartyJobDetailsRequest(input *GetThirdPartyJobDet // * ErrCodeInvalidJobException "InvalidJobException" // The specified job was specified in an invalid format or cannot be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetails func (c *CodePipeline) GetThirdPartyJobDetails(input *GetThirdPartyJobDetailsInput) (*GetThirdPartyJobDetailsOutput, error) { req, out := c.GetThirdPartyJobDetailsRequest(input) return out, req.Send() @@ -1176,7 +1176,7 @@ const opListActionTypes = "ListActionTypes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypes func (c *CodePipeline) ListActionTypesRequest(input *ListActionTypesInput) (req *request.Request, output *ListActionTypesOutput) { op := &request.Operation{ Name: opListActionTypes, @@ -1213,7 +1213,7 @@ func (c *CodePipeline) ListActionTypesRequest(input *ListActionTypesInput) (req // The next token was specified in an invalid format. Make sure that the next // token you provided is the token returned by a previous call. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypes func (c *CodePipeline) ListActionTypes(input *ListActionTypesInput) (*ListActionTypesOutput, error) { req, out := c.ListActionTypesRequest(input) return out, req.Send() @@ -1260,7 +1260,7 @@ const opListPipelineExecutions = "ListPipelineExecutions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutions +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutions func (c *CodePipeline) ListPipelineExecutionsRequest(input *ListPipelineExecutionsInput) (req *request.Request, output *ListPipelineExecutionsOutput) { op := &request.Operation{ Name: opListPipelineExecutions, @@ -1299,7 +1299,7 @@ func (c *CodePipeline) ListPipelineExecutionsRequest(input *ListPipelineExecutio // The next token was specified in an invalid format. Make sure that the next // token you provided is the token returned by a previous call. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutions +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutions func (c *CodePipeline) ListPipelineExecutions(input *ListPipelineExecutionsInput) (*ListPipelineExecutionsOutput, error) { req, out := c.ListPipelineExecutionsRequest(input) return out, req.Send() @@ -1346,7 +1346,7 @@ const opListPipelines = "ListPipelines" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelines +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelines func (c *CodePipeline) ListPipelinesRequest(input *ListPipelinesInput) (req *request.Request, output *ListPipelinesOutput) { op := &request.Operation{ Name: opListPipelines, @@ -1379,7 +1379,7 @@ func (c *CodePipeline) ListPipelinesRequest(input *ListPipelinesInput) (req *req // The next token was specified in an invalid format. Make sure that the next // token you provided is the token returned by a previous call. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelines +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelines func (c *CodePipeline) ListPipelines(input *ListPipelinesInput) (*ListPipelinesOutput, error) { req, out := c.ListPipelinesRequest(input) return out, req.Send() @@ -1426,7 +1426,7 @@ const opPollForJobs = "PollForJobs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobs +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobs func (c *CodePipeline) PollForJobsRequest(input *PollForJobsInput) (req *request.Request, output *PollForJobsOutput) { op := &request.Operation{ Name: opPollForJobs, @@ -1466,7 +1466,7 @@ func (c *CodePipeline) PollForJobsRequest(input *PollForJobsInput) (req *request // * ErrCodeActionTypeNotFoundException "ActionTypeNotFoundException" // The specified action type cannot be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobs +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobs func (c *CodePipeline) PollForJobs(input *PollForJobsInput) (*PollForJobsOutput, error) { req, out := c.PollForJobsRequest(input) return out, req.Send() @@ -1513,7 +1513,7 @@ const opPollForThirdPartyJobs = "PollForThirdPartyJobs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobs +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobs func (c *CodePipeline) PollForThirdPartyJobsRequest(input *PollForThirdPartyJobsInput) (req *request.Request, output *PollForThirdPartyJobsOutput) { op := &request.Operation{ Name: opPollForThirdPartyJobs, @@ -1553,7 +1553,7 @@ func (c *CodePipeline) PollForThirdPartyJobsRequest(input *PollForThirdPartyJobs // * ErrCodeValidationException "ValidationException" // The validation was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobs +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobs func (c *CodePipeline) PollForThirdPartyJobs(input *PollForThirdPartyJobsInput) (*PollForThirdPartyJobsOutput, error) { req, out := c.PollForThirdPartyJobsRequest(input) return out, req.Send() @@ -1600,7 +1600,7 @@ const opPutActionRevision = "PutActionRevision" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevision +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevision func (c *CodePipeline) PutActionRevisionRequest(input *PutActionRevisionInput) (req *request.Request, output *PutActionRevisionOutput) { op := &request.Operation{ Name: opPutActionRevision, @@ -1641,7 +1641,7 @@ func (c *CodePipeline) PutActionRevisionRequest(input *PutActionRevisionInput) ( // * ErrCodeValidationException "ValidationException" // The validation was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevision +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevision func (c *CodePipeline) PutActionRevision(input *PutActionRevisionInput) (*PutActionRevisionOutput, error) { req, out := c.PutActionRevisionRequest(input) return out, req.Send() @@ -1688,7 +1688,7 @@ const opPutApprovalResult = "PutApprovalResult" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResult func (c *CodePipeline) PutApprovalResultRequest(input *PutApprovalResultInput) (req *request.Request, output *PutApprovalResultOutput) { op := &request.Operation{ Name: opPutApprovalResult, @@ -1736,7 +1736,7 @@ func (c *CodePipeline) PutApprovalResultRequest(input *PutApprovalResultInput) ( // * ErrCodeValidationException "ValidationException" // The validation was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResult func (c *CodePipeline) PutApprovalResult(input *PutApprovalResultInput) (*PutApprovalResultOutput, error) { req, out := c.PutApprovalResultRequest(input) return out, req.Send() @@ -1783,7 +1783,7 @@ const opPutJobFailureResult = "PutJobFailureResult" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResult func (c *CodePipeline) PutJobFailureResultRequest(input *PutJobFailureResultInput) (req *request.Request, output *PutJobFailureResultOutput) { op := &request.Operation{ Name: opPutJobFailureResult, @@ -1824,7 +1824,7 @@ func (c *CodePipeline) PutJobFailureResultRequest(input *PutJobFailureResultInpu // * ErrCodeInvalidJobStateException "InvalidJobStateException" // The specified job state was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResult func (c *CodePipeline) PutJobFailureResult(input *PutJobFailureResultInput) (*PutJobFailureResultOutput, error) { req, out := c.PutJobFailureResultRequest(input) return out, req.Send() @@ -1871,7 +1871,7 @@ const opPutJobSuccessResult = "PutJobSuccessResult" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResult func (c *CodePipeline) PutJobSuccessResultRequest(input *PutJobSuccessResultInput) (req *request.Request, output *PutJobSuccessResultOutput) { op := &request.Operation{ Name: opPutJobSuccessResult, @@ -1912,7 +1912,7 @@ func (c *CodePipeline) PutJobSuccessResultRequest(input *PutJobSuccessResultInpu // * ErrCodeInvalidJobStateException "InvalidJobStateException" // The specified job state was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResult func (c *CodePipeline) PutJobSuccessResult(input *PutJobSuccessResultInput) (*PutJobSuccessResultOutput, error) { req, out := c.PutJobSuccessResultRequest(input) return out, req.Send() @@ -1959,7 +1959,7 @@ const opPutThirdPartyJobFailureResult = "PutThirdPartyJobFailureResult" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResult func (c *CodePipeline) PutThirdPartyJobFailureResultRequest(input *PutThirdPartyJobFailureResultInput) (req *request.Request, output *PutThirdPartyJobFailureResultOutput) { op := &request.Operation{ Name: opPutThirdPartyJobFailureResult, @@ -2003,7 +2003,7 @@ func (c *CodePipeline) PutThirdPartyJobFailureResultRequest(input *PutThirdParty // * ErrCodeInvalidClientTokenException "InvalidClientTokenException" // The client token was specified in an invalid format // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResult func (c *CodePipeline) PutThirdPartyJobFailureResult(input *PutThirdPartyJobFailureResultInput) (*PutThirdPartyJobFailureResultOutput, error) { req, out := c.PutThirdPartyJobFailureResultRequest(input) return out, req.Send() @@ -2050,7 +2050,7 @@ const opPutThirdPartyJobSuccessResult = "PutThirdPartyJobSuccessResult" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult func (c *CodePipeline) PutThirdPartyJobSuccessResultRequest(input *PutThirdPartyJobSuccessResultInput) (req *request.Request, output *PutThirdPartyJobSuccessResultOutput) { op := &request.Operation{ Name: opPutThirdPartyJobSuccessResult, @@ -2094,7 +2094,7 @@ func (c *CodePipeline) PutThirdPartyJobSuccessResultRequest(input *PutThirdParty // * ErrCodeInvalidClientTokenException "InvalidClientTokenException" // The client token was specified in an invalid format // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult func (c *CodePipeline) PutThirdPartyJobSuccessResult(input *PutThirdPartyJobSuccessResultInput) (*PutThirdPartyJobSuccessResultOutput, error) { req, out := c.PutThirdPartyJobSuccessResultRequest(input) return out, req.Send() @@ -2141,7 +2141,7 @@ const opRetryStageExecution = "RetryStageExecution" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecution func (c *CodePipeline) RetryStageExecutionRequest(input *RetryStageExecutionInput) (req *request.Request, output *RetryStageExecutionOutput) { op := &request.Operation{ Name: opRetryStageExecution, @@ -2189,7 +2189,7 @@ func (c *CodePipeline) RetryStageExecutionRequest(input *RetryStageExecutionInpu // The stage has failed in a later run of the pipeline and the pipelineExecutionId // associated with the request is out of date. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecution func (c *CodePipeline) RetryStageExecution(input *RetryStageExecutionInput) (*RetryStageExecutionOutput, error) { req, out := c.RetryStageExecutionRequest(input) return out, req.Send() @@ -2236,7 +2236,7 @@ const opStartPipelineExecution = "StartPipelineExecution" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecution func (c *CodePipeline) StartPipelineExecutionRequest(input *StartPipelineExecutionInput) (req *request.Request, output *StartPipelineExecutionOutput) { op := &request.Operation{ Name: opStartPipelineExecution, @@ -2272,7 +2272,7 @@ func (c *CodePipeline) StartPipelineExecutionRequest(input *StartPipelineExecuti // * ErrCodePipelineNotFoundException "PipelineNotFoundException" // The specified pipeline was specified in an invalid format or cannot be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecution func (c *CodePipeline) StartPipelineExecution(input *StartPipelineExecutionInput) (*StartPipelineExecutionOutput, error) { req, out := c.StartPipelineExecutionRequest(input) return out, req.Send() @@ -2319,7 +2319,7 @@ const opUpdatePipeline = "UpdatePipeline" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline func (c *CodePipeline) UpdatePipelineRequest(input *UpdatePipelineInput) (req *request.Request, output *UpdatePipelineOutput) { op := &request.Operation{ Name: opUpdatePipeline, @@ -2366,7 +2366,7 @@ func (c *CodePipeline) UpdatePipelineRequest(input *UpdatePipelineInput) (req *r // * ErrCodeInvalidStructureException "InvalidStructureException" // The specified structure was specified in an invalid format. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline func (c *CodePipeline) UpdatePipeline(input *UpdatePipelineInput) (*UpdatePipelineOutput, error) { req, out := c.UpdatePipelineRequest(input) return out, req.Send() @@ -2392,7 +2392,7 @@ func (c *CodePipeline) UpdatePipelineWithContext(ctx aws.Context, input *UpdateP // credentials that are issued by AWS Secure Token Service (STS). They can be // used to access input and output artifacts in the Amazon S3 bucket used to // store artifact for the pipeline in AWS CodePipeline. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AWSSessionCredentials +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AWSSessionCredentials type AWSSessionCredentials struct { _ struct{} `type:"structure"` @@ -2441,7 +2441,7 @@ func (s *AWSSessionCredentials) SetSessionToken(v string) *AWSSessionCredentials } // Represents the input of an AcknowledgeJob action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJobInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJobInput type AcknowledgeJobInput struct { _ struct{} `type:"structure"` @@ -2497,7 +2497,7 @@ func (s *AcknowledgeJobInput) SetNonce(v string) *AcknowledgeJobInput { } // Represents the output of an AcknowledgeJob action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJobOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJobOutput type AcknowledgeJobOutput struct { _ struct{} `type:"structure"` @@ -2522,7 +2522,7 @@ func (s *AcknowledgeJobOutput) SetStatus(v string) *AcknowledgeJobOutput { } // Represents the input of an AcknowledgeThirdPartyJob action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJobInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJobInput type AcknowledgeThirdPartyJobInput struct { _ struct{} `type:"structure"` @@ -2599,7 +2599,7 @@ func (s *AcknowledgeThirdPartyJobInput) SetNonce(v string) *AcknowledgeThirdPart } // Represents the output of an AcknowledgeThirdPartyJob action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJobOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJobOutput type AcknowledgeThirdPartyJobOutput struct { _ struct{} `type:"structure"` @@ -2624,7 +2624,7 @@ func (s *AcknowledgeThirdPartyJobOutput) SetStatus(v string) *AcknowledgeThirdPa } // Represents information about an action configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionConfiguration type ActionConfiguration struct { _ struct{} `type:"structure"` @@ -2649,7 +2649,7 @@ func (s *ActionConfiguration) SetConfiguration(v map[string]*string) *ActionConf } // Represents information about an action configuration property. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionConfigurationProperty +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionConfigurationProperty type ActionConfigurationProperty struct { _ struct{} `type:"structure"` @@ -2779,7 +2779,7 @@ func (s *ActionConfigurationProperty) SetType(v string) *ActionConfigurationProp // Represents the context of an action within the stage of a pipeline to a job // worker. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionContext +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionContext type ActionContext struct { _ struct{} `type:"structure"` @@ -2804,7 +2804,7 @@ func (s *ActionContext) SetName(v string) *ActionContext { } // Represents information about an action declaration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionDeclaration +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionDeclaration type ActionDeclaration struct { _ struct{} `type:"structure"` @@ -2937,7 +2937,7 @@ func (s *ActionDeclaration) SetRunOrder(v int64) *ActionDeclaration { } // Represents information about the run of an action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionExecution type ActionExecution struct { _ struct{} `type:"structure"` @@ -3039,7 +3039,7 @@ func (s *ActionExecution) SetToken(v string) *ActionExecution { } // Represents information about the version (or revision) of an action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionRevision +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionRevision type ActionRevision struct { _ struct{} `type:"structure"` @@ -3116,7 +3116,7 @@ func (s *ActionRevision) SetRevisionId(v string) *ActionRevision { } // Represents information about the state of an action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionState +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionState type ActionState struct { _ struct{} `type:"structure"` @@ -3179,7 +3179,7 @@ func (s *ActionState) SetRevisionUrl(v string) *ActionState { } // Returns information about the details of an action type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionType +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionType type ActionType struct { _ struct{} `type:"structure"` @@ -3246,7 +3246,7 @@ func (s *ActionType) SetSettings(v *ActionTypeSettings) *ActionType { } // Represents information about an action type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeId +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeId type ActionTypeId struct { _ struct{} `type:"structure"` @@ -3339,7 +3339,7 @@ func (s *ActionTypeId) SetVersion(v string) *ActionTypeId { } // Returns information about the settings for an action type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeSettings type ActionTypeSettings struct { _ struct{} `type:"structure"` @@ -3423,7 +3423,7 @@ func (s *ActionTypeSettings) SetThirdPartyConfigurationUrl(v string) *ActionType } // Represents information about the result of an approval request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ApprovalResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ApprovalResult type ApprovalResult struct { _ struct{} `type:"structure"` @@ -3478,7 +3478,7 @@ func (s *ApprovalResult) SetSummary(v string) *ApprovalResult { // Represents information about an artifact that will be worked upon by actions // in the pipeline. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/Artifact +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/Artifact type Artifact struct { _ struct{} `type:"structure"` @@ -3522,7 +3522,7 @@ func (s *Artifact) SetRevision(v string) *Artifact { } // Returns information about the details of an artifact. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactDetails type ArtifactDetails struct { _ struct{} `type:"structure"` @@ -3576,7 +3576,7 @@ func (s *ArtifactDetails) SetMinimumCount(v int64) *ArtifactDetails { } // Represents information about the location of an artifact. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactLocation type ArtifactLocation struct { _ struct{} `type:"structure"` @@ -3610,7 +3610,7 @@ func (s *ArtifactLocation) SetType(v string) *ArtifactLocation { } // Represents revision details of an artifact. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactRevision +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactRevision type ArtifactRevision struct { _ struct{} `type:"structure"` @@ -3688,7 +3688,7 @@ func (s *ArtifactRevision) SetRevisionUrl(v string) *ArtifactRevision { } // The Amazon S3 bucket where artifacts are stored for the pipeline. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactStore +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactStore type ArtifactStore struct { _ struct{} `type:"structure"` @@ -3765,7 +3765,7 @@ func (s *ArtifactStore) SetType(v string) *ArtifactStore { } // Reserved for future use. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/BlockerDeclaration +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/BlockerDeclaration type BlockerDeclaration struct { _ struct{} `type:"structure"` @@ -3822,7 +3822,7 @@ func (s *BlockerDeclaration) SetType(v string) *BlockerDeclaration { } // Represents the input of a CreateCustomActionType operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionTypeInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionTypeInput type CreateCustomActionTypeInput struct { _ struct{} `type:"structure"` @@ -3975,7 +3975,7 @@ func (s *CreateCustomActionTypeInput) SetVersion(v string) *CreateCustomActionTy } // Represents the output of a CreateCustomActionType operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionTypeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionTypeOutput type CreateCustomActionTypeOutput struct { _ struct{} `type:"structure"` @@ -4002,7 +4002,7 @@ func (s *CreateCustomActionTypeOutput) SetActionType(v *ActionType) *CreateCusto } // Represents the input of a CreatePipeline action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipelineInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipelineInput type CreatePipelineInput struct { _ struct{} `type:"structure"` @@ -4047,7 +4047,7 @@ func (s *CreatePipelineInput) SetPipeline(v *PipelineDeclaration) *CreatePipelin } // Represents the output of a CreatePipeline action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipelineOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipelineOutput type CreatePipelineOutput struct { _ struct{} `type:"structure"` @@ -4072,7 +4072,7 @@ func (s *CreatePipelineOutput) SetPipeline(v *PipelineDeclaration) *CreatePipeli } // Represents information about a current revision. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CurrentRevision +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CurrentRevision type CurrentRevision struct { _ struct{} `type:"structure"` @@ -4155,7 +4155,7 @@ func (s *CurrentRevision) SetRevisionSummary(v string) *CurrentRevision { // Represents the input of a DeleteCustomActionType operation. The custom action // will be marked as deleted. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionTypeInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionTypeInput type DeleteCustomActionTypeInput struct { _ struct{} `type:"structure"` @@ -4229,7 +4229,7 @@ func (s *DeleteCustomActionTypeInput) SetVersion(v string) *DeleteCustomActionTy return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionTypeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionTypeOutput type DeleteCustomActionTypeOutput struct { _ struct{} `type:"structure"` } @@ -4245,7 +4245,7 @@ func (s DeleteCustomActionTypeOutput) GoString() string { } // Represents the input of a DeletePipeline action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipelineInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipelineInput type DeletePipelineInput struct { _ struct{} `type:"structure"` @@ -4287,7 +4287,7 @@ func (s *DeletePipelineInput) SetName(v string) *DeletePipelineInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipelineOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipelineOutput type DeletePipelineOutput struct { _ struct{} `type:"structure"` } @@ -4303,7 +4303,7 @@ func (s DeletePipelineOutput) GoString() string { } // Represents the input of a DisableStageTransition action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransitionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransitionInput type DisableStageTransitionInput struct { _ struct{} `type:"structure"` @@ -4400,7 +4400,7 @@ func (s *DisableStageTransitionInput) SetTransitionType(v string) *DisableStageT return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransitionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransitionOutput type DisableStageTransitionOutput struct { _ struct{} `type:"structure"` } @@ -4416,7 +4416,7 @@ func (s DisableStageTransitionOutput) GoString() string { } // Represents the input of an EnableStageTransition action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransitionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransitionInput type EnableStageTransitionInput struct { _ struct{} `type:"structure"` @@ -4493,7 +4493,7 @@ func (s *EnableStageTransitionInput) SetTransitionType(v string) *EnableStageTra return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransitionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransitionOutput type EnableStageTransitionOutput struct { _ struct{} `type:"structure"` } @@ -4510,7 +4510,7 @@ func (s EnableStageTransitionOutput) GoString() string { // Represents information about the key used to encrypt data in the artifact // store, such as an AWS Key Management Service (AWS KMS) key. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EncryptionKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EncryptionKey type EncryptionKey struct { _ struct{} `type:"structure"` @@ -4569,7 +4569,7 @@ func (s *EncryptionKey) SetType(v string) *EncryptionKey { } // Represents information about an error in AWS CodePipeline. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ErrorDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ErrorDetails type ErrorDetails struct { _ struct{} `type:"structure"` @@ -4604,7 +4604,7 @@ func (s *ErrorDetails) SetMessage(v string) *ErrorDetails { // The details of the actions taken and results produced on an artifact as it // passes through stages in the pipeline. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ExecutionDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ExecutionDetails type ExecutionDetails struct { _ struct{} `type:"structure"` @@ -4662,7 +4662,7 @@ func (s *ExecutionDetails) SetSummary(v string) *ExecutionDetails { } // Represents information about failure details. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/FailureDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/FailureDetails type FailureDetails struct { _ struct{} `type:"structure"` @@ -4728,7 +4728,7 @@ func (s *FailureDetails) SetType(v string) *FailureDetails { } // Represents the input of a GetJobDetails action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetailsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetailsInput type GetJobDetailsInput struct { _ struct{} `type:"structure"` @@ -4768,7 +4768,7 @@ func (s *GetJobDetailsInput) SetJobId(v string) *GetJobDetailsInput { } // Represents the output of a GetJobDetails action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetailsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetailsOutput type GetJobDetailsOutput struct { _ struct{} `type:"structure"` @@ -4796,7 +4796,7 @@ func (s *GetJobDetailsOutput) SetJobDetails(v *JobDetails) *GetJobDetailsOutput } // Represents the input of a GetPipelineExecution action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecutionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecutionInput type GetPipelineExecutionInput struct { _ struct{} `type:"structure"` @@ -4853,7 +4853,7 @@ func (s *GetPipelineExecutionInput) SetPipelineName(v string) *GetPipelineExecut } // Represents the output of a GetPipelineExecution action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecutionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecutionOutput type GetPipelineExecutionOutput struct { _ struct{} `type:"structure"` @@ -4878,7 +4878,7 @@ func (s *GetPipelineExecutionOutput) SetPipelineExecution(v *PipelineExecution) } // Represents the input of a GetPipeline action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineInput type GetPipelineInput struct { _ struct{} `type:"structure"` @@ -4935,7 +4935,7 @@ func (s *GetPipelineInput) SetVersion(v int64) *GetPipelineInput { } // Represents the output of a GetPipeline action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineOutput type GetPipelineOutput struct { _ struct{} `type:"structure"` @@ -4970,7 +4970,7 @@ func (s *GetPipelineOutput) SetPipeline(v *PipelineDeclaration) *GetPipelineOutp } // Represents the input of a GetPipelineState action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineStateInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineStateInput type GetPipelineStateInput struct { _ struct{} `type:"structure"` @@ -5013,7 +5013,7 @@ func (s *GetPipelineStateInput) SetName(v string) *GetPipelineStateInput { } // Represents the output of a GetPipelineState action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineStateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineStateOutput type GetPipelineStateOutput struct { _ struct{} `type:"structure"` @@ -5077,7 +5077,7 @@ func (s *GetPipelineStateOutput) SetUpdated(v time.Time) *GetPipelineStateOutput } // Represents the input of a GetThirdPartyJobDetails action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetailsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetailsInput type GetThirdPartyJobDetailsInput struct { _ struct{} `type:"structure"` @@ -5138,7 +5138,7 @@ func (s *GetThirdPartyJobDetailsInput) SetJobId(v string) *GetThirdPartyJobDetai } // Represents the output of a GetThirdPartyJobDetails action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetailsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetailsOutput type GetThirdPartyJobDetailsOutput struct { _ struct{} `type:"structure"` @@ -5164,7 +5164,7 @@ func (s *GetThirdPartyJobDetailsOutput) SetJobDetails(v *ThirdPartyJobDetails) * // Represents information about an artifact to be worked on, such as a test // or build artifact. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InputArtifact +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InputArtifact type InputArtifact struct { _ struct{} `type:"structure"` @@ -5213,7 +5213,7 @@ func (s *InputArtifact) SetName(v string) *InputArtifact { } // Represents information about a job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/Job +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/Job type Job struct { _ struct{} `type:"structure"` @@ -5268,7 +5268,7 @@ func (s *Job) SetNonce(v string) *Job { // Represents additional information about a job required for a job worker to // complete the job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/JobData +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/JobData type JobData struct { _ struct{} `type:"structure"` @@ -5361,7 +5361,7 @@ func (s *JobData) SetPipelineContext(v *PipelineContext) *JobData { } // Represents information about the details of a job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/JobDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/JobDetails type JobDetails struct { _ struct{} `type:"structure"` @@ -5405,7 +5405,7 @@ func (s *JobDetails) SetId(v string) *JobDetails { } // Represents the input of a ListActionTypes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypesInput type ListActionTypesInput struct { _ struct{} `type:"structure"` @@ -5453,7 +5453,7 @@ func (s *ListActionTypesInput) SetNextToken(v string) *ListActionTypesInput { } // Represents the output of a ListActionTypes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypesOutput type ListActionTypesOutput struct { _ struct{} `type:"structure"` @@ -5491,7 +5491,7 @@ func (s *ListActionTypesOutput) SetNextToken(v string) *ListActionTypesOutput { } // Represents the input of a ListPipelineExecutions action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutionsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutionsInput type ListPipelineExecutionsInput struct { _ struct{} `type:"structure"` @@ -5562,7 +5562,7 @@ func (s *ListPipelineExecutionsInput) SetPipelineName(v string) *ListPipelineExe } // Represents the output of a ListPipelineExecutions action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutionsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutionsOutput type ListPipelineExecutionsOutput struct { _ struct{} `type:"structure"` @@ -5598,7 +5598,7 @@ func (s *ListPipelineExecutionsOutput) SetPipelineExecutionSummaries(v []*Pipeli } // Represents the input of a ListPipelines action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelinesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelinesInput type ListPipelinesInput struct { _ struct{} `type:"structure"` @@ -5637,7 +5637,7 @@ func (s *ListPipelinesInput) SetNextToken(v string) *ListPipelinesInput { } // Represents the output of a ListPipelines action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelinesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelinesOutput type ListPipelinesOutput struct { _ struct{} `type:"structure"` @@ -5673,7 +5673,7 @@ func (s *ListPipelinesOutput) SetPipelines(v []*PipelineSummary) *ListPipelinesO } // Represents information about the output of an action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/OutputArtifact +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/OutputArtifact type OutputArtifact struct { _ struct{} `type:"structure"` @@ -5724,7 +5724,7 @@ func (s *OutputArtifact) SetName(v string) *OutputArtifact { } // Represents information about a pipeline to a job worker. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineContext +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineContext type PipelineContext struct { _ struct{} `type:"structure"` @@ -5768,7 +5768,7 @@ func (s *PipelineContext) SetStage(v *StageContext) *PipelineContext { } // Represents the structure of actions and stages to be performed in the pipeline. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineDeclaration +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineDeclaration type PipelineDeclaration struct { _ struct{} `type:"structure"` @@ -5884,7 +5884,7 @@ func (s *PipelineDeclaration) SetVersion(v int64) *PipelineDeclaration { } // Represents information about an execution of a pipeline. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecution type PipelineExecution struct { _ struct{} `type:"structure"` @@ -5955,7 +5955,7 @@ func (s *PipelineExecution) SetStatus(v string) *PipelineExecution { } // Summary information about a pipeline execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionSummary type PipelineExecutionSummary struct { _ struct{} `type:"structure"` @@ -6018,7 +6018,7 @@ func (s *PipelineExecutionSummary) SetStatus(v string) *PipelineExecutionSummary } // Information about a pipeline. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineMetadata +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineMetadata type PipelineMetadata struct { _ struct{} `type:"structure"` @@ -6061,7 +6061,7 @@ func (s *PipelineMetadata) SetUpdated(v time.Time) *PipelineMetadata { } // Returns a summary of a pipeline. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineSummary type PipelineSummary struct { _ struct{} `type:"structure"` @@ -6113,7 +6113,7 @@ func (s *PipelineSummary) SetVersion(v int64) *PipelineSummary { } // Represents the input of a PollForJobs action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobsInput type PollForJobsInput struct { _ struct{} `type:"structure"` @@ -6182,7 +6182,7 @@ func (s *PollForJobsInput) SetQueryParam(v map[string]*string) *PollForJobsInput } // Represents the output of a PollForJobs action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobsOutput type PollForJobsOutput struct { _ struct{} `type:"structure"` @@ -6207,7 +6207,7 @@ func (s *PollForJobsOutput) SetJobs(v []*Job) *PollForJobsOutput { } // Represents the input of a PollForThirdPartyJobs action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobsInput type PollForThirdPartyJobsInput struct { _ struct{} `type:"structure"` @@ -6264,7 +6264,7 @@ func (s *PollForThirdPartyJobsInput) SetMaxBatchSize(v int64) *PollForThirdParty } // Represents the output of a PollForThirdPartyJobs action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobsOutput type PollForThirdPartyJobsOutput struct { _ struct{} `type:"structure"` @@ -6289,7 +6289,7 @@ func (s *PollForThirdPartyJobsOutput) SetJobs(v []*ThirdPartyJob) *PollForThirdP } // Represents the input of a PutActionRevision action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevisionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevisionInput type PutActionRevisionInput struct { _ struct{} `type:"structure"` @@ -6385,7 +6385,7 @@ func (s *PutActionRevisionInput) SetStageName(v string) *PutActionRevisionInput } // Represents the output of a PutActionRevision action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevisionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevisionOutput type PutActionRevisionOutput struct { _ struct{} `type:"structure"` @@ -6420,7 +6420,7 @@ func (s *PutActionRevisionOutput) SetPipelineExecutionId(v string) *PutActionRev } // Represents the input of a PutApprovalResult action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResultInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResultInput type PutApprovalResultInput struct { _ struct{} `type:"structure"` @@ -6533,7 +6533,7 @@ func (s *PutApprovalResultInput) SetToken(v string) *PutApprovalResultInput { } // Represents the output of a PutApprovalResult action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResultOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResultOutput type PutApprovalResultOutput struct { _ struct{} `type:"structure"` @@ -6558,7 +6558,7 @@ func (s *PutApprovalResultOutput) SetApprovedAt(v time.Time) *PutApprovalResultO } // Represents the input of a PutJobFailureResult action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResultInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResultInput type PutJobFailureResultInput struct { _ struct{} `type:"structure"` @@ -6617,7 +6617,7 @@ func (s *PutJobFailureResultInput) SetJobId(v string) *PutJobFailureResultInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResultOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResultOutput type PutJobFailureResultOutput struct { _ struct{} `type:"structure"` } @@ -6633,7 +6633,7 @@ func (s PutJobFailureResultOutput) GoString() string { } // Represents the input of a PutJobSuccessResult action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResultInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResultInput type PutJobSuccessResultInput struct { _ struct{} `type:"structure"` @@ -6717,7 +6717,7 @@ func (s *PutJobSuccessResultInput) SetJobId(v string) *PutJobSuccessResultInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResultOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResultOutput type PutJobSuccessResultOutput struct { _ struct{} `type:"structure"` } @@ -6733,7 +6733,7 @@ func (s PutJobSuccessResultOutput) GoString() string { } // Represents the input of a PutThirdPartyJobFailureResult action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResultInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResultInput type PutThirdPartyJobFailureResultInput struct { _ struct{} `type:"structure"` @@ -6812,7 +6812,7 @@ func (s *PutThirdPartyJobFailureResultInput) SetJobId(v string) *PutThirdPartyJo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResultOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResultOutput type PutThirdPartyJobFailureResultOutput struct { _ struct{} `type:"structure"` } @@ -6828,7 +6828,7 @@ func (s PutThirdPartyJobFailureResultOutput) GoString() string { } // Represents the input of a PutThirdPartyJobSuccessResult action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResultInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResultInput type PutThirdPartyJobSuccessResultInput struct { _ struct{} `type:"structure"` @@ -6932,7 +6932,7 @@ func (s *PutThirdPartyJobSuccessResultInput) SetJobId(v string) *PutThirdPartyJo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResultOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResultOutput type PutThirdPartyJobSuccessResultOutput struct { _ struct{} `type:"structure"` } @@ -6948,7 +6948,7 @@ func (s PutThirdPartyJobSuccessResultOutput) GoString() string { } // Represents the input of a RetryStageExecution action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecutionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecutionInput type RetryStageExecutionInput struct { _ struct{} `type:"structure"` @@ -7038,7 +7038,7 @@ func (s *RetryStageExecutionInput) SetStageName(v string) *RetryStageExecutionIn } // Represents the output of a RetryStageExecution action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecutionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecutionOutput type RetryStageExecutionOutput struct { _ struct{} `type:"structure"` @@ -7063,7 +7063,7 @@ func (s *RetryStageExecutionOutput) SetPipelineExecutionId(v string) *RetryStage } // The location of the Amazon S3 bucket that contains a revision. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/S3ArtifactLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/S3ArtifactLocation type S3ArtifactLocation struct { _ struct{} `type:"structure"` @@ -7102,7 +7102,7 @@ func (s *S3ArtifactLocation) SetObjectKey(v string) *S3ArtifactLocation { } // Represents information about a stage to a job worker. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageContext +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageContext type StageContext struct { _ struct{} `type:"structure"` @@ -7127,7 +7127,7 @@ func (s *StageContext) SetName(v string) *StageContext { } // Represents information about a stage and its definition. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageDeclaration +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageDeclaration type StageDeclaration struct { _ struct{} `type:"structure"` @@ -7213,7 +7213,7 @@ func (s *StageDeclaration) SetName(v string) *StageDeclaration { } // Represents information about the run of a stage. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageExecution type StageExecution struct { _ struct{} `type:"structure"` @@ -7252,7 +7252,7 @@ func (s *StageExecution) SetStatus(v string) *StageExecution { } // Represents information about the state of the stage. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageState +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageState type StageState struct { _ struct{} `type:"structure"` @@ -7305,7 +7305,7 @@ func (s *StageState) SetStageName(v string) *StageState { } // Represents the input of a StartPipelineExecution action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecutionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecutionInput type StartPipelineExecutionInput struct { _ struct{} `type:"structure"` @@ -7348,7 +7348,7 @@ func (s *StartPipelineExecutionInput) SetName(v string) *StartPipelineExecutionI } // Represents the output of a StartPipelineExecution action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecutionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecutionOutput type StartPipelineExecutionOutput struct { _ struct{} `type:"structure"` @@ -7374,7 +7374,7 @@ func (s *StartPipelineExecutionOutput) SetPipelineExecutionId(v string) *StartPi // A response to a PollForThirdPartyJobs request returned by AWS CodePipeline // when there is a job to be worked upon by a partner action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ThirdPartyJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ThirdPartyJob type ThirdPartyJob struct { _ struct{} `type:"structure"` @@ -7409,7 +7409,7 @@ func (s *ThirdPartyJob) SetJobId(v string) *ThirdPartyJob { } // Represents information about the job data for a partner action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ThirdPartyJobData +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ThirdPartyJobData type ThirdPartyJobData struct { _ struct{} `type:"structure"` @@ -7509,7 +7509,7 @@ func (s *ThirdPartyJobData) SetPipelineContext(v *PipelineContext) *ThirdPartyJo } // The details of a job sent in response to a GetThirdPartyJobDetails request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ThirdPartyJobDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ThirdPartyJobDetails type ThirdPartyJobDetails struct { _ struct{} `type:"structure"` @@ -7555,7 +7555,7 @@ func (s *ThirdPartyJobDetails) SetNonce(v string) *ThirdPartyJobDetails { // Represents information about the state of transitions between one stage and // another stage. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/TransitionState +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/TransitionState type TransitionState struct { _ struct{} `type:"structure"` @@ -7608,7 +7608,7 @@ func (s *TransitionState) SetLastChangedBy(v string) *TransitionState { } // Represents the input of an UpdatePipeline action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipelineInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipelineInput type UpdatePipelineInput struct { _ struct{} `type:"structure"` @@ -7653,7 +7653,7 @@ func (s *UpdatePipelineInput) SetPipeline(v *PipelineDeclaration) *UpdatePipelin } // Represents the output of an UpdatePipeline action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipelineOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipelineOutput type UpdatePipelineOutput struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/cognitoidentity/api.go b/vendor/github.com/aws/aws-sdk-go/service/cognitoidentity/api.go index 321972510b4..10fe4aef1b0 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cognitoidentity/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cognitoidentity/api.go @@ -38,7 +38,7 @@ const opCreateIdentityPool = "CreateIdentityPool" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/CreateIdentityPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/CreateIdentityPool func (c *CognitoIdentity) CreateIdentityPoolRequest(input *CreateIdentityPoolInput) (req *request.Request, output *IdentityPool) { op := &request.Operation{ Name: opCreateIdentityPool, @@ -100,7 +100,7 @@ func (c *CognitoIdentity) CreateIdentityPoolRequest(input *CreateIdentityPoolInp // * ErrCodeLimitExceededException "LimitExceededException" // Thrown when the total number of user pools has exceeded a preset limit. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/CreateIdentityPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/CreateIdentityPool func (c *CognitoIdentity) CreateIdentityPool(input *CreateIdentityPoolInput) (*IdentityPool, error) { req, out := c.CreateIdentityPoolRequest(input) return out, req.Send() @@ -147,7 +147,7 @@ const opDeleteIdentities = "DeleteIdentities" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentities +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentities func (c *CognitoIdentity) DeleteIdentitiesRequest(input *DeleteIdentitiesInput) (req *request.Request, output *DeleteIdentitiesOutput) { op := &request.Operation{ Name: opDeleteIdentities, @@ -188,7 +188,7 @@ func (c *CognitoIdentity) DeleteIdentitiesRequest(input *DeleteIdentitiesInput) // * ErrCodeInternalErrorException "InternalErrorException" // Thrown when the service encounters an error during processing the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentities +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentities func (c *CognitoIdentity) DeleteIdentities(input *DeleteIdentitiesInput) (*DeleteIdentitiesOutput, error) { req, out := c.DeleteIdentitiesRequest(input) return out, req.Send() @@ -235,7 +235,7 @@ const opDeleteIdentityPool = "DeleteIdentityPool" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentityPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentityPool func (c *CognitoIdentity) DeleteIdentityPoolRequest(input *DeleteIdentityPoolInput) (req *request.Request, output *DeleteIdentityPoolOutput) { op := &request.Operation{ Name: opDeleteIdentityPool, @@ -285,7 +285,7 @@ func (c *CognitoIdentity) DeleteIdentityPoolRequest(input *DeleteIdentityPoolInp // * ErrCodeInternalErrorException "InternalErrorException" // Thrown when the service encounters an error during processing the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentityPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentityPool func (c *CognitoIdentity) DeleteIdentityPool(input *DeleteIdentityPoolInput) (*DeleteIdentityPoolOutput, error) { req, out := c.DeleteIdentityPoolRequest(input) return out, req.Send() @@ -332,7 +332,7 @@ const opDescribeIdentity = "DescribeIdentity" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentity func (c *CognitoIdentity) DescribeIdentityRequest(input *DescribeIdentityInput) (req *request.Request, output *IdentityDescription) { op := &request.Operation{ Name: opDescribeIdentity, @@ -380,7 +380,7 @@ func (c *CognitoIdentity) DescribeIdentityRequest(input *DescribeIdentityInput) // * ErrCodeInternalErrorException "InternalErrorException" // Thrown when the service encounters an error during processing the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentity func (c *CognitoIdentity) DescribeIdentity(input *DescribeIdentityInput) (*IdentityDescription, error) { req, out := c.DescribeIdentityRequest(input) return out, req.Send() @@ -427,7 +427,7 @@ const opDescribeIdentityPool = "DescribeIdentityPool" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentityPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentityPool func (c *CognitoIdentity) DescribeIdentityPoolRequest(input *DescribeIdentityPoolInput) (req *request.Request, output *IdentityPool) { op := &request.Operation{ Name: opDescribeIdentityPool, @@ -475,7 +475,7 @@ func (c *CognitoIdentity) DescribeIdentityPoolRequest(input *DescribeIdentityPoo // * ErrCodeInternalErrorException "InternalErrorException" // Thrown when the service encounters an error during processing the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentityPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentityPool func (c *CognitoIdentity) DescribeIdentityPool(input *DescribeIdentityPoolInput) (*IdentityPool, error) { req, out := c.DescribeIdentityPoolRequest(input) return out, req.Send() @@ -522,7 +522,7 @@ const opGetCredentialsForIdentity = "GetCredentialsForIdentity" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetCredentialsForIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetCredentialsForIdentity func (c *CognitoIdentity) GetCredentialsForIdentityRequest(input *GetCredentialsForIdentityInput) (req *request.Request, output *GetCredentialsForIdentityOutput) { op := &request.Operation{ Name: opGetCredentialsForIdentity, @@ -584,7 +584,7 @@ func (c *CognitoIdentity) GetCredentialsForIdentityRequest(input *GetCredentials // An exception thrown when a dependent service such as Facebook or Twitter // is not responding // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetCredentialsForIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetCredentialsForIdentity func (c *CognitoIdentity) GetCredentialsForIdentity(input *GetCredentialsForIdentityInput) (*GetCredentialsForIdentityOutput, error) { req, out := c.GetCredentialsForIdentityRequest(input) return out, req.Send() @@ -631,7 +631,7 @@ const opGetId = "GetId" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetId +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetId func (c *CognitoIdentity) GetIdRequest(input *GetIdInput) (req *request.Request, output *GetIdOutput) { op := &request.Operation{ Name: opGetId, @@ -690,7 +690,7 @@ func (c *CognitoIdentity) GetIdRequest(input *GetIdInput) (req *request.Request, // An exception thrown when a dependent service such as Facebook or Twitter // is not responding // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetId +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetId func (c *CognitoIdentity) GetId(input *GetIdInput) (*GetIdOutput, error) { req, out := c.GetIdRequest(input) return out, req.Send() @@ -737,7 +737,7 @@ const opGetIdentityPoolRoles = "GetIdentityPoolRoles" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdentityPoolRoles +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdentityPoolRoles func (c *CognitoIdentity) GetIdentityPoolRolesRequest(input *GetIdentityPoolRolesInput) (req *request.Request, output *GetIdentityPoolRolesOutput) { op := &request.Operation{ Name: opGetIdentityPoolRoles, @@ -788,7 +788,7 @@ func (c *CognitoIdentity) GetIdentityPoolRolesRequest(input *GetIdentityPoolRole // * ErrCodeInternalErrorException "InternalErrorException" // Thrown when the service encounters an error during processing the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdentityPoolRoles +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdentityPoolRoles func (c *CognitoIdentity) GetIdentityPoolRoles(input *GetIdentityPoolRolesInput) (*GetIdentityPoolRolesOutput, error) { req, out := c.GetIdentityPoolRolesRequest(input) return out, req.Send() @@ -835,7 +835,7 @@ const opGetOpenIdToken = "GetOpenIdToken" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdToken +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdToken func (c *CognitoIdentity) GetOpenIdTokenRequest(input *GetOpenIdTokenInput) (req *request.Request, output *GetOpenIdTokenOutput) { op := &request.Operation{ Name: opGetOpenIdToken, @@ -894,7 +894,7 @@ func (c *CognitoIdentity) GetOpenIdTokenRequest(input *GetOpenIdTokenInput) (req // An exception thrown when a dependent service such as Facebook or Twitter // is not responding // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdToken +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdToken func (c *CognitoIdentity) GetOpenIdToken(input *GetOpenIdTokenInput) (*GetOpenIdTokenOutput, error) { req, out := c.GetOpenIdTokenRequest(input) return out, req.Send() @@ -941,7 +941,7 @@ const opGetOpenIdTokenForDeveloperIdentity = "GetOpenIdTokenForDeveloperIdentity // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenForDeveloperIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenForDeveloperIdentity func (c *CognitoIdentity) GetOpenIdTokenForDeveloperIdentityRequest(input *GetOpenIdTokenForDeveloperIdentityInput) (req *request.Request, output *GetOpenIdTokenForDeveloperIdentityOutput) { op := &request.Operation{ Name: opGetOpenIdTokenForDeveloperIdentity, @@ -1009,7 +1009,7 @@ func (c *CognitoIdentity) GetOpenIdTokenForDeveloperIdentityRequest(input *GetOp // The provided developer user identifier is already registered with Cognito // under a different identity ID. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenForDeveloperIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenForDeveloperIdentity func (c *CognitoIdentity) GetOpenIdTokenForDeveloperIdentity(input *GetOpenIdTokenForDeveloperIdentityInput) (*GetOpenIdTokenForDeveloperIdentityOutput, error) { req, out := c.GetOpenIdTokenForDeveloperIdentityRequest(input) return out, req.Send() @@ -1056,7 +1056,7 @@ const opListIdentities = "ListIdentities" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentities +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentities func (c *CognitoIdentity) ListIdentitiesRequest(input *ListIdentitiesInput) (req *request.Request, output *ListIdentitiesOutput) { op := &request.Operation{ Name: opListIdentities, @@ -1103,7 +1103,7 @@ func (c *CognitoIdentity) ListIdentitiesRequest(input *ListIdentitiesInput) (req // * ErrCodeInternalErrorException "InternalErrorException" // Thrown when the service encounters an error during processing the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentities +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentities func (c *CognitoIdentity) ListIdentities(input *ListIdentitiesInput) (*ListIdentitiesOutput, error) { req, out := c.ListIdentitiesRequest(input) return out, req.Send() @@ -1150,7 +1150,7 @@ const opListIdentityPools = "ListIdentityPools" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentityPools +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentityPools func (c *CognitoIdentity) ListIdentityPoolsRequest(input *ListIdentityPoolsInput) (req *request.Request, output *ListIdentityPoolsOutput) { op := &request.Operation{ Name: opListIdentityPools, @@ -1193,7 +1193,7 @@ func (c *CognitoIdentity) ListIdentityPoolsRequest(input *ListIdentityPoolsInput // * ErrCodeInternalErrorException "InternalErrorException" // Thrown when the service encounters an error during processing the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentityPools +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentityPools func (c *CognitoIdentity) ListIdentityPools(input *ListIdentityPoolsInput) (*ListIdentityPoolsOutput, error) { req, out := c.ListIdentityPoolsRequest(input) return out, req.Send() @@ -1240,7 +1240,7 @@ const opLookupDeveloperIdentity = "LookupDeveloperIdentity" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/LookupDeveloperIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/LookupDeveloperIdentity func (c *CognitoIdentity) LookupDeveloperIdentityRequest(input *LookupDeveloperIdentityInput) (req *request.Request, output *LookupDeveloperIdentityOutput) { op := &request.Operation{ Name: opLookupDeveloperIdentity, @@ -1298,7 +1298,7 @@ func (c *CognitoIdentity) LookupDeveloperIdentityRequest(input *LookupDeveloperI // * ErrCodeInternalErrorException "InternalErrorException" // Thrown when the service encounters an error during processing the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/LookupDeveloperIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/LookupDeveloperIdentity func (c *CognitoIdentity) LookupDeveloperIdentity(input *LookupDeveloperIdentityInput) (*LookupDeveloperIdentityOutput, error) { req, out := c.LookupDeveloperIdentityRequest(input) return out, req.Send() @@ -1345,7 +1345,7 @@ const opMergeDeveloperIdentities = "MergeDeveloperIdentities" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MergeDeveloperIdentities +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MergeDeveloperIdentities func (c *CognitoIdentity) MergeDeveloperIdentitiesRequest(input *MergeDeveloperIdentitiesInput) (req *request.Request, output *MergeDeveloperIdentitiesOutput) { op := &request.Operation{ Name: opMergeDeveloperIdentities, @@ -1402,7 +1402,7 @@ func (c *CognitoIdentity) MergeDeveloperIdentitiesRequest(input *MergeDeveloperI // * ErrCodeInternalErrorException "InternalErrorException" // Thrown when the service encounters an error during processing the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MergeDeveloperIdentities +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MergeDeveloperIdentities func (c *CognitoIdentity) MergeDeveloperIdentities(input *MergeDeveloperIdentitiesInput) (*MergeDeveloperIdentitiesOutput, error) { req, out := c.MergeDeveloperIdentitiesRequest(input) return out, req.Send() @@ -1449,7 +1449,7 @@ const opSetIdentityPoolRoles = "SetIdentityPoolRoles" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetIdentityPoolRoles +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetIdentityPoolRoles func (c *CognitoIdentity) SetIdentityPoolRolesRequest(input *SetIdentityPoolRolesInput) (req *request.Request, output *SetIdentityPoolRolesOutput) { op := &request.Operation{ Name: opSetIdentityPoolRoles, @@ -1506,7 +1506,7 @@ func (c *CognitoIdentity) SetIdentityPoolRolesRequest(input *SetIdentityPoolRole // * ErrCodeConcurrentModificationException "ConcurrentModificationException" // Thrown if there are parallel requests to modify a resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetIdentityPoolRoles +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetIdentityPoolRoles func (c *CognitoIdentity) SetIdentityPoolRoles(input *SetIdentityPoolRolesInput) (*SetIdentityPoolRolesOutput, error) { req, out := c.SetIdentityPoolRolesRequest(input) return out, req.Send() @@ -1553,7 +1553,7 @@ const opUnlinkDeveloperIdentity = "UnlinkDeveloperIdentity" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkDeveloperIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkDeveloperIdentity func (c *CognitoIdentity) UnlinkDeveloperIdentityRequest(input *UnlinkDeveloperIdentityInput) (req *request.Request, output *UnlinkDeveloperIdentityOutput) { op := &request.Operation{ Name: opUnlinkDeveloperIdentity, @@ -1609,7 +1609,7 @@ func (c *CognitoIdentity) UnlinkDeveloperIdentityRequest(input *UnlinkDeveloperI // * ErrCodeInternalErrorException "InternalErrorException" // Thrown when the service encounters an error during processing the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkDeveloperIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkDeveloperIdentity func (c *CognitoIdentity) UnlinkDeveloperIdentity(input *UnlinkDeveloperIdentityInput) (*UnlinkDeveloperIdentityOutput, error) { req, out := c.UnlinkDeveloperIdentityRequest(input) return out, req.Send() @@ -1656,7 +1656,7 @@ const opUnlinkIdentity = "UnlinkIdentity" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkIdentity func (c *CognitoIdentity) UnlinkIdentityRequest(input *UnlinkIdentityInput) (req *request.Request, output *UnlinkIdentityOutput) { op := &request.Operation{ Name: opUnlinkIdentity, @@ -1715,7 +1715,7 @@ func (c *CognitoIdentity) UnlinkIdentityRequest(input *UnlinkIdentityInput) (req // An exception thrown when a dependent service such as Facebook or Twitter // is not responding // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkIdentity func (c *CognitoIdentity) UnlinkIdentity(input *UnlinkIdentityInput) (*UnlinkIdentityOutput, error) { req, out := c.UnlinkIdentityRequest(input) return out, req.Send() @@ -1762,7 +1762,7 @@ const opUpdateIdentityPool = "UpdateIdentityPool" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UpdateIdentityPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UpdateIdentityPool func (c *CognitoIdentity) UpdateIdentityPoolRequest(input *IdentityPool) (req *request.Request, output *IdentityPool) { op := &request.Operation{ Name: opUpdateIdentityPool, @@ -1819,7 +1819,7 @@ func (c *CognitoIdentity) UpdateIdentityPoolRequest(input *IdentityPool) (req *r // * ErrCodeLimitExceededException "LimitExceededException" // Thrown when the total number of user pools has exceeded a preset limit. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UpdateIdentityPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UpdateIdentityPool func (c *CognitoIdentity) UpdateIdentityPool(input *IdentityPool) (*IdentityPool, error) { req, out := c.UpdateIdentityPoolRequest(input) return out, req.Send() @@ -1842,7 +1842,7 @@ func (c *CognitoIdentity) UpdateIdentityPoolWithContext(ctx aws.Context, input * } // Input to the CreateIdentityPool action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/CreateIdentityPoolInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/CreateIdentityPoolInput type CreateIdentityPoolInput struct { _ struct{} `type:"structure"` @@ -1964,7 +1964,7 @@ func (s *CreateIdentityPoolInput) SetSupportedLoginProviders(v map[string]*strin } // Credentials for the provided identity ID. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/Credentials +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/Credentials type Credentials struct { _ struct{} `type:"structure"` @@ -2016,7 +2016,7 @@ func (s *Credentials) SetSessionToken(v string) *Credentials { } // Input to the DeleteIdentities action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentitiesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentitiesInput type DeleteIdentitiesInput struct { _ struct{} `type:"structure"` @@ -2059,7 +2059,7 @@ func (s *DeleteIdentitiesInput) SetIdentityIdsToDelete(v []*string) *DeleteIdent } // Returned in response to a successful DeleteIdentities operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentitiesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentitiesResponse type DeleteIdentitiesOutput struct { _ struct{} `type:"structure"` @@ -2085,7 +2085,7 @@ func (s *DeleteIdentitiesOutput) SetUnprocessedIdentityIds(v []*UnprocessedIdent } // Input to the DeleteIdentityPool action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentityPoolInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentityPoolInput type DeleteIdentityPoolInput struct { _ struct{} `type:"structure"` @@ -2127,7 +2127,7 @@ func (s *DeleteIdentityPoolInput) SetIdentityPoolId(v string) *DeleteIdentityPoo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentityPoolOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentityPoolOutput type DeleteIdentityPoolOutput struct { _ struct{} `type:"structure"` } @@ -2143,7 +2143,7 @@ func (s DeleteIdentityPoolOutput) GoString() string { } // Input to the DescribeIdentity action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentityInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentityInput type DescribeIdentityInput struct { _ struct{} `type:"structure"` @@ -2186,7 +2186,7 @@ func (s *DescribeIdentityInput) SetIdentityId(v string) *DescribeIdentityInput { } // Input to the DescribeIdentityPool action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentityPoolInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentityPoolInput type DescribeIdentityPoolInput struct { _ struct{} `type:"structure"` @@ -2229,7 +2229,7 @@ func (s *DescribeIdentityPoolInput) SetIdentityPoolId(v string) *DescribeIdentit } // Input to the GetCredentialsForIdentity action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetCredentialsForIdentityInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetCredentialsForIdentityInput type GetCredentialsForIdentityInput struct { _ struct{} `type:"structure"` @@ -2296,7 +2296,7 @@ func (s *GetCredentialsForIdentityInput) SetLogins(v map[string]*string) *GetCre } // Returned in response to a successful GetCredentialsForIdentity operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetCredentialsForIdentityResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetCredentialsForIdentityResponse type GetCredentialsForIdentityOutput struct { _ struct{} `type:"structure"` @@ -2330,7 +2330,7 @@ func (s *GetCredentialsForIdentityOutput) SetIdentityId(v string) *GetCredential } // Input to the GetId action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdInput type GetIdInput struct { _ struct{} `type:"structure"` @@ -2407,7 +2407,7 @@ func (s *GetIdInput) SetLogins(v map[string]*string) *GetIdInput { } // Returned in response to a GetId request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdResponse type GetIdOutput struct { _ struct{} `type:"structure"` @@ -2432,7 +2432,7 @@ func (s *GetIdOutput) SetIdentityId(v string) *GetIdOutput { } // Input to the GetIdentityPoolRoles action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdentityPoolRolesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdentityPoolRolesInput type GetIdentityPoolRolesInput struct { _ struct{} `type:"structure"` @@ -2475,7 +2475,7 @@ func (s *GetIdentityPoolRolesInput) SetIdentityPoolId(v string) *GetIdentityPool } // Returned in response to a successful GetIdentityPoolRoles operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdentityPoolRolesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdentityPoolRolesResponse type GetIdentityPoolRolesOutput struct { _ struct{} `type:"structure"` @@ -2521,7 +2521,7 @@ func (s *GetIdentityPoolRolesOutput) SetRoles(v map[string]*string) *GetIdentity } // Input to the GetOpenIdTokenForDeveloperIdentity action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenForDeveloperIdentityInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenForDeveloperIdentityInput type GetOpenIdTokenForDeveloperIdentityInput struct { _ struct{} `type:"structure"` @@ -2617,7 +2617,7 @@ func (s *GetOpenIdTokenForDeveloperIdentityInput) SetTokenDuration(v int64) *Get } // Returned in response to a successful GetOpenIdTokenForDeveloperIdentity request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenForDeveloperIdentityResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenForDeveloperIdentityResponse type GetOpenIdTokenForDeveloperIdentityOutput struct { _ struct{} `type:"structure"` @@ -2651,7 +2651,7 @@ func (s *GetOpenIdTokenForDeveloperIdentityOutput) SetToken(v string) *GetOpenId } // Input to the GetOpenIdToken action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenInput type GetOpenIdTokenInput struct { _ struct{} `type:"structure"` @@ -2707,7 +2707,7 @@ func (s *GetOpenIdTokenInput) SetLogins(v map[string]*string) *GetOpenIdTokenInp } // Returned in response to a successful GetOpenIdToken request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenResponse type GetOpenIdTokenOutput struct { _ struct{} `type:"structure"` @@ -2742,7 +2742,7 @@ func (s *GetOpenIdTokenOutput) SetToken(v string) *GetOpenIdTokenOutput { } // A description of the identity. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/IdentityDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/IdentityDescription type IdentityDescription struct { _ struct{} `type:"structure"` @@ -2794,7 +2794,7 @@ func (s *IdentityDescription) SetLogins(v []*string) *IdentityDescription { } // An object representing an Amazon Cognito identity pool. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/IdentityPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/IdentityPool type IdentityPool struct { _ struct{} `type:"structure"` @@ -2927,7 +2927,7 @@ func (s *IdentityPool) SetSupportedLoginProviders(v map[string]*string) *Identit } // A description of the identity pool. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/IdentityPoolShortDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/IdentityPoolShortDescription type IdentityPoolShortDescription struct { _ struct{} `type:"structure"` @@ -2961,7 +2961,7 @@ func (s *IdentityPoolShortDescription) SetIdentityPoolName(v string) *IdentityPo } // Input to the ListIdentities action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentitiesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentitiesInput type ListIdentitiesInput struct { _ struct{} `type:"structure"` @@ -3044,7 +3044,7 @@ func (s *ListIdentitiesInput) SetNextToken(v string) *ListIdentitiesInput { } // The response to a ListIdentities request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentitiesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentitiesResponse type ListIdentitiesOutput struct { _ struct{} `type:"structure"` @@ -3087,7 +3087,7 @@ func (s *ListIdentitiesOutput) SetNextToken(v string) *ListIdentitiesOutput { } // Input to the ListIdentityPools action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentityPoolsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentityPoolsInput type ListIdentityPoolsInput struct { _ struct{} `type:"structure"` @@ -3142,7 +3142,7 @@ func (s *ListIdentityPoolsInput) SetNextToken(v string) *ListIdentityPoolsInput } // The result of a successful ListIdentityPools action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentityPoolsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentityPoolsResponse type ListIdentityPoolsOutput struct { _ struct{} `type:"structure"` @@ -3176,7 +3176,7 @@ func (s *ListIdentityPoolsOutput) SetNextToken(v string) *ListIdentityPoolsOutpu } // Input to the LookupDeveloperIdentityInput action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/LookupDeveloperIdentityInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/LookupDeveloperIdentityInput type LookupDeveloperIdentityInput struct { _ struct{} `type:"structure"` @@ -3274,7 +3274,7 @@ func (s *LookupDeveloperIdentityInput) SetNextToken(v string) *LookupDeveloperId } // Returned in response to a successful LookupDeveloperIdentity action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/LookupDeveloperIdentityResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/LookupDeveloperIdentityResponse type LookupDeveloperIdentityOutput struct { _ struct{} `type:"structure"` @@ -3325,7 +3325,7 @@ func (s *LookupDeveloperIdentityOutput) SetNextToken(v string) *LookupDeveloperI // A rule that maps a claim name, a claim value, and a match type to a role // ARN. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MappingRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MappingRule type MappingRule struct { _ struct{} `type:"structure"` @@ -3418,7 +3418,7 @@ func (s *MappingRule) SetValue(v string) *MappingRule { } // Input to the MergeDeveloperIdentities action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MergeDeveloperIdentitiesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MergeDeveloperIdentitiesInput type MergeDeveloperIdentitiesInput struct { _ struct{} `type:"structure"` @@ -3516,7 +3516,7 @@ func (s *MergeDeveloperIdentitiesInput) SetSourceUserIdentifier(v string) *Merge } // Returned in response to a successful MergeDeveloperIdentities action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MergeDeveloperIdentitiesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MergeDeveloperIdentitiesResponse type MergeDeveloperIdentitiesOutput struct { _ struct{} `type:"structure"` @@ -3542,7 +3542,7 @@ func (s *MergeDeveloperIdentitiesOutput) SetIdentityId(v string) *MergeDeveloper // A provider representing an Amazon Cognito Identity User Pool and its client // ID. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/CognitoIdentityProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/CognitoIdentityProvider type Provider struct { _ struct{} `type:"structure"` @@ -3603,7 +3603,7 @@ func (s *Provider) SetServerSideTokenCheck(v bool) *Provider { } // A role mapping. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/RoleMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/RoleMapping type RoleMapping struct { _ struct{} `type:"structure"` @@ -3674,7 +3674,7 @@ func (s *RoleMapping) SetType(v string) *RoleMapping { } // A container for rules. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/RulesConfigurationType +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/RulesConfigurationType type RulesConfigurationType struct { _ struct{} `type:"structure"` @@ -3729,7 +3729,7 @@ func (s *RulesConfigurationType) SetRules(v []*MappingRule) *RulesConfigurationT } // Input to the SetIdentityPoolRoles action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetIdentityPoolRolesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetIdentityPoolRolesInput type SetIdentityPoolRolesInput struct { _ struct{} `type:"structure"` @@ -3810,7 +3810,7 @@ func (s *SetIdentityPoolRolesInput) SetRoles(v map[string]*string) *SetIdentityP return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetIdentityPoolRolesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetIdentityPoolRolesOutput type SetIdentityPoolRolesOutput struct { _ struct{} `type:"structure"` } @@ -3826,7 +3826,7 @@ func (s SetIdentityPoolRolesOutput) GoString() string { } // Input to the UnlinkDeveloperIdentity action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkDeveloperIdentityInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkDeveloperIdentityInput type UnlinkDeveloperIdentityInput struct { _ struct{} `type:"structure"` @@ -3919,7 +3919,7 @@ func (s *UnlinkDeveloperIdentityInput) SetIdentityPoolId(v string) *UnlinkDevelo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkDeveloperIdentityOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkDeveloperIdentityOutput type UnlinkDeveloperIdentityOutput struct { _ struct{} `type:"structure"` } @@ -3935,7 +3935,7 @@ func (s UnlinkDeveloperIdentityOutput) GoString() string { } // Input to the UnlinkIdentity action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkIdentityInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkIdentityInput type UnlinkIdentityInput struct { _ struct{} `type:"structure"` @@ -4005,7 +4005,7 @@ func (s *UnlinkIdentityInput) SetLoginsToRemove(v []*string) *UnlinkIdentityInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkIdentityOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkIdentityOutput type UnlinkIdentityOutput struct { _ struct{} `type:"structure"` } @@ -4022,7 +4022,7 @@ func (s UnlinkIdentityOutput) GoString() string { // An array of UnprocessedIdentityId objects, each of which contains an ErrorCode // and IdentityId. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnprocessedIdentityId +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnprocessedIdentityId type UnprocessedIdentityId struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/api.go b/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/api.go index fe747f92a22..40c3e08dc15 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/api.go @@ -39,7 +39,7 @@ const opAddCustomAttributes = "AddCustomAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributes func (c *CognitoIdentityProvider) AddCustomAttributesRequest(input *AddCustomAttributesInput) (req *request.Request, output *AddCustomAttributesOutput) { op := &request.Operation{ Name: opAddCustomAttributes, @@ -90,7 +90,7 @@ func (c *CognitoIdentityProvider) AddCustomAttributesRequest(input *AddCustomAtt // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributes func (c *CognitoIdentityProvider) AddCustomAttributes(input *AddCustomAttributesInput) (*AddCustomAttributesOutput, error) { req, out := c.AddCustomAttributesRequest(input) return out, req.Send() @@ -137,7 +137,7 @@ const opAdminAddUserToGroup = "AdminAddUserToGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroup func (c *CognitoIdentityProvider) AdminAddUserToGroupRequest(input *AdminAddUserToGroupInput) (req *request.Request, output *AdminAddUserToGroupOutput) { op := &request.Operation{ Name: opAdminAddUserToGroup, @@ -191,7 +191,7 @@ func (c *CognitoIdentityProvider) AdminAddUserToGroupRequest(input *AdminAddUser // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroup func (c *CognitoIdentityProvider) AdminAddUserToGroup(input *AdminAddUserToGroupInput) (*AdminAddUserToGroupOutput, error) { req, out := c.AdminAddUserToGroupRequest(input) return out, req.Send() @@ -238,7 +238,7 @@ const opAdminConfirmSignUp = "AdminConfirmSignUp" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUp +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUp func (c *CognitoIdentityProvider) AdminConfirmSignUpRequest(input *AdminConfirmSignUpInput) (req *request.Request, output *AdminConfirmSignUpOutput) { op := &request.Operation{ Name: opAdminConfirmSignUp, @@ -311,7 +311,7 @@ func (c *CognitoIdentityProvider) AdminConfirmSignUpRequest(input *AdminConfirmS // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUp +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUp func (c *CognitoIdentityProvider) AdminConfirmSignUp(input *AdminConfirmSignUpInput) (*AdminConfirmSignUpOutput, error) { req, out := c.AdminConfirmSignUpRequest(input) return out, req.Send() @@ -358,7 +358,7 @@ const opAdminCreateUser = "AdminCreateUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUser func (c *CognitoIdentityProvider) AdminCreateUserRequest(input *AdminCreateUserInput) (req *request.Request, output *AdminCreateUserOutput) { op := &request.Operation{ Name: opAdminCreateUser, @@ -377,13 +377,22 @@ func (c *CognitoIdentityProvider) AdminCreateUserRequest(input *AdminCreateUserI // AdminCreateUser API operation for Amazon Cognito Identity Provider. // -// Creates a new user in the specified user pool and sends a welcome message -// via email or phone (SMS). This message is based on a template that you configured -// in your call to CreateUserPool (API_CreateUserPool.html) or UpdateUserPool -// (API_UpdateUserPool.html). This template includes your custom sign-up instructions -// and placeholders for user name and temporary password. +// Creates a new user in the specified user pool. // -// Requires developer credentials. +// If MessageAction is not set, the default is to send a welcome message via +// email or phone (SMS). +// +// This message is based on a template that you configured in your call to or +// . This template includes your custom sign-up instructions and placeholders +// for user name and temporary password. +// +// Alternatively, you can call AdminCreateUser with “SUPPRESS” for the MessageAction +// parameter, and Amazon Cognito will not send any email. +// +// In either case, the user will be in the FORCE_CHANGE_PASSWORD state until +// they sign in and change their password. +// +// AdminCreateUser requires developer credentials. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -453,7 +462,7 @@ func (c *CognitoIdentityProvider) AdminCreateUserRequest(input *AdminCreateUserI // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUser func (c *CognitoIdentityProvider) AdminCreateUser(input *AdminCreateUserInput) (*AdminCreateUserOutput, error) { req, out := c.AdminCreateUserRequest(input) return out, req.Send() @@ -500,7 +509,7 @@ const opAdminDeleteUser = "AdminDeleteUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUser func (c *CognitoIdentityProvider) AdminDeleteUserRequest(input *AdminDeleteUserInput) (req *request.Request, output *AdminDeleteUserOutput) { op := &request.Operation{ Name: opAdminDeleteUser, @@ -554,7 +563,7 @@ func (c *CognitoIdentityProvider) AdminDeleteUserRequest(input *AdminDeleteUserI // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUser func (c *CognitoIdentityProvider) AdminDeleteUser(input *AdminDeleteUserInput) (*AdminDeleteUserOutput, error) { req, out := c.AdminDeleteUserRequest(input) return out, req.Send() @@ -601,7 +610,7 @@ const opAdminDeleteUserAttributes = "AdminDeleteUserAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributes func (c *CognitoIdentityProvider) AdminDeleteUserAttributesRequest(input *AdminDeleteUserAttributesInput) (req *request.Request, output *AdminDeleteUserAttributesOutput) { op := &request.Operation{ Name: opAdminDeleteUserAttributes, @@ -654,7 +663,7 @@ func (c *CognitoIdentityProvider) AdminDeleteUserAttributesRequest(input *AdminD // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributes func (c *CognitoIdentityProvider) AdminDeleteUserAttributes(input *AdminDeleteUserAttributesInput) (*AdminDeleteUserAttributesOutput, error) { req, out := c.AdminDeleteUserAttributesRequest(input) return out, req.Send() @@ -701,7 +710,7 @@ const opAdminDisableProviderForUser = "AdminDisableProviderForUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableProviderForUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableProviderForUser func (c *CognitoIdentityProvider) AdminDisableProviderForUserRequest(input *AdminDisableProviderForUserInput) (req *request.Request, output *AdminDisableProviderForUserOutput) { op := &request.Operation{ Name: opAdminDisableProviderForUser, @@ -726,7 +735,7 @@ func (c *CognitoIdentityProvider) AdminDisableProviderForUserRequest(input *Admi // sign-in. If the user to disable is a linked external IdP user, any link between // that user and an existing user is removed. The next time the external user // (no longer attached to the previously linked DestinationUser) signs in, they -// must create a new user account. See AdminLinkProviderForUser (API_AdminLinkProviderForUser.html). +// must create a new user account. See . // // This action is enabled only for admin access and requires developer credentials. // @@ -745,11 +754,10 @@ func (c *CognitoIdentityProvider) AdminDisableProviderForUserRequest(input *Admi // For de-linking a SAML identity, there are two scenarios. If the linked identity // has not yet been used to sign-in, the ProviderAttributeName and ProviderAttributeValue // must be the same values that were used for the SourceUser when the identities -// were originally linked in the AdminLinkProviderForUser (API_AdminLinkProviderForUser.html) -// call. (If the linking was done with ProviderAttributeName set to Cognito_Subject, -// the same applies here). However, if the user has already signed in, the ProviderAttributeName -// must be Cognito_Subject and ProviderAttributeValue must be the subject of -// the SAML assertion. +// were originally linked in the call. (If the linking was done with ProviderAttributeName +// set to Cognito_Subject, the same applies here). However, if the user has +// already signed in, the ProviderAttributeName must be Cognito_Subject and +// ProviderAttributeValue must be the subject of the SAML assertion. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -786,7 +794,7 @@ func (c *CognitoIdentityProvider) AdminDisableProviderForUserRequest(input *Admi // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableProviderForUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableProviderForUser func (c *CognitoIdentityProvider) AdminDisableProviderForUser(input *AdminDisableProviderForUserInput) (*AdminDisableProviderForUserOutput, error) { req, out := c.AdminDisableProviderForUserRequest(input) return out, req.Send() @@ -833,7 +841,7 @@ const opAdminDisableUser = "AdminDisableUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUser func (c *CognitoIdentityProvider) AdminDisableUserRequest(input *AdminDisableUserInput) (req *request.Request, output *AdminDisableUserOutput) { op := &request.Operation{ Name: opAdminDisableUser, @@ -885,7 +893,7 @@ func (c *CognitoIdentityProvider) AdminDisableUserRequest(input *AdminDisableUse // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUser func (c *CognitoIdentityProvider) AdminDisableUser(input *AdminDisableUserInput) (*AdminDisableUserOutput, error) { req, out := c.AdminDisableUserRequest(input) return out, req.Send() @@ -932,7 +940,7 @@ const opAdminEnableUser = "AdminEnableUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUser func (c *CognitoIdentityProvider) AdminEnableUserRequest(input *AdminEnableUserInput) (req *request.Request, output *AdminEnableUserOutput) { op := &request.Operation{ Name: opAdminEnableUser, @@ -984,7 +992,7 @@ func (c *CognitoIdentityProvider) AdminEnableUserRequest(input *AdminEnableUserI // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUser func (c *CognitoIdentityProvider) AdminEnableUser(input *AdminEnableUserInput) (*AdminEnableUserOutput, error) { req, out := c.AdminEnableUserRequest(input) return out, req.Send() @@ -1031,7 +1039,7 @@ const opAdminForgetDevice = "AdminForgetDevice" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDevice func (c *CognitoIdentityProvider) AdminForgetDeviceRequest(input *AdminForgetDeviceInput) (req *request.Request, output *AdminForgetDeviceOutput) { op := &request.Operation{ Name: opAdminForgetDevice, @@ -1088,7 +1096,7 @@ func (c *CognitoIdentityProvider) AdminForgetDeviceRequest(input *AdminForgetDev // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDevice func (c *CognitoIdentityProvider) AdminForgetDevice(input *AdminForgetDeviceInput) (*AdminForgetDeviceOutput, error) { req, out := c.AdminForgetDeviceRequest(input) return out, req.Send() @@ -1135,7 +1143,7 @@ const opAdminGetDevice = "AdminGetDevice" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDevice func (c *CognitoIdentityProvider) AdminGetDeviceRequest(input *AdminGetDeviceInput) (req *request.Request, output *AdminGetDeviceOutput) { op := &request.Operation{ Name: opAdminGetDevice, @@ -1187,7 +1195,7 @@ func (c *CognitoIdentityProvider) AdminGetDeviceRequest(input *AdminGetDeviceInp // * ErrCodeNotAuthorizedException "NotAuthorizedException" // This exception is thrown when a user is not authorized. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDevice func (c *CognitoIdentityProvider) AdminGetDevice(input *AdminGetDeviceInput) (*AdminGetDeviceOutput, error) { req, out := c.AdminGetDeviceRequest(input) return out, req.Send() @@ -1234,7 +1242,7 @@ const opAdminGetUser = "AdminGetUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUser func (c *CognitoIdentityProvider) AdminGetUserRequest(input *AdminGetUserInput) (req *request.Request, output *AdminGetUserOutput) { op := &request.Operation{ Name: opAdminGetUser, @@ -1287,7 +1295,7 @@ func (c *CognitoIdentityProvider) AdminGetUserRequest(input *AdminGetUserInput) // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUser func (c *CognitoIdentityProvider) AdminGetUser(input *AdminGetUserInput) (*AdminGetUserOutput, error) { req, out := c.AdminGetUserRequest(input) return out, req.Send() @@ -1334,7 +1342,7 @@ const opAdminInitiateAuth = "AdminInitiateAuth" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuth +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuth func (c *CognitoIdentityProvider) AdminInitiateAuthRequest(input *AdminInitiateAuthInput) (req *request.Request, output *AdminInitiateAuthOutput) { op := &request.Operation{ Name: opAdminInitiateAuth, @@ -1421,7 +1429,7 @@ func (c *CognitoIdentityProvider) AdminInitiateAuthRequest(input *AdminInitiateA // * ErrCodeUserNotConfirmedException "UserNotConfirmedException" // This exception is thrown when a user is not confirmed successfully. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuth +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuth func (c *CognitoIdentityProvider) AdminInitiateAuth(input *AdminInitiateAuthInput) (*AdminInitiateAuthOutput, error) { req, out := c.AdminInitiateAuthRequest(input) return out, req.Send() @@ -1468,7 +1476,7 @@ const opAdminLinkProviderForUser = "AdminLinkProviderForUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminLinkProviderForUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminLinkProviderForUser func (c *CognitoIdentityProvider) AdminLinkProviderForUserRequest(input *AdminLinkProviderForUserInput) (req *request.Request, output *AdminLinkProviderForUserOutput) { op := &request.Operation{ Name: opAdminLinkProviderForUser, @@ -1503,7 +1511,7 @@ func (c *CognitoIdentityProvider) AdminLinkProviderForUserRequest(input *AdminLi // with external identity providers and provider attributes that have been trusted // by the application owner. // -// See also AdminDisableProviderForUser (API_AdminDisableProviderForUser.html). +// See also . // // This action is enabled only for admin access and requires developer credentials. // @@ -1542,7 +1550,7 @@ func (c *CognitoIdentityProvider) AdminLinkProviderForUserRequest(input *AdminLi // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminLinkProviderForUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminLinkProviderForUser func (c *CognitoIdentityProvider) AdminLinkProviderForUser(input *AdminLinkProviderForUserInput) (*AdminLinkProviderForUserOutput, error) { req, out := c.AdminLinkProviderForUserRequest(input) return out, req.Send() @@ -1589,7 +1597,7 @@ const opAdminListDevices = "AdminListDevices" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevices +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevices func (c *CognitoIdentityProvider) AdminListDevicesRequest(input *AdminListDevicesInput) (req *request.Request, output *AdminListDevicesOutput) { op := &request.Operation{ Name: opAdminListDevices, @@ -1641,7 +1649,7 @@ func (c *CognitoIdentityProvider) AdminListDevicesRequest(input *AdminListDevice // * ErrCodeNotAuthorizedException "NotAuthorizedException" // This exception is thrown when a user is not authorized. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevices +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevices func (c *CognitoIdentityProvider) AdminListDevices(input *AdminListDevicesInput) (*AdminListDevicesOutput, error) { req, out := c.AdminListDevicesRequest(input) return out, req.Send() @@ -1688,7 +1696,7 @@ const opAdminListGroupsForUser = "AdminListGroupsForUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUser func (c *CognitoIdentityProvider) AdminListGroupsForUserRequest(input *AdminListGroupsForUserInput) (req *request.Request, output *AdminListGroupsForUserOutput) { op := &request.Operation{ Name: opAdminListGroupsForUser, @@ -1740,7 +1748,7 @@ func (c *CognitoIdentityProvider) AdminListGroupsForUserRequest(input *AdminList // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUser func (c *CognitoIdentityProvider) AdminListGroupsForUser(input *AdminListGroupsForUserInput) (*AdminListGroupsForUserOutput, error) { req, out := c.AdminListGroupsForUserRequest(input) return out, req.Send() @@ -1762,6 +1770,107 @@ func (c *CognitoIdentityProvider) AdminListGroupsForUserWithContext(ctx aws.Cont return out, req.Send() } +const opAdminListUserAuthEvents = "AdminListUserAuthEvents" + +// AdminListUserAuthEventsRequest generates a "aws/request.Request" representing the +// client's request for the AdminListUserAuthEvents operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See AdminListUserAuthEvents for more information on using the AdminListUserAuthEvents +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the AdminListUserAuthEventsRequest method. +// req, resp := client.AdminListUserAuthEventsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListUserAuthEvents +func (c *CognitoIdentityProvider) AdminListUserAuthEventsRequest(input *AdminListUserAuthEventsInput) (req *request.Request, output *AdminListUserAuthEventsOutput) { + op := &request.Operation{ + Name: opAdminListUserAuthEvents, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &AdminListUserAuthEventsInput{} + } + + output = &AdminListUserAuthEventsOutput{} + req = c.newRequest(op, input, output) + return +} + +// AdminListUserAuthEvents API operation for Amazon Cognito Identity Provider. +// +// Lists a history of user activity and any risks detected as part of Amazon +// Cognito advanced security. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Cognito Identity Provider's +// API operation AdminListUserAuthEvents for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidParameterException "InvalidParameterException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// This exception is thrown when the user has made too many requests for a given +// operation. +// +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// * ErrCodeUserNotFoundException "UserNotFoundException" +// This exception is thrown when a user is not found. +// +// * ErrCodeUserPoolAddOnNotEnabledException "UserPoolAddOnNotEnabledException" +// This exception is thrown when user pool add-ons are not enabled. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListUserAuthEvents +func (c *CognitoIdentityProvider) AdminListUserAuthEvents(input *AdminListUserAuthEventsInput) (*AdminListUserAuthEventsOutput, error) { + req, out := c.AdminListUserAuthEventsRequest(input) + return out, req.Send() +} + +// AdminListUserAuthEventsWithContext is the same as AdminListUserAuthEvents with the addition of +// the ability to pass a context and additional request options. +// +// See AdminListUserAuthEvents for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CognitoIdentityProvider) AdminListUserAuthEventsWithContext(ctx aws.Context, input *AdminListUserAuthEventsInput, opts ...request.Option) (*AdminListUserAuthEventsOutput, error) { + req, out := c.AdminListUserAuthEventsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opAdminRemoveUserFromGroup = "AdminRemoveUserFromGroup" // AdminRemoveUserFromGroupRequest generates a "aws/request.Request" representing the @@ -1787,7 +1896,7 @@ const opAdminRemoveUserFromGroup = "AdminRemoveUserFromGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroup func (c *CognitoIdentityProvider) AdminRemoveUserFromGroupRequest(input *AdminRemoveUserFromGroupInput) (req *request.Request, output *AdminRemoveUserFromGroupOutput) { op := &request.Operation{ Name: opAdminRemoveUserFromGroup, @@ -1841,7 +1950,7 @@ func (c *CognitoIdentityProvider) AdminRemoveUserFromGroupRequest(input *AdminRe // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroup func (c *CognitoIdentityProvider) AdminRemoveUserFromGroup(input *AdminRemoveUserFromGroupInput) (*AdminRemoveUserFromGroupOutput, error) { req, out := c.AdminRemoveUserFromGroupRequest(input) return out, req.Send() @@ -1888,7 +1997,7 @@ const opAdminResetUserPassword = "AdminResetUserPassword" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPassword +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPassword func (c *CognitoIdentityProvider) AdminResetUserPasswordRequest(input *AdminResetUserPasswordInput) (req *request.Request, output *AdminResetUserPasswordOutput) { op := &request.Operation{ Name: opAdminResetUserPassword, @@ -1981,7 +2090,7 @@ func (c *CognitoIdentityProvider) AdminResetUserPasswordRequest(input *AdminRese // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPassword +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPassword func (c *CognitoIdentityProvider) AdminResetUserPassword(input *AdminResetUserPasswordInput) (*AdminResetUserPasswordOutput, error) { req, out := c.AdminResetUserPasswordRequest(input) return out, req.Send() @@ -2028,7 +2137,7 @@ const opAdminRespondToAuthChallenge = "AdminRespondToAuthChallenge" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallenge +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallenge func (c *CognitoIdentityProvider) AdminRespondToAuthChallengeRequest(input *AdminRespondToAuthChallengeInput) (req *request.Request, output *AdminRespondToAuthChallengeOutput) { op := &request.Operation{ Name: opAdminRespondToAuthChallenge, @@ -2132,7 +2241,11 @@ func (c *CognitoIdentityProvider) AdminRespondToAuthChallengeRequest(input *Admi // * ErrCodeUserNotConfirmedException "UserNotConfirmedException" // This exception is thrown when a user is not confirmed successfully. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallenge +// * ErrCodeSoftwareTokenMFANotFoundException "SoftwareTokenMFANotFoundException" +// This exception is thrown when the software token TOTP multi-factor authentication +// (MFA) is not enabled for the user pool. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallenge func (c *CognitoIdentityProvider) AdminRespondToAuthChallenge(input *AdminRespondToAuthChallengeInput) (*AdminRespondToAuthChallengeOutput, error) { req, out := c.AdminRespondToAuthChallengeRequest(input) return out, req.Send() @@ -2154,6 +2267,105 @@ func (c *CognitoIdentityProvider) AdminRespondToAuthChallengeWithContext(ctx aws return out, req.Send() } +const opAdminSetUserMFAPreference = "AdminSetUserMFAPreference" + +// AdminSetUserMFAPreferenceRequest generates a "aws/request.Request" representing the +// client's request for the AdminSetUserMFAPreference operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See AdminSetUserMFAPreference for more information on using the AdminSetUserMFAPreference +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the AdminSetUserMFAPreferenceRequest method. +// req, resp := client.AdminSetUserMFAPreferenceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserMFAPreference +func (c *CognitoIdentityProvider) AdminSetUserMFAPreferenceRequest(input *AdminSetUserMFAPreferenceInput) (req *request.Request, output *AdminSetUserMFAPreferenceOutput) { + op := &request.Operation{ + Name: opAdminSetUserMFAPreference, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &AdminSetUserMFAPreferenceInput{} + } + + output = &AdminSetUserMFAPreferenceOutput{} + req = c.newRequest(op, input, output) + return +} + +// AdminSetUserMFAPreference API operation for Amazon Cognito Identity Provider. +// +// Sets the user's multi-factor authentication (MFA) preference. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Cognito Identity Provider's +// API operation AdminSetUserMFAPreference for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. +// +// * ErrCodeInvalidParameterException "InvalidParameterException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// * ErrCodePasswordResetRequiredException "PasswordResetRequiredException" +// This exception is thrown when a password reset is required. +// +// * ErrCodeUserNotFoundException "UserNotFoundException" +// This exception is thrown when a user is not found. +// +// * ErrCodeUserNotConfirmedException "UserNotConfirmedException" +// This exception is thrown when a user is not confirmed successfully. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserMFAPreference +func (c *CognitoIdentityProvider) AdminSetUserMFAPreference(input *AdminSetUserMFAPreferenceInput) (*AdminSetUserMFAPreferenceOutput, error) { + req, out := c.AdminSetUserMFAPreferenceRequest(input) + return out, req.Send() +} + +// AdminSetUserMFAPreferenceWithContext is the same as AdminSetUserMFAPreference with the addition of +// the ability to pass a context and additional request options. +// +// See AdminSetUserMFAPreference for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CognitoIdentityProvider) AdminSetUserMFAPreferenceWithContext(ctx aws.Context, input *AdminSetUserMFAPreferenceInput, opts ...request.Option) (*AdminSetUserMFAPreferenceOutput, error) { + req, out := c.AdminSetUserMFAPreferenceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opAdminSetUserSettings = "AdminSetUserSettings" // AdminSetUserSettingsRequest generates a "aws/request.Request" representing the @@ -2179,7 +2391,7 @@ const opAdminSetUserSettings = "AdminSetUserSettings" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettings func (c *CognitoIdentityProvider) AdminSetUserSettingsRequest(input *AdminSetUserSettingsInput) (req *request.Request, output *AdminSetUserSettingsOutput) { op := &request.Operation{ Name: opAdminSetUserSettings, @@ -2227,7 +2439,7 @@ func (c *CognitoIdentityProvider) AdminSetUserSettingsRequest(input *AdminSetUse // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettings func (c *CognitoIdentityProvider) AdminSetUserSettings(input *AdminSetUserSettingsInput) (*AdminSetUserSettingsOutput, error) { req, out := c.AdminSetUserSettingsRequest(input) return out, req.Send() @@ -2249,6 +2461,108 @@ func (c *CognitoIdentityProvider) AdminSetUserSettingsWithContext(ctx aws.Contex return out, req.Send() } +const opAdminUpdateAuthEventFeedback = "AdminUpdateAuthEventFeedback" + +// AdminUpdateAuthEventFeedbackRequest generates a "aws/request.Request" representing the +// client's request for the AdminUpdateAuthEventFeedback operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See AdminUpdateAuthEventFeedback for more information on using the AdminUpdateAuthEventFeedback +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the AdminUpdateAuthEventFeedbackRequest method. +// req, resp := client.AdminUpdateAuthEventFeedbackRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateAuthEventFeedback +func (c *CognitoIdentityProvider) AdminUpdateAuthEventFeedbackRequest(input *AdminUpdateAuthEventFeedbackInput) (req *request.Request, output *AdminUpdateAuthEventFeedbackOutput) { + op := &request.Operation{ + Name: opAdminUpdateAuthEventFeedback, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &AdminUpdateAuthEventFeedbackInput{} + } + + output = &AdminUpdateAuthEventFeedbackOutput{} + req = c.newRequest(op, input, output) + return +} + +// AdminUpdateAuthEventFeedback API operation for Amazon Cognito Identity Provider. +// +// Provides feedback for an authentication event as to whether it was from a +// valid user. This feedback is used for improving the risk evaluation decision +// for the user pool as part of Amazon Cognito advanced security. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Cognito Identity Provider's +// API operation AdminUpdateAuthEventFeedback for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidParameterException "InvalidParameterException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// This exception is thrown when the user has made too many requests for a given +// operation. +// +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// * ErrCodeUserNotFoundException "UserNotFoundException" +// This exception is thrown when a user is not found. +// +// * ErrCodeUserPoolAddOnNotEnabledException "UserPoolAddOnNotEnabledException" +// This exception is thrown when user pool add-ons are not enabled. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateAuthEventFeedback +func (c *CognitoIdentityProvider) AdminUpdateAuthEventFeedback(input *AdminUpdateAuthEventFeedbackInput) (*AdminUpdateAuthEventFeedbackOutput, error) { + req, out := c.AdminUpdateAuthEventFeedbackRequest(input) + return out, req.Send() +} + +// AdminUpdateAuthEventFeedbackWithContext is the same as AdminUpdateAuthEventFeedback with the addition of +// the ability to pass a context and additional request options. +// +// See AdminUpdateAuthEventFeedback for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CognitoIdentityProvider) AdminUpdateAuthEventFeedbackWithContext(ctx aws.Context, input *AdminUpdateAuthEventFeedbackInput, opts ...request.Option) (*AdminUpdateAuthEventFeedbackOutput, error) { + req, out := c.AdminUpdateAuthEventFeedbackRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opAdminUpdateDeviceStatus = "AdminUpdateDeviceStatus" // AdminUpdateDeviceStatusRequest generates a "aws/request.Request" representing the @@ -2274,7 +2588,7 @@ const opAdminUpdateDeviceStatus = "AdminUpdateDeviceStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatus func (c *CognitoIdentityProvider) AdminUpdateDeviceStatusRequest(input *AdminUpdateDeviceStatusInput) (req *request.Request, output *AdminUpdateDeviceStatusOutput) { op := &request.Operation{ Name: opAdminUpdateDeviceStatus, @@ -2329,7 +2643,7 @@ func (c *CognitoIdentityProvider) AdminUpdateDeviceStatusRequest(input *AdminUpd // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatus func (c *CognitoIdentityProvider) AdminUpdateDeviceStatus(input *AdminUpdateDeviceStatusInput) (*AdminUpdateDeviceStatusOutput, error) { req, out := c.AdminUpdateDeviceStatusRequest(input) return out, req.Send() @@ -2376,7 +2690,7 @@ const opAdminUpdateUserAttributes = "AdminUpdateUserAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributes func (c *CognitoIdentityProvider) AdminUpdateUserAttributesRequest(input *AdminUpdateUserAttributesInput) (req *request.Request, output *AdminUpdateUserAttributesOutput) { op := &request.Operation{ Name: opAdminUpdateUserAttributes, @@ -2453,7 +2767,7 @@ func (c *CognitoIdentityProvider) AdminUpdateUserAttributesRequest(input *AdminU // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributes func (c *CognitoIdentityProvider) AdminUpdateUserAttributes(input *AdminUpdateUserAttributesInput) (*AdminUpdateUserAttributesOutput, error) { req, out := c.AdminUpdateUserAttributesRequest(input) return out, req.Send() @@ -2500,7 +2814,7 @@ const opAdminUserGlobalSignOut = "AdminUserGlobalSignOut" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOut +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOut func (c *CognitoIdentityProvider) AdminUserGlobalSignOutRequest(input *AdminUserGlobalSignOutInput) (req *request.Request, output *AdminUserGlobalSignOutOutput) { op := &request.Operation{ Name: opAdminUserGlobalSignOut, @@ -2552,7 +2866,7 @@ func (c *CognitoIdentityProvider) AdminUserGlobalSignOutRequest(input *AdminUser // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOut +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOut func (c *CognitoIdentityProvider) AdminUserGlobalSignOut(input *AdminUserGlobalSignOutInput) (*AdminUserGlobalSignOutOutput, error) { req, out := c.AdminUserGlobalSignOutRequest(input) return out, req.Send() @@ -2574,65 +2888,160 @@ func (c *CognitoIdentityProvider) AdminUserGlobalSignOutWithContext(ctx aws.Cont return out, req.Send() } -const opChangePassword = "ChangePassword" +const opAssociateSoftwareToken = "AssociateSoftwareToken" -// ChangePasswordRequest generates a "aws/request.Request" representing the -// client's request for the ChangePassword operation. The "output" return +// AssociateSoftwareTokenRequest generates a "aws/request.Request" representing the +// client's request for the AssociateSoftwareToken operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ChangePassword for more information on using the ChangePassword +// See AssociateSoftwareToken for more information on using the AssociateSoftwareToken // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ChangePasswordRequest method. -// req, resp := client.ChangePasswordRequest(params) +// // Example sending a request using the AssociateSoftwareTokenRequest method. +// req, resp := client.AssociateSoftwareTokenRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePassword -func (c *CognitoIdentityProvider) ChangePasswordRequest(input *ChangePasswordInput) (req *request.Request, output *ChangePasswordOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AssociateSoftwareToken +func (c *CognitoIdentityProvider) AssociateSoftwareTokenRequest(input *AssociateSoftwareTokenInput) (req *request.Request, output *AssociateSoftwareTokenOutput) { op := &request.Operation{ - Name: opChangePassword, + Name: opAssociateSoftwareToken, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &ChangePasswordInput{} + input = &AssociateSoftwareTokenInput{} } - output = &ChangePasswordOutput{} + output = &AssociateSoftwareTokenOutput{} req = c.newRequest(op, input, output) - req.Config.Credentials = credentials.AnonymousCredentials return } -// ChangePassword API operation for Amazon Cognito Identity Provider. +// AssociateSoftwareToken API operation for Amazon Cognito Identity Provider. // -// Changes the password for a specified user in a user pool. +// Returns a unique generated shared secret key code for the user account. The +// request takes an access token or a session string, but not both. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Cognito Identity Provider's -// API operation ChangePassword for usage and error information. +// API operation AssociateSoftwareToken for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// This exception is thrown when the Amazon Cognito service cannot find the -// requested resource. -// +// * ErrCodeInvalidParameterException "InvalidParameterException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// * ErrCodeSoftwareTokenMFANotFoundException "SoftwareTokenMFANotFoundException" +// This exception is thrown when the software token TOTP multi-factor authentication +// (MFA) is not enabled for the user pool. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AssociateSoftwareToken +func (c *CognitoIdentityProvider) AssociateSoftwareToken(input *AssociateSoftwareTokenInput) (*AssociateSoftwareTokenOutput, error) { + req, out := c.AssociateSoftwareTokenRequest(input) + return out, req.Send() +} + +// AssociateSoftwareTokenWithContext is the same as AssociateSoftwareToken with the addition of +// the ability to pass a context and additional request options. +// +// See AssociateSoftwareToken for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CognitoIdentityProvider) AssociateSoftwareTokenWithContext(ctx aws.Context, input *AssociateSoftwareTokenInput, opts ...request.Option) (*AssociateSoftwareTokenOutput, error) { + req, out := c.AssociateSoftwareTokenRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opChangePassword = "ChangePassword" + +// ChangePasswordRequest generates a "aws/request.Request" representing the +// client's request for the ChangePassword operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ChangePassword for more information on using the ChangePassword +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ChangePasswordRequest method. +// req, resp := client.ChangePasswordRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePassword +func (c *CognitoIdentityProvider) ChangePasswordRequest(input *ChangePasswordInput) (req *request.Request, output *ChangePasswordOutput) { + op := &request.Operation{ + Name: opChangePassword, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ChangePasswordInput{} + } + + output = &ChangePasswordOutput{} + req = c.newRequest(op, input, output) + req.Config.Credentials = credentials.AnonymousCredentials + return +} + +// ChangePassword API operation for Amazon Cognito Identity Provider. +// +// Changes the password for a specified user in a user pool. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Cognito Identity Provider's +// API operation ChangePassword for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. +// // * ErrCodeInvalidParameterException "InvalidParameterException" // This exception is thrown when the Amazon Cognito service encounters an invalid // parameter. @@ -2664,7 +3073,7 @@ func (c *CognitoIdentityProvider) ChangePasswordRequest(input *ChangePasswordInp // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePassword +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePassword func (c *CognitoIdentityProvider) ChangePassword(input *ChangePasswordInput) (*ChangePasswordOutput, error) { req, out := c.ChangePasswordRequest(input) return out, req.Send() @@ -2711,7 +3120,7 @@ const opConfirmDevice = "ConfirmDevice" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDevice func (c *CognitoIdentityProvider) ConfirmDeviceRequest(input *ConfirmDeviceInput) (req *request.Request, output *ConfirmDeviceOutput) { op := &request.Operation{ Name: opConfirmDevice, @@ -2783,7 +3192,7 @@ func (c *CognitoIdentityProvider) ConfirmDeviceRequest(input *ConfirmDeviceInput // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDevice func (c *CognitoIdentityProvider) ConfirmDevice(input *ConfirmDeviceInput) (*ConfirmDeviceOutput, error) { req, out := c.ConfirmDeviceRequest(input) return out, req.Send() @@ -2830,7 +3239,7 @@ const opConfirmForgotPassword = "ConfirmForgotPassword" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPassword +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPassword func (c *CognitoIdentityProvider) ConfirmForgotPasswordRequest(input *ConfirmForgotPasswordInput) (req *request.Request, output *ConfirmForgotPasswordOutput) { op := &request.Operation{ Name: opConfirmForgotPassword, @@ -2915,7 +3324,7 @@ func (c *CognitoIdentityProvider) ConfirmForgotPasswordRequest(input *ConfirmFor // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPassword +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPassword func (c *CognitoIdentityProvider) ConfirmForgotPassword(input *ConfirmForgotPasswordInput) (*ConfirmForgotPasswordOutput, error) { req, out := c.ConfirmForgotPasswordRequest(input) return out, req.Send() @@ -2962,7 +3371,7 @@ const opConfirmSignUp = "ConfirmSignUp" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUp +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUp func (c *CognitoIdentityProvider) ConfirmSignUpRequest(input *ConfirmSignUpInput) (req *request.Request, output *ConfirmSignUpOutput) { op := &request.Operation{ Name: opConfirmSignUp, @@ -3047,7 +3456,7 @@ func (c *CognitoIdentityProvider) ConfirmSignUpRequest(input *ConfirmSignUpInput // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUp +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUp func (c *CognitoIdentityProvider) ConfirmSignUp(input *ConfirmSignUpInput) (*ConfirmSignUpOutput, error) { req, out := c.ConfirmSignUpRequest(input) return out, req.Send() @@ -3094,7 +3503,7 @@ const opCreateGroup = "CreateGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroup func (c *CognitoIdentityProvider) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput) { op := &request.Operation{ Name: opCreateGroup, @@ -3151,7 +3560,7 @@ func (c *CognitoIdentityProvider) CreateGroupRequest(input *CreateGroupInput) (r // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroup func (c *CognitoIdentityProvider) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error) { req, out := c.CreateGroupRequest(input) return out, req.Send() @@ -3198,7 +3607,7 @@ const opCreateIdentityProvider = "CreateIdentityProvider" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProvider func (c *CognitoIdentityProvider) CreateIdentityProviderRequest(input *CreateIdentityProviderInput) (req *request.Request, output *CreateIdentityProviderOutput) { op := &request.Operation{ Name: opCreateIdentityProvider, @@ -3253,7 +3662,7 @@ func (c *CognitoIdentityProvider) CreateIdentityProviderRequest(input *CreateIde // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProvider func (c *CognitoIdentityProvider) CreateIdentityProvider(input *CreateIdentityProviderInput) (*CreateIdentityProviderOutput, error) { req, out := c.CreateIdentityProviderRequest(input) return out, req.Send() @@ -3300,7 +3709,7 @@ const opCreateResourceServer = "CreateResourceServer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateResourceServer +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateResourceServer func (c *CognitoIdentityProvider) CreateResourceServerRequest(input *CreateResourceServerInput) (req *request.Request, output *CreateResourceServerOutput) { op := &request.Operation{ Name: opCreateResourceServer, @@ -3351,7 +3760,7 @@ func (c *CognitoIdentityProvider) CreateResourceServerRequest(input *CreateResou // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateResourceServer +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateResourceServer func (c *CognitoIdentityProvider) CreateResourceServer(input *CreateResourceServerInput) (*CreateResourceServerOutput, error) { req, out := c.CreateResourceServerRequest(input) return out, req.Send() @@ -3398,7 +3807,7 @@ const opCreateUserImportJob = "CreateUserImportJob" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJob func (c *CognitoIdentityProvider) CreateUserImportJobRequest(input *CreateUserImportJobInput) (req *request.Request, output *CreateUserImportJobOutput) { op := &request.Operation{ Name: opCreateUserImportJob, @@ -3452,7 +3861,7 @@ func (c *CognitoIdentityProvider) CreateUserImportJobRequest(input *CreateUserIm // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJob func (c *CognitoIdentityProvider) CreateUserImportJob(input *CreateUserImportJobInput) (*CreateUserImportJobOutput, error) { req, out := c.CreateUserImportJobRequest(input) return out, req.Send() @@ -3499,7 +3908,7 @@ const opCreateUserPool = "CreateUserPool" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPool func (c *CognitoIdentityProvider) CreateUserPoolRequest(input *CreateUserPoolInput) (req *request.Request, output *CreateUserPoolOutput) { op := &request.Operation{ Name: opCreateUserPool, @@ -3564,7 +3973,7 @@ func (c *CognitoIdentityProvider) CreateUserPoolRequest(input *CreateUserPoolInp // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPool func (c *CognitoIdentityProvider) CreateUserPool(input *CreateUserPoolInput) (*CreateUserPoolOutput, error) { req, out := c.CreateUserPoolRequest(input) return out, req.Send() @@ -3611,7 +4020,7 @@ const opCreateUserPoolClient = "CreateUserPoolClient" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClient +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClient func (c *CognitoIdentityProvider) CreateUserPoolClientRequest(input *CreateUserPoolClientInput) (req *request.Request, output *CreateUserPoolClientOutput) { op := &request.Operation{ Name: opCreateUserPoolClient, @@ -3668,7 +4077,7 @@ func (c *CognitoIdentityProvider) CreateUserPoolClientRequest(input *CreateUserP // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClient +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClient func (c *CognitoIdentityProvider) CreateUserPoolClient(input *CreateUserPoolClientInput) (*CreateUserPoolClientOutput, error) { req, out := c.CreateUserPoolClientRequest(input) return out, req.Send() @@ -3715,7 +4124,7 @@ const opCreateUserPoolDomain = "CreateUserPoolDomain" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomain +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomain func (c *CognitoIdentityProvider) CreateUserPoolDomainRequest(input *CreateUserPoolDomainInput) (req *request.Request, output *CreateUserPoolDomainOutput) { op := &request.Operation{ Name: opCreateUserPoolDomain, @@ -3758,7 +4167,7 @@ func (c *CognitoIdentityProvider) CreateUserPoolDomainRequest(input *CreateUserP // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomain +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomain func (c *CognitoIdentityProvider) CreateUserPoolDomain(input *CreateUserPoolDomainInput) (*CreateUserPoolDomainOutput, error) { req, out := c.CreateUserPoolDomainRequest(input) return out, req.Send() @@ -3805,7 +4214,7 @@ const opDeleteGroup = "DeleteGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroup func (c *CognitoIdentityProvider) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput) { op := &request.Operation{ Name: opDeleteGroup, @@ -3856,7 +4265,7 @@ func (c *CognitoIdentityProvider) DeleteGroupRequest(input *DeleteGroupInput) (r // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroup func (c *CognitoIdentityProvider) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error) { req, out := c.DeleteGroupRequest(input) return out, req.Send() @@ -3903,7 +4312,7 @@ const opDeleteIdentityProvider = "DeleteIdentityProvider" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProvider func (c *CognitoIdentityProvider) DeleteIdentityProviderRequest(input *DeleteIdentityProviderInput) (req *request.Request, output *DeleteIdentityProviderOutput) { op := &request.Operation{ Name: opDeleteIdentityProvider, @@ -3955,7 +4364,7 @@ func (c *CognitoIdentityProvider) DeleteIdentityProviderRequest(input *DeleteIde // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProvider func (c *CognitoIdentityProvider) DeleteIdentityProvider(input *DeleteIdentityProviderInput) (*DeleteIdentityProviderOutput, error) { req, out := c.DeleteIdentityProviderRequest(input) return out, req.Send() @@ -4002,7 +4411,7 @@ const opDeleteResourceServer = "DeleteResourceServer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteResourceServer +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteResourceServer func (c *CognitoIdentityProvider) DeleteResourceServerRequest(input *DeleteResourceServerInput) (req *request.Request, output *DeleteResourceServerOutput) { op := &request.Operation{ Name: opDeleteResourceServer, @@ -4051,7 +4460,7 @@ func (c *CognitoIdentityProvider) DeleteResourceServerRequest(input *DeleteResou // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteResourceServer +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteResourceServer func (c *CognitoIdentityProvider) DeleteResourceServer(input *DeleteResourceServerInput) (*DeleteResourceServerOutput, error) { req, out := c.DeleteResourceServerRequest(input) return out, req.Send() @@ -4098,7 +4507,7 @@ const opDeleteUser = "DeleteUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUser func (c *CognitoIdentityProvider) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { op := &request.Operation{ Name: opDeleteUser, @@ -4157,7 +4566,7 @@ func (c *CognitoIdentityProvider) DeleteUserRequest(input *DeleteUserInput) (req // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUser func (c *CognitoIdentityProvider) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { req, out := c.DeleteUserRequest(input) return out, req.Send() @@ -4204,7 +4613,7 @@ const opDeleteUserAttributes = "DeleteUserAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributes func (c *CognitoIdentityProvider) DeleteUserAttributesRequest(input *DeleteUserAttributesInput) (req *request.Request, output *DeleteUserAttributesOutput) { op := &request.Operation{ Name: opDeleteUserAttributes, @@ -4261,7 +4670,7 @@ func (c *CognitoIdentityProvider) DeleteUserAttributesRequest(input *DeleteUserA // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributes func (c *CognitoIdentityProvider) DeleteUserAttributes(input *DeleteUserAttributesInput) (*DeleteUserAttributesOutput, error) { req, out := c.DeleteUserAttributesRequest(input) return out, req.Send() @@ -4308,7 +4717,7 @@ const opDeleteUserPool = "DeleteUserPool" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPool func (c *CognitoIdentityProvider) DeleteUserPoolRequest(input *DeleteUserPoolInput) (req *request.Request, output *DeleteUserPoolOutput) { op := &request.Operation{ Name: opDeleteUserPool, @@ -4361,7 +4770,7 @@ func (c *CognitoIdentityProvider) DeleteUserPoolRequest(input *DeleteUserPoolInp // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPool func (c *CognitoIdentityProvider) DeleteUserPool(input *DeleteUserPoolInput) (*DeleteUserPoolOutput, error) { req, out := c.DeleteUserPoolRequest(input) return out, req.Send() @@ -4408,7 +4817,7 @@ const opDeleteUserPoolClient = "DeleteUserPoolClient" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClient +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClient func (c *CognitoIdentityProvider) DeleteUserPoolClientRequest(input *DeleteUserPoolClientInput) (req *request.Request, output *DeleteUserPoolClientOutput) { op := &request.Operation{ Name: opDeleteUserPoolClient, @@ -4457,7 +4866,7 @@ func (c *CognitoIdentityProvider) DeleteUserPoolClientRequest(input *DeleteUserP // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClient +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClient func (c *CognitoIdentityProvider) DeleteUserPoolClient(input *DeleteUserPoolClientInput) (*DeleteUserPoolClientOutput, error) { req, out := c.DeleteUserPoolClientRequest(input) return out, req.Send() @@ -4504,7 +4913,7 @@ const opDeleteUserPoolDomain = "DeleteUserPoolDomain" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomain +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomain func (c *CognitoIdentityProvider) DeleteUserPoolDomainRequest(input *DeleteUserPoolDomainInput) (req *request.Request, output *DeleteUserPoolDomainOutput) { op := &request.Operation{ Name: opDeleteUserPoolDomain, @@ -4547,7 +4956,7 @@ func (c *CognitoIdentityProvider) DeleteUserPoolDomainRequest(input *DeleteUserP // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomain +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomain func (c *CognitoIdentityProvider) DeleteUserPoolDomain(input *DeleteUserPoolDomainInput) (*DeleteUserPoolDomainOutput, error) { req, out := c.DeleteUserPoolDomainRequest(input) return out, req.Send() @@ -4594,7 +5003,7 @@ const opDescribeIdentityProvider = "DescribeIdentityProvider" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProvider func (c *CognitoIdentityProvider) DescribeIdentityProviderRequest(input *DescribeIdentityProviderInput) (req *request.Request, output *DescribeIdentityProviderOutput) { op := &request.Operation{ Name: opDescribeIdentityProvider, @@ -4641,7 +5050,7 @@ func (c *CognitoIdentityProvider) DescribeIdentityProviderRequest(input *Describ // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProvider func (c *CognitoIdentityProvider) DescribeIdentityProvider(input *DescribeIdentityProviderInput) (*DescribeIdentityProviderOutput, error) { req, out := c.DescribeIdentityProviderRequest(input) return out, req.Send() @@ -4688,7 +5097,7 @@ const opDescribeResourceServer = "DescribeResourceServer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeResourceServer +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeResourceServer func (c *CognitoIdentityProvider) DescribeResourceServerRequest(input *DescribeResourceServerInput) (req *request.Request, output *DescribeResourceServerOutput) { op := &request.Operation{ Name: opDescribeResourceServer, @@ -4735,7 +5144,7 @@ func (c *CognitoIdentityProvider) DescribeResourceServerRequest(input *DescribeR // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeResourceServer +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeResourceServer func (c *CognitoIdentityProvider) DescribeResourceServer(input *DescribeResourceServerInput) (*DescribeResourceServerOutput, error) { req, out := c.DescribeResourceServerRequest(input) return out, req.Send() @@ -4757,6 +5166,103 @@ func (c *CognitoIdentityProvider) DescribeResourceServerWithContext(ctx aws.Cont return out, req.Send() } +const opDescribeRiskConfiguration = "DescribeRiskConfiguration" + +// DescribeRiskConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the DescribeRiskConfiguration operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeRiskConfiguration for more information on using the DescribeRiskConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeRiskConfigurationRequest method. +// req, resp := client.DescribeRiskConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeRiskConfiguration +func (c *CognitoIdentityProvider) DescribeRiskConfigurationRequest(input *DescribeRiskConfigurationInput) (req *request.Request, output *DescribeRiskConfigurationOutput) { + op := &request.Operation{ + Name: opDescribeRiskConfiguration, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeRiskConfigurationInput{} + } + + output = &DescribeRiskConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeRiskConfiguration API operation for Amazon Cognito Identity Provider. +// +// Describes the risk configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Cognito Identity Provider's +// API operation DescribeRiskConfiguration for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. +// +// * ErrCodeInvalidParameterException "InvalidParameterException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// This exception is thrown when the user has made too many requests for a given +// operation. +// +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// * ErrCodeUserPoolAddOnNotEnabledException "UserPoolAddOnNotEnabledException" +// This exception is thrown when user pool add-ons are not enabled. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeRiskConfiguration +func (c *CognitoIdentityProvider) DescribeRiskConfiguration(input *DescribeRiskConfigurationInput) (*DescribeRiskConfigurationOutput, error) { + req, out := c.DescribeRiskConfigurationRequest(input) + return out, req.Send() +} + +// DescribeRiskConfigurationWithContext is the same as DescribeRiskConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeRiskConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CognitoIdentityProvider) DescribeRiskConfigurationWithContext(ctx aws.Context, input *DescribeRiskConfigurationInput, opts ...request.Option) (*DescribeRiskConfigurationOutput, error) { + req, out := c.DescribeRiskConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeUserImportJob = "DescribeUserImportJob" // DescribeUserImportJobRequest generates a "aws/request.Request" representing the @@ -4782,7 +5288,7 @@ const opDescribeUserImportJob = "DescribeUserImportJob" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJob func (c *CognitoIdentityProvider) DescribeUserImportJobRequest(input *DescribeUserImportJobInput) (req *request.Request, output *DescribeUserImportJobOutput) { op := &request.Operation{ Name: opDescribeUserImportJob, @@ -4829,7 +5335,7 @@ func (c *CognitoIdentityProvider) DescribeUserImportJobRequest(input *DescribeUs // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJob func (c *CognitoIdentityProvider) DescribeUserImportJob(input *DescribeUserImportJobInput) (*DescribeUserImportJobOutput, error) { req, out := c.DescribeUserImportJobRequest(input) return out, req.Send() @@ -4876,7 +5382,7 @@ const opDescribeUserPool = "DescribeUserPool" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPool func (c *CognitoIdentityProvider) DescribeUserPoolRequest(input *DescribeUserPoolInput) (req *request.Request, output *DescribeUserPoolOutput) { op := &request.Operation{ Name: opDescribeUserPool, @@ -4927,7 +5433,7 @@ func (c *CognitoIdentityProvider) DescribeUserPoolRequest(input *DescribeUserPoo // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPool +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPool func (c *CognitoIdentityProvider) DescribeUserPool(input *DescribeUserPoolInput) (*DescribeUserPoolOutput, error) { req, out := c.DescribeUserPoolRequest(input) return out, req.Send() @@ -4974,7 +5480,7 @@ const opDescribeUserPoolClient = "DescribeUserPoolClient" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClient +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClient func (c *CognitoIdentityProvider) DescribeUserPoolClientRequest(input *DescribeUserPoolClientInput) (req *request.Request, output *DescribeUserPoolClientOutput) { op := &request.Operation{ Name: opDescribeUserPoolClient, @@ -5022,7 +5528,7 @@ func (c *CognitoIdentityProvider) DescribeUserPoolClientRequest(input *DescribeU // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClient +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClient func (c *CognitoIdentityProvider) DescribeUserPoolClient(input *DescribeUserPoolClientInput) (*DescribeUserPoolClientOutput, error) { req, out := c.DescribeUserPoolClientRequest(input) return out, req.Send() @@ -5069,7 +5575,7 @@ const opDescribeUserPoolDomain = "DescribeUserPoolDomain" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomain +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomain func (c *CognitoIdentityProvider) DescribeUserPoolDomainRequest(input *DescribeUserPoolDomainInput) (req *request.Request, output *DescribeUserPoolDomainOutput) { op := &request.Operation{ Name: opDescribeUserPoolDomain, @@ -5112,7 +5618,7 @@ func (c *CognitoIdentityProvider) DescribeUserPoolDomainRequest(input *DescribeU // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomain +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomain func (c *CognitoIdentityProvider) DescribeUserPoolDomain(input *DescribeUserPoolDomainInput) (*DescribeUserPoolDomainOutput, error) { req, out := c.DescribeUserPoolDomainRequest(input) return out, req.Send() @@ -5159,7 +5665,7 @@ const opForgetDevice = "ForgetDevice" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDevice func (c *CognitoIdentityProvider) ForgetDeviceRequest(input *ForgetDeviceInput) (req *request.Request, output *ForgetDeviceOutput) { op := &request.Operation{ Name: opForgetDevice, @@ -5220,7 +5726,7 @@ func (c *CognitoIdentityProvider) ForgetDeviceRequest(input *ForgetDeviceInput) // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDevice func (c *CognitoIdentityProvider) ForgetDevice(input *ForgetDeviceInput) (*ForgetDeviceOutput, error) { req, out := c.ForgetDeviceRequest(input) return out, req.Send() @@ -5267,7 +5773,7 @@ const opForgotPassword = "ForgotPassword" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgotPassword +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgotPassword func (c *CognitoIdentityProvider) ForgotPasswordRequest(input *ForgotPasswordInput) (req *request.Request, output *ForgotPasswordOutput) { op := &request.Operation{ Name: opForgotPassword, @@ -5294,7 +5800,7 @@ func (c *CognitoIdentityProvider) ForgotPasswordRequest(input *ForgotPasswordInp // if a verified email exists, the confirmation code is sent to the email. If // neither a verified phone number nor a verified email exists, InvalidParameterException // is thrown. To use the confirmation code for resetting the password, call -// ConfirmForgotPassword (API_ConfirmForgotPassword.html). +// . // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5361,7 +5867,7 @@ func (c *CognitoIdentityProvider) ForgotPasswordRequest(input *ForgotPasswordInp // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgotPassword +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgotPassword func (c *CognitoIdentityProvider) ForgotPassword(input *ForgotPasswordInput) (*ForgotPasswordOutput, error) { req, out := c.ForgotPasswordRequest(input) return out, req.Send() @@ -5408,7 +5914,7 @@ const opGetCSVHeader = "GetCSVHeader" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeader +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeader func (c *CognitoIdentityProvider) GetCSVHeaderRequest(input *GetCSVHeaderInput) (req *request.Request, output *GetCSVHeaderOutput) { op := &request.Operation{ Name: opGetCSVHeader, @@ -5456,7 +5962,7 @@ func (c *CognitoIdentityProvider) GetCSVHeaderRequest(input *GetCSVHeaderInput) // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeader +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeader func (c *CognitoIdentityProvider) GetCSVHeader(input *GetCSVHeaderInput) (*GetCSVHeaderOutput, error) { req, out := c.GetCSVHeaderRequest(input) return out, req.Send() @@ -5503,7 +6009,7 @@ const opGetDevice = "GetDevice" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDevice func (c *CognitoIdentityProvider) GetDeviceRequest(input *GetDeviceInput) (req *request.Request, output *GetDeviceOutput) { op := &request.Operation{ Name: opGetDevice, @@ -5562,7 +6068,7 @@ func (c *CognitoIdentityProvider) GetDeviceRequest(input *GetDeviceInput) (req * // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDevice func (c *CognitoIdentityProvider) GetDevice(input *GetDeviceInput) (*GetDeviceOutput, error) { req, out := c.GetDeviceRequest(input) return out, req.Send() @@ -5609,7 +6115,7 @@ const opGetGroup = "GetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroup func (c *CognitoIdentityProvider) GetGroupRequest(input *GetGroupInput) (req *request.Request, output *GetGroupOutput) { op := &request.Operation{ Name: opGetGroup, @@ -5658,7 +6164,7 @@ func (c *CognitoIdentityProvider) GetGroupRequest(input *GetGroupInput) (req *re // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroup func (c *CognitoIdentityProvider) GetGroup(input *GetGroupInput) (*GetGroupOutput, error) { req, out := c.GetGroupRequest(input) return out, req.Send() @@ -5705,7 +6211,7 @@ const opGetIdentityProviderByIdentifier = "GetIdentityProviderByIdentifier" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifier func (c *CognitoIdentityProvider) GetIdentityProviderByIdentifierRequest(input *GetIdentityProviderByIdentifierInput) (req *request.Request, output *GetIdentityProviderByIdentifierOutput) { op := &request.Operation{ Name: opGetIdentityProviderByIdentifier, @@ -5752,7 +6258,7 @@ func (c *CognitoIdentityProvider) GetIdentityProviderByIdentifierRequest(input * // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifier func (c *CognitoIdentityProvider) GetIdentityProviderByIdentifier(input *GetIdentityProviderByIdentifierInput) (*GetIdentityProviderByIdentifierOutput, error) { req, out := c.GetIdentityProviderByIdentifierRequest(input) return out, req.Send() @@ -5799,7 +6305,7 @@ const opGetUICustomization = "GetUICustomization" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUICustomization +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUICustomization func (c *CognitoIdentityProvider) GetUICustomizationRequest(input *GetUICustomizationInput) (req *request.Request, output *GetUICustomizationOutput) { op := &request.Operation{ Name: opGetUICustomization, @@ -5849,7 +6355,7 @@ func (c *CognitoIdentityProvider) GetUICustomizationRequest(input *GetUICustomiz // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUICustomization +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUICustomization func (c *CognitoIdentityProvider) GetUICustomization(input *GetUICustomizationInput) (*GetUICustomizationOutput, error) { req, out := c.GetUICustomizationRequest(input) return out, req.Send() @@ -5896,7 +6402,7 @@ const opGetUser = "GetUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUser func (c *CognitoIdentityProvider) GetUserRequest(input *GetUserInput) (req *request.Request, output *GetUserOutput) { op := &request.Operation{ Name: opGetUser, @@ -5953,7 +6459,7 @@ func (c *CognitoIdentityProvider) GetUserRequest(input *GetUserInput) (req *requ // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUser func (c *CognitoIdentityProvider) GetUser(input *GetUserInput) (*GetUserOutput, error) { req, out := c.GetUserRequest(input) return out, req.Send() @@ -6000,7 +6506,7 @@ const opGetUserAttributeVerificationCode = "GetUserAttributeVerificationCode" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCode +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCode func (c *CognitoIdentityProvider) GetUserAttributeVerificationCodeRequest(input *GetUserAttributeVerificationCodeInput) (req *request.Request, output *GetUserAttributeVerificationCodeOutput) { op := &request.Operation{ Name: opGetUserAttributeVerificationCode, @@ -6090,7 +6596,7 @@ func (c *CognitoIdentityProvider) GetUserAttributeVerificationCodeRequest(input // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCode +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCode func (c *CognitoIdentityProvider) GetUserAttributeVerificationCode(input *GetUserAttributeVerificationCodeInput) (*GetUserAttributeVerificationCodeOutput, error) { req, out := c.GetUserAttributeVerificationCodeRequest(input) return out, req.Send() @@ -6112,6 +6618,100 @@ func (c *CognitoIdentityProvider) GetUserAttributeVerificationCodeWithContext(ct return out, req.Send() } +const opGetUserPoolMfaConfig = "GetUserPoolMfaConfig" + +// GetUserPoolMfaConfigRequest generates a "aws/request.Request" representing the +// client's request for the GetUserPoolMfaConfig operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetUserPoolMfaConfig for more information on using the GetUserPoolMfaConfig +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetUserPoolMfaConfigRequest method. +// req, resp := client.GetUserPoolMfaConfigRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserPoolMfaConfig +func (c *CognitoIdentityProvider) GetUserPoolMfaConfigRequest(input *GetUserPoolMfaConfigInput) (req *request.Request, output *GetUserPoolMfaConfigOutput) { + op := &request.Operation{ + Name: opGetUserPoolMfaConfig, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetUserPoolMfaConfigInput{} + } + + output = &GetUserPoolMfaConfigOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetUserPoolMfaConfig API operation for Amazon Cognito Identity Provider. +// +// Gets the user pool multi-factor authentication (MFA) configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Cognito Identity Provider's +// API operation GetUserPoolMfaConfig for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidParameterException "InvalidParameterException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// This exception is thrown when the user has made too many requests for a given +// operation. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. +// +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserPoolMfaConfig +func (c *CognitoIdentityProvider) GetUserPoolMfaConfig(input *GetUserPoolMfaConfigInput) (*GetUserPoolMfaConfigOutput, error) { + req, out := c.GetUserPoolMfaConfigRequest(input) + return out, req.Send() +} + +// GetUserPoolMfaConfigWithContext is the same as GetUserPoolMfaConfig with the addition of +// the ability to pass a context and additional request options. +// +// See GetUserPoolMfaConfig for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CognitoIdentityProvider) GetUserPoolMfaConfigWithContext(ctx aws.Context, input *GetUserPoolMfaConfigInput, opts ...request.Option) (*GetUserPoolMfaConfigOutput, error) { + req, out := c.GetUserPoolMfaConfigRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGlobalSignOut = "GlobalSignOut" // GlobalSignOutRequest generates a "aws/request.Request" representing the @@ -6137,7 +6737,7 @@ const opGlobalSignOut = "GlobalSignOut" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOut +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOut func (c *CognitoIdentityProvider) GlobalSignOutRequest(input *GlobalSignOutInput) (req *request.Request, output *GlobalSignOutOutput) { op := &request.Operation{ Name: opGlobalSignOut, @@ -6190,7 +6790,7 @@ func (c *CognitoIdentityProvider) GlobalSignOutRequest(input *GlobalSignOutInput // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOut +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOut func (c *CognitoIdentityProvider) GlobalSignOut(input *GlobalSignOutInput) (*GlobalSignOutOutput, error) { req, out := c.GlobalSignOutRequest(input) return out, req.Send() @@ -6237,7 +6837,7 @@ const opInitiateAuth = "InitiateAuth" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuth +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuth func (c *CognitoIdentityProvider) InitiateAuthRequest(input *InitiateAuthInput) (req *request.Request, output *InitiateAuthOutput) { op := &request.Operation{ Name: opInitiateAuth, @@ -6308,7 +6908,7 @@ func (c *CognitoIdentityProvider) InitiateAuthRequest(input *InitiateAuthInput) // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuth +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuth func (c *CognitoIdentityProvider) InitiateAuth(input *InitiateAuthInput) (*InitiateAuthOutput, error) { req, out := c.InitiateAuthRequest(input) return out, req.Send() @@ -6355,7 +6955,7 @@ const opListDevices = "ListDevices" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevices +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevices func (c *CognitoIdentityProvider) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput) { op := &request.Operation{ Name: opListDevices, @@ -6414,7 +7014,7 @@ func (c *CognitoIdentityProvider) ListDevicesRequest(input *ListDevicesInput) (r // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevices +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevices func (c *CognitoIdentityProvider) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error) { req, out := c.ListDevicesRequest(input) return out, req.Send() @@ -6461,7 +7061,7 @@ const opListGroups = "ListGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroups func (c *CognitoIdentityProvider) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput) { op := &request.Operation{ Name: opListGroups, @@ -6510,7 +7110,7 @@ func (c *CognitoIdentityProvider) ListGroupsRequest(input *ListGroupsInput) (req // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroups func (c *CognitoIdentityProvider) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error) { req, out := c.ListGroupsRequest(input) return out, req.Send() @@ -6557,7 +7157,7 @@ const opListIdentityProviders = "ListIdentityProviders" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProviders +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProviders func (c *CognitoIdentityProvider) ListIdentityProvidersRequest(input *ListIdentityProvidersInput) (req *request.Request, output *ListIdentityProvidersOutput) { op := &request.Operation{ Name: opListIdentityProviders, @@ -6604,7 +7204,7 @@ func (c *CognitoIdentityProvider) ListIdentityProvidersRequest(input *ListIdenti // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProviders +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProviders func (c *CognitoIdentityProvider) ListIdentityProviders(input *ListIdentityProvidersInput) (*ListIdentityProvidersOutput, error) { req, out := c.ListIdentityProvidersRequest(input) return out, req.Send() @@ -6651,7 +7251,7 @@ const opListResourceServers = "ListResourceServers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListResourceServers +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListResourceServers func (c *CognitoIdentityProvider) ListResourceServersRequest(input *ListResourceServersInput) (req *request.Request, output *ListResourceServersOutput) { op := &request.Operation{ Name: opListResourceServers, @@ -6698,7 +7298,7 @@ func (c *CognitoIdentityProvider) ListResourceServersRequest(input *ListResource // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListResourceServers +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListResourceServers func (c *CognitoIdentityProvider) ListResourceServers(input *ListResourceServersInput) (*ListResourceServersOutput, error) { req, out := c.ListResourceServersRequest(input) return out, req.Send() @@ -6745,7 +7345,7 @@ const opListUserImportJobs = "ListUserImportJobs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobs +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobs func (c *CognitoIdentityProvider) ListUserImportJobsRequest(input *ListUserImportJobsInput) (req *request.Request, output *ListUserImportJobsOutput) { op := &request.Operation{ Name: opListUserImportJobs, @@ -6792,7 +7392,7 @@ func (c *CognitoIdentityProvider) ListUserImportJobsRequest(input *ListUserImpor // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobs +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobs func (c *CognitoIdentityProvider) ListUserImportJobs(input *ListUserImportJobsInput) (*ListUserImportJobsOutput, error) { req, out := c.ListUserImportJobsRequest(input) return out, req.Send() @@ -6839,7 +7439,7 @@ const opListUserPoolClients = "ListUserPoolClients" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClients +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClients func (c *CognitoIdentityProvider) ListUserPoolClientsRequest(input *ListUserPoolClientsInput) (req *request.Request, output *ListUserPoolClientsOutput) { op := &request.Operation{ Name: opListUserPoolClients, @@ -6886,7 +7486,7 @@ func (c *CognitoIdentityProvider) ListUserPoolClientsRequest(input *ListUserPool // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClients +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClients func (c *CognitoIdentityProvider) ListUserPoolClients(input *ListUserPoolClientsInput) (*ListUserPoolClientsOutput, error) { req, out := c.ListUserPoolClientsRequest(input) return out, req.Send() @@ -6933,7 +7533,7 @@ const opListUserPools = "ListUserPools" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPools +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPools func (c *CognitoIdentityProvider) ListUserPoolsRequest(input *ListUserPoolsInput) (req *request.Request, output *ListUserPoolsOutput) { op := &request.Operation{ Name: opListUserPools, @@ -6976,7 +7576,7 @@ func (c *CognitoIdentityProvider) ListUserPoolsRequest(input *ListUserPoolsInput // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPools +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPools func (c *CognitoIdentityProvider) ListUserPools(input *ListUserPoolsInput) (*ListUserPoolsOutput, error) { req, out := c.ListUserPoolsRequest(input) return out, req.Send() @@ -7023,7 +7623,7 @@ const opListUsers = "ListUsers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsers +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsers func (c *CognitoIdentityProvider) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) { op := &request.Operation{ Name: opListUsers, @@ -7070,7 +7670,7 @@ func (c *CognitoIdentityProvider) ListUsersRequest(input *ListUsersInput) (req * // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsers +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsers func (c *CognitoIdentityProvider) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) { req, out := c.ListUsersRequest(input) return out, req.Send() @@ -7117,7 +7717,7 @@ const opListUsersInGroup = "ListUsersInGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroup func (c *CognitoIdentityProvider) ListUsersInGroupRequest(input *ListUsersInGroupInput) (req *request.Request, output *ListUsersInGroupOutput) { op := &request.Operation{ Name: opListUsersInGroup, @@ -7166,7 +7766,7 @@ func (c *CognitoIdentityProvider) ListUsersInGroupRequest(input *ListUsersInGrou // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroup func (c *CognitoIdentityProvider) ListUsersInGroup(input *ListUsersInGroupInput) (*ListUsersInGroupOutput, error) { req, out := c.ListUsersInGroupRequest(input) return out, req.Send() @@ -7213,7 +7813,7 @@ const opResendConfirmationCode = "ResendConfirmationCode" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCode +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCode func (c *CognitoIdentityProvider) ResendConfirmationCodeRequest(input *ResendConfirmationCodeInput) (req *request.Request, output *ResendConfirmationCodeOutput) { op := &request.Operation{ Name: opResendConfirmationCode, @@ -7298,7 +7898,7 @@ func (c *CognitoIdentityProvider) ResendConfirmationCodeRequest(input *ResendCon // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCode +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCode func (c *CognitoIdentityProvider) ResendConfirmationCode(input *ResendConfirmationCodeInput) (*ResendConfirmationCodeOutput, error) { req, out := c.ResendConfirmationCodeRequest(input) return out, req.Send() @@ -7345,7 +7945,7 @@ const opRespondToAuthChallenge = "RespondToAuthChallenge" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallenge +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallenge func (c *CognitoIdentityProvider) RespondToAuthChallengeRequest(input *RespondToAuthChallengeInput) (req *request.Request, output *RespondToAuthChallengeOutput) { op := &request.Operation{ Name: opRespondToAuthChallenge, @@ -7447,7 +8047,11 @@ func (c *CognitoIdentityProvider) RespondToAuthChallengeRequest(input *RespondTo // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallenge +// * ErrCodeSoftwareTokenMFANotFoundException "SoftwareTokenMFANotFoundException" +// This exception is thrown when the software token TOTP multi-factor authentication +// (MFA) is not enabled for the user pool. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallenge func (c *CognitoIdentityProvider) RespondToAuthChallenge(input *RespondToAuthChallengeInput) (*RespondToAuthChallengeOutput, error) { req, out := c.RespondToAuthChallengeRequest(input) return out, req.Send() @@ -7469,267 +8073,273 @@ func (c *CognitoIdentityProvider) RespondToAuthChallengeWithContext(ctx aws.Cont return out, req.Send() } -const opSetUICustomization = "SetUICustomization" +const opSetRiskConfiguration = "SetRiskConfiguration" -// SetUICustomizationRequest generates a "aws/request.Request" representing the -// client's request for the SetUICustomization operation. The "output" return +// SetRiskConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the SetRiskConfiguration operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See SetUICustomization for more information on using the SetUICustomization +// See SetRiskConfiguration for more information on using the SetRiskConfiguration // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the SetUICustomizationRequest method. -// req, resp := client.SetUICustomizationRequest(params) +// // Example sending a request using the SetRiskConfigurationRequest method. +// req, resp := client.SetRiskConfigurationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUICustomization -func (c *CognitoIdentityProvider) SetUICustomizationRequest(input *SetUICustomizationInput) (req *request.Request, output *SetUICustomizationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetRiskConfiguration +func (c *CognitoIdentityProvider) SetRiskConfigurationRequest(input *SetRiskConfigurationInput) (req *request.Request, output *SetRiskConfigurationOutput) { op := &request.Operation{ - Name: opSetUICustomization, + Name: opSetRiskConfiguration, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &SetUICustomizationInput{} + input = &SetRiskConfigurationInput{} } - output = &SetUICustomizationOutput{} + output = &SetRiskConfigurationOutput{} req = c.newRequest(op, input, output) return } -// SetUICustomization API operation for Amazon Cognito Identity Provider. +// SetRiskConfiguration API operation for Amazon Cognito Identity Provider. // -// Sets the UI customization information for a user pool's built-in app UI. +// Configures actions on detected risks. To delete the risk configuration for +// UserPoolId or ClientId, pass null values for all four configuration types. // -// You can specify app UI customization settings for a single client (with a -// specific clientId) or for all clients (by setting the clientId to ALL). If -// you specify ALL, the default configuration will be used for every client -// that has no UI customization set previously. If you specify UI customization -// settings for a particular client, it will no longer fall back to the ALL -// configuration. +// To enable Amazon Cognito advanced security features, update the user pool +// to include the UserPoolAddOns keyAdvancedSecurityMode. // -// To use this API, your user pool must have a domain associated with it. Otherwise, -// there is no place to host the app's pages, and the service will throw an -// error. +// See . // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Cognito Identity Provider's -// API operation SetUICustomization for usage and error information. +// API operation SetRiskConfiguration for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameterException" -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. -// // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // This exception is thrown when the Amazon Cognito service cannot find the // requested resource. // -// * ErrCodeNotAuthorizedException "NotAuthorizedException" -// This exception is thrown when a user is not authorized. +// * ErrCodeInvalidParameterException "InvalidParameterException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" // This exception is thrown when the user has made too many requests for a given // operation. // +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// * ErrCodeUserPoolAddOnNotEnabledException "UserPoolAddOnNotEnabledException" +// This exception is thrown when user pool add-ons are not enabled. +// +// * ErrCodeCodeDeliveryFailureException "CodeDeliveryFailureException" +// This exception is thrown when a verification code fails to deliver successfully. +// +// * ErrCodeInvalidEmailRoleAccessPolicyException "InvalidEmailRoleAccessPolicyException" +// This exception is thrown when Amazon Cognito is not allowed to use your email +// identity. HTTP status code: 400. +// // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUICustomization -func (c *CognitoIdentityProvider) SetUICustomization(input *SetUICustomizationInput) (*SetUICustomizationOutput, error) { - req, out := c.SetUICustomizationRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetRiskConfiguration +func (c *CognitoIdentityProvider) SetRiskConfiguration(input *SetRiskConfigurationInput) (*SetRiskConfigurationOutput, error) { + req, out := c.SetRiskConfigurationRequest(input) return out, req.Send() } -// SetUICustomizationWithContext is the same as SetUICustomization with the addition of +// SetRiskConfigurationWithContext is the same as SetRiskConfiguration with the addition of // the ability to pass a context and additional request options. // -// See SetUICustomization for details on how to use this API operation. +// See SetRiskConfiguration for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CognitoIdentityProvider) SetUICustomizationWithContext(ctx aws.Context, input *SetUICustomizationInput, opts ...request.Option) (*SetUICustomizationOutput, error) { - req, out := c.SetUICustomizationRequest(input) +func (c *CognitoIdentityProvider) SetRiskConfigurationWithContext(ctx aws.Context, input *SetRiskConfigurationInput, opts ...request.Option) (*SetRiskConfigurationOutput, error) { + req, out := c.SetRiskConfigurationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opSetUserSettings = "SetUserSettings" +const opSetUICustomization = "SetUICustomization" -// SetUserSettingsRequest generates a "aws/request.Request" representing the -// client's request for the SetUserSettings operation. The "output" return +// SetUICustomizationRequest generates a "aws/request.Request" representing the +// client's request for the SetUICustomization operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See SetUserSettings for more information on using the SetUserSettings +// See SetUICustomization for more information on using the SetUICustomization // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the SetUserSettingsRequest method. -// req, resp := client.SetUserSettingsRequest(params) +// // Example sending a request using the SetUICustomizationRequest method. +// req, resp := client.SetUICustomizationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettings -func (c *CognitoIdentityProvider) SetUserSettingsRequest(input *SetUserSettingsInput) (req *request.Request, output *SetUserSettingsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUICustomization +func (c *CognitoIdentityProvider) SetUICustomizationRequest(input *SetUICustomizationInput) (req *request.Request, output *SetUICustomizationOutput) { op := &request.Operation{ - Name: opSetUserSettings, + Name: opSetUICustomization, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &SetUserSettingsInput{} + input = &SetUICustomizationInput{} } - output = &SetUserSettingsOutput{} + output = &SetUICustomizationOutput{} req = c.newRequest(op, input, output) - req.Config.Credentials = credentials.AnonymousCredentials return } -// SetUserSettings API operation for Amazon Cognito Identity Provider. +// SetUICustomization API operation for Amazon Cognito Identity Provider. // -// Sets the user settings like multi-factor authentication (MFA). If MFA is -// to be removed for a particular attribute pass the attribute with code delivery -// as null. If null list is passed, all MFA options are removed. +// Sets the UI customization information for a user pool's built-in app UI. +// +// You can specify app UI customization settings for a single client (with a +// specific clientId) or for all clients (by setting the clientId to ALL). If +// you specify ALL, the default configuration will be used for every client +// that has no UI customization set previously. If you specify UI customization +// settings for a particular client, it will no longer fall back to the ALL +// configuration. +// +// To use this API, your user pool must have a domain associated with it. Otherwise, +// there is no place to host the app's pages, and the service will throw an +// error. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Cognito Identity Provider's -// API operation SetUserSettings for usage and error information. +// API operation SetUICustomization for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// This exception is thrown when the Amazon Cognito service cannot find the -// requested resource. -// // * ErrCodeInvalidParameterException "InvalidParameterException" // This exception is thrown when the Amazon Cognito service encounters an invalid // parameter. // +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. +// // * ErrCodeNotAuthorizedException "NotAuthorizedException" // This exception is thrown when a user is not authorized. // -// * ErrCodePasswordResetRequiredException "PasswordResetRequiredException" -// This exception is thrown when a password reset is required. -// -// * ErrCodeUserNotFoundException "UserNotFoundException" -// This exception is thrown when a user is not found. -// -// * ErrCodeUserNotConfirmedException "UserNotConfirmedException" -// This exception is thrown when a user is not confirmed successfully. +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// This exception is thrown when the user has made too many requests for a given +// operation. // // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettings -func (c *CognitoIdentityProvider) SetUserSettings(input *SetUserSettingsInput) (*SetUserSettingsOutput, error) { - req, out := c.SetUserSettingsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUICustomization +func (c *CognitoIdentityProvider) SetUICustomization(input *SetUICustomizationInput) (*SetUICustomizationOutput, error) { + req, out := c.SetUICustomizationRequest(input) return out, req.Send() } -// SetUserSettingsWithContext is the same as SetUserSettings with the addition of +// SetUICustomizationWithContext is the same as SetUICustomization with the addition of // the ability to pass a context and additional request options. // -// See SetUserSettings for details on how to use this API operation. +// See SetUICustomization for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CognitoIdentityProvider) SetUserSettingsWithContext(ctx aws.Context, input *SetUserSettingsInput, opts ...request.Option) (*SetUserSettingsOutput, error) { - req, out := c.SetUserSettingsRequest(input) +func (c *CognitoIdentityProvider) SetUICustomizationWithContext(ctx aws.Context, input *SetUICustomizationInput, opts ...request.Option) (*SetUICustomizationOutput, error) { + req, out := c.SetUICustomizationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opSignUp = "SignUp" +const opSetUserMFAPreference = "SetUserMFAPreference" -// SignUpRequest generates a "aws/request.Request" representing the -// client's request for the SignUp operation. The "output" return +// SetUserMFAPreferenceRequest generates a "aws/request.Request" representing the +// client's request for the SetUserMFAPreference operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See SignUp for more information on using the SignUp +// See SetUserMFAPreference for more information on using the SetUserMFAPreference // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the SignUpRequest method. -// req, resp := client.SignUpRequest(params) +// // Example sending a request using the SetUserMFAPreferenceRequest method. +// req, resp := client.SetUserMFAPreferenceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignUp -func (c *CognitoIdentityProvider) SignUpRequest(input *SignUpInput) (req *request.Request, output *SignUpOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserMFAPreference +func (c *CognitoIdentityProvider) SetUserMFAPreferenceRequest(input *SetUserMFAPreferenceInput) (req *request.Request, output *SetUserMFAPreferenceOutput) { op := &request.Operation{ - Name: opSignUp, + Name: opSetUserMFAPreference, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &SignUpInput{} + input = &SetUserMFAPreferenceInput{} } - output = &SignUpOutput{} + output = &SetUserMFAPreferenceOutput{} req = c.newRequest(op, input, output) - req.Config.Credentials = credentials.AnonymousCredentials return } -// SignUp API operation for Amazon Cognito Identity Provider. +// SetUserMFAPreference API operation for Amazon Cognito Identity Provider. // -// Registers the user in the specified user pool and creates a user name, password, -// and user attributes. +// Set the user's multi-factor authentication (MFA) method preference. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Cognito Identity Provider's -// API operation SignUp for usage and error information. +// API operation SetUserMFAPreference for usage and error information. // // Returned Error Codes: // * ErrCodeResourceNotFoundException "ResourceNotFoundException" @@ -7740,133 +8350,97 @@ func (c *CognitoIdentityProvider) SignUpRequest(input *SignUpInput) (req *reques // This exception is thrown when the Amazon Cognito service encounters an invalid // parameter. // -// * ErrCodeUnexpectedLambdaException "UnexpectedLambdaException" -// This exception is thrown when the Amazon Cognito service encounters an unexpected -// exception with the AWS Lambda service. -// -// * ErrCodeUserLambdaValidationException "UserLambdaValidationException" -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the AWS Lambda service. -// // * ErrCodeNotAuthorizedException "NotAuthorizedException" // This exception is thrown when a user is not authorized. // -// * ErrCodeInvalidPasswordException "InvalidPasswordException" -// This exception is thrown when the Amazon Cognito service encounters an invalid -// password. -// -// * ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException" -// This exception is thrown when the Amazon Cognito service encounters an invalid -// AWS Lambda response. +// * ErrCodePasswordResetRequiredException "PasswordResetRequiredException" +// This exception is thrown when a password reset is required. // -// * ErrCodeUsernameExistsException "UsernameExistsException" -// This exception is thrown when Amazon Cognito encounters a user name that -// already exists in the user pool. +// * ErrCodeUserNotFoundException "UserNotFoundException" +// This exception is thrown when a user is not found. // -// * ErrCodeTooManyRequestsException "TooManyRequestsException" -// This exception is thrown when the user has made too many requests for a given -// operation. +// * ErrCodeUserNotConfirmedException "UserNotConfirmedException" +// This exception is thrown when a user is not confirmed successfully. // // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// * ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException" -// This exception is returned when the role provided for SMS configuration does -// not have permission to publish using Amazon SNS. -// -// * ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException" -// This exception is thrown when the trust relationship is invalid for the role -// provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. -// -// * ErrCodeInvalidEmailRoleAccessPolicyException "InvalidEmailRoleAccessPolicyException" -// This exception is thrown when Amazon Cognito is not allowed to use your email -// identity. HTTP status code: 400. -// -// * ErrCodeCodeDeliveryFailureException "CodeDeliveryFailureException" -// This exception is thrown when a verification code fails to deliver successfully. -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignUp -func (c *CognitoIdentityProvider) SignUp(input *SignUpInput) (*SignUpOutput, error) { - req, out := c.SignUpRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserMFAPreference +func (c *CognitoIdentityProvider) SetUserMFAPreference(input *SetUserMFAPreferenceInput) (*SetUserMFAPreferenceOutput, error) { + req, out := c.SetUserMFAPreferenceRequest(input) return out, req.Send() } -// SignUpWithContext is the same as SignUp with the addition of +// SetUserMFAPreferenceWithContext is the same as SetUserMFAPreference with the addition of // the ability to pass a context and additional request options. // -// See SignUp for details on how to use this API operation. +// See SetUserMFAPreference for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CognitoIdentityProvider) SignUpWithContext(ctx aws.Context, input *SignUpInput, opts ...request.Option) (*SignUpOutput, error) { - req, out := c.SignUpRequest(input) +func (c *CognitoIdentityProvider) SetUserMFAPreferenceWithContext(ctx aws.Context, input *SetUserMFAPreferenceInput, opts ...request.Option) (*SetUserMFAPreferenceOutput, error) { + req, out := c.SetUserMFAPreferenceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStartUserImportJob = "StartUserImportJob" +const opSetUserPoolMfaConfig = "SetUserPoolMfaConfig" -// StartUserImportJobRequest generates a "aws/request.Request" representing the -// client's request for the StartUserImportJob operation. The "output" return +// SetUserPoolMfaConfigRequest generates a "aws/request.Request" representing the +// client's request for the SetUserPoolMfaConfig operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StartUserImportJob for more information on using the StartUserImportJob +// See SetUserPoolMfaConfig for more information on using the SetUserPoolMfaConfig // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the StartUserImportJobRequest method. -// req, resp := client.StartUserImportJobRequest(params) +// // Example sending a request using the SetUserPoolMfaConfigRequest method. +// req, resp := client.SetUserPoolMfaConfigRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJob -func (c *CognitoIdentityProvider) StartUserImportJobRequest(input *StartUserImportJobInput) (req *request.Request, output *StartUserImportJobOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserPoolMfaConfig +func (c *CognitoIdentityProvider) SetUserPoolMfaConfigRequest(input *SetUserPoolMfaConfigInput) (req *request.Request, output *SetUserPoolMfaConfigOutput) { op := &request.Operation{ - Name: opStartUserImportJob, + Name: opSetUserPoolMfaConfig, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &StartUserImportJobInput{} + input = &SetUserPoolMfaConfigInput{} } - output = &StartUserImportJobOutput{} + output = &SetUserPoolMfaConfigOutput{} req = c.newRequest(op, input, output) return } -// StartUserImportJob API operation for Amazon Cognito Identity Provider. +// SetUserPoolMfaConfig API operation for Amazon Cognito Identity Provider. // -// Starts the user import. +// Set the user pool MFA configuration. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Cognito Identity Provider's -// API operation StartUserImportJob for usage and error information. +// API operation SetUserPoolMfaConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// This exception is thrown when the Amazon Cognito service cannot find the -// requested resource. -// // * ErrCodeInvalidParameterException "InvalidParameterException" // This exception is thrown when the Amazon Cognito service encounters an invalid // parameter. @@ -7875,89 +8449,103 @@ func (c *CognitoIdentityProvider) StartUserImportJobRequest(input *StartUserImpo // This exception is thrown when the user has made too many requests for a given // operation. // -// * ErrCodeInternalErrorException "InternalErrorException" -// This exception is thrown when Amazon Cognito encounters an internal error. +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. // -// * ErrCodePreconditionNotMetException "PreconditionNotMetException" -// This exception is thrown when a precondition is not met. +// * ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException" +// This exception is returned when the role provided for SMS configuration does +// not have permission to publish using Amazon SNS. +// +// * ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException" +// This exception is thrown when the trust relationship is invalid for the role +// provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // // * ErrCodeNotAuthorizedException "NotAuthorizedException" // This exception is thrown when a user is not authorized. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJob -func (c *CognitoIdentityProvider) StartUserImportJob(input *StartUserImportJobInput) (*StartUserImportJobOutput, error) { - req, out := c.StartUserImportJobRequest(input) +// * ErrCodeInternalErrorException "InternalErrorException" +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserPoolMfaConfig +func (c *CognitoIdentityProvider) SetUserPoolMfaConfig(input *SetUserPoolMfaConfigInput) (*SetUserPoolMfaConfigOutput, error) { + req, out := c.SetUserPoolMfaConfigRequest(input) return out, req.Send() } -// StartUserImportJobWithContext is the same as StartUserImportJob with the addition of +// SetUserPoolMfaConfigWithContext is the same as SetUserPoolMfaConfig with the addition of // the ability to pass a context and additional request options. // -// See StartUserImportJob for details on how to use this API operation. +// See SetUserPoolMfaConfig for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CognitoIdentityProvider) StartUserImportJobWithContext(ctx aws.Context, input *StartUserImportJobInput, opts ...request.Option) (*StartUserImportJobOutput, error) { - req, out := c.StartUserImportJobRequest(input) +func (c *CognitoIdentityProvider) SetUserPoolMfaConfigWithContext(ctx aws.Context, input *SetUserPoolMfaConfigInput, opts ...request.Option) (*SetUserPoolMfaConfigOutput, error) { + req, out := c.SetUserPoolMfaConfigRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStopUserImportJob = "StopUserImportJob" +const opSetUserSettings = "SetUserSettings" -// StopUserImportJobRequest generates a "aws/request.Request" representing the -// client's request for the StopUserImportJob operation. The "output" return +// SetUserSettingsRequest generates a "aws/request.Request" representing the +// client's request for the SetUserSettings operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StopUserImportJob for more information on using the StopUserImportJob +// See SetUserSettings for more information on using the SetUserSettings // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the StopUserImportJobRequest method. -// req, resp := client.StopUserImportJobRequest(params) +// // Example sending a request using the SetUserSettingsRequest method. +// req, resp := client.SetUserSettingsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJob -func (c *CognitoIdentityProvider) StopUserImportJobRequest(input *StopUserImportJobInput) (req *request.Request, output *StopUserImportJobOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettings +func (c *CognitoIdentityProvider) SetUserSettingsRequest(input *SetUserSettingsInput) (req *request.Request, output *SetUserSettingsOutput) { op := &request.Operation{ - Name: opStopUserImportJob, + Name: opSetUserSettings, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &StopUserImportJobInput{} + input = &SetUserSettingsInput{} } - output = &StopUserImportJobOutput{} + output = &SetUserSettingsOutput{} req = c.newRequest(op, input, output) + req.Config.Credentials = credentials.AnonymousCredentials return } -// StopUserImportJob API operation for Amazon Cognito Identity Provider. +// SetUserSettings API operation for Amazon Cognito Identity Provider. // -// Stops the user import job. +// Sets the user settings like multi-factor authentication (MFA). If MFA is +// to be removed for a particular attribute pass the attribute with code delivery +// as null. If null list is passed, all MFA options are removed. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Cognito Identity Provider's -// API operation StopUserImportJob for usage and error information. +// API operation SetUserSettings for usage and error information. // // Returned Error Codes: // * ErrCodeResourceNotFoundException "ResourceNotFoundException" @@ -7968,201 +8556,228 @@ func (c *CognitoIdentityProvider) StopUserImportJobRequest(input *StopUserImport // This exception is thrown when the Amazon Cognito service encounters an invalid // parameter. // -// * ErrCodeTooManyRequestsException "TooManyRequestsException" -// This exception is thrown when the user has made too many requests for a given -// operation. -// -// * ErrCodeInternalErrorException "InternalErrorException" -// This exception is thrown when Amazon Cognito encounters an internal error. -// -// * ErrCodePreconditionNotMetException "PreconditionNotMetException" -// This exception is thrown when a precondition is not met. -// // * ErrCodeNotAuthorizedException "NotAuthorizedException" // This exception is thrown when a user is not authorized. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJob -func (c *CognitoIdentityProvider) StopUserImportJob(input *StopUserImportJobInput) (*StopUserImportJobOutput, error) { - req, out := c.StopUserImportJobRequest(input) - return out, req.Send() -} - -// StopUserImportJobWithContext is the same as StopUserImportJob with the addition of -// the ability to pass a context and additional request options. -// -// See StopUserImportJob for details on how to use this API operation. +// * ErrCodePasswordResetRequiredException "PasswordResetRequiredException" +// This exception is thrown when a password reset is required. +// +// * ErrCodeUserNotFoundException "UserNotFoundException" +// This exception is thrown when a user is not found. +// +// * ErrCodeUserNotConfirmedException "UserNotConfirmedException" +// This exception is thrown when a user is not confirmed successfully. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettings +func (c *CognitoIdentityProvider) SetUserSettings(input *SetUserSettingsInput) (*SetUserSettingsOutput, error) { + req, out := c.SetUserSettingsRequest(input) + return out, req.Send() +} + +// SetUserSettingsWithContext is the same as SetUserSettings with the addition of +// the ability to pass a context and additional request options. +// +// See SetUserSettings for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CognitoIdentityProvider) StopUserImportJobWithContext(ctx aws.Context, input *StopUserImportJobInput, opts ...request.Option) (*StopUserImportJobOutput, error) { - req, out := c.StopUserImportJobRequest(input) +func (c *CognitoIdentityProvider) SetUserSettingsWithContext(ctx aws.Context, input *SetUserSettingsInput, opts ...request.Option) (*SetUserSettingsOutput, error) { + req, out := c.SetUserSettingsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateDeviceStatus = "UpdateDeviceStatus" +const opSignUp = "SignUp" -// UpdateDeviceStatusRequest generates a "aws/request.Request" representing the -// client's request for the UpdateDeviceStatus operation. The "output" return +// SignUpRequest generates a "aws/request.Request" representing the +// client's request for the SignUp operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateDeviceStatus for more information on using the UpdateDeviceStatus +// See SignUp for more information on using the SignUp // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateDeviceStatusRequest method. -// req, resp := client.UpdateDeviceStatusRequest(params) +// // Example sending a request using the SignUpRequest method. +// req, resp := client.SignUpRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatus -func (c *CognitoIdentityProvider) UpdateDeviceStatusRequest(input *UpdateDeviceStatusInput) (req *request.Request, output *UpdateDeviceStatusOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignUp +func (c *CognitoIdentityProvider) SignUpRequest(input *SignUpInput) (req *request.Request, output *SignUpOutput) { op := &request.Operation{ - Name: opUpdateDeviceStatus, + Name: opSignUp, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UpdateDeviceStatusInput{} + input = &SignUpInput{} } - output = &UpdateDeviceStatusOutput{} + output = &SignUpOutput{} req = c.newRequest(op, input, output) + req.Config.Credentials = credentials.AnonymousCredentials return } -// UpdateDeviceStatus API operation for Amazon Cognito Identity Provider. +// SignUp API operation for Amazon Cognito Identity Provider. // -// Updates the device status. +// Registers the user in the specified user pool and creates a user name, password, +// and user attributes. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Cognito Identity Provider's -// API operation UpdateDeviceStatus for usage and error information. +// API operation SignUp for usage and error information. // // Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. +// // * ErrCodeInvalidParameterException "InvalidParameterException" // This exception is thrown when the Amazon Cognito service encounters an invalid // parameter. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// This exception is thrown when the Amazon Cognito service cannot find the -// requested resource. +// * ErrCodeUnexpectedLambdaException "UnexpectedLambdaException" +// This exception is thrown when the Amazon Cognito service encounters an unexpected +// exception with the AWS Lambda service. +// +// * ErrCodeUserLambdaValidationException "UserLambdaValidationException" +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the AWS Lambda service. // // * ErrCodeNotAuthorizedException "NotAuthorizedException" // This exception is thrown when a user is not authorized. // -// * ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException" -// This exception is thrown when the user pool configuration is invalid. +// * ErrCodeInvalidPasswordException "InvalidPasswordException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// password. +// +// * ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// AWS Lambda response. +// +// * ErrCodeUsernameExistsException "UsernameExistsException" +// This exception is thrown when Amazon Cognito encounters a user name that +// already exists in the user pool. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" // This exception is thrown when the user has made too many requests for a given // operation. // -// * ErrCodePasswordResetRequiredException "PasswordResetRequiredException" -// This exception is thrown when a password reset is required. +// * ErrCodeInternalErrorException "InternalErrorException" +// This exception is thrown when Amazon Cognito encounters an internal error. // -// * ErrCodeUserNotFoundException "UserNotFoundException" -// This exception is thrown when a user is not found. +// * ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException" +// This exception is returned when the role provided for SMS configuration does +// not have permission to publish using Amazon SNS. // -// * ErrCodeUserNotConfirmedException "UserNotConfirmedException" -// This exception is thrown when a user is not confirmed successfully. +// * ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException" +// This exception is thrown when the trust relationship is invalid for the role +// provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // -// * ErrCodeInternalErrorException "InternalErrorException" -// This exception is thrown when Amazon Cognito encounters an internal error. +// * ErrCodeInvalidEmailRoleAccessPolicyException "InvalidEmailRoleAccessPolicyException" +// This exception is thrown when Amazon Cognito is not allowed to use your email +// identity. HTTP status code: 400. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatus -func (c *CognitoIdentityProvider) UpdateDeviceStatus(input *UpdateDeviceStatusInput) (*UpdateDeviceStatusOutput, error) { - req, out := c.UpdateDeviceStatusRequest(input) +// * ErrCodeCodeDeliveryFailureException "CodeDeliveryFailureException" +// This exception is thrown when a verification code fails to deliver successfully. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignUp +func (c *CognitoIdentityProvider) SignUp(input *SignUpInput) (*SignUpOutput, error) { + req, out := c.SignUpRequest(input) return out, req.Send() } -// UpdateDeviceStatusWithContext is the same as UpdateDeviceStatus with the addition of +// SignUpWithContext is the same as SignUp with the addition of // the ability to pass a context and additional request options. // -// See UpdateDeviceStatus for details on how to use this API operation. +// See SignUp for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CognitoIdentityProvider) UpdateDeviceStatusWithContext(ctx aws.Context, input *UpdateDeviceStatusInput, opts ...request.Option) (*UpdateDeviceStatusOutput, error) { - req, out := c.UpdateDeviceStatusRequest(input) +func (c *CognitoIdentityProvider) SignUpWithContext(ctx aws.Context, input *SignUpInput, opts ...request.Option) (*SignUpOutput, error) { + req, out := c.SignUpRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateGroup = "UpdateGroup" +const opStartUserImportJob = "StartUserImportJob" -// UpdateGroupRequest generates a "aws/request.Request" representing the -// client's request for the UpdateGroup operation. The "output" return +// StartUserImportJobRequest generates a "aws/request.Request" representing the +// client's request for the StartUserImportJob operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateGroup for more information on using the UpdateGroup +// See StartUserImportJob for more information on using the StartUserImportJob // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateGroupRequest method. -// req, resp := client.UpdateGroupRequest(params) +// // Example sending a request using the StartUserImportJobRequest method. +// req, resp := client.StartUserImportJobRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroup -func (c *CognitoIdentityProvider) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJob +func (c *CognitoIdentityProvider) StartUserImportJobRequest(input *StartUserImportJobInput) (req *request.Request, output *StartUserImportJobOutput) { op := &request.Operation{ - Name: opUpdateGroup, + Name: opStartUserImportJob, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UpdateGroupInput{} + input = &StartUserImportJobInput{} } - output = &UpdateGroupOutput{} + output = &StartUserImportJobOutput{} req = c.newRequest(op, input, output) return } -// UpdateGroup API operation for Amazon Cognito Identity Provider. -// -// Updates the specified group with the specified attributes. +// StartUserImportJob API operation for Amazon Cognito Identity Provider. // -// Requires developer credentials. +// Starts the user import. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Cognito Identity Provider's -// API operation UpdateGroup for usage and error information. +// API operation StartUserImportJob for usage and error information. // // Returned Error Codes: // * ErrCodeResourceNotFoundException "ResourceNotFoundException" @@ -8177,101 +8792,98 @@ func (c *CognitoIdentityProvider) UpdateGroupRequest(input *UpdateGroupInput) (r // This exception is thrown when the user has made too many requests for a given // operation. // -// * ErrCodeNotAuthorizedException "NotAuthorizedException" -// This exception is thrown when a user is not authorized. -// // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroup -func (c *CognitoIdentityProvider) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error) { - req, out := c.UpdateGroupRequest(input) +// * ErrCodePreconditionNotMetException "PreconditionNotMetException" +// This exception is thrown when a precondition is not met. +// +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJob +func (c *CognitoIdentityProvider) StartUserImportJob(input *StartUserImportJobInput) (*StartUserImportJobOutput, error) { + req, out := c.StartUserImportJobRequest(input) return out, req.Send() } -// UpdateGroupWithContext is the same as UpdateGroup with the addition of +// StartUserImportJobWithContext is the same as StartUserImportJob with the addition of // the ability to pass a context and additional request options. // -// See UpdateGroup for details on how to use this API operation. +// See StartUserImportJob for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CognitoIdentityProvider) UpdateGroupWithContext(ctx aws.Context, input *UpdateGroupInput, opts ...request.Option) (*UpdateGroupOutput, error) { - req, out := c.UpdateGroupRequest(input) +func (c *CognitoIdentityProvider) StartUserImportJobWithContext(ctx aws.Context, input *StartUserImportJobInput, opts ...request.Option) (*StartUserImportJobOutput, error) { + req, out := c.StartUserImportJobRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateIdentityProvider = "UpdateIdentityProvider" +const opStopUserImportJob = "StopUserImportJob" -// UpdateIdentityProviderRequest generates a "aws/request.Request" representing the -// client's request for the UpdateIdentityProvider operation. The "output" return +// StopUserImportJobRequest generates a "aws/request.Request" representing the +// client's request for the StopUserImportJob operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateIdentityProvider for more information on using the UpdateIdentityProvider +// See StopUserImportJob for more information on using the StopUserImportJob // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateIdentityProviderRequest method. -// req, resp := client.UpdateIdentityProviderRequest(params) +// // Example sending a request using the StopUserImportJobRequest method. +// req, resp := client.StopUserImportJobRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProvider -func (c *CognitoIdentityProvider) UpdateIdentityProviderRequest(input *UpdateIdentityProviderInput) (req *request.Request, output *UpdateIdentityProviderOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJob +func (c *CognitoIdentityProvider) StopUserImportJobRequest(input *StopUserImportJobInput) (req *request.Request, output *StopUserImportJobOutput) { op := &request.Operation{ - Name: opUpdateIdentityProvider, + Name: opStopUserImportJob, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UpdateIdentityProviderInput{} + input = &StopUserImportJobInput{} } - output = &UpdateIdentityProviderOutput{} + output = &StopUserImportJobOutput{} req = c.newRequest(op, input, output) return } -// UpdateIdentityProvider API operation for Amazon Cognito Identity Provider. +// StopUserImportJob API operation for Amazon Cognito Identity Provider. // -// Updates identity provider information for a user pool. +// Stops the user import job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Cognito Identity Provider's -// API operation UpdateIdentityProvider for usage and error information. +// API operation StopUserImportJob for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameterException" -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. -// -// * ErrCodeUnsupportedIdentityProviderException "UnsupportedIdentityProviderException" -// This exception is thrown when the specified identifier is not supported. -// // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // This exception is thrown when the Amazon Cognito service cannot find the // requested resource. // -// * ErrCodeNotAuthorizedException "NotAuthorizedException" -// This exception is thrown when a user is not authorized. +// * ErrCodeInvalidParameterException "InvalidParameterException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" // This exception is thrown when the user has made too many requests for a given @@ -8280,80 +8892,88 @@ func (c *CognitoIdentityProvider) UpdateIdentityProviderRequest(input *UpdateIde // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProvider -func (c *CognitoIdentityProvider) UpdateIdentityProvider(input *UpdateIdentityProviderInput) (*UpdateIdentityProviderOutput, error) { - req, out := c.UpdateIdentityProviderRequest(input) +// * ErrCodePreconditionNotMetException "PreconditionNotMetException" +// This exception is thrown when a precondition is not met. +// +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJob +func (c *CognitoIdentityProvider) StopUserImportJob(input *StopUserImportJobInput) (*StopUserImportJobOutput, error) { + req, out := c.StopUserImportJobRequest(input) return out, req.Send() } -// UpdateIdentityProviderWithContext is the same as UpdateIdentityProvider with the addition of +// StopUserImportJobWithContext is the same as StopUserImportJob with the addition of // the ability to pass a context and additional request options. // -// See UpdateIdentityProvider for details on how to use this API operation. +// See StopUserImportJob for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CognitoIdentityProvider) UpdateIdentityProviderWithContext(ctx aws.Context, input *UpdateIdentityProviderInput, opts ...request.Option) (*UpdateIdentityProviderOutput, error) { - req, out := c.UpdateIdentityProviderRequest(input) +func (c *CognitoIdentityProvider) StopUserImportJobWithContext(ctx aws.Context, input *StopUserImportJobInput, opts ...request.Option) (*StopUserImportJobOutput, error) { + req, out := c.StopUserImportJobRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateResourceServer = "UpdateResourceServer" +const opUpdateAuthEventFeedback = "UpdateAuthEventFeedback" -// UpdateResourceServerRequest generates a "aws/request.Request" representing the -// client's request for the UpdateResourceServer operation. The "output" return +// UpdateAuthEventFeedbackRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAuthEventFeedback operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateResourceServer for more information on using the UpdateResourceServer +// See UpdateAuthEventFeedback for more information on using the UpdateAuthEventFeedback // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateResourceServerRequest method. -// req, resp := client.UpdateResourceServerRequest(params) +// // Example sending a request using the UpdateAuthEventFeedbackRequest method. +// req, resp := client.UpdateAuthEventFeedbackRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateResourceServer -func (c *CognitoIdentityProvider) UpdateResourceServerRequest(input *UpdateResourceServerInput) (req *request.Request, output *UpdateResourceServerOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateAuthEventFeedback +func (c *CognitoIdentityProvider) UpdateAuthEventFeedbackRequest(input *UpdateAuthEventFeedbackInput) (req *request.Request, output *UpdateAuthEventFeedbackOutput) { op := &request.Operation{ - Name: opUpdateResourceServer, + Name: opUpdateAuthEventFeedback, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UpdateResourceServerInput{} + input = &UpdateAuthEventFeedbackInput{} } - output = &UpdateResourceServerOutput{} + output = &UpdateAuthEventFeedbackOutput{} req = c.newRequest(op, input, output) return } -// UpdateResourceServer API operation for Amazon Cognito Identity Provider. +// UpdateAuthEventFeedback API operation for Amazon Cognito Identity Provider. // -// Updates the name and scopes of resource server. All other fields are read-only. +// Provides the feedback for an authentication event whether it was from a valid +// user or not. This feedback is used for improving the risk evaluation decision +// for the user pool as part of Amazon Cognito advanced security. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Cognito Identity Provider's -// API operation UpdateResourceServer for usage and error information. +// API operation UpdateAuthEventFeedback for usage and error information. // // Returned Error Codes: // * ErrCodeInvalidParameterException "InvalidParameterException" @@ -8364,150 +8984,116 @@ func (c *CognitoIdentityProvider) UpdateResourceServerRequest(input *UpdateResou // This exception is thrown when the Amazon Cognito service cannot find the // requested resource. // -// * ErrCodeNotAuthorizedException "NotAuthorizedException" -// This exception is thrown when a user is not authorized. -// // * ErrCodeTooManyRequestsException "TooManyRequestsException" // This exception is thrown when the user has made too many requests for a given // operation. // +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// * ErrCodeUserNotFoundException "UserNotFoundException" +// This exception is thrown when a user is not found. +// +// * ErrCodeUserPoolAddOnNotEnabledException "UserPoolAddOnNotEnabledException" +// This exception is thrown when user pool add-ons are not enabled. +// // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateResourceServer -func (c *CognitoIdentityProvider) UpdateResourceServer(input *UpdateResourceServerInput) (*UpdateResourceServerOutput, error) { - req, out := c.UpdateResourceServerRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateAuthEventFeedback +func (c *CognitoIdentityProvider) UpdateAuthEventFeedback(input *UpdateAuthEventFeedbackInput) (*UpdateAuthEventFeedbackOutput, error) { + req, out := c.UpdateAuthEventFeedbackRequest(input) return out, req.Send() } -// UpdateResourceServerWithContext is the same as UpdateResourceServer with the addition of +// UpdateAuthEventFeedbackWithContext is the same as UpdateAuthEventFeedback with the addition of // the ability to pass a context and additional request options. // -// See UpdateResourceServer for details on how to use this API operation. +// See UpdateAuthEventFeedback for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CognitoIdentityProvider) UpdateResourceServerWithContext(ctx aws.Context, input *UpdateResourceServerInput, opts ...request.Option) (*UpdateResourceServerOutput, error) { - req, out := c.UpdateResourceServerRequest(input) +func (c *CognitoIdentityProvider) UpdateAuthEventFeedbackWithContext(ctx aws.Context, input *UpdateAuthEventFeedbackInput, opts ...request.Option) (*UpdateAuthEventFeedbackOutput, error) { + req, out := c.UpdateAuthEventFeedbackRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateUserAttributes = "UpdateUserAttributes" +const opUpdateDeviceStatus = "UpdateDeviceStatus" -// UpdateUserAttributesRequest generates a "aws/request.Request" representing the -// client's request for the UpdateUserAttributes operation. The "output" return +// UpdateDeviceStatusRequest generates a "aws/request.Request" representing the +// client's request for the UpdateDeviceStatus operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateUserAttributes for more information on using the UpdateUserAttributes +// See UpdateDeviceStatus for more information on using the UpdateDeviceStatus // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateUserAttributesRequest method. -// req, resp := client.UpdateUserAttributesRequest(params) +// // Example sending a request using the UpdateDeviceStatusRequest method. +// req, resp := client.UpdateDeviceStatusRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributes -func (c *CognitoIdentityProvider) UpdateUserAttributesRequest(input *UpdateUserAttributesInput) (req *request.Request, output *UpdateUserAttributesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatus +func (c *CognitoIdentityProvider) UpdateDeviceStatusRequest(input *UpdateDeviceStatusInput) (req *request.Request, output *UpdateDeviceStatusOutput) { op := &request.Operation{ - Name: opUpdateUserAttributes, + Name: opUpdateDeviceStatus, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UpdateUserAttributesInput{} + input = &UpdateDeviceStatusInput{} } - output = &UpdateUserAttributesOutput{} + output = &UpdateDeviceStatusOutput{} req = c.newRequest(op, input, output) - req.Config.Credentials = credentials.AnonymousCredentials return } -// UpdateUserAttributes API operation for Amazon Cognito Identity Provider. +// UpdateDeviceStatus API operation for Amazon Cognito Identity Provider. // -// Allows a user to update a specific attribute (one at a time). +// Updates the device status. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Cognito Identity Provider's -// API operation UpdateUserAttributes for usage and error information. +// API operation UpdateDeviceStatus for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// This exception is thrown when the Amazon Cognito service cannot find the -// requested resource. -// // * ErrCodeInvalidParameterException "InvalidParameterException" // This exception is thrown when the Amazon Cognito service encounters an invalid // parameter. // -// * ErrCodeCodeMismatchException "CodeMismatchException" -// This exception is thrown if the provided code does not match what the server -// was expecting. -// -// * ErrCodeExpiredCodeException "ExpiredCodeException" -// This exception is thrown if a code has expired. +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. // // * ErrCodeNotAuthorizedException "NotAuthorizedException" // This exception is thrown when a user is not authorized. // -// * ErrCodeUnexpectedLambdaException "UnexpectedLambdaException" -// This exception is thrown when the Amazon Cognito service encounters an unexpected -// exception with the AWS Lambda service. -// -// * ErrCodeUserLambdaValidationException "UserLambdaValidationException" -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the AWS Lambda service. -// -// * ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException" -// This exception is thrown when the Amazon Cognito service encounters an invalid -// AWS Lambda response. +// * ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException" +// This exception is thrown when the user pool configuration is invalid. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" // This exception is thrown when the user has made too many requests for a given // operation. // -// * ErrCodeAliasExistsException "AliasExistsException" -// This exception is thrown when a user tries to confirm the account with an -// email or phone number that has already been supplied as an alias from a different -// account. This exception tells user that an account with this email or phone -// already exists. -// -// * ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException" -// This exception is returned when the role provided for SMS configuration does -// not have permission to publish using Amazon SNS. -// -// * ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException" -// This exception is thrown when the trust relationship is invalid for the role -// provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. -// -// * ErrCodeInvalidEmailRoleAccessPolicyException "InvalidEmailRoleAccessPolicyException" -// This exception is thrown when Amazon Cognito is not allowed to use your email -// identity. HTTP status code: 400. -// -// * ErrCodeCodeDeliveryFailureException "CodeDeliveryFailureException" -// This exception is thrown when a verification code fails to deliver successfully. -// // * ErrCodePasswordResetRequiredException "PasswordResetRequiredException" // This exception is thrown when a password reset is required. // @@ -8520,80 +9106,82 @@ func (c *CognitoIdentityProvider) UpdateUserAttributesRequest(input *UpdateUserA // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributes -func (c *CognitoIdentityProvider) UpdateUserAttributes(input *UpdateUserAttributesInput) (*UpdateUserAttributesOutput, error) { - req, out := c.UpdateUserAttributesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatus +func (c *CognitoIdentityProvider) UpdateDeviceStatus(input *UpdateDeviceStatusInput) (*UpdateDeviceStatusOutput, error) { + req, out := c.UpdateDeviceStatusRequest(input) return out, req.Send() } -// UpdateUserAttributesWithContext is the same as UpdateUserAttributes with the addition of +// UpdateDeviceStatusWithContext is the same as UpdateDeviceStatus with the addition of // the ability to pass a context and additional request options. // -// See UpdateUserAttributes for details on how to use this API operation. +// See UpdateDeviceStatus for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CognitoIdentityProvider) UpdateUserAttributesWithContext(ctx aws.Context, input *UpdateUserAttributesInput, opts ...request.Option) (*UpdateUserAttributesOutput, error) { - req, out := c.UpdateUserAttributesRequest(input) +func (c *CognitoIdentityProvider) UpdateDeviceStatusWithContext(ctx aws.Context, input *UpdateDeviceStatusInput, opts ...request.Option) (*UpdateDeviceStatusOutput, error) { + req, out := c.UpdateDeviceStatusRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateUserPool = "UpdateUserPool" +const opUpdateGroup = "UpdateGroup" -// UpdateUserPoolRequest generates a "aws/request.Request" representing the -// client's request for the UpdateUserPool operation. The "output" return +// UpdateGroupRequest generates a "aws/request.Request" representing the +// client's request for the UpdateGroup operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateUserPool for more information on using the UpdateUserPool +// See UpdateGroup for more information on using the UpdateGroup // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateUserPoolRequest method. -// req, resp := client.UpdateUserPoolRequest(params) +// // Example sending a request using the UpdateGroupRequest method. +// req, resp := client.UpdateGroupRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPool -func (c *CognitoIdentityProvider) UpdateUserPoolRequest(input *UpdateUserPoolInput) (req *request.Request, output *UpdateUserPoolOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroup +func (c *CognitoIdentityProvider) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput) { op := &request.Operation{ - Name: opUpdateUserPool, + Name: opUpdateGroup, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UpdateUserPoolInput{} + input = &UpdateGroupInput{} } - output = &UpdateUserPoolOutput{} + output = &UpdateGroupOutput{} req = c.newRequest(op, input, output) return } -// UpdateUserPool API operation for Amazon Cognito Identity Provider. +// UpdateGroup API operation for Amazon Cognito Identity Provider. // -// Updates the specified user pool with the specified attributes. +// Updates the specified group with the specified attributes. +// +// Requires developer credentials. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Cognito Identity Provider's -// API operation UpdateUserPool for usage and error information. +// API operation UpdateGroup for usage and error information. // // Returned Error Codes: // * ErrCodeResourceNotFoundException "ResourceNotFoundException" @@ -8604,9 +9192,6 @@ func (c *CognitoIdentityProvider) UpdateUserPoolRequest(input *UpdateUserPoolInp // This exception is thrown when the Amazon Cognito service encounters an invalid // parameter. // -// * ErrCodeConcurrentModificationException "ConcurrentModificationException" -// This exception is thrown if two or more modifications are happening concurrently. -// // * ErrCodeTooManyRequestsException "TooManyRequestsException" // This exception is thrown when the user has made too many requests for a given // operation. @@ -8614,222 +9199,189 @@ func (c *CognitoIdentityProvider) UpdateUserPoolRequest(input *UpdateUserPoolInp // * ErrCodeNotAuthorizedException "NotAuthorizedException" // This exception is thrown when a user is not authorized. // -// * ErrCodeUserImportInProgressException "UserImportInProgressException" -// This exception is thrown when you are trying to modify a user pool while -// a user import job is in progress for that pool. -// // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// * ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException" -// This exception is returned when the role provided for SMS configuration does -// not have permission to publish using Amazon SNS. -// -// * ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException" -// This exception is thrown when the trust relationship is invalid for the role -// provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. -// -// * ErrCodeUserPoolTaggingException "UserPoolTaggingException" -// This exception is thrown when a user pool tag cannot be set or updated. -// -// * ErrCodeInvalidEmailRoleAccessPolicyException "InvalidEmailRoleAccessPolicyException" -// This exception is thrown when Amazon Cognito is not allowed to use your email -// identity. HTTP status code: 400. -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPool -func (c *CognitoIdentityProvider) UpdateUserPool(input *UpdateUserPoolInput) (*UpdateUserPoolOutput, error) { - req, out := c.UpdateUserPoolRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroup +func (c *CognitoIdentityProvider) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error) { + req, out := c.UpdateGroupRequest(input) return out, req.Send() } -// UpdateUserPoolWithContext is the same as UpdateUserPool with the addition of +// UpdateGroupWithContext is the same as UpdateGroup with the addition of // the ability to pass a context and additional request options. // -// See UpdateUserPool for details on how to use this API operation. +// See UpdateGroup for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CognitoIdentityProvider) UpdateUserPoolWithContext(ctx aws.Context, input *UpdateUserPoolInput, opts ...request.Option) (*UpdateUserPoolOutput, error) { - req, out := c.UpdateUserPoolRequest(input) +func (c *CognitoIdentityProvider) UpdateGroupWithContext(ctx aws.Context, input *UpdateGroupInput, opts ...request.Option) (*UpdateGroupOutput, error) { + req, out := c.UpdateGroupRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateUserPoolClient = "UpdateUserPoolClient" +const opUpdateIdentityProvider = "UpdateIdentityProvider" -// UpdateUserPoolClientRequest generates a "aws/request.Request" representing the -// client's request for the UpdateUserPoolClient operation. The "output" return +// UpdateIdentityProviderRequest generates a "aws/request.Request" representing the +// client's request for the UpdateIdentityProvider operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateUserPoolClient for more information on using the UpdateUserPoolClient +// See UpdateIdentityProvider for more information on using the UpdateIdentityProvider // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateUserPoolClientRequest method. -// req, resp := client.UpdateUserPoolClientRequest(params) +// // Example sending a request using the UpdateIdentityProviderRequest method. +// req, resp := client.UpdateIdentityProviderRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClient -func (c *CognitoIdentityProvider) UpdateUserPoolClientRequest(input *UpdateUserPoolClientInput) (req *request.Request, output *UpdateUserPoolClientOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProvider +func (c *CognitoIdentityProvider) UpdateIdentityProviderRequest(input *UpdateIdentityProviderInput) (req *request.Request, output *UpdateIdentityProviderOutput) { op := &request.Operation{ - Name: opUpdateUserPoolClient, + Name: opUpdateIdentityProvider, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UpdateUserPoolClientInput{} + input = &UpdateIdentityProviderInput{} } - output = &UpdateUserPoolClientOutput{} + output = &UpdateIdentityProviderOutput{} req = c.newRequest(op, input, output) return } -// UpdateUserPoolClient API operation for Amazon Cognito Identity Provider. +// UpdateIdentityProvider API operation for Amazon Cognito Identity Provider. // -// Allows the developer to update the specified user pool client and password -// policy. +// Updates identity provider information for a user pool. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Cognito Identity Provider's -// API operation UpdateUserPoolClient for usage and error information. +// API operation UpdateIdentityProvider for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// This exception is thrown when the Amazon Cognito service cannot find the -// requested resource. -// // * ErrCodeInvalidParameterException "InvalidParameterException" // This exception is thrown when the Amazon Cognito service encounters an invalid // parameter. // -// * ErrCodeTooManyRequestsException "TooManyRequestsException" -// This exception is thrown when the user has made too many requests for a given -// operation. +// * ErrCodeUnsupportedIdentityProviderException "UnsupportedIdentityProviderException" +// This exception is thrown when the specified identifier is not supported. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. // // * ErrCodeNotAuthorizedException "NotAuthorizedException" // This exception is thrown when a user is not authorized. // -// * ErrCodeScopeDoesNotExistException "ScopeDoesNotExistException" -// This exception is thrown when the specified scope does not exist. -// -// * ErrCodeInvalidOAuthFlowException "InvalidOAuthFlowException" -// This exception is thrown when the specified OAuth flow is invalid. +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// This exception is thrown when the user has made too many requests for a given +// operation. // // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClient -func (c *CognitoIdentityProvider) UpdateUserPoolClient(input *UpdateUserPoolClientInput) (*UpdateUserPoolClientOutput, error) { - req, out := c.UpdateUserPoolClientRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProvider +func (c *CognitoIdentityProvider) UpdateIdentityProvider(input *UpdateIdentityProviderInput) (*UpdateIdentityProviderOutput, error) { + req, out := c.UpdateIdentityProviderRequest(input) return out, req.Send() } -// UpdateUserPoolClientWithContext is the same as UpdateUserPoolClient with the addition of +// UpdateIdentityProviderWithContext is the same as UpdateIdentityProvider with the addition of // the ability to pass a context and additional request options. // -// See UpdateUserPoolClient for details on how to use this API operation. +// See UpdateIdentityProvider for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *CognitoIdentityProvider) UpdateUserPoolClientWithContext(ctx aws.Context, input *UpdateUserPoolClientInput, opts ...request.Option) (*UpdateUserPoolClientOutput, error) { - req, out := c.UpdateUserPoolClientRequest(input) +func (c *CognitoIdentityProvider) UpdateIdentityProviderWithContext(ctx aws.Context, input *UpdateIdentityProviderInput, opts ...request.Option) (*UpdateIdentityProviderOutput, error) { + req, out := c.UpdateIdentityProviderRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opVerifyUserAttribute = "VerifyUserAttribute" +const opUpdateResourceServer = "UpdateResourceServer" -// VerifyUserAttributeRequest generates a "aws/request.Request" representing the -// client's request for the VerifyUserAttribute operation. The "output" return +// UpdateResourceServerRequest generates a "aws/request.Request" representing the +// client's request for the UpdateResourceServer operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See VerifyUserAttribute for more information on using the VerifyUserAttribute +// See UpdateResourceServer for more information on using the UpdateResourceServer // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the VerifyUserAttributeRequest method. -// req, resp := client.VerifyUserAttributeRequest(params) +// // Example sending a request using the UpdateResourceServerRequest method. +// req, resp := client.UpdateResourceServerRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttribute -func (c *CognitoIdentityProvider) VerifyUserAttributeRequest(input *VerifyUserAttributeInput) (req *request.Request, output *VerifyUserAttributeOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateResourceServer +func (c *CognitoIdentityProvider) UpdateResourceServerRequest(input *UpdateResourceServerInput) (req *request.Request, output *UpdateResourceServerOutput) { op := &request.Operation{ - Name: opVerifyUserAttribute, + Name: opUpdateResourceServer, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &VerifyUserAttributeInput{} + input = &UpdateResourceServerInput{} } - output = &VerifyUserAttributeOutput{} + output = &UpdateResourceServerOutput{} req = c.newRequest(op, input, output) - req.Config.Credentials = credentials.AnonymousCredentials return } -// VerifyUserAttribute API operation for Amazon Cognito Identity Provider. +// UpdateResourceServer API operation for Amazon Cognito Identity Provider. // -// Verifies the specified user attributes in the user pool. +// Updates the name and scopes of resource server. All other fields are read-only. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Cognito Identity Provider's -// API operation VerifyUserAttribute for usage and error information. +// API operation UpdateResourceServer for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// This exception is thrown when the Amazon Cognito service cannot find the -// requested resource. -// // * ErrCodeInvalidParameterException "InvalidParameterException" // This exception is thrown when the Amazon Cognito service encounters an invalid // parameter. // -// * ErrCodeCodeMismatchException "CodeMismatchException" -// This exception is thrown if the provided code does not match what the server -// was expecting. -// -// * ErrCodeExpiredCodeException "ExpiredCodeException" -// This exception is thrown if a code has expired. +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. // // * ErrCodeNotAuthorizedException "NotAuthorizedException" // This exception is thrown when a user is not authorized. @@ -8838,78 +9390,3102 @@ func (c *CognitoIdentityProvider) VerifyUserAttributeRequest(input *VerifyUserAt // This exception is thrown when the user has made too many requests for a given // operation. // -// * ErrCodeLimitExceededException "LimitExceededException" -// This exception is thrown when a user exceeds the limit for a requested AWS -// resource. -// -// * ErrCodePasswordResetRequiredException "PasswordResetRequiredException" -// This exception is thrown when a password reset is required. -// -// * ErrCodeUserNotFoundException "UserNotFoundException" -// This exception is thrown when a user is not found. +// * ErrCodeInternalErrorException "InternalErrorException" +// This exception is thrown when Amazon Cognito encounters an internal error. // -// * ErrCodeUserNotConfirmedException "UserNotConfirmedException" +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateResourceServer +func (c *CognitoIdentityProvider) UpdateResourceServer(input *UpdateResourceServerInput) (*UpdateResourceServerOutput, error) { + req, out := c.UpdateResourceServerRequest(input) + return out, req.Send() +} + +// UpdateResourceServerWithContext is the same as UpdateResourceServer with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateResourceServer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CognitoIdentityProvider) UpdateResourceServerWithContext(ctx aws.Context, input *UpdateResourceServerInput, opts ...request.Option) (*UpdateResourceServerOutput, error) { + req, out := c.UpdateResourceServerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateUserAttributes = "UpdateUserAttributes" + +// UpdateUserAttributesRequest generates a "aws/request.Request" representing the +// client's request for the UpdateUserAttributes operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateUserAttributes for more information on using the UpdateUserAttributes +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateUserAttributesRequest method. +// req, resp := client.UpdateUserAttributesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributes +func (c *CognitoIdentityProvider) UpdateUserAttributesRequest(input *UpdateUserAttributesInput) (req *request.Request, output *UpdateUserAttributesOutput) { + op := &request.Operation{ + Name: opUpdateUserAttributes, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateUserAttributesInput{} + } + + output = &UpdateUserAttributesOutput{} + req = c.newRequest(op, input, output) + req.Config.Credentials = credentials.AnonymousCredentials + return +} + +// UpdateUserAttributes API operation for Amazon Cognito Identity Provider. +// +// Allows a user to update a specific attribute (one at a time). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Cognito Identity Provider's +// API operation UpdateUserAttributes for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. +// +// * ErrCodeInvalidParameterException "InvalidParameterException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// * ErrCodeCodeMismatchException "CodeMismatchException" +// This exception is thrown if the provided code does not match what the server +// was expecting. +// +// * ErrCodeExpiredCodeException "ExpiredCodeException" +// This exception is thrown if a code has expired. +// +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// * ErrCodeUnexpectedLambdaException "UnexpectedLambdaException" +// This exception is thrown when the Amazon Cognito service encounters an unexpected +// exception with the AWS Lambda service. +// +// * ErrCodeUserLambdaValidationException "UserLambdaValidationException" +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the AWS Lambda service. +// +// * ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// AWS Lambda response. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// This exception is thrown when the user has made too many requests for a given +// operation. +// +// * ErrCodeAliasExistsException "AliasExistsException" +// This exception is thrown when a user tries to confirm the account with an +// email or phone number that has already been supplied as an alias from a different +// account. This exception tells user that an account with this email or phone +// already exists. +// +// * ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException" +// This exception is returned when the role provided for SMS configuration does +// not have permission to publish using Amazon SNS. +// +// * ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException" +// This exception is thrown when the trust relationship is invalid for the role +// provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. +// +// * ErrCodeInvalidEmailRoleAccessPolicyException "InvalidEmailRoleAccessPolicyException" +// This exception is thrown when Amazon Cognito is not allowed to use your email +// identity. HTTP status code: 400. +// +// * ErrCodeCodeDeliveryFailureException "CodeDeliveryFailureException" +// This exception is thrown when a verification code fails to deliver successfully. +// +// * ErrCodePasswordResetRequiredException "PasswordResetRequiredException" +// This exception is thrown when a password reset is required. +// +// * ErrCodeUserNotFoundException "UserNotFoundException" +// This exception is thrown when a user is not found. +// +// * ErrCodeUserNotConfirmedException "UserNotConfirmedException" // This exception is thrown when a user is not confirmed successfully. // // * ErrCodeInternalErrorException "InternalErrorException" // This exception is thrown when Amazon Cognito encounters an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttribute -func (c *CognitoIdentityProvider) VerifyUserAttribute(input *VerifyUserAttributeInput) (*VerifyUserAttributeOutput, error) { - req, out := c.VerifyUserAttributeRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributes +func (c *CognitoIdentityProvider) UpdateUserAttributes(input *UpdateUserAttributesInput) (*UpdateUserAttributesOutput, error) { + req, out := c.UpdateUserAttributesRequest(input) + return out, req.Send() +} + +// UpdateUserAttributesWithContext is the same as UpdateUserAttributes with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateUserAttributes for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CognitoIdentityProvider) UpdateUserAttributesWithContext(ctx aws.Context, input *UpdateUserAttributesInput, opts ...request.Option) (*UpdateUserAttributesOutput, error) { + req, out := c.UpdateUserAttributesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) return out, req.Send() } -// VerifyUserAttributeWithContext is the same as VerifyUserAttribute with the addition of -// the ability to pass a context and additional request options. -// -// See VerifyUserAttribute for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *CognitoIdentityProvider) VerifyUserAttributeWithContext(ctx aws.Context, input *VerifyUserAttributeInput, opts ...request.Option) (*VerifyUserAttributeOutput, error) { - req, out := c.VerifyUserAttributeRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() +const opUpdateUserPool = "UpdateUserPool" + +// UpdateUserPoolRequest generates a "aws/request.Request" representing the +// client's request for the UpdateUserPool operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateUserPool for more information on using the UpdateUserPool +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateUserPoolRequest method. +// req, resp := client.UpdateUserPoolRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPool +func (c *CognitoIdentityProvider) UpdateUserPoolRequest(input *UpdateUserPoolInput) (req *request.Request, output *UpdateUserPoolOutput) { + op := &request.Operation{ + Name: opUpdateUserPool, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateUserPoolInput{} + } + + output = &UpdateUserPoolOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateUserPool API operation for Amazon Cognito Identity Provider. +// +// Updates the specified user pool with the specified attributes. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Cognito Identity Provider's +// API operation UpdateUserPool for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. +// +// * ErrCodeInvalidParameterException "InvalidParameterException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// This exception is thrown if two or more modifications are happening concurrently. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// This exception is thrown when the user has made too many requests for a given +// operation. +// +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// * ErrCodeUserImportInProgressException "UserImportInProgressException" +// This exception is thrown when you are trying to modify a user pool while +// a user import job is in progress for that pool. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// * ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException" +// This exception is returned when the role provided for SMS configuration does +// not have permission to publish using Amazon SNS. +// +// * ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException" +// This exception is thrown when the trust relationship is invalid for the role +// provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. +// +// * ErrCodeUserPoolTaggingException "UserPoolTaggingException" +// This exception is thrown when a user pool tag cannot be set or updated. +// +// * ErrCodeInvalidEmailRoleAccessPolicyException "InvalidEmailRoleAccessPolicyException" +// This exception is thrown when Amazon Cognito is not allowed to use your email +// identity. HTTP status code: 400. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPool +func (c *CognitoIdentityProvider) UpdateUserPool(input *UpdateUserPoolInput) (*UpdateUserPoolOutput, error) { + req, out := c.UpdateUserPoolRequest(input) + return out, req.Send() +} + +// UpdateUserPoolWithContext is the same as UpdateUserPool with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateUserPool for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CognitoIdentityProvider) UpdateUserPoolWithContext(ctx aws.Context, input *UpdateUserPoolInput, opts ...request.Option) (*UpdateUserPoolOutput, error) { + req, out := c.UpdateUserPoolRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateUserPoolClient = "UpdateUserPoolClient" + +// UpdateUserPoolClientRequest generates a "aws/request.Request" representing the +// client's request for the UpdateUserPoolClient operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateUserPoolClient for more information on using the UpdateUserPoolClient +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateUserPoolClientRequest method. +// req, resp := client.UpdateUserPoolClientRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClient +func (c *CognitoIdentityProvider) UpdateUserPoolClientRequest(input *UpdateUserPoolClientInput) (req *request.Request, output *UpdateUserPoolClientOutput) { + op := &request.Operation{ + Name: opUpdateUserPoolClient, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateUserPoolClientInput{} + } + + output = &UpdateUserPoolClientOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateUserPoolClient API operation for Amazon Cognito Identity Provider. +// +// Allows the developer to update the specified user pool client and password +// policy. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Cognito Identity Provider's +// API operation UpdateUserPoolClient for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. +// +// * ErrCodeInvalidParameterException "InvalidParameterException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// * ErrCodeConcurrentModificationException "ConcurrentModificationException" +// This exception is thrown if two or more modifications are happening concurrently. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// This exception is thrown when the user has made too many requests for a given +// operation. +// +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// * ErrCodeScopeDoesNotExistException "ScopeDoesNotExistException" +// This exception is thrown when the specified scope does not exist. +// +// * ErrCodeInvalidOAuthFlowException "InvalidOAuthFlowException" +// This exception is thrown when the specified OAuth flow is invalid. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClient +func (c *CognitoIdentityProvider) UpdateUserPoolClient(input *UpdateUserPoolClientInput) (*UpdateUserPoolClientOutput, error) { + req, out := c.UpdateUserPoolClientRequest(input) + return out, req.Send() +} + +// UpdateUserPoolClientWithContext is the same as UpdateUserPoolClient with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateUserPoolClient for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CognitoIdentityProvider) UpdateUserPoolClientWithContext(ctx aws.Context, input *UpdateUserPoolClientInput, opts ...request.Option) (*UpdateUserPoolClientOutput, error) { + req, out := c.UpdateUserPoolClientRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opVerifySoftwareToken = "VerifySoftwareToken" + +// VerifySoftwareTokenRequest generates a "aws/request.Request" representing the +// client's request for the VerifySoftwareToken operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See VerifySoftwareToken for more information on using the VerifySoftwareToken +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the VerifySoftwareTokenRequest method. +// req, resp := client.VerifySoftwareTokenRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifySoftwareToken +func (c *CognitoIdentityProvider) VerifySoftwareTokenRequest(input *VerifySoftwareTokenInput) (req *request.Request, output *VerifySoftwareTokenOutput) { + op := &request.Operation{ + Name: opVerifySoftwareToken, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &VerifySoftwareTokenInput{} + } + + output = &VerifySoftwareTokenOutput{} + req = c.newRequest(op, input, output) + return +} + +// VerifySoftwareToken API operation for Amazon Cognito Identity Provider. +// +// Use this API to register a user's entered TOTP code and mark the user's software +// token MFA status as "verified" if successful, +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Cognito Identity Provider's +// API operation VerifySoftwareToken for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidParameterException "InvalidParameterException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. +// +// * ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException" +// This exception is thrown when the user pool configuration is invalid. +// +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// This exception is thrown when the user has made too many requests for a given +// operation. +// +// * ErrCodePasswordResetRequiredException "PasswordResetRequiredException" +// This exception is thrown when a password reset is required. +// +// * ErrCodeUserNotFoundException "UserNotFoundException" +// This exception is thrown when a user is not found. +// +// * ErrCodeUserNotConfirmedException "UserNotConfirmedException" +// This exception is thrown when a user is not confirmed successfully. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// * ErrCodeEnableSoftwareTokenMFAException "EnableSoftwareTokenMFAException" +// This exception is thrown when there is a code mismatch and the service fails +// to configure the software token TOTP multi-factor authentication (MFA). +// +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// * ErrCodeSoftwareTokenMFANotFoundException "SoftwareTokenMFANotFoundException" +// This exception is thrown when the software token TOTP multi-factor authentication +// (MFA) is not enabled for the user pool. +// +// * ErrCodeCodeMismatchException "CodeMismatchException" +// This exception is thrown if the provided code does not match what the server +// was expecting. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifySoftwareToken +func (c *CognitoIdentityProvider) VerifySoftwareToken(input *VerifySoftwareTokenInput) (*VerifySoftwareTokenOutput, error) { + req, out := c.VerifySoftwareTokenRequest(input) + return out, req.Send() +} + +// VerifySoftwareTokenWithContext is the same as VerifySoftwareToken with the addition of +// the ability to pass a context and additional request options. +// +// See VerifySoftwareToken for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CognitoIdentityProvider) VerifySoftwareTokenWithContext(ctx aws.Context, input *VerifySoftwareTokenInput, opts ...request.Option) (*VerifySoftwareTokenOutput, error) { + req, out := c.VerifySoftwareTokenRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opVerifyUserAttribute = "VerifyUserAttribute" + +// VerifyUserAttributeRequest generates a "aws/request.Request" representing the +// client's request for the VerifyUserAttribute operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See VerifyUserAttribute for more information on using the VerifyUserAttribute +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the VerifyUserAttributeRequest method. +// req, resp := client.VerifyUserAttributeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttribute +func (c *CognitoIdentityProvider) VerifyUserAttributeRequest(input *VerifyUserAttributeInput) (req *request.Request, output *VerifyUserAttributeOutput) { + op := &request.Operation{ + Name: opVerifyUserAttribute, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &VerifyUserAttributeInput{} + } + + output = &VerifyUserAttributeOutput{} + req = c.newRequest(op, input, output) + req.Config.Credentials = credentials.AnonymousCredentials + return +} + +// VerifyUserAttribute API operation for Amazon Cognito Identity Provider. +// +// Verifies the specified user attributes in the user pool. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Cognito Identity Provider's +// API operation VerifyUserAttribute for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// This exception is thrown when the Amazon Cognito service cannot find the +// requested resource. +// +// * ErrCodeInvalidParameterException "InvalidParameterException" +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// * ErrCodeCodeMismatchException "CodeMismatchException" +// This exception is thrown if the provided code does not match what the server +// was expecting. +// +// * ErrCodeExpiredCodeException "ExpiredCodeException" +// This exception is thrown if a code has expired. +// +// * ErrCodeNotAuthorizedException "NotAuthorizedException" +// This exception is thrown when a user is not authorized. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// This exception is thrown when the user has made too many requests for a given +// operation. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// This exception is thrown when a user exceeds the limit for a requested AWS +// resource. +// +// * ErrCodePasswordResetRequiredException "PasswordResetRequiredException" +// This exception is thrown when a password reset is required. +// +// * ErrCodeUserNotFoundException "UserNotFoundException" +// This exception is thrown when a user is not found. +// +// * ErrCodeUserNotConfirmedException "UserNotConfirmedException" +// This exception is thrown when a user is not confirmed successfully. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttribute +func (c *CognitoIdentityProvider) VerifyUserAttribute(input *VerifyUserAttributeInput) (*VerifyUserAttributeOutput, error) { + req, out := c.VerifyUserAttributeRequest(input) + return out, req.Send() +} + +// VerifyUserAttributeWithContext is the same as VerifyUserAttribute with the addition of +// the ability to pass a context and additional request options. +// +// See VerifyUserAttribute for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CognitoIdentityProvider) VerifyUserAttributeWithContext(ctx aws.Context, input *VerifyUserAttributeInput, opts ...request.Option) (*VerifyUserAttributeOutput, error) { + req, out := c.VerifyUserAttributeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// Account takeover action type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AccountTakeoverActionType +type AccountTakeoverActionType struct { + _ struct{} `type:"structure"` + + // The event action. + // + // * BLOCK Choosing this action will block the request. + // + // * MFA_IF_CONFIGURED Throw MFA challenge if user has configured it, else + // allow the request. + // + // * MFA_REQUIRED Throw MFA challenge if user has configured it, else block + // the request. + // + // * NO_ACTION Allow the user sign-in. + // + // EventAction is a required field + EventAction *string `type:"string" required:"true" enum:"AccountTakeoverEventActionType"` + + // Flag specifying whether to send a notification. + // + // Notify is a required field + Notify *bool `type:"boolean" required:"true"` +} + +// String returns the string representation +func (s AccountTakeoverActionType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AccountTakeoverActionType) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AccountTakeoverActionType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AccountTakeoverActionType"} + if s.EventAction == nil { + invalidParams.Add(request.NewErrParamRequired("EventAction")) + } + if s.Notify == nil { + invalidParams.Add(request.NewErrParamRequired("Notify")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEventAction sets the EventAction field's value. +func (s *AccountTakeoverActionType) SetEventAction(v string) *AccountTakeoverActionType { + s.EventAction = &v + return s +} + +// SetNotify sets the Notify field's value. +func (s *AccountTakeoverActionType) SetNotify(v bool) *AccountTakeoverActionType { + s.Notify = &v + return s +} + +// Account takeover actions type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AccountTakeoverActionsType +type AccountTakeoverActionsType struct { + _ struct{} `type:"structure"` + + // Action to take for a high risk. + HighAction *AccountTakeoverActionType `type:"structure"` + + // Action to take for a low risk. + LowAction *AccountTakeoverActionType `type:"structure"` + + // Action to take for a medium risk. + MediumAction *AccountTakeoverActionType `type:"structure"` +} + +// String returns the string representation +func (s AccountTakeoverActionsType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AccountTakeoverActionsType) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AccountTakeoverActionsType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AccountTakeoverActionsType"} + if s.HighAction != nil { + if err := s.HighAction.Validate(); err != nil { + invalidParams.AddNested("HighAction", err.(request.ErrInvalidParams)) + } + } + if s.LowAction != nil { + if err := s.LowAction.Validate(); err != nil { + invalidParams.AddNested("LowAction", err.(request.ErrInvalidParams)) + } + } + if s.MediumAction != nil { + if err := s.MediumAction.Validate(); err != nil { + invalidParams.AddNested("MediumAction", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHighAction sets the HighAction field's value. +func (s *AccountTakeoverActionsType) SetHighAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType { + s.HighAction = v + return s +} + +// SetLowAction sets the LowAction field's value. +func (s *AccountTakeoverActionsType) SetLowAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType { + s.LowAction = v + return s +} + +// SetMediumAction sets the MediumAction field's value. +func (s *AccountTakeoverActionsType) SetMediumAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType { + s.MediumAction = v + return s +} + +// Configuration for mitigation actions and notification for different levels +// of risk detected for a potential account takeover. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AccountTakeoverRiskConfigurationType +type AccountTakeoverRiskConfigurationType struct { + _ struct{} `type:"structure"` + + // Account takeover risk configuration actions + // + // Actions is a required field + Actions *AccountTakeoverActionsType `type:"structure" required:"true"` + + // The notify configuration used to construct email notifications. + NotifyConfiguration *NotifyConfigurationType `type:"structure"` +} + +// String returns the string representation +func (s AccountTakeoverRiskConfigurationType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AccountTakeoverRiskConfigurationType) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AccountTakeoverRiskConfigurationType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AccountTakeoverRiskConfigurationType"} + if s.Actions == nil { + invalidParams.Add(request.NewErrParamRequired("Actions")) + } + if s.Actions != nil { + if err := s.Actions.Validate(); err != nil { + invalidParams.AddNested("Actions", err.(request.ErrInvalidParams)) + } + } + if s.NotifyConfiguration != nil { + if err := s.NotifyConfiguration.Validate(); err != nil { + invalidParams.AddNested("NotifyConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActions sets the Actions field's value. +func (s *AccountTakeoverRiskConfigurationType) SetActions(v *AccountTakeoverActionsType) *AccountTakeoverRiskConfigurationType { + s.Actions = v + return s +} + +// SetNotifyConfiguration sets the NotifyConfiguration field's value. +func (s *AccountTakeoverRiskConfigurationType) SetNotifyConfiguration(v *NotifyConfigurationType) *AccountTakeoverRiskConfigurationType { + s.NotifyConfiguration = v + return s +} + +// Represents the request to add custom attributes. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributesRequest +type AddCustomAttributesInput struct { + _ struct{} `type:"structure"` + + // An array of custom attributes, such as Mutable and Name. + // + // CustomAttributes is a required field + CustomAttributes []*SchemaAttributeType `min:"1" type:"list" required:"true"` + + // The user pool ID for the user pool where you want to add custom attributes. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AddCustomAttributesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AddCustomAttributesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AddCustomAttributesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AddCustomAttributesInput"} + if s.CustomAttributes == nil { + invalidParams.Add(request.NewErrParamRequired("CustomAttributes")) + } + if s.CustomAttributes != nil && len(s.CustomAttributes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CustomAttributes", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.CustomAttributes != nil { + for i, v := range s.CustomAttributes { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CustomAttributes", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCustomAttributes sets the CustomAttributes field's value. +func (s *AddCustomAttributesInput) SetCustomAttributes(v []*SchemaAttributeType) *AddCustomAttributesInput { + s.CustomAttributes = v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AddCustomAttributesInput) SetUserPoolId(v string) *AddCustomAttributesInput { + s.UserPoolId = &v + return s +} + +// Represents the response from the server for the request to add custom attributes. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributesResponse +type AddCustomAttributesOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AddCustomAttributesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AddCustomAttributesOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroupRequest +type AdminAddUserToGroupInput struct { + _ struct{} `type:"structure"` + + // The group name. + // + // GroupName is a required field + GroupName *string `min:"1" type:"string" required:"true"` + + // The user pool ID for the user pool. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The username for the user. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminAddUserToGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminAddUserToGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminAddUserToGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminAddUserToGroupInput"} + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) + } + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetGroupName sets the GroupName field's value. +func (s *AdminAddUserToGroupInput) SetGroupName(v string) *AdminAddUserToGroupInput { + s.GroupName = &v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminAddUserToGroupInput) SetUserPoolId(v string) *AdminAddUserToGroupInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminAddUserToGroupInput) SetUsername(v string) *AdminAddUserToGroupInput { + s.Username = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroupOutput +type AdminAddUserToGroupOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AdminAddUserToGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminAddUserToGroupOutput) GoString() string { + return s.String() +} + +// Represents the request to confirm user registration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUpRequest +type AdminConfirmSignUpInput struct { + _ struct{} `type:"structure"` + + // The user pool ID for which you want to confirm user registration. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The user name for which you want to confirm user registration. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminConfirmSignUpInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminConfirmSignUpInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminConfirmSignUpInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminConfirmSignUpInput"} + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminConfirmSignUpInput) SetUserPoolId(v string) *AdminConfirmSignUpInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminConfirmSignUpInput) SetUsername(v string) *AdminConfirmSignUpInput { + s.Username = &v + return s +} + +// Represents the response from the server for the request to confirm registration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUpResponse +type AdminConfirmSignUpOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AdminConfirmSignUpOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminConfirmSignUpOutput) GoString() string { + return s.String() +} + +// The configuration for creating a new user profile. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUserConfigType +type AdminCreateUserConfigType struct { + _ struct{} `type:"structure"` + + // Set to True if only the administrator is allowed to create user profiles. + // Set to False if users can sign themselves up via an app. + AllowAdminCreateUserOnly *bool `type:"boolean"` + + // The message template to be used for the welcome message to new users. + // + // See also Customizing User Invitation Messages (http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-customizations.html#cognito-user-pool-settings-user-invitation-message-customization). + InviteMessageTemplate *MessageTemplateType `type:"structure"` + + // The user account expiration limit, in days, after which the account is no + // longer usable. To reset the account after that time limit, you must call + // AdminCreateUser again, specifying "RESEND" for the MessageAction parameter. + // The default value for this parameter is 7. + UnusedAccountValidityDays *int64 `type:"integer"` +} + +// String returns the string representation +func (s AdminCreateUserConfigType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminCreateUserConfigType) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminCreateUserConfigType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminCreateUserConfigType"} + if s.InviteMessageTemplate != nil { + if err := s.InviteMessageTemplate.Validate(); err != nil { + invalidParams.AddNested("InviteMessageTemplate", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAllowAdminCreateUserOnly sets the AllowAdminCreateUserOnly field's value. +func (s *AdminCreateUserConfigType) SetAllowAdminCreateUserOnly(v bool) *AdminCreateUserConfigType { + s.AllowAdminCreateUserOnly = &v + return s +} + +// SetInviteMessageTemplate sets the InviteMessageTemplate field's value. +func (s *AdminCreateUserConfigType) SetInviteMessageTemplate(v *MessageTemplateType) *AdminCreateUserConfigType { + s.InviteMessageTemplate = v + return s +} + +// SetUnusedAccountValidityDays sets the UnusedAccountValidityDays field's value. +func (s *AdminCreateUserConfigType) SetUnusedAccountValidityDays(v int64) *AdminCreateUserConfigType { + s.UnusedAccountValidityDays = &v + return s +} + +// Represents the request to create a user in the specified user pool. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUserRequest +type AdminCreateUserInput struct { + _ struct{} `type:"structure"` + + // Specify "EMAIL" if email will be used to send the welcome message. Specify + // "SMS" if the phone number will be used. The default value is "SMS". More + // than one value can be specified. + DesiredDeliveryMediums []*string `type:"list"` + + // This parameter is only used if the phone_number_verified or email_verified + // attribute is set to True. Otherwise, it is ignored. + // + // If this parameter is set to True and the phone number or email address specified + // in the UserAttributes parameter already exists as an alias with a different + // user, the API call will migrate the alias from the previous user to the newly + // created user. The previous user will no longer be able to log in using that + // alias. + // + // If this parameter is set to False, the API throws an AliasExistsException + // error if the alias already exists. The default value is False. + ForceAliasCreation *bool `type:"boolean"` + + // Set to "RESEND" to resend the invitation message to a user that already exists + // and reset the expiration limit on the user's account. Set to "SUPPRESS" to + // suppress sending the message. Only one value can be specified. + MessageAction *string `type:"string" enum:"MessageActionType"` + + // The user's temporary password. This password must conform to the password + // policy that you specified when you created the user pool. + // + // The temporary password is valid only once. To complete the Admin Create User + // flow, the user must enter the temporary password in the sign-in page along + // with a new password to be used in all future sign-ins. + // + // This parameter is not required. If you do not specify a value, Amazon Cognito + // generates one for you. + // + // The temporary password can only be used until the user account expiration + // limit that you specified when you created the user pool. To reset the account + // after that time limit, you must call AdminCreateUser again, specifying "RESEND" + // for the MessageAction parameter. + TemporaryPassword *string `min:"6" type:"string"` + + // An array of name-value pairs that contain user attributes and attribute values + // to be set for the user to be created. You can create a user without specifying + // any attributes other than Username. However, any attributes that you specify + // as required (in or in the Attributes tab of the console) must be supplied + // either by you (in your call to AdminCreateUser) or by the user (when he or + // she signs up in response to your welcome message). + // + // For custom attributes, you must prepend the custom: prefix to the attribute + // name. + // + // To send a message inviting the user to sign up, you must specify the user's + // email address or phone number. This can be done in your call to AdminCreateUser + // or in the Users tab of the Amazon Cognito console for managing your user + // pools. + // + // In your call to AdminCreateUser, you can set the email_verified attribute + // to True, and you can set the phone_number_verified attribute to True. (You + // can also do this by calling .) + // + // * email: The email address of the user to whom the message that contains + // the code and username will be sent. Required if the email_verified attribute + // is set to True, or if "EMAIL" is specified in the DesiredDeliveryMediums + // parameter. + // + // * phone_number: The phone number of the user to whom the message that + // contains the code and username will be sent. Required if the phone_number_verified + // attribute is set to True, or if "SMS" is specified in the DesiredDeliveryMediums + // parameter. + UserAttributes []*AttributeType `type:"list"` + + // The user pool ID for the user pool where the user will be created. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The username for the user. Must be unique within the user pool. Must be a + // UTF-8 string between 1 and 128 characters. After the user is created, the + // username cannot be changed. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` + + // The user's validation data. This is an array of name-value pairs that contain + // user attributes and attribute values that you can use for custom validation, + // such as restricting the types of user accounts that can be registered. For + // example, you might choose to allow or disallow user sign-up based on the + // user's domain. + // + // To configure custom validation, you must create a Pre Sign-up Lambda trigger + // for the user pool as described in the Amazon Cognito Developer Guide. The + // Lambda trigger receives the validation data and uses it in the validation + // process. + // + // The user's validation data is not persisted. + ValidationData []*AttributeType `type:"list"` +} + +// String returns the string representation +func (s AdminCreateUserInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminCreateUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminCreateUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminCreateUserInput"} + if s.TemporaryPassword != nil && len(*s.TemporaryPassword) < 6 { + invalidParams.Add(request.NewErrParamMinLen("TemporaryPassword", 6)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + if s.UserAttributes != nil { + for i, v := range s.UserAttributes { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UserAttributes", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ValidationData != nil { + for i, v := range s.ValidationData { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ValidationData", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDesiredDeliveryMediums sets the DesiredDeliveryMediums field's value. +func (s *AdminCreateUserInput) SetDesiredDeliveryMediums(v []*string) *AdminCreateUserInput { + s.DesiredDeliveryMediums = v + return s +} + +// SetForceAliasCreation sets the ForceAliasCreation field's value. +func (s *AdminCreateUserInput) SetForceAliasCreation(v bool) *AdminCreateUserInput { + s.ForceAliasCreation = &v + return s +} + +// SetMessageAction sets the MessageAction field's value. +func (s *AdminCreateUserInput) SetMessageAction(v string) *AdminCreateUserInput { + s.MessageAction = &v + return s +} + +// SetTemporaryPassword sets the TemporaryPassword field's value. +func (s *AdminCreateUserInput) SetTemporaryPassword(v string) *AdminCreateUserInput { + s.TemporaryPassword = &v + return s +} + +// SetUserAttributes sets the UserAttributes field's value. +func (s *AdminCreateUserInput) SetUserAttributes(v []*AttributeType) *AdminCreateUserInput { + s.UserAttributes = v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminCreateUserInput) SetUserPoolId(v string) *AdminCreateUserInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminCreateUserInput) SetUsername(v string) *AdminCreateUserInput { + s.Username = &v + return s +} + +// SetValidationData sets the ValidationData field's value. +func (s *AdminCreateUserInput) SetValidationData(v []*AttributeType) *AdminCreateUserInput { + s.ValidationData = v + return s +} + +// Represents the response from the server to the request to create the user. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUserResponse +type AdminCreateUserOutput struct { + _ struct{} `type:"structure"` + + // The newly created user. + User *UserType `type:"structure"` +} + +// String returns the string representation +func (s AdminCreateUserOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminCreateUserOutput) GoString() string { + return s.String() +} + +// SetUser sets the User field's value. +func (s *AdminCreateUserOutput) SetUser(v *UserType) *AdminCreateUserOutput { + s.User = v + return s +} + +// Represents the request to delete user attributes as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributesRequest +type AdminDeleteUserAttributesInput struct { + _ struct{} `type:"structure"` + + // An array of strings representing the user attribute names you wish to delete. + // + // For custom attributes, you must prepend the custom: prefix to the attribute + // name. + // + // UserAttributeNames is a required field + UserAttributeNames []*string `type:"list" required:"true"` + + // The user pool ID for the user pool where you want to delete user attributes. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The user name of the user from which you would like to delete attributes. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminDeleteUserAttributesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminDeleteUserAttributesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminDeleteUserAttributesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminDeleteUserAttributesInput"} + if s.UserAttributeNames == nil { + invalidParams.Add(request.NewErrParamRequired("UserAttributeNames")) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetUserAttributeNames sets the UserAttributeNames field's value. +func (s *AdminDeleteUserAttributesInput) SetUserAttributeNames(v []*string) *AdminDeleteUserAttributesInput { + s.UserAttributeNames = v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminDeleteUserAttributesInput) SetUserPoolId(v string) *AdminDeleteUserAttributesInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminDeleteUserAttributesInput) SetUsername(v string) *AdminDeleteUserAttributesInput { + s.Username = &v + return s +} + +// Represents the response received from the server for a request to delete +// user attributes. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributesResponse +type AdminDeleteUserAttributesOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AdminDeleteUserAttributesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminDeleteUserAttributesOutput) GoString() string { + return s.String() +} + +// Represents the request to delete a user as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserRequest +type AdminDeleteUserInput struct { + _ struct{} `type:"structure"` + + // The user pool ID for the user pool where you want to delete the user. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The user name of the user you wish to delete. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminDeleteUserInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminDeleteUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminDeleteUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminDeleteUserInput"} + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminDeleteUserInput) SetUserPoolId(v string) *AdminDeleteUserInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminDeleteUserInput) SetUsername(v string) *AdminDeleteUserInput { + s.Username = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserOutput +type AdminDeleteUserOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AdminDeleteUserOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminDeleteUserOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableProviderForUserRequest +type AdminDisableProviderForUserInput struct { + _ struct{} `type:"structure"` + + // The user to be disabled. + // + // User is a required field + User *ProviderUserIdentifierType `type:"structure" required:"true"` + + // The user pool ID for the user pool. + // + // UserPoolId is a required field + UserPoolId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminDisableProviderForUserInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminDisableProviderForUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminDisableProviderForUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminDisableProviderForUserInput"} + if s.User == nil { + invalidParams.Add(request.NewErrParamRequired("User")) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.User != nil { + if err := s.User.Validate(); err != nil { + invalidParams.AddNested("User", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetUser sets the User field's value. +func (s *AdminDisableProviderForUserInput) SetUser(v *ProviderUserIdentifierType) *AdminDisableProviderForUserInput { + s.User = v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminDisableProviderForUserInput) SetUserPoolId(v string) *AdminDisableProviderForUserInput { + s.UserPoolId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableProviderForUserResponse +type AdminDisableProviderForUserOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AdminDisableProviderForUserOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminDisableProviderForUserOutput) GoString() string { + return s.String() +} + +// Represents the request to disable any user as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUserRequest +type AdminDisableUserInput struct { + _ struct{} `type:"structure"` + + // The user pool ID for the user pool where you want to disable the user. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The user name of the user you wish to disable. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminDisableUserInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminDisableUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminDisableUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminDisableUserInput"} + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminDisableUserInput) SetUserPoolId(v string) *AdminDisableUserInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminDisableUserInput) SetUsername(v string) *AdminDisableUserInput { + s.Username = &v + return s +} + +// Represents the response received from the server to disable the user as an +// administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUserResponse +type AdminDisableUserOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AdminDisableUserOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminDisableUserOutput) GoString() string { + return s.String() +} + +// Represents the request that enables the user as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUserRequest +type AdminEnableUserInput struct { + _ struct{} `type:"structure"` + + // The user pool ID for the user pool where you want to enable the user. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The user name of the user you wish to enable. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminEnableUserInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminEnableUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminEnableUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminEnableUserInput"} + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminEnableUserInput) SetUserPoolId(v string) *AdminEnableUserInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminEnableUserInput) SetUsername(v string) *AdminEnableUserInput { + s.Username = &v + return s +} + +// Represents the response from the server for the request to enable a user +// as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUserResponse +type AdminEnableUserOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AdminEnableUserOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminEnableUserOutput) GoString() string { + return s.String() +} + +// Sends the forgot device request, as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDeviceRequest +type AdminForgetDeviceInput struct { + _ struct{} `type:"structure"` + + // The device key. + // + // DeviceKey is a required field + DeviceKey *string `min:"1" type:"string" required:"true"` + + // The user pool ID. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The user name. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminForgetDeviceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminForgetDeviceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminForgetDeviceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminForgetDeviceInput"} + if s.DeviceKey == nil { + invalidParams.Add(request.NewErrParamRequired("DeviceKey")) + } + if s.DeviceKey != nil && len(*s.DeviceKey) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceKey", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDeviceKey sets the DeviceKey field's value. +func (s *AdminForgetDeviceInput) SetDeviceKey(v string) *AdminForgetDeviceInput { + s.DeviceKey = &v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminForgetDeviceInput) SetUserPoolId(v string) *AdminForgetDeviceInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminForgetDeviceInput) SetUsername(v string) *AdminForgetDeviceInput { + s.Username = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDeviceOutput +type AdminForgetDeviceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AdminForgetDeviceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminForgetDeviceOutput) GoString() string { + return s.String() +} + +// Represents the request to get the device, as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDeviceRequest +type AdminGetDeviceInput struct { + _ struct{} `type:"structure"` + + // The device key. + // + // DeviceKey is a required field + DeviceKey *string `min:"1" type:"string" required:"true"` + + // The user pool ID. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The user name. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminGetDeviceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminGetDeviceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminGetDeviceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminGetDeviceInput"} + if s.DeviceKey == nil { + invalidParams.Add(request.NewErrParamRequired("DeviceKey")) + } + if s.DeviceKey != nil && len(*s.DeviceKey) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceKey", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDeviceKey sets the DeviceKey field's value. +func (s *AdminGetDeviceInput) SetDeviceKey(v string) *AdminGetDeviceInput { + s.DeviceKey = &v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminGetDeviceInput) SetUserPoolId(v string) *AdminGetDeviceInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminGetDeviceInput) SetUsername(v string) *AdminGetDeviceInput { + s.Username = &v + return s +} + +// Gets the device response, as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDeviceResponse +type AdminGetDeviceOutput struct { + _ struct{} `type:"structure"` + + // The device. + // + // Device is a required field + Device *DeviceType `type:"structure" required:"true"` +} + +// String returns the string representation +func (s AdminGetDeviceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminGetDeviceOutput) GoString() string { + return s.String() +} + +// SetDevice sets the Device field's value. +func (s *AdminGetDeviceOutput) SetDevice(v *DeviceType) *AdminGetDeviceOutput { + s.Device = v + return s +} + +// Represents the request to get the specified user as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUserRequest +type AdminGetUserInput struct { + _ struct{} `type:"structure"` + + // The user pool ID for the user pool where you want to get information about + // the user. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The user name of the user you wish to retrieve. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminGetUserInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminGetUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminGetUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminGetUserInput"} + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminGetUserInput) SetUserPoolId(v string) *AdminGetUserInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminGetUserInput) SetUsername(v string) *AdminGetUserInput { + s.Username = &v + return s +} + +// Represents the response from the server from the request to get the specified +// user as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUserResponse +type AdminGetUserOutput struct { + _ struct{} `type:"structure"` + + // Indicates that the status is enabled. + Enabled *bool `type:"boolean"` + + // Specifies the options for MFA (e.g., email or phone number). + MFAOptions []*MFAOptionType `type:"list"` + + // The user's preferred MFA setting. + PreferredMfaSetting *string `type:"string"` + + // An array of name-value pairs representing user attributes. + UserAttributes []*AttributeType `type:"list"` + + // The date the user was created. + UserCreateDate *time.Time `type:"timestamp" timestampFormat:"unix"` + + // The date the user was last modified. + UserLastModifiedDate *time.Time `type:"timestamp" timestampFormat:"unix"` + + // The list of the user's MFA settings. + UserMFASettingList []*string `type:"list"` + + // The user status. Can be one of the following: + // + // * UNCONFIRMED - User has been created but not confirmed. + // + // * CONFIRMED - User has been confirmed. + // + // * ARCHIVED - User is no longer active. + // + // * COMPROMISED - User is disabled due to a potential security threat. + // + // * UNKNOWN - User status is not known. + UserStatus *string `type:"string" enum:"UserStatusType"` + + // The user name of the user about whom you are receiving information. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminGetUserOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminGetUserOutput) GoString() string { + return s.String() +} + +// SetEnabled sets the Enabled field's value. +func (s *AdminGetUserOutput) SetEnabled(v bool) *AdminGetUserOutput { + s.Enabled = &v + return s +} + +// SetMFAOptions sets the MFAOptions field's value. +func (s *AdminGetUserOutput) SetMFAOptions(v []*MFAOptionType) *AdminGetUserOutput { + s.MFAOptions = v + return s +} + +// SetPreferredMfaSetting sets the PreferredMfaSetting field's value. +func (s *AdminGetUserOutput) SetPreferredMfaSetting(v string) *AdminGetUserOutput { + s.PreferredMfaSetting = &v + return s +} + +// SetUserAttributes sets the UserAttributes field's value. +func (s *AdminGetUserOutput) SetUserAttributes(v []*AttributeType) *AdminGetUserOutput { + s.UserAttributes = v + return s +} + +// SetUserCreateDate sets the UserCreateDate field's value. +func (s *AdminGetUserOutput) SetUserCreateDate(v time.Time) *AdminGetUserOutput { + s.UserCreateDate = &v + return s +} + +// SetUserLastModifiedDate sets the UserLastModifiedDate field's value. +func (s *AdminGetUserOutput) SetUserLastModifiedDate(v time.Time) *AdminGetUserOutput { + s.UserLastModifiedDate = &v + return s +} + +// SetUserMFASettingList sets the UserMFASettingList field's value. +func (s *AdminGetUserOutput) SetUserMFASettingList(v []*string) *AdminGetUserOutput { + s.UserMFASettingList = v + return s +} + +// SetUserStatus sets the UserStatus field's value. +func (s *AdminGetUserOutput) SetUserStatus(v string) *AdminGetUserOutput { + s.UserStatus = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminGetUserOutput) SetUsername(v string) *AdminGetUserOutput { + s.Username = &v + return s +} + +// Initiates the authorization request, as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuthRequest +type AdminInitiateAuthInput struct { + _ struct{} `type:"structure"` + + // The analytics metadata for collecting Amazon Pinpoint metrics for AdminInitiateAuth + // calls. + AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` + + // The authentication flow for this call to execute. The API action will depend + // on this value. For example: + // + // * REFRESH_TOKEN_AUTH will take in a valid refresh token and return new + // tokens. + // + // * USER_SRP_AUTH will take in USERNAME and SRP_A and return the SRP variables + // to be used for next challenge execution. + // + // Valid values include: + // + // * USER_SRP_AUTH: Authentication flow for the Secure Remote Password (SRP) + // protocol. + // + // * REFRESH_TOKEN_AUTH/REFRESH_TOKEN: Authentication flow for refreshing + // the access token and ID token by supplying a valid refresh token. + // + // * CUSTOM_AUTH: Custom authentication flow. + // + // * ADMIN_NO_SRP_AUTH: Non-SRP authentication flow; you can pass in the + // USERNAME and PASSWORD directly if the flow is enabled for calling the + // app client. + // + // AuthFlow is a required field + AuthFlow *string `type:"string" required:"true" enum:"AuthFlowType"` + + // The authentication parameters. These are inputs corresponding to the AuthFlow + // that you are invoking. The required values depend on the value of AuthFlow: + // + // * For USER_SRP_AUTH: USERNAME (required), SRP_A (required), SECRET_HASH + // (required if the app client is configured with a client secret), DEVICE_KEY + // + // * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: USERNAME (required), SECRET_HASH + // (required if the app client is configured with a client secret), REFRESH_TOKEN + // (required), DEVICE_KEY + // + // * For ADMIN_NO_SRP_AUTH: USERNAME (required), SECRET_HASH (if app client + // is configured with client secret), PASSWORD (required), DEVICE_KEY + // + // * For CUSTOM_AUTH: USERNAME (required), SECRET_HASH (if app client is + // configured with client secret), DEVICE_KEY + AuthParameters map[string]*string `type:"map"` + + // The app client ID. + // + // ClientId is a required field + ClientId *string `min:"1" type:"string" required:"true"` + + // This is a random key-value pair map which can contain any key and will be + // passed to your PreAuthentication Lambda trigger as-is. It can be used to + // implement additional validations around authentication. + ClientMetadata map[string]*string `type:"map"` + + // Contextual data such as the user's device fingerprint, IP address, or location + // used for evaluating the risk of an unexpected event by Amazon Cognito advanced + // security. + ContextData *ContextDataType `type:"structure"` + + // The ID of the Amazon Cognito user pool. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminInitiateAuthInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminInitiateAuthInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminInitiateAuthInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminInitiateAuthInput"} + if s.AuthFlow == nil { + invalidParams.Add(request.NewErrParamRequired("AuthFlow")) + } + if s.ClientId == nil { + invalidParams.Add(request.NewErrParamRequired("ClientId")) + } + if s.ClientId != nil && len(*s.ClientId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.ContextData != nil { + if err := s.ContextData.Validate(); err != nil { + invalidParams.AddNested("ContextData", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. +func (s *AdminInitiateAuthInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *AdminInitiateAuthInput { + s.AnalyticsMetadata = v + return s +} + +// SetAuthFlow sets the AuthFlow field's value. +func (s *AdminInitiateAuthInput) SetAuthFlow(v string) *AdminInitiateAuthInput { + s.AuthFlow = &v + return s +} + +// SetAuthParameters sets the AuthParameters field's value. +func (s *AdminInitiateAuthInput) SetAuthParameters(v map[string]*string) *AdminInitiateAuthInput { + s.AuthParameters = v + return s +} + +// SetClientId sets the ClientId field's value. +func (s *AdminInitiateAuthInput) SetClientId(v string) *AdminInitiateAuthInput { + s.ClientId = &v + return s +} + +// SetClientMetadata sets the ClientMetadata field's value. +func (s *AdminInitiateAuthInput) SetClientMetadata(v map[string]*string) *AdminInitiateAuthInput { + s.ClientMetadata = v + return s +} + +// SetContextData sets the ContextData field's value. +func (s *AdminInitiateAuthInput) SetContextData(v *ContextDataType) *AdminInitiateAuthInput { + s.ContextData = v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminInitiateAuthInput) SetUserPoolId(v string) *AdminInitiateAuthInput { + s.UserPoolId = &v + return s +} + +// Initiates the authentication response, as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuthResponse +type AdminInitiateAuthOutput struct { + _ struct{} `type:"structure"` + + // The result of the authentication response. This is only returned if the caller + // does not need to pass another challenge. If the caller does need to pass + // another challenge before it gets tokens, ChallengeName, ChallengeParameters, + // and Session are returned. + AuthenticationResult *AuthenticationResultType `type:"structure"` + + // The name of the challenge which you are responding to with this call. This + // is returned to you in the AdminInitiateAuth response if you need to pass + // another challenge. + // + // * SMS_MFA: Next challenge is to supply an SMS_MFA_CODE, delivered via + // SMS. + // + // * PASSWORD_VERIFIER: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE, + // PASSWORD_CLAIM_SECRET_BLOCK, and TIMESTAMP after the client-side SRP calculations. + // + // * CUSTOM_CHALLENGE: This is returned if your custom authentication flow + // determines that the user should pass another challenge before tokens are + // issued. + // + // * DEVICE_SRP_AUTH: If device tracking was enabled on your user pool and + // the previous challenges were passed, this challenge is returned so that + // Amazon Cognito can start tracking this device. + // + // * DEVICE_PASSWORD_VERIFIER: Similar to PASSWORD_VERIFIER, but for devices + // only. + // + // * ADMIN_NO_SRP_AUTH: This is returned if you need to authenticate with + // USERNAME and PASSWORD directly. An app client must be enabled to use this + // flow. + // + // * NEW_PASSWORD_REQUIRED: For users which are required to change their + // passwords after successful first login. This challenge should be passed + // with NEW_PASSWORD and any other required attributes. + ChallengeName *string `type:"string" enum:"ChallengeNameType"` + + // The challenge parameters. These are returned to you in the AdminInitiateAuth + // response if you need to pass another challenge. The responses in this parameter + // should be used to compute inputs to the next call (AdminRespondToAuthChallenge). + // + // All challenges require USERNAME and SECRET_HASH (if applicable). + // + // The value of the USER_IF_FOR_SRP attribute will be the user's actual username, + // not an alias (such as email address or phone number), even if you specified + // an alias in your call to AdminInitiateAuth. This is because, in the AdminRespondToAuthChallenge + // API ChallengeResponses, the USERNAME attribute cannot be an alias. + ChallengeParameters map[string]*string `type:"map"` + + // The session which should be passed both ways in challenge-response calls + // to the service. If AdminInitiateAuth or AdminRespondToAuthChallenge API call + // determines that the caller needs to go through another challenge, they return + // a session with other challenge parameters. This session should be passed + // as it is to the next AdminRespondToAuthChallenge API call. + Session *string `min:"20" type:"string"` +} + +// String returns the string representation +func (s AdminInitiateAuthOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminInitiateAuthOutput) GoString() string { + return s.String() +} + +// SetAuthenticationResult sets the AuthenticationResult field's value. +func (s *AdminInitiateAuthOutput) SetAuthenticationResult(v *AuthenticationResultType) *AdminInitiateAuthOutput { + s.AuthenticationResult = v + return s +} + +// SetChallengeName sets the ChallengeName field's value. +func (s *AdminInitiateAuthOutput) SetChallengeName(v string) *AdminInitiateAuthOutput { + s.ChallengeName = &v + return s +} + +// SetChallengeParameters sets the ChallengeParameters field's value. +func (s *AdminInitiateAuthOutput) SetChallengeParameters(v map[string]*string) *AdminInitiateAuthOutput { + s.ChallengeParameters = v + return s +} + +// SetSession sets the Session field's value. +func (s *AdminInitiateAuthOutput) SetSession(v string) *AdminInitiateAuthOutput { + s.Session = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminLinkProviderForUserRequest +type AdminLinkProviderForUserInput struct { + _ struct{} `type:"structure"` + + // The existing user in the user pool to be linked to the external identity + // provider user account. Can be a native (Username + Password) Cognito User + // Pools user or a federated user (for example, a SAML or Facebook user). If + // the user doesn't exist, an exception is thrown. This is the user that is + // returned when the new user (with the linked identity provider attribute) + // signs in. + // + // For a native username + password user, the ProviderAttributeValue for the + // DestinationUser should be the username in the user pool. For a federated + // user, it should be the provider-specific user_id. + // + // The ProviderAttributeName of the DestinationUser is ignored. + // + // The ProviderName should be set to Cognito for users in Cognito user pools. + // + // DestinationUser is a required field + DestinationUser *ProviderUserIdentifierType `type:"structure" required:"true"` + + // An external identity provider account for a user who does not currently exist + // yet in the user pool. This user must be a federated user (for example, a + // SAML or Facebook user), not another native user. + // + // If the SourceUser is a federated social identity provider user (Facebook, + // Google, or Login with Amazon), you must set the ProviderAttributeName to + // Cognito_Subject. For social identity providers, the ProviderName will be + // Facebook, Google, or LoginWithAmazon, and Cognito will automatically parse + // the Facebook, Google, and Login with Amazon tokens for id, sub, and user_id, + // respectively. The ProviderAttributeValue for the user must be the same value + // as the id, sub, or user_id value found in the social identity provider token. + // + // For SAML, the ProviderAttributeNamecan be any value that matches a claim in the SAML assertion. If you wish + // to link SAML users based on the subject of the SAML assertion, you should + // map the subject to a claim through the SAML identity provider and submit + // that claim name as the ProviderAttributeName. If you set ProviderAttributeNameto Cognito_Subject + // + // SourceUser is a required field + SourceUser *ProviderUserIdentifierType `type:"structure" required:"true"` + + // The user pool ID for the user pool. + // + // UserPoolId is a required field + UserPoolId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminLinkProviderForUserInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminLinkProviderForUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminLinkProviderForUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminLinkProviderForUserInput"} + if s.DestinationUser == nil { + invalidParams.Add(request.NewErrParamRequired("DestinationUser")) + } + if s.SourceUser == nil { + invalidParams.Add(request.NewErrParamRequired("SourceUser")) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.DestinationUser != nil { + if err := s.DestinationUser.Validate(); err != nil { + invalidParams.AddNested("DestinationUser", err.(request.ErrInvalidParams)) + } + } + if s.SourceUser != nil { + if err := s.SourceUser.Validate(); err != nil { + invalidParams.AddNested("SourceUser", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDestinationUser sets the DestinationUser field's value. +func (s *AdminLinkProviderForUserInput) SetDestinationUser(v *ProviderUserIdentifierType) *AdminLinkProviderForUserInput { + s.DestinationUser = v + return s +} + +// SetSourceUser sets the SourceUser field's value. +func (s *AdminLinkProviderForUserInput) SetSourceUser(v *ProviderUserIdentifierType) *AdminLinkProviderForUserInput { + s.SourceUser = v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminLinkProviderForUserInput) SetUserPoolId(v string) *AdminLinkProviderForUserInput { + s.UserPoolId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminLinkProviderForUserResponse +type AdminLinkProviderForUserOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AdminLinkProviderForUserOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminLinkProviderForUserOutput) GoString() string { + return s.String() +} + +// Represents the request to list devices, as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevicesRequest +type AdminListDevicesInput struct { + _ struct{} `type:"structure"` + + // The limit of the devices request. + Limit *int64 `type:"integer"` + + // The pagination token. + PaginationToken *string `min:"1" type:"string"` + + // The user pool ID. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The user name. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminListDevicesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminListDevicesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminListDevicesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminListDevicesInput"} + if s.PaginationToken != nil && len(*s.PaginationToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PaginationToken", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLimit sets the Limit field's value. +func (s *AdminListDevicesInput) SetLimit(v int64) *AdminListDevicesInput { + s.Limit = &v + return s +} + +// SetPaginationToken sets the PaginationToken field's value. +func (s *AdminListDevicesInput) SetPaginationToken(v string) *AdminListDevicesInput { + s.PaginationToken = &v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminListDevicesInput) SetUserPoolId(v string) *AdminListDevicesInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminListDevicesInput) SetUsername(v string) *AdminListDevicesInput { + s.Username = &v + return s +} + +// Lists the device's response, as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevicesResponse +type AdminListDevicesOutput struct { + _ struct{} `type:"structure"` + + // The devices in the list of devices response. + Devices []*DeviceType `type:"list"` + + // The pagination token. + PaginationToken *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s AdminListDevicesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminListDevicesOutput) GoString() string { + return s.String() +} + +// SetDevices sets the Devices field's value. +func (s *AdminListDevicesOutput) SetDevices(v []*DeviceType) *AdminListDevicesOutput { + s.Devices = v + return s +} + +// SetPaginationToken sets the PaginationToken field's value. +func (s *AdminListDevicesOutput) SetPaginationToken(v string) *AdminListDevicesOutput { + s.PaginationToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUserRequest +type AdminListGroupsForUserInput struct { + _ struct{} `type:"structure"` + + // The limit of the request to list groups. + Limit *int64 `type:"integer"` + + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `min:"1" type:"string"` + + // The user pool ID for the user pool. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The username for the user. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminListGroupsForUserInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminListGroupsForUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminListGroupsForUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminListGroupsForUserInput"} + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLimit sets the Limit field's value. +func (s *AdminListGroupsForUserInput) SetLimit(v int64) *AdminListGroupsForUserInput { + s.Limit = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *AdminListGroupsForUserInput) SetNextToken(v string) *AdminListGroupsForUserInput { + s.NextToken = &v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminListGroupsForUserInput) SetUserPoolId(v string) *AdminListGroupsForUserInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminListGroupsForUserInput) SetUsername(v string) *AdminListGroupsForUserInput { + s.Username = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUserResponse +type AdminListGroupsForUserOutput struct { + _ struct{} `type:"structure"` + + // The groups that the user belongs to. + Groups []*GroupType `type:"list"` + + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s AdminListGroupsForUserOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminListGroupsForUserOutput) GoString() string { + return s.String() +} + +// SetGroups sets the Groups field's value. +func (s *AdminListGroupsForUserOutput) SetGroups(v []*GroupType) *AdminListGroupsForUserOutput { + s.Groups = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *AdminListGroupsForUserOutput) SetNextToken(v string) *AdminListGroupsForUserOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListUserAuthEventsRequest +type AdminListUserAuthEventsInput struct { + _ struct{} `type:"structure"` + + // The maximum number of authentication events to return. + MaxResults *int64 `type:"integer"` + + // A pagination token. + NextToken *string `min:"1" type:"string"` + + // The user pool ID. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The user pool username. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminListUserAuthEventsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminListUserAuthEventsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminListUserAuthEventsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminListUserAuthEventsInput"} + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *AdminListUserAuthEventsInput) SetMaxResults(v int64) *AdminListUserAuthEventsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *AdminListUserAuthEventsInput) SetNextToken(v string) *AdminListUserAuthEventsInput { + s.NextToken = &v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminListUserAuthEventsInput) SetUserPoolId(v string) *AdminListUserAuthEventsInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminListUserAuthEventsInput) SetUsername(v string) *AdminListUserAuthEventsInput { + s.Username = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListUserAuthEventsResponse +type AdminListUserAuthEventsOutput struct { + _ struct{} `type:"structure"` + + // The response object. It includes the EventID, EventType, CreationDate, EventRisk, + // and EventResponse. + AuthEvents []*AuthEventType `type:"list"` + + // A pagination token. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s AdminListUserAuthEventsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminListUserAuthEventsOutput) GoString() string { + return s.String() +} + +// SetAuthEvents sets the AuthEvents field's value. +func (s *AdminListUserAuthEventsOutput) SetAuthEvents(v []*AuthEventType) *AdminListUserAuthEventsOutput { + s.AuthEvents = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *AdminListUserAuthEventsOutput) SetNextToken(v string) *AdminListUserAuthEventsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroupRequest +type AdminRemoveUserFromGroupInput struct { + _ struct{} `type:"structure"` + + // The group name. + // + // GroupName is a required field + GroupName *string `min:"1" type:"string" required:"true"` + + // The user pool ID for the user pool. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The username for the user. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminRemoveUserFromGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminRemoveUserFromGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminRemoveUserFromGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminRemoveUserFromGroupInput"} + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) + } + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetGroupName sets the GroupName field's value. +func (s *AdminRemoveUserFromGroupInput) SetGroupName(v string) *AdminRemoveUserFromGroupInput { + s.GroupName = &v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminRemoveUserFromGroupInput) SetUserPoolId(v string) *AdminRemoveUserFromGroupInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminRemoveUserFromGroupInput) SetUsername(v string) *AdminRemoveUserFromGroupInput { + s.Username = &v + return s } -// Represents the request to add custom attributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributesRequest -type AddCustomAttributesInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroupOutput +type AdminRemoveUserFromGroupOutput struct { _ struct{} `type:"structure"` +} - // An array of custom attributes, such as Mutable and Name. +// String returns the string representation +func (s AdminRemoveUserFromGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminRemoveUserFromGroupOutput) GoString() string { + return s.String() +} + +// Represents the request to reset a user's password as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPasswordRequest +type AdminResetUserPasswordInput struct { + _ struct{} `type:"structure"` + + // The user pool ID for the user pool where you want to reset the user's password. // - // CustomAttributes is a required field - CustomAttributes []*SchemaAttributeType `min:"1" type:"list" required:"true"` + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` - // The user pool ID for the user pool where you want to add custom attributes. + // The user name of the user whose password you wish to reset. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AdminResetUserPasswordInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminResetUserPasswordInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AdminResetUserPasswordInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminResetUserPasswordInput"} + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminResetUserPasswordInput) SetUserPoolId(v string) *AdminResetUserPasswordInput { + s.UserPoolId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *AdminResetUserPasswordInput) SetUsername(v string) *AdminResetUserPasswordInput { + s.Username = &v + return s +} + +// Represents the response from the server to reset a user password as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPasswordResponse +type AdminResetUserPasswordOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AdminResetUserPasswordOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminResetUserPasswordOutput) GoString() string { + return s.String() +} + +// The request to respond to the authentication challenge, as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallengeRequest +type AdminRespondToAuthChallengeInput struct { + _ struct{} `type:"structure"` + + // The analytics metadata for collecting Amazon Pinpoint metrics for AdminRespondToAuthChallenge + // calls. + AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` + + // The challenge name. For more information, see . + // + // ChallengeName is a required field + ChallengeName *string `type:"string" required:"true" enum:"ChallengeNameType"` + + // The challenge responses. These are inputs corresponding to the value of ChallengeName, + // for example: + // + // * SMS_MFA: SMS_MFA_CODE, USERNAME, SECRET_HASH (if app client is configured + // with client secret). + // + // * PASSWORD_VERIFIER: PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, + // TIMESTAMP, USERNAME, SECRET_HASH (if app client is configured with client + // secret). + // + // * ADMIN_NO_SRP_AUTH: PASSWORD, USERNAME, SECRET_HASH (if app client is + // configured with client secret). + // + // * NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other required attributes, + // USERNAME, SECRET_HASH (if app client is configured with client secret). + // + // + // The value of the USERNAME attribute must be the user's actual username, not + // an alias (such as email address or phone number). To make this easier, the + // AdminInitiateAuth response includes the actual username value in the USERNAMEUSER_ID_FOR_SRP + // attribute, even if you specified an alias in your call to AdminInitiateAuth. + ChallengeResponses map[string]*string `type:"map"` + + // The app client ID. + // + // ClientId is a required field + ClientId *string `min:"1" type:"string" required:"true"` + + // Contextual data such as the user's device fingerprint, IP address, or location + // used for evaluating the risk of an unexpected event by Amazon Cognito advanced + // security. + ContextData *ContextDataType `type:"structure"` + + // The session which should be passed both ways in challenge-response calls + // to the service. If InitiateAuth or RespondToAuthChallenge API call determines + // that the caller needs to go through another challenge, they return a session + // with other challenge parameters. This session should be passed as it is to + // the next RespondToAuthChallenge API call. + Session *string `min:"20" type:"string"` + + // The ID of the Amazon Cognito user pool. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s AddCustomAttributesInput) String() string { +func (s AdminRespondToAuthChallengeInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AddCustomAttributesInput) GoString() string { +func (s AdminRespondToAuthChallengeInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AddCustomAttributesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AddCustomAttributesInput"} - if s.CustomAttributes == nil { - invalidParams.Add(request.NewErrParamRequired("CustomAttributes")) +func (s *AdminRespondToAuthChallengeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminRespondToAuthChallengeInput"} + if s.ChallengeName == nil { + invalidParams.Add(request.NewErrParamRequired("ChallengeName")) } - if s.CustomAttributes != nil && len(s.CustomAttributes) < 1 { - invalidParams.Add(request.NewErrParamMinLen("CustomAttributes", 1)) + if s.ClientId == nil { + invalidParams.Add(request.NewErrParamRequired("ClientId")) + } + if s.ClientId != nil && len(*s.ClientId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) + } + if s.Session != nil && len(*s.Session) < 20 { + invalidParams.Add(request.NewErrParamMinLen("Session", 20)) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -8917,14 +12493,9 @@ func (s *AddCustomAttributesInput) Validate() error { if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } - if s.CustomAttributes != nil { - for i, v := range s.CustomAttributes { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CustomAttributes", i), err.(request.ErrInvalidParams)) - } + if s.ContextData != nil { + if err := s.ContextData.Validate(); err != nil { + invalidParams.AddNested("ContextData", err.(request.ErrInvalidParams)) } } @@ -8934,73 +12505,138 @@ func (s *AddCustomAttributesInput) Validate() error { return nil } -// SetCustomAttributes sets the CustomAttributes field's value. -func (s *AddCustomAttributesInput) SetCustomAttributes(v []*SchemaAttributeType) *AddCustomAttributesInput { - s.CustomAttributes = v +// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. +func (s *AdminRespondToAuthChallengeInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *AdminRespondToAuthChallengeInput { + s.AnalyticsMetadata = v + return s +} + +// SetChallengeName sets the ChallengeName field's value. +func (s *AdminRespondToAuthChallengeInput) SetChallengeName(v string) *AdminRespondToAuthChallengeInput { + s.ChallengeName = &v + return s +} + +// SetChallengeResponses sets the ChallengeResponses field's value. +func (s *AdminRespondToAuthChallengeInput) SetChallengeResponses(v map[string]*string) *AdminRespondToAuthChallengeInput { + s.ChallengeResponses = v + return s +} + +// SetClientId sets the ClientId field's value. +func (s *AdminRespondToAuthChallengeInput) SetClientId(v string) *AdminRespondToAuthChallengeInput { + s.ClientId = &v + return s +} + +// SetContextData sets the ContextData field's value. +func (s *AdminRespondToAuthChallengeInput) SetContextData(v *ContextDataType) *AdminRespondToAuthChallengeInput { + s.ContextData = v + return s +} + +// SetSession sets the Session field's value. +func (s *AdminRespondToAuthChallengeInput) SetSession(v string) *AdminRespondToAuthChallengeInput { + s.Session = &v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *AddCustomAttributesInput) SetUserPoolId(v string) *AddCustomAttributesInput { +func (s *AdminRespondToAuthChallengeInput) SetUserPoolId(v string) *AdminRespondToAuthChallengeInput { s.UserPoolId = &v return s } -// Represents the response from the server for the request to add custom attributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributesResponse -type AddCustomAttributesOutput struct { +// Responds to the authentication challenge, as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallengeResponse +type AdminRespondToAuthChallengeOutput struct { _ struct{} `type:"structure"` + + // The result returned by the server in response to the authentication request. + AuthenticationResult *AuthenticationResultType `type:"structure"` + + // The name of the challenge. For more information, see . + ChallengeName *string `type:"string" enum:"ChallengeNameType"` + + // The challenge parameters. For more information, see . + ChallengeParameters map[string]*string `type:"map"` + + // The session which should be passed both ways in challenge-response calls + // to the service. If the or API call determines that the caller needs to go + // through another challenge, they return a session with other challenge parameters. + // This session should be passed as it is to the next RespondToAuthChallenge + // API call. + Session *string `min:"20" type:"string"` } // String returns the string representation -func (s AddCustomAttributesOutput) String() string { +func (s AdminRespondToAuthChallengeOutput) String() string { return awsutil.Prettify(s) } -// GoString returns the string representation -func (s AddCustomAttributesOutput) GoString() string { - return s.String() +// GoString returns the string representation +func (s AdminRespondToAuthChallengeOutput) GoString() string { + return s.String() +} + +// SetAuthenticationResult sets the AuthenticationResult field's value. +func (s *AdminRespondToAuthChallengeOutput) SetAuthenticationResult(v *AuthenticationResultType) *AdminRespondToAuthChallengeOutput { + s.AuthenticationResult = v + return s +} + +// SetChallengeName sets the ChallengeName field's value. +func (s *AdminRespondToAuthChallengeOutput) SetChallengeName(v string) *AdminRespondToAuthChallengeOutput { + s.ChallengeName = &v + return s +} + +// SetChallengeParameters sets the ChallengeParameters field's value. +func (s *AdminRespondToAuthChallengeOutput) SetChallengeParameters(v map[string]*string) *AdminRespondToAuthChallengeOutput { + s.ChallengeParameters = v + return s +} + +// SetSession sets the Session field's value. +func (s *AdminRespondToAuthChallengeOutput) SetSession(v string) *AdminRespondToAuthChallengeOutput { + s.Session = &v + return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroupRequest -type AdminAddUserToGroupInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserMFAPreferenceRequest +type AdminSetUserMFAPreferenceInput struct { _ struct{} `type:"structure"` - // The group name. - // - // GroupName is a required field - GroupName *string `min:"1" type:"string" required:"true"` + // The SMS text message MFA settings. + SMSMfaSettings *SMSMfaSettingsType `type:"structure"` - // The user pool ID for the user pool. + // The time-based one-time password software token MFA settings. + SoftwareTokenMfaSettings *SoftwareTokenMfaSettingsType `type:"structure"` + + // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` - // The username for the user. + // The user pool username. // // Username is a required field Username *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s AdminAddUserToGroupInput) String() string { +func (s AdminSetUserMFAPreferenceInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminAddUserToGroupInput) GoString() string { +func (s AdminSetUserMFAPreferenceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminAddUserToGroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminAddUserToGroupInput"} - if s.GroupName == nil { - invalidParams.Add(request.NewErrParamRequired("GroupName")) - } - if s.GroupName != nil && len(*s.GroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) - } +func (s *AdminSetUserMFAPreferenceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminSetUserMFAPreferenceInput"} if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) } @@ -9020,68 +12656,83 @@ func (s *AdminAddUserToGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *AdminAddUserToGroupInput) SetGroupName(v string) *AdminAddUserToGroupInput { - s.GroupName = &v +// SetSMSMfaSettings sets the SMSMfaSettings field's value. +func (s *AdminSetUserMFAPreferenceInput) SetSMSMfaSettings(v *SMSMfaSettingsType) *AdminSetUserMFAPreferenceInput { + s.SMSMfaSettings = v + return s +} + +// SetSoftwareTokenMfaSettings sets the SoftwareTokenMfaSettings field's value. +func (s *AdminSetUserMFAPreferenceInput) SetSoftwareTokenMfaSettings(v *SoftwareTokenMfaSettingsType) *AdminSetUserMFAPreferenceInput { + s.SoftwareTokenMfaSettings = v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *AdminAddUserToGroupInput) SetUserPoolId(v string) *AdminAddUserToGroupInput { +func (s *AdminSetUserMFAPreferenceInput) SetUserPoolId(v string) *AdminSetUserMFAPreferenceInput { s.UserPoolId = &v return s } // SetUsername sets the Username field's value. -func (s *AdminAddUserToGroupInput) SetUsername(v string) *AdminAddUserToGroupInput { +func (s *AdminSetUserMFAPreferenceInput) SetUsername(v string) *AdminSetUserMFAPreferenceInput { s.Username = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroupOutput -type AdminAddUserToGroupOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserMFAPreferenceResponse +type AdminSetUserMFAPreferenceOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s AdminAddUserToGroupOutput) String() string { +func (s AdminSetUserMFAPreferenceOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminAddUserToGroupOutput) GoString() string { +func (s AdminSetUserMFAPreferenceOutput) GoString() string { return s.String() } -// Represents the request to confirm user registration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUpRequest -type AdminConfirmSignUpInput struct { +// Represents the request to set user settings as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettingsRequest +type AdminSetUserSettingsInput struct { _ struct{} `type:"structure"` - // The user pool ID for which you want to confirm user registration. + // Specifies the options for MFA (e.g., email or phone number). + // + // MFAOptions is a required field + MFAOptions []*MFAOptionType `type:"list" required:"true"` + + // The user pool ID for the user pool where you want to set the user's settings, + // such as MFA options. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` - // The user name for which you want to confirm user registration. + // The user name of the user for whom you wish to set user settings. // // Username is a required field Username *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s AdminConfirmSignUpInput) String() string { +func (s AdminSetUserSettingsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminConfirmSignUpInput) GoString() string { +func (s AdminSetUserSettingsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminConfirmSignUpInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminConfirmSignUpInput"} +func (s *AdminSetUserSettingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminSetUserSettingsInput"} + if s.MFAOptions == nil { + invalidParams.Add(request.NewErrParamRequired("MFAOptions")) + } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) } @@ -9094,6 +12745,16 @@ func (s *AdminConfirmSignUpInput) Validate() error { if s.Username != nil && len(*s.Username) < 1 { invalidParams.Add(request.NewErrParamMinLen("Username", 1)) } + if s.MFAOptions != nil { + for i, v := range s.MFAOptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MFAOptions", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -9101,70 +12762,98 @@ func (s *AdminConfirmSignUpInput) Validate() error { return nil } +// SetMFAOptions sets the MFAOptions field's value. +func (s *AdminSetUserSettingsInput) SetMFAOptions(v []*MFAOptionType) *AdminSetUserSettingsInput { + s.MFAOptions = v + return s +} + // SetUserPoolId sets the UserPoolId field's value. -func (s *AdminConfirmSignUpInput) SetUserPoolId(v string) *AdminConfirmSignUpInput { +func (s *AdminSetUserSettingsInput) SetUserPoolId(v string) *AdminSetUserSettingsInput { s.UserPoolId = &v return s } // SetUsername sets the Username field's value. -func (s *AdminConfirmSignUpInput) SetUsername(v string) *AdminConfirmSignUpInput { +func (s *AdminSetUserSettingsInput) SetUsername(v string) *AdminSetUserSettingsInput { s.Username = &v return s } -// Represents the response from the server for the request to confirm registration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUpResponse -type AdminConfirmSignUpOutput struct { +// Represents the response from the server to set user settings as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettingsResponse +type AdminSetUserSettingsOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s AdminConfirmSignUpOutput) String() string { +func (s AdminSetUserSettingsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminConfirmSignUpOutput) GoString() string { +func (s AdminSetUserSettingsOutput) GoString() string { return s.String() } -// The type of configuration for creating a new user profile. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUserConfigType -type AdminCreateUserConfigType struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateAuthEventFeedbackRequest +type AdminUpdateAuthEventFeedbackInput struct { _ struct{} `type:"structure"` - // Set to True if only the administrator is allowed to create user profiles. - // Set to False if users can sign themselves up via an app. - AllowAdminCreateUserOnly *bool `type:"boolean"` + // The authentication event ID. + // + // EventId is a required field + EventId *string `min:"1" type:"string" required:"true"` - // The message template to be used for the welcome message to new users. - InviteMessageTemplate *MessageTemplateType `type:"structure"` + // The authentication event feedback value. + // + // FeedbackValue is a required field + FeedbackValue *string `type:"string" required:"true" enum:"FeedbackValueType"` - // The user account expiration limit, in days, after which the account is no - // longer usable. To reset the account after that time limit, you must call - // AdminCreateUser again, specifying "RESEND" for the MessageAction parameter. - // The default value for this parameter is 7. - UnusedAccountValidityDays *int64 `type:"integer"` + // The user pool ID. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The user pool username. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s AdminCreateUserConfigType) String() string { +func (s AdminUpdateAuthEventFeedbackInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminCreateUserConfigType) GoString() string { +func (s AdminUpdateAuthEventFeedbackInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminCreateUserConfigType) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminCreateUserConfigType"} - if s.InviteMessageTemplate != nil { - if err := s.InviteMessageTemplate.Validate(); err != nil { - invalidParams.AddNested("InviteMessageTemplate", err.(request.ErrInvalidParams)) - } +func (s *AdminUpdateAuthEventFeedbackInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminUpdateAuthEventFeedbackInput"} + if s.EventId == nil { + invalidParams.Add(request.NewErrParamRequired("EventId")) + } + if s.EventId != nil && len(*s.EventId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EventId", 1)) + } + if s.FeedbackValue == nil { + invalidParams.Add(request.NewErrParamRequired("FeedbackValue")) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) } if invalidParams.Len() > 0 { @@ -9173,140 +12862,87 @@ func (s *AdminCreateUserConfigType) Validate() error { return nil } -// SetAllowAdminCreateUserOnly sets the AllowAdminCreateUserOnly field's value. -func (s *AdminCreateUserConfigType) SetAllowAdminCreateUserOnly(v bool) *AdminCreateUserConfigType { - s.AllowAdminCreateUserOnly = &v +// SetEventId sets the EventId field's value. +func (s *AdminUpdateAuthEventFeedbackInput) SetEventId(v string) *AdminUpdateAuthEventFeedbackInput { + s.EventId = &v return s } -// SetInviteMessageTemplate sets the InviteMessageTemplate field's value. -func (s *AdminCreateUserConfigType) SetInviteMessageTemplate(v *MessageTemplateType) *AdminCreateUserConfigType { - s.InviteMessageTemplate = v +// SetFeedbackValue sets the FeedbackValue field's value. +func (s *AdminUpdateAuthEventFeedbackInput) SetFeedbackValue(v string) *AdminUpdateAuthEventFeedbackInput { + s.FeedbackValue = &v return s } -// SetUnusedAccountValidityDays sets the UnusedAccountValidityDays field's value. -func (s *AdminCreateUserConfigType) SetUnusedAccountValidityDays(v int64) *AdminCreateUserConfigType { - s.UnusedAccountValidityDays = &v +// SetUserPoolId sets the UserPoolId field's value. +func (s *AdminUpdateAuthEventFeedbackInput) SetUserPoolId(v string) *AdminUpdateAuthEventFeedbackInput { + s.UserPoolId = &v return s } -// Represents the request to create a user in the specified user pool. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUserRequest -type AdminCreateUserInput struct { +// SetUsername sets the Username field's value. +func (s *AdminUpdateAuthEventFeedbackInput) SetUsername(v string) *AdminUpdateAuthEventFeedbackInput { + s.Username = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateAuthEventFeedbackResponse +type AdminUpdateAuthEventFeedbackOutput struct { _ struct{} `type:"structure"` +} - // Specify "EMAIL" if email will be used to send the welcome message. Specify - // "SMS" if the phone number will be used. The default value is "SMS". More - // than one value can be specified. - DesiredDeliveryMediums []*string `type:"list"` +// String returns the string representation +func (s AdminUpdateAuthEventFeedbackOutput) String() string { + return awsutil.Prettify(s) +} - // This parameter is only used if the phone_number_verified or email_verified - // attribute is set to True. Otherwise, it is ignored. - // - // If this parameter is set to True and the phone number or email address specified - // in the UserAttributes parameter already exists as an alias with a different - // user, the API call will migrate the alias from the previous user to the newly - // created user. The previous user will no longer be able to log in using that - // alias. - // - // If this parameter is set to False, the API throws an AliasExistsException - // error if the alias already exists. The default value is False. - ForceAliasCreation *bool `type:"boolean"` +// GoString returns the string representation +func (s AdminUpdateAuthEventFeedbackOutput) GoString() string { + return s.String() +} - // Set to "RESEND" to resend the invitation message to a user that already exists - // and reset the expiration limit on the user's account. Set to "SUPPRESS" to - // suppress sending the message. Only one value can be specified. - MessageAction *string `type:"string" enum:"MessageActionType"` +// The request to update the device status, as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatusRequest +type AdminUpdateDeviceStatusInput struct { + _ struct{} `type:"structure"` - // The user's temporary password. This password must conform to the password - // policy that you specified when you created the user pool. - // - // The temporary password is valid only once. To complete the Admin Create User - // flow, the user must enter the temporary password in the sign-in page along - // with a new password to be used in all future sign-ins. - // - // This parameter is not required. If you do not specify a value, Amazon Cognito - // generates one for you. + // The device key. // - // The temporary password can only be used until the user account expiration - // limit that you specified when you created the user pool. To reset the account - // after that time limit, you must call AdminCreateUser again, specifying "RESEND" - // for the MessageAction parameter. - TemporaryPassword *string `min:"6" type:"string"` + // DeviceKey is a required field + DeviceKey *string `min:"1" type:"string" required:"true"` - // An array of name-value pairs that contain user attributes and attribute values - // to be set for the user to be created. You can create a user without specifying - // any attributes other than Username. However, any attributes that you specify - // as required (in CreateUserPool (API_CreateUserPool.html) or in the Attributes - // tab of the console) must be supplied either by you (in your call to AdminCreateUser) - // or by the user (when he or she signs up in response to your welcome message). - // - // For custom attributes, you must prepend the custom: prefix to the attribute - // name. - // - // To send a message inviting the user to sign up, you must specify the user's - // email address or phone number. This can be done in your call to AdminCreateUser - // or in the Users tab of the Amazon Cognito console for managing your user - // pools. - // - // In your call to AdminCreateUser, you can set the email_verified attribute - // to True, and you can set the phone_number_verified attribute to True. (You - // can also do this by calling AdminUpdateUserAttributes (API_AdminUpdateUserAttributes.html).) - // - // * email: The email address of the user to whom the message that contains - // the code and username will be sent. Required if the email_verified attribute - // is set to True, or if "EMAIL" is specified in the DesiredDeliveryMediums - // parameter. - // - // * phone_number: The phone number of the user to whom the message that - // contains the code and username will be sent. Required if the phone_number_verified - // attribute is set to True, or if "SMS" is specified in the DesiredDeliveryMediums - // parameter. - UserAttributes []*AttributeType `type:"list"` + // The status indicating whether a device has been remembered or not. + DeviceRememberedStatus *string `type:"string" enum:"DeviceRememberedStatusType"` - // The user pool ID for the user pool where the user will be created. + // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` - // The username for the user. Must be unique within the user pool. Must be a - // UTF-8 string between 1 and 128 characters. After the user is created, the - // username cannot be changed. + // The user name. // // Username is a required field Username *string `min:"1" type:"string" required:"true"` - - // The user's validation data. This is an array of name-value pairs that contain - // user attributes and attribute values that you can use for custom validation, - // such as restricting the types of user accounts that can be registered. For - // example, you might choose to allow or disallow user sign-up based on the - // user's domain. - // - // To configure custom validation, you must create a Pre Sign-up Lambda trigger - // for the user pool as described in the Amazon Cognito Developer Guide. The - // Lambda trigger receives the validation data and uses it in the validation - // process. - // - // The user's validation data is not persisted. - ValidationData []*AttributeType `type:"list"` } // String returns the string representation -func (s AdminCreateUserInput) String() string { +func (s AdminUpdateDeviceStatusInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminCreateUserInput) GoString() string { +func (s AdminUpdateDeviceStatusInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminCreateUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminCreateUserInput"} - if s.TemporaryPassword != nil && len(*s.TemporaryPassword) < 6 { - invalidParams.Add(request.NewErrParamMinLen("TemporaryPassword", 6)) +func (s *AdminUpdateDeviceStatusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminUpdateDeviceStatusInput"} + if s.DeviceKey == nil { + invalidParams.Add(request.NewErrParamRequired("DeviceKey")) + } + if s.DeviceKey != nil && len(*s.DeviceKey) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceKey", 1)) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -9320,26 +12956,6 @@ func (s *AdminCreateUserInput) Validate() error { if s.Username != nil && len(*s.Username) < 1 { invalidParams.Add(request.NewErrParamMinLen("Username", 1)) } - if s.UserAttributes != nil { - for i, v := range s.UserAttributes { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UserAttributes", i), err.(request.ErrInvalidParams)) - } - } - } - if s.ValidationData != nil { - for i, v := range s.ValidationData { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ValidationData", i), err.(request.ErrInvalidParams)) - } - } - } if invalidParams.Len() > 0 { return invalidParams @@ -9347,118 +12963,85 @@ func (s *AdminCreateUserInput) Validate() error { return nil } -// SetDesiredDeliveryMediums sets the DesiredDeliveryMediums field's value. -func (s *AdminCreateUserInput) SetDesiredDeliveryMediums(v []*string) *AdminCreateUserInput { - s.DesiredDeliveryMediums = v - return s -} - -// SetForceAliasCreation sets the ForceAliasCreation field's value. -func (s *AdminCreateUserInput) SetForceAliasCreation(v bool) *AdminCreateUserInput { - s.ForceAliasCreation = &v - return s -} - -// SetMessageAction sets the MessageAction field's value. -func (s *AdminCreateUserInput) SetMessageAction(v string) *AdminCreateUserInput { - s.MessageAction = &v - return s -} - -// SetTemporaryPassword sets the TemporaryPassword field's value. -func (s *AdminCreateUserInput) SetTemporaryPassword(v string) *AdminCreateUserInput { - s.TemporaryPassword = &v +// SetDeviceKey sets the DeviceKey field's value. +func (s *AdminUpdateDeviceStatusInput) SetDeviceKey(v string) *AdminUpdateDeviceStatusInput { + s.DeviceKey = &v return s } -// SetUserAttributes sets the UserAttributes field's value. -func (s *AdminCreateUserInput) SetUserAttributes(v []*AttributeType) *AdminCreateUserInput { - s.UserAttributes = v +// SetDeviceRememberedStatus sets the DeviceRememberedStatus field's value. +func (s *AdminUpdateDeviceStatusInput) SetDeviceRememberedStatus(v string) *AdminUpdateDeviceStatusInput { + s.DeviceRememberedStatus = &v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *AdminCreateUserInput) SetUserPoolId(v string) *AdminCreateUserInput { +func (s *AdminUpdateDeviceStatusInput) SetUserPoolId(v string) *AdminUpdateDeviceStatusInput { s.UserPoolId = &v return s } // SetUsername sets the Username field's value. -func (s *AdminCreateUserInput) SetUsername(v string) *AdminCreateUserInput { +func (s *AdminUpdateDeviceStatusInput) SetUsername(v string) *AdminUpdateDeviceStatusInput { s.Username = &v return s } -// SetValidationData sets the ValidationData field's value. -func (s *AdminCreateUserInput) SetValidationData(v []*AttributeType) *AdminCreateUserInput { - s.ValidationData = v - return s -} - -// Represents the response from the server to the request to create the user. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUserResponse -type AdminCreateUserOutput struct { +// The status response from the request to update the device, as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatusResponse +type AdminUpdateDeviceStatusOutput struct { _ struct{} `type:"structure"` - - // The newly created user. - User *UserType `type:"structure"` } // String returns the string representation -func (s AdminCreateUserOutput) String() string { +func (s AdminUpdateDeviceStatusOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminCreateUserOutput) GoString() string { +func (s AdminUpdateDeviceStatusOutput) GoString() string { return s.String() } -// SetUser sets the User field's value. -func (s *AdminCreateUserOutput) SetUser(v *UserType) *AdminCreateUserOutput { - s.User = v - return s -} - -// Represents the request to delete user attributes as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributesRequest -type AdminDeleteUserAttributesInput struct { +// Represents the request to update the user's attributes as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributesRequest +type AdminUpdateUserAttributesInput struct { _ struct{} `type:"structure"` - // An array of strings representing the user attribute names you wish to delete. + // An array of name-value pairs representing user attributes. // // For custom attributes, you must prepend the custom: prefix to the attribute // name. // - // UserAttributeNames is a required field - UserAttributeNames []*string `type:"list" required:"true"` + // UserAttributes is a required field + UserAttributes []*AttributeType `type:"list" required:"true"` - // The user pool ID for the user pool where you want to delete user attributes. + // The user pool ID for the user pool where you want to update user attributes. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` - // The user name of the user from which you would like to delete attributes. + // The user name of the user for whom you want to update user attributes. // // Username is a required field Username *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s AdminDeleteUserAttributesInput) String() string { +func (s AdminUpdateUserAttributesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminDeleteUserAttributesInput) GoString() string { +func (s AdminUpdateUserAttributesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminDeleteUserAttributesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminDeleteUserAttributesInput"} - if s.UserAttributeNames == nil { - invalidParams.Add(request.NewErrParamRequired("UserAttributeNames")) +func (s *AdminUpdateUserAttributesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminUpdateUserAttributesInput"} + if s.UserAttributes == nil { + invalidParams.Add(request.NewErrParamRequired("UserAttributes")) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -9472,6 +13055,16 @@ func (s *AdminDeleteUserAttributesInput) Validate() error { if s.Username != nil && len(*s.Username) < 1 { invalidParams.Add(request.NewErrParamMinLen("Username", 1)) } + if s.UserAttributes != nil { + for i, v := range s.UserAttributes { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UserAttributes", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -9479,70 +13072,70 @@ func (s *AdminDeleteUserAttributesInput) Validate() error { return nil } -// SetUserAttributeNames sets the UserAttributeNames field's value. -func (s *AdminDeleteUserAttributesInput) SetUserAttributeNames(v []*string) *AdminDeleteUserAttributesInput { - s.UserAttributeNames = v +// SetUserAttributes sets the UserAttributes field's value. +func (s *AdminUpdateUserAttributesInput) SetUserAttributes(v []*AttributeType) *AdminUpdateUserAttributesInput { + s.UserAttributes = v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *AdminDeleteUserAttributesInput) SetUserPoolId(v string) *AdminDeleteUserAttributesInput { +func (s *AdminUpdateUserAttributesInput) SetUserPoolId(v string) *AdminUpdateUserAttributesInput { s.UserPoolId = &v return s } // SetUsername sets the Username field's value. -func (s *AdminDeleteUserAttributesInput) SetUsername(v string) *AdminDeleteUserAttributesInput { +func (s *AdminUpdateUserAttributesInput) SetUsername(v string) *AdminUpdateUserAttributesInput { s.Username = &v return s } -// Represents the response received from the server for a request to delete -// user attributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributesResponse -type AdminDeleteUserAttributesOutput struct { +// Represents the response from the server for the request to update user attributes +// as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributesResponse +type AdminUpdateUserAttributesOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s AdminDeleteUserAttributesOutput) String() string { +func (s AdminUpdateUserAttributesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminDeleteUserAttributesOutput) GoString() string { +func (s AdminUpdateUserAttributesOutput) GoString() string { return s.String() } -// Represents the request to delete a user as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserRequest -type AdminDeleteUserInput struct { +// The request to sign out of all devices, as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOutRequest +type AdminUserGlobalSignOutInput struct { _ struct{} `type:"structure"` - // The user pool ID for the user pool where you want to delete the user. + // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` - // The user name of the user you wish to delete. + // The user name. // // Username is a required field Username *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s AdminDeleteUserInput) String() string { +func (s AdminUserGlobalSignOutInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminDeleteUserInput) GoString() string { +func (s AdminUserGlobalSignOutInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminDeleteUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminDeleteUserInput"} +func (s *AdminUserGlobalSignOutInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AdminUserGlobalSignOutInput"} if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) } @@ -9563,70 +13156,84 @@ func (s *AdminDeleteUserInput) Validate() error { } // SetUserPoolId sets the UserPoolId field's value. -func (s *AdminDeleteUserInput) SetUserPoolId(v string) *AdminDeleteUserInput { +func (s *AdminUserGlobalSignOutInput) SetUserPoolId(v string) *AdminUserGlobalSignOutInput { s.UserPoolId = &v return s } // SetUsername sets the Username field's value. -func (s *AdminDeleteUserInput) SetUsername(v string) *AdminDeleteUserInput { +func (s *AdminUserGlobalSignOutInput) SetUsername(v string) *AdminUserGlobalSignOutInput { s.Username = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserOutput -type AdminDeleteUserOutput struct { +// The global sign-out response, as an administrator. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOutResponse +type AdminUserGlobalSignOutOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s AdminDeleteUserOutput) String() string { +func (s AdminUserGlobalSignOutOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminDeleteUserOutput) GoString() string { +func (s AdminUserGlobalSignOutOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableProviderForUserRequest -type AdminDisableProviderForUserInput struct { +// The Amazon Pinpoint analytics configuration for collecting metrics for a +// user pool. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AnalyticsConfigurationType +type AnalyticsConfigurationType struct { _ struct{} `type:"structure"` - // The user to be disabled. + // The application ID for an Amazon Pinpoint application. // - // User is a required field - User *ProviderUserIdentifierType `type:"structure" required:"true"` + // ApplicationId is a required field + ApplicationId *string `type:"string" required:"true"` - // The user pool ID for the user pool. + // The external ID. // - // UserPoolId is a required field - UserPoolId *string `type:"string" required:"true"` + // ExternalId is a required field + ExternalId *string `type:"string" required:"true"` + + // The ARN of an IAM role that authorizes Amazon Cognito to publish events to + // Amazon Pinpoint analytics. + // + // RoleArn is a required field + RoleArn *string `min:"20" type:"string" required:"true"` + + // If UserDataShared is true, Amazon Cognito will include user data in the events + // it publishes to Amazon Pinpoint analytics. + UserDataShared *bool `type:"boolean"` } // String returns the string representation -func (s AdminDisableProviderForUserInput) String() string { +func (s AnalyticsConfigurationType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminDisableProviderForUserInput) GoString() string { +func (s AnalyticsConfigurationType) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminDisableProviderForUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminDisableProviderForUserInput"} - if s.User == nil { - invalidParams.Add(request.NewErrParamRequired("User")) +func (s *AnalyticsConfigurationType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AnalyticsConfigurationType"} + if s.ApplicationId == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationId")) } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + if s.ExternalId == nil { + invalidParams.Add(request.NewErrParamRequired("ExternalId")) } - if s.User != nil { - if err := s.User.Validate(); err != nil { - invalidParams.AddNested("User", err.(request.ErrInvalidParams)) - } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) } if invalidParams.Len() > 0 { @@ -9635,73 +13242,86 @@ func (s *AdminDisableProviderForUserInput) Validate() error { return nil } -// SetUser sets the User field's value. -func (s *AdminDisableProviderForUserInput) SetUser(v *ProviderUserIdentifierType) *AdminDisableProviderForUserInput { - s.User = v +// SetApplicationId sets the ApplicationId field's value. +func (s *AnalyticsConfigurationType) SetApplicationId(v string) *AnalyticsConfigurationType { + s.ApplicationId = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminDisableProviderForUserInput) SetUserPoolId(v string) *AdminDisableProviderForUserInput { - s.UserPoolId = &v +// SetExternalId sets the ExternalId field's value. +func (s *AnalyticsConfigurationType) SetExternalId(v string) *AnalyticsConfigurationType { + s.ExternalId = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableProviderForUserResponse -type AdminDisableProviderForUserOutput struct { +// SetRoleArn sets the RoleArn field's value. +func (s *AnalyticsConfigurationType) SetRoleArn(v string) *AnalyticsConfigurationType { + s.RoleArn = &v + return s +} + +// SetUserDataShared sets the UserDataShared field's value. +func (s *AnalyticsConfigurationType) SetUserDataShared(v bool) *AnalyticsConfigurationType { + s.UserDataShared = &v + return s +} + +// An Amazon Pinpoint analytics endpoint. +// +// An endpoint uniquely identifies a mobile device, email address, or phone +// number that can receive messages from Amazon Pinpoint analytics. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AnalyticsMetadataType +type AnalyticsMetadataType struct { _ struct{} `type:"structure"` + + // The endpoint ID. + AnalyticsEndpointId *string `type:"string"` } // String returns the string representation -func (s AdminDisableProviderForUserOutput) String() string { +func (s AnalyticsMetadataType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminDisableProviderForUserOutput) GoString() string { +func (s AnalyticsMetadataType) GoString() string { return s.String() } -// Represents the request to disable any user as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUserRequest -type AdminDisableUserInput struct { +// SetAnalyticsEndpointId sets the AnalyticsEndpointId field's value. +func (s *AnalyticsMetadataType) SetAnalyticsEndpointId(v string) *AnalyticsMetadataType { + s.AnalyticsEndpointId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AssociateSoftwareTokenRequest +type AssociateSoftwareTokenInput struct { _ struct{} `type:"structure"` - // The user pool ID for the user pool where you want to disable the user. - // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // The access token. + AccessToken *string `type:"string"` - // The user name of the user you wish to disable. - // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` + // The session which should be passed both ways in challenge-response calls + // to the service. This allows authentication of the user as part of the MFA + // setup process. + Session *string `min:"20" type:"string"` } // String returns the string representation -func (s AdminDisableUserInput) String() string { +func (s AssociateSoftwareTokenInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminDisableUserInput) GoString() string { +func (s AssociateSoftwareTokenInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminDisableUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminDisableUserInput"} - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) - } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) - } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) - } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) +func (s *AssociateSoftwareTokenInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AssociateSoftwareTokenInput"} + if s.Session != nil && len(*s.Session) < 20 { + invalidParams.Add(request.NewErrParamMinLen("Session", 20)) } if invalidParams.Len() > 0 { @@ -9710,75 +13330,86 @@ func (s *AdminDisableUserInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminDisableUserInput) SetUserPoolId(v string) *AdminDisableUserInput { - s.UserPoolId = &v +// SetAccessToken sets the AccessToken field's value. +func (s *AssociateSoftwareTokenInput) SetAccessToken(v string) *AssociateSoftwareTokenInput { + s.AccessToken = &v return s } -// SetUsername sets the Username field's value. -func (s *AdminDisableUserInput) SetUsername(v string) *AdminDisableUserInput { - s.Username = &v +// SetSession sets the Session field's value. +func (s *AssociateSoftwareTokenInput) SetSession(v string) *AssociateSoftwareTokenInput { + s.Session = &v return s } -// Represents the response received from the server to disable the user as an -// administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUserResponse -type AdminDisableUserOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AssociateSoftwareTokenResponse +type AssociateSoftwareTokenOutput struct { _ struct{} `type:"structure"` + + // A unique generated shared secret code that is used in the TOTP algorithm + // to generate a one time code. + SecretCode *string `min:"16" type:"string"` + + // The session which should be passed both ways in challenge-response calls + // to the service. This allows authentication of the user as part of the MFA + // setup process. + Session *string `min:"20" type:"string"` } // String returns the string representation -func (s AdminDisableUserOutput) String() string { +func (s AssociateSoftwareTokenOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminDisableUserOutput) GoString() string { +func (s AssociateSoftwareTokenOutput) GoString() string { return s.String() } -// Represents the request that enables the user as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUserRequest -type AdminEnableUserInput struct { +// SetSecretCode sets the SecretCode field's value. +func (s *AssociateSoftwareTokenOutput) SetSecretCode(v string) *AssociateSoftwareTokenOutput { + s.SecretCode = &v + return s +} + +// SetSession sets the Session field's value. +func (s *AssociateSoftwareTokenOutput) SetSession(v string) *AssociateSoftwareTokenOutput { + s.Session = &v + return s +} + +// Specifies whether the attribute is standard or custom. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AttributeType +type AttributeType struct { _ struct{} `type:"structure"` - // The user pool ID for the user pool where you want to enable the user. + // The name of the attribute. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` - // The user name of the user you wish to enable. - // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` + // The value of the attribute. + Value *string `type:"string"` } // String returns the string representation -func (s AdminEnableUserInput) String() string { +func (s AttributeType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminEnableUserInput) GoString() string { +func (s AttributeType) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminEnableUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminEnableUserInput"} - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) - } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) - } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) +func (s *AttributeType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AttributeType"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } if invalidParams.Len() > 0 { @@ -9787,272 +13418,260 @@ func (s *AdminEnableUserInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminEnableUserInput) SetUserPoolId(v string) *AdminEnableUserInput { - s.UserPoolId = &v +// SetName sets the Name field's value. +func (s *AttributeType) SetName(v string) *AttributeType { + s.Name = &v return s } -// SetUsername sets the Username field's value. -func (s *AdminEnableUserInput) SetUsername(v string) *AdminEnableUserInput { - s.Username = &v +// SetValue sets the Value field's value. +func (s *AttributeType) SetValue(v string) *AttributeType { + s.Value = &v return s } -// Represents the response from the server for the request to enable a user -// as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUserResponse -type AdminEnableUserOutput struct { +// The authentication event type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AuthEventType +type AuthEventType struct { _ struct{} `type:"structure"` -} -// String returns the string representation -func (s AdminEnableUserOutput) String() string { - return awsutil.Prettify(s) -} + // The challenge responses. + ChallengeResponses []*ChallengeResponseType `type:"list"` -// GoString returns the string representation -func (s AdminEnableUserOutput) GoString() string { - return s.String() -} + // The creation date + CreationDate *time.Time `type:"timestamp" timestampFormat:"unix"` -// Sends the forgot device request, as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDeviceRequest -type AdminForgetDeviceInput struct { - _ struct{} `type:"structure"` + // The user context data captured at the time of an event request. It provides + // additional information about the client from which event the request is received. + EventContextData *EventContextDataType `type:"structure"` - // The device key. - // - // DeviceKey is a required field - DeviceKey *string `min:"1" type:"string" required:"true"` + // A flag specifying the user feedback captured at the time of an event request + // is good or bad. + EventFeedback *EventFeedbackType `type:"structure"` - // The user pool ID. - // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // The event ID. + EventId *string `type:"string"` - // The user name. - // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` + // The event response. + EventResponse *string `type:"string" enum:"EventResponseType"` + + // The event risk. + EventRisk *EventRiskType `type:"structure"` + + // The event type. + EventType *string `type:"string" enum:"EventType"` } // String returns the string representation -func (s AdminForgetDeviceInput) String() string { +func (s AuthEventType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminForgetDeviceInput) GoString() string { +func (s AuthEventType) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AdminForgetDeviceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminForgetDeviceInput"} - if s.DeviceKey == nil { - invalidParams.Add(request.NewErrParamRequired("DeviceKey")) - } - if s.DeviceKey != nil && len(*s.DeviceKey) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DeviceKey", 1)) - } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) - } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) - } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) - } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) - } +// SetChallengeResponses sets the ChallengeResponses field's value. +func (s *AuthEventType) SetChallengeResponses(v []*ChallengeResponseType) *AuthEventType { + s.ChallengeResponses = v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCreationDate sets the CreationDate field's value. +func (s *AuthEventType) SetCreationDate(v time.Time) *AuthEventType { + s.CreationDate = &v + return s } -// SetDeviceKey sets the DeviceKey field's value. -func (s *AdminForgetDeviceInput) SetDeviceKey(v string) *AdminForgetDeviceInput { - s.DeviceKey = &v +// SetEventContextData sets the EventContextData field's value. +func (s *AuthEventType) SetEventContextData(v *EventContextDataType) *AuthEventType { + s.EventContextData = v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminForgetDeviceInput) SetUserPoolId(v string) *AdminForgetDeviceInput { - s.UserPoolId = &v +// SetEventFeedback sets the EventFeedback field's value. +func (s *AuthEventType) SetEventFeedback(v *EventFeedbackType) *AuthEventType { + s.EventFeedback = v return s } -// SetUsername sets the Username field's value. -func (s *AdminForgetDeviceInput) SetUsername(v string) *AdminForgetDeviceInput { - s.Username = &v +// SetEventId sets the EventId field's value. +func (s *AuthEventType) SetEventId(v string) *AuthEventType { + s.EventId = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDeviceOutput -type AdminForgetDeviceOutput struct { - _ struct{} `type:"structure"` +// SetEventResponse sets the EventResponse field's value. +func (s *AuthEventType) SetEventResponse(v string) *AuthEventType { + s.EventResponse = &v + return s } -// String returns the string representation -func (s AdminForgetDeviceOutput) String() string { - return awsutil.Prettify(s) +// SetEventRisk sets the EventRisk field's value. +func (s *AuthEventType) SetEventRisk(v *EventRiskType) *AuthEventType { + s.EventRisk = v + return s } -// GoString returns the string representation -func (s AdminForgetDeviceOutput) GoString() string { - return s.String() +// SetEventType sets the EventType field's value. +func (s *AuthEventType) SetEventType(v string) *AuthEventType { + s.EventType = &v + return s } -// Represents the request to get the device, as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDeviceRequest -type AdminGetDeviceInput struct { +// The authentication result. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AuthenticationResultType +type AuthenticationResultType struct { _ struct{} `type:"structure"` - // The device key. - // - // DeviceKey is a required field - DeviceKey *string `min:"1" type:"string" required:"true"` + // The access token. + AccessToken *string `type:"string"` - // The user pool ID. - // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // The expiration period of the authentication result. + ExpiresIn *int64 `type:"integer"` - // The user name. - // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` + // The ID token. + IdToken *string `type:"string"` + + // The new device metadata from an authentication result. + NewDeviceMetadata *NewDeviceMetadataType `type:"structure"` + + // The refresh token. + RefreshToken *string `type:"string"` + + // The token type. + TokenType *string `type:"string"` } // String returns the string representation -func (s AdminGetDeviceInput) String() string { +func (s AuthenticationResultType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminGetDeviceInput) GoString() string { +func (s AuthenticationResultType) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AdminGetDeviceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminGetDeviceInput"} - if s.DeviceKey == nil { - invalidParams.Add(request.NewErrParamRequired("DeviceKey")) - } - if s.DeviceKey != nil && len(*s.DeviceKey) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DeviceKey", 1)) - } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) - } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) - } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) - } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) - } +// SetAccessToken sets the AccessToken field's value. +func (s *AuthenticationResultType) SetAccessToken(v string) *AuthenticationResultType { + s.AccessToken = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetExpiresIn sets the ExpiresIn field's value. +func (s *AuthenticationResultType) SetExpiresIn(v int64) *AuthenticationResultType { + s.ExpiresIn = &v + return s } -// SetDeviceKey sets the DeviceKey field's value. -func (s *AdminGetDeviceInput) SetDeviceKey(v string) *AdminGetDeviceInput { - s.DeviceKey = &v +// SetIdToken sets the IdToken field's value. +func (s *AuthenticationResultType) SetIdToken(v string) *AuthenticationResultType { + s.IdToken = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminGetDeviceInput) SetUserPoolId(v string) *AdminGetDeviceInput { - s.UserPoolId = &v +// SetNewDeviceMetadata sets the NewDeviceMetadata field's value. +func (s *AuthenticationResultType) SetNewDeviceMetadata(v *NewDeviceMetadataType) *AuthenticationResultType { + s.NewDeviceMetadata = v return s } -// SetUsername sets the Username field's value. -func (s *AdminGetDeviceInput) SetUsername(v string) *AdminGetDeviceInput { - s.Username = &v +// SetRefreshToken sets the RefreshToken field's value. +func (s *AuthenticationResultType) SetRefreshToken(v string) *AuthenticationResultType { + s.RefreshToken = &v return s } -// Gets the device response, as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDeviceResponse -type AdminGetDeviceOutput struct { +// SetTokenType sets the TokenType field's value. +func (s *AuthenticationResultType) SetTokenType(v string) *AuthenticationResultType { + s.TokenType = &v + return s +} + +// The challenge response type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChallengeResponseType +type ChallengeResponseType struct { _ struct{} `type:"structure"` - // The device. - // - // Device is a required field - Device *DeviceType `type:"structure" required:"true"` + // The challenge name + ChallengeName *string `type:"string" enum:"ChallengeName"` + + // The challenge response. + ChallengeResponse *string `type:"string" enum:"ChallengeResponse"` } // String returns the string representation -func (s AdminGetDeviceOutput) String() string { +func (s ChallengeResponseType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminGetDeviceOutput) GoString() string { +func (s ChallengeResponseType) GoString() string { return s.String() } -// SetDevice sets the Device field's value. -func (s *AdminGetDeviceOutput) SetDevice(v *DeviceType) *AdminGetDeviceOutput { - s.Device = v +// SetChallengeName sets the ChallengeName field's value. +func (s *ChallengeResponseType) SetChallengeName(v string) *ChallengeResponseType { + s.ChallengeName = &v + return s +} + +// SetChallengeResponse sets the ChallengeResponse field's value. +func (s *ChallengeResponseType) SetChallengeResponse(v string) *ChallengeResponseType { + s.ChallengeResponse = &v return s } -// Represents the request to get the specified user as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUserRequest -type AdminGetUserInput struct { +// Represents the request to change a user password. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePasswordRequest +type ChangePasswordInput struct { _ struct{} `type:"structure"` - // The user pool ID for the user pool where you want to get information about - // the user. + // The access token. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // AccessToken is a required field + AccessToken *string `type:"string" required:"true"` - // The user name of the user you wish to retrieve. + // The old password. // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` + // PreviousPassword is a required field + PreviousPassword *string `min:"6" type:"string" required:"true"` + + // The new password. + // + // ProposedPassword is a required field + ProposedPassword *string `min:"6" type:"string" required:"true"` } // String returns the string representation -func (s AdminGetUserInput) String() string { +func (s ChangePasswordInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminGetUserInput) GoString() string { +func (s ChangePasswordInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminGetUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminGetUserInput"} - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) +func (s *ChangePasswordInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ChangePasswordInput"} + if s.AccessToken == nil { + invalidParams.Add(request.NewErrParamRequired("AccessToken")) } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.PreviousPassword == nil { + invalidParams.Add(request.NewErrParamRequired("PreviousPassword")) } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) + if s.PreviousPassword != nil && len(*s.PreviousPassword) < 6 { + invalidParams.Add(request.NewErrParamMinLen("PreviousPassword", 6)) } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + if s.ProposedPassword == nil { + invalidParams.Add(request.NewErrParamRequired("ProposedPassword")) + } + if s.ProposedPassword != nil && len(*s.ProposedPassword) < 6 { + invalidParams.Add(request.NewErrParamMinLen("ProposedPassword", 6)) } if invalidParams.Len() > 0 { @@ -10061,408 +13680,224 @@ func (s *AdminGetUserInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminGetUserInput) SetUserPoolId(v string) *AdminGetUserInput { - s.UserPoolId = &v +// SetAccessToken sets the AccessToken field's value. +func (s *ChangePasswordInput) SetAccessToken(v string) *ChangePasswordInput { + s.AccessToken = &v return s } -// SetUsername sets the Username field's value. -func (s *AdminGetUserInput) SetUsername(v string) *AdminGetUserInput { - s.Username = &v +// SetPreviousPassword sets the PreviousPassword field's value. +func (s *ChangePasswordInput) SetPreviousPassword(v string) *ChangePasswordInput { + s.PreviousPassword = &v return s } -// Represents the response from the server from the request to get the specified -// user as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUserResponse -type AdminGetUserOutput struct { - _ struct{} `type:"structure"` - - // Indicates that the status is enabled. - Enabled *bool `type:"boolean"` - - // Specifies the options for MFA (e.g., email or phone number). - MFAOptions []*MFAOptionType `type:"list"` - - // An array of name-value pairs representing user attributes. - UserAttributes []*AttributeType `type:"list"` - - // The date the user was created. - UserCreateDate *time.Time `type:"timestamp" timestampFormat:"unix"` - - // The date the user was last modified. - UserLastModifiedDate *time.Time `type:"timestamp" timestampFormat:"unix"` - - // The user status. Can be one of the following: - // - // * UNCONFIRMED - User has been created but not confirmed. - // - // * CONFIRMED - User has been confirmed. - // - // * ARCHIVED - User is no longer active. - // - // * COMPROMISED - User is disabled due to a potential security threat. - // - // * UNKNOWN - User status is not known. - UserStatus *string `type:"string" enum:"UserStatusType"` +// SetProposedPassword sets the ProposedPassword field's value. +func (s *ChangePasswordInput) SetProposedPassword(v string) *ChangePasswordInput { + s.ProposedPassword = &v + return s +} - // The user name of the user about whom you are receiving information. - // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` +// The response from the server to the change password request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePasswordResponse +type ChangePasswordOutput struct { + _ struct{} `type:"structure"` } // String returns the string representation -func (s AdminGetUserOutput) String() string { +func (s ChangePasswordOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminGetUserOutput) GoString() string { +func (s ChangePasswordOutput) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *AdminGetUserOutput) SetEnabled(v bool) *AdminGetUserOutput { - s.Enabled = &v - return s -} +// The code delivery details being returned from the server. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CodeDeliveryDetailsType +type CodeDeliveryDetailsType struct { + _ struct{} `type:"structure"` -// SetMFAOptions sets the MFAOptions field's value. -func (s *AdminGetUserOutput) SetMFAOptions(v []*MFAOptionType) *AdminGetUserOutput { - s.MFAOptions = v - return s + // The attribute name. + AttributeName *string `min:"1" type:"string"` + + // The delivery medium (email message or phone number). + DeliveryMedium *string `type:"string" enum:"DeliveryMediumType"` + + // The destination for the code delivery details. + Destination *string `type:"string"` } -// SetUserAttributes sets the UserAttributes field's value. -func (s *AdminGetUserOutput) SetUserAttributes(v []*AttributeType) *AdminGetUserOutput { - s.UserAttributes = v - return s +// String returns the string representation +func (s CodeDeliveryDetailsType) String() string { + return awsutil.Prettify(s) } -// SetUserCreateDate sets the UserCreateDate field's value. -func (s *AdminGetUserOutput) SetUserCreateDate(v time.Time) *AdminGetUserOutput { - s.UserCreateDate = &v - return s +// GoString returns the string representation +func (s CodeDeliveryDetailsType) GoString() string { + return s.String() } -// SetUserLastModifiedDate sets the UserLastModifiedDate field's value. -func (s *AdminGetUserOutput) SetUserLastModifiedDate(v time.Time) *AdminGetUserOutput { - s.UserLastModifiedDate = &v +// SetAttributeName sets the AttributeName field's value. +func (s *CodeDeliveryDetailsType) SetAttributeName(v string) *CodeDeliveryDetailsType { + s.AttributeName = &v return s } -// SetUserStatus sets the UserStatus field's value. -func (s *AdminGetUserOutput) SetUserStatus(v string) *AdminGetUserOutput { - s.UserStatus = &v +// SetDeliveryMedium sets the DeliveryMedium field's value. +func (s *CodeDeliveryDetailsType) SetDeliveryMedium(v string) *CodeDeliveryDetailsType { + s.DeliveryMedium = &v return s } -// SetUsername sets the Username field's value. -func (s *AdminGetUserOutput) SetUsername(v string) *AdminGetUserOutput { - s.Username = &v +// SetDestination sets the Destination field's value. +func (s *CodeDeliveryDetailsType) SetDestination(v string) *CodeDeliveryDetailsType { + s.Destination = &v return s } -// Initiates the authorization request, as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuthRequest -type AdminInitiateAuthInput struct { +// The compromised credentials actions type +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CompromisedCredentialsActionsType +type CompromisedCredentialsActionsType struct { _ struct{} `type:"structure"` - // The authentication flow for this call to execute. The API action will depend - // on this value. For example: - // - // * REFRESH_TOKEN_AUTH will take in a valid refresh token and return new - // tokens. - // - // * USER_SRP_AUTH will take in USERNAME and SRP_A and return the SRP variables - // to be used for next challenge execution. - // - // Valid values include: - // - // * USER_SRP_AUTH: Authentication flow for the Secure Remote Password (SRP) - // protocol. - // - // * REFRESH_TOKEN_AUTH/REFRESH_TOKEN: Authentication flow for refreshing - // the access token and ID token by supplying a valid refresh token. - // - // * CUSTOM_AUTH: Custom authentication flow. - // - // * ADMIN_NO_SRP_AUTH: Non-SRP authentication flow; you can pass in the - // USERNAME and PASSWORD directly if the flow is enabled for calling the - // app client. - // - // AuthFlow is a required field - AuthFlow *string `type:"string" required:"true" enum:"AuthFlowType"` - - // The authentication parameters. These are inputs corresponding to the AuthFlow - // that you are invoking. The required values depend on the value of AuthFlow: - // - // * For USER_SRP_AUTH: USERNAME (required), SRP_A (required), SECRET_HASH - // (required if the app client is configured with a client secret), DEVICE_KEY - // - // * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: USERNAME (required), SECRET_HASH - // (required if the app client is configured with a client secret), REFRESH_TOKEN - // (required), DEVICE_KEY - // - // * For ADMIN_NO_SRP_AUTH: USERNAME (required), SECRET_HASH (if app client - // is configured with client secret), PASSWORD (required), DEVICE_KEY - // - // * For CUSTOM_AUTH: USERNAME (required), SECRET_HASH (if app client is - // configured with client secret), DEVICE_KEY - AuthParameters map[string]*string `type:"map"` - - // The app client ID. - // - // ClientId is a required field - ClientId *string `min:"1" type:"string" required:"true"` - - // This is a random key-value pair map which can contain any key and will be - // passed to your PreAuthentication Lambda trigger as-is. It can be used to - // implement additional validations around authentication. - ClientMetadata map[string]*string `type:"map"` - - // The ID of the Amazon Cognito user pool. + // The event action. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // EventAction is a required field + EventAction *string `type:"string" required:"true" enum:"CompromisedCredentialsEventActionType"` } // String returns the string representation -func (s AdminInitiateAuthInput) String() string { +func (s CompromisedCredentialsActionsType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminInitiateAuthInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *AdminInitiateAuthInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminInitiateAuthInput"} - if s.AuthFlow == nil { - invalidParams.Add(request.NewErrParamRequired("AuthFlow")) - } - if s.ClientId == nil { - invalidParams.Add(request.NewErrParamRequired("ClientId")) - } - if s.ClientId != nil && len(*s.ClientId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) - } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) - } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAuthFlow sets the AuthFlow field's value. -func (s *AdminInitiateAuthInput) SetAuthFlow(v string) *AdminInitiateAuthInput { - s.AuthFlow = &v - return s -} - -// SetAuthParameters sets the AuthParameters field's value. -func (s *AdminInitiateAuthInput) SetAuthParameters(v map[string]*string) *AdminInitiateAuthInput { - s.AuthParameters = v - return s +func (s CompromisedCredentialsActionsType) GoString() string { + return s.String() } -// SetClientId sets the ClientId field's value. -func (s *AdminInitiateAuthInput) SetClientId(v string) *AdminInitiateAuthInput { - s.ClientId = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *CompromisedCredentialsActionsType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CompromisedCredentialsActionsType"} + if s.EventAction == nil { + invalidParams.Add(request.NewErrParamRequired("EventAction")) + } -// SetClientMetadata sets the ClientMetadata field's value. -func (s *AdminInitiateAuthInput) SetClientMetadata(v map[string]*string) *AdminInitiateAuthInput { - s.ClientMetadata = v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminInitiateAuthInput) SetUserPoolId(v string) *AdminInitiateAuthInput { - s.UserPoolId = &v +// SetEventAction sets the EventAction field's value. +func (s *CompromisedCredentialsActionsType) SetEventAction(v string) *CompromisedCredentialsActionsType { + s.EventAction = &v return s } -// Initiates the authentication response, as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuthResponse -type AdminInitiateAuthOutput struct { +// The compromised credentials risk configuration type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CompromisedCredentialsRiskConfigurationType +type CompromisedCredentialsRiskConfigurationType struct { _ struct{} `type:"structure"` - // The result of the authentication response. This is only returned if the caller - // does not need to pass another challenge. If the caller does need to pass - // another challenge before it gets tokens, ChallengeName, ChallengeParameters, - // and Session are returned. - AuthenticationResult *AuthenticationResultType `type:"structure"` - - // The name of the challenge which you are responding to with this call. This - // is returned to you in the AdminInitiateAuth response if you need to pass - // another challenge. - // - // * SMS_MFA: Next challenge is to supply an SMS_MFA_CODE, delivered via - // SMS. - // - // * PASSWORD_VERIFIER: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE, - // PASSWORD_CLAIM_SECRET_BLOCK, and TIMESTAMP after the client-side SRP calculations. - // - // * CUSTOM_CHALLENGE: This is returned if your custom authentication flow - // determines that the user should pass another challenge before tokens are - // issued. - // - // * DEVICE_SRP_AUTH: If device tracking was enabled on your user pool and - // the previous challenges were passed, this challenge is returned so that - // Amazon Cognito can start tracking this device. - // - // * DEVICE_PASSWORD_VERIFIER: Similar to PASSWORD_VERIFIER, but for devices - // only. - // - // * ADMIN_NO_SRP_AUTH: This is returned if you need to authenticate with - // USERNAME and PASSWORD directly. An app client must be enabled to use this - // flow. - // - // * NEW_PASSWORD_REQUIRED: For users which are required to change their - // passwords after successful first login. This challenge should be passed - // with NEW_PASSWORD and any other required attributes. - ChallengeName *string `type:"string" enum:"ChallengeNameType"` - - // The challenge parameters. These are returned to you in the AdminInitiateAuth - // response if you need to pass another challenge. The responses in this parameter - // should be used to compute inputs to the next call (AdminRespondToAuthChallenge). + // The compromised credentials risk configuration actions. // - // All challenges require USERNAME and SECRET_HASH (if applicable). - // - // The value of the USER_IF_FOR_SRP attribute will be the user's actual username, - // not an alias (such as email address or phone number), even if you specified - // an alias in your call to AdminInitiateAuth. This is because, in the AdminRespondToAuthChallenge - // API ChallengeResponses, the USERNAME attribute cannot be an alias. - ChallengeParameters map[string]*string `type:"map"` + // Actions is a required field + Actions *CompromisedCredentialsActionsType `type:"structure" required:"true"` - // The session which should be passed both ways in challenge-response calls - // to the service. If AdminInitiateAuth or AdminRespondToAuthChallenge API call - // determines that the caller needs to go through another challenge, they return - // a session with other challenge parameters. This session should be passed - // as it is to the next AdminRespondToAuthChallenge API call. - Session *string `min:"20" type:"string"` + // Perform the action for these events. The default is to perform all events + // if no event filter is specified. + EventFilter []*string `type:"list"` } // String returns the string representation -func (s AdminInitiateAuthOutput) String() string { +func (s CompromisedCredentialsRiskConfigurationType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminInitiateAuthOutput) GoString() string { +func (s CompromisedCredentialsRiskConfigurationType) GoString() string { return s.String() } -// SetAuthenticationResult sets the AuthenticationResult field's value. -func (s *AdminInitiateAuthOutput) SetAuthenticationResult(v *AuthenticationResultType) *AdminInitiateAuthOutput { - s.AuthenticationResult = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *CompromisedCredentialsRiskConfigurationType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CompromisedCredentialsRiskConfigurationType"} + if s.Actions == nil { + invalidParams.Add(request.NewErrParamRequired("Actions")) + } + if s.Actions != nil { + if err := s.Actions.Validate(); err != nil { + invalidParams.AddNested("Actions", err.(request.ErrInvalidParams)) + } + } -// SetChallengeName sets the ChallengeName field's value. -func (s *AdminInitiateAuthOutput) SetChallengeName(v string) *AdminInitiateAuthOutput { - s.ChallengeName = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetChallengeParameters sets the ChallengeParameters field's value. -func (s *AdminInitiateAuthOutput) SetChallengeParameters(v map[string]*string) *AdminInitiateAuthOutput { - s.ChallengeParameters = v +// SetActions sets the Actions field's value. +func (s *CompromisedCredentialsRiskConfigurationType) SetActions(v *CompromisedCredentialsActionsType) *CompromisedCredentialsRiskConfigurationType { + s.Actions = v return s } -// SetSession sets the Session field's value. -func (s *AdminInitiateAuthOutput) SetSession(v string) *AdminInitiateAuthOutput { - s.Session = &v +// SetEventFilter sets the EventFilter field's value. +func (s *CompromisedCredentialsRiskConfigurationType) SetEventFilter(v []*string) *CompromisedCredentialsRiskConfigurationType { + s.EventFilter = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminLinkProviderForUserRequest -type AdminLinkProviderForUserInput struct { +// Confirms the device request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDeviceRequest +type ConfirmDeviceInput struct { _ struct{} `type:"structure"` - // The existing user in the user pool to be linked to the external identity - // provider user account. Can be a native (Username + Password) Cognito User - // Pools user or a federated user (for example, a SAML or Facebook user). If - // the user doesn't exist, an exception is thrown. This is the user that is - // returned when the new user (with the linked identity provider attribute) - // signs in. - // - // The ProviderAttributeValue for the DestinationUser must match the username - // for the user in the user pool. The ProviderAttributeName will always be ignored. + // The access token. // - // DestinationUser is a required field - DestinationUser *ProviderUserIdentifierType `type:"structure" required:"true"` + // AccessToken is a required field + AccessToken *string `type:"string" required:"true"` - // An external identity provider account for a user who does not currently exist - // yet in the user pool. This user must be a federated user (for example, a - // SAML or Facebook user), not another native user. - // - // If the SourceUser is a federated social identity provider user (Facebook, - // Google, or Login with Amazon), you must set the ProviderAttributeName to - // Cognito_Subject. For social identity providers, the ProviderName will be - // Facebook, Google, or LoginWithAmazon, and Cognito will automatically parse - // the Facebook, Google, and Login with Amazon tokens for id, sub, and user_id, - // respectively. The ProviderAttributeValue for the user must be the same value - // as the id, sub, or user_id value found in the social identity provider token. - // - // For SAML, the ProviderAttributeNamecan be any value that matches a claim in the SAML assertion. If you wish - // to link SAML users based on the subject of the SAML assertion, you should - // map the subject to a claim through the SAML identity provider and submit - // that claim name as the ProviderAttributeName. If you set ProviderAttributeNameto Cognito_Subject + // The device key. // - // SourceUser is a required field - SourceUser *ProviderUserIdentifierType `type:"structure" required:"true"` + // DeviceKey is a required field + DeviceKey *string `min:"1" type:"string" required:"true"` - // The user pool ID for the user pool. - // - // UserPoolId is a required field - UserPoolId *string `type:"string" required:"true"` + // The device name. + DeviceName *string `min:"1" type:"string"` + + // The configuration of the device secret verifier. + DeviceSecretVerifierConfig *DeviceSecretVerifierConfigType `type:"structure"` } // String returns the string representation -func (s AdminLinkProviderForUserInput) String() string { +func (s ConfirmDeviceInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminLinkProviderForUserInput) GoString() string { +func (s ConfirmDeviceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminLinkProviderForUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminLinkProviderForUserInput"} - if s.DestinationUser == nil { - invalidParams.Add(request.NewErrParamRequired("DestinationUser")) - } - if s.SourceUser == nil { - invalidParams.Add(request.NewErrParamRequired("SourceUser")) +func (s *ConfirmDeviceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConfirmDeviceInput"} + if s.AccessToken == nil { + invalidParams.Add(request.NewErrParamRequired("AccessToken")) } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + if s.DeviceKey == nil { + invalidParams.Add(request.NewErrParamRequired("DeviceKey")) } - if s.DestinationUser != nil { - if err := s.DestinationUser.Validate(); err != nil { - invalidParams.AddNested("DestinationUser", err.(request.ErrInvalidParams)) - } + if s.DeviceKey != nil && len(*s.DeviceKey) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceKey", 1)) } - if s.SourceUser != nil { - if err := s.SourceUser.Validate(); err != nil { - invalidParams.AddNested("SourceUser", err.(request.ErrInvalidParams)) - } + if s.DeviceName != nil && len(*s.DeviceName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceName", 1)) } if invalidParams.Len() > 0 { @@ -10471,82 +13906,130 @@ func (s *AdminLinkProviderForUserInput) Validate() error { return nil } -// SetDestinationUser sets the DestinationUser field's value. -func (s *AdminLinkProviderForUserInput) SetDestinationUser(v *ProviderUserIdentifierType) *AdminLinkProviderForUserInput { - s.DestinationUser = v +// SetAccessToken sets the AccessToken field's value. +func (s *ConfirmDeviceInput) SetAccessToken(v string) *ConfirmDeviceInput { + s.AccessToken = &v return s } -// SetSourceUser sets the SourceUser field's value. -func (s *AdminLinkProviderForUserInput) SetSourceUser(v *ProviderUserIdentifierType) *AdminLinkProviderForUserInput { - s.SourceUser = v +// SetDeviceKey sets the DeviceKey field's value. +func (s *ConfirmDeviceInput) SetDeviceKey(v string) *ConfirmDeviceInput { + s.DeviceKey = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminLinkProviderForUserInput) SetUserPoolId(v string) *AdminLinkProviderForUserInput { - s.UserPoolId = &v +// SetDeviceName sets the DeviceName field's value. +func (s *ConfirmDeviceInput) SetDeviceName(v string) *ConfirmDeviceInput { + s.DeviceName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminLinkProviderForUserResponse -type AdminLinkProviderForUserOutput struct { +// SetDeviceSecretVerifierConfig sets the DeviceSecretVerifierConfig field's value. +func (s *ConfirmDeviceInput) SetDeviceSecretVerifierConfig(v *DeviceSecretVerifierConfigType) *ConfirmDeviceInput { + s.DeviceSecretVerifierConfig = v + return s +} + +// Confirms the device response. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDeviceResponse +type ConfirmDeviceOutput struct { _ struct{} `type:"structure"` + + // Indicates whether the user confirmation is necessary to confirm the device + // response. + UserConfirmationNecessary *bool `type:"boolean"` } // String returns the string representation -func (s AdminLinkProviderForUserOutput) String() string { +func (s ConfirmDeviceOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminLinkProviderForUserOutput) GoString() string { +func (s ConfirmDeviceOutput) GoString() string { return s.String() } -// Represents the request to list devices, as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevicesRequest -type AdminListDevicesInput struct { +// SetUserConfirmationNecessary sets the UserConfirmationNecessary field's value. +func (s *ConfirmDeviceOutput) SetUserConfirmationNecessary(v bool) *ConfirmDeviceOutput { + s.UserConfirmationNecessary = &v + return s +} + +// The request representing the confirmation for a password reset. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPasswordRequest +type ConfirmForgotPasswordInput struct { _ struct{} `type:"structure"` - // The limit of the devices request. - Limit *int64 `type:"integer"` + // The Amazon Pinpoint analytics metadata for collecting metrics for ConfirmForgotPassword + // calls. + AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` - // The pagination token. - PaginationToken *string `min:"1" type:"string"` + // The app client ID of the app associated with the user pool. + // + // ClientId is a required field + ClientId *string `min:"1" type:"string" required:"true"` - // The user pool ID. + // The confirmation code sent by a user's request to retrieve a forgotten password. + // For more information, see // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // ConfirmationCode is a required field + ConfirmationCode *string `min:"1" type:"string" required:"true"` - // The user name. + // The password sent by a user's request to retrieve a forgotten password. + // + // Password is a required field + Password *string `min:"6" type:"string" required:"true"` + + // A keyed-hash message authentication code (HMAC) calculated using the secret + // key of a user pool client and username plus the client ID in the message. + SecretHash *string `min:"1" type:"string"` + + // Contextual data such as the user's device fingerprint, IP address, or location + // used for evaluating the risk of an unexpected event by Amazon Cognito advanced + // security. + UserContextData *UserContextDataType `type:"structure"` + + // The user name of the user for whom you want to enter a code to retrieve a + // forgotten password. // // Username is a required field Username *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s AdminListDevicesInput) String() string { +func (s ConfirmForgotPasswordInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminListDevicesInput) GoString() string { +func (s ConfirmForgotPasswordInput) GoString() string { return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *AdminListDevicesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminListDevicesInput"} - if s.PaginationToken != nil && len(*s.PaginationToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PaginationToken", 1)) +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConfirmForgotPasswordInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConfirmForgotPasswordInput"} + if s.ClientId == nil { + invalidParams.Add(request.NewErrParamRequired("ClientId")) } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + if s.ClientId != nil && len(*s.ClientId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.ConfirmationCode == nil { + invalidParams.Add(request.NewErrParamRequired("ConfirmationCode")) + } + if s.ConfirmationCode != nil && len(*s.ConfirmationCode) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ConfirmationCode", 1)) + } + if s.Password == nil { + invalidParams.Add(request.NewErrParamRequired("Password")) + } + if s.Password != nil && len(*s.Password) < 6 { + invalidParams.Add(request.NewErrParamMinLen("Password", 6)) + } + if s.SecretHash != nil && len(*s.SecretHash) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SecretHash", 1)) } if s.Username == nil { invalidParams.Add(request.NewErrParamRequired("Username")) @@ -10561,107 +14044,134 @@ func (s *AdminListDevicesInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *AdminListDevicesInput) SetLimit(v int64) *AdminListDevicesInput { - s.Limit = &v +// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. +func (s *ConfirmForgotPasswordInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ConfirmForgotPasswordInput { + s.AnalyticsMetadata = v return s } -// SetPaginationToken sets the PaginationToken field's value. -func (s *AdminListDevicesInput) SetPaginationToken(v string) *AdminListDevicesInput { - s.PaginationToken = &v +// SetClientId sets the ClientId field's value. +func (s *ConfirmForgotPasswordInput) SetClientId(v string) *ConfirmForgotPasswordInput { + s.ClientId = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminListDevicesInput) SetUserPoolId(v string) *AdminListDevicesInput { - s.UserPoolId = &v +// SetConfirmationCode sets the ConfirmationCode field's value. +func (s *ConfirmForgotPasswordInput) SetConfirmationCode(v string) *ConfirmForgotPasswordInput { + s.ConfirmationCode = &v + return s +} + +// SetPassword sets the Password field's value. +func (s *ConfirmForgotPasswordInput) SetPassword(v string) *ConfirmForgotPasswordInput { + s.Password = &v + return s +} + +// SetSecretHash sets the SecretHash field's value. +func (s *ConfirmForgotPasswordInput) SetSecretHash(v string) *ConfirmForgotPasswordInput { + s.SecretHash = &v + return s +} + +// SetUserContextData sets the UserContextData field's value. +func (s *ConfirmForgotPasswordInput) SetUserContextData(v *UserContextDataType) *ConfirmForgotPasswordInput { + s.UserContextData = v return s } // SetUsername sets the Username field's value. -func (s *AdminListDevicesInput) SetUsername(v string) *AdminListDevicesInput { +func (s *ConfirmForgotPasswordInput) SetUsername(v string) *ConfirmForgotPasswordInput { s.Username = &v return s } -// Lists the device's response, as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevicesResponse -type AdminListDevicesOutput struct { +// The response from the server that results from a user's request to retrieve +// a forgotten password. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPasswordResponse +type ConfirmForgotPasswordOutput struct { _ struct{} `type:"structure"` - - // The devices in the list of devices response. - Devices []*DeviceType `type:"list"` - - // The pagination token. - PaginationToken *string `min:"1" type:"string"` } // String returns the string representation -func (s AdminListDevicesOutput) String() string { +func (s ConfirmForgotPasswordOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminListDevicesOutput) GoString() string { +func (s ConfirmForgotPasswordOutput) GoString() string { return s.String() } -// SetDevices sets the Devices field's value. -func (s *AdminListDevicesOutput) SetDevices(v []*DeviceType) *AdminListDevicesOutput { - s.Devices = v - return s -} - -// SetPaginationToken sets the PaginationToken field's value. -func (s *AdminListDevicesOutput) SetPaginationToken(v string) *AdminListDevicesOutput { - s.PaginationToken = &v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUserRequest -type AdminListGroupsForUserInput struct { +// Represents the request to confirm registration of a user. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUpRequest +type ConfirmSignUpInput struct { _ struct{} `type:"structure"` - // The limit of the request to list groups. - Limit *int64 `type:"integer"` + // The Amazon Pinpoint analytics metadata for collecting metrics for ConfirmSignUp + // calls. + AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` - // An identifier that was returned from the previous call to this operation, - // which can be used to return the next set of items in the list. - NextToken *string `min:"1" type:"string"` + // The ID of the app client associated with the user pool. + // + // ClientId is a required field + ClientId *string `min:"1" type:"string" required:"true"` - // The user pool ID for the user pool. + // The confirmation code sent by a user's request to confirm registration. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // ConfirmationCode is a required field + ConfirmationCode *string `min:"1" type:"string" required:"true"` - // The username for the user. + // Boolean to be specified to force user confirmation irrespective of existing + // alias. By default set to False. If this parameter is set to True and the + // phone number/email used for sign up confirmation already exists as an alias + // with a different user, the API call will migrate the alias from the previous + // user to the newly created user being confirmed. If set to False, the API + // will throw an AliasExistsException error. + ForceAliasCreation *bool `type:"boolean"` + + // A keyed-hash message authentication code (HMAC) calculated using the secret + // key of a user pool client and username plus the client ID in the message. + SecretHash *string `min:"1" type:"string"` + + // Contextual data such as the user's device fingerprint, IP address, or location + // used for evaluating the risk of an unexpected event by Amazon Cognito advanced + // security. + UserContextData *UserContextDataType `type:"structure"` + + // The user name of the user whose registration you wish to confirm. // // Username is a required field Username *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s AdminListGroupsForUserInput) String() string { +func (s ConfirmSignUpInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminListGroupsForUserInput) GoString() string { +func (s ConfirmSignUpInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminListGroupsForUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminListGroupsForUserInput"} - if s.NextToken != nil && len(*s.NextToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) +func (s *ConfirmSignUpInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConfirmSignUpInput"} + if s.ClientId == nil { + invalidParams.Add(request.NewErrParamRequired("ClientId")) } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + if s.ClientId != nil && len(*s.ClientId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.ConfirmationCode == nil { + invalidParams.Add(request.NewErrParamRequired("ConfirmationCode")) + } + if s.ConfirmationCode != nil && len(*s.ConfirmationCode) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ConfirmationCode", 1)) + } + if s.SecretHash != nil && len(*s.SecretHash) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SecretHash", 1)) } if s.Username == nil { invalidParams.Add(request.NewErrParamRequired("Username")) @@ -10676,114 +14186,119 @@ func (s *AdminListGroupsForUserInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *AdminListGroupsForUserInput) SetLimit(v int64) *AdminListGroupsForUserInput { - s.Limit = &v +// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. +func (s *ConfirmSignUpInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ConfirmSignUpInput { + s.AnalyticsMetadata = v return s } -// SetNextToken sets the NextToken field's value. -func (s *AdminListGroupsForUserInput) SetNextToken(v string) *AdminListGroupsForUserInput { - s.NextToken = &v +// SetClientId sets the ClientId field's value. +func (s *ConfirmSignUpInput) SetClientId(v string) *ConfirmSignUpInput { + s.ClientId = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminListGroupsForUserInput) SetUserPoolId(v string) *AdminListGroupsForUserInput { - s.UserPoolId = &v +// SetConfirmationCode sets the ConfirmationCode field's value. +func (s *ConfirmSignUpInput) SetConfirmationCode(v string) *ConfirmSignUpInput { + s.ConfirmationCode = &v + return s +} + +// SetForceAliasCreation sets the ForceAliasCreation field's value. +func (s *ConfirmSignUpInput) SetForceAliasCreation(v bool) *ConfirmSignUpInput { + s.ForceAliasCreation = &v + return s +} + +// SetSecretHash sets the SecretHash field's value. +func (s *ConfirmSignUpInput) SetSecretHash(v string) *ConfirmSignUpInput { + s.SecretHash = &v + return s +} + +// SetUserContextData sets the UserContextData field's value. +func (s *ConfirmSignUpInput) SetUserContextData(v *UserContextDataType) *ConfirmSignUpInput { + s.UserContextData = v return s } // SetUsername sets the Username field's value. -func (s *AdminListGroupsForUserInput) SetUsername(v string) *AdminListGroupsForUserInput { +func (s *ConfirmSignUpInput) SetUsername(v string) *ConfirmSignUpInput { s.Username = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUserResponse -type AdminListGroupsForUserOutput struct { +// Represents the response from the server for the registration confirmation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUpResponse +type ConfirmSignUpOutput struct { _ struct{} `type:"structure"` - - // The groups that the user belongs to. - Groups []*GroupType `type:"list"` - - // An identifier that was returned from the previous call to this operation, - // which can be used to return the next set of items in the list. - NextToken *string `min:"1" type:"string"` } // String returns the string representation -func (s AdminListGroupsForUserOutput) String() string { +func (s ConfirmSignUpOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminListGroupsForUserOutput) GoString() string { +func (s ConfirmSignUpOutput) GoString() string { return s.String() } -// SetGroups sets the Groups field's value. -func (s *AdminListGroupsForUserOutput) SetGroups(v []*GroupType) *AdminListGroupsForUserOutput { - s.Groups = v - return s -} +// Contextual user data type used for evaluating the risk of an unexpected event +// by Amazon Cognito advanced security. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ContextDataType +type ContextDataType struct { + _ struct{} `type:"structure"` -// SetNextToken sets the NextToken field's value. -func (s *AdminListGroupsForUserOutput) SetNextToken(v string) *AdminListGroupsForUserOutput { - s.NextToken = &v - return s -} + // Encoded data containing device fingerprinting details, collected using the + // Amazon Cognito context data collection library. + EncodedData *string `type:"string"` -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroupRequest -type AdminRemoveUserFromGroupInput struct { - _ struct{} `type:"structure"` + // HttpHeaders received on your server in same order. + // + // HttpHeaders is a required field + HttpHeaders []*HttpHeader `type:"list" required:"true"` - // The group name. + // Source IP address of your user. // - // GroupName is a required field - GroupName *string `min:"1" type:"string" required:"true"` + // IpAddress is a required field + IpAddress *string `type:"string" required:"true"` - // The user pool ID for the user pool. + // Your server endpoint where this API is invoked. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // ServerName is a required field + ServerName *string `type:"string" required:"true"` - // The username for the user. + // Your server path where this API is invoked. // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` + // ServerPath is a required field + ServerPath *string `type:"string" required:"true"` } // String returns the string representation -func (s AdminRemoveUserFromGroupInput) String() string { +func (s ContextDataType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminRemoveUserFromGroupInput) GoString() string { +func (s ContextDataType) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminRemoveUserFromGroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminRemoveUserFromGroupInput"} - if s.GroupName == nil { - invalidParams.Add(request.NewErrParamRequired("GroupName")) - } - if s.GroupName != nil && len(*s.GroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) - } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) +func (s *ContextDataType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ContextDataType"} + if s.HttpHeaders == nil { + invalidParams.Add(request.NewErrParamRequired("HttpHeaders")) } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.IpAddress == nil { + invalidParams.Add(request.NewErrParamRequired("IpAddress")) } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) + if s.ServerName == nil { + invalidParams.Add(request.NewErrParamRequired("ServerName")) } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + if s.ServerPath == nil { + invalidParams.Add(request.NewErrParamRequired("ServerPath")) } if invalidParams.Len() > 0 { @@ -10792,80 +14307,102 @@ func (s *AdminRemoveUserFromGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *AdminRemoveUserFromGroupInput) SetGroupName(v string) *AdminRemoveUserFromGroupInput { - s.GroupName = &v +// SetEncodedData sets the EncodedData field's value. +func (s *ContextDataType) SetEncodedData(v string) *ContextDataType { + s.EncodedData = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminRemoveUserFromGroupInput) SetUserPoolId(v string) *AdminRemoveUserFromGroupInput { - s.UserPoolId = &v +// SetHttpHeaders sets the HttpHeaders field's value. +func (s *ContextDataType) SetHttpHeaders(v []*HttpHeader) *ContextDataType { + s.HttpHeaders = v return s } -// SetUsername sets the Username field's value. -func (s *AdminRemoveUserFromGroupInput) SetUsername(v string) *AdminRemoveUserFromGroupInput { - s.Username = &v +// SetIpAddress sets the IpAddress field's value. +func (s *ContextDataType) SetIpAddress(v string) *ContextDataType { + s.IpAddress = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroupOutput -type AdminRemoveUserFromGroupOutput struct { - _ struct{} `type:"structure"` +// SetServerName sets the ServerName field's value. +func (s *ContextDataType) SetServerName(v string) *ContextDataType { + s.ServerName = &v + return s } -// String returns the string representation -func (s AdminRemoveUserFromGroupOutput) String() string { - return awsutil.Prettify(s) +// SetServerPath sets the ServerPath field's value. +func (s *ContextDataType) SetServerPath(v string) *ContextDataType { + s.ServerPath = &v + return s } -// GoString returns the string representation -func (s AdminRemoveUserFromGroupOutput) GoString() string { - return s.String() -} +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroupRequest +type CreateGroupInput struct { + _ struct{} `type:"structure"` + + // A string containing the description of the group. + Description *string `type:"string"` + + // The name of the group. Must be unique. + // + // GroupName is a required field + GroupName *string `min:"1" type:"string" required:"true"` + + // A nonnegative integer value that specifies the precedence of this group relative + // to the other groups that a user can belong to in the user pool. Zero is the + // highest precedence value. Groups with lower Precedence values take precedence + // over groups with higher or null Precedence values. If a user belongs to two + // or more groups, it is the group with the lowest precedence value whose role + // ARN will be used in the cognito:roles and cognito:preferred_role claims in + // the user's tokens. + // + // Two groups can have the same Precedence value. If this happens, neither group + // takes precedence over the other. If two groups with the same Precedence have + // the same role ARN, that role is used in the cognito:preferred_role claim + // in tokens for users in each group. If the two groups have different role + // ARNs, the cognito:preferred_role claim is not set in users' tokens. + // + // The default Precedence value is null. + Precedence *int64 `type:"integer"` -// Represents the request to reset a user's password as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPasswordRequest -type AdminResetUserPasswordInput struct { - _ struct{} `type:"structure"` + // The role ARN for the group. + RoleArn *string `min:"20" type:"string"` - // The user pool ID for the user pool where you want to reset the user's password. + // The user pool ID for the user pool. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` - - // The user name of the user whose password you wish to reset. - // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s AdminResetUserPasswordInput) String() string { +func (s CreateGroupInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminResetUserPasswordInput) GoString() string { +func (s CreateGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminResetUserPasswordInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminResetUserPasswordInput"} +func (s *CreateGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateGroupInput"} + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) + } + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + } + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) + } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) } if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) - } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) - } if invalidParams.Len() > 0 { return invalidParams @@ -10873,109 +14410,116 @@ func (s *AdminResetUserPasswordInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminResetUserPasswordInput) SetUserPoolId(v string) *AdminResetUserPasswordInput { - s.UserPoolId = &v +// SetDescription sets the Description field's value. +func (s *CreateGroupInput) SetDescription(v string) *CreateGroupInput { + s.Description = &v return s } -// SetUsername sets the Username field's value. -func (s *AdminResetUserPasswordInput) SetUsername(v string) *AdminResetUserPasswordInput { - s.Username = &v +// SetGroupName sets the GroupName field's value. +func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput { + s.GroupName = &v return s } -// Represents the response from the server to reset a user password as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPasswordResponse -type AdminResetUserPasswordOutput struct { +// SetPrecedence sets the Precedence field's value. +func (s *CreateGroupInput) SetPrecedence(v int64) *CreateGroupInput { + s.Precedence = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *CreateGroupInput) SetRoleArn(v string) *CreateGroupInput { + s.RoleArn = &v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *CreateGroupInput) SetUserPoolId(v string) *CreateGroupInput { + s.UserPoolId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroupResponse +type CreateGroupOutput struct { _ struct{} `type:"structure"` + + // The group object for the group. + Group *GroupType `type:"structure"` } // String returns the string representation -func (s AdminResetUserPasswordOutput) String() string { +func (s CreateGroupOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminResetUserPasswordOutput) GoString() string { +func (s CreateGroupOutput) GoString() string { return s.String() } -// The request to respond to the authentication challenge, as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallengeRequest -type AdminRespondToAuthChallengeInput struct { +// SetGroup sets the Group field's value. +func (s *CreateGroupOutput) SetGroup(v *GroupType) *CreateGroupOutput { + s.Group = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProviderRequest +type CreateIdentityProviderInput struct { _ struct{} `type:"structure"` - // The challenge name. For more information, see AdminInitiateAuth (API_AdminInitiateAuth.html). - // - // ChallengeName is a required field - ChallengeName *string `type:"string" required:"true" enum:"ChallengeNameType"` + // A mapping of identity provider attributes to standard and custom user pool + // attributes. + AttributeMapping map[string]*string `type:"map"` - // The challenge responses. These are inputs corresponding to the value of ChallengeName, - // for example: - // - // * SMS_MFA: SMS_MFA_CODE, USERNAME, SECRET_HASH (if app client is configured - // with client secret). - // - // * PASSWORD_VERIFIER: PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, - // TIMESTAMP, USERNAME, SECRET_HASH (if app client is configured with client - // secret). - // - // * ADMIN_NO_SRP_AUTH: PASSWORD, USERNAME, SECRET_HASH (if app client is - // configured with client secret). - // - // * NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other required attributes, - // USERNAME, SECRET_HASH (if app client is configured with client secret). - // + // A list of identity provider identifiers. + IdpIdentifiers []*string `type:"list"` + + // The identity provider details, such as MetadataURL and MetadataFile. // - // The value of the USERNAME attribute must be the user's actual username, not - // an alias (such as email address or phone number). To make this easier, the - // AdminInitiateAuth response includes the actual username value in the USERNAMEUSER_ID_FOR_SRP - // attribute, even if you specified an alias in your call to AdminInitiateAuth. - ChallengeResponses map[string]*string `type:"map"` + // ProviderDetails is a required field + ProviderDetails map[string]*string `type:"map" required:"true"` - // The app client ID. + // The identity provider name. // - // ClientId is a required field - ClientId *string `min:"1" type:"string" required:"true"` + // ProviderName is a required field + ProviderName *string `min:"1" type:"string" required:"true"` - // The session which should be passed both ways in challenge-response calls - // to the service. If InitiateAuth or RespondToAuthChallenge API call determines - // that the caller needs to go through another challenge, they return a session - // with other challenge parameters. This session should be passed as it is to - // the next RespondToAuthChallenge API call. - Session *string `min:"20" type:"string"` + // The identity provider type. + // + // ProviderType is a required field + ProviderType *string `type:"string" required:"true" enum:"IdentityProviderTypeType"` - // The ID of the Amazon Cognito user pool. + // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s AdminRespondToAuthChallengeInput) String() string { +func (s CreateIdentityProviderInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminRespondToAuthChallengeInput) GoString() string { +func (s CreateIdentityProviderInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminRespondToAuthChallengeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminRespondToAuthChallengeInput"} - if s.ChallengeName == nil { - invalidParams.Add(request.NewErrParamRequired("ChallengeName")) +func (s *CreateIdentityProviderInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateIdentityProviderInput"} + if s.ProviderDetails == nil { + invalidParams.Add(request.NewErrParamRequired("ProviderDetails")) } - if s.ClientId == nil { - invalidParams.Add(request.NewErrParamRequired("ClientId")) + if s.ProviderName == nil { + invalidParams.Add(request.NewErrParamRequired("ProviderName")) } - if s.ClientId != nil && len(*s.ClientId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) + if s.ProviderName != nil && len(*s.ProviderName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProviderName", 1)) } - if s.Session != nil && len(*s.Session) < 20 { - invalidParams.Add(request.NewErrParamMinLen("Session", 20)) + if s.ProviderType == nil { + invalidParams.Add(request.NewErrParamRequired("ProviderType")) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -10990,130 +14534,116 @@ func (s *AdminRespondToAuthChallengeInput) Validate() error { return nil } -// SetChallengeName sets the ChallengeName field's value. -func (s *AdminRespondToAuthChallengeInput) SetChallengeName(v string) *AdminRespondToAuthChallengeInput { - s.ChallengeName = &v +// SetAttributeMapping sets the AttributeMapping field's value. +func (s *CreateIdentityProviderInput) SetAttributeMapping(v map[string]*string) *CreateIdentityProviderInput { + s.AttributeMapping = v return s } -// SetChallengeResponses sets the ChallengeResponses field's value. -func (s *AdminRespondToAuthChallengeInput) SetChallengeResponses(v map[string]*string) *AdminRespondToAuthChallengeInput { - s.ChallengeResponses = v +// SetIdpIdentifiers sets the IdpIdentifiers field's value. +func (s *CreateIdentityProviderInput) SetIdpIdentifiers(v []*string) *CreateIdentityProviderInput { + s.IdpIdentifiers = v return s } -// SetClientId sets the ClientId field's value. -func (s *AdminRespondToAuthChallengeInput) SetClientId(v string) *AdminRespondToAuthChallengeInput { - s.ClientId = &v +// SetProviderDetails sets the ProviderDetails field's value. +func (s *CreateIdentityProviderInput) SetProviderDetails(v map[string]*string) *CreateIdentityProviderInput { + s.ProviderDetails = v return s } -// SetSession sets the Session field's value. -func (s *AdminRespondToAuthChallengeInput) SetSession(v string) *AdminRespondToAuthChallengeInput { - s.Session = &v +// SetProviderName sets the ProviderName field's value. +func (s *CreateIdentityProviderInput) SetProviderName(v string) *CreateIdentityProviderInput { + s.ProviderName = &v + return s +} + +// SetProviderType sets the ProviderType field's value. +func (s *CreateIdentityProviderInput) SetProviderType(v string) *CreateIdentityProviderInput { + s.ProviderType = &v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *AdminRespondToAuthChallengeInput) SetUserPoolId(v string) *AdminRespondToAuthChallengeInput { +func (s *CreateIdentityProviderInput) SetUserPoolId(v string) *CreateIdentityProviderInput { s.UserPoolId = &v return s } -// Responds to the authentication challenge, as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallengeResponse -type AdminRespondToAuthChallengeOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProviderResponse +type CreateIdentityProviderOutput struct { _ struct{} `type:"structure"` - // The result returned by the server in response to the authentication request. - AuthenticationResult *AuthenticationResultType `type:"structure"` - - // The name of the challenge. For more information, see AdminInitiateAuth (API_AdminInitiateAuth.html). - ChallengeName *string `type:"string" enum:"ChallengeNameType"` - - // The challenge parameters. For more information, see AdminInitiateAuth (API_AdminInitiateAuth.html). - ChallengeParameters map[string]*string `type:"map"` - - // The session which should be passed both ways in challenge-response calls - // to the service. If the InitiateAuth (API_InitiateAuth.html) or RespondToAuthChallenge - // (API_RespondToAuthChallenge.html) API call determines that the caller needs - // to go through another challenge, they return a session with other challenge - // parameters. This session should be passed as it is to the next RespondToAuthChallenge - // API call. - Session *string `min:"20" type:"string"` + // The newly created identity provider object. + // + // IdentityProvider is a required field + IdentityProvider *IdentityProviderType `type:"structure" required:"true"` } // String returns the string representation -func (s AdminRespondToAuthChallengeOutput) String() string { +func (s CreateIdentityProviderOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminRespondToAuthChallengeOutput) GoString() string { +func (s CreateIdentityProviderOutput) GoString() string { return s.String() } -// SetAuthenticationResult sets the AuthenticationResult field's value. -func (s *AdminRespondToAuthChallengeOutput) SetAuthenticationResult(v *AuthenticationResultType) *AdminRespondToAuthChallengeOutput { - s.AuthenticationResult = v - return s -} - -// SetChallengeName sets the ChallengeName field's value. -func (s *AdminRespondToAuthChallengeOutput) SetChallengeName(v string) *AdminRespondToAuthChallengeOutput { - s.ChallengeName = &v - return s -} - -// SetChallengeParameters sets the ChallengeParameters field's value. -func (s *AdminRespondToAuthChallengeOutput) SetChallengeParameters(v map[string]*string) *AdminRespondToAuthChallengeOutput { - s.ChallengeParameters = v - return s -} - -// SetSession sets the Session field's value. -func (s *AdminRespondToAuthChallengeOutput) SetSession(v string) *AdminRespondToAuthChallengeOutput { - s.Session = &v +// SetIdentityProvider sets the IdentityProvider field's value. +func (s *CreateIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *CreateIdentityProviderOutput { + s.IdentityProvider = v return s } -// Represents the request to set user settings as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettingsRequest -type AdminSetUserSettingsInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateResourceServerRequest +type CreateResourceServerInput struct { _ struct{} `type:"structure"` - // Specifies the options for MFA (e.g., email or phone number). + // A unique resource server identifier for the resource server. This could be + // an HTTPS endpoint where the resource server is located. For example, https://my-weather-api.example.com. // - // MFAOptions is a required field - MFAOptions []*MFAOptionType `type:"list" required:"true"` + // Identifier is a required field + Identifier *string `min:"1" type:"string" required:"true"` - // The user pool ID for the user pool where you want to set the user's settings, - // such as MFA options. + // A friendly name for the resource server. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` - // The user name of the user for whom you wish to set user settings. + // A list of scopes. Each scope is map, where the keys are name and description. + Scopes []*ResourceServerScopeType `type:"list"` + + // The user pool ID for the user pool. // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s AdminSetUserSettingsInput) String() string { +func (s CreateResourceServerInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminSetUserSettingsInput) GoString() string { +func (s CreateResourceServerInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminSetUserSettingsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminSetUserSettingsInput"} - if s.MFAOptions == nil { - invalidParams.Add(request.NewErrParamRequired("MFAOptions")) +func (s *CreateResourceServerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateResourceServerInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -11121,19 +14651,13 @@ func (s *AdminSetUserSettingsInput) Validate() error { if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) - } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) - } - if s.MFAOptions != nil { - for i, v := range s.MFAOptions { + if s.Scopes != nil { + for i, v := range s.Scopes { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MFAOptions", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Scopes", i), err.(request.ErrInvalidParams)) } } } @@ -11144,82 +14668,101 @@ func (s *AdminSetUserSettingsInput) Validate() error { return nil } -// SetMFAOptions sets the MFAOptions field's value. -func (s *AdminSetUserSettingsInput) SetMFAOptions(v []*MFAOptionType) *AdminSetUserSettingsInput { - s.MFAOptions = v +// SetIdentifier sets the Identifier field's value. +func (s *CreateResourceServerInput) SetIdentifier(v string) *CreateResourceServerInput { + s.Identifier = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminSetUserSettingsInput) SetUserPoolId(v string) *AdminSetUserSettingsInput { - s.UserPoolId = &v +// SetName sets the Name field's value. +func (s *CreateResourceServerInput) SetName(v string) *CreateResourceServerInput { + s.Name = &v return s } -// SetUsername sets the Username field's value. -func (s *AdminSetUserSettingsInput) SetUsername(v string) *AdminSetUserSettingsInput { - s.Username = &v +// SetScopes sets the Scopes field's value. +func (s *CreateResourceServerInput) SetScopes(v []*ResourceServerScopeType) *CreateResourceServerInput { + s.Scopes = v return s } -// Represents the response from the server to set user settings as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettingsResponse -type AdminSetUserSettingsOutput struct { +// SetUserPoolId sets the UserPoolId field's value. +func (s *CreateResourceServerInput) SetUserPoolId(v string) *CreateResourceServerInput { + s.UserPoolId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateResourceServerResponse +type CreateResourceServerOutput struct { _ struct{} `type:"structure"` + + // The newly created resource server. + // + // ResourceServer is a required field + ResourceServer *ResourceServerType `type:"structure" required:"true"` } // String returns the string representation -func (s AdminSetUserSettingsOutput) String() string { +func (s CreateResourceServerOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminSetUserSettingsOutput) GoString() string { +func (s CreateResourceServerOutput) GoString() string { return s.String() } -// The request to update the device status, as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatusRequest -type AdminUpdateDeviceStatusInput struct { +// SetResourceServer sets the ResourceServer field's value. +func (s *CreateResourceServerOutput) SetResourceServer(v *ResourceServerType) *CreateResourceServerOutput { + s.ResourceServer = v + return s +} + +// Represents the request to create the user import job. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJobRequest +type CreateUserImportJobInput struct { _ struct{} `type:"structure"` - // The device key. + // The role ARN for the Amazon CloudWatch Logging role for the user import job. // - // DeviceKey is a required field - DeviceKey *string `min:"1" type:"string" required:"true"` + // CloudWatchLogsRoleArn is a required field + CloudWatchLogsRoleArn *string `min:"20" type:"string" required:"true"` - // The status indicating whether a device has been remembered or not. - DeviceRememberedStatus *string `type:"string" enum:"DeviceRememberedStatusType"` + // The job name for the user import job. + // + // JobName is a required field + JobName *string `min:"1" type:"string" required:"true"` - // The user pool ID. + // The user pool ID for the user pool that the users are being imported into. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` - - // The user name. - // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s AdminUpdateDeviceStatusInput) String() string { +func (s CreateUserImportJobInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminUpdateDeviceStatusInput) GoString() string { +func (s CreateUserImportJobInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminUpdateDeviceStatusInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminUpdateDeviceStatusInput"} - if s.DeviceKey == nil { - invalidParams.Add(request.NewErrParamRequired("DeviceKey")) +func (s *CreateUserImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateUserImportJobInput"} + if s.CloudWatchLogsRoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("CloudWatchLogsRoleArn")) } - if s.DeviceKey != nil && len(*s.DeviceKey) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DeviceKey", 1)) + if s.CloudWatchLogsRoleArn != nil && len(*s.CloudWatchLogsRoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("CloudWatchLogsRoleArn", 20)) + } + if s.JobName == nil { + invalidParams.Add(request.NewErrParamRequired("JobName")) + } + if s.JobName != nil && len(*s.JobName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -11227,12 +14770,6 @@ func (s *AdminUpdateDeviceStatusInput) Validate() error { if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) - } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) - } if invalidParams.Len() > 0 { return invalidParams @@ -11240,85 +14777,137 @@ func (s *AdminUpdateDeviceStatusInput) Validate() error { return nil } -// SetDeviceKey sets the DeviceKey field's value. -func (s *AdminUpdateDeviceStatusInput) SetDeviceKey(v string) *AdminUpdateDeviceStatusInput { - s.DeviceKey = &v +// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value. +func (s *CreateUserImportJobInput) SetCloudWatchLogsRoleArn(v string) *CreateUserImportJobInput { + s.CloudWatchLogsRoleArn = &v return s } -// SetDeviceRememberedStatus sets the DeviceRememberedStatus field's value. -func (s *AdminUpdateDeviceStatusInput) SetDeviceRememberedStatus(v string) *AdminUpdateDeviceStatusInput { - s.DeviceRememberedStatus = &v +// SetJobName sets the JobName field's value. +func (s *CreateUserImportJobInput) SetJobName(v string) *CreateUserImportJobInput { + s.JobName = &v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *AdminUpdateDeviceStatusInput) SetUserPoolId(v string) *AdminUpdateDeviceStatusInput { +func (s *CreateUserImportJobInput) SetUserPoolId(v string) *CreateUserImportJobInput { s.UserPoolId = &v return s } -// SetUsername sets the Username field's value. -func (s *AdminUpdateDeviceStatusInput) SetUsername(v string) *AdminUpdateDeviceStatusInput { - s.Username = &v - return s -} - -// The status response from the request to update the device, as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatusResponse -type AdminUpdateDeviceStatusOutput struct { +// Represents the response from the server to the request to create the user +// import job. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJobResponse +type CreateUserImportJobOutput struct { _ struct{} `type:"structure"` + + // The job object that represents the user import job. + UserImportJob *UserImportJobType `type:"structure"` } // String returns the string representation -func (s AdminUpdateDeviceStatusOutput) String() string { +func (s CreateUserImportJobOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminUpdateDeviceStatusOutput) GoString() string { +func (s CreateUserImportJobOutput) GoString() string { return s.String() } -// Represents the request to update the user's attributes as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributesRequest -type AdminUpdateUserAttributesInput struct { +// SetUserImportJob sets the UserImportJob field's value. +func (s *CreateUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *CreateUserImportJobOutput { + s.UserImportJob = v + return s +} + +// Represents the request to create a user pool client. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClientRequest +type CreateUserPoolClientInput struct { _ struct{} `type:"structure"` - // An array of name-value pairs representing user attributes. - // - // For custom attributes, you must prepend the custom: prefix to the attribute - // name. + // Set to code to initiate a code grant flow, which provides an authorization + // code as the response. This code can be exchanged for access tokens with the + // token endpoint. // - // UserAttributes is a required field - UserAttributes []*AttributeType `type:"list" required:"true"` + // Set to token to specify that the client should get the access token (and, + // optionally, ID token, based on scopes) directly. + AllowedOAuthFlows []*string `type:"list"` - // The user pool ID for the user pool where you want to update user attributes. + // Set to True if the client is allowed to follow the OAuth protocol when interacting + // with Cognito user pools. + AllowedOAuthFlowsUserPoolClient *bool `type:"boolean"` + + // A list of allowed OAuth scopes. Currently supported values are "phone", "email", + // "openid", and "Cognito". + AllowedOAuthScopes []*string `type:"list"` + + // The Amazon Pinpoint analytics configuration for collecting metrics for this + // user pool. + AnalyticsConfiguration *AnalyticsConfigurationType `type:"structure"` + + // A list of allowed callback URLs for the identity providers. + CallbackURLs []*string `type:"list"` + + // The client name for the user pool client you would like to create. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // ClientName is a required field + ClientName *string `min:"1" type:"string" required:"true"` - // The user name of the user for whom you want to update user attributes. + // The default redirect URI. Must be in the CallbackURLs list. + DefaultRedirectURI *string `min:"1" type:"string"` + + // The explicit authentication flows. + ExplicitAuthFlows []*string `type:"list"` + + // Boolean to specify whether you want to generate a secret for the user pool + // client being created. + GenerateSecret *bool `type:"boolean"` + + // A list of allowed logout URLs for the identity providers. + LogoutURLs []*string `type:"list"` + + // The read attributes. + ReadAttributes []*string `type:"list"` + + // The time limit, in days, after which the refresh token is no longer valid + // and cannot be used. + RefreshTokenValidity *int64 `type:"integer"` + + // A list of provider names for the identity providers that are supported on + // this client. + SupportedIdentityProviders []*string `type:"list"` + + // The user pool ID for the user pool where you want to create a user pool client. // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The write attributes. + WriteAttributes []*string `type:"list"` } // String returns the string representation -func (s AdminUpdateUserAttributesInput) String() string { +func (s CreateUserPoolClientInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminUpdateUserAttributesInput) GoString() string { +func (s CreateUserPoolClientInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AdminUpdateUserAttributesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminUpdateUserAttributesInput"} - if s.UserAttributes == nil { - invalidParams.Add(request.NewErrParamRequired("UserAttributes")) +func (s *CreateUserPoolClientInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateUserPoolClientInput"} + if s.ClientName == nil { + invalidParams.Add(request.NewErrParamRequired("ClientName")) + } + if s.ClientName != nil && len(*s.ClientName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientName", 1)) + } + if s.DefaultRedirectURI != nil && len(*s.DefaultRedirectURI) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DefaultRedirectURI", 1)) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -11326,20 +14915,9 @@ func (s *AdminUpdateUserAttributesInput) Validate() error { if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) - } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) - } - if s.UserAttributes != nil { - for i, v := range s.UserAttributes { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UserAttributes", i), err.(request.ErrInvalidParams)) - } + if s.AnalyticsConfiguration != nil { + if err := s.AnalyticsConfiguration.Validate(); err != nil { + invalidParams.AddNested("AnalyticsConfiguration", err.(request.ErrInvalidParams)) } } @@ -11349,149 +14927,160 @@ func (s *AdminUpdateUserAttributesInput) Validate() error { return nil } -// SetUserAttributes sets the UserAttributes field's value. -func (s *AdminUpdateUserAttributesInput) SetUserAttributes(v []*AttributeType) *AdminUpdateUserAttributesInput { - s.UserAttributes = v +// SetAllowedOAuthFlows sets the AllowedOAuthFlows field's value. +func (s *CreateUserPoolClientInput) SetAllowedOAuthFlows(v []*string) *CreateUserPoolClientInput { + s.AllowedOAuthFlows = v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminUpdateUserAttributesInput) SetUserPoolId(v string) *AdminUpdateUserAttributesInput { - s.UserPoolId = &v +// SetAllowedOAuthFlowsUserPoolClient sets the AllowedOAuthFlowsUserPoolClient field's value. +func (s *CreateUserPoolClientInput) SetAllowedOAuthFlowsUserPoolClient(v bool) *CreateUserPoolClientInput { + s.AllowedOAuthFlowsUserPoolClient = &v return s } -// SetUsername sets the Username field's value. -func (s *AdminUpdateUserAttributesInput) SetUsername(v string) *AdminUpdateUserAttributesInput { - s.Username = &v +// SetAllowedOAuthScopes sets the AllowedOAuthScopes field's value. +func (s *CreateUserPoolClientInput) SetAllowedOAuthScopes(v []*string) *CreateUserPoolClientInput { + s.AllowedOAuthScopes = v return s } -// Represents the response from the server for the request to update user attributes -// as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributesResponse -type AdminUpdateUserAttributesOutput struct { - _ struct{} `type:"structure"` +// SetAnalyticsConfiguration sets the AnalyticsConfiguration field's value. +func (s *CreateUserPoolClientInput) SetAnalyticsConfiguration(v *AnalyticsConfigurationType) *CreateUserPoolClientInput { + s.AnalyticsConfiguration = v + return s } -// String returns the string representation -func (s AdminUpdateUserAttributesOutput) String() string { - return awsutil.Prettify(s) +// SetCallbackURLs sets the CallbackURLs field's value. +func (s *CreateUserPoolClientInput) SetCallbackURLs(v []*string) *CreateUserPoolClientInput { + s.CallbackURLs = v + return s } -// GoString returns the string representation -func (s AdminUpdateUserAttributesOutput) GoString() string { - return s.String() +// SetClientName sets the ClientName field's value. +func (s *CreateUserPoolClientInput) SetClientName(v string) *CreateUserPoolClientInput { + s.ClientName = &v + return s } -// The request to sign out of all devices, as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOutRequest -type AdminUserGlobalSignOutInput struct { - _ struct{} `type:"structure"` +// SetDefaultRedirectURI sets the DefaultRedirectURI field's value. +func (s *CreateUserPoolClientInput) SetDefaultRedirectURI(v string) *CreateUserPoolClientInput { + s.DefaultRedirectURI = &v + return s +} - // The user pool ID. - // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` +// SetExplicitAuthFlows sets the ExplicitAuthFlows field's value. +func (s *CreateUserPoolClientInput) SetExplicitAuthFlows(v []*string) *CreateUserPoolClientInput { + s.ExplicitAuthFlows = v + return s +} - // The user name. - // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` +// SetGenerateSecret sets the GenerateSecret field's value. +func (s *CreateUserPoolClientInput) SetGenerateSecret(v bool) *CreateUserPoolClientInput { + s.GenerateSecret = &v + return s } -// String returns the string representation -func (s AdminUserGlobalSignOutInput) String() string { - return awsutil.Prettify(s) +// SetLogoutURLs sets the LogoutURLs field's value. +func (s *CreateUserPoolClientInput) SetLogoutURLs(v []*string) *CreateUserPoolClientInput { + s.LogoutURLs = v + return s } -// GoString returns the string representation -func (s AdminUserGlobalSignOutInput) GoString() string { - return s.String() +// SetReadAttributes sets the ReadAttributes field's value. +func (s *CreateUserPoolClientInput) SetReadAttributes(v []*string) *CreateUserPoolClientInput { + s.ReadAttributes = v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AdminUserGlobalSignOutInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AdminUserGlobalSignOutInput"} - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) - } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) - } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) - } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) - } +// SetRefreshTokenValidity sets the RefreshTokenValidity field's value. +func (s *CreateUserPoolClientInput) SetRefreshTokenValidity(v int64) *CreateUserPoolClientInput { + s.RefreshTokenValidity = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetSupportedIdentityProviders sets the SupportedIdentityProviders field's value. +func (s *CreateUserPoolClientInput) SetSupportedIdentityProviders(v []*string) *CreateUserPoolClientInput { + s.SupportedIdentityProviders = v + return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *AdminUserGlobalSignOutInput) SetUserPoolId(v string) *AdminUserGlobalSignOutInput { +func (s *CreateUserPoolClientInput) SetUserPoolId(v string) *CreateUserPoolClientInput { s.UserPoolId = &v return s } -// SetUsername sets the Username field's value. -func (s *AdminUserGlobalSignOutInput) SetUsername(v string) *AdminUserGlobalSignOutInput { - s.Username = &v +// SetWriteAttributes sets the WriteAttributes field's value. +func (s *CreateUserPoolClientInput) SetWriteAttributes(v []*string) *CreateUserPoolClientInput { + s.WriteAttributes = v return s } -// The global sign-out response, as an administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOutResponse -type AdminUserGlobalSignOutOutput struct { +// Represents the response from the server to create a user pool client. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClientResponse +type CreateUserPoolClientOutput struct { _ struct{} `type:"structure"` + + // The user pool client that was just created. + UserPoolClient *UserPoolClientType `type:"structure"` } // String returns the string representation -func (s AdminUserGlobalSignOutOutput) String() string { +func (s CreateUserPoolClientOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AdminUserGlobalSignOutOutput) GoString() string { +func (s CreateUserPoolClientOutput) GoString() string { return s.String() } -// Specifies whether the attribute is standard or custom. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AttributeType -type AttributeType struct { +// SetUserPoolClient sets the UserPoolClient field's value. +func (s *CreateUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *CreateUserPoolClientOutput { + s.UserPoolClient = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomainRequest +type CreateUserPoolDomainInput struct { _ struct{} `type:"structure"` - // The name of the attribute. + // The domain string. // - // Name is a required field - Name *string `min:"1" type:"string" required:"true"` + // Domain is a required field + Domain *string `min:"1" type:"string" required:"true"` - // The value of the attribute. - Value *string `type:"string"` + // The user pool ID. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s AttributeType) String() string { +func (s CreateUserPoolDomainInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AttributeType) GoString() string { +func (s CreateUserPoolDomainInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AttributeType) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AttributeType"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) +func (s *CreateUserPoolDomainInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateUserPoolDomainInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } if invalidParams.Len() > 0 { @@ -11500,136 +15089,182 @@ func (s *AttributeType) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *AttributeType) SetName(v string) *AttributeType { - s.Name = &v +// SetDomain sets the Domain field's value. +func (s *CreateUserPoolDomainInput) SetDomain(v string) *CreateUserPoolDomainInput { + s.Domain = &v return s } -// SetValue sets the Value field's value. -func (s *AttributeType) SetValue(v string) *AttributeType { - s.Value = &v +// SetUserPoolId sets the UserPoolId field's value. +func (s *CreateUserPoolDomainInput) SetUserPoolId(v string) *CreateUserPoolDomainInput { + s.UserPoolId = &v return s } -// The result type of the authentication result. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AuthenticationResultType -type AuthenticationResultType struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomainResponse +type CreateUserPoolDomainOutput struct { _ struct{} `type:"structure"` +} - // The access token of the authentication result. - AccessToken *string `type:"string"` +// String returns the string representation +func (s CreateUserPoolDomainOutput) String() string { + return awsutil.Prettify(s) +} - // The expiration period of the authentication result. - ExpiresIn *int64 `type:"integer"` +// GoString returns the string representation +func (s CreateUserPoolDomainOutput) GoString() string { + return s.String() +} - // The ID token of the authentication result. - IdToken *string `type:"string"` +// Represents the request to create a user pool. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolRequest +type CreateUserPoolInput struct { + _ struct{} `type:"structure"` - // The new device metadata from an authentication result. - NewDeviceMetadata *NewDeviceMetadataType `type:"structure"` + // The configuration for AdminCreateUser requests. + AdminCreateUserConfig *AdminCreateUserConfigType `type:"structure"` - // The refresh token of the authentication result. - RefreshToken *string `type:"string"` + // Attributes supported as an alias for this user pool. Possible values: phone_number, + // email, or preferred_username. + AliasAttributes []*string `type:"list"` - // The token type of the authentication result. - TokenType *string `type:"string"` -} + // The attributes to be auto-verified. Possible values: email, phone_number. + AutoVerifiedAttributes []*string `type:"list"` + + // The device configuration. + DeviceConfiguration *DeviceConfigurationType `type:"structure"` + + // The email configuration. + EmailConfiguration *EmailConfigurationType `type:"structure"` + + // A string representing the email verification message. + EmailVerificationMessage *string `min:"6" type:"string"` + + // A string representing the email verification subject. + EmailVerificationSubject *string `min:"1" type:"string"` -// String returns the string representation -func (s AuthenticationResultType) String() string { - return awsutil.Prettify(s) -} + // The Lambda trigger configuration information for the new user pool. + LambdaConfig *LambdaConfigType `type:"structure"` -// GoString returns the string representation -func (s AuthenticationResultType) GoString() string { - return s.String() -} + // Specifies MFA configuration details. + MfaConfiguration *string `type:"string" enum:"UserPoolMfaType"` -// SetAccessToken sets the AccessToken field's value. -func (s *AuthenticationResultType) SetAccessToken(v string) *AuthenticationResultType { - s.AccessToken = &v - return s -} + // The policies associated with the new user pool. + Policies *UserPoolPolicyType `type:"structure"` -// SetExpiresIn sets the ExpiresIn field's value. -func (s *AuthenticationResultType) SetExpiresIn(v int64) *AuthenticationResultType { - s.ExpiresIn = &v - return s -} + // A string used to name the user pool. + // + // PoolName is a required field + PoolName *string `min:"1" type:"string" required:"true"` -// SetIdToken sets the IdToken field's value. -func (s *AuthenticationResultType) SetIdToken(v string) *AuthenticationResultType { - s.IdToken = &v - return s -} + // An array of schema attributes for the new user pool. These attributes can + // be standard or custom attributes. + Schema []*SchemaAttributeType `min:"1" type:"list"` -// SetNewDeviceMetadata sets the NewDeviceMetadata field's value. -func (s *AuthenticationResultType) SetNewDeviceMetadata(v *NewDeviceMetadataType) *AuthenticationResultType { - s.NewDeviceMetadata = v - return s -} + // A string representing the SMS authentication message. + SmsAuthenticationMessage *string `min:"6" type:"string"` -// SetRefreshToken sets the RefreshToken field's value. -func (s *AuthenticationResultType) SetRefreshToken(v string) *AuthenticationResultType { - s.RefreshToken = &v - return s -} + // The SMS configuration. + SmsConfiguration *SmsConfigurationType `type:"structure"` -// SetTokenType sets the TokenType field's value. -func (s *AuthenticationResultType) SetTokenType(v string) *AuthenticationResultType { - s.TokenType = &v - return s -} + // A string representing the SMS verification message. + SmsVerificationMessage *string `min:"6" type:"string"` -// Represents the request to change a user password. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePasswordRequest -type ChangePasswordInput struct { - _ struct{} `type:"structure"` + // Used to enable advanced security risk detection. Set the key AdvancedSecurityMode + // to the value "AUDIT". + UserPoolAddOns *UserPoolAddOnsType `type:"structure"` - // The access token in the change password request. - // - // AccessToken is a required field - AccessToken *string `type:"string" required:"true"` + // The cost allocation tags for the user pool. For more information, see Adding + // Cost Allocation Tags to Your User Pool (http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html) + UserPoolTags map[string]*string `type:"map"` - // The old password in the change password request. - // - // PreviousPassword is a required field - PreviousPassword *string `min:"6" type:"string" required:"true"` + // Specifies whether email addresses or phone numbers can be specified as usernames + // when a user signs up. + UsernameAttributes []*string `type:"list"` - // The new password in the change password request. - // - // ProposedPassword is a required field - ProposedPassword *string `min:"6" type:"string" required:"true"` + // The template for the verification message that the user sees when the app + // requests permission to access the user's information. + VerificationMessageTemplate *VerificationMessageTemplateType `type:"structure"` } // String returns the string representation -func (s ChangePasswordInput) String() string { +func (s CreateUserPoolInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ChangePasswordInput) GoString() string { +func (s CreateUserPoolInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ChangePasswordInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ChangePasswordInput"} - if s.AccessToken == nil { - invalidParams.Add(request.NewErrParamRequired("AccessToken")) +func (s *CreateUserPoolInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateUserPoolInput"} + if s.EmailVerificationMessage != nil && len(*s.EmailVerificationMessage) < 6 { + invalidParams.Add(request.NewErrParamMinLen("EmailVerificationMessage", 6)) } - if s.PreviousPassword == nil { - invalidParams.Add(request.NewErrParamRequired("PreviousPassword")) + if s.EmailVerificationSubject != nil && len(*s.EmailVerificationSubject) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EmailVerificationSubject", 1)) } - if s.PreviousPassword != nil && len(*s.PreviousPassword) < 6 { - invalidParams.Add(request.NewErrParamMinLen("PreviousPassword", 6)) + if s.PoolName == nil { + invalidParams.Add(request.NewErrParamRequired("PoolName")) } - if s.ProposedPassword == nil { - invalidParams.Add(request.NewErrParamRequired("ProposedPassword")) + if s.PoolName != nil && len(*s.PoolName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PoolName", 1)) } - if s.ProposedPassword != nil && len(*s.ProposedPassword) < 6 { - invalidParams.Add(request.NewErrParamMinLen("ProposedPassword", 6)) + if s.Schema != nil && len(s.Schema) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Schema", 1)) + } + if s.SmsAuthenticationMessage != nil && len(*s.SmsAuthenticationMessage) < 6 { + invalidParams.Add(request.NewErrParamMinLen("SmsAuthenticationMessage", 6)) + } + if s.SmsVerificationMessage != nil && len(*s.SmsVerificationMessage) < 6 { + invalidParams.Add(request.NewErrParamMinLen("SmsVerificationMessage", 6)) + } + if s.AdminCreateUserConfig != nil { + if err := s.AdminCreateUserConfig.Validate(); err != nil { + invalidParams.AddNested("AdminCreateUserConfig", err.(request.ErrInvalidParams)) + } + } + if s.EmailConfiguration != nil { + if err := s.EmailConfiguration.Validate(); err != nil { + invalidParams.AddNested("EmailConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.LambdaConfig != nil { + if err := s.LambdaConfig.Validate(); err != nil { + invalidParams.AddNested("LambdaConfig", err.(request.ErrInvalidParams)) + } + } + if s.Policies != nil { + if err := s.Policies.Validate(); err != nil { + invalidParams.AddNested("Policies", err.(request.ErrInvalidParams)) + } + } + if s.Schema != nil { + for i, v := range s.Schema { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Schema", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SmsConfiguration != nil { + if err := s.SmsConfiguration.Validate(); err != nil { + invalidParams.AddNested("SmsConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.UserPoolAddOns != nil { + if err := s.UserPoolAddOns.Validate(); err != nil { + invalidParams.AddNested("UserPoolAddOns", err.(request.ErrInvalidParams)) + } + } + if s.VerificationMessageTemplate != nil { + if err := s.VerificationMessageTemplate.Validate(); err != nil { + invalidParams.AddNested("VerificationMessageTemplate", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -11638,258 +15273,185 @@ func (s *ChangePasswordInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *ChangePasswordInput) SetAccessToken(v string) *ChangePasswordInput { - s.AccessToken = &v +// SetAdminCreateUserConfig sets the AdminCreateUserConfig field's value. +func (s *CreateUserPoolInput) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *CreateUserPoolInput { + s.AdminCreateUserConfig = v return s } -// SetPreviousPassword sets the PreviousPassword field's value. -func (s *ChangePasswordInput) SetPreviousPassword(v string) *ChangePasswordInput { - s.PreviousPassword = &v +// SetAliasAttributes sets the AliasAttributes field's value. +func (s *CreateUserPoolInput) SetAliasAttributes(v []*string) *CreateUserPoolInput { + s.AliasAttributes = v return s } -// SetProposedPassword sets the ProposedPassword field's value. -func (s *ChangePasswordInput) SetProposedPassword(v string) *ChangePasswordInput { - s.ProposedPassword = &v +// SetAutoVerifiedAttributes sets the AutoVerifiedAttributes field's value. +func (s *CreateUserPoolInput) SetAutoVerifiedAttributes(v []*string) *CreateUserPoolInput { + s.AutoVerifiedAttributes = v return s } -// The response from the server to the change password request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePasswordResponse -type ChangePasswordOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation -func (s ChangePasswordOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ChangePasswordOutput) GoString() string { - return s.String() +// SetDeviceConfiguration sets the DeviceConfiguration field's value. +func (s *CreateUserPoolInput) SetDeviceConfiguration(v *DeviceConfigurationType) *CreateUserPoolInput { + s.DeviceConfiguration = v + return s } -// The type of code delivery details being returned from the server. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CodeDeliveryDetailsType -type CodeDeliveryDetailsType struct { - _ struct{} `type:"structure"` - - // The name of the attribute in the code delivery details type. - AttributeName *string `min:"1" type:"string"` - - // The delivery medium (email message or phone number). - DeliveryMedium *string `type:"string" enum:"DeliveryMediumType"` - - // The destination for the code delivery details. - Destination *string `type:"string"` +// SetEmailConfiguration sets the EmailConfiguration field's value. +func (s *CreateUserPoolInput) SetEmailConfiguration(v *EmailConfigurationType) *CreateUserPoolInput { + s.EmailConfiguration = v + return s } -// String returns the string representation -func (s CodeDeliveryDetailsType) String() string { - return awsutil.Prettify(s) +// SetEmailVerificationMessage sets the EmailVerificationMessage field's value. +func (s *CreateUserPoolInput) SetEmailVerificationMessage(v string) *CreateUserPoolInput { + s.EmailVerificationMessage = &v + return s } -// GoString returns the string representation -func (s CodeDeliveryDetailsType) GoString() string { - return s.String() +// SetEmailVerificationSubject sets the EmailVerificationSubject field's value. +func (s *CreateUserPoolInput) SetEmailVerificationSubject(v string) *CreateUserPoolInput { + s.EmailVerificationSubject = &v + return s } -// SetAttributeName sets the AttributeName field's value. -func (s *CodeDeliveryDetailsType) SetAttributeName(v string) *CodeDeliveryDetailsType { - s.AttributeName = &v +// SetLambdaConfig sets the LambdaConfig field's value. +func (s *CreateUserPoolInput) SetLambdaConfig(v *LambdaConfigType) *CreateUserPoolInput { + s.LambdaConfig = v return s } -// SetDeliveryMedium sets the DeliveryMedium field's value. -func (s *CodeDeliveryDetailsType) SetDeliveryMedium(v string) *CodeDeliveryDetailsType { - s.DeliveryMedium = &v +// SetMfaConfiguration sets the MfaConfiguration field's value. +func (s *CreateUserPoolInput) SetMfaConfiguration(v string) *CreateUserPoolInput { + s.MfaConfiguration = &v return s } -// SetDestination sets the Destination field's value. -func (s *CodeDeliveryDetailsType) SetDestination(v string) *CodeDeliveryDetailsType { - s.Destination = &v +// SetPolicies sets the Policies field's value. +func (s *CreateUserPoolInput) SetPolicies(v *UserPoolPolicyType) *CreateUserPoolInput { + s.Policies = v return s } -// Confirms the device request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDeviceRequest -type ConfirmDeviceInput struct { - _ struct{} `type:"structure"` - - // The access token. - // - // AccessToken is a required field - AccessToken *string `type:"string" required:"true"` - - // The device key. - // - // DeviceKey is a required field - DeviceKey *string `min:"1" type:"string" required:"true"` - - // The device name. - DeviceName *string `min:"1" type:"string"` - - // The configuration of the device secret verifier. - DeviceSecretVerifierConfig *DeviceSecretVerifierConfigType `type:"structure"` +// SetPoolName sets the PoolName field's value. +func (s *CreateUserPoolInput) SetPoolName(v string) *CreateUserPoolInput { + s.PoolName = &v + return s } -// String returns the string representation -func (s ConfirmDeviceInput) String() string { - return awsutil.Prettify(s) +// SetSchema sets the Schema field's value. +func (s *CreateUserPoolInput) SetSchema(v []*SchemaAttributeType) *CreateUserPoolInput { + s.Schema = v + return s } -// GoString returns the string representation -func (s ConfirmDeviceInput) GoString() string { - return s.String() +// SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value. +func (s *CreateUserPoolInput) SetSmsAuthenticationMessage(v string) *CreateUserPoolInput { + s.SmsAuthenticationMessage = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ConfirmDeviceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ConfirmDeviceInput"} - if s.AccessToken == nil { - invalidParams.Add(request.NewErrParamRequired("AccessToken")) - } - if s.DeviceKey == nil { - invalidParams.Add(request.NewErrParamRequired("DeviceKey")) - } - if s.DeviceKey != nil && len(*s.DeviceKey) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DeviceKey", 1)) - } - if s.DeviceName != nil && len(*s.DeviceName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DeviceName", 1)) - } +// SetSmsConfiguration sets the SmsConfiguration field's value. +func (s *CreateUserPoolInput) SetSmsConfiguration(v *SmsConfigurationType) *CreateUserPoolInput { + s.SmsConfiguration = v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetSmsVerificationMessage sets the SmsVerificationMessage field's value. +func (s *CreateUserPoolInput) SetSmsVerificationMessage(v string) *CreateUserPoolInput { + s.SmsVerificationMessage = &v + return s } -// SetAccessToken sets the AccessToken field's value. -func (s *ConfirmDeviceInput) SetAccessToken(v string) *ConfirmDeviceInput { - s.AccessToken = &v +// SetUserPoolAddOns sets the UserPoolAddOns field's value. +func (s *CreateUserPoolInput) SetUserPoolAddOns(v *UserPoolAddOnsType) *CreateUserPoolInput { + s.UserPoolAddOns = v return s } -// SetDeviceKey sets the DeviceKey field's value. -func (s *ConfirmDeviceInput) SetDeviceKey(v string) *ConfirmDeviceInput { - s.DeviceKey = &v +// SetUserPoolTags sets the UserPoolTags field's value. +func (s *CreateUserPoolInput) SetUserPoolTags(v map[string]*string) *CreateUserPoolInput { + s.UserPoolTags = v return s } -// SetDeviceName sets the DeviceName field's value. -func (s *ConfirmDeviceInput) SetDeviceName(v string) *ConfirmDeviceInput { - s.DeviceName = &v +// SetUsernameAttributes sets the UsernameAttributes field's value. +func (s *CreateUserPoolInput) SetUsernameAttributes(v []*string) *CreateUserPoolInput { + s.UsernameAttributes = v return s } -// SetDeviceSecretVerifierConfig sets the DeviceSecretVerifierConfig field's value. -func (s *ConfirmDeviceInput) SetDeviceSecretVerifierConfig(v *DeviceSecretVerifierConfigType) *ConfirmDeviceInput { - s.DeviceSecretVerifierConfig = v +// SetVerificationMessageTemplate sets the VerificationMessageTemplate field's value. +func (s *CreateUserPoolInput) SetVerificationMessageTemplate(v *VerificationMessageTemplateType) *CreateUserPoolInput { + s.VerificationMessageTemplate = v return s } -// Confirms the device response. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDeviceResponse -type ConfirmDeviceOutput struct { +// Represents the response from the server for the request to create a user +// pool. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolResponse +type CreateUserPoolOutput struct { _ struct{} `type:"structure"` - // Indicates whether the user confirmation is necessary to confirm the device - // response. - UserConfirmationNecessary *bool `type:"boolean"` + // A container for the user pool details. + UserPool *UserPoolType `type:"structure"` } // String returns the string representation -func (s ConfirmDeviceOutput) String() string { +func (s CreateUserPoolOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ConfirmDeviceOutput) GoString() string { +func (s CreateUserPoolOutput) GoString() string { return s.String() } -// SetUserConfirmationNecessary sets the UserConfirmationNecessary field's value. -func (s *ConfirmDeviceOutput) SetUserConfirmationNecessary(v bool) *ConfirmDeviceOutput { - s.UserConfirmationNecessary = &v +// SetUserPool sets the UserPool field's value. +func (s *CreateUserPoolOutput) SetUserPool(v *UserPoolType) *CreateUserPoolOutput { + s.UserPool = v return s } -// The request representing the confirmation for a password reset. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPasswordRequest -type ConfirmForgotPasswordInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroupRequest +type DeleteGroupInput struct { _ struct{} `type:"structure"` - // The app client ID of the app associated with the user pool. - // - // ClientId is a required field - ClientId *string `min:"1" type:"string" required:"true"` - - // The confirmation code sent by a user's request to retrieve a forgotten password. - // For more information, see ForgotPassword (API_ForgotPassword.html) - // - // ConfirmationCode is a required field - ConfirmationCode *string `min:"1" type:"string" required:"true"` - - // The password sent by a user's request to retrieve a forgotten password. + // The name of the group. // - // Password is a required field - Password *string `min:"6" type:"string" required:"true"` - - // A keyed-hash message authentication code (HMAC) calculated using the secret - // key of a user pool client and username plus the client ID in the message. - SecretHash *string `min:"1" type:"string"` + // GroupName is a required field + GroupName *string `min:"1" type:"string" required:"true"` - // The user name of the user for whom you want to enter a code to retrieve a - // forgotten password. + // The user pool ID for the user pool. // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s ConfirmForgotPasswordInput) String() string { +func (s DeleteGroupInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ConfirmForgotPasswordInput) GoString() string { +func (s DeleteGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ConfirmForgotPasswordInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ConfirmForgotPasswordInput"} - if s.ClientId == nil { - invalidParams.Add(request.NewErrParamRequired("ClientId")) - } - if s.ClientId != nil && len(*s.ClientId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) - } - if s.ConfirmationCode == nil { - invalidParams.Add(request.NewErrParamRequired("ConfirmationCode")) - } - if s.ConfirmationCode != nil && len(*s.ConfirmationCode) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ConfirmationCode", 1)) - } - if s.Password == nil { - invalidParams.Add(request.NewErrParamRequired("Password")) - } - if s.Password != nil && len(*s.Password) < 6 { - invalidParams.Add(request.NewErrParamMinLen("Password", 6)) +func (s *DeleteGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteGroupInput"} + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) } - if s.SecretHash != nil && len(*s.SecretHash) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SecretHash", 1)) + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } if invalidParams.Len() > 0 { @@ -11898,119 +15460,72 @@ func (s *ConfirmForgotPasswordInput) Validate() error { return nil } -// SetClientId sets the ClientId field's value. -func (s *ConfirmForgotPasswordInput) SetClientId(v string) *ConfirmForgotPasswordInput { - s.ClientId = &v - return s -} - -// SetConfirmationCode sets the ConfirmationCode field's value. -func (s *ConfirmForgotPasswordInput) SetConfirmationCode(v string) *ConfirmForgotPasswordInput { - s.ConfirmationCode = &v - return s -} - -// SetPassword sets the Password field's value. -func (s *ConfirmForgotPasswordInput) SetPassword(v string) *ConfirmForgotPasswordInput { - s.Password = &v - return s -} - -// SetSecretHash sets the SecretHash field's value. -func (s *ConfirmForgotPasswordInput) SetSecretHash(v string) *ConfirmForgotPasswordInput { - s.SecretHash = &v +// SetGroupName sets the GroupName field's value. +func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput { + s.GroupName = &v return s } -// SetUsername sets the Username field's value. -func (s *ConfirmForgotPasswordInput) SetUsername(v string) *ConfirmForgotPasswordInput { - s.Username = &v +// SetUserPoolId sets the UserPoolId field's value. +func (s *DeleteGroupInput) SetUserPoolId(v string) *DeleteGroupInput { + s.UserPoolId = &v return s } -// The response from the server that results from a user's request to retrieve -// a forgotten password. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPasswordResponse -type ConfirmForgotPasswordOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroupOutput +type DeleteGroupOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s ConfirmForgotPasswordOutput) String() string { +func (s DeleteGroupOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ConfirmForgotPasswordOutput) GoString() string { +func (s DeleteGroupOutput) GoString() string { return s.String() } -// Represents the request to confirm registration of a user. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUpRequest -type ConfirmSignUpInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProviderRequest +type DeleteIdentityProviderInput struct { _ struct{} `type:"structure"` - // The ID of the app client associated with the user pool. - // - // ClientId is a required field - ClientId *string `min:"1" type:"string" required:"true"` - - // The confirmation code sent by a user's request to confirm registration. + // The identity provider name. // - // ConfirmationCode is a required field - ConfirmationCode *string `min:"1" type:"string" required:"true"` - - // Boolean to be specified to force user confirmation irrespective of existing - // alias. By default set to False. If this parameter is set to True and the - // phone number/email used for sign up confirmation already exists as an alias - // with a different user, the API call will migrate the alias from the previous - // user to the newly created user being confirmed. If set to False, the API - // will throw an AliasExistsException error. - ForceAliasCreation *bool `type:"boolean"` - - // A keyed-hash message authentication code (HMAC) calculated using the secret - // key of a user pool client and username plus the client ID in the message. - SecretHash *string `min:"1" type:"string"` + // ProviderName is a required field + ProviderName *string `min:"1" type:"string" required:"true"` - // The user name of the user whose registration you wish to confirm. + // The user pool ID. // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s ConfirmSignUpInput) String() string { +func (s DeleteIdentityProviderInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ConfirmSignUpInput) GoString() string { +func (s DeleteIdentityProviderInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ConfirmSignUpInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ConfirmSignUpInput"} - if s.ClientId == nil { - invalidParams.Add(request.NewErrParamRequired("ClientId")) - } - if s.ClientId != nil && len(*s.ClientId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) - } - if s.ConfirmationCode == nil { - invalidParams.Add(request.NewErrParamRequired("ConfirmationCode")) - } - if s.ConfirmationCode != nil && len(*s.ConfirmationCode) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ConfirmationCode", 1)) +func (s *DeleteIdentityProviderInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteIdentityProviderInput"} + if s.ProviderName == nil { + invalidParams.Add(request.NewErrParamRequired("ProviderName")) } - if s.SecretHash != nil && len(*s.SecretHash) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SecretHash", 1)) + if s.ProviderName != nil && len(*s.ProviderName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProviderName", 1)) } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } if invalidParams.Len() > 0 { @@ -12019,111 +15534,66 @@ func (s *ConfirmSignUpInput) Validate() error { return nil } -// SetClientId sets the ClientId field's value. -func (s *ConfirmSignUpInput) SetClientId(v string) *ConfirmSignUpInput { - s.ClientId = &v - return s -} - -// SetConfirmationCode sets the ConfirmationCode field's value. -func (s *ConfirmSignUpInput) SetConfirmationCode(v string) *ConfirmSignUpInput { - s.ConfirmationCode = &v - return s -} - -// SetForceAliasCreation sets the ForceAliasCreation field's value. -func (s *ConfirmSignUpInput) SetForceAliasCreation(v bool) *ConfirmSignUpInput { - s.ForceAliasCreation = &v - return s -} - -// SetSecretHash sets the SecretHash field's value. -func (s *ConfirmSignUpInput) SetSecretHash(v string) *ConfirmSignUpInput { - s.SecretHash = &v +// SetProviderName sets the ProviderName field's value. +func (s *DeleteIdentityProviderInput) SetProviderName(v string) *DeleteIdentityProviderInput { + s.ProviderName = &v return s } -// SetUsername sets the Username field's value. -func (s *ConfirmSignUpInput) SetUsername(v string) *ConfirmSignUpInput { - s.Username = &v +// SetUserPoolId sets the UserPoolId field's value. +func (s *DeleteIdentityProviderInput) SetUserPoolId(v string) *DeleteIdentityProviderInput { + s.UserPoolId = &v return s } -// Represents the response from the server for the registration confirmation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUpResponse -type ConfirmSignUpOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProviderOutput +type DeleteIdentityProviderOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s ConfirmSignUpOutput) String() string { +func (s DeleteIdentityProviderOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ConfirmSignUpOutput) GoString() string { +func (s DeleteIdentityProviderOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroupRequest -type CreateGroupInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteResourceServerRequest +type DeleteResourceServerInput struct { _ struct{} `type:"structure"` - // A string containing the description of the group. - Description *string `type:"string"` - - // The name of the group. Must be unique. - // - // GroupName is a required field - GroupName *string `min:"1" type:"string" required:"true"` - - // A nonnegative integer value that specifies the precedence of this group relative - // to the other groups that a user can belong to in the user pool. Zero is the - // highest precedence value. Groups with lower Precedence values take precedence - // over groups with higher or null Precedence values. If a user belongs to two - // or more groups, it is the group with the lowest precedence value whose role - // ARN will be used in the cognito:roles and cognito:preferred_role claims in - // the user's tokens. - // - // Two groups can have the same Precedence value. If this happens, neither group - // takes precedence over the other. If two groups with the same Precedence have - // the same role ARN, that role is used in the cognito:preferred_role claim - // in tokens for users in each group. If the two groups have different role - // ARNs, the cognito:preferred_role claim is not set in users' tokens. + // The identifier for the resource server. // - // The default Precedence value is null. - Precedence *int64 `type:"integer"` - - // The role ARN for the group. - RoleArn *string `min:"20" type:"string"` + // Identifier is a required field + Identifier *string `min:"1" type:"string" required:"true"` - // The user pool ID for the user pool. + // The user pool ID for the user pool that hosts the resource server. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s CreateGroupInput) String() string { +func (s DeleteResourceServerInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateGroupInput) GoString() string { +func (s DeleteResourceServerInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateGroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateGroupInput"} - if s.GroupName == nil { - invalidParams.Add(request.NewErrParamRequired("GroupName")) - } - if s.GroupName != nil && len(*s.GroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) +func (s *DeleteResourceServerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteResourceServerInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) } - if s.RoleArn != nil && len(*s.RoleArn) < 20 { - invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -12138,122 +15608,70 @@ func (s *CreateGroupInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateGroupInput) SetDescription(v string) *CreateGroupInput { - s.Description = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput { - s.GroupName = &v - return s -} - -// SetPrecedence sets the Precedence field's value. -func (s *CreateGroupInput) SetPrecedence(v int64) *CreateGroupInput { - s.Precedence = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CreateGroupInput) SetRoleArn(v string) *CreateGroupInput { - s.RoleArn = &v +// SetIdentifier sets the Identifier field's value. +func (s *DeleteResourceServerInput) SetIdentifier(v string) *DeleteResourceServerInput { + s.Identifier = &v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *CreateGroupInput) SetUserPoolId(v string) *CreateGroupInput { +func (s *DeleteResourceServerInput) SetUserPoolId(v string) *DeleteResourceServerInput { s.UserPoolId = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroupResponse -type CreateGroupOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteResourceServerOutput +type DeleteResourceServerOutput struct { _ struct{} `type:"structure"` - - // The group object for the group. - Group *GroupType `type:"structure"` } // String returns the string representation -func (s CreateGroupOutput) String() string { +func (s DeleteResourceServerOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateGroupOutput) GoString() string { +func (s DeleteResourceServerOutput) GoString() string { return s.String() } -// SetGroup sets the Group field's value. -func (s *CreateGroupOutput) SetGroup(v *GroupType) *CreateGroupOutput { - s.Group = v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProviderRequest -type CreateIdentityProviderInput struct { +// Represents the request to delete user attributes. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributesRequest +type DeleteUserAttributesInput struct { _ struct{} `type:"structure"` - // A mapping of identity provider attributes to standard and custom user pool - // attributes. - AttributeMapping map[string]*string `type:"map"` - - // A list of identity provider identifiers. - IdpIdentifiers []*string `type:"list"` - - // The identity provider details, such as MetadataURL and MetadataFile. - // - // ProviderDetails is a required field - ProviderDetails map[string]*string `type:"map" required:"true"` - - // The identity provider name. + // The access token used in the request to delete user attributes. // - // ProviderName is a required field - ProviderName *string `min:"1" type:"string" required:"true"` + // AccessToken is a required field + AccessToken *string `type:"string" required:"true"` - // The identity provider type. + // An array of strings representing the user attribute names you wish to delete. // - // ProviderType is a required field - ProviderType *string `type:"string" required:"true" enum:"IdentityProviderTypeType"` - - // The user pool ID. + // For custom attributes, you must prepend the custom: prefix to the attribute + // name. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // UserAttributeNames is a required field + UserAttributeNames []*string `type:"list" required:"true"` } // String returns the string representation -func (s CreateIdentityProviderInput) String() string { +func (s DeleteUserAttributesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateIdentityProviderInput) GoString() string { +func (s DeleteUserAttributesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateIdentityProviderInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateIdentityProviderInput"} - if s.ProviderDetails == nil { - invalidParams.Add(request.NewErrParamRequired("ProviderDetails")) - } - if s.ProviderName == nil { - invalidParams.Add(request.NewErrParamRequired("ProviderName")) - } - if s.ProviderName != nil && len(*s.ProviderName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ProviderName", 1)) - } - if s.ProviderType == nil { - invalidParams.Add(request.NewErrParamRequired("ProviderType")) - } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) +func (s *DeleteUserAttributesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteUserAttributesInput"} + if s.AccessToken == nil { + invalidParams.Add(request.NewErrParamRequired("AccessToken")) } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.UserAttributeNames == nil { + invalidParams.Add(request.NewErrParamRequired("UserAttributeNames")) } if invalidParams.Len() > 0 { @@ -12262,116 +15680,123 @@ func (s *CreateIdentityProviderInput) Validate() error { return nil } -// SetAttributeMapping sets the AttributeMapping field's value. -func (s *CreateIdentityProviderInput) SetAttributeMapping(v map[string]*string) *CreateIdentityProviderInput { - s.AttributeMapping = v +// SetAccessToken sets the AccessToken field's value. +func (s *DeleteUserAttributesInput) SetAccessToken(v string) *DeleteUserAttributesInput { + s.AccessToken = &v return s } -// SetIdpIdentifiers sets the IdpIdentifiers field's value. -func (s *CreateIdentityProviderInput) SetIdpIdentifiers(v []*string) *CreateIdentityProviderInput { - s.IdpIdentifiers = v +// SetUserAttributeNames sets the UserAttributeNames field's value. +func (s *DeleteUserAttributesInput) SetUserAttributeNames(v []*string) *DeleteUserAttributesInput { + s.UserAttributeNames = v return s } -// SetProviderDetails sets the ProviderDetails field's value. -func (s *CreateIdentityProviderInput) SetProviderDetails(v map[string]*string) *CreateIdentityProviderInput { - s.ProviderDetails = v - return s +// Represents the response from the server to delete user attributes. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributesResponse +type DeleteUserAttributesOutput struct { + _ struct{} `type:"structure"` } -// SetProviderName sets the ProviderName field's value. -func (s *CreateIdentityProviderInput) SetProviderName(v string) *CreateIdentityProviderInput { - s.ProviderName = &v - return s +// String returns the string representation +func (s DeleteUserAttributesOutput) String() string { + return awsutil.Prettify(s) } -// SetProviderType sets the ProviderType field's value. -func (s *CreateIdentityProviderInput) SetProviderType(v string) *CreateIdentityProviderInput { - s.ProviderType = &v - return s +// GoString returns the string representation +func (s DeleteUserAttributesOutput) GoString() string { + return s.String() +} + +// Represents the request to delete a user. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserRequest +type DeleteUserInput struct { + _ struct{} `type:"structure"` + + // The access token from a request to delete a user. + // + // AccessToken is a required field + AccessToken *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteUserInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteUserInput"} + if s.AccessToken == nil { + invalidParams.Add(request.NewErrParamRequired("AccessToken")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *CreateIdentityProviderInput) SetUserPoolId(v string) *CreateIdentityProviderInput { - s.UserPoolId = &v +// SetAccessToken sets the AccessToken field's value. +func (s *DeleteUserInput) SetAccessToken(v string) *DeleteUserInput { + s.AccessToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProviderResponse -type CreateIdentityProviderOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserOutput +type DeleteUserOutput struct { _ struct{} `type:"structure"` - - // The newly created identity provider object. - // - // IdentityProvider is a required field - IdentityProvider *IdentityProviderType `type:"structure" required:"true"` } // String returns the string representation -func (s CreateIdentityProviderOutput) String() string { +func (s DeleteUserOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateIdentityProviderOutput) GoString() string { +func (s DeleteUserOutput) GoString() string { return s.String() } -// SetIdentityProvider sets the IdentityProvider field's value. -func (s *CreateIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *CreateIdentityProviderOutput { - s.IdentityProvider = v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateResourceServerRequest -type CreateResourceServerInput struct { +// Represents the request to delete a user pool client. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClientRequest +type DeleteUserPoolClientInput struct { _ struct{} `type:"structure"` - // A unique resource server identifier for the resource server. This could be - // an HTTPS endpoint where the resource server is located. For example, https://my-weather-api.example.com. - // - // Identifier is a required field - Identifier *string `min:"1" type:"string" required:"true"` - - // A friendly name for the resource server. + // The app client ID of the app associated with the user pool. // - // Name is a required field - Name *string `min:"1" type:"string" required:"true"` - - // A list of scopes. Each scope is map, where the keys are name and description. - Scopes []*ResourceServerScopeType `type:"list"` + // ClientId is a required field + ClientId *string `min:"1" type:"string" required:"true"` - // The user pool ID for the user pool. + // The user pool ID for the user pool where you want to delete the client. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s CreateResourceServerInput) String() string { +func (s DeleteUserPoolClientInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateResourceServerInput) GoString() string { +func (s DeleteUserPoolClientInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateResourceServerInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateResourceServerInput"} - if s.Identifier == nil { - invalidParams.Add(request.NewErrParamRequired("Identifier")) - } - if s.Identifier != nil && len(*s.Identifier) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) - } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) +func (s *DeleteUserPoolClientInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteUserPoolClientInput"} + if s.ClientId == nil { + invalidParams.Add(request.NewErrParamRequired("ClientId")) } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + if s.ClientId != nil && len(*s.ClientId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -12379,16 +15804,6 @@ func (s *CreateResourceServerInput) Validate() error { if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } - if s.Scopes != nil { - for i, v := range s.Scopes { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Scopes", i), err.(request.ErrInvalidParams)) - } - } - } if invalidParams.Len() > 0 { return invalidParams @@ -12396,101 +15811,66 @@ func (s *CreateResourceServerInput) Validate() error { return nil } -// SetIdentifier sets the Identifier field's value. -func (s *CreateResourceServerInput) SetIdentifier(v string) *CreateResourceServerInput { - s.Identifier = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateResourceServerInput) SetName(v string) *CreateResourceServerInput { - s.Name = &v - return s -} - -// SetScopes sets the Scopes field's value. -func (s *CreateResourceServerInput) SetScopes(v []*ResourceServerScopeType) *CreateResourceServerInput { - s.Scopes = v +// SetClientId sets the ClientId field's value. +func (s *DeleteUserPoolClientInput) SetClientId(v string) *DeleteUserPoolClientInput { + s.ClientId = &v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *CreateResourceServerInput) SetUserPoolId(v string) *CreateResourceServerInput { +func (s *DeleteUserPoolClientInput) SetUserPoolId(v string) *DeleteUserPoolClientInput { s.UserPoolId = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateResourceServerResponse -type CreateResourceServerOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClientOutput +type DeleteUserPoolClientOutput struct { _ struct{} `type:"structure"` - - // The newly created resource server. - // - // ResourceServer is a required field - ResourceServer *ResourceServerType `type:"structure" required:"true"` } // String returns the string representation -func (s CreateResourceServerOutput) String() string { +func (s DeleteUserPoolClientOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateResourceServerOutput) GoString() string { +func (s DeleteUserPoolClientOutput) GoString() string { return s.String() } -// SetResourceServer sets the ResourceServer field's value. -func (s *CreateResourceServerOutput) SetResourceServer(v *ResourceServerType) *CreateResourceServerOutput { - s.ResourceServer = v - return s -} - -// Represents the request to create the user import job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJobRequest -type CreateUserImportJobInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomainRequest +type DeleteUserPoolDomainInput struct { _ struct{} `type:"structure"` - // The role ARN for the Amazon CloudWatch Logging role for the user import job. - // - // CloudWatchLogsRoleArn is a required field - CloudWatchLogsRoleArn *string `min:"20" type:"string" required:"true"` - - // The job name for the user import job. + // The domain string. // - // JobName is a required field - JobName *string `min:"1" type:"string" required:"true"` + // Domain is a required field + Domain *string `min:"1" type:"string" required:"true"` - // The user pool ID for the user pool that the users are being imported into. + // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s CreateUserImportJobInput) String() string { +func (s DeleteUserPoolDomainInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateUserImportJobInput) GoString() string { +func (s DeleteUserPoolDomainInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateUserImportJobInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateUserImportJobInput"} - if s.CloudWatchLogsRoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("CloudWatchLogsRoleArn")) - } - if s.CloudWatchLogsRoleArn != nil && len(*s.CloudWatchLogsRoleArn) < 20 { - invalidParams.Add(request.NewErrParamMinLen("CloudWatchLogsRoleArn", 20)) - } - if s.JobName == nil { - invalidParams.Add(request.NewErrParamRequired("JobName")) +func (s *DeleteUserPoolDomainInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteUserPoolDomainInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) } - if s.JobName != nil && len(*s.JobName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -12505,133 +15885,124 @@ func (s *CreateUserImportJobInput) Validate() error { return nil } -// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value. -func (s *CreateUserImportJobInput) SetCloudWatchLogsRoleArn(v string) *CreateUserImportJobInput { - s.CloudWatchLogsRoleArn = &v - return s -} - -// SetJobName sets the JobName field's value. -func (s *CreateUserImportJobInput) SetJobName(v string) *CreateUserImportJobInput { - s.JobName = &v +// SetDomain sets the Domain field's value. +func (s *DeleteUserPoolDomainInput) SetDomain(v string) *DeleteUserPoolDomainInput { + s.Domain = &v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *CreateUserImportJobInput) SetUserPoolId(v string) *CreateUserImportJobInput { +func (s *DeleteUserPoolDomainInput) SetUserPoolId(v string) *DeleteUserPoolDomainInput { s.UserPoolId = &v return s } -// Represents the response from the server to the request to create the user -// import job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJobResponse -type CreateUserImportJobOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomainResponse +type DeleteUserPoolDomainOutput struct { _ struct{} `type:"structure"` - - // The job object that represents the user import job. - UserImportJob *UserImportJobType `type:"structure"` } // String returns the string representation -func (s CreateUserImportJobOutput) String() string { +func (s DeleteUserPoolDomainOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateUserImportJobOutput) GoString() string { +func (s DeleteUserPoolDomainOutput) GoString() string { return s.String() } -// SetUserImportJob sets the UserImportJob field's value. -func (s *CreateUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *CreateUserImportJobOutput { - s.UserImportJob = v - return s -} - -// Represents the request to create a user pool client. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClientRequest -type CreateUserPoolClientInput struct { +// Represents the request to delete a user pool. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolRequest +type DeleteUserPoolInput struct { _ struct{} `type:"structure"` - // Set to code to initiate a code grant flow, which provides an authorization - // code as the response. This code can be exchanged for access tokens with the - // token endpoint. + // The user pool ID for the user pool you want to delete. // - // Set to token to specify that the client should get the access token (and, - // optionally, ID token, based on scopes) directly. - AllowedOAuthFlows []*string `type:"list"` - - // Set to True if the client is allowed to follow the OAuth protocol when interacting - // with Cognito user pools. - AllowedOAuthFlowsUserPoolClient *bool `type:"boolean"` - - // A list of allowed OAuth scopes. Currently supported values are "phone", "email", - // "openid", and "Cognito". - AllowedOAuthScopes []*string `type:"list"` + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` +} - // A list of allowed callback URLs for the identity providers. - CallbackURLs []*string `type:"list"` +// String returns the string representation +func (s DeleteUserPoolInput) String() string { + return awsutil.Prettify(s) +} - // The client name for the user pool client you would like to create. - // - // ClientName is a required field - ClientName *string `min:"1" type:"string" required:"true"` +// GoString returns the string representation +func (s DeleteUserPoolInput) GoString() string { + return s.String() +} - // The default redirect URI. Must be in the CallbackURLs list. - DefaultRedirectURI *string `min:"1" type:"string"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteUserPoolInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteUserPoolInput"} + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } - // The explicit authentication flows. - ExplicitAuthFlows []*string `type:"list"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // Boolean to specify whether you want to generate a secret for the user pool - // client being created. - GenerateSecret *bool `type:"boolean"` +// SetUserPoolId sets the UserPoolId field's value. +func (s *DeleteUserPoolInput) SetUserPoolId(v string) *DeleteUserPoolInput { + s.UserPoolId = &v + return s +} - // A list of allowed logout URLs for the identity providers. - LogoutURLs []*string `type:"list"` +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolOutput +type DeleteUserPoolOutput struct { + _ struct{} `type:"structure"` +} - // The read attributes. - ReadAttributes []*string `type:"list"` +// String returns the string representation +func (s DeleteUserPoolOutput) String() string { + return awsutil.Prettify(s) +} - // The time limit, in days, after which the refresh token is no longer valid - // and cannot be used. - RefreshTokenValidity *int64 `type:"integer"` +// GoString returns the string representation +func (s DeleteUserPoolOutput) GoString() string { + return s.String() +} - // A list of provider names for the identity providers that are supported on - // this client. - SupportedIdentityProviders []*string `type:"list"` +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProviderRequest +type DescribeIdentityProviderInput struct { + _ struct{} `type:"structure"` - // The user pool ID for the user pool where you want to create a user pool client. + // The identity provider name. + // + // ProviderName is a required field + ProviderName *string `min:"1" type:"string" required:"true"` + + // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` - - // The write attributes. - WriteAttributes []*string `type:"list"` } // String returns the string representation -func (s CreateUserPoolClientInput) String() string { +func (s DescribeIdentityProviderInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateUserPoolClientInput) GoString() string { +func (s DescribeIdentityProviderInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateUserPoolClientInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateUserPoolClientInput"} - if s.ClientName == nil { - invalidParams.Add(request.NewErrParamRequired("ClientName")) - } - if s.ClientName != nil && len(*s.ClientName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClientName", 1)) +func (s *DescribeIdentityProviderInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeIdentityProviderInput"} + if s.ProviderName == nil { + invalidParams.Add(request.NewErrParamRequired("ProviderName")) } - if s.DefaultRedirectURI != nil && len(*s.DefaultRedirectURI) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DefaultRedirectURI", 1)) + if s.ProviderName != nil && len(*s.ProviderName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProviderName", 1)) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -12646,123 +16017,135 @@ func (s *CreateUserPoolClientInput) Validate() error { return nil } -// SetAllowedOAuthFlows sets the AllowedOAuthFlows field's value. -func (s *CreateUserPoolClientInput) SetAllowedOAuthFlows(v []*string) *CreateUserPoolClientInput { - s.AllowedOAuthFlows = v +// SetProviderName sets the ProviderName field's value. +func (s *DescribeIdentityProviderInput) SetProviderName(v string) *DescribeIdentityProviderInput { + s.ProviderName = &v return s } -// SetAllowedOAuthFlowsUserPoolClient sets the AllowedOAuthFlowsUserPoolClient field's value. -func (s *CreateUserPoolClientInput) SetAllowedOAuthFlowsUserPoolClient(v bool) *CreateUserPoolClientInput { - s.AllowedOAuthFlowsUserPoolClient = &v +// SetUserPoolId sets the UserPoolId field's value. +func (s *DescribeIdentityProviderInput) SetUserPoolId(v string) *DescribeIdentityProviderInput { + s.UserPoolId = &v return s } -// SetAllowedOAuthScopes sets the AllowedOAuthScopes field's value. -func (s *CreateUserPoolClientInput) SetAllowedOAuthScopes(v []*string) *CreateUserPoolClientInput { - s.AllowedOAuthScopes = v - return s -} +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProviderResponse +type DescribeIdentityProviderOutput struct { + _ struct{} `type:"structure"` -// SetCallbackURLs sets the CallbackURLs field's value. -func (s *CreateUserPoolClientInput) SetCallbackURLs(v []*string) *CreateUserPoolClientInput { - s.CallbackURLs = v - return s + // The identity provider that was deleted. + // + // IdentityProvider is a required field + IdentityProvider *IdentityProviderType `type:"structure" required:"true"` } -// SetClientName sets the ClientName field's value. -func (s *CreateUserPoolClientInput) SetClientName(v string) *CreateUserPoolClientInput { - s.ClientName = &v - return s +// String returns the string representation +func (s DescribeIdentityProviderOutput) String() string { + return awsutil.Prettify(s) } -// SetDefaultRedirectURI sets the DefaultRedirectURI field's value. -func (s *CreateUserPoolClientInput) SetDefaultRedirectURI(v string) *CreateUserPoolClientInput { - s.DefaultRedirectURI = &v - return s +// GoString returns the string representation +func (s DescribeIdentityProviderOutput) GoString() string { + return s.String() } -// SetExplicitAuthFlows sets the ExplicitAuthFlows field's value. -func (s *CreateUserPoolClientInput) SetExplicitAuthFlows(v []*string) *CreateUserPoolClientInput { - s.ExplicitAuthFlows = v +// SetIdentityProvider sets the IdentityProvider field's value. +func (s *DescribeIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *DescribeIdentityProviderOutput { + s.IdentityProvider = v return s } -// SetGenerateSecret sets the GenerateSecret field's value. -func (s *CreateUserPoolClientInput) SetGenerateSecret(v bool) *CreateUserPoolClientInput { - s.GenerateSecret = &v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeResourceServerRequest +type DescribeResourceServerInput struct { + _ struct{} `type:"structure"` + + // The identifier for the resource server + // + // Identifier is a required field + Identifier *string `min:"1" type:"string" required:"true"` + + // The user pool ID for the user pool that hosts the resource server. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } -// SetLogoutURLs sets the LogoutURLs field's value. -func (s *CreateUserPoolClientInput) SetLogoutURLs(v []*string) *CreateUserPoolClientInput { - s.LogoutURLs = v - return s +// String returns the string representation +func (s DescribeResourceServerInput) String() string { + return awsutil.Prettify(s) } -// SetReadAttributes sets the ReadAttributes field's value. -func (s *CreateUserPoolClientInput) SetReadAttributes(v []*string) *CreateUserPoolClientInput { - s.ReadAttributes = v - return s +// GoString returns the string representation +func (s DescribeResourceServerInput) GoString() string { + return s.String() } -// SetRefreshTokenValidity sets the RefreshTokenValidity field's value. -func (s *CreateUserPoolClientInput) SetRefreshTokenValidity(v int64) *CreateUserPoolClientInput { - s.RefreshTokenValidity = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeResourceServerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeResourceServerInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetSupportedIdentityProviders sets the SupportedIdentityProviders field's value. -func (s *CreateUserPoolClientInput) SetSupportedIdentityProviders(v []*string) *CreateUserPoolClientInput { - s.SupportedIdentityProviders = v +// SetIdentifier sets the Identifier field's value. +func (s *DescribeResourceServerInput) SetIdentifier(v string) *DescribeResourceServerInput { + s.Identifier = &v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *CreateUserPoolClientInput) SetUserPoolId(v string) *CreateUserPoolClientInput { +func (s *DescribeResourceServerInput) SetUserPoolId(v string) *DescribeResourceServerInput { s.UserPoolId = &v return s } -// SetWriteAttributes sets the WriteAttributes field's value. -func (s *CreateUserPoolClientInput) SetWriteAttributes(v []*string) *CreateUserPoolClientInput { - s.WriteAttributes = v - return s -} - -// Represents the response from the server to create a user pool client. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClientResponse -type CreateUserPoolClientOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeResourceServerResponse +type DescribeResourceServerOutput struct { _ struct{} `type:"structure"` - // The user pool client that was just created. - UserPoolClient *UserPoolClientType `type:"structure"` + // The resource server. + // + // ResourceServer is a required field + ResourceServer *ResourceServerType `type:"structure" required:"true"` } // String returns the string representation -func (s CreateUserPoolClientOutput) String() string { +func (s DescribeResourceServerOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateUserPoolClientOutput) GoString() string { +func (s DescribeResourceServerOutput) GoString() string { return s.String() } -// SetUserPoolClient sets the UserPoolClient field's value. -func (s *CreateUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *CreateUserPoolClientOutput { - s.UserPoolClient = v +// SetResourceServer sets the ResourceServer field's value. +func (s *DescribeResourceServerOutput) SetResourceServer(v *ResourceServerType) *DescribeResourceServerOutput { + s.ResourceServer = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomainRequest -type CreateUserPoolDomainInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeRiskConfigurationRequest +type DescribeRiskConfigurationInput struct { _ struct{} `type:"structure"` - // The domain string. - // - // Domain is a required field - Domain *string `min:"1" type:"string" required:"true"` + // The app client ID. + ClientId *string `min:"1" type:"string"` // The user pool ID. // @@ -12771,23 +16154,20 @@ type CreateUserPoolDomainInput struct { } // String returns the string representation -func (s CreateUserPoolDomainInput) String() string { +func (s DescribeRiskConfigurationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateUserPoolDomainInput) GoString() string { +func (s DescribeRiskConfigurationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateUserPoolDomainInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateUserPoolDomainInput"} - if s.Domain == nil { - invalidParams.Add(request.NewErrParamRequired("Domain")) - } - if s.Domain != nil && len(*s.Domain) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) +func (s *DescribeRiskConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeRiskConfigurationInput"} + if s.ClientId != nil && len(*s.ClientId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -12802,173 +16182,84 @@ func (s *CreateUserPoolDomainInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *CreateUserPoolDomainInput) SetDomain(v string) *CreateUserPoolDomainInput { - s.Domain = &v +// SetClientId sets the ClientId field's value. +func (s *DescribeRiskConfigurationInput) SetClientId(v string) *DescribeRiskConfigurationInput { + s.ClientId = &v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *CreateUserPoolDomainInput) SetUserPoolId(v string) *CreateUserPoolDomainInput { +func (s *DescribeRiskConfigurationInput) SetUserPoolId(v string) *DescribeRiskConfigurationInput { s.UserPoolId = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomainResponse -type CreateUserPoolDomainOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeRiskConfigurationResponse +type DescribeRiskConfigurationOutput struct { _ struct{} `type:"structure"` + + // The risk configuration. + // + // RiskConfiguration is a required field + RiskConfiguration *RiskConfigurationType `type:"structure" required:"true"` } // String returns the string representation -func (s CreateUserPoolDomainOutput) String() string { +func (s DescribeRiskConfigurationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateUserPoolDomainOutput) GoString() string { - return s.String() -} - -// Represents the request to create a user pool. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolRequest -type CreateUserPoolInput struct { - _ struct{} `type:"structure"` - - // The configuration for AdminCreateUser requests. - AdminCreateUserConfig *AdminCreateUserConfigType `type:"structure"` - - // Attributes supported as an alias for this user pool. Possible values: phone_number, - // email, or preferred_username. - AliasAttributes []*string `type:"list"` - - // The attributes to be auto-verified. Possible values: email, phone_number. - AutoVerifiedAttributes []*string `type:"list"` - - // The device configuration. - DeviceConfiguration *DeviceConfigurationType `type:"structure"` - - // The email configuration. - EmailConfiguration *EmailConfigurationType `type:"structure"` - - // A string representing the email verification message. - EmailVerificationMessage *string `min:"6" type:"string"` - - // A string representing the email verification subject. - EmailVerificationSubject *string `min:"1" type:"string"` - - // The Lambda trigger configuration information for the new user pool. - LambdaConfig *LambdaConfigType `type:"structure"` - - // Specifies MFA configuration details. - MfaConfiguration *string `type:"string" enum:"UserPoolMfaType"` - - // The policies associated with the new user pool. - Policies *UserPoolPolicyType `type:"structure"` - - // A string used to name the user pool. - // - // PoolName is a required field - PoolName *string `min:"1" type:"string" required:"true"` - - // An array of schema attributes for the new user pool. These attributes can - // be standard or custom attributes. - Schema []*SchemaAttributeType `min:"1" type:"list"` - - // A string representing the SMS authentication message. - SmsAuthenticationMessage *string `min:"6" type:"string"` - - // The SMS configuration. - SmsConfiguration *SmsConfigurationType `type:"structure"` +func (s DescribeRiskConfigurationOutput) GoString() string { + return s.String() +} - // A string representing the SMS verification message. - SmsVerificationMessage *string `min:"6" type:"string"` +// SetRiskConfiguration sets the RiskConfiguration field's value. +func (s *DescribeRiskConfigurationOutput) SetRiskConfiguration(v *RiskConfigurationType) *DescribeRiskConfigurationOutput { + s.RiskConfiguration = v + return s +} - // The cost allocation tags for the user pool. For more information, see Adding - // Cost Allocation Tags to Your User Pool (http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html) - UserPoolTags map[string]*string `type:"map"` +// Represents the request to describe the user import job. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJobRequest +type DescribeUserImportJobInput struct { + _ struct{} `type:"structure"` - // Specifies whether email addresses or phone numbers can be specified as usernames - // when a user signs up. - UsernameAttributes []*string `type:"list"` + // The job ID for the user import job. + // + // JobId is a required field + JobId *string `min:"1" type:"string" required:"true"` - // The template for the verification message that the user sees when the app - // requests permission to access the user's information. - VerificationMessageTemplate *VerificationMessageTemplateType `type:"structure"` + // The user pool ID for the user pool that the users are being imported into. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s CreateUserPoolInput) String() string { +func (s DescribeUserImportJobInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateUserPoolInput) GoString() string { +func (s DescribeUserImportJobInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateUserPoolInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateUserPoolInput"} - if s.EmailVerificationMessage != nil && len(*s.EmailVerificationMessage) < 6 { - invalidParams.Add(request.NewErrParamMinLen("EmailVerificationMessage", 6)) - } - if s.EmailVerificationSubject != nil && len(*s.EmailVerificationSubject) < 1 { - invalidParams.Add(request.NewErrParamMinLen("EmailVerificationSubject", 1)) - } - if s.PoolName == nil { - invalidParams.Add(request.NewErrParamRequired("PoolName")) - } - if s.PoolName != nil && len(*s.PoolName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PoolName", 1)) - } - if s.Schema != nil && len(s.Schema) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Schema", 1)) - } - if s.SmsAuthenticationMessage != nil && len(*s.SmsAuthenticationMessage) < 6 { - invalidParams.Add(request.NewErrParamMinLen("SmsAuthenticationMessage", 6)) - } - if s.SmsVerificationMessage != nil && len(*s.SmsVerificationMessage) < 6 { - invalidParams.Add(request.NewErrParamMinLen("SmsVerificationMessage", 6)) - } - if s.AdminCreateUserConfig != nil { - if err := s.AdminCreateUserConfig.Validate(); err != nil { - invalidParams.AddNested("AdminCreateUserConfig", err.(request.ErrInvalidParams)) - } - } - if s.EmailConfiguration != nil { - if err := s.EmailConfiguration.Validate(); err != nil { - invalidParams.AddNested("EmailConfiguration", err.(request.ErrInvalidParams)) - } - } - if s.LambdaConfig != nil { - if err := s.LambdaConfig.Validate(); err != nil { - invalidParams.AddNested("LambdaConfig", err.(request.ErrInvalidParams)) - } - } - if s.Policies != nil { - if err := s.Policies.Validate(); err != nil { - invalidParams.AddNested("Policies", err.(request.ErrInvalidParams)) - } +func (s *DescribeUserImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeUserImportJobInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) } - if s.Schema != nil { - for i, v := range s.Schema { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Schema", i), err.(request.ErrInvalidParams)) - } - } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) } - if s.SmsConfiguration != nil { - if err := s.SmsConfiguration.Validate(); err != nil { - invalidParams.AddNested("SmsConfiguration", err.(request.ErrInvalidParams)) - } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) } - if s.VerificationMessageTemplate != nil { - if err := s.VerificationMessageTemplate.Validate(); err != nil { - invalidParams.AddNested("VerificationMessageTemplate", err.(request.ErrInvalidParams)) - } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } if invalidParams.Len() > 0 { @@ -12977,174 +16268,220 @@ func (s *CreateUserPoolInput) Validate() error { return nil } -// SetAdminCreateUserConfig sets the AdminCreateUserConfig field's value. -func (s *CreateUserPoolInput) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *CreateUserPoolInput { - s.AdminCreateUserConfig = v +// SetJobId sets the JobId field's value. +func (s *DescribeUserImportJobInput) SetJobId(v string) *DescribeUserImportJobInput { + s.JobId = &v return s } -// SetAliasAttributes sets the AliasAttributes field's value. -func (s *CreateUserPoolInput) SetAliasAttributes(v []*string) *CreateUserPoolInput { - s.AliasAttributes = v +// SetUserPoolId sets the UserPoolId field's value. +func (s *DescribeUserImportJobInput) SetUserPoolId(v string) *DescribeUserImportJobInput { + s.UserPoolId = &v return s } -// SetAutoVerifiedAttributes sets the AutoVerifiedAttributes field's value. -func (s *CreateUserPoolInput) SetAutoVerifiedAttributes(v []*string) *CreateUserPoolInput { - s.AutoVerifiedAttributes = v - return s +// Represents the response from the server to the request to describe the user +// import job. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJobResponse +type DescribeUserImportJobOutput struct { + _ struct{} `type:"structure"` + + // The job object that represents the user import job. + UserImportJob *UserImportJobType `type:"structure"` } -// SetDeviceConfiguration sets the DeviceConfiguration field's value. -func (s *CreateUserPoolInput) SetDeviceConfiguration(v *DeviceConfigurationType) *CreateUserPoolInput { - s.DeviceConfiguration = v - return s +// String returns the string representation +func (s DescribeUserImportJobOutput) String() string { + return awsutil.Prettify(s) } -// SetEmailConfiguration sets the EmailConfiguration field's value. -func (s *CreateUserPoolInput) SetEmailConfiguration(v *EmailConfigurationType) *CreateUserPoolInput { - s.EmailConfiguration = v - return s +// GoString returns the string representation +func (s DescribeUserImportJobOutput) GoString() string { + return s.String() } -// SetEmailVerificationMessage sets the EmailVerificationMessage field's value. -func (s *CreateUserPoolInput) SetEmailVerificationMessage(v string) *CreateUserPoolInput { - s.EmailVerificationMessage = &v +// SetUserImportJob sets the UserImportJob field's value. +func (s *DescribeUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *DescribeUserImportJobOutput { + s.UserImportJob = v return s } -// SetEmailVerificationSubject sets the EmailVerificationSubject field's value. -func (s *CreateUserPoolInput) SetEmailVerificationSubject(v string) *CreateUserPoolInput { - s.EmailVerificationSubject = &v - return s +// Represents the request to describe a user pool client. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClientRequest +type DescribeUserPoolClientInput struct { + _ struct{} `type:"structure"` + + // The app client ID of the app associated with the user pool. + // + // ClientId is a required field + ClientId *string `min:"1" type:"string" required:"true"` + + // The user pool ID for the user pool you want to describe. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } -// SetLambdaConfig sets the LambdaConfig field's value. -func (s *CreateUserPoolInput) SetLambdaConfig(v *LambdaConfigType) *CreateUserPoolInput { - s.LambdaConfig = v - return s +// String returns the string representation +func (s DescribeUserPoolClientInput) String() string { + return awsutil.Prettify(s) } -// SetMfaConfiguration sets the MfaConfiguration field's value. -func (s *CreateUserPoolInput) SetMfaConfiguration(v string) *CreateUserPoolInput { - s.MfaConfiguration = &v - return s +// GoString returns the string representation +func (s DescribeUserPoolClientInput) GoString() string { + return s.String() } -// SetPolicies sets the Policies field's value. -func (s *CreateUserPoolInput) SetPolicies(v *UserPoolPolicyType) *CreateUserPoolInput { - s.Policies = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeUserPoolClientInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeUserPoolClientInput"} + if s.ClientId == nil { + invalidParams.Add(request.NewErrParamRequired("ClientId")) + } + if s.ClientId != nil && len(*s.ClientId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetPoolName sets the PoolName field's value. -func (s *CreateUserPoolInput) SetPoolName(v string) *CreateUserPoolInput { - s.PoolName = &v +// SetClientId sets the ClientId field's value. +func (s *DescribeUserPoolClientInput) SetClientId(v string) *DescribeUserPoolClientInput { + s.ClientId = &v return s } -// SetSchema sets the Schema field's value. -func (s *CreateUserPoolInput) SetSchema(v []*SchemaAttributeType) *CreateUserPoolInput { - s.Schema = v +// SetUserPoolId sets the UserPoolId field's value. +func (s *DescribeUserPoolClientInput) SetUserPoolId(v string) *DescribeUserPoolClientInput { + s.UserPoolId = &v return s } -// SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value. -func (s *CreateUserPoolInput) SetSmsAuthenticationMessage(v string) *CreateUserPoolInput { - s.SmsAuthenticationMessage = &v - return s +// Represents the response from the server from a request to describe the user +// pool client. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClientResponse +type DescribeUserPoolClientOutput struct { + _ struct{} `type:"structure"` + + // The user pool client from a server response to describe the user pool client. + UserPoolClient *UserPoolClientType `type:"structure"` } -// SetSmsConfiguration sets the SmsConfiguration field's value. -func (s *CreateUserPoolInput) SetSmsConfiguration(v *SmsConfigurationType) *CreateUserPoolInput { - s.SmsConfiguration = v - return s +// String returns the string representation +func (s DescribeUserPoolClientOutput) String() string { + return awsutil.Prettify(s) } -// SetSmsVerificationMessage sets the SmsVerificationMessage field's value. -func (s *CreateUserPoolInput) SetSmsVerificationMessage(v string) *CreateUserPoolInput { - s.SmsVerificationMessage = &v - return s +// GoString returns the string representation +func (s DescribeUserPoolClientOutput) GoString() string { + return s.String() } -// SetUserPoolTags sets the UserPoolTags field's value. -func (s *CreateUserPoolInput) SetUserPoolTags(v map[string]*string) *CreateUserPoolInput { - s.UserPoolTags = v +// SetUserPoolClient sets the UserPoolClient field's value. +func (s *DescribeUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *DescribeUserPoolClientOutput { + s.UserPoolClient = v return s } -// SetUsernameAttributes sets the UsernameAttributes field's value. -func (s *CreateUserPoolInput) SetUsernameAttributes(v []*string) *CreateUserPoolInput { - s.UsernameAttributes = v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomainRequest +type DescribeUserPoolDomainInput struct { + _ struct{} `type:"structure"` + + // The domain string. + // + // Domain is a required field + Domain *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeUserPoolDomainInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeUserPoolDomainInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeUserPoolDomainInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeUserPoolDomainInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetVerificationMessageTemplate sets the VerificationMessageTemplate field's value. -func (s *CreateUserPoolInput) SetVerificationMessageTemplate(v *VerificationMessageTemplateType) *CreateUserPoolInput { - s.VerificationMessageTemplate = v +// SetDomain sets the Domain field's value. +func (s *DescribeUserPoolDomainInput) SetDomain(v string) *DescribeUserPoolDomainInput { + s.Domain = &v return s } -// Represents the response from the server for the request to create a user -// pool. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolResponse -type CreateUserPoolOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomainResponse +type DescribeUserPoolDomainOutput struct { _ struct{} `type:"structure"` - // A container for the user pool details. - UserPool *UserPoolType `type:"structure"` + // A domain description object containing information about the domain. + DomainDescription *DomainDescriptionType `type:"structure"` } // String returns the string representation -func (s CreateUserPoolOutput) String() string { +func (s DescribeUserPoolDomainOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateUserPoolOutput) GoString() string { +func (s DescribeUserPoolDomainOutput) GoString() string { return s.String() } -// SetUserPool sets the UserPool field's value. -func (s *CreateUserPoolOutput) SetUserPool(v *UserPoolType) *CreateUserPoolOutput { - s.UserPool = v +// SetDomainDescription sets the DomainDescription field's value. +func (s *DescribeUserPoolDomainOutput) SetDomainDescription(v *DomainDescriptionType) *DescribeUserPoolDomainOutput { + s.DomainDescription = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroupRequest -type DeleteGroupInput struct { +// Represents the request to describe the user pool. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolRequest +type DescribeUserPoolInput struct { _ struct{} `type:"structure"` - // The name of the group. - // - // GroupName is a required field - GroupName *string `min:"1" type:"string" required:"true"` - - // The user pool ID for the user pool. + // The user pool ID for the user pool you want to describe. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DeleteGroupInput) String() string { +func (s DescribeUserPoolInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteGroupInput) GoString() string { +func (s DescribeUserPoolInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteGroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteGroupInput"} - if s.GroupName == nil { - invalidParams.Add(request.NewErrParamRequired("GroupName")) - } - if s.GroupName != nil && len(*s.GroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) - } +func (s *DescribeUserPoolInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeUserPoolInput"} if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) } @@ -13158,218 +16495,273 @@ func (s *DeleteGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput { - s.GroupName = &v - return s -} - // SetUserPoolId sets the UserPoolId field's value. -func (s *DeleteGroupInput) SetUserPoolId(v string) *DeleteGroupInput { +func (s *DescribeUserPoolInput) SetUserPoolId(v string) *DescribeUserPoolInput { s.UserPoolId = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroupOutput -type DeleteGroupOutput struct { +// Represents the response to describe the user pool. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolResponse +type DescribeUserPoolOutput struct { _ struct{} `type:"structure"` + + // The container of metadata returned by the server to describe the pool. + UserPool *UserPoolType `type:"structure"` } // String returns the string representation -func (s DeleteGroupOutput) String() string { +func (s DescribeUserPoolOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteGroupOutput) GoString() string { +func (s DescribeUserPoolOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProviderRequest -type DeleteIdentityProviderInput struct { +// SetUserPool sets the UserPool field's value. +func (s *DescribeUserPoolOutput) SetUserPool(v *UserPoolType) *DescribeUserPoolOutput { + s.UserPool = v + return s +} + +// The configuration for the user pool's device tracking. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeviceConfigurationType +type DeviceConfigurationType struct { _ struct{} `type:"structure"` - // The identity provider name. - // - // ProviderName is a required field - ProviderName *string `min:"1" type:"string" required:"true"` + // Indicates whether a challenge is required on a new device. Only applicable + // to a new device. + ChallengeRequiredOnNewDevice *bool `type:"boolean"` - // The user pool ID. - // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // If true, a device is only remembered on user prompt. + DeviceOnlyRememberedOnUserPrompt *bool `type:"boolean"` } // String returns the string representation -func (s DeleteIdentityProviderInput) String() string { +func (s DeviceConfigurationType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteIdentityProviderInput) GoString() string { +func (s DeviceConfigurationType) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteIdentityProviderInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteIdentityProviderInput"} - if s.ProviderName == nil { - invalidParams.Add(request.NewErrParamRequired("ProviderName")) - } - if s.ProviderName != nil && len(*s.ProviderName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ProviderName", 1)) - } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) - } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) - } +// SetChallengeRequiredOnNewDevice sets the ChallengeRequiredOnNewDevice field's value. +func (s *DeviceConfigurationType) SetChallengeRequiredOnNewDevice(v bool) *DeviceConfigurationType { + s.ChallengeRequiredOnNewDevice = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetDeviceOnlyRememberedOnUserPrompt sets the DeviceOnlyRememberedOnUserPrompt field's value. +func (s *DeviceConfigurationType) SetDeviceOnlyRememberedOnUserPrompt(v bool) *DeviceConfigurationType { + s.DeviceOnlyRememberedOnUserPrompt = &v + return s } -// SetProviderName sets the ProviderName field's value. -func (s *DeleteIdentityProviderInput) SetProviderName(v string) *DeleteIdentityProviderInput { - s.ProviderName = &v +// The device verifier against which it will be authenticated. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeviceSecretVerifierConfigType +type DeviceSecretVerifierConfigType struct { + _ struct{} `type:"structure"` + + // The password verifier. + PasswordVerifier *string `type:"string"` + + // The salt. + Salt *string `type:"string"` +} + +// String returns the string representation +func (s DeviceSecretVerifierConfigType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeviceSecretVerifierConfigType) GoString() string { + return s.String() +} + +// SetPasswordVerifier sets the PasswordVerifier field's value. +func (s *DeviceSecretVerifierConfigType) SetPasswordVerifier(v string) *DeviceSecretVerifierConfigType { + s.PasswordVerifier = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *DeleteIdentityProviderInput) SetUserPoolId(v string) *DeleteIdentityProviderInput { - s.UserPoolId = &v +// SetSalt sets the Salt field's value. +func (s *DeviceSecretVerifierConfigType) SetSalt(v string) *DeviceSecretVerifierConfigType { + s.Salt = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProviderOutput -type DeleteIdentityProviderOutput struct { +// The device type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeviceType +type DeviceType struct { _ struct{} `type:"structure"` + + // The device attributes. + DeviceAttributes []*AttributeType `type:"list"` + + // The creation date of the device. + DeviceCreateDate *time.Time `type:"timestamp" timestampFormat:"unix"` + + // The device key. + DeviceKey *string `min:"1" type:"string"` + + // The date in which the device was last authenticated. + DeviceLastAuthenticatedDate *time.Time `type:"timestamp" timestampFormat:"unix"` + + // The last modified date of the device. + DeviceLastModifiedDate *time.Time `type:"timestamp" timestampFormat:"unix"` } // String returns the string representation -func (s DeleteIdentityProviderOutput) String() string { +func (s DeviceType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteIdentityProviderOutput) GoString() string { +func (s DeviceType) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteResourceServerRequest -type DeleteResourceServerInput struct { +// SetDeviceAttributes sets the DeviceAttributes field's value. +func (s *DeviceType) SetDeviceAttributes(v []*AttributeType) *DeviceType { + s.DeviceAttributes = v + return s +} + +// SetDeviceCreateDate sets the DeviceCreateDate field's value. +func (s *DeviceType) SetDeviceCreateDate(v time.Time) *DeviceType { + s.DeviceCreateDate = &v + return s +} + +// SetDeviceKey sets the DeviceKey field's value. +func (s *DeviceType) SetDeviceKey(v string) *DeviceType { + s.DeviceKey = &v + return s +} + +// SetDeviceLastAuthenticatedDate sets the DeviceLastAuthenticatedDate field's value. +func (s *DeviceType) SetDeviceLastAuthenticatedDate(v time.Time) *DeviceType { + s.DeviceLastAuthenticatedDate = &v + return s +} + +// SetDeviceLastModifiedDate sets the DeviceLastModifiedDate field's value. +func (s *DeviceType) SetDeviceLastModifiedDate(v time.Time) *DeviceType { + s.DeviceLastModifiedDate = &v + return s +} + +// A container for information about a domain. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DomainDescriptionType +type DomainDescriptionType struct { _ struct{} `type:"structure"` - // The identifier for the resource server. - // - // Identifier is a required field - Identifier *string `min:"1" type:"string" required:"true"` + // The AWS account ID for the user pool owner. + AWSAccountId *string `type:"string"` - // The user pool ID for the user pool that hosts the resource server. - // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // The ARN of the CloudFront distribution. + CloudFrontDistribution *string `min:"20" type:"string"` + + // The domain string. + Domain *string `min:"1" type:"string"` + + // The S3 bucket where the static files for this domain are stored. + S3Bucket *string `min:"3" type:"string"` + + // The domain status. + Status *string `type:"string" enum:"DomainStatusType"` + + // The user pool ID. + UserPoolId *string `min:"1" type:"string"` + + // The app version. + Version *string `min:"1" type:"string"` } // String returns the string representation -func (s DeleteResourceServerInput) String() string { +func (s DomainDescriptionType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteResourceServerInput) GoString() string { +func (s DomainDescriptionType) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteResourceServerInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteResourceServerInput"} - if s.Identifier == nil { - invalidParams.Add(request.NewErrParamRequired("Identifier")) - } - if s.Identifier != nil && len(*s.Identifier) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) - } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) - } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) - } +// SetAWSAccountId sets the AWSAccountId field's value. +func (s *DomainDescriptionType) SetAWSAccountId(v string) *DomainDescriptionType { + s.AWSAccountId = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCloudFrontDistribution sets the CloudFrontDistribution field's value. +func (s *DomainDescriptionType) SetCloudFrontDistribution(v string) *DomainDescriptionType { + s.CloudFrontDistribution = &v + return s } -// SetIdentifier sets the Identifier field's value. -func (s *DeleteResourceServerInput) SetIdentifier(v string) *DeleteResourceServerInput { - s.Identifier = &v +// SetDomain sets the Domain field's value. +func (s *DomainDescriptionType) SetDomain(v string) *DomainDescriptionType { + s.Domain = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *DeleteResourceServerInput) SetUserPoolId(v string) *DeleteResourceServerInput { - s.UserPoolId = &v +// SetS3Bucket sets the S3Bucket field's value. +func (s *DomainDescriptionType) SetS3Bucket(v string) *DomainDescriptionType { + s.S3Bucket = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteResourceServerOutput -type DeleteResourceServerOutput struct { - _ struct{} `type:"structure"` +// SetStatus sets the Status field's value. +func (s *DomainDescriptionType) SetStatus(v string) *DomainDescriptionType { + s.Status = &v + return s } -// String returns the string representation -func (s DeleteResourceServerOutput) String() string { - return awsutil.Prettify(s) +// SetUserPoolId sets the UserPoolId field's value. +func (s *DomainDescriptionType) SetUserPoolId(v string) *DomainDescriptionType { + s.UserPoolId = &v + return s } -// GoString returns the string representation -func (s DeleteResourceServerOutput) GoString() string { - return s.String() +// SetVersion sets the Version field's value. +func (s *DomainDescriptionType) SetVersion(v string) *DomainDescriptionType { + s.Version = &v + return s } -// Represents the request to delete user attributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributesRequest -type DeleteUserAttributesInput struct { +// The email configuration type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EmailConfigurationType +type EmailConfigurationType struct { _ struct{} `type:"structure"` - // The access token used in the request to delete user attributes. - // - // AccessToken is a required field - AccessToken *string `type:"string" required:"true"` + // The destination to which the receiver of the email should reply to. + ReplyToEmailAddress *string `type:"string"` - // An array of strings representing the user attribute names you wish to delete. - // - // For custom attributes, you must prepend the custom: prefix to the attribute - // name. - // - // UserAttributeNames is a required field - UserAttributeNames []*string `type:"list" required:"true"` + // The Amazon Resource Name (ARN) of the email source. + SourceArn *string `min:"20" type:"string"` } // String returns the string representation -func (s DeleteUserAttributesInput) String() string { +func (s EmailConfigurationType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteUserAttributesInput) GoString() string { +func (s EmailConfigurationType) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteUserAttributesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteUserAttributesInput"} - if s.AccessToken == nil { - invalidParams.Add(request.NewErrParamRequired("AccessToken")) - } - if s.UserAttributeNames == nil { - invalidParams.Add(request.NewErrParamRequired("UserAttributeNames")) +func (s *EmailConfigurationType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EmailConfigurationType"} + if s.SourceArn != nil && len(*s.SourceArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("SourceArn", 20)) } if invalidParams.Len() > 0 { @@ -13378,203 +16770,192 @@ func (s *DeleteUserAttributesInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *DeleteUserAttributesInput) SetAccessToken(v string) *DeleteUserAttributesInput { - s.AccessToken = &v +// SetReplyToEmailAddress sets the ReplyToEmailAddress field's value. +func (s *EmailConfigurationType) SetReplyToEmailAddress(v string) *EmailConfigurationType { + s.ReplyToEmailAddress = &v return s } -// SetUserAttributeNames sets the UserAttributeNames field's value. -func (s *DeleteUserAttributesInput) SetUserAttributeNames(v []*string) *DeleteUserAttributesInput { - s.UserAttributeNames = v +// SetSourceArn sets the SourceArn field's value. +func (s *EmailConfigurationType) SetSourceArn(v string) *EmailConfigurationType { + s.SourceArn = &v return s } -// Represents the response from the server to delete user attributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributesResponse -type DeleteUserAttributesOutput struct { +// Specifies the user context data captured at the time of an event request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EventContextDataType +type EventContextDataType struct { _ struct{} `type:"structure"` -} -// String returns the string representation -func (s DeleteUserAttributesOutput) String() string { - return awsutil.Prettify(s) -} + // The user's city. + City *string `type:"string"` -// GoString returns the string representation -func (s DeleteUserAttributesOutput) GoString() string { - return s.String() -} + // The user's country. + Country *string `type:"string"` -// Represents the request to delete a user. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserRequest -type DeleteUserInput struct { - _ struct{} `type:"structure"` + // The user's device name. + DeviceName *string `type:"string"` - // The access token from a request to delete a user. - // - // AccessToken is a required field - AccessToken *string `type:"string" required:"true"` + // The user's IP address. + IpAddress *string `type:"string"` + + // The user's time zone. + Timezone *string `type:"string"` } // String returns the string representation -func (s DeleteUserInput) String() string { +func (s EventContextDataType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteUserInput) GoString() string { +func (s EventContextDataType) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteUserInput"} - if s.AccessToken == nil { - invalidParams.Add(request.NewErrParamRequired("AccessToken")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCity sets the City field's value. +func (s *EventContextDataType) SetCity(v string) *EventContextDataType { + s.City = &v + return s } -// SetAccessToken sets the AccessToken field's value. -func (s *DeleteUserInput) SetAccessToken(v string) *DeleteUserInput { - s.AccessToken = &v +// SetCountry sets the Country field's value. +func (s *EventContextDataType) SetCountry(v string) *EventContextDataType { + s.Country = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserOutput -type DeleteUserOutput struct { - _ struct{} `type:"structure"` +// SetDeviceName sets the DeviceName field's value. +func (s *EventContextDataType) SetDeviceName(v string) *EventContextDataType { + s.DeviceName = &v + return s } -// String returns the string representation -func (s DeleteUserOutput) String() string { - return awsutil.Prettify(s) +// SetIpAddress sets the IpAddress field's value. +func (s *EventContextDataType) SetIpAddress(v string) *EventContextDataType { + s.IpAddress = &v + return s } -// GoString returns the string representation -func (s DeleteUserOutput) GoString() string { - return s.String() +// SetTimezone sets the Timezone field's value. +func (s *EventContextDataType) SetTimezone(v string) *EventContextDataType { + s.Timezone = &v + return s } -// Represents the request to delete a user pool client. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClientRequest -type DeleteUserPoolClientInput struct { +// Specifies the event feedback type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EventFeedbackType +type EventFeedbackType struct { _ struct{} `type:"structure"` - // The app client ID of the app associated with the user pool. + // The event feedback date. + FeedbackDate *time.Time `type:"timestamp" timestampFormat:"unix"` + + // The event feedback value. // - // ClientId is a required field - ClientId *string `min:"1" type:"string" required:"true"` + // FeedbackValue is a required field + FeedbackValue *string `type:"string" required:"true" enum:"FeedbackValueType"` - // The user pool ID for the user pool where you want to delete the client. + // The provider. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // Provider is a required field + Provider *string `type:"string" required:"true"` } // String returns the string representation -func (s DeleteUserPoolClientInput) String() string { +func (s EventFeedbackType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteUserPoolClientInput) GoString() string { +func (s EventFeedbackType) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteUserPoolClientInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteUserPoolClientInput"} - if s.ClientId == nil { - invalidParams.Add(request.NewErrParamRequired("ClientId")) - } - if s.ClientId != nil && len(*s.ClientId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) - } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) - } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetFeedbackDate sets the FeedbackDate field's value. +func (s *EventFeedbackType) SetFeedbackDate(v time.Time) *EventFeedbackType { + s.FeedbackDate = &v + return s } -// SetClientId sets the ClientId field's value. -func (s *DeleteUserPoolClientInput) SetClientId(v string) *DeleteUserPoolClientInput { - s.ClientId = &v +// SetFeedbackValue sets the FeedbackValue field's value. +func (s *EventFeedbackType) SetFeedbackValue(v string) *EventFeedbackType { + s.FeedbackValue = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *DeleteUserPoolClientInput) SetUserPoolId(v string) *DeleteUserPoolClientInput { - s.UserPoolId = &v +// SetProvider sets the Provider field's value. +func (s *EventFeedbackType) SetProvider(v string) *EventFeedbackType { + s.Provider = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClientOutput -type DeleteUserPoolClientOutput struct { +// The event risk type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EventRiskType +type EventRiskType struct { _ struct{} `type:"structure"` + + // The risk decision. + RiskDecision *string `type:"string" enum:"RiskDecisionType"` + + // The risk level. + RiskLevel *string `type:"string" enum:"RiskLevelType"` } // String returns the string representation -func (s DeleteUserPoolClientOutput) String() string { +func (s EventRiskType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteUserPoolClientOutput) GoString() string { +func (s EventRiskType) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomainRequest -type DeleteUserPoolDomainInput struct { +// SetRiskDecision sets the RiskDecision field's value. +func (s *EventRiskType) SetRiskDecision(v string) *EventRiskType { + s.RiskDecision = &v + return s +} + +// SetRiskLevel sets the RiskLevel field's value. +func (s *EventRiskType) SetRiskLevel(v string) *EventRiskType { + s.RiskLevel = &v + return s +} + +// Represents the request to forget the device. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDeviceRequest +type ForgetDeviceInput struct { _ struct{} `type:"structure"` - // The domain string. - // - // Domain is a required field - Domain *string `min:"1" type:"string" required:"true"` + // The access token for the forgotten device request. + AccessToken *string `type:"string"` - // The user pool ID. + // The device key. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // DeviceKey is a required field + DeviceKey *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DeleteUserPoolDomainInput) String() string { +func (s ForgetDeviceInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteUserPoolDomainInput) GoString() string { +func (s ForgetDeviceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteUserPoolDomainInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteUserPoolDomainInput"} - if s.Domain == nil { - invalidParams.Add(request.NewErrParamRequired("Domain")) - } - if s.Domain != nil && len(*s.Domain) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) - } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) +func (s *ForgetDeviceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ForgetDeviceInput"} + if s.DeviceKey == nil { + invalidParams.Add(request.NewErrParamRequired("DeviceKey")) } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.DeviceKey != nil && len(*s.DeviceKey) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceKey", 1)) } if invalidParams.Len() > 0 { @@ -13583,62 +16964,90 @@ func (s *DeleteUserPoolDomainInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *DeleteUserPoolDomainInput) SetDomain(v string) *DeleteUserPoolDomainInput { - s.Domain = &v +// SetAccessToken sets the AccessToken field's value. +func (s *ForgetDeviceInput) SetAccessToken(v string) *ForgetDeviceInput { + s.AccessToken = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *DeleteUserPoolDomainInput) SetUserPoolId(v string) *DeleteUserPoolDomainInput { - s.UserPoolId = &v +// SetDeviceKey sets the DeviceKey field's value. +func (s *ForgetDeviceInput) SetDeviceKey(v string) *ForgetDeviceInput { + s.DeviceKey = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomainResponse -type DeleteUserPoolDomainOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDeviceOutput +type ForgetDeviceOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s DeleteUserPoolDomainOutput) String() string { +func (s ForgetDeviceOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteUserPoolDomainOutput) GoString() string { +func (s ForgetDeviceOutput) GoString() string { return s.String() } -// Represents the request to delete a user pool. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolRequest -type DeleteUserPoolInput struct { +// Represents the request to reset a user's password. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgotPasswordRequest +type ForgotPasswordInput struct { _ struct{} `type:"structure"` - // The user pool ID for the user pool you want to delete. + // The Amazon Pinpoint analytics metadata for collecting metrics for ForgotPassword + // calls. + AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` + + // The ID of the client associated with the user pool. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // ClientId is a required field + ClientId *string `min:"1" type:"string" required:"true"` + + // A keyed-hash message authentication code (HMAC) calculated using the secret + // key of a user pool client and username plus the client ID in the message. + SecretHash *string `min:"1" type:"string"` + + // Contextual data such as the user's device fingerprint, IP address, or location + // used for evaluating the risk of an unexpected event by Amazon Cognito advanced + // security. + UserContextData *UserContextDataType `type:"structure"` + + // The user name of the user for whom you want to enter a code to reset a forgotten + // password. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DeleteUserPoolInput) String() string { +func (s ForgotPasswordInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteUserPoolInput) GoString() string { +func (s ForgotPasswordInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteUserPoolInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteUserPoolInput"} - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) +func (s *ForgotPasswordInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ForgotPasswordInput"} + if s.ClientId == nil { + invalidParams.Add(request.NewErrParamRequired("ClientId")) } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.ClientId != nil && len(*s.ClientId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) + } + if s.SecretHash != nil && len(*s.SecretHash) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SecretHash", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) } if invalidParams.Len() > 0 { @@ -13647,61 +17056,88 @@ func (s *DeleteUserPoolInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *DeleteUserPoolInput) SetUserPoolId(v string) *DeleteUserPoolInput { - s.UserPoolId = &v +// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. +func (s *ForgotPasswordInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ForgotPasswordInput { + s.AnalyticsMetadata = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolOutput -type DeleteUserPoolOutput struct { +// SetClientId sets the ClientId field's value. +func (s *ForgotPasswordInput) SetClientId(v string) *ForgotPasswordInput { + s.ClientId = &v + return s +} + +// SetSecretHash sets the SecretHash field's value. +func (s *ForgotPasswordInput) SetSecretHash(v string) *ForgotPasswordInput { + s.SecretHash = &v + return s +} + +// SetUserContextData sets the UserContextData field's value. +func (s *ForgotPasswordInput) SetUserContextData(v *UserContextDataType) *ForgotPasswordInput { + s.UserContextData = v + return s +} + +// SetUsername sets the Username field's value. +func (s *ForgotPasswordInput) SetUsername(v string) *ForgotPasswordInput { + s.Username = &v + return s +} + +// Respresents the response from the server regarding the request to reset a +// password. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgotPasswordResponse +type ForgotPasswordOutput struct { _ struct{} `type:"structure"` + + // The code delivery details returned by the server in response to the request + // to reset a password. + CodeDeliveryDetails *CodeDeliveryDetailsType `type:"structure"` } // String returns the string representation -func (s DeleteUserPoolOutput) String() string { +func (s ForgotPasswordOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteUserPoolOutput) GoString() string { +func (s ForgotPasswordOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProviderRequest -type DescribeIdentityProviderInput struct { - _ struct{} `type:"structure"` +// SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value. +func (s *ForgotPasswordOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *ForgotPasswordOutput { + s.CodeDeliveryDetails = v + return s +} - // The identity provider name. - // - // ProviderName is a required field - ProviderName *string `min:"1" type:"string" required:"true"` +// Represents the request to get the header information for the .csv file for +// the user import job. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeaderRequest +type GetCSVHeaderInput struct { + _ struct{} `type:"structure"` - // The user pool ID. + // The user pool ID for the user pool that the users are to be imported into. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DescribeIdentityProviderInput) String() string { +func (s GetCSVHeaderInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeIdentityProviderInput) GoString() string { +func (s GetCSVHeaderInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeIdentityProviderInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeIdentityProviderInput"} - if s.ProviderName == nil { - invalidParams.Add(request.NewErrParamRequired("ProviderName")) - } - if s.ProviderName != nil && len(*s.ProviderName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ProviderName", 1)) - } +func (s *GetCSVHeaderInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCSVHeaderInput"} if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) } @@ -13715,83 +17151,79 @@ func (s *DescribeIdentityProviderInput) Validate() error { return nil } -// SetProviderName sets the ProviderName field's value. -func (s *DescribeIdentityProviderInput) SetProviderName(v string) *DescribeIdentityProviderInput { - s.ProviderName = &v - return s -} - // SetUserPoolId sets the UserPoolId field's value. -func (s *DescribeIdentityProviderInput) SetUserPoolId(v string) *DescribeIdentityProviderInput { +func (s *GetCSVHeaderInput) SetUserPoolId(v string) *GetCSVHeaderInput { s.UserPoolId = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProviderResponse -type DescribeIdentityProviderOutput struct { +// Represents the response from the server to the request to get the header +// information for the .csv file for the user import job. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeaderResponse +type GetCSVHeaderOutput struct { _ struct{} `type:"structure"` - // The identity provider that was deleted. - // - // IdentityProvider is a required field - IdentityProvider *IdentityProviderType `type:"structure" required:"true"` + // The header information for the .csv file for the user import job. + CSVHeader []*string `type:"list"` + + // The user pool ID for the user pool that the users are to be imported into. + UserPoolId *string `min:"1" type:"string"` } // String returns the string representation -func (s DescribeIdentityProviderOutput) String() string { +func (s GetCSVHeaderOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeIdentityProviderOutput) GoString() string { +func (s GetCSVHeaderOutput) GoString() string { return s.String() } -// SetIdentityProvider sets the IdentityProvider field's value. -func (s *DescribeIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *DescribeIdentityProviderOutput { - s.IdentityProvider = v +// SetCSVHeader sets the CSVHeader field's value. +func (s *GetCSVHeaderOutput) SetCSVHeader(v []*string) *GetCSVHeaderOutput { + s.CSVHeader = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeResourceServerRequest -type DescribeResourceServerInput struct { +// SetUserPoolId sets the UserPoolId field's value. +func (s *GetCSVHeaderOutput) SetUserPoolId(v string) *GetCSVHeaderOutput { + s.UserPoolId = &v + return s +} + +// Represents the request to get the device. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDeviceRequest +type GetDeviceInput struct { _ struct{} `type:"structure"` - // The identifier for the resource server - // - // Identifier is a required field - Identifier *string `min:"1" type:"string" required:"true"` + // The access token. + AccessToken *string `type:"string"` - // The user pool ID for the user pool that hosts the resource server. + // The device key. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // DeviceKey is a required field + DeviceKey *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DescribeResourceServerInput) String() string { +func (s GetDeviceInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeResourceServerInput) GoString() string { +func (s GetDeviceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeResourceServerInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeResourceServerInput"} - if s.Identifier == nil { - invalidParams.Add(request.NewErrParamRequired("Identifier")) - } - if s.Identifier != nil && len(*s.Identifier) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) - } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) +func (s *GetDeviceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetDeviceInput"} + if s.DeviceKey == nil { + invalidParams.Add(request.NewErrParamRequired("DeviceKey")) } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.DeviceKey != nil && len(*s.DeviceKey) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceKey", 1)) } if invalidParams.Len() > 0 { @@ -13800,78 +17232,78 @@ func (s *DescribeResourceServerInput) Validate() error { return nil } -// SetIdentifier sets the Identifier field's value. -func (s *DescribeResourceServerInput) SetIdentifier(v string) *DescribeResourceServerInput { - s.Identifier = &v +// SetAccessToken sets the AccessToken field's value. +func (s *GetDeviceInput) SetAccessToken(v string) *GetDeviceInput { + s.AccessToken = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *DescribeResourceServerInput) SetUserPoolId(v string) *DescribeResourceServerInput { - s.UserPoolId = &v +// SetDeviceKey sets the DeviceKey field's value. +func (s *GetDeviceInput) SetDeviceKey(v string) *GetDeviceInput { + s.DeviceKey = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeResourceServerResponse -type DescribeResourceServerOutput struct { +// Gets the device response. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDeviceResponse +type GetDeviceOutput struct { _ struct{} `type:"structure"` - // The resource server. + // The device. // - // ResourceServer is a required field - ResourceServer *ResourceServerType `type:"structure" required:"true"` + // Device is a required field + Device *DeviceType `type:"structure" required:"true"` } // String returns the string representation -func (s DescribeResourceServerOutput) String() string { +func (s GetDeviceOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeResourceServerOutput) GoString() string { +func (s GetDeviceOutput) GoString() string { return s.String() } -// SetResourceServer sets the ResourceServer field's value. -func (s *DescribeResourceServerOutput) SetResourceServer(v *ResourceServerType) *DescribeResourceServerOutput { - s.ResourceServer = v +// SetDevice sets the Device field's value. +func (s *GetDeviceOutput) SetDevice(v *DeviceType) *GetDeviceOutput { + s.Device = v return s } -// Represents the request to describe the user import job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJobRequest -type DescribeUserImportJobInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroupRequest +type GetGroupInput struct { _ struct{} `type:"structure"` - // The job ID for the user import job. + // The name of the group. // - // JobId is a required field - JobId *string `min:"1" type:"string" required:"true"` + // GroupName is a required field + GroupName *string `min:"1" type:"string" required:"true"` - // The user pool ID for the user pool that the users are being imported into. + // The user pool ID for the user pool. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DescribeUserImportJobInput) String() string { +func (s GetGroupInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeUserImportJobInput) GoString() string { +func (s GetGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeUserImportJobInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeUserImportJobInput"} - if s.JobId == nil { - invalidParams.Add(request.NewErrParamRequired("JobId")) +func (s *GetGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetGroupInput"} + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) } - if s.JobId != nil && len(*s.JobId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -13884,80 +17316,77 @@ func (s *DescribeUserImportJobInput) Validate() error { return invalidParams } return nil -} - -// SetJobId sets the JobId field's value. -func (s *DescribeUserImportJobInput) SetJobId(v string) *DescribeUserImportJobInput { - s.JobId = &v +} + +// SetGroupName sets the GroupName field's value. +func (s *GetGroupInput) SetGroupName(v string) *GetGroupInput { + s.GroupName = &v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *DescribeUserImportJobInput) SetUserPoolId(v string) *DescribeUserImportJobInput { +func (s *GetGroupInput) SetUserPoolId(v string) *GetGroupInput { s.UserPoolId = &v return s } -// Represents the response from the server to the request to describe the user -// import job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJobResponse -type DescribeUserImportJobOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroupResponse +type GetGroupOutput struct { _ struct{} `type:"structure"` - // The job object that represents the user import job. - UserImportJob *UserImportJobType `type:"structure"` + // The group object for the group. + Group *GroupType `type:"structure"` } // String returns the string representation -func (s DescribeUserImportJobOutput) String() string { +func (s GetGroupOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeUserImportJobOutput) GoString() string { +func (s GetGroupOutput) GoString() string { return s.String() } -// SetUserImportJob sets the UserImportJob field's value. -func (s *DescribeUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *DescribeUserImportJobOutput { - s.UserImportJob = v +// SetGroup sets the Group field's value. +func (s *GetGroupOutput) SetGroup(v *GroupType) *GetGroupOutput { + s.Group = v return s } -// Represents the request to describe a user pool client. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClientRequest -type DescribeUserPoolClientInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifierRequest +type GetIdentityProviderByIdentifierInput struct { _ struct{} `type:"structure"` - // The app client ID of the app associated with the user pool. + // The identity provider ID. // - // ClientId is a required field - ClientId *string `min:"1" type:"string" required:"true"` + // IdpIdentifier is a required field + IdpIdentifier *string `min:"1" type:"string" required:"true"` - // The user pool ID for the user pool you want to describe. + // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DescribeUserPoolClientInput) String() string { +func (s GetIdentityProviderByIdentifierInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeUserPoolClientInput) GoString() string { +func (s GetIdentityProviderByIdentifierInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeUserPoolClientInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeUserPoolClientInput"} - if s.ClientId == nil { - invalidParams.Add(request.NewErrParamRequired("ClientId")) +func (s *GetIdentityProviderByIdentifierInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetIdentityProviderByIdentifierInput"} + if s.IdpIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("IdpIdentifier")) } - if s.ClientId != nil && len(*s.ClientId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) + if s.IdpIdentifier != nil && len(*s.IdpIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IdpIdentifier", 1)) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -13972,72 +17401,78 @@ func (s *DescribeUserPoolClientInput) Validate() error { return nil } -// SetClientId sets the ClientId field's value. -func (s *DescribeUserPoolClientInput) SetClientId(v string) *DescribeUserPoolClientInput { - s.ClientId = &v +// SetIdpIdentifier sets the IdpIdentifier field's value. +func (s *GetIdentityProviderByIdentifierInput) SetIdpIdentifier(v string) *GetIdentityProviderByIdentifierInput { + s.IdpIdentifier = &v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *DescribeUserPoolClientInput) SetUserPoolId(v string) *DescribeUserPoolClientInput { +func (s *GetIdentityProviderByIdentifierInput) SetUserPoolId(v string) *GetIdentityProviderByIdentifierInput { s.UserPoolId = &v return s } -// Represents the response from the server from a request to describe the user -// pool client. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClientResponse -type DescribeUserPoolClientOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifierResponse +type GetIdentityProviderByIdentifierOutput struct { _ struct{} `type:"structure"` - // The user pool client from a server response to describe the user pool client. - UserPoolClient *UserPoolClientType `type:"structure"` + // The identity provider object. + // + // IdentityProvider is a required field + IdentityProvider *IdentityProviderType `type:"structure" required:"true"` } // String returns the string representation -func (s DescribeUserPoolClientOutput) String() string { +func (s GetIdentityProviderByIdentifierOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeUserPoolClientOutput) GoString() string { +func (s GetIdentityProviderByIdentifierOutput) GoString() string { return s.String() } -// SetUserPoolClient sets the UserPoolClient field's value. -func (s *DescribeUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *DescribeUserPoolClientOutput { - s.UserPoolClient = v +// SetIdentityProvider sets the IdentityProvider field's value. +func (s *GetIdentityProviderByIdentifierOutput) SetIdentityProvider(v *IdentityProviderType) *GetIdentityProviderByIdentifierOutput { + s.IdentityProvider = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomainRequest -type DescribeUserPoolDomainInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUICustomizationRequest +type GetUICustomizationInput struct { _ struct{} `type:"structure"` - // The domain string. + // The client ID for the client app. + ClientId *string `min:"1" type:"string"` + + // The user pool ID for the user pool. // - // Domain is a required field - Domain *string `min:"1" type:"string" required:"true"` + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DescribeUserPoolDomainInput) String() string { +func (s GetUICustomizationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeUserPoolDomainInput) GoString() string { +func (s GetUICustomizationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeUserPoolDomainInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeUserPoolDomainInput"} - if s.Domain == nil { - invalidParams.Add(request.NewErrParamRequired("Domain")) +func (s *GetUICustomizationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetUICustomizationInput"} + if s.ClientId != nil && len(*s.ClientId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) } - if s.Domain != nil && len(*s.Domain) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } if invalidParams.Len() > 0 { @@ -14046,65 +17481,83 @@ func (s *DescribeUserPoolDomainInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *DescribeUserPoolDomainInput) SetDomain(v string) *DescribeUserPoolDomainInput { - s.Domain = &v +// SetClientId sets the ClientId field's value. +func (s *GetUICustomizationInput) SetClientId(v string) *GetUICustomizationInput { + s.ClientId = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomainResponse -type DescribeUserPoolDomainOutput struct { +// SetUserPoolId sets the UserPoolId field's value. +func (s *GetUICustomizationInput) SetUserPoolId(v string) *GetUICustomizationInput { + s.UserPoolId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUICustomizationResponse +type GetUICustomizationOutput struct { _ struct{} `type:"structure"` - // A domain description object containing information about the domain. - DomainDescription *DomainDescriptionType `type:"structure"` + // The UI customization information. + // + // UICustomization is a required field + UICustomization *UICustomizationType `type:"structure" required:"true"` } // String returns the string representation -func (s DescribeUserPoolDomainOutput) String() string { +func (s GetUICustomizationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeUserPoolDomainOutput) GoString() string { +func (s GetUICustomizationOutput) GoString() string { return s.String() } -// SetDomainDescription sets the DomainDescription field's value. -func (s *DescribeUserPoolDomainOutput) SetDomainDescription(v *DomainDescriptionType) *DescribeUserPoolDomainOutput { - s.DomainDescription = v +// SetUICustomization sets the UICustomization field's value. +func (s *GetUICustomizationOutput) SetUICustomization(v *UICustomizationType) *GetUICustomizationOutput { + s.UICustomization = v return s } -// Represents the request to describe the user pool. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolRequest -type DescribeUserPoolInput struct { +// Represents the request to get user attribute verification. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCodeRequest +type GetUserAttributeVerificationCodeInput struct { _ struct{} `type:"structure"` - // The user pool ID for the user pool you want to describe. + // The access token returned by the server response to get the user attribute + // verification code. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // AccessToken is a required field + AccessToken *string `type:"string" required:"true"` + + // The attribute name returned by the server response to get the user attribute + // verification code. + // + // AttributeName is a required field + AttributeName *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DescribeUserPoolInput) String() string { +func (s GetUserAttributeVerificationCodeInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeUserPoolInput) GoString() string { +func (s GetUserAttributeVerificationCodeInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeUserPoolInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeUserPoolInput"} - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) +func (s *GetUserAttributeVerificationCodeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetUserAttributeVerificationCodeInput"} + if s.AccessToken == nil { + invalidParams.Add(request.NewErrParamRequired("AccessToken")) } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.AttributeName == nil { + invalidParams.Add(request.NewErrParamRequired("AttributeName")) + } + if s.AttributeName != nil && len(*s.AttributeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AttributeName", 1)) } if invalidParams.Len() > 0 { @@ -14113,325 +17566,265 @@ func (s *DescribeUserPoolInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *DescribeUserPoolInput) SetUserPoolId(v string) *DescribeUserPoolInput { - s.UserPoolId = &v +// SetAccessToken sets the AccessToken field's value. +func (s *GetUserAttributeVerificationCodeInput) SetAccessToken(v string) *GetUserAttributeVerificationCodeInput { + s.AccessToken = &v return s } -// Represents the response to describe the user pool. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolResponse -type DescribeUserPoolOutput struct { - _ struct{} `type:"structure"` - - // The container of metadata returned by the server to describe the pool. - UserPool *UserPoolType `type:"structure"` -} - -// String returns the string representation -func (s DescribeUserPoolOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeUserPoolOutput) GoString() string { - return s.String() -} - -// SetUserPool sets the UserPool field's value. -func (s *DescribeUserPoolOutput) SetUserPool(v *UserPoolType) *DescribeUserPoolOutput { - s.UserPool = v +// SetAttributeName sets the AttributeName field's value. +func (s *GetUserAttributeVerificationCodeInput) SetAttributeName(v string) *GetUserAttributeVerificationCodeInput { + s.AttributeName = &v return s } -// The type of configuration for the user pool's device tracking. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeviceConfigurationType -type DeviceConfigurationType struct { +// The verification code response returned by the server response to get the +// user attribute verification code. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCodeResponse +type GetUserAttributeVerificationCodeOutput struct { _ struct{} `type:"structure"` - // Indicates whether a challenge is required on a new device. Only applicable - // to a new device. - ChallengeRequiredOnNewDevice *bool `type:"boolean"` - - // If true, a device is only remembered on user prompt. - DeviceOnlyRememberedOnUserPrompt *bool `type:"boolean"` + // The code delivery details returned by the server in response to the request + // to get the user attribute verification code. + CodeDeliveryDetails *CodeDeliveryDetailsType `type:"structure"` } // String returns the string representation -func (s DeviceConfigurationType) String() string { +func (s GetUserAttributeVerificationCodeOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeviceConfigurationType) GoString() string { +func (s GetUserAttributeVerificationCodeOutput) GoString() string { return s.String() } -// SetChallengeRequiredOnNewDevice sets the ChallengeRequiredOnNewDevice field's value. -func (s *DeviceConfigurationType) SetChallengeRequiredOnNewDevice(v bool) *DeviceConfigurationType { - s.ChallengeRequiredOnNewDevice = &v - return s -} - -// SetDeviceOnlyRememberedOnUserPrompt sets the DeviceOnlyRememberedOnUserPrompt field's value. -func (s *DeviceConfigurationType) SetDeviceOnlyRememberedOnUserPrompt(v bool) *DeviceConfigurationType { - s.DeviceOnlyRememberedOnUserPrompt = &v +// SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value. +func (s *GetUserAttributeVerificationCodeOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *GetUserAttributeVerificationCodeOutput { + s.CodeDeliveryDetails = v return s } -// The device verifier against which it will be authenticated. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeviceSecretVerifierConfigType -type DeviceSecretVerifierConfigType struct { +// Represents the request to get information about the user. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserRequest +type GetUserInput struct { _ struct{} `type:"structure"` - // The password verifier. - PasswordVerifier *string `type:"string"` - - // The salt. - Salt *string `type:"string"` + // The access token returned by the server response to get information about + // the user. + // + // AccessToken is a required field + AccessToken *string `type:"string" required:"true"` } // String returns the string representation -func (s DeviceSecretVerifierConfigType) String() string { +func (s GetUserInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeviceSecretVerifierConfigType) GoString() string { +func (s GetUserInput) GoString() string { return s.String() } -// SetPasswordVerifier sets the PasswordVerifier field's value. -func (s *DeviceSecretVerifierConfigType) SetPasswordVerifier(v string) *DeviceSecretVerifierConfigType { - s.PasswordVerifier = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetUserInput"} + if s.AccessToken == nil { + invalidParams.Add(request.NewErrParamRequired("AccessToken")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetSalt sets the Salt field's value. -func (s *DeviceSecretVerifierConfigType) SetSalt(v string) *DeviceSecretVerifierConfigType { - s.Salt = &v +// SetAccessToken sets the AccessToken field's value. +func (s *GetUserInput) SetAccessToken(v string) *GetUserInput { + s.AccessToken = &v return s } -// The device type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeviceType -type DeviceType struct { +// Represents the response from the server from the request to get information +// about the user. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserResponse +type GetUserOutput struct { _ struct{} `type:"structure"` - // The device attributes. - DeviceAttributes []*AttributeType `type:"list"` + // Specifies the options for MFA (e.g., email or phone number). + MFAOptions []*MFAOptionType `type:"list"` - // The creation date of the device. - DeviceCreateDate *time.Time `type:"timestamp" timestampFormat:"unix"` + // The user's preferred MFA setting. + PreferredMfaSetting *string `type:"string"` - // The device key. - DeviceKey *string `min:"1" type:"string"` + // An array of name-value pairs representing user attributes. + // + // For custom attributes, you must prepend the custom: prefix to the attribute + // name. + // + // UserAttributes is a required field + UserAttributes []*AttributeType `type:"list" required:"true"` - // The date in which the device was last authenticated. - DeviceLastAuthenticatedDate *time.Time `type:"timestamp" timestampFormat:"unix"` + // The list of the user's MFA settings. + UserMFASettingList []*string `type:"list"` - // The last modified date of the device. - DeviceLastModifiedDate *time.Time `type:"timestamp" timestampFormat:"unix"` + // The user name of the user you wish to retrieve from the get user request. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DeviceType) String() string { +func (s GetUserOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeviceType) GoString() string { +func (s GetUserOutput) GoString() string { return s.String() } -// SetDeviceAttributes sets the DeviceAttributes field's value. -func (s *DeviceType) SetDeviceAttributes(v []*AttributeType) *DeviceType { - s.DeviceAttributes = v +// SetMFAOptions sets the MFAOptions field's value. +func (s *GetUserOutput) SetMFAOptions(v []*MFAOptionType) *GetUserOutput { + s.MFAOptions = v return s } -// SetDeviceCreateDate sets the DeviceCreateDate field's value. -func (s *DeviceType) SetDeviceCreateDate(v time.Time) *DeviceType { - s.DeviceCreateDate = &v +// SetPreferredMfaSetting sets the PreferredMfaSetting field's value. +func (s *GetUserOutput) SetPreferredMfaSetting(v string) *GetUserOutput { + s.PreferredMfaSetting = &v return s } -// SetDeviceKey sets the DeviceKey field's value. -func (s *DeviceType) SetDeviceKey(v string) *DeviceType { - s.DeviceKey = &v +// SetUserAttributes sets the UserAttributes field's value. +func (s *GetUserOutput) SetUserAttributes(v []*AttributeType) *GetUserOutput { + s.UserAttributes = v return s } -// SetDeviceLastAuthenticatedDate sets the DeviceLastAuthenticatedDate field's value. -func (s *DeviceType) SetDeviceLastAuthenticatedDate(v time.Time) *DeviceType { - s.DeviceLastAuthenticatedDate = &v +// SetUserMFASettingList sets the UserMFASettingList field's value. +func (s *GetUserOutput) SetUserMFASettingList(v []*string) *GetUserOutput { + s.UserMFASettingList = v return s } -// SetDeviceLastModifiedDate sets the DeviceLastModifiedDate field's value. -func (s *DeviceType) SetDeviceLastModifiedDate(v time.Time) *DeviceType { - s.DeviceLastModifiedDate = &v +// SetUsername sets the Username field's value. +func (s *GetUserOutput) SetUsername(v string) *GetUserOutput { + s.Username = &v return s } -// A container for information about a domain. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DomainDescriptionType -type DomainDescriptionType struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserPoolMfaConfigRequest +type GetUserPoolMfaConfigInput struct { _ struct{} `type:"structure"` - // The AWS account ID for the user pool owner. - AWSAccountId *string `type:"string"` - - // The ARN of the CloudFront distribution. - CloudFrontDistribution *string `min:"20" type:"string"` - - // The domain string. - Domain *string `min:"1" type:"string"` - - // The S3 bucket where the static files for this domain are stored. - S3Bucket *string `min:"3" type:"string"` - - // The domain status. - Status *string `type:"string" enum:"DomainStatusType"` - // The user pool ID. - UserPoolId *string `min:"1" type:"string"` - - // The app version. - Version *string `min:"1" type:"string"` + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DomainDescriptionType) String() string { +func (s GetUserPoolMfaConfigInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DomainDescriptionType) GoString() string { +func (s GetUserPoolMfaConfigInput) GoString() string { return s.String() } -// SetAWSAccountId sets the AWSAccountId field's value. -func (s *DomainDescriptionType) SetAWSAccountId(v string) *DomainDescriptionType { - s.AWSAccountId = &v - return s -} - -// SetCloudFrontDistribution sets the CloudFrontDistribution field's value. -func (s *DomainDescriptionType) SetCloudFrontDistribution(v string) *DomainDescriptionType { - s.CloudFrontDistribution = &v - return s -} - -// SetDomain sets the Domain field's value. -func (s *DomainDescriptionType) SetDomain(v string) *DomainDescriptionType { - s.Domain = &v - return s -} - -// SetS3Bucket sets the S3Bucket field's value. -func (s *DomainDescriptionType) SetS3Bucket(v string) *DomainDescriptionType { - s.S3Bucket = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetUserPoolMfaConfigInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetUserPoolMfaConfigInput"} + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } -// SetStatus sets the Status field's value. -func (s *DomainDescriptionType) SetStatus(v string) *DomainDescriptionType { - s.Status = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } // SetUserPoolId sets the UserPoolId field's value. -func (s *DomainDescriptionType) SetUserPoolId(v string) *DomainDescriptionType { +func (s *GetUserPoolMfaConfigInput) SetUserPoolId(v string) *GetUserPoolMfaConfigInput { s.UserPoolId = &v return s } -// SetVersion sets the Version field's value. -func (s *DomainDescriptionType) SetVersion(v string) *DomainDescriptionType { - s.Version = &v - return s -} - -// The email configuration type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EmailConfigurationType -type EmailConfigurationType struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserPoolMfaConfigResponse +type GetUserPoolMfaConfigOutput struct { _ struct{} `type:"structure"` - // The REPLY-TO email address. - ReplyToEmailAddress *string `type:"string"` + // The multi-factor (MFA) configuration. + MfaConfiguration *string `type:"string" enum:"UserPoolMfaType"` - // The Amazon Resource Name (ARN) of the email source. - SourceArn *string `min:"20" type:"string"` + // The SMS text message multi-factor (MFA) configuration. + SmsMfaConfiguration *SmsMfaConfigType `type:"structure"` + + // The software token multi-factor (MFA) configuration. + SoftwareTokenMfaConfiguration *SoftwareTokenMfaConfigType `type:"structure"` } // String returns the string representation -func (s EmailConfigurationType) String() string { +func (s GetUserPoolMfaConfigOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s EmailConfigurationType) GoString() string { +func (s GetUserPoolMfaConfigOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *EmailConfigurationType) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "EmailConfigurationType"} - if s.SourceArn != nil && len(*s.SourceArn) < 20 { - invalidParams.Add(request.NewErrParamMinLen("SourceArn", 20)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetMfaConfiguration sets the MfaConfiguration field's value. +func (s *GetUserPoolMfaConfigOutput) SetMfaConfiguration(v string) *GetUserPoolMfaConfigOutput { + s.MfaConfiguration = &v + return s } -// SetReplyToEmailAddress sets the ReplyToEmailAddress field's value. -func (s *EmailConfigurationType) SetReplyToEmailAddress(v string) *EmailConfigurationType { - s.ReplyToEmailAddress = &v +// SetSmsMfaConfiguration sets the SmsMfaConfiguration field's value. +func (s *GetUserPoolMfaConfigOutput) SetSmsMfaConfiguration(v *SmsMfaConfigType) *GetUserPoolMfaConfigOutput { + s.SmsMfaConfiguration = v return s } -// SetSourceArn sets the SourceArn field's value. -func (s *EmailConfigurationType) SetSourceArn(v string) *EmailConfigurationType { - s.SourceArn = &v +// SetSoftwareTokenMfaConfiguration sets the SoftwareTokenMfaConfiguration field's value. +func (s *GetUserPoolMfaConfigOutput) SetSoftwareTokenMfaConfiguration(v *SoftwareTokenMfaConfigType) *GetUserPoolMfaConfigOutput { + s.SoftwareTokenMfaConfiguration = v return s } -// Represents the request to forget the device. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDeviceRequest -type ForgetDeviceInput struct { +// Represents the request to sign out all devices. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOutRequest +type GlobalSignOutInput struct { _ struct{} `type:"structure"` - // The access token for the forgotten device request. - AccessToken *string `type:"string"` - - // The device key. + // The access token. // - // DeviceKey is a required field - DeviceKey *string `min:"1" type:"string" required:"true"` + // AccessToken is a required field + AccessToken *string `type:"string" required:"true"` } // String returns the string representation -func (s ForgetDeviceInput) String() string { +func (s GlobalSignOutInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ForgetDeviceInput) GoString() string { +func (s GlobalSignOutInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ForgetDeviceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ForgetDeviceInput"} - if s.DeviceKey == nil { - invalidParams.Add(request.NewErrParamRequired("DeviceKey")) - } - if s.DeviceKey != nil && len(*s.DeviceKey) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DeviceKey", 1)) +func (s *GlobalSignOutInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GlobalSignOutInput"} + if s.AccessToken == nil { + invalidParams.Add(request.NewErrParamRequired("AccessToken")) } if invalidParams.Len() > 0 { @@ -14441,244 +17834,326 @@ func (s *ForgetDeviceInput) Validate() error { } // SetAccessToken sets the AccessToken field's value. -func (s *ForgetDeviceInput) SetAccessToken(v string) *ForgetDeviceInput { +func (s *GlobalSignOutInput) SetAccessToken(v string) *GlobalSignOutInput { s.AccessToken = &v return s } -// SetDeviceKey sets the DeviceKey field's value. -func (s *ForgetDeviceInput) SetDeviceKey(v string) *ForgetDeviceInput { - s.DeviceKey = &v - return s +// The response to the request to sign out all devices. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOutResponse +type GlobalSignOutOutput struct { + _ struct{} `type:"structure"` } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDeviceOutput -type ForgetDeviceOutput struct { +// String returns the string representation +func (s GlobalSignOutOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GlobalSignOutOutput) GoString() string { + return s.String() +} + +// The group type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GroupType +type GroupType struct { _ struct{} `type:"structure"` + + // The date the group was created. + CreationDate *time.Time `type:"timestamp" timestampFormat:"unix"` + + // A string containing the description of the group. + Description *string `type:"string"` + + // The name of the group. + GroupName *string `min:"1" type:"string"` + + // The date the group was last modified. + LastModifiedDate *time.Time `type:"timestamp" timestampFormat:"unix"` + + // A nonnegative integer value that specifies the precedence of this group relative + // to the other groups that a user can belong to in the user pool. If a user + // belongs to two or more groups, it is the group with the highest precedence + // whose role ARN will be used in the cognito:roles and cognito:preferred_role + // claims in the user's tokens. Groups with higher Precedence values take precedence + // over groups with lower Precedence values or with null Precedence values. + // + // Two groups can have the same Precedence value. If this happens, neither group + // takes precedence over the other. If two groups with the same Precedence have + // the same role ARN, that role is used in the cognito:preferred_role claim + // in tokens for users in each group. If the two groups have different role + // ARNs, the cognito:preferred_role claim is not set in users' tokens. + // + // The default Precedence value is null. + Precedence *int64 `type:"integer"` + + // The role ARN for the group. + RoleArn *string `min:"20" type:"string"` + + // The user pool ID for the user pool. + UserPoolId *string `min:"1" type:"string"` } // String returns the string representation -func (s ForgetDeviceOutput) String() string { +func (s GroupType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ForgetDeviceOutput) GoString() string { +func (s GroupType) GoString() string { return s.String() } -// Represents the request to reset a user's password. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgotPasswordRequest -type ForgotPasswordInput struct { - _ struct{} `type:"structure"` - - // The ID of the client associated with the user pool. - // - // ClientId is a required field - ClientId *string `min:"1" type:"string" required:"true"` - - // A keyed-hash message authentication code (HMAC) calculated using the secret - // key of a user pool client and username plus the client ID in the message. - SecretHash *string `min:"1" type:"string"` - - // The user name of the user for whom you want to enter a code to reset a forgotten - // password. - // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` +// SetCreationDate sets the CreationDate field's value. +func (s *GroupType) SetCreationDate(v time.Time) *GroupType { + s.CreationDate = &v + return s } -// String returns the string representation -func (s ForgotPasswordInput) String() string { - return awsutil.Prettify(s) +// SetDescription sets the Description field's value. +func (s *GroupType) SetDescription(v string) *GroupType { + s.Description = &v + return s } -// GoString returns the string representation -func (s ForgotPasswordInput) GoString() string { - return s.String() +// SetGroupName sets the GroupName field's value. +func (s *GroupType) SetGroupName(v string) *GroupType { + s.GroupName = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ForgotPasswordInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ForgotPasswordInput"} - if s.ClientId == nil { - invalidParams.Add(request.NewErrParamRequired("ClientId")) - } - if s.ClientId != nil && len(*s.ClientId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) - } - if s.SecretHash != nil && len(*s.SecretHash) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SecretHash", 1)) - } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) - } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetLastModifiedDate sets the LastModifiedDate field's value. +func (s *GroupType) SetLastModifiedDate(v time.Time) *GroupType { + s.LastModifiedDate = &v + return s } -// SetClientId sets the ClientId field's value. -func (s *ForgotPasswordInput) SetClientId(v string) *ForgotPasswordInput { - s.ClientId = &v +// SetPrecedence sets the Precedence field's value. +func (s *GroupType) SetPrecedence(v int64) *GroupType { + s.Precedence = &v return s } -// SetSecretHash sets the SecretHash field's value. -func (s *ForgotPasswordInput) SetSecretHash(v string) *ForgotPasswordInput { - s.SecretHash = &v +// SetRoleArn sets the RoleArn field's value. +func (s *GroupType) SetRoleArn(v string) *GroupType { + s.RoleArn = &v return s } -// SetUsername sets the Username field's value. -func (s *ForgotPasswordInput) SetUsername(v string) *ForgotPasswordInput { - s.Username = &v +// SetUserPoolId sets the UserPoolId field's value. +func (s *GroupType) SetUserPoolId(v string) *GroupType { + s.UserPoolId = &v return s } -// Respresents the response from the server regarding the request to reset a -// password. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgotPasswordResponse -type ForgotPasswordOutput struct { +// The HTTP header. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/HttpHeader +type HttpHeader struct { _ struct{} `type:"structure"` - // The code delivery details returned by the server in response to the request - // to reset a password. - CodeDeliveryDetails *CodeDeliveryDetailsType `type:"structure"` + // The header name + HeaderName *string `locationName:"headerName" type:"string"` + + // The header value. + HeaderValue *string `locationName:"headerValue" type:"string"` } // String returns the string representation -func (s ForgotPasswordOutput) String() string { +func (s HttpHeader) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ForgotPasswordOutput) GoString() string { +func (s HttpHeader) GoString() string { return s.String() } -// SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value. -func (s *ForgotPasswordOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *ForgotPasswordOutput { - s.CodeDeliveryDetails = v +// SetHeaderName sets the HeaderName field's value. +func (s *HttpHeader) SetHeaderName(v string) *HttpHeader { + s.HeaderName = &v return s } -// Represents the request to get the header information for the .csv file for -// the user import job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeaderRequest -type GetCSVHeaderInput struct { +// SetHeaderValue sets the HeaderValue field's value. +func (s *HttpHeader) SetHeaderValue(v string) *HttpHeader { + s.HeaderValue = &v + return s +} + +// A container for information about an identity provider. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/IdentityProviderType +type IdentityProviderType struct { _ struct{} `type:"structure"` - // The user pool ID for the user pool that the users are to be imported into. - // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // A mapping of identity provider attributes to standard and custom user pool + // attributes. + AttributeMapping map[string]*string `type:"map"` + + // The date the identity provider was created. + CreationDate *time.Time `type:"timestamp" timestampFormat:"unix"` + + // A list of identity provider identifiers. + IdpIdentifiers []*string `type:"list"` + + // The date the identity provider was last modified. + LastModifiedDate *time.Time `type:"timestamp" timestampFormat:"unix"` + + // The identity provider details, such as MetadataURL and MetadataFile. + ProviderDetails map[string]*string `type:"map"` + + // The identity provider name. + ProviderName *string `min:"1" type:"string"` + + // The identity provider type. + ProviderType *string `type:"string" enum:"IdentityProviderTypeType"` + + // The user pool ID. + UserPoolId *string `min:"1" type:"string"` } // String returns the string representation -func (s GetCSVHeaderInput) String() string { +func (s IdentityProviderType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetCSVHeaderInput) GoString() string { +func (s IdentityProviderType) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GetCSVHeaderInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetCSVHeaderInput"} - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) - } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetAttributeMapping sets the AttributeMapping field's value. +func (s *IdentityProviderType) SetAttributeMapping(v map[string]*string) *IdentityProviderType { + s.AttributeMapping = v + return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *GetCSVHeaderInput) SetUserPoolId(v string) *GetCSVHeaderInput { - s.UserPoolId = &v +// SetCreationDate sets the CreationDate field's value. +func (s *IdentityProviderType) SetCreationDate(v time.Time) *IdentityProviderType { + s.CreationDate = &v return s } -// Represents the response from the server to the request to get the header -// information for the .csv file for the user import job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeaderResponse -type GetCSVHeaderOutput struct { - _ struct{} `type:"structure"` - - // The header information for the .csv file for the user import job. - CSVHeader []*string `type:"list"` +// SetIdpIdentifiers sets the IdpIdentifiers field's value. +func (s *IdentityProviderType) SetIdpIdentifiers(v []*string) *IdentityProviderType { + s.IdpIdentifiers = v + return s +} - // The user pool ID for the user pool that the users are to be imported into. - UserPoolId *string `min:"1" type:"string"` +// SetLastModifiedDate sets the LastModifiedDate field's value. +func (s *IdentityProviderType) SetLastModifiedDate(v time.Time) *IdentityProviderType { + s.LastModifiedDate = &v + return s } -// String returns the string representation -func (s GetCSVHeaderOutput) String() string { - return awsutil.Prettify(s) +// SetProviderDetails sets the ProviderDetails field's value. +func (s *IdentityProviderType) SetProviderDetails(v map[string]*string) *IdentityProviderType { + s.ProviderDetails = v + return s } -// GoString returns the string representation -func (s GetCSVHeaderOutput) GoString() string { - return s.String() +// SetProviderName sets the ProviderName field's value. +func (s *IdentityProviderType) SetProviderName(v string) *IdentityProviderType { + s.ProviderName = &v + return s } -// SetCSVHeader sets the CSVHeader field's value. -func (s *GetCSVHeaderOutput) SetCSVHeader(v []*string) *GetCSVHeaderOutput { - s.CSVHeader = v +// SetProviderType sets the ProviderType field's value. +func (s *IdentityProviderType) SetProviderType(v string) *IdentityProviderType { + s.ProviderType = &v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *GetCSVHeaderOutput) SetUserPoolId(v string) *GetCSVHeaderOutput { +func (s *IdentityProviderType) SetUserPoolId(v string) *IdentityProviderType { s.UserPoolId = &v return s } -// Represents the request to get the device. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDeviceRequest -type GetDeviceInput struct { +// Initiates the authentication request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuthRequest +type InitiateAuthInput struct { _ struct{} `type:"structure"` - // The access token. - AccessToken *string `type:"string"` + // The Amazon Pinpoint analytics metadata for collecting metrics for InitiateAuth + // calls. + AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` + + // The authentication flow for this call to execute. The API action will depend + // on this value. For example: + // + // * REFRESH_TOKEN_AUTH will take in a valid refresh token and return new + // tokens. + // + // * USER_SRP_AUTH will take in USERNAME and SRP_A and return the SRP variables + // to be used for next challenge execution. + // + // Valid values include: + // + // * USER_SRP_AUTH: Authentication flow for the Secure Remote Password (SRP) + // protocol. + // + // * REFRESH_TOKEN_AUTH/REFRESH_TOKEN: Authentication flow for refreshing + // the access token and ID token by supplying a valid refresh token. + // + // * CUSTOM_AUTH: Custom authentication flow. + // + // ADMIN_NO_SRP_AUTH is not a valid value. + // + // AuthFlow is a required field + AuthFlow *string `type:"string" required:"true" enum:"AuthFlowType"` + + // The authentication parameters. These are inputs corresponding to the AuthFlow + // that you are invoking. The required values depend on the value of AuthFlow: + // + // * For USER_SRP_AUTH: USERNAME (required), SRP_A (required), SECRET_HASH + // (required if the app client is configured with a client secret), DEVICE_KEY + // + // * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: USERNAME (required), SECRET_HASH + // (required if the app client is configured with a client secret), REFRESH_TOKEN + // (required), DEVICE_KEY + // + // * For CUSTOM_AUTH: USERNAME (required), SECRET_HASH (if app client is + // configured with client secret), DEVICE_KEY + AuthParameters map[string]*string `type:"map"` + + // The app client ID. + // + // ClientId is a required field + ClientId *string `min:"1" type:"string" required:"true"` + + // This is a random key-value pair map which can contain any key and will be + // passed to your PreAuthentication Lambda trigger as-is. It can be used to + // implement additional validations around authentication. + ClientMetadata map[string]*string `type:"map"` - // The device key. - // - // DeviceKey is a required field - DeviceKey *string `min:"1" type:"string" required:"true"` + // Contextual data such as the user's device fingerprint, IP address, or location + // used for evaluating the risk of an unexpected event by Amazon Cognito advanced + // security. + UserContextData *UserContextDataType `type:"structure"` } // String returns the string representation -func (s GetDeviceInput) String() string { +func (s InitiateAuthInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetDeviceInput) GoString() string { +func (s InitiateAuthInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetDeviceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetDeviceInput"} - if s.DeviceKey == nil { - invalidParams.Add(request.NewErrParamRequired("DeviceKey")) +func (s *InitiateAuthInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InitiateAuthInput"} + if s.AuthFlow == nil { + invalidParams.Add(request.NewErrParamRequired("AuthFlow")) } - if s.DeviceKey != nil && len(*s.DeviceKey) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DeviceKey", 1)) + if s.ClientId == nil { + invalidParams.Add(request.NewErrParamRequired("ClientId")) + } + if s.ClientId != nil && len(*s.ClientId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) } if invalidParams.Len() > 0 { @@ -14687,84 +18162,203 @@ func (s *GetDeviceInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *GetDeviceInput) SetAccessToken(v string) *GetDeviceInput { - s.AccessToken = &v +// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. +func (s *InitiateAuthInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *InitiateAuthInput { + s.AnalyticsMetadata = v return s } -// SetDeviceKey sets the DeviceKey field's value. -func (s *GetDeviceInput) SetDeviceKey(v string) *GetDeviceInput { - s.DeviceKey = &v +// SetAuthFlow sets the AuthFlow field's value. +func (s *InitiateAuthInput) SetAuthFlow(v string) *InitiateAuthInput { + s.AuthFlow = &v return s } -// Gets the device response. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDeviceResponse -type GetDeviceOutput struct { +// SetAuthParameters sets the AuthParameters field's value. +func (s *InitiateAuthInput) SetAuthParameters(v map[string]*string) *InitiateAuthInput { + s.AuthParameters = v + return s +} + +// SetClientId sets the ClientId field's value. +func (s *InitiateAuthInput) SetClientId(v string) *InitiateAuthInput { + s.ClientId = &v + return s +} + +// SetClientMetadata sets the ClientMetadata field's value. +func (s *InitiateAuthInput) SetClientMetadata(v map[string]*string) *InitiateAuthInput { + s.ClientMetadata = v + return s +} + +// SetUserContextData sets the UserContextData field's value. +func (s *InitiateAuthInput) SetUserContextData(v *UserContextDataType) *InitiateAuthInput { + s.UserContextData = v + return s +} + +// Initiates the authentication response. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuthResponse +type InitiateAuthOutput struct { _ struct{} `type:"structure"` - // The device. + // The result of the authentication response. This is only returned if the caller + // does not need to pass another challenge. If the caller does need to pass + // another challenge before it gets tokens, ChallengeName, ChallengeParameters, + // and Session are returned. + AuthenticationResult *AuthenticationResultType `type:"structure"` + + // The name of the challenge which you are responding to with this call. This + // is returned to you in the AdminInitiateAuth response if you need to pass + // another challenge. // - // Device is a required field - Device *DeviceType `type:"structure" required:"true"` + // Valid values include the following. Note that all of these challenges require + // USERNAME and SECRET_HASH (if applicable) in the parameters. + // + // * SMS_MFA: Next challenge is to supply an SMS_MFA_CODE, delivered via + // SMS. + // + // * PASSWORD_VERIFIER: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE, + // PASSWORD_CLAIM_SECRET_BLOCK, and TIMESTAMP after the client-side SRP calculations. + // + // * CUSTOM_CHALLENGE: This is returned if your custom authentication flow + // determines that the user should pass another challenge before tokens are + // issued. + // + // * DEVICE_SRP_AUTH: If device tracking was enabled on your user pool and + // the previous challenges were passed, this challenge is returned so that + // Amazon Cognito can start tracking this device. + // + // * DEVICE_PASSWORD_VERIFIER: Similar to PASSWORD_VERIFIER, but for devices + // only. + // + // * NEW_PASSWORD_REQUIRED: For users which are required to change their + // passwords after successful first login. This challenge should be passed + // with NEW_PASSWORD and any other required attributes. + ChallengeName *string `type:"string" enum:"ChallengeNameType"` + + // The challenge parameters. These are returned to you in the InitiateAuth response + // if you need to pass another challenge. The responses in this parameter should + // be used to compute inputs to the next call (RespondToAuthChallenge). + // + // All challenges require USERNAME and SECRET_HASH (if applicable). + ChallengeParameters map[string]*string `type:"map"` + + // The session which should be passed both ways in challenge-response calls + // to the service. If the or API call determines that the caller needs to go + // through another challenge, they return a session with other challenge parameters. + // This session should be passed as it is to the next RespondToAuthChallenge + // API call. + Session *string `min:"20" type:"string"` } // String returns the string representation -func (s GetDeviceOutput) String() string { +func (s InitiateAuthOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetDeviceOutput) GoString() string { +func (s InitiateAuthOutput) GoString() string { return s.String() } -// SetDevice sets the Device field's value. -func (s *GetDeviceOutput) SetDevice(v *DeviceType) *GetDeviceOutput { - s.Device = v +// SetAuthenticationResult sets the AuthenticationResult field's value. +func (s *InitiateAuthOutput) SetAuthenticationResult(v *AuthenticationResultType) *InitiateAuthOutput { + s.AuthenticationResult = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroupRequest -type GetGroupInput struct { +// SetChallengeName sets the ChallengeName field's value. +func (s *InitiateAuthOutput) SetChallengeName(v string) *InitiateAuthOutput { + s.ChallengeName = &v + return s +} + +// SetChallengeParameters sets the ChallengeParameters field's value. +func (s *InitiateAuthOutput) SetChallengeParameters(v map[string]*string) *InitiateAuthOutput { + s.ChallengeParameters = v + return s +} + +// SetSession sets the Session field's value. +func (s *InitiateAuthOutput) SetSession(v string) *InitiateAuthOutput { + s.Session = &v + return s +} + +// Specifies the configuration for AWS Lambda triggers. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/LambdaConfigType +type LambdaConfigType struct { _ struct{} `type:"structure"` - // The name of the group. - // - // GroupName is a required field - GroupName *string `min:"1" type:"string" required:"true"` + // Creates an authentication challenge. + CreateAuthChallenge *string `min:"20" type:"string"` - // The user pool ID for the user pool. - // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // A custom Message AWS Lambda trigger. + CustomMessage *string `min:"20" type:"string"` + + // Defines the authentication challenge. + DefineAuthChallenge *string `min:"20" type:"string"` + + // A post-authentication AWS Lambda trigger. + PostAuthentication *string `min:"20" type:"string"` + + // A post-confirmation AWS Lambda trigger. + PostConfirmation *string `min:"20" type:"string"` + + // A pre-authentication AWS Lambda trigger. + PreAuthentication *string `min:"20" type:"string"` + + // A pre-registration AWS Lambda trigger. + PreSignUp *string `min:"20" type:"string"` + + // A Lambda trigger that is invoked before token generation. + PreTokenGeneration *string `min:"20" type:"string"` + + // Verifies the authentication challenge response. + VerifyAuthChallengeResponse *string `min:"20" type:"string"` } // String returns the string representation -func (s GetGroupInput) String() string { +func (s LambdaConfigType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetGroupInput) GoString() string { +func (s LambdaConfigType) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetGroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetGroupInput"} - if s.GroupName == nil { - invalidParams.Add(request.NewErrParamRequired("GroupName")) +func (s *LambdaConfigType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LambdaConfigType"} + if s.CreateAuthChallenge != nil && len(*s.CreateAuthChallenge) < 20 { + invalidParams.Add(request.NewErrParamMinLen("CreateAuthChallenge", 20)) } - if s.GroupName != nil && len(*s.GroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + if s.CustomMessage != nil && len(*s.CustomMessage) < 20 { + invalidParams.Add(request.NewErrParamMinLen("CustomMessage", 20)) } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + if s.DefineAuthChallenge != nil && len(*s.DefineAuthChallenge) < 20 { + invalidParams.Add(request.NewErrParamMinLen("DefineAuthChallenge", 20)) } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.PostAuthentication != nil && len(*s.PostAuthentication) < 20 { + invalidParams.Add(request.NewErrParamMinLen("PostAuthentication", 20)) + } + if s.PostConfirmation != nil && len(*s.PostConfirmation) < 20 { + invalidParams.Add(request.NewErrParamMinLen("PostConfirmation", 20)) + } + if s.PreAuthentication != nil && len(*s.PreAuthentication) < 20 { + invalidParams.Add(request.NewErrParamMinLen("PreAuthentication", 20)) + } + if s.PreSignUp != nil && len(*s.PreSignUp) < 20 { + invalidParams.Add(request.NewErrParamMinLen("PreSignUp", 20)) + } + if s.PreTokenGeneration != nil && len(*s.PreTokenGeneration) < 20 { + invalidParams.Add(request.NewErrParamMinLen("PreTokenGeneration", 20)) + } + if s.VerifyAuthChallengeResponse != nil && len(*s.VerifyAuthChallengeResponse) < 20 { + invalidParams.Add(request.NewErrParamMinLen("VerifyAuthChallengeResponse", 20)) } if invalidParams.Len() > 0 { @@ -14773,81 +18367,95 @@ func (s *GetGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *GetGroupInput) SetGroupName(v string) *GetGroupInput { - s.GroupName = &v +// SetCreateAuthChallenge sets the CreateAuthChallenge field's value. +func (s *LambdaConfigType) SetCreateAuthChallenge(v string) *LambdaConfigType { + s.CreateAuthChallenge = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *GetGroupInput) SetUserPoolId(v string) *GetGroupInput { - s.UserPoolId = &v +// SetCustomMessage sets the CustomMessage field's value. +func (s *LambdaConfigType) SetCustomMessage(v string) *LambdaConfigType { + s.CustomMessage = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroupResponse -type GetGroupOutput struct { - _ struct{} `type:"structure"` +// SetDefineAuthChallenge sets the DefineAuthChallenge field's value. +func (s *LambdaConfigType) SetDefineAuthChallenge(v string) *LambdaConfigType { + s.DefineAuthChallenge = &v + return s +} - // The group object for the group. - Group *GroupType `type:"structure"` +// SetPostAuthentication sets the PostAuthentication field's value. +func (s *LambdaConfigType) SetPostAuthentication(v string) *LambdaConfigType { + s.PostAuthentication = &v + return s } -// String returns the string representation -func (s GetGroupOutput) String() string { - return awsutil.Prettify(s) +// SetPostConfirmation sets the PostConfirmation field's value. +func (s *LambdaConfigType) SetPostConfirmation(v string) *LambdaConfigType { + s.PostConfirmation = &v + return s } -// GoString returns the string representation -func (s GetGroupOutput) GoString() string { - return s.String() +// SetPreAuthentication sets the PreAuthentication field's value. +func (s *LambdaConfigType) SetPreAuthentication(v string) *LambdaConfigType { + s.PreAuthentication = &v + return s } -// SetGroup sets the Group field's value. -func (s *GetGroupOutput) SetGroup(v *GroupType) *GetGroupOutput { - s.Group = v +// SetPreSignUp sets the PreSignUp field's value. +func (s *LambdaConfigType) SetPreSignUp(v string) *LambdaConfigType { + s.PreSignUp = &v + return s +} + +// SetPreTokenGeneration sets the PreTokenGeneration field's value. +func (s *LambdaConfigType) SetPreTokenGeneration(v string) *LambdaConfigType { + s.PreTokenGeneration = &v + return s +} + +// SetVerifyAuthChallengeResponse sets the VerifyAuthChallengeResponse field's value. +func (s *LambdaConfigType) SetVerifyAuthChallengeResponse(v string) *LambdaConfigType { + s.VerifyAuthChallengeResponse = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifierRequest -type GetIdentityProviderByIdentifierInput struct { +// Represents the request to list the devices. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevicesRequest +type ListDevicesInput struct { _ struct{} `type:"structure"` - // The identity provider ID. + // The access tokens for the request to list devices. // - // IdpIdentifier is a required field - IdpIdentifier *string `min:"1" type:"string" required:"true"` + // AccessToken is a required field + AccessToken *string `type:"string" required:"true"` - // The user pool ID. - // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // The limit of the device request. + Limit *int64 `type:"integer"` + + // The pagination token for the list request. + PaginationToken *string `min:"1" type:"string"` } // String returns the string representation -func (s GetIdentityProviderByIdentifierInput) String() string { +func (s ListDevicesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetIdentityProviderByIdentifierInput) GoString() string { +func (s ListDevicesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetIdentityProviderByIdentifierInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetIdentityProviderByIdentifierInput"} - if s.IdpIdentifier == nil { - invalidParams.Add(request.NewErrParamRequired("IdpIdentifier")) - } - if s.IdpIdentifier != nil && len(*s.IdpIdentifier) < 1 { - invalidParams.Add(request.NewErrParamMinLen("IdpIdentifier", 1)) - } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) +func (s *ListDevicesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListDevicesInput"} + if s.AccessToken == nil { + invalidParams.Add(request.NewErrParamRequired("AccessToken")) } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.PaginationToken != nil && len(*s.PaginationToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PaginationToken", 1)) } if invalidParams.Len() > 0 { @@ -14856,50 +18464,68 @@ func (s *GetIdentityProviderByIdentifierInput) Validate() error { return nil } -// SetIdpIdentifier sets the IdpIdentifier field's value. -func (s *GetIdentityProviderByIdentifierInput) SetIdpIdentifier(v string) *GetIdentityProviderByIdentifierInput { - s.IdpIdentifier = &v +// SetAccessToken sets the AccessToken field's value. +func (s *ListDevicesInput) SetAccessToken(v string) *ListDevicesInput { + s.AccessToken = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *GetIdentityProviderByIdentifierInput) SetUserPoolId(v string) *GetIdentityProviderByIdentifierInput { - s.UserPoolId = &v +// SetLimit sets the Limit field's value. +func (s *ListDevicesInput) SetLimit(v int64) *ListDevicesInput { + s.Limit = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifierResponse -type GetIdentityProviderByIdentifierOutput struct { +// SetPaginationToken sets the PaginationToken field's value. +func (s *ListDevicesInput) SetPaginationToken(v string) *ListDevicesInput { + s.PaginationToken = &v + return s +} + +// Represents the response to list devices. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevicesResponse +type ListDevicesOutput struct { _ struct{} `type:"structure"` - // The identity provider object. - // - // IdentityProvider is a required field - IdentityProvider *IdentityProviderType `type:"structure" required:"true"` + // The devices returned in the list devices response. + Devices []*DeviceType `type:"list"` + + // The pagination token for the list device response. + PaginationToken *string `min:"1" type:"string"` } // String returns the string representation -func (s GetIdentityProviderByIdentifierOutput) String() string { +func (s ListDevicesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetIdentityProviderByIdentifierOutput) GoString() string { +func (s ListDevicesOutput) GoString() string { return s.String() } -// SetIdentityProvider sets the IdentityProvider field's value. -func (s *GetIdentityProviderByIdentifierOutput) SetIdentityProvider(v *IdentityProviderType) *GetIdentityProviderByIdentifierOutput { - s.IdentityProvider = v +// SetDevices sets the Devices field's value. +func (s *ListDevicesOutput) SetDevices(v []*DeviceType) *ListDevicesOutput { + s.Devices = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUICustomizationRequest -type GetUICustomizationInput struct { +// SetPaginationToken sets the PaginationToken field's value. +func (s *ListDevicesOutput) SetPaginationToken(v string) *ListDevicesOutput { + s.PaginationToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroupsRequest +type ListGroupsInput struct { _ struct{} `type:"structure"` - // The client ID for the client app. - ClientId *string `min:"1" type:"string"` + // The limit of the request to list groups. + Limit *int64 `type:"integer"` + + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `min:"1" type:"string"` // The user pool ID for the user pool. // @@ -14908,20 +18534,20 @@ type GetUICustomizationInput struct { } // String returns the string representation -func (s GetUICustomizationInput) String() string { +func (s ListGroupsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetUICustomizationInput) GoString() string { +func (s ListGroupsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetUICustomizationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetUICustomizationInput"} - if s.ClientId != nil && len(*s.ClientId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) +func (s *ListGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListGroupsInput"} + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -14936,157 +18562,98 @@ func (s *GetUICustomizationInput) Validate() error { return nil } -// SetClientId sets the ClientId field's value. -func (s *GetUICustomizationInput) SetClientId(v string) *GetUICustomizationInput { - s.ClientId = &v +// SetLimit sets the Limit field's value. +func (s *ListGroupsInput) SetLimit(v int64) *ListGroupsInput { + s.Limit = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *GetUICustomizationInput) SetUserPoolId(v string) *GetUICustomizationInput { - s.UserPoolId = &v +// SetNextToken sets the NextToken field's value. +func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput { + s.NextToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUICustomizationResponse -type GetUICustomizationOutput struct { - _ struct{} `type:"structure"` - - // The UI customization information. - // - // UICustomization is a required field - UICustomization *UICustomizationType `type:"structure" required:"true"` -} - -// String returns the string representation -func (s GetUICustomizationOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s GetUICustomizationOutput) GoString() string { - return s.String() -} - -// SetUICustomization sets the UICustomization field's value. -func (s *GetUICustomizationOutput) SetUICustomization(v *UICustomizationType) *GetUICustomizationOutput { - s.UICustomization = v +// SetUserPoolId sets the UserPoolId field's value. +func (s *ListGroupsInput) SetUserPoolId(v string) *ListGroupsInput { + s.UserPoolId = &v return s } -// Represents the request to get user attribute verification. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCodeRequest -type GetUserAttributeVerificationCodeInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroupsResponse +type ListGroupsOutput struct { _ struct{} `type:"structure"` - // The access token returned by the server response to get the user attribute - // verification code. - // - // AccessToken is a required field - AccessToken *string `type:"string" required:"true"` + // The group objects for the groups. + Groups []*GroupType `type:"list"` - // The attribute name returned by the server response to get the user attribute - // verification code. - // - // AttributeName is a required field - AttributeName *string `min:"1" type:"string" required:"true"` + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `min:"1" type:"string"` } // String returns the string representation -func (s GetUserAttributeVerificationCodeInput) String() string { +func (s ListGroupsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetUserAttributeVerificationCodeInput) GoString() string { +func (s ListGroupsOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GetUserAttributeVerificationCodeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetUserAttributeVerificationCodeInput"} - if s.AccessToken == nil { - invalidParams.Add(request.NewErrParamRequired("AccessToken")) - } - if s.AttributeName == nil { - invalidParams.Add(request.NewErrParamRequired("AttributeName")) - } - if s.AttributeName != nil && len(*s.AttributeName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AttributeName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAccessToken sets the AccessToken field's value. -func (s *GetUserAttributeVerificationCodeInput) SetAccessToken(v string) *GetUserAttributeVerificationCodeInput { - s.AccessToken = &v +// SetGroups sets the Groups field's value. +func (s *ListGroupsOutput) SetGroups(v []*GroupType) *ListGroupsOutput { + s.Groups = v return s } -// SetAttributeName sets the AttributeName field's value. -func (s *GetUserAttributeVerificationCodeInput) SetAttributeName(v string) *GetUserAttributeVerificationCodeInput { - s.AttributeName = &v +// SetNextToken sets the NextToken field's value. +func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput { + s.NextToken = &v return s } -// The verification code response returned by the server response to get the -// user attribute verification code. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCodeResponse -type GetUserAttributeVerificationCodeOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProvidersRequest +type ListIdentityProvidersInput struct { _ struct{} `type:"structure"` - // The code delivery details returned by the server in response to the request - // to get the user attribute verification code. - CodeDeliveryDetails *CodeDeliveryDetailsType `type:"structure"` -} - -// String returns the string representation -func (s GetUserAttributeVerificationCodeOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s GetUserAttributeVerificationCodeOutput) GoString() string { - return s.String() -} - -// SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value. -func (s *GetUserAttributeVerificationCodeOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *GetUserAttributeVerificationCodeOutput { - s.CodeDeliveryDetails = v - return s -} + // The maximum number of identity providers to return. + MaxResults *int64 `min:"1" type:"integer"` -// Represents the request to get information about the user. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserRequest -type GetUserInput struct { - _ struct{} `type:"structure"` + // A pagination token. + NextToken *string `min:"1" type:"string"` - // The access token returned by the server response to get information about - // the user. + // The user pool ID. // - // AccessToken is a required field - AccessToken *string `type:"string" required:"true"` + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s GetUserInput) String() string { +func (s ListIdentityProvidersInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetUserInput) GoString() string { +func (s ListIdentityProvidersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetUserInput"} - if s.AccessToken == nil { - invalidParams.Add(request.NewErrParamRequired("AccessToken")) +func (s *ListIdentityProvidersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListIdentityProvidersInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } if invalidParams.Len() > 0 { @@ -15095,89 +18662,99 @@ func (s *GetUserInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *GetUserInput) SetAccessToken(v string) *GetUserInput { - s.AccessToken = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListIdentityProvidersInput) SetMaxResults(v int64) *ListIdentityProvidersInput { + s.MaxResults = &v return s } -// Represents the response from the server from the request to get information -// about the user. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserResponse -type GetUserOutput struct { - _ struct{} `type:"structure"` +// SetNextToken sets the NextToken field's value. +func (s *ListIdentityProvidersInput) SetNextToken(v string) *ListIdentityProvidersInput { + s.NextToken = &v + return s +} - // Specifies the options for MFA (e.g., email or phone number). - MFAOptions []*MFAOptionType `type:"list"` +// SetUserPoolId sets the UserPoolId field's value. +func (s *ListIdentityProvidersInput) SetUserPoolId(v string) *ListIdentityProvidersInput { + s.UserPoolId = &v + return s +} - // An array of name-value pairs representing user attributes. - // - // For custom attributes, you must prepend the custom: prefix to the attribute - // name. - // - // UserAttributes is a required field - UserAttributes []*AttributeType `type:"list" required:"true"` +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProvidersResponse +type ListIdentityProvidersOutput struct { + _ struct{} `type:"structure"` - // The user name of the user you wish to retrieve from the get user request. + // A pagination token. + NextToken *string `min:"1" type:"string"` + + // A list of identity provider objects. // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` + // Providers is a required field + Providers []*ProviderDescription `type:"list" required:"true"` } // String returns the string representation -func (s GetUserOutput) String() string { +func (s ListIdentityProvidersOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetUserOutput) GoString() string { +func (s ListIdentityProvidersOutput) GoString() string { return s.String() } -// SetMFAOptions sets the MFAOptions field's value. -func (s *GetUserOutput) SetMFAOptions(v []*MFAOptionType) *GetUserOutput { - s.MFAOptions = v - return s -} - -// SetUserAttributes sets the UserAttributes field's value. -func (s *GetUserOutput) SetUserAttributes(v []*AttributeType) *GetUserOutput { - s.UserAttributes = v +// SetNextToken sets the NextToken field's value. +func (s *ListIdentityProvidersOutput) SetNextToken(v string) *ListIdentityProvidersOutput { + s.NextToken = &v return s } -// SetUsername sets the Username field's value. -func (s *GetUserOutput) SetUsername(v string) *GetUserOutput { - s.Username = &v +// SetProviders sets the Providers field's value. +func (s *ListIdentityProvidersOutput) SetProviders(v []*ProviderDescription) *ListIdentityProvidersOutput { + s.Providers = v return s } -// Represents the request to sign out all devices. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOutRequest -type GlobalSignOutInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListResourceServersRequest +type ListResourceServersInput struct { _ struct{} `type:"structure"` - // The access token. + // The maximum number of resource servers to return. + MaxResults *int64 `min:"1" type:"integer"` + + // A pagination token. + NextToken *string `min:"1" type:"string"` + + // The user pool ID for the user pool. // - // AccessToken is a required field - AccessToken *string `type:"string" required:"true"` + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s GlobalSignOutInput) String() string { +func (s ListResourceServersInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GlobalSignOutInput) GoString() string { +func (s ListResourceServersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GlobalSignOutInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GlobalSignOutInput"} - if s.AccessToken == nil { - invalidParams.Add(request.NewErrParamRequired("AccessToken")) +func (s *ListResourceServersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListResourceServersInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } if invalidParams.Len() > 0 { @@ -15186,284 +18763,211 @@ func (s *GlobalSignOutInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *GlobalSignOutInput) SetAccessToken(v string) *GlobalSignOutInput { - s.AccessToken = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListResourceServersInput) SetMaxResults(v int64) *ListResourceServersInput { + s.MaxResults = &v return s } -// The response to the request to sign out all devices. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOutResponse -type GlobalSignOutOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation -func (s GlobalSignOutOutput) String() string { - return awsutil.Prettify(s) +// SetNextToken sets the NextToken field's value. +func (s *ListResourceServersInput) SetNextToken(v string) *ListResourceServersInput { + s.NextToken = &v + return s } -// GoString returns the string representation -func (s GlobalSignOutOutput) GoString() string { - return s.String() +// SetUserPoolId sets the UserPoolId field's value. +func (s *ListResourceServersInput) SetUserPoolId(v string) *ListResourceServersInput { + s.UserPoolId = &v + return s } -// The group type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GroupType -type GroupType struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListResourceServersResponse +type ListResourceServersOutput struct { _ struct{} `type:"structure"` - // The date the group was created. - CreationDate *time.Time `type:"timestamp" timestampFormat:"unix"` - - // A string containing the description of the group. - Description *string `type:"string"` - - // The name of the group. - GroupName *string `min:"1" type:"string"` - - // The date the group was last modified. - LastModifiedDate *time.Time `type:"timestamp" timestampFormat:"unix"` + // A pagination token. + NextToken *string `min:"1" type:"string"` - // A nonnegative integer value that specifies the precedence of this group relative - // to the other groups that a user can belong to in the user pool. If a user - // belongs to two or more groups, it is the group with the highest precedence - // whose role ARN will be used in the cognito:roles and cognito:preferred_role - // claims in the user's tokens. Groups with higher Precedence values take precedence - // over groups with lower Precedence values or with null Precedence values. - // - // Two groups can have the same Precedence value. If this happens, neither group - // takes precedence over the other. If two groups with the same Precedence have - // the same role ARN, that role is used in the cognito:preferred_role claim - // in tokens for users in each group. If the two groups have different role - // ARNs, the cognito:preferred_role claim is not set in users' tokens. + // The resource servers. // - // The default Precedence value is null. - Precedence *int64 `type:"integer"` - - // The role ARN for the group. - RoleArn *string `min:"20" type:"string"` - - // The user pool ID for the user pool. - UserPoolId *string `min:"1" type:"string"` + // ResourceServers is a required field + ResourceServers []*ResourceServerType `type:"list" required:"true"` } // String returns the string representation -func (s GroupType) String() string { +func (s ListResourceServersOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GroupType) GoString() string { +func (s ListResourceServersOutput) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *GroupType) SetCreationDate(v time.Time) *GroupType { - s.CreationDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *GroupType) SetDescription(v string) *GroupType { - s.Description = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *GroupType) SetGroupName(v string) *GroupType { - s.GroupName = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *GroupType) SetLastModifiedDate(v time.Time) *GroupType { - s.LastModifiedDate = &v - return s -} - -// SetPrecedence sets the Precedence field's value. -func (s *GroupType) SetPrecedence(v int64) *GroupType { - s.Precedence = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *GroupType) SetRoleArn(v string) *GroupType { - s.RoleArn = &v +// SetNextToken sets the NextToken field's value. +func (s *ListResourceServersOutput) SetNextToken(v string) *ListResourceServersOutput { + s.NextToken = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *GroupType) SetUserPoolId(v string) *GroupType { - s.UserPoolId = &v +// SetResourceServers sets the ResourceServers field's value. +func (s *ListResourceServersOutput) SetResourceServers(v []*ResourceServerType) *ListResourceServersOutput { + s.ResourceServers = v return s } -// A container for information about an identity provider. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/IdentityProviderType -type IdentityProviderType struct { +// Represents the request to list the user import jobs. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobsRequest +type ListUserImportJobsInput struct { _ struct{} `type:"structure"` - // A mapping of identity provider attributes to standard and custom user pool - // attributes. - AttributeMapping map[string]*string `type:"map"` - - // The date the identity provider was created. - CreationDate *time.Time `type:"timestamp" timestampFormat:"unix"` - - // A list of identity provider identifiers. - IdpIdentifiers []*string `type:"list"` - - // The date the identity provider was last modified. - LastModifiedDate *time.Time `type:"timestamp" timestampFormat:"unix"` - - // The identity provider details, such as MetadataURL and MetadataFile. - ProviderDetails map[string]*string `type:"map"` - - // The identity provider name. - ProviderName *string `min:"1" type:"string"` + // The maximum number of import jobs you want the request to return. + // + // MaxResults is a required field + MaxResults *int64 `min:"1" type:"integer" required:"true"` - // The identity provider type. - ProviderType *string `type:"string" enum:"IdentityProviderTypeType"` + // An identifier that was returned from the previous call to ListUserImportJobs, + // which can be used to return the next set of import jobs in the list. + PaginationToken *string `min:"1" type:"string"` - // The user pool ID. - UserPoolId *string `min:"1" type:"string"` + // The user pool ID for the user pool that the users are being imported into. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s IdentityProviderType) String() string { +func (s ListUserImportJobsInput) String() string { return awsutil.Prettify(s) } -// GoString returns the string representation -func (s IdentityProviderType) GoString() string { - return s.String() +// GoString returns the string representation +func (s ListUserImportJobsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListUserImportJobsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListUserImportJobsInput"} + if s.MaxResults == nil { + invalidParams.Add(request.NewErrParamRequired("MaxResults")) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.PaginationToken != nil && len(*s.PaginationToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PaginationToken", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetAttributeMapping sets the AttributeMapping field's value. -func (s *IdentityProviderType) SetAttributeMapping(v map[string]*string) *IdentityProviderType { - s.AttributeMapping = v +// SetMaxResults sets the MaxResults field's value. +func (s *ListUserImportJobsInput) SetMaxResults(v int64) *ListUserImportJobsInput { + s.MaxResults = &v return s } -// SetCreationDate sets the CreationDate field's value. -func (s *IdentityProviderType) SetCreationDate(v time.Time) *IdentityProviderType { - s.CreationDate = &v +// SetPaginationToken sets the PaginationToken field's value. +func (s *ListUserImportJobsInput) SetPaginationToken(v string) *ListUserImportJobsInput { + s.PaginationToken = &v return s } -// SetIdpIdentifiers sets the IdpIdentifiers field's value. -func (s *IdentityProviderType) SetIdpIdentifiers(v []*string) *IdentityProviderType { - s.IdpIdentifiers = v +// SetUserPoolId sets the UserPoolId field's value. +func (s *ListUserImportJobsInput) SetUserPoolId(v string) *ListUserImportJobsInput { + s.UserPoolId = &v return s } -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *IdentityProviderType) SetLastModifiedDate(v time.Time) *IdentityProviderType { - s.LastModifiedDate = &v - return s +// Represents the response from the server to the request to list the user import +// jobs. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobsResponse +type ListUserImportJobsOutput struct { + _ struct{} `type:"structure"` + + // An identifier that can be used to return the next set of user import jobs + // in the list. + PaginationToken *string `min:"1" type:"string"` + + // The user import jobs. + UserImportJobs []*UserImportJobType `min:"1" type:"list"` } -// SetProviderDetails sets the ProviderDetails field's value. -func (s *IdentityProviderType) SetProviderDetails(v map[string]*string) *IdentityProviderType { - s.ProviderDetails = v - return s +// String returns the string representation +func (s ListUserImportJobsOutput) String() string { + return awsutil.Prettify(s) } -// SetProviderName sets the ProviderName field's value. -func (s *IdentityProviderType) SetProviderName(v string) *IdentityProviderType { - s.ProviderName = &v - return s +// GoString returns the string representation +func (s ListUserImportJobsOutput) GoString() string { + return s.String() } -// SetProviderType sets the ProviderType field's value. -func (s *IdentityProviderType) SetProviderType(v string) *IdentityProviderType { - s.ProviderType = &v +// SetPaginationToken sets the PaginationToken field's value. +func (s *ListUserImportJobsOutput) SetPaginationToken(v string) *ListUserImportJobsOutput { + s.PaginationToken = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *IdentityProviderType) SetUserPoolId(v string) *IdentityProviderType { - s.UserPoolId = &v +// SetUserImportJobs sets the UserImportJobs field's value. +func (s *ListUserImportJobsOutput) SetUserImportJobs(v []*UserImportJobType) *ListUserImportJobsOutput { + s.UserImportJobs = v return s } -// Initiates the authentication request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuthRequest -type InitiateAuthInput struct { +// Represents the request to list the user pool clients. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClientsRequest +type ListUserPoolClientsInput struct { _ struct{} `type:"structure"` - // The authentication flow for this call to execute. The API action will depend - // on this value. For example: - // - // * REFRESH_TOKEN_AUTH will take in a valid refresh token and return new - // tokens. - // - // * USER_SRP_AUTH will take in USERNAME and SRP_A and return the SRP variables - // to be used for next challenge execution. - // - // Valid values include: - // - // * USER_SRP_AUTH: Authentication flow for the Secure Remote Password (SRP) - // protocol. - // - // * REFRESH_TOKEN_AUTH/REFRESH_TOKEN: Authentication flow for refreshing - // the access token and ID token by supplying a valid refresh token. - // - // * CUSTOM_AUTH: Custom authentication flow. - // - // ADMIN_NO_SRP_AUTH is not a valid value. - // - // AuthFlow is a required field - AuthFlow *string `type:"string" required:"true" enum:"AuthFlowType"` + // The maximum number of results you want the request to return when listing + // the user pool clients. + MaxResults *int64 `min:"1" type:"integer"` - // The authentication parameters. These are inputs corresponding to the AuthFlow - // that you are invoking. The required values depend on the value of AuthFlow: - // - // * For USER_SRP_AUTH: USERNAME (required), SRP_A (required), SECRET_HASH - // (required if the app client is configured with a client secret), DEVICE_KEY - // - // * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: USERNAME (required), SECRET_HASH - // (required if the app client is configured with a client secret), REFRESH_TOKEN - // (required), DEVICE_KEY - // - // * For CUSTOM_AUTH: USERNAME (required), SECRET_HASH (if app client is - // configured with client secret), DEVICE_KEY - AuthParameters map[string]*string `type:"map"` + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `min:"1" type:"string"` - // The app client ID. + // The user pool ID for the user pool where you want to list user pool clients. // - // ClientId is a required field - ClientId *string `min:"1" type:"string" required:"true"` - - // This is a random key-value pair map which can contain any key and will be - // passed to your PreAuthentication Lambda trigger as-is. It can be used to - // implement additional validations around authentication. - ClientMetadata map[string]*string `type:"map"` + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s InitiateAuthInput) String() string { +func (s ListUserPoolClientsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s InitiateAuthInput) GoString() string { +func (s ListUserPoolClientsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *InitiateAuthInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "InitiateAuthInput"} - if s.AuthFlow == nil { - invalidParams.Add(request.NewErrParamRequired("AuthFlow")) +func (s *ListUserPoolClientsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListUserPoolClientsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.ClientId == nil { - invalidParams.Add(request.NewErrParamRequired("ClientId")) + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } - if s.ClientId != nil && len(*s.ClientId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } if invalidParams.Len() > 0 { @@ -15472,186 +18976,96 @@ func (s *InitiateAuthInput) Validate() error { return nil } -// SetAuthFlow sets the AuthFlow field's value. -func (s *InitiateAuthInput) SetAuthFlow(v string) *InitiateAuthInput { - s.AuthFlow = &v - return s -} - -// SetAuthParameters sets the AuthParameters field's value. -func (s *InitiateAuthInput) SetAuthParameters(v map[string]*string) *InitiateAuthInput { - s.AuthParameters = v +// SetMaxResults sets the MaxResults field's value. +func (s *ListUserPoolClientsInput) SetMaxResults(v int64) *ListUserPoolClientsInput { + s.MaxResults = &v return s } -// SetClientId sets the ClientId field's value. -func (s *InitiateAuthInput) SetClientId(v string) *InitiateAuthInput { - s.ClientId = &v +// SetNextToken sets the NextToken field's value. +func (s *ListUserPoolClientsInput) SetNextToken(v string) *ListUserPoolClientsInput { + s.NextToken = &v return s } -// SetClientMetadata sets the ClientMetadata field's value. -func (s *InitiateAuthInput) SetClientMetadata(v map[string]*string) *InitiateAuthInput { - s.ClientMetadata = v +// SetUserPoolId sets the UserPoolId field's value. +func (s *ListUserPoolClientsInput) SetUserPoolId(v string) *ListUserPoolClientsInput { + s.UserPoolId = &v return s } -// Initiates the authentication response. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuthResponse -type InitiateAuthOutput struct { +// Represents the response from the server that lists user pool clients. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClientsResponse +type ListUserPoolClientsOutput struct { _ struct{} `type:"structure"` - // The result of the authentication response. This is only returned if the caller - // does not need to pass another challenge. If the caller does need to pass - // another challenge before it gets tokens, ChallengeName, ChallengeParameters, - // and Session are returned. - AuthenticationResult *AuthenticationResultType `type:"structure"` - - // The name of the challenge which you are responding to with this call. This - // is returned to you in the AdminInitiateAuth response if you need to pass - // another challenge. - // - // Valid values include the following. Note that all of these challenges require - // USERNAME and SECRET_HASH (if applicable) in the parameters. - // - // * SMS_MFA: Next challenge is to supply an SMS_MFA_CODE, delivered via - // SMS. - // - // * PASSWORD_VERIFIER: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE, - // PASSWORD_CLAIM_SECRET_BLOCK, and TIMESTAMP after the client-side SRP calculations. - // - // * CUSTOM_CHALLENGE: This is returned if your custom authentication flow - // determines that the user should pass another challenge before tokens are - // issued. - // - // * DEVICE_SRP_AUTH: If device tracking was enabled on your user pool and - // the previous challenges were passed, this challenge is returned so that - // Amazon Cognito can start tracking this device. - // - // * DEVICE_PASSWORD_VERIFIER: Similar to PASSWORD_VERIFIER, but for devices - // only. - // - // * NEW_PASSWORD_REQUIRED: For users which are required to change their - // passwords after successful first login. This challenge should be passed - // with NEW_PASSWORD and any other required attributes. - ChallengeName *string `type:"string" enum:"ChallengeNameType"` - - // The challenge parameters. These are returned to you in the InitiateAuth response - // if you need to pass another challenge. The responses in this parameter should - // be used to compute inputs to the next call (RespondToAuthChallenge). - // - // All challenges require USERNAME and SECRET_HASH (if applicable). - ChallengeParameters map[string]*string `type:"map"` - - // The session which should be passed both ways in challenge-response calls - // to the service. If the InitiateAuth (API_InitiateAuth.html) or RespondToAuthChallenge - // (API_RespondToAuthChallenge.html) API call determines that the caller needs - // to go through another challenge, they return a session with other challenge - // parameters. This session should be passed as it is to the next RespondToAuthChallenge - // API call. - Session *string `min:"20" type:"string"` -} - -// String returns the string representation -func (s InitiateAuthOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s InitiateAuthOutput) GoString() string { - return s.String() -} + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `min:"1" type:"string"` -// SetAuthenticationResult sets the AuthenticationResult field's value. -func (s *InitiateAuthOutput) SetAuthenticationResult(v *AuthenticationResultType) *InitiateAuthOutput { - s.AuthenticationResult = v - return s + // The user pool clients in the response that lists user pool clients. + UserPoolClients []*UserPoolClientDescription `type:"list"` } -// SetChallengeName sets the ChallengeName field's value. -func (s *InitiateAuthOutput) SetChallengeName(v string) *InitiateAuthOutput { - s.ChallengeName = &v - return s +// String returns the string representation +func (s ListUserPoolClientsOutput) String() string { + return awsutil.Prettify(s) } -// SetChallengeParameters sets the ChallengeParameters field's value. -func (s *InitiateAuthOutput) SetChallengeParameters(v map[string]*string) *InitiateAuthOutput { - s.ChallengeParameters = v +// GoString returns the string representation +func (s ListUserPoolClientsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListUserPoolClientsOutput) SetNextToken(v string) *ListUserPoolClientsOutput { + s.NextToken = &v return s } -// SetSession sets the Session field's value. -func (s *InitiateAuthOutput) SetSession(v string) *InitiateAuthOutput { - s.Session = &v +// SetUserPoolClients sets the UserPoolClients field's value. +func (s *ListUserPoolClientsOutput) SetUserPoolClients(v []*UserPoolClientDescription) *ListUserPoolClientsOutput { + s.UserPoolClients = v return s } -// Specifies the type of configuration for AWS Lambda triggers. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/LambdaConfigType -type LambdaConfigType struct { +// Represents the request to list user pools. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolsRequest +type ListUserPoolsInput struct { _ struct{} `type:"structure"` - // Creates an authentication challenge. - CreateAuthChallenge *string `min:"20" type:"string"` - - // A custom Message AWS Lambda trigger. - CustomMessage *string `min:"20" type:"string"` - - // Defines the authentication challenge. - DefineAuthChallenge *string `min:"20" type:"string"` - - // A post-authentication AWS Lambda trigger. - PostAuthentication *string `min:"20" type:"string"` - - // A post-confirmation AWS Lambda trigger. - PostConfirmation *string `min:"20" type:"string"` - - // A pre-authentication AWS Lambda trigger. - PreAuthentication *string `min:"20" type:"string"` - - // A pre-registration AWS Lambda trigger. - PreSignUp *string `min:"20" type:"string"` + // The maximum number of results you want the request to return when listing + // the user pools. + // + // MaxResults is a required field + MaxResults *int64 `min:"1" type:"integer" required:"true"` - // Verifies the authentication challenge response. - VerifyAuthChallengeResponse *string `min:"20" type:"string"` + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `min:"1" type:"string"` } // String returns the string representation -func (s LambdaConfigType) String() string { +func (s ListUserPoolsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s LambdaConfigType) GoString() string { +func (s ListUserPoolsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *LambdaConfigType) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "LambdaConfigType"} - if s.CreateAuthChallenge != nil && len(*s.CreateAuthChallenge) < 20 { - invalidParams.Add(request.NewErrParamMinLen("CreateAuthChallenge", 20)) - } - if s.CustomMessage != nil && len(*s.CustomMessage) < 20 { - invalidParams.Add(request.NewErrParamMinLen("CustomMessage", 20)) - } - if s.DefineAuthChallenge != nil && len(*s.DefineAuthChallenge) < 20 { - invalidParams.Add(request.NewErrParamMinLen("DefineAuthChallenge", 20)) - } - if s.PostAuthentication != nil && len(*s.PostAuthentication) < 20 { - invalidParams.Add(request.NewErrParamMinLen("PostAuthentication", 20)) - } - if s.PostConfirmation != nil && len(*s.PostConfirmation) < 20 { - invalidParams.Add(request.NewErrParamMinLen("PostConfirmation", 20)) - } - if s.PreAuthentication != nil && len(*s.PreAuthentication) < 20 { - invalidParams.Add(request.NewErrParamMinLen("PreAuthentication", 20)) +func (s *ListUserPoolsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListUserPoolsInput"} + if s.MaxResults == nil { + invalidParams.Add(request.NewErrParamRequired("MaxResults")) } - if s.PreSignUp != nil && len(*s.PreSignUp) < 20 { - invalidParams.Add(request.NewErrParamMinLen("PreSignUp", 20)) + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.VerifyAuthChallengeResponse != nil && len(*s.VerifyAuthChallengeResponse) < 20 { - invalidParams.Add(request.NewErrParamMinLen("VerifyAuthChallengeResponse", 20)) + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } if invalidParams.Len() > 0 { @@ -15660,89 +19074,102 @@ func (s *LambdaConfigType) Validate() error { return nil } -// SetCreateAuthChallenge sets the CreateAuthChallenge field's value. -func (s *LambdaConfigType) SetCreateAuthChallenge(v string) *LambdaConfigType { - s.CreateAuthChallenge = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListUserPoolsInput) SetMaxResults(v int64) *ListUserPoolsInput { + s.MaxResults = &v return s } -// SetCustomMessage sets the CustomMessage field's value. -func (s *LambdaConfigType) SetCustomMessage(v string) *LambdaConfigType { - s.CustomMessage = &v +// SetNextToken sets the NextToken field's value. +func (s *ListUserPoolsInput) SetNextToken(v string) *ListUserPoolsInput { + s.NextToken = &v return s } -// SetDefineAuthChallenge sets the DefineAuthChallenge field's value. -func (s *LambdaConfigType) SetDefineAuthChallenge(v string) *LambdaConfigType { - s.DefineAuthChallenge = &v - return s -} +// Represents the response to list user pools. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolsResponse +type ListUserPoolsOutput struct { + _ struct{} `type:"structure"` -// SetPostAuthentication sets the PostAuthentication field's value. -func (s *LambdaConfigType) SetPostAuthentication(v string) *LambdaConfigType { - s.PostAuthentication = &v - return s + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `min:"1" type:"string"` + + // The user pools from the response to list users. + UserPools []*UserPoolDescriptionType `type:"list"` } -// SetPostConfirmation sets the PostConfirmation field's value. -func (s *LambdaConfigType) SetPostConfirmation(v string) *LambdaConfigType { - s.PostConfirmation = &v - return s +// String returns the string representation +func (s ListUserPoolsOutput) String() string { + return awsutil.Prettify(s) } -// SetPreAuthentication sets the PreAuthentication field's value. -func (s *LambdaConfigType) SetPreAuthentication(v string) *LambdaConfigType { - s.PreAuthentication = &v - return s +// GoString returns the string representation +func (s ListUserPoolsOutput) GoString() string { + return s.String() } -// SetPreSignUp sets the PreSignUp field's value. -func (s *LambdaConfigType) SetPreSignUp(v string) *LambdaConfigType { - s.PreSignUp = &v +// SetNextToken sets the NextToken field's value. +func (s *ListUserPoolsOutput) SetNextToken(v string) *ListUserPoolsOutput { + s.NextToken = &v return s } -// SetVerifyAuthChallengeResponse sets the VerifyAuthChallengeResponse field's value. -func (s *LambdaConfigType) SetVerifyAuthChallengeResponse(v string) *LambdaConfigType { - s.VerifyAuthChallengeResponse = &v +// SetUserPools sets the UserPools field's value. +func (s *ListUserPoolsOutput) SetUserPools(v []*UserPoolDescriptionType) *ListUserPoolsOutput { + s.UserPools = v return s } -// Represents the request to list the devices. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevicesRequest -type ListDevicesInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroupRequest +type ListUsersInGroupInput struct { _ struct{} `type:"structure"` - // The access tokens for the request to list devices. + // The name of the group. // - // AccessToken is a required field - AccessToken *string `type:"string" required:"true"` + // GroupName is a required field + GroupName *string `min:"1" type:"string" required:"true"` - // The limit of the device request. + // The limit of the request to list users. Limit *int64 `type:"integer"` - // The pagination token for the list request. - PaginationToken *string `min:"1" type:"string"` + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `min:"1" type:"string"` + + // The user pool ID for the user pool. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s ListDevicesInput) String() string { +func (s ListUsersInGroupInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListDevicesInput) GoString() string { +func (s ListUsersInGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListDevicesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListDevicesInput"} - if s.AccessToken == nil { - invalidParams.Add(request.NewErrParamRequired("AccessToken")) +func (s *ListUsersInGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListUsersInGroupInput"} + if s.GroupName == nil { + invalidParams.Add(request.NewErrParamRequired("GroupName")) } - if s.PaginationToken != nil && len(*s.PaginationToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PaginationToken", 1)) + if s.GroupName != nil && len(*s.GroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } if invalidParams.Len() > 0 { @@ -15751,90 +19178,146 @@ func (s *ListDevicesInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *ListDevicesInput) SetAccessToken(v string) *ListDevicesInput { - s.AccessToken = &v +// SetGroupName sets the GroupName field's value. +func (s *ListUsersInGroupInput) SetGroupName(v string) *ListUsersInGroupInput { + s.GroupName = &v return s } // SetLimit sets the Limit field's value. -func (s *ListDevicesInput) SetLimit(v int64) *ListDevicesInput { +func (s *ListUsersInGroupInput) SetLimit(v int64) *ListUsersInGroupInput { s.Limit = &v return s } -// SetPaginationToken sets the PaginationToken field's value. -func (s *ListDevicesInput) SetPaginationToken(v string) *ListDevicesInput { - s.PaginationToken = &v +// SetNextToken sets the NextToken field's value. +func (s *ListUsersInGroupInput) SetNextToken(v string) *ListUsersInGroupInput { + s.NextToken = &v return s } -// Represents the response to list devices. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevicesResponse -type ListDevicesOutput struct { +// SetUserPoolId sets the UserPoolId field's value. +func (s *ListUsersInGroupInput) SetUserPoolId(v string) *ListUsersInGroupInput { + s.UserPoolId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroupResponse +type ListUsersInGroupOutput struct { _ struct{} `type:"structure"` - // The devices returned in the list devices response. - Devices []*DeviceType `type:"list"` + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextToken *string `min:"1" type:"string"` - // The pagination token for the list device response. - PaginationToken *string `min:"1" type:"string"` + // The users returned in the request to list users. + Users []*UserType `type:"list"` } // String returns the string representation -func (s ListDevicesOutput) String() string { +func (s ListUsersInGroupOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListDevicesOutput) GoString() string { +func (s ListUsersInGroupOutput) GoString() string { return s.String() } -// SetDevices sets the Devices field's value. -func (s *ListDevicesOutput) SetDevices(v []*DeviceType) *ListDevicesOutput { - s.Devices = v +// SetNextToken sets the NextToken field's value. +func (s *ListUsersInGroupOutput) SetNextToken(v string) *ListUsersInGroupOutput { + s.NextToken = &v return s } -// SetPaginationToken sets the PaginationToken field's value. -func (s *ListDevicesOutput) SetPaginationToken(v string) *ListDevicesOutput { - s.PaginationToken = &v +// SetUsers sets the Users field's value. +func (s *ListUsersInGroupOutput) SetUsers(v []*UserType) *ListUsersInGroupOutput { + s.Users = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroupsRequest -type ListGroupsInput struct { +// Represents the request to list users. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersRequest +type ListUsersInput struct { _ struct{} `type:"structure"` - // The limit of the request to list groups. + // An array of strings, where each string is the name of a user attribute to + // be returned for each user in the search results. If the array is null, all + // attributes are returned. + AttributesToGet []*string `type:"list"` + + // A filter string of the form "AttributeNameFilter-Type "AttributeValue"". + // Quotation marks within the filter string must be escaped using the backslash + // (\) character. For example, "family_name = \"Reddy\"". + // + // * AttributeName: The name of the attribute to search for. You can only + // search for one attribute at a time. + // + // * Filter-Type: For an exact match, use =, for example, "given_name = \"Jon\"". + // For a prefix ("starts with") match, use ^=, for example, "given_name ^= + // \"Jon\"". + // + // * AttributeValue: The attribute value that must be matched for each user. + // + // If the filter string is empty, ListUsers returns all users in the user pool. + // + // You can only search for the following standard attributes: + // + // * username (case-sensitive) + // + // * email + // + // * phone_number + // + // * name + // + // * given_name + // + // * family_name + // + // * preferred_username + // + // * cognito:user_status (called Enabled in the Console) (case-sensitive) + // + // * status (case-insensitive) + // + // * sub + // + // Custom attributes are not searchable. + // + // For more information, see Searching for Users Using the ListUsers API (http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-using-listusers-api) + // and Examples of Using the ListUsers API (http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-listusers-api-examples) + // in the Amazon Cognito Developer Guide. + Filter *string `type:"string"` + + // Maximum number of users to be returned. Limit *int64 `type:"integer"` // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. - NextToken *string `min:"1" type:"string"` + PaginationToken *string `min:"1" type:"string"` - // The user pool ID for the user pool. + // The user pool ID for the user pool on which the search should be performed. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s ListGroupsInput) String() string { +func (s ListUsersInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListGroupsInput) GoString() string { +func (s ListUsersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListGroupsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListGroupsInput"} - if s.NextToken != nil && len(*s.NextToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) +func (s *ListUsersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListUsersInput"} + if s.PaginationToken != nil && len(*s.PaginationToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PaginationToken", 1)) } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) @@ -15849,98 +19332,98 @@ func (s *ListGroupsInput) Validate() error { return nil } +// SetAttributesToGet sets the AttributesToGet field's value. +func (s *ListUsersInput) SetAttributesToGet(v []*string) *ListUsersInput { + s.AttributesToGet = v + return s +} + +// SetFilter sets the Filter field's value. +func (s *ListUsersInput) SetFilter(v string) *ListUsersInput { + s.Filter = &v + return s +} + // SetLimit sets the Limit field's value. -func (s *ListGroupsInput) SetLimit(v int64) *ListGroupsInput { +func (s *ListUsersInput) SetLimit(v int64) *ListUsersInput { s.Limit = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput { - s.NextToken = &v +// SetPaginationToken sets the PaginationToken field's value. +func (s *ListUsersInput) SetPaginationToken(v string) *ListUsersInput { + s.PaginationToken = &v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *ListGroupsInput) SetUserPoolId(v string) *ListGroupsInput { +func (s *ListUsersInput) SetUserPoolId(v string) *ListUsersInput { s.UserPoolId = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroupsResponse -type ListGroupsOutput struct { +// The response from the request to list users. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersResponse +type ListUsersOutput struct { _ struct{} `type:"structure"` - // The group objects for the groups. - Groups []*GroupType `type:"list"` - // An identifier that was returned from the previous call to this operation, // which can be used to return the next set of items in the list. - NextToken *string `min:"1" type:"string"` + PaginationToken *string `min:"1" type:"string"` + + // The users returned in the request to list users. + Users []*UserType `type:"list"` } // String returns the string representation -func (s ListGroupsOutput) String() string { +func (s ListUsersOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListGroupsOutput) GoString() string { +func (s ListUsersOutput) GoString() string { return s.String() } -// SetGroups sets the Groups field's value. -func (s *ListGroupsOutput) SetGroups(v []*GroupType) *ListGroupsOutput { - s.Groups = v +// SetPaginationToken sets the PaginationToken field's value. +func (s *ListUsersOutput) SetPaginationToken(v string) *ListUsersOutput { + s.PaginationToken = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput { - s.NextToken = &v +// SetUsers sets the Users field's value. +func (s *ListUsersOutput) SetUsers(v []*UserType) *ListUsersOutput { + s.Users = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProvidersRequest -type ListIdentityProvidersInput struct { +// Specifies the different settings for multi-factor authentication (MFA). +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/MFAOptionType +type MFAOptionType struct { _ struct{} `type:"structure"` - // The maximum number of identity providers to return. - MaxResults *int64 `min:"1" type:"integer"` - - // A pagination token. - NextToken *string `min:"1" type:"string"` + // The attribute name of the MFA option type. + AttributeName *string `min:"1" type:"string"` - // The user pool ID. - // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // The delivery medium (email message or SMS message) to send the MFA code. + DeliveryMedium *string `type:"string" enum:"DeliveryMediumType"` } // String returns the string representation -func (s ListIdentityProvidersInput) String() string { +func (s MFAOptionType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListIdentityProvidersInput) GoString() string { +func (s MFAOptionType) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListIdentityProvidersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListIdentityProvidersInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.NextToken != nil && len(*s.NextToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) - } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) - } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) +func (s *MFAOptionType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MFAOptionType"} + if s.AttributeName != nil && len(*s.AttributeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AttributeName", 1)) } if invalidParams.Len() > 0 { @@ -15949,99 +19432,54 @@ func (s *ListIdentityProvidersInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListIdentityProvidersInput) SetMaxResults(v int64) *ListIdentityProvidersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIdentityProvidersInput) SetNextToken(v string) *ListIdentityProvidersInput { - s.NextToken = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *ListIdentityProvidersInput) SetUserPoolId(v string) *ListIdentityProvidersInput { - s.UserPoolId = &v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProvidersResponse -type ListIdentityProvidersOutput struct { - _ struct{} `type:"structure"` - - // A pagination token. - NextToken *string `min:"1" type:"string"` - - // A list of identity provider objects. - // - // Providers is a required field - Providers []*ProviderDescription `type:"list" required:"true"` -} - -// String returns the string representation -func (s ListIdentityProvidersOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListIdentityProvidersOutput) GoString() string { - return s.String() -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIdentityProvidersOutput) SetNextToken(v string) *ListIdentityProvidersOutput { - s.NextToken = &v +// SetAttributeName sets the AttributeName field's value. +func (s *MFAOptionType) SetAttributeName(v string) *MFAOptionType { + s.AttributeName = &v return s } -// SetProviders sets the Providers field's value. -func (s *ListIdentityProvidersOutput) SetProviders(v []*ProviderDescription) *ListIdentityProvidersOutput { - s.Providers = v +// SetDeliveryMedium sets the DeliveryMedium field's value. +func (s *MFAOptionType) SetDeliveryMedium(v string) *MFAOptionType { + s.DeliveryMedium = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListResourceServersRequest -type ListResourceServersInput struct { +// The message template structure. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/MessageTemplateType +type MessageTemplateType struct { _ struct{} `type:"structure"` - // The maximum number of resource servers to return. - MaxResults *int64 `min:"1" type:"integer"` + // The message template for email messages. + EmailMessage *string `min:"6" type:"string"` - // A pagination token. - NextToken *string `min:"1" type:"string"` + // The subject line for email messages. + EmailSubject *string `min:"1" type:"string"` - // The user pool ID for the user pool. - // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // The message template for SMS messages. + SMSMessage *string `min:"6" type:"string"` } // String returns the string representation -func (s ListResourceServersInput) String() string { +func (s MessageTemplateType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListResourceServersInput) GoString() string { +func (s MessageTemplateType) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListResourceServersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListResourceServersInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.NextToken != nil && len(*s.NextToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) +func (s *MessageTemplateType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MessageTemplateType"} + if s.EmailMessage != nil && len(*s.EmailMessage) < 6 { + invalidParams.Add(request.NewErrParamMinLen("EmailMessage", 6)) } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + if s.EmailSubject != nil && len(*s.EmailSubject) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EmailSubject", 1)) } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.SMSMessage != nil && len(*s.SMSMessage) < 6 { + invalidParams.Add(request.NewErrParamMinLen("SMSMessage", 6)) } if invalidParams.Len() > 0 { @@ -16050,106 +19488,122 @@ func (s *ListResourceServersInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListResourceServersInput) SetMaxResults(v int64) *ListResourceServersInput { - s.MaxResults = &v +// SetEmailMessage sets the EmailMessage field's value. +func (s *MessageTemplateType) SetEmailMessage(v string) *MessageTemplateType { + s.EmailMessage = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListResourceServersInput) SetNextToken(v string) *ListResourceServersInput { - s.NextToken = &v +// SetEmailSubject sets the EmailSubject field's value. +func (s *MessageTemplateType) SetEmailSubject(v string) *MessageTemplateType { + s.EmailSubject = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *ListResourceServersInput) SetUserPoolId(v string) *ListResourceServersInput { - s.UserPoolId = &v +// SetSMSMessage sets the SMSMessage field's value. +func (s *MessageTemplateType) SetSMSMessage(v string) *MessageTemplateType { + s.SMSMessage = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListResourceServersResponse -type ListResourceServersOutput struct { +// The new device metadata type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/NewDeviceMetadataType +type NewDeviceMetadataType struct { _ struct{} `type:"structure"` - // A pagination token. - NextToken *string `min:"1" type:"string"` + // The device group key. + DeviceGroupKey *string `type:"string"` - // The resource servers. - // - // ResourceServers is a required field - ResourceServers []*ResourceServerType `type:"list" required:"true"` + // The device key. + DeviceKey *string `min:"1" type:"string"` } // String returns the string representation -func (s ListResourceServersOutput) String() string { +func (s NewDeviceMetadataType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListResourceServersOutput) GoString() string { +func (s NewDeviceMetadataType) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListResourceServersOutput) SetNextToken(v string) *ListResourceServersOutput { - s.NextToken = &v +// SetDeviceGroupKey sets the DeviceGroupKey field's value. +func (s *NewDeviceMetadataType) SetDeviceGroupKey(v string) *NewDeviceMetadataType { + s.DeviceGroupKey = &v return s } -// SetResourceServers sets the ResourceServers field's value. -func (s *ListResourceServersOutput) SetResourceServers(v []*ResourceServerType) *ListResourceServersOutput { - s.ResourceServers = v +// SetDeviceKey sets the DeviceKey field's value. +func (s *NewDeviceMetadataType) SetDeviceKey(v string) *NewDeviceMetadataType { + s.DeviceKey = &v return s } -// Represents the request to list the user import jobs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobsRequest -type ListUserImportJobsInput struct { +// The notify configuration type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/NotifyConfigurationType +type NotifyConfigurationType struct { _ struct{} `type:"structure"` - // The maximum number of import jobs you want the request to return. - // - // MaxResults is a required field - MaxResults *int64 `min:"1" type:"integer" required:"true"` + // Email template used when a detected risk event is blocked. + BlockEmail *NotifyEmailType `type:"structure"` - // An identifier that was returned from the previous call to ListUserImportJobs, - // which can be used to return the next set of import jobs in the list. - PaginationToken *string `min:"1" type:"string"` + // The email address that is sending the email. It must be either individually + // verified with Amazon SES, or from a domain that has been verified with Amazon + // SES. + From *string `type:"string"` - // The user pool ID for the user pool that the users are being imported into. + // The MFA email template used when MFA is challenged as part of a detected + // risk. + MfaEmail *NotifyEmailType `type:"structure"` + + // The email template used when a detected risk event is allowed. + NoActionEmail *NotifyEmailType `type:"structure"` + + // The destination to which the receiver of an email should reply to. + ReplyTo *string `type:"string"` + + // The Amazon Resource Name (ARN) of the identity that is associated with the + // sending authorization policy. It permits Amazon Cognito to send for the email + // address specified in the From parameter. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // SourceArn is a required field + SourceArn *string `min:"20" type:"string" required:"true"` } // String returns the string representation -func (s ListUserImportJobsInput) String() string { +func (s NotifyConfigurationType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListUserImportJobsInput) GoString() string { +func (s NotifyConfigurationType) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListUserImportJobsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListUserImportJobsInput"} - if s.MaxResults == nil { - invalidParams.Add(request.NewErrParamRequired("MaxResults")) +func (s *NotifyConfigurationType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NotifyConfigurationType"} + if s.SourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("SourceArn")) } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + if s.SourceArn != nil && len(*s.SourceArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("SourceArn", 20)) } - if s.PaginationToken != nil && len(*s.PaginationToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PaginationToken", 1)) + if s.BlockEmail != nil { + if err := s.BlockEmail.Validate(); err != nil { + invalidParams.AddNested("BlockEmail", err.(request.ErrInvalidParams)) + } } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + if s.MfaEmail != nil { + if err := s.MfaEmail.Validate(); err != nil { + invalidParams.AddNested("MfaEmail", err.(request.ErrInvalidParams)) + } } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.NoActionEmail != nil { + if err := s.NoActionEmail.Validate(); err != nil { + invalidParams.AddNested("NoActionEmail", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -16158,103 +19612,83 @@ func (s *ListUserImportJobsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListUserImportJobsInput) SetMaxResults(v int64) *ListUserImportJobsInput { - s.MaxResults = &v +// SetBlockEmail sets the BlockEmail field's value. +func (s *NotifyConfigurationType) SetBlockEmail(v *NotifyEmailType) *NotifyConfigurationType { + s.BlockEmail = v return s } -// SetPaginationToken sets the PaginationToken field's value. -func (s *ListUserImportJobsInput) SetPaginationToken(v string) *ListUserImportJobsInput { - s.PaginationToken = &v +// SetFrom sets the From field's value. +func (s *NotifyConfigurationType) SetFrom(v string) *NotifyConfigurationType { + s.From = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *ListUserImportJobsInput) SetUserPoolId(v string) *ListUserImportJobsInput { - s.UserPoolId = &v +// SetMfaEmail sets the MfaEmail field's value. +func (s *NotifyConfigurationType) SetMfaEmail(v *NotifyEmailType) *NotifyConfigurationType { + s.MfaEmail = v return s } -// Represents the response from the server to the request to list the user import -// jobs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobsResponse -type ListUserImportJobsOutput struct { - _ struct{} `type:"structure"` - - // An identifier that can be used to return the next set of user import jobs - // in the list. - PaginationToken *string `min:"1" type:"string"` - - // The user import jobs. - UserImportJobs []*UserImportJobType `min:"1" type:"list"` -} - -// String returns the string representation -func (s ListUserImportJobsOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListUserImportJobsOutput) GoString() string { - return s.String() +// SetNoActionEmail sets the NoActionEmail field's value. +func (s *NotifyConfigurationType) SetNoActionEmail(v *NotifyEmailType) *NotifyConfigurationType { + s.NoActionEmail = v + return s } -// SetPaginationToken sets the PaginationToken field's value. -func (s *ListUserImportJobsOutput) SetPaginationToken(v string) *ListUserImportJobsOutput { - s.PaginationToken = &v +// SetReplyTo sets the ReplyTo field's value. +func (s *NotifyConfigurationType) SetReplyTo(v string) *NotifyConfigurationType { + s.ReplyTo = &v return s } -// SetUserImportJobs sets the UserImportJobs field's value. -func (s *ListUserImportJobsOutput) SetUserImportJobs(v []*UserImportJobType) *ListUserImportJobsOutput { - s.UserImportJobs = v +// SetSourceArn sets the SourceArn field's value. +func (s *NotifyConfigurationType) SetSourceArn(v string) *NotifyConfigurationType { + s.SourceArn = &v return s } -// Represents the request to list the user pool clients. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClientsRequest -type ListUserPoolClientsInput struct { +// The notify email type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/NotifyEmailType +type NotifyEmailType struct { _ struct{} `type:"structure"` - // The maximum number of results you want the request to return when listing - // the user pool clients. - MaxResults *int64 `min:"1" type:"integer"` - - // An identifier that was returned from the previous call to this operation, - // which can be used to return the next set of items in the list. - NextToken *string `min:"1" type:"string"` + // The HTML body. + HtmlBody *string `min:"6" type:"string"` - // The user pool ID for the user pool where you want to list user pool clients. + // The subject. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // Subject is a required field + Subject *string `min:"1" type:"string" required:"true"` + + // The text body. + TextBody *string `min:"6" type:"string"` } // String returns the string representation -func (s ListUserPoolClientsInput) String() string { +func (s NotifyEmailType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListUserPoolClientsInput) GoString() string { +func (s NotifyEmailType) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListUserPoolClientsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListUserPoolClientsInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *NotifyEmailType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NotifyEmailType"} + if s.HtmlBody != nil && len(*s.HtmlBody) < 6 { + invalidParams.Add(request.NewErrParamMinLen("HtmlBody", 6)) } - if s.NextToken != nil && len(*s.NextToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + if s.Subject == nil { + invalidParams.Add(request.NewErrParamRequired("Subject")) } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + if s.Subject != nil && len(*s.Subject) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Subject", 1)) } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.TextBody != nil && len(*s.TextBody) < 6 { + invalidParams.Add(request.NewErrParamMinLen("TextBody", 6)) } if invalidParams.Len() > 0 { @@ -16263,96 +19697,100 @@ func (s *ListUserPoolClientsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListUserPoolClientsInput) SetMaxResults(v int64) *ListUserPoolClientsInput { - s.MaxResults = &v +// SetHtmlBody sets the HtmlBody field's value. +func (s *NotifyEmailType) SetHtmlBody(v string) *NotifyEmailType { + s.HtmlBody = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListUserPoolClientsInput) SetNextToken(v string) *ListUserPoolClientsInput { - s.NextToken = &v +// SetSubject sets the Subject field's value. +func (s *NotifyEmailType) SetSubject(v string) *NotifyEmailType { + s.Subject = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *ListUserPoolClientsInput) SetUserPoolId(v string) *ListUserPoolClientsInput { - s.UserPoolId = &v +// SetTextBody sets the TextBody field's value. +func (s *NotifyEmailType) SetTextBody(v string) *NotifyEmailType { + s.TextBody = &v return s } -// Represents the response from the server that lists user pool clients. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClientsResponse -type ListUserPoolClientsOutput struct { +// The minimum and maximum value of an attribute that is of the number data +// type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/NumberAttributeConstraintsType +type NumberAttributeConstraintsType struct { _ struct{} `type:"structure"` - // An identifier that was returned from the previous call to this operation, - // which can be used to return the next set of items in the list. - NextToken *string `min:"1" type:"string"` + // The maximum value of an attribute that is of the number data type. + MaxValue *string `type:"string"` - // The user pool clients in the response that lists user pool clients. - UserPoolClients []*UserPoolClientDescription `type:"list"` + // The minimum value of an attribute that is of the number data type. + MinValue *string `type:"string"` } // String returns the string representation -func (s ListUserPoolClientsOutput) String() string { +func (s NumberAttributeConstraintsType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListUserPoolClientsOutput) GoString() string { +func (s NumberAttributeConstraintsType) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListUserPoolClientsOutput) SetNextToken(v string) *ListUserPoolClientsOutput { - s.NextToken = &v +// SetMaxValue sets the MaxValue field's value. +func (s *NumberAttributeConstraintsType) SetMaxValue(v string) *NumberAttributeConstraintsType { + s.MaxValue = &v return s } -// SetUserPoolClients sets the UserPoolClients field's value. -func (s *ListUserPoolClientsOutput) SetUserPoolClients(v []*UserPoolClientDescription) *ListUserPoolClientsOutput { - s.UserPoolClients = v +// SetMinValue sets the MinValue field's value. +func (s *NumberAttributeConstraintsType) SetMinValue(v string) *NumberAttributeConstraintsType { + s.MinValue = &v return s } -// Represents the request to list user pools. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolsRequest -type ListUserPoolsInput struct { +// The password policy type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/PasswordPolicyType +type PasswordPolicyType struct { _ struct{} `type:"structure"` - // The maximum number of results you want the request to return when listing - // the user pools. - // - // MaxResults is a required field - MaxResults *int64 `min:"1" type:"integer" required:"true"` + // The minimum length of the password policy that you have set. Cannot be less + // than 6. + MinimumLength *int64 `min:"6" type:"integer"` - // An identifier that was returned from the previous call to this operation, - // which can be used to return the next set of items in the list. - NextToken *string `min:"1" type:"string"` + // In the password policy that you have set, refers to whether you have required + // users to use at least one lowercase letter in their password. + RequireLowercase *bool `type:"boolean"` + + // In the password policy that you have set, refers to whether you have required + // users to use at least one number in their password. + RequireNumbers *bool `type:"boolean"` + + // In the password policy that you have set, refers to whether you have required + // users to use at least one symbol in their password. + RequireSymbols *bool `type:"boolean"` + + // In the password policy that you have set, refers to whether you have required + // users to use at least one uppercase letter in their password. + RequireUppercase *bool `type:"boolean"` } // String returns the string representation -func (s ListUserPoolsInput) String() string { +func (s PasswordPolicyType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListUserPoolsInput) GoString() string { +func (s PasswordPolicyType) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListUserPoolsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListUserPoolsInput"} - if s.MaxResults == nil { - invalidParams.Add(request.NewErrParamRequired("MaxResults")) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.NextToken != nil && len(*s.NextToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) +func (s *PasswordPolicyType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PasswordPolicyType"} + if s.MinimumLength != nil && *s.MinimumLength < 6 { + invalidParams.Add(request.NewErrParamMinValue("MinimumLength", 6)) } if invalidParams.Len() > 0 { @@ -16361,254 +19799,200 @@ func (s *ListUserPoolsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListUserPoolsInput) SetMaxResults(v int64) *ListUserPoolsInput { - s.MaxResults = &v +// SetMinimumLength sets the MinimumLength field's value. +func (s *PasswordPolicyType) SetMinimumLength(v int64) *PasswordPolicyType { + s.MinimumLength = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListUserPoolsInput) SetNextToken(v string) *ListUserPoolsInput { - s.NextToken = &v +// SetRequireLowercase sets the RequireLowercase field's value. +func (s *PasswordPolicyType) SetRequireLowercase(v bool) *PasswordPolicyType { + s.RequireLowercase = &v return s } -// Represents the response to list user pools. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolsResponse -type ListUserPoolsOutput struct { - _ struct{} `type:"structure"` - - // An identifier that was returned from the previous call to this operation, - // which can be used to return the next set of items in the list. - NextToken *string `min:"1" type:"string"` - - // The user pools from the response to list users. - UserPools []*UserPoolDescriptionType `type:"list"` -} - -// String returns the string representation -func (s ListUserPoolsOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListUserPoolsOutput) GoString() string { - return s.String() +// SetRequireNumbers sets the RequireNumbers field's value. +func (s *PasswordPolicyType) SetRequireNumbers(v bool) *PasswordPolicyType { + s.RequireNumbers = &v + return s } -// SetNextToken sets the NextToken field's value. -func (s *ListUserPoolsOutput) SetNextToken(v string) *ListUserPoolsOutput { - s.NextToken = &v +// SetRequireSymbols sets the RequireSymbols field's value. +func (s *PasswordPolicyType) SetRequireSymbols(v bool) *PasswordPolicyType { + s.RequireSymbols = &v return s } -// SetUserPools sets the UserPools field's value. -func (s *ListUserPoolsOutput) SetUserPools(v []*UserPoolDescriptionType) *ListUserPoolsOutput { - s.UserPools = v +// SetRequireUppercase sets the RequireUppercase field's value. +func (s *PasswordPolicyType) SetRequireUppercase(v bool) *PasswordPolicyType { + s.RequireUppercase = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroupRequest -type ListUsersInGroupInput struct { +// A container for identity provider details. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ProviderDescription +type ProviderDescription struct { _ struct{} `type:"structure"` - // The name of the group. - // - // GroupName is a required field - GroupName *string `min:"1" type:"string" required:"true"` + // The date the provider was added to the user pool. + CreationDate *time.Time `type:"timestamp" timestampFormat:"unix"` - // The limit of the request to list users. - Limit *int64 `type:"integer"` + // The date the provider was last modified. + LastModifiedDate *time.Time `type:"timestamp" timestampFormat:"unix"` - // An identifier that was returned from the previous call to this operation, - // which can be used to return the next set of items in the list. - NextToken *string `min:"1" type:"string"` + // The identity provider name. + ProviderName *string `min:"1" type:"string"` - // The user pool ID for the user pool. - // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // The identity provider type. + ProviderType *string `type:"string" enum:"IdentityProviderTypeType"` } // String returns the string representation -func (s ListUsersInGroupInput) String() string { +func (s ProviderDescription) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListUsersInGroupInput) GoString() string { +func (s ProviderDescription) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListUsersInGroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListUsersInGroupInput"} - if s.GroupName == nil { - invalidParams.Add(request.NewErrParamRequired("GroupName")) - } - if s.GroupName != nil && len(*s.GroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupName", 1)) - } - if s.NextToken != nil && len(*s.NextToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) - } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) - } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetGroupName sets the GroupName field's value. -func (s *ListUsersInGroupInput) SetGroupName(v string) *ListUsersInGroupInput { - s.GroupName = &v +// SetCreationDate sets the CreationDate field's value. +func (s *ProviderDescription) SetCreationDate(v time.Time) *ProviderDescription { + s.CreationDate = &v return s } -// SetLimit sets the Limit field's value. -func (s *ListUsersInGroupInput) SetLimit(v int64) *ListUsersInGroupInput { - s.Limit = &v +// SetLastModifiedDate sets the LastModifiedDate field's value. +func (s *ProviderDescription) SetLastModifiedDate(v time.Time) *ProviderDescription { + s.LastModifiedDate = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListUsersInGroupInput) SetNextToken(v string) *ListUsersInGroupInput { - s.NextToken = &v +// SetProviderName sets the ProviderName field's value. +func (s *ProviderDescription) SetProviderName(v string) *ProviderDescription { + s.ProviderName = &v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *ListUsersInGroupInput) SetUserPoolId(v string) *ListUsersInGroupInput { - s.UserPoolId = &v +// SetProviderType sets the ProviderType field's value. +func (s *ProviderDescription) SetProviderType(v string) *ProviderDescription { + s.ProviderType = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroupResponse -type ListUsersInGroupOutput struct { +// A container for information about an identity provider for a user pool. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ProviderUserIdentifierType +type ProviderUserIdentifierType struct { _ struct{} `type:"structure"` - // An identifier that was returned from the previous call to this operation, - // which can be used to return the next set of items in the list. - NextToken *string `min:"1" type:"string"` + // The name of the provider attribute to link to, for example, NameID. + ProviderAttributeName *string `type:"string"` - // The users returned in the request to list users. - Users []*UserType `type:"list"` + // The value of the provider attribute to link to, for example, xxxxx_account. + ProviderAttributeValue *string `type:"string"` + + // The name of the provider, for example, Facebook, Google, or Login with Amazon. + ProviderName *string `min:"1" type:"string"` } // String returns the string representation -func (s ListUsersInGroupOutput) String() string { +func (s ProviderUserIdentifierType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListUsersInGroupOutput) GoString() string { +func (s ProviderUserIdentifierType) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListUsersInGroupOutput) SetNextToken(v string) *ListUsersInGroupOutput { - s.NextToken = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ProviderUserIdentifierType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ProviderUserIdentifierType"} + if s.ProviderName != nil && len(*s.ProviderName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProviderName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetProviderAttributeName sets the ProviderAttributeName field's value. +func (s *ProviderUserIdentifierType) SetProviderAttributeName(v string) *ProviderUserIdentifierType { + s.ProviderAttributeName = &v return s } -// SetUsers sets the Users field's value. -func (s *ListUsersInGroupOutput) SetUsers(v []*UserType) *ListUsersInGroupOutput { - s.Users = v +// SetProviderAttributeValue sets the ProviderAttributeValue field's value. +func (s *ProviderUserIdentifierType) SetProviderAttributeValue(v string) *ProviderUserIdentifierType { + s.ProviderAttributeValue = &v return s } -// Represents the request to list users. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersRequest -type ListUsersInput struct { +// SetProviderName sets the ProviderName field's value. +func (s *ProviderUserIdentifierType) SetProviderName(v string) *ProviderUserIdentifierType { + s.ProviderName = &v + return s +} + +// Represents the request to resend the confirmation code. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCodeRequest +type ResendConfirmationCodeInput struct { _ struct{} `type:"structure"` - // An array of strings, where each string is the name of a user attribute to - // be returned for each user in the search results. If the array is empty, all - // attributes are returned. - AttributesToGet []*string `type:"list"` + // The Amazon Pinpoint analytics metadata for collecting metrics for ResendConfirmationCode + // calls. + AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` - // A filter string of the form "AttributeNameFilter-Type "AttributeValue"". - // Quotation marks within the filter string must be escaped using the backslash - // (\) character. For example, "family_name = \"Reddy\"". - // - // * AttributeName: The name of the attribute to search for. You can only - // search for one attribute at a time. - // - // * Filter-Type: For an exact match, use =, for example, "given_name = \"Jon\"". - // For a prefix ("starts with") match, use ^=, for example, "given_name ^= - // \"Jon\"". - // - // * AttributeValue: The attribute value that must be matched for each user. - // - // If the filter string is empty, ListUsers returns all users in the user pool. - // - // You can only search for the following standard attributes: - // - // * username (case-sensitive) - // - // * email - // - // * phone_number - // - // * name - // - // * given_name - // - // * family_name - // - // * preferred_username - // - // * cognito:user_status (called Enabled in the Console) (case-sensitive) - // - // * status (case-insensitive) - // - // Custom attributes are not searchable. + // The ID of the client associated with the user pool. // - // For more information, see Searching for Users Using the ListUsers API (http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-using-listusers-api) - // and Examples of Using the ListUsers API (http://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-listusers-api-examples) - // in the Amazon Cognito Developer Guide. - Filter *string `type:"string"` + // ClientId is a required field + ClientId *string `min:"1" type:"string" required:"true"` - // Maximum number of users to be returned. - Limit *int64 `type:"integer"` + // A keyed-hash message authentication code (HMAC) calculated using the secret + // key of a user pool client and username plus the client ID in the message. + SecretHash *string `min:"1" type:"string"` - // An identifier that was returned from the previous call to this operation, - // which can be used to return the next set of items in the list. - PaginationToken *string `min:"1" type:"string"` + // Contextual data such as the user's device fingerprint, IP address, or location + // used for evaluating the risk of an unexpected event by Amazon Cognito advanced + // security. + UserContextData *UserContextDataType `type:"structure"` - // The user pool ID for the user pool on which the search should be performed. + // The user name of the user to whom you wish to resend a confirmation code. // - // UserPoolId is a required field - UserPoolId *string `min:"1" type:"string" required:"true"` + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s ListUsersInput) String() string { +func (s ResendConfirmationCodeInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListUsersInput) GoString() string { +func (s ResendConfirmationCodeInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListUsersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListUsersInput"} - if s.PaginationToken != nil && len(*s.PaginationToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PaginationToken", 1)) +func (s *ResendConfirmationCodeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ResendConfirmationCodeInput"} + if s.ClientId == nil { + invalidParams.Add(request.NewErrParamRequired("ClientId")) } - if s.UserPoolId == nil { - invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + if s.ClientId != nil && len(*s.ClientId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) } - if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + if s.SecretHash != nil && len(*s.SecretHash) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SecretHash", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) } if invalidParams.Len() > 0 { @@ -16617,98 +20001,103 @@ func (s *ListUsersInput) Validate() error { return nil } -// SetAttributesToGet sets the AttributesToGet field's value. -func (s *ListUsersInput) SetAttributesToGet(v []*string) *ListUsersInput { - s.AttributesToGet = v +// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. +func (s *ResendConfirmationCodeInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ResendConfirmationCodeInput { + s.AnalyticsMetadata = v return s } -// SetFilter sets the Filter field's value. -func (s *ListUsersInput) SetFilter(v string) *ListUsersInput { - s.Filter = &v +// SetClientId sets the ClientId field's value. +func (s *ResendConfirmationCodeInput) SetClientId(v string) *ResendConfirmationCodeInput { + s.ClientId = &v return s } -// SetLimit sets the Limit field's value. -func (s *ListUsersInput) SetLimit(v int64) *ListUsersInput { - s.Limit = &v +// SetSecretHash sets the SecretHash field's value. +func (s *ResendConfirmationCodeInput) SetSecretHash(v string) *ResendConfirmationCodeInput { + s.SecretHash = &v return s } -// SetPaginationToken sets the PaginationToken field's value. -func (s *ListUsersInput) SetPaginationToken(v string) *ListUsersInput { - s.PaginationToken = &v +// SetUserContextData sets the UserContextData field's value. +func (s *ResendConfirmationCodeInput) SetUserContextData(v *UserContextDataType) *ResendConfirmationCodeInput { + s.UserContextData = v return s } -// SetUserPoolId sets the UserPoolId field's value. -func (s *ListUsersInput) SetUserPoolId(v string) *ListUsersInput { - s.UserPoolId = &v +// SetUsername sets the Username field's value. +func (s *ResendConfirmationCodeInput) SetUsername(v string) *ResendConfirmationCodeInput { + s.Username = &v return s } -// The response from the request to list users. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersResponse -type ListUsersOutput struct { +// The response from the server when the Amazon Cognito Your User Pools service +// makes the request to resend a confirmation code. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCodeResponse +type ResendConfirmationCodeOutput struct { _ struct{} `type:"structure"` - // An identifier that was returned from the previous call to this operation, - // which can be used to return the next set of items in the list. - PaginationToken *string `min:"1" type:"string"` - - // The users returned in the request to list users. - Users []*UserType `type:"list"` + // The code delivery details returned by the server in response to the request + // to resend the confirmation code. + CodeDeliveryDetails *CodeDeliveryDetailsType `type:"structure"` } // String returns the string representation -func (s ListUsersOutput) String() string { +func (s ResendConfirmationCodeOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListUsersOutput) GoString() string { +func (s ResendConfirmationCodeOutput) GoString() string { return s.String() } -// SetPaginationToken sets the PaginationToken field's value. -func (s *ListUsersOutput) SetPaginationToken(v string) *ListUsersOutput { - s.PaginationToken = &v - return s -} - -// SetUsers sets the Users field's value. -func (s *ListUsersOutput) SetUsers(v []*UserType) *ListUsersOutput { - s.Users = v +// SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value. +func (s *ResendConfirmationCodeOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *ResendConfirmationCodeOutput { + s.CodeDeliveryDetails = v return s } -// Specifies the different settings for multi-factor authentication (MFA). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/MFAOptionType -type MFAOptionType struct { +// A resource server scope. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResourceServerScopeType +type ResourceServerScopeType struct { _ struct{} `type:"structure"` - // The attribute name of the MFA option type. - AttributeName *string `min:"1" type:"string"` + // A description of the scope. + // + // ScopeDescription is a required field + ScopeDescription *string `min:"1" type:"string" required:"true"` - // The delivery medium (email message or SMS message) to send the MFA code. - DeliveryMedium *string `type:"string" enum:"DeliveryMediumType"` + // The name of the scope. + // + // ScopeName is a required field + ScopeName *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s MFAOptionType) String() string { +func (s ResourceServerScopeType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s MFAOptionType) GoString() string { +func (s ResourceServerScopeType) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *MFAOptionType) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MFAOptionType"} - if s.AttributeName != nil && len(*s.AttributeName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AttributeName", 1)) +func (s *ResourceServerScopeType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ResourceServerScopeType"} + if s.ScopeDescription == nil { + invalidParams.Add(request.NewErrParamRequired("ScopeDescription")) + } + if s.ScopeDescription != nil && len(*s.ScopeDescription) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ScopeDescription", 1)) + } + if s.ScopeName == nil { + invalidParams.Add(request.NewErrParamRequired("ScopeName")) + } + if s.ScopeName != nil && len(*s.ScopeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ScopeName", 1)) } if invalidParams.Len() > 0 { @@ -16717,383 +20106,430 @@ func (s *MFAOptionType) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *MFAOptionType) SetAttributeName(v string) *MFAOptionType { - s.AttributeName = &v +// SetScopeDescription sets the ScopeDescription field's value. +func (s *ResourceServerScopeType) SetScopeDescription(v string) *ResourceServerScopeType { + s.ScopeDescription = &v return s } -// SetDeliveryMedium sets the DeliveryMedium field's value. -func (s *MFAOptionType) SetDeliveryMedium(v string) *MFAOptionType { - s.DeliveryMedium = &v +// SetScopeName sets the ScopeName field's value. +func (s *ResourceServerScopeType) SetScopeName(v string) *ResourceServerScopeType { + s.ScopeName = &v return s } -// The message template structure. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/MessageTemplateType -type MessageTemplateType struct { +// A container for information about a resource server for a user pool. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResourceServerType +type ResourceServerType struct { _ struct{} `type:"structure"` - // The message template for email messages. - EmailMessage *string `min:"6" type:"string"` + // The identifier for the resource server. + Identifier *string `min:"1" type:"string"` - // The subject line for email messages. - EmailSubject *string `min:"1" type:"string"` + // The name of the resource server. + Name *string `min:"1" type:"string"` - // The message template for SMS messages. - SMSMessage *string `min:"6" type:"string"` + // A list of scopes that are defined for the resource server. + Scopes []*ResourceServerScopeType `type:"list"` + + // The user pool ID for the user pool that hosts the resource server. + UserPoolId *string `min:"1" type:"string"` } // String returns the string representation -func (s MessageTemplateType) String() string { +func (s ResourceServerType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s MessageTemplateType) GoString() string { +func (s ResourceServerType) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *MessageTemplateType) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MessageTemplateType"} - if s.EmailMessage != nil && len(*s.EmailMessage) < 6 { - invalidParams.Add(request.NewErrParamMinLen("EmailMessage", 6)) - } - if s.EmailSubject != nil && len(*s.EmailSubject) < 1 { - invalidParams.Add(request.NewErrParamMinLen("EmailSubject", 1)) - } - if s.SMSMessage != nil && len(*s.SMSMessage) < 6 { - invalidParams.Add(request.NewErrParamMinLen("SMSMessage", 6)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetIdentifier sets the Identifier field's value. +func (s *ResourceServerType) SetIdentifier(v string) *ResourceServerType { + s.Identifier = &v + return s } -// SetEmailMessage sets the EmailMessage field's value. -func (s *MessageTemplateType) SetEmailMessage(v string) *MessageTemplateType { - s.EmailMessage = &v +// SetName sets the Name field's value. +func (s *ResourceServerType) SetName(v string) *ResourceServerType { + s.Name = &v return s } -// SetEmailSubject sets the EmailSubject field's value. -func (s *MessageTemplateType) SetEmailSubject(v string) *MessageTemplateType { - s.EmailSubject = &v +// SetScopes sets the Scopes field's value. +func (s *ResourceServerType) SetScopes(v []*ResourceServerScopeType) *ResourceServerType { + s.Scopes = v return s } -// SetSMSMessage sets the SMSMessage field's value. -func (s *MessageTemplateType) SetSMSMessage(v string) *MessageTemplateType { - s.SMSMessage = &v +// SetUserPoolId sets the UserPoolId field's value. +func (s *ResourceServerType) SetUserPoolId(v string) *ResourceServerType { + s.UserPoolId = &v return s } -// The new device metadata type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/NewDeviceMetadataType -type NewDeviceMetadataType struct { +// The request to respond to an authentication challenge. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallengeRequest +type RespondToAuthChallengeInput struct { _ struct{} `type:"structure"` - // The device group key. - DeviceGroupKey *string `type:"string"` + // The Amazon Pinpoint analytics metadata for collecting metrics for RespondToAuthChallenge + // calls. + AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` - // The device key. - DeviceKey *string `min:"1" type:"string"` + // The challenge name. For more information, see . + // + // ADMIN_NO_SRP_AUTH is not a valid value. + // + // ChallengeName is a required field + ChallengeName *string `type:"string" required:"true" enum:"ChallengeNameType"` + + // The challenge responses. These are inputs corresponding to the value of ChallengeName, + // for example: + // + // * SMS_MFA: SMS_MFA_CODE, USERNAME, SECRET_HASH (if app client is configured + // with client secret). + // + // * PASSWORD_VERIFIER: PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, + // TIMESTAMP, USERNAME, SECRET_HASH (if app client is configured with client + // secret). + // + // * NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other required attributes, + // USERNAME, SECRET_HASH (if app client is configured with client secret). + ChallengeResponses map[string]*string `type:"map"` + + // The app client ID. + // + // ClientId is a required field + ClientId *string `min:"1" type:"string" required:"true"` + + // The session which should be passed both ways in challenge-response calls + // to the service. If InitiateAuth or RespondToAuthChallenge API call determines + // that the caller needs to go through another challenge, they return a session + // with other challenge parameters. This session should be passed as it is to + // the next RespondToAuthChallenge API call. + Session *string `min:"20" type:"string"` + + // Contextual data such as the user's device fingerprint, IP address, or location + // used for evaluating the risk of an unexpected event by Amazon Cognito advanced + // security. + UserContextData *UserContextDataType `type:"structure"` } // String returns the string representation -func (s NewDeviceMetadataType) String() string { +func (s RespondToAuthChallengeInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s NewDeviceMetadataType) GoString() string { +func (s RespondToAuthChallengeInput) GoString() string { return s.String() } -// SetDeviceGroupKey sets the DeviceGroupKey field's value. -func (s *NewDeviceMetadataType) SetDeviceGroupKey(v string) *NewDeviceMetadataType { - s.DeviceGroupKey = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *RespondToAuthChallengeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RespondToAuthChallengeInput"} + if s.ChallengeName == nil { + invalidParams.Add(request.NewErrParamRequired("ChallengeName")) + } + if s.ClientId == nil { + invalidParams.Add(request.NewErrParamRequired("ClientId")) + } + if s.ClientId != nil && len(*s.ClientId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) + } + if s.Session != nil && len(*s.Session) < 20 { + invalidParams.Add(request.NewErrParamMinLen("Session", 20)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetDeviceKey sets the DeviceKey field's value. -func (s *NewDeviceMetadataType) SetDeviceKey(v string) *NewDeviceMetadataType { - s.DeviceKey = &v +// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. +func (s *RespondToAuthChallengeInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *RespondToAuthChallengeInput { + s.AnalyticsMetadata = v return s } -// The minimum and maximum value of an attribute that is of the number data -// type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/NumberAttributeConstraintsType -type NumberAttributeConstraintsType struct { - _ struct{} `type:"structure"` - - // The maximum value of an attribute that is of the number data type. - MaxValue *string `type:"string"` - - // The minimum value of an attribute that is of the number data type. - MinValue *string `type:"string"` +// SetChallengeName sets the ChallengeName field's value. +func (s *RespondToAuthChallengeInput) SetChallengeName(v string) *RespondToAuthChallengeInput { + s.ChallengeName = &v + return s } -// String returns the string representation -func (s NumberAttributeConstraintsType) String() string { - return awsutil.Prettify(s) +// SetChallengeResponses sets the ChallengeResponses field's value. +func (s *RespondToAuthChallengeInput) SetChallengeResponses(v map[string]*string) *RespondToAuthChallengeInput { + s.ChallengeResponses = v + return s } -// GoString returns the string representation -func (s NumberAttributeConstraintsType) GoString() string { - return s.String() +// SetClientId sets the ClientId field's value. +func (s *RespondToAuthChallengeInput) SetClientId(v string) *RespondToAuthChallengeInput { + s.ClientId = &v + return s } -// SetMaxValue sets the MaxValue field's value. -func (s *NumberAttributeConstraintsType) SetMaxValue(v string) *NumberAttributeConstraintsType { - s.MaxValue = &v +// SetSession sets the Session field's value. +func (s *RespondToAuthChallengeInput) SetSession(v string) *RespondToAuthChallengeInput { + s.Session = &v return s } -// SetMinValue sets the MinValue field's value. -func (s *NumberAttributeConstraintsType) SetMinValue(v string) *NumberAttributeConstraintsType { - s.MinValue = &v +// SetUserContextData sets the UserContextData field's value. +func (s *RespondToAuthChallengeInput) SetUserContextData(v *UserContextDataType) *RespondToAuthChallengeInput { + s.UserContextData = v return s } -// The password policy type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/PasswordPolicyType -type PasswordPolicyType struct { +// The response to respond to the authentication challenge. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallengeResponse +type RespondToAuthChallengeOutput struct { _ struct{} `type:"structure"` - // The minimum length of the password policy that you have set. Cannot be less - // than 6. - MinimumLength *int64 `min:"6" type:"integer"` - - // In the password policy that you have set, refers to whether you have required - // users to use at least one lowercase letter in their password. - RequireLowercase *bool `type:"boolean"` - - // In the password policy that you have set, refers to whether you have required - // users to use at least one number in their password. - RequireNumbers *bool `type:"boolean"` + // The result returned by the server in response to the request to respond to + // the authentication challenge. + AuthenticationResult *AuthenticationResultType `type:"structure"` - // In the password policy that you have set, refers to whether you have required - // users to use at least one symbol in their password. - RequireSymbols *bool `type:"boolean"` + // The challenge name. For more information, see . + ChallengeName *string `type:"string" enum:"ChallengeNameType"` - // In the password policy that you have set, refers to whether you have required - // users to use at least one uppercase letter in their password. - RequireUppercase *bool `type:"boolean"` + // The challenge parameters. For more information, see . + ChallengeParameters map[string]*string `type:"map"` + + // The session which should be passed both ways in challenge-response calls + // to the service. If the or API call determines that the caller needs to go + // through another challenge, they return a session with other challenge parameters. + // This session should be passed as it is to the next RespondToAuthChallenge + // API call. + Session *string `min:"20" type:"string"` } // String returns the string representation -func (s PasswordPolicyType) String() string { +func (s RespondToAuthChallengeOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s PasswordPolicyType) GoString() string { +func (s RespondToAuthChallengeOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *PasswordPolicyType) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "PasswordPolicyType"} - if s.MinimumLength != nil && *s.MinimumLength < 6 { - invalidParams.Add(request.NewErrParamMinValue("MinimumLength", 6)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetMinimumLength sets the MinimumLength field's value. -func (s *PasswordPolicyType) SetMinimumLength(v int64) *PasswordPolicyType { - s.MinimumLength = &v - return s -} - -// SetRequireLowercase sets the RequireLowercase field's value. -func (s *PasswordPolicyType) SetRequireLowercase(v bool) *PasswordPolicyType { - s.RequireLowercase = &v +// SetAuthenticationResult sets the AuthenticationResult field's value. +func (s *RespondToAuthChallengeOutput) SetAuthenticationResult(v *AuthenticationResultType) *RespondToAuthChallengeOutput { + s.AuthenticationResult = v return s } -// SetRequireNumbers sets the RequireNumbers field's value. -func (s *PasswordPolicyType) SetRequireNumbers(v bool) *PasswordPolicyType { - s.RequireNumbers = &v +// SetChallengeName sets the ChallengeName field's value. +func (s *RespondToAuthChallengeOutput) SetChallengeName(v string) *RespondToAuthChallengeOutput { + s.ChallengeName = &v return s } -// SetRequireSymbols sets the RequireSymbols field's value. -func (s *PasswordPolicyType) SetRequireSymbols(v bool) *PasswordPolicyType { - s.RequireSymbols = &v +// SetChallengeParameters sets the ChallengeParameters field's value. +func (s *RespondToAuthChallengeOutput) SetChallengeParameters(v map[string]*string) *RespondToAuthChallengeOutput { + s.ChallengeParameters = v return s } -// SetRequireUppercase sets the RequireUppercase field's value. -func (s *PasswordPolicyType) SetRequireUppercase(v bool) *PasswordPolicyType { - s.RequireUppercase = &v +// SetSession sets the Session field's value. +func (s *RespondToAuthChallengeOutput) SetSession(v string) *RespondToAuthChallengeOutput { + s.Session = &v return s } -// A container for identity provider details. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ProviderDescription -type ProviderDescription struct { +// The risk configuration type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RiskConfigurationType +type RiskConfigurationType struct { _ struct{} `type:"structure"` - // The date the provider was added to the user pool. - CreationDate *time.Time `type:"timestamp" timestampFormat:"unix"` + // The account takeover risk configuration object including the NotifyConfiguration + // object and Actions to take in the case of an account takeover. + AccountTakeoverRiskConfiguration *AccountTakeoverRiskConfigurationType `type:"structure"` - // The date the provider was last modified. + // The app client ID. + ClientId *string `min:"1" type:"string"` + + // The compromised credentials risk configuration object including the EventFilter + // and the EventAction + CompromisedCredentialsRiskConfiguration *CompromisedCredentialsRiskConfigurationType `type:"structure"` + + // The last modified date. LastModifiedDate *time.Time `type:"timestamp" timestampFormat:"unix"` - // The identity provider name. - ProviderName *string `min:"1" type:"string"` + // The configuration to override the risk decision. + RiskExceptionConfiguration *RiskExceptionConfigurationType `type:"structure"` - // The identity provider type. - ProviderType *string `type:"string" enum:"IdentityProviderTypeType"` + // The user pool ID. + UserPoolId *string `min:"1" type:"string"` } // String returns the string representation -func (s ProviderDescription) String() string { +func (s RiskConfigurationType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ProviderDescription) GoString() string { +func (s RiskConfigurationType) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *ProviderDescription) SetCreationDate(v time.Time) *ProviderDescription { - s.CreationDate = &v +// SetAccountTakeoverRiskConfiguration sets the AccountTakeoverRiskConfiguration field's value. +func (s *RiskConfigurationType) SetAccountTakeoverRiskConfiguration(v *AccountTakeoverRiskConfigurationType) *RiskConfigurationType { + s.AccountTakeoverRiskConfiguration = v + return s +} + +// SetClientId sets the ClientId field's value. +func (s *RiskConfigurationType) SetClientId(v string) *RiskConfigurationType { + s.ClientId = &v + return s +} + +// SetCompromisedCredentialsRiskConfiguration sets the CompromisedCredentialsRiskConfiguration field's value. +func (s *RiskConfigurationType) SetCompromisedCredentialsRiskConfiguration(v *CompromisedCredentialsRiskConfigurationType) *RiskConfigurationType { + s.CompromisedCredentialsRiskConfiguration = v return s } // SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *ProviderDescription) SetLastModifiedDate(v time.Time) *ProviderDescription { +func (s *RiskConfigurationType) SetLastModifiedDate(v time.Time) *RiskConfigurationType { s.LastModifiedDate = &v return s } -// SetProviderName sets the ProviderName field's value. -func (s *ProviderDescription) SetProviderName(v string) *ProviderDescription { - s.ProviderName = &v +// SetRiskExceptionConfiguration sets the RiskExceptionConfiguration field's value. +func (s *RiskConfigurationType) SetRiskExceptionConfiguration(v *RiskExceptionConfigurationType) *RiskConfigurationType { + s.RiskExceptionConfiguration = v return s } -// SetProviderType sets the ProviderType field's value. -func (s *ProviderDescription) SetProviderType(v string) *ProviderDescription { - s.ProviderType = &v +// SetUserPoolId sets the UserPoolId field's value. +func (s *RiskConfigurationType) SetUserPoolId(v string) *RiskConfigurationType { + s.UserPoolId = &v return s } -// A container for information about an identity provider for a user pool. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ProviderUserIdentifierType -type ProviderUserIdentifierType struct { +// The type of the configuration to override the risk decision. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RiskExceptionConfigurationType +type RiskExceptionConfigurationType struct { _ struct{} `type:"structure"` - // The name of the provider attribute to link to, for example, NameID. - ProviderAttributeName *string `type:"string"` - - // The value of the provider attribute to link to, for example, xxxxx_account. - ProviderAttributeValue *string `type:"string"` + // Overrides the risk decision to always block the pre-authentication requests. + // The IP range is in CIDR notation: a compact representation of an IP address + // and its associated routing prefix. + BlockedIPRangeList []*string `type:"list"` - // The name of the provider, for example, Facebook, Google, or Login with Amazon. - ProviderName *string `min:"1" type:"string"` + // Risk detection is not performed on the IP addresses in the range list. The + // IP range is in CIDR notation. + SkippedIPRangeList []*string `type:"list"` } // String returns the string representation -func (s ProviderUserIdentifierType) String() string { +func (s RiskExceptionConfigurationType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ProviderUserIdentifierType) GoString() string { +func (s RiskExceptionConfigurationType) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ProviderUserIdentifierType) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ProviderUserIdentifierType"} - if s.ProviderName != nil && len(*s.ProviderName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ProviderName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetBlockedIPRangeList sets the BlockedIPRangeList field's value. +func (s *RiskExceptionConfigurationType) SetBlockedIPRangeList(v []*string) *RiskExceptionConfigurationType { + s.BlockedIPRangeList = v + return s } -// SetProviderAttributeName sets the ProviderAttributeName field's value. -func (s *ProviderUserIdentifierType) SetProviderAttributeName(v string) *ProviderUserIdentifierType { - s.ProviderAttributeName = &v +// SetSkippedIPRangeList sets the SkippedIPRangeList field's value. +func (s *RiskExceptionConfigurationType) SetSkippedIPRangeList(v []*string) *RiskExceptionConfigurationType { + s.SkippedIPRangeList = v return s } -// SetProviderAttributeValue sets the ProviderAttributeValue field's value. -func (s *ProviderUserIdentifierType) SetProviderAttributeValue(v string) *ProviderUserIdentifierType { - s.ProviderAttributeValue = &v +// The SMS multi-factor authentication (MFA) settings type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SMSMfaSettingsType +type SMSMfaSettingsType struct { + _ struct{} `type:"structure"` + + // Specifies whether SMS text message MFA is enabled. + Enabled *bool `type:"boolean"` + + // The preferred MFA method. + PreferredMfa *bool `type:"boolean"` +} + +// String returns the string representation +func (s SMSMfaSettingsType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SMSMfaSettingsType) GoString() string { + return s.String() +} + +// SetEnabled sets the Enabled field's value. +func (s *SMSMfaSettingsType) SetEnabled(v bool) *SMSMfaSettingsType { + s.Enabled = &v return s } -// SetProviderName sets the ProviderName field's value. -func (s *ProviderUserIdentifierType) SetProviderName(v string) *ProviderUserIdentifierType { - s.ProviderName = &v +// SetPreferredMfa sets the PreferredMfa field's value. +func (s *SMSMfaSettingsType) SetPreferredMfa(v bool) *SMSMfaSettingsType { + s.PreferredMfa = &v return s } -// Represents the request to resend the confirmation code. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCodeRequest -type ResendConfirmationCodeInput struct { +// Contains information about the schema attribute. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SchemaAttributeType +type SchemaAttributeType struct { _ struct{} `type:"structure"` - // The ID of the client associated with the user pool. - // - // ClientId is a required field - ClientId *string `min:"1" type:"string" required:"true"` + // The attribute data type. + AttributeDataType *string `type:"string" enum:"AttributeDataType"` - // A keyed-hash message authentication code (HMAC) calculated using the secret - // key of a user pool client and username plus the client ID in the message. - SecretHash *string `min:"1" type:"string"` + // Specifies whether the attribute type is developer only. + DeveloperOnlyAttribute *bool `type:"boolean"` - // The user name of the user to whom you wish to resend a confirmation code. - // - // Username is a required field - Username *string `min:"1" type:"string" required:"true"` + // Specifies whether the attribute can be changed once it has been created. + Mutable *bool `type:"boolean"` + + // A schema attribute of the name type. + Name *string `min:"1" type:"string"` + + // Specifies the constraints for an attribute of the number type. + NumberAttributeConstraints *NumberAttributeConstraintsType `type:"structure"` + + // Specifies whether a user pool attribute is required. If the attribute is + // required and the user does not provide a value, registration or sign-in will + // fail. + Required *bool `type:"boolean"` + + // Specifies the constraints for an attribute of the string type. + StringAttributeConstraints *StringAttributeConstraintsType `type:"structure"` } // String returns the string representation -func (s ResendConfirmationCodeInput) String() string { +func (s SchemaAttributeType) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ResendConfirmationCodeInput) GoString() string { +func (s SchemaAttributeType) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ResendConfirmationCodeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ResendConfirmationCodeInput"} - if s.ClientId == nil { - invalidParams.Add(request.NewErrParamRequired("ClientId")) - } - if s.ClientId != nil && len(*s.ClientId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) - } - if s.SecretHash != nil && len(*s.SecretHash) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SecretHash", 1)) - } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) - } - if s.Username != nil && len(*s.Username) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Username", 1)) +func (s *SchemaAttributeType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SchemaAttributeType"} + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } if invalidParams.Len() > 0 { @@ -17102,91 +20538,107 @@ func (s *ResendConfirmationCodeInput) Validate() error { return nil } -// SetClientId sets the ClientId field's value. -func (s *ResendConfirmationCodeInput) SetClientId(v string) *ResendConfirmationCodeInput { - s.ClientId = &v +// SetAttributeDataType sets the AttributeDataType field's value. +func (s *SchemaAttributeType) SetAttributeDataType(v string) *SchemaAttributeType { + s.AttributeDataType = &v return s } -// SetSecretHash sets the SecretHash field's value. -func (s *ResendConfirmationCodeInput) SetSecretHash(v string) *ResendConfirmationCodeInput { - s.SecretHash = &v +// SetDeveloperOnlyAttribute sets the DeveloperOnlyAttribute field's value. +func (s *SchemaAttributeType) SetDeveloperOnlyAttribute(v bool) *SchemaAttributeType { + s.DeveloperOnlyAttribute = &v return s } -// SetUsername sets the Username field's value. -func (s *ResendConfirmationCodeInput) SetUsername(v string) *ResendConfirmationCodeInput { - s.Username = &v +// SetMutable sets the Mutable field's value. +func (s *SchemaAttributeType) SetMutable(v bool) *SchemaAttributeType { + s.Mutable = &v return s } -// The response from the server when the Amazon Cognito Your User Pools service -// makes the request to resend a confirmation code. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCodeResponse -type ResendConfirmationCodeOutput struct { - _ struct{} `type:"structure"` - - // The code delivery details returned by the server in response to the request - // to resend the confirmation code. - CodeDeliveryDetails *CodeDeliveryDetailsType `type:"structure"` +// SetName sets the Name field's value. +func (s *SchemaAttributeType) SetName(v string) *SchemaAttributeType { + s.Name = &v + return s } -// String returns the string representation -func (s ResendConfirmationCodeOutput) String() string { - return awsutil.Prettify(s) +// SetNumberAttributeConstraints sets the NumberAttributeConstraints field's value. +func (s *SchemaAttributeType) SetNumberAttributeConstraints(v *NumberAttributeConstraintsType) *SchemaAttributeType { + s.NumberAttributeConstraints = v + return s } -// GoString returns the string representation -func (s ResendConfirmationCodeOutput) GoString() string { - return s.String() +// SetRequired sets the Required field's value. +func (s *SchemaAttributeType) SetRequired(v bool) *SchemaAttributeType { + s.Required = &v + return s } -// SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value. -func (s *ResendConfirmationCodeOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *ResendConfirmationCodeOutput { - s.CodeDeliveryDetails = v +// SetStringAttributeConstraints sets the StringAttributeConstraints field's value. +func (s *SchemaAttributeType) SetStringAttributeConstraints(v *StringAttributeConstraintsType) *SchemaAttributeType { + s.StringAttributeConstraints = v return s } -// A resource server scope. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResourceServerScopeType -type ResourceServerScopeType struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetRiskConfigurationRequest +type SetRiskConfigurationInput struct { _ struct{} `type:"structure"` - // A description of the scope. - // - // ScopeDescription is a required field - ScopeDescription *string `min:"1" type:"string" required:"true"` + // The account takeover risk configuration. + AccountTakeoverRiskConfiguration *AccountTakeoverRiskConfigurationType `type:"structure"` + + // The app client ID. If ClientId is null, then the risk configuration is mapped + // to userPoolId. When the client ID is null, the same risk configuration is + // applied to all the clients in the userPool. + // + // Otherwise, ClientId is mapped to the client. When the client ID is not null, + // the user pool configuration is overridden and the risk configuration for + // the client is used instead. + ClientId *string `min:"1" type:"string"` + + // The compromised credentials risk configuration. + CompromisedCredentialsRiskConfiguration *CompromisedCredentialsRiskConfigurationType `type:"structure"` + + // The configuration to override the risk decision. + RiskExceptionConfiguration *RiskExceptionConfigurationType `type:"structure"` - // The name of the scope. + // The user pool ID. // - // ScopeName is a required field - ScopeName *string `min:"1" type:"string" required:"true"` + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s ResourceServerScopeType) String() string { +func (s SetRiskConfigurationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ResourceServerScopeType) GoString() string { +func (s SetRiskConfigurationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ResourceServerScopeType) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ResourceServerScopeType"} - if s.ScopeDescription == nil { - invalidParams.Add(request.NewErrParamRequired("ScopeDescription")) +func (s *SetRiskConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SetRiskConfigurationInput"} + if s.ClientId != nil && len(*s.ClientId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) } - if s.ScopeDescription != nil && len(*s.ScopeDescription) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ScopeDescription", 1)) + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) } - if s.ScopeName == nil { - invalidParams.Add(request.NewErrParamRequired("ScopeName")) + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } - if s.ScopeName != nil && len(*s.ScopeName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ScopeName", 1)) + if s.AccountTakeoverRiskConfiguration != nil { + if err := s.AccountTakeoverRiskConfiguration.Validate(); err != nil { + invalidParams.AddNested("AccountTakeoverRiskConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.CompromisedCredentialsRiskConfiguration != nil { + if err := s.CompromisedCredentialsRiskConfiguration.Validate(); err != nil { + invalidParams.AddNested("CompromisedCredentialsRiskConfiguration", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -17195,133 +20647,104 @@ func (s *ResourceServerScopeType) Validate() error { return nil } -// SetScopeDescription sets the ScopeDescription field's value. -func (s *ResourceServerScopeType) SetScopeDescription(v string) *ResourceServerScopeType { - s.ScopeDescription = &v +// SetAccountTakeoverRiskConfiguration sets the AccountTakeoverRiskConfiguration field's value. +func (s *SetRiskConfigurationInput) SetAccountTakeoverRiskConfiguration(v *AccountTakeoverRiskConfigurationType) *SetRiskConfigurationInput { + s.AccountTakeoverRiskConfiguration = v return s } -// SetScopeName sets the ScopeName field's value. -func (s *ResourceServerScopeType) SetScopeName(v string) *ResourceServerScopeType { - s.ScopeName = &v +// SetClientId sets the ClientId field's value. +func (s *SetRiskConfigurationInput) SetClientId(v string) *SetRiskConfigurationInput { + s.ClientId = &v return s } -// A container for information about a resource server for a user pool. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResourceServerType -type ResourceServerType struct { - _ struct{} `type:"structure"` +// SetCompromisedCredentialsRiskConfiguration sets the CompromisedCredentialsRiskConfiguration field's value. +func (s *SetRiskConfigurationInput) SetCompromisedCredentialsRiskConfiguration(v *CompromisedCredentialsRiskConfigurationType) *SetRiskConfigurationInput { + s.CompromisedCredentialsRiskConfiguration = v + return s +} - // The identifier for the resource server. - Identifier *string `min:"1" type:"string"` +// SetRiskExceptionConfiguration sets the RiskExceptionConfiguration field's value. +func (s *SetRiskConfigurationInput) SetRiskExceptionConfiguration(v *RiskExceptionConfigurationType) *SetRiskConfigurationInput { + s.RiskExceptionConfiguration = v + return s +} - // The name of the resource server. - Name *string `min:"1" type:"string"` +// SetUserPoolId sets the UserPoolId field's value. +func (s *SetRiskConfigurationInput) SetUserPoolId(v string) *SetRiskConfigurationInput { + s.UserPoolId = &v + return s +} - // A list of scopes that are defined for the resource server. - Scopes []*ResourceServerScopeType `type:"list"` +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetRiskConfigurationResponse +type SetRiskConfigurationOutput struct { + _ struct{} `type:"structure"` - // The user pool ID for the user pool that hosts the resource server. - UserPoolId *string `min:"1" type:"string"` + // The risk configuration. + // + // RiskConfiguration is a required field + RiskConfiguration *RiskConfigurationType `type:"structure" required:"true"` } // String returns the string representation -func (s ResourceServerType) String() string { +func (s SetRiskConfigurationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ResourceServerType) GoString() string { +func (s SetRiskConfigurationOutput) GoString() string { return s.String() } -// SetIdentifier sets the Identifier field's value. -func (s *ResourceServerType) SetIdentifier(v string) *ResourceServerType { - s.Identifier = &v - return s -} - -// SetName sets the Name field's value. -func (s *ResourceServerType) SetName(v string) *ResourceServerType { - s.Name = &v - return s -} - -// SetScopes sets the Scopes field's value. -func (s *ResourceServerType) SetScopes(v []*ResourceServerScopeType) *ResourceServerType { - s.Scopes = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *ResourceServerType) SetUserPoolId(v string) *ResourceServerType { - s.UserPoolId = &v +// SetRiskConfiguration sets the RiskConfiguration field's value. +func (s *SetRiskConfigurationOutput) SetRiskConfiguration(v *RiskConfigurationType) *SetRiskConfigurationOutput { + s.RiskConfiguration = v return s } -// The request to respond to an authentication challenge. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallengeRequest -type RespondToAuthChallengeInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUICustomizationRequest +type SetUICustomizationInput struct { _ struct{} `type:"structure"` - // The challenge name. For more information, see InitiateAuth (API_InitiateAuth.html). - // - // ADMIN_NO_SRP_AUTH is not a valid value. - // - // ChallengeName is a required field - ChallengeName *string `type:"string" required:"true" enum:"ChallengeNameType"` + // The CSS values in the UI customization. + CSS *string `type:"string"` - // The challenge responses. These are inputs corresponding to the value of ChallengeName, - // for example: - // - // * SMS_MFA: SMS_MFA_CODE, USERNAME, SECRET_HASH (if app client is configured - // with client secret). - // - // * PASSWORD_VERIFIER: PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, - // TIMESTAMP, USERNAME, SECRET_HASH (if app client is configured with client - // secret). - // - // * NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other required attributes, - // USERNAME, SECRET_HASH (if app client is configured with client secret). - ChallengeResponses map[string]*string `type:"map"` + // The client ID for the client app. + ClientId *string `min:"1" type:"string"` - // The app client ID. + // The uploaded logo image for the UI customization. // - // ClientId is a required field - ClientId *string `min:"1" type:"string" required:"true"` + // ImageFile is automatically base64 encoded/decoded by the SDK. + ImageFile []byte `type:"blob"` - // The session which should be passed both ways in challenge-response calls - // to the service. If InitiateAuth or RespondToAuthChallenge API call determines - // that the caller needs to go through another challenge, they return a session - // with other challenge parameters. This session should be passed as it is to - // the next RespondToAuthChallenge API call. - Session *string `min:"20" type:"string"` + // The user pool ID for the user pool. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s RespondToAuthChallengeInput) String() string { +func (s SetUICustomizationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RespondToAuthChallengeInput) GoString() string { +func (s SetUICustomizationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RespondToAuthChallengeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RespondToAuthChallengeInput"} - if s.ChallengeName == nil { - invalidParams.Add(request.NewErrParamRequired("ChallengeName")) - } - if s.ClientId == nil { - invalidParams.Add(request.NewErrParamRequired("ClientId")) - } +func (s *SetUICustomizationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SetUICustomizationInput"} if s.ClientId != nil && len(*s.ClientId) < 1 { invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) } - if s.Session != nil && len(*s.Session) < 20 { - invalidParams.Add(request.NewErrParamMinLen("Session", 20)) + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } if invalidParams.Len() > 0 { @@ -17330,225 +20753,171 @@ func (s *RespondToAuthChallengeInput) Validate() error { return nil } -// SetChallengeName sets the ChallengeName field's value. -func (s *RespondToAuthChallengeInput) SetChallengeName(v string) *RespondToAuthChallengeInput { - s.ChallengeName = &v +// SetCSS sets the CSS field's value. +func (s *SetUICustomizationInput) SetCSS(v string) *SetUICustomizationInput { + s.CSS = &v return s } -// SetChallengeResponses sets the ChallengeResponses field's value. -func (s *RespondToAuthChallengeInput) SetChallengeResponses(v map[string]*string) *RespondToAuthChallengeInput { - s.ChallengeResponses = v +// SetClientId sets the ClientId field's value. +func (s *SetUICustomizationInput) SetClientId(v string) *SetUICustomizationInput { + s.ClientId = &v return s } -// SetClientId sets the ClientId field's value. -func (s *RespondToAuthChallengeInput) SetClientId(v string) *RespondToAuthChallengeInput { - s.ClientId = &v +// SetImageFile sets the ImageFile field's value. +func (s *SetUICustomizationInput) SetImageFile(v []byte) *SetUICustomizationInput { + s.ImageFile = v return s } -// SetSession sets the Session field's value. -func (s *RespondToAuthChallengeInput) SetSession(v string) *RespondToAuthChallengeInput { - s.Session = &v +// SetUserPoolId sets the UserPoolId field's value. +func (s *SetUICustomizationInput) SetUserPoolId(v string) *SetUICustomizationInput { + s.UserPoolId = &v return s } -// The response to respond to the authentication challenge. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallengeResponse -type RespondToAuthChallengeOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUICustomizationResponse +type SetUICustomizationOutput struct { _ struct{} `type:"structure"` - // The result returned by the server in response to the request to respond to - // the authentication challenge. - AuthenticationResult *AuthenticationResultType `type:"structure"` - - // The challenge name. For more information, see InitiateAuth (API_InitiateAuth.html). - ChallengeName *string `type:"string" enum:"ChallengeNameType"` - - // The challenge parameters. For more information, see InitiateAuth (API_InitiateAuth.html). - ChallengeParameters map[string]*string `type:"map"` - - // The session which should be passed both ways in challenge-response calls - // to the service. If the InitiateAuth (API_InitiateAuth.html) or RespondToAuthChallenge - // (API_RespondToAuthChallenge.html) API call determines that the caller needs - // to go through another challenge, they return a session with other challenge - // parameters. This session should be passed as it is to the next RespondToAuthChallenge - // API call. - Session *string `min:"20" type:"string"` + // The UI customization information. + // + // UICustomization is a required field + UICustomization *UICustomizationType `type:"structure" required:"true"` } // String returns the string representation -func (s RespondToAuthChallengeOutput) String() string { +func (s SetUICustomizationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RespondToAuthChallengeOutput) GoString() string { +func (s SetUICustomizationOutput) GoString() string { return s.String() } -// SetAuthenticationResult sets the AuthenticationResult field's value. -func (s *RespondToAuthChallengeOutput) SetAuthenticationResult(v *AuthenticationResultType) *RespondToAuthChallengeOutput { - s.AuthenticationResult = v - return s -} - -// SetChallengeName sets the ChallengeName field's value. -func (s *RespondToAuthChallengeOutput) SetChallengeName(v string) *RespondToAuthChallengeOutput { - s.ChallengeName = &v - return s -} - -// SetChallengeParameters sets the ChallengeParameters field's value. -func (s *RespondToAuthChallengeOutput) SetChallengeParameters(v map[string]*string) *RespondToAuthChallengeOutput { - s.ChallengeParameters = v - return s -} - -// SetSession sets the Session field's value. -func (s *RespondToAuthChallengeOutput) SetSession(v string) *RespondToAuthChallengeOutput { - s.Session = &v +// SetUICustomization sets the UICustomization field's value. +func (s *SetUICustomizationOutput) SetUICustomization(v *UICustomizationType) *SetUICustomizationOutput { + s.UICustomization = v return s } -// Contains information about the schema attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SchemaAttributeType -type SchemaAttributeType struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserMFAPreferenceRequest +type SetUserMFAPreferenceInput struct { _ struct{} `type:"structure"` - // The attribute data type. - AttributeDataType *string `type:"string" enum:"AttributeDataType"` - - // Specifies whether the attribute type is developer only. - DeveloperOnlyAttribute *bool `type:"boolean"` - - // Specifies whether the attribute can be changed once it has been created. - Mutable *bool `type:"boolean"` - - // A schema attribute of the name type. - Name *string `min:"1" type:"string"` - - // Specifies the constraints for an attribute of the number type. - NumberAttributeConstraints *NumberAttributeConstraintsType `type:"structure"` + // The access token. + // + // AccessToken is a required field + AccessToken *string `type:"string" required:"true"` - // Specifies whether a user pool attribute is required. If the attribute is - // required and the user does not provide a value, registration or sign-in will - // fail. - Required *bool `type:"boolean"` + // The SMS text message multi-factor authentication (MFA) settings. + SMSMfaSettings *SMSMfaSettingsType `type:"structure"` - // Specifies the constraints for an attribute of the string type. - StringAttributeConstraints *StringAttributeConstraintsType `type:"structure"` + // The time-based one-time password software token MFA settings. + SoftwareTokenMfaSettings *SoftwareTokenMfaSettingsType `type:"structure"` } // String returns the string representation -func (s SchemaAttributeType) String() string { +func (s SetUserMFAPreferenceInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SchemaAttributeType) GoString() string { +func (s SetUserMFAPreferenceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *SchemaAttributeType) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SchemaAttributeType"} - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) +func (s *SetUserMFAPreferenceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SetUserMFAPreferenceInput"} + if s.AccessToken == nil { + invalidParams.Add(request.NewErrParamRequired("AccessToken")) } if invalidParams.Len() > 0 { return invalidParams } - return nil -} - -// SetAttributeDataType sets the AttributeDataType field's value. -func (s *SchemaAttributeType) SetAttributeDataType(v string) *SchemaAttributeType { - s.AttributeDataType = &v - return s + return nil } -// SetDeveloperOnlyAttribute sets the DeveloperOnlyAttribute field's value. -func (s *SchemaAttributeType) SetDeveloperOnlyAttribute(v bool) *SchemaAttributeType { - s.DeveloperOnlyAttribute = &v +// SetAccessToken sets the AccessToken field's value. +func (s *SetUserMFAPreferenceInput) SetAccessToken(v string) *SetUserMFAPreferenceInput { + s.AccessToken = &v return s } -// SetMutable sets the Mutable field's value. -func (s *SchemaAttributeType) SetMutable(v bool) *SchemaAttributeType { - s.Mutable = &v +// SetSMSMfaSettings sets the SMSMfaSettings field's value. +func (s *SetUserMFAPreferenceInput) SetSMSMfaSettings(v *SMSMfaSettingsType) *SetUserMFAPreferenceInput { + s.SMSMfaSettings = v return s } -// SetName sets the Name field's value. -func (s *SchemaAttributeType) SetName(v string) *SchemaAttributeType { - s.Name = &v +// SetSoftwareTokenMfaSettings sets the SoftwareTokenMfaSettings field's value. +func (s *SetUserMFAPreferenceInput) SetSoftwareTokenMfaSettings(v *SoftwareTokenMfaSettingsType) *SetUserMFAPreferenceInput { + s.SoftwareTokenMfaSettings = v return s } -// SetNumberAttributeConstraints sets the NumberAttributeConstraints field's value. -func (s *SchemaAttributeType) SetNumberAttributeConstraints(v *NumberAttributeConstraintsType) *SchemaAttributeType { - s.NumberAttributeConstraints = v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserMFAPreferenceResponse +type SetUserMFAPreferenceOutput struct { + _ struct{} `type:"structure"` } -// SetRequired sets the Required field's value. -func (s *SchemaAttributeType) SetRequired(v bool) *SchemaAttributeType { - s.Required = &v - return s +// String returns the string representation +func (s SetUserMFAPreferenceOutput) String() string { + return awsutil.Prettify(s) } -// SetStringAttributeConstraints sets the StringAttributeConstraints field's value. -func (s *SchemaAttributeType) SetStringAttributeConstraints(v *StringAttributeConstraintsType) *SchemaAttributeType { - s.StringAttributeConstraints = v - return s +// GoString returns the string representation +func (s SetUserMFAPreferenceOutput) GoString() string { + return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUICustomizationRequest -type SetUICustomizationInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserPoolMfaConfigRequest +type SetUserPoolMfaConfigInput struct { _ struct{} `type:"structure"` - // The CSS values in the UI customization. - CSS *string `type:"string"` + // The MFA configuration. + MfaConfiguration *string `type:"string" enum:"UserPoolMfaType"` - // The client ID for the client app. - ClientId *string `min:"1" type:"string"` + // The SMS text message MFA configuration. + SmsMfaConfiguration *SmsMfaConfigType `type:"structure"` - // The uploaded logo image for the UI customization. - // - // ImageFile is automatically base64 encoded/decoded by the SDK. - ImageFile []byte `type:"blob"` + // The software token MFA configuration. + SoftwareTokenMfaConfiguration *SoftwareTokenMfaConfigType `type:"structure"` - // The user pool ID for the user pool. + // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s SetUICustomizationInput) String() string { +func (s SetUserPoolMfaConfigInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SetUICustomizationInput) GoString() string { +func (s SetUserPoolMfaConfigInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *SetUICustomizationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SetUICustomizationInput"} - if s.ClientId != nil && len(*s.ClientId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) - } +func (s *SetUserPoolMfaConfigInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SetUserPoolMfaConfigInput"} if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) } if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } + if s.SmsMfaConfiguration != nil { + if err := s.SmsMfaConfiguration.Validate(); err != nil { + invalidParams.AddNested("SmsMfaConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -17556,58 +20925,74 @@ func (s *SetUICustomizationInput) Validate() error { return nil } -// SetCSS sets the CSS field's value. -func (s *SetUICustomizationInput) SetCSS(v string) *SetUICustomizationInput { - s.CSS = &v +// SetMfaConfiguration sets the MfaConfiguration field's value. +func (s *SetUserPoolMfaConfigInput) SetMfaConfiguration(v string) *SetUserPoolMfaConfigInput { + s.MfaConfiguration = &v return s } -// SetClientId sets the ClientId field's value. -func (s *SetUICustomizationInput) SetClientId(v string) *SetUICustomizationInput { - s.ClientId = &v +// SetSmsMfaConfiguration sets the SmsMfaConfiguration field's value. +func (s *SetUserPoolMfaConfigInput) SetSmsMfaConfiguration(v *SmsMfaConfigType) *SetUserPoolMfaConfigInput { + s.SmsMfaConfiguration = v return s } -// SetImageFile sets the ImageFile field's value. -func (s *SetUICustomizationInput) SetImageFile(v []byte) *SetUICustomizationInput { - s.ImageFile = v +// SetSoftwareTokenMfaConfiguration sets the SoftwareTokenMfaConfiguration field's value. +func (s *SetUserPoolMfaConfigInput) SetSoftwareTokenMfaConfiguration(v *SoftwareTokenMfaConfigType) *SetUserPoolMfaConfigInput { + s.SoftwareTokenMfaConfiguration = v return s } // SetUserPoolId sets the UserPoolId field's value. -func (s *SetUICustomizationInput) SetUserPoolId(v string) *SetUICustomizationInput { +func (s *SetUserPoolMfaConfigInput) SetUserPoolId(v string) *SetUserPoolMfaConfigInput { s.UserPoolId = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUICustomizationResponse -type SetUICustomizationOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserPoolMfaConfigResponse +type SetUserPoolMfaConfigOutput struct { _ struct{} `type:"structure"` - // The UI customization information. - // - // UICustomization is a required field - UICustomization *UICustomizationType `type:"structure" required:"true"` + // The MFA configuration. + MfaConfiguration *string `type:"string" enum:"UserPoolMfaType"` + + // The SMS text message MFA configuration. + SmsMfaConfiguration *SmsMfaConfigType `type:"structure"` + + // The software token MFA configuration. + SoftwareTokenMfaConfiguration *SoftwareTokenMfaConfigType `type:"structure"` } // String returns the string representation -func (s SetUICustomizationOutput) String() string { +func (s SetUserPoolMfaConfigOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SetUICustomizationOutput) GoString() string { +func (s SetUserPoolMfaConfigOutput) GoString() string { return s.String() } -// SetUICustomization sets the UICustomization field's value. -func (s *SetUICustomizationOutput) SetUICustomization(v *UICustomizationType) *SetUICustomizationOutput { - s.UICustomization = v +// SetMfaConfiguration sets the MfaConfiguration field's value. +func (s *SetUserPoolMfaConfigOutput) SetMfaConfiguration(v string) *SetUserPoolMfaConfigOutput { + s.MfaConfiguration = &v + return s +} + +// SetSmsMfaConfiguration sets the SmsMfaConfiguration field's value. +func (s *SetUserPoolMfaConfigOutput) SetSmsMfaConfiguration(v *SmsMfaConfigType) *SetUserPoolMfaConfigOutput { + s.SmsMfaConfiguration = v + return s +} + +// SetSoftwareTokenMfaConfiguration sets the SoftwareTokenMfaConfiguration field's value. +func (s *SetUserPoolMfaConfigOutput) SetSoftwareTokenMfaConfiguration(v *SoftwareTokenMfaConfigType) *SetUserPoolMfaConfigOutput { + s.SoftwareTokenMfaConfiguration = v return s } // Represents the request to set user settings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettingsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettingsRequest type SetUserSettingsInput struct { _ struct{} `type:"structure"` @@ -17671,7 +21056,7 @@ func (s *SetUserSettingsInput) SetMFAOptions(v []*MFAOptionType) *SetUserSetting } // The response from the server for a set user settings request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettingsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettingsResponse type SetUserSettingsOutput struct { _ struct{} `type:"structure"` } @@ -17687,10 +21072,14 @@ func (s SetUserSettingsOutput) GoString() string { } // Represents the request to register a user. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignUpRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignUpRequest type SignUpInput struct { _ struct{} `type:"structure"` + // The Amazon Pinpoint analytics metadata for collecting metrics for SignUp + // calls. + AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` + // The ID of the client associated with the user pool. // // ClientId is a required field @@ -17711,6 +21100,11 @@ type SignUpInput struct { // name. UserAttributes []*AttributeType `type:"list"` + // Contextual data such as the user's device fingerprint, IP address, or location + // used for evaluating the risk of an unexpected event by Amazon Cognito advanced + // security. + UserContextData *UserContextDataType `type:"structure"` + // The user name of the user you wish to register. // // Username is a required field @@ -17781,6 +21175,12 @@ func (s *SignUpInput) Validate() error { return nil } +// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. +func (s *SignUpInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *SignUpInput { + s.AnalyticsMetadata = v + return s +} + // SetClientId sets the ClientId field's value. func (s *SignUpInput) SetClientId(v string) *SignUpInput { s.ClientId = &v @@ -17805,6 +21205,12 @@ func (s *SignUpInput) SetUserAttributes(v []*AttributeType) *SignUpInput { return s } +// SetUserContextData sets the UserContextData field's value. +func (s *SignUpInput) SetUserContextData(v *UserContextDataType) *SignUpInput { + s.UserContextData = v + return s +} + // SetUsername sets the Username field's value. func (s *SignUpInput) SetUsername(v string) *SignUpInput { s.Username = &v @@ -17818,7 +21224,7 @@ func (s *SignUpInput) SetValidationData(v []*AttributeType) *SignUpInput { } // The response from the server for a registration request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignUpResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignUpResponse type SignUpOutput struct { _ struct{} `type:"structure"` @@ -17866,7 +21272,7 @@ func (s *SignUpOutput) SetUserSub(v string) *SignUpOutput { } // The SMS configuration type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SmsConfigurationType +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SmsConfigurationType type SmsConfigurationType struct { _ struct{} `type:"structure"` @@ -17918,8 +21324,119 @@ func (s *SmsConfigurationType) SetSnsCallerArn(v string) *SmsConfigurationType { return s } +// The SMS text message multi-factor authentication (MFA) configuration type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SmsMfaConfigType +type SmsMfaConfigType struct { + _ struct{} `type:"structure"` + + // The SMS authentication message. + SmsAuthenticationMessage *string `min:"6" type:"string"` + + // The SMS configuration. + SmsConfiguration *SmsConfigurationType `type:"structure"` +} + +// String returns the string representation +func (s SmsMfaConfigType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SmsMfaConfigType) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SmsMfaConfigType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SmsMfaConfigType"} + if s.SmsAuthenticationMessage != nil && len(*s.SmsAuthenticationMessage) < 6 { + invalidParams.Add(request.NewErrParamMinLen("SmsAuthenticationMessage", 6)) + } + if s.SmsConfiguration != nil { + if err := s.SmsConfiguration.Validate(); err != nil { + invalidParams.AddNested("SmsConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value. +func (s *SmsMfaConfigType) SetSmsAuthenticationMessage(v string) *SmsMfaConfigType { + s.SmsAuthenticationMessage = &v + return s +} + +// SetSmsConfiguration sets the SmsConfiguration field's value. +func (s *SmsMfaConfigType) SetSmsConfiguration(v *SmsConfigurationType) *SmsMfaConfigType { + s.SmsConfiguration = v + return s +} + +// The type used for enabling software token MFA at the user pool level. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SoftwareTokenMfaConfigType +type SoftwareTokenMfaConfigType struct { + _ struct{} `type:"structure"` + + // Specifies whether software token MFA is enabled. + Enabled *bool `type:"boolean"` +} + +// String returns the string representation +func (s SoftwareTokenMfaConfigType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SoftwareTokenMfaConfigType) GoString() string { + return s.String() +} + +// SetEnabled sets the Enabled field's value. +func (s *SoftwareTokenMfaConfigType) SetEnabled(v bool) *SoftwareTokenMfaConfigType { + s.Enabled = &v + return s +} + +// The type used for enabling software token MFA at the user level. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SoftwareTokenMfaSettingsType +type SoftwareTokenMfaSettingsType struct { + _ struct{} `type:"structure"` + + // Specifies whether software token MFA is enabled. + Enabled *bool `type:"boolean"` + + // The preferred MFA method. + PreferredMfa *bool `type:"boolean"` +} + +// String returns the string representation +func (s SoftwareTokenMfaSettingsType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SoftwareTokenMfaSettingsType) GoString() string { + return s.String() +} + +// SetEnabled sets the Enabled field's value. +func (s *SoftwareTokenMfaSettingsType) SetEnabled(v bool) *SoftwareTokenMfaSettingsType { + s.Enabled = &v + return s +} + +// SetPreferredMfa sets the PreferredMfa field's value. +func (s *SoftwareTokenMfaSettingsType) SetPreferredMfa(v bool) *SoftwareTokenMfaSettingsType { + s.PreferredMfa = &v + return s +} + // Represents the request to start the user import job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJobRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJobRequest type StartUserImportJobInput struct { _ struct{} `type:"structure"` @@ -17980,7 +21497,7 @@ func (s *StartUserImportJobInput) SetUserPoolId(v string) *StartUserImportJobInp // Represents the response from the server to the request to start the user // import job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJobResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJobResponse type StartUserImportJobOutput struct { _ struct{} `type:"structure"` @@ -18005,7 +21522,7 @@ func (s *StartUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *Start } // Represents the request to stop the user import job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJobRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJobRequest type StopUserImportJobInput struct { _ struct{} `type:"structure"` @@ -18066,7 +21583,7 @@ func (s *StopUserImportJobInput) SetUserPoolId(v string) *StopUserImportJobInput // Represents the response from the server to the request to stop the user import // job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJobResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJobResponse type StopUserImportJobOutput struct { _ struct{} `type:"structure"` @@ -18090,15 +21607,15 @@ func (s *StopUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *StopUs return s } -// The type of constraints associated with an attribute of the string type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StringAttributeConstraintsType +// The constraints associated with a string attribute. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StringAttributeConstraintsType type StringAttributeConstraintsType struct { _ struct{} `type:"structure"` - // The maximum length of an attribute value of the string type. + // The maximum length. MaxLength *string `type:"string"` - // The minimum length of an attribute value of the string type. + // The minimum length. MinLength *string `type:"string"` } @@ -18126,7 +21643,7 @@ func (s *StringAttributeConstraintsType) SetMinLength(v string) *StringAttribute // A container for the UI customization information for a user pool's built-in // app UI. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UICustomizationType +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UICustomizationType type UICustomizationType struct { _ struct{} `type:"structure"` @@ -18152,60 +21669,179 @@ type UICustomizationType struct { UserPoolId *string `min:"1" type:"string"` } -// String returns the string representation -func (s UICustomizationType) String() string { - return awsutil.Prettify(s) +// String returns the string representation +func (s UICustomizationType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UICustomizationType) GoString() string { + return s.String() +} + +// SetCSS sets the CSS field's value. +func (s *UICustomizationType) SetCSS(v string) *UICustomizationType { + s.CSS = &v + return s +} + +// SetCSSVersion sets the CSSVersion field's value. +func (s *UICustomizationType) SetCSSVersion(v string) *UICustomizationType { + s.CSSVersion = &v + return s +} + +// SetClientId sets the ClientId field's value. +func (s *UICustomizationType) SetClientId(v string) *UICustomizationType { + s.ClientId = &v + return s +} + +// SetCreationDate sets the CreationDate field's value. +func (s *UICustomizationType) SetCreationDate(v time.Time) *UICustomizationType { + s.CreationDate = &v + return s +} + +// SetImageUrl sets the ImageUrl field's value. +func (s *UICustomizationType) SetImageUrl(v string) *UICustomizationType { + s.ImageUrl = &v + return s +} + +// SetLastModifiedDate sets the LastModifiedDate field's value. +func (s *UICustomizationType) SetLastModifiedDate(v time.Time) *UICustomizationType { + s.LastModifiedDate = &v + return s +} + +// SetUserPoolId sets the UserPoolId field's value. +func (s *UICustomizationType) SetUserPoolId(v string) *UICustomizationType { + s.UserPoolId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateAuthEventFeedbackRequest +type UpdateAuthEventFeedbackInput struct { + _ struct{} `type:"structure"` + + // The event ID. + // + // EventId is a required field + EventId *string `min:"1" type:"string" required:"true"` + + // The feedback token. + // + // FeedbackToken is a required field + FeedbackToken *string `type:"string" required:"true"` + + // The authentication event feedback value. + // + // FeedbackValue is a required field + FeedbackValue *string `type:"string" required:"true" enum:"FeedbackValueType"` + + // The user pool ID. + // + // UserPoolId is a required field + UserPoolId *string `min:"1" type:"string" required:"true"` + + // The user pool username. + // + // Username is a required field + Username *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateAuthEventFeedbackInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateAuthEventFeedbackInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateAuthEventFeedbackInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateAuthEventFeedbackInput"} + if s.EventId == nil { + invalidParams.Add(request.NewErrParamRequired("EventId")) + } + if s.EventId != nil && len(*s.EventId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EventId", 1)) + } + if s.FeedbackToken == nil { + invalidParams.Add(request.NewErrParamRequired("FeedbackToken")) + } + if s.FeedbackValue == nil { + invalidParams.Add(request.NewErrParamRequired("FeedbackValue")) + } + if s.UserPoolId == nil { + invalidParams.Add(request.NewErrParamRequired("UserPoolId")) + } + if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + if s.Username != nil && len(*s.Username) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Username", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// GoString returns the string representation -func (s UICustomizationType) GoString() string { - return s.String() +// SetEventId sets the EventId field's value. +func (s *UpdateAuthEventFeedbackInput) SetEventId(v string) *UpdateAuthEventFeedbackInput { + s.EventId = &v + return s } -// SetCSS sets the CSS field's value. -func (s *UICustomizationType) SetCSS(v string) *UICustomizationType { - s.CSS = &v +// SetFeedbackToken sets the FeedbackToken field's value. +func (s *UpdateAuthEventFeedbackInput) SetFeedbackToken(v string) *UpdateAuthEventFeedbackInput { + s.FeedbackToken = &v return s } -// SetCSSVersion sets the CSSVersion field's value. -func (s *UICustomizationType) SetCSSVersion(v string) *UICustomizationType { - s.CSSVersion = &v +// SetFeedbackValue sets the FeedbackValue field's value. +func (s *UpdateAuthEventFeedbackInput) SetFeedbackValue(v string) *UpdateAuthEventFeedbackInput { + s.FeedbackValue = &v return s } -// SetClientId sets the ClientId field's value. -func (s *UICustomizationType) SetClientId(v string) *UICustomizationType { - s.ClientId = &v +// SetUserPoolId sets the UserPoolId field's value. +func (s *UpdateAuthEventFeedbackInput) SetUserPoolId(v string) *UpdateAuthEventFeedbackInput { + s.UserPoolId = &v return s } -// SetCreationDate sets the CreationDate field's value. -func (s *UICustomizationType) SetCreationDate(v time.Time) *UICustomizationType { - s.CreationDate = &v +// SetUsername sets the Username field's value. +func (s *UpdateAuthEventFeedbackInput) SetUsername(v string) *UpdateAuthEventFeedbackInput { + s.Username = &v return s } -// SetImageUrl sets the ImageUrl field's value. -func (s *UICustomizationType) SetImageUrl(v string) *UICustomizationType { - s.ImageUrl = &v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateAuthEventFeedbackResponse +type UpdateAuthEventFeedbackOutput struct { + _ struct{} `type:"structure"` } -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *UICustomizationType) SetLastModifiedDate(v time.Time) *UICustomizationType { - s.LastModifiedDate = &v - return s +// String returns the string representation +func (s UpdateAuthEventFeedbackOutput) String() string { + return awsutil.Prettify(s) } -// SetUserPoolId sets the UserPoolId field's value. -func (s *UICustomizationType) SetUserPoolId(v string) *UICustomizationType { - s.UserPoolId = &v - return s +// GoString returns the string representation +func (s UpdateAuthEventFeedbackOutput) GoString() string { + return s.String() } // Represents the request to update the device status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatusRequest type UpdateDeviceStatusInput struct { _ struct{} `type:"structure"` @@ -18271,7 +21907,7 @@ func (s *UpdateDeviceStatusInput) SetDeviceRememberedStatus(v string) *UpdateDev } // The response to the request to update the device status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatusResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatusResponse type UpdateDeviceStatusOutput struct { _ struct{} `type:"structure"` } @@ -18286,7 +21922,7 @@ func (s UpdateDeviceStatusOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroupRequest type UpdateGroupInput struct { _ struct{} `type:"structure"` @@ -18299,7 +21935,7 @@ type UpdateGroupInput struct { GroupName *string `min:"1" type:"string" required:"true"` // The new precedence value for the group. For more information about this parameter, - // see CreateGroup (API_CreateGroup.html). + // see . Precedence *int64 `type:"integer"` // The new role ARN for the group. This is used for setting the cognito:roles @@ -18377,7 +22013,7 @@ func (s *UpdateGroupInput) SetUserPoolId(v string) *UpdateGroupInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroupResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroupResponse type UpdateGroupOutput struct { _ struct{} `type:"structure"` @@ -18401,7 +22037,7 @@ func (s *UpdateGroupOutput) SetGroup(v *GroupType) *UpdateGroupOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProviderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProviderRequest type UpdateIdentityProviderInput struct { _ struct{} `type:"structure"` @@ -18487,7 +22123,7 @@ func (s *UpdateIdentityProviderInput) SetUserPoolId(v string) *UpdateIdentityPro return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProviderResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProviderResponse type UpdateIdentityProviderOutput struct { _ struct{} `type:"structure"` @@ -18513,7 +22149,7 @@ func (s *UpdateIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderTy return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateResourceServerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateResourceServerRequest type UpdateResourceServerInput struct { _ struct{} `type:"structure"` @@ -18608,7 +22244,7 @@ func (s *UpdateResourceServerInput) SetUserPoolId(v string) *UpdateResourceServe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateResourceServerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateResourceServerResponse type UpdateResourceServerOutput struct { _ struct{} `type:"structure"` @@ -18635,7 +22271,7 @@ func (s *UpdateResourceServerOutput) SetResourceServer(v *ResourceServerType) *U } // Represents the request to update user attributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributesRequest type UpdateUserAttributesInput struct { _ struct{} `type:"structure"` @@ -18702,7 +22338,7 @@ func (s *UpdateUserAttributesInput) SetUserAttributes(v []*AttributeType) *Updat } // Represents the response from the server for the request to update user attributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributesResponse type UpdateUserAttributesOutput struct { _ struct{} `type:"structure"` @@ -18728,7 +22364,7 @@ func (s *UpdateUserAttributesOutput) SetCodeDeliveryDetailsList(v []*CodeDeliver } // Represents the request to update the user pool client. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClientRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClientRequest type UpdateUserPoolClientInput struct { _ struct{} `type:"structure"` @@ -18748,6 +22384,10 @@ type UpdateUserPoolClientInput struct { // "openid", and "Cognito". AllowedOAuthScopes []*string `type:"list"` + // The Amazon Pinpoint analytics configuration for collecting metrics for this + // user pool. + AnalyticsConfiguration *AnalyticsConfigurationType `type:"structure"` + // A list of allowed callback URLs for the identity providers. CallbackURLs []*string `type:"list"` @@ -18820,6 +22460,11 @@ func (s *UpdateUserPoolClientInput) Validate() error { if s.UserPoolId != nil && len(*s.UserPoolId) < 1 { invalidParams.Add(request.NewErrParamMinLen("UserPoolId", 1)) } + if s.AnalyticsConfiguration != nil { + if err := s.AnalyticsConfiguration.Validate(); err != nil { + invalidParams.AddNested("AnalyticsConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -18845,6 +22490,12 @@ func (s *UpdateUserPoolClientInput) SetAllowedOAuthScopes(v []*string) *UpdateUs return s } +// SetAnalyticsConfiguration sets the AnalyticsConfiguration field's value. +func (s *UpdateUserPoolClientInput) SetAnalyticsConfiguration(v *AnalyticsConfigurationType) *UpdateUserPoolClientInput { + s.AnalyticsConfiguration = v + return s +} + // SetCallbackURLs sets the CallbackURLs field's value. func (s *UpdateUserPoolClientInput) SetCallbackURLs(v []*string) *UpdateUserPoolClientInput { s.CallbackURLs = v @@ -18913,7 +22564,7 @@ func (s *UpdateUserPoolClientInput) SetWriteAttributes(v []*string) *UpdateUserP // Represents the response from the server to the request to update the user // pool client. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClientResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClientResponse type UpdateUserPoolClientOutput struct { _ struct{} `type:"structure"` @@ -18939,7 +22590,7 @@ func (s *UpdateUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *U } // Represents the request to update the user pool. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolRequest type UpdateUserPoolInput struct { _ struct{} `type:"structure"` @@ -18989,6 +22640,10 @@ type UpdateUserPoolInput struct { // A container with information about the SMS verification message. SmsVerificationMessage *string `min:"6" type:"string"` + // Used to enable advanced security risk detection. Set the key AdvancedSecurityMode + // to the value "AUDIT". + UserPoolAddOns *UserPoolAddOnsType `type:"structure"` + // The user pool ID for the user pool you want to update. // // UserPoolId is a required field @@ -19058,6 +22713,11 @@ func (s *UpdateUserPoolInput) Validate() error { invalidParams.AddNested("SmsConfiguration", err.(request.ErrInvalidParams)) } } + if s.UserPoolAddOns != nil { + if err := s.UserPoolAddOns.Validate(); err != nil { + invalidParams.AddNested("UserPoolAddOns", err.(request.ErrInvalidParams)) + } + } if s.VerificationMessageTemplate != nil { if err := s.VerificationMessageTemplate.Validate(); err != nil { invalidParams.AddNested("VerificationMessageTemplate", err.(request.ErrInvalidParams)) @@ -19142,6 +22802,12 @@ func (s *UpdateUserPoolInput) SetSmsVerificationMessage(v string) *UpdateUserPoo return s } +// SetUserPoolAddOns sets the UserPoolAddOns field's value. +func (s *UpdateUserPoolInput) SetUserPoolAddOns(v *UserPoolAddOnsType) *UpdateUserPoolInput { + s.UserPoolAddOns = v + return s +} + // SetUserPoolId sets the UserPoolId field's value. func (s *UpdateUserPoolInput) SetUserPoolId(v string) *UpdateUserPoolInput { s.UserPoolId = &v @@ -19162,7 +22828,7 @@ func (s *UpdateUserPoolInput) SetVerificationMessageTemplate(v *VerificationMess // Represents the response from the server when you make a request to update // the user pool. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolResponse type UpdateUserPoolOutput struct { _ struct{} `type:"structure"` } @@ -19177,8 +22843,37 @@ func (s UpdateUserPoolOutput) GoString() string { return s.String() } +// Contextual data such as the user's device fingerprint, IP address, or location +// used for evaluating the risk of an unexpected event by Amazon Cognito advanced +// security. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserContextDataType +type UserContextDataType struct { + _ struct{} `type:"structure"` + + // Contextual data such as the user's device fingerprint, IP address, or location + // used for evaluating the risk of an unexpected event by Amazon Cognito advanced + // security. + EncodedData *string `type:"string"` +} + +// String returns the string representation +func (s UserContextDataType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UserContextDataType) GoString() string { + return s.String() +} + +// SetEncodedData sets the EncodedData field's value. +func (s *UserContextDataType) SetEncodedData(v string) *UserContextDataType { + s.EncodedData = &v + return s +} + // The user import job type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserImportJobType +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserImportJobType type UserImportJobType struct { _ struct{} `type:"structure"` @@ -19333,8 +23028,48 @@ func (s *UserImportJobType) SetUserPoolId(v string) *UserImportJobType { return s } +// The user pool add-ons type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolAddOnsType +type UserPoolAddOnsType struct { + _ struct{} `type:"structure"` + + // The advanced security mode. + // + // AdvancedSecurityMode is a required field + AdvancedSecurityMode *string `type:"string" required:"true" enum:"AdvancedSecurityModeType"` +} + +// String returns the string representation +func (s UserPoolAddOnsType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UserPoolAddOnsType) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UserPoolAddOnsType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UserPoolAddOnsType"} + if s.AdvancedSecurityMode == nil { + invalidParams.Add(request.NewErrParamRequired("AdvancedSecurityMode")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAdvancedSecurityMode sets the AdvancedSecurityMode field's value. +func (s *UserPoolAddOnsType) SetAdvancedSecurityMode(v string) *UserPoolAddOnsType { + s.AdvancedSecurityMode = &v + return s +} + // The description of the user pool client. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolClientDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolClientDescription type UserPoolClientDescription struct { _ struct{} `type:"structure"` @@ -19378,7 +23113,7 @@ func (s *UserPoolClientDescription) SetUserPoolId(v string) *UserPoolClientDescr } // Contains information about a user pool client. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolClientType +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolClientType type UserPoolClientType struct { _ struct{} `type:"structure"` @@ -19398,6 +23133,9 @@ type UserPoolClientType struct { // "openid", and "Cognito". AllowedOAuthScopes []*string `type:"list"` + // The Amazon Pinpoint analytics configuration for the user pool client. + AnalyticsConfiguration *AnalyticsConfigurationType `type:"structure"` + // A list of allowed callback URLs for the identity providers. CallbackURLs []*string `type:"list"` @@ -19471,6 +23209,12 @@ func (s *UserPoolClientType) SetAllowedOAuthScopes(v []*string) *UserPoolClientT return s } +// SetAnalyticsConfiguration sets the AnalyticsConfiguration field's value. +func (s *UserPoolClientType) SetAnalyticsConfiguration(v *AnalyticsConfigurationType) *UserPoolClientType { + s.AnalyticsConfiguration = v + return s +} + // SetCallbackURLs sets the CallbackURLs field's value. func (s *UserPoolClientType) SetCallbackURLs(v []*string) *UserPoolClientType { s.CallbackURLs = v @@ -19556,7 +23300,7 @@ func (s *UserPoolClientType) SetWriteAttributes(v []*string) *UserPoolClientType } // A user pool description. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolDescriptionType +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolDescriptionType type UserPoolDescriptionType struct { _ struct{} `type:"structure"` @@ -19625,12 +23369,12 @@ func (s *UserPoolDescriptionType) SetStatus(v string) *UserPoolDescriptionType { return s } -// The type of policy in a user pool. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolPolicyType +// The policy associated with a user pool. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolPolicyType type UserPoolPolicyType struct { _ struct{} `type:"structure"` - // A container for information about the user pool password policy. + // The password policy. PasswordPolicy *PasswordPolicyType `type:"structure"` } @@ -19665,8 +23409,8 @@ func (s *UserPoolPolicyType) SetPasswordPolicy(v *PasswordPolicyType) *UserPoolP return s } -// A container for information about the user pool type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolType +// A container for information about the user pool. +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolType type UserPoolType struct { _ struct{} `type:"structure"` @@ -19685,6 +23429,9 @@ type UserPoolType struct { // The device configuration. DeviceConfiguration *DeviceConfigurationType `type:"structure"` + // Holds the domain prefix if the user pool has a domain associated with it. + Domain *string `min:"1" type:"string"` + // The email configuration. EmailConfiguration *EmailConfigurationType `type:"structure"` @@ -19703,7 +23450,7 @@ type UserPoolType struct { // The ID of the user pool. Id *string `min:"1" type:"string"` - // A container for the AWS Lambda triggers associated with a user pool. + // The AWS Lambda triggers associated with tue user pool. LambdaConfig *LambdaConfigType `type:"structure"` // The date the user pool was last modified. @@ -19723,7 +23470,7 @@ type UserPoolType struct { // The name of the user pool. Name *string `min:"1" type:"string"` - // A container for the policies associated with a user pool. + // The policies associated with the user pool. Policies *UserPoolPolicyType `type:"structure"` // A container with the schema attributes of a user pool. @@ -19744,6 +23491,9 @@ type UserPoolType struct { // The status of a user pool. Status *string `type:"string" enum:"StatusType"` + // The user pool add-ons. + UserPoolAddOns *UserPoolAddOnsType `type:"structure"` + // The cost allocation tags for the user pool. For more information, see Adding // Cost Allocation Tags to Your User Pool (http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html) UserPoolTags map[string]*string `type:"map"` @@ -19796,6 +23546,12 @@ func (s *UserPoolType) SetDeviceConfiguration(v *DeviceConfigurationType) *UserP return s } +// SetDomain sets the Domain field's value. +func (s *UserPoolType) SetDomain(v string) *UserPoolType { + s.Domain = &v + return s +} + // SetEmailConfiguration sets the EmailConfiguration field's value. func (s *UserPoolType) SetEmailConfiguration(v *EmailConfigurationType) *UserPoolType { s.EmailConfiguration = v @@ -19898,6 +23654,12 @@ func (s *UserPoolType) SetStatus(v string) *UserPoolType { return s } +// SetUserPoolAddOns sets the UserPoolAddOns field's value. +func (s *UserPoolType) SetUserPoolAddOns(v *UserPoolAddOnsType) *UserPoolType { + s.UserPoolAddOns = v + return s +} + // SetUserPoolTags sets the UserPoolTags field's value. func (s *UserPoolType) SetUserPoolTags(v map[string]*string) *UserPoolType { s.UserPoolTags = v @@ -19917,7 +23679,7 @@ func (s *UserPoolType) SetVerificationMessageTemplate(v *VerificationMessageTemp } // The user type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserType +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserType type UserType struct { _ struct{} `type:"structure"` @@ -20006,7 +23768,7 @@ func (s *UserType) SetUsername(v string) *UserType { } // The template for verification messages. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerificationMessageTemplateType +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerificationMessageTemplateType type VerificationMessageTemplateType struct { _ struct{} `type:"structure"` @@ -20101,8 +23863,115 @@ func (s *VerificationMessageTemplateType) SetSmsMessage(v string) *VerificationM return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifySoftwareTokenRequest +type VerifySoftwareTokenInput struct { + _ struct{} `type:"structure"` + + // The access token. + AccessToken *string `type:"string"` + + // The friendly device name. + FriendlyDeviceName *string `type:"string"` + + // The session which should be passed both ways in challenge-response calls + // to the service. + Session *string `min:"20" type:"string"` + + // The one time password computed using the secret code returned by + // + // UserCode is a required field + UserCode *string `min:"6" type:"string" required:"true"` +} + +// String returns the string representation +func (s VerifySoftwareTokenInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VerifySoftwareTokenInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *VerifySoftwareTokenInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VerifySoftwareTokenInput"} + if s.Session != nil && len(*s.Session) < 20 { + invalidParams.Add(request.NewErrParamMinLen("Session", 20)) + } + if s.UserCode == nil { + invalidParams.Add(request.NewErrParamRequired("UserCode")) + } + if s.UserCode != nil && len(*s.UserCode) < 6 { + invalidParams.Add(request.NewErrParamMinLen("UserCode", 6)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccessToken sets the AccessToken field's value. +func (s *VerifySoftwareTokenInput) SetAccessToken(v string) *VerifySoftwareTokenInput { + s.AccessToken = &v + return s +} + +// SetFriendlyDeviceName sets the FriendlyDeviceName field's value. +func (s *VerifySoftwareTokenInput) SetFriendlyDeviceName(v string) *VerifySoftwareTokenInput { + s.FriendlyDeviceName = &v + return s +} + +// SetSession sets the Session field's value. +func (s *VerifySoftwareTokenInput) SetSession(v string) *VerifySoftwareTokenInput { + s.Session = &v + return s +} + +// SetUserCode sets the UserCode field's value. +func (s *VerifySoftwareTokenInput) SetUserCode(v string) *VerifySoftwareTokenInput { + s.UserCode = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifySoftwareTokenResponse +type VerifySoftwareTokenOutput struct { + _ struct{} `type:"structure"` + + // The session which should be passed both ways in challenge-response calls + // to the service. + Session *string `min:"20" type:"string"` + + // The status of the verify software token. + Status *string `type:"string" enum:"VerifySoftwareTokenResponseType"` +} + +// String returns the string representation +func (s VerifySoftwareTokenOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VerifySoftwareTokenOutput) GoString() string { + return s.String() +} + +// SetSession sets the Session field's value. +func (s *VerifySoftwareTokenOutput) SetSession(v string) *VerifySoftwareTokenOutput { + s.Session = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *VerifySoftwareTokenOutput) SetStatus(v string) *VerifySoftwareTokenOutput { + s.Status = &v + return s +} + // Represents the request to verify user attributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttributeRequest type VerifyUserAttributeInput struct { _ struct{} `type:"structure"` @@ -20177,7 +24046,7 @@ func (s *VerifyUserAttributeInput) SetCode(v string) *VerifyUserAttributeInput { // A container representing the response from the server from the request to // verify user attributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttributeResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttributeResponse type VerifyUserAttributeOutput struct { _ struct{} `type:"structure"` } @@ -20192,6 +24061,31 @@ func (s VerifyUserAttributeOutput) GoString() string { return s.String() } +const ( + // AccountTakeoverEventActionTypeBlock is a AccountTakeoverEventActionType enum value + AccountTakeoverEventActionTypeBlock = "BLOCK" + + // AccountTakeoverEventActionTypeMfaIfConfigured is a AccountTakeoverEventActionType enum value + AccountTakeoverEventActionTypeMfaIfConfigured = "MFA_IF_CONFIGURED" + + // AccountTakeoverEventActionTypeMfaRequired is a AccountTakeoverEventActionType enum value + AccountTakeoverEventActionTypeMfaRequired = "MFA_REQUIRED" + + // AccountTakeoverEventActionTypeNoAction is a AccountTakeoverEventActionType enum value + AccountTakeoverEventActionTypeNoAction = "NO_ACTION" +) + +const ( + // AdvancedSecurityModeTypeOff is a AdvancedSecurityModeType enum value + AdvancedSecurityModeTypeOff = "OFF" + + // AdvancedSecurityModeTypeAudit is a AdvancedSecurityModeType enum value + AdvancedSecurityModeTypeAudit = "AUDIT" + + // AdvancedSecurityModeTypeEnforced is a AdvancedSecurityModeType enum value + AdvancedSecurityModeTypeEnforced = "ENFORCED" +) + const ( // AliasAttributeTypePhoneNumber is a AliasAttributeType enum value AliasAttributeTypePhoneNumber = "phone_number" @@ -20234,10 +24128,27 @@ const ( AuthFlowTypeAdminNoSrpAuth = "ADMIN_NO_SRP_AUTH" ) +const ( + // ChallengeNamePassword is a ChallengeName enum value + ChallengeNamePassword = "Password" + + // ChallengeNameMfa is a ChallengeName enum value + ChallengeNameMfa = "Mfa" +) + const ( // ChallengeNameTypeSmsMfa is a ChallengeNameType enum value ChallengeNameTypeSmsMfa = "SMS_MFA" + // ChallengeNameTypeSoftwareTokenMfa is a ChallengeNameType enum value + ChallengeNameTypeSoftwareTokenMfa = "SOFTWARE_TOKEN_MFA" + + // ChallengeNameTypeSelectMfaType is a ChallengeNameType enum value + ChallengeNameTypeSelectMfaType = "SELECT_MFA_TYPE" + + // ChallengeNameTypeMfaSetup is a ChallengeNameType enum value + ChallengeNameTypeMfaSetup = "MFA_SETUP" + // ChallengeNameTypePasswordVerifier is a ChallengeNameType enum value ChallengeNameTypePasswordVerifier = "PASSWORD_VERIFIER" @@ -20257,6 +24168,22 @@ const ( ChallengeNameTypeNewPasswordRequired = "NEW_PASSWORD_REQUIRED" ) +const ( + // ChallengeResponseSuccess is a ChallengeResponse enum value + ChallengeResponseSuccess = "Success" + + // ChallengeResponseFailure is a ChallengeResponse enum value + ChallengeResponseFailure = "Failure" +) + +const ( + // CompromisedCredentialsEventActionTypeBlock is a CompromisedCredentialsEventActionType enum value + CompromisedCredentialsEventActionTypeBlock = "BLOCK" + + // CompromisedCredentialsEventActionTypeNoAction is a CompromisedCredentialsEventActionType enum value + CompromisedCredentialsEventActionTypeNoAction = "NO_ACTION" +) + const ( // DefaultEmailOptionTypeConfirmWithLink is a DefaultEmailOptionType enum value DefaultEmailOptionTypeConfirmWithLink = "CONFIRM_WITH_LINK" @@ -20298,6 +24225,36 @@ const ( DomainStatusTypeFailed = "FAILED" ) +const ( + // EventFilterTypeSignIn is a EventFilterType enum value + EventFilterTypeSignIn = "SIGN_IN" + + // EventFilterTypePasswordChange is a EventFilterType enum value + EventFilterTypePasswordChange = "PASSWORD_CHANGE" + + // EventFilterTypeSignUp is a EventFilterType enum value + EventFilterTypeSignUp = "SIGN_UP" +) + +const ( + // EventResponseTypeSuccess is a EventResponseType enum value + EventResponseTypeSuccess = "Success" + + // EventResponseTypeFailure is a EventResponseType enum value + EventResponseTypeFailure = "Failure" +) + +const ( + // EventTypeSignIn is a EventType enum value + EventTypeSignIn = "SignIn" + + // EventTypeSignUp is a EventType enum value + EventTypeSignUp = "SignUp" + + // EventTypeForgotPassword is a EventType enum value + EventTypeForgotPassword = "ForgotPassword" +) + const ( // ExplicitAuthFlowsTypeAdminNoSrpAuth is a ExplicitAuthFlowsType enum value ExplicitAuthFlowsTypeAdminNoSrpAuth = "ADMIN_NO_SRP_AUTH" @@ -20306,6 +24263,14 @@ const ( ExplicitAuthFlowsTypeCustomAuthFlowOnly = "CUSTOM_AUTH_FLOW_ONLY" ) +const ( + // FeedbackValueTypeValid is a FeedbackValueType enum value + FeedbackValueTypeValid = "Valid" + + // FeedbackValueTypeInvalid is a FeedbackValueType enum value + FeedbackValueTypeInvalid = "Invalid" +) + const ( // IdentityProviderTypeTypeSaml is a IdentityProviderTypeType enum value IdentityProviderTypeTypeSaml = "SAML" @@ -20339,6 +24304,28 @@ const ( OAuthFlowTypeClientCredentials = "client_credentials" ) +const ( + // RiskDecisionTypeNoRisk is a RiskDecisionType enum value + RiskDecisionTypeNoRisk = "NoRisk" + + // RiskDecisionTypeAccountTakeover is a RiskDecisionType enum value + RiskDecisionTypeAccountTakeover = "AccountTakeover" + + // RiskDecisionTypeBlock is a RiskDecisionType enum value + RiskDecisionTypeBlock = "Block" +) + +const ( + // RiskLevelTypeLow is a RiskLevelType enum value + RiskLevelTypeLow = "Low" + + // RiskLevelTypeMedium is a RiskLevelType enum value + RiskLevelTypeMedium = "Medium" + + // RiskLevelTypeHigh is a RiskLevelType enum value + RiskLevelTypeHigh = "High" +) + const ( // StatusTypeEnabled is a StatusType enum value StatusTypeEnabled = "Enabled" @@ -20422,3 +24409,11 @@ const ( // VerifiedAttributeTypeEmail is a VerifiedAttributeType enum value VerifiedAttributeTypeEmail = "email" ) + +const ( + // VerifySoftwareTokenResponseTypeSuccess is a VerifySoftwareTokenResponseType enum value + VerifySoftwareTokenResponseTypeSuccess = "SUCCESS" + + // VerifySoftwareTokenResponseTypeError is a VerifySoftwareTokenResponseType enum value + VerifySoftwareTokenResponseTypeError = "ERROR" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/errors.go b/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/errors.go index cc9a5951b15..302ec049a87 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/errors.go @@ -39,6 +39,13 @@ const ( // pool. ErrCodeDuplicateProviderException = "DuplicateProviderException" + // ErrCodeEnableSoftwareTokenMFAException for service response error code + // "EnableSoftwareTokenMFAException". + // + // This exception is thrown when there is a code mismatch and the service fails + // to configure the software token TOTP multi-factor authentication (MFA). + ErrCodeEnableSoftwareTokenMFAException = "EnableSoftwareTokenMFAException" + // ErrCodeExpiredCodeException for service response error code // "ExpiredCodeException". // @@ -159,6 +166,13 @@ const ( // This exception is thrown when the specified scope does not exist. ErrCodeScopeDoesNotExistException = "ScopeDoesNotExistException" + // ErrCodeSoftwareTokenMFANotFoundException for service response error code + // "SoftwareTokenMFANotFoundException". + // + // This exception is thrown when the software token TOTP multi-factor authentication + // (MFA) is not enabled for the user pool. + ErrCodeSoftwareTokenMFANotFoundException = "SoftwareTokenMFANotFoundException" + // ErrCodeTooManyFailedAttemptsException for service response error code // "TooManyFailedAttemptsException". // @@ -218,6 +232,12 @@ const ( // This exception is thrown when a user is not found. ErrCodeUserNotFoundException = "UserNotFoundException" + // ErrCodeUserPoolAddOnNotEnabledException for service response error code + // "UserPoolAddOnNotEnabledException". + // + // This exception is thrown when user pool add-ons are not enabled. + ErrCodeUserPoolAddOnNotEnabledException = "UserPoolAddOnNotEnabledException" + // ErrCodeUserPoolTaggingException for service response error code // "UserPoolTaggingException". // diff --git a/vendor/github.com/aws/aws-sdk-go/service/configservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/configservice/api.go index 881e0c3ef7a..5b55bdf7d18 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/configservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/configservice/api.go @@ -38,7 +38,7 @@ const opDeleteConfigRule = "DeleteConfigRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigRule func (c *ConfigService) DeleteConfigRuleRequest(input *DeleteConfigRuleInput) (req *request.Request, output *DeleteConfigRuleOutput) { op := &request.Operation{ Name: opDeleteConfigRule, @@ -83,7 +83,7 @@ func (c *ConfigService) DeleteConfigRuleRequest(input *DeleteConfigRuleInput) (r // The rule is currently being deleted or the rule is deleting your evaluation // results. Try your request again later. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigRule func (c *ConfigService) DeleteConfigRule(input *DeleteConfigRuleInput) (*DeleteConfigRuleOutput, error) { req, out := c.DeleteConfigRuleRequest(input) return out, req.Send() @@ -130,7 +130,7 @@ const opDeleteConfigurationRecorder = "DeleteConfigurationRecorder" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationRecorder +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationRecorder func (c *ConfigService) DeleteConfigurationRecorderRequest(input *DeleteConfigurationRecorderInput) (req *request.Request, output *DeleteConfigurationRecorderOutput) { op := &request.Operation{ Name: opDeleteConfigurationRecorder, @@ -173,7 +173,7 @@ func (c *ConfigService) DeleteConfigurationRecorderRequest(input *DeleteConfigur // * ErrCodeNoSuchConfigurationRecorderException "NoSuchConfigurationRecorderException" // You have specified a configuration recorder that does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationRecorder +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationRecorder func (c *ConfigService) DeleteConfigurationRecorder(input *DeleteConfigurationRecorderInput) (*DeleteConfigurationRecorderOutput, error) { req, out := c.DeleteConfigurationRecorderRequest(input) return out, req.Send() @@ -220,7 +220,7 @@ const opDeleteDeliveryChannel = "DeleteDeliveryChannel" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteDeliveryChannel +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteDeliveryChannel func (c *ConfigService) DeleteDeliveryChannelRequest(input *DeleteDeliveryChannelInput) (req *request.Request, output *DeleteDeliveryChannelOutput) { op := &request.Operation{ Name: opDeleteDeliveryChannel, @@ -261,7 +261,7 @@ func (c *ConfigService) DeleteDeliveryChannelRequest(input *DeleteDeliveryChanne // You cannot delete the delivery channel you specified because the configuration // recorder is running. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteDeliveryChannel +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteDeliveryChannel func (c *ConfigService) DeleteDeliveryChannel(input *DeleteDeliveryChannelInput) (*DeleteDeliveryChannelOutput, error) { req, out := c.DeleteDeliveryChannelRequest(input) return out, req.Send() @@ -308,7 +308,7 @@ const opDeleteEvaluationResults = "DeleteEvaluationResults" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteEvaluationResults +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteEvaluationResults func (c *ConfigService) DeleteEvaluationResultsRequest(input *DeleteEvaluationResultsInput) (req *request.Request, output *DeleteEvaluationResultsOutput) { op := &request.Operation{ Name: opDeleteEvaluationResults, @@ -348,7 +348,7 @@ func (c *ConfigService) DeleteEvaluationResultsRequest(input *DeleteEvaluationRe // The rule is currently being deleted or the rule is deleting your evaluation // results. Try your request again later. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteEvaluationResults +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteEvaluationResults func (c *ConfigService) DeleteEvaluationResults(input *DeleteEvaluationResultsInput) (*DeleteEvaluationResultsOutput, error) { req, out := c.DeleteEvaluationResultsRequest(input) return out, req.Send() @@ -395,7 +395,7 @@ const opDeliverConfigSnapshot = "DeliverConfigSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliverConfigSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliverConfigSnapshot func (c *ConfigService) DeliverConfigSnapshotRequest(input *DeliverConfigSnapshotInput) (req *request.Request, output *DeliverConfigSnapshotOutput) { op := &request.Operation{ Name: opDeliverConfigSnapshot, @@ -443,7 +443,7 @@ func (c *ConfigService) DeliverConfigSnapshotRequest(input *DeliverConfigSnapsho // * ErrCodeNoRunningConfigurationRecorderException "NoRunningConfigurationRecorderException" // There is no configuration recorder running. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliverConfigSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliverConfigSnapshot func (c *ConfigService) DeliverConfigSnapshot(input *DeliverConfigSnapshotInput) (*DeliverConfigSnapshotOutput, error) { req, out := c.DeliverConfigSnapshotRequest(input) return out, req.Send() @@ -490,7 +490,7 @@ const opDescribeComplianceByConfigRule = "DescribeComplianceByConfigRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRule func (c *ConfigService) DescribeComplianceByConfigRuleRequest(input *DescribeComplianceByConfigRuleInput) (req *request.Request, output *DescribeComplianceByConfigRuleOutput) { op := &request.Operation{ Name: opDescribeComplianceByConfigRule, @@ -553,7 +553,7 @@ func (c *ConfigService) DescribeComplianceByConfigRuleRequest(input *DescribeCom // The specified next token is invalid. Specify the NextToken string that was // returned in the previous response to get the next page of results. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRule func (c *ConfigService) DescribeComplianceByConfigRule(input *DescribeComplianceByConfigRuleInput) (*DescribeComplianceByConfigRuleOutput, error) { req, out := c.DescribeComplianceByConfigRuleRequest(input) return out, req.Send() @@ -600,7 +600,7 @@ const opDescribeComplianceByResource = "DescribeComplianceByResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResource func (c *ConfigService) DescribeComplianceByResourceRequest(input *DescribeComplianceByResourceInput) (req *request.Request, output *DescribeComplianceByResourceOutput) { op := &request.Operation{ Name: opDescribeComplianceByResource, @@ -661,7 +661,7 @@ func (c *ConfigService) DescribeComplianceByResourceRequest(input *DescribeCompl // The specified next token is invalid. Specify the NextToken string that was // returned in the previous response to get the next page of results. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResource func (c *ConfigService) DescribeComplianceByResource(input *DescribeComplianceByResourceInput) (*DescribeComplianceByResourceOutput, error) { req, out := c.DescribeComplianceByResourceRequest(input) return out, req.Send() @@ -708,7 +708,7 @@ const opDescribeConfigRuleEvaluationStatus = "DescribeConfigRuleEvaluationStatus // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRuleEvaluationStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRuleEvaluationStatus func (c *ConfigService) DescribeConfigRuleEvaluationStatusRequest(input *DescribeConfigRuleEvaluationStatusInput) (req *request.Request, output *DescribeConfigRuleEvaluationStatusOutput) { op := &request.Operation{ Name: opDescribeConfigRuleEvaluationStatus, @@ -752,7 +752,7 @@ func (c *ConfigService) DescribeConfigRuleEvaluationStatusRequest(input *Describ // The specified next token is invalid. Specify the NextToken string that was // returned in the previous response to get the next page of results. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRuleEvaluationStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRuleEvaluationStatus func (c *ConfigService) DescribeConfigRuleEvaluationStatus(input *DescribeConfigRuleEvaluationStatusInput) (*DescribeConfigRuleEvaluationStatusOutput, error) { req, out := c.DescribeConfigRuleEvaluationStatusRequest(input) return out, req.Send() @@ -799,7 +799,7 @@ const opDescribeConfigRules = "DescribeConfigRules" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRules +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRules func (c *ConfigService) DescribeConfigRulesRequest(input *DescribeConfigRulesInput) (req *request.Request, output *DescribeConfigRulesOutput) { op := &request.Operation{ Name: opDescribeConfigRules, @@ -836,7 +836,7 @@ func (c *ConfigService) DescribeConfigRulesRequest(input *DescribeConfigRulesInp // The specified next token is invalid. Specify the NextToken string that was // returned in the previous response to get the next page of results. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRules +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRules func (c *ConfigService) DescribeConfigRules(input *DescribeConfigRulesInput) (*DescribeConfigRulesOutput, error) { req, out := c.DescribeConfigRulesRequest(input) return out, req.Send() @@ -883,7 +883,7 @@ const opDescribeConfigurationRecorderStatus = "DescribeConfigurationRecorderStat // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatus func (c *ConfigService) DescribeConfigurationRecorderStatusRequest(input *DescribeConfigurationRecorderStatusInput) (req *request.Request, output *DescribeConfigurationRecorderStatusOutput) { op := &request.Operation{ Name: opDescribeConfigurationRecorderStatus, @@ -920,7 +920,7 @@ func (c *ConfigService) DescribeConfigurationRecorderStatusRequest(input *Descri // * ErrCodeNoSuchConfigurationRecorderException "NoSuchConfigurationRecorderException" // You have specified a configuration recorder that does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatus func (c *ConfigService) DescribeConfigurationRecorderStatus(input *DescribeConfigurationRecorderStatusInput) (*DescribeConfigurationRecorderStatusOutput, error) { req, out := c.DescribeConfigurationRecorderStatusRequest(input) return out, req.Send() @@ -967,7 +967,7 @@ const opDescribeConfigurationRecorders = "DescribeConfigurationRecorders" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorders +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorders func (c *ConfigService) DescribeConfigurationRecordersRequest(input *DescribeConfigurationRecordersInput) (req *request.Request, output *DescribeConfigurationRecordersOutput) { op := &request.Operation{ Name: opDescribeConfigurationRecorders, @@ -1004,7 +1004,7 @@ func (c *ConfigService) DescribeConfigurationRecordersRequest(input *DescribeCon // * ErrCodeNoSuchConfigurationRecorderException "NoSuchConfigurationRecorderException" // You have specified a configuration recorder that does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorders +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorders func (c *ConfigService) DescribeConfigurationRecorders(input *DescribeConfigurationRecordersInput) (*DescribeConfigurationRecordersOutput, error) { req, out := c.DescribeConfigurationRecordersRequest(input) return out, req.Send() @@ -1051,7 +1051,7 @@ const opDescribeDeliveryChannelStatus = "DescribeDeliveryChannelStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatus func (c *ConfigService) DescribeDeliveryChannelStatusRequest(input *DescribeDeliveryChannelStatusInput) (req *request.Request, output *DescribeDeliveryChannelStatusOutput) { op := &request.Operation{ Name: opDescribeDeliveryChannelStatus, @@ -1087,7 +1087,7 @@ func (c *ConfigService) DescribeDeliveryChannelStatusRequest(input *DescribeDeli // * ErrCodeNoSuchDeliveryChannelException "NoSuchDeliveryChannelException" // You have specified a delivery channel that does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatus func (c *ConfigService) DescribeDeliveryChannelStatus(input *DescribeDeliveryChannelStatusInput) (*DescribeDeliveryChannelStatusOutput, error) { req, out := c.DescribeDeliveryChannelStatusRequest(input) return out, req.Send() @@ -1134,7 +1134,7 @@ const opDescribeDeliveryChannels = "DescribeDeliveryChannels" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannels +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannels func (c *ConfigService) DescribeDeliveryChannelsRequest(input *DescribeDeliveryChannelsInput) (req *request.Request, output *DescribeDeliveryChannelsOutput) { op := &request.Operation{ Name: opDescribeDeliveryChannels, @@ -1170,7 +1170,7 @@ func (c *ConfigService) DescribeDeliveryChannelsRequest(input *DescribeDeliveryC // * ErrCodeNoSuchDeliveryChannelException "NoSuchDeliveryChannelException" // You have specified a delivery channel that does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannels +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannels func (c *ConfigService) DescribeDeliveryChannels(input *DescribeDeliveryChannelsInput) (*DescribeDeliveryChannelsOutput, error) { req, out := c.DescribeDeliveryChannelsRequest(input) return out, req.Send() @@ -1217,7 +1217,7 @@ const opGetComplianceDetailsByConfigRule = "GetComplianceDetailsByConfigRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByConfigRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByConfigRule func (c *ConfigService) GetComplianceDetailsByConfigRuleRequest(input *GetComplianceDetailsByConfigRuleInput) (req *request.Request, output *GetComplianceDetailsByConfigRuleOutput) { op := &request.Operation{ Name: opGetComplianceDetailsByConfigRule, @@ -1260,7 +1260,7 @@ func (c *ConfigService) GetComplianceDetailsByConfigRuleRequest(input *GetCompli // One or more AWS Config rules in the request are invalid. Verify that the // rule names are correct and try again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByConfigRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByConfigRule func (c *ConfigService) GetComplianceDetailsByConfigRule(input *GetComplianceDetailsByConfigRuleInput) (*GetComplianceDetailsByConfigRuleOutput, error) { req, out := c.GetComplianceDetailsByConfigRuleRequest(input) return out, req.Send() @@ -1307,7 +1307,7 @@ const opGetComplianceDetailsByResource = "GetComplianceDetailsByResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResource func (c *ConfigService) GetComplianceDetailsByResourceRequest(input *GetComplianceDetailsByResourceInput) (req *request.Request, output *GetComplianceDetailsByResourceOutput) { op := &request.Operation{ Name: opGetComplianceDetailsByResource, @@ -1342,7 +1342,7 @@ func (c *ConfigService) GetComplianceDetailsByResourceRequest(input *GetComplian // One or more of the specified parameters are invalid. Verify that your parameters // are valid and try again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResource func (c *ConfigService) GetComplianceDetailsByResource(input *GetComplianceDetailsByResourceInput) (*GetComplianceDetailsByResourceOutput, error) { req, out := c.GetComplianceDetailsByResourceRequest(input) return out, req.Send() @@ -1389,7 +1389,7 @@ const opGetComplianceSummaryByConfigRule = "GetComplianceSummaryByConfigRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByConfigRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByConfigRule func (c *ConfigService) GetComplianceSummaryByConfigRuleRequest(input *GetComplianceSummaryByConfigRuleInput) (req *request.Request, output *GetComplianceSummaryByConfigRuleOutput) { op := &request.Operation{ Name: opGetComplianceSummaryByConfigRule, @@ -1417,7 +1417,7 @@ func (c *ConfigService) GetComplianceSummaryByConfigRuleRequest(input *GetCompli // // See the AWS API reference guide for AWS Config's // API operation GetComplianceSummaryByConfigRule for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByConfigRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByConfigRule func (c *ConfigService) GetComplianceSummaryByConfigRule(input *GetComplianceSummaryByConfigRuleInput) (*GetComplianceSummaryByConfigRuleOutput, error) { req, out := c.GetComplianceSummaryByConfigRuleRequest(input) return out, req.Send() @@ -1464,7 +1464,7 @@ const opGetComplianceSummaryByResourceType = "GetComplianceSummaryByResourceType // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByResourceType +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByResourceType func (c *ConfigService) GetComplianceSummaryByResourceTypeRequest(input *GetComplianceSummaryByResourceTypeInput) (req *request.Request, output *GetComplianceSummaryByResourceTypeOutput) { op := &request.Operation{ Name: opGetComplianceSummaryByResourceType, @@ -1499,7 +1499,7 @@ func (c *ConfigService) GetComplianceSummaryByResourceTypeRequest(input *GetComp // One or more of the specified parameters are invalid. Verify that your parameters // are valid and try again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByResourceType +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByResourceType func (c *ConfigService) GetComplianceSummaryByResourceType(input *GetComplianceSummaryByResourceTypeInput) (*GetComplianceSummaryByResourceTypeOutput, error) { req, out := c.GetComplianceSummaryByResourceTypeRequest(input) return out, req.Send() @@ -1546,7 +1546,7 @@ const opGetDiscoveredResourceCounts = "GetDiscoveredResourceCounts" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCounts +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCounts func (c *ConfigService) GetDiscoveredResourceCountsRequest(input *GetDiscoveredResourceCountsInput) (req *request.Request, output *GetDiscoveredResourceCountsOutput) { op := &request.Operation{ Name: opGetDiscoveredResourceCounts, @@ -1618,7 +1618,7 @@ func (c *ConfigService) GetDiscoveredResourceCountsRequest(input *GetDiscoveredR // The specified next token is invalid. Specify the NextToken string that was // returned in the previous response to get the next page of results. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCounts +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCounts func (c *ConfigService) GetDiscoveredResourceCounts(input *GetDiscoveredResourceCountsInput) (*GetDiscoveredResourceCountsOutput, error) { req, out := c.GetDiscoveredResourceCountsRequest(input) return out, req.Send() @@ -1665,7 +1665,7 @@ const opGetResourceConfigHistory = "GetResourceConfigHistory" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistory func (c *ConfigService) GetResourceConfigHistoryRequest(input *GetResourceConfigHistoryInput) (req *request.Request, output *GetResourceConfigHistoryOutput) { op := &request.Operation{ Name: opGetResourceConfigHistory, @@ -1732,7 +1732,7 @@ func (c *ConfigService) GetResourceConfigHistoryRequest(input *GetResourceConfig // * ErrCodeResourceNotDiscoveredException "ResourceNotDiscoveredException" // You have specified a resource that is either unknown or has not been discovered. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistory func (c *ConfigService) GetResourceConfigHistory(input *GetResourceConfigHistoryInput) (*GetResourceConfigHistoryOutput, error) { req, out := c.GetResourceConfigHistoryRequest(input) return out, req.Send() @@ -1829,7 +1829,7 @@ const opListDiscoveredResources = "ListDiscoveredResources" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListDiscoveredResources +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListDiscoveredResources func (c *ConfigService) ListDiscoveredResourcesRequest(input *ListDiscoveredResourcesInput) (req *request.Request, output *ListDiscoveredResourcesOutput) { op := &request.Operation{ Name: opListDiscoveredResources, @@ -1885,7 +1885,7 @@ func (c *ConfigService) ListDiscoveredResourcesRequest(input *ListDiscoveredReso // There are no configuration recorders available to provide the role needed // to describe your resources. Create a configuration recorder. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListDiscoveredResources +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListDiscoveredResources func (c *ConfigService) ListDiscoveredResources(input *ListDiscoveredResourcesInput) (*ListDiscoveredResourcesOutput, error) { req, out := c.ListDiscoveredResourcesRequest(input) return out, req.Send() @@ -1932,7 +1932,7 @@ const opPutConfigRule = "PutConfigRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRule func (c *ConfigService) PutConfigRuleRequest(input *PutConfigRuleInput) (req *request.Request, output *PutConfigRuleOutput) { op := &request.Operation{ Name: opPutConfigRule, @@ -2023,7 +2023,7 @@ func (c *ConfigService) PutConfigRuleRequest(input *PutConfigRuleInput) (req *re // There are no configuration recorders available to provide the role needed // to describe your resources. Create a configuration recorder. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRule func (c *ConfigService) PutConfigRule(input *PutConfigRuleInput) (*PutConfigRuleOutput, error) { req, out := c.PutConfigRuleRequest(input) return out, req.Send() @@ -2070,7 +2070,7 @@ const opPutConfigurationRecorder = "PutConfigurationRecorder" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationRecorder +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationRecorder func (c *ConfigService) PutConfigurationRecorderRequest(input *PutConfigurationRecorderInput) (req *request.Request, output *PutConfigurationRecorderOutput) { op := &request.Operation{ Name: opPutConfigurationRecorder, @@ -2124,7 +2124,7 @@ func (c *ConfigService) PutConfigurationRecorderRequest(input *PutConfigurationR // AWS Config throws an exception if the recording group does not contain a // valid list of resource types. Invalid values could also be incorrectly formatted. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationRecorder +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationRecorder func (c *ConfigService) PutConfigurationRecorder(input *PutConfigurationRecorderInput) (*PutConfigurationRecorderOutput, error) { req, out := c.PutConfigurationRecorderRequest(input) return out, req.Send() @@ -2171,7 +2171,7 @@ const opPutDeliveryChannel = "PutDeliveryChannel" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutDeliveryChannel +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutDeliveryChannel func (c *ConfigService) PutDeliveryChannelRequest(input *PutDeliveryChannelInput) (req *request.Request, output *PutDeliveryChannelOutput) { op := &request.Operation{ Name: opPutDeliveryChannel, @@ -2237,7 +2237,7 @@ func (c *ConfigService) PutDeliveryChannelRequest(input *PutDeliveryChannelInput // * ErrCodeInsufficientDeliveryPolicyException "InsufficientDeliveryPolicyException" // Your Amazon S3 bucket policy does not permit AWS Config to write to it. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutDeliveryChannel +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutDeliveryChannel func (c *ConfigService) PutDeliveryChannel(input *PutDeliveryChannelInput) (*PutDeliveryChannelOutput, error) { req, out := c.PutDeliveryChannelRequest(input) return out, req.Send() @@ -2284,7 +2284,7 @@ const opPutEvaluations = "PutEvaluations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutEvaluations +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutEvaluations func (c *ConfigService) PutEvaluationsRequest(input *PutEvaluationsInput) (req *request.Request, output *PutEvaluationsOutput) { op := &request.Operation{ Name: opPutEvaluations, @@ -2326,7 +2326,7 @@ func (c *ConfigService) PutEvaluationsRequest(input *PutEvaluationsInput) (req * // One or more AWS Config rules in the request are invalid. Verify that the // rule names are correct and try again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutEvaluations +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutEvaluations func (c *ConfigService) PutEvaluations(input *PutEvaluationsInput) (*PutEvaluationsOutput, error) { req, out := c.PutEvaluationsRequest(input) return out, req.Send() @@ -2373,7 +2373,7 @@ const opStartConfigRulesEvaluation = "StartConfigRulesEvaluation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigRulesEvaluation +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigRulesEvaluation func (c *ConfigService) StartConfigRulesEvaluationRequest(input *StartConfigRulesEvaluationInput) (req *request.Request, output *StartConfigRulesEvaluationOutput) { op := &request.Operation{ Name: opStartConfigRulesEvaluation, @@ -2447,7 +2447,7 @@ func (c *ConfigService) StartConfigRulesEvaluationRequest(input *StartConfigRule // One or more of the specified parameters are invalid. Verify that your parameters // are valid and try again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigRulesEvaluation +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigRulesEvaluation func (c *ConfigService) StartConfigRulesEvaluation(input *StartConfigRulesEvaluationInput) (*StartConfigRulesEvaluationOutput, error) { req, out := c.StartConfigRulesEvaluationRequest(input) return out, req.Send() @@ -2494,7 +2494,7 @@ const opStartConfigurationRecorder = "StartConfigurationRecorder" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigurationRecorder +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigurationRecorder func (c *ConfigService) StartConfigurationRecorderRequest(input *StartConfigurationRecorderInput) (req *request.Request, output *StartConfigurationRecorderOutput) { op := &request.Operation{ Name: opStartConfigurationRecorder, @@ -2535,7 +2535,7 @@ func (c *ConfigService) StartConfigurationRecorderRequest(input *StartConfigurat // * ErrCodeNoAvailableDeliveryChannelException "NoAvailableDeliveryChannelException" // There is no delivery channel available to record configurations. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigurationRecorder +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigurationRecorder func (c *ConfigService) StartConfigurationRecorder(input *StartConfigurationRecorderInput) (*StartConfigurationRecorderOutput, error) { req, out := c.StartConfigurationRecorderRequest(input) return out, req.Send() @@ -2582,7 +2582,7 @@ const opStopConfigurationRecorder = "StopConfigurationRecorder" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StopConfigurationRecorder +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StopConfigurationRecorder func (c *ConfigService) StopConfigurationRecorderRequest(input *StopConfigurationRecorderInput) (req *request.Request, output *StopConfigurationRecorderOutput) { op := &request.Operation{ Name: opStopConfigurationRecorder, @@ -2617,7 +2617,7 @@ func (c *ConfigService) StopConfigurationRecorderRequest(input *StopConfiguratio // * ErrCodeNoSuchConfigurationRecorderException "NoSuchConfigurationRecorderException" // You have specified a configuration recorder that does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StopConfigurationRecorder +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StopConfigurationRecorder func (c *ConfigService) StopConfigurationRecorder(input *StopConfigurationRecorderInput) (*StopConfigurationRecorderOutput, error) { req, out := c.StopConfigurationRecorderRequest(input) return out, req.Send() @@ -2641,7 +2641,7 @@ func (c *ConfigService) StopConfigurationRecorderWithContext(ctx aws.Context, in // Indicates whether an AWS resource or AWS Config rule is compliant and provides // the number of contributors that affect the compliance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/Compliance +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/Compliance type Compliance struct { _ struct{} `type:"structure"` @@ -2692,7 +2692,7 @@ func (s *Compliance) SetComplianceType(v string) *Compliance { // Indicates whether an AWS Config rule is compliant. A rule is compliant if // all of the resources that the rule evaluated comply with it, and it is noncompliant // if any of these resources do not comply. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ComplianceByConfigRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ComplianceByConfigRule type ComplianceByConfigRule struct { _ struct{} `type:"structure"` @@ -2729,7 +2729,7 @@ func (s *ComplianceByConfigRule) SetConfigRuleName(v string) *ComplianceByConfig // AWS Config rules is compliant. A resource is compliant if it complies with // all of the rules that evaluate it, and it is noncompliant if it does not // comply with one or more of these rules. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ComplianceByResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ComplianceByResource type ComplianceByResource struct { _ struct{} `type:"structure"` @@ -2774,7 +2774,7 @@ func (s *ComplianceByResource) SetResourceType(v string) *ComplianceByResource { // The number of AWS resources or AWS Config rules responsible for the current // compliance of the item, up to a maximum number. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ComplianceContributorCount +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ComplianceContributorCount type ComplianceContributorCount struct { _ struct{} `type:"structure"` @@ -2809,7 +2809,7 @@ func (s *ComplianceContributorCount) SetCappedCount(v int64) *ComplianceContribu } // The number of AWS Config rules or AWS resources that are compliant and noncompliant. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ComplianceSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ComplianceSummary type ComplianceSummary struct { _ struct{} `type:"structure"` @@ -2855,7 +2855,7 @@ func (s *ComplianceSummary) SetNonCompliantResourceCount(v *ComplianceContributo // The number of AWS resources of a specific type that are compliant or noncompliant, // up to a maximum of 100 for each compliance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ComplianceSummaryByResourceType +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ComplianceSummaryByResourceType type ComplianceSummaryByResourceType struct { _ struct{} `type:"structure"` @@ -2892,7 +2892,7 @@ func (s *ComplianceSummaryByResourceType) SetResourceType(v string) *ComplianceS // Provides status of the delivery of the snapshot or the configuration history // to the specified Amazon S3 bucket. Also provides the status of notifications // about the Amazon S3 delivery to the specified Amazon SNS topic. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigExportDeliveryInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigExportDeliveryInfo type ConfigExportDeliveryInfo struct { _ struct{} `type:"structure"` @@ -2975,7 +2975,7 @@ func (s *ConfigExportDeliveryInfo) SetNextDeliveryTime(v time.Time) *ConfigExpor // For more information about developing and using AWS Config rules, see Evaluating // AWS Resource Configurations with AWS Config (http://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html) // in the AWS Config Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigRule type ConfigRule struct { _ struct{} `type:"structure"` @@ -3139,7 +3139,7 @@ func (s *ConfigRule) SetSource(v *Source) *ConfigRule { // and the related error for the last failure. // // This action does not return status information about custom Config rules. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigRuleEvaluationStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigRuleEvaluationStatus type ConfigRuleEvaluationStatus struct { _ struct{} `type:"structure"` @@ -3303,7 +3303,7 @@ func (s *ConfigRuleEvaluationStatus) SetLastSuccessfulInvocationTime(v time.Time // // To update the deliveryFrequency with which AWS Config delivers your configuration // snapshots, use the PutDeliveryChannel action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigSnapshotDeliveryProperties +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigSnapshotDeliveryProperties type ConfigSnapshotDeliveryProperties struct { _ struct{} `type:"structure"` @@ -3329,7 +3329,7 @@ func (s *ConfigSnapshotDeliveryProperties) SetDeliveryFrequency(v string) *Confi // A list that contains the status of the delivery of the configuration stream // notification to the Amazon SNS topic. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigStreamDeliveryInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigStreamDeliveryInfo type ConfigStreamDeliveryInfo struct { _ struct{} `type:"structure"` @@ -3385,7 +3385,7 @@ func (s *ConfigStreamDeliveryInfo) SetLastStatusChangeTime(v time.Time) *ConfigS } // A list that contains detailed configurations of a specified resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigurationItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigurationItem type ConfigurationItem struct { _ struct{} `type:"structure"` @@ -3576,7 +3576,7 @@ func (s *ConfigurationItem) SetVersion(v string) *ConfigurationItem { // An object that represents the recording of configuration changes of an AWS // resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigurationRecorder +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigurationRecorder type ConfigurationRecorder struct { _ struct{} `type:"structure"` @@ -3636,7 +3636,7 @@ func (s *ConfigurationRecorder) SetRoleARN(v string) *ConfigurationRecorder { } // The current status of the configuration recorder. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigurationRecorderStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigurationRecorderStatus type ConfigurationRecorderStatus struct { _ struct{} `type:"structure"` @@ -3723,7 +3723,7 @@ func (s *ConfigurationRecorderStatus) SetRecording(v bool) *ConfigurationRecorde return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigRuleRequest type DeleteConfigRuleInput struct { _ struct{} `type:"structure"` @@ -3765,7 +3765,7 @@ func (s *DeleteConfigRuleInput) SetConfigRuleName(v string) *DeleteConfigRuleInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigRuleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigRuleOutput type DeleteConfigRuleOutput struct { _ struct{} `type:"structure"` } @@ -3781,7 +3781,7 @@ func (s DeleteConfigRuleOutput) GoString() string { } // The request object for the DeleteConfigurationRecorder action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationRecorderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationRecorderRequest type DeleteConfigurationRecorderInput struct { _ struct{} `type:"structure"` @@ -3825,7 +3825,7 @@ func (s *DeleteConfigurationRecorderInput) SetConfigurationRecorderName(v string return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationRecorderOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationRecorderOutput type DeleteConfigurationRecorderOutput struct { _ struct{} `type:"structure"` } @@ -3842,7 +3842,7 @@ func (s DeleteConfigurationRecorderOutput) GoString() string { // The input for the DeleteDeliveryChannel action. The action accepts the following // data in JSON format. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteDeliveryChannelRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteDeliveryChannelRequest type DeleteDeliveryChannelInput struct { _ struct{} `type:"structure"` @@ -3884,7 +3884,7 @@ func (s *DeleteDeliveryChannelInput) SetDeliveryChannelName(v string) *DeleteDel return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteDeliveryChannelOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteDeliveryChannelOutput type DeleteDeliveryChannelOutput struct { _ struct{} `type:"structure"` } @@ -3899,7 +3899,7 @@ func (s DeleteDeliveryChannelOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteEvaluationResultsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteEvaluationResultsRequest type DeleteEvaluationResultsInput struct { _ struct{} `type:"structure"` @@ -3943,7 +3943,7 @@ func (s *DeleteEvaluationResultsInput) SetConfigRuleName(v string) *DeleteEvalua // The output when you delete the evaluation results for the specified Config // rule. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteEvaluationResultsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteEvaluationResultsResponse type DeleteEvaluationResultsOutput struct { _ struct{} `type:"structure"` } @@ -3959,7 +3959,7 @@ func (s DeleteEvaluationResultsOutput) GoString() string { } // The input for the DeliverConfigSnapshot action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliverConfigSnapshotRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliverConfigSnapshotRequest type DeliverConfigSnapshotInput struct { _ struct{} `type:"structure"` @@ -4002,7 +4002,7 @@ func (s *DeliverConfigSnapshotInput) SetDeliveryChannelName(v string) *DeliverCo } // The output for the DeliverConfigSnapshot action in JSON format. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliverConfigSnapshotResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliverConfigSnapshotResponse type DeliverConfigSnapshotOutput struct { _ struct{} `type:"structure"` @@ -4028,7 +4028,7 @@ func (s *DeliverConfigSnapshotOutput) SetConfigSnapshotId(v string) *DeliverConf // The channel through which AWS Config delivers notifications and updated configuration // states. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliveryChannel +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliveryChannel type DeliveryChannel struct { _ struct{} `type:"structure"` @@ -4121,7 +4121,7 @@ func (s *DeliveryChannel) SetSnsTopicARN(v string) *DeliveryChannel { // The status of a specified delivery channel. // // Valid values: Success | Failure -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliveryChannelStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliveryChannelStatus type DeliveryChannelStatus struct { _ struct{} `type:"structure"` @@ -4175,7 +4175,7 @@ func (s *DeliveryChannelStatus) SetName(v string) *DeliveryChannelStatus { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRuleRequest type DescribeComplianceByConfigRuleInput struct { _ struct{} `type:"structure"` @@ -4220,7 +4220,7 @@ func (s *DescribeComplianceByConfigRuleInput) SetNextToken(v string) *DescribeCo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRuleResponse type DescribeComplianceByConfigRuleOutput struct { _ struct{} `type:"structure"` @@ -4254,7 +4254,7 @@ func (s *DescribeComplianceByConfigRuleOutput) SetNextToken(v string) *DescribeC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResourceRequest type DescribeComplianceByResourceInput struct { _ struct{} `type:"structure"` @@ -4339,7 +4339,7 @@ func (s *DescribeComplianceByResourceInput) SetResourceType(v string) *DescribeC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResourceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResourceResponse type DescribeComplianceByResourceOutput struct { _ struct{} `type:"structure"` @@ -4374,7 +4374,7 @@ func (s *DescribeComplianceByResourceOutput) SetNextToken(v string) *DescribeCom return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRuleEvaluationStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRuleEvaluationStatusRequest type DescribeConfigRuleEvaluationStatusInput struct { _ struct{} `type:"structure"` @@ -4426,7 +4426,7 @@ func (s *DescribeConfigRuleEvaluationStatusInput) SetNextToken(v string) *Descri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRuleEvaluationStatusResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRuleEvaluationStatusResponse type DescribeConfigRuleEvaluationStatusOutput struct { _ struct{} `type:"structure"` @@ -4460,7 +4460,7 @@ func (s *DescribeConfigRuleEvaluationStatusOutput) SetNextToken(v string) *Descr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRulesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRulesRequest type DescribeConfigRulesInput struct { _ struct{} `type:"structure"` @@ -4495,7 +4495,7 @@ func (s *DescribeConfigRulesInput) SetNextToken(v string) *DescribeConfigRulesIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRulesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRulesResponse type DescribeConfigRulesOutput struct { _ struct{} `type:"structure"` @@ -4530,7 +4530,7 @@ func (s *DescribeConfigRulesOutput) SetNextToken(v string) *DescribeConfigRulesO } // The input for the DescribeConfigurationRecorderStatus action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatusRequest type DescribeConfigurationRecorderStatusInput struct { _ struct{} `type:"structure"` @@ -4557,7 +4557,7 @@ func (s *DescribeConfigurationRecorderStatusInput) SetConfigurationRecorderNames } // The output for the DescribeConfigurationRecorderStatus action in JSON format. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatusResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatusResponse type DescribeConfigurationRecorderStatusOutput struct { _ struct{} `type:"structure"` @@ -4582,7 +4582,7 @@ func (s *DescribeConfigurationRecorderStatusOutput) SetConfigurationRecordersSta } // The input for the DescribeConfigurationRecorders action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecordersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecordersRequest type DescribeConfigurationRecordersInput struct { _ struct{} `type:"structure"` @@ -4607,7 +4607,7 @@ func (s *DescribeConfigurationRecordersInput) SetConfigurationRecorderNames(v [] } // The output for the DescribeConfigurationRecorders action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecordersResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecordersResponse type DescribeConfigurationRecordersOutput struct { _ struct{} `type:"structure"` @@ -4632,7 +4632,7 @@ func (s *DescribeConfigurationRecordersOutput) SetConfigurationRecorders(v []*Co } // The input for the DeliveryChannelStatus action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatusRequest type DescribeDeliveryChannelStatusInput struct { _ struct{} `type:"structure"` @@ -4657,7 +4657,7 @@ func (s *DescribeDeliveryChannelStatusInput) SetDeliveryChannelNames(v []*string } // The output for the DescribeDeliveryChannelStatus action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatusResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatusResponse type DescribeDeliveryChannelStatusOutput struct { _ struct{} `type:"structure"` @@ -4682,7 +4682,7 @@ func (s *DescribeDeliveryChannelStatusOutput) SetDeliveryChannelsStatus(v []*Del } // The input for the DescribeDeliveryChannels action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelsRequest type DescribeDeliveryChannelsInput struct { _ struct{} `type:"structure"` @@ -4707,7 +4707,7 @@ func (s *DescribeDeliveryChannelsInput) SetDeliveryChannelNames(v []*string) *De } // The output for the DescribeDeliveryChannels action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelsResponse type DescribeDeliveryChannelsOutput struct { _ struct{} `type:"structure"` @@ -4733,7 +4733,7 @@ func (s *DescribeDeliveryChannelsOutput) SetDeliveryChannels(v []*DeliveryChanne // Identifies an AWS resource and indicates whether it complies with the AWS // Config rule that it was evaluated against. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/Evaluation +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/Evaluation type Evaluation struct { _ struct{} `type:"structure"` @@ -4849,7 +4849,7 @@ func (s *Evaluation) SetOrderingTimestamp(v time.Time) *Evaluation { // The details of an AWS Config evaluation. Provides the AWS resource that was // evaluated, the compliance of the resource, related timestamps, and supplementary // information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/EvaluationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/EvaluationResult type EvaluationResult struct { _ struct{} `type:"structure"` @@ -4926,7 +4926,7 @@ func (s *EvaluationResult) SetResultToken(v string) *EvaluationResult { } // Uniquely identifies an evaluation result. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/EvaluationResultIdentifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/EvaluationResultIdentifier type EvaluationResultIdentifier struct { _ struct{} `type:"structure"` @@ -4965,7 +4965,7 @@ func (s *EvaluationResultIdentifier) SetOrderingTimestamp(v time.Time) *Evaluati // Identifies an AWS Config rule that evaluated an AWS resource, and provides // the type and ID of the resource that the rule evaluated. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/EvaluationResultQualifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/EvaluationResultQualifier type EvaluationResultQualifier struct { _ struct{} `type:"structure"` @@ -5007,7 +5007,7 @@ func (s *EvaluationResultQualifier) SetResourceType(v string) *EvaluationResultQ return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByConfigRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByConfigRuleRequest type GetComplianceDetailsByConfigRuleInput struct { _ struct{} `type:"structure"` @@ -5081,7 +5081,7 @@ func (s *GetComplianceDetailsByConfigRuleInput) SetNextToken(v string) *GetCompl return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByConfigRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByConfigRuleResponse type GetComplianceDetailsByConfigRuleOutput struct { _ struct{} `type:"structure"` @@ -5116,7 +5116,7 @@ func (s *GetComplianceDetailsByConfigRuleOutput) SetNextToken(v string) *GetComp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResourceRequest type GetComplianceDetailsByResourceInput struct { _ struct{} `type:"structure"` @@ -5196,7 +5196,7 @@ func (s *GetComplianceDetailsByResourceInput) SetResourceType(v string) *GetComp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResourceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResourceResponse type GetComplianceDetailsByResourceOutput struct { _ struct{} `type:"structure"` @@ -5230,7 +5230,7 @@ func (s *GetComplianceDetailsByResourceOutput) SetNextToken(v string) *GetCompli return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByConfigRuleInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByConfigRuleInput type GetComplianceSummaryByConfigRuleInput struct { _ struct{} `type:"structure"` } @@ -5245,7 +5245,7 @@ func (s GetComplianceSummaryByConfigRuleInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByConfigRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByConfigRuleResponse type GetComplianceSummaryByConfigRuleOutput struct { _ struct{} `type:"structure"` @@ -5270,7 +5270,7 @@ func (s *GetComplianceSummaryByConfigRuleOutput) SetComplianceSummary(v *Complia return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByResourceTypeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByResourceTypeRequest type GetComplianceSummaryByResourceTypeInput struct { _ struct{} `type:"structure"` @@ -5299,7 +5299,7 @@ func (s *GetComplianceSummaryByResourceTypeInput) SetResourceTypes(v []*string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByResourceTypeResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByResourceTypeResponse type GetComplianceSummaryByResourceTypeOutput struct { _ struct{} `type:"structure"` @@ -5325,7 +5325,7 @@ func (s *GetComplianceSummaryByResourceTypeOutput) SetComplianceSummariesByResou return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCountsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCountsRequest type GetDiscoveredResourceCountsInput struct { _ struct{} `type:"structure"` @@ -5379,7 +5379,7 @@ func (s *GetDiscoveredResourceCountsInput) SetResourceTypes(v []*string) *GetDis return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCountsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCountsResponse type GetDiscoveredResourceCountsOutput struct { _ struct{} `type:"structure"` @@ -5437,7 +5437,7 @@ func (s *GetDiscoveredResourceCountsOutput) SetTotalDiscoveredResources(v int64) } // The input for the GetResourceConfigHistory action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistoryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistoryRequest type GetResourceConfigHistoryInput struct { _ struct{} `type:"structure"` @@ -5543,7 +5543,7 @@ func (s *GetResourceConfigHistoryInput) SetResourceType(v string) *GetResourceCo } // The output for the GetResourceConfigHistory action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistoryResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistoryResponse type GetResourceConfigHistoryOutput struct { _ struct{} `type:"structure"` @@ -5577,7 +5577,7 @@ func (s *GetResourceConfigHistoryOutput) SetNextToken(v string) *GetResourceConf return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListDiscoveredResourcesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListDiscoveredResourcesRequest type ListDiscoveredResourcesInput struct { _ struct{} `type:"structure"` @@ -5669,7 +5669,7 @@ func (s *ListDiscoveredResourcesInput) SetResourceType(v string) *ListDiscovered return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListDiscoveredResourcesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListDiscoveredResourcesResponse type ListDiscoveredResourcesOutput struct { _ struct{} `type:"structure"` @@ -5704,7 +5704,7 @@ func (s *ListDiscoveredResourcesOutput) SetResourceIdentifiers(v []*ResourceIden return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRuleRequest type PutConfigRuleInput struct { _ struct{} `type:"structure"` @@ -5748,7 +5748,7 @@ func (s *PutConfigRuleInput) SetConfigRule(v *ConfigRule) *PutConfigRuleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRuleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRuleOutput type PutConfigRuleOutput struct { _ struct{} `type:"structure"` } @@ -5764,7 +5764,7 @@ func (s PutConfigRuleOutput) GoString() string { } // The input for the PutConfigurationRecorder action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationRecorderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationRecorderRequest type PutConfigurationRecorderInput struct { _ struct{} `type:"structure"` @@ -5809,7 +5809,7 @@ func (s *PutConfigurationRecorderInput) SetConfigurationRecorder(v *Configuratio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationRecorderOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationRecorderOutput type PutConfigurationRecorderOutput struct { _ struct{} `type:"structure"` } @@ -5825,7 +5825,7 @@ func (s PutConfigurationRecorderOutput) GoString() string { } // The input for the PutDeliveryChannel action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutDeliveryChannelRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutDeliveryChannelRequest type PutDeliveryChannelInput struct { _ struct{} `type:"structure"` @@ -5870,7 +5870,7 @@ func (s *PutDeliveryChannelInput) SetDeliveryChannel(v *DeliveryChannel) *PutDel return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutDeliveryChannelOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutDeliveryChannelOutput type PutDeliveryChannelOutput struct { _ struct{} `type:"structure"` } @@ -5885,7 +5885,7 @@ func (s PutDeliveryChannelOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutEvaluationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutEvaluationsRequest type PutEvaluationsInput struct { _ struct{} `type:"structure"` @@ -5961,7 +5961,7 @@ func (s *PutEvaluationsInput) SetTestMode(v bool) *PutEvaluationsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutEvaluationsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutEvaluationsResponse type PutEvaluationsOutput struct { _ struct{} `type:"structure"` @@ -6015,7 +6015,7 @@ func (s *PutEvaluationsOutput) SetFailedEvaluations(v []*Evaluation) *PutEvaluat // For a list of supported resource types, see Supported resource types (http://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources). // // For more information, see Selecting Which Resources AWS Config Records (http://docs.aws.amazon.com/config/latest/developerguide/select-resources.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/RecordingGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/RecordingGroup type RecordingGroup struct { _ struct{} `type:"structure"` @@ -6088,7 +6088,7 @@ func (s *RecordingGroup) SetResourceTypes(v []*string) *RecordingGroup { } // The relationship of the related resource to the main resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/Relationship +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/Relationship type Relationship struct { _ struct{} `type:"structure"` @@ -6140,7 +6140,7 @@ func (s *Relationship) SetResourceType(v string) *Relationship { } // An object that contains the resource type and the number of resources. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ResourceCount +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ResourceCount type ResourceCount struct { _ struct{} `type:"structure"` @@ -6175,7 +6175,7 @@ func (s *ResourceCount) SetResourceType(v string) *ResourceCount { // The details that identify a resource that is discovered by AWS Config, including // the resource type, ID, and (if available) the custom resource name. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ResourceIdentifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ResourceIdentifier type ResourceIdentifier struct { _ struct{} `type:"structure"` @@ -6232,7 +6232,7 @@ func (s *ResourceIdentifier) SetResourceType(v string) *ResourceIdentifier { // a scope to constrain which resources trigger an evaluation for a rule. Otherwise, // evaluations for the rule are triggered when any resource in your recording // group changes in configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/Scope +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/Scope type Scope struct { _ struct{} `type:"structure"` @@ -6311,7 +6311,7 @@ func (s *Scope) SetTagValue(v string) *Scope { // Provides the AWS Config rule owner (AWS or customer), the rule identifier, // and the events that trigger the evaluation of your AWS resources. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/Source +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/Source type Source struct { _ struct{} `type:"structure"` @@ -6387,7 +6387,7 @@ func (s *Source) SetSourceIdentifier(v string) *Source { // you want AWS Config to run evaluations for the rule if the trigger type is // periodic. You can specify the parameter values for SourceDetail only for // custom rules. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/SourceDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/SourceDetail type SourceDetail struct { _ struct{} `type:"structure"` @@ -6454,7 +6454,7 @@ func (s *SourceDetail) SetMessageType(v string) *SourceDetail { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigRulesEvaluationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigRulesEvaluationRequest type StartConfigRulesEvaluationInput struct { _ struct{} `type:"structure"` @@ -6492,7 +6492,7 @@ func (s *StartConfigRulesEvaluationInput) SetConfigRuleNames(v []*string) *Start } // The output when you start the evaluation for the specified Config rule. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigRulesEvaluationResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigRulesEvaluationResponse type StartConfigRulesEvaluationOutput struct { _ struct{} `type:"structure"` } @@ -6508,7 +6508,7 @@ func (s StartConfigRulesEvaluationOutput) GoString() string { } // The input for the StartConfigurationRecorder action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigurationRecorderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigurationRecorderRequest type StartConfigurationRecorderInput struct { _ struct{} `type:"structure"` @@ -6551,7 +6551,7 @@ func (s *StartConfigurationRecorderInput) SetConfigurationRecorderName(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigurationRecorderOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigurationRecorderOutput type StartConfigurationRecorderOutput struct { _ struct{} `type:"structure"` } @@ -6567,7 +6567,7 @@ func (s StartConfigurationRecorderOutput) GoString() string { } // The input for the StopConfigurationRecorder action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StopConfigurationRecorderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StopConfigurationRecorderRequest type StopConfigurationRecorderInput struct { _ struct{} `type:"structure"` @@ -6610,7 +6610,7 @@ func (s *StopConfigurationRecorderInput) SetConfigurationRecorderName(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StopConfigurationRecorderOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StopConfigurationRecorderOutput type StopConfigurationRecorderOutput struct { _ struct{} `type:"structure"` } diff --git a/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/api.go index e9b5704f5a5..8f66a79d2be 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/api.go @@ -36,7 +36,7 @@ const opAddTagsToResource = "AddTagsToResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource func (c *DatabaseMigrationService) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput) { op := &request.Operation{ Name: opAddTagsToResource, @@ -71,7 +71,7 @@ func (c *DatabaseMigrationService) AddTagsToResourceRequest(input *AddTagsToReso // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource func (c *DatabaseMigrationService) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error) { req, out := c.AddTagsToResourceRequest(input) return out, req.Send() @@ -118,7 +118,7 @@ const opCreateEndpoint = "CreateEndpoint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint func (c *DatabaseMigrationService) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput) { op := &request.Operation{ Name: opCreateEndpoint, @@ -166,7 +166,7 @@ func (c *DatabaseMigrationService) CreateEndpointRequest(input *CreateEndpointIn // * ErrCodeAccessDeniedFault "AccessDeniedFault" // AWS DMS was denied access to the endpoint. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint func (c *DatabaseMigrationService) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error) { req, out := c.CreateEndpointRequest(input) return out, req.Send() @@ -213,7 +213,7 @@ const opCreateEventSubscription = "CreateEventSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscription func (c *DatabaseMigrationService) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput) { op := &request.Operation{ Name: opCreateEventSubscription, @@ -273,7 +273,7 @@ func (c *DatabaseMigrationService) CreateEventSubscriptionRequest(input *CreateE // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscription func (c *DatabaseMigrationService) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error) { req, out := c.CreateEventSubscriptionRequest(input) return out, req.Send() @@ -320,7 +320,7 @@ const opCreateReplicationInstance = "CreateReplicationInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstance func (c *DatabaseMigrationService) CreateReplicationInstanceRequest(input *CreateReplicationInstanceInput) (req *request.Request, output *CreateReplicationInstanceOutput) { op := &request.Operation{ Name: opCreateReplicationInstance, @@ -381,7 +381,7 @@ func (c *DatabaseMigrationService) CreateReplicationInstanceRequest(input *Creat // * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" // AWS DMS cannot access the KMS key. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstance func (c *DatabaseMigrationService) CreateReplicationInstance(input *CreateReplicationInstanceInput) (*CreateReplicationInstanceOutput, error) { req, out := c.CreateReplicationInstanceRequest(input) return out, req.Send() @@ -428,7 +428,7 @@ const opCreateReplicationSubnetGroup = "CreateReplicationSubnetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroup func (c *DatabaseMigrationService) CreateReplicationSubnetGroupRequest(input *CreateReplicationSubnetGroupInput) (req *request.Request, output *CreateReplicationSubnetGroupOutput) { op := &request.Operation{ Name: opCreateReplicationSubnetGroup, @@ -476,7 +476,7 @@ func (c *DatabaseMigrationService) CreateReplicationSubnetGroupRequest(input *Cr // * ErrCodeInvalidSubnet "InvalidSubnet" // The subnet provided is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroup func (c *DatabaseMigrationService) CreateReplicationSubnetGroup(input *CreateReplicationSubnetGroupInput) (*CreateReplicationSubnetGroupOutput, error) { req, out := c.CreateReplicationSubnetGroupRequest(input) return out, req.Send() @@ -523,7 +523,7 @@ const opCreateReplicationTask = "CreateReplicationTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTask func (c *DatabaseMigrationService) CreateReplicationTaskRequest(input *CreateReplicationTaskInput) (req *request.Request, output *CreateReplicationTaskOutput) { op := &request.Operation{ Name: opCreateReplicationTask, @@ -571,7 +571,7 @@ func (c *DatabaseMigrationService) CreateReplicationTaskRequest(input *CreateRep // * ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault" // The quota for this resource quota has been exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTask func (c *DatabaseMigrationService) CreateReplicationTask(input *CreateReplicationTaskInput) (*CreateReplicationTaskOutput, error) { req, out := c.CreateReplicationTaskRequest(input) return out, req.Send() @@ -618,7 +618,7 @@ const opDeleteCertificate = "DeleteCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteCertificate func (c *DatabaseMigrationService) DeleteCertificateRequest(input *DeleteCertificateInput) (req *request.Request, output *DeleteCertificateOutput) { op := &request.Operation{ Name: opDeleteCertificate, @@ -654,7 +654,7 @@ func (c *DatabaseMigrationService) DeleteCertificateRequest(input *DeleteCertifi // The resource is in a state that prevents it from being used for database // migration. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteCertificate func (c *DatabaseMigrationService) DeleteCertificate(input *DeleteCertificateInput) (*DeleteCertificateOutput, error) { req, out := c.DeleteCertificateRequest(input) return out, req.Send() @@ -701,7 +701,7 @@ const opDeleteEndpoint = "DeleteEndpoint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint func (c *DatabaseMigrationService) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) { op := &request.Operation{ Name: opDeleteEndpoint, @@ -740,7 +740,7 @@ func (c *DatabaseMigrationService) DeleteEndpointRequest(input *DeleteEndpointIn // The resource is in a state that prevents it from being used for database // migration. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint func (c *DatabaseMigrationService) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) { req, out := c.DeleteEndpointRequest(input) return out, req.Send() @@ -787,7 +787,7 @@ const opDeleteEventSubscription = "DeleteEventSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscription func (c *DatabaseMigrationService) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput) { op := &request.Operation{ Name: opDeleteEventSubscription, @@ -823,7 +823,7 @@ func (c *DatabaseMigrationService) DeleteEventSubscriptionRequest(input *DeleteE // The resource is in a state that prevents it from being used for database // migration. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscription func (c *DatabaseMigrationService) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error) { req, out := c.DeleteEventSubscriptionRequest(input) return out, req.Send() @@ -870,7 +870,7 @@ const opDeleteReplicationInstance = "DeleteReplicationInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstance func (c *DatabaseMigrationService) DeleteReplicationInstanceRequest(input *DeleteReplicationInstanceInput) (req *request.Request, output *DeleteReplicationInstanceOutput) { op := &request.Operation{ Name: opDeleteReplicationInstance, @@ -909,7 +909,7 @@ func (c *DatabaseMigrationService) DeleteReplicationInstanceRequest(input *Delet // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstance func (c *DatabaseMigrationService) DeleteReplicationInstance(input *DeleteReplicationInstanceInput) (*DeleteReplicationInstanceOutput, error) { req, out := c.DeleteReplicationInstanceRequest(input) return out, req.Send() @@ -956,7 +956,7 @@ const opDeleteReplicationSubnetGroup = "DeleteReplicationSubnetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroup func (c *DatabaseMigrationService) DeleteReplicationSubnetGroupRequest(input *DeleteReplicationSubnetGroupInput) (req *request.Request, output *DeleteReplicationSubnetGroupOutput) { op := &request.Operation{ Name: opDeleteReplicationSubnetGroup, @@ -992,7 +992,7 @@ func (c *DatabaseMigrationService) DeleteReplicationSubnetGroupRequest(input *De // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroup func (c *DatabaseMigrationService) DeleteReplicationSubnetGroup(input *DeleteReplicationSubnetGroupInput) (*DeleteReplicationSubnetGroupOutput, error) { req, out := c.DeleteReplicationSubnetGroupRequest(input) return out, req.Send() @@ -1039,7 +1039,7 @@ const opDeleteReplicationTask = "DeleteReplicationTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTask func (c *DatabaseMigrationService) DeleteReplicationTaskRequest(input *DeleteReplicationTaskInput) (req *request.Request, output *DeleteReplicationTaskOutput) { op := &request.Operation{ Name: opDeleteReplicationTask, @@ -1075,7 +1075,7 @@ func (c *DatabaseMigrationService) DeleteReplicationTaskRequest(input *DeleteRep // The resource is in a state that prevents it from being used for database // migration. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTask func (c *DatabaseMigrationService) DeleteReplicationTask(input *DeleteReplicationTaskInput) (*DeleteReplicationTaskOutput, error) { req, out := c.DeleteReplicationTaskRequest(input) return out, req.Send() @@ -1122,7 +1122,7 @@ const opDescribeAccountAttributes = "DescribeAccountAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeAccountAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeAccountAttributes func (c *DatabaseMigrationService) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) { op := &request.Operation{ Name: opDescribeAccountAttributes, @@ -1154,7 +1154,7 @@ func (c *DatabaseMigrationService) DescribeAccountAttributesRequest(input *Descr // // See the AWS API reference guide for AWS Database Migration Service's // API operation DescribeAccountAttributes for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeAccountAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeAccountAttributes func (c *DatabaseMigrationService) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error) { req, out := c.DescribeAccountAttributesRequest(input) return out, req.Send() @@ -1201,7 +1201,7 @@ const opDescribeCertificates = "DescribeCertificates" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates func (c *DatabaseMigrationService) DescribeCertificatesRequest(input *DescribeCertificatesInput) (req *request.Request, output *DescribeCertificatesOutput) { op := &request.Operation{ Name: opDescribeCertificates, @@ -1239,7 +1239,7 @@ func (c *DatabaseMigrationService) DescribeCertificatesRequest(input *DescribeCe // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates func (c *DatabaseMigrationService) DescribeCertificates(input *DescribeCertificatesInput) (*DescribeCertificatesOutput, error) { req, out := c.DescribeCertificatesRequest(input) return out, req.Send() @@ -1336,7 +1336,7 @@ const opDescribeConnections = "DescribeConnections" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections func (c *DatabaseMigrationService) DescribeConnectionsRequest(input *DescribeConnectionsInput) (req *request.Request, output *DescribeConnectionsOutput) { op := &request.Operation{ Name: opDescribeConnections, @@ -1375,7 +1375,7 @@ func (c *DatabaseMigrationService) DescribeConnectionsRequest(input *DescribeCon // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections func (c *DatabaseMigrationService) DescribeConnections(input *DescribeConnectionsInput) (*DescribeConnectionsOutput, error) { req, out := c.DescribeConnectionsRequest(input) return out, req.Send() @@ -1472,7 +1472,7 @@ const opDescribeEndpointTypes = "DescribeEndpointTypes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypes func (c *DatabaseMigrationService) DescribeEndpointTypesRequest(input *DescribeEndpointTypesInput) (req *request.Request, output *DescribeEndpointTypesOutput) { op := &request.Operation{ Name: opDescribeEndpointTypes, @@ -1505,7 +1505,7 @@ func (c *DatabaseMigrationService) DescribeEndpointTypesRequest(input *DescribeE // // See the AWS API reference guide for AWS Database Migration Service's // API operation DescribeEndpointTypes for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypes func (c *DatabaseMigrationService) DescribeEndpointTypes(input *DescribeEndpointTypesInput) (*DescribeEndpointTypesOutput, error) { req, out := c.DescribeEndpointTypesRequest(input) return out, req.Send() @@ -1602,7 +1602,7 @@ const opDescribeEndpoints = "DescribeEndpoints" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpoints +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpoints func (c *DatabaseMigrationService) DescribeEndpointsRequest(input *DescribeEndpointsInput) (req *request.Request, output *DescribeEndpointsOutput) { op := &request.Operation{ Name: opDescribeEndpoints, @@ -1640,7 +1640,7 @@ func (c *DatabaseMigrationService) DescribeEndpointsRequest(input *DescribeEndpo // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpoints +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpoints func (c *DatabaseMigrationService) DescribeEndpoints(input *DescribeEndpointsInput) (*DescribeEndpointsOutput, error) { req, out := c.DescribeEndpointsRequest(input) return out, req.Send() @@ -1737,7 +1737,7 @@ const opDescribeEventCategories = "DescribeEventCategories" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategories +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategories func (c *DatabaseMigrationService) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput) { op := &request.Operation{ Name: opDescribeEventCategories, @@ -1767,7 +1767,7 @@ func (c *DatabaseMigrationService) DescribeEventCategoriesRequest(input *Describ // // See the AWS API reference guide for AWS Database Migration Service's // API operation DescribeEventCategories for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategories +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategories func (c *DatabaseMigrationService) DescribeEventCategories(input *DescribeEventCategoriesInput) (*DescribeEventCategoriesOutput, error) { req, out := c.DescribeEventCategoriesRequest(input) return out, req.Send() @@ -1814,7 +1814,7 @@ const opDescribeEventSubscriptions = "DescribeEventSubscriptions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptions func (c *DatabaseMigrationService) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput) { op := &request.Operation{ Name: opDescribeEventSubscriptions, @@ -1857,7 +1857,7 @@ func (c *DatabaseMigrationService) DescribeEventSubscriptionsRequest(input *Desc // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptions func (c *DatabaseMigrationService) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error) { req, out := c.DescribeEventSubscriptionsRequest(input) return out, req.Send() @@ -1954,7 +1954,7 @@ const opDescribeEvents = "DescribeEvents" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEvents func (c *DatabaseMigrationService) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { op := &request.Operation{ Name: opDescribeEvents, @@ -1989,7 +1989,7 @@ func (c *DatabaseMigrationService) DescribeEventsRequest(input *DescribeEventsIn // // See the AWS API reference guide for AWS Database Migration Service's // API operation DescribeEvents for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEvents func (c *DatabaseMigrationService) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) { req, out := c.DescribeEventsRequest(input) return out, req.Send() @@ -2086,7 +2086,7 @@ const opDescribeOrderableReplicationInstances = "DescribeOrderableReplicationIns // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstances func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesRequest(input *DescribeOrderableReplicationInstancesInput) (req *request.Request, output *DescribeOrderableReplicationInstancesOutput) { op := &request.Operation{ Name: opDescribeOrderableReplicationInstances, @@ -2120,7 +2120,7 @@ func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesRequest( // // See the AWS API reference guide for AWS Database Migration Service's // API operation DescribeOrderableReplicationInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstances func (c *DatabaseMigrationService) DescribeOrderableReplicationInstances(input *DescribeOrderableReplicationInstancesInput) (*DescribeOrderableReplicationInstancesOutput, error) { req, out := c.DescribeOrderableReplicationInstancesRequest(input) return out, req.Send() @@ -2217,7 +2217,7 @@ const opDescribeRefreshSchemasStatus = "DescribeRefreshSchemasStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatus func (c *DatabaseMigrationService) DescribeRefreshSchemasStatusRequest(input *DescribeRefreshSchemasStatusInput) (req *request.Request, output *DescribeRefreshSchemasStatusOutput) { op := &request.Operation{ Name: opDescribeRefreshSchemasStatus, @@ -2253,7 +2253,7 @@ func (c *DatabaseMigrationService) DescribeRefreshSchemasStatusRequest(input *De // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatus func (c *DatabaseMigrationService) DescribeRefreshSchemasStatus(input *DescribeRefreshSchemasStatusInput) (*DescribeRefreshSchemasStatusOutput, error) { req, out := c.DescribeRefreshSchemasStatusRequest(input) return out, req.Send() @@ -2300,7 +2300,7 @@ const opDescribeReplicationInstances = "DescribeReplicationInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstances func (c *DatabaseMigrationService) DescribeReplicationInstancesRequest(input *DescribeReplicationInstancesInput) (req *request.Request, output *DescribeReplicationInstancesOutput) { op := &request.Operation{ Name: opDescribeReplicationInstances, @@ -2339,7 +2339,7 @@ func (c *DatabaseMigrationService) DescribeReplicationInstancesRequest(input *De // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstances func (c *DatabaseMigrationService) DescribeReplicationInstances(input *DescribeReplicationInstancesInput) (*DescribeReplicationInstancesOutput, error) { req, out := c.DescribeReplicationInstancesRequest(input) return out, req.Send() @@ -2436,7 +2436,7 @@ const opDescribeReplicationSubnetGroups = "DescribeReplicationSubnetGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroups func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsRequest(input *DescribeReplicationSubnetGroupsInput) (req *request.Request, output *DescribeReplicationSubnetGroupsOutput) { op := &request.Operation{ Name: opDescribeReplicationSubnetGroups, @@ -2474,7 +2474,7 @@ func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsRequest(input // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroups func (c *DatabaseMigrationService) DescribeReplicationSubnetGroups(input *DescribeReplicationSubnetGroupsInput) (*DescribeReplicationSubnetGroupsOutput, error) { req, out := c.DescribeReplicationSubnetGroupsRequest(input) return out, req.Send() @@ -2546,6 +2546,142 @@ func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsPagesWithConte return p.Err() } +const opDescribeReplicationTaskAssessmentResults = "DescribeReplicationTaskAssessmentResults" + +// DescribeReplicationTaskAssessmentResultsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeReplicationTaskAssessmentResults operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeReplicationTaskAssessmentResults for more information on using the DescribeReplicationTaskAssessmentResults +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeReplicationTaskAssessmentResultsRequest method. +// req, resp := client.DescribeReplicationTaskAssessmentResultsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentResults +func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsRequest(input *DescribeReplicationTaskAssessmentResultsInput) (req *request.Request, output *DescribeReplicationTaskAssessmentResultsOutput) { + op := &request.Operation{ + Name: opDescribeReplicationTaskAssessmentResults, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeReplicationTaskAssessmentResultsInput{} + } + + output = &DescribeReplicationTaskAssessmentResultsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeReplicationTaskAssessmentResults API operation for AWS Database Migration Service. +// +// Returns the task assessment results from Amazon S3. This action always returns +// the latest results. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Database Migration Service's +// API operation DescribeReplicationTaskAssessmentResults for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The resource could not be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentResults +func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResults(input *DescribeReplicationTaskAssessmentResultsInput) (*DescribeReplicationTaskAssessmentResultsOutput, error) { + req, out := c.DescribeReplicationTaskAssessmentResultsRequest(input) + return out, req.Send() +} + +// DescribeReplicationTaskAssessmentResultsWithContext is the same as DescribeReplicationTaskAssessmentResults with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeReplicationTaskAssessmentResults for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsWithContext(ctx aws.Context, input *DescribeReplicationTaskAssessmentResultsInput, opts ...request.Option) (*DescribeReplicationTaskAssessmentResultsOutput, error) { + req, out := c.DescribeReplicationTaskAssessmentResultsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeReplicationTaskAssessmentResultsPages iterates over the pages of a DescribeReplicationTaskAssessmentResults operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeReplicationTaskAssessmentResults method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeReplicationTaskAssessmentResults operation. +// pageNum := 0 +// err := client.DescribeReplicationTaskAssessmentResultsPages(params, +// func(page *DescribeReplicationTaskAssessmentResultsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsPages(input *DescribeReplicationTaskAssessmentResultsInput, fn func(*DescribeReplicationTaskAssessmentResultsOutput, bool) bool) error { + return c.DescribeReplicationTaskAssessmentResultsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeReplicationTaskAssessmentResultsPagesWithContext same as DescribeReplicationTaskAssessmentResultsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsPagesWithContext(ctx aws.Context, input *DescribeReplicationTaskAssessmentResultsInput, fn func(*DescribeReplicationTaskAssessmentResultsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeReplicationTaskAssessmentResultsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeReplicationTaskAssessmentResultsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*DescribeReplicationTaskAssessmentResultsOutput), !p.HasNextPage()) + } + return p.Err() +} + const opDescribeReplicationTasks = "DescribeReplicationTasks" // DescribeReplicationTasksRequest generates a "aws/request.Request" representing the @@ -2571,7 +2707,7 @@ const opDescribeReplicationTasks = "DescribeReplicationTasks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasks func (c *DatabaseMigrationService) DescribeReplicationTasksRequest(input *DescribeReplicationTasksInput) (req *request.Request, output *DescribeReplicationTasksOutput) { op := &request.Operation{ Name: opDescribeReplicationTasks, @@ -2610,7 +2746,7 @@ func (c *DatabaseMigrationService) DescribeReplicationTasksRequest(input *Descri // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasks func (c *DatabaseMigrationService) DescribeReplicationTasks(input *DescribeReplicationTasksInput) (*DescribeReplicationTasksOutput, error) { req, out := c.DescribeReplicationTasksRequest(input) return out, req.Send() @@ -2707,7 +2843,7 @@ const opDescribeSchemas = "DescribeSchemas" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemas +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemas func (c *DatabaseMigrationService) DescribeSchemasRequest(input *DescribeSchemasInput) (req *request.Request, output *DescribeSchemasOutput) { op := &request.Operation{ Name: opDescribeSchemas, @@ -2749,7 +2885,7 @@ func (c *DatabaseMigrationService) DescribeSchemasRequest(input *DescribeSchemas // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemas +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemas func (c *DatabaseMigrationService) DescribeSchemas(input *DescribeSchemasInput) (*DescribeSchemasOutput, error) { req, out := c.DescribeSchemasRequest(input) return out, req.Send() @@ -2846,7 +2982,7 @@ const opDescribeTableStatistics = "DescribeTableStatistics" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatistics +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatistics func (c *DatabaseMigrationService) DescribeTableStatisticsRequest(input *DescribeTableStatisticsInput) (req *request.Request, output *DescribeTableStatisticsOutput) { op := &request.Operation{ Name: opDescribeTableStatistics, @@ -2893,7 +3029,7 @@ func (c *DatabaseMigrationService) DescribeTableStatisticsRequest(input *Describ // The resource is in a state that prevents it from being used for database // migration. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatistics +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatistics func (c *DatabaseMigrationService) DescribeTableStatistics(input *DescribeTableStatisticsInput) (*DescribeTableStatisticsOutput, error) { req, out := c.DescribeTableStatisticsRequest(input) return out, req.Send() @@ -2990,7 +3126,7 @@ const opImportCertificate = "ImportCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificate func (c *DatabaseMigrationService) ImportCertificateRequest(input *ImportCertificateInput) (req *request.Request, output *ImportCertificateOutput) { op := &request.Operation{ Name: opImportCertificate, @@ -3025,7 +3161,7 @@ func (c *DatabaseMigrationService) ImportCertificateRequest(input *ImportCertifi // * ErrCodeInvalidCertificateFault "InvalidCertificateFault" // The certificate was not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificate func (c *DatabaseMigrationService) ImportCertificate(input *ImportCertificateInput) (*ImportCertificateOutput, error) { req, out := c.ImportCertificateRequest(input) return out, req.Send() @@ -3072,7 +3208,7 @@ const opListTagsForResource = "ListTagsForResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResource func (c *DatabaseMigrationService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ Name: opListTagsForResource, @@ -3104,7 +3240,7 @@ func (c *DatabaseMigrationService) ListTagsForResourceRequest(input *ListTagsFor // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResource func (c *DatabaseMigrationService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { req, out := c.ListTagsForResourceRequest(input) return out, req.Send() @@ -3151,7 +3287,7 @@ const opModifyEndpoint = "ModifyEndpoint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint func (c *DatabaseMigrationService) ModifyEndpointRequest(input *ModifyEndpointInput) (req *request.Request, output *ModifyEndpointOutput) { op := &request.Operation{ Name: opModifyEndpoint, @@ -3196,7 +3332,7 @@ func (c *DatabaseMigrationService) ModifyEndpointRequest(input *ModifyEndpointIn // * ErrCodeAccessDeniedFault "AccessDeniedFault" // AWS DMS was denied access to the endpoint. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint func (c *DatabaseMigrationService) ModifyEndpoint(input *ModifyEndpointInput) (*ModifyEndpointOutput, error) { req, out := c.ModifyEndpointRequest(input) return out, req.Send() @@ -3243,7 +3379,7 @@ const opModifyEventSubscription = "ModifyEventSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscription func (c *DatabaseMigrationService) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput) { op := &request.Operation{ Name: opModifyEventSubscription, @@ -3284,7 +3420,7 @@ func (c *DatabaseMigrationService) ModifyEventSubscriptionRequest(input *ModifyE // * ErrCodeSNSNoAuthorizationFault "SNSNoAuthorizationFault" // You are not authorized for the SNS subscription. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscription func (c *DatabaseMigrationService) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error) { req, out := c.ModifyEventSubscriptionRequest(input) return out, req.Send() @@ -3331,7 +3467,7 @@ const opModifyReplicationInstance = "ModifyReplicationInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstance func (c *DatabaseMigrationService) ModifyReplicationInstanceRequest(input *ModifyReplicationInstanceInput) (req *request.Request, output *ModifyReplicationInstanceOutput) { op := &request.Operation{ Name: opModifyReplicationInstance, @@ -3383,7 +3519,7 @@ func (c *DatabaseMigrationService) ModifyReplicationInstanceRequest(input *Modif // * ErrCodeUpgradeDependencyFailureFault "UpgradeDependencyFailureFault" // An upgrade dependency is preventing the database migration. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstance func (c *DatabaseMigrationService) ModifyReplicationInstance(input *ModifyReplicationInstanceInput) (*ModifyReplicationInstanceOutput, error) { req, out := c.ModifyReplicationInstanceRequest(input) return out, req.Send() @@ -3430,7 +3566,7 @@ const opModifyReplicationSubnetGroup = "ModifyReplicationSubnetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroup func (c *DatabaseMigrationService) ModifyReplicationSubnetGroupRequest(input *ModifyReplicationSubnetGroupInput) (req *request.Request, output *ModifyReplicationSubnetGroupOutput) { op := &request.Operation{ Name: opModifyReplicationSubnetGroup, @@ -3478,7 +3614,7 @@ func (c *DatabaseMigrationService) ModifyReplicationSubnetGroupRequest(input *Mo // * ErrCodeInvalidSubnet "InvalidSubnet" // The subnet provided is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroup func (c *DatabaseMigrationService) ModifyReplicationSubnetGroup(input *ModifyReplicationSubnetGroupInput) (*ModifyReplicationSubnetGroupOutput, error) { req, out := c.ModifyReplicationSubnetGroupRequest(input) return out, req.Send() @@ -3525,7 +3661,7 @@ const opModifyReplicationTask = "ModifyReplicationTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTask func (c *DatabaseMigrationService) ModifyReplicationTaskRequest(input *ModifyReplicationTaskInput) (req *request.Request, output *ModifyReplicationTaskOutput) { op := &request.Operation{ Name: opModifyReplicationTask, @@ -3573,7 +3709,7 @@ func (c *DatabaseMigrationService) ModifyReplicationTaskRequest(input *ModifyRep // * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" // AWS DMS cannot access the KMS key. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTask func (c *DatabaseMigrationService) ModifyReplicationTask(input *ModifyReplicationTaskInput) (*ModifyReplicationTaskOutput, error) { req, out := c.ModifyReplicationTaskRequest(input) return out, req.Send() @@ -3620,7 +3756,7 @@ const opRefreshSchemas = "RefreshSchemas" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemas +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemas func (c *DatabaseMigrationService) RefreshSchemasRequest(input *RefreshSchemasInput) (req *request.Request, output *RefreshSchemasOutput) { op := &request.Operation{ Name: opRefreshSchemas, @@ -3664,7 +3800,7 @@ func (c *DatabaseMigrationService) RefreshSchemasRequest(input *RefreshSchemasIn // * ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault" // The quota for this resource quota has been exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemas +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemas func (c *DatabaseMigrationService) RefreshSchemas(input *RefreshSchemasInput) (*RefreshSchemasOutput, error) { req, out := c.RefreshSchemasRequest(input) return out, req.Send() @@ -3711,7 +3847,7 @@ const opReloadTables = "ReloadTables" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTables +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTables func (c *DatabaseMigrationService) ReloadTablesRequest(input *ReloadTablesInput) (req *request.Request, output *ReloadTablesOutput) { op := &request.Operation{ Name: opReloadTables, @@ -3747,7 +3883,7 @@ func (c *DatabaseMigrationService) ReloadTablesRequest(input *ReloadTablesInput) // The resource is in a state that prevents it from being used for database // migration. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTables +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTables func (c *DatabaseMigrationService) ReloadTables(input *ReloadTablesInput) (*ReloadTablesOutput, error) { req, out := c.ReloadTablesRequest(input) return out, req.Send() @@ -3794,7 +3930,7 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResource func (c *DatabaseMigrationService) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput) { op := &request.Operation{ Name: opRemoveTagsFromResource, @@ -3826,7 +3962,7 @@ func (c *DatabaseMigrationService) RemoveTagsFromResourceRequest(input *RemoveTa // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResource func (c *DatabaseMigrationService) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error) { req, out := c.RemoveTagsFromResourceRequest(input) return out, req.Send() @@ -3873,7 +4009,7 @@ const opStartReplicationTask = "StartReplicationTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTask func (c *DatabaseMigrationService) StartReplicationTaskRequest(input *StartReplicationTaskInput) (req *request.Request, output *StartReplicationTaskOutput) { op := &request.Operation{ Name: opStartReplicationTask, @@ -3912,7 +4048,7 @@ func (c *DatabaseMigrationService) StartReplicationTaskRequest(input *StartRepli // The resource is in a state that prevents it from being used for database // migration. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTask func (c *DatabaseMigrationService) StartReplicationTask(input *StartReplicationTaskInput) (*StartReplicationTaskOutput, error) { req, out := c.StartReplicationTaskRequest(input) return out, req.Send() @@ -3934,6 +4070,90 @@ func (c *DatabaseMigrationService) StartReplicationTaskWithContext(ctx aws.Conte return out, req.Send() } +const opStartReplicationTaskAssessment = "StartReplicationTaskAssessment" + +// StartReplicationTaskAssessmentRequest generates a "aws/request.Request" representing the +// client's request for the StartReplicationTaskAssessment operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartReplicationTaskAssessment for more information on using the StartReplicationTaskAssessment +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StartReplicationTaskAssessmentRequest method. +// req, resp := client.StartReplicationTaskAssessmentRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessment +func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRequest(input *StartReplicationTaskAssessmentInput) (req *request.Request, output *StartReplicationTaskAssessmentOutput) { + op := &request.Operation{ + Name: opStartReplicationTaskAssessment, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StartReplicationTaskAssessmentInput{} + } + + output = &StartReplicationTaskAssessmentOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartReplicationTaskAssessment API operation for AWS Database Migration Service. +// +// Starts the replication task assessment for unsupported data types in the +// source database. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Database Migration Service's +// API operation StartReplicationTaskAssessment for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault" +// The resource is in a state that prevents it from being used for database +// migration. +// +// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The resource could not be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessment +func (c *DatabaseMigrationService) StartReplicationTaskAssessment(input *StartReplicationTaskAssessmentInput) (*StartReplicationTaskAssessmentOutput, error) { + req, out := c.StartReplicationTaskAssessmentRequest(input) + return out, req.Send() +} + +// StartReplicationTaskAssessmentWithContext is the same as StartReplicationTaskAssessment with the addition of +// the ability to pass a context and additional request options. +// +// See StartReplicationTaskAssessment for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DatabaseMigrationService) StartReplicationTaskAssessmentWithContext(ctx aws.Context, input *StartReplicationTaskAssessmentInput, opts ...request.Option) (*StartReplicationTaskAssessmentOutput, error) { + req, out := c.StartReplicationTaskAssessmentRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opStopReplicationTask = "StopReplicationTask" // StopReplicationTaskRequest generates a "aws/request.Request" representing the @@ -3959,7 +4179,7 @@ const opStopReplicationTask = "StopReplicationTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTask func (c *DatabaseMigrationService) StopReplicationTaskRequest(input *StopReplicationTaskInput) (req *request.Request, output *StopReplicationTaskOutput) { op := &request.Operation{ Name: opStopReplicationTask, @@ -3995,7 +4215,7 @@ func (c *DatabaseMigrationService) StopReplicationTaskRequest(input *StopReplica // The resource is in a state that prevents it from being used for database // migration. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTask func (c *DatabaseMigrationService) StopReplicationTask(input *StopReplicationTaskInput) (*StopReplicationTaskOutput, error) { req, out := c.StopReplicationTaskRequest(input) return out, req.Send() @@ -4042,7 +4262,7 @@ const opTestConnection = "TestConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnection func (c *DatabaseMigrationService) TestConnectionRequest(input *TestConnectionInput) (req *request.Request, output *TestConnectionOutput) { op := &request.Operation{ Name: opTestConnection, @@ -4084,7 +4304,7 @@ func (c *DatabaseMigrationService) TestConnectionRequest(input *TestConnectionIn // * ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault" // The quota for this resource quota has been exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnection func (c *DatabaseMigrationService) TestConnection(input *TestConnectionInput) (*TestConnectionOutput, error) { req, out := c.TestConnectionRequest(input) return out, req.Send() @@ -4108,7 +4328,7 @@ func (c *DatabaseMigrationService) TestConnectionWithContext(ctx aws.Context, in // Describes a quota for an AWS account, for example, the number of replication // instances allowed. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AccountQuota +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AccountQuota type AccountQuota struct { _ struct{} `type:"structure"` @@ -4150,7 +4370,7 @@ func (s *AccountQuota) SetUsed(v int64) *AccountQuota { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResourceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResourceMessage type AddTagsToResourceInput struct { _ struct{} `type:"structure"` @@ -4164,7 +4384,7 @@ type AddTagsToResourceInput struct { // The tag to be assigned to the DMS resource. // // Tags is a required field - Tags []*Tag `locationNameList:"Tag" type:"list" required:"true"` + Tags []*Tag `type:"list" required:"true"` } // String returns the string representation @@ -4205,7 +4425,7 @@ func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResourceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResourceResponse type AddTagsToResourceOutput struct { _ struct{} `type:"structure"` } @@ -4220,7 +4440,7 @@ func (s AddTagsToResourceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AvailabilityZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AvailabilityZone type AvailabilityZone struct { _ struct{} `type:"structure"` @@ -4246,7 +4466,7 @@ func (s *AvailabilityZone) SetName(v string) *AvailabilityZone { // The SSL certificate that can be used to encrypt connections between the endpoints // and the replication instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Certificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Certificate type Certificate struct { _ struct{} `type:"structure"` @@ -4354,7 +4574,7 @@ func (s *Certificate) SetValidToDate(v time.Time) *Certificate { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Connection +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Connection type Connection struct { _ struct{} `type:"structure"` @@ -4426,11 +4646,11 @@ func (s *Connection) SetStatus(v string) *Connection { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpointMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpointMessage type CreateEndpointInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Number (ARN) for the certificate. + // The Amazon Resource Name (ARN) for the certificate. CertificateArn *string `type:"string"` // The name of the endpoint database. @@ -4499,7 +4719,7 @@ type CreateEndpointInput struct { SslMode *string `type:"string" enum:"DmsSslModeValue"` // Tags to be added to the endpoint. - Tags []*Tag `locationNameList:"Tag" type:"list"` + Tags []*Tag `type:"list"` // The user name to be used to login to the endpoint database. Username *string `type:"string"` @@ -4635,7 +4855,7 @@ func (s *CreateEndpointInput) SetUsername(v string) *CreateEndpointInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpointResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpointResponse type CreateEndpointOutput struct { _ struct{} `type:"structure"` @@ -4659,7 +4879,7 @@ func (s *CreateEndpointOutput) SetEndpoint(v *Endpoint) *CreateEndpointOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscriptionMessage type CreateEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -4672,7 +4892,7 @@ type CreateEventSubscriptionInput struct { // DescribeEventCategories action or in the topic Working with Events and Notifications // (http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html) in the // AWS Database Migration Service User Guide. - EventCategories []*string `locationNameList:"EventCategory" type:"list"` + EventCategories []*string `type:"list"` // The Amazon Resource Name (ARN) of the Amazon SNS topic created for event // notification. The ARN is created by Amazon SNS when you create a topic and @@ -4685,7 +4905,7 @@ type CreateEventSubscriptionInput struct { // If not specified, then all sources are included in the response. An identifier // must begin with a letter and must contain only ASCII letters, digits, and // hyphens; it cannot end with a hyphen or contain two consecutive hyphens. - SourceIds []*string `locationNameList:"SourceId" type:"list"` + SourceIds []*string `type:"list"` // The type of AWS DMS resource that generates the events. For example, if you // want to be notified of events generated by a replication instance, you set @@ -4703,7 +4923,7 @@ type CreateEventSubscriptionInput struct { SubscriptionName *string `type:"string" required:"true"` // A tag to be attached to the event subscription. - Tags []*Tag `locationNameList:"Tag" type:"list"` + Tags []*Tag `type:"list"` } // String returns the string representation @@ -4774,7 +4994,7 @@ func (s *CreateEventSubscriptionInput) SetTags(v []*Tag) *CreateEventSubscriptio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscriptionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscriptionResponse type CreateEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -4798,7 +5018,7 @@ func (s *CreateEventSubscriptionOutput) SetEventSubscription(v *EventSubscriptio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstanceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstanceMessage type CreateReplicationInstanceInput struct { _ struct{} `type:"structure"` @@ -4880,12 +5100,12 @@ type CreateReplicationInstanceInput struct { ReplicationSubnetGroupIdentifier *string `type:"string"` // Tags to be associated with the replication instance. - Tags []*Tag `locationNameList:"Tag" type:"list"` + Tags []*Tag `type:"list"` // Specifies the VPC security group to be used with the replication instance. // The VPC security group must work with the VPC containing the replication // instance. - VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"` + VpcSecurityGroupIds []*string `type:"list"` } // String returns the string representation @@ -4992,7 +5212,7 @@ func (s *CreateReplicationInstanceInput) SetVpcSecurityGroupIds(v []*string) *Cr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstanceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstanceResponse type CreateReplicationInstanceOutput struct { _ struct{} `type:"structure"` @@ -5016,7 +5236,7 @@ func (s *CreateReplicationInstanceOutput) SetReplicationInstance(v *ReplicationI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroupMessage type CreateReplicationSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -5039,10 +5259,10 @@ type CreateReplicationSubnetGroupInput struct { // The EC2 subnet IDs for the subnet group. // // SubnetIds is a required field - SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` + SubnetIds []*string `type:"list" required:"true"` // The tag to be assigned to the subnet group. - Tags []*Tag `locationNameList:"Tag" type:"list"` + Tags []*Tag `type:"list"` } // String returns the string representation @@ -5098,7 +5318,7 @@ func (s *CreateReplicationSubnetGroupInput) SetTags(v []*Tag) *CreateReplication return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroupResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroupResponse type CreateReplicationSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -5122,7 +5342,7 @@ func (s *CreateReplicationSubnetGroupOutput) SetReplicationSubnetGroup(v *Replic return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTaskMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTaskMessage type CreateReplicationTaskInput struct { _ struct{} `type:"structure"` @@ -5172,7 +5392,7 @@ type CreateReplicationTaskInput struct { TableMappings *string `type:"string" required:"true"` // Tags to be added to the replication instance. - Tags []*Tag `locationNameList:"Tag" type:"list"` + Tags []*Tag `type:"list"` // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. // @@ -5272,7 +5492,7 @@ func (s *CreateReplicationTaskInput) SetTargetEndpointArn(v string) *CreateRepli return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTaskResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTaskResponse type CreateReplicationTaskOutput struct { _ struct{} `type:"structure"` @@ -5296,7 +5516,7 @@ func (s *CreateReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *Cr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteCertificateMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteCertificateMessage type DeleteCertificateInput struct { _ struct{} `type:"structure"` @@ -5335,7 +5555,7 @@ func (s *DeleteCertificateInput) SetCertificateArn(v string) *DeleteCertificateI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteCertificateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteCertificateResponse type DeleteCertificateOutput struct { _ struct{} `type:"structure"` @@ -5359,7 +5579,7 @@ func (s *DeleteCertificateOutput) SetCertificate(v *Certificate) *DeleteCertific return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpointMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpointMessage type DeleteEndpointInput struct { _ struct{} `type:"structure"` @@ -5398,7 +5618,7 @@ func (s *DeleteEndpointInput) SetEndpointArn(v string) *DeleteEndpointInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpointResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpointResponse type DeleteEndpointOutput struct { _ struct{} `type:"structure"` @@ -5422,7 +5642,7 @@ func (s *DeleteEndpointOutput) SetEndpoint(v *Endpoint) *DeleteEndpointOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscriptionMessage type DeleteEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -5461,7 +5681,7 @@ func (s *DeleteEventSubscriptionInput) SetSubscriptionName(v string) *DeleteEven return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscriptionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscriptionResponse type DeleteEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -5485,7 +5705,7 @@ func (s *DeleteEventSubscriptionOutput) SetEventSubscription(v *EventSubscriptio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstanceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstanceMessage type DeleteReplicationInstanceInput struct { _ struct{} `type:"structure"` @@ -5524,7 +5744,7 @@ func (s *DeleteReplicationInstanceInput) SetReplicationInstanceArn(v string) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstanceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstanceResponse type DeleteReplicationInstanceOutput struct { _ struct{} `type:"structure"` @@ -5548,7 +5768,7 @@ func (s *DeleteReplicationInstanceOutput) SetReplicationInstance(v *ReplicationI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroupMessage type DeleteReplicationSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -5587,7 +5807,7 @@ func (s *DeleteReplicationSubnetGroupInput) SetReplicationSubnetGroupIdentifier( return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroupResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroupResponse type DeleteReplicationSubnetGroupOutput struct { _ struct{} `type:"structure"` } @@ -5602,7 +5822,7 @@ func (s DeleteReplicationSubnetGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTaskMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTaskMessage type DeleteReplicationTaskInput struct { _ struct{} `type:"structure"` @@ -5641,7 +5861,7 @@ func (s *DeleteReplicationTaskInput) SetReplicationTaskArn(v string) *DeleteRepl return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTaskResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTaskResponse type DeleteReplicationTaskOutput struct { _ struct{} `type:"structure"` @@ -5665,7 +5885,7 @@ func (s *DeleteReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeAccountAttributesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeAccountAttributesMessage type DescribeAccountAttributesInput struct { _ struct{} `type:"structure"` } @@ -5680,12 +5900,12 @@ func (s DescribeAccountAttributesInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeAccountAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeAccountAttributesResponse type DescribeAccountAttributesOutput struct { _ struct{} `type:"structure"` // Account quota information. - AccountQuotas []*AccountQuota `locationNameList:"AccountQuota" type:"list"` + AccountQuotas []*AccountQuota `type:"list"` } // String returns the string representation @@ -5704,12 +5924,12 @@ func (s *DescribeAccountAttributesOutput) SetAccountQuotas(v []*AccountQuota) *D return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificatesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificatesMessage type DescribeCertificatesInput struct { _ struct{} `type:"structure"` // Filters applied to the certificate described in the form of key-value pairs. - Filters []*Filter `locationNameList:"Filter" type:"list"` + Filters []*Filter `type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to @@ -5772,13 +5992,13 @@ func (s *DescribeCertificatesInput) SetMaxRecords(v int64) *DescribeCertificates return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificatesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificatesResponse type DescribeCertificatesOutput struct { _ struct{} `type:"structure"` // The Secure Sockets Layer (SSL) certificates associated with the replication // instance. - Certificates []*Certificate `locationNameList:"Certificate" type:"list"` + Certificates []*Certificate `type:"list"` // The pagination token. Marker *string `type:"string"` @@ -5806,14 +6026,14 @@ func (s *DescribeCertificatesOutput) SetMarker(v string) *DescribeCertificatesOu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnectionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnectionsMessage type DescribeConnectionsInput struct { _ struct{} `type:"structure"` // The filters applied to the connection. // // Valid filter names: endpoint-arn | replication-instance-arn - Filters []*Filter `locationNameList:"Filter" type:"list"` + Filters []*Filter `type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to @@ -5878,12 +6098,12 @@ func (s *DescribeConnectionsInput) SetMaxRecords(v int64) *DescribeConnectionsIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnectionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnectionsResponse type DescribeConnectionsOutput struct { _ struct{} `type:"structure"` // A description of the connections. - Connections []*Connection `locationNameList:"Connection" type:"list"` + Connections []*Connection `type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to @@ -5913,14 +6133,14 @@ func (s *DescribeConnectionsOutput) SetMarker(v string) *DescribeConnectionsOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypesMessage type DescribeEndpointTypesInput struct { _ struct{} `type:"structure"` // Filters applied to the describe action. // // Valid filter names: engine-name | endpoint-type - Filters []*Filter `locationNameList:"Filter" type:"list"` + Filters []*Filter `type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to @@ -5985,7 +6205,7 @@ func (s *DescribeEndpointTypesInput) SetMaxRecords(v int64) *DescribeEndpointTyp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypesResponse type DescribeEndpointTypesOutput struct { _ struct{} `type:"structure"` @@ -5995,7 +6215,7 @@ type DescribeEndpointTypesOutput struct { Marker *string `type:"string"` // The type of endpoints that are supported. - SupportedEndpointTypes []*SupportedEndpointType `locationNameList:"SupportedEndpointType" type:"list"` + SupportedEndpointTypes []*SupportedEndpointType `type:"list"` } // String returns the string representation @@ -6020,14 +6240,14 @@ func (s *DescribeEndpointTypesOutput) SetSupportedEndpointTypes(v []*SupportedEn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointsMessage type DescribeEndpointsInput struct { _ struct{} `type:"structure"` // Filters applied to the describe action. // // Valid filter names: endpoint-arn | endpoint-type | endpoint-id | engine-name - Filters []*Filter `locationNameList:"Filter" type:"list"` + Filters []*Filter `type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to @@ -6092,12 +6312,12 @@ func (s *DescribeEndpointsInput) SetMaxRecords(v int64) *DescribeEndpointsInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointsResponse type DescribeEndpointsOutput struct { _ struct{} `type:"structure"` // Endpoint description. - Endpoints []*Endpoint `locationNameList:"Endpoint" type:"list"` + Endpoints []*Endpoint `type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to @@ -6127,12 +6347,12 @@ func (s *DescribeEndpointsOutput) SetMarker(v string) *DescribeEndpointsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategoriesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategoriesMessage type DescribeEventCategoriesInput struct { _ struct{} `type:"structure"` // Filters applied to the action. - Filters []*Filter `locationNameList:"Filter" type:"list"` + Filters []*Filter `type:"list"` // The type of AWS DMS resource that generates events. // @@ -6182,12 +6402,12 @@ func (s *DescribeEventCategoriesInput) SetSourceType(v string) *DescribeEventCat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategoriesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategoriesResponse type DescribeEventCategoriesOutput struct { _ struct{} `type:"structure"` // A list of event categories. - EventCategoryGroupList []*EventCategoryGroup `locationNameList:"EventCategoryGroup" type:"list"` + EventCategoryGroupList []*EventCategoryGroup `type:"list"` } // String returns the string representation @@ -6206,12 +6426,12 @@ func (s *DescribeEventCategoriesOutput) SetEventCategoryGroupList(v []*EventCate return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptionsMessage type DescribeEventSubscriptionsInput struct { _ struct{} `type:"structure"` // Filters applied to the action. - Filters []*Filter `locationNameList:"Filter" type:"list"` + Filters []*Filter `type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to @@ -6285,12 +6505,12 @@ func (s *DescribeEventSubscriptionsInput) SetSubscriptionName(v string) *Describ return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptionsResponse type DescribeEventSubscriptionsOutput struct { _ struct{} `type:"structure"` // A list of event subscriptions. - EventSubscriptionsList []*EventSubscription `locationNameList:"EventSubscription" type:"list"` + EventSubscriptionsList []*EventSubscription `type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to @@ -6320,7 +6540,7 @@ func (s *DescribeEventSubscriptionsOutput) SetMarker(v string) *DescribeEventSub return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventsMessage type DescribeEventsInput struct { _ struct{} `type:"structure"` @@ -6331,10 +6551,10 @@ type DescribeEventsInput struct { EndTime *time.Time `type:"timestamp" timestampFormat:"unix"` // A list of event categories for a source type that you want to subscribe to. - EventCategories []*string `locationNameList:"EventCategory" type:"list"` + EventCategories []*string `type:"list"` // Filters applied to the action. - Filters []*Filter `locationNameList:"Filter" type:"list"` + Filters []*Filter `type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to @@ -6448,12 +6668,12 @@ func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventsResponse type DescribeEventsOutput struct { _ struct{} `type:"structure"` // The events described. - Events []*Event `locationNameList:"Event" type:"list"` + Events []*Event `type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to @@ -6483,7 +6703,7 @@ func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstancesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstancesMessage type DescribeOrderableReplicationInstancesInput struct { _ struct{} `type:"structure"` @@ -6524,7 +6744,7 @@ func (s *DescribeOrderableReplicationInstancesInput) SetMaxRecords(v int64) *Des return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstancesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstancesResponse type DescribeOrderableReplicationInstancesOutput struct { _ struct{} `type:"structure"` @@ -6534,7 +6754,7 @@ type DescribeOrderableReplicationInstancesOutput struct { Marker *string `type:"string"` // The order-able replication instances available. - OrderableReplicationInstances []*OrderableReplicationInstance `locationNameList:"OrderableReplicationInstance" type:"list"` + OrderableReplicationInstances []*OrderableReplicationInstance `type:"list"` } // String returns the string representation @@ -6559,7 +6779,7 @@ func (s *DescribeOrderableReplicationInstancesOutput) SetOrderableReplicationIns return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatusMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatusMessage type DescribeRefreshSchemasStatusInput struct { _ struct{} `type:"structure"` @@ -6598,7 +6818,7 @@ func (s *DescribeRefreshSchemasStatusInput) SetEndpointArn(v string) *DescribeRe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatusResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatusResponse type DescribeRefreshSchemasStatusOutput struct { _ struct{} `type:"structure"` @@ -6622,7 +6842,7 @@ func (s *DescribeRefreshSchemasStatusOutput) SetRefreshSchemasStatus(v *RefreshS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstancesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstancesMessage type DescribeReplicationInstancesInput struct { _ struct{} `type:"structure"` @@ -6630,7 +6850,7 @@ type DescribeReplicationInstancesInput struct { // // Valid filter names: replication-instance-arn | replication-instance-id | // replication-instance-class | engine-version - Filters []*Filter `locationNameList:"Filter" type:"list"` + Filters []*Filter `type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to @@ -6695,7 +6915,7 @@ func (s *DescribeReplicationInstancesInput) SetMaxRecords(v int64) *DescribeRepl return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstancesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstancesResponse type DescribeReplicationInstancesOutput struct { _ struct{} `type:"structure"` @@ -6705,7 +6925,7 @@ type DescribeReplicationInstancesOutput struct { Marker *string `type:"string"` // The replication instances described. - ReplicationInstances []*ReplicationInstance `locationNameList:"ReplicationInstance" type:"list"` + ReplicationInstances []*ReplicationInstance `type:"list"` } // String returns the string representation @@ -6730,12 +6950,12 @@ func (s *DescribeReplicationInstancesOutput) SetReplicationInstances(v []*Replic return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroupsMessage type DescribeReplicationSubnetGroupsInput struct { _ struct{} `type:"structure"` // Filters applied to the describe action. - Filters []*Filter `locationNameList:"Filter" type:"list"` + Filters []*Filter `type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to @@ -6800,7 +7020,7 @@ func (s *DescribeReplicationSubnetGroupsInput) SetMaxRecords(v int64) *DescribeR return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroupsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroupsResponse type DescribeReplicationSubnetGroupsOutput struct { _ struct{} `type:"structure"` @@ -6810,7 +7030,7 @@ type DescribeReplicationSubnetGroupsOutput struct { Marker *string `type:"string"` // A description of the replication subnet groups. - ReplicationSubnetGroups []*ReplicationSubnetGroup `locationNameList:"ReplicationSubnetGroup" type:"list"` + ReplicationSubnetGroups []*ReplicationSubnetGroup `type:"list"` } // String returns the string representation @@ -6835,7 +7055,103 @@ func (s *DescribeReplicationSubnetGroupsOutput) SetReplicationSubnetGroups(v []* return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasksMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentResultsMessage +type DescribeReplicationTaskAssessmentResultsInput struct { + _ struct{} `type:"structure"` + + // An optional pagination token provided by a previous request. If this parameter + // is specified, the response includes only records beyond the marker, up to + // the value specified by MaxRecords. + Marker *string `type:"string"` + + // The maximum number of records to include in the response. If more records + // exist than the specified MaxRecords value, a pagination token called a marker + // is included in the response so that the remaining results can be retrieved. + // + // Default: 100 + // + // Constraints: Minimum 20, maximum 100. + MaxRecords *int64 `type:"integer"` + + // - The Amazon Resource Name (ARN) string that uniquely identifies the task. + // When this input parameter is specified the API will return only one result + // and ignore the values of the max-records and marker parameters. + ReplicationTaskArn *string `type:"string"` +} + +// String returns the string representation +func (s DescribeReplicationTaskAssessmentResultsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeReplicationTaskAssessmentResultsInput) GoString() string { + return s.String() +} + +// SetMarker sets the Marker field's value. +func (s *DescribeReplicationTaskAssessmentResultsInput) SetMarker(v string) *DescribeReplicationTaskAssessmentResultsInput { + s.Marker = &v + return s +} + +// SetMaxRecords sets the MaxRecords field's value. +func (s *DescribeReplicationTaskAssessmentResultsInput) SetMaxRecords(v int64) *DescribeReplicationTaskAssessmentResultsInput { + s.MaxRecords = &v + return s +} + +// SetReplicationTaskArn sets the ReplicationTaskArn field's value. +func (s *DescribeReplicationTaskAssessmentResultsInput) SetReplicationTaskArn(v string) *DescribeReplicationTaskAssessmentResultsInput { + s.ReplicationTaskArn = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentResultsResponse +type DescribeReplicationTaskAssessmentResultsOutput struct { + _ struct{} `type:"structure"` + + // - The Amazon S3 bucket where the task assessment report is located. + BucketName *string `type:"string"` + + // An optional pagination token provided by a previous request. If this parameter + // is specified, the response includes only records beyond the marker, up to + // the value specified by MaxRecords. + Marker *string `type:"string"` + + // The task assessment report. + ReplicationTaskAssessmentResults []*ReplicationTaskAssessmentResult `type:"list"` +} + +// String returns the string representation +func (s DescribeReplicationTaskAssessmentResultsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeReplicationTaskAssessmentResultsOutput) GoString() string { + return s.String() +} + +// SetBucketName sets the BucketName field's value. +func (s *DescribeReplicationTaskAssessmentResultsOutput) SetBucketName(v string) *DescribeReplicationTaskAssessmentResultsOutput { + s.BucketName = &v + return s +} + +// SetMarker sets the Marker field's value. +func (s *DescribeReplicationTaskAssessmentResultsOutput) SetMarker(v string) *DescribeReplicationTaskAssessmentResultsOutput { + s.Marker = &v + return s +} + +// SetReplicationTaskAssessmentResults sets the ReplicationTaskAssessmentResults field's value. +func (s *DescribeReplicationTaskAssessmentResultsOutput) SetReplicationTaskAssessmentResults(v []*ReplicationTaskAssessmentResult) *DescribeReplicationTaskAssessmentResultsOutput { + s.ReplicationTaskAssessmentResults = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasksMessage type DescribeReplicationTasksInput struct { _ struct{} `type:"structure"` @@ -6843,7 +7159,7 @@ type DescribeReplicationTasksInput struct { // // Valid filter names: replication-task-arn | replication-task-id | migration-type // | endpoint-arn | replication-instance-arn - Filters []*Filter `locationNameList:"Filter" type:"list"` + Filters []*Filter `type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to @@ -6908,7 +7224,7 @@ func (s *DescribeReplicationTasksInput) SetMaxRecords(v int64) *DescribeReplicat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasksResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasksResponse type DescribeReplicationTasksOutput struct { _ struct{} `type:"structure"` @@ -6918,7 +7234,7 @@ type DescribeReplicationTasksOutput struct { Marker *string `type:"string"` // A description of the replication tasks. - ReplicationTasks []*ReplicationTask `locationNameList:"ReplicationTask" type:"list"` + ReplicationTasks []*ReplicationTask `type:"list"` } // String returns the string representation @@ -6943,7 +7259,7 @@ func (s *DescribeReplicationTasksOutput) SetReplicationTasks(v []*ReplicationTas return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemasMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemasMessage type DescribeSchemasInput struct { _ struct{} `type:"structure"` @@ -7008,7 +7324,7 @@ func (s *DescribeSchemasInput) SetMaxRecords(v int64) *DescribeSchemasInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemasResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemasResponse type DescribeSchemasOutput struct { _ struct{} `type:"structure"` @@ -7043,7 +7359,7 @@ func (s *DescribeSchemasOutput) SetSchemas(v []*string) *DescribeSchemasOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatisticsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatisticsMessage type DescribeTableStatisticsInput struct { _ struct{} `type:"structure"` @@ -7053,7 +7369,7 @@ type DescribeTableStatisticsInput struct { // // A combination of filters creates an AND condition where each record matches // all specified filters. - Filters []*Filter `locationNameList:"Filter" type:"list"` + Filters []*Filter `type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to @@ -7132,7 +7448,7 @@ func (s *DescribeTableStatisticsInput) SetReplicationTaskArn(v string) *Describe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatisticsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatisticsResponse type DescribeTableStatisticsOutput struct { _ struct{} `type:"structure"` @@ -7176,7 +7492,7 @@ func (s *DescribeTableStatisticsOutput) SetTableStatistics(v []*TableStatistics) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DynamoDbSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DynamoDbSettings type DynamoDbSettings struct { _ struct{} `type:"structure"` @@ -7215,7 +7531,7 @@ func (s *DynamoDbSettings) SetServiceAccessRoleArn(v string) *DynamoDbSettings { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Endpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Endpoint type Endpoint struct { _ struct{} `type:"structure"` @@ -7400,7 +7716,7 @@ func (s *Endpoint) SetUsername(v string) *Endpoint { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Event +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Event type Event struct { _ struct{} `type:"structure"` @@ -7408,7 +7724,7 @@ type Event struct { Date *time.Time `type:"timestamp" timestampFormat:"unix"` // The event categories available for the specified source type. - EventCategories []*string `locationNameList:"EventCategory" type:"list"` + EventCategories []*string `type:"list"` // The event message. Message *string `type:"string"` @@ -7466,12 +7782,12 @@ func (s *Event) SetSourceType(v string) *Event { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/EventCategoryGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/EventCategoryGroup type EventCategoryGroup struct { _ struct{} `type:"structure"` // A list of event categories for a SourceType that you want to subscribe to. - EventCategories []*string `locationNameList:"EventCategory" type:"list"` + EventCategories []*string `type:"list"` // The type of AWS DMS resource that generates events. // @@ -7502,7 +7818,7 @@ func (s *EventCategoryGroup) SetSourceType(v string) *EventCategoryGroup { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/EventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/EventSubscription type EventSubscription struct { _ struct{} `type:"structure"` @@ -7516,13 +7832,13 @@ type EventSubscription struct { Enabled *bool `type:"boolean"` // A lists of event categories. - EventCategoriesList []*string `locationNameList:"EventCategory" type:"list"` + EventCategoriesList []*string `type:"list"` // The topic ARN of the AWS DMS event notification subscription. SnsTopicArn *string `type:"string"` // A list of source Ids for the event subscription. - SourceIdsList []*string `locationNameList:"SourceId" type:"list"` + SourceIdsList []*string `type:"list"` // The type of AWS DMS resource that generates events. // @@ -7610,7 +7926,7 @@ func (s *EventSubscription) SetSubscriptionCreationTime(v string) *EventSubscrip return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Filter +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Filter type Filter struct { _ struct{} `type:"structure"` @@ -7622,7 +7938,7 @@ type Filter struct { // The filter value. // // Values is a required field - Values []*string `locationNameList:"Value" type:"list" required:"true"` + Values []*string `type:"list" required:"true"` } // String returns the string representation @@ -7663,7 +7979,7 @@ func (s *Filter) SetValues(v []*string) *Filter { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificateMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificateMessage type ImportCertificateInput struct { _ struct{} `type:"structure"` @@ -7682,7 +7998,7 @@ type ImportCertificateInput struct { CertificateWallet []byte `type:"blob"` // The tags associated with the certificate. - Tags []*Tag `locationNameList:"Tag" type:"list"` + Tags []*Tag `type:"list"` } // String returns the string representation @@ -7732,7 +8048,7 @@ func (s *ImportCertificateInput) SetTags(v []*Tag) *ImportCertificateInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificateResponse type ImportCertificateOutput struct { _ struct{} `type:"structure"` @@ -7756,7 +8072,7 @@ func (s *ImportCertificateOutput) SetCertificate(v *Certificate) *ImportCertific return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResourceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResourceMessage type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -7796,12 +8112,12 @@ func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResource return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResourceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResourceResponse type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` // A list of tags for the resource. - TagList []*Tag `locationNameList:"Tag" type:"list"` + TagList []*Tag `type:"list"` } // String returns the string representation @@ -7820,7 +8136,7 @@ func (s *ListTagsForResourceOutput) SetTagList(v []*Tag) *ListTagsForResourceOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpointMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpointMessage type ModifyEndpointInput struct { _ struct{} `type:"structure"` @@ -8007,7 +8323,7 @@ func (s *ModifyEndpointInput) SetUsername(v string) *ModifyEndpointInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpointResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpointResponse type ModifyEndpointOutput struct { _ struct{} `type:"structure"` @@ -8031,7 +8347,7 @@ func (s *ModifyEndpointOutput) SetEndpoint(v *Endpoint) *ModifyEndpointOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscriptionMessage type ModifyEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -8040,7 +8356,7 @@ type ModifyEventSubscriptionInput struct { // A list of event categories for a source type that you want to subscribe to. // Use the DescribeEventCategories action to see a list of event categories. - EventCategories []*string `locationNameList:"EventCategory" type:"list"` + EventCategories []*string `type:"list"` // The Amazon Resource Name (ARN) of the Amazon SNS topic created for event // notification. The ARN is created by Amazon SNS when you create a topic and @@ -8112,7 +8428,7 @@ func (s *ModifyEventSubscriptionInput) SetSubscriptionName(v string) *ModifyEven return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscriptionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscriptionResponse type ModifyEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -8136,7 +8452,7 @@ func (s *ModifyEventSubscriptionOutput) SetEventSubscription(v *EventSubscriptio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstanceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstanceMessage type ModifyReplicationInstanceInput struct { _ struct{} `type:"structure"` @@ -8207,7 +8523,7 @@ type ModifyReplicationInstanceInput struct { // Specifies the VPC security group to be used with the replication instance. // The VPC security group must work with the VPC containing the replication // instance. - VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"` + VpcSecurityGroupIds []*string `type:"list"` } // String returns the string representation @@ -8299,7 +8615,7 @@ func (s *ModifyReplicationInstanceInput) SetVpcSecurityGroupIds(v []*string) *Mo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstanceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstanceResponse type ModifyReplicationInstanceOutput struct { _ struct{} `type:"structure"` @@ -8323,7 +8639,7 @@ func (s *ModifyReplicationInstanceOutput) SetReplicationInstance(v *ReplicationI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroupMessage type ModifyReplicationSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -8338,7 +8654,7 @@ type ModifyReplicationSubnetGroupInput struct { // A list of subnet IDs. // // SubnetIds is a required field - SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` + SubnetIds []*string `type:"list" required:"true"` } // String returns the string representation @@ -8385,7 +8701,7 @@ func (s *ModifyReplicationSubnetGroupInput) SetSubnetIds(v []*string) *ModifyRep return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroupResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroupResponse type ModifyReplicationSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -8409,7 +8725,7 @@ func (s *ModifyReplicationSubnetGroupOutput) SetReplicationSubnetGroup(v *Replic return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTaskMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTaskMessage type ModifyReplicationTaskInput struct { _ struct{} `type:"structure"` @@ -8507,7 +8823,7 @@ func (s *ModifyReplicationTaskInput) SetTableMappings(v string) *ModifyReplicati return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTaskResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTaskResponse type ModifyReplicationTaskOutput struct { _ struct{} `type:"structure"` @@ -8531,7 +8847,7 @@ func (s *ModifyReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *Mo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MongoDbSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MongoDbSettings type MongoDbSettings struct { _ struct{} `type:"structure"` @@ -8668,7 +8984,7 @@ func (s *MongoDbSettings) SetUsername(v string) *MongoDbSettings { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/OrderableReplicationInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/OrderableReplicationInstance type OrderableReplicationInstance struct { _ struct{} `type:"structure"` @@ -8753,7 +9069,7 @@ func (s *OrderableReplicationInstance) SetStorageType(v string) *OrderableReplic return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemasMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemasMessage type RefreshSchemasInput struct { _ struct{} `type:"structure"` @@ -8806,7 +9122,7 @@ func (s *RefreshSchemasInput) SetReplicationInstanceArn(v string) *RefreshSchema return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemasResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemasResponse type RefreshSchemasOutput struct { _ struct{} `type:"structure"` @@ -8830,7 +9146,7 @@ func (s *RefreshSchemasOutput) SetRefreshSchemasStatus(v *RefreshSchemasStatus) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemasStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemasStatus type RefreshSchemasStatus struct { _ struct{} `type:"structure"` @@ -8890,7 +9206,7 @@ func (s *RefreshSchemasStatus) SetStatus(v string) *RefreshSchemasStatus { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTablesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTablesMessage type ReloadTablesInput struct { _ struct{} `type:"structure"` @@ -8943,7 +9259,7 @@ func (s *ReloadTablesInput) SetTablesToReload(v []*TableToReload) *ReloadTablesI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTablesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTablesResponse type ReloadTablesOutput struct { _ struct{} `type:"structure"` @@ -8967,7 +9283,7 @@ func (s *ReloadTablesOutput) SetReplicationTaskArn(v string) *ReloadTablesOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResourceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResourceMessage type RemoveTagsFromResourceInput struct { _ struct{} `type:"structure"` @@ -9021,7 +9337,7 @@ func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromRes return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResourceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResourceResponse type RemoveTagsFromResourceOutput struct { _ struct{} `type:"structure"` } @@ -9036,7 +9352,7 @@ func (s RemoveTagsFromResourceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationInstance type ReplicationInstance struct { _ struct{} `type:"structure"` @@ -9124,7 +9440,7 @@ type ReplicationInstance struct { SecondaryAvailabilityZone *string `type:"string"` // The VPC security group for the instance. - VpcSecurityGroups []*VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroupMembership" type:"list"` + VpcSecurityGroups []*VpcSecurityGroupMembership `type:"list"` } // String returns the string representation @@ -9263,7 +9579,7 @@ func (s *ReplicationInstance) SetVpcSecurityGroups(v []*VpcSecurityGroupMembersh return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationPendingModifiedValues +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationPendingModifiedValues type ReplicationPendingModifiedValues struct { _ struct{} `type:"structure"` @@ -9319,7 +9635,7 @@ func (s *ReplicationPendingModifiedValues) SetReplicationInstanceClass(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationSubnetGroup type ReplicationSubnetGroup struct { _ struct{} `type:"structure"` @@ -9333,7 +9649,7 @@ type ReplicationSubnetGroup struct { SubnetGroupStatus *string `type:"string"` // The subnets that are in the subnet group. - Subnets []*Subnet `locationNameList:"Subnet" type:"list"` + Subnets []*Subnet `type:"list"` // The ID of the VPC. VpcId *string `type:"string"` @@ -9379,7 +9695,7 @@ func (s *ReplicationSubnetGroup) SetVpcId(v string) *ReplicationSubnetGroup { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationTask type ReplicationTask struct { _ struct{} `type:"structure"` @@ -9529,7 +9845,87 @@ func (s *ReplicationTask) SetTargetEndpointArn(v string) *ReplicationTask { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationTaskStats +// The task assessment report in JSON format. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationTaskAssessmentResult +type ReplicationTaskAssessmentResult struct { + _ struct{} `type:"structure"` + + // The task assessment results in JSON format. + AssessmentResults *string `type:"string"` + + // The file containing the results of the task assessment. + AssessmentResultsFile *string `type:"string"` + + // The status of the task assessment. + AssessmentStatus *string `type:"string"` + + // The Amazon Resource Name (ARN) of the replication task. + ReplicationTaskArn *string `type:"string"` + + // The replication task identifier of the task on which the task assessment + // was run. + ReplicationTaskIdentifier *string `type:"string"` + + // The date the task assessment was completed. + ReplicationTaskLastAssessmentDate *time.Time `type:"timestamp" timestampFormat:"unix"` + + // The URL of the S3 object containing the task assessment results. + S3ObjectUrl *string `type:"string"` +} + +// String returns the string representation +func (s ReplicationTaskAssessmentResult) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ReplicationTaskAssessmentResult) GoString() string { + return s.String() +} + +// SetAssessmentResults sets the AssessmentResults field's value. +func (s *ReplicationTaskAssessmentResult) SetAssessmentResults(v string) *ReplicationTaskAssessmentResult { + s.AssessmentResults = &v + return s +} + +// SetAssessmentResultsFile sets the AssessmentResultsFile field's value. +func (s *ReplicationTaskAssessmentResult) SetAssessmentResultsFile(v string) *ReplicationTaskAssessmentResult { + s.AssessmentResultsFile = &v + return s +} + +// SetAssessmentStatus sets the AssessmentStatus field's value. +func (s *ReplicationTaskAssessmentResult) SetAssessmentStatus(v string) *ReplicationTaskAssessmentResult { + s.AssessmentStatus = &v + return s +} + +// SetReplicationTaskArn sets the ReplicationTaskArn field's value. +func (s *ReplicationTaskAssessmentResult) SetReplicationTaskArn(v string) *ReplicationTaskAssessmentResult { + s.ReplicationTaskArn = &v + return s +} + +// SetReplicationTaskIdentifier sets the ReplicationTaskIdentifier field's value. +func (s *ReplicationTaskAssessmentResult) SetReplicationTaskIdentifier(v string) *ReplicationTaskAssessmentResult { + s.ReplicationTaskIdentifier = &v + return s +} + +// SetReplicationTaskLastAssessmentDate sets the ReplicationTaskLastAssessmentDate field's value. +func (s *ReplicationTaskAssessmentResult) SetReplicationTaskLastAssessmentDate(v time.Time) *ReplicationTaskAssessmentResult { + s.ReplicationTaskLastAssessmentDate = &v + return s +} + +// SetS3ObjectUrl sets the S3ObjectUrl field's value. +func (s *ReplicationTaskAssessmentResult) SetS3ObjectUrl(v string) *ReplicationTaskAssessmentResult { + s.S3ObjectUrl = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationTaskStats type ReplicationTaskStats struct { _ struct{} `type:"structure"` @@ -9598,7 +9994,7 @@ func (s *ReplicationTaskStats) SetTablesQueued(v int64) *ReplicationTaskStats { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/S3Settings +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/S3Settings type S3Settings struct { _ struct{} `type:"structure"` @@ -9681,14 +10077,77 @@ func (s *S3Settings) SetServiceAccessRoleArn(v string) *S3Settings { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessmentMessage +type StartReplicationTaskAssessmentInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the replication task. + // + // ReplicationTaskArn is a required field + ReplicationTaskArn *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s StartReplicationTaskAssessmentInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartReplicationTaskAssessmentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartReplicationTaskAssessmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartReplicationTaskAssessmentInput"} + if s.ReplicationTaskArn == nil { + invalidParams.Add(request.NewErrParamRequired("ReplicationTaskArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetReplicationTaskArn sets the ReplicationTaskArn field's value. +func (s *StartReplicationTaskAssessmentInput) SetReplicationTaskArn(v string) *StartReplicationTaskAssessmentInput { + s.ReplicationTaskArn = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessmentResponse +type StartReplicationTaskAssessmentOutput struct { + _ struct{} `type:"structure"` + + // The assessed replication task. + ReplicationTask *ReplicationTask `type:"structure"` +} + +// String returns the string representation +func (s StartReplicationTaskAssessmentOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartReplicationTaskAssessmentOutput) GoString() string { + return s.String() +} + +// SetReplicationTask sets the ReplicationTask field's value. +func (s *StartReplicationTaskAssessmentOutput) SetReplicationTask(v *ReplicationTask) *StartReplicationTaskAssessmentOutput { + s.ReplicationTask = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskMessage type StartReplicationTaskInput struct { _ struct{} `type:"structure"` // The start time for the Change Data Capture (CDC) operation. CdcStartTime *time.Time `type:"timestamp" timestampFormat:"unix"` - // The Amazon Resource Number (ARN) of the replication task to be started. + // The Amazon Resource Name (ARN) of the replication task to be started. // // ReplicationTaskArn is a required field ReplicationTaskArn *string `type:"string" required:"true"` @@ -9743,7 +10202,7 @@ func (s *StartReplicationTaskInput) SetStartReplicationTaskType(v string) *Start return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskResponse type StartReplicationTaskOutput struct { _ struct{} `type:"structure"` @@ -9767,11 +10226,11 @@ func (s *StartReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *Sta return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTaskMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTaskMessage type StopReplicationTaskInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Number(ARN) of the replication task to be stopped. + // The Amazon Resource Name(ARN) of the replication task to be stopped. // // ReplicationTaskArn is a required field ReplicationTaskArn *string `type:"string" required:"true"` @@ -9806,7 +10265,7 @@ func (s *StopReplicationTaskInput) SetReplicationTaskArn(v string) *StopReplicat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTaskResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTaskResponse type StopReplicationTaskOutput struct { _ struct{} `type:"structure"` @@ -9830,7 +10289,7 @@ func (s *StopReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *Stop return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Subnet +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Subnet type Subnet struct { _ struct{} `type:"structure"` @@ -9872,7 +10331,7 @@ func (s *Subnet) SetSubnetStatus(v string) *Subnet { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/SupportedEndpointType +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/SupportedEndpointType type SupportedEndpointType struct { _ struct{} `type:"structure"` @@ -9916,7 +10375,7 @@ func (s *SupportedEndpointType) SetSupportsCDC(v bool) *SupportedEndpointType { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TableStatistics +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TableStatistics type TableStatistics struct { _ struct{} `type:"structure"` @@ -9959,6 +10418,41 @@ type TableStatistics struct { // The number of update actions performed on a table. Updates *int64 `type:"long"` + + // The number of records that failed validation. + ValidationFailedRecords *int64 `type:"long"` + + // The number of records that have yet to be validated. + ValidationPendingRecords *int64 `type:"long"` + + // The validation state of the table. + // + // The parameter can have the following values + // + // * Not enabled—Validation is not enabled for the table in the migration + // task. + // + // * Pending records—Some records in the table are waiting for validation. + // + // * Mismatched records—Some records in the table do not match between the + // source and target. + // + // * Suspended records—Some records in the table could not be validated. + // + // * No primary key—The table could not be validated because it had no primary + // key. + // + // * Table error—The table was not validated because it was in an error state + // and some data was not migrated. + // + // * Validated—All rows in the table were validated. If the table is updated, + // the status can change from Validated. + // + // * Error—The table could not be validated because of an unexpected error. + ValidationState *string `type:"string"` + + // The number of records that could not be validated. + ValidationSuspendedRecords *int64 `type:"long"` } // String returns the string representation @@ -10037,7 +10531,31 @@ func (s *TableStatistics) SetUpdates(v int64) *TableStatistics { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TableToReload +// SetValidationFailedRecords sets the ValidationFailedRecords field's value. +func (s *TableStatistics) SetValidationFailedRecords(v int64) *TableStatistics { + s.ValidationFailedRecords = &v + return s +} + +// SetValidationPendingRecords sets the ValidationPendingRecords field's value. +func (s *TableStatistics) SetValidationPendingRecords(v int64) *TableStatistics { + s.ValidationPendingRecords = &v + return s +} + +// SetValidationState sets the ValidationState field's value. +func (s *TableStatistics) SetValidationState(v string) *TableStatistics { + s.ValidationState = &v + return s +} + +// SetValidationSuspendedRecords sets the ValidationSuspendedRecords field's value. +func (s *TableStatistics) SetValidationSuspendedRecords(v int64) *TableStatistics { + s.ValidationSuspendedRecords = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TableToReload type TableToReload struct { _ struct{} `type:"structure"` @@ -10070,7 +10588,7 @@ func (s *TableToReload) SetTableName(v string) *TableToReload { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Tag type Tag struct { _ struct{} `type:"structure"` @@ -10109,7 +10627,7 @@ func (s *Tag) SetValue(v string) *Tag { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnectionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnectionMessage type TestConnectionInput struct { _ struct{} `type:"structure"` @@ -10162,7 +10680,7 @@ func (s *TestConnectionInput) SetReplicationInstanceArn(v string) *TestConnectio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnectionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnectionResponse type TestConnectionOutput struct { _ struct{} `type:"structure"` @@ -10186,7 +10704,7 @@ func (s *TestConnectionOutput) SetConnection(v *Connection) *TestConnectionOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/VpcSecurityGroupMembership +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/VpcSecurityGroupMembership type VpcSecurityGroupMembership struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/devicefarm/api.go b/vendor/github.com/aws/aws-sdk-go/service/devicefarm/api.go index b3deae70b38..c4eeb0a05f7 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/devicefarm/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/devicefarm/api.go @@ -35,7 +35,7 @@ const opCreateDevicePool = "CreateDevicePool" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateDevicePool +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateDevicePool func (c *DeviceFarm) CreateDevicePoolRequest(input *CreateDevicePoolInput) (req *request.Request, output *CreateDevicePoolOutput) { op := &request.Operation{ Name: opCreateDevicePool, @@ -76,7 +76,7 @@ func (c *DeviceFarm) CreateDevicePoolRequest(input *CreateDevicePoolInput) (req // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateDevicePool +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateDevicePool func (c *DeviceFarm) CreateDevicePool(input *CreateDevicePoolInput) (*CreateDevicePoolOutput, error) { req, out := c.CreateDevicePoolRequest(input) return out, req.Send() @@ -123,7 +123,7 @@ const opCreateNetworkProfile = "CreateNetworkProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateNetworkProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateNetworkProfile func (c *DeviceFarm) CreateNetworkProfileRequest(input *CreateNetworkProfileInput) (req *request.Request, output *CreateNetworkProfileOutput) { op := &request.Operation{ Name: opCreateNetworkProfile, @@ -164,7 +164,7 @@ func (c *DeviceFarm) CreateNetworkProfileRequest(input *CreateNetworkProfileInpu // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateNetworkProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateNetworkProfile func (c *DeviceFarm) CreateNetworkProfile(input *CreateNetworkProfileInput) (*CreateNetworkProfileOutput, error) { req, out := c.CreateNetworkProfileRequest(input) return out, req.Send() @@ -211,7 +211,7 @@ const opCreateProject = "CreateProject" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateProject func (c *DeviceFarm) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) { op := &request.Operation{ Name: opCreateProject, @@ -252,7 +252,7 @@ func (c *DeviceFarm) CreateProjectRequest(input *CreateProjectInput) (req *reque // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateProject func (c *DeviceFarm) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) { req, out := c.CreateProjectRequest(input) return out, req.Send() @@ -299,7 +299,7 @@ const opCreateRemoteAccessSession = "CreateRemoteAccessSession" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSession +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSession func (c *DeviceFarm) CreateRemoteAccessSessionRequest(input *CreateRemoteAccessSessionInput) (req *request.Request, output *CreateRemoteAccessSessionOutput) { op := &request.Operation{ Name: opCreateRemoteAccessSession, @@ -340,7 +340,7 @@ func (c *DeviceFarm) CreateRemoteAccessSessionRequest(input *CreateRemoteAccessS // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSession +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSession func (c *DeviceFarm) CreateRemoteAccessSession(input *CreateRemoteAccessSessionInput) (*CreateRemoteAccessSessionOutput, error) { req, out := c.CreateRemoteAccessSessionRequest(input) return out, req.Send() @@ -387,7 +387,7 @@ const opCreateUpload = "CreateUpload" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateUpload func (c *DeviceFarm) CreateUploadRequest(input *CreateUploadInput) (req *request.Request, output *CreateUploadOutput) { op := &request.Operation{ Name: opCreateUpload, @@ -428,7 +428,7 @@ func (c *DeviceFarm) CreateUploadRequest(input *CreateUploadInput) (req *request // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateUpload func (c *DeviceFarm) CreateUpload(input *CreateUploadInput) (*CreateUploadOutput, error) { req, out := c.CreateUploadRequest(input) return out, req.Send() @@ -475,7 +475,7 @@ const opDeleteDevicePool = "DeleteDevicePool" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteDevicePool +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteDevicePool func (c *DeviceFarm) DeleteDevicePoolRequest(input *DeleteDevicePoolInput) (req *request.Request, output *DeleteDevicePoolOutput) { op := &request.Operation{ Name: opDeleteDevicePool, @@ -517,7 +517,7 @@ func (c *DeviceFarm) DeleteDevicePoolRequest(input *DeleteDevicePoolInput) (req // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteDevicePool +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteDevicePool func (c *DeviceFarm) DeleteDevicePool(input *DeleteDevicePoolInput) (*DeleteDevicePoolOutput, error) { req, out := c.DeleteDevicePoolRequest(input) return out, req.Send() @@ -564,7 +564,7 @@ const opDeleteNetworkProfile = "DeleteNetworkProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteNetworkProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteNetworkProfile func (c *DeviceFarm) DeleteNetworkProfileRequest(input *DeleteNetworkProfileInput) (req *request.Request, output *DeleteNetworkProfileOutput) { op := &request.Operation{ Name: opDeleteNetworkProfile, @@ -605,7 +605,7 @@ func (c *DeviceFarm) DeleteNetworkProfileRequest(input *DeleteNetworkProfileInpu // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteNetworkProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteNetworkProfile func (c *DeviceFarm) DeleteNetworkProfile(input *DeleteNetworkProfileInput) (*DeleteNetworkProfileOutput, error) { req, out := c.DeleteNetworkProfileRequest(input) return out, req.Send() @@ -652,7 +652,7 @@ const opDeleteProject = "DeleteProject" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteProject func (c *DeviceFarm) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) { op := &request.Operation{ Name: opDeleteProject, @@ -695,7 +695,7 @@ func (c *DeviceFarm) DeleteProjectRequest(input *DeleteProjectInput) (req *reque // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteProject func (c *DeviceFarm) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) { req, out := c.DeleteProjectRequest(input) return out, req.Send() @@ -742,7 +742,7 @@ const opDeleteRemoteAccessSession = "DeleteRemoteAccessSession" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRemoteAccessSession +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRemoteAccessSession func (c *DeviceFarm) DeleteRemoteAccessSessionRequest(input *DeleteRemoteAccessSessionInput) (req *request.Request, output *DeleteRemoteAccessSessionOutput) { op := &request.Operation{ Name: opDeleteRemoteAccessSession, @@ -783,7 +783,7 @@ func (c *DeviceFarm) DeleteRemoteAccessSessionRequest(input *DeleteRemoteAccessS // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRemoteAccessSession +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRemoteAccessSession func (c *DeviceFarm) DeleteRemoteAccessSession(input *DeleteRemoteAccessSessionInput) (*DeleteRemoteAccessSessionOutput, error) { req, out := c.DeleteRemoteAccessSessionRequest(input) return out, req.Send() @@ -830,7 +830,7 @@ const opDeleteRun = "DeleteRun" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRun func (c *DeviceFarm) DeleteRunRequest(input *DeleteRunInput) (req *request.Request, output *DeleteRunOutput) { op := &request.Operation{ Name: opDeleteRun, @@ -873,7 +873,7 @@ func (c *DeviceFarm) DeleteRunRequest(input *DeleteRunInput) (req *request.Reque // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRun func (c *DeviceFarm) DeleteRun(input *DeleteRunInput) (*DeleteRunOutput, error) { req, out := c.DeleteRunRequest(input) return out, req.Send() @@ -920,7 +920,7 @@ const opDeleteUpload = "DeleteUpload" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteUpload func (c *DeviceFarm) DeleteUploadRequest(input *DeleteUploadInput) (req *request.Request, output *DeleteUploadOutput) { op := &request.Operation{ Name: opDeleteUpload, @@ -961,7 +961,7 @@ func (c *DeviceFarm) DeleteUploadRequest(input *DeleteUploadInput) (req *request // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteUpload func (c *DeviceFarm) DeleteUpload(input *DeleteUploadInput) (*DeleteUploadOutput, error) { req, out := c.DeleteUploadRequest(input) return out, req.Send() @@ -1008,7 +1008,7 @@ const opGetAccountSettings = "GetAccountSettings" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetAccountSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetAccountSettings func (c *DeviceFarm) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput) { op := &request.Operation{ Name: opGetAccountSettings, @@ -1050,7 +1050,7 @@ func (c *DeviceFarm) GetAccountSettingsRequest(input *GetAccountSettingsInput) ( // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetAccountSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetAccountSettings func (c *DeviceFarm) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error) { req, out := c.GetAccountSettingsRequest(input) return out, req.Send() @@ -1097,7 +1097,7 @@ const opGetDevice = "GetDevice" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevice func (c *DeviceFarm) GetDeviceRequest(input *GetDeviceInput) (req *request.Request, output *GetDeviceOutput) { op := &request.Operation{ Name: opGetDevice, @@ -1138,7 +1138,7 @@ func (c *DeviceFarm) GetDeviceRequest(input *GetDeviceInput) (req *request.Reque // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevice func (c *DeviceFarm) GetDevice(input *GetDeviceInput) (*GetDeviceOutput, error) { req, out := c.GetDeviceRequest(input) return out, req.Send() @@ -1185,7 +1185,7 @@ const opGetDevicePool = "GetDevicePool" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePool +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePool func (c *DeviceFarm) GetDevicePoolRequest(input *GetDevicePoolInput) (req *request.Request, output *GetDevicePoolOutput) { op := &request.Operation{ Name: opGetDevicePool, @@ -1226,7 +1226,7 @@ func (c *DeviceFarm) GetDevicePoolRequest(input *GetDevicePoolInput) (req *reque // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePool +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePool func (c *DeviceFarm) GetDevicePool(input *GetDevicePoolInput) (*GetDevicePoolOutput, error) { req, out := c.GetDevicePoolRequest(input) return out, req.Send() @@ -1273,7 +1273,7 @@ const opGetDevicePoolCompatibility = "GetDevicePoolCompatibility" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibility +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibility func (c *DeviceFarm) GetDevicePoolCompatibilityRequest(input *GetDevicePoolCompatibilityInput) (req *request.Request, output *GetDevicePoolCompatibilityOutput) { op := &request.Operation{ Name: opGetDevicePoolCompatibility, @@ -1314,7 +1314,7 @@ func (c *DeviceFarm) GetDevicePoolCompatibilityRequest(input *GetDevicePoolCompa // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibility +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibility func (c *DeviceFarm) GetDevicePoolCompatibility(input *GetDevicePoolCompatibilityInput) (*GetDevicePoolCompatibilityOutput, error) { req, out := c.GetDevicePoolCompatibilityRequest(input) return out, req.Send() @@ -1361,7 +1361,7 @@ const opGetJob = "GetJob" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJob func (c *DeviceFarm) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput) { op := &request.Operation{ Name: opGetJob, @@ -1402,7 +1402,7 @@ func (c *DeviceFarm) GetJobRequest(input *GetJobInput) (req *request.Request, ou // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJob func (c *DeviceFarm) GetJob(input *GetJobInput) (*GetJobOutput, error) { req, out := c.GetJobRequest(input) return out, req.Send() @@ -1449,7 +1449,7 @@ const opGetNetworkProfile = "GetNetworkProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetNetworkProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetNetworkProfile func (c *DeviceFarm) GetNetworkProfileRequest(input *GetNetworkProfileInput) (req *request.Request, output *GetNetworkProfileOutput) { op := &request.Operation{ Name: opGetNetworkProfile, @@ -1490,7 +1490,7 @@ func (c *DeviceFarm) GetNetworkProfileRequest(input *GetNetworkProfileInput) (re // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetNetworkProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetNetworkProfile func (c *DeviceFarm) GetNetworkProfile(input *GetNetworkProfileInput) (*GetNetworkProfileOutput, error) { req, out := c.GetNetworkProfileRequest(input) return out, req.Send() @@ -1537,7 +1537,7 @@ const opGetOfferingStatus = "GetOfferingStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetOfferingStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetOfferingStatus func (c *DeviceFarm) GetOfferingStatusRequest(input *GetOfferingStatusInput) (req *request.Request, output *GetOfferingStatusOutput) { op := &request.Operation{ Name: opGetOfferingStatus, @@ -1593,7 +1593,7 @@ func (c *DeviceFarm) GetOfferingStatusRequest(input *GetOfferingStatusInput) (re // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetOfferingStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetOfferingStatus func (c *DeviceFarm) GetOfferingStatus(input *GetOfferingStatusInput) (*GetOfferingStatusOutput, error) { req, out := c.GetOfferingStatusRequest(input) return out, req.Send() @@ -1690,7 +1690,7 @@ const opGetProject = "GetProject" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetProject func (c *DeviceFarm) GetProjectRequest(input *GetProjectInput) (req *request.Request, output *GetProjectOutput) { op := &request.Operation{ Name: opGetProject, @@ -1731,7 +1731,7 @@ func (c *DeviceFarm) GetProjectRequest(input *GetProjectInput) (req *request.Req // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetProject func (c *DeviceFarm) GetProject(input *GetProjectInput) (*GetProjectOutput, error) { req, out := c.GetProjectRequest(input) return out, req.Send() @@ -1778,7 +1778,7 @@ const opGetRemoteAccessSession = "GetRemoteAccessSession" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRemoteAccessSession +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRemoteAccessSession func (c *DeviceFarm) GetRemoteAccessSessionRequest(input *GetRemoteAccessSessionInput) (req *request.Request, output *GetRemoteAccessSessionOutput) { op := &request.Operation{ Name: opGetRemoteAccessSession, @@ -1819,7 +1819,7 @@ func (c *DeviceFarm) GetRemoteAccessSessionRequest(input *GetRemoteAccessSession // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRemoteAccessSession +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRemoteAccessSession func (c *DeviceFarm) GetRemoteAccessSession(input *GetRemoteAccessSessionInput) (*GetRemoteAccessSessionOutput, error) { req, out := c.GetRemoteAccessSessionRequest(input) return out, req.Send() @@ -1866,7 +1866,7 @@ const opGetRun = "GetRun" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRun func (c *DeviceFarm) GetRunRequest(input *GetRunInput) (req *request.Request, output *GetRunOutput) { op := &request.Operation{ Name: opGetRun, @@ -1907,7 +1907,7 @@ func (c *DeviceFarm) GetRunRequest(input *GetRunInput) (req *request.Request, ou // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRun func (c *DeviceFarm) GetRun(input *GetRunInput) (*GetRunOutput, error) { req, out := c.GetRunRequest(input) return out, req.Send() @@ -1954,7 +1954,7 @@ const opGetSuite = "GetSuite" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetSuite +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetSuite func (c *DeviceFarm) GetSuiteRequest(input *GetSuiteInput) (req *request.Request, output *GetSuiteOutput) { op := &request.Operation{ Name: opGetSuite, @@ -1995,7 +1995,7 @@ func (c *DeviceFarm) GetSuiteRequest(input *GetSuiteInput) (req *request.Request // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetSuite +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetSuite func (c *DeviceFarm) GetSuite(input *GetSuiteInput) (*GetSuiteOutput, error) { req, out := c.GetSuiteRequest(input) return out, req.Send() @@ -2042,7 +2042,7 @@ const opGetTest = "GetTest" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTest func (c *DeviceFarm) GetTestRequest(input *GetTestInput) (req *request.Request, output *GetTestOutput) { op := &request.Operation{ Name: opGetTest, @@ -2083,7 +2083,7 @@ func (c *DeviceFarm) GetTestRequest(input *GetTestInput) (req *request.Request, // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTest func (c *DeviceFarm) GetTest(input *GetTestInput) (*GetTestOutput, error) { req, out := c.GetTestRequest(input) return out, req.Send() @@ -2130,7 +2130,7 @@ const opGetUpload = "GetUpload" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetUpload func (c *DeviceFarm) GetUploadRequest(input *GetUploadInput) (req *request.Request, output *GetUploadOutput) { op := &request.Operation{ Name: opGetUpload, @@ -2171,7 +2171,7 @@ func (c *DeviceFarm) GetUploadRequest(input *GetUploadInput) (req *request.Reque // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetUpload func (c *DeviceFarm) GetUpload(input *GetUploadInput) (*GetUploadOutput, error) { req, out := c.GetUploadRequest(input) return out, req.Send() @@ -2218,7 +2218,7 @@ const opInstallToRemoteAccessSession = "InstallToRemoteAccessSession" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/InstallToRemoteAccessSession +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/InstallToRemoteAccessSession func (c *DeviceFarm) InstallToRemoteAccessSessionRequest(input *InstallToRemoteAccessSessionInput) (req *request.Request, output *InstallToRemoteAccessSessionOutput) { op := &request.Operation{ Name: opInstallToRemoteAccessSession, @@ -2261,7 +2261,7 @@ func (c *DeviceFarm) InstallToRemoteAccessSessionRequest(input *InstallToRemoteA // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/InstallToRemoteAccessSession +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/InstallToRemoteAccessSession func (c *DeviceFarm) InstallToRemoteAccessSession(input *InstallToRemoteAccessSessionInput) (*InstallToRemoteAccessSessionOutput, error) { req, out := c.InstallToRemoteAccessSessionRequest(input) return out, req.Send() @@ -2308,7 +2308,7 @@ const opListArtifacts = "ListArtifacts" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListArtifacts +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListArtifacts func (c *DeviceFarm) ListArtifactsRequest(input *ListArtifactsInput) (req *request.Request, output *ListArtifactsOutput) { op := &request.Operation{ Name: opListArtifacts, @@ -2355,7 +2355,7 @@ func (c *DeviceFarm) ListArtifactsRequest(input *ListArtifactsInput) (req *reque // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListArtifacts +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListArtifacts func (c *DeviceFarm) ListArtifacts(input *ListArtifactsInput) (*ListArtifactsOutput, error) { req, out := c.ListArtifactsRequest(input) return out, req.Send() @@ -2452,7 +2452,7 @@ const opListDevicePools = "ListDevicePools" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicePools +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicePools func (c *DeviceFarm) ListDevicePoolsRequest(input *ListDevicePoolsInput) (req *request.Request, output *ListDevicePoolsOutput) { op := &request.Operation{ Name: opListDevicePools, @@ -2499,7 +2499,7 @@ func (c *DeviceFarm) ListDevicePoolsRequest(input *ListDevicePoolsInput) (req *r // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicePools +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicePools func (c *DeviceFarm) ListDevicePools(input *ListDevicePoolsInput) (*ListDevicePoolsOutput, error) { req, out := c.ListDevicePoolsRequest(input) return out, req.Send() @@ -2596,7 +2596,7 @@ const opListDevices = "ListDevices" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevices +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevices func (c *DeviceFarm) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput) { op := &request.Operation{ Name: opListDevices, @@ -2643,7 +2643,7 @@ func (c *DeviceFarm) ListDevicesRequest(input *ListDevicesInput) (req *request.R // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevices +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevices func (c *DeviceFarm) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error) { req, out := c.ListDevicesRequest(input) return out, req.Send() @@ -2740,7 +2740,7 @@ const opListJobs = "ListJobs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobs +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobs func (c *DeviceFarm) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { op := &request.Operation{ Name: opListJobs, @@ -2787,7 +2787,7 @@ func (c *DeviceFarm) ListJobsRequest(input *ListJobsInput) (req *request.Request // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobs +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobs func (c *DeviceFarm) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { req, out := c.ListJobsRequest(input) return out, req.Send() @@ -2884,7 +2884,7 @@ const opListNetworkProfiles = "ListNetworkProfiles" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListNetworkProfiles +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListNetworkProfiles func (c *DeviceFarm) ListNetworkProfilesRequest(input *ListNetworkProfilesInput) (req *request.Request, output *ListNetworkProfilesOutput) { op := &request.Operation{ Name: opListNetworkProfiles, @@ -2925,7 +2925,7 @@ func (c *DeviceFarm) ListNetworkProfilesRequest(input *ListNetworkProfilesInput) // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListNetworkProfiles +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListNetworkProfiles func (c *DeviceFarm) ListNetworkProfiles(input *ListNetworkProfilesInput) (*ListNetworkProfilesOutput, error) { req, out := c.ListNetworkProfilesRequest(input) return out, req.Send() @@ -2972,7 +2972,7 @@ const opListOfferingPromotions = "ListOfferingPromotions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingPromotions +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingPromotions func (c *DeviceFarm) ListOfferingPromotionsRequest(input *ListOfferingPromotionsInput) (req *request.Request, output *ListOfferingPromotionsOutput) { op := &request.Operation{ Name: opListOfferingPromotions, @@ -3021,7 +3021,7 @@ func (c *DeviceFarm) ListOfferingPromotionsRequest(input *ListOfferingPromotions // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingPromotions +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingPromotions func (c *DeviceFarm) ListOfferingPromotions(input *ListOfferingPromotionsInput) (*ListOfferingPromotionsOutput, error) { req, out := c.ListOfferingPromotionsRequest(input) return out, req.Send() @@ -3068,7 +3068,7 @@ const opListOfferingTransactions = "ListOfferingTransactions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingTransactions +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingTransactions func (c *DeviceFarm) ListOfferingTransactionsRequest(input *ListOfferingTransactionsInput) (req *request.Request, output *ListOfferingTransactionsOutput) { op := &request.Operation{ Name: opListOfferingTransactions, @@ -3124,7 +3124,7 @@ func (c *DeviceFarm) ListOfferingTransactionsRequest(input *ListOfferingTransact // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingTransactions +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingTransactions func (c *DeviceFarm) ListOfferingTransactions(input *ListOfferingTransactionsInput) (*ListOfferingTransactionsOutput, error) { req, out := c.ListOfferingTransactionsRequest(input) return out, req.Send() @@ -3221,7 +3221,7 @@ const opListOfferings = "ListOfferings" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferings +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferings func (c *DeviceFarm) ListOfferingsRequest(input *ListOfferingsInput) (req *request.Request, output *ListOfferingsOutput) { op := &request.Operation{ Name: opListOfferings, @@ -3277,7 +3277,7 @@ func (c *DeviceFarm) ListOfferingsRequest(input *ListOfferingsInput) (req *reque // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferings +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferings func (c *DeviceFarm) ListOfferings(input *ListOfferingsInput) (*ListOfferingsOutput, error) { req, out := c.ListOfferingsRequest(input) return out, req.Send() @@ -3374,7 +3374,7 @@ const opListProjects = "ListProjects" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListProjects +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListProjects func (c *DeviceFarm) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) { op := &request.Operation{ Name: opListProjects, @@ -3421,7 +3421,7 @@ func (c *DeviceFarm) ListProjectsRequest(input *ListProjectsInput) (req *request // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListProjects +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListProjects func (c *DeviceFarm) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) { req, out := c.ListProjectsRequest(input) return out, req.Send() @@ -3518,7 +3518,7 @@ const opListRemoteAccessSessions = "ListRemoteAccessSessions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRemoteAccessSessions +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRemoteAccessSessions func (c *DeviceFarm) ListRemoteAccessSessionsRequest(input *ListRemoteAccessSessionsInput) (req *request.Request, output *ListRemoteAccessSessionsOutput) { op := &request.Operation{ Name: opListRemoteAccessSessions, @@ -3559,7 +3559,7 @@ func (c *DeviceFarm) ListRemoteAccessSessionsRequest(input *ListRemoteAccessSess // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRemoteAccessSessions +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRemoteAccessSessions func (c *DeviceFarm) ListRemoteAccessSessions(input *ListRemoteAccessSessionsInput) (*ListRemoteAccessSessionsOutput, error) { req, out := c.ListRemoteAccessSessionsRequest(input) return out, req.Send() @@ -3606,7 +3606,7 @@ const opListRuns = "ListRuns" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRuns +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRuns func (c *DeviceFarm) ListRunsRequest(input *ListRunsInput) (req *request.Request, output *ListRunsOutput) { op := &request.Operation{ Name: opListRuns, @@ -3653,7 +3653,7 @@ func (c *DeviceFarm) ListRunsRequest(input *ListRunsInput) (req *request.Request // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRuns +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRuns func (c *DeviceFarm) ListRuns(input *ListRunsInput) (*ListRunsOutput, error) { req, out := c.ListRunsRequest(input) return out, req.Send() @@ -3750,7 +3750,7 @@ const opListSamples = "ListSamples" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSamples +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSamples func (c *DeviceFarm) ListSamplesRequest(input *ListSamplesInput) (req *request.Request, output *ListSamplesOutput) { op := &request.Operation{ Name: opListSamples, @@ -3797,7 +3797,7 @@ func (c *DeviceFarm) ListSamplesRequest(input *ListSamplesInput) (req *request.R // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSamples +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSamples func (c *DeviceFarm) ListSamples(input *ListSamplesInput) (*ListSamplesOutput, error) { req, out := c.ListSamplesRequest(input) return out, req.Send() @@ -3894,7 +3894,7 @@ const opListSuites = "ListSuites" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSuites +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSuites func (c *DeviceFarm) ListSuitesRequest(input *ListSuitesInput) (req *request.Request, output *ListSuitesOutput) { op := &request.Operation{ Name: opListSuites, @@ -3941,7 +3941,7 @@ func (c *DeviceFarm) ListSuitesRequest(input *ListSuitesInput) (req *request.Req // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSuites +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSuites func (c *DeviceFarm) ListSuites(input *ListSuitesInput) (*ListSuitesOutput, error) { req, out := c.ListSuitesRequest(input) return out, req.Send() @@ -4038,7 +4038,7 @@ const opListTests = "ListTests" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTests +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTests func (c *DeviceFarm) ListTestsRequest(input *ListTestsInput) (req *request.Request, output *ListTestsOutput) { op := &request.Operation{ Name: opListTests, @@ -4085,7 +4085,7 @@ func (c *DeviceFarm) ListTestsRequest(input *ListTestsInput) (req *request.Reque // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTests +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTests func (c *DeviceFarm) ListTests(input *ListTestsInput) (*ListTestsOutput, error) { req, out := c.ListTestsRequest(input) return out, req.Send() @@ -4182,7 +4182,7 @@ const opListUniqueProblems = "ListUniqueProblems" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUniqueProblems +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUniqueProblems func (c *DeviceFarm) ListUniqueProblemsRequest(input *ListUniqueProblemsInput) (req *request.Request, output *ListUniqueProblemsOutput) { op := &request.Operation{ Name: opListUniqueProblems, @@ -4229,7 +4229,7 @@ func (c *DeviceFarm) ListUniqueProblemsRequest(input *ListUniqueProblemsInput) ( // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUniqueProblems +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUniqueProblems func (c *DeviceFarm) ListUniqueProblems(input *ListUniqueProblemsInput) (*ListUniqueProblemsOutput, error) { req, out := c.ListUniqueProblemsRequest(input) return out, req.Send() @@ -4326,7 +4326,7 @@ const opListUploads = "ListUploads" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUploads +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUploads func (c *DeviceFarm) ListUploadsRequest(input *ListUploadsInput) (req *request.Request, output *ListUploadsOutput) { op := &request.Operation{ Name: opListUploads, @@ -4373,7 +4373,7 @@ func (c *DeviceFarm) ListUploadsRequest(input *ListUploadsInput) (req *request.R // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUploads +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUploads func (c *DeviceFarm) ListUploads(input *ListUploadsInput) (*ListUploadsOutput, error) { req, out := c.ListUploadsRequest(input) return out, req.Send() @@ -4470,7 +4470,7 @@ const opPurchaseOffering = "PurchaseOffering" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/PurchaseOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/PurchaseOffering func (c *DeviceFarm) PurchaseOfferingRequest(input *PurchaseOfferingInput) (req *request.Request, output *PurchaseOfferingOutput) { op := &request.Operation{ Name: opPurchaseOffering, @@ -4520,7 +4520,7 @@ func (c *DeviceFarm) PurchaseOfferingRequest(input *PurchaseOfferingInput) (req // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/PurchaseOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/PurchaseOffering func (c *DeviceFarm) PurchaseOffering(input *PurchaseOfferingInput) (*PurchaseOfferingOutput, error) { req, out := c.PurchaseOfferingRequest(input) return out, req.Send() @@ -4567,7 +4567,7 @@ const opRenewOffering = "RenewOffering" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RenewOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RenewOffering func (c *DeviceFarm) RenewOfferingRequest(input *RenewOfferingInput) (req *request.Request, output *RenewOfferingOutput) { op := &request.Operation{ Name: opRenewOffering, @@ -4616,7 +4616,7 @@ func (c *DeviceFarm) RenewOfferingRequest(input *RenewOfferingInput) (req *reque // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RenewOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RenewOffering func (c *DeviceFarm) RenewOffering(input *RenewOfferingInput) (*RenewOfferingOutput, error) { req, out := c.RenewOfferingRequest(input) return out, req.Send() @@ -4663,7 +4663,7 @@ const opScheduleRun = "ScheduleRun" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRun func (c *DeviceFarm) ScheduleRunRequest(input *ScheduleRunInput) (req *request.Request, output *ScheduleRunOutput) { op := &request.Operation{ Name: opScheduleRun, @@ -4707,7 +4707,7 @@ func (c *DeviceFarm) ScheduleRunRequest(input *ScheduleRunInput) (req *request.R // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRun func (c *DeviceFarm) ScheduleRun(input *ScheduleRunInput) (*ScheduleRunOutput, error) { req, out := c.ScheduleRunRequest(input) return out, req.Send() @@ -4754,7 +4754,7 @@ const opStopRemoteAccessSession = "StopRemoteAccessSession" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRemoteAccessSession +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRemoteAccessSession func (c *DeviceFarm) StopRemoteAccessSessionRequest(input *StopRemoteAccessSessionInput) (req *request.Request, output *StopRemoteAccessSessionOutput) { op := &request.Operation{ Name: opStopRemoteAccessSession, @@ -4795,7 +4795,7 @@ func (c *DeviceFarm) StopRemoteAccessSessionRequest(input *StopRemoteAccessSessi // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRemoteAccessSession +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRemoteAccessSession func (c *DeviceFarm) StopRemoteAccessSession(input *StopRemoteAccessSessionInput) (*StopRemoteAccessSessionOutput, error) { req, out := c.StopRemoteAccessSessionRequest(input) return out, req.Send() @@ -4842,7 +4842,7 @@ const opStopRun = "StopRun" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRun func (c *DeviceFarm) StopRunRequest(input *StopRunInput) (req *request.Request, output *StopRunOutput) { op := &request.Operation{ Name: opStopRun, @@ -4888,7 +4888,7 @@ func (c *DeviceFarm) StopRunRequest(input *StopRunInput) (req *request.Request, // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRun func (c *DeviceFarm) StopRun(input *StopRunInput) (*StopRunOutput, error) { req, out := c.StopRunRequest(input) return out, req.Send() @@ -4935,7 +4935,7 @@ const opUpdateDevicePool = "UpdateDevicePool" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDevicePool +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDevicePool func (c *DeviceFarm) UpdateDevicePoolRequest(input *UpdateDevicePoolInput) (req *request.Request, output *UpdateDevicePoolOutput) { op := &request.Operation{ Name: opUpdateDevicePool, @@ -4978,7 +4978,7 @@ func (c *DeviceFarm) UpdateDevicePoolRequest(input *UpdateDevicePoolInput) (req // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDevicePool +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDevicePool func (c *DeviceFarm) UpdateDevicePool(input *UpdateDevicePoolInput) (*UpdateDevicePoolOutput, error) { req, out := c.UpdateDevicePoolRequest(input) return out, req.Send() @@ -5025,7 +5025,7 @@ const opUpdateNetworkProfile = "UpdateNetworkProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateNetworkProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateNetworkProfile func (c *DeviceFarm) UpdateNetworkProfileRequest(input *UpdateNetworkProfileInput) (req *request.Request, output *UpdateNetworkProfileOutput) { op := &request.Operation{ Name: opUpdateNetworkProfile, @@ -5066,7 +5066,7 @@ func (c *DeviceFarm) UpdateNetworkProfileRequest(input *UpdateNetworkProfileInpu // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateNetworkProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateNetworkProfile func (c *DeviceFarm) UpdateNetworkProfile(input *UpdateNetworkProfileInput) (*UpdateNetworkProfileOutput, error) { req, out := c.UpdateNetworkProfileRequest(input) return out, req.Send() @@ -5113,7 +5113,7 @@ const opUpdateProject = "UpdateProject" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateProject func (c *DeviceFarm) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput) { op := &request.Operation{ Name: opUpdateProject, @@ -5154,7 +5154,7 @@ func (c *DeviceFarm) UpdateProjectRequest(input *UpdateProjectInput) (req *reque // * ErrCodeServiceAccountException "ServiceAccountException" // There was a problem with the service account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateProject +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateProject func (c *DeviceFarm) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error) { req, out := c.UpdateProjectRequest(input) return out, req.Send() @@ -5177,7 +5177,7 @@ func (c *DeviceFarm) UpdateProjectWithContext(ctx aws.Context, input *UpdateProj } // A container for account-level settings within AWS Device Farm. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/AccountSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/AccountSettings type AccountSettings struct { _ struct{} `type:"structure"` @@ -5260,7 +5260,7 @@ func (s *AccountSettings) SetUnmeteredRemoteAccessDevices(v map[string]*int64) * } // Represents the output of a test. Examples of artifacts include logs and screenshots. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Artifact +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Artifact type Artifact struct { _ struct{} `type:"structure"` @@ -5373,7 +5373,7 @@ func (s *Artifact) SetUrl(v string) *Artifact { // Represents the amount of CPU that an app is using on a physical device. // // Note that this does not represent system-wide CPU usage. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CPU +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CPU type CPU struct { _ struct{} `type:"structure"` @@ -5417,7 +5417,7 @@ func (s *CPU) SetFrequency(v string) *CPU { } // Represents entity counters. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Counters +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Counters type Counters struct { _ struct{} `type:"structure"` @@ -5496,7 +5496,7 @@ func (s *Counters) SetWarned(v int64) *Counters { } // Represents a request to the create device pool operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateDevicePoolRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateDevicePoolRequest type CreateDevicePoolInput struct { _ struct{} `type:"structure"` @@ -5576,7 +5576,7 @@ func (s *CreateDevicePoolInput) SetRules(v []*Rule) *CreateDevicePoolInput { } // Represents the result of a create device pool request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateDevicePoolResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateDevicePoolResult type CreateDevicePoolOutput struct { _ struct{} `type:"structure"` @@ -5600,7 +5600,7 @@ func (s *CreateDevicePoolOutput) SetDevicePool(v *DevicePool) *CreateDevicePoolO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateNetworkProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateNetworkProfileRequest type CreateNetworkProfileInput struct { _ struct{} `type:"structure"` @@ -5751,7 +5751,7 @@ func (s *CreateNetworkProfileInput) SetUplinkLossPercent(v int64) *CreateNetwork return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateNetworkProfileResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateNetworkProfileResult type CreateNetworkProfileOutput struct { _ struct{} `type:"structure"` @@ -5776,7 +5776,7 @@ func (s *CreateNetworkProfileOutput) SetNetworkProfile(v *NetworkProfile) *Creat } // Represents a request to the create project operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateProjectRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateProjectRequest type CreateProjectInput struct { _ struct{} `type:"structure"` @@ -5827,7 +5827,7 @@ func (s *CreateProjectInput) SetName(v string) *CreateProjectInput { } // Represents the result of a create project request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateProjectResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateProjectResult type CreateProjectOutput struct { _ struct{} `type:"structure"` @@ -5853,7 +5853,7 @@ func (s *CreateProjectOutput) SetProject(v *Project) *CreateProjectOutput { // Creates the configuration settings for a remote access session, including // the device model and type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSessionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSessionConfiguration type CreateRemoteAccessSessionConfiguration struct { _ struct{} `type:"structure"` @@ -5878,7 +5878,7 @@ func (s *CreateRemoteAccessSessionConfiguration) SetBillingMethod(v string) *Cre } // Creates and submits a request to start a remote access session. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSessionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSessionRequest type CreateRemoteAccessSessionInput struct { _ struct{} `type:"structure"` @@ -5991,7 +5991,7 @@ func (s *CreateRemoteAccessSessionInput) SetSshPublicKey(v string) *CreateRemote } // Represents the server response from a request to create a remote access session. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSessionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSessionResult type CreateRemoteAccessSessionOutput struct { _ struct{} `type:"structure"` @@ -6017,7 +6017,7 @@ func (s *CreateRemoteAccessSessionOutput) SetRemoteAccessSession(v *RemoteAccess } // Represents a request to the create upload operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateUploadRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateUploadRequest type CreateUploadInput struct { _ struct{} `type:"structure"` @@ -6140,7 +6140,7 @@ func (s *CreateUploadInput) SetType(v string) *CreateUploadInput { } // Represents the result of a create upload request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateUploadResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateUploadResult type CreateUploadOutput struct { _ struct{} `type:"structure"` @@ -6170,7 +6170,7 @@ func (s *CreateUploadOutput) SetUpload(v *Upload) *CreateUploadOutput { // Specify deviceHostPaths and optionally specify either iosPaths or androidPaths. // // For web app tests, you can specify both iosPaths and androidPaths. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CustomerArtifactPaths +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CustomerArtifactPaths type CustomerArtifactPaths struct { _ struct{} `type:"structure"` @@ -6216,7 +6216,7 @@ func (s *CustomerArtifactPaths) SetIosPaths(v []*string) *CustomerArtifactPaths } // Represents a request to the delete device pool operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteDevicePoolRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteDevicePoolRequest type DeleteDevicePoolInput struct { _ struct{} `type:"structure"` @@ -6260,7 +6260,7 @@ func (s *DeleteDevicePoolInput) SetArn(v string) *DeleteDevicePoolInput { } // Represents the result of a delete device pool request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteDevicePoolResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteDevicePoolResult type DeleteDevicePoolOutput struct { _ struct{} `type:"structure"` } @@ -6275,7 +6275,7 @@ func (s DeleteDevicePoolOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteNetworkProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteNetworkProfileRequest type DeleteNetworkProfileInput struct { _ struct{} `type:"structure"` @@ -6317,7 +6317,7 @@ func (s *DeleteNetworkProfileInput) SetArn(v string) *DeleteNetworkProfileInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteNetworkProfileResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteNetworkProfileResult type DeleteNetworkProfileOutput struct { _ struct{} `type:"structure"` } @@ -6333,7 +6333,7 @@ func (s DeleteNetworkProfileOutput) GoString() string { } // Represents a request to the delete project operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteProjectRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteProjectRequest type DeleteProjectInput struct { _ struct{} `type:"structure"` @@ -6377,7 +6377,7 @@ func (s *DeleteProjectInput) SetArn(v string) *DeleteProjectInput { } // Represents the result of a delete project request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteProjectResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteProjectResult type DeleteProjectOutput struct { _ struct{} `type:"structure"` } @@ -6393,7 +6393,7 @@ func (s DeleteProjectOutput) GoString() string { } // Represents the request to delete the specified remote access session. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRemoteAccessSessionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRemoteAccessSessionRequest type DeleteRemoteAccessSessionInput struct { _ struct{} `type:"structure"` @@ -6438,7 +6438,7 @@ func (s *DeleteRemoteAccessSessionInput) SetArn(v string) *DeleteRemoteAccessSes // The response from the server when a request is made to delete the remote // access session. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRemoteAccessSessionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRemoteAccessSessionResult type DeleteRemoteAccessSessionOutput struct { _ struct{} `type:"structure"` } @@ -6454,7 +6454,7 @@ func (s DeleteRemoteAccessSessionOutput) GoString() string { } // Represents a request to the delete run operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRunRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRunRequest type DeleteRunInput struct { _ struct{} `type:"structure"` @@ -6497,7 +6497,7 @@ func (s *DeleteRunInput) SetArn(v string) *DeleteRunInput { } // Represents the result of a delete run request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRunResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRunResult type DeleteRunOutput struct { _ struct{} `type:"structure"` } @@ -6513,7 +6513,7 @@ func (s DeleteRunOutput) GoString() string { } // Represents a request to the delete upload operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteUploadRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteUploadRequest type DeleteUploadInput struct { _ struct{} `type:"structure"` @@ -6557,7 +6557,7 @@ func (s *DeleteUploadInput) SetArn(v string) *DeleteUploadInput { } // Represents the result of a delete upload request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteUploadResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteUploadResult type DeleteUploadOutput struct { _ struct{} `type:"structure"` } @@ -6573,7 +6573,7 @@ func (s DeleteUploadOutput) GoString() string { } // Represents a device type that an app is tested against. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Device +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Device type Device struct { _ struct{} `type:"structure"` @@ -6765,7 +6765,7 @@ func (s *Device) SetResolution(v *Resolution) *Device { // Represents the total (metered or unmetered) minutes used by the resource // to run tests. Contains the sum of minutes consumed by all children. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeviceMinutes +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeviceMinutes type DeviceMinutes struct { _ struct{} `type:"structure"` @@ -6811,7 +6811,7 @@ func (s *DeviceMinutes) SetUnmetered(v float64) *DeviceMinutes { } // Represents a collection of device types. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DevicePool +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DevicePool type DevicePool struct { _ struct{} `type:"structure"` @@ -6879,7 +6879,7 @@ func (s *DevicePool) SetType(v string) *DevicePool { } // Represents a device pool compatibility result. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DevicePoolCompatibilityResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DevicePoolCompatibilityResult type DevicePoolCompatibilityResult struct { _ struct{} `type:"structure"` @@ -6923,7 +6923,7 @@ func (s *DevicePoolCompatibilityResult) SetIncompatibilityMessages(v []*Incompat // Represents configuration information about a test run, such as the execution // timeout (in minutes). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ExecutionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ExecutionConfiguration type ExecutionConfiguration struct { _ struct{} `type:"structure"` @@ -6968,7 +6968,7 @@ func (s *ExecutionConfiguration) SetJobTimeoutMinutes(v int64) *ExecutionConfigu } // Represents the request sent to retrieve the account settings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetAccountSettingsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetAccountSettingsRequest type GetAccountSettingsInput struct { _ struct{} `type:"structure"` } @@ -6985,7 +6985,7 @@ func (s GetAccountSettingsInput) GoString() string { // Represents the account settings return values from the GetAccountSettings // request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetAccountSettingsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetAccountSettingsResult type GetAccountSettingsOutput struct { _ struct{} `type:"structure"` @@ -7010,7 +7010,7 @@ func (s *GetAccountSettingsOutput) SetAccountSettings(v *AccountSettings) *GetAc } // Represents a request to the get device request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDeviceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDeviceRequest type GetDeviceInput struct { _ struct{} `type:"structure"` @@ -7053,7 +7053,7 @@ func (s *GetDeviceInput) SetArn(v string) *GetDeviceInput { } // Represents the result of a get device request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDeviceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDeviceResult type GetDeviceOutput struct { _ struct{} `type:"structure"` @@ -7078,7 +7078,7 @@ func (s *GetDeviceOutput) SetDevice(v *Device) *GetDeviceOutput { } // Represents a request to the get device pool compatibility operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibilityRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibilityRequest type GetDevicePoolCompatibilityInput struct { _ struct{} `type:"structure"` @@ -7188,7 +7188,7 @@ func (s *GetDevicePoolCompatibilityInput) SetTestType(v string) *GetDevicePoolCo } // Represents the result of describe device pool compatibility request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibilityResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibilityResult type GetDevicePoolCompatibilityOutput struct { _ struct{} `type:"structure"` @@ -7222,7 +7222,7 @@ func (s *GetDevicePoolCompatibilityOutput) SetIncompatibleDevices(v []*DevicePoo } // Represents a request to the get device pool operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolRequest type GetDevicePoolInput struct { _ struct{} `type:"structure"` @@ -7265,7 +7265,7 @@ func (s *GetDevicePoolInput) SetArn(v string) *GetDevicePoolInput { } // Represents the result of a get device pool request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolResult type GetDevicePoolOutput struct { _ struct{} `type:"structure"` @@ -7290,7 +7290,7 @@ func (s *GetDevicePoolOutput) SetDevicePool(v *DevicePool) *GetDevicePoolOutput } // Represents a request to the get job operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJobRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJobRequest type GetJobInput struct { _ struct{} `type:"structure"` @@ -7333,7 +7333,7 @@ func (s *GetJobInput) SetArn(v string) *GetJobInput { } // Represents the result of a get job request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJobResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJobResult type GetJobOutput struct { _ struct{} `type:"structure"` @@ -7357,7 +7357,7 @@ func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetNetworkProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetNetworkProfileRequest type GetNetworkProfileInput struct { _ struct{} `type:"structure"` @@ -7400,7 +7400,7 @@ func (s *GetNetworkProfileInput) SetArn(v string) *GetNetworkProfileInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetNetworkProfileResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetNetworkProfileResult type GetNetworkProfileOutput struct { _ struct{} `type:"structure"` @@ -7426,7 +7426,7 @@ func (s *GetNetworkProfileOutput) SetNetworkProfile(v *NetworkProfile) *GetNetwo // Represents the request to retrieve the offering status for the specified // customer or account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetOfferingStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetOfferingStatusRequest type GetOfferingStatusInput struct { _ struct{} `type:"structure"` @@ -7465,7 +7465,7 @@ func (s *GetOfferingStatusInput) SetNextToken(v string) *GetOfferingStatusInput } // Returns the status result for a device offering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetOfferingStatusResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetOfferingStatusResult type GetOfferingStatusOutput struct { _ struct{} `type:"structure"` @@ -7509,7 +7509,7 @@ func (s *GetOfferingStatusOutput) SetNextToken(v string) *GetOfferingStatusOutpu } // Represents a request to the get project operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetProjectRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetProjectRequest type GetProjectInput struct { _ struct{} `type:"structure"` @@ -7552,7 +7552,7 @@ func (s *GetProjectInput) SetArn(v string) *GetProjectInput { } // Represents the result of a get project request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetProjectResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetProjectResult type GetProjectOutput struct { _ struct{} `type:"structure"` @@ -7578,7 +7578,7 @@ func (s *GetProjectOutput) SetProject(v *Project) *GetProjectOutput { // Represents the request to get information about the specified remote access // session. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRemoteAccessSessionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRemoteAccessSessionRequest type GetRemoteAccessSessionInput struct { _ struct{} `type:"structure"` @@ -7623,7 +7623,7 @@ func (s *GetRemoteAccessSessionInput) SetArn(v string) *GetRemoteAccessSessionIn // Represents the response from the server that lists detailed information about // the remote access session. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRemoteAccessSessionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRemoteAccessSessionResult type GetRemoteAccessSessionOutput struct { _ struct{} `type:"structure"` @@ -7648,7 +7648,7 @@ func (s *GetRemoteAccessSessionOutput) SetRemoteAccessSession(v *RemoteAccessSes } // Represents a request to the get run operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRunRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRunRequest type GetRunInput struct { _ struct{} `type:"structure"` @@ -7691,7 +7691,7 @@ func (s *GetRunInput) SetArn(v string) *GetRunInput { } // Represents the result of a get run request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRunResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRunResult type GetRunOutput struct { _ struct{} `type:"structure"` @@ -7716,7 +7716,7 @@ func (s *GetRunOutput) SetRun(v *Run) *GetRunOutput { } // Represents a request to the get suite operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetSuiteRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetSuiteRequest type GetSuiteInput struct { _ struct{} `type:"structure"` @@ -7759,7 +7759,7 @@ func (s *GetSuiteInput) SetArn(v string) *GetSuiteInput { } // Represents the result of a get suite request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetSuiteResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetSuiteResult type GetSuiteOutput struct { _ struct{} `type:"structure"` @@ -7784,7 +7784,7 @@ func (s *GetSuiteOutput) SetSuite(v *Suite) *GetSuiteOutput { } // Represents a request to the get test operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTestRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTestRequest type GetTestInput struct { _ struct{} `type:"structure"` @@ -7827,7 +7827,7 @@ func (s *GetTestInput) SetArn(v string) *GetTestInput { } // Represents the result of a get test request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTestResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTestResult type GetTestOutput struct { _ struct{} `type:"structure"` @@ -7852,7 +7852,7 @@ func (s *GetTestOutput) SetTest(v *Test) *GetTestOutput { } // Represents a request to the get upload operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetUploadRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetUploadRequest type GetUploadInput struct { _ struct{} `type:"structure"` @@ -7895,7 +7895,7 @@ func (s *GetUploadInput) SetArn(v string) *GetUploadInput { } // Represents the result of a get upload request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetUploadResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetUploadResult type GetUploadOutput struct { _ struct{} `type:"structure"` @@ -7920,7 +7920,7 @@ func (s *GetUploadOutput) SetUpload(v *Upload) *GetUploadOutput { } // Represents information about incompatibility. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/IncompatibilityMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/IncompatibilityMessage type IncompatibilityMessage struct { _ struct{} `type:"structure"` @@ -7969,7 +7969,7 @@ func (s *IncompatibilityMessage) SetType(v string) *IncompatibilityMessage { // Represents the request to install an Android application (in .apk format) // or an iOS application (in .ipa format) as part of a remote access session. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/InstallToRemoteAccessSessionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/InstallToRemoteAccessSessionRequest type InstallToRemoteAccessSessionInput struct { _ struct{} `type:"structure"` @@ -8032,7 +8032,7 @@ func (s *InstallToRemoteAccessSessionInput) SetRemoteAccessSessionArn(v string) // Represents the response from the server after AWS Device Farm makes a request // to install to a remote access session. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/InstallToRemoteAccessSessionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/InstallToRemoteAccessSessionResult type InstallToRemoteAccessSessionOutput struct { _ struct{} `type:"structure"` @@ -8057,7 +8057,7 @@ func (s *InstallToRemoteAccessSessionOutput) SetAppUpload(v *Upload) *InstallToR } // Represents a device. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Job +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Job type Job struct { _ struct{} `type:"structure"` @@ -8249,7 +8249,7 @@ func (s *Job) SetType(v string) *Job { } // Represents a request to the list artifacts operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListArtifactsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListArtifactsRequest type ListArtifactsInput struct { _ struct{} `type:"structure"` @@ -8327,7 +8327,7 @@ func (s *ListArtifactsInput) SetType(v string) *ListArtifactsInput { } // Represents the result of a list artifacts operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListArtifactsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListArtifactsResult type ListArtifactsOutput struct { _ struct{} `type:"structure"` @@ -8363,7 +8363,7 @@ func (s *ListArtifactsOutput) SetNextToken(v string) *ListArtifactsOutput { } // Represents the result of a list device pools request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicePoolsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicePoolsRequest type ListDevicePoolsInput struct { _ struct{} `type:"structure"` @@ -8435,7 +8435,7 @@ func (s *ListDevicePoolsInput) SetType(v string) *ListDevicePoolsInput { } // Represents the result of a list device pools request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicePoolsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicePoolsResult type ListDevicePoolsOutput struct { _ struct{} `type:"structure"` @@ -8471,7 +8471,7 @@ func (s *ListDevicePoolsOutput) SetNextToken(v string) *ListDevicePoolsOutput { } // Represents the result of a list devices request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicesRequest type ListDevicesInput struct { _ struct{} `type:"structure"` @@ -8522,7 +8522,7 @@ func (s *ListDevicesInput) SetNextToken(v string) *ListDevicesInput { } // Represents the result of a list devices operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicesResult type ListDevicesOutput struct { _ struct{} `type:"structure"` @@ -8558,7 +8558,7 @@ func (s *ListDevicesOutput) SetNextToken(v string) *ListDevicesOutput { } // Represents a request to the list jobs operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobsRequest type ListJobsInput struct { _ struct{} `type:"structure"` @@ -8614,7 +8614,7 @@ func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput { } // Represents the result of a list jobs request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobsResult type ListJobsOutput struct { _ struct{} `type:"structure"` @@ -8649,7 +8649,7 @@ func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListNetworkProfilesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListNetworkProfilesRequest type ListNetworkProfilesInput struct { _ struct{} `type:"structure"` @@ -8715,7 +8715,7 @@ func (s *ListNetworkProfilesInput) SetType(v string) *ListNetworkProfilesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListNetworkProfilesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListNetworkProfilesResult type ListNetworkProfilesOutput struct { _ struct{} `type:"structure"` @@ -8749,7 +8749,7 @@ func (s *ListNetworkProfilesOutput) SetNextToken(v string) *ListNetworkProfilesO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingPromotionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingPromotionsRequest type ListOfferingPromotionsInput struct { _ struct{} `type:"structure"` @@ -8787,7 +8787,7 @@ func (s *ListOfferingPromotionsInput) SetNextToken(v string) *ListOfferingPromot return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingPromotionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingPromotionsResult type ListOfferingPromotionsOutput struct { _ struct{} `type:"structure"` @@ -8822,7 +8822,7 @@ func (s *ListOfferingPromotionsOutput) SetOfferingPromotions(v []*OfferingPromot } // Represents the request to list the offering transaction history. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingTransactionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingTransactionsRequest type ListOfferingTransactionsInput struct { _ struct{} `type:"structure"` @@ -8861,7 +8861,7 @@ func (s *ListOfferingTransactionsInput) SetNextToken(v string) *ListOfferingTran } // Returns the transaction log of the specified offerings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingTransactionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingTransactionsResult type ListOfferingTransactionsOutput struct { _ struct{} `type:"structure"` @@ -8897,7 +8897,7 @@ func (s *ListOfferingTransactionsOutput) SetOfferingTransactions(v []*OfferingTr } // Represents the request to list all offerings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingsRequest type ListOfferingsInput struct { _ struct{} `type:"structure"` @@ -8936,7 +8936,7 @@ func (s *ListOfferingsInput) SetNextToken(v string) *ListOfferingsInput { } // Represents the return values of the list of offerings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingsResult type ListOfferingsOutput struct { _ struct{} `type:"structure"` @@ -8971,7 +8971,7 @@ func (s *ListOfferingsOutput) SetOfferings(v []*Offering) *ListOfferingsOutput { } // Represents a request to the list projects operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListProjectsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListProjectsRequest type ListProjectsInput struct { _ struct{} `type:"structure"` @@ -9024,7 +9024,7 @@ func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput { } // Represents the result of a list projects request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListProjectsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListProjectsResult type ListProjectsOutput struct { _ struct{} `type:"structure"` @@ -9060,7 +9060,7 @@ func (s *ListProjectsOutput) SetProjects(v []*Project) *ListProjectsOutput { } // Represents the request to return information about the remote access session. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRemoteAccessSessionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRemoteAccessSessionsRequest type ListRemoteAccessSessionsInput struct { _ struct{} `type:"structure"` @@ -9118,7 +9118,7 @@ func (s *ListRemoteAccessSessionsInput) SetNextToken(v string) *ListRemoteAccess // Represents the response from the server after AWS Device Farm makes a request // to return information about the remote access session. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRemoteAccessSessionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRemoteAccessSessionsResult type ListRemoteAccessSessionsOutput struct { _ struct{} `type:"structure"` @@ -9154,7 +9154,7 @@ func (s *ListRemoteAccessSessionsOutput) SetRemoteAccessSessions(v []*RemoteAcce } // Represents a request to the list runs operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRunsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRunsRequest type ListRunsInput struct { _ struct{} `type:"structure"` @@ -9211,7 +9211,7 @@ func (s *ListRunsInput) SetNextToken(v string) *ListRunsInput { } // Represents the result of a list runs request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRunsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRunsResult type ListRunsOutput struct { _ struct{} `type:"structure"` @@ -9247,7 +9247,7 @@ func (s *ListRunsOutput) SetRuns(v []*Run) *ListRunsOutput { } // Represents a request to the list samples operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSamplesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSamplesRequest type ListSamplesInput struct { _ struct{} `type:"structure"` @@ -9304,7 +9304,7 @@ func (s *ListSamplesInput) SetNextToken(v string) *ListSamplesInput { } // Represents the result of a list samples request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSamplesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSamplesResult type ListSamplesOutput struct { _ struct{} `type:"structure"` @@ -9340,7 +9340,7 @@ func (s *ListSamplesOutput) SetSamples(v []*Sample) *ListSamplesOutput { } // Represents a request to the list suites operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSuitesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSuitesRequest type ListSuitesInput struct { _ struct{} `type:"structure"` @@ -9396,7 +9396,7 @@ func (s *ListSuitesInput) SetNextToken(v string) *ListSuitesInput { } // Represents the result of a list suites request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSuitesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSuitesResult type ListSuitesOutput struct { _ struct{} `type:"structure"` @@ -9432,7 +9432,7 @@ func (s *ListSuitesOutput) SetSuites(v []*Suite) *ListSuitesOutput { } // Represents a request to the list tests operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestsRequest type ListTestsInput struct { _ struct{} `type:"structure"` @@ -9488,7 +9488,7 @@ func (s *ListTestsInput) SetNextToken(v string) *ListTestsInput { } // Represents the result of a list tests request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestsResult type ListTestsOutput struct { _ struct{} `type:"structure"` @@ -9524,7 +9524,7 @@ func (s *ListTestsOutput) SetTests(v []*Test) *ListTestsOutput { } // Represents a request to the list unique problems operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUniqueProblemsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUniqueProblemsRequest type ListUniqueProblemsInput struct { _ struct{} `type:"structure"` @@ -9580,7 +9580,7 @@ func (s *ListUniqueProblemsInput) SetNextToken(v string) *ListUniqueProblemsInpu } // Represents the result of a list unique problems request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUniqueProblemsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUniqueProblemsResult type ListUniqueProblemsOutput struct { _ struct{} `type:"structure"` @@ -9632,7 +9632,7 @@ func (s *ListUniqueProblemsOutput) SetUniqueProblems(v map[string][]*UniqueProbl } // Represents a request to the list uploads operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUploadsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUploadsRequest type ListUploadsInput struct { _ struct{} `type:"structure"` @@ -9689,7 +9689,7 @@ func (s *ListUploadsInput) SetNextToken(v string) *ListUploadsInput { } // Represents the result of a list uploads request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUploadsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUploadsResult type ListUploadsOutput struct { _ struct{} `type:"structure"` @@ -9728,7 +9728,7 @@ func (s *ListUploadsOutput) SetUploads(v []*Upload) *ListUploadsOutput { // system degrees (for example 47.6204, -122.3491). // // Elevation is currently not supported. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Location +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Location type Location struct { _ struct{} `type:"structure"` @@ -9782,7 +9782,7 @@ func (s *Location) SetLongitude(v float64) *Location { } // A number representing the monetary amount for an offering or transaction. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/MonetaryAmount +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/MonetaryAmount type MonetaryAmount struct { _ struct{} `type:"structure"` @@ -9816,7 +9816,7 @@ func (s *MonetaryAmount) SetCurrencyCode(v string) *MonetaryAmount { } // An array of settings that describes characteristics of a network profile. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/NetworkProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/NetworkProfile type NetworkProfile struct { _ struct{} `type:"structure"` @@ -9944,7 +9944,7 @@ func (s *NetworkProfile) SetUplinkLossPercent(v int64) *NetworkProfile { } // Represents the metadata of a device offering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Offering +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Offering type Offering struct { _ struct{} `type:"structure"` @@ -10005,7 +10005,7 @@ func (s *Offering) SetType(v string) *Offering { } // Represents information about an offering promotion. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/OfferingPromotion +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/OfferingPromotion type OfferingPromotion struct { _ struct{} `type:"structure"` @@ -10039,7 +10039,7 @@ func (s *OfferingPromotion) SetId(v string) *OfferingPromotion { } // The status of the offering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/OfferingStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/OfferingStatus type OfferingStatus struct { _ struct{} `type:"structure"` @@ -10091,7 +10091,7 @@ func (s *OfferingStatus) SetType(v string) *OfferingStatus { } // Represents the metadata of an offering transaction. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/OfferingTransaction +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/OfferingTransaction type OfferingTransaction struct { _ struct{} `type:"structure"` @@ -10152,7 +10152,7 @@ func (s *OfferingTransaction) SetTransactionId(v string) *OfferingTransaction { } // Represents a specific warning or failure. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Problem +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Problem type Problem struct { _ struct{} `type:"structure"` @@ -10247,7 +10247,7 @@ func (s *Problem) SetTest(v *ProblemDetail) *Problem { } // Information about a problem detail. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ProblemDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ProblemDetail type ProblemDetail struct { _ struct{} `type:"structure"` @@ -10282,7 +10282,7 @@ func (s *ProblemDetail) SetName(v string) *ProblemDetail { // Represents an operating-system neutral workspace for running and managing // tests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Project +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Project type Project struct { _ struct{} `type:"structure"` @@ -10335,7 +10335,7 @@ func (s *Project) SetName(v string) *Project { } // Represents a request for a purchase offering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/PurchaseOfferingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/PurchaseOfferingRequest type PurchaseOfferingInput struct { _ struct{} `type:"structure"` @@ -10394,7 +10394,7 @@ func (s *PurchaseOfferingInput) SetQuantity(v int64) *PurchaseOfferingInput { } // The result of the purchase offering (e.g., success or failure). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/PurchaseOfferingResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/PurchaseOfferingResult type PurchaseOfferingOutput struct { _ struct{} `type:"structure"` @@ -10420,7 +10420,7 @@ func (s *PurchaseOfferingOutput) SetOfferingTransaction(v *OfferingTransaction) // Represents the set of radios and their states on a device. Examples of radios // include Wi-Fi, GPS, Bluetooth, and NFC. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Radios +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Radios type Radios struct { _ struct{} `type:"structure"` @@ -10472,7 +10472,7 @@ func (s *Radios) SetWifi(v bool) *Radios { } // Specifies whether charges for devices will be recurring. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RecurringCharge +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RecurringCharge type RecurringCharge struct { _ struct{} `type:"structure"` @@ -10506,7 +10506,7 @@ func (s *RecurringCharge) SetFrequency(v string) *RecurringCharge { } // Represents information about the remote access session. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RemoteAccessSession +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RemoteAccessSession type RemoteAccessSession struct { _ struct{} `type:"structure"` @@ -10705,7 +10705,7 @@ func (s *RemoteAccessSession) SetStopped(v time.Time) *RemoteAccessSession { } // A request representing an offering renewal. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RenewOfferingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RenewOfferingRequest type RenewOfferingInput struct { _ struct{} `type:"structure"` @@ -10752,7 +10752,7 @@ func (s *RenewOfferingInput) SetQuantity(v int64) *RenewOfferingInput { } // The result of a renewal offering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RenewOfferingResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RenewOfferingResult type RenewOfferingOutput struct { _ struct{} `type:"structure"` @@ -10778,7 +10778,7 @@ func (s *RenewOfferingOutput) SetOfferingTransaction(v *OfferingTransaction) *Re // Represents the screen resolution of a device in height and width, expressed // in pixels. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Resolution +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Resolution type Resolution struct { _ struct{} `type:"structure"` @@ -10812,7 +10812,7 @@ func (s *Resolution) SetWidth(v int64) *Resolution { } // Represents a condition for a device pool. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Rule +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Rule type Rule struct { _ struct{} `type:"structure"` @@ -10882,7 +10882,7 @@ func (s *Rule) SetValue(v string) *Rule { // Represents a test run on a set of devices with a given app package, test // parameters, etc. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Run +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Run type Run struct { _ struct{} `type:"structure"` @@ -11147,7 +11147,7 @@ func (s *Run) SetType(v string) *Run { } // Represents a sample of performance data. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Sample +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Sample type Sample struct { _ struct{} `type:"structure"` @@ -11233,7 +11233,7 @@ func (s *Sample) SetUrl(v string) *Sample { // Represents the settings for a run. Includes things like location, radio states, // auxiliary apps, and network profiles. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunConfiguration type ScheduleRunConfiguration struct { _ struct{} `type:"structure"` @@ -11345,7 +11345,7 @@ func (s *ScheduleRunConfiguration) SetRadios(v *Radios) *ScheduleRunConfiguratio } // Represents a request to the schedule run operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunRequest type ScheduleRunInput struct { _ struct{} `type:"structure"` @@ -11469,7 +11469,7 @@ func (s *ScheduleRunInput) SetTest(v *ScheduleRunTest) *ScheduleRunInput { } // Represents the result of a schedule run request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunResult type ScheduleRunOutput struct { _ struct{} `type:"structure"` @@ -11494,7 +11494,7 @@ func (s *ScheduleRunOutput) SetRun(v *Run) *ScheduleRunOutput { } // Represents additional test settings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunTest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunTest type ScheduleRunTest struct { _ struct{} `type:"structure"` @@ -11668,7 +11668,7 @@ func (s *ScheduleRunTest) SetType(v string) *ScheduleRunTest { } // Represents the request to stop the remote access session. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRemoteAccessSessionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRemoteAccessSessionRequest type StopRemoteAccessSessionInput struct { _ struct{} `type:"structure"` @@ -11712,7 +11712,7 @@ func (s *StopRemoteAccessSessionInput) SetArn(v string) *StopRemoteAccessSession // Represents the response from the server that describes the remote access // session when AWS Device Farm stops the session. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRemoteAccessSessionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRemoteAccessSessionResult type StopRemoteAccessSessionOutput struct { _ struct{} `type:"structure"` @@ -11738,7 +11738,7 @@ func (s *StopRemoteAccessSessionOutput) SetRemoteAccessSession(v *RemoteAccessSe } // Represents the request to stop a specific run. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRunRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRunRequest type StopRunInput struct { _ struct{} `type:"structure"` @@ -11782,7 +11782,7 @@ func (s *StopRunInput) SetArn(v string) *StopRunInput { } // Represents the results of your stop run attempt. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRunResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRunResult type StopRunOutput struct { _ struct{} `type:"structure"` @@ -11807,7 +11807,7 @@ func (s *StopRunOutput) SetRun(v *Run) *StopRunOutput { } // Represents a collection of one or more tests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Suite +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Suite type Suite struct { _ struct{} `type:"structure"` @@ -11990,7 +11990,7 @@ func (s *Suite) SetType(v string) *Suite { } // Represents a condition that is evaluated. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Test +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Test type Test struct { _ struct{} `type:"structure"` @@ -12173,7 +12173,7 @@ func (s *Test) SetType(v string) *Test { } // Represents information about free trial device minutes for an AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TrialMinutes +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TrialMinutes type TrialMinutes struct { _ struct{} `type:"structure"` @@ -12207,7 +12207,7 @@ func (s *TrialMinutes) SetTotal(v float64) *TrialMinutes { } // A collection of one or more problems, grouped by their result. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UniqueProblem +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UniqueProblem type UniqueProblem struct { _ struct{} `type:"structure"` @@ -12241,7 +12241,7 @@ func (s *UniqueProblem) SetProblems(v []*Problem) *UniqueProblem { } // Represents a request to the update device pool operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDevicePoolRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDevicePoolRequest type UpdateDevicePoolInput struct { _ struct{} `type:"structure"` @@ -12314,7 +12314,7 @@ func (s *UpdateDevicePoolInput) SetRules(v []*Rule) *UpdateDevicePoolInput { } // Represents the result of an update device pool request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDevicePoolResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDevicePoolResult type UpdateDevicePoolOutput struct { _ struct{} `type:"structure"` @@ -12338,7 +12338,7 @@ func (s *UpdateDevicePoolOutput) SetDevicePool(v *DevicePool) *UpdateDevicePoolO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateNetworkProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateNetworkProfileRequest type UpdateNetworkProfileInput struct { _ struct{} `type:"structure"` @@ -12485,7 +12485,7 @@ func (s *UpdateNetworkProfileInput) SetUplinkLossPercent(v int64) *UpdateNetwork return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateNetworkProfileResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateNetworkProfileResult type UpdateNetworkProfileOutput struct { _ struct{} `type:"structure"` @@ -12510,7 +12510,7 @@ func (s *UpdateNetworkProfileOutput) SetNetworkProfile(v *NetworkProfile) *Updat } // Represents a request to the update project operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateProjectRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateProjectRequest type UpdateProjectInput struct { _ struct{} `type:"structure"` @@ -12572,7 +12572,7 @@ func (s *UpdateProjectInput) SetName(v string) *UpdateProjectInput { } // Represents the result of an update project request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateProjectResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateProjectResult type UpdateProjectOutput struct { _ struct{} `type:"structure"` @@ -12597,7 +12597,7 @@ func (s *UpdateProjectOutput) SetProject(v *Project) *UpdateProjectOutput { } // An app or a set of one or more tests to upload or that have been uploaded. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Upload +// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Upload type Upload struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/directconnect/api.go b/vendor/github.com/aws/aws-sdk-go/service/directconnect/api.go index 642b223db20..a396656eda2 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/directconnect/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/directconnect/api.go @@ -36,7 +36,7 @@ const opAllocateConnectionOnInterconnect = "AllocateConnectionOnInterconnect" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateConnectionOnInterconnect +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateConnectionOnInterconnect func (c *DirectConnect) AllocateConnectionOnInterconnectRequest(input *AllocateConnectionOnInterconnectInput) (req *request.Request, output *Connection) { if c.Client.Config.Logger != nil { c.Client.Config.Logger.Log("This operation, AllocateConnectionOnInterconnect, has been deprecated") @@ -83,7 +83,7 @@ func (c *DirectConnect) AllocateConnectionOnInterconnectRequest(input *AllocateC // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateConnectionOnInterconnect +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateConnectionOnInterconnect func (c *DirectConnect) AllocateConnectionOnInterconnect(input *AllocateConnectionOnInterconnectInput) (*Connection, error) { req, out := c.AllocateConnectionOnInterconnectRequest(input) return out, req.Send() @@ -130,7 +130,7 @@ const opAllocateHostedConnection = "AllocateHostedConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnection func (c *DirectConnect) AllocateHostedConnectionRequest(input *AllocateHostedConnectionInput) (req *request.Request, output *Connection) { op := &request.Operation{ Name: opAllocateHostedConnection, @@ -173,7 +173,7 @@ func (c *DirectConnect) AllocateHostedConnectionRequest(input *AllocateHostedCon // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnection func (c *DirectConnect) AllocateHostedConnection(input *AllocateHostedConnectionInput) (*Connection, error) { req, out := c.AllocateHostedConnectionRequest(input) return out, req.Send() @@ -220,7 +220,7 @@ const opAllocatePrivateVirtualInterface = "AllocatePrivateVirtualInterface" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePrivateVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePrivateVirtualInterface func (c *DirectConnect) AllocatePrivateVirtualInterfaceRequest(input *AllocatePrivateVirtualInterfaceInput) (req *request.Request, output *VirtualInterface) { op := &request.Operation{ Name: opAllocatePrivateVirtualInterface, @@ -262,7 +262,7 @@ func (c *DirectConnect) AllocatePrivateVirtualInterfaceRequest(input *AllocatePr // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePrivateVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePrivateVirtualInterface func (c *DirectConnect) AllocatePrivateVirtualInterface(input *AllocatePrivateVirtualInterfaceInput) (*VirtualInterface, error) { req, out := c.AllocatePrivateVirtualInterfaceRequest(input) return out, req.Send() @@ -309,7 +309,7 @@ const opAllocatePublicVirtualInterface = "AllocatePublicVirtualInterface" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePublicVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePublicVirtualInterface func (c *DirectConnect) AllocatePublicVirtualInterfaceRequest(input *AllocatePublicVirtualInterfaceInput) (req *request.Request, output *VirtualInterface) { op := &request.Operation{ Name: opAllocatePublicVirtualInterface, @@ -358,7 +358,7 @@ func (c *DirectConnect) AllocatePublicVirtualInterfaceRequest(input *AllocatePub // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePublicVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePublicVirtualInterface func (c *DirectConnect) AllocatePublicVirtualInterface(input *AllocatePublicVirtualInterfaceInput) (*VirtualInterface, error) { req, out := c.AllocatePublicVirtualInterfaceRequest(input) return out, req.Send() @@ -405,7 +405,7 @@ const opAssociateConnectionWithLag = "AssociateConnectionWithLag" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLag +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLag func (c *DirectConnect) AssociateConnectionWithLagRequest(input *AssociateConnectionWithLagInput) (req *request.Request, output *Connection) { op := &request.Operation{ Name: opAssociateConnectionWithLag, @@ -458,7 +458,7 @@ func (c *DirectConnect) AssociateConnectionWithLagRequest(input *AssociateConnec // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLag +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLag func (c *DirectConnect) AssociateConnectionWithLag(input *AssociateConnectionWithLagInput) (*Connection, error) { req, out := c.AssociateConnectionWithLagRequest(input) return out, req.Send() @@ -505,7 +505,7 @@ const opAssociateHostedConnection = "AssociateHostedConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnection func (c *DirectConnect) AssociateHostedConnectionRequest(input *AssociateHostedConnectionInput) (req *request.Request, output *Connection) { op := &request.Operation{ Name: opAssociateHostedConnection, @@ -548,7 +548,7 @@ func (c *DirectConnect) AssociateHostedConnectionRequest(input *AssociateHostedC // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnection func (c *DirectConnect) AssociateHostedConnection(input *AssociateHostedConnectionInput) (*Connection, error) { req, out := c.AssociateHostedConnectionRequest(input) return out, req.Send() @@ -595,7 +595,7 @@ const opAssociateVirtualInterface = "AssociateVirtualInterface" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateVirtualInterface func (c *DirectConnect) AssociateVirtualInterfaceRequest(input *AssociateVirtualInterfaceInput) (req *request.Request, output *VirtualInterface) { op := &request.Operation{ Name: opAssociateVirtualInterface, @@ -646,7 +646,7 @@ func (c *DirectConnect) AssociateVirtualInterfaceRequest(input *AssociateVirtual // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateVirtualInterface func (c *DirectConnect) AssociateVirtualInterface(input *AssociateVirtualInterfaceInput) (*VirtualInterface, error) { req, out := c.AssociateVirtualInterfaceRequest(input) return out, req.Send() @@ -693,7 +693,7 @@ const opConfirmConnection = "ConfirmConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnection func (c *DirectConnect) ConfirmConnectionRequest(input *ConfirmConnectionInput) (req *request.Request, output *ConfirmConnectionOutput) { op := &request.Operation{ Name: opConfirmConnection, @@ -734,7 +734,7 @@ func (c *DirectConnect) ConfirmConnectionRequest(input *ConfirmConnectionInput) // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnection func (c *DirectConnect) ConfirmConnection(input *ConfirmConnectionInput) (*ConfirmConnectionOutput, error) { req, out := c.ConfirmConnectionRequest(input) return out, req.Send() @@ -781,7 +781,7 @@ const opConfirmPrivateVirtualInterface = "ConfirmPrivateVirtualInterface" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterface func (c *DirectConnect) ConfirmPrivateVirtualInterfaceRequest(input *ConfirmPrivateVirtualInterfaceInput) (req *request.Request, output *ConfirmPrivateVirtualInterfaceOutput) { op := &request.Operation{ Name: opConfirmPrivateVirtualInterface, @@ -822,7 +822,7 @@ func (c *DirectConnect) ConfirmPrivateVirtualInterfaceRequest(input *ConfirmPriv // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterface func (c *DirectConnect) ConfirmPrivateVirtualInterface(input *ConfirmPrivateVirtualInterfaceInput) (*ConfirmPrivateVirtualInterfaceOutput, error) { req, out := c.ConfirmPrivateVirtualInterfaceRequest(input) return out, req.Send() @@ -869,7 +869,7 @@ const opConfirmPublicVirtualInterface = "ConfirmPublicVirtualInterface" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterface func (c *DirectConnect) ConfirmPublicVirtualInterfaceRequest(input *ConfirmPublicVirtualInterfaceInput) (req *request.Request, output *ConfirmPublicVirtualInterfaceOutput) { op := &request.Operation{ Name: opConfirmPublicVirtualInterface, @@ -909,7 +909,7 @@ func (c *DirectConnect) ConfirmPublicVirtualInterfaceRequest(input *ConfirmPubli // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterface func (c *DirectConnect) ConfirmPublicVirtualInterface(input *ConfirmPublicVirtualInterfaceInput) (*ConfirmPublicVirtualInterfaceOutput, error) { req, out := c.ConfirmPublicVirtualInterfaceRequest(input) return out, req.Send() @@ -956,7 +956,7 @@ const opCreateBGPPeer = "CreateBGPPeer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeer +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeer func (c *DirectConnect) CreateBGPPeerRequest(input *CreateBGPPeerInput) (req *request.Request, output *CreateBGPPeerOutput) { op := &request.Operation{ Name: opCreateBGPPeer, @@ -1005,7 +1005,7 @@ func (c *DirectConnect) CreateBGPPeerRequest(input *CreateBGPPeerInput) (req *re // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeer +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeer func (c *DirectConnect) CreateBGPPeer(input *CreateBGPPeerInput) (*CreateBGPPeerOutput, error) { req, out := c.CreateBGPPeerRequest(input) return out, req.Send() @@ -1052,7 +1052,7 @@ const opCreateConnection = "CreateConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnection func (c *DirectConnect) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *Connection) { op := &request.Operation{ Name: opCreateConnection, @@ -1106,7 +1106,7 @@ func (c *DirectConnect) CreateConnectionRequest(input *CreateConnectionInput) (r // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnection func (c *DirectConnect) CreateConnection(input *CreateConnectionInput) (*Connection, error) { req, out := c.CreateConnectionRequest(input) return out, req.Send() @@ -1153,7 +1153,7 @@ const opCreateDirectConnectGateway = "CreateDirectConnectGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGateway func (c *DirectConnect) CreateDirectConnectGatewayRequest(input *CreateDirectConnectGatewayInput) (req *request.Request, output *CreateDirectConnectGatewayOutput) { op := &request.Operation{ Name: opCreateDirectConnectGateway, @@ -1197,7 +1197,7 @@ func (c *DirectConnect) CreateDirectConnectGatewayRequest(input *CreateDirectCon // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGateway func (c *DirectConnect) CreateDirectConnectGateway(input *CreateDirectConnectGatewayInput) (*CreateDirectConnectGatewayOutput, error) { req, out := c.CreateDirectConnectGatewayRequest(input) return out, req.Send() @@ -1244,7 +1244,7 @@ const opCreateDirectConnectGatewayAssociation = "CreateDirectConnectGatewayAssoc // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociation func (c *DirectConnect) CreateDirectConnectGatewayAssociationRequest(input *CreateDirectConnectGatewayAssociationInput) (req *request.Request, output *CreateDirectConnectGatewayAssociationOutput) { op := &request.Operation{ Name: opCreateDirectConnectGatewayAssociation, @@ -1283,7 +1283,7 @@ func (c *DirectConnect) CreateDirectConnectGatewayAssociationRequest(input *Crea // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociation func (c *DirectConnect) CreateDirectConnectGatewayAssociation(input *CreateDirectConnectGatewayAssociationInput) (*CreateDirectConnectGatewayAssociationOutput, error) { req, out := c.CreateDirectConnectGatewayAssociationRequest(input) return out, req.Send() @@ -1330,7 +1330,7 @@ const opCreateInterconnect = "CreateInterconnect" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnect +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnect func (c *DirectConnect) CreateInterconnectRequest(input *CreateInterconnectInput) (req *request.Request, output *Interconnect) { op := &request.Operation{ Name: opCreateInterconnect, @@ -1390,7 +1390,7 @@ func (c *DirectConnect) CreateInterconnectRequest(input *CreateInterconnectInput // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnect +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnect func (c *DirectConnect) CreateInterconnect(input *CreateInterconnectInput) (*Interconnect, error) { req, out := c.CreateInterconnectRequest(input) return out, req.Send() @@ -1437,7 +1437,7 @@ const opCreateLag = "CreateLag" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLag +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLag func (c *DirectConnect) CreateLagRequest(input *CreateLagInput) (req *request.Request, output *Lag) { op := &request.Operation{ Name: opCreateLag, @@ -1498,7 +1498,7 @@ func (c *DirectConnect) CreateLagRequest(input *CreateLagInput) (req *request.Re // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLag +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLag func (c *DirectConnect) CreateLag(input *CreateLagInput) (*Lag, error) { req, out := c.CreateLagRequest(input) return out, req.Send() @@ -1545,7 +1545,7 @@ const opCreatePrivateVirtualInterface = "CreatePrivateVirtualInterface" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePrivateVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePrivateVirtualInterface func (c *DirectConnect) CreatePrivateVirtualInterfaceRequest(input *CreatePrivateVirtualInterfaceInput) (req *request.Request, output *VirtualInterface) { op := &request.Operation{ Name: opCreatePrivateVirtualInterface, @@ -1584,7 +1584,7 @@ func (c *DirectConnect) CreatePrivateVirtualInterfaceRequest(input *CreatePrivat // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePrivateVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePrivateVirtualInterface func (c *DirectConnect) CreatePrivateVirtualInterface(input *CreatePrivateVirtualInterfaceInput) (*VirtualInterface, error) { req, out := c.CreatePrivateVirtualInterfaceRequest(input) return out, req.Send() @@ -1631,7 +1631,7 @@ const opCreatePublicVirtualInterface = "CreatePublicVirtualInterface" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePublicVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePublicVirtualInterface func (c *DirectConnect) CreatePublicVirtualInterfaceRequest(input *CreatePublicVirtualInterfaceInput) (req *request.Request, output *VirtualInterface) { op := &request.Operation{ Name: opCreatePublicVirtualInterface, @@ -1675,7 +1675,7 @@ func (c *DirectConnect) CreatePublicVirtualInterfaceRequest(input *CreatePublicV // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePublicVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePublicVirtualInterface func (c *DirectConnect) CreatePublicVirtualInterface(input *CreatePublicVirtualInterfaceInput) (*VirtualInterface, error) { req, out := c.CreatePublicVirtualInterfaceRequest(input) return out, req.Send() @@ -1722,7 +1722,7 @@ const opDeleteBGPPeer = "DeleteBGPPeer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeer +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeer func (c *DirectConnect) DeleteBGPPeerRequest(input *DeleteBGPPeerInput) (req *request.Request, output *DeleteBGPPeerOutput) { op := &request.Operation{ Name: opDeleteBGPPeer, @@ -1761,7 +1761,7 @@ func (c *DirectConnect) DeleteBGPPeerRequest(input *DeleteBGPPeerInput) (req *re // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeer +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeer func (c *DirectConnect) DeleteBGPPeer(input *DeleteBGPPeerInput) (*DeleteBGPPeerOutput, error) { req, out := c.DeleteBGPPeerRequest(input) return out, req.Send() @@ -1808,7 +1808,7 @@ const opDeleteConnection = "DeleteConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnection func (c *DirectConnect) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *Connection) { op := &request.Operation{ Name: opDeleteConnection, @@ -1850,7 +1850,7 @@ func (c *DirectConnect) DeleteConnectionRequest(input *DeleteConnectionInput) (r // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnection func (c *DirectConnect) DeleteConnection(input *DeleteConnectionInput) (*Connection, error) { req, out := c.DeleteConnectionRequest(input) return out, req.Send() @@ -1897,7 +1897,7 @@ const opDeleteDirectConnectGateway = "DeleteDirectConnectGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGateway func (c *DirectConnect) DeleteDirectConnectGatewayRequest(input *DeleteDirectConnectGatewayInput) (req *request.Request, output *DeleteDirectConnectGatewayOutput) { op := &request.Operation{ Name: opDeleteDirectConnectGateway, @@ -1936,7 +1936,7 @@ func (c *DirectConnect) DeleteDirectConnectGatewayRequest(input *DeleteDirectCon // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGateway func (c *DirectConnect) DeleteDirectConnectGateway(input *DeleteDirectConnectGatewayInput) (*DeleteDirectConnectGatewayOutput, error) { req, out := c.DeleteDirectConnectGatewayRequest(input) return out, req.Send() @@ -1983,7 +1983,7 @@ const opDeleteDirectConnectGatewayAssociation = "DeleteDirectConnectGatewayAssoc // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociation func (c *DirectConnect) DeleteDirectConnectGatewayAssociationRequest(input *DeleteDirectConnectGatewayAssociationInput) (req *request.Request, output *DeleteDirectConnectGatewayAssociationOutput) { op := &request.Operation{ Name: opDeleteDirectConnectGatewayAssociation, @@ -2021,7 +2021,7 @@ func (c *DirectConnect) DeleteDirectConnectGatewayAssociationRequest(input *Dele // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociation func (c *DirectConnect) DeleteDirectConnectGatewayAssociation(input *DeleteDirectConnectGatewayAssociationInput) (*DeleteDirectConnectGatewayAssociationOutput, error) { req, out := c.DeleteDirectConnectGatewayAssociationRequest(input) return out, req.Send() @@ -2068,7 +2068,7 @@ const opDeleteInterconnect = "DeleteInterconnect" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnect +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnect func (c *DirectConnect) DeleteInterconnectRequest(input *DeleteInterconnectInput) (req *request.Request, output *DeleteInterconnectOutput) { op := &request.Operation{ Name: opDeleteInterconnect, @@ -2107,7 +2107,7 @@ func (c *DirectConnect) DeleteInterconnectRequest(input *DeleteInterconnectInput // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnect +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnect func (c *DirectConnect) DeleteInterconnect(input *DeleteInterconnectInput) (*DeleteInterconnectOutput, error) { req, out := c.DeleteInterconnectRequest(input) return out, req.Send() @@ -2154,7 +2154,7 @@ const opDeleteLag = "DeleteLag" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLag +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLag func (c *DirectConnect) DeleteLagRequest(input *DeleteLagInput) (req *request.Request, output *Lag) { op := &request.Operation{ Name: opDeleteLag, @@ -2192,7 +2192,7 @@ func (c *DirectConnect) DeleteLagRequest(input *DeleteLagInput) (req *request.Re // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLag +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLag func (c *DirectConnect) DeleteLag(input *DeleteLagInput) (*Lag, error) { req, out := c.DeleteLagRequest(input) return out, req.Send() @@ -2239,7 +2239,7 @@ const opDeleteVirtualInterface = "DeleteVirtualInterface" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterface func (c *DirectConnect) DeleteVirtualInterfaceRequest(input *DeleteVirtualInterfaceInput) (req *request.Request, output *DeleteVirtualInterfaceOutput) { op := &request.Operation{ Name: opDeleteVirtualInterface, @@ -2276,7 +2276,7 @@ func (c *DirectConnect) DeleteVirtualInterfaceRequest(input *DeleteVirtualInterf // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterface func (c *DirectConnect) DeleteVirtualInterface(input *DeleteVirtualInterfaceInput) (*DeleteVirtualInterfaceOutput, error) { req, out := c.DeleteVirtualInterfaceRequest(input) return out, req.Send() @@ -2323,7 +2323,7 @@ const opDescribeConnectionLoa = "DescribeConnectionLoa" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoa +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoa func (c *DirectConnect) DescribeConnectionLoaRequest(input *DescribeConnectionLoaInput) (req *request.Request, output *DescribeConnectionLoaOutput) { if c.Client.Config.Logger != nil { c.Client.Config.Logger.Log("This operation, DescribeConnectionLoa, has been deprecated") @@ -2371,7 +2371,7 @@ func (c *DirectConnect) DescribeConnectionLoaRequest(input *DescribeConnectionLo // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoa +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoa func (c *DirectConnect) DescribeConnectionLoa(input *DescribeConnectionLoaInput) (*DescribeConnectionLoaOutput, error) { req, out := c.DescribeConnectionLoaRequest(input) return out, req.Send() @@ -2418,7 +2418,7 @@ const opDescribeConnections = "DescribeConnections" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnections +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnections func (c *DirectConnect) DescribeConnectionsRequest(input *DescribeConnectionsInput) (req *request.Request, output *Connections) { op := &request.Operation{ Name: opDescribeConnections, @@ -2457,7 +2457,7 @@ func (c *DirectConnect) DescribeConnectionsRequest(input *DescribeConnectionsInp // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnections +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnections func (c *DirectConnect) DescribeConnections(input *DescribeConnectionsInput) (*Connections, error) { req, out := c.DescribeConnectionsRequest(input) return out, req.Send() @@ -2504,7 +2504,7 @@ const opDescribeConnectionsOnInterconnect = "DescribeConnectionsOnInterconnect" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnect +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnect func (c *DirectConnect) DescribeConnectionsOnInterconnectRequest(input *DescribeConnectionsOnInterconnectInput) (req *request.Request, output *Connections) { if c.Client.Config.Logger != nil { c.Client.Config.Logger.Log("This operation, DescribeConnectionsOnInterconnect, has been deprecated") @@ -2548,7 +2548,7 @@ func (c *DirectConnect) DescribeConnectionsOnInterconnectRequest(input *Describe // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnect +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnect func (c *DirectConnect) DescribeConnectionsOnInterconnect(input *DescribeConnectionsOnInterconnectInput) (*Connections, error) { req, out := c.DescribeConnectionsOnInterconnectRequest(input) return out, req.Send() @@ -2595,7 +2595,7 @@ const opDescribeDirectConnectGatewayAssociations = "DescribeDirectConnectGateway // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociations +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociations func (c *DirectConnect) DescribeDirectConnectGatewayAssociationsRequest(input *DescribeDirectConnectGatewayAssociationsInput) (req *request.Request, output *DescribeDirectConnectGatewayAssociationsOutput) { op := &request.Operation{ Name: opDescribeDirectConnectGatewayAssociations, @@ -2638,7 +2638,7 @@ func (c *DirectConnect) DescribeDirectConnectGatewayAssociationsRequest(input *D // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociations +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociations func (c *DirectConnect) DescribeDirectConnectGatewayAssociations(input *DescribeDirectConnectGatewayAssociationsInput) (*DescribeDirectConnectGatewayAssociationsOutput, error) { req, out := c.DescribeDirectConnectGatewayAssociationsRequest(input) return out, req.Send() @@ -2685,7 +2685,7 @@ const opDescribeDirectConnectGatewayAttachments = "DescribeDirectConnectGatewayA // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachments +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachments func (c *DirectConnect) DescribeDirectConnectGatewayAttachmentsRequest(input *DescribeDirectConnectGatewayAttachmentsInput) (req *request.Request, output *DescribeDirectConnectGatewayAttachmentsOutput) { op := &request.Operation{ Name: opDescribeDirectConnectGatewayAttachments, @@ -2728,7 +2728,7 @@ func (c *DirectConnect) DescribeDirectConnectGatewayAttachmentsRequest(input *De // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachments +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachments func (c *DirectConnect) DescribeDirectConnectGatewayAttachments(input *DescribeDirectConnectGatewayAttachmentsInput) (*DescribeDirectConnectGatewayAttachmentsOutput, error) { req, out := c.DescribeDirectConnectGatewayAttachmentsRequest(input) return out, req.Send() @@ -2775,7 +2775,7 @@ const opDescribeDirectConnectGateways = "DescribeDirectConnectGateways" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGateways func (c *DirectConnect) DescribeDirectConnectGatewaysRequest(input *DescribeDirectConnectGatewaysInput) (req *request.Request, output *DescribeDirectConnectGatewaysOutput) { op := &request.Operation{ Name: opDescribeDirectConnectGateways, @@ -2816,7 +2816,7 @@ func (c *DirectConnect) DescribeDirectConnectGatewaysRequest(input *DescribeDire // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGateways func (c *DirectConnect) DescribeDirectConnectGateways(input *DescribeDirectConnectGatewaysInput) (*DescribeDirectConnectGatewaysOutput, error) { req, out := c.DescribeDirectConnectGatewaysRequest(input) return out, req.Send() @@ -2863,7 +2863,7 @@ const opDescribeHostedConnections = "DescribeHostedConnections" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnections +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnections func (c *DirectConnect) DescribeHostedConnectionsRequest(input *DescribeHostedConnectionsInput) (req *request.Request, output *Connections) { op := &request.Operation{ Name: opDescribeHostedConnections, @@ -2903,7 +2903,7 @@ func (c *DirectConnect) DescribeHostedConnectionsRequest(input *DescribeHostedCo // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnections +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnections func (c *DirectConnect) DescribeHostedConnections(input *DescribeHostedConnectionsInput) (*Connections, error) { req, out := c.DescribeHostedConnectionsRequest(input) return out, req.Send() @@ -2950,7 +2950,7 @@ const opDescribeInterconnectLoa = "DescribeInterconnectLoa" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoa +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoa func (c *DirectConnect) DescribeInterconnectLoaRequest(input *DescribeInterconnectLoaInput) (req *request.Request, output *DescribeInterconnectLoaOutput) { if c.Client.Config.Logger != nil { c.Client.Config.Logger.Log("This operation, DescribeInterconnectLoa, has been deprecated") @@ -2998,7 +2998,7 @@ func (c *DirectConnect) DescribeInterconnectLoaRequest(input *DescribeInterconne // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoa +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoa func (c *DirectConnect) DescribeInterconnectLoa(input *DescribeInterconnectLoaInput) (*DescribeInterconnectLoaOutput, error) { req, out := c.DescribeInterconnectLoaRequest(input) return out, req.Send() @@ -3045,7 +3045,7 @@ const opDescribeInterconnects = "DescribeInterconnects" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnects +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnects func (c *DirectConnect) DescribeInterconnectsRequest(input *DescribeInterconnectsInput) (req *request.Request, output *DescribeInterconnectsOutput) { op := &request.Operation{ Name: opDescribeInterconnects, @@ -3084,7 +3084,7 @@ func (c *DirectConnect) DescribeInterconnectsRequest(input *DescribeInterconnect // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnects +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnects func (c *DirectConnect) DescribeInterconnects(input *DescribeInterconnectsInput) (*DescribeInterconnectsOutput, error) { req, out := c.DescribeInterconnectsRequest(input) return out, req.Send() @@ -3131,7 +3131,7 @@ const opDescribeLags = "DescribeLags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLags +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLags func (c *DirectConnect) DescribeLagsRequest(input *DescribeLagsInput) (req *request.Request, output *DescribeLagsOutput) { op := &request.Operation{ Name: opDescribeLags, @@ -3170,7 +3170,7 @@ func (c *DirectConnect) DescribeLagsRequest(input *DescribeLagsInput) (req *requ // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLags +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLags func (c *DirectConnect) DescribeLags(input *DescribeLagsInput) (*DescribeLagsOutput, error) { req, out := c.DescribeLagsRequest(input) return out, req.Send() @@ -3217,7 +3217,7 @@ const opDescribeLoa = "DescribeLoa" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLoa +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLoa func (c *DirectConnect) DescribeLoaRequest(input *DescribeLoaInput) (req *request.Request, output *Loa) { op := &request.Operation{ Name: opDescribeLoa, @@ -3261,7 +3261,7 @@ func (c *DirectConnect) DescribeLoaRequest(input *DescribeLoaInput) (req *reques // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLoa +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLoa func (c *DirectConnect) DescribeLoa(input *DescribeLoaInput) (*Loa, error) { req, out := c.DescribeLoaRequest(input) return out, req.Send() @@ -3308,7 +3308,7 @@ const opDescribeLocations = "DescribeLocations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocations +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocations func (c *DirectConnect) DescribeLocationsRequest(input *DescribeLocationsInput) (req *request.Request, output *DescribeLocationsOutput) { op := &request.Operation{ Name: opDescribeLocations, @@ -3347,7 +3347,7 @@ func (c *DirectConnect) DescribeLocationsRequest(input *DescribeLocationsInput) // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocations +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocations func (c *DirectConnect) DescribeLocations(input *DescribeLocationsInput) (*DescribeLocationsOutput, error) { req, out := c.DescribeLocationsRequest(input) return out, req.Send() @@ -3394,7 +3394,7 @@ const opDescribeTags = "DescribeTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTags func (c *DirectConnect) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { op := &request.Operation{ Name: opDescribeTags, @@ -3431,7 +3431,7 @@ func (c *DirectConnect) DescribeTagsRequest(input *DescribeTagsInput) (req *requ // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTags func (c *DirectConnect) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { req, out := c.DescribeTagsRequest(input) return out, req.Send() @@ -3478,7 +3478,7 @@ const opDescribeVirtualGateways = "DescribeVirtualGateways" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualGateways func (c *DirectConnect) DescribeVirtualGatewaysRequest(input *DescribeVirtualGatewaysInput) (req *request.Request, output *DescribeVirtualGatewaysOutput) { op := &request.Operation{ Name: opDescribeVirtualGateways, @@ -3521,7 +3521,7 @@ func (c *DirectConnect) DescribeVirtualGatewaysRequest(input *DescribeVirtualGat // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualGateways func (c *DirectConnect) DescribeVirtualGateways(input *DescribeVirtualGatewaysInput) (*DescribeVirtualGatewaysOutput, error) { req, out := c.DescribeVirtualGatewaysRequest(input) return out, req.Send() @@ -3568,7 +3568,7 @@ const opDescribeVirtualInterfaces = "DescribeVirtualInterfaces" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualInterfaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualInterfaces func (c *DirectConnect) DescribeVirtualInterfacesRequest(input *DescribeVirtualInterfacesInput) (req *request.Request, output *DescribeVirtualInterfacesOutput) { op := &request.Operation{ Name: opDescribeVirtualInterfaces, @@ -3612,7 +3612,7 @@ func (c *DirectConnect) DescribeVirtualInterfacesRequest(input *DescribeVirtualI // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualInterfaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualInterfaces func (c *DirectConnect) DescribeVirtualInterfaces(input *DescribeVirtualInterfacesInput) (*DescribeVirtualInterfacesOutput, error) { req, out := c.DescribeVirtualInterfacesRequest(input) return out, req.Send() @@ -3659,7 +3659,7 @@ const opDisassociateConnectionFromLag = "DisassociateConnectionFromLag" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLag +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLag func (c *DirectConnect) DisassociateConnectionFromLagRequest(input *DisassociateConnectionFromLagInput) (req *request.Request, output *Connection) { op := &request.Operation{ Name: opDisassociateConnectionFromLag, @@ -3706,7 +3706,7 @@ func (c *DirectConnect) DisassociateConnectionFromLagRequest(input *Disassociate // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLag +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLag func (c *DirectConnect) DisassociateConnectionFromLag(input *DisassociateConnectionFromLagInput) (*Connection, error) { req, out := c.DisassociateConnectionFromLagRequest(input) return out, req.Send() @@ -3753,7 +3753,7 @@ const opTagResource = "TagResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResource func (c *DirectConnect) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ Name: opTagResource, @@ -3802,7 +3802,7 @@ func (c *DirectConnect) TagResourceRequest(input *TagResourceInput) (req *reques // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResource func (c *DirectConnect) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) return out, req.Send() @@ -3849,7 +3849,7 @@ const opUntagResource = "UntagResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResource func (c *DirectConnect) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { op := &request.Operation{ Name: opUntagResource, @@ -3886,7 +3886,7 @@ func (c *DirectConnect) UntagResourceRequest(input *UntagResourceInput) (req *re // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResource func (c *DirectConnect) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) return out, req.Send() @@ -3933,7 +3933,7 @@ const opUpdateLag = "UpdateLag" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLag +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLag func (c *DirectConnect) UpdateLagRequest(input *UpdateLagInput) (req *request.Request, output *Lag) { op := &request.Operation{ Name: opUpdateLag, @@ -3984,7 +3984,7 @@ func (c *DirectConnect) UpdateLagRequest(input *UpdateLagInput) (req *request.Re // The API was called with invalid parameters. The error message will contain // additional details about the cause. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLag +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLag func (c *DirectConnect) UpdateLag(input *UpdateLagInput) (*Lag, error) { req, out := c.UpdateLagRequest(input) return out, req.Send() @@ -4007,7 +4007,7 @@ func (c *DirectConnect) UpdateLagWithContext(ctx aws.Context, input *UpdateLagIn } // Container for the parameters to the AllocateConnectionOnInterconnect operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateConnectionOnInterconnectRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateConnectionOnInterconnectRequest type AllocateConnectionOnInterconnectInput struct { _ struct{} `type:"structure"` @@ -4125,7 +4125,7 @@ func (s *AllocateConnectionOnInterconnectInput) SetVlan(v int64) *AllocateConnec } // Container for the parameters to theHostedConnection operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnectionRequest type AllocateHostedConnectionInput struct { _ struct{} `type:"structure"` @@ -4243,7 +4243,7 @@ func (s *AllocateHostedConnectionInput) SetVlan(v int64) *AllocateHostedConnecti } // Container for the parameters to the AllocatePrivateVirtualInterface operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePrivateVirtualInterfaceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePrivateVirtualInterfaceRequest type AllocatePrivateVirtualInterfaceInput struct { _ struct{} `type:"structure"` @@ -4322,7 +4322,7 @@ func (s *AllocatePrivateVirtualInterfaceInput) SetOwnerAccount(v string) *Alloca } // Container for the parameters to the AllocatePublicVirtualInterface operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePublicVirtualInterfaceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePublicVirtualInterfaceRequest type AllocatePublicVirtualInterfaceInput struct { _ struct{} `type:"structure"` @@ -4401,7 +4401,7 @@ func (s *AllocatePublicVirtualInterfaceInput) SetOwnerAccount(v string) *Allocat } // Container for the parameters to the AssociateConnectionWithLag operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLagRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLagRequest type AssociateConnectionWithLagInput struct { _ struct{} `type:"structure"` @@ -4463,7 +4463,7 @@ func (s *AssociateConnectionWithLagInput) SetLagId(v string) *AssociateConnectio } // Container for the parameters to the AssociateHostedConnection operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnectionRequest type AssociateHostedConnectionInput struct { _ struct{} `type:"structure"` @@ -4525,7 +4525,7 @@ func (s *AssociateHostedConnectionInput) SetParentConnectionId(v string) *Associ } // Container for the parameters to the AssociateVirtualInterface operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateVirtualInterfaceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateVirtualInterfaceRequest type AssociateVirtualInterfaceInput struct { _ struct{} `type:"structure"` @@ -4587,7 +4587,7 @@ func (s *AssociateVirtualInterfaceInput) SetVirtualInterfaceId(v string) *Associ } // A structure containing information about a BGP peer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/BGPPeer +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/BGPPeer type BGPPeer struct { _ struct{} `type:"structure"` @@ -4695,7 +4695,7 @@ func (s *BGPPeer) SetCustomerAddress(v string) *BGPPeer { } // Container for the parameters to the ConfirmConnection operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnectionRequest type ConfirmConnectionInput struct { _ struct{} `type:"structure"` @@ -4740,7 +4740,7 @@ func (s *ConfirmConnectionInput) SetConnectionId(v string) *ConfirmConnectionInp } // The response received when ConfirmConnection is called. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnectionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnectionResponse type ConfirmConnectionOutput struct { _ struct{} `type:"structure"` @@ -4786,7 +4786,7 @@ func (s *ConfirmConnectionOutput) SetConnectionState(v string) *ConfirmConnectio } // Container for the parameters to the ConfirmPrivateVirtualInterface operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterfaceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterfaceRequest type ConfirmPrivateVirtualInterfaceInput struct { _ struct{} `type:"structure"` @@ -4859,7 +4859,7 @@ func (s *ConfirmPrivateVirtualInterfaceInput) SetVirtualInterfaceId(v string) *C } // The response received when ConfirmPrivateVirtualInterface is called. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterfaceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterfaceResponse type ConfirmPrivateVirtualInterfaceOutput struct { _ struct{} `type:"structure"` @@ -4911,7 +4911,7 @@ func (s *ConfirmPrivateVirtualInterfaceOutput) SetVirtualInterfaceState(v string } // Container for the parameters to the ConfirmPublicVirtualInterface operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterfaceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterfaceRequest type ConfirmPublicVirtualInterfaceInput struct { _ struct{} `type:"structure"` @@ -4955,7 +4955,7 @@ func (s *ConfirmPublicVirtualInterfaceInput) SetVirtualInterfaceId(v string) *Co } // The response received when ConfirmPublicVirtualInterface is called. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterfaceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterfaceResponse type ConfirmPublicVirtualInterfaceOutput struct { _ struct{} `type:"structure"` @@ -5008,7 +5008,7 @@ func (s *ConfirmPublicVirtualInterfaceOutput) SetVirtualInterfaceState(v string) // A connection represents the physical network connection between the AWS Direct // Connect location and the customer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Connection +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Connection type Connection struct { _ struct{} `type:"structure"` @@ -5178,7 +5178,7 @@ func (s *Connection) SetVlan(v int64) *Connection { } // A structure containing a list of connections. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Connections +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Connections type Connections struct { _ struct{} `type:"structure"` @@ -5203,7 +5203,7 @@ func (s *Connections) SetConnections(v []*Connection) *Connections { } // Container for the parameters to the CreateBGPPeer operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeerRequest type CreateBGPPeerInput struct { _ struct{} `type:"structure"` @@ -5243,7 +5243,7 @@ func (s *CreateBGPPeerInput) SetVirtualInterfaceId(v string) *CreateBGPPeerInput } // The response received when CreateBGPPeer is called. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeerResponse type CreateBGPPeerOutput struct { _ struct{} `type:"structure"` @@ -5269,7 +5269,7 @@ func (s *CreateBGPPeerOutput) SetVirtualInterface(v *VirtualInterface) *CreateBG } // Container for the parameters to the CreateConnection operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnectionRequest type CreateConnectionInput struct { _ struct{} `type:"structure"` @@ -5361,7 +5361,7 @@ func (s *CreateConnectionInput) SetLocation(v string) *CreateConnectionInput { // Container for the parameters to the CreateDirectConnectGatewayAssociation // operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociationRequest type CreateDirectConnectGatewayAssociationInput struct { _ struct{} `type:"structure"` @@ -5424,7 +5424,7 @@ func (s *CreateDirectConnectGatewayAssociationInput) SetVirtualGatewayId(v strin // Container for the response from the CreateDirectConnectGatewayAssociation // API call -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociationResult type CreateDirectConnectGatewayAssociationOutput struct { _ struct{} `type:"structure"` @@ -5449,7 +5449,7 @@ func (s *CreateDirectConnectGatewayAssociationOutput) SetDirectConnectGatewayAss } // Container for the parameters to the CreateDirectConnectGateway operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayRequest type CreateDirectConnectGatewayInput struct { _ struct{} `type:"structure"` @@ -5508,7 +5508,7 @@ func (s *CreateDirectConnectGatewayInput) SetDirectConnectGatewayName(v string) } // Container for the response from the CreateDirectConnectGateway API call -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayResult type CreateDirectConnectGatewayOutput struct { _ struct{} `type:"structure"` @@ -5533,7 +5533,7 @@ func (s *CreateDirectConnectGatewayOutput) SetDirectConnectGateway(v *Gateway) * } // Container for the parameters to the CreateInterconnect operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnectRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnectRequest type CreateInterconnectInput struct { _ struct{} `type:"structure"` @@ -5626,7 +5626,7 @@ func (s *CreateInterconnectInput) SetLocation(v string) *CreateInterconnectInput } // Container for the parameters to the CreateLag operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLagRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLagRequest type CreateLagInput struct { _ struct{} `type:"structure"` @@ -5734,7 +5734,7 @@ func (s *CreateLagInput) SetNumberOfConnections(v int64) *CreateLagInput { } // Container for the parameters to the CreatePrivateVirtualInterface operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePrivateVirtualInterfaceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePrivateVirtualInterfaceRequest type CreatePrivateVirtualInterfaceInput struct { _ struct{} `type:"structure"` @@ -5800,7 +5800,7 @@ func (s *CreatePrivateVirtualInterfaceInput) SetNewPrivateVirtualInterface(v *Ne } // Container for the parameters to the CreatePublicVirtualInterface operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePublicVirtualInterfaceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePublicVirtualInterfaceRequest type CreatePublicVirtualInterfaceInput struct { _ struct{} `type:"structure"` @@ -5866,7 +5866,7 @@ func (s *CreatePublicVirtualInterfaceInput) SetNewPublicVirtualInterface(v *NewP } // Container for the parameters to the DeleteBGPPeer operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeerRequest type DeleteBGPPeerInput struct { _ struct{} `type:"structure"` @@ -5917,7 +5917,7 @@ func (s *DeleteBGPPeerInput) SetVirtualInterfaceId(v string) *DeleteBGPPeerInput } // The response received when DeleteBGPPeer is called. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeerResponse type DeleteBGPPeerOutput struct { _ struct{} `type:"structure"` @@ -5943,7 +5943,7 @@ func (s *DeleteBGPPeerOutput) SetVirtualInterface(v *VirtualInterface) *DeleteBG } // Container for the parameters to the DeleteConnection operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnectionRequest type DeleteConnectionInput struct { _ struct{} `type:"structure"` @@ -5989,7 +5989,7 @@ func (s *DeleteConnectionInput) SetConnectionId(v string) *DeleteConnectionInput // Container for the parameters to the DeleteDirectConnectGatewayAssociation // operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociationRequest type DeleteDirectConnectGatewayAssociationInput struct { _ struct{} `type:"structure"` @@ -6052,7 +6052,7 @@ func (s *DeleteDirectConnectGatewayAssociationInput) SetVirtualGatewayId(v strin // Container for the response from the DeleteDirectConnectGatewayAssociation // API call -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociationResult type DeleteDirectConnectGatewayAssociationOutput struct { _ struct{} `type:"structure"` @@ -6077,7 +6077,7 @@ func (s *DeleteDirectConnectGatewayAssociationOutput) SetDirectConnectGatewayAss } // Container for the parameters to the DeleteDirectConnectGateway operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayRequest type DeleteDirectConnectGatewayInput struct { _ struct{} `type:"structure"` @@ -6121,7 +6121,7 @@ func (s *DeleteDirectConnectGatewayInput) SetDirectConnectGatewayId(v string) *D } // Container for the response from the DeleteDirectConnectGateway API call -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayResult type DeleteDirectConnectGatewayOutput struct { _ struct{} `type:"structure"` @@ -6146,7 +6146,7 @@ func (s *DeleteDirectConnectGatewayOutput) SetDirectConnectGateway(v *Gateway) * } // Container for the parameters to the DeleteInterconnect operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnectRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnectRequest type DeleteInterconnectInput struct { _ struct{} `type:"structure"` @@ -6188,7 +6188,7 @@ func (s *DeleteInterconnectInput) SetInterconnectId(v string) *DeleteInterconnec } // The response received when DeleteInterconnect is called. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnectResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnectResponse type DeleteInterconnectOutput struct { _ struct{} `type:"structure"` @@ -6228,7 +6228,7 @@ func (s *DeleteInterconnectOutput) SetInterconnectState(v string) *DeleteInterco } // Container for the parameters to the DeleteLag operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLagRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLagRequest type DeleteLagInput struct { _ struct{} `type:"structure"` @@ -6272,7 +6272,7 @@ func (s *DeleteLagInput) SetLagId(v string) *DeleteLagInput { } // Container for the parameters to the DeleteVirtualInterface operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterfaceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterfaceRequest type DeleteVirtualInterfaceInput struct { _ struct{} `type:"structure"` @@ -6316,7 +6316,7 @@ func (s *DeleteVirtualInterfaceInput) SetVirtualInterfaceId(v string) *DeleteVir } // The response received when DeleteVirtualInterface is called. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterfaceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterfaceResponse type DeleteVirtualInterfaceOutput struct { _ struct{} `type:"structure"` @@ -6368,7 +6368,7 @@ func (s *DeleteVirtualInterfaceOutput) SetVirtualInterfaceState(v string) *Delet } // Container for the parameters to the DescribeConnectionLoa operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoaRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoaRequest type DescribeConnectionLoaInput struct { _ struct{} `type:"structure"` @@ -6438,7 +6438,7 @@ func (s *DescribeConnectionLoaInput) SetProviderName(v string) *DescribeConnecti } // The response received when DescribeConnectionLoa is called. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoaResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoaResponse type DescribeConnectionLoaOutput struct { _ struct{} `type:"structure"` @@ -6464,7 +6464,7 @@ func (s *DescribeConnectionLoaOutput) SetLoa(v *Loa) *DescribeConnectionLoaOutpu } // Container for the parameters to the DescribeConnections operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsRequest type DescribeConnectionsInput struct { _ struct{} `type:"structure"` @@ -6494,7 +6494,7 @@ func (s *DescribeConnectionsInput) SetConnectionId(v string) *DescribeConnection } // Container for the parameters to the DescribeConnectionsOnInterconnect operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnectRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnectRequest type DescribeConnectionsOnInterconnectInput struct { _ struct{} `type:"structure"` @@ -6539,7 +6539,7 @@ func (s *DescribeConnectionsOnInterconnectInput) SetInterconnectId(v string) *De // Container for the parameters to the DescribeDirectConnectGatewayAssociations // operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociationsRequest type DescribeDirectConnectGatewayAssociationsInput struct { _ struct{} `type:"structure"` @@ -6607,7 +6607,7 @@ func (s *DescribeDirectConnectGatewayAssociationsInput) SetVirtualGatewayId(v st // Container for the response from the DescribeDirectConnectGatewayAssociations // API call -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociationsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociationsResult type DescribeDirectConnectGatewayAssociationsOutput struct { _ struct{} `type:"structure"` @@ -6642,7 +6642,7 @@ func (s *DescribeDirectConnectGatewayAssociationsOutput) SetNextToken(v string) // Container for the parameters to the DescribeDirectConnectGatewayAttachments // operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachmentsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachmentsRequest type DescribeDirectConnectGatewayAttachmentsInput struct { _ struct{} `type:"structure"` @@ -6710,7 +6710,7 @@ func (s *DescribeDirectConnectGatewayAttachmentsInput) SetVirtualInterfaceId(v s // Container for the response from the DescribeDirectConnectGatewayAttachments // API call -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachmentsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachmentsResult type DescribeDirectConnectGatewayAttachmentsOutput struct { _ struct{} `type:"structure"` @@ -6744,7 +6744,7 @@ func (s *DescribeDirectConnectGatewayAttachmentsOutput) SetNextToken(v string) * } // Container for the parameters to the DescribeDirectConnectGateways operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewaysRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewaysRequest type DescribeDirectConnectGatewaysInput struct { _ struct{} `type:"structure"` @@ -6798,7 +6798,7 @@ func (s *DescribeDirectConnectGatewaysInput) SetNextToken(v string) *DescribeDir } // Container for the response from the DescribeDirectConnectGateways API call -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewaysResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewaysResult type DescribeDirectConnectGatewaysOutput struct { _ struct{} `type:"structure"` @@ -6832,7 +6832,7 @@ func (s *DescribeDirectConnectGatewaysOutput) SetNextToken(v string) *DescribeDi } // Container for the parameters to the DescribeHostedConnections operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnectionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnectionsRequest type DescribeHostedConnectionsInput struct { _ struct{} `type:"structure"` @@ -6876,7 +6876,7 @@ func (s *DescribeHostedConnectionsInput) SetConnectionId(v string) *DescribeHost } // Container for the parameters to the DescribeInterconnectLoa operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoaRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoaRequest type DescribeInterconnectLoaInput struct { _ struct{} `type:"structure"` @@ -6943,7 +6943,7 @@ func (s *DescribeInterconnectLoaInput) SetProviderName(v string) *DescribeInterc } // The response received when DescribeInterconnectLoa is called. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoaResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoaResponse type DescribeInterconnectLoaOutput struct { _ struct{} `type:"structure"` @@ -6969,7 +6969,7 @@ func (s *DescribeInterconnectLoaOutput) SetLoa(v *Loa) *DescribeInterconnectLoaO } // Container for the parameters to the DescribeInterconnects operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectsRequest type DescribeInterconnectsInput struct { _ struct{} `type:"structure"` @@ -6996,7 +6996,7 @@ func (s *DescribeInterconnectsInput) SetInterconnectId(v string) *DescribeInterc } // A structure containing a list of interconnects. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Interconnects +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Interconnects type DescribeInterconnectsOutput struct { _ struct{} `type:"structure"` @@ -7021,7 +7021,7 @@ func (s *DescribeInterconnectsOutput) SetInterconnects(v []*Interconnect) *Descr } // Container for the parameters to the DescribeLags operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLagsRequest type DescribeLagsInput struct { _ struct{} `type:"structure"` @@ -7050,7 +7050,7 @@ func (s *DescribeLagsInput) SetLagId(v string) *DescribeLagsInput { } // A structure containing a list of LAGs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Lags +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Lags type DescribeLagsOutput struct { _ struct{} `type:"structure"` @@ -7075,7 +7075,7 @@ func (s *DescribeLagsOutput) SetLags(v []*Lag) *DescribeLagsOutput { } // Container for the parameters to the DescribeLoa operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLoaRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLoaRequest type DescribeLoaInput struct { _ struct{} `type:"structure"` @@ -7144,7 +7144,7 @@ func (s *DescribeLoaInput) SetProviderName(v string) *DescribeLoaInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocationsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocationsInput type DescribeLocationsInput struct { _ struct{} `type:"structure"` } @@ -7163,7 +7163,7 @@ func (s DescribeLocationsInput) GoString() string { // to be connected. Generally, these are colocation hubs where many network // providers have equipment, and where cross connects can be delivered. Locations // include a name and facility code, and must be provided when creating a connection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Locations +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Locations type DescribeLocationsOutput struct { _ struct{} `type:"structure"` @@ -7189,7 +7189,7 @@ func (s *DescribeLocationsOutput) SetLocations(v []*Location) *DescribeLocations } // Container for the parameters to the DescribeTags operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTagsRequest type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -7229,7 +7229,7 @@ func (s *DescribeTagsInput) SetResourceArns(v []*string) *DescribeTagsInput { } // The response received when DescribeTags is called. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTagsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTagsResponse type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -7253,7 +7253,7 @@ func (s *DescribeTagsOutput) SetResourceTags(v []*ResourceTag) *DescribeTagsOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualGatewaysInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualGatewaysInput type DescribeVirtualGatewaysInput struct { _ struct{} `type:"structure"` } @@ -7269,7 +7269,7 @@ func (s DescribeVirtualGatewaysInput) GoString() string { } // A structure containing a list of virtual private gateways. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualGateways type DescribeVirtualGatewaysOutput struct { _ struct{} `type:"structure"` @@ -7294,7 +7294,7 @@ func (s *DescribeVirtualGatewaysOutput) SetVirtualGateways(v []*VirtualGateway) } // Container for the parameters to the DescribeVirtualInterfaces operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualInterfacesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualInterfacesRequest type DescribeVirtualInterfacesInput struct { _ struct{} `type:"structure"` @@ -7337,7 +7337,7 @@ func (s *DescribeVirtualInterfacesInput) SetVirtualInterfaceId(v string) *Descri } // A structure containing a list of virtual interfaces. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualInterfaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualInterfaces type DescribeVirtualInterfacesOutput struct { _ struct{} `type:"structure"` @@ -7362,7 +7362,7 @@ func (s *DescribeVirtualInterfacesOutput) SetVirtualInterfaces(v []*VirtualInter } // Container for the parameters to the DisassociateConnectionFromLag operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLagRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLagRequest type DisassociateConnectionFromLagInput struct { _ struct{} `type:"structure"` @@ -7425,7 +7425,7 @@ func (s *DisassociateConnectionFromLagInput) SetLagId(v string) *DisassociateCon // A direct connect gateway is an intermediate object that enables you to connect // virtual interfaces and virtual private gateways. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DirectConnectGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DirectConnectGateway type Gateway struct { _ struct{} `type:"structure"` @@ -7509,7 +7509,7 @@ func (s *Gateway) SetStateChangeError(v string) *Gateway { } // The association between a direct connect gateway and virtual private gateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DirectConnectGatewayAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DirectConnectGatewayAssociation type GatewayAssociation struct { _ struct{} `type:"structure"` @@ -7597,7 +7597,7 @@ func (s *GatewayAssociation) SetVirtualGatewayRegion(v string) *GatewayAssociati } // The association between a direct connect gateway and virtual interface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DirectConnectGatewayAttachment +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DirectConnectGatewayAttachment type GatewayAttachment struct { _ struct{} `type:"structure"` @@ -7699,7 +7699,7 @@ func (s *GatewayAttachment) SetVirtualInterfaceRegion(v string) *GatewayAttachme // The resources of the interconnect, including bandwidth and VLAN numbers, // are shared by all of the hosted connections on the interconnect, and the // owner of the interconnect determines how these resources are assigned. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Interconnect +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Interconnect type Interconnect struct { _ struct{} `type:"structure"` @@ -7833,7 +7833,7 @@ func (s *Interconnect) SetRegion(v string) *Interconnect { // of physical connections. Like an interconnect, it can host other connections. // All connections in a LAG must terminate on the same physical AWS Direct Connect // endpoint, and must be the same bandwidth. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Lag +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Lag type Lag struct { _ struct{} `type:"structure"` @@ -7991,7 +7991,7 @@ func (s *Lag) SetRegion(v string) *Lag { // A structure containing the Letter of Authorization - Connecting Facility // Assignment (LOA-CFA) for a connection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Loa +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Loa type Loa struct { _ struct{} `type:"structure"` @@ -8031,7 +8031,7 @@ func (s *Loa) SetLoaContentType(v string) *Loa { // An AWS Direct Connect location where connections and interconnects can be // requested. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Location +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Location type Location struct { _ struct{} `type:"structure"` @@ -8066,7 +8066,7 @@ func (s *Location) SetLocationName(v string) *Location { } // A structure containing information about a new BGP peer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewBGPPeer +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewBGPPeer type NewBGPPeer struct { _ struct{} `type:"structure"` @@ -8139,7 +8139,7 @@ func (s *NewBGPPeer) SetCustomerAddress(v string) *NewBGPPeer { } // A structure containing information about a new private virtual interface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPrivateVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPrivateVirtualInterface type NewPrivateVirtualInterface struct { _ struct{} `type:"structure"` @@ -8283,7 +8283,7 @@ func (s *NewPrivateVirtualInterface) SetVlan(v int64) *NewPrivateVirtualInterfac // A structure containing information about a private virtual interface that // will be provisioned on a connection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPrivateVirtualInterfaceAllocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPrivateVirtualInterfaceAllocation type NewPrivateVirtualInterfaceAllocation struct { _ struct{} `type:"structure"` @@ -8403,7 +8403,7 @@ func (s *NewPrivateVirtualInterfaceAllocation) SetVlan(v int64) *NewPrivateVirtu } // A structure containing information about a new public virtual interface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPublicVirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPublicVirtualInterface type NewPublicVirtualInterface struct { _ struct{} `type:"structure"` @@ -8534,7 +8534,7 @@ func (s *NewPublicVirtualInterface) SetVlan(v int64) *NewPublicVirtualInterface // A structure containing information about a public virtual interface that // will be provisioned on a connection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPublicVirtualInterfaceAllocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPublicVirtualInterfaceAllocation type NewPublicVirtualInterfaceAllocation struct { _ struct{} `type:"structure"` @@ -8664,7 +8664,7 @@ func (s *NewPublicVirtualInterfaceAllocation) SetVlan(v int64) *NewPublicVirtual } // The tags associated with a Direct Connect resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ResourceTag +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ResourceTag type ResourceTag struct { _ struct{} `type:"structure"` @@ -8699,7 +8699,7 @@ func (s *ResourceTag) SetTags(v []*Tag) *ResourceTag { // A route filter prefix that the customer can advertise through Border Gateway // Protocol (BGP) over a public virtual interface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/RouteFilterPrefix +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/RouteFilterPrefix type RouteFilterPrefix struct { _ struct{} `type:"structure"` @@ -8729,7 +8729,7 @@ func (s *RouteFilterPrefix) SetCidr(v string) *RouteFilterPrefix { } // Information about a tag. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Tag type Tag struct { _ struct{} `type:"structure"` @@ -8781,7 +8781,7 @@ func (s *Tag) SetValue(v string) *Tag { } // Container for the parameters to the TagResource operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResourceRequest type TagResourceInput struct { _ struct{} `type:"structure"` @@ -8850,7 +8850,7 @@ func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput { } // The response received when TagResource is called. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResourceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResourceResponse type TagResourceOutput struct { _ struct{} `type:"structure"` } @@ -8866,7 +8866,7 @@ func (s TagResourceOutput) GoString() string { } // Container for the parameters to the UntagResource operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResourceRequest type UntagResourceInput struct { _ struct{} `type:"structure"` @@ -8920,7 +8920,7 @@ func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { } // The response received when UntagResource is called. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResourceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResourceResponse type UntagResourceOutput struct { _ struct{} `type:"structure"` } @@ -8936,7 +8936,7 @@ func (s UntagResourceOutput) GoString() string { } // Container for the parameters to the UpdateLag operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLagRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLagRequest type UpdateLagInput struct { _ struct{} `type:"structure"` @@ -9009,7 +9009,7 @@ func (s *UpdateLagInput) SetMinimumLinks(v int64) *UpdateLagInput { // // Virtual private gateways can be managed using the Amazon Virtual Private // Cloud (Amazon VPC) console or the Amazon EC2 CreateVpnGateway action (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreateVpnGateway.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualGateway type VirtualGateway struct { _ struct{} `type:"structure"` @@ -9056,7 +9056,7 @@ func (s *VirtualGateway) SetVirtualGatewayState(v string) *VirtualGateway { // A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect // location and the customer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualInterface type VirtualInterface struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/directoryservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/directoryservice/api.go index eb4e0388f60..2d6395bcf57 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/directoryservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/directoryservice/api.go @@ -36,7 +36,7 @@ const opAddIpRoutes = "AddIpRoutes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddIpRoutes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddIpRoutes func (c *DirectoryService) AddIpRoutesRequest(input *AddIpRoutesInput) (req *request.Request, output *AddIpRoutesOutput) { op := &request.Operation{ Name: opAddIpRoutes, @@ -96,7 +96,7 @@ func (c *DirectoryService) AddIpRoutesRequest(input *AddIpRoutesInput) (req *req // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddIpRoutes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddIpRoutes func (c *DirectoryService) AddIpRoutes(input *AddIpRoutesInput) (*AddIpRoutesOutput, error) { req, out := c.AddIpRoutesRequest(input) return out, req.Send() @@ -143,7 +143,7 @@ const opAddTagsToResource = "AddTagsToResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddTagsToResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddTagsToResource func (c *DirectoryService) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput) { op := &request.Operation{ Name: opAddTagsToResource, @@ -189,7 +189,7 @@ func (c *DirectoryService) AddTagsToResourceRequest(input *AddTagsToResourceInpu // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddTagsToResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddTagsToResource func (c *DirectoryService) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error) { req, out := c.AddTagsToResourceRequest(input) return out, req.Send() @@ -236,7 +236,7 @@ const opCancelSchemaExtension = "CancelSchemaExtension" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CancelSchemaExtension +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CancelSchemaExtension func (c *DirectoryService) CancelSchemaExtensionRequest(input *CancelSchemaExtensionInput) (req *request.Request, output *CancelSchemaExtensionOutput) { op := &request.Operation{ Name: opCancelSchemaExtension, @@ -277,7 +277,7 @@ func (c *DirectoryService) CancelSchemaExtensionRequest(input *CancelSchemaExten // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CancelSchemaExtension +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CancelSchemaExtension func (c *DirectoryService) CancelSchemaExtension(input *CancelSchemaExtensionInput) (*CancelSchemaExtensionOutput, error) { req, out := c.CancelSchemaExtensionRequest(input) return out, req.Send() @@ -324,7 +324,7 @@ const opConnectDirectory = "ConnectDirectory" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConnectDirectory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConnectDirectory func (c *DirectoryService) ConnectDirectoryRequest(input *ConnectDirectoryInput) (req *request.Request, output *ConnectDirectoryOutput) { op := &request.Operation{ Name: opConnectDirectory, @@ -372,7 +372,7 @@ func (c *DirectoryService) ConnectDirectoryRequest(input *ConnectDirectoryInput) // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConnectDirectory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConnectDirectory func (c *DirectoryService) ConnectDirectory(input *ConnectDirectoryInput) (*ConnectDirectoryOutput, error) { req, out := c.ConnectDirectoryRequest(input) return out, req.Send() @@ -419,7 +419,7 @@ const opCreateAlias = "CreateAlias" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateAlias func (c *DirectoryService) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, output *CreateAliasOutput) { op := &request.Operation{ Name: opCreateAlias, @@ -468,7 +468,7 @@ func (c *DirectoryService) CreateAliasRequest(input *CreateAliasInput) (req *req // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateAlias func (c *DirectoryService) CreateAlias(input *CreateAliasInput) (*CreateAliasOutput, error) { req, out := c.CreateAliasRequest(input) return out, req.Send() @@ -515,7 +515,7 @@ const opCreateComputer = "CreateComputer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateComputer +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateComputer func (c *DirectoryService) CreateComputerRequest(input *CreateComputerInput) (req *request.Request, output *CreateComputerOutput) { op := &request.Operation{ Name: opCreateComputer, @@ -569,7 +569,7 @@ func (c *DirectoryService) CreateComputerRequest(input *CreateComputerInput) (re // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateComputer +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateComputer func (c *DirectoryService) CreateComputer(input *CreateComputerInput) (*CreateComputerOutput, error) { req, out := c.CreateComputerRequest(input) return out, req.Send() @@ -616,7 +616,7 @@ const opCreateConditionalForwarder = "CreateConditionalForwarder" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateConditionalForwarder +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateConditionalForwarder func (c *DirectoryService) CreateConditionalForwarderRequest(input *CreateConditionalForwarderInput) (req *request.Request, output *CreateConditionalForwarderOutput) { op := &request.Operation{ Name: opCreateConditionalForwarder, @@ -668,7 +668,7 @@ func (c *DirectoryService) CreateConditionalForwarderRequest(input *CreateCondit // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateConditionalForwarder +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateConditionalForwarder func (c *DirectoryService) CreateConditionalForwarder(input *CreateConditionalForwarderInput) (*CreateConditionalForwarderOutput, error) { req, out := c.CreateConditionalForwarderRequest(input) return out, req.Send() @@ -715,7 +715,7 @@ const opCreateDirectory = "CreateDirectory" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateDirectory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateDirectory func (c *DirectoryService) CreateDirectoryRequest(input *CreateDirectoryInput) (req *request.Request, output *CreateDirectoryOutput) { op := &request.Operation{ Name: opCreateDirectory, @@ -763,7 +763,7 @@ func (c *DirectoryService) CreateDirectoryRequest(input *CreateDirectoryInput) ( // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateDirectory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateDirectory func (c *DirectoryService) CreateDirectory(input *CreateDirectoryInput) (*CreateDirectoryOutput, error) { req, out := c.CreateDirectoryRequest(input) return out, req.Send() @@ -810,7 +810,7 @@ const opCreateMicrosoftAD = "CreateMicrosoftAD" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateMicrosoftAD +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateMicrosoftAD func (c *DirectoryService) CreateMicrosoftADRequest(input *CreateMicrosoftADInput) (req *request.Request, output *CreateMicrosoftADOutput) { op := &request.Operation{ Name: opCreateMicrosoftAD, @@ -861,7 +861,7 @@ func (c *DirectoryService) CreateMicrosoftADRequest(input *CreateMicrosoftADInpu // * ErrCodeUnsupportedOperationException "UnsupportedOperationException" // The operation is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateMicrosoftAD +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateMicrosoftAD func (c *DirectoryService) CreateMicrosoftAD(input *CreateMicrosoftADInput) (*CreateMicrosoftADOutput, error) { req, out := c.CreateMicrosoftADRequest(input) return out, req.Send() @@ -908,7 +908,7 @@ const opCreateSnapshot = "CreateSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshot func (c *DirectoryService) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *CreateSnapshotOutput) { op := &request.Operation{ Name: opCreateSnapshot, @@ -956,7 +956,7 @@ func (c *DirectoryService) CreateSnapshotRequest(input *CreateSnapshotInput) (re // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshot func (c *DirectoryService) CreateSnapshot(input *CreateSnapshotInput) (*CreateSnapshotOutput, error) { req, out := c.CreateSnapshotRequest(input) return out, req.Send() @@ -1003,7 +1003,7 @@ const opCreateTrust = "CreateTrust" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateTrust +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateTrust func (c *DirectoryService) CreateTrustRequest(input *CreateTrustInput) (req *request.Request, output *CreateTrustOutput) { op := &request.Operation{ Name: opCreateTrust, @@ -1057,7 +1057,7 @@ func (c *DirectoryService) CreateTrustRequest(input *CreateTrustInput) (req *req // * ErrCodeUnsupportedOperationException "UnsupportedOperationException" // The operation is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateTrust +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateTrust func (c *DirectoryService) CreateTrust(input *CreateTrustInput) (*CreateTrustOutput, error) { req, out := c.CreateTrustRequest(input) return out, req.Send() @@ -1104,7 +1104,7 @@ const opDeleteConditionalForwarder = "DeleteConditionalForwarder" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarder +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarder func (c *DirectoryService) DeleteConditionalForwarderRequest(input *DeleteConditionalForwarderInput) (req *request.Request, output *DeleteConditionalForwarderOutput) { op := &request.Operation{ Name: opDeleteConditionalForwarder, @@ -1151,7 +1151,7 @@ func (c *DirectoryService) DeleteConditionalForwarderRequest(input *DeleteCondit // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarder +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarder func (c *DirectoryService) DeleteConditionalForwarder(input *DeleteConditionalForwarderInput) (*DeleteConditionalForwarderOutput, error) { req, out := c.DeleteConditionalForwarderRequest(input) return out, req.Send() @@ -1198,7 +1198,7 @@ const opDeleteDirectory = "DeleteDirectory" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteDirectory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteDirectory func (c *DirectoryService) DeleteDirectoryRequest(input *DeleteDirectoryInput) (req *request.Request, output *DeleteDirectoryOutput) { op := &request.Operation{ Name: opDeleteDirectory, @@ -1241,7 +1241,7 @@ func (c *DirectoryService) DeleteDirectoryRequest(input *DeleteDirectoryInput) ( // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteDirectory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteDirectory func (c *DirectoryService) DeleteDirectory(input *DeleteDirectoryInput) (*DeleteDirectoryOutput, error) { req, out := c.DeleteDirectoryRequest(input) return out, req.Send() @@ -1288,7 +1288,7 @@ const opDeleteSnapshot = "DeleteSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteSnapshot func (c *DirectoryService) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *request.Request, output *DeleteSnapshotOutput) { op := &request.Operation{ Name: opDeleteSnapshot, @@ -1329,7 +1329,7 @@ func (c *DirectoryService) DeleteSnapshotRequest(input *DeleteSnapshotInput) (re // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteSnapshot func (c *DirectoryService) DeleteSnapshot(input *DeleteSnapshotInput) (*DeleteSnapshotOutput, error) { req, out := c.DeleteSnapshotRequest(input) return out, req.Send() @@ -1376,7 +1376,7 @@ const opDeleteTrust = "DeleteTrust" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteTrust +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteTrust func (c *DirectoryService) DeleteTrustRequest(input *DeleteTrustInput) (req *request.Request, output *DeleteTrustOutput) { op := &request.Operation{ Name: opDeleteTrust, @@ -1421,7 +1421,7 @@ func (c *DirectoryService) DeleteTrustRequest(input *DeleteTrustInput) (req *req // * ErrCodeUnsupportedOperationException "UnsupportedOperationException" // The operation is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteTrust +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteTrust func (c *DirectoryService) DeleteTrust(input *DeleteTrustInput) (*DeleteTrustOutput, error) { req, out := c.DeleteTrustRequest(input) return out, req.Send() @@ -1468,7 +1468,7 @@ const opDeregisterEventTopic = "DeregisterEventTopic" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterEventTopic +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterEventTopic func (c *DirectoryService) DeregisterEventTopicRequest(input *DeregisterEventTopicInput) (req *request.Request, output *DeregisterEventTopicOutput) { op := &request.Operation{ Name: opDeregisterEventTopic, @@ -1509,7 +1509,7 @@ func (c *DirectoryService) DeregisterEventTopicRequest(input *DeregisterEventTop // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterEventTopic +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterEventTopic func (c *DirectoryService) DeregisterEventTopic(input *DeregisterEventTopicInput) (*DeregisterEventTopicOutput, error) { req, out := c.DeregisterEventTopicRequest(input) return out, req.Send() @@ -1556,7 +1556,7 @@ const opDescribeConditionalForwarders = "DescribeConditionalForwarders" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeConditionalForwarders +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeConditionalForwarders func (c *DirectoryService) DescribeConditionalForwardersRequest(input *DescribeConditionalForwardersInput) (req *request.Request, output *DescribeConditionalForwardersOutput) { op := &request.Operation{ Name: opDescribeConditionalForwarders, @@ -1606,7 +1606,7 @@ func (c *DirectoryService) DescribeConditionalForwardersRequest(input *DescribeC // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeConditionalForwarders +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeConditionalForwarders func (c *DirectoryService) DescribeConditionalForwarders(input *DescribeConditionalForwardersInput) (*DescribeConditionalForwardersOutput, error) { req, out := c.DescribeConditionalForwardersRequest(input) return out, req.Send() @@ -1653,7 +1653,7 @@ const opDescribeDirectories = "DescribeDirectories" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectories +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectories func (c *DirectoryService) DescribeDirectoriesRequest(input *DescribeDirectoriesInput) (req *request.Request, output *DescribeDirectoriesOutput) { op := &request.Operation{ Name: opDescribeDirectories, @@ -1708,7 +1708,7 @@ func (c *DirectoryService) DescribeDirectoriesRequest(input *DescribeDirectories // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectories +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectories func (c *DirectoryService) DescribeDirectories(input *DescribeDirectoriesInput) (*DescribeDirectoriesOutput, error) { req, out := c.DescribeDirectoriesRequest(input) return out, req.Send() @@ -1755,7 +1755,7 @@ const opDescribeDomainControllers = "DescribeDomainControllers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllers +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllers func (c *DirectoryService) DescribeDomainControllersRequest(input *DescribeDomainControllersInput) (req *request.Request, output *DescribeDomainControllersOutput) { op := &request.Operation{ Name: opDescribeDomainControllers, @@ -1808,7 +1808,7 @@ func (c *DirectoryService) DescribeDomainControllersRequest(input *DescribeDomai // * ErrCodeUnsupportedOperationException "UnsupportedOperationException" // The operation is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllers +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllers func (c *DirectoryService) DescribeDomainControllers(input *DescribeDomainControllersInput) (*DescribeDomainControllersOutput, error) { req, out := c.DescribeDomainControllersRequest(input) return out, req.Send() @@ -1905,7 +1905,7 @@ const opDescribeEventTopics = "DescribeEventTopics" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopics +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopics func (c *DirectoryService) DescribeEventTopicsRequest(input *DescribeEventTopicsInput) (req *request.Request, output *DescribeEventTopicsOutput) { op := &request.Operation{ Name: opDescribeEventTopics, @@ -1950,7 +1950,7 @@ func (c *DirectoryService) DescribeEventTopicsRequest(input *DescribeEventTopics // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopics +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopics func (c *DirectoryService) DescribeEventTopics(input *DescribeEventTopicsInput) (*DescribeEventTopicsOutput, error) { req, out := c.DescribeEventTopicsRequest(input) return out, req.Send() @@ -1997,7 +1997,7 @@ const opDescribeSnapshots = "DescribeSnapshots" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSnapshots +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSnapshots func (c *DirectoryService) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *request.Request, output *DescribeSnapshotsOutput) { op := &request.Operation{ Name: opDescribeSnapshots, @@ -2048,7 +2048,7 @@ func (c *DirectoryService) DescribeSnapshotsRequest(input *DescribeSnapshotsInpu // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSnapshots +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSnapshots func (c *DirectoryService) DescribeSnapshots(input *DescribeSnapshotsInput) (*DescribeSnapshotsOutput, error) { req, out := c.DescribeSnapshotsRequest(input) return out, req.Send() @@ -2095,7 +2095,7 @@ const opDescribeTrusts = "DescribeTrusts" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeTrusts +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeTrusts func (c *DirectoryService) DescribeTrustsRequest(input *DescribeTrustsInput) (req *request.Request, output *DescribeTrustsOutput) { op := &request.Operation{ Name: opDescribeTrusts, @@ -2145,7 +2145,7 @@ func (c *DirectoryService) DescribeTrustsRequest(input *DescribeTrustsInput) (re // * ErrCodeUnsupportedOperationException "UnsupportedOperationException" // The operation is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeTrusts +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeTrusts func (c *DirectoryService) DescribeTrusts(input *DescribeTrustsInput) (*DescribeTrustsOutput, error) { req, out := c.DescribeTrustsRequest(input) return out, req.Send() @@ -2192,7 +2192,7 @@ const opDisableRadius = "DisableRadius" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableRadius +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableRadius func (c *DirectoryService) DisableRadiusRequest(input *DisableRadiusInput) (req *request.Request, output *DisableRadiusOutput) { op := &request.Operation{ Name: opDisableRadius, @@ -2231,7 +2231,7 @@ func (c *DirectoryService) DisableRadiusRequest(input *DisableRadiusInput) (req // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableRadius +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableRadius func (c *DirectoryService) DisableRadius(input *DisableRadiusInput) (*DisableRadiusOutput, error) { req, out := c.DisableRadiusRequest(input) return out, req.Send() @@ -2278,7 +2278,7 @@ const opDisableSso = "DisableSso" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableSso +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableSso func (c *DirectoryService) DisableSsoRequest(input *DisableSsoInput) (req *request.Request, output *DisableSsoOutput) { op := &request.Operation{ Name: opDisableSso, @@ -2322,7 +2322,7 @@ func (c *DirectoryService) DisableSsoRequest(input *DisableSsoInput) (req *reque // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableSso +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableSso func (c *DirectoryService) DisableSso(input *DisableSsoInput) (*DisableSsoOutput, error) { req, out := c.DisableSsoRequest(input) return out, req.Send() @@ -2369,7 +2369,7 @@ const opEnableRadius = "EnableRadius" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableRadius +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableRadius func (c *DirectoryService) EnableRadiusRequest(input *EnableRadiusInput) (req *request.Request, output *EnableRadiusOutput) { op := &request.Operation{ Name: opEnableRadius, @@ -2414,7 +2414,7 @@ func (c *DirectoryService) EnableRadiusRequest(input *EnableRadiusInput) (req *r // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableRadius +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableRadius func (c *DirectoryService) EnableRadius(input *EnableRadiusInput) (*EnableRadiusOutput, error) { req, out := c.EnableRadiusRequest(input) return out, req.Send() @@ -2461,7 +2461,7 @@ const opEnableSso = "EnableSso" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableSso +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableSso func (c *DirectoryService) EnableSsoRequest(input *EnableSsoInput) (req *request.Request, output *EnableSsoOutput) { op := &request.Operation{ Name: opEnableSso, @@ -2505,7 +2505,7 @@ func (c *DirectoryService) EnableSsoRequest(input *EnableSsoInput) (req *request // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableSso +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableSso func (c *DirectoryService) EnableSso(input *EnableSsoInput) (*EnableSsoOutput, error) { req, out := c.EnableSsoRequest(input) return out, req.Send() @@ -2552,7 +2552,7 @@ const opGetDirectoryLimits = "GetDirectoryLimits" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetDirectoryLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetDirectoryLimits func (c *DirectoryService) GetDirectoryLimitsRequest(input *GetDirectoryLimitsInput) (req *request.Request, output *GetDirectoryLimitsOutput) { op := &request.Operation{ Name: opGetDirectoryLimits, @@ -2590,7 +2590,7 @@ func (c *DirectoryService) GetDirectoryLimitsRequest(input *GetDirectoryLimitsIn // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetDirectoryLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetDirectoryLimits func (c *DirectoryService) GetDirectoryLimits(input *GetDirectoryLimitsInput) (*GetDirectoryLimitsOutput, error) { req, out := c.GetDirectoryLimitsRequest(input) return out, req.Send() @@ -2637,7 +2637,7 @@ const opGetSnapshotLimits = "GetSnapshotLimits" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimits func (c *DirectoryService) GetSnapshotLimitsRequest(input *GetSnapshotLimitsInput) (req *request.Request, output *GetSnapshotLimitsOutput) { op := &request.Operation{ Name: opGetSnapshotLimits, @@ -2675,7 +2675,7 @@ func (c *DirectoryService) GetSnapshotLimitsRequest(input *GetSnapshotLimitsInpu // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimits func (c *DirectoryService) GetSnapshotLimits(input *GetSnapshotLimitsInput) (*GetSnapshotLimitsOutput, error) { req, out := c.GetSnapshotLimitsRequest(input) return out, req.Send() @@ -2722,7 +2722,7 @@ const opListIpRoutes = "ListIpRoutes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListIpRoutes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListIpRoutes func (c *DirectoryService) ListIpRoutesRequest(input *ListIpRoutesInput) (req *request.Request, output *ListIpRoutesOutput) { op := &request.Operation{ Name: opListIpRoutes, @@ -2766,7 +2766,7 @@ func (c *DirectoryService) ListIpRoutesRequest(input *ListIpRoutesInput) (req *r // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListIpRoutes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListIpRoutes func (c *DirectoryService) ListIpRoutes(input *ListIpRoutesInput) (*ListIpRoutesOutput, error) { req, out := c.ListIpRoutesRequest(input) return out, req.Send() @@ -2813,7 +2813,7 @@ const opListSchemaExtensions = "ListSchemaExtensions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListSchemaExtensions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListSchemaExtensions func (c *DirectoryService) ListSchemaExtensionsRequest(input *ListSchemaExtensionsInput) (req *request.Request, output *ListSchemaExtensionsOutput) { op := &request.Operation{ Name: opListSchemaExtensions, @@ -2854,7 +2854,7 @@ func (c *DirectoryService) ListSchemaExtensionsRequest(input *ListSchemaExtensio // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListSchemaExtensions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListSchemaExtensions func (c *DirectoryService) ListSchemaExtensions(input *ListSchemaExtensionsInput) (*ListSchemaExtensionsOutput, error) { req, out := c.ListSchemaExtensionsRequest(input) return out, req.Send() @@ -2901,7 +2901,7 @@ const opListTagsForResource = "ListTagsForResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListTagsForResource func (c *DirectoryService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ Name: opListTagsForResource, @@ -2945,7 +2945,7 @@ func (c *DirectoryService) ListTagsForResourceRequest(input *ListTagsForResource // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListTagsForResource func (c *DirectoryService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { req, out := c.ListTagsForResourceRequest(input) return out, req.Send() @@ -2992,7 +2992,7 @@ const opRegisterEventTopic = "RegisterEventTopic" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterEventTopic +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterEventTopic func (c *DirectoryService) RegisterEventTopicRequest(input *RegisterEventTopicInput) (req *request.Request, output *RegisterEventTopicOutput) { op := &request.Operation{ Name: opRegisterEventTopic, @@ -3038,7 +3038,7 @@ func (c *DirectoryService) RegisterEventTopicRequest(input *RegisterEventTopicIn // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterEventTopic +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterEventTopic func (c *DirectoryService) RegisterEventTopic(input *RegisterEventTopicInput) (*RegisterEventTopicOutput, error) { req, out := c.RegisterEventTopicRequest(input) return out, req.Send() @@ -3085,7 +3085,7 @@ const opRemoveIpRoutes = "RemoveIpRoutes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveIpRoutes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveIpRoutes func (c *DirectoryService) RemoveIpRoutesRequest(input *RemoveIpRoutesInput) (req *request.Request, output *RemoveIpRoutesOutput) { op := &request.Operation{ Name: opRemoveIpRoutes, @@ -3129,7 +3129,7 @@ func (c *DirectoryService) RemoveIpRoutesRequest(input *RemoveIpRoutesInput) (re // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveIpRoutes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveIpRoutes func (c *DirectoryService) RemoveIpRoutes(input *RemoveIpRoutesInput) (*RemoveIpRoutesOutput, error) { req, out := c.RemoveIpRoutesRequest(input) return out, req.Send() @@ -3176,7 +3176,7 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveTagsFromResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveTagsFromResource func (c *DirectoryService) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput) { op := &request.Operation{ Name: opRemoveTagsFromResource, @@ -3217,7 +3217,7 @@ func (c *DirectoryService) RemoveTagsFromResourceRequest(input *RemoveTagsFromRe // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveTagsFromResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveTagsFromResource func (c *DirectoryService) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error) { req, out := c.RemoveTagsFromResourceRequest(input) return out, req.Send() @@ -3264,7 +3264,7 @@ const opRestoreFromSnapshot = "RestoreFromSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RestoreFromSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RestoreFromSnapshot func (c *DirectoryService) RestoreFromSnapshotRequest(input *RestoreFromSnapshotInput) (req *request.Request, output *RestoreFromSnapshotOutput) { op := &request.Operation{ Name: opRestoreFromSnapshot, @@ -3313,7 +3313,7 @@ func (c *DirectoryService) RestoreFromSnapshotRequest(input *RestoreFromSnapshot // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RestoreFromSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RestoreFromSnapshot func (c *DirectoryService) RestoreFromSnapshot(input *RestoreFromSnapshotInput) (*RestoreFromSnapshotOutput, error) { req, out := c.RestoreFromSnapshotRequest(input) return out, req.Send() @@ -3360,7 +3360,7 @@ const opStartSchemaExtension = "StartSchemaExtension" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtension +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtension func (c *DirectoryService) StartSchemaExtensionRequest(input *StartSchemaExtensionInput) (req *request.Request, output *StartSchemaExtensionOutput) { op := &request.Operation{ Name: opStartSchemaExtension, @@ -3409,7 +3409,7 @@ func (c *DirectoryService) StartSchemaExtensionRequest(input *StartSchemaExtensi // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtension +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtension func (c *DirectoryService) StartSchemaExtension(input *StartSchemaExtensionInput) (*StartSchemaExtensionOutput, error) { req, out := c.StartSchemaExtensionRequest(input) return out, req.Send() @@ -3456,7 +3456,7 @@ const opUpdateConditionalForwarder = "UpdateConditionalForwarder" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateConditionalForwarder +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateConditionalForwarder func (c *DirectoryService) UpdateConditionalForwarderRequest(input *UpdateConditionalForwarderInput) (req *request.Request, output *UpdateConditionalForwarderOutput) { op := &request.Operation{ Name: opUpdateConditionalForwarder, @@ -3503,7 +3503,7 @@ func (c *DirectoryService) UpdateConditionalForwarderRequest(input *UpdateCondit // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateConditionalForwarder +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateConditionalForwarder func (c *DirectoryService) UpdateConditionalForwarder(input *UpdateConditionalForwarderInput) (*UpdateConditionalForwarderOutput, error) { req, out := c.UpdateConditionalForwarderRequest(input) return out, req.Send() @@ -3550,7 +3550,7 @@ const opUpdateNumberOfDomainControllers = "UpdateNumberOfDomainControllers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllers +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllers func (c *DirectoryService) UpdateNumberOfDomainControllersRequest(input *UpdateNumberOfDomainControllersInput) (req *request.Request, output *UpdateNumberOfDomainControllersOutput) { op := &request.Operation{ Name: opUpdateNumberOfDomainControllers, @@ -3606,7 +3606,7 @@ func (c *DirectoryService) UpdateNumberOfDomainControllersRequest(input *UpdateN // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllers +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllers func (c *DirectoryService) UpdateNumberOfDomainControllers(input *UpdateNumberOfDomainControllersInput) (*UpdateNumberOfDomainControllersOutput, error) { req, out := c.UpdateNumberOfDomainControllersRequest(input) return out, req.Send() @@ -3653,7 +3653,7 @@ const opUpdateRadius = "UpdateRadius" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateRadius +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateRadius func (c *DirectoryService) UpdateRadiusRequest(input *UpdateRadiusInput) (req *request.Request, output *UpdateRadiusOutput) { op := &request.Operation{ Name: opUpdateRadius, @@ -3695,7 +3695,7 @@ func (c *DirectoryService) UpdateRadiusRequest(input *UpdateRadiusInput) (req *r // * ErrCodeServiceException "ServiceException" // An exception has occurred in AWS Directory Service. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateRadius +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateRadius func (c *DirectoryService) UpdateRadius(input *UpdateRadiusInput) (*UpdateRadiusOutput, error) { req, out := c.UpdateRadiusRequest(input) return out, req.Send() @@ -3742,7 +3742,7 @@ const opVerifyTrust = "VerifyTrust" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrust +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrust func (c *DirectoryService) VerifyTrustRequest(input *VerifyTrustInput) (req *request.Request, output *VerifyTrustOutput) { op := &request.Operation{ Name: opVerifyTrust, @@ -3790,7 +3790,7 @@ func (c *DirectoryService) VerifyTrustRequest(input *VerifyTrustInput) (req *req // * ErrCodeUnsupportedOperationException "UnsupportedOperationException" // The operation is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrust +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrust func (c *DirectoryService) VerifyTrust(input *VerifyTrustInput) (*VerifyTrustOutput, error) { req, out := c.VerifyTrustRequest(input) return out, req.Send() @@ -3812,7 +3812,7 @@ func (c *DirectoryService) VerifyTrustWithContext(ctx aws.Context, input *Verify return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddIpRoutesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddIpRoutesRequest type AddIpRoutesInput struct { _ struct{} `type:"structure"` @@ -3917,7 +3917,7 @@ func (s *AddIpRoutesInput) SetUpdateSecurityGroupForDirectoryControllers(v bool) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddIpRoutesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddIpRoutesResult type AddIpRoutesOutput struct { _ struct{} `type:"structure"` } @@ -3932,7 +3932,7 @@ func (s AddIpRoutesOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddTagsToResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddTagsToResourceRequest type AddTagsToResourceInput struct { _ struct{} `type:"structure"` @@ -3995,7 +3995,7 @@ func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddTagsToResourceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddTagsToResourceResult type AddTagsToResourceOutput struct { _ struct{} `type:"structure"` } @@ -4011,7 +4011,7 @@ func (s AddTagsToResourceOutput) GoString() string { } // Represents a named directory attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Attribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Attribute type Attribute struct { _ struct{} `type:"structure"` @@ -4057,7 +4057,7 @@ func (s *Attribute) SetValue(v string) *Attribute { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CancelSchemaExtensionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CancelSchemaExtensionRequest type CancelSchemaExtensionInput struct { _ struct{} `type:"structure"` @@ -4110,7 +4110,7 @@ func (s *CancelSchemaExtensionInput) SetSchemaExtensionId(v string) *CancelSchem return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CancelSchemaExtensionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CancelSchemaExtensionResult type CancelSchemaExtensionOutput struct { _ struct{} `type:"structure"` } @@ -4126,7 +4126,7 @@ func (s CancelSchemaExtensionOutput) GoString() string { } // Contains information about a computer account in a directory. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Computer +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Computer type Computer struct { _ struct{} `type:"structure"` @@ -4172,7 +4172,7 @@ func (s *Computer) SetComputerName(v string) *Computer { // Points to a remote domain with which you are setting up a trust relationship. // Conditional forwarders are required in order to set up a trust relationship // with another domain. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConditionalForwarder +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConditionalForwarder type ConditionalForwarder struct { _ struct{} `type:"structure"` @@ -4220,7 +4220,7 @@ func (s *ConditionalForwarder) SetReplicationScope(v string) *ConditionalForward } // Contains the inputs for the ConnectDirectory operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConnectDirectoryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConnectDirectoryRequest type ConnectDirectoryInput struct { _ struct{} `type:"structure"` @@ -4329,7 +4329,7 @@ func (s *ConnectDirectoryInput) SetSize(v string) *ConnectDirectoryInput { } // Contains the results of the ConnectDirectory operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConnectDirectoryResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConnectDirectoryResult type ConnectDirectoryOutput struct { _ struct{} `type:"structure"` @@ -4354,7 +4354,7 @@ func (s *ConnectDirectoryOutput) SetDirectoryId(v string) *ConnectDirectoryOutpu } // Contains the inputs for the CreateAlias operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateAliasRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateAliasRequest type CreateAliasInput struct { _ struct{} `type:"structure"` @@ -4414,7 +4414,7 @@ func (s *CreateAliasInput) SetDirectoryId(v string) *CreateAliasInput { } // Contains the results of the CreateAlias operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateAliasResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateAliasResult type CreateAliasOutput struct { _ struct{} `type:"structure"` @@ -4448,7 +4448,7 @@ func (s *CreateAliasOutput) SetDirectoryId(v string) *CreateAliasOutput { } // Contains the inputs for the CreateComputer operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateComputerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateComputerRequest type CreateComputerInput struct { _ struct{} `type:"structure"` @@ -4556,7 +4556,7 @@ func (s *CreateComputerInput) SetPassword(v string) *CreateComputerInput { } // Contains the results for the CreateComputer operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateComputerResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateComputerResult type CreateComputerOutput struct { _ struct{} `type:"structure"` @@ -4583,7 +4583,7 @@ func (s *CreateComputerOutput) SetComputer(v *Computer) *CreateComputerOutput { // Initiates the creation of a conditional forwarder for your AWS Directory // Service for Microsoft Active Directory. Conditional forwarders are required // in order to set up a trust relationship with another domain. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateConditionalForwarderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateConditionalForwarderRequest type CreateConditionalForwarderInput struct { _ struct{} `type:"structure"` @@ -4653,7 +4653,7 @@ func (s *CreateConditionalForwarderInput) SetRemoteDomainName(v string) *CreateC } // The result of a CreateConditinalForwarder request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateConditionalForwarderResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateConditionalForwarderResult type CreateConditionalForwarderOutput struct { _ struct{} `type:"structure"` } @@ -4669,7 +4669,7 @@ func (s CreateConditionalForwarderOutput) GoString() string { } // Contains the inputs for the CreateDirectory operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateDirectoryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateDirectoryRequest type CreateDirectoryInput struct { _ struct{} `type:"structure"` @@ -4772,7 +4772,7 @@ func (s *CreateDirectoryInput) SetVpcSettings(v *DirectoryVpcSettings) *CreateDi } // Contains the results of the CreateDirectory operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateDirectoryResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateDirectoryResult type CreateDirectoryOutput struct { _ struct{} `type:"structure"` @@ -4797,7 +4797,7 @@ func (s *CreateDirectoryOutput) SetDirectoryId(v string) *CreateDirectoryOutput } // Creates a Microsoft AD in the AWS cloud. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateMicrosoftADRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateMicrosoftADRequest type CreateMicrosoftADInput struct { _ struct{} `type:"structure"` @@ -4893,7 +4893,7 @@ func (s *CreateMicrosoftADInput) SetVpcSettings(v *DirectoryVpcSettings) *Create } // Result of a CreateMicrosoftAD request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateMicrosoftADResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateMicrosoftADResult type CreateMicrosoftADOutput struct { _ struct{} `type:"structure"` @@ -4918,7 +4918,7 @@ func (s *CreateMicrosoftADOutput) SetDirectoryId(v string) *CreateMicrosoftADOut } // Contains the inputs for the CreateSnapshot operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshotRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshotRequest type CreateSnapshotInput struct { _ struct{} `type:"structure"` @@ -4967,7 +4967,7 @@ func (s *CreateSnapshotInput) SetName(v string) *CreateSnapshotInput { } // Contains the results of the CreateSnapshot operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshotResult type CreateSnapshotOutput struct { _ struct{} `type:"structure"` @@ -4999,7 +4999,7 @@ func (s *CreateSnapshotOutput) SetSnapshotId(v string) *CreateSnapshotOutput { // // This action initiates the creation of the AWS side of a trust relationship // between a Microsoft AD in the AWS cloud and an external domain. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateTrustRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateTrustRequest type CreateTrustInput struct { _ struct{} `type:"structure"` @@ -5105,7 +5105,7 @@ func (s *CreateTrustInput) SetTrustType(v string) *CreateTrustInput { } // The result of a CreateTrust request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateTrustResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateTrustResult type CreateTrustOutput struct { _ struct{} `type:"structure"` @@ -5130,7 +5130,7 @@ func (s *CreateTrustOutput) SetTrustId(v string) *CreateTrustOutput { } // Deletes a conditional forwarder. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarderRequest type DeleteConditionalForwarderInput struct { _ struct{} `type:"structure"` @@ -5185,7 +5185,7 @@ func (s *DeleteConditionalForwarderInput) SetRemoteDomainName(v string) *DeleteC } // The result of a DeleteConditionalForwarder request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarderResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarderResult type DeleteConditionalForwarderOutput struct { _ struct{} `type:"structure"` } @@ -5201,7 +5201,7 @@ func (s DeleteConditionalForwarderOutput) GoString() string { } // Contains the inputs for the DeleteDirectory operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteDirectoryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteDirectoryRequest type DeleteDirectoryInput struct { _ struct{} `type:"structure"` @@ -5241,7 +5241,7 @@ func (s *DeleteDirectoryInput) SetDirectoryId(v string) *DeleteDirectoryInput { } // Contains the results of the DeleteDirectory operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteDirectoryResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteDirectoryResult type DeleteDirectoryOutput struct { _ struct{} `type:"structure"` @@ -5266,7 +5266,7 @@ func (s *DeleteDirectoryOutput) SetDirectoryId(v string) *DeleteDirectoryOutput } // Contains the inputs for the DeleteSnapshot operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteSnapshotRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteSnapshotRequest type DeleteSnapshotInput struct { _ struct{} `type:"structure"` @@ -5306,7 +5306,7 @@ func (s *DeleteSnapshotInput) SetSnapshotId(v string) *DeleteSnapshotInput { } // Contains the results of the DeleteSnapshot operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteSnapshotResult type DeleteSnapshotOutput struct { _ struct{} `type:"structure"` @@ -5332,7 +5332,7 @@ func (s *DeleteSnapshotOutput) SetSnapshotId(v string) *DeleteSnapshotOutput { // Deletes the local side of an existing trust relationship between the Microsoft // AD in the AWS cloud and the external domain. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteTrustRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteTrustRequest type DeleteTrustInput struct { _ struct{} `type:"structure"` @@ -5381,7 +5381,7 @@ func (s *DeleteTrustInput) SetTrustId(v string) *DeleteTrustInput { } // The result of a DeleteTrust request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteTrustResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteTrustResult type DeleteTrustOutput struct { _ struct{} `type:"structure"` @@ -5406,7 +5406,7 @@ func (s *DeleteTrustOutput) SetTrustId(v string) *DeleteTrustOutput { } // Removes the specified directory as a publisher to the specified SNS topic. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterEventTopicRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterEventTopicRequest type DeregisterEventTopicInput struct { _ struct{} `type:"structure"` @@ -5464,7 +5464,7 @@ func (s *DeregisterEventTopicInput) SetTopicName(v string) *DeregisterEventTopic } // The result of a DeregisterEventTopic request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterEventTopicResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterEventTopicResult type DeregisterEventTopicOutput struct { _ struct{} `type:"structure"` } @@ -5480,7 +5480,7 @@ func (s DeregisterEventTopicOutput) GoString() string { } // Describes a conditional forwarder. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeConditionalForwardersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeConditionalForwardersRequest type DescribeConditionalForwardersInput struct { _ struct{} `type:"structure"` @@ -5531,7 +5531,7 @@ func (s *DescribeConditionalForwardersInput) SetRemoteDomainNames(v []*string) * } // The result of a DescribeConditionalForwarder request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeConditionalForwardersResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeConditionalForwardersResult type DescribeConditionalForwardersOutput struct { _ struct{} `type:"structure"` @@ -5556,7 +5556,7 @@ func (s *DescribeConditionalForwardersOutput) SetConditionalForwarders(v []*Cond } // Contains the inputs for the DescribeDirectories operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectoriesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectoriesRequest type DescribeDirectoriesInput struct { _ struct{} `type:"structure"` @@ -5605,7 +5605,7 @@ func (s *DescribeDirectoriesInput) SetNextToken(v string) *DescribeDirectoriesIn } // Contains the results of the DescribeDirectories operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectoriesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectoriesResult type DescribeDirectoriesOutput struct { _ struct{} `type:"structure"` @@ -5645,7 +5645,7 @@ func (s *DescribeDirectoriesOutput) SetNextToken(v string) *DescribeDirectoriesO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllersRequest type DescribeDomainControllersInput struct { _ struct{} `type:"structure"` @@ -5713,7 +5713,7 @@ func (s *DescribeDomainControllersInput) SetNextToken(v string) *DescribeDomainC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllersResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllersResult type DescribeDomainControllersOutput struct { _ struct{} `type:"structure"` @@ -5749,7 +5749,7 @@ func (s *DescribeDomainControllersOutput) SetNextToken(v string) *DescribeDomain } // Describes event topics. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopicsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopicsRequest type DescribeEventTopicsInput struct { _ struct{} `type:"structure"` @@ -5787,7 +5787,7 @@ func (s *DescribeEventTopicsInput) SetTopicNames(v []*string) *DescribeEventTopi } // The result of a DescribeEventTopic request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopicsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopicsResult type DescribeEventTopicsOutput struct { _ struct{} `type:"structure"` @@ -5813,7 +5813,7 @@ func (s *DescribeEventTopicsOutput) SetEventTopics(v []*EventTopic) *DescribeEve } // Contains the inputs for the DescribeSnapshots operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSnapshotsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSnapshotsRequest type DescribeSnapshotsInput struct { _ struct{} `type:"structure"` @@ -5868,7 +5868,7 @@ func (s *DescribeSnapshotsInput) SetSnapshotIds(v []*string) *DescribeSnapshotsI } // Contains the results of the DescribeSnapshots operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSnapshotsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSnapshotsResult type DescribeSnapshotsOutput struct { _ struct{} `type:"structure"` @@ -5910,7 +5910,7 @@ func (s *DescribeSnapshotsOutput) SetSnapshots(v []*Snapshot) *DescribeSnapshots // Describes the trust relationships for a particular Microsoft AD in the AWS // cloud. If no input parameters are are provided, such as directory ID or trust // ID, this request describes all the trust relationships. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeTrustsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeTrustsRequest type DescribeTrustsInput struct { _ struct{} `type:"structure"` @@ -5968,7 +5968,7 @@ func (s *DescribeTrustsInput) SetTrustIds(v []*string) *DescribeTrustsInput { } // The result of a DescribeTrust request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeTrustsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeTrustsResult type DescribeTrustsOutput struct { _ struct{} `type:"structure"` @@ -6010,7 +6010,7 @@ func (s *DescribeTrustsOutput) SetTrusts(v []*Trust) *DescribeTrustsOutput { // Contains information for the ConnectDirectory operation when an AD Connector // directory is being created. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryConnectSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryConnectSettings type DirectoryConnectSettings struct { _ struct{} `type:"structure"` @@ -6103,7 +6103,7 @@ func (s *DirectoryConnectSettings) SetVpcId(v string) *DirectoryConnectSettings } // Contains information about an AD Connector directory. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryConnectSettingsDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryConnectSettingsDescription type DirectoryConnectSettingsDescription struct { _ struct{} `type:"structure"` @@ -6173,7 +6173,7 @@ func (s *DirectoryConnectSettingsDescription) SetVpcId(v string) *DirectoryConne } // Contains information about an AWS Directory Service directory. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryDescription type DirectoryDescription struct { _ struct{} `type:"structure"` @@ -6374,7 +6374,7 @@ func (s *DirectoryDescription) SetVpcSettings(v *DirectoryVpcSettingsDescription } // Contains directory limit information for a region. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryLimits type DirectoryLimits struct { _ struct{} `type:"structure"` @@ -6471,7 +6471,7 @@ func (s *DirectoryLimits) SetConnectedDirectoriesLimitReached(v bool) *Directory } // Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryVpcSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryVpcSettings type DirectoryVpcSettings struct { _ struct{} `type:"structure"` @@ -6527,7 +6527,7 @@ func (s *DirectoryVpcSettings) SetVpcId(v string) *DirectoryVpcSettings { } // Contains information about the directory. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryVpcSettingsDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryVpcSettingsDescription type DirectoryVpcSettingsDescription struct { _ struct{} `type:"structure"` @@ -6582,7 +6582,7 @@ func (s *DirectoryVpcSettingsDescription) SetVpcId(v string) *DirectoryVpcSettin } // Contains the inputs for the DisableRadius operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableRadiusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableRadiusRequest type DisableRadiusInput struct { _ struct{} `type:"structure"` @@ -6622,7 +6622,7 @@ func (s *DisableRadiusInput) SetDirectoryId(v string) *DisableRadiusInput { } // Contains the results of the DisableRadius operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableRadiusResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableRadiusResult type DisableRadiusOutput struct { _ struct{} `type:"structure"` } @@ -6638,7 +6638,7 @@ func (s DisableRadiusOutput) GoString() string { } // Contains the inputs for the DisableSso operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableSsoRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableSsoRequest type DisableSsoInput struct { _ struct{} `type:"structure"` @@ -6712,7 +6712,7 @@ func (s *DisableSsoInput) SetUserName(v string) *DisableSsoInput { } // Contains the results of the DisableSso operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableSsoResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableSsoResult type DisableSsoOutput struct { _ struct{} `type:"structure"` } @@ -6728,7 +6728,7 @@ func (s DisableSsoOutput) GoString() string { } // Contains information about the domain controllers for a specified directory. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DomainController +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DomainController type DomainController struct { _ struct{} `type:"structure"` @@ -6834,7 +6834,7 @@ func (s *DomainController) SetVpcId(v string) *DomainController { } // Contains the inputs for the EnableRadius operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableRadiusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableRadiusRequest type EnableRadiusInput struct { _ struct{} `type:"structure"` @@ -6893,7 +6893,7 @@ func (s *EnableRadiusInput) SetRadiusSettings(v *RadiusSettings) *EnableRadiusIn } // Contains the results of the EnableRadius operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableRadiusResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableRadiusResult type EnableRadiusOutput struct { _ struct{} `type:"structure"` } @@ -6909,7 +6909,7 @@ func (s EnableRadiusOutput) GoString() string { } // Contains the inputs for the EnableSso operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableSsoRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableSsoRequest type EnableSsoInput struct { _ struct{} `type:"structure"` @@ -6983,7 +6983,7 @@ func (s *EnableSsoInput) SetUserName(v string) *EnableSsoInput { } // Contains the results of the EnableSso operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableSsoResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableSsoResult type EnableSsoOutput struct { _ struct{} `type:"structure"` } @@ -6999,7 +6999,7 @@ func (s EnableSsoOutput) GoString() string { } // Information about SNS topic and AWS Directory Service directory associations. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EventTopic +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EventTopic type EventTopic struct { _ struct{} `type:"structure"` @@ -7061,7 +7061,7 @@ func (s *EventTopic) SetTopicName(v string) *EventTopic { } // Contains the inputs for the GetDirectoryLimits operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetDirectoryLimitsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetDirectoryLimitsRequest type GetDirectoryLimitsInput struct { _ struct{} `type:"structure"` } @@ -7077,7 +7077,7 @@ func (s GetDirectoryLimitsInput) GoString() string { } // Contains the results of the GetDirectoryLimits operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetDirectoryLimitsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetDirectoryLimitsResult type GetDirectoryLimitsOutput struct { _ struct{} `type:"structure"` @@ -7103,7 +7103,7 @@ func (s *GetDirectoryLimitsOutput) SetDirectoryLimits(v *DirectoryLimits) *GetDi } // Contains the inputs for the GetSnapshotLimits operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimitsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimitsRequest type GetSnapshotLimitsInput struct { _ struct{} `type:"structure"` @@ -7143,7 +7143,7 @@ func (s *GetSnapshotLimitsInput) SetDirectoryId(v string) *GetSnapshotLimitsInpu } // Contains the results of the GetSnapshotLimits operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimitsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimitsResult type GetSnapshotLimitsOutput struct { _ struct{} `type:"structure"` @@ -7170,7 +7170,7 @@ func (s *GetSnapshotLimitsOutput) SetSnapshotLimits(v *SnapshotLimits) *GetSnaps // IP address block. This is often the address block of the DNS server used // for your on-premises domain. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/IpRoute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/IpRoute type IpRoute struct { _ struct{} `type:"structure"` @@ -7206,7 +7206,7 @@ func (s *IpRoute) SetDescription(v string) *IpRoute { } // Information about one or more IP address blocks. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/IpRouteInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/IpRouteInfo type IpRouteInfo struct { _ struct{} `type:"structure"` @@ -7275,7 +7275,7 @@ func (s *IpRouteInfo) SetIpRouteStatusReason(v string) *IpRouteInfo { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListIpRoutesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListIpRoutesRequest type ListIpRoutesInput struct { _ struct{} `type:"structure"` @@ -7334,7 +7334,7 @@ func (s *ListIpRoutesInput) SetNextToken(v string) *ListIpRoutesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListIpRoutesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListIpRoutesResult type ListIpRoutesOutput struct { _ struct{} `type:"structure"` @@ -7369,7 +7369,7 @@ func (s *ListIpRoutesOutput) SetNextToken(v string) *ListIpRoutesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListSchemaExtensionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListSchemaExtensionsRequest type ListSchemaExtensionsInput struct { _ struct{} `type:"structure"` @@ -7428,7 +7428,7 @@ func (s *ListSchemaExtensionsInput) SetNextToken(v string) *ListSchemaExtensions return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListSchemaExtensionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListSchemaExtensionsResult type ListSchemaExtensionsOutput struct { _ struct{} `type:"structure"` @@ -7463,7 +7463,7 @@ func (s *ListSchemaExtensionsOutput) SetSchemaExtensionsInfo(v []*SchemaExtensio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListTagsForResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListTagsForResourceRequest type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -7520,7 +7520,7 @@ func (s *ListTagsForResourceInput) SetResourceId(v string) *ListTagsForResourceI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListTagsForResourceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListTagsForResourceResult type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -7555,7 +7555,7 @@ func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput // Contains information about a Remote Authentication Dial In User Service (RADIUS) // server. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RadiusSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RadiusSettings type RadiusSettings struct { _ struct{} `type:"structure"` @@ -7669,7 +7669,7 @@ func (s *RadiusSettings) SetUseSameUsername(v bool) *RadiusSettings { } // Registers a new event topic. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterEventTopicRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterEventTopicRequest type RegisterEventTopicInput struct { _ struct{} `type:"structure"` @@ -7727,7 +7727,7 @@ func (s *RegisterEventTopicInput) SetTopicName(v string) *RegisterEventTopicInpu } // The result of a RegisterEventTopic request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterEventTopicResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterEventTopicResult type RegisterEventTopicOutput struct { _ struct{} `type:"structure"` } @@ -7742,7 +7742,7 @@ func (s RegisterEventTopicOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveIpRoutesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveIpRoutesRequest type RemoveIpRoutesInput struct { _ struct{} `type:"structure"` @@ -7795,7 +7795,7 @@ func (s *RemoveIpRoutesInput) SetDirectoryId(v string) *RemoveIpRoutesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveIpRoutesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveIpRoutesResult type RemoveIpRoutesOutput struct { _ struct{} `type:"structure"` } @@ -7810,7 +7810,7 @@ func (s RemoveIpRoutesOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveTagsFromResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveTagsFromResourceRequest type RemoveTagsFromResourceInput struct { _ struct{} `type:"structure"` @@ -7863,7 +7863,7 @@ func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromRes return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveTagsFromResourceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveTagsFromResourceResult type RemoveTagsFromResourceOutput struct { _ struct{} `type:"structure"` } @@ -7879,7 +7879,7 @@ func (s RemoveTagsFromResourceOutput) GoString() string { } // An object representing the inputs for the RestoreFromSnapshot operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RestoreFromSnapshotRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RestoreFromSnapshotRequest type RestoreFromSnapshotInput struct { _ struct{} `type:"structure"` @@ -7919,7 +7919,7 @@ func (s *RestoreFromSnapshotInput) SetSnapshotId(v string) *RestoreFromSnapshotI } // Contains the results of the RestoreFromSnapshot operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RestoreFromSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RestoreFromSnapshotResult type RestoreFromSnapshotOutput struct { _ struct{} `type:"structure"` } @@ -7935,7 +7935,7 @@ func (s RestoreFromSnapshotOutput) GoString() string { } // Information about a schema extension. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/SchemaExtensionInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/SchemaExtensionInfo type SchemaExtensionInfo struct { _ struct{} `type:"structure"` @@ -8015,7 +8015,7 @@ func (s *SchemaExtensionInfo) SetStartDateTime(v time.Time) *SchemaExtensionInfo } // Describes a directory snapshot. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Snapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Snapshot type Snapshot struct { _ struct{} `type:"structure"` @@ -8085,7 +8085,7 @@ func (s *Snapshot) SetType(v string) *Snapshot { } // Contains manual snapshot limit information for a directory. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/SnapshotLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/SnapshotLimits type SnapshotLimits struct { _ struct{} `type:"structure"` @@ -8127,7 +8127,7 @@ func (s *SnapshotLimits) SetManualSnapshotsLimitReached(v bool) *SnapshotLimits return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtensionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtensionRequest type StartSchemaExtensionInput struct { _ struct{} `type:"structure"` @@ -8215,7 +8215,7 @@ func (s *StartSchemaExtensionInput) SetLdifContent(v string) *StartSchemaExtensi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtensionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtensionResult type StartSchemaExtensionOutput struct { _ struct{} `type:"structure"` @@ -8240,7 +8240,7 @@ func (s *StartSchemaExtensionOutput) SetSchemaExtensionId(v string) *StartSchema } // Metadata assigned to a directory consisting of a key-value pair. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Tag type Tag struct { _ struct{} `type:"structure"` @@ -8302,7 +8302,7 @@ func (s *Tag) SetValue(v string) *Tag { // Describes a trust relationship between an Microsoft AD in the AWS cloud and // an external domain. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Trust +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Trust type Trust struct { _ struct{} `type:"structure"` @@ -8409,7 +8409,7 @@ func (s *Trust) SetTrustType(v string) *Trust { } // Updates a conditional forwarder. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateConditionalForwarderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateConditionalForwarderRequest type UpdateConditionalForwarderInput struct { _ struct{} `type:"structure"` @@ -8480,7 +8480,7 @@ func (s *UpdateConditionalForwarderInput) SetRemoteDomainName(v string) *UpdateC } // The result of an UpdateConditionalForwarder request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateConditionalForwarderResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateConditionalForwarderResult type UpdateConditionalForwarderOutput struct { _ struct{} `type:"structure"` } @@ -8495,7 +8495,7 @@ func (s UpdateConditionalForwarderOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllersRequest type UpdateNumberOfDomainControllersInput struct { _ struct{} `type:"structure"` @@ -8552,7 +8552,7 @@ func (s *UpdateNumberOfDomainControllersInput) SetDirectoryId(v string) *UpdateN return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllersResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllersResult type UpdateNumberOfDomainControllersOutput struct { _ struct{} `type:"structure"` } @@ -8568,7 +8568,7 @@ func (s UpdateNumberOfDomainControllersOutput) GoString() string { } // Contains the inputs for the UpdateRadius operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateRadiusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateRadiusRequest type UpdateRadiusInput struct { _ struct{} `type:"structure"` @@ -8627,7 +8627,7 @@ func (s *UpdateRadiusInput) SetRadiusSettings(v *RadiusSettings) *UpdateRadiusIn } // Contains the results of the UpdateRadius operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateRadiusResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateRadiusResult type UpdateRadiusOutput struct { _ struct{} `type:"structure"` } @@ -8644,7 +8644,7 @@ func (s UpdateRadiusOutput) GoString() string { // Initiates the verification of an existing trust relationship between a Microsoft // AD in the AWS cloud and an external domain. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrustRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrustRequest type VerifyTrustInput struct { _ struct{} `type:"structure"` @@ -8684,7 +8684,7 @@ func (s *VerifyTrustInput) SetTrustId(v string) *VerifyTrustInput { } // Result of a VerifyTrust request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrustResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrustResult type VerifyTrustOutput struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go b/vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go index ffac95bcc57..2b3343198d6 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go @@ -38,7 +38,7 @@ const opBatchGetItem = "BatchGetItem" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItem func (c *DynamoDB) BatchGetItemRequest(input *BatchGetItemInput) (req *request.Request, output *BatchGetItemOutput) { op := &request.Operation{ Name: opBatchGetItem, @@ -136,7 +136,7 @@ func (c *DynamoDB) BatchGetItemRequest(input *BatchGetItemInput) (req *request.R // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItem func (c *DynamoDB) BatchGetItem(input *BatchGetItemInput) (*BatchGetItemOutput, error) { req, out := c.BatchGetItemRequest(input) return out, req.Send() @@ -233,7 +233,7 @@ const opBatchWriteItem = "BatchWriteItem" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItem func (c *DynamoDB) BatchWriteItemRequest(input *BatchWriteItemInput) (req *request.Request, output *BatchWriteItemOutput) { op := &request.Operation{ Name: opBatchWriteItem, @@ -349,7 +349,7 @@ func (c *DynamoDB) BatchWriteItemRequest(input *BatchWriteItemInput) (req *reque // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItem func (c *DynamoDB) BatchWriteItem(input *BatchWriteItemInput) (*BatchWriteItemOutput, error) { req, out := c.BatchWriteItemRequest(input) return out, req.Send() @@ -371,6 +371,249 @@ func (c *DynamoDB) BatchWriteItemWithContext(ctx aws.Context, input *BatchWriteI return out, req.Send() } +const opCreateBackup = "CreateBackup" + +// CreateBackupRequest generates a "aws/request.Request" representing the +// client's request for the CreateBackup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateBackup for more information on using the CreateBackup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateBackupRequest method. +// req, resp := client.CreateBackupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateBackup +func (c *DynamoDB) CreateBackupRequest(input *CreateBackupInput) (req *request.Request, output *CreateBackupOutput) { + op := &request.Operation{ + Name: opCreateBackup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateBackupInput{} + } + + output = &CreateBackupOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateBackup API operation for Amazon DynamoDB. +// +// Creates a backup for an existing table. +// +// Each time you create an On-Demand Backup, the entire table data is backed +// up. There is no limit to the number of on-demand backups that can be taken. +// +// You can call CreateBackup at a maximum rate of 50 times per second. +// +// All backups in DynamoDB work without consuming any provisioned throughput +// on the table. This results in a fast, low-cost, and scalable backup process. +// In general, the larger the table, the more time it takes to back up. The +// backup is stored in an S3 data store that is maintained and managed by DynamoDB. +// +// Backups incorporate all writes (delete, put, update) that were completed +// within the last minute before the backup request was initiated. Backups might +// include some writes (delete, put, update) that were completed before the +// backup request was finished. +// +// For example, if you submit the backup request on 2018-12-14 at 14:25:00, +// the backup is guaranteed to contain all data committed to the table up to +// 14:24:00, and data committed after 14:26:00 will not be. The backup may or +// may not contain data modifications made between 14:24:00 and 14:26:00. On-Demand +// Backup does not support causal consistency. +// +// Along with data, the following are also included on the backups: +// +// * Global secondary indexes (GSIs) +// +// * Local secondary indexes (LSIs) +// +// * Streams +// +// * Provisioned read and write capacity +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DynamoDB's +// API operation CreateBackup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeTableNotFoundException "TableNotFoundException" +// A table with the name TableName does not currently exist within the subscriber's +// account. +// +// * ErrCodeTableInUseException "TableInUseException" +// A table by that name is either being created or deleted. +// +// * ErrCodeContinuousBackupsUnavailableException "ContinuousBackupsUnavailableException" +// Backups have not yet been enabled for this table. +// +// * ErrCodeBackupInUseException "BackupInUseException" +// There is another ongoing conflicting backup control plane operation on the +// table. The backups is either being created, deleted or restored to a table. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of concurrent table requests (cumulative number of tables in the +// CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10. +// +// Also, for tables with secondary indexes, only one of those tables can be +// in the CREATING state at any point in time. Do not attempt to create more +// than one such table simultaneously. +// +// The total limit of tables in the ACTIVE state is 250. +// +// * ErrCodeInternalServerError "InternalServerError" +// An error occurred on the server side. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateBackup +func (c *DynamoDB) CreateBackup(input *CreateBackupInput) (*CreateBackupOutput, error) { + req, out := c.CreateBackupRequest(input) + return out, req.Send() +} + +// CreateBackupWithContext is the same as CreateBackup with the addition of +// the ability to pass a context and additional request options. +// +// See CreateBackup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DynamoDB) CreateBackupWithContext(ctx aws.Context, input *CreateBackupInput, opts ...request.Option) (*CreateBackupOutput, error) { + req, out := c.CreateBackupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateGlobalTable = "CreateGlobalTable" + +// CreateGlobalTableRequest generates a "aws/request.Request" representing the +// client's request for the CreateGlobalTable operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateGlobalTable for more information on using the CreateGlobalTable +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateGlobalTableRequest method. +// req, resp := client.CreateGlobalTableRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalTable +func (c *DynamoDB) CreateGlobalTableRequest(input *CreateGlobalTableInput) (req *request.Request, output *CreateGlobalTableOutput) { + op := &request.Operation{ + Name: opCreateGlobalTable, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateGlobalTableInput{} + } + + output = &CreateGlobalTableOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateGlobalTable API operation for Amazon DynamoDB. +// +// Creates a global table from an existing table. A global table creates a replication +// relationship between two or more DynamoDB tables with the same table name +// in the provided regions. +// +// Tables can only be added as the replicas of a global table group under the +// following conditions: +// +// * The tables must have the same name. +// +// * The tables must contain no items. +// +// * The tables must have the same hash key and sort key (if present). +// +// * The tables must have DynamoDB Streams enabled (NEW_AND_OLD_IMAGES). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DynamoDB's +// API operation CreateGlobalTable for usage and error information. +// +// Returned Error Codes: +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of concurrent table requests (cumulative number of tables in the +// CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10. +// +// Also, for tables with secondary indexes, only one of those tables can be +// in the CREATING state at any point in time. Do not attempt to create more +// than one such table simultaneously. +// +// The total limit of tables in the ACTIVE state is 250. +// +// * ErrCodeInternalServerError "InternalServerError" +// An error occurred on the server side. +// +// * ErrCodeGlobalTableAlreadyExistsException "GlobalTableAlreadyExistsException" +// The specified global table already exists. +// +// * ErrCodeTableNotFoundException "TableNotFoundException" +// A table with the name TableName does not currently exist within the subscriber's +// account. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalTable +func (c *DynamoDB) CreateGlobalTable(input *CreateGlobalTableInput) (*CreateGlobalTableOutput, error) { + req, out := c.CreateGlobalTableRequest(input) + return out, req.Send() +} + +// CreateGlobalTableWithContext is the same as CreateGlobalTable with the addition of +// the ability to pass a context and additional request options. +// +// See CreateGlobalTable for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DynamoDB) CreateGlobalTableWithContext(ctx aws.Context, input *CreateGlobalTableInput, opts ...request.Option) (*CreateGlobalTableOutput, error) { + req, out := c.CreateGlobalTableRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateTable = "CreateTable" // CreateTableRequest generates a "aws/request.Request" representing the @@ -396,7 +639,7 @@ const opCreateTable = "CreateTable" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable func (c *DynamoDB) CreateTableRequest(input *CreateTableInput) (req *request.Request, output *CreateTableOutput) { op := &request.Operation{ Name: opCreateTable, @@ -457,7 +700,7 @@ func (c *DynamoDB) CreateTableRequest(input *CreateTableInput) (req *request.Req // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable func (c *DynamoDB) CreateTable(input *CreateTableInput) (*CreateTableOutput, error) { req, out := c.CreateTableRequest(input) return out, req.Send() @@ -479,6 +722,104 @@ func (c *DynamoDB) CreateTableWithContext(ctx aws.Context, input *CreateTableInp return out, req.Send() } +const opDeleteBackup = "DeleteBackup" + +// DeleteBackupRequest generates a "aws/request.Request" representing the +// client's request for the DeleteBackup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteBackup for more information on using the DeleteBackup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteBackupRequest method. +// req, resp := client.DeleteBackupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteBackup +func (c *DynamoDB) DeleteBackupRequest(input *DeleteBackupInput) (req *request.Request, output *DeleteBackupOutput) { + op := &request.Operation{ + Name: opDeleteBackup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteBackupInput{} + } + + output = &DeleteBackupOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteBackup API operation for Amazon DynamoDB. +// +// Deletes an existing backup of a table. +// +// You can call DeleteBackup at a maximum rate of 10 times per second. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DynamoDB's +// API operation DeleteBackup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBackupNotFoundException "BackupNotFoundException" +// Backup not found for the given BackupARN. +// +// * ErrCodeBackupInUseException "BackupInUseException" +// There is another ongoing conflicting backup control plane operation on the +// table. The backups is either being created, deleted or restored to a table. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of concurrent table requests (cumulative number of tables in the +// CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10. +// +// Also, for tables with secondary indexes, only one of those tables can be +// in the CREATING state at any point in time. Do not attempt to create more +// than one such table simultaneously. +// +// The total limit of tables in the ACTIVE state is 250. +// +// * ErrCodeInternalServerError "InternalServerError" +// An error occurred on the server side. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteBackup +func (c *DynamoDB) DeleteBackup(input *DeleteBackupInput) (*DeleteBackupOutput, error) { + req, out := c.DeleteBackupRequest(input) + return out, req.Send() +} + +// DeleteBackupWithContext is the same as DeleteBackup with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteBackup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DynamoDB) DeleteBackupWithContext(ctx aws.Context, input *DeleteBackupInput, opts ...request.Option) (*DeleteBackupOutput, error) { + req, out := c.DeleteBackupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteItem = "DeleteItem" // DeleteItemRequest generates a "aws/request.Request" representing the @@ -504,7 +845,7 @@ const opDeleteItem = "DeleteItem" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItem func (c *DynamoDB) DeleteItemRequest(input *DeleteItemInput) (req *request.Request, output *DeleteItemOutput) { op := &request.Operation{ Name: opDeleteItem, @@ -568,7 +909,7 @@ func (c *DynamoDB) DeleteItemRequest(input *DeleteItemInput) (req *request.Reque // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItem func (c *DynamoDB) DeleteItem(input *DeleteItemInput) (*DeleteItemOutput, error) { req, out := c.DeleteItemRequest(input) return out, req.Send() @@ -615,7 +956,7 @@ const opDeleteTable = "DeleteTable" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable func (c *DynamoDB) DeleteTableRequest(input *DeleteTableInput) (req *request.Request, output *DeleteTableOutput) { op := &request.Operation{ Name: opDeleteTable, @@ -683,7 +1024,7 @@ func (c *DynamoDB) DeleteTableRequest(input *DeleteTableInput) (req *request.Req // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable func (c *DynamoDB) DeleteTable(input *DeleteTableInput) (*DeleteTableOutput, error) { req, out := c.DeleteTableRequest(input) return out, req.Send() @@ -705,66 +1046,319 @@ func (c *DynamoDB) DeleteTableWithContext(ctx aws.Context, input *DeleteTableInp return out, req.Send() } -const opDescribeLimits = "DescribeLimits" +const opDescribeBackup = "DescribeBackup" -// DescribeLimitsRequest generates a "aws/request.Request" representing the -// client's request for the DescribeLimits operation. The "output" return +// DescribeBackupRequest generates a "aws/request.Request" representing the +// client's request for the DescribeBackup operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DescribeLimits for more information on using the DescribeLimits +// See DescribeBackup for more information on using the DescribeBackup // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DescribeLimitsRequest method. -// req, resp := client.DescribeLimitsRequest(params) +// // Example sending a request using the DescribeBackupRequest method. +// req, resp := client.DescribeBackupRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimits -func (c *DynamoDB) DescribeLimitsRequest(input *DescribeLimitsInput) (req *request.Request, output *DescribeLimitsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeBackup +func (c *DynamoDB) DescribeBackupRequest(input *DescribeBackupInput) (req *request.Request, output *DescribeBackupOutput) { op := &request.Operation{ - Name: opDescribeLimits, + Name: opDescribeBackup, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DescribeLimitsInput{} + input = &DescribeBackupInput{} } - output = &DescribeLimitsOutput{} + output = &DescribeBackupOutput{} req = c.newRequest(op, input, output) return } -// DescribeLimits API operation for Amazon DynamoDB. +// DescribeBackup API operation for Amazon DynamoDB. // -// Returns the current provisioned-capacity limits for your AWS account in a -// region, both for the region as a whole and for any one DynamoDB table that -// you create there. +// Describes an existing backup of a table. // -// When you establish an AWS account, the account has initial limits on the -// maximum read capacity units and write capacity units that you can provision -// across all of your DynamoDB tables in a given region. Also, there are per-table -// limits that apply when you create a table there. For more information, see -// Limits (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) -// page in the Amazon DynamoDB Developer Guide. +// You can call DescribeBackup at a maximum rate of 10 times per second. // -// Although you can increase these limits by filing a case at AWS Support Center -// (https://console.aws.amazon.com/support/home#/), obtaining the increase is -// not instantaneous. The DescribeLimits action lets you write code to compare -// the capacity you are currently using to those limits imposed by your account -// so that you have enough time to apply for an increase before you hit a limit. +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DynamoDB's +// API operation DescribeBackup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBackupNotFoundException "BackupNotFoundException" +// Backup not found for the given BackupARN. +// +// * ErrCodeInternalServerError "InternalServerError" +// An error occurred on the server side. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeBackup +func (c *DynamoDB) DescribeBackup(input *DescribeBackupInput) (*DescribeBackupOutput, error) { + req, out := c.DescribeBackupRequest(input) + return out, req.Send() +} + +// DescribeBackupWithContext is the same as DescribeBackup with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeBackup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DynamoDB) DescribeBackupWithContext(ctx aws.Context, input *DescribeBackupInput, opts ...request.Option) (*DescribeBackupOutput, error) { + req, out := c.DescribeBackupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeContinuousBackups = "DescribeContinuousBackups" + +// DescribeContinuousBackupsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeContinuousBackups operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeContinuousBackups for more information on using the DescribeContinuousBackups +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeContinuousBackupsRequest method. +// req, resp := client.DescribeContinuousBackupsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContinuousBackups +func (c *DynamoDB) DescribeContinuousBackupsRequest(input *DescribeContinuousBackupsInput) (req *request.Request, output *DescribeContinuousBackupsOutput) { + op := &request.Operation{ + Name: opDescribeContinuousBackups, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeContinuousBackupsInput{} + } + + output = &DescribeContinuousBackupsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeContinuousBackups API operation for Amazon DynamoDB. +// +// Checks the status of the backup restore settings on the specified table. +// If backups are enabled, ContinuousBackupsStatus will bet set to ENABLED. +// +// You can call DescribeContinuousBackups at a maximum rate of 10 times per +// second. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DynamoDB's +// API operation DescribeContinuousBackups for usage and error information. +// +// Returned Error Codes: +// * ErrCodeTableNotFoundException "TableNotFoundException" +// A table with the name TableName does not currently exist within the subscriber's +// account. +// +// * ErrCodeInternalServerError "InternalServerError" +// An error occurred on the server side. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContinuousBackups +func (c *DynamoDB) DescribeContinuousBackups(input *DescribeContinuousBackupsInput) (*DescribeContinuousBackupsOutput, error) { + req, out := c.DescribeContinuousBackupsRequest(input) + return out, req.Send() +} + +// DescribeContinuousBackupsWithContext is the same as DescribeContinuousBackups with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeContinuousBackups for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DynamoDB) DescribeContinuousBackupsWithContext(ctx aws.Context, input *DescribeContinuousBackupsInput, opts ...request.Option) (*DescribeContinuousBackupsOutput, error) { + req, out := c.DescribeContinuousBackupsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeGlobalTable = "DescribeGlobalTable" + +// DescribeGlobalTableRequest generates a "aws/request.Request" representing the +// client's request for the DescribeGlobalTable operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeGlobalTable for more information on using the DescribeGlobalTable +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeGlobalTableRequest method. +// req, resp := client.DescribeGlobalTableRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeGlobalTable +func (c *DynamoDB) DescribeGlobalTableRequest(input *DescribeGlobalTableInput) (req *request.Request, output *DescribeGlobalTableOutput) { + op := &request.Operation{ + Name: opDescribeGlobalTable, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeGlobalTableInput{} + } + + output = &DescribeGlobalTableOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeGlobalTable API operation for Amazon DynamoDB. +// +// Returns information about the global table. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DynamoDB's +// API operation DescribeGlobalTable for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalServerError "InternalServerError" +// An error occurred on the server side. +// +// * ErrCodeGlobalTableNotFoundException "GlobalTableNotFoundException" +// The specified global table does not exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeGlobalTable +func (c *DynamoDB) DescribeGlobalTable(input *DescribeGlobalTableInput) (*DescribeGlobalTableOutput, error) { + req, out := c.DescribeGlobalTableRequest(input) + return out, req.Send() +} + +// DescribeGlobalTableWithContext is the same as DescribeGlobalTable with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeGlobalTable for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DynamoDB) DescribeGlobalTableWithContext(ctx aws.Context, input *DescribeGlobalTableInput, opts ...request.Option) (*DescribeGlobalTableOutput, error) { + req, out := c.DescribeGlobalTableRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeLimits = "DescribeLimits" + +// DescribeLimitsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeLimits operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeLimits for more information on using the DescribeLimits +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeLimitsRequest method. +// req, resp := client.DescribeLimitsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimits +func (c *DynamoDB) DescribeLimitsRequest(input *DescribeLimitsInput) (req *request.Request, output *DescribeLimitsOutput) { + op := &request.Operation{ + Name: opDescribeLimits, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeLimitsInput{} + } + + output = &DescribeLimitsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeLimits API operation for Amazon DynamoDB. +// +// Returns the current provisioned-capacity limits for your AWS account in a +// region, both for the region as a whole and for any one DynamoDB table that +// you create there. +// +// When you establish an AWS account, the account has initial limits on the +// maximum read capacity units and write capacity units that you can provision +// across all of your DynamoDB tables in a given region. Also, there are per-table +// limits that apply when you create a table there. For more information, see +// Limits (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) +// page in the Amazon DynamoDB Developer Guide. +// +// Although you can increase these limits by filing a case at AWS Support Center +// (https://console.aws.amazon.com/support/home#/), obtaining the increase is +// not instantaneous. The DescribeLimits action lets you write code to compare +// the capacity you are currently using to those limits imposed by your account +// so that you have enough time to apply for an increase before you hit a limit. // // For example, you could use one of the AWS SDKs to do the following: // @@ -818,7 +1412,7 @@ func (c *DynamoDB) DescribeLimitsRequest(input *DescribeLimitsInput) (req *reque // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimits func (c *DynamoDB) DescribeLimits(input *DescribeLimitsInput) (*DescribeLimitsOutput, error) { req, out := c.DescribeLimitsRequest(input) return out, req.Send() @@ -865,7 +1459,7 @@ const opDescribeTable = "DescribeTable" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTable func (c *DynamoDB) DescribeTableRequest(input *DescribeTableInput) (req *request.Request, output *DescribeTableOutput) { op := &request.Operation{ Name: opDescribeTable, @@ -888,20 +1482,201 @@ func (c *DynamoDB) DescribeTableRequest(input *DescribeTableInput) (req *request // table, when it was created, the primary key schema, and any indexes on the // table. // -// If you issue a DescribeTable request immediately after a CreateTable request, -// DynamoDB might return a ResourceNotFoundException. This is because DescribeTable -// uses an eventually consistent query, and the metadata for your table might -// not be available at that moment. Wait for a few seconds, and then try the -// DescribeTable request again. +// If you issue a DescribeTable request immediately after a CreateTable request, +// DynamoDB might return a ResourceNotFoundException. This is because DescribeTable +// uses an eventually consistent query, and the metadata for your table might +// not be available at that moment. Wait for a few seconds, and then try the +// DescribeTable request again. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DynamoDB's +// API operation DescribeTable for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// * ErrCodeInternalServerError "InternalServerError" +// An error occurred on the server side. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTable +func (c *DynamoDB) DescribeTable(input *DescribeTableInput) (*DescribeTableOutput, error) { + req, out := c.DescribeTableRequest(input) + return out, req.Send() +} + +// DescribeTableWithContext is the same as DescribeTable with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeTable for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DynamoDB) DescribeTableWithContext(ctx aws.Context, input *DescribeTableInput, opts ...request.Option) (*DescribeTableOutput, error) { + req, out := c.DescribeTableRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeTimeToLive = "DescribeTimeToLive" + +// DescribeTimeToLiveRequest generates a "aws/request.Request" representing the +// client's request for the DescribeTimeToLive operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeTimeToLive for more information on using the DescribeTimeToLive +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeTimeToLiveRequest method. +// req, resp := client.DescribeTimeToLiveRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLive +func (c *DynamoDB) DescribeTimeToLiveRequest(input *DescribeTimeToLiveInput) (req *request.Request, output *DescribeTimeToLiveOutput) { + op := &request.Operation{ + Name: opDescribeTimeToLive, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeTimeToLiveInput{} + } + + output = &DescribeTimeToLiveOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeTimeToLive API operation for Amazon DynamoDB. +// +// Gives a description of the Time to Live (TTL) status on the specified table. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DynamoDB's +// API operation DescribeTimeToLive for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// * ErrCodeInternalServerError "InternalServerError" +// An error occurred on the server side. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLive +func (c *DynamoDB) DescribeTimeToLive(input *DescribeTimeToLiveInput) (*DescribeTimeToLiveOutput, error) { + req, out := c.DescribeTimeToLiveRequest(input) + return out, req.Send() +} + +// DescribeTimeToLiveWithContext is the same as DescribeTimeToLive with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeTimeToLive for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DynamoDB) DescribeTimeToLiveWithContext(ctx aws.Context, input *DescribeTimeToLiveInput, opts ...request.Option) (*DescribeTimeToLiveOutput, error) { + req, out := c.DescribeTimeToLiveRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetItem = "GetItem" + +// GetItemRequest generates a "aws/request.Request" representing the +// client's request for the GetItem operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetItem for more information on using the GetItem +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetItemRequest method. +// req, resp := client.GetItemRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItem +func (c *DynamoDB) GetItemRequest(input *GetItemInput) (req *request.Request, output *GetItemOutput) { + op := &request.Operation{ + Name: opGetItem, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetItemInput{} + } + + output = &GetItemOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetItem API operation for Amazon DynamoDB. +// +// The GetItem operation returns a set of attributes for the item with the given +// primary key. If there is no matching item, GetItem does not return any data +// and there will be no Item element in the response. +// +// GetItem provides an eventually consistent read by default. If your application +// requires a strongly consistent read, set ConsistentRead to true. Although +// a strongly consistent read might take more time than an eventually consistent +// read, it always returns the last updated value. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon DynamoDB's -// API operation DescribeTable for usage and error information. +// API operation GetItem for usage and error information. // // Returned Error Codes: +// * ErrCodeProvisionedThroughputExceededException "ProvisionedThroughputExceededException" +// Your request rate is too high. The AWS SDKs for DynamoDB automatically retry +// requests that receive this exception. Your request is eventually successful, +// unless your retry queue is too large to finish. Reduce the frequency of requests +// and use exponential backoff. For more information, go to Error Retries and +// Exponential Backoff (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) +// in the Amazon DynamoDB Developer Guide. +// // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The operation tried to access a nonexistent table or index. The resource // might not be specified correctly, or its status might not be ACTIVE. @@ -909,204 +1684,190 @@ func (c *DynamoDB) DescribeTableRequest(input *DescribeTableInput) (req *request // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTable -func (c *DynamoDB) DescribeTable(input *DescribeTableInput) (*DescribeTableOutput, error) { - req, out := c.DescribeTableRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItem +func (c *DynamoDB) GetItem(input *GetItemInput) (*GetItemOutput, error) { + req, out := c.GetItemRequest(input) return out, req.Send() } -// DescribeTableWithContext is the same as DescribeTable with the addition of +// GetItemWithContext is the same as GetItem with the addition of // the ability to pass a context and additional request options. // -// See DescribeTable for details on how to use this API operation. +// See GetItem for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *DynamoDB) DescribeTableWithContext(ctx aws.Context, input *DescribeTableInput, opts ...request.Option) (*DescribeTableOutput, error) { - req, out := c.DescribeTableRequest(input) +func (c *DynamoDB) GetItemWithContext(ctx aws.Context, input *GetItemInput, opts ...request.Option) (*GetItemOutput, error) { + req, out := c.GetItemRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDescribeTimeToLive = "DescribeTimeToLive" +const opListBackups = "ListBackups" -// DescribeTimeToLiveRequest generates a "aws/request.Request" representing the -// client's request for the DescribeTimeToLive operation. The "output" return +// ListBackupsRequest generates a "aws/request.Request" representing the +// client's request for the ListBackups operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DescribeTimeToLive for more information on using the DescribeTimeToLive +// See ListBackups for more information on using the ListBackups // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DescribeTimeToLiveRequest method. -// req, resp := client.DescribeTimeToLiveRequest(params) +// // Example sending a request using the ListBackupsRequest method. +// req, resp := client.ListBackupsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLive -func (c *DynamoDB) DescribeTimeToLiveRequest(input *DescribeTimeToLiveInput) (req *request.Request, output *DescribeTimeToLiveOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListBackups +func (c *DynamoDB) ListBackupsRequest(input *ListBackupsInput) (req *request.Request, output *ListBackupsOutput) { op := &request.Operation{ - Name: opDescribeTimeToLive, + Name: opListBackups, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DescribeTimeToLiveInput{} + input = &ListBackupsInput{} } - output = &DescribeTimeToLiveOutput{} + output = &ListBackupsOutput{} req = c.newRequest(op, input, output) return } -// DescribeTimeToLive API operation for Amazon DynamoDB. +// ListBackups API operation for Amazon DynamoDB. // -// Gives a description of the Time to Live (TTL) status on the specified table. +// List backups associated with an AWS account. To list backups for a given +// table, specify TableName. ListBackups returns a paginated list of results +// with at most 1MB worth of items in a page. You can also specify a limit for +// the maximum number of entries to be returned in a page. +// +// In the request, start time is inclusive but end time is exclusive. Note that +// these limits are for the time at which the original backup was requested. +// +// You can call ListBackups a maximum of 5 times per second. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon DynamoDB's -// API operation DescribeTimeToLive for usage and error information. +// API operation ListBackups for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. -// // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLive -func (c *DynamoDB) DescribeTimeToLive(input *DescribeTimeToLiveInput) (*DescribeTimeToLiveOutput, error) { - req, out := c.DescribeTimeToLiveRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListBackups +func (c *DynamoDB) ListBackups(input *ListBackupsInput) (*ListBackupsOutput, error) { + req, out := c.ListBackupsRequest(input) return out, req.Send() } -// DescribeTimeToLiveWithContext is the same as DescribeTimeToLive with the addition of +// ListBackupsWithContext is the same as ListBackups with the addition of // the ability to pass a context and additional request options. // -// See DescribeTimeToLive for details on how to use this API operation. +// See ListBackups for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *DynamoDB) DescribeTimeToLiveWithContext(ctx aws.Context, input *DescribeTimeToLiveInput, opts ...request.Option) (*DescribeTimeToLiveOutput, error) { - req, out := c.DescribeTimeToLiveRequest(input) +func (c *DynamoDB) ListBackupsWithContext(ctx aws.Context, input *ListBackupsInput, opts ...request.Option) (*ListBackupsOutput, error) { + req, out := c.ListBackupsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetItem = "GetItem" +const opListGlobalTables = "ListGlobalTables" -// GetItemRequest generates a "aws/request.Request" representing the -// client's request for the GetItem operation. The "output" return +// ListGlobalTablesRequest generates a "aws/request.Request" representing the +// client's request for the ListGlobalTables operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetItem for more information on using the GetItem +// See ListGlobalTables for more information on using the ListGlobalTables // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetItemRequest method. -// req, resp := client.GetItemRequest(params) +// // Example sending a request using the ListGlobalTablesRequest method. +// req, resp := client.ListGlobalTablesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItem -func (c *DynamoDB) GetItemRequest(input *GetItemInput) (req *request.Request, output *GetItemOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListGlobalTables +func (c *DynamoDB) ListGlobalTablesRequest(input *ListGlobalTablesInput) (req *request.Request, output *ListGlobalTablesOutput) { op := &request.Operation{ - Name: opGetItem, + Name: opListGlobalTables, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetItemInput{} + input = &ListGlobalTablesInput{} } - output = &GetItemOutput{} + output = &ListGlobalTablesOutput{} req = c.newRequest(op, input, output) return } -// GetItem API operation for Amazon DynamoDB. -// -// The GetItem operation returns a set of attributes for the item with the given -// primary key. If there is no matching item, GetItem does not return any data -// and there will be no Item element in the response. +// ListGlobalTables API operation for Amazon DynamoDB. // -// GetItem provides an eventually consistent read by default. If your application -// requires a strongly consistent read, set ConsistentRead to true. Although -// a strongly consistent read might take more time than an eventually consistent -// read, it always returns the last updated value. +// Lists all the global tables. Only those global tables that have replicas +// in the region specified as input are returned. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon DynamoDB's -// API operation GetItem for usage and error information. +// API operation ListGlobalTables for usage and error information. // // Returned Error Codes: -// * ErrCodeProvisionedThroughputExceededException "ProvisionedThroughputExceededException" -// Your request rate is too high. The AWS SDKs for DynamoDB automatically retry -// requests that receive this exception. Your request is eventually successful, -// unless your retry queue is too large to finish. Reduce the frequency of requests -// and use exponential backoff. For more information, go to Error Retries and -// Exponential Backoff (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) -// in the Amazon DynamoDB Developer Guide. -// -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. -// // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItem -func (c *DynamoDB) GetItem(input *GetItemInput) (*GetItemOutput, error) { - req, out := c.GetItemRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListGlobalTables +func (c *DynamoDB) ListGlobalTables(input *ListGlobalTablesInput) (*ListGlobalTablesOutput, error) { + req, out := c.ListGlobalTablesRequest(input) return out, req.Send() } -// GetItemWithContext is the same as GetItem with the addition of +// ListGlobalTablesWithContext is the same as ListGlobalTables with the addition of // the ability to pass a context and additional request options. // -// See GetItem for details on how to use this API operation. +// See ListGlobalTables for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *DynamoDB) GetItemWithContext(ctx aws.Context, input *GetItemInput, opts ...request.Option) (*GetItemOutput, error) { - req, out := c.GetItemRequest(input) +func (c *DynamoDB) ListGlobalTablesWithContext(ctx aws.Context, input *ListGlobalTablesInput, opts ...request.Option) (*ListGlobalTablesOutput, error) { + req, out := c.ListGlobalTablesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() @@ -1137,7 +1898,7 @@ const opListTables = "ListTables" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTables +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTables func (c *DynamoDB) ListTablesRequest(input *ListTablesInput) (req *request.Request, output *ListTablesOutput) { op := &request.Operation{ Name: opListTables, @@ -1177,7 +1938,7 @@ func (c *DynamoDB) ListTablesRequest(input *ListTablesInput) (req *request.Reque // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTables +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTables func (c *DynamoDB) ListTables(input *ListTablesInput) (*ListTablesOutput, error) { req, out := c.ListTablesRequest(input) return out, req.Send() @@ -1274,7 +2035,7 @@ const opListTagsOfResource = "ListTagsOfResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResource func (c *DynamoDB) ListTagsOfResourceRequest(input *ListTagsOfResourceInput) (req *request.Request, output *ListTagsOfResourceOutput) { op := &request.Operation{ Name: opListTagsOfResource, @@ -1314,7 +2075,7 @@ func (c *DynamoDB) ListTagsOfResourceRequest(input *ListTagsOfResourceInput) (re // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResource func (c *DynamoDB) ListTagsOfResource(input *ListTagsOfResourceInput) (*ListTagsOfResourceOutput, error) { req, out := c.ListTagsOfResourceRequest(input) return out, req.Send() @@ -1361,7 +2122,7 @@ const opPutItem = "PutItem" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItem func (c *DynamoDB) PutItemRequest(input *PutItemInput) (req *request.Request, output *PutItemOutput) { op := &request.Operation{ Name: opPutItem, @@ -1455,7 +2216,7 @@ func (c *DynamoDB) PutItemRequest(input *PutItemInput) (req *request.Request, ou // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItem func (c *DynamoDB) PutItem(input *PutItemInput) (*PutItemOutput, error) { req, out := c.PutItemRequest(input) return out, req.Send() @@ -1502,7 +2263,7 @@ const opQuery = "Query" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Query +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Query func (c *DynamoDB) QueryRequest(input *QueryInput) (req *request.Request, output *QueryOutput) { op := &request.Operation{ Name: opQuery, @@ -1599,7 +2360,7 @@ func (c *DynamoDB) QueryRequest(input *QueryInput) (req *request.Request, output // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Query +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Query func (c *DynamoDB) Query(input *QueryInput) (*QueryOutput, error) { req, out := c.QueryRequest(input) return out, req.Send() @@ -1671,6 +2432,123 @@ func (c *DynamoDB) QueryPagesWithContext(ctx aws.Context, input *QueryInput, fn return p.Err() } +const opRestoreTableFromBackup = "RestoreTableFromBackup" + +// RestoreTableFromBackupRequest generates a "aws/request.Request" representing the +// client's request for the RestoreTableFromBackup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RestoreTableFromBackup for more information on using the RestoreTableFromBackup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RestoreTableFromBackupRequest method. +// req, resp := client.RestoreTableFromBackupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackup +func (c *DynamoDB) RestoreTableFromBackupRequest(input *RestoreTableFromBackupInput) (req *request.Request, output *RestoreTableFromBackupOutput) { + op := &request.Operation{ + Name: opRestoreTableFromBackup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RestoreTableFromBackupInput{} + } + + output = &RestoreTableFromBackupOutput{} + req = c.newRequest(op, input, output) + return +} + +// RestoreTableFromBackup API operation for Amazon DynamoDB. +// +// Creates a new table from an existing backup. Any number of users can execute +// up to 10 concurrent restores in a given account. +// +// You can call RestoreTableFromBackup at a maximum rate of 10 times per second. +// +// You must manually set up the following on the restored table: +// +// * Auto scaling policies +// +// * IAM policies +// +// * Cloudwatch metrics and alarms +// +// * Tags +// +// * Time to Live (TTL) settings +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DynamoDB's +// API operation RestoreTableFromBackup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeTableAlreadyExistsException "TableAlreadyExistsException" +// A table with the name already exists. +// +// * ErrCodeTableInUseException "TableInUseException" +// A table by that name is either being created or deleted. +// +// * ErrCodeBackupNotFoundException "BackupNotFoundException" +// Backup not found for the given BackupARN. +// +// * ErrCodeBackupInUseException "BackupInUseException" +// There is another ongoing conflicting backup control plane operation on the +// table. The backups is either being created, deleted or restored to a table. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of concurrent table requests (cumulative number of tables in the +// CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10. +// +// Also, for tables with secondary indexes, only one of those tables can be +// in the CREATING state at any point in time. Do not attempt to create more +// than one such table simultaneously. +// +// The total limit of tables in the ACTIVE state is 250. +// +// * ErrCodeInternalServerError "InternalServerError" +// An error occurred on the server side. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackup +func (c *DynamoDB) RestoreTableFromBackup(input *RestoreTableFromBackupInput) (*RestoreTableFromBackupOutput, error) { + req, out := c.RestoreTableFromBackupRequest(input) + return out, req.Send() +} + +// RestoreTableFromBackupWithContext is the same as RestoreTableFromBackup with the addition of +// the ability to pass a context and additional request options. +// +// See RestoreTableFromBackup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DynamoDB) RestoreTableFromBackupWithContext(ctx aws.Context, input *RestoreTableFromBackupInput, opts ...request.Option) (*RestoreTableFromBackupOutput, error) { + req, out := c.RestoreTableFromBackupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opScan = "Scan" // ScanRequest generates a "aws/request.Request" representing the @@ -1696,7 +2574,7 @@ const opScan = "Scan" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Scan +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Scan func (c *DynamoDB) ScanRequest(input *ScanInput) (req *request.Request, output *ScanOutput) { op := &request.Operation{ Name: opScan, @@ -1773,7 +2651,7 @@ func (c *DynamoDB) ScanRequest(input *ScanInput) (req *request.Request, output * // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Scan +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Scan func (c *DynamoDB) Scan(input *ScanInput) (*ScanOutput, error) { req, out := c.ScanRequest(input) return out, req.Send() @@ -1870,7 +2748,7 @@ const opTagResource = "TagResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TagResource func (c *DynamoDB) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ Name: opTagResource, @@ -1929,7 +2807,7 @@ func (c *DynamoDB) TagResourceRequest(input *TagResourceInput) (req *request.Req // attempted to recreate an existing table, or tried to delete a table currently // in the CREATING state. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TagResource func (c *DynamoDB) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) return out, req.Send() @@ -1976,7 +2854,7 @@ const opUntagResource = "UntagResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UntagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UntagResource func (c *DynamoDB) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { op := &request.Operation{ Name: opUntagResource, @@ -2008,48 +2886,142 @@ func (c *DynamoDB) UntagResourceRequest(input *UntagResourceInput) (req *request // the error. // // See the AWS API reference guide for Amazon DynamoDB's -// API operation UntagResource for usage and error information. +// API operation UntagResource for usage and error information. +// +// Returned Error Codes: +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of concurrent table requests (cumulative number of tables in the +// CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10. +// +// Also, for tables with secondary indexes, only one of those tables can be +// in the CREATING state at any point in time. Do not attempt to create more +// than one such table simultaneously. +// +// The total limit of tables in the ACTIVE state is 250. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// * ErrCodeInternalServerError "InternalServerError" +// An error occurred on the server side. +// +// * ErrCodeResourceInUseException "ResourceInUseException" +// The operation conflicts with the resource's availability. For example, you +// attempted to recreate an existing table, or tried to delete a table currently +// in the CREATING state. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UntagResource +func (c *DynamoDB) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + return out, req.Send() +} + +// UntagResourceWithContext is the same as UntagResource with the addition of +// the ability to pass a context and additional request options. +// +// See UntagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DynamoDB) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateGlobalTable = "UpdateGlobalTable" + +// UpdateGlobalTableRequest generates a "aws/request.Request" representing the +// client's request for the UpdateGlobalTable operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateGlobalTable for more information on using the UpdateGlobalTable +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateGlobalTableRequest method. +// req, resp := client.UpdateGlobalTableRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalTable +func (c *DynamoDB) UpdateGlobalTableRequest(input *UpdateGlobalTableInput) (req *request.Request, output *UpdateGlobalTableOutput) { + op := &request.Operation{ + Name: opUpdateGlobalTable, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateGlobalTableInput{} + } + + output = &UpdateGlobalTableOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateGlobalTable API operation for Amazon DynamoDB. +// +// Adds or removes replicas to the specified global table. The global table +// should already exist to be able to use this operation. Currently, the replica +// to be added should be empty. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DynamoDB's +// API operation UpdateGlobalTable for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceededException" -// The number of concurrent table requests (cumulative number of tables in the -// CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10. -// -// Also, for tables with secondary indexes, only one of those tables can be -// in the CREATING state at any point in time. Do not attempt to create more -// than one such table simultaneously. +// * ErrCodeInternalServerError "InternalServerError" +// An error occurred on the server side. // -// The total limit of tables in the ACTIVE state is 250. +// * ErrCodeGlobalTableNotFoundException "GlobalTableNotFoundException" +// The specified global table does not exist. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. +// * ErrCodeReplicaAlreadyExistsException "ReplicaAlreadyExistsException" +// The specified replica is already part of the global table. // -// * ErrCodeInternalServerError "InternalServerError" -// An error occurred on the server side. +// * ErrCodeReplicaNotFoundException "ReplicaNotFoundException" +// The specified replica is no longer part of the global table. // -// * ErrCodeResourceInUseException "ResourceInUseException" -// The operation conflicts with the resource's availability. For example, you -// attempted to recreate an existing table, or tried to delete a table currently -// in the CREATING state. +// * ErrCodeTableNotFoundException "TableNotFoundException" +// A table with the name TableName does not currently exist within the subscriber's +// account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UntagResource -func (c *DynamoDB) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalTable +func (c *DynamoDB) UpdateGlobalTable(input *UpdateGlobalTableInput) (*UpdateGlobalTableOutput, error) { + req, out := c.UpdateGlobalTableRequest(input) return out, req.Send() } -// UntagResourceWithContext is the same as UntagResource with the addition of +// UpdateGlobalTableWithContext is the same as UpdateGlobalTable with the addition of // the ability to pass a context and additional request options. // -// See UntagResource for details on how to use this API operation. +// See UpdateGlobalTable for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *DynamoDB) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) +func (c *DynamoDB) UpdateGlobalTableWithContext(ctx aws.Context, input *UpdateGlobalTableInput, opts ...request.Option) (*UpdateGlobalTableOutput, error) { + req, out := c.UpdateGlobalTableRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() @@ -2080,7 +3052,7 @@ const opUpdateItem = "UpdateItem" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItem func (c *DynamoDB) UpdateItemRequest(input *UpdateItemInput) (req *request.Request, output *UpdateItemOutput) { op := &request.Operation{ Name: opUpdateItem, @@ -2138,7 +3110,7 @@ func (c *DynamoDB) UpdateItemRequest(input *UpdateItemInput) (req *request.Reque // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItem func (c *DynamoDB) UpdateItem(input *UpdateItemInput) (*UpdateItemOutput, error) { req, out := c.UpdateItemRequest(input) return out, req.Send() @@ -2185,7 +3157,7 @@ const opUpdateTable = "UpdateTable" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable func (c *DynamoDB) UpdateTableRequest(input *UpdateTableInput) (req *request.Request, output *UpdateTableOutput) { op := &request.Operation{ Name: opUpdateTable, @@ -2253,7 +3225,7 @@ func (c *DynamoDB) UpdateTableRequest(input *UpdateTableInput) (req *request.Req // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable func (c *DynamoDB) UpdateTable(input *UpdateTableInput) (*UpdateTableOutput, error) { req, out := c.UpdateTableRequest(input) return out, req.Send() @@ -2300,7 +3272,7 @@ const opUpdateTimeToLive = "UpdateTimeToLive" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLive +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLive func (c *DynamoDB) UpdateTimeToLiveRequest(input *UpdateTimeToLiveInput) (req *request.Request, output *UpdateTimeToLiveOutput) { op := &request.Operation{ Name: opUpdateTimeToLive, @@ -2378,7 +3350,7 @@ func (c *DynamoDB) UpdateTimeToLiveRequest(input *UpdateTimeToLiveInput) (req *r // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLive +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLive func (c *DynamoDB) UpdateTimeToLive(input *UpdateTimeToLiveInput) (*UpdateTimeToLiveOutput, error) { req, out := c.UpdateTimeToLiveRequest(input) return out, req.Send() @@ -2401,7 +3373,7 @@ func (c *DynamoDB) UpdateTimeToLiveWithContext(ctx aws.Context, input *UpdateTim } // Represents an attribute for describing the key schema for the table and indexes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeDefinition type AttributeDefinition struct { _ struct{} `type:"structure"` @@ -2470,7 +3442,7 @@ func (s *AttributeDefinition) SetAttributeType(v string) *AttributeDefinition { // // For more information, see Data Types (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes) // in the Amazon DynamoDB Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeValue type AttributeValue struct { _ struct{} `type:"structure"` @@ -2615,7 +3587,7 @@ func (s *AttributeValue) SetSS(v []*string) *AttributeValue { // Attribute values cannot be null; string and binary type attributes must have // lengths greater than zero; and set type attributes must not be empty. Requests // with empty values will be rejected with a ValidationException exception. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeValueUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeValueUpdate type AttributeValueUpdate struct { _ struct{} `type:"structure"` @@ -2716,8 +3688,209 @@ func (s *AttributeValueUpdate) SetValue(v *AttributeValue) *AttributeValueUpdate return s } +// Contains the description of the backup created for the table. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BackupDescription +type BackupDescription struct { + _ struct{} `type:"structure"` + + // Contains the details of the backup created for the table. + BackupDetails *BackupDetails `type:"structure"` + + // Contains the details of the table when the backup was created. + SourceTableDetails *SourceTableDetails `type:"structure"` + + // Contains the details of the features enabled on the table when the backup + // was created. For example, LSIs, GSIs, streams, TTL. + SourceTableFeatureDetails *SourceTableFeatureDetails `type:"structure"` +} + +// String returns the string representation +func (s BackupDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BackupDescription) GoString() string { + return s.String() +} + +// SetBackupDetails sets the BackupDetails field's value. +func (s *BackupDescription) SetBackupDetails(v *BackupDetails) *BackupDescription { + s.BackupDetails = v + return s +} + +// SetSourceTableDetails sets the SourceTableDetails field's value. +func (s *BackupDescription) SetSourceTableDetails(v *SourceTableDetails) *BackupDescription { + s.SourceTableDetails = v + return s +} + +// SetSourceTableFeatureDetails sets the SourceTableFeatureDetails field's value. +func (s *BackupDescription) SetSourceTableFeatureDetails(v *SourceTableFeatureDetails) *BackupDescription { + s.SourceTableFeatureDetails = v + return s +} + +// Contains the details of the backup created for the table. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BackupDetails +type BackupDetails struct { + _ struct{} `type:"structure"` + + // ARN associated with the backup. + // + // BackupArn is a required field + BackupArn *string `min:"37" type:"string" required:"true"` + + // Time at which the backup was created. This is the request time of the backup. + // + // BackupCreationDateTime is a required field + BackupCreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` + + // Name of the requested backup. + // + // BackupName is a required field + BackupName *string `min:"3" type:"string" required:"true"` + + // Size of the backup in bytes. + BackupSizeBytes *int64 `type:"long"` + + // Backup can be in one of the following states: CREATING, ACTIVE, DELETED. + // + // BackupStatus is a required field + BackupStatus *string `type:"string" required:"true" enum:"BackupStatus"` +} + +// String returns the string representation +func (s BackupDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BackupDetails) GoString() string { + return s.String() +} + +// SetBackupArn sets the BackupArn field's value. +func (s *BackupDetails) SetBackupArn(v string) *BackupDetails { + s.BackupArn = &v + return s +} + +// SetBackupCreationDateTime sets the BackupCreationDateTime field's value. +func (s *BackupDetails) SetBackupCreationDateTime(v time.Time) *BackupDetails { + s.BackupCreationDateTime = &v + return s +} + +// SetBackupName sets the BackupName field's value. +func (s *BackupDetails) SetBackupName(v string) *BackupDetails { + s.BackupName = &v + return s +} + +// SetBackupSizeBytes sets the BackupSizeBytes field's value. +func (s *BackupDetails) SetBackupSizeBytes(v int64) *BackupDetails { + s.BackupSizeBytes = &v + return s +} + +// SetBackupStatus sets the BackupStatus field's value. +func (s *BackupDetails) SetBackupStatus(v string) *BackupDetails { + s.BackupStatus = &v + return s +} + +// Contains details for the backup. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BackupSummary +type BackupSummary struct { + _ struct{} `type:"structure"` + + // ARN associated with the backup. + BackupArn *string `min:"37" type:"string"` + + // Time at which the backup was created. + BackupCreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` + + // Name of the specified backup. + BackupName *string `min:"3" type:"string"` + + // Size of the backup in bytes. + BackupSizeBytes *int64 `type:"long"` + + // Backup can be in one of the following states: CREATING, ACTIVE, DELETED. + BackupStatus *string `type:"string" enum:"BackupStatus"` + + // ARN associated with the table. + TableArn *string `type:"string"` + + // Unique identifier for the table. + TableId *string `type:"string"` + + // Name of the table. + TableName *string `min:"3" type:"string"` +} + +// String returns the string representation +func (s BackupSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BackupSummary) GoString() string { + return s.String() +} + +// SetBackupArn sets the BackupArn field's value. +func (s *BackupSummary) SetBackupArn(v string) *BackupSummary { + s.BackupArn = &v + return s +} + +// SetBackupCreationDateTime sets the BackupCreationDateTime field's value. +func (s *BackupSummary) SetBackupCreationDateTime(v time.Time) *BackupSummary { + s.BackupCreationDateTime = &v + return s +} + +// SetBackupName sets the BackupName field's value. +func (s *BackupSummary) SetBackupName(v string) *BackupSummary { + s.BackupName = &v + return s +} + +// SetBackupSizeBytes sets the BackupSizeBytes field's value. +func (s *BackupSummary) SetBackupSizeBytes(v int64) *BackupSummary { + s.BackupSizeBytes = &v + return s +} + +// SetBackupStatus sets the BackupStatus field's value. +func (s *BackupSummary) SetBackupStatus(v string) *BackupSummary { + s.BackupStatus = &v + return s +} + +// SetTableArn sets the TableArn field's value. +func (s *BackupSummary) SetTableArn(v string) *BackupSummary { + s.TableArn = &v + return s +} + +// SetTableId sets the TableId field's value. +func (s *BackupSummary) SetTableId(v string) *BackupSummary { + s.TableId = &v + return s +} + +// SetTableName sets the TableName field's value. +func (s *BackupSummary) SetTableName(v string) *BackupSummary { + s.TableName = &v + return s +} + // Represents the input of a BatchGetItem operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItemInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItemInput type BatchGetItemInput struct { _ struct{} `type:"structure"` @@ -2858,7 +4031,7 @@ func (s *BatchGetItemInput) SetReturnConsumedCapacity(v string) *BatchGetItemInp } // Represents the output of a BatchGetItem operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItemOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItemOutput type BatchGetItemOutput struct { _ struct{} `type:"structure"` @@ -2928,7 +4101,7 @@ func (s *BatchGetItemOutput) SetUnprocessedKeys(v map[string]*KeysAndAttributes) } // Represents the input of a BatchWriteItem operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItemInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItemInput type BatchWriteItemInput struct { _ struct{} `type:"structure"` @@ -3031,7 +4204,7 @@ func (s *BatchWriteItemInput) SetReturnItemCollectionMetrics(v string) *BatchWri } // Represents the output of a BatchWriteItem operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItemOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItemOutput type BatchWriteItemOutput struct { _ struct{} `type:"structure"` @@ -3053,8 +4226,8 @@ type BatchWriteItemOutput struct { // * ItemCollectionKey - The partition key value of the item collection. // This is the same as the partition key value of the item. // - // * SizeEstimateRange - An estimate of item collection size, expressed in - // GB. This is a two-element array containing a lower bound and an upper + // * SizeEstimateRangeGB - An estimate of item collection size, expressed + // in GB. This is a two-element array containing a lower bound and an upper // bound for the estimate. The estimate includes the size of all the items // in the table, plus the size of all attributes projected into all of the // local secondary indexes on the table. Use this estimate to measure whether @@ -3127,7 +4300,7 @@ func (s *BatchWriteItemOutput) SetUnprocessedItems(v map[string][]*WriteRequest) // Represents the amount of provisioned throughput capacity consumed on a table // or an index. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Capacity +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Capacity type Capacity struct { _ struct{} `type:"structure"` @@ -3164,7 +4337,7 @@ func (s *Capacity) SetCapacityUnits(v float64) *Capacity { // // * For a Scan operation, Condition is used in a ScanFilter, which evaluates // the scan results and returns only the desired values. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Condition +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Condition type Condition struct { _ struct{} `type:"structure"` @@ -3269,7 +4442,7 @@ func (s *Condition) SetComparisonOperator(v string) *Condition { // if the request asked for it. For more information, see Provisioned Throughput // (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html) // in the Amazon DynamoDB Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ConsumedCapacity +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ConsumedCapacity type ConsumedCapacity struct { _ struct{} `type:"structure"` @@ -3329,8 +4502,119 @@ func (s *ConsumedCapacity) SetTableName(v string) *ConsumedCapacity { return s } +// Represents the backup and restore settings on the table when the backup was +// created. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ContinuousBackupsDescription +type ContinuousBackupsDescription struct { + _ struct{} `type:"structure"` + + // ContinuousBackupsStatus can be one of the following states : ENABLED, DISABLED + // + // ContinuousBackupsStatus is a required field + ContinuousBackupsStatus *string `type:"string" required:"true" enum:"ContinuousBackupsStatus"` +} + +// String returns the string representation +func (s ContinuousBackupsDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ContinuousBackupsDescription) GoString() string { + return s.String() +} + +// SetContinuousBackupsStatus sets the ContinuousBackupsStatus field's value. +func (s *ContinuousBackupsDescription) SetContinuousBackupsStatus(v string) *ContinuousBackupsDescription { + s.ContinuousBackupsStatus = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateBackupInput +type CreateBackupInput struct { + _ struct{} `type:"structure"` + + // Specified name for the backup. + // + // BackupName is a required field + BackupName *string `min:"3" type:"string" required:"true"` + + // The name of the table. + // + // TableName is a required field + TableName *string `min:"3" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateBackupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateBackupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateBackupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateBackupInput"} + if s.BackupName == nil { + invalidParams.Add(request.NewErrParamRequired("BackupName")) + } + if s.BackupName != nil && len(*s.BackupName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("BackupName", 3)) + } + if s.TableName == nil { + invalidParams.Add(request.NewErrParamRequired("TableName")) + } + if s.TableName != nil && len(*s.TableName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("TableName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBackupName sets the BackupName field's value. +func (s *CreateBackupInput) SetBackupName(v string) *CreateBackupInput { + s.BackupName = &v + return s +} + +// SetTableName sets the TableName field's value. +func (s *CreateBackupInput) SetTableName(v string) *CreateBackupInput { + s.TableName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateBackupOutput +type CreateBackupOutput struct { + _ struct{} `type:"structure"` + + // Contains the details of the backup created for the table. + BackupDetails *BackupDetails `type:"structure"` +} + +// String returns the string representation +func (s CreateBackupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateBackupOutput) GoString() string { + return s.String() +} + +// SetBackupDetails sets the BackupDetails field's value. +func (s *CreateBackupOutput) SetBackupDetails(v *BackupDetails) *CreateBackupOutput { + s.BackupDetails = v + return s +} + // Represents a new global secondary index to be added to an existing table. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalSecondaryIndexAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalSecondaryIndexAction type CreateGlobalSecondaryIndexAction struct { _ struct{} `type:"structure"` @@ -3420,32 +4704,152 @@ func (s *CreateGlobalSecondaryIndexAction) Validate() error { return nil } -// SetIndexName sets the IndexName field's value. -func (s *CreateGlobalSecondaryIndexAction) SetIndexName(v string) *CreateGlobalSecondaryIndexAction { - s.IndexName = &v +// SetIndexName sets the IndexName field's value. +func (s *CreateGlobalSecondaryIndexAction) SetIndexName(v string) *CreateGlobalSecondaryIndexAction { + s.IndexName = &v + return s +} + +// SetKeySchema sets the KeySchema field's value. +func (s *CreateGlobalSecondaryIndexAction) SetKeySchema(v []*KeySchemaElement) *CreateGlobalSecondaryIndexAction { + s.KeySchema = v + return s +} + +// SetProjection sets the Projection field's value. +func (s *CreateGlobalSecondaryIndexAction) SetProjection(v *Projection) *CreateGlobalSecondaryIndexAction { + s.Projection = v + return s +} + +// SetProvisionedThroughput sets the ProvisionedThroughput field's value. +func (s *CreateGlobalSecondaryIndexAction) SetProvisionedThroughput(v *ProvisionedThroughput) *CreateGlobalSecondaryIndexAction { + s.ProvisionedThroughput = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalTableInput +type CreateGlobalTableInput struct { + _ struct{} `type:"structure"` + + // The global table name. + // + // GlobalTableName is a required field + GlobalTableName *string `min:"3" type:"string" required:"true"` + + // The regions where the global table needs to be created. + // + // ReplicationGroup is a required field + ReplicationGroup []*Replica `type:"list" required:"true"` +} + +// String returns the string representation +func (s CreateGlobalTableInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateGlobalTableInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateGlobalTableInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateGlobalTableInput"} + if s.GlobalTableName == nil { + invalidParams.Add(request.NewErrParamRequired("GlobalTableName")) + } + if s.GlobalTableName != nil && len(*s.GlobalTableName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("GlobalTableName", 3)) + } + if s.ReplicationGroup == nil { + invalidParams.Add(request.NewErrParamRequired("ReplicationGroup")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetGlobalTableName sets the GlobalTableName field's value. +func (s *CreateGlobalTableInput) SetGlobalTableName(v string) *CreateGlobalTableInput { + s.GlobalTableName = &v return s } -// SetKeySchema sets the KeySchema field's value. -func (s *CreateGlobalSecondaryIndexAction) SetKeySchema(v []*KeySchemaElement) *CreateGlobalSecondaryIndexAction { - s.KeySchema = v +// SetReplicationGroup sets the ReplicationGroup field's value. +func (s *CreateGlobalTableInput) SetReplicationGroup(v []*Replica) *CreateGlobalTableInput { + s.ReplicationGroup = v return s } -// SetProjection sets the Projection field's value. -func (s *CreateGlobalSecondaryIndexAction) SetProjection(v *Projection) *CreateGlobalSecondaryIndexAction { - s.Projection = v +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalTableOutput +type CreateGlobalTableOutput struct { + _ struct{} `type:"structure"` + + // Contains the details of the global table. + GlobalTableDescription *GlobalTableDescription `type:"structure"` +} + +// String returns the string representation +func (s CreateGlobalTableOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateGlobalTableOutput) GoString() string { + return s.String() +} + +// SetGlobalTableDescription sets the GlobalTableDescription field's value. +func (s *CreateGlobalTableOutput) SetGlobalTableDescription(v *GlobalTableDescription) *CreateGlobalTableOutput { + s.GlobalTableDescription = v return s } -// SetProvisionedThroughput sets the ProvisionedThroughput field's value. -func (s *CreateGlobalSecondaryIndexAction) SetProvisionedThroughput(v *ProvisionedThroughput) *CreateGlobalSecondaryIndexAction { - s.ProvisionedThroughput = v +// Represents a replica to be added. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateReplicaAction +type CreateReplicaAction struct { + _ struct{} `type:"structure"` + + // The region of the replica to be added. + // + // RegionName is a required field + RegionName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateReplicaAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateReplicaAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateReplicaAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateReplicaAction"} + if s.RegionName == nil { + invalidParams.Add(request.NewErrParamRequired("RegionName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRegionName sets the RegionName field's value. +func (s *CreateReplicaAction) SetRegionName(v string) *CreateReplicaAction { + s.RegionName = &v return s } // Represents the input of a CreateTable operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableInput type CreateTableInput struct { _ struct{} `type:"structure"` @@ -3721,7 +5125,7 @@ func (s *CreateTableInput) SetTableName(v string) *CreateTableInput { } // Represents the output of a CreateTable operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableOutput type CreateTableOutput struct { _ struct{} `type:"structure"` @@ -3745,8 +5149,74 @@ func (s *CreateTableOutput) SetTableDescription(v *TableDescription) *CreateTabl return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteBackupInput +type DeleteBackupInput struct { + _ struct{} `type:"structure"` + + // The ARN associated with the backup. + // + // BackupArn is a required field + BackupArn *string `min:"37" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteBackupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteBackupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteBackupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteBackupInput"} + if s.BackupArn == nil { + invalidParams.Add(request.NewErrParamRequired("BackupArn")) + } + if s.BackupArn != nil && len(*s.BackupArn) < 37 { + invalidParams.Add(request.NewErrParamMinLen("BackupArn", 37)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBackupArn sets the BackupArn field's value. +func (s *DeleteBackupInput) SetBackupArn(v string) *DeleteBackupInput { + s.BackupArn = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteBackupOutput +type DeleteBackupOutput struct { + _ struct{} `type:"structure"` + + // Contains the description of the backup created for the table. + BackupDescription *BackupDescription `type:"structure"` +} + +// String returns the string representation +func (s DeleteBackupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteBackupOutput) GoString() string { + return s.String() +} + +// SetBackupDescription sets the BackupDescription field's value. +func (s *DeleteBackupOutput) SetBackupDescription(v *BackupDescription) *DeleteBackupOutput { + s.BackupDescription = v + return s +} + // Represents a global secondary index to be deleted from an existing table. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteGlobalSecondaryIndexAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteGlobalSecondaryIndexAction type DeleteGlobalSecondaryIndexAction struct { _ struct{} `type:"structure"` @@ -3789,7 +5259,7 @@ func (s *DeleteGlobalSecondaryIndexAction) SetIndexName(v string) *DeleteGlobalS } // Represents the input of a DeleteItem operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItemInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItemInput type DeleteItemInput struct { _ struct{} `type:"structure"` @@ -4023,7 +5493,7 @@ func (s *DeleteItemInput) SetTableName(v string) *DeleteItemInput { } // Represents the output of a DeleteItem operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItemOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItemOutput type DeleteItemOutput struct { _ struct{} `type:"structure"` @@ -4050,7 +5520,7 @@ type DeleteItemOutput struct { // * ItemCollectionKey - The partition key value of the item collection. // This is the same as the partition key value of the item itself. // - // * SizeEstimateRange - An estimate of item collection size, in gigabytes. + // * SizeEstimateRangeGB - An estimate of item collection size, in gigabytes. // This value is a two-element array containing a lower bound and an upper // bound for the estimate. The estimate includes the size of all the items // in the table, plus the size of all attributes projected into all of the @@ -4090,8 +5560,48 @@ func (s *DeleteItemOutput) SetItemCollectionMetrics(v *ItemCollectionMetrics) *D return s } +// Represents a replica to be removed. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteReplicaAction +type DeleteReplicaAction struct { + _ struct{} `type:"structure"` + + // The region of the replica to be removed. + // + // RegionName is a required field + RegionName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteReplicaAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteReplicaAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteReplicaAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteReplicaAction"} + if s.RegionName == nil { + invalidParams.Add(request.NewErrParamRequired("RegionName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRegionName sets the RegionName field's value. +func (s *DeleteReplicaAction) SetRegionName(v string) *DeleteReplicaAction { + s.RegionName = &v + return s +} + // Represents a request to perform a DeleteItem operation on an item. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteRequest type DeleteRequest struct { _ struct{} `type:"structure"` @@ -4120,7 +5630,7 @@ func (s *DeleteRequest) SetKey(v map[string]*AttributeValue) *DeleteRequest { } // Represents the input of a DeleteTable operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTableInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTableInput type DeleteTableInput struct { _ struct{} `type:"structure"` @@ -4156,39 +5666,238 @@ func (s *DeleteTableInput) Validate() error { return nil } -// SetTableName sets the TableName field's value. -func (s *DeleteTableInput) SetTableName(v string) *DeleteTableInput { - s.TableName = &v +// SetTableName sets the TableName field's value. +func (s *DeleteTableInput) SetTableName(v string) *DeleteTableInput { + s.TableName = &v + return s +} + +// Represents the output of a DeleteTable operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTableOutput +type DeleteTableOutput struct { + _ struct{} `type:"structure"` + + // Represents the properties of a table. + TableDescription *TableDescription `type:"structure"` +} + +// String returns the string representation +func (s DeleteTableOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteTableOutput) GoString() string { + return s.String() +} + +// SetTableDescription sets the TableDescription field's value. +func (s *DeleteTableOutput) SetTableDescription(v *TableDescription) *DeleteTableOutput { + s.TableDescription = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeBackupInput +type DescribeBackupInput struct { + _ struct{} `type:"structure"` + + // The ARN associated with the backup. + // + // BackupArn is a required field + BackupArn *string `min:"37" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeBackupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeBackupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeBackupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeBackupInput"} + if s.BackupArn == nil { + invalidParams.Add(request.NewErrParamRequired("BackupArn")) + } + if s.BackupArn != nil && len(*s.BackupArn) < 37 { + invalidParams.Add(request.NewErrParamMinLen("BackupArn", 37)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBackupArn sets the BackupArn field's value. +func (s *DescribeBackupInput) SetBackupArn(v string) *DescribeBackupInput { + s.BackupArn = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeBackupOutput +type DescribeBackupOutput struct { + _ struct{} `type:"structure"` + + // Contains the description of the backup created for the table. + BackupDescription *BackupDescription `type:"structure"` +} + +// String returns the string representation +func (s DescribeBackupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeBackupOutput) GoString() string { + return s.String() +} + +// SetBackupDescription sets the BackupDescription field's value. +func (s *DescribeBackupOutput) SetBackupDescription(v *BackupDescription) *DescribeBackupOutput { + s.BackupDescription = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContinuousBackupsInput +type DescribeContinuousBackupsInput struct { + _ struct{} `type:"structure"` + + // Name of the table for which the customer wants to check the backup and restore + // settings. + // + // TableName is a required field + TableName *string `min:"3" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeContinuousBackupsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeContinuousBackupsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeContinuousBackupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeContinuousBackupsInput"} + if s.TableName == nil { + invalidParams.Add(request.NewErrParamRequired("TableName")) + } + if s.TableName != nil && len(*s.TableName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("TableName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTableName sets the TableName field's value. +func (s *DescribeContinuousBackupsInput) SetTableName(v string) *DescribeContinuousBackupsInput { + s.TableName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContinuousBackupsOutput +type DescribeContinuousBackupsOutput struct { + _ struct{} `type:"structure"` + + // ContinuousBackupsDescription can be one of the following : ENABLED, DISABLED. + ContinuousBackupsDescription *ContinuousBackupsDescription `type:"structure"` +} + +// String returns the string representation +func (s DescribeContinuousBackupsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeContinuousBackupsOutput) GoString() string { + return s.String() +} + +// SetContinuousBackupsDescription sets the ContinuousBackupsDescription field's value. +func (s *DescribeContinuousBackupsOutput) SetContinuousBackupsDescription(v *ContinuousBackupsDescription) *DescribeContinuousBackupsOutput { + s.ContinuousBackupsDescription = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeGlobalTableInput +type DescribeGlobalTableInput struct { + _ struct{} `type:"structure"` + + // The name of the global table. + // + // GlobalTableName is a required field + GlobalTableName *string `min:"3" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeGlobalTableInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeGlobalTableInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeGlobalTableInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeGlobalTableInput"} + if s.GlobalTableName == nil { + invalidParams.Add(request.NewErrParamRequired("GlobalTableName")) + } + if s.GlobalTableName != nil && len(*s.GlobalTableName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("GlobalTableName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetGlobalTableName sets the GlobalTableName field's value. +func (s *DescribeGlobalTableInput) SetGlobalTableName(v string) *DescribeGlobalTableInput { + s.GlobalTableName = &v return s } -// Represents the output of a DeleteTable operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTableOutput -type DeleteTableOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeGlobalTableOutput +type DescribeGlobalTableOutput struct { _ struct{} `type:"structure"` - // Represents the properties of a table. - TableDescription *TableDescription `type:"structure"` + // Contains the details of the global table. + GlobalTableDescription *GlobalTableDescription `type:"structure"` } // String returns the string representation -func (s DeleteTableOutput) String() string { +func (s DescribeGlobalTableOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteTableOutput) GoString() string { +func (s DescribeGlobalTableOutput) GoString() string { return s.String() } -// SetTableDescription sets the TableDescription field's value. -func (s *DeleteTableOutput) SetTableDescription(v *TableDescription) *DeleteTableOutput { - s.TableDescription = v +// SetGlobalTableDescription sets the GlobalTableDescription field's value. +func (s *DescribeGlobalTableOutput) SetGlobalTableDescription(v *GlobalTableDescription) *DescribeGlobalTableOutput { + s.GlobalTableDescription = v return s } // Represents the input of a DescribeLimits operation. Has no content. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimitsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimitsInput type DescribeLimitsInput struct { _ struct{} `type:"structure"` } @@ -4204,7 +5913,7 @@ func (s DescribeLimitsInput) GoString() string { } // Represents the output of a DescribeLimits operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimitsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimitsOutput type DescribeLimitsOutput struct { _ struct{} `type:"structure"` @@ -4262,7 +5971,7 @@ func (s *DescribeLimitsOutput) SetTableMaxWriteCapacityUnits(v int64) *DescribeL } // Represents the input of a DescribeTable operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableInput type DescribeTableInput struct { _ struct{} `type:"structure"` @@ -4305,7 +6014,7 @@ func (s *DescribeTableInput) SetTableName(v string) *DescribeTableInput { } // Represents the output of a DescribeTable operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableOutput type DescribeTableOutput struct { _ struct{} `type:"structure"` @@ -4329,7 +6038,7 @@ func (s *DescribeTableOutput) SetTable(v *TableDescription) *DescribeTableOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLiveInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLiveInput type DescribeTimeToLiveInput struct { _ struct{} `type:"structure"` @@ -4371,7 +6080,7 @@ func (s *DescribeTimeToLiveInput) SetTableName(v string) *DescribeTimeToLiveInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLiveOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLiveOutput type DescribeTimeToLiveOutput struct { _ struct{} `type:"structure"` @@ -4415,7 +6124,7 @@ func (s *DescribeTimeToLiveOutput) SetTimeToLiveDescription(v *TimeToLiveDescrip // Value and Exists are incompatible with AttributeValueList and ComparisonOperator. // Note that if you use both sets of parameters at once, DynamoDB will return // a ValidationException exception. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExpectedAttributeValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExpectedAttributeValue type ExpectedAttributeValue struct { _ struct{} `type:"structure"` @@ -4548,7 +6257,7 @@ func (s *ExpectedAttributeValue) SetValue(v *AttributeValue) *ExpectedAttributeV } // Represents the input of a GetItem operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemInput type GetItemInput struct { _ struct{} `type:"structure"` @@ -4720,7 +6429,7 @@ func (s *GetItemInput) SetTableName(v string) *GetItemInput { } // Represents the output of a GetItem operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemOutput type GetItemOutput struct { _ struct{} `type:"structure"` @@ -4759,7 +6468,7 @@ func (s *GetItemOutput) SetItem(v map[string]*AttributeValue) *GetItemOutput { } // Represents the properties of a global secondary index. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndex +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndex type GlobalSecondaryIndex struct { _ struct{} `type:"structure"` @@ -4889,7 +6598,7 @@ func (s *GlobalSecondaryIndex) SetProvisionedThroughput(v *ProvisionedThroughput } // Represents the properties of a global secondary index. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexDescription type GlobalSecondaryIndexDescription struct { _ struct{} `type:"structure"` @@ -5025,6 +6734,76 @@ func (s *GlobalSecondaryIndexDescription) SetProvisionedThroughput(v *Provisione return s } +// Represents the properties of a global secondary index for the table when +// the backup was created. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexInfo +type GlobalSecondaryIndexInfo struct { + _ struct{} `type:"structure"` + + // The name of the global secondary index. + IndexName *string `min:"3" type:"string"` + + // The complete key schema for a global secondary index, which consists of one + // or more pairs of attribute names and key types: + // + // * HASH - partition key + // + // * RANGE - sort key + // + // The partition key of an item is also known as its hash attribute. The term + // "hash attribute" derives from DynamoDB' usage of an internal hash function + // to evenly distribute data items across partitions, based on their partition + // key values. + // + // The sort key of an item is also known as its range attribute. The term "range + // attribute" derives from the way DynamoDB stores items with the same partition + // key physically close together, in sorted order by the sort key value. + KeySchema []*KeySchemaElement `min:"1" type:"list"` + + // Represents attributes that are copied (projected) from the table into the + // global secondary index. These are in addition to the primary key attributes + // and index key attributes, which are automatically projected. + Projection *Projection `type:"structure"` + + // Represents the provisioned throughput settings for the specified global secondary + // index. + ProvisionedThroughput *ProvisionedThroughput `type:"structure"` +} + +// String returns the string representation +func (s GlobalSecondaryIndexInfo) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GlobalSecondaryIndexInfo) GoString() string { + return s.String() +} + +// SetIndexName sets the IndexName field's value. +func (s *GlobalSecondaryIndexInfo) SetIndexName(v string) *GlobalSecondaryIndexInfo { + s.IndexName = &v + return s +} + +// SetKeySchema sets the KeySchema field's value. +func (s *GlobalSecondaryIndexInfo) SetKeySchema(v []*KeySchemaElement) *GlobalSecondaryIndexInfo { + s.KeySchema = v + return s +} + +// SetProjection sets the Projection field's value. +func (s *GlobalSecondaryIndexInfo) SetProjection(v *Projection) *GlobalSecondaryIndexInfo { + s.Projection = v + return s +} + +// SetProvisionedThroughput sets the ProvisionedThroughput field's value. +func (s *GlobalSecondaryIndexInfo) SetProvisionedThroughput(v *ProvisionedThroughput) *GlobalSecondaryIndexInfo { + s.ProvisionedThroughput = v + return s +} + // Represents one of the following: // // * A new global secondary index to be added to an existing table. @@ -5033,7 +6812,7 @@ func (s *GlobalSecondaryIndexDescription) SetProvisionedThroughput(v *Provisione // index. // // * An existing global secondary index to be removed from an existing table. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexUpdate type GlobalSecondaryIndexUpdate struct { _ struct{} `type:"structure"` @@ -5112,11 +6891,114 @@ func (s *GlobalSecondaryIndexUpdate) SetUpdate(v *UpdateGlobalSecondaryIndexActi return s } +// Represents the properties of a global table. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalTable +type GlobalTable struct { + _ struct{} `type:"structure"` + + // The global table name. + GlobalTableName *string `min:"3" type:"string"` + + // The regions where the global table has replicas. + ReplicationGroup []*Replica `type:"list"` +} + +// String returns the string representation +func (s GlobalTable) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GlobalTable) GoString() string { + return s.String() +} + +// SetGlobalTableName sets the GlobalTableName field's value. +func (s *GlobalTable) SetGlobalTableName(v string) *GlobalTable { + s.GlobalTableName = &v + return s +} + +// SetReplicationGroup sets the ReplicationGroup field's value. +func (s *GlobalTable) SetReplicationGroup(v []*Replica) *GlobalTable { + s.ReplicationGroup = v + return s +} + +// Contains details about the global table. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalTableDescription +type GlobalTableDescription struct { + _ struct{} `type:"structure"` + + // The creation time of the global table. + CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` + + // The unique identifier of the global table. + GlobalTableArn *string `type:"string"` + + // The global table name. + GlobalTableName *string `min:"3" type:"string"` + + // The current state of the global table: + // + // * CREATING - The global table is being created. + // + // * UPDATING - The global table is being updated. + // + // * DELETING - The global table is being deleted. + // + // * ACTIVE - The global table is ready for use. + GlobalTableStatus *string `type:"string" enum:"GlobalTableStatus"` + + // The regions where the global table has replicas. + ReplicationGroup []*ReplicaDescription `type:"list"` +} + +// String returns the string representation +func (s GlobalTableDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GlobalTableDescription) GoString() string { + return s.String() +} + +// SetCreationDateTime sets the CreationDateTime field's value. +func (s *GlobalTableDescription) SetCreationDateTime(v time.Time) *GlobalTableDescription { + s.CreationDateTime = &v + return s +} + +// SetGlobalTableArn sets the GlobalTableArn field's value. +func (s *GlobalTableDescription) SetGlobalTableArn(v string) *GlobalTableDescription { + s.GlobalTableArn = &v + return s +} + +// SetGlobalTableName sets the GlobalTableName field's value. +func (s *GlobalTableDescription) SetGlobalTableName(v string) *GlobalTableDescription { + s.GlobalTableName = &v + return s +} + +// SetGlobalTableStatus sets the GlobalTableStatus field's value. +func (s *GlobalTableDescription) SetGlobalTableStatus(v string) *GlobalTableDescription { + s.GlobalTableStatus = &v + return s +} + +// SetReplicationGroup sets the ReplicationGroup field's value. +func (s *GlobalTableDescription) SetReplicationGroup(v []*ReplicaDescription) *GlobalTableDescription { + s.ReplicationGroup = v + return s +} + // Information about item collections, if any, that were affected by the operation. // ItemCollectionMetrics is only returned if the request asked for it. If the // table does not have any local secondary indexes, this information is not // returned in the response. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ItemCollectionMetrics +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ItemCollectionMetrics type ItemCollectionMetrics struct { _ struct{} `type:"structure"` @@ -5169,7 +7051,7 @@ func (s *ItemCollectionMetrics) SetSizeEstimateRangeGB(v []*float64) *ItemCollec // A KeySchemaElement must be a scalar, top-level attribute (not a nested attribute). // The data type must be one of String, Number, or Binary. The attribute cannot // be nested within a List or a Map. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KeySchemaElement +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KeySchemaElement type KeySchemaElement struct { _ struct{} `type:"structure"` @@ -5245,7 +7127,7 @@ func (s *KeySchemaElement) SetKeyType(v string) *KeySchemaElement { // with a simple primary key, you only need to provide the partition key. For // a composite primary key, you must provide both the partition key and the // sort key. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KeysAndAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KeysAndAttributes type KeysAndAttributes struct { _ struct{} `type:"structure"` @@ -5343,38 +7225,242 @@ func (s *KeysAndAttributes) Validate() error { return nil } -// SetAttributesToGet sets the AttributesToGet field's value. -func (s *KeysAndAttributes) SetAttributesToGet(v []*string) *KeysAndAttributes { - s.AttributesToGet = v +// SetAttributesToGet sets the AttributesToGet field's value. +func (s *KeysAndAttributes) SetAttributesToGet(v []*string) *KeysAndAttributes { + s.AttributesToGet = v + return s +} + +// SetConsistentRead sets the ConsistentRead field's value. +func (s *KeysAndAttributes) SetConsistentRead(v bool) *KeysAndAttributes { + s.ConsistentRead = &v + return s +} + +// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value. +func (s *KeysAndAttributes) SetExpressionAttributeNames(v map[string]*string) *KeysAndAttributes { + s.ExpressionAttributeNames = v + return s +} + +// SetKeys sets the Keys field's value. +func (s *KeysAndAttributes) SetKeys(v []map[string]*AttributeValue) *KeysAndAttributes { + s.Keys = v + return s +} + +// SetProjectionExpression sets the ProjectionExpression field's value. +func (s *KeysAndAttributes) SetProjectionExpression(v string) *KeysAndAttributes { + s.ProjectionExpression = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListBackupsInput +type ListBackupsInput struct { + _ struct{} `type:"structure"` + + // LastEvaluatedBackupARN returned by the previous ListBackups call. + ExclusiveStartBackupArn *string `min:"37" type:"string"` + + // Maximum number of backups to return at once. + Limit *int64 `min:"1" type:"integer"` + + // The backups from the table specified by TableName are listed. + TableName *string `min:"3" type:"string"` + + // Only backups created after this time are listed. TimeRangeLowerBound is inclusive. + TimeRangeLowerBound *time.Time `type:"timestamp" timestampFormat:"unix"` + + // Only backups created before this time are listed. TimeRangeUpperBound is + // exclusive. + TimeRangeUpperBound *time.Time `type:"timestamp" timestampFormat:"unix"` +} + +// String returns the string representation +func (s ListBackupsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListBackupsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListBackupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListBackupsInput"} + if s.ExclusiveStartBackupArn != nil && len(*s.ExclusiveStartBackupArn) < 37 { + invalidParams.Add(request.NewErrParamMinLen("ExclusiveStartBackupArn", 37)) + } + if s.Limit != nil && *s.Limit < 1 { + invalidParams.Add(request.NewErrParamMinValue("Limit", 1)) + } + if s.TableName != nil && len(*s.TableName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("TableName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExclusiveStartBackupArn sets the ExclusiveStartBackupArn field's value. +func (s *ListBackupsInput) SetExclusiveStartBackupArn(v string) *ListBackupsInput { + s.ExclusiveStartBackupArn = &v + return s +} + +// SetLimit sets the Limit field's value. +func (s *ListBackupsInput) SetLimit(v int64) *ListBackupsInput { + s.Limit = &v + return s +} + +// SetTableName sets the TableName field's value. +func (s *ListBackupsInput) SetTableName(v string) *ListBackupsInput { + s.TableName = &v + return s +} + +// SetTimeRangeLowerBound sets the TimeRangeLowerBound field's value. +func (s *ListBackupsInput) SetTimeRangeLowerBound(v time.Time) *ListBackupsInput { + s.TimeRangeLowerBound = &v + return s +} + +// SetTimeRangeUpperBound sets the TimeRangeUpperBound field's value. +func (s *ListBackupsInput) SetTimeRangeUpperBound(v time.Time) *ListBackupsInput { + s.TimeRangeUpperBound = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListBackupsOutput +type ListBackupsOutput struct { + _ struct{} `type:"structure"` + + // List of BackupSummary objects. + BackupSummaries []*BackupSummary `type:"list"` + + // Last evaluated BackupARN. + LastEvaluatedBackupArn *string `min:"37" type:"string"` +} + +// String returns the string representation +func (s ListBackupsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListBackupsOutput) GoString() string { + return s.String() +} + +// SetBackupSummaries sets the BackupSummaries field's value. +func (s *ListBackupsOutput) SetBackupSummaries(v []*BackupSummary) *ListBackupsOutput { + s.BackupSummaries = v + return s +} + +// SetLastEvaluatedBackupArn sets the LastEvaluatedBackupArn field's value. +func (s *ListBackupsOutput) SetLastEvaluatedBackupArn(v string) *ListBackupsOutput { + s.LastEvaluatedBackupArn = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListGlobalTablesInput +type ListGlobalTablesInput struct { + _ struct{} `type:"structure"` + + // The first global table name that this operation will evaluate. + ExclusiveStartGlobalTableName *string `min:"3" type:"string"` + + // The maximum number of table names to return. + Limit *int64 `min:"1" type:"integer"` + + // Lists the global tables in a specific region. + RegionName *string `type:"string"` +} + +// String returns the string representation +func (s ListGlobalTablesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListGlobalTablesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListGlobalTablesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListGlobalTablesInput"} + if s.ExclusiveStartGlobalTableName != nil && len(*s.ExclusiveStartGlobalTableName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("ExclusiveStartGlobalTableName", 3)) + } + if s.Limit != nil && *s.Limit < 1 { + invalidParams.Add(request.NewErrParamMinValue("Limit", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExclusiveStartGlobalTableName sets the ExclusiveStartGlobalTableName field's value. +func (s *ListGlobalTablesInput) SetExclusiveStartGlobalTableName(v string) *ListGlobalTablesInput { + s.ExclusiveStartGlobalTableName = &v return s } -// SetConsistentRead sets the ConsistentRead field's value. -func (s *KeysAndAttributes) SetConsistentRead(v bool) *KeysAndAttributes { - s.ConsistentRead = &v +// SetLimit sets the Limit field's value. +func (s *ListGlobalTablesInput) SetLimit(v int64) *ListGlobalTablesInput { + s.Limit = &v return s } -// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value. -func (s *KeysAndAttributes) SetExpressionAttributeNames(v map[string]*string) *KeysAndAttributes { - s.ExpressionAttributeNames = v +// SetRegionName sets the RegionName field's value. +func (s *ListGlobalTablesInput) SetRegionName(v string) *ListGlobalTablesInput { + s.RegionName = &v return s } -// SetKeys sets the Keys field's value. -func (s *KeysAndAttributes) SetKeys(v []map[string]*AttributeValue) *KeysAndAttributes { - s.Keys = v +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListGlobalTablesOutput +type ListGlobalTablesOutput struct { + _ struct{} `type:"structure"` + + // List of global table names. + GlobalTables []*GlobalTable `type:"list"` + + // Last evaluated global table name. + LastEvaluatedGlobalTableName *string `min:"3" type:"string"` +} + +// String returns the string representation +func (s ListGlobalTablesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListGlobalTablesOutput) GoString() string { + return s.String() +} + +// SetGlobalTables sets the GlobalTables field's value. +func (s *ListGlobalTablesOutput) SetGlobalTables(v []*GlobalTable) *ListGlobalTablesOutput { + s.GlobalTables = v return s } -// SetProjectionExpression sets the ProjectionExpression field's value. -func (s *KeysAndAttributes) SetProjectionExpression(v string) *KeysAndAttributes { - s.ProjectionExpression = &v +// SetLastEvaluatedGlobalTableName sets the LastEvaluatedGlobalTableName field's value. +func (s *ListGlobalTablesOutput) SetLastEvaluatedGlobalTableName(v string) *ListGlobalTablesOutput { + s.LastEvaluatedGlobalTableName = &v return s } // Represents the input of a ListTables operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTablesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTablesInput type ListTablesInput struct { _ struct{} `type:"structure"` @@ -5427,7 +7513,7 @@ func (s *ListTablesInput) SetLimit(v int64) *ListTablesInput { } // Represents the output of a ListTables operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTablesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTablesOutput type ListTablesOutput struct { _ struct{} `type:"structure"` @@ -5470,7 +7556,7 @@ func (s *ListTablesOutput) SetTableNames(v []*string) *ListTablesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResourceInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResourceInput type ListTagsOfResourceInput struct { _ struct{} `type:"structure"` @@ -5524,7 +7610,7 @@ func (s *ListTagsOfResourceInput) SetResourceArn(v string) *ListTagsOfResourceIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResourceOutput type ListTagsOfResourceOutput struct { _ struct{} `type:"structure"` @@ -5560,7 +7646,7 @@ func (s *ListTagsOfResourceOutput) SetTags(v []*Tag) *ListTagsOfResourceOutput { } // Represents the properties of a local secondary index. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/LocalSecondaryIndex +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/LocalSecondaryIndex type LocalSecondaryIndex struct { _ struct{} `type:"structure"` @@ -5666,7 +7752,7 @@ func (s *LocalSecondaryIndex) SetProjection(v *Projection) *LocalSecondaryIndex } // Represents the properties of a local secondary index. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/LocalSecondaryIndexDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/LocalSecondaryIndexDescription type LocalSecondaryIndexDescription struct { _ struct{} `type:"structure"` @@ -5754,10 +7840,70 @@ func (s *LocalSecondaryIndexDescription) SetProjection(v *Projection) *LocalSeco return s } +// Represents the properties of a local secondary index for the table when the +// backup was created. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/LocalSecondaryIndexInfo +type LocalSecondaryIndexInfo struct { + _ struct{} `type:"structure"` + + // Represents the name of the local secondary index. + IndexName *string `min:"3" type:"string"` + + // The complete key schema for a local secondary index, which consists of one + // or more pairs of attribute names and key types: + // + // * HASH - partition key + // + // * RANGE - sort key + // + // The partition key of an item is also known as its hash attribute. The term + // "hash attribute" derives from DynamoDB' usage of an internal hash function + // to evenly distribute data items across partitions, based on their partition + // key values. + // + // The sort key of an item is also known as its range attribute. The term "range + // attribute" derives from the way DynamoDB stores items with the same partition + // key physically close together, in sorted order by the sort key value. + KeySchema []*KeySchemaElement `min:"1" type:"list"` + + // Represents attributes that are copied (projected) from the table into the + // global secondary index. These are in addition to the primary key attributes + // and index key attributes, which are automatically projected. + Projection *Projection `type:"structure"` +} + +// String returns the string representation +func (s LocalSecondaryIndexInfo) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LocalSecondaryIndexInfo) GoString() string { + return s.String() +} + +// SetIndexName sets the IndexName field's value. +func (s *LocalSecondaryIndexInfo) SetIndexName(v string) *LocalSecondaryIndexInfo { + s.IndexName = &v + return s +} + +// SetKeySchema sets the KeySchema field's value. +func (s *LocalSecondaryIndexInfo) SetKeySchema(v []*KeySchemaElement) *LocalSecondaryIndexInfo { + s.KeySchema = v + return s +} + +// SetProjection sets the Projection field's value. +func (s *LocalSecondaryIndexInfo) SetProjection(v *Projection) *LocalSecondaryIndexInfo { + s.Projection = v + return s +} + // Represents attributes that are copied (projected) from the table into an // index. These are in addition to the primary key attributes and index key // attributes, which are automatically projected. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Projection +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Projection type Projection struct { _ struct{} `type:"structure"` @@ -5821,7 +7967,7 @@ func (s *Projection) SetProjectionType(v string) *Projection { // For current minimum and maximum provisioned throughput values, see Limits // (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) // in the Amazon DynamoDB Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughput type ProvisionedThroughput struct { _ struct{} `type:"structure"` @@ -5888,7 +8034,7 @@ func (s *ProvisionedThroughput) SetWriteCapacityUnits(v int64) *ProvisionedThrou // Represents the provisioned throughput settings for the table, consisting // of read and write capacity units, along with data about increases and decreases. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughputDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughputDescription type ProvisionedThroughputDescription struct { _ struct{} `type:"structure"` @@ -5956,7 +8102,7 @@ func (s *ProvisionedThroughputDescription) SetWriteCapacityUnits(v int64) *Provi } // Represents the input of a PutItem operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItemInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItemInput type PutItemInput struct { _ struct{} `type:"structure"` @@ -6202,7 +8348,7 @@ func (s *PutItemInput) SetTableName(v string) *PutItemInput { } // Represents the output of a PutItem operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItemOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItemOutput type PutItemOutput struct { _ struct{} `type:"structure"` @@ -6229,7 +8375,7 @@ type PutItemOutput struct { // * ItemCollectionKey - The partition key value of the item collection. // This is the same as the partition key value of the item itself. // - // * SizeEstimateRange - An estimate of item collection size, in gigabytes. + // * SizeEstimateRangeGB - An estimate of item collection size, in gigabytes. // This value is a two-element array containing a lower bound and an upper // bound for the estimate. The estimate includes the size of all the items // in the table, plus the size of all attributes projected into all of the @@ -6270,7 +8416,7 @@ func (s *PutItemOutput) SetItemCollectionMetrics(v *ItemCollectionMetrics) *PutI } // Represents a request to perform a PutItem operation on an item. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutRequest type PutRequest struct { _ struct{} `type:"structure"` @@ -6301,7 +8447,7 @@ func (s *PutRequest) SetItem(v map[string]*AttributeValue) *PutRequest { } // Represents the input of a Query operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/QueryInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/QueryInput type QueryInput struct { _ struct{} `type:"structure"` @@ -6754,7 +8900,7 @@ func (s *QueryInput) SetTableName(v string) *QueryInput { } // Represents the output of a Query operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/QueryOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/QueryOutput type QueryOutput struct { _ struct{} `type:"structure"` @@ -6766,84 +8912,333 @@ type QueryOutput struct { // in the Amazon DynamoDB Developer Guide. ConsumedCapacity *ConsumedCapacity `type:"structure"` - // The number of items in the response. - // - // If you used a QueryFilter in the request, then Count is the number of items - // returned after the filter was applied, and ScannedCount is the number of - // matching items before the filter was applied. - // - // If you did not use a filter in the request, then Count and ScannedCount are - // the same. - Count *int64 `type:"integer"` + // The number of items in the response. + // + // If you used a QueryFilter in the request, then Count is the number of items + // returned after the filter was applied, and ScannedCount is the number of + // matching items before the filter was applied. + // + // If you did not use a filter in the request, then Count and ScannedCount are + // the same. + Count *int64 `type:"integer"` + + // An array of item attributes that match the query criteria. Each element in + // this array consists of an attribute name and the value for that attribute. + Items []map[string]*AttributeValue `type:"list"` + + // The primary key of the item where the operation stopped, inclusive of the + // previous result set. Use this value to start a new operation, excluding this + // value in the new request. + // + // If LastEvaluatedKey is empty, then the "last page" of results has been processed + // and there is no more data to be retrieved. + // + // If LastEvaluatedKey is not empty, it does not necessarily mean that there + // is more data in the result set. The only way to know when you have reached + // the end of the result set is when LastEvaluatedKey is empty. + LastEvaluatedKey map[string]*AttributeValue `type:"map"` + + // The number of items evaluated, before any QueryFilter is applied. A high + // ScannedCount value with few, or no, Count results indicates an inefficient + // Query operation. For more information, see Count and ScannedCount (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count) + // in the Amazon DynamoDB Developer Guide. + // + // If you did not use a filter in the request, then ScannedCount is the same + // as Count. + ScannedCount *int64 `type:"integer"` +} + +// String returns the string representation +func (s QueryOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s QueryOutput) GoString() string { + return s.String() +} + +// SetConsumedCapacity sets the ConsumedCapacity field's value. +func (s *QueryOutput) SetConsumedCapacity(v *ConsumedCapacity) *QueryOutput { + s.ConsumedCapacity = v + return s +} + +// SetCount sets the Count field's value. +func (s *QueryOutput) SetCount(v int64) *QueryOutput { + s.Count = &v + return s +} + +// SetItems sets the Items field's value. +func (s *QueryOutput) SetItems(v []map[string]*AttributeValue) *QueryOutput { + s.Items = v + return s +} + +// SetLastEvaluatedKey sets the LastEvaluatedKey field's value. +func (s *QueryOutput) SetLastEvaluatedKey(v map[string]*AttributeValue) *QueryOutput { + s.LastEvaluatedKey = v + return s +} + +// SetScannedCount sets the ScannedCount field's value. +func (s *QueryOutput) SetScannedCount(v int64) *QueryOutput { + s.ScannedCount = &v + return s +} + +// Represents the properties of a replica. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Replica +type Replica struct { + _ struct{} `type:"structure"` + + // The region where the replica needs to be created. + RegionName *string `type:"string"` +} + +// String returns the string representation +func (s Replica) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Replica) GoString() string { + return s.String() +} + +// SetRegionName sets the RegionName field's value. +func (s *Replica) SetRegionName(v string) *Replica { + s.RegionName = &v + return s +} + +// Contains the details of the replica. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaDescription +type ReplicaDescription struct { + _ struct{} `type:"structure"` + + // The name of the region. + RegionName *string `type:"string"` +} + +// String returns the string representation +func (s ReplicaDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ReplicaDescription) GoString() string { + return s.String() +} + +// SetRegionName sets the RegionName field's value. +func (s *ReplicaDescription) SetRegionName(v string) *ReplicaDescription { + s.RegionName = &v + return s +} + +// Represents one of the following: +// +// * A new replica to be added to an existing global table. +// +// * New parameters for an existing replica. +// +// * An existing replica to be removed from an existing global table. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaUpdate +type ReplicaUpdate struct { + _ struct{} `type:"structure"` + + // The parameters required for creating a replica on an existing global table. + Create *CreateReplicaAction `type:"structure"` + + // The name of the existing replica to be removed. + Delete *DeleteReplicaAction `type:"structure"` +} + +// String returns the string representation +func (s ReplicaUpdate) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ReplicaUpdate) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ReplicaUpdate) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReplicaUpdate"} + if s.Create != nil { + if err := s.Create.Validate(); err != nil { + invalidParams.AddNested("Create", err.(request.ErrInvalidParams)) + } + } + if s.Delete != nil { + if err := s.Delete.Validate(); err != nil { + invalidParams.AddNested("Delete", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCreate sets the Create field's value. +func (s *ReplicaUpdate) SetCreate(v *CreateReplicaAction) *ReplicaUpdate { + s.Create = v + return s +} + +// SetDelete sets the Delete field's value. +func (s *ReplicaUpdate) SetDelete(v *DeleteReplicaAction) *ReplicaUpdate { + s.Delete = v + return s +} + +// Contains details for the restore. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreSummary +type RestoreSummary struct { + _ struct{} `type:"structure"` + + // Point in time or source backup time. + // + // RestoreDateTime is a required field + RestoreDateTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` + + // Indicates if a restore is in progress or not. + // + // RestoreInProgress is a required field + RestoreInProgress *bool `type:"boolean" required:"true"` + + // ARN of the backup from which the table was restored. + SourceBackupArn *string `min:"37" type:"string"` + + // ARN of the source table of the backup that is being restored. + SourceTableArn *string `type:"string"` +} + +// String returns the string representation +func (s RestoreSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RestoreSummary) GoString() string { + return s.String() +} + +// SetRestoreDateTime sets the RestoreDateTime field's value. +func (s *RestoreSummary) SetRestoreDateTime(v time.Time) *RestoreSummary { + s.RestoreDateTime = &v + return s +} + +// SetRestoreInProgress sets the RestoreInProgress field's value. +func (s *RestoreSummary) SetRestoreInProgress(v bool) *RestoreSummary { + s.RestoreInProgress = &v + return s +} + +// SetSourceBackupArn sets the SourceBackupArn field's value. +func (s *RestoreSummary) SetSourceBackupArn(v string) *RestoreSummary { + s.SourceBackupArn = &v + return s +} + +// SetSourceTableArn sets the SourceTableArn field's value. +func (s *RestoreSummary) SetSourceTableArn(v string) *RestoreSummary { + s.SourceTableArn = &v + return s +} - // An array of item attributes that match the query criteria. Each element in - // this array consists of an attribute name and the value for that attribute. - Items []map[string]*AttributeValue `type:"list"` +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackupInput +type RestoreTableFromBackupInput struct { + _ struct{} `type:"structure"` - // The primary key of the item where the operation stopped, inclusive of the - // previous result set. Use this value to start a new operation, excluding this - // value in the new request. + // The ARN associated with the backup. // - // If LastEvaluatedKey is empty, then the "last page" of results has been processed - // and there is no more data to be retrieved. - // - // If LastEvaluatedKey is not empty, it does not necessarily mean that there - // is more data in the result set. The only way to know when you have reached - // the end of the result set is when LastEvaluatedKey is empty. - LastEvaluatedKey map[string]*AttributeValue `type:"map"` + // BackupArn is a required field + BackupArn *string `min:"37" type:"string" required:"true"` - // The number of items evaluated, before any QueryFilter is applied. A high - // ScannedCount value with few, or no, Count results indicates an inefficient - // Query operation. For more information, see Count and ScannedCount (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count) - // in the Amazon DynamoDB Developer Guide. + // The name of the new table to which the backup must be restored. // - // If you did not use a filter in the request, then ScannedCount is the same - // as Count. - ScannedCount *int64 `type:"integer"` + // TargetTableName is a required field + TargetTableName *string `min:"3" type:"string" required:"true"` } // String returns the string representation -func (s QueryOutput) String() string { +func (s RestoreTableFromBackupInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s QueryOutput) GoString() string { +func (s RestoreTableFromBackupInput) GoString() string { return s.String() } -// SetConsumedCapacity sets the ConsumedCapacity field's value. -func (s *QueryOutput) SetConsumedCapacity(v *ConsumedCapacity) *QueryOutput { - s.ConsumedCapacity = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *RestoreTableFromBackupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RestoreTableFromBackupInput"} + if s.BackupArn == nil { + invalidParams.Add(request.NewErrParamRequired("BackupArn")) + } + if s.BackupArn != nil && len(*s.BackupArn) < 37 { + invalidParams.Add(request.NewErrParamMinLen("BackupArn", 37)) + } + if s.TargetTableName == nil { + invalidParams.Add(request.NewErrParamRequired("TargetTableName")) + } + if s.TargetTableName != nil && len(*s.TargetTableName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("TargetTableName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetCount sets the Count field's value. -func (s *QueryOutput) SetCount(v int64) *QueryOutput { - s.Count = &v +// SetBackupArn sets the BackupArn field's value. +func (s *RestoreTableFromBackupInput) SetBackupArn(v string) *RestoreTableFromBackupInput { + s.BackupArn = &v return s } -// SetItems sets the Items field's value. -func (s *QueryOutput) SetItems(v []map[string]*AttributeValue) *QueryOutput { - s.Items = v +// SetTargetTableName sets the TargetTableName field's value. +func (s *RestoreTableFromBackupInput) SetTargetTableName(v string) *RestoreTableFromBackupInput { + s.TargetTableName = &v return s } -// SetLastEvaluatedKey sets the LastEvaluatedKey field's value. -func (s *QueryOutput) SetLastEvaluatedKey(v map[string]*AttributeValue) *QueryOutput { - s.LastEvaluatedKey = v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackupOutput +type RestoreTableFromBackupOutput struct { + _ struct{} `type:"structure"` + + // The description of the table created from an existing backup. + TableDescription *TableDescription `type:"structure"` } -// SetScannedCount sets the ScannedCount field's value. -func (s *QueryOutput) SetScannedCount(v int64) *QueryOutput { - s.ScannedCount = &v +// String returns the string representation +func (s RestoreTableFromBackupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RestoreTableFromBackupOutput) GoString() string { + return s.String() +} + +// SetTableDescription sets the TableDescription field's value. +func (s *RestoreTableFromBackupOutput) SetTableDescription(v *TableDescription) *RestoreTableFromBackupOutput { + s.TableDescription = v return s } // Represents the input of a Scan operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ScanInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ScanInput type ScanInput struct { _ struct{} `type:"structure"` @@ -7234,7 +9629,7 @@ func (s *ScanInput) SetTotalSegments(v int64) *ScanInput { } // Represents the output of a Scan operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ScanOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ScanOutput type ScanOutput struct { _ struct{} `type:"structure"` @@ -7321,8 +9716,163 @@ func (s *ScanOutput) SetScannedCount(v int64) *ScanOutput { return s } +// Contains the details of the table when the backup was created. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SourceTableDetails +type SourceTableDetails struct { + _ struct{} `type:"structure"` + + // Number of items in the table. Please note this is an approximate value. + ItemCount *int64 `type:"long"` + + // Schema of the table. + // + // KeySchema is a required field + KeySchema []*KeySchemaElement `min:"1" type:"list" required:"true"` + + // Read IOPs and Write IOPS on the table when the backup was created. + // + // ProvisionedThroughput is a required field + ProvisionedThroughput *ProvisionedThroughput `type:"structure" required:"true"` + + // ARN of the table for which backup was created. + TableArn *string `type:"string"` + + // Time when the source table was created. + // + // TableCreationDateTime is a required field + TableCreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` + + // Unique identifier for the table for which the backup was created. + // + // TableId is a required field + TableId *string `type:"string" required:"true"` + + // The name of the table for which the backup was created. + // + // TableName is a required field + TableName *string `min:"3" type:"string" required:"true"` + + // Size of the table in bytes. Please note this is an approximate value. + TableSizeBytes *int64 `type:"long"` +} + +// String returns the string representation +func (s SourceTableDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SourceTableDetails) GoString() string { + return s.String() +} + +// SetItemCount sets the ItemCount field's value. +func (s *SourceTableDetails) SetItemCount(v int64) *SourceTableDetails { + s.ItemCount = &v + return s +} + +// SetKeySchema sets the KeySchema field's value. +func (s *SourceTableDetails) SetKeySchema(v []*KeySchemaElement) *SourceTableDetails { + s.KeySchema = v + return s +} + +// SetProvisionedThroughput sets the ProvisionedThroughput field's value. +func (s *SourceTableDetails) SetProvisionedThroughput(v *ProvisionedThroughput) *SourceTableDetails { + s.ProvisionedThroughput = v + return s +} + +// SetTableArn sets the TableArn field's value. +func (s *SourceTableDetails) SetTableArn(v string) *SourceTableDetails { + s.TableArn = &v + return s +} + +// SetTableCreationDateTime sets the TableCreationDateTime field's value. +func (s *SourceTableDetails) SetTableCreationDateTime(v time.Time) *SourceTableDetails { + s.TableCreationDateTime = &v + return s +} + +// SetTableId sets the TableId field's value. +func (s *SourceTableDetails) SetTableId(v string) *SourceTableDetails { + s.TableId = &v + return s +} + +// SetTableName sets the TableName field's value. +func (s *SourceTableDetails) SetTableName(v string) *SourceTableDetails { + s.TableName = &v + return s +} + +// SetTableSizeBytes sets the TableSizeBytes field's value. +func (s *SourceTableDetails) SetTableSizeBytes(v int64) *SourceTableDetails { + s.TableSizeBytes = &v + return s +} + +// Contains the details of the features enabled on the table when the backup +// was created. For example, LSIs, GSIs, streams, TTL. +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SourceTableFeatureDetails +type SourceTableFeatureDetails struct { + _ struct{} `type:"structure"` + + // Represents the GSI properties for the table when the backup was created. + // It includes the IndexName, KeySchema, Projection and ProvisionedThroughput + // for the GSIs on the table at the time of backup. + GlobalSecondaryIndexes []*GlobalSecondaryIndexInfo `type:"list"` + + // Represents the LSI properties for the table when the backup was created. + // It includes the IndexName, KeySchema and Projection for the LSIs on the table + // at the time of backup. + LocalSecondaryIndexes []*LocalSecondaryIndexInfo `type:"list"` + + // Stream settings on the table when the backup was created. + StreamDescription *StreamSpecification `type:"structure"` + + // Time to Live settings on the table when the backup was created. + TimeToLiveDescription *TimeToLiveDescription `type:"structure"` +} + +// String returns the string representation +func (s SourceTableFeatureDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SourceTableFeatureDetails) GoString() string { + return s.String() +} + +// SetGlobalSecondaryIndexes sets the GlobalSecondaryIndexes field's value. +func (s *SourceTableFeatureDetails) SetGlobalSecondaryIndexes(v []*GlobalSecondaryIndexInfo) *SourceTableFeatureDetails { + s.GlobalSecondaryIndexes = v + return s +} + +// SetLocalSecondaryIndexes sets the LocalSecondaryIndexes field's value. +func (s *SourceTableFeatureDetails) SetLocalSecondaryIndexes(v []*LocalSecondaryIndexInfo) *SourceTableFeatureDetails { + s.LocalSecondaryIndexes = v + return s +} + +// SetStreamDescription sets the StreamDescription field's value. +func (s *SourceTableFeatureDetails) SetStreamDescription(v *StreamSpecification) *SourceTableFeatureDetails { + s.StreamDescription = v + return s +} + +// SetTimeToLiveDescription sets the TimeToLiveDescription field's value. +func (s *SourceTableFeatureDetails) SetTimeToLiveDescription(v *TimeToLiveDescription) *SourceTableFeatureDetails { + s.TimeToLiveDescription = v + return s +} + // Represents the DynamoDB Streams configuration for a table in DynamoDB. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/StreamSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/StreamSpecification type StreamSpecification struct { _ struct{} `type:"structure"` @@ -7371,7 +9921,7 @@ func (s *StreamSpecification) SetStreamViewType(v string) *StreamSpecification { } // Represents the properties of a table. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableDescription type TableDescription struct { _ struct{} `type:"structure"` @@ -7543,12 +10093,18 @@ type TableDescription struct { // write capacity units, along with data about increases and decreases. ProvisionedThroughput *ProvisionedThroughputDescription `type:"structure"` + // Contains details for the restore. + RestoreSummary *RestoreSummary `type:"structure"` + // The current DynamoDB Streams configuration for the table. StreamSpecification *StreamSpecification `type:"structure"` // The Amazon Resource Name (ARN) that uniquely identifies the table. TableArn *string `type:"string"` + // Unique identifier for the table for which the backup was created. + TableId *string `type:"string"` + // The name of the table. TableName *string `min:"3" type:"string"` @@ -7633,6 +10189,12 @@ func (s *TableDescription) SetProvisionedThroughput(v *ProvisionedThroughputDesc return s } +// SetRestoreSummary sets the RestoreSummary field's value. +func (s *TableDescription) SetRestoreSummary(v *RestoreSummary) *TableDescription { + s.RestoreSummary = v + return s +} + // SetStreamSpecification sets the StreamSpecification field's value. func (s *TableDescription) SetStreamSpecification(v *StreamSpecification) *TableDescription { s.StreamSpecification = v @@ -7645,6 +10207,12 @@ func (s *TableDescription) SetTableArn(v string) *TableDescription { return s } +// SetTableId sets the TableId field's value. +func (s *TableDescription) SetTableId(v string) *TableDescription { + s.TableId = &v + return s +} + // SetTableName sets the TableName field's value. func (s *TableDescription) SetTableName(v string) *TableDescription { s.TableName = &v @@ -7673,7 +10241,7 @@ func (s *TableDescription) SetTableStatus(v string) *TableDescription { // // For an overview on tagging DynamoDB resources, see Tagging for DynamoDB (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html) // in the Amazon DynamoDB Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Tag type Tag struct { _ struct{} `type:"structure"` @@ -7731,7 +10299,7 @@ func (s *Tag) SetValue(v string) *Tag { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TagResourceInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TagResourceInput type TagResourceInput struct { _ struct{} `type:"structure"` @@ -7798,7 +10366,7 @@ func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TagResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TagResourceOutput type TagResourceOutput struct { _ struct{} `type:"structure"` } @@ -7814,7 +10382,7 @@ func (s TagResourceOutput) GoString() string { } // The description of the Time to Live (TTL) status on the specified table. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TimeToLiveDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TimeToLiveDescription type TimeToLiveDescription struct { _ struct{} `type:"structure"` @@ -7849,7 +10417,7 @@ func (s *TimeToLiveDescription) SetTimeToLiveStatus(v string) *TimeToLiveDescrip // Represents the settings used to enable or disable Time to Live for the specified // table. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TimeToLiveSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TimeToLiveSpecification type TimeToLiveSpecification struct { _ struct{} `type:"structure"` @@ -7907,7 +10475,7 @@ func (s *TimeToLiveSpecification) SetEnabled(v bool) *TimeToLiveSpecification { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UntagResourceInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UntagResourceInput type UntagResourceInput struct { _ struct{} `type:"structure"` @@ -7965,7 +10533,7 @@ func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UntagResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UntagResourceOutput type UntagResourceOutput struct { _ struct{} `type:"structure"` } @@ -7982,7 +10550,7 @@ func (s UntagResourceOutput) GoString() string { // Represents the new provisioned throughput settings to be applied to a global // secondary index. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalSecondaryIndexAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalSecondaryIndexAction type UpdateGlobalSecondaryIndexAction struct { _ struct{} `type:"structure"` @@ -8048,8 +10616,98 @@ func (s *UpdateGlobalSecondaryIndexAction) SetProvisionedThroughput(v *Provision return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalTableInput +type UpdateGlobalTableInput struct { + _ struct{} `type:"structure"` + + // The global table name. + // + // GlobalTableName is a required field + GlobalTableName *string `min:"3" type:"string" required:"true"` + + // A list of regions that should be added or removed from the global table. + // + // ReplicaUpdates is a required field + ReplicaUpdates []*ReplicaUpdate `type:"list" required:"true"` +} + +// String returns the string representation +func (s UpdateGlobalTableInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateGlobalTableInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateGlobalTableInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateGlobalTableInput"} + if s.GlobalTableName == nil { + invalidParams.Add(request.NewErrParamRequired("GlobalTableName")) + } + if s.GlobalTableName != nil && len(*s.GlobalTableName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("GlobalTableName", 3)) + } + if s.ReplicaUpdates == nil { + invalidParams.Add(request.NewErrParamRequired("ReplicaUpdates")) + } + if s.ReplicaUpdates != nil { + for i, v := range s.ReplicaUpdates { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ReplicaUpdates", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetGlobalTableName sets the GlobalTableName field's value. +func (s *UpdateGlobalTableInput) SetGlobalTableName(v string) *UpdateGlobalTableInput { + s.GlobalTableName = &v + return s +} + +// SetReplicaUpdates sets the ReplicaUpdates field's value. +func (s *UpdateGlobalTableInput) SetReplicaUpdates(v []*ReplicaUpdate) *UpdateGlobalTableInput { + s.ReplicaUpdates = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalTableOutput +type UpdateGlobalTableOutput struct { + _ struct{} `type:"structure"` + + // Contains the details of the global table. + GlobalTableDescription *GlobalTableDescription `type:"structure"` +} + +// String returns the string representation +func (s UpdateGlobalTableOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateGlobalTableOutput) GoString() string { + return s.String() +} + +// SetGlobalTableDescription sets the GlobalTableDescription field's value. +func (s *UpdateGlobalTableOutput) SetGlobalTableDescription(v *GlobalTableDescription) *UpdateGlobalTableOutput { + s.GlobalTableDescription = v + return s +} + // Represents the input of an UpdateItem operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItemInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItemInput type UpdateItemInput struct { _ struct{} `type:"structure"` @@ -8387,7 +11045,7 @@ func (s *UpdateItemInput) SetUpdateExpression(v string) *UpdateItemInput { } // Represents the output of an UpdateItem operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItemOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItemOutput type UpdateItemOutput struct { _ struct{} `type:"structure"` @@ -8416,7 +11074,7 @@ type UpdateItemOutput struct { // * ItemCollectionKey - The partition key value of the item collection. // This is the same as the partition key value of the item itself. // - // * SizeEstimateRange - An estimate of item collection size, in gigabytes. + // * SizeEstimateRangeGB - An estimate of item collection size, in gigabytes. // This value is a two-element array containing a lower bound and an upper // bound for the estimate. The estimate includes the size of all the items // in the table, plus the size of all attributes projected into all of the @@ -8457,7 +11115,7 @@ func (s *UpdateItemOutput) SetItemCollectionMetrics(v *ItemCollectionMetrics) *U } // Represents the input of an UpdateTable operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableInput type UpdateTableInput struct { _ struct{} `type:"structure"` @@ -8578,7 +11236,7 @@ func (s *UpdateTableInput) SetTableName(v string) *UpdateTableInput { } // Represents the output of an UpdateTable operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableOutput type UpdateTableOutput struct { _ struct{} `type:"structure"` @@ -8603,7 +11261,7 @@ func (s *UpdateTableOutput) SetTableDescription(v *TableDescription) *UpdateTabl } // Represents the input of an UpdateTimeToLive operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLiveInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLiveInput type UpdateTimeToLiveInput struct { _ struct{} `type:"structure"` @@ -8665,7 +11323,7 @@ func (s *UpdateTimeToLiveInput) SetTimeToLiveSpecification(v *TimeToLiveSpecific return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLiveOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLiveOutput type UpdateTimeToLiveOutput struct { _ struct{} `type:"structure"` @@ -8693,7 +11351,7 @@ func (s *UpdateTimeToLiveOutput) SetTimeToLiveSpecification(v *TimeToLiveSpecifi // only request one of these operations, not both, in a single WriteRequest. // If you do need to perform both of these operations, you will need to provide // two separate WriteRequest objects. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/WriteRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/WriteRequest type WriteRequest struct { _ struct{} `type:"structure"` @@ -8737,6 +11395,17 @@ const ( AttributeActionDelete = "DELETE" ) +const ( + // BackupStatusCreating is a BackupStatus enum value + BackupStatusCreating = "CREATING" + + // BackupStatusDeleted is a BackupStatus enum value + BackupStatusDeleted = "DELETED" + + // BackupStatusAvailable is a BackupStatus enum value + BackupStatusAvailable = "AVAILABLE" +) + const ( // ComparisonOperatorEq is a ComparisonOperator enum value ComparisonOperatorEq = "EQ" @@ -8786,6 +11455,28 @@ const ( ConditionalOperatorOr = "OR" ) +const ( + // ContinuousBackupsStatusEnabled is a ContinuousBackupsStatus enum value + ContinuousBackupsStatusEnabled = "ENABLED" + + // ContinuousBackupsStatusDisabled is a ContinuousBackupsStatus enum value + ContinuousBackupsStatusDisabled = "DISABLED" +) + +const ( + // GlobalTableStatusCreating is a GlobalTableStatus enum value + GlobalTableStatusCreating = "CREATING" + + // GlobalTableStatusActive is a GlobalTableStatus enum value + GlobalTableStatusActive = "ACTIVE" + + // GlobalTableStatusDeleting is a GlobalTableStatus enum value + GlobalTableStatusDeleting = "DELETING" + + // GlobalTableStatusUpdating is a GlobalTableStatus enum value + GlobalTableStatusUpdating = "UPDATING" +) + const ( // IndexStatusCreating is a IndexStatus enum value IndexStatusCreating = "CREATING" diff --git a/vendor/github.com/aws/aws-sdk-go/service/dynamodb/errors.go b/vendor/github.com/aws/aws-sdk-go/service/dynamodb/errors.go index d47a10486fb..41986cfd57e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/dynamodb/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/dynamodb/errors.go @@ -4,12 +4,43 @@ package dynamodb const ( + // ErrCodeBackupInUseException for service response error code + // "BackupInUseException". + // + // There is another ongoing conflicting backup control plane operation on the + // table. The backups is either being created, deleted or restored to a table. + ErrCodeBackupInUseException = "BackupInUseException" + + // ErrCodeBackupNotFoundException for service response error code + // "BackupNotFoundException". + // + // Backup not found for the given BackupARN. + ErrCodeBackupNotFoundException = "BackupNotFoundException" + // ErrCodeConditionalCheckFailedException for service response error code // "ConditionalCheckFailedException". // // A condition specified in the operation could not be evaluated. ErrCodeConditionalCheckFailedException = "ConditionalCheckFailedException" + // ErrCodeContinuousBackupsUnavailableException for service response error code + // "ContinuousBackupsUnavailableException". + // + // Backups have not yet been enabled for this table. + ErrCodeContinuousBackupsUnavailableException = "ContinuousBackupsUnavailableException" + + // ErrCodeGlobalTableAlreadyExistsException for service response error code + // "GlobalTableAlreadyExistsException". + // + // The specified global table already exists. + ErrCodeGlobalTableAlreadyExistsException = "GlobalTableAlreadyExistsException" + + // ErrCodeGlobalTableNotFoundException for service response error code + // "GlobalTableNotFoundException". + // + // The specified global table does not exist. + ErrCodeGlobalTableNotFoundException = "GlobalTableNotFoundException" + // ErrCodeInternalServerError for service response error code // "InternalServerError". // @@ -47,6 +78,18 @@ const ( // in the Amazon DynamoDB Developer Guide. ErrCodeProvisionedThroughputExceededException = "ProvisionedThroughputExceededException" + // ErrCodeReplicaAlreadyExistsException for service response error code + // "ReplicaAlreadyExistsException". + // + // The specified replica is already part of the global table. + ErrCodeReplicaAlreadyExistsException = "ReplicaAlreadyExistsException" + + // ErrCodeReplicaNotFoundException for service response error code + // "ReplicaNotFoundException". + // + // The specified replica is no longer part of the global table. + ErrCodeReplicaNotFoundException = "ReplicaNotFoundException" + // ErrCodeResourceInUseException for service response error code // "ResourceInUseException". // @@ -61,4 +104,23 @@ const ( // The operation tried to access a nonexistent table or index. The resource // might not be specified correctly, or its status might not be ACTIVE. ErrCodeResourceNotFoundException = "ResourceNotFoundException" + + // ErrCodeTableAlreadyExistsException for service response error code + // "TableAlreadyExistsException". + // + // A table with the name already exists. + ErrCodeTableAlreadyExistsException = "TableAlreadyExistsException" + + // ErrCodeTableInUseException for service response error code + // "TableInUseException". + // + // A table by that name is either being created or deleted. + ErrCodeTableInUseException = "TableInUseException" + + // ErrCodeTableNotFoundException for service response error code + // "TableNotFoundException". + // + // A table with the name TableName does not currently exist within the subscriber's + // account. + ErrCodeTableNotFoundException = "TableNotFoundException" ) diff --git a/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go b/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go index bd67ff7c1db..0cd970b02d9 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go @@ -38,7 +38,7 @@ const opAcceptReservedInstancesExchangeQuote = "AcceptReservedInstancesExchangeQ // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptReservedInstancesExchangeQuote +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptReservedInstancesExchangeQuote func (c *EC2) AcceptReservedInstancesExchangeQuoteRequest(input *AcceptReservedInstancesExchangeQuoteInput) (req *request.Request, output *AcceptReservedInstancesExchangeQuoteOutput) { op := &request.Operation{ Name: opAcceptReservedInstancesExchangeQuote, @@ -66,7 +66,7 @@ func (c *EC2) AcceptReservedInstancesExchangeQuoteRequest(input *AcceptReservedI // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AcceptReservedInstancesExchangeQuote for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptReservedInstancesExchangeQuote +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptReservedInstancesExchangeQuote func (c *EC2) AcceptReservedInstancesExchangeQuote(input *AcceptReservedInstancesExchangeQuoteInput) (*AcceptReservedInstancesExchangeQuoteOutput, error) { req, out := c.AcceptReservedInstancesExchangeQuoteRequest(input) return out, req.Send() @@ -88,6 +88,81 @@ func (c *EC2) AcceptReservedInstancesExchangeQuoteWithContext(ctx aws.Context, i return out, req.Send() } +const opAcceptVpcEndpointConnections = "AcceptVpcEndpointConnections" + +// AcceptVpcEndpointConnectionsRequest generates a "aws/request.Request" representing the +// client's request for the AcceptVpcEndpointConnections operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See AcceptVpcEndpointConnections for more information on using the AcceptVpcEndpointConnections +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the AcceptVpcEndpointConnectionsRequest method. +// req, resp := client.AcceptVpcEndpointConnectionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcEndpointConnections +func (c *EC2) AcceptVpcEndpointConnectionsRequest(input *AcceptVpcEndpointConnectionsInput) (req *request.Request, output *AcceptVpcEndpointConnectionsOutput) { + op := &request.Operation{ + Name: opAcceptVpcEndpointConnections, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &AcceptVpcEndpointConnectionsInput{} + } + + output = &AcceptVpcEndpointConnectionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// AcceptVpcEndpointConnections API operation for Amazon Elastic Compute Cloud. +// +// Accepts one or more interface VPC endpoint connection requests to your VPC +// endpoint service. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation AcceptVpcEndpointConnections for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcEndpointConnections +func (c *EC2) AcceptVpcEndpointConnections(input *AcceptVpcEndpointConnectionsInput) (*AcceptVpcEndpointConnectionsOutput, error) { + req, out := c.AcceptVpcEndpointConnectionsRequest(input) + return out, req.Send() +} + +// AcceptVpcEndpointConnectionsWithContext is the same as AcceptVpcEndpointConnections with the addition of +// the ability to pass a context and additional request options. +// +// See AcceptVpcEndpointConnections for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) AcceptVpcEndpointConnectionsWithContext(ctx aws.Context, input *AcceptVpcEndpointConnectionsInput, opts ...request.Option) (*AcceptVpcEndpointConnectionsOutput, error) { + req, out := c.AcceptVpcEndpointConnectionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opAcceptVpcPeeringConnection = "AcceptVpcPeeringConnection" // AcceptVpcPeeringConnectionRequest generates a "aws/request.Request" representing the @@ -113,7 +188,7 @@ const opAcceptVpcPeeringConnection = "AcceptVpcPeeringConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcPeeringConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcPeeringConnection func (c *EC2) AcceptVpcPeeringConnectionRequest(input *AcceptVpcPeeringConnectionInput) (req *request.Request, output *AcceptVpcPeeringConnectionOutput) { op := &request.Operation{ Name: opAcceptVpcPeeringConnection, @@ -137,13 +212,16 @@ func (c *EC2) AcceptVpcPeeringConnectionRequest(input *AcceptVpcPeeringConnectio // of the peer VPC. Use DescribeVpcPeeringConnections to view your outstanding // VPC peering connection requests. // +// For an inter-region VPC peering connection request, you must accept the VPC +// peering connection in the region of the accepter VPC. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AcceptVpcPeeringConnection for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcPeeringConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcPeeringConnection func (c *EC2) AcceptVpcPeeringConnection(input *AcceptVpcPeeringConnectionInput) (*AcceptVpcPeeringConnectionOutput, error) { req, out := c.AcceptVpcPeeringConnectionRequest(input) return out, req.Send() @@ -190,7 +268,7 @@ const opAllocateAddress = "AllocateAddress" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddress func (c *EC2) AllocateAddressRequest(input *AllocateAddressInput) (req *request.Request, output *AllocateAddressOutput) { op := &request.Operation{ Name: opAllocateAddress, @@ -229,7 +307,7 @@ func (c *EC2) AllocateAddressRequest(input *AllocateAddressInput) (req *request. // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AllocateAddress for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddress func (c *EC2) AllocateAddress(input *AllocateAddressInput) (*AllocateAddressOutput, error) { req, out := c.AllocateAddressRequest(input) return out, req.Send() @@ -276,7 +354,7 @@ const opAllocateHosts = "AllocateHosts" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHosts +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHosts func (c *EC2) AllocateHostsRequest(input *AllocateHostsInput) (req *request.Request, output *AllocateHostsOutput) { op := &request.Operation{ Name: opAllocateHosts, @@ -305,7 +383,7 @@ func (c *EC2) AllocateHostsRequest(input *AllocateHostsInput) (req *request.Requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AllocateHosts for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHosts +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHosts func (c *EC2) AllocateHosts(input *AllocateHostsInput) (*AllocateHostsOutput, error) { req, out := c.AllocateHostsRequest(input) return out, req.Send() @@ -352,7 +430,7 @@ const opAssignIpv6Addresses = "AssignIpv6Addresses" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignIpv6Addresses +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignIpv6Addresses func (c *EC2) AssignIpv6AddressesRequest(input *AssignIpv6AddressesInput) (req *request.Request, output *AssignIpv6AddressesOutput) { op := &request.Operation{ Name: opAssignIpv6Addresses, @@ -386,7 +464,7 @@ func (c *EC2) AssignIpv6AddressesRequest(input *AssignIpv6AddressesInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AssignIpv6Addresses for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignIpv6Addresses +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignIpv6Addresses func (c *EC2) AssignIpv6Addresses(input *AssignIpv6AddressesInput) (*AssignIpv6AddressesOutput, error) { req, out := c.AssignIpv6AddressesRequest(input) return out, req.Send() @@ -433,7 +511,7 @@ const opAssignPrivateIpAddresses = "AssignPrivateIpAddresses" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddresses +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddresses func (c *EC2) AssignPrivateIpAddressesRequest(input *AssignPrivateIpAddressesInput) (req *request.Request, output *AssignPrivateIpAddressesOutput) { op := &request.Operation{ Name: opAssignPrivateIpAddresses, @@ -472,7 +550,7 @@ func (c *EC2) AssignPrivateIpAddressesRequest(input *AssignPrivateIpAddressesInp // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AssignPrivateIpAddresses for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddresses +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddresses func (c *EC2) AssignPrivateIpAddresses(input *AssignPrivateIpAddressesInput) (*AssignPrivateIpAddressesOutput, error) { req, out := c.AssignPrivateIpAddressesRequest(input) return out, req.Send() @@ -519,7 +597,7 @@ const opAssociateAddress = "AssociateAddress" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateAddress func (c *EC2) AssociateAddressRequest(input *AssociateAddressInput) (req *request.Request, output *AssociateAddressOutput) { op := &request.Operation{ Name: opAssociateAddress, @@ -569,7 +647,7 @@ func (c *EC2) AssociateAddressRequest(input *AssociateAddressInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AssociateAddress for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateAddress func (c *EC2) AssociateAddress(input *AssociateAddressInput) (*AssociateAddressOutput, error) { req, out := c.AssociateAddressRequest(input) return out, req.Send() @@ -616,7 +694,7 @@ const opAssociateDhcpOptions = "AssociateDhcpOptions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateDhcpOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateDhcpOptions func (c *EC2) AssociateDhcpOptionsRequest(input *AssociateDhcpOptionsInput) (req *request.Request, output *AssociateDhcpOptionsOutput) { op := &request.Operation{ Name: opAssociateDhcpOptions, @@ -656,7 +734,7 @@ func (c *EC2) AssociateDhcpOptionsRequest(input *AssociateDhcpOptionsInput) (req // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AssociateDhcpOptions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateDhcpOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateDhcpOptions func (c *EC2) AssociateDhcpOptions(input *AssociateDhcpOptionsInput) (*AssociateDhcpOptionsOutput, error) { req, out := c.AssociateDhcpOptionsRequest(input) return out, req.Send() @@ -703,7 +781,7 @@ const opAssociateIamInstanceProfile = "AssociateIamInstanceProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateIamInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateIamInstanceProfile func (c *EC2) AssociateIamInstanceProfileRequest(input *AssociateIamInstanceProfileInput) (req *request.Request, output *AssociateIamInstanceProfileOutput) { op := &request.Operation{ Name: opAssociateIamInstanceProfile, @@ -731,7 +809,7 @@ func (c *EC2) AssociateIamInstanceProfileRequest(input *AssociateIamInstanceProf // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AssociateIamInstanceProfile for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateIamInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateIamInstanceProfile func (c *EC2) AssociateIamInstanceProfile(input *AssociateIamInstanceProfileInput) (*AssociateIamInstanceProfileOutput, error) { req, out := c.AssociateIamInstanceProfileRequest(input) return out, req.Send() @@ -778,7 +856,7 @@ const opAssociateRouteTable = "AssociateRouteTable" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateRouteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateRouteTable func (c *EC2) AssociateRouteTableRequest(input *AssociateRouteTableInput) (req *request.Request, output *AssociateRouteTableOutput) { op := &request.Operation{ Name: opAssociateRouteTable, @@ -812,7 +890,7 @@ func (c *EC2) AssociateRouteTableRequest(input *AssociateRouteTableInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AssociateRouteTable for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateRouteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateRouteTable func (c *EC2) AssociateRouteTable(input *AssociateRouteTableInput) (*AssociateRouteTableOutput, error) { req, out := c.AssociateRouteTableRequest(input) return out, req.Send() @@ -859,7 +937,7 @@ const opAssociateSubnetCidrBlock = "AssociateSubnetCidrBlock" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSubnetCidrBlock +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSubnetCidrBlock func (c *EC2) AssociateSubnetCidrBlockRequest(input *AssociateSubnetCidrBlockInput) (req *request.Request, output *AssociateSubnetCidrBlockOutput) { op := &request.Operation{ Name: opAssociateSubnetCidrBlock, @@ -888,7 +966,7 @@ func (c *EC2) AssociateSubnetCidrBlockRequest(input *AssociateSubnetCidrBlockInp // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AssociateSubnetCidrBlock for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSubnetCidrBlock +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSubnetCidrBlock func (c *EC2) AssociateSubnetCidrBlock(input *AssociateSubnetCidrBlockInput) (*AssociateSubnetCidrBlockOutput, error) { req, out := c.AssociateSubnetCidrBlockRequest(input) return out, req.Send() @@ -935,7 +1013,7 @@ const opAssociateVpcCidrBlock = "AssociateVpcCidrBlock" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateVpcCidrBlock +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateVpcCidrBlock func (c *EC2) AssociateVpcCidrBlockRequest(input *AssociateVpcCidrBlockInput) (req *request.Request, output *AssociateVpcCidrBlockOutput) { op := &request.Operation{ Name: opAssociateVpcCidrBlock, @@ -968,7 +1046,7 @@ func (c *EC2) AssociateVpcCidrBlockRequest(input *AssociateVpcCidrBlockInput) (r // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AssociateVpcCidrBlock for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateVpcCidrBlock +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateVpcCidrBlock func (c *EC2) AssociateVpcCidrBlock(input *AssociateVpcCidrBlockInput) (*AssociateVpcCidrBlockOutput, error) { req, out := c.AssociateVpcCidrBlockRequest(input) return out, req.Send() @@ -1015,7 +1093,7 @@ const opAttachClassicLinkVpc = "AttachClassicLinkVpc" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachClassicLinkVpc +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachClassicLinkVpc func (c *EC2) AttachClassicLinkVpcRequest(input *AttachClassicLinkVpcInput) (req *request.Request, output *AttachClassicLinkVpcOutput) { op := &request.Operation{ Name: opAttachClassicLinkVpc, @@ -1053,7 +1131,7 @@ func (c *EC2) AttachClassicLinkVpcRequest(input *AttachClassicLinkVpcInput) (req // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AttachClassicLinkVpc for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachClassicLinkVpc +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachClassicLinkVpc func (c *EC2) AttachClassicLinkVpc(input *AttachClassicLinkVpcInput) (*AttachClassicLinkVpcOutput, error) { req, out := c.AttachClassicLinkVpcRequest(input) return out, req.Send() @@ -1100,7 +1178,7 @@ const opAttachInternetGateway = "AttachInternetGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachInternetGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachInternetGateway func (c *EC2) AttachInternetGatewayRequest(input *AttachInternetGatewayInput) (req *request.Request, output *AttachInternetGatewayOutput) { op := &request.Operation{ Name: opAttachInternetGateway, @@ -1131,7 +1209,7 @@ func (c *EC2) AttachInternetGatewayRequest(input *AttachInternetGatewayInput) (r // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AttachInternetGateway for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachInternetGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachInternetGateway func (c *EC2) AttachInternetGateway(input *AttachInternetGatewayInput) (*AttachInternetGatewayOutput, error) { req, out := c.AttachInternetGatewayRequest(input) return out, req.Send() @@ -1178,7 +1256,7 @@ const opAttachNetworkInterface = "AttachNetworkInterface" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachNetworkInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachNetworkInterface func (c *EC2) AttachNetworkInterfaceRequest(input *AttachNetworkInterfaceInput) (req *request.Request, output *AttachNetworkInterfaceOutput) { op := &request.Operation{ Name: opAttachNetworkInterface, @@ -1205,7 +1283,7 @@ func (c *EC2) AttachNetworkInterfaceRequest(input *AttachNetworkInterfaceInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AttachNetworkInterface for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachNetworkInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachNetworkInterface func (c *EC2) AttachNetworkInterface(input *AttachNetworkInterfaceInput) (*AttachNetworkInterfaceOutput, error) { req, out := c.AttachNetworkInterfaceRequest(input) return out, req.Send() @@ -1252,7 +1330,7 @@ const opAttachVolume = "AttachVolume" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVolume func (c *EC2) AttachVolumeRequest(input *AttachVolumeInput) (req *request.Request, output *VolumeAttachment) { op := &request.Operation{ Name: opAttachVolume, @@ -1308,7 +1386,7 @@ func (c *EC2) AttachVolumeRequest(input *AttachVolumeInput) (req *request.Reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AttachVolume for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVolume func (c *EC2) AttachVolume(input *AttachVolumeInput) (*VolumeAttachment, error) { req, out := c.AttachVolumeRequest(input) return out, req.Send() @@ -1355,7 +1433,7 @@ const opAttachVpnGateway = "AttachVpnGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVpnGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVpnGateway func (c *EC2) AttachVpnGatewayRequest(input *AttachVpnGatewayInput) (req *request.Request, output *AttachVpnGatewayOutput) { op := &request.Operation{ Name: opAttachVpnGateway, @@ -1386,7 +1464,7 @@ func (c *EC2) AttachVpnGatewayRequest(input *AttachVpnGatewayInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AttachVpnGateway for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVpnGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVpnGateway func (c *EC2) AttachVpnGateway(input *AttachVpnGatewayInput) (*AttachVpnGatewayOutput, error) { req, out := c.AttachVpnGatewayRequest(input) return out, req.Send() @@ -1433,7 +1511,7 @@ const opAuthorizeSecurityGroupEgress = "AuthorizeSecurityGroupEgress" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgress func (c *EC2) AuthorizeSecurityGroupEgressRequest(input *AuthorizeSecurityGroupEgressInput) (req *request.Request, output *AuthorizeSecurityGroupEgressOutput) { op := &request.Operation{ Name: opAuthorizeSecurityGroupEgress, @@ -1479,7 +1557,7 @@ func (c *EC2) AuthorizeSecurityGroupEgressRequest(input *AuthorizeSecurityGroupE // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AuthorizeSecurityGroupEgress for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgress func (c *EC2) AuthorizeSecurityGroupEgress(input *AuthorizeSecurityGroupEgressInput) (*AuthorizeSecurityGroupEgressOutput, error) { req, out := c.AuthorizeSecurityGroupEgressRequest(input) return out, req.Send() @@ -1526,7 +1604,7 @@ const opAuthorizeSecurityGroupIngress = "AuthorizeSecurityGroupIngress" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngress func (c *EC2) AuthorizeSecurityGroupIngressRequest(input *AuthorizeSecurityGroupIngressInput) (req *request.Request, output *AuthorizeSecurityGroupIngressOutput) { op := &request.Operation{ Name: opAuthorizeSecurityGroupIngress, @@ -1573,7 +1651,7 @@ func (c *EC2) AuthorizeSecurityGroupIngressRequest(input *AuthorizeSecurityGroup // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation AuthorizeSecurityGroupIngress for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngress func (c *EC2) AuthorizeSecurityGroupIngress(input *AuthorizeSecurityGroupIngressInput) (*AuthorizeSecurityGroupIngressOutput, error) { req, out := c.AuthorizeSecurityGroupIngressRequest(input) return out, req.Send() @@ -1620,7 +1698,7 @@ const opBundleInstance = "BundleInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleInstance func (c *EC2) BundleInstanceRequest(input *BundleInstanceInput) (req *request.Request, output *BundleInstanceOutput) { op := &request.Operation{ Name: opBundleInstance, @@ -1655,7 +1733,7 @@ func (c *EC2) BundleInstanceRequest(input *BundleInstanceInput) (req *request.Re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation BundleInstance for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleInstance func (c *EC2) BundleInstance(input *BundleInstanceInput) (*BundleInstanceOutput, error) { req, out := c.BundleInstanceRequest(input) return out, req.Send() @@ -1702,7 +1780,7 @@ const opCancelBundleTask = "CancelBundleTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelBundleTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelBundleTask func (c *EC2) CancelBundleTaskRequest(input *CancelBundleTaskInput) (req *request.Request, output *CancelBundleTaskOutput) { op := &request.Operation{ Name: opCancelBundleTask, @@ -1729,7 +1807,7 @@ func (c *EC2) CancelBundleTaskRequest(input *CancelBundleTaskInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CancelBundleTask for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelBundleTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelBundleTask func (c *EC2) CancelBundleTask(input *CancelBundleTaskInput) (*CancelBundleTaskOutput, error) { req, out := c.CancelBundleTaskRequest(input) return out, req.Send() @@ -1776,7 +1854,7 @@ const opCancelConversionTask = "CancelConversionTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelConversionTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelConversionTask func (c *EC2) CancelConversionTaskRequest(input *CancelConversionTaskInput) (req *request.Request, output *CancelConversionTaskOutput) { op := &request.Operation{ Name: opCancelConversionTask, @@ -1812,7 +1890,7 @@ func (c *EC2) CancelConversionTaskRequest(input *CancelConversionTaskInput) (req // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CancelConversionTask for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelConversionTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelConversionTask func (c *EC2) CancelConversionTask(input *CancelConversionTaskInput) (*CancelConversionTaskOutput, error) { req, out := c.CancelConversionTaskRequest(input) return out, req.Send() @@ -1859,7 +1937,7 @@ const opCancelExportTask = "CancelExportTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelExportTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelExportTask func (c *EC2) CancelExportTaskRequest(input *CancelExportTaskInput) (req *request.Request, output *CancelExportTaskOutput) { op := &request.Operation{ Name: opCancelExportTask, @@ -1891,7 +1969,7 @@ func (c *EC2) CancelExportTaskRequest(input *CancelExportTaskInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CancelExportTask for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelExportTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelExportTask func (c *EC2) CancelExportTask(input *CancelExportTaskInput) (*CancelExportTaskOutput, error) { req, out := c.CancelExportTaskRequest(input) return out, req.Send() @@ -1938,7 +2016,7 @@ const opCancelImportTask = "CancelImportTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImportTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImportTask func (c *EC2) CancelImportTaskRequest(input *CancelImportTaskInput) (req *request.Request, output *CancelImportTaskOutput) { op := &request.Operation{ Name: opCancelImportTask, @@ -1965,7 +2043,7 @@ func (c *EC2) CancelImportTaskRequest(input *CancelImportTaskInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CancelImportTask for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImportTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImportTask func (c *EC2) CancelImportTask(input *CancelImportTaskInput) (*CancelImportTaskOutput, error) { req, out := c.CancelImportTaskRequest(input) return out, req.Send() @@ -2012,7 +2090,7 @@ const opCancelReservedInstancesListing = "CancelReservedInstancesListing" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelReservedInstancesListing +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelReservedInstancesListing func (c *EC2) CancelReservedInstancesListingRequest(input *CancelReservedInstancesListingInput) (req *request.Request, output *CancelReservedInstancesListingOutput) { op := &request.Operation{ Name: opCancelReservedInstancesListing, @@ -2043,7 +2121,7 @@ func (c *EC2) CancelReservedInstancesListingRequest(input *CancelReservedInstanc // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CancelReservedInstancesListing for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelReservedInstancesListing +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelReservedInstancesListing func (c *EC2) CancelReservedInstancesListing(input *CancelReservedInstancesListingInput) (*CancelReservedInstancesListingOutput, error) { req, out := c.CancelReservedInstancesListingRequest(input) return out, req.Send() @@ -2090,7 +2168,7 @@ const opCancelSpotFleetRequests = "CancelSpotFleetRequests" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequests +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequests func (c *EC2) CancelSpotFleetRequestsRequest(input *CancelSpotFleetRequestsInput) (req *request.Request, output *CancelSpotFleetRequestsOutput) { op := &request.Operation{ Name: opCancelSpotFleetRequests, @@ -2109,12 +2187,12 @@ func (c *EC2) CancelSpotFleetRequestsRequest(input *CancelSpotFleetRequestsInput // CancelSpotFleetRequests API operation for Amazon Elastic Compute Cloud. // -// Cancels the specified Spot fleet requests. +// Cancels the specified Spot Fleet requests. // -// After you cancel a Spot fleet request, the Spot fleet launches no new Spot -// instances. You must specify whether the Spot fleet should also terminate -// its Spot instances. If you terminate the instances, the Spot fleet request -// enters the cancelled_terminating state. Otherwise, the Spot fleet request +// After you cancel a Spot Fleet request, the Spot Fleet launches no new Spot +// Instances. You must specify whether the Spot Fleet should also terminate +// its Spot Instances. If you terminate the instances, the Spot Fleet request +// enters the cancelled_terminating state. Otherwise, the Spot Fleet request // enters the cancelled_running state and the instances continue to run until // they are interrupted or you terminate them manually. // @@ -2124,7 +2202,7 @@ func (c *EC2) CancelSpotFleetRequestsRequest(input *CancelSpotFleetRequestsInput // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CancelSpotFleetRequests for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequests +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequests func (c *EC2) CancelSpotFleetRequests(input *CancelSpotFleetRequestsInput) (*CancelSpotFleetRequestsOutput, error) { req, out := c.CancelSpotFleetRequestsRequest(input) return out, req.Send() @@ -2171,7 +2249,7 @@ const opCancelSpotInstanceRequests = "CancelSpotInstanceRequests" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotInstanceRequests +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotInstanceRequests func (c *EC2) CancelSpotInstanceRequestsRequest(input *CancelSpotInstanceRequestsInput) (req *request.Request, output *CancelSpotInstanceRequestsOutput) { op := &request.Operation{ Name: opCancelSpotInstanceRequests, @@ -2190,14 +2268,13 @@ func (c *EC2) CancelSpotInstanceRequestsRequest(input *CancelSpotInstanceRequest // CancelSpotInstanceRequests API operation for Amazon Elastic Compute Cloud. // -// Cancels one or more Spot instance requests. Spot instances are instances -// that Amazon EC2 starts on your behalf when the bid price that you specify -// exceeds the current Spot price. Amazon EC2 periodically sets the Spot price -// based on available Spot instance capacity and current Spot instance requests. -// For more information, see Spot Instance Requests (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html) -// in the Amazon Elastic Compute Cloud User Guide. +// Cancels one or more Spot Instance requests. Spot Instances are instances +// that Amazon EC2 starts on your behalf when the maximum price that you specify +// exceeds the current Spot price. For more information, see Spot Instance Requests +// (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html) in +// the Amazon Elastic Compute Cloud User Guide. // -// Canceling a Spot instance request does not terminate running Spot instances +// Canceling a Spot Instance request does not terminate running Spot Instances // associated with the request. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -2206,7 +2283,7 @@ func (c *EC2) CancelSpotInstanceRequestsRequest(input *CancelSpotInstanceRequest // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CancelSpotInstanceRequests for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotInstanceRequests +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotInstanceRequests func (c *EC2) CancelSpotInstanceRequests(input *CancelSpotInstanceRequestsInput) (*CancelSpotInstanceRequestsOutput, error) { req, out := c.CancelSpotInstanceRequestsRequest(input) return out, req.Send() @@ -2253,7 +2330,7 @@ const opConfirmProductInstance = "ConfirmProductInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConfirmProductInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConfirmProductInstance func (c *EC2) ConfirmProductInstanceRequest(input *ConfirmProductInstanceInput) (req *request.Request, output *ConfirmProductInstanceOutput) { op := &request.Operation{ Name: opConfirmProductInstance, @@ -2282,7 +2359,7 @@ func (c *EC2) ConfirmProductInstanceRequest(input *ConfirmProductInstanceInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ConfirmProductInstance for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConfirmProductInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConfirmProductInstance func (c *EC2) ConfirmProductInstance(input *ConfirmProductInstanceInput) (*ConfirmProductInstanceOutput, error) { req, out := c.ConfirmProductInstanceRequest(input) return out, req.Send() @@ -2329,7 +2406,7 @@ const opCopyFpgaImage = "CopyFpgaImage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImage func (c *EC2) CopyFpgaImageRequest(input *CopyFpgaImageInput) (req *request.Request, output *CopyFpgaImageOutput) { op := &request.Operation{ Name: opCopyFpgaImage, @@ -2356,7 +2433,7 @@ func (c *EC2) CopyFpgaImageRequest(input *CopyFpgaImageInput) (req *request.Requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CopyFpgaImage for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImage func (c *EC2) CopyFpgaImage(input *CopyFpgaImageInput) (*CopyFpgaImageOutput, error) { req, out := c.CopyFpgaImageRequest(input) return out, req.Send() @@ -2403,7 +2480,7 @@ const opCopyImage = "CopyImage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImage func (c *EC2) CopyImageRequest(input *CopyImageInput) (req *request.Request, output *CopyImageOutput) { op := &request.Operation{ Name: opCopyImage, @@ -2436,7 +2513,7 @@ func (c *EC2) CopyImageRequest(input *CopyImageInput) (req *request.Request, out // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CopyImage for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImage func (c *EC2) CopyImage(input *CopyImageInput) (*CopyImageOutput, error) { req, out := c.CopyImageRequest(input) return out, req.Send() @@ -2483,7 +2560,7 @@ const opCopySnapshot = "CopySnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopySnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopySnapshot func (c *EC2) CopySnapshotRequest(input *CopySnapshotInput) (req *request.Request, output *CopySnapshotOutput) { op := &request.Operation{ Name: opCopySnapshot, @@ -2529,7 +2606,7 @@ func (c *EC2) CopySnapshotRequest(input *CopySnapshotInput) (req *request.Reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CopySnapshot for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopySnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopySnapshot func (c *EC2) CopySnapshot(input *CopySnapshotInput) (*CopySnapshotOutput, error) { req, out := c.CopySnapshotRequest(input) return out, req.Send() @@ -2576,7 +2653,7 @@ const opCreateCustomerGateway = "CreateCustomerGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCustomerGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCustomerGateway func (c *EC2) CreateCustomerGatewayRequest(input *CreateCustomerGatewayInput) (req *request.Request, output *CreateCustomerGatewayOutput) { op := &request.Operation{ Name: opCreateCustomerGateway, @@ -2627,7 +2704,7 @@ func (c *EC2) CreateCustomerGatewayRequest(input *CreateCustomerGatewayInput) (r // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateCustomerGateway for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCustomerGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCustomerGateway func (c *EC2) CreateCustomerGateway(input *CreateCustomerGatewayInput) (*CreateCustomerGatewayOutput, error) { req, out := c.CreateCustomerGatewayRequest(input) return out, req.Send() @@ -2674,7 +2751,7 @@ const opCreateDefaultSubnet = "CreateDefaultSubnet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnet +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnet func (c *EC2) CreateDefaultSubnetRequest(input *CreateDefaultSubnetInput) (req *request.Request, output *CreateDefaultSubnetOutput) { op := &request.Operation{ Name: opCreateDefaultSubnet, @@ -2705,7 +2782,7 @@ func (c *EC2) CreateDefaultSubnetRequest(input *CreateDefaultSubnetInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateDefaultSubnet for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnet +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnet func (c *EC2) CreateDefaultSubnet(input *CreateDefaultSubnetInput) (*CreateDefaultSubnetOutput, error) { req, out := c.CreateDefaultSubnetRequest(input) return out, req.Send() @@ -2752,7 +2829,7 @@ const opCreateDefaultVpc = "CreateDefaultVpc" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpc +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpc func (c *EC2) CreateDefaultVpcRequest(input *CreateDefaultVpcInput) (req *request.Request, output *CreateDefaultVpcOutput) { op := &request.Operation{ Name: opCreateDefaultVpc, @@ -2791,7 +2868,7 @@ func (c *EC2) CreateDefaultVpcRequest(input *CreateDefaultVpcInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateDefaultVpc for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpc +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpc func (c *EC2) CreateDefaultVpc(input *CreateDefaultVpcInput) (*CreateDefaultVpcOutput, error) { req, out := c.CreateDefaultVpcRequest(input) return out, req.Send() @@ -2838,7 +2915,7 @@ const opCreateDhcpOptions = "CreateDhcpOptions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDhcpOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDhcpOptions func (c *EC2) CreateDhcpOptionsRequest(input *CreateDhcpOptionsInput) (req *request.Request, output *CreateDhcpOptionsOutput) { op := &request.Operation{ Name: opCreateDhcpOptions, @@ -2904,7 +2981,7 @@ func (c *EC2) CreateDhcpOptionsRequest(input *CreateDhcpOptionsInput) (req *requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateDhcpOptions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDhcpOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDhcpOptions func (c *EC2) CreateDhcpOptions(input *CreateDhcpOptionsInput) (*CreateDhcpOptionsOutput, error) { req, out := c.CreateDhcpOptionsRequest(input) return out, req.Send() @@ -2951,7 +3028,7 @@ const opCreateEgressOnlyInternetGateway = "CreateEgressOnlyInternetGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGateway func (c *EC2) CreateEgressOnlyInternetGatewayRequest(input *CreateEgressOnlyInternetGatewayInput) (req *request.Request, output *CreateEgressOnlyInternetGatewayOutput) { op := &request.Operation{ Name: opCreateEgressOnlyInternetGateway, @@ -2981,7 +3058,7 @@ func (c *EC2) CreateEgressOnlyInternetGatewayRequest(input *CreateEgressOnlyInte // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateEgressOnlyInternetGateway for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGateway func (c *EC2) CreateEgressOnlyInternetGateway(input *CreateEgressOnlyInternetGatewayInput) (*CreateEgressOnlyInternetGatewayOutput, error) { req, out := c.CreateEgressOnlyInternetGatewayRequest(input) return out, req.Send() @@ -3028,7 +3105,7 @@ const opCreateFlowLogs = "CreateFlowLogs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogs +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogs func (c *EC2) CreateFlowLogsRequest(input *CreateFlowLogsInput) (req *request.Request, output *CreateFlowLogsOutput) { op := &request.Operation{ Name: opCreateFlowLogs, @@ -3064,7 +3141,7 @@ func (c *EC2) CreateFlowLogsRequest(input *CreateFlowLogsInput) (req *request.Re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateFlowLogs for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogs +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogs func (c *EC2) CreateFlowLogs(input *CreateFlowLogsInput) (*CreateFlowLogsOutput, error) { req, out := c.CreateFlowLogsRequest(input) return out, req.Send() @@ -3111,7 +3188,7 @@ const opCreateFpgaImage = "CreateFpgaImage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFpgaImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFpgaImage func (c *EC2) CreateFpgaImageRequest(input *CreateFpgaImageInput) (req *request.Request, output *CreateFpgaImageOutput) { op := &request.Operation{ Name: opCreateFpgaImage, @@ -3145,7 +3222,7 @@ func (c *EC2) CreateFpgaImageRequest(input *CreateFpgaImageInput) (req *request. // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateFpgaImage for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFpgaImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFpgaImage func (c *EC2) CreateFpgaImage(input *CreateFpgaImageInput) (*CreateFpgaImageOutput, error) { req, out := c.CreateFpgaImageRequest(input) return out, req.Send() @@ -3192,7 +3269,7 @@ const opCreateImage = "CreateImage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImage func (c *EC2) CreateImageRequest(input *CreateImageInput) (req *request.Request, output *CreateImageOutput) { op := &request.Operation{ Name: opCreateImage, @@ -3228,7 +3305,7 @@ func (c *EC2) CreateImageRequest(input *CreateImageInput) (req *request.Request, // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateImage for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImage func (c *EC2) CreateImage(input *CreateImageInput) (*CreateImageOutput, error) { req, out := c.CreateImageRequest(input) return out, req.Send() @@ -3275,7 +3352,7 @@ const opCreateInstanceExportTask = "CreateInstanceExportTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceExportTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceExportTask func (c *EC2) CreateInstanceExportTaskRequest(input *CreateInstanceExportTaskInput) (req *request.Request, output *CreateInstanceExportTaskOutput) { op := &request.Operation{ Name: opCreateInstanceExportTask, @@ -3307,7 +3384,7 @@ func (c *EC2) CreateInstanceExportTaskRequest(input *CreateInstanceExportTaskInp // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateInstanceExportTask for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceExportTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceExportTask func (c *EC2) CreateInstanceExportTask(input *CreateInstanceExportTaskInput) (*CreateInstanceExportTaskOutput, error) { req, out := c.CreateInstanceExportTaskRequest(input) return out, req.Send() @@ -3354,7 +3431,7 @@ const opCreateInternetGateway = "CreateInternetGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGateway func (c *EC2) CreateInternetGatewayRequest(input *CreateInternetGatewayInput) (req *request.Request, output *CreateInternetGatewayOutput) { op := &request.Operation{ Name: opCreateInternetGateway, @@ -3385,7 +3462,7 @@ func (c *EC2) CreateInternetGatewayRequest(input *CreateInternetGatewayInput) (r // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateInternetGateway for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGateway func (c *EC2) CreateInternetGateway(input *CreateInternetGatewayInput) (*CreateInternetGatewayOutput, error) { req, out := c.CreateInternetGatewayRequest(input) return out, req.Send() @@ -3432,7 +3509,7 @@ const opCreateKeyPair = "CreateKeyPair" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateKeyPair +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateKeyPair func (c *EC2) CreateKeyPairRequest(input *CreateKeyPairInput) (req *request.Request, output *CreateKeyPairOutput) { op := &request.Operation{ Name: opCreateKeyPair, @@ -3453,15 +3530,16 @@ func (c *EC2) CreateKeyPairRequest(input *CreateKeyPairInput) (req *request.Requ // // Creates a 2048-bit RSA key pair with the specified name. Amazon EC2 stores // the public key and displays the private key for you to save to a file. The -// private key is returned as an unencrypted PEM encoded PKCS#8 private key. +// private key is returned as an unencrypted PEM encoded PKCS#1 private key. // If a key with the specified name already exists, Amazon EC2 returns an error. // // You can have up to five thousand key pairs per region. // // The key pair returned to you is available only in the region in which you -// create it. To create a key pair that is available in all regions, use ImportKeyPair. +// create it. If you prefer, you can create your own key pair using a third-party +// tool and upload it to any region using ImportKeyPair. // -// For more information about key pairs, see Key Pairs (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) +// For more information, see Key Pairs (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) // in the Amazon Elastic Compute Cloud User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -3470,7 +3548,7 @@ func (c *EC2) CreateKeyPairRequest(input *CreateKeyPairInput) (req *request.Requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateKeyPair for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateKeyPair +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateKeyPair func (c *EC2) CreateKeyPair(input *CreateKeyPairInput) (*CreateKeyPairOutput, error) { req, out := c.CreateKeyPairRequest(input) return out, req.Send() @@ -3492,6 +3570,160 @@ func (c *EC2) CreateKeyPairWithContext(ctx aws.Context, input *CreateKeyPairInpu return out, req.Send() } +const opCreateLaunchTemplate = "CreateLaunchTemplate" + +// CreateLaunchTemplateRequest generates a "aws/request.Request" representing the +// client's request for the CreateLaunchTemplate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateLaunchTemplate for more information on using the CreateLaunchTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateLaunchTemplateRequest method. +// req, resp := client.CreateLaunchTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplate +func (c *EC2) CreateLaunchTemplateRequest(input *CreateLaunchTemplateInput) (req *request.Request, output *CreateLaunchTemplateOutput) { + op := &request.Operation{ + Name: opCreateLaunchTemplate, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateLaunchTemplateInput{} + } + + output = &CreateLaunchTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateLaunchTemplate API operation for Amazon Elastic Compute Cloud. +// +// Creates a launch template. A launch template contains the parameters to launch +// an instance. When you launch an instance using RunInstances, you can specify +// a launch template instead of providing the launch parameters in the request. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation CreateLaunchTemplate for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplate +func (c *EC2) CreateLaunchTemplate(input *CreateLaunchTemplateInput) (*CreateLaunchTemplateOutput, error) { + req, out := c.CreateLaunchTemplateRequest(input) + return out, req.Send() +} + +// CreateLaunchTemplateWithContext is the same as CreateLaunchTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See CreateLaunchTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) CreateLaunchTemplateWithContext(ctx aws.Context, input *CreateLaunchTemplateInput, opts ...request.Option) (*CreateLaunchTemplateOutput, error) { + req, out := c.CreateLaunchTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateLaunchTemplateVersion = "CreateLaunchTemplateVersion" + +// CreateLaunchTemplateVersionRequest generates a "aws/request.Request" representing the +// client's request for the CreateLaunchTemplateVersion operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateLaunchTemplateVersion for more information on using the CreateLaunchTemplateVersion +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateLaunchTemplateVersionRequest method. +// req, resp := client.CreateLaunchTemplateVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersion +func (c *EC2) CreateLaunchTemplateVersionRequest(input *CreateLaunchTemplateVersionInput) (req *request.Request, output *CreateLaunchTemplateVersionOutput) { + op := &request.Operation{ + Name: opCreateLaunchTemplateVersion, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateLaunchTemplateVersionInput{} + } + + output = &CreateLaunchTemplateVersionOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateLaunchTemplateVersion API operation for Amazon Elastic Compute Cloud. +// +// Creates a new version for a launch template. You can specify an existing +// version of launch template from which to base the new version. +// +// Launch template versions are numbered in the order in which they are created. +// You cannot specify, change, or replace the numbering of launch template versions. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation CreateLaunchTemplateVersion for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersion +func (c *EC2) CreateLaunchTemplateVersion(input *CreateLaunchTemplateVersionInput) (*CreateLaunchTemplateVersionOutput, error) { + req, out := c.CreateLaunchTemplateVersionRequest(input) + return out, req.Send() +} + +// CreateLaunchTemplateVersionWithContext is the same as CreateLaunchTemplateVersion with the addition of +// the ability to pass a context and additional request options. +// +// See CreateLaunchTemplateVersion for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) CreateLaunchTemplateVersionWithContext(ctx aws.Context, input *CreateLaunchTemplateVersionInput, opts ...request.Option) (*CreateLaunchTemplateVersionOutput, error) { + req, out := c.CreateLaunchTemplateVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateNatGateway = "CreateNatGateway" // CreateNatGatewayRequest generates a "aws/request.Request" representing the @@ -3517,7 +3749,7 @@ const opCreateNatGateway = "CreateNatGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGateway func (c *EC2) CreateNatGatewayRequest(input *CreateNatGatewayInput) (req *request.Request, output *CreateNatGatewayOutput) { op := &request.Operation{ Name: opCreateNatGateway, @@ -3549,7 +3781,7 @@ func (c *EC2) CreateNatGatewayRequest(input *CreateNatGatewayInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateNatGateway for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGateway func (c *EC2) CreateNatGateway(input *CreateNatGatewayInput) (*CreateNatGatewayOutput, error) { req, out := c.CreateNatGatewayRequest(input) return out, req.Send() @@ -3596,7 +3828,7 @@ const opCreateNetworkAcl = "CreateNetworkAcl" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAcl +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAcl func (c *EC2) CreateNetworkAclRequest(input *CreateNetworkAclInput) (req *request.Request, output *CreateNetworkAclOutput) { op := &request.Operation{ Name: opCreateNetworkAcl, @@ -3627,7 +3859,7 @@ func (c *EC2) CreateNetworkAclRequest(input *CreateNetworkAclInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateNetworkAcl for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAcl +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAcl func (c *EC2) CreateNetworkAcl(input *CreateNetworkAclInput) (*CreateNetworkAclOutput, error) { req, out := c.CreateNetworkAclRequest(input) return out, req.Send() @@ -3674,7 +3906,7 @@ const opCreateNetworkAclEntry = "CreateNetworkAclEntry" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclEntry func (c *EC2) CreateNetworkAclEntryRequest(input *CreateNetworkAclEntryInput) (req *request.Request, output *CreateNetworkAclEntryOutput) { op := &request.Operation{ Name: opCreateNetworkAclEntry, @@ -3719,7 +3951,7 @@ func (c *EC2) CreateNetworkAclEntryRequest(input *CreateNetworkAclEntryInput) (r // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateNetworkAclEntry for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclEntry func (c *EC2) CreateNetworkAclEntry(input *CreateNetworkAclEntryInput) (*CreateNetworkAclEntryOutput, error) { req, out := c.CreateNetworkAclEntryRequest(input) return out, req.Send() @@ -3766,7 +3998,7 @@ const opCreateNetworkInterface = "CreateNetworkInterface" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterface func (c *EC2) CreateNetworkInterfaceRequest(input *CreateNetworkInterfaceInput) (req *request.Request, output *CreateNetworkInterfaceOutput) { op := &request.Operation{ Name: opCreateNetworkInterface, @@ -3797,7 +4029,7 @@ func (c *EC2) CreateNetworkInterfaceRequest(input *CreateNetworkInterfaceInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateNetworkInterface for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterface func (c *EC2) CreateNetworkInterface(input *CreateNetworkInterfaceInput) (*CreateNetworkInterfaceOutput, error) { req, out := c.CreateNetworkInterfaceRequest(input) return out, req.Send() @@ -3844,7 +4076,7 @@ const opCreateNetworkInterfacePermission = "CreateNetworkInterfacePermission" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermission func (c *EC2) CreateNetworkInterfacePermissionRequest(input *CreateNetworkInterfacePermissionInput) (req *request.Request, output *CreateNetworkInterfacePermissionOutput) { op := &request.Operation{ Name: opCreateNetworkInterfacePermission, @@ -3875,7 +4107,7 @@ func (c *EC2) CreateNetworkInterfacePermissionRequest(input *CreateNetworkInterf // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateNetworkInterfacePermission for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermission func (c *EC2) CreateNetworkInterfacePermission(input *CreateNetworkInterfacePermissionInput) (*CreateNetworkInterfacePermissionOutput, error) { req, out := c.CreateNetworkInterfacePermissionRequest(input) return out, req.Send() @@ -3922,7 +4154,7 @@ const opCreatePlacementGroup = "CreatePlacementGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroup func (c *EC2) CreatePlacementGroupRequest(input *CreatePlacementGroupInput) (req *request.Request, output *CreatePlacementGroupOutput) { op := &request.Operation{ Name: opCreatePlacementGroup, @@ -3943,11 +4175,14 @@ func (c *EC2) CreatePlacementGroupRequest(input *CreatePlacementGroupInput) (req // CreatePlacementGroup API operation for Amazon Elastic Compute Cloud. // -// Creates a placement group that you launch cluster instances into. Give the -// group a name that's unique within the scope of your account. +// Creates a placement group in which to launch instances. The strategy of the +// placement group determines how the instances are organized within the group. // -// For more information about placement groups and cluster instances, see Cluster -// Instances (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cluster_computing.html) +// A cluster placement group is a logical grouping of instances within a single +// Availability Zone that benefit from low network latency, high network throughput. +// A spread placement group places instances on distinct hardware. +// +// For more information, see Placement Groups (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) // in the Amazon Elastic Compute Cloud User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -3956,7 +4191,7 @@ func (c *EC2) CreatePlacementGroupRequest(input *CreatePlacementGroupInput) (req // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreatePlacementGroup for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroup func (c *EC2) CreatePlacementGroup(input *CreatePlacementGroupInput) (*CreatePlacementGroupOutput, error) { req, out := c.CreatePlacementGroupRequest(input) return out, req.Send() @@ -4003,7 +4238,7 @@ const opCreateReservedInstancesListing = "CreateReservedInstancesListing" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReservedInstancesListing +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReservedInstancesListing func (c *EC2) CreateReservedInstancesListingRequest(input *CreateReservedInstancesListingInput) (req *request.Request, output *CreateReservedInstancesListingOutput) { op := &request.Operation{ Name: opCreateReservedInstancesListing, @@ -4053,7 +4288,7 @@ func (c *EC2) CreateReservedInstancesListingRequest(input *CreateReservedInstanc // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateReservedInstancesListing for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReservedInstancesListing +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReservedInstancesListing func (c *EC2) CreateReservedInstancesListing(input *CreateReservedInstancesListingInput) (*CreateReservedInstancesListingOutput, error) { req, out := c.CreateReservedInstancesListingRequest(input) return out, req.Send() @@ -4100,7 +4335,7 @@ const opCreateRoute = "CreateRoute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRoute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRoute func (c *EC2) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, output *CreateRouteOutput) { op := &request.Operation{ Name: opCreateRoute, @@ -4146,7 +4381,7 @@ func (c *EC2) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateRoute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRoute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRoute func (c *EC2) CreateRoute(input *CreateRouteInput) (*CreateRouteOutput, error) { req, out := c.CreateRouteRequest(input) return out, req.Send() @@ -4193,7 +4428,7 @@ const opCreateRouteTable = "CreateRouteTable" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTable func (c *EC2) CreateRouteTableRequest(input *CreateRouteTableInput) (req *request.Request, output *CreateRouteTableOutput) { op := &request.Operation{ Name: opCreateRouteTable, @@ -4224,7 +4459,7 @@ func (c *EC2) CreateRouteTableRequest(input *CreateRouteTableInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateRouteTable for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTable func (c *EC2) CreateRouteTable(input *CreateRouteTableInput) (*CreateRouteTableOutput, error) { req, out := c.CreateRouteTableRequest(input) return out, req.Send() @@ -4271,7 +4506,7 @@ const opCreateSecurityGroup = "CreateSecurityGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroup func (c *EC2) CreateSecurityGroupRequest(input *CreateSecurityGroupInput) (req *request.Request, output *CreateSecurityGroupOutput) { op := &request.Operation{ Name: opCreateSecurityGroup, @@ -4324,7 +4559,7 @@ func (c *EC2) CreateSecurityGroupRequest(input *CreateSecurityGroupInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateSecurityGroup for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroup func (c *EC2) CreateSecurityGroup(input *CreateSecurityGroupInput) (*CreateSecurityGroupOutput, error) { req, out := c.CreateSecurityGroupRequest(input) return out, req.Send() @@ -4371,7 +4606,7 @@ const opCreateSnapshot = "CreateSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshot func (c *EC2) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *Snapshot) { op := &request.Operation{ Name: opCreateSnapshot, @@ -4425,7 +4660,7 @@ func (c *EC2) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateSnapshot for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshot func (c *EC2) CreateSnapshot(input *CreateSnapshotInput) (*Snapshot, error) { req, out := c.CreateSnapshotRequest(input) return out, req.Send() @@ -4472,7 +4707,7 @@ const opCreateSpotDatafeedSubscription = "CreateSpotDatafeedSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscription func (c *EC2) CreateSpotDatafeedSubscriptionRequest(input *CreateSpotDatafeedSubscriptionInput) (req *request.Request, output *CreateSpotDatafeedSubscriptionOutput) { op := &request.Operation{ Name: opCreateSpotDatafeedSubscription, @@ -4491,7 +4726,7 @@ func (c *EC2) CreateSpotDatafeedSubscriptionRequest(input *CreateSpotDatafeedSub // CreateSpotDatafeedSubscription API operation for Amazon Elastic Compute Cloud. // -// Creates a data feed for Spot instances, enabling you to view Spot instance +// Creates a data feed for Spot Instances, enabling you to view Spot Instance // usage logs. You can create one data feed per AWS account. For more information, // see Spot Instance Data Feed (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html) // in the Amazon Elastic Compute Cloud User Guide. @@ -4502,7 +4737,7 @@ func (c *EC2) CreateSpotDatafeedSubscriptionRequest(input *CreateSpotDatafeedSub // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateSpotDatafeedSubscription for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscription func (c *EC2) CreateSpotDatafeedSubscription(input *CreateSpotDatafeedSubscriptionInput) (*CreateSpotDatafeedSubscriptionOutput, error) { req, out := c.CreateSpotDatafeedSubscriptionRequest(input) return out, req.Send() @@ -4549,7 +4784,7 @@ const opCreateSubnet = "CreateSubnet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnet +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnet func (c *EC2) CreateSubnetRequest(input *CreateSubnetInput) (req *request.Request, output *CreateSubnetOutput) { op := &request.Operation{ Name: opCreateSubnet, @@ -4602,7 +4837,7 @@ func (c *EC2) CreateSubnetRequest(input *CreateSubnetInput) (req *request.Reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateSubnet for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnet +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnet func (c *EC2) CreateSubnet(input *CreateSubnetInput) (*CreateSubnetOutput, error) { req, out := c.CreateSubnetRequest(input) return out, req.Send() @@ -4649,7 +4884,7 @@ const opCreateTags = "CreateTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTags func (c *EC2) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput) { op := &request.Operation{ Name: opCreateTags, @@ -4686,7 +4921,7 @@ func (c *EC2) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, o // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateTags for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTags func (c *EC2) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error) { req, out := c.CreateTagsRequest(input) return out, req.Send() @@ -4733,7 +4968,7 @@ const opCreateVolume = "CreateVolume" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolume func (c *EC2) CreateVolumeRequest(input *CreateVolumeInput) (req *request.Request, output *Volume) { op := &request.Operation{ Name: opCreateVolume, @@ -4778,7 +5013,7 @@ func (c *EC2) CreateVolumeRequest(input *CreateVolumeInput) (req *request.Reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateVolume for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolume func (c *EC2) CreateVolume(input *CreateVolumeInput) (*Volume, error) { req, out := c.CreateVolumeRequest(input) return out, req.Send() @@ -4825,7 +5060,7 @@ const opCreateVpc = "CreateVpc" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpc +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpc func (c *EC2) CreateVpcRequest(input *CreateVpcInput) (req *request.Request, output *CreateVpcOutput) { op := &request.Operation{ Name: opCreateVpc, @@ -4870,7 +5105,7 @@ func (c *EC2) CreateVpcRequest(input *CreateVpcInput) (req *request.Request, out // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateVpc for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpc +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpc func (c *EC2) CreateVpc(input *CreateVpcInput) (*CreateVpcOutput, error) { req, out := c.CreateVpcRequest(input) return out, req.Send() @@ -4917,7 +5152,7 @@ const opCreateVpcEndpoint = "CreateVpcEndpoint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpoint func (c *EC2) CreateVpcEndpointRequest(input *CreateVpcEndpointInput) (req *request.Request, output *CreateVpcEndpointOutput) { op := &request.Operation{ Name: opCreateVpcEndpoint, @@ -4936,20 +5171,23 @@ func (c *EC2) CreateVpcEndpointRequest(input *CreateVpcEndpointInput) (req *requ // CreateVpcEndpoint API operation for Amazon Elastic Compute Cloud. // -// Creates a VPC endpoint for a specified AWS service. An endpoint enables you -// to create a private connection between your VPC and another AWS service in -// your account. You can create a gateway endpoint or an interface endpoint. +// Creates a VPC endpoint for a specified service. An endpoint enables you to +// create a private connection between your VPC and the service. The service +// may be provided by AWS, an AWS Marketplace partner, or another AWS account. +// For more information, see VPC Endpoints (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-endpoints.html) +// in the Amazon Virtual Private Cloud User Guide. // // A gateway endpoint serves as a target for a route in your route table for -// traffic destined for the AWS service. You can specify the VPC route tables -// that use the endpoint, and you can optionally specify an endpoint policy +// traffic destined for the AWS service. You can specify an endpoint policy // to attach to the endpoint that will control access to the service from your -// VPC. +// VPC. You can also specify the VPC route tables that use the endpoint. // -// An interface endpoint is a network interface in your subnet with a private -// IP address that serves as an entry point for traffic destined to the AWS -// service. You can specify the subnets in which to create an endpoint, and -// the security groups to associate with the network interface. +// An interface endpoint is a network interface in your subnet that serves as +// an endpoint for communicating with the specified service. You can specify +// the subnets in which to create an endpoint, and the security groups to associate +// with the endpoint network interface. +// +// Use DescribeVpcEndpointServices to get a list of supported services. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4957,7 +5195,7 @@ func (c *EC2) CreateVpcEndpointRequest(input *CreateVpcEndpointInput) (req *requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateVpcEndpoint for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpoint func (c *EC2) CreateVpcEndpoint(input *CreateVpcEndpointInput) (*CreateVpcEndpointOutput, error) { req, out := c.CreateVpcEndpointRequest(input) return out, req.Send() @@ -4979,6 +5217,167 @@ func (c *EC2) CreateVpcEndpointWithContext(ctx aws.Context, input *CreateVpcEndp return out, req.Send() } +const opCreateVpcEndpointConnectionNotification = "CreateVpcEndpointConnectionNotification" + +// CreateVpcEndpointConnectionNotificationRequest generates a "aws/request.Request" representing the +// client's request for the CreateVpcEndpointConnectionNotification operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateVpcEndpointConnectionNotification for more information on using the CreateVpcEndpointConnectionNotification +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateVpcEndpointConnectionNotificationRequest method. +// req, resp := client.CreateVpcEndpointConnectionNotificationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointConnectionNotification +func (c *EC2) CreateVpcEndpointConnectionNotificationRequest(input *CreateVpcEndpointConnectionNotificationInput) (req *request.Request, output *CreateVpcEndpointConnectionNotificationOutput) { + op := &request.Operation{ + Name: opCreateVpcEndpointConnectionNotification, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateVpcEndpointConnectionNotificationInput{} + } + + output = &CreateVpcEndpointConnectionNotificationOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateVpcEndpointConnectionNotification API operation for Amazon Elastic Compute Cloud. +// +// Creates a connection notification for a specified VPC endpoint or VPC endpoint +// service. A connection notification notifies you of specific endpoint events. +// You must create an SNS topic to receive notifications. For more information, +// see Create a Topic (http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) +// in the Amazon Simple Notification Service Developer Guide. +// +// You can create a connection notification for interface endpoints only. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation CreateVpcEndpointConnectionNotification for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointConnectionNotification +func (c *EC2) CreateVpcEndpointConnectionNotification(input *CreateVpcEndpointConnectionNotificationInput) (*CreateVpcEndpointConnectionNotificationOutput, error) { + req, out := c.CreateVpcEndpointConnectionNotificationRequest(input) + return out, req.Send() +} + +// CreateVpcEndpointConnectionNotificationWithContext is the same as CreateVpcEndpointConnectionNotification with the addition of +// the ability to pass a context and additional request options. +// +// See CreateVpcEndpointConnectionNotification for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) CreateVpcEndpointConnectionNotificationWithContext(ctx aws.Context, input *CreateVpcEndpointConnectionNotificationInput, opts ...request.Option) (*CreateVpcEndpointConnectionNotificationOutput, error) { + req, out := c.CreateVpcEndpointConnectionNotificationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateVpcEndpointServiceConfiguration = "CreateVpcEndpointServiceConfiguration" + +// CreateVpcEndpointServiceConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the CreateVpcEndpointServiceConfiguration operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateVpcEndpointServiceConfiguration for more information on using the CreateVpcEndpointServiceConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateVpcEndpointServiceConfigurationRequest method. +// req, resp := client.CreateVpcEndpointServiceConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointServiceConfiguration +func (c *EC2) CreateVpcEndpointServiceConfigurationRequest(input *CreateVpcEndpointServiceConfigurationInput) (req *request.Request, output *CreateVpcEndpointServiceConfigurationOutput) { + op := &request.Operation{ + Name: opCreateVpcEndpointServiceConfiguration, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateVpcEndpointServiceConfigurationInput{} + } + + output = &CreateVpcEndpointServiceConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateVpcEndpointServiceConfiguration API operation for Amazon Elastic Compute Cloud. +// +// Creates a VPC endpoint service configuration to which service consumers (AWS +// accounts, IAM users, and IAM roles) can connect. Service consumers can create +// an interface VPC endpoint to connect to your service. +// +// To create an endpoint service configuration, you must first create a Network +// Load Balancer for your service. For more information, see VPC Endpoint Services +// (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/endpoint-service.html) +// in the Amazon Virtual Private Cloud User Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation CreateVpcEndpointServiceConfiguration for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointServiceConfiguration +func (c *EC2) CreateVpcEndpointServiceConfiguration(input *CreateVpcEndpointServiceConfigurationInput) (*CreateVpcEndpointServiceConfigurationOutput, error) { + req, out := c.CreateVpcEndpointServiceConfigurationRequest(input) + return out, req.Send() +} + +// CreateVpcEndpointServiceConfigurationWithContext is the same as CreateVpcEndpointServiceConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See CreateVpcEndpointServiceConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) CreateVpcEndpointServiceConfigurationWithContext(ctx aws.Context, input *CreateVpcEndpointServiceConfigurationInput, opts ...request.Option) (*CreateVpcEndpointServiceConfigurationOutput, error) { + req, out := c.CreateVpcEndpointServiceConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateVpcPeeringConnection = "CreateVpcPeeringConnection" // CreateVpcPeeringConnectionRequest generates a "aws/request.Request" representing the @@ -5004,7 +5403,7 @@ const opCreateVpcPeeringConnection = "CreateVpcPeeringConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnection func (c *EC2) CreateVpcPeeringConnectionRequest(input *CreateVpcPeeringConnectionInput) (req *request.Request, output *CreateVpcPeeringConnectionOutput) { op := &request.Operation{ Name: opCreateVpcPeeringConnection, @@ -5024,16 +5423,17 @@ func (c *EC2) CreateVpcPeeringConnectionRequest(input *CreateVpcPeeringConnectio // CreateVpcPeeringConnection API operation for Amazon Elastic Compute Cloud. // // Requests a VPC peering connection between two VPCs: a requester VPC that -// you own and a peer VPC with which to create the connection. The peer VPC -// can belong to another AWS account. The requester VPC and peer VPC cannot -// have overlapping CIDR blocks. +// you own and an accepter VPC with which to create the connection. The accepter +// VPC can belong to another AWS account and can be in a different region to +// the requester VPC. The requester VPC and accepter VPC cannot have overlapping +// CIDR blocks. // -// The owner of the peer VPC must accept the peering request to activate the -// peering connection. The VPC peering connection request expires after 7 days, -// after which it cannot be accepted or rejected. +// The owner of the accepter VPC must accept the peering request to activate +// the peering connection. The VPC peering connection request expires after +// 7 days, after which it cannot be accepted or rejected. // -// If you try to create a VPC peering connection between VPCs that have overlapping -// CIDR blocks, the VPC peering connection status goes to failed. +// If you create a VPC peering connection request between VPCs with overlapping +// CIDR blocks, the VPC peering connection has a status of failed. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5041,7 +5441,7 @@ func (c *EC2) CreateVpcPeeringConnectionRequest(input *CreateVpcPeeringConnectio // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateVpcPeeringConnection for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnection func (c *EC2) CreateVpcPeeringConnection(input *CreateVpcPeeringConnectionInput) (*CreateVpcPeeringConnectionOutput, error) { req, out := c.CreateVpcPeeringConnectionRequest(input) return out, req.Send() @@ -5088,7 +5488,7 @@ const opCreateVpnConnection = "CreateVpnConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnection func (c *EC2) CreateVpnConnectionRequest(input *CreateVpnConnectionInput) (req *request.Request, output *CreateVpnConnectionOutput) { op := &request.Operation{ Name: opCreateVpnConnection, @@ -5133,7 +5533,7 @@ func (c *EC2) CreateVpnConnectionRequest(input *CreateVpnConnectionInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateVpnConnection for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnection func (c *EC2) CreateVpnConnection(input *CreateVpnConnectionInput) (*CreateVpnConnectionOutput, error) { req, out := c.CreateVpnConnectionRequest(input) return out, req.Send() @@ -5180,7 +5580,7 @@ const opCreateVpnConnectionRoute = "CreateVpnConnectionRoute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRoute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRoute func (c *EC2) CreateVpnConnectionRouteRequest(input *CreateVpnConnectionRouteInput) (req *request.Request, output *CreateVpnConnectionRouteOutput) { op := &request.Operation{ Name: opCreateVpnConnectionRoute, @@ -5216,7 +5616,7 @@ func (c *EC2) CreateVpnConnectionRouteRequest(input *CreateVpnConnectionRouteInp // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateVpnConnectionRoute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRoute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRoute func (c *EC2) CreateVpnConnectionRoute(input *CreateVpnConnectionRouteInput) (*CreateVpnConnectionRouteOutput, error) { req, out := c.CreateVpnConnectionRouteRequest(input) return out, req.Send() @@ -5263,7 +5663,7 @@ const opCreateVpnGateway = "CreateVpnGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnGateway func (c *EC2) CreateVpnGatewayRequest(input *CreateVpnGatewayInput) (req *request.Request, output *CreateVpnGatewayOutput) { op := &request.Operation{ Name: opCreateVpnGateway, @@ -5296,7 +5696,7 @@ func (c *EC2) CreateVpnGatewayRequest(input *CreateVpnGatewayInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation CreateVpnGateway for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnGateway func (c *EC2) CreateVpnGateway(input *CreateVpnGatewayInput) (*CreateVpnGatewayOutput, error) { req, out := c.CreateVpnGatewayRequest(input) return out, req.Send() @@ -5343,7 +5743,7 @@ const opDeleteCustomerGateway = "DeleteCustomerGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCustomerGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCustomerGateway func (c *EC2) DeleteCustomerGatewayRequest(input *DeleteCustomerGatewayInput) (req *request.Request, output *DeleteCustomerGatewayOutput) { op := &request.Operation{ Name: opDeleteCustomerGateway, @@ -5373,7 +5773,7 @@ func (c *EC2) DeleteCustomerGatewayRequest(input *DeleteCustomerGatewayInput) (r // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteCustomerGateway for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCustomerGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCustomerGateway func (c *EC2) DeleteCustomerGateway(input *DeleteCustomerGatewayInput) (*DeleteCustomerGatewayOutput, error) { req, out := c.DeleteCustomerGatewayRequest(input) return out, req.Send() @@ -5420,7 +5820,7 @@ const opDeleteDhcpOptions = "DeleteDhcpOptions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteDhcpOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteDhcpOptions func (c *EC2) DeleteDhcpOptionsRequest(input *DeleteDhcpOptionsInput) (req *request.Request, output *DeleteDhcpOptionsOutput) { op := &request.Operation{ Name: opDeleteDhcpOptions, @@ -5452,7 +5852,7 @@ func (c *EC2) DeleteDhcpOptionsRequest(input *DeleteDhcpOptionsInput) (req *requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteDhcpOptions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteDhcpOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteDhcpOptions func (c *EC2) DeleteDhcpOptions(input *DeleteDhcpOptionsInput) (*DeleteDhcpOptionsOutput, error) { req, out := c.DeleteDhcpOptionsRequest(input) return out, req.Send() @@ -5499,7 +5899,7 @@ const opDeleteEgressOnlyInternetGateway = "DeleteEgressOnlyInternetGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteEgressOnlyInternetGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteEgressOnlyInternetGateway func (c *EC2) DeleteEgressOnlyInternetGatewayRequest(input *DeleteEgressOnlyInternetGatewayInput) (req *request.Request, output *DeleteEgressOnlyInternetGatewayOutput) { op := &request.Operation{ Name: opDeleteEgressOnlyInternetGateway, @@ -5526,7 +5926,7 @@ func (c *EC2) DeleteEgressOnlyInternetGatewayRequest(input *DeleteEgressOnlyInte // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteEgressOnlyInternetGateway for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteEgressOnlyInternetGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteEgressOnlyInternetGateway func (c *EC2) DeleteEgressOnlyInternetGateway(input *DeleteEgressOnlyInternetGatewayInput) (*DeleteEgressOnlyInternetGatewayOutput, error) { req, out := c.DeleteEgressOnlyInternetGatewayRequest(input) return out, req.Send() @@ -5573,7 +5973,7 @@ const opDeleteFlowLogs = "DeleteFlowLogs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFlowLogs +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFlowLogs func (c *EC2) DeleteFlowLogsRequest(input *DeleteFlowLogsInput) (req *request.Request, output *DeleteFlowLogsOutput) { op := &request.Operation{ Name: opDeleteFlowLogs, @@ -5600,7 +6000,7 @@ func (c *EC2) DeleteFlowLogsRequest(input *DeleteFlowLogsInput) (req *request.Re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteFlowLogs for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFlowLogs +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFlowLogs func (c *EC2) DeleteFlowLogs(input *DeleteFlowLogsInput) (*DeleteFlowLogsOutput, error) { req, out := c.DeleteFlowLogsRequest(input) return out, req.Send() @@ -5647,7 +6047,7 @@ const opDeleteFpgaImage = "DeleteFpgaImage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImage func (c *EC2) DeleteFpgaImageRequest(input *DeleteFpgaImageInput) (req *request.Request, output *DeleteFpgaImageOutput) { op := &request.Operation{ Name: opDeleteFpgaImage, @@ -5674,7 +6074,7 @@ func (c *EC2) DeleteFpgaImageRequest(input *DeleteFpgaImageInput) (req *request. // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteFpgaImage for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImage func (c *EC2) DeleteFpgaImage(input *DeleteFpgaImageInput) (*DeleteFpgaImageOutput, error) { req, out := c.DeleteFpgaImageRequest(input) return out, req.Send() @@ -5721,7 +6121,7 @@ const opDeleteInternetGateway = "DeleteInternetGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInternetGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInternetGateway func (c *EC2) DeleteInternetGatewayRequest(input *DeleteInternetGatewayInput) (req *request.Request, output *DeleteInternetGatewayOutput) { op := &request.Operation{ Name: opDeleteInternetGateway, @@ -5751,7 +6151,7 @@ func (c *EC2) DeleteInternetGatewayRequest(input *DeleteInternetGatewayInput) (r // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteInternetGateway for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInternetGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInternetGateway func (c *EC2) DeleteInternetGateway(input *DeleteInternetGatewayInput) (*DeleteInternetGatewayOutput, error) { req, out := c.DeleteInternetGatewayRequest(input) return out, req.Send() @@ -5798,7 +6198,7 @@ const opDeleteKeyPair = "DeleteKeyPair" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPair +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPair func (c *EC2) DeleteKeyPairRequest(input *DeleteKeyPairInput) (req *request.Request, output *DeleteKeyPairOutput) { op := &request.Operation{ Name: opDeleteKeyPair, @@ -5827,7 +6227,7 @@ func (c *EC2) DeleteKeyPairRequest(input *DeleteKeyPairInput) (req *request.Requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteKeyPair for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPair +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPair func (c *EC2) DeleteKeyPair(input *DeleteKeyPairInput) (*DeleteKeyPairOutput, error) { req, out := c.DeleteKeyPairRequest(input) return out, req.Send() @@ -5849,6 +6249,158 @@ func (c *EC2) DeleteKeyPairWithContext(ctx aws.Context, input *DeleteKeyPairInpu return out, req.Send() } +const opDeleteLaunchTemplate = "DeleteLaunchTemplate" + +// DeleteLaunchTemplateRequest generates a "aws/request.Request" representing the +// client's request for the DeleteLaunchTemplate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteLaunchTemplate for more information on using the DeleteLaunchTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteLaunchTemplateRequest method. +// req, resp := client.DeleteLaunchTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplate +func (c *EC2) DeleteLaunchTemplateRequest(input *DeleteLaunchTemplateInput) (req *request.Request, output *DeleteLaunchTemplateOutput) { + op := &request.Operation{ + Name: opDeleteLaunchTemplate, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteLaunchTemplateInput{} + } + + output = &DeleteLaunchTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteLaunchTemplate API operation for Amazon Elastic Compute Cloud. +// +// Deletes a launch template. Deleting a launch template deletes all of its +// versions. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DeleteLaunchTemplate for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplate +func (c *EC2) DeleteLaunchTemplate(input *DeleteLaunchTemplateInput) (*DeleteLaunchTemplateOutput, error) { + req, out := c.DeleteLaunchTemplateRequest(input) + return out, req.Send() +} + +// DeleteLaunchTemplateWithContext is the same as DeleteLaunchTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteLaunchTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DeleteLaunchTemplateWithContext(ctx aws.Context, input *DeleteLaunchTemplateInput, opts ...request.Option) (*DeleteLaunchTemplateOutput, error) { + req, out := c.DeleteLaunchTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteLaunchTemplateVersions = "DeleteLaunchTemplateVersions" + +// DeleteLaunchTemplateVersionsRequest generates a "aws/request.Request" representing the +// client's request for the DeleteLaunchTemplateVersions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteLaunchTemplateVersions for more information on using the DeleteLaunchTemplateVersions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteLaunchTemplateVersionsRequest method. +// req, resp := client.DeleteLaunchTemplateVersionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateVersions +func (c *EC2) DeleteLaunchTemplateVersionsRequest(input *DeleteLaunchTemplateVersionsInput) (req *request.Request, output *DeleteLaunchTemplateVersionsOutput) { + op := &request.Operation{ + Name: opDeleteLaunchTemplateVersions, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteLaunchTemplateVersionsInput{} + } + + output = &DeleteLaunchTemplateVersionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteLaunchTemplateVersions API operation for Amazon Elastic Compute Cloud. +// +// Deletes one or more versions of a launch template. You cannot delete the +// default version of a launch template; you must first assign a different version +// as the default. If the default version is the only version for the launch +// template, you must delete the entire launch template using DeleteLaunchTemplate. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DeleteLaunchTemplateVersions for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateVersions +func (c *EC2) DeleteLaunchTemplateVersions(input *DeleteLaunchTemplateVersionsInput) (*DeleteLaunchTemplateVersionsOutput, error) { + req, out := c.DeleteLaunchTemplateVersionsRequest(input) + return out, req.Send() +} + +// DeleteLaunchTemplateVersionsWithContext is the same as DeleteLaunchTemplateVersions with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteLaunchTemplateVersions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DeleteLaunchTemplateVersionsWithContext(ctx aws.Context, input *DeleteLaunchTemplateVersionsInput, opts ...request.Option) (*DeleteLaunchTemplateVersionsOutput, error) { + req, out := c.DeleteLaunchTemplateVersionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteNatGateway = "DeleteNatGateway" // DeleteNatGatewayRequest generates a "aws/request.Request" representing the @@ -5874,7 +6426,7 @@ const opDeleteNatGateway = "DeleteNatGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNatGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNatGateway func (c *EC2) DeleteNatGatewayRequest(input *DeleteNatGatewayInput) (req *request.Request, output *DeleteNatGatewayOutput) { op := &request.Operation{ Name: opDeleteNatGateway, @@ -5903,7 +6455,7 @@ func (c *EC2) DeleteNatGatewayRequest(input *DeleteNatGatewayInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteNatGateway for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNatGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNatGateway func (c *EC2) DeleteNatGateway(input *DeleteNatGatewayInput) (*DeleteNatGatewayOutput, error) { req, out := c.DeleteNatGatewayRequest(input) return out, req.Send() @@ -5950,7 +6502,7 @@ const opDeleteNetworkAcl = "DeleteNetworkAcl" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAcl +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAcl func (c *EC2) DeleteNetworkAclRequest(input *DeleteNetworkAclInput) (req *request.Request, output *DeleteNetworkAclOutput) { op := &request.Operation{ Name: opDeleteNetworkAcl, @@ -5980,7 +6532,7 @@ func (c *EC2) DeleteNetworkAclRequest(input *DeleteNetworkAclInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteNetworkAcl for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAcl +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAcl func (c *EC2) DeleteNetworkAcl(input *DeleteNetworkAclInput) (*DeleteNetworkAclOutput, error) { req, out := c.DeleteNetworkAclRequest(input) return out, req.Send() @@ -6027,7 +6579,7 @@ const opDeleteNetworkAclEntry = "DeleteNetworkAclEntry" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclEntry func (c *EC2) DeleteNetworkAclEntryRequest(input *DeleteNetworkAclEntryInput) (req *request.Request, output *DeleteNetworkAclEntryOutput) { op := &request.Operation{ Name: opDeleteNetworkAclEntry, @@ -6057,7 +6609,7 @@ func (c *EC2) DeleteNetworkAclEntryRequest(input *DeleteNetworkAclEntryInput) (r // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteNetworkAclEntry for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclEntry func (c *EC2) DeleteNetworkAclEntry(input *DeleteNetworkAclEntryInput) (*DeleteNetworkAclEntryOutput, error) { req, out := c.DeleteNetworkAclEntryRequest(input) return out, req.Send() @@ -6104,7 +6656,7 @@ const opDeleteNetworkInterface = "DeleteNetworkInterface" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterface func (c *EC2) DeleteNetworkInterfaceRequest(input *DeleteNetworkInterfaceInput) (req *request.Request, output *DeleteNetworkInterfaceOutput) { op := &request.Operation{ Name: opDeleteNetworkInterface, @@ -6134,7 +6686,7 @@ func (c *EC2) DeleteNetworkInterfaceRequest(input *DeleteNetworkInterfaceInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteNetworkInterface for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterface func (c *EC2) DeleteNetworkInterface(input *DeleteNetworkInterfaceInput) (*DeleteNetworkInterfaceOutput, error) { req, out := c.DeleteNetworkInterfaceRequest(input) return out, req.Send() @@ -6181,7 +6733,7 @@ const opDeleteNetworkInterfacePermission = "DeleteNetworkInterfacePermission" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermission func (c *EC2) DeleteNetworkInterfacePermissionRequest(input *DeleteNetworkInterfacePermissionInput) (req *request.Request, output *DeleteNetworkInterfacePermissionOutput) { op := &request.Operation{ Name: opDeleteNetworkInterfacePermission, @@ -6211,7 +6763,7 @@ func (c *EC2) DeleteNetworkInterfacePermissionRequest(input *DeleteNetworkInterf // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteNetworkInterfacePermission for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermission func (c *EC2) DeleteNetworkInterfacePermission(input *DeleteNetworkInterfacePermissionInput) (*DeleteNetworkInterfacePermissionOutput, error) { req, out := c.DeleteNetworkInterfacePermissionRequest(input) return out, req.Send() @@ -6258,7 +6810,7 @@ const opDeletePlacementGroup = "DeletePlacementGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePlacementGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePlacementGroup func (c *EC2) DeletePlacementGroupRequest(input *DeletePlacementGroupInput) (req *request.Request, output *DeletePlacementGroupOutput) { op := &request.Operation{ Name: opDeletePlacementGroup, @@ -6280,8 +6832,8 @@ func (c *EC2) DeletePlacementGroupRequest(input *DeletePlacementGroupInput) (req // DeletePlacementGroup API operation for Amazon Elastic Compute Cloud. // // Deletes the specified placement group. You must terminate all instances in -// the placement group before you can delete the placement group. For more information -// about placement groups and cluster instances, see Cluster Instances (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cluster_computing.html) +// the placement group before you can delete the placement group. For more information, +// see Placement Groups (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) // in the Amazon Elastic Compute Cloud User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -6290,7 +6842,7 @@ func (c *EC2) DeletePlacementGroupRequest(input *DeletePlacementGroupInput) (req // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeletePlacementGroup for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePlacementGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePlacementGroup func (c *EC2) DeletePlacementGroup(input *DeletePlacementGroupInput) (*DeletePlacementGroupOutput, error) { req, out := c.DeletePlacementGroupRequest(input) return out, req.Send() @@ -6337,7 +6889,7 @@ const opDeleteRoute = "DeleteRoute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRoute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRoute func (c *EC2) DeleteRouteRequest(input *DeleteRouteInput) (req *request.Request, output *DeleteRouteOutput) { op := &request.Operation{ Name: opDeleteRoute, @@ -6366,7 +6918,7 @@ func (c *EC2) DeleteRouteRequest(input *DeleteRouteInput) (req *request.Request, // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteRoute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRoute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRoute func (c *EC2) DeleteRoute(input *DeleteRouteInput) (*DeleteRouteOutput, error) { req, out := c.DeleteRouteRequest(input) return out, req.Send() @@ -6413,7 +6965,7 @@ const opDeleteRouteTable = "DeleteRouteTable" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteTable func (c *EC2) DeleteRouteTableRequest(input *DeleteRouteTableInput) (req *request.Request, output *DeleteRouteTableOutput) { op := &request.Operation{ Name: opDeleteRouteTable, @@ -6444,7 +6996,7 @@ func (c *EC2) DeleteRouteTableRequest(input *DeleteRouteTableInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteRouteTable for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteTable func (c *EC2) DeleteRouteTable(input *DeleteRouteTableInput) (*DeleteRouteTableOutput, error) { req, out := c.DeleteRouteTableRequest(input) return out, req.Send() @@ -6491,7 +7043,7 @@ const opDeleteSecurityGroup = "DeleteSecurityGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroup func (c *EC2) DeleteSecurityGroupRequest(input *DeleteSecurityGroupInput) (req *request.Request, output *DeleteSecurityGroupOutput) { op := &request.Operation{ Name: opDeleteSecurityGroup, @@ -6524,7 +7076,7 @@ func (c *EC2) DeleteSecurityGroupRequest(input *DeleteSecurityGroupInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteSecurityGroup for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroup func (c *EC2) DeleteSecurityGroup(input *DeleteSecurityGroupInput) (*DeleteSecurityGroupOutput, error) { req, out := c.DeleteSecurityGroupRequest(input) return out, req.Send() @@ -6571,7 +7123,7 @@ const opDeleteSnapshot = "DeleteSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSnapshot func (c *EC2) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *request.Request, output *DeleteSnapshotOutput) { op := &request.Operation{ Name: opDeleteSnapshot, @@ -6614,7 +7166,7 @@ func (c *EC2) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *request.Re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteSnapshot for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSnapshot func (c *EC2) DeleteSnapshot(input *DeleteSnapshotInput) (*DeleteSnapshotOutput, error) { req, out := c.DeleteSnapshotRequest(input) return out, req.Send() @@ -6661,7 +7213,7 @@ const opDeleteSpotDatafeedSubscription = "DeleteSpotDatafeedSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSpotDatafeedSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSpotDatafeedSubscription func (c *EC2) DeleteSpotDatafeedSubscriptionRequest(input *DeleteSpotDatafeedSubscriptionInput) (req *request.Request, output *DeleteSpotDatafeedSubscriptionOutput) { op := &request.Operation{ Name: opDeleteSpotDatafeedSubscription, @@ -6682,7 +7234,7 @@ func (c *EC2) DeleteSpotDatafeedSubscriptionRequest(input *DeleteSpotDatafeedSub // DeleteSpotDatafeedSubscription API operation for Amazon Elastic Compute Cloud. // -// Deletes the data feed for Spot instances. +// Deletes the data feed for Spot Instances. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6690,7 +7242,7 @@ func (c *EC2) DeleteSpotDatafeedSubscriptionRequest(input *DeleteSpotDatafeedSub // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteSpotDatafeedSubscription for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSpotDatafeedSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSpotDatafeedSubscription func (c *EC2) DeleteSpotDatafeedSubscription(input *DeleteSpotDatafeedSubscriptionInput) (*DeleteSpotDatafeedSubscriptionOutput, error) { req, out := c.DeleteSpotDatafeedSubscriptionRequest(input) return out, req.Send() @@ -6737,7 +7289,7 @@ const opDeleteSubnet = "DeleteSubnet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnet +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnet func (c *EC2) DeleteSubnetRequest(input *DeleteSubnetInput) (req *request.Request, output *DeleteSubnetOutput) { op := &request.Operation{ Name: opDeleteSubnet, @@ -6767,7 +7319,7 @@ func (c *EC2) DeleteSubnetRequest(input *DeleteSubnetInput) (req *request.Reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteSubnet for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnet +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnet func (c *EC2) DeleteSubnet(input *DeleteSubnetInput) (*DeleteSubnetOutput, error) { req, out := c.DeleteSubnetRequest(input) return out, req.Send() @@ -6814,7 +7366,7 @@ const opDeleteTags = "DeleteTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTags func (c *EC2) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { op := &request.Operation{ Name: opDeleteTags, @@ -6847,7 +7399,7 @@ func (c *EC2) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, o // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteTags for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTags func (c *EC2) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { req, out := c.DeleteTagsRequest(input) return out, req.Send() @@ -6894,7 +7446,7 @@ const opDeleteVolume = "DeleteVolume" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVolume func (c *EC2) DeleteVolumeRequest(input *DeleteVolumeInput) (req *request.Request, output *DeleteVolumeOutput) { op := &request.Operation{ Name: opDeleteVolume, @@ -6929,7 +7481,7 @@ func (c *EC2) DeleteVolumeRequest(input *DeleteVolumeInput) (req *request.Reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteVolume for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVolume func (c *EC2) DeleteVolume(input *DeleteVolumeInput) (*DeleteVolumeOutput, error) { req, out := c.DeleteVolumeRequest(input) return out, req.Send() @@ -6976,7 +7528,7 @@ const opDeleteVpc = "DeleteVpc" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpc +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpc func (c *EC2) DeleteVpcRequest(input *DeleteVpcInput) (req *request.Request, output *DeleteVpcOutput) { op := &request.Operation{ Name: opDeleteVpc, @@ -7009,7 +7561,7 @@ func (c *EC2) DeleteVpcRequest(input *DeleteVpcInput) (req *request.Request, out // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteVpc for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpc +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpc func (c *EC2) DeleteVpc(input *DeleteVpcInput) (*DeleteVpcOutput, error) { req, out := c.DeleteVpcRequest(input) return out, req.Send() @@ -7031,6 +7583,157 @@ func (c *EC2) DeleteVpcWithContext(ctx aws.Context, input *DeleteVpcInput, opts return out, req.Send() } +const opDeleteVpcEndpointConnectionNotifications = "DeleteVpcEndpointConnectionNotifications" + +// DeleteVpcEndpointConnectionNotificationsRequest generates a "aws/request.Request" representing the +// client's request for the DeleteVpcEndpointConnectionNotifications operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteVpcEndpointConnectionNotifications for more information on using the DeleteVpcEndpointConnectionNotifications +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteVpcEndpointConnectionNotificationsRequest method. +// req, resp := client.DeleteVpcEndpointConnectionNotificationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointConnectionNotifications +func (c *EC2) DeleteVpcEndpointConnectionNotificationsRequest(input *DeleteVpcEndpointConnectionNotificationsInput) (req *request.Request, output *DeleteVpcEndpointConnectionNotificationsOutput) { + op := &request.Operation{ + Name: opDeleteVpcEndpointConnectionNotifications, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteVpcEndpointConnectionNotificationsInput{} + } + + output = &DeleteVpcEndpointConnectionNotificationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteVpcEndpointConnectionNotifications API operation for Amazon Elastic Compute Cloud. +// +// Deletes one or more VPC endpoint connection notifications. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DeleteVpcEndpointConnectionNotifications for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointConnectionNotifications +func (c *EC2) DeleteVpcEndpointConnectionNotifications(input *DeleteVpcEndpointConnectionNotificationsInput) (*DeleteVpcEndpointConnectionNotificationsOutput, error) { + req, out := c.DeleteVpcEndpointConnectionNotificationsRequest(input) + return out, req.Send() +} + +// DeleteVpcEndpointConnectionNotificationsWithContext is the same as DeleteVpcEndpointConnectionNotifications with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteVpcEndpointConnectionNotifications for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DeleteVpcEndpointConnectionNotificationsWithContext(ctx aws.Context, input *DeleteVpcEndpointConnectionNotificationsInput, opts ...request.Option) (*DeleteVpcEndpointConnectionNotificationsOutput, error) { + req, out := c.DeleteVpcEndpointConnectionNotificationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteVpcEndpointServiceConfigurations = "DeleteVpcEndpointServiceConfigurations" + +// DeleteVpcEndpointServiceConfigurationsRequest generates a "aws/request.Request" representing the +// client's request for the DeleteVpcEndpointServiceConfigurations operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteVpcEndpointServiceConfigurations for more information on using the DeleteVpcEndpointServiceConfigurations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteVpcEndpointServiceConfigurationsRequest method. +// req, resp := client.DeleteVpcEndpointServiceConfigurationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointServiceConfigurations +func (c *EC2) DeleteVpcEndpointServiceConfigurationsRequest(input *DeleteVpcEndpointServiceConfigurationsInput) (req *request.Request, output *DeleteVpcEndpointServiceConfigurationsOutput) { + op := &request.Operation{ + Name: opDeleteVpcEndpointServiceConfigurations, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteVpcEndpointServiceConfigurationsInput{} + } + + output = &DeleteVpcEndpointServiceConfigurationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteVpcEndpointServiceConfigurations API operation for Amazon Elastic Compute Cloud. +// +// Deletes one or more VPC endpoint service configurations in your account. +// Before you delete the endpoint service configuration, you must reject any +// Available or PendingAcceptance interface endpoint connections that are attached +// to the service. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DeleteVpcEndpointServiceConfigurations for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointServiceConfigurations +func (c *EC2) DeleteVpcEndpointServiceConfigurations(input *DeleteVpcEndpointServiceConfigurationsInput) (*DeleteVpcEndpointServiceConfigurationsOutput, error) { + req, out := c.DeleteVpcEndpointServiceConfigurationsRequest(input) + return out, req.Send() +} + +// DeleteVpcEndpointServiceConfigurationsWithContext is the same as DeleteVpcEndpointServiceConfigurations with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteVpcEndpointServiceConfigurations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DeleteVpcEndpointServiceConfigurationsWithContext(ctx aws.Context, input *DeleteVpcEndpointServiceConfigurationsInput, opts ...request.Option) (*DeleteVpcEndpointServiceConfigurationsOutput, error) { + req, out := c.DeleteVpcEndpointServiceConfigurationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteVpcEndpoints = "DeleteVpcEndpoints" // DeleteVpcEndpointsRequest generates a "aws/request.Request" representing the @@ -7056,7 +7759,7 @@ const opDeleteVpcEndpoints = "DeleteVpcEndpoints" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpoints +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpoints func (c *EC2) DeleteVpcEndpointsRequest(input *DeleteVpcEndpointsInput) (req *request.Request, output *DeleteVpcEndpointsOutput) { op := &request.Operation{ Name: opDeleteVpcEndpoints, @@ -7086,7 +7789,7 @@ func (c *EC2) DeleteVpcEndpointsRequest(input *DeleteVpcEndpointsInput) (req *re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteVpcEndpoints for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpoints +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpoints func (c *EC2) DeleteVpcEndpoints(input *DeleteVpcEndpointsInput) (*DeleteVpcEndpointsOutput, error) { req, out := c.DeleteVpcEndpointsRequest(input) return out, req.Send() @@ -7133,7 +7836,7 @@ const opDeleteVpcPeeringConnection = "DeleteVpcPeeringConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcPeeringConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcPeeringConnection func (c *EC2) DeleteVpcPeeringConnectionRequest(input *DeleteVpcPeeringConnectionInput) (req *request.Request, output *DeleteVpcPeeringConnectionOutput) { op := &request.Operation{ Name: opDeleteVpcPeeringConnection, @@ -7153,8 +7856,8 @@ func (c *EC2) DeleteVpcPeeringConnectionRequest(input *DeleteVpcPeeringConnectio // DeleteVpcPeeringConnection API operation for Amazon Elastic Compute Cloud. // // Deletes a VPC peering connection. Either the owner of the requester VPC or -// the owner of the peer VPC can delete the VPC peering connection if it's in -// the active state. The owner of the requester VPC can delete a VPC peering +// the owner of the accepter VPC can delete the VPC peering connection if it's +// in the active state. The owner of the requester VPC can delete a VPC peering // connection in the pending-acceptance state. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -7163,7 +7866,7 @@ func (c *EC2) DeleteVpcPeeringConnectionRequest(input *DeleteVpcPeeringConnectio // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteVpcPeeringConnection for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcPeeringConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcPeeringConnection func (c *EC2) DeleteVpcPeeringConnection(input *DeleteVpcPeeringConnectionInput) (*DeleteVpcPeeringConnectionOutput, error) { req, out := c.DeleteVpcPeeringConnectionRequest(input) return out, req.Send() @@ -7210,7 +7913,7 @@ const opDeleteVpnConnection = "DeleteVpnConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnection func (c *EC2) DeleteVpnConnectionRequest(input *DeleteVpnConnectionInput) (req *request.Request, output *DeleteVpnConnectionOutput) { op := &request.Operation{ Name: opDeleteVpnConnection, @@ -7248,7 +7951,7 @@ func (c *EC2) DeleteVpnConnectionRequest(input *DeleteVpnConnectionInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteVpnConnection for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnection func (c *EC2) DeleteVpnConnection(input *DeleteVpnConnectionInput) (*DeleteVpnConnectionOutput, error) { req, out := c.DeleteVpnConnectionRequest(input) return out, req.Send() @@ -7295,7 +7998,7 @@ const opDeleteVpnConnectionRoute = "DeleteVpnConnectionRoute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionRoute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionRoute func (c *EC2) DeleteVpnConnectionRouteRequest(input *DeleteVpnConnectionRouteInput) (req *request.Request, output *DeleteVpnConnectionRouteOutput) { op := &request.Operation{ Name: opDeleteVpnConnectionRoute, @@ -7327,7 +8030,7 @@ func (c *EC2) DeleteVpnConnectionRouteRequest(input *DeleteVpnConnectionRouteInp // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteVpnConnectionRoute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionRoute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionRoute func (c *EC2) DeleteVpnConnectionRoute(input *DeleteVpnConnectionRouteInput) (*DeleteVpnConnectionRouteOutput, error) { req, out := c.DeleteVpnConnectionRouteRequest(input) return out, req.Send() @@ -7374,7 +8077,7 @@ const opDeleteVpnGateway = "DeleteVpnGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnGateway func (c *EC2) DeleteVpnGatewayRequest(input *DeleteVpnGatewayInput) (req *request.Request, output *DeleteVpnGatewayOutput) { op := &request.Operation{ Name: opDeleteVpnGateway, @@ -7407,7 +8110,7 @@ func (c *EC2) DeleteVpnGatewayRequest(input *DeleteVpnGatewayInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeleteVpnGateway for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnGateway func (c *EC2) DeleteVpnGateway(input *DeleteVpnGatewayInput) (*DeleteVpnGatewayOutput, error) { req, out := c.DeleteVpnGatewayRequest(input) return out, req.Send() @@ -7454,7 +8157,7 @@ const opDeregisterImage = "DeregisterImage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImage func (c *EC2) DeregisterImageRequest(input *DeregisterImageInput) (req *request.Request, output *DeregisterImageOutput) { op := &request.Operation{ Name: opDeregisterImage, @@ -7491,7 +8194,7 @@ func (c *EC2) DeregisterImageRequest(input *DeregisterImageInput) (req *request. // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DeregisterImage for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImage func (c *EC2) DeregisterImage(input *DeregisterImageInput) (*DeregisterImageOutput, error) { req, out := c.DeregisterImageRequest(input) return out, req.Send() @@ -7538,7 +8241,7 @@ const opDescribeAccountAttributes = "DescribeAccountAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAccountAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAccountAttributes func (c *EC2) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) { op := &request.Operation{ Name: opDescribeAccountAttributes, @@ -7583,7 +8286,7 @@ func (c *EC2) DescribeAccountAttributesRequest(input *DescribeAccountAttributesI // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeAccountAttributes for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAccountAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAccountAttributes func (c *EC2) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error) { req, out := c.DescribeAccountAttributesRequest(input) return out, req.Send() @@ -7630,7 +8333,7 @@ const opDescribeAddresses = "DescribeAddresses" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddresses +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddresses func (c *EC2) DescribeAddressesRequest(input *DescribeAddressesInput) (req *request.Request, output *DescribeAddressesOutput) { op := &request.Operation{ Name: opDescribeAddresses, @@ -7661,7 +8364,7 @@ func (c *EC2) DescribeAddressesRequest(input *DescribeAddressesInput) (req *requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeAddresses for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddresses +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddresses func (c *EC2) DescribeAddresses(input *DescribeAddressesInput) (*DescribeAddressesOutput, error) { req, out := c.DescribeAddressesRequest(input) return out, req.Send() @@ -7708,7 +8411,7 @@ const opDescribeAvailabilityZones = "DescribeAvailabilityZones" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZones +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZones func (c *EC2) DescribeAvailabilityZonesRequest(input *DescribeAvailabilityZonesInput) (req *request.Request, output *DescribeAvailabilityZonesOutput) { op := &request.Operation{ Name: opDescribeAvailabilityZones, @@ -7741,7 +8444,7 @@ func (c *EC2) DescribeAvailabilityZonesRequest(input *DescribeAvailabilityZonesI // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeAvailabilityZones for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZones +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZones func (c *EC2) DescribeAvailabilityZones(input *DescribeAvailabilityZonesInput) (*DescribeAvailabilityZonesOutput, error) { req, out := c.DescribeAvailabilityZonesRequest(input) return out, req.Send() @@ -7788,7 +8491,7 @@ const opDescribeBundleTasks = "DescribeBundleTasks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeBundleTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeBundleTasks func (c *EC2) DescribeBundleTasksRequest(input *DescribeBundleTasksInput) (req *request.Request, output *DescribeBundleTasksOutput) { op := &request.Operation{ Name: opDescribeBundleTasks, @@ -7820,7 +8523,7 @@ func (c *EC2) DescribeBundleTasksRequest(input *DescribeBundleTasksInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeBundleTasks for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeBundleTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeBundleTasks func (c *EC2) DescribeBundleTasks(input *DescribeBundleTasksInput) (*DescribeBundleTasksOutput, error) { req, out := c.DescribeBundleTasksRequest(input) return out, req.Send() @@ -7867,7 +8570,7 @@ const opDescribeClassicLinkInstances = "DescribeClassicLinkInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClassicLinkInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClassicLinkInstances func (c *EC2) DescribeClassicLinkInstancesRequest(input *DescribeClassicLinkInstancesInput) (req *request.Request, output *DescribeClassicLinkInstancesOutput) { op := &request.Operation{ Name: opDescribeClassicLinkInstances, @@ -7897,7 +8600,7 @@ func (c *EC2) DescribeClassicLinkInstancesRequest(input *DescribeClassicLinkInst // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeClassicLinkInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClassicLinkInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClassicLinkInstances func (c *EC2) DescribeClassicLinkInstances(input *DescribeClassicLinkInstancesInput) (*DescribeClassicLinkInstancesOutput, error) { req, out := c.DescribeClassicLinkInstancesRequest(input) return out, req.Send() @@ -7944,7 +8647,7 @@ const opDescribeConversionTasks = "DescribeConversionTasks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeConversionTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeConversionTasks func (c *EC2) DescribeConversionTasksRequest(input *DescribeConversionTasksInput) (req *request.Request, output *DescribeConversionTasksOutput) { op := &request.Operation{ Name: opDescribeConversionTasks, @@ -7975,7 +8678,7 @@ func (c *EC2) DescribeConversionTasksRequest(input *DescribeConversionTasksInput // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeConversionTasks for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeConversionTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeConversionTasks func (c *EC2) DescribeConversionTasks(input *DescribeConversionTasksInput) (*DescribeConversionTasksOutput, error) { req, out := c.DescribeConversionTasksRequest(input) return out, req.Send() @@ -8022,7 +8725,7 @@ const opDescribeCustomerGateways = "DescribeCustomerGateways" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCustomerGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCustomerGateways func (c *EC2) DescribeCustomerGatewaysRequest(input *DescribeCustomerGatewaysInput) (req *request.Request, output *DescribeCustomerGatewaysOutput) { op := &request.Operation{ Name: opDescribeCustomerGateways, @@ -8053,7 +8756,7 @@ func (c *EC2) DescribeCustomerGatewaysRequest(input *DescribeCustomerGatewaysInp // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeCustomerGateways for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCustomerGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCustomerGateways func (c *EC2) DescribeCustomerGateways(input *DescribeCustomerGatewaysInput) (*DescribeCustomerGatewaysOutput, error) { req, out := c.DescribeCustomerGatewaysRequest(input) return out, req.Send() @@ -8100,7 +8803,7 @@ const opDescribeDhcpOptions = "DescribeDhcpOptions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeDhcpOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeDhcpOptions func (c *EC2) DescribeDhcpOptionsRequest(input *DescribeDhcpOptionsInput) (req *request.Request, output *DescribeDhcpOptionsOutput) { op := &request.Operation{ Name: opDescribeDhcpOptions, @@ -8130,7 +8833,7 @@ func (c *EC2) DescribeDhcpOptionsRequest(input *DescribeDhcpOptionsInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeDhcpOptions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeDhcpOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeDhcpOptions func (c *EC2) DescribeDhcpOptions(input *DescribeDhcpOptionsInput) (*DescribeDhcpOptionsOutput, error) { req, out := c.DescribeDhcpOptionsRequest(input) return out, req.Send() @@ -8177,7 +8880,7 @@ const opDescribeEgressOnlyInternetGateways = "DescribeEgressOnlyInternetGateways // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeEgressOnlyInternetGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeEgressOnlyInternetGateways func (c *EC2) DescribeEgressOnlyInternetGatewaysRequest(input *DescribeEgressOnlyInternetGatewaysInput) (req *request.Request, output *DescribeEgressOnlyInternetGatewaysOutput) { op := &request.Operation{ Name: opDescribeEgressOnlyInternetGateways, @@ -8204,7 +8907,7 @@ func (c *EC2) DescribeEgressOnlyInternetGatewaysRequest(input *DescribeEgressOnl // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeEgressOnlyInternetGateways for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeEgressOnlyInternetGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeEgressOnlyInternetGateways func (c *EC2) DescribeEgressOnlyInternetGateways(input *DescribeEgressOnlyInternetGatewaysInput) (*DescribeEgressOnlyInternetGatewaysOutput, error) { req, out := c.DescribeEgressOnlyInternetGatewaysRequest(input) return out, req.Send() @@ -8251,7 +8954,7 @@ const opDescribeElasticGpus = "DescribeElasticGpus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpus func (c *EC2) DescribeElasticGpusRequest(input *DescribeElasticGpusInput) (req *request.Request, output *DescribeElasticGpusOutput) { op := &request.Operation{ Name: opDescribeElasticGpus, @@ -8279,7 +8982,7 @@ func (c *EC2) DescribeElasticGpusRequest(input *DescribeElasticGpusInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeElasticGpus for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpus func (c *EC2) DescribeElasticGpus(input *DescribeElasticGpusInput) (*DescribeElasticGpusOutput, error) { req, out := c.DescribeElasticGpusRequest(input) return out, req.Send() @@ -8326,7 +9029,7 @@ const opDescribeExportTasks = "DescribeExportTasks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportTasks func (c *EC2) DescribeExportTasksRequest(input *DescribeExportTasksInput) (req *request.Request, output *DescribeExportTasksOutput) { op := &request.Operation{ Name: opDescribeExportTasks, @@ -8353,7 +9056,7 @@ func (c *EC2) DescribeExportTasksRequest(input *DescribeExportTasksInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeExportTasks for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportTasks func (c *EC2) DescribeExportTasks(input *DescribeExportTasksInput) (*DescribeExportTasksOutput, error) { req, out := c.DescribeExportTasksRequest(input) return out, req.Send() @@ -8400,7 +9103,7 @@ const opDescribeFlowLogs = "DescribeFlowLogs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogs +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogs func (c *EC2) DescribeFlowLogsRequest(input *DescribeFlowLogsInput) (req *request.Request, output *DescribeFlowLogsOutput) { op := &request.Operation{ Name: opDescribeFlowLogs, @@ -8429,7 +9132,7 @@ func (c *EC2) DescribeFlowLogsRequest(input *DescribeFlowLogsInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeFlowLogs for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogs +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogs func (c *EC2) DescribeFlowLogs(input *DescribeFlowLogsInput) (*DescribeFlowLogsOutput, error) { req, out := c.DescribeFlowLogsRequest(input) return out, req.Send() @@ -8476,7 +9179,7 @@ const opDescribeFpgaImageAttribute = "DescribeFpgaImageAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttribute func (c *EC2) DescribeFpgaImageAttributeRequest(input *DescribeFpgaImageAttributeInput) (req *request.Request, output *DescribeFpgaImageAttributeOutput) { op := &request.Operation{ Name: opDescribeFpgaImageAttribute, @@ -8503,7 +9206,7 @@ func (c *EC2) DescribeFpgaImageAttributeRequest(input *DescribeFpgaImageAttribut // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeFpgaImageAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttribute func (c *EC2) DescribeFpgaImageAttribute(input *DescribeFpgaImageAttributeInput) (*DescribeFpgaImageAttributeOutput, error) { req, out := c.DescribeFpgaImageAttributeRequest(input) return out, req.Send() @@ -8550,7 +9253,7 @@ const opDescribeFpgaImages = "DescribeFpgaImages" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImages +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImages func (c *EC2) DescribeFpgaImagesRequest(input *DescribeFpgaImagesInput) (req *request.Request, output *DescribeFpgaImagesOutput) { op := &request.Operation{ Name: opDescribeFpgaImages, @@ -8579,7 +9282,7 @@ func (c *EC2) DescribeFpgaImagesRequest(input *DescribeFpgaImagesInput) (req *re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeFpgaImages for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImages +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImages func (c *EC2) DescribeFpgaImages(input *DescribeFpgaImagesInput) (*DescribeFpgaImagesOutput, error) { req, out := c.DescribeFpgaImagesRequest(input) return out, req.Send() @@ -8626,7 +9329,7 @@ const opDescribeHostReservationOfferings = "DescribeHostReservationOfferings" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationOfferings +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationOfferings func (c *EC2) DescribeHostReservationOfferingsRequest(input *DescribeHostReservationOfferingsInput) (req *request.Request, output *DescribeHostReservationOfferingsOutput) { op := &request.Operation{ Name: opDescribeHostReservationOfferings, @@ -8661,7 +9364,7 @@ func (c *EC2) DescribeHostReservationOfferingsRequest(input *DescribeHostReserva // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeHostReservationOfferings for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationOfferings +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationOfferings func (c *EC2) DescribeHostReservationOfferings(input *DescribeHostReservationOfferingsInput) (*DescribeHostReservationOfferingsOutput, error) { req, out := c.DescribeHostReservationOfferingsRequest(input) return out, req.Send() @@ -8708,7 +9411,7 @@ const opDescribeHostReservations = "DescribeHostReservations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservations +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservations func (c *EC2) DescribeHostReservationsRequest(input *DescribeHostReservationsInput) (req *request.Request, output *DescribeHostReservationsOutput) { op := &request.Operation{ Name: opDescribeHostReservations, @@ -8736,7 +9439,7 @@ func (c *EC2) DescribeHostReservationsRequest(input *DescribeHostReservationsInp // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeHostReservations for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservations +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservations func (c *EC2) DescribeHostReservations(input *DescribeHostReservationsInput) (*DescribeHostReservationsOutput, error) { req, out := c.DescribeHostReservationsRequest(input) return out, req.Send() @@ -8783,7 +9486,7 @@ const opDescribeHosts = "DescribeHosts" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHosts +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHosts func (c *EC2) DescribeHostsRequest(input *DescribeHostsInput) (req *request.Request, output *DescribeHostsOutput) { op := &request.Operation{ Name: opDescribeHosts, @@ -8814,7 +9517,7 @@ func (c *EC2) DescribeHostsRequest(input *DescribeHostsInput) (req *request.Requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeHosts for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHosts +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHosts func (c *EC2) DescribeHosts(input *DescribeHostsInput) (*DescribeHostsOutput, error) { req, out := c.DescribeHostsRequest(input) return out, req.Send() @@ -8861,7 +9564,7 @@ const opDescribeIamInstanceProfileAssociations = "DescribeIamInstanceProfileAsso // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIamInstanceProfileAssociations +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIamInstanceProfileAssociations func (c *EC2) DescribeIamInstanceProfileAssociationsRequest(input *DescribeIamInstanceProfileAssociationsInput) (req *request.Request, output *DescribeIamInstanceProfileAssociationsOutput) { op := &request.Operation{ Name: opDescribeIamInstanceProfileAssociations, @@ -8888,7 +9591,7 @@ func (c *EC2) DescribeIamInstanceProfileAssociationsRequest(input *DescribeIamIn // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeIamInstanceProfileAssociations for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIamInstanceProfileAssociations +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIamInstanceProfileAssociations func (c *EC2) DescribeIamInstanceProfileAssociations(input *DescribeIamInstanceProfileAssociationsInput) (*DescribeIamInstanceProfileAssociationsOutput, error) { req, out := c.DescribeIamInstanceProfileAssociationsRequest(input) return out, req.Send() @@ -8935,7 +9638,7 @@ const opDescribeIdFormat = "DescribeIdFormat" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdFormat +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdFormat func (c *EC2) DescribeIdFormatRequest(input *DescribeIdFormatInput) (req *request.Request, output *DescribeIdFormatOutput) { op := &request.Operation{ Name: opDescribeIdFormat, @@ -8975,7 +9678,7 @@ func (c *EC2) DescribeIdFormatRequest(input *DescribeIdFormatInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeIdFormat for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdFormat +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdFormat func (c *EC2) DescribeIdFormat(input *DescribeIdFormatInput) (*DescribeIdFormatOutput, error) { req, out := c.DescribeIdFormatRequest(input) return out, req.Send() @@ -9022,7 +9725,7 @@ const opDescribeIdentityIdFormat = "DescribeIdentityIdFormat" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdentityIdFormat +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdentityIdFormat func (c *EC2) DescribeIdentityIdFormatRequest(input *DescribeIdentityIdFormatInput) (req *request.Request, output *DescribeIdentityIdFormatOutput) { op := &request.Operation{ Name: opDescribeIdentityIdFormat, @@ -9060,7 +9763,7 @@ func (c *EC2) DescribeIdentityIdFormatRequest(input *DescribeIdentityIdFormatInp // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeIdentityIdFormat for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdentityIdFormat +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdentityIdFormat func (c *EC2) DescribeIdentityIdFormat(input *DescribeIdentityIdFormatInput) (*DescribeIdentityIdFormatOutput, error) { req, out := c.DescribeIdentityIdFormatRequest(input) return out, req.Send() @@ -9107,7 +9810,7 @@ const opDescribeImageAttribute = "DescribeImageAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageAttribute func (c *EC2) DescribeImageAttributeRequest(input *DescribeImageAttributeInput) (req *request.Request, output *DescribeImageAttributeOutput) { op := &request.Operation{ Name: opDescribeImageAttribute, @@ -9135,7 +9838,7 @@ func (c *EC2) DescribeImageAttributeRequest(input *DescribeImageAttributeInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeImageAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageAttribute func (c *EC2) DescribeImageAttribute(input *DescribeImageAttributeInput) (*DescribeImageAttributeOutput, error) { req, out := c.DescribeImageAttributeRequest(input) return out, req.Send() @@ -9182,7 +9885,7 @@ const opDescribeImages = "DescribeImages" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImages +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImages func (c *EC2) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Request, output *DescribeImagesOutput) { op := &request.Operation{ Name: opDescribeImages, @@ -9215,7 +9918,7 @@ func (c *EC2) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeImages for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImages +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImages func (c *EC2) DescribeImages(input *DescribeImagesInput) (*DescribeImagesOutput, error) { req, out := c.DescribeImagesRequest(input) return out, req.Send() @@ -9262,7 +9965,7 @@ const opDescribeImportImageTasks = "DescribeImportImageTasks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasks func (c *EC2) DescribeImportImageTasksRequest(input *DescribeImportImageTasksInput) (req *request.Request, output *DescribeImportImageTasksOutput) { op := &request.Operation{ Name: opDescribeImportImageTasks, @@ -9290,7 +9993,7 @@ func (c *EC2) DescribeImportImageTasksRequest(input *DescribeImportImageTasksInp // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeImportImageTasks for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasks func (c *EC2) DescribeImportImageTasks(input *DescribeImportImageTasksInput) (*DescribeImportImageTasksOutput, error) { req, out := c.DescribeImportImageTasksRequest(input) return out, req.Send() @@ -9337,7 +10040,7 @@ const opDescribeImportSnapshotTasks = "DescribeImportSnapshotTasks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportSnapshotTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportSnapshotTasks func (c *EC2) DescribeImportSnapshotTasksRequest(input *DescribeImportSnapshotTasksInput) (req *request.Request, output *DescribeImportSnapshotTasksOutput) { op := &request.Operation{ Name: opDescribeImportSnapshotTasks, @@ -9364,7 +10067,7 @@ func (c *EC2) DescribeImportSnapshotTasksRequest(input *DescribeImportSnapshotTa // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeImportSnapshotTasks for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportSnapshotTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportSnapshotTasks func (c *EC2) DescribeImportSnapshotTasks(input *DescribeImportSnapshotTasksInput) (*DescribeImportSnapshotTasksOutput, error) { req, out := c.DescribeImportSnapshotTasksRequest(input) return out, req.Send() @@ -9411,7 +10114,7 @@ const opDescribeInstanceAttribute = "DescribeInstanceAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceAttribute func (c *EC2) DescribeInstanceAttributeRequest(input *DescribeInstanceAttributeInput) (req *request.Request, output *DescribeInstanceAttributeOutput) { op := &request.Operation{ Name: opDescribeInstanceAttribute, @@ -9442,7 +10145,7 @@ func (c *EC2) DescribeInstanceAttributeRequest(input *DescribeInstanceAttributeI // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeInstanceAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceAttribute func (c *EC2) DescribeInstanceAttribute(input *DescribeInstanceAttributeInput) (*DescribeInstanceAttributeOutput, error) { req, out := c.DescribeInstanceAttributeRequest(input) return out, req.Send() @@ -9464,6 +10167,98 @@ func (c *EC2) DescribeInstanceAttributeWithContext(ctx aws.Context, input *Descr return out, req.Send() } +const opDescribeInstanceCreditSpecifications = "DescribeInstanceCreditSpecifications" + +// DescribeInstanceCreditSpecificationsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeInstanceCreditSpecifications operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeInstanceCreditSpecifications for more information on using the DescribeInstanceCreditSpecifications +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeInstanceCreditSpecificationsRequest method. +// req, resp := client.DescribeInstanceCreditSpecificationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceCreditSpecifications +func (c *EC2) DescribeInstanceCreditSpecificationsRequest(input *DescribeInstanceCreditSpecificationsInput) (req *request.Request, output *DescribeInstanceCreditSpecificationsOutput) { + op := &request.Operation{ + Name: opDescribeInstanceCreditSpecifications, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeInstanceCreditSpecificationsInput{} + } + + output = &DescribeInstanceCreditSpecificationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeInstanceCreditSpecifications API operation for Amazon Elastic Compute Cloud. +// +// Describes the credit option for CPU usage of one or more of your T2 instances. +// The credit options are standard and unlimited. +// +// If you do not specify an instance ID, Amazon EC2 returns only the T2 instances +// with the unlimited credit option. If you specify one or more instance IDs, +// Amazon EC2 returns the credit option (standard or unlimited) of those instances. +// If you specify an instance ID that is not valid, such as an instance that +// is not a T2 instance, an error is returned. +// +// Recently terminated instances might appear in the returned results. This +// interval is usually less than one hour. +// +// If an Availability Zone is experiencing a service disruption and you specify +// instance IDs in the affected zone, or do not specify any instance IDs at +// all, the call fails. If you specify only instance IDs in an unaffected zone, +// the call works normally. +// +// For more information, see T2 Instances (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html) +// in the Amazon Elastic Compute Cloud User Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeInstanceCreditSpecifications for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceCreditSpecifications +func (c *EC2) DescribeInstanceCreditSpecifications(input *DescribeInstanceCreditSpecificationsInput) (*DescribeInstanceCreditSpecificationsOutput, error) { + req, out := c.DescribeInstanceCreditSpecificationsRequest(input) + return out, req.Send() +} + +// DescribeInstanceCreditSpecificationsWithContext is the same as DescribeInstanceCreditSpecifications with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeInstanceCreditSpecifications for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeInstanceCreditSpecificationsWithContext(ctx aws.Context, input *DescribeInstanceCreditSpecificationsInput, opts ...request.Option) (*DescribeInstanceCreditSpecificationsOutput, error) { + req, out := c.DescribeInstanceCreditSpecificationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeInstanceStatus = "DescribeInstanceStatus" // DescribeInstanceStatusRequest generates a "aws/request.Request" representing the @@ -9489,7 +10284,7 @@ const opDescribeInstanceStatus = "DescribeInstanceStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceStatus func (c *EC2) DescribeInstanceStatusRequest(input *DescribeInstanceStatusInput) (req *request.Request, output *DescribeInstanceStatusOutput) { op := &request.Operation{ Name: opDescribeInstanceStatus, @@ -9543,7 +10338,7 @@ func (c *EC2) DescribeInstanceStatusRequest(input *DescribeInstanceStatusInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeInstanceStatus for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceStatus func (c *EC2) DescribeInstanceStatus(input *DescribeInstanceStatusInput) (*DescribeInstanceStatusOutput, error) { req, out := c.DescribeInstanceStatusRequest(input) return out, req.Send() @@ -9640,7 +10435,7 @@ const opDescribeInstances = "DescribeInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstances func (c *EC2) DescribeInstancesRequest(input *DescribeInstancesInput) (req *request.Request, output *DescribeInstancesOutput) { op := &request.Operation{ Name: opDescribeInstances, @@ -9688,7 +10483,7 @@ func (c *EC2) DescribeInstancesRequest(input *DescribeInstancesInput) (req *requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstances func (c *EC2) DescribeInstances(input *DescribeInstancesInput) (*DescribeInstancesOutput, error) { req, out := c.DescribeInstancesRequest(input) return out, req.Send() @@ -9785,7 +10580,7 @@ const opDescribeInternetGateways = "DescribeInternetGateways" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInternetGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInternetGateways func (c *EC2) DescribeInternetGatewaysRequest(input *DescribeInternetGatewaysInput) (req *request.Request, output *DescribeInternetGatewaysOutput) { op := &request.Operation{ Name: opDescribeInternetGateways, @@ -9812,7 +10607,7 @@ func (c *EC2) DescribeInternetGatewaysRequest(input *DescribeInternetGatewaysInp // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeInternetGateways for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInternetGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInternetGateways func (c *EC2) DescribeInternetGateways(input *DescribeInternetGatewaysInput) (*DescribeInternetGatewaysOutput, error) { req, out := c.DescribeInternetGatewaysRequest(input) return out, req.Send() @@ -9859,7 +10654,7 @@ const opDescribeKeyPairs = "DescribeKeyPairs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeKeyPairs +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeKeyPairs func (c *EC2) DescribeKeyPairsRequest(input *DescribeKeyPairsInput) (req *request.Request, output *DescribeKeyPairsOutput) { op := &request.Operation{ Name: opDescribeKeyPairs, @@ -9889,7 +10684,7 @@ func (c *EC2) DescribeKeyPairsRequest(input *DescribeKeyPairsInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeKeyPairs for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeKeyPairs +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeKeyPairs func (c *EC2) DescribeKeyPairs(input *DescribeKeyPairsInput) (*DescribeKeyPairsOutput, error) { req, out := c.DescribeKeyPairsRequest(input) return out, req.Send() @@ -9911,6 +10706,155 @@ func (c *EC2) DescribeKeyPairsWithContext(ctx aws.Context, input *DescribeKeyPai return out, req.Send() } +const opDescribeLaunchTemplateVersions = "DescribeLaunchTemplateVersions" + +// DescribeLaunchTemplateVersionsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeLaunchTemplateVersions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeLaunchTemplateVersions for more information on using the DescribeLaunchTemplateVersions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeLaunchTemplateVersionsRequest method. +// req, resp := client.DescribeLaunchTemplateVersionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersions +func (c *EC2) DescribeLaunchTemplateVersionsRequest(input *DescribeLaunchTemplateVersionsInput) (req *request.Request, output *DescribeLaunchTemplateVersionsOutput) { + op := &request.Operation{ + Name: opDescribeLaunchTemplateVersions, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeLaunchTemplateVersionsInput{} + } + + output = &DescribeLaunchTemplateVersionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeLaunchTemplateVersions API operation for Amazon Elastic Compute Cloud. +// +// Describes one or more versions of a specified launch template. You can describe +// all versions, individual versions, or a range of versions. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeLaunchTemplateVersions for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersions +func (c *EC2) DescribeLaunchTemplateVersions(input *DescribeLaunchTemplateVersionsInput) (*DescribeLaunchTemplateVersionsOutput, error) { + req, out := c.DescribeLaunchTemplateVersionsRequest(input) + return out, req.Send() +} + +// DescribeLaunchTemplateVersionsWithContext is the same as DescribeLaunchTemplateVersions with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeLaunchTemplateVersions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeLaunchTemplateVersionsWithContext(ctx aws.Context, input *DescribeLaunchTemplateVersionsInput, opts ...request.Option) (*DescribeLaunchTemplateVersionsOutput, error) { + req, out := c.DescribeLaunchTemplateVersionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeLaunchTemplates = "DescribeLaunchTemplates" + +// DescribeLaunchTemplatesRequest generates a "aws/request.Request" representing the +// client's request for the DescribeLaunchTemplates operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeLaunchTemplates for more information on using the DescribeLaunchTemplates +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeLaunchTemplatesRequest method. +// req, resp := client.DescribeLaunchTemplatesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplates +func (c *EC2) DescribeLaunchTemplatesRequest(input *DescribeLaunchTemplatesInput) (req *request.Request, output *DescribeLaunchTemplatesOutput) { + op := &request.Operation{ + Name: opDescribeLaunchTemplates, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeLaunchTemplatesInput{} + } + + output = &DescribeLaunchTemplatesOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeLaunchTemplates API operation for Amazon Elastic Compute Cloud. +// +// Describes one or more launch templates. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeLaunchTemplates for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplates +func (c *EC2) DescribeLaunchTemplates(input *DescribeLaunchTemplatesInput) (*DescribeLaunchTemplatesOutput, error) { + req, out := c.DescribeLaunchTemplatesRequest(input) + return out, req.Send() +} + +// DescribeLaunchTemplatesWithContext is the same as DescribeLaunchTemplates with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeLaunchTemplates for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeLaunchTemplatesWithContext(ctx aws.Context, input *DescribeLaunchTemplatesInput, opts ...request.Option) (*DescribeLaunchTemplatesOutput, error) { + req, out := c.DescribeLaunchTemplatesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeMovingAddresses = "DescribeMovingAddresses" // DescribeMovingAddressesRequest generates a "aws/request.Request" representing the @@ -9936,7 +10880,7 @@ const opDescribeMovingAddresses = "DescribeMovingAddresses" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMovingAddresses +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMovingAddresses func (c *EC2) DescribeMovingAddressesRequest(input *DescribeMovingAddressesInput) (req *request.Request, output *DescribeMovingAddressesOutput) { op := &request.Operation{ Name: opDescribeMovingAddresses, @@ -9965,7 +10909,7 @@ func (c *EC2) DescribeMovingAddressesRequest(input *DescribeMovingAddressesInput // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeMovingAddresses for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMovingAddresses +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMovingAddresses func (c *EC2) DescribeMovingAddresses(input *DescribeMovingAddressesInput) (*DescribeMovingAddressesOutput, error) { req, out := c.DescribeMovingAddressesRequest(input) return out, req.Send() @@ -10012,7 +10956,7 @@ const opDescribeNatGateways = "DescribeNatGateways" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNatGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNatGateways func (c *EC2) DescribeNatGatewaysRequest(input *DescribeNatGatewaysInput) (req *request.Request, output *DescribeNatGatewaysOutput) { op := &request.Operation{ Name: opDescribeNatGateways, @@ -10045,7 +10989,7 @@ func (c *EC2) DescribeNatGatewaysRequest(input *DescribeNatGatewaysInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeNatGateways for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNatGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNatGateways func (c *EC2) DescribeNatGateways(input *DescribeNatGatewaysInput) (*DescribeNatGatewaysOutput, error) { req, out := c.DescribeNatGatewaysRequest(input) return out, req.Send() @@ -10142,7 +11086,7 @@ const opDescribeNetworkAcls = "DescribeNetworkAcls" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkAcls +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkAcls func (c *EC2) DescribeNetworkAclsRequest(input *DescribeNetworkAclsInput) (req *request.Request, output *DescribeNetworkAclsOutput) { op := &request.Operation{ Name: opDescribeNetworkAcls, @@ -10172,7 +11116,7 @@ func (c *EC2) DescribeNetworkAclsRequest(input *DescribeNetworkAclsInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeNetworkAcls for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkAcls +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkAcls func (c *EC2) DescribeNetworkAcls(input *DescribeNetworkAclsInput) (*DescribeNetworkAclsOutput, error) { req, out := c.DescribeNetworkAclsRequest(input) return out, req.Send() @@ -10219,7 +11163,7 @@ const opDescribeNetworkInterfaceAttribute = "DescribeNetworkInterfaceAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttribute func (c *EC2) DescribeNetworkInterfaceAttributeRequest(input *DescribeNetworkInterfaceAttributeInput) (req *request.Request, output *DescribeNetworkInterfaceAttributeOutput) { op := &request.Operation{ Name: opDescribeNetworkInterfaceAttribute, @@ -10247,7 +11191,7 @@ func (c *EC2) DescribeNetworkInterfaceAttributeRequest(input *DescribeNetworkInt // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeNetworkInterfaceAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttribute func (c *EC2) DescribeNetworkInterfaceAttribute(input *DescribeNetworkInterfaceAttributeInput) (*DescribeNetworkInterfaceAttributeOutput, error) { req, out := c.DescribeNetworkInterfaceAttributeRequest(input) return out, req.Send() @@ -10294,7 +11238,7 @@ const opDescribeNetworkInterfacePermissions = "DescribeNetworkInterfacePermissio // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissions func (c *EC2) DescribeNetworkInterfacePermissionsRequest(input *DescribeNetworkInterfacePermissionsInput) (req *request.Request, output *DescribeNetworkInterfacePermissionsOutput) { op := &request.Operation{ Name: opDescribeNetworkInterfacePermissions, @@ -10321,7 +11265,7 @@ func (c *EC2) DescribeNetworkInterfacePermissionsRequest(input *DescribeNetworkI // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeNetworkInterfacePermissions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissions func (c *EC2) DescribeNetworkInterfacePermissions(input *DescribeNetworkInterfacePermissionsInput) (*DescribeNetworkInterfacePermissionsOutput, error) { req, out := c.DescribeNetworkInterfacePermissionsRequest(input) return out, req.Send() @@ -10368,7 +11312,7 @@ const opDescribeNetworkInterfaces = "DescribeNetworkInterfaces" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaces func (c *EC2) DescribeNetworkInterfacesRequest(input *DescribeNetworkInterfacesInput) (req *request.Request, output *DescribeNetworkInterfacesOutput) { op := &request.Operation{ Name: opDescribeNetworkInterfaces, @@ -10395,7 +11339,7 @@ func (c *EC2) DescribeNetworkInterfacesRequest(input *DescribeNetworkInterfacesI // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeNetworkInterfaces for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaces func (c *EC2) DescribeNetworkInterfaces(input *DescribeNetworkInterfacesInput) (*DescribeNetworkInterfacesOutput, error) { req, out := c.DescribeNetworkInterfacesRequest(input) return out, req.Send() @@ -10442,7 +11386,7 @@ const opDescribePlacementGroups = "DescribePlacementGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroups func (c *EC2) DescribePlacementGroupsRequest(input *DescribePlacementGroupsInput) (req *request.Request, output *DescribePlacementGroupsOutput) { op := &request.Operation{ Name: opDescribePlacementGroups, @@ -10461,8 +11405,8 @@ func (c *EC2) DescribePlacementGroupsRequest(input *DescribePlacementGroupsInput // DescribePlacementGroups API operation for Amazon Elastic Compute Cloud. // -// Describes one or more of your placement groups. For more information about -// placement groups and cluster instances, see Cluster Instances (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cluster_computing.html) +// Describes one or more of your placement groups. For more information, see +// Placement Groups (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) // in the Amazon Elastic Compute Cloud User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -10471,7 +11415,7 @@ func (c *EC2) DescribePlacementGroupsRequest(input *DescribePlacementGroupsInput // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribePlacementGroups for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroups func (c *EC2) DescribePlacementGroups(input *DescribePlacementGroupsInput) (*DescribePlacementGroupsOutput, error) { req, out := c.DescribePlacementGroupsRequest(input) return out, req.Send() @@ -10518,7 +11462,7 @@ const opDescribePrefixLists = "DescribePrefixLists" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrefixLists +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrefixLists func (c *EC2) DescribePrefixListsRequest(input *DescribePrefixListsInput) (req *request.Request, output *DescribePrefixListsOutput) { op := &request.Operation{ Name: opDescribePrefixLists, @@ -10541,7 +11485,7 @@ func (c *EC2) DescribePrefixListsRequest(input *DescribePrefixListsInput) (req * // the prefix list name and prefix list ID of the service and the IP address // range for the service. A prefix list ID is required for creating an outbound // security group rule that allows traffic from a VPC to access an AWS service -// through a VPC endpoint. +// through a gateway VPC endpoint. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -10549,7 +11493,7 @@ func (c *EC2) DescribePrefixListsRequest(input *DescribePrefixListsInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribePrefixLists for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrefixLists +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrefixLists func (c *EC2) DescribePrefixLists(input *DescribePrefixListsInput) (*DescribePrefixListsOutput, error) { req, out := c.DescribePrefixListsRequest(input) return out, req.Send() @@ -10596,7 +11540,7 @@ const opDescribeRegions = "DescribeRegions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRegions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRegions func (c *EC2) DescribeRegionsRequest(input *DescribeRegionsInput) (req *request.Request, output *DescribeRegionsOutput) { op := &request.Operation{ Name: opDescribeRegions, @@ -10626,7 +11570,7 @@ func (c *EC2) DescribeRegionsRequest(input *DescribeRegionsInput) (req *request. // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeRegions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRegions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRegions func (c *EC2) DescribeRegions(input *DescribeRegionsInput) (*DescribeRegionsOutput, error) { req, out := c.DescribeRegionsRequest(input) return out, req.Send() @@ -10673,7 +11617,7 @@ const opDescribeReservedInstances = "DescribeReservedInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstances func (c *EC2) DescribeReservedInstancesRequest(input *DescribeReservedInstancesInput) (req *request.Request, output *DescribeReservedInstancesOutput) { op := &request.Operation{ Name: opDescribeReservedInstances, @@ -10703,7 +11647,7 @@ func (c *EC2) DescribeReservedInstancesRequest(input *DescribeReservedInstancesI // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeReservedInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstances func (c *EC2) DescribeReservedInstances(input *DescribeReservedInstancesInput) (*DescribeReservedInstancesOutput, error) { req, out := c.DescribeReservedInstancesRequest(input) return out, req.Send() @@ -10750,7 +11694,7 @@ const opDescribeReservedInstancesListings = "DescribeReservedInstancesListings" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesListings +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesListings func (c *EC2) DescribeReservedInstancesListingsRequest(input *DescribeReservedInstancesListingsInput) (req *request.Request, output *DescribeReservedInstancesListingsOutput) { op := &request.Operation{ Name: opDescribeReservedInstancesListings, @@ -10798,7 +11742,7 @@ func (c *EC2) DescribeReservedInstancesListingsRequest(input *DescribeReservedIn // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeReservedInstancesListings for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesListings +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesListings func (c *EC2) DescribeReservedInstancesListings(input *DescribeReservedInstancesListingsInput) (*DescribeReservedInstancesListingsOutput, error) { req, out := c.DescribeReservedInstancesListingsRequest(input) return out, req.Send() @@ -10845,7 +11789,7 @@ const opDescribeReservedInstancesModifications = "DescribeReservedInstancesModif // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesModifications +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesModifications func (c *EC2) DescribeReservedInstancesModificationsRequest(input *DescribeReservedInstancesModificationsInput) (req *request.Request, output *DescribeReservedInstancesModificationsOutput) { op := &request.Operation{ Name: opDescribeReservedInstancesModifications, @@ -10884,7 +11828,7 @@ func (c *EC2) DescribeReservedInstancesModificationsRequest(input *DescribeReser // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeReservedInstancesModifications for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesModifications +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesModifications func (c *EC2) DescribeReservedInstancesModifications(input *DescribeReservedInstancesModificationsInput) (*DescribeReservedInstancesModificationsOutput, error) { req, out := c.DescribeReservedInstancesModificationsRequest(input) return out, req.Send() @@ -10981,7 +11925,7 @@ const opDescribeReservedInstancesOfferings = "DescribeReservedInstancesOfferings // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesOfferings +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesOfferings func (c *EC2) DescribeReservedInstancesOfferingsRequest(input *DescribeReservedInstancesOfferingsInput) (req *request.Request, output *DescribeReservedInstancesOfferingsOutput) { op := &request.Operation{ Name: opDescribeReservedInstancesOfferings, @@ -11025,7 +11969,7 @@ func (c *EC2) DescribeReservedInstancesOfferingsRequest(input *DescribeReservedI // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeReservedInstancesOfferings for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesOfferings +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesOfferings func (c *EC2) DescribeReservedInstancesOfferings(input *DescribeReservedInstancesOfferingsInput) (*DescribeReservedInstancesOfferingsOutput, error) { req, out := c.DescribeReservedInstancesOfferingsRequest(input) return out, req.Send() @@ -11122,7 +12066,7 @@ const opDescribeRouteTables = "DescribeRouteTables" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTables +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTables func (c *EC2) DescribeRouteTablesRequest(input *DescribeRouteTablesInput) (req *request.Request, output *DescribeRouteTablesOutput) { op := &request.Operation{ Name: opDescribeRouteTables, @@ -11157,7 +12101,7 @@ func (c *EC2) DescribeRouteTablesRequest(input *DescribeRouteTablesInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeRouteTables for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTables +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTables func (c *EC2) DescribeRouteTables(input *DescribeRouteTablesInput) (*DescribeRouteTablesOutput, error) { req, out := c.DescribeRouteTablesRequest(input) return out, req.Send() @@ -11204,7 +12148,7 @@ const opDescribeScheduledInstanceAvailability = "DescribeScheduledInstanceAvaila // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstanceAvailability +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstanceAvailability func (c *EC2) DescribeScheduledInstanceAvailabilityRequest(input *DescribeScheduledInstanceAvailabilityInput) (req *request.Request, output *DescribeScheduledInstanceAvailabilityOutput) { op := &request.Operation{ Name: opDescribeScheduledInstanceAvailability, @@ -11239,7 +12183,7 @@ func (c *EC2) DescribeScheduledInstanceAvailabilityRequest(input *DescribeSchedu // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeScheduledInstanceAvailability for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstanceAvailability +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstanceAvailability func (c *EC2) DescribeScheduledInstanceAvailability(input *DescribeScheduledInstanceAvailabilityInput) (*DescribeScheduledInstanceAvailabilityOutput, error) { req, out := c.DescribeScheduledInstanceAvailabilityRequest(input) return out, req.Send() @@ -11286,7 +12230,7 @@ const opDescribeScheduledInstances = "DescribeScheduledInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstances func (c *EC2) DescribeScheduledInstancesRequest(input *DescribeScheduledInstancesInput) (req *request.Request, output *DescribeScheduledInstancesOutput) { op := &request.Operation{ Name: opDescribeScheduledInstances, @@ -11313,7 +12257,7 @@ func (c *EC2) DescribeScheduledInstancesRequest(input *DescribeScheduledInstance // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeScheduledInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstances func (c *EC2) DescribeScheduledInstances(input *DescribeScheduledInstancesInput) (*DescribeScheduledInstancesOutput, error) { req, out := c.DescribeScheduledInstancesRequest(input) return out, req.Send() @@ -11360,7 +12304,7 @@ const opDescribeSecurityGroupReferences = "DescribeSecurityGroupReferences" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupReferences +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupReferences func (c *EC2) DescribeSecurityGroupReferencesRequest(input *DescribeSecurityGroupReferencesInput) (req *request.Request, output *DescribeSecurityGroupReferencesOutput) { op := &request.Operation{ Name: opDescribeSecurityGroupReferences, @@ -11388,7 +12332,7 @@ func (c *EC2) DescribeSecurityGroupReferencesRequest(input *DescribeSecurityGrou // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeSecurityGroupReferences for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupReferences +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupReferences func (c *EC2) DescribeSecurityGroupReferences(input *DescribeSecurityGroupReferencesInput) (*DescribeSecurityGroupReferencesOutput, error) { req, out := c.DescribeSecurityGroupReferencesRequest(input) return out, req.Send() @@ -11435,7 +12379,7 @@ const opDescribeSecurityGroups = "DescribeSecurityGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroups func (c *EC2) DescribeSecurityGroupsRequest(input *DescribeSecurityGroupsInput) (req *request.Request, output *DescribeSecurityGroupsOutput) { op := &request.Operation{ Name: opDescribeSecurityGroups, @@ -11469,7 +12413,7 @@ func (c *EC2) DescribeSecurityGroupsRequest(input *DescribeSecurityGroupsInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeSecurityGroups for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroups func (c *EC2) DescribeSecurityGroups(input *DescribeSecurityGroupsInput) (*DescribeSecurityGroupsOutput, error) { req, out := c.DescribeSecurityGroupsRequest(input) return out, req.Send() @@ -11516,7 +12460,7 @@ const opDescribeSnapshotAttribute = "DescribeSnapshotAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotAttribute func (c *EC2) DescribeSnapshotAttributeRequest(input *DescribeSnapshotAttributeInput) (req *request.Request, output *DescribeSnapshotAttributeOutput) { op := &request.Operation{ Name: opDescribeSnapshotAttribute, @@ -11547,7 +12491,7 @@ func (c *EC2) DescribeSnapshotAttributeRequest(input *DescribeSnapshotAttributeI // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeSnapshotAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotAttribute func (c *EC2) DescribeSnapshotAttribute(input *DescribeSnapshotAttributeInput) (*DescribeSnapshotAttributeOutput, error) { req, out := c.DescribeSnapshotAttributeRequest(input) return out, req.Send() @@ -11594,7 +12538,7 @@ const opDescribeSnapshots = "DescribeSnapshots" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshots +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshots func (c *EC2) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *request.Request, output *DescribeSnapshotsOutput) { op := &request.Operation{ Name: opDescribeSnapshots, @@ -11672,7 +12616,7 @@ func (c *EC2) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeSnapshots for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshots +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshots func (c *EC2) DescribeSnapshots(input *DescribeSnapshotsInput) (*DescribeSnapshotsOutput, error) { req, out := c.DescribeSnapshotsRequest(input) return out, req.Send() @@ -11769,7 +12713,7 @@ const opDescribeSpotDatafeedSubscription = "DescribeSpotDatafeedSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotDatafeedSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotDatafeedSubscription func (c *EC2) DescribeSpotDatafeedSubscriptionRequest(input *DescribeSpotDatafeedSubscriptionInput) (req *request.Request, output *DescribeSpotDatafeedSubscriptionOutput) { op := &request.Operation{ Name: opDescribeSpotDatafeedSubscription, @@ -11788,7 +12732,7 @@ func (c *EC2) DescribeSpotDatafeedSubscriptionRequest(input *DescribeSpotDatafee // DescribeSpotDatafeedSubscription API operation for Amazon Elastic Compute Cloud. // -// Describes the data feed for Spot instances. For more information, see Spot +// Describes the data feed for Spot Instances. For more information, see Spot // Instance Data Feed (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html) // in the Amazon Elastic Compute Cloud User Guide. // @@ -11798,7 +12742,7 @@ func (c *EC2) DescribeSpotDatafeedSubscriptionRequest(input *DescribeSpotDatafee // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeSpotDatafeedSubscription for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotDatafeedSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotDatafeedSubscription func (c *EC2) DescribeSpotDatafeedSubscription(input *DescribeSpotDatafeedSubscriptionInput) (*DescribeSpotDatafeedSubscriptionOutput, error) { req, out := c.DescribeSpotDatafeedSubscriptionRequest(input) return out, req.Send() @@ -11845,7 +12789,7 @@ const opDescribeSpotFleetInstances = "DescribeSpotFleetInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetInstances func (c *EC2) DescribeSpotFleetInstancesRequest(input *DescribeSpotFleetInstancesInput) (req *request.Request, output *DescribeSpotFleetInstancesOutput) { op := &request.Operation{ Name: opDescribeSpotFleetInstances, @@ -11864,7 +12808,7 @@ func (c *EC2) DescribeSpotFleetInstancesRequest(input *DescribeSpotFleetInstance // DescribeSpotFleetInstances API operation for Amazon Elastic Compute Cloud. // -// Describes the running instances for the specified Spot fleet. +// Describes the running instances for the specified Spot Fleet. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -11872,7 +12816,7 @@ func (c *EC2) DescribeSpotFleetInstancesRequest(input *DescribeSpotFleetInstance // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeSpotFleetInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetInstances func (c *EC2) DescribeSpotFleetInstances(input *DescribeSpotFleetInstancesInput) (*DescribeSpotFleetInstancesOutput, error) { req, out := c.DescribeSpotFleetInstancesRequest(input) return out, req.Send() @@ -11919,7 +12863,7 @@ const opDescribeSpotFleetRequestHistory = "DescribeSpotFleetRequestHistory" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestHistory func (c *EC2) DescribeSpotFleetRequestHistoryRequest(input *DescribeSpotFleetRequestHistoryInput) (req *request.Request, output *DescribeSpotFleetRequestHistoryOutput) { op := &request.Operation{ Name: opDescribeSpotFleetRequestHistory, @@ -11938,10 +12882,10 @@ func (c *EC2) DescribeSpotFleetRequestHistoryRequest(input *DescribeSpotFleetReq // DescribeSpotFleetRequestHistory API operation for Amazon Elastic Compute Cloud. // -// Describes the events for the specified Spot fleet request during the specified +// Describes the events for the specified Spot Fleet request during the specified // time. // -// Spot fleet events are delayed by up to 30 seconds before they can be described. +// Spot Fleet events are delayed by up to 30 seconds before they can be described. // This ensures that you can query by the last evaluated time and not miss a // recorded event. // @@ -11951,7 +12895,7 @@ func (c *EC2) DescribeSpotFleetRequestHistoryRequest(input *DescribeSpotFleetReq // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeSpotFleetRequestHistory for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestHistory func (c *EC2) DescribeSpotFleetRequestHistory(input *DescribeSpotFleetRequestHistoryInput) (*DescribeSpotFleetRequestHistoryOutput, error) { req, out := c.DescribeSpotFleetRequestHistoryRequest(input) return out, req.Send() @@ -11998,7 +12942,7 @@ const opDescribeSpotFleetRequests = "DescribeSpotFleetRequests" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequests +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequests func (c *EC2) DescribeSpotFleetRequestsRequest(input *DescribeSpotFleetRequestsInput) (req *request.Request, output *DescribeSpotFleetRequestsOutput) { op := &request.Operation{ Name: opDescribeSpotFleetRequests, @@ -12023,9 +12967,9 @@ func (c *EC2) DescribeSpotFleetRequestsRequest(input *DescribeSpotFleetRequestsI // DescribeSpotFleetRequests API operation for Amazon Elastic Compute Cloud. // -// Describes your Spot fleet requests. +// Describes your Spot Fleet requests. // -// Spot fleet requests are deleted 48 hours after they are canceled and their +// Spot Fleet requests are deleted 48 hours after they are canceled and their // instances are terminated. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -12034,7 +12978,7 @@ func (c *EC2) DescribeSpotFleetRequestsRequest(input *DescribeSpotFleetRequestsI // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeSpotFleetRequests for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequests +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequests func (c *EC2) DescribeSpotFleetRequests(input *DescribeSpotFleetRequestsInput) (*DescribeSpotFleetRequestsOutput, error) { req, out := c.DescribeSpotFleetRequestsRequest(input) return out, req.Send() @@ -12131,7 +13075,7 @@ const opDescribeSpotInstanceRequests = "DescribeSpotInstanceRequests" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequests +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequests func (c *EC2) DescribeSpotInstanceRequestsRequest(input *DescribeSpotInstanceRequestsInput) (req *request.Request, output *DescribeSpotInstanceRequestsOutput) { op := &request.Operation{ Name: opDescribeSpotInstanceRequests, @@ -12150,20 +13094,19 @@ func (c *EC2) DescribeSpotInstanceRequestsRequest(input *DescribeSpotInstanceReq // DescribeSpotInstanceRequests API operation for Amazon Elastic Compute Cloud. // -// Describes the Spot instance requests that belong to your account. Spot instances -// are instances that Amazon EC2 launches when the bid price that you specify -// exceeds the current Spot price. Amazon EC2 periodically sets the Spot price -// based on available Spot instance capacity and current Spot instance requests. -// For more information, see Spot Instance Requests (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html) -// in the Amazon Elastic Compute Cloud User Guide. +// Describes the Spot Instance requests that belong to your account. Spot Instances +// are instances that Amazon EC2 launches when the Spot price that you specify +// exceeds the current Spot price. For more information, see Spot Instance Requests +// (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html) in +// the Amazon Elastic Compute Cloud User Guide. // -// You can use DescribeSpotInstanceRequests to find a running Spot instance -// by examining the response. If the status of the Spot instance is fulfilled, +// You can use DescribeSpotInstanceRequests to find a running Spot Instance +// by examining the response. If the status of the Spot Instance is fulfilled, // the instance ID appears in the response and contains the identifier of the // instance. Alternatively, you can use DescribeInstances with a filter to look // for instances where the instance lifecycle is spot. // -// Spot instance requests are deleted 4 hours after they are canceled and their +// Spot Instance requests are deleted 4 hours after they are canceled and their // instances are terminated. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -12172,7 +13115,7 @@ func (c *EC2) DescribeSpotInstanceRequestsRequest(input *DescribeSpotInstanceReq // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeSpotInstanceRequests for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequests +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequests func (c *EC2) DescribeSpotInstanceRequests(input *DescribeSpotInstanceRequestsInput) (*DescribeSpotInstanceRequestsOutput, error) { req, out := c.DescribeSpotInstanceRequestsRequest(input) return out, req.Send() @@ -12219,7 +13162,7 @@ const opDescribeSpotPriceHistory = "DescribeSpotPriceHistory" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotPriceHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotPriceHistory func (c *EC2) DescribeSpotPriceHistoryRequest(input *DescribeSpotPriceHistoryInput) (req *request.Request, output *DescribeSpotPriceHistoryOutput) { op := &request.Operation{ Name: opDescribeSpotPriceHistory, @@ -12259,7 +13202,7 @@ func (c *EC2) DescribeSpotPriceHistoryRequest(input *DescribeSpotPriceHistoryInp // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeSpotPriceHistory for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotPriceHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotPriceHistory func (c *EC2) DescribeSpotPriceHistory(input *DescribeSpotPriceHistoryInput) (*DescribeSpotPriceHistoryOutput, error) { req, out := c.DescribeSpotPriceHistoryRequest(input) return out, req.Send() @@ -12356,7 +13299,7 @@ const opDescribeStaleSecurityGroups = "DescribeStaleSecurityGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStaleSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStaleSecurityGroups func (c *EC2) DescribeStaleSecurityGroupsRequest(input *DescribeStaleSecurityGroupsInput) (req *request.Request, output *DescribeStaleSecurityGroupsOutput) { op := &request.Operation{ Name: opDescribeStaleSecurityGroups, @@ -12386,7 +13329,7 @@ func (c *EC2) DescribeStaleSecurityGroupsRequest(input *DescribeStaleSecurityGro // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeStaleSecurityGroups for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStaleSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStaleSecurityGroups func (c *EC2) DescribeStaleSecurityGroups(input *DescribeStaleSecurityGroupsInput) (*DescribeStaleSecurityGroupsOutput, error) { req, out := c.DescribeStaleSecurityGroupsRequest(input) return out, req.Send() @@ -12433,7 +13376,7 @@ const opDescribeSubnets = "DescribeSubnets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSubnets +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSubnets func (c *EC2) DescribeSubnetsRequest(input *DescribeSubnetsInput) (req *request.Request, output *DescribeSubnetsOutput) { op := &request.Operation{ Name: opDescribeSubnets, @@ -12463,7 +13406,7 @@ func (c *EC2) DescribeSubnetsRequest(input *DescribeSubnetsInput) (req *request. // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeSubnets for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSubnets +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSubnets func (c *EC2) DescribeSubnets(input *DescribeSubnetsInput) (*DescribeSubnetsOutput, error) { req, out := c.DescribeSubnetsRequest(input) return out, req.Send() @@ -12510,7 +13453,7 @@ const opDescribeTags = "DescribeTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTags func (c *EC2) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { op := &request.Operation{ Name: opDescribeTags, @@ -12546,7 +13489,7 @@ func (c *EC2) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeTags for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTags func (c *EC2) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { req, out := c.DescribeTagsRequest(input) return out, req.Send() @@ -12643,7 +13586,7 @@ const opDescribeVolumeAttribute = "DescribeVolumeAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeAttribute func (c *EC2) DescribeVolumeAttributeRequest(input *DescribeVolumeAttributeInput) (req *request.Request, output *DescribeVolumeAttributeOutput) { op := &request.Operation{ Name: opDescribeVolumeAttribute, @@ -12674,7 +13617,7 @@ func (c *EC2) DescribeVolumeAttributeRequest(input *DescribeVolumeAttributeInput // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeVolumeAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeAttribute func (c *EC2) DescribeVolumeAttribute(input *DescribeVolumeAttributeInput) (*DescribeVolumeAttributeOutput, error) { req, out := c.DescribeVolumeAttributeRequest(input) return out, req.Send() @@ -12721,7 +13664,7 @@ const opDescribeVolumeStatus = "DescribeVolumeStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatus func (c *EC2) DescribeVolumeStatusRequest(input *DescribeVolumeStatusInput) (req *request.Request, output *DescribeVolumeStatusOutput) { op := &request.Operation{ Name: opDescribeVolumeStatus, @@ -12788,7 +13731,7 @@ func (c *EC2) DescribeVolumeStatusRequest(input *DescribeVolumeStatusInput) (req // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeVolumeStatus for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatus func (c *EC2) DescribeVolumeStatus(input *DescribeVolumeStatusInput) (*DescribeVolumeStatusOutput, error) { req, out := c.DescribeVolumeStatusRequest(input) return out, req.Send() @@ -12885,7 +13828,7 @@ const opDescribeVolumes = "DescribeVolumes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumes func (c *EC2) DescribeVolumesRequest(input *DescribeVolumesInput) (req *request.Request, output *DescribeVolumesOutput) { op := &request.Operation{ Name: opDescribeVolumes, @@ -12928,7 +13871,7 @@ func (c *EC2) DescribeVolumesRequest(input *DescribeVolumesInput) (req *request. // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeVolumes for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumes func (c *EC2) DescribeVolumes(input *DescribeVolumesInput) (*DescribeVolumesOutput, error) { req, out := c.DescribeVolumesRequest(input) return out, req.Send() @@ -13025,7 +13968,7 @@ const opDescribeVolumesModifications = "DescribeVolumesModifications" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModifications +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModifications func (c *EC2) DescribeVolumesModificationsRequest(input *DescribeVolumesModificationsInput) (req *request.Request, output *DescribeVolumesModificationsOutput) { op := &request.Operation{ Name: opDescribeVolumesModifications, @@ -13064,7 +14007,7 @@ func (c *EC2) DescribeVolumesModificationsRequest(input *DescribeVolumesModifica // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeVolumesModifications for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModifications +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModifications func (c *EC2) DescribeVolumesModifications(input *DescribeVolumesModificationsInput) (*DescribeVolumesModificationsOutput, error) { req, out := c.DescribeVolumesModificationsRequest(input) return out, req.Send() @@ -13111,7 +14054,7 @@ const opDescribeVpcAttribute = "DescribeVpcAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcAttribute func (c *EC2) DescribeVpcAttributeRequest(input *DescribeVpcAttributeInput) (req *request.Request, output *DescribeVpcAttributeOutput) { op := &request.Operation{ Name: opDescribeVpcAttribute, @@ -13139,7 +14082,7 @@ func (c *EC2) DescribeVpcAttributeRequest(input *DescribeVpcAttributeInput) (req // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeVpcAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcAttribute func (c *EC2) DescribeVpcAttribute(input *DescribeVpcAttributeInput) (*DescribeVpcAttributeOutput, error) { req, out := c.DescribeVpcAttributeRequest(input) return out, req.Send() @@ -13186,7 +14129,7 @@ const opDescribeVpcClassicLink = "DescribeVpcClassicLink" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLink +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLink func (c *EC2) DescribeVpcClassicLinkRequest(input *DescribeVpcClassicLinkInput) (req *request.Request, output *DescribeVpcClassicLinkOutput) { op := &request.Operation{ Name: opDescribeVpcClassicLink, @@ -13213,7 +14156,7 @@ func (c *EC2) DescribeVpcClassicLinkRequest(input *DescribeVpcClassicLinkInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeVpcClassicLink for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLink +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLink func (c *EC2) DescribeVpcClassicLink(input *DescribeVpcClassicLinkInput) (*DescribeVpcClassicLinkOutput, error) { req, out := c.DescribeVpcClassicLinkRequest(input) return out, req.Send() @@ -13260,7 +14203,7 @@ const opDescribeVpcClassicLinkDnsSupport = "DescribeVpcClassicLinkDnsSupport" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkDnsSupport +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkDnsSupport func (c *EC2) DescribeVpcClassicLinkDnsSupportRequest(input *DescribeVpcClassicLinkDnsSupportInput) (req *request.Request, output *DescribeVpcClassicLinkDnsSupportOutput) { op := &request.Operation{ Name: opDescribeVpcClassicLinkDnsSupport, @@ -13293,7 +14236,7 @@ func (c *EC2) DescribeVpcClassicLinkDnsSupportRequest(input *DescribeVpcClassicL // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeVpcClassicLinkDnsSupport for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkDnsSupport +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkDnsSupport func (c *EC2) DescribeVpcClassicLinkDnsSupport(input *DescribeVpcClassicLinkDnsSupportInput) (*DescribeVpcClassicLinkDnsSupportOutput, error) { req, out := c.DescribeVpcClassicLinkDnsSupportRequest(input) return out, req.Send() @@ -13315,6 +14258,305 @@ func (c *EC2) DescribeVpcClassicLinkDnsSupportWithContext(ctx aws.Context, input return out, req.Send() } +const opDescribeVpcEndpointConnectionNotifications = "DescribeVpcEndpointConnectionNotifications" + +// DescribeVpcEndpointConnectionNotificationsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeVpcEndpointConnectionNotifications operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeVpcEndpointConnectionNotifications for more information on using the DescribeVpcEndpointConnectionNotifications +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeVpcEndpointConnectionNotificationsRequest method. +// req, resp := client.DescribeVpcEndpointConnectionNotificationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnectionNotifications +func (c *EC2) DescribeVpcEndpointConnectionNotificationsRequest(input *DescribeVpcEndpointConnectionNotificationsInput) (req *request.Request, output *DescribeVpcEndpointConnectionNotificationsOutput) { + op := &request.Operation{ + Name: opDescribeVpcEndpointConnectionNotifications, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeVpcEndpointConnectionNotificationsInput{} + } + + output = &DescribeVpcEndpointConnectionNotificationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeVpcEndpointConnectionNotifications API operation for Amazon Elastic Compute Cloud. +// +// Describes the connection notifications for VPC endpoints and VPC endpoint +// services. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeVpcEndpointConnectionNotifications for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnectionNotifications +func (c *EC2) DescribeVpcEndpointConnectionNotifications(input *DescribeVpcEndpointConnectionNotificationsInput) (*DescribeVpcEndpointConnectionNotificationsOutput, error) { + req, out := c.DescribeVpcEndpointConnectionNotificationsRequest(input) + return out, req.Send() +} + +// DescribeVpcEndpointConnectionNotificationsWithContext is the same as DescribeVpcEndpointConnectionNotifications with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeVpcEndpointConnectionNotifications for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeVpcEndpointConnectionNotificationsWithContext(ctx aws.Context, input *DescribeVpcEndpointConnectionNotificationsInput, opts ...request.Option) (*DescribeVpcEndpointConnectionNotificationsOutput, error) { + req, out := c.DescribeVpcEndpointConnectionNotificationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeVpcEndpointConnections = "DescribeVpcEndpointConnections" + +// DescribeVpcEndpointConnectionsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeVpcEndpointConnections operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeVpcEndpointConnections for more information on using the DescribeVpcEndpointConnections +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeVpcEndpointConnectionsRequest method. +// req, resp := client.DescribeVpcEndpointConnectionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnections +func (c *EC2) DescribeVpcEndpointConnectionsRequest(input *DescribeVpcEndpointConnectionsInput) (req *request.Request, output *DescribeVpcEndpointConnectionsOutput) { + op := &request.Operation{ + Name: opDescribeVpcEndpointConnections, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeVpcEndpointConnectionsInput{} + } + + output = &DescribeVpcEndpointConnectionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeVpcEndpointConnections API operation for Amazon Elastic Compute Cloud. +// +// Describes the VPC endpoint connections to your VPC endpoint services, including +// any endpoints that are pending your acceptance. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeVpcEndpointConnections for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnections +func (c *EC2) DescribeVpcEndpointConnections(input *DescribeVpcEndpointConnectionsInput) (*DescribeVpcEndpointConnectionsOutput, error) { + req, out := c.DescribeVpcEndpointConnectionsRequest(input) + return out, req.Send() +} + +// DescribeVpcEndpointConnectionsWithContext is the same as DescribeVpcEndpointConnections with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeVpcEndpointConnections for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeVpcEndpointConnectionsWithContext(ctx aws.Context, input *DescribeVpcEndpointConnectionsInput, opts ...request.Option) (*DescribeVpcEndpointConnectionsOutput, error) { + req, out := c.DescribeVpcEndpointConnectionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeVpcEndpointServiceConfigurations = "DescribeVpcEndpointServiceConfigurations" + +// DescribeVpcEndpointServiceConfigurationsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeVpcEndpointServiceConfigurations operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeVpcEndpointServiceConfigurations for more information on using the DescribeVpcEndpointServiceConfigurations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeVpcEndpointServiceConfigurationsRequest method. +// req, resp := client.DescribeVpcEndpointServiceConfigurationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServiceConfigurations +func (c *EC2) DescribeVpcEndpointServiceConfigurationsRequest(input *DescribeVpcEndpointServiceConfigurationsInput) (req *request.Request, output *DescribeVpcEndpointServiceConfigurationsOutput) { + op := &request.Operation{ + Name: opDescribeVpcEndpointServiceConfigurations, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeVpcEndpointServiceConfigurationsInput{} + } + + output = &DescribeVpcEndpointServiceConfigurationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeVpcEndpointServiceConfigurations API operation for Amazon Elastic Compute Cloud. +// +// Describes the VPC endpoint service configurations in your account (your services). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeVpcEndpointServiceConfigurations for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServiceConfigurations +func (c *EC2) DescribeVpcEndpointServiceConfigurations(input *DescribeVpcEndpointServiceConfigurationsInput) (*DescribeVpcEndpointServiceConfigurationsOutput, error) { + req, out := c.DescribeVpcEndpointServiceConfigurationsRequest(input) + return out, req.Send() +} + +// DescribeVpcEndpointServiceConfigurationsWithContext is the same as DescribeVpcEndpointServiceConfigurations with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeVpcEndpointServiceConfigurations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeVpcEndpointServiceConfigurationsWithContext(ctx aws.Context, input *DescribeVpcEndpointServiceConfigurationsInput, opts ...request.Option) (*DescribeVpcEndpointServiceConfigurationsOutput, error) { + req, out := c.DescribeVpcEndpointServiceConfigurationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeVpcEndpointServicePermissions = "DescribeVpcEndpointServicePermissions" + +// DescribeVpcEndpointServicePermissionsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeVpcEndpointServicePermissions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeVpcEndpointServicePermissions for more information on using the DescribeVpcEndpointServicePermissions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeVpcEndpointServicePermissionsRequest method. +// req, resp := client.DescribeVpcEndpointServicePermissionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicePermissions +func (c *EC2) DescribeVpcEndpointServicePermissionsRequest(input *DescribeVpcEndpointServicePermissionsInput) (req *request.Request, output *DescribeVpcEndpointServicePermissionsOutput) { + op := &request.Operation{ + Name: opDescribeVpcEndpointServicePermissions, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeVpcEndpointServicePermissionsInput{} + } + + output = &DescribeVpcEndpointServicePermissionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeVpcEndpointServicePermissions API operation for Amazon Elastic Compute Cloud. +// +// Describes the principals (service consumers) that are permitted to discover +// your VPC endpoint service. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeVpcEndpointServicePermissions for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicePermissions +func (c *EC2) DescribeVpcEndpointServicePermissions(input *DescribeVpcEndpointServicePermissionsInput) (*DescribeVpcEndpointServicePermissionsOutput, error) { + req, out := c.DescribeVpcEndpointServicePermissionsRequest(input) + return out, req.Send() +} + +// DescribeVpcEndpointServicePermissionsWithContext is the same as DescribeVpcEndpointServicePermissions with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeVpcEndpointServicePermissions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeVpcEndpointServicePermissionsWithContext(ctx aws.Context, input *DescribeVpcEndpointServicePermissionsInput, opts ...request.Option) (*DescribeVpcEndpointServicePermissionsOutput, error) { + req, out := c.DescribeVpcEndpointServicePermissionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeVpcEndpointServices = "DescribeVpcEndpointServices" // DescribeVpcEndpointServicesRequest generates a "aws/request.Request" representing the @@ -13340,7 +14582,7 @@ const opDescribeVpcEndpointServices = "DescribeVpcEndpointServices" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServices +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServices func (c *EC2) DescribeVpcEndpointServicesRequest(input *DescribeVpcEndpointServicesInput) (req *request.Request, output *DescribeVpcEndpointServicesOutput) { op := &request.Operation{ Name: opDescribeVpcEndpointServices, @@ -13359,8 +14601,7 @@ func (c *EC2) DescribeVpcEndpointServicesRequest(input *DescribeVpcEndpointServi // DescribeVpcEndpointServices API operation for Amazon Elastic Compute Cloud. // -// Describes all supported AWS services that can be specified when creating -// a VPC endpoint. +// Describes available services to which you can create a VPC endpoint. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -13368,7 +14609,7 @@ func (c *EC2) DescribeVpcEndpointServicesRequest(input *DescribeVpcEndpointServi // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeVpcEndpointServices for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServices +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServices func (c *EC2) DescribeVpcEndpointServices(input *DescribeVpcEndpointServicesInput) (*DescribeVpcEndpointServicesOutput, error) { req, out := c.DescribeVpcEndpointServicesRequest(input) return out, req.Send() @@ -13415,7 +14656,7 @@ const opDescribeVpcEndpoints = "DescribeVpcEndpoints" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpoints +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpoints func (c *EC2) DescribeVpcEndpointsRequest(input *DescribeVpcEndpointsInput) (req *request.Request, output *DescribeVpcEndpointsOutput) { op := &request.Operation{ Name: opDescribeVpcEndpoints, @@ -13442,7 +14683,7 @@ func (c *EC2) DescribeVpcEndpointsRequest(input *DescribeVpcEndpointsInput) (req // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeVpcEndpoints for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpoints +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpoints func (c *EC2) DescribeVpcEndpoints(input *DescribeVpcEndpointsInput) (*DescribeVpcEndpointsOutput, error) { req, out := c.DescribeVpcEndpointsRequest(input) return out, req.Send() @@ -13489,7 +14730,7 @@ const opDescribeVpcPeeringConnections = "DescribeVpcPeeringConnections" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnections +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnections func (c *EC2) DescribeVpcPeeringConnectionsRequest(input *DescribeVpcPeeringConnectionsInput) (req *request.Request, output *DescribeVpcPeeringConnectionsOutput) { op := &request.Operation{ Name: opDescribeVpcPeeringConnections, @@ -13516,7 +14757,7 @@ func (c *EC2) DescribeVpcPeeringConnectionsRequest(input *DescribeVpcPeeringConn // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeVpcPeeringConnections for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnections +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnections func (c *EC2) DescribeVpcPeeringConnections(input *DescribeVpcPeeringConnectionsInput) (*DescribeVpcPeeringConnectionsOutput, error) { req, out := c.DescribeVpcPeeringConnectionsRequest(input) return out, req.Send() @@ -13563,7 +14804,7 @@ const opDescribeVpcs = "DescribeVpcs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcs +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcs func (c *EC2) DescribeVpcsRequest(input *DescribeVpcsInput) (req *request.Request, output *DescribeVpcsOutput) { op := &request.Operation{ Name: opDescribeVpcs, @@ -13590,7 +14831,7 @@ func (c *EC2) DescribeVpcsRequest(input *DescribeVpcsInput) (req *request.Reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeVpcs for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcs +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcs func (c *EC2) DescribeVpcs(input *DescribeVpcsInput) (*DescribeVpcsOutput, error) { req, out := c.DescribeVpcsRequest(input) return out, req.Send() @@ -13637,7 +14878,7 @@ const opDescribeVpnConnections = "DescribeVpnConnections" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnConnections +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnConnections func (c *EC2) DescribeVpnConnectionsRequest(input *DescribeVpnConnectionsInput) (req *request.Request, output *DescribeVpnConnectionsOutput) { op := &request.Operation{ Name: opDescribeVpnConnections, @@ -13668,7 +14909,7 @@ func (c *EC2) DescribeVpnConnectionsRequest(input *DescribeVpnConnectionsInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeVpnConnections for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnConnections +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnConnections func (c *EC2) DescribeVpnConnections(input *DescribeVpnConnectionsInput) (*DescribeVpnConnectionsOutput, error) { req, out := c.DescribeVpnConnectionsRequest(input) return out, req.Send() @@ -13715,7 +14956,7 @@ const opDescribeVpnGateways = "DescribeVpnGateways" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnGateways func (c *EC2) DescribeVpnGatewaysRequest(input *DescribeVpnGatewaysInput) (req *request.Request, output *DescribeVpnGatewaysOutput) { op := &request.Operation{ Name: opDescribeVpnGateways, @@ -13746,7 +14987,7 @@ func (c *EC2) DescribeVpnGatewaysRequest(input *DescribeVpnGatewaysInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DescribeVpnGateways for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnGateways +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnGateways func (c *EC2) DescribeVpnGateways(input *DescribeVpnGatewaysInput) (*DescribeVpnGatewaysOutput, error) { req, out := c.DescribeVpnGatewaysRequest(input) return out, req.Send() @@ -13793,7 +15034,7 @@ const opDetachClassicLinkVpc = "DetachClassicLinkVpc" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachClassicLinkVpc +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachClassicLinkVpc func (c *EC2) DetachClassicLinkVpcRequest(input *DetachClassicLinkVpcInput) (req *request.Request, output *DetachClassicLinkVpcOutput) { op := &request.Operation{ Name: opDetachClassicLinkVpc, @@ -13822,7 +15063,7 @@ func (c *EC2) DetachClassicLinkVpcRequest(input *DetachClassicLinkVpcInput) (req // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DetachClassicLinkVpc for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachClassicLinkVpc +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachClassicLinkVpc func (c *EC2) DetachClassicLinkVpc(input *DetachClassicLinkVpcInput) (*DetachClassicLinkVpcOutput, error) { req, out := c.DetachClassicLinkVpcRequest(input) return out, req.Send() @@ -13869,7 +15110,7 @@ const opDetachInternetGateway = "DetachInternetGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachInternetGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachInternetGateway func (c *EC2) DetachInternetGatewayRequest(input *DetachInternetGatewayInput) (req *request.Request, output *DetachInternetGatewayOutput) { op := &request.Operation{ Name: opDetachInternetGateway, @@ -13900,7 +15141,7 @@ func (c *EC2) DetachInternetGatewayRequest(input *DetachInternetGatewayInput) (r // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DetachInternetGateway for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachInternetGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachInternetGateway func (c *EC2) DetachInternetGateway(input *DetachInternetGatewayInput) (*DetachInternetGatewayOutput, error) { req, out := c.DetachInternetGatewayRequest(input) return out, req.Send() @@ -13947,7 +15188,7 @@ const opDetachNetworkInterface = "DetachNetworkInterface" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachNetworkInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachNetworkInterface func (c *EC2) DetachNetworkInterfaceRequest(input *DetachNetworkInterfaceInput) (req *request.Request, output *DetachNetworkInterfaceOutput) { op := &request.Operation{ Name: opDetachNetworkInterface, @@ -13976,7 +15217,7 @@ func (c *EC2) DetachNetworkInterfaceRequest(input *DetachNetworkInterfaceInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DetachNetworkInterface for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachNetworkInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachNetworkInterface func (c *EC2) DetachNetworkInterface(input *DetachNetworkInterfaceInput) (*DetachNetworkInterfaceOutput, error) { req, out := c.DetachNetworkInterfaceRequest(input) return out, req.Send() @@ -14023,7 +15264,7 @@ const opDetachVolume = "DetachVolume" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVolume func (c *EC2) DetachVolumeRequest(input *DetachVolumeInput) (req *request.Request, output *VolumeAttachment) { op := &request.Operation{ Name: opDetachVolume, @@ -14063,7 +15304,7 @@ func (c *EC2) DetachVolumeRequest(input *DetachVolumeInput) (req *request.Reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DetachVolume for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVolume func (c *EC2) DetachVolume(input *DetachVolumeInput) (*VolumeAttachment, error) { req, out := c.DetachVolumeRequest(input) return out, req.Send() @@ -14110,7 +15351,7 @@ const opDetachVpnGateway = "DetachVpnGateway" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVpnGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVpnGateway func (c *EC2) DetachVpnGatewayRequest(input *DetachVpnGatewayInput) (req *request.Request, output *DetachVpnGatewayOutput) { op := &request.Operation{ Name: opDetachVpnGateway, @@ -14146,7 +15387,7 @@ func (c *EC2) DetachVpnGatewayRequest(input *DetachVpnGatewayInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DetachVpnGateway for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVpnGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVpnGateway func (c *EC2) DetachVpnGateway(input *DetachVpnGatewayInput) (*DetachVpnGatewayOutput, error) { req, out := c.DetachVpnGatewayRequest(input) return out, req.Send() @@ -14193,7 +15434,7 @@ const opDisableVgwRoutePropagation = "DisableVgwRoutePropagation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVgwRoutePropagation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVgwRoutePropagation func (c *EC2) DisableVgwRoutePropagationRequest(input *DisableVgwRoutePropagationInput) (req *request.Request, output *DisableVgwRoutePropagationOutput) { op := &request.Operation{ Name: opDisableVgwRoutePropagation, @@ -14223,7 +15464,7 @@ func (c *EC2) DisableVgwRoutePropagationRequest(input *DisableVgwRoutePropagatio // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DisableVgwRoutePropagation for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVgwRoutePropagation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVgwRoutePropagation func (c *EC2) DisableVgwRoutePropagation(input *DisableVgwRoutePropagationInput) (*DisableVgwRoutePropagationOutput, error) { req, out := c.DisableVgwRoutePropagationRequest(input) return out, req.Send() @@ -14270,7 +15511,7 @@ const opDisableVpcClassicLink = "DisableVpcClassicLink" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLink +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLink func (c *EC2) DisableVpcClassicLinkRequest(input *DisableVpcClassicLinkInput) (req *request.Request, output *DisableVpcClassicLinkOutput) { op := &request.Operation{ Name: opDisableVpcClassicLink, @@ -14298,7 +15539,7 @@ func (c *EC2) DisableVpcClassicLinkRequest(input *DisableVpcClassicLinkInput) (r // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DisableVpcClassicLink for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLink +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLink func (c *EC2) DisableVpcClassicLink(input *DisableVpcClassicLinkInput) (*DisableVpcClassicLinkOutput, error) { req, out := c.DisableVpcClassicLinkRequest(input) return out, req.Send() @@ -14345,7 +15586,7 @@ const opDisableVpcClassicLinkDnsSupport = "DisableVpcClassicLinkDnsSupport" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkDnsSupport +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkDnsSupport func (c *EC2) DisableVpcClassicLinkDnsSupportRequest(input *DisableVpcClassicLinkDnsSupportInput) (req *request.Request, output *DisableVpcClassicLinkDnsSupportOutput) { op := &request.Operation{ Name: opDisableVpcClassicLinkDnsSupport, @@ -14376,7 +15617,7 @@ func (c *EC2) DisableVpcClassicLinkDnsSupportRequest(input *DisableVpcClassicLin // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DisableVpcClassicLinkDnsSupport for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkDnsSupport +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkDnsSupport func (c *EC2) DisableVpcClassicLinkDnsSupport(input *DisableVpcClassicLinkDnsSupportInput) (*DisableVpcClassicLinkDnsSupportOutput, error) { req, out := c.DisableVpcClassicLinkDnsSupportRequest(input) return out, req.Send() @@ -14423,7 +15664,7 @@ const opDisassociateAddress = "DisassociateAddress" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateAddress func (c *EC2) DisassociateAddressRequest(input *DisassociateAddressInput) (req *request.Request, output *DisassociateAddressOutput) { op := &request.Operation{ Name: opDisassociateAddress, @@ -14460,7 +15701,7 @@ func (c *EC2) DisassociateAddressRequest(input *DisassociateAddressInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DisassociateAddress for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateAddress func (c *EC2) DisassociateAddress(input *DisassociateAddressInput) (*DisassociateAddressOutput, error) { req, out := c.DisassociateAddressRequest(input) return out, req.Send() @@ -14507,7 +15748,7 @@ const opDisassociateIamInstanceProfile = "DisassociateIamInstanceProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIamInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIamInstanceProfile func (c *EC2) DisassociateIamInstanceProfileRequest(input *DisassociateIamInstanceProfileInput) (req *request.Request, output *DisassociateIamInstanceProfileOutput) { op := &request.Operation{ Name: opDisassociateIamInstanceProfile, @@ -14536,7 +15777,7 @@ func (c *EC2) DisassociateIamInstanceProfileRequest(input *DisassociateIamInstan // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DisassociateIamInstanceProfile for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIamInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIamInstanceProfile func (c *EC2) DisassociateIamInstanceProfile(input *DisassociateIamInstanceProfileInput) (*DisassociateIamInstanceProfileOutput, error) { req, out := c.DisassociateIamInstanceProfileRequest(input) return out, req.Send() @@ -14583,7 +15824,7 @@ const opDisassociateRouteTable = "DisassociateRouteTable" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateRouteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateRouteTable func (c *EC2) DisassociateRouteTableRequest(input *DisassociateRouteTableInput) (req *request.Request, output *DisassociateRouteTableOutput) { op := &request.Operation{ Name: opDisassociateRouteTable, @@ -14617,7 +15858,7 @@ func (c *EC2) DisassociateRouteTableRequest(input *DisassociateRouteTableInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DisassociateRouteTable for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateRouteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateRouteTable func (c *EC2) DisassociateRouteTable(input *DisassociateRouteTableInput) (*DisassociateRouteTableOutput, error) { req, out := c.DisassociateRouteTableRequest(input) return out, req.Send() @@ -14664,7 +15905,7 @@ const opDisassociateSubnetCidrBlock = "DisassociateSubnetCidrBlock" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSubnetCidrBlock +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSubnetCidrBlock func (c *EC2) DisassociateSubnetCidrBlockRequest(input *DisassociateSubnetCidrBlockInput) (req *request.Request, output *DisassociateSubnetCidrBlockOutput) { op := &request.Operation{ Name: opDisassociateSubnetCidrBlock, @@ -14693,7 +15934,7 @@ func (c *EC2) DisassociateSubnetCidrBlockRequest(input *DisassociateSubnetCidrBl // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DisassociateSubnetCidrBlock for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSubnetCidrBlock +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSubnetCidrBlock func (c *EC2) DisassociateSubnetCidrBlock(input *DisassociateSubnetCidrBlockInput) (*DisassociateSubnetCidrBlockOutput, error) { req, out := c.DisassociateSubnetCidrBlockRequest(input) return out, req.Send() @@ -14740,7 +15981,7 @@ const opDisassociateVpcCidrBlock = "DisassociateVpcCidrBlock" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateVpcCidrBlock +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateVpcCidrBlock func (c *EC2) DisassociateVpcCidrBlockRequest(input *DisassociateVpcCidrBlockInput) (req *request.Request, output *DisassociateVpcCidrBlockOutput) { op := &request.Operation{ Name: opDisassociateVpcCidrBlock, @@ -14773,7 +16014,7 @@ func (c *EC2) DisassociateVpcCidrBlockRequest(input *DisassociateVpcCidrBlockInp // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation DisassociateVpcCidrBlock for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateVpcCidrBlock +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateVpcCidrBlock func (c *EC2) DisassociateVpcCidrBlock(input *DisassociateVpcCidrBlockInput) (*DisassociateVpcCidrBlockOutput, error) { req, out := c.DisassociateVpcCidrBlockRequest(input) return out, req.Send() @@ -14820,7 +16061,7 @@ const opEnableVgwRoutePropagation = "EnableVgwRoutePropagation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVgwRoutePropagation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVgwRoutePropagation func (c *EC2) EnableVgwRoutePropagationRequest(input *EnableVgwRoutePropagationInput) (req *request.Request, output *EnableVgwRoutePropagationOutput) { op := &request.Operation{ Name: opEnableVgwRoutePropagation, @@ -14850,7 +16091,7 @@ func (c *EC2) EnableVgwRoutePropagationRequest(input *EnableVgwRoutePropagationI // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation EnableVgwRoutePropagation for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVgwRoutePropagation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVgwRoutePropagation func (c *EC2) EnableVgwRoutePropagation(input *EnableVgwRoutePropagationInput) (*EnableVgwRoutePropagationOutput, error) { req, out := c.EnableVgwRoutePropagationRequest(input) return out, req.Send() @@ -14897,7 +16138,7 @@ const opEnableVolumeIO = "EnableVolumeIO" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVolumeIO +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVolumeIO func (c *EC2) EnableVolumeIORequest(input *EnableVolumeIOInput) (req *request.Request, output *EnableVolumeIOOutput) { op := &request.Operation{ Name: opEnableVolumeIO, @@ -14927,7 +16168,7 @@ func (c *EC2) EnableVolumeIORequest(input *EnableVolumeIOInput) (req *request.Re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation EnableVolumeIO for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVolumeIO +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVolumeIO func (c *EC2) EnableVolumeIO(input *EnableVolumeIOInput) (*EnableVolumeIOOutput, error) { req, out := c.EnableVolumeIORequest(input) return out, req.Send() @@ -14974,7 +16215,7 @@ const opEnableVpcClassicLink = "EnableVpcClassicLink" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLink +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLink func (c *EC2) EnableVpcClassicLinkRequest(input *EnableVpcClassicLinkInput) (req *request.Request, output *EnableVpcClassicLinkOutput) { op := &request.Operation{ Name: opEnableVpcClassicLink, @@ -15007,7 +16248,7 @@ func (c *EC2) EnableVpcClassicLinkRequest(input *EnableVpcClassicLinkInput) (req // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation EnableVpcClassicLink for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLink +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLink func (c *EC2) EnableVpcClassicLink(input *EnableVpcClassicLinkInput) (*EnableVpcClassicLinkOutput, error) { req, out := c.EnableVpcClassicLinkRequest(input) return out, req.Send() @@ -15054,7 +16295,7 @@ const opEnableVpcClassicLinkDnsSupport = "EnableVpcClassicLinkDnsSupport" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkDnsSupport +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkDnsSupport func (c *EC2) EnableVpcClassicLinkDnsSupportRequest(input *EnableVpcClassicLinkDnsSupportInput) (req *request.Request, output *EnableVpcClassicLinkDnsSupportOutput) { op := &request.Operation{ Name: opEnableVpcClassicLinkDnsSupport, @@ -15087,7 +16328,7 @@ func (c *EC2) EnableVpcClassicLinkDnsSupportRequest(input *EnableVpcClassicLinkD // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation EnableVpcClassicLinkDnsSupport for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkDnsSupport +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkDnsSupport func (c *EC2) EnableVpcClassicLinkDnsSupport(input *EnableVpcClassicLinkDnsSupportInput) (*EnableVpcClassicLinkDnsSupportOutput, error) { req, out := c.EnableVpcClassicLinkDnsSupportRequest(input) return out, req.Send() @@ -15134,7 +16375,7 @@ const opGetConsoleOutput = "GetConsoleOutput" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleOutput func (c *EC2) GetConsoleOutputRequest(input *GetConsoleOutputInput) (req *request.Request, output *GetConsoleOutputOutput) { op := &request.Operation{ Name: opGetConsoleOutput, @@ -15178,7 +16419,7 @@ func (c *EC2) GetConsoleOutputRequest(input *GetConsoleOutputInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation GetConsoleOutput for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleOutput func (c *EC2) GetConsoleOutput(input *GetConsoleOutputInput) (*GetConsoleOutputOutput, error) { req, out := c.GetConsoleOutputRequest(input) return out, req.Send() @@ -15225,7 +16466,7 @@ const opGetConsoleScreenshot = "GetConsoleScreenshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleScreenshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleScreenshot func (c *EC2) GetConsoleScreenshotRequest(input *GetConsoleScreenshotInput) (req *request.Request, output *GetConsoleScreenshotOutput) { op := &request.Operation{ Name: opGetConsoleScreenshot, @@ -15254,7 +16495,7 @@ func (c *EC2) GetConsoleScreenshotRequest(input *GetConsoleScreenshotInput) (req // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation GetConsoleScreenshot for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleScreenshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleScreenshot func (c *EC2) GetConsoleScreenshot(input *GetConsoleScreenshotInput) (*GetConsoleScreenshotOutput, error) { req, out := c.GetConsoleScreenshotRequest(input) return out, req.Send() @@ -15301,7 +16542,7 @@ const opGetHostReservationPurchasePreview = "GetHostReservationPurchasePreview" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetHostReservationPurchasePreview +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetHostReservationPurchasePreview func (c *EC2) GetHostReservationPurchasePreviewRequest(input *GetHostReservationPurchasePreviewInput) (req *request.Request, output *GetHostReservationPurchasePreviewOutput) { op := &request.Operation{ Name: opGetHostReservationPurchasePreview, @@ -15333,7 +16574,7 @@ func (c *EC2) GetHostReservationPurchasePreviewRequest(input *GetHostReservation // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation GetHostReservationPurchasePreview for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetHostReservationPurchasePreview +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetHostReservationPurchasePreview func (c *EC2) GetHostReservationPurchasePreview(input *GetHostReservationPurchasePreviewInput) (*GetHostReservationPurchasePreviewOutput, error) { req, out := c.GetHostReservationPurchasePreviewRequest(input) return out, req.Send() @@ -15355,6 +16596,81 @@ func (c *EC2) GetHostReservationPurchasePreviewWithContext(ctx aws.Context, inpu return out, req.Send() } +const opGetLaunchTemplateData = "GetLaunchTemplateData" + +// GetLaunchTemplateDataRequest generates a "aws/request.Request" representing the +// client's request for the GetLaunchTemplateData operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetLaunchTemplateData for more information on using the GetLaunchTemplateData +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetLaunchTemplateDataRequest method. +// req, resp := client.GetLaunchTemplateDataRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateData +func (c *EC2) GetLaunchTemplateDataRequest(input *GetLaunchTemplateDataInput) (req *request.Request, output *GetLaunchTemplateDataOutput) { + op := &request.Operation{ + Name: opGetLaunchTemplateData, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetLaunchTemplateDataInput{} + } + + output = &GetLaunchTemplateDataOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetLaunchTemplateData API operation for Amazon Elastic Compute Cloud. +// +// Retrieves the configuration data of the specified instance. You can use this +// data to create a launch template. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation GetLaunchTemplateData for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateData +func (c *EC2) GetLaunchTemplateData(input *GetLaunchTemplateDataInput) (*GetLaunchTemplateDataOutput, error) { + req, out := c.GetLaunchTemplateDataRequest(input) + return out, req.Send() +} + +// GetLaunchTemplateDataWithContext is the same as GetLaunchTemplateData with the addition of +// the ability to pass a context and additional request options. +// +// See GetLaunchTemplateData for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) GetLaunchTemplateDataWithContext(ctx aws.Context, input *GetLaunchTemplateDataInput, opts ...request.Option) (*GetLaunchTemplateDataOutput, error) { + req, out := c.GetLaunchTemplateDataRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetPasswordData = "GetPasswordData" // GetPasswordDataRequest generates a "aws/request.Request" representing the @@ -15380,7 +16696,7 @@ const opGetPasswordData = "GetPasswordData" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetPasswordData +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetPasswordData func (c *EC2) GetPasswordDataRequest(input *GetPasswordDataInput) (req *request.Request, output *GetPasswordDataOutput) { op := &request.Operation{ Name: opGetPasswordData, @@ -15424,7 +16740,7 @@ func (c *EC2) GetPasswordDataRequest(input *GetPasswordDataInput) (req *request. // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation GetPasswordData for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetPasswordData +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetPasswordData func (c *EC2) GetPasswordData(input *GetPasswordDataInput) (*GetPasswordDataOutput, error) { req, out := c.GetPasswordDataRequest(input) return out, req.Send() @@ -15471,7 +16787,7 @@ const opGetReservedInstancesExchangeQuote = "GetReservedInstancesExchangeQuote" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetReservedInstancesExchangeQuote +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetReservedInstancesExchangeQuote func (c *EC2) GetReservedInstancesExchangeQuoteRequest(input *GetReservedInstancesExchangeQuoteInput) (req *request.Request, output *GetReservedInstancesExchangeQuoteOutput) { op := &request.Operation{ Name: opGetReservedInstancesExchangeQuote, @@ -15501,7 +16817,7 @@ func (c *EC2) GetReservedInstancesExchangeQuoteRequest(input *GetReservedInstanc // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation GetReservedInstancesExchangeQuote for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetReservedInstancesExchangeQuote +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetReservedInstancesExchangeQuote func (c *EC2) GetReservedInstancesExchangeQuote(input *GetReservedInstancesExchangeQuoteInput) (*GetReservedInstancesExchangeQuoteOutput, error) { req, out := c.GetReservedInstancesExchangeQuoteRequest(input) return out, req.Send() @@ -15548,7 +16864,7 @@ const opImportImage = "ImportImage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImage func (c *EC2) ImportImageRequest(input *ImportImageInput) (req *request.Request, output *ImportImageOutput) { op := &request.Operation{ Name: opImportImage, @@ -15578,7 +16894,7 @@ func (c *EC2) ImportImageRequest(input *ImportImageInput) (req *request.Request, // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ImportImage for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImage func (c *EC2) ImportImage(input *ImportImageInput) (*ImportImageOutput, error) { req, out := c.ImportImageRequest(input) return out, req.Send() @@ -15625,7 +16941,7 @@ const opImportInstance = "ImportInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstance func (c *EC2) ImportInstanceRequest(input *ImportInstanceInput) (req *request.Request, output *ImportInstanceOutput) { op := &request.Operation{ Name: opImportInstance, @@ -15658,7 +16974,7 @@ func (c *EC2) ImportInstanceRequest(input *ImportInstanceInput) (req *request.Re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ImportInstance for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstance func (c *EC2) ImportInstance(input *ImportInstanceInput) (*ImportInstanceOutput, error) { req, out := c.ImportInstanceRequest(input) return out, req.Send() @@ -15705,7 +17021,7 @@ const opImportKeyPair = "ImportKeyPair" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportKeyPair +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportKeyPair func (c *EC2) ImportKeyPairRequest(input *ImportKeyPairInput) (req *request.Request, output *ImportKeyPairOutput) { op := &request.Operation{ Name: opImportKeyPair, @@ -15739,7 +17055,7 @@ func (c *EC2) ImportKeyPairRequest(input *ImportKeyPairInput) (req *request.Requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ImportKeyPair for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportKeyPair +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportKeyPair func (c *EC2) ImportKeyPair(input *ImportKeyPairInput) (*ImportKeyPairOutput, error) { req, out := c.ImportKeyPairRequest(input) return out, req.Send() @@ -15786,7 +17102,7 @@ const opImportSnapshot = "ImportSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshot func (c *EC2) ImportSnapshotRequest(input *ImportSnapshotInput) (req *request.Request, output *ImportSnapshotOutput) { op := &request.Operation{ Name: opImportSnapshot, @@ -15813,7 +17129,7 @@ func (c *EC2) ImportSnapshotRequest(input *ImportSnapshotInput) (req *request.Re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ImportSnapshot for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshot func (c *EC2) ImportSnapshot(input *ImportSnapshotInput) (*ImportSnapshotOutput, error) { req, out := c.ImportSnapshotRequest(input) return out, req.Send() @@ -15860,7 +17176,7 @@ const opImportVolume = "ImportVolume" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolume func (c *EC2) ImportVolumeRequest(input *ImportVolumeInput) (req *request.Request, output *ImportVolumeOutput) { op := &request.Operation{ Name: opImportVolume, @@ -15891,7 +17207,7 @@ func (c *EC2) ImportVolumeRequest(input *ImportVolumeInput) (req *request.Reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ImportVolume for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolume func (c *EC2) ImportVolume(input *ImportVolumeInput) (*ImportVolumeOutput, error) { req, out := c.ImportVolumeRequest(input) return out, req.Send() @@ -15938,7 +17254,7 @@ const opModifyFpgaImageAttribute = "ModifyFpgaImageAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttribute func (c *EC2) ModifyFpgaImageAttributeRequest(input *ModifyFpgaImageAttributeInput) (req *request.Request, output *ModifyFpgaImageAttributeOutput) { op := &request.Operation{ Name: opModifyFpgaImageAttribute, @@ -15965,7 +17281,7 @@ func (c *EC2) ModifyFpgaImageAttributeRequest(input *ModifyFpgaImageAttributeInp // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyFpgaImageAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttribute func (c *EC2) ModifyFpgaImageAttribute(input *ModifyFpgaImageAttributeInput) (*ModifyFpgaImageAttributeOutput, error) { req, out := c.ModifyFpgaImageAttributeRequest(input) return out, req.Send() @@ -16012,7 +17328,7 @@ const opModifyHosts = "ModifyHosts" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHosts +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHosts func (c *EC2) ModifyHostsRequest(input *ModifyHostsInput) (req *request.Request, output *ModifyHostsOutput) { op := &request.Operation{ Name: opModifyHosts, @@ -16045,7 +17361,7 @@ func (c *EC2) ModifyHostsRequest(input *ModifyHostsInput) (req *request.Request, // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyHosts for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHosts +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHosts func (c *EC2) ModifyHosts(input *ModifyHostsInput) (*ModifyHostsOutput, error) { req, out := c.ModifyHostsRequest(input) return out, req.Send() @@ -16092,7 +17408,7 @@ const opModifyIdFormat = "ModifyIdFormat" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdFormat +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdFormat func (c *EC2) ModifyIdFormatRequest(input *ModifyIdFormatInput) (req *request.Request, output *ModifyIdFormatOutput) { op := &request.Operation{ Name: opModifyIdFormat, @@ -16135,7 +17451,7 @@ func (c *EC2) ModifyIdFormatRequest(input *ModifyIdFormatInput) (req *request.Re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyIdFormat for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdFormat +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdFormat func (c *EC2) ModifyIdFormat(input *ModifyIdFormatInput) (*ModifyIdFormatOutput, error) { req, out := c.ModifyIdFormatRequest(input) return out, req.Send() @@ -16182,7 +17498,7 @@ const opModifyIdentityIdFormat = "ModifyIdentityIdFormat" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdentityIdFormat +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdentityIdFormat func (c *EC2) ModifyIdentityIdFormatRequest(input *ModifyIdentityIdFormatInput) (req *request.Request, output *ModifyIdentityIdFormatOutput) { op := &request.Operation{ Name: opModifyIdentityIdFormat, @@ -16225,7 +17541,7 @@ func (c *EC2) ModifyIdentityIdFormatRequest(input *ModifyIdentityIdFormatInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyIdentityIdFormat for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdentityIdFormat +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdentityIdFormat func (c *EC2) ModifyIdentityIdFormat(input *ModifyIdentityIdFormatInput) (*ModifyIdentityIdFormatOutput, error) { req, out := c.ModifyIdentityIdFormatRequest(input) return out, req.Send() @@ -16272,7 +17588,7 @@ const opModifyImageAttribute = "ModifyImageAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttribute func (c *EC2) ModifyImageAttributeRequest(input *ModifyImageAttributeInput) (req *request.Request, output *ModifyImageAttributeOutput) { op := &request.Operation{ Name: opModifyImageAttribute, @@ -16310,7 +17626,7 @@ func (c *EC2) ModifyImageAttributeRequest(input *ModifyImageAttributeInput) (req // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyImageAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttribute func (c *EC2) ModifyImageAttribute(input *ModifyImageAttributeInput) (*ModifyImageAttributeOutput, error) { req, out := c.ModifyImageAttributeRequest(input) return out, req.Send() @@ -16357,7 +17673,7 @@ const opModifyInstanceAttribute = "ModifyInstanceAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttribute func (c *EC2) ModifyInstanceAttributeRequest(input *ModifyInstanceAttributeInput) (req *request.Request, output *ModifyInstanceAttributeOutput) { op := &request.Operation{ Name: opModifyInstanceAttribute, @@ -16391,7 +17707,7 @@ func (c *EC2) ModifyInstanceAttributeRequest(input *ModifyInstanceAttributeInput // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyInstanceAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttribute func (c *EC2) ModifyInstanceAttribute(input *ModifyInstanceAttributeInput) (*ModifyInstanceAttributeOutput, error) { req, out := c.ModifyInstanceAttributeRequest(input) return out, req.Send() @@ -16413,6 +17729,84 @@ func (c *EC2) ModifyInstanceAttributeWithContext(ctx aws.Context, input *ModifyI return out, req.Send() } +const opModifyInstanceCreditSpecification = "ModifyInstanceCreditSpecification" + +// ModifyInstanceCreditSpecificationRequest generates a "aws/request.Request" representing the +// client's request for the ModifyInstanceCreditSpecification operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyInstanceCreditSpecification for more information on using the ModifyInstanceCreditSpecification +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ModifyInstanceCreditSpecificationRequest method. +// req, resp := client.ModifyInstanceCreditSpecificationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCreditSpecification +func (c *EC2) ModifyInstanceCreditSpecificationRequest(input *ModifyInstanceCreditSpecificationInput) (req *request.Request, output *ModifyInstanceCreditSpecificationOutput) { + op := &request.Operation{ + Name: opModifyInstanceCreditSpecification, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyInstanceCreditSpecificationInput{} + } + + output = &ModifyInstanceCreditSpecificationOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyInstanceCreditSpecification API operation for Amazon Elastic Compute Cloud. +// +// Modifies the credit option for CPU usage on a running or stopped T2 instance. +// The credit options are standard and unlimited. +// +// For more information, see T2 Instances (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html) +// in the Amazon Elastic Compute Cloud User Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation ModifyInstanceCreditSpecification for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCreditSpecification +func (c *EC2) ModifyInstanceCreditSpecification(input *ModifyInstanceCreditSpecificationInput) (*ModifyInstanceCreditSpecificationOutput, error) { + req, out := c.ModifyInstanceCreditSpecificationRequest(input) + return out, req.Send() +} + +// ModifyInstanceCreditSpecificationWithContext is the same as ModifyInstanceCreditSpecification with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyInstanceCreditSpecification for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) ModifyInstanceCreditSpecificationWithContext(ctx aws.Context, input *ModifyInstanceCreditSpecificationInput, opts ...request.Option) (*ModifyInstanceCreditSpecificationOutput, error) { + req, out := c.ModifyInstanceCreditSpecificationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opModifyInstancePlacement = "ModifyInstancePlacement" // ModifyInstancePlacementRequest generates a "aws/request.Request" representing the @@ -16438,7 +17832,7 @@ const opModifyInstancePlacement = "ModifyInstancePlacement" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstancePlacement +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstancePlacement func (c *EC2) ModifyInstancePlacementRequest(input *ModifyInstancePlacementInput) (req *request.Request, output *ModifyInstancePlacementOutput) { op := &request.Operation{ Name: opModifyInstancePlacement, @@ -16483,7 +17877,7 @@ func (c *EC2) ModifyInstancePlacementRequest(input *ModifyInstancePlacementInput // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyInstancePlacement for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstancePlacement +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstancePlacement func (c *EC2) ModifyInstancePlacement(input *ModifyInstancePlacementInput) (*ModifyInstancePlacementOutput, error) { req, out := c.ModifyInstancePlacementRequest(input) return out, req.Send() @@ -16505,6 +17899,82 @@ func (c *EC2) ModifyInstancePlacementWithContext(ctx aws.Context, input *ModifyI return out, req.Send() } +const opModifyLaunchTemplate = "ModifyLaunchTemplate" + +// ModifyLaunchTemplateRequest generates a "aws/request.Request" representing the +// client's request for the ModifyLaunchTemplate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyLaunchTemplate for more information on using the ModifyLaunchTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ModifyLaunchTemplateRequest method. +// req, resp := client.ModifyLaunchTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLaunchTemplate +func (c *EC2) ModifyLaunchTemplateRequest(input *ModifyLaunchTemplateInput) (req *request.Request, output *ModifyLaunchTemplateOutput) { + op := &request.Operation{ + Name: opModifyLaunchTemplate, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyLaunchTemplateInput{} + } + + output = &ModifyLaunchTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyLaunchTemplate API operation for Amazon Elastic Compute Cloud. +// +// Modifies a launch template. You can specify which version of the launch template +// to set as the default version. When launching an instance, the default version +// applies when a launch template version is not specified. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation ModifyLaunchTemplate for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLaunchTemplate +func (c *EC2) ModifyLaunchTemplate(input *ModifyLaunchTemplateInput) (*ModifyLaunchTemplateOutput, error) { + req, out := c.ModifyLaunchTemplateRequest(input) + return out, req.Send() +} + +// ModifyLaunchTemplateWithContext is the same as ModifyLaunchTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyLaunchTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) ModifyLaunchTemplateWithContext(ctx aws.Context, input *ModifyLaunchTemplateInput, opts ...request.Option) (*ModifyLaunchTemplateOutput, error) { + req, out := c.ModifyLaunchTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opModifyNetworkInterfaceAttribute = "ModifyNetworkInterfaceAttribute" // ModifyNetworkInterfaceAttributeRequest generates a "aws/request.Request" representing the @@ -16530,7 +18000,7 @@ const opModifyNetworkInterfaceAttribute = "ModifyNetworkInterfaceAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttribute func (c *EC2) ModifyNetworkInterfaceAttributeRequest(input *ModifyNetworkInterfaceAttributeInput) (req *request.Request, output *ModifyNetworkInterfaceAttributeOutput) { op := &request.Operation{ Name: opModifyNetworkInterfaceAttribute, @@ -16560,7 +18030,7 @@ func (c *EC2) ModifyNetworkInterfaceAttributeRequest(input *ModifyNetworkInterfa // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyNetworkInterfaceAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttribute func (c *EC2) ModifyNetworkInterfaceAttribute(input *ModifyNetworkInterfaceAttributeInput) (*ModifyNetworkInterfaceAttributeOutput, error) { req, out := c.ModifyNetworkInterfaceAttributeRequest(input) return out, req.Send() @@ -16607,7 +18077,7 @@ const opModifyReservedInstances = "ModifyReservedInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyReservedInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyReservedInstances func (c *EC2) ModifyReservedInstancesRequest(input *ModifyReservedInstancesInput) (req *request.Request, output *ModifyReservedInstancesOutput) { op := &request.Operation{ Name: opModifyReservedInstances, @@ -16640,7 +18110,7 @@ func (c *EC2) ModifyReservedInstancesRequest(input *ModifyReservedInstancesInput // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyReservedInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyReservedInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyReservedInstances func (c *EC2) ModifyReservedInstances(input *ModifyReservedInstancesInput) (*ModifyReservedInstancesOutput, error) { req, out := c.ModifyReservedInstancesRequest(input) return out, req.Send() @@ -16687,7 +18157,7 @@ const opModifySnapshotAttribute = "ModifySnapshotAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySnapshotAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySnapshotAttribute func (c *EC2) ModifySnapshotAttributeRequest(input *ModifySnapshotAttributeInput) (req *request.Request, output *ModifySnapshotAttributeOutput) { op := &request.Operation{ Name: opModifySnapshotAttribute, @@ -16728,7 +18198,7 @@ func (c *EC2) ModifySnapshotAttributeRequest(input *ModifySnapshotAttributeInput // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifySnapshotAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySnapshotAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySnapshotAttribute func (c *EC2) ModifySnapshotAttribute(input *ModifySnapshotAttributeInput) (*ModifySnapshotAttributeOutput, error) { req, out := c.ModifySnapshotAttributeRequest(input) return out, req.Send() @@ -16775,7 +18245,7 @@ const opModifySpotFleetRequest = "ModifySpotFleetRequest" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySpotFleetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySpotFleetRequest func (c *EC2) ModifySpotFleetRequestRequest(input *ModifySpotFleetRequestInput) (req *request.Request, output *ModifySpotFleetRequestOutput) { op := &request.Operation{ Name: opModifySpotFleetRequest, @@ -16794,26 +18264,29 @@ func (c *EC2) ModifySpotFleetRequestRequest(input *ModifySpotFleetRequestInput) // ModifySpotFleetRequest API operation for Amazon Elastic Compute Cloud. // -// Modifies the specified Spot fleet request. +// Modifies the specified Spot Fleet request. // -// While the Spot fleet request is being modified, it is in the modifying state. +// While the Spot Fleet request is being modified, it is in the modifying state. // -// To scale up your Spot fleet, increase its target capacity. The Spot fleet -// launches the additional Spot instances according to the allocation strategy -// for the Spot fleet request. If the allocation strategy is lowestPrice, the -// Spot fleet launches instances using the Spot pool with the lowest price. -// If the allocation strategy is diversified, the Spot fleet distributes the +// To scale up your Spot Fleet, increase its target capacity. The Spot Fleet +// launches the additional Spot Instances according to the allocation strategy +// for the Spot Fleet request. If the allocation strategy is lowestPrice, the +// Spot Fleet launches instances using the Spot pool with the lowest price. +// If the allocation strategy is diversified, the Spot Fleet distributes the // instances across the Spot pools. // -// To scale down your Spot fleet, decrease its target capacity. First, the Spot -// fleet cancels any open bids that exceed the new target capacity. You can -// request that the Spot fleet terminate Spot instances until the size of the -// fleet no longer exceeds the new target capacity. If the allocation strategy -// is lowestPrice, the Spot fleet terminates the instances with the highest -// price per unit. If the allocation strategy is diversified, the Spot fleet +// To scale down your Spot Fleet, decrease its target capacity. First, the Spot +// Fleet cancels any open requests that exceed the new target capacity. You +// can request that the Spot Fleet terminate Spot Instances until the size of +// the fleet no longer exceeds the new target capacity. If the allocation strategy +// is lowestPrice, the Spot Fleet terminates the instances with the highest +// price per unit. If the allocation strategy is diversified, the Spot Fleet // terminates instances across the Spot pools. Alternatively, you can request -// that the Spot fleet keep the fleet at its current size, but not replace any -// Spot instances that are interrupted or that you terminate manually. +// that the Spot Fleet keep the fleet at its current size, but not replace any +// Spot Instances that are interrupted or that you terminate manually. +// +// If you are finished with your Spot Fleet for now, but will use it again later, +// you can set the target capacity to 0. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -16821,7 +18294,7 @@ func (c *EC2) ModifySpotFleetRequestRequest(input *ModifySpotFleetRequestInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifySpotFleetRequest for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySpotFleetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySpotFleetRequest func (c *EC2) ModifySpotFleetRequest(input *ModifySpotFleetRequestInput) (*ModifySpotFleetRequestOutput, error) { req, out := c.ModifySpotFleetRequestRequest(input) return out, req.Send() @@ -16868,7 +18341,7 @@ const opModifySubnetAttribute = "ModifySubnetAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttribute func (c *EC2) ModifySubnetAttributeRequest(input *ModifySubnetAttributeInput) (req *request.Request, output *ModifySubnetAttributeOutput) { op := &request.Operation{ Name: opModifySubnetAttribute, @@ -16897,7 +18370,7 @@ func (c *EC2) ModifySubnetAttributeRequest(input *ModifySubnetAttributeInput) (r // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifySubnetAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttribute func (c *EC2) ModifySubnetAttribute(input *ModifySubnetAttributeInput) (*ModifySubnetAttributeOutput, error) { req, out := c.ModifySubnetAttributeRequest(input) return out, req.Send() @@ -16944,7 +18417,7 @@ const opModifyVolume = "ModifyVolume" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolume func (c *EC2) ModifyVolumeRequest(input *ModifyVolumeInput) (req *request.Request, output *ModifyVolumeOutput) { op := &request.Operation{ Name: opModifyVolume, @@ -17003,7 +18476,7 @@ func (c *EC2) ModifyVolumeRequest(input *ModifyVolumeInput) (req *request.Reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyVolume for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolume func (c *EC2) ModifyVolume(input *ModifyVolumeInput) (*ModifyVolumeOutput, error) { req, out := c.ModifyVolumeRequest(input) return out, req.Send() @@ -17050,7 +18523,7 @@ const opModifyVolumeAttribute = "ModifyVolumeAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeAttribute func (c *EC2) ModifyVolumeAttributeRequest(input *ModifyVolumeAttributeInput) (req *request.Request, output *ModifyVolumeAttributeOutput) { op := &request.Operation{ Name: opModifyVolumeAttribute, @@ -17088,7 +18561,7 @@ func (c *EC2) ModifyVolumeAttributeRequest(input *ModifyVolumeAttributeInput) (r // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyVolumeAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeAttribute func (c *EC2) ModifyVolumeAttribute(input *ModifyVolumeAttributeInput) (*ModifyVolumeAttributeOutput, error) { req, out := c.ModifyVolumeAttributeRequest(input) return out, req.Send() @@ -17135,7 +18608,7 @@ const opModifyVpcAttribute = "ModifyVpcAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcAttribute func (c *EC2) ModifyVpcAttributeRequest(input *ModifyVpcAttributeInput) (req *request.Request, output *ModifyVpcAttributeOutput) { op := &request.Operation{ Name: opModifyVpcAttribute, @@ -17164,7 +18637,7 @@ func (c *EC2) ModifyVpcAttributeRequest(input *ModifyVpcAttributeInput) (req *re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyVpcAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcAttribute func (c *EC2) ModifyVpcAttribute(input *ModifyVpcAttributeInput) (*ModifyVpcAttributeOutput, error) { req, out := c.ModifyVpcAttributeRequest(input) return out, req.Send() @@ -17211,7 +18684,7 @@ const opModifyVpcEndpoint = "ModifyVpcEndpoint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpoint func (c *EC2) ModifyVpcEndpointRequest(input *ModifyVpcEndpointInput) (req *request.Request, output *ModifyVpcEndpointOutput) { op := &request.Operation{ Name: opModifyVpcEndpoint, @@ -17241,7 +18714,7 @@ func (c *EC2) ModifyVpcEndpointRequest(input *ModifyVpcEndpointInput) (req *requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyVpcEndpoint for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpoint func (c *EC2) ModifyVpcEndpoint(input *ModifyVpcEndpointInput) (*ModifyVpcEndpointOutput, error) { req, out := c.ModifyVpcEndpointRequest(input) return out, req.Send() @@ -17263,6 +18736,235 @@ func (c *EC2) ModifyVpcEndpointWithContext(ctx aws.Context, input *ModifyVpcEndp return out, req.Send() } +const opModifyVpcEndpointConnectionNotification = "ModifyVpcEndpointConnectionNotification" + +// ModifyVpcEndpointConnectionNotificationRequest generates a "aws/request.Request" representing the +// client's request for the ModifyVpcEndpointConnectionNotification operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyVpcEndpointConnectionNotification for more information on using the ModifyVpcEndpointConnectionNotification +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ModifyVpcEndpointConnectionNotificationRequest method. +// req, resp := client.ModifyVpcEndpointConnectionNotificationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointConnectionNotification +func (c *EC2) ModifyVpcEndpointConnectionNotificationRequest(input *ModifyVpcEndpointConnectionNotificationInput) (req *request.Request, output *ModifyVpcEndpointConnectionNotificationOutput) { + op := &request.Operation{ + Name: opModifyVpcEndpointConnectionNotification, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyVpcEndpointConnectionNotificationInput{} + } + + output = &ModifyVpcEndpointConnectionNotificationOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyVpcEndpointConnectionNotification API operation for Amazon Elastic Compute Cloud. +// +// Modifies a connection notification for VPC endpoint or VPC endpoint service. +// You can change the SNS topic for the notification, or the events for which +// to be notified. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation ModifyVpcEndpointConnectionNotification for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointConnectionNotification +func (c *EC2) ModifyVpcEndpointConnectionNotification(input *ModifyVpcEndpointConnectionNotificationInput) (*ModifyVpcEndpointConnectionNotificationOutput, error) { + req, out := c.ModifyVpcEndpointConnectionNotificationRequest(input) + return out, req.Send() +} + +// ModifyVpcEndpointConnectionNotificationWithContext is the same as ModifyVpcEndpointConnectionNotification with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyVpcEndpointConnectionNotification for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) ModifyVpcEndpointConnectionNotificationWithContext(ctx aws.Context, input *ModifyVpcEndpointConnectionNotificationInput, opts ...request.Option) (*ModifyVpcEndpointConnectionNotificationOutput, error) { + req, out := c.ModifyVpcEndpointConnectionNotificationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opModifyVpcEndpointServiceConfiguration = "ModifyVpcEndpointServiceConfiguration" + +// ModifyVpcEndpointServiceConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the ModifyVpcEndpointServiceConfiguration operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyVpcEndpointServiceConfiguration for more information on using the ModifyVpcEndpointServiceConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ModifyVpcEndpointServiceConfigurationRequest method. +// req, resp := client.ModifyVpcEndpointServiceConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServiceConfiguration +func (c *EC2) ModifyVpcEndpointServiceConfigurationRequest(input *ModifyVpcEndpointServiceConfigurationInput) (req *request.Request, output *ModifyVpcEndpointServiceConfigurationOutput) { + op := &request.Operation{ + Name: opModifyVpcEndpointServiceConfiguration, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyVpcEndpointServiceConfigurationInput{} + } + + output = &ModifyVpcEndpointServiceConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyVpcEndpointServiceConfiguration API operation for Amazon Elastic Compute Cloud. +// +// Modifies the attributes of your VPC endpoint service configuration. You can +// change the Network Load Balancers for your service, and you can specify whether +// acceptance is required for requests to connect to your endpoint service through +// an interface VPC endpoint. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation ModifyVpcEndpointServiceConfiguration for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServiceConfiguration +func (c *EC2) ModifyVpcEndpointServiceConfiguration(input *ModifyVpcEndpointServiceConfigurationInput) (*ModifyVpcEndpointServiceConfigurationOutput, error) { + req, out := c.ModifyVpcEndpointServiceConfigurationRequest(input) + return out, req.Send() +} + +// ModifyVpcEndpointServiceConfigurationWithContext is the same as ModifyVpcEndpointServiceConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyVpcEndpointServiceConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) ModifyVpcEndpointServiceConfigurationWithContext(ctx aws.Context, input *ModifyVpcEndpointServiceConfigurationInput, opts ...request.Option) (*ModifyVpcEndpointServiceConfigurationOutput, error) { + req, out := c.ModifyVpcEndpointServiceConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opModifyVpcEndpointServicePermissions = "ModifyVpcEndpointServicePermissions" + +// ModifyVpcEndpointServicePermissionsRequest generates a "aws/request.Request" representing the +// client's request for the ModifyVpcEndpointServicePermissions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyVpcEndpointServicePermissions for more information on using the ModifyVpcEndpointServicePermissions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ModifyVpcEndpointServicePermissionsRequest method. +// req, resp := client.ModifyVpcEndpointServicePermissionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissions +func (c *EC2) ModifyVpcEndpointServicePermissionsRequest(input *ModifyVpcEndpointServicePermissionsInput) (req *request.Request, output *ModifyVpcEndpointServicePermissionsOutput) { + op := &request.Operation{ + Name: opModifyVpcEndpointServicePermissions, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyVpcEndpointServicePermissionsInput{} + } + + output = &ModifyVpcEndpointServicePermissionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyVpcEndpointServicePermissions API operation for Amazon Elastic Compute Cloud. +// +// Modifies the permissions for your VPC endpoint service. You can add or remove +// permissions for service consumers (IAM users, IAM roles, and AWS accounts) +// to discover your endpoint service. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation ModifyVpcEndpointServicePermissions for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissions +func (c *EC2) ModifyVpcEndpointServicePermissions(input *ModifyVpcEndpointServicePermissionsInput) (*ModifyVpcEndpointServicePermissionsOutput, error) { + req, out := c.ModifyVpcEndpointServicePermissionsRequest(input) + return out, req.Send() +} + +// ModifyVpcEndpointServicePermissionsWithContext is the same as ModifyVpcEndpointServicePermissions with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyVpcEndpointServicePermissions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) ModifyVpcEndpointServicePermissionsWithContext(ctx aws.Context, input *ModifyVpcEndpointServicePermissionsInput, opts ...request.Option) (*ModifyVpcEndpointServicePermissionsOutput, error) { + req, out := c.ModifyVpcEndpointServicePermissionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opModifyVpcPeeringConnectionOptions = "ModifyVpcPeeringConnectionOptions" // ModifyVpcPeeringConnectionOptionsRequest generates a "aws/request.Request" representing the @@ -17288,7 +18990,7 @@ const opModifyVpcPeeringConnectionOptions = "ModifyVpcPeeringConnectionOptions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcPeeringConnectionOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcPeeringConnectionOptions func (c *EC2) ModifyVpcPeeringConnectionOptionsRequest(input *ModifyVpcPeeringConnectionOptionsInput) (req *request.Request, output *ModifyVpcPeeringConnectionOptionsOutput) { op := &request.Operation{ Name: opModifyVpcPeeringConnectionOptions, @@ -17334,7 +19036,7 @@ func (c *EC2) ModifyVpcPeeringConnectionOptionsRequest(input *ModifyVpcPeeringCo // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyVpcPeeringConnectionOptions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcPeeringConnectionOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcPeeringConnectionOptions func (c *EC2) ModifyVpcPeeringConnectionOptions(input *ModifyVpcPeeringConnectionOptionsInput) (*ModifyVpcPeeringConnectionOptionsOutput, error) { req, out := c.ModifyVpcPeeringConnectionOptionsRequest(input) return out, req.Send() @@ -17381,7 +19083,7 @@ const opModifyVpcTenancy = "ModifyVpcTenancy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancy +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancy func (c *EC2) ModifyVpcTenancyRequest(input *ModifyVpcTenancyInput) (req *request.Request, output *ModifyVpcTenancyOutput) { op := &request.Operation{ Name: opModifyVpcTenancy, @@ -17417,7 +19119,7 @@ func (c *EC2) ModifyVpcTenancyRequest(input *ModifyVpcTenancyInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ModifyVpcTenancy for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancy +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancy func (c *EC2) ModifyVpcTenancy(input *ModifyVpcTenancyInput) (*ModifyVpcTenancyOutput, error) { req, out := c.ModifyVpcTenancyRequest(input) return out, req.Send() @@ -17464,7 +19166,7 @@ const opMonitorInstances = "MonitorInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MonitorInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MonitorInstances func (c *EC2) MonitorInstancesRequest(input *MonitorInstancesInput) (req *request.Request, output *MonitorInstancesOutput) { op := &request.Operation{ Name: opMonitorInstances, @@ -17496,7 +19198,7 @@ func (c *EC2) MonitorInstancesRequest(input *MonitorInstancesInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation MonitorInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MonitorInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MonitorInstances func (c *EC2) MonitorInstances(input *MonitorInstancesInput) (*MonitorInstancesOutput, error) { req, out := c.MonitorInstancesRequest(input) return out, req.Send() @@ -17543,7 +19245,7 @@ const opMoveAddressToVpc = "MoveAddressToVpc" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveAddressToVpc +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveAddressToVpc func (c *EC2) MoveAddressToVpcRequest(input *MoveAddressToVpcInput) (req *request.Request, output *MoveAddressToVpcOutput) { op := &request.Operation{ Name: opMoveAddressToVpc, @@ -17576,7 +19278,7 @@ func (c *EC2) MoveAddressToVpcRequest(input *MoveAddressToVpcInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation MoveAddressToVpc for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveAddressToVpc +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveAddressToVpc func (c *EC2) MoveAddressToVpc(input *MoveAddressToVpcInput) (*MoveAddressToVpcOutput, error) { req, out := c.MoveAddressToVpcRequest(input) return out, req.Send() @@ -17623,7 +19325,7 @@ const opPurchaseHostReservation = "PurchaseHostReservation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseHostReservation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseHostReservation func (c *EC2) PurchaseHostReservationRequest(input *PurchaseHostReservationInput) (req *request.Request, output *PurchaseHostReservationOutput) { op := &request.Operation{ Name: opPurchaseHostReservation, @@ -17653,7 +19355,7 @@ func (c *EC2) PurchaseHostReservationRequest(input *PurchaseHostReservationInput // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation PurchaseHostReservation for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseHostReservation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseHostReservation func (c *EC2) PurchaseHostReservation(input *PurchaseHostReservationInput) (*PurchaseHostReservationOutput, error) { req, out := c.PurchaseHostReservationRequest(input) return out, req.Send() @@ -17700,7 +19402,7 @@ const opPurchaseReservedInstancesOffering = "PurchaseReservedInstancesOffering" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseReservedInstancesOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseReservedInstancesOffering func (c *EC2) PurchaseReservedInstancesOfferingRequest(input *PurchaseReservedInstancesOfferingInput) (req *request.Request, output *PurchaseReservedInstancesOfferingOutput) { op := &request.Operation{ Name: opPurchaseReservedInstancesOffering, @@ -17736,7 +19438,7 @@ func (c *EC2) PurchaseReservedInstancesOfferingRequest(input *PurchaseReservedIn // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation PurchaseReservedInstancesOffering for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseReservedInstancesOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseReservedInstancesOffering func (c *EC2) PurchaseReservedInstancesOffering(input *PurchaseReservedInstancesOfferingInput) (*PurchaseReservedInstancesOfferingOutput, error) { req, out := c.PurchaseReservedInstancesOfferingRequest(input) return out, req.Send() @@ -17783,7 +19485,7 @@ const opPurchaseScheduledInstances = "PurchaseScheduledInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseScheduledInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseScheduledInstances func (c *EC2) PurchaseScheduledInstancesRequest(input *PurchaseScheduledInstancesInput) (req *request.Request, output *PurchaseScheduledInstancesOutput) { op := &request.Operation{ Name: opPurchaseScheduledInstances, @@ -17819,7 +19521,7 @@ func (c *EC2) PurchaseScheduledInstancesRequest(input *PurchaseScheduledInstance // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation PurchaseScheduledInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseScheduledInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseScheduledInstances func (c *EC2) PurchaseScheduledInstances(input *PurchaseScheduledInstancesInput) (*PurchaseScheduledInstancesOutput, error) { req, out := c.PurchaseScheduledInstancesRequest(input) return out, req.Send() @@ -17866,7 +19568,7 @@ const opRebootInstances = "RebootInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RebootInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RebootInstances func (c *EC2) RebootInstancesRequest(input *RebootInstancesInput) (req *request.Request, output *RebootInstancesOutput) { op := &request.Operation{ Name: opRebootInstances, @@ -17905,7 +19607,7 @@ func (c *EC2) RebootInstancesRequest(input *RebootInstancesInput) (req *request. // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation RebootInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RebootInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RebootInstances func (c *EC2) RebootInstances(input *RebootInstancesInput) (*RebootInstancesOutput, error) { req, out := c.RebootInstancesRequest(input) return out, req.Send() @@ -17952,7 +19654,7 @@ const opRegisterImage = "RegisterImage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImage func (c *EC2) RegisterImageRequest(input *RegisterImageInput) (req *request.Request, output *RegisterImageOutput) { op := &request.Operation{ Name: opRegisterImage, @@ -18007,7 +19709,7 @@ func (c *EC2) RegisterImageRequest(input *RegisterImageInput) (req *request.Requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation RegisterImage for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImage func (c *EC2) RegisterImage(input *RegisterImageInput) (*RegisterImageOutput, error) { req, out := c.RegisterImageRequest(input) return out, req.Send() @@ -18029,6 +19731,81 @@ func (c *EC2) RegisterImageWithContext(ctx aws.Context, input *RegisterImageInpu return out, req.Send() } +const opRejectVpcEndpointConnections = "RejectVpcEndpointConnections" + +// RejectVpcEndpointConnectionsRequest generates a "aws/request.Request" representing the +// client's request for the RejectVpcEndpointConnections operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RejectVpcEndpointConnections for more information on using the RejectVpcEndpointConnections +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RejectVpcEndpointConnectionsRequest method. +// req, resp := client.RejectVpcEndpointConnectionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcEndpointConnections +func (c *EC2) RejectVpcEndpointConnectionsRequest(input *RejectVpcEndpointConnectionsInput) (req *request.Request, output *RejectVpcEndpointConnectionsOutput) { + op := &request.Operation{ + Name: opRejectVpcEndpointConnections, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RejectVpcEndpointConnectionsInput{} + } + + output = &RejectVpcEndpointConnectionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// RejectVpcEndpointConnections API operation for Amazon Elastic Compute Cloud. +// +// Rejects one or more VPC endpoint connection requests to your VPC endpoint +// service. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation RejectVpcEndpointConnections for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcEndpointConnections +func (c *EC2) RejectVpcEndpointConnections(input *RejectVpcEndpointConnectionsInput) (*RejectVpcEndpointConnectionsOutput, error) { + req, out := c.RejectVpcEndpointConnectionsRequest(input) + return out, req.Send() +} + +// RejectVpcEndpointConnectionsWithContext is the same as RejectVpcEndpointConnections with the addition of +// the ability to pass a context and additional request options. +// +// See RejectVpcEndpointConnections for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) RejectVpcEndpointConnectionsWithContext(ctx aws.Context, input *RejectVpcEndpointConnectionsInput, opts ...request.Option) (*RejectVpcEndpointConnectionsOutput, error) { + req, out := c.RejectVpcEndpointConnectionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRejectVpcPeeringConnection = "RejectVpcPeeringConnection" // RejectVpcPeeringConnectionRequest generates a "aws/request.Request" representing the @@ -18054,7 +19831,7 @@ const opRejectVpcPeeringConnection = "RejectVpcPeeringConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcPeeringConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcPeeringConnection func (c *EC2) RejectVpcPeeringConnectionRequest(input *RejectVpcPeeringConnectionInput) (req *request.Request, output *RejectVpcPeeringConnectionOutput) { op := &request.Operation{ Name: opRejectVpcPeeringConnection, @@ -18085,7 +19862,7 @@ func (c *EC2) RejectVpcPeeringConnectionRequest(input *RejectVpcPeeringConnectio // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation RejectVpcPeeringConnection for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcPeeringConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcPeeringConnection func (c *EC2) RejectVpcPeeringConnection(input *RejectVpcPeeringConnectionInput) (*RejectVpcPeeringConnectionOutput, error) { req, out := c.RejectVpcPeeringConnectionRequest(input) return out, req.Send() @@ -18132,7 +19909,7 @@ const opReleaseAddress = "ReleaseAddress" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseAddress func (c *EC2) ReleaseAddressRequest(input *ReleaseAddressInput) (req *request.Request, output *ReleaseAddressOutput) { op := &request.Operation{ Name: opReleaseAddress, @@ -18178,7 +19955,7 @@ func (c *EC2) ReleaseAddressRequest(input *ReleaseAddressInput) (req *request.Re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ReleaseAddress for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseAddress func (c *EC2) ReleaseAddress(input *ReleaseAddressInput) (*ReleaseAddressOutput, error) { req, out := c.ReleaseAddressRequest(input) return out, req.Send() @@ -18225,7 +20002,7 @@ const opReleaseHosts = "ReleaseHosts" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseHosts +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseHosts func (c *EC2) ReleaseHostsRequest(input *ReleaseHostsInput) (req *request.Request, output *ReleaseHostsOutput) { op := &request.Operation{ Name: opReleaseHosts, @@ -18263,7 +20040,7 @@ func (c *EC2) ReleaseHostsRequest(input *ReleaseHostsInput) (req *request.Reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ReleaseHosts for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseHosts +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseHosts func (c *EC2) ReleaseHosts(input *ReleaseHostsInput) (*ReleaseHostsOutput, error) { req, out := c.ReleaseHostsRequest(input) return out, req.Send() @@ -18310,7 +20087,7 @@ const opReplaceIamInstanceProfileAssociation = "ReplaceIamInstanceProfileAssocia // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceIamInstanceProfileAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceIamInstanceProfileAssociation func (c *EC2) ReplaceIamInstanceProfileAssociationRequest(input *ReplaceIamInstanceProfileAssociationInput) (req *request.Request, output *ReplaceIamInstanceProfileAssociationOutput) { op := &request.Operation{ Name: opReplaceIamInstanceProfileAssociation, @@ -18342,7 +20119,7 @@ func (c *EC2) ReplaceIamInstanceProfileAssociationRequest(input *ReplaceIamInsta // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ReplaceIamInstanceProfileAssociation for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceIamInstanceProfileAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceIamInstanceProfileAssociation func (c *EC2) ReplaceIamInstanceProfileAssociation(input *ReplaceIamInstanceProfileAssociationInput) (*ReplaceIamInstanceProfileAssociationOutput, error) { req, out := c.ReplaceIamInstanceProfileAssociationRequest(input) return out, req.Send() @@ -18389,7 +20166,7 @@ const opReplaceNetworkAclAssociation = "ReplaceNetworkAclAssociation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclAssociation func (c *EC2) ReplaceNetworkAclAssociationRequest(input *ReplaceNetworkAclAssociationInput) (req *request.Request, output *ReplaceNetworkAclAssociationOutput) { op := &request.Operation{ Name: opReplaceNetworkAclAssociation, @@ -18419,7 +20196,7 @@ func (c *EC2) ReplaceNetworkAclAssociationRequest(input *ReplaceNetworkAclAssoci // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ReplaceNetworkAclAssociation for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclAssociation func (c *EC2) ReplaceNetworkAclAssociation(input *ReplaceNetworkAclAssociationInput) (*ReplaceNetworkAclAssociationOutput, error) { req, out := c.ReplaceNetworkAclAssociationRequest(input) return out, req.Send() @@ -18466,7 +20243,7 @@ const opReplaceNetworkAclEntry = "ReplaceNetworkAclEntry" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclEntry func (c *EC2) ReplaceNetworkAclEntryRequest(input *ReplaceNetworkAclEntryInput) (req *request.Request, output *ReplaceNetworkAclEntryOutput) { op := &request.Operation{ Name: opReplaceNetworkAclEntry, @@ -18497,7 +20274,7 @@ func (c *EC2) ReplaceNetworkAclEntryRequest(input *ReplaceNetworkAclEntryInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ReplaceNetworkAclEntry for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclEntry func (c *EC2) ReplaceNetworkAclEntry(input *ReplaceNetworkAclEntryInput) (*ReplaceNetworkAclEntryOutput, error) { req, out := c.ReplaceNetworkAclEntryRequest(input) return out, req.Send() @@ -18544,7 +20321,7 @@ const opReplaceRoute = "ReplaceRoute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRoute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRoute func (c *EC2) ReplaceRouteRequest(input *ReplaceRouteInput) (req *request.Request, output *ReplaceRouteOutput) { op := &request.Operation{ Name: opReplaceRoute, @@ -18579,7 +20356,7 @@ func (c *EC2) ReplaceRouteRequest(input *ReplaceRouteInput) (req *request.Reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ReplaceRoute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRoute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRoute func (c *EC2) ReplaceRoute(input *ReplaceRouteInput) (*ReplaceRouteOutput, error) { req, out := c.ReplaceRouteRequest(input) return out, req.Send() @@ -18626,7 +20403,7 @@ const opReplaceRouteTableAssociation = "ReplaceRouteTableAssociation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteTableAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteTableAssociation func (c *EC2) ReplaceRouteTableAssociationRequest(input *ReplaceRouteTableAssociationInput) (req *request.Request, output *ReplaceRouteTableAssociationOutput) { op := &request.Operation{ Name: opReplaceRouteTableAssociation, @@ -18661,7 +20438,7 @@ func (c *EC2) ReplaceRouteTableAssociationRequest(input *ReplaceRouteTableAssoci // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ReplaceRouteTableAssociation for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteTableAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteTableAssociation func (c *EC2) ReplaceRouteTableAssociation(input *ReplaceRouteTableAssociationInput) (*ReplaceRouteTableAssociationOutput, error) { req, out := c.ReplaceRouteTableAssociationRequest(input) return out, req.Send() @@ -18708,7 +20485,7 @@ const opReportInstanceStatus = "ReportInstanceStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReportInstanceStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReportInstanceStatus func (c *EC2) ReportInstanceStatusRequest(input *ReportInstanceStatusInput) (req *request.Request, output *ReportInstanceStatusOutput) { op := &request.Operation{ Name: opReportInstanceStatus, @@ -18743,7 +20520,7 @@ func (c *EC2) ReportInstanceStatusRequest(input *ReportInstanceStatusInput) (req // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ReportInstanceStatus for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReportInstanceStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReportInstanceStatus func (c *EC2) ReportInstanceStatus(input *ReportInstanceStatusInput) (*ReportInstanceStatusOutput, error) { req, out := c.ReportInstanceStatusRequest(input) return out, req.Send() @@ -18790,7 +20567,7 @@ const opRequestSpotFleet = "RequestSpotFleet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotFleet +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotFleet func (c *EC2) RequestSpotFleetRequest(input *RequestSpotFleetInput) (req *request.Request, output *RequestSpotFleetOutput) { op := &request.Operation{ Name: opRequestSpotFleet, @@ -18809,21 +20586,24 @@ func (c *EC2) RequestSpotFleetRequest(input *RequestSpotFleetInput) (req *reques // RequestSpotFleet API operation for Amazon Elastic Compute Cloud. // -// Creates a Spot fleet request. +// Creates a Spot Fleet request. // // You can submit a single request that includes multiple launch specifications // that vary by instance type, AMI, Availability Zone, or subnet. // -// By default, the Spot fleet requests Spot instances in the Spot pool where +// By default, the Spot Fleet requests Spot Instances in the Spot pool where // the price per unit is the lowest. Each launch specification can include its // own instance weighting that reflects the value of the instance type to your // application workload. // -// Alternatively, you can specify that the Spot fleet distribute the target +// Alternatively, you can specify that the Spot Fleet distribute the target // capacity across the Spot pools included in its launch specifications. By -// ensuring that the Spot instances in your Spot fleet are in different Spot +// ensuring that the Spot Instances in your Spot Fleet are in different Spot // pools, you can improve the availability of your fleet. // +// You can specify tags for the Spot Instances. You cannot tag other resource +// types in a Spot Fleet request; only the instance resource type is supported. +// // For more information, see Spot Fleet Requests (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html) // in the Amazon Elastic Compute Cloud User Guide. // @@ -18833,7 +20613,7 @@ func (c *EC2) RequestSpotFleetRequest(input *RequestSpotFleetInput) (req *reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation RequestSpotFleet for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotFleet +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotFleet func (c *EC2) RequestSpotFleet(input *RequestSpotFleetInput) (*RequestSpotFleetOutput, error) { req, out := c.RequestSpotFleetRequest(input) return out, req.Send() @@ -18880,7 +20660,7 @@ const opRequestSpotInstances = "RequestSpotInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstances func (c *EC2) RequestSpotInstancesRequest(input *RequestSpotInstancesInput) (req *request.Request, output *RequestSpotInstancesOutput) { op := &request.Operation{ Name: opRequestSpotInstances, @@ -18899,11 +20679,9 @@ func (c *EC2) RequestSpotInstancesRequest(input *RequestSpotInstancesInput) (req // RequestSpotInstances API operation for Amazon Elastic Compute Cloud. // -// Creates a Spot instance request. Spot instances are instances that Amazon -// EC2 launches when the bid price that you specify exceeds the current Spot -// price. Amazon EC2 periodically sets the Spot price based on available Spot -// Instance capacity and current Spot instance requests. For more information, -// see Spot Instance Requests (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html) +// Creates a Spot Instance request. Spot Instances are instances that Amazon +// EC2 launches when the maximum price that you specify exceeds the current +// Spot price. For more information, see Spot Instance Requests (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html) // in the Amazon Elastic Compute Cloud User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -18912,7 +20690,7 @@ func (c *EC2) RequestSpotInstancesRequest(input *RequestSpotInstancesInput) (req // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation RequestSpotInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstances func (c *EC2) RequestSpotInstances(input *RequestSpotInstancesInput) (*RequestSpotInstancesOutput, error) { req, out := c.RequestSpotInstancesRequest(input) return out, req.Send() @@ -18959,7 +20737,7 @@ const opResetFpgaImageAttribute = "ResetFpgaImageAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttribute func (c *EC2) ResetFpgaImageAttributeRequest(input *ResetFpgaImageAttributeInput) (req *request.Request, output *ResetFpgaImageAttributeOutput) { op := &request.Operation{ Name: opResetFpgaImageAttribute, @@ -18987,7 +20765,7 @@ func (c *EC2) ResetFpgaImageAttributeRequest(input *ResetFpgaImageAttributeInput // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ResetFpgaImageAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttribute func (c *EC2) ResetFpgaImageAttribute(input *ResetFpgaImageAttributeInput) (*ResetFpgaImageAttributeOutput, error) { req, out := c.ResetFpgaImageAttributeRequest(input) return out, req.Send() @@ -19034,7 +20812,7 @@ const opResetImageAttribute = "ResetImageAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetImageAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetImageAttribute func (c *EC2) ResetImageAttributeRequest(input *ResetImageAttributeInput) (req *request.Request, output *ResetImageAttributeOutput) { op := &request.Operation{ Name: opResetImageAttribute, @@ -19065,7 +20843,7 @@ func (c *EC2) ResetImageAttributeRequest(input *ResetImageAttributeInput) (req * // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ResetImageAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetImageAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetImageAttribute func (c *EC2) ResetImageAttribute(input *ResetImageAttributeInput) (*ResetImageAttributeOutput, error) { req, out := c.ResetImageAttributeRequest(input) return out, req.Send() @@ -19112,7 +20890,7 @@ const opResetInstanceAttribute = "ResetInstanceAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetInstanceAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetInstanceAttribute func (c *EC2) ResetInstanceAttributeRequest(input *ResetInstanceAttributeInput) (req *request.Request, output *ResetInstanceAttributeOutput) { op := &request.Operation{ Name: opResetInstanceAttribute, @@ -19149,7 +20927,7 @@ func (c *EC2) ResetInstanceAttributeRequest(input *ResetInstanceAttributeInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ResetInstanceAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetInstanceAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetInstanceAttribute func (c *EC2) ResetInstanceAttribute(input *ResetInstanceAttributeInput) (*ResetInstanceAttributeOutput, error) { req, out := c.ResetInstanceAttributeRequest(input) return out, req.Send() @@ -19196,7 +20974,7 @@ const opResetNetworkInterfaceAttribute = "ResetNetworkInterfaceAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetNetworkInterfaceAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetNetworkInterfaceAttribute func (c *EC2) ResetNetworkInterfaceAttributeRequest(input *ResetNetworkInterfaceAttributeInput) (req *request.Request, output *ResetNetworkInterfaceAttributeOutput) { op := &request.Operation{ Name: opResetNetworkInterfaceAttribute, @@ -19226,7 +21004,7 @@ func (c *EC2) ResetNetworkInterfaceAttributeRequest(input *ResetNetworkInterface // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ResetNetworkInterfaceAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetNetworkInterfaceAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetNetworkInterfaceAttribute func (c *EC2) ResetNetworkInterfaceAttribute(input *ResetNetworkInterfaceAttributeInput) (*ResetNetworkInterfaceAttributeOutput, error) { req, out := c.ResetNetworkInterfaceAttributeRequest(input) return out, req.Send() @@ -19273,7 +21051,7 @@ const opResetSnapshotAttribute = "ResetSnapshotAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetSnapshotAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetSnapshotAttribute func (c *EC2) ResetSnapshotAttributeRequest(input *ResetSnapshotAttributeInput) (req *request.Request, output *ResetSnapshotAttributeOutput) { op := &request.Operation{ Name: opResetSnapshotAttribute, @@ -19306,7 +21084,7 @@ func (c *EC2) ResetSnapshotAttributeRequest(input *ResetSnapshotAttributeInput) // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation ResetSnapshotAttribute for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetSnapshotAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetSnapshotAttribute func (c *EC2) ResetSnapshotAttribute(input *ResetSnapshotAttributeInput) (*ResetSnapshotAttributeOutput, error) { req, out := c.ResetSnapshotAttributeRequest(input) return out, req.Send() @@ -19353,7 +21131,7 @@ const opRestoreAddressToClassic = "RestoreAddressToClassic" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreAddressToClassic +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreAddressToClassic func (c *EC2) RestoreAddressToClassicRequest(input *RestoreAddressToClassicInput) (req *request.Request, output *RestoreAddressToClassicOutput) { op := &request.Operation{ Name: opRestoreAddressToClassic, @@ -19383,7 +21161,7 @@ func (c *EC2) RestoreAddressToClassicRequest(input *RestoreAddressToClassicInput // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation RestoreAddressToClassic for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreAddressToClassic +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreAddressToClassic func (c *EC2) RestoreAddressToClassic(input *RestoreAddressToClassicInput) (*RestoreAddressToClassicOutput, error) { req, out := c.RestoreAddressToClassicRequest(input) return out, req.Send() @@ -19430,7 +21208,7 @@ const opRevokeSecurityGroupEgress = "RevokeSecurityGroupEgress" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgress func (c *EC2) RevokeSecurityGroupEgressRequest(input *RevokeSecurityGroupEgressInput) (req *request.Request, output *RevokeSecurityGroupEgressOutput) { op := &request.Operation{ Name: opRevokeSecurityGroupEgress, @@ -19471,7 +21249,7 @@ func (c *EC2) RevokeSecurityGroupEgressRequest(input *RevokeSecurityGroupEgressI // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation RevokeSecurityGroupEgress for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgress func (c *EC2) RevokeSecurityGroupEgress(input *RevokeSecurityGroupEgressInput) (*RevokeSecurityGroupEgressOutput, error) { req, out := c.RevokeSecurityGroupEgressRequest(input) return out, req.Send() @@ -19518,7 +21296,7 @@ const opRevokeSecurityGroupIngress = "RevokeSecurityGroupIngress" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngress func (c *EC2) RevokeSecurityGroupIngressRequest(input *RevokeSecurityGroupIngressInput) (req *request.Request, output *RevokeSecurityGroupIngressOutput) { op := &request.Operation{ Name: opRevokeSecurityGroupIngress, @@ -19562,7 +21340,7 @@ func (c *EC2) RevokeSecurityGroupIngressRequest(input *RevokeSecurityGroupIngres // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation RevokeSecurityGroupIngress for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngress func (c *EC2) RevokeSecurityGroupIngress(input *RevokeSecurityGroupIngressInput) (*RevokeSecurityGroupIngressOutput, error) { req, out := c.RevokeSecurityGroupIngressRequest(input) return out, req.Send() @@ -19609,7 +21387,7 @@ const opRunInstances = "RunInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstances func (c *EC2) RunInstancesRequest(input *RunInstancesInput) (req *request.Request, output *Reservation) { op := &request.Operation{ Name: opRunInstances, @@ -19658,6 +21436,11 @@ func (c *EC2) RunInstancesRequest(input *RunInstancesInput) (req *request.Reques // * If any of the AMIs have a product code attached for which the user has // not subscribed, the request fails. // +// You can create a launch template (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html), +// which is a resource that contains the parameters to launch an instance. When +// you launch an instance using RunInstances, you can specify the launch template +// instead of specifying the launch parameters. +// // To ensure faster instance launches, break up large requests into smaller // batches. For example, create five separate launch requests for 100 instances // each instead of one launch request for 500 instances. @@ -19684,7 +21467,7 @@ func (c *EC2) RunInstancesRequest(input *RunInstancesInput) (req *request.Reques // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation RunInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstances func (c *EC2) RunInstances(input *RunInstancesInput) (*Reservation, error) { req, out := c.RunInstancesRequest(input) return out, req.Send() @@ -19731,7 +21514,7 @@ const opRunScheduledInstances = "RunScheduledInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunScheduledInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunScheduledInstances func (c *EC2) RunScheduledInstancesRequest(input *RunScheduledInstancesInput) (req *request.Request, output *RunScheduledInstancesOutput) { op := &request.Operation{ Name: opRunScheduledInstances, @@ -19768,7 +21551,7 @@ func (c *EC2) RunScheduledInstancesRequest(input *RunScheduledInstancesInput) (r // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation RunScheduledInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunScheduledInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunScheduledInstances func (c *EC2) RunScheduledInstances(input *RunScheduledInstancesInput) (*RunScheduledInstancesOutput, error) { req, out := c.RunScheduledInstancesRequest(input) return out, req.Send() @@ -19815,7 +21598,7 @@ const opStartInstances = "StartInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartInstances func (c *EC2) StartInstancesRequest(input *StartInstancesInput) (req *request.Request, output *StartInstancesOutput) { op := &request.Operation{ Name: opStartInstances, @@ -19864,7 +21647,7 @@ func (c *EC2) StartInstancesRequest(input *StartInstancesInput) (req *request.Re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation StartInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartInstances func (c *EC2) StartInstances(input *StartInstancesInput) (*StartInstancesOutput, error) { req, out := c.StartInstancesRequest(input) return out, req.Send() @@ -19911,7 +21694,7 @@ const opStopInstances = "StopInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StopInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StopInstances func (c *EC2) StopInstancesRequest(input *StopInstancesInput) (req *request.Request, output *StopInstancesOutput) { op := &request.Operation{ Name: opStopInstances, @@ -19970,7 +21753,7 @@ func (c *EC2) StopInstancesRequest(input *StopInstancesInput) (req *request.Requ // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation StopInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StopInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StopInstances func (c *EC2) StopInstances(input *StopInstancesInput) (*StopInstancesOutput, error) { req, out := c.StopInstancesRequest(input) return out, req.Send() @@ -20017,7 +21800,7 @@ const opTerminateInstances = "TerminateInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TerminateInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TerminateInstances func (c *EC2) TerminateInstancesRequest(input *TerminateInstancesInput) (req *request.Request, output *TerminateInstancesOutput) { op := &request.Operation{ Name: opTerminateInstances, @@ -20068,7 +21851,7 @@ func (c *EC2) TerminateInstancesRequest(input *TerminateInstancesInput) (req *re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation TerminateInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TerminateInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TerminateInstances func (c *EC2) TerminateInstances(input *TerminateInstancesInput) (*TerminateInstancesOutput, error) { req, out := c.TerminateInstancesRequest(input) return out, req.Send() @@ -20115,7 +21898,7 @@ const opUnassignIpv6Addresses = "UnassignIpv6Addresses" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6Addresses +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6Addresses func (c *EC2) UnassignIpv6AddressesRequest(input *UnassignIpv6AddressesInput) (req *request.Request, output *UnassignIpv6AddressesOutput) { op := &request.Operation{ Name: opUnassignIpv6Addresses, @@ -20142,7 +21925,7 @@ func (c *EC2) UnassignIpv6AddressesRequest(input *UnassignIpv6AddressesInput) (r // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation UnassignIpv6Addresses for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6Addresses +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6Addresses func (c *EC2) UnassignIpv6Addresses(input *UnassignIpv6AddressesInput) (*UnassignIpv6AddressesOutput, error) { req, out := c.UnassignIpv6AddressesRequest(input) return out, req.Send() @@ -20189,7 +21972,7 @@ const opUnassignPrivateIpAddresses = "UnassignPrivateIpAddresses" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddresses +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddresses func (c *EC2) UnassignPrivateIpAddressesRequest(input *UnassignPrivateIpAddressesInput) (req *request.Request, output *UnassignPrivateIpAddressesOutput) { op := &request.Operation{ Name: opUnassignPrivateIpAddresses, @@ -20218,7 +22001,7 @@ func (c *EC2) UnassignPrivateIpAddressesRequest(input *UnassignPrivateIpAddresse // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation UnassignPrivateIpAddresses for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddresses +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddresses func (c *EC2) UnassignPrivateIpAddresses(input *UnassignPrivateIpAddressesInput) (*UnassignPrivateIpAddressesOutput, error) { req, out := c.UnassignPrivateIpAddressesRequest(input) return out, req.Send() @@ -20265,7 +22048,7 @@ const opUnmonitorInstances = "UnmonitorInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnmonitorInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnmonitorInstances func (c *EC2) UnmonitorInstancesRequest(input *UnmonitorInstancesInput) (req *request.Request, output *UnmonitorInstancesOutput) { op := &request.Operation{ Name: opUnmonitorInstances, @@ -20294,7 +22077,7 @@ func (c *EC2) UnmonitorInstancesRequest(input *UnmonitorInstancesInput) (req *re // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation UnmonitorInstances for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnmonitorInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnmonitorInstances func (c *EC2) UnmonitorInstances(input *UnmonitorInstancesInput) (*UnmonitorInstancesOutput, error) { req, out := c.UnmonitorInstancesRequest(input) return out, req.Send() @@ -20341,7 +22124,7 @@ const opUpdateSecurityGroupRuleDescriptionsEgress = "UpdateSecurityGroupRuleDesc // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgress func (c *EC2) UpdateSecurityGroupRuleDescriptionsEgressRequest(input *UpdateSecurityGroupRuleDescriptionsEgressInput) (req *request.Request, output *UpdateSecurityGroupRuleDescriptionsEgressOutput) { op := &request.Operation{ Name: opUpdateSecurityGroupRuleDescriptionsEgress, @@ -20374,7 +22157,7 @@ func (c *EC2) UpdateSecurityGroupRuleDescriptionsEgressRequest(input *UpdateSecu // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation UpdateSecurityGroupRuleDescriptionsEgress for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgress func (c *EC2) UpdateSecurityGroupRuleDescriptionsEgress(input *UpdateSecurityGroupRuleDescriptionsEgressInput) (*UpdateSecurityGroupRuleDescriptionsEgressOutput, error) { req, out := c.UpdateSecurityGroupRuleDescriptionsEgressRequest(input) return out, req.Send() @@ -20421,7 +22204,7 @@ const opUpdateSecurityGroupRuleDescriptionsIngress = "UpdateSecurityGroupRuleDes // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngress func (c *EC2) UpdateSecurityGroupRuleDescriptionsIngressRequest(input *UpdateSecurityGroupRuleDescriptionsIngressInput) (req *request.Request, output *UpdateSecurityGroupRuleDescriptionsIngressOutput) { op := &request.Operation{ Name: opUpdateSecurityGroupRuleDescriptionsIngress, @@ -20454,7 +22237,7 @@ func (c *EC2) UpdateSecurityGroupRuleDescriptionsIngressRequest(input *UpdateSec // // See the AWS API reference guide for Amazon Elastic Compute Cloud's // API operation UpdateSecurityGroupRuleDescriptionsIngress for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngress func (c *EC2) UpdateSecurityGroupRuleDescriptionsIngress(input *UpdateSecurityGroupRuleDescriptionsIngressInput) (*UpdateSecurityGroupRuleDescriptionsIngressOutput, error) { req, out := c.UpdateSecurityGroupRuleDescriptionsIngressRequest(input) return out, req.Send() @@ -20477,7 +22260,7 @@ func (c *EC2) UpdateSecurityGroupRuleDescriptionsIngressWithContext(ctx aws.Cont } // Contains the parameters for accepting the quote. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptReservedInstancesExchangeQuoteRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptReservedInstancesExchangeQuoteRequest type AcceptReservedInstancesExchangeQuoteInput struct { _ struct{} `type:"structure"` @@ -20550,7 +22333,7 @@ func (s *AcceptReservedInstancesExchangeQuoteInput) SetTargetConfigurations(v [] } // The result of the exchange and whether it was successful. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptReservedInstancesExchangeQuoteResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptReservedInstancesExchangeQuoteResult type AcceptReservedInstancesExchangeQuoteOutput struct { _ struct{} `type:"structure"` @@ -20574,8 +22357,97 @@ func (s *AcceptReservedInstancesExchangeQuoteOutput) SetExchangeId(v string) *Ac return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcEndpointConnectionsRequest +type AcceptVpcEndpointConnectionsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the endpoint service. + // + // ServiceId is a required field + ServiceId *string `type:"string" required:"true"` + + // The IDs of one or more interface VPC endpoints. + // + // VpcEndpointIds is a required field + VpcEndpointIds []*string `locationName:"VpcEndpointId" locationNameList:"item" type:"list" required:"true"` +} + +// String returns the string representation +func (s AcceptVpcEndpointConnectionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AcceptVpcEndpointConnectionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AcceptVpcEndpointConnectionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AcceptVpcEndpointConnectionsInput"} + if s.ServiceId == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceId")) + } + if s.VpcEndpointIds == nil { + invalidParams.Add(request.NewErrParamRequired("VpcEndpointIds")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *AcceptVpcEndpointConnectionsInput) SetDryRun(v bool) *AcceptVpcEndpointConnectionsInput { + s.DryRun = &v + return s +} + +// SetServiceId sets the ServiceId field's value. +func (s *AcceptVpcEndpointConnectionsInput) SetServiceId(v string) *AcceptVpcEndpointConnectionsInput { + s.ServiceId = &v + return s +} + +// SetVpcEndpointIds sets the VpcEndpointIds field's value. +func (s *AcceptVpcEndpointConnectionsInput) SetVpcEndpointIds(v []*string) *AcceptVpcEndpointConnectionsInput { + s.VpcEndpointIds = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcEndpointConnectionsResult +type AcceptVpcEndpointConnectionsOutput struct { + _ struct{} `type:"structure"` + + // Information about the interface endpoints that were not accepted, if applicable. + Unsuccessful []*UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s AcceptVpcEndpointConnectionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AcceptVpcEndpointConnectionsOutput) GoString() string { + return s.String() +} + +// SetUnsuccessful sets the Unsuccessful field's value. +func (s *AcceptVpcEndpointConnectionsOutput) SetUnsuccessful(v []*UnsuccessfulItem) *AcceptVpcEndpointConnectionsOutput { + s.Unsuccessful = v + return s +} + // Contains the parameters for AcceptVpcPeeringConnection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcPeeringConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcPeeringConnectionRequest type AcceptVpcPeeringConnectionInput struct { _ struct{} `type:"structure"` @@ -20585,7 +22457,8 @@ type AcceptVpcPeeringConnectionInput struct { // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - // The ID of the VPC peering connection. + // The ID of the VPC peering connection. You must specify this parameter in + // the request. VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` } @@ -20612,7 +22485,7 @@ func (s *AcceptVpcPeeringConnectionInput) SetVpcPeeringConnectionId(v string) *A } // Contains the output of AcceptVpcPeeringConnection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcPeeringConnectionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcPeeringConnectionResult type AcceptVpcPeeringConnectionOutput struct { _ struct{} `type:"structure"` @@ -20637,7 +22510,7 @@ func (s *AcceptVpcPeeringConnectionOutput) SetVpcPeeringConnection(v *VpcPeering } // Describes an account attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AccountAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AccountAttribute type AccountAttribute struct { _ struct{} `type:"structure"` @@ -20671,7 +22544,7 @@ func (s *AccountAttribute) SetAttributeValues(v []*AccountAttributeValue) *Accou } // Describes a value of an account attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AccountAttributeValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AccountAttributeValue type AccountAttributeValue struct { _ struct{} `type:"structure"` @@ -20695,8 +22568,8 @@ func (s *AccountAttributeValue) SetAttributeValue(v string) *AccountAttributeVal return s } -// Describes a running instance in a Spot fleet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ActiveInstance +// Describes a running instance in a Spot Fleet. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ActiveInstance type ActiveInstance struct { _ struct{} `type:"structure"` @@ -20711,7 +22584,7 @@ type ActiveInstance struct { // The instance type. InstanceType *string `locationName:"instanceType" type:"string"` - // The ID of the Spot instance request. + // The ID of the Spot Instance request. SpotInstanceRequestId *string `locationName:"spotInstanceRequestId" type:"string"` } @@ -20750,7 +22623,7 @@ func (s *ActiveInstance) SetSpotInstanceRequestId(v string) *ActiveInstance { } // Describes an Elastic IP address. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Address +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Address type Address struct { _ struct{} `type:"structure"` @@ -20840,7 +22713,7 @@ func (s *Address) SetPublicIp(v string) *Address { } // Contains the parameters for AllocateAddress. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddressRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddressRequest type AllocateAddressInput struct { _ struct{} `type:"structure"` @@ -20888,7 +22761,7 @@ func (s *AllocateAddressInput) SetDryRun(v bool) *AllocateAddressInput { } // Contains the output of AllocateAddress. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddressResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddressResult type AllocateAddressOutput struct { _ struct{} `type:"structure"` @@ -20933,7 +22806,7 @@ func (s *AllocateAddressOutput) SetPublicIp(v string) *AllocateAddressOutput { } // Contains the parameters for AllocateHosts. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHostsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHostsRequest type AllocateHostsInput struct { _ struct{} `type:"structure"` @@ -21028,7 +22901,7 @@ func (s *AllocateHostsInput) SetQuantity(v int64) *AllocateHostsInput { } // Contains the output of AllocateHosts. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHostsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHostsResult type AllocateHostsOutput struct { _ struct{} `type:"structure"` @@ -21053,7 +22926,41 @@ func (s *AllocateHostsOutput) SetHostIds(v []*string) *AllocateHostsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignIpv6AddressesRequest +// Describes a principal. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllowedPrincipal +type AllowedPrincipal struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the principal. + Principal *string `locationName:"principal" type:"string"` + + // The type of principal. + PrincipalType *string `locationName:"principalType" type:"string" enum:"PrincipalType"` +} + +// String returns the string representation +func (s AllowedPrincipal) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AllowedPrincipal) GoString() string { + return s.String() +} + +// SetPrincipal sets the Principal field's value. +func (s *AllowedPrincipal) SetPrincipal(v string) *AllowedPrincipal { + s.Principal = &v + return s +} + +// SetPrincipalType sets the PrincipalType field's value. +func (s *AllowedPrincipal) SetPrincipalType(v string) *AllowedPrincipal { + s.PrincipalType = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignIpv6AddressesRequest type AssignIpv6AddressesInput struct { _ struct{} `type:"structure"` @@ -21113,7 +23020,7 @@ func (s *AssignIpv6AddressesInput) SetNetworkInterfaceId(v string) *AssignIpv6Ad return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignIpv6AddressesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignIpv6AddressesResult type AssignIpv6AddressesOutput struct { _ struct{} `type:"structure"` @@ -21147,7 +23054,7 @@ func (s *AssignIpv6AddressesOutput) SetNetworkInterfaceId(v string) *AssignIpv6A } // Contains the parameters for AssignPrivateIpAddresses. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddressesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddressesRequest type AssignPrivateIpAddressesInput struct { _ struct{} `type:"structure"` @@ -21220,7 +23127,7 @@ func (s *AssignPrivateIpAddressesInput) SetSecondaryPrivateIpAddressCount(v int6 return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddressesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddressesOutput type AssignPrivateIpAddressesOutput struct { _ struct{} `type:"structure"` } @@ -21236,7 +23143,7 @@ func (s AssignPrivateIpAddressesOutput) GoString() string { } // Contains the parameters for AssociateAddress. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateAddressRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateAddressRequest type AssociateAddressInput struct { _ struct{} `type:"structure"` @@ -21329,7 +23236,7 @@ func (s *AssociateAddressInput) SetPublicIp(v string) *AssociateAddressInput { } // Contains the output of AssociateAddress. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateAddressResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateAddressResult type AssociateAddressOutput struct { _ struct{} `type:"structure"` @@ -21355,7 +23262,7 @@ func (s *AssociateAddressOutput) SetAssociationId(v string) *AssociateAddressOut } // Contains the parameters for AssociateDhcpOptions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateDhcpOptionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateDhcpOptionsRequest type AssociateDhcpOptionsInput struct { _ struct{} `type:"structure"` @@ -21421,7 +23328,7 @@ func (s *AssociateDhcpOptionsInput) SetVpcId(v string) *AssociateDhcpOptionsInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateDhcpOptionsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateDhcpOptionsOutput type AssociateDhcpOptionsOutput struct { _ struct{} `type:"structure"` } @@ -21436,7 +23343,7 @@ func (s AssociateDhcpOptionsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateIamInstanceProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateIamInstanceProfileRequest type AssociateIamInstanceProfileInput struct { _ struct{} `type:"structure"` @@ -21489,7 +23396,7 @@ func (s *AssociateIamInstanceProfileInput) SetInstanceId(v string) *AssociateIam return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateIamInstanceProfileResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateIamInstanceProfileResult type AssociateIamInstanceProfileOutput struct { _ struct{} `type:"structure"` @@ -21514,7 +23421,7 @@ func (s *AssociateIamInstanceProfileOutput) SetIamInstanceProfileAssociation(v * } // Contains the parameters for AssociateRouteTable. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateRouteTableRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateRouteTableRequest type AssociateRouteTableInput struct { _ struct{} `type:"structure"` @@ -21580,7 +23487,7 @@ func (s *AssociateRouteTableInput) SetSubnetId(v string) *AssociateRouteTableInp } // Contains the output of AssociateRouteTable. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateRouteTableResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateRouteTableResult type AssociateRouteTableOutput struct { _ struct{} `type:"structure"` @@ -21604,7 +23511,7 @@ func (s *AssociateRouteTableOutput) SetAssociationId(v string) *AssociateRouteTa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSubnetCidrBlockRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSubnetCidrBlockRequest type AssociateSubnetCidrBlockInput struct { _ struct{} `type:"structure"` @@ -21657,7 +23564,7 @@ func (s *AssociateSubnetCidrBlockInput) SetSubnetId(v string) *AssociateSubnetCi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSubnetCidrBlockResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSubnetCidrBlockResult type AssociateSubnetCidrBlockOutput struct { _ struct{} `type:"structure"` @@ -21690,7 +23597,7 @@ func (s *AssociateSubnetCidrBlockOutput) SetSubnetId(v string) *AssociateSubnetC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateVpcCidrBlockRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateVpcCidrBlockRequest type AssociateVpcCidrBlockInput struct { _ struct{} `type:"structure"` @@ -21749,7 +23656,7 @@ func (s *AssociateVpcCidrBlockInput) SetVpcId(v string) *AssociateVpcCidrBlockIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateVpcCidrBlockResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateVpcCidrBlockResult type AssociateVpcCidrBlockOutput struct { _ struct{} `type:"structure"` @@ -21792,7 +23699,7 @@ func (s *AssociateVpcCidrBlockOutput) SetVpcId(v string) *AssociateVpcCidrBlockO } // Contains the parameters for AttachClassicLinkVpc. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachClassicLinkVpcRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachClassicLinkVpcRequest type AttachClassicLinkVpcInput struct { _ struct{} `type:"structure"` @@ -21873,7 +23780,7 @@ func (s *AttachClassicLinkVpcInput) SetVpcId(v string) *AttachClassicLinkVpcInpu } // Contains the output of AttachClassicLinkVpc. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachClassicLinkVpcResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachClassicLinkVpcResult type AttachClassicLinkVpcOutput struct { _ struct{} `type:"structure"` @@ -21898,7 +23805,7 @@ func (s *AttachClassicLinkVpcOutput) SetReturn(v bool) *AttachClassicLinkVpcOutp } // Contains the parameters for AttachInternetGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachInternetGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachInternetGatewayRequest type AttachInternetGatewayInput struct { _ struct{} `type:"structure"` @@ -21963,7 +23870,7 @@ func (s *AttachInternetGatewayInput) SetVpcId(v string) *AttachInternetGatewayIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachInternetGatewayOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachInternetGatewayOutput type AttachInternetGatewayOutput struct { _ struct{} `type:"structure"` } @@ -21979,7 +23886,7 @@ func (s AttachInternetGatewayOutput) GoString() string { } // Contains the parameters for AttachNetworkInterface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachNetworkInterfaceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachNetworkInterfaceRequest type AttachNetworkInterfaceInput struct { _ struct{} `type:"structure"` @@ -22059,7 +23966,7 @@ func (s *AttachNetworkInterfaceInput) SetNetworkInterfaceId(v string) *AttachNet } // Contains the output of AttachNetworkInterface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachNetworkInterfaceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachNetworkInterfaceResult type AttachNetworkInterfaceOutput struct { _ struct{} `type:"structure"` @@ -22084,7 +23991,7 @@ func (s *AttachNetworkInterfaceOutput) SetAttachmentId(v string) *AttachNetworkI } // Contains the parameters for AttachVolume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVolumeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVolumeRequest type AttachVolumeInput struct { _ struct{} `type:"structure"` @@ -22165,7 +24072,7 @@ func (s *AttachVolumeInput) SetVolumeId(v string) *AttachVolumeInput { } // Contains the parameters for AttachVpnGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVpnGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVpnGatewayRequest type AttachVpnGatewayInput struct { _ struct{} `type:"structure"` @@ -22231,7 +24138,7 @@ func (s *AttachVpnGatewayInput) SetVpnGatewayId(v string) *AttachVpnGatewayInput } // Contains the output of AttachVpnGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVpnGatewayResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVpnGatewayResult type AttachVpnGatewayOutput struct { _ struct{} `type:"structure"` @@ -22256,7 +24163,7 @@ func (s *AttachVpnGatewayOutput) SetVpcAttachment(v *VpcAttachment) *AttachVpnGa } // Describes a value for a resource attribute that is a Boolean value. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttributeBooleanValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttributeBooleanValue type AttributeBooleanValue struct { _ struct{} `type:"structure"` @@ -22281,7 +24188,7 @@ func (s *AttributeBooleanValue) SetValue(v bool) *AttributeBooleanValue { } // Describes a value for a resource attribute that is a String. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttributeValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttributeValue type AttributeValue struct { _ struct{} `type:"structure"` @@ -22306,7 +24213,7 @@ func (s *AttributeValue) SetValue(v string) *AttributeValue { } // Contains the parameters for AuthorizeSecurityGroupEgress. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgressRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgressRequest type AuthorizeSecurityGroupEgressInput struct { _ struct{} `type:"structure"` @@ -22424,7 +24331,7 @@ func (s *AuthorizeSecurityGroupEgressInput) SetToPort(v int64) *AuthorizeSecurit return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgressOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgressOutput type AuthorizeSecurityGroupEgressOutput struct { _ struct{} `type:"structure"` } @@ -22440,7 +24347,7 @@ func (s AuthorizeSecurityGroupEgressOutput) GoString() string { } // Contains the parameters for AuthorizeSecurityGroupIngress. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngressRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngressRequest type AuthorizeSecurityGroupIngressInput struct { _ struct{} `type:"structure"` @@ -22573,7 +24480,7 @@ func (s *AuthorizeSecurityGroupIngressInput) SetToPort(v int64) *AuthorizeSecuri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngressOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngressOutput type AuthorizeSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` } @@ -22589,7 +24496,7 @@ func (s AuthorizeSecurityGroupIngressOutput) GoString() string { } // Describes an Availability Zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailabilityZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailabilityZone type AvailabilityZone struct { _ struct{} `type:"structure"` @@ -22641,7 +24548,7 @@ func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone { } // Describes a message about an Availability Zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailabilityZoneMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailabilityZoneMessage type AvailabilityZoneMessage struct { _ struct{} `type:"structure"` @@ -22666,7 +24573,7 @@ func (s *AvailabilityZoneMessage) SetMessage(v string) *AvailabilityZoneMessage } // The capacity information for instances launched onto the Dedicated Host. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailableCapacity +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailableCapacity type AvailableCapacity struct { _ struct{} `type:"structure"` @@ -22699,7 +24606,7 @@ func (s *AvailableCapacity) SetAvailableVCpus(v int64) *AvailableCapacity { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BlobAttributeValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BlobAttributeValue type BlobAttributeValue struct { _ struct{} `type:"structure"` @@ -22724,7 +24631,7 @@ func (s *BlobAttributeValue) SetValue(v []byte) *BlobAttributeValue { } // Describes a block device mapping. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BlockDeviceMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BlockDeviceMapping type BlockDeviceMapping struct { _ struct{} `type:"structure"` @@ -22787,7 +24694,7 @@ func (s *BlockDeviceMapping) SetVirtualName(v string) *BlockDeviceMapping { } // Contains the parameters for BundleInstance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleInstanceRequest type BundleInstanceInput struct { _ struct{} `type:"structure"` @@ -22861,7 +24768,7 @@ func (s *BundleInstanceInput) SetStorage(v *Storage) *BundleInstanceInput { } // Contains the output of BundleInstance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleInstanceResult type BundleInstanceOutput struct { _ struct{} `type:"structure"` @@ -22886,7 +24793,7 @@ func (s *BundleInstanceOutput) SetBundleTask(v *BundleTask) *BundleInstanceOutpu } // Describes a bundle task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleTask type BundleTask struct { _ struct{} `type:"structure"` @@ -22974,7 +24881,7 @@ func (s *BundleTask) SetUpdateTime(v time.Time) *BundleTask { } // Describes an error for BundleInstance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleTaskError +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleTaskError type BundleTaskError struct { _ struct{} `type:"structure"` @@ -23008,7 +24915,7 @@ func (s *BundleTaskError) SetMessage(v string) *BundleTaskError { } // Contains the parameters for CancelBundleTask. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelBundleTaskRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelBundleTaskRequest type CancelBundleTaskInput struct { _ struct{} `type:"structure"` @@ -23060,7 +24967,7 @@ func (s *CancelBundleTaskInput) SetDryRun(v bool) *CancelBundleTaskInput { } // Contains the output of CancelBundleTask. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelBundleTaskResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelBundleTaskResult type CancelBundleTaskOutput struct { _ struct{} `type:"structure"` @@ -23085,7 +24992,7 @@ func (s *CancelBundleTaskOutput) SetBundleTask(v *BundleTask) *CancelBundleTaskO } // Contains the parameters for CancelConversionTask. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelConversionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelConversionRequest type CancelConversionTaskInput struct { _ struct{} `type:"structure"` @@ -23145,7 +25052,7 @@ func (s *CancelConversionTaskInput) SetReasonMessage(v string) *CancelConversion return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelConversionTaskOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelConversionTaskOutput type CancelConversionTaskOutput struct { _ struct{} `type:"structure"` } @@ -23161,7 +25068,7 @@ func (s CancelConversionTaskOutput) GoString() string { } // Contains the parameters for CancelExportTask. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelExportTaskRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelExportTaskRequest type CancelExportTaskInput struct { _ struct{} `type:"structure"` @@ -23200,7 +25107,7 @@ func (s *CancelExportTaskInput) SetExportTaskId(v string) *CancelExportTaskInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelExportTaskOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelExportTaskOutput type CancelExportTaskOutput struct { _ struct{} `type:"structure"` } @@ -23216,7 +25123,7 @@ func (s CancelExportTaskOutput) GoString() string { } // Contains the parameters for CancelImportTask. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImportTaskRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImportTaskRequest type CancelImportTaskInput struct { _ struct{} `type:"structure"` @@ -23262,7 +25169,7 @@ func (s *CancelImportTaskInput) SetImportTaskId(v string) *CancelImportTaskInput } // Contains the output for CancelImportTask. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImportTaskResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImportTaskResult type CancelImportTaskOutput struct { _ struct{} `type:"structure"` @@ -23305,7 +25212,7 @@ func (s *CancelImportTaskOutput) SetState(v string) *CancelImportTaskOutput { } // Contains the parameters for CancelReservedInstancesListing. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelReservedInstancesListingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelReservedInstancesListingRequest type CancelReservedInstancesListingInput struct { _ struct{} `type:"structure"` @@ -23345,7 +25252,7 @@ func (s *CancelReservedInstancesListingInput) SetReservedInstancesListingId(v st } // Contains the output of CancelReservedInstancesListing. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelReservedInstancesListingResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelReservedInstancesListingResult type CancelReservedInstancesListingOutput struct { _ struct{} `type:"structure"` @@ -23369,8 +25276,8 @@ func (s *CancelReservedInstancesListingOutput) SetReservedInstancesListings(v [] return s } -// Describes a Spot fleet error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsError +// Describes a Spot Fleet error. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsError type CancelSpotFleetRequestsError struct { _ struct{} `type:"structure"` @@ -23407,8 +25314,8 @@ func (s *CancelSpotFleetRequestsError) SetMessage(v string) *CancelSpotFleetRequ return s } -// Describes a Spot fleet request that was not successfully canceled. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsErrorItem +// Describes a Spot Fleet request that was not successfully canceled. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsErrorItem type CancelSpotFleetRequestsErrorItem struct { _ struct{} `type:"structure"` @@ -23417,7 +25324,7 @@ type CancelSpotFleetRequestsErrorItem struct { // Error is a required field Error *CancelSpotFleetRequestsError `locationName:"error" type:"structure" required:"true"` - // The ID of the Spot fleet request. + // The ID of the Spot Fleet request. // // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` @@ -23446,7 +25353,7 @@ func (s *CancelSpotFleetRequestsErrorItem) SetSpotFleetRequestId(v string) *Canc } // Contains the parameters for CancelSpotFleetRequests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsRequest type CancelSpotFleetRequestsInput struct { _ struct{} `type:"structure"` @@ -23456,12 +25363,12 @@ type CancelSpotFleetRequestsInput struct { // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - // The IDs of the Spot fleet requests. + // The IDs of the Spot Fleet requests. // // SpotFleetRequestIds is a required field SpotFleetRequestIds []*string `locationName:"spotFleetRequestId" locationNameList:"item" type:"list" required:"true"` - // Indicates whether to terminate instances for a Spot fleet request if it is + // Indicates whether to terminate instances for a Spot Fleet request if it is // canceled successfully. // // TerminateInstances is a required field @@ -23513,14 +25420,14 @@ func (s *CancelSpotFleetRequestsInput) SetTerminateInstances(v bool) *CancelSpot } // Contains the output of CancelSpotFleetRequests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsResponse type CancelSpotFleetRequestsOutput struct { _ struct{} `type:"structure"` - // Information about the Spot fleet requests that are successfully canceled. + // Information about the Spot Fleet requests that are successfully canceled. SuccessfulFleetRequests []*CancelSpotFleetRequestsSuccessItem `locationName:"successfulFleetRequestSet" locationNameList:"item" type:"list"` - // Information about the Spot fleet requests that are not successfully canceled. + // Information about the Spot Fleet requests that are not successfully canceled. UnsuccessfulFleetRequests []*CancelSpotFleetRequestsErrorItem `locationName:"unsuccessfulFleetRequestSet" locationNameList:"item" type:"list"` } @@ -23546,22 +25453,22 @@ func (s *CancelSpotFleetRequestsOutput) SetUnsuccessfulFleetRequests(v []*Cancel return s } -// Describes a Spot fleet request that was successfully canceled. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsSuccessItem +// Describes a Spot Fleet request that was successfully canceled. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsSuccessItem type CancelSpotFleetRequestsSuccessItem struct { _ struct{} `type:"structure"` - // The current state of the Spot fleet request. + // The current state of the Spot Fleet request. // // CurrentSpotFleetRequestState is a required field CurrentSpotFleetRequestState *string `locationName:"currentSpotFleetRequestState" type:"string" required:"true" enum:"BatchState"` - // The previous state of the Spot fleet request. + // The previous state of the Spot Fleet request. // // PreviousSpotFleetRequestState is a required field PreviousSpotFleetRequestState *string `locationName:"previousSpotFleetRequestState" type:"string" required:"true" enum:"BatchState"` - // The ID of the Spot fleet request. + // The ID of the Spot Fleet request. // // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` @@ -23596,7 +25503,7 @@ func (s *CancelSpotFleetRequestsSuccessItem) SetSpotFleetRequestId(v string) *Ca } // Contains the parameters for CancelSpotInstanceRequests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotInstanceRequestsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotInstanceRequestsRequest type CancelSpotInstanceRequestsInput struct { _ struct{} `type:"structure"` @@ -23606,7 +25513,7 @@ type CancelSpotInstanceRequestsInput struct { // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - // One or more Spot instance request IDs. + // One or more Spot Instance request IDs. // // SpotInstanceRequestIds is a required field SpotInstanceRequestIds []*string `locationName:"SpotInstanceRequestId" locationNameList:"SpotInstanceRequestId" type:"list" required:"true"` @@ -23648,11 +25555,11 @@ func (s *CancelSpotInstanceRequestsInput) SetSpotInstanceRequestIds(v []*string) } // Contains the output of CancelSpotInstanceRequests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotInstanceRequestsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotInstanceRequestsResult type CancelSpotInstanceRequestsOutput struct { _ struct{} `type:"structure"` - // One or more Spot instance requests. + // One or more Spot Instance requests. CancelledSpotInstanceRequests []*CancelledSpotInstanceRequest `locationName:"spotInstanceRequestSet" locationNameList:"item" type:"list"` } @@ -23672,15 +25579,15 @@ func (s *CancelSpotInstanceRequestsOutput) SetCancelledSpotInstanceRequests(v [] return s } -// Describes a request to cancel a Spot instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelledSpotInstanceRequest +// Describes a request to cancel a Spot Instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelledSpotInstanceRequest type CancelledSpotInstanceRequest struct { _ struct{} `type:"structure"` - // The ID of the Spot instance request. + // The ID of the Spot Instance request. SpotInstanceRequestId *string `locationName:"spotInstanceRequestId" type:"string"` - // The state of the Spot instance request. + // The state of the Spot Instance request. State *string `locationName:"state" type:"string" enum:"CancelSpotInstanceRequestState"` } @@ -23707,7 +25614,7 @@ func (s *CancelledSpotInstanceRequest) SetState(v string) *CancelledSpotInstance } // Describes an IPv4 CIDR block. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CidrBlock +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CidrBlock type CidrBlock struct { _ struct{} `type:"structure"` @@ -23732,7 +25639,7 @@ func (s *CidrBlock) SetCidrBlock(v string) *CidrBlock { } // Describes the ClassicLink DNS support status of a VPC. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClassicLinkDnsSupport +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClassicLinkDnsSupport type ClassicLinkDnsSupport struct { _ struct{} `type:"structure"` @@ -23766,7 +25673,7 @@ func (s *ClassicLinkDnsSupport) SetVpcId(v string) *ClassicLinkDnsSupport { } // Describes a linked EC2-Classic instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClassicLinkInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClassicLinkInstance type ClassicLinkInstance struct { _ struct{} `type:"structure"` @@ -23818,7 +25725,7 @@ func (s *ClassicLinkInstance) SetVpcId(v string) *ClassicLinkInstance { } // Describes a Classic Load Balancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClassicLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClassicLoadBalancer type ClassicLoadBalancer struct { _ struct{} `type:"structure"` @@ -23857,9 +25764,9 @@ func (s *ClassicLoadBalancer) SetName(v string) *ClassicLoadBalancer { return s } -// Describes the Classic Load Balancers to attach to a Spot fleet. Spot fleet -// registers the running Spot instances with these Classic Load Balancers. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClassicLoadBalancersConfig +// Describes the Classic Load Balancers to attach to a Spot Fleet. Spot Fleet +// registers the running Spot Instances with these Classic Load Balancers. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClassicLoadBalancersConfig type ClassicLoadBalancersConfig struct { _ struct{} `type:"structure"` @@ -23912,7 +25819,7 @@ func (s *ClassicLoadBalancersConfig) SetClassicLoadBalancers(v []*ClassicLoadBal } // Describes the client-specific data. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientData +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientData type ClientData struct { _ struct{} `type:"structure"` @@ -23964,7 +25871,7 @@ func (s *ClientData) SetUploadStart(v time.Time) *ClientData { } // Contains the parameters for ConfirmProductInstance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConfirmProductInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConfirmProductInstanceRequest type ConfirmProductInstanceInput struct { _ struct{} `type:"structure"` @@ -24030,7 +25937,7 @@ func (s *ConfirmProductInstanceInput) SetProductCode(v string) *ConfirmProductIn } // Contains the output of ConfirmProductInstance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConfirmProductInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConfirmProductInstanceResult type ConfirmProductInstanceOutput struct { _ struct{} `type:"structure"` @@ -24065,8 +25972,88 @@ func (s *ConfirmProductInstanceOutput) SetReturn(v bool) *ConfirmProductInstance return s } +// Describes a connection notification for a VPC endpoint or VPC endpoint service. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConnectionNotification +type ConnectionNotification struct { + _ struct{} `type:"structure"` + + // The events for the notification. Valid values are Accept, Connect, Delete, + // and Reject. + ConnectionEvents []*string `locationName:"connectionEvents" locationNameList:"item" type:"list"` + + // The ARN of the SNS topic for the notification. + ConnectionNotificationArn *string `locationName:"connectionNotificationArn" type:"string"` + + // The ID of the notification. + ConnectionNotificationId *string `locationName:"connectionNotificationId" type:"string"` + + // The state of the notification. + ConnectionNotificationState *string `locationName:"connectionNotificationState" type:"string" enum:"ConnectionNotificationState"` + + // The type of notification. + ConnectionNotificationType *string `locationName:"connectionNotificationType" type:"string" enum:"ConnectionNotificationType"` + + // The ID of the endpoint service. + ServiceId *string `locationName:"serviceId" type:"string"` + + // The ID of the VPC endpoint. + VpcEndpointId *string `locationName:"vpcEndpointId" type:"string"` +} + +// String returns the string representation +func (s ConnectionNotification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ConnectionNotification) GoString() string { + return s.String() +} + +// SetConnectionEvents sets the ConnectionEvents field's value. +func (s *ConnectionNotification) SetConnectionEvents(v []*string) *ConnectionNotification { + s.ConnectionEvents = v + return s +} + +// SetConnectionNotificationArn sets the ConnectionNotificationArn field's value. +func (s *ConnectionNotification) SetConnectionNotificationArn(v string) *ConnectionNotification { + s.ConnectionNotificationArn = &v + return s +} + +// SetConnectionNotificationId sets the ConnectionNotificationId field's value. +func (s *ConnectionNotification) SetConnectionNotificationId(v string) *ConnectionNotification { + s.ConnectionNotificationId = &v + return s +} + +// SetConnectionNotificationState sets the ConnectionNotificationState field's value. +func (s *ConnectionNotification) SetConnectionNotificationState(v string) *ConnectionNotification { + s.ConnectionNotificationState = &v + return s +} + +// SetConnectionNotificationType sets the ConnectionNotificationType field's value. +func (s *ConnectionNotification) SetConnectionNotificationType(v string) *ConnectionNotification { + s.ConnectionNotificationType = &v + return s +} + +// SetServiceId sets the ServiceId field's value. +func (s *ConnectionNotification) SetServiceId(v string) *ConnectionNotification { + s.ServiceId = &v + return s +} + +// SetVpcEndpointId sets the VpcEndpointId field's value. +func (s *ConnectionNotification) SetVpcEndpointId(v string) *ConnectionNotification { + s.VpcEndpointId = &v + return s +} + // Describes a conversion task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConversionTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConversionTask type ConversionTask struct { _ struct{} `type:"structure"` @@ -24151,7 +26138,7 @@ func (s *ConversionTask) SetTags(v []*Tag) *ConversionTask { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImageRequest type CopyFpgaImageInput struct { _ struct{} `type:"structure"` @@ -24244,7 +26231,7 @@ func (s *CopyFpgaImageInput) SetSourceRegion(v string) *CopyFpgaImageInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImageResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImageResult type CopyFpgaImageOutput struct { _ struct{} `type:"structure"` @@ -24269,7 +26256,7 @@ func (s *CopyFpgaImageOutput) SetFpgaImageId(v string) *CopyFpgaImageOutput { } // Contains the parameters for CopyImage. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImageRequest type CopyImageInput struct { _ struct{} `type:"structure"` @@ -24398,7 +26385,7 @@ func (s *CopyImageInput) SetSourceRegion(v string) *CopyImageInput { } // Contains the output of CopyImage. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImageResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImageResult type CopyImageOutput struct { _ struct{} `type:"structure"` @@ -24423,7 +26410,7 @@ func (s *CopyImageOutput) SetImageId(v string) *CopyImageOutput { } // Contains the parameters for CopySnapshot. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopySnapshotRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopySnapshotRequest type CopySnapshotInput struct { _ struct{} `type:"structure"` @@ -24565,7 +26552,7 @@ func (s *CopySnapshotInput) SetSourceSnapshotId(v string) *CopySnapshotInput { } // Contains the output of CopySnapshot. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopySnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopySnapshotResult type CopySnapshotOutput struct { _ struct{} `type:"structure"` @@ -24590,7 +26577,7 @@ func (s *CopySnapshotOutput) SetSnapshotId(v string) *CopySnapshotOutput { } // Contains the parameters for CreateCustomerGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCustomerGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCustomerGatewayRequest type CreateCustomerGatewayInput struct { _ struct{} `type:"structure"` @@ -24673,7 +26660,7 @@ func (s *CreateCustomerGatewayInput) SetType(v string) *CreateCustomerGatewayInp } // Contains the output of CreateCustomerGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCustomerGatewayResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCustomerGatewayResult type CreateCustomerGatewayOutput struct { _ struct{} `type:"structure"` @@ -24697,7 +26684,7 @@ func (s *CreateCustomerGatewayOutput) SetCustomerGateway(v *CustomerGateway) *Cr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnetRequest type CreateDefaultSubnetInput struct { _ struct{} `type:"structure"` @@ -24748,7 +26735,7 @@ func (s *CreateDefaultSubnetInput) SetDryRun(v bool) *CreateDefaultSubnetInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnetResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnetResult type CreateDefaultSubnetOutput struct { _ struct{} `type:"structure"` @@ -24773,7 +26760,7 @@ func (s *CreateDefaultSubnetOutput) SetSubnet(v *Subnet) *CreateDefaultSubnetOut } // Contains the parameters for CreateDefaultVpc. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpcRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpcRequest type CreateDefaultVpcInput struct { _ struct{} `type:"structure"` @@ -24801,7 +26788,7 @@ func (s *CreateDefaultVpcInput) SetDryRun(v bool) *CreateDefaultVpcInput { } // Contains the output of CreateDefaultVpc. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpcResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpcResult type CreateDefaultVpcOutput struct { _ struct{} `type:"structure"` @@ -24826,7 +26813,7 @@ func (s *CreateDefaultVpcOutput) SetVpc(v *Vpc) *CreateDefaultVpcOutput { } // Contains the parameters for CreateDhcpOptions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDhcpOptionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDhcpOptionsRequest type CreateDhcpOptionsInput struct { _ struct{} `type:"structure"` @@ -24878,7 +26865,7 @@ func (s *CreateDhcpOptionsInput) SetDryRun(v bool) *CreateDhcpOptionsInput { } // Contains the output of CreateDhcpOptions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDhcpOptionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDhcpOptionsResult type CreateDhcpOptionsOutput struct { _ struct{} `type:"structure"` @@ -24902,7 +26889,7 @@ func (s *CreateDhcpOptionsOutput) SetDhcpOptions(v *DhcpOptions) *CreateDhcpOpti return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGatewayRequest type CreateEgressOnlyInternetGatewayInput struct { _ struct{} `type:"structure"` @@ -24963,7 +26950,7 @@ func (s *CreateEgressOnlyInternetGatewayInput) SetVpcId(v string) *CreateEgressO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGatewayResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGatewayResult type CreateEgressOnlyInternetGatewayOutput struct { _ struct{} `type:"structure"` @@ -24998,7 +26985,7 @@ func (s *CreateEgressOnlyInternetGatewayOutput) SetEgressOnlyInternetGateway(v * } // Contains the parameters for CreateFlowLogs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogsRequest type CreateFlowLogsInput struct { _ struct{} `type:"structure"` @@ -25107,7 +27094,7 @@ func (s *CreateFlowLogsInput) SetTrafficType(v string) *CreateFlowLogsInput { } // Contains the output of CreateFlowLogs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogsResult type CreateFlowLogsOutput struct { _ struct{} `type:"structure"` @@ -25150,7 +27137,7 @@ func (s *CreateFlowLogsOutput) SetUnsuccessful(v []*UnsuccessfulItem) *CreateFlo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFpgaImageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFpgaImageRequest type CreateFpgaImageInput struct { _ struct{} `type:"structure"` @@ -25239,7 +27226,7 @@ func (s *CreateFpgaImageInput) SetName(v string) *CreateFpgaImageInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFpgaImageResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFpgaImageResult type CreateFpgaImageOutput struct { _ struct{} `type:"structure"` @@ -25273,7 +27260,7 @@ func (s *CreateFpgaImageOutput) SetFpgaImageId(v string) *CreateFpgaImageOutput } // Contains the parameters for CreateImage. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImageRequest type CreateImageInput struct { _ struct{} `type:"structure"` @@ -25373,7 +27360,7 @@ func (s *CreateImageInput) SetNoReboot(v bool) *CreateImageInput { } // Contains the output of CreateImage. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImageResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImageResult type CreateImageOutput struct { _ struct{} `type:"structure"` @@ -25398,7 +27385,7 @@ func (s *CreateImageOutput) SetImageId(v string) *CreateImageOutput { } // Contains the parameters for CreateInstanceExportTask. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceExportTaskRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceExportTaskRequest type CreateInstanceExportTaskInput struct { _ struct{} `type:"structure"` @@ -25466,7 +27453,7 @@ func (s *CreateInstanceExportTaskInput) SetTargetEnvironment(v string) *CreateIn } // Contains the output for CreateInstanceExportTask. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceExportTaskResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceExportTaskResult type CreateInstanceExportTaskOutput struct { _ struct{} `type:"structure"` @@ -25491,7 +27478,7 @@ func (s *CreateInstanceExportTaskOutput) SetExportTask(v *ExportTask) *CreateIns } // Contains the parameters for CreateInternetGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGatewayRequest type CreateInternetGatewayInput struct { _ struct{} `type:"structure"` @@ -25519,7 +27506,7 @@ func (s *CreateInternetGatewayInput) SetDryRun(v bool) *CreateInternetGatewayInp } // Contains the output of CreateInternetGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGatewayResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGatewayResult type CreateInternetGatewayOutput struct { _ struct{} `type:"structure"` @@ -25544,7 +27531,7 @@ func (s *CreateInternetGatewayOutput) SetInternetGateway(v *InternetGateway) *Cr } // Contains the parameters for CreateKeyPair. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateKeyPairRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateKeyPairRequest type CreateKeyPairInput struct { _ struct{} `type:"structure"` @@ -25598,7 +27585,7 @@ func (s *CreateKeyPairInput) SetKeyName(v string) *CreateKeyPairInput { } // Describes a key pair. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/KeyPair +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/KeyPair type CreateKeyPairOutput struct { _ struct{} `type:"structure"` @@ -25640,8 +27627,257 @@ func (s *CreateKeyPairOutput) SetKeyName(v string) *CreateKeyPairOutput { return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateRequest +type CreateLaunchTemplateInput struct { + _ struct{} `type:"structure"` + + // Unique, case-sensitive identifier you provide to ensure the idempotency of + // the request. For more information, see Ensuring Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The information for the launch template. + // + // LaunchTemplateData is a required field + LaunchTemplateData *RequestLaunchTemplateData `type:"structure" required:"true"` + + // A name for the launch template. + // + // LaunchTemplateName is a required field + LaunchTemplateName *string `min:"3" type:"string" required:"true"` + + // A description for the first version of the launch template. + VersionDescription *string `type:"string"` +} + +// String returns the string representation +func (s CreateLaunchTemplateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateLaunchTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateLaunchTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateLaunchTemplateInput"} + if s.LaunchTemplateData == nil { + invalidParams.Add(request.NewErrParamRequired("LaunchTemplateData")) + } + if s.LaunchTemplateName == nil { + invalidParams.Add(request.NewErrParamRequired("LaunchTemplateName")) + } + if s.LaunchTemplateName != nil && len(*s.LaunchTemplateName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateName", 3)) + } + if s.LaunchTemplateData != nil { + if err := s.LaunchTemplateData.Validate(); err != nil { + invalidParams.AddNested("LaunchTemplateData", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateLaunchTemplateInput) SetClientToken(v string) *CreateLaunchTemplateInput { + s.ClientToken = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CreateLaunchTemplateInput) SetDryRun(v bool) *CreateLaunchTemplateInput { + s.DryRun = &v + return s +} + +// SetLaunchTemplateData sets the LaunchTemplateData field's value. +func (s *CreateLaunchTemplateInput) SetLaunchTemplateData(v *RequestLaunchTemplateData) *CreateLaunchTemplateInput { + s.LaunchTemplateData = v + return s +} + +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *CreateLaunchTemplateInput) SetLaunchTemplateName(v string) *CreateLaunchTemplateInput { + s.LaunchTemplateName = &v + return s +} + +// SetVersionDescription sets the VersionDescription field's value. +func (s *CreateLaunchTemplateInput) SetVersionDescription(v string) *CreateLaunchTemplateInput { + s.VersionDescription = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateResult +type CreateLaunchTemplateOutput struct { + _ struct{} `type:"structure"` + + // Information about the launch template. + LaunchTemplate *LaunchTemplate `locationName:"launchTemplate" type:"structure"` +} + +// String returns the string representation +func (s CreateLaunchTemplateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateLaunchTemplateOutput) GoString() string { + return s.String() +} + +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *CreateLaunchTemplateOutput) SetLaunchTemplate(v *LaunchTemplate) *CreateLaunchTemplateOutput { + s.LaunchTemplate = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersionRequest +type CreateLaunchTemplateVersionInput struct { + _ struct{} `type:"structure"` + + // Unique, case-sensitive identifier you provide to ensure the idempotency of + // the request. For more information, see Ensuring Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The information for the launch template. + // + // LaunchTemplateData is a required field + LaunchTemplateData *RequestLaunchTemplateData `type:"structure" required:"true"` + + // The ID of the launch template. You must specify either the launch template + // ID or launch template name in the request. + LaunchTemplateId *string `type:"string"` + + // The name of the launch template. You must specify either the launch template + // ID or launch template name in the request. + LaunchTemplateName *string `min:"3" type:"string"` + + // The version number of the launch template version on which to base the new + // version. The new version inherits the same launch parameters as the source + // version, except for parameters that you specify in LaunchTemplateData. + SourceVersion *string `type:"string"` + + // A description for the version of the launch template. + VersionDescription *string `type:"string"` +} + +// String returns the string representation +func (s CreateLaunchTemplateVersionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateLaunchTemplateVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateLaunchTemplateVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateLaunchTemplateVersionInput"} + if s.LaunchTemplateData == nil { + invalidParams.Add(request.NewErrParamRequired("LaunchTemplateData")) + } + if s.LaunchTemplateName != nil && len(*s.LaunchTemplateName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateName", 3)) + } + if s.LaunchTemplateData != nil { + if err := s.LaunchTemplateData.Validate(); err != nil { + invalidParams.AddNested("LaunchTemplateData", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateLaunchTemplateVersionInput) SetClientToken(v string) *CreateLaunchTemplateVersionInput { + s.ClientToken = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CreateLaunchTemplateVersionInput) SetDryRun(v bool) *CreateLaunchTemplateVersionInput { + s.DryRun = &v + return s +} + +// SetLaunchTemplateData sets the LaunchTemplateData field's value. +func (s *CreateLaunchTemplateVersionInput) SetLaunchTemplateData(v *RequestLaunchTemplateData) *CreateLaunchTemplateVersionInput { + s.LaunchTemplateData = v + return s +} + +// SetLaunchTemplateId sets the LaunchTemplateId field's value. +func (s *CreateLaunchTemplateVersionInput) SetLaunchTemplateId(v string) *CreateLaunchTemplateVersionInput { + s.LaunchTemplateId = &v + return s +} + +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *CreateLaunchTemplateVersionInput) SetLaunchTemplateName(v string) *CreateLaunchTemplateVersionInput { + s.LaunchTemplateName = &v + return s +} + +// SetSourceVersion sets the SourceVersion field's value. +func (s *CreateLaunchTemplateVersionInput) SetSourceVersion(v string) *CreateLaunchTemplateVersionInput { + s.SourceVersion = &v + return s +} + +// SetVersionDescription sets the VersionDescription field's value. +func (s *CreateLaunchTemplateVersionInput) SetVersionDescription(v string) *CreateLaunchTemplateVersionInput { + s.VersionDescription = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersionResult +type CreateLaunchTemplateVersionOutput struct { + _ struct{} `type:"structure"` + + // Information about the launch template version. + LaunchTemplateVersion *LaunchTemplateVersion `locationName:"launchTemplateVersion" type:"structure"` +} + +// String returns the string representation +func (s CreateLaunchTemplateVersionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateLaunchTemplateVersionOutput) GoString() string { + return s.String() +} + +// SetLaunchTemplateVersion sets the LaunchTemplateVersion field's value. +func (s *CreateLaunchTemplateVersionOutput) SetLaunchTemplateVersion(v *LaunchTemplateVersion) *CreateLaunchTemplateVersionOutput { + s.LaunchTemplateVersion = v + return s +} + // Contains the parameters for CreateNatGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGatewayRequest type CreateNatGatewayInput struct { _ struct{} `type:"structure"` @@ -25709,7 +27945,7 @@ func (s *CreateNatGatewayInput) SetSubnetId(v string) *CreateNatGatewayInput { } // Contains the output of CreateNatGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGatewayResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGatewayResult type CreateNatGatewayOutput struct { _ struct{} `type:"structure"` @@ -25744,7 +27980,7 @@ func (s *CreateNatGatewayOutput) SetNatGateway(v *NatGateway) *CreateNatGatewayO } // Contains the parameters for CreateNetworkAclEntry. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclEntryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclEntryRequest type CreateNetworkAclEntryInput struct { _ struct{} `type:"structure"` @@ -25899,7 +28135,7 @@ func (s *CreateNetworkAclEntryInput) SetRuleNumber(v int64) *CreateNetworkAclEnt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclEntryOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclEntryOutput type CreateNetworkAclEntryOutput struct { _ struct{} `type:"structure"` } @@ -25915,7 +28151,7 @@ func (s CreateNetworkAclEntryOutput) GoString() string { } // Contains the parameters for CreateNetworkAcl. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclRequest type CreateNetworkAclInput struct { _ struct{} `type:"structure"` @@ -25967,7 +28203,7 @@ func (s *CreateNetworkAclInput) SetVpcId(v string) *CreateNetworkAclInput { } // Contains the output of CreateNetworkAcl. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclResult type CreateNetworkAclOutput struct { _ struct{} `type:"structure"` @@ -25992,7 +28228,7 @@ func (s *CreateNetworkAclOutput) SetNetworkAcl(v *NetworkAcl) *CreateNetworkAclO } // Contains the parameters for CreateNetworkInterface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfaceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfaceRequest type CreateNetworkInterfaceInput struct { _ struct{} `type:"structure"` @@ -26134,7 +28370,7 @@ func (s *CreateNetworkInterfaceInput) SetSubnetId(v string) *CreateNetworkInterf } // Contains the output of CreateNetworkInterface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfaceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfaceResult type CreateNetworkInterfaceOutput struct { _ struct{} `type:"structure"` @@ -26159,7 +28395,7 @@ func (s *CreateNetworkInterfaceOutput) SetNetworkInterface(v *NetworkInterface) } // Contains the parameters for CreateNetworkInterfacePermission. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermissionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermissionRequest type CreateNetworkInterfacePermissionInput struct { _ struct{} `type:"structure"` @@ -26243,7 +28479,7 @@ func (s *CreateNetworkInterfacePermissionInput) SetPermission(v string) *CreateN } // Contains the output of CreateNetworkInterfacePermission. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermissionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermissionResult type CreateNetworkInterfacePermissionOutput struct { _ struct{} `type:"structure"` @@ -26268,7 +28504,7 @@ func (s *CreateNetworkInterfacePermissionOutput) SetInterfacePermission(v *Netwo } // Contains the parameters for CreatePlacementGroup. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroupRequest type CreatePlacementGroupInput struct { _ struct{} `type:"structure"` @@ -26278,7 +28514,8 @@ type CreatePlacementGroupInput struct { // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - // A name for the placement group. + // A name for the placement group. Must be unique within the scope of your account + // for the region. // // Constraints: Up to 255 ASCII characters // @@ -26335,7 +28572,7 @@ func (s *CreatePlacementGroupInput) SetStrategy(v string) *CreatePlacementGroupI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroupOutput type CreatePlacementGroupOutput struct { _ struct{} `type:"structure"` } @@ -26351,7 +28588,7 @@ func (s CreatePlacementGroupOutput) GoString() string { } // Contains the parameters for CreateReservedInstancesListing. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReservedInstancesListingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReservedInstancesListingRequest type CreateReservedInstancesListingInput struct { _ struct{} `type:"structure"` @@ -26439,7 +28676,7 @@ func (s *CreateReservedInstancesListingInput) SetReservedInstancesId(v string) * } // Contains the output of CreateReservedInstancesListing. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReservedInstancesListingResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReservedInstancesListingResult type CreateReservedInstancesListingOutput struct { _ struct{} `type:"structure"` @@ -26464,7 +28701,7 @@ func (s *CreateReservedInstancesListingOutput) SetReservedInstancesListings(v [] } // Contains the parameters for CreateRoute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteRequest type CreateRouteInput struct { _ struct{} `type:"structure"` @@ -26592,7 +28829,7 @@ func (s *CreateRouteInput) SetVpcPeeringConnectionId(v string) *CreateRouteInput } // Contains the output of CreateRoute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteResult type CreateRouteOutput struct { _ struct{} `type:"structure"` @@ -26617,7 +28854,7 @@ func (s *CreateRouteOutput) SetReturn(v bool) *CreateRouteOutput { } // Contains the parameters for CreateRouteTable. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTableRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTableRequest type CreateRouteTableInput struct { _ struct{} `type:"structure"` @@ -26669,7 +28906,7 @@ func (s *CreateRouteTableInput) SetVpcId(v string) *CreateRouteTableInput { } // Contains the output of CreateRouteTable. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTableResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTableResult type CreateRouteTableOutput struct { _ struct{} `type:"structure"` @@ -26694,7 +28931,7 @@ func (s *CreateRouteTableOutput) SetRouteTable(v *RouteTable) *CreateRouteTableO } // Contains the parameters for CreateSecurityGroup. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroupRequest type CreateSecurityGroupInput struct { _ struct{} `type:"structure"` @@ -26781,7 +29018,7 @@ func (s *CreateSecurityGroupInput) SetVpcId(v string) *CreateSecurityGroupInput } // Contains the output of CreateSecurityGroup. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroupResult type CreateSecurityGroupOutput struct { _ struct{} `type:"structure"` @@ -26806,7 +29043,7 @@ func (s *CreateSecurityGroupOutput) SetGroupId(v string) *CreateSecurityGroupOut } // Contains the parameters for CreateSnapshot. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshotRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshotRequest type CreateSnapshotInput struct { _ struct{} `type:"structure"` @@ -26867,11 +29104,11 @@ func (s *CreateSnapshotInput) SetVolumeId(v string) *CreateSnapshotInput { } // Contains the parameters for CreateSpotDatafeedSubscription. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscriptionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscriptionRequest type CreateSpotDatafeedSubscriptionInput struct { _ struct{} `type:"structure"` - // The Amazon S3 bucket in which to store the Spot instance data feed. + // The Amazon S3 bucket in which to store the Spot Instance data feed. // // Bucket is a required field Bucket *string `locationName:"bucket" type:"string" required:"true"` @@ -26928,11 +29165,11 @@ func (s *CreateSpotDatafeedSubscriptionInput) SetPrefix(v string) *CreateSpotDat } // Contains the output of CreateSpotDatafeedSubscription. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscriptionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscriptionResult type CreateSpotDatafeedSubscriptionOutput struct { _ struct{} `type:"structure"` - // The Spot instance data feed subscription. + // The Spot Instance data feed subscription. SpotDatafeedSubscription *SpotDatafeedSubscription `locationName:"spotDatafeedSubscription" type:"structure"` } @@ -26953,7 +29190,7 @@ func (s *CreateSpotDatafeedSubscriptionOutput) SetSpotDatafeedSubscription(v *Sp } // Contains the parameters for CreateSubnet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetRequest type CreateSubnetInput struct { _ struct{} `type:"structure"` @@ -27041,7 +29278,7 @@ func (s *CreateSubnetInput) SetVpcId(v string) *CreateSubnetInput { } // Contains the output of CreateSubnet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetResult type CreateSubnetOutput struct { _ struct{} `type:"structure"` @@ -27066,7 +29303,7 @@ func (s *CreateSubnetOutput) SetSubnet(v *Subnet) *CreateSubnetOutput { } // Contains the parameters for CreateTags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTagsRequest type CreateTagsInput struct { _ struct{} `type:"structure"` @@ -27133,7 +29370,7 @@ func (s *CreateTagsInput) SetTags(v []*Tag) *CreateTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTagsOutput type CreateTagsOutput struct { _ struct{} `type:"structure"` } @@ -27149,7 +29386,7 @@ func (s CreateTagsOutput) GoString() string { } // Contains the parameters for CreateVolume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolumeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolumeRequest type CreateVolumeInput struct { _ struct{} `type:"structure"` @@ -27293,7 +29530,7 @@ func (s *CreateVolumeInput) SetVolumeType(v string) *CreateVolumeInput { // Describes the user or group to be added or removed from the permissions for // a volume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolumePermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolumePermission type CreateVolumePermission struct { _ struct{} `type:"structure"` @@ -27329,7 +29566,7 @@ func (s *CreateVolumePermission) SetUserId(v string) *CreateVolumePermission { } // Describes modifications to the permissions for a volume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolumePermissionModifications +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolumePermissionModifications type CreateVolumePermissionModifications struct { _ struct{} `type:"structure"` @@ -27364,8 +29601,136 @@ func (s *CreateVolumePermissionModifications) SetRemove(v []*CreateVolumePermiss return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointConnectionNotificationRequest +type CreateVpcEndpointConnectionNotificationInput struct { + _ struct{} `type:"structure"` + + // Unique, case-sensitive identifier you provide to ensure the idempotency of + // the request. For more information, see How to Ensure Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string"` + + // One or more endpoint events for which to receive notifications. Valid values + // are Accept, Connect, Delete, and Reject. + // + // ConnectionEvents is a required field + ConnectionEvents []*string `locationNameList:"item" type:"list" required:"true"` + + // The ARN of the SNS topic for the notifications. + // + // ConnectionNotificationArn is a required field + ConnectionNotificationArn *string `type:"string" required:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the endpoint service. + ServiceId *string `type:"string"` + + // The ID of the endpoint. + VpcEndpointId *string `type:"string"` +} + +// String returns the string representation +func (s CreateVpcEndpointConnectionNotificationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateVpcEndpointConnectionNotificationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateVpcEndpointConnectionNotificationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateVpcEndpointConnectionNotificationInput"} + if s.ConnectionEvents == nil { + invalidParams.Add(request.NewErrParamRequired("ConnectionEvents")) + } + if s.ConnectionNotificationArn == nil { + invalidParams.Add(request.NewErrParamRequired("ConnectionNotificationArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateVpcEndpointConnectionNotificationInput) SetClientToken(v string) *CreateVpcEndpointConnectionNotificationInput { + s.ClientToken = &v + return s +} + +// SetConnectionEvents sets the ConnectionEvents field's value. +func (s *CreateVpcEndpointConnectionNotificationInput) SetConnectionEvents(v []*string) *CreateVpcEndpointConnectionNotificationInput { + s.ConnectionEvents = v + return s +} + +// SetConnectionNotificationArn sets the ConnectionNotificationArn field's value. +func (s *CreateVpcEndpointConnectionNotificationInput) SetConnectionNotificationArn(v string) *CreateVpcEndpointConnectionNotificationInput { + s.ConnectionNotificationArn = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CreateVpcEndpointConnectionNotificationInput) SetDryRun(v bool) *CreateVpcEndpointConnectionNotificationInput { + s.DryRun = &v + return s +} + +// SetServiceId sets the ServiceId field's value. +func (s *CreateVpcEndpointConnectionNotificationInput) SetServiceId(v string) *CreateVpcEndpointConnectionNotificationInput { + s.ServiceId = &v + return s +} + +// SetVpcEndpointId sets the VpcEndpointId field's value. +func (s *CreateVpcEndpointConnectionNotificationInput) SetVpcEndpointId(v string) *CreateVpcEndpointConnectionNotificationInput { + s.VpcEndpointId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointConnectionNotificationResult +type CreateVpcEndpointConnectionNotificationOutput struct { + _ struct{} `type:"structure"` + + // Unique, case-sensitive identifier you provide to ensure the idempotency of + // the request. + ClientToken *string `locationName:"clientToken" type:"string"` + + // Information about the notification. + ConnectionNotification *ConnectionNotification `locationName:"connectionNotification" type:"structure"` +} + +// String returns the string representation +func (s CreateVpcEndpointConnectionNotificationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateVpcEndpointConnectionNotificationOutput) GoString() string { + return s.String() +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateVpcEndpointConnectionNotificationOutput) SetClientToken(v string) *CreateVpcEndpointConnectionNotificationOutput { + s.ClientToken = &v + return s +} + +// SetConnectionNotification sets the ConnectionNotification field's value. +func (s *CreateVpcEndpointConnectionNotificationOutput) SetConnectionNotification(v *ConnectionNotification) *CreateVpcEndpointConnectionNotificationOutput { + s.ConnectionNotification = v + return s +} + // Contains the parameters for CreateVpcEndpoint. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointRequest type CreateVpcEndpointInput struct { _ struct{} `type:"structure"` @@ -27404,20 +29769,22 @@ type CreateVpcEndpointInput struct { RouteTableIds []*string `locationName:"RouteTableId" locationNameList:"item" type:"list"` // (Interface endpoint) The ID of one or more security groups to associate with - // the network interface. + // the endpoint network interface. SecurityGroupIds []*string `locationName:"SecurityGroupId" locationNameList:"item" type:"list"` - // The AWS service name, in the form com.amazonaws.region.service. To get a - // list of available services, use the DescribeVpcEndpointServices request. + // The service name. To get a list of available services, use the DescribeVpcEndpointServices + // request. // // ServiceName is a required field ServiceName *string `type:"string" required:"true"` - // (Interface endpoint) The ID of one or more subnets in which to create a network - // interface for the endpoint. + // (Interface endpoint) The ID of one or more subnets in which to create an + // endpoint network interface. SubnetIds []*string `locationName:"SubnetId" locationNameList:"item" type:"list"` - // The type of endpoint. If not specified, the default is a gateway endpoint. + // The type of endpoint. + // + // Default: Gateway VpcEndpointType *string `type:"string" enum:"VpcEndpointType"` // The ID of the VPC in which the endpoint will be used. @@ -27513,7 +29880,7 @@ func (s *CreateVpcEndpointInput) SetVpcId(v string) *CreateVpcEndpointInput { } // Contains the output of CreateVpcEndpoint. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointResult type CreateVpcEndpointOutput struct { _ struct{} `type:"structure"` @@ -27547,8 +29914,114 @@ func (s *CreateVpcEndpointOutput) SetVpcEndpoint(v *VpcEndpoint) *CreateVpcEndpo return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointServiceConfigurationRequest +type CreateVpcEndpointServiceConfigurationInput struct { + _ struct{} `type:"structure"` + + // Indicate whether requests from service consumers to create an endpoint to + // your service must be accepted. To accept a request, use AcceptVpcEndpointConnections. + AcceptanceRequired *bool `type:"boolean"` + + // Unique, case-sensitive identifier you provide to ensure the idempotency of + // the request. For more information, see How to Ensure Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html). + ClientToken *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The Amazon Resource Names (ARNs) of one or more Network Load Balancers for + // your service. + // + // NetworkLoadBalancerArns is a required field + NetworkLoadBalancerArns []*string `locationName:"NetworkLoadBalancerArn" locationNameList:"item" type:"list" required:"true"` +} + +// String returns the string representation +func (s CreateVpcEndpointServiceConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateVpcEndpointServiceConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateVpcEndpointServiceConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateVpcEndpointServiceConfigurationInput"} + if s.NetworkLoadBalancerArns == nil { + invalidParams.Add(request.NewErrParamRequired("NetworkLoadBalancerArns")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAcceptanceRequired sets the AcceptanceRequired field's value. +func (s *CreateVpcEndpointServiceConfigurationInput) SetAcceptanceRequired(v bool) *CreateVpcEndpointServiceConfigurationInput { + s.AcceptanceRequired = &v + return s +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateVpcEndpointServiceConfigurationInput) SetClientToken(v string) *CreateVpcEndpointServiceConfigurationInput { + s.ClientToken = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CreateVpcEndpointServiceConfigurationInput) SetDryRun(v bool) *CreateVpcEndpointServiceConfigurationInput { + s.DryRun = &v + return s +} + +// SetNetworkLoadBalancerArns sets the NetworkLoadBalancerArns field's value. +func (s *CreateVpcEndpointServiceConfigurationInput) SetNetworkLoadBalancerArns(v []*string) *CreateVpcEndpointServiceConfigurationInput { + s.NetworkLoadBalancerArns = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointServiceConfigurationResult +type CreateVpcEndpointServiceConfigurationOutput struct { + _ struct{} `type:"structure"` + + // Unique, case-sensitive identifier you provide to ensure the idempotency of + // the request. + ClientToken *string `locationName:"clientToken" type:"string"` + + // Information about the service configuration. + ServiceConfiguration *ServiceConfiguration `locationName:"serviceConfiguration" type:"structure"` +} + +// String returns the string representation +func (s CreateVpcEndpointServiceConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateVpcEndpointServiceConfigurationOutput) GoString() string { + return s.String() +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateVpcEndpointServiceConfigurationOutput) SetClientToken(v string) *CreateVpcEndpointServiceConfigurationOutput { + s.ClientToken = &v + return s +} + +// SetServiceConfiguration sets the ServiceConfiguration field's value. +func (s *CreateVpcEndpointServiceConfigurationOutput) SetServiceConfiguration(v *ServiceConfiguration) *CreateVpcEndpointServiceConfigurationOutput { + s.ServiceConfiguration = v + return s +} + // Contains the parameters for CreateVpc. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcRequest type CreateVpcInput struct { _ struct{} `type:"structure"` @@ -27629,7 +30102,7 @@ func (s *CreateVpcInput) SetInstanceTenancy(v string) *CreateVpcInput { } // Contains the output of CreateVpc. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcResult type CreateVpcOutput struct { _ struct{} `type:"structure"` @@ -27654,7 +30127,7 @@ func (s *CreateVpcOutput) SetVpc(v *Vpc) *CreateVpcOutput { } // Contains the parameters for CreateVpcPeeringConnection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnectionRequest type CreateVpcPeeringConnectionInput struct { _ struct{} `type:"structure"` @@ -27664,15 +30137,22 @@ type CreateVpcPeeringConnectionInput struct { // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - // The AWS account ID of the owner of the peer VPC. + // The AWS account ID of the owner of the accepter VPC. // // Default: Your AWS account ID PeerOwnerId *string `locationName:"peerOwnerId" type:"string"` + // The region code for the accepter VPC, if the accepter VPC is located in a + // region other than the region in which you make the request. + // + // Default: The region in which you make the request. + PeerRegion *string `type:"string"` + // The ID of the VPC with which you are creating the VPC peering connection. + // You must specify this parameter in the request. PeerVpcId *string `locationName:"peerVpcId" type:"string"` - // The ID of the requester VPC. + // The ID of the requester VPC. You must specify this parameter in the request. VpcId *string `locationName:"vpcId" type:"string"` } @@ -27698,6 +30178,12 @@ func (s *CreateVpcPeeringConnectionInput) SetPeerOwnerId(v string) *CreateVpcPee return s } +// SetPeerRegion sets the PeerRegion field's value. +func (s *CreateVpcPeeringConnectionInput) SetPeerRegion(v string) *CreateVpcPeeringConnectionInput { + s.PeerRegion = &v + return s +} + // SetPeerVpcId sets the PeerVpcId field's value. func (s *CreateVpcPeeringConnectionInput) SetPeerVpcId(v string) *CreateVpcPeeringConnectionInput { s.PeerVpcId = &v @@ -27711,7 +30197,7 @@ func (s *CreateVpcPeeringConnectionInput) SetVpcId(v string) *CreateVpcPeeringCo } // Contains the output of CreateVpcPeeringConnection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnectionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnectionResult type CreateVpcPeeringConnectionOutput struct { _ struct{} `type:"structure"` @@ -27736,7 +30222,7 @@ func (s *CreateVpcPeeringConnectionOutput) SetVpcPeeringConnection(v *VpcPeering } // Contains the parameters for CreateVpnConnection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRequest type CreateVpnConnectionInput struct { _ struct{} `type:"structure"` @@ -27825,7 +30311,7 @@ func (s *CreateVpnConnectionInput) SetVpnGatewayId(v string) *CreateVpnConnectio } // Contains the output of CreateVpnConnection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionResult type CreateVpnConnectionOutput struct { _ struct{} `type:"structure"` @@ -27850,7 +30336,7 @@ func (s *CreateVpnConnectionOutput) SetVpnConnection(v *VpnConnection) *CreateVp } // Contains the parameters for CreateVpnConnectionRoute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRouteRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRouteRequest type CreateVpnConnectionRouteInput struct { _ struct{} `type:"structure"` @@ -27903,7 +30389,7 @@ func (s *CreateVpnConnectionRouteInput) SetVpnConnectionId(v string) *CreateVpnC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRouteOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRouteOutput type CreateVpnConnectionRouteOutput struct { _ struct{} `type:"structure"` } @@ -27919,7 +30405,7 @@ func (s CreateVpnConnectionRouteOutput) GoString() string { } // Contains the parameters for CreateVpnGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnGatewayRequest type CreateVpnGatewayInput struct { _ struct{} `type:"structure"` @@ -27993,7 +30479,7 @@ func (s *CreateVpnGatewayInput) SetType(v string) *CreateVpnGatewayInput { } // Contains the output of CreateVpnGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnGatewayResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnGatewayResult type CreateVpnGatewayOutput struct { _ struct{} `type:"structure"` @@ -28017,8 +30503,74 @@ func (s *CreateVpnGatewayOutput) SetVpnGateway(v *VpnGateway) *CreateVpnGatewayO return s } +// Describes the credit option for CPU usage of a T2 instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreditSpecification +type CreditSpecification struct { + _ struct{} `type:"structure"` + + // The credit option for CPU usage of a T2 instance. + CpuCredits *string `locationName:"cpuCredits" type:"string"` +} + +// String returns the string representation +func (s CreditSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreditSpecification) GoString() string { + return s.String() +} + +// SetCpuCredits sets the CpuCredits field's value. +func (s *CreditSpecification) SetCpuCredits(v string) *CreditSpecification { + s.CpuCredits = &v + return s +} + +// The credit option for CPU usage of a T2 instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreditSpecificationRequest +type CreditSpecificationRequest struct { + _ struct{} `type:"structure"` + + // The credit option for CPU usage of a T2 instance. Valid values are standard + // and unlimited. + // + // CpuCredits is a required field + CpuCredits *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s CreditSpecificationRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreditSpecificationRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreditSpecificationRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreditSpecificationRequest"} + if s.CpuCredits == nil { + invalidParams.Add(request.NewErrParamRequired("CpuCredits")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCpuCredits sets the CpuCredits field's value. +func (s *CreditSpecificationRequest) SetCpuCredits(v string) *CreditSpecificationRequest { + s.CpuCredits = &v + return s +} + // Describes a customer gateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CustomerGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CustomerGateway type CustomerGateway struct { _ struct{} `type:"structure"` @@ -28090,7 +30642,7 @@ func (s *CustomerGateway) SetType(v string) *CustomerGateway { } // Contains the parameters for DeleteCustomerGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCustomerGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCustomerGatewayRequest type DeleteCustomerGatewayInput struct { _ struct{} `type:"structure"` @@ -28141,7 +30693,7 @@ func (s *DeleteCustomerGatewayInput) SetDryRun(v bool) *DeleteCustomerGatewayInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCustomerGatewayOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCustomerGatewayOutput type DeleteCustomerGatewayOutput struct { _ struct{} `type:"structure"` } @@ -28157,7 +30709,7 @@ func (s DeleteCustomerGatewayOutput) GoString() string { } // Contains the parameters for DeleteDhcpOptions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteDhcpOptionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteDhcpOptionsRequest type DeleteDhcpOptionsInput struct { _ struct{} `type:"structure"` @@ -28208,7 +30760,7 @@ func (s *DeleteDhcpOptionsInput) SetDryRun(v bool) *DeleteDhcpOptionsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteDhcpOptionsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteDhcpOptionsOutput type DeleteDhcpOptionsOutput struct { _ struct{} `type:"structure"` } @@ -28223,7 +30775,7 @@ func (s DeleteDhcpOptionsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteEgressOnlyInternetGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteEgressOnlyInternetGatewayRequest type DeleteEgressOnlyInternetGatewayInput struct { _ struct{} `type:"structure"` @@ -28274,7 +30826,7 @@ func (s *DeleteEgressOnlyInternetGatewayInput) SetEgressOnlyInternetGatewayId(v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteEgressOnlyInternetGatewayResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteEgressOnlyInternetGatewayResult type DeleteEgressOnlyInternetGatewayOutput struct { _ struct{} `type:"structure"` @@ -28299,7 +30851,7 @@ func (s *DeleteEgressOnlyInternetGatewayOutput) SetReturnCode(v bool) *DeleteEgr } // Contains the parameters for DeleteFlowLogs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFlowLogsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFlowLogsRequest type DeleteFlowLogsInput struct { _ struct{} `type:"structure"` @@ -28339,7 +30891,7 @@ func (s *DeleteFlowLogsInput) SetFlowLogIds(v []*string) *DeleteFlowLogsInput { } // Contains the output of DeleteFlowLogs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFlowLogsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFlowLogsResult type DeleteFlowLogsOutput struct { _ struct{} `type:"structure"` @@ -28363,7 +30915,7 @@ func (s *DeleteFlowLogsOutput) SetUnsuccessful(v []*UnsuccessfulItem) *DeleteFlo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImageRequest type DeleteFpgaImageInput struct { _ struct{} `type:"structure"` @@ -28414,7 +30966,7 @@ func (s *DeleteFpgaImageInput) SetFpgaImageId(v string) *DeleteFpgaImageInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImageResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImageResult type DeleteFpgaImageOutput struct { _ struct{} `type:"structure"` @@ -28439,7 +30991,7 @@ func (s *DeleteFpgaImageOutput) SetReturn(v bool) *DeleteFpgaImageOutput { } // Contains the parameters for DeleteInternetGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInternetGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInternetGatewayRequest type DeleteInternetGatewayInput struct { _ struct{} `type:"structure"` @@ -28490,7 +31042,7 @@ func (s *DeleteInternetGatewayInput) SetInternetGatewayId(v string) *DeleteInter return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInternetGatewayOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInternetGatewayOutput type DeleteInternetGatewayOutput struct { _ struct{} `type:"structure"` } @@ -28506,7 +31058,7 @@ func (s DeleteInternetGatewayOutput) GoString() string { } // Contains the parameters for DeleteKeyPair. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPairRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPairRequest type DeleteKeyPairInput struct { _ struct{} `type:"structure"` @@ -28557,7 +31109,7 @@ func (s *DeleteKeyPairInput) SetKeyName(v string) *DeleteKeyPairInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPairOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPairOutput type DeleteKeyPairOutput struct { _ struct{} `type:"structure"` } @@ -28572,8 +31124,294 @@ func (s DeleteKeyPairOutput) GoString() string { return s.String() } +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateRequest +type DeleteLaunchTemplateInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the launch template. You must specify either the launch template + // ID or launch template name in the request. + LaunchTemplateId *string `type:"string"` + + // The name of the launch template. You must specify either the launch template + // ID or launch template name in the request. + LaunchTemplateName *string `min:"3" type:"string"` +} + +// String returns the string representation +func (s DeleteLaunchTemplateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteLaunchTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteLaunchTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteLaunchTemplateInput"} + if s.LaunchTemplateName != nil && len(*s.LaunchTemplateName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DeleteLaunchTemplateInput) SetDryRun(v bool) *DeleteLaunchTemplateInput { + s.DryRun = &v + return s +} + +// SetLaunchTemplateId sets the LaunchTemplateId field's value. +func (s *DeleteLaunchTemplateInput) SetLaunchTemplateId(v string) *DeleteLaunchTemplateInput { + s.LaunchTemplateId = &v + return s +} + +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *DeleteLaunchTemplateInput) SetLaunchTemplateName(v string) *DeleteLaunchTemplateInput { + s.LaunchTemplateName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateResult +type DeleteLaunchTemplateOutput struct { + _ struct{} `type:"structure"` + + // Information about the launch template. + LaunchTemplate *LaunchTemplate `locationName:"launchTemplate" type:"structure"` +} + +// String returns the string representation +func (s DeleteLaunchTemplateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteLaunchTemplateOutput) GoString() string { + return s.String() +} + +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *DeleteLaunchTemplateOutput) SetLaunchTemplate(v *LaunchTemplate) *DeleteLaunchTemplateOutput { + s.LaunchTemplate = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateVersionsRequest +type DeleteLaunchTemplateVersionsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the launch template. You must specify either the launch template + // ID or launch template name in the request. + LaunchTemplateId *string `type:"string"` + + // The name of the launch template. You must specify either the launch template + // ID or launch template name in the request. + LaunchTemplateName *string `min:"3" type:"string"` + + // The version numbers of one or more launch template versions to delete. + // + // Versions is a required field + Versions []*string `locationName:"LaunchTemplateVersion" locationNameList:"item" type:"list" required:"true"` +} + +// String returns the string representation +func (s DeleteLaunchTemplateVersionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteLaunchTemplateVersionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteLaunchTemplateVersionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteLaunchTemplateVersionsInput"} + if s.LaunchTemplateName != nil && len(*s.LaunchTemplateName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateName", 3)) + } + if s.Versions == nil { + invalidParams.Add(request.NewErrParamRequired("Versions")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DeleteLaunchTemplateVersionsInput) SetDryRun(v bool) *DeleteLaunchTemplateVersionsInput { + s.DryRun = &v + return s +} + +// SetLaunchTemplateId sets the LaunchTemplateId field's value. +func (s *DeleteLaunchTemplateVersionsInput) SetLaunchTemplateId(v string) *DeleteLaunchTemplateVersionsInput { + s.LaunchTemplateId = &v + return s +} + +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *DeleteLaunchTemplateVersionsInput) SetLaunchTemplateName(v string) *DeleteLaunchTemplateVersionsInput { + s.LaunchTemplateName = &v + return s +} + +// SetVersions sets the Versions field's value. +func (s *DeleteLaunchTemplateVersionsInput) SetVersions(v []*string) *DeleteLaunchTemplateVersionsInput { + s.Versions = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateVersionsResult +type DeleteLaunchTemplateVersionsOutput struct { + _ struct{} `type:"structure"` + + // Information about the launch template versions that were successfully deleted. + SuccessfullyDeletedLaunchTemplateVersions []*DeleteLaunchTemplateVersionsResponseSuccessItem `locationName:"successfullyDeletedLaunchTemplateVersionSet" locationNameList:"item" type:"list"` + + // Information about the launch template versions that could not be deleted. + UnsuccessfullyDeletedLaunchTemplateVersions []*DeleteLaunchTemplateVersionsResponseErrorItem `locationName:"unsuccessfullyDeletedLaunchTemplateVersionSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s DeleteLaunchTemplateVersionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteLaunchTemplateVersionsOutput) GoString() string { + return s.String() +} + +// SetSuccessfullyDeletedLaunchTemplateVersions sets the SuccessfullyDeletedLaunchTemplateVersions field's value. +func (s *DeleteLaunchTemplateVersionsOutput) SetSuccessfullyDeletedLaunchTemplateVersions(v []*DeleteLaunchTemplateVersionsResponseSuccessItem) *DeleteLaunchTemplateVersionsOutput { + s.SuccessfullyDeletedLaunchTemplateVersions = v + return s +} + +// SetUnsuccessfullyDeletedLaunchTemplateVersions sets the UnsuccessfullyDeletedLaunchTemplateVersions field's value. +func (s *DeleteLaunchTemplateVersionsOutput) SetUnsuccessfullyDeletedLaunchTemplateVersions(v []*DeleteLaunchTemplateVersionsResponseErrorItem) *DeleteLaunchTemplateVersionsOutput { + s.UnsuccessfullyDeletedLaunchTemplateVersions = v + return s +} + +// Describes a launch template version that could not be deleted. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateVersionsResponseErrorItem +type DeleteLaunchTemplateVersionsResponseErrorItem struct { + _ struct{} `type:"structure"` + + // The ID of the launch template. + LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"` + + // The name of the launch template. + LaunchTemplateName *string `locationName:"launchTemplateName" type:"string"` + + // Information about the error. + ResponseError *ResponseError `locationName:"responseError" type:"structure"` + + // The version number of the launch template. + VersionNumber *int64 `locationName:"versionNumber" type:"long"` +} + +// String returns the string representation +func (s DeleteLaunchTemplateVersionsResponseErrorItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteLaunchTemplateVersionsResponseErrorItem) GoString() string { + return s.String() +} + +// SetLaunchTemplateId sets the LaunchTemplateId field's value. +func (s *DeleteLaunchTemplateVersionsResponseErrorItem) SetLaunchTemplateId(v string) *DeleteLaunchTemplateVersionsResponseErrorItem { + s.LaunchTemplateId = &v + return s +} + +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *DeleteLaunchTemplateVersionsResponseErrorItem) SetLaunchTemplateName(v string) *DeleteLaunchTemplateVersionsResponseErrorItem { + s.LaunchTemplateName = &v + return s +} + +// SetResponseError sets the ResponseError field's value. +func (s *DeleteLaunchTemplateVersionsResponseErrorItem) SetResponseError(v *ResponseError) *DeleteLaunchTemplateVersionsResponseErrorItem { + s.ResponseError = v + return s +} + +// SetVersionNumber sets the VersionNumber field's value. +func (s *DeleteLaunchTemplateVersionsResponseErrorItem) SetVersionNumber(v int64) *DeleteLaunchTemplateVersionsResponseErrorItem { + s.VersionNumber = &v + return s +} + +// Describes a launch template version that was successfully deleted. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateVersionsResponseSuccessItem +type DeleteLaunchTemplateVersionsResponseSuccessItem struct { + _ struct{} `type:"structure"` + + // The ID of the launch template. + LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"` + + // The name of the launch template. + LaunchTemplateName *string `locationName:"launchTemplateName" type:"string"` + + // The version number of the launch template. + VersionNumber *int64 `locationName:"versionNumber" type:"long"` +} + +// String returns the string representation +func (s DeleteLaunchTemplateVersionsResponseSuccessItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteLaunchTemplateVersionsResponseSuccessItem) GoString() string { + return s.String() +} + +// SetLaunchTemplateId sets the LaunchTemplateId field's value. +func (s *DeleteLaunchTemplateVersionsResponseSuccessItem) SetLaunchTemplateId(v string) *DeleteLaunchTemplateVersionsResponseSuccessItem { + s.LaunchTemplateId = &v + return s +} + +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *DeleteLaunchTemplateVersionsResponseSuccessItem) SetLaunchTemplateName(v string) *DeleteLaunchTemplateVersionsResponseSuccessItem { + s.LaunchTemplateName = &v + return s +} + +// SetVersionNumber sets the VersionNumber field's value. +func (s *DeleteLaunchTemplateVersionsResponseSuccessItem) SetVersionNumber(v int64) *DeleteLaunchTemplateVersionsResponseSuccessItem { + s.VersionNumber = &v + return s +} + // Contains the parameters for DeleteNatGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNatGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNatGatewayRequest type DeleteNatGatewayInput struct { _ struct{} `type:"structure"` @@ -28613,7 +31451,7 @@ func (s *DeleteNatGatewayInput) SetNatGatewayId(v string) *DeleteNatGatewayInput } // Contains the output of DeleteNatGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNatGatewayResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNatGatewayResult type DeleteNatGatewayOutput struct { _ struct{} `type:"structure"` @@ -28638,7 +31476,7 @@ func (s *DeleteNatGatewayOutput) SetNatGatewayId(v string) *DeleteNatGatewayOutp } // Contains the parameters for DeleteNetworkAclEntry. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclEntryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclEntryRequest type DeleteNetworkAclEntryInput struct { _ struct{} `type:"structure"` @@ -28717,7 +31555,7 @@ func (s *DeleteNetworkAclEntryInput) SetRuleNumber(v int64) *DeleteNetworkAclEnt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclEntryOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclEntryOutput type DeleteNetworkAclEntryOutput struct { _ struct{} `type:"structure"` } @@ -28733,7 +31571,7 @@ func (s DeleteNetworkAclEntryOutput) GoString() string { } // Contains the parameters for DeleteNetworkAcl. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclRequest type DeleteNetworkAclInput struct { _ struct{} `type:"structure"` @@ -28784,7 +31622,7 @@ func (s *DeleteNetworkAclInput) SetNetworkAclId(v string) *DeleteNetworkAclInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclOutput type DeleteNetworkAclOutput struct { _ struct{} `type:"structure"` } @@ -28800,7 +31638,7 @@ func (s DeleteNetworkAclOutput) GoString() string { } // Contains the parameters for DeleteNetworkInterface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfaceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfaceRequest type DeleteNetworkInterfaceInput struct { _ struct{} `type:"structure"` @@ -28851,7 +31689,7 @@ func (s *DeleteNetworkInterfaceInput) SetNetworkInterfaceId(v string) *DeleteNet return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfaceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfaceOutput type DeleteNetworkInterfaceOutput struct { _ struct{} `type:"structure"` } @@ -28867,7 +31705,7 @@ func (s DeleteNetworkInterfaceOutput) GoString() string { } // Contains the parameters for DeleteNetworkInterfacePermission. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermissionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermissionRequest type DeleteNetworkInterfacePermissionInput struct { _ struct{} `type:"structure"` @@ -28929,7 +31767,7 @@ func (s *DeleteNetworkInterfacePermissionInput) SetNetworkInterfacePermissionId( } // Contains the output for DeleteNetworkInterfacePermission. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermissionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermissionResult type DeleteNetworkInterfacePermissionOutput struct { _ struct{} `type:"structure"` @@ -28954,7 +31792,7 @@ func (s *DeleteNetworkInterfacePermissionOutput) SetReturn(v bool) *DeleteNetwor } // Contains the parameters for DeletePlacementGroup. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePlacementGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePlacementGroupRequest type DeletePlacementGroupInput struct { _ struct{} `type:"structure"` @@ -29005,7 +31843,7 @@ func (s *DeletePlacementGroupInput) SetGroupName(v string) *DeletePlacementGroup return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePlacementGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePlacementGroupOutput type DeletePlacementGroupOutput struct { _ struct{} `type:"structure"` } @@ -29021,7 +31859,7 @@ func (s DeletePlacementGroupOutput) GoString() string { } // Contains the parameters for DeleteRoute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteRequest type DeleteRouteInput struct { _ struct{} `type:"structure"` @@ -29092,7 +31930,7 @@ func (s *DeleteRouteInput) SetRouteTableId(v string) *DeleteRouteInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteOutput type DeleteRouteOutput struct { _ struct{} `type:"structure"` } @@ -29108,7 +31946,7 @@ func (s DeleteRouteOutput) GoString() string { } // Contains the parameters for DeleteRouteTable. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteTableRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteTableRequest type DeleteRouteTableInput struct { _ struct{} `type:"structure"` @@ -29159,7 +31997,7 @@ func (s *DeleteRouteTableInput) SetRouteTableId(v string) *DeleteRouteTableInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteTableOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteTableOutput type DeleteRouteTableOutput struct { _ struct{} `type:"structure"` } @@ -29175,7 +32013,7 @@ func (s DeleteRouteTableOutput) GoString() string { } // Contains the parameters for DeleteSecurityGroup. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroupRequest type DeleteSecurityGroupInput struct { _ struct{} `type:"structure"` @@ -29221,7 +32059,7 @@ func (s *DeleteSecurityGroupInput) SetGroupName(v string) *DeleteSecurityGroupIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroupOutput type DeleteSecurityGroupOutput struct { _ struct{} `type:"structure"` } @@ -29237,7 +32075,7 @@ func (s DeleteSecurityGroupOutput) GoString() string { } // Contains the parameters for DeleteSnapshot. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSnapshotRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSnapshotRequest type DeleteSnapshotInput struct { _ struct{} `type:"structure"` @@ -29288,7 +32126,7 @@ func (s *DeleteSnapshotInput) SetSnapshotId(v string) *DeleteSnapshotInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSnapshotOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSnapshotOutput type DeleteSnapshotOutput struct { _ struct{} `type:"structure"` } @@ -29304,7 +32142,7 @@ func (s DeleteSnapshotOutput) GoString() string { } // Contains the parameters for DeleteSpotDatafeedSubscription. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSpotDatafeedSubscriptionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSpotDatafeedSubscriptionRequest type DeleteSpotDatafeedSubscriptionInput struct { _ struct{} `type:"structure"` @@ -29331,7 +32169,7 @@ func (s *DeleteSpotDatafeedSubscriptionInput) SetDryRun(v bool) *DeleteSpotDataf return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSpotDatafeedSubscriptionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSpotDatafeedSubscriptionOutput type DeleteSpotDatafeedSubscriptionOutput struct { _ struct{} `type:"structure"` } @@ -29347,7 +32185,7 @@ func (s DeleteSpotDatafeedSubscriptionOutput) GoString() string { } // Contains the parameters for DeleteSubnet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnetRequest type DeleteSubnetInput struct { _ struct{} `type:"structure"` @@ -29398,7 +32236,7 @@ func (s *DeleteSubnetInput) SetSubnetId(v string) *DeleteSubnetInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnetOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnetOutput type DeleteSubnetOutput struct { _ struct{} `type:"structure"` } @@ -29414,7 +32252,7 @@ func (s DeleteSubnetOutput) GoString() string { } // Contains the parameters for DeleteTags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTagsRequest type DeleteTagsInput struct { _ struct{} `type:"structure"` @@ -29479,7 +32317,7 @@ func (s *DeleteTagsInput) SetTags(v []*Tag) *DeleteTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTagsOutput type DeleteTagsOutput struct { _ struct{} `type:"structure"` } @@ -29495,7 +32333,7 @@ func (s DeleteTagsOutput) GoString() string { } // Contains the parameters for DeleteVolume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVolumeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVolumeRequest type DeleteVolumeInput struct { _ struct{} `type:"structure"` @@ -29546,7 +32384,7 @@ func (s *DeleteVolumeInput) SetVolumeId(v string) *DeleteVolumeInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVolumeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVolumeOutput type DeleteVolumeOutput struct { _ struct{} `type:"structure"` } @@ -29561,8 +32399,158 @@ func (s DeleteVolumeOutput) GoString() string { return s.String() } +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointConnectionNotificationsRequest +type DeleteVpcEndpointConnectionNotificationsInput struct { + _ struct{} `type:"structure"` + + // One or more notification IDs. + // + // ConnectionNotificationIds is a required field + ConnectionNotificationIds []*string `locationName:"ConnectionNotificationId" locationNameList:"item" type:"list" required:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` +} + +// String returns the string representation +func (s DeleteVpcEndpointConnectionNotificationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteVpcEndpointConnectionNotificationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteVpcEndpointConnectionNotificationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteVpcEndpointConnectionNotificationsInput"} + if s.ConnectionNotificationIds == nil { + invalidParams.Add(request.NewErrParamRequired("ConnectionNotificationIds")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConnectionNotificationIds sets the ConnectionNotificationIds field's value. +func (s *DeleteVpcEndpointConnectionNotificationsInput) SetConnectionNotificationIds(v []*string) *DeleteVpcEndpointConnectionNotificationsInput { + s.ConnectionNotificationIds = v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *DeleteVpcEndpointConnectionNotificationsInput) SetDryRun(v bool) *DeleteVpcEndpointConnectionNotificationsInput { + s.DryRun = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointConnectionNotificationsResult +type DeleteVpcEndpointConnectionNotificationsOutput struct { + _ struct{} `type:"structure"` + + // Information about the notifications that could not be deleted successfully. + Unsuccessful []*UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s DeleteVpcEndpointConnectionNotificationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteVpcEndpointConnectionNotificationsOutput) GoString() string { + return s.String() +} + +// SetUnsuccessful sets the Unsuccessful field's value. +func (s *DeleteVpcEndpointConnectionNotificationsOutput) SetUnsuccessful(v []*UnsuccessfulItem) *DeleteVpcEndpointConnectionNotificationsOutput { + s.Unsuccessful = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointServiceConfigurationsRequest +type DeleteVpcEndpointServiceConfigurationsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The IDs of one or more services. + // + // ServiceIds is a required field + ServiceIds []*string `locationName:"ServiceId" locationNameList:"item" type:"list" required:"true"` +} + +// String returns the string representation +func (s DeleteVpcEndpointServiceConfigurationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteVpcEndpointServiceConfigurationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteVpcEndpointServiceConfigurationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteVpcEndpointServiceConfigurationsInput"} + if s.ServiceIds == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceIds")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DeleteVpcEndpointServiceConfigurationsInput) SetDryRun(v bool) *DeleteVpcEndpointServiceConfigurationsInput { + s.DryRun = &v + return s +} + +// SetServiceIds sets the ServiceIds field's value. +func (s *DeleteVpcEndpointServiceConfigurationsInput) SetServiceIds(v []*string) *DeleteVpcEndpointServiceConfigurationsInput { + s.ServiceIds = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointServiceConfigurationsResult +type DeleteVpcEndpointServiceConfigurationsOutput struct { + _ struct{} `type:"structure"` + + // Information about the service configurations that were not deleted, if applicable. + Unsuccessful []*UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s DeleteVpcEndpointServiceConfigurationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteVpcEndpointServiceConfigurationsOutput) GoString() string { + return s.String() +} + +// SetUnsuccessful sets the Unsuccessful field's value. +func (s *DeleteVpcEndpointServiceConfigurationsOutput) SetUnsuccessful(v []*UnsuccessfulItem) *DeleteVpcEndpointServiceConfigurationsOutput { + s.Unsuccessful = v + return s +} + // Contains the parameters for DeleteVpcEndpoints. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointsRequest type DeleteVpcEndpointsInput struct { _ struct{} `type:"structure"` @@ -29572,7 +32560,7 @@ type DeleteVpcEndpointsInput struct { // it is UnauthorizedOperation. DryRun *bool `type:"boolean"` - // One or more endpoint IDs. + // One or more VPC endpoint IDs. // // VpcEndpointIds is a required field VpcEndpointIds []*string `locationName:"VpcEndpointId" locationNameList:"item" type:"list" required:"true"` @@ -29614,11 +32602,11 @@ func (s *DeleteVpcEndpointsInput) SetVpcEndpointIds(v []*string) *DeleteVpcEndpo } // Contains the output of DeleteVpcEndpoints. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointsResult type DeleteVpcEndpointsOutput struct { _ struct{} `type:"structure"` - // Information about the endpoints that were not successfully deleted. + // Information about the VPC endpoints that were not successfully deleted. Unsuccessful []*UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` } @@ -29639,7 +32627,7 @@ func (s *DeleteVpcEndpointsOutput) SetUnsuccessful(v []*UnsuccessfulItem) *Delet } // Contains the parameters for DeleteVpc. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcRequest type DeleteVpcInput struct { _ struct{} `type:"structure"` @@ -29690,7 +32678,7 @@ func (s *DeleteVpcInput) SetVpcId(v string) *DeleteVpcInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcOutput type DeleteVpcOutput struct { _ struct{} `type:"structure"` } @@ -29706,7 +32694,7 @@ func (s DeleteVpcOutput) GoString() string { } // Contains the parameters for DeleteVpcPeeringConnection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcPeeringConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcPeeringConnectionRequest type DeleteVpcPeeringConnectionInput struct { _ struct{} `type:"structure"` @@ -29758,7 +32746,7 @@ func (s *DeleteVpcPeeringConnectionInput) SetVpcPeeringConnectionId(v string) *D } // Contains the output of DeleteVpcPeeringConnection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcPeeringConnectionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcPeeringConnectionResult type DeleteVpcPeeringConnectionOutput struct { _ struct{} `type:"structure"` @@ -29783,7 +32771,7 @@ func (s *DeleteVpcPeeringConnectionOutput) SetReturn(v bool) *DeleteVpcPeeringCo } // Contains the parameters for DeleteVpnConnection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionRequest type DeleteVpnConnectionInput struct { _ struct{} `type:"structure"` @@ -29834,7 +32822,7 @@ func (s *DeleteVpnConnectionInput) SetVpnConnectionId(v string) *DeleteVpnConnec return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionOutput type DeleteVpnConnectionOutput struct { _ struct{} `type:"structure"` } @@ -29850,7 +32838,7 @@ func (s DeleteVpnConnectionOutput) GoString() string { } // Contains the parameters for DeleteVpnConnectionRoute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionRouteRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionRouteRequest type DeleteVpnConnectionRouteInput struct { _ struct{} `type:"structure"` @@ -29903,7 +32891,7 @@ func (s *DeleteVpnConnectionRouteInput) SetVpnConnectionId(v string) *DeleteVpnC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionRouteOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionRouteOutput type DeleteVpnConnectionRouteOutput struct { _ struct{} `type:"structure"` } @@ -29919,7 +32907,7 @@ func (s DeleteVpnConnectionRouteOutput) GoString() string { } // Contains the parameters for DeleteVpnGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnGatewayRequest type DeleteVpnGatewayInput struct { _ struct{} `type:"structure"` @@ -29970,7 +32958,7 @@ func (s *DeleteVpnGatewayInput) SetVpnGatewayId(v string) *DeleteVpnGatewayInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnGatewayOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnGatewayOutput type DeleteVpnGatewayOutput struct { _ struct{} `type:"structure"` } @@ -29986,7 +32974,7 @@ func (s DeleteVpnGatewayOutput) GoString() string { } // Contains the parameters for DeregisterImage. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImageRequest type DeregisterImageInput struct { _ struct{} `type:"structure"` @@ -30037,7 +33025,7 @@ func (s *DeregisterImageInput) SetImageId(v string) *DeregisterImageInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImageOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImageOutput type DeregisterImageOutput struct { _ struct{} `type:"structure"` } @@ -30053,7 +33041,7 @@ func (s DeregisterImageOutput) GoString() string { } // Contains the parameters for DescribeAccountAttributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAccountAttributesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAccountAttributesRequest type DescribeAccountAttributesInput struct { _ struct{} `type:"structure"` @@ -30090,7 +33078,7 @@ func (s *DescribeAccountAttributesInput) SetDryRun(v bool) *DescribeAccountAttri } // Contains the output of DescribeAccountAttributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAccountAttributesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAccountAttributesResult type DescribeAccountAttributesOutput struct { _ struct{} `type:"structure"` @@ -30115,7 +33103,7 @@ func (s *DescribeAccountAttributesOutput) SetAccountAttributes(v []*AccountAttri } // Contains the parameters for DescribeAddresses. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesRequest type DescribeAddressesInput struct { _ struct{} `type:"structure"` @@ -30194,7 +33182,7 @@ func (s *DescribeAddressesInput) SetPublicIps(v []*string) *DescribeAddressesInp } // Contains the output of DescribeAddresses. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesResult type DescribeAddressesOutput struct { _ struct{} `type:"structure"` @@ -30219,7 +33207,7 @@ func (s *DescribeAddressesOutput) SetAddresses(v []*Address) *DescribeAddressesO } // Contains the parameters for DescribeAvailabilityZones. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZonesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZonesRequest type DescribeAvailabilityZonesInput struct { _ struct{} `type:"structure"` @@ -30275,7 +33263,7 @@ func (s *DescribeAvailabilityZonesInput) SetZoneNames(v []*string) *DescribeAvai } // Contains the output of DescribeAvailabiltyZones. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZonesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZonesResult type DescribeAvailabilityZonesOutput struct { _ struct{} `type:"structure"` @@ -30300,7 +33288,7 @@ func (s *DescribeAvailabilityZonesOutput) SetAvailabilityZones(v []*Availability } // Contains the parameters for DescribeBundleTasks. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeBundleTasksRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeBundleTasksRequest type DescribeBundleTasksInput struct { _ struct{} `type:"structure"` @@ -30370,7 +33358,7 @@ func (s *DescribeBundleTasksInput) SetFilters(v []*Filter) *DescribeBundleTasksI } // Contains the output of DescribeBundleTasks. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeBundleTasksResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeBundleTasksResult type DescribeBundleTasksOutput struct { _ struct{} `type:"structure"` @@ -30395,7 +33383,7 @@ func (s *DescribeBundleTasksOutput) SetBundleTasks(v []*BundleTask) *DescribeBun } // Contains the parameters for DescribeClassicLinkInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClassicLinkInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClassicLinkInstancesRequest type DescribeClassicLinkInstancesInput struct { _ struct{} `type:"structure"` @@ -30486,7 +33474,7 @@ func (s *DescribeClassicLinkInstancesInput) SetNextToken(v string) *DescribeClas } // Contains the output of DescribeClassicLinkInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClassicLinkInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClassicLinkInstancesResult type DescribeClassicLinkInstancesOutput struct { _ struct{} `type:"structure"` @@ -30521,7 +33509,7 @@ func (s *DescribeClassicLinkInstancesOutput) SetNextToken(v string) *DescribeCla } // Contains the parameters for DescribeConversionTasks. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeConversionTasksRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeConversionTasksRequest type DescribeConversionTasksInput struct { _ struct{} `type:"structure"` @@ -30558,7 +33546,7 @@ func (s *DescribeConversionTasksInput) SetDryRun(v bool) *DescribeConversionTask } // Contains the output for DescribeConversionTasks. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeConversionTasksResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeConversionTasksResult type DescribeConversionTasksOutput struct { _ struct{} `type:"structure"` @@ -30583,7 +33571,7 @@ func (s *DescribeConversionTasksOutput) SetConversionTasks(v []*ConversionTask) } // Contains the parameters for DescribeCustomerGateways. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCustomerGatewaysRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCustomerGatewaysRequest type DescribeCustomerGatewaysInput struct { _ struct{} `type:"structure"` @@ -30661,7 +33649,7 @@ func (s *DescribeCustomerGatewaysInput) SetFilters(v []*Filter) *DescribeCustome } // Contains the output of DescribeCustomerGateways. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCustomerGatewaysResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCustomerGatewaysResult type DescribeCustomerGatewaysOutput struct { _ struct{} `type:"structure"` @@ -30686,7 +33674,7 @@ func (s *DescribeCustomerGatewaysOutput) SetCustomerGateways(v []*CustomerGatewa } // Contains the parameters for DescribeDhcpOptions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeDhcpOptionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeDhcpOptionsRequest type DescribeDhcpOptionsInput struct { _ struct{} `type:"structure"` @@ -30756,7 +33744,7 @@ func (s *DescribeDhcpOptionsInput) SetFilters(v []*Filter) *DescribeDhcpOptionsI } // Contains the output of DescribeDhcpOptions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeDhcpOptionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeDhcpOptionsResult type DescribeDhcpOptionsOutput struct { _ struct{} `type:"structure"` @@ -30780,7 +33768,7 @@ func (s *DescribeDhcpOptionsOutput) SetDhcpOptions(v []*DhcpOptions) *DescribeDh return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeEgressOnlyInternetGatewaysRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeEgressOnlyInternetGatewaysRequest type DescribeEgressOnlyInternetGatewaysInput struct { _ struct{} `type:"structure"` @@ -30837,7 +33825,7 @@ func (s *DescribeEgressOnlyInternetGatewaysInput) SetNextToken(v string) *Descri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeEgressOnlyInternetGatewaysResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeEgressOnlyInternetGatewaysResult type DescribeEgressOnlyInternetGatewaysOutput struct { _ struct{} `type:"structure"` @@ -30870,7 +33858,7 @@ func (s *DescribeEgressOnlyInternetGatewaysOutput) SetNextToken(v string) *Descr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpusRequest type DescribeElasticGpusInput struct { _ struct{} `type:"structure"` @@ -30945,7 +33933,7 @@ func (s *DescribeElasticGpusInput) SetNextToken(v string) *DescribeElasticGpusIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpusResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpusResult type DescribeElasticGpusOutput struct { _ struct{} `type:"structure"` @@ -30991,7 +33979,7 @@ func (s *DescribeElasticGpusOutput) SetNextToken(v string) *DescribeElasticGpusO } // Contains the parameters for DescribeExportTasks. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportTasksRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportTasksRequest type DescribeExportTasksInput struct { _ struct{} `type:"structure"` @@ -31016,7 +34004,7 @@ func (s *DescribeExportTasksInput) SetExportTaskIds(v []*string) *DescribeExport } // Contains the output for DescribeExportTasks. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportTasksResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportTasksResult type DescribeExportTasksOutput struct { _ struct{} `type:"structure"` @@ -31041,7 +34029,7 @@ func (s *DescribeExportTasksOutput) SetExportTasks(v []*ExportTask) *DescribeExp } // Contains the parameters for DescribeFlowLogs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogsRequest type DescribeFlowLogsInput struct { _ struct{} `type:"structure"` @@ -31107,7 +34095,7 @@ func (s *DescribeFlowLogsInput) SetNextToken(v string) *DescribeFlowLogsInput { } // Contains the output of DescribeFlowLogs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogsResult type DescribeFlowLogsOutput struct { _ struct{} `type:"structure"` @@ -31141,7 +34129,7 @@ func (s *DescribeFlowLogsOutput) SetNextToken(v string) *DescribeFlowLogsOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttributeRequest type DescribeFpgaImageAttributeInput struct { _ struct{} `type:"structure"` @@ -31206,7 +34194,7 @@ func (s *DescribeFpgaImageAttributeInput) SetFpgaImageId(v string) *DescribeFpga return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttributeResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttributeResult type DescribeFpgaImageAttributeOutput struct { _ struct{} `type:"structure"` @@ -31230,7 +34218,7 @@ func (s *DescribeFpgaImageAttributeOutput) SetFpgaImageAttribute(v *FpgaImageAtt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImagesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImagesRequest type DescribeFpgaImagesInput struct { _ struct{} `type:"structure"` @@ -31354,7 +34342,7 @@ func (s *DescribeFpgaImagesInput) SetOwners(v []*string) *DescribeFpgaImagesInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImagesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImagesResult type DescribeFpgaImagesOutput struct { _ struct{} `type:"structure"` @@ -31388,7 +34376,7 @@ func (s *DescribeFpgaImagesOutput) SetNextToken(v string) *DescribeFpgaImagesOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationOfferingsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationOfferingsRequest type DescribeHostReservationOfferingsInput struct { _ struct{} `type:"structure"` @@ -31472,7 +34460,7 @@ func (s *DescribeHostReservationOfferingsInput) SetOfferingId(v string) *Describ return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationOfferingsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationOfferingsResult type DescribeHostReservationOfferingsOutput struct { _ struct{} `type:"structure"` @@ -31506,7 +34494,7 @@ func (s *DescribeHostReservationOfferingsOutput) SetOfferingSet(v []*HostOfferin return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationsRequest type DescribeHostReservationsInput struct { _ struct{} `type:"structure"` @@ -31567,7 +34555,7 @@ func (s *DescribeHostReservationsInput) SetNextToken(v string) *DescribeHostRese return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationsResult type DescribeHostReservationsOutput struct { _ struct{} `type:"structure"` @@ -31602,7 +34590,7 @@ func (s *DescribeHostReservationsOutput) SetNextToken(v string) *DescribeHostRes } // Contains the parameters for DescribeHosts. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostsRequest type DescribeHostsInput struct { _ struct{} `type:"structure"` @@ -31674,7 +34662,7 @@ func (s *DescribeHostsInput) SetNextToken(v string) *DescribeHostsInput { } // Contains the output of DescribeHosts. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostsResult type DescribeHostsOutput struct { _ struct{} `type:"structure"` @@ -31708,7 +34696,7 @@ func (s *DescribeHostsOutput) SetNextToken(v string) *DescribeHostsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIamInstanceProfileAssociationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIamInstanceProfileAssociationsRequest type DescribeIamInstanceProfileAssociationsInput struct { _ struct{} `type:"structure"` @@ -31781,7 +34769,7 @@ func (s *DescribeIamInstanceProfileAssociationsInput) SetNextToken(v string) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIamInstanceProfileAssociationsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIamInstanceProfileAssociationsResult type DescribeIamInstanceProfileAssociationsOutput struct { _ struct{} `type:"structure"` @@ -31816,7 +34804,7 @@ func (s *DescribeIamInstanceProfileAssociationsOutput) SetNextToken(v string) *D } // Contains the parameters for DescribeIdFormat. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdFormatRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdFormatRequest type DescribeIdFormatInput struct { _ struct{} `type:"structure"` @@ -31841,7 +34829,7 @@ func (s *DescribeIdFormatInput) SetResource(v string) *DescribeIdFormatInput { } // Contains the output of DescribeIdFormat. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdFormatResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdFormatResult type DescribeIdFormatOutput struct { _ struct{} `type:"structure"` @@ -31866,7 +34854,7 @@ func (s *DescribeIdFormatOutput) SetStatuses(v []*IdFormat) *DescribeIdFormatOut } // Contains the parameters for DescribeIdentityIdFormat. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdentityIdFormatRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdentityIdFormatRequest type DescribeIdentityIdFormatInput struct { _ struct{} `type:"structure"` @@ -31916,7 +34904,7 @@ func (s *DescribeIdentityIdFormatInput) SetResource(v string) *DescribeIdentityI } // Contains the output of DescribeIdentityIdFormat. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdentityIdFormatResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdentityIdFormatResult type DescribeIdentityIdFormatOutput struct { _ struct{} `type:"structure"` @@ -31941,7 +34929,7 @@ func (s *DescribeIdentityIdFormatOutput) SetStatuses(v []*IdFormat) *DescribeIde } // Contains the parameters for DescribeImageAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageAttributeRequest type DescribeImageAttributeInput struct { _ struct{} `type:"structure"` @@ -32011,7 +34999,7 @@ func (s *DescribeImageAttributeInput) SetImageId(v string) *DescribeImageAttribu } // Describes an image attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageAttribute type DescribeImageAttributeOutput struct { _ struct{} `type:"structure"` @@ -32100,7 +35088,7 @@ func (s *DescribeImageAttributeOutput) SetSriovNetSupport(v *AttributeValue) *De } // Contains the parameters for DescribeImages. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImagesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImagesRequest type DescribeImagesInput struct { _ struct{} `type:"structure"` @@ -32252,7 +35240,7 @@ func (s *DescribeImagesInput) SetOwners(v []*string) *DescribeImagesInput { } // Contains the output of DescribeImages. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImagesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImagesResult type DescribeImagesOutput struct { _ struct{} `type:"structure"` @@ -32277,7 +35265,7 @@ func (s *DescribeImagesOutput) SetImages(v []*Image) *DescribeImagesOutput { } // Contains the parameters for DescribeImportImageTasks. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasksRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasksRequest type DescribeImportImageTasksInput struct { _ struct{} `type:"structure"` @@ -32343,7 +35331,7 @@ func (s *DescribeImportImageTasksInput) SetNextToken(v string) *DescribeImportIm } // Contains the output for DescribeImportImageTasks. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasksResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasksResult type DescribeImportImageTasksOutput struct { _ struct{} `type:"structure"` @@ -32379,7 +35367,7 @@ func (s *DescribeImportImageTasksOutput) SetNextToken(v string) *DescribeImportI } // Contains the parameters for DescribeImportSnapshotTasks. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportSnapshotTasksRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportSnapshotTasksRequest type DescribeImportSnapshotTasksInput struct { _ struct{} `type:"structure"` @@ -32444,7 +35432,7 @@ func (s *DescribeImportSnapshotTasksInput) SetNextToken(v string) *DescribeImpor } // Contains the output for DescribeImportSnapshotTasks. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportSnapshotTasksResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportSnapshotTasksResult type DescribeImportSnapshotTasksOutput struct { _ struct{} `type:"structure"` @@ -32480,7 +35468,7 @@ func (s *DescribeImportSnapshotTasksOutput) SetNextToken(v string) *DescribeImpo } // Contains the parameters for DescribeInstanceAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceAttributeRequest type DescribeInstanceAttributeInput struct { _ struct{} `type:"structure"` @@ -32548,7 +35536,7 @@ func (s *DescribeInstanceAttributeInput) SetInstanceId(v string) *DescribeInstan } // Describes an instance attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceAttribute type DescribeInstanceAttributeOutput struct { _ struct{} `type:"structure"` @@ -32703,8 +35691,114 @@ func (s *DescribeInstanceAttributeOutput) SetUserData(v *AttributeValue) *Descri return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceCreditSpecificationsRequest +type DescribeInstanceCreditSpecificationsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more filters. + // + // * instance-id - The ID of the instance. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // One or more instance IDs. + // + // Default: Describes all your instances. + // + // Constraints: Maximum 1000 explicitly specified instance IDs. + InstanceIds []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list"` + + // The maximum number of results to return in a single call. To retrieve the + // remaining results, make another call with the returned NextToken value. This + // value can be between 5 and 1000. You cannot specify this parameter and the + // instance IDs parameter in the same call. + MaxResults *int64 `type:"integer"` + + // The token to retrieve the next page of results. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s DescribeInstanceCreditSpecificationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeInstanceCreditSpecificationsInput) GoString() string { + return s.String() +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeInstanceCreditSpecificationsInput) SetDryRun(v bool) *DescribeInstanceCreditSpecificationsInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeInstanceCreditSpecificationsInput) SetFilters(v []*Filter) *DescribeInstanceCreditSpecificationsInput { + s.Filters = v + return s +} + +// SetInstanceIds sets the InstanceIds field's value. +func (s *DescribeInstanceCreditSpecificationsInput) SetInstanceIds(v []*string) *DescribeInstanceCreditSpecificationsInput { + s.InstanceIds = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeInstanceCreditSpecificationsInput) SetMaxResults(v int64) *DescribeInstanceCreditSpecificationsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeInstanceCreditSpecificationsInput) SetNextToken(v string) *DescribeInstanceCreditSpecificationsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceCreditSpecificationsResult +type DescribeInstanceCreditSpecificationsOutput struct { + _ struct{} `type:"structure"` + + // Information about the credit option for CPU usage of an instance. + InstanceCreditSpecifications []*InstanceCreditSpecification `locationName:"instanceCreditSpecificationSet" locationNameList:"item" type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s DescribeInstanceCreditSpecificationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeInstanceCreditSpecificationsOutput) GoString() string { + return s.String() +} + +// SetInstanceCreditSpecifications sets the InstanceCreditSpecifications field's value. +func (s *DescribeInstanceCreditSpecificationsOutput) SetInstanceCreditSpecifications(v []*InstanceCreditSpecification) *DescribeInstanceCreditSpecificationsOutput { + s.InstanceCreditSpecifications = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeInstanceCreditSpecificationsOutput) SetNextToken(v string) *DescribeInstanceCreditSpecificationsOutput { + s.NextToken = &v + return s +} + // Contains the parameters for DescribeInstanceStatus. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceStatusRequest type DescribeInstanceStatusInput struct { _ struct{} `type:"structure"` @@ -32821,7 +35915,7 @@ func (s *DescribeInstanceStatusInput) SetNextToken(v string) *DescribeInstanceSt } // Contains the output of DescribeInstanceStatus. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceStatusResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceStatusResult type DescribeInstanceStatusOutput struct { _ struct{} `type:"structure"` @@ -32856,7 +35950,7 @@ func (s *DescribeInstanceStatusOutput) SetNextToken(v string) *DescribeInstanceS } // Contains the parameters for DescribeInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstancesRequest type DescribeInstancesInput struct { _ struct{} `type:"structure"` @@ -33162,7 +36256,7 @@ func (s *DescribeInstancesInput) SetNextToken(v string) *DescribeInstancesInput } // Contains the output of DescribeInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstancesResult type DescribeInstancesOutput struct { _ struct{} `type:"structure"` @@ -33197,7 +36291,7 @@ func (s *DescribeInstancesOutput) SetReservations(v []*Reservation) *DescribeIns } // Contains the parameters for DescribeInternetGateways. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInternetGatewaysRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInternetGatewaysRequest type DescribeInternetGatewaysInput struct { _ struct{} `type:"structure"` @@ -33268,7 +36362,7 @@ func (s *DescribeInternetGatewaysInput) SetInternetGatewayIds(v []*string) *Desc } // Contains the output of DescribeInternetGateways. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInternetGatewaysResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInternetGatewaysResult type DescribeInternetGatewaysOutput struct { _ struct{} `type:"structure"` @@ -33293,7 +36387,7 @@ func (s *DescribeInternetGatewaysOutput) SetInternetGateways(v []*InternetGatewa } // Contains the parameters for DescribeKeyPairs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeKeyPairsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeKeyPairsRequest type DescribeKeyPairsInput struct { _ struct{} `type:"structure"` @@ -33345,7 +36439,7 @@ func (s *DescribeKeyPairsInput) SetKeyNames(v []*string) *DescribeKeyPairsInput } // Contains the output of DescribeKeyPairs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeKeyPairsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeKeyPairsResult type DescribeKeyPairsOutput struct { _ struct{} `type:"structure"` @@ -33369,8 +36463,288 @@ func (s *DescribeKeyPairsOutput) SetKeyPairs(v []*KeyPairInfo) *DescribeKeyPairs return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersionsRequest +type DescribeLaunchTemplateVersionsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more filters. + // + // * create-time - The time the launch template version was created. + // + // * ebs-optimized - A boolean that indicates whether the instance is optimized + // for Amazon EBS I/O. + // + // * iam-instance-profile - The ARN of the IAM instance profile. + // + // * image-id - The ID of the AMI. + // + // * instance-type - The instance type. + // + // * is-default-version - A boolean that indicates whether the launch template + // version is the default version. + // + // * kernel-id - The kernel ID. + // + // * ram-disk-id - The RAM disk ID. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The ID of the launch template. You must specify either the launch template + // ID or launch template name in the request. + LaunchTemplateId *string `type:"string"` + + // The name of the launch template. You must specify either the launch template + // ID or launch template name in the request. + LaunchTemplateName *string `min:"3" type:"string"` + + // The maximum number of results to return in a single call. To retrieve the + // remaining results, make another call with the returned NextToken value. This + // value can be between 5 and 1000. + MaxResults *int64 `type:"integer"` + + // The version number up to which to describe launch template versions. + MaxVersion *string `type:"string"` + + // The version number after which to describe launch template versions. + MinVersion *string `type:"string"` + + // The token to request the next page of results. + NextToken *string `type:"string"` + + // One or more versions of the launch template. + Versions []*string `locationName:"LaunchTemplateVersion" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s DescribeLaunchTemplateVersionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeLaunchTemplateVersionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeLaunchTemplateVersionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeLaunchTemplateVersionsInput"} + if s.LaunchTemplateName != nil && len(*s.LaunchTemplateName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeLaunchTemplateVersionsInput) SetDryRun(v bool) *DescribeLaunchTemplateVersionsInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeLaunchTemplateVersionsInput) SetFilters(v []*Filter) *DescribeLaunchTemplateVersionsInput { + s.Filters = v + return s +} + +// SetLaunchTemplateId sets the LaunchTemplateId field's value. +func (s *DescribeLaunchTemplateVersionsInput) SetLaunchTemplateId(v string) *DescribeLaunchTemplateVersionsInput { + s.LaunchTemplateId = &v + return s +} + +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *DescribeLaunchTemplateVersionsInput) SetLaunchTemplateName(v string) *DescribeLaunchTemplateVersionsInput { + s.LaunchTemplateName = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeLaunchTemplateVersionsInput) SetMaxResults(v int64) *DescribeLaunchTemplateVersionsInput { + s.MaxResults = &v + return s +} + +// SetMaxVersion sets the MaxVersion field's value. +func (s *DescribeLaunchTemplateVersionsInput) SetMaxVersion(v string) *DescribeLaunchTemplateVersionsInput { + s.MaxVersion = &v + return s +} + +// SetMinVersion sets the MinVersion field's value. +func (s *DescribeLaunchTemplateVersionsInput) SetMinVersion(v string) *DescribeLaunchTemplateVersionsInput { + s.MinVersion = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeLaunchTemplateVersionsInput) SetNextToken(v string) *DescribeLaunchTemplateVersionsInput { + s.NextToken = &v + return s +} + +// SetVersions sets the Versions field's value. +func (s *DescribeLaunchTemplateVersionsInput) SetVersions(v []*string) *DescribeLaunchTemplateVersionsInput { + s.Versions = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersionsResult +type DescribeLaunchTemplateVersionsOutput struct { + _ struct{} `type:"structure"` + + // Information about the launch template versions. + LaunchTemplateVersions []*LaunchTemplateVersion `locationName:"launchTemplateVersionSet" locationNameList:"item" type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s DescribeLaunchTemplateVersionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeLaunchTemplateVersionsOutput) GoString() string { + return s.String() +} + +// SetLaunchTemplateVersions sets the LaunchTemplateVersions field's value. +func (s *DescribeLaunchTemplateVersionsOutput) SetLaunchTemplateVersions(v []*LaunchTemplateVersion) *DescribeLaunchTemplateVersionsOutput { + s.LaunchTemplateVersions = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeLaunchTemplateVersionsOutput) SetNextToken(v string) *DescribeLaunchTemplateVersionsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplatesRequest +type DescribeLaunchTemplatesInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more filters. + // + // * create-time - The time the launch template was created. + // + // * launch-template-name - The name of the launch template. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // One or more launch template IDs. + LaunchTemplateIds []*string `locationName:"LaunchTemplateId" locationNameList:"item" type:"list"` + + // One or more launch template names. + LaunchTemplateNames []*string `locationName:"LaunchTemplateName" locationNameList:"item" type:"list"` + + // The maximum number of results to return in a single call. To retrieve the + // remaining results, make another call with the returned NextToken value. This + // value can be between 5 and 1000. + MaxResults *int64 `type:"integer"` + + // The token to request the next page of results. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s DescribeLaunchTemplatesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeLaunchTemplatesInput) GoString() string { + return s.String() +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeLaunchTemplatesInput) SetDryRun(v bool) *DescribeLaunchTemplatesInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeLaunchTemplatesInput) SetFilters(v []*Filter) *DescribeLaunchTemplatesInput { + s.Filters = v + return s +} + +// SetLaunchTemplateIds sets the LaunchTemplateIds field's value. +func (s *DescribeLaunchTemplatesInput) SetLaunchTemplateIds(v []*string) *DescribeLaunchTemplatesInput { + s.LaunchTemplateIds = v + return s +} + +// SetLaunchTemplateNames sets the LaunchTemplateNames field's value. +func (s *DescribeLaunchTemplatesInput) SetLaunchTemplateNames(v []*string) *DescribeLaunchTemplatesInput { + s.LaunchTemplateNames = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeLaunchTemplatesInput) SetMaxResults(v int64) *DescribeLaunchTemplatesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeLaunchTemplatesInput) SetNextToken(v string) *DescribeLaunchTemplatesInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplatesResult +type DescribeLaunchTemplatesOutput struct { + _ struct{} `type:"structure"` + + // Information about the launch templates. + LaunchTemplates []*LaunchTemplate `locationName:"launchTemplates" locationNameList:"item" type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s DescribeLaunchTemplatesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeLaunchTemplatesOutput) GoString() string { + return s.String() +} + +// SetLaunchTemplates sets the LaunchTemplates field's value. +func (s *DescribeLaunchTemplatesOutput) SetLaunchTemplates(v []*LaunchTemplate) *DescribeLaunchTemplatesOutput { + s.LaunchTemplates = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeLaunchTemplatesOutput) SetNextToken(v string) *DescribeLaunchTemplatesOutput { + s.NextToken = &v + return s +} + // Contains the parameters for DescribeMovingAddresses. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMovingAddressesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMovingAddressesRequest type DescribeMovingAddressesInput struct { _ struct{} `type:"structure"` @@ -33442,7 +36816,7 @@ func (s *DescribeMovingAddressesInput) SetPublicIps(v []*string) *DescribeMoving } // Contains the output of DescribeMovingAddresses. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMovingAddressesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMovingAddressesResult type DescribeMovingAddressesOutput struct { _ struct{} `type:"structure"` @@ -33477,7 +36851,7 @@ func (s *DescribeMovingAddressesOutput) SetNextToken(v string) *DescribeMovingAd } // Contains the parameters for DescribeNatGateways. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNatGatewaysRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNatGatewaysRequest type DescribeNatGatewaysInput struct { _ struct{} `type:"structure"` @@ -33559,7 +36933,7 @@ func (s *DescribeNatGatewaysInput) SetNextToken(v string) *DescribeNatGatewaysIn } // Contains the output of DescribeNatGateways. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNatGatewaysResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNatGatewaysResult type DescribeNatGatewaysOutput struct { _ struct{} `type:"structure"` @@ -33594,7 +36968,7 @@ func (s *DescribeNatGatewaysOutput) SetNextToken(v string) *DescribeNatGatewaysO } // Contains the parameters for DescribeNetworkAcls. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkAclsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkAclsRequest type DescribeNetworkAclsInput struct { _ struct{} `type:"structure"` @@ -33696,7 +37070,7 @@ func (s *DescribeNetworkAclsInput) SetNetworkAclIds(v []*string) *DescribeNetwor } // Contains the output of DescribeNetworkAcls. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkAclsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkAclsResult type DescribeNetworkAclsOutput struct { _ struct{} `type:"structure"` @@ -33721,7 +37095,7 @@ func (s *DescribeNetworkAclsOutput) SetNetworkAcls(v []*NetworkAcl) *DescribeNet } // Contains the parameters for DescribeNetworkInterfaceAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttributeRequest type DescribeNetworkInterfaceAttributeInput struct { _ struct{} `type:"structure"` @@ -33782,7 +37156,7 @@ func (s *DescribeNetworkInterfaceAttributeInput) SetNetworkInterfaceId(v string) } // Contains the output of DescribeNetworkInterfaceAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttributeResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttributeResult type DescribeNetworkInterfaceAttributeOutput struct { _ struct{} `type:"structure"` @@ -33843,7 +37217,7 @@ func (s *DescribeNetworkInterfaceAttributeOutput) SetSourceDestCheck(v *Attribut } // Contains the parameters for DescribeNetworkInterfacePermissions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissionsRequest type DescribeNetworkInterfacePermissionsInput struct { _ struct{} `type:"structure"` @@ -33910,7 +37284,7 @@ func (s *DescribeNetworkInterfacePermissionsInput) SetNextToken(v string) *Descr } // Contains the output for DescribeNetworkInterfacePermissions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissionsResult type DescribeNetworkInterfacePermissionsOutput struct { _ struct{} `type:"structure"` @@ -33944,7 +37318,7 @@ func (s *DescribeNetworkInterfacePermissionsOutput) SetNextToken(v string) *Desc } // Contains the parameters for DescribeNetworkInterfaces. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacesRequest type DescribeNetworkInterfacesInput struct { _ struct{} `type:"structure"` @@ -34102,7 +37476,7 @@ func (s *DescribeNetworkInterfacesInput) SetNetworkInterfaceIds(v []*string) *De } // Contains the output of DescribeNetworkInterfaces. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacesResult type DescribeNetworkInterfacesOutput struct { _ struct{} `type:"structure"` @@ -34127,7 +37501,7 @@ func (s *DescribeNetworkInterfacesOutput) SetNetworkInterfaces(v []*NetworkInter } // Contains the parameters for DescribePlacementGroups. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroupsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroupsRequest type DescribePlacementGroupsInput struct { _ struct{} `type:"structure"` @@ -34144,7 +37518,7 @@ type DescribePlacementGroupsInput struct { // * state - The state of the placement group (pending | available | deleting // | deleted). // - // * strategy - The strategy of the placement group (cluster). + // * strategy - The strategy of the placement group (cluster | spread). Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // One or more placement group names. @@ -34182,7 +37556,7 @@ func (s *DescribePlacementGroupsInput) SetGroupNames(v []*string) *DescribePlace } // Contains the output of DescribePlacementGroups. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroupsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroupsResult type DescribePlacementGroupsOutput struct { _ struct{} `type:"structure"` @@ -34207,7 +37581,7 @@ func (s *DescribePlacementGroupsOutput) SetPlacementGroups(v []*PlacementGroup) } // Contains the parameters for DescribePrefixLists. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrefixListsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrefixListsRequest type DescribePrefixListsInput struct { _ struct{} `type:"structure"` @@ -34281,7 +37655,7 @@ func (s *DescribePrefixListsInput) SetPrefixListIds(v []*string) *DescribePrefix } // Contains the output of DescribePrefixLists. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrefixListsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrefixListsResult type DescribePrefixListsOutput struct { _ struct{} `type:"structure"` @@ -34316,7 +37690,7 @@ func (s *DescribePrefixListsOutput) SetPrefixLists(v []*PrefixList) *DescribePre } // Contains the parameters for DescribeRegions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRegionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRegionsRequest type DescribeRegionsInput struct { _ struct{} `type:"structure"` @@ -34366,7 +37740,7 @@ func (s *DescribeRegionsInput) SetRegionNames(v []*string) *DescribeRegionsInput } // Contains the output of DescribeRegions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRegionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRegionsResult type DescribeRegionsOutput struct { _ struct{} `type:"structure"` @@ -34391,7 +37765,7 @@ func (s *DescribeRegionsOutput) SetRegions(v []*Region) *DescribeRegionsOutput { } // Contains the parameters for DescribeReservedInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesRequest type DescribeReservedInstancesInput struct { _ struct{} `type:"structure"` @@ -34511,7 +37885,7 @@ func (s *DescribeReservedInstancesInput) SetReservedInstancesIds(v []*string) *D } // Contains the parameters for DescribeReservedInstancesListings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesListingsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesListingsRequest type DescribeReservedInstancesListingsInput struct { _ struct{} `type:"structure"` @@ -34563,7 +37937,7 @@ func (s *DescribeReservedInstancesListingsInput) SetReservedInstancesListingId(v } // Contains the output of DescribeReservedInstancesListings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesListingsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesListingsResult type DescribeReservedInstancesListingsOutput struct { _ struct{} `type:"structure"` @@ -34588,7 +37962,7 @@ func (s *DescribeReservedInstancesListingsOutput) SetReservedInstancesListings(v } // Contains the parameters for DescribeReservedInstancesModifications. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesModificationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesModificationsRequest type DescribeReservedInstancesModificationsInput struct { _ struct{} `type:"structure"` @@ -34664,7 +38038,7 @@ func (s *DescribeReservedInstancesModificationsInput) SetReservedInstancesModifi } // Contains the output of DescribeReservedInstancesModifications. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesModificationsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesModificationsResult type DescribeReservedInstancesModificationsOutput struct { _ struct{} `type:"structure"` @@ -34699,7 +38073,7 @@ func (s *DescribeReservedInstancesModificationsOutput) SetReservedInstancesModif } // Contains the parameters for DescribeReservedInstancesOfferings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesOfferingsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesOfferingsRequest type DescribeReservedInstancesOfferingsInput struct { _ struct{} `type:"structure"` @@ -34909,7 +38283,7 @@ func (s *DescribeReservedInstancesOfferingsInput) SetReservedInstancesOfferingId } // Contains the output of DescribeReservedInstancesOfferings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesOfferingsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesOfferingsResult type DescribeReservedInstancesOfferingsOutput struct { _ struct{} `type:"structure"` @@ -34944,7 +38318,7 @@ func (s *DescribeReservedInstancesOfferingsOutput) SetReservedInstancesOfferings } // Contains the output for DescribeReservedInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesResult type DescribeReservedInstancesOutput struct { _ struct{} `type:"structure"` @@ -34969,7 +38343,7 @@ func (s *DescribeReservedInstancesOutput) SetReservedInstances(v []*ReservedInst } // Contains the parameters for DescribeRouteTables. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTablesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTablesRequest type DescribeRouteTablesInput struct { _ struct{} `type:"structure"` @@ -35082,7 +38456,7 @@ func (s *DescribeRouteTablesInput) SetRouteTableIds(v []*string) *DescribeRouteT } // Contains the output of DescribeRouteTables. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTablesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTablesResult type DescribeRouteTablesOutput struct { _ struct{} `type:"structure"` @@ -35107,7 +38481,7 @@ func (s *DescribeRouteTablesOutput) SetRouteTables(v []*RouteTable) *DescribeRou } // Contains the parameters for DescribeScheduledInstanceAvailability. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstanceAvailabilityRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstanceAvailabilityRequest type DescribeScheduledInstanceAvailabilityInput struct { _ struct{} `type:"structure"` @@ -35237,7 +38611,7 @@ func (s *DescribeScheduledInstanceAvailabilityInput) SetRecurrence(v *ScheduledI } // Contains the output of DescribeScheduledInstanceAvailability. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstanceAvailabilityResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstanceAvailabilityResult type DescribeScheduledInstanceAvailabilityOutput struct { _ struct{} `type:"structure"` @@ -35272,7 +38646,7 @@ func (s *DescribeScheduledInstanceAvailabilityOutput) SetScheduledInstanceAvaila } // Contains the parameters for DescribeScheduledInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstancesRequest type DescribeScheduledInstancesInput struct { _ struct{} `type:"structure"` @@ -35355,7 +38729,7 @@ func (s *DescribeScheduledInstancesInput) SetSlotStartTimeRange(v *SlotStartTime } // Contains the output of DescribeScheduledInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstancesResult type DescribeScheduledInstancesOutput struct { _ struct{} `type:"structure"` @@ -35389,7 +38763,7 @@ func (s *DescribeScheduledInstancesOutput) SetScheduledInstanceSet(v []*Schedule return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupReferencesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupReferencesRequest type DescribeSecurityGroupReferencesInput struct { _ struct{} `type:"structure"` @@ -35440,7 +38814,7 @@ func (s *DescribeSecurityGroupReferencesInput) SetGroupId(v []*string) *Describe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupReferencesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupReferencesResult type DescribeSecurityGroupReferencesOutput struct { _ struct{} `type:"structure"` @@ -35465,7 +38839,7 @@ func (s *DescribeSecurityGroupReferencesOutput) SetSecurityGroupReferenceSet(v [ } // Contains the parameters for DescribeSecurityGroups. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupsRequest type DescribeSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -35618,7 +38992,7 @@ func (s *DescribeSecurityGroupsInput) SetNextToken(v string) *DescribeSecurityGr } // Contains the output of DescribeSecurityGroups. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupsResult type DescribeSecurityGroupsOutput struct { _ struct{} `type:"structure"` @@ -35653,7 +39027,7 @@ func (s *DescribeSecurityGroupsOutput) SetSecurityGroups(v []*SecurityGroup) *De } // Contains the parameters for DescribeSnapshotAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotAttributeRequest type DescribeSnapshotAttributeInput struct { _ struct{} `type:"structure"` @@ -35719,7 +39093,7 @@ func (s *DescribeSnapshotAttributeInput) SetSnapshotId(v string) *DescribeSnapsh } // Contains the output of DescribeSnapshotAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotAttributeResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotAttributeResult type DescribeSnapshotAttributeOutput struct { _ struct{} `type:"structure"` @@ -35762,7 +39136,7 @@ func (s *DescribeSnapshotAttributeOutput) SetSnapshotId(v string) *DescribeSnaps } // Contains the parameters for DescribeSnapshots. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotsRequest type DescribeSnapshotsInput struct { _ struct{} `type:"structure"` @@ -35896,7 +39270,7 @@ func (s *DescribeSnapshotsInput) SetSnapshotIds(v []*string) *DescribeSnapshotsI } // Contains the output of DescribeSnapshots. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotsResult type DescribeSnapshotsOutput struct { _ struct{} `type:"structure"` @@ -35933,7 +39307,7 @@ func (s *DescribeSnapshotsOutput) SetSnapshots(v []*Snapshot) *DescribeSnapshots } // Contains the parameters for DescribeSpotDatafeedSubscription. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotDatafeedSubscriptionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotDatafeedSubscriptionRequest type DescribeSpotDatafeedSubscriptionInput struct { _ struct{} `type:"structure"` @@ -35961,11 +39335,11 @@ func (s *DescribeSpotDatafeedSubscriptionInput) SetDryRun(v bool) *DescribeSpotD } // Contains the output of DescribeSpotDatafeedSubscription. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotDatafeedSubscriptionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotDatafeedSubscriptionResult type DescribeSpotDatafeedSubscriptionOutput struct { _ struct{} `type:"structure"` - // The Spot instance data feed subscription. + // The Spot Instance data feed subscription. SpotDatafeedSubscription *SpotDatafeedSubscription `locationName:"spotDatafeedSubscription" type:"structure"` } @@ -35986,7 +39360,7 @@ func (s *DescribeSpotDatafeedSubscriptionOutput) SetSpotDatafeedSubscription(v * } // Contains the parameters for DescribeSpotFleetInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetInstancesRequest type DescribeSpotFleetInstancesInput struct { _ struct{} `type:"structure"` @@ -36004,7 +39378,7 @@ type DescribeSpotFleetInstancesInput struct { // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` - // The ID of the Spot fleet request. + // The ID of the Spot Fleet request. // // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` @@ -36058,7 +39432,7 @@ func (s *DescribeSpotFleetInstancesInput) SetSpotFleetRequestId(v string) *Descr } // Contains the output of DescribeSpotFleetInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetInstancesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetInstancesResponse type DescribeSpotFleetInstancesOutput struct { _ struct{} `type:"structure"` @@ -36072,7 +39446,7 @@ type DescribeSpotFleetInstancesOutput struct { // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` - // The ID of the Spot fleet request. + // The ID of the Spot Fleet request. // // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` @@ -36107,7 +39481,7 @@ func (s *DescribeSpotFleetInstancesOutput) SetSpotFleetRequestId(v string) *Desc } // Contains the parameters for DescribeSpotFleetRequestHistory. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestHistoryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestHistoryRequest type DescribeSpotFleetRequestHistoryInput struct { _ struct{} `type:"structure"` @@ -36128,7 +39502,7 @@ type DescribeSpotFleetRequestHistoryInput struct { // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` - // The ID of the Spot fleet request. + // The ID of the Spot Fleet request. // // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` @@ -36202,11 +39576,11 @@ func (s *DescribeSpotFleetRequestHistoryInput) SetStartTime(v time.Time) *Descri } // Contains the output of DescribeSpotFleetRequestHistory. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestHistoryResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestHistoryResponse type DescribeSpotFleetRequestHistoryOutput struct { _ struct{} `type:"structure"` - // Information about the events in the history of the Spot fleet request. + // Information about the events in the history of the Spot Fleet request. // // HistoryRecords is a required field HistoryRecords []*HistoryRecord `locationName:"historyRecordSet" locationNameList:"item" type:"list" required:"true"` @@ -36223,7 +39597,7 @@ type DescribeSpotFleetRequestHistoryOutput struct { // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` - // The ID of the Spot fleet request. + // The ID of the Spot Fleet request. // // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` @@ -36275,7 +39649,7 @@ func (s *DescribeSpotFleetRequestHistoryOutput) SetStartTime(v time.Time) *Descr } // Contains the parameters for DescribeSpotFleetRequests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestsRequest type DescribeSpotFleetRequestsInput struct { _ struct{} `type:"structure"` @@ -36293,7 +39667,7 @@ type DescribeSpotFleetRequestsInput struct { // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` - // The IDs of the Spot fleet requests. + // The IDs of the Spot Fleet requests. SpotFleetRequestIds []*string `locationName:"spotFleetRequestId" locationNameList:"item" type:"list"` } @@ -36332,7 +39706,7 @@ func (s *DescribeSpotFleetRequestsInput) SetSpotFleetRequestIds(v []*string) *De } // Contains the output of DescribeSpotFleetRequests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestsResponse type DescribeSpotFleetRequestsOutput struct { _ struct{} `type:"structure"` @@ -36340,7 +39714,7 @@ type DescribeSpotFleetRequestsOutput struct { // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` - // Information about the configuration of your Spot fleet. + // Information about the configuration of your Spot Fleet. // // SpotFleetRequestConfigs is a required field SpotFleetRequestConfigs []*SpotFleetRequestConfig `locationName:"spotFleetRequestConfigSet" locationNameList:"item" type:"list" required:"true"` @@ -36369,7 +39743,7 @@ func (s *DescribeSpotFleetRequestsOutput) SetSpotFleetRequestConfigs(v []*SpotFl } // Contains the parameters for DescribeSpotInstanceRequests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequestsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequestsRequest type DescribeSpotInstanceRequestsInput struct { _ struct{} `type:"structure"` @@ -36383,7 +39757,7 @@ type DescribeSpotInstanceRequestsInput struct { // // * availability-zone-group - The Availability Zone group. // - // * create-time - The time stamp when the Spot instance request was created. + // * create-time - The time stamp when the Spot Instance request was created. // // * fault-code - The fault code related to the request. // @@ -36391,7 +39765,7 @@ type DescribeSpotInstanceRequestsInput struct { // // * instance-id - The ID of the instance that fulfilled the request. // - // * launch-group - The Spot instance launch group. + // * launch-group - The Spot Instance launch group. // // * launch.block-device-mapping.delete-on-termination - Indicates whether // the EBS volume is deleted on instance termination. @@ -36420,11 +39794,11 @@ type DescribeSpotInstanceRequestsInput struct { // * launch.key-name - The name of the key pair the instance launched with. // // * launch.monitoring-enabled - Whether detailed monitoring is enabled for - // the Spot instance. + // the Spot Instance. // // * launch.ramdisk-id - The RAM disk ID. // - // * launched-availability-zone - The Availability Zone in which the bid + // * launched-availability-zone - The Availability Zone in which the request // is launched. // // * network-interface.addresses.primary - Indicates whether the IP address @@ -36451,21 +39825,21 @@ type DescribeSpotInstanceRequestsInput struct { // * product-description - The product description associated with the instance // (Linux/UNIX | Windows). // - // * spot-instance-request-id - The Spot instance request ID. + // * spot-instance-request-id - The Spot Instance request ID. // - // * spot-price - The maximum hourly price for any Spot instance launched + // * spot-price - The maximum hourly price for any Spot Instance launched // to fulfill the request. // - // * state - The state of the Spot instance request (open | active | closed - // | cancelled | failed). Spot bid status information can help you track - // your Amazon EC2 Spot instance requests. For more information, see Spot - // Bid Status (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html) + // * state - The state of the Spot Instance request (open | active | closed + // | cancelled | failed). Spot request status information can help you track + // your Amazon EC2 Spot Instance requests. For more information, see Spot + // Request Status (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html) // in the Amazon Elastic Compute Cloud User Guide. // // * status-code - The short code describing the most recent evaluation of - // your Spot instance request. + // your Spot Instance request. // - // * status-message - The message explaining the status of the Spot instance + // * status-message - The message explaining the status of the Spot Instance // request. // // * tag:key=value - The key/value combination of a tag assigned to the resource. @@ -36484,14 +39858,14 @@ type DescribeSpotInstanceRequestsInput struct { // * tag-value - The value of a tag assigned to the resource. This filter // is independent of the tag-key filter. // - // * type - The type of Spot instance request (one-time | persistent). + // * type - The type of Spot Instance request (one-time | persistent). // // * valid-from - The start date of the request. // // * valid-until - The end date of the request. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` - // One or more Spot instance request IDs. + // One or more Spot Instance request IDs. SpotInstanceRequestIds []*string `locationName:"SpotInstanceRequestId" locationNameList:"SpotInstanceRequestId" type:"list"` } @@ -36524,11 +39898,11 @@ func (s *DescribeSpotInstanceRequestsInput) SetSpotInstanceRequestIds(v []*strin } // Contains the output of DescribeSpotInstanceRequests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequestsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequestsResult type DescribeSpotInstanceRequestsOutput struct { _ struct{} `type:"structure"` - // One or more Spot instance requests. + // One or more Spot Instance requests. SpotInstanceRequests []*SpotInstanceRequest `locationName:"spotInstanceRequestSet" locationNameList:"item" type:"list"` } @@ -36549,7 +39923,7 @@ func (s *DescribeSpotInstanceRequestsOutput) SetSpotInstanceRequests(v []*SpotIn } // Contains the parameters for DescribeSpotPriceHistory. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotPriceHistoryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotPriceHistoryRequest type DescribeSpotPriceHistoryInput struct { _ struct{} `type:"structure"` @@ -36585,8 +39959,7 @@ type DescribeSpotPriceHistoryInput struct { // than or less than comparison is not supported. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` - // Filters the results by the specified instance types. Note that T2 and HS1 - // instance types are not supported. + // Filters the results by the specified instance types. InstanceTypes []*string `locationName:"InstanceType" type:"list"` // The maximum number of results to return in a single call. Specify a value @@ -36670,7 +40043,7 @@ func (s *DescribeSpotPriceHistoryInput) SetStartTime(v time.Time) *DescribeSpotP } // Contains the output of DescribeSpotPriceHistory. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotPriceHistoryResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotPriceHistoryResult type DescribeSpotPriceHistoryOutput struct { _ struct{} `type:"structure"` @@ -36704,7 +40077,7 @@ func (s *DescribeSpotPriceHistoryOutput) SetSpotPriceHistory(v []*SpotPrice) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStaleSecurityGroupsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStaleSecurityGroupsRequest type DescribeStaleSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -36782,7 +40155,7 @@ func (s *DescribeStaleSecurityGroupsInput) SetVpcId(v string) *DescribeStaleSecu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStaleSecurityGroupsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStaleSecurityGroupsResult type DescribeStaleSecurityGroupsOutput struct { _ struct{} `type:"structure"` @@ -36817,7 +40190,7 @@ func (s *DescribeStaleSecurityGroupsOutput) SetStaleSecurityGroupSet(v []*StaleS } // Contains the parameters for DescribeSubnets. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSubnetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSubnetsRequest type DescribeSubnetsInput struct { _ struct{} `type:"structure"` @@ -36909,7 +40282,7 @@ func (s *DescribeSubnetsInput) SetSubnetIds(v []*string) *DescribeSubnetsInput { } // Contains the output of DescribeSubnets. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSubnetsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSubnetsResult type DescribeSubnetsOutput struct { _ struct{} `type:"structure"` @@ -36934,7 +40307,7 @@ func (s *DescribeSubnetsOutput) SetSubnets(v []*Subnet) *DescribeSubnetsOutput { } // Contains the parameters for DescribeTags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTagsRequest type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -37002,7 +40375,7 @@ func (s *DescribeTagsInput) SetNextToken(v string) *DescribeTagsInput { } // Contains the output of DescribeTags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTagsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTagsResult type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -37037,7 +40410,7 @@ func (s *DescribeTagsOutput) SetTags(v []*TagDescription) *DescribeTagsOutput { } // Contains the parameters for DescribeVolumeAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeAttributeRequest type DescribeVolumeAttributeInput struct { _ struct{} `type:"structure"` @@ -37098,7 +40471,7 @@ func (s *DescribeVolumeAttributeInput) SetVolumeId(v string) *DescribeVolumeAttr } // Contains the output of DescribeVolumeAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeAttributeResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeAttributeResult type DescribeVolumeAttributeOutput struct { _ struct{} `type:"structure"` @@ -37141,7 +40514,7 @@ func (s *DescribeVolumeAttributeOutput) SetVolumeId(v string) *DescribeVolumeAtt } // Contains the parameters for DescribeVolumeStatus. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatusRequest type DescribeVolumeStatusInput struct { _ struct{} `type:"structure"` @@ -37247,7 +40620,7 @@ func (s *DescribeVolumeStatusInput) SetVolumeIds(v []*string) *DescribeVolumeSta } // Contains the output of DescribeVolumeStatus. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatusResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatusResult type DescribeVolumeStatusOutput struct { _ struct{} `type:"structure"` @@ -37282,7 +40655,7 @@ func (s *DescribeVolumeStatusOutput) SetVolumeStatuses(v []*VolumeStatusItem) *D } // Contains the parameters for DescribeVolumes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesRequest type DescribeVolumesInput struct { _ struct{} `type:"structure"` @@ -37405,7 +40778,7 @@ func (s *DescribeVolumesInput) SetVolumeIds(v []*string) *DescribeVolumesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModificationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModificationsRequest type DescribeVolumesModificationsInput struct { _ struct{} `type:"structure"` @@ -37471,7 +40844,7 @@ func (s *DescribeVolumesModificationsInput) SetVolumeIds(v []*string) *DescribeV return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModificationsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModificationsResult type DescribeVolumesModificationsOutput struct { _ struct{} `type:"structure"` @@ -37505,7 +40878,7 @@ func (s *DescribeVolumesModificationsOutput) SetVolumesModifications(v []*Volume } // Contains the output of DescribeVolumes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesResult type DescribeVolumesOutput struct { _ struct{} `type:"structure"` @@ -37542,7 +40915,7 @@ func (s *DescribeVolumesOutput) SetVolumes(v []*Volume) *DescribeVolumesOutput { } // Contains the parameters for DescribeVpcAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcAttributeRequest type DescribeVpcAttributeInput struct { _ struct{} `type:"structure"` @@ -37608,7 +40981,7 @@ func (s *DescribeVpcAttributeInput) SetVpcId(v string) *DescribeVpcAttributeInpu } // Contains the output of DescribeVpcAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcAttributeResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcAttributeResult type DescribeVpcAttributeOutput struct { _ struct{} `type:"structure"` @@ -37655,7 +41028,7 @@ func (s *DescribeVpcAttributeOutput) SetVpcId(v string) *DescribeVpcAttributeOut } // Contains the parameters for DescribeVpcClassicLinkDnsSupport. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkDnsSupportRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkDnsSupportRequest type DescribeVpcClassicLinkDnsSupportInput struct { _ struct{} `type:"structure"` @@ -37717,7 +41090,7 @@ func (s *DescribeVpcClassicLinkDnsSupportInput) SetVpcIds(v []*string) *Describe } // Contains the output of DescribeVpcClassicLinkDnsSupport. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkDnsSupportResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkDnsSupportResult type DescribeVpcClassicLinkDnsSupportOutput struct { _ struct{} `type:"structure"` @@ -37751,7 +41124,7 @@ func (s *DescribeVpcClassicLinkDnsSupportOutput) SetVpcs(v []*ClassicLinkDnsSupp } // Contains the parameters for DescribeVpcClassicLink. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkRequest type DescribeVpcClassicLinkInput struct { _ struct{} `type:"structure"` @@ -37816,7 +41189,7 @@ func (s *DescribeVpcClassicLinkInput) SetVpcIds(v []*string) *DescribeVpcClassic } // Contains the output of DescribeVpcClassicLink. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkResult type DescribeVpcClassicLinkOutput struct { _ struct{} `type:"structure"` @@ -37840,8 +41213,449 @@ func (s *DescribeVpcClassicLinkOutput) SetVpcs(v []*VpcClassicLink) *DescribeVpc return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnectionNotificationsRequest +type DescribeVpcEndpointConnectionNotificationsInput struct { + _ struct{} `type:"structure"` + + // The ID of the notification. + ConnectionNotificationId *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more filters. + // + // * connection-notification-arn - The ARN of SNS topic for the notification. + // + // * connection-notification-id - The ID of the notification. + // + // * connection-notification-state - The state of the notification (Enabled + // | Disabled). + // + // * connection-notification-type - The type of notification (Topic). + // + // * service-id - The ID of the endpoint service. + // + // * vpc-endpoint-id - The ID of the VPC endpoint. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return in a single call. To retrieve the + // remaining results, make another request with the returned NextToken value. + MaxResults *int64 `type:"integer"` + + // The token to request the next page of results. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s DescribeVpcEndpointConnectionNotificationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeVpcEndpointConnectionNotificationsInput) GoString() string { + return s.String() +} + +// SetConnectionNotificationId sets the ConnectionNotificationId field's value. +func (s *DescribeVpcEndpointConnectionNotificationsInput) SetConnectionNotificationId(v string) *DescribeVpcEndpointConnectionNotificationsInput { + s.ConnectionNotificationId = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeVpcEndpointConnectionNotificationsInput) SetDryRun(v bool) *DescribeVpcEndpointConnectionNotificationsInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeVpcEndpointConnectionNotificationsInput) SetFilters(v []*Filter) *DescribeVpcEndpointConnectionNotificationsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeVpcEndpointConnectionNotificationsInput) SetMaxResults(v int64) *DescribeVpcEndpointConnectionNotificationsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVpcEndpointConnectionNotificationsInput) SetNextToken(v string) *DescribeVpcEndpointConnectionNotificationsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnectionNotificationsResult +type DescribeVpcEndpointConnectionNotificationsOutput struct { + _ struct{} `type:"structure"` + + // One or more notifications. + ConnectionNotificationSet []*ConnectionNotification `locationName:"connectionNotificationSet" locationNameList:"item" type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s DescribeVpcEndpointConnectionNotificationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeVpcEndpointConnectionNotificationsOutput) GoString() string { + return s.String() +} + +// SetConnectionNotificationSet sets the ConnectionNotificationSet field's value. +func (s *DescribeVpcEndpointConnectionNotificationsOutput) SetConnectionNotificationSet(v []*ConnectionNotification) *DescribeVpcEndpointConnectionNotificationsOutput { + s.ConnectionNotificationSet = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVpcEndpointConnectionNotificationsOutput) SetNextToken(v string) *DescribeVpcEndpointConnectionNotificationsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnectionsRequest +type DescribeVpcEndpointConnectionsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more filters. + // + // * customer-account-id - The AWS account number of the owner of the endpoint. + // + // * endpoint-connection-state - The state of the endpoint (PendingAcceptance + // | Pending | Available | Deleting | Deleted | Rejected | Failed). + // + // * vpc-endpoint-id - The ID of the endpoint. + // + // * vpc-endpoint-service-id - The ID of the service. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return for the request in a single page. + // The remaining results of the initial request can be seen by sending another + // request with the returned NextToken value. This value can be between 5 and + // 1000; if MaxResults is given a value larger than 1000, only 1000 results + // are returned. + MaxResults *int64 `type:"integer"` + + // The token to retrieve the next page of results. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s DescribeVpcEndpointConnectionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeVpcEndpointConnectionsInput) GoString() string { + return s.String() +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeVpcEndpointConnectionsInput) SetDryRun(v bool) *DescribeVpcEndpointConnectionsInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeVpcEndpointConnectionsInput) SetFilters(v []*Filter) *DescribeVpcEndpointConnectionsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeVpcEndpointConnectionsInput) SetMaxResults(v int64) *DescribeVpcEndpointConnectionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVpcEndpointConnectionsInput) SetNextToken(v string) *DescribeVpcEndpointConnectionsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnectionsResult +type DescribeVpcEndpointConnectionsOutput struct { + _ struct{} `type:"structure"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` + + // Information about one or more VPC endpoint connections. + VpcEndpointConnections []*VpcEndpointConnection `locationName:"vpcEndpointConnectionSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s DescribeVpcEndpointConnectionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeVpcEndpointConnectionsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVpcEndpointConnectionsOutput) SetNextToken(v string) *DescribeVpcEndpointConnectionsOutput { + s.NextToken = &v + return s +} + +// SetVpcEndpointConnections sets the VpcEndpointConnections field's value. +func (s *DescribeVpcEndpointConnectionsOutput) SetVpcEndpointConnections(v []*VpcEndpointConnection) *DescribeVpcEndpointConnectionsOutput { + s.VpcEndpointConnections = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServiceConfigurationsRequest +type DescribeVpcEndpointServiceConfigurationsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more filters. + // + // * service-name - The ARN of the service. + // + // * vpc-endpoint-service-id - The ID of the service. + // + // * vpc-endpoint-service-state - The state of the service (Pending | Available + // | Deleting | Deleted | Failed). + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return for the request in a single page. + // The remaining results of the initial request can be seen by sending another + // request with the returned NextToken value. This value can be between 5 and + // 1000; if MaxResults is given a value larger than 1000, only 1000 results + // are returned. + MaxResults *int64 `type:"integer"` + + // The token to retrieve the next page of results. + NextToken *string `type:"string"` + + // The IDs of one or more services. + ServiceIds []*string `locationName:"ServiceId" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s DescribeVpcEndpointServiceConfigurationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeVpcEndpointServiceConfigurationsInput) GoString() string { + return s.String() +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeVpcEndpointServiceConfigurationsInput) SetDryRun(v bool) *DescribeVpcEndpointServiceConfigurationsInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeVpcEndpointServiceConfigurationsInput) SetFilters(v []*Filter) *DescribeVpcEndpointServiceConfigurationsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeVpcEndpointServiceConfigurationsInput) SetMaxResults(v int64) *DescribeVpcEndpointServiceConfigurationsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVpcEndpointServiceConfigurationsInput) SetNextToken(v string) *DescribeVpcEndpointServiceConfigurationsInput { + s.NextToken = &v + return s +} + +// SetServiceIds sets the ServiceIds field's value. +func (s *DescribeVpcEndpointServiceConfigurationsInput) SetServiceIds(v []*string) *DescribeVpcEndpointServiceConfigurationsInput { + s.ServiceIds = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServiceConfigurationsResult +type DescribeVpcEndpointServiceConfigurationsOutput struct { + _ struct{} `type:"structure"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` + + // Information about one or more services. + ServiceConfigurations []*ServiceConfiguration `locationName:"serviceConfigurationSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s DescribeVpcEndpointServiceConfigurationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeVpcEndpointServiceConfigurationsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVpcEndpointServiceConfigurationsOutput) SetNextToken(v string) *DescribeVpcEndpointServiceConfigurationsOutput { + s.NextToken = &v + return s +} + +// SetServiceConfigurations sets the ServiceConfigurations field's value. +func (s *DescribeVpcEndpointServiceConfigurationsOutput) SetServiceConfigurations(v []*ServiceConfiguration) *DescribeVpcEndpointServiceConfigurationsOutput { + s.ServiceConfigurations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicePermissionsRequest +type DescribeVpcEndpointServicePermissionsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more filters. + // + // * principal - The ARN of the principal. + // + // * principal-type - The principal type (All | Service | OrganizationUnit + // | Account | User | Role). + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return for the request in a single page. + // The remaining results of the initial request can be seen by sending another + // request with the returned NextToken value. This value can be between 5 and + // 1000; if MaxResults is given a value larger than 1000, only 1000 results + // are returned. + MaxResults *int64 `type:"integer"` + + // The token to retrieve the next page of results. + NextToken *string `type:"string"` + + // The ID of the service. + // + // ServiceId is a required field + ServiceId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeVpcEndpointServicePermissionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeVpcEndpointServicePermissionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeVpcEndpointServicePermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeVpcEndpointServicePermissionsInput"} + if s.ServiceId == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeVpcEndpointServicePermissionsInput) SetDryRun(v bool) *DescribeVpcEndpointServicePermissionsInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeVpcEndpointServicePermissionsInput) SetFilters(v []*Filter) *DescribeVpcEndpointServicePermissionsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeVpcEndpointServicePermissionsInput) SetMaxResults(v int64) *DescribeVpcEndpointServicePermissionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVpcEndpointServicePermissionsInput) SetNextToken(v string) *DescribeVpcEndpointServicePermissionsInput { + s.NextToken = &v + return s +} + +// SetServiceId sets the ServiceId field's value. +func (s *DescribeVpcEndpointServicePermissionsInput) SetServiceId(v string) *DescribeVpcEndpointServicePermissionsInput { + s.ServiceId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicePermissionsResult +type DescribeVpcEndpointServicePermissionsOutput struct { + _ struct{} `type:"structure"` + + // Information about one or more allowed principals. + AllowedPrincipals []*AllowedPrincipal `locationName:"allowedPrincipals" locationNameList:"item" type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s DescribeVpcEndpointServicePermissionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeVpcEndpointServicePermissionsOutput) GoString() string { + return s.String() +} + +// SetAllowedPrincipals sets the AllowedPrincipals field's value. +func (s *DescribeVpcEndpointServicePermissionsOutput) SetAllowedPrincipals(v []*AllowedPrincipal) *DescribeVpcEndpointServicePermissionsOutput { + s.AllowedPrincipals = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVpcEndpointServicePermissionsOutput) SetNextToken(v string) *DescribeVpcEndpointServicePermissionsOutput { + s.NextToken = &v + return s +} + // Contains the parameters for DescribeVpcEndpointServices. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicesRequest type DescribeVpcEndpointServicesInput struct { _ struct{} `type:"structure"` @@ -37912,7 +41726,7 @@ func (s *DescribeVpcEndpointServicesInput) SetServiceNames(v []*string) *Describ } // Contains the output of DescribeVpcEndpointServices. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicesResult type DescribeVpcEndpointServicesOutput struct { _ struct{} `type:"structure"` @@ -37923,7 +41737,7 @@ type DescribeVpcEndpointServicesOutput struct { // Information about the service. ServiceDetails []*ServiceDetail `locationName:"serviceDetailSet" locationNameList:"item" type:"list"` - // A list of supported AWS services. + // A list of supported services. ServiceNames []*string `locationName:"serviceNameSet" locationNameList:"item" type:"list"` } @@ -37956,7 +41770,7 @@ func (s *DescribeVpcEndpointServicesOutput) SetServiceNames(v []*string) *Descri } // Contains the parameters for DescribeVpcEndpoints. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointsRequest type DescribeVpcEndpointsInput struct { _ struct{} `type:"structure"` @@ -37968,7 +41782,7 @@ type DescribeVpcEndpointsInput struct { // One or more filters. // - // * service-name: The name of the AWS service. + // * service-name: The name of the service. // // * vpc-id: The ID of the VPC in which the endpoint resides. // @@ -38034,7 +41848,7 @@ func (s *DescribeVpcEndpointsInput) SetVpcEndpointIds(v []*string) *DescribeVpcE } // Contains the output of DescribeVpcEndpoints. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointsResult type DescribeVpcEndpointsOutput struct { _ struct{} `type:"structure"` @@ -38069,7 +41883,7 @@ func (s *DescribeVpcEndpointsOutput) SetVpcEndpoints(v []*VpcEndpoint) *Describe } // Contains the parameters for DescribeVpcPeeringConnections. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnectionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnectionsRequest type DescribeVpcPeeringConnectionsInput struct { _ struct{} `type:"structure"` @@ -38081,12 +41895,12 @@ type DescribeVpcPeeringConnectionsInput struct { // One or more filters. // - // * accepter-vpc-info.cidr-block - The IPv4 CIDR block of the peer VPC. + // * accepter-vpc-info.cidr-block - The IPv4 CIDR block of the accepter VPC. // // * accepter-vpc-info.owner-id - The AWS account ID of the owner of the - // peer VPC. + // accepter VPC. // - // * accepter-vpc-info.vpc-id - The ID of the peer VPC. + // * accepter-vpc-info.vpc-id - The ID of the accepter VPC. // // * expiration-time - The expiration date and time for the VPC peering connection. // @@ -38099,7 +41913,7 @@ type DescribeVpcPeeringConnectionsInput struct { // * requester-vpc-info.vpc-id - The ID of the requester VPC. // // * status-code - The status of the VPC peering connection (pending-acceptance - // | failed | expired | provisioning | active | deleted | rejected). + // | failed | expired | provisioning | active | deleting | deleted | rejected). // // * status-message - A message that provides more information about the // status of the VPC peering connection, if applicable. @@ -38158,7 +41972,7 @@ func (s *DescribeVpcPeeringConnectionsInput) SetVpcPeeringConnectionIds(v []*str } // Contains the output of DescribeVpcPeeringConnections. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnectionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnectionsResult type DescribeVpcPeeringConnectionsOutput struct { _ struct{} `type:"structure"` @@ -38183,7 +41997,7 @@ func (s *DescribeVpcPeeringConnectionsOutput) SetVpcPeeringConnections(v []*VpcP } // Contains the parameters for DescribeVpcs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcsRequest type DescribeVpcsInput struct { _ struct{} `type:"structure"` @@ -38278,7 +42092,7 @@ func (s *DescribeVpcsInput) SetVpcIds(v []*string) *DescribeVpcsInput { } // Contains the output of DescribeVpcs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcsResult type DescribeVpcsOutput struct { _ struct{} `type:"structure"` @@ -38303,7 +42117,7 @@ func (s *DescribeVpcsOutput) SetVpcs(v []*Vpc) *DescribeVpcsOutput { } // Contains the parameters for DescribeVpnConnections. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnConnectionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnConnectionsRequest type DescribeVpnConnectionsInput struct { _ struct{} `type:"structure"` @@ -38394,7 +42208,7 @@ func (s *DescribeVpnConnectionsInput) SetVpnConnectionIds(v []*string) *Describe } // Contains the output of DescribeVpnConnections. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnConnectionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnConnectionsResult type DescribeVpnConnectionsOutput struct { _ struct{} `type:"structure"` @@ -38419,7 +42233,7 @@ func (s *DescribeVpnConnectionsOutput) SetVpnConnections(v []*VpnConnection) *De } // Contains the parameters for DescribeVpnGateways. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnGatewaysRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnGatewaysRequest type DescribeVpnGatewaysInput struct { _ struct{} `type:"structure"` @@ -38502,7 +42316,7 @@ func (s *DescribeVpnGatewaysInput) SetVpnGatewayIds(v []*string) *DescribeVpnGat } // Contains the output of DescribeVpnGateways. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnGatewaysResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnGatewaysResult type DescribeVpnGatewaysOutput struct { _ struct{} `type:"structure"` @@ -38527,7 +42341,7 @@ func (s *DescribeVpnGatewaysOutput) SetVpnGateways(v []*VpnGateway) *DescribeVpn } // Contains the parameters for DetachClassicLinkVpc. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachClassicLinkVpcRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachClassicLinkVpcRequest type DetachClassicLinkVpcInput struct { _ struct{} `type:"structure"` @@ -38593,7 +42407,7 @@ func (s *DetachClassicLinkVpcInput) SetVpcId(v string) *DetachClassicLinkVpcInpu } // Contains the output of DetachClassicLinkVpc. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachClassicLinkVpcResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachClassicLinkVpcResult type DetachClassicLinkVpcOutput struct { _ struct{} `type:"structure"` @@ -38618,7 +42432,7 @@ func (s *DetachClassicLinkVpcOutput) SetReturn(v bool) *DetachClassicLinkVpcOutp } // Contains the parameters for DetachInternetGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachInternetGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachInternetGatewayRequest type DetachInternetGatewayInput struct { _ struct{} `type:"structure"` @@ -38683,7 +42497,7 @@ func (s *DetachInternetGatewayInput) SetVpcId(v string) *DetachInternetGatewayIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachInternetGatewayOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachInternetGatewayOutput type DetachInternetGatewayOutput struct { _ struct{} `type:"structure"` } @@ -38699,7 +42513,7 @@ func (s DetachInternetGatewayOutput) GoString() string { } // Contains the parameters for DetachNetworkInterface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachNetworkInterfaceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachNetworkInterfaceRequest type DetachNetworkInterfaceInput struct { _ struct{} `type:"structure"` @@ -38759,7 +42573,7 @@ func (s *DetachNetworkInterfaceInput) SetForce(v bool) *DetachNetworkInterfaceIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachNetworkInterfaceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachNetworkInterfaceOutput type DetachNetworkInterfaceOutput struct { _ struct{} `type:"structure"` } @@ -38775,7 +42589,7 @@ func (s DetachNetworkInterfaceOutput) GoString() string { } // Contains the parameters for DetachVolume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVolumeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVolumeRequest type DetachVolumeInput struct { _ struct{} `type:"structure"` @@ -38860,7 +42674,7 @@ func (s *DetachVolumeInput) SetVolumeId(v string) *DetachVolumeInput { } // Contains the parameters for DetachVpnGateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVpnGatewayRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVpnGatewayRequest type DetachVpnGatewayInput struct { _ struct{} `type:"structure"` @@ -38925,7 +42739,7 @@ func (s *DetachVpnGatewayInput) SetVpnGatewayId(v string) *DetachVpnGatewayInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVpnGatewayOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVpnGatewayOutput type DetachVpnGatewayOutput struct { _ struct{} `type:"structure"` } @@ -38941,7 +42755,7 @@ func (s DetachVpnGatewayOutput) GoString() string { } // Describes a DHCP configuration option. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DhcpConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DhcpConfiguration type DhcpConfiguration struct { _ struct{} `type:"structure"` @@ -38975,7 +42789,7 @@ func (s *DhcpConfiguration) SetValues(v []*AttributeValue) *DhcpConfiguration { } // Describes a set of DHCP options. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DhcpOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DhcpOptions type DhcpOptions struct { _ struct{} `type:"structure"` @@ -39018,7 +42832,7 @@ func (s *DhcpOptions) SetTags(v []*Tag) *DhcpOptions { } // Contains the parameters for DisableVgwRoutePropagation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVgwRoutePropagationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVgwRoutePropagationRequest type DisableVgwRoutePropagationInput struct { _ struct{} `type:"structure"` @@ -39071,7 +42885,7 @@ func (s *DisableVgwRoutePropagationInput) SetRouteTableId(v string) *DisableVgwR return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVgwRoutePropagationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVgwRoutePropagationOutput type DisableVgwRoutePropagationOutput struct { _ struct{} `type:"structure"` } @@ -39087,7 +42901,7 @@ func (s DisableVgwRoutePropagationOutput) GoString() string { } // Contains the parameters for DisableVpcClassicLinkDnsSupport. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkDnsSupportRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkDnsSupportRequest type DisableVpcClassicLinkDnsSupportInput struct { _ struct{} `type:"structure"` @@ -39112,7 +42926,7 @@ func (s *DisableVpcClassicLinkDnsSupportInput) SetVpcId(v string) *DisableVpcCla } // Contains the output of DisableVpcClassicLinkDnsSupport. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkDnsSupportResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkDnsSupportResult type DisableVpcClassicLinkDnsSupportOutput struct { _ struct{} `type:"structure"` @@ -39137,7 +42951,7 @@ func (s *DisableVpcClassicLinkDnsSupportOutput) SetReturn(v bool) *DisableVpcCla } // Contains the parameters for DisableVpcClassicLink. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkRequest type DisableVpcClassicLinkInput struct { _ struct{} `type:"structure"` @@ -39189,7 +43003,7 @@ func (s *DisableVpcClassicLinkInput) SetVpcId(v string) *DisableVpcClassicLinkIn } // Contains the output of DisableVpcClassicLink. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkResult type DisableVpcClassicLinkOutput struct { _ struct{} `type:"structure"` @@ -39214,7 +43028,7 @@ func (s *DisableVpcClassicLinkOutput) SetReturn(v bool) *DisableVpcClassicLinkOu } // Contains the parameters for DisassociateAddress. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateAddressRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateAddressRequest type DisassociateAddressInput struct { _ struct{} `type:"structure"` @@ -39259,7 +43073,7 @@ func (s *DisassociateAddressInput) SetPublicIp(v string) *DisassociateAddressInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateAddressOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateAddressOutput type DisassociateAddressOutput struct { _ struct{} `type:"structure"` } @@ -39274,7 +43088,7 @@ func (s DisassociateAddressOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIamInstanceProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIamInstanceProfileRequest type DisassociateIamInstanceProfileInput struct { _ struct{} `type:"structure"` @@ -39313,7 +43127,7 @@ func (s *DisassociateIamInstanceProfileInput) SetAssociationId(v string) *Disass return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIamInstanceProfileResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIamInstanceProfileResult type DisassociateIamInstanceProfileOutput struct { _ struct{} `type:"structure"` @@ -39338,7 +43152,7 @@ func (s *DisassociateIamInstanceProfileOutput) SetIamInstanceProfileAssociation( } // Contains the parameters for DisassociateRouteTable. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateRouteTableRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateRouteTableRequest type DisassociateRouteTableInput struct { _ struct{} `type:"structure"` @@ -39390,7 +43204,7 @@ func (s *DisassociateRouteTableInput) SetDryRun(v bool) *DisassociateRouteTableI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateRouteTableOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateRouteTableOutput type DisassociateRouteTableOutput struct { _ struct{} `type:"structure"` } @@ -39405,7 +43219,7 @@ func (s DisassociateRouteTableOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSubnetCidrBlockRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSubnetCidrBlockRequest type DisassociateSubnetCidrBlockInput struct { _ struct{} `type:"structure"` @@ -39444,7 +43258,7 @@ func (s *DisassociateSubnetCidrBlockInput) SetAssociationId(v string) *Disassoci return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSubnetCidrBlockResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSubnetCidrBlockResult type DisassociateSubnetCidrBlockOutput struct { _ struct{} `type:"structure"` @@ -39477,7 +43291,7 @@ func (s *DisassociateSubnetCidrBlockOutput) SetSubnetId(v string) *DisassociateS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateVpcCidrBlockRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateVpcCidrBlockRequest type DisassociateVpcCidrBlockInput struct { _ struct{} `type:"structure"` @@ -39516,7 +43330,7 @@ func (s *DisassociateVpcCidrBlockInput) SetAssociationId(v string) *Disassociate return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateVpcCidrBlockResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateVpcCidrBlockResult type DisassociateVpcCidrBlockOutput struct { _ struct{} `type:"structure"` @@ -39559,7 +43373,7 @@ func (s *DisassociateVpcCidrBlockOutput) SetVpcId(v string) *DisassociateVpcCidr } // Describes a disk image. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DiskImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DiskImage type DiskImage struct { _ struct{} `type:"structure"` @@ -39622,7 +43436,7 @@ func (s *DiskImage) SetVolume(v *VolumeDetail) *DiskImage { } // Describes a disk image. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DiskImageDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DiskImageDescription type DiskImageDescription struct { _ struct{} `type:"structure"` @@ -39687,7 +43501,7 @@ func (s *DiskImageDescription) SetSize(v int64) *DiskImageDescription { } // Describes a disk image. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DiskImageDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DiskImageDetail type DiskImageDetail struct { _ struct{} `type:"structure"` @@ -39762,7 +43576,7 @@ func (s *DiskImageDetail) SetImportManifestUrl(v string) *DiskImageDetail { } // Describes a disk image volume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DiskImageVolumeDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DiskImageVolumeDescription type DiskImageVolumeDescription struct { _ struct{} `type:"structure"` @@ -39798,7 +43612,7 @@ func (s *DiskImageVolumeDescription) SetSize(v int64) *DiskImageVolumeDescriptio } // Describes a DNS entry. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DnsEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DnsEntry type DnsEntry struct { _ struct{} `type:"structure"` @@ -39832,7 +43646,7 @@ func (s *DnsEntry) SetHostedZoneId(v string) *DnsEntry { } // Describes a block device for an EBS volume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice type EbsBlockDevice struct { _ struct{} `type:"structure"` @@ -39860,6 +43674,14 @@ type EbsBlockDevice struct { // it is not used in requests to create gp2, st1, sc1, or standard volumes. Iops *int64 `locationName:"iops" type:"integer"` + // ID for a user-managed CMK under which the EBS volume is encrypted. + // + // Note: This parameter is only supported on BlockDeviceMapping objects called + // by RunInstances (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html), + // RequestSpotFleet (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html), + // and RequestSpotInstances (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html). + KmsKeyId *string `type:"string"` + // The ID of the snapshot. SnapshotId *string `locationName:"snapshotId" type:"string"` @@ -39909,6 +43731,12 @@ func (s *EbsBlockDevice) SetIops(v int64) *EbsBlockDevice { return s } +// SetKmsKeyId sets the KmsKeyId field's value. +func (s *EbsBlockDevice) SetKmsKeyId(v string) *EbsBlockDevice { + s.KmsKeyId = &v + return s +} + // SetSnapshotId sets the SnapshotId field's value. func (s *EbsBlockDevice) SetSnapshotId(v string) *EbsBlockDevice { s.SnapshotId = &v @@ -39928,7 +43756,7 @@ func (s *EbsBlockDevice) SetVolumeType(v string) *EbsBlockDevice { } // Describes a parameter used to set up an EBS volume in a block device mapping. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsInstanceBlockDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsInstanceBlockDevice type EbsInstanceBlockDevice struct { _ struct{} `type:"structure"` @@ -39981,7 +43809,7 @@ func (s *EbsInstanceBlockDevice) SetVolumeId(v string) *EbsInstanceBlockDevice { // Describes information used to set up an EBS volume specified in a block device // mapping. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsInstanceBlockDeviceSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsInstanceBlockDeviceSpecification type EbsInstanceBlockDeviceSpecification struct { _ struct{} `type:"structure"` @@ -40015,7 +43843,7 @@ func (s *EbsInstanceBlockDeviceSpecification) SetVolumeId(v string) *EbsInstance } // Describes an egress-only Internet gateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EgressOnlyInternetGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EgressOnlyInternetGateway type EgressOnlyInternetGateway struct { _ struct{} `type:"structure"` @@ -40049,7 +43877,7 @@ func (s *EgressOnlyInternetGateway) SetEgressOnlyInternetGatewayId(v string) *Eg } // Describes the association between an instance and an Elastic GPU. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuAssociation type ElasticGpuAssociation struct { _ struct{} `type:"structure"` @@ -40101,7 +43929,7 @@ func (s *ElasticGpuAssociation) SetElasticGpuId(v string) *ElasticGpuAssociation } // Describes the status of an Elastic GPU. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuHealth +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuHealth type ElasticGpuHealth struct { _ struct{} `type:"structure"` @@ -40126,7 +43954,7 @@ func (s *ElasticGpuHealth) SetStatus(v string) *ElasticGpuHealth { } // A specification for an Elastic GPU. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuSpecification type ElasticGpuSpecification struct { _ struct{} `type:"structure"` @@ -40165,8 +43993,33 @@ func (s *ElasticGpuSpecification) SetType(v string) *ElasticGpuSpecification { return s } +// Describes an elastic GPU. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuSpecificationResponse +type ElasticGpuSpecificationResponse struct { + _ struct{} `type:"structure"` + + // The elastic GPU type. + Type *string `locationName:"type" type:"string"` +} + +// String returns the string representation +func (s ElasticGpuSpecificationResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ElasticGpuSpecificationResponse) GoString() string { + return s.String() +} + +// SetType sets the Type field's value. +func (s *ElasticGpuSpecificationResponse) SetType(v string) *ElasticGpuSpecificationResponse { + s.Type = &v + return s +} + // Describes an Elastic GPU. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpus type ElasticGpus struct { _ struct{} `type:"structure"` @@ -40236,7 +44089,7 @@ func (s *ElasticGpus) SetInstanceId(v string) *ElasticGpus { } // Contains the parameters for EnableVgwRoutePropagation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVgwRoutePropagationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVgwRoutePropagationRequest type EnableVgwRoutePropagationInput struct { _ struct{} `type:"structure"` @@ -40289,7 +44142,7 @@ func (s *EnableVgwRoutePropagationInput) SetRouteTableId(v string) *EnableVgwRou return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVgwRoutePropagationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVgwRoutePropagationOutput type EnableVgwRoutePropagationOutput struct { _ struct{} `type:"structure"` } @@ -40305,7 +44158,7 @@ func (s EnableVgwRoutePropagationOutput) GoString() string { } // Contains the parameters for EnableVolumeIO. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVolumeIORequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVolumeIORequest type EnableVolumeIOInput struct { _ struct{} `type:"structure"` @@ -40356,7 +44209,7 @@ func (s *EnableVolumeIOInput) SetVolumeId(v string) *EnableVolumeIOInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVolumeIOOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVolumeIOOutput type EnableVolumeIOOutput struct { _ struct{} `type:"structure"` } @@ -40372,7 +44225,7 @@ func (s EnableVolumeIOOutput) GoString() string { } // Contains the parameters for EnableVpcClassicLinkDnsSupport. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkDnsSupportRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkDnsSupportRequest type EnableVpcClassicLinkDnsSupportInput struct { _ struct{} `type:"structure"` @@ -40397,7 +44250,7 @@ func (s *EnableVpcClassicLinkDnsSupportInput) SetVpcId(v string) *EnableVpcClass } // Contains the output of EnableVpcClassicLinkDnsSupport. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkDnsSupportResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkDnsSupportResult type EnableVpcClassicLinkDnsSupportOutput struct { _ struct{} `type:"structure"` @@ -40422,7 +44275,7 @@ func (s *EnableVpcClassicLinkDnsSupportOutput) SetReturn(v bool) *EnableVpcClass } // Contains the parameters for EnableVpcClassicLink. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkRequest type EnableVpcClassicLinkInput struct { _ struct{} `type:"structure"` @@ -40474,7 +44327,7 @@ func (s *EnableVpcClassicLinkInput) SetVpcId(v string) *EnableVpcClassicLinkInpu } // Contains the output of EnableVpcClassicLink. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkResult type EnableVpcClassicLinkOutput struct { _ struct{} `type:"structure"` @@ -40498,8 +44351,8 @@ func (s *EnableVpcClassicLinkOutput) SetReturn(v bool) *EnableVpcClassicLinkOutp return s } -// Describes a Spot fleet event. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EventInformation +// Describes a Spot Fleet event. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EventInformation type EventInformation struct { _ struct{} `type:"structure"` @@ -40510,7 +44363,7 @@ type EventInformation struct { // // The following are the error events: // - // * iamFleetRoleInvalid - The Spot fleet did not have the required permissions + // * iamFleetRoleInvalid - The Spot Fleet did not have the required permissions // either to launch or terminate an instance. // // * launchSpecTemporarilyBlacklisted - The configuration is not valid and @@ -40521,53 +44374,52 @@ type EventInformation struct { // For more information, see the description of the event. // // * spotInstanceCountLimitExceeded - You've reached the limit on the number - // of Spot instances that you can launch. + // of Spot Instances that you can launch. // // The following are the fleetRequestChange events: // - // * active - The Spot fleet has been validated and Amazon EC2 is attempting - // to maintain the target number of running Spot instances. + // * active - The Spot Fleet has been validated and Amazon EC2 is attempting + // to maintain the target number of running Spot Instances. // - // * cancelled - The Spot fleet is canceled and has no running Spot instances. - // The Spot fleet will be deleted two days after its instances were terminated. + // * cancelled - The Spot Fleet is canceled and has no running Spot Instances. + // The Spot Fleet will be deleted two days after its instances were terminated. // - // * cancelled_running - The Spot fleet is canceled and will not launch additional - // Spot instances, but its existing Spot instances continue to run until + // * cancelled_running - The Spot Fleet is canceled and will not launch additional + // Spot Instances, but its existing Spot Instances continue to run until // they are interrupted or terminated. // - // * cancelled_terminating - The Spot fleet is canceled and its Spot instances + // * cancelled_terminating - The Spot Fleet is canceled and its Spot Instances // are terminating. // - // * expired - The Spot fleet request has expired. A subsequent event indicates + // * expired - The Spot Fleet request has expired. A subsequent event indicates // that the instances were terminated, if the request was created with TerminateInstancesWithExpiration // set. // - // * modify_in_progress - A request to modify the Spot fleet request was + // * modify_in_progress - A request to modify the Spot Fleet request was // accepted and is in progress. // - // * modify_successful - The Spot fleet request was modified. + // * modify_successful - The Spot Fleet request was modified. // - // * price_update - The bid price for a launch configuration was adjusted - // because it was too high. This change is permanent. + // * price_update - The price for a launch configuration was adjusted because + // it was too high. This change is permanent. // - // * submitted - The Spot fleet request is being evaluated and Amazon EC2 - // is preparing to launch the target number of Spot instances. + // * submitted - The Spot Fleet request is being evaluated and Amazon EC2 + // is preparing to launch the target number of Spot Instances. // // The following are the instanceChange events: // - // * launched - A bid was fulfilled and a new instance was launched. + // * launched - A request was fulfilled and a new instance was launched. // // * terminated - An instance was terminated by the user. // // The following are the Information events: // - // * launchSpecUnusable - The bid price of a launch specification is not - // valid because it is below the market price or the market price is above - // the On-Demand price. + // * launchSpecUnusable - The price in a launch specification is not valid + // because it is below the Spot price or the Spot price is above the On-Demand + // price. // - // * fleetProgressHalted - The bid price of every launch specification is - // not valid. A launch specification might become valid if the market price - // changes. + // * fleetProgressHalted - The price in every launch specification is not + // valid. A launch specification might become valid if the Spot price changes. EventSubType *string `locationName:"eventSubType" type:"string"` // The ID of the instance. This information is available only for instanceChange @@ -40604,7 +44456,7 @@ func (s *EventInformation) SetInstanceId(v string) *EventInformation { } // Describes an instance export task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportTask type ExportTask struct { _ struct{} `type:"structure"` @@ -40674,7 +44526,7 @@ func (s *ExportTask) SetStatusMessage(v string) *ExportTask { } // Describes the format and location for an instance export task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportToS3Task +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportToS3Task type ExportToS3Task struct { _ struct{} `type:"structure"` @@ -40728,7 +44580,7 @@ func (s *ExportToS3Task) SetS3Key(v string) *ExportToS3Task { } // Describes an instance export task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportToS3TaskSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportToS3TaskSpecification type ExportToS3TaskSpecification struct { _ struct{} `type:"structure"` @@ -40785,7 +44637,7 @@ func (s *ExportToS3TaskSpecification) SetS3Prefix(v string) *ExportToS3TaskSpeci // A filter name and value pair that is used to return a more specific list // of results. Filters can be used to match a set of resources by various criteria, // such as tags, attributes, or IDs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Filter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Filter type Filter struct { _ struct{} `type:"structure"` @@ -40818,8 +44670,67 @@ func (s *Filter) SetValues(v []*string) *Filter { return s } +// Describes a launch template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetLaunchTemplateSpecification +type FleetLaunchTemplateSpecification struct { + _ struct{} `type:"structure"` + + // The ID of the launch template. You must specify either a template ID or a + // template name. + LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"` + + // The name of the launch template. You must specify either a template name + // or a template ID. + LaunchTemplateName *string `locationName:"launchTemplateName" min:"3" type:"string"` + + // The version number. By default, the default version of the launch template + // is used. + Version *string `locationName:"version" type:"string"` +} + +// String returns the string representation +func (s FleetLaunchTemplateSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s FleetLaunchTemplateSpecification) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FleetLaunchTemplateSpecification) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FleetLaunchTemplateSpecification"} + if s.LaunchTemplateName != nil && len(*s.LaunchTemplateName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLaunchTemplateId sets the LaunchTemplateId field's value. +func (s *FleetLaunchTemplateSpecification) SetLaunchTemplateId(v string) *FleetLaunchTemplateSpecification { + s.LaunchTemplateId = &v + return s +} + +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *FleetLaunchTemplateSpecification) SetLaunchTemplateName(v string) *FleetLaunchTemplateSpecification { + s.LaunchTemplateName = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *FleetLaunchTemplateSpecification) SetVersion(v string) *FleetLaunchTemplateSpecification { + s.Version = &v + return s +} + // Describes a flow log. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlowLog +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlowLog type FlowLog struct { _ struct{} `type:"structure"` @@ -40921,7 +44832,7 @@ func (s *FlowLog) SetTrafficType(v string) *FlowLog { } // Describes an Amazon FPGA image (AFI). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FpgaImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FpgaImage type FpgaImage struct { _ struct{} `type:"structure"` @@ -41063,7 +44974,7 @@ func (s *FpgaImage) SetUpdateTime(v time.Time) *FpgaImage { } // Describes an Amazon FPGA image (AFI) attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FpgaImageAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FpgaImageAttribute type FpgaImageAttribute struct { _ struct{} `type:"structure"` @@ -41125,7 +45036,7 @@ func (s *FpgaImageAttribute) SetProductCodes(v []*ProductCode) *FpgaImageAttribu // Describes the state of the bitstream generation process for an Amazon FPGA // image (AFI). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FpgaImageState +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FpgaImageState type FpgaImageState struct { _ struct{} `type:"structure"` @@ -41167,7 +45078,7 @@ func (s *FpgaImageState) SetMessage(v string) *FpgaImageState { } // Contains the parameters for GetConsoleOutput. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleOutputRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleOutputRequest type GetConsoleOutputInput struct { _ struct{} `type:"structure"` @@ -41219,7 +45130,7 @@ func (s *GetConsoleOutputInput) SetInstanceId(v string) *GetConsoleOutputInput { } // Contains the output of GetConsoleOutput. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleOutputResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleOutputResult type GetConsoleOutputOutput struct { _ struct{} `type:"structure"` @@ -41263,7 +45174,7 @@ func (s *GetConsoleOutputOutput) SetTimestamp(v time.Time) *GetConsoleOutputOutp } // Contains the parameters for the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleScreenshotRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleScreenshotRequest type GetConsoleScreenshotInput struct { _ struct{} `type:"structure"` @@ -41325,7 +45236,7 @@ func (s *GetConsoleScreenshotInput) SetWakeUp(v bool) *GetConsoleScreenshotInput } // Contains the output of the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleScreenshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleScreenshotResult type GetConsoleScreenshotOutput struct { _ struct{} `type:"structure"` @@ -41358,7 +45269,7 @@ func (s *GetConsoleScreenshotOutput) SetInstanceId(v string) *GetConsoleScreensh return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetHostReservationPurchasePreviewRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetHostReservationPurchasePreviewRequest type GetHostReservationPurchasePreviewInput struct { _ struct{} `type:"structure"` @@ -41412,7 +45323,7 @@ func (s *GetHostReservationPurchasePreviewInput) SetOfferingId(v string) *GetHos return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetHostReservationPurchasePreviewResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetHostReservationPurchasePreviewResult type GetHostReservationPurchasePreviewOutput struct { _ struct{} `type:"structure"` @@ -41465,8 +45376,83 @@ func (s *GetHostReservationPurchasePreviewOutput) SetTotalUpfrontPrice(v string) return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateDataRequest +type GetLaunchTemplateDataInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the instance. + // + // InstanceId is a required field + InstanceId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s GetLaunchTemplateDataInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetLaunchTemplateDataInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetLaunchTemplateDataInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetLaunchTemplateDataInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *GetLaunchTemplateDataInput) SetDryRun(v bool) *GetLaunchTemplateDataInput { + s.DryRun = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *GetLaunchTemplateDataInput) SetInstanceId(v string) *GetLaunchTemplateDataInput { + s.InstanceId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateDataResult +type GetLaunchTemplateDataOutput struct { + _ struct{} `type:"structure"` + + // The instance data. + LaunchTemplateData *ResponseLaunchTemplateData `locationName:"launchTemplateData" type:"structure"` +} + +// String returns the string representation +func (s GetLaunchTemplateDataOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetLaunchTemplateDataOutput) GoString() string { + return s.String() +} + +// SetLaunchTemplateData sets the LaunchTemplateData field's value. +func (s *GetLaunchTemplateDataOutput) SetLaunchTemplateData(v *ResponseLaunchTemplateData) *GetLaunchTemplateDataOutput { + s.LaunchTemplateData = v + return s +} + // Contains the parameters for GetPasswordData. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetPasswordDataRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetPasswordDataRequest type GetPasswordDataInput struct { _ struct{} `type:"structure"` @@ -41518,7 +45504,7 @@ func (s *GetPasswordDataInput) SetInstanceId(v string) *GetPasswordDataInput { } // Contains the output of GetPasswordData. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetPasswordDataResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetPasswordDataResult type GetPasswordDataOutput struct { _ struct{} `type:"structure"` @@ -41562,7 +45548,7 @@ func (s *GetPasswordDataOutput) SetTimestamp(v time.Time) *GetPasswordDataOutput } // Contains the parameters for GetReservedInstanceExchangeQuote. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetReservedInstancesExchangeQuoteRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetReservedInstancesExchangeQuoteRequest type GetReservedInstancesExchangeQuoteInput struct { _ struct{} `type:"structure"` @@ -41634,7 +45620,7 @@ func (s *GetReservedInstancesExchangeQuoteInput) SetTargetConfigurations(v []*Ta } // Contains the output of GetReservedInstancesExchangeQuote. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetReservedInstancesExchangeQuoteResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetReservedInstancesExchangeQuoteResult type GetReservedInstancesExchangeQuoteOutput struct { _ struct{} `type:"structure"` @@ -41731,7 +45717,7 @@ func (s *GetReservedInstancesExchangeQuoteOutput) SetValidationFailureReason(v s } // Describes a security group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GroupIdentifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GroupIdentifier type GroupIdentifier struct { _ struct{} `type:"structure"` @@ -41764,8 +45750,8 @@ func (s *GroupIdentifier) SetGroupName(v string) *GroupIdentifier { return s } -// Describes an event in the history of the Spot fleet request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HistoryRecord +// Describes an event in the history of the Spot Fleet request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HistoryRecord type HistoryRecord struct { _ struct{} `type:"structure"` @@ -41776,10 +45762,10 @@ type HistoryRecord struct { // The event type. // - // * error - An error with the Spot fleet request. + // * error - An error with the Spot Fleet request. // // * fleetRequestChange - A change in the status or configuration of the - // Spot fleet request. + // Spot Fleet request. // // * instanceChange - An instance was launched or terminated. // @@ -41823,7 +45809,7 @@ func (s *HistoryRecord) SetTimestamp(v time.Time) *HistoryRecord { } // Describes the properties of the Dedicated Host. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Host +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Host type Host struct { _ struct{} `type:"structure"` @@ -41923,7 +45909,7 @@ func (s *Host) SetState(v string) *Host { } // Describes an instance running on a Dedicated Host. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostInstance type HostInstance struct { _ struct{} `type:"structure"` @@ -41957,7 +45943,7 @@ func (s *HostInstance) SetInstanceType(v string) *HostInstance { } // Details about the Dedicated Host Reservation offering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostOffering type HostOffering struct { _ struct{} `type:"structure"` @@ -42036,7 +46022,7 @@ func (s *HostOffering) SetUpfrontPrice(v string) *HostOffering { } // Describes properties of a Dedicated Host. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostProperties +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostProperties type HostProperties struct { _ struct{} `type:"structure"` @@ -42088,7 +46074,7 @@ func (s *HostProperties) SetTotalVCpus(v int64) *HostProperties { } // Details about the Dedicated Host Reservation and associated Dedicated Hosts. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostReservation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostReservation type HostReservation struct { _ struct{} `type:"structure"` @@ -42226,7 +46212,7 @@ func (s *HostReservation) SetUpfrontPrice(v string) *HostReservation { } // Describes an IAM instance profile. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IamInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IamInstanceProfile type IamInstanceProfile struct { _ struct{} `type:"structure"` @@ -42260,7 +46246,7 @@ func (s *IamInstanceProfile) SetId(v string) *IamInstanceProfile { } // Describes an association between an IAM instance profile and an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IamInstanceProfileAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IamInstanceProfileAssociation type IamInstanceProfileAssociation struct { _ struct{} `type:"structure"` @@ -42321,7 +46307,7 @@ func (s *IamInstanceProfileAssociation) SetTimestamp(v time.Time) *IamInstancePr } // Describes an IAM instance profile. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IamInstanceProfileSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IamInstanceProfileSpecification type IamInstanceProfileSpecification struct { _ struct{} `type:"structure"` @@ -42355,7 +46341,7 @@ func (s *IamInstanceProfileSpecification) SetName(v string) *IamInstanceProfileS } // Describes the ICMP type and code. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IcmpTypeCode +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IcmpTypeCode type IcmpTypeCode struct { _ struct{} `type:"structure"` @@ -42389,7 +46375,7 @@ func (s *IcmpTypeCode) SetType(v int64) *IcmpTypeCode { } // Describes the ID format for a resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IdFormat +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IdFormat type IdFormat struct { _ struct{} `type:"structure"` @@ -42434,7 +46420,7 @@ func (s *IdFormat) SetUseLongIds(v bool) *IdFormat { } // Describes an image. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Image +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Image type Image struct { _ struct{} `type:"structure"` @@ -42674,7 +46660,7 @@ func (s *Image) SetVirtualizationType(v string) *Image { } // Describes the disk container object for an import image task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageDiskContainer +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageDiskContainer type ImageDiskContainer struct { _ struct{} `type:"structure"` @@ -42747,7 +46733,7 @@ func (s *ImageDiskContainer) SetUserBucket(v *UserBucket) *ImageDiskContainer { } // Contains the parameters for ImportImage. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageRequest type ImportImageInput struct { _ struct{} `type:"structure"` @@ -42869,7 +46855,7 @@ func (s *ImportImageInput) SetRoleName(v string) *ImportImageInput { } // Contains the output for ImportImage. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageResult type ImportImageOutput struct { _ struct{} `type:"structure"` @@ -42984,7 +46970,7 @@ func (s *ImportImageOutput) SetStatusMessage(v string) *ImportImageOutput { } // Describes an import image task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageTask type ImportImageTask struct { _ struct{} `type:"structure"` @@ -43103,7 +47089,7 @@ func (s *ImportImageTask) SetStatusMessage(v string) *ImportImageTask { } // Contains the parameters for ImportInstance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceRequest type ImportInstanceInput struct { _ struct{} `type:"structure"` @@ -43192,7 +47178,7 @@ func (s *ImportInstanceInput) SetPlatform(v string) *ImportInstanceInput { } // Describes the launch specification for VM import. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceLaunchSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceLaunchSpecification type ImportInstanceLaunchSpecification struct { _ struct{} `type:"structure"` @@ -43312,7 +47298,7 @@ func (s *ImportInstanceLaunchSpecification) SetUserData(v *UserData) *ImportInst } // Contains the output for ImportInstance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceResult type ImportInstanceOutput struct { _ struct{} `type:"structure"` @@ -43337,7 +47323,7 @@ func (s *ImportInstanceOutput) SetConversionTask(v *ConversionTask) *ImportInsta } // Describes an import instance task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceTaskDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceTaskDetails type ImportInstanceTaskDetails struct { _ struct{} `type:"structure"` @@ -43391,7 +47377,7 @@ func (s *ImportInstanceTaskDetails) SetVolumes(v []*ImportInstanceVolumeDetailIt } // Describes an import volume task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceVolumeDetailItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceVolumeDetailItem type ImportInstanceVolumeDetailItem struct { _ struct{} `type:"structure"` @@ -43480,7 +47466,7 @@ func (s *ImportInstanceVolumeDetailItem) SetVolume(v *DiskImageVolumeDescription } // Contains the parameters for ImportKeyPair. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportKeyPairRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportKeyPairRequest type ImportKeyPairInput struct { _ struct{} `type:"structure"` @@ -43549,7 +47535,7 @@ func (s *ImportKeyPairInput) SetPublicKeyMaterial(v []byte) *ImportKeyPairInput } // Contains the output of ImportKeyPair. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportKeyPairResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportKeyPairResult type ImportKeyPairOutput struct { _ struct{} `type:"structure"` @@ -43583,7 +47569,7 @@ func (s *ImportKeyPairOutput) SetKeyName(v string) *ImportKeyPairOutput { } // Contains the parameters for ImportSnapshot. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshotRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshotRequest type ImportSnapshotInput struct { _ struct{} `type:"structure"` @@ -43656,7 +47642,7 @@ func (s *ImportSnapshotInput) SetRoleName(v string) *ImportSnapshotInput { } // Contains the output for ImportSnapshot. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshotResult type ImportSnapshotOutput struct { _ struct{} `type:"structure"` @@ -43699,7 +47685,7 @@ func (s *ImportSnapshotOutput) SetSnapshotTaskDetail(v *SnapshotTaskDetail) *Imp } // Describes an import snapshot task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshotTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshotTask type ImportSnapshotTask struct { _ struct{} `type:"structure"` @@ -43742,7 +47728,7 @@ func (s *ImportSnapshotTask) SetSnapshotTaskDetail(v *SnapshotTaskDetail) *Impor } // Contains the parameters for ImportVolume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolumeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolumeRequest type ImportVolumeInput struct { _ struct{} `type:"structure"` @@ -43841,7 +47827,7 @@ func (s *ImportVolumeInput) SetVolume(v *VolumeDetail) *ImportVolumeInput { } // Contains the output for ImportVolume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolumeResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolumeResult type ImportVolumeOutput struct { _ struct{} `type:"structure"` @@ -43866,7 +47852,7 @@ func (s *ImportVolumeOutput) SetConversionTask(v *ConversionTask) *ImportVolumeO } // Describes an import volume task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolumeTaskDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolumeTaskDetails type ImportVolumeTaskDetails struct { _ struct{} `type:"structure"` @@ -43935,7 +47921,7 @@ func (s *ImportVolumeTaskDetails) SetVolume(v *DiskImageVolumeDescription) *Impo } // Describes an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Instance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Instance type Instance struct { _ struct{} `type:"structure"` @@ -44324,7 +48310,7 @@ func (s *Instance) SetVpcId(v string) *Instance { } // Describes a block device mapping. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceBlockDeviceMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceBlockDeviceMapping type InstanceBlockDeviceMapping struct { _ struct{} `type:"structure"` @@ -44359,7 +48345,7 @@ func (s *InstanceBlockDeviceMapping) SetEbs(v *EbsInstanceBlockDevice) *Instance } // Describes a block device mapping entry. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceBlockDeviceMappingSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceBlockDeviceMappingSpecification type InstanceBlockDeviceMappingSpecification struct { _ struct{} `type:"structure"` @@ -44412,7 +48398,7 @@ func (s *InstanceBlockDeviceMappingSpecification) SetVirtualName(v string) *Inst } // Information about the instance type that the Dedicated Host supports. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceCapacity +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceCapacity type InstanceCapacity struct { _ struct{} `type:"structure"` @@ -44455,7 +48441,7 @@ func (s *InstanceCapacity) SetTotalCapacity(v int64) *InstanceCapacity { } // Describes a Reserved Instance listing state. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceCount +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceCount type InstanceCount struct { _ struct{} `type:"structure"` @@ -44488,8 +48474,78 @@ func (s *InstanceCount) SetState(v string) *InstanceCount { return s } +// Describes the credit option for CPU usage of a T2 instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceCreditSpecification +type InstanceCreditSpecification struct { + _ struct{} `type:"structure"` + + // The credit option for CPU usage of the instance. Valid values are standard + // and unlimited. + CpuCredits *string `locationName:"cpuCredits" type:"string"` + + // The ID of the instance. + InstanceId *string `locationName:"instanceId" type:"string"` +} + +// String returns the string representation +func (s InstanceCreditSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InstanceCreditSpecification) GoString() string { + return s.String() +} + +// SetCpuCredits sets the CpuCredits field's value. +func (s *InstanceCreditSpecification) SetCpuCredits(v string) *InstanceCreditSpecification { + s.CpuCredits = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *InstanceCreditSpecification) SetInstanceId(v string) *InstanceCreditSpecification { + s.InstanceId = &v + return s +} + +// Describes the credit option for CPU usage of a T2 instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceCreditSpecificationRequest +type InstanceCreditSpecificationRequest struct { + _ struct{} `type:"structure"` + + // The credit option for CPU usage of the instance. Valid values are standard + // and unlimited. + CpuCredits *string `type:"string"` + + // The ID of the instance. + InstanceId *string `type:"string"` +} + +// String returns the string representation +func (s InstanceCreditSpecificationRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InstanceCreditSpecificationRequest) GoString() string { + return s.String() +} + +// SetCpuCredits sets the CpuCredits field's value. +func (s *InstanceCreditSpecificationRequest) SetCpuCredits(v string) *InstanceCreditSpecificationRequest { + s.CpuCredits = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *InstanceCreditSpecificationRequest) SetInstanceId(v string) *InstanceCreditSpecificationRequest { + s.InstanceId = &v + return s +} + // Describes an instance to export. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceExportDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceExportDetails type InstanceExportDetails struct { _ struct{} `type:"structure"` @@ -44523,7 +48579,7 @@ func (s *InstanceExportDetails) SetTargetEnvironment(v string) *InstanceExportDe } // Describes an IPv6 address. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceIpv6Address +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceIpv6Address type InstanceIpv6Address struct { _ struct{} `type:"structure"` @@ -44547,8 +48603,67 @@ func (s *InstanceIpv6Address) SetIpv6Address(v string) *InstanceIpv6Address { return s } +// Describes an IPv6 address. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceIpv6AddressRequest +type InstanceIpv6AddressRequest struct { + _ struct{} `type:"structure"` + + // The IPv6 address. + Ipv6Address *string `type:"string"` +} + +// String returns the string representation +func (s InstanceIpv6AddressRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InstanceIpv6AddressRequest) GoString() string { + return s.String() +} + +// SetIpv6Address sets the Ipv6Address field's value. +func (s *InstanceIpv6AddressRequest) SetIpv6Address(v string) *InstanceIpv6AddressRequest { + s.Ipv6Address = &v + return s +} + +// Describes the market (purchasing) option for the instances. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceMarketOptionsRequest +type InstanceMarketOptionsRequest struct { + _ struct{} `type:"structure"` + + // The market type. + MarketType *string `type:"string" enum:"MarketType"` + + // The options for Spot Instances. + SpotOptions *SpotMarketOptions `type:"structure"` +} + +// String returns the string representation +func (s InstanceMarketOptionsRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InstanceMarketOptionsRequest) GoString() string { + return s.String() +} + +// SetMarketType sets the MarketType field's value. +func (s *InstanceMarketOptionsRequest) SetMarketType(v string) *InstanceMarketOptionsRequest { + s.MarketType = &v + return s +} + +// SetSpotOptions sets the SpotOptions field's value. +func (s *InstanceMarketOptionsRequest) SetSpotOptions(v *SpotMarketOptions) *InstanceMarketOptionsRequest { + s.SpotOptions = v + return s +} + // Describes the monitoring of an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceMonitoring +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceMonitoring type InstanceMonitoring struct { _ struct{} `type:"structure"` @@ -44582,7 +48697,7 @@ func (s *InstanceMonitoring) SetMonitoring(v *Monitoring) *InstanceMonitoring { } // Describes a network interface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterface type InstanceNetworkInterface struct { _ struct{} `type:"structure"` @@ -44734,7 +48849,7 @@ func (s *InstanceNetworkInterface) SetVpcId(v string) *InstanceNetworkInterface } // Describes association information for an Elastic IP address (IPv4). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterfaceAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterfaceAssociation type InstanceNetworkInterfaceAssociation struct { _ struct{} `type:"structure"` @@ -44777,7 +48892,7 @@ func (s *InstanceNetworkInterfaceAssociation) SetPublicIp(v string) *InstanceNet } // Describes a network interface attachment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterfaceAttachment +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterfaceAttachment type InstanceNetworkInterfaceAttachment struct { _ struct{} `type:"structure"` @@ -44838,7 +48953,7 @@ func (s *InstanceNetworkInterfaceAttachment) SetStatus(v string) *InstanceNetwor } // Describes a network interface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterfaceSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterfaceSpecification type InstanceNetworkInterfaceSpecification struct { _ struct{} `type:"structure"` @@ -45008,7 +49123,7 @@ func (s *InstanceNetworkInterfaceSpecification) SetSubnetId(v string) *InstanceN } // Describes a private IPv4 address. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstancePrivateIpAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstancePrivateIpAddress type InstancePrivateIpAddress struct { _ struct{} `type:"structure"` @@ -45061,7 +49176,7 @@ func (s *InstancePrivateIpAddress) SetPrivateIpAddress(v string) *InstancePrivat } // Describes the current state of an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceState +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceState type InstanceState struct { _ struct{} `type:"structure"` @@ -45108,7 +49223,7 @@ func (s *InstanceState) SetName(v string) *InstanceState { } // Describes an instance state change. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStateChange +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStateChange type InstanceStateChange struct { _ struct{} `type:"structure"` @@ -45151,7 +49266,7 @@ func (s *InstanceStateChange) SetPreviousState(v *InstanceState) *InstanceStateC } // Describes the status of an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatus type InstanceStatus struct { _ struct{} `type:"structure"` @@ -45225,7 +49340,7 @@ func (s *InstanceStatus) SetSystemStatus(v *InstanceStatusSummary) *InstanceStat } // Describes the instance status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatusDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatusDetails type InstanceStatusDetails struct { _ struct{} `type:"structure"` @@ -45269,7 +49384,7 @@ func (s *InstanceStatusDetails) SetStatus(v string) *InstanceStatusDetails { } // Describes a scheduled event for an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatusEvent +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatusEvent type InstanceStatusEvent struct { _ struct{} `type:"structure"` @@ -45325,7 +49440,7 @@ func (s *InstanceStatusEvent) SetNotBefore(v time.Time) *InstanceStatusEvent { } // Describes the status of an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatusSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatusSummary type InstanceStatusSummary struct { _ struct{} `type:"structure"` @@ -45359,7 +49474,7 @@ func (s *InstanceStatusSummary) SetStatus(v string) *InstanceStatusSummary { } // Describes an Internet gateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InternetGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InternetGateway type InternetGateway struct { _ struct{} `type:"structure"` @@ -45403,7 +49518,7 @@ func (s *InternetGateway) SetTags(v []*Tag) *InternetGateway { // Describes the attachment of a VPC to an Internet gateway or an egress-only // Internet gateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InternetGatewayAttachment +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InternetGatewayAttachment type InternetGatewayAttachment struct { _ struct{} `type:"structure"` @@ -45437,7 +49552,7 @@ func (s *InternetGatewayAttachment) SetVpcId(v string) *InternetGatewayAttachmen } // Describes a set of permissions for a security group rule. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpPermission type IpPermission struct { _ struct{} `type:"structure"` @@ -45530,7 +49645,7 @@ func (s *IpPermission) SetUserIdGroupPairs(v []*UserIdGroupPair) *IpPermission { } // Describes an IPv4 range. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpRange +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpRange type IpRange struct { _ struct{} `type:"structure"` @@ -45569,7 +49684,7 @@ func (s *IpRange) SetDescription(v string) *IpRange { } // Describes an IPv6 CIDR block. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6CidrBlock +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6CidrBlock type Ipv6CidrBlock struct { _ struct{} `type:"structure"` @@ -45594,7 +49709,7 @@ func (s *Ipv6CidrBlock) SetIpv6CidrBlock(v string) *Ipv6CidrBlock { } // [EC2-VPC only] Describes an IPv6 range. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6Range +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6Range type Ipv6Range struct { _ struct{} `type:"structure"` @@ -45633,7 +49748,7 @@ func (s *Ipv6Range) SetDescription(v string) *Ipv6Range { } // Describes a key pair. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/KeyPairInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/KeyPairInfo type KeyPairInfo struct { _ struct{} `type:"structure"` @@ -45670,7 +49785,7 @@ func (s *KeyPairInfo) SetKeyName(v string) *KeyPairInfo { } // Describes a launch permission. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchPermission type LaunchPermission struct { _ struct{} `type:"structure"` @@ -45704,7 +49819,7 @@ func (s *LaunchPermission) SetUserId(v string) *LaunchPermission { } // Describes a launch permission modification. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchPermissionModifications +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchPermissionModifications type LaunchPermissionModifications struct { _ struct{} `type:"structure"` @@ -45739,7 +49854,7 @@ func (s *LaunchPermissionModifications) SetRemove(v []*LaunchPermission) *Launch } // Describes the launch specification for an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchSpecification type LaunchSpecification struct { _ struct{} `type:"structure"` @@ -45900,222 +50015,226 @@ func (s *LaunchSpecification) SetUserData(v string) *LaunchSpecification { return s } -// Describes the Classic Load Balancers and target groups to attach to a Spot -// fleet request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadBalancersConfig -type LoadBalancersConfig struct { +// Describes a launch template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplate +type LaunchTemplate struct { _ struct{} `type:"structure"` - // The Classic Load Balancers. - ClassicLoadBalancersConfig *ClassicLoadBalancersConfig `locationName:"classicLoadBalancersConfig" type:"structure"` + // The time launch template was created. + CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"iso8601"` - // The target groups. - TargetGroupsConfig *TargetGroupsConfig `locationName:"targetGroupsConfig" type:"structure"` + // The principal that created the launch template. + CreatedBy *string `locationName:"createdBy" type:"string"` + + // The version number of the default version of the launch template. + DefaultVersionNumber *int64 `locationName:"defaultVersionNumber" type:"long"` + + // The version number of the latest version of the launch template. + LatestVersionNumber *int64 `locationName:"latestVersionNumber" type:"long"` + + // The ID of the launch template. + LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"` + + // The name of the launch template. + LaunchTemplateName *string `locationName:"launchTemplateName" min:"3" type:"string"` + + // The tags for the launch template. + Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` } // String returns the string representation -func (s LoadBalancersConfig) String() string { +func (s LaunchTemplate) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s LoadBalancersConfig) GoString() string { +func (s LaunchTemplate) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *LoadBalancersConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "LoadBalancersConfig"} - if s.ClassicLoadBalancersConfig != nil { - if err := s.ClassicLoadBalancersConfig.Validate(); err != nil { - invalidParams.AddNested("ClassicLoadBalancersConfig", err.(request.ErrInvalidParams)) - } - } - if s.TargetGroupsConfig != nil { - if err := s.TargetGroupsConfig.Validate(); err != nil { - invalidParams.AddNested("TargetGroupsConfig", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClassicLoadBalancersConfig sets the ClassicLoadBalancersConfig field's value. -func (s *LoadBalancersConfig) SetClassicLoadBalancersConfig(v *ClassicLoadBalancersConfig) *LoadBalancersConfig { - s.ClassicLoadBalancersConfig = v +// SetCreateTime sets the CreateTime field's value. +func (s *LaunchTemplate) SetCreateTime(v time.Time) *LaunchTemplate { + s.CreateTime = &v return s } -// SetTargetGroupsConfig sets the TargetGroupsConfig field's value. -func (s *LoadBalancersConfig) SetTargetGroupsConfig(v *TargetGroupsConfig) *LoadBalancersConfig { - s.TargetGroupsConfig = v +// SetCreatedBy sets the CreatedBy field's value. +func (s *LaunchTemplate) SetCreatedBy(v string) *LaunchTemplate { + s.CreatedBy = &v return s } -// Describes a load permission. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadPermission -type LoadPermission struct { - _ struct{} `type:"structure"` - - // The name of the group. - Group *string `locationName:"group" type:"string" enum:"PermissionGroup"` - - // The AWS account ID. - UserId *string `locationName:"userId" type:"string"` +// SetDefaultVersionNumber sets the DefaultVersionNumber field's value. +func (s *LaunchTemplate) SetDefaultVersionNumber(v int64) *LaunchTemplate { + s.DefaultVersionNumber = &v + return s } -// String returns the string representation -func (s LoadPermission) String() string { - return awsutil.Prettify(s) +// SetLatestVersionNumber sets the LatestVersionNumber field's value. +func (s *LaunchTemplate) SetLatestVersionNumber(v int64) *LaunchTemplate { + s.LatestVersionNumber = &v + return s } -// GoString returns the string representation -func (s LoadPermission) GoString() string { - return s.String() +// SetLaunchTemplateId sets the LaunchTemplateId field's value. +func (s *LaunchTemplate) SetLaunchTemplateId(v string) *LaunchTemplate { + s.LaunchTemplateId = &v + return s } -// SetGroup sets the Group field's value. -func (s *LoadPermission) SetGroup(v string) *LoadPermission { - s.Group = &v +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *LaunchTemplate) SetLaunchTemplateName(v string) *LaunchTemplate { + s.LaunchTemplateName = &v return s } -// SetUserId sets the UserId field's value. -func (s *LoadPermission) SetUserId(v string) *LoadPermission { - s.UserId = &v +// SetTags sets the Tags field's value. +func (s *LaunchTemplate) SetTags(v []*Tag) *LaunchTemplate { + s.Tags = v return s } -// Describes modifications to the load permissions of an Amazon FPGA image (AFI). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadPermissionModifications -type LoadPermissionModifications struct { +// Describes a block device mapping. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateBlockDeviceMapping +type LaunchTemplateBlockDeviceMapping struct { _ struct{} `type:"structure"` - // The load permissions to add. - Add []*LoadPermissionRequest `locationNameList:"item" type:"list"` + // The device name. + DeviceName *string `locationName:"deviceName" type:"string"` - // The load permissions to remove. - Remove []*LoadPermissionRequest `locationNameList:"item" type:"list"` + // Information about the block device for an EBS volume. + Ebs *LaunchTemplateEbsBlockDevice `locationName:"ebs" type:"structure"` + + // Suppresses the specified device included in the block device mapping of the + // AMI. + NoDevice *string `locationName:"noDevice" type:"string"` + + // The virtual device name (ephemeralN). + VirtualName *string `locationName:"virtualName" type:"string"` } // String returns the string representation -func (s LoadPermissionModifications) String() string { +func (s LaunchTemplateBlockDeviceMapping) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s LoadPermissionModifications) GoString() string { +func (s LaunchTemplateBlockDeviceMapping) GoString() string { return s.String() } -// SetAdd sets the Add field's value. -func (s *LoadPermissionModifications) SetAdd(v []*LoadPermissionRequest) *LoadPermissionModifications { - s.Add = v +// SetDeviceName sets the DeviceName field's value. +func (s *LaunchTemplateBlockDeviceMapping) SetDeviceName(v string) *LaunchTemplateBlockDeviceMapping { + s.DeviceName = &v return s } -// SetRemove sets the Remove field's value. -func (s *LoadPermissionModifications) SetRemove(v []*LoadPermissionRequest) *LoadPermissionModifications { - s.Remove = v +// SetEbs sets the Ebs field's value. +func (s *LaunchTemplateBlockDeviceMapping) SetEbs(v *LaunchTemplateEbsBlockDevice) *LaunchTemplateBlockDeviceMapping { + s.Ebs = v return s } -// Describes a load permission. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadPermissionRequest -type LoadPermissionRequest struct { +// SetNoDevice sets the NoDevice field's value. +func (s *LaunchTemplateBlockDeviceMapping) SetNoDevice(v string) *LaunchTemplateBlockDeviceMapping { + s.NoDevice = &v + return s +} + +// SetVirtualName sets the VirtualName field's value. +func (s *LaunchTemplateBlockDeviceMapping) SetVirtualName(v string) *LaunchTemplateBlockDeviceMapping { + s.VirtualName = &v + return s +} + +// Describes a block device mapping. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateBlockDeviceMappingRequest +type LaunchTemplateBlockDeviceMappingRequest struct { _ struct{} `type:"structure"` - // The name of the group. - Group *string `type:"string" enum:"PermissionGroup"` + // The device name (for example, /dev/sdh or xvdh). + DeviceName *string `type:"string"` - // The AWS account ID. - UserId *string `type:"string"` + // Parameters used to automatically set up EBS volumes when the instance is + // launched. + Ebs *LaunchTemplateEbsBlockDeviceRequest `type:"structure"` + + // Suppresses the specified device included in the block device mapping of the + // AMI. + NoDevice *string `type:"string"` + + // The virtual device name (ephemeralN). Instance store volumes are numbered + // starting from 0. An instance type with 2 available instance store volumes + // can specify mappings for ephemeral0 and ephemeral1. The number of available + // instance store volumes depends on the instance type. After you connect to + // the instance, you must mount the volume. + VirtualName *string `type:"string"` } // String returns the string representation -func (s LoadPermissionRequest) String() string { +func (s LaunchTemplateBlockDeviceMappingRequest) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s LoadPermissionRequest) GoString() string { +func (s LaunchTemplateBlockDeviceMappingRequest) GoString() string { return s.String() } -// SetGroup sets the Group field's value. -func (s *LoadPermissionRequest) SetGroup(v string) *LoadPermissionRequest { - s.Group = &v +// SetDeviceName sets the DeviceName field's value. +func (s *LaunchTemplateBlockDeviceMappingRequest) SetDeviceName(v string) *LaunchTemplateBlockDeviceMappingRequest { + s.DeviceName = &v return s } -// SetUserId sets the UserId field's value. -func (s *LoadPermissionRequest) SetUserId(v string) *LoadPermissionRequest { - s.UserId = &v +// SetEbs sets the Ebs field's value. +func (s *LaunchTemplateBlockDeviceMappingRequest) SetEbs(v *LaunchTemplateEbsBlockDeviceRequest) *LaunchTemplateBlockDeviceMappingRequest { + s.Ebs = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttributeRequest -type ModifyFpgaImageAttributeInput struct { - _ struct{} `type:"structure"` - - // The name of the attribute. - Attribute *string `type:"string" enum:"FpgaImageAttributeName"` - - // A description for the AFI. - Description *string `type:"string"` - - // Checks whether you have the required permissions for the action, without - // actually making the request, and provides an error response. If you have - // the required permissions, the error response is DryRunOperation. Otherwise, - // it is UnauthorizedOperation. - DryRun *bool `type:"boolean"` - - // The ID of the AFI. - // - // FpgaImageId is a required field - FpgaImageId *string `type:"string" required:"true"` - - // The load permission for the AFI. - LoadPermission *LoadPermissionModifications `type:"structure"` - - // A name for the AFI. - Name *string `type:"string"` +// SetNoDevice sets the NoDevice field's value. +func (s *LaunchTemplateBlockDeviceMappingRequest) SetNoDevice(v string) *LaunchTemplateBlockDeviceMappingRequest { + s.NoDevice = &v + return s +} - // The operation type. - OperationType *string `type:"string" enum:"OperationType"` +// SetVirtualName sets the VirtualName field's value. +func (s *LaunchTemplateBlockDeviceMappingRequest) SetVirtualName(v string) *LaunchTemplateBlockDeviceMappingRequest { + s.VirtualName = &v + return s +} - // One or more product codes. After you add a product code to an AFI, it can't - // be removed. This parameter is valid only when modifying the productCodes - // attribute. - ProductCodes []*string `locationName:"ProductCode" locationNameList:"ProductCode" type:"list"` +// Describes a launch template and overrides. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateConfig +type LaunchTemplateConfig struct { + _ struct{} `type:"structure"` - // One or more user groups. This parameter is valid only when modifying the - // loadPermission attribute. - UserGroups []*string `locationName:"UserGroup" locationNameList:"UserGroup" type:"list"` + // The launch template. + LaunchTemplateSpecification *FleetLaunchTemplateSpecification `locationName:"launchTemplateSpecification" type:"structure"` - // One or more AWS account IDs. This parameter is valid only when modifying - // the loadPermission attribute. - UserIds []*string `locationName:"UserId" locationNameList:"UserId" type:"list"` + // Any parameters that you specify override the same parameters in the launch + // template. + Overrides []*LaunchTemplateOverrides `locationName:"overrides" locationNameList:"item" type:"list"` } // String returns the string representation -func (s ModifyFpgaImageAttributeInput) String() string { +func (s LaunchTemplateConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ModifyFpgaImageAttributeInput) GoString() string { +func (s LaunchTemplateConfig) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ModifyFpgaImageAttributeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ModifyFpgaImageAttributeInput"} - if s.FpgaImageId == nil { - invalidParams.Add(request.NewErrParamRequired("FpgaImageId")) +func (s *LaunchTemplateConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LaunchTemplateConfig"} + if s.LaunchTemplateSpecification != nil { + if err := s.LaunchTemplateSpecification.Validate(); err != nil { + invalidParams.AddNested("LaunchTemplateSpecification", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -46124,97 +50243,1504 @@ func (s *ModifyFpgaImageAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *ModifyFpgaImageAttributeInput) SetAttribute(v string) *ModifyFpgaImageAttributeInput { - s.Attribute = &v +// SetLaunchTemplateSpecification sets the LaunchTemplateSpecification field's value. +func (s *LaunchTemplateConfig) SetLaunchTemplateSpecification(v *FleetLaunchTemplateSpecification) *LaunchTemplateConfig { + s.LaunchTemplateSpecification = v return s } -// SetDescription sets the Description field's value. -func (s *ModifyFpgaImageAttributeInput) SetDescription(v string) *ModifyFpgaImageAttributeInput { - s.Description = &v +// SetOverrides sets the Overrides field's value. +func (s *LaunchTemplateConfig) SetOverrides(v []*LaunchTemplateOverrides) *LaunchTemplateConfig { + s.Overrides = v return s } -// SetDryRun sets the DryRun field's value. -func (s *ModifyFpgaImageAttributeInput) SetDryRun(v bool) *ModifyFpgaImageAttributeInput { - s.DryRun = &v - return s +// Describes a block device for an EBS volume. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateEbsBlockDevice +type LaunchTemplateEbsBlockDevice struct { + _ struct{} `type:"structure"` + + // Indicates whether the EBS volume is deleted on instance termination. + DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` + + // Indicates whether the EBS volume is encrypted. + Encrypted *bool `locationName:"encrypted" type:"boolean"` + + // The number of I/O operations per second (IOPS) that the volume supports. + Iops *int64 `locationName:"iops" type:"integer"` + + // The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption. + KmsKeyId *string `locationName:"kmsKeyId" type:"string"` + + // The ID of the snapshot. + SnapshotId *string `locationName:"snapshotId" type:"string"` + + // The size of the volume, in GiB. + VolumeSize *int64 `locationName:"volumeSize" type:"integer"` + + // The volume type. + VolumeType *string `locationName:"volumeType" type:"string" enum:"VolumeType"` } -// SetFpgaImageId sets the FpgaImageId field's value. -func (s *ModifyFpgaImageAttributeInput) SetFpgaImageId(v string) *ModifyFpgaImageAttributeInput { - s.FpgaImageId = &v +// String returns the string representation +func (s LaunchTemplateEbsBlockDevice) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateEbsBlockDevice) GoString() string { + return s.String() +} + +// SetDeleteOnTermination sets the DeleteOnTermination field's value. +func (s *LaunchTemplateEbsBlockDevice) SetDeleteOnTermination(v bool) *LaunchTemplateEbsBlockDevice { + s.DeleteOnTermination = &v return s } -// SetLoadPermission sets the LoadPermission field's value. -func (s *ModifyFpgaImageAttributeInput) SetLoadPermission(v *LoadPermissionModifications) *ModifyFpgaImageAttributeInput { - s.LoadPermission = v +// SetEncrypted sets the Encrypted field's value. +func (s *LaunchTemplateEbsBlockDevice) SetEncrypted(v bool) *LaunchTemplateEbsBlockDevice { + s.Encrypted = &v return s } -// SetName sets the Name field's value. -func (s *ModifyFpgaImageAttributeInput) SetName(v string) *ModifyFpgaImageAttributeInput { - s.Name = &v +// SetIops sets the Iops field's value. +func (s *LaunchTemplateEbsBlockDevice) SetIops(v int64) *LaunchTemplateEbsBlockDevice { + s.Iops = &v return s } -// SetOperationType sets the OperationType field's value. -func (s *ModifyFpgaImageAttributeInput) SetOperationType(v string) *ModifyFpgaImageAttributeInput { - s.OperationType = &v +// SetKmsKeyId sets the KmsKeyId field's value. +func (s *LaunchTemplateEbsBlockDevice) SetKmsKeyId(v string) *LaunchTemplateEbsBlockDevice { + s.KmsKeyId = &v return s } -// SetProductCodes sets the ProductCodes field's value. -func (s *ModifyFpgaImageAttributeInput) SetProductCodes(v []*string) *ModifyFpgaImageAttributeInput { - s.ProductCodes = v +// SetSnapshotId sets the SnapshotId field's value. +func (s *LaunchTemplateEbsBlockDevice) SetSnapshotId(v string) *LaunchTemplateEbsBlockDevice { + s.SnapshotId = &v return s } -// SetUserGroups sets the UserGroups field's value. -func (s *ModifyFpgaImageAttributeInput) SetUserGroups(v []*string) *ModifyFpgaImageAttributeInput { - s.UserGroups = v +// SetVolumeSize sets the VolumeSize field's value. +func (s *LaunchTemplateEbsBlockDevice) SetVolumeSize(v int64) *LaunchTemplateEbsBlockDevice { + s.VolumeSize = &v return s } -// SetUserIds sets the UserIds field's value. -func (s *ModifyFpgaImageAttributeInput) SetUserIds(v []*string) *ModifyFpgaImageAttributeInput { - s.UserIds = v +// SetVolumeType sets the VolumeType field's value. +func (s *LaunchTemplateEbsBlockDevice) SetVolumeType(v string) *LaunchTemplateEbsBlockDevice { + s.VolumeType = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttributeResult -type ModifyFpgaImageAttributeOutput struct { +// The parameters for a block device for an EBS volume. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateEbsBlockDeviceRequest +type LaunchTemplateEbsBlockDeviceRequest struct { _ struct{} `type:"structure"` - // Information about the attribute. - FpgaImageAttribute *FpgaImageAttribute `locationName:"fpgaImageAttribute" type:"structure"` + // Indicates whether the EBS volume is deleted on instance termination. + DeleteOnTermination *bool `type:"boolean"` + + // Indicates whether the EBS volume is encrypted. Encrypted volumes can only + // be attached to instances that support Amazon EBS encryption. If you are creating + // a volume from a snapshot, you can't specify an encryption value. + Encrypted *bool `type:"boolean"` + + // The number of I/O operations per second (IOPS) that the volume supports. + // For io1, this represents the number of IOPS that are provisioned for the + // volume. For gp2, this represents the baseline performance of the volume and + // the rate at which the volume accumulates I/O credits for bursting. For more + // information about General Purpose SSD baseline performance, I/O credits, + // and bursting, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud + // User Guide. + // + // Condition: This parameter is required for requests to create io1 volumes; + // it is not used in requests to create gp2, st1, sc1, or standard volumes. + Iops *int64 `type:"integer"` + + // The ARN of the AWS Key Management Service (AWS KMS) CMK used for encryption. + KmsKeyId *string `type:"string"` + + // The ID of the snapshot. + SnapshotId *string `type:"string"` + + // The size of the volume, in GiB. + // + // Default: If you're creating the volume from a snapshot and don't specify + // a volume size, the default is the snapshot size. + VolumeSize *int64 `type:"integer"` + + // The volume type. + VolumeType *string `type:"string" enum:"VolumeType"` } // String returns the string representation -func (s ModifyFpgaImageAttributeOutput) String() string { +func (s LaunchTemplateEbsBlockDeviceRequest) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ModifyFpgaImageAttributeOutput) GoString() string { +func (s LaunchTemplateEbsBlockDeviceRequest) GoString() string { return s.String() } -// SetFpgaImageAttribute sets the FpgaImageAttribute field's value. -func (s *ModifyFpgaImageAttributeOutput) SetFpgaImageAttribute(v *FpgaImageAttribute) *ModifyFpgaImageAttributeOutput { - s.FpgaImageAttribute = v +// SetDeleteOnTermination sets the DeleteOnTermination field's value. +func (s *LaunchTemplateEbsBlockDeviceRequest) SetDeleteOnTermination(v bool) *LaunchTemplateEbsBlockDeviceRequest { + s.DeleteOnTermination = &v return s } -// Contains the parameters for ModifyHosts. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHostsRequest -type ModifyHostsInput struct { - _ struct{} `type:"structure"` - - // Specify whether to enable or disable auto-placement. - // +// SetEncrypted sets the Encrypted field's value. +func (s *LaunchTemplateEbsBlockDeviceRequest) SetEncrypted(v bool) *LaunchTemplateEbsBlockDeviceRequest { + s.Encrypted = &v + return s +} + +// SetIops sets the Iops field's value. +func (s *LaunchTemplateEbsBlockDeviceRequest) SetIops(v int64) *LaunchTemplateEbsBlockDeviceRequest { + s.Iops = &v + return s +} + +// SetKmsKeyId sets the KmsKeyId field's value. +func (s *LaunchTemplateEbsBlockDeviceRequest) SetKmsKeyId(v string) *LaunchTemplateEbsBlockDeviceRequest { + s.KmsKeyId = &v + return s +} + +// SetSnapshotId sets the SnapshotId field's value. +func (s *LaunchTemplateEbsBlockDeviceRequest) SetSnapshotId(v string) *LaunchTemplateEbsBlockDeviceRequest { + s.SnapshotId = &v + return s +} + +// SetVolumeSize sets the VolumeSize field's value. +func (s *LaunchTemplateEbsBlockDeviceRequest) SetVolumeSize(v int64) *LaunchTemplateEbsBlockDeviceRequest { + s.VolumeSize = &v + return s +} + +// SetVolumeType sets the VolumeType field's value. +func (s *LaunchTemplateEbsBlockDeviceRequest) SetVolumeType(v string) *LaunchTemplateEbsBlockDeviceRequest { + s.VolumeType = &v + return s +} + +// Describes an IAM instance profile. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateIamInstanceProfileSpecification +type LaunchTemplateIamInstanceProfileSpecification struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the instance profile. + Arn *string `locationName:"arn" type:"string"` + + // The name of the instance profile. + Name *string `locationName:"name" type:"string"` +} + +// String returns the string representation +func (s LaunchTemplateIamInstanceProfileSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateIamInstanceProfileSpecification) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *LaunchTemplateIamInstanceProfileSpecification) SetArn(v string) *LaunchTemplateIamInstanceProfileSpecification { + s.Arn = &v + return s +} + +// SetName sets the Name field's value. +func (s *LaunchTemplateIamInstanceProfileSpecification) SetName(v string) *LaunchTemplateIamInstanceProfileSpecification { + s.Name = &v + return s +} + +// An IAM instance profile. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateIamInstanceProfileSpecificationRequest +type LaunchTemplateIamInstanceProfileSpecificationRequest struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the instance profile. + Arn *string `type:"string"` + + // The name of the instance profile. + Name *string `type:"string"` +} + +// String returns the string representation +func (s LaunchTemplateIamInstanceProfileSpecificationRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateIamInstanceProfileSpecificationRequest) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *LaunchTemplateIamInstanceProfileSpecificationRequest) SetArn(v string) *LaunchTemplateIamInstanceProfileSpecificationRequest { + s.Arn = &v + return s +} + +// SetName sets the Name field's value. +func (s *LaunchTemplateIamInstanceProfileSpecificationRequest) SetName(v string) *LaunchTemplateIamInstanceProfileSpecificationRequest { + s.Name = &v + return s +} + +// The market (purchasing) option for the instances. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMarketOptions +type LaunchTemplateInstanceMarketOptions struct { + _ struct{} `type:"structure"` + + // The market type. + MarketType *string `locationName:"marketType" type:"string" enum:"MarketType"` + + // The options for Spot Instances. + SpotOptions *LaunchTemplateSpotMarketOptions `locationName:"spotOptions" type:"structure"` +} + +// String returns the string representation +func (s LaunchTemplateInstanceMarketOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateInstanceMarketOptions) GoString() string { + return s.String() +} + +// SetMarketType sets the MarketType field's value. +func (s *LaunchTemplateInstanceMarketOptions) SetMarketType(v string) *LaunchTemplateInstanceMarketOptions { + s.MarketType = &v + return s +} + +// SetSpotOptions sets the SpotOptions field's value. +func (s *LaunchTemplateInstanceMarketOptions) SetSpotOptions(v *LaunchTemplateSpotMarketOptions) *LaunchTemplateInstanceMarketOptions { + s.SpotOptions = v + return s +} + +// The market (purchasing) option for the instances. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMarketOptionsRequest +type LaunchTemplateInstanceMarketOptionsRequest struct { + _ struct{} `type:"structure"` + + // The market type. + MarketType *string `type:"string" enum:"MarketType"` + + // The options for Spot Instances. + SpotOptions *LaunchTemplateSpotMarketOptionsRequest `type:"structure"` +} + +// String returns the string representation +func (s LaunchTemplateInstanceMarketOptionsRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateInstanceMarketOptionsRequest) GoString() string { + return s.String() +} + +// SetMarketType sets the MarketType field's value. +func (s *LaunchTemplateInstanceMarketOptionsRequest) SetMarketType(v string) *LaunchTemplateInstanceMarketOptionsRequest { + s.MarketType = &v + return s +} + +// SetSpotOptions sets the SpotOptions field's value. +func (s *LaunchTemplateInstanceMarketOptionsRequest) SetSpotOptions(v *LaunchTemplateSpotMarketOptionsRequest) *LaunchTemplateInstanceMarketOptionsRequest { + s.SpotOptions = v + return s +} + +// Describes a network interface. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceNetworkInterfaceSpecification +type LaunchTemplateInstanceNetworkInterfaceSpecification struct { + _ struct{} `type:"structure"` + + // Indicates whether to associate a public IPv4 address with eth0 for a new + // network interface. + AssociatePublicIpAddress *bool `locationName:"associatePublicIpAddress" type:"boolean"` + + // Indicates whether the network interface is deleted when the instance is terminated. + DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"` + + // A description for the network interface. + Description *string `locationName:"description" type:"string"` + + // The device index for the network interface attachment. + DeviceIndex *int64 `locationName:"deviceIndex" type:"integer"` + + // The IDs of one or more security groups. + Groups []*string `locationName:"groupSet" locationNameList:"groupId" type:"list"` + + // The number of IPv6 addresses for the network interface. + Ipv6AddressCount *int64 `locationName:"ipv6AddressCount" type:"integer"` + + // The IPv6 addresses for the network interface. + Ipv6Addresses []*InstanceIpv6Address `locationName:"ipv6AddressesSet" locationNameList:"item" type:"list"` + + // The ID of the network interface. + NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` + + // The primary private IPv4 address of the network interface. + PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` + + // One or more private IPv4 addresses. + PrivateIpAddresses []*PrivateIpAddressSpecification `locationName:"privateIpAddressesSet" locationNameList:"item" type:"list"` + + // The number of secondary private IPv4 addresses for the network interface. + SecondaryPrivateIpAddressCount *int64 `locationName:"secondaryPrivateIpAddressCount" type:"integer"` + + // The ID of the subnet for the network interface. + SubnetId *string `locationName:"subnetId" type:"string"` +} + +// String returns the string representation +func (s LaunchTemplateInstanceNetworkInterfaceSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateInstanceNetworkInterfaceSpecification) GoString() string { + return s.String() +} + +// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetAssociatePublicIpAddress(v bool) *LaunchTemplateInstanceNetworkInterfaceSpecification { + s.AssociatePublicIpAddress = &v + return s +} + +// SetDeleteOnTermination sets the DeleteOnTermination field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetDeleteOnTermination(v bool) *LaunchTemplateInstanceNetworkInterfaceSpecification { + s.DeleteOnTermination = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetDescription(v string) *LaunchTemplateInstanceNetworkInterfaceSpecification { + s.Description = &v + return s +} + +// SetDeviceIndex sets the DeviceIndex field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetDeviceIndex(v int64) *LaunchTemplateInstanceNetworkInterfaceSpecification { + s.DeviceIndex = &v + return s +} + +// SetGroups sets the Groups field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetGroups(v []*string) *LaunchTemplateInstanceNetworkInterfaceSpecification { + s.Groups = v + return s +} + +// SetIpv6AddressCount sets the Ipv6AddressCount field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetIpv6AddressCount(v int64) *LaunchTemplateInstanceNetworkInterfaceSpecification { + s.Ipv6AddressCount = &v + return s +} + +// SetIpv6Addresses sets the Ipv6Addresses field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetIpv6Addresses(v []*InstanceIpv6Address) *LaunchTemplateInstanceNetworkInterfaceSpecification { + s.Ipv6Addresses = v + return s +} + +// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetNetworkInterfaceId(v string) *LaunchTemplateInstanceNetworkInterfaceSpecification { + s.NetworkInterfaceId = &v + return s +} + +// SetPrivateIpAddress sets the PrivateIpAddress field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetPrivateIpAddress(v string) *LaunchTemplateInstanceNetworkInterfaceSpecification { + s.PrivateIpAddress = &v + return s +} + +// SetPrivateIpAddresses sets the PrivateIpAddresses field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetPrivateIpAddresses(v []*PrivateIpAddressSpecification) *LaunchTemplateInstanceNetworkInterfaceSpecification { + s.PrivateIpAddresses = v + return s +} + +// SetSecondaryPrivateIpAddressCount sets the SecondaryPrivateIpAddressCount field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetSecondaryPrivateIpAddressCount(v int64) *LaunchTemplateInstanceNetworkInterfaceSpecification { + s.SecondaryPrivateIpAddressCount = &v + return s +} + +// SetSubnetId sets the SubnetId field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetSubnetId(v string) *LaunchTemplateInstanceNetworkInterfaceSpecification { + s.SubnetId = &v + return s +} + +// The parameters for a network interface. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceNetworkInterfaceSpecificationRequest +type LaunchTemplateInstanceNetworkInterfaceSpecificationRequest struct { + _ struct{} `type:"structure"` + + // Associates a public IPv4 address with eth0 for a new network interface. + AssociatePublicIpAddress *bool `type:"boolean"` + + // Indicates whether the network interface is deleted when the instance is terminated. + DeleteOnTermination *bool `type:"boolean"` + + // A description for the network interface. + Description *string `type:"string"` + + // The device index for the network interface attachment. + DeviceIndex *int64 `type:"integer"` + + // The IDs of one or more security groups. + Groups []*string `locationName:"SecurityGroupId" locationNameList:"SecurityGroupId" type:"list"` + + // The number of IPv6 addresses to assign to a network interface. Amazon EC2 + // automatically selects the IPv6 addresses from the subnet range. You can't + // use this option if specifying specific IPv6 addresses. + Ipv6AddressCount *int64 `type:"integer"` + + // One or more specific IPv6 addresses from the IPv6 CIDR block range of your + // subnet. You can't use this option if you're specifying a number of IPv6 addresses. + Ipv6Addresses []*InstanceIpv6AddressRequest `locationNameList:"InstanceIpv6Address" type:"list"` + + // The ID of the network interface. + NetworkInterfaceId *string `type:"string"` + + // The primary private IPv4 address of the network interface. + PrivateIpAddress *string `type:"string"` + + // One or more private IPv4 addresses. + PrivateIpAddresses []*PrivateIpAddressSpecification `locationNameList:"item" type:"list"` + + // The number of secondary private IPv4 addresses to assign to a network interface. + SecondaryPrivateIpAddressCount *int64 `type:"integer"` + + // The ID of the subnet for the network interface. + SubnetId *string `type:"string"` +} + +// String returns the string representation +func (s LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest"} + if s.PrivateIpAddresses != nil { + for i, v := range s.PrivateIpAddresses { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PrivateIpAddresses", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetAssociatePublicIpAddress(v bool) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { + s.AssociatePublicIpAddress = &v + return s +} + +// SetDeleteOnTermination sets the DeleteOnTermination field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetDeleteOnTermination(v bool) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { + s.DeleteOnTermination = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetDescription(v string) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { + s.Description = &v + return s +} + +// SetDeviceIndex sets the DeviceIndex field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetDeviceIndex(v int64) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { + s.DeviceIndex = &v + return s +} + +// SetGroups sets the Groups field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetGroups(v []*string) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { + s.Groups = v + return s +} + +// SetIpv6AddressCount sets the Ipv6AddressCount field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetIpv6AddressCount(v int64) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { + s.Ipv6AddressCount = &v + return s +} + +// SetIpv6Addresses sets the Ipv6Addresses field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetIpv6Addresses(v []*InstanceIpv6AddressRequest) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { + s.Ipv6Addresses = v + return s +} + +// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetNetworkInterfaceId(v string) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { + s.NetworkInterfaceId = &v + return s +} + +// SetPrivateIpAddress sets the PrivateIpAddress field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetPrivateIpAddress(v string) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { + s.PrivateIpAddress = &v + return s +} + +// SetPrivateIpAddresses sets the PrivateIpAddresses field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetPrivateIpAddresses(v []*PrivateIpAddressSpecification) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { + s.PrivateIpAddresses = v + return s +} + +// SetSecondaryPrivateIpAddressCount sets the SecondaryPrivateIpAddressCount field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetSecondaryPrivateIpAddressCount(v int64) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { + s.SecondaryPrivateIpAddressCount = &v + return s +} + +// SetSubnetId sets the SubnetId field's value. +func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetSubnetId(v string) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { + s.SubnetId = &v + return s +} + +// Describes overrides for a launch template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateOverrides +type LaunchTemplateOverrides struct { + _ struct{} `type:"structure"` + + // The Availability Zone in which to launch the instances. + AvailabilityZone *string `locationName:"availabilityZone" type:"string"` + + // The instance type. + InstanceType *string `locationName:"instanceType" type:"string" enum:"InstanceType"` + + // The maximum price per unit hour that you are willing to pay for a Spot Instance. + SpotPrice *string `locationName:"spotPrice" type:"string"` + + // The ID of the subnet in which to launch the instances. + SubnetId *string `locationName:"subnetId" type:"string"` + + // The number of units provided by the specified instance type. + WeightedCapacity *float64 `locationName:"weightedCapacity" type:"double"` +} + +// String returns the string representation +func (s LaunchTemplateOverrides) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateOverrides) GoString() string { + return s.String() +} + +// SetAvailabilityZone sets the AvailabilityZone field's value. +func (s *LaunchTemplateOverrides) SetAvailabilityZone(v string) *LaunchTemplateOverrides { + s.AvailabilityZone = &v + return s +} + +// SetInstanceType sets the InstanceType field's value. +func (s *LaunchTemplateOverrides) SetInstanceType(v string) *LaunchTemplateOverrides { + s.InstanceType = &v + return s +} + +// SetSpotPrice sets the SpotPrice field's value. +func (s *LaunchTemplateOverrides) SetSpotPrice(v string) *LaunchTemplateOverrides { + s.SpotPrice = &v + return s +} + +// SetSubnetId sets the SubnetId field's value. +func (s *LaunchTemplateOverrides) SetSubnetId(v string) *LaunchTemplateOverrides { + s.SubnetId = &v + return s +} + +// SetWeightedCapacity sets the WeightedCapacity field's value. +func (s *LaunchTemplateOverrides) SetWeightedCapacity(v float64) *LaunchTemplateOverrides { + s.WeightedCapacity = &v + return s +} + +// Describes the placement of an instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatePlacement +type LaunchTemplatePlacement struct { + _ struct{} `type:"structure"` + + // The affinity setting for the instance on the Dedicated Host. + Affinity *string `locationName:"affinity" type:"string"` + + // The Availability Zone of the instance. + AvailabilityZone *string `locationName:"availabilityZone" type:"string"` + + // The name of the placement group for the instance. + GroupName *string `locationName:"groupName" type:"string"` + + // The ID of the Dedicated Host for the instance. + HostId *string `locationName:"hostId" type:"string"` + + // Reserved for future use. + SpreadDomain *string `locationName:"spreadDomain" type:"string"` + + // The tenancy of the instance (if the instance is running in a VPC). An instance + // with a tenancy of dedicated runs on single-tenant hardware. + Tenancy *string `locationName:"tenancy" type:"string" enum:"Tenancy"` +} + +// String returns the string representation +func (s LaunchTemplatePlacement) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplatePlacement) GoString() string { + return s.String() +} + +// SetAffinity sets the Affinity field's value. +func (s *LaunchTemplatePlacement) SetAffinity(v string) *LaunchTemplatePlacement { + s.Affinity = &v + return s +} + +// SetAvailabilityZone sets the AvailabilityZone field's value. +func (s *LaunchTemplatePlacement) SetAvailabilityZone(v string) *LaunchTemplatePlacement { + s.AvailabilityZone = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *LaunchTemplatePlacement) SetGroupName(v string) *LaunchTemplatePlacement { + s.GroupName = &v + return s +} + +// SetHostId sets the HostId field's value. +func (s *LaunchTemplatePlacement) SetHostId(v string) *LaunchTemplatePlacement { + s.HostId = &v + return s +} + +// SetSpreadDomain sets the SpreadDomain field's value. +func (s *LaunchTemplatePlacement) SetSpreadDomain(v string) *LaunchTemplatePlacement { + s.SpreadDomain = &v + return s +} + +// SetTenancy sets the Tenancy field's value. +func (s *LaunchTemplatePlacement) SetTenancy(v string) *LaunchTemplatePlacement { + s.Tenancy = &v + return s +} + +// The placement for the instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatePlacementRequest +type LaunchTemplatePlacementRequest struct { + _ struct{} `type:"structure"` + + // The affinity setting for an instance on a Dedicated Host. + Affinity *string `type:"string"` + + // The Availability Zone for the instance. + AvailabilityZone *string `type:"string"` + + // The name of the placement group for the instance. + GroupName *string `type:"string"` + + // The ID of the Dedicated Host for the instance. + HostId *string `type:"string"` + + // Reserved for future use. + SpreadDomain *string `type:"string"` + + // The tenancy of the instance (if the instance is running in a VPC). An instance + // with a tenancy of dedicated runs on single-tenant hardware. + Tenancy *string `type:"string" enum:"Tenancy"` +} + +// String returns the string representation +func (s LaunchTemplatePlacementRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplatePlacementRequest) GoString() string { + return s.String() +} + +// SetAffinity sets the Affinity field's value. +func (s *LaunchTemplatePlacementRequest) SetAffinity(v string) *LaunchTemplatePlacementRequest { + s.Affinity = &v + return s +} + +// SetAvailabilityZone sets the AvailabilityZone field's value. +func (s *LaunchTemplatePlacementRequest) SetAvailabilityZone(v string) *LaunchTemplatePlacementRequest { + s.AvailabilityZone = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *LaunchTemplatePlacementRequest) SetGroupName(v string) *LaunchTemplatePlacementRequest { + s.GroupName = &v + return s +} + +// SetHostId sets the HostId field's value. +func (s *LaunchTemplatePlacementRequest) SetHostId(v string) *LaunchTemplatePlacementRequest { + s.HostId = &v + return s +} + +// SetSpreadDomain sets the SpreadDomain field's value. +func (s *LaunchTemplatePlacementRequest) SetSpreadDomain(v string) *LaunchTemplatePlacementRequest { + s.SpreadDomain = &v + return s +} + +// SetTenancy sets the Tenancy field's value. +func (s *LaunchTemplatePlacementRequest) SetTenancy(v string) *LaunchTemplatePlacementRequest { + s.Tenancy = &v + return s +} + +// The launch template to use. You must specify either the launch template ID +// or launch template name in the request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateSpecification +type LaunchTemplateSpecification struct { + _ struct{} `type:"structure"` + + // The ID of the launch template. + LaunchTemplateId *string `type:"string"` + + // The name of the launch template. + LaunchTemplateName *string `type:"string"` + + // The version number of the launch template. + // + // Default: The default version for the launch template. + Version *string `type:"string"` +} + +// String returns the string representation +func (s LaunchTemplateSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateSpecification) GoString() string { + return s.String() +} + +// SetLaunchTemplateId sets the LaunchTemplateId field's value. +func (s *LaunchTemplateSpecification) SetLaunchTemplateId(v string) *LaunchTemplateSpecification { + s.LaunchTemplateId = &v + return s +} + +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *LaunchTemplateSpecification) SetLaunchTemplateName(v string) *LaunchTemplateSpecification { + s.LaunchTemplateName = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *LaunchTemplateSpecification) SetVersion(v string) *LaunchTemplateSpecification { + s.Version = &v + return s +} + +// The options for Spot Instances. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateSpotMarketOptions +type LaunchTemplateSpotMarketOptions struct { + _ struct{} `type:"structure"` + + // The required duration for the Spot Instances (also known as Spot blocks), + // in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, + // or 360). + BlockDurationMinutes *int64 `locationName:"blockDurationMinutes" type:"integer"` + + // The behavior when a Spot Instance is interrupted. + InstanceInterruptionBehavior *string `locationName:"instanceInterruptionBehavior" type:"string" enum:"InstanceInterruptionBehavior"` + + // The maximum hourly price you're willing to pay for the Spot Instances. + MaxPrice *string `locationName:"maxPrice" type:"string"` + + // The Spot Instance request type. + SpotInstanceType *string `locationName:"spotInstanceType" type:"string" enum:"SpotInstanceType"` + + // The end date of the request. For a one-time request, the request remains + // active until all instances launch, the request is canceled, or this date + // is reached. If the request is persistent, it remains active until it is canceled + // or this date and time is reached. + ValidUntil *time.Time `locationName:"validUntil" type:"timestamp" timestampFormat:"iso8601"` +} + +// String returns the string representation +func (s LaunchTemplateSpotMarketOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateSpotMarketOptions) GoString() string { + return s.String() +} + +// SetBlockDurationMinutes sets the BlockDurationMinutes field's value. +func (s *LaunchTemplateSpotMarketOptions) SetBlockDurationMinutes(v int64) *LaunchTemplateSpotMarketOptions { + s.BlockDurationMinutes = &v + return s +} + +// SetInstanceInterruptionBehavior sets the InstanceInterruptionBehavior field's value. +func (s *LaunchTemplateSpotMarketOptions) SetInstanceInterruptionBehavior(v string) *LaunchTemplateSpotMarketOptions { + s.InstanceInterruptionBehavior = &v + return s +} + +// SetMaxPrice sets the MaxPrice field's value. +func (s *LaunchTemplateSpotMarketOptions) SetMaxPrice(v string) *LaunchTemplateSpotMarketOptions { + s.MaxPrice = &v + return s +} + +// SetSpotInstanceType sets the SpotInstanceType field's value. +func (s *LaunchTemplateSpotMarketOptions) SetSpotInstanceType(v string) *LaunchTemplateSpotMarketOptions { + s.SpotInstanceType = &v + return s +} + +// SetValidUntil sets the ValidUntil field's value. +func (s *LaunchTemplateSpotMarketOptions) SetValidUntil(v time.Time) *LaunchTemplateSpotMarketOptions { + s.ValidUntil = &v + return s +} + +// The options for Spot Instances. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateSpotMarketOptionsRequest +type LaunchTemplateSpotMarketOptionsRequest struct { + _ struct{} `type:"structure"` + + // The required duration for the Spot Instances (also known as Spot blocks), + // in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, + // or 360). + BlockDurationMinutes *int64 `type:"integer"` + + // The behavior when a Spot Instance is interrupted. The default is terminate. + InstanceInterruptionBehavior *string `type:"string" enum:"InstanceInterruptionBehavior"` + + // The maximum hourly price you're willing to pay for the Spot Instances. + MaxPrice *string `type:"string"` + + // The Spot Instance request type. + SpotInstanceType *string `type:"string" enum:"SpotInstanceType"` + + // The end date of the request. For a one-time request, the request remains + // active until all instances launch, the request is canceled, or this date + // is reached. If the request is persistent, it remains active until it is canceled + // or this date and time is reached. The default end date is 7 days from the + // current date. + ValidUntil *time.Time `type:"timestamp" timestampFormat:"iso8601"` +} + +// String returns the string representation +func (s LaunchTemplateSpotMarketOptionsRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateSpotMarketOptionsRequest) GoString() string { + return s.String() +} + +// SetBlockDurationMinutes sets the BlockDurationMinutes field's value. +func (s *LaunchTemplateSpotMarketOptionsRequest) SetBlockDurationMinutes(v int64) *LaunchTemplateSpotMarketOptionsRequest { + s.BlockDurationMinutes = &v + return s +} + +// SetInstanceInterruptionBehavior sets the InstanceInterruptionBehavior field's value. +func (s *LaunchTemplateSpotMarketOptionsRequest) SetInstanceInterruptionBehavior(v string) *LaunchTemplateSpotMarketOptionsRequest { + s.InstanceInterruptionBehavior = &v + return s +} + +// SetMaxPrice sets the MaxPrice field's value. +func (s *LaunchTemplateSpotMarketOptionsRequest) SetMaxPrice(v string) *LaunchTemplateSpotMarketOptionsRequest { + s.MaxPrice = &v + return s +} + +// SetSpotInstanceType sets the SpotInstanceType field's value. +func (s *LaunchTemplateSpotMarketOptionsRequest) SetSpotInstanceType(v string) *LaunchTemplateSpotMarketOptionsRequest { + s.SpotInstanceType = &v + return s +} + +// SetValidUntil sets the ValidUntil field's value. +func (s *LaunchTemplateSpotMarketOptionsRequest) SetValidUntil(v time.Time) *LaunchTemplateSpotMarketOptionsRequest { + s.ValidUntil = &v + return s +} + +// The tag specification for the launch template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateTagSpecification +type LaunchTemplateTagSpecification struct { + _ struct{} `type:"structure"` + + // The type of resource. + ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` + + // The tags for the resource. + Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s LaunchTemplateTagSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateTagSpecification) GoString() string { + return s.String() +} + +// SetResourceType sets the ResourceType field's value. +func (s *LaunchTemplateTagSpecification) SetResourceType(v string) *LaunchTemplateTagSpecification { + s.ResourceType = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *LaunchTemplateTagSpecification) SetTags(v []*Tag) *LaunchTemplateTagSpecification { + s.Tags = v + return s +} + +// The tags specification for the launch template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateTagSpecificationRequest +type LaunchTemplateTagSpecificationRequest struct { + _ struct{} `type:"structure"` + + // The type of resource to tag. Currently, the resource types that support tagging + // on creation are instance and volume. + ResourceType *string `type:"string" enum:"ResourceType"` + + // The tags to apply to the resource. + Tags []*Tag `locationName:"Tag" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s LaunchTemplateTagSpecificationRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateTagSpecificationRequest) GoString() string { + return s.String() +} + +// SetResourceType sets the ResourceType field's value. +func (s *LaunchTemplateTagSpecificationRequest) SetResourceType(v string) *LaunchTemplateTagSpecificationRequest { + s.ResourceType = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *LaunchTemplateTagSpecificationRequest) SetTags(v []*Tag) *LaunchTemplateTagSpecificationRequest { + s.Tags = v + return s +} + +// Describes a launch template version. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateVersion +type LaunchTemplateVersion struct { + _ struct{} `type:"structure"` + + // The time the version was created. + CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"iso8601"` + + // The principal that created the version. + CreatedBy *string `locationName:"createdBy" type:"string"` + + // Indicates whether the version is the default version. + DefaultVersion *bool `locationName:"defaultVersion" type:"boolean"` + + // Information about the launch template. + LaunchTemplateData *ResponseLaunchTemplateData `locationName:"launchTemplateData" type:"structure"` + + // The ID of the launch template. + LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"` + + // The name of the launch template. + LaunchTemplateName *string `locationName:"launchTemplateName" min:"3" type:"string"` + + // The description for the version. + VersionDescription *string `locationName:"versionDescription" type:"string"` + + // The version number. + VersionNumber *int64 `locationName:"versionNumber" type:"long"` +} + +// String returns the string representation +func (s LaunchTemplateVersion) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateVersion) GoString() string { + return s.String() +} + +// SetCreateTime sets the CreateTime field's value. +func (s *LaunchTemplateVersion) SetCreateTime(v time.Time) *LaunchTemplateVersion { + s.CreateTime = &v + return s +} + +// SetCreatedBy sets the CreatedBy field's value. +func (s *LaunchTemplateVersion) SetCreatedBy(v string) *LaunchTemplateVersion { + s.CreatedBy = &v + return s +} + +// SetDefaultVersion sets the DefaultVersion field's value. +func (s *LaunchTemplateVersion) SetDefaultVersion(v bool) *LaunchTemplateVersion { + s.DefaultVersion = &v + return s +} + +// SetLaunchTemplateData sets the LaunchTemplateData field's value. +func (s *LaunchTemplateVersion) SetLaunchTemplateData(v *ResponseLaunchTemplateData) *LaunchTemplateVersion { + s.LaunchTemplateData = v + return s +} + +// SetLaunchTemplateId sets the LaunchTemplateId field's value. +func (s *LaunchTemplateVersion) SetLaunchTemplateId(v string) *LaunchTemplateVersion { + s.LaunchTemplateId = &v + return s +} + +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *LaunchTemplateVersion) SetLaunchTemplateName(v string) *LaunchTemplateVersion { + s.LaunchTemplateName = &v + return s +} + +// SetVersionDescription sets the VersionDescription field's value. +func (s *LaunchTemplateVersion) SetVersionDescription(v string) *LaunchTemplateVersion { + s.VersionDescription = &v + return s +} + +// SetVersionNumber sets the VersionNumber field's value. +func (s *LaunchTemplateVersion) SetVersionNumber(v int64) *LaunchTemplateVersion { + s.VersionNumber = &v + return s +} + +// Describes the monitoring for the instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatesMonitoring +type LaunchTemplatesMonitoring struct { + _ struct{} `type:"structure"` + + // Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring + // is enabled. + Enabled *bool `locationName:"enabled" type:"boolean"` +} + +// String returns the string representation +func (s LaunchTemplatesMonitoring) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplatesMonitoring) GoString() string { + return s.String() +} + +// SetEnabled sets the Enabled field's value. +func (s *LaunchTemplatesMonitoring) SetEnabled(v bool) *LaunchTemplatesMonitoring { + s.Enabled = &v + return s +} + +// Describes the monitoring for the instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatesMonitoringRequest +type LaunchTemplatesMonitoringRequest struct { + _ struct{} `type:"structure"` + + // Specify true to enable detailed monitoring. Otherwise, basic monitoring is + // enabled. + Enabled *bool `type:"boolean"` +} + +// String returns the string representation +func (s LaunchTemplatesMonitoringRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplatesMonitoringRequest) GoString() string { + return s.String() +} + +// SetEnabled sets the Enabled field's value. +func (s *LaunchTemplatesMonitoringRequest) SetEnabled(v bool) *LaunchTemplatesMonitoringRequest { + s.Enabled = &v + return s +} + +// Describes the Classic Load Balancers and target groups to attach to a Spot +// Fleet request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadBalancersConfig +type LoadBalancersConfig struct { + _ struct{} `type:"structure"` + + // The Classic Load Balancers. + ClassicLoadBalancersConfig *ClassicLoadBalancersConfig `locationName:"classicLoadBalancersConfig" type:"structure"` + + // The target groups. + TargetGroupsConfig *TargetGroupsConfig `locationName:"targetGroupsConfig" type:"structure"` +} + +// String returns the string representation +func (s LoadBalancersConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LoadBalancersConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *LoadBalancersConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LoadBalancersConfig"} + if s.ClassicLoadBalancersConfig != nil { + if err := s.ClassicLoadBalancersConfig.Validate(); err != nil { + invalidParams.AddNested("ClassicLoadBalancersConfig", err.(request.ErrInvalidParams)) + } + } + if s.TargetGroupsConfig != nil { + if err := s.TargetGroupsConfig.Validate(); err != nil { + invalidParams.AddNested("TargetGroupsConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClassicLoadBalancersConfig sets the ClassicLoadBalancersConfig field's value. +func (s *LoadBalancersConfig) SetClassicLoadBalancersConfig(v *ClassicLoadBalancersConfig) *LoadBalancersConfig { + s.ClassicLoadBalancersConfig = v + return s +} + +// SetTargetGroupsConfig sets the TargetGroupsConfig field's value. +func (s *LoadBalancersConfig) SetTargetGroupsConfig(v *TargetGroupsConfig) *LoadBalancersConfig { + s.TargetGroupsConfig = v + return s +} + +// Describes a load permission. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadPermission +type LoadPermission struct { + _ struct{} `type:"structure"` + + // The name of the group. + Group *string `locationName:"group" type:"string" enum:"PermissionGroup"` + + // The AWS account ID. + UserId *string `locationName:"userId" type:"string"` +} + +// String returns the string representation +func (s LoadPermission) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LoadPermission) GoString() string { + return s.String() +} + +// SetGroup sets the Group field's value. +func (s *LoadPermission) SetGroup(v string) *LoadPermission { + s.Group = &v + return s +} + +// SetUserId sets the UserId field's value. +func (s *LoadPermission) SetUserId(v string) *LoadPermission { + s.UserId = &v + return s +} + +// Describes modifications to the load permissions of an Amazon FPGA image (AFI). +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadPermissionModifications +type LoadPermissionModifications struct { + _ struct{} `type:"structure"` + + // The load permissions to add. + Add []*LoadPermissionRequest `locationNameList:"item" type:"list"` + + // The load permissions to remove. + Remove []*LoadPermissionRequest `locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s LoadPermissionModifications) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LoadPermissionModifications) GoString() string { + return s.String() +} + +// SetAdd sets the Add field's value. +func (s *LoadPermissionModifications) SetAdd(v []*LoadPermissionRequest) *LoadPermissionModifications { + s.Add = v + return s +} + +// SetRemove sets the Remove field's value. +func (s *LoadPermissionModifications) SetRemove(v []*LoadPermissionRequest) *LoadPermissionModifications { + s.Remove = v + return s +} + +// Describes a load permission. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadPermissionRequest +type LoadPermissionRequest struct { + _ struct{} `type:"structure"` + + // The name of the group. + Group *string `type:"string" enum:"PermissionGroup"` + + // The AWS account ID. + UserId *string `type:"string"` +} + +// String returns the string representation +func (s LoadPermissionRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LoadPermissionRequest) GoString() string { + return s.String() +} + +// SetGroup sets the Group field's value. +func (s *LoadPermissionRequest) SetGroup(v string) *LoadPermissionRequest { + s.Group = &v + return s +} + +// SetUserId sets the UserId field's value. +func (s *LoadPermissionRequest) SetUserId(v string) *LoadPermissionRequest { + s.UserId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttributeRequest +type ModifyFpgaImageAttributeInput struct { + _ struct{} `type:"structure"` + + // The name of the attribute. + Attribute *string `type:"string" enum:"FpgaImageAttributeName"` + + // A description for the AFI. + Description *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the AFI. + // + // FpgaImageId is a required field + FpgaImageId *string `type:"string" required:"true"` + + // The load permission for the AFI. + LoadPermission *LoadPermissionModifications `type:"structure"` + + // A name for the AFI. + Name *string `type:"string"` + + // The operation type. + OperationType *string `type:"string" enum:"OperationType"` + + // One or more product codes. After you add a product code to an AFI, it can't + // be removed. This parameter is valid only when modifying the productCodes + // attribute. + ProductCodes []*string `locationName:"ProductCode" locationNameList:"ProductCode" type:"list"` + + // One or more user groups. This parameter is valid only when modifying the + // loadPermission attribute. + UserGroups []*string `locationName:"UserGroup" locationNameList:"UserGroup" type:"list"` + + // One or more AWS account IDs. This parameter is valid only when modifying + // the loadPermission attribute. + UserIds []*string `locationName:"UserId" locationNameList:"UserId" type:"list"` +} + +// String returns the string representation +func (s ModifyFpgaImageAttributeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyFpgaImageAttributeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyFpgaImageAttributeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyFpgaImageAttributeInput"} + if s.FpgaImageId == nil { + invalidParams.Add(request.NewErrParamRequired("FpgaImageId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttribute sets the Attribute field's value. +func (s *ModifyFpgaImageAttributeInput) SetAttribute(v string) *ModifyFpgaImageAttributeInput { + s.Attribute = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ModifyFpgaImageAttributeInput) SetDescription(v string) *ModifyFpgaImageAttributeInput { + s.Description = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyFpgaImageAttributeInput) SetDryRun(v bool) *ModifyFpgaImageAttributeInput { + s.DryRun = &v + return s +} + +// SetFpgaImageId sets the FpgaImageId field's value. +func (s *ModifyFpgaImageAttributeInput) SetFpgaImageId(v string) *ModifyFpgaImageAttributeInput { + s.FpgaImageId = &v + return s +} + +// SetLoadPermission sets the LoadPermission field's value. +func (s *ModifyFpgaImageAttributeInput) SetLoadPermission(v *LoadPermissionModifications) *ModifyFpgaImageAttributeInput { + s.LoadPermission = v + return s +} + +// SetName sets the Name field's value. +func (s *ModifyFpgaImageAttributeInput) SetName(v string) *ModifyFpgaImageAttributeInput { + s.Name = &v + return s +} + +// SetOperationType sets the OperationType field's value. +func (s *ModifyFpgaImageAttributeInput) SetOperationType(v string) *ModifyFpgaImageAttributeInput { + s.OperationType = &v + return s +} + +// SetProductCodes sets the ProductCodes field's value. +func (s *ModifyFpgaImageAttributeInput) SetProductCodes(v []*string) *ModifyFpgaImageAttributeInput { + s.ProductCodes = v + return s +} + +// SetUserGroups sets the UserGroups field's value. +func (s *ModifyFpgaImageAttributeInput) SetUserGroups(v []*string) *ModifyFpgaImageAttributeInput { + s.UserGroups = v + return s +} + +// SetUserIds sets the UserIds field's value. +func (s *ModifyFpgaImageAttributeInput) SetUserIds(v []*string) *ModifyFpgaImageAttributeInput { + s.UserIds = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttributeResult +type ModifyFpgaImageAttributeOutput struct { + _ struct{} `type:"structure"` + + // Information about the attribute. + FpgaImageAttribute *FpgaImageAttribute `locationName:"fpgaImageAttribute" type:"structure"` +} + +// String returns the string representation +func (s ModifyFpgaImageAttributeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyFpgaImageAttributeOutput) GoString() string { + return s.String() +} + +// SetFpgaImageAttribute sets the FpgaImageAttribute field's value. +func (s *ModifyFpgaImageAttributeOutput) SetFpgaImageAttribute(v *FpgaImageAttribute) *ModifyFpgaImageAttributeOutput { + s.FpgaImageAttribute = v + return s +} + +// Contains the parameters for ModifyHosts. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHostsRequest +type ModifyHostsInput struct { + _ struct{} `type:"structure"` + + // Specify whether to enable or disable auto-placement. + // // AutoPlacement is a required field AutoPlacement *string `locationName:"autoPlacement" type:"string" required:"true" enum:"AutoPlacement"` @@ -46263,7 +51789,7 @@ func (s *ModifyHostsInput) SetHostIds(v []*string) *ModifyHostsInput { } // Contains the output of ModifyHosts. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHostsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHostsResult type ModifyHostsOutput struct { _ struct{} `type:"structure"` @@ -46298,7 +51824,7 @@ func (s *ModifyHostsOutput) SetUnsuccessful(v []*UnsuccessfulItem) *ModifyHostsO } // Contains the parameters of ModifyIdFormat. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdFormatRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdFormatRequest type ModifyIdFormatInput struct { _ struct{} `type:"structure"` @@ -46351,7 +51877,7 @@ func (s *ModifyIdFormatInput) SetUseLongIds(v bool) *ModifyIdFormatInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdFormatOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdFormatOutput type ModifyIdFormatOutput struct { _ struct{} `type:"structure"` } @@ -46367,7 +51893,7 @@ func (s ModifyIdFormatOutput) GoString() string { } // Contains the parameters of ModifyIdentityIdFormat. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdentityIdFormatRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdentityIdFormatRequest type ModifyIdentityIdFormatInput struct { _ struct{} `type:"structure"` @@ -46436,7 +51962,7 @@ func (s *ModifyIdentityIdFormatInput) SetUseLongIds(v bool) *ModifyIdentityIdFor return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdentityIdFormatOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdentityIdFormatOutput type ModifyIdentityIdFormatOutput struct { _ struct{} `type:"structure"` } @@ -46452,7 +51978,7 @@ func (s ModifyIdentityIdFormatOutput) GoString() string { } // Contains the parameters for ModifyImageAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttributeRequest type ModifyImageAttributeInput struct { _ struct{} `type:"structure"` @@ -46581,7 +52107,7 @@ func (s *ModifyImageAttributeInput) SetValue(v string) *ModifyImageAttributeInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttributeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttributeOutput type ModifyImageAttributeOutput struct { _ struct{} `type:"structure"` } @@ -46597,7 +52123,7 @@ func (s ModifyImageAttributeOutput) GoString() string { } // Contains the parameters for ModifyInstanceAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttributeRequest type ModifyInstanceAttributeInput struct { _ struct{} `type:"structure"` @@ -46813,7 +52339,7 @@ func (s *ModifyInstanceAttributeInput) SetValue(v string) *ModifyInstanceAttribu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttributeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttributeOutput type ModifyInstanceAttributeOutput struct { _ struct{} `type:"structure"` } @@ -46828,8 +52354,105 @@ func (s ModifyInstanceAttributeOutput) GoString() string { return s.String() } +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCreditSpecificationRequest +type ModifyInstanceCreditSpecificationInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive token that you provide to ensure idempotency of + // your modification request. For more information, see Ensuring Idempotency + // (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // Information about the credit option for CPU usage. + // + // InstanceCreditSpecifications is a required field + InstanceCreditSpecifications []*InstanceCreditSpecificationRequest `locationName:"InstanceCreditSpecification" locationNameList:"item" type:"list" required:"true"` +} + +// String returns the string representation +func (s ModifyInstanceCreditSpecificationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyInstanceCreditSpecificationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyInstanceCreditSpecificationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyInstanceCreditSpecificationInput"} + if s.InstanceCreditSpecifications == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceCreditSpecifications")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *ModifyInstanceCreditSpecificationInput) SetClientToken(v string) *ModifyInstanceCreditSpecificationInput { + s.ClientToken = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyInstanceCreditSpecificationInput) SetDryRun(v bool) *ModifyInstanceCreditSpecificationInput { + s.DryRun = &v + return s +} + +// SetInstanceCreditSpecifications sets the InstanceCreditSpecifications field's value. +func (s *ModifyInstanceCreditSpecificationInput) SetInstanceCreditSpecifications(v []*InstanceCreditSpecificationRequest) *ModifyInstanceCreditSpecificationInput { + s.InstanceCreditSpecifications = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCreditSpecificationResult +type ModifyInstanceCreditSpecificationOutput struct { + _ struct{} `type:"structure"` + + // Information about the instances whose credit option for CPU usage was successfully + // modified. + SuccessfulInstanceCreditSpecifications []*SuccessfulInstanceCreditSpecificationItem `locationName:"successfulInstanceCreditSpecificationSet" locationNameList:"item" type:"list"` + + // Information about the instances whose credit option for CPU usage was not + // modified. + UnsuccessfulInstanceCreditSpecifications []*UnsuccessfulInstanceCreditSpecificationItem `locationName:"unsuccessfulInstanceCreditSpecificationSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s ModifyInstanceCreditSpecificationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyInstanceCreditSpecificationOutput) GoString() string { + return s.String() +} + +// SetSuccessfulInstanceCreditSpecifications sets the SuccessfulInstanceCreditSpecifications field's value. +func (s *ModifyInstanceCreditSpecificationOutput) SetSuccessfulInstanceCreditSpecifications(v []*SuccessfulInstanceCreditSpecificationItem) *ModifyInstanceCreditSpecificationOutput { + s.SuccessfulInstanceCreditSpecifications = v + return s +} + +// SetUnsuccessfulInstanceCreditSpecifications sets the UnsuccessfulInstanceCreditSpecifications field's value. +func (s *ModifyInstanceCreditSpecificationOutput) SetUnsuccessfulInstanceCreditSpecifications(v []*UnsuccessfulInstanceCreditSpecificationItem) *ModifyInstanceCreditSpecificationOutput { + s.UnsuccessfulInstanceCreditSpecifications = v + return s +} + // Contains the parameters for ModifyInstancePlacement. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstancePlacementRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstancePlacementRequest type ModifyInstancePlacementInput struct { _ struct{} `type:"structure"` @@ -46896,7 +52519,7 @@ func (s *ModifyInstancePlacementInput) SetTenancy(v string) *ModifyInstancePlace } // Contains the output of ModifyInstancePlacement. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstancePlacementResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstancePlacementResult type ModifyInstancePlacementOutput struct { _ struct{} `type:"structure"` @@ -46920,8 +52543,111 @@ func (s *ModifyInstancePlacementOutput) SetReturn(v bool) *ModifyInstancePlaceme return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLaunchTemplateRequest +type ModifyLaunchTemplateInput struct { + _ struct{} `type:"structure"` + + // Unique, case-sensitive identifier you provide to ensure the idempotency of + // the request. For more information, see Ensuring Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string"` + + // The version number of the launch template to set as the default version. + DefaultVersion *string `locationName:"SetDefaultVersion" type:"string"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the launch template. You must specify either the launch template + // ID or launch template name in the request. + LaunchTemplateId *string `type:"string"` + + // The name of the launch template. You must specify either the launch template + // ID or launch template name in the request. + LaunchTemplateName *string `min:"3" type:"string"` +} + +// String returns the string representation +func (s ModifyLaunchTemplateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyLaunchTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyLaunchTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyLaunchTemplateInput"} + if s.LaunchTemplateName != nil && len(*s.LaunchTemplateName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *ModifyLaunchTemplateInput) SetClientToken(v string) *ModifyLaunchTemplateInput { + s.ClientToken = &v + return s +} + +// SetDefaultVersion sets the DefaultVersion field's value. +func (s *ModifyLaunchTemplateInput) SetDefaultVersion(v string) *ModifyLaunchTemplateInput { + s.DefaultVersion = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyLaunchTemplateInput) SetDryRun(v bool) *ModifyLaunchTemplateInput { + s.DryRun = &v + return s +} + +// SetLaunchTemplateId sets the LaunchTemplateId field's value. +func (s *ModifyLaunchTemplateInput) SetLaunchTemplateId(v string) *ModifyLaunchTemplateInput { + s.LaunchTemplateId = &v + return s +} + +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *ModifyLaunchTemplateInput) SetLaunchTemplateName(v string) *ModifyLaunchTemplateInput { + s.LaunchTemplateName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLaunchTemplateResult +type ModifyLaunchTemplateOutput struct { + _ struct{} `type:"structure"` + + // Information about the launch template. + LaunchTemplate *LaunchTemplate `locationName:"launchTemplate" type:"structure"` +} + +// String returns the string representation +func (s ModifyLaunchTemplateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyLaunchTemplateOutput) GoString() string { + return s.String() +} + +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *ModifyLaunchTemplateOutput) SetLaunchTemplate(v *LaunchTemplate) *ModifyLaunchTemplateOutput { + s.LaunchTemplate = v + return s +} + // Contains the parameters for ModifyNetworkInterfaceAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttributeRequest type ModifyNetworkInterfaceAttributeInput struct { _ struct{} `type:"structure"` @@ -47016,7 +52742,7 @@ func (s *ModifyNetworkInterfaceAttributeInput) SetSourceDestCheck(v *AttributeBo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttributeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttributeOutput type ModifyNetworkInterfaceAttributeOutput struct { _ struct{} `type:"structure"` } @@ -47032,7 +52758,7 @@ func (s ModifyNetworkInterfaceAttributeOutput) GoString() string { } // Contains the parameters for ModifyReservedInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyReservedInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyReservedInstancesRequest type ModifyReservedInstancesInput struct { _ struct{} `type:"structure"` @@ -47096,7 +52822,7 @@ func (s *ModifyReservedInstancesInput) SetTargetConfigurations(v []*ReservedInst } // Contains the output of ModifyReservedInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyReservedInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyReservedInstancesResult type ModifyReservedInstancesOutput struct { _ struct{} `type:"structure"` @@ -47121,7 +52847,7 @@ func (s *ModifyReservedInstancesOutput) SetReservedInstancesModificationId(v str } // Contains the parameters for ModifySnapshotAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySnapshotAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySnapshotAttributeRequest type ModifySnapshotAttributeInput struct { _ struct{} `type:"structure"` @@ -47219,7 +52945,7 @@ func (s *ModifySnapshotAttributeInput) SetUserIds(v []*string) *ModifySnapshotAt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySnapshotAttributeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySnapshotAttributeOutput type ModifySnapshotAttributeOutput struct { _ struct{} `type:"structure"` } @@ -47235,16 +52961,16 @@ func (s ModifySnapshotAttributeOutput) GoString() string { } // Contains the parameters for ModifySpotFleetRequest. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySpotFleetRequestRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySpotFleetRequestRequest type ModifySpotFleetRequestInput struct { _ struct{} `type:"structure"` - // Indicates whether running Spot instances should be terminated if the target - // capacity of the Spot fleet request is decreased below the current size of - // the Spot fleet. + // Indicates whether running Spot Instances should be terminated if the target + // capacity of the Spot Fleet request is decreased below the current size of + // the Spot Fleet. ExcessCapacityTerminationPolicy *string `locationName:"excessCapacityTerminationPolicy" type:"string" enum:"ExcessCapacityTerminationPolicy"` - // The ID of the Spot fleet request. + // The ID of the Spot Fleet request. // // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` @@ -47295,7 +53021,7 @@ func (s *ModifySpotFleetRequestInput) SetTargetCapacity(v int64) *ModifySpotFlee } // Contains the output of ModifySpotFleetRequest. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySpotFleetRequestResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySpotFleetRequestResponse type ModifySpotFleetRequestOutput struct { _ struct{} `type:"structure"` @@ -47320,7 +53046,7 @@ func (s *ModifySpotFleetRequestOutput) SetReturn(v bool) *ModifySpotFleetRequest } // Contains the parameters for ModifySubnetAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttributeRequest type ModifySubnetAttributeInput struct { _ struct{} `type:"structure"` @@ -47387,7 +53113,7 @@ func (s *ModifySubnetAttributeInput) SetSubnetId(v string) *ModifySubnetAttribut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttributeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttributeOutput type ModifySubnetAttributeOutput struct { _ struct{} `type:"structure"` } @@ -47403,7 +53129,7 @@ func (s ModifySubnetAttributeOutput) GoString() string { } // Contains the parameters for ModifyVolumeAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeAttributeRequest type ModifyVolumeAttributeInput struct { _ struct{} `type:"structure"` @@ -47463,7 +53189,7 @@ func (s *ModifyVolumeAttributeInput) SetVolumeId(v string) *ModifyVolumeAttribut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeAttributeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeAttributeOutput type ModifyVolumeAttributeOutput struct { _ struct{} `type:"structure"` } @@ -47478,7 +53204,7 @@ func (s ModifyVolumeAttributeOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeRequest type ModifyVolumeInput struct { _ struct{} `type:"structure"` @@ -47570,7 +53296,7 @@ func (s *ModifyVolumeInput) SetVolumeType(v string) *ModifyVolumeInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeResult type ModifyVolumeOutput struct { _ struct{} `type:"structure"` @@ -47595,7 +53321,7 @@ func (s *ModifyVolumeOutput) SetVolumeModification(v *VolumeModification) *Modif } // Contains the parameters for ModifyVpcAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcAttributeRequest type ModifyVpcAttributeInput struct { _ struct{} `type:"structure"` @@ -47664,7 +53390,7 @@ func (s *ModifyVpcAttributeInput) SetVpcId(v string) *ModifyVpcAttributeInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcAttributeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcAttributeOutput type ModifyVpcAttributeOutput struct { _ struct{} `type:"structure"` } @@ -47679,8 +53405,102 @@ func (s ModifyVpcAttributeOutput) GoString() string { return s.String() } +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointConnectionNotificationRequest +type ModifyVpcEndpointConnectionNotificationInput struct { + _ struct{} `type:"structure"` + + // One or more events for the endpoint. Valid values are Accept, Connect, Delete, + // and Reject. + ConnectionEvents []*string `locationNameList:"item" type:"list"` + + // The ARN for the SNS topic for the notification. + ConnectionNotificationArn *string `type:"string"` + + // The ID of the notification. + // + // ConnectionNotificationId is a required field + ConnectionNotificationId *string `type:"string" required:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` +} + +// String returns the string representation +func (s ModifyVpcEndpointConnectionNotificationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyVpcEndpointConnectionNotificationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyVpcEndpointConnectionNotificationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyVpcEndpointConnectionNotificationInput"} + if s.ConnectionNotificationId == nil { + invalidParams.Add(request.NewErrParamRequired("ConnectionNotificationId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConnectionEvents sets the ConnectionEvents field's value. +func (s *ModifyVpcEndpointConnectionNotificationInput) SetConnectionEvents(v []*string) *ModifyVpcEndpointConnectionNotificationInput { + s.ConnectionEvents = v + return s +} + +// SetConnectionNotificationArn sets the ConnectionNotificationArn field's value. +func (s *ModifyVpcEndpointConnectionNotificationInput) SetConnectionNotificationArn(v string) *ModifyVpcEndpointConnectionNotificationInput { + s.ConnectionNotificationArn = &v + return s +} + +// SetConnectionNotificationId sets the ConnectionNotificationId field's value. +func (s *ModifyVpcEndpointConnectionNotificationInput) SetConnectionNotificationId(v string) *ModifyVpcEndpointConnectionNotificationInput { + s.ConnectionNotificationId = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyVpcEndpointConnectionNotificationInput) SetDryRun(v bool) *ModifyVpcEndpointConnectionNotificationInput { + s.DryRun = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointConnectionNotificationResult +type ModifyVpcEndpointConnectionNotificationOutput struct { + _ struct{} `type:"structure"` + + // Returns true if the request succeeds; otherwise, it returns an error. + ReturnValue *bool `locationName:"return" type:"boolean"` +} + +// String returns the string representation +func (s ModifyVpcEndpointConnectionNotificationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyVpcEndpointConnectionNotificationOutput) GoString() string { + return s.String() +} + +// SetReturnValue sets the ReturnValue field's value. +func (s *ModifyVpcEndpointConnectionNotificationOutput) SetReturnValue(v bool) *ModifyVpcEndpointConnectionNotificationOutput { + s.ReturnValue = &v + return s +} + // Contains the parameters for ModifyVpcEndpoint. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointRequest type ModifyVpcEndpointInput struct { _ struct{} `type:"structure"` @@ -47817,7 +53637,7 @@ func (s *ModifyVpcEndpointInput) SetVpcEndpointId(v string) *ModifyVpcEndpointIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointResult type ModifyVpcEndpointOutput struct { _ struct{} `type:"structure"` @@ -47841,7 +53661,206 @@ func (s *ModifyVpcEndpointOutput) SetReturn(v bool) *ModifyVpcEndpointOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcPeeringConnectionOptionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServiceConfigurationRequest +type ModifyVpcEndpointServiceConfigurationInput struct { + _ struct{} `type:"structure"` + + // Indicate whether requests to create an endpoint to your service must be accepted. + AcceptanceRequired *bool `type:"boolean"` + + // The Amazon Resource Names (ARNs) of Network Load Balancers to add to your + // service configuration. + AddNetworkLoadBalancerArns []*string `locationName:"addNetworkLoadBalancerArn" locationNameList:"item" type:"list"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The Amazon Resource Names (ARNs) of Network Load Balancers to remove from + // your service configuration. + RemoveNetworkLoadBalancerArns []*string `locationName:"removeNetworkLoadBalancerArn" locationNameList:"item" type:"list"` + + // The ID of the service. + // + // ServiceId is a required field + ServiceId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s ModifyVpcEndpointServiceConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyVpcEndpointServiceConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyVpcEndpointServiceConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyVpcEndpointServiceConfigurationInput"} + if s.ServiceId == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAcceptanceRequired sets the AcceptanceRequired field's value. +func (s *ModifyVpcEndpointServiceConfigurationInput) SetAcceptanceRequired(v bool) *ModifyVpcEndpointServiceConfigurationInput { + s.AcceptanceRequired = &v + return s +} + +// SetAddNetworkLoadBalancerArns sets the AddNetworkLoadBalancerArns field's value. +func (s *ModifyVpcEndpointServiceConfigurationInput) SetAddNetworkLoadBalancerArns(v []*string) *ModifyVpcEndpointServiceConfigurationInput { + s.AddNetworkLoadBalancerArns = v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyVpcEndpointServiceConfigurationInput) SetDryRun(v bool) *ModifyVpcEndpointServiceConfigurationInput { + s.DryRun = &v + return s +} + +// SetRemoveNetworkLoadBalancerArns sets the RemoveNetworkLoadBalancerArns field's value. +func (s *ModifyVpcEndpointServiceConfigurationInput) SetRemoveNetworkLoadBalancerArns(v []*string) *ModifyVpcEndpointServiceConfigurationInput { + s.RemoveNetworkLoadBalancerArns = v + return s +} + +// SetServiceId sets the ServiceId field's value. +func (s *ModifyVpcEndpointServiceConfigurationInput) SetServiceId(v string) *ModifyVpcEndpointServiceConfigurationInput { + s.ServiceId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServiceConfigurationResult +type ModifyVpcEndpointServiceConfigurationOutput struct { + _ struct{} `type:"structure"` + + // Returns true if the request succeeds; otherwise, it returns an error. + Return *bool `locationName:"return" type:"boolean"` +} + +// String returns the string representation +func (s ModifyVpcEndpointServiceConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyVpcEndpointServiceConfigurationOutput) GoString() string { + return s.String() +} + +// SetReturn sets the Return field's value. +func (s *ModifyVpcEndpointServiceConfigurationOutput) SetReturn(v bool) *ModifyVpcEndpointServiceConfigurationOutput { + s.Return = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissionsRequest +type ModifyVpcEndpointServicePermissionsInput struct { + _ struct{} `type:"structure"` + + // One or more Amazon Resource Names (ARNs) of principals for which to allow + // permission. Specify * to allow all principals. + AddAllowedPrincipals []*string `locationNameList:"item" type:"list"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // One or more Amazon Resource Names (ARNs) of principals for which to remove + // permission. + RemoveAllowedPrincipals []*string `locationNameList:"item" type:"list"` + + // The ID of the service. + // + // ServiceId is a required field + ServiceId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s ModifyVpcEndpointServicePermissionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyVpcEndpointServicePermissionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyVpcEndpointServicePermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyVpcEndpointServicePermissionsInput"} + if s.ServiceId == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAddAllowedPrincipals sets the AddAllowedPrincipals field's value. +func (s *ModifyVpcEndpointServicePermissionsInput) SetAddAllowedPrincipals(v []*string) *ModifyVpcEndpointServicePermissionsInput { + s.AddAllowedPrincipals = v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyVpcEndpointServicePermissionsInput) SetDryRun(v bool) *ModifyVpcEndpointServicePermissionsInput { + s.DryRun = &v + return s +} + +// SetRemoveAllowedPrincipals sets the RemoveAllowedPrincipals field's value. +func (s *ModifyVpcEndpointServicePermissionsInput) SetRemoveAllowedPrincipals(v []*string) *ModifyVpcEndpointServicePermissionsInput { + s.RemoveAllowedPrincipals = v + return s +} + +// SetServiceId sets the ServiceId field's value. +func (s *ModifyVpcEndpointServicePermissionsInput) SetServiceId(v string) *ModifyVpcEndpointServicePermissionsInput { + s.ServiceId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissionsResult +type ModifyVpcEndpointServicePermissionsOutput struct { + _ struct{} `type:"structure"` + + // Returns true if the request succeeds; otherwise, it returns an error. + ReturnValue *bool `locationName:"return" type:"boolean"` +} + +// String returns the string representation +func (s ModifyVpcEndpointServicePermissionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyVpcEndpointServicePermissionsOutput) GoString() string { + return s.String() +} + +// SetReturnValue sets the ReturnValue field's value. +func (s *ModifyVpcEndpointServicePermissionsOutput) SetReturnValue(v bool) *ModifyVpcEndpointServicePermissionsOutput { + s.ReturnValue = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcPeeringConnectionOptionsRequest type ModifyVpcPeeringConnectionOptionsInput struct { _ struct{} `type:"structure"` @@ -47910,7 +53929,7 @@ func (s *ModifyVpcPeeringConnectionOptionsInput) SetVpcPeeringConnectionId(v str return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcPeeringConnectionOptionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcPeeringConnectionOptionsResult type ModifyVpcPeeringConnectionOptionsOutput struct { _ struct{} `type:"structure"` @@ -47944,7 +53963,7 @@ func (s *ModifyVpcPeeringConnectionOptionsOutput) SetRequesterPeeringConnectionO } // Contains the parameters for ModifyVpcTenancy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancyRequest type ModifyVpcTenancyInput struct { _ struct{} `type:"structure"` @@ -48010,7 +54029,7 @@ func (s *ModifyVpcTenancyInput) SetVpcId(v string) *ModifyVpcTenancyInput { } // Contains the output of ModifyVpcTenancy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancyResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancyResult type ModifyVpcTenancyOutput struct { _ struct{} `type:"structure"` @@ -48035,7 +54054,7 @@ func (s *ModifyVpcTenancyOutput) SetReturnValue(v bool) *ModifyVpcTenancyOutput } // Contains the parameters for MonitorInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MonitorInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MonitorInstancesRequest type MonitorInstancesInput struct { _ struct{} `type:"structure"` @@ -48087,7 +54106,7 @@ func (s *MonitorInstancesInput) SetInstanceIds(v []*string) *MonitorInstancesInp } // Contains the output of MonitorInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MonitorInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MonitorInstancesResult type MonitorInstancesOutput struct { _ struct{} `type:"structure"` @@ -48112,7 +54131,7 @@ func (s *MonitorInstancesOutput) SetInstanceMonitorings(v []*InstanceMonitoring) } // Describes the monitoring of an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Monitoring +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Monitoring type Monitoring struct { _ struct{} `type:"structure"` @@ -48138,7 +54157,7 @@ func (s *Monitoring) SetState(v string) *Monitoring { } // Contains the parameters for MoveAddressToVpc. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveAddressToVpcRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveAddressToVpcRequest type MoveAddressToVpcInput struct { _ struct{} `type:"structure"` @@ -48190,7 +54209,7 @@ func (s *MoveAddressToVpcInput) SetPublicIp(v string) *MoveAddressToVpcInput { } // Contains the output of MoveAddressToVpc. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveAddressToVpcResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveAddressToVpcResult type MoveAddressToVpcOutput struct { _ struct{} `type:"structure"` @@ -48224,7 +54243,7 @@ func (s *MoveAddressToVpcOutput) SetStatus(v string) *MoveAddressToVpcOutput { } // Describes the status of a moving Elastic IP address. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MovingAddressStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MovingAddressStatus type MovingAddressStatus struct { _ struct{} `type:"structure"` @@ -48259,7 +54278,7 @@ func (s *MovingAddressStatus) SetPublicIp(v string) *MovingAddressStatus { } // Describes a NAT gateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NatGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NatGateway type NatGateway struct { _ struct{} `type:"structure"` @@ -48414,7 +54433,7 @@ func (s *NatGateway) SetVpcId(v string) *NatGateway { } // Describes the IP addresses and network interface associated with a NAT gateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NatGatewayAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NatGatewayAddress type NatGatewayAddress struct { _ struct{} `type:"structure"` @@ -48467,7 +54486,7 @@ func (s *NatGatewayAddress) SetPublicIp(v string) *NatGatewayAddress { } // Describes a network ACL. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkAcl +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkAcl type NetworkAcl struct { _ struct{} `type:"structure"` @@ -48537,7 +54556,7 @@ func (s *NetworkAcl) SetVpcId(v string) *NetworkAcl { } // Describes an association between a network ACL and a subnet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkAclAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkAclAssociation type NetworkAclAssociation struct { _ struct{} `type:"structure"` @@ -48580,7 +54599,7 @@ func (s *NetworkAclAssociation) SetSubnetId(v string) *NetworkAclAssociation { } // Describes an entry in a network ACL. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkAclEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkAclEntry type NetworkAclEntry struct { _ struct{} `type:"structure"` @@ -48670,7 +54689,7 @@ func (s *NetworkAclEntry) SetRuleNumber(v int64) *NetworkAclEntry { } // Describes a network interface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterface type NetworkInterface struct { _ struct{} `type:"structure"` @@ -48868,7 +54887,7 @@ func (s *NetworkInterface) SetVpcId(v string) *NetworkInterface { } // Describes association information for an Elastic IP address (IPv4 only). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfaceAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfaceAssociation type NetworkInterfaceAssociation struct { _ struct{} `type:"structure"` @@ -48929,7 +54948,7 @@ func (s *NetworkInterfaceAssociation) SetPublicIp(v string) *NetworkInterfaceAss } // Describes a network interface attachment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfaceAttachment +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfaceAttachment type NetworkInterfaceAttachment struct { _ struct{} `type:"structure"` @@ -49008,7 +55027,7 @@ func (s *NetworkInterfaceAttachment) SetStatus(v string) *NetworkInterfaceAttach } // Describes an attachment change. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfaceAttachmentChanges +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfaceAttachmentChanges type NetworkInterfaceAttachmentChanges struct { _ struct{} `type:"structure"` @@ -49042,7 +55061,7 @@ func (s *NetworkInterfaceAttachmentChanges) SetDeleteOnTermination(v bool) *Netw } // Describes an IPv6 address associated with a network interface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfaceIpv6Address +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfaceIpv6Address type NetworkInterfaceIpv6Address struct { _ struct{} `type:"structure"` @@ -49067,7 +55086,7 @@ func (s *NetworkInterfaceIpv6Address) SetIpv6Address(v string) *NetworkInterface } // Describes a permission for a network interface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfacePermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfacePermission type NetworkInterfacePermission struct { _ struct{} `type:"structure"` @@ -49137,7 +55156,7 @@ func (s *NetworkInterfacePermission) SetPermissionState(v *NetworkInterfacePermi } // Describes the state of a network interface permission. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfacePermissionState +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfacePermissionState type NetworkInterfacePermissionState struct { _ struct{} `type:"structure"` @@ -49171,7 +55190,7 @@ func (s *NetworkInterfacePermissionState) SetStatusMessage(v string) *NetworkInt } // Describes the private IPv4 address of a network interface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfacePrivateIpAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfacePrivateIpAddress type NetworkInterfacePrivateIpAddress struct { _ struct{} `type:"structure"` @@ -49224,7 +55243,7 @@ func (s *NetworkInterfacePrivateIpAddress) SetPrivateIpAddress(v string) *Networ return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NewDhcpConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NewDhcpConfiguration type NewDhcpConfiguration struct { _ struct{} `type:"structure"` @@ -49257,7 +55276,7 @@ func (s *NewDhcpConfiguration) SetValues(v []*string) *NewDhcpConfiguration { // Describes the data that identifies an Amazon FPGA image (AFI) on the PCI // bus. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PciId +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PciId type PciId struct { _ struct{} `type:"structure"` @@ -49309,7 +55328,7 @@ func (s *PciId) SetVendorId(v string) *PciId { } // Describes the VPC peering connection options. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PeeringConnectionOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PeeringConnectionOptions type PeeringConnectionOptions struct { _ struct{} `type:"structure"` @@ -49355,7 +55374,7 @@ func (s *PeeringConnectionOptions) SetAllowEgressFromLocalVpcToRemoteClassicLink } // The VPC peering connection options. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PeeringConnectionOptionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PeeringConnectionOptionsRequest type PeeringConnectionOptionsRequest struct { _ struct{} `type:"structure"` @@ -49401,7 +55420,7 @@ func (s *PeeringConnectionOptionsRequest) SetAllowEgressFromLocalVpcToRemoteClas } // Describes the placement of an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Placement +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Placement type Placement struct { _ struct{} `type:"structure"` @@ -49475,7 +55494,7 @@ func (s *Placement) SetTenancy(v string) *Placement { } // Describes a placement group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PlacementGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PlacementGroup type PlacementGroup struct { _ struct{} `type:"structure"` @@ -49518,7 +55537,7 @@ func (s *PlacementGroup) SetStrategy(v string) *PlacementGroup { } // Describes a range of ports. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PortRange +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PortRange type PortRange struct { _ struct{} `type:"structure"` @@ -49552,7 +55571,7 @@ func (s *PortRange) SetTo(v int64) *PortRange { } // Describes prefixes for AWS services. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PrefixList +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PrefixList type PrefixList struct { _ struct{} `type:"structure"` @@ -49595,7 +55614,7 @@ func (s *PrefixList) SetPrefixListName(v string) *PrefixList { } // The ID of the prefix. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PrefixListId +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PrefixListId type PrefixListId struct { _ struct{} `type:"structure"` @@ -49633,7 +55652,7 @@ func (s *PrefixListId) SetPrefixListId(v string) *PrefixListId { } // Describes the price for a Reserved Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PriceSchedule +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PriceSchedule type PriceSchedule struct { _ struct{} `type:"structure"` @@ -49696,7 +55715,7 @@ func (s *PriceSchedule) SetTerm(v int64) *PriceSchedule { } // Describes the price for a Reserved Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PriceScheduleSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PriceScheduleSpecification type PriceScheduleSpecification struct { _ struct{} `type:"structure"` @@ -49741,7 +55760,7 @@ func (s *PriceScheduleSpecification) SetTerm(v int64) *PriceScheduleSpecificatio } // Describes a Reserved Instance offering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PricingDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PricingDetail type PricingDetail struct { _ struct{} `type:"structure"` @@ -49775,7 +55794,7 @@ func (s *PricingDetail) SetPrice(v float64) *PricingDetail { } // Describes a secondary private IPv4 address for a network interface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PrivateIpAddressSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PrivateIpAddressSpecification type PrivateIpAddressSpecification struct { _ struct{} `type:"structure"` @@ -49825,7 +55844,7 @@ func (s *PrivateIpAddressSpecification) SetPrivateIpAddress(v string) *PrivateIp } // Describes a product code. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProductCode +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProductCode type ProductCode struct { _ struct{} `type:"structure"` @@ -49859,7 +55878,7 @@ func (s *ProductCode) SetProductCodeType(v string) *ProductCode { } // Describes a virtual private gateway propagating route. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PropagatingVgw +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PropagatingVgw type PropagatingVgw struct { _ struct{} `type:"structure"` @@ -49886,7 +55905,7 @@ func (s *PropagatingVgw) SetGatewayId(v string) *PropagatingVgw { // Reserved. If you need to sustain traffic greater than the documented limits // (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-nat-gateway.html), // contact us through the Support Center (https://console.aws.amazon.com/support/home?). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionedBandwidth +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionedBandwidth type ProvisionedBandwidth struct { _ struct{} `type:"structure"` @@ -49957,7 +55976,7 @@ func (s *ProvisionedBandwidth) SetStatus(v string) *ProvisionedBandwidth { } // Describes the result of the purchase. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Purchase +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Purchase type Purchase struct { _ struct{} `type:"structure"` @@ -50046,7 +56065,7 @@ func (s *Purchase) SetUpfrontPrice(v string) *Purchase { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseHostReservationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseHostReservationRequest type PurchaseHostReservationInput struct { _ struct{} `type:"structure"` @@ -50136,7 +56155,7 @@ func (s *PurchaseHostReservationInput) SetOfferingId(v string) *PurchaseHostRese return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseHostReservationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseHostReservationResult type PurchaseHostReservationOutput struct { _ struct{} `type:"structure"` @@ -50201,7 +56220,7 @@ func (s *PurchaseHostReservationOutput) SetTotalUpfrontPrice(v string) *Purchase } // Describes a request to purchase Scheduled Instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseRequest type PurchaseRequest struct { _ struct{} `type:"structure"` @@ -50255,7 +56274,7 @@ func (s *PurchaseRequest) SetPurchaseToken(v string) *PurchaseRequest { } // Contains the parameters for PurchaseReservedInstancesOffering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseReservedInstancesOfferingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseReservedInstancesOfferingRequest type PurchaseReservedInstancesOfferingInput struct { _ struct{} `type:"structure"` @@ -50332,7 +56351,7 @@ func (s *PurchaseReservedInstancesOfferingInput) SetReservedInstancesOfferingId( } // Contains the output of PurchaseReservedInstancesOffering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseReservedInstancesOfferingResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseReservedInstancesOfferingResult type PurchaseReservedInstancesOfferingOutput struct { _ struct{} `type:"structure"` @@ -50357,7 +56376,7 @@ func (s *PurchaseReservedInstancesOfferingOutput) SetReservedInstancesId(v strin } // Contains the parameters for PurchaseScheduledInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseScheduledInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseScheduledInstancesRequest type PurchaseScheduledInstancesInput struct { _ struct{} `type:"structure"` @@ -50432,7 +56451,7 @@ func (s *PurchaseScheduledInstancesInput) SetPurchaseRequests(v []*PurchaseReque } // Contains the output of PurchaseScheduledInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseScheduledInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseScheduledInstancesResult type PurchaseScheduledInstancesOutput struct { _ struct{} `type:"structure"` @@ -50457,7 +56476,7 @@ func (s *PurchaseScheduledInstancesOutput) SetScheduledInstanceSet(v []*Schedule } // Contains the parameters for RebootInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RebootInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RebootInstancesRequest type RebootInstancesInput struct { _ struct{} `type:"structure"` @@ -50508,7 +56527,7 @@ func (s *RebootInstancesInput) SetInstanceIds(v []*string) *RebootInstancesInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RebootInstancesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RebootInstancesOutput type RebootInstancesOutput struct { _ struct{} `type:"structure"` } @@ -50524,7 +56543,7 @@ func (s RebootInstancesOutput) GoString() string { } // Describes a recurring charge. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RecurringCharge +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RecurringCharge type RecurringCharge struct { _ struct{} `type:"structure"` @@ -50558,7 +56577,7 @@ func (s *RecurringCharge) SetFrequency(v string) *RecurringCharge { } // Describes a region. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Region +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Region type Region struct { _ struct{} `type:"structure"` @@ -50592,7 +56611,7 @@ func (s *Region) SetRegionName(v string) *Region { } // Contains the parameters for RegisterImage. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImageRequest type RegisterImageInput struct { _ struct{} `type:"structure"` @@ -50657,7 +56676,7 @@ type RegisterImageInput struct { // PV AMI can make instances launched from the AMI unreachable. SriovNetSupport *string `locationName:"sriovNetSupport" type:"string"` - // The type of virtualization. + // The type of virtualization (hvm | paravirtual). // // Default: paravirtual VirtualizationType *string `locationName:"virtualizationType" type:"string"` @@ -50765,7 +56784,7 @@ func (s *RegisterImageInput) SetVirtualizationType(v string) *RegisterImageInput } // Contains the output of RegisterImage. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImageResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImageResult type RegisterImageOutput struct { _ struct{} `type:"structure"` @@ -50789,8 +56808,97 @@ func (s *RegisterImageOutput) SetImageId(v string) *RegisterImageOutput { return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcEndpointConnectionsRequest +type RejectVpcEndpointConnectionsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the service. + // + // ServiceId is a required field + ServiceId *string `type:"string" required:"true"` + + // The IDs of one or more VPC endpoints. + // + // VpcEndpointIds is a required field + VpcEndpointIds []*string `locationName:"VpcEndpointId" locationNameList:"item" type:"list" required:"true"` +} + +// String returns the string representation +func (s RejectVpcEndpointConnectionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RejectVpcEndpointConnectionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RejectVpcEndpointConnectionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RejectVpcEndpointConnectionsInput"} + if s.ServiceId == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceId")) + } + if s.VpcEndpointIds == nil { + invalidParams.Add(request.NewErrParamRequired("VpcEndpointIds")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *RejectVpcEndpointConnectionsInput) SetDryRun(v bool) *RejectVpcEndpointConnectionsInput { + s.DryRun = &v + return s +} + +// SetServiceId sets the ServiceId field's value. +func (s *RejectVpcEndpointConnectionsInput) SetServiceId(v string) *RejectVpcEndpointConnectionsInput { + s.ServiceId = &v + return s +} + +// SetVpcEndpointIds sets the VpcEndpointIds field's value. +func (s *RejectVpcEndpointConnectionsInput) SetVpcEndpointIds(v []*string) *RejectVpcEndpointConnectionsInput { + s.VpcEndpointIds = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcEndpointConnectionsResult +type RejectVpcEndpointConnectionsOutput struct { + _ struct{} `type:"structure"` + + // Information about the endpoints that were not rejected, if applicable. + Unsuccessful []*UnsuccessfulItem `locationName:"unsuccessful" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s RejectVpcEndpointConnectionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RejectVpcEndpointConnectionsOutput) GoString() string { + return s.String() +} + +// SetUnsuccessful sets the Unsuccessful field's value. +func (s *RejectVpcEndpointConnectionsOutput) SetUnsuccessful(v []*UnsuccessfulItem) *RejectVpcEndpointConnectionsOutput { + s.Unsuccessful = v + return s +} + // Contains the parameters for RejectVpcPeeringConnection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcPeeringConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcPeeringConnectionRequest type RejectVpcPeeringConnectionInput struct { _ struct{} `type:"structure"` @@ -50842,7 +56950,7 @@ func (s *RejectVpcPeeringConnectionInput) SetVpcPeeringConnectionId(v string) *R } // Contains the output of RejectVpcPeeringConnection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcPeeringConnectionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcPeeringConnectionResult type RejectVpcPeeringConnectionOutput struct { _ struct{} `type:"structure"` @@ -50867,7 +56975,7 @@ func (s *RejectVpcPeeringConnectionOutput) SetReturn(v bool) *RejectVpcPeeringCo } // Contains the parameters for ReleaseAddress. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseAddressRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseAddressRequest type ReleaseAddressInput struct { _ struct{} `type:"structure"` @@ -50912,7 +57020,7 @@ func (s *ReleaseAddressInput) SetPublicIp(v string) *ReleaseAddressInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseAddressOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseAddressOutput type ReleaseAddressOutput struct { _ struct{} `type:"structure"` } @@ -50928,7 +57036,7 @@ func (s ReleaseAddressOutput) GoString() string { } // Contains the parameters for ReleaseHosts. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseHostsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseHostsRequest type ReleaseHostsInput struct { _ struct{} `type:"structure"` @@ -50968,7 +57076,7 @@ func (s *ReleaseHostsInput) SetHostIds(v []*string) *ReleaseHostsInput { } // Contains the output of ReleaseHosts. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseHostsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseHostsResult type ReleaseHostsOutput struct { _ struct{} `type:"structure"` @@ -51002,7 +57110,7 @@ func (s *ReleaseHostsOutput) SetUnsuccessful(v []*UnsuccessfulItem) *ReleaseHost return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceIamInstanceProfileAssociationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceIamInstanceProfileAssociationRequest type ReplaceIamInstanceProfileAssociationInput struct { _ struct{} `type:"structure"` @@ -51055,7 +57163,7 @@ func (s *ReplaceIamInstanceProfileAssociationInput) SetIamInstanceProfile(v *Iam return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceIamInstanceProfileAssociationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceIamInstanceProfileAssociationResult type ReplaceIamInstanceProfileAssociationOutput struct { _ struct{} `type:"structure"` @@ -51080,7 +57188,7 @@ func (s *ReplaceIamInstanceProfileAssociationOutput) SetIamInstanceProfileAssoci } // Contains the parameters for ReplaceNetworkAclAssociation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclAssociationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclAssociationRequest type ReplaceNetworkAclAssociationInput struct { _ struct{} `type:"structure"` @@ -51147,7 +57255,7 @@ func (s *ReplaceNetworkAclAssociationInput) SetNetworkAclId(v string) *ReplaceNe } // Contains the output of ReplaceNetworkAclAssociation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclAssociationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclAssociationResult type ReplaceNetworkAclAssociationOutput struct { _ struct{} `type:"structure"` @@ -51172,7 +57280,7 @@ func (s *ReplaceNetworkAclAssociationOutput) SetNewAssociationId(v string) *Repl } // Contains the parameters for ReplaceNetworkAclEntry. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclEntryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclEntryRequest type ReplaceNetworkAclEntryInput struct { _ struct{} `type:"structure"` @@ -51325,7 +57433,7 @@ func (s *ReplaceNetworkAclEntryInput) SetRuleNumber(v int64) *ReplaceNetworkAclE return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclEntryOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclEntryOutput type ReplaceNetworkAclEntryOutput struct { _ struct{} `type:"structure"` } @@ -51341,7 +57449,7 @@ func (s ReplaceNetworkAclEntryOutput) GoString() string { } // Contains the parameters for ReplaceRoute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteRequest type ReplaceRouteInput struct { _ struct{} `type:"structure"` @@ -51466,7 +57574,7 @@ func (s *ReplaceRouteInput) SetVpcPeeringConnectionId(v string) *ReplaceRouteInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteOutput type ReplaceRouteOutput struct { _ struct{} `type:"structure"` } @@ -51482,7 +57590,7 @@ func (s ReplaceRouteOutput) GoString() string { } // Contains the parameters for ReplaceRouteTableAssociation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteTableAssociationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteTableAssociationRequest type ReplaceRouteTableAssociationInput struct { _ struct{} `type:"structure"` @@ -51548,7 +57656,7 @@ func (s *ReplaceRouteTableAssociationInput) SetRouteTableId(v string) *ReplaceRo } // Contains the output of ReplaceRouteTableAssociation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteTableAssociationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteTableAssociationResult type ReplaceRouteTableAssociationOutput struct { _ struct{} `type:"structure"` @@ -51573,7 +57681,7 @@ func (s *ReplaceRouteTableAssociationOutput) SetNewAssociationId(v string) *Repl } // Contains the parameters for ReportInstanceStatus. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReportInstanceStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReportInstanceStatusRequest type ReportInstanceStatusInput struct { _ struct{} `type:"structure"` @@ -51700,7 +57808,7 @@ func (s *ReportInstanceStatusInput) SetStatus(v string) *ReportInstanceStatusInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReportInstanceStatusOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReportInstanceStatusOutput type ReportInstanceStatusOutput struct { _ struct{} `type:"structure"` } @@ -51715,8 +57823,277 @@ func (s ReportInstanceStatusOutput) GoString() string { return s.String() } +// The information to include in the launch template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestLaunchTemplateData +type RequestLaunchTemplateData struct { + _ struct{} `type:"structure"` + + // The block device mapping. + // + // Supplying both a snapshot ID and an encryption value as arguments for block-device + // mapping results in an error. This is because only blank volumes can be encrypted + // on start, and these are not created from a snapshot. If a snapshot is the + // basis for the volume, it contains data by definition and its encryption status + // cannot be changed using this action. + BlockDeviceMappings []*LaunchTemplateBlockDeviceMappingRequest `locationName:"BlockDeviceMapping" locationNameList:"BlockDeviceMapping" type:"list"` + + // The credit option for CPU usage of the instance. Valid for T2 instances only. + CreditSpecification *CreditSpecificationRequest `type:"structure"` + + // If set to true, you can't terminate the instance using the Amazon EC2 console, + // CLI, or API. To change this attribute to false after launch, use ModifyInstanceAttribute. + DisableApiTermination *bool `type:"boolean"` + + // Indicates whether the instance is optimized for Amazon EBS I/O. This optimization + // provides dedicated throughput to Amazon EBS and an optimized configuration + // stack to provide optimal Amazon EBS I/O performance. This optimization isn't + // available with all instance types. Additional usage charges apply when using + // an EBS-optimized instance. + EbsOptimized *bool `type:"boolean"` + + // An elastic GPU to associate with the instance. + ElasticGpuSpecifications []*ElasticGpuSpecification `locationName:"ElasticGpuSpecification" locationNameList:"ElasticGpuSpecification" type:"list"` + + // The IAM instance profile. + IamInstanceProfile *LaunchTemplateIamInstanceProfileSpecificationRequest `type:"structure"` + + // The ID of the AMI, which you can get by using DescribeImages. + ImageId *string `type:"string"` + + // Indicates whether an instance stops or terminates when you initiate shutdown + // from the instance (using the operating system command for system shutdown). + // + // Default: stop + InstanceInitiatedShutdownBehavior *string `type:"string" enum:"ShutdownBehavior"` + + // The market (purchasing) option for the instances. + InstanceMarketOptions *LaunchTemplateInstanceMarketOptionsRequest `type:"structure"` + + // The instance type. For more information, see Instance Types (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) + // in the Amazon Elastic Compute Cloud User Guide. + InstanceType *string `type:"string" enum:"InstanceType"` + + // The ID of the kernel. + // + // We recommend that you use PV-GRUB instead of kernels and RAM disks. For more + // information, see User Provided Kernels (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) + // in the Amazon Elastic Compute Cloud User Guide. + KernelId *string `type:"string"` + + // The name of the key pair. You can create a key pair using CreateKeyPair or + // ImportKeyPair. + // + // If you do not specify a key pair, you can't connect to the instance unless + // you choose an AMI that is configured to allow users another way to log in. + KeyName *string `type:"string"` + + // The monitoring for the instance. + Monitoring *LaunchTemplatesMonitoringRequest `type:"structure"` + + // One or more network interfaces. + NetworkInterfaces []*LaunchTemplateInstanceNetworkInterfaceSpecificationRequest `locationName:"NetworkInterface" locationNameList:"InstanceNetworkInterfaceSpecification" type:"list"` + + // The placement for the instance. + Placement *LaunchTemplatePlacementRequest `type:"structure"` + + // The ID of the RAM disk. + // + // We recommend that you use PV-GRUB instead of kernels and RAM disks. For more + // information, see User Provided Kernels (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) + // in the Amazon Elastic Compute Cloud User Guide. + RamDiskId *string `type:"string"` + + // One or more security group IDs. You can create a security group using CreateSecurityGroup. + // You cannot specify both a security group ID and security name in the same + // request. + SecurityGroupIds []*string `locationName:"SecurityGroupId" locationNameList:"SecurityGroupId" type:"list"` + + // [EC2-Classic, default VPC] One or more security group names. For a nondefault + // VPC, you must use security group IDs instead. You cannot specify both a security + // group ID and security name in the same request. + SecurityGroups []*string `locationName:"SecurityGroup" locationNameList:"SecurityGroup" type:"list"` + + // The tags to apply to the resources during launch. You can tag instances and + // volumes. The specified tags are applied to all instances or volumes that + // are created during launch. + TagSpecifications []*LaunchTemplateTagSpecificationRequest `locationName:"TagSpecification" locationNameList:"LaunchTemplateTagSpecificationRequest" type:"list"` + + // The user data to make available to the instance. For more information, see + // Running Commands on Your Linux Instance at Launch (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html) + // (Linux) and Adding User Data (http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html#instancedata-add-user-data) + // (Windows). If you are using a command line tool, base64-encoding is performed + // for you and you can load the text from a file. Otherwise, you must provide + // base64-encoded text. + UserData *string `type:"string"` +} + +// String returns the string representation +func (s RequestLaunchTemplateData) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RequestLaunchTemplateData) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RequestLaunchTemplateData) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RequestLaunchTemplateData"} + if s.CreditSpecification != nil { + if err := s.CreditSpecification.Validate(); err != nil { + invalidParams.AddNested("CreditSpecification", err.(request.ErrInvalidParams)) + } + } + if s.ElasticGpuSpecifications != nil { + for i, v := range s.ElasticGpuSpecifications { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ElasticGpuSpecifications", i), err.(request.ErrInvalidParams)) + } + } + } + if s.NetworkInterfaces != nil { + for i, v := range s.NetworkInterfaces { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "NetworkInterfaces", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. +func (s *RequestLaunchTemplateData) SetBlockDeviceMappings(v []*LaunchTemplateBlockDeviceMappingRequest) *RequestLaunchTemplateData { + s.BlockDeviceMappings = v + return s +} + +// SetCreditSpecification sets the CreditSpecification field's value. +func (s *RequestLaunchTemplateData) SetCreditSpecification(v *CreditSpecificationRequest) *RequestLaunchTemplateData { + s.CreditSpecification = v + return s +} + +// SetDisableApiTermination sets the DisableApiTermination field's value. +func (s *RequestLaunchTemplateData) SetDisableApiTermination(v bool) *RequestLaunchTemplateData { + s.DisableApiTermination = &v + return s +} + +// SetEbsOptimized sets the EbsOptimized field's value. +func (s *RequestLaunchTemplateData) SetEbsOptimized(v bool) *RequestLaunchTemplateData { + s.EbsOptimized = &v + return s +} + +// SetElasticGpuSpecifications sets the ElasticGpuSpecifications field's value. +func (s *RequestLaunchTemplateData) SetElasticGpuSpecifications(v []*ElasticGpuSpecification) *RequestLaunchTemplateData { + s.ElasticGpuSpecifications = v + return s +} + +// SetIamInstanceProfile sets the IamInstanceProfile field's value. +func (s *RequestLaunchTemplateData) SetIamInstanceProfile(v *LaunchTemplateIamInstanceProfileSpecificationRequest) *RequestLaunchTemplateData { + s.IamInstanceProfile = v + return s +} + +// SetImageId sets the ImageId field's value. +func (s *RequestLaunchTemplateData) SetImageId(v string) *RequestLaunchTemplateData { + s.ImageId = &v + return s +} + +// SetInstanceInitiatedShutdownBehavior sets the InstanceInitiatedShutdownBehavior field's value. +func (s *RequestLaunchTemplateData) SetInstanceInitiatedShutdownBehavior(v string) *RequestLaunchTemplateData { + s.InstanceInitiatedShutdownBehavior = &v + return s +} + +// SetInstanceMarketOptions sets the InstanceMarketOptions field's value. +func (s *RequestLaunchTemplateData) SetInstanceMarketOptions(v *LaunchTemplateInstanceMarketOptionsRequest) *RequestLaunchTemplateData { + s.InstanceMarketOptions = v + return s +} + +// SetInstanceType sets the InstanceType field's value. +func (s *RequestLaunchTemplateData) SetInstanceType(v string) *RequestLaunchTemplateData { + s.InstanceType = &v + return s +} + +// SetKernelId sets the KernelId field's value. +func (s *RequestLaunchTemplateData) SetKernelId(v string) *RequestLaunchTemplateData { + s.KernelId = &v + return s +} + +// SetKeyName sets the KeyName field's value. +func (s *RequestLaunchTemplateData) SetKeyName(v string) *RequestLaunchTemplateData { + s.KeyName = &v + return s +} + +// SetMonitoring sets the Monitoring field's value. +func (s *RequestLaunchTemplateData) SetMonitoring(v *LaunchTemplatesMonitoringRequest) *RequestLaunchTemplateData { + s.Monitoring = v + return s +} + +// SetNetworkInterfaces sets the NetworkInterfaces field's value. +func (s *RequestLaunchTemplateData) SetNetworkInterfaces(v []*LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) *RequestLaunchTemplateData { + s.NetworkInterfaces = v + return s +} + +// SetPlacement sets the Placement field's value. +func (s *RequestLaunchTemplateData) SetPlacement(v *LaunchTemplatePlacementRequest) *RequestLaunchTemplateData { + s.Placement = v + return s +} + +// SetRamDiskId sets the RamDiskId field's value. +func (s *RequestLaunchTemplateData) SetRamDiskId(v string) *RequestLaunchTemplateData { + s.RamDiskId = &v + return s +} + +// SetSecurityGroupIds sets the SecurityGroupIds field's value. +func (s *RequestLaunchTemplateData) SetSecurityGroupIds(v []*string) *RequestLaunchTemplateData { + s.SecurityGroupIds = v + return s +} + +// SetSecurityGroups sets the SecurityGroups field's value. +func (s *RequestLaunchTemplateData) SetSecurityGroups(v []*string) *RequestLaunchTemplateData { + s.SecurityGroups = v + return s +} + +// SetTagSpecifications sets the TagSpecifications field's value. +func (s *RequestLaunchTemplateData) SetTagSpecifications(v []*LaunchTemplateTagSpecificationRequest) *RequestLaunchTemplateData { + s.TagSpecifications = v + return s +} + +// SetUserData sets the UserData field's value. +func (s *RequestLaunchTemplateData) SetUserData(v string) *RequestLaunchTemplateData { + s.UserData = &v + return s +} + // Contains the parameters for RequestSpotFleet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotFleetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotFleetRequest type RequestSpotFleetInput struct { _ struct{} `type:"structure"` @@ -51726,7 +58103,7 @@ type RequestSpotFleetInput struct { // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - // The configuration for the Spot fleet request. + // The configuration for the Spot Fleet request. // // SpotFleetRequestConfig is a required field SpotFleetRequestConfig *SpotFleetRequestConfigData `locationName:"spotFleetRequestConfig" type:"structure" required:"true"` @@ -51773,11 +58150,11 @@ func (s *RequestSpotFleetInput) SetSpotFleetRequestConfig(v *SpotFleetRequestCon } // Contains the output of RequestSpotFleet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotFleetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotFleetResponse type RequestSpotFleetOutput struct { _ struct{} `type:"structure"` - // The ID of the Spot fleet request. + // The ID of the Spot Fleet request. // // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` @@ -51800,38 +58177,38 @@ func (s *RequestSpotFleetOutput) SetSpotFleetRequestId(v string) *RequestSpotFle } // Contains the parameters for RequestSpotInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstancesRequest type RequestSpotInstancesInput struct { _ struct{} `type:"structure"` - // The user-specified name for a logical grouping of bids. + // The user-specified name for a logical grouping of requests. // // When you specify an Availability Zone group in a Spot Instance request, all - // Spot instances in the request are launched in the same Availability Zone. + // Spot Instances in the request are launched in the same Availability Zone. // Instance proximity is maintained with this parameter, but the choice of Availability - // Zone is not. The group applies only to bids for Spot Instances of the same - // instance type. Any additional Spot instance requests that are specified with - // the same Availability Zone group name are launched in that same Availability + // Zone is not. The group applies only to requests for Spot Instances of the + // same instance type. Any additional Spot Instance requests that are specified + // with the same Availability Zone group name are launched in that same Availability // Zone, as long as at least one instance from the group is still active. // // If there is no active instance running in the Availability Zone group that - // you specify for a new Spot instance request (all instances are terminated, - // the bid is expired, or the bid falls below current market), then Amazon EC2 - // launches the instance in any Availability Zone where the constraint can be - // met. Consequently, the subsequent set of Spot instances could be placed in - // a different zone from the original request, even if you specified the same - // Availability Zone group. + // you specify for a new Spot Instance request (all instances are terminated, + // the request is expired, or the maximum price you specified falls below current + // Spot price), then Amazon EC2 launches the instance in any Availability Zone + // where the constraint can be met. Consequently, the subsequent set of Spot + // Instances could be placed in a different zone from the original request, + // even if you specified the same Availability Zone group. // // Default: Instances are launched in any available Availability Zone. AvailabilityZoneGroup *string `locationName:"availabilityZoneGroup" type:"string"` - // The required duration for the Spot instances (also known as Spot blocks), + // The required duration for the Spot Instances (also known as Spot blocks), // in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, // or 360). // - // The duration period starts as soon as your Spot instance receives its instance - // ID. At the end of the duration period, Amazon EC2 marks the Spot instance - // for termination and provides a Spot instance termination notice, which gives + // The duration period starts as soon as your Spot Instance receives its instance + // ID. At the end of the duration period, Amazon EC2 marks the Spot Instance + // for termination and provides a Spot Instance termination notice, which gives // the instance a two-minute warning before it terminates. // // Note that you can't specify an Availability Zone group or a launch group @@ -51849,15 +58226,15 @@ type RequestSpotInstancesInput struct { // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` - // The maximum number of Spot instances to launch. + // The maximum number of Spot Instances to launch. // // Default: 1 InstanceCount *int64 `locationName:"instanceCount" type:"integer"` - // Indicates whether a Spot instance stops or terminates when it is interrupted. + // The behavior when a Spot Instance is interrupted. The default is terminate. InstanceInterruptionBehavior *string `type:"string" enum:"InstanceInterruptionBehavior"` - // The instance launch group. Launch groups are Spot instances that launch together + // The instance launch group. Launch groups are Spot Instances that launch together // and terminate together. // // Default: Instances are launched and terminated individually @@ -51866,13 +58243,11 @@ type RequestSpotInstancesInput struct { // The launch specification. LaunchSpecification *RequestSpotLaunchSpecification `type:"structure"` - // The maximum hourly price (bid) for any Spot instance launched to fulfill - // the request. - // - // SpotPrice is a required field - SpotPrice *string `locationName:"spotPrice" type:"string" required:"true"` + // The maximum price per hour that you are willing to pay for a Spot Instance. + // The default is the On-Demand price. + SpotPrice *string `locationName:"spotPrice" type:"string"` - // The Spot instance request type. + // The Spot Instance request type. // // Default: one-time Type *string `locationName:"type" type:"string" enum:"SpotInstanceType"` @@ -51882,16 +58257,13 @@ type RequestSpotInstancesInput struct { // launch, the request expires, or the request is canceled. If the request is // persistent, the request becomes active at this date and time and remains // active until it expires or is canceled. - // - // Default: The request is effective indefinitely. ValidFrom *time.Time `locationName:"validFrom" type:"timestamp" timestampFormat:"iso8601"` // The end date of the request. If this is a one-time request, the request remains // active until all instances launch, the request is canceled, or this date // is reached. If the request is persistent, it remains active until it is canceled - // or this date and time is reached. - // - // Default: The request is effective indefinitely. + // or this date is reached. The default end date is 7 days from the current + // date. ValidUntil *time.Time `locationName:"validUntil" type:"timestamp" timestampFormat:"iso8601"` } @@ -51908,9 +58280,6 @@ func (s RequestSpotInstancesInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *RequestSpotInstancesInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "RequestSpotInstancesInput"} - if s.SpotPrice == nil { - invalidParams.Add(request.NewErrParamRequired("SpotPrice")) - } if s.LaunchSpecification != nil { if err := s.LaunchSpecification.Validate(); err != nil { invalidParams.AddNested("LaunchSpecification", err.(request.ErrInvalidParams)) @@ -51996,11 +58365,11 @@ func (s *RequestSpotInstancesInput) SetValidUntil(v time.Time) *RequestSpotInsta } // Contains the output of RequestSpotInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstancesResult type RequestSpotInstancesOutput struct { _ struct{} `type:"structure"` - // One or more Spot instance requests. + // One or more Spot Instance requests. SpotInstanceRequests []*SpotInstanceRequest `locationName:"spotInstanceRequestSet" locationNameList:"item" type:"list"` } @@ -52021,7 +58390,7 @@ func (s *RequestSpotInstancesOutput) SetSpotInstanceRequests(v []*SpotInstanceRe } // Describes the launch specification for an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotLaunchSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotLaunchSpecification type RequestSpotLaunchSpecification struct { _ struct{} `type:"structure"` @@ -52222,7 +58591,7 @@ func (s *RequestSpotLaunchSpecification) SetUserData(v string) *RequestSpotLaunc } // Describes a reservation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Reservation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Reservation type Reservation struct { _ struct{} `type:"structure"` @@ -52284,7 +58653,7 @@ func (s *Reservation) SetReservationId(v string) *Reservation { } // The cost associated with the Reserved Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservationValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservationValue type ReservationValue struct { _ struct{} `type:"structure"` @@ -52328,7 +58697,7 @@ func (s *ReservationValue) SetRemainingUpfrontValue(v string) *ReservationValue } // Describes the limit price of a Reserved Instance offering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstanceLimitPrice +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstanceLimitPrice type ReservedInstanceLimitPrice struct { _ struct{} `type:"structure"` @@ -52364,7 +58733,7 @@ func (s *ReservedInstanceLimitPrice) SetCurrencyCode(v string) *ReservedInstance } // The total value of the Convertible Reserved Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstanceReservationValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstanceReservationValue type ReservedInstanceReservationValue struct { _ struct{} `type:"structure"` @@ -52398,7 +58767,7 @@ func (s *ReservedInstanceReservationValue) SetReservedInstanceId(v string) *Rese } // Describes a Reserved Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstances type ReservedInstances struct { _ struct{} `type:"structure"` @@ -52577,7 +58946,7 @@ func (s *ReservedInstances) SetUsagePrice(v float64) *ReservedInstances { } // Describes the configuration settings for the modified Reserved Instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesConfiguration type ReservedInstancesConfiguration struct { _ struct{} `type:"structure"` @@ -52640,7 +59009,7 @@ func (s *ReservedInstancesConfiguration) SetScope(v string) *ReservedInstancesCo } // Describes the ID of a Reserved Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesId +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesId type ReservedInstancesId struct { _ struct{} `type:"structure"` @@ -52665,7 +59034,7 @@ func (s *ReservedInstancesId) SetReservedInstancesId(v string) *ReservedInstance } // Describes a Reserved Instance listing. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesListing +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesListing type ReservedInstancesListing struct { _ struct{} `type:"structure"` @@ -52773,7 +59142,7 @@ func (s *ReservedInstancesListing) SetUpdateDate(v time.Time) *ReservedInstances } // Describes a Reserved Instance modification. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesModification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesModification type ReservedInstancesModification struct { _ struct{} `type:"structure"` @@ -52872,7 +59241,7 @@ func (s *ReservedInstancesModification) SetUpdateDate(v time.Time) *ReservedInst } // Describes the modification request/s. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesModificationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesModificationResult type ReservedInstancesModificationResult struct { _ struct{} `type:"structure"` @@ -52908,7 +59277,7 @@ func (s *ReservedInstancesModificationResult) SetTargetConfiguration(v *Reserved } // Describes a Reserved Instance offering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesOffering type ReservedInstancesOffering struct { _ struct{} `type:"structure"` @@ -53066,7 +59435,7 @@ func (s *ReservedInstancesOffering) SetUsagePrice(v float64) *ReservedInstancesO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttributeRequest type ResetFpgaImageAttributeInput struct { _ struct{} `type:"structure"` @@ -53126,7 +59495,7 @@ func (s *ResetFpgaImageAttributeInput) SetFpgaImageId(v string) *ResetFpgaImageA return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttributeResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttributeResult type ResetFpgaImageAttributeOutput struct { _ struct{} `type:"structure"` @@ -53151,7 +59520,7 @@ func (s *ResetFpgaImageAttributeOutput) SetReturn(v bool) *ResetFpgaImageAttribu } // Contains the parameters for ResetImageAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetImageAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetImageAttributeRequest type ResetImageAttributeInput struct { _ struct{} `type:"structure"` @@ -53217,7 +59586,7 @@ func (s *ResetImageAttributeInput) SetImageId(v string) *ResetImageAttributeInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetImageAttributeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetImageAttributeOutput type ResetImageAttributeOutput struct { _ struct{} `type:"structure"` } @@ -53233,7 +59602,7 @@ func (s ResetImageAttributeOutput) GoString() string { } // Contains the parameters for ResetInstanceAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetInstanceAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetInstanceAttributeRequest type ResetInstanceAttributeInput struct { _ struct{} `type:"structure"` @@ -53301,7 +59670,7 @@ func (s *ResetInstanceAttributeInput) SetInstanceId(v string) *ResetInstanceAttr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetInstanceAttributeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetInstanceAttributeOutput type ResetInstanceAttributeOutput struct { _ struct{} `type:"structure"` } @@ -53317,7 +59686,7 @@ func (s ResetInstanceAttributeOutput) GoString() string { } // Contains the parameters for ResetNetworkInterfaceAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetNetworkInterfaceAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetNetworkInterfaceAttributeRequest type ResetNetworkInterfaceAttributeInput struct { _ struct{} `type:"structure"` @@ -53377,7 +59746,7 @@ func (s *ResetNetworkInterfaceAttributeInput) SetSourceDestCheck(v string) *Rese return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetNetworkInterfaceAttributeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetNetworkInterfaceAttributeOutput type ResetNetworkInterfaceAttributeOutput struct { _ struct{} `type:"structure"` } @@ -53393,7 +59762,7 @@ func (s ResetNetworkInterfaceAttributeOutput) GoString() string { } // Contains the parameters for ResetSnapshotAttribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetSnapshotAttributeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetSnapshotAttributeRequest type ResetSnapshotAttributeInput struct { _ struct{} `type:"structure"` @@ -53459,7 +59828,7 @@ func (s *ResetSnapshotAttributeInput) SetSnapshotId(v string) *ResetSnapshotAttr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetSnapshotAttributeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetSnapshotAttributeOutput type ResetSnapshotAttributeOutput struct { _ struct{} `type:"structure"` } @@ -53474,8 +59843,241 @@ func (s ResetSnapshotAttributeOutput) GoString() string { return s.String() } +// Describes the error that's returned when you cannot delete a launch template +// version. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResponseError +type ResponseError struct { + _ struct{} `type:"structure"` + + // The error code. + Code *string `locationName:"code" type:"string" enum:"LaunchTemplateErrorCode"` + + // The error message, if applicable. + Message *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s ResponseError) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ResponseError) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *ResponseError) SetCode(v string) *ResponseError { + s.Code = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *ResponseError) SetMessage(v string) *ResponseError { + s.Message = &v + return s +} + +// The information for a launch template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResponseLaunchTemplateData +type ResponseLaunchTemplateData struct { + _ struct{} `type:"structure"` + + // The block device mappings. + BlockDeviceMappings []*LaunchTemplateBlockDeviceMapping `locationName:"blockDeviceMappingSet" locationNameList:"item" type:"list"` + + // The credit option for CPU usage of the instance. + CreditSpecification *CreditSpecification `locationName:"creditSpecification" type:"structure"` + + // If set to true, indicates that the instance cannot be terminated using the + // Amazon EC2 console, command line tool, or API. + DisableApiTermination *bool `locationName:"disableApiTermination" type:"boolean"` + + // Indicates whether the instance is optimized for Amazon EBS I/O. + EbsOptimized *bool `locationName:"ebsOptimized" type:"boolean"` + + // The elastic GPU specification. + ElasticGpuSpecifications []*ElasticGpuSpecificationResponse `locationName:"elasticGpuSpecificationSet" locationNameList:"item" type:"list"` + + // The IAM instance profile. + IamInstanceProfile *LaunchTemplateIamInstanceProfileSpecification `locationName:"iamInstanceProfile" type:"structure"` + + // The ID of the AMI that was used to launch the instance. + ImageId *string `locationName:"imageId" type:"string"` + + // Indicates whether an instance stops or terminates when you initiate shutdown + // from the instance (using the operating system command for system shutdown). + InstanceInitiatedShutdownBehavior *string `locationName:"instanceInitiatedShutdownBehavior" type:"string" enum:"ShutdownBehavior"` + + // The market (purchasing) option for the instances. + InstanceMarketOptions *LaunchTemplateInstanceMarketOptions `locationName:"instanceMarketOptions" type:"structure"` + + // The instance type. + InstanceType *string `locationName:"instanceType" type:"string" enum:"InstanceType"` + + // The ID of the kernel, if applicable. + KernelId *string `locationName:"kernelId" type:"string"` + + // The name of the key pair. + KeyName *string `locationName:"keyName" type:"string"` + + // The monitoring for the instance. + Monitoring *LaunchTemplatesMonitoring `locationName:"monitoring" type:"structure"` + + // The network interfaces. + NetworkInterfaces []*LaunchTemplateInstanceNetworkInterfaceSpecification `locationName:"networkInterfaceSet" locationNameList:"item" type:"list"` + + // The placement of the instance. + Placement *LaunchTemplatePlacement `locationName:"placement" type:"structure"` + + // The ID of the RAM disk, if applicable. + RamDiskId *string `locationName:"ramDiskId" type:"string"` + + // The security group IDs. + SecurityGroupIds []*string `locationName:"securityGroupIdSet" locationNameList:"item" type:"list"` + + // The security group names. + SecurityGroups []*string `locationName:"securityGroupSet" locationNameList:"item" type:"list"` + + // The tags. + TagSpecifications []*LaunchTemplateTagSpecification `locationName:"tagSpecificationSet" locationNameList:"item" type:"list"` + + // The user data for the instance. + UserData *string `locationName:"userData" type:"string"` +} + +// String returns the string representation +func (s ResponseLaunchTemplateData) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ResponseLaunchTemplateData) GoString() string { + return s.String() +} + +// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. +func (s *ResponseLaunchTemplateData) SetBlockDeviceMappings(v []*LaunchTemplateBlockDeviceMapping) *ResponseLaunchTemplateData { + s.BlockDeviceMappings = v + return s +} + +// SetCreditSpecification sets the CreditSpecification field's value. +func (s *ResponseLaunchTemplateData) SetCreditSpecification(v *CreditSpecification) *ResponseLaunchTemplateData { + s.CreditSpecification = v + return s +} + +// SetDisableApiTermination sets the DisableApiTermination field's value. +func (s *ResponseLaunchTemplateData) SetDisableApiTermination(v bool) *ResponseLaunchTemplateData { + s.DisableApiTermination = &v + return s +} + +// SetEbsOptimized sets the EbsOptimized field's value. +func (s *ResponseLaunchTemplateData) SetEbsOptimized(v bool) *ResponseLaunchTemplateData { + s.EbsOptimized = &v + return s +} + +// SetElasticGpuSpecifications sets the ElasticGpuSpecifications field's value. +func (s *ResponseLaunchTemplateData) SetElasticGpuSpecifications(v []*ElasticGpuSpecificationResponse) *ResponseLaunchTemplateData { + s.ElasticGpuSpecifications = v + return s +} + +// SetIamInstanceProfile sets the IamInstanceProfile field's value. +func (s *ResponseLaunchTemplateData) SetIamInstanceProfile(v *LaunchTemplateIamInstanceProfileSpecification) *ResponseLaunchTemplateData { + s.IamInstanceProfile = v + return s +} + +// SetImageId sets the ImageId field's value. +func (s *ResponseLaunchTemplateData) SetImageId(v string) *ResponseLaunchTemplateData { + s.ImageId = &v + return s +} + +// SetInstanceInitiatedShutdownBehavior sets the InstanceInitiatedShutdownBehavior field's value. +func (s *ResponseLaunchTemplateData) SetInstanceInitiatedShutdownBehavior(v string) *ResponseLaunchTemplateData { + s.InstanceInitiatedShutdownBehavior = &v + return s +} + +// SetInstanceMarketOptions sets the InstanceMarketOptions field's value. +func (s *ResponseLaunchTemplateData) SetInstanceMarketOptions(v *LaunchTemplateInstanceMarketOptions) *ResponseLaunchTemplateData { + s.InstanceMarketOptions = v + return s +} + +// SetInstanceType sets the InstanceType field's value. +func (s *ResponseLaunchTemplateData) SetInstanceType(v string) *ResponseLaunchTemplateData { + s.InstanceType = &v + return s +} + +// SetKernelId sets the KernelId field's value. +func (s *ResponseLaunchTemplateData) SetKernelId(v string) *ResponseLaunchTemplateData { + s.KernelId = &v + return s +} + +// SetKeyName sets the KeyName field's value. +func (s *ResponseLaunchTemplateData) SetKeyName(v string) *ResponseLaunchTemplateData { + s.KeyName = &v + return s +} + +// SetMonitoring sets the Monitoring field's value. +func (s *ResponseLaunchTemplateData) SetMonitoring(v *LaunchTemplatesMonitoring) *ResponseLaunchTemplateData { + s.Monitoring = v + return s +} + +// SetNetworkInterfaces sets the NetworkInterfaces field's value. +func (s *ResponseLaunchTemplateData) SetNetworkInterfaces(v []*LaunchTemplateInstanceNetworkInterfaceSpecification) *ResponseLaunchTemplateData { + s.NetworkInterfaces = v + return s +} + +// SetPlacement sets the Placement field's value. +func (s *ResponseLaunchTemplateData) SetPlacement(v *LaunchTemplatePlacement) *ResponseLaunchTemplateData { + s.Placement = v + return s +} + +// SetRamDiskId sets the RamDiskId field's value. +func (s *ResponseLaunchTemplateData) SetRamDiskId(v string) *ResponseLaunchTemplateData { + s.RamDiskId = &v + return s +} + +// SetSecurityGroupIds sets the SecurityGroupIds field's value. +func (s *ResponseLaunchTemplateData) SetSecurityGroupIds(v []*string) *ResponseLaunchTemplateData { + s.SecurityGroupIds = v + return s +} + +// SetSecurityGroups sets the SecurityGroups field's value. +func (s *ResponseLaunchTemplateData) SetSecurityGroups(v []*string) *ResponseLaunchTemplateData { + s.SecurityGroups = v + return s +} + +// SetTagSpecifications sets the TagSpecifications field's value. +func (s *ResponseLaunchTemplateData) SetTagSpecifications(v []*LaunchTemplateTagSpecification) *ResponseLaunchTemplateData { + s.TagSpecifications = v + return s +} + +// SetUserData sets the UserData field's value. +func (s *ResponseLaunchTemplateData) SetUserData(v string) *ResponseLaunchTemplateData { + s.UserData = &v + return s +} + // Contains the parameters for RestoreAddressToClassic. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreAddressToClassicRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreAddressToClassicRequest type RestoreAddressToClassicInput struct { _ struct{} `type:"structure"` @@ -53527,7 +60129,7 @@ func (s *RestoreAddressToClassicInput) SetPublicIp(v string) *RestoreAddressToCl } // Contains the output of RestoreAddressToClassic. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreAddressToClassicResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreAddressToClassicResult type RestoreAddressToClassicOutput struct { _ struct{} `type:"structure"` @@ -53561,7 +60163,7 @@ func (s *RestoreAddressToClassicOutput) SetStatus(v string) *RestoreAddressToCla } // Contains the parameters for RevokeSecurityGroupEgress. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgressRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgressRequest type RevokeSecurityGroupEgressInput struct { _ struct{} `type:"structure"` @@ -53679,7 +60281,7 @@ func (s *RevokeSecurityGroupEgressInput) SetToPort(v int64) *RevokeSecurityGroup return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgressOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgressOutput type RevokeSecurityGroupEgressOutput struct { _ struct{} `type:"structure"` } @@ -53695,7 +60297,7 @@ func (s RevokeSecurityGroupEgressOutput) GoString() string { } // Contains the parameters for RevokeSecurityGroupIngress. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngressRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngressRequest type RevokeSecurityGroupIngressInput struct { _ struct{} `type:"structure"` @@ -53821,7 +60423,7 @@ func (s *RevokeSecurityGroupIngressInput) SetToPort(v int64) *RevokeSecurityGrou return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngressOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngressOutput type RevokeSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` } @@ -53837,7 +60439,7 @@ func (s RevokeSecurityGroupIngressOutput) GoString() string { } // Describes a route in a route table. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Route +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Route type Route struct { _ struct{} `type:"structure"` @@ -53970,7 +60572,7 @@ func (s *Route) SetVpcPeeringConnectionId(v string) *Route { } // Describes a route table. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RouteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RouteTable type RouteTable struct { _ struct{} `type:"structure"` @@ -54040,7 +60642,7 @@ func (s *RouteTable) SetVpcId(v string) *RouteTable { } // Describes an association between a route table and a subnet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RouteTableAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RouteTableAssociation type RouteTableAssociation struct { _ struct{} `type:"structure"` @@ -54092,7 +60694,7 @@ func (s *RouteTableAssociation) SetSubnetId(v string) *RouteTableAssociation { } // Contains the parameters for RunInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstancesRequest type RunInstancesInput struct { _ struct{} `type:"structure"` @@ -54111,6 +60713,14 @@ type RunInstancesInput struct { // Constraints: Maximum 64 ASCII characters ClientToken *string `locationName:"clientToken" type:"string"` + // The credit option for CPU usage of the instance. Valid values are standard + // and unlimited. To change this attribute after launch, use ModifyInstanceCreditSpecification. + // For more information, see T2 Instances (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html) + // in the Amazon Elastic Compute Cloud User Guide. + // + // Default: standard + CreditSpecification *CreditSpecificationRequest `type:"structure"` + // If you set this parameter to true, you can't terminate the instance using // the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute // to false after launch, use ModifyInstanceAttribute. Alternatively, if you @@ -54135,16 +60745,14 @@ type RunInstancesInput struct { // Default: false EbsOptimized *bool `locationName:"ebsOptimized" type:"boolean"` - // An Elastic GPU to associate with the instance. + // An elastic GPU to associate with the instance. ElasticGpuSpecification []*ElasticGpuSpecification `locationNameList:"item" type:"list"` // The IAM instance profile. IamInstanceProfile *IamInstanceProfileSpecification `locationName:"iamInstanceProfile" type:"structure"` // The ID of the AMI, which you can get by calling DescribeImages. - // - // ImageId is a required field - ImageId *string `type:"string" required:"true"` + ImageId *string `type:"string"` // Indicates whether an instance stops or terminates when you initiate shutdown // from the instance (using the operating system command for system shutdown). @@ -54152,6 +60760,9 @@ type RunInstancesInput struct { // Default: stop InstanceInitiatedShutdownBehavior *string `locationName:"instanceInitiatedShutdownBehavior" type:"string" enum:"ShutdownBehavior"` + // The market (purchasing) option for the instances. + InstanceMarketOptions *InstanceMarketOptionsRequest `type:"structure"` + // The instance type. For more information, see Instance Types (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) // in the Amazon Elastic Compute Cloud User Guide. // @@ -54186,6 +60797,10 @@ type RunInstancesInput struct { // you choose an AMI that is configured to allow users another way to log in. KeyName *string `type:"string"` + // The launch template to use to launch the instances. Any parameters that you + // specify in RunInstances override the same parameters in the launch template. + LaunchTemplate *LaunchTemplateSpecification `type:"structure"` + // The maximum number of instances to launch. If you specify more instances // than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches // the largest possible number of instances above MinCount. @@ -54276,15 +60891,17 @@ func (s RunInstancesInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *RunInstancesInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "RunInstancesInput"} - if s.ImageId == nil { - invalidParams.Add(request.NewErrParamRequired("ImageId")) - } if s.MaxCount == nil { invalidParams.Add(request.NewErrParamRequired("MaxCount")) } if s.MinCount == nil { invalidParams.Add(request.NewErrParamRequired("MinCount")) } + if s.CreditSpecification != nil { + if err := s.CreditSpecification.Validate(); err != nil { + invalidParams.AddNested("CreditSpecification", err.(request.ErrInvalidParams)) + } + } if s.ElasticGpuSpecification != nil { for i, v := range s.ElasticGpuSpecification { if v == nil { @@ -54335,6 +60952,12 @@ func (s *RunInstancesInput) SetClientToken(v string) *RunInstancesInput { return s } +// SetCreditSpecification sets the CreditSpecification field's value. +func (s *RunInstancesInput) SetCreditSpecification(v *CreditSpecificationRequest) *RunInstancesInput { + s.CreditSpecification = v + return s +} + // SetDisableApiTermination sets the DisableApiTermination field's value. func (s *RunInstancesInput) SetDisableApiTermination(v bool) *RunInstancesInput { s.DisableApiTermination = &v @@ -54377,6 +61000,12 @@ func (s *RunInstancesInput) SetInstanceInitiatedShutdownBehavior(v string) *RunI return s } +// SetInstanceMarketOptions sets the InstanceMarketOptions field's value. +func (s *RunInstancesInput) SetInstanceMarketOptions(v *InstanceMarketOptionsRequest) *RunInstancesInput { + s.InstanceMarketOptions = v + return s +} + // SetInstanceType sets the InstanceType field's value. func (s *RunInstancesInput) SetInstanceType(v string) *RunInstancesInput { s.InstanceType = &v @@ -54407,6 +61036,12 @@ func (s *RunInstancesInput) SetKeyName(v string) *RunInstancesInput { return s } +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *RunInstancesInput) SetLaunchTemplate(v *LaunchTemplateSpecification) *RunInstancesInput { + s.LaunchTemplate = v + return s +} + // SetMaxCount sets the MaxCount field's value. func (s *RunInstancesInput) SetMaxCount(v int64) *RunInstancesInput { s.MaxCount = &v @@ -54480,7 +61115,7 @@ func (s *RunInstancesInput) SetUserData(v string) *RunInstancesInput { } // Describes the monitoring of an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstancesMonitoringEnabled +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstancesMonitoringEnabled type RunInstancesMonitoringEnabled struct { _ struct{} `type:"structure"` @@ -54521,7 +61156,7 @@ func (s *RunInstancesMonitoringEnabled) SetEnabled(v bool) *RunInstancesMonitori } // Contains the parameters for RunScheduledInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunScheduledInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunScheduledInstancesRequest type RunScheduledInstancesInput struct { _ struct{} `type:"structure"` @@ -54614,7 +61249,7 @@ func (s *RunScheduledInstancesInput) SetScheduledInstanceId(v string) *RunSchedu } // Contains the output of RunScheduledInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunScheduledInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunScheduledInstancesResult type RunScheduledInstancesOutput struct { _ struct{} `type:"structure"` @@ -54640,7 +61275,7 @@ func (s *RunScheduledInstancesOutput) SetInstanceIdSet(v []*string) *RunSchedule // Describes the storage parameters for S3 and S3 buckets for an instance store-backed // AMI. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/S3Storage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/S3Storage type S3Storage struct { _ struct{} `type:"structure"` @@ -54708,7 +61343,7 @@ func (s *S3Storage) SetUploadPolicySignature(v string) *S3Storage { } // Describes a Scheduled Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstance type ScheduledInstance struct { _ struct{} `type:"structure"` @@ -54859,7 +61494,7 @@ func (s *ScheduledInstance) SetTotalScheduledInstanceHours(v int64) *ScheduledIn } // Describes a schedule that is available for your Scheduled Instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstanceAvailability +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstanceAvailability type ScheduledInstanceAvailability struct { _ struct{} `type:"structure"` @@ -54993,7 +61628,7 @@ func (s *ScheduledInstanceAvailability) SetTotalScheduledInstanceHours(v int64) } // Describes the recurring schedule for a Scheduled Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstanceRecurrence +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstanceRecurrence type ScheduledInstanceRecurrence struct { _ struct{} `type:"structure"` @@ -55058,7 +61693,7 @@ func (s *ScheduledInstanceRecurrence) SetOccurrenceUnit(v string) *ScheduledInst } // Describes the recurring schedule for a Scheduled Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstanceRecurrenceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstanceRecurrenceRequest type ScheduledInstanceRecurrenceRequest struct { _ struct{} `type:"structure"` @@ -55126,7 +61761,7 @@ func (s *ScheduledInstanceRecurrenceRequest) SetOccurrenceUnit(v string) *Schedu } // Describes a block device mapping for a Scheduled Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesBlockDeviceMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesBlockDeviceMapping type ScheduledInstancesBlockDeviceMapping struct { _ struct{} `type:"structure"` @@ -55189,7 +61824,7 @@ func (s *ScheduledInstancesBlockDeviceMapping) SetVirtualName(v string) *Schedul } // Describes an EBS volume for a Scheduled Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesEbs +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesEbs type ScheduledInstancesEbs struct { _ struct{} `type:"structure"` @@ -55278,7 +61913,7 @@ func (s *ScheduledInstancesEbs) SetVolumeType(v string) *ScheduledInstancesEbs { } // Describes an IAM instance profile for a Scheduled Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesIamInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesIamInstanceProfile type ScheduledInstancesIamInstanceProfile struct { _ struct{} `type:"structure"` @@ -55312,7 +61947,7 @@ func (s *ScheduledInstancesIamInstanceProfile) SetName(v string) *ScheduledInsta } // Describes an IPv6 address. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesIpv6Address +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesIpv6Address type ScheduledInstancesIpv6Address struct { _ struct{} `type:"structure"` @@ -55341,7 +61976,7 @@ func (s *ScheduledInstancesIpv6Address) SetIpv6Address(v string) *ScheduledInsta // If you are launching the Scheduled Instance in EC2-VPC, you must specify // the ID of the subnet. You can specify the subnet using either SubnetId or // NetworkInterface. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesLaunchSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesLaunchSpecification type ScheduledInstancesLaunchSpecification struct { _ struct{} `type:"structure"` @@ -55504,7 +62139,7 @@ func (s *ScheduledInstancesLaunchSpecification) SetUserData(v string) *Scheduled } // Describes whether monitoring is enabled for a Scheduled Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesMonitoring +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesMonitoring type ScheduledInstancesMonitoring struct { _ struct{} `type:"structure"` @@ -55529,7 +62164,7 @@ func (s *ScheduledInstancesMonitoring) SetEnabled(v bool) *ScheduledInstancesMon } // Describes a network interface for a Scheduled Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesNetworkInterface +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesNetworkInterface type ScheduledInstancesNetworkInterface struct { _ struct{} `type:"structure"` @@ -55658,7 +62293,7 @@ func (s *ScheduledInstancesNetworkInterface) SetSubnetId(v string) *ScheduledIns } // Describes the placement for a Scheduled Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesPlacement +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesPlacement type ScheduledInstancesPlacement struct { _ struct{} `type:"structure"` @@ -55692,7 +62327,7 @@ func (s *ScheduledInstancesPlacement) SetGroupName(v string) *ScheduledInstances } // Describes a private IPv4 address for a Scheduled Instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesPrivateIpAddressConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesPrivateIpAddressConfig type ScheduledInstancesPrivateIpAddressConfig struct { _ struct{} `type:"structure"` @@ -55727,7 +62362,7 @@ func (s *ScheduledInstancesPrivateIpAddressConfig) SetPrivateIpAddress(v string) } // Describes a security group -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroup type SecurityGroup struct { _ struct{} `type:"structure"` @@ -55815,7 +62450,7 @@ func (s *SecurityGroup) SetVpcId(v string) *SecurityGroup { } // Describes a security group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroupIdentifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroupIdentifier type SecurityGroupIdentifier struct { _ struct{} `type:"structure"` @@ -55849,7 +62484,7 @@ func (s *SecurityGroupIdentifier) SetGroupName(v string) *SecurityGroupIdentifie } // Describes a VPC with a security group that references your security group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroupReference +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroupReference type SecurityGroupReference struct { _ struct{} `type:"structure"` @@ -55895,8 +62530,106 @@ func (s *SecurityGroupReference) SetVpcPeeringConnectionId(v string) *SecurityGr return s } -// Describes a service. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ServiceDetail +// Describes a service configuration for a VPC endpoint service. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ServiceConfiguration +type ServiceConfiguration struct { + _ struct{} `type:"structure"` + + // Indicates whether requests from other AWS accounts to create an endpoint + // to the service must first be accepted. + AcceptanceRequired *bool `locationName:"acceptanceRequired" type:"boolean"` + + // In the Availability Zones in which the service is available. + AvailabilityZones []*string `locationName:"availabilityZoneSet" locationNameList:"item" type:"list"` + + // The DNS names for the service. + BaseEndpointDnsNames []*string `locationName:"baseEndpointDnsNameSet" locationNameList:"item" type:"list"` + + // The Amazon Resource Names (ARNs) of the Network Load Balancers for the service. + NetworkLoadBalancerArns []*string `locationName:"networkLoadBalancerArnSet" locationNameList:"item" type:"list"` + + // The private DNS name for the service. + PrivateDnsName *string `locationName:"privateDnsName" type:"string"` + + // The ID of the service. + ServiceId *string `locationName:"serviceId" type:"string"` + + // The name of the service. + ServiceName *string `locationName:"serviceName" type:"string"` + + // The service state. + ServiceState *string `locationName:"serviceState" type:"string" enum:"ServiceState"` + + // The type of service. + ServiceType []*ServiceTypeDetail `locationName:"serviceType" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s ServiceConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ServiceConfiguration) GoString() string { + return s.String() +} + +// SetAcceptanceRequired sets the AcceptanceRequired field's value. +func (s *ServiceConfiguration) SetAcceptanceRequired(v bool) *ServiceConfiguration { + s.AcceptanceRequired = &v + return s +} + +// SetAvailabilityZones sets the AvailabilityZones field's value. +func (s *ServiceConfiguration) SetAvailabilityZones(v []*string) *ServiceConfiguration { + s.AvailabilityZones = v + return s +} + +// SetBaseEndpointDnsNames sets the BaseEndpointDnsNames field's value. +func (s *ServiceConfiguration) SetBaseEndpointDnsNames(v []*string) *ServiceConfiguration { + s.BaseEndpointDnsNames = v + return s +} + +// SetNetworkLoadBalancerArns sets the NetworkLoadBalancerArns field's value. +func (s *ServiceConfiguration) SetNetworkLoadBalancerArns(v []*string) *ServiceConfiguration { + s.NetworkLoadBalancerArns = v + return s +} + +// SetPrivateDnsName sets the PrivateDnsName field's value. +func (s *ServiceConfiguration) SetPrivateDnsName(v string) *ServiceConfiguration { + s.PrivateDnsName = &v + return s +} + +// SetServiceId sets the ServiceId field's value. +func (s *ServiceConfiguration) SetServiceId(v string) *ServiceConfiguration { + s.ServiceId = &v + return s +} + +// SetServiceName sets the ServiceName field's value. +func (s *ServiceConfiguration) SetServiceName(v string) *ServiceConfiguration { + s.ServiceName = &v + return s +} + +// SetServiceState sets the ServiceState field's value. +func (s *ServiceConfiguration) SetServiceState(v string) *ServiceConfiguration { + s.ServiceState = &v + return s +} + +// SetServiceType sets the ServiceType field's value. +func (s *ServiceConfiguration) SetServiceType(v []*ServiceTypeDetail) *ServiceConfiguration { + s.ServiceType = v + return s +} + +// Describes a VPC endpoint service. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ServiceDetail type ServiceDetail struct { _ struct{} `type:"structure"` @@ -55985,7 +62718,7 @@ func (s *ServiceDetail) SetVpcEndpointPolicySupported(v bool) *ServiceDetail { } // Describes the type of service for a VPC endpoint. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ServiceTypeDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ServiceTypeDetail type ServiceTypeDetail struct { _ struct{} `type:"structure"` @@ -56011,7 +62744,7 @@ func (s *ServiceTypeDetail) SetServiceType(v string) *ServiceTypeDetail { // Describes the time period for a Scheduled Instance to start its first schedule. // The time period must span less than one day. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SlotDateTimeRangeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SlotDateTimeRangeRequest type SlotDateTimeRangeRequest struct { _ struct{} `type:"structure"` @@ -56067,7 +62800,7 @@ func (s *SlotDateTimeRangeRequest) SetLatestTime(v time.Time) *SlotDateTimeRange } // Describes the time period for a Scheduled Instance to start its first schedule. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SlotStartTimeRangeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SlotStartTimeRangeRequest type SlotStartTimeRangeRequest struct { _ struct{} `type:"structure"` @@ -56101,7 +62834,7 @@ func (s *SlotStartTimeRangeRequest) SetLatestTime(v time.Time) *SlotStartTimeRan } // Describes a snapshot. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Snapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Snapshot type Snapshot struct { _ struct{} `type:"structure"` @@ -56259,7 +62992,7 @@ func (s *Snapshot) SetVolumeSize(v int64) *Snapshot { } // Describes the snapshot created from the imported disk. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SnapshotDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SnapshotDetail type SnapshotDetail struct { _ struct{} `type:"structure"` @@ -56365,7 +63098,7 @@ func (s *SnapshotDetail) SetUserBucket(v *UserBucketDetails) *SnapshotDetail { } // The disk container object for the import snapshot request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SnapshotDiskContainer +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SnapshotDiskContainer type SnapshotDiskContainer struct { _ struct{} `type:"structure"` @@ -56420,7 +63153,7 @@ func (s *SnapshotDiskContainer) SetUserBucket(v *UserBucket) *SnapshotDiskContai } // Details about the import snapshot task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SnapshotTaskDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SnapshotTaskDetail type SnapshotTaskDetail struct { _ struct{} `type:"structure"` @@ -56516,15 +63249,15 @@ func (s *SnapshotTaskDetail) SetUserBucket(v *UserBucketDetails) *SnapshotTaskDe return s } -// Describes the data feed for a Spot instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotDatafeedSubscription +// Describes the data feed for a Spot Instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotDatafeedSubscription type SpotDatafeedSubscription struct { _ struct{} `type:"structure"` - // The Amazon S3 bucket where the Spot instance data feed is located. + // The Amazon S3 bucket where the Spot Instance data feed is located. Bucket *string `locationName:"bucket" type:"string"` - // The fault codes for the Spot instance request, if any. + // The fault codes for the Spot Instance request, if any. Fault *SpotInstanceStateFault `locationName:"fault" type:"structure"` // The AWS account ID of the account. @@ -56533,7 +63266,7 @@ type SpotDatafeedSubscription struct { // The prefix that is prepended to data feed files. Prefix *string `locationName:"prefix" type:"string"` - // The state of the Spot instance data feed subscription. + // The state of the Spot Instance data feed subscription. State *string `locationName:"state" type:"string" enum:"DatafeedSubscriptionState"` } @@ -56577,8 +63310,8 @@ func (s *SpotDatafeedSubscription) SetState(v string) *SpotDatafeedSubscription return s } -// Describes the launch specification for one or more Spot instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetLaunchSpecification +// Describes the launch specification for one or more Spot Instances. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetLaunchSpecification type SpotFleetLaunchSpecification struct { _ struct{} `type:"structure"` @@ -56606,7 +63339,7 @@ type SpotFleetLaunchSpecification struct { // The ID of the AMI. ImageId *string `locationName:"imageId" type:"string"` - // The instance type. Note that T2 and HS1 instance types are not supported. + // The instance type. InstanceType *string `locationName:"instanceType" type:"string" enum:"InstanceType"` // The ID of the kernel. @@ -56633,10 +63366,10 @@ type SpotFleetLaunchSpecification struct { // you can specify the names or the IDs of the security groups. SecurityGroups []*GroupIdentifier `locationName:"groupSet" locationNameList:"item" type:"list"` - // The bid price per unit hour for the specified instance type. If this value - // is not specified, the default is the Spot bid price specified for the fleet. - // To determine the bid price per unit hour, divide the Spot bid price by the - // value of WeightedCapacity. + // The maximum price per unit hour that you are willing to pay for a Spot Instance. + // If this value is not specified, the default is the Spot price specified for + // the fleet. To determine the Spot price per unit hour, divide the Spot price + // by the value of WeightedCapacity. SpotPrice *string `locationName:"spotPrice" type:"string"` // The ID of the subnet in which to launch the instances. To specify multiple @@ -56800,7 +63533,7 @@ func (s *SpotFleetLaunchSpecification) SetWeightedCapacity(v float64) *SpotFleet } // Describes whether monitoring is enabled. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetMonitoring +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetMonitoring type SpotFleetMonitoring struct { _ struct{} `type:"structure"` @@ -56826,16 +63559,16 @@ func (s *SpotFleetMonitoring) SetEnabled(v bool) *SpotFleetMonitoring { return s } -// Describes a Spot fleet request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfig +// Describes a Spot Fleet request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfig type SpotFleetRequestConfig struct { _ struct{} `type:"structure"` - // The progress of the Spot fleet request. If there is an error, the status - // is error. After all bids are placed, the status is pending_fulfillment. If - // the size of the fleet is equal to or greater than its target capacity, the - // status is fulfilled. If the size of the fleet is decreased, the status is - // pending_termination while Spot instances are terminating. + // The progress of the Spot Fleet request. If there is an error, the status + // is error. After all requests are placed, the status is pending_fulfillment. + // If the size of the fleet is equal to or greater than its target capacity, + // the status is fulfilled. If the size of the fleet is decreased, the status + // is pending_termination while Spot Instances are terminating. ActivityStatus *string `locationName:"activityStatus" type:"string" enum:"ActivityStatus"` // The creation date and time of the request. @@ -56843,17 +63576,17 @@ type SpotFleetRequestConfig struct { // CreateTime is a required field CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` - // Information about the configuration of the Spot fleet request. + // The configuration of the Spot Fleet request. // // SpotFleetRequestConfig is a required field SpotFleetRequestConfig *SpotFleetRequestConfigData `locationName:"spotFleetRequestConfig" type:"structure" required:"true"` - // The ID of the Spot fleet request. + // The ID of the Spot Fleet request. // // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` - // The state of the Spot fleet request. + // The state of the Spot Fleet request. // // SpotFleetRequestState is a required field SpotFleetRequestState *string `locationName:"spotFleetRequestState" type:"string" required:"true" enum:"BatchState"` @@ -56899,13 +63632,13 @@ func (s *SpotFleetRequestConfig) SetSpotFleetRequestState(v string) *SpotFleetRe return s } -// Describes the configuration of a Spot fleet request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfigData +// Describes the configuration of a Spot Fleet request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfigData type SpotFleetRequestConfigData struct { _ struct{} `type:"structure"` // Indicates how to allocate the target capacity across the Spot pools specified - // by the Spot fleet request. The default is lowestPrice. + // by the Spot Fleet request. The default is lowestPrice. AllocationStrategy *string `locationName:"allocationStrategy" type:"string" enum:"AllocationStrategy"` // A unique, case-sensitive identifier you provide to ensure idempotency of @@ -56913,66 +63646,68 @@ type SpotFleetRequestConfigData struct { // see Ensuring Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` - // Indicates whether running Spot instances should be terminated if the target - // capacity of the Spot fleet request is decreased below the current size of - // the Spot fleet. + // Indicates whether running Spot Instances should be terminated if the target + // capacity of the Spot Fleet request is decreased below the current size of + // the Spot Fleet. ExcessCapacityTerminationPolicy *string `locationName:"excessCapacityTerminationPolicy" type:"string" enum:"ExcessCapacityTerminationPolicy"` // The number of units fulfilled by this request compared to the set target // capacity. FulfilledCapacity *float64 `locationName:"fulfilledCapacity" type:"double"` - // Grants the Spot fleet permission to terminate Spot instances on your behalf - // when you cancel its Spot fleet request using CancelSpotFleetRequests or when - // the Spot fleet request expires, if you set terminateInstancesWithExpiration. + // Grants the Spot Fleet permission to terminate Spot Instances on your behalf + // when you cancel its Spot Fleet request using CancelSpotFleetRequests or when + // the Spot Fleet request expires, if you set terminateInstancesWithExpiration. // // IamFleetRole is a required field IamFleetRole *string `locationName:"iamFleetRole" type:"string" required:"true"` - // Indicates whether a Spot instance stops or terminates when it is interrupted. + // The behavior when a Spot Instance is interrupted. The default is terminate. InstanceInterruptionBehavior *string `locationName:"instanceInterruptionBehavior" type:"string" enum:"InstanceInterruptionBehavior"` - // Information about the launch specifications for the Spot fleet request. - // - // LaunchSpecifications is a required field - LaunchSpecifications []*SpotFleetLaunchSpecification `locationName:"launchSpecifications" locationNameList:"item" min:"1" type:"list" required:"true"` + // The launch specifications for the Spot Fleet request. + LaunchSpecifications []*SpotFleetLaunchSpecification `locationName:"launchSpecifications" locationNameList:"item" type:"list"` + + // The launch template and overrides. + LaunchTemplateConfigs []*LaunchTemplateConfig `locationName:"launchTemplateConfigs" locationNameList:"item" type:"list"` // One or more Classic Load Balancers and target groups to attach to the Spot - // fleet request. Spot fleet registers the running Spot instances with the specified + // Fleet request. Spot Fleet registers the running Spot Instances with the specified // Classic Load Balancers and target groups. // - // With Network Load Balancers, Spot fleet cannot register instances that have + // With Network Load Balancers, Spot Fleet cannot register instances that have // the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, // HS1, M1, M2, M3, and T1. LoadBalancersConfig *LoadBalancersConfig `locationName:"loadBalancersConfig" type:"structure"` - // Indicates whether Spot fleet should replace unhealthy instances. + // Indicates whether Spot Fleet should replace unhealthy instances. ReplaceUnhealthyInstances *bool `locationName:"replaceUnhealthyInstances" type:"boolean"` - // The bid price per unit hour. - // - // SpotPrice is a required field - SpotPrice *string `locationName:"spotPrice" type:"string" required:"true"` + // The maximum price per unit hour that you are willing to pay for a Spot Instance. + // The default is the On-Demand price. + SpotPrice *string `locationName:"spotPrice" type:"string"` // The number of units to request. You can choose to set the target capacity // in terms of instances or a performance characteristic that is important to - // your application workload, such as vCPUs, memory, or I/O. + // your application workload, such as vCPUs, memory, or I/O. If the request + // type is maintain, you can specify a target capacity of 0 and add capacity + // later. // // TargetCapacity is a required field TargetCapacity *int64 `locationName:"targetCapacity" type:"integer" required:"true"` - // Indicates whether running Spot instances should be terminated when the Spot - // fleet request expires. + // Indicates whether running Spot Instances should be terminated when the Spot + // Fleet request expires. TerminateInstancesWithExpiration *bool `locationName:"terminateInstancesWithExpiration" type:"boolean"` // The type of request. Indicates whether the fleet will only request the target // capacity or also attempt to maintain it. When you request a certain target - // capacity, the fleet will only place the required bids. It will not attempt - // to replenish Spot instances if capacity is diminished, nor will it submit - // bids in alternative Spot pools if capacity is not available. When you want - // to maintain a certain target capacity, fleet will place the required bids - // to meet this target capacity. It will also automatically replenish any interrupted - // instances. Default: maintain. + // capacity, the fleet will only place the required requests. It will not attempt + // to replenish Spot Instances if capacity is diminished, nor will it submit + // requests in alternative Spot pools if capacity is not available. When you + // want to maintain a certain target capacity, fleet will place the required + // requests to meet this target capacity. It will also automatically replenish + // any interrupted instances. Default: maintain. Type *string `locationName:"type" type:"string" enum:"FleetType"` // The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). @@ -56980,8 +63715,8 @@ type SpotFleetRequestConfigData struct { ValidFrom *time.Time `locationName:"validFrom" type:"timestamp" timestampFormat:"iso8601"` // The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). - // At this point, no new Spot instance requests are placed or enabled to fulfill - // the request. + // At this point, no new Spot Instance requests are placed or able to fulfill + // the request. The default end date is 7 days from the current date. ValidUntil *time.Time `locationName:"validUntil" type:"timestamp" timestampFormat:"iso8601"` } @@ -57001,15 +63736,6 @@ func (s *SpotFleetRequestConfigData) Validate() error { if s.IamFleetRole == nil { invalidParams.Add(request.NewErrParamRequired("IamFleetRole")) } - if s.LaunchSpecifications == nil { - invalidParams.Add(request.NewErrParamRequired("LaunchSpecifications")) - } - if s.LaunchSpecifications != nil && len(s.LaunchSpecifications) < 1 { - invalidParams.Add(request.NewErrParamMinLen("LaunchSpecifications", 1)) - } - if s.SpotPrice == nil { - invalidParams.Add(request.NewErrParamRequired("SpotPrice")) - } if s.TargetCapacity == nil { invalidParams.Add(request.NewErrParamRequired("TargetCapacity")) } @@ -57023,6 +63749,16 @@ func (s *SpotFleetRequestConfigData) Validate() error { } } } + if s.LaunchTemplateConfigs != nil { + for i, v := range s.LaunchTemplateConfigs { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LaunchTemplateConfigs", i), err.(request.ErrInvalidParams)) + } + } + } if s.LoadBalancersConfig != nil { if err := s.LoadBalancersConfig.Validate(); err != nil { invalidParams.AddNested("LoadBalancersConfig", err.(request.ErrInvalidParams)) @@ -57077,6 +63813,12 @@ func (s *SpotFleetRequestConfigData) SetLaunchSpecifications(v []*SpotFleetLaunc return s } +// SetLaunchTemplateConfigs sets the LaunchTemplateConfigs field's value. +func (s *SpotFleetRequestConfigData) SetLaunchTemplateConfigs(v []*LaunchTemplateConfig) *SpotFleetRequestConfigData { + s.LaunchTemplateConfigs = v + return s +} + // SetLoadBalancersConfig sets the LoadBalancersConfig field's value. func (s *SpotFleetRequestConfigData) SetLoadBalancersConfig(v *LoadBalancersConfig) *SpotFleetRequestConfigData { s.LoadBalancersConfig = v @@ -57125,8 +63867,8 @@ func (s *SpotFleetRequestConfigData) SetValidUntil(v time.Time) *SpotFleetReques return s } -// The tags for a Spot fleet resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetTagSpecification +// The tags for a Spot Fleet resource. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetTagSpecification type SpotFleetTagSpecification struct { _ struct{} `type:"structure"` @@ -57160,70 +63902,69 @@ func (s *SpotFleetTagSpecification) SetTags(v []*Tag) *SpotFleetTagSpecification return s } -// Describes a Spot instance request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotInstanceRequest +// Describes a Spot Instance request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotInstanceRequest type SpotInstanceRequest struct { _ struct{} `type:"structure"` - // If you specified a duration and your Spot instance request was fulfilled, - // this is the fixed hourly price in effect for the Spot instance while it runs. + // If you specified a duration and your Spot Instance request was fulfilled, + // this is the fixed hourly price in effect for the Spot Instance while it runs. ActualBlockHourlyPrice *string `locationName:"actualBlockHourlyPrice" type:"string"` // The Availability Zone group. If you specify the same Availability Zone group - // for all Spot instance requests, all Spot instances are launched in the same + // for all Spot Instance requests, all Spot Instances are launched in the same // Availability Zone. AvailabilityZoneGroup *string `locationName:"availabilityZoneGroup" type:"string"` - // The duration for the Spot instance, in minutes. + // The duration for the Spot Instance, in minutes. BlockDurationMinutes *int64 `locationName:"blockDurationMinutes" type:"integer"` - // The date and time when the Spot instance request was created, in UTC format + // The date and time when the Spot Instance request was created, in UTC format // (for example, YYYY-MM-DDTHH:MM:SSZ). CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"iso8601"` - // The fault codes for the Spot instance request, if any. + // The fault codes for the Spot Instance request, if any. Fault *SpotInstanceStateFault `locationName:"fault" type:"structure"` - // The instance ID, if an instance has been launched to fulfill the Spot instance + // The instance ID, if an instance has been launched to fulfill the Spot Instance // request. InstanceId *string `locationName:"instanceId" type:"string"` - // Indicates whether a Spot instance stops or terminates when it is interrupted. + // The behavior when a Spot Instance is interrupted. InstanceInterruptionBehavior *string `locationName:"instanceInterruptionBehavior" type:"string" enum:"InstanceInterruptionBehavior"` - // The instance launch group. Launch groups are Spot instances that launch together + // The instance launch group. Launch groups are Spot Instances that launch together // and terminate together. LaunchGroup *string `locationName:"launchGroup" type:"string"` // Additional information for launching instances. LaunchSpecification *LaunchSpecification `locationName:"launchSpecification" type:"structure"` - // The Availability Zone in which the bid is launched. + // The Availability Zone in which the request is launched. LaunchedAvailabilityZone *string `locationName:"launchedAvailabilityZone" type:"string"` - // The product description associated with the Spot instance. + // The product description associated with the Spot Instance. ProductDescription *string `locationName:"productDescription" type:"string" enum:"RIProductDescription"` - // The ID of the Spot instance request. + // The ID of the Spot Instance request. SpotInstanceRequestId *string `locationName:"spotInstanceRequestId" type:"string"` - // The maximum hourly price (bid) for the Spot instance launched to fulfill - // the request. + // The maximum price per hour that you are willing to pay for a Spot Instance. SpotPrice *string `locationName:"spotPrice" type:"string"` - // The state of the Spot instance request. Spot bid status information can help - // you track your Spot instance requests. For more information, see Spot Bid - // Status (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html) + // The state of the Spot Instance request. Spot status information can help + // you track your Spot Instance requests. For more information, see Spot Status + // (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html) // in the Amazon Elastic Compute Cloud User Guide. State *string `locationName:"state" type:"string" enum:"SpotInstanceState"` - // The status code and status message describing the Spot instance request. + // The status code and status message describing the Spot Instance request. Status *SpotInstanceStatus `locationName:"status" type:"structure"` // Any tags assigned to the resource. Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` - // The Spot instance request type. + // The Spot Instance request type. Type *string `locationName:"type" type:"string" enum:"SpotInstanceType"` // The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). @@ -57233,7 +63974,8 @@ type SpotInstanceRequest struct { // The end date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). // If this is a one-time request, it remains active until all instances launch, // the request is canceled, or this date is reached. If the request is persistent, - // it remains active until it is canceled or this date is reached. + // it remains active until it is canceled or this date is reached. The default + // end date is 7 days from the current date. ValidUntil *time.Time `locationName:"validUntil" type:"timestamp" timestampFormat:"iso8601"` } @@ -57361,15 +64103,15 @@ func (s *SpotInstanceRequest) SetValidUntil(v time.Time) *SpotInstanceRequest { return s } -// Describes a Spot instance state change. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotInstanceStateFault +// Describes a Spot Instance state change. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotInstanceStateFault type SpotInstanceStateFault struct { _ struct{} `type:"structure"` - // The reason code for the Spot instance state change. + // The reason code for the Spot Instance state change. Code *string `locationName:"code" type:"string"` - // The message for the Spot instance state change. + // The message for the Spot Instance state change. Message *string `locationName:"message" type:"string"` } @@ -57395,12 +64137,12 @@ func (s *SpotInstanceStateFault) SetMessage(v string) *SpotInstanceStateFault { return s } -// Describes the status of a Spot instance request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotInstanceStatus +// Describes the status of a Spot Instance request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotInstanceStatus type SpotInstanceStatus struct { _ struct{} `type:"structure"` - // The status code. For a list of status codes, see Spot Bid Status Codes (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html#spot-instance-bid-status-understand) + // The status code. For a list of status codes, see Spot Status Codes (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html#spot-instance-bid-status-understand) // in the Amazon Elastic Compute Cloud User Guide. Code *string `locationName:"code" type:"string"` @@ -57440,23 +64182,91 @@ func (s *SpotInstanceStatus) SetUpdateTime(v time.Time) *SpotInstanceStatus { return s } -// Describes Spot instance placement. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotPlacement +// The options for Spot Instances. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotMarketOptions +type SpotMarketOptions struct { + _ struct{} `type:"structure"` + + // The required duration for the Spot Instances (also known as Spot blocks), + // in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, + // or 360). + BlockDurationMinutes *int64 `type:"integer"` + + // The behavior when a Spot Instance is interrupted. The default is terminate. + InstanceInterruptionBehavior *string `type:"string" enum:"InstanceInterruptionBehavior"` + + // The maximum hourly price you're willing to pay for the Spot Instances. The + // default is the On-Demand price. + MaxPrice *string `type:"string"` + + // The Spot Instance request type. + SpotInstanceType *string `type:"string" enum:"SpotInstanceType"` + + // The end date of the request. For a one-time request, the request remains + // active until all instances launch, the request is canceled, or this date + // is reached. If the request is persistent, it remains active until it is canceled + // or this date and time is reached. The default end date is 7 days from the + // current date. + ValidUntil *time.Time `type:"timestamp" timestampFormat:"iso8601"` +} + +// String returns the string representation +func (s SpotMarketOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SpotMarketOptions) GoString() string { + return s.String() +} + +// SetBlockDurationMinutes sets the BlockDurationMinutes field's value. +func (s *SpotMarketOptions) SetBlockDurationMinutes(v int64) *SpotMarketOptions { + s.BlockDurationMinutes = &v + return s +} + +// SetInstanceInterruptionBehavior sets the InstanceInterruptionBehavior field's value. +func (s *SpotMarketOptions) SetInstanceInterruptionBehavior(v string) *SpotMarketOptions { + s.InstanceInterruptionBehavior = &v + return s +} + +// SetMaxPrice sets the MaxPrice field's value. +func (s *SpotMarketOptions) SetMaxPrice(v string) *SpotMarketOptions { + s.MaxPrice = &v + return s +} + +// SetSpotInstanceType sets the SpotInstanceType field's value. +func (s *SpotMarketOptions) SetSpotInstanceType(v string) *SpotMarketOptions { + s.SpotInstanceType = &v + return s +} + +// SetValidUntil sets the ValidUntil field's value. +func (s *SpotMarketOptions) SetValidUntil(v time.Time) *SpotMarketOptions { + s.ValidUntil = &v + return s +} + +// Describes Spot Instance placement. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotPlacement type SpotPlacement struct { _ struct{} `type:"structure"` // The Availability Zone. // - // [Spot fleet only] To specify multiple Availability Zones, separate them using + // [Spot Fleet only] To specify multiple Availability Zones, separate them using // commas; for example, "us-west-2a, us-west-2b". AvailabilityZone *string `locationName:"availabilityZone" type:"string"` - // The name of the placement group (for cluster instances). + // The name of the placement group. GroupName *string `locationName:"groupName" type:"string"` // The tenancy of the instance (if the instance is running in a VPC). An instance // with a tenancy of dedicated runs on single-tenant hardware. The host tenancy - // is not supported for Spot instances. + // is not supported for Spot Instances. Tenancy *string `locationName:"tenancy" type:"string" enum:"Tenancy"` } @@ -57488,22 +64298,22 @@ func (s *SpotPlacement) SetTenancy(v string) *SpotPlacement { return s } -// Describes the maximum hourly price (bid) for any Spot instance launched to -// fulfill the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotPrice +// Describes the maximum price per hour that you are willing to pay for a Spot +// Instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotPrice type SpotPrice struct { _ struct{} `type:"structure"` // The Availability Zone. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` - // The instance type. Note that T2 and HS1 instance types are not supported. + // The instance type. InstanceType *string `locationName:"instanceType" type:"string" enum:"InstanceType"` // A general description of the AMI. ProductDescription *string `locationName:"productDescription" type:"string" enum:"RIProductDescription"` - // The maximum price (bid) that you are willing to pay for a Spot instance. + // The maximum price per hour that you are willing to pay for a Spot Instance. SpotPrice *string `locationName:"spotPrice" type:"string"` // The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). @@ -57551,7 +64361,7 @@ func (s *SpotPrice) SetTimestamp(v time.Time) *SpotPrice { } // Describes a stale rule in a security group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StaleIpPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StaleIpPermission type StaleIpPermission struct { _ struct{} `type:"structure"` @@ -57626,7 +64436,7 @@ func (s *StaleIpPermission) SetUserIdGroupPairs(v []*UserIdGroupPair) *StaleIpPe } // Describes a stale security group (a security group that contains stale rules). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StaleSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StaleSecurityGroup type StaleSecurityGroup struct { _ struct{} `type:"structure"` @@ -57698,7 +64508,7 @@ func (s *StaleSecurityGroup) SetVpcId(v string) *StaleSecurityGroup { } // Contains the parameters for StartInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartInstancesRequest type StartInstancesInput struct { _ struct{} `type:"structure"` @@ -57759,7 +64569,7 @@ func (s *StartInstancesInput) SetInstanceIds(v []*string) *StartInstancesInput { } // Contains the output of StartInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartInstancesResult type StartInstancesOutput struct { _ struct{} `type:"structure"` @@ -57784,7 +64594,7 @@ func (s *StartInstancesOutput) SetStartingInstances(v []*InstanceStateChange) *S } // Describes a state change. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StateReason +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StateReason type StateReason struct { _ struct{} `type:"structure"` @@ -57802,7 +64612,7 @@ type StateReason struct { // * Server.ScheduledStop: The instance was stopped due to a scheduled retirement. // // * Server.SpotInstanceTermination: A Spot Instance was terminated due to - // an increase in the market price. + // an increase in the Spot price. // // * Client.InternalError: A client error caused the instance to terminate // on launch. @@ -57847,7 +64657,7 @@ func (s *StateReason) SetMessage(v string) *StateReason { } // Contains the parameters for StopInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StopInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StopInstancesRequest type StopInstancesInput struct { _ struct{} `type:"structure"` @@ -57913,7 +64723,7 @@ func (s *StopInstancesInput) SetInstanceIds(v []*string) *StopInstancesInput { } // Contains the output of StopInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StopInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StopInstancesResult type StopInstancesOutput struct { _ struct{} `type:"structure"` @@ -57938,7 +64748,7 @@ func (s *StopInstancesOutput) SetStoppingInstances(v []*InstanceStateChange) *St } // Describes the storage location for an instance store-backed AMI. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Storage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Storage type Storage struct { _ struct{} `type:"structure"` @@ -57963,7 +64773,7 @@ func (s *Storage) SetS3(v *S3Storage) *Storage { } // Describes a storage location in Amazon S3. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StorageLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StorageLocation type StorageLocation struct { _ struct{} `type:"structure"` @@ -57997,7 +64807,7 @@ func (s *StorageLocation) SetKey(v string) *StorageLocation { } // Describes a subnet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Subnet +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Subnet type Subnet struct { _ struct{} `type:"structure"` @@ -58115,7 +64925,7 @@ func (s *Subnet) SetVpcId(v string) *Subnet { } // Describes the state of a CIDR block. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SubnetCidrBlockState +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SubnetCidrBlockState type SubnetCidrBlockState struct { _ struct{} `type:"structure"` @@ -58149,7 +64959,7 @@ func (s *SubnetCidrBlockState) SetStatusMessage(v string) *SubnetCidrBlockState } // Describes an IPv6 CIDR block associated with a subnet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SubnetIpv6CidrBlockAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SubnetIpv6CidrBlockAssociation type SubnetIpv6CidrBlockAssociation struct { _ struct{} `type:"structure"` @@ -58191,8 +65001,34 @@ func (s *SubnetIpv6CidrBlockAssociation) SetIpv6CidrBlockState(v *SubnetCidrBloc return s } +// Describes the T2 instance whose credit option for CPU usage was successfully +// modified. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SuccessfulInstanceCreditSpecificationItem +type SuccessfulInstanceCreditSpecificationItem struct { + _ struct{} `type:"structure"` + + // The ID of the instance. + InstanceId *string `locationName:"instanceId" type:"string"` +} + +// String returns the string representation +func (s SuccessfulInstanceCreditSpecificationItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SuccessfulInstanceCreditSpecificationItem) GoString() string { + return s.String() +} + +// SetInstanceId sets the InstanceId field's value. +func (s *SuccessfulInstanceCreditSpecificationItem) SetInstanceId(v string) *SuccessfulInstanceCreditSpecificationItem { + s.InstanceId = &v + return s +} + // Describes a tag. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Tag type Tag struct { _ struct{} `type:"structure"` @@ -58232,7 +65068,7 @@ func (s *Tag) SetValue(v string) *Tag { } // Describes a tag. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TagDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TagDescription type TagDescription struct { _ struct{} `type:"structure"` @@ -58284,7 +65120,7 @@ func (s *TagDescription) SetValue(v string) *TagDescription { } // The tags to apply to a resource when the resource is being created. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TagSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TagSpecification type TagSpecification struct { _ struct{} `type:"structure"` @@ -58319,7 +65155,7 @@ func (s *TagSpecification) SetTags(v []*Tag) *TagSpecification { } // Information about the Convertible Reserved Instance offering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetConfiguration type TargetConfiguration struct { _ struct{} `type:"structure"` @@ -58354,7 +65190,7 @@ func (s *TargetConfiguration) SetOfferingId(v string) *TargetConfiguration { } // Details about the target configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetConfigurationRequest type TargetConfigurationRequest struct { _ struct{} `type:"structure"` @@ -58404,7 +65240,7 @@ func (s *TargetConfigurationRequest) SetOfferingId(v string) *TargetConfiguratio } // Describes a load balancer target group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetGroup type TargetGroup struct { _ struct{} `type:"structure"` @@ -58443,9 +65279,9 @@ func (s *TargetGroup) SetArn(v string) *TargetGroup { return s } -// Describes the target groups to attach to a Spot fleet. Spot fleet registers -// the running Spot instances with these target groups. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetGroupsConfig +// Describes the target groups to attach to a Spot Fleet. Spot Fleet registers +// the running Spot Instances with these target groups. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetGroupsConfig type TargetGroupsConfig struct { _ struct{} `type:"structure"` @@ -58498,7 +65334,7 @@ func (s *TargetGroupsConfig) SetTargetGroups(v []*TargetGroup) *TargetGroupsConf } // The total value of the new Convertible Reserved Instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetReservationValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetReservationValue type TargetReservationValue struct { _ struct{} `type:"structure"` @@ -58535,7 +65371,7 @@ func (s *TargetReservationValue) SetTargetConfiguration(v *TargetConfiguration) } // Contains the parameters for TerminateInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TerminateInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TerminateInstancesRequest type TerminateInstancesInput struct { _ struct{} `type:"structure"` @@ -58590,7 +65426,7 @@ func (s *TerminateInstancesInput) SetInstanceIds(v []*string) *TerminateInstance } // Contains the output of TerminateInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TerminateInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TerminateInstancesResult type TerminateInstancesOutput struct { _ struct{} `type:"structure"` @@ -58614,7 +65450,7 @@ func (s *TerminateInstancesOutput) SetTerminatingInstances(v []*InstanceStateCha return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6AddressesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6AddressesRequest type UnassignIpv6AddressesInput struct { _ struct{} `type:"structure"` @@ -58667,7 +65503,7 @@ func (s *UnassignIpv6AddressesInput) SetNetworkInterfaceId(v string) *UnassignIp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6AddressesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6AddressesResult type UnassignIpv6AddressesOutput struct { _ struct{} `type:"structure"` @@ -58701,7 +65537,7 @@ func (s *UnassignIpv6AddressesOutput) SetUnassignedIpv6Addresses(v []*string) *U } // Contains the parameters for UnassignPrivateIpAddresses. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddressesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddressesRequest type UnassignPrivateIpAddressesInput struct { _ struct{} `type:"structure"` @@ -58755,7 +65591,7 @@ func (s *UnassignPrivateIpAddressesInput) SetPrivateIpAddresses(v []*string) *Un return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddressesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddressesOutput type UnassignPrivateIpAddressesOutput struct { _ struct{} `type:"structure"` } @@ -58771,7 +65607,7 @@ func (s UnassignPrivateIpAddressesOutput) GoString() string { } // Contains the parameters for UnmonitorInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnmonitorInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnmonitorInstancesRequest type UnmonitorInstancesInput struct { _ struct{} `type:"structure"` @@ -58823,7 +65659,7 @@ func (s *UnmonitorInstancesInput) SetInstanceIds(v []*string) *UnmonitorInstance } // Contains the output of UnmonitorInstances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnmonitorInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnmonitorInstancesResult type UnmonitorInstancesOutput struct { _ struct{} `type:"structure"` @@ -58847,8 +65683,78 @@ func (s *UnmonitorInstancesOutput) SetInstanceMonitorings(v []*InstanceMonitorin return s } +// Describes the T2 instance whose credit option for CPU usage was not modified. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnsuccessfulInstanceCreditSpecificationItem +type UnsuccessfulInstanceCreditSpecificationItem struct { + _ struct{} `type:"structure"` + + // The applicable error for the T2 instance whose credit option for CPU usage + // was not modified. + Error *UnsuccessfulInstanceCreditSpecificationItemError `locationName:"error" type:"structure"` + + // The ID of the instance. + InstanceId *string `locationName:"instanceId" type:"string"` +} + +// String returns the string representation +func (s UnsuccessfulInstanceCreditSpecificationItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UnsuccessfulInstanceCreditSpecificationItem) GoString() string { + return s.String() +} + +// SetError sets the Error field's value. +func (s *UnsuccessfulInstanceCreditSpecificationItem) SetError(v *UnsuccessfulInstanceCreditSpecificationItemError) *UnsuccessfulInstanceCreditSpecificationItem { + s.Error = v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *UnsuccessfulInstanceCreditSpecificationItem) SetInstanceId(v string) *UnsuccessfulInstanceCreditSpecificationItem { + s.InstanceId = &v + return s +} + +// Information about the error for the T2 instance whose credit option for CPU +// usage was not modified. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnsuccessfulInstanceCreditSpecificationItemError +type UnsuccessfulInstanceCreditSpecificationItemError struct { + _ struct{} `type:"structure"` + + // The error code. + Code *string `locationName:"code" type:"string" enum:"UnsuccessfulInstanceCreditSpecificationErrorCode"` + + // The applicable error message. + Message *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s UnsuccessfulInstanceCreditSpecificationItemError) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UnsuccessfulInstanceCreditSpecificationItemError) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *UnsuccessfulInstanceCreditSpecificationItemError) SetCode(v string) *UnsuccessfulInstanceCreditSpecificationItemError { + s.Code = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *UnsuccessfulInstanceCreditSpecificationItemError) SetMessage(v string) *UnsuccessfulInstanceCreditSpecificationItemError { + s.Message = &v + return s +} + // Information about items that were not successfully processed in a batch call. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnsuccessfulItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnsuccessfulItem type UnsuccessfulItem struct { _ struct{} `type:"structure"` @@ -58885,7 +65791,7 @@ func (s *UnsuccessfulItem) SetResourceId(v string) *UnsuccessfulItem { // Information about the error that occurred. For more information about errors, // see Error Codes (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnsuccessfulItemError +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnsuccessfulItemError type UnsuccessfulItemError struct { _ struct{} `type:"structure"` @@ -58923,7 +65829,7 @@ func (s *UnsuccessfulItemError) SetMessage(v string) *UnsuccessfulItemError { } // Contains the parameters for UpdateSecurityGroupRuleDescriptionsEgress. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgressRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgressRequest type UpdateSecurityGroupRuleDescriptionsEgressInput struct { _ struct{} `type:"structure"` @@ -58996,7 +65902,7 @@ func (s *UpdateSecurityGroupRuleDescriptionsEgressInput) SetIpPermissions(v []*I } // Contains the output of UpdateSecurityGroupRuleDescriptionsEgress. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgressResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgressResult type UpdateSecurityGroupRuleDescriptionsEgressOutput struct { _ struct{} `type:"structure"` @@ -59021,7 +65927,7 @@ func (s *UpdateSecurityGroupRuleDescriptionsEgressOutput) SetReturn(v bool) *Upd } // Contains the parameters for UpdateSecurityGroupRuleDescriptionsIngress. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngressRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngressRequest type UpdateSecurityGroupRuleDescriptionsIngressInput struct { _ struct{} `type:"structure"` @@ -59094,7 +66000,7 @@ func (s *UpdateSecurityGroupRuleDescriptionsIngressInput) SetIpPermissions(v []* } // Contains the output of UpdateSecurityGroupRuleDescriptionsIngress. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngressResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngressResult type UpdateSecurityGroupRuleDescriptionsIngressOutput struct { _ struct{} `type:"structure"` @@ -59119,7 +66025,7 @@ func (s *UpdateSecurityGroupRuleDescriptionsIngressOutput) SetReturn(v bool) *Up } // Describes the S3 bucket for the disk image. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UserBucket +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UserBucket type UserBucket struct { _ struct{} `type:"structure"` @@ -59153,7 +66059,7 @@ func (s *UserBucket) SetS3Key(v string) *UserBucket { } // Describes the S3 bucket for the disk image. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UserBucketDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UserBucketDetails type UserBucketDetails struct { _ struct{} `type:"structure"` @@ -59187,7 +66093,7 @@ func (s *UserBucketDetails) SetS3Key(v string) *UserBucketDetails { } // Describes the user data for an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UserData +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UserData type UserData struct { _ struct{} `type:"structure"` @@ -59214,7 +66120,7 @@ func (s *UserData) SetData(v string) *UserData { } // Describes a security group and AWS account ID pair. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UserIdGroupPair +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UserIdGroupPair type UserIdGroupPair struct { _ struct{} `type:"structure"` @@ -59303,7 +66209,7 @@ func (s *UserIdGroupPair) SetVpcPeeringConnectionId(v string) *UserIdGroupPair { } // Describes telemetry for a VPN tunnel. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VgwTelemetry +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VgwTelemetry type VgwTelemetry struct { _ struct{} `type:"structure"` @@ -59365,7 +66271,7 @@ func (s *VgwTelemetry) SetStatusMessage(v string) *VgwTelemetry { } // Describes a volume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Volume +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Volume type Volume struct { _ struct{} `type:"structure"` @@ -59504,7 +66410,7 @@ func (s *Volume) SetVolumeType(v string) *Volume { } // Describes volume attachment details. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeAttachment +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeAttachment type VolumeAttachment struct { _ struct{} `type:"structure"` @@ -59574,7 +66480,7 @@ func (s *VolumeAttachment) SetVolumeId(v string) *VolumeAttachment { } // Describes an EBS volume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeDetail type VolumeDetail struct { _ struct{} `type:"structure"` @@ -59616,7 +66522,7 @@ func (s *VolumeDetail) SetSize(v int64) *VolumeDetail { // Describes the modification status of an EBS volume. // // If the volume has never been modified, some element values will be null. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeModification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeModification type VolumeModification struct { _ struct{} `type:"structure"` @@ -59741,7 +66647,7 @@ func (s *VolumeModification) SetVolumeId(v string) *VolumeModification { } // Describes a volume status operation code. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusAction type VolumeStatusAction struct { _ struct{} `type:"structure"` @@ -59793,7 +66699,7 @@ func (s *VolumeStatusAction) SetEventType(v string) *VolumeStatusAction { } // Describes a volume status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusDetails type VolumeStatusDetails struct { _ struct{} `type:"structure"` @@ -59827,7 +66733,7 @@ func (s *VolumeStatusDetails) SetStatus(v string) *VolumeStatusDetails { } // Describes a volume status event. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusEvent +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusEvent type VolumeStatusEvent struct { _ struct{} `type:"structure"` @@ -59888,7 +66794,7 @@ func (s *VolumeStatusEvent) SetNotBefore(v time.Time) *VolumeStatusEvent { } // Describes the status of a volume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusInfo type VolumeStatusInfo struct { _ struct{} `type:"structure"` @@ -59922,7 +66828,7 @@ func (s *VolumeStatusInfo) SetStatus(v string) *VolumeStatusInfo { } // Describes the volume status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusItem type VolumeStatusItem struct { _ struct{} `type:"structure"` @@ -59983,7 +66889,7 @@ func (s *VolumeStatusItem) SetVolumeStatus(v *VolumeStatusInfo) *VolumeStatusIte } // Describes a VPC. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Vpc +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Vpc type Vpc struct { _ struct{} `type:"structure"` @@ -60081,7 +66987,7 @@ func (s *Vpc) SetVpcId(v string) *Vpc { } // Describes an attachment between a virtual private gateway and a VPC. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcAttachment +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcAttachment type VpcAttachment struct { _ struct{} `type:"structure"` @@ -60115,7 +67021,7 @@ func (s *VpcAttachment) SetVpcId(v string) *VpcAttachment { } // Describes an IPv4 CIDR block associated with a VPC. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcCidrBlockAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcCidrBlockAssociation type VpcCidrBlockAssociation struct { _ struct{} `type:"structure"` @@ -60158,7 +67064,7 @@ func (s *VpcCidrBlockAssociation) SetCidrBlockState(v *VpcCidrBlockState) *VpcCi } // Describes the state of a CIDR block. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcCidrBlockState +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcCidrBlockState type VpcCidrBlockState struct { _ struct{} `type:"structure"` @@ -60192,7 +67098,7 @@ func (s *VpcCidrBlockState) SetStatusMessage(v string) *VpcCidrBlockState { } // Describes whether a VPC is enabled for ClassicLink. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcClassicLink +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcClassicLink type VpcClassicLink struct { _ struct{} `type:"structure"` @@ -60235,7 +67141,7 @@ func (s *VpcClassicLink) SetVpcId(v string) *VpcClassicLink { } // Describes a VPC endpoint. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEndpoint type VpcEndpoint struct { _ struct{} `type:"structure"` @@ -60262,7 +67168,7 @@ type VpcEndpoint struct { // (Gateway endpoint) One or more route tables associated with the endpoint. RouteTableIds []*string `locationName:"routeTableIdSet" locationNameList:"item" type:"list"` - // The name of the AWS service to which the endpoint is associated. + // The name of the service to which the endpoint is associated. ServiceName *string `locationName:"serviceName" type:"string"` // The state of the VPC endpoint. @@ -60369,8 +67275,69 @@ func (s *VpcEndpoint) SetVpcId(v string) *VpcEndpoint { return s } +// Describes a VPC endpoint connection to a service. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEndpointConnection +type VpcEndpointConnection struct { + _ struct{} `type:"structure"` + + // The date and time the VPC endpoint was created. + CreationTimestamp *time.Time `locationName:"creationTimestamp" type:"timestamp" timestampFormat:"iso8601"` + + // The ID of the service to which the endpoint is connected. + ServiceId *string `locationName:"serviceId" type:"string"` + + // The ID of the VPC endpoint. + VpcEndpointId *string `locationName:"vpcEndpointId" type:"string"` + + // The AWS account ID of the owner of the VPC endpoint. + VpcEndpointOwner *string `locationName:"vpcEndpointOwner" type:"string"` + + // The state of the VPC endpoint. + VpcEndpointState *string `locationName:"vpcEndpointState" type:"string" enum:"State"` +} + +// String returns the string representation +func (s VpcEndpointConnection) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VpcEndpointConnection) GoString() string { + return s.String() +} + +// SetCreationTimestamp sets the CreationTimestamp field's value. +func (s *VpcEndpointConnection) SetCreationTimestamp(v time.Time) *VpcEndpointConnection { + s.CreationTimestamp = &v + return s +} + +// SetServiceId sets the ServiceId field's value. +func (s *VpcEndpointConnection) SetServiceId(v string) *VpcEndpointConnection { + s.ServiceId = &v + return s +} + +// SetVpcEndpointId sets the VpcEndpointId field's value. +func (s *VpcEndpointConnection) SetVpcEndpointId(v string) *VpcEndpointConnection { + s.VpcEndpointId = &v + return s +} + +// SetVpcEndpointOwner sets the VpcEndpointOwner field's value. +func (s *VpcEndpointConnection) SetVpcEndpointOwner(v string) *VpcEndpointConnection { + s.VpcEndpointOwner = &v + return s +} + +// SetVpcEndpointState sets the VpcEndpointState field's value. +func (s *VpcEndpointConnection) SetVpcEndpointState(v string) *VpcEndpointConnection { + s.VpcEndpointState = &v + return s +} + // Describes an IPv6 CIDR block associated with a VPC. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcIpv6CidrBlockAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcIpv6CidrBlockAssociation type VpcIpv6CidrBlockAssociation struct { _ struct{} `type:"structure"` @@ -60413,7 +67380,7 @@ func (s *VpcIpv6CidrBlockAssociation) SetIpv6CidrBlockState(v *VpcCidrBlockState } // Describes a VPC peering connection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnection type VpcPeeringConnection struct { _ struct{} `type:"structure"` @@ -60485,7 +67452,7 @@ func (s *VpcPeeringConnection) SetVpcPeeringConnectionId(v string) *VpcPeeringCo } // Describes the VPC peering connection options. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnectionOptionsDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnectionOptionsDescription type VpcPeeringConnectionOptionsDescription struct { _ struct{} `type:"structure"` @@ -60531,7 +67498,7 @@ func (s *VpcPeeringConnectionOptionsDescription) SetAllowEgressFromLocalVpcToRem } // Describes the status of a VPC peering connection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnectionStateReason +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnectionStateReason type VpcPeeringConnectionStateReason struct { _ struct{} `type:"structure"` @@ -60565,7 +67532,7 @@ func (s *VpcPeeringConnectionStateReason) SetMessage(v string) *VpcPeeringConnec } // Describes a VPC in a VPC peering connection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnectionVpcInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnectionVpcInfo type VpcPeeringConnectionVpcInfo struct { _ struct{} `type:"structure"` @@ -60585,6 +67552,9 @@ type VpcPeeringConnectionVpcInfo struct { // requester VPC. PeeringOptions *VpcPeeringConnectionOptionsDescription `locationName:"peeringOptions" type:"structure"` + // The region in which the VPC is located. + Region *string `locationName:"region" type:"string"` + // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` } @@ -60629,6 +67599,12 @@ func (s *VpcPeeringConnectionVpcInfo) SetPeeringOptions(v *VpcPeeringConnectionO return s } +// SetRegion sets the Region field's value. +func (s *VpcPeeringConnectionVpcInfo) SetRegion(v string) *VpcPeeringConnectionVpcInfo { + s.Region = &v + return s +} + // SetVpcId sets the VpcId field's value. func (s *VpcPeeringConnectionVpcInfo) SetVpcId(v string) *VpcPeeringConnectionVpcInfo { s.VpcId = &v @@ -60636,7 +67612,7 @@ func (s *VpcPeeringConnectionVpcInfo) SetVpcId(v string) *VpcPeeringConnectionVp } // Describes a VPN connection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnConnection type VpnConnection struct { _ struct{} `type:"structure"` @@ -60757,7 +67733,7 @@ func (s *VpnConnection) SetVpnGatewayId(v string) *VpnConnection { } // Describes VPN connection options. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnConnectionOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnConnectionOptions type VpnConnectionOptions struct { _ struct{} `type:"structure"` @@ -60783,7 +67759,7 @@ func (s *VpnConnectionOptions) SetStaticRoutesOnly(v bool) *VpnConnectionOptions } // Describes VPN connection options. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnConnectionOptionsSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnConnectionOptionsSpecification type VpnConnectionOptionsSpecification struct { _ struct{} `type:"structure"` @@ -60821,7 +67797,7 @@ func (s *VpnConnectionOptionsSpecification) SetTunnelOptions(v []*VpnTunnelOptio } // Describes a virtual private gateway. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnGateway +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnGateway type VpnGateway struct { _ struct{} `type:"structure"` @@ -60901,7 +67877,7 @@ func (s *VpnGateway) SetVpnGatewayId(v string) *VpnGateway { } // Describes a static route for a VPN connection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnStaticRoute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnStaticRoute type VpnStaticRoute struct { _ struct{} `type:"structure"` @@ -60944,7 +67920,7 @@ func (s *VpnStaticRoute) SetState(v string) *VpnStaticRoute { } // The tunnel options for a VPN connection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnTunnelOptionsSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnTunnelOptionsSpecification type VpnTunnelOptionsSpecification struct { _ struct{} `type:"structure"` @@ -61176,6 +68152,19 @@ const ( CancelSpotInstanceRequestStateCompleted = "completed" ) +const ( + // ConnectionNotificationStateEnabled is a ConnectionNotificationState enum value + ConnectionNotificationStateEnabled = "Enabled" + + // ConnectionNotificationStateDisabled is a ConnectionNotificationState enum value + ConnectionNotificationStateDisabled = "Disabled" +) + +const ( + // ConnectionNotificationTypeTopic is a ConnectionNotificationType enum value + ConnectionNotificationTypeTopic = "Topic" +) + const ( // ContainerFormatOva is a ContainerFormat enum value ContainerFormatOva = "ova" @@ -61501,6 +68490,9 @@ const ( ) const ( + // InstanceInterruptionBehaviorHibernate is a InstanceInterruptionBehavior enum value + InstanceInterruptionBehaviorHibernate = "hibernate" + // InstanceInterruptionBehaviorStop is a InstanceInterruptionBehavior enum value InstanceInterruptionBehaviorStop = "stop" @@ -61654,6 +68646,21 @@ const ( // InstanceTypeX132xlarge is a InstanceType enum value InstanceTypeX132xlarge = "x1.32xlarge" + // InstanceTypeX1eXlarge is a InstanceType enum value + InstanceTypeX1eXlarge = "x1e.xlarge" + + // InstanceTypeX1e2xlarge is a InstanceType enum value + InstanceTypeX1e2xlarge = "x1e.2xlarge" + + // InstanceTypeX1e4xlarge is a InstanceType enum value + InstanceTypeX1e4xlarge = "x1e.4xlarge" + + // InstanceTypeX1e8xlarge is a InstanceType enum value + InstanceTypeX1e8xlarge = "x1e.8xlarge" + + // InstanceTypeX1e16xlarge is a InstanceType enum value + InstanceTypeX1e16xlarge = "x1e.16xlarge" + // InstanceTypeX1e32xlarge is a InstanceType enum value InstanceTypeX1e32xlarge = "x1e.32xlarge" @@ -61806,6 +68813,36 @@ const ( // InstanceTypeF116xlarge is a InstanceType enum value InstanceTypeF116xlarge = "f1.16xlarge" + + // InstanceTypeM5Large is a InstanceType enum value + InstanceTypeM5Large = "m5.large" + + // InstanceTypeM5Xlarge is a InstanceType enum value + InstanceTypeM5Xlarge = "m5.xlarge" + + // InstanceTypeM52xlarge is a InstanceType enum value + InstanceTypeM52xlarge = "m5.2xlarge" + + // InstanceTypeM54xlarge is a InstanceType enum value + InstanceTypeM54xlarge = "m5.4xlarge" + + // InstanceTypeM512xlarge is a InstanceType enum value + InstanceTypeM512xlarge = "m5.12xlarge" + + // InstanceTypeM524xlarge is a InstanceType enum value + InstanceTypeM524xlarge = "m5.24xlarge" + + // InstanceTypeH12xlarge is a InstanceType enum value + InstanceTypeH12xlarge = "h1.2xlarge" + + // InstanceTypeH14xlarge is a InstanceType enum value + InstanceTypeH14xlarge = "h1.4xlarge" + + // InstanceTypeH18xlarge is a InstanceType enum value + InstanceTypeH18xlarge = "h1.8xlarge" + + // InstanceTypeH116xlarge is a InstanceType enum value + InstanceTypeH116xlarge = "h1.16xlarge" ) const ( @@ -61816,6 +68853,26 @@ const ( InterfacePermissionTypeEipAssociate = "EIP-ASSOCIATE" ) +const ( + // LaunchTemplateErrorCodeLaunchTemplateIdDoesNotExist is a LaunchTemplateErrorCode enum value + LaunchTemplateErrorCodeLaunchTemplateIdDoesNotExist = "launchTemplateIdDoesNotExist" + + // LaunchTemplateErrorCodeLaunchTemplateIdMalformed is a LaunchTemplateErrorCode enum value + LaunchTemplateErrorCodeLaunchTemplateIdMalformed = "launchTemplateIdMalformed" + + // LaunchTemplateErrorCodeLaunchTemplateNameDoesNotExist is a LaunchTemplateErrorCode enum value + LaunchTemplateErrorCodeLaunchTemplateNameDoesNotExist = "launchTemplateNameDoesNotExist" + + // LaunchTemplateErrorCodeLaunchTemplateNameMalformed is a LaunchTemplateErrorCode enum value + LaunchTemplateErrorCodeLaunchTemplateNameMalformed = "launchTemplateNameMalformed" + + // LaunchTemplateErrorCodeLaunchTemplateVersionDoesNotExist is a LaunchTemplateErrorCode enum value + LaunchTemplateErrorCodeLaunchTemplateVersionDoesNotExist = "launchTemplateVersionDoesNotExist" + + // LaunchTemplateErrorCodeUnexpectedError is a LaunchTemplateErrorCode enum value + LaunchTemplateErrorCodeUnexpectedError = "unexpectedError" +) + const ( // ListingStateAvailable is a ListingState enum value ListingStateAvailable = "available" @@ -61844,6 +68901,11 @@ const ( ListingStatusClosed = "closed" ) +const ( + // MarketTypeSpot is a MarketType enum value + MarketTypeSpot = "spot" +) + const ( // MonitoringStateDisabled is a MonitoringState enum value MonitoringStateDisabled = "disabled" @@ -62002,6 +69064,9 @@ const ( const ( // PlacementStrategyCluster is a PlacementStrategy enum value PlacementStrategyCluster = "cluster" + + // PlacementStrategySpread is a PlacementStrategy enum value + PlacementStrategySpread = "spread" ) const ( @@ -62009,6 +69074,26 @@ const ( PlatformValuesWindows = "Windows" ) +const ( + // PrincipalTypeAll is a PrincipalType enum value + PrincipalTypeAll = "All" + + // PrincipalTypeService is a PrincipalType enum value + PrincipalTypeService = "Service" + + // PrincipalTypeOrganizationUnit is a PrincipalType enum value + PrincipalTypeOrganizationUnit = "OrganizationUnit" + + // PrincipalTypeAccount is a PrincipalType enum value + PrincipalTypeAccount = "Account" + + // PrincipalTypeUser is a PrincipalType enum value + PrincipalTypeUser = "User" + + // PrincipalTypeRole is a PrincipalType enum value + PrincipalTypeRole = "Role" +) + const ( // ProductCodeValuesDevpay is a ProductCodeValues enum value ProductCodeValuesDevpay = "devpay" @@ -62191,6 +69276,23 @@ const ( RuleActionDeny = "deny" ) +const ( + // ServiceStatePending is a ServiceState enum value + ServiceStatePending = "Pending" + + // ServiceStateAvailable is a ServiceState enum value + ServiceStateAvailable = "Available" + + // ServiceStateDeleting is a ServiceState enum value + ServiceStateDeleting = "Deleting" + + // ServiceStateDeleted is a ServiceState enum value + ServiceStateDeleted = "Deleted" + + // ServiceStateFailed is a ServiceState enum value + ServiceStateFailed = "Failed" +) + const ( // ServiceTypeInterface is a ServiceType enum value ServiceTypeInterface = "Interface" @@ -62382,6 +69484,20 @@ const ( TrafficTypeAll = "ALL" ) +const ( + // UnsuccessfulInstanceCreditSpecificationErrorCodeInvalidInstanceIdMalformed is a UnsuccessfulInstanceCreditSpecificationErrorCode enum value + UnsuccessfulInstanceCreditSpecificationErrorCodeInvalidInstanceIdMalformed = "InvalidInstanceID.Malformed" + + // UnsuccessfulInstanceCreditSpecificationErrorCodeInvalidInstanceIdNotFound is a UnsuccessfulInstanceCreditSpecificationErrorCode enum value + UnsuccessfulInstanceCreditSpecificationErrorCodeInvalidInstanceIdNotFound = "InvalidInstanceID.NotFound" + + // UnsuccessfulInstanceCreditSpecificationErrorCodeIncorrectInstanceState is a UnsuccessfulInstanceCreditSpecificationErrorCode enum value + UnsuccessfulInstanceCreditSpecificationErrorCodeIncorrectInstanceState = "IncorrectInstanceState" + + // UnsuccessfulInstanceCreditSpecificationErrorCodeInstanceCreditSpecificationNotSupported is a UnsuccessfulInstanceCreditSpecificationErrorCode enum value + UnsuccessfulInstanceCreditSpecificationErrorCodeInstanceCreditSpecificationNotSupported = "InstanceCreditSpecification.NotSupported" +) + const ( // VirtualizationTypeHvm is a VirtualizationType enum value VirtualizationTypeHvm = "hvm" @@ -62402,6 +69518,9 @@ const ( // VolumeAttachmentStateDetached is a VolumeAttachmentState enum value VolumeAttachmentStateDetached = "detached" + + // VolumeAttachmentStateBusy is a VolumeAttachmentState enum value + VolumeAttachmentStateBusy = "busy" ) const ( diff --git a/vendor/github.com/aws/aws-sdk-go/service/ecr/api.go b/vendor/github.com/aws/aws-sdk-go/service/ecr/api.go index 5938049e376..984aec96587 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ecr/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ecr/api.go @@ -35,7 +35,7 @@ const opBatchCheckLayerAvailability = "BatchCheckLayerAvailability" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailability +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailability func (c *ECR) BatchCheckLayerAvailabilityRequest(input *BatchCheckLayerAvailabilityInput) (req *request.Request, output *BatchCheckLayerAvailabilityOutput) { op := &request.Operation{ Name: opBatchCheckLayerAvailability, @@ -80,7 +80,7 @@ func (c *ECR) BatchCheckLayerAvailabilityRequest(input *BatchCheckLayerAvailabil // * ErrCodeServerException "ServerException" // These errors are usually caused by a server-side issue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailability +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailability func (c *ECR) BatchCheckLayerAvailability(input *BatchCheckLayerAvailabilityInput) (*BatchCheckLayerAvailabilityOutput, error) { req, out := c.BatchCheckLayerAvailabilityRequest(input) return out, req.Send() @@ -127,7 +127,7 @@ const opBatchDeleteImage = "BatchDeleteImage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImage func (c *ECR) BatchDeleteImageRequest(input *BatchDeleteImageInput) (req *request.Request, output *BatchDeleteImageOutput) { op := &request.Operation{ Name: opBatchDeleteImage, @@ -175,7 +175,7 @@ func (c *ECR) BatchDeleteImageRequest(input *BatchDeleteImageInput) (req *reques // The specified repository could not be found. Check the spelling of the specified // repository and ensure that you are performing operations on the correct registry. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImage func (c *ECR) BatchDeleteImage(input *BatchDeleteImageInput) (*BatchDeleteImageOutput, error) { req, out := c.BatchDeleteImageRequest(input) return out, req.Send() @@ -222,7 +222,7 @@ const opBatchGetImage = "BatchGetImage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImage func (c *ECR) BatchGetImageRequest(input *BatchGetImageInput) (req *request.Request, output *BatchGetImageOutput) { op := &request.Operation{ Name: opBatchGetImage, @@ -263,7 +263,7 @@ func (c *ECR) BatchGetImageRequest(input *BatchGetImageInput) (req *request.Requ // The specified repository could not be found. Check the spelling of the specified // repository and ensure that you are performing operations on the correct registry. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImage func (c *ECR) BatchGetImage(input *BatchGetImageInput) (*BatchGetImageOutput, error) { req, out := c.BatchGetImageRequest(input) return out, req.Send() @@ -310,7 +310,7 @@ const opCompleteLayerUpload = "CompleteLayerUpload" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUpload func (c *ECR) CompleteLayerUploadRequest(input *CompleteLayerUploadInput) (req *request.Request, output *CompleteLayerUploadOutput) { op := &request.Operation{ Name: opCompleteLayerUpload, @@ -373,7 +373,7 @@ func (c *ECR) CompleteLayerUploadRequest(input *CompleteLayerUploadInput) (req * // * ErrCodeEmptyUploadException "EmptyUploadException" // The specified layer upload does not contain any layer parts. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUpload func (c *ECR) CompleteLayerUpload(input *CompleteLayerUploadInput) (*CompleteLayerUploadOutput, error) { req, out := c.CompleteLayerUploadRequest(input) return out, req.Send() @@ -420,7 +420,7 @@ const opCreateRepository = "CreateRepository" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepository +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepository func (c *ECR) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput) { op := &request.Operation{ Name: opCreateRepository, @@ -465,7 +465,7 @@ func (c *ECR) CreateRepositoryRequest(input *CreateRepositoryInput) (req *reques // (http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html) // in the Amazon EC2 Container Registry User Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepository +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepository func (c *ECR) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error) { req, out := c.CreateRepositoryRequest(input) return out, req.Send() @@ -512,7 +512,7 @@ const opDeleteLifecyclePolicy = "DeleteLifecyclePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicy func (c *ECR) DeleteLifecyclePolicyRequest(input *DeleteLifecyclePolicyInput) (req *request.Request, output *DeleteLifecyclePolicyOutput) { op := &request.Operation{ Name: opDeleteLifecyclePolicy, @@ -555,7 +555,7 @@ func (c *ECR) DeleteLifecyclePolicyRequest(input *DeleteLifecyclePolicyInput) (r // * ErrCodeLifecyclePolicyNotFoundException "LifecyclePolicyNotFoundException" // The lifecycle policy could not be found, and no policy is set to the repository. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicy func (c *ECR) DeleteLifecyclePolicy(input *DeleteLifecyclePolicyInput) (*DeleteLifecyclePolicyOutput, error) { req, out := c.DeleteLifecyclePolicyRequest(input) return out, req.Send() @@ -602,7 +602,7 @@ const opDeleteRepository = "DeleteRepository" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepository +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepository func (c *ECR) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput) { op := &request.Operation{ Name: opDeleteRepository, @@ -647,7 +647,7 @@ func (c *ECR) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *reques // The specified repository contains images. To delete a repository that contains // images, you must force the deletion with the force parameter. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepository +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepository func (c *ECR) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error) { req, out := c.DeleteRepositoryRequest(input) return out, req.Send() @@ -694,7 +694,7 @@ const opDeleteRepositoryPolicy = "DeleteRepositoryPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicy func (c *ECR) DeleteRepositoryPolicyRequest(input *DeleteRepositoryPolicyInput) (req *request.Request, output *DeleteRepositoryPolicyOutput) { op := &request.Operation{ Name: opDeleteRepositoryPolicy, @@ -738,7 +738,7 @@ func (c *ECR) DeleteRepositoryPolicyRequest(input *DeleteRepositoryPolicyInput) // The specified repository and registry combination does not have an associated // repository policy. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicy func (c *ECR) DeleteRepositoryPolicy(input *DeleteRepositoryPolicyInput) (*DeleteRepositoryPolicyOutput, error) { req, out := c.DeleteRepositoryPolicyRequest(input) return out, req.Send() @@ -785,7 +785,7 @@ const opDescribeImages = "DescribeImages" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImages +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImages func (c *ECR) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Request, output *DescribeImagesOutput) { op := &request.Operation{ Name: opDescribeImages, @@ -840,7 +840,7 @@ func (c *ECR) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Re // * ErrCodeImageNotFoundException "ImageNotFoundException" // The image requested does not exist in the specified repository. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImages +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImages func (c *ECR) DescribeImages(input *DescribeImagesInput) (*DescribeImagesOutput, error) { req, out := c.DescribeImagesRequest(input) return out, req.Send() @@ -937,7 +937,7 @@ const opDescribeRepositories = "DescribeRepositories" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositories +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositories func (c *ECR) DescribeRepositoriesRequest(input *DescribeRepositoriesInput) (req *request.Request, output *DescribeRepositoriesOutput) { op := &request.Operation{ Name: opDescribeRepositories, @@ -983,7 +983,7 @@ func (c *ECR) DescribeRepositoriesRequest(input *DescribeRepositoriesInput) (req // The specified repository could not be found. Check the spelling of the specified // repository and ensure that you are performing operations on the correct registry. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositories +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositories func (c *ECR) DescribeRepositories(input *DescribeRepositoriesInput) (*DescribeRepositoriesOutput, error) { req, out := c.DescribeRepositoriesRequest(input) return out, req.Send() @@ -1080,7 +1080,7 @@ const opGetAuthorizationToken = "GetAuthorizationToken" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationToken +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationToken func (c *ECR) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (req *request.Request, output *GetAuthorizationTokenOutput) { op := &request.Operation{ Name: opGetAuthorizationToken, @@ -1123,7 +1123,7 @@ func (c *ECR) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (r // The specified parameter is invalid. Review the available parameters for the // API request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationToken +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationToken func (c *ECR) GetAuthorizationToken(input *GetAuthorizationTokenInput) (*GetAuthorizationTokenOutput, error) { req, out := c.GetAuthorizationTokenRequest(input) return out, req.Send() @@ -1170,7 +1170,7 @@ const opGetDownloadUrlForLayer = "GetDownloadUrlForLayer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayer +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayer func (c *ECR) GetDownloadUrlForLayerRequest(input *GetDownloadUrlForLayerInput) (req *request.Request, output *GetDownloadUrlForLayerOutput) { op := &request.Operation{ Name: opGetDownloadUrlForLayer, @@ -1223,7 +1223,7 @@ func (c *ECR) GetDownloadUrlForLayerRequest(input *GetDownloadUrlForLayerInput) // The specified repository could not be found. Check the spelling of the specified // repository and ensure that you are performing operations on the correct registry. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayer +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayer func (c *ECR) GetDownloadUrlForLayer(input *GetDownloadUrlForLayerInput) (*GetDownloadUrlForLayerOutput, error) { req, out := c.GetDownloadUrlForLayerRequest(input) return out, req.Send() @@ -1270,7 +1270,7 @@ const opGetLifecyclePolicy = "GetLifecyclePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicy func (c *ECR) GetLifecyclePolicyRequest(input *GetLifecyclePolicyInput) (req *request.Request, output *GetLifecyclePolicyOutput) { op := &request.Operation{ Name: opGetLifecyclePolicy, @@ -1313,7 +1313,7 @@ func (c *ECR) GetLifecyclePolicyRequest(input *GetLifecyclePolicyInput) (req *re // * ErrCodeLifecyclePolicyNotFoundException "LifecyclePolicyNotFoundException" // The lifecycle policy could not be found, and no policy is set to the repository. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicy func (c *ECR) GetLifecyclePolicy(input *GetLifecyclePolicyInput) (*GetLifecyclePolicyOutput, error) { req, out := c.GetLifecyclePolicyRequest(input) return out, req.Send() @@ -1360,7 +1360,7 @@ const opGetLifecyclePolicyPreview = "GetLifecyclePolicyPreview" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyPreview +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyPreview func (c *ECR) GetLifecyclePolicyPreviewRequest(input *GetLifecyclePolicyPreviewInput) (req *request.Request, output *GetLifecyclePolicyPreviewOutput) { op := &request.Operation{ Name: opGetLifecyclePolicyPreview, @@ -1403,7 +1403,7 @@ func (c *ECR) GetLifecyclePolicyPreviewRequest(input *GetLifecyclePolicyPreviewI // * ErrCodeLifecyclePolicyPreviewNotFoundException "LifecyclePolicyPreviewNotFoundException" // There is no dry run for this repository. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyPreview +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyPreview func (c *ECR) GetLifecyclePolicyPreview(input *GetLifecyclePolicyPreviewInput) (*GetLifecyclePolicyPreviewOutput, error) { req, out := c.GetLifecyclePolicyPreviewRequest(input) return out, req.Send() @@ -1450,7 +1450,7 @@ const opGetRepositoryPolicy = "GetRepositoryPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicy func (c *ECR) GetRepositoryPolicyRequest(input *GetRepositoryPolicyInput) (req *request.Request, output *GetRepositoryPolicyOutput) { op := &request.Operation{ Name: opGetRepositoryPolicy, @@ -1494,7 +1494,7 @@ func (c *ECR) GetRepositoryPolicyRequest(input *GetRepositoryPolicyInput) (req * // The specified repository and registry combination does not have an associated // repository policy. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicy func (c *ECR) GetRepositoryPolicy(input *GetRepositoryPolicyInput) (*GetRepositoryPolicyOutput, error) { req, out := c.GetRepositoryPolicyRequest(input) return out, req.Send() @@ -1541,7 +1541,7 @@ const opInitiateLayerUpload = "InitiateLayerUpload" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUpload func (c *ECR) InitiateLayerUploadRequest(input *InitiateLayerUploadInput) (req *request.Request, output *InitiateLayerUploadOutput) { op := &request.Operation{ Name: opInitiateLayerUpload, @@ -1585,7 +1585,7 @@ func (c *ECR) InitiateLayerUploadRequest(input *InitiateLayerUploadInput) (req * // The specified repository could not be found. Check the spelling of the specified // repository and ensure that you are performing operations on the correct registry. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUpload func (c *ECR) InitiateLayerUpload(input *InitiateLayerUploadInput) (*InitiateLayerUploadOutput, error) { req, out := c.InitiateLayerUploadRequest(input) return out, req.Send() @@ -1632,7 +1632,7 @@ const opListImages = "ListImages" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImages +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImages func (c *ECR) ListImagesRequest(input *ListImagesInput) (req *request.Request, output *ListImagesOutput) { op := &request.Operation{ Name: opListImages, @@ -1684,7 +1684,7 @@ func (c *ECR) ListImagesRequest(input *ListImagesInput) (req *request.Request, o // The specified repository could not be found. Check the spelling of the specified // repository and ensure that you are performing operations on the correct registry. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImages +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImages func (c *ECR) ListImages(input *ListImagesInput) (*ListImagesOutput, error) { req, out := c.ListImagesRequest(input) return out, req.Send() @@ -1781,7 +1781,7 @@ const opPutImage = "PutImage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImage func (c *ECR) PutImageRequest(input *PutImageInput) (req *request.Request, output *PutImageOutput) { op := &request.Operation{ Name: opPutImage, @@ -1839,7 +1839,7 @@ func (c *ECR) PutImageRequest(input *PutImageInput) (req *request.Request, outpu // (http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html) // in the Amazon EC2 Container Registry User Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImage +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImage func (c *ECR) PutImage(input *PutImageInput) (*PutImageOutput, error) { req, out := c.PutImageRequest(input) return out, req.Send() @@ -1886,7 +1886,7 @@ const opPutLifecyclePolicy = "PutLifecyclePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicy func (c *ECR) PutLifecyclePolicyRequest(input *PutLifecyclePolicyInput) (req *request.Request, output *PutLifecyclePolicyOutput) { op := &request.Operation{ Name: opPutLifecyclePolicy, @@ -1926,7 +1926,7 @@ func (c *ECR) PutLifecyclePolicyRequest(input *PutLifecyclePolicyInput) (req *re // The specified repository could not be found. Check the spelling of the specified // repository and ensure that you are performing operations on the correct registry. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicy func (c *ECR) PutLifecyclePolicy(input *PutLifecyclePolicyInput) (*PutLifecyclePolicyOutput, error) { req, out := c.PutLifecyclePolicyRequest(input) return out, req.Send() @@ -1973,7 +1973,7 @@ const opSetRepositoryPolicy = "SetRepositoryPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicy func (c *ECR) SetRepositoryPolicyRequest(input *SetRepositoryPolicyInput) (req *request.Request, output *SetRepositoryPolicyOutput) { op := &request.Operation{ Name: opSetRepositoryPolicy, @@ -2013,7 +2013,7 @@ func (c *ECR) SetRepositoryPolicyRequest(input *SetRepositoryPolicyInput) (req * // The specified repository could not be found. Check the spelling of the specified // repository and ensure that you are performing operations on the correct registry. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicy func (c *ECR) SetRepositoryPolicy(input *SetRepositoryPolicyInput) (*SetRepositoryPolicyOutput, error) { req, out := c.SetRepositoryPolicyRequest(input) return out, req.Send() @@ -2060,7 +2060,7 @@ const opStartLifecyclePolicyPreview = "StartLifecyclePolicyPreview" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartLifecyclePolicyPreview +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartLifecyclePolicyPreview func (c *ECR) StartLifecyclePolicyPreviewRequest(input *StartLifecyclePolicyPreviewInput) (req *request.Request, output *StartLifecyclePolicyPreviewOutput) { op := &request.Operation{ Name: opStartLifecyclePolicyPreview, @@ -2108,7 +2108,7 @@ func (c *ECR) StartLifecyclePolicyPreviewRequest(input *StartLifecyclePolicyPrev // The previous lifecycle policy preview request has not completed. Please try // again later. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartLifecyclePolicyPreview +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartLifecyclePolicyPreview func (c *ECR) StartLifecyclePolicyPreview(input *StartLifecyclePolicyPreviewInput) (*StartLifecyclePolicyPreviewOutput, error) { req, out := c.StartLifecyclePolicyPreviewRequest(input) return out, req.Send() @@ -2155,7 +2155,7 @@ const opUploadLayerPart = "UploadLayerPart" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPart +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPart func (c *ECR) UploadLayerPartRequest(input *UploadLayerPartInput) (req *request.Request, output *UploadLayerPartOutput) { op := &request.Operation{ Name: opUploadLayerPart, @@ -2213,7 +2213,7 @@ func (c *ECR) UploadLayerPartRequest(input *UploadLayerPartInput) (req *request. // (http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html) // in the Amazon EC2 Container Registry User Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPart +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPart func (c *ECR) UploadLayerPart(input *UploadLayerPartInput) (*UploadLayerPartOutput, error) { req, out := c.UploadLayerPartRequest(input) return out, req.Send() @@ -2236,7 +2236,7 @@ func (c *ECR) UploadLayerPartWithContext(ctx aws.Context, input *UploadLayerPart } // An object representing authorization data for an Amazon ECR registry. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/AuthorizationData +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/AuthorizationData type AuthorizationData struct { _ struct{} `type:"structure"` @@ -2283,7 +2283,7 @@ func (s *AuthorizationData) SetProxyEndpoint(v string) *AuthorizationData { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailabilityRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailabilityRequest type BatchCheckLayerAvailabilityInput struct { _ struct{} `type:"structure"` @@ -2352,7 +2352,7 @@ func (s *BatchCheckLayerAvailabilityInput) SetRepositoryName(v string) *BatchChe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailabilityResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailabilityResponse type BatchCheckLayerAvailabilityOutput struct { _ struct{} `type:"structure"` @@ -2388,7 +2388,7 @@ func (s *BatchCheckLayerAvailabilityOutput) SetLayers(v []*Layer) *BatchCheckLay // Deletes specified images within a specified repository. Images are specified // with either the imageTag or imageDigest. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImageRequest type BatchDeleteImageInput struct { _ struct{} `type:"structure"` @@ -2458,7 +2458,7 @@ func (s *BatchDeleteImageInput) SetRepositoryName(v string) *BatchDeleteImageInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImageResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImageResponse type BatchDeleteImageOutput struct { _ struct{} `type:"structure"` @@ -2491,7 +2491,7 @@ func (s *BatchDeleteImageOutput) SetImageIds(v []*ImageIdentifier) *BatchDeleteI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImageRequest type BatchGetImageInput struct { _ struct{} `type:"structure"` @@ -2576,7 +2576,7 @@ func (s *BatchGetImageInput) SetRepositoryName(v string) *BatchGetImageInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImageResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImageResponse type BatchGetImageOutput struct { _ struct{} `type:"structure"` @@ -2609,7 +2609,7 @@ func (s *BatchGetImageOutput) SetImages(v []*Image) *BatchGetImageOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUploadRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUploadRequest type CompleteLayerUploadInput struct { _ struct{} `type:"structure"` @@ -2693,7 +2693,7 @@ func (s *CompleteLayerUploadInput) SetUploadId(v string) *CompleteLayerUploadInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUploadResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUploadResponse type CompleteLayerUploadOutput struct { _ struct{} `type:"structure"` @@ -2744,7 +2744,7 @@ func (s *CompleteLayerUploadOutput) SetUploadId(v string) *CompleteLayerUploadOu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryRequest type CreateRepositoryInput struct { _ struct{} `type:"structure"` @@ -2788,7 +2788,7 @@ func (s *CreateRepositoryInput) SetRepositoryName(v string) *CreateRepositoryInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryResponse type CreateRepositoryOutput struct { _ struct{} `type:"structure"` @@ -2812,7 +2812,7 @@ func (s *CreateRepositoryOutput) SetRepository(v *Repository) *CreateRepositoryO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicyRequest type DeleteLifecyclePolicyInput struct { _ struct{} `type:"structure"` @@ -2865,7 +2865,7 @@ func (s *DeleteLifecyclePolicyInput) SetRepositoryName(v string) *DeleteLifecycl return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicyResponse type DeleteLifecyclePolicyOutput struct { _ struct{} `type:"structure"` @@ -2916,7 +2916,7 @@ func (s *DeleteLifecyclePolicyOutput) SetRepositoryName(v string) *DeleteLifecyc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryRequest type DeleteRepositoryInput struct { _ struct{} `type:"structure"` @@ -2977,7 +2977,7 @@ func (s *DeleteRepositoryInput) SetRepositoryName(v string) *DeleteRepositoryInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryResponse type DeleteRepositoryOutput struct { _ struct{} `type:"structure"` @@ -3001,7 +3001,7 @@ func (s *DeleteRepositoryOutput) SetRepository(v *Repository) *DeleteRepositoryO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicyRequest type DeleteRepositoryPolicyInput struct { _ struct{} `type:"structure"` @@ -3055,7 +3055,7 @@ func (s *DeleteRepositoryPolicyInput) SetRepositoryName(v string) *DeleteReposit return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicyResponse type DeleteRepositoryPolicyOutput struct { _ struct{} `type:"structure"` @@ -3098,7 +3098,7 @@ func (s *DeleteRepositoryPolicyOutput) SetRepositoryName(v string) *DeleteReposi } // An object representing a filter on a DescribeImages operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesFilter type DescribeImagesFilter struct { _ struct{} `type:"structure"` @@ -3123,7 +3123,7 @@ func (s *DescribeImagesFilter) SetTagStatus(v string) *DescribeImagesFilter { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesRequest type DescribeImagesInput struct { _ struct{} `type:"structure"` @@ -3228,7 +3228,7 @@ func (s *DescribeImagesInput) SetRepositoryName(v string) *DescribeImagesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesResponse type DescribeImagesOutput struct { _ struct{} `type:"structure"` @@ -3264,7 +3264,7 @@ func (s *DescribeImagesOutput) SetNextToken(v string) *DescribeImagesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositoriesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositoriesRequest type DescribeRepositoriesInput struct { _ struct{} `type:"structure"` @@ -3347,7 +3347,7 @@ func (s *DescribeRepositoriesInput) SetRepositoryNames(v []*string) *DescribeRep return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositoriesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositoriesResponse type DescribeRepositoriesOutput struct { _ struct{} `type:"structure"` @@ -3383,7 +3383,7 @@ func (s *DescribeRepositoriesOutput) SetRepositories(v []*Repository) *DescribeR return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationTokenRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationTokenRequest type GetAuthorizationTokenInput struct { _ struct{} `type:"structure"` @@ -3422,7 +3422,7 @@ func (s *GetAuthorizationTokenInput) SetRegistryIds(v []*string) *GetAuthorizati return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationTokenResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationTokenResponse type GetAuthorizationTokenOutput struct { _ struct{} `type:"structure"` @@ -3447,7 +3447,7 @@ func (s *GetAuthorizationTokenOutput) SetAuthorizationData(v []*AuthorizationDat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayerRequest type GetDownloadUrlForLayerInput struct { _ struct{} `type:"structure"` @@ -3513,7 +3513,7 @@ func (s *GetDownloadUrlForLayerInput) SetRepositoryName(v string) *GetDownloadUr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayerResponse type GetDownloadUrlForLayerOutput struct { _ struct{} `type:"structure"` @@ -3546,7 +3546,7 @@ func (s *GetDownloadUrlForLayerOutput) SetLayerDigest(v string) *GetDownloadUrlF return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyRequest type GetLifecyclePolicyInput struct { _ struct{} `type:"structure"` @@ -3598,7 +3598,7 @@ func (s *GetLifecyclePolicyInput) SetRepositoryName(v string) *GetLifecyclePolic return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyResponse type GetLifecyclePolicyOutput struct { _ struct{} `type:"structure"` @@ -3649,7 +3649,7 @@ func (s *GetLifecyclePolicyOutput) SetRepositoryName(v string) *GetLifecyclePoli return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyPreviewRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyPreviewRequest type GetLifecyclePolicyPreviewInput struct { _ struct{} `type:"structure"` @@ -3755,7 +3755,7 @@ func (s *GetLifecyclePolicyPreviewInput) SetRepositoryName(v string) *GetLifecyc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyPreviewResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyPreviewResponse type GetLifecyclePolicyPreviewOutput struct { _ struct{} `type:"structure"` @@ -3836,7 +3836,7 @@ func (s *GetLifecyclePolicyPreviewOutput) SetSummary(v *LifecyclePolicyPreviewSu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicyRequest type GetRepositoryPolicyInput struct { _ struct{} `type:"structure"` @@ -3888,7 +3888,7 @@ func (s *GetRepositoryPolicyInput) SetRepositoryName(v string) *GetRepositoryPol return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicyResponse type GetRepositoryPolicyOutput struct { _ struct{} `type:"structure"` @@ -3931,7 +3931,7 @@ func (s *GetRepositoryPolicyOutput) SetRepositoryName(v string) *GetRepositoryPo } // An object representing an Amazon ECR image. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Image +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Image type Image struct { _ struct{} `type:"structure"` @@ -3983,7 +3983,7 @@ func (s *Image) SetRepositoryName(v string) *Image { } // An object that describes an image returned by a DescribeImages operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageDetail type ImageDetail struct { _ struct{} `type:"structure"` @@ -4059,7 +4059,7 @@ func (s *ImageDetail) SetRepositoryName(v string) *ImageDetail { } // An object representing an Amazon ECR image failure. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageFailure +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageFailure type ImageFailure struct { _ struct{} `type:"structure"` @@ -4102,7 +4102,7 @@ func (s *ImageFailure) SetImageId(v *ImageIdentifier) *ImageFailure { } // An object with identifying information for an Amazon ECR image. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageIdentifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageIdentifier type ImageIdentifier struct { _ struct{} `type:"structure"` @@ -4135,7 +4135,7 @@ func (s *ImageIdentifier) SetImageTag(v string) *ImageIdentifier { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUploadRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUploadRequest type InitiateLayerUploadInput struct { _ struct{} `type:"structure"` @@ -4187,7 +4187,7 @@ func (s *InitiateLayerUploadInput) SetRepositoryName(v string) *InitiateLayerUpl return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUploadResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUploadResponse type InitiateLayerUploadOutput struct { _ struct{} `type:"structure"` @@ -4223,7 +4223,7 @@ func (s *InitiateLayerUploadOutput) SetUploadId(v string) *InitiateLayerUploadOu } // An object representing an Amazon ECR image layer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Layer +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Layer type Layer struct { _ struct{} `type:"structure"` @@ -4276,7 +4276,7 @@ func (s *Layer) SetMediaType(v string) *Layer { } // An object representing an Amazon ECR image layer failure. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LayerFailure +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LayerFailure type LayerFailure struct { _ struct{} `type:"structure"` @@ -4319,7 +4319,7 @@ func (s *LayerFailure) SetLayerDigest(v string) *LayerFailure { } // The filter for the lifecycle policy preview. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewFilter type LifecyclePolicyPreviewFilter struct { _ struct{} `type:"structure"` @@ -4344,7 +4344,7 @@ func (s *LifecyclePolicyPreviewFilter) SetTagStatus(v string) *LifecyclePolicyPr } // The result of the lifecycle policy preview. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewResult type LifecyclePolicyPreviewResult struct { _ struct{} `type:"structure"` @@ -4406,7 +4406,7 @@ func (s *LifecyclePolicyPreviewResult) SetImageTags(v []*string) *LifecyclePolic } // The summary of the lifecycle policy preview request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewSummary type LifecyclePolicyPreviewSummary struct { _ struct{} `type:"structure"` @@ -4431,7 +4431,7 @@ func (s *LifecyclePolicyPreviewSummary) SetExpiringImageTotalCount(v int64) *Lif } // The type of action to be taken. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyRuleAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyRuleAction type LifecyclePolicyRuleAction struct { _ struct{} `type:"structure"` @@ -4456,7 +4456,7 @@ func (s *LifecyclePolicyRuleAction) SetType(v string) *LifecyclePolicyRuleAction } // An object representing a filter on a ListImages operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesFilter type ListImagesFilter struct { _ struct{} `type:"structure"` @@ -4481,7 +4481,7 @@ func (s *ListImagesFilter) SetTagStatus(v string) *ListImagesFilter { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesRequest type ListImagesInput struct { _ struct{} `type:"structure"` @@ -4576,7 +4576,7 @@ func (s *ListImagesInput) SetRepositoryName(v string) *ListImagesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesResponse type ListImagesOutput struct { _ struct{} `type:"structure"` @@ -4612,7 +4612,7 @@ func (s *ListImagesOutput) SetNextToken(v string) *ListImagesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageRequest type PutImageInput struct { _ struct{} `type:"structure"` @@ -4689,7 +4689,7 @@ func (s *PutImageInput) SetRepositoryName(v string) *PutImageInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageResponse type PutImageOutput struct { _ struct{} `type:"structure"` @@ -4713,7 +4713,7 @@ func (s *PutImageOutput) SetImage(v *Image) *PutImageOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicyRequest type PutLifecyclePolicyInput struct { _ struct{} `type:"structure"` @@ -4782,7 +4782,7 @@ func (s *PutLifecyclePolicyInput) SetRepositoryName(v string) *PutLifecyclePolic return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicyResponse type PutLifecyclePolicyOutput struct { _ struct{} `type:"structure"` @@ -4825,7 +4825,7 @@ func (s *PutLifecyclePolicyOutput) SetRepositoryName(v string) *PutLifecyclePoli } // An object representing a repository. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Repository +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Repository type Repository struct { _ struct{} `type:"structure"` @@ -4889,7 +4889,7 @@ func (s *Repository) SetRepositoryUri(v string) *Repository { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicyRequest type SetRepositoryPolicyInput struct { _ struct{} `type:"structure"` @@ -4966,7 +4966,7 @@ func (s *SetRepositoryPolicyInput) SetRepositoryName(v string) *SetRepositoryPol return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicyResponse type SetRepositoryPolicyOutput struct { _ struct{} `type:"structure"` @@ -5008,7 +5008,7 @@ func (s *SetRepositoryPolicyOutput) SetRepositoryName(v string) *SetRepositoryPo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartLifecyclePolicyPreviewRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartLifecyclePolicyPreviewRequest type StartLifecyclePolicyPreviewInput struct { _ struct{} `type:"structure"` @@ -5073,7 +5073,7 @@ func (s *StartLifecyclePolicyPreviewInput) SetRepositoryName(v string) *StartLif return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartLifecyclePolicyPreviewResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartLifecyclePolicyPreviewResponse type StartLifecyclePolicyPreviewOutput struct { _ struct{} `type:"structure"` @@ -5124,7 +5124,7 @@ func (s *StartLifecyclePolicyPreviewOutput) SetStatus(v string) *StartLifecycleP return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPartRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPartRequest type UploadLayerPartInput struct { _ struct{} `type:"structure"` @@ -5235,7 +5235,7 @@ func (s *UploadLayerPartInput) SetUploadId(v string) *UploadLayerPartInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPartResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPartResponse type UploadLayerPartOutput struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/ecs/api.go b/vendor/github.com/aws/aws-sdk-go/service/ecs/api.go index a942bd66664..42ccc0ff69f 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ecs/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ecs/api.go @@ -36,7 +36,7 @@ const opCreateCluster = "CreateCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCluster func (c *ECS) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput) { op := &request.Operation{ Name: opCreateCluster, @@ -59,6 +59,14 @@ func (c *ECS) CreateClusterRequest(input *CreateClusterInput) (req *request.Requ // cluster when you launch your first container instance. However, you can create // your own cluster with a unique name with the CreateCluster action. // +// When you call the CreateCluster API operation, Amazon ECS attempts to create +// the service-linked role for your account so that required resources in other +// AWS services can be managed on your behalf. However, if the IAM user that +// makes the call does not have permissions to create the service-linked role, +// it is not created. For more information, see Using Service-Linked Roles for +// Amazon ECS (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html) +// in the Amazon Elastic Container Service Developer Guide. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -72,14 +80,14 @@ func (c *ECS) CreateClusterRequest(input *CreateClusterInput) (req *request.Requ // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the // API request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCluster func (c *ECS) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error) { req, out := c.CreateClusterRequest(input) return out, req.Send() @@ -126,7 +134,7 @@ const opCreateService = "CreateService" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService func (c *ECS) CreateServiceRequest(input *CreateServiceInput) (req *request.Request, output *CreateServiceOutput) { op := &request.Operation{ Name: opCreateService, @@ -154,13 +162,13 @@ func (c *ECS) CreateServiceRequest(input *CreateServiceInput) (req *request.Requ // can optionally run your service behind a load balancer. The load balancer // distributes traffic across the tasks that are associated with the service. // For more information, see Service Load Balancing (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html) -// in the Amazon EC2 Container Service Developer Guide. +// in the Amazon Elastic Container Service Developer Guide. // // You can optionally specify a deployment configuration for your service. During -// a deployment (which is triggered by changing the task definition or the desired -// count of a service with an UpdateService operation), the service scheduler -// uses the minimumHealthyPercent and maximumPercent parameters to determine -// the deployment strategy. +// a deployment, the service scheduler uses the minimumHealthyPercent and maximumPercent +// parameters to determine the deployment strategy. The deployment is triggered +// by changing the task definition or the desired count of a service with an +// UpdateService operation. // // The minimumHealthyPercent represents a lower limit on the number of your // service's tasks that must remain in the RUNNING state during a deployment, @@ -218,8 +226,8 @@ func (c *ECS) CreateServiceRequest(input *CreateServiceInput) (req *request.Requ // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -229,7 +237,20 @@ func (c *ECS) CreateServiceRequest(input *CreateServiceInput) (req *request.Requ // The specified cluster could not be found. You can view your available clusters // with ListClusters. Amazon ECS clusters are region-specific. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService +// * ErrCodeUnsupportedFeatureException "UnsupportedFeatureException" +// The specified task is not supported in this region. +// +// * ErrCodePlatformUnknownException "PlatformUnknownException" +// The specified platform version does not exist. +// +// * ErrCodePlatformTaskDefinitionIncompatibilityException "PlatformTaskDefinitionIncompatibilityException" +// The specified platform version does not satisfy the task definition’s required +// capabilities. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// You do not have authorization to perform the requested action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService func (c *ECS) CreateService(input *CreateServiceInput) (*CreateServiceOutput, error) { req, out := c.CreateServiceRequest(input) return out, req.Send() @@ -276,7 +297,7 @@ const opDeleteAttributes = "DeleteAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributes func (c *ECS) DeleteAttributesRequest(input *DeleteAttributesInput) (req *request.Request, output *DeleteAttributesOutput) { op := &request.Operation{ Name: opDeleteAttributes, @@ -318,7 +339,7 @@ func (c *ECS) DeleteAttributesRequest(input *DeleteAttributesInput) (req *reques // The specified parameter is invalid. Review the available parameters for the // API request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributes func (c *ECS) DeleteAttributes(input *DeleteAttributesInput) (*DeleteAttributesOutput, error) { req, out := c.DeleteAttributesRequest(input) return out, req.Send() @@ -365,7 +386,7 @@ const opDeleteCluster = "DeleteCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCluster func (c *ECS) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Request, output *DeleteClusterOutput) { op := &request.Operation{ Name: opDeleteCluster, @@ -401,8 +422,8 @@ func (c *ECS) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Requ // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -422,7 +443,10 @@ func (c *ECS) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Requ // the service to reduce its desired task count to 0 and then delete the service. // For more information, see UpdateService and DeleteService. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCluster +// * ErrCodeClusterContainsTasksException "ClusterContainsTasksException" +// You cannot delete a cluster that has active tasks. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCluster func (c *ECS) DeleteCluster(input *DeleteClusterInput) (*DeleteClusterOutput, error) { req, out := c.DeleteClusterRequest(input) return out, req.Send() @@ -469,7 +493,7 @@ const opDeleteService = "DeleteService" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService func (c *ECS) DeleteServiceRequest(input *DeleteServiceInput) (req *request.Request, output *DeleteServiceOutput) { op := &request.Operation{ Name: opDeleteService, @@ -499,9 +523,9 @@ func (c *ECS) DeleteServiceRequest(input *DeleteServiceInput) (req *request.Requ // is no longer visible in the console or in ListServices API operations. After // the tasks have stopped, then the service status moves from DRAINING to INACTIVE. // Services in the DRAINING or INACTIVE status can still be viewed with DescribeServices -// API operations; however, in the future, INACTIVE services may be cleaned +// API operations. However, in the future, INACTIVE services may be cleaned // up and purged from Amazon ECS record keeping, and DescribeServices API operations -// on those services will return a ServiceNotFoundException error. +// on those services return a ServiceNotFoundException error. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -516,8 +540,8 @@ func (c *ECS) DeleteServiceRequest(input *DeleteServiceInput) (req *request.Requ // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -531,7 +555,7 @@ func (c *ECS) DeleteServiceRequest(input *DeleteServiceInput) (req *request.Requ // The specified service could not be found. You can view your available services // with ListServices. Amazon ECS services are cluster-specific and region-specific. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService func (c *ECS) DeleteService(input *DeleteServiceInput) (*DeleteServiceOutput, error) { req, out := c.DeleteServiceRequest(input) return out, req.Send() @@ -578,7 +602,7 @@ const opDeregisterContainerInstance = "DeregisterContainerInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstance func (c *ECS) DeregisterContainerInstanceRequest(input *DeregisterContainerInstanceInput) (req *request.Request, output *DeregisterContainerInstanceOutput) { op := &request.Operation{ Name: opDeregisterContainerInstance, @@ -602,7 +626,7 @@ func (c *ECS) DeregisterContainerInstanceRequest(input *DeregisterContainerInsta // // If you intend to use the container instance for some other purpose after // deregistration, you should stop all of the tasks running on the container -// instance before deregistration to avoid any orphaned tasks from consuming +// instance before deregistration. That prevents any orphaned tasks from consuming // resources. // // Deregistering a container instance removes the instance from a cluster, but @@ -626,8 +650,8 @@ func (c *ECS) DeregisterContainerInstanceRequest(input *DeregisterContainerInsta // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -637,7 +661,7 @@ func (c *ECS) DeregisterContainerInstanceRequest(input *DeregisterContainerInsta // The specified cluster could not be found. You can view your available clusters // with ListClusters. Amazon ECS clusters are region-specific. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstance func (c *ECS) DeregisterContainerInstance(input *DeregisterContainerInstanceInput) (*DeregisterContainerInstanceOutput, error) { req, out := c.DeregisterContainerInstanceRequest(input) return out, req.Send() @@ -684,7 +708,7 @@ const opDeregisterTaskDefinition = "DeregisterTaskDefinition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition func (c *ECS) DeregisterTaskDefinitionRequest(input *DeregisterTaskDefinitionInput) (req *request.Request, output *DeregisterTaskDefinitionOutput) { op := &request.Operation{ Name: opDeregisterTaskDefinition, @@ -711,13 +735,13 @@ func (c *ECS) DeregisterTaskDefinitionRequest(input *DeregisterTaskDefinitionInp // // You cannot use an INACTIVE task definition to run new tasks or create new // services, and you cannot update an existing service to reference an INACTIVE -// task definition (although there may be up to a 10 minute window following +// task definition (although there may be up to a 10-minute window following // deregistration where these restrictions have not yet taken effect). // // At this time, INACTIVE task definitions remain discoverable in your account // indefinitely; however, this behavior is subject to change in the future, // so you should not rely on INACTIVE task definitions persisting beyond the -// life cycle of any associated tasks and services. +// lifecycle of any associated tasks and services. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -732,14 +756,14 @@ func (c *ECS) DeregisterTaskDefinitionRequest(input *DeregisterTaskDefinitionInp // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the // API request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition func (c *ECS) DeregisterTaskDefinition(input *DeregisterTaskDefinitionInput) (*DeregisterTaskDefinitionOutput, error) { req, out := c.DeregisterTaskDefinitionRequest(input) return out, req.Send() @@ -786,7 +810,7 @@ const opDescribeClusters = "DescribeClusters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClusters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClusters func (c *ECS) DescribeClustersRequest(input *DescribeClustersInput) (req *request.Request, output *DescribeClustersOutput) { op := &request.Operation{ Name: opDescribeClusters, @@ -820,14 +844,14 @@ func (c *ECS) DescribeClustersRequest(input *DescribeClustersInput) (req *reques // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the // API request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClusters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClusters func (c *ECS) DescribeClusters(input *DescribeClustersInput) (*DescribeClustersOutput, error) { req, out := c.DescribeClustersRequest(input) return out, req.Send() @@ -874,7 +898,7 @@ const opDescribeContainerInstances = "DescribeContainerInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstances func (c *ECS) DescribeContainerInstancesRequest(input *DescribeContainerInstancesInput) (req *request.Request, output *DescribeContainerInstancesOutput) { op := &request.Operation{ Name: opDescribeContainerInstances, @@ -893,7 +917,7 @@ func (c *ECS) DescribeContainerInstancesRequest(input *DescribeContainerInstance // DescribeContainerInstances API operation for Amazon EC2 Container Service. // -// Describes Amazon EC2 Container Service container instances. Returns metadata +// Describes Amazon Elastic Container Service container instances. Returns metadata // about registered and remaining resources on each container instance requested. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -909,8 +933,8 @@ func (c *ECS) DescribeContainerInstancesRequest(input *DescribeContainerInstance // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -920,7 +944,7 @@ func (c *ECS) DescribeContainerInstancesRequest(input *DescribeContainerInstance // The specified cluster could not be found. You can view your available clusters // with ListClusters. Amazon ECS clusters are region-specific. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstances func (c *ECS) DescribeContainerInstances(input *DescribeContainerInstancesInput) (*DescribeContainerInstancesOutput, error) { req, out := c.DescribeContainerInstancesRequest(input) return out, req.Send() @@ -967,7 +991,7 @@ const opDescribeServices = "DescribeServices" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServices +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServices func (c *ECS) DescribeServicesRequest(input *DescribeServicesInput) (req *request.Request, output *DescribeServicesOutput) { op := &request.Operation{ Name: opDescribeServices, @@ -1001,8 +1025,8 @@ func (c *ECS) DescribeServicesRequest(input *DescribeServicesInput) (req *reques // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -1012,7 +1036,7 @@ func (c *ECS) DescribeServicesRequest(input *DescribeServicesInput) (req *reques // The specified cluster could not be found. You can view your available clusters // with ListClusters. Amazon ECS clusters are region-specific. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServices +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServices func (c *ECS) DescribeServices(input *DescribeServicesInput) (*DescribeServicesOutput, error) { req, out := c.DescribeServicesRequest(input) return out, req.Send() @@ -1059,7 +1083,7 @@ const opDescribeTaskDefinition = "DescribeTaskDefinition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinition func (c *ECS) DescribeTaskDefinitionRequest(input *DescribeTaskDefinitionInput) (req *request.Request, output *DescribeTaskDefinitionOutput) { op := &request.Operation{ Name: opDescribeTaskDefinition, @@ -1098,14 +1122,14 @@ func (c *ECS) DescribeTaskDefinitionRequest(input *DescribeTaskDefinitionInput) // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the // API request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinition func (c *ECS) DescribeTaskDefinition(input *DescribeTaskDefinitionInput) (*DescribeTaskDefinitionOutput, error) { req, out := c.DescribeTaskDefinitionRequest(input) return out, req.Send() @@ -1152,7 +1176,7 @@ const opDescribeTasks = "DescribeTasks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasks func (c *ECS) DescribeTasksRequest(input *DescribeTasksInput) (req *request.Request, output *DescribeTasksOutput) { op := &request.Operation{ Name: opDescribeTasks, @@ -1186,8 +1210,8 @@ func (c *ECS) DescribeTasksRequest(input *DescribeTasksInput) (req *request.Requ // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -1197,7 +1221,7 @@ func (c *ECS) DescribeTasksRequest(input *DescribeTasksInput) (req *request.Requ // The specified cluster could not be found. You can view your available clusters // with ListClusters. Amazon ECS clusters are region-specific. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasks func (c *ECS) DescribeTasks(input *DescribeTasksInput) (*DescribeTasksOutput, error) { req, out := c.DescribeTasksRequest(input) return out, req.Send() @@ -1244,7 +1268,7 @@ const opDiscoverPollEndpoint = "DiscoverPollEndpoint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpoint func (c *ECS) DiscoverPollEndpointRequest(input *DiscoverPollEndpointInput) (req *request.Request, output *DiscoverPollEndpointOutput) { op := &request.Operation{ Name: opDiscoverPollEndpoint, @@ -1263,11 +1287,10 @@ func (c *ECS) DiscoverPollEndpointRequest(input *DiscoverPollEndpointInput) (req // DiscoverPollEndpoint API operation for Amazon EC2 Container Service. // -// This action is only used by the Amazon EC2 Container Service agent, and it -// is not intended for use outside of the agent. +// This action is only used by the Amazon ECS agent, and it is not intended +// for use outside of the agent. // -// Returns an endpoint for the Amazon EC2 Container Service agent to poll for -// updates. +// Returns an endpoint for the Amazon ECS agent to poll for updates. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1282,10 +1305,10 @@ func (c *ECS) DiscoverPollEndpointRequest(input *DiscoverPollEndpointInput) (req // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpoint func (c *ECS) DiscoverPollEndpoint(input *DiscoverPollEndpointInput) (*DiscoverPollEndpointOutput, error) { req, out := c.DiscoverPollEndpointRequest(input) return out, req.Send() @@ -1332,7 +1355,7 @@ const opListAttributes = "ListAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributes func (c *ECS) ListAttributesRequest(input *ListAttributesInput) (req *request.Request, output *ListAttributesOutput) { op := &request.Operation{ Name: opListAttributes, @@ -1375,7 +1398,7 @@ func (c *ECS) ListAttributesRequest(input *ListAttributesInput) (req *request.Re // The specified parameter is invalid. Review the available parameters for the // API request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributes func (c *ECS) ListAttributes(input *ListAttributesInput) (*ListAttributesOutput, error) { req, out := c.ListAttributesRequest(input) return out, req.Send() @@ -1422,7 +1445,7 @@ const opListClusters = "ListClusters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClusters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClusters func (c *ECS) ListClustersRequest(input *ListClustersInput) (req *request.Request, output *ListClustersOutput) { op := &request.Operation{ Name: opListClusters, @@ -1462,14 +1485,14 @@ func (c *ECS) ListClustersRequest(input *ListClustersInput) (req *request.Reques // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the // API request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClusters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClusters func (c *ECS) ListClusters(input *ListClustersInput) (*ListClustersOutput, error) { req, out := c.ListClustersRequest(input) return out, req.Send() @@ -1566,7 +1589,7 @@ const opListContainerInstances = "ListContainerInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstances func (c *ECS) ListContainerInstancesRequest(input *ListContainerInstancesInput) (req *request.Request, output *ListContainerInstancesOutput) { op := &request.Operation{ Name: opListContainerInstances, @@ -1595,7 +1618,7 @@ func (c *ECS) ListContainerInstancesRequest(input *ListContainerInstancesInput) // the results of a ListContainerInstances operation with cluster query language // statements inside the filter parameter. For more information, see Cluster // Query Language (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) -// in the Amazon EC2 Container Service Developer Guide. +// in the Amazon Elastic Container Service Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1610,8 +1633,8 @@ func (c *ECS) ListContainerInstancesRequest(input *ListContainerInstancesInput) // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -1621,7 +1644,7 @@ func (c *ECS) ListContainerInstancesRequest(input *ListContainerInstancesInput) // The specified cluster could not be found. You can view your available clusters // with ListClusters. Amazon ECS clusters are region-specific. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstances func (c *ECS) ListContainerInstances(input *ListContainerInstancesInput) (*ListContainerInstancesOutput, error) { req, out := c.ListContainerInstancesRequest(input) return out, req.Send() @@ -1718,7 +1741,7 @@ const opListServices = "ListServices" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServices +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServices func (c *ECS) ListServicesRequest(input *ListServicesInput) (req *request.Request, output *ListServicesOutput) { op := &request.Operation{ Name: opListServices, @@ -1758,8 +1781,8 @@ func (c *ECS) ListServicesRequest(input *ListServicesInput) (req *request.Reques // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -1769,7 +1792,7 @@ func (c *ECS) ListServicesRequest(input *ListServicesInput) (req *request.Reques // The specified cluster could not be found. You can view your available clusters // with ListClusters. Amazon ECS clusters are region-specific. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServices +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServices func (c *ECS) ListServices(input *ListServicesInput) (*ListServicesOutput, error) { req, out := c.ListServicesRequest(input) return out, req.Send() @@ -1866,7 +1889,7 @@ const opListTaskDefinitionFamilies = "ListTaskDefinitionFamilies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamilies +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamilies func (c *ECS) ListTaskDefinitionFamiliesRequest(input *ListTaskDefinitionFamiliesInput) (req *request.Request, output *ListTaskDefinitionFamiliesOutput) { op := &request.Operation{ Name: opListTaskDefinitionFamilies, @@ -1912,14 +1935,14 @@ func (c *ECS) ListTaskDefinitionFamiliesRequest(input *ListTaskDefinitionFamilie // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the // API request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamilies +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamilies func (c *ECS) ListTaskDefinitionFamilies(input *ListTaskDefinitionFamiliesInput) (*ListTaskDefinitionFamiliesOutput, error) { req, out := c.ListTaskDefinitionFamiliesRequest(input) return out, req.Send() @@ -2016,7 +2039,7 @@ const opListTaskDefinitions = "ListTaskDefinitions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitions func (c *ECS) ListTaskDefinitionsRequest(input *ListTaskDefinitionsInput) (req *request.Request, output *ListTaskDefinitionsOutput) { op := &request.Operation{ Name: opListTaskDefinitions, @@ -2058,14 +2081,14 @@ func (c *ECS) ListTaskDefinitionsRequest(input *ListTaskDefinitionsInput) (req * // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the // API request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitions func (c *ECS) ListTaskDefinitions(input *ListTaskDefinitionsInput) (*ListTaskDefinitionsOutput, error) { req, out := c.ListTaskDefinitionsRequest(input) return out, req.Send() @@ -2162,7 +2185,7 @@ const opListTasks = "ListTasks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasks func (c *ECS) ListTasksRequest(input *ListTasksInput) (req *request.Request, output *ListTasksOutput) { op := &request.Operation{ Name: opListTasks, @@ -2191,7 +2214,7 @@ func (c *ECS) ListTasksRequest(input *ListTasksInput) (req *request.Request, out // by family name, by a particular container instance, or by the desired status // of the task with the family, containerInstance, and desiredStatus parameters. // -// Recently-stopped tasks might appear in the returned results. Currently, stopped +// Recently stopped tasks might appear in the returned results. Currently, stopped // tasks appear in the returned results for at least one hour. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -2207,8 +2230,8 @@ func (c *ECS) ListTasksRequest(input *ListTasksInput) (req *request.Request, out // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -2222,7 +2245,7 @@ func (c *ECS) ListTasksRequest(input *ListTasksInput) (req *request.Request, out // The specified service could not be found. You can view your available services // with ListServices. Amazon ECS services are cluster-specific and region-specific. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasks func (c *ECS) ListTasks(input *ListTasksInput) (*ListTasksOutput, error) { req, out := c.ListTasksRequest(input) return out, req.Send() @@ -2319,7 +2342,7 @@ const opPutAttributes = "PutAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributes func (c *ECS) PutAttributesRequest(input *PutAttributesInput) (req *request.Request, output *PutAttributesOutput) { op := &request.Operation{ Name: opPutAttributes, @@ -2342,7 +2365,7 @@ func (c *ECS) PutAttributesRequest(input *PutAttributesInput) (req *request.Requ // does not exist, it is created. If the attribute exists, its value is replaced // with the specified value. To delete an attribute, use DeleteAttributes. For // more information, see Attributes (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes) -// in the Amazon EC2 Container Service Developer Guide. +// in the Amazon Elastic Container Service Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2370,7 +2393,7 @@ func (c *ECS) PutAttributesRequest(input *PutAttributesInput) (req *request.Requ // The specified parameter is invalid. Review the available parameters for the // API request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributes func (c *ECS) PutAttributes(input *PutAttributesInput) (*PutAttributesOutput, error) { req, out := c.PutAttributesRequest(input) return out, req.Send() @@ -2417,7 +2440,7 @@ const opRegisterContainerInstance = "RegisterContainerInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstance func (c *ECS) RegisterContainerInstanceRequest(input *RegisterContainerInstanceInput) (req *request.Request, output *RegisterContainerInstanceOutput) { op := &request.Operation{ Name: opRegisterContainerInstance, @@ -2436,8 +2459,8 @@ func (c *ECS) RegisterContainerInstanceRequest(input *RegisterContainerInstanceI // RegisterContainerInstance API operation for Amazon EC2 Container Service. // -// This action is only used by the Amazon EC2 Container Service agent, and it -// is not intended for use outside of the agent. +// This action is only used by the Amazon ECS agent, and it is not intended +// for use outside of the agent. // // Registers an EC2 instance into the specified cluster. This instance becomes // available to place containers on. @@ -2455,10 +2478,14 @@ func (c *ECS) RegisterContainerInstanceRequest(input *RegisterContainerInstanceI // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. +// +// * ErrCodeInvalidParameterException "InvalidParameterException" +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstance func (c *ECS) RegisterContainerInstance(input *RegisterContainerInstanceInput) (*RegisterContainerInstanceOutput, error) { req, out := c.RegisterContainerInstanceRequest(input) return out, req.Send() @@ -2505,7 +2532,7 @@ const opRegisterTaskDefinition = "RegisterTaskDefinition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinition func (c *ECS) RegisterTaskDefinitionRequest(input *RegisterTaskDefinitionInput) (req *request.Request, output *RegisterTaskDefinitionOutput) { op := &request.Operation{ Name: opRegisterTaskDefinition, @@ -2528,19 +2555,23 @@ func (c *ECS) RegisterTaskDefinitionRequest(input *RegisterTaskDefinitionInput) // Optionally, you can add data volumes to your containers with the volumes // parameter. For more information about task definition parameters and defaults, // see Amazon ECS Task Definitions (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html) -// in the Amazon EC2 Container Service Developer Guide. +// in the Amazon Elastic Container Service Developer Guide. // // You can specify an IAM role for your task with the taskRoleArn parameter. // When you specify an IAM role for a task, its containers can then use the // latest versions of the AWS CLI or SDKs to make API requests to the AWS services // that are specified in the IAM policy associated with the role. For more information, // see IAM Roles for Tasks (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) -// in the Amazon EC2 Container Service Developer Guide. +// in the Amazon Elastic Container Service Developer Guide. // // You can specify a Docker networking mode for the containers in your task // definition with the networkMode parameter. The available network modes correspond // to those described in Network settings (https://docs.docker.com/engine/reference/run/#/network-settings) -// in the Docker run reference. +// in the Docker run reference. If you specify the awsvpc network mode, the +// task is allocated an Elastic Network Interface, and you must specify a NetworkConfiguration +// when you create a service or run a task with the task definition. For more +// information, see Task Networking (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) +// in the Amazon Elastic Container Service Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2555,14 +2586,14 @@ func (c *ECS) RegisterTaskDefinitionRequest(input *RegisterTaskDefinitionInput) // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the // API request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinition func (c *ECS) RegisterTaskDefinition(input *RegisterTaskDefinitionInput) (*RegisterTaskDefinitionOutput, error) { req, out := c.RegisterTaskDefinitionRequest(input) return out, req.Send() @@ -2609,7 +2640,7 @@ const opRunTask = "RunTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTask func (c *ECS) RunTaskRequest(input *RunTaskInput) (req *request.Request, output *RunTaskOutput) { op := &request.Operation{ Name: opRunTask, @@ -2633,7 +2664,7 @@ func (c *ECS) RunTaskRequest(input *RunTaskInput) (req *request.Request, output // You can allow Amazon ECS to place tasks for you, or you can customize how // Amazon ECS places tasks using placement constraints and placement strategies. // For more information, see Scheduling Tasks (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html) -// in the Amazon EC2 Container Service Developer Guide. +// in the Amazon Elastic Container Service Developer Guide. // // Alternatively, you can use StartTask to use your own scheduler or place tasks // manually on specific container instances. @@ -2651,8 +2682,8 @@ func (c *ECS) RunTaskRequest(input *RunTaskInput) (req *request.Request, output // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -2662,7 +2693,24 @@ func (c *ECS) RunTaskRequest(input *RunTaskInput) (req *request.Request, output // The specified cluster could not be found. You can view your available clusters // with ListClusters. Amazon ECS clusters are region-specific. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTask +// * ErrCodeUnsupportedFeatureException "UnsupportedFeatureException" +// The specified task is not supported in this region. +// +// * ErrCodePlatformUnknownException "PlatformUnknownException" +// The specified platform version does not exist. +// +// * ErrCodePlatformTaskDefinitionIncompatibilityException "PlatformTaskDefinitionIncompatibilityException" +// The specified platform version does not satisfy the task definition’s required +// capabilities. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// You do not have authorization to perform the requested action. +// +// * ErrCodeBlockedException "BlockedException" +// Your AWS account has been blocked. Contact AWS Customer Support (http://aws.amazon.com/contact-us/) +// for more information. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTask func (c *ECS) RunTask(input *RunTaskInput) (*RunTaskOutput, error) { req, out := c.RunTaskRequest(input) return out, req.Send() @@ -2709,7 +2757,7 @@ const opStartTask = "StartTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTask func (c *ECS) StartTaskRequest(input *StartTaskInput) (req *request.Request, output *StartTaskOutput) { op := &request.Operation{ Name: opStartTask, @@ -2733,7 +2781,7 @@ func (c *ECS) StartTaskRequest(input *StartTaskInput) (req *request.Request, out // // Alternatively, you can use RunTask to place tasks for you. For more information, // see Scheduling Tasks (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html) -// in the Amazon EC2 Container Service Developer Guide. +// in the Amazon Elastic Container Service Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2748,8 +2796,8 @@ func (c *ECS) StartTaskRequest(input *StartTaskInput) (req *request.Request, out // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -2759,7 +2807,7 @@ func (c *ECS) StartTaskRequest(input *StartTaskInput) (req *request.Request, out // The specified cluster could not be found. You can view your available clusters // with ListClusters. Amazon ECS clusters are region-specific. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTask func (c *ECS) StartTask(input *StartTaskInput) (*StartTaskOutput, error) { req, out := c.StartTaskRequest(input) return out, req.Send() @@ -2806,7 +2854,7 @@ const opStopTask = "StopTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTask func (c *ECS) StopTaskRequest(input *StopTaskInput) (req *request.Request, output *StopTaskOutput) { op := &request.Operation{ Name: opStopTask, @@ -2836,7 +2884,7 @@ func (c *ECS) StopTaskRequest(input *StopTaskInput) (req *request.Request, outpu // The default 30-second timeout can be configured on the Amazon ECS container // agent with the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, // see Amazon ECS Container Agent Configuration (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) -// in the Amazon EC2 Container Service Developer Guide. +// in the Amazon Elastic Container Service Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2851,8 +2899,8 @@ func (c *ECS) StopTaskRequest(input *StopTaskInput) (req *request.Request, outpu // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -2862,7 +2910,7 @@ func (c *ECS) StopTaskRequest(input *StopTaskInput) (req *request.Request, outpu // The specified cluster could not be found. You can view your available clusters // with ListClusters. Amazon ECS clusters are region-specific. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTask func (c *ECS) StopTask(input *StopTaskInput) (*StopTaskOutput, error) { req, out := c.StopTaskRequest(input) return out, req.Send() @@ -2909,7 +2957,7 @@ const opSubmitContainerStateChange = "SubmitContainerStateChange" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChange +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChange func (c *ECS) SubmitContainerStateChangeRequest(input *SubmitContainerStateChangeInput) (req *request.Request, output *SubmitContainerStateChangeOutput) { op := &request.Operation{ Name: opSubmitContainerStateChange, @@ -2928,8 +2976,8 @@ func (c *ECS) SubmitContainerStateChangeRequest(input *SubmitContainerStateChang // SubmitContainerStateChange API operation for Amazon EC2 Container Service. // -// This action is only used by the Amazon EC2 Container Service agent, and it -// is not intended for use outside of the agent. +// This action is only used by the Amazon ECS agent, and it is not intended +// for use outside of the agent. // // Sent to acknowledge that a container changed states. // @@ -2946,10 +2994,13 @@ func (c *ECS) SubmitContainerStateChangeRequest(input *SubmitContainerStateChang // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// You do not have authorization to perform the requested action. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChange +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChange func (c *ECS) SubmitContainerStateChange(input *SubmitContainerStateChangeInput) (*SubmitContainerStateChangeOutput, error) { req, out := c.SubmitContainerStateChangeRequest(input) return out, req.Send() @@ -2996,7 +3047,7 @@ const opSubmitTaskStateChange = "SubmitTaskStateChange" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChange +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChange func (c *ECS) SubmitTaskStateChangeRequest(input *SubmitTaskStateChangeInput) (req *request.Request, output *SubmitTaskStateChangeOutput) { op := &request.Operation{ Name: opSubmitTaskStateChange, @@ -3015,8 +3066,8 @@ func (c *ECS) SubmitTaskStateChangeRequest(input *SubmitTaskStateChangeInput) (r // SubmitTaskStateChange API operation for Amazon EC2 Container Service. // -// This action is only used by the Amazon EC2 Container Service agent, and it -// is not intended for use outside of the agent. +// This action is only used by the Amazon ECS agent, and it is not intended +// for use outside of the agent. // // Sent to acknowledge that a task changed states. // @@ -3033,10 +3084,13 @@ func (c *ECS) SubmitTaskStateChangeRequest(input *SubmitTaskStateChangeInput) (r // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChange +// * ErrCodeAccessDeniedException "AccessDeniedException" +// You do not have authorization to perform the requested action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChange func (c *ECS) SubmitTaskStateChange(input *SubmitTaskStateChangeInput) (*SubmitTaskStateChangeOutput, error) { req, out := c.SubmitTaskStateChangeRequest(input) return out, req.Send() @@ -3083,7 +3137,7 @@ const opUpdateContainerAgent = "UpdateContainerAgent" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgent +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgent func (c *ECS) UpdateContainerAgentRequest(input *UpdateContainerAgentInput) (req *request.Request, output *UpdateContainerAgentOutput) { op := &request.Operation{ Name: opUpdateContainerAgent, @@ -3112,7 +3166,7 @@ func (c *ECS) UpdateContainerAgentRequest(input *UpdateContainerAgentInput) (req // with the ecs-init service installed and running. For help updating the Amazon // ECS container agent on other operating systems, see Manually Updating the // Amazon ECS Container Agent (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html#manually_update_agent) -// in the Amazon EC2 Container Service Developer Guide. +// in the Amazon Elastic Container Service Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3127,8 +3181,8 @@ func (c *ECS) UpdateContainerAgentRequest(input *UpdateContainerAgentInput) (req // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -3156,7 +3210,7 @@ func (c *ECS) UpdateContainerAgentRequest(input *UpdateContainerAgentInput) (req // with an update. This could be because the agent running on the container // instance is an older or custom version that does not use our version information. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgent +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgent func (c *ECS) UpdateContainerAgent(input *UpdateContainerAgentInput) (*UpdateContainerAgentOutput, error) { req, out := c.UpdateContainerAgentRequest(input) return out, req.Send() @@ -3203,7 +3257,7 @@ const opUpdateContainerInstancesState = "UpdateContainerInstancesState" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesState +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesState func (c *ECS) UpdateContainerInstancesStateRequest(input *UpdateContainerInstancesStateInput) (req *request.Request, output *UpdateContainerInstancesStateOutput) { op := &request.Operation{ Name: opUpdateContainerInstancesState, @@ -3235,9 +3289,9 @@ func (c *ECS) UpdateContainerInstancesStateRequest(input *UpdateContainerInstanc // are in the PENDING state are stopped immediately. // // Service tasks on the container instance that are in the RUNNING state are -// stopped and replaced according the service's deployment configuration parameters, -// minimumHealthyPercent and maximumPercent. Note that you can change the deployment -// configuration of your service using UpdateService. +// stopped and replaced according to the service's deployment configuration +// parameters, minimumHealthyPercent and maximumPercent. You can change the +// deployment configuration of your service using UpdateService. // // * If minimumHealthyPercent is below 100%, the scheduler can ignore desiredCount // temporarily during task replacement. For example, desiredCount is four @@ -3280,8 +3334,8 @@ func (c *ECS) UpdateContainerInstancesStateRequest(input *UpdateContainerInstanc // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -3291,7 +3345,7 @@ func (c *ECS) UpdateContainerInstancesStateRequest(input *UpdateContainerInstanc // The specified cluster could not be found. You can view your available clusters // with ListClusters. Amazon ECS clusters are region-specific. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesState +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesState func (c *ECS) UpdateContainerInstancesState(input *UpdateContainerInstancesStateInput) (*UpdateContainerInstancesStateOutput, error) { req, out := c.UpdateContainerInstancesStateRequest(input) return out, req.Send() @@ -3338,7 +3392,7 @@ const opUpdateService = "UpdateService" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService func (c *ECS) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Request, output *UpdateServiceOutput) { op := &request.Operation{ Name: opUpdateService, @@ -3357,8 +3411,8 @@ func (c *ECS) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Requ // UpdateService API operation for Amazon EC2 Container Service. // -// Modifies the desired count, deployment configuration, or task definition -// used in a service. +// Modifies the desired count, deployment configuration, network configuration, +// or task definition used in a service. // // You can add to or subtract from the number of instantiations of a task definition // in a service by specifying the cluster that the service is running in and @@ -3438,8 +3492,8 @@ func (c *ECS) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Requ // // * ErrCodeClientException "ClientException" // These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permission to use the action -// or resource, or specifying an identifier that is not valid. +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that is not valid. // // * ErrCodeInvalidParameterException "InvalidParameterException" // The specified parameter is invalid. Review the available parameters for the @@ -3454,11 +3508,20 @@ func (c *ECS) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Requ // with ListServices. Amazon ECS services are cluster-specific and region-specific. // // * ErrCodeServiceNotActiveException "ServiceNotActiveException" -// The specified service is not active. You cannot update a service that is -// not active. If you have previously deleted a service, you can re-create it -// with CreateService. +// The specified service is not active. You can't update a service that is inactive. +// If you have previously deleted a service, you can re-create it with CreateService. +// +// * ErrCodePlatformUnknownException "PlatformUnknownException" +// The specified platform version does not exist. +// +// * ErrCodePlatformTaskDefinitionIncompatibilityException "PlatformTaskDefinitionIncompatibilityException" +// The specified platform version does not satisfy the task definition’s required +// capabilities. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// You do not have authorization to perform the requested action. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService func (c *ECS) UpdateService(input *UpdateServiceInput) (*UpdateServiceOutput, error) { req, out := c.UpdateServiceRequest(input) return out, req.Send() @@ -3480,11 +3543,120 @@ func (c *ECS) UpdateServiceWithContext(ctx aws.Context, input *UpdateServiceInpu return out, req.Send() } +// An object representing a container instance or task attachment. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Attachment +type Attachment struct { + _ struct{} `type:"structure"` + + // Details of the attachment. For Elastic Network Interfaces, this includes + // the network interface ID, the MAC address, the subnet ID, and the private + // IPv4 address. + Details []*KeyValuePair `locationName:"details" type:"list"` + + // The unique identifier for the attachment. + Id *string `locationName:"id" type:"string"` + + // The status of the attachment. Valid values are PRECREATED, CREATED, ATTACHING, + // ATTACHED, DETACHING, DETACHED, and DELETED. + Status *string `locationName:"status" type:"string"` + + // The type of the attachment, such as an ElasticNetworkInterface. + Type *string `locationName:"type" type:"string"` +} + +// String returns the string representation +func (s Attachment) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Attachment) GoString() string { + return s.String() +} + +// SetDetails sets the Details field's value. +func (s *Attachment) SetDetails(v []*KeyValuePair) *Attachment { + s.Details = v + return s +} + +// SetId sets the Id field's value. +func (s *Attachment) SetId(v string) *Attachment { + s.Id = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *Attachment) SetStatus(v string) *Attachment { + s.Status = &v + return s +} + +// SetType sets the Type field's value. +func (s *Attachment) SetType(v string) *Attachment { + s.Type = &v + return s +} + +// An object representing a change in state for a task attachment. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AttachmentStateChange +type AttachmentStateChange struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the attachment. + // + // AttachmentArn is a required field + AttachmentArn *string `locationName:"attachmentArn" type:"string" required:"true"` + + // The status of the attachment. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true"` +} + +// String returns the string representation +func (s AttachmentStateChange) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachmentStateChange) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AttachmentStateChange) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AttachmentStateChange"} + if s.AttachmentArn == nil { + invalidParams.Add(request.NewErrParamRequired("AttachmentArn")) + } + if s.Status == nil { + invalidParams.Add(request.NewErrParamRequired("Status")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttachmentArn sets the AttachmentArn field's value. +func (s *AttachmentStateChange) SetAttachmentArn(v string) *AttachmentStateChange { + s.AttachmentArn = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *AttachmentStateChange) SetStatus(v string) *AttachmentStateChange { + s.Status = &v + return s +} + // An attribute is a name-value pair associated with an Amazon ECS object. Attributes // enable you to extend the Amazon ECS data model by adding custom metadata // to your resources. For more information, see Attributes (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes) -// in the Amazon EC2 Container Service Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Attribute +// in the Amazon Elastic Container Service Developer Guide. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Attribute type Attribute struct { _ struct{} `type:"structure"` @@ -3500,7 +3672,7 @@ type Attribute struct { // The type of the target with which to attach the attribute. This parameter // is required if you use the short form ID for a resource instead of the full - // Amazon Resource Name (ARN). + // ARN. TargetType *string `locationName:"targetType" type:"string" enum:"TargetType"` // The value of the attribute. Up to 128 letters (uppercase and lowercase), @@ -3556,11 +3728,71 @@ func (s *Attribute) SetValue(v string) *Attribute { return s } +// An object representing the networking details for a task or service. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AwsVpcConfiguration +type AwsVpcConfiguration struct { + _ struct{} `type:"structure"` + + // Specifies whether or not the task's elastic network interface receives a + // public IP address. + AssignPublicIp *string `locationName:"assignPublicIp" type:"string" enum:"AssignPublicIp"` + + // The security groups associated with the task or service. If you do not specify + // a security group, the default security group for the VPC is used. + SecurityGroups []*string `locationName:"securityGroups" type:"list"` + + // The subnets associated with the task or service. + // + // Subnets is a required field + Subnets []*string `locationName:"subnets" type:"list" required:"true"` +} + +// String returns the string representation +func (s AwsVpcConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AwsVpcConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AwsVpcConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AwsVpcConfiguration"} + if s.Subnets == nil { + invalidParams.Add(request.NewErrParamRequired("Subnets")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAssignPublicIp sets the AssignPublicIp field's value. +func (s *AwsVpcConfiguration) SetAssignPublicIp(v string) *AwsVpcConfiguration { + s.AssignPublicIp = &v + return s +} + +// SetSecurityGroups sets the SecurityGroups field's value. +func (s *AwsVpcConfiguration) SetSecurityGroups(v []*string) *AwsVpcConfiguration { + s.SecurityGroups = v + return s +} + +// SetSubnets sets the Subnets field's value. +func (s *AwsVpcConfiguration) SetSubnets(v []*string) *AwsVpcConfiguration { + s.Subnets = v + return s +} + // A regional grouping of one or more container instances on which you can run // task requests. Each account receives a default cluster the first time you // use the Amazon ECS service, but you may also create other clusters. Clusters // may contain more than one instance type simultaneously. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Cluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Cluster type Cluster struct { _ struct{} `type:"structure"` @@ -3586,6 +3818,26 @@ type Cluster struct { // The number of tasks in the cluster that are in the RUNNING state. RunningTasksCount *int64 `locationName:"runningTasksCount" type:"integer"` + // Additional information about your clusters that are separated by launch type, + // including: + // + // * runningEC2TasksCount + // + // * RunningFargateTasksCount + // + // * pendingEC2TasksCount + // + // * pendingFargateTasksCount + // + // * activeEC2ServiceCount + // + // * activeFargateServiceCount + // + // * drainingEC2ServiceCount + // + // * drainingFargateServiceCount + Statistics []*KeyValuePair `locationName:"statistics" type:"list"` + // The status of the cluster. The valid values are ACTIVE or INACTIVE. ACTIVE // indicates that you can register container instances with the cluster and // the associated instances can accept tasks. @@ -3638,6 +3890,12 @@ func (s *Cluster) SetRunningTasksCount(v int64) *Cluster { return s } +// SetStatistics sets the Statistics field's value. +func (s *Cluster) SetStatistics(v []*KeyValuePair) *Cluster { + s.Statistics = v + return s +} + // SetStatus sets the Status field's value. func (s *Cluster) SetStatus(v string) *Cluster { s.Status = &v @@ -3645,7 +3903,7 @@ func (s *Cluster) SetStatus(v string) *Cluster { } // A Docker container that is part of a task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Container +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Container type Container struct { _ struct{} `type:"structure"` @@ -3664,11 +3922,14 @@ type Container struct { // The network bindings associated with the container. NetworkBindings []*NetworkBinding `locationName:"networkBindings" type:"list"` + // The network interfaces associated with the container. + NetworkInterfaces []*NetworkInterface `locationName:"networkInterfaces" type:"list"` + // A short (255 max characters) human-readable string to provide additional // details about a running or stopped container. Reason *string `locationName:"reason" type:"string"` - // The Amazon Resource Name (ARN) of the task. + // The ARN of the task. TaskArn *string `locationName:"taskArn" type:"string"` } @@ -3712,6 +3973,12 @@ func (s *Container) SetNetworkBindings(v []*NetworkBinding) *Container { return s } +// SetNetworkInterfaces sets the NetworkInterfaces field's value. +func (s *Container) SetNetworkInterfaces(v []*NetworkInterface) *Container { + s.NetworkInterfaces = v + return s +} + // SetReason sets the Reason field's value. func (s *Container) SetReason(v string) *Container { s.Reason = &v @@ -3726,7 +3993,7 @@ func (s *Container) SetTaskArn(v string) *Container { // Container definitions are used in task definitions to describe the different // containers that are launched as part of a task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerDefinition type ContainerDefinition struct { _ struct{} `type:"structure"` @@ -3738,15 +4005,15 @@ type ContainerDefinition struct { // (https://docs.docker.com/engine/reference/builder/#cmd). Command []*string `locationName:"command" type:"list"` - // The number of cpu units reserved for the container. A container instance - // has 1,024 cpu units for every CPU core. This parameter specifies the minimum - // amount of CPU to reserve for a container, and containers share unallocated - // CPU units with other containers on the instance with the same ratio as their - // allocated amount. This parameter maps to CpuShares in the Create a container - // (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) + // The number of cpu units reserved for the container. This parameter maps to + // CpuShares in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/) // and the --cpu-shares option to docker run (https://docs.docker.com/engine/reference/run/). // + // This field is optional for tasks using the Fargate launch type, and the only + // requirement is that the total amount of CPU reserved for all containers within + // a task be lower than the task-level cpu value. + // // You can determine the number of CPU units that are available per EC2 instance // type by multiplying the vCPUs listed for that instance type on the Amazon // EC2 Instances (http://aws.amazon.com/ec2/instance-types/) detail page by @@ -3761,13 +4028,24 @@ type ContainerDefinition struct { // higher CPU usage if the other container was not using it, but if both tasks // were 100% active all of the time, they would be limited to 512 CPU units. // - // The Docker daemon on the container instance uses the CPU value to calculate - // the relative CPU share ratios for running containers. For more information, - // see CPU share constraint (https://docs.docker.com/engine/reference/run/#cpu-share-constraint) + // Linux containers share unallocated CPU units with other containers on the + // container instance with the same ratio as their allocated amount. For example, + // if you run a single-container task on a single-core instance type with 512 + // CPU units specified for that container, and that is the only task running + // on the container instance, that container could use the full 1,024 CPU unit + // share at any given time. However, if you launched another copy of the same + // task on that container instance, each task would be guaranteed a minimum + // of 512 CPU units when needed, and each container could float to higher CPU + // usage if the other container was not using it, but if both tasks were 100% + // active all of the time, they would be limited to 512 CPU units. + // + // On Linux container instances, the Docker daemon on the container instance + // uses the CPU value to calculate the relative CPU share ratios for running + // containers. For more information, see CPU share constraint (https://docs.docker.com/engine/reference/run/#cpu-share-constraint) // in the Docker documentation. The minimum valid CPU share value that the Linux - // kernel allows is 2; however, the CPU parameter is not required, and you can - // use CPU values below 2 in your container definitions. For CPU values below - // 2 (including null), the behavior varies based on your Amazon ECS container + // kernel will allow is 2; however, the CPU parameter is not required, and you + // can use CPU values below 2 in your container definitions. For CPU values + // below 2 (including null), the behavior varies based on your Amazon ECS container // agent version: // // * Agent versions less than or equal to 1.1.0: Null and zero CPU values @@ -3777,23 +4055,33 @@ type ContainerDefinition struct { // // * Agent versions greater than or equal to 1.2.0: Null, zero, and CPU values // of 1 are passed to Docker as 2. + // + // On Windows container instances, the CPU limit is enforced as an absolute + // limit, or a quota. Windows containers only have access to the specified amount + // of CPU that is described in the task definition. Cpu *int64 `locationName:"cpu" type:"integer"` // When this parameter is true, networking is disabled within the container. // This parameter maps to NetworkDisabled in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/). + // + // This parameter is not supported for Windows containers. DisableNetworking *bool `locationName:"disableNetworking" type:"boolean"` // A list of DNS search domains that are presented to the container. This parameter // maps to DnsSearch in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/) // and the --dns-search option to docker run (https://docs.docker.com/engine/reference/run/). + // + // This parameter is not supported for Windows containers. DnsSearchDomains []*string `locationName:"dnsSearchDomains" type:"list"` // A list of DNS servers that are presented to the container. This parameter // maps to Dns in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/) // and the --dns option to docker run (https://docs.docker.com/engine/reference/run/). + // + // This parameter is not supported for Windows containers. DnsServers []*string `locationName:"dnsServers" type:"list"` // A key/value map of labels to add to the container. This parameter maps to @@ -3802,13 +4090,15 @@ type ContainerDefinition struct { // and the --label option to docker run (https://docs.docker.com/engine/reference/run/). // This parameter requires version 1.18 of the Docker Remote API or greater // on your container instance. To check the Docker Remote API version on your - // container instance, log into your container instance and run the following + // container instance, log in to your container instance and run the following // command: sudo docker version | grep "Server API version" DockerLabels map[string]*string `locationName:"dockerLabels" type:"map"` // A list of strings to provide custom labels for SELinux and AppArmor multi-level - // security systems. This parameter maps to SecurityOpt in the Create a container - // (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) + // security systems. This field is not valid for containers in tasks using the + // Fargate launch type. + // + // This parameter maps to SecurityOpt in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/) // and the --security-opt option to docker run (https://docs.docker.com/engine/reference/run/). // @@ -3817,7 +4107,9 @@ type ContainerDefinition struct { // variables before containers placed on that instance can use these security // options. For more information, see Amazon ECS Container Agent Configuration // (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) - // in the Amazon EC2 Container Service Developer Guide. + // in the Amazon Elastic Container Service Developer Guide. + // + // This parameter is not supported for Windows containers. DockerSecurityOptions []*string `locationName:"dockerSecurityOptions" type:"list"` // Early versions of the Amazon ECS container agent do not properly handle entryPoint @@ -3837,8 +4129,8 @@ type ContainerDefinition struct { // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/) // and the --env option to docker run (https://docs.docker.com/engine/reference/run/). // - // We do not recommend using plain text environment variables for sensitive - // information, such as credential data. + // We do not recommend using plaintext environment variables for sensitive information, + // such as credential data. Environment []*KeyValuePair `locationName:"environment" type:"list"` // If the essential parameter of a container is marked as true, and that container @@ -3852,14 +4144,17 @@ type ContainerDefinition struct { // are used for a common purpose into components, and separate the different // components into multiple task definitions. For more information, see Application // Architecture (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html) - // in the Amazon EC2 Container Service Developer Guide. + // in the Amazon Elastic Container Service Developer Guide. Essential *bool `locationName:"essential" type:"boolean"` // A list of hostnames and IP address mappings to append to the /etc/hosts file - // on the container. This parameter maps to ExtraHosts in the Create a container - // (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) + // on the container. If using the Fargate launch type, this may be used to list + // non-Fargate hosts you want the container to talk to. This parameter maps + // to ExtraHosts in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/) // and the --add-host option to docker run (https://docs.docker.com/engine/reference/run/). + // + // This parameter is not supported for Windows containers. ExtraHosts []*HostEntry `locationName:"extraHosts" type:"list"` // The hostname to use for your container. This parameter maps to Hostname in @@ -3895,15 +4190,17 @@ type ContainerDefinition struct { Image *string `locationName:"image" type:"string"` // The link parameter allows containers to communicate with each other without - // the need for port mappings, using the name parameter and optionally, an alias - // for the link. This construct is analogous to name:alias in Docker links. - // Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores - // are allowed for each name and alias. For more information on linking Docker - // containers, see https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/ + // the need for port mappings. Only supported if the network mode of a task + // definition is set to bridge. The name:internalName construct is analogous + // to name:alias in Docker links. Up to 255 letters (uppercase and lowercase), + // numbers, hyphens, and underscores are allowed. For more information about + // linking Docker containers, go to https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/ // (https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/). // This parameter maps to Links in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/) - // and the --link option to docker run (https://docs.docker.com/engine/reference/run/). + // and the --link option to docker run (https://docs.docker.com/engine/reference/commandline/run/). + // + // This parameter is not supported for Windows containers. // // Containers that are collocated on a single container instance may be able // to communicate with each other without requiring links or host port mappings. @@ -3913,10 +4210,16 @@ type ContainerDefinition struct { // Linux-specific modifications that are applied to the container, such as Linux // KernelCapabilities. + // + // This parameter is not supported for Windows containers or tasks using the + // Fargate launch type. LinuxParameters *LinuxParameters `locationName:"linuxParameters" type:"structure"` - // The log configuration specification for the container. This parameter maps - // to LogConfig in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) + // The log configuration specification for the container. + // + // If using the Fargate launch type, the only supported value is awslogs. + // + // This parameter maps to LogConfig in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/) // and the --log-driver option to docker run (https://docs.docker.com/engine/reference/run/). // By default, containers use the same logging driver that the Docker daemon @@ -3934,7 +4237,7 @@ type ContainerDefinition struct { // // This parameter requires version 1.18 of the Docker Remote API or greater // on your container instance. To check the Docker Remote API version on your - // container instance, log into your container instance and run the following + // container instance, log in to your container instance and run the following // command: sudo docker version | grep "Server API version" // // The Amazon ECS container agent running on a container instance must register @@ -3942,7 +4245,7 @@ type ContainerDefinition struct { // environment variable before containers placed on that instance can use these // log configuration options. For more information, see Amazon ECS Container // Agent Configuration (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) - // in the Amazon EC2 Container Service Developer Guide. + // in the Amazon Elastic Container Service Developer Guide. LogConfiguration *LogConfiguration `locationName:"logConfiguration" type:"structure"` // The hard limit (in MiB) of memory to present to the container. If your container @@ -3951,7 +4254,13 @@ type ContainerDefinition struct { // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/) // and the --memory option to docker run (https://docs.docker.com/engine/reference/run/). // - // You must specify a non-zero integer for one or both of memory or memoryReservation + // If your containers will be part of a task using the Fargate launch type, + // this field is optional and the only requirement is that the total amount + // of memory reserved for all containers within a task be lower than the task + // memory value. + // + // For containers that will be part of a task using the EC2 launch type, you + // must specify a non-zero integer for one or both of memory or memoryReservation // in container definitions. If you specify both, memory must be greater than // memoryReservation. If you specify memoryReservation, then that value is subtracted // from the available memory resources for the container instance on which the @@ -3985,10 +4294,15 @@ type ContainerDefinition struct { // more memory resources when needed. MemoryReservation *int64 `locationName:"memoryReservation" type:"integer"` - // The mount points for data volumes in your container. This parameter maps - // to Volumes in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) + // The mount points for data volumes in your container. + // + // This parameter maps to Volumes in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/) // and the --volume option to docker run (https://docs.docker.com/engine/reference/run/). + // + // Windows containers can mount whole directories on the same drive as $env:ProgramData. + // Windows containers cannot mount directories on a different drive, and mount + // point cannot be across drives. MountPoints []*MountPoint `locationName:"mountPoints" type:"list"` // The name of a container. If you are linking multiple containers together @@ -4002,17 +4316,26 @@ type ContainerDefinition struct { // The list of port mappings for the container. Port mappings allow containers // to access ports on the host container instance to send or receive traffic. + // + // For task definitions that use the awsvpc network mode, you should only specify + // the containerPort. The hostPort can be left blank or it must be the same + // value as the containerPort. + // + // Port mappings on Windows use the NetNAT gateway address rather than localhost. + // There is no loopback for port mappings on Windows, so you cannot access a + // container's mapped port from the host itself. + // // This parameter maps to PortBindings in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/) // and the --publish option to docker run (https://docs.docker.com/engine/reference/run/). - // If the network mode of a task definition is set to none, then you cannot - // specify port mappings. If the network mode of a task definition is set to - // host, then host ports must either be undefined or they must match the container - // port in the port mapping. + // If the network mode of a task definition is set to none, then you can't specify + // port mappings. If the network mode of a task definition is set to host, then + // host ports must either be undefined or they must match the container port + // in the port mapping. // // After a task reaches the RUNNING status, manual and automatic host and container // port assignments are visible in the Network Bindings section of a container - // description of a selected task in the Amazon ECS console, or the networkBindings + // description for a selected task in the Amazon ECS console, or the networkBindings // section DescribeTasks responses. PortMappings []*PortMapping `locationName:"portMappings" type:"list"` @@ -4021,6 +4344,9 @@ type ContainerDefinition struct { // to Privileged in the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/) // and the --privileged option to docker run (https://docs.docker.com/engine/reference/run/). + // + // This parameter is not supported for Windows containers or tasks using the + // Fargate launch type. Privileged *bool `locationName:"privileged" type:"boolean"` // When this parameter is true, the container is given read-only access to its @@ -4028,6 +4354,8 @@ type ContainerDefinition struct { // (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/) // and the --read-only option to docker run. + // + // This parameter is not supported for Windows containers. ReadonlyRootFilesystem *bool `locationName:"readonlyRootFilesystem" type:"boolean"` // A list of ulimits to set in the container. This parameter maps to Ulimits @@ -4037,14 +4365,18 @@ type ContainerDefinition struct { // Valid naming values are displayed in the Ulimit data type. This parameter // requires version 1.18 of the Docker Remote API or greater on your container // instance. To check the Docker Remote API version on your container instance, - // log into your container instance and run the following command: sudo docker + // log in to your container instance and run the following command: sudo docker // version | grep "Server API version" + // + // This parameter is not supported for Windows containers. Ulimits []*Ulimit `locationName:"ulimits" type:"list"` // The user name to use inside the container. This parameter maps to User in // the Create a container (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container) // section of the Docker Remote API (https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/) // and the --user option to docker run (https://docs.docker.com/engine/reference/run/). + // + // This parameter is not supported for Windows containers. User *string `locationName:"user" type:"string"` // Data volumes to mount from another container. This parameter maps to VolumesFrom @@ -4274,20 +4606,22 @@ func (s *ContainerDefinition) SetWorkingDirectory(v string) *ContainerDefinition // An EC2 instance that is running the Amazon ECS agent and has been registered // with a cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerInstance type ContainerInstance struct { _ struct{} `type:"structure"` - // This parameter returns true if the agent is actually connected to Amazon - // ECS. Registered instances with an agent that may be unhealthy or stopped - // return false, and instances without a connected agent cannot accept placement - // requests. + // This parameter returns true if the agent is connected to Amazon ECS. Registered + // instances with an agent that may be unhealthy or stopped return false. Instances + // without a connected agent can't accept placement requests. AgentConnected *bool `locationName:"agentConnected" type:"boolean"` // The status of the most recent agent update. If an update has never been requested, // this value is NULL. AgentUpdateStatus *string `locationName:"agentUpdateStatus" type:"string" enum:"AgentUpdateStatus"` + // The Elastic Network Interfaces associated with the container instance. + Attachments []*Attachment `locationName:"attachments" type:"list"` + // The attributes set for the container instance, either by the Amazon ECS container // agent at instance registration or manually with the PutAttributes operation. Attributes []*Attribute `locationName:"attributes" type:"list"` @@ -4304,7 +4638,7 @@ type ContainerInstance struct { // The number of tasks on the container instance that are in the PENDING status. PendingTasksCount *int64 `locationName:"pendingTasksCount" type:"integer"` - // The Unix timestamp for when the container instance was registered. + // The Unix time stamp for when the container instance was registered. RegisteredAt *time.Time `locationName:"registeredAt" type:"timestamp" timestampFormat:"unix"` // For most resource types, this parameter describes the registered resources @@ -4329,15 +4663,15 @@ type ContainerInstance struct { // DRAINING indicates that new tasks are not placed on the container instance // and any service tasks running on the container instance are removed if possible. // For more information, see Container Instance Draining (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-draining.html) - // in the Amazon EC2 Container Service Developer Guide. + // in the Amazon Elastic Container Service Developer Guide. Status *string `locationName:"status" type:"string"` // The version counter for the container instance. Every time a container instance // experiences a change that triggers a CloudWatch event, the version counter // is incremented. If you are replicating your Amazon ECS container instance - // state with CloudWatch events, you can compare the version of a container + // state with CloudWatch Events, you can compare the version of a container // instance reported by the Amazon ECS APIs with the version reported in CloudWatch - // events for the container instance (inside the detail object) to verify that + // Events for the container instance (inside the detail object) to verify that // the version in your event stream is current. Version *int64 `locationName:"version" type:"long"` @@ -4368,6 +4702,12 @@ func (s *ContainerInstance) SetAgentUpdateStatus(v string) *ContainerInstance { return s } +// SetAttachments sets the Attachments field's value. +func (s *ContainerInstance) SetAttachments(v []*Attachment) *ContainerInstance { + s.Attachments = v + return s +} + // SetAttributes sets the Attributes field's value. func (s *ContainerInstance) SetAttributes(v []*Attribute) *ContainerInstance { s.Attributes = v @@ -4435,7 +4775,7 @@ func (s *ContainerInstance) SetVersionInfo(v *VersionInfo) *ContainerInstance { } // The overrides that should be sent to a container. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerOverride +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerOverride type ContainerOverride struct { _ struct{} `type:"structure"` @@ -4516,7 +4856,69 @@ func (s *ContainerOverride) SetName(v string) *ContainerOverride { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateClusterRequest +// An object representing a change in state for a container. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerStateChange +type ContainerStateChange struct { + _ struct{} `type:"structure"` + + // The name of the container. + ContainerName *string `locationName:"containerName" type:"string"` + + // The exit code for the container, if the state change is a result of the container + // exiting. + ExitCode *int64 `locationName:"exitCode" type:"integer"` + + // Any network bindings associated with the container. + NetworkBindings []*NetworkBinding `locationName:"networkBindings" type:"list"` + + // The reason for the state change. + Reason *string `locationName:"reason" type:"string"` + + // The status of the container. + Status *string `locationName:"status" type:"string"` +} + +// String returns the string representation +func (s ContainerStateChange) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ContainerStateChange) GoString() string { + return s.String() +} + +// SetContainerName sets the ContainerName field's value. +func (s *ContainerStateChange) SetContainerName(v string) *ContainerStateChange { + s.ContainerName = &v + return s +} + +// SetExitCode sets the ExitCode field's value. +func (s *ContainerStateChange) SetExitCode(v int64) *ContainerStateChange { + s.ExitCode = &v + return s +} + +// SetNetworkBindings sets the NetworkBindings field's value. +func (s *ContainerStateChange) SetNetworkBindings(v []*NetworkBinding) *ContainerStateChange { + s.NetworkBindings = v + return s +} + +// SetReason sets the Reason field's value. +func (s *ContainerStateChange) SetReason(v string) *ContainerStateChange { + s.Reason = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ContainerStateChange) SetStatus(v string) *ContainerStateChange { + s.Status = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateClusterRequest type CreateClusterInput struct { _ struct{} `type:"structure"` @@ -4542,7 +4944,7 @@ func (s *CreateClusterInput) SetClusterName(v string) *CreateClusterInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateClusterResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateClusterResponse type CreateClusterOutput struct { _ struct{} `type:"structure"` @@ -4566,7 +4968,7 @@ func (s *CreateClusterOutput) SetCluster(v *Cluster) *CreateClusterOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateServiceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateServiceRequest type CreateServiceInput struct { _ struct{} `type:"structure"` @@ -4589,6 +4991,9 @@ type CreateServiceInput struct { // DesiredCount is a required field DesiredCount *int64 `locationName:"desiredCount" type:"integer" required:"true"` + // The launch type on which to run your service. + LaunchType *string `locationName:"launchType" type:"string" enum:"LaunchType"` + // A load balancer object representing the load balancer to use with your service. // Currently, you are limited to one load balancer or target group per service. // After you create a service, the load balancer name or target group ARN, container @@ -4608,20 +5013,39 @@ type CreateServiceInput struct { // the target group specified here. LoadBalancers []*LoadBalancer `locationName:"loadBalancers" type:"list"` + // The network configuration for the service. This parameter is required for + // task definitions that use the awsvpc network mode to receive their own Elastic + // Network Interface, and it is not supported for other network modes. For more + // information, see Task Networking (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) + // in the Amazon Elastic Container Service Developer Guide. + NetworkConfiguration *NetworkConfiguration `locationName:"networkConfiguration" type:"structure"` + // An array of placement constraint objects to use for tasks in your service. // You can specify a maximum of 10 constraints per task (this limit includes // constraints in the task definition and those specified at run time). PlacementConstraints []*PlacementConstraint `locationName:"placementConstraints" type:"list"` // The placement strategy objects to use for tasks in your service. You can - // specify a maximum of 5 strategy rules per service. + // specify a maximum of five strategy rules per service. PlacementStrategy []*PlacementStrategy `locationName:"placementStrategy" type:"list"` + // The platform version on which to run your service. If one is not specified, + // the latest version is used by default. + PlatformVersion *string `locationName:"platformVersion" type:"string"` + // The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon // ECS to make calls to your load balancer on your behalf. This parameter is - // required if you are using a load balancer with your service. If you specify - // the role parameter, you must also specify a load balancer object with the - // loadBalancers parameter. + // only permitted if you are using a load balancer with your service and your + // task definition does not use the awsvpc network mode. If you specify the + // role parameter, you must also specify a load balancer object with the loadBalancers + // parameter. + // + // If your account has already created the Amazon ECS service-linked role, that + // role is used by default for your service unless you specify a role here. + // The service-linked role is required if your task definition uses the awsvpc + // network mode, in which case you should not specify a role here. For more + // information, see Using Service-Linked Roles for Amazon ECS (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html) + // in the Amazon Elastic Container Service Developer Guide. // // If your specified role has a path other than /, then you must either specify // the full role ARN (this is recommended) or prefix the role name with the @@ -4639,9 +5063,9 @@ type CreateServiceInput struct { // ServiceName is a required field ServiceName *string `locationName:"serviceName" type:"string" required:"true"` - // The family and revision (family:revision) or full Amazon Resource Name (ARN) - // of the task definition to run in your service. If a revision is not specified, - // the latest ACTIVE revision is used. + // The family and revision (family:revision) or full ARN of the task definition + // to run in your service. If a revision is not specified, the latest ACTIVE + // revision is used. // // TaskDefinition is a required field TaskDefinition *string `locationName:"taskDefinition" type:"string" required:"true"` @@ -4669,6 +5093,11 @@ func (s *CreateServiceInput) Validate() error { if s.TaskDefinition == nil { invalidParams.Add(request.NewErrParamRequired("TaskDefinition")) } + if s.NetworkConfiguration != nil { + if err := s.NetworkConfiguration.Validate(); err != nil { + invalidParams.AddNested("NetworkConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -4700,12 +5129,24 @@ func (s *CreateServiceInput) SetDesiredCount(v int64) *CreateServiceInput { return s } +// SetLaunchType sets the LaunchType field's value. +func (s *CreateServiceInput) SetLaunchType(v string) *CreateServiceInput { + s.LaunchType = &v + return s +} + // SetLoadBalancers sets the LoadBalancers field's value. func (s *CreateServiceInput) SetLoadBalancers(v []*LoadBalancer) *CreateServiceInput { s.LoadBalancers = v return s } +// SetNetworkConfiguration sets the NetworkConfiguration field's value. +func (s *CreateServiceInput) SetNetworkConfiguration(v *NetworkConfiguration) *CreateServiceInput { + s.NetworkConfiguration = v + return s +} + // SetPlacementConstraints sets the PlacementConstraints field's value. func (s *CreateServiceInput) SetPlacementConstraints(v []*PlacementConstraint) *CreateServiceInput { s.PlacementConstraints = v @@ -4718,6 +5159,12 @@ func (s *CreateServiceInput) SetPlacementStrategy(v []*PlacementStrategy) *Creat return s } +// SetPlatformVersion sets the PlatformVersion field's value. +func (s *CreateServiceInput) SetPlatformVersion(v string) *CreateServiceInput { + s.PlatformVersion = &v + return s +} + // SetRole sets the Role field's value. func (s *CreateServiceInput) SetRole(v string) *CreateServiceInput { s.Role = &v @@ -4736,7 +5183,7 @@ func (s *CreateServiceInput) SetTaskDefinition(v string) *CreateServiceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateServiceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateServiceResponse type CreateServiceOutput struct { _ struct{} `type:"structure"` @@ -4760,7 +5207,7 @@ func (s *CreateServiceOutput) SetService(v *Service) *CreateServiceOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributesRequest type DeleteAttributesInput struct { _ struct{} `type:"structure"` @@ -4823,7 +5270,7 @@ func (s *DeleteAttributesInput) SetCluster(v string) *DeleteAttributesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributesResponse type DeleteAttributesOutput struct { _ struct{} `type:"structure"` @@ -4847,7 +5294,7 @@ func (s *DeleteAttributesOutput) SetAttributes(v []*Attribute) *DeleteAttributes return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteClusterRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteClusterRequest type DeleteClusterInput struct { _ struct{} `type:"structure"` @@ -4886,7 +5333,7 @@ func (s *DeleteClusterInput) SetCluster(v string) *DeleteClusterInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteClusterResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteClusterResponse type DeleteClusterOutput struct { _ struct{} `type:"structure"` @@ -4910,7 +5357,7 @@ func (s *DeleteClusterOutput) SetCluster(v *Cluster) *DeleteClusterOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteServiceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteServiceRequest type DeleteServiceInput struct { _ struct{} `type:"structure"` @@ -4960,7 +5407,7 @@ func (s *DeleteServiceInput) SetService(v string) *DeleteServiceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteServiceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteServiceResponse type DeleteServiceOutput struct { _ struct{} `type:"structure"` @@ -4985,11 +5432,11 @@ func (s *DeleteServiceOutput) SetService(v *Service) *DeleteServiceOutput { } // The details of an Amazon ECS service deployment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Deployment +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Deployment type Deployment struct { _ struct{} `type:"structure"` - // The Unix timestamp for when the service was created. + // The Unix time stamp for when the service was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // The most recent desired count of tasks that was specified for the service @@ -4999,9 +5446,19 @@ type Deployment struct { // The ID of the deployment. Id *string `locationName:"id" type:"string"` + // The launch type on which your service is running. + LaunchType *string `locationName:"launchType" type:"string" enum:"LaunchType"` + + // The VPC subnet and security group configuration for tasks that receive their + // own Elastic Network Interface by using the awsvpc networking mode. + NetworkConfiguration *NetworkConfiguration `locationName:"networkConfiguration" type:"structure"` + // The number of tasks in the deployment that are in the PENDING status. PendingCount *int64 `locationName:"pendingCount" type:"integer"` + // The platform version on which your service is running. + PlatformVersion *string `locationName:"platformVersion" type:"string"` + // The number of tasks in the deployment that are in the RUNNING status. RunningCount *int64 `locationName:"runningCount" type:"integer"` @@ -5014,7 +5471,7 @@ type Deployment struct { // The most recent task definition that was specified for the service to use. TaskDefinition *string `locationName:"taskDefinition" type:"string"` - // The Unix timestamp for when the service was last updated. + // The Unix time stamp for when the service was last updated. UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"unix"` } @@ -5046,12 +5503,30 @@ func (s *Deployment) SetId(v string) *Deployment { return s } +// SetLaunchType sets the LaunchType field's value. +func (s *Deployment) SetLaunchType(v string) *Deployment { + s.LaunchType = &v + return s +} + +// SetNetworkConfiguration sets the NetworkConfiguration field's value. +func (s *Deployment) SetNetworkConfiguration(v *NetworkConfiguration) *Deployment { + s.NetworkConfiguration = v + return s +} + // SetPendingCount sets the PendingCount field's value. func (s *Deployment) SetPendingCount(v int64) *Deployment { s.PendingCount = &v return s } +// SetPlatformVersion sets the PlatformVersion field's value. +func (s *Deployment) SetPlatformVersion(v string) *Deployment { + s.PlatformVersion = &v + return s +} + // SetRunningCount sets the RunningCount field's value. func (s *Deployment) SetRunningCount(v int64) *Deployment { s.RunningCount = &v @@ -5078,7 +5553,7 @@ func (s *Deployment) SetUpdatedAt(v time.Time) *Deployment { // Optional deployment parameters that control how many tasks run during the // deployment and the ordering of stopping and starting tasks. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentConfiguration type DeploymentConfiguration struct { _ struct{} `type:"structure"` @@ -5090,9 +5565,9 @@ type DeploymentConfiguration struct { // The lower limit (as a percentage of the service's desiredCount) of the number // of running tasks that must remain in the RUNNING state in a service during - // a deployment. The minimum healthy tasks during a deployment is the desiredCount - // multiplied by minimumHealthyPercent/100, rounded up to the nearest integer - // value. + // a deployment. The minimum number of healthy tasks during a deployment is + // the desiredCount multiplied by minimumHealthyPercent/100, rounded up to the + // nearest integer value. MinimumHealthyPercent *int64 `locationName:"minimumHealthyPercent" type:"integer"` } @@ -5118,7 +5593,7 @@ func (s *DeploymentConfiguration) SetMinimumHealthyPercent(v int64) *DeploymentC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstanceRequest type DeregisterContainerInstanceInput struct { _ struct{} `type:"structure"` @@ -5127,11 +5602,11 @@ type DeregisterContainerInstanceInput struct { // default cluster is assumed. Cluster *string `locationName:"cluster" type:"string"` - // The container instance ID or full Amazon Resource Name (ARN) of the container - // instance to deregister. The ARN contains the arn:aws:ecs namespace, followed - // by the region of the container instance, the AWS account ID of the container - // instance owner, the container-instance namespace, and then the container - // instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID. + // The container instance ID or full ARN of the container instance to deregister. + // The ARN contains the arn:aws:ecs namespace, followed by the region of the + // container instance, the AWS account ID of the container instance owner, the + // container-instance namespace, and then the container instance ID. For example, + // arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID. // // ContainerInstance is a required field ContainerInstance *string `locationName:"containerInstance" type:"string" required:"true"` @@ -5145,9 +5620,9 @@ type DeregisterContainerInstanceInput struct { // of that task, on a different container instance if possible. // // Any containers in orphaned service tasks that are registered with a Classic - // Load Balancer or an Application Load Balancer target group are deregistered, - // and they will begin connection draining according to the settings on the - // load balancer or target group. + // Load Balancer or an Application Load Balancer target group are deregistered. + // They begin connection draining according to the settings on the load balancer + // or target group. Force *bool `locationName:"force" type:"boolean"` } @@ -5192,7 +5667,7 @@ func (s *DeregisterContainerInstanceInput) SetForce(v bool) *DeregisterContainer return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstanceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstanceResponse type DeregisterContainerInstanceOutput struct { _ struct{} `type:"structure"` @@ -5216,7 +5691,7 @@ func (s *DeregisterContainerInstanceOutput) SetContainerInstance(v *ContainerIns return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinitionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinitionRequest type DeregisterTaskDefinitionInput struct { _ struct{} `type:"structure"` @@ -5256,7 +5731,7 @@ func (s *DeregisterTaskDefinitionInput) SetTaskDefinition(v string) *DeregisterT return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinitionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinitionResponse type DeregisterTaskDefinitionOutput struct { _ struct{} `type:"structure"` @@ -5280,22 +5755,42 @@ func (s *DeregisterTaskDefinitionOutput) SetTaskDefinition(v *TaskDefinition) *D return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClustersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClustersRequest type DescribeClustersInput struct { _ struct{} `type:"structure"` // A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) // entries. If you do not specify a cluster, the default cluster is assumed. Clusters []*string `locationName:"clusters" type:"list"` -} - -// String returns the string representation -func (s DescribeClustersInput) String() string { - return awsutil.Prettify(s) -} -// GoString returns the string representation -func (s DescribeClustersInput) GoString() string { + // Additional information about your clusters to be separated by launch type, + // including: + // + // * runningEC2TasksCount + // + // * RunningFargateTasksCount + // + // * pendingEC2TasksCount + // + // * pendingFargateTasksCount + // + // * activeEC2ServiceCount + // + // * activeFargateServiceCount + // + // * drainingEC2ServiceCount + // + // * drainingFargateServiceCount + Include []*string `locationName:"include" type:"list"` +} + +// String returns the string representation +func (s DescribeClustersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeClustersInput) GoString() string { return s.String() } @@ -5305,7 +5800,13 @@ func (s *DescribeClustersInput) SetClusters(v []*string) *DescribeClustersInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClustersResponse +// SetInclude sets the Include field's value. +func (s *DescribeClustersInput) SetInclude(v []*string) *DescribeClustersInput { + s.Include = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClustersResponse type DescribeClustersOutput struct { _ struct{} `type:"structure"` @@ -5338,7 +5839,7 @@ func (s *DescribeClustersOutput) SetFailures(v []*Failure) *DescribeClustersOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstancesRequest type DescribeContainerInstancesInput struct { _ struct{} `type:"structure"` @@ -5347,7 +5848,7 @@ type DescribeContainerInstancesInput struct { // default cluster is assumed. Cluster *string `locationName:"cluster" type:"string"` - // A list of container instance IDs or full Amazon Resource Name (ARN) entries. + // A list of container instance IDs or full ARN entries. // // ContainerInstances is a required field ContainerInstances []*string `locationName:"containerInstances" type:"list" required:"true"` @@ -5388,7 +5889,7 @@ func (s *DescribeContainerInstancesInput) SetContainerInstances(v []*string) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstancesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstancesResponse type DescribeContainerInstancesOutput struct { _ struct{} `type:"structure"` @@ -5421,7 +5922,7 @@ func (s *DescribeContainerInstancesOutput) SetFailures(v []*Failure) *DescribeCo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServicesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServicesRequest type DescribeServicesInput struct { _ struct{} `type:"structure"` @@ -5472,7 +5973,7 @@ func (s *DescribeServicesInput) SetServices(v []*string) *DescribeServicesInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServicesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServicesResponse type DescribeServicesOutput struct { _ struct{} `type:"structure"` @@ -5505,7 +6006,7 @@ func (s *DescribeServicesOutput) SetServices(v []*Service) *DescribeServicesOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinitionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinitionRequest type DescribeTaskDefinitionInput struct { _ struct{} `type:"structure"` @@ -5546,7 +6047,7 @@ func (s *DescribeTaskDefinitionInput) SetTaskDefinition(v string) *DescribeTaskD return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinitionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinitionResponse type DescribeTaskDefinitionOutput struct { _ struct{} `type:"structure"` @@ -5570,7 +6071,7 @@ func (s *DescribeTaskDefinitionOutput) SetTaskDefinition(v *TaskDefinition) *Des return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasksRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasksRequest type DescribeTasksInput struct { _ struct{} `type:"structure"` @@ -5579,7 +6080,7 @@ type DescribeTasksInput struct { // is assumed. Cluster *string `locationName:"cluster" type:"string"` - // A list of up to 100 task IDs or full Amazon Resource Name (ARN) entries. + // A list of up to 100 task IDs or full ARN entries. // // Tasks is a required field Tasks []*string `locationName:"tasks" type:"list" required:"true"` @@ -5620,7 +6121,7 @@ func (s *DescribeTasksInput) SetTasks(v []*string) *DescribeTasksInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasksResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasksResponse type DescribeTasksOutput struct { _ struct{} `type:"structure"` @@ -5654,7 +6155,7 @@ func (s *DescribeTasksOutput) SetTasks(v []*Task) *DescribeTasksOutput { } // An object representing a container instance host device. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Device +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Device type Device struct { _ struct{} `type:"structure"` @@ -5667,7 +6168,7 @@ type Device struct { HostPath *string `locationName:"hostPath" type:"string" required:"true"` // The explicit permissions to provide to the container for the device. By default, - // the container will be able to read, write, and mknod the device. + // the container has permissions for read, write, and mknod for the device. Permissions []*string `locationName:"permissions" type:"list"` } @@ -5712,7 +6213,7 @@ func (s *Device) SetPermissions(v []*string) *Device { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpointRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpointRequest type DiscoverPollEndpointInput struct { _ struct{} `type:"structure"` @@ -5720,11 +6221,10 @@ type DiscoverPollEndpointInput struct { // container instance belongs to. Cluster *string `locationName:"cluster" type:"string"` - // The container instance ID or full Amazon Resource Name (ARN) of the container - // instance. The ARN contains the arn:aws:ecs namespace, followed by the region - // of the container instance, the AWS account ID of the container instance owner, - // the container-instance namespace, and then the container instance ID. For - // example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID. + // The container instance ID or full ARN of the container instance. The ARN + // contains the arn:aws:ecs namespace, followed by the region of the container + // instance, the AWS account ID of the container instance owner, the container-instance + // namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID. ContainerInstance *string `locationName:"containerInstance" type:"string"` } @@ -5750,7 +6250,7 @@ func (s *DiscoverPollEndpointInput) SetContainerInstance(v string) *DiscoverPoll return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpointResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpointResponse type DiscoverPollEndpointOutput struct { _ struct{} `type:"structure"` @@ -5784,7 +6284,7 @@ func (s *DiscoverPollEndpointOutput) SetTelemetryEndpoint(v string) *DiscoverPol } // A failed resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Failure +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Failure type Failure struct { _ struct{} `type:"structure"` @@ -5819,7 +6319,7 @@ func (s *Failure) SetReason(v string) *Failure { // Hostnames and IP address entries that are added to the /etc/hosts file of // a container via the extraHosts parameter of its ContainerDefinition. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/HostEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/HostEntry type HostEntry struct { _ struct{} `type:"structure"` @@ -5873,7 +6373,7 @@ func (s *HostEntry) SetIpAddress(v string) *HostEntry { } // Details on a container instance host volume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/HostVolumeProperties +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/HostVolumeProperties type HostVolumeProperties struct { _ struct{} `type:"structure"` @@ -5884,6 +6384,9 @@ type HostVolumeProperties struct { // instance until you delete it manually. If the sourcePath value does not exist // on the host container instance, the Docker daemon creates it. If the location // does exist, the contents of the source path folder are exported. + // + // If you are using the Fargate launch type, the sourcePath parameter is not + // supported. SourcePath *string `locationName:"sourcePath" type:"string"` } @@ -5910,7 +6413,7 @@ func (s *HostVolumeProperties) SetSourcePath(v string) *HostVolumeProperties { // in the Docker run reference. For more detailed information on these Linux // capabilities, see the capabilities(7) (http://man7.org/linux/man-pages/man7/capabilities.7.html) // Linux manual page. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/KernelCapabilities +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/KernelCapabilities type KernelCapabilities struct { _ struct{} `type:"structure"` @@ -5970,7 +6473,7 @@ func (s *KernelCapabilities) SetDrop(v []*string) *KernelCapabilities { } // A key and value pair object. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/KeyValuePair +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/KeyValuePair type KeyValuePair struct { _ struct{} `type:"structure"` @@ -6006,7 +6509,7 @@ func (s *KeyValuePair) SetValue(v string) *KeyValuePair { } // Linux-specific options that are applied to the container, such as Linux KernelCapabilities. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LinuxParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LinuxParameters type LinuxParameters struct { _ struct{} `type:"structure"` @@ -6024,7 +6527,7 @@ type LinuxParameters struct { // processes. This parameter maps to the --init option to docker run (https://docs.docker.com/engine/reference/run/). // This parameter requires version 1.25 of the Docker Remote API or greater // on your container instance. To check the Docker Remote API version on your - // container instance, log into your container instance and run the following + // container instance, log in to your container instance and run the following // command: sudo docker version | grep "Server API version" InitProcessEnabled *bool `locationName:"initProcessEnabled" type:"boolean"` } @@ -6077,7 +6580,7 @@ func (s *LinuxParameters) SetInitProcessEnabled(v bool) *LinuxParameters { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributesRequest type ListAttributesInput struct { _ struct{} `type:"structure"` @@ -6104,7 +6607,7 @@ type ListAttributesInput struct { // The nextToken value returned from a previous paginated ListAttributes request // where maxResults was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the - // nextToken value. This value is null when there are no more results to return. + // nextToken value. // // This token should be treated as an opaque identifier that is only used to // retrieve the next items in a list and not for other programmatic purposes. @@ -6175,7 +6678,7 @@ func (s *ListAttributesInput) SetTargetType(v string) *ListAttributesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributesResponse type ListAttributesOutput struct { _ struct{} `type:"structure"` @@ -6211,7 +6714,7 @@ func (s *ListAttributesOutput) SetNextToken(v string) *ListAttributesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClustersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClustersRequest type ListClustersInput struct { _ struct{} `type:"structure"` @@ -6227,7 +6730,7 @@ type ListClustersInput struct { // The nextToken value returned from a previous paginated ListClusters request // where maxResults was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the - // nextToken value. This value is null when there are no more results to return. + // nextToken value. // // This token should be treated as an opaque identifier that is only used to // retrieve the next items in a list and not for other programmatic purposes. @@ -6256,7 +6759,7 @@ func (s *ListClustersInput) SetNextToken(v string) *ListClustersInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClustersResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClustersResponse type ListClustersOutput struct { _ struct{} `type:"structure"` @@ -6293,7 +6796,7 @@ func (s *ListClustersOutput) SetNextToken(v string) *ListClustersOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstancesRequest type ListContainerInstancesInput struct { _ struct{} `type:"structure"` @@ -6305,7 +6808,7 @@ type ListContainerInstancesInput struct { // You can filter the results of a ListContainerInstances operation with cluster // query language statements. For more information, see Cluster Query Language // (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) - // in the Amazon EC2 Container Service Developer Guide. + // in the Amazon Elastic Container Service Developer Guide. Filter *string `locationName:"filter" type:"string"` // The maximum number of container instance results returned by ListContainerInstances @@ -6321,8 +6824,7 @@ type ListContainerInstancesInput struct { // The nextToken value returned from a previous paginated ListContainerInstances // request where maxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that - // returned the nextToken value. This value is null when there are no more results - // to return. + // returned the nextToken value. // // This token should be treated as an opaque identifier that is only used to // retrieve the next items in a list and not for other programmatic purposes. @@ -6376,12 +6878,12 @@ func (s *ListContainerInstancesInput) SetStatus(v string) *ListContainerInstance return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstancesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstancesResponse type ListContainerInstancesOutput struct { _ struct{} `type:"structure"` - // The list of container instances with full Amazon Resource Name (ARN) entries - // for each container instance associated with the specified cluster. + // The list of container instances with full ARN entries for each container + // instance associated with the specified cluster. ContainerInstanceArns []*string `locationName:"containerInstanceArns" type:"list"` // The nextToken value to include in a future ListContainerInstances request. @@ -6413,7 +6915,7 @@ func (s *ListContainerInstancesOutput) SetNextToken(v string) *ListContainerInst return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServicesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServicesRequest type ListServicesInput struct { _ struct{} `type:"structure"` @@ -6422,6 +6924,9 @@ type ListServicesInput struct { // is assumed. Cluster *string `locationName:"cluster" type:"string"` + // The launch type for services you want to list. + LaunchType *string `locationName:"launchType" type:"string" enum:"LaunchType"` + // The maximum number of service results returned by ListServices in paginated // output. When this parameter is used, ListServices only returns maxResults // results in a single page along with a nextToken response element. The remaining @@ -6434,7 +6939,7 @@ type ListServicesInput struct { // The nextToken value returned from a previous paginated ListServices request // where maxResults was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the - // nextToken value. This value is null when there are no more results to return. + // nextToken value. // // This token should be treated as an opaque identifier that is only used to // retrieve the next items in a list and not for other programmatic purposes. @@ -6457,6 +6962,12 @@ func (s *ListServicesInput) SetCluster(v string) *ListServicesInput { return s } +// SetLaunchType sets the LaunchType field's value. +func (s *ListServicesInput) SetLaunchType(v string) *ListServicesInput { + s.LaunchType = &v + return s +} + // SetMaxResults sets the MaxResults field's value. func (s *ListServicesInput) SetMaxResults(v int64) *ListServicesInput { s.MaxResults = &v @@ -6469,7 +6980,7 @@ func (s *ListServicesInput) SetNextToken(v string) *ListServicesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServicesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServicesResponse type ListServicesOutput struct { _ struct{} `type:"structure"` @@ -6479,8 +6990,8 @@ type ListServicesOutput struct { // more results to return. NextToken *string `locationName:"nextToken" type:"string"` - // The list of full Amazon Resource Name (ARN) entries for each service associated - // with the specified cluster. + // The list of full ARN entries for each service associated with the specified + // cluster. ServiceArns []*string `locationName:"serviceArns" type:"list"` } @@ -6506,7 +7017,7 @@ func (s *ListServicesOutput) SetServiceArns(v []*string) *ListServicesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamiliesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamiliesRequest type ListTaskDefinitionFamiliesInput struct { _ struct{} `type:"structure"` @@ -6528,8 +7039,7 @@ type ListTaskDefinitionFamiliesInput struct { // The nextToken value returned from a previous paginated ListTaskDefinitionFamilies // request where maxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that - // returned the nextToken value. This value is null when there are no more results - // to return. + // returned the nextToken value. // // This token should be treated as an opaque identifier that is only used to // retrieve the next items in a list and not for other programmatic purposes. @@ -6579,7 +7089,7 @@ func (s *ListTaskDefinitionFamiliesInput) SetStatus(v string) *ListTaskDefinitio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamiliesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamiliesResponse type ListTaskDefinitionFamiliesOutput struct { _ struct{} `type:"structure"` @@ -6616,7 +7126,7 @@ func (s *ListTaskDefinitionFamiliesOutput) SetNextToken(v string) *ListTaskDefin return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionsRequest type ListTaskDefinitionsInput struct { _ struct{} `type:"structure"` @@ -6637,8 +7147,7 @@ type ListTaskDefinitionsInput struct { // The nextToken value returned from a previous paginated ListTaskDefinitions // request where maxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that - // returned the nextToken value. This value is null when there are no more results - // to return. + // returned the nextToken value. // // This token should be treated as an opaque identifier that is only used to // retrieve the next items in a list and not for other programmatic purposes. @@ -6700,7 +7209,7 @@ func (s *ListTaskDefinitionsInput) SetStatus(v string) *ListTaskDefinitionsInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionsResponse type ListTaskDefinitionsOutput struct { _ struct{} `type:"structure"` @@ -6737,7 +7246,7 @@ func (s *ListTaskDefinitionsOutput) SetTaskDefinitionArns(v []*string) *ListTask return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasksRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasksRequest type ListTasksInput struct { _ struct{} `type:"structure"` @@ -6746,26 +7255,30 @@ type ListTasksInput struct { // assumed. Cluster *string `locationName:"cluster" type:"string"` - // The container instance ID or full Amazon Resource Name (ARN) of the container - // instance with which to filter the ListTasks results. Specifying a containerInstance - // limits the results to tasks that belong to that container instance. + // The container instance ID or full ARN of the container instance with which + // to filter the ListTasks results. Specifying a containerInstance limits the + // results to tasks that belong to that container instance. ContainerInstance *string `locationName:"containerInstance" type:"string"` // The task desired status with which to filter the ListTasks results. Specifying - // a desiredStatus of STOPPED limits the results to tasks that ECS has set the - // desired status to STOPPED, which can be useful for debugging tasks that are - // not starting properly or have died or finished. The default status filter - // is RUNNING, which shows tasks that ECS has set the desired status to RUNNING. + // a desiredStatus of STOPPED limits the results to tasks that Amazon ECS has + // set the desired status to STOPPED, which can be useful for debugging tasks + // that are not starting properly or have died or finished. The default status + // filter is RUNNING, which shows tasks that Amazon ECS has set the desired + // status to RUNNING. // // Although you can filter results based on a desired status of PENDING, this - // will not return any results because ECS never sets the desired status of - // a task to that value (only a task's lastStatus may have a value of PENDING). + // does not return any results because Amazon ECS never sets the desired status + // of a task to that value (only a task's lastStatus may have a value of PENDING). DesiredStatus *string `locationName:"desiredStatus" type:"string" enum:"DesiredStatus"` // The name of the family with which to filter the ListTasks results. Specifying // a family limits the results to tasks that belong to that family. Family *string `locationName:"family" type:"string"` + // The launch type for services you want to list. + LaunchType *string `locationName:"launchType" type:"string" enum:"LaunchType"` + // The maximum number of task results returned by ListTasks in paginated output. // When this parameter is used, ListTasks only returns maxResults results in // a single page along with a nextToken response element. The remaining results @@ -6778,7 +7291,7 @@ type ListTasksInput struct { // The nextToken value returned from a previous paginated ListTasks request // where maxResults was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the - // nextToken value. This value is null when there are no more results to return. + // nextToken value. // // This token should be treated as an opaque identifier that is only used to // retrieve the next items in a list and not for other programmatic purposes. @@ -6827,6 +7340,12 @@ func (s *ListTasksInput) SetFamily(v string) *ListTasksInput { return s } +// SetLaunchType sets the LaunchType field's value. +func (s *ListTasksInput) SetLaunchType(v string) *ListTasksInput { + s.LaunchType = &v + return s +} + // SetMaxResults sets the MaxResults field's value. func (s *ListTasksInput) SetMaxResults(v int64) *ListTasksInput { s.MaxResults = &v @@ -6851,7 +7370,7 @@ func (s *ListTasksInput) SetStartedBy(v string) *ListTasksInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasksResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasksResponse type ListTasksOutput struct { _ struct{} `type:"structure"` @@ -6861,7 +7380,7 @@ type ListTasksOutput struct { // to return. NextToken *string `locationName:"nextToken" type:"string"` - // The list of task Amazon Resource Name (ARN) entries for the ListTasks request. + // The list of task ARN entries for the ListTasks request. TaskArns []*string `locationName:"taskArns" type:"list"` } @@ -6888,7 +7407,7 @@ func (s *ListTasksOutput) SetTaskArns(v []*string) *ListTasksOutput { } // Details on a load balancer that is used with a service. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LoadBalancer type LoadBalancer struct { _ struct{} `type:"structure"` @@ -6945,25 +7464,27 @@ func (s *LoadBalancer) SetTargetGroupArn(v string) *LoadBalancer { } // Log configuration options to send to a custom log driver for the container. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LogConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LogConfiguration type LogConfiguration struct { _ struct{} `type:"structure"` // The log driver to use for the container. The valid values listed for this // parameter are log drivers that the Amazon ECS container agent can communicate - // with by default. + // with by default. If using the Fargate launch type, the only supported value + // is awslogs. For more information about using the awslogs driver, see Using + // the awslogs Log Driver (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html) + // in the Amazon Elastic Container Service Developer Guide. // // If you have a custom driver that is not listed above that you would like // to work with the Amazon ECS container agent, you can fork the Amazon ECS // container agent project that is available on GitHub (https://github.com/aws/amazon-ecs-agent) // and customize it to work with that driver. We encourage you to submit pull // requests for changes that you would like to have included. However, Amazon - // Web Services does not currently provide support for running modified copies - // of this software. + // Web Services does not currently support running modified copies of this software. // // This parameter requires version 1.18 of the Docker Remote API or greater // on your container instance. To check the Docker Remote API version on your - // container instance, log into your container instance and run the following + // container instance, log in to your container instance and run the following // command: sudo docker version | grep "Server API version" // // LogDriver is a required field @@ -6971,8 +7492,8 @@ type LogConfiguration struct { // The configuration options to send to the log driver. This parameter requires // version 1.19 of the Docker Remote API or greater on your container instance. - // To check the Docker Remote API version on your container instance, log into - // your container instance and run the following command: sudo docker version + // To check the Docker Remote API version on your container instance, log in + // to your container instance and run the following command: sudo docker version // | grep "Server API version" Options map[string]*string `locationName:"options" type:"map"` } @@ -7013,7 +7534,7 @@ func (s *LogConfiguration) SetOptions(v map[string]*string) *LogConfiguration { } // Details on a volume mount point that is used in a container definition. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/MountPoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/MountPoint type MountPoint struct { _ struct{} `type:"structure"` @@ -7061,14 +7582,14 @@ func (s *MountPoint) SetSourceVolume(v string) *MountPoint { // instance. After a task reaches the RUNNING status, manual and automatic host // and container port assignments are visible in the networkBindings section // of DescribeTasks API responses. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/NetworkBinding +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/NetworkBinding type NetworkBinding struct { _ struct{} `type:"structure"` // The IP address that the container is bound to on the container instance. BindIP *string `locationName:"bindIP" type:"string"` - // The port number on the container that is be used with the network binding. + // The port number on the container that is used with the network binding. ContainerPort *int64 `locationName:"containerPort" type:"integer"` // The port number on the host that is used with the network binding. @@ -7112,22 +7633,106 @@ func (s *NetworkBinding) SetProtocol(v string) *NetworkBinding { return s } +// An object representing the network configuration for a task or service. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/NetworkConfiguration +type NetworkConfiguration struct { + _ struct{} `type:"structure"` + + // The VPC subnets and security groups associated with a task. + AwsvpcConfiguration *AwsVpcConfiguration `locationName:"awsvpcConfiguration" type:"structure"` +} + +// String returns the string representation +func (s NetworkConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NetworkConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *NetworkConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NetworkConfiguration"} + if s.AwsvpcConfiguration != nil { + if err := s.AwsvpcConfiguration.Validate(); err != nil { + invalidParams.AddNested("AwsvpcConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsvpcConfiguration sets the AwsvpcConfiguration field's value. +func (s *NetworkConfiguration) SetAwsvpcConfiguration(v *AwsVpcConfiguration) *NetworkConfiguration { + s.AwsvpcConfiguration = v + return s +} + +// An object representing the Elastic Network Interface for tasks that use the +// awsvpc network mode. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/NetworkInterface +type NetworkInterface struct { + _ struct{} `type:"structure"` + + // The attachment ID for the network interface. + AttachmentId *string `locationName:"attachmentId" type:"string"` + + // The private IPv6 address for the network interface. + Ipv6Address *string `locationName:"ipv6Address" type:"string"` + + // The private IPv4 address for the network interface. + PrivateIpv4Address *string `locationName:"privateIpv4Address" type:"string"` +} + +// String returns the string representation +func (s NetworkInterface) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NetworkInterface) GoString() string { + return s.String() +} + +// SetAttachmentId sets the AttachmentId field's value. +func (s *NetworkInterface) SetAttachmentId(v string) *NetworkInterface { + s.AttachmentId = &v + return s +} + +// SetIpv6Address sets the Ipv6Address field's value. +func (s *NetworkInterface) SetIpv6Address(v string) *NetworkInterface { + s.Ipv6Address = &v + return s +} + +// SetPrivateIpv4Address sets the PrivateIpv4Address field's value. +func (s *NetworkInterface) SetPrivateIpv4Address(v string) *NetworkInterface { + s.PrivateIpv4Address = &v + return s +} + // An object representing a constraint on task placement. For more information, // see Task Placement Constraints (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html) -// in the Amazon EC2 Container Service Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PlacementConstraint +// in the Amazon Elastic Container Service Developer Guide. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PlacementConstraint type PlacementConstraint struct { _ struct{} `type:"structure"` // A cluster query language expression to apply to the constraint. Note you // cannot specify an expression if the constraint type is distinctInstance. // For more information, see Cluster Query Language (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) - // in the Amazon EC2 Container Service Developer Guide. + // in the Amazon Elastic Container Service Developer Guide. Expression *string `locationName:"expression" type:"string"` // The type of constraint. Use distinctInstance to ensure that each task in // a particular group is running on a different container instance. Use memberOf - // to restrict selection to a group of valid candidates. Note that distinctInstance + // to restrict the selection to a group of valid candidates. The value distinctInstance // is not supported in task definitions. Type *string `locationName:"type" type:"string" enum:"PlacementConstraintType"` } @@ -7156,8 +7761,8 @@ func (s *PlacementConstraint) SetType(v string) *PlacementConstraint { // The task placement strategy for a task or service. For more information, // see Task Placement Strategies (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html) -// in the Amazon EC2 Container Service Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PlacementStrategy +// in the Amazon Elastic Container Service Developer Guide. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PlacementStrategy type PlacementStrategy struct { _ struct{} `type:"structure"` @@ -7203,41 +7808,57 @@ func (s *PlacementStrategy) SetType(v string) *PlacementStrategy { // Port mappings allow containers to access ports on the host container instance // to send or receive traffic. Port mappings are specified as part of the container -// definition. After a task reaches the RUNNING status, manual and automatic -// host and container port assignments are visible in the networkBindings section -// of DescribeTasks API responses. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PortMapping +// definition. +// +// If using containers in a task with the Fargate launch type, exposed ports +// should be specified using containerPort. The hostPort can be left blank or +// it must be the same value as the containerPort. +// +// After a task reaches the RUNNING status, manual and automatic host and container +// port assignments are visible in the networkBindings section of DescribeTasks +// API responses. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PortMapping type PortMapping struct { _ struct{} `type:"structure"` // The port number on the container that is bound to the user-specified or automatically - // assigned host port. If you specify a container port and not a host port, - // your container automatically receives a host port in the ephemeral port range - // (for more information, see hostPort). Port mappings that are automatically - // assigned in this way do not count toward the 100 reserved ports limit of - // a container instance. + // assigned host port. + // + // If using containers in a task with the Fargate launch type, exposed ports + // should be specified using containerPort. + // + // If using containers in a task with the EC2 launch type and you specify a + // container port and not a host port, your container automatically receives + // a host port in the ephemeral port range (for more information, see hostPort). + // Port mappings that are automatically assigned in this way do not count toward + // the 100 reserved ports limit of a container instance. ContainerPort *int64 `locationName:"containerPort" type:"integer"` // The port number on the container instance to reserve for your container. - // You can specify a non-reserved host port for your container port mapping, - // or you can omit the hostPort (or set it to 0) while specifying a containerPort - // and your container automatically receives a port in the ephemeral port range - // for your container instance operating system and Docker version. + // + // If using containers in a task with the Fargate launch type, the hostPort + // can either be left blank or needs to be the same value as the containerPort. + // + // If using containers in a task with the EC2 launch type, you can specify a + // non-reserved host port for your container port mapping, or you can omit the + // hostPort (or set it to 0) while specifying a containerPort and your container + // automatically receives a port in the ephemeral port range for your container + // instance operating system and Docker version. // // The default ephemeral port range for Docker version 1.6.0 and later is listed // on the instance under /proc/sys/net/ipv4/ip_local_port_range; if this kernel - // parameter is unavailable, the default ephemeral port range of 49153 to 65535 - // is used. You should not attempt to specify a host port in the ephemeral port - // range as these are reserved for automatic assignment. In general, ports below - // 32768 are outside of the ephemeral port range. + // parameter is unavailable, the default ephemeral port range from 49153 through + // 65535 is used. You should not attempt to specify a host port in the ephemeral + // port range as these are reserved for automatic assignment. In general, ports + // below 32768 are outside of the ephemeral port range. // - // The default ephemeral port range of 49153 to 65535 will always be used for - // Docker versions prior to 1.6.0. + // The default ephemeral port range from 49153 through 65535 is always used + // for Docker versions before 1.6.0. // // The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, // and the Amazon ECS container agent ports 51678 and 51679. Any host port that // was previously specified in a running task is also reserved while the task - // is running (after a task stops, the host port is released).The current reserved + // is running (after a task stops, the host port is released). The current reserved // ports are displayed in the remainingResources of DescribeContainerInstances // output, and a container instance may have up to 100 reserved ports at a time, // including the default reserved ports (automatically assigned ports do not @@ -7277,7 +7898,7 @@ func (s *PortMapping) SetProtocol(v string) *PortMapping { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributesRequest type PutAttributesInput struct { _ struct{} `type:"structure"` @@ -7339,7 +7960,7 @@ func (s *PutAttributesInput) SetCluster(v string) *PutAttributesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributesResponse type PutAttributesOutput struct { _ struct{} `type:"structure"` @@ -7363,7 +7984,7 @@ func (s *PutAttributesOutput) SetAttributes(v []*Attribute) *PutAttributesOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstanceRequest type RegisterContainerInstanceInput struct { _ struct{} `type:"structure"` @@ -7375,8 +7996,7 @@ type RegisterContainerInstanceInput struct { // default cluster is assumed. Cluster *string `locationName:"cluster" type:"string"` - // The Amazon Resource Name (ARN) of the container instance (if it was previously - // registered). + // The ARN of the container instance (if it was previously registered). ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"` // The instance identity document for the EC2 instance to register. This document @@ -7468,7 +8088,7 @@ func (s *RegisterContainerInstanceInput) SetVersionInfo(v *VersionInfo) *Registe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstanceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstanceResponse type RegisterContainerInstanceOutput struct { _ struct{} `type:"structure"` @@ -7492,7 +8112,7 @@ func (s *RegisterContainerInstanceOutput) SetContainerInstance(v *ContainerInsta return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionRequest type RegisterTaskDefinitionInput struct { _ struct{} `type:"structure"` @@ -7502,6 +8122,29 @@ type RegisterTaskDefinitionInput struct { // ContainerDefinitions is a required field ContainerDefinitions []*ContainerDefinition `locationName:"containerDefinitions" type:"list" required:"true"` + // The number of cpu units used by the task. If using the EC2 launch type, this + // field is optional and any value can be used. If you are using the Fargate + // launch type, this field is required and you must use one of the following + // values, which determines your range of valid values for the memory parameter: + // + // * 256 (.25 vCPU) - Available memory values: 512MB, 1GB, 2GB + // + // * 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB + // + // * 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, + // 8GB + // + // * 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB + // increments + // + // * 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB + // increments + Cpu *string `locationName:"cpu" type:"string"` + + // The Amazon Resource Name (ARN) of the task execution role that the Amazon + // ECS container agent and the Docker daemon can assume. + ExecutionRoleArn *string `locationName:"executionRoleArn" type:"string"` + // You must specify a family for a task definition, which allows you to track // multiple versions of the same task definition. The family is used as a name // for your task definition. Up to 255 letters (uppercase and lowercase), numbers, @@ -7510,18 +8153,51 @@ type RegisterTaskDefinitionInput struct { // Family is a required field Family *string `locationName:"family" type:"string" required:"true"` + // The amount (in MiB) of memory used by the task. If using the EC2 launch type, + // this field is optional and any value can be used. If you are using the Fargate + // launch type, this field is required and you must use one of the following + // values, which determines your range of valid values for the cpu parameter: + // + // * 512MB, 1GB, 2GB - Available cpu values: 256 (.25 vCPU) + // + // * 1GB, 2GB, 3GB, 4GB - Available cpu values: 512 (.5 vCPU) + // + // * 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB - Available cpu values: 1024 (1 vCPU) + // + // * Between 4GB and 16GB in 1GB increments - Available cpu values: 2048 + // (2 vCPU) + // + // * Between 8GB and 30GB in 1GB increments - Available cpu values: 4096 + // (4 vCPU) + Memory *string `locationName:"memory" type:"string"` + // The Docker networking mode to use for the containers in the task. The valid - // values are none, bridge, and host. - // - // The default Docker network mode is bridge. If the network mode is set to - // none, you cannot specify port mappings in your container definitions, and - // the task's containers do not have external connectivity. The host network - // mode offers the highest networking performance for containers because they - // use the host network stack instead of the virtualized network stack provided - // by the bridge mode; however, exposed container ports are mapped directly - // to the corresponding host port, so you cannot take advantage of dynamic host - // port mappings or run multiple instantiations of the same task on a single - // container instance if port mappings are used. + // values are none, bridge, awsvpc, and host. The default Docker network mode + // is bridge. If using the Fargate launch type, the awsvpc network mode is required. + // If using the EC2 launch type, any network mode can be used. If the network + // mode is set to none, you can't specify port mappings in your container definitions, + // and the task's containers do not have external connectivity. The host and + // awsvpc network modes offer the highest networking performance for containers + // because they use the EC2 network stack instead of the virtualized network + // stack provided by the bridge mode. + // + // With the host and awsvpc network modes, exposed container ports are mapped + // directly to the corresponding host port (for the host network mode) or the + // attached elastic network interface port (for the awsvpc network mode), so + // you cannot take advantage of dynamic host port mappings. + // + // If the network mode is awsvpc, the task is allocated an Elastic Network Interface, + // and you must specify a NetworkConfiguration when you create a service or + // run a task with the task definition. For more information, see Task Networking + // (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) + // in the Amazon Elastic Container Service Developer Guide. + // + // If the network mode is host, you can't run multiple instantiations of the + // same task on a single container instance when port mappings are used. + // + // Docker for Windows uses different network modes than Docker for Linux. When + // you register a task definition with Windows containers, you must not specify + // a network mode. // // For more information, see Network settings (https://docs.docker.com/engine/reference/run/#network-settings) // in the Docker run reference. @@ -7532,11 +8208,15 @@ type RegisterTaskDefinitionInput struct { // the task definition and those specified at run time). PlacementConstraints []*TaskDefinitionPlacementConstraint `locationName:"placementConstraints" type:"list"` + // The launch type required by the task. If no value is specified, it defaults + // to EC2. + RequiresCompatibilities []*string `locationName:"requiresCompatibilities" type:"list"` + // The short name or full Amazon Resource Name (ARN) of the IAM role that containers // in this task can assume. All containers in this task are granted the permissions // that are specified in this role. For more information, see IAM Roles for // Tasks (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) - // in the Amazon EC2 Container Service Developer Guide. + // in the Amazon Elastic Container Service Developer Guide. TaskRoleArn *string `locationName:"taskRoleArn" type:"string"` // A list of volume definitions in JSON format that containers in your task @@ -7586,12 +8266,30 @@ func (s *RegisterTaskDefinitionInput) SetContainerDefinitions(v []*ContainerDefi return s } +// SetCpu sets the Cpu field's value. +func (s *RegisterTaskDefinitionInput) SetCpu(v string) *RegisterTaskDefinitionInput { + s.Cpu = &v + return s +} + +// SetExecutionRoleArn sets the ExecutionRoleArn field's value. +func (s *RegisterTaskDefinitionInput) SetExecutionRoleArn(v string) *RegisterTaskDefinitionInput { + s.ExecutionRoleArn = &v + return s +} + // SetFamily sets the Family field's value. func (s *RegisterTaskDefinitionInput) SetFamily(v string) *RegisterTaskDefinitionInput { s.Family = &v return s } +// SetMemory sets the Memory field's value. +func (s *RegisterTaskDefinitionInput) SetMemory(v string) *RegisterTaskDefinitionInput { + s.Memory = &v + return s +} + // SetNetworkMode sets the NetworkMode field's value. func (s *RegisterTaskDefinitionInput) SetNetworkMode(v string) *RegisterTaskDefinitionInput { s.NetworkMode = &v @@ -7604,6 +8302,12 @@ func (s *RegisterTaskDefinitionInput) SetPlacementConstraints(v []*TaskDefinitio return s } +// SetRequiresCompatibilities sets the RequiresCompatibilities field's value. +func (s *RegisterTaskDefinitionInput) SetRequiresCompatibilities(v []*string) *RegisterTaskDefinitionInput { + s.RequiresCompatibilities = v + return s +} + // SetTaskRoleArn sets the TaskRoleArn field's value. func (s *RegisterTaskDefinitionInput) SetTaskRoleArn(v string) *RegisterTaskDefinitionInput { s.TaskRoleArn = &v @@ -7616,7 +8320,7 @@ func (s *RegisterTaskDefinitionInput) SetVolumes(v []*Volume) *RegisterTaskDefin return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionResponse type RegisterTaskDefinitionOutput struct { _ struct{} `type:"structure"` @@ -7641,7 +8345,7 @@ func (s *RegisterTaskDefinitionOutput) SetTaskDefinition(v *TaskDefinition) *Reg } // Describes the resources available for a container instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Resource +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Resource type Resource struct { _ struct{} `type:"structure"` @@ -7713,7 +8417,7 @@ func (s *Resource) SetType(v string) *Resource { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTaskRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTaskRequest type RunTaskInput struct { _ struct{} `type:"structure"` @@ -7730,6 +8434,16 @@ type RunTaskInput struct { // is the family name of the task definition (for example, family:my-family-name). Group *string `locationName:"group" type:"string"` + // The launch type on which to run your task. + LaunchType *string `locationName:"launchType" type:"string" enum:"LaunchType"` + + // The network configuration for the task. This parameter is required for task + // definitions that use the awsvpc network mode to receive their own Elastic + // Network Interface, and it is not supported for other network modes. For more + // information, see Task Networking (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) + // in the Amazon Elastic Container Service Developer Guide. + NetworkConfiguration *NetworkConfiguration `locationName:"networkConfiguration" type:"structure"` + // A list of container overrides in JSON format that specify the name of a container // in the specified task definition and the overrides it should receive. You // can override the default command for a container (that is specified in the @@ -7748,9 +8462,13 @@ type RunTaskInput struct { PlacementConstraints []*PlacementConstraint `locationName:"placementConstraints" type:"list"` // The placement strategy objects to use for the task. You can specify a maximum - // of 5 strategy rules per task. + // of five strategy rules per task. PlacementStrategy []*PlacementStrategy `locationName:"placementStrategy" type:"list"` + // The platform version on which to run your task. If one is not specified, + // the latest version is used by default. + PlatformVersion *string `locationName:"platformVersion" type:"string"` + // An optional tag specified when a task is started. For example if you automatically // trigger a task to run a batch process job, you could apply a unique identifier // for that job to your task with the startedBy parameter. You can then identify @@ -7762,9 +8480,8 @@ type RunTaskInput struct { // contains the deployment ID of the service that starts it. StartedBy *string `locationName:"startedBy" type:"string"` - // The family and revision (family:revision) or full Amazon Resource Name (ARN) - // of the task definition to run. If a revision is not specified, the latest - // ACTIVE revision is used. + // The family and revision (family:revision) or full ARN of the task definition + // to run. If a revision is not specified, the latest ACTIVE revision is used. // // TaskDefinition is a required field TaskDefinition *string `locationName:"taskDefinition" type:"string" required:"true"` @@ -7786,6 +8503,11 @@ func (s *RunTaskInput) Validate() error { if s.TaskDefinition == nil { invalidParams.Add(request.NewErrParamRequired("TaskDefinition")) } + if s.NetworkConfiguration != nil { + if err := s.NetworkConfiguration.Validate(); err != nil { + invalidParams.AddNested("NetworkConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -7811,6 +8533,18 @@ func (s *RunTaskInput) SetGroup(v string) *RunTaskInput { return s } +// SetLaunchType sets the LaunchType field's value. +func (s *RunTaskInput) SetLaunchType(v string) *RunTaskInput { + s.LaunchType = &v + return s +} + +// SetNetworkConfiguration sets the NetworkConfiguration field's value. +func (s *RunTaskInput) SetNetworkConfiguration(v *NetworkConfiguration) *RunTaskInput { + s.NetworkConfiguration = v + return s +} + // SetOverrides sets the Overrides field's value. func (s *RunTaskInput) SetOverrides(v *TaskOverride) *RunTaskInput { s.Overrides = v @@ -7829,6 +8563,12 @@ func (s *RunTaskInput) SetPlacementStrategy(v []*PlacementStrategy) *RunTaskInpu return s } +// SetPlatformVersion sets the PlatformVersion field's value. +func (s *RunTaskInput) SetPlatformVersion(v string) *RunTaskInput { + s.PlatformVersion = &v + return s +} + // SetStartedBy sets the StartedBy field's value. func (s *RunTaskInput) SetStartedBy(v string) *RunTaskInput { s.StartedBy = &v @@ -7841,14 +8581,14 @@ func (s *RunTaskInput) SetTaskDefinition(v string) *RunTaskInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTaskResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTaskResponse type RunTaskOutput struct { _ struct{} `type:"structure"` // Any failures associated with the call. Failures []*Failure `locationName:"failures" type:"list"` - // A full description of the tasks that were run. Each task that was successfully + // A full description of the tasks that were run. The tasks that were successfully // placed on your cluster are described here. Tasks []*Task `locationName:"tasks" type:"list"` } @@ -7876,14 +8616,14 @@ func (s *RunTaskOutput) SetTasks(v []*Task) *RunTaskOutput { } // Details on a service within a cluster -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Service +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Service type Service struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the cluster that hosts the service. ClusterArn *string `locationName:"clusterArn" type:"string"` - // The Unix timestamp for when the service was created. + // The Unix time stamp for when the service was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // Optional deployment parameters that control how many tasks run during the @@ -7902,11 +8642,18 @@ type Service struct { // are displayed. Events []*ServiceEvent `locationName:"events" type:"list"` + // The launch type on which your service is running. + LaunchType *string `locationName:"launchType" type:"string" enum:"LaunchType"` + // A list of Elastic Load Balancing load balancer objects, containing the load // balancer name, the container name (as it appears in a container definition), // and the container port to access from the load balancer. LoadBalancers []*LoadBalancer `locationName:"loadBalancers" type:"list"` + // The VPC subnet and security group configuration for tasks that receive their + // own Elastic Network Interface by using the awsvpc networking mode. + NetworkConfiguration *NetworkConfiguration `locationName:"networkConfiguration" type:"structure"` + // The number of tasks in the cluster that are in the PENDING state. PendingCount *int64 `locationName:"pendingCount" type:"integer"` @@ -7916,18 +8663,22 @@ type Service struct { // The placement strategy that determines how tasks for the service are placed. PlacementStrategy []*PlacementStrategy `locationName:"placementStrategy" type:"list"` - // The Amazon Resource Name (ARN) of the IAM role associated with the service - // that allows the Amazon ECS container agent to register container instances - // with an Elastic Load Balancing load balancer. + // The platform version on which your task is running. For more information, + // see AWS Fargate Platform Versions (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) + // in the Amazon Elastic Container Service Developer Guide. + PlatformVersion *string `locationName:"platformVersion" type:"string"` + + // The ARN of the IAM role associated with the service that allows the Amazon + // ECS container agent to register container instances with an Elastic Load + // Balancing load balancer. RoleArn *string `locationName:"roleArn" type:"string"` // The number of tasks in the cluster that are in the RUNNING state. RunningCount *int64 `locationName:"runningCount" type:"integer"` - // The Amazon Resource Name (ARN) that identifies the service. The ARN contains - // the arn:aws:ecs namespace, followed by the region of the service, the AWS - // account ID of the service owner, the service namespace, and then the service - // name. For example, arn:aws:ecs:region:012345678910:service/my-service. + // The ARN that identifies the service. The ARN contains the arn:aws:ecs namespace, + // followed by the region of the service, the AWS account ID of the service + // owner, the service namespace, and then the service name. For example, arn:aws:ecs:region:012345678910:service/my-service. ServiceArn *string `locationName:"serviceArn" type:"string"` // The name of your service. Up to 255 letters (uppercase and lowercase), numbers, @@ -7991,12 +8742,24 @@ func (s *Service) SetEvents(v []*ServiceEvent) *Service { return s } +// SetLaunchType sets the LaunchType field's value. +func (s *Service) SetLaunchType(v string) *Service { + s.LaunchType = &v + return s +} + // SetLoadBalancers sets the LoadBalancers field's value. func (s *Service) SetLoadBalancers(v []*LoadBalancer) *Service { s.LoadBalancers = v return s } +// SetNetworkConfiguration sets the NetworkConfiguration field's value. +func (s *Service) SetNetworkConfiguration(v *NetworkConfiguration) *Service { + s.NetworkConfiguration = v + return s +} + // SetPendingCount sets the PendingCount field's value. func (s *Service) SetPendingCount(v int64) *Service { s.PendingCount = &v @@ -8015,6 +8778,12 @@ func (s *Service) SetPlacementStrategy(v []*PlacementStrategy) *Service { return s } +// SetPlatformVersion sets the PlatformVersion field's value. +func (s *Service) SetPlatformVersion(v string) *Service { + s.PlatformVersion = &v + return s +} + // SetRoleArn sets the RoleArn field's value. func (s *Service) SetRoleArn(v string) *Service { s.RoleArn = &v @@ -8052,11 +8821,11 @@ func (s *Service) SetTaskDefinition(v string) *Service { } // Details on an event associated with a service. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceEvent +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceEvent type ServiceEvent struct { _ struct{} `type:"structure"` - // The Unix timestamp for when the event was triggered. + // The Unix time stamp for when the event was triggered. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // The ID string of the event. @@ -8094,7 +8863,7 @@ func (s *ServiceEvent) SetMessage(v string) *ServiceEvent { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTaskRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTaskRequest type StartTaskInput struct { _ struct{} `type:"structure"` @@ -8103,9 +8872,9 @@ type StartTaskInput struct { // is assumed. Cluster *string `locationName:"cluster" type:"string"` - // The container instance IDs or full Amazon Resource Name (ARN) entries for - // the container instances on which you would like to place your task. You can - // specify up to 10 container instances. + // The container instance IDs or full ARN entries for the container instances + // on which you would like to place your task. You can specify up to 10 container + // instances. // // ContainerInstances is a required field ContainerInstances []*string `locationName:"containerInstances" type:"list" required:"true"` @@ -8114,6 +8883,10 @@ type StartTaskInput struct { // is the family name of the task definition (for example, family:my-family-name). Group *string `locationName:"group" type:"string"` + // The VPC subnet and security group configuration for tasks that receive their + // own Elastic Network Interface by using the awsvpc networking mode. + NetworkConfiguration *NetworkConfiguration `locationName:"networkConfiguration" type:"structure"` + // A list of container overrides in JSON format that specify the name of a container // in the specified task definition and the overrides it should receive. You // can override the default command for a container (that is specified in the @@ -8137,9 +8910,8 @@ type StartTaskInput struct { // contains the deployment ID of the service that starts it. StartedBy *string `locationName:"startedBy" type:"string"` - // The family and revision (family:revision) or full Amazon Resource Name (ARN) - // of the task definition to start. If a revision is not specified, the latest - // ACTIVE revision is used. + // The family and revision (family:revision) or full ARN of the task definition + // to start. If a revision is not specified, the latest ACTIVE revision is used. // // TaskDefinition is a required field TaskDefinition *string `locationName:"taskDefinition" type:"string" required:"true"` @@ -8164,6 +8936,11 @@ func (s *StartTaskInput) Validate() error { if s.TaskDefinition == nil { invalidParams.Add(request.NewErrParamRequired("TaskDefinition")) } + if s.NetworkConfiguration != nil { + if err := s.NetworkConfiguration.Validate(); err != nil { + invalidParams.AddNested("NetworkConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -8189,6 +8966,12 @@ func (s *StartTaskInput) SetGroup(v string) *StartTaskInput { return s } +// SetNetworkConfiguration sets the NetworkConfiguration field's value. +func (s *StartTaskInput) SetNetworkConfiguration(v *NetworkConfiguration) *StartTaskInput { + s.NetworkConfiguration = v + return s +} + // SetOverrides sets the Overrides field's value. func (s *StartTaskInput) SetOverrides(v *TaskOverride) *StartTaskInput { s.Overrides = v @@ -8207,7 +8990,7 @@ func (s *StartTaskInput) SetTaskDefinition(v string) *StartTaskInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTaskResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTaskResponse type StartTaskOutput struct { _ struct{} `type:"structure"` @@ -8215,7 +8998,7 @@ type StartTaskOutput struct { Failures []*Failure `locationName:"failures" type:"list"` // A full description of the tasks that were started. Each task that was successfully - // placed on your container instances are described here. + // placed on your container instances is described. Tasks []*Task `locationName:"tasks" type:"list"` } @@ -8241,7 +9024,7 @@ func (s *StartTaskOutput) SetTasks(v []*Task) *StartTaskOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTaskRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTaskRequest type StopTaskInput struct { _ struct{} `type:"structure"` @@ -8252,11 +9035,11 @@ type StopTaskInput struct { // An optional message specified when a task is stopped. For example, if you // are using a custom scheduler, you can use this parameter to specify the reason - // for stopping the task here, and the message will appear in subsequent DescribeTasks + // for stopping the task here, and the message appears in subsequent DescribeTasks // API operations on this task. Up to 255 characters are allowed in this message. Reason *string `locationName:"reason" type:"string"` - // The task ID or full Amazon Resource Name (ARN) entry of the task to stop. + // The task ID or full ARN entry of the task to stop. // // Task is a required field Task *string `locationName:"task" type:"string" required:"true"` @@ -8303,7 +9086,7 @@ func (s *StopTaskInput) SetTask(v string) *StopTaskInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTaskResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTaskResponse type StopTaskOutput struct { _ struct{} `type:"structure"` @@ -8327,12 +9110,11 @@ func (s *StopTaskOutput) SetTask(v *Task) *StopTaskOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChangeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChangeRequest type SubmitContainerStateChangeInput struct { _ struct{} `type:"structure"` - // The short name or full Amazon Resource Name (ARN) of the cluster that hosts - // the container. + // The short name or full ARN of the cluster that hosts the container. Cluster *string `locationName:"cluster" type:"string"` // The name of the container. @@ -8407,7 +9189,7 @@ func (s *SubmitContainerStateChangeInput) SetTask(v string) *SubmitContainerStat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChangeResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChangeResponse type SubmitContainerStateChangeOutput struct { _ struct{} `type:"structure"` @@ -8431,22 +9213,36 @@ func (s *SubmitContainerStateChangeOutput) SetAcknowledgment(v string) *SubmitCo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChangeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChangeRequest type SubmitTaskStateChangeInput struct { _ struct{} `type:"structure"` + // Any attachments associated with the state change request. + Attachments []*AttachmentStateChange `locationName:"attachments" type:"list"` + // The short name or full Amazon Resource Name (ARN) of the cluster that hosts // the task. Cluster *string `locationName:"cluster" type:"string"` + // Any containers associated with the state change request. + Containers []*ContainerStateChange `locationName:"containers" type:"list"` + + // The Unix timestamp for when the task execution stopped. + ExecutionStoppedAt *time.Time `locationName:"executionStoppedAt" type:"timestamp" timestampFormat:"unix"` + + // The Unix time stamp for when the container image pull began. + PullStartedAt *time.Time `locationName:"pullStartedAt" type:"timestamp" timestampFormat:"unix"` + + // The Unix time stamp for when the container image pull completed. + PullStoppedAt *time.Time `locationName:"pullStoppedAt" type:"timestamp" timestampFormat:"unix"` + // The reason for the state change request. Reason *string `locationName:"reason" type:"string"` // The status of the state change request. Status *string `locationName:"status" type:"string"` - // The task ID or full Amazon Resource Name (ARN) of the task in the state change - // request. + // The task ID or full ARN of the task in the state change request. Task *string `locationName:"task" type:"string"` } @@ -8460,12 +9256,62 @@ func (s SubmitTaskStateChangeInput) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *SubmitTaskStateChangeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SubmitTaskStateChangeInput"} + if s.Attachments != nil { + for i, v := range s.Attachments { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Attachments", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttachments sets the Attachments field's value. +func (s *SubmitTaskStateChangeInput) SetAttachments(v []*AttachmentStateChange) *SubmitTaskStateChangeInput { + s.Attachments = v + return s +} + // SetCluster sets the Cluster field's value. func (s *SubmitTaskStateChangeInput) SetCluster(v string) *SubmitTaskStateChangeInput { s.Cluster = &v return s } +// SetContainers sets the Containers field's value. +func (s *SubmitTaskStateChangeInput) SetContainers(v []*ContainerStateChange) *SubmitTaskStateChangeInput { + s.Containers = v + return s +} + +// SetExecutionStoppedAt sets the ExecutionStoppedAt field's value. +func (s *SubmitTaskStateChangeInput) SetExecutionStoppedAt(v time.Time) *SubmitTaskStateChangeInput { + s.ExecutionStoppedAt = &v + return s +} + +// SetPullStartedAt sets the PullStartedAt field's value. +func (s *SubmitTaskStateChangeInput) SetPullStartedAt(v time.Time) *SubmitTaskStateChangeInput { + s.PullStartedAt = &v + return s +} + +// SetPullStoppedAt sets the PullStoppedAt field's value. +func (s *SubmitTaskStateChangeInput) SetPullStoppedAt(v time.Time) *SubmitTaskStateChangeInput { + s.PullStoppedAt = &v + return s +} + // SetReason sets the Reason field's value. func (s *SubmitTaskStateChangeInput) SetReason(v string) *SubmitTaskStateChangeInput { s.Reason = &v @@ -8484,7 +9330,7 @@ func (s *SubmitTaskStateChangeInput) SetTask(v string) *SubmitTaskStateChangeInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChangeResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChangeResponse type SubmitTaskStateChangeOutput struct { _ struct{} `type:"structure"` @@ -8509,36 +9355,100 @@ func (s *SubmitTaskStateChangeOutput) SetAcknowledgment(v string) *SubmitTaskSta } // Details on a task in a cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Task +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Task type Task struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the cluster that hosts the task. + // The Elastic Network Adapter associated with the task if the task uses the + // awsvpc network mode. + Attachments []*Attachment `locationName:"attachments" type:"list"` + + // The ARN of the cluster that hosts the task. ClusterArn *string `locationName:"clusterArn" type:"string"` - // The Amazon Resource Name (ARN) of the container instances that host the task. + // The connectivity status of a task. + Connectivity *string `locationName:"connectivity" type:"string" enum:"Connectivity"` + + // The Unix time stamp for when the task last went into CONNECTED status. + ConnectivityAt *time.Time `locationName:"connectivityAt" type:"timestamp" timestampFormat:"unix"` + + // The ARN of the container instances that host the task. ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"` // The containers associated with the task. Containers []*Container `locationName:"containers" type:"list"` - // The Unix timestamp for when the task was created (the task entered the PENDING + // The number of cpu units used by the task. If using the EC2 launch type, this + // field is optional and any value can be used. If using the Fargate launch + // type, this field is required and you must use one of the following values, + // which determines your range of valid values for the memory parameter: + // + // * 256 (.25 vCPU) - Available memory values: 512MB, 1GB, 2GB + // + // * 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB + // + // * 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, + // 8GB + // + // * 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB + // increments + // + // * 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB + // increments + Cpu *string `locationName:"cpu" type:"string"` + + // The Unix time stamp for when the task was created (the task entered the PENDING // state). CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // The desired status of the task. DesiredStatus *string `locationName:"desiredStatus" type:"string"` + // The Unix timestamp for when the task execution stopped. + ExecutionStoppedAt *time.Time `locationName:"executionStoppedAt" type:"timestamp" timestampFormat:"unix"` + // The name of the task group associated with the task. Group *string `locationName:"group" type:"string"` // The last known status of the task. LastStatus *string `locationName:"lastStatus" type:"string"` + // The launch type on which your task is running. + LaunchType *string `locationName:"launchType" type:"string" enum:"LaunchType"` + + // The amount (in MiB) of memory used by the task. If using the EC2 launch type, + // this field is optional and any value can be used. If using the Fargate launch + // type, this field is required and you must use one of the following values, + // which determines your range of valid values for the cpu parameter: + // + // * 512MB, 1GB, 2GB - Available cpu values: 256 (.25 vCPU) + // + // * 1GB, 2GB, 3GB, 4GB - Available cpu values: 512 (.5 vCPU) + // + // * 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB - Available cpu values: 1024 (1 vCPU) + // + // * Between 4GB and 16GB in 1GB increments - Available cpu values: 2048 + // (2 vCPU) + // + // * Between 8GB and 30GB in 1GB increments - Available cpu values: 4096 + // (4 vCPU) + Memory *string `locationName:"memory" type:"string"` + // One or more container overrides. Overrides *TaskOverride `locationName:"overrides" type:"structure"` - // The Unix timestamp for when the task was started (the task transitioned from + // The platform version on which your task is running. For more information, + // see AWS Fargate Platform Versions (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) + // in the Amazon Elastic Container Service Developer Guide. + PlatformVersion *string `locationName:"platformVersion" type:"string"` + + // The Unix time stamp for when the container image pull began. + PullStartedAt *time.Time `locationName:"pullStartedAt" type:"timestamp" timestampFormat:"unix"` + + // The Unix time stamp for when the container image pull completed. + PullStoppedAt *time.Time `locationName:"pullStoppedAt" type:"timestamp" timestampFormat:"unix"` + + // The Unix time stamp for when the task started (the task transitioned from // the PENDING state to the RUNNING state). StartedAt *time.Time `locationName:"startedAt" type:"timestamp" timestampFormat:"unix"` @@ -8547,24 +9457,28 @@ type Task struct { // service that starts it. StartedBy *string `locationName:"startedBy" type:"string"` - // The Unix timestamp for when the task was stopped (the task transitioned from - // the RUNNING state to the STOPPED state). + // The Unix time stamp for when the task was stopped (the task transitioned + // from the RUNNING state to the STOPPED state). StoppedAt *time.Time `locationName:"stoppedAt" type:"timestamp" timestampFormat:"unix"` // The reason the task was stopped. StoppedReason *string `locationName:"stoppedReason" type:"string"` + // The Unix time stamp for when the task will stop (the task transitioned from + // the RUNNING state to the STOPPED state). + StoppingAt *time.Time `locationName:"stoppingAt" type:"timestamp" timestampFormat:"unix"` + // The Amazon Resource Name (ARN) of the task. TaskArn *string `locationName:"taskArn" type:"string"` - // The Amazon Resource Name (ARN) of the task definition that creates the task. + // The ARN of the task definition that creates the task. TaskDefinitionArn *string `locationName:"taskDefinitionArn" type:"string"` // The version counter for the task. Every time a task experiences a change // that triggers a CloudWatch event, the version counter is incremented. If - // you are replicating your Amazon ECS task state with CloudWatch events, you + // you are replicating your Amazon ECS task state with CloudWatch Events, you // can compare the version of a task reported by the Amazon ECS APIs with the - // version reported in CloudWatch events for the task (inside the detail object) + // version reported in CloudWatch Events for the task (inside the detail object) // to verify that the version in your event stream is current. Version *int64 `locationName:"version" type:"long"` } @@ -8579,12 +9493,30 @@ func (s Task) GoString() string { return s.String() } +// SetAttachments sets the Attachments field's value. +func (s *Task) SetAttachments(v []*Attachment) *Task { + s.Attachments = v + return s +} + // SetClusterArn sets the ClusterArn field's value. func (s *Task) SetClusterArn(v string) *Task { s.ClusterArn = &v return s } +// SetConnectivity sets the Connectivity field's value. +func (s *Task) SetConnectivity(v string) *Task { + s.Connectivity = &v + return s +} + +// SetConnectivityAt sets the ConnectivityAt field's value. +func (s *Task) SetConnectivityAt(v time.Time) *Task { + s.ConnectivityAt = &v + return s +} + // SetContainerInstanceArn sets the ContainerInstanceArn field's value. func (s *Task) SetContainerInstanceArn(v string) *Task { s.ContainerInstanceArn = &v @@ -8597,6 +9529,12 @@ func (s *Task) SetContainers(v []*Container) *Task { return s } +// SetCpu sets the Cpu field's value. +func (s *Task) SetCpu(v string) *Task { + s.Cpu = &v + return s +} + // SetCreatedAt sets the CreatedAt field's value. func (s *Task) SetCreatedAt(v time.Time) *Task { s.CreatedAt = &v @@ -8609,6 +9547,12 @@ func (s *Task) SetDesiredStatus(v string) *Task { return s } +// SetExecutionStoppedAt sets the ExecutionStoppedAt field's value. +func (s *Task) SetExecutionStoppedAt(v time.Time) *Task { + s.ExecutionStoppedAt = &v + return s +} + // SetGroup sets the Group field's value. func (s *Task) SetGroup(v string) *Task { s.Group = &v @@ -8621,12 +9565,42 @@ func (s *Task) SetLastStatus(v string) *Task { return s } +// SetLaunchType sets the LaunchType field's value. +func (s *Task) SetLaunchType(v string) *Task { + s.LaunchType = &v + return s +} + +// SetMemory sets the Memory field's value. +func (s *Task) SetMemory(v string) *Task { + s.Memory = &v + return s +} + // SetOverrides sets the Overrides field's value. func (s *Task) SetOverrides(v *TaskOverride) *Task { s.Overrides = v return s } +// SetPlatformVersion sets the PlatformVersion field's value. +func (s *Task) SetPlatformVersion(v string) *Task { + s.PlatformVersion = &v + return s +} + +// SetPullStartedAt sets the PullStartedAt field's value. +func (s *Task) SetPullStartedAt(v time.Time) *Task { + s.PullStartedAt = &v + return s +} + +// SetPullStoppedAt sets the PullStoppedAt field's value. +func (s *Task) SetPullStoppedAt(v time.Time) *Task { + s.PullStoppedAt = &v + return s +} + // SetStartedAt sets the StartedAt field's value. func (s *Task) SetStartedAt(v time.Time) *Task { s.StartedAt = &v @@ -8651,6 +9625,12 @@ func (s *Task) SetStoppedReason(v string) *Task { return s } +// SetStoppingAt sets the StoppingAt field's value. +func (s *Task) SetStoppingAt(v time.Time) *Task { + s.StoppingAt = &v + return s +} + // SetTaskArn sets the TaskArn field's value. func (s *Task) SetTaskArn(v string) *Task { s.TaskArn = &v @@ -8670,37 +9650,113 @@ func (s *Task) SetVersion(v int64) *Task { } // Details of a task definition. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskDefinition type TaskDefinition struct { _ struct{} `type:"structure"` + // The launch type to use with your task. For more information, see Amazon ECS + // Launch Types (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) + // in the Amazon Elastic Container Service Developer Guide. + Compatibilities []*string `locationName:"compatibilities" type:"list"` + // A list of container definitions in JSON format that describe the different // containers that make up your task. For more information about container definition // parameters and defaults, see Amazon ECS Task Definitions (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html) - // in the Amazon EC2 Container Service Developer Guide. + // in the Amazon Elastic Container Service Developer Guide. ContainerDefinitions []*ContainerDefinition `locationName:"containerDefinitions" type:"list"` + // The number of cpu units used by the task. If using the EC2 launch type, this + // field is optional and any value can be used. If using the Fargate launch + // type, this field is required and you must use one of the following values, + // which determines your range of valid values for the memory parameter: + // + // * 256 (.25 vCPU) - Available memory values: 512MB, 1GB, 2GB + // + // * 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB + // + // * 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, + // 8GB + // + // * 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB + // increments + // + // * 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB + // increments + Cpu *string `locationName:"cpu" type:"string"` + + // The Amazon Resource Name (ARN) of the task execution role that the Amazon + // ECS container agent and the Docker daemon can assume. + ExecutionRoleArn *string `locationName:"executionRoleArn" type:"string"` + // The family of your task definition, used as the definition name. Family *string `locationName:"family" type:"string"` + // The amount (in MiB) of memory used by the task. If using the EC2 launch type, + // this field is optional and any value can be used. If using the Fargate launch + // type, this field is required and you must use one of the following values, + // which determines your range of valid values for the cpu parameter: + // + // * 512MB, 1GB, 2GB - Available cpu values: 256 (.25 vCPU) + // + // * 1GB, 2GB, 3GB, 4GB - Available cpu values: 512 (.5 vCPU) + // + // * 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB - Available cpu values: 1024 (1 vCPU) + // + // * Between 4GB and 16GB in 1GB increments - Available cpu values: 2048 + // (2 vCPU) + // + // * Between 8GB and 30GB in 1GB increments - Available cpu values: 4096 + // (4 vCPU) + Memory *string `locationName:"memory" type:"string"` + // The Docker networking mode to use for the containers in the task. The valid - // values are none, bridge, and host. + // values are none, bridge, awsvpc, and host. The default Docker network mode + // is bridge. If using the Fargate launch type, the awsvpc network mode is required. + // If using the EC2 launch type, any network mode can be used. If the network + // mode is set to none, you can't specify port mappings in your container definitions, + // and the task's containers do not have external connectivity. The host and + // awsvpc network modes offer the highest networking performance for containers + // because they use the EC2 network stack instead of the virtualized network + // stack provided by the bridge mode. // - // If the network mode is none, the containers do not have external connectivity. - // The default Docker network mode is bridge. The host network mode offers the - // highest networking performance for containers because it uses the host network - // stack instead of the virtualized network stack provided by the bridge mode. + // With the host and awsvpc network modes, exposed container ports are mapped + // directly to the corresponding host port (for the host network mode) or the + // attached elastic network interface port (for the awsvpc network mode), so + // you cannot take advantage of dynamic host port mappings. + // + // If the network mode is awsvpc, the task is allocated an Elastic Network Interface, + // and you must specify a NetworkConfiguration when you create a service or + // run a task with the task definition. For more information, see Task Networking + // (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) + // in the Amazon Elastic Container Service Developer Guide. + // + // Currently, only the Amazon ECS-optimized AMI, other Amazon Linux variants + // with the ecs-init package, or AWS Fargate infrastructure support the awsvpc + // network mode. + // + // If the network mode is host, you can't run multiple instantiations of the + // same task on a single container instance when port mappings are used. + // + // Docker for Windows uses different network modes than Docker for Linux. When + // you register a task definition with Windows containers, you must not specify + // a network mode. If you use the console to register a task definition with + // Windows containers, you must choose the network mode object. // // For more information, see Network settings (https://docs.docker.com/engine/reference/run/#network-settings) // in the Docker run reference. NetworkMode *string `locationName:"networkMode" type:"string" enum:"NetworkMode"` - // An array of placement constraint objects to use for tasks. + // An array of placement constraint objects to use for tasks. This field is + // not valid if using the Fargate launch type for your task. PlacementConstraints []*TaskDefinitionPlacementConstraint `locationName:"placementConstraints" type:"list"` - // The container instance attributes required by your task. + // The container instance attributes required by your task. This field is not + // valid if using the Fargate launch type for your task. RequiresAttributes []*Attribute `locationName:"requiresAttributes" type:"list"` + // The launch type the task is using. + RequiresCompatibilities []*string `locationName:"requiresCompatibilities" type:"list"` + // The revision of the task in a particular family. The revision is a version // number of a task definition in a family. When you register a task definition // for the first time, the revision is 1; each time you register a new revision @@ -8714,14 +9770,24 @@ type TaskDefinition struct { // The full Amazon Resource Name (ARN) of the task definition. TaskDefinitionArn *string `locationName:"taskDefinitionArn" type:"string"` - // The Amazon Resource Name (ARN) of the IAM role that containers in this task - // can assume. All containers in this task are granted the permissions that - // are specified in this role. + // The ARN of the IAM role that containers in this task can assume. All containers + // in this task are granted the permissions that are specified in this role. + // + // IAM roles for tasks on Windows require that the -EnableTaskIAMRole option + // is set when you launch the Amazon ECS-optimized Windows AMI. Your containers + // must also run some configuration code in order to take advantage of the feature. + // For more information, see Windows IAM Roles for Tasks (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows_task_IAM_roles.html) + // in the Amazon Elastic Container Service Developer Guide. TaskRoleArn *string `locationName:"taskRoleArn" type:"string"` - // The list of volumes in a task. For more information about volume definition - // parameters and defaults, see Amazon ECS Task Definitions (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html) - // in the Amazon EC2 Container Service Developer Guide. + // The list of volumes in a task. + // + // If you are using the Fargate launch type, the host and sourcePath parameters + // are not supported. + // + // For more information about volume definition parameters and defaults, see + // Amazon ECS Task Definitions (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) + // in the Amazon Elastic Container Service Developer Guide. Volumes []*Volume `locationName:"volumes" type:"list"` } @@ -8735,18 +9801,42 @@ func (s TaskDefinition) GoString() string { return s.String() } +// SetCompatibilities sets the Compatibilities field's value. +func (s *TaskDefinition) SetCompatibilities(v []*string) *TaskDefinition { + s.Compatibilities = v + return s +} + // SetContainerDefinitions sets the ContainerDefinitions field's value. func (s *TaskDefinition) SetContainerDefinitions(v []*ContainerDefinition) *TaskDefinition { s.ContainerDefinitions = v return s } +// SetCpu sets the Cpu field's value. +func (s *TaskDefinition) SetCpu(v string) *TaskDefinition { + s.Cpu = &v + return s +} + +// SetExecutionRoleArn sets the ExecutionRoleArn field's value. +func (s *TaskDefinition) SetExecutionRoleArn(v string) *TaskDefinition { + s.ExecutionRoleArn = &v + return s +} + // SetFamily sets the Family field's value. func (s *TaskDefinition) SetFamily(v string) *TaskDefinition { s.Family = &v return s } +// SetMemory sets the Memory field's value. +func (s *TaskDefinition) SetMemory(v string) *TaskDefinition { + s.Memory = &v + return s +} + // SetNetworkMode sets the NetworkMode field's value. func (s *TaskDefinition) SetNetworkMode(v string) *TaskDefinition { s.NetworkMode = &v @@ -8765,6 +9855,12 @@ func (s *TaskDefinition) SetRequiresAttributes(v []*Attribute) *TaskDefinition { return s } +// SetRequiresCompatibilities sets the RequiresCompatibilities field's value. +func (s *TaskDefinition) SetRequiresCompatibilities(v []*string) *TaskDefinition { + s.RequiresCompatibilities = v + return s +} + // SetRevision sets the Revision field's value. func (s *TaskDefinition) SetRevision(v int64) *TaskDefinition { s.Revision = &v @@ -8796,15 +9892,19 @@ func (s *TaskDefinition) SetVolumes(v []*Volume) *TaskDefinition { } // An object representing a constraint on task placement in the task definition. +// +// If you are using the Fargate launch type, task placement contraints are not +// supported. +// // For more information, see Task Placement Constraints (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html) -// in the Amazon EC2 Container Service Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskDefinitionPlacementConstraint +// in the Amazon Elastic Container Service Developer Guide. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskDefinitionPlacementConstraint type TaskDefinitionPlacementConstraint struct { _ struct{} `type:"structure"` // A cluster query language expression to apply to the constraint. For more // information, see Cluster Query Language (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) - // in the Amazon EC2 Container Service Developer Guide. + // in the Amazon Elastic Container Service Developer Guide. Expression *string `locationName:"expression" type:"string"` // The type of constraint. The DistinctInstance constraint ensures that each @@ -8836,13 +9936,17 @@ func (s *TaskDefinitionPlacementConstraint) SetType(v string) *TaskDefinitionPla } // The overrides associated with a task. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskOverride +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskOverride type TaskOverride struct { _ struct{} `type:"structure"` // One or more container overrides sent to a task. ContainerOverrides []*ContainerOverride `locationName:"containerOverrides" type:"list"` + // The Amazon Resource Name (ARN) of the task execution role that the Amazon + // ECS container agent and the Docker daemon can assume. + ExecutionRoleArn *string `locationName:"executionRoleArn" type:"string"` + // The Amazon Resource Name (ARN) of the IAM role that containers in this task // can assume. All containers in this task are granted the permissions that // are specified in this role. @@ -8865,6 +9969,12 @@ func (s *TaskOverride) SetContainerOverrides(v []*ContainerOverride) *TaskOverri return s } +// SetExecutionRoleArn sets the ExecutionRoleArn field's value. +func (s *TaskOverride) SetExecutionRoleArn(v string) *TaskOverride { + s.ExecutionRoleArn = &v + return s +} + // SetTaskRoleArn sets the TaskRoleArn field's value. func (s *TaskOverride) SetTaskRoleArn(v string) *TaskOverride { s.TaskRoleArn = &v @@ -8872,7 +9982,7 @@ func (s *TaskOverride) SetTaskRoleArn(v string) *TaskOverride { } // The ulimit settings to pass to the container. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Ulimit +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Ulimit type Ulimit struct { _ struct{} `type:"structure"` @@ -8939,7 +10049,7 @@ func (s *Ulimit) SetSoftLimit(v int64) *Ulimit { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgentRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgentRequest type UpdateContainerAgentInput struct { _ struct{} `type:"structure"` @@ -8948,9 +10058,8 @@ type UpdateContainerAgentInput struct { // cluster is assumed. Cluster *string `locationName:"cluster" type:"string"` - // The container instance ID or full Amazon Resource Name (ARN) entries for - // the container instance on which you would like to update the Amazon ECS container - // agent. + // The container instance ID or full ARN entries for the container instance + // on which you would like to update the Amazon ECS container agent. // // ContainerInstance is a required field ContainerInstance *string `locationName:"containerInstance" type:"string" required:"true"` @@ -8991,7 +10100,7 @@ func (s *UpdateContainerAgentInput) SetContainerInstance(v string) *UpdateContai return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgentResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgentResponse type UpdateContainerAgentOutput struct { _ struct{} `type:"structure"` @@ -9015,7 +10124,7 @@ func (s *UpdateContainerAgentOutput) SetContainerInstance(v *ContainerInstance) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesStateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesStateRequest type UpdateContainerInstancesStateInput struct { _ struct{} `type:"structure"` @@ -9024,7 +10133,7 @@ type UpdateContainerInstancesStateInput struct { // cluster is assumed. Cluster *string `locationName:"cluster" type:"string"` - // A list of container instance IDs or full Amazon Resource Name (ARN) entries. + // A list of container instance IDs or full ARN entries. // // ContainerInstances is a required field ContainerInstances []*string `locationName:"containerInstances" type:"list" required:"true"` @@ -9079,7 +10188,7 @@ func (s *UpdateContainerInstancesStateInput) SetStatus(v string) *UpdateContaine return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesStateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesStateResponse type UpdateContainerInstancesStateOutput struct { _ struct{} `type:"structure"` @@ -9112,7 +10221,7 @@ func (s *UpdateContainerInstancesStateOutput) SetFailures(v []*Failure) *UpdateC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServiceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServiceRequest type UpdateServiceInput struct { _ struct{} `type:"structure"` @@ -9129,16 +10238,34 @@ type UpdateServiceInput struct { // service. DesiredCount *int64 `locationName:"desiredCount" type:"integer"` + // Whether or not to force a new deployment of the service. + ForceNewDeployment *bool `locationName:"forceNewDeployment" type:"boolean"` + + // The network configuration for the service. This parameter is required for + // task definitions that use the awsvpc network mode to receive their own Elastic + // Network Interface, and it is not supported for other network modes. For more + // information, see Task Networking (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) + // in the Amazon Elastic Container Service Developer Guide. + // + // Updating a service to add a subnet to a list of existing subnets does not + // trigger a service deployment. For example, if your network configuration + // change is to keep the existing subnets and simply add another subnet to the + // network configuration, this does not trigger a new service deployment. + NetworkConfiguration *NetworkConfiguration `locationName:"networkConfiguration" type:"structure"` + + // The platform version you want to update your service to run. + PlatformVersion *string `locationName:"platformVersion" type:"string"` + // The name of the service to update. // // Service is a required field Service *string `locationName:"service" type:"string" required:"true"` - // The family and revision (family:revision) or full Amazon Resource Name (ARN) - // of the task definition to run in your service. If a revision is not specified, - // the latest ACTIVE revision is used. If you modify the task definition with - // UpdateService, Amazon ECS spawns a task with the new version of the task - // definition and then stops an old task after the new version is running. + // The family and revision (family:revision) or full ARN of the task definition + // to run in your service. If a revision is not specified, the latest ACTIVE + // revision is used. If you modify the task definition with UpdateService, Amazon + // ECS spawns a task with the new version of the task definition and then stops + // an old task after the new version is running. TaskDefinition *string `locationName:"taskDefinition" type:"string"` } @@ -9158,6 +10285,11 @@ func (s *UpdateServiceInput) Validate() error { if s.Service == nil { invalidParams.Add(request.NewErrParamRequired("Service")) } + if s.NetworkConfiguration != nil { + if err := s.NetworkConfiguration.Validate(); err != nil { + invalidParams.AddNested("NetworkConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -9183,6 +10315,24 @@ func (s *UpdateServiceInput) SetDesiredCount(v int64) *UpdateServiceInput { return s } +// SetForceNewDeployment sets the ForceNewDeployment field's value. +func (s *UpdateServiceInput) SetForceNewDeployment(v bool) *UpdateServiceInput { + s.ForceNewDeployment = &v + return s +} + +// SetNetworkConfiguration sets the NetworkConfiguration field's value. +func (s *UpdateServiceInput) SetNetworkConfiguration(v *NetworkConfiguration) *UpdateServiceInput { + s.NetworkConfiguration = v + return s +} + +// SetPlatformVersion sets the PlatformVersion field's value. +func (s *UpdateServiceInput) SetPlatformVersion(v string) *UpdateServiceInput { + s.PlatformVersion = &v + return s +} + // SetService sets the Service field's value. func (s *UpdateServiceInput) SetService(v string) *UpdateServiceInput { s.Service = &v @@ -9195,7 +10345,7 @@ func (s *UpdateServiceInput) SetTaskDefinition(v string) *UpdateServiceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServiceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServiceResponse type UpdateServiceOutput struct { _ struct{} `type:"structure"` @@ -9221,7 +10371,7 @@ func (s *UpdateServiceOutput) SetService(v *Service) *UpdateServiceOutput { // The Docker and Amazon ECS container agent version information about a container // instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/VersionInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/VersionInfo type VersionInfo struct { _ struct{} `type:"structure"` @@ -9265,7 +10415,7 @@ func (s *VersionInfo) SetDockerVersion(v string) *VersionInfo { } // A data volume used in a task definition. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Volume +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Volume type Volume struct { _ struct{} `type:"structure"` @@ -9274,6 +10424,11 @@ type Volume struct { // is empty, then the Docker daemon assigns a host path for your data volume, // but the data is not guaranteed to persist after the containers associated // with it stop running. + // + // Windows containers can mount whole directories on the same drive as $env:ProgramData. + // Windows containers cannot mount directories on a different drive, and mount + // point cannot be across drives. For example, you can mount C:\my\path:C:\my\path + // and D:\:D:\, but not D:\my\path:C:\my\path or D:\:C:\my\path. Host *HostVolumeProperties `locationName:"host" type:"structure"` // The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, @@ -9305,7 +10460,7 @@ func (s *Volume) SetName(v string) *Volume { } // Details on a data volume from another container in the same task definition. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/VolumeFrom +// See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/VolumeFrom type VolumeFrom struct { _ struct{} `type:"structure"` @@ -9361,6 +10516,35 @@ const ( AgentUpdateStatusFailed = "FAILED" ) +const ( + // AssignPublicIpEnabled is a AssignPublicIp enum value + AssignPublicIpEnabled = "ENABLED" + + // AssignPublicIpDisabled is a AssignPublicIp enum value + AssignPublicIpDisabled = "DISABLED" +) + +const ( + // ClusterFieldStatistics is a ClusterField enum value + ClusterFieldStatistics = "STATISTICS" +) + +const ( + // CompatibilityEc2 is a Compatibility enum value + CompatibilityEc2 = "EC2" + + // CompatibilityFargate is a Compatibility enum value + CompatibilityFargate = "FARGATE" +) + +const ( + // ConnectivityConnected is a Connectivity enum value + ConnectivityConnected = "CONNECTED" + + // ConnectivityDisconnected is a Connectivity enum value + ConnectivityDisconnected = "DISCONNECTED" +) + const ( // ContainerInstanceStatusActive is a ContainerInstanceStatus enum value ContainerInstanceStatusActive = "ACTIVE" @@ -9391,6 +10575,14 @@ const ( DeviceCgroupPermissionMknod = "mknod" ) +const ( + // LaunchTypeEc2 is a LaunchType enum value + LaunchTypeEc2 = "EC2" + + // LaunchTypeFargate is a LaunchType enum value + LaunchTypeFargate = "FARGATE" +) + const ( // LogDriverJsonFile is a LogDriver enum value LogDriverJsonFile = "json-file" @@ -9421,6 +10613,9 @@ const ( // NetworkModeHost is a NetworkMode enum value NetworkModeHost = "host" + // NetworkModeAwsvpc is a NetworkMode enum value + NetworkModeAwsvpc = "awsvpc" + // NetworkModeNone is a NetworkMode enum value NetworkModeNone = "none" ) diff --git a/vendor/github.com/aws/aws-sdk-go/service/ecs/doc.go b/vendor/github.com/aws/aws-sdk-go/service/ecs/doc.go index a181e2d2164..a78e75e86f7 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ecs/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ecs/doc.go @@ -3,18 +3,24 @@ // Package ecs provides the client and types for making API // requests to Amazon EC2 Container Service. // -// Amazon EC2 Container Service (Amazon ECS) is a highly scalable, fast, container -// management service that makes it easy to run, stop, and manage Docker containers -// on a cluster of EC2 instances. Amazon ECS lets you launch and stop container-enabled -// applications with simple API calls, allows you to get the state of your cluster -// from a centralized service, and gives you access to many familiar Amazon -// EC2 features like security groups, Amazon EBS volumes, and IAM roles. +// Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, +// container management service that makes it easy to run, stop, and manage +// Docker containers on a cluster. You can host your cluster on a serverless +// infrastructure that is managed by Amazon ECS by launching your services or +// tasks using the Fargate launch type. For more control, you can host your +// tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances +// that you manage by using the EC2 launch type. For more information about +// launch types, see Amazon ECS Launch Types (http://docs.aws.amazon.com/AmazonECS/latest/developerguidelaunch_types.html). +// +// Amazon ECS lets you launch and stop container-based applications with simple +// API calls, allows you to get the state of your cluster from a centralized +// service, and gives you access to many familiar Amazon EC2 features. // // You can use Amazon ECS to schedule the placement of containers across your // cluster based on your resource needs, isolation policies, and availability -// requirements. Amazon EC2 Container Service eliminates the need for you to -// operate your own cluster management and configuration management systems -// or worry about scaling your management infrastructure. +// requirements. Amazon ECS eliminates the need for you to operate your own +// cluster management and configuration management systems or worry about scaling +// your management infrastructure. // // See https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13 for more information on this service. // diff --git a/vendor/github.com/aws/aws-sdk-go/service/ecs/errors.go b/vendor/github.com/aws/aws-sdk-go/service/ecs/errors.go index 1e32412acd2..d4caaeb629a 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ecs/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ecs/errors.go @@ -4,6 +4,12 @@ package ecs const ( + // ErrCodeAccessDeniedException for service response error code + // "AccessDeniedException". + // + // You do not have authorization to perform the requested action. + ErrCodeAccessDeniedException = "AccessDeniedException" + // ErrCodeAttributeLimitExceededException for service response error code // "AttributeLimitExceededException". // @@ -12,12 +18,19 @@ const ( // a resource with DeleteAttributes. ErrCodeAttributeLimitExceededException = "AttributeLimitExceededException" + // ErrCodeBlockedException for service response error code + // "BlockedException". + // + // Your AWS account has been blocked. Contact AWS Customer Support (http://aws.amazon.com/contact-us/) + // for more information. + ErrCodeBlockedException = "BlockedException" + // ErrCodeClientException for service response error code // "ClientException". // // These errors are usually caused by a client action, such as using an action - // or resource on behalf of a user that doesn't have permission to use the action - // or resource, or specifying an identifier that is not valid. + // or resource on behalf of a user that doesn't have permissions to use the + // action or resource, or specifying an identifier that is not valid. ErrCodeClientException = "ClientException" // ErrCodeClusterContainsContainerInstancesException for service response error code @@ -36,6 +49,12 @@ const ( // For more information, see UpdateService and DeleteService. ErrCodeClusterContainsServicesException = "ClusterContainsServicesException" + // ErrCodeClusterContainsTasksException for service response error code + // "ClusterContainsTasksException". + // + // You cannot delete a cluster that has active tasks. + ErrCodeClusterContainsTasksException = "ClusterContainsTasksException" + // ErrCodeClusterNotFoundException for service response error code // "ClusterNotFoundException". // @@ -67,6 +86,19 @@ const ( // that there is no update path to the current version. ErrCodeNoUpdateAvailableException = "NoUpdateAvailableException" + // ErrCodePlatformTaskDefinitionIncompatibilityException for service response error code + // "PlatformTaskDefinitionIncompatibilityException". + // + // The specified platform version does not satisfy the task definition’s required + // capabilities. + ErrCodePlatformTaskDefinitionIncompatibilityException = "PlatformTaskDefinitionIncompatibilityException" + + // ErrCodePlatformUnknownException for service response error code + // "PlatformUnknownException". + // + // The specified platform version does not exist. + ErrCodePlatformUnknownException = "PlatformUnknownException" + // ErrCodeServerException for service response error code // "ServerException". // @@ -76,9 +108,8 @@ const ( // ErrCodeServiceNotActiveException for service response error code // "ServiceNotActiveException". // - // The specified service is not active. You cannot update a service that is - // not active. If you have previously deleted a service, you can re-create it - // with CreateService. + // The specified service is not active. You can't update a service that is inactive. + // If you have previously deleted a service, you can re-create it with CreateService. ErrCodeServiceNotActiveException = "ServiceNotActiveException" // ErrCodeServiceNotFoundException for service response error code @@ -96,6 +127,12 @@ const ( // cluster-specific and region-specific. ErrCodeTargetNotFoundException = "TargetNotFoundException" + // ErrCodeUnsupportedFeatureException for service response error code + // "UnsupportedFeatureException". + // + // The specified task is not supported in this region. + ErrCodeUnsupportedFeatureException = "UnsupportedFeatureException" + // ErrCodeUpdateInProgressException for service response error code // "UpdateInProgressException". // diff --git a/vendor/github.com/aws/aws-sdk-go/service/efs/api.go b/vendor/github.com/aws/aws-sdk-go/service/efs/api.go index 5f4d46fe479..964a1c4c262 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/efs/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/efs/api.go @@ -38,7 +38,7 @@ const opCreateFileSystem = "CreateFileSystem" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystem +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystem func (c *EFS) CreateFileSystemRequest(input *CreateFileSystemInput) (req *request.Request, output *FileSystemDescription) { op := &request.Operation{ Name: opCreateFileSystem, @@ -127,7 +127,7 @@ func (c *EFS) CreateFileSystemRequest(input *CreateFileSystemInput) (req *reques // Returned if the AWS account has already created maximum number of file systems // allowed per account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystem +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystem func (c *EFS) CreateFileSystem(input *CreateFileSystemInput) (*FileSystemDescription, error) { req, out := c.CreateFileSystemRequest(input) return out, req.Send() @@ -174,7 +174,7 @@ const opCreateMountTarget = "CreateMountTarget" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTarget func (c *EFS) CreateMountTargetRequest(input *CreateMountTargetInput) (req *request.Request, output *MountTargetDescription) { op := &request.Operation{ Name: opCreateMountTarget, @@ -343,7 +343,7 @@ func (c *EFS) CreateMountTargetRequest(input *CreateMountTargetInput) (req *requ // // * ErrCodeUnsupportedAvailabilityZone "UnsupportedAvailabilityZone" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTarget func (c *EFS) CreateMountTarget(input *CreateMountTargetInput) (*MountTargetDescription, error) { req, out := c.CreateMountTargetRequest(input) return out, req.Send() @@ -390,7 +390,7 @@ const opCreateTags = "CreateTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTags func (c *EFS) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput) { op := &request.Operation{ Name: opCreateTags, @@ -438,7 +438,7 @@ func (c *EFS) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, o // Returned if the specified FileSystemId does not exist in the requester's // AWS account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTags func (c *EFS) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error) { req, out := c.CreateTagsRequest(input) return out, req.Send() @@ -485,7 +485,7 @@ const opDeleteFileSystem = "DeleteFileSystem" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystem +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystem func (c *EFS) DeleteFileSystemRequest(input *DeleteFileSystemInput) (req *request.Request, output *DeleteFileSystemOutput) { op := &request.Operation{ Name: opDeleteFileSystem, @@ -545,7 +545,7 @@ func (c *EFS) DeleteFileSystemRequest(input *DeleteFileSystemInput) (req *reques // * ErrCodeFileSystemInUse "FileSystemInUse" // Returned if a file system has mount targets. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystem +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystem func (c *EFS) DeleteFileSystem(input *DeleteFileSystemInput) (*DeleteFileSystemOutput, error) { req, out := c.DeleteFileSystemRequest(input) return out, req.Send() @@ -592,7 +592,7 @@ const opDeleteMountTarget = "DeleteMountTarget" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTarget func (c *EFS) DeleteMountTargetRequest(input *DeleteMountTargetInput) (req *request.Request, output *DeleteMountTargetOutput) { op := &request.Operation{ Name: opDeleteMountTarget, @@ -662,7 +662,7 @@ func (c *EFS) DeleteMountTargetRequest(input *DeleteMountTargetInput) (req *requ // Returned if there is no mount target with the specified ID found in the caller's // account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTarget func (c *EFS) DeleteMountTarget(input *DeleteMountTargetInput) (*DeleteMountTargetOutput, error) { req, out := c.DeleteMountTargetRequest(input) return out, req.Send() @@ -709,7 +709,7 @@ const opDeleteTags = "DeleteTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTags func (c *EFS) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { op := &request.Operation{ Name: opDeleteTags, @@ -758,7 +758,7 @@ func (c *EFS) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, o // Returned if the specified FileSystemId does not exist in the requester's // AWS account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTags func (c *EFS) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { req, out := c.DeleteTagsRequest(input) return out, req.Send() @@ -805,7 +805,7 @@ const opDescribeFileSystems = "DescribeFileSystems" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystems +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystems func (c *EFS) DescribeFileSystemsRequest(input *DescribeFileSystemsInput) (req *request.Request, output *DescribeFileSystemsOutput) { op := &request.Operation{ Name: opDescribeFileSystems, @@ -870,7 +870,7 @@ func (c *EFS) DescribeFileSystemsRequest(input *DescribeFileSystemsInput) (req * // Returned if the specified FileSystemId does not exist in the requester's // AWS account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystems +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystems func (c *EFS) DescribeFileSystems(input *DescribeFileSystemsInput) (*DescribeFileSystemsOutput, error) { req, out := c.DescribeFileSystemsRequest(input) return out, req.Send() @@ -917,7 +917,7 @@ const opDescribeMountTargetSecurityGroups = "DescribeMountTargetSecurityGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroups func (c *EFS) DescribeMountTargetSecurityGroupsRequest(input *DescribeMountTargetSecurityGroupsInput) (req *request.Request, output *DescribeMountTargetSecurityGroupsOutput) { op := &request.Operation{ Name: opDescribeMountTargetSecurityGroups, @@ -970,7 +970,7 @@ func (c *EFS) DescribeMountTargetSecurityGroupsRequest(input *DescribeMountTarge // * ErrCodeIncorrectMountTargetState "IncorrectMountTargetState" // Returned if the mount target is not in the correct state for the operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroups func (c *EFS) DescribeMountTargetSecurityGroups(input *DescribeMountTargetSecurityGroupsInput) (*DescribeMountTargetSecurityGroupsOutput, error) { req, out := c.DescribeMountTargetSecurityGroupsRequest(input) return out, req.Send() @@ -1017,7 +1017,7 @@ const opDescribeMountTargets = "DescribeMountTargets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargets func (c *EFS) DescribeMountTargetsRequest(input *DescribeMountTargetsInput) (req *request.Request, output *DescribeMountTargetsOutput) { op := &request.Operation{ Name: opDescribeMountTargets, @@ -1067,7 +1067,7 @@ func (c *EFS) DescribeMountTargetsRequest(input *DescribeMountTargetsInput) (req // Returned if there is no mount target with the specified ID found in the caller's // account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargets func (c *EFS) DescribeMountTargets(input *DescribeMountTargetsInput) (*DescribeMountTargetsOutput, error) { req, out := c.DescribeMountTargetsRequest(input) return out, req.Send() @@ -1114,7 +1114,7 @@ const opDescribeTags = "DescribeTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTags func (c *EFS) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { op := &request.Operation{ Name: opDescribeTags, @@ -1159,7 +1159,7 @@ func (c *EFS) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Reques // Returned if the specified FileSystemId does not exist in the requester's // AWS account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTags func (c *EFS) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { req, out := c.DescribeTagsRequest(input) return out, req.Send() @@ -1206,7 +1206,7 @@ const opModifyMountTargetSecurityGroups = "ModifyMountTargetSecurityGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroups func (c *EFS) ModifyMountTargetSecurityGroupsRequest(input *ModifyMountTargetSecurityGroupsInput) (req *request.Request, output *ModifyMountTargetSecurityGroupsOutput) { op := &request.Operation{ Name: opModifyMountTargetSecurityGroups, @@ -1274,7 +1274,7 @@ func (c *EFS) ModifyMountTargetSecurityGroupsRequest(input *ModifyMountTargetSec // Returned if one of the specified security groups does not exist in the subnet's // VPC. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroups func (c *EFS) ModifyMountTargetSecurityGroups(input *ModifyMountTargetSecurityGroupsInput) (*ModifyMountTargetSecurityGroupsOutput, error) { req, out := c.ModifyMountTargetSecurityGroupsRequest(input) return out, req.Send() @@ -1296,7 +1296,7 @@ func (c *EFS) ModifyMountTargetSecurityGroupsWithContext(ctx aws.Context, input return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystemRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystemRequest type CreateFileSystemInput struct { _ struct{} `type:"structure"` @@ -1393,7 +1393,7 @@ func (s *CreateFileSystemInput) SetPerformanceMode(v string) *CreateFileSystemIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTargetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTargetRequest type CreateMountTargetInput struct { _ struct{} `type:"structure"` @@ -1465,7 +1465,7 @@ func (s *CreateMountTargetInput) SetSubnetId(v string) *CreateMountTargetInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTagsRequest type CreateTagsInput struct { _ struct{} `type:"structure"` @@ -1529,7 +1529,7 @@ func (s *CreateTagsInput) SetTags(v []*Tag) *CreateTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTagsOutput type CreateTagsOutput struct { _ struct{} `type:"structure"` } @@ -1544,7 +1544,7 @@ func (s CreateTagsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystemRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystemRequest type DeleteFileSystemInput struct { _ struct{} `type:"structure"` @@ -1583,7 +1583,7 @@ func (s *DeleteFileSystemInput) SetFileSystemId(v string) *DeleteFileSystemInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystemOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystemOutput type DeleteFileSystemOutput struct { _ struct{} `type:"structure"` } @@ -1598,7 +1598,7 @@ func (s DeleteFileSystemOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTargetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTargetRequest type DeleteMountTargetInput struct { _ struct{} `type:"structure"` @@ -1637,7 +1637,7 @@ func (s *DeleteMountTargetInput) SetMountTargetId(v string) *DeleteMountTargetIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTargetOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTargetOutput type DeleteMountTargetOutput struct { _ struct{} `type:"structure"` } @@ -1652,7 +1652,7 @@ func (s DeleteMountTargetOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTagsRequest type DeleteTagsInput struct { _ struct{} `type:"structure"` @@ -1705,7 +1705,7 @@ func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTagsOutput type DeleteTagsOutput struct { _ struct{} `type:"structure"` } @@ -1720,7 +1720,7 @@ func (s DeleteTagsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystemsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystemsRequest type DescribeFileSystemsInput struct { _ struct{} `type:"structure"` @@ -1795,7 +1795,7 @@ func (s *DescribeFileSystemsInput) SetMaxItems(v int64) *DescribeFileSystemsInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystemsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystemsResponse type DescribeFileSystemsOutput struct { _ struct{} `type:"structure"` @@ -1838,7 +1838,7 @@ func (s *DescribeFileSystemsOutput) SetNextMarker(v string) *DescribeFileSystems return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroupsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroupsRequest type DescribeMountTargetSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -1877,7 +1877,7 @@ func (s *DescribeMountTargetSecurityGroupsInput) SetMountTargetId(v string) *Des return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroupsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroupsResponse type DescribeMountTargetSecurityGroupsOutput struct { _ struct{} `type:"structure"` @@ -1903,7 +1903,7 @@ func (s *DescribeMountTargetSecurityGroupsOutput) SetSecurityGroups(v []*string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetsRequest type DescribeMountTargetsInput struct { _ struct{} `type:"structure"` @@ -1972,7 +1972,7 @@ func (s *DescribeMountTargetsInput) SetMountTargetId(v string) *DescribeMountTar return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetsResponse type DescribeMountTargetsOutput struct { _ struct{} `type:"structure"` @@ -2018,7 +2018,7 @@ func (s *DescribeMountTargetsOutput) SetNextMarker(v string) *DescribeMountTarge return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTagsRequest type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -2081,7 +2081,7 @@ func (s *DescribeTagsInput) SetMaxItems(v int64) *DescribeTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTagsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTagsResponse type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -2129,7 +2129,7 @@ func (s *DescribeTagsOutput) SetTags(v []*Tag) *DescribeTagsOutput { } // Description of the file system. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemDescription type FileSystemDescription struct { _ struct{} `type:"structure"` @@ -2280,7 +2280,7 @@ func (s *FileSystemDescription) SetSizeInBytes(v *FileSystemSize) *FileSystemDes // if the file system is not modified for a period longer than a couple of hours. // Otherwise, the value is not necessarily the exact size the file system was // at any instant in time. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemSize +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemSize type FileSystemSize struct { _ struct{} `type:"structure"` @@ -2316,7 +2316,7 @@ func (s *FileSystemSize) SetValue(v int64) *FileSystemSize { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroupsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroupsRequest type ModifyMountTargetSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -2364,7 +2364,7 @@ func (s *ModifyMountTargetSecurityGroupsInput) SetSecurityGroups(v []*string) *M return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroupsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroupsOutput type ModifyMountTargetSecurityGroupsOutput struct { _ struct{} `type:"structure"` } @@ -2380,7 +2380,7 @@ func (s ModifyMountTargetSecurityGroupsOutput) GoString() string { } // Provides a description of a mount target. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/MountTargetDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/MountTargetDescription type MountTargetDescription struct { _ struct{} `type:"structure"` @@ -2469,7 +2469,7 @@ func (s *MountTargetDescription) SetSubnetId(v string) *MountTargetDescription { // A tag is a key-value pair. Allowed characters: letters, whitespace, and numbers, // representable in UTF-8, and the following characters: + - = . _ : / -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/Tag type Tag struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/elasticache/api.go b/vendor/github.com/aws/aws-sdk-go/service/elasticache/api.go index 6edcd819ce7..29c8c5d7d0d 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/elasticache/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/elasticache/api.go @@ -37,7 +37,7 @@ const opAddTagsToResource = "AddTagsToResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AddTagsToResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AddTagsToResource func (c *ElastiCache) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *TagListMessage) { op := &request.Operation{ Name: opAddTagsToResource, @@ -90,7 +90,7 @@ func (c *ElastiCache) AddTagsToResourceRequest(input *AddTagsToResourceInput) (r // * ErrCodeInvalidARNFault "InvalidARN" // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AddTagsToResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AddTagsToResource func (c *ElastiCache) AddTagsToResource(input *AddTagsToResourceInput) (*TagListMessage, error) { req, out := c.AddTagsToResourceRequest(input) return out, req.Send() @@ -137,7 +137,7 @@ const opAuthorizeCacheSecurityGroupIngress = "AuthorizeCacheSecurityGroupIngress // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizeCacheSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizeCacheSecurityGroupIngress func (c *ElastiCache) AuthorizeCacheSecurityGroupIngressRequest(input *AuthorizeCacheSecurityGroupIngressInput) (req *request.Request, output *AuthorizeCacheSecurityGroupIngressOutput) { op := &request.Operation{ Name: opAuthorizeCacheSecurityGroupIngress, @@ -188,7 +188,7 @@ func (c *ElastiCache) AuthorizeCacheSecurityGroupIngressRequest(input *Authorize // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizeCacheSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizeCacheSecurityGroupIngress func (c *ElastiCache) AuthorizeCacheSecurityGroupIngress(input *AuthorizeCacheSecurityGroupIngressInput) (*AuthorizeCacheSecurityGroupIngressOutput, error) { req, out := c.AuthorizeCacheSecurityGroupIngressRequest(input) return out, req.Send() @@ -235,7 +235,7 @@ const opCopySnapshot = "CopySnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshot func (c *ElastiCache) CopySnapshotRequest(input *CopySnapshotInput) (req *request.Request, output *CopySnapshotOutput) { op := &request.Operation{ Name: opCopySnapshot, @@ -348,7 +348,7 @@ func (c *ElastiCache) CopySnapshotRequest(input *CopySnapshotInput) (req *reques // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshot func (c *ElastiCache) CopySnapshot(input *CopySnapshotInput) (*CopySnapshotOutput, error) { req, out := c.CopySnapshotRequest(input) return out, req.Send() @@ -395,7 +395,7 @@ const opCreateCacheCluster = "CreateCacheCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheCluster func (c *ElastiCache) CreateCacheClusterRequest(input *CreateCacheClusterInput) (req *request.Request, output *CreateCacheClusterOutput) { op := &request.Operation{ Name: opCreateCacheCluster, @@ -480,7 +480,7 @@ func (c *ElastiCache) CreateCacheClusterRequest(input *CreateCacheClusterInput) // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheCluster func (c *ElastiCache) CreateCacheCluster(input *CreateCacheClusterInput) (*CreateCacheClusterOutput, error) { req, out := c.CreateCacheClusterRequest(input) return out, req.Send() @@ -527,7 +527,7 @@ const opCreateCacheParameterGroup = "CreateCacheParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheParameterGroup func (c *ElastiCache) CreateCacheParameterGroupRequest(input *CreateCacheParameterGroupInput) (req *request.Request, output *CreateCacheParameterGroupOutput) { op := &request.Operation{ Name: opCreateCacheParameterGroup, @@ -586,7 +586,7 @@ func (c *ElastiCache) CreateCacheParameterGroupRequest(input *CreateCacheParamet // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheParameterGroup func (c *ElastiCache) CreateCacheParameterGroup(input *CreateCacheParameterGroupInput) (*CreateCacheParameterGroupOutput, error) { req, out := c.CreateCacheParameterGroupRequest(input) return out, req.Send() @@ -633,7 +633,7 @@ const opCreateCacheSecurityGroup = "CreateCacheSecurityGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSecurityGroup func (c *ElastiCache) CreateCacheSecurityGroupRequest(input *CreateCacheSecurityGroupInput) (req *request.Request, output *CreateCacheSecurityGroupOutput) { op := &request.Operation{ Name: opCreateCacheSecurityGroup, @@ -681,7 +681,7 @@ func (c *ElastiCache) CreateCacheSecurityGroupRequest(input *CreateCacheSecurity // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSecurityGroup func (c *ElastiCache) CreateCacheSecurityGroup(input *CreateCacheSecurityGroupInput) (*CreateCacheSecurityGroupOutput, error) { req, out := c.CreateCacheSecurityGroupRequest(input) return out, req.Send() @@ -728,7 +728,7 @@ const opCreateCacheSubnetGroup = "CreateCacheSubnetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSubnetGroup func (c *ElastiCache) CreateCacheSubnetGroupRequest(input *CreateCacheSubnetGroupInput) (req *request.Request, output *CreateCacheSubnetGroupOutput) { op := &request.Operation{ Name: opCreateCacheSubnetGroup, @@ -775,7 +775,7 @@ func (c *ElastiCache) CreateCacheSubnetGroupRequest(input *CreateCacheSubnetGrou // * ErrCodeInvalidSubnet "InvalidSubnet" // An invalid subnet identifier was specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSubnetGroup func (c *ElastiCache) CreateCacheSubnetGroup(input *CreateCacheSubnetGroupInput) (*CreateCacheSubnetGroupOutput, error) { req, out := c.CreateCacheSubnetGroupRequest(input) return out, req.Send() @@ -822,7 +822,7 @@ const opCreateReplicationGroup = "CreateReplicationGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroup func (c *ElastiCache) CreateReplicationGroupRequest(input *CreateReplicationGroupInput) (req *request.Request, output *CreateReplicationGroupOutput) { op := &request.Operation{ Name: opCreateReplicationGroup, @@ -929,7 +929,7 @@ func (c *ElastiCache) CreateReplicationGroupRequest(input *CreateReplicationGrou // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroup func (c *ElastiCache) CreateReplicationGroup(input *CreateReplicationGroupInput) (*CreateReplicationGroupOutput, error) { req, out := c.CreateReplicationGroupRequest(input) return out, req.Send() @@ -976,7 +976,7 @@ const opCreateSnapshot = "CreateSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshot func (c *ElastiCache) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *CreateSnapshotOutput) { op := &request.Operation{ Name: opCreateSnapshot, @@ -1044,7 +1044,7 @@ func (c *ElastiCache) CreateSnapshotRequest(input *CreateSnapshotInput) (req *re // * ErrCodeInvalidParameterValueException "InvalidParameterValue" // The value for a parameter is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshot func (c *ElastiCache) CreateSnapshot(input *CreateSnapshotInput) (*CreateSnapshotOutput, error) { req, out := c.CreateSnapshotRequest(input) return out, req.Send() @@ -1091,7 +1091,7 @@ const opDeleteCacheCluster = "DeleteCacheCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheCluster func (c *ElastiCache) DeleteCacheClusterRequest(input *DeleteCacheClusterInput) (req *request.Request, output *DeleteCacheClusterOutput) { op := &request.Operation{ Name: opDeleteCacheCluster, @@ -1161,7 +1161,7 @@ func (c *ElastiCache) DeleteCacheClusterRequest(input *DeleteCacheClusterInput) // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheCluster func (c *ElastiCache) DeleteCacheCluster(input *DeleteCacheClusterInput) (*DeleteCacheClusterOutput, error) { req, out := c.DeleteCacheClusterRequest(input) return out, req.Send() @@ -1208,7 +1208,7 @@ const opDeleteCacheParameterGroup = "DeleteCacheParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheParameterGroup func (c *ElastiCache) DeleteCacheParameterGroupRequest(input *DeleteCacheParameterGroupInput) (req *request.Request, output *DeleteCacheParameterGroupOutput) { op := &request.Operation{ Name: opDeleteCacheParameterGroup, @@ -1254,7 +1254,7 @@ func (c *ElastiCache) DeleteCacheParameterGroupRequest(input *DeleteCacheParamet // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheParameterGroup func (c *ElastiCache) DeleteCacheParameterGroup(input *DeleteCacheParameterGroupInput) (*DeleteCacheParameterGroupOutput, error) { req, out := c.DeleteCacheParameterGroupRequest(input) return out, req.Send() @@ -1301,7 +1301,7 @@ const opDeleteCacheSecurityGroup = "DeleteCacheSecurityGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSecurityGroup func (c *ElastiCache) DeleteCacheSecurityGroupRequest(input *DeleteCacheSecurityGroupInput) (req *request.Request, output *DeleteCacheSecurityGroupOutput) { op := &request.Operation{ Name: opDeleteCacheSecurityGroup, @@ -1347,7 +1347,7 @@ func (c *ElastiCache) DeleteCacheSecurityGroupRequest(input *DeleteCacheSecurity // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSecurityGroup func (c *ElastiCache) DeleteCacheSecurityGroup(input *DeleteCacheSecurityGroupInput) (*DeleteCacheSecurityGroupOutput, error) { req, out := c.DeleteCacheSecurityGroupRequest(input) return out, req.Send() @@ -1394,7 +1394,7 @@ const opDeleteCacheSubnetGroup = "DeleteCacheSubnetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSubnetGroup func (c *ElastiCache) DeleteCacheSubnetGroupRequest(input *DeleteCacheSubnetGroupInput) (req *request.Request, output *DeleteCacheSubnetGroupOutput) { op := &request.Operation{ Name: opDeleteCacheSubnetGroup, @@ -1434,7 +1434,7 @@ func (c *ElastiCache) DeleteCacheSubnetGroupRequest(input *DeleteCacheSubnetGrou // The requested cache subnet group name does not refer to an existing cache // subnet group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSubnetGroup func (c *ElastiCache) DeleteCacheSubnetGroup(input *DeleteCacheSubnetGroupInput) (*DeleteCacheSubnetGroupOutput, error) { req, out := c.DeleteCacheSubnetGroupRequest(input) return out, req.Send() @@ -1481,7 +1481,7 @@ const opDeleteReplicationGroup = "DeleteReplicationGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroup func (c *ElastiCache) DeleteReplicationGroupRequest(input *DeleteReplicationGroupInput) (req *request.Request, output *DeleteReplicationGroupOutput) { op := &request.Operation{ Name: opDeleteReplicationGroup, @@ -1550,7 +1550,7 @@ func (c *ElastiCache) DeleteReplicationGroupRequest(input *DeleteReplicationGrou // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroup func (c *ElastiCache) DeleteReplicationGroup(input *DeleteReplicationGroupInput) (*DeleteReplicationGroupOutput, error) { req, out := c.DeleteReplicationGroupRequest(input) return out, req.Send() @@ -1597,7 +1597,7 @@ const opDeleteSnapshot = "DeleteSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteSnapshot func (c *ElastiCache) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *request.Request, output *DeleteSnapshotOutput) { op := &request.Operation{ Name: opDeleteSnapshot, @@ -1643,7 +1643,7 @@ func (c *ElastiCache) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *re // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteSnapshot func (c *ElastiCache) DeleteSnapshot(input *DeleteSnapshotInput) (*DeleteSnapshotOutput, error) { req, out := c.DeleteSnapshotRequest(input) return out, req.Send() @@ -1690,7 +1690,7 @@ const opDescribeCacheClusters = "DescribeCacheClusters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheClusters +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheClusters func (c *ElastiCache) DescribeCacheClustersRequest(input *DescribeCacheClustersInput) (req *request.Request, output *DescribeCacheClustersOutput) { op := &request.Operation{ Name: opDescribeCacheClusters, @@ -1755,7 +1755,7 @@ func (c *ElastiCache) DescribeCacheClustersRequest(input *DescribeCacheClustersI // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheClusters +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheClusters func (c *ElastiCache) DescribeCacheClusters(input *DescribeCacheClustersInput) (*DescribeCacheClustersOutput, error) { req, out := c.DescribeCacheClustersRequest(input) return out, req.Send() @@ -1852,7 +1852,7 @@ const opDescribeCacheEngineVersions = "DescribeCacheEngineVersions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheEngineVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheEngineVersions func (c *ElastiCache) DescribeCacheEngineVersionsRequest(input *DescribeCacheEngineVersionsInput) (req *request.Request, output *DescribeCacheEngineVersionsOutput) { op := &request.Operation{ Name: opDescribeCacheEngineVersions, @@ -1885,7 +1885,7 @@ func (c *ElastiCache) DescribeCacheEngineVersionsRequest(input *DescribeCacheEng // // See the AWS API reference guide for Amazon ElastiCache's // API operation DescribeCacheEngineVersions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheEngineVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheEngineVersions func (c *ElastiCache) DescribeCacheEngineVersions(input *DescribeCacheEngineVersionsInput) (*DescribeCacheEngineVersionsOutput, error) { req, out := c.DescribeCacheEngineVersionsRequest(input) return out, req.Send() @@ -1982,7 +1982,7 @@ const opDescribeCacheParameterGroups = "DescribeCacheParameterGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameterGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameterGroups func (c *ElastiCache) DescribeCacheParameterGroupsRequest(input *DescribeCacheParameterGroupsInput) (req *request.Request, output *DescribeCacheParameterGroupsOutput) { op := &request.Operation{ Name: opDescribeCacheParameterGroups, @@ -2029,7 +2029,7 @@ func (c *ElastiCache) DescribeCacheParameterGroupsRequest(input *DescribeCachePa // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameterGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameterGroups func (c *ElastiCache) DescribeCacheParameterGroups(input *DescribeCacheParameterGroupsInput) (*DescribeCacheParameterGroupsOutput, error) { req, out := c.DescribeCacheParameterGroupsRequest(input) return out, req.Send() @@ -2126,7 +2126,7 @@ const opDescribeCacheParameters = "DescribeCacheParameters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameters func (c *ElastiCache) DescribeCacheParametersRequest(input *DescribeCacheParametersInput) (req *request.Request, output *DescribeCacheParametersOutput) { op := &request.Operation{ Name: opDescribeCacheParameters, @@ -2171,7 +2171,7 @@ func (c *ElastiCache) DescribeCacheParametersRequest(input *DescribeCacheParamet // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameters func (c *ElastiCache) DescribeCacheParameters(input *DescribeCacheParametersInput) (*DescribeCacheParametersOutput, error) { req, out := c.DescribeCacheParametersRequest(input) return out, req.Send() @@ -2268,7 +2268,7 @@ const opDescribeCacheSecurityGroups = "DescribeCacheSecurityGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSecurityGroups func (c *ElastiCache) DescribeCacheSecurityGroupsRequest(input *DescribeCacheSecurityGroupsInput) (req *request.Request, output *DescribeCacheSecurityGroupsOutput) { op := &request.Operation{ Name: opDescribeCacheSecurityGroups, @@ -2314,7 +2314,7 @@ func (c *ElastiCache) DescribeCacheSecurityGroupsRequest(input *DescribeCacheSec // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSecurityGroups func (c *ElastiCache) DescribeCacheSecurityGroups(input *DescribeCacheSecurityGroupsInput) (*DescribeCacheSecurityGroupsOutput, error) { req, out := c.DescribeCacheSecurityGroupsRequest(input) return out, req.Send() @@ -2411,7 +2411,7 @@ const opDescribeCacheSubnetGroups = "DescribeCacheSubnetGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSubnetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSubnetGroups func (c *ElastiCache) DescribeCacheSubnetGroupsRequest(input *DescribeCacheSubnetGroupsInput) (req *request.Request, output *DescribeCacheSubnetGroupsOutput) { op := &request.Operation{ Name: opDescribeCacheSubnetGroups, @@ -2451,7 +2451,7 @@ func (c *ElastiCache) DescribeCacheSubnetGroupsRequest(input *DescribeCacheSubne // The requested cache subnet group name does not refer to an existing cache // subnet group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSubnetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSubnetGroups func (c *ElastiCache) DescribeCacheSubnetGroups(input *DescribeCacheSubnetGroupsInput) (*DescribeCacheSubnetGroupsOutput, error) { req, out := c.DescribeCacheSubnetGroupsRequest(input) return out, req.Send() @@ -2548,7 +2548,7 @@ const opDescribeEngineDefaultParameters = "DescribeEngineDefaultParameters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEngineDefaultParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEngineDefaultParameters func (c *ElastiCache) DescribeEngineDefaultParametersRequest(input *DescribeEngineDefaultParametersInput) (req *request.Request, output *DescribeEngineDefaultParametersOutput) { op := &request.Operation{ Name: opDescribeEngineDefaultParameters, @@ -2590,7 +2590,7 @@ func (c *ElastiCache) DescribeEngineDefaultParametersRequest(input *DescribeEngi // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEngineDefaultParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEngineDefaultParameters func (c *ElastiCache) DescribeEngineDefaultParameters(input *DescribeEngineDefaultParametersInput) (*DescribeEngineDefaultParametersOutput, error) { req, out := c.DescribeEngineDefaultParametersRequest(input) return out, req.Send() @@ -2687,7 +2687,7 @@ const opDescribeEvents = "DescribeEvents" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEvents func (c *ElastiCache) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { op := &request.Operation{ Name: opDescribeEvents, @@ -2733,7 +2733,7 @@ func (c *ElastiCache) DescribeEventsRequest(input *DescribeEventsInput) (req *re // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEvents func (c *ElastiCache) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) { req, out := c.DescribeEventsRequest(input) return out, req.Send() @@ -2830,7 +2830,7 @@ const opDescribeReplicationGroups = "DescribeReplicationGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReplicationGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReplicationGroups func (c *ElastiCache) DescribeReplicationGroupsRequest(input *DescribeReplicationGroupsInput) (req *request.Request, output *DescribeReplicationGroupsOutput) { op := &request.Operation{ Name: opDescribeReplicationGroups, @@ -2878,7 +2878,7 @@ func (c *ElastiCache) DescribeReplicationGroupsRequest(input *DescribeReplicatio // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReplicationGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReplicationGroups func (c *ElastiCache) DescribeReplicationGroups(input *DescribeReplicationGroupsInput) (*DescribeReplicationGroupsOutput, error) { req, out := c.DescribeReplicationGroupsRequest(input) return out, req.Send() @@ -2975,7 +2975,7 @@ const opDescribeReservedCacheNodes = "DescribeReservedCacheNodes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodes func (c *ElastiCache) DescribeReservedCacheNodesRequest(input *DescribeReservedCacheNodesInput) (req *request.Request, output *DescribeReservedCacheNodesOutput) { op := &request.Operation{ Name: opDescribeReservedCacheNodes, @@ -3020,7 +3020,7 @@ func (c *ElastiCache) DescribeReservedCacheNodesRequest(input *DescribeReservedC // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodes func (c *ElastiCache) DescribeReservedCacheNodes(input *DescribeReservedCacheNodesInput) (*DescribeReservedCacheNodesOutput, error) { req, out := c.DescribeReservedCacheNodesRequest(input) return out, req.Send() @@ -3117,7 +3117,7 @@ const opDescribeReservedCacheNodesOfferings = "DescribeReservedCacheNodesOfferin // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodesOfferings +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodesOfferings func (c *ElastiCache) DescribeReservedCacheNodesOfferingsRequest(input *DescribeReservedCacheNodesOfferingsInput) (req *request.Request, output *DescribeReservedCacheNodesOfferingsOutput) { op := &request.Operation{ Name: opDescribeReservedCacheNodesOfferings, @@ -3161,7 +3161,7 @@ func (c *ElastiCache) DescribeReservedCacheNodesOfferingsRequest(input *Describe // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodesOfferings +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodesOfferings func (c *ElastiCache) DescribeReservedCacheNodesOfferings(input *DescribeReservedCacheNodesOfferingsInput) (*DescribeReservedCacheNodesOfferingsOutput, error) { req, out := c.DescribeReservedCacheNodesOfferingsRequest(input) return out, req.Send() @@ -3258,7 +3258,7 @@ const opDescribeSnapshots = "DescribeSnapshots" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeSnapshots +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeSnapshots func (c *ElastiCache) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *request.Request, output *DescribeSnapshotsOutput) { op := &request.Operation{ Name: opDescribeSnapshots, @@ -3310,7 +3310,7 @@ func (c *ElastiCache) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (r // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeSnapshots +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeSnapshots func (c *ElastiCache) DescribeSnapshots(input *DescribeSnapshotsInput) (*DescribeSnapshotsOutput, error) { req, out := c.DescribeSnapshotsRequest(input) return out, req.Send() @@ -3407,7 +3407,7 @@ const opListAllowedNodeTypeModifications = "ListAllowedNodeTypeModifications" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListAllowedNodeTypeModifications +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListAllowedNodeTypeModifications func (c *ElastiCache) ListAllowedNodeTypeModificationsRequest(input *ListAllowedNodeTypeModificationsInput) (req *request.Request, output *ListAllowedNodeTypeModificationsOutput) { op := &request.Operation{ Name: opListAllowedNodeTypeModifications, @@ -3453,7 +3453,7 @@ func (c *ElastiCache) ListAllowedNodeTypeModificationsRequest(input *ListAllowed // * ErrCodeInvalidParameterValueException "InvalidParameterValue" // The value for a parameter is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListAllowedNodeTypeModifications +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListAllowedNodeTypeModifications func (c *ElastiCache) ListAllowedNodeTypeModifications(input *ListAllowedNodeTypeModificationsInput) (*ListAllowedNodeTypeModificationsOutput, error) { req, out := c.ListAllowedNodeTypeModificationsRequest(input) return out, req.Send() @@ -3500,7 +3500,7 @@ const opListTagsForResource = "ListTagsForResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListTagsForResource func (c *ElastiCache) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *TagListMessage) { op := &request.Operation{ Name: opListTagsForResource, @@ -3545,7 +3545,7 @@ func (c *ElastiCache) ListTagsForResourceRequest(input *ListTagsForResourceInput // * ErrCodeInvalidARNFault "InvalidARN" // The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListTagsForResource func (c *ElastiCache) ListTagsForResource(input *ListTagsForResourceInput) (*TagListMessage, error) { req, out := c.ListTagsForResourceRequest(input) return out, req.Send() @@ -3592,7 +3592,7 @@ const opModifyCacheCluster = "ModifyCacheCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheCluster func (c *ElastiCache) ModifyCacheClusterRequest(input *ModifyCacheClusterInput) (req *request.Request, output *ModifyCacheClusterOutput) { op := &request.Operation{ Name: opModifyCacheCluster, @@ -3661,7 +3661,7 @@ func (c *ElastiCache) ModifyCacheClusterRequest(input *ModifyCacheClusterInput) // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheCluster func (c *ElastiCache) ModifyCacheCluster(input *ModifyCacheClusterInput) (*ModifyCacheClusterOutput, error) { req, out := c.ModifyCacheClusterRequest(input) return out, req.Send() @@ -3708,7 +3708,7 @@ const opModifyCacheParameterGroup = "ModifyCacheParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheParameterGroup func (c *ElastiCache) ModifyCacheParameterGroupRequest(input *ModifyCacheParameterGroupInput) (req *request.Request, output *CacheParameterGroupNameMessage) { op := &request.Operation{ Name: opModifyCacheParameterGroup, @@ -3753,7 +3753,7 @@ func (c *ElastiCache) ModifyCacheParameterGroupRequest(input *ModifyCacheParamet // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheParameterGroup func (c *ElastiCache) ModifyCacheParameterGroup(input *ModifyCacheParameterGroupInput) (*CacheParameterGroupNameMessage, error) { req, out := c.ModifyCacheParameterGroupRequest(input) return out, req.Send() @@ -3800,7 +3800,7 @@ const opModifyCacheSubnetGroup = "ModifyCacheSubnetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheSubnetGroup func (c *ElastiCache) ModifyCacheSubnetGroupRequest(input *ModifyCacheSubnetGroupInput) (req *request.Request, output *ModifyCacheSubnetGroupOutput) { op := &request.Operation{ Name: opModifyCacheSubnetGroup, @@ -3843,7 +3843,7 @@ func (c *ElastiCache) ModifyCacheSubnetGroupRequest(input *ModifyCacheSubnetGrou // * ErrCodeInvalidSubnet "InvalidSubnet" // An invalid subnet identifier was specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheSubnetGroup func (c *ElastiCache) ModifyCacheSubnetGroup(input *ModifyCacheSubnetGroupInput) (*ModifyCacheSubnetGroupOutput, error) { req, out := c.ModifyCacheSubnetGroupRequest(input) return out, req.Send() @@ -3890,7 +3890,7 @@ const opModifyReplicationGroup = "ModifyReplicationGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroup func (c *ElastiCache) ModifyReplicationGroupRequest(input *ModifyReplicationGroupInput) (req *request.Request, output *ModifyReplicationGroupOutput) { op := &request.Operation{ Name: opModifyReplicationGroup, @@ -3969,7 +3969,7 @@ func (c *ElastiCache) ModifyReplicationGroupRequest(input *ModifyReplicationGrou // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroup func (c *ElastiCache) ModifyReplicationGroup(input *ModifyReplicationGroupInput) (*ModifyReplicationGroupOutput, error) { req, out := c.ModifyReplicationGroupRequest(input) return out, req.Send() @@ -4016,7 +4016,7 @@ const opModifyReplicationGroupShardConfiguration = "ModifyReplicationGroupShardC // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfiguration func (c *ElastiCache) ModifyReplicationGroupShardConfigurationRequest(input *ModifyReplicationGroupShardConfigurationInput) (req *request.Request, output *ModifyReplicationGroupShardConfigurationOutput) { op := &request.Operation{ Name: opModifyReplicationGroupShardConfiguration, @@ -4083,7 +4083,7 @@ func (c *ElastiCache) ModifyReplicationGroupShardConfigurationRequest(input *Mod // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfiguration func (c *ElastiCache) ModifyReplicationGroupShardConfiguration(input *ModifyReplicationGroupShardConfigurationInput) (*ModifyReplicationGroupShardConfigurationOutput, error) { req, out := c.ModifyReplicationGroupShardConfigurationRequest(input) return out, req.Send() @@ -4130,7 +4130,7 @@ const opPurchaseReservedCacheNodesOffering = "PurchaseReservedCacheNodesOffering // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PurchaseReservedCacheNodesOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PurchaseReservedCacheNodesOffering func (c *ElastiCache) PurchaseReservedCacheNodesOfferingRequest(input *PurchaseReservedCacheNodesOfferingInput) (req *request.Request, output *PurchaseReservedCacheNodesOfferingOutput) { op := &request.Operation{ Name: opPurchaseReservedCacheNodesOffering, @@ -4175,7 +4175,7 @@ func (c *ElastiCache) PurchaseReservedCacheNodesOfferingRequest(input *PurchaseR // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PurchaseReservedCacheNodesOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PurchaseReservedCacheNodesOffering func (c *ElastiCache) PurchaseReservedCacheNodesOffering(input *PurchaseReservedCacheNodesOfferingInput) (*PurchaseReservedCacheNodesOfferingOutput, error) { req, out := c.PurchaseReservedCacheNodesOfferingRequest(input) return out, req.Send() @@ -4222,7 +4222,7 @@ const opRebootCacheCluster = "RebootCacheCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheCluster func (c *ElastiCache) RebootCacheClusterRequest(input *RebootCacheClusterInput) (req *request.Request, output *RebootCacheClusterOutput) { op := &request.Operation{ Name: opRebootCacheCluster, @@ -4273,7 +4273,7 @@ func (c *ElastiCache) RebootCacheClusterRequest(input *RebootCacheClusterInput) // * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" // The requested cluster ID does not refer to an existing cluster. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheCluster func (c *ElastiCache) RebootCacheCluster(input *RebootCacheClusterInput) (*RebootCacheClusterOutput, error) { req, out := c.RebootCacheClusterRequest(input) return out, req.Send() @@ -4320,7 +4320,7 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RemoveTagsFromResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RemoveTagsFromResource func (c *ElastiCache) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *TagListMessage) { op := &request.Operation{ Name: opRemoveTagsFromResource, @@ -4361,7 +4361,7 @@ func (c *ElastiCache) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourc // * ErrCodeTagNotFoundFault "TagNotFound" // The requested tag was not found on this resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RemoveTagsFromResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RemoveTagsFromResource func (c *ElastiCache) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*TagListMessage, error) { req, out := c.RemoveTagsFromResourceRequest(input) return out, req.Send() @@ -4408,7 +4408,7 @@ const opResetCacheParameterGroup = "ResetCacheParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ResetCacheParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ResetCacheParameterGroup func (c *ElastiCache) ResetCacheParameterGroupRequest(input *ResetCacheParameterGroupInput) (req *request.Request, output *CacheParameterGroupNameMessage) { op := &request.Operation{ Name: opResetCacheParameterGroup, @@ -4454,7 +4454,7 @@ func (c *ElastiCache) ResetCacheParameterGroupRequest(input *ResetCacheParameter // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ResetCacheParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ResetCacheParameterGroup func (c *ElastiCache) ResetCacheParameterGroup(input *ResetCacheParameterGroupInput) (*CacheParameterGroupNameMessage, error) { req, out := c.ResetCacheParameterGroupRequest(input) return out, req.Send() @@ -4501,7 +4501,7 @@ const opRevokeCacheSecurityGroupIngress = "RevokeCacheSecurityGroupIngress" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RevokeCacheSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RevokeCacheSecurityGroupIngress func (c *ElastiCache) RevokeCacheSecurityGroupIngressRequest(input *RevokeCacheSecurityGroupIngressInput) (req *request.Request, output *RevokeCacheSecurityGroupIngressOutput) { op := &request.Operation{ Name: opRevokeCacheSecurityGroupIngress, @@ -4548,7 +4548,7 @@ func (c *ElastiCache) RevokeCacheSecurityGroupIngressRequest(input *RevokeCacheS // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RevokeCacheSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RevokeCacheSecurityGroupIngress func (c *ElastiCache) RevokeCacheSecurityGroupIngress(input *RevokeCacheSecurityGroupIngressInput) (*RevokeCacheSecurityGroupIngressOutput, error) { req, out := c.RevokeCacheSecurityGroupIngressRequest(input) return out, req.Send() @@ -4595,7 +4595,7 @@ const opTestFailover = "TestFailover" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailover +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailover func (c *ElastiCache) TestFailoverRequest(input *TestFailoverInput) (req *request.Request, output *TestFailoverOutput) { op := &request.Operation{ Name: opTestFailover, @@ -4692,7 +4692,7 @@ func (c *ElastiCache) TestFailoverRequest(input *TestFailoverInput) (req *reques // * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" // Two or more incompatible parameters were specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailover +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailover func (c *ElastiCache) TestFailover(input *TestFailoverInput) (*TestFailoverOutput, error) { req, out := c.TestFailoverRequest(input) return out, req.Send() @@ -4715,7 +4715,7 @@ func (c *ElastiCache) TestFailoverWithContext(ctx aws.Context, input *TestFailov } // Represents the input of an AddTagsToResource operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AddTagsToResourceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AddTagsToResourceMessage type AddTagsToResourceInput struct { _ struct{} `type:"structure"` @@ -4776,7 +4776,7 @@ func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput { } // Represents the input of an AuthorizeCacheSecurityGroupIngress operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizeCacheSecurityGroupIngressMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizeCacheSecurityGroupIngressMessage type AuthorizeCacheSecurityGroupIngressInput struct { _ struct{} `type:"structure"` @@ -4846,7 +4846,7 @@ func (s *AuthorizeCacheSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v s return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizeCacheSecurityGroupIngressResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizeCacheSecurityGroupIngressResult type AuthorizeCacheSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` @@ -4877,7 +4877,7 @@ func (s *AuthorizeCacheSecurityGroupIngressOutput) SetCacheSecurityGroup(v *Cach } // Describes an Availability Zone in which the cluster is launched. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AvailabilityZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AvailabilityZone type AvailabilityZone struct { _ struct{} `type:"structure"` @@ -4902,7 +4902,7 @@ func (s *AvailabilityZone) SetName(v string) *AvailabilityZone { } // Contains all of the attributes of a specific cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheCluster type CacheCluster struct { _ struct{} `type:"structure"` @@ -5258,7 +5258,7 @@ func (s *CacheCluster) SetTransitEncryptionEnabled(v bool) *CacheCluster { } // Provides all of the details about a particular cache engine version. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheEngineVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheEngineVersion type CacheEngineVersion struct { _ struct{} `type:"structure"` @@ -5380,7 +5380,7 @@ func (s *CacheEngineVersion) SetEngineVersion(v string) *CacheEngineVersion { // Product Features and Details (http://aws.amazon.com/elasticache/details) // and either Cache Node Type-Specific Parameters for Memcached (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#ParameterGroups.Memcached.NodeSpecific) // or Cache Node Type-Specific Parameters for Redis (http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#ParameterGroups.Redis.NodeSpecific). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheNode +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheNode type CacheNode struct { _ struct{} `type:"structure"` @@ -5464,7 +5464,7 @@ func (s *CacheNode) SetSourceCacheNodeId(v string) *CacheNode { // A parameter that has a different value for each cache node type it is applied // to. For example, in a Redis cluster, a cache.m1.large cache node type would // have a larger maxmemory value than a cache.m1.small type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheNodeTypeSpecificParameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheNodeTypeSpecificParameter type CacheNodeTypeSpecificParameter struct { _ struct{} `type:"structure"` @@ -5566,7 +5566,7 @@ func (s *CacheNodeTypeSpecificParameter) SetSource(v string) *CacheNodeTypeSpeci } // A value that applies only to a certain cache node type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheNodeTypeSpecificValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheNodeTypeSpecificValue type CacheNodeTypeSpecificValue struct { _ struct{} `type:"structure"` @@ -5600,7 +5600,7 @@ func (s *CacheNodeTypeSpecificValue) SetValue(v string) *CacheNodeTypeSpecificVa } // Represents the output of a CreateCacheParameterGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroup type CacheParameterGroup struct { _ struct{} `type:"structure"` @@ -5650,7 +5650,7 @@ func (s *CacheParameterGroup) SetDescription(v string) *CacheParameterGroup { // * ModifyCacheParameterGroup // // * ResetCacheParameterGroup -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroupNameMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroupNameMessage type CacheParameterGroupNameMessage struct { _ struct{} `type:"structure"` @@ -5675,7 +5675,7 @@ func (s *CacheParameterGroupNameMessage) SetCacheParameterGroupName(v string) *C } // Status of the cache parameter group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroupStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroupStatus type CacheParameterGroupStatus struct { _ struct{} `type:"structure"` @@ -5725,7 +5725,7 @@ func (s *CacheParameterGroupStatus) SetParameterApplyStatus(v string) *CachePara // * CreateCacheSecurityGroup // // * RevokeCacheSecurityGroupIngress -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSecurityGroup type CacheSecurityGroup struct { _ struct{} `type:"structure"` @@ -5778,7 +5778,7 @@ func (s *CacheSecurityGroup) SetOwnerId(v string) *CacheSecurityGroup { } // Represents a cluster's status within a particular cache security group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSecurityGroupMembership +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSecurityGroupMembership type CacheSecurityGroupMembership struct { _ struct{} `type:"structure"` @@ -5818,7 +5818,7 @@ func (s *CacheSecurityGroupMembership) SetStatus(v string) *CacheSecurityGroupMe // * CreateCacheSubnetGroup // // * ModifyCacheSubnetGroup -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSubnetGroup type CacheSubnetGroup struct { _ struct{} `type:"structure"` @@ -5871,7 +5871,7 @@ func (s *CacheSubnetGroup) SetVpcId(v string) *CacheSubnetGroup { } // Represents the input of a CopySnapshotMessage operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshotMessage type CopySnapshotInput struct { _ struct{} `type:"structure"` @@ -5944,7 +5944,7 @@ func (s *CopySnapshotInput) SetTargetSnapshotName(v string) *CopySnapshotInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshotResult type CopySnapshotOutput struct { _ struct{} `type:"structure"` @@ -5970,7 +5970,7 @@ func (s *CopySnapshotOutput) SetSnapshot(v *Snapshot) *CopySnapshotOutput { } // Represents the input of a CreateCacheCluster operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheClusterMessage type CreateCacheClusterInput struct { _ struct{} `type:"structure"` @@ -6417,7 +6417,7 @@ func (s *CreateCacheClusterInput) SetTags(v []*Tag) *CreateCacheClusterInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheClusterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheClusterResult type CreateCacheClusterOutput struct { _ struct{} `type:"structure"` @@ -6442,7 +6442,7 @@ func (s *CreateCacheClusterOutput) SetCacheCluster(v *CacheCluster) *CreateCache } // Represents the input of a CreateCacheParameterGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheParameterGroupMessage type CreateCacheParameterGroupInput struct { _ struct{} `type:"structure"` @@ -6512,7 +6512,7 @@ func (s *CreateCacheParameterGroupInput) SetDescription(v string) *CreateCachePa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheParameterGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheParameterGroupResult type CreateCacheParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -6537,7 +6537,7 @@ func (s *CreateCacheParameterGroupOutput) SetCacheParameterGroup(v *CacheParamet } // Represents the input of a CreateCacheSecurityGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSecurityGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSecurityGroupMessage type CreateCacheSecurityGroupInput struct { _ struct{} `type:"structure"` @@ -6596,7 +6596,7 @@ func (s *CreateCacheSecurityGroupInput) SetDescription(v string) *CreateCacheSec return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSecurityGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSecurityGroupResult type CreateCacheSecurityGroupOutput struct { _ struct{} `type:"structure"` @@ -6627,7 +6627,7 @@ func (s *CreateCacheSecurityGroupOutput) SetCacheSecurityGroup(v *CacheSecurityG } // Represents the input of a CreateCacheSubnetGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSubnetGroupMessage type CreateCacheSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -6698,7 +6698,7 @@ func (s *CreateCacheSubnetGroupInput) SetSubnetIds(v []*string) *CreateCacheSubn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSubnetGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSubnetGroupResult type CreateCacheSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -6727,7 +6727,7 @@ func (s *CreateCacheSubnetGroupOutput) SetCacheSubnetGroup(v *CacheSubnetGroup) } // Represents the input of a CreateReplicationGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroupMessage type CreateReplicationGroupInput struct { _ struct{} `type:"structure"` @@ -7253,7 +7253,7 @@ func (s *CreateReplicationGroupInput) SetTransitEncryptionEnabled(v bool) *Creat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroupResult type CreateReplicationGroupOutput struct { _ struct{} `type:"structure"` @@ -7278,7 +7278,7 @@ func (s *CreateReplicationGroupOutput) SetReplicationGroup(v *ReplicationGroup) } // Represents the input of a CreateSnapshot operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshotMessage type CreateSnapshotInput struct { _ struct{} `type:"structure"` @@ -7337,7 +7337,7 @@ func (s *CreateSnapshotInput) SetSnapshotName(v string) *CreateSnapshotInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshotResult type CreateSnapshotOutput struct { _ struct{} `type:"structure"` @@ -7363,7 +7363,7 @@ func (s *CreateSnapshotOutput) SetSnapshot(v *Snapshot) *CreateSnapshotOutput { } // Represents the input of a DeleteCacheCluster operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheClusterMessage type DeleteCacheClusterInput struct { _ struct{} `type:"structure"` @@ -7414,7 +7414,7 @@ func (s *DeleteCacheClusterInput) SetFinalSnapshotIdentifier(v string) *DeleteCa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheClusterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheClusterResult type DeleteCacheClusterOutput struct { _ struct{} `type:"structure"` @@ -7439,7 +7439,7 @@ func (s *DeleteCacheClusterOutput) SetCacheCluster(v *CacheCluster) *DeleteCache } // Represents the input of a DeleteCacheParameterGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheParameterGroupMessage type DeleteCacheParameterGroupInput struct { _ struct{} `type:"structure"` @@ -7480,7 +7480,7 @@ func (s *DeleteCacheParameterGroupInput) SetCacheParameterGroupName(v string) *D return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheParameterGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheParameterGroupOutput type DeleteCacheParameterGroupOutput struct { _ struct{} `type:"structure"` } @@ -7496,7 +7496,7 @@ func (s DeleteCacheParameterGroupOutput) GoString() string { } // Represents the input of a DeleteCacheSecurityGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSecurityGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSecurityGroupMessage type DeleteCacheSecurityGroupInput struct { _ struct{} `type:"structure"` @@ -7537,7 +7537,7 @@ func (s *DeleteCacheSecurityGroupInput) SetCacheSecurityGroupName(v string) *Del return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSecurityGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSecurityGroupOutput type DeleteCacheSecurityGroupOutput struct { _ struct{} `type:"structure"` } @@ -7553,7 +7553,7 @@ func (s DeleteCacheSecurityGroupOutput) GoString() string { } // Represents the input of a DeleteCacheSubnetGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSubnetGroupMessage type DeleteCacheSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -7594,7 +7594,7 @@ func (s *DeleteCacheSubnetGroupInput) SetCacheSubnetGroupName(v string) *DeleteC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSubnetGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSubnetGroupOutput type DeleteCacheSubnetGroupOutput struct { _ struct{} `type:"structure"` } @@ -7610,7 +7610,7 @@ func (s DeleteCacheSubnetGroupOutput) GoString() string { } // Represents the input of a DeleteReplicationGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroupMessage type DeleteReplicationGroupInput struct { _ struct{} `type:"structure"` @@ -7672,7 +7672,7 @@ func (s *DeleteReplicationGroupInput) SetRetainPrimaryCluster(v bool) *DeleteRep return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroupResult type DeleteReplicationGroupOutput struct { _ struct{} `type:"structure"` @@ -7697,7 +7697,7 @@ func (s *DeleteReplicationGroupOutput) SetReplicationGroup(v *ReplicationGroup) } // Represents the input of a DeleteSnapshot operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteSnapshotMessage type DeleteSnapshotInput struct { _ struct{} `type:"structure"` @@ -7736,7 +7736,7 @@ func (s *DeleteSnapshotInput) SetSnapshotName(v string) *DeleteSnapshotInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteSnapshotResult type DeleteSnapshotOutput struct { _ struct{} `type:"structure"` @@ -7762,7 +7762,7 @@ func (s *DeleteSnapshotOutput) SetSnapshot(v *Snapshot) *DeleteSnapshotOutput { } // Represents the input of a DescribeCacheClusters operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheClustersMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheClustersMessage type DescribeCacheClustersInput struct { _ struct{} `type:"structure"` @@ -7836,7 +7836,7 @@ func (s *DescribeCacheClustersInput) SetShowCacheNodeInfo(v bool) *DescribeCache } // Represents the output of a DescribeCacheClusters operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheClusterMessage type DescribeCacheClustersOutput struct { _ struct{} `type:"structure"` @@ -7871,7 +7871,7 @@ func (s *DescribeCacheClustersOutput) SetMarker(v string) *DescribeCacheClusters } // Represents the input of a DescribeCacheEngineVersions operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheEngineVersionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheEngineVersionsMessage type DescribeCacheEngineVersionsInput struct { _ struct{} `type:"structure"` @@ -7962,7 +7962,7 @@ func (s *DescribeCacheEngineVersionsInput) SetMaxRecords(v int64) *DescribeCache } // Represents the output of a DescribeCacheEngineVersions operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheEngineVersionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheEngineVersionMessage type DescribeCacheEngineVersionsOutput struct { _ struct{} `type:"structure"` @@ -7997,7 +7997,7 @@ func (s *DescribeCacheEngineVersionsOutput) SetMarker(v string) *DescribeCacheEn } // Represents the input of a DescribeCacheParameterGroups operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameterGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameterGroupsMessage type DescribeCacheParameterGroupsInput struct { _ struct{} `type:"structure"` @@ -8048,7 +8048,7 @@ func (s *DescribeCacheParameterGroupsInput) SetMaxRecords(v int64) *DescribeCach } // Represents the output of a DescribeCacheParameterGroups operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroupsMessage type DescribeCacheParameterGroupsOutput struct { _ struct{} `type:"structure"` @@ -8083,7 +8083,7 @@ func (s *DescribeCacheParameterGroupsOutput) SetMarker(v string) *DescribeCacheP } // Represents the input of a DescribeCacheParameters operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParametersMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParametersMessage type DescribeCacheParametersInput struct { _ struct{} `type:"structure"` @@ -8160,7 +8160,7 @@ func (s *DescribeCacheParametersInput) SetSource(v string) *DescribeCacheParamet } // Represents the output of a DescribeCacheParameters operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroupDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroupDetails type DescribeCacheParametersOutput struct { _ struct{} `type:"structure"` @@ -8204,7 +8204,7 @@ func (s *DescribeCacheParametersOutput) SetParameters(v []*Parameter) *DescribeC } // Represents the input of a DescribeCacheSecurityGroups operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSecurityGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSecurityGroupsMessage type DescribeCacheSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -8255,7 +8255,7 @@ func (s *DescribeCacheSecurityGroupsInput) SetMaxRecords(v int64) *DescribeCache } // Represents the output of a DescribeCacheSecurityGroups operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSecurityGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSecurityGroupMessage type DescribeCacheSecurityGroupsOutput struct { _ struct{} `type:"structure"` @@ -8290,7 +8290,7 @@ func (s *DescribeCacheSecurityGroupsOutput) SetMarker(v string) *DescribeCacheSe } // Represents the input of a DescribeCacheSubnetGroups operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSubnetGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSubnetGroupsMessage type DescribeCacheSubnetGroupsInput struct { _ struct{} `type:"structure"` @@ -8341,7 +8341,7 @@ func (s *DescribeCacheSubnetGroupsInput) SetMaxRecords(v int64) *DescribeCacheSu } // Represents the output of a DescribeCacheSubnetGroups operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSubnetGroupMessage type DescribeCacheSubnetGroupsOutput struct { _ struct{} `type:"structure"` @@ -8376,7 +8376,7 @@ func (s *DescribeCacheSubnetGroupsOutput) SetMarker(v string) *DescribeCacheSubn } // Represents the input of a DescribeEngineDefaultParameters operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEngineDefaultParametersMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEngineDefaultParametersMessage type DescribeEngineDefaultParametersInput struct { _ struct{} `type:"structure"` @@ -8443,7 +8443,7 @@ func (s *DescribeEngineDefaultParametersInput) SetMaxRecords(v int64) *DescribeE return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEngineDefaultParametersResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEngineDefaultParametersResult type DescribeEngineDefaultParametersOutput struct { _ struct{} `type:"structure"` @@ -8468,7 +8468,7 @@ func (s *DescribeEngineDefaultParametersOutput) SetEngineDefaults(v *EngineDefau } // Represents the input of a DescribeEvents operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEventsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEventsMessage type DescribeEventsInput struct { _ struct{} `type:"structure"` @@ -8563,7 +8563,7 @@ func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput { } // Represents the output of a DescribeEvents operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/EventsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/EventsMessage type DescribeEventsOutput struct { _ struct{} `type:"structure"` @@ -8598,7 +8598,7 @@ func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput { } // Represents the input of a DescribeReplicationGroups operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReplicationGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReplicationGroupsMessage type DescribeReplicationGroupsInput struct { _ struct{} `type:"structure"` @@ -8653,7 +8653,7 @@ func (s *DescribeReplicationGroupsInput) SetReplicationGroupId(v string) *Descri } // Represents the output of a DescribeReplicationGroups operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReplicationGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReplicationGroupMessage type DescribeReplicationGroupsOutput struct { _ struct{} `type:"structure"` @@ -8688,7 +8688,7 @@ func (s *DescribeReplicationGroupsOutput) SetReplicationGroups(v []*ReplicationG } // Represents the input of a DescribeReservedCacheNodes operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodesMessage type DescribeReservedCacheNodesInput struct { _ struct{} `type:"structure"` @@ -8851,7 +8851,7 @@ func (s *DescribeReservedCacheNodesInput) SetReservedCacheNodesOfferingId(v stri } // Represents the input of a DescribeReservedCacheNodesOfferings operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodesOfferingsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodesOfferingsMessage type DescribeReservedCacheNodesOfferingsInput struct { _ struct{} `type:"structure"` @@ -9006,7 +9006,7 @@ func (s *DescribeReservedCacheNodesOfferingsInput) SetReservedCacheNodesOffering } // Represents the output of a DescribeReservedCacheNodesOfferings operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNodesOfferingMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNodesOfferingMessage type DescribeReservedCacheNodesOfferingsOutput struct { _ struct{} `type:"structure"` @@ -9041,7 +9041,7 @@ func (s *DescribeReservedCacheNodesOfferingsOutput) SetReservedCacheNodesOfferin } // Represents the output of a DescribeReservedCacheNodes operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNodeMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNodeMessage type DescribeReservedCacheNodesOutput struct { _ struct{} `type:"structure"` @@ -9076,7 +9076,7 @@ func (s *DescribeReservedCacheNodesOutput) SetReservedCacheNodes(v []*ReservedCa } // Represents the input of a DescribeSnapshotsMessage operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeSnapshotsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeSnapshotsMessage type DescribeSnapshotsInput struct { _ struct{} `type:"structure"` @@ -9170,7 +9170,7 @@ func (s *DescribeSnapshotsInput) SetSnapshotSource(v string) *DescribeSnapshotsI } // Represents the output of a DescribeSnapshots operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeSnapshotsListMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeSnapshotsListMessage type DescribeSnapshotsOutput struct { _ struct{} `type:"structure"` @@ -9207,7 +9207,7 @@ func (s *DescribeSnapshotsOutput) SetSnapshots(v []*Snapshot) *DescribeSnapshots } // Provides ownership and status information for an Amazon EC2 security group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/EC2SecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/EC2SecurityGroup type EC2SecurityGroup struct { _ struct{} `type:"structure"` @@ -9251,7 +9251,7 @@ func (s *EC2SecurityGroup) SetStatus(v string) *EC2SecurityGroup { // Represents the information required for client programs to connect to a cache // node. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Endpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Endpoint type Endpoint struct { _ struct{} `type:"structure"` @@ -9285,7 +9285,7 @@ func (s *Endpoint) SetPort(v int64) *Endpoint { } // Represents the output of a DescribeEngineDefaultParameters operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/EngineDefaults +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/EngineDefaults type EngineDefaults struct { _ struct{} `type:"structure"` @@ -9343,7 +9343,7 @@ func (s *EngineDefaults) SetParameters(v []*Parameter) *EngineDefaults { // Represents a single occurrence of something interesting within the system. // Some examples of events are creating a cluster, adding or removing a cache // node, or rebooting a node. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Event +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Event type Event struct { _ struct{} `type:"structure"` @@ -9397,7 +9397,7 @@ func (s *Event) SetSourceType(v string) *Event { } // The input parameters for the ListAllowedNodeTypeModifications operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListAllowedNodeTypeModificationsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListAllowedNodeTypeModificationsMessage type ListAllowedNodeTypeModificationsInput struct { _ struct{} `type:"structure"` @@ -9441,7 +9441,7 @@ func (s *ListAllowedNodeTypeModificationsInput) SetReplicationGroupId(v string) // Represents the allowed node types you can use to modify your cluster or replication // group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AllowedNodeTypeModificationsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AllowedNodeTypeModificationsMessage type ListAllowedNodeTypeModificationsOutput struct { _ struct{} `type:"structure"` @@ -9471,7 +9471,7 @@ func (s *ListAllowedNodeTypeModificationsOutput) SetScaleUpModifications(v []*st } // The input parameters for the ListTagsForResource operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListTagsForResourceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListTagsForResourceMessage type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -9516,7 +9516,7 @@ func (s *ListTagsForResourceInput) SetResourceName(v string) *ListTagsForResourc } // Represents the input of a ModifyCacheCluster operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheClusterMessage type ModifyCacheClusterInput struct { _ struct{} `type:"structure"` @@ -9883,7 +9883,7 @@ func (s *ModifyCacheClusterInput) SetSnapshotWindow(v string) *ModifyCacheCluste return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheClusterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheClusterResult type ModifyCacheClusterOutput struct { _ struct{} `type:"structure"` @@ -9908,7 +9908,7 @@ func (s *ModifyCacheClusterOutput) SetCacheCluster(v *CacheCluster) *ModifyCache } // Represents the input of a ModifyCacheParameterGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheParameterGroupMessage type ModifyCacheParameterGroupInput struct { _ struct{} `type:"structure"` @@ -9964,7 +9964,7 @@ func (s *ModifyCacheParameterGroupInput) SetParameterNameValues(v []*ParameterNa } // Represents the input of a ModifyCacheSubnetGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheSubnetGroupMessage type ModifyCacheSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -10026,7 +10026,7 @@ func (s *ModifyCacheSubnetGroupInput) SetSubnetIds(v []*string) *ModifyCacheSubn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheSubnetGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheSubnetGroupResult type ModifyCacheSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -10055,7 +10055,7 @@ func (s *ModifyCacheSubnetGroupOutput) SetCacheSubnetGroup(v *CacheSubnetGroup) } // Represents the input of a ModifyReplicationGroups operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupMessage type ModifyReplicationGroupInput struct { _ struct{} `type:"structure"` @@ -10333,7 +10333,7 @@ func (s *ModifyReplicationGroupInput) SetSnapshottingClusterId(v string) *Modify return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupResult type ModifyReplicationGroupOutput struct { _ struct{} `type:"structure"` @@ -10358,7 +10358,7 @@ func (s *ModifyReplicationGroupOutput) SetReplicationGroup(v *ReplicationGroup) } // Represents the input for a ModifyReplicationGroupShardConfiguration operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfigurationMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfigurationMessage type ModifyReplicationGroupShardConfigurationInput struct { _ struct{} `type:"structure"` @@ -10457,7 +10457,7 @@ func (s *ModifyReplicationGroupShardConfigurationInput) SetReshardingConfigurati return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfigurationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfigurationResult type ModifyReplicationGroupShardConfigurationOutput struct { _ struct{} `type:"structure"` @@ -10484,7 +10484,7 @@ func (s *ModifyReplicationGroupShardConfigurationOutput) SetReplicationGroup(v * // Represents a collection of cache nodes in a replication group. One node in // the node group is the read/write primary node. All the other nodes are read-only // Replica nodes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NodeGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NodeGroup type NodeGroup struct { _ struct{} `type:"structure"` @@ -10551,7 +10551,7 @@ func (s *NodeGroup) SetStatus(v string) *NodeGroup { // Node group (shard) configuration options. Each node group (shard) configuration // has the following: Slots, PrimaryAvailabilityZone, ReplicaAvailabilityZones, // ReplicaCount. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NodeGroupConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NodeGroupConfiguration type NodeGroupConfiguration struct { _ struct{} `type:"structure"` @@ -10609,7 +10609,7 @@ func (s *NodeGroupConfiguration) SetSlots(v string) *NodeGroupConfiguration { } // Represents a single node within a node group (shard). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NodeGroupMember +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NodeGroupMember type NodeGroupMember struct { _ struct{} `type:"structure"` @@ -10672,7 +10672,7 @@ func (s *NodeGroupMember) SetReadEndpoint(v *Endpoint) *NodeGroupMember { } // Represents an individual cache node in a snapshot of a cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NodeSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NodeSnapshot type NodeSnapshot struct { _ struct{} `type:"structure"` @@ -10754,7 +10754,7 @@ func (s *NodeSnapshot) SetSnapshotCreateTime(v time.Time) *NodeSnapshot { // Describes a notification topic and its status. Notification topics are used // for publishing ElastiCache events to subscribers using Amazon Simple Notification // Service (SNS). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NotificationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NotificationConfiguration type NotificationConfiguration struct { _ struct{} `type:"structure"` @@ -10789,7 +10789,7 @@ func (s *NotificationConfiguration) SetTopicStatus(v string) *NotificationConfig // Describes an individual setting that controls some aspect of ElastiCache // behavior. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Parameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Parameter type Parameter struct { _ struct{} `type:"structure"` @@ -10891,7 +10891,7 @@ func (s *Parameter) SetSource(v string) *Parameter { } // Describes a name-value pair that is used to update the value of a parameter. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ParameterNameValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ParameterNameValue type ParameterNameValue struct { _ struct{} `type:"structure"` @@ -10926,7 +10926,7 @@ func (s *ParameterNameValue) SetParameterValue(v string) *ParameterNameValue { // A group of settings that are applied to the cluster in the future, or that // are currently being applied. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PendingModifiedValues +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PendingModifiedValues type PendingModifiedValues struct { _ struct{} `type:"structure"` @@ -10982,7 +10982,7 @@ func (s *PendingModifiedValues) SetNumCacheNodes(v int64) *PendingModifiedValues } // Represents the input of a PurchaseReservedCacheNodesOffering operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PurchaseReservedCacheNodesOfferingMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PurchaseReservedCacheNodesOfferingMessage type PurchaseReservedCacheNodesOfferingInput struct { _ struct{} `type:"structure"` @@ -11049,7 +11049,7 @@ func (s *PurchaseReservedCacheNodesOfferingInput) SetReservedCacheNodesOfferingI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PurchaseReservedCacheNodesOfferingResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PurchaseReservedCacheNodesOfferingResult type PurchaseReservedCacheNodesOfferingOutput struct { _ struct{} `type:"structure"` @@ -11074,7 +11074,7 @@ func (s *PurchaseReservedCacheNodesOfferingOutput) SetReservedCacheNode(v *Reser } // Represents the input of a RebootCacheCluster operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheClusterMessage type RebootCacheClusterInput struct { _ struct{} `type:"structure"` @@ -11128,7 +11128,7 @@ func (s *RebootCacheClusterInput) SetCacheNodeIdsToReboot(v []*string) *RebootCa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheClusterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheClusterResult type RebootCacheClusterOutput struct { _ struct{} `type:"structure"` @@ -11154,7 +11154,7 @@ func (s *RebootCacheClusterOutput) SetCacheCluster(v *CacheCluster) *RebootCache // Contains the specific price and frequency of a recurring charges for a reserved // cache node, or for a reserved cache node offering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RecurringCharge +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RecurringCharge type RecurringCharge struct { _ struct{} `type:"structure"` @@ -11188,7 +11188,7 @@ func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge } // Represents the input of a RemoveTagsFromResource operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RemoveTagsFromResourceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RemoveTagsFromResourceMessage type RemoveTagsFromResourceInput struct { _ struct{} `type:"structure"` @@ -11247,7 +11247,7 @@ func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromRes } // Contains all of the attributes of a specific Redis replication group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReplicationGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReplicationGroup type ReplicationGroup struct { _ struct{} `type:"structure"` @@ -11457,7 +11457,7 @@ func (s *ReplicationGroup) SetTransitEncryptionEnabled(v bool) *ReplicationGroup // The settings to be applied to the Redis replication group, either immediately // or during the next maintenance window. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReplicationGroupPendingModifiedValues +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReplicationGroupPendingModifiedValues type ReplicationGroupPendingModifiedValues struct { _ struct{} `type:"structure"` @@ -11511,7 +11511,7 @@ func (s *ReplicationGroupPendingModifiedValues) SetResharding(v *ReshardingStatu } // Represents the output of a PurchaseReservedCacheNodesOffering operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNode +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNode type ReservedCacheNode struct { _ struct{} `type:"structure"` @@ -11692,7 +11692,7 @@ func (s *ReservedCacheNode) SetUsagePrice(v float64) *ReservedCacheNode { } // Describes all of the attributes of a reserved cache node offering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNodesOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNodesOffering type ReservedCacheNodesOffering struct { _ struct{} `type:"structure"` @@ -11837,7 +11837,7 @@ func (s *ReservedCacheNodesOffering) SetUsagePrice(v float64) *ReservedCacheNode } // Represents the input of a ResetCacheParameterGroup operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ResetCacheParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ResetCacheParameterGroupMessage type ResetCacheParameterGroupInput struct { _ struct{} `type:"structure"` @@ -11902,7 +11902,7 @@ func (s *ResetCacheParameterGroupInput) SetResetAllParameters(v bool) *ResetCach // A list of PreferredAvailabilityZones objects that specifies the configuration // of a node group in the resharded cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReshardingConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReshardingConfiguration type ReshardingConfiguration struct { _ struct{} `type:"structure"` @@ -11927,7 +11927,7 @@ func (s *ReshardingConfiguration) SetPreferredAvailabilityZones(v []*string) *Re } // The status of an online resharding operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReshardingStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReshardingStatus type ReshardingStatus struct { _ struct{} `type:"structure"` @@ -11952,7 +11952,7 @@ func (s *ReshardingStatus) SetSlotMigration(v *SlotMigration) *ReshardingStatus } // Represents the input of a RevokeCacheSecurityGroupIngress operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RevokeCacheSecurityGroupIngressMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RevokeCacheSecurityGroupIngressMessage type RevokeCacheSecurityGroupIngressInput struct { _ struct{} `type:"structure"` @@ -12021,7 +12021,7 @@ func (s *RevokeCacheSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v stri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RevokeCacheSecurityGroupIngressResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RevokeCacheSecurityGroupIngressResult type RevokeCacheSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` @@ -12052,7 +12052,7 @@ func (s *RevokeCacheSecurityGroupIngressOutput) SetCacheSecurityGroup(v *CacheSe } // Represents a single cache security group and its status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/SecurityGroupMembership +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/SecurityGroupMembership type SecurityGroupMembership struct { _ struct{} `type:"structure"` @@ -12088,7 +12088,7 @@ func (s *SecurityGroupMembership) SetStatus(v string) *SecurityGroupMembership { } // Represents the progress of an online resharding operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/SlotMigration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/SlotMigration type SlotMigration struct { _ struct{} `type:"structure"` @@ -12114,7 +12114,7 @@ func (s *SlotMigration) SetProgressPercentage(v float64) *SlotMigration { // Represents a copy of an entire Redis cluster as of the time when the snapshot // was taken. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Snapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Snapshot type Snapshot struct { _ struct{} `type:"structure"` @@ -12455,7 +12455,7 @@ func (s *Snapshot) SetVpcId(v string) *Snapshot { // Represents the subnet associated with a cluster. This parameter refers to // subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with // ElastiCache. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Subnet +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Subnet type Subnet struct { _ struct{} `type:"structure"` @@ -12491,7 +12491,7 @@ func (s *Subnet) SetSubnetIdentifier(v string) *Subnet { // A cost allocation Tag that can be added to an ElastiCache cluster or replication // group. Tags are composed of a Key/Value pair. A tag with a null Value is // permitted. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Tag type Tag struct { _ struct{} `type:"structure"` @@ -12526,7 +12526,7 @@ func (s *Tag) SetValue(v string) *Tag { // Represents the output from the AddTagsToResource, ListTagsForResource, and // RemoveTagsFromResource operations. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TagListMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TagListMessage type TagListMessage struct { _ struct{} `type:"structure"` @@ -12550,7 +12550,7 @@ func (s *TagListMessage) SetTagList(v []*Tag) *TagListMessage { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailoverMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailoverMessage type TestFailoverInput struct { _ struct{} `type:"structure"` @@ -12606,7 +12606,7 @@ func (s *TestFailoverInput) SetReplicationGroupId(v string) *TestFailoverInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailoverResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailoverResult type TestFailoverOutput struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/elasticbeanstalk/api.go b/vendor/github.com/aws/aws-sdk-go/service/elasticbeanstalk/api.go index 565f5bec963..73f46a687ed 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/elasticbeanstalk/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/elasticbeanstalk/api.go @@ -38,7 +38,7 @@ const opAbortEnvironmentUpdate = "AbortEnvironmentUpdate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate func (c *ElasticBeanstalk) AbortEnvironmentUpdateRequest(input *AbortEnvironmentUpdateInput) (req *request.Request, output *AbortEnvironmentUpdateOutput) { op := &request.Operation{ Name: opAbortEnvironmentUpdate, @@ -74,7 +74,7 @@ func (c *ElasticBeanstalk) AbortEnvironmentUpdateRequest(input *AbortEnvironment // The specified account does not have sufficient privileges for one of more // AWS services. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate func (c *ElasticBeanstalk) AbortEnvironmentUpdate(input *AbortEnvironmentUpdateInput) (*AbortEnvironmentUpdateOutput, error) { req, out := c.AbortEnvironmentUpdateRequest(input) return out, req.Send() @@ -121,7 +121,7 @@ const opApplyEnvironmentManagedAction = "ApplyEnvironmentManagedAction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedAction func (c *ElasticBeanstalk) ApplyEnvironmentManagedActionRequest(input *ApplyEnvironmentManagedActionInput) (req *request.Request, output *ApplyEnvironmentManagedActionOutput) { op := &request.Operation{ Name: opApplyEnvironmentManagedAction, @@ -158,7 +158,7 @@ func (c *ElasticBeanstalk) ApplyEnvironmentManagedActionRequest(input *ApplyEnvi // * ErrCodeManagedActionInvalidStateException "ManagedActionInvalidStateException" // Cannot modify the managed action in its current state. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedAction func (c *ElasticBeanstalk) ApplyEnvironmentManagedAction(input *ApplyEnvironmentManagedActionInput) (*ApplyEnvironmentManagedActionOutput, error) { req, out := c.ApplyEnvironmentManagedActionRequest(input) return out, req.Send() @@ -205,7 +205,7 @@ const opCheckDNSAvailability = "CheckDNSAvailability" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CheckDNSAvailability +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CheckDNSAvailability func (c *ElasticBeanstalk) CheckDNSAvailabilityRequest(input *CheckDNSAvailabilityInput) (req *request.Request, output *CheckDNSAvailabilityOutput) { op := &request.Operation{ Name: opCheckDNSAvailability, @@ -232,7 +232,7 @@ func (c *ElasticBeanstalk) CheckDNSAvailabilityRequest(input *CheckDNSAvailabili // // See the AWS API reference guide for AWS Elastic Beanstalk's // API operation CheckDNSAvailability for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CheckDNSAvailability +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CheckDNSAvailability func (c *ElasticBeanstalk) CheckDNSAvailability(input *CheckDNSAvailabilityInput) (*CheckDNSAvailabilityOutput, error) { req, out := c.CheckDNSAvailabilityRequest(input) return out, req.Send() @@ -279,7 +279,7 @@ const opComposeEnvironments = "ComposeEnvironments" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironments +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironments func (c *ElasticBeanstalk) ComposeEnvironmentsRequest(input *ComposeEnvironmentsInput) (req *request.Request, output *EnvironmentDescriptionsMessage) { op := &request.Operation{ Name: opComposeEnvironments, @@ -321,7 +321,7 @@ func (c *ElasticBeanstalk) ComposeEnvironmentsRequest(input *ComposeEnvironments // The specified account does not have sufficient privileges for one of more // AWS services. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironments +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironments func (c *ElasticBeanstalk) ComposeEnvironments(input *ComposeEnvironmentsInput) (*EnvironmentDescriptionsMessage, error) { req, out := c.ComposeEnvironmentsRequest(input) return out, req.Send() @@ -368,7 +368,7 @@ const opCreateApplication = "CreateApplication" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplication func (c *ElasticBeanstalk) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *ApplicationDescriptionMessage) { op := &request.Operation{ Name: opCreateApplication, @@ -401,7 +401,7 @@ func (c *ElasticBeanstalk) CreateApplicationRequest(input *CreateApplicationInpu // * ErrCodeTooManyApplicationsException "TooManyApplicationsException" // The specified account has reached its limit of applications. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplication func (c *ElasticBeanstalk) CreateApplication(input *CreateApplicationInput) (*ApplicationDescriptionMessage, error) { req, out := c.CreateApplicationRequest(input) return out, req.Send() @@ -448,7 +448,7 @@ const opCreateApplicationVersion = "CreateApplicationVersion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationVersion func (c *ElasticBeanstalk) CreateApplicationVersionRequest(input *CreateApplicationVersionInput) (req *request.Request, output *ApplicationVersionDescriptionMessage) { op := &request.Operation{ Name: opCreateApplicationVersion, @@ -516,7 +516,7 @@ func (c *ElasticBeanstalk) CreateApplicationVersionRequest(input *CreateApplicat // * ErrCodeCodeBuildNotInServiceRegionException "CodeBuildNotInServiceRegionException" // AWS CodeBuild is not available in the specified region. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationVersion func (c *ElasticBeanstalk) CreateApplicationVersion(input *CreateApplicationVersionInput) (*ApplicationVersionDescriptionMessage, error) { req, out := c.CreateApplicationVersionRequest(input) return out, req.Send() @@ -563,7 +563,7 @@ const opCreateConfigurationTemplate = "CreateConfigurationTemplate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplate func (c *ElasticBeanstalk) CreateConfigurationTemplateRequest(input *CreateConfigurationTemplateInput) (req *request.Request, output *ConfigurationSettingsDescription) { op := &request.Operation{ Name: opCreateConfigurationTemplate, @@ -612,7 +612,7 @@ func (c *ElasticBeanstalk) CreateConfigurationTemplateRequest(input *CreateConfi // * ErrCodeTooManyConfigurationTemplatesException "TooManyConfigurationTemplatesException" // The specified account has reached its limit of configuration templates. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplate func (c *ElasticBeanstalk) CreateConfigurationTemplate(input *CreateConfigurationTemplateInput) (*ConfigurationSettingsDescription, error) { req, out := c.CreateConfigurationTemplateRequest(input) return out, req.Send() @@ -659,7 +659,7 @@ const opCreateEnvironment = "CreateEnvironment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateEnvironment func (c *ElasticBeanstalk) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req *request.Request, output *EnvironmentDescription) { op := &request.Operation{ Name: opCreateEnvironment, @@ -696,7 +696,7 @@ func (c *ElasticBeanstalk) CreateEnvironmentRequest(input *CreateEnvironmentInpu // The specified account does not have sufficient privileges for one of more // AWS services. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateEnvironment func (c *ElasticBeanstalk) CreateEnvironment(input *CreateEnvironmentInput) (*EnvironmentDescription, error) { req, out := c.CreateEnvironmentRequest(input) return out, req.Send() @@ -743,7 +743,7 @@ const opCreatePlatformVersion = "CreatePlatformVersion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersion func (c *ElasticBeanstalk) CreatePlatformVersionRequest(input *CreatePlatformVersionInput) (req *request.Request, output *CreatePlatformVersionOutput) { op := &request.Operation{ Name: opCreatePlatformVersion, @@ -783,7 +783,7 @@ func (c *ElasticBeanstalk) CreatePlatformVersionRequest(input *CreatePlatformVer // You have exceeded the maximum number of allowed platforms associated with // the account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersion func (c *ElasticBeanstalk) CreatePlatformVersion(input *CreatePlatformVersionInput) (*CreatePlatformVersionOutput, error) { req, out := c.CreatePlatformVersionRequest(input) return out, req.Send() @@ -830,7 +830,7 @@ const opCreateStorageLocation = "CreateStorageLocation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateStorageLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateStorageLocation func (c *ElasticBeanstalk) CreateStorageLocationRequest(input *CreateStorageLocationInput) (req *request.Request, output *CreateStorageLocationOutput) { op := &request.Operation{ Name: opCreateStorageLocation, @@ -849,9 +849,11 @@ func (c *ElasticBeanstalk) CreateStorageLocationRequest(input *CreateStorageLoca // CreateStorageLocation API operation for AWS Elastic Beanstalk. // -// Creates the Amazon S3 storage location for the account. -// -// This location is used to store user log files. +// Creates a bucket in Amazon S3 to store application versions, logs, and other +// files used by Elastic Beanstalk environments. The Elastic Beanstalk console +// and EB CLI call this API the first time you create an environment in a region. +// If the storage location already exists, CreateStorageLocation still returns +// the bucket name but does not create a new bucket. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -871,7 +873,7 @@ func (c *ElasticBeanstalk) CreateStorageLocationRequest(input *CreateStorageLoca // The specified account does not have sufficient privileges for one of more // AWS services. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateStorageLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateStorageLocation func (c *ElasticBeanstalk) CreateStorageLocation(input *CreateStorageLocationInput) (*CreateStorageLocationOutput, error) { req, out := c.CreateStorageLocationRequest(input) return out, req.Send() @@ -918,7 +920,7 @@ const opDeleteApplication = "DeleteApplication" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplication func (c *ElasticBeanstalk) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) { op := &request.Operation{ Name: opDeleteApplication, @@ -957,7 +959,7 @@ func (c *ElasticBeanstalk) DeleteApplicationRequest(input *DeleteApplicationInpu // Unable to perform the specified operation because another operation that // effects an element in this activity is already in progress. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplication func (c *ElasticBeanstalk) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) { req, out := c.DeleteApplicationRequest(input) return out, req.Send() @@ -1004,7 +1006,7 @@ const opDeleteApplicationVersion = "DeleteApplicationVersion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationVersion func (c *ElasticBeanstalk) DeleteApplicationVersionRequest(input *DeleteApplicationVersionInput) (req *request.Request, output *DeleteApplicationVersionOutput) { op := &request.Operation{ Name: opDeleteApplicationVersion, @@ -1060,7 +1062,7 @@ func (c *ElasticBeanstalk) DeleteApplicationVersionRequest(input *DeleteApplicat // // * DUB/eu-west-1 // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationVersion func (c *ElasticBeanstalk) DeleteApplicationVersion(input *DeleteApplicationVersionInput) (*DeleteApplicationVersionOutput, error) { req, out := c.DeleteApplicationVersionRequest(input) return out, req.Send() @@ -1107,7 +1109,7 @@ const opDeleteConfigurationTemplate = "DeleteConfigurationTemplate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteConfigurationTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteConfigurationTemplate func (c *ElasticBeanstalk) DeleteConfigurationTemplateRequest(input *DeleteConfigurationTemplateInput) (req *request.Request, output *DeleteConfigurationTemplateOutput) { op := &request.Operation{ Name: opDeleteConfigurationTemplate, @@ -1146,7 +1148,7 @@ func (c *ElasticBeanstalk) DeleteConfigurationTemplateRequest(input *DeleteConfi // Unable to perform the specified operation because another operation that // effects an element in this activity is already in progress. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteConfigurationTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteConfigurationTemplate func (c *ElasticBeanstalk) DeleteConfigurationTemplate(input *DeleteConfigurationTemplateInput) (*DeleteConfigurationTemplateOutput, error) { req, out := c.DeleteConfigurationTemplateRequest(input) return out, req.Send() @@ -1193,7 +1195,7 @@ const opDeleteEnvironmentConfiguration = "DeleteEnvironmentConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteEnvironmentConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteEnvironmentConfiguration func (c *ElasticBeanstalk) DeleteEnvironmentConfigurationRequest(input *DeleteEnvironmentConfigurationInput) (req *request.Request, output *DeleteEnvironmentConfigurationOutput) { op := &request.Operation{ Name: opDeleteEnvironmentConfiguration, @@ -1229,7 +1231,7 @@ func (c *ElasticBeanstalk) DeleteEnvironmentConfigurationRequest(input *DeleteEn // // See the AWS API reference guide for AWS Elastic Beanstalk's // API operation DeleteEnvironmentConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteEnvironmentConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteEnvironmentConfiguration func (c *ElasticBeanstalk) DeleteEnvironmentConfiguration(input *DeleteEnvironmentConfigurationInput) (*DeleteEnvironmentConfigurationOutput, error) { req, out := c.DeleteEnvironmentConfigurationRequest(input) return out, req.Send() @@ -1276,7 +1278,7 @@ const opDeletePlatformVersion = "DeletePlatformVersion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeletePlatformVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeletePlatformVersion func (c *ElasticBeanstalk) DeletePlatformVersionRequest(input *DeletePlatformVersionInput) (req *request.Request, output *DeletePlatformVersionOutput) { op := &request.Operation{ Name: opDeletePlatformVersion, @@ -1320,7 +1322,7 @@ func (c *ElasticBeanstalk) DeletePlatformVersionRequest(input *DeletePlatformVer // You cannot delete the platform version because there are still environments // running on it. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeletePlatformVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeletePlatformVersion func (c *ElasticBeanstalk) DeletePlatformVersion(input *DeletePlatformVersionInput) (*DeletePlatformVersionOutput, error) { req, out := c.DeletePlatformVersionRequest(input) return out, req.Send() @@ -1367,7 +1369,7 @@ const opDescribeApplicationVersions = "DescribeApplicationVersions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationVersions func (c *ElasticBeanstalk) DescribeApplicationVersionsRequest(input *DescribeApplicationVersionsInput) (req *request.Request, output *DescribeApplicationVersionsOutput) { op := &request.Operation{ Name: opDescribeApplicationVersions, @@ -1394,7 +1396,7 @@ func (c *ElasticBeanstalk) DescribeApplicationVersionsRequest(input *DescribeApp // // See the AWS API reference guide for AWS Elastic Beanstalk's // API operation DescribeApplicationVersions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationVersions func (c *ElasticBeanstalk) DescribeApplicationVersions(input *DescribeApplicationVersionsInput) (*DescribeApplicationVersionsOutput, error) { req, out := c.DescribeApplicationVersionsRequest(input) return out, req.Send() @@ -1441,7 +1443,7 @@ const opDescribeApplications = "DescribeApplications" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplications +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplications func (c *ElasticBeanstalk) DescribeApplicationsRequest(input *DescribeApplicationsInput) (req *request.Request, output *DescribeApplicationsOutput) { op := &request.Operation{ Name: opDescribeApplications, @@ -1468,7 +1470,7 @@ func (c *ElasticBeanstalk) DescribeApplicationsRequest(input *DescribeApplicatio // // See the AWS API reference guide for AWS Elastic Beanstalk's // API operation DescribeApplications for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplications +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplications func (c *ElasticBeanstalk) DescribeApplications(input *DescribeApplicationsInput) (*DescribeApplicationsOutput, error) { req, out := c.DescribeApplicationsRequest(input) return out, req.Send() @@ -1515,7 +1517,7 @@ const opDescribeConfigurationOptions = "DescribeConfigurationOptions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationOptions func (c *ElasticBeanstalk) DescribeConfigurationOptionsRequest(input *DescribeConfigurationOptionsInput) (req *request.Request, output *DescribeConfigurationOptionsOutput) { op := &request.Operation{ Name: opDescribeConfigurationOptions, @@ -1551,7 +1553,7 @@ func (c *ElasticBeanstalk) DescribeConfigurationOptionsRequest(input *DescribeCo // * ErrCodeTooManyBucketsException "TooManyBucketsException" // The specified account has reached its limit of Amazon S3 buckets. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationOptions func (c *ElasticBeanstalk) DescribeConfigurationOptions(input *DescribeConfigurationOptionsInput) (*DescribeConfigurationOptionsOutput, error) { req, out := c.DescribeConfigurationOptionsRequest(input) return out, req.Send() @@ -1598,7 +1600,7 @@ const opDescribeConfigurationSettings = "DescribeConfigurationSettings" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationSettings func (c *ElasticBeanstalk) DescribeConfigurationSettingsRequest(input *DescribeConfigurationSettingsInput) (req *request.Request, output *DescribeConfigurationSettingsOutput) { op := &request.Operation{ Name: opDescribeConfigurationSettings, @@ -1642,7 +1644,7 @@ func (c *ElasticBeanstalk) DescribeConfigurationSettingsRequest(input *DescribeC // * ErrCodeTooManyBucketsException "TooManyBucketsException" // The specified account has reached its limit of Amazon S3 buckets. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationSettings func (c *ElasticBeanstalk) DescribeConfigurationSettings(input *DescribeConfigurationSettingsInput) (*DescribeConfigurationSettingsOutput, error) { req, out := c.DescribeConfigurationSettingsRequest(input) return out, req.Send() @@ -1689,7 +1691,7 @@ const opDescribeEnvironmentHealth = "DescribeEnvironmentHealth" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealth +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealth func (c *ElasticBeanstalk) DescribeEnvironmentHealthRequest(input *DescribeEnvironmentHealthInput) (req *request.Request, output *DescribeEnvironmentHealthOutput) { op := &request.Operation{ Name: opDescribeEnvironmentHealth, @@ -1727,7 +1729,7 @@ func (c *ElasticBeanstalk) DescribeEnvironmentHealthRequest(input *DescribeEnvir // * ErrCodeServiceException "ServiceException" // A generic service exception has occurred. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealth +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealth func (c *ElasticBeanstalk) DescribeEnvironmentHealth(input *DescribeEnvironmentHealthInput) (*DescribeEnvironmentHealthOutput, error) { req, out := c.DescribeEnvironmentHealthRequest(input) return out, req.Send() @@ -1774,7 +1776,7 @@ const opDescribeEnvironmentManagedActionHistory = "DescribeEnvironmentManagedAct // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistory func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionHistoryRequest(input *DescribeEnvironmentManagedActionHistoryInput) (req *request.Request, output *DescribeEnvironmentManagedActionHistoryOutput) { op := &request.Operation{ Name: opDescribeEnvironmentManagedActionHistory, @@ -1806,7 +1808,7 @@ func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionHistoryRequest(input // * ErrCodeServiceException "ServiceException" // A generic service exception has occurred. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistory func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionHistory(input *DescribeEnvironmentManagedActionHistoryInput) (*DescribeEnvironmentManagedActionHistoryOutput, error) { req, out := c.DescribeEnvironmentManagedActionHistoryRequest(input) return out, req.Send() @@ -1853,7 +1855,7 @@ const opDescribeEnvironmentManagedActions = "DescribeEnvironmentManagedActions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActions func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionsRequest(input *DescribeEnvironmentManagedActionsInput) (req *request.Request, output *DescribeEnvironmentManagedActionsOutput) { op := &request.Operation{ Name: opDescribeEnvironmentManagedActions, @@ -1885,7 +1887,7 @@ func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionsRequest(input *Descr // * ErrCodeServiceException "ServiceException" // A generic service exception has occurred. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActions func (c *ElasticBeanstalk) DescribeEnvironmentManagedActions(input *DescribeEnvironmentManagedActionsInput) (*DescribeEnvironmentManagedActionsOutput, error) { req, out := c.DescribeEnvironmentManagedActionsRequest(input) return out, req.Send() @@ -1932,7 +1934,7 @@ const opDescribeEnvironmentResources = "DescribeEnvironmentResources" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentResources +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentResources func (c *ElasticBeanstalk) DescribeEnvironmentResourcesRequest(input *DescribeEnvironmentResourcesInput) (req *request.Request, output *DescribeEnvironmentResourcesOutput) { op := &request.Operation{ Name: opDescribeEnvironmentResources, @@ -1965,7 +1967,7 @@ func (c *ElasticBeanstalk) DescribeEnvironmentResourcesRequest(input *DescribeEn // The specified account does not have sufficient privileges for one of more // AWS services. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentResources +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentResources func (c *ElasticBeanstalk) DescribeEnvironmentResources(input *DescribeEnvironmentResourcesInput) (*DescribeEnvironmentResourcesOutput, error) { req, out := c.DescribeEnvironmentResourcesRequest(input) return out, req.Send() @@ -2012,7 +2014,7 @@ const opDescribeEnvironments = "DescribeEnvironments" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironments +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironments func (c *ElasticBeanstalk) DescribeEnvironmentsRequest(input *DescribeEnvironmentsInput) (req *request.Request, output *EnvironmentDescriptionsMessage) { op := &request.Operation{ Name: opDescribeEnvironments, @@ -2039,7 +2041,7 @@ func (c *ElasticBeanstalk) DescribeEnvironmentsRequest(input *DescribeEnvironmen // // See the AWS API reference guide for AWS Elastic Beanstalk's // API operation DescribeEnvironments for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironments +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironments func (c *ElasticBeanstalk) DescribeEnvironments(input *DescribeEnvironmentsInput) (*EnvironmentDescriptionsMessage, error) { req, out := c.DescribeEnvironmentsRequest(input) return out, req.Send() @@ -2086,7 +2088,7 @@ const opDescribeEvents = "DescribeEvents" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEvents func (c *ElasticBeanstalk) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { op := &request.Operation{ Name: opDescribeEvents, @@ -2121,7 +2123,7 @@ func (c *ElasticBeanstalk) DescribeEventsRequest(input *DescribeEventsInput) (re // // See the AWS API reference guide for AWS Elastic Beanstalk's // API operation DescribeEvents for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEvents func (c *ElasticBeanstalk) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) { req, out := c.DescribeEventsRequest(input) return out, req.Send() @@ -2218,7 +2220,7 @@ const opDescribeInstancesHealth = "DescribeInstancesHealth" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealth +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealth func (c *ElasticBeanstalk) DescribeInstancesHealthRequest(input *DescribeInstancesHealthInput) (req *request.Request, output *DescribeInstancesHealthOutput) { op := &request.Operation{ Name: opDescribeInstancesHealth, @@ -2255,7 +2257,7 @@ func (c *ElasticBeanstalk) DescribeInstancesHealthRequest(input *DescribeInstanc // * ErrCodeServiceException "ServiceException" // A generic service exception has occurred. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealth +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealth func (c *ElasticBeanstalk) DescribeInstancesHealth(input *DescribeInstancesHealthInput) (*DescribeInstancesHealthOutput, error) { req, out := c.DescribeInstancesHealthRequest(input) return out, req.Send() @@ -2302,7 +2304,7 @@ const opDescribePlatformVersion = "DescribePlatformVersion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersion func (c *ElasticBeanstalk) DescribePlatformVersionRequest(input *DescribePlatformVersionInput) (req *request.Request, output *DescribePlatformVersionOutput) { op := &request.Operation{ Name: opDescribePlatformVersion, @@ -2338,7 +2340,7 @@ func (c *ElasticBeanstalk) DescribePlatformVersionRequest(input *DescribePlatfor // * ErrCodeServiceException "ServiceException" // A generic service exception has occurred. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersion func (c *ElasticBeanstalk) DescribePlatformVersion(input *DescribePlatformVersionInput) (*DescribePlatformVersionOutput, error) { req, out := c.DescribePlatformVersionRequest(input) return out, req.Send() @@ -2385,7 +2387,7 @@ const opListAvailableSolutionStacks = "ListAvailableSolutionStacks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListAvailableSolutionStacks +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListAvailableSolutionStacks func (c *ElasticBeanstalk) ListAvailableSolutionStacksRequest(input *ListAvailableSolutionStacksInput) (req *request.Request, output *ListAvailableSolutionStacksOutput) { op := &request.Operation{ Name: opListAvailableSolutionStacks, @@ -2413,7 +2415,7 @@ func (c *ElasticBeanstalk) ListAvailableSolutionStacksRequest(input *ListAvailab // // See the AWS API reference guide for AWS Elastic Beanstalk's // API operation ListAvailableSolutionStacks for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListAvailableSolutionStacks +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListAvailableSolutionStacks func (c *ElasticBeanstalk) ListAvailableSolutionStacks(input *ListAvailableSolutionStacksInput) (*ListAvailableSolutionStacksOutput, error) { req, out := c.ListAvailableSolutionStacksRequest(input) return out, req.Send() @@ -2460,7 +2462,7 @@ const opListPlatformVersions = "ListPlatformVersions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersions func (c *ElasticBeanstalk) ListPlatformVersionsRequest(input *ListPlatformVersionsInput) (req *request.Request, output *ListPlatformVersionsOutput) { op := &request.Operation{ Name: opListPlatformVersions, @@ -2496,7 +2498,7 @@ func (c *ElasticBeanstalk) ListPlatformVersionsRequest(input *ListPlatformVersio // * ErrCodeServiceException "ServiceException" // A generic service exception has occurred. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersions func (c *ElasticBeanstalk) ListPlatformVersions(input *ListPlatformVersionsInput) (*ListPlatformVersionsOutput, error) { req, out := c.ListPlatformVersionsRequest(input) return out, req.Send() @@ -2543,7 +2545,7 @@ const opListTagsForResource = "ListTagsForResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListTagsForResource func (c *ElasticBeanstalk) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ Name: opListTagsForResource, @@ -2565,7 +2567,9 @@ func (c *ElasticBeanstalk) ListTagsForResourceRequest(input *ListTagsForResource // Returns the tags applied to an AWS Elastic Beanstalk resource. The response // contains a list of tag key-value pairs. // -// Currently, Elastic Beanstalk only supports tagging Elastic Beanstalk environments. +// Currently, Elastic Beanstalk only supports tagging of Elastic Beanstalk environments. +// For details about environment tagging, see Tagging Resources in Your Elastic +// Beanstalk Environment (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.tagging.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2586,7 +2590,7 @@ func (c *ElasticBeanstalk) ListTagsForResourceRequest(input *ListTagsForResource // The type of the specified Amazon Resource Name (ARN) isn't supported for // this operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListTagsForResource func (c *ElasticBeanstalk) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { req, out := c.ListTagsForResourceRequest(input) return out, req.Send() @@ -2633,7 +2637,7 @@ const opRebuildEnvironment = "RebuildEnvironment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RebuildEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RebuildEnvironment func (c *ElasticBeanstalk) RebuildEnvironmentRequest(input *RebuildEnvironmentInput) (req *request.Request, output *RebuildEnvironmentOutput) { op := &request.Operation{ Name: opRebuildEnvironment, @@ -2669,7 +2673,7 @@ func (c *ElasticBeanstalk) RebuildEnvironmentRequest(input *RebuildEnvironmentIn // The specified account does not have sufficient privileges for one of more // AWS services. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RebuildEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RebuildEnvironment func (c *ElasticBeanstalk) RebuildEnvironment(input *RebuildEnvironmentInput) (*RebuildEnvironmentOutput, error) { req, out := c.RebuildEnvironmentRequest(input) return out, req.Send() @@ -2716,7 +2720,7 @@ const opRequestEnvironmentInfo = "RequestEnvironmentInfo" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RequestEnvironmentInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RequestEnvironmentInfo func (c *ElasticBeanstalk) RequestEnvironmentInfoRequest(input *RequestEnvironmentInfoInput) (req *request.Request, output *RequestEnvironmentInfoOutput) { op := &request.Operation{ Name: opRequestEnvironmentInfo, @@ -2759,7 +2763,7 @@ func (c *ElasticBeanstalk) RequestEnvironmentInfoRequest(input *RequestEnvironme // // See the AWS API reference guide for AWS Elastic Beanstalk's // API operation RequestEnvironmentInfo for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RequestEnvironmentInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RequestEnvironmentInfo func (c *ElasticBeanstalk) RequestEnvironmentInfo(input *RequestEnvironmentInfoInput) (*RequestEnvironmentInfoOutput, error) { req, out := c.RequestEnvironmentInfoRequest(input) return out, req.Send() @@ -2806,7 +2810,7 @@ const opRestartAppServer = "RestartAppServer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RestartAppServer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RestartAppServer func (c *ElasticBeanstalk) RestartAppServerRequest(input *RestartAppServerInput) (req *request.Request, output *RestartAppServerOutput) { op := &request.Operation{ Name: opRestartAppServer, @@ -2836,7 +2840,7 @@ func (c *ElasticBeanstalk) RestartAppServerRequest(input *RestartAppServerInput) // // See the AWS API reference guide for AWS Elastic Beanstalk's // API operation RestartAppServer for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RestartAppServer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RestartAppServer func (c *ElasticBeanstalk) RestartAppServer(input *RestartAppServerInput) (*RestartAppServerOutput, error) { req, out := c.RestartAppServerRequest(input) return out, req.Send() @@ -2883,7 +2887,7 @@ const opRetrieveEnvironmentInfo = "RetrieveEnvironmentInfo" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RetrieveEnvironmentInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RetrieveEnvironmentInfo func (c *ElasticBeanstalk) RetrieveEnvironmentInfoRequest(input *RetrieveEnvironmentInfoInput) (req *request.Request, output *RetrieveEnvironmentInfoOutput) { op := &request.Operation{ Name: opRetrieveEnvironmentInfo, @@ -2914,7 +2918,7 @@ func (c *ElasticBeanstalk) RetrieveEnvironmentInfoRequest(input *RetrieveEnviron // // See the AWS API reference guide for AWS Elastic Beanstalk's // API operation RetrieveEnvironmentInfo for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RetrieveEnvironmentInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RetrieveEnvironmentInfo func (c *ElasticBeanstalk) RetrieveEnvironmentInfo(input *RetrieveEnvironmentInfoInput) (*RetrieveEnvironmentInfoOutput, error) { req, out := c.RetrieveEnvironmentInfoRequest(input) return out, req.Send() @@ -2961,7 +2965,7 @@ const opSwapEnvironmentCNAMEs = "SwapEnvironmentCNAMEs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SwapEnvironmentCNAMEs +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SwapEnvironmentCNAMEs func (c *ElasticBeanstalk) SwapEnvironmentCNAMEsRequest(input *SwapEnvironmentCNAMEsInput) (req *request.Request, output *SwapEnvironmentCNAMEsOutput) { op := &request.Operation{ Name: opSwapEnvironmentCNAMEs, @@ -2990,7 +2994,7 @@ func (c *ElasticBeanstalk) SwapEnvironmentCNAMEsRequest(input *SwapEnvironmentCN // // See the AWS API reference guide for AWS Elastic Beanstalk's // API operation SwapEnvironmentCNAMEs for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SwapEnvironmentCNAMEs +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SwapEnvironmentCNAMEs func (c *ElasticBeanstalk) SwapEnvironmentCNAMEs(input *SwapEnvironmentCNAMEsInput) (*SwapEnvironmentCNAMEsOutput, error) { req, out := c.SwapEnvironmentCNAMEsRequest(input) return out, req.Send() @@ -3037,7 +3041,7 @@ const opTerminateEnvironment = "TerminateEnvironment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironment func (c *ElasticBeanstalk) TerminateEnvironmentRequest(input *TerminateEnvironmentInput) (req *request.Request, output *EnvironmentDescription) { op := &request.Operation{ Name: opTerminateEnvironment, @@ -3070,7 +3074,7 @@ func (c *ElasticBeanstalk) TerminateEnvironmentRequest(input *TerminateEnvironme // The specified account does not have sufficient privileges for one of more // AWS services. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironment func (c *ElasticBeanstalk) TerminateEnvironment(input *TerminateEnvironmentInput) (*EnvironmentDescription, error) { req, out := c.TerminateEnvironmentRequest(input) return out, req.Send() @@ -3117,7 +3121,7 @@ const opUpdateApplication = "UpdateApplication" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplication func (c *ElasticBeanstalk) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *ApplicationDescriptionMessage) { op := &request.Operation{ Name: opUpdateApplication, @@ -3147,7 +3151,7 @@ func (c *ElasticBeanstalk) UpdateApplicationRequest(input *UpdateApplicationInpu // // See the AWS API reference guide for AWS Elastic Beanstalk's // API operation UpdateApplication for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplication func (c *ElasticBeanstalk) UpdateApplication(input *UpdateApplicationInput) (*ApplicationDescriptionMessage, error) { req, out := c.UpdateApplicationRequest(input) return out, req.Send() @@ -3194,7 +3198,7 @@ const opUpdateApplicationResourceLifecycle = "UpdateApplicationResourceLifecycle // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationResourceLifecycle +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationResourceLifecycle func (c *ElasticBeanstalk) UpdateApplicationResourceLifecycleRequest(input *UpdateApplicationResourceLifecycleInput) (req *request.Request, output *UpdateApplicationResourceLifecycleOutput) { op := &request.Operation{ Name: opUpdateApplicationResourceLifecycle, @@ -3227,7 +3231,7 @@ func (c *ElasticBeanstalk) UpdateApplicationResourceLifecycleRequest(input *Upda // The specified account does not have sufficient privileges for one of more // AWS services. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationResourceLifecycle +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationResourceLifecycle func (c *ElasticBeanstalk) UpdateApplicationResourceLifecycle(input *UpdateApplicationResourceLifecycleInput) (*UpdateApplicationResourceLifecycleOutput, error) { req, out := c.UpdateApplicationResourceLifecycleRequest(input) return out, req.Send() @@ -3274,7 +3278,7 @@ const opUpdateApplicationVersion = "UpdateApplicationVersion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationVersion func (c *ElasticBeanstalk) UpdateApplicationVersionRequest(input *UpdateApplicationVersionInput) (req *request.Request, output *ApplicationVersionDescriptionMessage) { op := &request.Operation{ Name: opUpdateApplicationVersion, @@ -3304,7 +3308,7 @@ func (c *ElasticBeanstalk) UpdateApplicationVersionRequest(input *UpdateApplicat // // See the AWS API reference guide for AWS Elastic Beanstalk's // API operation UpdateApplicationVersion for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationVersion func (c *ElasticBeanstalk) UpdateApplicationVersion(input *UpdateApplicationVersionInput) (*ApplicationVersionDescriptionMessage, error) { req, out := c.UpdateApplicationVersionRequest(input) return out, req.Send() @@ -3351,7 +3355,7 @@ const opUpdateConfigurationTemplate = "UpdateConfigurationTemplate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateConfigurationTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateConfigurationTemplate func (c *ElasticBeanstalk) UpdateConfigurationTemplateRequest(input *UpdateConfigurationTemplateInput) (req *request.Request, output *ConfigurationSettingsDescription) { op := &request.Operation{ Name: opUpdateConfigurationTemplate, @@ -3395,7 +3399,7 @@ func (c *ElasticBeanstalk) UpdateConfigurationTemplateRequest(input *UpdateConfi // * ErrCodeTooManyBucketsException "TooManyBucketsException" // The specified account has reached its limit of Amazon S3 buckets. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateConfigurationTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateConfigurationTemplate func (c *ElasticBeanstalk) UpdateConfigurationTemplate(input *UpdateConfigurationTemplateInput) (*ConfigurationSettingsDescription, error) { req, out := c.UpdateConfigurationTemplateRequest(input) return out, req.Send() @@ -3442,7 +3446,7 @@ const opUpdateEnvironment = "UpdateEnvironment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateEnvironment func (c *ElasticBeanstalk) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *request.Request, output *EnvironmentDescription) { op := &request.Operation{ Name: opUpdateEnvironment, @@ -3488,7 +3492,7 @@ func (c *ElasticBeanstalk) UpdateEnvironmentRequest(input *UpdateEnvironmentInpu // * ErrCodeTooManyBucketsException "TooManyBucketsException" // The specified account has reached its limit of Amazon S3 buckets. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateEnvironment +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateEnvironment func (c *ElasticBeanstalk) UpdateEnvironment(input *UpdateEnvironmentInput) (*EnvironmentDescription, error) { req, out := c.UpdateEnvironmentRequest(input) return out, req.Send() @@ -3535,7 +3539,7 @@ const opUpdateTagsForResource = "UpdateTagsForResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResource func (c *ElasticBeanstalk) UpdateTagsForResourceRequest(input *UpdateTagsForResourceInput) (req *request.Request, output *UpdateTagsForResourceOutput) { op := &request.Operation{ Name: opUpdateTagsForResource, @@ -3560,6 +3564,21 @@ func (c *ElasticBeanstalk) UpdateTagsForResourceRequest(input *UpdateTagsForReso // lists can be passed: TagsToAdd for tags to add or update, and TagsToRemove. // // Currently, Elastic Beanstalk only supports tagging of Elastic Beanstalk environments. +// For details about environment tagging, see Tagging Resources in Your Elastic +// Beanstalk Environment (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.tagging.html). +// +// If you create a custom IAM user policy to control permission to this operation, +// specify one of the following two virtual actions (or both) instead of the +// API operation name: +// +// elasticbeanstalk:AddTagsControls permission to call UpdateTagsForResource +// and pass a list of tags to add in the TagsToAdd parameter. +// +// elasticbeanstalk:RemoveTagsControls permission to call UpdateTagsForResource +// and pass a list of tag keys to remove in the TagsToRemove parameter. +// +// For details about creating a custom user policy, see Creating a Custom User +// Policy (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.managed-policies.html#AWSHowTo.iam.policies). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3591,7 +3610,7 @@ func (c *ElasticBeanstalk) UpdateTagsForResourceRequest(input *UpdateTagsForReso // The type of the specified Amazon Resource Name (ARN) isn't supported for // this operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResource func (c *ElasticBeanstalk) UpdateTagsForResource(input *UpdateTagsForResourceInput) (*UpdateTagsForResourceOutput, error) { req, out := c.UpdateTagsForResourceRequest(input) return out, req.Send() @@ -3638,7 +3657,7 @@ const opValidateConfigurationSettings = "ValidateConfigurationSettings" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidateConfigurationSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidateConfigurationSettings func (c *ElasticBeanstalk) ValidateConfigurationSettingsRequest(input *ValidateConfigurationSettingsInput) (req *request.Request, output *ValidateConfigurationSettingsOutput) { op := &request.Operation{ Name: opValidateConfigurationSettings, @@ -3678,7 +3697,7 @@ func (c *ElasticBeanstalk) ValidateConfigurationSettingsRequest(input *ValidateC // * ErrCodeTooManyBucketsException "TooManyBucketsException" // The specified account has reached its limit of Amazon S3 buckets. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidateConfigurationSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidateConfigurationSettings func (c *ElasticBeanstalk) ValidateConfigurationSettings(input *ValidateConfigurationSettingsInput) (*ValidateConfigurationSettingsOutput, error) { req, out := c.ValidateConfigurationSettingsRequest(input) return out, req.Send() @@ -3700,7 +3719,7 @@ func (c *ElasticBeanstalk) ValidateConfigurationSettingsWithContext(ctx aws.Cont return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdateMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdateMessage type AbortEnvironmentUpdateInput struct { _ struct{} `type:"structure"` @@ -3748,7 +3767,7 @@ func (s *AbortEnvironmentUpdateInput) SetEnvironmentName(v string) *AbortEnviron return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdateOutput type AbortEnvironmentUpdateOutput struct { _ struct{} `type:"structure"` } @@ -3764,7 +3783,7 @@ func (s AbortEnvironmentUpdateOutput) GoString() string { } // Describes the properties of an application. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationDescription type ApplicationDescription struct { _ struct{} `type:"structure"` @@ -3843,7 +3862,7 @@ func (s *ApplicationDescription) SetVersions(v []*string) *ApplicationDescriptio } // Result message containing a single description of an application. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationDescriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationDescriptionMessage type ApplicationDescriptionMessage struct { _ struct{} `type:"structure"` @@ -3868,7 +3887,7 @@ func (s *ApplicationDescriptionMessage) SetApplication(v *ApplicationDescription } // Application request metrics for an AWS Elastic Beanstalk environment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationMetrics +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationMetrics type ApplicationMetrics struct { _ struct{} `type:"structure"` @@ -3929,7 +3948,7 @@ func (s *ApplicationMetrics) SetStatusCodes(v *StatusCodes) *ApplicationMetrics // that Elastic Beanstalk assumes in order to apply lifecycle settings. The // version lifecycle configuration defines lifecycle settings for application // versions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationResourceLifecycleConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationResourceLifecycleConfig type ApplicationResourceLifecycleConfig struct { _ struct{} `type:"structure"` @@ -3978,7 +3997,7 @@ func (s *ApplicationResourceLifecycleConfig) SetVersionLifecycleConfig(v *Applic } // Describes the properties of an application version. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationVersionDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationVersionDescription type ApplicationVersionDescription struct { _ struct{} `type:"structure"` @@ -4077,7 +4096,7 @@ func (s *ApplicationVersionDescription) SetVersionLabel(v string) *ApplicationVe } // Result message wrapping a single description of an application version. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationVersionDescriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationVersionDescriptionMessage type ApplicationVersionDescriptionMessage struct { _ struct{} `type:"structure"` @@ -4108,7 +4127,7 @@ func (s *ApplicationVersionDescriptionMessage) SetApplicationVersion(v *Applicat // When Elastic Beanstalk deletes an application version from its database, // you can no longer deploy that version to an environment. The source bundle // remains in S3 unless you configure the rule to delete it. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationVersionLifecycleConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationVersionLifecycleConfig type ApplicationVersionLifecycleConfig struct { _ struct{} `type:"structure"` @@ -4164,7 +4183,7 @@ func (s *ApplicationVersionLifecycleConfig) SetMaxCountRule(v *MaxCountRule) *Ap } // Request to execute a scheduled managed action immediately. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedActionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedActionRequest type ApplyEnvironmentManagedActionInput struct { _ struct{} `type:"structure"` @@ -4222,7 +4241,7 @@ func (s *ApplyEnvironmentManagedActionInput) SetEnvironmentName(v string) *Apply } // The result message containing information about the managed action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedActionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedActionResult type ApplyEnvironmentManagedActionOutput struct { _ struct{} `type:"structure"` @@ -4274,7 +4293,7 @@ func (s *ApplyEnvironmentManagedActionOutput) SetStatus(v string) *ApplyEnvironm } // Describes an Auto Scaling launch configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AutoScalingGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AutoScalingGroup type AutoScalingGroup struct { _ struct{} `type:"structure"` @@ -4299,7 +4318,7 @@ func (s *AutoScalingGroup) SetName(v string) *AutoScalingGroup { } // Settings for an AWS CodeBuild build. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/BuildConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/BuildConfiguration type BuildConfiguration struct { _ struct{} `type:"structure"` @@ -4393,7 +4412,7 @@ func (s *BuildConfiguration) SetTimeoutInMinutes(v int64) *BuildConfiguration { } // The builder used to build the custom platform. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Builder +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Builder type Builder struct { _ struct{} `type:"structure"` @@ -4418,7 +4437,7 @@ func (s *Builder) SetARN(v string) *Builder { } // CPU utilization metrics for an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CPUUtilization +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CPUUtilization type CPUUtilization struct { _ struct{} `type:"structure"` @@ -4504,7 +4523,7 @@ func (s *CPUUtilization) SetUser(v float64) *CPUUtilization { } // Results message indicating whether a CNAME is available. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CheckDNSAvailabilityMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CheckDNSAvailabilityMessage type CheckDNSAvailabilityInput struct { _ struct{} `type:"structure"` @@ -4547,7 +4566,7 @@ func (s *CheckDNSAvailabilityInput) SetCNAMEPrefix(v string) *CheckDNSAvailabili } // Indicates if the specified CNAME is available. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CheckDNSAvailabilityResultMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CheckDNSAvailabilityResultMessage type CheckDNSAvailabilityOutput struct { _ struct{} `type:"structure"` @@ -4586,7 +4605,7 @@ func (s *CheckDNSAvailabilityOutput) SetFullyQualifiedCNAME(v string) *CheckDNSA } // Request to create or update a group of environments. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironmentsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironmentsMessage type ComposeEnvironmentsInput struct { _ struct{} `type:"structure"` @@ -4653,7 +4672,7 @@ func (s *ComposeEnvironmentsInput) SetVersionLabels(v []*string) *ComposeEnviron } // Describes the possible values for a configuration option. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationOptionDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationOptionDescription type ConfigurationOptionDescription struct { _ struct{} `type:"structure"` @@ -4810,7 +4829,7 @@ func (s *ConfigurationOptionDescription) SetValueType(v string) *ConfigurationOp // its current value. For a list of possible option values, go to Option Values // (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html) // in the AWS Elastic Beanstalk Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationOptionSetting +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationOptionSetting type ConfigurationOptionSetting struct { _ struct{} `type:"structure"` @@ -4875,7 +4894,7 @@ func (s *ConfigurationOptionSetting) SetValue(v string) *ConfigurationOptionSett } // Describes the settings for a configuration set. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationSettingsDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationSettingsDescription type ConfigurationSettingsDescription struct { _ struct{} `type:"structure"` @@ -4994,7 +5013,7 @@ func (s *ConfigurationSettingsDescription) SetTemplateName(v string) *Configurat } // Request to create an application. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationMessage type CreateApplicationInput struct { _ struct{} `type:"structure"` @@ -5063,7 +5082,7 @@ func (s *CreateApplicationInput) SetResourceLifecycleConfig(v *ApplicationResour return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationVersionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationVersionMessage type CreateApplicationVersionInput struct { _ struct{} `type:"structure"` @@ -5083,9 +5102,14 @@ type CreateApplicationVersionInput struct { // Describes this version. Description *string `type:"string"` - // Preprocesses and validates the environment manifest and configuration files - // in the source bundle. Validating configuration files can identify issues - // prior to deploying the application version to an environment. + // Preprocesses and validates the environment manifest (env.yaml) and configuration + // files (*.config files in the .ebextensions folder) in the source bundle. + // Validating configuration files can identify issues prior to deploying the + // application version to an environment. + // + // The Process option validates Elastic Beanstalk configuration files. It doesn't + // validate your application's configuration files, like proxy server or Docker + // configuration. Process *bool `type:"boolean"` // Specify a commit in an AWS CodeCommit Git repository to use as the source @@ -5203,7 +5227,7 @@ func (s *CreateApplicationVersionInput) SetVersionLabel(v string) *CreateApplica } // Request to create a configuration template. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplateMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplateMessage type CreateConfigurationTemplateInput struct { _ struct{} `type:"structure"` @@ -5225,7 +5249,7 @@ type CreateConfigurationTemplateInput struct { // solution stack or the source configuration template. OptionSettings []*ConfigurationOptionSetting `type:"list"` - // The ARN of the custome platform. + // The ARN of the custom platform. PlatformArn *string `type:"string"` // The name of the solution stack used by this configuration. The solution stack @@ -5363,7 +5387,7 @@ func (s *CreateConfigurationTemplateInput) SetTemplateName(v string) *CreateConf return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateEnvironmentMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateEnvironmentMessage type CreateEnvironmentInput struct { _ struct{} `type:"structure"` @@ -5591,7 +5615,7 @@ func (s *CreateEnvironmentInput) SetVersionLabel(v string) *CreateEnvironmentInp } // Request to create a new platform version. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersionRequest type CreatePlatformVersionInput struct { _ struct{} `type:"structure"` @@ -5689,7 +5713,7 @@ func (s *CreatePlatformVersionInput) SetPlatformVersion(v string) *CreatePlatfor return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersionResult type CreatePlatformVersionOutput struct { _ struct{} `type:"structure"` @@ -5722,7 +5746,7 @@ func (s *CreatePlatformVersionOutput) SetPlatformSummary(v *PlatformSummary) *Cr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateStorageLocationInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateStorageLocationInput type CreateStorageLocationInput struct { _ struct{} `type:"structure"` } @@ -5738,7 +5762,7 @@ func (s CreateStorageLocationInput) GoString() string { } // Results of a CreateStorageLocationResult call. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateStorageLocationResultMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateStorageLocationResultMessage type CreateStorageLocationOutput struct { _ struct{} `type:"structure"` @@ -5763,7 +5787,7 @@ func (s *CreateStorageLocationOutput) SetS3Bucket(v string) *CreateStorageLocati } // A custom AMI available to platforms. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CustomAmi +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CustomAmi type CustomAmi struct { _ struct{} `type:"structure"` @@ -5797,7 +5821,7 @@ func (s *CustomAmi) SetVirtualizationType(v string) *CustomAmi { } // Request to delete an application. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationMessage type DeleteApplicationInput struct { _ struct{} `type:"structure"` @@ -5849,7 +5873,7 @@ func (s *DeleteApplicationInput) SetTerminateEnvByForce(v bool) *DeleteApplicati return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationOutput type DeleteApplicationOutput struct { _ struct{} `type:"structure"` } @@ -5865,7 +5889,7 @@ func (s DeleteApplicationOutput) GoString() string { } // Request to delete an application version. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationVersionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationVersionMessage type DeleteApplicationVersionInput struct { _ struct{} `type:"structure"` @@ -5935,7 +5959,7 @@ func (s *DeleteApplicationVersionInput) SetVersionLabel(v string) *DeleteApplica return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationVersionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationVersionOutput type DeleteApplicationVersionOutput struct { _ struct{} `type:"structure"` } @@ -5951,7 +5975,7 @@ func (s DeleteApplicationVersionOutput) GoString() string { } // Request to delete a configuration template. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteConfigurationTemplateMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteConfigurationTemplateMessage type DeleteConfigurationTemplateInput struct { _ struct{} `type:"structure"` @@ -6010,7 +6034,7 @@ func (s *DeleteConfigurationTemplateInput) SetTemplateName(v string) *DeleteConf return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteConfigurationTemplateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteConfigurationTemplateOutput type DeleteConfigurationTemplateOutput struct { _ struct{} `type:"structure"` } @@ -6026,7 +6050,7 @@ func (s DeleteConfigurationTemplateOutput) GoString() string { } // Request to delete a draft environment configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteEnvironmentConfigurationMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteEnvironmentConfigurationMessage type DeleteEnvironmentConfigurationInput struct { _ struct{} `type:"structure"` @@ -6085,7 +6109,7 @@ func (s *DeleteEnvironmentConfigurationInput) SetEnvironmentName(v string) *Dele return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteEnvironmentConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteEnvironmentConfigurationOutput type DeleteEnvironmentConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -6100,7 +6124,7 @@ func (s DeleteEnvironmentConfigurationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeletePlatformVersionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeletePlatformVersionRequest type DeletePlatformVersionInput struct { _ struct{} `type:"structure"` @@ -6124,7 +6148,7 @@ func (s *DeletePlatformVersionInput) SetPlatformArn(v string) *DeletePlatformVer return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeletePlatformVersionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeletePlatformVersionResult type DeletePlatformVersionOutput struct { _ struct{} `type:"structure"` @@ -6149,7 +6173,7 @@ func (s *DeletePlatformVersionOutput) SetPlatformSummary(v *PlatformSummary) *De } // Information about an application version deployment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Deployment +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Deployment type Deployment struct { _ struct{} `type:"structure"` @@ -6210,7 +6234,7 @@ func (s *Deployment) SetVersionLabel(v string) *Deployment { } // Request to describe application versions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationVersionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationVersionsMessage type DescribeApplicationVersionsInput struct { _ struct{} `type:"structure"` @@ -6286,7 +6310,7 @@ func (s *DescribeApplicationVersionsInput) SetVersionLabels(v []*string) *Descri } // Result message wrapping a list of application version descriptions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationVersionDescriptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationVersionDescriptionsMessage type DescribeApplicationVersionsOutput struct { _ struct{} `type:"structure"` @@ -6321,7 +6345,7 @@ func (s *DescribeApplicationVersionsOutput) SetNextToken(v string) *DescribeAppl } // Request to describe one or more applications. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationsMessage type DescribeApplicationsInput struct { _ struct{} `type:"structure"` @@ -6347,7 +6371,7 @@ func (s *DescribeApplicationsInput) SetApplicationNames(v []*string) *DescribeAp } // Result message containing a list of application descriptions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationDescriptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationDescriptionsMessage type DescribeApplicationsOutput struct { _ struct{} `type:"structure"` @@ -6372,7 +6396,7 @@ func (s *DescribeApplicationsOutput) SetApplications(v []*ApplicationDescription } // Result message containing a list of application version descriptions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationOptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationOptionsMessage type DescribeConfigurationOptionsInput struct { _ struct{} `type:"structure"` @@ -6474,7 +6498,7 @@ func (s *DescribeConfigurationOptionsInput) SetTemplateName(v string) *DescribeC } // Describes the settings for a specified configuration set. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationOptionsDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationOptionsDescription type DescribeConfigurationOptionsOutput struct { _ struct{} `type:"structure"` @@ -6518,7 +6542,7 @@ func (s *DescribeConfigurationOptionsOutput) SetSolutionStackName(v string) *Des // Result message containing all of the configuration settings for a specified // solution stack or configuration template. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationSettingsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationSettingsMessage type DescribeConfigurationSettingsInput struct { _ struct{} `type:"structure"` @@ -6595,7 +6619,7 @@ func (s *DescribeConfigurationSettingsInput) SetTemplateName(v string) *Describe } // The results from a request to change the configuration settings of an environment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationSettingsDescriptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationSettingsDescriptions type DescribeConfigurationSettingsOutput struct { _ struct{} `type:"structure"` @@ -6620,7 +6644,7 @@ func (s *DescribeConfigurationSettingsOutput) SetConfigurationSettings(v []*Conf } // See the example below to learn how to create a request body. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealthRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealthRequest type DescribeEnvironmentHealthInput struct { _ struct{} `type:"structure"` @@ -6681,7 +6705,7 @@ func (s *DescribeEnvironmentHealthInput) SetEnvironmentName(v string) *DescribeE } // Health details for an AWS Elastic Beanstalk environment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealthResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealthResult type DescribeEnvironmentHealthOutput struct { _ struct{} `type:"structure"` @@ -6773,7 +6797,7 @@ func (s *DescribeEnvironmentHealthOutput) SetStatus(v string) *DescribeEnvironme } // Request to list completed and failed managed actions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistoryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistoryRequest type DescribeEnvironmentManagedActionHistoryInput struct { _ struct{} `type:"structure"` @@ -6838,7 +6862,7 @@ func (s *DescribeEnvironmentManagedActionHistoryInput) SetNextToken(v string) *D } // A result message containing a list of completed and failed managed actions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistoryResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistoryResult type DescribeEnvironmentManagedActionHistoryOutput struct { _ struct{} `type:"structure"` @@ -6873,7 +6897,7 @@ func (s *DescribeEnvironmentManagedActionHistoryOutput) SetNextToken(v string) * } // Request to list an environment's upcoming and in-progress managed actions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionsRequest type DescribeEnvironmentManagedActionsInput struct { _ struct{} `type:"structure"` @@ -6916,7 +6940,7 @@ func (s *DescribeEnvironmentManagedActionsInput) SetStatus(v string) *DescribeEn } // The result message containing a list of managed actions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionsResult type DescribeEnvironmentManagedActionsOutput struct { _ struct{} `type:"structure"` @@ -6941,7 +6965,7 @@ func (s *DescribeEnvironmentManagedActionsOutput) SetManagedActions(v []*Managed } // Request to describe the resources in an environment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentResourcesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentResourcesMessage type DescribeEnvironmentResourcesInput struct { _ struct{} `type:"structure"` @@ -6996,7 +7020,7 @@ func (s *DescribeEnvironmentResourcesInput) SetEnvironmentName(v string) *Descri } // Result message containing a list of environment resource descriptions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentResourceDescriptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentResourceDescriptionsMessage type DescribeEnvironmentResourcesOutput struct { _ struct{} `type:"structure"` @@ -7021,7 +7045,7 @@ func (s *DescribeEnvironmentResourcesOutput) SetEnvironmentResources(v *Environm } // Request to describe one or more environments. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentsMessage type DescribeEnvironmentsInput struct { _ struct{} `type:"structure"` @@ -7146,7 +7170,7 @@ func (s *DescribeEnvironmentsInput) SetVersionLabel(v string) *DescribeEnvironme } // Request to retrieve a list of events for an environment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEventsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEventsMessage type DescribeEventsInput struct { _ struct{} `type:"structure"` @@ -7305,7 +7329,7 @@ func (s *DescribeEventsInput) SetVersionLabel(v string) *DescribeEventsInput { } // Result message wrapping a list of event descriptions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EventDescriptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EventDescriptionsMessage type DescribeEventsOutput struct { _ struct{} `type:"structure"` @@ -7340,7 +7364,7 @@ func (s *DescribeEventsOutput) SetNextToken(v string) *DescribeEventsOutput { } // Parameters for a call to DescribeInstancesHealth. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealthRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealthRequest type DescribeInstancesHealthInput struct { _ struct{} `type:"structure"` @@ -7410,7 +7434,7 @@ func (s *DescribeInstancesHealthInput) SetNextToken(v string) *DescribeInstances // Detailed health information about the Amazon EC2 instances in an AWS Elastic // Beanstalk environment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealthResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealthResult type DescribeInstancesHealthOutput struct { _ struct{} `type:"structure"` @@ -7452,7 +7476,7 @@ func (s *DescribeInstancesHealthOutput) SetRefreshedAt(v time.Time) *DescribeIns return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersionRequest type DescribePlatformVersionInput struct { _ struct{} `type:"structure"` @@ -7476,7 +7500,7 @@ func (s *DescribePlatformVersionInput) SetPlatformArn(v string) *DescribePlatfor return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersionResult type DescribePlatformVersionOutput struct { _ struct{} `type:"structure"` @@ -7501,7 +7525,7 @@ func (s *DescribePlatformVersionOutput) SetPlatformDescription(v *PlatformDescri } // Describes the properties of an environment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentDescription type EnvironmentDescription struct { _ struct{} `type:"structure"` @@ -7732,7 +7756,7 @@ func (s *EnvironmentDescription) SetVersionLabel(v string) *EnvironmentDescripti } // Result message containing a list of environment descriptions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentDescriptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentDescriptionsMessage type EnvironmentDescriptionsMessage struct { _ struct{} `type:"structure"` @@ -7767,7 +7791,7 @@ func (s *EnvironmentDescriptionsMessage) SetNextToken(v string) *EnvironmentDesc } // The information retrieved from the Amazon EC2 instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentInfoDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentInfoDescription type EnvironmentInfoDescription struct { _ struct{} `type:"structure"` @@ -7823,7 +7847,7 @@ func (s *EnvironmentInfoDescription) SetSampleTimestamp(v time.Time) *Environmen // to another environment in the same group. See Environment Manifest (env.yaml) // (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-cfg-manifest.html) // for details. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentLink +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentLink type EnvironmentLink struct { _ struct{} `type:"structure"` @@ -7857,7 +7881,7 @@ func (s *EnvironmentLink) SetLinkName(v string) *EnvironmentLink { } // Describes the AWS resources in use by this environment. This data is live. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentResourceDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentResourceDescription type EnvironmentResourceDescription struct { _ struct{} `type:"structure"` @@ -7937,7 +7961,7 @@ func (s *EnvironmentResourceDescription) SetTriggers(v []*Trigger) *EnvironmentR // Describes the AWS resources in use by this environment. This data is not // live data. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentResourcesDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentResourcesDescription type EnvironmentResourcesDescription struct { _ struct{} `type:"structure"` @@ -7962,7 +7986,7 @@ func (s *EnvironmentResourcesDescription) SetLoadBalancer(v *LoadBalancerDescrip } // Describes the properties of an environment tier -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentTier +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentTier type EnvironmentTier struct { _ struct{} `type:"structure"` @@ -8005,7 +8029,7 @@ func (s *EnvironmentTier) SetVersion(v string) *EnvironmentTier { } // Describes an event. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EventDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EventDescription type EventDescription struct { _ struct{} `type:"structure"` @@ -8102,7 +8126,7 @@ func (s *EventDescription) SetVersionLabel(v string) *EventDescription { } // The description of an Amazon EC2 instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Instance +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Instance type Instance struct { _ struct{} `type:"structure"` @@ -8128,7 +8152,7 @@ func (s *Instance) SetId(v string) *Instance { // Represents summary information about the health of an instance. For more // information, see Health Colors and Statuses (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/InstanceHealthSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/InstanceHealthSummary type InstanceHealthSummary struct { _ struct{} `type:"structure"` @@ -8223,7 +8247,7 @@ func (s *InstanceHealthSummary) SetWarning(v int64) *InstanceHealthSummary { // Represents the average latency for the slowest X percent of requests over // the last 10 seconds. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Latency +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Latency type Latency struct { _ struct{} `type:"structure"` @@ -8319,7 +8343,7 @@ func (s *Latency) SetP999(v float64) *Latency { } // Describes an Auto Scaling launch configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/LaunchConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/LaunchConfiguration type LaunchConfiguration struct { _ struct{} `type:"structure"` @@ -8343,7 +8367,7 @@ func (s *LaunchConfiguration) SetName(v string) *LaunchConfiguration { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListAvailableSolutionStacksInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListAvailableSolutionStacksInput type ListAvailableSolutionStacksInput struct { _ struct{} `type:"structure"` } @@ -8359,7 +8383,7 @@ func (s ListAvailableSolutionStacksInput) GoString() string { } // A list of available AWS Elastic Beanstalk solution stacks. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListAvailableSolutionStacksResultMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListAvailableSolutionStacksResultMessage type ListAvailableSolutionStacksOutput struct { _ struct{} `type:"structure"` @@ -8392,7 +8416,7 @@ func (s *ListAvailableSolutionStacksOutput) SetSolutionStacks(v []*string) *List return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersionsRequest type ListPlatformVersionsInput struct { _ struct{} `type:"structure"` @@ -8449,7 +8473,7 @@ func (s *ListPlatformVersionsInput) SetNextToken(v string) *ListPlatformVersions return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersionsResult type ListPlatformVersionsOutput struct { _ struct{} `type:"structure"` @@ -8483,7 +8507,7 @@ func (s *ListPlatformVersionsOutput) SetPlatformSummaryList(v []*PlatformSummary return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListTagsForResourceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListTagsForResourceMessage type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -8524,7 +8548,7 @@ func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResource return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ResourceTagsDescriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ResourceTagsDescriptionMessage type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -8558,7 +8582,7 @@ func (s *ListTagsForResourceOutput) SetResourceTags(v []*Tag) *ListTagsForResour } // Describes the properties of a Listener for the LoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Listener +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Listener type Listener struct { _ struct{} `type:"structure"` @@ -8592,7 +8616,7 @@ func (s *Listener) SetProtocol(v string) *Listener { } // Describes a LoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/LoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/LoadBalancer type LoadBalancer struct { _ struct{} `type:"structure"` @@ -8617,7 +8641,7 @@ func (s *LoadBalancer) SetName(v string) *LoadBalancer { } // Describes the details of a LoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/LoadBalancerDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/LoadBalancerDescription type LoadBalancerDescription struct { _ struct{} `type:"structure"` @@ -8660,7 +8684,7 @@ func (s *LoadBalancerDescription) SetLoadBalancerName(v string) *LoadBalancerDes } // The record of an upcoming or in-progress managed action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ManagedAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ManagedAction type ManagedAction struct { _ struct{} `type:"structure"` @@ -8723,7 +8747,7 @@ func (s *ManagedAction) SetWindowStartTime(v time.Time) *ManagedAction { } // The record of a completed or failed managed action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ManagedActionHistoryItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ManagedActionHistoryItem type ManagedActionHistoryItem struct { _ struct{} `type:"structure"` @@ -8812,7 +8836,7 @@ func (s *ManagedActionHistoryItem) SetStatus(v string) *ManagedActionHistoryItem // A lifecycle rule that deletes application versions after the specified number // of days. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/MaxAgeRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/MaxAgeRule type MaxAgeRule struct { _ struct{} `type:"structure"` @@ -8872,7 +8896,7 @@ func (s *MaxAgeRule) SetMaxAgeInDays(v int64) *MaxAgeRule { // A lifecycle rule that deletes the oldest application version when the maximum // count is exceeded. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/MaxCountRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/MaxCountRule type MaxCountRule struct { _ struct{} `type:"structure"` @@ -8932,7 +8956,7 @@ func (s *MaxCountRule) SetMaxCount(v int64) *MaxCountRule { // A regular expression representing a restriction on a string configuration // option value. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/OptionRestrictionRegex +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/OptionRestrictionRegex type OptionRestrictionRegex struct { _ struct{} `type:"structure"` @@ -8967,7 +8991,7 @@ func (s *OptionRestrictionRegex) SetPattern(v string) *OptionRestrictionRegex { } // A specification identifying an individual configuration option. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/OptionSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/OptionSpecification type OptionSpecification struct { _ struct{} `type:"structure"` @@ -9023,7 +9047,7 @@ func (s *OptionSpecification) SetResourceName(v string) *OptionSpecification { } // Detailed information about a platform. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformDescription type PlatformDescription struct { _ struct{} `type:"structure"` @@ -9205,7 +9229,7 @@ func (s *PlatformDescription) SetSupportedTierList(v []*string) *PlatformDescrip // The filter is evaluated as the expression: // // TypeOperatorValues[i] -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformFilter type PlatformFilter struct { _ struct{} `type:"structure"` @@ -9254,7 +9278,7 @@ func (s *PlatformFilter) SetValues(v []*string) *PlatformFilter { } // A framework supported by the custom platform. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformFramework +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformFramework type PlatformFramework struct { _ struct{} `type:"structure"` @@ -9288,7 +9312,7 @@ func (s *PlatformFramework) SetVersion(v string) *PlatformFramework { } // A programming language supported by the platform. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformProgrammingLanguage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformProgrammingLanguage type PlatformProgrammingLanguage struct { _ struct{} `type:"structure"` @@ -9322,7 +9346,7 @@ func (s *PlatformProgrammingLanguage) SetVersion(v string) *PlatformProgrammingL } // Detailed information about a platform. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformSummary type PlatformSummary struct { _ struct{} `type:"structure"` @@ -9411,7 +9435,7 @@ func (s *PlatformSummary) SetSupportedTierList(v []*string) *PlatformSummary { } // Describes a queue. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Queue +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Queue type Queue struct { _ struct{} `type:"structure"` @@ -9444,7 +9468,7 @@ func (s *Queue) SetURL(v string) *Queue { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RebuildEnvironmentMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RebuildEnvironmentMessage type RebuildEnvironmentInput struct { _ struct{} `type:"structure"` @@ -9498,7 +9522,7 @@ func (s *RebuildEnvironmentInput) SetEnvironmentName(v string) *RebuildEnvironme return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RebuildEnvironmentOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RebuildEnvironmentOutput type RebuildEnvironmentOutput struct { _ struct{} `type:"structure"` } @@ -9515,7 +9539,7 @@ func (s RebuildEnvironmentOutput) GoString() string { // Request to retrieve logs from an environment and store them in your Elastic // Beanstalk storage bucket. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RequestEnvironmentInfoMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RequestEnvironmentInfoMessage type RequestEnvironmentInfoInput struct { _ struct{} `type:"structure"` @@ -9589,7 +9613,7 @@ func (s *RequestEnvironmentInfoInput) SetInfoType(v string) *RequestEnvironmentI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RequestEnvironmentInfoOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RequestEnvironmentInfoOutput type RequestEnvironmentInfoOutput struct { _ struct{} `type:"structure"` } @@ -9604,7 +9628,7 @@ func (s RequestEnvironmentInfoOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RestartAppServerMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RestartAppServerMessage type RestartAppServerInput struct { _ struct{} `type:"structure"` @@ -9658,7 +9682,7 @@ func (s *RestartAppServerInput) SetEnvironmentName(v string) *RestartAppServerIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RestartAppServerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RestartAppServerOutput type RestartAppServerOutput struct { _ struct{} `type:"structure"` } @@ -9674,7 +9698,7 @@ func (s RestartAppServerOutput) GoString() string { } // Request to download logs retrieved with RequestEnvironmentInfo. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RetrieveEnvironmentInfoMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RetrieveEnvironmentInfoMessage type RetrieveEnvironmentInfoInput struct { _ struct{} `type:"structure"` @@ -9747,7 +9771,7 @@ func (s *RetrieveEnvironmentInfoInput) SetInfoType(v string) *RetrieveEnvironmen } // Result message containing a description of the requested environment info. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RetrieveEnvironmentInfoResultMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RetrieveEnvironmentInfoResultMessage type RetrieveEnvironmentInfoOutput struct { _ struct{} `type:"structure"` @@ -9772,7 +9796,7 @@ func (s *RetrieveEnvironmentInfoOutput) SetEnvironmentInfo(v []*EnvironmentInfoD } // The bucket and key of an item stored in Amazon S3. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/S3Location +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/S3Location type S3Location struct { _ struct{} `type:"structure"` @@ -9807,7 +9831,7 @@ func (s *S3Location) SetS3Key(v string) *S3Location { // Detailed health information about an Amazon EC2 instance in your Elastic // Beanstalk environment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SingleInstanceHealth +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SingleInstanceHealth type SingleInstanceHealth struct { _ struct{} `type:"structure"` @@ -9917,7 +9941,7 @@ func (s *SingleInstanceHealth) SetSystem(v *SystemStatus) *SingleInstanceHealth } // Describes the solution stack. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SolutionStackDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SolutionStackDescription type SolutionStackDescription struct { _ struct{} `type:"structure"` @@ -9951,7 +9975,7 @@ func (s *SolutionStackDescription) SetSolutionStackName(v string) *SolutionStack } // Location of the source code for an application version. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SourceBuildInformation +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SourceBuildInformation type SourceBuildInformation struct { _ struct{} `type:"structure"` @@ -10037,7 +10061,7 @@ func (s *SourceBuildInformation) SetSourceType(v string) *SourceBuildInformation } // A specification for an environment configuration -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SourceConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SourceConfiguration type SourceConfiguration struct { _ struct{} `type:"structure"` @@ -10089,7 +10113,7 @@ func (s *SourceConfiguration) SetTemplateName(v string) *SourceConfiguration { // Represents the percentage of requests over the last 10 seconds that resulted // in each type of status code response. For more information, see Status Code // Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/StatusCodes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/StatusCodes type StatusCodes struct { _ struct{} `type:"structure"` @@ -10145,7 +10169,7 @@ func (s *StatusCodes) SetStatus5xx(v int64) *StatusCodes { } // Swaps the CNAMEs of two environments. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SwapEnvironmentCNAMEsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SwapEnvironmentCNAMEsMessage type SwapEnvironmentCNAMEsInput struct { _ struct{} `type:"structure"` @@ -10228,7 +10252,7 @@ func (s *SwapEnvironmentCNAMEsInput) SetSourceEnvironmentName(v string) *SwapEnv return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SwapEnvironmentCNAMEsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SwapEnvironmentCNAMEsOutput type SwapEnvironmentCNAMEsOutput struct { _ struct{} `type:"structure"` } @@ -10244,7 +10268,7 @@ func (s SwapEnvironmentCNAMEsOutput) GoString() string { } // CPU utilization and load average metrics for an Amazon EC2 instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SystemStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SystemStatus type SystemStatus struct { _ struct{} `type:"structure"` @@ -10279,7 +10303,7 @@ func (s *SystemStatus) SetLoadAverage(v []*float64) *SystemStatus { } // Describes a tag applied to a resource in an environment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Tag type Tag struct { _ struct{} `type:"structure"` @@ -10329,7 +10353,7 @@ func (s *Tag) SetValue(v string) *Tag { } // Request to terminate an environment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironmentMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironmentMessage type TerminateEnvironmentInput struct { _ struct{} `type:"structure"` @@ -10416,7 +10440,7 @@ func (s *TerminateEnvironmentInput) SetTerminateResources(v bool) *TerminateEnvi } // Describes a trigger. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Trigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Trigger type Trigger struct { _ struct{} `type:"structure"` @@ -10441,7 +10465,7 @@ func (s *Trigger) SetName(v string) *Trigger { } // Request to update an application. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationMessage type UpdateApplicationInput struct { _ struct{} `type:"structure"` @@ -10495,7 +10519,7 @@ func (s *UpdateApplicationInput) SetDescription(v string) *UpdateApplicationInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationResourceLifecycleMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationResourceLifecycleMessage type UpdateApplicationResourceLifecycleInput struct { _ struct{} `type:"structure"` @@ -10556,7 +10580,7 @@ func (s *UpdateApplicationResourceLifecycleInput) SetResourceLifecycleConfig(v * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationResourceLifecycleDescriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationResourceLifecycleDescriptionMessage type UpdateApplicationResourceLifecycleOutput struct { _ struct{} `type:"structure"` @@ -10589,7 +10613,7 @@ func (s *UpdateApplicationResourceLifecycleOutput) SetResourceLifecycleConfig(v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationVersionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationVersionMessage type UpdateApplicationVersionInput struct { _ struct{} `type:"structure"` @@ -10664,7 +10688,7 @@ func (s *UpdateApplicationVersionInput) SetVersionLabel(v string) *UpdateApplica } // The result message containing the options for the specified solution stack. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateConfigurationTemplateMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateConfigurationTemplateMessage type UpdateConfigurationTemplateInput struct { _ struct{} `type:"structure"` @@ -10781,7 +10805,7 @@ func (s *UpdateConfigurationTemplateInput) SetTemplateName(v string) *UpdateConf } // Request to update an environment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateEnvironmentMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateEnvironmentMessage type UpdateEnvironmentInput struct { _ struct{} `type:"structure"` @@ -10977,7 +11001,7 @@ func (s *UpdateEnvironmentInput) SetVersionLabel(v string) *UpdateEnvironmentInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResourceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResourceMessage type UpdateTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -11050,7 +11074,7 @@ func (s *UpdateTagsForResourceInput) SetTagsToRemove(v []*string) *UpdateTagsFor return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResourceOutput type UpdateTagsForResourceOutput struct { _ struct{} `type:"structure"` } @@ -11066,7 +11090,7 @@ func (s UpdateTagsForResourceOutput) GoString() string { } // A list of validation messages for a specified configuration template. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidateConfigurationSettingsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidateConfigurationSettingsMessage type ValidateConfigurationSettingsInput struct { _ struct{} `type:"structure"` @@ -11162,7 +11186,7 @@ func (s *ValidateConfigurationSettingsInput) SetTemplateName(v string) *Validate } // Provides a list of validation messages. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationSettingsValidationMessages +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationSettingsValidationMessages type ValidateConfigurationSettingsOutput struct { _ struct{} `type:"structure"` @@ -11187,7 +11211,7 @@ func (s *ValidateConfigurationSettingsOutput) SetMessages(v []*ValidationMessage } // An error or warning for a desired configuration option value. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidationMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidationMessage type ValidationMessage struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go index 2ca61fa43e5..dc5672d021b 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go @@ -1641,6 +1641,9 @@ type CreateElasticsearchDomainInput struct { // in the Amazon Elasticsearch Service Developer Guide. ElasticsearchVersion *string `type:"string"` + // Specifies the Encryption At Rest Options. + EncryptionAtRestOptions *EncryptionAtRestOptions `type:"structure"` + // Map of LogType and LogPublishingOption, each containing options to publish // a given type of Elasticsearch log. LogPublishingOptions map[string]*LogPublishingOption `type:"map"` @@ -1674,6 +1677,11 @@ func (s *CreateElasticsearchDomainInput) Validate() error { if s.DomainName != nil && len(*s.DomainName) < 3 { invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) } + if s.EncryptionAtRestOptions != nil { + if err := s.EncryptionAtRestOptions.Validate(); err != nil { + invalidParams.AddNested("EncryptionAtRestOptions", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -1717,6 +1725,12 @@ func (s *CreateElasticsearchDomainInput) SetElasticsearchVersion(v string) *Crea return s } +// SetEncryptionAtRestOptions sets the EncryptionAtRestOptions field's value. +func (s *CreateElasticsearchDomainInput) SetEncryptionAtRestOptions(v *EncryptionAtRestOptions) *CreateElasticsearchDomainInput { + s.EncryptionAtRestOptions = v + return s +} + // SetLogPublishingOptions sets the LogPublishingOptions field's value. func (s *CreateElasticsearchDomainInput) SetLogPublishingOptions(v map[string]*LogPublishingOption) *CreateElasticsearchDomainInput { s.LogPublishingOptions = v @@ -2405,6 +2419,9 @@ type ElasticsearchDomainConfig struct { // String of format X.Y to specify version for the Elasticsearch domain. ElasticsearchVersion *ElasticsearchVersionStatus `type:"structure"` + // Specifies the EncryptionAtRestOptions for the Elasticsearch domain. + EncryptionAtRestOptions *EncryptionAtRestOptionsStatus `type:"structure"` + // Log publishing options for the given domain. LogPublishingOptions *LogPublishingOptionsStatus `type:"structure"` @@ -2456,6 +2473,12 @@ func (s *ElasticsearchDomainConfig) SetElasticsearchVersion(v *ElasticsearchVers return s } +// SetEncryptionAtRestOptions sets the EncryptionAtRestOptions field's value. +func (s *ElasticsearchDomainConfig) SetEncryptionAtRestOptions(v *EncryptionAtRestOptionsStatus) *ElasticsearchDomainConfig { + s.EncryptionAtRestOptions = v + return s +} + // SetLogPublishingOptions sets the LogPublishingOptions field's value. func (s *ElasticsearchDomainConfig) SetLogPublishingOptions(v *LogPublishingOptionsStatus) *ElasticsearchDomainConfig { s.LogPublishingOptions = v @@ -2526,6 +2549,9 @@ type ElasticsearchDomainStatus struct { ElasticsearchVersion *string `type:"string"` + // Specifies the status of the EncryptionAtRestOptions. + EncryptionAtRestOptions *EncryptionAtRestOptions `type:"structure"` + // The Elasticsearch domain endpoint that you use to submit index and search // requests. Endpoint *string `type:"string"` @@ -2620,6 +2646,12 @@ func (s *ElasticsearchDomainStatus) SetElasticsearchVersion(v string) *Elasticse return s } +// SetEncryptionAtRestOptions sets the EncryptionAtRestOptions field's value. +func (s *ElasticsearchDomainStatus) SetEncryptionAtRestOptions(v *EncryptionAtRestOptions) *ElasticsearchDomainStatus { + s.EncryptionAtRestOptions = v + return s +} + // SetEndpoint sets the Endpoint field's value. func (s *ElasticsearchDomainStatus) SetEndpoint(v string) *ElasticsearchDomainStatus { s.Endpoint = &v @@ -2695,6 +2727,92 @@ func (s *ElasticsearchVersionStatus) SetStatus(v *OptionStatus) *ElasticsearchVe return s } +// Specifies the Encryption At Rest Options. +type EncryptionAtRestOptions struct { + _ struct{} `type:"structure"` + + // Specifies the option to enable Encryption At Rest. + Enabled *bool `type:"boolean"` + + // Specifies the KMS Key ID for Encryption At Rest options. + KmsKeyId *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s EncryptionAtRestOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EncryptionAtRestOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *EncryptionAtRestOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EncryptionAtRestOptions"} + if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEnabled sets the Enabled field's value. +func (s *EncryptionAtRestOptions) SetEnabled(v bool) *EncryptionAtRestOptions { + s.Enabled = &v + return s +} + +// SetKmsKeyId sets the KmsKeyId field's value. +func (s *EncryptionAtRestOptions) SetKmsKeyId(v string) *EncryptionAtRestOptions { + s.KmsKeyId = &v + return s +} + +// Status of the Encryption At Rest options for the specified Elasticsearch +// domain. +type EncryptionAtRestOptionsStatus struct { + _ struct{} `type:"structure"` + + // Specifies the Encryption At Rest options for the specified Elasticsearch + // domain. + // + // Options is a required field + Options *EncryptionAtRestOptions `type:"structure" required:"true"` + + // Specifies the status of the Encryption At Rest options for the specified + // Elasticsearch domain. + // + // Status is a required field + Status *OptionStatus `type:"structure" required:"true"` +} + +// String returns the string representation +func (s EncryptionAtRestOptionsStatus) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EncryptionAtRestOptionsStatus) GoString() string { + return s.String() +} + +// SetOptions sets the Options field's value. +func (s *EncryptionAtRestOptionsStatus) SetOptions(v *EncryptionAtRestOptions) *EncryptionAtRestOptionsStatus { + s.Options = v + return s +} + +// SetStatus sets the Status field's value. +func (s *EncryptionAtRestOptionsStatus) SetStatus(v *OptionStatus) *EncryptionAtRestOptionsStatus { + s.Status = v + return s +} + // InstanceCountLimits represents the limits on number of instances that be // created in Amazon Elasticsearch for given InstanceType. type InstanceCountLimits struct { diff --git a/vendor/github.com/aws/aws-sdk-go/service/elb/api.go b/vendor/github.com/aws/aws-sdk-go/service/elb/api.go index ba6c106496e..49be257885d 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/elb/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/elb/api.go @@ -36,7 +36,7 @@ const opAddTags = "AddTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTags func (c *ELB) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) { op := &request.Operation{ Name: opAddTags, @@ -82,7 +82,7 @@ func (c *ELB) AddTagsRequest(input *AddTagsInput) (req *request.Request, output // * ErrCodeDuplicateTagKeysException "DuplicateTagKeys" // A tag key was specified more than once. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTags func (c *ELB) AddTags(input *AddTagsInput) (*AddTagsOutput, error) { req, out := c.AddTagsRequest(input) return out, req.Send() @@ -129,7 +129,7 @@ const opApplySecurityGroupsToLoadBalancer = "ApplySecurityGroupsToLoadBalancer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancer func (c *ELB) ApplySecurityGroupsToLoadBalancerRequest(input *ApplySecurityGroupsToLoadBalancerInput) (req *request.Request, output *ApplySecurityGroupsToLoadBalancerOutput) { op := &request.Operation{ Name: opApplySecurityGroupsToLoadBalancer, @@ -172,7 +172,7 @@ func (c *ELB) ApplySecurityGroupsToLoadBalancerRequest(input *ApplySecurityGroup // * ErrCodeInvalidSecurityGroupException "InvalidSecurityGroup" // One or more of the specified security groups do not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancer func (c *ELB) ApplySecurityGroupsToLoadBalancer(input *ApplySecurityGroupsToLoadBalancerInput) (*ApplySecurityGroupsToLoadBalancerOutput, error) { req, out := c.ApplySecurityGroupsToLoadBalancerRequest(input) return out, req.Send() @@ -219,7 +219,7 @@ const opAttachLoadBalancerToSubnets = "AttachLoadBalancerToSubnets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnets +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnets func (c *ELB) AttachLoadBalancerToSubnetsRequest(input *AttachLoadBalancerToSubnetsInput) (req *request.Request, output *AttachLoadBalancerToSubnetsOutput) { op := &request.Operation{ Name: opAttachLoadBalancerToSubnets, @@ -266,7 +266,7 @@ func (c *ELB) AttachLoadBalancerToSubnetsRequest(input *AttachLoadBalancerToSubn // * ErrCodeInvalidSubnetException "InvalidSubnet" // The specified VPC has no associated Internet gateway. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnets +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnets func (c *ELB) AttachLoadBalancerToSubnets(input *AttachLoadBalancerToSubnetsInput) (*AttachLoadBalancerToSubnetsOutput, error) { req, out := c.AttachLoadBalancerToSubnetsRequest(input) return out, req.Send() @@ -313,7 +313,7 @@ const opConfigureHealthCheck = "ConfigureHealthCheck" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheck +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheck func (c *ELB) ConfigureHealthCheckRequest(input *ConfigureHealthCheckInput) (req *request.Request, output *ConfigureHealthCheckOutput) { op := &request.Operation{ Name: opConfigureHealthCheck, @@ -350,7 +350,7 @@ func (c *ELB) ConfigureHealthCheckRequest(input *ConfigureHealthCheckInput) (req // * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" // The specified load balancer does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheck +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheck func (c *ELB) ConfigureHealthCheck(input *ConfigureHealthCheckInput) (*ConfigureHealthCheckOutput, error) { req, out := c.ConfigureHealthCheckRequest(input) return out, req.Send() @@ -397,7 +397,7 @@ const opCreateAppCookieStickinessPolicy = "CreateAppCookieStickinessPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicy func (c *ELB) CreateAppCookieStickinessPolicyRequest(input *CreateAppCookieStickinessPolicyInput) (req *request.Request, output *CreateAppCookieStickinessPolicyOutput) { op := &request.Operation{ Name: opCreateAppCookieStickinessPolicy, @@ -452,7 +452,7 @@ func (c *ELB) CreateAppCookieStickinessPolicyRequest(input *CreateAppCookieStick // * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" // The requested configuration change is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicy func (c *ELB) CreateAppCookieStickinessPolicy(input *CreateAppCookieStickinessPolicyInput) (*CreateAppCookieStickinessPolicyOutput, error) { req, out := c.CreateAppCookieStickinessPolicyRequest(input) return out, req.Send() @@ -499,7 +499,7 @@ const opCreateLBCookieStickinessPolicy = "CreateLBCookieStickinessPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicy func (c *ELB) CreateLBCookieStickinessPolicyRequest(input *CreateLBCookieStickinessPolicyInput) (req *request.Request, output *CreateLBCookieStickinessPolicyOutput) { op := &request.Operation{ Name: opCreateLBCookieStickinessPolicy, @@ -556,7 +556,7 @@ func (c *ELB) CreateLBCookieStickinessPolicyRequest(input *CreateLBCookieStickin // * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" // The requested configuration change is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicy func (c *ELB) CreateLBCookieStickinessPolicy(input *CreateLBCookieStickinessPolicyInput) (*CreateLBCookieStickinessPolicyOutput, error) { req, out := c.CreateLBCookieStickinessPolicyRequest(input) return out, req.Send() @@ -603,7 +603,7 @@ const opCreateLoadBalancer = "CreateLoadBalancer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancer func (c *ELB) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *request.Request, output *CreateLoadBalancerOutput) { op := &request.Operation{ Name: opCreateLoadBalancer, @@ -682,7 +682,7 @@ func (c *ELB) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *re // * ErrCodeUnsupportedProtocolException "UnsupportedProtocol" // The specified protocol or signature version is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancer func (c *ELB) CreateLoadBalancer(input *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error) { req, out := c.CreateLoadBalancerRequest(input) return out, req.Send() @@ -729,7 +729,7 @@ const opCreateLoadBalancerListeners = "CreateLoadBalancerListeners" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListeners +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListeners func (c *ELB) CreateLoadBalancerListenersRequest(input *CreateLoadBalancerListenersInput) (req *request.Request, output *CreateLoadBalancerListenersOutput) { op := &request.Operation{ Name: opCreateLoadBalancerListeners, @@ -783,7 +783,7 @@ func (c *ELB) CreateLoadBalancerListenersRequest(input *CreateLoadBalancerListen // * ErrCodeUnsupportedProtocolException "UnsupportedProtocol" // The specified protocol or signature version is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListeners +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListeners func (c *ELB) CreateLoadBalancerListeners(input *CreateLoadBalancerListenersInput) (*CreateLoadBalancerListenersOutput, error) { req, out := c.CreateLoadBalancerListenersRequest(input) return out, req.Send() @@ -830,7 +830,7 @@ const opCreateLoadBalancerPolicy = "CreateLoadBalancerPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicy func (c *ELB) CreateLoadBalancerPolicyRequest(input *CreateLoadBalancerPolicyInput) (req *request.Request, output *CreateLoadBalancerPolicyOutput) { op := &request.Operation{ Name: opCreateLoadBalancerPolicy, @@ -878,7 +878,7 @@ func (c *ELB) CreateLoadBalancerPolicyRequest(input *CreateLoadBalancerPolicyInp // * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" // The requested configuration change is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicy func (c *ELB) CreateLoadBalancerPolicy(input *CreateLoadBalancerPolicyInput) (*CreateLoadBalancerPolicyOutput, error) { req, out := c.CreateLoadBalancerPolicyRequest(input) return out, req.Send() @@ -925,7 +925,7 @@ const opDeleteLoadBalancer = "DeleteLoadBalancer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancer func (c *ELB) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req *request.Request, output *DeleteLoadBalancerOutput) { op := &request.Operation{ Name: opDeleteLoadBalancer, @@ -961,7 +961,7 @@ func (c *ELB) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req *re // // See the AWS API reference guide for Elastic Load Balancing's // API operation DeleteLoadBalancer for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancer func (c *ELB) DeleteLoadBalancer(input *DeleteLoadBalancerInput) (*DeleteLoadBalancerOutput, error) { req, out := c.DeleteLoadBalancerRequest(input) return out, req.Send() @@ -1008,7 +1008,7 @@ const opDeleteLoadBalancerListeners = "DeleteLoadBalancerListeners" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListeners +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListeners func (c *ELB) DeleteLoadBalancerListenersRequest(input *DeleteLoadBalancerListenersInput) (req *request.Request, output *DeleteLoadBalancerListenersOutput) { op := &request.Operation{ Name: opDeleteLoadBalancerListeners, @@ -1040,7 +1040,7 @@ func (c *ELB) DeleteLoadBalancerListenersRequest(input *DeleteLoadBalancerListen // * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" // The specified load balancer does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListeners +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListeners func (c *ELB) DeleteLoadBalancerListeners(input *DeleteLoadBalancerListenersInput) (*DeleteLoadBalancerListenersOutput, error) { req, out := c.DeleteLoadBalancerListenersRequest(input) return out, req.Send() @@ -1087,7 +1087,7 @@ const opDeleteLoadBalancerPolicy = "DeleteLoadBalancerPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicy func (c *ELB) DeleteLoadBalancerPolicyRequest(input *DeleteLoadBalancerPolicyInput) (req *request.Request, output *DeleteLoadBalancerPolicyOutput) { op := &request.Operation{ Name: opDeleteLoadBalancerPolicy, @@ -1123,7 +1123,7 @@ func (c *ELB) DeleteLoadBalancerPolicyRequest(input *DeleteLoadBalancerPolicyInp // * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" // The requested configuration change is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicy func (c *ELB) DeleteLoadBalancerPolicy(input *DeleteLoadBalancerPolicyInput) (*DeleteLoadBalancerPolicyOutput, error) { req, out := c.DeleteLoadBalancerPolicyRequest(input) return out, req.Send() @@ -1170,7 +1170,7 @@ const opDeregisterInstancesFromLoadBalancer = "DeregisterInstancesFromLoadBalanc // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterInstancesFromLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterInstancesFromLoadBalancer func (c *ELB) DeregisterInstancesFromLoadBalancerRequest(input *DeregisterInstancesFromLoadBalancerInput) (req *request.Request, output *DeregisterInstancesFromLoadBalancerOutput) { op := &request.Operation{ Name: opDeregisterInstancesFromLoadBalancer, @@ -1213,7 +1213,7 @@ func (c *ELB) DeregisterInstancesFromLoadBalancerRequest(input *DeregisterInstan // * ErrCodeInvalidEndPointException "InvalidInstance" // The specified endpoint is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterInstancesFromLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterInstancesFromLoadBalancer func (c *ELB) DeregisterInstancesFromLoadBalancer(input *DeregisterInstancesFromLoadBalancerInput) (*DeregisterInstancesFromLoadBalancerOutput, error) { req, out := c.DeregisterInstancesFromLoadBalancerRequest(input) return out, req.Send() @@ -1260,7 +1260,7 @@ const opDescribeAccountLimits = "DescribeAccountLimits" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimits func (c *ELB) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (req *request.Request, output *DescribeAccountLimitsOutput) { op := &request.Operation{ Name: opDescribeAccountLimits, @@ -1291,7 +1291,7 @@ func (c *ELB) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (r // // See the AWS API reference guide for Elastic Load Balancing's // API operation DescribeAccountLimits for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimits func (c *ELB) DescribeAccountLimits(input *DescribeAccountLimitsInput) (*DescribeAccountLimitsOutput, error) { req, out := c.DescribeAccountLimitsRequest(input) return out, req.Send() @@ -1338,7 +1338,7 @@ const opDescribeInstanceHealth = "DescribeInstanceHealth" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeInstanceHealth +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeInstanceHealth func (c *ELB) DescribeInstanceHealthRequest(input *DescribeInstanceHealthInput) (req *request.Request, output *DescribeInstanceHealthOutput) { op := &request.Operation{ Name: opDescribeInstanceHealth, @@ -1378,7 +1378,7 @@ func (c *ELB) DescribeInstanceHealthRequest(input *DescribeInstanceHealthInput) // * ErrCodeInvalidEndPointException "InvalidInstance" // The specified endpoint is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeInstanceHealth +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeInstanceHealth func (c *ELB) DescribeInstanceHealth(input *DescribeInstanceHealthInput) (*DescribeInstanceHealthOutput, error) { req, out := c.DescribeInstanceHealthRequest(input) return out, req.Send() @@ -1425,7 +1425,7 @@ const opDescribeLoadBalancerAttributes = "DescribeLoadBalancerAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributes func (c *ELB) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalancerAttributesInput) (req *request.Request, output *DescribeLoadBalancerAttributesOutput) { op := &request.Operation{ Name: opDescribeLoadBalancerAttributes, @@ -1460,7 +1460,7 @@ func (c *ELB) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalancerA // * ErrCodeLoadBalancerAttributeNotFoundException "LoadBalancerAttributeNotFound" // The specified load balancer attribute does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributes func (c *ELB) DescribeLoadBalancerAttributes(input *DescribeLoadBalancerAttributesInput) (*DescribeLoadBalancerAttributesOutput, error) { req, out := c.DescribeLoadBalancerAttributesRequest(input) return out, req.Send() @@ -1507,7 +1507,7 @@ const opDescribeLoadBalancerPolicies = "DescribeLoadBalancerPolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicies func (c *ELB) DescribeLoadBalancerPoliciesRequest(input *DescribeLoadBalancerPoliciesInput) (req *request.Request, output *DescribeLoadBalancerPoliciesOutput) { op := &request.Operation{ Name: opDescribeLoadBalancerPolicies, @@ -1549,7 +1549,7 @@ func (c *ELB) DescribeLoadBalancerPoliciesRequest(input *DescribeLoadBalancerPol // * ErrCodePolicyNotFoundException "PolicyNotFound" // One or more of the specified policies do not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicies func (c *ELB) DescribeLoadBalancerPolicies(input *DescribeLoadBalancerPoliciesInput) (*DescribeLoadBalancerPoliciesOutput, error) { req, out := c.DescribeLoadBalancerPoliciesRequest(input) return out, req.Send() @@ -1596,7 +1596,7 @@ const opDescribeLoadBalancerPolicyTypes = "DescribeLoadBalancerPolicyTypes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypes func (c *ELB) DescribeLoadBalancerPolicyTypesRequest(input *DescribeLoadBalancerPolicyTypesInput) (req *request.Request, output *DescribeLoadBalancerPolicyTypesOutput) { op := &request.Operation{ Name: opDescribeLoadBalancerPolicyTypes, @@ -1639,7 +1639,7 @@ func (c *ELB) DescribeLoadBalancerPolicyTypesRequest(input *DescribeLoadBalancer // * ErrCodePolicyTypeNotFoundException "PolicyTypeNotFound" // One or more of the specified policy types do not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypes func (c *ELB) DescribeLoadBalancerPolicyTypes(input *DescribeLoadBalancerPolicyTypesInput) (*DescribeLoadBalancerPolicyTypesOutput, error) { req, out := c.DescribeLoadBalancerPolicyTypesRequest(input) return out, req.Send() @@ -1686,7 +1686,7 @@ const opDescribeLoadBalancers = "DescribeLoadBalancers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancers +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancers func (c *ELB) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) (req *request.Request, output *DescribeLoadBalancersOutput) { op := &request.Operation{ Name: opDescribeLoadBalancers, @@ -1727,7 +1727,7 @@ func (c *ELB) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) (r // // * ErrCodeDependencyThrottleException "DependencyThrottle" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancers +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancers func (c *ELB) DescribeLoadBalancers(input *DescribeLoadBalancersInput) (*DescribeLoadBalancersOutput, error) { req, out := c.DescribeLoadBalancersRequest(input) return out, req.Send() @@ -1824,7 +1824,7 @@ const opDescribeTags = "DescribeTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTags func (c *ELB) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { op := &request.Operation{ Name: opDescribeTags, @@ -1856,7 +1856,7 @@ func (c *ELB) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Reques // * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" // The specified load balancer does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTags func (c *ELB) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { req, out := c.DescribeTagsRequest(input) return out, req.Send() @@ -1903,7 +1903,7 @@ const opDetachLoadBalancerFromSubnets = "DetachLoadBalancerFromSubnets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnets +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnets func (c *ELB) DetachLoadBalancerFromSubnetsRequest(input *DetachLoadBalancerFromSubnetsInput) (req *request.Request, output *DetachLoadBalancerFromSubnetsOutput) { op := &request.Operation{ Name: opDetachLoadBalancerFromSubnets, @@ -1943,7 +1943,7 @@ func (c *ELB) DetachLoadBalancerFromSubnetsRequest(input *DetachLoadBalancerFrom // * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" // The requested configuration change is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnets +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnets func (c *ELB) DetachLoadBalancerFromSubnets(input *DetachLoadBalancerFromSubnetsInput) (*DetachLoadBalancerFromSubnetsOutput, error) { req, out := c.DetachLoadBalancerFromSubnetsRequest(input) return out, req.Send() @@ -1990,7 +1990,7 @@ const opDisableAvailabilityZonesForLoadBalancer = "DisableAvailabilityZonesForLo // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DisableAvailabilityZonesForLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DisableAvailabilityZonesForLoadBalancer func (c *ELB) DisableAvailabilityZonesForLoadBalancerRequest(input *DisableAvailabilityZonesForLoadBalancerInput) (req *request.Request, output *DisableAvailabilityZonesForLoadBalancerOutput) { op := &request.Operation{ Name: opDisableAvailabilityZonesForLoadBalancer, @@ -2035,7 +2035,7 @@ func (c *ELB) DisableAvailabilityZonesForLoadBalancerRequest(input *DisableAvail // * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" // The requested configuration change is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DisableAvailabilityZonesForLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DisableAvailabilityZonesForLoadBalancer func (c *ELB) DisableAvailabilityZonesForLoadBalancer(input *DisableAvailabilityZonesForLoadBalancerInput) (*DisableAvailabilityZonesForLoadBalancerOutput, error) { req, out := c.DisableAvailabilityZonesForLoadBalancerRequest(input) return out, req.Send() @@ -2082,7 +2082,7 @@ const opEnableAvailabilityZonesForLoadBalancer = "EnableAvailabilityZonesForLoad // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/EnableAvailabilityZonesForLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/EnableAvailabilityZonesForLoadBalancer func (c *ELB) EnableAvailabilityZonesForLoadBalancerRequest(input *EnableAvailabilityZonesForLoadBalancerInput) (req *request.Request, output *EnableAvailabilityZonesForLoadBalancerOutput) { op := &request.Operation{ Name: opEnableAvailabilityZonesForLoadBalancer, @@ -2121,7 +2121,7 @@ func (c *ELB) EnableAvailabilityZonesForLoadBalancerRequest(input *EnableAvailab // * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" // The specified load balancer does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/EnableAvailabilityZonesForLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/EnableAvailabilityZonesForLoadBalancer func (c *ELB) EnableAvailabilityZonesForLoadBalancer(input *EnableAvailabilityZonesForLoadBalancerInput) (*EnableAvailabilityZonesForLoadBalancerOutput, error) { req, out := c.EnableAvailabilityZonesForLoadBalancerRequest(input) return out, req.Send() @@ -2168,7 +2168,7 @@ const opModifyLoadBalancerAttributes = "ModifyLoadBalancerAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributes func (c *ELB) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAttributesInput) (req *request.Request, output *ModifyLoadBalancerAttributesOutput) { op := &request.Operation{ Name: opModifyLoadBalancerAttributes, @@ -2221,7 +2221,7 @@ func (c *ELB) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAttri // * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" // The requested configuration change is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributes func (c *ELB) ModifyLoadBalancerAttributes(input *ModifyLoadBalancerAttributesInput) (*ModifyLoadBalancerAttributesOutput, error) { req, out := c.ModifyLoadBalancerAttributesRequest(input) return out, req.Send() @@ -2268,7 +2268,7 @@ const opRegisterInstancesWithLoadBalancer = "RegisterInstancesWithLoadBalancer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterInstancesWithLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterInstancesWithLoadBalancer func (c *ELB) RegisterInstancesWithLoadBalancerRequest(input *RegisterInstancesWithLoadBalancerInput) (req *request.Request, output *RegisterInstancesWithLoadBalancerOutput) { op := &request.Operation{ Name: opRegisterInstancesWithLoadBalancer, @@ -2325,7 +2325,7 @@ func (c *ELB) RegisterInstancesWithLoadBalancerRequest(input *RegisterInstancesW // * ErrCodeInvalidEndPointException "InvalidInstance" // The specified endpoint is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterInstancesWithLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterInstancesWithLoadBalancer func (c *ELB) RegisterInstancesWithLoadBalancer(input *RegisterInstancesWithLoadBalancerInput) (*RegisterInstancesWithLoadBalancerOutput, error) { req, out := c.RegisterInstancesWithLoadBalancerRequest(input) return out, req.Send() @@ -2372,7 +2372,7 @@ const opRemoveTags = "RemoveTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTags func (c *ELB) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) { op := &request.Operation{ Name: opRemoveTags, @@ -2404,7 +2404,7 @@ func (c *ELB) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, o // * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" // The specified load balancer does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTags func (c *ELB) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) { req, out := c.RemoveTagsRequest(input) return out, req.Send() @@ -2451,7 +2451,7 @@ const opSetLoadBalancerListenerSSLCertificate = "SetLoadBalancerListenerSSLCerti // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificate func (c *ELB) SetLoadBalancerListenerSSLCertificateRequest(input *SetLoadBalancerListenerSSLCertificateInput) (req *request.Request, output *SetLoadBalancerListenerSSLCertificateOutput) { op := &request.Operation{ Name: opSetLoadBalancerListenerSSLCertificate, @@ -2504,7 +2504,7 @@ func (c *ELB) SetLoadBalancerListenerSSLCertificateRequest(input *SetLoadBalance // * ErrCodeUnsupportedProtocolException "UnsupportedProtocol" // The specified protocol or signature version is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificate func (c *ELB) SetLoadBalancerListenerSSLCertificate(input *SetLoadBalancerListenerSSLCertificateInput) (*SetLoadBalancerListenerSSLCertificateOutput, error) { req, out := c.SetLoadBalancerListenerSSLCertificateRequest(input) return out, req.Send() @@ -2551,7 +2551,7 @@ const opSetLoadBalancerPoliciesForBackendServer = "SetLoadBalancerPoliciesForBac // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServer func (c *ELB) SetLoadBalancerPoliciesForBackendServerRequest(input *SetLoadBalancerPoliciesForBackendServerInput) (req *request.Request, output *SetLoadBalancerPoliciesForBackendServerOutput) { op := &request.Operation{ Name: opSetLoadBalancerPoliciesForBackendServer, @@ -2604,7 +2604,7 @@ func (c *ELB) SetLoadBalancerPoliciesForBackendServerRequest(input *SetLoadBalan // * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" // The requested configuration change is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServer func (c *ELB) SetLoadBalancerPoliciesForBackendServer(input *SetLoadBalancerPoliciesForBackendServerInput) (*SetLoadBalancerPoliciesForBackendServerOutput, error) { req, out := c.SetLoadBalancerPoliciesForBackendServerRequest(input) return out, req.Send() @@ -2651,7 +2651,7 @@ const opSetLoadBalancerPoliciesOfListener = "SetLoadBalancerPoliciesOfListener" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListener +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListener func (c *ELB) SetLoadBalancerPoliciesOfListenerRequest(input *SetLoadBalancerPoliciesOfListenerInput) (req *request.Request, output *SetLoadBalancerPoliciesOfListenerOutput) { op := &request.Operation{ Name: opSetLoadBalancerPoliciesOfListener, @@ -2701,7 +2701,7 @@ func (c *ELB) SetLoadBalancerPoliciesOfListenerRequest(input *SetLoadBalancerPol // * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" // The requested configuration change is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListener +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListener func (c *ELB) SetLoadBalancerPoliciesOfListener(input *SetLoadBalancerPoliciesOfListenerInput) (*SetLoadBalancerPoliciesOfListenerOutput, error) { req, out := c.SetLoadBalancerPoliciesOfListenerRequest(input) return out, req.Send() @@ -2724,7 +2724,7 @@ func (c *ELB) SetLoadBalancerPoliciesOfListenerWithContext(ctx aws.Context, inpu } // Information about the AccessLog attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AccessLog +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AccessLog type AccessLog struct { _ struct{} `type:"structure"` @@ -2796,7 +2796,7 @@ func (s *AccessLog) SetS3BucketPrefix(v string) *AccessLog { } // Contains the parameters for AddTags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTagsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTagsInput type AddTagsInput struct { _ struct{} `type:"structure"` @@ -2863,7 +2863,7 @@ func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput { } // Contains the output of AddTags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTagsOutput type AddTagsOutput struct { _ struct{} `type:"structure"` } @@ -2879,7 +2879,7 @@ func (s AddTagsOutput) GoString() string { } // This data type is reserved. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AdditionalAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AdditionalAttribute type AdditionalAttribute struct { _ struct{} `type:"structure"` @@ -2913,7 +2913,7 @@ func (s *AdditionalAttribute) SetValue(v string) *AdditionalAttribute { } // Information about a policy for application-controlled session stickiness. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AppCookieStickinessPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AppCookieStickinessPolicy type AppCookieStickinessPolicy struct { _ struct{} `type:"structure"` @@ -2948,7 +2948,7 @@ func (s *AppCookieStickinessPolicy) SetPolicyName(v string) *AppCookieStickiness } // Contains the parameters for ApplySecurityGroupsToLoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancerInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancerInput type ApplySecurityGroupsToLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -3003,7 +3003,7 @@ func (s *ApplySecurityGroupsToLoadBalancerInput) SetSecurityGroups(v []*string) } // Contains the output of ApplySecurityGroupsToLoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancerOutput type ApplySecurityGroupsToLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -3028,7 +3028,7 @@ func (s *ApplySecurityGroupsToLoadBalancerOutput) SetSecurityGroups(v []*string) } // Contains the parameters for AttachLoaBalancerToSubnets. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnetsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnetsInput type AttachLoadBalancerToSubnetsInput struct { _ struct{} `type:"structure"` @@ -3083,7 +3083,7 @@ func (s *AttachLoadBalancerToSubnetsInput) SetSubnets(v []*string) *AttachLoadBa } // Contains the output of AttachLoadBalancerToSubnets. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnetsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnetsOutput type AttachLoadBalancerToSubnetsOutput struct { _ struct{} `type:"structure"` @@ -3108,7 +3108,7 @@ func (s *AttachLoadBalancerToSubnetsOutput) SetSubnets(v []*string) *AttachLoadB } // Information about the configuration of an EC2 instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/BackendServerDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/BackendServerDescription type BackendServerDescription struct { _ struct{} `type:"structure"` @@ -3142,7 +3142,7 @@ func (s *BackendServerDescription) SetPolicyNames(v []*string) *BackendServerDes } // Contains the parameters for ConfigureHealthCheck. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheckInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheckInput type ConfigureHealthCheckInput struct { _ struct{} `type:"structure"` @@ -3201,7 +3201,7 @@ func (s *ConfigureHealthCheckInput) SetLoadBalancerName(v string) *ConfigureHeal } // Contains the output of ConfigureHealthCheck. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheckOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheckOutput type ConfigureHealthCheckOutput struct { _ struct{} `type:"structure"` @@ -3226,7 +3226,7 @@ func (s *ConfigureHealthCheckOutput) SetHealthCheck(v *HealthCheck) *ConfigureHe } // Information about the ConnectionDraining attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConnectionDraining +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConnectionDraining type ConnectionDraining struct { _ struct{} `type:"structure"` @@ -3276,7 +3276,7 @@ func (s *ConnectionDraining) SetTimeout(v int64) *ConnectionDraining { } // Information about the ConnectionSettings attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConnectionSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConnectionSettings type ConnectionSettings struct { _ struct{} `type:"structure"` @@ -3320,7 +3320,7 @@ func (s *ConnectionSettings) SetIdleTimeout(v int64) *ConnectionSettings { } // Contains the parameters for CreateAppCookieStickinessPolicy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicyInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicyInput type CreateAppCookieStickinessPolicyInput struct { _ struct{} `type:"structure"` @@ -3390,7 +3390,7 @@ func (s *CreateAppCookieStickinessPolicyInput) SetPolicyName(v string) *CreateAp } // Contains the output for CreateAppCookieStickinessPolicy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicyOutput type CreateAppCookieStickinessPolicyOutput struct { _ struct{} `type:"structure"` } @@ -3406,7 +3406,7 @@ func (s CreateAppCookieStickinessPolicyOutput) GoString() string { } // Contains the parameters for CreateLBCookieStickinessPolicy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicyInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicyInput type CreateLBCookieStickinessPolicyInput struct { _ struct{} `type:"structure"` @@ -3474,7 +3474,7 @@ func (s *CreateLBCookieStickinessPolicyInput) SetPolicyName(v string) *CreateLBC } // Contains the output for CreateLBCookieStickinessPolicy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicyOutput type CreateLBCookieStickinessPolicyOutput struct { _ struct{} `type:"structure"` } @@ -3490,7 +3490,7 @@ func (s CreateLBCookieStickinessPolicyOutput) GoString() string { } // Contains the parameters for CreateLoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAccessPointInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAccessPointInput type CreateLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -3638,7 +3638,7 @@ func (s *CreateLoadBalancerInput) SetTags(v []*Tag) *CreateLoadBalancerInput { } // Contains the parameters for CreateLoadBalancerListeners. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListenerInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListenerInput type CreateLoadBalancerListenersInput struct { _ struct{} `type:"structure"` @@ -3702,7 +3702,7 @@ func (s *CreateLoadBalancerListenersInput) SetLoadBalancerName(v string) *Create } // Contains the parameters for CreateLoadBalancerListener. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListenerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListenerOutput type CreateLoadBalancerListenersOutput struct { _ struct{} `type:"structure"` } @@ -3718,7 +3718,7 @@ func (s CreateLoadBalancerListenersOutput) GoString() string { } // Contains the output for CreateLoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAccessPointOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAccessPointOutput type CreateLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -3743,7 +3743,7 @@ func (s *CreateLoadBalancerOutput) SetDNSName(v string) *CreateLoadBalancerOutpu } // Contains the parameters for CreateLoadBalancerPolicy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicyInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicyInput type CreateLoadBalancerPolicyInput struct { _ struct{} `type:"structure"` @@ -3821,7 +3821,7 @@ func (s *CreateLoadBalancerPolicyInput) SetPolicyTypeName(v string) *CreateLoadB } // Contains the output of CreateLoadBalancerPolicy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicyOutput type CreateLoadBalancerPolicyOutput struct { _ struct{} `type:"structure"` } @@ -3837,7 +3837,7 @@ func (s CreateLoadBalancerPolicyOutput) GoString() string { } // Information about the CrossZoneLoadBalancing attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CrossZoneLoadBalancing +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CrossZoneLoadBalancing type CrossZoneLoadBalancing struct { _ struct{} `type:"structure"` @@ -3877,7 +3877,7 @@ func (s *CrossZoneLoadBalancing) SetEnabled(v bool) *CrossZoneLoadBalancing { } // Contains the parameters for DeleteLoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteAccessPointInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteAccessPointInput type DeleteLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -3917,7 +3917,7 @@ func (s *DeleteLoadBalancerInput) SetLoadBalancerName(v string) *DeleteLoadBalan } // Contains the parameters for DeleteLoadBalancerListeners. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListenerInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListenerInput type DeleteLoadBalancerListenersInput struct { _ struct{} `type:"structure"` @@ -3971,7 +3971,7 @@ func (s *DeleteLoadBalancerListenersInput) SetLoadBalancerPorts(v []*int64) *Del } // Contains the output of DeleteLoadBalancerListeners. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListenerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListenerOutput type DeleteLoadBalancerListenersOutput struct { _ struct{} `type:"structure"` } @@ -3987,7 +3987,7 @@ func (s DeleteLoadBalancerListenersOutput) GoString() string { } // Contains the output of DeleteLoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteAccessPointOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteAccessPointOutput type DeleteLoadBalancerOutput struct { _ struct{} `type:"structure"` } @@ -4003,7 +4003,7 @@ func (s DeleteLoadBalancerOutput) GoString() string { } // Contains the parameters for DeleteLoadBalancerPolicy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicyInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicyInput type DeleteLoadBalancerPolicyInput struct { _ struct{} `type:"structure"` @@ -4057,7 +4057,7 @@ func (s *DeleteLoadBalancerPolicyInput) SetPolicyName(v string) *DeleteLoadBalan } // Contains the output of DeleteLoadBalancerPolicy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicyOutput type DeleteLoadBalancerPolicyOutput struct { _ struct{} `type:"structure"` } @@ -4073,7 +4073,7 @@ func (s DeleteLoadBalancerPolicyOutput) GoString() string { } // Contains the parameters for DeregisterInstancesFromLoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterEndPointsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterEndPointsInput type DeregisterInstancesFromLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -4127,7 +4127,7 @@ func (s *DeregisterInstancesFromLoadBalancerInput) SetLoadBalancerName(v string) } // Contains the output of DeregisterInstancesFromLoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterEndPointsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterEndPointsOutput type DeregisterInstancesFromLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -4151,7 +4151,7 @@ func (s *DeregisterInstancesFromLoadBalancerOutput) SetInstances(v []*Instance) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimitsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimitsInput type DescribeAccountLimitsInput struct { _ struct{} `type:"structure"` @@ -4198,7 +4198,7 @@ func (s *DescribeAccountLimitsInput) SetPageSize(v int64) *DescribeAccountLimits return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimitsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimitsOutput type DescribeAccountLimitsOutput struct { _ struct{} `type:"structure"` @@ -4233,7 +4233,7 @@ func (s *DescribeAccountLimitsOutput) SetNextMarker(v string) *DescribeAccountLi } // Contains the parameters for DescribeInstanceHealth. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeEndPointStateInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeEndPointStateInput type DescribeInstanceHealthInput struct { _ struct{} `type:"structure"` @@ -4282,7 +4282,7 @@ func (s *DescribeInstanceHealthInput) SetLoadBalancerName(v string) *DescribeIns } // Contains the output for DescribeInstanceHealth. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeEndPointStateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeEndPointStateOutput type DescribeInstanceHealthOutput struct { _ struct{} `type:"structure"` @@ -4307,7 +4307,7 @@ func (s *DescribeInstanceHealthOutput) SetInstanceStates(v []*InstanceState) *De } // Contains the parameters for DescribeLoadBalancerAttributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributesInput type DescribeLoadBalancerAttributesInput struct { _ struct{} `type:"structure"` @@ -4347,7 +4347,7 @@ func (s *DescribeLoadBalancerAttributesInput) SetLoadBalancerName(v string) *Des } // Contains the output of DescribeLoadBalancerAttributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributesOutput type DescribeLoadBalancerAttributesOutput struct { _ struct{} `type:"structure"` @@ -4372,7 +4372,7 @@ func (s *DescribeLoadBalancerAttributesOutput) SetLoadBalancerAttributes(v *Load } // Contains the parameters for DescribeLoadBalancerPolicies. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPoliciesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPoliciesInput type DescribeLoadBalancerPoliciesInput struct { _ struct{} `type:"structure"` @@ -4406,7 +4406,7 @@ func (s *DescribeLoadBalancerPoliciesInput) SetPolicyNames(v []*string) *Describ } // Contains the output of DescribeLoadBalancerPolicies. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPoliciesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPoliciesOutput type DescribeLoadBalancerPoliciesOutput struct { _ struct{} `type:"structure"` @@ -4431,7 +4431,7 @@ func (s *DescribeLoadBalancerPoliciesOutput) SetPolicyDescriptions(v []*PolicyDe } // Contains the parameters for DescribeLoadBalancerPolicyTypes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypesInput type DescribeLoadBalancerPolicyTypesInput struct { _ struct{} `type:"structure"` @@ -4457,7 +4457,7 @@ func (s *DescribeLoadBalancerPolicyTypesInput) SetPolicyTypeNames(v []*string) * } // Contains the output of DescribeLoadBalancerPolicyTypes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypesOutput type DescribeLoadBalancerPolicyTypesOutput struct { _ struct{} `type:"structure"` @@ -4482,7 +4482,7 @@ func (s *DescribeLoadBalancerPolicyTypesOutput) SetPolicyTypeDescriptions(v []*P } // Contains the parameters for DescribeLoadBalancers. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccessPointsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccessPointsInput type DescribeLoadBalancersInput struct { _ struct{} `type:"structure"` @@ -4540,7 +4540,7 @@ func (s *DescribeLoadBalancersInput) SetPageSize(v int64) *DescribeLoadBalancers } // Contains the parameters for DescribeLoadBalancers. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccessPointsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccessPointsOutput type DescribeLoadBalancersOutput struct { _ struct{} `type:"structure"` @@ -4575,7 +4575,7 @@ func (s *DescribeLoadBalancersOutput) SetNextMarker(v string) *DescribeLoadBalan } // Contains the parameters for DescribeTags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTagsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTagsInput type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -4618,7 +4618,7 @@ func (s *DescribeTagsInput) SetLoadBalancerNames(v []*string) *DescribeTagsInput } // Contains the output for DescribeTags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTagsOutput type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -4643,7 +4643,7 @@ func (s *DescribeTagsOutput) SetTagDescriptions(v []*TagDescription) *DescribeTa } // Contains the parameters for DetachLoadBalancerFromSubnets. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnetsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnetsInput type DetachLoadBalancerFromSubnetsInput struct { _ struct{} `type:"structure"` @@ -4697,7 +4697,7 @@ func (s *DetachLoadBalancerFromSubnetsInput) SetSubnets(v []*string) *DetachLoad } // Contains the output of DetachLoadBalancerFromSubnets. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnetsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnetsOutput type DetachLoadBalancerFromSubnetsOutput struct { _ struct{} `type:"structure"` @@ -4722,7 +4722,7 @@ func (s *DetachLoadBalancerFromSubnetsOutput) SetSubnets(v []*string) *DetachLoa } // Contains the parameters for DisableAvailabilityZonesForLoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveAvailabilityZonesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveAvailabilityZonesInput type DisableAvailabilityZonesForLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -4776,7 +4776,7 @@ func (s *DisableAvailabilityZonesForLoadBalancerInput) SetLoadBalancerName(v str } // Contains the output for DisableAvailabilityZonesForLoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveAvailabilityZonesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveAvailabilityZonesOutput type DisableAvailabilityZonesForLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -4801,7 +4801,7 @@ func (s *DisableAvailabilityZonesForLoadBalancerOutput) SetAvailabilityZones(v [ } // Contains the parameters for EnableAvailabilityZonesForLoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddAvailabilityZonesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddAvailabilityZonesInput type EnableAvailabilityZonesForLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -4855,7 +4855,7 @@ func (s *EnableAvailabilityZonesForLoadBalancerInput) SetLoadBalancerName(v stri } // Contains the output of EnableAvailabilityZonesForLoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddAvailabilityZonesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddAvailabilityZonesOutput type EnableAvailabilityZonesForLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -4880,7 +4880,7 @@ func (s *EnableAvailabilityZonesForLoadBalancerOutput) SetAvailabilityZones(v [] } // Information about a health check. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/HealthCheck +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/HealthCheck type HealthCheck struct { _ struct{} `type:"structure"` @@ -5011,7 +5011,7 @@ func (s *HealthCheck) SetUnhealthyThreshold(v int64) *HealthCheck { } // The ID of an EC2 instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Instance +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Instance type Instance struct { _ struct{} `type:"structure"` @@ -5036,7 +5036,7 @@ func (s *Instance) SetInstanceId(v string) *Instance { } // Information about the state of an EC2 instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/InstanceState +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/InstanceState type InstanceState struct { _ struct{} `type:"structure"` @@ -5121,7 +5121,7 @@ func (s *InstanceState) SetState(v string) *InstanceState { } // Information about a policy for duration-based session stickiness. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LBCookieStickinessPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LBCookieStickinessPolicy type LBCookieStickinessPolicy struct { _ struct{} `type:"structure"` @@ -5158,7 +5158,7 @@ func (s *LBCookieStickinessPolicy) SetPolicyName(v string) *LBCookieStickinessPo } // Information about an Elastic Load Balancing resource limit for your AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Limit +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Limit type Limit struct { _ struct{} `type:"structure"` @@ -5200,7 +5200,7 @@ func (s *Limit) SetName(v string) *Limit { // For information about the protocols and the ports supported by Elastic Load // Balancing, see Listeners for Your Classic Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-listener-config.html) // in the Classic Load Balancer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Listener +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Listener type Listener struct { _ struct{} `type:"structure"` @@ -5302,7 +5302,7 @@ func (s *Listener) SetSSLCertificateId(v string) *Listener { } // The policies enabled for a listener. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ListenerDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ListenerDescription type ListenerDescription struct { _ struct{} `type:"structure"` @@ -5336,7 +5336,7 @@ func (s *ListenerDescription) SetPolicyNames(v []*string) *ListenerDescription { } // The attributes for a load balancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LoadBalancerAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LoadBalancerAttributes type LoadBalancerAttributes struct { _ struct{} `type:"structure"` @@ -5445,7 +5445,7 @@ func (s *LoadBalancerAttributes) SetCrossZoneLoadBalancing(v *CrossZoneLoadBalan } // Information about a load balancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LoadBalancerDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LoadBalancerDescription type LoadBalancerDescription struct { _ struct{} `type:"structure"` @@ -5618,7 +5618,7 @@ func (s *LoadBalancerDescription) SetVPCId(v string) *LoadBalancerDescription { } // Contains the parameters for ModifyLoadBalancerAttributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributesInput type ModifyLoadBalancerAttributesInput struct { _ struct{} `type:"structure"` @@ -5677,7 +5677,7 @@ func (s *ModifyLoadBalancerAttributesInput) SetLoadBalancerName(v string) *Modif } // Contains the output of ModifyLoadBalancerAttributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributesOutput type ModifyLoadBalancerAttributesOutput struct { _ struct{} `type:"structure"` @@ -5711,7 +5711,7 @@ func (s *ModifyLoadBalancerAttributesOutput) SetLoadBalancerName(v string) *Modi } // The policies for a load balancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Policies +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Policies type Policies struct { _ struct{} `type:"structure"` @@ -5754,7 +5754,7 @@ func (s *Policies) SetOtherPolicies(v []*string) *Policies { } // Information about a policy attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttribute type PolicyAttribute struct { _ struct{} `type:"structure"` @@ -5788,7 +5788,7 @@ func (s *PolicyAttribute) SetAttributeValue(v string) *PolicyAttribute { } // Information about a policy attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttributeDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttributeDescription type PolicyAttributeDescription struct { _ struct{} `type:"structure"` @@ -5822,7 +5822,7 @@ func (s *PolicyAttributeDescription) SetAttributeValue(v string) *PolicyAttribut } // Information about a policy attribute type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttributeTypeDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttributeTypeDescription type PolicyAttributeTypeDescription struct { _ struct{} `type:"structure"` @@ -5893,7 +5893,7 @@ func (s *PolicyAttributeTypeDescription) SetDescription(v string) *PolicyAttribu } // Information about a policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyDescription type PolicyDescription struct { _ struct{} `type:"structure"` @@ -5936,7 +5936,7 @@ func (s *PolicyDescription) SetPolicyTypeName(v string) *PolicyDescription { } // Information about a policy type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyTypeDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyTypeDescription type PolicyTypeDescription struct { _ struct{} `type:"structure"` @@ -5980,7 +5980,7 @@ func (s *PolicyTypeDescription) SetPolicyTypeName(v string) *PolicyTypeDescripti } // Contains the parameters for RegisterInstancesWithLoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterEndPointsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterEndPointsInput type RegisterInstancesWithLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -6034,7 +6034,7 @@ func (s *RegisterInstancesWithLoadBalancerInput) SetLoadBalancerName(v string) * } // Contains the output of RegisterInstancesWithLoadBalancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterEndPointsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterEndPointsOutput type RegisterInstancesWithLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -6059,7 +6059,7 @@ func (s *RegisterInstancesWithLoadBalancerOutput) SetInstances(v []*Instance) *R } // Contains the parameters for RemoveTags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTagsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTagsInput type RemoveTagsInput struct { _ struct{} `type:"structure"` @@ -6127,7 +6127,7 @@ func (s *RemoveTagsInput) SetTags(v []*TagKeyOnly) *RemoveTagsInput { } // Contains the output of RemoveTags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTagsOutput type RemoveTagsOutput struct { _ struct{} `type:"structure"` } @@ -6143,7 +6143,7 @@ func (s RemoveTagsOutput) GoString() string { } // Contains the parameters for SetLoadBalancerListenerSSLCertificate. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificateInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificateInput type SetLoadBalancerListenerSSLCertificateInput struct { _ struct{} `type:"structure"` @@ -6211,7 +6211,7 @@ func (s *SetLoadBalancerListenerSSLCertificateInput) SetSSLCertificateId(v strin } // Contains the output of SetLoadBalancerListenerSSLCertificate. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificateOutput type SetLoadBalancerListenerSSLCertificateOutput struct { _ struct{} `type:"structure"` } @@ -6227,7 +6227,7 @@ func (s SetLoadBalancerListenerSSLCertificateOutput) GoString() string { } // Contains the parameters for SetLoadBalancerPoliciesForBackendServer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServerInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServerInput type SetLoadBalancerPoliciesForBackendServerInput struct { _ struct{} `type:"structure"` @@ -6296,7 +6296,7 @@ func (s *SetLoadBalancerPoliciesForBackendServerInput) SetPolicyNames(v []*strin } // Contains the output of SetLoadBalancerPoliciesForBackendServer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServerOutput type SetLoadBalancerPoliciesForBackendServerOutput struct { _ struct{} `type:"structure"` } @@ -6312,7 +6312,7 @@ func (s SetLoadBalancerPoliciesForBackendServerOutput) GoString() string { } // Contains the parameters for SetLoadBalancePoliciesOfListener. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListenerInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListenerInput type SetLoadBalancerPoliciesOfListenerInput struct { _ struct{} `type:"structure"` @@ -6382,7 +6382,7 @@ func (s *SetLoadBalancerPoliciesOfListenerInput) SetPolicyNames(v []*string) *Se } // Contains the output of SetLoadBalancePoliciesOfListener. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListenerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListenerOutput type SetLoadBalancerPoliciesOfListenerOutput struct { _ struct{} `type:"structure"` } @@ -6398,7 +6398,7 @@ func (s SetLoadBalancerPoliciesOfListenerOutput) GoString() string { } // Information about a source security group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SourceSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SourceSecurityGroup type SourceSecurityGroup struct { _ struct{} `type:"structure"` @@ -6432,7 +6432,7 @@ func (s *SourceSecurityGroup) SetOwnerAlias(v string) *SourceSecurityGroup { } // Information about a tag. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Tag type Tag struct { _ struct{} `type:"structure"` @@ -6484,7 +6484,7 @@ func (s *Tag) SetValue(v string) *Tag { } // The tags associated with a load balancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TagDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TagDescription type TagDescription struct { _ struct{} `type:"structure"` @@ -6518,7 +6518,7 @@ func (s *TagDescription) SetTags(v []*Tag) *TagDescription { } // The key of a tag. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TagKeyOnly +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TagKeyOnly type TagKeyOnly struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/elbv2/api.go b/vendor/github.com/aws/aws-sdk-go/service/elbv2/api.go index 3c65f31bc51..59c283c4be7 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/elbv2/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/elbv2/api.go @@ -36,7 +36,7 @@ const opAddListenerCertificates = "AddListenerCertificates" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificates func (c *ELBV2) AddListenerCertificatesRequest(input *AddListenerCertificatesInput) (req *request.Request, output *AddListenerCertificatesOutput) { op := &request.Operation{ Name: opAddListenerCertificates, @@ -80,7 +80,7 @@ func (c *ELBV2) AddListenerCertificatesRequest(input *AddListenerCertificatesInp // * ErrCodeCertificateNotFoundException "CertificateNotFound" // The specified certificate does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificates func (c *ELBV2) AddListenerCertificates(input *AddListenerCertificatesInput) (*AddListenerCertificatesOutput, error) { req, out := c.AddListenerCertificatesRequest(input) return out, req.Send() @@ -127,7 +127,7 @@ const opAddTags = "AddTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTags func (c *ELBV2) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) { op := &request.Operation{ Name: opAddTags, @@ -176,7 +176,7 @@ func (c *ELBV2) AddTagsRequest(input *AddTagsInput) (req *request.Request, outpu // * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" // The specified target group does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTags func (c *ELBV2) AddTags(input *AddTagsInput) (*AddTagsOutput, error) { req, out := c.AddTagsRequest(input) return out, req.Send() @@ -223,7 +223,7 @@ const opCreateListener = "CreateListener" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListener +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListener func (c *ELBV2) CreateListenerRequest(input *CreateListenerInput) (req *request.Request, output *CreateListenerOutput) { op := &request.Operation{ Name: opCreateListener, @@ -306,7 +306,7 @@ func (c *ELBV2) CreateListenerRequest(input *CreateListenerInput) (req *request. // * ErrCodeTooManyTargetsException "TooManyTargets" // You've reached the limit on the number of targets. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListener +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListener func (c *ELBV2) CreateListener(input *CreateListenerInput) (*CreateListenerOutput, error) { req, out := c.CreateListenerRequest(input) return out, req.Send() @@ -353,7 +353,7 @@ const opCreateLoadBalancer = "CreateLoadBalancer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer func (c *ELBV2) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *request.Request, output *CreateLoadBalancerOutput) { op := &request.Operation{ Name: opCreateLoadBalancer, @@ -439,7 +439,7 @@ func (c *ELBV2) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req * // * ErrCodeAvailabilityZoneNotSupportedException "AvailabilityZoneNotSupported" // The specified Availability Zone is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer func (c *ELBV2) CreateLoadBalancer(input *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error) { req, out := c.CreateLoadBalancerRequest(input) return out, req.Send() @@ -486,7 +486,7 @@ const opCreateRule = "CreateRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRule func (c *ELBV2) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, output *CreateRuleOutput) { op := &request.Operation{ Name: opCreateRule, @@ -557,7 +557,7 @@ func (c *ELBV2) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, // * ErrCodeTooManyTargetsException "TooManyTargets" // You've reached the limit on the number of targets. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRule func (c *ELBV2) CreateRule(input *CreateRuleInput) (*CreateRuleOutput, error) { req, out := c.CreateRuleRequest(input) return out, req.Send() @@ -604,7 +604,7 @@ const opCreateTargetGroup = "CreateTargetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroup func (c *ELBV2) CreateTargetGroupRequest(input *CreateTargetGroupInput) (req *request.Request, output *CreateTargetGroupOutput) { op := &request.Operation{ Name: opCreateTargetGroup, @@ -661,7 +661,7 @@ func (c *ELBV2) CreateTargetGroupRequest(input *CreateTargetGroupInput) (req *re // * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" // The requested configuration is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroup func (c *ELBV2) CreateTargetGroup(input *CreateTargetGroupInput) (*CreateTargetGroupOutput, error) { req, out := c.CreateTargetGroupRequest(input) return out, req.Send() @@ -708,7 +708,7 @@ const opDeleteListener = "DeleteListener" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListener +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListener func (c *ELBV2) DeleteListenerRequest(input *DeleteListenerInput) (req *request.Request, output *DeleteListenerOutput) { op := &request.Operation{ Name: opDeleteListener, @@ -743,7 +743,7 @@ func (c *ELBV2) DeleteListenerRequest(input *DeleteListenerInput) (req *request. // * ErrCodeListenerNotFoundException "ListenerNotFound" // The specified listener does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListener +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListener func (c *ELBV2) DeleteListener(input *DeleteListenerInput) (*DeleteListenerOutput, error) { req, out := c.DeleteListenerRequest(input) return out, req.Send() @@ -790,7 +790,7 @@ const opDeleteLoadBalancer = "DeleteLoadBalancer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancer func (c *ELBV2) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req *request.Request, output *DeleteLoadBalancerOutput) { op := &request.Operation{ Name: opDeleteLoadBalancer, @@ -834,7 +834,10 @@ func (c *ELBV2) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req * // * ErrCodeOperationNotPermittedException "OperationNotPermitted" // This operation is not allowed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancer +// * ErrCodeResourceInUseException "ResourceInUse" +// A specified resource is in use. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancer func (c *ELBV2) DeleteLoadBalancer(input *DeleteLoadBalancerInput) (*DeleteLoadBalancerOutput, error) { req, out := c.DeleteLoadBalancerRequest(input) return out, req.Send() @@ -881,7 +884,7 @@ const opDeleteRule = "DeleteRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRule func (c *ELBV2) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, output *DeleteRuleOutput) { op := &request.Operation{ Name: opDeleteRule, @@ -916,7 +919,7 @@ func (c *ELBV2) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, // * ErrCodeOperationNotPermittedException "OperationNotPermitted" // This operation is not allowed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRule func (c *ELBV2) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error) { req, out := c.DeleteRuleRequest(input) return out, req.Send() @@ -963,7 +966,7 @@ const opDeleteTargetGroup = "DeleteTargetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroup func (c *ELBV2) DeleteTargetGroupRequest(input *DeleteTargetGroupInput) (req *request.Request, output *DeleteTargetGroupOutput) { op := &request.Operation{ Name: opDeleteTargetGroup, @@ -998,7 +1001,7 @@ func (c *ELBV2) DeleteTargetGroupRequest(input *DeleteTargetGroupInput) (req *re // * ErrCodeResourceInUseException "ResourceInUse" // A specified resource is in use. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroup func (c *ELBV2) DeleteTargetGroup(input *DeleteTargetGroupInput) (*DeleteTargetGroupOutput, error) { req, out := c.DeleteTargetGroupRequest(input) return out, req.Send() @@ -1045,7 +1048,7 @@ const opDeregisterTargets = "DeregisterTargets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargets func (c *ELBV2) DeregisterTargetsRequest(input *DeregisterTargetsInput) (req *request.Request, output *DeregisterTargetsOutput) { op := &request.Operation{ Name: opDeregisterTargets, @@ -1083,7 +1086,7 @@ func (c *ELBV2) DeregisterTargetsRequest(input *DeregisterTargetsInput) (req *re // The specified target does not exist, is not in the same VPC as the target // group, or has an unsupported instance type. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargets func (c *ELBV2) DeregisterTargets(input *DeregisterTargetsInput) (*DeregisterTargetsOutput, error) { req, out := c.DeregisterTargetsRequest(input) return out, req.Send() @@ -1130,7 +1133,7 @@ const opDescribeAccountLimits = "DescribeAccountLimits" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeAccountLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeAccountLimits func (c *ELBV2) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (req *request.Request, output *DescribeAccountLimitsOutput) { op := &request.Operation{ Name: opDescribeAccountLimits, @@ -1163,7 +1166,7 @@ func (c *ELBV2) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) // // See the AWS API reference guide for Elastic Load Balancing's // API operation DescribeAccountLimits for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeAccountLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeAccountLimits func (c *ELBV2) DescribeAccountLimits(input *DescribeAccountLimitsInput) (*DescribeAccountLimitsOutput, error) { req, out := c.DescribeAccountLimitsRequest(input) return out, req.Send() @@ -1210,7 +1213,7 @@ const opDescribeListenerCertificates = "DescribeListenerCertificates" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificates func (c *ELBV2) DescribeListenerCertificatesRequest(input *DescribeListenerCertificatesInput) (req *request.Request, output *DescribeListenerCertificatesOutput) { op := &request.Operation{ Name: opDescribeListenerCertificates, @@ -1242,7 +1245,7 @@ func (c *ELBV2) DescribeListenerCertificatesRequest(input *DescribeListenerCerti // * ErrCodeListenerNotFoundException "ListenerNotFound" // The specified listener does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificates func (c *ELBV2) DescribeListenerCertificates(input *DescribeListenerCertificatesInput) (*DescribeListenerCertificatesOutput, error) { req, out := c.DescribeListenerCertificatesRequest(input) return out, req.Send() @@ -1289,7 +1292,7 @@ const opDescribeListeners = "DescribeListeners" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners func (c *ELBV2) DescribeListenersRequest(input *DescribeListenersInput) (req *request.Request, output *DescribeListenersOutput) { op := &request.Operation{ Name: opDescribeListeners, @@ -1332,7 +1335,7 @@ func (c *ELBV2) DescribeListenersRequest(input *DescribeListenersInput) (req *re // * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" // The specified load balancer does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners func (c *ELBV2) DescribeListeners(input *DescribeListenersInput) (*DescribeListenersOutput, error) { req, out := c.DescribeListenersRequest(input) return out, req.Send() @@ -1429,7 +1432,7 @@ const opDescribeLoadBalancerAttributes = "DescribeLoadBalancerAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributes func (c *ELBV2) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalancerAttributesInput) (req *request.Request, output *DescribeLoadBalancerAttributesOutput) { op := &request.Operation{ Name: opDescribeLoadBalancerAttributes, @@ -1462,7 +1465,7 @@ func (c *ELBV2) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalance // * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" // The specified load balancer does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributes func (c *ELBV2) DescribeLoadBalancerAttributes(input *DescribeLoadBalancerAttributesInput) (*DescribeLoadBalancerAttributesOutput, error) { req, out := c.DescribeLoadBalancerAttributesRequest(input) return out, req.Send() @@ -1509,7 +1512,7 @@ const opDescribeLoadBalancers = "DescribeLoadBalancers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancers +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancers func (c *ELBV2) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) (req *request.Request, output *DescribeLoadBalancersOutput) { op := &request.Operation{ Name: opDescribeLoadBalancers, @@ -1550,7 +1553,7 @@ func (c *ELBV2) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) // * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" // The specified load balancer does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancers +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancers func (c *ELBV2) DescribeLoadBalancers(input *DescribeLoadBalancersInput) (*DescribeLoadBalancersOutput, error) { req, out := c.DescribeLoadBalancersRequest(input) return out, req.Send() @@ -1647,7 +1650,7 @@ const opDescribeRules = "DescribeRules" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRules +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRules func (c *ELBV2) DescribeRulesRequest(input *DescribeRulesInput) (req *request.Request, output *DescribeRulesOutput) { op := &request.Operation{ Name: opDescribeRules, @@ -1683,7 +1686,7 @@ func (c *ELBV2) DescribeRulesRequest(input *DescribeRulesInput) (req *request.Re // * ErrCodeRuleNotFoundException "RuleNotFound" // The specified rule does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRules +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRules func (c *ELBV2) DescribeRules(input *DescribeRulesInput) (*DescribeRulesOutput, error) { req, out := c.DescribeRulesRequest(input) return out, req.Send() @@ -1730,7 +1733,7 @@ const opDescribeSSLPolicies = "DescribeSSLPolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPolicies func (c *ELBV2) DescribeSSLPoliciesRequest(input *DescribeSSLPoliciesInput) (req *request.Request, output *DescribeSSLPoliciesOutput) { op := &request.Operation{ Name: opDescribeSSLPolicies, @@ -1765,7 +1768,7 @@ func (c *ELBV2) DescribeSSLPoliciesRequest(input *DescribeSSLPoliciesInput) (req // * ErrCodeSSLPolicyNotFoundException "SSLPolicyNotFound" // The specified SSL policy does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPolicies func (c *ELBV2) DescribeSSLPolicies(input *DescribeSSLPoliciesInput) (*DescribeSSLPoliciesOutput, error) { req, out := c.DescribeSSLPoliciesRequest(input) return out, req.Send() @@ -1812,7 +1815,7 @@ const opDescribeTags = "DescribeTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTags func (c *ELBV2) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { op := &request.Operation{ Name: opDescribeTags, @@ -1855,7 +1858,7 @@ func (c *ELBV2) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Requ // * ErrCodeRuleNotFoundException "RuleNotFound" // The specified rule does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTags func (c *ELBV2) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { req, out := c.DescribeTagsRequest(input) return out, req.Send() @@ -1902,7 +1905,7 @@ const opDescribeTargetGroupAttributes = "DescribeTargetGroupAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributes func (c *ELBV2) DescribeTargetGroupAttributesRequest(input *DescribeTargetGroupAttributesInput) (req *request.Request, output *DescribeTargetGroupAttributesOutput) { op := &request.Operation{ Name: opDescribeTargetGroupAttributes, @@ -1934,7 +1937,7 @@ func (c *ELBV2) DescribeTargetGroupAttributesRequest(input *DescribeTargetGroupA // * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" // The specified target group does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributes func (c *ELBV2) DescribeTargetGroupAttributes(input *DescribeTargetGroupAttributesInput) (*DescribeTargetGroupAttributesOutput, error) { req, out := c.DescribeTargetGroupAttributesRequest(input) return out, req.Send() @@ -1981,7 +1984,7 @@ const opDescribeTargetGroups = "DescribeTargetGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroups func (c *ELBV2) DescribeTargetGroupsRequest(input *DescribeTargetGroupsInput) (req *request.Request, output *DescribeTargetGroupsOutput) { op := &request.Operation{ Name: opDescribeTargetGroups, @@ -2028,7 +2031,7 @@ func (c *ELBV2) DescribeTargetGroupsRequest(input *DescribeTargetGroupsInput) (r // * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" // The specified target group does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroups func (c *ELBV2) DescribeTargetGroups(input *DescribeTargetGroupsInput) (*DescribeTargetGroupsOutput, error) { req, out := c.DescribeTargetGroupsRequest(input) return out, req.Send() @@ -2125,7 +2128,7 @@ const opDescribeTargetHealth = "DescribeTargetHealth" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealth +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealth func (c *ELBV2) DescribeTargetHealthRequest(input *DescribeTargetHealthInput) (req *request.Request, output *DescribeTargetHealthOutput) { op := &request.Operation{ Name: opDescribeTargetHealth, @@ -2165,7 +2168,7 @@ func (c *ELBV2) DescribeTargetHealthRequest(input *DescribeTargetHealthInput) (r // The health of the specified targets could not be retrieved due to an internal // error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealth +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealth func (c *ELBV2) DescribeTargetHealth(input *DescribeTargetHealthInput) (*DescribeTargetHealthOutput, error) { req, out := c.DescribeTargetHealthRequest(input) return out, req.Send() @@ -2212,7 +2215,7 @@ const opModifyListener = "ModifyListener" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListener +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListener func (c *ELBV2) ModifyListenerRequest(input *ModifyListenerInput) (req *request.Request, output *ModifyListenerOutput) { op := &request.Operation{ Name: opModifyListener, @@ -2286,7 +2289,7 @@ func (c *ELBV2) ModifyListenerRequest(input *ModifyListenerInput) (req *request. // * ErrCodeTooManyTargetsException "TooManyTargets" // You've reached the limit on the number of targets. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListener +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListener func (c *ELBV2) ModifyListener(input *ModifyListenerInput) (*ModifyListenerOutput, error) { req, out := c.ModifyListenerRequest(input) return out, req.Send() @@ -2333,7 +2336,7 @@ const opModifyLoadBalancerAttributes = "ModifyLoadBalancerAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributes func (c *ELBV2) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAttributesInput) (req *request.Request, output *ModifyLoadBalancerAttributesOutput) { op := &request.Operation{ Name: opModifyLoadBalancerAttributes, @@ -2373,7 +2376,7 @@ func (c *ELBV2) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAtt // * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" // The requested configuration is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributes func (c *ELBV2) ModifyLoadBalancerAttributes(input *ModifyLoadBalancerAttributesInput) (*ModifyLoadBalancerAttributesOutput, error) { req, out := c.ModifyLoadBalancerAttributesRequest(input) return out, req.Send() @@ -2420,7 +2423,7 @@ const opModifyRule = "ModifyRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRule func (c *ELBV2) ModifyRuleRequest(input *ModifyRuleInput) (req *request.Request, output *ModifyRuleOutput) { op := &request.Operation{ Name: opModifyRule, @@ -2475,7 +2478,7 @@ func (c *ELBV2) ModifyRuleRequest(input *ModifyRuleInput) (req *request.Request, // * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" // The specified target group does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRule func (c *ELBV2) ModifyRule(input *ModifyRuleInput) (*ModifyRuleOutput, error) { req, out := c.ModifyRuleRequest(input) return out, req.Send() @@ -2522,7 +2525,7 @@ const opModifyTargetGroup = "ModifyTargetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroup func (c *ELBV2) ModifyTargetGroupRequest(input *ModifyTargetGroupInput) (req *request.Request, output *ModifyTargetGroupOutput) { op := &request.Operation{ Name: opModifyTargetGroup, @@ -2560,7 +2563,7 @@ func (c *ELBV2) ModifyTargetGroupRequest(input *ModifyTargetGroupInput) (req *re // * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" // The requested configuration is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroup func (c *ELBV2) ModifyTargetGroup(input *ModifyTargetGroupInput) (*ModifyTargetGroupOutput, error) { req, out := c.ModifyTargetGroupRequest(input) return out, req.Send() @@ -2607,7 +2610,7 @@ const opModifyTargetGroupAttributes = "ModifyTargetGroupAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributes func (c *ELBV2) ModifyTargetGroupAttributesRequest(input *ModifyTargetGroupAttributesInput) (req *request.Request, output *ModifyTargetGroupAttributesOutput) { op := &request.Operation{ Name: opModifyTargetGroupAttributes, @@ -2642,7 +2645,7 @@ func (c *ELBV2) ModifyTargetGroupAttributesRequest(input *ModifyTargetGroupAttri // * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" // The requested configuration is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributes func (c *ELBV2) ModifyTargetGroupAttributes(input *ModifyTargetGroupAttributesInput) (*ModifyTargetGroupAttributesOutput, error) { req, out := c.ModifyTargetGroupAttributesRequest(input) return out, req.Send() @@ -2689,7 +2692,7 @@ const opRegisterTargets = "RegisterTargets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargets func (c *ELBV2) RegisterTargetsRequest(input *RegisterTargetsInput) (req *request.Request, output *RegisterTargetsOutput) { op := &request.Operation{ Name: opRegisterTargets, @@ -2747,7 +2750,7 @@ func (c *ELBV2) RegisterTargetsRequest(input *RegisterTargetsInput) (req *reques // You've reached the limit on the number of times a target can be registered // with a load balancer. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargets func (c *ELBV2) RegisterTargets(input *RegisterTargetsInput) (*RegisterTargetsOutput, error) { req, out := c.RegisterTargetsRequest(input) return out, req.Send() @@ -2794,7 +2797,7 @@ const opRemoveListenerCertificates = "RemoveListenerCertificates" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificates func (c *ELBV2) RemoveListenerCertificatesRequest(input *RemoveListenerCertificatesInput) (req *request.Request, output *RemoveListenerCertificatesOutput) { op := &request.Operation{ Name: opRemoveListenerCertificates, @@ -2834,7 +2837,7 @@ func (c *ELBV2) RemoveListenerCertificatesRequest(input *RemoveListenerCertifica // * ErrCodeOperationNotPermittedException "OperationNotPermitted" // This operation is not allowed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificates func (c *ELBV2) RemoveListenerCertificates(input *RemoveListenerCertificatesInput) (*RemoveListenerCertificatesOutput, error) { req, out := c.RemoveListenerCertificatesRequest(input) return out, req.Send() @@ -2881,7 +2884,7 @@ const opRemoveTags = "RemoveTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTags func (c *ELBV2) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) { op := &request.Operation{ Name: opRemoveTags, @@ -2927,7 +2930,7 @@ func (c *ELBV2) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, // * ErrCodeTooManyTagsException "TooManyTags" // You've reached the limit on the number of tags per load balancer. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTags func (c *ELBV2) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) { req, out := c.RemoveTagsRequest(input) return out, req.Send() @@ -2974,7 +2977,7 @@ const opSetIpAddressType = "SetIpAddressType" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressType +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressType func (c *ELBV2) SetIpAddressTypeRequest(input *SetIpAddressTypeInput) (req *request.Request, output *SetIpAddressTypeOutput) { op := &request.Operation{ Name: opSetIpAddressType, @@ -3015,7 +3018,7 @@ func (c *ELBV2) SetIpAddressTypeRequest(input *SetIpAddressTypeInput) (req *requ // * ErrCodeInvalidSubnetException "InvalidSubnet" // The specified subnet is out of available addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressType +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressType func (c *ELBV2) SetIpAddressType(input *SetIpAddressTypeInput) (*SetIpAddressTypeOutput, error) { req, out := c.SetIpAddressTypeRequest(input) return out, req.Send() @@ -3062,7 +3065,7 @@ const opSetRulePriorities = "SetRulePriorities" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePriorities +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePriorities func (c *ELBV2) SetRulePrioritiesRequest(input *SetRulePrioritiesInput) (req *request.Request, output *SetRulePrioritiesOutput) { op := &request.Operation{ Name: opSetRulePriorities, @@ -3104,7 +3107,7 @@ func (c *ELBV2) SetRulePrioritiesRequest(input *SetRulePrioritiesInput) (req *re // * ErrCodeOperationNotPermittedException "OperationNotPermitted" // This operation is not allowed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePriorities +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePriorities func (c *ELBV2) SetRulePriorities(input *SetRulePrioritiesInput) (*SetRulePrioritiesOutput, error) { req, out := c.SetRulePrioritiesRequest(input) return out, req.Send() @@ -3151,7 +3154,7 @@ const opSetSecurityGroups = "SetSecurityGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroups func (c *ELBV2) SetSecurityGroupsRequest(input *SetSecurityGroupsInput) (req *request.Request, output *SetSecurityGroupsOutput) { op := &request.Operation{ Name: opSetSecurityGroups, @@ -3193,7 +3196,7 @@ func (c *ELBV2) SetSecurityGroupsRequest(input *SetSecurityGroupsInput) (req *re // * ErrCodeInvalidSecurityGroupException "InvalidSecurityGroup" // The specified security group does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroups func (c *ELBV2) SetSecurityGroups(input *SetSecurityGroupsInput) (*SetSecurityGroupsOutput, error) { req, out := c.SetSecurityGroupsRequest(input) return out, req.Send() @@ -3240,7 +3243,7 @@ const opSetSubnets = "SetSubnets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets func (c *ELBV2) SetSubnetsRequest(input *SetSubnetsInput) (req *request.Request, output *SetSubnetsOutput) { op := &request.Operation{ Name: opSetSubnets, @@ -3291,7 +3294,7 @@ func (c *ELBV2) SetSubnetsRequest(input *SetSubnetsInput) (req *request.Request, // * ErrCodeAvailabilityZoneNotSupportedException "AvailabilityZoneNotSupported" // The specified Availability Zone is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets func (c *ELBV2) SetSubnets(input *SetSubnetsInput) (*SetSubnetsOutput, error) { req, out := c.SetSubnetsRequest(input) return out, req.Send() @@ -3314,7 +3317,7 @@ func (c *ELBV2) SetSubnetsWithContext(ctx aws.Context, input *SetSubnetsInput, o } // Information about an action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Action +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Action type Action struct { _ struct{} `type:"structure"` @@ -3367,7 +3370,7 @@ func (s *Action) SetType(v string) *Action { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificatesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificatesInput type AddListenerCertificatesInput struct { _ struct{} `type:"structure"` @@ -3420,7 +3423,7 @@ func (s *AddListenerCertificatesInput) SetListenerArn(v string) *AddListenerCert return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificatesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificatesOutput type AddListenerCertificatesOutput struct { _ struct{} `type:"structure"` @@ -3444,7 +3447,7 @@ func (s *AddListenerCertificatesOutput) SetCertificates(v []*Certificate) *AddLi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTagsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTagsInput type AddTagsInput struct { _ struct{} `type:"structure"` @@ -3510,7 +3513,7 @@ func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTagsOutput type AddTagsOutput struct { _ struct{} `type:"structure"` } @@ -3526,7 +3529,7 @@ func (s AddTagsOutput) GoString() string { } // Information about an Availability Zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AvailabilityZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AvailabilityZone type AvailabilityZone struct { _ struct{} `type:"structure"` @@ -3569,7 +3572,7 @@ func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone { } // Information about an SSL server certificate. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Certificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Certificate type Certificate struct { _ struct{} `type:"structure"` @@ -3603,7 +3606,7 @@ func (s *Certificate) SetIsDefault(v bool) *Certificate { } // Information about a cipher used in a policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Cipher +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Cipher type Cipher struct { _ struct{} `type:"structure"` @@ -3636,7 +3639,7 @@ func (s *Cipher) SetPriority(v int64) *Cipher { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListenerInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListenerInput type CreateListenerInput struct { _ struct{} `type:"structure"` @@ -3754,7 +3757,7 @@ func (s *CreateListenerInput) SetSslPolicy(v string) *CreateListenerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListenerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListenerOutput type CreateListenerOutput struct { _ struct{} `type:"structure"` @@ -3778,7 +3781,7 @@ func (s *CreateListenerOutput) SetListeners(v []*Listener) *CreateListenerOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancerInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancerInput type CreateLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -3927,7 +3930,7 @@ func (s *CreateLoadBalancerInput) SetType(v string) *CreateLoadBalancerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancerOutput type CreateLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -3951,7 +3954,7 @@ func (s *CreateLoadBalancerOutput) SetLoadBalancers(v []*LoadBalancer) *CreateLo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRuleInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRuleInput type CreateRuleInput struct { _ struct{} `type:"structure"` @@ -4074,7 +4077,7 @@ func (s *CreateRuleInput) SetPriority(v int64) *CreateRuleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRuleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRuleOutput type CreateRuleOutput struct { _ struct{} `type:"structure"` @@ -4098,7 +4101,7 @@ func (s *CreateRuleOutput) SetRules(v []*Rule) *CreateRuleOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroupInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroupInput type CreateTargetGroupInput struct { _ struct{} `type:"structure"` @@ -4318,7 +4321,7 @@ func (s *CreateTargetGroupInput) SetVpcId(v string) *CreateTargetGroupInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroupOutput type CreateTargetGroupOutput struct { _ struct{} `type:"structure"` @@ -4342,7 +4345,7 @@ func (s *CreateTargetGroupOutput) SetTargetGroups(v []*TargetGroup) *CreateTarge return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListenerInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListenerInput type DeleteListenerInput struct { _ struct{} `type:"structure"` @@ -4381,7 +4384,7 @@ func (s *DeleteListenerInput) SetListenerArn(v string) *DeleteListenerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListenerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListenerOutput type DeleteListenerOutput struct { _ struct{} `type:"structure"` } @@ -4396,7 +4399,7 @@ func (s DeleteListenerOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancerInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancerInput type DeleteLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -4435,7 +4438,7 @@ func (s *DeleteLoadBalancerInput) SetLoadBalancerArn(v string) *DeleteLoadBalanc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancerOutput type DeleteLoadBalancerOutput struct { _ struct{} `type:"structure"` } @@ -4450,7 +4453,7 @@ func (s DeleteLoadBalancerOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRuleInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRuleInput type DeleteRuleInput struct { _ struct{} `type:"structure"` @@ -4489,7 +4492,7 @@ func (s *DeleteRuleInput) SetRuleArn(v string) *DeleteRuleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRuleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRuleOutput type DeleteRuleOutput struct { _ struct{} `type:"structure"` } @@ -4504,7 +4507,7 @@ func (s DeleteRuleOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroupInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroupInput type DeleteTargetGroupInput struct { _ struct{} `type:"structure"` @@ -4543,7 +4546,7 @@ func (s *DeleteTargetGroupInput) SetTargetGroupArn(v string) *DeleteTargetGroupI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroupOutput type DeleteTargetGroupOutput struct { _ struct{} `type:"structure"` } @@ -4558,7 +4561,7 @@ func (s DeleteTargetGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargetsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargetsInput type DeregisterTargetsInput struct { _ struct{} `type:"structure"` @@ -4622,7 +4625,7 @@ func (s *DeregisterTargetsInput) SetTargets(v []*TargetDescription) *DeregisterT return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargetsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargetsOutput type DeregisterTargetsOutput struct { _ struct{} `type:"structure"` } @@ -4637,7 +4640,7 @@ func (s DeregisterTargetsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeAccountLimitsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeAccountLimitsInput type DescribeAccountLimitsInput struct { _ struct{} `type:"structure"` @@ -4684,7 +4687,7 @@ func (s *DescribeAccountLimitsInput) SetPageSize(v int64) *DescribeAccountLimits return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeAccountLimitsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeAccountLimitsOutput type DescribeAccountLimitsOutput struct { _ struct{} `type:"structure"` @@ -4718,7 +4721,7 @@ func (s *DescribeAccountLimitsOutput) SetNextMarker(v string) *DescribeAccountLi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificatesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificatesInput type DescribeListenerCertificatesInput struct { _ struct{} `type:"structure"` @@ -4779,7 +4782,7 @@ func (s *DescribeListenerCertificatesInput) SetPageSize(v int64) *DescribeListen return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificatesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificatesOutput type DescribeListenerCertificatesOutput struct { _ struct{} `type:"structure"` @@ -4813,7 +4816,7 @@ func (s *DescribeListenerCertificatesOutput) SetNextMarker(v string) *DescribeLi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenersInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenersInput type DescribeListenersInput struct { _ struct{} `type:"structure"` @@ -4878,7 +4881,7 @@ func (s *DescribeListenersInput) SetPageSize(v int64) *DescribeListenersInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenersOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenersOutput type DescribeListenersOutput struct { _ struct{} `type:"structure"` @@ -4912,7 +4915,7 @@ func (s *DescribeListenersOutput) SetNextMarker(v string) *DescribeListenersOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributesInput type DescribeLoadBalancerAttributesInput struct { _ struct{} `type:"structure"` @@ -4951,7 +4954,7 @@ func (s *DescribeLoadBalancerAttributesInput) SetLoadBalancerArn(v string) *Desc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributesOutput type DescribeLoadBalancerAttributesOutput struct { _ struct{} `type:"structure"` @@ -4975,7 +4978,7 @@ func (s *DescribeLoadBalancerAttributesOutput) SetAttributes(v []*LoadBalancerAt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancersInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancersInput type DescribeLoadBalancersInput struct { _ struct{} `type:"structure"` @@ -5041,7 +5044,7 @@ func (s *DescribeLoadBalancersInput) SetPageSize(v int64) *DescribeLoadBalancers return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancersOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancersOutput type DescribeLoadBalancersOutput struct { _ struct{} `type:"structure"` @@ -5075,7 +5078,7 @@ func (s *DescribeLoadBalancersOutput) SetNextMarker(v string) *DescribeLoadBalan return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRulesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRulesInput type DescribeRulesInput struct { _ struct{} `type:"structure"` @@ -5140,7 +5143,7 @@ func (s *DescribeRulesInput) SetRuleArns(v []*string) *DescribeRulesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRulesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRulesOutput type DescribeRulesOutput struct { _ struct{} `type:"structure"` @@ -5174,7 +5177,7 @@ func (s *DescribeRulesOutput) SetRules(v []*Rule) *DescribeRulesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPoliciesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPoliciesInput type DescribeSSLPoliciesInput struct { _ struct{} `type:"structure"` @@ -5230,7 +5233,7 @@ func (s *DescribeSSLPoliciesInput) SetPageSize(v int64) *DescribeSSLPoliciesInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPoliciesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPoliciesOutput type DescribeSSLPoliciesOutput struct { _ struct{} `type:"structure"` @@ -5264,7 +5267,7 @@ func (s *DescribeSSLPoliciesOutput) SetSslPolicies(v []*SslPolicy) *DescribeSSLP return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTagsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTagsInput type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -5303,7 +5306,7 @@ func (s *DescribeTagsInput) SetResourceArns(v []*string) *DescribeTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTagsOutput type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -5327,7 +5330,7 @@ func (s *DescribeTagsOutput) SetTagDescriptions(v []*TagDescription) *DescribeTa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributesInput type DescribeTargetGroupAttributesInput struct { _ struct{} `type:"structure"` @@ -5366,7 +5369,7 @@ func (s *DescribeTargetGroupAttributesInput) SetTargetGroupArn(v string) *Descri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributesOutput type DescribeTargetGroupAttributesOutput struct { _ struct{} `type:"structure"` @@ -5390,7 +5393,7 @@ func (s *DescribeTargetGroupAttributesOutput) SetAttributes(v []*TargetGroupAttr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupsInput type DescribeTargetGroupsInput struct { _ struct{} `type:"structure"` @@ -5464,7 +5467,7 @@ func (s *DescribeTargetGroupsInput) SetTargetGroupArns(v []*string) *DescribeTar return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupsOutput type DescribeTargetGroupsOutput struct { _ struct{} `type:"structure"` @@ -5498,7 +5501,7 @@ func (s *DescribeTargetGroupsOutput) SetTargetGroups(v []*TargetGroup) *Describe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealthInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealthInput type DescribeTargetHealthInput struct { _ struct{} `type:"structure"` @@ -5556,7 +5559,7 @@ func (s *DescribeTargetHealthInput) SetTargets(v []*TargetDescription) *Describe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealthOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealthOutput type DescribeTargetHealthOutput struct { _ struct{} `type:"structure"` @@ -5581,7 +5584,7 @@ func (s *DescribeTargetHealthOutput) SetTargetHealthDescriptions(v []*TargetHeal } // Information about an Elastic Load Balancing resource limit for your AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Limit +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Limit type Limit struct { _ struct{} `type:"structure"` @@ -5633,7 +5636,7 @@ func (s *Limit) SetName(v string) *Limit { } // Information about a listener. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Listener +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Listener type Listener struct { _ struct{} `type:"structure"` @@ -5714,7 +5717,7 @@ func (s *Listener) SetSslPolicy(v string) *Listener { } // Information about a load balancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancer type LoadBalancer struct { _ struct{} `type:"structure"` @@ -5848,7 +5851,7 @@ func (s *LoadBalancer) SetVpcId(v string) *LoadBalancer { } // Information about a static IP address for a load balancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerAddress type LoadBalancerAddress struct { _ struct{} `type:"structure"` @@ -5882,7 +5885,7 @@ func (s *LoadBalancerAddress) SetIpAddress(v string) *LoadBalancerAddress { } // Information about a load balancer attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerAttribute type LoadBalancerAttribute struct { _ struct{} `type:"structure"` @@ -5936,7 +5939,7 @@ func (s *LoadBalancerAttribute) SetValue(v string) *LoadBalancerAttribute { } // Information about the state of the load balancer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerState +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerState type LoadBalancerState struct { _ struct{} `type:"structure"` @@ -5972,7 +5975,7 @@ func (s *LoadBalancerState) SetReason(v string) *LoadBalancerState { } // Information to use when checking for a successful response from a target. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Matcher +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Matcher type Matcher struct { _ struct{} `type:"structure"` @@ -6017,7 +6020,7 @@ func (s *Matcher) SetHttpCode(v string) *Matcher { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerInput type ModifyListenerInput struct { _ struct{} `type:"structure"` @@ -6120,7 +6123,7 @@ func (s *ModifyListenerInput) SetSslPolicy(v string) *ModifyListenerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerOutput type ModifyListenerOutput struct { _ struct{} `type:"structure"` @@ -6144,7 +6147,7 @@ func (s *ModifyListenerOutput) SetListeners(v []*Listener) *ModifyListenerOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributesInput type ModifyLoadBalancerAttributesInput struct { _ struct{} `type:"structure"` @@ -6197,7 +6200,7 @@ func (s *ModifyLoadBalancerAttributesInput) SetLoadBalancerArn(v string) *Modify return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributesOutput type ModifyLoadBalancerAttributesOutput struct { _ struct{} `type:"structure"` @@ -6221,7 +6224,7 @@ func (s *ModifyLoadBalancerAttributesOutput) SetAttributes(v []*LoadBalancerAttr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRuleInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRuleInput type ModifyRuleInput struct { _ struct{} `type:"structure"` @@ -6288,7 +6291,7 @@ func (s *ModifyRuleInput) SetRuleArn(v string) *ModifyRuleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRuleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRuleOutput type ModifyRuleOutput struct { _ struct{} `type:"structure"` @@ -6312,7 +6315,7 @@ func (s *ModifyRuleOutput) SetRules(v []*Rule) *ModifyRuleOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributesInput type ModifyTargetGroupAttributesInput struct { _ struct{} `type:"structure"` @@ -6365,7 +6368,7 @@ func (s *ModifyTargetGroupAttributesInput) SetTargetGroupArn(v string) *ModifyTa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributesOutput type ModifyTargetGroupAttributesOutput struct { _ struct{} `type:"structure"` @@ -6389,7 +6392,7 @@ func (s *ModifyTargetGroupAttributesOutput) SetAttributes(v []*TargetGroupAttrib return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupInput type ModifyTargetGroupInput struct { _ struct{} `type:"structure"` @@ -6530,7 +6533,7 @@ func (s *ModifyTargetGroupInput) SetUnhealthyThresholdCount(v int64) *ModifyTarg return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupOutput type ModifyTargetGroupOutput struct { _ struct{} `type:"structure"` @@ -6554,7 +6557,7 @@ func (s *ModifyTargetGroupOutput) SetTargetGroups(v []*TargetGroup) *ModifyTarge return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargetsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargetsInput type RegisterTargetsInput struct { _ struct{} `type:"structure"` @@ -6617,7 +6620,7 @@ func (s *RegisterTargetsInput) SetTargets(v []*TargetDescription) *RegisterTarge return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargetsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargetsOutput type RegisterTargetsOutput struct { _ struct{} `type:"structure"` } @@ -6632,7 +6635,7 @@ func (s RegisterTargetsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificatesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificatesInput type RemoveListenerCertificatesInput struct { _ struct{} `type:"structure"` @@ -6685,7 +6688,7 @@ func (s *RemoveListenerCertificatesInput) SetListenerArn(v string) *RemoveListen return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificatesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificatesOutput type RemoveListenerCertificatesOutput struct { _ struct{} `type:"structure"` } @@ -6700,7 +6703,7 @@ func (s RemoveListenerCertificatesOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTagsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTagsInput type RemoveTagsInput struct { _ struct{} `type:"structure"` @@ -6753,7 +6756,7 @@ func (s *RemoveTagsInput) SetTagKeys(v []*string) *RemoveTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTagsOutput type RemoveTagsOutput struct { _ struct{} `type:"structure"` } @@ -6769,7 +6772,7 @@ func (s RemoveTagsOutput) GoString() string { } // Information about a rule. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Rule +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Rule type Rule struct { _ struct{} `type:"structure"` @@ -6830,7 +6833,7 @@ func (s *Rule) SetRuleArn(v string) *Rule { } // Information about a condition for a rule. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RuleCondition +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RuleCondition type RuleCondition struct { _ struct{} `type:"structure"` @@ -6892,7 +6895,7 @@ func (s *RuleCondition) SetValues(v []*string) *RuleCondition { } // Information about the priorities for the rules for a listener. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RulePriorityPair +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RulePriorityPair type RulePriorityPair struct { _ struct{} `type:"structure"` @@ -6938,7 +6941,7 @@ func (s *RulePriorityPair) SetRuleArn(v string) *RulePriorityPair { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressTypeInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressTypeInput type SetIpAddressTypeInput struct { _ struct{} `type:"structure"` @@ -6993,7 +6996,7 @@ func (s *SetIpAddressTypeInput) SetLoadBalancerArn(v string) *SetIpAddressTypeIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressTypeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressTypeOutput type SetIpAddressTypeOutput struct { _ struct{} `type:"structure"` @@ -7017,7 +7020,7 @@ func (s *SetIpAddressTypeOutput) SetIpAddressType(v string) *SetIpAddressTypeOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePrioritiesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePrioritiesInput type SetRulePrioritiesInput struct { _ struct{} `type:"structure"` @@ -7066,7 +7069,7 @@ func (s *SetRulePrioritiesInput) SetRulePriorities(v []*RulePriorityPair) *SetRu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePrioritiesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePrioritiesOutput type SetRulePrioritiesOutput struct { _ struct{} `type:"structure"` @@ -7090,7 +7093,7 @@ func (s *SetRulePrioritiesOutput) SetRules(v []*Rule) *SetRulePrioritiesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroupsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroupsInput type SetSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -7143,7 +7146,7 @@ func (s *SetSecurityGroupsInput) SetSecurityGroups(v []*string) *SetSecurityGrou return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroupsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroupsOutput type SetSecurityGroupsOutput struct { _ struct{} `type:"structure"` @@ -7167,7 +7170,7 @@ func (s *SetSecurityGroupsOutput) SetSecurityGroupIds(v []*string) *SetSecurityG return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsInput type SetSubnetsInput struct { _ struct{} `type:"structure"` @@ -7235,7 +7238,7 @@ func (s *SetSubnetsInput) SetSubnets(v []*string) *SetSubnetsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsOutput type SetSubnetsOutput struct { _ struct{} `type:"structure"` @@ -7260,7 +7263,7 @@ func (s *SetSubnetsOutput) SetAvailabilityZones(v []*AvailabilityZone) *SetSubne } // Information about a policy used for SSL negotiation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SslPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SslPolicy type SslPolicy struct { _ struct{} `type:"structure"` @@ -7303,7 +7306,7 @@ func (s *SslPolicy) SetSslProtocols(v []*string) *SslPolicy { } // Information about a subnet mapping. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SubnetMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SubnetMapping type SubnetMapping struct { _ struct{} `type:"structure"` @@ -7337,7 +7340,7 @@ func (s *SubnetMapping) SetSubnetId(v string) *SubnetMapping { } // Information about a tag. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Tag type Tag struct { _ struct{} `type:"structure"` @@ -7389,7 +7392,7 @@ func (s *Tag) SetValue(v string) *Tag { } // The tags associated with a resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TagDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TagDescription type TagDescription struct { _ struct{} `type:"structure"` @@ -7423,7 +7426,7 @@ func (s *TagDescription) SetTags(v []*Tag) *TagDescription { } // Information about a target. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetDescription type TargetDescription struct { _ struct{} `type:"structure"` @@ -7495,7 +7498,7 @@ func (s *TargetDescription) SetPort(v int64) *TargetDescription { } // Information about a target group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroup type TargetGroup struct { _ struct{} `type:"structure"` @@ -7653,7 +7656,7 @@ func (s *TargetGroup) SetVpcId(v string) *TargetGroup { } // Information about a target group attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroupAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroupAttribute type TargetGroupAttribute struct { _ struct{} `type:"structure"` @@ -7664,6 +7667,9 @@ type TargetGroupAttribute struct { // from draining to unused. The range is 0-3600 seconds. The default value // is 300 seconds. // + // * proxy_protocol_v2.enabled - [Network Load Balancers] Indicates whether + // Proxy Protocol version 2 is enabled. + // // * stickiness.enabled - [Application Load Balancers] Indicates whether // sticky sessions are enabled. The value is true or false. // @@ -7704,7 +7710,7 @@ func (s *TargetGroupAttribute) SetValue(v string) *TargetGroupAttribute { } // Information about the current health of a target. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetHealth +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetHealth type TargetHealth struct { _ struct{} `type:"structure"` @@ -7791,7 +7797,7 @@ func (s *TargetHealth) SetState(v string) *TargetHealth { } // Information about the health of a target. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetHealthDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetHealthDescription type TargetHealthDescription struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/emr/api.go b/vendor/github.com/aws/aws-sdk-go/service/emr/api.go index 3110a847148..b24fd4c5d6c 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/emr/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/emr/api.go @@ -38,7 +38,7 @@ const opAddInstanceFleet = "AddInstanceFleet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleet +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleet func (c *EMR) AddInstanceFleetRequest(input *AddInstanceFleetInput) (req *request.Request, output *AddInstanceFleetOutput) { op := &request.Operation{ Name: opAddInstanceFleet, @@ -76,7 +76,7 @@ func (c *EMR) AddInstanceFleetRequest(input *AddInstanceFleetInput) (req *reques // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleet +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleet func (c *EMR) AddInstanceFleet(input *AddInstanceFleetInput) (*AddInstanceFleetOutput, error) { req, out := c.AddInstanceFleetRequest(input) return out, req.Send() @@ -123,7 +123,7 @@ const opAddInstanceGroups = "AddInstanceGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroups func (c *EMR) AddInstanceGroupsRequest(input *AddInstanceGroupsInput) (req *request.Request, output *AddInstanceGroupsOutput) { op := &request.Operation{ Name: opAddInstanceGroups, @@ -156,7 +156,7 @@ func (c *EMR) AddInstanceGroupsRequest(input *AddInstanceGroupsInput) (req *requ // Indicates that an error occurred while processing the request and that the // request was not completed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroups func (c *EMR) AddInstanceGroups(input *AddInstanceGroupsInput) (*AddInstanceGroupsOutput, error) { req, out := c.AddInstanceGroupsRequest(input) return out, req.Send() @@ -203,7 +203,7 @@ const opAddJobFlowSteps = "AddJobFlowSteps" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowSteps +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowSteps func (c *EMR) AddJobFlowStepsRequest(input *AddJobFlowStepsInput) (req *request.Request, output *AddJobFlowStepsOutput) { op := &request.Operation{ Name: opAddJobFlowSteps, @@ -230,7 +230,7 @@ func (c *EMR) AddJobFlowStepsRequest(input *AddJobFlowStepsInput) (req *request. // the 256-step limitation in various ways, including using SSH to connect to // the master node and submitting queries directly to the software running on // the master node, such as Hive and Hadoop. For more information on how to -// do this, see Add More than 256 Steps to a Cluster (http://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/AddMoreThan256Steps.html) +// do this, see Add More than 256 Steps to a Cluster (http://docs.aws.amazon.com/emr/latest/ManagementGuide/AddMoreThan256Steps.html) // in the Amazon EMR Management Guide. // // A step specifies the location of a JAR file stored either on the master node @@ -258,7 +258,7 @@ func (c *EMR) AddJobFlowStepsRequest(input *AddJobFlowStepsInput) (req *request. // Indicates that an error occurred while processing the request and that the // request was not completed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowSteps +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowSteps func (c *EMR) AddJobFlowSteps(input *AddJobFlowStepsInput) (*AddJobFlowStepsOutput, error) { req, out := c.AddJobFlowStepsRequest(input) return out, req.Send() @@ -305,7 +305,7 @@ const opAddTags = "AddTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTags func (c *EMR) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) { op := &request.Operation{ Name: opAddTags, @@ -326,8 +326,7 @@ func (c *EMR) AddTagsRequest(input *AddTagsInput) (req *request.Request, output // // Adds tags to an Amazon EMR resource. Tags make it easier to associate clusters // in various ways, such as grouping clusters to track your Amazon EMR resource -// allocation costs. For more information, see Tagging Amazon EMR Resources -// (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html). +// allocation costs. For more information, see Tag Clusters (http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -343,7 +342,7 @@ func (c *EMR) AddTagsRequest(input *AddTagsInput) (req *request.Request, output // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTags func (c *EMR) AddTags(input *AddTagsInput) (*AddTagsOutput, error) { req, out := c.AddTagsRequest(input) return out, req.Send() @@ -390,7 +389,7 @@ const opCancelSteps = "CancelSteps" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelSteps +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelSteps func (c *EMR) CancelStepsRequest(input *CancelStepsInput) (req *request.Request, output *CancelStepsOutput) { op := &request.Operation{ Name: opCancelSteps, @@ -430,7 +429,7 @@ func (c *EMR) CancelStepsRequest(input *CancelStepsInput) (req *request.Request, // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelSteps +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelSteps func (c *EMR) CancelSteps(input *CancelStepsInput) (*CancelStepsOutput, error) { req, out := c.CancelStepsRequest(input) return out, req.Send() @@ -477,7 +476,7 @@ const opCreateSecurityConfiguration = "CreateSecurityConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfiguration func (c *EMR) CreateSecurityConfigurationRequest(input *CreateSecurityConfigurationInput) (req *request.Request, output *CreateSecurityConfigurationOutput) { op := &request.Operation{ Name: opCreateSecurityConfiguration, @@ -513,7 +512,7 @@ func (c *EMR) CreateSecurityConfigurationRequest(input *CreateSecurityConfigurat // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfiguration func (c *EMR) CreateSecurityConfiguration(input *CreateSecurityConfigurationInput) (*CreateSecurityConfigurationOutput, error) { req, out := c.CreateSecurityConfigurationRequest(input) return out, req.Send() @@ -560,7 +559,7 @@ const opDeleteSecurityConfiguration = "DeleteSecurityConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfiguration func (c *EMR) DeleteSecurityConfigurationRequest(input *DeleteSecurityConfigurationInput) (req *request.Request, output *DeleteSecurityConfigurationOutput) { op := &request.Operation{ Name: opDeleteSecurityConfiguration, @@ -595,7 +594,7 @@ func (c *EMR) DeleteSecurityConfigurationRequest(input *DeleteSecurityConfigurat // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfiguration func (c *EMR) DeleteSecurityConfiguration(input *DeleteSecurityConfigurationInput) (*DeleteSecurityConfigurationOutput, error) { req, out := c.DeleteSecurityConfigurationRequest(input) return out, req.Send() @@ -642,7 +641,7 @@ const opDescribeCluster = "DescribeCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeCluster func (c *EMR) DescribeClusterRequest(input *DescribeClusterInput) (req *request.Request, output *DescribeClusterOutput) { op := &request.Operation{ Name: opDescribeCluster, @@ -678,7 +677,7 @@ func (c *EMR) DescribeClusterRequest(input *DescribeClusterInput) (req *request. // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeCluster func (c *EMR) DescribeCluster(input *DescribeClusterInput) (*DescribeClusterOutput, error) { req, out := c.DescribeClusterRequest(input) return out, req.Send() @@ -725,7 +724,7 @@ const opDescribeJobFlows = "DescribeJobFlows" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeJobFlows +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeJobFlows func (c *EMR) DescribeJobFlowsRequest(input *DescribeJobFlowsInput) (req *request.Request, output *DescribeJobFlowsOutput) { if c.Client.Config.Logger != nil { c.Client.Config.Logger.Log("This operation, DescribeJobFlows, has been deprecated") @@ -780,7 +779,7 @@ func (c *EMR) DescribeJobFlowsRequest(input *DescribeJobFlowsInput) (req *reques // Indicates that an error occurred while processing the request and that the // request was not completed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeJobFlows +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeJobFlows func (c *EMR) DescribeJobFlows(input *DescribeJobFlowsInput) (*DescribeJobFlowsOutput, error) { req, out := c.DescribeJobFlowsRequest(input) return out, req.Send() @@ -827,7 +826,7 @@ const opDescribeSecurityConfiguration = "DescribeSecurityConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfiguration func (c *EMR) DescribeSecurityConfigurationRequest(input *DescribeSecurityConfigurationInput) (req *request.Request, output *DescribeSecurityConfigurationOutput) { op := &request.Operation{ Name: opDescribeSecurityConfiguration, @@ -863,7 +862,7 @@ func (c *EMR) DescribeSecurityConfigurationRequest(input *DescribeSecurityConfig // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfiguration func (c *EMR) DescribeSecurityConfiguration(input *DescribeSecurityConfigurationInput) (*DescribeSecurityConfigurationOutput, error) { req, out := c.DescribeSecurityConfigurationRequest(input) return out, req.Send() @@ -910,7 +909,7 @@ const opDescribeStep = "DescribeStep" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStep +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStep func (c *EMR) DescribeStepRequest(input *DescribeStepInput) (req *request.Request, output *DescribeStepOutput) { op := &request.Operation{ Name: opDescribeStep, @@ -945,7 +944,7 @@ func (c *EMR) DescribeStepRequest(input *DescribeStepInput) (req *request.Reques // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStep +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStep func (c *EMR) DescribeStep(input *DescribeStepInput) (*DescribeStepOutput, error) { req, out := c.DescribeStepRequest(input) return out, req.Send() @@ -992,7 +991,7 @@ const opListBootstrapActions = "ListBootstrapActions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActions func (c *EMR) ListBootstrapActionsRequest(input *ListBootstrapActionsInput) (req *request.Request, output *ListBootstrapActionsOutput) { op := &request.Operation{ Name: opListBootstrapActions, @@ -1033,7 +1032,7 @@ func (c *EMR) ListBootstrapActionsRequest(input *ListBootstrapActionsInput) (req // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActions func (c *EMR) ListBootstrapActions(input *ListBootstrapActionsInput) (*ListBootstrapActionsOutput, error) { req, out := c.ListBootstrapActionsRequest(input) return out, req.Send() @@ -1130,7 +1129,7 @@ const opListClusters = "ListClusters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClusters +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClusters func (c *EMR) ListClustersRequest(input *ListClustersInput) (req *request.Request, output *ListClustersOutput) { op := &request.Operation{ Name: opListClusters, @@ -1175,7 +1174,7 @@ func (c *EMR) ListClustersRequest(input *ListClustersInput) (req *request.Reques // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClusters +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClusters func (c *EMR) ListClusters(input *ListClustersInput) (*ListClustersOutput, error) { req, out := c.ListClustersRequest(input) return out, req.Send() @@ -1272,7 +1271,7 @@ const opListInstanceFleets = "ListInstanceFleets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets func (c *EMR) ListInstanceFleetsRequest(input *ListInstanceFleetsInput) (req *request.Request, output *ListInstanceFleetsOutput) { op := &request.Operation{ Name: opListInstanceFleets, @@ -1316,7 +1315,7 @@ func (c *EMR) ListInstanceFleetsRequest(input *ListInstanceFleetsInput) (req *re // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets func (c *EMR) ListInstanceFleets(input *ListInstanceFleetsInput) (*ListInstanceFleetsOutput, error) { req, out := c.ListInstanceFleetsRequest(input) return out, req.Send() @@ -1413,7 +1412,7 @@ const opListInstanceGroups = "ListInstanceGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroups func (c *EMR) ListInstanceGroupsRequest(input *ListInstanceGroupsInput) (req *request.Request, output *ListInstanceGroupsOutput) { op := &request.Operation{ Name: opListInstanceGroups, @@ -1454,7 +1453,7 @@ func (c *EMR) ListInstanceGroupsRequest(input *ListInstanceGroupsInput) (req *re // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroups func (c *EMR) ListInstanceGroups(input *ListInstanceGroupsInput) (*ListInstanceGroupsOutput, error) { req, out := c.ListInstanceGroupsRequest(input) return out, req.Send() @@ -1551,7 +1550,7 @@ const opListInstances = "ListInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstances func (c *EMR) ListInstancesRequest(input *ListInstancesInput) (req *request.Request, output *ListInstancesOutput) { op := &request.Operation{ Name: opListInstances, @@ -1595,7 +1594,7 @@ func (c *EMR) ListInstancesRequest(input *ListInstancesInput) (req *request.Requ // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstances func (c *EMR) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error) { req, out := c.ListInstancesRequest(input) return out, req.Send() @@ -1692,7 +1691,7 @@ const opListSecurityConfigurations = "ListSecurityConfigurations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurations +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurations func (c *EMR) ListSecurityConfigurationsRequest(input *ListSecurityConfigurationsInput) (req *request.Request, output *ListSecurityConfigurationsOutput) { op := &request.Operation{ Name: opListSecurityConfigurations, @@ -1730,7 +1729,7 @@ func (c *EMR) ListSecurityConfigurationsRequest(input *ListSecurityConfiguration // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurations +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurations func (c *EMR) ListSecurityConfigurations(input *ListSecurityConfigurationsInput) (*ListSecurityConfigurationsOutput, error) { req, out := c.ListSecurityConfigurationsRequest(input) return out, req.Send() @@ -1777,7 +1776,7 @@ const opListSteps = "ListSteps" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSteps +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSteps func (c *EMR) ListStepsRequest(input *ListStepsInput) (req *request.Request, output *ListStepsOutput) { op := &request.Operation{ Name: opListSteps, @@ -1819,7 +1818,7 @@ func (c *EMR) ListStepsRequest(input *ListStepsInput) (req *request.Request, out // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSteps +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSteps func (c *EMR) ListSteps(input *ListStepsInput) (*ListStepsOutput, error) { req, out := c.ListStepsRequest(input) return out, req.Send() @@ -1916,7 +1915,7 @@ const opModifyInstanceFleet = "ModifyInstanceFleet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleet +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleet func (c *EMR) ModifyInstanceFleetRequest(input *ModifyInstanceFleetInput) (req *request.Request, output *ModifyInstanceFleetOutput) { op := &request.Operation{ Name: opModifyInstanceFleet, @@ -1958,7 +1957,7 @@ func (c *EMR) ModifyInstanceFleetRequest(input *ModifyInstanceFleetInput) (req * // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleet +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleet func (c *EMR) ModifyInstanceFleet(input *ModifyInstanceFleetInput) (*ModifyInstanceFleetOutput, error) { req, out := c.ModifyInstanceFleetRequest(input) return out, req.Send() @@ -2005,7 +2004,7 @@ const opModifyInstanceGroups = "ModifyInstanceGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceGroups func (c *EMR) ModifyInstanceGroupsRequest(input *ModifyInstanceGroupsInput) (req *request.Request, output *ModifyInstanceGroupsOutput) { op := &request.Operation{ Name: opModifyInstanceGroups, @@ -2043,7 +2042,7 @@ func (c *EMR) ModifyInstanceGroupsRequest(input *ModifyInstanceGroupsInput) (req // Indicates that an error occurred while processing the request and that the // request was not completed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceGroups func (c *EMR) ModifyInstanceGroups(input *ModifyInstanceGroupsInput) (*ModifyInstanceGroupsOutput, error) { req, out := c.ModifyInstanceGroupsRequest(input) return out, req.Send() @@ -2090,7 +2089,7 @@ const opPutAutoScalingPolicy = "PutAutoScalingPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicy func (c *EMR) PutAutoScalingPolicyRequest(input *PutAutoScalingPolicyInput) (req *request.Request, output *PutAutoScalingPolicyOutput) { op := &request.Operation{ Name: opPutAutoScalingPolicy, @@ -2120,7 +2119,7 @@ func (c *EMR) PutAutoScalingPolicyRequest(input *PutAutoScalingPolicyInput) (req // // See the AWS API reference guide for Amazon Elastic MapReduce's // API operation PutAutoScalingPolicy for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicy func (c *EMR) PutAutoScalingPolicy(input *PutAutoScalingPolicyInput) (*PutAutoScalingPolicyOutput, error) { req, out := c.PutAutoScalingPolicyRequest(input) return out, req.Send() @@ -2167,7 +2166,7 @@ const opRemoveAutoScalingPolicy = "RemoveAutoScalingPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicy func (c *EMR) RemoveAutoScalingPolicyRequest(input *RemoveAutoScalingPolicyInput) (req *request.Request, output *RemoveAutoScalingPolicyOutput) { op := &request.Operation{ Name: opRemoveAutoScalingPolicy, @@ -2195,7 +2194,7 @@ func (c *EMR) RemoveAutoScalingPolicyRequest(input *RemoveAutoScalingPolicyInput // // See the AWS API reference guide for Amazon Elastic MapReduce's // API operation RemoveAutoScalingPolicy for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicy func (c *EMR) RemoveAutoScalingPolicy(input *RemoveAutoScalingPolicyInput) (*RemoveAutoScalingPolicyOutput, error) { req, out := c.RemoveAutoScalingPolicyRequest(input) return out, req.Send() @@ -2242,7 +2241,7 @@ const opRemoveTags = "RemoveTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTags func (c *EMR) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) { op := &request.Operation{ Name: opRemoveTags, @@ -2263,8 +2262,7 @@ func (c *EMR) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, o // // Removes tags from an Amazon EMR resource. Tags make it easier to associate // clusters in various ways, such as grouping clusters to track your Amazon -// EMR resource allocation costs. For more information, see Tagging Amazon EMR -// Resources (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html). +// EMR resource allocation costs. For more information, see Tag Clusters (http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html). // // The following example removes the stack tag with value Prod from a cluster: // @@ -2282,7 +2280,7 @@ func (c *EMR) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, o // * ErrCodeInvalidRequestException "InvalidRequestException" // This exception occurs when there is something wrong with user input. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTags func (c *EMR) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) { req, out := c.RemoveTagsRequest(input) return out, req.Send() @@ -2329,7 +2327,7 @@ const opRunJobFlow = "RunJobFlow" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlow +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlow func (c *EMR) RunJobFlowRequest(input *RunJobFlowInput) (req *request.Request, output *RunJobFlowOutput) { op := &request.Operation{ Name: opRunJobFlow, @@ -2366,7 +2364,7 @@ func (c *EMR) RunJobFlowRequest(input *RunJobFlowInput) (req *request.Request, o // the 256-step limitation in various ways, including using the SSH shell to // connect to the master node and submitting queries directly to the software // running on the master node, such as Hive and Hadoop. For more information -// on how to do this, see Add More than 256 Steps to a Cluster (http://docs.aws.amazon.com/ElasticMapReduce/latest/Management/Guide/AddMoreThan256Steps.html) +// on how to do this, see Add More than 256 Steps to a Cluster (http://docs.aws.amazon.com/emr/latest/ManagementGuide/AddMoreThan256Steps.html) // in the Amazon EMR Management Guide. // // For long running clusters, we recommend that you periodically store your @@ -2388,7 +2386,7 @@ func (c *EMR) RunJobFlowRequest(input *RunJobFlowInput) (req *request.Request, o // Indicates that an error occurred while processing the request and that the // request was not completed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlow +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlow func (c *EMR) RunJobFlow(input *RunJobFlowInput) (*RunJobFlowOutput, error) { req, out := c.RunJobFlowRequest(input) return out, req.Send() @@ -2435,7 +2433,7 @@ const opSetTerminationProtection = "SetTerminationProtection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtection +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtection func (c *EMR) SetTerminationProtectionRequest(input *SetTerminationProtectionInput) (req *request.Request, output *SetTerminationProtectionOutput) { op := &request.Operation{ Name: opSetTerminationProtection, @@ -2486,7 +2484,7 @@ func (c *EMR) SetTerminationProtectionRequest(input *SetTerminationProtectionInp // Indicates that an error occurred while processing the request and that the // request was not completed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtection +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtection func (c *EMR) SetTerminationProtection(input *SetTerminationProtectionInput) (*SetTerminationProtectionOutput, error) { req, out := c.SetTerminationProtectionRequest(input) return out, req.Send() @@ -2533,7 +2531,7 @@ const opSetVisibleToAllUsers = "SetVisibleToAllUsers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsers +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsers func (c *EMR) SetVisibleToAllUsersRequest(input *SetVisibleToAllUsersInput) (req *request.Request, output *SetVisibleToAllUsersOutput) { op := &request.Operation{ Name: opSetVisibleToAllUsers, @@ -2573,7 +2571,7 @@ func (c *EMR) SetVisibleToAllUsersRequest(input *SetVisibleToAllUsersInput) (req // Indicates that an error occurred while processing the request and that the // request was not completed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsers +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsers func (c *EMR) SetVisibleToAllUsers(input *SetVisibleToAllUsersInput) (*SetVisibleToAllUsersOutput, error) { req, out := c.SetVisibleToAllUsersRequest(input) return out, req.Send() @@ -2620,7 +2618,7 @@ const opTerminateJobFlows = "TerminateJobFlows" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlows +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlows func (c *EMR) TerminateJobFlowsRequest(input *TerminateJobFlowsInput) (req *request.Request, output *TerminateJobFlowsOutput) { op := &request.Operation{ Name: opTerminateJobFlows, @@ -2664,7 +2662,7 @@ func (c *EMR) TerminateJobFlowsRequest(input *TerminateJobFlowsInput) (req *requ // Indicates that an error occurred while processing the request and that the // request was not completed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlows +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlows func (c *EMR) TerminateJobFlows(input *TerminateJobFlowsInput) (*TerminateJobFlowsOutput, error) { req, out := c.TerminateJobFlowsRequest(input) return out, req.Send() @@ -2686,7 +2684,7 @@ func (c *EMR) TerminateJobFlowsWithContext(ctx aws.Context, input *TerminateJobF return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleetInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleetInput type AddInstanceFleetInput struct { _ struct{} `type:"structure"` @@ -2744,7 +2742,7 @@ func (s *AddInstanceFleetInput) SetInstanceFleet(v *InstanceFleetConfig) *AddIns return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleetOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleetOutput type AddInstanceFleetOutput struct { _ struct{} `type:"structure"` @@ -2778,7 +2776,7 @@ func (s *AddInstanceFleetOutput) SetInstanceFleetId(v string) *AddInstanceFleetO } // Input to an AddInstanceGroups call. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroupsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroupsInput type AddInstanceGroupsInput struct { _ struct{} `type:"structure"` @@ -2842,7 +2840,7 @@ func (s *AddInstanceGroupsInput) SetJobFlowId(v string) *AddInstanceGroupsInput } // Output from an AddInstanceGroups call. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroupsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroupsOutput type AddInstanceGroupsOutput struct { _ struct{} `type:"structure"` @@ -2876,7 +2874,7 @@ func (s *AddInstanceGroupsOutput) SetJobFlowId(v string) *AddInstanceGroupsOutpu } // The input argument to the AddJobFlowSteps operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowStepsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowStepsInput type AddJobFlowStepsInput struct { _ struct{} `type:"structure"` @@ -2941,7 +2939,7 @@ func (s *AddJobFlowStepsInput) SetSteps(v []*StepConfig) *AddJobFlowStepsInput { } // The output for the AddJobFlowSteps operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowStepsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowStepsOutput type AddJobFlowStepsOutput struct { _ struct{} `type:"structure"` @@ -2966,7 +2964,7 @@ func (s *AddJobFlowStepsOutput) SetStepIds(v []*string) *AddJobFlowStepsOutput { } // This input identifies a cluster and a list of tags to attach. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTagsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTagsInput type AddTagsInput struct { _ struct{} `type:"structure"` @@ -3024,7 +3022,7 @@ func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput { } // This output indicates the result of adding tags to a resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTagsOutput type AddTagsOutput struct { _ struct{} `type:"structure"` } @@ -3044,7 +3042,7 @@ func (s AddTagsOutput) GoString() string { // software to use with the cluster and accepts a user argument list. Amazon // EMR accepts and forwards the argument list to the corresponding installation // script as bootstrap action argument. For more information, see Using the -// MapR Distribution for Hadoop (http://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-mapr.html). +// MapR Distribution for Hadoop (http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-mapr.html). // Currently supported values are: // // * "mapr-m3" - launch the cluster using MapR M3 Edition. @@ -3057,7 +3055,7 @@ func (s AddTagsOutput) GoString() string { // In Amazon EMR releases 4.x and later, the only accepted parameter is the // application name. To pass arguments to applications, you supply a configuration // for each application. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Application +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Application type Application struct { _ struct{} `type:"structure"` @@ -3113,7 +3111,7 @@ func (s *Application) SetVersion(v string) *Application { // in an Amazon EMR cluster. An automatic scaling policy defines how an instance // group dynamically adds and terminates EC2 instances in response to the value // of a CloudWatch metric. See PutAutoScalingPolicy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AutoScalingPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AutoScalingPolicy type AutoScalingPolicy struct { _ struct{} `type:"structure"` @@ -3187,7 +3185,7 @@ func (s *AutoScalingPolicy) SetRules(v []*ScalingRule) *AutoScalingPolicy { // in an Amazon EMR cluster. The automatic scaling policy defines how an instance // group dynamically adds and terminates EC2 instances in response to the value // of a CloudWatch metric. See PutAutoScalingPolicy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AutoScalingPolicyDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AutoScalingPolicyDescription type AutoScalingPolicyDescription struct { _ struct{} `type:"structure"` @@ -3232,7 +3230,7 @@ func (s *AutoScalingPolicyDescription) SetStatus(v *AutoScalingPolicyStatus) *Au } // The reason for an AutoScalingPolicyStatus change. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AutoScalingPolicyStateChangeReason +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AutoScalingPolicyStateChangeReason type AutoScalingPolicyStateChangeReason struct { _ struct{} `type:"structure"` @@ -3270,7 +3268,7 @@ func (s *AutoScalingPolicyStateChangeReason) SetMessage(v string) *AutoScalingPo } // The status of an automatic scaling policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AutoScalingPolicyStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AutoScalingPolicyStatus type AutoScalingPolicyStatus struct { _ struct{} `type:"structure"` @@ -3304,7 +3302,7 @@ func (s *AutoScalingPolicyStatus) SetStateChangeReason(v *AutoScalingPolicyState } // Configuration of a bootstrap action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/BootstrapActionConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/BootstrapActionConfig type BootstrapActionConfig struct { _ struct{} `type:"structure"` @@ -3363,7 +3361,7 @@ func (s *BootstrapActionConfig) SetScriptBootstrapAction(v *ScriptBootstrapActio } // Reports the configuration of a bootstrap action in a cluster (job flow). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/BootstrapActionDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/BootstrapActionDetail type BootstrapActionDetail struct { _ struct{} `type:"structure"` @@ -3389,7 +3387,7 @@ func (s *BootstrapActionDetail) SetBootstrapActionConfig(v *BootstrapActionConfi // Specification of the status of a CancelSteps request. Available only in Amazon // EMR version 4.8.0 and later, excluding version 5.0.0. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelStepsInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelStepsInfo type CancelStepsInfo struct { _ struct{} `type:"structure"` @@ -3432,7 +3430,7 @@ func (s *CancelStepsInfo) SetStepId(v string) *CancelStepsInfo { } // The input argument to the CancelSteps operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelStepsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelStepsInput type CancelStepsInput struct { _ struct{} `type:"structure"` @@ -3468,7 +3466,7 @@ func (s *CancelStepsInput) SetStepIds(v []*string) *CancelStepsInput { } // The output for the CancelSteps operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelStepsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelStepsOutput type CancelStepsOutput struct { _ struct{} `type:"structure"` @@ -3496,7 +3494,7 @@ func (s *CancelStepsOutput) SetCancelStepsInfoList(v []*CancelStepsInfo) *Cancel // The definition of a CloudWatch metric alarm, which determines when an automatic // scaling activity is triggered. When the defined alarm conditions are satisfied, // scaling activity begins. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CloudWatchAlarmDefinition +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CloudWatchAlarmDefinition type CloudWatchAlarmDefinition struct { _ struct{} `type:"structure"` @@ -3631,7 +3629,7 @@ func (s *CloudWatchAlarmDefinition) SetUnit(v string) *CloudWatchAlarmDefinition } // The detailed description of the cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Cluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Cluster type Cluster struct { _ struct{} `type:"structure"` @@ -3673,10 +3671,17 @@ type Cluster struct { // indicates an instance fleets configuration. InstanceCollectionType *string `type:"string" enum:"InstanceCollectionType"` + // Attributes for Kerberos configuration when Kerberos authentication is enabled + // using a security configuration. For more information see Use Kerberos Authentication + // (http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-kerberos.html) + // in the EMR Management Guide. + KerberosAttributes *KerberosAttributes `type:"structure"` + // The path to the Amazon S3 location where logs for this cluster are stored. LogUri *string `type:"string"` - // The public DNS name of the master EC2 instance. + // The DNS name of the master node. If the cluster is on a private subnet, this + // is the private DNS name. On a public subnet, this is the public DNS name. MasterPublicDnsName *string `type:"string"` // The name of the cluster. @@ -3809,6 +3814,12 @@ func (s *Cluster) SetInstanceCollectionType(v string) *Cluster { return s } +// SetKerberosAttributes sets the KerberosAttributes field's value. +func (s *Cluster) SetKerberosAttributes(v *KerberosAttributes) *Cluster { + s.KerberosAttributes = v + return s +} + // SetLogUri sets the LogUri field's value. func (s *Cluster) SetLogUri(v string) *Cluster { s.LogUri = &v @@ -3900,7 +3911,7 @@ func (s *Cluster) SetVisibleToAllUsers(v bool) *Cluster { } // The reason that the cluster changed to its current state. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ClusterStateChangeReason +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ClusterStateChangeReason type ClusterStateChangeReason struct { _ struct{} `type:"structure"` @@ -3934,7 +3945,7 @@ func (s *ClusterStateChangeReason) SetMessage(v string) *ClusterStateChangeReaso } // The detailed status of the cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ClusterStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ClusterStatus type ClusterStatus struct { _ struct{} `type:"structure"` @@ -3978,7 +3989,7 @@ func (s *ClusterStatus) SetTimeline(v *ClusterTimeline) *ClusterStatus { } // The summary description of the cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ClusterSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ClusterSummary type ClusterSummary struct { _ struct{} `type:"structure"` @@ -4035,7 +4046,7 @@ func (s *ClusterSummary) SetStatus(v *ClusterStatus) *ClusterSummary { } // Represents the timeline of the cluster's lifecycle. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ClusterTimeline +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ClusterTimeline type ClusterTimeline struct { _ struct{} `type:"structure"` @@ -4078,7 +4089,7 @@ func (s *ClusterTimeline) SetReadyDateTime(v time.Time) *ClusterTimeline { } // An entity describing an executable that runs on a cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Command +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Command type Command struct { _ struct{} `type:"structure"` @@ -4128,7 +4139,7 @@ func (s *Command) SetScriptPath(v string) *Command { // and optional nested configurations. A classification refers to an application-specific // configuration file. Properties are the settings you want to change in that // file. For more information, see Configuring Applications (http://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-configure-apps.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Configuration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Configuration type Configuration struct { _ struct{} `type:"structure"` @@ -4170,7 +4181,7 @@ func (s *Configuration) SetProperties(v map[string]*string) *Configuration { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfigurationInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfigurationInput type CreateSecurityConfigurationInput struct { _ struct{} `type:"structure"` @@ -4179,7 +4190,9 @@ type CreateSecurityConfigurationInput struct { // Name is a required field Name *string `type:"string" required:"true"` - // The security configuration details in JSON format. + // The security configuration details in JSON format. For JSON parameters and + // examples, see Use Security Configurations to Set Up Cluster Security (http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-security-configurations.html) + // in the Amazon EMR Management Guide. // // SecurityConfiguration is a required field SecurityConfiguration *string `type:"string" required:"true"` @@ -4223,7 +4236,7 @@ func (s *CreateSecurityConfigurationInput) SetSecurityConfiguration(v string) *C return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfigurationOutput type CreateSecurityConfigurationOutput struct { _ struct{} `type:"structure"` @@ -4260,7 +4273,7 @@ func (s *CreateSecurityConfigurationOutput) SetName(v string) *CreateSecurityCon return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfigurationInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfigurationInput type DeleteSecurityConfigurationInput struct { _ struct{} `type:"structure"` @@ -4299,7 +4312,7 @@ func (s *DeleteSecurityConfigurationInput) SetName(v string) *DeleteSecurityConf return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfigurationOutput type DeleteSecurityConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -4315,7 +4328,7 @@ func (s DeleteSecurityConfigurationOutput) GoString() string { } // This input determines which cluster to describe. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeClusterInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeClusterInput type DescribeClusterInput struct { _ struct{} `type:"structure"` @@ -4355,7 +4368,7 @@ func (s *DescribeClusterInput) SetClusterId(v string) *DescribeClusterInput { } // This output contains the description of the cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeClusterOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeClusterOutput type DescribeClusterOutput struct { _ struct{} `type:"structure"` @@ -4380,7 +4393,7 @@ func (s *DescribeClusterOutput) SetCluster(v *Cluster) *DescribeClusterOutput { } // The input for the DescribeJobFlows operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeJobFlowsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeJobFlowsInput type DescribeJobFlowsInput struct { _ struct{} `type:"structure"` @@ -4432,7 +4445,7 @@ func (s *DescribeJobFlowsInput) SetJobFlowStates(v []*string) *DescribeJobFlowsI } // The output for the DescribeJobFlows operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeJobFlowsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeJobFlowsOutput type DescribeJobFlowsOutput struct { _ struct{} `type:"structure"` @@ -4456,7 +4469,7 @@ func (s *DescribeJobFlowsOutput) SetJobFlows(v []*JobFlowDetail) *DescribeJobFlo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfigurationInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfigurationInput type DescribeSecurityConfigurationInput struct { _ struct{} `type:"structure"` @@ -4495,7 +4508,7 @@ func (s *DescribeSecurityConfigurationInput) SetName(v string) *DescribeSecurity return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfigurationOutput type DescribeSecurityConfigurationOutput struct { _ struct{} `type:"structure"` @@ -4538,7 +4551,7 @@ func (s *DescribeSecurityConfigurationOutput) SetSecurityConfiguration(v string) } // This input determines which step to describe. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStepInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStepInput type DescribeStepInput struct { _ struct{} `type:"structure"` @@ -4592,7 +4605,7 @@ func (s *DescribeStepInput) SetStepId(v string) *DescribeStepInput { } // This output contains the description of the cluster step. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStepOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStepOutput type DescribeStepOutput struct { _ struct{} `type:"structure"` @@ -4618,7 +4631,7 @@ func (s *DescribeStepOutput) SetStep(v *Step) *DescribeStepOutput { // Configuration of requested EBS block device associated with the instance // group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/EbsBlockDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/EbsBlockDevice type EbsBlockDevice struct { _ struct{} `type:"structure"` @@ -4654,7 +4667,7 @@ func (s *EbsBlockDevice) SetVolumeSpecification(v *VolumeSpecification) *EbsBloc // Configuration of requested EBS block device associated with the instance // group with count of volumes that will be associated to every instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/EbsBlockDeviceConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/EbsBlockDeviceConfig type EbsBlockDeviceConfig struct { _ struct{} `type:"structure"` @@ -4710,7 +4723,7 @@ func (s *EbsBlockDeviceConfig) SetVolumesPerInstance(v int64) *EbsBlockDeviceCon } // The Amazon EBS configuration of a cluster instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/EbsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/EbsConfiguration type EbsConfiguration struct { _ struct{} `type:"structure"` @@ -4764,7 +4777,7 @@ func (s *EbsConfiguration) SetEbsOptimized(v bool) *EbsConfiguration { } // EBS block device that's attached to an EC2 instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/EbsVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/EbsVolume type EbsVolume struct { _ struct{} `type:"structure"` @@ -4799,7 +4812,7 @@ func (s *EbsVolume) SetVolumeId(v string) *EbsVolume { // Provides information about the EC2 instances in a cluster grouped by category. // For example, key name, subnet ID, IAM instance profile, and so on. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Ec2InstanceAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Ec2InstanceAttributes type Ec2InstanceAttributes struct { _ struct{} `type:"structure"` @@ -4941,7 +4954,7 @@ func (s *Ec2InstanceAttributes) SetServiceAccessSecurityGroup(v string) *Ec2Inst // The details of the step failure. The service attempts to detect the root // cause for many common failures. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/FailureDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/FailureDetails type FailureDetails struct { _ struct{} `type:"structure"` @@ -4991,7 +5004,7 @@ func (s *FailureDetails) SetReason(v string) *FailureDetails { // A job flow step consisting of a JAR file whose main function will be executed. // The main function submits a job for Hadoop to execute and waits for the job // to finish or fail. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/HadoopJarStepConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/HadoopJarStepConfig type HadoopJarStepConfig struct { _ struct{} `type:"structure"` @@ -5063,7 +5076,7 @@ func (s *HadoopJarStepConfig) SetProperties(v []*KeyValue) *HadoopJarStepConfig // A cluster step consisting of a JAR file whose main function will be executed. // The main function submits a job for Hadoop to execute and waits for the job // to finish or fail. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/HadoopStepConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/HadoopStepConfig type HadoopStepConfig struct { _ struct{} `type:"structure"` @@ -5118,7 +5131,7 @@ func (s *HadoopStepConfig) SetProperties(v map[string]*string) *HadoopStepConfig } // Represents an EC2 instance provisioned as part of cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Instance +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Instance type Instance struct { _ struct{} `type:"structure"` @@ -5248,7 +5261,7 @@ func (s *Instance) SetStatus(v *InstanceStatus) *Instance { // // The instance fleet configuration is available only in Amazon EMR versions // 4.8.0 and later, excluding 5.0.x versions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleet +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleet type InstanceFleet struct { _ struct{} `type:"structure"` @@ -5397,7 +5410,7 @@ func (s *InstanceFleet) SetTargetSpotCapacity(v int64) *InstanceFleet { // // The instance fleet configuration is available only in Amazon EMR versions // 4.8.0 and later, excluding 5.0.x versions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetConfig type InstanceFleetConfig struct { _ struct{} `type:"structure"` @@ -5531,7 +5544,7 @@ func (s *InstanceFleetConfig) SetTargetSpotCapacity(v int64) *InstanceFleetConfi // // The instance fleet configuration is available only in Amazon EMR versions // 4.8.0 and later, excluding 5.0.x versions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetModifyConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetModifyConfig type InstanceFleetModifyConfig struct { _ struct{} `type:"structure"` @@ -5595,7 +5608,7 @@ func (s *InstanceFleetModifyConfig) SetTargetSpotCapacity(v int64) *InstanceFlee // // The instance fleet configuration is available only in Amazon EMR versions // 4.8.0 and later, excluding 5.0.x versions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetProvisioningSpecifications +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetProvisioningSpecifications type InstanceFleetProvisioningSpecifications struct { _ struct{} `type:"structure"` @@ -5644,7 +5657,7 @@ func (s *InstanceFleetProvisioningSpecifications) SetSpotSpecification(v *SpotPr // // The instance fleet configuration is available only in Amazon EMR versions // 4.8.0 and later, excluding 5.0.x versions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetStateChangeReason +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetStateChangeReason type InstanceFleetStateChangeReason struct { _ struct{} `type:"structure"` @@ -5681,11 +5694,31 @@ func (s *InstanceFleetStateChangeReason) SetMessage(v string) *InstanceFleetStat // // The instance fleet configuration is available only in Amazon EMR versions // 4.8.0 and later, excluding 5.0.x versions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetStatus type InstanceFleetStatus struct { _ struct{} `type:"structure"` // A code representing the instance fleet status. + // + // * PROVISIONING—The instance fleet is provisioning EC2 resources and is + // not yet ready to run jobs. + // + // * BOOTSTRAPPING—EC2 instances and other resources have been provisioned + // and the bootstrap actions specified for the instances are underway. + // + // * RUNNING—EC2 instances and other resources are running. They are either + // executing jobs or waiting to execute jobs. + // + // * RESIZING—A resize operation is underway. EC2 instances are either being + // added or removed. + // + // * SUSPENDED—A resize operation could not complete. Existing EC2 instances + // are running, but instances can't be added or removed. + // + // * TERMINATING—The instance fleet is terminating EC2 instances. + // + // * TERMINATED—The instance fleet is no longer active, and all EC2 instances + // have been terminated. State *string `type:"string" enum:"InstanceFleetState"` // Provides status change reason details for the instance fleet. @@ -5729,7 +5762,7 @@ func (s *InstanceFleetStatus) SetTimeline(v *InstanceFleetTimeline) *InstanceFle // // The instance fleet configuration is available only in Amazon EMR versions // 4.8.0 and later, excluding 5.0.x versions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetTimeline +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetTimeline type InstanceFleetTimeline struct { _ struct{} `type:"structure"` @@ -5773,7 +5806,7 @@ func (s *InstanceFleetTimeline) SetReadyDateTime(v time.Time) *InstanceFleetTime // This entity represents an instance group, which is a group of instances that // have common purpose. For example, CORE instance group is used for HDFS. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroup type InstanceGroup struct { _ struct{} `type:"structure"` @@ -5926,7 +5959,7 @@ func (s *InstanceGroup) SetStatus(v *InstanceGroupStatus) *InstanceGroup { } // Configuration defining a new instance group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupConfig type InstanceGroupConfig struct { _ struct{} `type:"structure"` @@ -6070,7 +6103,7 @@ func (s *InstanceGroupConfig) SetName(v string) *InstanceGroupConfig { } // Detailed information about an instance group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupDetail type InstanceGroupDetail struct { _ struct{} `type:"structure"` @@ -6228,7 +6261,7 @@ func (s *InstanceGroupDetail) SetState(v string) *InstanceGroupDetail { } // Modify an instance group size. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupModifyConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupModifyConfig type InstanceGroupModifyConfig struct { _ struct{} `type:"structure"` @@ -6296,7 +6329,7 @@ func (s *InstanceGroupModifyConfig) SetShrinkPolicy(v *ShrinkPolicy) *InstanceGr } // The status change reason details for the instance group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupStateChangeReason +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupStateChangeReason type InstanceGroupStateChangeReason struct { _ struct{} `type:"structure"` @@ -6330,7 +6363,7 @@ func (s *InstanceGroupStateChangeReason) SetMessage(v string) *InstanceGroupStat } // The details of the instance group status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupStatus type InstanceGroupStatus struct { _ struct{} `type:"structure"` @@ -6373,7 +6406,7 @@ func (s *InstanceGroupStatus) SetTimeline(v *InstanceGroupTimeline) *InstanceGro } // The timeline of the instance group lifecycle. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupTimeline +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupTimeline type InstanceGroupTimeline struct { _ struct{} `type:"structure"` @@ -6417,7 +6450,7 @@ func (s *InstanceGroupTimeline) SetReadyDateTime(v time.Time) *InstanceGroupTime // Custom policy for requesting termination protection or termination of specific // instances when shrinking an instance group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceResizePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceResizePolicy type InstanceResizePolicy struct { _ struct{} `type:"structure"` @@ -6461,7 +6494,7 @@ func (s *InstanceResizePolicy) SetInstancesToTerminate(v []*string) *InstanceRes } // The details of the status change reason for the instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceStateChangeReason +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceStateChangeReason type InstanceStateChangeReason struct { _ struct{} `type:"structure"` @@ -6495,7 +6528,7 @@ func (s *InstanceStateChangeReason) SetMessage(v string) *InstanceStateChangeRea } // The instance status details. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceStatus type InstanceStatus struct { _ struct{} `type:"structure"` @@ -6538,7 +6571,7 @@ func (s *InstanceStatus) SetTimeline(v *InstanceTimeline) *InstanceStatus { } // The timeline of the instance lifecycle. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceTimeline +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceTimeline type InstanceTimeline struct { _ struct{} `type:"structure"` @@ -6587,7 +6620,7 @@ func (s *InstanceTimeline) SetReadyDateTime(v time.Time) *InstanceTimeline { // // The instance fleet configuration is available only in Amazon EMR versions // 4.8.0 and later, excluding 5.0.x versions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceTypeConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceTypeConfig type InstanceTypeConfig struct { _ struct{} `type:"structure"` @@ -6694,7 +6727,7 @@ func (s *InstanceTypeConfig) SetWeightedCapacity(v int64) *InstanceTypeConfig { // // The instance fleet configuration is available only in Amazon EMR versions // 4.8.0 and later, excluding 5.0.x versions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceTypeSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceTypeSpecification type InstanceTypeSpecification struct { _ struct{} `type:"structure"` @@ -6782,13 +6815,13 @@ func (s *InstanceTypeSpecification) SetWeightedCapacity(v int64) *InstanceTypeSp } // A description of a cluster (job flow). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/JobFlowDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/JobFlowDetail type JobFlowDetail struct { _ struct{} `type:"structure"` // Used only for version 2.x and 3.x of Amazon EMR. The version of the AMI used // to initialize Amazon EC2 instances in the job flow. For a list of AMI versions - // supported by Amazon EMR, see AMI Versions Supported in EMR (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EnvironmentConfig_AMIVersion.html#ami-versions-supported) + // supported by Amazon EMR, see AMI Versions Supported in EMR (http://docs.aws.amazon.com/emr/latest/DeveloperGuide/emr-dg.pdf#nameddest=ami-versions-supported) // in the Amazon EMR Developer Guide. AmiVersion *string `type:"string"` @@ -6958,7 +6991,7 @@ func (s *JobFlowDetail) SetVisibleToAllUsers(v bool) *JobFlowDetail { } // Describes the status of the cluster (job flow). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/JobFlowExecutionStatusDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/JobFlowExecutionStatusDetail type JobFlowExecutionStatusDetail struct { _ struct{} `type:"structure"` @@ -7037,7 +7070,7 @@ func (s *JobFlowExecutionStatusDetail) SetState(v string) *JobFlowExecutionStatu // InstanceFleets, which is the recommended configuration. They cannot be used // together. You may also have MasterInstanceType, SlaveInstanceType, and InstanceCount // (all three must be present), but we don't recommend this configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/JobFlowInstancesConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/JobFlowInstancesConfig type JobFlowInstancesConfig struct { _ struct{} `type:"structure"` @@ -7271,7 +7304,7 @@ func (s *JobFlowInstancesConfig) SetTerminationProtected(v bool) *JobFlowInstanc // Specify the type of Amazon EC2 instances that the cluster (job flow) runs // on. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/JobFlowInstancesDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/JobFlowInstancesDetail type JobFlowInstancesDetail struct { _ struct{} `type:"structure"` @@ -7308,7 +7341,8 @@ type JobFlowInstancesDetail struct { // MasterInstanceType is a required field MasterInstanceType *string `min:"1" type:"string" required:"true"` - // The DNS name of the master node. + // The DNS name of the master node. If the cluster is on a private subnet, this + // is the private DNS name. On a public subnet, this is the public DNS name. MasterPublicDnsName *string `type:"string"` // An approximation of the cost of the cluster, represented in m1.small/hours. @@ -7421,8 +7455,98 @@ func (s *JobFlowInstancesDetail) SetTerminationProtected(v bool) *JobFlowInstanc return s } +// Attributes for Kerberos configuration when Kerberos authentication is enabled +// using a security configuration. For more information see Use Kerberos Authentication +// (http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-kerberos.html) +// in the EMR Management Guide. +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/KerberosAttributes +type KerberosAttributes struct { + _ struct{} `type:"structure"` + + // The Active Directory password for ADDomainJoinUser. + ADDomainJoinPassword *string `type:"string"` + + // Required only when establishing a cross-realm trust with an Active Directory + // domain. A user with sufficient privileges to join resources to the domain. + ADDomainJoinUser *string `type:"string"` + + // Required only when establishing a cross-realm trust with a KDC in a different + // realm. The cross-realm principal password, which must be identical across + // realms. + CrossRealmTrustPrincipalPassword *string `type:"string"` + + // The password used within the cluster for the kadmin service on the cluster-dedicated + // KDC, which maintains Kerberos principals, password policies, and keytabs + // for the cluster. + // + // KdcAdminPassword is a required field + KdcAdminPassword *string `type:"string" required:"true"` + + // The name of the Kerberos realm to which all nodes in a cluster belong. For + // example, EC2.INTERNAL. + // + // Realm is a required field + Realm *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s KerberosAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s KerberosAttributes) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KerberosAttributes) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KerberosAttributes"} + if s.KdcAdminPassword == nil { + invalidParams.Add(request.NewErrParamRequired("KdcAdminPassword")) + } + if s.Realm == nil { + invalidParams.Add(request.NewErrParamRequired("Realm")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetADDomainJoinPassword sets the ADDomainJoinPassword field's value. +func (s *KerberosAttributes) SetADDomainJoinPassword(v string) *KerberosAttributes { + s.ADDomainJoinPassword = &v + return s +} + +// SetADDomainJoinUser sets the ADDomainJoinUser field's value. +func (s *KerberosAttributes) SetADDomainJoinUser(v string) *KerberosAttributes { + s.ADDomainJoinUser = &v + return s +} + +// SetCrossRealmTrustPrincipalPassword sets the CrossRealmTrustPrincipalPassword field's value. +func (s *KerberosAttributes) SetCrossRealmTrustPrincipalPassword(v string) *KerberosAttributes { + s.CrossRealmTrustPrincipalPassword = &v + return s +} + +// SetKdcAdminPassword sets the KdcAdminPassword field's value. +func (s *KerberosAttributes) SetKdcAdminPassword(v string) *KerberosAttributes { + s.KdcAdminPassword = &v + return s +} + +// SetRealm sets the Realm field's value. +func (s *KerberosAttributes) SetRealm(v string) *KerberosAttributes { + s.Realm = &v + return s +} + // A key value pair. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/KeyValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/KeyValue type KeyValue struct { _ struct{} `type:"structure"` @@ -7456,7 +7580,7 @@ func (s *KeyValue) SetValue(v string) *KeyValue { } // This input determines which bootstrap actions to retrieve. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActionsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActionsInput type ListBootstrapActionsInput struct { _ struct{} `type:"structure"` @@ -7505,7 +7629,7 @@ func (s *ListBootstrapActionsInput) SetMarker(v string) *ListBootstrapActionsInp } // This output contains the bootstrap actions detail. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActionsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActionsOutput type ListBootstrapActionsOutput struct { _ struct{} `type:"structure"` @@ -7540,7 +7664,7 @@ func (s *ListBootstrapActionsOutput) SetMarker(v string) *ListBootstrapActionsOu // This input determines how the ListClusters action filters the list of clusters // that it returns. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClustersInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClustersInput type ListClustersInput struct { _ struct{} `type:"structure"` @@ -7593,7 +7717,7 @@ func (s *ListClustersInput) SetMarker(v string) *ListClustersInput { // This contains a ClusterSummaryList with the cluster details; for example, // the cluster IDs, names, and status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClustersOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClustersOutput type ListClustersOutput struct { _ struct{} `type:"structure"` @@ -7626,7 +7750,7 @@ func (s *ListClustersOutput) SetMarker(v string) *ListClustersOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleetsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleetsInput type ListInstanceFleetsInput struct { _ struct{} `type:"structure"` @@ -7674,7 +7798,7 @@ func (s *ListInstanceFleetsInput) SetMarker(v string) *ListInstanceFleetsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleetsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleetsOutput type ListInstanceFleetsOutput struct { _ struct{} `type:"structure"` @@ -7708,7 +7832,7 @@ func (s *ListInstanceFleetsOutput) SetMarker(v string) *ListInstanceFleetsOutput } // This input determines which instance groups to retrieve. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroupsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroupsInput type ListInstanceGroupsInput struct { _ struct{} `type:"structure"` @@ -7757,7 +7881,7 @@ func (s *ListInstanceGroupsInput) SetMarker(v string) *ListInstanceGroupsInput { } // This input determines which instance groups to retrieve. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroupsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroupsOutput type ListInstanceGroupsOutput struct { _ struct{} `type:"structure"` @@ -7791,7 +7915,7 @@ func (s *ListInstanceGroupsOutput) SetMarker(v string) *ListInstanceGroupsOutput } // This input determines which instances to list. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstancesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstancesInput type ListInstancesInput struct { _ struct{} `type:"structure"` @@ -7886,7 +8010,7 @@ func (s *ListInstancesInput) SetMarker(v string) *ListInstancesInput { } // This output contains the list of instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstancesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstancesOutput type ListInstancesOutput struct { _ struct{} `type:"structure"` @@ -7919,7 +8043,7 @@ func (s *ListInstancesOutput) SetMarker(v string) *ListInstancesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurationsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurationsInput type ListSecurityConfigurationsInput struct { _ struct{} `type:"structure"` @@ -7943,7 +8067,7 @@ func (s *ListSecurityConfigurationsInput) SetMarker(v string) *ListSecurityConfi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurationsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurationsOutput type ListSecurityConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -7979,7 +8103,7 @@ func (s *ListSecurityConfigurationsOutput) SetSecurityConfigurations(v []*Securi } // This input determines which steps to list. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStepsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStepsInput type ListStepsInput struct { _ struct{} `type:"structure"` @@ -8047,7 +8171,7 @@ func (s *ListStepsInput) SetStepStates(v []*string) *ListStepsInput { // This output contains the list of steps returned in reverse order. This means // that the last step is the first element in the list. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStepsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStepsOutput type ListStepsOutput struct { _ struct{} `type:"structure"` @@ -8085,7 +8209,7 @@ func (s *ListStepsOutput) SetSteps(v []*StepSummary) *ListStepsOutput { // Key is JobFlowID and Value is a variable representing the cluster ID, which // is ${emr.clusterId}. This enables the rule to bootstrap when the cluster // ID becomes available. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/MetricDimension +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/MetricDimension type MetricDimension struct { _ struct{} `type:"structure"` @@ -8118,7 +8242,7 @@ func (s *MetricDimension) SetValue(v string) *MetricDimension { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleetInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleetInput type ModifyInstanceFleetInput struct { _ struct{} `type:"structure"` @@ -8176,7 +8300,7 @@ func (s *ModifyInstanceFleetInput) SetInstanceFleet(v *InstanceFleetModifyConfig return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleetOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleetOutput type ModifyInstanceFleetOutput struct { _ struct{} `type:"structure"` } @@ -8192,7 +8316,7 @@ func (s ModifyInstanceFleetOutput) GoString() string { } // Change the size of some instance groups. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceGroupsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceGroupsInput type ModifyInstanceGroupsInput struct { _ struct{} `type:"structure"` @@ -8245,7 +8369,7 @@ func (s *ModifyInstanceGroupsInput) SetInstanceGroups(v []*InstanceGroupModifyCo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceGroupsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceGroupsOutput type ModifyInstanceGroupsOutput struct { _ struct{} `type:"structure"` } @@ -8261,7 +8385,7 @@ func (s ModifyInstanceGroupsOutput) GoString() string { } // The Amazon EC2 Availability Zone configuration of the cluster (job flow). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PlacementType +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PlacementType type PlacementType struct { _ struct{} `type:"structure"` @@ -8302,7 +8426,7 @@ func (s *PlacementType) SetAvailabilityZones(v []*string) *PlacementType { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicyInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicyInput type PutAutoScalingPolicyInput struct { _ struct{} `type:"structure"` @@ -8376,7 +8500,7 @@ func (s *PutAutoScalingPolicyInput) SetInstanceGroupId(v string) *PutAutoScaling return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicyOutput type PutAutoScalingPolicyOutput struct { _ struct{} `type:"structure"` @@ -8419,7 +8543,7 @@ func (s *PutAutoScalingPolicyOutput) SetInstanceGroupId(v string) *PutAutoScalin return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicyInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicyInput type RemoveAutoScalingPolicyInput struct { _ struct{} `type:"structure"` @@ -8473,7 +8597,7 @@ func (s *RemoveAutoScalingPolicyInput) SetInstanceGroupId(v string) *RemoveAutoS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicyOutput type RemoveAutoScalingPolicyOutput struct { _ struct{} `type:"structure"` } @@ -8489,7 +8613,7 @@ func (s RemoveAutoScalingPolicyOutput) GoString() string { } // This input identifies a cluster and a list of tags to remove. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTagsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTagsInput type RemoveTagsInput struct { _ struct{} `type:"structure"` @@ -8544,7 +8668,7 @@ func (s *RemoveTagsInput) SetTagKeys(v []*string) *RemoveTagsInput { } // This output indicates the result of removing tags from a resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTagsOutput type RemoveTagsOutput struct { _ struct{} `type:"structure"` } @@ -8560,7 +8684,7 @@ func (s RemoveTagsOutput) GoString() string { } // Input to the RunJobFlow operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlowInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlowInput type RunJobFlowInput struct { _ struct{} `type:"structure"` @@ -8571,7 +8695,7 @@ type RunJobFlowInput struct { // later, the Linux AMI is determined by the ReleaseLabel specified or by CustomAmiID. // The version of the Amazon Machine Image (AMI) to use when launching Amazon // EC2 instances in the job flow. For details about the AMI versions currently - // supported in EMR version 3.x and 2.x, see AMI Versions Supported in EMR (ElasticMapReduce/latest/DeveloperGuide/emr-dg.pdf#nameddest=ami-versions-supported) + // supported in EMR version 3.x and 2.x, see AMI Versions Supported in EMR (emr/latest/DeveloperGuide/emr-dg.pdf#nameddest=ami-versions-supported) // in the Amazon EMR Developer Guide. // // If the AMI supports multiple versions of Hadoop (for example, AMI 1.0 supports @@ -8631,6 +8755,12 @@ type RunJobFlowInput struct { // the CLI or console. JobFlowRole *string `type:"string"` + // Attributes for Kerberos configuration when Kerberos authentication is enabled + // using a security configuration. For more information see Use Kerberos Authentication + // (http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-kerberos.html) + // in the EMR Management Guide. + KerberosAttributes *KerberosAttributes `type:"structure"` + // The location in Amazon S3 to write the log files of the job flow. If a value // is not provided, logs are not created. LogUri *string `type:"string"` @@ -8647,7 +8777,7 @@ type RunJobFlowInput struct { // flow that accepts a user argument list. EMR accepts and forwards the argument // list to the corresponding installation script as bootstrap action arguments. // For more information, see "Launch a Job Flow on the MapR Distribution for - // Hadoop" in the Amazon EMR Developer Guide (http://docs.aws.amazon.com/http:/docs.aws.amazon.com/emr/latest/DeveloperGuide/emr-dg.pdf). + // Hadoop" in the Amazon EMR Developer Guide (http://docs.aws.amazon.com/emr/latest/DeveloperGuide/emr-dg.pdf). // Supported values are: // // * "mapr-m3" - launch the cluster using MapR M3 Edition. @@ -8707,7 +8837,7 @@ type RunJobFlowInput struct { // use Applications. // // A list of strings that indicates third-party software to use. For more information, - // see Use Third Party Applications with Amazon EMR (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-supported-products.html). + // see the Amazon EMR Developer Guide (http://docs.aws.amazon.com/emr/latest/DeveloperGuide/emr-dg.pdf). // Currently supported values are: // // * "mapr-m3" - launch the job flow using MapR M3 Edition. @@ -8760,6 +8890,11 @@ func (s *RunJobFlowInput) Validate() error { invalidParams.AddNested("Instances", err.(request.ErrInvalidParams)) } } + if s.KerberosAttributes != nil { + if err := s.KerberosAttributes.Validate(); err != nil { + invalidParams.AddNested("KerberosAttributes", err.(request.ErrInvalidParams)) + } + } if s.Steps != nil { for i, v := range s.Steps { if v == nil { @@ -8837,6 +8972,12 @@ func (s *RunJobFlowInput) SetJobFlowRole(v string) *RunJobFlowInput { return s } +// SetKerberosAttributes sets the KerberosAttributes field's value. +func (s *RunJobFlowInput) SetKerberosAttributes(v *KerberosAttributes) *RunJobFlowInput { + s.KerberosAttributes = v + return s +} + // SetLogUri sets the LogUri field's value. func (s *RunJobFlowInput) SetLogUri(v string) *RunJobFlowInput { s.LogUri = &v @@ -8910,7 +9051,7 @@ func (s *RunJobFlowInput) SetVisibleToAllUsers(v bool) *RunJobFlowInput { } // The result of the RunJobFlow operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlowOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlowOutput type RunJobFlowOutput struct { _ struct{} `type:"structure"` @@ -8936,7 +9077,7 @@ func (s *RunJobFlowOutput) SetJobFlowId(v string) *RunJobFlowOutput { // The type of adjustment the automatic scaling activity makes when triggered, // and the periodicity of the adjustment. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ScalingAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ScalingAction type ScalingAction struct { _ struct{} `type:"structure"` @@ -8994,7 +9135,7 @@ func (s *ScalingAction) SetSimpleScalingPolicyConfiguration(v *SimpleScalingPoli // The upper and lower EC2 instance limits for an automatic scaling policy. // Automatic scaling activities triggered by automatic scaling rules will not // cause an instance group to grow above or below these limits. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ScalingConstraints +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ScalingConstraints type ScalingConstraints struct { _ struct{} `type:"structure"` @@ -9055,7 +9196,7 @@ func (s *ScalingConstraints) SetMinCapacity(v int64) *ScalingConstraints { // CloudWatch metric alarm that triggers activity, how EC2 instances are added // or removed, and the periodicity of adjustments. The automatic scaling policy // for an instance group can comprise one or more automatic scaling rules. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ScalingRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ScalingRule type ScalingRule struct { _ struct{} `type:"structure"` @@ -9144,7 +9285,7 @@ func (s *ScalingRule) SetTrigger(v *ScalingTrigger) *ScalingRule { } // The conditions that trigger an automatic scaling activity. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ScalingTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ScalingTrigger type ScalingTrigger struct { _ struct{} `type:"structure"` @@ -9190,7 +9331,7 @@ func (s *ScalingTrigger) SetCloudWatchAlarmDefinition(v *CloudWatchAlarmDefiniti } // Configuration of the script to run during a bootstrap action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ScriptBootstrapActionConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ScriptBootstrapActionConfig type ScriptBootstrapActionConfig struct { _ struct{} `type:"structure"` @@ -9240,7 +9381,7 @@ func (s *ScriptBootstrapActionConfig) SetPath(v string) *ScriptBootstrapActionCo } // The creation date and time, and name, of a security configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SecurityConfigurationSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SecurityConfigurationSummary type SecurityConfigurationSummary struct { _ struct{} `type:"structure"` @@ -9274,7 +9415,7 @@ func (s *SecurityConfigurationSummary) SetName(v string) *SecurityConfigurationS } // The input argument to the TerminationProtection operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtectionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtectionInput type SetTerminationProtectionInput struct { _ struct{} `type:"structure"` @@ -9331,7 +9472,7 @@ func (s *SetTerminationProtectionInput) SetTerminationProtected(v bool) *SetTerm return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtectionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtectionOutput type SetTerminationProtectionOutput struct { _ struct{} `type:"structure"` } @@ -9347,7 +9488,7 @@ func (s SetTerminationProtectionOutput) GoString() string { } // The input to the SetVisibleToAllUsers action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsersInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsersInput type SetVisibleToAllUsersInput struct { _ struct{} `type:"structure"` @@ -9404,7 +9545,7 @@ func (s *SetVisibleToAllUsersInput) SetVisibleToAllUsers(v bool) *SetVisibleToAl return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsersOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsersOutput type SetVisibleToAllUsersOutput struct { _ struct{} `type:"structure"` } @@ -9421,7 +9562,7 @@ func (s SetVisibleToAllUsersOutput) GoString() string { // Policy for customizing shrink operations. Allows configuration of decommissioning // timeout and targeted instance shrinking. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ShrinkPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ShrinkPolicy type ShrinkPolicy struct { _ struct{} `type:"structure"` @@ -9459,7 +9600,7 @@ func (s *ShrinkPolicy) SetInstanceResizePolicy(v *InstanceResizePolicy) *ShrinkP // An automatic scaling configuration, which describes how the policy adds or // removes instances, the cooldown period, and the number of EC2 instances that // will be added each time the CloudWatch metric alarm condition is satisfied. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SimpleScalingPolicyConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SimpleScalingPolicyConfiguration type SimpleScalingPolicyConfiguration struct { _ struct{} `type:"structure"` @@ -9469,8 +9610,8 @@ type SimpleScalingPolicyConfiguration struct { // indicates that the EC2 instance count increments or decrements by ScalingAdjustment, // which should be expressed as an integer. PERCENT_CHANGE_IN_CAPACITY indicates // the instance count increments or decrements by the percentage specified by - // ScalingAdjustment, which should be expressed as a decimal. For example, 0.20 - // indicates an increase in 20% increments of cluster capacity. EXACT_CAPACITY + // ScalingAdjustment, which should be expressed as an integer. For example, + // 20 indicates an increase in 20% increments of cluster capacity. EXACT_CAPACITY // indicates the scaling activity results in an instance group with the number // of EC2 instances specified by ScalingAdjustment, which should be expressed // as a positive integer. @@ -9485,8 +9626,8 @@ type SimpleScalingPolicyConfiguration struct { // A positive value adds to the instance group's EC2 instance count while a // negative number removes instances. If AdjustmentType is set to EXACT_CAPACITY, // the number should only be a positive integer. If AdjustmentType is set to - // PERCENT_CHANGE_IN_CAPACITY, the value should express the percentage as a - // decimal. For example, -0.20 indicates a decrease in 20% increments of cluster + // PERCENT_CHANGE_IN_CAPACITY, the value should express the percentage as an + // integer. For example, -20 indicates a decrease in 20% increments of cluster // capacity. // // ScalingAdjustment is a required field @@ -9539,7 +9680,7 @@ func (s *SimpleScalingPolicyConfiguration) SetScalingAdjustment(v int64) *Simple // // The instance fleet configuration is available only in Amazon EMR versions // 4.8.0 and later, excluding 5.0.x versions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SpotProvisioningSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SpotProvisioningSpecification type SpotProvisioningSpecification struct { _ struct{} `type:"structure"` @@ -9616,7 +9757,7 @@ func (s *SpotProvisioningSpecification) SetTimeoutDurationMinutes(v int64) *Spot } // This represents a step in a cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Step +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Step type Step struct { _ struct{} `type:"structure"` @@ -9678,7 +9819,7 @@ func (s *Step) SetStatus(v *StepStatus) *Step { } // Specification of a cluster (job flow) step. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepConfig type StepConfig struct { _ struct{} `type:"structure"` @@ -9746,7 +9887,7 @@ func (s *StepConfig) SetName(v string) *StepConfig { } // Combines the execution state and configuration of a step. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepDetail type StepDetail struct { _ struct{} `type:"structure"` @@ -9784,7 +9925,7 @@ func (s *StepDetail) SetStepConfig(v *StepConfig) *StepDetail { } // The execution state of a step. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepExecutionStatusDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepExecutionStatusDetail type StepExecutionStatusDetail struct { _ struct{} `type:"structure"` @@ -9849,7 +9990,7 @@ func (s *StepExecutionStatusDetail) SetState(v string) *StepExecutionStatusDetai } // The details of the step state change reason. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepStateChangeReason +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepStateChangeReason type StepStateChangeReason struct { _ struct{} `type:"structure"` @@ -9884,7 +10025,7 @@ func (s *StepStateChangeReason) SetMessage(v string) *StepStateChangeReason { } // The execution status details of the cluster step. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepStatus type StepStatus struct { _ struct{} `type:"structure"` @@ -9937,7 +10078,7 @@ func (s *StepStatus) SetTimeline(v *StepTimeline) *StepStatus { } // The summary of the cluster step. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepSummary type StepSummary struct { _ struct{} `type:"structure"` @@ -9999,7 +10140,7 @@ func (s *StepSummary) SetStatus(v *StepStatus) *StepSummary { } // The timeline of the cluster step lifecycle. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepTimeline +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepTimeline type StepTimeline struct { _ struct{} `type:"structure"` @@ -10044,7 +10185,7 @@ func (s *StepTimeline) SetStartDateTime(v time.Time) *StepTimeline { // The list of supported product configurations which allow user-supplied arguments. // EMR accepts these arguments and forwards them to the corresponding installation // script as bootstrap action arguments. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SupportedProductConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SupportedProductConfig type SupportedProductConfig struct { _ struct{} `type:"structure"` @@ -10080,18 +10221,17 @@ func (s *SupportedProductConfig) SetName(v string) *SupportedProductConfig { // A key/value pair containing user-defined metadata that you can associate // with an Amazon EMR resource. Tags make it easier to associate clusters in // various ways, such as grouping clusters to track your Amazon EMR resource -// allocation costs. For more information, see Tagging Amazon EMR Resources -// (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Tag +// allocation costs. For more information, see Tag Clusters (http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html). +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Tag type Tag struct { _ struct{} `type:"structure"` // A user-defined key, which is the minimum required information for a valid - // tag. For more information, see Tagging Amazon EMR Resources (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html). + // tag. For more information, see Tag (http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html). Key *string `type:"string"` // A user-defined value, which is optional in a tag. For more information, see - // Tagging Amazon EMR Resources (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html). + // Tag Clusters (http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html). Value *string `type:"string"` } @@ -10118,7 +10258,7 @@ func (s *Tag) SetValue(v string) *Tag { } // Input to the TerminateJobFlows operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlowsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlowsInput type TerminateJobFlowsInput struct { _ struct{} `type:"structure"` @@ -10157,7 +10297,7 @@ func (s *TerminateJobFlowsInput) SetJobFlowIds(v []*string) *TerminateJobFlowsIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlowsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlowsOutput type TerminateJobFlowsOutput struct { _ struct{} `type:"structure"` } @@ -10174,7 +10314,7 @@ func (s TerminateJobFlowsOutput) GoString() string { // EBS volume specifications such as volume type, IOPS, and size (GiB) that // will be requested for the EBS volume attached to an EC2 instance in the cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/VolumeSpecification +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/VolumeSpecification type VolumeSpecification struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/firehose/api.go b/vendor/github.com/aws/aws-sdk-go/service/firehose/api.go index ca7ec95e0ee..ff22c687617 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/firehose/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/firehose/api.go @@ -36,7 +36,7 @@ const opCreateDeliveryStream = "CreateDeliveryStream" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStream func (c *Firehose) CreateDeliveryStreamRequest(input *CreateDeliveryStreamInput) (req *request.Request, output *CreateDeliveryStreamOutput) { op := &request.Operation{ Name: opCreateDeliveryStream, @@ -125,7 +125,7 @@ func (c *Firehose) CreateDeliveryStreamRequest(input *CreateDeliveryStreamInput) // * ErrCodeResourceInUseException "ResourceInUseException" // The resource is already in use and not available for this operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStream func (c *Firehose) CreateDeliveryStream(input *CreateDeliveryStreamInput) (*CreateDeliveryStreamOutput, error) { req, out := c.CreateDeliveryStreamRequest(input) return out, req.Send() @@ -172,7 +172,7 @@ const opDeleteDeliveryStream = "DeleteDeliveryStream" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeleteDeliveryStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeleteDeliveryStream func (c *Firehose) DeleteDeliveryStreamRequest(input *DeleteDeliveryStreamInput) (req *request.Request, output *DeleteDeliveryStreamOutput) { op := &request.Operation{ Name: opDeleteDeliveryStream, @@ -218,7 +218,7 @@ func (c *Firehose) DeleteDeliveryStreamRequest(input *DeleteDeliveryStreamInput) // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeleteDeliveryStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeleteDeliveryStream func (c *Firehose) DeleteDeliveryStream(input *DeleteDeliveryStreamInput) (*DeleteDeliveryStreamOutput, error) { req, out := c.DeleteDeliveryStreamRequest(input) return out, req.Send() @@ -265,7 +265,7 @@ const opDescribeDeliveryStream = "DescribeDeliveryStream" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStream func (c *Firehose) DescribeDeliveryStreamRequest(input *DescribeDeliveryStreamInput) (req *request.Request, output *DescribeDeliveryStreamOutput) { op := &request.Operation{ Name: opDescribeDeliveryStream, @@ -300,7 +300,7 @@ func (c *Firehose) DescribeDeliveryStreamRequest(input *DescribeDeliveryStreamIn // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStream func (c *Firehose) DescribeDeliveryStream(input *DescribeDeliveryStreamInput) (*DescribeDeliveryStreamOutput, error) { req, out := c.DescribeDeliveryStreamRequest(input) return out, req.Send() @@ -322,88 +322,6 @@ func (c *Firehose) DescribeDeliveryStreamWithContext(ctx aws.Context, input *Des return out, req.Send() } -const opGetKinesisStream = "GetKinesisStream" - -// GetKinesisStreamRequest generates a "aws/request.Request" representing the -// client's request for the GetKinesisStream operation. The "output" return -// value will be populated with the request's response once the request complets -// successfuly. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See GetKinesisStream for more information on using the GetKinesisStream -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the GetKinesisStreamRequest method. -// req, resp := client.GetKinesisStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/GetKinesisStream -func (c *Firehose) GetKinesisStreamRequest(input *GetKinesisStreamInput) (req *request.Request, output *GetKinesisStreamOutput) { - op := &request.Operation{ - Name: opGetKinesisStream, - HTTPMethod: "POST", - HTTPPath: "/", - } - - if input == nil { - input = &GetKinesisStreamInput{} - } - - output = &GetKinesisStreamOutput{} - req = c.newRequest(op, input, output) - return -} - -// GetKinesisStream API operation for Amazon Kinesis Firehose. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Kinesis Firehose's -// API operation GetKinesisStream for usage and error information. -// -// Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource could not be found. -// -// * ErrCodeInvalidArgumentException "InvalidArgumentException" -// The specified input parameter has a value that is not valid. -// -// * ErrCodeInvalidStreamTypeException "InvalidStreamTypeException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/GetKinesisStream -func (c *Firehose) GetKinesisStream(input *GetKinesisStreamInput) (*GetKinesisStreamOutput, error) { - req, out := c.GetKinesisStreamRequest(input) - return out, req.Send() -} - -// GetKinesisStreamWithContext is the same as GetKinesisStream with the addition of -// the ability to pass a context and additional request options. -// -// See GetKinesisStream for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *Firehose) GetKinesisStreamWithContext(ctx aws.Context, input *GetKinesisStreamInput, opts ...request.Option) (*GetKinesisStreamOutput, error) { - req, out := c.GetKinesisStreamRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - const opListDeliveryStreams = "ListDeliveryStreams" // ListDeliveryStreamsRequest generates a "aws/request.Request" representing the @@ -429,7 +347,7 @@ const opListDeliveryStreams = "ListDeliveryStreams" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListDeliveryStreams +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListDeliveryStreams func (c *Firehose) ListDeliveryStreamsRequest(input *ListDeliveryStreamsInput) (req *request.Request, output *ListDeliveryStreamsOutput) { op := &request.Operation{ Name: opListDeliveryStreams, @@ -464,7 +382,7 @@ func (c *Firehose) ListDeliveryStreamsRequest(input *ListDeliveryStreamsInput) ( // // See the AWS API reference guide for Amazon Kinesis Firehose's // API operation ListDeliveryStreams for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListDeliveryStreams +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListDeliveryStreams func (c *Firehose) ListDeliveryStreams(input *ListDeliveryStreamsInput) (*ListDeliveryStreamsOutput, error) { req, out := c.ListDeliveryStreamsRequest(input) return out, req.Send() @@ -511,7 +429,7 @@ const opPutRecord = "PutRecord" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecord +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecord func (c *Firehose) PutRecordRequest(input *PutRecordInput) (req *request.Request, output *PutRecordOutput) { op := &request.Operation{ Name: opPutRecord, @@ -584,7 +502,7 @@ func (c *Firehose) PutRecordRequest(input *PutRecordInput) (req *request.Request // been exceeded. For more information about limits and how to request an increase, // see Amazon Kinesis Firehose Limits (http://docs.aws.amazon.com/firehose/latest/dev/limits.html). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecord +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecord func (c *Firehose) PutRecord(input *PutRecordInput) (*PutRecordOutput, error) { req, out := c.PutRecordRequest(input) return out, req.Send() @@ -631,7 +549,7 @@ const opPutRecordBatch = "PutRecordBatch" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordBatch +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordBatch func (c *Firehose) PutRecordBatchRequest(input *PutRecordBatchInput) (req *request.Request, output *PutRecordBatchOutput) { op := &request.Operation{ Name: opPutRecordBatch, @@ -729,7 +647,7 @@ func (c *Firehose) PutRecordBatchRequest(input *PutRecordBatchInput) (req *reque // been exceeded. For more information about limits and how to request an increase, // see Amazon Kinesis Firehose Limits (http://docs.aws.amazon.com/firehose/latest/dev/limits.html). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordBatch +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordBatch func (c *Firehose) PutRecordBatch(input *PutRecordBatchInput) (*PutRecordBatchOutput, error) { req, out := c.PutRecordBatchRequest(input) return out, req.Send() @@ -776,7 +694,7 @@ const opUpdateDestination = "UpdateDestination" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UpdateDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UpdateDestination func (c *Firehose) UpdateDestinationRequest(input *UpdateDestinationInput) (req *request.Request, output *UpdateDestinationOutput) { op := &request.Operation{ Name: opUpdateDestination, @@ -847,7 +765,7 @@ func (c *Firehose) UpdateDestinationRequest(input *UpdateDestinationInput) (req // Another modification has already happened. Fetch VersionId again and use // it to update the destination. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UpdateDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UpdateDestination func (c *Firehose) UpdateDestination(input *UpdateDestinationInput) (*UpdateDestinationOutput, error) { req, out := c.UpdateDestinationRequest(input) return out, req.Send() @@ -872,7 +790,7 @@ func (c *Firehose) UpdateDestinationWithContext(ctx aws.Context, input *UpdateDe // Describes hints for the buffering to perform before delivering data to the // destination. Please note that these options are treated as hints, and therefore // Kinesis Firehose may choose to use different values when it is optimal. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/BufferingHints +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/BufferingHints type BufferingHints struct { _ struct{} `type:"structure"` @@ -928,7 +846,7 @@ func (s *BufferingHints) SetSizeInMBs(v int64) *BufferingHints { } // Describes the Amazon CloudWatch logging options for your delivery stream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CloudWatchLoggingOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CloudWatchLoggingOptions type CloudWatchLoggingOptions struct { _ struct{} `type:"structure"` @@ -973,7 +891,7 @@ func (s *CloudWatchLoggingOptions) SetLogStreamName(v string) *CloudWatchLogging } // Describes a COPY command for Amazon Redshift. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CopyCommand +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CopyCommand type CopyCommand struct { _ struct{} `type:"structure"` @@ -1052,7 +970,7 @@ func (s *CopyCommand) SetDataTableName(v string) *CopyCommand { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStreamInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStreamInput type CreateDeliveryStreamInput struct { _ struct{} `type:"structure"` @@ -1086,6 +1004,9 @@ type CreateDeliveryStreamInput struct { // [Deprecated] The destination in Amazon S3. You can specify only one destination. S3DestinationConfiguration *S3DestinationConfiguration `deprecated:"true" type:"structure"` + + // The destination in Splunk. You can specify only one destination. + SplunkDestinationConfiguration *SplunkDestinationConfiguration `type:"structure"` } // String returns the string representation @@ -1132,6 +1053,11 @@ func (s *CreateDeliveryStreamInput) Validate() error { invalidParams.AddNested("S3DestinationConfiguration", err.(request.ErrInvalidParams)) } } + if s.SplunkDestinationConfiguration != nil { + if err := s.SplunkDestinationConfiguration.Validate(); err != nil { + invalidParams.AddNested("SplunkDestinationConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -1181,7 +1107,13 @@ func (s *CreateDeliveryStreamInput) SetS3DestinationConfiguration(v *S3Destinati return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStreamOutput +// SetSplunkDestinationConfiguration sets the SplunkDestinationConfiguration field's value. +func (s *CreateDeliveryStreamInput) SetSplunkDestinationConfiguration(v *SplunkDestinationConfiguration) *CreateDeliveryStreamInput { + s.SplunkDestinationConfiguration = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStreamOutput type CreateDeliveryStreamOutput struct { _ struct{} `type:"structure"` @@ -1205,7 +1137,7 @@ func (s *CreateDeliveryStreamOutput) SetDeliveryStreamARN(v string) *CreateDeliv return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeleteDeliveryStreamInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeleteDeliveryStreamInput type DeleteDeliveryStreamInput struct { _ struct{} `type:"structure"` @@ -1247,7 +1179,7 @@ func (s *DeleteDeliveryStreamInput) SetDeliveryStreamName(v string) *DeleteDeliv return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeleteDeliveryStreamOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeleteDeliveryStreamOutput type DeleteDeliveryStreamOutput struct { _ struct{} `type:"structure"` } @@ -1263,7 +1195,7 @@ func (s DeleteDeliveryStreamOutput) GoString() string { } // Contains information about a delivery stream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeliveryStreamDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeliveryStreamDescription type DeliveryStreamDescription struct { _ struct{} `type:"structure"` @@ -1391,7 +1323,7 @@ func (s *DeliveryStreamDescription) SetVersionId(v string) *DeliveryStreamDescri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStreamInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStreamInput type DescribeDeliveryStreamInput struct { _ struct{} `type:"structure"` @@ -1459,7 +1391,7 @@ func (s *DescribeDeliveryStreamInput) SetLimit(v int64) *DescribeDeliveryStreamI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStreamOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStreamOutput type DescribeDeliveryStreamOutput struct { _ struct{} `type:"structure"` @@ -1486,7 +1418,7 @@ func (s *DescribeDeliveryStreamOutput) SetDeliveryStreamDescription(v *DeliveryS } // Describes the destination for a delivery stream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DestinationDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DestinationDescription type DestinationDescription struct { _ struct{} `type:"structure"` @@ -1506,6 +1438,9 @@ type DestinationDescription struct { // [Deprecated] The destination in Amazon S3. S3DestinationDescription *S3DestinationDescription `type:"structure"` + + // The destination in Splunk. + SplunkDestinationDescription *SplunkDestinationDescription `type:"structure"` } // String returns the string representation @@ -1548,9 +1483,15 @@ func (s *DestinationDescription) SetS3DestinationDescription(v *S3DestinationDes return s } +// SetSplunkDestinationDescription sets the SplunkDestinationDescription field's value. +func (s *DestinationDescription) SetSplunkDestinationDescription(v *SplunkDestinationDescription) *DestinationDescription { + s.SplunkDestinationDescription = v + return s +} + // Describes the buffering to perform before delivering data to the Amazon ES // destination. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchBufferingHints +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchBufferingHints type ElasticsearchBufferingHints struct { _ struct{} `type:"structure"` @@ -1606,7 +1547,7 @@ func (s *ElasticsearchBufferingHints) SetSizeInMBs(v int64) *ElasticsearchBuffer } // Describes the configuration of a destination in Amazon ES. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationConfiguration type ElasticsearchDestinationConfiguration struct { _ struct{} `type:"structure"` @@ -1799,7 +1740,7 @@ func (s *ElasticsearchDestinationConfiguration) SetTypeName(v string) *Elasticse } // The destination description in Amazon ES. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationDescription type ElasticsearchDestinationDescription struct { _ struct{} `type:"structure"` @@ -1914,7 +1855,7 @@ func (s *ElasticsearchDestinationDescription) SetTypeName(v string) *Elasticsear } // Describes an update for a destination in Amazon ES. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationUpdate type ElasticsearchDestinationUpdate struct { _ struct{} `type:"structure"` @@ -2067,7 +2008,7 @@ func (s *ElasticsearchDestinationUpdate) SetTypeName(v string) *ElasticsearchDes // Configures retry behavior in case Kinesis Firehose is unable to deliver documents // to Amazon ES. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchRetryOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchRetryOptions type ElasticsearchRetryOptions struct { _ struct{} `type:"structure"` @@ -2096,7 +2037,7 @@ func (s *ElasticsearchRetryOptions) SetDurationInSeconds(v int64) *Elasticsearch } // Describes the encryption for a destination in Amazon S3. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/EncryptionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/EncryptionConfiguration type EncryptionConfiguration struct { _ struct{} `type:"structure"` @@ -2146,7 +2087,7 @@ func (s *EncryptionConfiguration) SetNoEncryptionConfig(v string) *EncryptionCon } // Describes the configuration of a destination in Amazon S3. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ExtendedS3DestinationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ExtendedS3DestinationConfiguration type ExtendedS3DestinationConfiguration struct { _ struct{} `type:"structure"` @@ -2303,7 +2244,7 @@ func (s *ExtendedS3DestinationConfiguration) SetS3BackupMode(v string) *Extended } // Describes a destination in Amazon S3. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ExtendedS3DestinationDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ExtendedS3DestinationDescription type ExtendedS3DestinationDescription struct { _ struct{} `type:"structure"` @@ -2424,7 +2365,7 @@ func (s *ExtendedS3DestinationDescription) SetS3BackupMode(v string) *ExtendedS3 } // Describes an update for a destination in Amazon S3. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ExtendedS3DestinationUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ExtendedS3DestinationUpdate type ExtendedS3DestinationUpdate struct { _ struct{} `type:"structure"` @@ -2570,79 +2511,8 @@ func (s *ExtendedS3DestinationUpdate) SetS3BackupUpdate(v *S3DestinationUpdate) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/GetKinesisStreamInput -type GetKinesisStreamInput struct { - _ struct{} `type:"structure"` - - // DeliveryStreamARN is a required field - DeliveryStreamARN *string `min:"1" type:"string" required:"true"` -} - -// String returns the string representation -func (s GetKinesisStreamInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s GetKinesisStreamInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *GetKinesisStreamInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetKinesisStreamInput"} - if s.DeliveryStreamARN == nil { - invalidParams.Add(request.NewErrParamRequired("DeliveryStreamARN")) - } - if s.DeliveryStreamARN != nil && len(*s.DeliveryStreamARN) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DeliveryStreamARN", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetDeliveryStreamARN sets the DeliveryStreamARN field's value. -func (s *GetKinesisStreamInput) SetDeliveryStreamARN(v string) *GetKinesisStreamInput { - s.DeliveryStreamARN = &v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/GetKinesisStreamOutput -type GetKinesisStreamOutput struct { - _ struct{} `type:"structure"` - - CredentialsForReadingKinesisStream *SessionCredentials `type:"structure"` - - KinesisStreamARN *string `min:"1" type:"string"` -} - -// String returns the string representation -func (s GetKinesisStreamOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s GetKinesisStreamOutput) GoString() string { - return s.String() -} - -// SetCredentialsForReadingKinesisStream sets the CredentialsForReadingKinesisStream field's value. -func (s *GetKinesisStreamOutput) SetCredentialsForReadingKinesisStream(v *SessionCredentials) *GetKinesisStreamOutput { - s.CredentialsForReadingKinesisStream = v - return s -} - -// SetKinesisStreamARN sets the KinesisStreamARN field's value. -func (s *GetKinesisStreamOutput) SetKinesisStreamARN(v string) *GetKinesisStreamOutput { - s.KinesisStreamARN = &v - return s -} - // Describes an encryption key for a destination in Amazon S3. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/KMSEncryptionConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/KMSEncryptionConfig type KMSEncryptionConfig struct { _ struct{} `type:"structure"` @@ -2687,7 +2557,7 @@ func (s *KMSEncryptionConfig) SetAWSKMSKeyARN(v string) *KMSEncryptionConfig { // The stream and role ARNs for a Kinesis stream used as the source for a delivery // stream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/KinesisStreamSourceConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/KinesisStreamSourceConfiguration type KinesisStreamSourceConfiguration struct { _ struct{} `type:"structure"` @@ -2748,7 +2618,7 @@ func (s *KinesisStreamSourceConfiguration) SetRoleARN(v string) *KinesisStreamSo // Details about a Kinesis stream used as the source for a Kinesis Firehose // delivery stream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/KinesisStreamSourceDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/KinesisStreamSourceDescription type KinesisStreamSourceDescription struct { _ struct{} `type:"structure"` @@ -2791,7 +2661,7 @@ func (s *KinesisStreamSourceDescription) SetRoleARN(v string) *KinesisStreamSour return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListDeliveryStreamsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListDeliveryStreamsInput type ListDeliveryStreamsInput struct { _ struct{} `type:"structure"` @@ -2809,7 +2679,7 @@ type ListDeliveryStreamsInput struct { // The name of the delivery stream to start the list with. ExclusiveStartDeliveryStreamName *string `min:"1" type:"string"` - // The maximum number of delivery streams to list. + // The maximum number of delivery streams to list. The default value is 10. Limit *int64 `min:"1" type:"integer"` } @@ -2857,7 +2727,7 @@ func (s *ListDeliveryStreamsInput) SetLimit(v int64) *ListDeliveryStreamsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListDeliveryStreamsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListDeliveryStreamsOutput type ListDeliveryStreamsOutput struct { _ struct{} `type:"structure"` @@ -2895,7 +2765,7 @@ func (s *ListDeliveryStreamsOutput) SetHasMoreDeliveryStreams(v bool) *ListDeliv } // Describes a data processing configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ProcessingConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ProcessingConfiguration type ProcessingConfiguration struct { _ struct{} `type:"structure"` @@ -2949,7 +2819,7 @@ func (s *ProcessingConfiguration) SetProcessors(v []*Processor) *ProcessingConfi } // Describes a data processor. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/Processor +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/Processor type Processor struct { _ struct{} `type:"structure"` @@ -3008,7 +2878,7 @@ func (s *Processor) SetType(v string) *Processor { } // Describes the processor parameter. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ProcessorParameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ProcessorParameter type ProcessorParameter struct { _ struct{} `type:"structure"` @@ -3064,7 +2934,7 @@ func (s *ProcessorParameter) SetParameterValue(v string) *ProcessorParameter { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordBatchInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordBatchInput type PutRecordBatchInput struct { _ struct{} `type:"structure"` @@ -3133,7 +3003,7 @@ func (s *PutRecordBatchInput) SetRecords(v []*Record) *PutRecordBatchInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordBatchOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordBatchOutput type PutRecordBatchOutput struct { _ struct{} `type:"structure"` @@ -3175,7 +3045,7 @@ func (s *PutRecordBatchOutput) SetRequestResponses(v []*PutRecordBatchResponseEn // If the record is successfully added to your delivery stream, it receives // a record ID. If the record fails to be added to your delivery stream, the // result includes an error code and an error message. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordBatchResponseEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordBatchResponseEntry type PutRecordBatchResponseEntry struct { _ struct{} `type:"structure"` @@ -3217,7 +3087,7 @@ func (s *PutRecordBatchResponseEntry) SetRecordId(v string) *PutRecordBatchRespo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordInput type PutRecordInput struct { _ struct{} `type:"structure"` @@ -3278,7 +3148,7 @@ func (s *PutRecordInput) SetRecord(v *Record) *PutRecordInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordOutput type PutRecordOutput struct { _ struct{} `type:"structure"` @@ -3305,7 +3175,7 @@ func (s *PutRecordOutput) SetRecordId(v string) *PutRecordOutput { } // The unit of data in a delivery stream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/Record +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/Record type Record struct { _ struct{} `type:"structure"` @@ -3348,7 +3218,7 @@ func (s *Record) SetData(v []byte) *Record { } // Describes the configuration of a destination in Amazon Redshift. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/RedshiftDestinationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/RedshiftDestinationConfiguration type RedshiftDestinationConfiguration struct { _ struct{} `type:"structure"` @@ -3541,7 +3411,7 @@ func (s *RedshiftDestinationConfiguration) SetUsername(v string) *RedshiftDestin } // Describes a destination in Amazon Redshift. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/RedshiftDestinationDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/RedshiftDestinationDescription type RedshiftDestinationDescription struct { _ struct{} `type:"structure"` @@ -3658,7 +3528,7 @@ func (s *RedshiftDestinationDescription) SetUsername(v string) *RedshiftDestinat } // Describes an update for a destination in Amazon Redshift. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/RedshiftDestinationUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/RedshiftDestinationUpdate type RedshiftDestinationUpdate struct { _ struct{} `type:"structure"` @@ -3821,7 +3691,7 @@ func (s *RedshiftDestinationUpdate) SetUsername(v string) *RedshiftDestinationUp // Configures retry behavior in case Kinesis Firehose is unable to deliver documents // to Amazon Redshift. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/RedshiftRetryOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/RedshiftRetryOptions type RedshiftRetryOptions struct { _ struct{} `type:"structure"` @@ -3850,7 +3720,7 @@ func (s *RedshiftRetryOptions) SetDurationInSeconds(v int64) *RedshiftRetryOptio } // Describes the configuration of a destination in Amazon S3. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/S3DestinationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/S3DestinationConfiguration type S3DestinationConfiguration struct { _ struct{} `type:"structure"` @@ -3975,7 +3845,7 @@ func (s *S3DestinationConfiguration) SetRoleARN(v string) *S3DestinationConfigur } // Describes a destination in Amazon S3. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/S3DestinationDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/S3DestinationDescription type S3DestinationDescription struct { _ struct{} `type:"structure"` @@ -4070,7 +3940,7 @@ func (s *S3DestinationDescription) SetRoleARN(v string) *S3DestinationDescriptio } // Describes an update for a destination in Amazon S3. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/S3DestinationUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/S3DestinationUpdate type S3DestinationUpdate struct { _ struct{} `type:"structure"` @@ -4184,84 +4054,449 @@ func (s *S3DestinationUpdate) SetRoleARN(v string) *S3DestinationUpdate { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SessionCredentials -type SessionCredentials struct { +// Details about a Kinesis stream used as the source for a Kinesis Firehose +// delivery stream. +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SourceDescription +type SourceDescription struct { _ struct{} `type:"structure"` - // AccessKeyId is a required field - AccessKeyId *string `type:"string" required:"true"` + // The KinesisStreamSourceDescription value for the source Kinesis stream. + KinesisStreamSourceDescription *KinesisStreamSourceDescription `type:"structure"` +} - // Expiration is a required field - Expiration *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` +// String returns the string representation +func (s SourceDescription) String() string { + return awsutil.Prettify(s) +} - // SecretAccessKey is a required field - SecretAccessKey *string `type:"string" required:"true"` +// GoString returns the string representation +func (s SourceDescription) GoString() string { + return s.String() +} - // SessionToken is a required field - SessionToken *string `type:"string" required:"true"` +// SetKinesisStreamSourceDescription sets the KinesisStreamSourceDescription field's value. +func (s *SourceDescription) SetKinesisStreamSourceDescription(v *KinesisStreamSourceDescription) *SourceDescription { + s.KinesisStreamSourceDescription = v + return s +} + +// Describes the configuration of a destination in Splunk. +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationConfiguration +type SplunkDestinationConfiguration struct { + _ struct{} `type:"structure"` + + // The CloudWatch logging options for your delivery stream. + CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"` + + // The amount of time that Kinesis Firehose waits to receive an acknowledgment + // from Splunk after it sends it data. At the end of the timeout period Kinesis + // Firehose either tries to send the data again or considers it an error, based + // on your retry settings. + HECAcknowledgmentTimeoutInSeconds *int64 `min:"180" type:"integer"` + + // The HTTP Event Collector (HEC) endpoint to which Kinesis Firehose sends your + // data. + // + // HECEndpoint is a required field + HECEndpoint *string `type:"string" required:"true"` + + // This type can be either "Raw" or "Event". + // + // HECEndpointType is a required field + HECEndpointType *string `type:"string" required:"true" enum:"HECEndpointType"` + + // This is a GUID you obtain from your Splunk cluster when you create a new + // HEC endpoint. + // + // HECToken is a required field + HECToken *string `type:"string" required:"true"` + + // The data processing configuration. + ProcessingConfiguration *ProcessingConfiguration `type:"structure"` + + // The retry behavior in case Kinesis Firehose is unable to deliver data to + // Splunk or if it doesn't receive an acknowledgment of receipt from Splunk. + RetryOptions *SplunkRetryOptions `type:"structure"` + + // Defines how documents should be delivered to Amazon S3. When set to FailedDocumentsOnly, + // Kinesis Firehose writes any data that could not be indexed to the configured + // Amazon S3 destination. When set to AllDocuments, Kinesis Firehose delivers + // all incoming records to Amazon S3, and also writes failed documents to Amazon + // S3. Default value is FailedDocumentsOnly. + S3BackupMode *string `type:"string" enum:"SplunkS3BackupMode"` + + // The configuration for the backup Amazon S3 location. + // + // S3Configuration is a required field + S3Configuration *S3DestinationConfiguration `type:"structure" required:"true"` } // String returns the string representation -func (s SessionCredentials) String() string { +func (s SplunkDestinationConfiguration) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SessionCredentials) GoString() string { +func (s SplunkDestinationConfiguration) GoString() string { return s.String() } -// SetAccessKeyId sets the AccessKeyId field's value. -func (s *SessionCredentials) SetAccessKeyId(v string) *SessionCredentials { - s.AccessKeyId = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *SplunkDestinationConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SplunkDestinationConfiguration"} + if s.HECAcknowledgmentTimeoutInSeconds != nil && *s.HECAcknowledgmentTimeoutInSeconds < 180 { + invalidParams.Add(request.NewErrParamMinValue("HECAcknowledgmentTimeoutInSeconds", 180)) + } + if s.HECEndpoint == nil { + invalidParams.Add(request.NewErrParamRequired("HECEndpoint")) + } + if s.HECEndpointType == nil { + invalidParams.Add(request.NewErrParamRequired("HECEndpointType")) + } + if s.HECToken == nil { + invalidParams.Add(request.NewErrParamRequired("HECToken")) + } + if s.S3Configuration == nil { + invalidParams.Add(request.NewErrParamRequired("S3Configuration")) + } + if s.ProcessingConfiguration != nil { + if err := s.ProcessingConfiguration.Validate(); err != nil { + invalidParams.AddNested("ProcessingConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.S3Configuration != nil { + if err := s.S3Configuration.Validate(); err != nil { + invalidParams.AddNested("S3Configuration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. +func (s *SplunkDestinationConfiguration) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *SplunkDestinationConfiguration { + s.CloudWatchLoggingOptions = v return s } -// SetExpiration sets the Expiration field's value. -func (s *SessionCredentials) SetExpiration(v time.Time) *SessionCredentials { - s.Expiration = &v +// SetHECAcknowledgmentTimeoutInSeconds sets the HECAcknowledgmentTimeoutInSeconds field's value. +func (s *SplunkDestinationConfiguration) SetHECAcknowledgmentTimeoutInSeconds(v int64) *SplunkDestinationConfiguration { + s.HECAcknowledgmentTimeoutInSeconds = &v return s } -// SetSecretAccessKey sets the SecretAccessKey field's value. -func (s *SessionCredentials) SetSecretAccessKey(v string) *SessionCredentials { - s.SecretAccessKey = &v +// SetHECEndpoint sets the HECEndpoint field's value. +func (s *SplunkDestinationConfiguration) SetHECEndpoint(v string) *SplunkDestinationConfiguration { + s.HECEndpoint = &v return s } -// SetSessionToken sets the SessionToken field's value. -func (s *SessionCredentials) SetSessionToken(v string) *SessionCredentials { - s.SessionToken = &v +// SetHECEndpointType sets the HECEndpointType field's value. +func (s *SplunkDestinationConfiguration) SetHECEndpointType(v string) *SplunkDestinationConfiguration { + s.HECEndpointType = &v return s } -// Details about a Kinesis stream used as the source for a Kinesis Firehose -// delivery stream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SourceDescription -type SourceDescription struct { +// SetHECToken sets the HECToken field's value. +func (s *SplunkDestinationConfiguration) SetHECToken(v string) *SplunkDestinationConfiguration { + s.HECToken = &v + return s +} + +// SetProcessingConfiguration sets the ProcessingConfiguration field's value. +func (s *SplunkDestinationConfiguration) SetProcessingConfiguration(v *ProcessingConfiguration) *SplunkDestinationConfiguration { + s.ProcessingConfiguration = v + return s +} + +// SetRetryOptions sets the RetryOptions field's value. +func (s *SplunkDestinationConfiguration) SetRetryOptions(v *SplunkRetryOptions) *SplunkDestinationConfiguration { + s.RetryOptions = v + return s +} + +// SetS3BackupMode sets the S3BackupMode field's value. +func (s *SplunkDestinationConfiguration) SetS3BackupMode(v string) *SplunkDestinationConfiguration { + s.S3BackupMode = &v + return s +} + +// SetS3Configuration sets the S3Configuration field's value. +func (s *SplunkDestinationConfiguration) SetS3Configuration(v *S3DestinationConfiguration) *SplunkDestinationConfiguration { + s.S3Configuration = v + return s +} + +// Describes a destination in Splunk. +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationDescription +type SplunkDestinationDescription struct { _ struct{} `type:"structure"` - // The KinesisStreamSourceDescription value for the source Kinesis stream. - KinesisStreamSourceDescription *KinesisStreamSourceDescription `type:"structure"` + // The CloudWatch logging options for your delivery stream. + CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"` + + // The amount of time that Kinesis Firehose waits to receive an acknowledgment + // from Splunk after it sends it data. At the end of the timeout period Kinesis + // Firehose either tries to send the data again or considers it an error, based + // on your retry settings. + HECAcknowledgmentTimeoutInSeconds *int64 `min:"180" type:"integer"` + + // The HTTP Event Collector (HEC) endpoint to which Kinesis Firehose sends your + // data. + HECEndpoint *string `type:"string"` + + // This type can be either "Raw" or "Event". + HECEndpointType *string `type:"string" enum:"HECEndpointType"` + + // This is a GUID you obtain from your Splunk cluster when you create a new + // HEC endpoint. + HECToken *string `type:"string"` + + // The data processing configuration. + ProcessingConfiguration *ProcessingConfiguration `type:"structure"` + + // The retry behavior in case Kinesis Firehose is unable to deliver data to + // Splunk or if it doesn't receive an acknowledgment of receipt from Splunk. + RetryOptions *SplunkRetryOptions `type:"structure"` + + // Defines how documents should be delivered to Amazon S3. When set to FailedDocumentsOnly, + // Kinesis Firehose writes any data that could not be indexed to the configured + // Amazon S3 destination. When set to AllDocuments, Kinesis Firehose delivers + // all incoming records to Amazon S3, and also writes failed documents to Amazon + // S3. Default value is FailedDocumentsOnly. + S3BackupMode *string `type:"string" enum:"SplunkS3BackupMode"` + + // The Amazon S3 destination.> + S3DestinationDescription *S3DestinationDescription `type:"structure"` } // String returns the string representation -func (s SourceDescription) String() string { +func (s SplunkDestinationDescription) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SourceDescription) GoString() string { +func (s SplunkDestinationDescription) GoString() string { return s.String() } -// SetKinesisStreamSourceDescription sets the KinesisStreamSourceDescription field's value. -func (s *SourceDescription) SetKinesisStreamSourceDescription(v *KinesisStreamSourceDescription) *SourceDescription { - s.KinesisStreamSourceDescription = v +// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. +func (s *SplunkDestinationDescription) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *SplunkDestinationDescription { + s.CloudWatchLoggingOptions = v + return s +} + +// SetHECAcknowledgmentTimeoutInSeconds sets the HECAcknowledgmentTimeoutInSeconds field's value. +func (s *SplunkDestinationDescription) SetHECAcknowledgmentTimeoutInSeconds(v int64) *SplunkDestinationDescription { + s.HECAcknowledgmentTimeoutInSeconds = &v + return s +} + +// SetHECEndpoint sets the HECEndpoint field's value. +func (s *SplunkDestinationDescription) SetHECEndpoint(v string) *SplunkDestinationDescription { + s.HECEndpoint = &v + return s +} + +// SetHECEndpointType sets the HECEndpointType field's value. +func (s *SplunkDestinationDescription) SetHECEndpointType(v string) *SplunkDestinationDescription { + s.HECEndpointType = &v + return s +} + +// SetHECToken sets the HECToken field's value. +func (s *SplunkDestinationDescription) SetHECToken(v string) *SplunkDestinationDescription { + s.HECToken = &v + return s +} + +// SetProcessingConfiguration sets the ProcessingConfiguration field's value. +func (s *SplunkDestinationDescription) SetProcessingConfiguration(v *ProcessingConfiguration) *SplunkDestinationDescription { + s.ProcessingConfiguration = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UpdateDestinationInput +// SetRetryOptions sets the RetryOptions field's value. +func (s *SplunkDestinationDescription) SetRetryOptions(v *SplunkRetryOptions) *SplunkDestinationDescription { + s.RetryOptions = v + return s +} + +// SetS3BackupMode sets the S3BackupMode field's value. +func (s *SplunkDestinationDescription) SetS3BackupMode(v string) *SplunkDestinationDescription { + s.S3BackupMode = &v + return s +} + +// SetS3DestinationDescription sets the S3DestinationDescription field's value. +func (s *SplunkDestinationDescription) SetS3DestinationDescription(v *S3DestinationDescription) *SplunkDestinationDescription { + s.S3DestinationDescription = v + return s +} + +// Describes an update for a destination in Splunk. +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationUpdate +type SplunkDestinationUpdate struct { + _ struct{} `type:"structure"` + + // The CloudWatch logging options for your delivery stream. + CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"` + + // The amount of time that Kinesis Firehose waits to receive an acknowledgment + // from Splunk after it sends it data. At the end of the timeout period Kinesis + // Firehose either tries to send the data again or considers it an error, based + // on your retry settings. + HECAcknowledgmentTimeoutInSeconds *int64 `min:"180" type:"integer"` + + // The HTTP Event Collector (HEC) endpoint to which Kinesis Firehose sends your + // data. + HECEndpoint *string `type:"string"` + + // This type can be either "Raw" or "Event". + HECEndpointType *string `type:"string" enum:"HECEndpointType"` + + // This is a GUID you obtain from your Splunk cluster when you create a new + // HEC endpoint. + HECToken *string `type:"string"` + + // The data processing configuration. + ProcessingConfiguration *ProcessingConfiguration `type:"structure"` + + // The retry behavior in case Kinesis Firehose is unable to deliver data to + // Splunk or if it doesn't receive an acknowledgment of receipt from Splunk. + RetryOptions *SplunkRetryOptions `type:"structure"` + + // Defines how documents should be delivered to Amazon S3. When set to FailedDocumentsOnly, + // Kinesis Firehose writes any data that could not be indexed to the configured + // Amazon S3 destination. When set to AllDocuments, Kinesis Firehose delivers + // all incoming records to Amazon S3, and also writes failed documents to Amazon + // S3. Default value is FailedDocumentsOnly. + S3BackupMode *string `type:"string" enum:"SplunkS3BackupMode"` + + // Your update to the configuration of the backup Amazon S3 location. + S3Update *S3DestinationUpdate `type:"structure"` +} + +// String returns the string representation +func (s SplunkDestinationUpdate) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SplunkDestinationUpdate) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SplunkDestinationUpdate) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SplunkDestinationUpdate"} + if s.HECAcknowledgmentTimeoutInSeconds != nil && *s.HECAcknowledgmentTimeoutInSeconds < 180 { + invalidParams.Add(request.NewErrParamMinValue("HECAcknowledgmentTimeoutInSeconds", 180)) + } + if s.ProcessingConfiguration != nil { + if err := s.ProcessingConfiguration.Validate(); err != nil { + invalidParams.AddNested("ProcessingConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.S3Update != nil { + if err := s.S3Update.Validate(); err != nil { + invalidParams.AddNested("S3Update", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. +func (s *SplunkDestinationUpdate) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *SplunkDestinationUpdate { + s.CloudWatchLoggingOptions = v + return s +} + +// SetHECAcknowledgmentTimeoutInSeconds sets the HECAcknowledgmentTimeoutInSeconds field's value. +func (s *SplunkDestinationUpdate) SetHECAcknowledgmentTimeoutInSeconds(v int64) *SplunkDestinationUpdate { + s.HECAcknowledgmentTimeoutInSeconds = &v + return s +} + +// SetHECEndpoint sets the HECEndpoint field's value. +func (s *SplunkDestinationUpdate) SetHECEndpoint(v string) *SplunkDestinationUpdate { + s.HECEndpoint = &v + return s +} + +// SetHECEndpointType sets the HECEndpointType field's value. +func (s *SplunkDestinationUpdate) SetHECEndpointType(v string) *SplunkDestinationUpdate { + s.HECEndpointType = &v + return s +} + +// SetHECToken sets the HECToken field's value. +func (s *SplunkDestinationUpdate) SetHECToken(v string) *SplunkDestinationUpdate { + s.HECToken = &v + return s +} + +// SetProcessingConfiguration sets the ProcessingConfiguration field's value. +func (s *SplunkDestinationUpdate) SetProcessingConfiguration(v *ProcessingConfiguration) *SplunkDestinationUpdate { + s.ProcessingConfiguration = v + return s +} + +// SetRetryOptions sets the RetryOptions field's value. +func (s *SplunkDestinationUpdate) SetRetryOptions(v *SplunkRetryOptions) *SplunkDestinationUpdate { + s.RetryOptions = v + return s +} + +// SetS3BackupMode sets the S3BackupMode field's value. +func (s *SplunkDestinationUpdate) SetS3BackupMode(v string) *SplunkDestinationUpdate { + s.S3BackupMode = &v + return s +} + +// SetS3Update sets the S3Update field's value. +func (s *SplunkDestinationUpdate) SetS3Update(v *S3DestinationUpdate) *SplunkDestinationUpdate { + s.S3Update = v + return s +} + +// Configures retry behavior in case Kinesis Firehose is unable to deliver documents +// to Splunk or if it doesn't receive an acknowledgment from Splunk. +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkRetryOptions +type SplunkRetryOptions struct { + _ struct{} `type:"structure"` + + // The total amount of time that Kinesis Firehose spends on retries. This duration + // starts after the initial attempt to send data to Splunk fails and doesn't + // include the periods during which Kinesis Firehose waits for acknowledgment + // from Splunk after each attempt. + DurationInSeconds *int64 `type:"integer"` +} + +// String returns the string representation +func (s SplunkRetryOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SplunkRetryOptions) GoString() string { + return s.String() +} + +// SetDurationInSeconds sets the DurationInSeconds field's value. +func (s *SplunkRetryOptions) SetDurationInSeconds(v int64) *SplunkRetryOptions { + s.DurationInSeconds = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UpdateDestinationInput type UpdateDestinationInput struct { _ struct{} `type:"structure"` @@ -4296,6 +4531,9 @@ type UpdateDestinationInput struct { // [Deprecated] Describes an update for a destination in Amazon S3. S3DestinationUpdate *S3DestinationUpdate `deprecated:"true" type:"structure"` + + // Describes an update for a destination in Splunk. + SplunkDestinationUpdate *SplunkDestinationUpdate `type:"structure"` } // String returns the string representation @@ -4349,6 +4587,11 @@ func (s *UpdateDestinationInput) Validate() error { invalidParams.AddNested("S3DestinationUpdate", err.(request.ErrInvalidParams)) } } + if s.SplunkDestinationUpdate != nil { + if err := s.SplunkDestinationUpdate.Validate(); err != nil { + invalidParams.AddNested("SplunkDestinationUpdate", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -4398,7 +4641,13 @@ func (s *UpdateDestinationInput) SetS3DestinationUpdate(v *S3DestinationUpdate) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UpdateDestinationOutput +// SetSplunkDestinationUpdate sets the SplunkDestinationUpdate field's value. +func (s *UpdateDestinationInput) SetSplunkDestinationUpdate(v *SplunkDestinationUpdate) *UpdateDestinationInput { + s.SplunkDestinationUpdate = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UpdateDestinationOutput type UpdateDestinationOutput struct { _ struct{} `type:"structure"` } @@ -4471,6 +4720,14 @@ const ( ElasticsearchS3BackupModeAllDocuments = "AllDocuments" ) +const ( + // HECEndpointTypeRaw is a HECEndpointType enum value + HECEndpointTypeRaw = "Raw" + + // HECEndpointTypeEvent is a HECEndpointType enum value + HECEndpointTypeEvent = "Event" +) + const ( // NoEncryptionConfigNoEncryption is a NoEncryptionConfig enum value NoEncryptionConfigNoEncryption = "NoEncryption" @@ -4482,6 +4739,15 @@ const ( // ProcessorParameterNameNumberOfRetries is a ProcessorParameterName enum value ProcessorParameterNameNumberOfRetries = "NumberOfRetries" + + // ProcessorParameterNameRoleArn is a ProcessorParameterName enum value + ProcessorParameterNameRoleArn = "RoleArn" + + // ProcessorParameterNameBufferSizeInMbs is a ProcessorParameterName enum value + ProcessorParameterNameBufferSizeInMbs = "BufferSizeInMBs" + + // ProcessorParameterNameBufferIntervalInSeconds is a ProcessorParameterName enum value + ProcessorParameterNameBufferIntervalInSeconds = "BufferIntervalInSeconds" ) const ( @@ -4504,3 +4770,11 @@ const ( // S3BackupModeEnabled is a S3BackupMode enum value S3BackupModeEnabled = "Enabled" ) + +const ( + // SplunkS3BackupModeFailedEventsOnly is a SplunkS3BackupMode enum value + SplunkS3BackupModeFailedEventsOnly = "FailedEventsOnly" + + // SplunkS3BackupModeAllEvents is a SplunkS3BackupMode enum value + SplunkS3BackupModeAllEvents = "AllEvents" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/firehose/errors.go b/vendor/github.com/aws/aws-sdk-go/service/firehose/errors.go index 741244318e4..7854fccd3ff 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/firehose/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/firehose/errors.go @@ -17,10 +17,6 @@ const ( // The specified input parameter has a value that is not valid. ErrCodeInvalidArgumentException = "InvalidArgumentException" - // ErrCodeInvalidStreamTypeException for service response error code - // "InvalidStreamTypeException". - ErrCodeInvalidStreamTypeException = "InvalidStreamTypeException" - // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // diff --git a/vendor/github.com/aws/aws-sdk-go/service/glacier/api.go b/vendor/github.com/aws/aws-sdk-go/service/glacier/api.go index 29c2872bec2..1d9f40dd700 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/glacier/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/glacier/api.go @@ -3,6 +3,7 @@ package glacier import ( + "fmt" "io" "github.com/aws/aws-sdk-go/aws" @@ -1139,8 +1140,8 @@ func (c *Glacier) DescribeJobRequest(input *DescribeJobInput) (req *request.Requ // For more information, see Access Control Using AWS Identity and Access Management // (IAM) (http://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html). // -// For information about the underlying REST API, see Working with Archives -// in Amazon Glacier (http://docs.aws.amazon.com/amazonglacier/latest/dev/api-describe-job-get.html) +// For more information about using this operation, see the documentation for +// the underlying REST API Describe Job (http://docs.aws.amazon.com/amazonglacier/latest/dev/api-describe-job-get.html) // in the Amazon Glacier Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1845,142 +1846,10 @@ func (c *Glacier) InitiateJobRequest(input *InitiateJobInput) (req *request.Requ // InitiateJob API operation for Amazon Glacier. // -// This operation initiates a job of the specified type. In this release, you -// can initiate a job to retrieve either an archive or a vault inventory (a -// list of archives in a vault). -// -// Retrieving data from Amazon Glacier is a two-step process: -// -// Initiate a retrieval job. -// -// A data retrieval policy can cause your initiate retrieval job request to -// fail with a PolicyEnforcedException exception. For more information about -// data retrieval policies, see Amazon Glacier Data Retrieval Policies (http://docs.aws.amazon.com/amazonglacier/latest/dev/data-retrieval-policy.html). -// For more information about the PolicyEnforcedException exception, see Error -// Responses (http://docs.aws.amazon.com/amazonglacier/latest/dev/api-error-responses.html). -// -// After the job completes, download the bytes. -// -// The retrieval request is executed asynchronously. When you initiate a retrieval -// job, Amazon Glacier creates a job and returns a job ID in the response. When -// Amazon Glacier completes the job, you can get the job output (archive or -// inventory data). For information about getting job output, see GetJobOutput -// operation. -// -// The job must complete before you can get its output. To determine when a -// job is complete, you have the following options: -// -// * Use Amazon SNS Notification You can specify an Amazon Simple Notification -// Service (Amazon SNS) topic to which Amazon Glacier can post a notification -// after the job is completed. You can specify an SNS topic per job request. -// The notification is sent only after Amazon Glacier completes the job. -// In addition to specifying an SNS topic per job request, you can configure -// vault notifications for a vault so that job notifications are always sent. -// For more information, see SetVaultNotifications. -// -// * Get job details You can make a DescribeJob request to obtain job status -// information while a job is in progress. However, it is more efficient -// to use an Amazon SNS notification to determine when a job is complete. -// -// The information you get via notification is same that you get by calling -// DescribeJob. -// -// If for a specific event, you add both the notification configuration on the -// vault and also specify an SNS topic in your initiate job request, Amazon -// Glacier sends both notifications. For more information, see SetVaultNotifications. -// -// An AWS account has full permission to perform all operations (actions). However, -// AWS Identity and Access Management (IAM) users don't have any permissions -// by default. You must grant them explicit permission to perform specific actions. -// For more information, see Access Control Using AWS Identity and Access Management -// (IAM) (http://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html). -// -// About the Vault Inventory -// -// Amazon Glacier prepares an inventory for each vault periodically, every 24 -// hours. When you initiate a job for a vault inventory, Amazon Glacier returns -// the last inventory for the vault. The inventory data you get might be up -// to a day or two days old. Also, the initiate inventory job might take some -// time to complete before you can download the vault inventory. So you do not -// want to retrieve a vault inventory for each vault operation. However, in -// some scenarios, you might find the vault inventory useful. For example, when -// you upload an archive, you can provide an archive description but not an -// archive name. Amazon Glacier provides you a unique archive ID, an opaque -// string of characters. So, you might maintain your own database that maps -// archive names to their corresponding Amazon Glacier assigned archive IDs. -// You might find the vault inventory useful in the event you need to reconcile -// information in your database with the actual vault inventory. -// -// Range Inventory Retrieval -// -// You can limit the number of inventory items retrieved by filtering on the -// archive creation date or by setting a limit. -// -// Filtering by Archive Creation Date -// -// You can retrieve inventory items for archives created between StartDate and -// EndDate by specifying values for these parameters in the InitiateJob request. -// Archives created on or after the StartDate and before the EndDate will be -// returned. If you only provide the StartDate without the EndDate, you will -// retrieve the inventory for all archives created on or after the StartDate. -// If you only provide the EndDate without the StartDate, you will get back -// the inventory for all archives created before the EndDate. -// -// Limiting Inventory Items per Retrieval -// -// You can limit the number of inventory items returned by setting the Limit -// parameter in the InitiateJob request. The inventory job output will contain -// inventory items up to the specified Limit. If there are more inventory items -// available, the result is paginated. After a job is complete you can use the -// DescribeJob operation to get a marker that you use in a subsequent InitiateJob -// request. The marker will indicate the starting point to retrieve the next -// set of inventory items. You can page through your entire inventory by repeatedly -// making InitiateJob requests with the marker from the previous DescribeJob -// output, until you get a marker from DescribeJob that returns null, indicating -// that there are no more inventory items available. -// -// You can use the Limit parameter together with the date range parameters. -// -// About Ranged Archive Retrieval -// -// You can initiate an archive retrieval for the whole archive or a range of -// the archive. In the case of ranged archive retrieval, you specify a byte -// range to return or the whole archive. The range specified must be megabyte -// (MB) aligned, that is the range start value must be divisible by 1 MB and -// range end value plus 1 must be divisible by 1 MB or equal the end of the -// archive. If the ranged archive retrieval is not megabyte aligned, this operation -// returns a 400 response. Furthermore, to ensure you get checksum values for -// data you download using Get Job Output API, the range must be tree hash aligned. -// -// An AWS account has full permission to perform all operations (actions). However, -// AWS Identity and Access Management (IAM) users don't have any permissions -// by default. You must grant them explicit permission to perform specific actions. -// For more information, see Access Control Using AWS Identity and Access Management -// (IAM) (http://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html). -// -// For conceptual information and the underlying REST API, see Initiate a Job -// (http://docs.aws.amazon.com/amazonglacier/latest/dev/api-initiate-job-post.html) -// and Downloading a Vault Inventory (http://docs.aws.amazon.com/amazonglacier/latest/dev/vault-inventory.html) -// -// Expedited and Bulk Archive Retrievals -// -// When retrieving an archive, you can specify one of the following options -// in the Tier field of the request body: -// -// * Standard The default type of retrieval, which allows access to any of -// your archives within several hours. Standard retrievals typically complete -// within 3–5 hours. -// -// * Bulk Amazon Glacier’s lowest-cost retrieval option, which enables you -// to retrieve large amounts of data inexpensively in a day. Bulk retrieval -// requests typically complete within 5–12 hours. -// -// * Expedited Amazon Glacier’s option for the fastest retrievals. Archives -// requested using the expedited retrievals typically become accessible within -// 1–5 minutes. -// -// For more information about expedited and bulk retrievals, see Retrieving -// Amazon Glacier Archives (http://docs.aws.amazon.com/amazonglacier/latest/dev/downloading-an-archive-two-steps.html). +// This operation initiates a job of the specified type, which can be a select, +// an archival retrieval, or a vault retrieval. For more information about using +// this operation, see the documentation for the underlying REST API Initiate +// a Job (http://docs.aws.amazon.com/amazonglacier/latest/dev/api-initiate-job-post.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2316,7 +2185,8 @@ func (c *Glacier) ListJobsRequest(input *ListJobsInput) (req *request.Request, o // ListJobs API operation for Amazon Glacier. // // This operation lists jobs for a vault, including jobs that are in-progress -// and jobs that have recently finished. +// and jobs that have recently finished. The List Job operation returns a list +// of these jobs sorted by job initiation time. // // Amazon Glacier retains recently completed jobs for a period before deleting // them; however, it eventually removes completed jobs. The output of completed @@ -2328,12 +2198,6 @@ func (c *Glacier) ListJobsRequest(input *ListJobsInput) (req *request.Request, o // a network error. In this scenario, you can retry and download the archive // while the job exists. // -// To retrieve an archive or retrieve a vault inventory from Amazon Glacier, -// you first initiate a job, and after the job completes, you download the data. -// For an archive retrieval, the output is the archive data. For an inventory -// retrieval, it is the inventory list. The List Job operation returns a list -// of these jobs sorted by job initiation time. -// // The List Jobs operation supports pagination. You should always check the // response Marker field. If there are no more jobs to list, the Marker field // is set to null. If there are more jobs to list, the Marker field is set to @@ -2354,7 +2218,8 @@ func (c *Glacier) ListJobsRequest(input *ListJobsInput) (req *request.Request, o // to return only jobs that were completed (true) or jobs that were not completed // (false). // -// For the underlying REST API, see List Jobs (http://docs.aws.amazon.com/amazonglacier/latest/dev/api-jobs-get.html). +// For more information about using this operation, see the documentation for +// the underlying REST API List Jobs (http://docs.aws.amazon.com/amazonglacier/latest/dev/api-jobs-get.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2826,7 +2691,8 @@ func (c *Glacier) ListProvisionedCapacityRequest(input *ListProvisionedCapacityI // ListProvisionedCapacity API operation for Amazon Glacier. // -// This operation lists the provisioned capacity for the specified AWS account. +// This operation lists the provisioned capacity units for the specified AWS +// account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4143,6 +4009,143 @@ func (s *ArchiveCreationOutput) SetLocation(v string) *ArchiveCreationOutput { return s } +// Contains information about the comma-separated value (CSV) file to select +// from. +type CSVInput struct { + _ struct{} `type:"structure"` + + // A single character used to indicate that a row should be ignored when the + // character is present at the start of that row. + Comments *string `type:"string"` + + // A value used to separate individual fields from each other within a record. + FieldDelimiter *string `type:"string"` + + // Describes the first line of input. Valid values are None, Ignore, and Use. + FileHeaderInfo *string `type:"string" enum:"FileHeaderInfo"` + + // A value used as an escape character where the field delimiter is part of + // the value. + QuoteCharacter *string `type:"string"` + + // A single character used for escaping the quotation-mark character inside + // an already escaped value. + QuoteEscapeCharacter *string `type:"string"` + + // A value used to separate individual records from each other. + RecordDelimiter *string `type:"string"` +} + +// String returns the string representation +func (s CSVInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CSVInput) GoString() string { + return s.String() +} + +// SetComments sets the Comments field's value. +func (s *CSVInput) SetComments(v string) *CSVInput { + s.Comments = &v + return s +} + +// SetFieldDelimiter sets the FieldDelimiter field's value. +func (s *CSVInput) SetFieldDelimiter(v string) *CSVInput { + s.FieldDelimiter = &v + return s +} + +// SetFileHeaderInfo sets the FileHeaderInfo field's value. +func (s *CSVInput) SetFileHeaderInfo(v string) *CSVInput { + s.FileHeaderInfo = &v + return s +} + +// SetQuoteCharacter sets the QuoteCharacter field's value. +func (s *CSVInput) SetQuoteCharacter(v string) *CSVInput { + s.QuoteCharacter = &v + return s +} + +// SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value. +func (s *CSVInput) SetQuoteEscapeCharacter(v string) *CSVInput { + s.QuoteEscapeCharacter = &v + return s +} + +// SetRecordDelimiter sets the RecordDelimiter field's value. +func (s *CSVInput) SetRecordDelimiter(v string) *CSVInput { + s.RecordDelimiter = &v + return s +} + +// Contains information about the comma-separated value (CSV) file that the +// job results are stored in. +type CSVOutput struct { + _ struct{} `type:"structure"` + + // A value used to separate individual fields from each other within a record. + FieldDelimiter *string `type:"string"` + + // A value used as an escape character where the field delimiter is part of + // the value. + QuoteCharacter *string `type:"string"` + + // A single character used for escaping the quotation-mark character inside + // an already escaped value. + QuoteEscapeCharacter *string `type:"string"` + + // A value that indicates whether all output fields should be contained within + // quotation marks. + QuoteFields *string `type:"string" enum:"QuoteFields"` + + // A value used to separate individual records from each other. + RecordDelimiter *string `type:"string"` +} + +// String returns the string representation +func (s CSVOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CSVOutput) GoString() string { + return s.String() +} + +// SetFieldDelimiter sets the FieldDelimiter field's value. +func (s *CSVOutput) SetFieldDelimiter(v string) *CSVOutput { + s.FieldDelimiter = &v + return s +} + +// SetQuoteCharacter sets the QuoteCharacter field's value. +func (s *CSVOutput) SetQuoteCharacter(v string) *CSVOutput { + s.QuoteCharacter = &v + return s +} + +// SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value. +func (s *CSVOutput) SetQuoteEscapeCharacter(v string) *CSVOutput { + s.QuoteEscapeCharacter = &v + return s +} + +// SetQuoteFields sets the QuoteFields field's value. +func (s *CSVOutput) SetQuoteFields(v string) *CSVOutput { + s.QuoteFields = &v + return s +} + +// SetRecordDelimiter sets the RecordDelimiter field's value. +func (s *CSVOutput) SetRecordDelimiter(v string) *CSVOutput { + s.RecordDelimiter = &v + return s +} + // Provides options to complete a multipart upload operation. This informs Amazon // Glacier that all the archive parts have been uploaded and Amazon Glacier // can now assemble the archive from the uploaded parts. After assembling and @@ -4975,6 +4978,53 @@ func (s *DescribeVaultOutput) SetVaultName(v string) *DescribeVaultOutput { return s } +// Contains information about the encryption used to store the job results in +// Amazon S3. +type Encryption struct { + _ struct{} `type:"structure"` + + // The server-side encryption algorithm used when storing job results in Amazon + // S3, for example AES256 or aws:kms. + EncryptionType *string `type:"string" enum:"EncryptionType"` + + // Optional. If the encryption type is aws:kms, you can use this value to specify + // the encryption context for the restore results. + KMSContext *string `type:"string"` + + // The AWS KMS key ID to use for object encryption. All GET and PUT requests + // for an object protected by AWS KMS fail if not made by using Secure Sockets + // Layer (SSL) or Signature Version 4. + KMSKeyId *string `type:"string"` +} + +// String returns the string representation +func (s Encryption) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Encryption) GoString() string { + return s.String() +} + +// SetEncryptionType sets the EncryptionType field's value. +func (s *Encryption) SetEncryptionType(v string) *Encryption { + s.EncryptionType = &v + return s +} + +// SetKMSContext sets the KMSContext field's value. +func (s *Encryption) SetKMSContext(v string) *Encryption { + s.KMSContext = &v + return s +} + +// SetKMSKeyId sets the KMSKeyId field's value. +func (s *Encryption) SetKMSKeyId(v string) *Encryption { + s.KMSKeyId = &v + return s +} + // Input for GetDataRetrievalPolicy. type GetDataRetrievalPolicyInput struct { _ struct{} `type:"structure"` @@ -5524,6 +5574,129 @@ func (s *GetVaultNotificationsOutput) SetVaultNotificationConfig(v *VaultNotific return s } +// Contains information about a grant. +type Grant struct { + _ struct{} `type:"structure"` + + // The grantee. + Grantee *Grantee `type:"structure"` + + // Specifies the permission given to the grantee. + Permission *string `type:"string" enum:"Permission"` +} + +// String returns the string representation +func (s Grant) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Grant) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Grant) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Grant"} + if s.Grantee != nil { + if err := s.Grantee.Validate(); err != nil { + invalidParams.AddNested("Grantee", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetGrantee sets the Grantee field's value. +func (s *Grant) SetGrantee(v *Grantee) *Grant { + s.Grantee = v + return s +} + +// SetPermission sets the Permission field's value. +func (s *Grant) SetPermission(v string) *Grant { + s.Permission = &v + return s +} + +// Contains information about the grantee. +type Grantee struct { + _ struct{} `type:"structure"` + + // Screen name of the grantee. + DisplayName *string `type:"string"` + + // Email address of the grantee. + EmailAddress *string `type:"string"` + + // The canonical user ID of the grantee. + ID *string `type:"string"` + + // Type of grantee + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"Type"` + + // URI of the grantee group. + URI *string `type:"string"` +} + +// String returns the string representation +func (s Grantee) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Grantee) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Grantee) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Grantee"} + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayName sets the DisplayName field's value. +func (s *Grantee) SetDisplayName(v string) *Grantee { + s.DisplayName = &v + return s +} + +// SetEmailAddress sets the EmailAddress field's value. +func (s *Grantee) SetEmailAddress(v string) *Grantee { + s.EmailAddress = &v + return s +} + +// SetID sets the ID field's value. +func (s *Grantee) SetID(v string) *Grantee { + s.ID = &v + return s +} + +// SetType sets the Type field's value. +func (s *Grantee) SetType(v string) *Grantee { + s.Type = &v + return s +} + +// SetURI sets the URI field's value. +func (s *Grantee) SetURI(v string) *Grantee { + s.URI = &v + return s +} + // Provides options for initiating an Amazon Glacier job. type InitiateJobInput struct { _ struct{} `type:"structure" payload:"JobParameters"` @@ -5565,6 +5738,11 @@ func (s *InitiateJobInput) Validate() error { if s.VaultName == nil { invalidParams.Add(request.NewErrParamRequired("VaultName")) } + if s.JobParameters != nil { + if err := s.JobParameters.Validate(); err != nil { + invalidParams.AddNested("JobParameters", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -5597,6 +5775,9 @@ type InitiateJobOutput struct { // The ID of the job. JobId *string `location:"header" locationName:"x-amz-job-id" type:"string"` + // The path to the location of where the select results are stored. + JobOutputPath *string `location:"header" locationName:"x-amz-job-output-path" type:"string"` + // The relative URI path of the job. Location *string `location:"header" locationName:"Location" type:"string"` } @@ -5617,6 +5798,12 @@ func (s *InitiateJobOutput) SetJobId(v string) *InitiateJobOutput { return s } +// SetJobOutputPath sets the JobOutputPath field's value. +func (s *InitiateJobOutput) SetJobOutputPath(v string) *InitiateJobOutput { + s.JobOutputPath = &v + return s +} + // SetLocation sets the Location field's value. func (s *InitiateJobOutput) SetLocation(v string) *InitiateJobOutput { s.Location = &v @@ -5829,6 +6016,30 @@ func (s *InitiateVaultLockOutput) SetLockId(v string) *InitiateVaultLockOutput { return s } +// Describes how the archive is serialized. +type InputSerialization struct { + _ struct{} `type:"structure"` + + // Describes the serialization of a CSV-encoded object. + Csv *CSVInput `locationName:"csv" type:"structure"` +} + +// String returns the string representation +func (s InputSerialization) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputSerialization) GoString() string { + return s.String() +} + +// SetCsv sets the Csv field's value. +func (s *InputSerialization) SetCsv(v *CSVInput) *InputSerialization { + s.Csv = v + return s +} + // Describes the options for a range inventory retrieval job. type InventoryRetrievalJobDescription struct { _ struct{} `type:"structure"` @@ -5960,78 +6171,94 @@ func (s *InventoryRetrievalJobInput) SetStartDate(v string) *InventoryRetrievalJ return s } -// Describes an Amazon Glacier job. +// Contains the description of an Amazon Glacier job. type JobDescription struct { _ struct{} `type:"structure"` - // The job type. It is either ArchiveRetrieval or InventoryRetrieval. + // The job type. This value is either ArchiveRetrieval, InventoryRetrieval, + // or Select. Action *string `type:"string" enum:"ActionCode"` - // For an ArchiveRetrieval job, this is the archive ID requested for download. - // Otherwise, this field is null. + // The archive ID requested for a select job or archive retrieval. Otherwise, + // this field is null. ArchiveId *string `type:"string"` // The SHA256 tree hash of the entire archive for an archive retrieval. For - // inventory retrieval jobs, this field is null. + // inventory retrieval or select jobs, this field is null. ArchiveSHA256TreeHash *string `type:"string"` - // For an ArchiveRetrieval job, this is the size in bytes of the archive being - // requested for download. For the InventoryRetrieval job, the value is null. + // For an archive retrieval job, this value is the size in bytes of the archive + // being requested for download. For an inventory retrieval or select job, this + // value is null. ArchiveSizeInBytes *int64 `type:"long"` - // The job status. When a job is completed, you get the job's output. + // The job status. When a job is completed, you get the job's output using Get + // Job Output (GET output). Completed *bool `type:"boolean"` - // The UTC time that the archive retrieval request completed. While the job - // is in progress, the value will be null. + // The UTC time that the job request completed. While the job is in progress, + // the value is null. CompletionDate *string `type:"string"` - // The UTC date when the job was created. A string representation of ISO 8601 - // date format, for example, "2012-03-20T17:03:43.221Z". + // The UTC date when the job was created. This value is a string representation + // of ISO 8601 date format, for example "2012-03-20T17:03:43.221Z". CreationDate *string `type:"string"` // Parameters used for range inventory retrieval. InventoryRetrievalParameters *InventoryRetrievalJobDescription `type:"structure"` - // For an InventoryRetrieval job, this is the size in bytes of the inventory - // requested for download. For the ArchiveRetrieval job, the value is null. + // For an inventory retrieval job, this value is the size in bytes of the inventory + // requested for download. For an archive retrieval or select job, this value + // is null. InventorySizeInBytes *int64 `type:"long"` - // The job description you provided when you initiated the job. + // The job description provided when initiating the job. JobDescription *string `type:"string"` // An opaque string that identifies an Amazon Glacier job. JobId *string `type:"string"` - // The retrieved byte range for archive retrieval jobs in the form "StartByteValue-EndByteValue" + // Contains the job output location. + JobOutputPath *string `type:"string"` + + // Contains the location where the data from the select job is stored. + OutputLocation *OutputLocation `type:"structure"` + + // The retrieved byte range for archive retrieval jobs in the form StartByteValue-EndByteValue. // If no range was specified in the archive retrieval, then the whole archive - // is retrieved and StartByteValue equals 0 and EndByteValue equals the size - // of the archive minus 1. For inventory retrieval jobs this field is null. + // is retrieved. In this case, StartByteValue equals 0 and EndByteValue equals + // the size of the archive minus 1. For inventory retrieval or select jobs, + // this field is null. RetrievalByteRange *string `type:"string"` - // For an ArchiveRetrieval job, it is the checksum of the archive. Otherwise, - // the value is null. + // For an archive retrieval job, this value is the checksum of the archive. + // Otherwise, this value is null. // // The SHA256 tree hash value for the requested range of an archive. If the - // Initiate a Job request for an archive specified a tree-hash aligned range, - // then this field returns a value. + // InitiateJob request for an archive specified a tree-hash aligned range, then + // this field returns a value. // - // For the specific case when the whole archive is retrieved, this value is - // the same as the ArchiveSHA256TreeHash value. + // If the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash + // value. // - // This field is null in the following situations: + // This field is null for the following: // - // * Archive retrieval jobs that specify a range that is not tree-hash aligned. + // * Archive retrieval jobs that specify a range that is not tree-hash aligned // - // * Archival jobs that specify a range that is equal to the whole archive - // and the job status is InProgress. + // * Archival jobs that specify a range that is equal to the whole archive, + // when the job status is InProgress // - // * Inventory jobs. + // * Inventory jobs + // + // * Select jobs SHA256TreeHash *string `type:"string"` - // An Amazon Simple Notification Service (Amazon SNS) topic that receives notification. + // An Amazon SNS topic that receives notification. SNSTopic *string `type:"string"` + // Contains the parameters that define a select job. + SelectParameters *SelectParameters `type:"structure"` + // The status code can be InProgress, Succeeded, or Failed, and indicates the // status of the job. StatusCode *string `type:"string" enum:"StatusCode"` @@ -6043,7 +6270,7 @@ type JobDescription struct { // Standard, or Bulk. Standard is the default. Tier *string `type:"string"` - // The Amazon Resource Name (ARN) of the vault from which the archive retrieval + // The Amazon Resource Name (ARN) of the vault from which an archive retrieval // was requested. VaultARN *string `type:"string"` } @@ -6124,6 +6351,18 @@ func (s *JobDescription) SetJobId(v string) *JobDescription { return s } +// SetJobOutputPath sets the JobOutputPath field's value. +func (s *JobDescription) SetJobOutputPath(v string) *JobDescription { + s.JobOutputPath = &v + return s +} + +// SetOutputLocation sets the OutputLocation field's value. +func (s *JobDescription) SetOutputLocation(v *OutputLocation) *JobDescription { + s.OutputLocation = v + return s +} + // SetRetrievalByteRange sets the RetrievalByteRange field's value. func (s *JobDescription) SetRetrievalByteRange(v string) *JobDescription { s.RetrievalByteRange = &v @@ -6142,6 +6381,12 @@ func (s *JobDescription) SetSNSTopic(v string) *JobDescription { return s } +// SetSelectParameters sets the SelectParameters field's value. +func (s *JobDescription) SetSelectParameters(v *SelectParameters) *JobDescription { + s.SelectParameters = v + return s +} + // SetStatusCode sets the StatusCode field's value. func (s *JobDescription) SetStatusCode(v string) *JobDescription { s.StatusCode = &v @@ -6171,8 +6416,8 @@ type JobParameters struct { _ struct{} `type:"structure"` // The ID of the archive that you want to retrieve. This field is required only - // if Type is set to archive-retrieval. An error occurs if you specify this - // request parameter for an inventory retrieval job request. + // if Type is set to select or archive-retrievalcode>. An error occurs if you + // specify this request parameter for an inventory retrieval job request. ArchiveId *string `type:"string"` // The optional description for the job. The description must be less than or @@ -6189,6 +6434,10 @@ type JobParameters struct { // Input parameters used for range inventory retrieval. InventoryRetrievalParameters *InventoryRetrievalJobInput `type:"structure"` + // Contains information about the location where the select job results are + // stored. + OutputLocation *OutputLocation `type:"structure"` + // The byte range to retrieve for an archive retrieval. in the form "StartByteValue-EndByteValue" // If not specified, the whole archive is retrieved. If specified, the byte // range must be megabyte (1024*1024) aligned which means that StartByteValue @@ -6206,12 +6455,16 @@ type JobParameters struct { // topic publishes the notification to its subscribers. The SNS topic must exist. SNSTopic *string `type:"string"` - // The retrieval option to use for the archive retrieval. Valid values are Expedited, - // Standard, or Bulk. Standard is the default. + // Contains the parameters that define a job. + SelectParameters *SelectParameters `type:"structure"` + + // The retrieval option to use for a select or archive retrieval job. Valid + // values are Expedited, Standard, or Bulk. Standard is the default. Tier *string `type:"string"` - // The job type. You can initiate a job to retrieve an archive or get an inventory - // of a vault. Valid values are "archive-retrieval" and "inventory-retrieval". + // The job type. You can initiate a job to perform a select query on an archive, + // retrieve an archive, or get an inventory of a vault. Valid values are "select", + // "archive-retrieval" and "inventory-retrieval". Type *string `type:"string"` } @@ -6225,6 +6478,21 @@ func (s JobParameters) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *JobParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "JobParameters"} + if s.OutputLocation != nil { + if err := s.OutputLocation.Validate(); err != nil { + invalidParams.AddNested("OutputLocation", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetArchiveId sets the ArchiveId field's value. func (s *JobParameters) SetArchiveId(v string) *JobParameters { s.ArchiveId = &v @@ -6249,6 +6517,12 @@ func (s *JobParameters) SetInventoryRetrievalParameters(v *InventoryRetrievalJob return s } +// SetOutputLocation sets the OutputLocation field's value. +func (s *JobParameters) SetOutputLocation(v *OutputLocation) *JobParameters { + s.OutputLocation = v + return s +} + // SetRetrievalByteRange sets the RetrievalByteRange field's value. func (s *JobParameters) SetRetrievalByteRange(v string) *JobParameters { s.RetrievalByteRange = &v @@ -6261,6 +6535,12 @@ func (s *JobParameters) SetSNSTopic(v string) *JobParameters { return s } +// SetSelectParameters sets the SelectParameters field's value. +func (s *JobParameters) SetSelectParameters(v *SelectParameters) *JobParameters { + s.SelectParameters = v + return s +} + // SetTier sets the Tier field's value. func (s *JobParameters) SetTier(v string) *JobParameters { s.Tier = &v @@ -6707,11 +6987,11 @@ func (s *ListPartsOutput) SetVaultARN(v string) *ListPartsOutput { type ListProvisionedCapacityInput struct { _ struct{} `type:"structure"` - // The AccountId value is the AWS account ID of the account that owns the vault. - // You can either specify an AWS account ID or optionally a single '-' (hyphen), - // in which case Amazon Glacier uses the AWS account ID associated with the - // credentials used to sign the request. If you use an account ID, don't include - // any hyphens ('-') in the ID. + // The AWS account ID of the account that owns the vault. You can either specify + // an AWS account ID or optionally a single '-' (hyphen), in which case Amazon + // Glacier uses the AWS account ID associated with the credentials used to sign + // the request. If you use an account ID, don't include any hyphens ('-') in + // the ID. // // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` @@ -6950,6 +7230,70 @@ func (s *ListVaultsOutput) SetVaultList(v []*DescribeVaultOutput) *ListVaultsOut return s } +// Contains information about the location where the select job results are +// stored. +type OutputLocation struct { + _ struct{} `type:"structure"` + + // Describes an S3 location that will receive the results of the restore request. + S3 *S3Location `type:"structure"` +} + +// String returns the string representation +func (s OutputLocation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputLocation) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *OutputLocation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "OutputLocation"} + if s.S3 != nil { + if err := s.S3.Validate(); err != nil { + invalidParams.AddNested("S3", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetS3 sets the S3 field's value. +func (s *OutputLocation) SetS3(v *S3Location) *OutputLocation { + s.S3 = v + return s +} + +// Describes how the select output is serialized. +type OutputSerialization struct { + _ struct{} `type:"structure"` + + // Describes the serialization of CSV-encoded query results. + Csv *CSVOutput `locationName:"csv" type:"structure"` +} + +// String returns the string representation +func (s OutputSerialization) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputSerialization) GoString() string { + return s.String() +} + +// SetCsv sets the Csv field's value. +func (s *OutputSerialization) SetCsv(v *CSVOutput) *OutputSerialization { + s.Csv = v + return s +} + // A list of the part sizes of the multipart upload. type PartListElement struct { _ struct{} `type:"structure"` @@ -7173,6 +7517,166 @@ func (s RemoveTagsFromVaultOutput) GoString() string { return s.String() } +// Contains information about the location in Amazon S3 where the select job +// results are stored. +type S3Location struct { + _ struct{} `type:"structure"` + + // A list of grants that control access to the staged results. + AccessControlList []*Grant `type:"list"` + + // The name of the bucket where the restore results are stored. + BucketName *string `type:"string"` + + // The canned ACL to apply to the restore results. + CannedACL *string `type:"string" enum:"CannedACL"` + + // Contains information about the encryption used to store the job results in + // Amazon S3. + Encryption *Encryption `type:"structure"` + + // The prefix that is prepended to the restore results for this request. + Prefix *string `type:"string"` + + // The storage class used to store the restore results. + StorageClass *string `type:"string" enum:"StorageClass"` + + // The tag-set that is applied to the restore results. + Tagging map[string]*string `type:"map"` + + // A map of metadata to store with the restore results in Amazon S3. + UserMetadata map[string]*string `type:"map"` +} + +// String returns the string representation +func (s S3Location) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s S3Location) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *S3Location) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3Location"} + if s.AccessControlList != nil { + for i, v := range s.AccessControlList { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AccessControlList", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccessControlList sets the AccessControlList field's value. +func (s *S3Location) SetAccessControlList(v []*Grant) *S3Location { + s.AccessControlList = v + return s +} + +// SetBucketName sets the BucketName field's value. +func (s *S3Location) SetBucketName(v string) *S3Location { + s.BucketName = &v + return s +} + +// SetCannedACL sets the CannedACL field's value. +func (s *S3Location) SetCannedACL(v string) *S3Location { + s.CannedACL = &v + return s +} + +// SetEncryption sets the Encryption field's value. +func (s *S3Location) SetEncryption(v *Encryption) *S3Location { + s.Encryption = v + return s +} + +// SetPrefix sets the Prefix field's value. +func (s *S3Location) SetPrefix(v string) *S3Location { + s.Prefix = &v + return s +} + +// SetStorageClass sets the StorageClass field's value. +func (s *S3Location) SetStorageClass(v string) *S3Location { + s.StorageClass = &v + return s +} + +// SetTagging sets the Tagging field's value. +func (s *S3Location) SetTagging(v map[string]*string) *S3Location { + s.Tagging = v + return s +} + +// SetUserMetadata sets the UserMetadata field's value. +func (s *S3Location) SetUserMetadata(v map[string]*string) *S3Location { + s.UserMetadata = v + return s +} + +// Contains information about the parameters used for a select. +type SelectParameters struct { + _ struct{} `type:"structure"` + + // The expression that is used to select the object. + Expression *string `type:"string"` + + // The type of the provided expression, for example SQL. + ExpressionType *string `type:"string" enum:"ExpressionType"` + + // Describes the serialization format of the object. + InputSerialization *InputSerialization `type:"structure"` + + // Describes how the results of the select job are serialized. + OutputSerialization *OutputSerialization `type:"structure"` +} + +// String returns the string representation +func (s SelectParameters) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SelectParameters) GoString() string { + return s.String() +} + +// SetExpression sets the Expression field's value. +func (s *SelectParameters) SetExpression(v string) *SelectParameters { + s.Expression = &v + return s +} + +// SetExpressionType sets the ExpressionType field's value. +func (s *SelectParameters) SetExpressionType(v string) *SelectParameters { + s.ExpressionType = &v + return s +} + +// SetInputSerialization sets the InputSerialization field's value. +func (s *SelectParameters) SetInputSerialization(v *InputSerialization) *SelectParameters { + s.InputSerialization = v + return s +} + +// SetOutputSerialization sets the OutputSerialization field's value. +func (s *SelectParameters) SetOutputSerialization(v *OutputSerialization) *SelectParameters { + s.OutputSerialization = v + return s +} + // SetDataRetrievalPolicy input. type SetDataRetrievalPolicyInput struct { _ struct{} `type:"structure"` @@ -7762,6 +8266,81 @@ const ( // ActionCodeInventoryRetrieval is a ActionCode enum value ActionCodeInventoryRetrieval = "InventoryRetrieval" + + // ActionCodeSelect is a ActionCode enum value + ActionCodeSelect = "Select" +) + +const ( + // CannedACLPrivate is a CannedACL enum value + CannedACLPrivate = "private" + + // CannedACLPublicRead is a CannedACL enum value + CannedACLPublicRead = "public-read" + + // CannedACLPublicReadWrite is a CannedACL enum value + CannedACLPublicReadWrite = "public-read-write" + + // CannedACLAwsExecRead is a CannedACL enum value + CannedACLAwsExecRead = "aws-exec-read" + + // CannedACLAuthenticatedRead is a CannedACL enum value + CannedACLAuthenticatedRead = "authenticated-read" + + // CannedACLBucketOwnerRead is a CannedACL enum value + CannedACLBucketOwnerRead = "bucket-owner-read" + + // CannedACLBucketOwnerFullControl is a CannedACL enum value + CannedACLBucketOwnerFullControl = "bucket-owner-full-control" +) + +const ( + // EncryptionTypeAwsKms is a EncryptionType enum value + EncryptionTypeAwsKms = "aws:kms" + + // EncryptionTypeAes256 is a EncryptionType enum value + EncryptionTypeAes256 = "AES256" +) + +const ( + // ExpressionTypeSql is a ExpressionType enum value + ExpressionTypeSql = "SQL" +) + +const ( + // FileHeaderInfoUse is a FileHeaderInfo enum value + FileHeaderInfoUse = "USE" + + // FileHeaderInfoIgnore is a FileHeaderInfo enum value + FileHeaderInfoIgnore = "IGNORE" + + // FileHeaderInfoNone is a FileHeaderInfo enum value + FileHeaderInfoNone = "NONE" +) + +const ( + // PermissionFullControl is a Permission enum value + PermissionFullControl = "FULL_CONTROL" + + // PermissionWrite is a Permission enum value + PermissionWrite = "WRITE" + + // PermissionWriteAcp is a Permission enum value + PermissionWriteAcp = "WRITE_ACP" + + // PermissionRead is a Permission enum value + PermissionRead = "READ" + + // PermissionReadAcp is a Permission enum value + PermissionReadAcp = "READ_ACP" +) + +const ( + // QuoteFieldsAlways is a QuoteFields enum value + QuoteFieldsAlways = "ALWAYS" + + // QuoteFieldsAsneeded is a QuoteFields enum value + QuoteFieldsAsneeded = "ASNEEDED" ) const ( @@ -7774,3 +8353,25 @@ const ( // StatusCodeFailed is a StatusCode enum value StatusCodeFailed = "Failed" ) + +const ( + // StorageClassStandard is a StorageClass enum value + StorageClassStandard = "STANDARD" + + // StorageClassReducedRedundancy is a StorageClass enum value + StorageClassReducedRedundancy = "REDUCED_REDUNDANCY" + + // StorageClassStandardIa is a StorageClass enum value + StorageClassStandardIa = "STANDARD_IA" +) + +const ( + // TypeAmazonCustomerByEmail is a Type enum value + TypeAmazonCustomerByEmail = "AmazonCustomerByEmail" + + // TypeCanonicalUser is a Type enum value + TypeCanonicalUser = "CanonicalUser" + + // TypeGroup is a Type enum value + TypeGroup = "Group" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/glue/api.go b/vendor/github.com/aws/aws-sdk-go/service/glue/api.go index b80a6486a81..8caea4d59e3 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/glue/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/glue/api.go @@ -36,7 +36,7 @@ const opBatchCreatePartition = "BatchCreatePartition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchCreatePartition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchCreatePartition func (c *Glue) BatchCreatePartitionRequest(input *BatchCreatePartitionInput) (req *request.Request, output *BatchCreatePartitionOutput) { op := &request.Operation{ Name: opBatchCreatePartition, @@ -83,7 +83,7 @@ func (c *Glue) BatchCreatePartitionRequest(input *BatchCreatePartitionInput) (re // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchCreatePartition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchCreatePartition func (c *Glue) BatchCreatePartition(input *BatchCreatePartitionInput) (*BatchCreatePartitionOutput, error) { req, out := c.BatchCreatePartitionRequest(input) return out, req.Send() @@ -130,7 +130,7 @@ const opBatchDeleteConnection = "BatchDeleteConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteConnection func (c *Glue) BatchDeleteConnectionRequest(input *BatchDeleteConnectionInput) (req *request.Request, output *BatchDeleteConnectionOutput) { op := &request.Operation{ Name: opBatchDeleteConnection, @@ -165,7 +165,7 @@ func (c *Glue) BatchDeleteConnectionRequest(input *BatchDeleteConnectionInput) ( // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteConnection func (c *Glue) BatchDeleteConnection(input *BatchDeleteConnectionInput) (*BatchDeleteConnectionOutput, error) { req, out := c.BatchDeleteConnectionRequest(input) return out, req.Send() @@ -212,7 +212,7 @@ const opBatchDeletePartition = "BatchDeletePartition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeletePartition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeletePartition func (c *Glue) BatchDeletePartitionRequest(input *BatchDeletePartitionInput) (req *request.Request, output *BatchDeletePartitionOutput) { op := &request.Operation{ Name: opBatchDeletePartition, @@ -253,7 +253,7 @@ func (c *Glue) BatchDeletePartitionRequest(input *BatchDeletePartitionInput) (re // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeletePartition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeletePartition func (c *Glue) BatchDeletePartition(input *BatchDeletePartitionInput) (*BatchDeletePartitionOutput, error) { req, out := c.BatchDeletePartitionRequest(input) return out, req.Send() @@ -300,7 +300,7 @@ const opBatchDeleteTable = "BatchDeleteTable" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTable func (c *Glue) BatchDeleteTableRequest(input *BatchDeleteTableInput) (req *request.Request, output *BatchDeleteTableOutput) { op := &request.Operation{ Name: opBatchDeleteTable, @@ -341,7 +341,7 @@ func (c *Glue) BatchDeleteTableRequest(input *BatchDeleteTableInput) (req *reque // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTable func (c *Glue) BatchDeleteTable(input *BatchDeleteTableInput) (*BatchDeleteTableOutput, error) { req, out := c.BatchDeleteTableRequest(input) return out, req.Send() @@ -388,7 +388,7 @@ const opBatchGetPartition = "BatchGetPartition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartition func (c *Glue) BatchGetPartitionRequest(input *BatchGetPartitionInput) (req *request.Request, output *BatchGetPartitionOutput) { op := &request.Operation{ Name: opBatchGetPartition, @@ -429,7 +429,7 @@ func (c *Glue) BatchGetPartitionRequest(input *BatchGetPartitionInput) (req *req // * ErrCodeInternalServiceException "InternalServiceException" // An internal service error occurred. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartition func (c *Glue) BatchGetPartition(input *BatchGetPartitionInput) (*BatchGetPartitionOutput, error) { req, out := c.BatchGetPartitionRequest(input) return out, req.Send() @@ -476,7 +476,7 @@ const opBatchStopJobRun = "BatchStopJobRun" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRun func (c *Glue) BatchStopJobRunRequest(input *BatchStopJobRunInput) (req *request.Request, output *BatchStopJobRunOutput) { op := &request.Operation{ Name: opBatchStopJobRun, @@ -514,7 +514,7 @@ func (c *Glue) BatchStopJobRunRequest(input *BatchStopJobRunInput) (req *request // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRun func (c *Glue) BatchStopJobRun(input *BatchStopJobRunInput) (*BatchStopJobRunOutput, error) { req, out := c.BatchStopJobRunRequest(input) return out, req.Send() @@ -561,7 +561,7 @@ const opCreateClassifier = "CreateClassifier" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier func (c *Glue) CreateClassifierRequest(input *CreateClassifierInput) (req *request.Request, output *CreateClassifierOutput) { op := &request.Operation{ Name: opCreateClassifier, @@ -580,7 +580,8 @@ func (c *Glue) CreateClassifierRequest(input *CreateClassifierInput) (req *reque // CreateClassifier API operation for AWS Glue. // -// Creates a Classifier in the user's account. +// Creates a classifier in the user's account. This may be either a GrokClassifier +// or an XMLClassifier. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -599,7 +600,7 @@ func (c *Glue) CreateClassifierRequest(input *CreateClassifierInput) (req *reque // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier func (c *Glue) CreateClassifier(input *CreateClassifierInput) (*CreateClassifierOutput, error) { req, out := c.CreateClassifierRequest(input) return out, req.Send() @@ -646,7 +647,7 @@ const opCreateConnection = "CreateConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnection func (c *Glue) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *CreateConnectionOutput) { op := &request.Operation{ Name: opCreateConnection, @@ -684,7 +685,7 @@ func (c *Glue) CreateConnectionRequest(input *CreateConnectionInput) (req *reque // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnection func (c *Glue) CreateConnection(input *CreateConnectionInput) (*CreateConnectionOutput, error) { req, out := c.CreateConnectionRequest(input) return out, req.Send() @@ -731,7 +732,7 @@ const opCreateCrawler = "CreateCrawler" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawler +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawler func (c *Glue) CreateCrawlerRequest(input *CreateCrawlerInput) (req *request.Request, output *CreateCrawlerOutput) { op := &request.Operation{ Name: opCreateCrawler, @@ -750,7 +751,7 @@ func (c *Glue) CreateCrawlerRequest(input *CreateCrawlerInput) (req *request.Req // CreateCrawler API operation for AWS Glue. // -// Creates a new Crawler with specified targets, role, configuration, and optional +// Creates a new crawler with specified targets, role, configuration, and optional // schedule. At least one crawl target must be specified, in either the s3Targets // or the jdbcTargets field. // @@ -774,7 +775,7 @@ func (c *Glue) CreateCrawlerRequest(input *CreateCrawlerInput) (req *request.Req // * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException" // A resource numerical limit was exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawler +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawler func (c *Glue) CreateCrawler(input *CreateCrawlerInput) (*CreateCrawlerOutput, error) { req, out := c.CreateCrawlerRequest(input) return out, req.Send() @@ -821,7 +822,7 @@ const opCreateDatabase = "CreateDatabase" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabase +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabase func (c *Glue) CreateDatabaseRequest(input *CreateDatabaseInput) (req *request.Request, output *CreateDatabaseOutput) { op := &request.Operation{ Name: opCreateDatabase, @@ -865,7 +866,7 @@ func (c *Glue) CreateDatabaseRequest(input *CreateDatabaseInput) (req *request.R // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabase +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabase func (c *Glue) CreateDatabase(input *CreateDatabaseInput) (*CreateDatabaseOutput, error) { req, out := c.CreateDatabaseRequest(input) return out, req.Send() @@ -912,7 +913,7 @@ const opCreateDevEndpoint = "CreateDevEndpoint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpoint func (c *Glue) CreateDevEndpointRequest(input *CreateDevEndpointInput) (req *request.Request, output *CreateDevEndpointOutput) { op := &request.Operation{ Name: opCreateDevEndpoint, @@ -965,7 +966,7 @@ func (c *Glue) CreateDevEndpointRequest(input *CreateDevEndpointInput) (req *req // * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException" // A resource numerical limit was exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpoint func (c *Glue) CreateDevEndpoint(input *CreateDevEndpointInput) (*CreateDevEndpointOutput, error) { req, out := c.CreateDevEndpointRequest(input) return out, req.Send() @@ -1012,7 +1013,7 @@ const opCreateJob = "CreateJob" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJob func (c *Glue) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput) { op := &request.Operation{ Name: opCreateJob, @@ -1059,7 +1060,7 @@ func (c *Glue) CreateJobRequest(input *CreateJobInput) (req *request.Request, ou // * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException" // A resource numerical limit was exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJob func (c *Glue) CreateJob(input *CreateJobInput) (*CreateJobOutput, error) { req, out := c.CreateJobRequest(input) return out, req.Send() @@ -1106,7 +1107,7 @@ const opCreatePartition = "CreatePartition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartition func (c *Glue) CreatePartitionRequest(input *CreatePartitionInput) (req *request.Request, output *CreatePartitionOutput) { op := &request.Operation{ Name: opCreatePartition, @@ -1153,7 +1154,7 @@ func (c *Glue) CreatePartitionRequest(input *CreatePartitionInput) (req *request // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartition func (c *Glue) CreatePartition(input *CreatePartitionInput) (*CreatePartitionOutput, error) { req, out := c.CreatePartitionRequest(input) return out, req.Send() @@ -1200,7 +1201,7 @@ const opCreateScript = "CreateScript" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScript +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScript func (c *Glue) CreateScriptRequest(input *CreateScriptInput) (req *request.Request, output *CreateScriptOutput) { op := &request.Operation{ Name: opCreateScript, @@ -1238,7 +1239,7 @@ func (c *Glue) CreateScriptRequest(input *CreateScriptInput) (req *request.Reque // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScript +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScript func (c *Glue) CreateScript(input *CreateScriptInput) (*CreateScriptOutput, error) { req, out := c.CreateScriptRequest(input) return out, req.Send() @@ -1285,7 +1286,7 @@ const opCreateTable = "CreateTable" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable func (c *Glue) CreateTableRequest(input *CreateTableInput) (req *request.Request, output *CreateTableOutput) { op := &request.Operation{ Name: opCreateTable, @@ -1332,7 +1333,7 @@ func (c *Glue) CreateTableRequest(input *CreateTableInput) (req *request.Request // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable func (c *Glue) CreateTable(input *CreateTableInput) (*CreateTableOutput, error) { req, out := c.CreateTableRequest(input) return out, req.Send() @@ -1379,7 +1380,7 @@ const opCreateTrigger = "CreateTrigger" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTrigger func (c *Glue) CreateTriggerRequest(input *CreateTriggerInput) (req *request.Request, output *CreateTriggerOutput) { op := &request.Operation{ Name: opCreateTrigger, @@ -1423,7 +1424,7 @@ func (c *Glue) CreateTriggerRequest(input *CreateTriggerInput) (req *request.Req // * ErrCodeResourceNumberLimitExceededException "ResourceNumberLimitExceededException" // A resource numerical limit was exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTrigger func (c *Glue) CreateTrigger(input *CreateTriggerInput) (*CreateTriggerOutput, error) { req, out := c.CreateTriggerRequest(input) return out, req.Send() @@ -1470,7 +1471,7 @@ const opCreateUserDefinedFunction = "CreateUserDefinedFunction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunction func (c *Glue) CreateUserDefinedFunctionRequest(input *CreateUserDefinedFunctionInput) (req *request.Request, output *CreateUserDefinedFunctionOutput) { op := &request.Operation{ Name: opCreateUserDefinedFunction, @@ -1514,7 +1515,7 @@ func (c *Glue) CreateUserDefinedFunctionRequest(input *CreateUserDefinedFunction // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunction func (c *Glue) CreateUserDefinedFunction(input *CreateUserDefinedFunctionInput) (*CreateUserDefinedFunctionOutput, error) { req, out := c.CreateUserDefinedFunctionRequest(input) return out, req.Send() @@ -1561,7 +1562,7 @@ const opDeleteClassifier = "DeleteClassifier" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifier func (c *Glue) DeleteClassifierRequest(input *DeleteClassifierInput) (req *request.Request, output *DeleteClassifierOutput) { op := &request.Operation{ Name: opDeleteClassifier, @@ -1580,7 +1581,7 @@ func (c *Glue) DeleteClassifierRequest(input *DeleteClassifierInput) (req *reque // DeleteClassifier API operation for AWS Glue. // -// Removes a Classifier from the metadata store. +// Removes a classifier from the Data Catalog. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1596,7 +1597,7 @@ func (c *Glue) DeleteClassifierRequest(input *DeleteClassifierInput) (req *reque // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifier func (c *Glue) DeleteClassifier(input *DeleteClassifierInput) (*DeleteClassifierOutput, error) { req, out := c.DeleteClassifierRequest(input) return out, req.Send() @@ -1643,7 +1644,7 @@ const opDeleteConnection = "DeleteConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnection func (c *Glue) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput) { op := &request.Operation{ Name: opDeleteConnection, @@ -1678,7 +1679,7 @@ func (c *Glue) DeleteConnectionRequest(input *DeleteConnectionInput) (req *reque // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnection func (c *Glue) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error) { req, out := c.DeleteConnectionRequest(input) return out, req.Send() @@ -1725,7 +1726,7 @@ const opDeleteCrawler = "DeleteCrawler" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawler +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawler func (c *Glue) DeleteCrawlerRequest(input *DeleteCrawlerInput) (req *request.Request, output *DeleteCrawlerOutput) { op := &request.Operation{ Name: opDeleteCrawler, @@ -1744,7 +1745,7 @@ func (c *Glue) DeleteCrawlerRequest(input *DeleteCrawlerInput) (req *request.Req // DeleteCrawler API operation for AWS Glue. // -// Removes a specified Crawler from the metadata store, unless the Crawler state +// Removes a specified crawler from the Data Catalog, unless the crawler state // is RUNNING. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1767,7 +1768,7 @@ func (c *Glue) DeleteCrawlerRequest(input *DeleteCrawlerInput) (req *request.Req // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawler +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawler func (c *Glue) DeleteCrawler(input *DeleteCrawlerInput) (*DeleteCrawlerOutput, error) { req, out := c.DeleteCrawlerRequest(input) return out, req.Send() @@ -1814,7 +1815,7 @@ const opDeleteDatabase = "DeleteDatabase" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabase +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabase func (c *Glue) DeleteDatabaseRequest(input *DeleteDatabaseInput) (req *request.Request, output *DeleteDatabaseOutput) { op := &request.Operation{ Name: opDeleteDatabase, @@ -1855,7 +1856,7 @@ func (c *Glue) DeleteDatabaseRequest(input *DeleteDatabaseInput) (req *request.R // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabase +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabase func (c *Glue) DeleteDatabase(input *DeleteDatabaseInput) (*DeleteDatabaseOutput, error) { req, out := c.DeleteDatabaseRequest(input) return out, req.Send() @@ -1902,7 +1903,7 @@ const opDeleteDevEndpoint = "DeleteDevEndpoint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpoint func (c *Glue) DeleteDevEndpointRequest(input *DeleteDevEndpointInput) (req *request.Request, output *DeleteDevEndpointOutput) { op := &request.Operation{ Name: opDeleteDevEndpoint, @@ -1943,7 +1944,7 @@ func (c *Glue) DeleteDevEndpointRequest(input *DeleteDevEndpointInput) (req *req // * ErrCodeInvalidInputException "InvalidInputException" // The input provided was not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpoint func (c *Glue) DeleteDevEndpoint(input *DeleteDevEndpointInput) (*DeleteDevEndpointOutput, error) { req, out := c.DeleteDevEndpointRequest(input) return out, req.Send() @@ -1990,7 +1991,7 @@ const opDeleteJob = "DeleteJob" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJob func (c *Glue) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, output *DeleteJobOutput) { op := &request.Operation{ Name: opDeleteJob, @@ -2028,7 +2029,7 @@ func (c *Glue) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, ou // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJob func (c *Glue) DeleteJob(input *DeleteJobInput) (*DeleteJobOutput, error) { req, out := c.DeleteJobRequest(input) return out, req.Send() @@ -2075,7 +2076,7 @@ const opDeletePartition = "DeletePartition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartition func (c *Glue) DeletePartitionRequest(input *DeletePartitionInput) (req *request.Request, output *DeletePartitionOutput) { op := &request.Operation{ Name: opDeletePartition, @@ -2116,7 +2117,7 @@ func (c *Glue) DeletePartitionRequest(input *DeletePartitionInput) (req *request // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartition func (c *Glue) DeletePartition(input *DeletePartitionInput) (*DeletePartitionOutput, error) { req, out := c.DeletePartitionRequest(input) return out, req.Send() @@ -2163,7 +2164,7 @@ const opDeleteTable = "DeleteTable" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable func (c *Glue) DeleteTableRequest(input *DeleteTableInput) (req *request.Request, output *DeleteTableOutput) { op := &request.Operation{ Name: opDeleteTable, @@ -2204,7 +2205,7 @@ func (c *Glue) DeleteTableRequest(input *DeleteTableInput) (req *request.Request // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable func (c *Glue) DeleteTable(input *DeleteTableInput) (*DeleteTableOutput, error) { req, out := c.DeleteTableRequest(input) return out, req.Send() @@ -2251,7 +2252,7 @@ const opDeleteTrigger = "DeleteTrigger" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTrigger func (c *Glue) DeleteTriggerRequest(input *DeleteTriggerInput) (req *request.Request, output *DeleteTriggerOutput) { op := &request.Operation{ Name: opDeleteTrigger, @@ -2289,7 +2290,7 @@ func (c *Glue) DeleteTriggerRequest(input *DeleteTriggerInput) (req *request.Req // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTrigger func (c *Glue) DeleteTrigger(input *DeleteTriggerInput) (*DeleteTriggerOutput, error) { req, out := c.DeleteTriggerRequest(input) return out, req.Send() @@ -2336,7 +2337,7 @@ const opDeleteUserDefinedFunction = "DeleteUserDefinedFunction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunction func (c *Glue) DeleteUserDefinedFunctionRequest(input *DeleteUserDefinedFunctionInput) (req *request.Request, output *DeleteUserDefinedFunctionOutput) { op := &request.Operation{ Name: opDeleteUserDefinedFunction, @@ -2377,7 +2378,7 @@ func (c *Glue) DeleteUserDefinedFunctionRequest(input *DeleteUserDefinedFunction // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunction func (c *Glue) DeleteUserDefinedFunction(input *DeleteUserDefinedFunctionInput) (*DeleteUserDefinedFunctionOutput, error) { req, out := c.DeleteUserDefinedFunctionRequest(input) return out, req.Send() @@ -2424,7 +2425,7 @@ const opGetCatalogImportStatus = "GetCatalogImportStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatus func (c *Glue) GetCatalogImportStatusRequest(input *GetCatalogImportStatusInput) (req *request.Request, output *GetCatalogImportStatusOutput) { op := &request.Operation{ Name: opGetCatalogImportStatus, @@ -2459,7 +2460,7 @@ func (c *Glue) GetCatalogImportStatusRequest(input *GetCatalogImportStatusInput) // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatus func (c *Glue) GetCatalogImportStatus(input *GetCatalogImportStatusInput) (*GetCatalogImportStatusOutput, error) { req, out := c.GetCatalogImportStatusRequest(input) return out, req.Send() @@ -2506,7 +2507,7 @@ const opGetClassifier = "GetClassifier" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier func (c *Glue) GetClassifierRequest(input *GetClassifierInput) (req *request.Request, output *GetClassifierOutput) { op := &request.Operation{ Name: opGetClassifier, @@ -2525,7 +2526,7 @@ func (c *Glue) GetClassifierRequest(input *GetClassifierInput) (req *request.Req // GetClassifier API operation for AWS Glue. // -// Retrieve a Classifier by name. +// Retrieve a classifier by name. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2541,7 +2542,7 @@ func (c *Glue) GetClassifierRequest(input *GetClassifierInput) (req *request.Req // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier func (c *Glue) GetClassifier(input *GetClassifierInput) (*GetClassifierOutput, error) { req, out := c.GetClassifierRequest(input) return out, req.Send() @@ -2588,7 +2589,7 @@ const opGetClassifiers = "GetClassifiers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers func (c *Glue) GetClassifiersRequest(input *GetClassifiersInput) (req *request.Request, output *GetClassifiersOutput) { op := &request.Operation{ Name: opGetClassifiers, @@ -2613,7 +2614,7 @@ func (c *Glue) GetClassifiersRequest(input *GetClassifiersInput) (req *request.R // GetClassifiers API operation for AWS Glue. // -// Lists all Classifier objects in the metadata store. +// Lists all classifier objects in the Data Catalog. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2626,7 +2627,7 @@ func (c *Glue) GetClassifiersRequest(input *GetClassifiersInput) (req *request.R // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers func (c *Glue) GetClassifiers(input *GetClassifiersInput) (*GetClassifiersOutput, error) { req, out := c.GetClassifiersRequest(input) return out, req.Send() @@ -2723,7 +2724,7 @@ const opGetConnection = "GetConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnection func (c *Glue) GetConnectionRequest(input *GetConnectionInput) (req *request.Request, output *GetConnectionOutput) { op := &request.Operation{ Name: opGetConnection, @@ -2758,7 +2759,7 @@ func (c *Glue) GetConnectionRequest(input *GetConnectionInput) (req *request.Req // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnection func (c *Glue) GetConnection(input *GetConnectionInput) (*GetConnectionOutput, error) { req, out := c.GetConnectionRequest(input) return out, req.Send() @@ -2805,7 +2806,7 @@ const opGetConnections = "GetConnections" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnections +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnections func (c *Glue) GetConnectionsRequest(input *GetConnectionsInput) (req *request.Request, output *GetConnectionsOutput) { op := &request.Operation{ Name: opGetConnections, @@ -2846,7 +2847,7 @@ func (c *Glue) GetConnectionsRequest(input *GetConnectionsInput) (req *request.R // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnections +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnections func (c *Glue) GetConnections(input *GetConnectionsInput) (*GetConnectionsOutput, error) { req, out := c.GetConnectionsRequest(input) return out, req.Send() @@ -2943,7 +2944,7 @@ const opGetCrawler = "GetCrawler" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler func (c *Glue) GetCrawlerRequest(input *GetCrawlerInput) (req *request.Request, output *GetCrawlerOutput) { op := &request.Operation{ Name: opGetCrawler, @@ -2962,7 +2963,7 @@ func (c *Glue) GetCrawlerRequest(input *GetCrawlerInput) (req *request.Request, // GetCrawler API operation for AWS Glue. // -// Retrieves metadata for a specified Crawler. +// Retrieves metadata for a specified crawler. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2978,7 +2979,7 @@ func (c *Glue) GetCrawlerRequest(input *GetCrawlerInput) (req *request.Request, // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler func (c *Glue) GetCrawler(input *GetCrawlerInput) (*GetCrawlerOutput, error) { req, out := c.GetCrawlerRequest(input) return out, req.Send() @@ -3025,7 +3026,7 @@ const opGetCrawlerMetrics = "GetCrawlerMetrics" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics func (c *Glue) GetCrawlerMetricsRequest(input *GetCrawlerMetricsInput) (req *request.Request, output *GetCrawlerMetricsOutput) { op := &request.Operation{ Name: opGetCrawlerMetrics, @@ -3063,7 +3064,7 @@ func (c *Glue) GetCrawlerMetricsRequest(input *GetCrawlerMetricsInput) (req *req // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics func (c *Glue) GetCrawlerMetrics(input *GetCrawlerMetricsInput) (*GetCrawlerMetricsOutput, error) { req, out := c.GetCrawlerMetricsRequest(input) return out, req.Send() @@ -3160,7 +3161,7 @@ const opGetCrawlers = "GetCrawlers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers func (c *Glue) GetCrawlersRequest(input *GetCrawlersInput) (req *request.Request, output *GetCrawlersOutput) { op := &request.Operation{ Name: opGetCrawlers, @@ -3185,7 +3186,7 @@ func (c *Glue) GetCrawlersRequest(input *GetCrawlersInput) (req *request.Request // GetCrawlers API operation for AWS Glue. // -// Retrieves metadata for all Crawlers defined in the customer account. +// Retrieves metadata for all crawlers defined in the customer account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3198,7 +3199,7 @@ func (c *Glue) GetCrawlersRequest(input *GetCrawlersInput) (req *request.Request // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers func (c *Glue) GetCrawlers(input *GetCrawlersInput) (*GetCrawlersOutput, error) { req, out := c.GetCrawlersRequest(input) return out, req.Send() @@ -3295,7 +3296,7 @@ const opGetDatabase = "GetDatabase" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase func (c *Glue) GetDatabaseRequest(input *GetDatabaseInput) (req *request.Request, output *GetDatabaseOutput) { op := &request.Operation{ Name: opGetDatabase, @@ -3336,7 +3337,7 @@ func (c *Glue) GetDatabaseRequest(input *GetDatabaseInput) (req *request.Request // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase func (c *Glue) GetDatabase(input *GetDatabaseInput) (*GetDatabaseOutput, error) { req, out := c.GetDatabaseRequest(input) return out, req.Send() @@ -3383,7 +3384,7 @@ const opGetDatabases = "GetDatabases" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases func (c *Glue) GetDatabasesRequest(input *GetDatabasesInput) (req *request.Request, output *GetDatabasesOutput) { op := &request.Operation{ Name: opGetDatabases, @@ -3427,7 +3428,7 @@ func (c *Glue) GetDatabasesRequest(input *GetDatabasesInput) (req *request.Reque // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases func (c *Glue) GetDatabases(input *GetDatabasesInput) (*GetDatabasesOutput, error) { req, out := c.GetDatabasesRequest(input) return out, req.Send() @@ -3524,7 +3525,7 @@ const opGetDataflowGraph = "GetDataflowGraph" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraph +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraph func (c *Glue) GetDataflowGraphRequest(input *GetDataflowGraphInput) (req *request.Request, output *GetDataflowGraphOutput) { op := &request.Operation{ Name: opGetDataflowGraph, @@ -3562,7 +3563,7 @@ func (c *Glue) GetDataflowGraphRequest(input *GetDataflowGraphInput) (req *reque // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraph +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraph func (c *Glue) GetDataflowGraph(input *GetDataflowGraphInput) (*GetDataflowGraphOutput, error) { req, out := c.GetDataflowGraphRequest(input) return out, req.Send() @@ -3609,7 +3610,7 @@ const opGetDevEndpoint = "GetDevEndpoint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint func (c *Glue) GetDevEndpointRequest(input *GetDevEndpointInput) (req *request.Request, output *GetDevEndpointOutput) { op := &request.Operation{ Name: opGetDevEndpoint, @@ -3650,7 +3651,7 @@ func (c *Glue) GetDevEndpointRequest(input *GetDevEndpointInput) (req *request.R // * ErrCodeInvalidInputException "InvalidInputException" // The input provided was not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint func (c *Glue) GetDevEndpoint(input *GetDevEndpointInput) (*GetDevEndpointOutput, error) { req, out := c.GetDevEndpointRequest(input) return out, req.Send() @@ -3697,7 +3698,7 @@ const opGetDevEndpoints = "GetDevEndpoints" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints func (c *Glue) GetDevEndpointsRequest(input *GetDevEndpointsInput) (req *request.Request, output *GetDevEndpointsOutput) { op := &request.Operation{ Name: opGetDevEndpoints, @@ -3744,7 +3745,7 @@ func (c *Glue) GetDevEndpointsRequest(input *GetDevEndpointsInput) (req *request // * ErrCodeInvalidInputException "InvalidInputException" // The input provided was not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints func (c *Glue) GetDevEndpoints(input *GetDevEndpointsInput) (*GetDevEndpointsOutput, error) { req, out := c.GetDevEndpointsRequest(input) return out, req.Send() @@ -3841,7 +3842,7 @@ const opGetJob = "GetJob" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob func (c *Glue) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput) { op := &request.Operation{ Name: opGetJob, @@ -3882,7 +3883,7 @@ func (c *Glue) GetJobRequest(input *GetJobInput) (req *request.Request, output * // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob func (c *Glue) GetJob(input *GetJobInput) (*GetJobOutput, error) { req, out := c.GetJobRequest(input) return out, req.Send() @@ -3929,7 +3930,7 @@ const opGetJobRun = "GetJobRun" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun func (c *Glue) GetJobRunRequest(input *GetJobRunInput) (req *request.Request, output *GetJobRunOutput) { op := &request.Operation{ Name: opGetJobRun, @@ -3970,7 +3971,7 @@ func (c *Glue) GetJobRunRequest(input *GetJobRunInput) (req *request.Request, ou // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun func (c *Glue) GetJobRun(input *GetJobRunInput) (*GetJobRunOutput, error) { req, out := c.GetJobRunRequest(input) return out, req.Send() @@ -4017,7 +4018,7 @@ const opGetJobRuns = "GetJobRuns" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns func (c *Glue) GetJobRunsRequest(input *GetJobRunsInput) (req *request.Request, output *GetJobRunsOutput) { op := &request.Operation{ Name: opGetJobRuns, @@ -4064,7 +4065,7 @@ func (c *Glue) GetJobRunsRequest(input *GetJobRunsInput) (req *request.Request, // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns func (c *Glue) GetJobRuns(input *GetJobRunsInput) (*GetJobRunsOutput, error) { req, out := c.GetJobRunsRequest(input) return out, req.Send() @@ -4161,7 +4162,7 @@ const opGetJobs = "GetJobs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs func (c *Glue) GetJobsRequest(input *GetJobsInput) (req *request.Request, output *GetJobsOutput) { op := &request.Operation{ Name: opGetJobs, @@ -4208,7 +4209,7 @@ func (c *Glue) GetJobsRequest(input *GetJobsInput) (req *request.Request, output // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs func (c *Glue) GetJobs(input *GetJobsInput) (*GetJobsOutput, error) { req, out := c.GetJobsRequest(input) return out, req.Send() @@ -4305,7 +4306,7 @@ const opGetMapping = "GetMapping" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMapping func (c *Glue) GetMappingRequest(input *GetMappingInput) (req *request.Request, output *GetMappingOutput) { op := &request.Operation{ Name: opGetMapping, @@ -4343,7 +4344,10 @@ func (c *Glue) GetMappingRequest(input *GetMappingInput) (req *request.Request, // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMapping +// * ErrCodeEntityNotFoundException "EntityNotFoundException" +// A specified entity does not exist +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMapping func (c *Glue) GetMapping(input *GetMappingInput) (*GetMappingOutput, error) { req, out := c.GetMappingRequest(input) return out, req.Send() @@ -4390,7 +4394,7 @@ const opGetPartition = "GetPartition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition func (c *Glue) GetPartitionRequest(input *GetPartitionInput) (req *request.Request, output *GetPartitionOutput) { op := &request.Operation{ Name: opGetPartition, @@ -4431,7 +4435,7 @@ func (c *Glue) GetPartitionRequest(input *GetPartitionInput) (req *request.Reque // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition func (c *Glue) GetPartition(input *GetPartitionInput) (*GetPartitionOutput, error) { req, out := c.GetPartitionRequest(input) return out, req.Send() @@ -4478,7 +4482,7 @@ const opGetPartitions = "GetPartitions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions func (c *Glue) GetPartitionsRequest(input *GetPartitionsInput) (req *request.Request, output *GetPartitionsOutput) { op := &request.Operation{ Name: opGetPartitions, @@ -4525,7 +4529,7 @@ func (c *Glue) GetPartitionsRequest(input *GetPartitionsInput) (req *request.Req // * ErrCodeInternalServiceException "InternalServiceException" // An internal service error occurred. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions func (c *Glue) GetPartitions(input *GetPartitionsInput) (*GetPartitionsOutput, error) { req, out := c.GetPartitionsRequest(input) return out, req.Send() @@ -4622,7 +4626,7 @@ const opGetPlan = "GetPlan" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlan +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlan func (c *Glue) GetPlanRequest(input *GetPlanInput) (req *request.Request, output *GetPlanOutput) { op := &request.Operation{ Name: opGetPlan, @@ -4660,7 +4664,7 @@ func (c *Glue) GetPlanRequest(input *GetPlanInput) (req *request.Request, output // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlan +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlan func (c *Glue) GetPlan(input *GetPlanInput) (*GetPlanOutput, error) { req, out := c.GetPlanRequest(input) return out, req.Send() @@ -4707,7 +4711,7 @@ const opGetTable = "GetTable" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable func (c *Glue) GetTableRequest(input *GetTableInput) (req *request.Request, output *GetTableOutput) { op := &request.Operation{ Name: opGetTable, @@ -4748,7 +4752,7 @@ func (c *Glue) GetTableRequest(input *GetTableInput) (req *request.Request, outp // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable func (c *Glue) GetTable(input *GetTableInput) (*GetTableOutput, error) { req, out := c.GetTableRequest(input) return out, req.Send() @@ -4795,7 +4799,7 @@ const opGetTableVersions = "GetTableVersions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions func (c *Glue) GetTableVersionsRequest(input *GetTableVersionsInput) (req *request.Request, output *GetTableVersionsOutput) { op := &request.Operation{ Name: opGetTableVersions, @@ -4843,7 +4847,7 @@ func (c *Glue) GetTableVersionsRequest(input *GetTableVersionsInput) (req *reque // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions func (c *Glue) GetTableVersions(input *GetTableVersionsInput) (*GetTableVersionsOutput, error) { req, out := c.GetTableVersionsRequest(input) return out, req.Send() @@ -4940,7 +4944,7 @@ const opGetTables = "GetTables" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables func (c *Glue) GetTablesRequest(input *GetTablesInput) (req *request.Request, output *GetTablesOutput) { op := &request.Operation{ Name: opGetTables, @@ -4987,7 +4991,7 @@ func (c *Glue) GetTablesRequest(input *GetTablesInput) (req *request.Request, ou // * ErrCodeInternalServiceException "InternalServiceException" // An internal service error occurred. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables func (c *Glue) GetTables(input *GetTablesInput) (*GetTablesOutput, error) { req, out := c.GetTablesRequest(input) return out, req.Send() @@ -5084,7 +5088,7 @@ const opGetTrigger = "GetTrigger" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger func (c *Glue) GetTriggerRequest(input *GetTriggerInput) (req *request.Request, output *GetTriggerOutput) { op := &request.Operation{ Name: opGetTrigger, @@ -5125,7 +5129,7 @@ func (c *Glue) GetTriggerRequest(input *GetTriggerInput) (req *request.Request, // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger func (c *Glue) GetTrigger(input *GetTriggerInput) (*GetTriggerOutput, error) { req, out := c.GetTriggerRequest(input) return out, req.Send() @@ -5172,7 +5176,7 @@ const opGetTriggers = "GetTriggers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers func (c *Glue) GetTriggersRequest(input *GetTriggersInput) (req *request.Request, output *GetTriggersOutput) { op := &request.Operation{ Name: opGetTriggers, @@ -5219,7 +5223,7 @@ func (c *Glue) GetTriggersRequest(input *GetTriggersInput) (req *request.Request // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers func (c *Glue) GetTriggers(input *GetTriggersInput) (*GetTriggersOutput, error) { req, out := c.GetTriggersRequest(input) return out, req.Send() @@ -5316,7 +5320,7 @@ const opGetUserDefinedFunction = "GetUserDefinedFunction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction func (c *Glue) GetUserDefinedFunctionRequest(input *GetUserDefinedFunctionInput) (req *request.Request, output *GetUserDefinedFunctionOutput) { op := &request.Operation{ Name: opGetUserDefinedFunction, @@ -5357,7 +5361,7 @@ func (c *Glue) GetUserDefinedFunctionRequest(input *GetUserDefinedFunctionInput) // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction func (c *Glue) GetUserDefinedFunction(input *GetUserDefinedFunctionInput) (*GetUserDefinedFunctionOutput, error) { req, out := c.GetUserDefinedFunctionRequest(input) return out, req.Send() @@ -5404,7 +5408,7 @@ const opGetUserDefinedFunctions = "GetUserDefinedFunctions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions func (c *Glue) GetUserDefinedFunctionsRequest(input *GetUserDefinedFunctionsInput) (req *request.Request, output *GetUserDefinedFunctionsOutput) { op := &request.Operation{ Name: opGetUserDefinedFunctions, @@ -5451,7 +5455,7 @@ func (c *Glue) GetUserDefinedFunctionsRequest(input *GetUserDefinedFunctionsInpu // * ErrCodeInternalServiceException "InternalServiceException" // An internal service error occurred. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions func (c *Glue) GetUserDefinedFunctions(input *GetUserDefinedFunctionsInput) (*GetUserDefinedFunctionsOutput, error) { req, out := c.GetUserDefinedFunctionsRequest(input) return out, req.Send() @@ -5548,7 +5552,7 @@ const opImportCatalogToGlue = "ImportCatalogToGlue" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlue +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlue func (c *Glue) ImportCatalogToGlueRequest(input *ImportCatalogToGlueInput) (req *request.Request, output *ImportCatalogToGlueOutput) { op := &request.Operation{ Name: opImportCatalogToGlue, @@ -5583,7 +5587,7 @@ func (c *Glue) ImportCatalogToGlueRequest(input *ImportCatalogToGlueInput) (req // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlue +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlue func (c *Glue) ImportCatalogToGlue(input *ImportCatalogToGlueInput) (*ImportCatalogToGlueOutput, error) { req, out := c.ImportCatalogToGlueRequest(input) return out, req.Send() @@ -5630,7 +5634,7 @@ const opResetJobBookmark = "ResetJobBookmark" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark func (c *Glue) ResetJobBookmarkRequest(input *ResetJobBookmarkInput) (req *request.Request, output *ResetJobBookmarkOutput) { op := &request.Operation{ Name: opResetJobBookmark, @@ -5671,7 +5675,7 @@ func (c *Glue) ResetJobBookmarkRequest(input *ResetJobBookmarkInput) (req *reque // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark func (c *Glue) ResetJobBookmark(input *ResetJobBookmarkInput) (*ResetJobBookmarkOutput, error) { req, out := c.ResetJobBookmarkRequest(input) return out, req.Send() @@ -5718,7 +5722,7 @@ const opStartCrawler = "StartCrawler" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler func (c *Glue) StartCrawlerRequest(input *StartCrawlerInput) (req *request.Request, output *StartCrawlerOutput) { op := &request.Operation{ Name: opStartCrawler, @@ -5737,8 +5741,8 @@ func (c *Glue) StartCrawlerRequest(input *StartCrawlerInput) (req *request.Reque // StartCrawler API operation for AWS Glue. // -// Starts a crawl using the specified Crawler, regardless of what is scheduled. -// If the Crawler is already running, does nothing. +// Starts a crawl using the specified crawler, regardless of what is scheduled. +// If the crawler is already running, does nothing. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5757,7 +5761,7 @@ func (c *Glue) StartCrawlerRequest(input *StartCrawlerInput) (req *request.Reque // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler func (c *Glue) StartCrawler(input *StartCrawlerInput) (*StartCrawlerOutput, error) { req, out := c.StartCrawlerRequest(input) return out, req.Send() @@ -5804,7 +5808,7 @@ const opStartCrawlerSchedule = "StartCrawlerSchedule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule func (c *Glue) StartCrawlerScheduleRequest(input *StartCrawlerScheduleInput) (req *request.Request, output *StartCrawlerScheduleOutput) { op := &request.Operation{ Name: opStartCrawlerSchedule, @@ -5849,7 +5853,7 @@ func (c *Glue) StartCrawlerScheduleRequest(input *StartCrawlerScheduleInput) (re // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule func (c *Glue) StartCrawlerSchedule(input *StartCrawlerScheduleInput) (*StartCrawlerScheduleOutput, error) { req, out := c.StartCrawlerScheduleRequest(input) return out, req.Send() @@ -5896,7 +5900,7 @@ const opStartJobRun = "StartJobRun" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun func (c *Glue) StartJobRunRequest(input *StartJobRunInput) (req *request.Request, output *StartJobRunOutput) { op := &request.Operation{ Name: opStartJobRun, @@ -5943,7 +5947,7 @@ func (c *Glue) StartJobRunRequest(input *StartJobRunInput) (req *request.Request // * ErrCodeConcurrentRunsExceededException "ConcurrentRunsExceededException" // Too many jobs are being run concurrently. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun func (c *Glue) StartJobRun(input *StartJobRunInput) (*StartJobRunOutput, error) { req, out := c.StartJobRunRequest(input) return out, req.Send() @@ -5990,7 +5994,7 @@ const opStartTrigger = "StartTrigger" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger func (c *Glue) StartTriggerRequest(input *StartTriggerInput) (req *request.Request, output *StartTriggerOutput) { op := &request.Operation{ Name: opStartTrigger, @@ -6037,7 +6041,7 @@ func (c *Glue) StartTriggerRequest(input *StartTriggerInput) (req *request.Reque // * ErrCodeConcurrentRunsExceededException "ConcurrentRunsExceededException" // Too many jobs are being run concurrently. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger func (c *Glue) StartTrigger(input *StartTriggerInput) (*StartTriggerOutput, error) { req, out := c.StartTriggerRequest(input) return out, req.Send() @@ -6084,7 +6088,7 @@ const opStopCrawler = "StopCrawler" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler func (c *Glue) StopCrawlerRequest(input *StopCrawlerInput) (req *request.Request, output *StopCrawlerOutput) { op := &request.Operation{ Name: opStopCrawler, @@ -6103,7 +6107,7 @@ func (c *Glue) StopCrawlerRequest(input *StopCrawlerInput) (req *request.Request // StopCrawler API operation for AWS Glue. // -// If the specified Crawler is running, stops the crawl. +// If the specified crawler is running, stops the crawl. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6125,7 +6129,7 @@ func (c *Glue) StopCrawlerRequest(input *StopCrawlerInput) (req *request.Request // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler func (c *Glue) StopCrawler(input *StopCrawlerInput) (*StopCrawlerOutput, error) { req, out := c.StopCrawlerRequest(input) return out, req.Send() @@ -6172,7 +6176,7 @@ const opStopCrawlerSchedule = "StopCrawlerSchedule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule func (c *Glue) StopCrawlerScheduleRequest(input *StopCrawlerScheduleInput) (req *request.Request, output *StopCrawlerScheduleOutput) { op := &request.Operation{ Name: opStopCrawlerSchedule, @@ -6214,7 +6218,7 @@ func (c *Glue) StopCrawlerScheduleRequest(input *StopCrawlerScheduleInput) (req // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule func (c *Glue) StopCrawlerSchedule(input *StopCrawlerScheduleInput) (*StopCrawlerScheduleOutput, error) { req, out := c.StopCrawlerScheduleRequest(input) return out, req.Send() @@ -6261,7 +6265,7 @@ const opStopTrigger = "StopTrigger" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger func (c *Glue) StopTriggerRequest(input *StopTriggerInput) (req *request.Request, output *StopTriggerOutput) { op := &request.Operation{ Name: opStopTrigger, @@ -6302,7 +6306,7 @@ func (c *Glue) StopTriggerRequest(input *StopTriggerInput) (req *request.Request // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger func (c *Glue) StopTrigger(input *StopTriggerInput) (*StopTriggerOutput, error) { req, out := c.StopTriggerRequest(input) return out, req.Send() @@ -6349,7 +6353,7 @@ const opUpdateClassifier = "UpdateClassifier" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier func (c *Glue) UpdateClassifierRequest(input *UpdateClassifierInput) (req *request.Request, output *UpdateClassifierOutput) { op := &request.Operation{ Name: opUpdateClassifier, @@ -6368,7 +6372,7 @@ func (c *Glue) UpdateClassifierRequest(input *UpdateClassifierInput) (req *reque // UpdateClassifier API operation for AWS Glue. // -// Modifies an existing Classifier. +// Modifies an existing classifier (either a GrokClassifier or an XMLClassifier). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6390,7 +6394,7 @@ func (c *Glue) UpdateClassifierRequest(input *UpdateClassifierInput) (req *reque // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier func (c *Glue) UpdateClassifier(input *UpdateClassifierInput) (*UpdateClassifierOutput, error) { req, out := c.UpdateClassifierRequest(input) return out, req.Send() @@ -6437,7 +6441,7 @@ const opUpdateConnection = "UpdateConnection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection func (c *Glue) UpdateConnectionRequest(input *UpdateConnectionInput) (req *request.Request, output *UpdateConnectionOutput) { op := &request.Operation{ Name: opUpdateConnection, @@ -6475,7 +6479,7 @@ func (c *Glue) UpdateConnectionRequest(input *UpdateConnectionInput) (req *reque // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection func (c *Glue) UpdateConnection(input *UpdateConnectionInput) (*UpdateConnectionOutput, error) { req, out := c.UpdateConnectionRequest(input) return out, req.Send() @@ -6522,7 +6526,7 @@ const opUpdateCrawler = "UpdateCrawler" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler func (c *Glue) UpdateCrawlerRequest(input *UpdateCrawlerInput) (req *request.Request, output *UpdateCrawlerOutput) { op := &request.Operation{ Name: opUpdateCrawler, @@ -6541,7 +6545,7 @@ func (c *Glue) UpdateCrawlerRequest(input *UpdateCrawlerInput) (req *request.Req // UpdateCrawler API operation for AWS Glue. // -// Updates a Crawler. If a Crawler is running, you must stop it using StopCrawler +// Updates a crawler. If a crawler is running, you must stop it using StopCrawler // before updating it. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -6567,7 +6571,7 @@ func (c *Glue) UpdateCrawlerRequest(input *UpdateCrawlerInput) (req *request.Req // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler func (c *Glue) UpdateCrawler(input *UpdateCrawlerInput) (*UpdateCrawlerOutput, error) { req, out := c.UpdateCrawlerRequest(input) return out, req.Send() @@ -6614,7 +6618,7 @@ const opUpdateCrawlerSchedule = "UpdateCrawlerSchedule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule func (c *Glue) UpdateCrawlerScheduleRequest(input *UpdateCrawlerScheduleInput) (req *request.Request, output *UpdateCrawlerScheduleOutput) { op := &request.Operation{ Name: opUpdateCrawlerSchedule, @@ -6633,7 +6637,7 @@ func (c *Glue) UpdateCrawlerScheduleRequest(input *UpdateCrawlerScheduleInput) ( // UpdateCrawlerSchedule API operation for AWS Glue. // -// Updates the schedule of a crawler using a Cron expression. +// Updates the schedule of a crawler using a cron expression. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6658,7 +6662,7 @@ func (c *Glue) UpdateCrawlerScheduleRequest(input *UpdateCrawlerScheduleInput) ( // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule func (c *Glue) UpdateCrawlerSchedule(input *UpdateCrawlerScheduleInput) (*UpdateCrawlerScheduleOutput, error) { req, out := c.UpdateCrawlerScheduleRequest(input) return out, req.Send() @@ -6705,7 +6709,7 @@ const opUpdateDatabase = "UpdateDatabase" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase func (c *Glue) UpdateDatabaseRequest(input *UpdateDatabaseInput) (req *request.Request, output *UpdateDatabaseOutput) { op := &request.Operation{ Name: opUpdateDatabase, @@ -6746,7 +6750,7 @@ func (c *Glue) UpdateDatabaseRequest(input *UpdateDatabaseInput) (req *request.R // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase func (c *Glue) UpdateDatabase(input *UpdateDatabaseInput) (*UpdateDatabaseOutput, error) { req, out := c.UpdateDatabaseRequest(input) return out, req.Send() @@ -6793,7 +6797,7 @@ const opUpdateDevEndpoint = "UpdateDevEndpoint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint func (c *Glue) UpdateDevEndpointRequest(input *UpdateDevEndpointInput) (req *request.Request, output *UpdateDevEndpointOutput) { op := &request.Operation{ Name: opUpdateDevEndpoint, @@ -6837,7 +6841,7 @@ func (c *Glue) UpdateDevEndpointRequest(input *UpdateDevEndpointInput) (req *req // * ErrCodeValidationException "ValidationException" // A value could not be validated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint func (c *Glue) UpdateDevEndpoint(input *UpdateDevEndpointInput) (*UpdateDevEndpointOutput, error) { req, out := c.UpdateDevEndpointRequest(input) return out, req.Send() @@ -6884,7 +6888,7 @@ const opUpdateJob = "UpdateJob" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob func (c *Glue) UpdateJobRequest(input *UpdateJobInput) (req *request.Request, output *UpdateJobOutput) { op := &request.Operation{ Name: opUpdateJob, @@ -6925,7 +6929,7 @@ func (c *Glue) UpdateJobRequest(input *UpdateJobInput) (req *request.Request, ou // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob func (c *Glue) UpdateJob(input *UpdateJobInput) (*UpdateJobOutput, error) { req, out := c.UpdateJobRequest(input) return out, req.Send() @@ -6972,7 +6976,7 @@ const opUpdatePartition = "UpdatePartition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition func (c *Glue) UpdatePartitionRequest(input *UpdatePartitionInput) (req *request.Request, output *UpdatePartitionOutput) { op := &request.Operation{ Name: opUpdatePartition, @@ -7013,7 +7017,7 @@ func (c *Glue) UpdatePartitionRequest(input *UpdatePartitionInput) (req *request // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition func (c *Glue) UpdatePartition(input *UpdatePartitionInput) (*UpdatePartitionOutput, error) { req, out := c.UpdatePartitionRequest(input) return out, req.Send() @@ -7060,7 +7064,7 @@ const opUpdateTable = "UpdateTable" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable func (c *Glue) UpdateTableRequest(input *UpdateTableInput) (req *request.Request, output *UpdateTableOutput) { op := &request.Operation{ Name: opUpdateTable, @@ -7104,7 +7108,7 @@ func (c *Glue) UpdateTableRequest(input *UpdateTableInput) (req *request.Request // * ErrCodeConcurrentModificationException "ConcurrentModificationException" // Two processes are trying to modify a resource simultaneously. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable func (c *Glue) UpdateTable(input *UpdateTableInput) (*UpdateTableOutput, error) { req, out := c.UpdateTableRequest(input) return out, req.Send() @@ -7151,7 +7155,7 @@ const opUpdateTrigger = "UpdateTrigger" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger func (c *Glue) UpdateTriggerRequest(input *UpdateTriggerInput) (req *request.Request, output *UpdateTriggerOutput) { op := &request.Operation{ Name: opUpdateTrigger, @@ -7192,7 +7196,7 @@ func (c *Glue) UpdateTriggerRequest(input *UpdateTriggerInput) (req *request.Req // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger func (c *Glue) UpdateTrigger(input *UpdateTriggerInput) (*UpdateTriggerOutput, error) { req, out := c.UpdateTriggerRequest(input) return out, req.Send() @@ -7239,7 +7243,7 @@ const opUpdateUserDefinedFunction = "UpdateUserDefinedFunction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction func (c *Glue) UpdateUserDefinedFunctionRequest(input *UpdateUserDefinedFunctionInput) (req *request.Request, output *UpdateUserDefinedFunctionOutput) { op := &request.Operation{ Name: opUpdateUserDefinedFunction, @@ -7280,7 +7284,7 @@ func (c *Glue) UpdateUserDefinedFunctionRequest(input *UpdateUserDefinedFunction // * ErrCodeOperationTimeoutException "OperationTimeoutException" // The operation timed out. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction func (c *Glue) UpdateUserDefinedFunction(input *UpdateUserDefinedFunctionInput) (*UpdateUserDefinedFunctionOutput, error) { req, out := c.UpdateUserDefinedFunctionRequest(input) return out, req.Send() @@ -7303,7 +7307,7 @@ func (c *Glue) UpdateUserDefinedFunctionWithContext(ctx aws.Context, input *Upda } // Defines an action to be initiated by a trigger. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Action +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Action type Action struct { _ struct{} `type:"structure"` @@ -7349,7 +7353,7 @@ func (s *Action) SetJobName(v string) *Action { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchCreatePartitionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchCreatePartitionRequest type BatchCreatePartitionInput struct { _ struct{} `type:"structure"` @@ -7445,7 +7449,7 @@ func (s *BatchCreatePartitionInput) SetTableName(v string) *BatchCreatePartition return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchCreatePartitionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchCreatePartitionResponse type BatchCreatePartitionOutput struct { _ struct{} `type:"structure"` @@ -7469,7 +7473,7 @@ func (s *BatchCreatePartitionOutput) SetErrors(v []*PartitionError) *BatchCreate return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteConnectionRequest type BatchDeleteConnectionInput struct { _ struct{} `type:"structure"` @@ -7521,7 +7525,7 @@ func (s *BatchDeleteConnectionInput) SetConnectionNameList(v []*string) *BatchDe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteConnectionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteConnectionResponse type BatchDeleteConnectionOutput struct { _ struct{} `type:"structure"` @@ -7555,7 +7559,7 @@ func (s *BatchDeleteConnectionOutput) SetSucceeded(v []*string) *BatchDeleteConn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeletePartitionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeletePartitionRequest type BatchDeletePartitionInput struct { _ struct{} `type:"structure"` @@ -7651,7 +7655,7 @@ func (s *BatchDeletePartitionInput) SetTableName(v string) *BatchDeletePartition return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeletePartitionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeletePartitionResponse type BatchDeletePartitionOutput struct { _ struct{} `type:"structure"` @@ -7675,7 +7679,7 @@ func (s *BatchDeletePartitionOutput) SetErrors(v []*PartitionError) *BatchDelete return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableRequest type BatchDeleteTableInput struct { _ struct{} `type:"structure"` @@ -7744,7 +7748,7 @@ func (s *BatchDeleteTableInput) SetTablesToDelete(v []*string) *BatchDeleteTable return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableResponse type BatchDeleteTableOutput struct { _ struct{} `type:"structure"` @@ -7768,7 +7772,7 @@ func (s *BatchDeleteTableOutput) SetErrors(v []*TableError) *BatchDeleteTableOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartitionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartitionRequest type BatchGetPartitionInput struct { _ struct{} `type:"structure"` @@ -7864,7 +7868,7 @@ func (s *BatchGetPartitionInput) SetTableName(v string) *BatchGetPartitionInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartitionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartitionResponse type BatchGetPartitionOutput struct { _ struct{} `type:"structure"` @@ -7900,7 +7904,7 @@ func (s *BatchGetPartitionOutput) SetUnprocessedKeys(v []*PartitionValueList) *B // Details about the job run and the error that occurred while trying to submit // it for stopping. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRunError +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRunError type BatchStopJobRunError struct { _ struct{} `type:"structure"` @@ -7942,7 +7946,7 @@ func (s *BatchStopJobRunError) SetJobRunId(v string) *BatchStopJobRunError { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRunRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRunRequest type BatchStopJobRunInput struct { _ struct{} `type:"structure"` @@ -8001,7 +8005,7 @@ func (s *BatchStopJobRunInput) SetJobRunIds(v []*string) *BatchStopJobRunInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRunResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRunResponse type BatchStopJobRunOutput struct { _ struct{} `type:"structure"` @@ -8036,7 +8040,7 @@ func (s *BatchStopJobRunOutput) SetSuccessfulSubmissions(v []*BatchStopJobRunSuc } // Details about the job run which is submitted successfully for stopping. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRunSuccessfulSubmission +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRunSuccessfulSubmission type BatchStopJobRunSuccessfulSubmission struct { _ struct{} `type:"structure"` @@ -8070,7 +8074,7 @@ func (s *BatchStopJobRunSuccessfulSubmission) SetJobRunId(v string) *BatchStopJo } // Specifies a table definition in the Data Catalog. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CatalogEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CatalogEntry type CatalogEntry struct { _ struct{} `type:"structure"` @@ -8130,7 +8134,7 @@ func (s *CatalogEntry) SetTableName(v string) *CatalogEntry { } // A structure containing migration status information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CatalogImportStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CatalogImportStatus type CatalogImportStatus struct { _ struct{} `type:"structure"` @@ -8172,17 +8176,23 @@ func (s *CatalogImportStatus) SetImportedBy(v string) *CatalogImportStatus { return s } -// Classifiers are written in Python and triggered during a Crawl Task. You -// can write your own Classifiers to best categorize your data sources and specify -// the appropriate schemas to use for them. A Classifier first checks whether -// a given file is in a format it can handle, and then, if so, creates a schema -// in the form of a StructType object that matches that data format. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Classifier +// Classifiers are written in Python and triggered during a crawl task. You +// can write your own classifiers to best categorize your data sources and specify +// the appropriate schemas to use for them. A classifier checks whether a given +// file is in a format it can handle, and if it is, the classifier creates a +// schema in the form of a StructType object that matches that data format. +// +// A classifier can be either a grok classifier or an XML classifier, specified +// in one or the other field of the Classifier object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Classifier type Classifier struct { _ struct{} `type:"structure"` // A GrokClassifier object. GrokClassifier *GrokClassifier `type:"structure"` + + // An XMLClassifier object. + XMLClassifier *XMLClassifier `type:"structure"` } // String returns the string representation @@ -8201,8 +8211,14 @@ func (s *Classifier) SetGrokClassifier(v *GrokClassifier) *Classifier { return s } +// SetXMLClassifier sets the XMLClassifier field's value. +func (s *Classifier) SetXMLClassifier(v *XMLClassifier) *Classifier { + s.XMLClassifier = v + return s +} + // Represents a directional edge in a directed acyclic graph (DAG). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CodeGenEdge +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CodeGenEdge type CodeGenEdge struct { _ struct{} `type:"structure"` @@ -8271,7 +8287,7 @@ func (s *CodeGenEdge) SetTargetParameter(v string) *CodeGenEdge { } // Represents a node in a directed acyclic graph (DAG) -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CodeGenNode +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CodeGenNode type CodeGenNode struct { _ struct{} `type:"structure"` @@ -8361,7 +8377,7 @@ func (s *CodeGenNode) SetNodeType(v string) *CodeGenNode { } // An argument or property of a node. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CodeGenNodeArg +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CodeGenNodeArg type CodeGenNodeArg struct { _ struct{} `type:"structure"` @@ -8424,7 +8440,7 @@ func (s *CodeGenNodeArg) SetValue(v string) *CodeGenNodeArg { } // A column in a Table. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Column +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Column type Column struct { _ struct{} `type:"structure"` @@ -8485,7 +8501,7 @@ func (s *Column) SetType(v string) *Column { } // Defines a condition under which a trigger fires. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Condition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Condition type Condition struct { _ struct{} `type:"structure"` @@ -8541,7 +8557,7 @@ func (s *Condition) SetState(v string) *Condition { } // Defines a connection to a data source. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Connection +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Connection type Connection struct { _ struct{} `type:"structure"` @@ -8640,7 +8656,7 @@ func (s *Connection) SetPhysicalConnectionRequirements(v *PhysicalConnectionRequ } // A structure used to specify a connection to create or update. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ConnectionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ConnectionInput type ConnectionInput struct { _ struct{} `type:"structure"` @@ -8730,7 +8746,7 @@ func (s *ConnectionInput) SetPhysicalConnectionRequirements(v *PhysicalConnectio } // Specifies the connections used by a job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ConnectionsList +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ConnectionsList type ConnectionsList struct { _ struct{} `type:"structure"` @@ -8755,59 +8771,67 @@ func (s *ConnectionsList) SetConnections(v []*string) *ConnectionsList { } // Specifies a crawler program that examines a data source and uses classifiers -// to try to determine its schema. If successful, the crawler records metatdata -// concerning the data source in the Data Catalog. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Crawler +// to try to determine its schema. If successful, the crawler records metadata +// concerning the data source in the AWS Glue Data Catalog. +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Crawler type Crawler struct { _ struct{} `type:"structure"` - // A list of custom Classifiers associated with this Crawler. + // A list of custom classifiers associated with the crawler. Classifiers []*string `type:"list"` - // If this Crawler is running, contains the total time elapsed since the last + // Crawler configuration information. This versioned JSON string allows users + // to specify aspects of a Crawler's behavior. + // + // You can use this field to force partitions to inherit metadata such as classification, + // input format, output format, serde information, and schema from their parent + // table, rather than detect this information separately for each partition. + // Use the following JSON string to specify that behavior: + Configuration *string `type:"string"` + + // If the crawler is running, contains the total time elapsed since the last // crawl began. CrawlElapsedTime *int64 `type:"long"` - // The time when the Crawler was created. + // The time when the crawler was created. CreationTime *time.Time `type:"timestamp" timestampFormat:"unix"` - // The Database where this Crawler's output should be stored. + // The database where metadata is written by this crawler. DatabaseName *string `type:"string"` - // A description of this Crawler and where it should be used. + // A description of the crawler. Description *string `type:"string"` // The status of the last crawl, and potentially error information if an error // occurred. LastCrawl *LastCrawlInfo `type:"structure"` - // The time the Crawler was last updated. + // The time the crawler was last updated. LastUpdated *time.Time `type:"timestamp" timestampFormat:"unix"` - // The Crawler name. + // The crawler name. Name *string `min:"1" type:"string"` - // The IAM role (or ARN of an IAM role) used to access customer resources such - // as data in S3. + // The IAM role (or ARN of an IAM role) used to access customer resources, such + // as data in Amazon S3. Role *string `type:"string"` - // A Schedule object that specifies the schedule on which this Crawler is to - // be run. + // For scheduled crawlers, the schedule when the crawler runs. Schedule *Schedule `type:"structure"` - // Sets policy for the crawler's update and delete behavior. + // Sets the behavior when the crawler finds a changed or deleted object. SchemaChangePolicy *SchemaChangePolicy `type:"structure"` - // Indicates whether this Crawler is running, or whether a run is pending. + // Indicates whether the crawler is running, or whether a run is pending. State *string `type:"string" enum:"CrawlerState"` - // The table prefix used for catalog tables created. + // The prefix added to the names of tables that are created. TablePrefix *string `type:"string"` // A collection of targets to crawl. Targets *CrawlerTargets `type:"structure"` - // The version of the Crawler. + // The version of the crawler. Version *int64 `type:"long"` } @@ -8827,6 +8851,12 @@ func (s *Crawler) SetClassifiers(v []*string) *Crawler { return s } +// SetConfiguration sets the Configuration field's value. +func (s *Crawler) SetConfiguration(v string) *Crawler { + s.Configuration = &v + return s +} + // SetCrawlElapsedTime sets the CrawlElapsedTime field's value. func (s *Crawler) SetCrawlElapsedTime(v int64) *Crawler { s.CrawlElapsedTime = &v @@ -8912,7 +8942,7 @@ func (s *Crawler) SetVersion(v int64) *Crawler { } // Metrics for a specified crawler. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CrawlerMetrics +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CrawlerMetrics type CrawlerMetrics struct { _ struct{} `type:"structure"` @@ -8925,16 +8955,17 @@ type CrawlerMetrics struct { // The median duration of this crawler's runs, in seconds. MedianRuntimeSeconds *float64 `type:"double"` - // True if the crawler is estimating its + // True if the crawler is still estimating how long it will take to complete + // this run. StillEstimating *bool `type:"boolean"` - // A list of the tables created by this crawler. + // The number of tables created by this crawler. TablesCreated *int64 `type:"integer"` - // A list of the tables deleted by this crawler. + // The number of tables deleted by this crawler. TablesDeleted *int64 `type:"integer"` - // A list of the tables created by this crawler. + // The number of tables updated by this crawler. TablesUpdated *int64 `type:"integer"` // The estimated time left to complete a running crawl. @@ -8999,15 +9030,15 @@ func (s *CrawlerMetrics) SetTimeLeftSeconds(v float64) *CrawlerMetrics { return s } -// Specifies crawler targets. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CrawlerTargets +// Specifies data stores to crawl. +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CrawlerTargets type CrawlerTargets struct { _ struct{} `type:"structure"` // Specifies JDBC targets. JdbcTargets []*JdbcTarget `type:"list"` - // Specifies targets in AWS S3. + // Specifies Amazon S3 targets. S3Targets []*S3Target `type:"list"` } @@ -9033,12 +9064,15 @@ func (s *CrawlerTargets) SetS3Targets(v []*S3Target) *CrawlerTargets { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifierRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifierRequest type CreateClassifierInput struct { _ struct{} `type:"structure"` - // A grok classifier to create. + // A GrokClassifier object specifying the classifier to create. GrokClassifier *CreateGrokClassifierRequest `type:"structure"` + + // An XMLClassifier object specifying the classifier to create. + XMLClassifier *CreateXMLClassifierRequest `type:"structure"` } // String returns the string representation @@ -9059,6 +9093,11 @@ func (s *CreateClassifierInput) Validate() error { invalidParams.AddNested("GrokClassifier", err.(request.ErrInvalidParams)) } } + if s.XMLClassifier != nil { + if err := s.XMLClassifier.Validate(); err != nil { + invalidParams.AddNested("XMLClassifier", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -9072,7 +9111,13 @@ func (s *CreateClassifierInput) SetGrokClassifier(v *CreateGrokClassifierRequest return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifierResponse +// SetXMLClassifier sets the XMLClassifier field's value. +func (s *CreateClassifierInput) SetXMLClassifier(v *CreateXMLClassifierRequest) *CreateClassifierInput { + s.XMLClassifier = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifierResponse type CreateClassifierOutput struct { _ struct{} `type:"structure"` } @@ -9087,7 +9132,7 @@ func (s CreateClassifierOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnectionRequest type CreateConnectionInput struct { _ struct{} `type:"structure"` @@ -9144,7 +9189,7 @@ func (s *CreateConnectionInput) SetConnectionInput(v *ConnectionInput) *CreateCo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnectionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnectionResponse type CreateConnectionOutput struct { _ struct{} `type:"structure"` } @@ -9159,29 +9204,37 @@ func (s CreateConnectionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawlerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawlerRequest type CreateCrawlerInput struct { _ struct{} `type:"structure"` - // A list of custom Classifier names that the user has registered. By default, - // all AWS classifiers are included in a crawl, but these custom classifiers - // always override the default classifiers for a given classification. + // A list of custom classifiers that the user has registered. By default, all + // AWS classifiers are included in a crawl, but these custom classifiers always + // override the default classifiers for a given classification. Classifiers []*string `type:"list"` - // The Glue Database where results will be stored, such as: arn:aws:daylight:us-east-1::database/sometable/*. + // Crawler configuration information. This versioned JSON string allows users + // to specify aspects of a Crawler's behavior. + // + // You can use this field to force partitions to inherit metadata such as classification, + // input format, output format, serde information, and schema from their parent + // table, rather than detect this information separately for each partition. + Configuration *string `type:"string"` + + // The AWS Glue database where results are written, such as: arn:aws:daylight:us-east-1::database/sometable/*. // // DatabaseName is a required field DatabaseName *string `type:"string" required:"true"` - // A description of the new Crawler. + // A description of the new crawler. Description *string `type:"string"` - // Name of the new Crawler. + // Name of the new crawler. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` - // The IAM role (or ARN of an IAM role) used by the new Crawler to access customer + // The IAM role (or ARN of an IAM role) used by the new crawler to access customer // resources. // // Role is a required field @@ -9196,7 +9249,7 @@ type CreateCrawlerInput struct { // Policy for the crawler's update and deletion behavior. SchemaChangePolicy *SchemaChangePolicy `type:"structure"` - // The table prefix used for catalog tables created. + // The table prefix used for catalog tables that are created. TablePrefix *string `type:"string"` // A list of collection of targets to crawl. @@ -9246,6 +9299,12 @@ func (s *CreateCrawlerInput) SetClassifiers(v []*string) *CreateCrawlerInput { return s } +// SetConfiguration sets the Configuration field's value. +func (s *CreateCrawlerInput) SetConfiguration(v string) *CreateCrawlerInput { + s.Configuration = &v + return s +} + // SetDatabaseName sets the DatabaseName field's value. func (s *CreateCrawlerInput) SetDatabaseName(v string) *CreateCrawlerInput { s.DatabaseName = &v @@ -9294,7 +9353,7 @@ func (s *CreateCrawlerInput) SetTargets(v *CrawlerTargets) *CreateCrawlerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawlerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawlerResponse type CreateCrawlerOutput struct { _ struct{} `type:"structure"` } @@ -9309,7 +9368,7 @@ func (s CreateCrawlerOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabaseRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabaseRequest type CreateDatabaseInput struct { _ struct{} `type:"structure"` @@ -9366,7 +9425,7 @@ func (s *CreateDatabaseInput) SetDatabaseInput(v *DatabaseInput) *CreateDatabase return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabaseResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabaseResponse type CreateDatabaseOutput struct { _ struct{} `type:"structure"` } @@ -9381,7 +9440,7 @@ func (s CreateDatabaseOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpointRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpointRequest type CreateDevEndpointInput struct { _ struct{} `type:"structure"` @@ -9500,7 +9559,7 @@ func (s *CreateDevEndpointInput) SetSubnetId(v string) *CreateDevEndpointInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpointResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpointResponse type CreateDevEndpointOutput struct { _ struct{} `type:"structure"` @@ -9643,18 +9702,18 @@ func (s *CreateDevEndpointOutput) SetZeppelinRemoteSparkInterpreterPort(v int64) return s } -// Specifies a Grok classifier for CreateClassifier to create. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateGrokClassifierRequest +// Specifies a grok classifier for CreateClassifier to create. +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateGrokClassifierRequest type CreateGrokClassifierRequest struct { _ struct{} `type:"structure"` - // The type of result that the classifier matches, such as Twitter Json, Omniture - // logs, Cloudwatch logs, and so forth. + // An identifier of the data format that the classifier matches, such as Twitter, + // JSON, Omniture logs, Amazon CloudWatch Logs, and so on. // // Classification is a required field Classification *string `type:"string" required:"true"` - // Custom grok patterns used by this classifier. + // Optional custom grok patterns used by this classifier. CustomPatterns *string `type:"string"` // The grok pattern used by this classifier. @@ -9662,7 +9721,7 @@ type CreateGrokClassifierRequest struct { // GrokPattern is a required field GrokPattern *string `min:"1" type:"string" required:"true"` - // The name of the new Classifier. + // The name of the new classifier. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -9727,7 +9786,7 @@ func (s *CreateGrokClassifierRequest) SetName(v string) *CreateGrokClassifierReq return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJobRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJobRequest type CreateJobInput struct { _ struct{} `type:"structure"` @@ -9861,7 +9920,7 @@ func (s *CreateJobInput) SetRole(v string) *CreateJobInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJobResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJobResponse type CreateJobOutput struct { _ struct{} `type:"structure"` @@ -9885,7 +9944,7 @@ func (s *CreateJobOutput) SetName(v string) *CreateJobOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionRequest type CreatePartitionInput struct { _ struct{} `type:"structure"` @@ -9976,7 +10035,7 @@ func (s *CreatePartitionInput) SetTableName(v string) *CreatePartitionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionResponse type CreatePartitionOutput struct { _ struct{} `type:"structure"` } @@ -9991,7 +10050,7 @@ func (s CreatePartitionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScriptRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScriptRequest type CreateScriptInput struct { _ struct{} `type:"structure"` @@ -10054,7 +10113,7 @@ func (s *CreateScriptInput) SetDagNodes(v []*CodeGenNode) *CreateScriptInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScriptResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScriptResponse type CreateScriptOutput struct { _ struct{} `type:"structure"` @@ -10078,7 +10137,7 @@ func (s *CreateScriptOutput) SetPythonScript(v string) *CreateScriptOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTableRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTableRequest type CreateTableInput struct { _ struct{} `type:"structure"` @@ -10152,7 +10211,7 @@ func (s *CreateTableInput) SetTableInput(v *TableInput) *CreateTableInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTableResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTableResponse type CreateTableOutput struct { _ struct{} `type:"structure"` } @@ -10167,7 +10226,7 @@ func (s CreateTableOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTriggerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTriggerRequest type CreateTriggerInput struct { _ struct{} `type:"structure"` @@ -10282,7 +10341,7 @@ func (s *CreateTriggerInput) SetType(v string) *CreateTriggerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTriggerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTriggerResponse type CreateTriggerOutput struct { _ struct{} `type:"structure"` @@ -10306,7 +10365,7 @@ func (s *CreateTriggerOutput) SetName(v string) *CreateTriggerOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunctionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunctionRequest type CreateUserDefinedFunctionInput struct { _ struct{} `type:"structure"` @@ -10380,7 +10439,7 @@ func (s *CreateUserDefinedFunctionInput) SetFunctionInput(v *UserDefinedFunction return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunctionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunctionResponse type CreateUserDefinedFunctionOutput struct { _ struct{} `type:"structure"` } @@ -10395,9 +10454,77 @@ func (s CreateUserDefinedFunctionOutput) GoString() string { return s.String() } +// Specifies an XML classifier for CreateClassifier to create. +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateXMLClassifierRequest +type CreateXMLClassifierRequest struct { + _ struct{} `type:"structure"` + + // An identifier of the data format that the classifier matches. + // + // Classification is a required field + Classification *string `type:"string" required:"true"` + + // The name of the classifier. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The XML tag designating the element that contains each record in an XML document + // being parsed. Note that this cannot be an empty element. It must contain + // child elements representing fields in the record. + RowTag *string `type:"string"` +} + +// String returns the string representation +func (s CreateXMLClassifierRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateXMLClassifierRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateXMLClassifierRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateXMLClassifierRequest"} + if s.Classification == nil { + invalidParams.Add(request.NewErrParamRequired("Classification")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClassification sets the Classification field's value. +func (s *CreateXMLClassifierRequest) SetClassification(v string) *CreateXMLClassifierRequest { + s.Classification = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateXMLClassifierRequest) SetName(v string) *CreateXMLClassifierRequest { + s.Name = &v + return s +} + +// SetRowTag sets the RowTag field's value. +func (s *CreateXMLClassifierRequest) SetRowTag(v string) *CreateXMLClassifierRequest { + s.RowTag = &v + return s +} + // The Database object represents a logical grouping of tables that may reside // in a Hive metastore or an RDBMS. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Database +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Database type Database struct { _ struct{} `type:"structure"` @@ -10460,7 +10587,7 @@ func (s *Database) SetParameters(v map[string]*string) *Database { } // The structure used to create or updata a database. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DatabaseInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DatabaseInput type DatabaseInput struct { _ struct{} `type:"structure"` @@ -10532,11 +10659,11 @@ func (s *DatabaseInput) SetParameters(v map[string]*string) *DatabaseInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifierRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifierRequest type DeleteClassifierInput struct { _ struct{} `type:"structure"` - // Name of the Classifier to remove. + // Name of the classifier to remove. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -10574,7 +10701,7 @@ func (s *DeleteClassifierInput) SetName(v string) *DeleteClassifierInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifierResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifierResponse type DeleteClassifierOutput struct { _ struct{} `type:"structure"` } @@ -10589,7 +10716,7 @@ func (s DeleteClassifierOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnectionRequest type DeleteConnectionInput struct { _ struct{} `type:"structure"` @@ -10644,7 +10771,7 @@ func (s *DeleteConnectionInput) SetConnectionName(v string) *DeleteConnectionInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnectionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnectionResponse type DeleteConnectionOutput struct { _ struct{} `type:"structure"` } @@ -10659,11 +10786,11 @@ func (s DeleteConnectionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawlerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawlerRequest type DeleteCrawlerInput struct { _ struct{} `type:"structure"` - // Name of the Crawler to remove. + // Name of the crawler to remove. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -10701,7 +10828,7 @@ func (s *DeleteCrawlerInput) SetName(v string) *DeleteCrawlerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawlerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawlerResponse type DeleteCrawlerOutput struct { _ struct{} `type:"structure"` } @@ -10716,7 +10843,7 @@ func (s DeleteCrawlerOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabaseRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabaseRequest type DeleteDatabaseInput struct { _ struct{} `type:"structure"` @@ -10771,7 +10898,7 @@ func (s *DeleteDatabaseInput) SetName(v string) *DeleteDatabaseInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabaseResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabaseResponse type DeleteDatabaseOutput struct { _ struct{} `type:"structure"` } @@ -10786,7 +10913,7 @@ func (s DeleteDatabaseOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpointRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpointRequest type DeleteDevEndpointInput struct { _ struct{} `type:"structure"` @@ -10825,7 +10952,7 @@ func (s *DeleteDevEndpointInput) SetEndpointName(v string) *DeleteDevEndpointInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpointResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpointResponse type DeleteDevEndpointOutput struct { _ struct{} `type:"structure"` } @@ -10840,7 +10967,7 @@ func (s DeleteDevEndpointOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJobRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJobRequest type DeleteJobInput struct { _ struct{} `type:"structure"` @@ -10882,7 +11009,7 @@ func (s *DeleteJobInput) SetJobName(v string) *DeleteJobInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJobResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJobResponse type DeleteJobOutput struct { _ struct{} `type:"structure"` @@ -10906,7 +11033,7 @@ func (s *DeleteJobOutput) SetJobName(v string) *DeleteJobOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionRequest type DeletePartitionInput struct { _ struct{} `type:"structure"` @@ -10992,7 +11119,7 @@ func (s *DeletePartitionInput) SetTableName(v string) *DeletePartitionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionResponse type DeletePartitionOutput struct { _ struct{} `type:"structure"` } @@ -11007,7 +11134,7 @@ func (s DeletePartitionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableRequest type DeleteTableInput struct { _ struct{} `type:"structure"` @@ -11079,7 +11206,7 @@ func (s *DeleteTableInput) SetName(v string) *DeleteTableInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableResponse type DeleteTableOutput struct { _ struct{} `type:"structure"` } @@ -11094,7 +11221,7 @@ func (s DeleteTableOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTriggerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTriggerRequest type DeleteTriggerInput struct { _ struct{} `type:"structure"` @@ -11136,7 +11263,7 @@ func (s *DeleteTriggerInput) SetName(v string) *DeleteTriggerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTriggerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTriggerResponse type DeleteTriggerOutput struct { _ struct{} `type:"structure"` @@ -11160,7 +11287,7 @@ func (s *DeleteTriggerOutput) SetName(v string) *DeleteTriggerOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunctionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunctionRequest type DeleteUserDefinedFunctionInput struct { _ struct{} `type:"structure"` @@ -11232,7 +11359,7 @@ func (s *DeleteUserDefinedFunctionInput) SetFunctionName(v string) *DeleteUserDe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunctionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunctionResponse type DeleteUserDefinedFunctionOutput struct { _ struct{} `type:"structure"` } @@ -11248,7 +11375,7 @@ func (s DeleteUserDefinedFunctionOutput) GoString() string { } // A development endpoint where a developer can remotely debug ETL scripts. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DevEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DevEndpoint type DevEndpoint struct { _ struct{} `type:"structure"` @@ -11436,7 +11563,7 @@ func (s *DevEndpoint) SetZeppelinRemoteSparkInterpreterPort(v int64) *DevEndpoin } // Custom libraries to be loaded into a DevEndpoint. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DevEndpointCustomLibraries +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DevEndpointCustomLibraries type DevEndpointCustomLibraries struct { _ struct{} `type:"structure"` @@ -11480,7 +11607,7 @@ func (s *DevEndpointCustomLibraries) SetExtraPythonLibsS3Path(v string) *DevEndp } // Contains details about an error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ErrorDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ErrorDetail type ErrorDetail struct { _ struct{} `type:"structure"` @@ -11514,7 +11641,7 @@ func (s *ErrorDetail) SetErrorMessage(v string) *ErrorDetail { } // An execution property of a job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ExecutionProperty +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ExecutionProperty type ExecutionProperty struct { _ struct{} `type:"structure"` @@ -11538,7 +11665,7 @@ func (s *ExecutionProperty) SetMaxConcurrentRuns(v int64) *ExecutionProperty { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatusRequest type GetCatalogImportStatusInput struct { _ struct{} `type:"structure"` @@ -11576,7 +11703,7 @@ func (s *GetCatalogImportStatusInput) SetCatalogId(v string) *GetCatalogImportSt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatusResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatusResponse type GetCatalogImportStatusOutput struct { _ struct{} `type:"structure"` @@ -11600,11 +11727,11 @@ func (s *GetCatalogImportStatusOutput) SetImportStatus(v *CatalogImportStatus) * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifierRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifierRequest type GetClassifierInput struct { _ struct{} `type:"structure"` - // Name of the Classifier to retrieve. + // Name of the classifier to retrieve. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -11642,11 +11769,11 @@ func (s *GetClassifierInput) SetName(v string) *GetClassifierInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifierResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifierResponse type GetClassifierOutput struct { _ struct{} `type:"structure"` - // The requested Classifier. + // The requested classifier. Classifier *Classifier `type:"structure"` } @@ -11666,7 +11793,7 @@ func (s *GetClassifierOutput) SetClassifier(v *Classifier) *GetClassifierOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiersRequest type GetClassifiersInput struct { _ struct{} `type:"structure"` @@ -11712,11 +11839,11 @@ func (s *GetClassifiersInput) SetNextToken(v string) *GetClassifiersInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiersResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiersResponse type GetClassifiersOutput struct { _ struct{} `type:"structure"` - // The requested list of Classifier objects. + // The requested list of classifier objects. Classifiers []*Classifier `type:"list"` // A continuation token. @@ -11745,7 +11872,7 @@ func (s *GetClassifiersOutput) SetNextToken(v string) *GetClassifiersOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionRequest type GetConnectionInput struct { _ struct{} `type:"structure"` @@ -11800,7 +11927,7 @@ func (s *GetConnectionInput) SetName(v string) *GetConnectionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionResponse type GetConnectionOutput struct { _ struct{} `type:"structure"` @@ -11825,7 +11952,7 @@ func (s *GetConnectionOutput) SetConnection(v *Connection) *GetConnectionOutput } // Filters the connection definitions returned by the GetConnections API. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionsFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionsFilter type GetConnectionsFilter struct { _ struct{} `type:"structure"` @@ -11860,7 +11987,7 @@ func (s *GetConnectionsFilter) SetMatchCriteria(v []*string) *GetConnectionsFilt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionsRequest type GetConnectionsInput struct { _ struct{} `type:"structure"` @@ -11928,7 +12055,7 @@ func (s *GetConnectionsInput) SetNextToken(v string) *GetConnectionsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionsResponse type GetConnectionsOutput struct { _ struct{} `type:"structure"` @@ -11962,11 +12089,11 @@ func (s *GetConnectionsOutput) SetNextToken(v string) *GetConnectionsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerRequest type GetCrawlerInput struct { _ struct{} `type:"structure"` - // Name of the Crawler to retrieve metadata for. + // Name of the crawler to retrieve metadata for. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -12004,7 +12131,7 @@ func (s *GetCrawlerInput) SetName(v string) *GetCrawlerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetricsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetricsRequest type GetCrawlerMetricsInput struct { _ struct{} `type:"structure"` @@ -12059,7 +12186,7 @@ func (s *GetCrawlerMetricsInput) SetNextToken(v string) *GetCrawlerMetricsInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetricsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetricsResponse type GetCrawlerMetricsOutput struct { _ struct{} `type:"structure"` @@ -12093,11 +12220,11 @@ func (s *GetCrawlerMetricsOutput) SetNextToken(v string) *GetCrawlerMetricsOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerResponse type GetCrawlerOutput struct { _ struct{} `type:"structure"` - // The metadata for the specified Crawler. + // The metadata for the specified crawler. Crawler *Crawler `type:"structure"` } @@ -12117,11 +12244,11 @@ func (s *GetCrawlerOutput) SetCrawler(v *Crawler) *GetCrawlerOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlersRequest type GetCrawlersInput struct { _ struct{} `type:"structure"` - // The number of Crawlers to return on each call. + // The number of crawlers to return on each call. MaxResults *int64 `min:"1" type:"integer"` // A continuation token, if this is a continuation request. @@ -12163,11 +12290,11 @@ func (s *GetCrawlersInput) SetNextToken(v string) *GetCrawlersInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlersResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlersResponse type GetCrawlersOutput struct { _ struct{} `type:"structure"` - // A list of Crawler metadata. + // A list of crawler metadata. Crawlers []*Crawler `type:"list"` // A continuation token, if the returned list has not reached the end of those @@ -12197,7 +12324,7 @@ func (s *GetCrawlersOutput) SetNextToken(v string) *GetCrawlersOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabaseRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabaseRequest type GetDatabaseInput struct { _ struct{} `type:"structure"` @@ -12252,7 +12379,7 @@ func (s *GetDatabaseInput) SetName(v string) *GetDatabaseInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabaseResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabaseResponse type GetDatabaseOutput struct { _ struct{} `type:"structure"` @@ -12276,7 +12403,7 @@ func (s *GetDatabaseOutput) SetDatabase(v *Database) *GetDatabaseOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabasesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabasesRequest type GetDatabasesInput struct { _ struct{} `type:"structure"` @@ -12335,7 +12462,7 @@ func (s *GetDatabasesInput) SetNextToken(v string) *GetDatabasesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabasesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabasesResponse type GetDatabasesOutput struct { _ struct{} `type:"structure"` @@ -12371,7 +12498,7 @@ func (s *GetDatabasesOutput) SetNextToken(v string) *GetDatabasesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraphRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraphRequest type GetDataflowGraphInput struct { _ struct{} `type:"structure"` @@ -12395,7 +12522,7 @@ func (s *GetDataflowGraphInput) SetPythonScript(v string) *GetDataflowGraphInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraphResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraphResponse type GetDataflowGraphOutput struct { _ struct{} `type:"structure"` @@ -12428,7 +12555,7 @@ func (s *GetDataflowGraphOutput) SetDagNodes(v []*CodeGenNode) *GetDataflowGraph return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpointRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpointRequest type GetDevEndpointInput struct { _ struct{} `type:"structure"` @@ -12467,7 +12594,7 @@ func (s *GetDevEndpointInput) SetEndpointName(v string) *GetDevEndpointInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpointResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpointResponse type GetDevEndpointOutput struct { _ struct{} `type:"structure"` @@ -12491,7 +12618,7 @@ func (s *GetDevEndpointOutput) SetDevEndpoint(v *DevEndpoint) *GetDevEndpointOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpointsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpointsRequest type GetDevEndpointsInput struct { _ struct{} `type:"structure"` @@ -12537,7 +12664,7 @@ func (s *GetDevEndpointsInput) SetNextToken(v string) *GetDevEndpointsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpointsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpointsResponse type GetDevEndpointsOutput struct { _ struct{} `type:"structure"` @@ -12570,7 +12697,7 @@ func (s *GetDevEndpointsOutput) SetNextToken(v string) *GetDevEndpointsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRequest type GetJobInput struct { _ struct{} `type:"structure"` @@ -12612,7 +12739,7 @@ func (s *GetJobInput) SetJobName(v string) *GetJobInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobResponse type GetJobOutput struct { _ struct{} `type:"structure"` @@ -12636,7 +12763,7 @@ func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRunRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRunRequest type GetJobRunInput struct { _ struct{} `type:"structure"` @@ -12704,7 +12831,7 @@ func (s *GetJobRunInput) SetRunId(v string) *GetJobRunInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRunResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRunResponse type GetJobRunOutput struct { _ struct{} `type:"structure"` @@ -12728,7 +12855,7 @@ func (s *GetJobRunOutput) SetJobRun(v *JobRun) *GetJobRunOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRunsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRunsRequest type GetJobRunsInput struct { _ struct{} `type:"structure"` @@ -12791,7 +12918,7 @@ func (s *GetJobRunsInput) SetNextToken(v string) *GetJobRunsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRunsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRunsResponse type GetJobRunsOutput struct { _ struct{} `type:"structure"` @@ -12824,7 +12951,7 @@ func (s *GetJobRunsOutput) SetNextToken(v string) *GetJobRunsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobsRequest type GetJobsInput struct { _ struct{} `type:"structure"` @@ -12870,7 +12997,7 @@ func (s *GetJobsInput) SetNextToken(v string) *GetJobsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobsResponse type GetJobsOutput struct { _ struct{} `type:"structure"` @@ -12903,7 +13030,7 @@ func (s *GetJobsOutput) SetNextToken(v string) *GetJobsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMappingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMappingRequest type GetMappingInput struct { _ struct{} `type:"structure"` @@ -12980,7 +13107,7 @@ func (s *GetMappingInput) SetSource(v *CatalogEntry) *GetMappingInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMappingResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMappingResponse type GetMappingOutput struct { _ struct{} `type:"structure"` @@ -13006,7 +13133,7 @@ func (s *GetMappingOutput) SetMapping(v []*MappingEntry) *GetMappingOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionRequest type GetPartitionInput struct { _ struct{} `type:"structure"` @@ -13092,7 +13219,7 @@ func (s *GetPartitionInput) SetTableName(v string) *GetPartitionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionResponse type GetPartitionOutput struct { _ struct{} `type:"structure"` @@ -13116,7 +13243,7 @@ func (s *GetPartitionOutput) SetPartition(v *Partition) *GetPartitionOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionsRequest type GetPartitionsInput struct { _ struct{} `type:"structure"` @@ -13232,7 +13359,7 @@ func (s *GetPartitionsInput) SetTableName(v string) *GetPartitionsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionsResponse type GetPartitionsOutput struct { _ struct{} `type:"structure"` @@ -13266,7 +13393,7 @@ func (s *GetPartitionsOutput) SetPartitions(v []*Partition) *GetPartitionsOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlanRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlanRequest type GetPlanInput struct { _ struct{} `type:"structure"` @@ -13357,11 +13484,11 @@ func (s *GetPlanInput) SetSource(v *CatalogEntry) *GetPlanInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlanResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlanResponse type GetPlanOutput struct { _ struct{} `type:"structure"` - // A python script to perform the mapping. + // A Python script to perform the mapping. PythonScript *string `type:"string"` } @@ -13381,7 +13508,7 @@ func (s *GetPlanOutput) SetPythonScript(v string) *GetPlanOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableRequest type GetTableInput struct { _ struct{} `type:"structure"` @@ -13453,7 +13580,7 @@ func (s *GetTableInput) SetName(v string) *GetTableInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableResponse type GetTableOutput struct { _ struct{} `type:"structure"` @@ -13477,7 +13604,7 @@ func (s *GetTableOutput) SetTable(v *Table) *GetTableOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersionsRequest type GetTableVersionsInput struct { _ struct{} `type:"structure"` @@ -13570,7 +13697,7 @@ func (s *GetTableVersionsInput) SetTableName(v string) *GetTableVersionsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersionsResponse type GetTableVersionsOutput struct { _ struct{} `type:"structure"` @@ -13604,7 +13731,7 @@ func (s *GetTableVersionsOutput) SetTableVersions(v []*TableVersion) *GetTableVe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTablesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTablesRequest type GetTablesInput struct { _ struct{} `type:"structure"` @@ -13690,7 +13817,7 @@ func (s *GetTablesInput) SetNextToken(v string) *GetTablesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTablesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTablesResponse type GetTablesOutput struct { _ struct{} `type:"structure"` @@ -13723,7 +13850,7 @@ func (s *GetTablesOutput) SetTableList(v []*Table) *GetTablesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggerRequest type GetTriggerInput struct { _ struct{} `type:"structure"` @@ -13765,7 +13892,7 @@ func (s *GetTriggerInput) SetName(v string) *GetTriggerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggerResponse type GetTriggerOutput struct { _ struct{} `type:"structure"` @@ -13789,7 +13916,7 @@ func (s *GetTriggerOutput) SetTrigger(v *Trigger) *GetTriggerOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggersRequest type GetTriggersInput struct { _ struct{} `type:"structure"` @@ -13847,7 +13974,7 @@ func (s *GetTriggersInput) SetNextToken(v string) *GetTriggersInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggersResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggersResponse type GetTriggersOutput struct { _ struct{} `type:"structure"` @@ -13880,7 +14007,7 @@ func (s *GetTriggersOutput) SetTriggers(v []*Trigger) *GetTriggersOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctionRequest type GetUserDefinedFunctionInput struct { _ struct{} `type:"structure"` @@ -13952,7 +14079,7 @@ func (s *GetUserDefinedFunctionInput) SetFunctionName(v string) *GetUserDefinedF return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctionResponse type GetUserDefinedFunctionOutput struct { _ struct{} `type:"structure"` @@ -13976,7 +14103,7 @@ func (s *GetUserDefinedFunctionOutput) SetUserDefinedFunction(v *UserDefinedFunc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctionsRequest type GetUserDefinedFunctionsInput struct { _ struct{} `type:"structure"` @@ -14070,7 +14197,7 @@ func (s *GetUserDefinedFunctionsInput) SetPattern(v string) *GetUserDefinedFunct return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctionsResponse type GetUserDefinedFunctionsOutput struct { _ struct{} `type:"structure"` @@ -14104,13 +14231,13 @@ func (s *GetUserDefinedFunctionsOutput) SetUserDefinedFunctions(v []*UserDefined return s } -// A classifier that uses grok. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GrokClassifier +// A classifier that uses grok patterns. +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GrokClassifier type GrokClassifier struct { _ struct{} `type:"structure"` - // The data form that the classifier matches, such as Twitter, JSON, Omniture - // Logs, and so forth. + // An identifier of the data format that the classifier matches, such as Twitter, + // JSON, Omniture logs, and so on. // // Classification is a required field Classification *string `type:"string" required:"true"` @@ -14118,10 +14245,12 @@ type GrokClassifier struct { // The time this classifier was registered. CreationTime *time.Time `type:"timestamp" timestampFormat:"unix"` - // Custom grok patterns used by this classifier. + // Optional custom grok patterns defined by this classifier. For more information, + // see custom patterns in Writing Custom Classifers (http://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html). CustomPatterns *string `type:"string"` - // The grok pattern used by this classifier. + // The grok pattern applied to a data store by this classifier. For more information, + // see built-in patterns in Writing Custom Classifers (http://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html). // // GrokPattern is a required field GrokPattern *string `min:"1" type:"string" required:"true"` @@ -14190,7 +14319,7 @@ func (s *GrokClassifier) SetVersion(v int64) *GrokClassifier { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlueRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlueRequest type ImportCatalogToGlueInput struct { _ struct{} `type:"structure"` @@ -14228,7 +14357,7 @@ func (s *ImportCatalogToGlueInput) SetCatalogId(v string) *ImportCatalogToGlueIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlueResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlueResponse type ImportCatalogToGlueOutput struct { _ struct{} `type:"structure"` } @@ -14243,15 +14372,16 @@ func (s ImportCatalogToGlueOutput) GoString() string { return s.String() } -// Specifies a JDBC target for a crawl. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JdbcTarget +// Specifies a JDBC data store to crawl. +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JdbcTarget type JdbcTarget struct { _ struct{} `type:"structure"` - // The name of the connection to use for the JDBC target. + // The name of the connection to use to connect to the JDBC target. ConnectionName *string `type:"string"` - // A list of items to exclude from the crawl. + // A list of glob patterns used to exclude from the crawl. For more information, + // see Catalog Tables with a Crawler (http://docs.aws.amazon.com/glue/latest/dg/add-crawler.html). Exclusions []*string `type:"list"` // The path of the JDBC target. @@ -14287,7 +14417,7 @@ func (s *JdbcTarget) SetPath(v string) *JdbcTarget { } // Specifies a job in the Data Catalog. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Job +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Job type Job struct { _ struct{} `type:"structure"` @@ -14412,7 +14542,7 @@ func (s *Job) SetRole(v string) *Job { } // Defines a point which a job can resume processing. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobBookmarkEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobBookmarkEntry type JobBookmarkEntry struct { _ struct{} `type:"structure"` @@ -14473,7 +14603,7 @@ func (s *JobBookmarkEntry) SetVersion(v int64) *JobBookmarkEntry { } // Specifies code that executes a job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobCommand +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobCommand type JobCommand struct { _ struct{} `type:"structure"` @@ -14507,7 +14637,7 @@ func (s *JobCommand) SetScriptLocation(v string) *JobCommand { } // Contains information about a job run. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobRun type JobRun struct { _ struct{} `type:"structure"` @@ -14640,7 +14770,7 @@ func (s *JobRun) SetTriggerName(v string) *JobRun { } // Specifies information used to update an existing job. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobUpdate type JobUpdate struct { _ struct{} `type:"structure"` @@ -14738,11 +14868,11 @@ func (s *JobUpdate) SetRole(v string) *JobUpdate { } // Status and error information about the most recent crawl. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/LastCrawlInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/LastCrawlInfo type LastCrawlInfo struct { _ struct{} `type:"structure"` - // Error information about the last crawl, if an error occurred. + // If an error occurred, the error information about the last crawl. ErrorMessage *string `type:"string"` // The log group for the last crawl. @@ -14808,14 +14938,14 @@ func (s *LastCrawlInfo) SetStatus(v string) *LastCrawlInfo { } // The location of resources. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Location +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Location type Location struct { _ struct{} `type:"structure"` // A JDBC location. Jdbc []*CodeGenNodeArg `type:"list"` - // An AWS S3 location. + // An Amazon S3 location. S3 []*CodeGenNodeArg `type:"list"` } @@ -14872,7 +15002,7 @@ func (s *Location) SetS3(v []*CodeGenNodeArg) *Location { } // Defines a mapping. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MappingEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MappingEntry type MappingEntry struct { _ struct{} `type:"structure"` @@ -14942,7 +15072,7 @@ func (s *MappingEntry) SetTargetType(v string) *MappingEntry { } // Specifies the sort order of a sorted column. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Order +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Order type Order struct { _ struct{} `type:"structure"` @@ -15000,7 +15130,7 @@ func (s *Order) SetSortOrder(v int64) *Order { } // Represents a slice of table data. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Partition +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Partition type Partition struct { _ struct{} `type:"structure"` @@ -15088,7 +15218,7 @@ func (s *Partition) SetValues(v []*string) *Partition { } // Contains information about a partition error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionError +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionError type PartitionError struct { _ struct{} `type:"structure"` @@ -15122,7 +15252,7 @@ func (s *PartitionError) SetPartitionValues(v []*string) *PartitionError { } // The structure used to create and update a partion. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionInput type PartitionInput struct { _ struct{} `type:"structure"` @@ -15198,7 +15328,7 @@ func (s *PartitionInput) SetValues(v []*string) *PartitionInput { } // Contains a list of values defining partitions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionValueList +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionValueList type PartitionValueList struct { _ struct{} `type:"structure"` @@ -15238,7 +15368,7 @@ func (s *PartitionValueList) SetValues(v []*string) *PartitionValueList { } // Specifies the physical requirements for a connection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PhysicalConnectionRequirements +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PhysicalConnectionRequirements type PhysicalConnectionRequirements struct { _ struct{} `type:"structure"` @@ -15297,7 +15427,7 @@ func (s *PhysicalConnectionRequirements) SetSubnetId(v string) *PhysicalConnecti } // A job run that preceded this one. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Predecessor +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Predecessor type Predecessor struct { _ struct{} `type:"structure"` @@ -15331,7 +15461,7 @@ func (s *Predecessor) SetRunId(v string) *Predecessor { } // Defines the predicate of the trigger, which determines when it fires. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Predicate +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Predicate type Predicate struct { _ struct{} `type:"structure"` @@ -15384,7 +15514,7 @@ func (s *Predicate) SetLogical(v string) *Predicate { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmarkRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmarkRequest type ResetJobBookmarkInput struct { _ struct{} `type:"structure"` @@ -15423,7 +15553,7 @@ func (s *ResetJobBookmarkInput) SetJobName(v string) *ResetJobBookmarkInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmarkResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmarkResponse type ResetJobBookmarkOutput struct { _ struct{} `type:"structure"` @@ -15448,7 +15578,7 @@ func (s *ResetJobBookmarkOutput) SetJobBookmarkEntry(v *JobBookmarkEntry) *Reset } // URIs for function resources. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResourceUri +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResourceUri type ResourceUri struct { _ struct{} `type:"structure"` @@ -15494,15 +15624,16 @@ func (s *ResourceUri) SetUri(v string) *ResourceUri { return s } -// Specifies a crawler target in AWS S3. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/S3Target +// Specifies a data store in Amazon S3. +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/S3Target type S3Target struct { _ struct{} `type:"structure"` - // A list of S3 objects to exclude from the crawl. + // A list of glob patterns used to exclude from the crawl. For more information, + // see Catalog Tables with a Crawler (http://docs.aws.amazon.com/glue/latest/dg/add-crawler.html). Exclusions []*string `type:"list"` - // The path to the S3 target. + // The path to the Amazon S3 target. Path *string `type:"string"` } @@ -15529,7 +15660,7 @@ func (s *S3Target) SetPath(v string) *S3Target { } // A scheduling object using a cron statement to schedule an event. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Schedule +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Schedule type Schedule struct { _ struct{} `type:"structure"` @@ -15566,14 +15697,14 @@ func (s *Schedule) SetState(v string) *Schedule { } // Crawler policy for update and deletion behavior. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaChangePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaChangePolicy type SchemaChangePolicy struct { _ struct{} `type:"structure"` - // The deletion behavior. + // The deletion behavior when the crawler finds a deleted object. DeleteBehavior *string `type:"string" enum:"DeleteBehavior"` - // The update behavior. + // The update behavior when the crawler finds a changed schema. UpdateBehavior *string `type:"string" enum:"UpdateBehavior"` } @@ -15601,7 +15732,7 @@ func (s *SchemaChangePolicy) SetUpdateBehavior(v string) *SchemaChangePolicy { // Defines a non-overlapping region of a table's partitions, allowing multiple // requests to be executed in parallel. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Segment +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Segment type Segment struct { _ struct{} `type:"structure"` @@ -15661,7 +15792,7 @@ func (s *Segment) SetTotalSegments(v int64) *Segment { // Information about a serialization/deserialization program (SerDe) which serves // as an extractor and loader. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SerDeInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SerDeInfo type SerDeInfo struct { _ struct{} `type:"structure"` @@ -15721,7 +15852,7 @@ func (s *SerDeInfo) SetSerializationLibrary(v string) *SerDeInfo { // Specifies skewed values in a table. Skewed are ones that occur with very // high frequency. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SkewedInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SkewedInfo type SkewedInfo struct { _ struct{} `type:"structure"` @@ -15763,11 +15894,11 @@ func (s *SkewedInfo) SetSkewedColumnValues(v []*string) *SkewedInfo { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerRequest type StartCrawlerInput struct { _ struct{} `type:"structure"` - // Name of the Crawler to start. + // Name of the crawler to start. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -15805,7 +15936,7 @@ func (s *StartCrawlerInput) SetName(v string) *StartCrawlerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerResponse type StartCrawlerOutput struct { _ struct{} `type:"structure"` } @@ -15820,7 +15951,7 @@ func (s StartCrawlerOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerScheduleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerScheduleRequest type StartCrawlerScheduleInput struct { _ struct{} `type:"structure"` @@ -15862,7 +15993,7 @@ func (s *StartCrawlerScheduleInput) SetCrawlerName(v string) *StartCrawlerSchedu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerScheduleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerScheduleResponse type StartCrawlerScheduleOutput struct { _ struct{} `type:"structure"` } @@ -15877,7 +16008,7 @@ func (s StartCrawlerScheduleOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRunRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRunRequest type StartJobRunInput struct { _ struct{} `type:"structure"` @@ -15949,7 +16080,7 @@ func (s *StartJobRunInput) SetJobRunId(v string) *StartJobRunInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRunResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRunResponse type StartJobRunOutput struct { _ struct{} `type:"structure"` @@ -15973,7 +16104,7 @@ func (s *StartJobRunOutput) SetJobRunId(v string) *StartJobRunOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTriggerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTriggerRequest type StartTriggerInput struct { _ struct{} `type:"structure"` @@ -16015,7 +16146,7 @@ func (s *StartTriggerInput) SetName(v string) *StartTriggerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTriggerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTriggerResponse type StartTriggerOutput struct { _ struct{} `type:"structure"` @@ -16039,11 +16170,11 @@ func (s *StartTriggerOutput) SetName(v string) *StartTriggerOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerRequest type StopCrawlerInput struct { _ struct{} `type:"structure"` - // Name of the Crawler to stop. + // Name of the crawler to stop. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -16081,7 +16212,7 @@ func (s *StopCrawlerInput) SetName(v string) *StopCrawlerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerResponse type StopCrawlerOutput struct { _ struct{} `type:"structure"` } @@ -16096,7 +16227,7 @@ func (s StopCrawlerOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerScheduleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerScheduleRequest type StopCrawlerScheduleInput struct { _ struct{} `type:"structure"` @@ -16138,7 +16269,7 @@ func (s *StopCrawlerScheduleInput) SetCrawlerName(v string) *StopCrawlerSchedule return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerScheduleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerScheduleResponse type StopCrawlerScheduleOutput struct { _ struct{} `type:"structure"` } @@ -16153,7 +16284,7 @@ func (s StopCrawlerScheduleOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTriggerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTriggerRequest type StopTriggerInput struct { _ struct{} `type:"structure"` @@ -16195,7 +16326,7 @@ func (s *StopTriggerInput) SetName(v string) *StopTriggerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTriggerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTriggerResponse type StopTriggerOutput struct { _ struct{} `type:"structure"` @@ -16220,7 +16351,7 @@ func (s *StopTriggerOutput) SetName(v string) *StopTriggerOutput { } // Describes the physical storage of table data. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StorageDescriptor +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StorageDescriptor type StorageDescriptor struct { _ struct{} `type:"structure"` @@ -16385,7 +16516,7 @@ func (s *StorageDescriptor) SetStoredAsSubDirectories(v bool) *StorageDescriptor } // Represents a collection of related data organized in columns and rows. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Table +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Table type Table struct { _ struct{} `type:"structure"` @@ -16550,7 +16681,7 @@ func (s *Table) SetViewOriginalText(v string) *Table { } // An error record for table operations. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableError +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableError type TableError struct { _ struct{} `type:"structure"` @@ -16584,7 +16715,7 @@ func (s *TableError) SetTableName(v string) *TableError { } // Structure used to create or update the table. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableInput type TableInput struct { _ struct{} `type:"structure"` @@ -16746,7 +16877,7 @@ func (s *TableInput) SetViewOriginalText(v string) *TableInput { } // Specifies a version of a table. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableVersion type TableVersion struct { _ struct{} `type:"structure"` @@ -16780,7 +16911,7 @@ func (s *TableVersion) SetVersionId(v string) *TableVersion { } // Information about a specific trigger. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Trigger +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Trigger type Trigger struct { _ struct{} `type:"structure"` @@ -16871,7 +17002,7 @@ func (s *Trigger) SetType(v string) *Trigger { } // A structure used to provide information used to updata a trigger. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TriggerUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TriggerUpdate type TriggerUpdate struct { _ struct{} `type:"structure"` @@ -16962,12 +17093,15 @@ func (s *TriggerUpdate) SetSchedule(v string) *TriggerUpdate { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifierRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifierRequest type UpdateClassifierInput struct { _ struct{} `type:"structure"` // A GrokClassifier object with updated fields. GrokClassifier *UpdateGrokClassifierRequest `type:"structure"` + + // An XMLClassifier object with updated fields. + XMLClassifier *UpdateXMLClassifierRequest `type:"structure"` } // String returns the string representation @@ -16988,6 +17122,11 @@ func (s *UpdateClassifierInput) Validate() error { invalidParams.AddNested("GrokClassifier", err.(request.ErrInvalidParams)) } } + if s.XMLClassifier != nil { + if err := s.XMLClassifier.Validate(); err != nil { + invalidParams.AddNested("XMLClassifier", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -17001,7 +17140,13 @@ func (s *UpdateClassifierInput) SetGrokClassifier(v *UpdateGrokClassifierRequest return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifierResponse +// SetXMLClassifier sets the XMLClassifier field's value. +func (s *UpdateClassifierInput) SetXMLClassifier(v *UpdateXMLClassifierRequest) *UpdateClassifierInput { + s.XMLClassifier = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifierResponse type UpdateClassifierOutput struct { _ struct{} `type:"structure"` } @@ -17016,7 +17161,7 @@ func (s UpdateClassifierOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnectionRequest type UpdateConnectionInput struct { _ struct{} `type:"structure"` @@ -17090,7 +17235,7 @@ func (s *UpdateConnectionInput) SetName(v string) *UpdateConnectionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnectionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnectionResponse type UpdateConnectionOutput struct { _ struct{} `type:"structure"` } @@ -17105,27 +17250,36 @@ func (s UpdateConnectionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerRequest type UpdateCrawlerInput struct { _ struct{} `type:"structure"` - // A list of custom Classifier names that the user has registered. By default, - // all AWS classifiers are included in a crawl, but these custom classifiers - // always override the default classifiers for a given classification. + // A list of custom classifiers that the user has registered. By default, all + // classifiers are included in a crawl, but these custom classifiers always + // override the default classifiers for a given classification. Classifiers []*string `type:"list"` - // The Glue Database where results will be stored, such as: arn:aws:daylight:us-east-1::database/sometable/*. + // Crawler configuration information. This versioned JSON string allows users + // to specify aspects of a Crawler's behavior. + // + // You can use this field to force partitions to inherit metadata such as classification, + // input format, output format, serde information, and schema from their parent + // table, rather than detect this information separately for each partition. + // Use the following JSON string to specify that behavior: + Configuration *string `type:"string"` + + // The AWS Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*. DatabaseName *string `type:"string"` - // A description of the new Crawler. + // A description of the new crawler. Description *string `type:"string"` - // Name of the new Crawler. + // Name of the new crawler. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` - // The IAM role (or ARN of an IAM role) used by the new Crawler to access customer + // The IAM role (or ARN of an IAM role) used by the new crawler to access customer // resources. Role *string `type:"string"` @@ -17138,10 +17292,10 @@ type UpdateCrawlerInput struct { // Policy for the crawler's update and deletion behavior. SchemaChangePolicy *SchemaChangePolicy `type:"structure"` - // The table prefix used for catalog tables created. + // The table prefix used for catalog tables that are created. TablePrefix *string `type:"string"` - // A list of collection of targets to crawl. + // A list of targets to crawl. Targets *CrawlerTargets `type:"structure"` } @@ -17177,6 +17331,12 @@ func (s *UpdateCrawlerInput) SetClassifiers(v []*string) *UpdateCrawlerInput { return s } +// SetConfiguration sets the Configuration field's value. +func (s *UpdateCrawlerInput) SetConfiguration(v string) *UpdateCrawlerInput { + s.Configuration = &v + return s +} + // SetDatabaseName sets the DatabaseName field's value. func (s *UpdateCrawlerInput) SetDatabaseName(v string) *UpdateCrawlerInput { s.DatabaseName = &v @@ -17225,7 +17385,7 @@ func (s *UpdateCrawlerInput) SetTargets(v *CrawlerTargets) *UpdateCrawlerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerResponse type UpdateCrawlerOutput struct { _ struct{} `type:"structure"` } @@ -17240,7 +17400,7 @@ func (s UpdateCrawlerOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerScheduleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerScheduleRequest type UpdateCrawlerScheduleInput struct { _ struct{} `type:"structure"` @@ -17294,7 +17454,7 @@ func (s *UpdateCrawlerScheduleInput) SetSchedule(v string) *UpdateCrawlerSchedul return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerScheduleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerScheduleResponse type UpdateCrawlerScheduleOutput struct { _ struct{} `type:"structure"` } @@ -17309,7 +17469,7 @@ func (s UpdateCrawlerScheduleOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabaseRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabaseRequest type UpdateDatabaseInput struct { _ struct{} `type:"structure"` @@ -17384,7 +17544,7 @@ func (s *UpdateDatabaseInput) SetName(v string) *UpdateDatabaseInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabaseResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabaseResponse type UpdateDatabaseOutput struct { _ struct{} `type:"structure"` } @@ -17399,7 +17559,7 @@ func (s UpdateDatabaseOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpointRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpointRequest type UpdateDevEndpointInput struct { _ struct{} `type:"structure"` @@ -17466,7 +17626,7 @@ func (s *UpdateDevEndpointInput) SetUpdateEtlLibraries(v bool) *UpdateDevEndpoin return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpointResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpointResponse type UpdateDevEndpointOutput struct { _ struct{} `type:"structure"` } @@ -17481,16 +17641,16 @@ func (s UpdateDevEndpointOutput) GoString() string { return s.String() } -// Specifies a Grok classifier to update when passed to UpdateClassifier. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateGrokClassifierRequest +// Specifies a grok classifier to update when passed to UpdateClassifier. +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateGrokClassifierRequest type UpdateGrokClassifierRequest struct { _ struct{} `type:"structure"` - // The type of result that the classifier matches, such as Twitter Json, Omniture - // logs, Cloudwatch logs, and so forth. + // An identifier of the data format that the classifier matches, such as Twitter, + // JSON, Omniture logs, Amazon CloudWatch Logs, and so on. Classification *string `type:"string"` - // Custom grok patterns used by this classifier. + // Optional custom grok patterns used by this classifier. CustomPatterns *string `type:"string"` // The grok pattern used by this classifier. @@ -17555,7 +17715,7 @@ func (s *UpdateGrokClassifierRequest) SetName(v string) *UpdateGrokClassifierReq return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJobRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJobRequest type UpdateJobInput struct { _ struct{} `type:"structure"` @@ -17611,7 +17771,7 @@ func (s *UpdateJobInput) SetJobUpdate(v *JobUpdate) *UpdateJobInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJobResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJobResponse type UpdateJobOutput struct { _ struct{} `type:"structure"` @@ -17635,7 +17795,7 @@ func (s *UpdateJobOutput) SetJobName(v string) *UpdateJobOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartitionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartitionRequest type UpdatePartitionInput struct { _ struct{} `type:"structure"` @@ -17740,7 +17900,7 @@ func (s *UpdatePartitionInput) SetTableName(v string) *UpdatePartitionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartitionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartitionResponse type UpdatePartitionOutput struct { _ struct{} `type:"structure"` } @@ -17755,7 +17915,7 @@ func (s UpdatePartitionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTableRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTableRequest type UpdateTableInput struct { _ struct{} `type:"structure"` @@ -17829,7 +17989,7 @@ func (s *UpdateTableInput) SetTableInput(v *TableInput) *UpdateTableInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTableResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTableResponse type UpdateTableOutput struct { _ struct{} `type:"structure"` } @@ -17844,7 +18004,7 @@ func (s UpdateTableOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTriggerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTriggerRequest type UpdateTriggerInput struct { _ struct{} `type:"structure"` @@ -17905,7 +18065,7 @@ func (s *UpdateTriggerInput) SetTriggerUpdate(v *TriggerUpdate) *UpdateTriggerIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTriggerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTriggerResponse type UpdateTriggerOutput struct { _ struct{} `type:"structure"` @@ -17929,7 +18089,7 @@ func (s *UpdateTriggerOutput) SetTrigger(v *Trigger) *UpdateTriggerOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunctionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunctionRequest type UpdateUserDefinedFunctionInput struct { _ struct{} `type:"structure"` @@ -18020,7 +18180,7 @@ func (s *UpdateUserDefinedFunctionInput) SetFunctionName(v string) *UpdateUserDe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunctionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunctionResponse type UpdateUserDefinedFunctionOutput struct { _ struct{} `type:"structure"` } @@ -18035,8 +18195,71 @@ func (s UpdateUserDefinedFunctionOutput) GoString() string { return s.String() } +// Specifies an XML classifier to be updated. +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateXMLClassifierRequest +type UpdateXMLClassifierRequest struct { + _ struct{} `type:"structure"` + + // An identifier of the data format that the classifier matches. + Classification *string `type:"string"` + + // The name of the classifier. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The XML tag designating the element that contains each record in an XML document + // being parsed. Note that this cannot be an empty element. It must contain + // child elements representing fields in the record. + RowTag *string `type:"string"` +} + +// String returns the string representation +func (s UpdateXMLClassifierRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateXMLClassifierRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateXMLClassifierRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateXMLClassifierRequest"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClassification sets the Classification field's value. +func (s *UpdateXMLClassifierRequest) SetClassification(v string) *UpdateXMLClassifierRequest { + s.Classification = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateXMLClassifierRequest) SetName(v string) *UpdateXMLClassifierRequest { + s.Name = &v + return s +} + +// SetRowTag sets the RowTag field's value. +func (s *UpdateXMLClassifierRequest) SetRowTag(v string) *UpdateXMLClassifierRequest { + s.RowTag = &v + return s +} + // Represents the equivalent of a Hive user-defined function (UDF) definition. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UserDefinedFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UserDefinedFunction type UserDefinedFunction struct { _ struct{} `type:"structure"` @@ -18106,7 +18329,7 @@ func (s *UserDefinedFunction) SetResourceUris(v []*ResourceUri) *UserDefinedFunc } // A structure used to create or updata a user-defined function. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UserDefinedFunctionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UserDefinedFunctionInput type UserDefinedFunctionInput struct { _ struct{} `type:"structure"` @@ -18195,6 +18418,82 @@ func (s *UserDefinedFunctionInput) SetResourceUris(v []*ResourceUri) *UserDefine return s } +// A classifier for XML content. +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/XMLClassifier +type XMLClassifier struct { + _ struct{} `type:"structure"` + + // An identifier of the data format that the classifier matches. + // + // Classification is a required field + Classification *string `type:"string" required:"true"` + + // The time this classifier was registered. + CreationTime *time.Time `type:"timestamp" timestampFormat:"unix"` + + // The time this classifier was last updated. + LastUpdated *time.Time `type:"timestamp" timestampFormat:"unix"` + + // The name of the classifier. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The XML tag designating the element that contains each record in an XML document + // being parsed. Note that this cannot be an empty element. It must contain + // child elements representing fields in the record. + RowTag *string `type:"string"` + + // The version of this classifier. + Version *int64 `type:"long"` +} + +// String returns the string representation +func (s XMLClassifier) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s XMLClassifier) GoString() string { + return s.String() +} + +// SetClassification sets the Classification field's value. +func (s *XMLClassifier) SetClassification(v string) *XMLClassifier { + s.Classification = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *XMLClassifier) SetCreationTime(v time.Time) *XMLClassifier { + s.CreationTime = &v + return s +} + +// SetLastUpdated sets the LastUpdated field's value. +func (s *XMLClassifier) SetLastUpdated(v time.Time) *XMLClassifier { + s.LastUpdated = &v + return s +} + +// SetName sets the Name field's value. +func (s *XMLClassifier) SetName(v string) *XMLClassifier { + s.Name = &v + return s +} + +// SetRowTag sets the RowTag field's value. +func (s *XMLClassifier) SetRowTag(v string) *XMLClassifier { + s.RowTag = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *XMLClassifier) SetVersion(v int64) *XMLClassifier { + s.Version = &v + return s +} + const ( // ConnectionPropertyKeyHost is a ConnectionPropertyKey enum value ConnectionPropertyKeyHost = "HOST" diff --git a/vendor/github.com/aws/aws-sdk-go/service/guardduty/api.go b/vendor/github.com/aws/aws-sdk-go/service/guardduty/api.go new file mode 100644 index 00000000000..bd931c9eebb --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/guardduty/api.go @@ -0,0 +1,7957 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package guardduty + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" +) + +const opAcceptInvitation = "AcceptInvitation" + +// AcceptInvitationRequest generates a "aws/request.Request" representing the +// client's request for the AcceptInvitation operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See AcceptInvitation for more information on using the AcceptInvitation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the AcceptInvitationRequest method. +// req, resp := client.AcceptInvitationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitation +func (c *GuardDuty) AcceptInvitationRequest(input *AcceptInvitationInput) (req *request.Request, output *AcceptInvitationOutput) { + op := &request.Operation{ + Name: opAcceptInvitation, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/master", + } + + if input == nil { + input = &AcceptInvitationInput{} + } + + output = &AcceptInvitationOutput{} + req = c.newRequest(op, input, output) + return +} + +// AcceptInvitation API operation for Amazon GuardDuty. +// +// Accepts the invitation to be monitored by a master GuardDuty account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation AcceptInvitation for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitation +func (c *GuardDuty) AcceptInvitation(input *AcceptInvitationInput) (*AcceptInvitationOutput, error) { + req, out := c.AcceptInvitationRequest(input) + return out, req.Send() +} + +// AcceptInvitationWithContext is the same as AcceptInvitation with the addition of +// the ability to pass a context and additional request options. +// +// See AcceptInvitation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) AcceptInvitationWithContext(ctx aws.Context, input *AcceptInvitationInput, opts ...request.Option) (*AcceptInvitationOutput, error) { + req, out := c.AcceptInvitationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opArchiveFindings = "ArchiveFindings" + +// ArchiveFindingsRequest generates a "aws/request.Request" representing the +// client's request for the ArchiveFindings operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ArchiveFindings for more information on using the ArchiveFindings +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ArchiveFindingsRequest method. +// req, resp := client.ArchiveFindingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindings +func (c *GuardDuty) ArchiveFindingsRequest(input *ArchiveFindingsInput) (req *request.Request, output *ArchiveFindingsOutput) { + op := &request.Operation{ + Name: opArchiveFindings, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/findings/archive", + } + + if input == nil { + input = &ArchiveFindingsInput{} + } + + output = &ArchiveFindingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ArchiveFindings API operation for Amazon GuardDuty. +// +// Archives Amazon GuardDuty findings specified by the list of finding IDs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation ArchiveFindings for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindings +func (c *GuardDuty) ArchiveFindings(input *ArchiveFindingsInput) (*ArchiveFindingsOutput, error) { + req, out := c.ArchiveFindingsRequest(input) + return out, req.Send() +} + +// ArchiveFindingsWithContext is the same as ArchiveFindings with the addition of +// the ability to pass a context and additional request options. +// +// See ArchiveFindings for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) ArchiveFindingsWithContext(ctx aws.Context, input *ArchiveFindingsInput, opts ...request.Option) (*ArchiveFindingsOutput, error) { + req, out := c.ArchiveFindingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateDetector = "CreateDetector" + +// CreateDetectorRequest generates a "aws/request.Request" representing the +// client's request for the CreateDetector operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateDetector for more information on using the CreateDetector +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateDetectorRequest method. +// req, resp := client.CreateDetectorRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetector +func (c *GuardDuty) CreateDetectorRequest(input *CreateDetectorInput) (req *request.Request, output *CreateDetectorOutput) { + op := &request.Operation{ + Name: opCreateDetector, + HTTPMethod: "POST", + HTTPPath: "/detector", + } + + if input == nil { + input = &CreateDetectorInput{} + } + + output = &CreateDetectorOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateDetector API operation for Amazon GuardDuty. +// +// Creates a single Amazon GuardDuty detector. A detector is an object that +// represents the GuardDuty service. A detector must be created in order for +// GuardDuty to become operational. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation CreateDetector for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetector +func (c *GuardDuty) CreateDetector(input *CreateDetectorInput) (*CreateDetectorOutput, error) { + req, out := c.CreateDetectorRequest(input) + return out, req.Send() +} + +// CreateDetectorWithContext is the same as CreateDetector with the addition of +// the ability to pass a context and additional request options. +// +// See CreateDetector for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) CreateDetectorWithContext(ctx aws.Context, input *CreateDetectorInput, opts ...request.Option) (*CreateDetectorOutput, error) { + req, out := c.CreateDetectorRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateIPSet = "CreateIPSet" + +// CreateIPSetRequest generates a "aws/request.Request" representing the +// client's request for the CreateIPSet operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateIPSet for more information on using the CreateIPSet +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateIPSetRequest method. +// req, resp := client.CreateIPSetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSet +func (c *GuardDuty) CreateIPSetRequest(input *CreateIPSetInput) (req *request.Request, output *CreateIPSetOutput) { + op := &request.Operation{ + Name: opCreateIPSet, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/ipset", + } + + if input == nil { + input = &CreateIPSetInput{} + } + + output = &CreateIPSetOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateIPSet API operation for Amazon GuardDuty. +// +// Creates a new IPSet - a list of trusted IP addresses that have been whitelisted +// for secure communication with AWS infrastructure and applications. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation CreateIPSet for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSet +func (c *GuardDuty) CreateIPSet(input *CreateIPSetInput) (*CreateIPSetOutput, error) { + req, out := c.CreateIPSetRequest(input) + return out, req.Send() +} + +// CreateIPSetWithContext is the same as CreateIPSet with the addition of +// the ability to pass a context and additional request options. +// +// See CreateIPSet for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) CreateIPSetWithContext(ctx aws.Context, input *CreateIPSetInput, opts ...request.Option) (*CreateIPSetOutput, error) { + req, out := c.CreateIPSetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateMembers = "CreateMembers" + +// CreateMembersRequest generates a "aws/request.Request" representing the +// client's request for the CreateMembers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateMembers for more information on using the CreateMembers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateMembersRequest method. +// req, resp := client.CreateMembersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembers +func (c *GuardDuty) CreateMembersRequest(input *CreateMembersInput) (req *request.Request, output *CreateMembersOutput) { + op := &request.Operation{ + Name: opCreateMembers, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/member", + } + + if input == nil { + input = &CreateMembersInput{} + } + + output = &CreateMembersOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateMembers API operation for Amazon GuardDuty. +// +// Creates member accounts of the current AWS account by specifying a list of +// AWS account IDs. The current AWS account can then invite these members to +// manage GuardDuty in their accounts. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation CreateMembers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembers +func (c *GuardDuty) CreateMembers(input *CreateMembersInput) (*CreateMembersOutput, error) { + req, out := c.CreateMembersRequest(input) + return out, req.Send() +} + +// CreateMembersWithContext is the same as CreateMembers with the addition of +// the ability to pass a context and additional request options. +// +// See CreateMembers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) CreateMembersWithContext(ctx aws.Context, input *CreateMembersInput, opts ...request.Option) (*CreateMembersOutput, error) { + req, out := c.CreateMembersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateSampleFindings = "CreateSampleFindings" + +// CreateSampleFindingsRequest generates a "aws/request.Request" representing the +// client's request for the CreateSampleFindings operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateSampleFindings for more information on using the CreateSampleFindings +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateSampleFindingsRequest method. +// req, resp := client.CreateSampleFindingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindings +func (c *GuardDuty) CreateSampleFindingsRequest(input *CreateSampleFindingsInput) (req *request.Request, output *CreateSampleFindingsOutput) { + op := &request.Operation{ + Name: opCreateSampleFindings, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/findings/create", + } + + if input == nil { + input = &CreateSampleFindingsInput{} + } + + output = &CreateSampleFindingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateSampleFindings API operation for Amazon GuardDuty. +// +// Generates example findings of types specified by the list of finding types. +// If 'NULL' is specified for findingTypes, the API generates example findings +// of all supported finding types. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation CreateSampleFindings for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindings +func (c *GuardDuty) CreateSampleFindings(input *CreateSampleFindingsInput) (*CreateSampleFindingsOutput, error) { + req, out := c.CreateSampleFindingsRequest(input) + return out, req.Send() +} + +// CreateSampleFindingsWithContext is the same as CreateSampleFindings with the addition of +// the ability to pass a context and additional request options. +// +// See CreateSampleFindings for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) CreateSampleFindingsWithContext(ctx aws.Context, input *CreateSampleFindingsInput, opts ...request.Option) (*CreateSampleFindingsOutput, error) { + req, out := c.CreateSampleFindingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateThreatIntelSet = "CreateThreatIntelSet" + +// CreateThreatIntelSetRequest generates a "aws/request.Request" representing the +// client's request for the CreateThreatIntelSet operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateThreatIntelSet for more information on using the CreateThreatIntelSet +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateThreatIntelSetRequest method. +// req, resp := client.CreateThreatIntelSetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSet +func (c *GuardDuty) CreateThreatIntelSetRequest(input *CreateThreatIntelSetInput) (req *request.Request, output *CreateThreatIntelSetOutput) { + op := &request.Operation{ + Name: opCreateThreatIntelSet, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/threatintelset", + } + + if input == nil { + input = &CreateThreatIntelSetInput{} + } + + output = &CreateThreatIntelSetOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateThreatIntelSet API operation for Amazon GuardDuty. +// +// Create a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP +// addresses. GuardDuty generates findings based on ThreatIntelSets. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation CreateThreatIntelSet for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSet +func (c *GuardDuty) CreateThreatIntelSet(input *CreateThreatIntelSetInput) (*CreateThreatIntelSetOutput, error) { + req, out := c.CreateThreatIntelSetRequest(input) + return out, req.Send() +} + +// CreateThreatIntelSetWithContext is the same as CreateThreatIntelSet with the addition of +// the ability to pass a context and additional request options. +// +// See CreateThreatIntelSet for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) CreateThreatIntelSetWithContext(ctx aws.Context, input *CreateThreatIntelSetInput, opts ...request.Option) (*CreateThreatIntelSetOutput, error) { + req, out := c.CreateThreatIntelSetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeclineInvitations = "DeclineInvitations" + +// DeclineInvitationsRequest generates a "aws/request.Request" representing the +// client's request for the DeclineInvitations operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeclineInvitations for more information on using the DeclineInvitations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeclineInvitationsRequest method. +// req, resp := client.DeclineInvitationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitations +func (c *GuardDuty) DeclineInvitationsRequest(input *DeclineInvitationsInput) (req *request.Request, output *DeclineInvitationsOutput) { + op := &request.Operation{ + Name: opDeclineInvitations, + HTTPMethod: "POST", + HTTPPath: "/invitation/decline", + } + + if input == nil { + input = &DeclineInvitationsInput{} + } + + output = &DeclineInvitationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeclineInvitations API operation for Amazon GuardDuty. +// +// Declines invitations sent to the current member account by AWS account specified +// by their account IDs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation DeclineInvitations for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitations +func (c *GuardDuty) DeclineInvitations(input *DeclineInvitationsInput) (*DeclineInvitationsOutput, error) { + req, out := c.DeclineInvitationsRequest(input) + return out, req.Send() +} + +// DeclineInvitationsWithContext is the same as DeclineInvitations with the addition of +// the ability to pass a context and additional request options. +// +// See DeclineInvitations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) DeclineInvitationsWithContext(ctx aws.Context, input *DeclineInvitationsInput, opts ...request.Option) (*DeclineInvitationsOutput, error) { + req, out := c.DeclineInvitationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteDetector = "DeleteDetector" + +// DeleteDetectorRequest generates a "aws/request.Request" representing the +// client's request for the DeleteDetector operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteDetector for more information on using the DeleteDetector +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteDetectorRequest method. +// req, resp := client.DeleteDetectorRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetector +func (c *GuardDuty) DeleteDetectorRequest(input *DeleteDetectorInput) (req *request.Request, output *DeleteDetectorOutput) { + op := &request.Operation{ + Name: opDeleteDetector, + HTTPMethod: "DELETE", + HTTPPath: "/detector/{detectorId}", + } + + if input == nil { + input = &DeleteDetectorInput{} + } + + output = &DeleteDetectorOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteDetector API operation for Amazon GuardDuty. +// +// Deletes a Amazon GuardDuty detector specified by the detector ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation DeleteDetector for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetector +func (c *GuardDuty) DeleteDetector(input *DeleteDetectorInput) (*DeleteDetectorOutput, error) { + req, out := c.DeleteDetectorRequest(input) + return out, req.Send() +} + +// DeleteDetectorWithContext is the same as DeleteDetector with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteDetector for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) DeleteDetectorWithContext(ctx aws.Context, input *DeleteDetectorInput, opts ...request.Option) (*DeleteDetectorOutput, error) { + req, out := c.DeleteDetectorRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteIPSet = "DeleteIPSet" + +// DeleteIPSetRequest generates a "aws/request.Request" representing the +// client's request for the DeleteIPSet operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteIPSet for more information on using the DeleteIPSet +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteIPSetRequest method. +// req, resp := client.DeleteIPSetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSet +func (c *GuardDuty) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Request, output *DeleteIPSetOutput) { + op := &request.Operation{ + Name: opDeleteIPSet, + HTTPMethod: "DELETE", + HTTPPath: "/detector/{detectorId}/ipset/{ipSetId}", + } + + if input == nil { + input = &DeleteIPSetInput{} + } + + output = &DeleteIPSetOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteIPSet API operation for Amazon GuardDuty. +// +// Deletes the IPSet specified by the IPSet ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation DeleteIPSet for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSet +func (c *GuardDuty) DeleteIPSet(input *DeleteIPSetInput) (*DeleteIPSetOutput, error) { + req, out := c.DeleteIPSetRequest(input) + return out, req.Send() +} + +// DeleteIPSetWithContext is the same as DeleteIPSet with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteIPSet for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) DeleteIPSetWithContext(ctx aws.Context, input *DeleteIPSetInput, opts ...request.Option) (*DeleteIPSetOutput, error) { + req, out := c.DeleteIPSetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteInvitations = "DeleteInvitations" + +// DeleteInvitationsRequest generates a "aws/request.Request" representing the +// client's request for the DeleteInvitations operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteInvitations for more information on using the DeleteInvitations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteInvitationsRequest method. +// req, resp := client.DeleteInvitationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitations +func (c *GuardDuty) DeleteInvitationsRequest(input *DeleteInvitationsInput) (req *request.Request, output *DeleteInvitationsOutput) { + op := &request.Operation{ + Name: opDeleteInvitations, + HTTPMethod: "POST", + HTTPPath: "/invitation/delete", + } + + if input == nil { + input = &DeleteInvitationsInput{} + } + + output = &DeleteInvitationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteInvitations API operation for Amazon GuardDuty. +// +// Deletes invitations sent to the current member account by AWS accounts specified +// by their account IDs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation DeleteInvitations for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitations +func (c *GuardDuty) DeleteInvitations(input *DeleteInvitationsInput) (*DeleteInvitationsOutput, error) { + req, out := c.DeleteInvitationsRequest(input) + return out, req.Send() +} + +// DeleteInvitationsWithContext is the same as DeleteInvitations with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteInvitations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) DeleteInvitationsWithContext(ctx aws.Context, input *DeleteInvitationsInput, opts ...request.Option) (*DeleteInvitationsOutput, error) { + req, out := c.DeleteInvitationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteMembers = "DeleteMembers" + +// DeleteMembersRequest generates a "aws/request.Request" representing the +// client's request for the DeleteMembers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteMembers for more information on using the DeleteMembers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteMembersRequest method. +// req, resp := client.DeleteMembersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembers +func (c *GuardDuty) DeleteMembersRequest(input *DeleteMembersInput) (req *request.Request, output *DeleteMembersOutput) { + op := &request.Operation{ + Name: opDeleteMembers, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/member/delete", + } + + if input == nil { + input = &DeleteMembersInput{} + } + + output = &DeleteMembersOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteMembers API operation for Amazon GuardDuty. +// +// Deletes GuardDuty member accounts (to the current GuardDuty master account) +// specified by the account IDs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation DeleteMembers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembers +func (c *GuardDuty) DeleteMembers(input *DeleteMembersInput) (*DeleteMembersOutput, error) { + req, out := c.DeleteMembersRequest(input) + return out, req.Send() +} + +// DeleteMembersWithContext is the same as DeleteMembers with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteMembers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) DeleteMembersWithContext(ctx aws.Context, input *DeleteMembersInput, opts ...request.Option) (*DeleteMembersOutput, error) { + req, out := c.DeleteMembersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteThreatIntelSet = "DeleteThreatIntelSet" + +// DeleteThreatIntelSetRequest generates a "aws/request.Request" representing the +// client's request for the DeleteThreatIntelSet operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteThreatIntelSet for more information on using the DeleteThreatIntelSet +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteThreatIntelSetRequest method. +// req, resp := client.DeleteThreatIntelSetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSet +func (c *GuardDuty) DeleteThreatIntelSetRequest(input *DeleteThreatIntelSetInput) (req *request.Request, output *DeleteThreatIntelSetOutput) { + op := &request.Operation{ + Name: opDeleteThreatIntelSet, + HTTPMethod: "DELETE", + HTTPPath: "/detector/{detectorId}/threatintelset/{threatIntelSetId}", + } + + if input == nil { + input = &DeleteThreatIntelSetInput{} + } + + output = &DeleteThreatIntelSetOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteThreatIntelSet API operation for Amazon GuardDuty. +// +// Deletes ThreatIntelSet specified by the ThreatIntelSet ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation DeleteThreatIntelSet for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSet +func (c *GuardDuty) DeleteThreatIntelSet(input *DeleteThreatIntelSetInput) (*DeleteThreatIntelSetOutput, error) { + req, out := c.DeleteThreatIntelSetRequest(input) + return out, req.Send() +} + +// DeleteThreatIntelSetWithContext is the same as DeleteThreatIntelSet with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteThreatIntelSet for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) DeleteThreatIntelSetWithContext(ctx aws.Context, input *DeleteThreatIntelSetInput, opts ...request.Option) (*DeleteThreatIntelSetOutput, error) { + req, out := c.DeleteThreatIntelSetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDisassociateFromMasterAccount = "DisassociateFromMasterAccount" + +// DisassociateFromMasterAccountRequest generates a "aws/request.Request" representing the +// client's request for the DisassociateFromMasterAccount operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DisassociateFromMasterAccount for more information on using the DisassociateFromMasterAccount +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DisassociateFromMasterAccountRequest method. +// req, resp := client.DisassociateFromMasterAccountRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccount +func (c *GuardDuty) DisassociateFromMasterAccountRequest(input *DisassociateFromMasterAccountInput) (req *request.Request, output *DisassociateFromMasterAccountOutput) { + op := &request.Operation{ + Name: opDisassociateFromMasterAccount, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/master/disassociate", + } + + if input == nil { + input = &DisassociateFromMasterAccountInput{} + } + + output = &DisassociateFromMasterAccountOutput{} + req = c.newRequest(op, input, output) + return +} + +// DisassociateFromMasterAccount API operation for Amazon GuardDuty. +// +// Disassociates the current GuardDuty member account from its master account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation DisassociateFromMasterAccount for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccount +func (c *GuardDuty) DisassociateFromMasterAccount(input *DisassociateFromMasterAccountInput) (*DisassociateFromMasterAccountOutput, error) { + req, out := c.DisassociateFromMasterAccountRequest(input) + return out, req.Send() +} + +// DisassociateFromMasterAccountWithContext is the same as DisassociateFromMasterAccount with the addition of +// the ability to pass a context and additional request options. +// +// See DisassociateFromMasterAccount for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) DisassociateFromMasterAccountWithContext(ctx aws.Context, input *DisassociateFromMasterAccountInput, opts ...request.Option) (*DisassociateFromMasterAccountOutput, error) { + req, out := c.DisassociateFromMasterAccountRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDisassociateMembers = "DisassociateMembers" + +// DisassociateMembersRequest generates a "aws/request.Request" representing the +// client's request for the DisassociateMembers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DisassociateMembers for more information on using the DisassociateMembers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DisassociateMembersRequest method. +// req, resp := client.DisassociateMembersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembers +func (c *GuardDuty) DisassociateMembersRequest(input *DisassociateMembersInput) (req *request.Request, output *DisassociateMembersOutput) { + op := &request.Operation{ + Name: opDisassociateMembers, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/member/disassociate", + } + + if input == nil { + input = &DisassociateMembersInput{} + } + + output = &DisassociateMembersOutput{} + req = c.newRequest(op, input, output) + return +} + +// DisassociateMembers API operation for Amazon GuardDuty. +// +// Disassociates GuardDuty member accounts (to the current GuardDuty master +// account) specified by the account IDs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation DisassociateMembers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembers +func (c *GuardDuty) DisassociateMembers(input *DisassociateMembersInput) (*DisassociateMembersOutput, error) { + req, out := c.DisassociateMembersRequest(input) + return out, req.Send() +} + +// DisassociateMembersWithContext is the same as DisassociateMembers with the addition of +// the ability to pass a context and additional request options. +// +// See DisassociateMembers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) DisassociateMembersWithContext(ctx aws.Context, input *DisassociateMembersInput, opts ...request.Option) (*DisassociateMembersOutput, error) { + req, out := c.DisassociateMembersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetDetector = "GetDetector" + +// GetDetectorRequest generates a "aws/request.Request" representing the +// client's request for the GetDetector operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetDetector for more information on using the GetDetector +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetDetectorRequest method. +// req, resp := client.GetDetectorRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetector +func (c *GuardDuty) GetDetectorRequest(input *GetDetectorInput) (req *request.Request, output *GetDetectorOutput) { + op := &request.Operation{ + Name: opGetDetector, + HTTPMethod: "GET", + HTTPPath: "/detector/{detectorId}", + } + + if input == nil { + input = &GetDetectorInput{} + } + + output = &GetDetectorOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetDetector API operation for Amazon GuardDuty. +// +// Retrieves an Amazon GuardDuty detector specified by the detectorId. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation GetDetector for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetector +func (c *GuardDuty) GetDetector(input *GetDetectorInput) (*GetDetectorOutput, error) { + req, out := c.GetDetectorRequest(input) + return out, req.Send() +} + +// GetDetectorWithContext is the same as GetDetector with the addition of +// the ability to pass a context and additional request options. +// +// See GetDetector for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) GetDetectorWithContext(ctx aws.Context, input *GetDetectorInput, opts ...request.Option) (*GetDetectorOutput, error) { + req, out := c.GetDetectorRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetFindings = "GetFindings" + +// GetFindingsRequest generates a "aws/request.Request" representing the +// client's request for the GetFindings operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetFindings for more information on using the GetFindings +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetFindingsRequest method. +// req, resp := client.GetFindingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindings +func (c *GuardDuty) GetFindingsRequest(input *GetFindingsInput) (req *request.Request, output *GetFindingsOutput) { + op := &request.Operation{ + Name: opGetFindings, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/findings/get", + } + + if input == nil { + input = &GetFindingsInput{} + } + + output = &GetFindingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetFindings API operation for Amazon GuardDuty. +// +// Describes Amazon GuardDuty findings specified by finding IDs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation GetFindings for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindings +func (c *GuardDuty) GetFindings(input *GetFindingsInput) (*GetFindingsOutput, error) { + req, out := c.GetFindingsRequest(input) + return out, req.Send() +} + +// GetFindingsWithContext is the same as GetFindings with the addition of +// the ability to pass a context and additional request options. +// +// See GetFindings for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) GetFindingsWithContext(ctx aws.Context, input *GetFindingsInput, opts ...request.Option) (*GetFindingsOutput, error) { + req, out := c.GetFindingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetFindingsStatistics = "GetFindingsStatistics" + +// GetFindingsStatisticsRequest generates a "aws/request.Request" representing the +// client's request for the GetFindingsStatistics operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetFindingsStatistics for more information on using the GetFindingsStatistics +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetFindingsStatisticsRequest method. +// req, resp := client.GetFindingsStatisticsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatistics +func (c *GuardDuty) GetFindingsStatisticsRequest(input *GetFindingsStatisticsInput) (req *request.Request, output *GetFindingsStatisticsOutput) { + op := &request.Operation{ + Name: opGetFindingsStatistics, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/findings/statistics", + } + + if input == nil { + input = &GetFindingsStatisticsInput{} + } + + output = &GetFindingsStatisticsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetFindingsStatistics API operation for Amazon GuardDuty. +// +// Lists Amazon GuardDuty findings' statistics for the specified detector ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation GetFindingsStatistics for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatistics +func (c *GuardDuty) GetFindingsStatistics(input *GetFindingsStatisticsInput) (*GetFindingsStatisticsOutput, error) { + req, out := c.GetFindingsStatisticsRequest(input) + return out, req.Send() +} + +// GetFindingsStatisticsWithContext is the same as GetFindingsStatistics with the addition of +// the ability to pass a context and additional request options. +// +// See GetFindingsStatistics for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) GetFindingsStatisticsWithContext(ctx aws.Context, input *GetFindingsStatisticsInput, opts ...request.Option) (*GetFindingsStatisticsOutput, error) { + req, out := c.GetFindingsStatisticsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetIPSet = "GetIPSet" + +// GetIPSetRequest generates a "aws/request.Request" representing the +// client's request for the GetIPSet operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetIPSet for more information on using the GetIPSet +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetIPSetRequest method. +// req, resp := client.GetIPSetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSet +func (c *GuardDuty) GetIPSetRequest(input *GetIPSetInput) (req *request.Request, output *GetIPSetOutput) { + op := &request.Operation{ + Name: opGetIPSet, + HTTPMethod: "GET", + HTTPPath: "/detector/{detectorId}/ipset/{ipSetId}", + } + + if input == nil { + input = &GetIPSetInput{} + } + + output = &GetIPSetOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetIPSet API operation for Amazon GuardDuty. +// +// Retrieves the IPSet specified by the IPSet ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation GetIPSet for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSet +func (c *GuardDuty) GetIPSet(input *GetIPSetInput) (*GetIPSetOutput, error) { + req, out := c.GetIPSetRequest(input) + return out, req.Send() +} + +// GetIPSetWithContext is the same as GetIPSet with the addition of +// the ability to pass a context and additional request options. +// +// See GetIPSet for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) GetIPSetWithContext(ctx aws.Context, input *GetIPSetInput, opts ...request.Option) (*GetIPSetOutput, error) { + req, out := c.GetIPSetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetInvitationsCount = "GetInvitationsCount" + +// GetInvitationsCountRequest generates a "aws/request.Request" representing the +// client's request for the GetInvitationsCount operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetInvitationsCount for more information on using the GetInvitationsCount +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetInvitationsCountRequest method. +// req, resp := client.GetInvitationsCountRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCount +func (c *GuardDuty) GetInvitationsCountRequest(input *GetInvitationsCountInput) (req *request.Request, output *GetInvitationsCountOutput) { + op := &request.Operation{ + Name: opGetInvitationsCount, + HTTPMethod: "GET", + HTTPPath: "/invitation/count", + } + + if input == nil { + input = &GetInvitationsCountInput{} + } + + output = &GetInvitationsCountOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetInvitationsCount API operation for Amazon GuardDuty. +// +// Returns the count of all GuardDuty membership invitations that were sent +// to the current member account except the currently accepted invitation. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation GetInvitationsCount for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCount +func (c *GuardDuty) GetInvitationsCount(input *GetInvitationsCountInput) (*GetInvitationsCountOutput, error) { + req, out := c.GetInvitationsCountRequest(input) + return out, req.Send() +} + +// GetInvitationsCountWithContext is the same as GetInvitationsCount with the addition of +// the ability to pass a context and additional request options. +// +// See GetInvitationsCount for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) GetInvitationsCountWithContext(ctx aws.Context, input *GetInvitationsCountInput, opts ...request.Option) (*GetInvitationsCountOutput, error) { + req, out := c.GetInvitationsCountRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetMasterAccount = "GetMasterAccount" + +// GetMasterAccountRequest generates a "aws/request.Request" representing the +// client's request for the GetMasterAccount operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetMasterAccount for more information on using the GetMasterAccount +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetMasterAccountRequest method. +// req, resp := client.GetMasterAccountRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccount +func (c *GuardDuty) GetMasterAccountRequest(input *GetMasterAccountInput) (req *request.Request, output *GetMasterAccountOutput) { + op := &request.Operation{ + Name: opGetMasterAccount, + HTTPMethod: "GET", + HTTPPath: "/detector/{detectorId}/master", + } + + if input == nil { + input = &GetMasterAccountInput{} + } + + output = &GetMasterAccountOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetMasterAccount API operation for Amazon GuardDuty. +// +// Provides the details for the GuardDuty master account to the current GuardDuty +// member account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation GetMasterAccount for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccount +func (c *GuardDuty) GetMasterAccount(input *GetMasterAccountInput) (*GetMasterAccountOutput, error) { + req, out := c.GetMasterAccountRequest(input) + return out, req.Send() +} + +// GetMasterAccountWithContext is the same as GetMasterAccount with the addition of +// the ability to pass a context and additional request options. +// +// See GetMasterAccount for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) GetMasterAccountWithContext(ctx aws.Context, input *GetMasterAccountInput, opts ...request.Option) (*GetMasterAccountOutput, error) { + req, out := c.GetMasterAccountRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetMembers = "GetMembers" + +// GetMembersRequest generates a "aws/request.Request" representing the +// client's request for the GetMembers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetMembers for more information on using the GetMembers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetMembersRequest method. +// req, resp := client.GetMembersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembers +func (c *GuardDuty) GetMembersRequest(input *GetMembersInput) (req *request.Request, output *GetMembersOutput) { + op := &request.Operation{ + Name: opGetMembers, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/member/get", + } + + if input == nil { + input = &GetMembersInput{} + } + + output = &GetMembersOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetMembers API operation for Amazon GuardDuty. +// +// Retrieves GuardDuty member accounts (to the current GuardDuty master account) +// specified by the account IDs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation GetMembers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembers +func (c *GuardDuty) GetMembers(input *GetMembersInput) (*GetMembersOutput, error) { + req, out := c.GetMembersRequest(input) + return out, req.Send() +} + +// GetMembersWithContext is the same as GetMembers with the addition of +// the ability to pass a context and additional request options. +// +// See GetMembers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) GetMembersWithContext(ctx aws.Context, input *GetMembersInput, opts ...request.Option) (*GetMembersOutput, error) { + req, out := c.GetMembersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetThreatIntelSet = "GetThreatIntelSet" + +// GetThreatIntelSetRequest generates a "aws/request.Request" representing the +// client's request for the GetThreatIntelSet operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetThreatIntelSet for more information on using the GetThreatIntelSet +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetThreatIntelSetRequest method. +// req, resp := client.GetThreatIntelSetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSet +func (c *GuardDuty) GetThreatIntelSetRequest(input *GetThreatIntelSetInput) (req *request.Request, output *GetThreatIntelSetOutput) { + op := &request.Operation{ + Name: opGetThreatIntelSet, + HTTPMethod: "GET", + HTTPPath: "/detector/{detectorId}/threatintelset/{threatIntelSetId}", + } + + if input == nil { + input = &GetThreatIntelSetInput{} + } + + output = &GetThreatIntelSetOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetThreatIntelSet API operation for Amazon GuardDuty. +// +// Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation GetThreatIntelSet for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSet +func (c *GuardDuty) GetThreatIntelSet(input *GetThreatIntelSetInput) (*GetThreatIntelSetOutput, error) { + req, out := c.GetThreatIntelSetRequest(input) + return out, req.Send() +} + +// GetThreatIntelSetWithContext is the same as GetThreatIntelSet with the addition of +// the ability to pass a context and additional request options. +// +// See GetThreatIntelSet for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) GetThreatIntelSetWithContext(ctx aws.Context, input *GetThreatIntelSetInput, opts ...request.Option) (*GetThreatIntelSetOutput, error) { + req, out := c.GetThreatIntelSetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opInviteMembers = "InviteMembers" + +// InviteMembersRequest generates a "aws/request.Request" representing the +// client's request for the InviteMembers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See InviteMembers for more information on using the InviteMembers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the InviteMembersRequest method. +// req, resp := client.InviteMembersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembers +func (c *GuardDuty) InviteMembersRequest(input *InviteMembersInput) (req *request.Request, output *InviteMembersOutput) { + op := &request.Operation{ + Name: opInviteMembers, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/member/invite", + } + + if input == nil { + input = &InviteMembersInput{} + } + + output = &InviteMembersOutput{} + req = c.newRequest(op, input, output) + return +} + +// InviteMembers API operation for Amazon GuardDuty. +// +// Invites other AWS accounts (created as members of the current AWS account +// by CreateMembers) to enable GuardDuty and allow the current AWS account to +// view and manage these accounts' GuardDuty findings on their behalf as the +// master account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation InviteMembers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembers +func (c *GuardDuty) InviteMembers(input *InviteMembersInput) (*InviteMembersOutput, error) { + req, out := c.InviteMembersRequest(input) + return out, req.Send() +} + +// InviteMembersWithContext is the same as InviteMembers with the addition of +// the ability to pass a context and additional request options. +// +// See InviteMembers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) InviteMembersWithContext(ctx aws.Context, input *InviteMembersInput, opts ...request.Option) (*InviteMembersOutput, error) { + req, out := c.InviteMembersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListDetectors = "ListDetectors" + +// ListDetectorsRequest generates a "aws/request.Request" representing the +// client's request for the ListDetectors operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListDetectors for more information on using the ListDetectors +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListDetectorsRequest method. +// req, resp := client.ListDetectorsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectors +func (c *GuardDuty) ListDetectorsRequest(input *ListDetectorsInput) (req *request.Request, output *ListDetectorsOutput) { + op := &request.Operation{ + Name: opListDetectors, + HTTPMethod: "GET", + HTTPPath: "/detector", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListDetectorsInput{} + } + + output = &ListDetectorsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListDetectors API operation for Amazon GuardDuty. +// +// Lists detectorIds of all the existing Amazon GuardDuty detector resources. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation ListDetectors for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectors +func (c *GuardDuty) ListDetectors(input *ListDetectorsInput) (*ListDetectorsOutput, error) { + req, out := c.ListDetectorsRequest(input) + return out, req.Send() +} + +// ListDetectorsWithContext is the same as ListDetectors with the addition of +// the ability to pass a context and additional request options. +// +// See ListDetectors for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) ListDetectorsWithContext(ctx aws.Context, input *ListDetectorsInput, opts ...request.Option) (*ListDetectorsOutput, error) { + req, out := c.ListDetectorsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListDetectorsPages iterates over the pages of a ListDetectors operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListDetectors method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListDetectors operation. +// pageNum := 0 +// err := client.ListDetectorsPages(params, +// func(page *ListDetectorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *GuardDuty) ListDetectorsPages(input *ListDetectorsInput, fn func(*ListDetectorsOutput, bool) bool) error { + return c.ListDetectorsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListDetectorsPagesWithContext same as ListDetectorsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) ListDetectorsPagesWithContext(ctx aws.Context, input *ListDetectorsInput, fn func(*ListDetectorsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListDetectorsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListDetectorsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListDetectorsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListFindings = "ListFindings" + +// ListFindingsRequest generates a "aws/request.Request" representing the +// client's request for the ListFindings operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListFindings for more information on using the ListFindings +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListFindingsRequest method. +// req, resp := client.ListFindingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindings +func (c *GuardDuty) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput) { + op := &request.Operation{ + Name: opListFindings, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/findings", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListFindingsInput{} + } + + output = &ListFindingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListFindings API operation for Amazon GuardDuty. +// +// Lists Amazon GuardDuty findings for the specified detector ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation ListFindings for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindings +func (c *GuardDuty) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error) { + req, out := c.ListFindingsRequest(input) + return out, req.Send() +} + +// ListFindingsWithContext is the same as ListFindings with the addition of +// the ability to pass a context and additional request options. +// +// See ListFindings for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) ListFindingsWithContext(ctx aws.Context, input *ListFindingsInput, opts ...request.Option) (*ListFindingsOutput, error) { + req, out := c.ListFindingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListFindingsPages iterates over the pages of a ListFindings operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListFindings method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListFindings operation. +// pageNum := 0 +// err := client.ListFindingsPages(params, +// func(page *ListFindingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *GuardDuty) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error { + return c.ListFindingsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListFindingsPagesWithContext same as ListFindingsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) ListFindingsPagesWithContext(ctx aws.Context, input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListFindingsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListFindingsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListFindingsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListIPSets = "ListIPSets" + +// ListIPSetsRequest generates a "aws/request.Request" representing the +// client's request for the ListIPSets operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListIPSets for more information on using the ListIPSets +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListIPSetsRequest method. +// req, resp := client.ListIPSetsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSets +func (c *GuardDuty) ListIPSetsRequest(input *ListIPSetsInput) (req *request.Request, output *ListIPSetsOutput) { + op := &request.Operation{ + Name: opListIPSets, + HTTPMethod: "GET", + HTTPPath: "/detector/{detectorId}/ipset", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListIPSetsInput{} + } + + output = &ListIPSetsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListIPSets API operation for Amazon GuardDuty. +// +// Lists the IPSets of the GuardDuty service specified by the detector ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation ListIPSets for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSets +func (c *GuardDuty) ListIPSets(input *ListIPSetsInput) (*ListIPSetsOutput, error) { + req, out := c.ListIPSetsRequest(input) + return out, req.Send() +} + +// ListIPSetsWithContext is the same as ListIPSets with the addition of +// the ability to pass a context and additional request options. +// +// See ListIPSets for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) ListIPSetsWithContext(ctx aws.Context, input *ListIPSetsInput, opts ...request.Option) (*ListIPSetsOutput, error) { + req, out := c.ListIPSetsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListIPSetsPages iterates over the pages of a ListIPSets operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListIPSets method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListIPSets operation. +// pageNum := 0 +// err := client.ListIPSetsPages(params, +// func(page *ListIPSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *GuardDuty) ListIPSetsPages(input *ListIPSetsInput, fn func(*ListIPSetsOutput, bool) bool) error { + return c.ListIPSetsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListIPSetsPagesWithContext same as ListIPSetsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) ListIPSetsPagesWithContext(ctx aws.Context, input *ListIPSetsInput, fn func(*ListIPSetsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListIPSetsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListIPSetsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListIPSetsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListInvitations = "ListInvitations" + +// ListInvitationsRequest generates a "aws/request.Request" representing the +// client's request for the ListInvitations operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListInvitations for more information on using the ListInvitations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListInvitationsRequest method. +// req, resp := client.ListInvitationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitations +func (c *GuardDuty) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput) { + op := &request.Operation{ + Name: opListInvitations, + HTTPMethod: "GET", + HTTPPath: "/invitation", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListInvitationsInput{} + } + + output = &ListInvitationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListInvitations API operation for Amazon GuardDuty. +// +// Lists all GuardDuty membership invitations that were sent to the current +// AWS account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation ListInvitations for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitations +func (c *GuardDuty) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error) { + req, out := c.ListInvitationsRequest(input) + return out, req.Send() +} + +// ListInvitationsWithContext is the same as ListInvitations with the addition of +// the ability to pass a context and additional request options. +// +// See ListInvitations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) ListInvitationsWithContext(ctx aws.Context, input *ListInvitationsInput, opts ...request.Option) (*ListInvitationsOutput, error) { + req, out := c.ListInvitationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListInvitationsPages iterates over the pages of a ListInvitations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListInvitations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListInvitations operation. +// pageNum := 0 +// err := client.ListInvitationsPages(params, +// func(page *ListInvitationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *GuardDuty) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error { + return c.ListInvitationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListInvitationsPagesWithContext same as ListInvitationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) ListInvitationsPagesWithContext(ctx aws.Context, input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListInvitationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListInvitationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListInvitationsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListMembers = "ListMembers" + +// ListMembersRequest generates a "aws/request.Request" representing the +// client's request for the ListMembers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListMembers for more information on using the ListMembers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListMembersRequest method. +// req, resp := client.ListMembersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembers +func (c *GuardDuty) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput) { + op := &request.Operation{ + Name: opListMembers, + HTTPMethod: "GET", + HTTPPath: "/detector/{detectorId}/member", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListMembersInput{} + } + + output = &ListMembersOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListMembers API operation for Amazon GuardDuty. +// +// Lists details about all member accounts for the current GuardDuty master +// account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation ListMembers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembers +func (c *GuardDuty) ListMembers(input *ListMembersInput) (*ListMembersOutput, error) { + req, out := c.ListMembersRequest(input) + return out, req.Send() +} + +// ListMembersWithContext is the same as ListMembers with the addition of +// the ability to pass a context and additional request options. +// +// See ListMembers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error) { + req, out := c.ListMembersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListMembersPages iterates over the pages of a ListMembers operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListMembers method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListMembers operation. +// pageNum := 0 +// err := client.ListMembersPages(params, +// func(page *ListMembersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *GuardDuty) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error { + return c.ListMembersPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListMembersPagesWithContext same as ListMembersPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListMembersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListMembersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListMembersOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListThreatIntelSets = "ListThreatIntelSets" + +// ListThreatIntelSetsRequest generates a "aws/request.Request" representing the +// client's request for the ListThreatIntelSets operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListThreatIntelSets for more information on using the ListThreatIntelSets +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListThreatIntelSetsRequest method. +// req, resp := client.ListThreatIntelSetsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSets +func (c *GuardDuty) ListThreatIntelSetsRequest(input *ListThreatIntelSetsInput) (req *request.Request, output *ListThreatIntelSetsOutput) { + op := &request.Operation{ + Name: opListThreatIntelSets, + HTTPMethod: "GET", + HTTPPath: "/detector/{detectorId}/threatintelset", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListThreatIntelSetsInput{} + } + + output = &ListThreatIntelSetsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListThreatIntelSets API operation for Amazon GuardDuty. +// +// Lists the ThreatIntelSets of the GuardDuty service specified by the detector +// ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation ListThreatIntelSets for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSets +func (c *GuardDuty) ListThreatIntelSets(input *ListThreatIntelSetsInput) (*ListThreatIntelSetsOutput, error) { + req, out := c.ListThreatIntelSetsRequest(input) + return out, req.Send() +} + +// ListThreatIntelSetsWithContext is the same as ListThreatIntelSets with the addition of +// the ability to pass a context and additional request options. +// +// See ListThreatIntelSets for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) ListThreatIntelSetsWithContext(ctx aws.Context, input *ListThreatIntelSetsInput, opts ...request.Option) (*ListThreatIntelSetsOutput, error) { + req, out := c.ListThreatIntelSetsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListThreatIntelSetsPages iterates over the pages of a ListThreatIntelSets operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListThreatIntelSets method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListThreatIntelSets operation. +// pageNum := 0 +// err := client.ListThreatIntelSetsPages(params, +// func(page *ListThreatIntelSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *GuardDuty) ListThreatIntelSetsPages(input *ListThreatIntelSetsInput, fn func(*ListThreatIntelSetsOutput, bool) bool) error { + return c.ListThreatIntelSetsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListThreatIntelSetsPagesWithContext same as ListThreatIntelSetsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) ListThreatIntelSetsPagesWithContext(ctx aws.Context, input *ListThreatIntelSetsInput, fn func(*ListThreatIntelSetsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListThreatIntelSetsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListThreatIntelSetsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListThreatIntelSetsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opStartMonitoringMembers = "StartMonitoringMembers" + +// StartMonitoringMembersRequest generates a "aws/request.Request" representing the +// client's request for the StartMonitoringMembers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartMonitoringMembers for more information on using the StartMonitoringMembers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StartMonitoringMembersRequest method. +// req, resp := client.StartMonitoringMembersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembers +func (c *GuardDuty) StartMonitoringMembersRequest(input *StartMonitoringMembersInput) (req *request.Request, output *StartMonitoringMembersOutput) { + op := &request.Operation{ + Name: opStartMonitoringMembers, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/member/start", + } + + if input == nil { + input = &StartMonitoringMembersInput{} + } + + output = &StartMonitoringMembersOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartMonitoringMembers API operation for Amazon GuardDuty. +// +// Re-enables GuardDuty to monitor findings of the member accounts specified +// by the account IDs. A master GuardDuty account can run this command after +// disabling GuardDuty from monitoring these members' findings by running StopMonitoringMembers. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation StartMonitoringMembers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembers +func (c *GuardDuty) StartMonitoringMembers(input *StartMonitoringMembersInput) (*StartMonitoringMembersOutput, error) { + req, out := c.StartMonitoringMembersRequest(input) + return out, req.Send() +} + +// StartMonitoringMembersWithContext is the same as StartMonitoringMembers with the addition of +// the ability to pass a context and additional request options. +// +// See StartMonitoringMembers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) StartMonitoringMembersWithContext(ctx aws.Context, input *StartMonitoringMembersInput, opts ...request.Option) (*StartMonitoringMembersOutput, error) { + req, out := c.StartMonitoringMembersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStopMonitoringMembers = "StopMonitoringMembers" + +// StopMonitoringMembersRequest generates a "aws/request.Request" representing the +// client's request for the StopMonitoringMembers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StopMonitoringMembers for more information on using the StopMonitoringMembers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StopMonitoringMembersRequest method. +// req, resp := client.StopMonitoringMembersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembers +func (c *GuardDuty) StopMonitoringMembersRequest(input *StopMonitoringMembersInput) (req *request.Request, output *StopMonitoringMembersOutput) { + op := &request.Operation{ + Name: opStopMonitoringMembers, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/member/stop", + } + + if input == nil { + input = &StopMonitoringMembersInput{} + } + + output = &StopMonitoringMembersOutput{} + req = c.newRequest(op, input, output) + return +} + +// StopMonitoringMembers API operation for Amazon GuardDuty. +// +// Disables GuardDuty from monitoring findings of the member accounts specified +// by the account IDs. After running this command, a master GuardDuty account +// can run StartMonitoringMembers to re-enable GuardDuty to monitor these members' +// findings. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation StopMonitoringMembers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembers +func (c *GuardDuty) StopMonitoringMembers(input *StopMonitoringMembersInput) (*StopMonitoringMembersOutput, error) { + req, out := c.StopMonitoringMembersRequest(input) + return out, req.Send() +} + +// StopMonitoringMembersWithContext is the same as StopMonitoringMembers with the addition of +// the ability to pass a context and additional request options. +// +// See StopMonitoringMembers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) StopMonitoringMembersWithContext(ctx aws.Context, input *StopMonitoringMembersInput, opts ...request.Option) (*StopMonitoringMembersOutput, error) { + req, out := c.StopMonitoringMembersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUnarchiveFindings = "UnarchiveFindings" + +// UnarchiveFindingsRequest generates a "aws/request.Request" representing the +// client's request for the UnarchiveFindings operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UnarchiveFindings for more information on using the UnarchiveFindings +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UnarchiveFindingsRequest method. +// req, resp := client.UnarchiveFindingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindings +func (c *GuardDuty) UnarchiveFindingsRequest(input *UnarchiveFindingsInput) (req *request.Request, output *UnarchiveFindingsOutput) { + op := &request.Operation{ + Name: opUnarchiveFindings, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/findings/unarchive", + } + + if input == nil { + input = &UnarchiveFindingsInput{} + } + + output = &UnarchiveFindingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// UnarchiveFindings API operation for Amazon GuardDuty. +// +// Unarchives Amazon GuardDuty findings specified by the list of finding IDs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation UnarchiveFindings for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindings +func (c *GuardDuty) UnarchiveFindings(input *UnarchiveFindingsInput) (*UnarchiveFindingsOutput, error) { + req, out := c.UnarchiveFindingsRequest(input) + return out, req.Send() +} + +// UnarchiveFindingsWithContext is the same as UnarchiveFindings with the addition of +// the ability to pass a context and additional request options. +// +// See UnarchiveFindings for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) UnarchiveFindingsWithContext(ctx aws.Context, input *UnarchiveFindingsInput, opts ...request.Option) (*UnarchiveFindingsOutput, error) { + req, out := c.UnarchiveFindingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateDetector = "UpdateDetector" + +// UpdateDetectorRequest generates a "aws/request.Request" representing the +// client's request for the UpdateDetector operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateDetector for more information on using the UpdateDetector +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateDetectorRequest method. +// req, resp := client.UpdateDetectorRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector +func (c *GuardDuty) UpdateDetectorRequest(input *UpdateDetectorInput) (req *request.Request, output *UpdateDetectorOutput) { + op := &request.Operation{ + Name: opUpdateDetector, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}", + } + + if input == nil { + input = &UpdateDetectorInput{} + } + + output = &UpdateDetectorOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateDetector API operation for Amazon GuardDuty. +// +// Updates an Amazon GuardDuty detector specified by the detectorId. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation UpdateDetector for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector +func (c *GuardDuty) UpdateDetector(input *UpdateDetectorInput) (*UpdateDetectorOutput, error) { + req, out := c.UpdateDetectorRequest(input) + return out, req.Send() +} + +// UpdateDetectorWithContext is the same as UpdateDetector with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateDetector for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) UpdateDetectorWithContext(ctx aws.Context, input *UpdateDetectorInput, opts ...request.Option) (*UpdateDetectorOutput, error) { + req, out := c.UpdateDetectorRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateFindingsFeedback = "UpdateFindingsFeedback" + +// UpdateFindingsFeedbackRequest generates a "aws/request.Request" representing the +// client's request for the UpdateFindingsFeedback operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateFindingsFeedback for more information on using the UpdateFindingsFeedback +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateFindingsFeedbackRequest method. +// req, resp := client.UpdateFindingsFeedbackRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedback +func (c *GuardDuty) UpdateFindingsFeedbackRequest(input *UpdateFindingsFeedbackInput) (req *request.Request, output *UpdateFindingsFeedbackOutput) { + op := &request.Operation{ + Name: opUpdateFindingsFeedback, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/findings/feedback", + } + + if input == nil { + input = &UpdateFindingsFeedbackInput{} + } + + output = &UpdateFindingsFeedbackOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateFindingsFeedback API operation for Amazon GuardDuty. +// +// Marks specified Amazon GuardDuty findings as useful or not useful. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation UpdateFindingsFeedback for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedback +func (c *GuardDuty) UpdateFindingsFeedback(input *UpdateFindingsFeedbackInput) (*UpdateFindingsFeedbackOutput, error) { + req, out := c.UpdateFindingsFeedbackRequest(input) + return out, req.Send() +} + +// UpdateFindingsFeedbackWithContext is the same as UpdateFindingsFeedback with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateFindingsFeedback for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) UpdateFindingsFeedbackWithContext(ctx aws.Context, input *UpdateFindingsFeedbackInput, opts ...request.Option) (*UpdateFindingsFeedbackOutput, error) { + req, out := c.UpdateFindingsFeedbackRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateIPSet = "UpdateIPSet" + +// UpdateIPSetRequest generates a "aws/request.Request" representing the +// client's request for the UpdateIPSet operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateIPSet for more information on using the UpdateIPSet +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateIPSetRequest method. +// req, resp := client.UpdateIPSetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSet +func (c *GuardDuty) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Request, output *UpdateIPSetOutput) { + op := &request.Operation{ + Name: opUpdateIPSet, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/ipset/{ipSetId}", + } + + if input == nil { + input = &UpdateIPSetInput{} + } + + output = &UpdateIPSetOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateIPSet API operation for Amazon GuardDuty. +// +// Updates the IPSet specified by the IPSet ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation UpdateIPSet for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSet +func (c *GuardDuty) UpdateIPSet(input *UpdateIPSetInput) (*UpdateIPSetOutput, error) { + req, out := c.UpdateIPSetRequest(input) + return out, req.Send() +} + +// UpdateIPSetWithContext is the same as UpdateIPSet with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateIPSet for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) UpdateIPSetWithContext(ctx aws.Context, input *UpdateIPSetInput, opts ...request.Option) (*UpdateIPSetOutput, error) { + req, out := c.UpdateIPSetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateThreatIntelSet = "UpdateThreatIntelSet" + +// UpdateThreatIntelSetRequest generates a "aws/request.Request" representing the +// client's request for the UpdateThreatIntelSet operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateThreatIntelSet for more information on using the UpdateThreatIntelSet +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateThreatIntelSetRequest method. +// req, resp := client.UpdateThreatIntelSetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSet +func (c *GuardDuty) UpdateThreatIntelSetRequest(input *UpdateThreatIntelSetInput) (req *request.Request, output *UpdateThreatIntelSetOutput) { + op := &request.Operation{ + Name: opUpdateThreatIntelSet, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/threatintelset/{threatIntelSetId}", + } + + if input == nil { + input = &UpdateThreatIntelSetInput{} + } + + output = &UpdateThreatIntelSetOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateThreatIntelSet API operation for Amazon GuardDuty. +// +// Updates the ThreatIntelSet specified by ThreatIntelSet ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation UpdateThreatIntelSet for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Error response object. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Error response object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSet +func (c *GuardDuty) UpdateThreatIntelSet(input *UpdateThreatIntelSetInput) (*UpdateThreatIntelSetOutput, error) { + req, out := c.UpdateThreatIntelSetRequest(input) + return out, req.Send() +} + +// UpdateThreatIntelSetWithContext is the same as UpdateThreatIntelSet with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateThreatIntelSet for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) UpdateThreatIntelSetWithContext(ctx aws.Context, input *UpdateThreatIntelSetInput, opts ...request.Option) (*UpdateThreatIntelSetOutput, error) { + req, out := c.UpdateThreatIntelSetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// AcceptInvitation request body. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitationRequest +type AcceptInvitationInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // This value is used to validate the master account to the member account. + InvitationId *string `locationName:"invitationId" type:"string"` + + // The account ID of the master GuardDuty account whose invitation you're accepting. + MasterId *string `locationName:"masterId" type:"string"` +} + +// String returns the string representation +func (s AcceptInvitationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AcceptInvitationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AcceptInvitationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AcceptInvitationInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *AcceptInvitationInput) SetDetectorId(v string) *AcceptInvitationInput { + s.DetectorId = &v + return s +} + +// SetInvitationId sets the InvitationId field's value. +func (s *AcceptInvitationInput) SetInvitationId(v string) *AcceptInvitationInput { + s.InvitationId = &v + return s +} + +// SetMasterId sets the MasterId field's value. +func (s *AcceptInvitationInput) SetMasterId(v string) *AcceptInvitationInput { + s.MasterId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitationResponse +type AcceptInvitationOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AcceptInvitationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AcceptInvitationOutput) GoString() string { + return s.String() +} + +// An object containing the member's accountId and email address. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccountDetail +type AccountDetail struct { + _ struct{} `type:"structure"` + + // Member account ID. + AccountId *string `locationName:"accountId" type:"string"` + + // Member account's email address. + Email *string `locationName:"email" type:"string"` +} + +// String returns the string representation +func (s AccountDetail) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AccountDetail) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *AccountDetail) SetAccountId(v string) *AccountDetail { + s.AccountId = &v + return s +} + +// SetEmail sets the Email field's value. +func (s *AccountDetail) SetEmail(v string) *AccountDetail { + s.Email = &v + return s +} + +// Information about the activity described in a finding. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Action +type Action struct { + _ struct{} `type:"structure"` + + // GuardDuty Finding activity type. + ActionType *string `locationName:"actionType" type:"string"` + + // Information about the AWS_API_CALL action described in this finding. + AwsApiCallAction *AwsApiCallAction `locationName:"awsApiCallAction" type:"structure"` + + // Information about the DNS_REQUEST action described in this finding. + DnsRequestAction *DnsRequestAction `locationName:"dnsRequestAction" type:"structure"` + + // Information about the NETWORK_CONNECTION action described in this finding. + NetworkConnectionAction *NetworkConnectionAction `locationName:"networkConnectionAction" type:"structure"` +} + +// String returns the string representation +func (s Action) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Action) GoString() string { + return s.String() +} + +// SetActionType sets the ActionType field's value. +func (s *Action) SetActionType(v string) *Action { + s.ActionType = &v + return s +} + +// SetAwsApiCallAction sets the AwsApiCallAction field's value. +func (s *Action) SetAwsApiCallAction(v *AwsApiCallAction) *Action { + s.AwsApiCallAction = v + return s +} + +// SetDnsRequestAction sets the DnsRequestAction field's value. +func (s *Action) SetDnsRequestAction(v *DnsRequestAction) *Action { + s.DnsRequestAction = v + return s +} + +// SetNetworkConnectionAction sets the NetworkConnectionAction field's value. +func (s *Action) SetNetworkConnectionAction(v *NetworkConnectionAction) *Action { + s.NetworkConnectionAction = v + return s +} + +// Archive Findings Request +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindingsRequest +type ArchiveFindingsInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // IDs of the findings that you want to archive. + FindingIds []*string `locationName:"findingIds" type:"list"` +} + +// String returns the string representation +func (s ArchiveFindingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ArchiveFindingsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ArchiveFindingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ArchiveFindingsInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *ArchiveFindingsInput) SetDetectorId(v string) *ArchiveFindingsInput { + s.DetectorId = &v + return s +} + +// SetFindingIds sets the FindingIds field's value. +func (s *ArchiveFindingsInput) SetFindingIds(v []*string) *ArchiveFindingsInput { + s.FindingIds = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindingsResponse +type ArchiveFindingsOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s ArchiveFindingsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ArchiveFindingsOutput) GoString() string { + return s.String() +} + +// Information about the AWS_API_CALL action described in this finding. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AwsApiCallAction +type AwsApiCallAction struct { + _ struct{} `type:"structure"` + + // AWS API name. + Api *string `locationName:"api" type:"string"` + + // AWS API caller type. + CallerType *string `locationName:"callerType" type:"string"` + + // Domain information for the AWS API call. + DomainDetails *DomainDetails `locationName:"domainDetails" type:"structure"` + + // Remote IP information of the connection. + RemoteIpDetails *RemoteIpDetails `locationName:"remoteIpDetails" type:"structure"` + + // AWS service name whose API was invoked. + ServiceName *string `locationName:"serviceName" type:"string"` +} + +// String returns the string representation +func (s AwsApiCallAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AwsApiCallAction) GoString() string { + return s.String() +} + +// SetApi sets the Api field's value. +func (s *AwsApiCallAction) SetApi(v string) *AwsApiCallAction { + s.Api = &v + return s +} + +// SetCallerType sets the CallerType field's value. +func (s *AwsApiCallAction) SetCallerType(v string) *AwsApiCallAction { + s.CallerType = &v + return s +} + +// SetDomainDetails sets the DomainDetails field's value. +func (s *AwsApiCallAction) SetDomainDetails(v *DomainDetails) *AwsApiCallAction { + s.DomainDetails = v + return s +} + +// SetRemoteIpDetails sets the RemoteIpDetails field's value. +func (s *AwsApiCallAction) SetRemoteIpDetails(v *RemoteIpDetails) *AwsApiCallAction { + s.RemoteIpDetails = v + return s +} + +// SetServiceName sets the ServiceName field's value. +func (s *AwsApiCallAction) SetServiceName(v string) *AwsApiCallAction { + s.ServiceName = &v + return s +} + +// City information of the remote IP address. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/City +type City struct { + _ struct{} `type:"structure"` + + // City name of the remote IP address. + CityName *string `locationName:"cityName" type:"string"` +} + +// String returns the string representation +func (s City) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s City) GoString() string { + return s.String() +} + +// SetCityName sets the CityName field's value. +func (s *City) SetCityName(v string) *City { + s.CityName = &v + return s +} + +// Finding attribute (for example, accountId) for which conditions and values +// must be specified when querying findings. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Condition +type Condition struct { + _ struct{} `type:"structure"` + + // Represents the equal condition to be applied to a single field when querying + // for findings. + Eq []*string `locationName:"eq" type:"list"` + + // Represents the greater than condition to be applied to a single field when + // querying for findings. + Gt *int64 `locationName:"gt" type:"integer"` + + // Represents the greater than equal condition to be applied to a single field + // when querying for findings. + Gte *int64 `locationName:"gte" type:"integer"` + + // Represents the less than condition to be applied to a single field when querying + // for findings. + Lt *int64 `locationName:"lt" type:"integer"` + + // Represents the less than equal condition to be applied to a single field + // when querying for findings. + Lte *int64 `locationName:"lte" type:"integer"` + + // Represents the not equal condition to be applied to a single field when querying + // for findings. + Neq []*string `locationName:"neq" type:"list"` +} + +// String returns the string representation +func (s Condition) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Condition) GoString() string { + return s.String() +} + +// SetEq sets the Eq field's value. +func (s *Condition) SetEq(v []*string) *Condition { + s.Eq = v + return s +} + +// SetGt sets the Gt field's value. +func (s *Condition) SetGt(v int64) *Condition { + s.Gt = &v + return s +} + +// SetGte sets the Gte field's value. +func (s *Condition) SetGte(v int64) *Condition { + s.Gte = &v + return s +} + +// SetLt sets the Lt field's value. +func (s *Condition) SetLt(v int64) *Condition { + s.Lt = &v + return s +} + +// SetLte sets the Lte field's value. +func (s *Condition) SetLte(v int64) *Condition { + s.Lte = &v + return s +} + +// SetNeq sets the Neq field's value. +func (s *Condition) SetNeq(v []*string) *Condition { + s.Neq = v + return s +} + +// Country information of the remote IP address. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Country +type Country struct { + _ struct{} `type:"structure"` + + // Country code of the remote IP address. + CountryCode *string `locationName:"countryCode" type:"string"` + + // Country name of the remote IP address. + CountryName *string `locationName:"countryName" type:"string"` +} + +// String returns the string representation +func (s Country) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Country) GoString() string { + return s.String() +} + +// SetCountryCode sets the CountryCode field's value. +func (s *Country) SetCountryCode(v string) *Country { + s.CountryCode = &v + return s +} + +// SetCountryName sets the CountryName field's value. +func (s *Country) SetCountryName(v string) *Country { + s.CountryName = &v + return s +} + +// Create Detector Request +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorRequest +type CreateDetectorInput struct { + _ struct{} `type:"structure"` + + // A boolean value that specifies whether the detector is to be enabled. + Enable *bool `locationName:"enable" type:"boolean"` +} + +// String returns the string representation +func (s CreateDetectorInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDetectorInput) GoString() string { + return s.String() +} + +// SetEnable sets the Enable field's value. +func (s *CreateDetectorInput) SetEnable(v bool) *CreateDetectorInput { + s.Enable = &v + return s +} + +// CreateDetector response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorResponse +type CreateDetectorOutput struct { + _ struct{} `type:"structure"` + + // The unique ID of the created detector. + DetectorId *string `locationName:"detectorId" type:"string"` +} + +// String returns the string representation +func (s CreateDetectorOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDetectorOutput) GoString() string { + return s.String() +} + +// SetDetectorId sets the DetectorId field's value. +func (s *CreateDetectorOutput) SetDetectorId(v string) *CreateDetectorOutput { + s.DetectorId = &v + return s +} + +// Create IP Set Request +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSetRequest +type CreateIPSetInput struct { + _ struct{} `type:"structure"` + + // A boolean value that indicates whether GuardDuty is to start using the uploaded + // IPSet. + Activate *bool `locationName:"activate" type:"boolean"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // The format of the file that contains the IPSet. + Format *string `locationName:"format" type:"string" enum:"IpSetFormat"` + + // The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key) + Location *string `locationName:"location" type:"string"` + + // The user friendly name to identify the IPSet. This name is displayed in all + // findings that are triggered by activity that involves IP addresses included + // in this IPSet. + Name *string `locationName:"name" type:"string"` +} + +// String returns the string representation +func (s CreateIPSetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateIPSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateIPSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateIPSetInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActivate sets the Activate field's value. +func (s *CreateIPSetInput) SetActivate(v bool) *CreateIPSetInput { + s.Activate = &v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *CreateIPSetInput) SetDetectorId(v string) *CreateIPSetInput { + s.DetectorId = &v + return s +} + +// SetFormat sets the Format field's value. +func (s *CreateIPSetInput) SetFormat(v string) *CreateIPSetInput { + s.Format = &v + return s +} + +// SetLocation sets the Location field's value. +func (s *CreateIPSetInput) SetLocation(v string) *CreateIPSetInput { + s.Location = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateIPSetInput) SetName(v string) *CreateIPSetInput { + s.Name = &v + return s +} + +// CreateIPSet response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSetResponse +type CreateIPSetOutput struct { + _ struct{} `type:"structure"` + + // The unique identifier for an IP Set + IpSetId *string `locationName:"ipSetId" type:"string"` +} + +// String returns the string representation +func (s CreateIPSetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateIPSetOutput) GoString() string { + return s.String() +} + +// SetIpSetId sets the IpSetId field's value. +func (s *CreateIPSetOutput) SetIpSetId(v string) *CreateIPSetOutput { + s.IpSetId = &v + return s +} + +// CreateMembers body +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembersRequest +type CreateMembersInput struct { + _ struct{} `type:"structure"` + + // A list of account ID and email address pairs of the accounts that you want + // to associate with the master GuardDuty account. + AccountDetails []*AccountDetail `locationName:"accountDetails" type:"list"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateMembersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateMembersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateMembersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateMembersInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountDetails sets the AccountDetails field's value. +func (s *CreateMembersInput) SetAccountDetails(v []*AccountDetail) *CreateMembersInput { + s.AccountDetails = v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *CreateMembersInput) SetDetectorId(v string) *CreateMembersInput { + s.DetectorId = &v + return s +} + +// CreateMembers response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembersResponse +type CreateMembersOutput struct { + _ struct{} `type:"structure"` + + // A list of objects containing the unprocessed account and a result string + // explaining why it was unprocessed. + UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` +} + +// String returns the string representation +func (s CreateMembersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateMembersOutput) GoString() string { + return s.String() +} + +// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. +func (s *CreateMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *CreateMembersOutput { + s.UnprocessedAccounts = v + return s +} + +// Create Sample Findings Request +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindingsRequest +type CreateSampleFindingsInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // Types of sample findings that you want to generate. + FindingTypes []*string `locationName:"findingTypes" type:"list"` +} + +// String returns the string representation +func (s CreateSampleFindingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateSampleFindingsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateSampleFindingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateSampleFindingsInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *CreateSampleFindingsInput) SetDetectorId(v string) *CreateSampleFindingsInput { + s.DetectorId = &v + return s +} + +// SetFindingTypes sets the FindingTypes field's value. +func (s *CreateSampleFindingsInput) SetFindingTypes(v []*string) *CreateSampleFindingsInput { + s.FindingTypes = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindingsResponse +type CreateSampleFindingsOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s CreateSampleFindingsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateSampleFindingsOutput) GoString() string { + return s.String() +} + +// Create Threat Intel Set Request +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSetRequest +type CreateThreatIntelSetInput struct { + _ struct{} `type:"structure"` + + // A boolean value that indicates whether GuardDuty is to start using the uploaded + // ThreatIntelSet. + Activate *bool `locationName:"activate" type:"boolean"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // The format of the file that contains the ThreatIntelSet. + Format *string `locationName:"format" type:"string" enum:"ThreatIntelSetFormat"` + + // The URI of the file that contains the ThreatIntelSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key). + Location *string `locationName:"location" type:"string"` + + // A user-friendly ThreatIntelSet name that is displayed in all finding generated + // by activity that involves IP addresses included in this ThreatIntelSet. + Name *string `locationName:"name" type:"string"` +} + +// String returns the string representation +func (s CreateThreatIntelSetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateThreatIntelSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateThreatIntelSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateThreatIntelSetInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActivate sets the Activate field's value. +func (s *CreateThreatIntelSetInput) SetActivate(v bool) *CreateThreatIntelSetInput { + s.Activate = &v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *CreateThreatIntelSetInput) SetDetectorId(v string) *CreateThreatIntelSetInput { + s.DetectorId = &v + return s +} + +// SetFormat sets the Format field's value. +func (s *CreateThreatIntelSetInput) SetFormat(v string) *CreateThreatIntelSetInput { + s.Format = &v + return s +} + +// SetLocation sets the Location field's value. +func (s *CreateThreatIntelSetInput) SetLocation(v string) *CreateThreatIntelSetInput { + s.Location = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateThreatIntelSetInput) SetName(v string) *CreateThreatIntelSetInput { + s.Name = &v + return s +} + +// CreateThreatIntelSet response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSetResponse +type CreateThreatIntelSetOutput struct { + _ struct{} `type:"structure"` + + // The unique identifier for an threat intel set + ThreatIntelSetId *string `locationName:"threatIntelSetId" type:"string"` +} + +// String returns the string representation +func (s CreateThreatIntelSetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateThreatIntelSetOutput) GoString() string { + return s.String() +} + +// SetThreatIntelSetId sets the ThreatIntelSetId field's value. +func (s *CreateThreatIntelSetOutput) SetThreatIntelSetId(v string) *CreateThreatIntelSetOutput { + s.ThreatIntelSetId = &v + return s +} + +// DeclineInvitations request body. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitationsRequest +type DeclineInvitationsInput struct { + _ struct{} `type:"structure"` + + // A list of account IDs of the AWS accounts that sent invitations to the current + // member account that you want to decline invitations from. + AccountIds []*string `locationName:"accountIds" type:"list"` +} + +// String returns the string representation +func (s DeclineInvitationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeclineInvitationsInput) GoString() string { + return s.String() +} + +// SetAccountIds sets the AccountIds field's value. +func (s *DeclineInvitationsInput) SetAccountIds(v []*string) *DeclineInvitationsInput { + s.AccountIds = v + return s +} + +// DeclineInvitations response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitationsResponse +type DeclineInvitationsOutput struct { + _ struct{} `type:"structure"` + + // A list of objects containing the unprocessed account and a result string + // explaining why it was unprocessed. + UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` +} + +// String returns the string representation +func (s DeclineInvitationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeclineInvitationsOutput) GoString() string { + return s.String() +} + +// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. +func (s *DeclineInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeclineInvitationsOutput { + s.UnprocessedAccounts = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetectorRequest +type DeleteDetectorInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteDetectorInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteDetectorInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteDetectorInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteDetectorInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *DeleteDetectorInput) SetDetectorId(v string) *DeleteDetectorInput { + s.DetectorId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetectorResponse +type DeleteDetectorOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteDetectorOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteDetectorOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSetRequest +type DeleteIPSetInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // IpSetId is a required field + IpSetId *string `location:"uri" locationName:"ipSetId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteIPSetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteIPSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteIPSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteIPSetInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + if s.IpSetId == nil { + invalidParams.Add(request.NewErrParamRequired("IpSetId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *DeleteIPSetInput) SetDetectorId(v string) *DeleteIPSetInput { + s.DetectorId = &v + return s +} + +// SetIpSetId sets the IpSetId field's value. +func (s *DeleteIPSetInput) SetIpSetId(v string) *DeleteIPSetInput { + s.IpSetId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSetResponse +type DeleteIPSetOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteIPSetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteIPSetOutput) GoString() string { + return s.String() +} + +// DeleteInvitations request body. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitationsRequest +type DeleteInvitationsInput struct { + _ struct{} `type:"structure"` + + // A list of account IDs of the AWS accounts that sent invitations to the current + // member account that you want to delete invitations from. + AccountIds []*string `locationName:"accountIds" type:"list"` +} + +// String returns the string representation +func (s DeleteInvitationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteInvitationsInput) GoString() string { + return s.String() +} + +// SetAccountIds sets the AccountIds field's value. +func (s *DeleteInvitationsInput) SetAccountIds(v []*string) *DeleteInvitationsInput { + s.AccountIds = v + return s +} + +// DeleteInvitations response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitationsResponse +type DeleteInvitationsOutput struct { + _ struct{} `type:"structure"` + + // A list of objects containing the unprocessed account and a result string + // explaining why it was unprocessed. + UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` +} + +// String returns the string representation +func (s DeleteInvitationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteInvitationsOutput) GoString() string { + return s.String() +} + +// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. +func (s *DeleteInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeleteInvitationsOutput { + s.UnprocessedAccounts = v + return s +} + +// DeleteMembers request body. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembersRequest +type DeleteMembersInput struct { + _ struct{} `type:"structure"` + + // A list of account IDs of the GuardDuty member accounts that you want to delete. + AccountIds []*string `locationName:"accountIds" type:"list"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteMembersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteMembersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteMembersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteMembersInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountIds sets the AccountIds field's value. +func (s *DeleteMembersInput) SetAccountIds(v []*string) *DeleteMembersInput { + s.AccountIds = v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *DeleteMembersInput) SetDetectorId(v string) *DeleteMembersInput { + s.DetectorId = &v + return s +} + +// DeleteMembers response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembersResponse +type DeleteMembersOutput struct { + _ struct{} `type:"structure"` + + // A list of objects containing the unprocessed account and a result string + // explaining why it was unprocessed. + UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` +} + +// String returns the string representation +func (s DeleteMembersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteMembersOutput) GoString() string { + return s.String() +} + +// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. +func (s *DeleteMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DeleteMembersOutput { + s.UnprocessedAccounts = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSetRequest +type DeleteThreatIntelSetInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // ThreatIntelSetId is a required field + ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteThreatIntelSetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteThreatIntelSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteThreatIntelSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteThreatIntelSetInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + if s.ThreatIntelSetId == nil { + invalidParams.Add(request.NewErrParamRequired("ThreatIntelSetId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *DeleteThreatIntelSetInput) SetDetectorId(v string) *DeleteThreatIntelSetInput { + s.DetectorId = &v + return s +} + +// SetThreatIntelSetId sets the ThreatIntelSetId field's value. +func (s *DeleteThreatIntelSetInput) SetThreatIntelSetId(v string) *DeleteThreatIntelSetInput { + s.ThreatIntelSetId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSetResponse +type DeleteThreatIntelSetOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteThreatIntelSetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteThreatIntelSetOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccountRequest +type DisassociateFromMasterAccountInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DisassociateFromMasterAccountInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisassociateFromMasterAccountInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DisassociateFromMasterAccountInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisassociateFromMasterAccountInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *DisassociateFromMasterAccountInput) SetDetectorId(v string) *DisassociateFromMasterAccountInput { + s.DetectorId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccountResponse +type DisassociateFromMasterAccountOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DisassociateFromMasterAccountOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisassociateFromMasterAccountOutput) GoString() string { + return s.String() +} + +// DisassociateMembers request body. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembersRequest +type DisassociateMembersInput struct { + _ struct{} `type:"structure"` + + // A list of account IDs of the GuardDuty member accounts that you want to disassociate + // from master. + AccountIds []*string `locationName:"accountIds" type:"list"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DisassociateMembersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisassociateMembersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DisassociateMembersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisassociateMembersInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountIds sets the AccountIds field's value. +func (s *DisassociateMembersInput) SetAccountIds(v []*string) *DisassociateMembersInput { + s.AccountIds = v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *DisassociateMembersInput) SetDetectorId(v string) *DisassociateMembersInput { + s.DetectorId = &v + return s +} + +// DisassociateMembers response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembersResponse +type DisassociateMembersOutput struct { + _ struct{} `type:"structure"` + + // A list of objects containing the unprocessed account and a result string + // explaining why it was unprocessed. + UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` +} + +// String returns the string representation +func (s DisassociateMembersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisassociateMembersOutput) GoString() string { + return s.String() +} + +// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. +func (s *DisassociateMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *DisassociateMembersOutput { + s.UnprocessedAccounts = v + return s +} + +// Information about the DNS_REQUEST action described in this finding. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DnsRequestAction +type DnsRequestAction struct { + _ struct{} `type:"structure"` + + // Domain information for the DNS request. + Domain *string `locationName:"domain" type:"string"` +} + +// String returns the string representation +func (s DnsRequestAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DnsRequestAction) GoString() string { + return s.String() +} + +// SetDomain sets the Domain field's value. +func (s *DnsRequestAction) SetDomain(v string) *DnsRequestAction { + s.Domain = &v + return s +} + +// Domain information for the AWS API call. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DomainDetails +type DomainDetails struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DomainDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DomainDetails) GoString() string { + return s.String() +} + +// Representation of a abnormal or suspicious activity. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Finding +type Finding struct { + _ struct{} `type:"structure"` + + // AWS account ID where the activity occurred that prompted GuardDuty to generate + // a finding. + AccountId *string `locationName:"accountId" type:"string"` + + // The ARN of a finding described by the action. + Arn *string `locationName:"arn" type:"string"` + + // The confidence level of a finding. + Confidence *float64 `locationName:"confidence" type:"double"` + + // The time stamp at which a finding was generated. + CreatedAt *string `locationName:"createdAt" type:"string"` + + // The description of a finding. + Description *string `locationName:"description" type:"string"` + + // The identifier that corresponds to a finding described by the action. + Id *string `locationName:"id" type:"string"` + + // The AWS resource partition. + Partition *string `locationName:"partition" type:"string"` + + // The AWS region where the activity occurred that prompted GuardDuty to generate + // a finding. + Region *string `locationName:"region" type:"string"` + + // The AWS resource associated with the activity that prompted GuardDuty to + // generate a finding. + Resource *Resource `locationName:"resource" type:"structure"` + + // Findings' schema version. + SchemaVersion *string `locationName:"schemaVersion" type:"string"` + + // Additional information assigned to the generated finding by GuardDuty. + Service *Service `locationName:"service" type:"structure"` + + // The severity of a finding. + Severity *float64 `locationName:"severity" type:"double"` + + // The title of a finding. + Title *string `locationName:"title" type:"string"` + + // The type of a finding described by the action. + Type *string `locationName:"type" type:"string"` + + // The time stamp at which a finding was last updated. + UpdatedAt *string `locationName:"updatedAt" type:"string"` +} + +// String returns the string representation +func (s Finding) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Finding) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *Finding) SetAccountId(v string) *Finding { + s.AccountId = &v + return s +} + +// SetArn sets the Arn field's value. +func (s *Finding) SetArn(v string) *Finding { + s.Arn = &v + return s +} + +// SetConfidence sets the Confidence field's value. +func (s *Finding) SetConfidence(v float64) *Finding { + s.Confidence = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *Finding) SetCreatedAt(v string) *Finding { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Finding) SetDescription(v string) *Finding { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *Finding) SetId(v string) *Finding { + s.Id = &v + return s +} + +// SetPartition sets the Partition field's value. +func (s *Finding) SetPartition(v string) *Finding { + s.Partition = &v + return s +} + +// SetRegion sets the Region field's value. +func (s *Finding) SetRegion(v string) *Finding { + s.Region = &v + return s +} + +// SetResource sets the Resource field's value. +func (s *Finding) SetResource(v *Resource) *Finding { + s.Resource = v + return s +} + +// SetSchemaVersion sets the SchemaVersion field's value. +func (s *Finding) SetSchemaVersion(v string) *Finding { + s.SchemaVersion = &v + return s +} + +// SetService sets the Service field's value. +func (s *Finding) SetService(v *Service) *Finding { + s.Service = v + return s +} + +// SetSeverity sets the Severity field's value. +func (s *Finding) SetSeverity(v float64) *Finding { + s.Severity = &v + return s +} + +// SetTitle sets the Title field's value. +func (s *Finding) SetTitle(v string) *Finding { + s.Title = &v + return s +} + +// SetType sets the Type field's value. +func (s *Finding) SetType(v string) *Finding { + s.Type = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *Finding) SetUpdatedAt(v string) *Finding { + s.UpdatedAt = &v + return s +} + +// Represents the criteria used for querying findings. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FindingCriteria +type FindingCriteria struct { + _ struct{} `type:"structure"` + + // Represents a map of finding properties that match specified conditions and + // values when querying findings. + Criterion map[string]*Condition `locationName:"criterion" type:"map"` +} + +// String returns the string representation +func (s FindingCriteria) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s FindingCriteria) GoString() string { + return s.String() +} + +// SetCriterion sets the Criterion field's value. +func (s *FindingCriteria) SetCriterion(v map[string]*Condition) *FindingCriteria { + s.Criterion = v + return s +} + +// Finding statistics object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FindingStatistics +type FindingStatistics struct { + _ struct{} `type:"structure"` + + // Represents a map of severity to count statistic for a set of findings + CountBySeverity map[string]*int64 `locationName:"countBySeverity" type:"map"` +} + +// String returns the string representation +func (s FindingStatistics) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s FindingStatistics) GoString() string { + return s.String() +} + +// SetCountBySeverity sets the CountBySeverity field's value. +func (s *FindingStatistics) SetCountBySeverity(v map[string]*int64) *FindingStatistics { + s.CountBySeverity = v + return s +} + +// Location information of the remote IP address. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GeoLocation +type GeoLocation struct { + _ struct{} `type:"structure"` + + // Latitude information of remote IP address. + Lat *float64 `locationName:"lat" type:"double"` + + // Longitude information of remote IP address. + Lon *float64 `locationName:"lon" type:"double"` +} + +// String returns the string representation +func (s GeoLocation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GeoLocation) GoString() string { + return s.String() +} + +// SetLat sets the Lat field's value. +func (s *GeoLocation) SetLat(v float64) *GeoLocation { + s.Lat = &v + return s +} + +// SetLon sets the Lon field's value. +func (s *GeoLocation) SetLon(v float64) *GeoLocation { + s.Lon = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorRequest +type GetDetectorInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetDetectorInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetDetectorInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetDetectorInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetDetectorInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *GetDetectorInput) SetDetectorId(v string) *GetDetectorInput { + s.DetectorId = &v + return s +} + +// GetDetector response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorResponse +type GetDetectorOutput struct { + _ struct{} `type:"structure"` + + // The first time a resource was created. The format will be ISO-8601. + CreatedAt *string `locationName:"createdAt" type:"string"` + + // Customer serviceRole name or ARN for accessing customer resources + ServiceRole *string `locationName:"serviceRole" type:"string"` + + // The status of detector. + Status *string `locationName:"status" type:"string" enum:"DetectorStatus"` + + // The first time a resource was created. The format will be ISO-8601. + UpdatedAt *string `locationName:"updatedAt" type:"string"` +} + +// String returns the string representation +func (s GetDetectorOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetDetectorOutput) GoString() string { + return s.String() +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetDetectorOutput) SetCreatedAt(v string) *GetDetectorOutput { + s.CreatedAt = &v + return s +} + +// SetServiceRole sets the ServiceRole field's value. +func (s *GetDetectorOutput) SetServiceRole(v string) *GetDetectorOutput { + s.ServiceRole = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetDetectorOutput) SetStatus(v string) *GetDetectorOutput { + s.Status = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *GetDetectorOutput) SetUpdatedAt(v string) *GetDetectorOutput { + s.UpdatedAt = &v + return s +} + +// Get Findings Request +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsRequest +type GetFindingsInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // IDs of the findings that you want to retrieve. + FindingIds []*string `locationName:"findingIds" type:"list"` + + // Represents the criteria used for sorting findings. + SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"` +} + +// String returns the string representation +func (s GetFindingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetFindingsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetFindingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetFindingsInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *GetFindingsInput) SetDetectorId(v string) *GetFindingsInput { + s.DetectorId = &v + return s +} + +// SetFindingIds sets the FindingIds field's value. +func (s *GetFindingsInput) SetFindingIds(v []*string) *GetFindingsInput { + s.FindingIds = v + return s +} + +// SetSortCriteria sets the SortCriteria field's value. +func (s *GetFindingsInput) SetSortCriteria(v *SortCriteria) *GetFindingsInput { + s.SortCriteria = v + return s +} + +// GetFindings response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsResponse +type GetFindingsOutput struct { + _ struct{} `type:"structure"` + + // A list of findings. + Findings []*Finding `locationName:"findings" type:"list"` +} + +// String returns the string representation +func (s GetFindingsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetFindingsOutput) GoString() string { + return s.String() +} + +// SetFindings sets the Findings field's value. +func (s *GetFindingsOutput) SetFindings(v []*Finding) *GetFindingsOutput { + s.Findings = v + return s +} + +// Get Findings Statistics Request +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatisticsRequest +type GetFindingsStatisticsInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // Represents the criteria used for querying findings. + FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"` + + // Types of finding statistics to retrieve. + FindingStatisticTypes []*string `locationName:"findingStatisticTypes" type:"list"` +} + +// String returns the string representation +func (s GetFindingsStatisticsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetFindingsStatisticsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetFindingsStatisticsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetFindingsStatisticsInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *GetFindingsStatisticsInput) SetDetectorId(v string) *GetFindingsStatisticsInput { + s.DetectorId = &v + return s +} + +// SetFindingCriteria sets the FindingCriteria field's value. +func (s *GetFindingsStatisticsInput) SetFindingCriteria(v *FindingCriteria) *GetFindingsStatisticsInput { + s.FindingCriteria = v + return s +} + +// SetFindingStatisticTypes sets the FindingStatisticTypes field's value. +func (s *GetFindingsStatisticsInput) SetFindingStatisticTypes(v []*string) *GetFindingsStatisticsInput { + s.FindingStatisticTypes = v + return s +} + +// GetFindingsStatistics response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatisticsResponse +type GetFindingsStatisticsOutput struct { + _ struct{} `type:"structure"` + + // Finding statistics object. + FindingStatistics *FindingStatistics `locationName:"findingStatistics" type:"structure"` +} + +// String returns the string representation +func (s GetFindingsStatisticsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetFindingsStatisticsOutput) GoString() string { + return s.String() +} + +// SetFindingStatistics sets the FindingStatistics field's value. +func (s *GetFindingsStatisticsOutput) SetFindingStatistics(v *FindingStatistics) *GetFindingsStatisticsOutput { + s.FindingStatistics = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSetRequest +type GetIPSetInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // IpSetId is a required field + IpSetId *string `location:"uri" locationName:"ipSetId" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetIPSetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetIPSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetIPSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetIPSetInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + if s.IpSetId == nil { + invalidParams.Add(request.NewErrParamRequired("IpSetId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *GetIPSetInput) SetDetectorId(v string) *GetIPSetInput { + s.DetectorId = &v + return s +} + +// SetIpSetId sets the IpSetId field's value. +func (s *GetIPSetInput) SetIpSetId(v string) *GetIPSetInput { + s.IpSetId = &v + return s +} + +// GetIPSet response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSetResponse +type GetIPSetOutput struct { + _ struct{} `type:"structure"` + + // The format of the file that contains the IPSet. + Format *string `locationName:"format" type:"string" enum:"IpSetFormat"` + + // The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key) + Location *string `locationName:"location" type:"string"` + + // The user friendly name to identify the IPSet. This name is displayed in all + // findings that are triggered by activity that involves IP addresses included + // in this IPSet. + Name *string `locationName:"name" type:"string"` + + // The status of ipSet file uploaded. + Status *string `locationName:"status" type:"string" enum:"IpSetStatus"` +} + +// String returns the string representation +func (s GetIPSetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetIPSetOutput) GoString() string { + return s.String() +} + +// SetFormat sets the Format field's value. +func (s *GetIPSetOutput) SetFormat(v string) *GetIPSetOutput { + s.Format = &v + return s +} + +// SetLocation sets the Location field's value. +func (s *GetIPSetOutput) SetLocation(v string) *GetIPSetOutput { + s.Location = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetIPSetOutput) SetName(v string) *GetIPSetOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetIPSetOutput) SetStatus(v string) *GetIPSetOutput { + s.Status = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCountRequest +type GetInvitationsCountInput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s GetInvitationsCountInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetInvitationsCountInput) GoString() string { + return s.String() +} + +// GetInvitationsCount response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCountResponse +type GetInvitationsCountOutput struct { + _ struct{} `type:"structure"` + + // The number of received invitations. + InvitationsCount *int64 `locationName:"invitationsCount" type:"integer"` +} + +// String returns the string representation +func (s GetInvitationsCountOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetInvitationsCountOutput) GoString() string { + return s.String() +} + +// SetInvitationsCount sets the InvitationsCount field's value. +func (s *GetInvitationsCountOutput) SetInvitationsCount(v int64) *GetInvitationsCountOutput { + s.InvitationsCount = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccountRequest +type GetMasterAccountInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetMasterAccountInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetMasterAccountInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetMasterAccountInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetMasterAccountInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *GetMasterAccountInput) SetDetectorId(v string) *GetMasterAccountInput { + s.DetectorId = &v + return s +} + +// GetMasterAccount response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccountResponse +type GetMasterAccountOutput struct { + _ struct{} `type:"structure"` + + // Contains details about the master account. + Master *Master `locationName:"master" type:"structure"` +} + +// String returns the string representation +func (s GetMasterAccountOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetMasterAccountOutput) GoString() string { + return s.String() +} + +// SetMaster sets the Master field's value. +func (s *GetMasterAccountOutput) SetMaster(v *Master) *GetMasterAccountOutput { + s.Master = v + return s +} + +// GetMembers request body. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembersRequest +type GetMembersInput struct { + _ struct{} `type:"structure"` + + // A list of account IDs of the GuardDuty member accounts that you want to describe. + AccountIds []*string `locationName:"accountIds" type:"list"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetMembersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetMembersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetMembersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetMembersInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountIds sets the AccountIds field's value. +func (s *GetMembersInput) SetAccountIds(v []*string) *GetMembersInput { + s.AccountIds = v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *GetMembersInput) SetDetectorId(v string) *GetMembersInput { + s.DetectorId = &v + return s +} + +// GetMembers response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembersResponse +type GetMembersOutput struct { + _ struct{} `type:"structure"` + + // A list of member descriptions. + Members []*Member `locationName:"members" type:"list"` + + // A list of objects containing the unprocessed account and a result string + // explaining why it was unprocessed. + UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` +} + +// String returns the string representation +func (s GetMembersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetMembersOutput) GoString() string { + return s.String() +} + +// SetMembers sets the Members field's value. +func (s *GetMembersOutput) SetMembers(v []*Member) *GetMembersOutput { + s.Members = v + return s +} + +// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. +func (s *GetMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *GetMembersOutput { + s.UnprocessedAccounts = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSetRequest +type GetThreatIntelSetInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // ThreatIntelSetId is a required field + ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetThreatIntelSetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetThreatIntelSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetThreatIntelSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetThreatIntelSetInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + if s.ThreatIntelSetId == nil { + invalidParams.Add(request.NewErrParamRequired("ThreatIntelSetId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *GetThreatIntelSetInput) SetDetectorId(v string) *GetThreatIntelSetInput { + s.DetectorId = &v + return s +} + +// SetThreatIntelSetId sets the ThreatIntelSetId field's value. +func (s *GetThreatIntelSetInput) SetThreatIntelSetId(v string) *GetThreatIntelSetInput { + s.ThreatIntelSetId = &v + return s +} + +// GetThreatIntelSet response object +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSetResponse +type GetThreatIntelSetOutput struct { + _ struct{} `type:"structure"` + + // The format of the threatIntelSet. + Format *string `locationName:"format" type:"string" enum:"ThreatIntelSetFormat"` + + // The URI of the file that contains the ThreatIntelSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key). + Location *string `locationName:"location" type:"string"` + + // A user-friendly ThreatIntelSet name that is displayed in all finding generated + // by activity that involves IP addresses included in this ThreatIntelSet. + Name *string `locationName:"name" type:"string"` + + // The status of threatIntelSet file uploaded. + Status *string `locationName:"status" type:"string" enum:"ThreatIntelSetStatus"` +} + +// String returns the string representation +func (s GetThreatIntelSetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetThreatIntelSetOutput) GoString() string { + return s.String() +} + +// SetFormat sets the Format field's value. +func (s *GetThreatIntelSetOutput) SetFormat(v string) *GetThreatIntelSetOutput { + s.Format = &v + return s +} + +// SetLocation sets the Location field's value. +func (s *GetThreatIntelSetOutput) SetLocation(v string) *GetThreatIntelSetOutput { + s.Location = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetThreatIntelSetOutput) SetName(v string) *GetThreatIntelSetOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetThreatIntelSetOutput) SetStatus(v string) *GetThreatIntelSetOutput { + s.Status = &v + return s +} + +// The profile information of the EC2 instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/IamInstanceProfile +type IamInstanceProfile struct { + _ struct{} `type:"structure"` + + // AWS EC2 instance profile ARN. + Arn *string `locationName:"arn" type:"string"` + + // AWS EC2 instance profile ID. + Id *string `locationName:"id" type:"string"` +} + +// String returns the string representation +func (s IamInstanceProfile) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s IamInstanceProfile) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *IamInstanceProfile) SetArn(v string) *IamInstanceProfile { + s.Arn = &v + return s +} + +// SetId sets the Id field's value. +func (s *IamInstanceProfile) SetId(v string) *IamInstanceProfile { + s.Id = &v + return s +} + +// The information about the EC2 instance associated with the activity that +// prompted GuardDuty to generate a finding. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InstanceDetails +type InstanceDetails struct { + _ struct{} `type:"structure"` + + // The availability zone of the EC2 instance. + AvailabilityZone *string `locationName:"availabilityZone" type:"string"` + + // The profile information of the EC2 instance. + IamInstanceProfile *IamInstanceProfile `locationName:"iamInstanceProfile" type:"structure"` + + // The image ID of the EC2 instance. + ImageId *string `locationName:"imageId" type:"string"` + + // The ID of the EC2 instance. + InstanceId *string `locationName:"instanceId" type:"string"` + + // The state of the EC2 instance. + InstanceState *string `locationName:"instanceState" type:"string"` + + // The type of the EC2 instance. + InstanceType *string `locationName:"instanceType" type:"string"` + + // The launch time of the EC2 instance. + LaunchTime *string `locationName:"launchTime" type:"string"` + + // The network interface information of the EC2 instance. + NetworkInterfaces []*NetworkInterface `locationName:"networkInterfaces" type:"list"` + + // The platform of the EC2 instance. + Platform *string `locationName:"platform" type:"string"` + + // The product code of the EC2 instance. + ProductCodes []*ProductCode `locationName:"productCodes" type:"list"` + + // The tags of the EC2 instance. + Tags []*Tag `locationName:"tags" type:"list"` +} + +// String returns the string representation +func (s InstanceDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InstanceDetails) GoString() string { + return s.String() +} + +// SetAvailabilityZone sets the AvailabilityZone field's value. +func (s *InstanceDetails) SetAvailabilityZone(v string) *InstanceDetails { + s.AvailabilityZone = &v + return s +} + +// SetIamInstanceProfile sets the IamInstanceProfile field's value. +func (s *InstanceDetails) SetIamInstanceProfile(v *IamInstanceProfile) *InstanceDetails { + s.IamInstanceProfile = v + return s +} + +// SetImageId sets the ImageId field's value. +func (s *InstanceDetails) SetImageId(v string) *InstanceDetails { + s.ImageId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *InstanceDetails) SetInstanceId(v string) *InstanceDetails { + s.InstanceId = &v + return s +} + +// SetInstanceState sets the InstanceState field's value. +func (s *InstanceDetails) SetInstanceState(v string) *InstanceDetails { + s.InstanceState = &v + return s +} + +// SetInstanceType sets the InstanceType field's value. +func (s *InstanceDetails) SetInstanceType(v string) *InstanceDetails { + s.InstanceType = &v + return s +} + +// SetLaunchTime sets the LaunchTime field's value. +func (s *InstanceDetails) SetLaunchTime(v string) *InstanceDetails { + s.LaunchTime = &v + return s +} + +// SetNetworkInterfaces sets the NetworkInterfaces field's value. +func (s *InstanceDetails) SetNetworkInterfaces(v []*NetworkInterface) *InstanceDetails { + s.NetworkInterfaces = v + return s +} + +// SetPlatform sets the Platform field's value. +func (s *InstanceDetails) SetPlatform(v string) *InstanceDetails { + s.Platform = &v + return s +} + +// SetProductCodes sets the ProductCodes field's value. +func (s *InstanceDetails) SetProductCodes(v []*ProductCode) *InstanceDetails { + s.ProductCodes = v + return s +} + +// SetTags sets the Tags field's value. +func (s *InstanceDetails) SetTags(v []*Tag) *InstanceDetails { + s.Tags = v + return s +} + +// Invitation from an AWS account to become the current account's master. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Invitation +type Invitation struct { + _ struct{} `type:"structure"` + + // Inviter account ID + AccountId *string `locationName:"accountId" type:"string"` + + // This value is used to validate the inviter account to the member account. + InvitationId *string `locationName:"invitationId" type:"string"` + + // Timestamp at which the invitation was sent + InvitedAt *string `locationName:"invitedAt" type:"string"` + + // The status of the relationship between the inviter and invitee accounts. + RelationshipStatus *string `locationName:"relationshipStatus" type:"string"` +} + +// String returns the string representation +func (s Invitation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Invitation) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *Invitation) SetAccountId(v string) *Invitation { + s.AccountId = &v + return s +} + +// SetInvitationId sets the InvitationId field's value. +func (s *Invitation) SetInvitationId(v string) *Invitation { + s.InvitationId = &v + return s +} + +// SetInvitedAt sets the InvitedAt field's value. +func (s *Invitation) SetInvitedAt(v string) *Invitation { + s.InvitedAt = &v + return s +} + +// SetRelationshipStatus sets the RelationshipStatus field's value. +func (s *Invitation) SetRelationshipStatus(v string) *Invitation { + s.RelationshipStatus = &v + return s +} + +// InviteMembers request body. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersRequest +type InviteMembersInput struct { + _ struct{} `type:"structure"` + + // A list of account IDs of the accounts that you want to invite to GuardDuty + // as members. + AccountIds []*string `locationName:"accountIds" type:"list"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // The invitation message that you want to send to the accounts that you're + // inviting to GuardDuty as members. + Message *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s InviteMembersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InviteMembersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *InviteMembersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InviteMembersInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountIds sets the AccountIds field's value. +func (s *InviteMembersInput) SetAccountIds(v []*string) *InviteMembersInput { + s.AccountIds = v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *InviteMembersInput) SetDetectorId(v string) *InviteMembersInput { + s.DetectorId = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *InviteMembersInput) SetMessage(v string) *InviteMembersInput { + s.Message = &v + return s +} + +// InviteMembers response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersResponse +type InviteMembersOutput struct { + _ struct{} `type:"structure"` + + // A list of objects containing the unprocessed account and a result string + // explaining why it was unprocessed. + UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` +} + +// String returns the string representation +func (s InviteMembersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InviteMembersOutput) GoString() string { + return s.String() +} + +// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. +func (s *InviteMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *InviteMembersOutput { + s.UnprocessedAccounts = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectorsRequest +type ListDetectorsInput struct { + _ struct{} `type:"structure"` + + // You can use this parameter to indicate the maximum number of items that you + // want in the response. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListDetectorsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListDetectorsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListDetectorsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListDetectorsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListDetectorsInput) SetMaxResults(v int64) *ListDetectorsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDetectorsInput) SetNextToken(v string) *ListDetectorsInput { + s.NextToken = &v + return s +} + +// ListDetectors response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectorsResponse +type ListDetectorsOutput struct { + _ struct{} `type:"structure"` + + // A list of detector Ids. + DetectorIds []*string `locationName:"detectorIds" type:"list"` + + // You can use this parameter when paginating results. Set the value of this + // parameter to null on your first call to the list action. For subsequent calls + // to the action fill nextToken in the request with the value of NextToken from + // the previous response to continue listing data. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListDetectorsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListDetectorsOutput) GoString() string { + return s.String() +} + +// SetDetectorIds sets the DetectorIds field's value. +func (s *ListDetectorsOutput) SetDetectorIds(v []*string) *ListDetectorsOutput { + s.DetectorIds = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDetectorsOutput) SetNextToken(v string) *ListDetectorsOutput { + s.NextToken = &v + return s +} + +// List Findings Request +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindingsRequest +type ListFindingsInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // Represents the criteria used for querying findings. + FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"` + + // You can use this parameter to indicate the maximum number of items you want + // in the response. The default value is 50. The maximum value is 50. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // You can use this parameter when paginating results. Set the value of this + // parameter to null on your first call to the ListFindings action. For subsequent + // calls to the action fill nextToken in the request with the value of nextToken + // from the previous response to continue listing data. + NextToken *string `locationName:"nextToken" type:"string"` + + // Represents the criteria used for sorting findings. + SortCriteria *SortCriteria `locationName:"sortCriteria" type:"structure"` +} + +// String returns the string representation +func (s ListFindingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListFindingsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListFindingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListFindingsInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *ListFindingsInput) SetDetectorId(v string) *ListFindingsInput { + s.DetectorId = &v + return s +} + +// SetFindingCriteria sets the FindingCriteria field's value. +func (s *ListFindingsInput) SetFindingCriteria(v *FindingCriteria) *ListFindingsInput { + s.FindingCriteria = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListFindingsInput) SetMaxResults(v int64) *ListFindingsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListFindingsInput) SetNextToken(v string) *ListFindingsInput { + s.NextToken = &v + return s +} + +// SetSortCriteria sets the SortCriteria field's value. +func (s *ListFindingsInput) SetSortCriteria(v *SortCriteria) *ListFindingsInput { + s.SortCriteria = v + return s +} + +// ListFindings response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindingsResponse +type ListFindingsOutput struct { + _ struct{} `type:"structure"` + + // The list of the Findings. + FindingIds []*string `locationName:"findingIds" type:"list"` + + // You can use this parameter when paginating results. Set the value of this + // parameter to null on your first call to the list action. For subsequent calls + // to the action fill nextToken in the request with the value of NextToken from + // the previous response to continue listing data. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListFindingsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListFindingsOutput) GoString() string { + return s.String() +} + +// SetFindingIds sets the FindingIds field's value. +func (s *ListFindingsOutput) SetFindingIds(v []*string) *ListFindingsOutput { + s.FindingIds = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListFindingsOutput) SetNextToken(v string) *ListFindingsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSetsRequest +type ListIPSetsInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // You can use this parameter to indicate the maximum number of items that you + // want in the response. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListIPSetsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListIPSetsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListIPSetsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListIPSetsInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *ListIPSetsInput) SetDetectorId(v string) *ListIPSetsInput { + s.DetectorId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListIPSetsInput) SetMaxResults(v int64) *ListIPSetsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListIPSetsInput) SetNextToken(v string) *ListIPSetsInput { + s.NextToken = &v + return s +} + +// ListIPSets response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSetsResponse +type ListIPSetsOutput struct { + _ struct{} `type:"structure"` + + // A list of the IP set IDs + IpSetIds []*string `locationName:"ipSetIds" type:"list"` + + // You can use this parameter when paginating results. Set the value of this + // parameter to null on your first call to the list action. For subsequent calls + // to the action fill nextToken in the request with the value of NextToken from + // the previous response to continue listing data. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListIPSetsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListIPSetsOutput) GoString() string { + return s.String() +} + +// SetIpSetIds sets the IpSetIds field's value. +func (s *ListIPSetsOutput) SetIpSetIds(v []*string) *ListIPSetsOutput { + s.IpSetIds = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListIPSetsOutput) SetNextToken(v string) *ListIPSetsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitationsRequest +type ListInvitationsInput struct { + _ struct{} `type:"structure"` + + // You can use this parameter to indicate the maximum number of items that you + // want in the response. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListInvitationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListInvitationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListInvitationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInvitationsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListInvitationsInput) SetMaxResults(v int64) *ListInvitationsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListInvitationsInput) SetNextToken(v string) *ListInvitationsInput { + s.NextToken = &v + return s +} + +// ListInvitations response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitationsResponse +type ListInvitationsOutput struct { + _ struct{} `type:"structure"` + + // A list of invitation descriptions. + Invitations []*Invitation `locationName:"invitations" type:"list"` + + // You can use this parameter when paginating results. Set the value of this + // parameter to null on your first call to the list action. For subsequent calls + // to the action fill nextToken in the request with the value of NextToken from + // the previous response to continue listing data. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListInvitationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListInvitationsOutput) GoString() string { + return s.String() +} + +// SetInvitations sets the Invitations field's value. +func (s *ListInvitationsOutput) SetInvitations(v []*Invitation) *ListInvitationsOutput { + s.Invitations = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListInvitationsOutput) SetNextToken(v string) *ListInvitationsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersRequest +type ListMembersInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // You can use this parameter to indicate the maximum number of items that you + // want in the response. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + OnlyAssociated *string `location:"querystring" locationName:"onlyAssociated" type:"string"` +} + +// String returns the string representation +func (s ListMembersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListMembersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListMembersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListMembersInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *ListMembersInput) SetDetectorId(v string) *ListMembersInput { + s.DetectorId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput { + s.NextToken = &v + return s +} + +// SetOnlyAssociated sets the OnlyAssociated field's value. +func (s *ListMembersInput) SetOnlyAssociated(v string) *ListMembersInput { + s.OnlyAssociated = &v + return s +} + +// ListMembers response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersResponse +type ListMembersOutput struct { + _ struct{} `type:"structure"` + + // A list of member descriptions. + Members []*Member `locationName:"members" type:"list"` + + // You can use this parameter when paginating results. Set the value of this + // parameter to null on your first call to the list action. For subsequent calls + // to the action fill nextToken in the request with the value of NextToken from + // the previous response to continue listing data. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListMembersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListMembersOutput) GoString() string { + return s.String() +} + +// SetMembers sets the Members field's value. +func (s *ListMembersOutput) SetMembers(v []*Member) *ListMembersOutput { + s.Members = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSetsRequest +type ListThreatIntelSetsInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // You can use this parameter to indicate the maximum number of items that you + // want in the response. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListThreatIntelSetsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListThreatIntelSetsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListThreatIntelSetsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListThreatIntelSetsInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *ListThreatIntelSetsInput) SetDetectorId(v string) *ListThreatIntelSetsInput { + s.DetectorId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListThreatIntelSetsInput) SetMaxResults(v int64) *ListThreatIntelSetsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListThreatIntelSetsInput) SetNextToken(v string) *ListThreatIntelSetsInput { + s.NextToken = &v + return s +} + +// ListThreatIntelSets response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSetsResponse +type ListThreatIntelSetsOutput struct { + _ struct{} `type:"structure"` + + // You can use this parameter when paginating results. Set the value of this + // parameter to null on your first call to the list action. For subsequent calls + // to the action fill nextToken in the request with the value of NextToken from + // the previous response to continue listing data. + NextToken *string `locationName:"nextToken" type:"string"` + + // The list of the threat intel set IDs + ThreatIntelSetIds []*string `locationName:"threatIntelSetIds" type:"list"` +} + +// String returns the string representation +func (s ListThreatIntelSetsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListThreatIntelSetsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListThreatIntelSetsOutput) SetNextToken(v string) *ListThreatIntelSetsOutput { + s.NextToken = &v + return s +} + +// SetThreatIntelSetIds sets the ThreatIntelSetIds field's value. +func (s *ListThreatIntelSetsOutput) SetThreatIntelSetIds(v []*string) *ListThreatIntelSetsOutput { + s.ThreatIntelSetIds = v + return s +} + +// Local port information of the connection. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/LocalPortDetails +type LocalPortDetails struct { + _ struct{} `type:"structure"` + + // Port number of the local connection. + Port *int64 `locationName:"port" type:"integer"` + + // Port name of the local connection. + PortName *string `locationName:"portName" type:"string"` +} + +// String returns the string representation +func (s LocalPortDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LocalPortDetails) GoString() string { + return s.String() +} + +// SetPort sets the Port field's value. +func (s *LocalPortDetails) SetPort(v int64) *LocalPortDetails { + s.Port = &v + return s +} + +// SetPortName sets the PortName field's value. +func (s *LocalPortDetails) SetPortName(v string) *LocalPortDetails { + s.PortName = &v + return s +} + +// Contains details about the master account. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Master +type Master struct { + _ struct{} `type:"structure"` + + // Master account ID + AccountId *string `locationName:"accountId" type:"string"` + + // This value is used to validate the master account to the member account. + InvitationId *string `locationName:"invitationId" type:"string"` + + // Timestamp at which the invitation was sent + InvitedAt *string `locationName:"invitedAt" type:"string"` + + // The status of the relationship between the master and member accounts. + RelationshipStatus *string `locationName:"relationshipStatus" type:"string"` +} + +// String returns the string representation +func (s Master) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Master) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *Master) SetAccountId(v string) *Master { + s.AccountId = &v + return s +} + +// SetInvitationId sets the InvitationId field's value. +func (s *Master) SetInvitationId(v string) *Master { + s.InvitationId = &v + return s +} + +// SetInvitedAt sets the InvitedAt field's value. +func (s *Master) SetInvitedAt(v string) *Master { + s.InvitedAt = &v + return s +} + +// SetRelationshipStatus sets the RelationshipStatus field's value. +func (s *Master) SetRelationshipStatus(v string) *Master { + s.RelationshipStatus = &v + return s +} + +// Contains details about the member account. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Member +type Member struct { + _ struct{} `type:"structure"` + + // AWS account ID. + AccountId *string `locationName:"accountId" type:"string"` + + // The unique identifier for a detector. + DetectorId *string `locationName:"detectorId" type:"string"` + + // Member account's email address. + Email *string `locationName:"email" type:"string"` + + // Timestamp at which the invitation was sent + InvitedAt *string `locationName:"invitedAt" type:"string"` + + // The master account ID. + MasterId *string `locationName:"masterId" type:"string"` + + // The status of the relationship between the member and the master. + RelationshipStatus *string `locationName:"relationshipStatus" type:"string"` + + // The first time a resource was created. The format will be ISO-8601. + UpdatedAt *string `locationName:"updatedAt" type:"string"` +} + +// String returns the string representation +func (s Member) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Member) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *Member) SetAccountId(v string) *Member { + s.AccountId = &v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *Member) SetDetectorId(v string) *Member { + s.DetectorId = &v + return s +} + +// SetEmail sets the Email field's value. +func (s *Member) SetEmail(v string) *Member { + s.Email = &v + return s +} + +// SetInvitedAt sets the InvitedAt field's value. +func (s *Member) SetInvitedAt(v string) *Member { + s.InvitedAt = &v + return s +} + +// SetMasterId sets the MasterId field's value. +func (s *Member) SetMasterId(v string) *Member { + s.MasterId = &v + return s +} + +// SetRelationshipStatus sets the RelationshipStatus field's value. +func (s *Member) SetRelationshipStatus(v string) *Member { + s.RelationshipStatus = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *Member) SetUpdatedAt(v string) *Member { + s.UpdatedAt = &v + return s +} + +// Information about the NETWORK_CONNECTION action described in this finding. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/NetworkConnectionAction +type NetworkConnectionAction struct { + _ struct{} `type:"structure"` + + // Network connection blocked information. + Blocked *bool `locationName:"blocked" type:"boolean"` + + // Network connection direction. + ConnectionDirection *string `locationName:"connectionDirection" type:"string"` + + // Local port information of the connection. + LocalPortDetails *LocalPortDetails `locationName:"localPortDetails" type:"structure"` + + // Network connection protocol. + Protocol *string `locationName:"protocol" type:"string"` + + // Remote IP information of the connection. + RemoteIpDetails *RemoteIpDetails `locationName:"remoteIpDetails" type:"structure"` + + // Remote port information of the connection. + RemotePortDetails *RemotePortDetails `locationName:"remotePortDetails" type:"structure"` +} + +// String returns the string representation +func (s NetworkConnectionAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NetworkConnectionAction) GoString() string { + return s.String() +} + +// SetBlocked sets the Blocked field's value. +func (s *NetworkConnectionAction) SetBlocked(v bool) *NetworkConnectionAction { + s.Blocked = &v + return s +} + +// SetConnectionDirection sets the ConnectionDirection field's value. +func (s *NetworkConnectionAction) SetConnectionDirection(v string) *NetworkConnectionAction { + s.ConnectionDirection = &v + return s +} + +// SetLocalPortDetails sets the LocalPortDetails field's value. +func (s *NetworkConnectionAction) SetLocalPortDetails(v *LocalPortDetails) *NetworkConnectionAction { + s.LocalPortDetails = v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *NetworkConnectionAction) SetProtocol(v string) *NetworkConnectionAction { + s.Protocol = &v + return s +} + +// SetRemoteIpDetails sets the RemoteIpDetails field's value. +func (s *NetworkConnectionAction) SetRemoteIpDetails(v *RemoteIpDetails) *NetworkConnectionAction { + s.RemoteIpDetails = v + return s +} + +// SetRemotePortDetails sets the RemotePortDetails field's value. +func (s *NetworkConnectionAction) SetRemotePortDetails(v *RemotePortDetails) *NetworkConnectionAction { + s.RemotePortDetails = v + return s +} + +// The network interface information of the EC2 instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/NetworkInterface +type NetworkInterface struct { + _ struct{} `type:"structure"` + + // A list of EC2 instance IPv6 address information. + Ipv6Addresses []*string `locationName:"ipv6Addresses" type:"list"` + + // Private DNS name of the EC2 instance. + PrivateDnsName *string `locationName:"privateDnsName" type:"string"` + + // Private IP address of the EC2 instance. + PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` + + // Other private IP address information of the EC2 instance. + PrivateIpAddresses []*PrivateIpAddressDetails `locationName:"privateIpAddresses" type:"list"` + + // Public DNS name of the EC2 instance. + PublicDnsName *string `locationName:"publicDnsName" type:"string"` + + // Public IP address of the EC2 instance. + PublicIp *string `locationName:"publicIp" type:"string"` + + // Security groups associated with the EC2 instance. + SecurityGroups []*SecurityGroup `locationName:"securityGroups" type:"list"` + + // The subnet ID of the EC2 instance. + SubnetId *string `locationName:"subnetId" type:"string"` + + // The VPC ID of the EC2 instance. + VpcId *string `locationName:"vpcId" type:"string"` +} + +// String returns the string representation +func (s NetworkInterface) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NetworkInterface) GoString() string { + return s.String() +} + +// SetIpv6Addresses sets the Ipv6Addresses field's value. +func (s *NetworkInterface) SetIpv6Addresses(v []*string) *NetworkInterface { + s.Ipv6Addresses = v + return s +} + +// SetPrivateDnsName sets the PrivateDnsName field's value. +func (s *NetworkInterface) SetPrivateDnsName(v string) *NetworkInterface { + s.PrivateDnsName = &v + return s +} + +// SetPrivateIpAddress sets the PrivateIpAddress field's value. +func (s *NetworkInterface) SetPrivateIpAddress(v string) *NetworkInterface { + s.PrivateIpAddress = &v + return s +} + +// SetPrivateIpAddresses sets the PrivateIpAddresses field's value. +func (s *NetworkInterface) SetPrivateIpAddresses(v []*PrivateIpAddressDetails) *NetworkInterface { + s.PrivateIpAddresses = v + return s +} + +// SetPublicDnsName sets the PublicDnsName field's value. +func (s *NetworkInterface) SetPublicDnsName(v string) *NetworkInterface { + s.PublicDnsName = &v + return s +} + +// SetPublicIp sets the PublicIp field's value. +func (s *NetworkInterface) SetPublicIp(v string) *NetworkInterface { + s.PublicIp = &v + return s +} + +// SetSecurityGroups sets the SecurityGroups field's value. +func (s *NetworkInterface) SetSecurityGroups(v []*SecurityGroup) *NetworkInterface { + s.SecurityGroups = v + return s +} + +// SetSubnetId sets the SubnetId field's value. +func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface { + s.SubnetId = &v + return s +} + +// SetVpcId sets the VpcId field's value. +func (s *NetworkInterface) SetVpcId(v string) *NetworkInterface { + s.VpcId = &v + return s +} + +// ISP Organization information of the remote IP address. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Organization +type Organization struct { + _ struct{} `type:"structure"` + + // Autonomous system number of the internet provider of the remote IP address. + Asn *string `locationName:"asn" type:"string"` + + // Organization that registered this ASN. + AsnOrg *string `locationName:"asnOrg" type:"string"` + + // ISP information for the internet provider. + Isp *string `locationName:"isp" type:"string"` + + // Name of the internet provider. + Org *string `locationName:"org" type:"string"` +} + +// String returns the string representation +func (s Organization) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Organization) GoString() string { + return s.String() +} + +// SetAsn sets the Asn field's value. +func (s *Organization) SetAsn(v string) *Organization { + s.Asn = &v + return s +} + +// SetAsnOrg sets the AsnOrg field's value. +func (s *Organization) SetAsnOrg(v string) *Organization { + s.AsnOrg = &v + return s +} + +// SetIsp sets the Isp field's value. +func (s *Organization) SetIsp(v string) *Organization { + s.Isp = &v + return s +} + +// SetOrg sets the Org field's value. +func (s *Organization) SetOrg(v string) *Organization { + s.Org = &v + return s +} + +// Other private IP address information of the EC2 instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PrivateIpAddressDetails +type PrivateIpAddressDetails struct { + _ struct{} `type:"structure"` + + // Private DNS name of the EC2 instance. + PrivateDnsName *string `locationName:"privateDnsName" type:"string"` + + // Private IP address of the EC2 instance. + PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` +} + +// String returns the string representation +func (s PrivateIpAddressDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PrivateIpAddressDetails) GoString() string { + return s.String() +} + +// SetPrivateDnsName sets the PrivateDnsName field's value. +func (s *PrivateIpAddressDetails) SetPrivateDnsName(v string) *PrivateIpAddressDetails { + s.PrivateDnsName = &v + return s +} + +// SetPrivateIpAddress sets the PrivateIpAddress field's value. +func (s *PrivateIpAddressDetails) SetPrivateIpAddress(v string) *PrivateIpAddressDetails { + s.PrivateIpAddress = &v + return s +} + +// The product code of the EC2 instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ProductCode +type ProductCode struct { + _ struct{} `type:"structure"` + + // Product code information. + Code *string `locationName:"code" type:"string"` + + // Product code type. + ProductType *string `locationName:"productType" type:"string"` +} + +// String returns the string representation +func (s ProductCode) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ProductCode) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *ProductCode) SetCode(v string) *ProductCode { + s.Code = &v + return s +} + +// SetProductType sets the ProductType field's value. +func (s *ProductCode) SetProductType(v string) *ProductCode { + s.ProductType = &v + return s +} + +// Remote IP information of the connection. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RemoteIpDetails +type RemoteIpDetails struct { + _ struct{} `type:"structure"` + + // City information of the remote IP address. + City *City `locationName:"city" type:"structure"` + + // Country code of the remote IP address. + Country *Country `locationName:"country" type:"structure"` + + // Location information of the remote IP address. + GeoLocation *GeoLocation `locationName:"geoLocation" type:"structure"` + + // IPV4 remote address of the connection. + IpAddressV4 *string `locationName:"ipAddressV4" type:"string"` + + // ISP Organization information of the remote IP address. + Organization *Organization `locationName:"organization" type:"structure"` +} + +// String returns the string representation +func (s RemoteIpDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RemoteIpDetails) GoString() string { + return s.String() +} + +// SetCity sets the City field's value. +func (s *RemoteIpDetails) SetCity(v *City) *RemoteIpDetails { + s.City = v + return s +} + +// SetCountry sets the Country field's value. +func (s *RemoteIpDetails) SetCountry(v *Country) *RemoteIpDetails { + s.Country = v + return s +} + +// SetGeoLocation sets the GeoLocation field's value. +func (s *RemoteIpDetails) SetGeoLocation(v *GeoLocation) *RemoteIpDetails { + s.GeoLocation = v + return s +} + +// SetIpAddressV4 sets the IpAddressV4 field's value. +func (s *RemoteIpDetails) SetIpAddressV4(v string) *RemoteIpDetails { + s.IpAddressV4 = &v + return s +} + +// SetOrganization sets the Organization field's value. +func (s *RemoteIpDetails) SetOrganization(v *Organization) *RemoteIpDetails { + s.Organization = v + return s +} + +// Remote port information of the connection. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RemotePortDetails +type RemotePortDetails struct { + _ struct{} `type:"structure"` + + // Port number of the remote connection. + Port *int64 `locationName:"port" type:"integer"` + + // Port name of the remote connection. + PortName *string `locationName:"portName" type:"string"` +} + +// String returns the string representation +func (s RemotePortDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RemotePortDetails) GoString() string { + return s.String() +} + +// SetPort sets the Port field's value. +func (s *RemotePortDetails) SetPort(v int64) *RemotePortDetails { + s.Port = &v + return s +} + +// SetPortName sets the PortName field's value. +func (s *RemotePortDetails) SetPortName(v string) *RemotePortDetails { + s.PortName = &v + return s +} + +// The AWS resource associated with the activity that prompted GuardDuty to +// generate a finding. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Resource +type Resource struct { + _ struct{} `type:"structure"` + + // The information about the EC2 instance associated with the activity that + // prompted GuardDuty to generate a finding. + InstanceDetails *InstanceDetails `locationName:"instanceDetails" type:"structure"` + + // The type of the AWS resource. + ResourceType *string `locationName:"resourceType" type:"string"` +} + +// String returns the string representation +func (s Resource) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Resource) GoString() string { + return s.String() +} + +// SetInstanceDetails sets the InstanceDetails field's value. +func (s *Resource) SetInstanceDetails(v *InstanceDetails) *Resource { + s.InstanceDetails = v + return s +} + +// SetResourceType sets the ResourceType field's value. +func (s *Resource) SetResourceType(v string) *Resource { + s.ResourceType = &v + return s +} + +// Security groups associated with the EC2 instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/SecurityGroup +type SecurityGroup struct { + _ struct{} `type:"structure"` + + // EC2 instance's security group ID. + GroupId *string `locationName:"groupId" type:"string"` + + // EC2 instance's security group name. + GroupName *string `locationName:"groupName" type:"string"` +} + +// String returns the string representation +func (s SecurityGroup) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SecurityGroup) GoString() string { + return s.String() +} + +// SetGroupId sets the GroupId field's value. +func (s *SecurityGroup) SetGroupId(v string) *SecurityGroup { + s.GroupId = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *SecurityGroup) SetGroupName(v string) *SecurityGroup { + s.GroupName = &v + return s +} + +// Additional information assigned to the generated finding by GuardDuty. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Service +type Service struct { + _ struct{} `type:"structure"` + + // Information about the activity described in a finding. + Action *Action `locationName:"action" type:"structure"` + + // Indicates whether this finding is archived. + Archived *bool `locationName:"archived" type:"boolean"` + + // Total count of the occurrences of this finding type. + Count *int64 `locationName:"count" type:"integer"` + + // Detector ID for the GuardDuty service. + DetectorId *string `locationName:"detectorId" type:"string"` + + // First seen timestamp of the activity that prompted GuardDuty to generate + // this finding. + EventFirstSeen *string `locationName:"eventFirstSeen" type:"string"` + + // Last seen timestamp of the activity that prompted GuardDuty to generate this + // finding. + EventLastSeen *string `locationName:"eventLastSeen" type:"string"` + + // Resource role information for this finding. + ResourceRole *string `locationName:"resourceRole" type:"string"` + + // The name of the AWS service (GuardDuty) that generated a finding. + ServiceName *string `locationName:"serviceName" type:"string"` + + // Feedback left about the finding. + UserFeedback *string `locationName:"userFeedback" type:"string"` +} + +// String returns the string representation +func (s Service) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Service) GoString() string { + return s.String() +} + +// SetAction sets the Action field's value. +func (s *Service) SetAction(v *Action) *Service { + s.Action = v + return s +} + +// SetArchived sets the Archived field's value. +func (s *Service) SetArchived(v bool) *Service { + s.Archived = &v + return s +} + +// SetCount sets the Count field's value. +func (s *Service) SetCount(v int64) *Service { + s.Count = &v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *Service) SetDetectorId(v string) *Service { + s.DetectorId = &v + return s +} + +// SetEventFirstSeen sets the EventFirstSeen field's value. +func (s *Service) SetEventFirstSeen(v string) *Service { + s.EventFirstSeen = &v + return s +} + +// SetEventLastSeen sets the EventLastSeen field's value. +func (s *Service) SetEventLastSeen(v string) *Service { + s.EventLastSeen = &v + return s +} + +// SetResourceRole sets the ResourceRole field's value. +func (s *Service) SetResourceRole(v string) *Service { + s.ResourceRole = &v + return s +} + +// SetServiceName sets the ServiceName field's value. +func (s *Service) SetServiceName(v string) *Service { + s.ServiceName = &v + return s +} + +// SetUserFeedback sets the UserFeedback field's value. +func (s *Service) SetUserFeedback(v string) *Service { + s.UserFeedback = &v + return s +} + +// Represents the criteria used for sorting findings. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/SortCriteria +type SortCriteria struct { + _ struct{} `type:"structure"` + + // Represents the finding attribute (for example, accountId) by which to sort + // findings. + AttributeName *string `locationName:"attributeName" type:"string"` + + // Order by which the sorted findings are to be displayed. + OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"` +} + +// String returns the string representation +func (s SortCriteria) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SortCriteria) GoString() string { + return s.String() +} + +// SetAttributeName sets the AttributeName field's value. +func (s *SortCriteria) SetAttributeName(v string) *SortCriteria { + s.AttributeName = &v + return s +} + +// SetOrderBy sets the OrderBy field's value. +func (s *SortCriteria) SetOrderBy(v string) *SortCriteria { + s.OrderBy = &v + return s +} + +// StartMonitoringMembers request body. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembersRequest +type StartMonitoringMembersInput struct { + _ struct{} `type:"structure"` + + // A list of account IDs of the GuardDuty member accounts whose findings you + // want the master account to monitor. + AccountIds []*string `locationName:"accountIds" type:"list"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` +} + +// String returns the string representation +func (s StartMonitoringMembersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartMonitoringMembersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartMonitoringMembersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartMonitoringMembersInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountIds sets the AccountIds field's value. +func (s *StartMonitoringMembersInput) SetAccountIds(v []*string) *StartMonitoringMembersInput { + s.AccountIds = v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *StartMonitoringMembersInput) SetDetectorId(v string) *StartMonitoringMembersInput { + s.DetectorId = &v + return s +} + +// StartMonitoringMembers response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembersResponse +type StartMonitoringMembersOutput struct { + _ struct{} `type:"structure"` + + // A list of objects containing the unprocessed account and a result string + // explaining why it was unprocessed. + UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` +} + +// String returns the string representation +func (s StartMonitoringMembersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartMonitoringMembersOutput) GoString() string { + return s.String() +} + +// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. +func (s *StartMonitoringMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *StartMonitoringMembersOutput { + s.UnprocessedAccounts = v + return s +} + +// StopMonitoringMembers request body. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembersRequest +type StopMonitoringMembersInput struct { + _ struct{} `type:"structure"` + + // A list of account IDs of the GuardDuty member accounts whose findings you + // want the master account to stop monitoring. + AccountIds []*string `locationName:"accountIds" type:"list"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` +} + +// String returns the string representation +func (s StopMonitoringMembersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StopMonitoringMembersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StopMonitoringMembersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StopMonitoringMembersInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountIds sets the AccountIds field's value. +func (s *StopMonitoringMembersInput) SetAccountIds(v []*string) *StopMonitoringMembersInput { + s.AccountIds = v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *StopMonitoringMembersInput) SetDetectorId(v string) *StopMonitoringMembersInput { + s.DetectorId = &v + return s +} + +// StopMonitoringMembers response object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembersResponse +type StopMonitoringMembersOutput struct { + _ struct{} `type:"structure"` + + // A list of objects containing the unprocessed account and a result string + // explaining why it was unprocessed. + UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list"` +} + +// String returns the string representation +func (s StopMonitoringMembersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StopMonitoringMembersOutput) GoString() string { + return s.String() +} + +// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. +func (s *StopMonitoringMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *StopMonitoringMembersOutput { + s.UnprocessedAccounts = v + return s +} + +// A tag of the EC2 instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Tag +type Tag struct { + _ struct{} `type:"structure"` + + // EC2 instance tag key. + Key *string `locationName:"key" type:"string"` + + // EC2 instance tag value. + Value *string `locationName:"value" type:"string"` +} + +// String returns the string representation +func (s Tag) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Tag) GoString() string { + return s.String() +} + +// SetKey sets the Key field's value. +func (s *Tag) SetKey(v string) *Tag { + s.Key = &v + return s +} + +// SetValue sets the Value field's value. +func (s *Tag) SetValue(v string) *Tag { + s.Value = &v + return s +} + +// Unrchive Findings Request +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindingsRequest +type UnarchiveFindingsInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // IDs of the findings that you want to unarchive. + FindingIds []*string `locationName:"findingIds" type:"list"` +} + +// String returns the string representation +func (s UnarchiveFindingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UnarchiveFindingsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UnarchiveFindingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UnarchiveFindingsInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *UnarchiveFindingsInput) SetDetectorId(v string) *UnarchiveFindingsInput { + s.DetectorId = &v + return s +} + +// SetFindingIds sets the FindingIds field's value. +func (s *UnarchiveFindingsInput) SetFindingIds(v []*string) *UnarchiveFindingsInput { + s.FindingIds = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindingsResponse +type UnarchiveFindingsOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UnarchiveFindingsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UnarchiveFindingsOutput) GoString() string { + return s.String() +} + +// An object containing the unprocessed account and a result string explaining +// why it was unprocessed. +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnprocessedAccount +type UnprocessedAccount struct { + _ struct{} `type:"structure"` + + // AWS Account ID. + AccountId *string `locationName:"accountId" type:"string"` + + // A reason why the account hasn't been processed. + Result *string `locationName:"result" type:"string"` +} + +// String returns the string representation +func (s UnprocessedAccount) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UnprocessedAccount) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *UnprocessedAccount) SetAccountId(v string) *UnprocessedAccount { + s.AccountId = &v + return s +} + +// SetResult sets the Result field's value. +func (s *UnprocessedAccount) SetResult(v string) *UnprocessedAccount { + s.Result = &v + return s +} + +// Update Detector Request +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest +type UpdateDetectorInput struct { + _ struct{} `type:"structure"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // Updated boolean value for the detector that specifies whether the detector + // is enabled. + Enable *bool `locationName:"enable" type:"boolean"` +} + +// String returns the string representation +func (s UpdateDetectorInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateDetectorInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateDetectorInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateDetectorInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *UpdateDetectorInput) SetDetectorId(v string) *UpdateDetectorInput { + s.DetectorId = &v + return s +} + +// SetEnable sets the Enable field's value. +func (s *UpdateDetectorInput) SetEnable(v bool) *UpdateDetectorInput { + s.Enable = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorResponse +type UpdateDetectorOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateDetectorOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateDetectorOutput) GoString() string { + return s.String() +} + +// Update findings feedback body +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedbackRequest +type UpdateFindingsFeedbackInput struct { + _ struct{} `type:"structure"` + + // Additional feedback about the GuardDuty findings. + Comments *string `locationName:"comments" type:"string"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // Valid values: USEFUL | NOT_USEFUL + Feedback *string `locationName:"feedback" type:"string" enum:"Feedback"` + + // IDs of the findings that you want to mark as useful or not useful. + FindingIds []*string `locationName:"findingIds" type:"list"` +} + +// String returns the string representation +func (s UpdateFindingsFeedbackInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateFindingsFeedbackInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateFindingsFeedbackInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateFindingsFeedbackInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetComments sets the Comments field's value. +func (s *UpdateFindingsFeedbackInput) SetComments(v string) *UpdateFindingsFeedbackInput { + s.Comments = &v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *UpdateFindingsFeedbackInput) SetDetectorId(v string) *UpdateFindingsFeedbackInput { + s.DetectorId = &v + return s +} + +// SetFeedback sets the Feedback field's value. +func (s *UpdateFindingsFeedbackInput) SetFeedback(v string) *UpdateFindingsFeedbackInput { + s.Feedback = &v + return s +} + +// SetFindingIds sets the FindingIds field's value. +func (s *UpdateFindingsFeedbackInput) SetFindingIds(v []*string) *UpdateFindingsFeedbackInput { + s.FindingIds = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedbackResponse +type UpdateFindingsFeedbackOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateFindingsFeedbackOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateFindingsFeedbackOutput) GoString() string { + return s.String() +} + +// Update IP Set Request +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSetRequest +type UpdateIPSetInput struct { + _ struct{} `type:"structure"` + + // The updated boolean value that specifies whether the IPSet is active or not. + Activate *bool `locationName:"activate" type:"boolean"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // IpSetId is a required field + IpSetId *string `location:"uri" locationName:"ipSetId" type:"string" required:"true"` + + // The updated URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key). + Location *string `locationName:"location" type:"string"` + + // The unique ID that specifies the IPSet that you want to update. + Name *string `locationName:"name" type:"string"` +} + +// String returns the string representation +func (s UpdateIPSetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateIPSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateIPSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateIPSetInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + if s.IpSetId == nil { + invalidParams.Add(request.NewErrParamRequired("IpSetId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActivate sets the Activate field's value. +func (s *UpdateIPSetInput) SetActivate(v bool) *UpdateIPSetInput { + s.Activate = &v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *UpdateIPSetInput) SetDetectorId(v string) *UpdateIPSetInput { + s.DetectorId = &v + return s +} + +// SetIpSetId sets the IpSetId field's value. +func (s *UpdateIPSetInput) SetIpSetId(v string) *UpdateIPSetInput { + s.IpSetId = &v + return s +} + +// SetLocation sets the Location field's value. +func (s *UpdateIPSetInput) SetLocation(v string) *UpdateIPSetInput { + s.Location = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateIPSetInput) SetName(v string) *UpdateIPSetInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSetResponse +type UpdateIPSetOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateIPSetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateIPSetOutput) GoString() string { + return s.String() +} + +// Update Threat Intel Set Request +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSetRequest +type UpdateThreatIntelSetInput struct { + _ struct{} `type:"structure"` + + // The updated boolean value that specifies whether the ThreateIntelSet is active + // or not. + Activate *bool `locationName:"activate" type:"boolean"` + + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" type:"string" required:"true"` + + // The updated URI of the file that contains the ThreateIntelSet. For example + // (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key) + Location *string `locationName:"location" type:"string"` + + // The unique ID that specifies the ThreatIntelSet that you want to update. + Name *string `locationName:"name" type:"string"` + + // ThreatIntelSetId is a required field + ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateThreatIntelSetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateThreatIntelSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateThreatIntelSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateThreatIntelSetInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + if s.ThreatIntelSetId == nil { + invalidParams.Add(request.NewErrParamRequired("ThreatIntelSetId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActivate sets the Activate field's value. +func (s *UpdateThreatIntelSetInput) SetActivate(v bool) *UpdateThreatIntelSetInput { + s.Activate = &v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *UpdateThreatIntelSetInput) SetDetectorId(v string) *UpdateThreatIntelSetInput { + s.DetectorId = &v + return s +} + +// SetLocation sets the Location field's value. +func (s *UpdateThreatIntelSetInput) SetLocation(v string) *UpdateThreatIntelSetInput { + s.Location = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateThreatIntelSetInput) SetName(v string) *UpdateThreatIntelSetInput { + s.Name = &v + return s +} + +// SetThreatIntelSetId sets the ThreatIntelSetId field's value. +func (s *UpdateThreatIntelSetInput) SetThreatIntelSetId(v string) *UpdateThreatIntelSetInput { + s.ThreatIntelSetId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSetResponse +type UpdateThreatIntelSetOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateThreatIntelSetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateThreatIntelSetOutput) GoString() string { + return s.String() +} + +// The status of detector. +const ( + // DetectorStatusEnabled is a DetectorStatus enum value + DetectorStatusEnabled = "ENABLED" + + // DetectorStatusDisabled is a DetectorStatus enum value + DetectorStatusDisabled = "DISABLED" +) + +// Finding Feedback Value +const ( + // FeedbackUseful is a Feedback enum value + FeedbackUseful = "USEFUL" + + // FeedbackNotUseful is a Feedback enum value + FeedbackNotUseful = "NOT_USEFUL" +) + +// The types of finding statistics. +const ( + // FindingStatisticTypeCountBySeverity is a FindingStatisticType enum value + FindingStatisticTypeCountBySeverity = "COUNT_BY_SEVERITY" +) + +// The format of the ipSet. +const ( + // IpSetFormatTxt is a IpSetFormat enum value + IpSetFormatTxt = "TXT" + + // IpSetFormatStix is a IpSetFormat enum value + IpSetFormatStix = "STIX" + + // IpSetFormatOtxCsv is a IpSetFormat enum value + IpSetFormatOtxCsv = "OTX_CSV" + + // IpSetFormatAlienVault is a IpSetFormat enum value + IpSetFormatAlienVault = "ALIEN_VAULT" + + // IpSetFormatProofPoint is a IpSetFormat enum value + IpSetFormatProofPoint = "PROOF_POINT" + + // IpSetFormatFireEye is a IpSetFormat enum value + IpSetFormatFireEye = "FIRE_EYE" +) + +// The status of ipSet file uploaded. +const ( + // IpSetStatusInactive is a IpSetStatus enum value + IpSetStatusInactive = "INACTIVE" + + // IpSetStatusActivating is a IpSetStatus enum value + IpSetStatusActivating = "ACTIVATING" + + // IpSetStatusActive is a IpSetStatus enum value + IpSetStatusActive = "ACTIVE" + + // IpSetStatusDeactivating is a IpSetStatus enum value + IpSetStatusDeactivating = "DEACTIVATING" + + // IpSetStatusError is a IpSetStatus enum value + IpSetStatusError = "ERROR" + + // IpSetStatusDeletePending is a IpSetStatus enum value + IpSetStatusDeletePending = "DELETE_PENDING" + + // IpSetStatusDeleted is a IpSetStatus enum value + IpSetStatusDeleted = "DELETED" +) + +const ( + // OrderByAsc is a OrderBy enum value + OrderByAsc = "ASC" + + // OrderByDesc is a OrderBy enum value + OrderByDesc = "DESC" +) + +// The format of the threatIntelSet. +const ( + // ThreatIntelSetFormatTxt is a ThreatIntelSetFormat enum value + ThreatIntelSetFormatTxt = "TXT" + + // ThreatIntelSetFormatStix is a ThreatIntelSetFormat enum value + ThreatIntelSetFormatStix = "STIX" + + // ThreatIntelSetFormatOtxCsv is a ThreatIntelSetFormat enum value + ThreatIntelSetFormatOtxCsv = "OTX_CSV" + + // ThreatIntelSetFormatAlienVault is a ThreatIntelSetFormat enum value + ThreatIntelSetFormatAlienVault = "ALIEN_VAULT" + + // ThreatIntelSetFormatProofPoint is a ThreatIntelSetFormat enum value + ThreatIntelSetFormatProofPoint = "PROOF_POINT" + + // ThreatIntelSetFormatFireEye is a ThreatIntelSetFormat enum value + ThreatIntelSetFormatFireEye = "FIRE_EYE" +) + +// The status of threatIntelSet file uploaded. +const ( + // ThreatIntelSetStatusInactive is a ThreatIntelSetStatus enum value + ThreatIntelSetStatusInactive = "INACTIVE" + + // ThreatIntelSetStatusActivating is a ThreatIntelSetStatus enum value + ThreatIntelSetStatusActivating = "ACTIVATING" + + // ThreatIntelSetStatusActive is a ThreatIntelSetStatus enum value + ThreatIntelSetStatusActive = "ACTIVE" + + // ThreatIntelSetStatusDeactivating is a ThreatIntelSetStatus enum value + ThreatIntelSetStatusDeactivating = "DEACTIVATING" + + // ThreatIntelSetStatusError is a ThreatIntelSetStatus enum value + ThreatIntelSetStatusError = "ERROR" + + // ThreatIntelSetStatusDeletePending is a ThreatIntelSetStatus enum value + ThreatIntelSetStatusDeletePending = "DELETE_PENDING" + + // ThreatIntelSetStatusDeleted is a ThreatIntelSetStatus enum value + ThreatIntelSetStatusDeleted = "DELETED" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/guardduty/doc.go b/vendor/github.com/aws/aws-sdk-go/service/guardduty/doc.go new file mode 100644 index 00000000000..91bb16a2ed3 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/guardduty/doc.go @@ -0,0 +1,29 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package guardduty provides the client and types for making API +// requests to Amazon GuardDuty. +// +// Assess, monitor, manage, and remediate security issues across your AWS infrastructure, +// applications, and data. +// +// See https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28 for more information on this service. +// +// See guardduty package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/guardduty/ +// +// Using the Client +// +// To contact Amazon GuardDuty with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the Amazon GuardDuty client GuardDuty for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/guardduty/#New +package guardduty diff --git a/vendor/github.com/aws/aws-sdk-go/service/guardduty/errors.go b/vendor/github.com/aws/aws-sdk-go/service/guardduty/errors.go new file mode 100644 index 00000000000..8f0473b6318 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/guardduty/errors.go @@ -0,0 +1,18 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package guardduty + +const ( + + // ErrCodeBadRequestException for service response error code + // "BadRequestException". + // + // Error response object. + ErrCodeBadRequestException = "BadRequestException" + + // ErrCodeInternalServerErrorException for service response error code + // "InternalServerErrorException". + // + // Error response object. + ErrCodeInternalServerErrorException = "InternalServerErrorException" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/guardduty/service.go b/vendor/github.com/aws/aws-sdk-go/service/guardduty/service.go new file mode 100644 index 00000000000..995709381aa --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/guardduty/service.go @@ -0,0 +1,97 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package guardduty + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// GuardDuty provides the API operation methods for making requests to +// Amazon GuardDuty. See this package's package overview docs +// for details on the service. +// +// GuardDuty methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type GuardDuty struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "guardduty" // Service endpoint prefix API calls made to. + EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. +) + +// New creates a new instance of the GuardDuty client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// // Create a GuardDuty client from just a session. +// svc := guardduty.New(mySession) +// +// // Create a GuardDuty client with additional configuration +// svc := guardduty.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *GuardDuty { + c := p.ClientConfig(EndpointsID, cfgs...) + return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *GuardDuty { + if len(signingName) == 0 { + signingName = "guardduty" + } + svc := &GuardDuty{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + SigningName: signingName, + SigningRegion: signingRegion, + Endpoint: endpoint, + APIVersion: "2017-11-28", + JSONVersion: "1.1", + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed(restjson.UnmarshalErrorHandler) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a GuardDuty operation and runs any +// custom request initialization. +func (c *GuardDuty) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/iam/api.go b/vendor/github.com/aws/aws-sdk-go/service/iam/api.go index e667a099d95..b6da5272135 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/iam/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/iam/api.go @@ -38,7 +38,7 @@ const opAddClientIDToOpenIDConnectProvider = "AddClientIDToOpenIDConnectProvider // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddClientIDToOpenIDConnectProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddClientIDToOpenIDConnectProvider func (c *IAM) AddClientIDToOpenIDConnectProviderRequest(input *AddClientIDToOpenIDConnectProviderInput) (req *request.Request, output *AddClientIDToOpenIDConnectProviderOutput) { op := &request.Operation{ Name: opAddClientIDToOpenIDConnectProvider, @@ -89,7 +89,7 @@ func (c *IAM) AddClientIDToOpenIDConnectProviderRequest(input *AddClientIDToOpen // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddClientIDToOpenIDConnectProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddClientIDToOpenIDConnectProvider func (c *IAM) AddClientIDToOpenIDConnectProvider(input *AddClientIDToOpenIDConnectProviderInput) (*AddClientIDToOpenIDConnectProviderOutput, error) { req, out := c.AddClientIDToOpenIDConnectProviderRequest(input) return out, req.Send() @@ -136,7 +136,7 @@ const opAddRoleToInstanceProfile = "AddRoleToInstanceProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddRoleToInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddRoleToInstanceProfile func (c *IAM) AddRoleToInstanceProfileRequest(input *AddRoleToInstanceProfileInput) (req *request.Request, output *AddRoleToInstanceProfileOutput) { op := &request.Operation{ Name: opAddRoleToInstanceProfile, @@ -197,7 +197,7 @@ func (c *IAM) AddRoleToInstanceProfileRequest(input *AddRoleToInstanceProfileInp // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddRoleToInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddRoleToInstanceProfile func (c *IAM) AddRoleToInstanceProfile(input *AddRoleToInstanceProfileInput) (*AddRoleToInstanceProfileOutput, error) { req, out := c.AddRoleToInstanceProfileRequest(input) return out, req.Send() @@ -244,7 +244,7 @@ const opAddUserToGroup = "AddUserToGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddUserToGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddUserToGroup func (c *IAM) AddUserToGroupRequest(input *AddUserToGroupInput) (req *request.Request, output *AddUserToGroupOutput) { op := &request.Operation{ Name: opAddUserToGroup, @@ -287,7 +287,7 @@ func (c *IAM) AddUserToGroupRequest(input *AddUserToGroupInput) (req *request.Re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddUserToGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddUserToGroup func (c *IAM) AddUserToGroup(input *AddUserToGroupInput) (*AddUserToGroupOutput, error) { req, out := c.AddUserToGroupRequest(input) return out, req.Send() @@ -334,7 +334,7 @@ const opAttachGroupPolicy = "AttachGroupPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachGroupPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachGroupPolicy func (c *IAM) AttachGroupPolicyRequest(input *AttachGroupPolicyInput) (req *request.Request, output *AttachGroupPolicyOutput) { op := &request.Operation{ Name: opAttachGroupPolicy, @@ -392,7 +392,7 @@ func (c *IAM) AttachGroupPolicyRequest(input *AttachGroupPolicyInput) (req *requ // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachGroupPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachGroupPolicy func (c *IAM) AttachGroupPolicy(input *AttachGroupPolicyInput) (*AttachGroupPolicyOutput, error) { req, out := c.AttachGroupPolicyRequest(input) return out, req.Send() @@ -439,7 +439,7 @@ const opAttachRolePolicy = "AttachRolePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachRolePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachRolePolicy func (c *IAM) AttachRolePolicyRequest(input *AttachRolePolicyInput) (req *request.Request, output *AttachRolePolicyOutput) { op := &request.Operation{ Name: opAttachRolePolicy, @@ -507,7 +507,7 @@ func (c *IAM) AttachRolePolicyRequest(input *AttachRolePolicyInput) (req *reques // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachRolePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachRolePolicy func (c *IAM) AttachRolePolicy(input *AttachRolePolicyInput) (*AttachRolePolicyOutput, error) { req, out := c.AttachRolePolicyRequest(input) return out, req.Send() @@ -554,7 +554,7 @@ const opAttachUserPolicy = "AttachUserPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachUserPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachUserPolicy func (c *IAM) AttachUserPolicyRequest(input *AttachUserPolicyInput) (req *request.Request, output *AttachUserPolicyOutput) { op := &request.Operation{ Name: opAttachUserPolicy, @@ -612,7 +612,7 @@ func (c *IAM) AttachUserPolicyRequest(input *AttachUserPolicyInput) (req *reques // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachUserPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachUserPolicy func (c *IAM) AttachUserPolicy(input *AttachUserPolicyInput) (*AttachUserPolicyOutput, error) { req, out := c.AttachUserPolicyRequest(input) return out, req.Send() @@ -659,7 +659,7 @@ const opChangePassword = "ChangePassword" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ChangePassword +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ChangePassword func (c *IAM) ChangePasswordRequest(input *ChangePasswordInput) (req *request.Request, output *ChangePasswordOutput) { op := &request.Operation{ Name: opChangePassword, @@ -721,7 +721,7 @@ func (c *IAM) ChangePasswordRequest(input *ChangePasswordInput) (req *request.Re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ChangePassword +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ChangePassword func (c *IAM) ChangePassword(input *ChangePasswordInput) (*ChangePasswordOutput, error) { req, out := c.ChangePasswordRequest(input) return out, req.Send() @@ -768,7 +768,7 @@ const opCreateAccessKey = "CreateAccessKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccessKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccessKey func (c *IAM) CreateAccessKeyRequest(input *CreateAccessKeyInput) (req *request.Request, output *CreateAccessKeyOutput) { op := &request.Operation{ Name: opCreateAccessKey, @@ -825,7 +825,7 @@ func (c *IAM) CreateAccessKeyRequest(input *CreateAccessKeyInput) (req *request. // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccessKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccessKey func (c *IAM) CreateAccessKey(input *CreateAccessKeyInput) (*CreateAccessKeyOutput, error) { req, out := c.CreateAccessKeyRequest(input) return out, req.Send() @@ -872,7 +872,7 @@ const opCreateAccountAlias = "CreateAccountAlias" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccountAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccountAlias func (c *IAM) CreateAccountAliasRequest(input *CreateAccountAliasInput) (req *request.Request, output *CreateAccountAliasOutput) { op := &request.Operation{ Name: opCreateAccountAlias, @@ -917,7 +917,7 @@ func (c *IAM) CreateAccountAliasRequest(input *CreateAccountAliasInput) (req *re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccountAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccountAlias func (c *IAM) CreateAccountAlias(input *CreateAccountAliasInput) (*CreateAccountAliasOutput, error) { req, out := c.CreateAccountAliasRequest(input) return out, req.Send() @@ -964,7 +964,7 @@ const opCreateGroup = "CreateGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateGroup func (c *IAM) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput) { op := &request.Operation{ Name: opCreateGroup, @@ -1013,7 +1013,7 @@ func (c *IAM) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateGroup func (c *IAM) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error) { req, out := c.CreateGroupRequest(input) return out, req.Send() @@ -1060,7 +1060,7 @@ const opCreateInstanceProfile = "CreateInstanceProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateInstanceProfile func (c *IAM) CreateInstanceProfileRequest(input *CreateInstanceProfileInput) (req *request.Request, output *CreateInstanceProfileOutput) { op := &request.Operation{ Name: opCreateInstanceProfile, @@ -1106,7 +1106,7 @@ func (c *IAM) CreateInstanceProfileRequest(input *CreateInstanceProfileInput) (r // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateInstanceProfile func (c *IAM) CreateInstanceProfile(input *CreateInstanceProfileInput) (*CreateInstanceProfileOutput, error) { req, out := c.CreateInstanceProfileRequest(input) return out, req.Send() @@ -1153,7 +1153,7 @@ const opCreateLoginProfile = "CreateLoginProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfile func (c *IAM) CreateLoginProfileRequest(input *CreateLoginProfileInput) (req *request.Request, output *CreateLoginProfileOutput) { op := &request.Operation{ Name: opCreateLoginProfile, @@ -1205,7 +1205,7 @@ func (c *IAM) CreateLoginProfileRequest(input *CreateLoginProfileInput) (req *re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfile func (c *IAM) CreateLoginProfile(input *CreateLoginProfileInput) (*CreateLoginProfileOutput, error) { req, out := c.CreateLoginProfileRequest(input) return out, req.Send() @@ -1252,7 +1252,7 @@ const opCreateOpenIDConnectProvider = "CreateOpenIDConnectProvider" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProvider func (c *IAM) CreateOpenIDConnectProviderRequest(input *CreateOpenIDConnectProviderInput) (req *request.Request, output *CreateOpenIDConnectProviderOutput) { op := &request.Operation{ Name: opCreateOpenIDConnectProvider, @@ -1313,7 +1313,7 @@ func (c *IAM) CreateOpenIDConnectProviderRequest(input *CreateOpenIDConnectProvi // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProvider func (c *IAM) CreateOpenIDConnectProvider(input *CreateOpenIDConnectProviderInput) (*CreateOpenIDConnectProviderOutput, error) { req, out := c.CreateOpenIDConnectProviderRequest(input) return out, req.Send() @@ -1360,7 +1360,7 @@ const opCreatePolicy = "CreatePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicy func (c *IAM) CreatePolicyRequest(input *CreatePolicyInput) (req *request.Request, output *CreatePolicyOutput) { op := &request.Operation{ Name: opCreatePolicy, @@ -1418,7 +1418,7 @@ func (c *IAM) CreatePolicyRequest(input *CreatePolicyInput) (req *request.Reques // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicy func (c *IAM) CreatePolicy(input *CreatePolicyInput) (*CreatePolicyOutput, error) { req, out := c.CreatePolicyRequest(input) return out, req.Send() @@ -1465,7 +1465,7 @@ const opCreatePolicyVersion = "CreatePolicyVersion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyVersion func (c *IAM) CreatePolicyVersionRequest(input *CreatePolicyVersionInput) (req *request.Request, output *CreatePolicyVersionOutput) { op := &request.Operation{ Name: opCreatePolicyVersion, @@ -1525,7 +1525,7 @@ func (c *IAM) CreatePolicyVersionRequest(input *CreatePolicyVersionInput) (req * // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyVersion func (c *IAM) CreatePolicyVersion(input *CreatePolicyVersionInput) (*CreatePolicyVersionOutput, error) { req, out := c.CreatePolicyVersionRequest(input) return out, req.Send() @@ -1572,7 +1572,7 @@ const opCreateRole = "CreateRole" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateRole func (c *IAM) CreateRoleRequest(input *CreateRoleInput) (req *request.Request, output *CreateRoleOutput) { op := &request.Operation{ Name: opCreateRole, @@ -1625,7 +1625,7 @@ func (c *IAM) CreateRoleRequest(input *CreateRoleInput) (req *request.Request, o // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateRole func (c *IAM) CreateRole(input *CreateRoleInput) (*CreateRoleOutput, error) { req, out := c.CreateRoleRequest(input) return out, req.Send() @@ -1672,7 +1672,7 @@ const opCreateSAMLProvider = "CreateSAMLProvider" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateSAMLProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateSAMLProvider func (c *IAM) CreateSAMLProviderRequest(input *CreateSAMLProviderInput) (req *request.Request, output *CreateSAMLProviderOutput) { op := &request.Operation{ Name: opCreateSAMLProvider, @@ -1738,7 +1738,7 @@ func (c *IAM) CreateSAMLProviderRequest(input *CreateSAMLProviderInput) (req *re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateSAMLProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateSAMLProvider func (c *IAM) CreateSAMLProvider(input *CreateSAMLProviderInput) (*CreateSAMLProviderOutput, error) { req, out := c.CreateSAMLProviderRequest(input) return out, req.Send() @@ -1785,7 +1785,7 @@ const opCreateServiceLinkedRole = "CreateServiceLinkedRole" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceLinkedRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceLinkedRole func (c *IAM) CreateServiceLinkedRoleRequest(input *CreateServiceLinkedRoleInput) (req *request.Request, output *CreateServiceLinkedRoleOutput) { op := &request.Operation{ Name: opCreateServiceLinkedRole, @@ -1843,7 +1843,7 @@ func (c *IAM) CreateServiceLinkedRoleRequest(input *CreateServiceLinkedRoleInput // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceLinkedRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceLinkedRole func (c *IAM) CreateServiceLinkedRole(input *CreateServiceLinkedRoleInput) (*CreateServiceLinkedRoleOutput, error) { req, out := c.CreateServiceLinkedRoleRequest(input) return out, req.Send() @@ -1890,7 +1890,7 @@ const opCreateServiceSpecificCredential = "CreateServiceSpecificCredential" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceSpecificCredential +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceSpecificCredential func (c *IAM) CreateServiceSpecificCredentialRequest(input *CreateServiceSpecificCredentialInput) (req *request.Request, output *CreateServiceSpecificCredentialOutput) { op := &request.Operation{ Name: opCreateServiceSpecificCredential, @@ -1943,7 +1943,7 @@ func (c *IAM) CreateServiceSpecificCredentialRequest(input *CreateServiceSpecifi // * ErrCodeServiceNotSupportedException "NotSupportedService" // The specified service does not support service-specific credentials. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceSpecificCredential +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceSpecificCredential func (c *IAM) CreateServiceSpecificCredential(input *CreateServiceSpecificCredentialInput) (*CreateServiceSpecificCredentialOutput, error) { req, out := c.CreateServiceSpecificCredentialRequest(input) return out, req.Send() @@ -1990,7 +1990,7 @@ const opCreateUser = "CreateUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateUser func (c *IAM) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) { op := &request.Operation{ Name: opCreateUser, @@ -2039,7 +2039,7 @@ func (c *IAM) CreateUserRequest(input *CreateUserInput) (req *request.Request, o // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateUser func (c *IAM) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { req, out := c.CreateUserRequest(input) return out, req.Send() @@ -2086,7 +2086,7 @@ const opCreateVirtualMFADevice = "CreateVirtualMFADevice" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateVirtualMFADevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateVirtualMFADevice func (c *IAM) CreateVirtualMFADeviceRequest(input *CreateVirtualMFADeviceInput) (req *request.Request, output *CreateVirtualMFADeviceOutput) { op := &request.Operation{ Name: opCreateVirtualMFADevice, @@ -2140,7 +2140,7 @@ func (c *IAM) CreateVirtualMFADeviceRequest(input *CreateVirtualMFADeviceInput) // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateVirtualMFADevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateVirtualMFADevice func (c *IAM) CreateVirtualMFADevice(input *CreateVirtualMFADeviceInput) (*CreateVirtualMFADeviceOutput, error) { req, out := c.CreateVirtualMFADeviceRequest(input) return out, req.Send() @@ -2187,7 +2187,7 @@ const opDeactivateMFADevice = "DeactivateMFADevice" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeactivateMFADevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeactivateMFADevice func (c *IAM) DeactivateMFADeviceRequest(input *DeactivateMFADeviceInput) (req *request.Request, output *DeactivateMFADeviceOutput) { op := &request.Operation{ Name: opDeactivateMFADevice, @@ -2241,7 +2241,7 @@ func (c *IAM) DeactivateMFADeviceRequest(input *DeactivateMFADeviceInput) (req * // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeactivateMFADevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeactivateMFADevice func (c *IAM) DeactivateMFADevice(input *DeactivateMFADeviceInput) (*DeactivateMFADeviceOutput, error) { req, out := c.DeactivateMFADeviceRequest(input) return out, req.Send() @@ -2288,7 +2288,7 @@ const opDeleteAccessKey = "DeleteAccessKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccessKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccessKey func (c *IAM) DeleteAccessKeyRequest(input *DeleteAccessKeyInput) (req *request.Request, output *DeleteAccessKeyOutput) { op := &request.Operation{ Name: opDeleteAccessKey, @@ -2336,7 +2336,7 @@ func (c *IAM) DeleteAccessKeyRequest(input *DeleteAccessKeyInput) (req *request. // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccessKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccessKey func (c *IAM) DeleteAccessKey(input *DeleteAccessKeyInput) (*DeleteAccessKeyOutput, error) { req, out := c.DeleteAccessKeyRequest(input) return out, req.Send() @@ -2383,7 +2383,7 @@ const opDeleteAccountAlias = "DeleteAccountAlias" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountAlias func (c *IAM) DeleteAccountAliasRequest(input *DeleteAccountAliasInput) (req *request.Request, output *DeleteAccountAliasOutput) { op := &request.Operation{ Name: opDeleteAccountAlias, @@ -2428,7 +2428,7 @@ func (c *IAM) DeleteAccountAliasRequest(input *DeleteAccountAliasInput) (req *re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountAlias func (c *IAM) DeleteAccountAlias(input *DeleteAccountAliasInput) (*DeleteAccountAliasOutput, error) { req, out := c.DeleteAccountAliasRequest(input) return out, req.Send() @@ -2475,7 +2475,7 @@ const opDeleteAccountPasswordPolicy = "DeleteAccountPasswordPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountPasswordPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountPasswordPolicy func (c *IAM) DeleteAccountPasswordPolicyRequest(input *DeleteAccountPasswordPolicyInput) (req *request.Request, output *DeleteAccountPasswordPolicyOutput) { op := &request.Operation{ Name: opDeleteAccountPasswordPolicy, @@ -2518,7 +2518,7 @@ func (c *IAM) DeleteAccountPasswordPolicyRequest(input *DeleteAccountPasswordPol // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountPasswordPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountPasswordPolicy func (c *IAM) DeleteAccountPasswordPolicy(input *DeleteAccountPasswordPolicyInput) (*DeleteAccountPasswordPolicyOutput, error) { req, out := c.DeleteAccountPasswordPolicyRequest(input) return out, req.Send() @@ -2565,7 +2565,7 @@ const opDeleteGroup = "DeleteGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroup func (c *IAM) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput) { op := &request.Operation{ Name: opDeleteGroup, @@ -2613,7 +2613,7 @@ func (c *IAM) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroup func (c *IAM) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error) { req, out := c.DeleteGroupRequest(input) return out, req.Send() @@ -2660,7 +2660,7 @@ const opDeleteGroupPolicy = "DeleteGroupPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupPolicy func (c *IAM) DeleteGroupPolicyRequest(input *DeleteGroupPolicyInput) (req *request.Request, output *DeleteGroupPolicyOutput) { op := &request.Operation{ Name: opDeleteGroupPolicy, @@ -2709,7 +2709,7 @@ func (c *IAM) DeleteGroupPolicyRequest(input *DeleteGroupPolicyInput) (req *requ // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupPolicy func (c *IAM) DeleteGroupPolicy(input *DeleteGroupPolicyInput) (*DeleteGroupPolicyOutput, error) { req, out := c.DeleteGroupPolicyRequest(input) return out, req.Send() @@ -2756,7 +2756,7 @@ const opDeleteInstanceProfile = "DeleteInstanceProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteInstanceProfile func (c *IAM) DeleteInstanceProfileRequest(input *DeleteInstanceProfileInput) (req *request.Request, output *DeleteInstanceProfileOutput) { op := &request.Operation{ Name: opDeleteInstanceProfile, @@ -2812,7 +2812,7 @@ func (c *IAM) DeleteInstanceProfileRequest(input *DeleteInstanceProfileInput) (r // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteInstanceProfile func (c *IAM) DeleteInstanceProfile(input *DeleteInstanceProfileInput) (*DeleteInstanceProfileOutput, error) { req, out := c.DeleteInstanceProfileRequest(input) return out, req.Send() @@ -2859,7 +2859,7 @@ const opDeleteLoginProfile = "DeleteLoginProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteLoginProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteLoginProfile func (c *IAM) DeleteLoginProfileRequest(input *DeleteLoginProfileInput) (req *request.Request, output *DeleteLoginProfileOutput) { op := &request.Operation{ Name: opDeleteLoginProfile, @@ -2914,7 +2914,7 @@ func (c *IAM) DeleteLoginProfileRequest(input *DeleteLoginProfileInput) (req *re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteLoginProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteLoginProfile func (c *IAM) DeleteLoginProfile(input *DeleteLoginProfileInput) (*DeleteLoginProfileOutput, error) { req, out := c.DeleteLoginProfileRequest(input) return out, req.Send() @@ -2961,7 +2961,7 @@ const opDeleteOpenIDConnectProvider = "DeleteOpenIDConnectProvider" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteOpenIDConnectProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteOpenIDConnectProvider func (c *IAM) DeleteOpenIDConnectProviderRequest(input *DeleteOpenIDConnectProviderInput) (req *request.Request, output *DeleteOpenIDConnectProviderOutput) { op := &request.Operation{ Name: opDeleteOpenIDConnectProvider, @@ -3011,7 +3011,7 @@ func (c *IAM) DeleteOpenIDConnectProviderRequest(input *DeleteOpenIDConnectProvi // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteOpenIDConnectProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteOpenIDConnectProvider func (c *IAM) DeleteOpenIDConnectProvider(input *DeleteOpenIDConnectProviderInput) (*DeleteOpenIDConnectProviderOutput, error) { req, out := c.DeleteOpenIDConnectProviderRequest(input) return out, req.Send() @@ -3058,7 +3058,7 @@ const opDeletePolicy = "DeletePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicy func (c *IAM) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Request, output *DeletePolicyOutput) { op := &request.Operation{ Name: opDeletePolicy, @@ -3131,7 +3131,7 @@ func (c *IAM) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Reques // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicy func (c *IAM) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error) { req, out := c.DeletePolicyRequest(input) return out, req.Send() @@ -3178,7 +3178,7 @@ const opDeletePolicyVersion = "DeletePolicyVersion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyVersion func (c *IAM) DeletePolicyVersionRequest(input *DeletePolicyVersionInput) (req *request.Request, output *DeletePolicyVersionOutput) { op := &request.Operation{ Name: opDeletePolicyVersion, @@ -3237,7 +3237,7 @@ func (c *IAM) DeletePolicyVersionRequest(input *DeletePolicyVersionInput) (req * // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyVersion func (c *IAM) DeletePolicyVersion(input *DeletePolicyVersionInput) (*DeletePolicyVersionOutput, error) { req, out := c.DeletePolicyVersionRequest(input) return out, req.Send() @@ -3284,7 +3284,7 @@ const opDeleteRole = "DeleteRole" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRole func (c *IAM) DeleteRoleRequest(input *DeleteRoleInput) (req *request.Request, output *DeleteRoleOutput) { op := &request.Operation{ Name: opDeleteRole, @@ -3342,7 +3342,7 @@ func (c *IAM) DeleteRoleRequest(input *DeleteRoleInput) (req *request.Request, o // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRole func (c *IAM) DeleteRole(input *DeleteRoleInput) (*DeleteRoleOutput, error) { req, out := c.DeleteRoleRequest(input) return out, req.Send() @@ -3389,7 +3389,7 @@ const opDeleteRolePolicy = "DeleteRolePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRolePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRolePolicy func (c *IAM) DeleteRolePolicyRequest(input *DeleteRolePolicyInput) (req *request.Request, output *DeleteRolePolicyOutput) { op := &request.Operation{ Name: opDeleteRolePolicy, @@ -3444,7 +3444,7 @@ func (c *IAM) DeleteRolePolicyRequest(input *DeleteRolePolicyInput) (req *reques // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRolePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRolePolicy func (c *IAM) DeleteRolePolicy(input *DeleteRolePolicyInput) (*DeleteRolePolicyOutput, error) { req, out := c.DeleteRolePolicyRequest(input) return out, req.Send() @@ -3491,7 +3491,7 @@ const opDeleteSAMLProvider = "DeleteSAMLProvider" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSAMLProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSAMLProvider func (c *IAM) DeleteSAMLProviderRequest(input *DeleteSAMLProviderInput) (req *request.Request, output *DeleteSAMLProviderOutput) { op := &request.Operation{ Name: opDeleteSAMLProvider, @@ -3545,7 +3545,7 @@ func (c *IAM) DeleteSAMLProviderRequest(input *DeleteSAMLProviderInput) (req *re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSAMLProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSAMLProvider func (c *IAM) DeleteSAMLProvider(input *DeleteSAMLProviderInput) (*DeleteSAMLProviderOutput, error) { req, out := c.DeleteSAMLProviderRequest(input) return out, req.Send() @@ -3592,7 +3592,7 @@ const opDeleteSSHPublicKey = "DeleteSSHPublicKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSSHPublicKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSSHPublicKey func (c *IAM) DeleteSSHPublicKeyRequest(input *DeleteSSHPublicKeyInput) (req *request.Request, output *DeleteSSHPublicKeyOutput) { op := &request.Operation{ Name: opDeleteSSHPublicKey, @@ -3633,7 +3633,7 @@ func (c *IAM) DeleteSSHPublicKeyRequest(input *DeleteSSHPublicKeyInput) (req *re // The request was rejected because it referenced an entity that does not exist. // The error message describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSSHPublicKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSSHPublicKey func (c *IAM) DeleteSSHPublicKey(input *DeleteSSHPublicKeyInput) (*DeleteSSHPublicKeyOutput, error) { req, out := c.DeleteSSHPublicKeyRequest(input) return out, req.Send() @@ -3680,7 +3680,7 @@ const opDeleteServerCertificate = "DeleteServerCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServerCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServerCertificate func (c *IAM) DeleteServerCertificateRequest(input *DeleteServerCertificateInput) (req *request.Request, output *DeleteServerCertificateOutput) { op := &request.Operation{ Name: opDeleteServerCertificate, @@ -3742,7 +3742,7 @@ func (c *IAM) DeleteServerCertificateRequest(input *DeleteServerCertificateInput // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServerCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServerCertificate func (c *IAM) DeleteServerCertificate(input *DeleteServerCertificateInput) (*DeleteServerCertificateOutput, error) { req, out := c.DeleteServerCertificateRequest(input) return out, req.Send() @@ -3789,7 +3789,7 @@ const opDeleteServiceLinkedRole = "DeleteServiceLinkedRole" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceLinkedRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceLinkedRole func (c *IAM) DeleteServiceLinkedRoleRequest(input *DeleteServiceLinkedRoleInput) (req *request.Request, output *DeleteServiceLinkedRoleOutput) { op := &request.Operation{ Name: opDeleteServiceLinkedRole, @@ -3849,7 +3849,7 @@ func (c *IAM) DeleteServiceLinkedRoleRequest(input *DeleteServiceLinkedRoleInput // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceLinkedRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceLinkedRole func (c *IAM) DeleteServiceLinkedRole(input *DeleteServiceLinkedRoleInput) (*DeleteServiceLinkedRoleOutput, error) { req, out := c.DeleteServiceLinkedRoleRequest(input) return out, req.Send() @@ -3896,7 +3896,7 @@ const opDeleteServiceSpecificCredential = "DeleteServiceSpecificCredential" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceSpecificCredential +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceSpecificCredential func (c *IAM) DeleteServiceSpecificCredentialRequest(input *DeleteServiceSpecificCredentialInput) (req *request.Request, output *DeleteServiceSpecificCredentialOutput) { op := &request.Operation{ Name: opDeleteServiceSpecificCredential, @@ -3931,7 +3931,7 @@ func (c *IAM) DeleteServiceSpecificCredentialRequest(input *DeleteServiceSpecifi // The request was rejected because it referenced an entity that does not exist. // The error message describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceSpecificCredential +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceSpecificCredential func (c *IAM) DeleteServiceSpecificCredential(input *DeleteServiceSpecificCredentialInput) (*DeleteServiceSpecificCredentialOutput, error) { req, out := c.DeleteServiceSpecificCredentialRequest(input) return out, req.Send() @@ -3978,7 +3978,7 @@ const opDeleteSigningCertificate = "DeleteSigningCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSigningCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSigningCertificate func (c *IAM) DeleteSigningCertificateRequest(input *DeleteSigningCertificateInput) (req *request.Request, output *DeleteSigningCertificateOutput) { op := &request.Operation{ Name: opDeleteSigningCertificate, @@ -4026,7 +4026,7 @@ func (c *IAM) DeleteSigningCertificateRequest(input *DeleteSigningCertificateInp // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSigningCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSigningCertificate func (c *IAM) DeleteSigningCertificate(input *DeleteSigningCertificateInput) (*DeleteSigningCertificateOutput, error) { req, out := c.DeleteSigningCertificateRequest(input) return out, req.Send() @@ -4073,7 +4073,7 @@ const opDeleteUser = "DeleteUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUser func (c *IAM) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { op := &request.Operation{ Name: opDeleteUser, @@ -4121,7 +4121,7 @@ func (c *IAM) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, o // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUser func (c *IAM) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { req, out := c.DeleteUserRequest(input) return out, req.Send() @@ -4168,7 +4168,7 @@ const opDeleteUserPolicy = "DeleteUserPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserPolicy func (c *IAM) DeleteUserPolicyRequest(input *DeleteUserPolicyInput) (req *request.Request, output *DeleteUserPolicyOutput) { op := &request.Operation{ Name: opDeleteUserPolicy, @@ -4217,7 +4217,7 @@ func (c *IAM) DeleteUserPolicyRequest(input *DeleteUserPolicyInput) (req *reques // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserPolicy func (c *IAM) DeleteUserPolicy(input *DeleteUserPolicyInput) (*DeleteUserPolicyOutput, error) { req, out := c.DeleteUserPolicyRequest(input) return out, req.Send() @@ -4264,7 +4264,7 @@ const opDeleteVirtualMFADevice = "DeleteVirtualMFADevice" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteVirtualMFADevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteVirtualMFADevice func (c *IAM) DeleteVirtualMFADeviceRequest(input *DeleteVirtualMFADeviceInput) (req *request.Request, output *DeleteVirtualMFADeviceOutput) { op := &request.Operation{ Name: opDeleteVirtualMFADevice, @@ -4314,7 +4314,7 @@ func (c *IAM) DeleteVirtualMFADeviceRequest(input *DeleteVirtualMFADeviceInput) // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteVirtualMFADevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteVirtualMFADevice func (c *IAM) DeleteVirtualMFADevice(input *DeleteVirtualMFADeviceInput) (*DeleteVirtualMFADeviceOutput, error) { req, out := c.DeleteVirtualMFADeviceRequest(input) return out, req.Send() @@ -4361,7 +4361,7 @@ const opDetachGroupPolicy = "DetachGroupPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachGroupPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachGroupPolicy func (c *IAM) DetachGroupPolicyRequest(input *DetachGroupPolicyInput) (req *request.Request, output *DetachGroupPolicyOutput) { op := &request.Operation{ Name: opDetachGroupPolicy, @@ -4413,7 +4413,7 @@ func (c *IAM) DetachGroupPolicyRequest(input *DetachGroupPolicyInput) (req *requ // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachGroupPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachGroupPolicy func (c *IAM) DetachGroupPolicy(input *DetachGroupPolicyInput) (*DetachGroupPolicyOutput, error) { req, out := c.DetachGroupPolicyRequest(input) return out, req.Send() @@ -4460,7 +4460,7 @@ const opDetachRolePolicy = "DetachRolePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachRolePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachRolePolicy func (c *IAM) DetachRolePolicyRequest(input *DetachRolePolicyInput) (req *request.Request, output *DetachRolePolicyOutput) { op := &request.Operation{ Name: opDetachRolePolicy, @@ -4518,7 +4518,7 @@ func (c *IAM) DetachRolePolicyRequest(input *DetachRolePolicyInput) (req *reques // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachRolePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachRolePolicy func (c *IAM) DetachRolePolicy(input *DetachRolePolicyInput) (*DetachRolePolicyOutput, error) { req, out := c.DetachRolePolicyRequest(input) return out, req.Send() @@ -4565,7 +4565,7 @@ const opDetachUserPolicy = "DetachUserPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachUserPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachUserPolicy func (c *IAM) DetachUserPolicyRequest(input *DetachUserPolicyInput) (req *request.Request, output *DetachUserPolicyOutput) { op := &request.Operation{ Name: opDetachUserPolicy, @@ -4617,7 +4617,7 @@ func (c *IAM) DetachUserPolicyRequest(input *DetachUserPolicyInput) (req *reques // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachUserPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachUserPolicy func (c *IAM) DetachUserPolicy(input *DetachUserPolicyInput) (*DetachUserPolicyOutput, error) { req, out := c.DetachUserPolicyRequest(input) return out, req.Send() @@ -4664,7 +4664,7 @@ const opEnableMFADevice = "EnableMFADevice" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableMFADevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableMFADevice func (c *IAM) EnableMFADeviceRequest(input *EnableMFADeviceInput) (req *request.Request, output *EnableMFADeviceOutput) { op := &request.Operation{ Name: opEnableMFADevice, @@ -4723,7 +4723,7 @@ func (c *IAM) EnableMFADeviceRequest(input *EnableMFADeviceInput) (req *request. // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableMFADevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableMFADevice func (c *IAM) EnableMFADevice(input *EnableMFADeviceInput) (*EnableMFADeviceOutput, error) { req, out := c.EnableMFADeviceRequest(input) return out, req.Send() @@ -4770,7 +4770,7 @@ const opGenerateCredentialReport = "GenerateCredentialReport" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateCredentialReport +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateCredentialReport func (c *IAM) GenerateCredentialReportRequest(input *GenerateCredentialReportInput) (req *request.Request, output *GenerateCredentialReportOutput) { op := &request.Operation{ Name: opGenerateCredentialReport, @@ -4809,7 +4809,7 @@ func (c *IAM) GenerateCredentialReportRequest(input *GenerateCredentialReportInp // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateCredentialReport +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateCredentialReport func (c *IAM) GenerateCredentialReport(input *GenerateCredentialReportInput) (*GenerateCredentialReportOutput, error) { req, out := c.GenerateCredentialReportRequest(input) return out, req.Send() @@ -4856,7 +4856,7 @@ const opGetAccessKeyLastUsed = "GetAccessKeyLastUsed" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccessKeyLastUsed +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccessKeyLastUsed func (c *IAM) GetAccessKeyLastUsedRequest(input *GetAccessKeyLastUsedInput) (req *request.Request, output *GetAccessKeyLastUsedOutput) { op := &request.Operation{ Name: opGetAccessKeyLastUsed, @@ -4892,7 +4892,7 @@ func (c *IAM) GetAccessKeyLastUsedRequest(input *GetAccessKeyLastUsedInput) (req // The request was rejected because it referenced an entity that does not exist. // The error message describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccessKeyLastUsed +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccessKeyLastUsed func (c *IAM) GetAccessKeyLastUsed(input *GetAccessKeyLastUsedInput) (*GetAccessKeyLastUsedOutput, error) { req, out := c.GetAccessKeyLastUsedRequest(input) return out, req.Send() @@ -4939,7 +4939,7 @@ const opGetAccountAuthorizationDetails = "GetAccountAuthorizationDetails" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountAuthorizationDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountAuthorizationDetails func (c *IAM) GetAccountAuthorizationDetailsRequest(input *GetAccountAuthorizationDetailsInput) (req *request.Request, output *GetAccountAuthorizationDetailsOutput) { op := &request.Operation{ Name: opGetAccountAuthorizationDetails, @@ -4984,7 +4984,7 @@ func (c *IAM) GetAccountAuthorizationDetailsRequest(input *GetAccountAuthorizati // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountAuthorizationDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountAuthorizationDetails func (c *IAM) GetAccountAuthorizationDetails(input *GetAccountAuthorizationDetailsInput) (*GetAccountAuthorizationDetailsOutput, error) { req, out := c.GetAccountAuthorizationDetailsRequest(input) return out, req.Send() @@ -5081,7 +5081,7 @@ const opGetAccountPasswordPolicy = "GetAccountPasswordPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountPasswordPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountPasswordPolicy func (c *IAM) GetAccountPasswordPolicyRequest(input *GetAccountPasswordPolicyInput) (req *request.Request, output *GetAccountPasswordPolicyOutput) { op := &request.Operation{ Name: opGetAccountPasswordPolicy, @@ -5119,7 +5119,7 @@ func (c *IAM) GetAccountPasswordPolicyRequest(input *GetAccountPasswordPolicyInp // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountPasswordPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountPasswordPolicy func (c *IAM) GetAccountPasswordPolicy(input *GetAccountPasswordPolicyInput) (*GetAccountPasswordPolicyOutput, error) { req, out := c.GetAccountPasswordPolicyRequest(input) return out, req.Send() @@ -5166,7 +5166,7 @@ const opGetAccountSummary = "GetAccountSummary" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountSummary func (c *IAM) GetAccountSummaryRequest(input *GetAccountSummaryInput) (req *request.Request, output *GetAccountSummaryOutput) { op := &request.Operation{ Name: opGetAccountSummary, @@ -5203,7 +5203,7 @@ func (c *IAM) GetAccountSummaryRequest(input *GetAccountSummaryInput) (req *requ // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountSummary func (c *IAM) GetAccountSummary(input *GetAccountSummaryInput) (*GetAccountSummaryOutput, error) { req, out := c.GetAccountSummaryRequest(input) return out, req.Send() @@ -5250,7 +5250,7 @@ const opGetContextKeysForCustomPolicy = "GetContextKeysForCustomPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForCustomPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForCustomPolicy func (c *IAM) GetContextKeysForCustomPolicyRequest(input *GetContextKeysForCustomPolicyInput) (req *request.Request, output *GetContextKeysForPolicyResponse) { op := &request.Operation{ Name: opGetContextKeysForCustomPolicy, @@ -5292,7 +5292,7 @@ func (c *IAM) GetContextKeysForCustomPolicyRequest(input *GetContextKeysForCusto // The request was rejected because an invalid or out-of-range value was supplied // for an input parameter. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForCustomPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForCustomPolicy func (c *IAM) GetContextKeysForCustomPolicy(input *GetContextKeysForCustomPolicyInput) (*GetContextKeysForPolicyResponse, error) { req, out := c.GetContextKeysForCustomPolicyRequest(input) return out, req.Send() @@ -5339,7 +5339,7 @@ const opGetContextKeysForPrincipalPolicy = "GetContextKeysForPrincipalPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForPrincipalPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForPrincipalPolicy func (c *IAM) GetContextKeysForPrincipalPolicyRequest(input *GetContextKeysForPrincipalPolicyInput) (req *request.Request, output *GetContextKeysForPolicyResponse) { op := &request.Operation{ Name: opGetContextKeysForPrincipalPolicy, @@ -5392,7 +5392,7 @@ func (c *IAM) GetContextKeysForPrincipalPolicyRequest(input *GetContextKeysForPr // The request was rejected because an invalid or out-of-range value was supplied // for an input parameter. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForPrincipalPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForPrincipalPolicy func (c *IAM) GetContextKeysForPrincipalPolicy(input *GetContextKeysForPrincipalPolicyInput) (*GetContextKeysForPolicyResponse, error) { req, out := c.GetContextKeysForPrincipalPolicyRequest(input) return out, req.Send() @@ -5439,7 +5439,7 @@ const opGetCredentialReport = "GetCredentialReport" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetCredentialReport +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetCredentialReport func (c *IAM) GetCredentialReportRequest(input *GetCredentialReportInput) (req *request.Request, output *GetCredentialReportOutput) { op := &request.Operation{ Name: opGetCredentialReport, @@ -5488,7 +5488,7 @@ func (c *IAM) GetCredentialReportRequest(input *GetCredentialReportInput) (req * // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetCredentialReport +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetCredentialReport func (c *IAM) GetCredentialReport(input *GetCredentialReportInput) (*GetCredentialReportOutput, error) { req, out := c.GetCredentialReportRequest(input) return out, req.Send() @@ -5535,7 +5535,7 @@ const opGetGroup = "GetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroup func (c *IAM) GetGroupRequest(input *GetGroupInput) (req *request.Request, output *GetGroupOutput) { op := &request.Operation{ Name: opGetGroup, @@ -5579,7 +5579,7 @@ func (c *IAM) GetGroupRequest(input *GetGroupInput) (req *request.Request, outpu // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroup func (c *IAM) GetGroup(input *GetGroupInput) (*GetGroupOutput, error) { req, out := c.GetGroupRequest(input) return out, req.Send() @@ -5676,7 +5676,7 @@ const opGetGroupPolicy = "GetGroupPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupPolicy func (c *IAM) GetGroupPolicyRequest(input *GetGroupPolicyInput) (req *request.Request, output *GetGroupPolicyOutput) { op := &request.Operation{ Name: opGetGroupPolicy, @@ -5729,7 +5729,7 @@ func (c *IAM) GetGroupPolicyRequest(input *GetGroupPolicyInput) (req *request.Re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupPolicy func (c *IAM) GetGroupPolicy(input *GetGroupPolicyInput) (*GetGroupPolicyOutput, error) { req, out := c.GetGroupPolicyRequest(input) return out, req.Send() @@ -5776,7 +5776,7 @@ const opGetInstanceProfile = "GetInstanceProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetInstanceProfile func (c *IAM) GetInstanceProfileRequest(input *GetInstanceProfileInput) (req *request.Request, output *GetInstanceProfileOutput) { op := &request.Operation{ Name: opGetInstanceProfile, @@ -5816,7 +5816,7 @@ func (c *IAM) GetInstanceProfileRequest(input *GetInstanceProfileInput) (req *re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetInstanceProfile func (c *IAM) GetInstanceProfile(input *GetInstanceProfileInput) (*GetInstanceProfileOutput, error) { req, out := c.GetInstanceProfileRequest(input) return out, req.Send() @@ -5863,7 +5863,7 @@ const opGetLoginProfile = "GetLoginProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetLoginProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetLoginProfile func (c *IAM) GetLoginProfileRequest(input *GetLoginProfileInput) (req *request.Request, output *GetLoginProfileOutput) { op := &request.Operation{ Name: opGetLoginProfile, @@ -5902,7 +5902,7 @@ func (c *IAM) GetLoginProfileRequest(input *GetLoginProfileInput) (req *request. // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetLoginProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetLoginProfile func (c *IAM) GetLoginProfile(input *GetLoginProfileInput) (*GetLoginProfileOutput, error) { req, out := c.GetLoginProfileRequest(input) return out, req.Send() @@ -5949,7 +5949,7 @@ const opGetOpenIDConnectProvider = "GetOpenIDConnectProvider" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOpenIDConnectProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOpenIDConnectProvider func (c *IAM) GetOpenIDConnectProviderRequest(input *GetOpenIDConnectProviderInput) (req *request.Request, output *GetOpenIDConnectProviderOutput) { op := &request.Operation{ Name: opGetOpenIDConnectProvider, @@ -5991,7 +5991,7 @@ func (c *IAM) GetOpenIDConnectProviderRequest(input *GetOpenIDConnectProviderInp // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOpenIDConnectProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOpenIDConnectProvider func (c *IAM) GetOpenIDConnectProvider(input *GetOpenIDConnectProviderInput) (*GetOpenIDConnectProviderOutput, error) { req, out := c.GetOpenIDConnectProviderRequest(input) return out, req.Send() @@ -6038,7 +6038,7 @@ const opGetPolicy = "GetPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicy func (c *IAM) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput) { op := &request.Operation{ Name: opGetPolicy, @@ -6092,7 +6092,7 @@ func (c *IAM) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, out // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicy func (c *IAM) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { req, out := c.GetPolicyRequest(input) return out, req.Send() @@ -6139,7 +6139,7 @@ const opGetPolicyVersion = "GetPolicyVersion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyVersion func (c *IAM) GetPolicyVersionRequest(input *GetPolicyVersionInput) (req *request.Request, output *GetPolicyVersionOutput) { op := &request.Operation{ Name: opGetPolicyVersion, @@ -6201,7 +6201,7 @@ func (c *IAM) GetPolicyVersionRequest(input *GetPolicyVersionInput) (req *reques // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyVersion func (c *IAM) GetPolicyVersion(input *GetPolicyVersionInput) (*GetPolicyVersionOutput, error) { req, out := c.GetPolicyVersionRequest(input) return out, req.Send() @@ -6248,7 +6248,7 @@ const opGetRole = "GetRole" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRole func (c *IAM) GetRoleRequest(input *GetRoleInput) (req *request.Request, output *GetRoleOutput) { op := &request.Operation{ Name: opGetRole, @@ -6293,7 +6293,7 @@ func (c *IAM) GetRoleRequest(input *GetRoleInput) (req *request.Request, output // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRole func (c *IAM) GetRole(input *GetRoleInput) (*GetRoleOutput, error) { req, out := c.GetRoleRequest(input) return out, req.Send() @@ -6340,7 +6340,7 @@ const opGetRolePolicy = "GetRolePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRolePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRolePolicy func (c *IAM) GetRolePolicyRequest(input *GetRolePolicyInput) (req *request.Request, output *GetRolePolicyOutput) { op := &request.Operation{ Name: opGetRolePolicy, @@ -6396,7 +6396,7 @@ func (c *IAM) GetRolePolicyRequest(input *GetRolePolicyInput) (req *request.Requ // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRolePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRolePolicy func (c *IAM) GetRolePolicy(input *GetRolePolicyInput) (*GetRolePolicyOutput, error) { req, out := c.GetRolePolicyRequest(input) return out, req.Send() @@ -6443,7 +6443,7 @@ const opGetSAMLProvider = "GetSAMLProvider" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProvider func (c *IAM) GetSAMLProviderRequest(input *GetSAMLProviderInput) (req *request.Request, output *GetSAMLProviderOutput) { op := &request.Operation{ Name: opGetSAMLProvider, @@ -6487,7 +6487,7 @@ func (c *IAM) GetSAMLProviderRequest(input *GetSAMLProviderInput) (req *request. // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProvider func (c *IAM) GetSAMLProvider(input *GetSAMLProviderInput) (*GetSAMLProviderOutput, error) { req, out := c.GetSAMLProviderRequest(input) return out, req.Send() @@ -6534,7 +6534,7 @@ const opGetSSHPublicKey = "GetSSHPublicKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSSHPublicKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSSHPublicKey func (c *IAM) GetSSHPublicKeyRequest(input *GetSSHPublicKeyInput) (req *request.Request, output *GetSSHPublicKeyOutput) { op := &request.Operation{ Name: opGetSSHPublicKey, @@ -6577,7 +6577,7 @@ func (c *IAM) GetSSHPublicKeyRequest(input *GetSSHPublicKeyInput) (req *request. // The request was rejected because the public key encoding format is unsupported // or unrecognized. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSSHPublicKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSSHPublicKey func (c *IAM) GetSSHPublicKey(input *GetSSHPublicKeyInput) (*GetSSHPublicKeyOutput, error) { req, out := c.GetSSHPublicKeyRequest(input) return out, req.Send() @@ -6624,7 +6624,7 @@ const opGetServerCertificate = "GetServerCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServerCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServerCertificate func (c *IAM) GetServerCertificateRequest(input *GetServerCertificateInput) (req *request.Request, output *GetServerCertificateOutput) { op := &request.Operation{ Name: opGetServerCertificate, @@ -6666,7 +6666,7 @@ func (c *IAM) GetServerCertificateRequest(input *GetServerCertificateInput) (req // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServerCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServerCertificate func (c *IAM) GetServerCertificate(input *GetServerCertificateInput) (*GetServerCertificateOutput, error) { req, out := c.GetServerCertificateRequest(input) return out, req.Send() @@ -6713,7 +6713,7 @@ const opGetServiceLinkedRoleDeletionStatus = "GetServiceLinkedRoleDeletionStatus // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLinkedRoleDeletionStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLinkedRoleDeletionStatus func (c *IAM) GetServiceLinkedRoleDeletionStatusRequest(input *GetServiceLinkedRoleDeletionStatusInput) (req *request.Request, output *GetServiceLinkedRoleDeletionStatusOutput) { op := &request.Operation{ Name: opGetServiceLinkedRoleDeletionStatus, @@ -6758,7 +6758,7 @@ func (c *IAM) GetServiceLinkedRoleDeletionStatusRequest(input *GetServiceLinkedR // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLinkedRoleDeletionStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLinkedRoleDeletionStatus func (c *IAM) GetServiceLinkedRoleDeletionStatus(input *GetServiceLinkedRoleDeletionStatusInput) (*GetServiceLinkedRoleDeletionStatusOutput, error) { req, out := c.GetServiceLinkedRoleDeletionStatusRequest(input) return out, req.Send() @@ -6805,7 +6805,7 @@ const opGetUser = "GetUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUser func (c *IAM) GetUserRequest(input *GetUserInput) (req *request.Request, output *GetUserOutput) { op := &request.Operation{ Name: opGetUser, @@ -6846,7 +6846,7 @@ func (c *IAM) GetUserRequest(input *GetUserInput) (req *request.Request, output // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUser func (c *IAM) GetUser(input *GetUserInput) (*GetUserOutput, error) { req, out := c.GetUserRequest(input) return out, req.Send() @@ -6893,7 +6893,7 @@ const opGetUserPolicy = "GetUserPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserPolicy func (c *IAM) GetUserPolicyRequest(input *GetUserPolicyInput) (req *request.Request, output *GetUserPolicyOutput) { op := &request.Operation{ Name: opGetUserPolicy, @@ -6946,7 +6946,7 @@ func (c *IAM) GetUserPolicyRequest(input *GetUserPolicyInput) (req *request.Requ // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserPolicy func (c *IAM) GetUserPolicy(input *GetUserPolicyInput) (*GetUserPolicyOutput, error) { req, out := c.GetUserPolicyRequest(input) return out, req.Send() @@ -6993,7 +6993,7 @@ const opListAccessKeys = "ListAccessKeys" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccessKeys +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccessKeys func (c *IAM) ListAccessKeysRequest(input *ListAccessKeysInput) (req *request.Request, output *ListAccessKeysOutput) { op := &request.Operation{ Name: opListAccessKeys, @@ -7048,7 +7048,7 @@ func (c *IAM) ListAccessKeysRequest(input *ListAccessKeysInput) (req *request.Re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccessKeys +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccessKeys func (c *IAM) ListAccessKeys(input *ListAccessKeysInput) (*ListAccessKeysOutput, error) { req, out := c.ListAccessKeysRequest(input) return out, req.Send() @@ -7145,7 +7145,7 @@ const opListAccountAliases = "ListAccountAliases" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccountAliases +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccountAliases func (c *IAM) ListAccountAliasesRequest(input *ListAccountAliasesInput) (req *request.Request, output *ListAccountAliasesOutput) { op := &request.Operation{ Name: opListAccountAliases, @@ -7187,7 +7187,7 @@ func (c *IAM) ListAccountAliasesRequest(input *ListAccountAliasesInput) (req *re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccountAliases +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccountAliases func (c *IAM) ListAccountAliases(input *ListAccountAliasesInput) (*ListAccountAliasesOutput, error) { req, out := c.ListAccountAliasesRequest(input) return out, req.Send() @@ -7284,7 +7284,7 @@ const opListAttachedGroupPolicies = "ListAttachedGroupPolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedGroupPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedGroupPolicies func (c *IAM) ListAttachedGroupPoliciesRequest(input *ListAttachedGroupPoliciesInput) (req *request.Request, output *ListAttachedGroupPoliciesOutput) { op := &request.Operation{ Name: opListAttachedGroupPolicies, @@ -7342,7 +7342,7 @@ func (c *IAM) ListAttachedGroupPoliciesRequest(input *ListAttachedGroupPoliciesI // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedGroupPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedGroupPolicies func (c *IAM) ListAttachedGroupPolicies(input *ListAttachedGroupPoliciesInput) (*ListAttachedGroupPoliciesOutput, error) { req, out := c.ListAttachedGroupPoliciesRequest(input) return out, req.Send() @@ -7439,7 +7439,7 @@ const opListAttachedRolePolicies = "ListAttachedRolePolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedRolePolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedRolePolicies func (c *IAM) ListAttachedRolePoliciesRequest(input *ListAttachedRolePoliciesInput) (req *request.Request, output *ListAttachedRolePoliciesOutput) { op := &request.Operation{ Name: opListAttachedRolePolicies, @@ -7497,7 +7497,7 @@ func (c *IAM) ListAttachedRolePoliciesRequest(input *ListAttachedRolePoliciesInp // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedRolePolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedRolePolicies func (c *IAM) ListAttachedRolePolicies(input *ListAttachedRolePoliciesInput) (*ListAttachedRolePoliciesOutput, error) { req, out := c.ListAttachedRolePoliciesRequest(input) return out, req.Send() @@ -7594,7 +7594,7 @@ const opListAttachedUserPolicies = "ListAttachedUserPolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedUserPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedUserPolicies func (c *IAM) ListAttachedUserPoliciesRequest(input *ListAttachedUserPoliciesInput) (req *request.Request, output *ListAttachedUserPoliciesOutput) { op := &request.Operation{ Name: opListAttachedUserPolicies, @@ -7652,7 +7652,7 @@ func (c *IAM) ListAttachedUserPoliciesRequest(input *ListAttachedUserPoliciesInp // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedUserPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedUserPolicies func (c *IAM) ListAttachedUserPolicies(input *ListAttachedUserPoliciesInput) (*ListAttachedUserPoliciesOutput, error) { req, out := c.ListAttachedUserPoliciesRequest(input) return out, req.Send() @@ -7749,7 +7749,7 @@ const opListEntitiesForPolicy = "ListEntitiesForPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListEntitiesForPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListEntitiesForPolicy func (c *IAM) ListEntitiesForPolicyRequest(input *ListEntitiesForPolicyInput) (req *request.Request, output *ListEntitiesForPolicyOutput) { op := &request.Operation{ Name: opListEntitiesForPolicy, @@ -7804,7 +7804,7 @@ func (c *IAM) ListEntitiesForPolicyRequest(input *ListEntitiesForPolicyInput) (r // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListEntitiesForPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListEntitiesForPolicy func (c *IAM) ListEntitiesForPolicy(input *ListEntitiesForPolicyInput) (*ListEntitiesForPolicyOutput, error) { req, out := c.ListEntitiesForPolicyRequest(input) return out, req.Send() @@ -7901,7 +7901,7 @@ const opListGroupPolicies = "ListGroupPolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupPolicies func (c *IAM) ListGroupPoliciesRequest(input *ListGroupPoliciesInput) (req *request.Request, output *ListGroupPoliciesOutput) { op := &request.Operation{ Name: opListGroupPolicies, @@ -7955,7 +7955,7 @@ func (c *IAM) ListGroupPoliciesRequest(input *ListGroupPoliciesInput) (req *requ // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupPolicies func (c *IAM) ListGroupPolicies(input *ListGroupPoliciesInput) (*ListGroupPoliciesOutput, error) { req, out := c.ListGroupPoliciesRequest(input) return out, req.Send() @@ -8052,7 +8052,7 @@ const opListGroups = "ListGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroups func (c *IAM) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput) { op := &request.Operation{ Name: opListGroups, @@ -8093,7 +8093,7 @@ func (c *IAM) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, o // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroups func (c *IAM) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error) { req, out := c.ListGroupsRequest(input) return out, req.Send() @@ -8190,7 +8190,7 @@ const opListGroupsForUser = "ListGroupsForUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsForUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsForUser func (c *IAM) ListGroupsForUserRequest(input *ListGroupsForUserInput) (req *request.Request, output *ListGroupsForUserOutput) { op := &request.Operation{ Name: opListGroupsForUser, @@ -8235,7 +8235,7 @@ func (c *IAM) ListGroupsForUserRequest(input *ListGroupsForUserInput) (req *requ // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsForUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsForUser func (c *IAM) ListGroupsForUser(input *ListGroupsForUserInput) (*ListGroupsForUserOutput, error) { req, out := c.ListGroupsForUserRequest(input) return out, req.Send() @@ -8332,7 +8332,7 @@ const opListInstanceProfiles = "ListInstanceProfiles" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfiles +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfiles func (c *IAM) ListInstanceProfilesRequest(input *ListInstanceProfilesInput) (req *request.Request, output *ListInstanceProfilesOutput) { op := &request.Operation{ Name: opListInstanceProfiles, @@ -8375,7 +8375,7 @@ func (c *IAM) ListInstanceProfilesRequest(input *ListInstanceProfilesInput) (req // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfiles +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfiles func (c *IAM) ListInstanceProfiles(input *ListInstanceProfilesInput) (*ListInstanceProfilesOutput, error) { req, out := c.ListInstanceProfilesRequest(input) return out, req.Send() @@ -8472,7 +8472,7 @@ const opListInstanceProfilesForRole = "ListInstanceProfilesForRole" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesForRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesForRole func (c *IAM) ListInstanceProfilesForRoleRequest(input *ListInstanceProfilesForRoleInput) (req *request.Request, output *ListInstanceProfilesForRoleOutput) { op := &request.Operation{ Name: opListInstanceProfilesForRole, @@ -8519,7 +8519,7 @@ func (c *IAM) ListInstanceProfilesForRoleRequest(input *ListInstanceProfilesForR // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesForRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesForRole func (c *IAM) ListInstanceProfilesForRole(input *ListInstanceProfilesForRoleInput) (*ListInstanceProfilesForRoleOutput, error) { req, out := c.ListInstanceProfilesForRoleRequest(input) return out, req.Send() @@ -8616,7 +8616,7 @@ const opListMFADevices = "ListMFADevices" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListMFADevices +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListMFADevices func (c *IAM) ListMFADevicesRequest(input *ListMFADevicesInput) (req *request.Request, output *ListMFADevicesOutput) { op := &request.Operation{ Name: opListMFADevices, @@ -8664,7 +8664,7 @@ func (c *IAM) ListMFADevicesRequest(input *ListMFADevicesInput) (req *request.Re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListMFADevices +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListMFADevices func (c *IAM) ListMFADevices(input *ListMFADevicesInput) (*ListMFADevicesOutput, error) { req, out := c.ListMFADevicesRequest(input) return out, req.Send() @@ -8761,7 +8761,7 @@ const opListOpenIDConnectProviders = "ListOpenIDConnectProviders" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListOpenIDConnectProviders +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListOpenIDConnectProviders func (c *IAM) ListOpenIDConnectProvidersRequest(input *ListOpenIDConnectProvidersInput) (req *request.Request, output *ListOpenIDConnectProvidersOutput) { op := &request.Operation{ Name: opListOpenIDConnectProviders, @@ -8795,7 +8795,7 @@ func (c *IAM) ListOpenIDConnectProvidersRequest(input *ListOpenIDConnectProvider // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListOpenIDConnectProviders +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListOpenIDConnectProviders func (c *IAM) ListOpenIDConnectProviders(input *ListOpenIDConnectProvidersInput) (*ListOpenIDConnectProvidersOutput, error) { req, out := c.ListOpenIDConnectProvidersRequest(input) return out, req.Send() @@ -8842,7 +8842,7 @@ const opListPolicies = "ListPolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicies func (c *IAM) ListPoliciesRequest(input *ListPoliciesInput) (req *request.Request, output *ListPoliciesOutput) { op := &request.Operation{ Name: opListPolicies, @@ -8893,7 +8893,7 @@ func (c *IAM) ListPoliciesRequest(input *ListPoliciesInput) (req *request.Reques // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicies func (c *IAM) ListPolicies(input *ListPoliciesInput) (*ListPoliciesOutput, error) { req, out := c.ListPoliciesRequest(input) return out, req.Send() @@ -8990,7 +8990,7 @@ const opListPolicyVersions = "ListPolicyVersions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicyVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicyVersions func (c *IAM) ListPolicyVersionsRequest(input *ListPolicyVersionsInput) (req *request.Request, output *ListPolicyVersionsOutput) { op := &request.Operation{ Name: opListPolicyVersions, @@ -9042,7 +9042,7 @@ func (c *IAM) ListPolicyVersionsRequest(input *ListPolicyVersionsInput) (req *re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicyVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicyVersions func (c *IAM) ListPolicyVersions(input *ListPolicyVersionsInput) (*ListPolicyVersionsOutput, error) { req, out := c.ListPolicyVersionsRequest(input) return out, req.Send() @@ -9139,7 +9139,7 @@ const opListRolePolicies = "ListRolePolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolePolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolePolicies func (c *IAM) ListRolePoliciesRequest(input *ListRolePoliciesInput) (req *request.Request, output *ListRolePoliciesOutput) { op := &request.Operation{ Name: opListRolePolicies, @@ -9192,7 +9192,7 @@ func (c *IAM) ListRolePoliciesRequest(input *ListRolePoliciesInput) (req *reques // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolePolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolePolicies func (c *IAM) ListRolePolicies(input *ListRolePoliciesInput) (*ListRolePoliciesOutput, error) { req, out := c.ListRolePoliciesRequest(input) return out, req.Send() @@ -9289,7 +9289,7 @@ const opListRoles = "ListRoles" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRoles +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRoles func (c *IAM) ListRolesRequest(input *ListRolesInput) (req *request.Request, output *ListRolesOutput) { op := &request.Operation{ Name: opListRoles, @@ -9332,7 +9332,7 @@ func (c *IAM) ListRolesRequest(input *ListRolesInput) (req *request.Request, out // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRoles +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRoles func (c *IAM) ListRoles(input *ListRolesInput) (*ListRolesOutput, error) { req, out := c.ListRolesRequest(input) return out, req.Send() @@ -9429,7 +9429,7 @@ const opListSAMLProviders = "ListSAMLProviders" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSAMLProviders +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSAMLProviders func (c *IAM) ListSAMLProvidersRequest(input *ListSAMLProvidersInput) (req *request.Request, output *ListSAMLProvidersOutput) { op := &request.Operation{ Name: opListSAMLProviders, @@ -9464,7 +9464,7 @@ func (c *IAM) ListSAMLProvidersRequest(input *ListSAMLProvidersInput) (req *requ // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSAMLProviders +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSAMLProviders func (c *IAM) ListSAMLProviders(input *ListSAMLProvidersInput) (*ListSAMLProvidersOutput, error) { req, out := c.ListSAMLProvidersRequest(input) return out, req.Send() @@ -9511,7 +9511,7 @@ const opListSSHPublicKeys = "ListSSHPublicKeys" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSSHPublicKeys +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSSHPublicKeys func (c *IAM) ListSSHPublicKeysRequest(input *ListSSHPublicKeysInput) (req *request.Request, output *ListSSHPublicKeysOutput) { op := &request.Operation{ Name: opListSSHPublicKeys, @@ -9560,7 +9560,7 @@ func (c *IAM) ListSSHPublicKeysRequest(input *ListSSHPublicKeysInput) (req *requ // The request was rejected because it referenced an entity that does not exist. // The error message describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSSHPublicKeys +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSSHPublicKeys func (c *IAM) ListSSHPublicKeys(input *ListSSHPublicKeysInput) (*ListSSHPublicKeysOutput, error) { req, out := c.ListSSHPublicKeysRequest(input) return out, req.Send() @@ -9657,7 +9657,7 @@ const opListServerCertificates = "ListServerCertificates" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServerCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServerCertificates func (c *IAM) ListServerCertificatesRequest(input *ListServerCertificatesInput) (req *request.Request, output *ListServerCertificatesOutput) { op := &request.Operation{ Name: opListServerCertificates, @@ -9704,7 +9704,7 @@ func (c *IAM) ListServerCertificatesRequest(input *ListServerCertificatesInput) // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServerCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServerCertificates func (c *IAM) ListServerCertificates(input *ListServerCertificatesInput) (*ListServerCertificatesOutput, error) { req, out := c.ListServerCertificatesRequest(input) return out, req.Send() @@ -9801,7 +9801,7 @@ const opListServiceSpecificCredentials = "ListServiceSpecificCredentials" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServiceSpecificCredentials +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServiceSpecificCredentials func (c *IAM) ListServiceSpecificCredentialsRequest(input *ListServiceSpecificCredentialsInput) (req *request.Request, output *ListServiceSpecificCredentialsOutput) { op := &request.Operation{ Name: opListServiceSpecificCredentials, @@ -9843,7 +9843,7 @@ func (c *IAM) ListServiceSpecificCredentialsRequest(input *ListServiceSpecificCr // * ErrCodeServiceNotSupportedException "NotSupportedService" // The specified service does not support service-specific credentials. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServiceSpecificCredentials +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServiceSpecificCredentials func (c *IAM) ListServiceSpecificCredentials(input *ListServiceSpecificCredentialsInput) (*ListServiceSpecificCredentialsOutput, error) { req, out := c.ListServiceSpecificCredentialsRequest(input) return out, req.Send() @@ -9890,7 +9890,7 @@ const opListSigningCertificates = "ListSigningCertificates" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSigningCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSigningCertificates func (c *IAM) ListSigningCertificatesRequest(input *ListSigningCertificatesInput) (req *request.Request, output *ListSigningCertificatesOutput) { op := &request.Operation{ Name: opListSigningCertificates, @@ -9943,7 +9943,7 @@ func (c *IAM) ListSigningCertificatesRequest(input *ListSigningCertificatesInput // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSigningCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSigningCertificates func (c *IAM) ListSigningCertificates(input *ListSigningCertificatesInput) (*ListSigningCertificatesOutput, error) { req, out := c.ListSigningCertificatesRequest(input) return out, req.Send() @@ -10040,7 +10040,7 @@ const opListUserPolicies = "ListUserPolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUserPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUserPolicies func (c *IAM) ListUserPoliciesRequest(input *ListUserPoliciesInput) (req *request.Request, output *ListUserPoliciesOutput) { op := &request.Operation{ Name: opListUserPolicies, @@ -10092,7 +10092,7 @@ func (c *IAM) ListUserPoliciesRequest(input *ListUserPoliciesInput) (req *reques // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUserPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUserPolicies func (c *IAM) ListUserPolicies(input *ListUserPoliciesInput) (*ListUserPoliciesOutput, error) { req, out := c.ListUserPoliciesRequest(input) return out, req.Send() @@ -10189,7 +10189,7 @@ const opListUsers = "ListUsers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUsers +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUsers func (c *IAM) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) { op := &request.Operation{ Name: opListUsers, @@ -10232,7 +10232,7 @@ func (c *IAM) ListUsersRequest(input *ListUsersInput) (req *request.Request, out // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUsers +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUsers func (c *IAM) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) { req, out := c.ListUsersRequest(input) return out, req.Send() @@ -10329,7 +10329,7 @@ const opListVirtualMFADevices = "ListVirtualMFADevices" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListVirtualMFADevices +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListVirtualMFADevices func (c *IAM) ListVirtualMFADevicesRequest(input *ListVirtualMFADevicesInput) (req *request.Request, output *ListVirtualMFADevicesOutput) { op := &request.Operation{ Name: opListVirtualMFADevices, @@ -10367,7 +10367,7 @@ func (c *IAM) ListVirtualMFADevicesRequest(input *ListVirtualMFADevicesInput) (r // // See the AWS API reference guide for AWS Identity and Access Management's // API operation ListVirtualMFADevices for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListVirtualMFADevices +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListVirtualMFADevices func (c *IAM) ListVirtualMFADevices(input *ListVirtualMFADevicesInput) (*ListVirtualMFADevicesOutput, error) { req, out := c.ListVirtualMFADevicesRequest(input) return out, req.Send() @@ -10464,7 +10464,7 @@ const opPutGroupPolicy = "PutGroupPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutGroupPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutGroupPolicy func (c *IAM) PutGroupPolicyRequest(input *PutGroupPolicyInput) (req *request.Request, output *PutGroupPolicyOutput) { op := &request.Operation{ Name: opPutGroupPolicy, @@ -10527,7 +10527,7 @@ func (c *IAM) PutGroupPolicyRequest(input *PutGroupPolicyInput) (req *request.Re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutGroupPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutGroupPolicy func (c *IAM) PutGroupPolicy(input *PutGroupPolicyInput) (*PutGroupPolicyOutput, error) { req, out := c.PutGroupPolicyRequest(input) return out, req.Send() @@ -10574,7 +10574,7 @@ const opPutRolePolicy = "PutRolePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutRolePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutRolePolicy func (c *IAM) PutRolePolicyRequest(input *PutRolePolicyInput) (req *request.Request, output *PutRolePolicyOutput) { op := &request.Operation{ Name: opPutRolePolicy, @@ -10649,7 +10649,7 @@ func (c *IAM) PutRolePolicyRequest(input *PutRolePolicyInput) (req *request.Requ // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutRolePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutRolePolicy func (c *IAM) PutRolePolicy(input *PutRolePolicyInput) (*PutRolePolicyOutput, error) { req, out := c.PutRolePolicyRequest(input) return out, req.Send() @@ -10696,7 +10696,7 @@ const opPutUserPolicy = "PutUserPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutUserPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutUserPolicy func (c *IAM) PutUserPolicyRequest(input *PutUserPolicyInput) (req *request.Request, output *PutUserPolicyOutput) { op := &request.Operation{ Name: opPutUserPolicy, @@ -10759,7 +10759,7 @@ func (c *IAM) PutUserPolicyRequest(input *PutUserPolicyInput) (req *request.Requ // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutUserPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutUserPolicy func (c *IAM) PutUserPolicy(input *PutUserPolicyInput) (*PutUserPolicyOutput, error) { req, out := c.PutUserPolicyRequest(input) return out, req.Send() @@ -10806,7 +10806,7 @@ const opRemoveClientIDFromOpenIDConnectProvider = "RemoveClientIDFromOpenIDConne // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveClientIDFromOpenIDConnectProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveClientIDFromOpenIDConnectProvider func (c *IAM) RemoveClientIDFromOpenIDConnectProviderRequest(input *RemoveClientIDFromOpenIDConnectProviderInput) (req *request.Request, output *RemoveClientIDFromOpenIDConnectProviderOutput) { op := &request.Operation{ Name: opRemoveClientIDFromOpenIDConnectProvider, @@ -10854,7 +10854,7 @@ func (c *IAM) RemoveClientIDFromOpenIDConnectProviderRequest(input *RemoveClient // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveClientIDFromOpenIDConnectProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveClientIDFromOpenIDConnectProvider func (c *IAM) RemoveClientIDFromOpenIDConnectProvider(input *RemoveClientIDFromOpenIDConnectProviderInput) (*RemoveClientIDFromOpenIDConnectProviderOutput, error) { req, out := c.RemoveClientIDFromOpenIDConnectProviderRequest(input) return out, req.Send() @@ -10901,7 +10901,7 @@ const opRemoveRoleFromInstanceProfile = "RemoveRoleFromInstanceProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveRoleFromInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveRoleFromInstanceProfile func (c *IAM) RemoveRoleFromInstanceProfileRequest(input *RemoveRoleFromInstanceProfileInput) (req *request.Request, output *RemoveRoleFromInstanceProfileOutput) { op := &request.Operation{ Name: opRemoveRoleFromInstanceProfile, @@ -10959,7 +10959,7 @@ func (c *IAM) RemoveRoleFromInstanceProfileRequest(input *RemoveRoleFromInstance // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveRoleFromInstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveRoleFromInstanceProfile func (c *IAM) RemoveRoleFromInstanceProfile(input *RemoveRoleFromInstanceProfileInput) (*RemoveRoleFromInstanceProfileOutput, error) { req, out := c.RemoveRoleFromInstanceProfileRequest(input) return out, req.Send() @@ -11006,7 +11006,7 @@ const opRemoveUserFromGroup = "RemoveUserFromGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveUserFromGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveUserFromGroup func (c *IAM) RemoveUserFromGroupRequest(input *RemoveUserFromGroupInput) (req *request.Request, output *RemoveUserFromGroupOutput) { op := &request.Operation{ Name: opRemoveUserFromGroup, @@ -11049,7 +11049,7 @@ func (c *IAM) RemoveUserFromGroupRequest(input *RemoveUserFromGroupInput) (req * // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveUserFromGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveUserFromGroup func (c *IAM) RemoveUserFromGroup(input *RemoveUserFromGroupInput) (*RemoveUserFromGroupOutput, error) { req, out := c.RemoveUserFromGroupRequest(input) return out, req.Send() @@ -11096,7 +11096,7 @@ const opResetServiceSpecificCredential = "ResetServiceSpecificCredential" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResetServiceSpecificCredential +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResetServiceSpecificCredential func (c *IAM) ResetServiceSpecificCredentialRequest(input *ResetServiceSpecificCredentialInput) (req *request.Request, output *ResetServiceSpecificCredentialOutput) { op := &request.Operation{ Name: opResetServiceSpecificCredential, @@ -11132,7 +11132,7 @@ func (c *IAM) ResetServiceSpecificCredentialRequest(input *ResetServiceSpecificC // The request was rejected because it referenced an entity that does not exist. // The error message describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResetServiceSpecificCredential +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResetServiceSpecificCredential func (c *IAM) ResetServiceSpecificCredential(input *ResetServiceSpecificCredentialInput) (*ResetServiceSpecificCredentialOutput, error) { req, out := c.ResetServiceSpecificCredentialRequest(input) return out, req.Send() @@ -11179,7 +11179,7 @@ const opResyncMFADevice = "ResyncMFADevice" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResyncMFADevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResyncMFADevice func (c *IAM) ResyncMFADeviceRequest(input *ResyncMFADeviceInput) (req *request.Request, output *ResyncMFADeviceOutput) { op := &request.Operation{ Name: opResyncMFADevice, @@ -11231,7 +11231,7 @@ func (c *IAM) ResyncMFADeviceRequest(input *ResyncMFADeviceInput) (req *request. // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResyncMFADevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResyncMFADevice func (c *IAM) ResyncMFADevice(input *ResyncMFADeviceInput) (*ResyncMFADeviceOutput, error) { req, out := c.ResyncMFADeviceRequest(input) return out, req.Send() @@ -11278,7 +11278,7 @@ const opSetDefaultPolicyVersion = "SetDefaultPolicyVersion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SetDefaultPolicyVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SetDefaultPolicyVersion func (c *IAM) SetDefaultPolicyVersionRequest(input *SetDefaultPolicyVersionInput) (req *request.Request, output *SetDefaultPolicyVersionOutput) { op := &request.Operation{ Name: opSetDefaultPolicyVersion, @@ -11334,7 +11334,7 @@ func (c *IAM) SetDefaultPolicyVersionRequest(input *SetDefaultPolicyVersionInput // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SetDefaultPolicyVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SetDefaultPolicyVersion func (c *IAM) SetDefaultPolicyVersion(input *SetDefaultPolicyVersionInput) (*SetDefaultPolicyVersionOutput, error) { req, out := c.SetDefaultPolicyVersionRequest(input) return out, req.Send() @@ -11381,7 +11381,7 @@ const opSimulateCustomPolicy = "SimulateCustomPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulateCustomPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulateCustomPolicy func (c *IAM) SimulateCustomPolicyRequest(input *SimulateCustomPolicyInput) (req *request.Request, output *SimulatePolicyResponse) { op := &request.Operation{ Name: opSimulateCustomPolicy, @@ -11440,7 +11440,7 @@ func (c *IAM) SimulateCustomPolicyRequest(input *SimulateCustomPolicyInput) (req // The request failed because a provided policy could not be successfully evaluated. // An additional detailed message indicates the source of the failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulateCustomPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulateCustomPolicy func (c *IAM) SimulateCustomPolicy(input *SimulateCustomPolicyInput) (*SimulatePolicyResponse, error) { req, out := c.SimulateCustomPolicyRequest(input) return out, req.Send() @@ -11537,7 +11537,7 @@ const opSimulatePrincipalPolicy = "SimulatePrincipalPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulatePrincipalPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulatePrincipalPolicy func (c *IAM) SimulatePrincipalPolicyRequest(input *SimulatePrincipalPolicyInput) (req *request.Request, output *SimulatePolicyResponse) { op := &request.Operation{ Name: opSimulatePrincipalPolicy, @@ -11610,7 +11610,7 @@ func (c *IAM) SimulatePrincipalPolicyRequest(input *SimulatePrincipalPolicyInput // The request failed because a provided policy could not be successfully evaluated. // An additional detailed message indicates the source of the failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulatePrincipalPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulatePrincipalPolicy func (c *IAM) SimulatePrincipalPolicy(input *SimulatePrincipalPolicyInput) (*SimulatePolicyResponse, error) { req, out := c.SimulatePrincipalPolicyRequest(input) return out, req.Send() @@ -11707,7 +11707,7 @@ const opUpdateAccessKey = "UpdateAccessKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccessKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccessKey func (c *IAM) UpdateAccessKeyRequest(input *UpdateAccessKeyInput) (req *request.Request, output *UpdateAccessKeyOutput) { op := &request.Operation{ Name: opUpdateAccessKey, @@ -11760,7 +11760,7 @@ func (c *IAM) UpdateAccessKeyRequest(input *UpdateAccessKeyInput) (req *request. // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccessKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccessKey func (c *IAM) UpdateAccessKey(input *UpdateAccessKeyInput) (*UpdateAccessKeyOutput, error) { req, out := c.UpdateAccessKeyRequest(input) return out, req.Send() @@ -11807,7 +11807,7 @@ const opUpdateAccountPasswordPolicy = "UpdateAccountPasswordPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccountPasswordPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccountPasswordPolicy func (c *IAM) UpdateAccountPasswordPolicyRequest(input *UpdateAccountPasswordPolicyInput) (req *request.Request, output *UpdateAccountPasswordPolicyOutput) { op := &request.Operation{ Name: opUpdateAccountPasswordPolicy, @@ -11863,7 +11863,7 @@ func (c *IAM) UpdateAccountPasswordPolicyRequest(input *UpdateAccountPasswordPol // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccountPasswordPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccountPasswordPolicy func (c *IAM) UpdateAccountPasswordPolicy(input *UpdateAccountPasswordPolicyInput) (*UpdateAccountPasswordPolicyOutput, error) { req, out := c.UpdateAccountPasswordPolicyRequest(input) return out, req.Send() @@ -11910,7 +11910,7 @@ const opUpdateAssumeRolePolicy = "UpdateAssumeRolePolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAssumeRolePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAssumeRolePolicy func (c *IAM) UpdateAssumeRolePolicyRequest(input *UpdateAssumeRolePolicyInput) (req *request.Request, output *UpdateAssumeRolePolicyOutput) { op := &request.Operation{ Name: opUpdateAssumeRolePolicy, @@ -11966,7 +11966,7 @@ func (c *IAM) UpdateAssumeRolePolicyRequest(input *UpdateAssumeRolePolicyInput) // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAssumeRolePolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAssumeRolePolicy func (c *IAM) UpdateAssumeRolePolicy(input *UpdateAssumeRolePolicyInput) (*UpdateAssumeRolePolicyOutput, error) { req, out := c.UpdateAssumeRolePolicyRequest(input) return out, req.Send() @@ -12013,7 +12013,7 @@ const opUpdateGroup = "UpdateGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateGroup func (c *IAM) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput) { op := &request.Operation{ Name: opUpdateGroup, @@ -12070,7 +12070,7 @@ func (c *IAM) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateGroup func (c *IAM) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error) { req, out := c.UpdateGroupRequest(input) return out, req.Send() @@ -12117,7 +12117,7 @@ const opUpdateLoginProfile = "UpdateLoginProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateLoginProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateLoginProfile func (c *IAM) UpdateLoginProfileRequest(input *UpdateLoginProfileInput) (req *request.Request, output *UpdateLoginProfileOutput) { op := &request.Operation{ Name: opUpdateLoginProfile, @@ -12174,7 +12174,7 @@ func (c *IAM) UpdateLoginProfileRequest(input *UpdateLoginProfileInput) (req *re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateLoginProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateLoginProfile func (c *IAM) UpdateLoginProfile(input *UpdateLoginProfileInput) (*UpdateLoginProfileOutput, error) { req, out := c.UpdateLoginProfileRequest(input) return out, req.Send() @@ -12221,7 +12221,7 @@ const opUpdateOpenIDConnectProviderThumbprint = "UpdateOpenIDConnectProviderThum // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateOpenIDConnectProviderThumbprint +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateOpenIDConnectProviderThumbprint func (c *IAM) UpdateOpenIDConnectProviderThumbprintRequest(input *UpdateOpenIDConnectProviderThumbprintInput) (req *request.Request, output *UpdateOpenIDConnectProviderThumbprintOutput) { op := &request.Operation{ Name: opUpdateOpenIDConnectProviderThumbprint, @@ -12278,7 +12278,7 @@ func (c *IAM) UpdateOpenIDConnectProviderThumbprintRequest(input *UpdateOpenIDCo // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateOpenIDConnectProviderThumbprint +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateOpenIDConnectProviderThumbprint func (c *IAM) UpdateOpenIDConnectProviderThumbprint(input *UpdateOpenIDConnectProviderThumbprintInput) (*UpdateOpenIDConnectProviderThumbprintOutput, error) { req, out := c.UpdateOpenIDConnectProviderThumbprintRequest(input) return out, req.Send() @@ -12325,7 +12325,7 @@ const opUpdateRoleDescription = "UpdateRoleDescription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleDescription func (c *IAM) UpdateRoleDescriptionRequest(input *UpdateRoleDescriptionInput) (req *request.Request, output *UpdateRoleDescriptionOutput) { op := &request.Operation{ Name: opUpdateRoleDescription, @@ -12368,7 +12368,7 @@ func (c *IAM) UpdateRoleDescriptionRequest(input *UpdateRoleDescriptionInput) (r // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleDescription func (c *IAM) UpdateRoleDescription(input *UpdateRoleDescriptionInput) (*UpdateRoleDescriptionOutput, error) { req, out := c.UpdateRoleDescriptionRequest(input) return out, req.Send() @@ -12415,7 +12415,7 @@ const opUpdateSAMLProvider = "UpdateSAMLProvider" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSAMLProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSAMLProvider func (c *IAM) UpdateSAMLProviderRequest(input *UpdateSAMLProviderInput) (req *request.Request, output *UpdateSAMLProviderOutput) { op := &request.Operation{ Name: opUpdateSAMLProvider, @@ -12462,7 +12462,7 @@ func (c *IAM) UpdateSAMLProviderRequest(input *UpdateSAMLProviderInput) (req *re // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSAMLProvider +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSAMLProvider func (c *IAM) UpdateSAMLProvider(input *UpdateSAMLProviderInput) (*UpdateSAMLProviderOutput, error) { req, out := c.UpdateSAMLProviderRequest(input) return out, req.Send() @@ -12509,7 +12509,7 @@ const opUpdateSSHPublicKey = "UpdateSSHPublicKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSSHPublicKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSSHPublicKey func (c *IAM) UpdateSSHPublicKeyRequest(input *UpdateSSHPublicKeyInput) (req *request.Request, output *UpdateSSHPublicKeyOutput) { op := &request.Operation{ Name: opUpdateSSHPublicKey, @@ -12553,7 +12553,7 @@ func (c *IAM) UpdateSSHPublicKeyRequest(input *UpdateSSHPublicKeyInput) (req *re // The request was rejected because it referenced an entity that does not exist. // The error message describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSSHPublicKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSSHPublicKey func (c *IAM) UpdateSSHPublicKey(input *UpdateSSHPublicKeyInput) (*UpdateSSHPublicKeyOutput, error) { req, out := c.UpdateSSHPublicKeyRequest(input) return out, req.Send() @@ -12600,7 +12600,7 @@ const opUpdateServerCertificate = "UpdateServerCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServerCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServerCertificate func (c *IAM) UpdateServerCertificateRequest(input *UpdateServerCertificateInput) (req *request.Request, output *UpdateServerCertificateOutput) { op := &request.Operation{ Name: opUpdateServerCertificate, @@ -12665,7 +12665,7 @@ func (c *IAM) UpdateServerCertificateRequest(input *UpdateServerCertificateInput // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServerCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServerCertificate func (c *IAM) UpdateServerCertificate(input *UpdateServerCertificateInput) (*UpdateServerCertificateOutput, error) { req, out := c.UpdateServerCertificateRequest(input) return out, req.Send() @@ -12712,7 +12712,7 @@ const opUpdateServiceSpecificCredential = "UpdateServiceSpecificCredential" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServiceSpecificCredential +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServiceSpecificCredential func (c *IAM) UpdateServiceSpecificCredentialRequest(input *UpdateServiceSpecificCredentialInput) (req *request.Request, output *UpdateServiceSpecificCredentialOutput) { op := &request.Operation{ Name: opUpdateServiceSpecificCredential, @@ -12750,7 +12750,7 @@ func (c *IAM) UpdateServiceSpecificCredentialRequest(input *UpdateServiceSpecifi // The request was rejected because it referenced an entity that does not exist. // The error message describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServiceSpecificCredential +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServiceSpecificCredential func (c *IAM) UpdateServiceSpecificCredential(input *UpdateServiceSpecificCredentialInput) (*UpdateServiceSpecificCredentialOutput, error) { req, out := c.UpdateServiceSpecificCredentialRequest(input) return out, req.Send() @@ -12797,7 +12797,7 @@ const opUpdateSigningCertificate = "UpdateSigningCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSigningCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSigningCertificate func (c *IAM) UpdateSigningCertificateRequest(input *UpdateSigningCertificateInput) (req *request.Request, output *UpdateSigningCertificateOutput) { op := &request.Operation{ Name: opUpdateSigningCertificate, @@ -12847,7 +12847,7 @@ func (c *IAM) UpdateSigningCertificateRequest(input *UpdateSigningCertificateInp // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSigningCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSigningCertificate func (c *IAM) UpdateSigningCertificate(input *UpdateSigningCertificateInput) (*UpdateSigningCertificateOutput, error) { req, out := c.UpdateSigningCertificateRequest(input) return out, req.Send() @@ -12894,7 +12894,7 @@ const opUpdateUser = "UpdateUser" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateUser func (c *IAM) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) { op := &request.Operation{ Name: opUpdateUser, @@ -12958,7 +12958,7 @@ func (c *IAM) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, o // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateUser func (c *IAM) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) { req, out := c.UpdateUserRequest(input) return out, req.Send() @@ -13005,7 +13005,7 @@ const opUploadSSHPublicKey = "UploadSSHPublicKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSSHPublicKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSSHPublicKey func (c *IAM) UploadSSHPublicKeyRequest(input *UploadSSHPublicKeyInput) (req *request.Request, output *UploadSSHPublicKeyOutput) { op := &request.Operation{ Name: opUploadSSHPublicKey, @@ -13060,7 +13060,7 @@ func (c *IAM) UploadSSHPublicKeyRequest(input *UploadSSHPublicKeyInput) (req *re // The request was rejected because the public key encoding format is unsupported // or unrecognized. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSSHPublicKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSSHPublicKey func (c *IAM) UploadSSHPublicKey(input *UploadSSHPublicKeyInput) (*UploadSSHPublicKeyOutput, error) { req, out := c.UploadSSHPublicKeyRequest(input) return out, req.Send() @@ -13107,7 +13107,7 @@ const opUploadServerCertificate = "UploadServerCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadServerCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadServerCertificate func (c *IAM) UploadServerCertificateRequest(input *UploadServerCertificateInput) (req *request.Request, output *UploadServerCertificateOutput) { op := &request.Operation{ Name: opUploadServerCertificate, @@ -13181,7 +13181,7 @@ func (c *IAM) UploadServerCertificateRequest(input *UploadServerCertificateInput // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadServerCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadServerCertificate func (c *IAM) UploadServerCertificate(input *UploadServerCertificateInput) (*UploadServerCertificateOutput, error) { req, out := c.UploadServerCertificateRequest(input) return out, req.Send() @@ -13228,7 +13228,7 @@ const opUploadSigningCertificate = "UploadSigningCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSigningCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSigningCertificate func (c *IAM) UploadSigningCertificateRequest(input *UploadSigningCertificateInput) (req *request.Request, output *UploadSigningCertificateOutput) { op := &request.Operation{ Name: opUploadSigningCertificate, @@ -13300,7 +13300,7 @@ func (c *IAM) UploadSigningCertificateRequest(input *UploadSigningCertificateInp // The request processing has failed because of an unknown error, exception // or failure. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSigningCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSigningCertificate func (c *IAM) UploadSigningCertificate(input *UploadSigningCertificateInput) (*UploadSigningCertificateOutput, error) { req, out := c.UploadSigningCertificateRequest(input) return out, req.Send() @@ -13331,7 +13331,7 @@ func (c *IAM) UploadSigningCertificateWithContext(ctx aws.Context, input *Upload // You can get a secret access key only when you first create an access key; // you cannot recover the secret access key later. If you lose a secret access // key, you must create a new access key. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AccessKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AccessKey type AccessKey struct { _ struct{} `type:"structure"` @@ -13404,7 +13404,7 @@ func (s *AccessKey) SetUserName(v string) *AccessKey { // // This data type is used as a response element in the GetAccessKeyLastUsed // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AccessKeyLastUsed +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AccessKeyLastUsed type AccessKeyLastUsed struct { _ struct{} `type:"structure"` @@ -13482,7 +13482,7 @@ func (s *AccessKeyLastUsed) SetServiceName(v string) *AccessKeyLastUsed { // Contains information about an AWS access key, without its secret key. // // This data type is used as a response element in the ListAccessKeys action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AccessKeyMetadata +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AccessKeyMetadata type AccessKeyMetadata struct { _ struct{} `type:"structure"` @@ -13534,7 +13534,7 @@ func (s *AccessKeyMetadata) SetUserName(v string) *AccessKeyMetadata { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddClientIDToOpenIDConnectProviderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddClientIDToOpenIDConnectProviderRequest type AddClientIDToOpenIDConnectProviderInput struct { _ struct{} `type:"structure"` @@ -13596,7 +13596,7 @@ func (s *AddClientIDToOpenIDConnectProviderInput) SetOpenIDConnectProviderArn(v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddClientIDToOpenIDConnectProviderOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddClientIDToOpenIDConnectProviderOutput type AddClientIDToOpenIDConnectProviderOutput struct { _ struct{} `type:"structure"` } @@ -13611,7 +13611,7 @@ func (s AddClientIDToOpenIDConnectProviderOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddRoleToInstanceProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddRoleToInstanceProfileRequest type AddRoleToInstanceProfileInput struct { _ struct{} `type:"structure"` @@ -13678,7 +13678,7 @@ func (s *AddRoleToInstanceProfileInput) SetRoleName(v string) *AddRoleToInstance return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddRoleToInstanceProfileOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddRoleToInstanceProfileOutput type AddRoleToInstanceProfileOutput struct { _ struct{} `type:"structure"` } @@ -13693,7 +13693,7 @@ func (s AddRoleToInstanceProfileOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddUserToGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddUserToGroupRequest type AddUserToGroupInput struct { _ struct{} `type:"structure"` @@ -13760,7 +13760,7 @@ func (s *AddUserToGroupInput) SetUserName(v string) *AddUserToGroupInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddUserToGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddUserToGroupOutput type AddUserToGroupOutput struct { _ struct{} `type:"structure"` } @@ -13775,7 +13775,7 @@ func (s AddUserToGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachGroupPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachGroupPolicyRequest type AttachGroupPolicyInput struct { _ struct{} `type:"structure"` @@ -13842,7 +13842,7 @@ func (s *AttachGroupPolicyInput) SetPolicyArn(v string) *AttachGroupPolicyInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachGroupPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachGroupPolicyOutput type AttachGroupPolicyOutput struct { _ struct{} `type:"structure"` } @@ -13857,7 +13857,7 @@ func (s AttachGroupPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachRolePolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachRolePolicyRequest type AttachRolePolicyInput struct { _ struct{} `type:"structure"` @@ -13924,7 +13924,7 @@ func (s *AttachRolePolicyInput) SetRoleName(v string) *AttachRolePolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachRolePolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachRolePolicyOutput type AttachRolePolicyOutput struct { _ struct{} `type:"structure"` } @@ -13939,7 +13939,7 @@ func (s AttachRolePolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachUserPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachUserPolicyRequest type AttachUserPolicyInput struct { _ struct{} `type:"structure"` @@ -14006,7 +14006,7 @@ func (s *AttachUserPolicyInput) SetUserName(v string) *AttachUserPolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachUserPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachUserPolicyOutput type AttachUserPolicyOutput struct { _ struct{} `type:"structure"` } @@ -14031,7 +14031,7 @@ func (s AttachUserPolicyOutput) GoString() string { // For more information about managed policies, refer to Managed Policies and // Inline Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) // in the Using IAM guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachedPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachedPolicy type AttachedPolicy struct { _ struct{} `type:"structure"` @@ -14068,7 +14068,7 @@ func (s *AttachedPolicy) SetPolicyName(v string) *AttachedPolicy { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ChangePasswordRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ChangePasswordRequest type ChangePasswordInput struct { _ struct{} `type:"structure"` @@ -14137,7 +14137,7 @@ func (s *ChangePasswordInput) SetOldPassword(v string) *ChangePasswordInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ChangePasswordOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ChangePasswordOutput type ChangePasswordOutput struct { _ struct{} `type:"structure"` } @@ -14159,7 +14159,7 @@ func (s ChangePasswordOutput) GoString() string { // // This data type is used as an input parameter to SimulateCustomPolicy and // SimulateCustomPolicy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ContextEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ContextEntry type ContextEntry struct { _ struct{} `type:"structure"` @@ -14218,7 +14218,7 @@ func (s *ContextEntry) SetContextKeyValues(v []*string) *ContextEntry { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccessKeyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccessKeyRequest type CreateAccessKeyInput struct { _ struct{} `type:"structure"` @@ -14260,7 +14260,7 @@ func (s *CreateAccessKeyInput) SetUserName(v string) *CreateAccessKeyInput { } // Contains the response to a successful CreateAccessKey request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccessKeyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccessKeyResponse type CreateAccessKeyOutput struct { _ struct{} `type:"structure"` @@ -14286,7 +14286,7 @@ func (s *CreateAccessKeyOutput) SetAccessKey(v *AccessKey) *CreateAccessKeyOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccountAliasRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccountAliasRequest type CreateAccountAliasInput struct { _ struct{} `type:"structure"` @@ -14333,7 +14333,7 @@ func (s *CreateAccountAliasInput) SetAccountAlias(v string) *CreateAccountAliasI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccountAliasOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccountAliasOutput type CreateAccountAliasOutput struct { _ struct{} `type:"structure"` } @@ -14348,7 +14348,7 @@ func (s CreateAccountAliasOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateGroupRequest type CreateGroupInput struct { _ struct{} `type:"structure"` @@ -14420,7 +14420,7 @@ func (s *CreateGroupInput) SetPath(v string) *CreateGroupInput { } // Contains the response to a successful CreateGroup request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateGroupResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateGroupResponse type CreateGroupOutput struct { _ struct{} `type:"structure"` @@ -14446,7 +14446,7 @@ func (s *CreateGroupOutput) SetGroup(v *Group) *CreateGroupOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateInstanceProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateInstanceProfileRequest type CreateInstanceProfileInput struct { _ struct{} `type:"structure"` @@ -14516,7 +14516,7 @@ func (s *CreateInstanceProfileInput) SetPath(v string) *CreateInstanceProfileInp } // Contains the response to a successful CreateInstanceProfile request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateInstanceProfileResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateInstanceProfileResponse type CreateInstanceProfileOutput struct { _ struct{} `type:"structure"` @@ -14542,7 +14542,7 @@ func (s *CreateInstanceProfileOutput) SetInstanceProfile(v *InstanceProfile) *Cr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfileRequest type CreateLoginProfileInput struct { _ struct{} `type:"structure"` @@ -14625,7 +14625,7 @@ func (s *CreateLoginProfileInput) SetUserName(v string) *CreateLoginProfileInput } // Contains the response to a successful CreateLoginProfile request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfileResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfileResponse type CreateLoginProfileOutput struct { _ struct{} `type:"structure"` @@ -14651,7 +14651,7 @@ func (s *CreateLoginProfileOutput) SetLoginProfile(v *LoginProfile) *CreateLogin return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProviderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProviderRequest type CreateOpenIDConnectProviderInput struct { _ struct{} `type:"structure"` @@ -14753,7 +14753,7 @@ func (s *CreateOpenIDConnectProviderInput) SetUrl(v string) *CreateOpenIDConnect } // Contains the response to a successful CreateOpenIDConnectProvider request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProviderResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProviderResponse type CreateOpenIDConnectProviderOutput struct { _ struct{} `type:"structure"` @@ -14778,7 +14778,7 @@ func (s *CreateOpenIDConnectProviderOutput) SetOpenIDConnectProviderArn(v string return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyRequest type CreatePolicyInput struct { _ struct{} `type:"structure"` @@ -14886,7 +14886,7 @@ func (s *CreatePolicyInput) SetPolicyName(v string) *CreatePolicyInput { } // Contains the response to a successful CreatePolicy request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyResponse type CreatePolicyOutput struct { _ struct{} `type:"structure"` @@ -14910,7 +14910,7 @@ func (s *CreatePolicyOutput) SetPolicy(v *Policy) *CreatePolicyOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyVersionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyVersionRequest type CreatePolicyVersionInput struct { _ struct{} `type:"structure"` @@ -15000,7 +15000,7 @@ func (s *CreatePolicyVersionInput) SetSetAsDefault(v bool) *CreatePolicyVersionI } // Contains the response to a successful CreatePolicyVersion request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyVersionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyVersionResponse type CreatePolicyVersionOutput struct { _ struct{} `type:"structure"` @@ -15024,7 +15024,7 @@ func (s *CreatePolicyVersionOutput) SetPolicyVersion(v *PolicyVersion) *CreatePo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateRoleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateRoleRequest type CreateRoleInput struct { _ struct{} `type:"structure"` @@ -15131,7 +15131,7 @@ func (s *CreateRoleInput) SetRoleName(v string) *CreateRoleInput { } // Contains the response to a successful CreateRole request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateRoleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateRoleResponse type CreateRoleOutput struct { _ struct{} `type:"structure"` @@ -15157,7 +15157,7 @@ func (s *CreateRoleOutput) SetRole(v *Role) *CreateRoleOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateSAMLProviderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateSAMLProviderRequest type CreateSAMLProviderInput struct { _ struct{} `type:"structure"` @@ -15228,7 +15228,7 @@ func (s *CreateSAMLProviderInput) SetSAMLMetadataDocument(v string) *CreateSAMLP } // Contains the response to a successful CreateSAMLProvider request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateSAMLProviderResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateSAMLProviderResponse type CreateSAMLProviderOutput struct { _ struct{} `type:"structure"` @@ -15252,7 +15252,7 @@ func (s *CreateSAMLProviderOutput) SetSAMLProviderArn(v string) *CreateSAMLProvi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceLinkedRoleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceLinkedRoleRequest type CreateServiceLinkedRoleInput struct { _ struct{} `type:"structure"` @@ -15320,7 +15320,7 @@ func (s *CreateServiceLinkedRoleInput) SetDescription(v string) *CreateServiceLi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceLinkedRoleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceLinkedRoleResponse type CreateServiceLinkedRoleOutput struct { _ struct{} `type:"structure"` @@ -15344,7 +15344,7 @@ func (s *CreateServiceLinkedRoleOutput) SetRole(v *Role) *CreateServiceLinkedRol return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceSpecificCredentialRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceSpecificCredentialRequest type CreateServiceSpecificCredentialInput struct { _ struct{} `type:"structure"` @@ -15408,7 +15408,7 @@ func (s *CreateServiceSpecificCredentialInput) SetUserName(v string) *CreateServ return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceSpecificCredentialResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceSpecificCredentialResponse type CreateServiceSpecificCredentialOutput struct { _ struct{} `type:"structure"` @@ -15437,7 +15437,7 @@ func (s *CreateServiceSpecificCredentialOutput) SetServiceSpecificCredential(v * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateUserRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateUserRequest type CreateUserInput struct { _ struct{} `type:"structure"` @@ -15509,7 +15509,7 @@ func (s *CreateUserInput) SetUserName(v string) *CreateUserInput { } // Contains the response to a successful CreateUser request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateUserResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateUserResponse type CreateUserOutput struct { _ struct{} `type:"structure"` @@ -15533,7 +15533,7 @@ func (s *CreateUserOutput) SetUser(v *User) *CreateUserOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateVirtualMFADeviceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateVirtualMFADeviceRequest type CreateVirtualMFADeviceInput struct { _ struct{} `type:"structure"` @@ -15604,7 +15604,7 @@ func (s *CreateVirtualMFADeviceInput) SetVirtualMFADeviceName(v string) *CreateV } // Contains the response to a successful CreateVirtualMFADevice request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateVirtualMFADeviceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateVirtualMFADeviceResponse type CreateVirtualMFADeviceOutput struct { _ struct{} `type:"structure"` @@ -15630,7 +15630,7 @@ func (s *CreateVirtualMFADeviceOutput) SetVirtualMFADevice(v *VirtualMFADevice) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeactivateMFADeviceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeactivateMFADeviceRequest type DeactivateMFADeviceInput struct { _ struct{} `type:"structure"` @@ -15698,7 +15698,7 @@ func (s *DeactivateMFADeviceInput) SetUserName(v string) *DeactivateMFADeviceInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeactivateMFADeviceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeactivateMFADeviceOutput type DeactivateMFADeviceOutput struct { _ struct{} `type:"structure"` } @@ -15713,7 +15713,7 @@ func (s DeactivateMFADeviceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccessKeyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccessKeyRequest type DeleteAccessKeyInput struct { _ struct{} `type:"structure"` @@ -15776,7 +15776,7 @@ func (s *DeleteAccessKeyInput) SetUserName(v string) *DeleteAccessKeyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccessKeyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccessKeyOutput type DeleteAccessKeyOutput struct { _ struct{} `type:"structure"` } @@ -15791,7 +15791,7 @@ func (s DeleteAccessKeyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountAliasRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountAliasRequest type DeleteAccountAliasInput struct { _ struct{} `type:"structure"` @@ -15838,7 +15838,7 @@ func (s *DeleteAccountAliasInput) SetAccountAlias(v string) *DeleteAccountAliasI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountAliasOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountAliasOutput type DeleteAccountAliasOutput struct { _ struct{} `type:"structure"` } @@ -15853,7 +15853,7 @@ func (s DeleteAccountAliasOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountPasswordPolicyInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountPasswordPolicyInput type DeleteAccountPasswordPolicyInput struct { _ struct{} `type:"structure"` } @@ -15868,7 +15868,7 @@ func (s DeleteAccountPasswordPolicyInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountPasswordPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountPasswordPolicyOutput type DeleteAccountPasswordPolicyOutput struct { _ struct{} `type:"structure"` } @@ -15883,7 +15883,7 @@ func (s DeleteAccountPasswordPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupRequest type DeleteGroupInput struct { _ struct{} `type:"structure"` @@ -15929,7 +15929,7 @@ func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupOutput type DeleteGroupOutput struct { _ struct{} `type:"structure"` } @@ -15944,7 +15944,7 @@ func (s DeleteGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupPolicyRequest type DeleteGroupPolicyInput struct { _ struct{} `type:"structure"` @@ -16012,7 +16012,7 @@ func (s *DeleteGroupPolicyInput) SetPolicyName(v string) *DeleteGroupPolicyInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupPolicyOutput type DeleteGroupPolicyOutput struct { _ struct{} `type:"structure"` } @@ -16027,7 +16027,7 @@ func (s DeleteGroupPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteInstanceProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteInstanceProfileRequest type DeleteInstanceProfileInput struct { _ struct{} `type:"structure"` @@ -16073,7 +16073,7 @@ func (s *DeleteInstanceProfileInput) SetInstanceProfileName(v string) *DeleteIns return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteInstanceProfileOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteInstanceProfileOutput type DeleteInstanceProfileOutput struct { _ struct{} `type:"structure"` } @@ -16088,7 +16088,7 @@ func (s DeleteInstanceProfileOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteLoginProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteLoginProfileRequest type DeleteLoginProfileInput struct { _ struct{} `type:"structure"` @@ -16134,7 +16134,7 @@ func (s *DeleteLoginProfileInput) SetUserName(v string) *DeleteLoginProfileInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteLoginProfileOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteLoginProfileOutput type DeleteLoginProfileOutput struct { _ struct{} `type:"structure"` } @@ -16149,7 +16149,7 @@ func (s DeleteLoginProfileOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteOpenIDConnectProviderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteOpenIDConnectProviderRequest type DeleteOpenIDConnectProviderInput struct { _ struct{} `type:"structure"` @@ -16193,7 +16193,7 @@ func (s *DeleteOpenIDConnectProviderInput) SetOpenIDConnectProviderArn(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteOpenIDConnectProviderOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteOpenIDConnectProviderOutput type DeleteOpenIDConnectProviderOutput struct { _ struct{} `type:"structure"` } @@ -16208,7 +16208,7 @@ func (s DeleteOpenIDConnectProviderOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyRequest type DeletePolicyInput struct { _ struct{} `type:"structure"` @@ -16254,7 +16254,7 @@ func (s *DeletePolicyInput) SetPolicyArn(v string) *DeletePolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyOutput type DeletePolicyOutput struct { _ struct{} `type:"structure"` } @@ -16269,7 +16269,7 @@ func (s DeletePolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyVersionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyVersionRequest type DeletePolicyVersionInput struct { _ struct{} `type:"structure"` @@ -16339,7 +16339,7 @@ func (s *DeletePolicyVersionInput) SetVersionId(v string) *DeletePolicyVersionIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyVersionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyVersionOutput type DeletePolicyVersionOutput struct { _ struct{} `type:"structure"` } @@ -16354,7 +16354,7 @@ func (s DeletePolicyVersionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRoleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRoleRequest type DeleteRoleInput struct { _ struct{} `type:"structure"` @@ -16400,7 +16400,7 @@ func (s *DeleteRoleInput) SetRoleName(v string) *DeleteRoleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRoleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRoleOutput type DeleteRoleOutput struct { _ struct{} `type:"structure"` } @@ -16415,7 +16415,7 @@ func (s DeleteRoleOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRolePolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRolePolicyRequest type DeleteRolePolicyInput struct { _ struct{} `type:"structure"` @@ -16483,7 +16483,7 @@ func (s *DeleteRolePolicyInput) SetRoleName(v string) *DeleteRolePolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRolePolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRolePolicyOutput type DeleteRolePolicyOutput struct { _ struct{} `type:"structure"` } @@ -16498,7 +16498,7 @@ func (s DeleteRolePolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSAMLProviderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSAMLProviderRequest type DeleteSAMLProviderInput struct { _ struct{} `type:"structure"` @@ -16540,7 +16540,7 @@ func (s *DeleteSAMLProviderInput) SetSAMLProviderArn(v string) *DeleteSAMLProvid return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSAMLProviderOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSAMLProviderOutput type DeleteSAMLProviderOutput struct { _ struct{} `type:"structure"` } @@ -16555,7 +16555,7 @@ func (s DeleteSAMLProviderOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSSHPublicKeyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSSHPublicKeyRequest type DeleteSSHPublicKeyInput struct { _ struct{} `type:"structure"` @@ -16622,7 +16622,7 @@ func (s *DeleteSSHPublicKeyInput) SetUserName(v string) *DeleteSSHPublicKeyInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSSHPublicKeyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSSHPublicKeyOutput type DeleteSSHPublicKeyOutput struct { _ struct{} `type:"structure"` } @@ -16637,7 +16637,7 @@ func (s DeleteSSHPublicKeyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServerCertificateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServerCertificateRequest type DeleteServerCertificateInput struct { _ struct{} `type:"structure"` @@ -16683,7 +16683,7 @@ func (s *DeleteServerCertificateInput) SetServerCertificateName(v string) *Delet return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServerCertificateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServerCertificateOutput type DeleteServerCertificateOutput struct { _ struct{} `type:"structure"` } @@ -16698,7 +16698,7 @@ func (s DeleteServerCertificateOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceLinkedRoleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceLinkedRoleRequest type DeleteServiceLinkedRoleInput struct { _ struct{} `type:"structure"` @@ -16740,7 +16740,7 @@ func (s *DeleteServiceLinkedRoleInput) SetRoleName(v string) *DeleteServiceLinke return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceLinkedRoleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceLinkedRoleResponse type DeleteServiceLinkedRoleOutput struct { _ struct{} `type:"structure"` @@ -16767,7 +16767,7 @@ func (s *DeleteServiceLinkedRoleOutput) SetDeletionTaskId(v string) *DeleteServi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceSpecificCredentialRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceSpecificCredentialRequest type DeleteServiceSpecificCredentialInput struct { _ struct{} `type:"structure"` @@ -16832,7 +16832,7 @@ func (s *DeleteServiceSpecificCredentialInput) SetUserName(v string) *DeleteServ return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceSpecificCredentialOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceSpecificCredentialOutput type DeleteServiceSpecificCredentialOutput struct { _ struct{} `type:"structure"` } @@ -16847,7 +16847,7 @@ func (s DeleteServiceSpecificCredentialOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSigningCertificateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSigningCertificateRequest type DeleteSigningCertificateInput struct { _ struct{} `type:"structure"` @@ -16909,7 +16909,7 @@ func (s *DeleteSigningCertificateInput) SetUserName(v string) *DeleteSigningCert return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSigningCertificateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSigningCertificateOutput type DeleteSigningCertificateOutput struct { _ struct{} `type:"structure"` } @@ -16924,7 +16924,7 @@ func (s DeleteSigningCertificateOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserRequest type DeleteUserInput struct { _ struct{} `type:"structure"` @@ -16970,7 +16970,7 @@ func (s *DeleteUserInput) SetUserName(v string) *DeleteUserInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserOutput type DeleteUserOutput struct { _ struct{} `type:"structure"` } @@ -16985,7 +16985,7 @@ func (s DeleteUserOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserPolicyRequest type DeleteUserPolicyInput struct { _ struct{} `type:"structure"` @@ -17053,7 +17053,7 @@ func (s *DeleteUserPolicyInput) SetUserName(v string) *DeleteUserPolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserPolicyOutput type DeleteUserPolicyOutput struct { _ struct{} `type:"structure"` } @@ -17068,7 +17068,7 @@ func (s DeleteUserPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteVirtualMFADeviceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteVirtualMFADeviceRequest type DeleteVirtualMFADeviceInput struct { _ struct{} `type:"structure"` @@ -17115,7 +17115,7 @@ func (s *DeleteVirtualMFADeviceInput) SetSerialNumber(v string) *DeleteVirtualMF return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteVirtualMFADeviceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteVirtualMFADeviceOutput type DeleteVirtualMFADeviceOutput struct { _ struct{} `type:"structure"` } @@ -17134,7 +17134,7 @@ func (s DeleteVirtualMFADeviceOutput) GoString() string { // // This data type is used as a response element in the GetServiceLinkedRoleDeletionStatus // operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletionTaskFailureReasonType +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletionTaskFailureReasonType type DeletionTaskFailureReasonType struct { _ struct{} `type:"structure"` @@ -17172,7 +17172,7 @@ func (s *DeletionTaskFailureReasonType) SetRoleUsageList(v []*RoleUsageType) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachGroupPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachGroupPolicyRequest type DetachGroupPolicyInput struct { _ struct{} `type:"structure"` @@ -17239,7 +17239,7 @@ func (s *DetachGroupPolicyInput) SetPolicyArn(v string) *DetachGroupPolicyInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachGroupPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachGroupPolicyOutput type DetachGroupPolicyOutput struct { _ struct{} `type:"structure"` } @@ -17254,7 +17254,7 @@ func (s DetachGroupPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachRolePolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachRolePolicyRequest type DetachRolePolicyInput struct { _ struct{} `type:"structure"` @@ -17321,7 +17321,7 @@ func (s *DetachRolePolicyInput) SetRoleName(v string) *DetachRolePolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachRolePolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachRolePolicyOutput type DetachRolePolicyOutput struct { _ struct{} `type:"structure"` } @@ -17336,7 +17336,7 @@ func (s DetachRolePolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachUserPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachUserPolicyRequest type DetachUserPolicyInput struct { _ struct{} `type:"structure"` @@ -17403,7 +17403,7 @@ func (s *DetachUserPolicyInput) SetUserName(v string) *DetachUserPolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachUserPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachUserPolicyOutput type DetachUserPolicyOutput struct { _ struct{} `type:"structure"` } @@ -17418,7 +17418,7 @@ func (s DetachUserPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableMFADeviceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableMFADeviceRequest type EnableMFADeviceInput struct { _ struct{} `type:"structure"` @@ -17538,7 +17538,7 @@ func (s *EnableMFADeviceInput) SetUserName(v string) *EnableMFADeviceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableMFADeviceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableMFADeviceOutput type EnableMFADeviceOutput struct { _ struct{} `type:"structure"` } @@ -17557,7 +17557,7 @@ func (s EnableMFADeviceOutput) GoString() string { // // This data type is used by the return parameter of SimulateCustomPolicy and // SimulatePrincipalPolicy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EvaluationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EvaluationResult type EvaluationResult struct { _ struct{} `type:"structure"` @@ -17666,7 +17666,7 @@ func (s *EvaluationResult) SetResourceSpecificResults(v []*ResourceSpecificResul return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateCredentialReportInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateCredentialReportInput type GenerateCredentialReportInput struct { _ struct{} `type:"structure"` } @@ -17682,7 +17682,7 @@ func (s GenerateCredentialReportInput) GoString() string { } // Contains the response to a successful GenerateCredentialReport request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateCredentialReportResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateCredentialReportResponse type GenerateCredentialReportOutput struct { _ struct{} `type:"structure"` @@ -17715,7 +17715,7 @@ func (s *GenerateCredentialReportOutput) SetState(v string) *GenerateCredentialR return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccessKeyLastUsedRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccessKeyLastUsedRequest type GetAccessKeyLastUsedInput struct { _ struct{} `type:"structure"` @@ -17764,7 +17764,7 @@ func (s *GetAccessKeyLastUsedInput) SetAccessKeyId(v string) *GetAccessKeyLastUs // Contains the response to a successful GetAccessKeyLastUsed request. It is // also returned as a member of the AccessKeyMetaData structure returned by // the ListAccessKeys action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccessKeyLastUsedResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccessKeyLastUsedResponse type GetAccessKeyLastUsedOutput struct { _ struct{} `type:"structure"` @@ -17797,7 +17797,7 @@ func (s *GetAccessKeyLastUsedOutput) SetUserName(v string) *GetAccessKeyLastUsed return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountAuthorizationDetailsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountAuthorizationDetailsRequest type GetAccountAuthorizationDetailsInput struct { _ struct{} `type:"structure"` @@ -17873,7 +17873,7 @@ func (s *GetAccountAuthorizationDetailsInput) SetMaxItems(v int64) *GetAccountAu } // Contains the response to a successful GetAccountAuthorizationDetails request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountAuthorizationDetailsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountAuthorizationDetailsResponse type GetAccountAuthorizationDetailsOutput struct { _ struct{} `type:"structure"` @@ -17948,7 +17948,7 @@ func (s *GetAccountAuthorizationDetailsOutput) SetUserDetailList(v []*UserDetail return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountPasswordPolicyInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountPasswordPolicyInput type GetAccountPasswordPolicyInput struct { _ struct{} `type:"structure"` } @@ -17964,7 +17964,7 @@ func (s GetAccountPasswordPolicyInput) GoString() string { } // Contains the response to a successful GetAccountPasswordPolicy request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountPasswordPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountPasswordPolicyResponse type GetAccountPasswordPolicyOutput struct { _ struct{} `type:"structure"` @@ -17990,7 +17990,7 @@ func (s *GetAccountPasswordPolicyOutput) SetPasswordPolicy(v *PasswordPolicy) *G return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountSummaryInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountSummaryInput type GetAccountSummaryInput struct { _ struct{} `type:"structure"` } @@ -18006,7 +18006,7 @@ func (s GetAccountSummaryInput) GoString() string { } // Contains the response to a successful GetAccountSummary request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountSummaryResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountSummaryResponse type GetAccountSummaryOutput struct { _ struct{} `type:"structure"` @@ -18031,7 +18031,7 @@ func (s *GetAccountSummaryOutput) SetSummaryMap(v map[string]*int64) *GetAccount return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForCustomPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForCustomPolicyRequest type GetContextKeysForCustomPolicyInput struct { _ struct{} `type:"structure"` @@ -18081,7 +18081,7 @@ func (s *GetContextKeysForCustomPolicyInput) SetPolicyInputList(v []*string) *Ge // Contains the response to a successful GetContextKeysForPrincipalPolicy or // GetContextKeysForCustomPolicy request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForPolicyResponse type GetContextKeysForPolicyResponse struct { _ struct{} `type:"structure"` @@ -18105,7 +18105,7 @@ func (s *GetContextKeysForPolicyResponse) SetContextKeyNames(v []*string) *GetCo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForPrincipalPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForPrincipalPolicyRequest type GetContextKeysForPrincipalPolicyInput struct { _ struct{} `type:"structure"` @@ -18174,7 +18174,7 @@ func (s *GetContextKeysForPrincipalPolicyInput) SetPolicySourceArn(v string) *Ge return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetCredentialReportInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetCredentialReportInput type GetCredentialReportInput struct { _ struct{} `type:"structure"` } @@ -18190,7 +18190,7 @@ func (s GetCredentialReportInput) GoString() string { } // Contains the response to a successful GetCredentialReport request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetCredentialReportResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetCredentialReportResponse type GetCredentialReportOutput struct { _ struct{} `type:"structure"` @@ -18235,7 +18235,7 @@ func (s *GetCredentialReportOutput) SetReportFormat(v string) *GetCredentialRepo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupRequest type GetGroupInput struct { _ struct{} `type:"structure"` @@ -18317,7 +18317,7 @@ func (s *GetGroupInput) SetMaxItems(v int64) *GetGroupInput { } // Contains the response to a successful GetGroup request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupResponse type GetGroupOutput struct { _ struct{} `type:"structure"` @@ -18378,7 +18378,7 @@ func (s *GetGroupOutput) SetUsers(v []*User) *GetGroupOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupPolicyRequest type GetGroupPolicyInput struct { _ struct{} `type:"structure"` @@ -18446,7 +18446,7 @@ func (s *GetGroupPolicyInput) SetPolicyName(v string) *GetGroupPolicyInput { } // Contains the response to a successful GetGroupPolicy request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupPolicyResponse type GetGroupPolicyOutput struct { _ struct{} `type:"structure"` @@ -18494,7 +18494,7 @@ func (s *GetGroupPolicyOutput) SetPolicyName(v string) *GetGroupPolicyOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetInstanceProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetInstanceProfileRequest type GetInstanceProfileInput struct { _ struct{} `type:"structure"` @@ -18541,7 +18541,7 @@ func (s *GetInstanceProfileInput) SetInstanceProfileName(v string) *GetInstanceP } // Contains the response to a successful GetInstanceProfile request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetInstanceProfileResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetInstanceProfileResponse type GetInstanceProfileOutput struct { _ struct{} `type:"structure"` @@ -18567,7 +18567,7 @@ func (s *GetInstanceProfileOutput) SetInstanceProfile(v *InstanceProfile) *GetIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetLoginProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetLoginProfileRequest type GetLoginProfileInput struct { _ struct{} `type:"structure"` @@ -18614,7 +18614,7 @@ func (s *GetLoginProfileInput) SetUserName(v string) *GetLoginProfileInput { } // Contains the response to a successful GetLoginProfile request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetLoginProfileResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetLoginProfileResponse type GetLoginProfileOutput struct { _ struct{} `type:"structure"` @@ -18640,7 +18640,7 @@ func (s *GetLoginProfileOutput) SetLoginProfile(v *LoginProfile) *GetLoginProfil return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOpenIDConnectProviderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOpenIDConnectProviderRequest type GetOpenIDConnectProviderInput struct { _ struct{} `type:"structure"` @@ -18689,7 +18689,7 @@ func (s *GetOpenIDConnectProviderInput) SetOpenIDConnectProviderArn(v string) *G } // Contains the response to a successful GetOpenIDConnectProvider request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOpenIDConnectProviderResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOpenIDConnectProviderResponse type GetOpenIDConnectProviderOutput struct { _ struct{} `type:"structure"` @@ -18744,7 +18744,7 @@ func (s *GetOpenIDConnectProviderOutput) SetUrl(v string) *GetOpenIDConnectProvi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyRequest type GetPolicyInput struct { _ struct{} `type:"structure"` @@ -18792,7 +18792,7 @@ func (s *GetPolicyInput) SetPolicyArn(v string) *GetPolicyInput { } // Contains the response to a successful GetPolicy request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyResponse type GetPolicyOutput struct { _ struct{} `type:"structure"` @@ -18816,7 +18816,7 @@ func (s *GetPolicyOutput) SetPolicy(v *Policy) *GetPolicyOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyVersionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyVersionRequest type GetPolicyVersionInput struct { _ struct{} `type:"structure"` @@ -18883,7 +18883,7 @@ func (s *GetPolicyVersionInput) SetVersionId(v string) *GetPolicyVersionInput { } // Contains the response to a successful GetPolicyVersion request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyVersionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyVersionResponse type GetPolicyVersionOutput struct { _ struct{} `type:"structure"` @@ -18907,7 +18907,7 @@ func (s *GetPolicyVersionOutput) SetPolicyVersion(v *PolicyVersion) *GetPolicyVe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRoleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRoleRequest type GetRoleInput struct { _ struct{} `type:"structure"` @@ -18954,7 +18954,7 @@ func (s *GetRoleInput) SetRoleName(v string) *GetRoleInput { } // Contains the response to a successful GetRole request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRoleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRoleResponse type GetRoleOutput struct { _ struct{} `type:"structure"` @@ -18980,7 +18980,7 @@ func (s *GetRoleOutput) SetRole(v *Role) *GetRoleOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRolePolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRolePolicyRequest type GetRolePolicyInput struct { _ struct{} `type:"structure"` @@ -19048,7 +19048,7 @@ func (s *GetRolePolicyInput) SetRoleName(v string) *GetRolePolicyInput { } // Contains the response to a successful GetRolePolicy request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRolePolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRolePolicyResponse type GetRolePolicyOutput struct { _ struct{} `type:"structure"` @@ -19096,7 +19096,7 @@ func (s *GetRolePolicyOutput) SetRoleName(v string) *GetRolePolicyOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProviderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProviderRequest type GetSAMLProviderInput struct { _ struct{} `type:"structure"` @@ -19144,7 +19144,7 @@ func (s *GetSAMLProviderInput) SetSAMLProviderArn(v string) *GetSAMLProviderInpu } // Contains the response to a successful GetSAMLProvider request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProviderResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProviderResponse type GetSAMLProviderOutput struct { _ struct{} `type:"structure"` @@ -19186,7 +19186,7 @@ func (s *GetSAMLProviderOutput) SetValidUntil(v time.Time) *GetSAMLProviderOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSSHPublicKeyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSSHPublicKeyRequest type GetSSHPublicKeyInput struct { _ struct{} `type:"structure"` @@ -19270,7 +19270,7 @@ func (s *GetSSHPublicKeyInput) SetUserName(v string) *GetSSHPublicKeyInput { } // Contains the response to a successful GetSSHPublicKey request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSSHPublicKeyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSSHPublicKeyResponse type GetSSHPublicKeyOutput struct { _ struct{} `type:"structure"` @@ -19294,7 +19294,7 @@ func (s *GetSSHPublicKeyOutput) SetSSHPublicKey(v *SSHPublicKey) *GetSSHPublicKe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServerCertificateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServerCertificateRequest type GetServerCertificateInput struct { _ struct{} `type:"structure"` @@ -19341,7 +19341,7 @@ func (s *GetServerCertificateInput) SetServerCertificateName(v string) *GetServe } // Contains the response to a successful GetServerCertificate request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServerCertificateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServerCertificateResponse type GetServerCertificateOutput struct { _ struct{} `type:"structure"` @@ -19367,7 +19367,7 @@ func (s *GetServerCertificateOutput) SetServerCertificate(v *ServerCertificate) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLinkedRoleDeletionStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLinkedRoleDeletionStatusRequest type GetServiceLinkedRoleDeletionStatusInput struct { _ struct{} `type:"structure"` @@ -19410,7 +19410,7 @@ func (s *GetServiceLinkedRoleDeletionStatusInput) SetDeletionTaskId(v string) *G return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLinkedRoleDeletionStatusResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLinkedRoleDeletionStatusResponse type GetServiceLinkedRoleDeletionStatusOutput struct { _ struct{} `type:"structure"` @@ -19445,7 +19445,7 @@ func (s *GetServiceLinkedRoleDeletionStatusOutput) SetStatus(v string) *GetServi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserRequest type GetUserInput struct { _ struct{} `type:"structure"` @@ -19488,7 +19488,7 @@ func (s *GetUserInput) SetUserName(v string) *GetUserInput { } // Contains the response to a successful GetUser request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserResponse type GetUserOutput struct { _ struct{} `type:"structure"` @@ -19514,7 +19514,7 @@ func (s *GetUserOutput) SetUser(v *User) *GetUserOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserPolicyRequest type GetUserPolicyInput struct { _ struct{} `type:"structure"` @@ -19582,7 +19582,7 @@ func (s *GetUserPolicyInput) SetUserName(v string) *GetUserPolicyInput { } // Contains the response to a successful GetUserPolicy request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserPolicyResponse type GetUserPolicyOutput struct { _ struct{} `type:"structure"` @@ -19639,7 +19639,7 @@ func (s *GetUserPolicyOutput) SetUserName(v string) *GetUserPolicyOutput { // * GetGroup // // * ListGroups -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/Group +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/Group type Group struct { _ struct{} `type:"structure"` @@ -19720,7 +19720,7 @@ func (s *Group) SetPath(v string) *Group { // // This data type is used as a response element in the GetAccountAuthorizationDetails // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GroupDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GroupDetail type GroupDetail struct { _ struct{} `type:"structure"` @@ -19818,7 +19818,7 @@ func (s *GroupDetail) SetPath(v string) *GroupDetail { // * ListInstanceProfiles // // * ListInstanceProfilesForRole -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/InstanceProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/InstanceProfile type InstanceProfile struct { _ struct{} `type:"structure"` @@ -19906,7 +19906,7 @@ func (s *InstanceProfile) SetRoles(v []*Role) *InstanceProfile { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccessKeysRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccessKeysRequest type ListAccessKeysInput struct { _ struct{} `type:"structure"` @@ -19983,7 +19983,7 @@ func (s *ListAccessKeysInput) SetUserName(v string) *ListAccessKeysInput { } // Contains the response to a successful ListAccessKeys request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccessKeysResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccessKeysResponse type ListAccessKeysOutput struct { _ struct{} `type:"structure"` @@ -20033,7 +20033,7 @@ func (s *ListAccessKeysOutput) SetMarker(v string) *ListAccessKeysOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccountAliasesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccountAliasesRequest type ListAccountAliasesInput struct { _ struct{} `type:"structure"` @@ -20094,7 +20094,7 @@ func (s *ListAccountAliasesInput) SetMaxItems(v int64) *ListAccountAliasesInput } // Contains the response to a successful ListAccountAliases request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccountAliasesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccountAliasesResponse type ListAccountAliasesOutput struct { _ struct{} `type:"structure"` @@ -20145,7 +20145,7 @@ func (s *ListAccountAliasesOutput) SetMarker(v string) *ListAccountAliasesOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedGroupPoliciesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedGroupPoliciesRequest type ListAttachedGroupPoliciesInput struct { _ struct{} `type:"structure"` @@ -20244,7 +20244,7 @@ func (s *ListAttachedGroupPoliciesInput) SetPathPrefix(v string) *ListAttachedGr } // Contains the response to a successful ListAttachedGroupPolicies request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedGroupPoliciesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedGroupPoliciesResponse type ListAttachedGroupPoliciesOutput struct { _ struct{} `type:"structure"` @@ -20292,7 +20292,7 @@ func (s *ListAttachedGroupPoliciesOutput) SetMarker(v string) *ListAttachedGroup return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedRolePoliciesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedRolePoliciesRequest type ListAttachedRolePoliciesInput struct { _ struct{} `type:"structure"` @@ -20390,7 +20390,7 @@ func (s *ListAttachedRolePoliciesInput) SetRoleName(v string) *ListAttachedRoleP } // Contains the response to a successful ListAttachedRolePolicies request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedRolePoliciesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedRolePoliciesResponse type ListAttachedRolePoliciesOutput struct { _ struct{} `type:"structure"` @@ -20438,7 +20438,7 @@ func (s *ListAttachedRolePoliciesOutput) SetMarker(v string) *ListAttachedRolePo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedUserPoliciesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedUserPoliciesRequest type ListAttachedUserPoliciesInput struct { _ struct{} `type:"structure"` @@ -20536,7 +20536,7 @@ func (s *ListAttachedUserPoliciesInput) SetUserName(v string) *ListAttachedUserP } // Contains the response to a successful ListAttachedUserPolicies request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedUserPoliciesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedUserPoliciesResponse type ListAttachedUserPoliciesOutput struct { _ struct{} `type:"structure"` @@ -20584,7 +20584,7 @@ func (s *ListAttachedUserPoliciesOutput) SetMarker(v string) *ListAttachedUserPo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListEntitiesForPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListEntitiesForPolicyRequest type ListEntitiesForPolicyInput struct { _ struct{} `type:"structure"` @@ -20699,7 +20699,7 @@ func (s *ListEntitiesForPolicyInput) SetPolicyArn(v string) *ListEntitiesForPoli } // Contains the response to a successful ListEntitiesForPolicy request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListEntitiesForPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListEntitiesForPolicyResponse type ListEntitiesForPolicyOutput struct { _ struct{} `type:"structure"` @@ -20765,7 +20765,7 @@ func (s *ListEntitiesForPolicyOutput) SetPolicyUsers(v []*PolicyUser) *ListEntit return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupPoliciesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupPoliciesRequest type ListGroupPoliciesInput struct { _ struct{} `type:"structure"` @@ -20847,7 +20847,7 @@ func (s *ListGroupPoliciesInput) SetMaxItems(v int64) *ListGroupPoliciesInput { } // Contains the response to a successful ListGroupPolicies request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupPoliciesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupPoliciesResponse type ListGroupPoliciesOutput struct { _ struct{} `type:"structure"` @@ -20901,7 +20901,7 @@ func (s *ListGroupPoliciesOutput) SetPolicyNames(v []*string) *ListGroupPolicies return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsForUserRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsForUserRequest type ListGroupsForUserInput struct { _ struct{} `type:"structure"` @@ -20983,7 +20983,7 @@ func (s *ListGroupsForUserInput) SetUserName(v string) *ListGroupsForUserInput { } // Contains the response to a successful ListGroupsForUser request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsForUserResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsForUserResponse type ListGroupsForUserOutput struct { _ struct{} `type:"structure"` @@ -21033,7 +21033,7 @@ func (s *ListGroupsForUserOutput) SetMarker(v string) *ListGroupsForUserOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsRequest type ListGroupsInput struct { _ struct{} `type:"structure"` @@ -21114,7 +21114,7 @@ func (s *ListGroupsInput) SetPathPrefix(v string) *ListGroupsInput { } // Contains the response to a successful ListGroups request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsResponse type ListGroupsOutput struct { _ struct{} `type:"structure"` @@ -21164,7 +21164,7 @@ func (s *ListGroupsOutput) SetMarker(v string) *ListGroupsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesForRoleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesForRoleRequest type ListInstanceProfilesForRoleInput struct { _ struct{} `type:"structure"` @@ -21246,7 +21246,7 @@ func (s *ListInstanceProfilesForRoleInput) SetRoleName(v string) *ListInstancePr } // Contains the response to a successful ListInstanceProfilesForRole request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesForRoleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesForRoleResponse type ListInstanceProfilesForRoleOutput struct { _ struct{} `type:"structure"` @@ -21296,7 +21296,7 @@ func (s *ListInstanceProfilesForRoleOutput) SetMarker(v string) *ListInstancePro return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesRequest type ListInstanceProfilesInput struct { _ struct{} `type:"structure"` @@ -21378,7 +21378,7 @@ func (s *ListInstanceProfilesInput) SetPathPrefix(v string) *ListInstanceProfile } // Contains the response to a successful ListInstanceProfiles request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesResponse type ListInstanceProfilesOutput struct { _ struct{} `type:"structure"` @@ -21428,7 +21428,7 @@ func (s *ListInstanceProfilesOutput) SetMarker(v string) *ListInstanceProfilesOu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListMFADevicesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListMFADevicesRequest type ListMFADevicesInput struct { _ struct{} `type:"structure"` @@ -21505,7 +21505,7 @@ func (s *ListMFADevicesInput) SetUserName(v string) *ListMFADevicesInput { } // Contains the response to a successful ListMFADevices request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListMFADevicesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListMFADevicesResponse type ListMFADevicesOutput struct { _ struct{} `type:"structure"` @@ -21555,7 +21555,7 @@ func (s *ListMFADevicesOutput) SetMarker(v string) *ListMFADevicesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListOpenIDConnectProvidersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListOpenIDConnectProvidersRequest type ListOpenIDConnectProvidersInput struct { _ struct{} `type:"structure"` } @@ -21571,7 +21571,7 @@ func (s ListOpenIDConnectProvidersInput) GoString() string { } // Contains the response to a successful ListOpenIDConnectProviders request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListOpenIDConnectProvidersResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListOpenIDConnectProvidersResponse type ListOpenIDConnectProvidersOutput struct { _ struct{} `type:"structure"` @@ -21595,7 +21595,7 @@ func (s *ListOpenIDConnectProvidersOutput) SetOpenIDConnectProviderList(v []*Ope return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPoliciesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPoliciesRequest type ListPoliciesInput struct { _ struct{} `type:"structure"` @@ -21699,7 +21699,7 @@ func (s *ListPoliciesInput) SetScope(v string) *ListPoliciesInput { } // Contains the response to a successful ListPolicies request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPoliciesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPoliciesResponse type ListPoliciesOutput struct { _ struct{} `type:"structure"` @@ -21747,7 +21747,7 @@ func (s *ListPoliciesOutput) SetPolicies(v []*Policy) *ListPoliciesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicyVersionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicyVersionsRequest type ListPolicyVersionsInput struct { _ struct{} `type:"structure"` @@ -21829,7 +21829,7 @@ func (s *ListPolicyVersionsInput) SetPolicyArn(v string) *ListPolicyVersionsInpu } // Contains the response to a successful ListPolicyVersions request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicyVersionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicyVersionsResponse type ListPolicyVersionsOutput struct { _ struct{} `type:"structure"` @@ -21881,7 +21881,7 @@ func (s *ListPolicyVersionsOutput) SetVersions(v []*PolicyVersion) *ListPolicyVe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolePoliciesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolePoliciesRequest type ListRolePoliciesInput struct { _ struct{} `type:"structure"` @@ -21963,7 +21963,7 @@ func (s *ListRolePoliciesInput) SetRoleName(v string) *ListRolePoliciesInput { } // Contains the response to a successful ListRolePolicies request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolePoliciesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolePoliciesResponse type ListRolePoliciesOutput struct { _ struct{} `type:"structure"` @@ -22013,7 +22013,7 @@ func (s *ListRolePoliciesOutput) SetPolicyNames(v []*string) *ListRolePoliciesOu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolesRequest type ListRolesInput struct { _ struct{} `type:"structure"` @@ -22094,7 +22094,7 @@ func (s *ListRolesInput) SetPathPrefix(v string) *ListRolesInput { } // Contains the response to a successful ListRoles request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolesResponse type ListRolesOutput struct { _ struct{} `type:"structure"` @@ -22144,7 +22144,7 @@ func (s *ListRolesOutput) SetRoles(v []*Role) *ListRolesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSAMLProvidersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSAMLProvidersRequest type ListSAMLProvidersInput struct { _ struct{} `type:"structure"` } @@ -22160,7 +22160,7 @@ func (s ListSAMLProvidersInput) GoString() string { } // Contains the response to a successful ListSAMLProviders request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSAMLProvidersResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSAMLProvidersResponse type ListSAMLProvidersOutput struct { _ struct{} `type:"structure"` @@ -22184,7 +22184,7 @@ func (s *ListSAMLProvidersOutput) SetSAMLProviderList(v []*SAMLProviderListEntry return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSSHPublicKeysRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSSHPublicKeysRequest type ListSSHPublicKeysInput struct { _ struct{} `type:"structure"` @@ -22263,7 +22263,7 @@ func (s *ListSSHPublicKeysInput) SetUserName(v string) *ListSSHPublicKeysInput { } // Contains the response to a successful ListSSHPublicKeys request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSSHPublicKeysResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSSHPublicKeysResponse type ListSSHPublicKeysOutput struct { _ struct{} `type:"structure"` @@ -22311,7 +22311,7 @@ func (s *ListSSHPublicKeysOutput) SetSSHPublicKeys(v []*SSHPublicKeyMetadata) *L return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServerCertificatesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServerCertificatesRequest type ListServerCertificatesInput struct { _ struct{} `type:"structure"` @@ -22393,7 +22393,7 @@ func (s *ListServerCertificatesInput) SetPathPrefix(v string) *ListServerCertifi } // Contains the response to a successful ListServerCertificates request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServerCertificatesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServerCertificatesResponse type ListServerCertificatesOutput struct { _ struct{} `type:"structure"` @@ -22443,7 +22443,7 @@ func (s *ListServerCertificatesOutput) SetServerCertificateMetadataList(v []*Ser return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServiceSpecificCredentialsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServiceSpecificCredentialsRequest type ListServiceSpecificCredentialsInput struct { _ struct{} `type:"structure"` @@ -22496,7 +22496,7 @@ func (s *ListServiceSpecificCredentialsInput) SetUserName(v string) *ListService return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServiceSpecificCredentialsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServiceSpecificCredentialsResponse type ListServiceSpecificCredentialsOutput struct { _ struct{} `type:"structure"` @@ -22520,7 +22520,7 @@ func (s *ListServiceSpecificCredentialsOutput) SetServiceSpecificCredentials(v [ return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSigningCertificatesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSigningCertificatesRequest type ListSigningCertificatesInput struct { _ struct{} `type:"structure"` @@ -22597,7 +22597,7 @@ func (s *ListSigningCertificatesInput) SetUserName(v string) *ListSigningCertifi } // Contains the response to a successful ListSigningCertificates request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSigningCertificatesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSigningCertificatesResponse type ListSigningCertificatesOutput struct { _ struct{} `type:"structure"` @@ -22647,7 +22647,7 @@ func (s *ListSigningCertificatesOutput) SetMarker(v string) *ListSigningCertific return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUserPoliciesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUserPoliciesRequest type ListUserPoliciesInput struct { _ struct{} `type:"structure"` @@ -22729,7 +22729,7 @@ func (s *ListUserPoliciesInput) SetUserName(v string) *ListUserPoliciesInput { } // Contains the response to a successful ListUserPolicies request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUserPoliciesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUserPoliciesResponse type ListUserPoliciesOutput struct { _ struct{} `type:"structure"` @@ -22779,7 +22779,7 @@ func (s *ListUserPoliciesOutput) SetPolicyNames(v []*string) *ListUserPoliciesOu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUsersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUsersRequest type ListUsersInput struct { _ struct{} `type:"structure"` @@ -22861,7 +22861,7 @@ func (s *ListUsersInput) SetPathPrefix(v string) *ListUsersInput { } // Contains the response to a successful ListUsers request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUsersResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUsersResponse type ListUsersOutput struct { _ struct{} `type:"structure"` @@ -22911,7 +22911,7 @@ func (s *ListUsersOutput) SetUsers(v []*User) *ListUsersOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListVirtualMFADevicesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListVirtualMFADevicesRequest type ListVirtualMFADevicesInput struct { _ struct{} `type:"structure"` @@ -22983,7 +22983,7 @@ func (s *ListVirtualMFADevicesInput) SetMaxItems(v int64) *ListVirtualMFADevices } // Contains the response to a successful ListVirtualMFADevices request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListVirtualMFADevicesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListVirtualMFADevicesResponse type ListVirtualMFADevicesOutput struct { _ struct{} `type:"structure"` @@ -23038,7 +23038,7 @@ func (s *ListVirtualMFADevicesOutput) SetVirtualMFADevices(v []*VirtualMFADevice // // This data type is used as a response element in the CreateLoginProfile and // GetLoginProfile actions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/LoginProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/LoginProfile type LoginProfile struct { _ struct{} `type:"structure"` @@ -23088,7 +23088,7 @@ func (s *LoginProfile) SetUserName(v string) *LoginProfile { // Contains information about an MFA device. // // This data type is used as a response element in the ListMFADevices action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/MFADevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/MFADevice type MFADevice struct { _ struct{} `type:"structure"` @@ -23147,7 +23147,7 @@ func (s *MFADevice) SetUserName(v string) *MFADevice { // For more information about managed policies, see Managed Policies and Inline // Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) // in the Using IAM guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ManagedPolicyDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ManagedPolicyDetail type ManagedPolicyDetail struct { _ struct{} `type:"structure"` @@ -23285,7 +23285,7 @@ func (s *ManagedPolicyDetail) SetUpdateDate(v time.Time) *ManagedPolicyDetail { } // Contains the Amazon Resource Name (ARN) for an IAM OpenID Connect provider. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/OpenIDConnectProviderListEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/OpenIDConnectProviderListEntry type OpenIDConnectProviderListEntry struct { _ struct{} `type:"structure"` @@ -23314,7 +23314,7 @@ func (s *OpenIDConnectProviderListEntry) SetArn(v string) *OpenIDConnectProvider } // Contains information about AWS Organizations's affect on a policy simulation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/OrganizationsDecisionDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/OrganizationsDecisionDetail type OrganizationsDecisionDetail struct { _ struct{} `type:"structure"` @@ -23343,7 +23343,7 @@ func (s *OrganizationsDecisionDetail) SetAllowedByOrganizations(v bool) *Organiz // // This data type is used as a response element in the GetAccountPasswordPolicy // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PasswordPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PasswordPolicy type PasswordPolicy struct { _ struct{} `type:"structure"` @@ -23460,7 +23460,7 @@ func (s *PasswordPolicy) SetRequireUppercaseCharacters(v bool) *PasswordPolicy { // For more information about managed policies, refer to Managed Policies and // Inline Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) // in the Using IAM guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/Policy +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/Policy type Policy struct { _ struct{} `type:"structure"` @@ -23590,7 +23590,7 @@ func (s *Policy) SetUpdateDate(v time.Time) *Policy { // // This data type is used as a response element in the GetAccountAuthorizationDetails // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyDetail type PolicyDetail struct { _ struct{} `type:"structure"` @@ -23631,7 +23631,7 @@ func (s *PolicyDetail) SetPolicyName(v string) *PolicyDetail { // For more information about managed policies, refer to Managed Policies and // Inline Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) // in the Using IAM guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyGroup type PolicyGroup struct { _ struct{} `type:"structure"` @@ -23674,7 +23674,7 @@ func (s *PolicyGroup) SetGroupName(v string) *PolicyGroup { // For more information about managed policies, refer to Managed Policies and // Inline Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) // in the Using IAM guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyRole type PolicyRole struct { _ struct{} `type:"structure"` @@ -23717,7 +23717,7 @@ func (s *PolicyRole) SetRoleName(v string) *PolicyRole { // For more information about managed policies, refer to Managed Policies and // Inline Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) // in the Using IAM guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyUser type PolicyUser struct { _ struct{} `type:"structure"` @@ -23761,7 +23761,7 @@ func (s *PolicyUser) SetUserName(v string) *PolicyUser { // For more information about managed policies, refer to Managed Policies and // Inline Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) // in the Using IAM guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyVersion type PolicyVersion struct { _ struct{} `type:"structure"` @@ -23824,7 +23824,7 @@ func (s *PolicyVersion) SetVersionId(v string) *PolicyVersion { // document. // // This data type is used as a member of the Statement type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/Position +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/Position type Position struct { _ struct{} `type:"structure"` @@ -23857,7 +23857,7 @@ func (s *Position) SetLine(v int64) *Position { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutGroupPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutGroupPolicyRequest type PutGroupPolicyInput struct { _ struct{} `type:"structure"` @@ -23948,7 +23948,7 @@ func (s *PutGroupPolicyInput) SetPolicyName(v string) *PutGroupPolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutGroupPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutGroupPolicyOutput type PutGroupPolicyOutput struct { _ struct{} `type:"structure"` } @@ -23963,7 +23963,7 @@ func (s PutGroupPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutRolePolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutRolePolicyRequest type PutRolePolicyInput struct { _ struct{} `type:"structure"` @@ -24054,7 +24054,7 @@ func (s *PutRolePolicyInput) SetRoleName(v string) *PutRolePolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutRolePolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutRolePolicyOutput type PutRolePolicyOutput struct { _ struct{} `type:"structure"` } @@ -24069,7 +24069,7 @@ func (s PutRolePolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutUserPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutUserPolicyRequest type PutUserPolicyInput struct { _ struct{} `type:"structure"` @@ -24160,7 +24160,7 @@ func (s *PutUserPolicyInput) SetUserName(v string) *PutUserPolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutUserPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutUserPolicyOutput type PutUserPolicyOutput struct { _ struct{} `type:"structure"` } @@ -24175,7 +24175,7 @@ func (s PutUserPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveClientIDFromOpenIDConnectProviderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveClientIDFromOpenIDConnectProviderRequest type RemoveClientIDFromOpenIDConnectProviderInput struct { _ struct{} `type:"structure"` @@ -24241,7 +24241,7 @@ func (s *RemoveClientIDFromOpenIDConnectProviderInput) SetOpenIDConnectProviderA return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveClientIDFromOpenIDConnectProviderOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveClientIDFromOpenIDConnectProviderOutput type RemoveClientIDFromOpenIDConnectProviderOutput struct { _ struct{} `type:"structure"` } @@ -24256,7 +24256,7 @@ func (s RemoveClientIDFromOpenIDConnectProviderOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveRoleFromInstanceProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveRoleFromInstanceProfileRequest type RemoveRoleFromInstanceProfileInput struct { _ struct{} `type:"structure"` @@ -24323,7 +24323,7 @@ func (s *RemoveRoleFromInstanceProfileInput) SetRoleName(v string) *RemoveRoleFr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveRoleFromInstanceProfileOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveRoleFromInstanceProfileOutput type RemoveRoleFromInstanceProfileOutput struct { _ struct{} `type:"structure"` } @@ -24338,7 +24338,7 @@ func (s RemoveRoleFromInstanceProfileOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveUserFromGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveUserFromGroupRequest type RemoveUserFromGroupInput struct { _ struct{} `type:"structure"` @@ -24405,7 +24405,7 @@ func (s *RemoveUserFromGroupInput) SetUserName(v string) *RemoveUserFromGroupInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveUserFromGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveUserFromGroupOutput type RemoveUserFromGroupOutput struct { _ struct{} `type:"structure"` } @@ -24420,7 +24420,7 @@ func (s RemoveUserFromGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResetServiceSpecificCredentialRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResetServiceSpecificCredentialRequest type ResetServiceSpecificCredentialInput struct { _ struct{} `type:"structure"` @@ -24484,7 +24484,7 @@ func (s *ResetServiceSpecificCredentialInput) SetUserName(v string) *ResetServic return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResetServiceSpecificCredentialResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResetServiceSpecificCredentialResponse type ResetServiceSpecificCredentialOutput struct { _ struct{} `type:"structure"` @@ -24516,7 +24516,7 @@ func (s *ResetServiceSpecificCredentialOutput) SetServiceSpecificCredential(v *S // resource. // // This data type is used by a member of the EvaluationResult data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResourceSpecificResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResourceSpecificResult type ResourceSpecificResult struct { _ struct{} `type:"structure"` @@ -24596,7 +24596,7 @@ func (s *ResourceSpecificResult) SetMissingContextValues(v []*string) *ResourceS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResyncMFADeviceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResyncMFADeviceRequest type ResyncMFADeviceInput struct { _ struct{} `type:"structure"` @@ -24701,7 +24701,7 @@ func (s *ResyncMFADeviceInput) SetUserName(v string) *ResyncMFADeviceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResyncMFADeviceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResyncMFADeviceOutput type ResyncMFADeviceOutput struct { _ struct{} `type:"structure"` } @@ -24718,7 +24718,7 @@ func (s ResyncMFADeviceOutput) GoString() string { // Contains information about an IAM role. This structure is returned as a response // element in several APIs that interact with roles. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/Role +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/Role type Role struct { _ struct{} `type:"structure"` @@ -24817,7 +24817,7 @@ func (s *Role) SetRoleName(v string) *Role { // // This data type is used as a response element in the GetAccountAuthorizationDetails // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RoleDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RoleDetail type RoleDetail struct { _ struct{} `type:"structure"` @@ -24928,7 +24928,7 @@ func (s *RoleDetail) SetRolePolicyList(v []*PolicyDetail) *RoleDetail { // // This data type is used as a response element in the GetServiceLinkedRoleDeletionStatus // operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RoleUsageType +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RoleUsageType type RoleUsageType struct { _ struct{} `type:"structure"` @@ -24962,7 +24962,7 @@ func (s *RoleUsageType) SetResources(v []*string) *RoleUsageType { } // Contains the list of SAML providers for this account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SAMLProviderListEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SAMLProviderListEntry type SAMLProviderListEntry struct { _ struct{} `type:"structure"` @@ -25008,7 +25008,7 @@ func (s *SAMLProviderListEntry) SetValidUntil(v time.Time) *SAMLProviderListEntr // // This data type is used as a response element in the GetSSHPublicKey and UploadSSHPublicKey // actions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SSHPublicKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SSHPublicKey type SSHPublicKey struct { _ struct{} `type:"structure"` @@ -25092,7 +25092,7 @@ func (s *SSHPublicKey) SetUserName(v string) *SSHPublicKey { // Contains information about an SSH public key, without the key's body or fingerprint. // // This data type is used as a response element in the ListSSHPublicKeys action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SSHPublicKeyMetadata +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SSHPublicKeyMetadata type SSHPublicKeyMetadata struct { _ struct{} `type:"structure"` @@ -25157,7 +25157,7 @@ func (s *SSHPublicKeyMetadata) SetUserName(v string) *SSHPublicKeyMetadata { // // This data type is used as a response element in the GetServerCertificate // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ServerCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ServerCertificate type ServerCertificate struct { _ struct{} `type:"structure"` @@ -25209,7 +25209,7 @@ func (s *ServerCertificate) SetServerCertificateMetadata(v *ServerCertificateMet // // This data type is used as a response element in the UploadServerCertificate // and ListServerCertificates actions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ServerCertificateMetadata +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ServerCertificateMetadata type ServerCertificateMetadata struct { _ struct{} `type:"structure"` @@ -25294,7 +25294,7 @@ func (s *ServerCertificateMetadata) SetUploadDate(v time.Time) *ServerCertificat } // Contains the details of a service specific credential. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ServiceSpecificCredential +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ServiceSpecificCredential type ServiceSpecificCredential struct { _ struct{} `type:"structure"` @@ -25392,7 +25392,7 @@ func (s *ServiceSpecificCredential) SetUserName(v string) *ServiceSpecificCreden } // Contains additional details about a service-specific credential. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ServiceSpecificCredentialMetadata +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ServiceSpecificCredentialMetadata type ServiceSpecificCredentialMetadata struct { _ struct{} `type:"structure"` @@ -25475,7 +25475,7 @@ func (s *ServiceSpecificCredentialMetadata) SetUserName(v string) *ServiceSpecif return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SetDefaultPolicyVersionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SetDefaultPolicyVersionRequest type SetDefaultPolicyVersionInput struct { _ struct{} `type:"structure"` @@ -25540,7 +25540,7 @@ func (s *SetDefaultPolicyVersionInput) SetVersionId(v string) *SetDefaultPolicyV return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SetDefaultPolicyVersionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SetDefaultPolicyVersionOutput type SetDefaultPolicyVersionOutput struct { _ struct{} `type:"structure"` } @@ -25559,7 +25559,7 @@ func (s SetDefaultPolicyVersionOutput) GoString() string { // // This data type is used as a response element in the UploadSigningCertificate // and ListSigningCertificates actions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SigningCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SigningCertificate type SigningCertificate struct { _ struct{} `type:"structure"` @@ -25628,7 +25628,7 @@ func (s *SigningCertificate) SetUserName(v string) *SigningCertificate { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulateCustomPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulateCustomPolicyRequest type SimulateCustomPolicyInput struct { _ struct{} `type:"structure"` @@ -25887,7 +25887,7 @@ func (s *SimulateCustomPolicyInput) SetResourcePolicy(v string) *SimulateCustomP // Contains the response to a successful SimulatePrincipalPolicy or SimulateCustomPolicy // request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulatePolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulatePolicyResponse type SimulatePolicyResponse struct { _ struct{} `type:"structure"` @@ -25935,7 +25935,7 @@ func (s *SimulatePolicyResponse) SetMarker(v string) *SimulatePolicyResponse { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulatePrincipalPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulatePrincipalPolicyRequest type SimulatePrincipalPolicyInput struct { _ struct{} `type:"structure"` @@ -26220,7 +26220,7 @@ func (s *SimulatePrincipalPolicyInput) SetResourcePolicy(v string) *SimulatePrin // // This data type is used by the MatchedStatements member of the EvaluationResult // type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/Statement +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/Statement type Statement struct { _ struct{} `type:"structure"` @@ -26271,7 +26271,7 @@ func (s *Statement) SetStartPosition(v *Position) *Statement { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccessKeyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccessKeyRequest type UpdateAccessKeyInput struct { _ struct{} `type:"structure"` @@ -26349,7 +26349,7 @@ func (s *UpdateAccessKeyInput) SetUserName(v string) *UpdateAccessKeyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccessKeyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccessKeyOutput type UpdateAccessKeyOutput struct { _ struct{} `type:"structure"` } @@ -26364,7 +26364,7 @@ func (s UpdateAccessKeyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccountPasswordPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccountPasswordPolicyRequest type UpdateAccountPasswordPolicyInput struct { _ struct{} `type:"structure"` @@ -26509,7 +26509,7 @@ func (s *UpdateAccountPasswordPolicyInput) SetRequireUppercaseCharacters(v bool) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccountPasswordPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccountPasswordPolicyOutput type UpdateAccountPasswordPolicyOutput struct { _ struct{} `type:"structure"` } @@ -26524,7 +26524,7 @@ func (s UpdateAccountPasswordPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAssumeRolePolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAssumeRolePolicyRequest type UpdateAssumeRolePolicyInput struct { _ struct{} `type:"structure"` @@ -26594,7 +26594,7 @@ func (s *UpdateAssumeRolePolicyInput) SetRoleName(v string) *UpdateAssumeRolePol return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAssumeRolePolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAssumeRolePolicyOutput type UpdateAssumeRolePolicyOutput struct { _ struct{} `type:"structure"` } @@ -26609,7 +26609,7 @@ func (s UpdateAssumeRolePolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateGroupRequest type UpdateGroupInput struct { _ struct{} `type:"structure"` @@ -26690,7 +26690,7 @@ func (s *UpdateGroupInput) SetNewPath(v string) *UpdateGroupInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateGroupOutput type UpdateGroupOutput struct { _ struct{} `type:"structure"` } @@ -26705,7 +26705,7 @@ func (s UpdateGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateLoginProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateLoginProfileRequest type UpdateLoginProfileInput struct { _ struct{} `type:"structure"` @@ -26782,7 +26782,7 @@ func (s *UpdateLoginProfileInput) SetUserName(v string) *UpdateLoginProfileInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateLoginProfileOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateLoginProfileOutput type UpdateLoginProfileOutput struct { _ struct{} `type:"structure"` } @@ -26797,7 +26797,7 @@ func (s UpdateLoginProfileOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateOpenIDConnectProviderThumbprintRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateOpenIDConnectProviderThumbprintRequest type UpdateOpenIDConnectProviderThumbprintInput struct { _ struct{} `type:"structure"` @@ -26860,7 +26860,7 @@ func (s *UpdateOpenIDConnectProviderThumbprintInput) SetThumbprintList(v []*stri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateOpenIDConnectProviderThumbprintOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateOpenIDConnectProviderThumbprintOutput type UpdateOpenIDConnectProviderThumbprintOutput struct { _ struct{} `type:"structure"` } @@ -26875,7 +26875,7 @@ func (s UpdateOpenIDConnectProviderThumbprintOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleDescriptionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleDescriptionRequest type UpdateRoleDescriptionInput struct { _ struct{} `type:"structure"` @@ -26931,7 +26931,7 @@ func (s *UpdateRoleDescriptionInput) SetRoleName(v string) *UpdateRoleDescriptio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleDescriptionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleDescriptionResponse type UpdateRoleDescriptionOutput struct { _ struct{} `type:"structure"` @@ -26955,7 +26955,7 @@ func (s *UpdateRoleDescriptionOutput) SetRole(v *Role) *UpdateRoleDescriptionOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSAMLProviderRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSAMLProviderRequest type UpdateSAMLProviderInput struct { _ struct{} `type:"structure"` @@ -27023,7 +27023,7 @@ func (s *UpdateSAMLProviderInput) SetSAMLProviderArn(v string) *UpdateSAMLProvid } // Contains the response to a successful UpdateSAMLProvider request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSAMLProviderResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSAMLProviderResponse type UpdateSAMLProviderOutput struct { _ struct{} `type:"structure"` @@ -27047,7 +27047,7 @@ func (s *UpdateSAMLProviderOutput) SetSAMLProviderArn(v string) *UpdateSAMLProvi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSSHPublicKeyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSSHPublicKeyRequest type UpdateSSHPublicKeyInput struct { _ struct{} `type:"structure"` @@ -27130,7 +27130,7 @@ func (s *UpdateSSHPublicKeyInput) SetUserName(v string) *UpdateSSHPublicKeyInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSSHPublicKeyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSSHPublicKeyOutput type UpdateSSHPublicKeyOutput struct { _ struct{} `type:"structure"` } @@ -27145,7 +27145,7 @@ func (s UpdateSSHPublicKeyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServerCertificateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServerCertificateRequest type UpdateServerCertificateInput struct { _ struct{} `type:"structure"` @@ -27228,7 +27228,7 @@ func (s *UpdateServerCertificateInput) SetServerCertificateName(v string) *Updat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServerCertificateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServerCertificateOutput type UpdateServerCertificateOutput struct { _ struct{} `type:"structure"` } @@ -27243,7 +27243,7 @@ func (s UpdateServerCertificateOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServiceSpecificCredentialRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServiceSpecificCredentialRequest type UpdateServiceSpecificCredentialInput struct { _ struct{} `type:"structure"` @@ -27321,7 +27321,7 @@ func (s *UpdateServiceSpecificCredentialInput) SetUserName(v string) *UpdateServ return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServiceSpecificCredentialOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServiceSpecificCredentialOutput type UpdateServiceSpecificCredentialOutput struct { _ struct{} `type:"structure"` } @@ -27336,7 +27336,7 @@ func (s UpdateServiceSpecificCredentialOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSigningCertificateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSigningCertificateRequest type UpdateSigningCertificateInput struct { _ struct{} `type:"structure"` @@ -27414,7 +27414,7 @@ func (s *UpdateSigningCertificateInput) SetUserName(v string) *UpdateSigningCert return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSigningCertificateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSigningCertificateOutput type UpdateSigningCertificateOutput struct { _ struct{} `type:"structure"` } @@ -27429,7 +27429,7 @@ func (s UpdateSigningCertificateOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateUserRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateUserRequest type UpdateUserInput struct { _ struct{} `type:"structure"` @@ -27512,7 +27512,7 @@ func (s *UpdateUserInput) SetUserName(v string) *UpdateUserInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateUserOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateUserOutput type UpdateUserOutput struct { _ struct{} `type:"structure"` } @@ -27527,7 +27527,7 @@ func (s UpdateUserOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSSHPublicKeyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSSHPublicKeyRequest type UploadSSHPublicKeyInput struct { _ struct{} `type:"structure"` @@ -27599,7 +27599,7 @@ func (s *UploadSSHPublicKeyInput) SetUserName(v string) *UploadSSHPublicKeyInput } // Contains the response to a successful UploadSSHPublicKey request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSSHPublicKeyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSSHPublicKeyResponse type UploadSSHPublicKeyOutput struct { _ struct{} `type:"structure"` @@ -27623,7 +27623,7 @@ func (s *UploadSSHPublicKeyOutput) SetSSHPublicKey(v *SSHPublicKey) *UploadSSHPu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadServerCertificateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadServerCertificateRequest type UploadServerCertificateInput struct { _ struct{} `type:"structure"` @@ -27765,7 +27765,7 @@ func (s *UploadServerCertificateInput) SetServerCertificateName(v string) *Uploa } // Contains the response to a successful UploadServerCertificate request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadServerCertificateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadServerCertificateResponse type UploadServerCertificateOutput struct { _ struct{} `type:"structure"` @@ -27790,7 +27790,7 @@ func (s *UploadServerCertificateOutput) SetServerCertificateMetadata(v *ServerCe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSigningCertificateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSigningCertificateRequest type UploadSigningCertificateInput struct { _ struct{} `type:"structure"` @@ -27856,7 +27856,7 @@ func (s *UploadSigningCertificateInput) SetUserName(v string) *UploadSigningCert } // Contains the response to a successful UploadSigningCertificate request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSigningCertificateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSigningCertificateResponse type UploadSigningCertificateOutput struct { _ struct{} `type:"structure"` @@ -27891,7 +27891,7 @@ func (s *UploadSigningCertificateOutput) SetCertificate(v *SigningCertificate) * // * GetUser // // * ListUsers -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/User +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/User type User struct { _ struct{} `type:"structure"` @@ -28000,7 +28000,7 @@ func (s *User) SetUserName(v string) *User { // // This data type is used as a response element in the GetAccountAuthorizationDetails // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UserDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UserDetail type UserDetail struct { _ struct{} `type:"structure"` @@ -28097,7 +28097,7 @@ func (s *UserDetail) SetUserPolicyList(v []*PolicyDetail) *UserDetail { } // Contains information about a virtual MFA device. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/VirtualMFADevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/VirtualMFADevice type VirtualMFADevice struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/inspector/api.go b/vendor/github.com/aws/aws-sdk-go/service/inspector/api.go index 4caa04a19fc..7097f2fe681 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/inspector/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/inspector/api.go @@ -38,7 +38,7 @@ const opAddAttributesToFindings = "AddAttributesToFindings" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AddAttributesToFindings +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AddAttributesToFindings func (c *Inspector) AddAttributesToFindingsRequest(input *AddAttributesToFindingsInput) (req *request.Request, output *AddAttributesToFindingsOutput) { op := &request.Operation{ Name: opAddAttributesToFindings, @@ -82,7 +82,7 @@ func (c *Inspector) AddAttributesToFindingsRequest(input *AddAttributesToFinding // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AddAttributesToFindings +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AddAttributesToFindings func (c *Inspector) AddAttributesToFindings(input *AddAttributesToFindingsInput) (*AddAttributesToFindingsOutput, error) { req, out := c.AddAttributesToFindingsRequest(input) return out, req.Send() @@ -129,7 +129,7 @@ const opCreateAssessmentTarget = "CreateAssessmentTarget" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTarget func (c *Inspector) CreateAssessmentTargetRequest(input *CreateAssessmentTargetInput) (req *request.Request, output *CreateAssessmentTargetOutput) { op := &request.Operation{ Name: opCreateAssessmentTarget, @@ -179,7 +179,7 @@ func (c *Inspector) CreateAssessmentTargetRequest(input *CreateAssessmentTargetI // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTarget func (c *Inspector) CreateAssessmentTarget(input *CreateAssessmentTargetInput) (*CreateAssessmentTargetOutput, error) { req, out := c.CreateAssessmentTargetRequest(input) return out, req.Send() @@ -226,7 +226,7 @@ const opCreateAssessmentTemplate = "CreateAssessmentTemplate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplate func (c *Inspector) CreateAssessmentTemplateRequest(input *CreateAssessmentTemplateInput) (req *request.Request, output *CreateAssessmentTemplateOutput) { op := &request.Operation{ Name: opCreateAssessmentTemplate, @@ -274,7 +274,7 @@ func (c *Inspector) CreateAssessmentTemplateRequest(input *CreateAssessmentTempl // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplate func (c *Inspector) CreateAssessmentTemplate(input *CreateAssessmentTemplateInput) (*CreateAssessmentTemplateOutput, error) { req, out := c.CreateAssessmentTemplateRequest(input) return out, req.Send() @@ -321,7 +321,7 @@ const opCreateResourceGroup = "CreateResourceGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroup func (c *Inspector) CreateResourceGroupRequest(input *CreateResourceGroupInput) (req *request.Request, output *CreateResourceGroupOutput) { op := &request.Operation{ Name: opCreateResourceGroup, @@ -367,7 +367,7 @@ func (c *Inspector) CreateResourceGroupRequest(input *CreateResourceGroupInput) // * ErrCodeAccessDeniedException "AccessDeniedException" // You do not have required permissions to access the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroup func (c *Inspector) CreateResourceGroup(input *CreateResourceGroupInput) (*CreateResourceGroupOutput, error) { req, out := c.CreateResourceGroupRequest(input) return out, req.Send() @@ -414,7 +414,7 @@ const opDeleteAssessmentRun = "DeleteAssessmentRun" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentRun func (c *Inspector) DeleteAssessmentRunRequest(input *DeleteAssessmentRunInput) (req *request.Request, output *DeleteAssessmentRunOutput) { op := &request.Operation{ Name: opDeleteAssessmentRun, @@ -464,7 +464,7 @@ func (c *Inspector) DeleteAssessmentRunRequest(input *DeleteAssessmentRunInput) // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentRun func (c *Inspector) DeleteAssessmentRun(input *DeleteAssessmentRunInput) (*DeleteAssessmentRunOutput, error) { req, out := c.DeleteAssessmentRunRequest(input) return out, req.Send() @@ -511,7 +511,7 @@ const opDeleteAssessmentTarget = "DeleteAssessmentTarget" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTarget func (c *Inspector) DeleteAssessmentTargetRequest(input *DeleteAssessmentTargetInput) (req *request.Request, output *DeleteAssessmentTargetOutput) { op := &request.Operation{ Name: opDeleteAssessmentTarget, @@ -561,7 +561,7 @@ func (c *Inspector) DeleteAssessmentTargetRequest(input *DeleteAssessmentTargetI // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTarget func (c *Inspector) DeleteAssessmentTarget(input *DeleteAssessmentTargetInput) (*DeleteAssessmentTargetOutput, error) { req, out := c.DeleteAssessmentTargetRequest(input) return out, req.Send() @@ -608,7 +608,7 @@ const opDeleteAssessmentTemplate = "DeleteAssessmentTemplate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTemplate func (c *Inspector) DeleteAssessmentTemplateRequest(input *DeleteAssessmentTemplateInput) (req *request.Request, output *DeleteAssessmentTemplateOutput) { op := &request.Operation{ Name: opDeleteAssessmentTemplate, @@ -658,7 +658,7 @@ func (c *Inspector) DeleteAssessmentTemplateRequest(input *DeleteAssessmentTempl // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTemplate func (c *Inspector) DeleteAssessmentTemplate(input *DeleteAssessmentTemplateInput) (*DeleteAssessmentTemplateOutput, error) { req, out := c.DeleteAssessmentTemplateRequest(input) return out, req.Send() @@ -705,7 +705,7 @@ const opDescribeAssessmentRuns = "DescribeAssessmentRuns" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentRuns +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentRuns func (c *Inspector) DescribeAssessmentRunsRequest(input *DescribeAssessmentRunsInput) (req *request.Request, output *DescribeAssessmentRunsOutput) { op := &request.Operation{ Name: opDescribeAssessmentRuns, @@ -742,7 +742,7 @@ func (c *Inspector) DescribeAssessmentRunsRequest(input *DescribeAssessmentRunsI // The request was rejected because an invalid or out-of-range value was supplied // for an input parameter. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentRuns +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentRuns func (c *Inspector) DescribeAssessmentRuns(input *DescribeAssessmentRunsInput) (*DescribeAssessmentRunsOutput, error) { req, out := c.DescribeAssessmentRunsRequest(input) return out, req.Send() @@ -789,7 +789,7 @@ const opDescribeAssessmentTargets = "DescribeAssessmentTargets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargets func (c *Inspector) DescribeAssessmentTargetsRequest(input *DescribeAssessmentTargetsInput) (req *request.Request, output *DescribeAssessmentTargetsOutput) { op := &request.Operation{ Name: opDescribeAssessmentTargets, @@ -826,7 +826,7 @@ func (c *Inspector) DescribeAssessmentTargetsRequest(input *DescribeAssessmentTa // The request was rejected because an invalid or out-of-range value was supplied // for an input parameter. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargets func (c *Inspector) DescribeAssessmentTargets(input *DescribeAssessmentTargetsInput) (*DescribeAssessmentTargetsOutput, error) { req, out := c.DescribeAssessmentTargetsRequest(input) return out, req.Send() @@ -873,7 +873,7 @@ const opDescribeAssessmentTemplates = "DescribeAssessmentTemplates" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplates +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplates func (c *Inspector) DescribeAssessmentTemplatesRequest(input *DescribeAssessmentTemplatesInput) (req *request.Request, output *DescribeAssessmentTemplatesOutput) { op := &request.Operation{ Name: opDescribeAssessmentTemplates, @@ -910,7 +910,7 @@ func (c *Inspector) DescribeAssessmentTemplatesRequest(input *DescribeAssessment // The request was rejected because an invalid or out-of-range value was supplied // for an input parameter. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplates +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplates func (c *Inspector) DescribeAssessmentTemplates(input *DescribeAssessmentTemplatesInput) (*DescribeAssessmentTemplatesOutput, error) { req, out := c.DescribeAssessmentTemplatesRequest(input) return out, req.Send() @@ -957,7 +957,7 @@ const opDescribeCrossAccountAccessRole = "DescribeCrossAccountAccessRole" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeCrossAccountAccessRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeCrossAccountAccessRole func (c *Inspector) DescribeCrossAccountAccessRoleRequest(input *DescribeCrossAccountAccessRoleInput) (req *request.Request, output *DescribeCrossAccountAccessRoleOutput) { op := &request.Operation{ Name: opDescribeCrossAccountAccessRole, @@ -989,7 +989,7 @@ func (c *Inspector) DescribeCrossAccountAccessRoleRequest(input *DescribeCrossAc // * ErrCodeInternalException "InternalException" // Internal server error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeCrossAccountAccessRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeCrossAccountAccessRole func (c *Inspector) DescribeCrossAccountAccessRole(input *DescribeCrossAccountAccessRoleInput) (*DescribeCrossAccountAccessRoleOutput, error) { req, out := c.DescribeCrossAccountAccessRoleRequest(input) return out, req.Send() @@ -1036,7 +1036,7 @@ const opDescribeFindings = "DescribeFindings" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindings +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindings func (c *Inspector) DescribeFindingsRequest(input *DescribeFindingsInput) (req *request.Request, output *DescribeFindingsOutput) { op := &request.Operation{ Name: opDescribeFindings, @@ -1072,7 +1072,7 @@ func (c *Inspector) DescribeFindingsRequest(input *DescribeFindingsInput) (req * // The request was rejected because an invalid or out-of-range value was supplied // for an input parameter. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindings +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindings func (c *Inspector) DescribeFindings(input *DescribeFindingsInput) (*DescribeFindingsOutput, error) { req, out := c.DescribeFindingsRequest(input) return out, req.Send() @@ -1119,7 +1119,7 @@ const opDescribeResourceGroups = "DescribeResourceGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroups func (c *Inspector) DescribeResourceGroupsRequest(input *DescribeResourceGroupsInput) (req *request.Request, output *DescribeResourceGroupsOutput) { op := &request.Operation{ Name: opDescribeResourceGroups, @@ -1156,7 +1156,7 @@ func (c *Inspector) DescribeResourceGroupsRequest(input *DescribeResourceGroupsI // The request was rejected because an invalid or out-of-range value was supplied // for an input parameter. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroups func (c *Inspector) DescribeResourceGroups(input *DescribeResourceGroupsInput) (*DescribeResourceGroupsOutput, error) { req, out := c.DescribeResourceGroupsRequest(input) return out, req.Send() @@ -1203,7 +1203,7 @@ const opDescribeRulesPackages = "DescribeRulesPackages" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackages +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackages func (c *Inspector) DescribeRulesPackagesRequest(input *DescribeRulesPackagesInput) (req *request.Request, output *DescribeRulesPackagesOutput) { op := &request.Operation{ Name: opDescribeRulesPackages, @@ -1240,7 +1240,7 @@ func (c *Inspector) DescribeRulesPackagesRequest(input *DescribeRulesPackagesInp // The request was rejected because an invalid or out-of-range value was supplied // for an input parameter. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackages +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackages func (c *Inspector) DescribeRulesPackages(input *DescribeRulesPackagesInput) (*DescribeRulesPackagesOutput, error) { req, out := c.DescribeRulesPackagesRequest(input) return out, req.Send() @@ -1287,7 +1287,7 @@ const opGetAssessmentReport = "GetAssessmentReport" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReport +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReport func (c *Inspector) GetAssessmentReportRequest(input *GetAssessmentReportInput) (req *request.Request, output *GetAssessmentReportOutput) { op := &request.Operation{ Name: opGetAssessmentReport, @@ -1342,7 +1342,7 @@ func (c *Inspector) GetAssessmentReportRequest(input *GetAssessmentReportInput) // runs that took place or will take place after generating reports in Amazon // Inspector became available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReport +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReport func (c *Inspector) GetAssessmentReport(input *GetAssessmentReportInput) (*GetAssessmentReportOutput, error) { req, out := c.GetAssessmentReportRequest(input) return out, req.Send() @@ -1389,7 +1389,7 @@ const opGetTelemetryMetadata = "GetTelemetryMetadata" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadata +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadata func (c *Inspector) GetTelemetryMetadataRequest(input *GetTelemetryMetadataInput) (req *request.Request, output *GetTelemetryMetadataOutput) { op := &request.Operation{ Name: opGetTelemetryMetadata, @@ -1433,7 +1433,7 @@ func (c *Inspector) GetTelemetryMetadataRequest(input *GetTelemetryMetadataInput // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadata +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadata func (c *Inspector) GetTelemetryMetadata(input *GetTelemetryMetadataInput) (*GetTelemetryMetadataOutput, error) { req, out := c.GetTelemetryMetadataRequest(input) return out, req.Send() @@ -1480,7 +1480,7 @@ const opListAssessmentRunAgents = "ListAssessmentRunAgents" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgents +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgents func (c *Inspector) ListAssessmentRunAgentsRequest(input *ListAssessmentRunAgentsInput) (req *request.Request, output *ListAssessmentRunAgentsOutput) { op := &request.Operation{ Name: opListAssessmentRunAgents, @@ -1530,7 +1530,7 @@ func (c *Inspector) ListAssessmentRunAgentsRequest(input *ListAssessmentRunAgent // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgents +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgents func (c *Inspector) ListAssessmentRunAgents(input *ListAssessmentRunAgentsInput) (*ListAssessmentRunAgentsOutput, error) { req, out := c.ListAssessmentRunAgentsRequest(input) return out, req.Send() @@ -1627,7 +1627,7 @@ const opListAssessmentRuns = "ListAssessmentRuns" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRuns +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRuns func (c *Inspector) ListAssessmentRunsRequest(input *ListAssessmentRunsInput) (req *request.Request, output *ListAssessmentRunsOutput) { op := &request.Operation{ Name: opListAssessmentRuns, @@ -1677,7 +1677,7 @@ func (c *Inspector) ListAssessmentRunsRequest(input *ListAssessmentRunsInput) (r // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRuns +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRuns func (c *Inspector) ListAssessmentRuns(input *ListAssessmentRunsInput) (*ListAssessmentRunsOutput, error) { req, out := c.ListAssessmentRunsRequest(input) return out, req.Send() @@ -1774,7 +1774,7 @@ const opListAssessmentTargets = "ListAssessmentTargets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargets func (c *Inspector) ListAssessmentTargetsRequest(input *ListAssessmentTargetsInput) (req *request.Request, output *ListAssessmentTargetsOutput) { op := &request.Operation{ Name: opListAssessmentTargets, @@ -1821,7 +1821,7 @@ func (c *Inspector) ListAssessmentTargetsRequest(input *ListAssessmentTargetsInp // * ErrCodeAccessDeniedException "AccessDeniedException" // You do not have required permissions to access the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargets func (c *Inspector) ListAssessmentTargets(input *ListAssessmentTargetsInput) (*ListAssessmentTargetsOutput, error) { req, out := c.ListAssessmentTargetsRequest(input) return out, req.Send() @@ -1918,7 +1918,7 @@ const opListAssessmentTemplates = "ListAssessmentTemplates" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplates +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplates func (c *Inspector) ListAssessmentTemplatesRequest(input *ListAssessmentTemplatesInput) (req *request.Request, output *ListAssessmentTemplatesOutput) { op := &request.Operation{ Name: opListAssessmentTemplates, @@ -1968,7 +1968,7 @@ func (c *Inspector) ListAssessmentTemplatesRequest(input *ListAssessmentTemplate // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplates +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplates func (c *Inspector) ListAssessmentTemplates(input *ListAssessmentTemplatesInput) (*ListAssessmentTemplatesOutput, error) { req, out := c.ListAssessmentTemplatesRequest(input) return out, req.Send() @@ -2065,7 +2065,7 @@ const opListEventSubscriptions = "ListEventSubscriptions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptions func (c *Inspector) ListEventSubscriptionsRequest(input *ListEventSubscriptionsInput) (req *request.Request, output *ListEventSubscriptionsOutput) { op := &request.Operation{ Name: opListEventSubscriptions, @@ -2116,7 +2116,7 @@ func (c *Inspector) ListEventSubscriptionsRequest(input *ListEventSubscriptionsI // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptions func (c *Inspector) ListEventSubscriptions(input *ListEventSubscriptionsInput) (*ListEventSubscriptionsOutput, error) { req, out := c.ListEventSubscriptionsRequest(input) return out, req.Send() @@ -2213,7 +2213,7 @@ const opListFindings = "ListFindings" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindings +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindings func (c *Inspector) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput) { op := &request.Operation{ Name: opListFindings, @@ -2263,7 +2263,7 @@ func (c *Inspector) ListFindingsRequest(input *ListFindingsInput) (req *request. // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindings +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindings func (c *Inspector) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error) { req, out := c.ListFindingsRequest(input) return out, req.Send() @@ -2360,7 +2360,7 @@ const opListRulesPackages = "ListRulesPackages" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackages +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackages func (c *Inspector) ListRulesPackagesRequest(input *ListRulesPackagesInput) (req *request.Request, output *ListRulesPackagesOutput) { op := &request.Operation{ Name: opListRulesPackages, @@ -2405,7 +2405,7 @@ func (c *Inspector) ListRulesPackagesRequest(input *ListRulesPackagesInput) (req // * ErrCodeAccessDeniedException "AccessDeniedException" // You do not have required permissions to access the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackages +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackages func (c *Inspector) ListRulesPackages(input *ListRulesPackagesInput) (*ListRulesPackagesOutput, error) { req, out := c.ListRulesPackagesRequest(input) return out, req.Send() @@ -2502,7 +2502,7 @@ const opListTagsForResource = "ListTagsForResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResource func (c *Inspector) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ Name: opListTagsForResource, @@ -2545,7 +2545,7 @@ func (c *Inspector) ListTagsForResourceRequest(input *ListTagsForResourceInput) // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResource func (c *Inspector) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { req, out := c.ListTagsForResourceRequest(input) return out, req.Send() @@ -2592,7 +2592,7 @@ const opPreviewAgents = "PreviewAgents" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgents +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgents func (c *Inspector) PreviewAgentsRequest(input *PreviewAgentsInput) (req *request.Request, output *PreviewAgentsOutput) { op := &request.Operation{ Name: opPreviewAgents, @@ -2646,7 +2646,7 @@ func (c *Inspector) PreviewAgentsRequest(input *PreviewAgentsInput) (req *reques // Amazon Inspector cannot assume the cross-account role that it needs to list // your EC2 instances during the assessment run. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgents +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgents func (c *Inspector) PreviewAgents(input *PreviewAgentsInput) (*PreviewAgentsOutput, error) { req, out := c.PreviewAgentsRequest(input) return out, req.Send() @@ -2743,7 +2743,7 @@ const opRegisterCrossAccountAccessRole = "RegisterCrossAccountAccessRole" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRole func (c *Inspector) RegisterCrossAccountAccessRoleRequest(input *RegisterCrossAccountAccessRoleInput) (req *request.Request, output *RegisterCrossAccountAccessRoleOutput) { op := &request.Operation{ Name: opRegisterCrossAccountAccessRole, @@ -2789,7 +2789,7 @@ func (c *Inspector) RegisterCrossAccountAccessRoleRequest(input *RegisterCrossAc // Amazon Inspector cannot assume the cross-account role that it needs to list // your EC2 instances during the assessment run. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRole func (c *Inspector) RegisterCrossAccountAccessRole(input *RegisterCrossAccountAccessRoleInput) (*RegisterCrossAccountAccessRoleOutput, error) { req, out := c.RegisterCrossAccountAccessRoleRequest(input) return out, req.Send() @@ -2836,7 +2836,7 @@ const opRemoveAttributesFromFindings = "RemoveAttributesFromFindings" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RemoveAttributesFromFindings +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RemoveAttributesFromFindings func (c *Inspector) RemoveAttributesFromFindingsRequest(input *RemoveAttributesFromFindingsInput) (req *request.Request, output *RemoveAttributesFromFindingsOutput) { op := &request.Operation{ Name: opRemoveAttributesFromFindings, @@ -2881,7 +2881,7 @@ func (c *Inspector) RemoveAttributesFromFindingsRequest(input *RemoveAttributesF // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RemoveAttributesFromFindings +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RemoveAttributesFromFindings func (c *Inspector) RemoveAttributesFromFindings(input *RemoveAttributesFromFindingsInput) (*RemoveAttributesFromFindingsOutput, error) { req, out := c.RemoveAttributesFromFindingsRequest(input) return out, req.Send() @@ -2928,7 +2928,7 @@ const opSetTagsForResource = "SetTagsForResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SetTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SetTagsForResource func (c *Inspector) SetTagsForResourceRequest(input *SetTagsForResourceInput) (req *request.Request, output *SetTagsForResourceOutput) { op := &request.Operation{ Name: opSetTagsForResource, @@ -2974,7 +2974,7 @@ func (c *Inspector) SetTagsForResourceRequest(input *SetTagsForResourceInput) (r // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SetTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SetTagsForResource func (c *Inspector) SetTagsForResource(input *SetTagsForResourceInput) (*SetTagsForResourceOutput, error) { req, out := c.SetTagsForResourceRequest(input) return out, req.Send() @@ -3021,7 +3021,7 @@ const opStartAssessmentRun = "StartAssessmentRun" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StartAssessmentRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StartAssessmentRun func (c *Inspector) StartAssessmentRunRequest(input *StartAssessmentRunInput) (req *request.Request, output *StartAssessmentRunOutput) { op := &request.Operation{ Name: opStartAssessmentRun, @@ -3078,7 +3078,7 @@ func (c *Inspector) StartAssessmentRunRequest(input *StartAssessmentRunInput) (r // You started an assessment run, but one of the instances is already participating // in another assessment run. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StartAssessmentRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StartAssessmentRun func (c *Inspector) StartAssessmentRun(input *StartAssessmentRunInput) (*StartAssessmentRunOutput, error) { req, out := c.StartAssessmentRunRequest(input) return out, req.Send() @@ -3125,7 +3125,7 @@ const opStopAssessmentRun = "StopAssessmentRun" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StopAssessmentRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StopAssessmentRun func (c *Inspector) StopAssessmentRunRequest(input *StopAssessmentRunInput) (req *request.Request, output *StopAssessmentRunOutput) { op := &request.Operation{ Name: opStopAssessmentRun, @@ -3170,7 +3170,7 @@ func (c *Inspector) StopAssessmentRunRequest(input *StopAssessmentRunInput) (req // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StopAssessmentRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StopAssessmentRun func (c *Inspector) StopAssessmentRun(input *StopAssessmentRunInput) (*StopAssessmentRunOutput, error) { req, out := c.StopAssessmentRunRequest(input) return out, req.Send() @@ -3217,7 +3217,7 @@ const opSubscribeToEvent = "SubscribeToEvent" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SubscribeToEvent +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SubscribeToEvent func (c *Inspector) SubscribeToEventRequest(input *SubscribeToEventInput) (req *request.Request, output *SubscribeToEventOutput) { op := &request.Operation{ Name: opSubscribeToEvent, @@ -3267,7 +3267,7 @@ func (c *Inspector) SubscribeToEventRequest(input *SubscribeToEventInput) (req * // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SubscribeToEvent +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SubscribeToEvent func (c *Inspector) SubscribeToEvent(input *SubscribeToEventInput) (*SubscribeToEventOutput, error) { req, out := c.SubscribeToEventRequest(input) return out, req.Send() @@ -3314,7 +3314,7 @@ const opUnsubscribeFromEvent = "UnsubscribeFromEvent" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsubscribeFromEvent +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsubscribeFromEvent func (c *Inspector) UnsubscribeFromEventRequest(input *UnsubscribeFromEventInput) (req *request.Request, output *UnsubscribeFromEventOutput) { op := &request.Operation{ Name: opUnsubscribeFromEvent, @@ -3360,7 +3360,7 @@ func (c *Inspector) UnsubscribeFromEventRequest(input *UnsubscribeFromEventInput // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsubscribeFromEvent +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsubscribeFromEvent func (c *Inspector) UnsubscribeFromEvent(input *UnsubscribeFromEventInput) (*UnsubscribeFromEventOutput, error) { req, out := c.UnsubscribeFromEventRequest(input) return out, req.Send() @@ -3407,7 +3407,7 @@ const opUpdateAssessmentTarget = "UpdateAssessmentTarget" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UpdateAssessmentTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UpdateAssessmentTarget func (c *Inspector) UpdateAssessmentTargetRequest(input *UpdateAssessmentTargetInput) (req *request.Request, output *UpdateAssessmentTargetOutput) { op := &request.Operation{ Name: opUpdateAssessmentTarget, @@ -3453,7 +3453,7 @@ func (c *Inspector) UpdateAssessmentTargetRequest(input *UpdateAssessmentTargetI // The request was rejected because it referenced an entity that does not exist. // The error code describes the entity. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UpdateAssessmentTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UpdateAssessmentTarget func (c *Inspector) UpdateAssessmentTarget(input *UpdateAssessmentTargetInput) (*UpdateAssessmentTargetOutput, error) { req, out := c.UpdateAssessmentTargetRequest(input) return out, req.Send() @@ -3475,7 +3475,7 @@ func (c *Inspector) UpdateAssessmentTargetWithContext(ctx aws.Context, input *Up return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AddAttributesToFindingsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AddAttributesToFindingsRequest type AddAttributesToFindingsInput struct { _ struct{} `type:"structure"` @@ -3541,7 +3541,7 @@ func (s *AddAttributesToFindingsInput) SetFindingArns(v []*string) *AddAttribute return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AddAttributesToFindingsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AddAttributesToFindingsResponse type AddAttributesToFindingsOutput struct { _ struct{} `type:"structure"` @@ -3571,7 +3571,7 @@ func (s *AddAttributesToFindingsOutput) SetFailedItems(v map[string]*FailedItemD // Used in the exception error that is thrown if you start an assessment run // for an assessment target that includes an EC2 instance that is already participating // in another started assessment run. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AgentAlreadyRunningAssessment +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AgentAlreadyRunningAssessment type AgentAlreadyRunningAssessment struct { _ struct{} `type:"structure"` @@ -3611,7 +3611,7 @@ func (s *AgentAlreadyRunningAssessment) SetAssessmentRunArn(v string) *AgentAlre // Contains information about an Amazon Inspector agent. This data type is used // as a request parameter in the ListAssessmentRunAgents action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AgentFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AgentFilter type AgentFilter struct { _ struct{} `type:"structure"` @@ -3666,7 +3666,7 @@ func (s *AgentFilter) SetAgentHealths(v []*string) *AgentFilter { } // Used as a response element in the PreviewAgents action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AgentPreview +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AgentPreview type AgentPreview struct { _ struct{} `type:"structure"` @@ -3705,7 +3705,7 @@ func (s *AgentPreview) SetAutoScalingGroup(v string) *AgentPreview { // of the assessment run . // // Used as the response element in the DescribeAssessmentRuns action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRun +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRun type AssessmentRun struct { _ struct{} `type:"structure"` @@ -3887,7 +3887,7 @@ func (s *AssessmentRun) SetUserAttributesForFindings(v []*Attribute) *Assessment // Contains information about an Amazon Inspector agent. This data type is used // as a response element in the ListAssessmentRunAgents action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunAgent +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunAgent type AssessmentRunAgent struct { _ struct{} `type:"structure"` @@ -3977,7 +3977,7 @@ func (s *AssessmentRunAgent) SetTelemetryMetadata(v []*TelemetryMetadata) *Asses } // Used as the request parameter in the ListAssessmentRuns action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunFilter type AssessmentRunFilter struct { _ struct{} `type:"structure"` @@ -4090,7 +4090,7 @@ func (s *AssessmentRunFilter) SetStates(v []*string) *AssessmentRunFilter { } // Used as one of the elements of the AssessmentRun data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunNotification +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunNotification type AssessmentRunNotification struct { _ struct{} `type:"structure"` @@ -4166,7 +4166,7 @@ func (s *AssessmentRunNotification) SetSnsTopicArn(v string) *AssessmentRunNotif } // Used as one of the elements of the AssessmentRun data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunStateChange +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunStateChange type AssessmentRunStateChange struct { _ struct{} `type:"structure"` @@ -4205,7 +4205,7 @@ func (s *AssessmentRunStateChange) SetStateChangedAt(v time.Time) *AssessmentRun // Contains information about an Amazon Inspector application. This data type // is used as the response element in the DescribeAssessmentTargets action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTarget type AssessmentTarget struct { _ struct{} `type:"structure"` @@ -4277,7 +4277,7 @@ func (s *AssessmentTarget) SetUpdatedAt(v time.Time) *AssessmentTarget { } // Used as the request parameter in the ListAssessmentTargets action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTargetFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTargetFilter type AssessmentTargetFilter struct { _ struct{} `type:"structure"` @@ -4319,7 +4319,7 @@ func (s *AssessmentTargetFilter) SetAssessmentTargetNamePattern(v string) *Asses // Contains information about an Amazon Inspector assessment template. This // data type is used as the response element in the DescribeAssessmentTemplates // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTemplate type AssessmentTemplate struct { _ struct{} `type:"structure"` @@ -4415,7 +4415,7 @@ func (s *AssessmentTemplate) SetUserAttributesForFindings(v []*Attribute) *Asses } // Used as the request parameter in the ListAssessmentTemplates action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTemplateFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTemplateFilter type AssessmentTemplateFilter struct { _ struct{} `type:"structure"` @@ -4482,7 +4482,7 @@ func (s *AssessmentTemplateFilter) SetRulesPackageArns(v []*string) *AssessmentT } // A collection of attributes of the host from which the finding is generated. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssetAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssetAttributes type AssetAttributes struct { _ struct{} `type:"structure"` @@ -4557,7 +4557,7 @@ func (s *AssetAttributes) SetSchemaVersion(v int64) *AssetAttributes { // This data type is used as a request parameter in the AddAttributesToFindings // and CreateAssessmentTemplate actions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/Attribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/Attribute type Attribute struct { _ struct{} `type:"structure"` @@ -4611,7 +4611,7 @@ func (s *Attribute) SetValue(v string) *Attribute { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTargetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTargetRequest type CreateAssessmentTargetInput struct { _ struct{} `type:"structure"` @@ -4672,7 +4672,7 @@ func (s *CreateAssessmentTargetInput) SetResourceGroupArn(v string) *CreateAsses return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTargetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTargetResponse type CreateAssessmentTargetOutput struct { _ struct{} `type:"structure"` @@ -4698,7 +4698,7 @@ func (s *CreateAssessmentTargetOutput) SetAssessmentTargetArn(v string) *CreateA return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplateRequest type CreateAssessmentTemplateInput struct { _ struct{} `type:"structure"` @@ -4816,7 +4816,7 @@ func (s *CreateAssessmentTemplateInput) SetUserAttributesForFindings(v []*Attrib return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplateResponse type CreateAssessmentTemplateOutput struct { _ struct{} `type:"structure"` @@ -4842,7 +4842,7 @@ func (s *CreateAssessmentTemplateOutput) SetAssessmentTemplateArn(v string) *Cre return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroupRequest type CreateResourceGroupInput struct { _ struct{} `type:"structure"` @@ -4896,7 +4896,7 @@ func (s *CreateResourceGroupInput) SetResourceGroupTags(v []*ResourceGroupTag) * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroupResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroupResponse type CreateResourceGroupOutput struct { _ struct{} `type:"structure"` @@ -4922,7 +4922,7 @@ func (s *CreateResourceGroupOutput) SetResourceGroupArn(v string) *CreateResourc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentRunRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentRunRequest type DeleteAssessmentRunInput struct { _ struct{} `type:"structure"` @@ -4964,7 +4964,7 @@ func (s *DeleteAssessmentRunInput) SetAssessmentRunArn(v string) *DeleteAssessme return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentRunOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentRunOutput type DeleteAssessmentRunOutput struct { _ struct{} `type:"structure"` } @@ -4979,7 +4979,7 @@ func (s DeleteAssessmentRunOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTargetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTargetRequest type DeleteAssessmentTargetInput struct { _ struct{} `type:"structure"` @@ -5021,7 +5021,7 @@ func (s *DeleteAssessmentTargetInput) SetAssessmentTargetArn(v string) *DeleteAs return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTargetOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTargetOutput type DeleteAssessmentTargetOutput struct { _ struct{} `type:"structure"` } @@ -5036,7 +5036,7 @@ func (s DeleteAssessmentTargetOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTemplateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTemplateRequest type DeleteAssessmentTemplateInput struct { _ struct{} `type:"structure"` @@ -5078,7 +5078,7 @@ func (s *DeleteAssessmentTemplateInput) SetAssessmentTemplateArn(v string) *Dele return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTemplateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTemplateOutput type DeleteAssessmentTemplateOutput struct { _ struct{} `type:"structure"` } @@ -5093,7 +5093,7 @@ func (s DeleteAssessmentTemplateOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentRunsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentRunsRequest type DescribeAssessmentRunsInput struct { _ struct{} `type:"structure"` @@ -5135,7 +5135,7 @@ func (s *DescribeAssessmentRunsInput) SetAssessmentRunArns(v []*string) *Describ return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentRunsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentRunsResponse type DescribeAssessmentRunsOutput struct { _ struct{} `type:"structure"` @@ -5173,7 +5173,7 @@ func (s *DescribeAssessmentRunsOutput) SetFailedItems(v map[string]*FailedItemDe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargetsRequest type DescribeAssessmentTargetsInput struct { _ struct{} `type:"structure"` @@ -5215,7 +5215,7 @@ func (s *DescribeAssessmentTargetsInput) SetAssessmentTargetArns(v []*string) *D return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargetsResponse type DescribeAssessmentTargetsOutput struct { _ struct{} `type:"structure"` @@ -5253,7 +5253,7 @@ func (s *DescribeAssessmentTargetsOutput) SetFailedItems(v map[string]*FailedIte return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplatesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplatesRequest type DescribeAssessmentTemplatesInput struct { _ struct{} `type:"structure"` @@ -5293,7 +5293,7 @@ func (s *DescribeAssessmentTemplatesInput) SetAssessmentTemplateArns(v []*string return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplatesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplatesResponse type DescribeAssessmentTemplatesOutput struct { _ struct{} `type:"structure"` @@ -5331,7 +5331,7 @@ func (s *DescribeAssessmentTemplatesOutput) SetFailedItems(v map[string]*FailedI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeCrossAccountAccessRoleInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeCrossAccountAccessRoleInput type DescribeCrossAccountAccessRoleInput struct { _ struct{} `type:"structure"` } @@ -5346,7 +5346,7 @@ func (s DescribeCrossAccountAccessRoleInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeCrossAccountAccessRoleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeCrossAccountAccessRoleResponse type DescribeCrossAccountAccessRoleOutput struct { _ struct{} `type:"structure"` @@ -5396,7 +5396,7 @@ func (s *DescribeCrossAccountAccessRoleOutput) SetValid(v bool) *DescribeCrossAc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindingsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindingsRequest type DescribeFindingsInput struct { _ struct{} `type:"structure"` @@ -5448,7 +5448,7 @@ func (s *DescribeFindingsInput) SetLocale(v string) *DescribeFindingsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindingsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindingsResponse type DescribeFindingsOutput struct { _ struct{} `type:"structure"` @@ -5486,7 +5486,7 @@ func (s *DescribeFindingsOutput) SetFindings(v []*Finding) *DescribeFindingsOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroupsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroupsRequest type DescribeResourceGroupsInput struct { _ struct{} `type:"structure"` @@ -5528,7 +5528,7 @@ func (s *DescribeResourceGroupsInput) SetResourceGroupArns(v []*string) *Describ return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroupsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroupsResponse type DescribeResourceGroupsOutput struct { _ struct{} `type:"structure"` @@ -5566,7 +5566,7 @@ func (s *DescribeResourceGroupsOutput) SetResourceGroups(v []*ResourceGroup) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackagesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackagesRequest type DescribeRulesPackagesInput struct { _ struct{} `type:"structure"` @@ -5617,7 +5617,7 @@ func (s *DescribeRulesPackagesInput) SetRulesPackageArns(v []*string) *DescribeR return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackagesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackagesResponse type DescribeRulesPackagesOutput struct { _ struct{} `type:"structure"` @@ -5656,7 +5656,7 @@ func (s *DescribeRulesPackagesOutput) SetRulesPackages(v []*RulesPackage) *Descr } // This data type is used in the AssessmentTemplateFilter data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DurationRange +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DurationRange type DurationRange struct { _ struct{} `type:"structure"` @@ -5707,7 +5707,7 @@ func (s *DurationRange) SetMinSeconds(v int64) *DurationRange { } // This data type is used in the Subscription data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/EventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/EventSubscription type EventSubscription struct { _ struct{} `type:"structure"` @@ -5746,7 +5746,7 @@ func (s *EventSubscription) SetSubscribedAt(v time.Time) *EventSubscription { } // Includes details about the failed items. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/FailedItemDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/FailedItemDetails type FailedItemDetails struct { _ struct{} `type:"structure"` @@ -5786,7 +5786,7 @@ func (s *FailedItemDetails) SetRetryable(v bool) *FailedItemDetails { // Contains information about an Amazon Inspector finding. This data type is // used as the response element in the DescribeFindings action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/Finding +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/Finding type Finding struct { _ struct{} `type:"structure"` @@ -5974,7 +5974,7 @@ func (s *Finding) SetUserAttributes(v []*Attribute) *Finding { } // This data type is used as a request parameter in the ListFindings action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/FindingFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/FindingFilter type FindingFilter struct { _ struct{} `type:"structure"` @@ -6105,7 +6105,7 @@ func (s *FindingFilter) SetUserAttributes(v []*Attribute) *FindingFilter { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReportRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReportRequest type GetAssessmentReportInput struct { _ struct{} `type:"structure"` @@ -6179,7 +6179,7 @@ func (s *GetAssessmentReportInput) SetReportType(v string) *GetAssessmentReportI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReportResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReportResponse type GetAssessmentReportOutput struct { _ struct{} `type:"structure"` @@ -6215,7 +6215,7 @@ func (s *GetAssessmentReportOutput) SetUrl(v string) *GetAssessmentReportOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadataRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadataRequest type GetTelemetryMetadataInput struct { _ struct{} `type:"structure"` @@ -6258,7 +6258,7 @@ func (s *GetTelemetryMetadataInput) SetAssessmentRunArn(v string) *GetTelemetryM return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadataResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadataResponse type GetTelemetryMetadataOutput struct { _ struct{} `type:"structure"` @@ -6284,7 +6284,7 @@ func (s *GetTelemetryMetadataOutput) SetTelemetryMetadata(v []*TelemetryMetadata return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgentsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgentsRequest type ListAssessmentRunAgentsInput struct { _ struct{} `type:"structure"` @@ -6370,7 +6370,7 @@ func (s *ListAssessmentRunAgentsInput) SetNextToken(v string) *ListAssessmentRun return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgentsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgentsResponse type ListAssessmentRunAgentsOutput struct { _ struct{} `type:"structure"` @@ -6408,7 +6408,7 @@ func (s *ListAssessmentRunAgentsOutput) SetNextToken(v string) *ListAssessmentRu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunsRequest type ListAssessmentRunsInput struct { _ struct{} `type:"structure"` @@ -6487,7 +6487,7 @@ func (s *ListAssessmentRunsInput) SetNextToken(v string) *ListAssessmentRunsInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunsResponse type ListAssessmentRunsOutput struct { _ struct{} `type:"structure"` @@ -6526,7 +6526,7 @@ func (s *ListAssessmentRunsOutput) SetNextToken(v string) *ListAssessmentRunsOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargetsRequest type ListAssessmentTargetsInput struct { _ struct{} `type:"structure"` @@ -6595,7 +6595,7 @@ func (s *ListAssessmentTargetsInput) SetNextToken(v string) *ListAssessmentTarge return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargetsResponse type ListAssessmentTargetsOutput struct { _ struct{} `type:"structure"` @@ -6634,7 +6634,7 @@ func (s *ListAssessmentTargetsOutput) SetNextToken(v string) *ListAssessmentTarg return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplatesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplatesRequest type ListAssessmentTemplatesInput struct { _ struct{} `type:"structure"` @@ -6713,7 +6713,7 @@ func (s *ListAssessmentTemplatesInput) SetNextToken(v string) *ListAssessmentTem return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplatesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplatesResponse type ListAssessmentTemplatesOutput struct { _ struct{} `type:"structure"` @@ -6751,7 +6751,7 @@ func (s *ListAssessmentTemplatesOutput) SetNextToken(v string) *ListAssessmentTe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptionsRequest type ListEventSubscriptionsInput struct { _ struct{} `type:"structure"` @@ -6814,7 +6814,7 @@ func (s *ListEventSubscriptionsInput) SetResourceArn(v string) *ListEventSubscri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptionsResponse type ListEventSubscriptionsOutput struct { _ struct{} `type:"structure"` @@ -6852,7 +6852,7 @@ func (s *ListEventSubscriptionsOutput) SetSubscriptions(v []*Subscription) *List return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindingsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindingsRequest type ListFindingsInput struct { _ struct{} `type:"structure"` @@ -6931,7 +6931,7 @@ func (s *ListFindingsInput) SetNextToken(v string) *ListFindingsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindingsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindingsResponse type ListFindingsOutput struct { _ struct{} `type:"structure"` @@ -6969,7 +6969,7 @@ func (s *ListFindingsOutput) SetNextToken(v string) *ListFindingsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackagesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackagesRequest type ListRulesPackagesInput struct { _ struct{} `type:"structure"` @@ -7019,7 +7019,7 @@ func (s *ListRulesPackagesInput) SetNextToken(v string) *ListRulesPackagesInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackagesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackagesResponse type ListRulesPackagesOutput struct { _ struct{} `type:"structure"` @@ -7057,7 +7057,7 @@ func (s *ListRulesPackagesOutput) SetRulesPackageArns(v []*string) *ListRulesPac return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResourceRequest type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -7099,7 +7099,7 @@ func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResource return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResourceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResourceResponse type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -7125,7 +7125,7 @@ func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgentsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgentsRequest type PreviewAgentsInput struct { _ struct{} `type:"structure"` @@ -7192,7 +7192,7 @@ func (s *PreviewAgentsInput) SetPreviewAgentsArn(v string) *PreviewAgentsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgentsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgentsResponse type PreviewAgentsOutput struct { _ struct{} `type:"structure"` @@ -7230,7 +7230,7 @@ func (s *PreviewAgentsOutput) SetNextToken(v string) *PreviewAgentsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRoleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRoleRequest type RegisterCrossAccountAccessRoleInput struct { _ struct{} `type:"structure"` @@ -7273,7 +7273,7 @@ func (s *RegisterCrossAccountAccessRoleInput) SetRoleArn(v string) *RegisterCros return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRoleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRoleOutput type RegisterCrossAccountAccessRoleOutput struct { _ struct{} `type:"structure"` } @@ -7288,7 +7288,7 @@ func (s RegisterCrossAccountAccessRoleOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RemoveAttributesFromFindingsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RemoveAttributesFromFindingsRequest type RemoveAttributesFromFindingsInput struct { _ struct{} `type:"structure"` @@ -7344,7 +7344,7 @@ func (s *RemoveAttributesFromFindingsInput) SetFindingArns(v []*string) *RemoveA return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RemoveAttributesFromFindingsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RemoveAttributesFromFindingsResponse type RemoveAttributesFromFindingsOutput struct { _ struct{} `type:"structure"` @@ -7375,7 +7375,7 @@ func (s *RemoveAttributesFromFindingsOutput) SetFailedItems(v map[string]*Failed // set of tags that, when queried, identify the AWS resources that make up the // assessment target. This data type is used as the response element in the // DescribeResourceGroups action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ResourceGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ResourceGroup type ResourceGroup struct { _ struct{} `type:"structure"` @@ -7425,7 +7425,7 @@ func (s *ResourceGroup) SetTags(v []*ResourceGroupTag) *ResourceGroup { } // This data type is used as one of the elements of the ResourceGroup data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ResourceGroupTag +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ResourceGroupTag type ResourceGroupTag struct { _ struct{} `type:"structure"` @@ -7481,7 +7481,7 @@ func (s *ResourceGroupTag) SetValue(v string) *ResourceGroupTag { // Contains information about an Amazon Inspector rules package. This data type // is used as the response element in the DescribeRulesPackages action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RulesPackage +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RulesPackage type RulesPackage struct { _ struct{} `type:"structure"` @@ -7550,7 +7550,7 @@ func (s *RulesPackage) SetVersion(v string) *RulesPackage { } // This data type is used in the Finding data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/InspectorServiceAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/InspectorServiceAttributes type ServiceAttributes struct { _ struct{} `type:"structure"` @@ -7594,7 +7594,7 @@ func (s *ServiceAttributes) SetSchemaVersion(v int64) *ServiceAttributes { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SetTagsForResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SetTagsForResourceRequest type SetTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -7656,7 +7656,7 @@ func (s *SetTagsForResourceInput) SetTags(v []*Tag) *SetTagsForResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SetTagsForResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SetTagsForResourceOutput type SetTagsForResourceOutput struct { _ struct{} `type:"structure"` } @@ -7671,7 +7671,7 @@ func (s SetTagsForResourceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StartAssessmentRunRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StartAssessmentRunRequest type StartAssessmentRunInput struct { _ struct{} `type:"structure"` @@ -7727,7 +7727,7 @@ func (s *StartAssessmentRunInput) SetAssessmentTemplateArn(v string) *StartAsses return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StartAssessmentRunResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StartAssessmentRunResponse type StartAssessmentRunOutput struct { _ struct{} `type:"structure"` @@ -7753,7 +7753,7 @@ func (s *StartAssessmentRunOutput) SetAssessmentRunArn(v string) *StartAssessmen return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StopAssessmentRunRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StopAssessmentRunRequest type StopAssessmentRunInput struct { _ struct{} `type:"structure"` @@ -7808,7 +7808,7 @@ func (s *StopAssessmentRunInput) SetStopAction(v string) *StopAssessmentRunInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StopAssessmentRunOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StopAssessmentRunOutput type StopAssessmentRunOutput struct { _ struct{} `type:"structure"` } @@ -7823,7 +7823,7 @@ func (s StopAssessmentRunOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SubscribeToEventRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SubscribeToEventRequest type SubscribeToEventInput struct { _ struct{} `type:"structure"` @@ -7897,7 +7897,7 @@ func (s *SubscribeToEventInput) SetTopicArn(v string) *SubscribeToEventInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SubscribeToEventOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SubscribeToEventOutput type SubscribeToEventOutput struct { _ struct{} `type:"structure"` } @@ -7914,7 +7914,7 @@ func (s SubscribeToEventOutput) GoString() string { // This data type is used as a response element in the ListEventSubscriptions // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/Subscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/Subscription type Subscription struct { _ struct{} `type:"structure"` @@ -7967,7 +7967,7 @@ func (s *Subscription) SetTopicArn(v string) *Subscription { // A key and value pair. This data type is used as a request parameter in the // SetTagsForResource action and a response element in the ListTagsForResource // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/Tag type Tag struct { _ struct{} `type:"structure"` @@ -8024,7 +8024,7 @@ func (s *Tag) SetValue(v string) *Tag { // The metadata about the Amazon Inspector application data metrics collected // by the agent. This data type is used as the response element in the GetTelemetryMetadata // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/TelemetryMetadata +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/TelemetryMetadata type TelemetryMetadata struct { _ struct{} `type:"structure"` @@ -8071,7 +8071,7 @@ func (s *TelemetryMetadata) SetMessageType(v string) *TelemetryMetadata { } // This data type is used in the AssessmentRunFilter data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/TimestampRange +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/TimestampRange type TimestampRange struct { _ struct{} `type:"structure"` @@ -8104,7 +8104,7 @@ func (s *TimestampRange) SetEndDate(v time.Time) *TimestampRange { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsubscribeFromEventRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsubscribeFromEventRequest type UnsubscribeFromEventInput struct { _ struct{} `type:"structure"` @@ -8178,7 +8178,7 @@ func (s *UnsubscribeFromEventInput) SetTopicArn(v string) *UnsubscribeFromEventI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsubscribeFromEventOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsubscribeFromEventOutput type UnsubscribeFromEventOutput struct { _ struct{} `type:"structure"` } @@ -8193,7 +8193,7 @@ func (s UnsubscribeFromEventOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UpdateAssessmentTargetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UpdateAssessmentTargetRequest type UpdateAssessmentTargetInput struct { _ struct{} `type:"structure"` @@ -8270,7 +8270,7 @@ func (s *UpdateAssessmentTargetInput) SetResourceGroupArn(v string) *UpdateAsses return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UpdateAssessmentTargetOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UpdateAssessmentTargetOutput type UpdateAssessmentTargetOutput struct { _ struct{} `type:"structure"` } diff --git a/vendor/github.com/aws/aws-sdk-go/service/iot/api.go b/vendor/github.com/aws/aws-sdk-go/service/iot/api.go index f0bf1b5b30b..5de6fe0405d 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/iot/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/iot/api.go @@ -114,264 +114,244 @@ func (c *IoT) AcceptCertificateTransferWithContext(ctx aws.Context, input *Accep return out, req.Send() } -const opAttachPrincipalPolicy = "AttachPrincipalPolicy" +const opAddThingToThingGroup = "AddThingToThingGroup" -// AttachPrincipalPolicyRequest generates a "aws/request.Request" representing the -// client's request for the AttachPrincipalPolicy operation. The "output" return +// AddThingToThingGroupRequest generates a "aws/request.Request" representing the +// client's request for the AddThingToThingGroup operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See AttachPrincipalPolicy for more information on using the AttachPrincipalPolicy +// See AddThingToThingGroup for more information on using the AddThingToThingGroup // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the AttachPrincipalPolicyRequest method. -// req, resp := client.AttachPrincipalPolicyRequest(params) +// // Example sending a request using the AddThingToThingGroupRequest method. +// req, resp := client.AddThingToThingGroupRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) AttachPrincipalPolicyRequest(input *AttachPrincipalPolicyInput) (req *request.Request, output *AttachPrincipalPolicyOutput) { +func (c *IoT) AddThingToThingGroupRequest(input *AddThingToThingGroupInput) (req *request.Request, output *AddThingToThingGroupOutput) { op := &request.Operation{ - Name: opAttachPrincipalPolicy, + Name: opAddThingToThingGroup, HTTPMethod: "PUT", - HTTPPath: "/principal-policies/{policyName}", + HTTPPath: "/thing-groups/addThingToThingGroup", } if input == nil { - input = &AttachPrincipalPolicyInput{} + input = &AddThingToThingGroupInput{} } - output = &AttachPrincipalPolicyOutput{} + output = &AddThingToThingGroupOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// AttachPrincipalPolicy API operation for AWS IoT. +// AddThingToThingGroup API operation for AWS IoT. // -// Attaches the specified policy to the specified principal (certificate or -// other credential). +// Adds a thing to a thing group. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation AttachPrincipalPolicy for usage and error information. +// API operation AddThingToThingGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. -// -// * ErrCodeServiceUnavailableException "ServiceUnavailableException" -// The service is temporarily unavailable. -// // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -// * ErrCodeLimitExceededException "LimitExceededException" -// The number of attached entities exceeds the limit. +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. // -func (c *IoT) AttachPrincipalPolicy(input *AttachPrincipalPolicyInput) (*AttachPrincipalPolicyOutput, error) { - req, out := c.AttachPrincipalPolicyRequest(input) +func (c *IoT) AddThingToThingGroup(input *AddThingToThingGroupInput) (*AddThingToThingGroupOutput, error) { + req, out := c.AddThingToThingGroupRequest(input) return out, req.Send() } -// AttachPrincipalPolicyWithContext is the same as AttachPrincipalPolicy with the addition of +// AddThingToThingGroupWithContext is the same as AddThingToThingGroup with the addition of // the ability to pass a context and additional request options. // -// See AttachPrincipalPolicy for details on how to use this API operation. +// See AddThingToThingGroup for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) AttachPrincipalPolicyWithContext(ctx aws.Context, input *AttachPrincipalPolicyInput, opts ...request.Option) (*AttachPrincipalPolicyOutput, error) { - req, out := c.AttachPrincipalPolicyRequest(input) +func (c *IoT) AddThingToThingGroupWithContext(ctx aws.Context, input *AddThingToThingGroupInput, opts ...request.Option) (*AddThingToThingGroupOutput, error) { + req, out := c.AddThingToThingGroupRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opAttachThingPrincipal = "AttachThingPrincipal" +const opAssociateTargetsWithJob = "AssociateTargetsWithJob" -// AttachThingPrincipalRequest generates a "aws/request.Request" representing the -// client's request for the AttachThingPrincipal operation. The "output" return +// AssociateTargetsWithJobRequest generates a "aws/request.Request" representing the +// client's request for the AssociateTargetsWithJob operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See AttachThingPrincipal for more information on using the AttachThingPrincipal +// See AssociateTargetsWithJob for more information on using the AssociateTargetsWithJob // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the AttachThingPrincipalRequest method. -// req, resp := client.AttachThingPrincipalRequest(params) +// // Example sending a request using the AssociateTargetsWithJobRequest method. +// req, resp := client.AssociateTargetsWithJobRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) AttachThingPrincipalRequest(input *AttachThingPrincipalInput) (req *request.Request, output *AttachThingPrincipalOutput) { +func (c *IoT) AssociateTargetsWithJobRequest(input *AssociateTargetsWithJobInput) (req *request.Request, output *AssociateTargetsWithJobOutput) { op := &request.Operation{ - Name: opAttachThingPrincipal, - HTTPMethod: "PUT", - HTTPPath: "/things/{thingName}/principals", + Name: opAssociateTargetsWithJob, + HTTPMethod: "POST", + HTTPPath: "/jobs/{jobId}/targets", } if input == nil { - input = &AttachThingPrincipalInput{} + input = &AssociateTargetsWithJobInput{} } - output = &AttachThingPrincipalOutput{} + output = &AssociateTargetsWithJobOutput{} req = c.newRequest(op, input, output) return } -// AttachThingPrincipal API operation for AWS IoT. +// AssociateTargetsWithJob API operation for AWS IoT. // -// Attaches the specified principal to the specified thing. +// Associates a group with a continuous job. The following criteria must be +// met: +// +// * The job must have been created with the targetSelection field set to +// "CONTINUOUS". +// +// * The job status must currently be "IN_PROGRESS". +// +// * The total number of targets associated with a job must not exceed 100. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation AttachThingPrincipal for usage and error information. +// API operation AssociateTargetsWithJob for usage and error information. // // Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource does not exist. // -// * ErrCodeInvalidRequestException "InvalidRequestException" -// The request is not valid. +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of attached entities exceeds the limit. // // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. -// // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service is temporarily unavailable. // -// * ErrCodeInternalFailureException "InternalFailureException" -// An unexpected error has occurred. -// -func (c *IoT) AttachThingPrincipal(input *AttachThingPrincipalInput) (*AttachThingPrincipalOutput, error) { - req, out := c.AttachThingPrincipalRequest(input) +func (c *IoT) AssociateTargetsWithJob(input *AssociateTargetsWithJobInput) (*AssociateTargetsWithJobOutput, error) { + req, out := c.AssociateTargetsWithJobRequest(input) return out, req.Send() } -// AttachThingPrincipalWithContext is the same as AttachThingPrincipal with the addition of +// AssociateTargetsWithJobWithContext is the same as AssociateTargetsWithJob with the addition of // the ability to pass a context and additional request options. // -// See AttachThingPrincipal for details on how to use this API operation. +// See AssociateTargetsWithJob for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) AttachThingPrincipalWithContext(ctx aws.Context, input *AttachThingPrincipalInput, opts ...request.Option) (*AttachThingPrincipalOutput, error) { - req, out := c.AttachThingPrincipalRequest(input) +func (c *IoT) AssociateTargetsWithJobWithContext(ctx aws.Context, input *AssociateTargetsWithJobInput, opts ...request.Option) (*AssociateTargetsWithJobOutput, error) { + req, out := c.AssociateTargetsWithJobRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCancelCertificateTransfer = "CancelCertificateTransfer" +const opAttachPolicy = "AttachPolicy" -// CancelCertificateTransferRequest generates a "aws/request.Request" representing the -// client's request for the CancelCertificateTransfer operation. The "output" return +// AttachPolicyRequest generates a "aws/request.Request" representing the +// client's request for the AttachPolicy operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CancelCertificateTransfer for more information on using the CancelCertificateTransfer +// See AttachPolicy for more information on using the AttachPolicy // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CancelCertificateTransferRequest method. -// req, resp := client.CancelCertificateTransferRequest(params) +// // Example sending a request using the AttachPolicyRequest method. +// req, resp := client.AttachPolicyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) CancelCertificateTransferRequest(input *CancelCertificateTransferInput) (req *request.Request, output *CancelCertificateTransferOutput) { +func (c *IoT) AttachPolicyRequest(input *AttachPolicyInput) (req *request.Request, output *AttachPolicyOutput) { op := &request.Operation{ - Name: opCancelCertificateTransfer, - HTTPMethod: "PATCH", - HTTPPath: "/cancel-certificate-transfer/{certificateId}", + Name: opAttachPolicy, + HTTPMethod: "PUT", + HTTPPath: "/target-policies/{policyName}", } if input == nil { - input = &CancelCertificateTransferInput{} + input = &AttachPolicyInput{} } - output = &CancelCertificateTransferOutput{} + output = &AttachPolicyOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// CancelCertificateTransfer API operation for AWS IoT. -// -// Cancels a pending transfer for the specified certificate. -// -// Note Only the transfer source account can use this operation to cancel a -// transfer. (Transfer destinations can use RejectCertificateTransfer instead.) -// After transfer, AWS IoT returns the certificate to the source account in -// the INACTIVE state. After the destination account has accepted the transfer, -// the transfer cannot be cancelled. +// AttachPolicy API operation for AWS IoT. // -// After a certificate transfer is cancelled, the status of the certificate -// changes from PENDING_TRANSFER to INACTIVE. +// Attaches a policy to the specified target. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation CancelCertificateTransfer for usage and error information. +// API operation AttachPolicy for usage and error information. // // Returned Error Codes: // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource does not exist. // -// * ErrCodeTransferAlreadyCompletedException "TransferAlreadyCompletedException" -// You can't revert the certificate transfer because the transfer is already -// complete. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // @@ -387,120 +367,93 @@ func (c *IoT) CancelCertificateTransferRequest(input *CancelCertificateTransferI // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) CancelCertificateTransfer(input *CancelCertificateTransferInput) (*CancelCertificateTransferOutput, error) { - req, out := c.CancelCertificateTransferRequest(input) +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of attached entities exceeds the limit. +// +func (c *IoT) AttachPolicy(input *AttachPolicyInput) (*AttachPolicyOutput, error) { + req, out := c.AttachPolicyRequest(input) return out, req.Send() } -// CancelCertificateTransferWithContext is the same as CancelCertificateTransfer with the addition of +// AttachPolicyWithContext is the same as AttachPolicy with the addition of // the ability to pass a context and additional request options. // -// See CancelCertificateTransfer for details on how to use this API operation. +// See AttachPolicy for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) CancelCertificateTransferWithContext(ctx aws.Context, input *CancelCertificateTransferInput, opts ...request.Option) (*CancelCertificateTransferOutput, error) { - req, out := c.CancelCertificateTransferRequest(input) +func (c *IoT) AttachPolicyWithContext(ctx aws.Context, input *AttachPolicyInput, opts ...request.Option) (*AttachPolicyOutput, error) { + req, out := c.AttachPolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCreateCertificateFromCsr = "CreateCertificateFromCsr" +const opAttachPrincipalPolicy = "AttachPrincipalPolicy" -// CreateCertificateFromCsrRequest generates a "aws/request.Request" representing the -// client's request for the CreateCertificateFromCsr operation. The "output" return +// AttachPrincipalPolicyRequest generates a "aws/request.Request" representing the +// client's request for the AttachPrincipalPolicy operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CreateCertificateFromCsr for more information on using the CreateCertificateFromCsr +// See AttachPrincipalPolicy for more information on using the AttachPrincipalPolicy // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CreateCertificateFromCsrRequest method. -// req, resp := client.CreateCertificateFromCsrRequest(params) +// // Example sending a request using the AttachPrincipalPolicyRequest method. +// req, resp := client.AttachPrincipalPolicyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) CreateCertificateFromCsrRequest(input *CreateCertificateFromCsrInput) (req *request.Request, output *CreateCertificateFromCsrOutput) { +func (c *IoT) AttachPrincipalPolicyRequest(input *AttachPrincipalPolicyInput) (req *request.Request, output *AttachPrincipalPolicyOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, AttachPrincipalPolicy, has been deprecated") + } op := &request.Operation{ - Name: opCreateCertificateFromCsr, - HTTPMethod: "POST", - HTTPPath: "/certificates", + Name: opAttachPrincipalPolicy, + HTTPMethod: "PUT", + HTTPPath: "/principal-policies/{policyName}", } if input == nil { - input = &CreateCertificateFromCsrInput{} + input = &AttachPrincipalPolicyInput{} } - output = &CreateCertificateFromCsrOutput{} + output = &AttachPrincipalPolicyOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// CreateCertificateFromCsr API operation for AWS IoT. -// -// Creates an X.509 certificate using the specified certificate signing request. -// -// Note: The CSR must include a public key that is either an RSA key with a -// length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 -// curves. -// -// Note: Reusing the same certificate signing request (CSR) results in a distinct -// certificate. -// -// You can create multiple certificates in a batch by creating a directory, -// copying multiple .csr files into that directory, and then specifying that -// directory on the command line. The following commands show how to create -// a batch of certificates given a batch of CSRs. -// -// Assuming a set of CSRs are located inside of the directory my-csr-directory: -// -// On Linux and OS X, the command is: -// -// $ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr -// --certificate-signing-request file://my-csr-directory/{} -// -// This command lists all of the CSRs in my-csr-directory and pipes each CSR -// file name to the aws iot create-certificate-from-csr AWS CLI command to create -// a certificate for the corresponding CSR. -// -// The aws iot create-certificate-from-csr part of the command can also be run -// in parallel to speed up the certificate creation process: -// -// $ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr -// --certificate-signing-request file://my-csr-directory/{} -// -// On Windows PowerShell, the command to create certificates for all CSRs in -// my-csr-directory is: -// -// > ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request -// file://my-csr-directory/$_} +// AttachPrincipalPolicy API operation for AWS IoT. // -// On a Windows command prompt, the command to create certificates for all CSRs -// in my-csr-directory is: +// Attaches the specified policy to the specified principal (certificate or +// other credential). // -// > forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr -// --certificate-signing-request file://@path" +// Note: This API is deprecated. Please use AttachPolicy instead. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation CreateCertificateFromCsr for usage and error information. +// API operation AttachPrincipalPolicy for usage and error information. // // Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // @@ -516,83 +469,85 @@ func (c *IoT) CreateCertificateFromCsrRequest(input *CreateCertificateFromCsrInp // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) CreateCertificateFromCsr(input *CreateCertificateFromCsrInput) (*CreateCertificateFromCsrOutput, error) { - req, out := c.CreateCertificateFromCsrRequest(input) +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of attached entities exceeds the limit. +// +func (c *IoT) AttachPrincipalPolicy(input *AttachPrincipalPolicyInput) (*AttachPrincipalPolicyOutput, error) { + req, out := c.AttachPrincipalPolicyRequest(input) return out, req.Send() } -// CreateCertificateFromCsrWithContext is the same as CreateCertificateFromCsr with the addition of +// AttachPrincipalPolicyWithContext is the same as AttachPrincipalPolicy with the addition of // the ability to pass a context and additional request options. // -// See CreateCertificateFromCsr for details on how to use this API operation. +// See AttachPrincipalPolicy for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) CreateCertificateFromCsrWithContext(ctx aws.Context, input *CreateCertificateFromCsrInput, opts ...request.Option) (*CreateCertificateFromCsrOutput, error) { - req, out := c.CreateCertificateFromCsrRequest(input) +func (c *IoT) AttachPrincipalPolicyWithContext(ctx aws.Context, input *AttachPrincipalPolicyInput, opts ...request.Option) (*AttachPrincipalPolicyOutput, error) { + req, out := c.AttachPrincipalPolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCreateKeysAndCertificate = "CreateKeysAndCertificate" +const opAttachThingPrincipal = "AttachThingPrincipal" -// CreateKeysAndCertificateRequest generates a "aws/request.Request" representing the -// client's request for the CreateKeysAndCertificate operation. The "output" return +// AttachThingPrincipalRequest generates a "aws/request.Request" representing the +// client's request for the AttachThingPrincipal operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CreateKeysAndCertificate for more information on using the CreateKeysAndCertificate +// See AttachThingPrincipal for more information on using the AttachThingPrincipal // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CreateKeysAndCertificateRequest method. -// req, resp := client.CreateKeysAndCertificateRequest(params) +// // Example sending a request using the AttachThingPrincipalRequest method. +// req, resp := client.AttachThingPrincipalRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) CreateKeysAndCertificateRequest(input *CreateKeysAndCertificateInput) (req *request.Request, output *CreateKeysAndCertificateOutput) { +func (c *IoT) AttachThingPrincipalRequest(input *AttachThingPrincipalInput) (req *request.Request, output *AttachThingPrincipalOutput) { op := &request.Operation{ - Name: opCreateKeysAndCertificate, - HTTPMethod: "POST", - HTTPPath: "/keys-and-certificate", + Name: opAttachThingPrincipal, + HTTPMethod: "PUT", + HTTPPath: "/things/{thingName}/principals", } if input == nil { - input = &CreateKeysAndCertificateInput{} + input = &AttachThingPrincipalInput{} } - output = &CreateKeysAndCertificateOutput{} + output = &AttachThingPrincipalOutput{} req = c.newRequest(op, input, output) return } -// CreateKeysAndCertificate API operation for AWS IoT. -// -// Creates a 2048-bit RSA key pair and issues an X.509 certificate using the -// issued public key. +// AttachThingPrincipal API operation for AWS IoT. // -// Note This is the only time AWS IoT issues the private key for this certificate, -// so it is important to keep it in a secure location. +// Attaches the specified principal to the specified thing. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation CreateKeysAndCertificate for usage and error information. +// API operation AttachThingPrincipal for usage and error information. // // Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // @@ -608,88 +563,96 @@ func (c *IoT) CreateKeysAndCertificateRequest(input *CreateKeysAndCertificateInp // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) CreateKeysAndCertificate(input *CreateKeysAndCertificateInput) (*CreateKeysAndCertificateOutput, error) { - req, out := c.CreateKeysAndCertificateRequest(input) +func (c *IoT) AttachThingPrincipal(input *AttachThingPrincipalInput) (*AttachThingPrincipalOutput, error) { + req, out := c.AttachThingPrincipalRequest(input) return out, req.Send() } -// CreateKeysAndCertificateWithContext is the same as CreateKeysAndCertificate with the addition of +// AttachThingPrincipalWithContext is the same as AttachThingPrincipal with the addition of // the ability to pass a context and additional request options. // -// See CreateKeysAndCertificate for details on how to use this API operation. +// See AttachThingPrincipal for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) CreateKeysAndCertificateWithContext(ctx aws.Context, input *CreateKeysAndCertificateInput, opts ...request.Option) (*CreateKeysAndCertificateOutput, error) { - req, out := c.CreateKeysAndCertificateRequest(input) +func (c *IoT) AttachThingPrincipalWithContext(ctx aws.Context, input *AttachThingPrincipalInput, opts ...request.Option) (*AttachThingPrincipalOutput, error) { + req, out := c.AttachThingPrincipalRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCreatePolicy = "CreatePolicy" +const opCancelCertificateTransfer = "CancelCertificateTransfer" -// CreatePolicyRequest generates a "aws/request.Request" representing the -// client's request for the CreatePolicy operation. The "output" return +// CancelCertificateTransferRequest generates a "aws/request.Request" representing the +// client's request for the CancelCertificateTransfer operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CreatePolicy for more information on using the CreatePolicy +// See CancelCertificateTransfer for more information on using the CancelCertificateTransfer // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CreatePolicyRequest method. -// req, resp := client.CreatePolicyRequest(params) +// // Example sending a request using the CancelCertificateTransferRequest method. +// req, resp := client.CancelCertificateTransferRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) CreatePolicyRequest(input *CreatePolicyInput) (req *request.Request, output *CreatePolicyOutput) { +func (c *IoT) CancelCertificateTransferRequest(input *CancelCertificateTransferInput) (req *request.Request, output *CancelCertificateTransferOutput) { op := &request.Operation{ - Name: opCreatePolicy, - HTTPMethod: "POST", - HTTPPath: "/policies/{policyName}", + Name: opCancelCertificateTransfer, + HTTPMethod: "PATCH", + HTTPPath: "/cancel-certificate-transfer/{certificateId}", } if input == nil { - input = &CreatePolicyInput{} + input = &CancelCertificateTransferInput{} } - output = &CreatePolicyOutput{} + output = &CancelCertificateTransferOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// CreatePolicy API operation for AWS IoT. +// CancelCertificateTransfer API operation for AWS IoT. // -// Creates an AWS IoT policy. +// Cancels a pending transfer for the specified certificate. // -// The created policy is the default version for the policy. This operation -// creates a policy version with a version identifier of 1 and sets 1 as the -// policy's default version. +// Note Only the transfer source account can use this operation to cancel a +// transfer. (Transfer destinations can use RejectCertificateTransfer instead.) +// After transfer, AWS IoT returns the certificate to the source account in +// the INACTIVE state. After the destination account has accepted the transfer, +// the transfer cannot be cancelled. +// +// After a certificate transfer is cancelled, the status of the certificate +// changes from PENDING_TRANSFER to INACTIVE. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation CreatePolicy for usage and error information. +// API operation CancelCertificateTransfer for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" -// The resource already exists. +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. // -// * ErrCodeMalformedPolicyException "MalformedPolicyException" -// The policy documentation is not valid. +// * ErrCodeTransferAlreadyCompletedException "TransferAlreadyCompletedException" +// You can't revert the certificate transfer because the transfer is already +// complete. // // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. @@ -706,183 +669,167 @@ func (c *IoT) CreatePolicyRequest(input *CreatePolicyInput) (req *request.Reques // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) CreatePolicy(input *CreatePolicyInput) (*CreatePolicyOutput, error) { - req, out := c.CreatePolicyRequest(input) +func (c *IoT) CancelCertificateTransfer(input *CancelCertificateTransferInput) (*CancelCertificateTransferOutput, error) { + req, out := c.CancelCertificateTransferRequest(input) return out, req.Send() } -// CreatePolicyWithContext is the same as CreatePolicy with the addition of +// CancelCertificateTransferWithContext is the same as CancelCertificateTransfer with the addition of // the ability to pass a context and additional request options. // -// See CreatePolicy for details on how to use this API operation. +// See CancelCertificateTransfer for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) CreatePolicyWithContext(ctx aws.Context, input *CreatePolicyInput, opts ...request.Option) (*CreatePolicyOutput, error) { - req, out := c.CreatePolicyRequest(input) +func (c *IoT) CancelCertificateTransferWithContext(ctx aws.Context, input *CancelCertificateTransferInput, opts ...request.Option) (*CancelCertificateTransferOutput, error) { + req, out := c.CancelCertificateTransferRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCreatePolicyVersion = "CreatePolicyVersion" +const opCancelJob = "CancelJob" -// CreatePolicyVersionRequest generates a "aws/request.Request" representing the -// client's request for the CreatePolicyVersion operation. The "output" return +// CancelJobRequest generates a "aws/request.Request" representing the +// client's request for the CancelJob operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CreatePolicyVersion for more information on using the CreatePolicyVersion +// See CancelJob for more information on using the CancelJob // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CreatePolicyVersionRequest method. -// req, resp := client.CreatePolicyVersionRequest(params) +// // Example sending a request using the CancelJobRequest method. +// req, resp := client.CancelJobRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) CreatePolicyVersionRequest(input *CreatePolicyVersionInput) (req *request.Request, output *CreatePolicyVersionOutput) { +func (c *IoT) CancelJobRequest(input *CancelJobInput) (req *request.Request, output *CancelJobOutput) { op := &request.Operation{ - Name: opCreatePolicyVersion, - HTTPMethod: "POST", - HTTPPath: "/policies/{policyName}/version", + Name: opCancelJob, + HTTPMethod: "PUT", + HTTPPath: "/jobs/{jobId}/cancel", } if input == nil { - input = &CreatePolicyVersionInput{} + input = &CancelJobInput{} } - output = &CreatePolicyVersionOutput{} + output = &CancelJobOutput{} req = c.newRequest(op, input, output) return } -// CreatePolicyVersion API operation for AWS IoT. -// -// Creates a new version of the specified AWS IoT policy. To update a policy, -// create a new policy version. A managed policy can have up to five versions. -// If the policy has five versions, you must use DeletePolicyVersion to delete -// an existing version before you create a new one. +// CancelJob API operation for AWS IoT. // -// Optionally, you can set the new version as the policy's default version. -// The default version is the operative version (that is, the version that is -// in effect for the certificates to which the policy is attached). +// Cancels a job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation CreatePolicyVersion for usage and error information. +// API operation CancelJob for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// -// * ErrCodeMalformedPolicyException "MalformedPolicyException" -// The policy documentation is not valid. -// -// * ErrCodeVersionsLimitExceededException "VersionsLimitExceededException" -// The number of policy versions exceeds the limit. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. -// // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service is temporarily unavailable. // -// * ErrCodeInternalFailureException "InternalFailureException" -// An unexpected error has occurred. -// -func (c *IoT) CreatePolicyVersion(input *CreatePolicyVersionInput) (*CreatePolicyVersionOutput, error) { - req, out := c.CreatePolicyVersionRequest(input) +func (c *IoT) CancelJob(input *CancelJobInput) (*CancelJobOutput, error) { + req, out := c.CancelJobRequest(input) return out, req.Send() } -// CreatePolicyVersionWithContext is the same as CreatePolicyVersion with the addition of +// CancelJobWithContext is the same as CancelJob with the addition of // the ability to pass a context and additional request options. // -// See CreatePolicyVersion for details on how to use this API operation. +// See CancelJob for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) CreatePolicyVersionWithContext(ctx aws.Context, input *CreatePolicyVersionInput, opts ...request.Option) (*CreatePolicyVersionOutput, error) { - req, out := c.CreatePolicyVersionRequest(input) +func (c *IoT) CancelJobWithContext(ctx aws.Context, input *CancelJobInput, opts ...request.Option) (*CancelJobOutput, error) { + req, out := c.CancelJobRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCreateThing = "CreateThing" +const opClearDefaultAuthorizer = "ClearDefaultAuthorizer" -// CreateThingRequest generates a "aws/request.Request" representing the -// client's request for the CreateThing operation. The "output" return +// ClearDefaultAuthorizerRequest generates a "aws/request.Request" representing the +// client's request for the ClearDefaultAuthorizer operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CreateThing for more information on using the CreateThing +// See ClearDefaultAuthorizer for more information on using the ClearDefaultAuthorizer // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CreateThingRequest method. -// req, resp := client.CreateThingRequest(params) +// // Example sending a request using the ClearDefaultAuthorizerRequest method. +// req, resp := client.ClearDefaultAuthorizerRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) CreateThingRequest(input *CreateThingInput) (req *request.Request, output *CreateThingOutput) { +func (c *IoT) ClearDefaultAuthorizerRequest(input *ClearDefaultAuthorizerInput) (req *request.Request, output *ClearDefaultAuthorizerOutput) { op := &request.Operation{ - Name: opCreateThing, - HTTPMethod: "POST", - HTTPPath: "/things/{thingName}", + Name: opClearDefaultAuthorizer, + HTTPMethod: "DELETE", + HTTPPath: "/default-authorizer", } if input == nil { - input = &CreateThingInput{} + input = &ClearDefaultAuthorizerInput{} } - output = &CreateThingOutput{} + output = &ClearDefaultAuthorizerOutput{} req = c.newRequest(op, input, output) return } -// CreateThing API operation for AWS IoT. +// ClearDefaultAuthorizer API operation for AWS IoT. // -// Creates a thing record in the thing registry. +// Clears the default authorizer. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation CreateThing for usage and error information. +// API operation ClearDefaultAuthorizer for usage and error information. // // Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // @@ -898,88 +845,88 @@ func (c *IoT) CreateThingRequest(input *CreateThingInput) (req *request.Request, // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" -// The resource already exists. -// -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// -func (c *IoT) CreateThing(input *CreateThingInput) (*CreateThingOutput, error) { - req, out := c.CreateThingRequest(input) +func (c *IoT) ClearDefaultAuthorizer(input *ClearDefaultAuthorizerInput) (*ClearDefaultAuthorizerOutput, error) { + req, out := c.ClearDefaultAuthorizerRequest(input) return out, req.Send() } -// CreateThingWithContext is the same as CreateThing with the addition of +// ClearDefaultAuthorizerWithContext is the same as ClearDefaultAuthorizer with the addition of // the ability to pass a context and additional request options. // -// See CreateThing for details on how to use this API operation. +// See ClearDefaultAuthorizer for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) CreateThingWithContext(ctx aws.Context, input *CreateThingInput, opts ...request.Option) (*CreateThingOutput, error) { - req, out := c.CreateThingRequest(input) +func (c *IoT) ClearDefaultAuthorizerWithContext(ctx aws.Context, input *ClearDefaultAuthorizerInput, opts ...request.Option) (*ClearDefaultAuthorizerOutput, error) { + req, out := c.ClearDefaultAuthorizerRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCreateThingType = "CreateThingType" +const opCreateAuthorizer = "CreateAuthorizer" -// CreateThingTypeRequest generates a "aws/request.Request" representing the -// client's request for the CreateThingType operation. The "output" return +// CreateAuthorizerRequest generates a "aws/request.Request" representing the +// client's request for the CreateAuthorizer operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CreateThingType for more information on using the CreateThingType +// See CreateAuthorizer for more information on using the CreateAuthorizer // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CreateThingTypeRequest method. -// req, resp := client.CreateThingTypeRequest(params) +// // Example sending a request using the CreateAuthorizerRequest method. +// req, resp := client.CreateAuthorizerRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) CreateThingTypeRequest(input *CreateThingTypeInput) (req *request.Request, output *CreateThingTypeOutput) { +func (c *IoT) CreateAuthorizerRequest(input *CreateAuthorizerInput) (req *request.Request, output *CreateAuthorizerOutput) { op := &request.Operation{ - Name: opCreateThingType, + Name: opCreateAuthorizer, HTTPMethod: "POST", - HTTPPath: "/thing-types/{thingTypeName}", + HTTPPath: "/authorizer/{authorizerName}", } if input == nil { - input = &CreateThingTypeInput{} + input = &CreateAuthorizerInput{} } - output = &CreateThingTypeOutput{} + output = &CreateAuthorizerOutput{} req = c.newRequest(op, input, output) return } -// CreateThingType API operation for AWS IoT. +// CreateAuthorizer API operation for AWS IoT. // -// Creates a new thing type. +// Creates an authorizer. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation CreateThingType for usage and error information. +// API operation CreateAuthorizer for usage and error information. // // Returned Error Codes: +// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" +// The resource already exists. +// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of attached entities exceeds the limit. +// // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // @@ -992,281 +939,303 @@ func (c *IoT) CreateThingTypeRequest(input *CreateThingTypeInput) (req *request. // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" -// The resource already exists. -// -func (c *IoT) CreateThingType(input *CreateThingTypeInput) (*CreateThingTypeOutput, error) { - req, out := c.CreateThingTypeRequest(input) +func (c *IoT) CreateAuthorizer(input *CreateAuthorizerInput) (*CreateAuthorizerOutput, error) { + req, out := c.CreateAuthorizerRequest(input) return out, req.Send() } -// CreateThingTypeWithContext is the same as CreateThingType with the addition of +// CreateAuthorizerWithContext is the same as CreateAuthorizer with the addition of // the ability to pass a context and additional request options. // -// See CreateThingType for details on how to use this API operation. +// See CreateAuthorizer for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) CreateThingTypeWithContext(ctx aws.Context, input *CreateThingTypeInput, opts ...request.Option) (*CreateThingTypeOutput, error) { - req, out := c.CreateThingTypeRequest(input) +func (c *IoT) CreateAuthorizerWithContext(ctx aws.Context, input *CreateAuthorizerInput, opts ...request.Option) (*CreateAuthorizerOutput, error) { + req, out := c.CreateAuthorizerRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCreateTopicRule = "CreateTopicRule" +const opCreateCertificateFromCsr = "CreateCertificateFromCsr" -// CreateTopicRuleRequest generates a "aws/request.Request" representing the -// client's request for the CreateTopicRule operation. The "output" return +// CreateCertificateFromCsrRequest generates a "aws/request.Request" representing the +// client's request for the CreateCertificateFromCsr operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CreateTopicRule for more information on using the CreateTopicRule +// See CreateCertificateFromCsr for more information on using the CreateCertificateFromCsr // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CreateTopicRuleRequest method. -// req, resp := client.CreateTopicRuleRequest(params) +// // Example sending a request using the CreateCertificateFromCsrRequest method. +// req, resp := client.CreateCertificateFromCsrRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) CreateTopicRuleRequest(input *CreateTopicRuleInput) (req *request.Request, output *CreateTopicRuleOutput) { +func (c *IoT) CreateCertificateFromCsrRequest(input *CreateCertificateFromCsrInput) (req *request.Request, output *CreateCertificateFromCsrOutput) { op := &request.Operation{ - Name: opCreateTopicRule, + Name: opCreateCertificateFromCsr, HTTPMethod: "POST", - HTTPPath: "/rules/{ruleName}", + HTTPPath: "/certificates", } if input == nil { - input = &CreateTopicRuleInput{} + input = &CreateCertificateFromCsrInput{} } - output = &CreateTopicRuleOutput{} + output = &CreateCertificateFromCsrOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// CreateTopicRule API operation for AWS IoT. +// CreateCertificateFromCsr API operation for AWS IoT. // -// Creates a rule. Creating rules is an administrator-level action. Any user -// who has permission to create rules will be able to access data processed -// by the rule. +// Creates an X.509 certificate using the specified certificate signing request. +// +// Note: The CSR must include a public key that is either an RSA key with a +// length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 +// curves. +// +// Note: Reusing the same certificate signing request (CSR) results in a distinct +// certificate. +// +// You can create multiple certificates in a batch by creating a directory, +// copying multiple .csr files into that directory, and then specifying that +// directory on the command line. The following commands show how to create +// a batch of certificates given a batch of CSRs. +// +// Assuming a set of CSRs are located inside of the directory my-csr-directory: +// +// On Linux and OS X, the command is: +// +// $ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr +// --certificate-signing-request file://my-csr-directory/{} +// +// This command lists all of the CSRs in my-csr-directory and pipes each CSR +// file name to the aws iot create-certificate-from-csr AWS CLI command to create +// a certificate for the corresponding CSR. +// +// The aws iot create-certificate-from-csr part of the command can also be run +// in parallel to speed up the certificate creation process: +// +// $ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr +// --certificate-signing-request file://my-csr-directory/{} +// +// On Windows PowerShell, the command to create certificates for all CSRs in +// my-csr-directory is: +// +// > ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request +// file://my-csr-directory/$_} +// +// On a Windows command prompt, the command to create certificates for all CSRs +// in my-csr-directory is: +// +// > forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr +// --certificate-signing-request file://@path" // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation CreateTopicRule for usage and error information. +// API operation CreateCertificateFromCsr for usage and error information. // // Returned Error Codes: -// * ErrCodeSqlParseException "SqlParseException" -// The Rule-SQL expression can't be parsed correctly. -// -// * ErrCodeInternalException "InternalException" -// An unexpected error has occurred. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" -// The resource already exists. +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. // // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service is temporarily unavailable. // -func (c *IoT) CreateTopicRule(input *CreateTopicRuleInput) (*CreateTopicRuleOutput, error) { - req, out := c.CreateTopicRuleRequest(input) +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) CreateCertificateFromCsr(input *CreateCertificateFromCsrInput) (*CreateCertificateFromCsrOutput, error) { + req, out := c.CreateCertificateFromCsrRequest(input) return out, req.Send() } -// CreateTopicRuleWithContext is the same as CreateTopicRule with the addition of +// CreateCertificateFromCsrWithContext is the same as CreateCertificateFromCsr with the addition of // the ability to pass a context and additional request options. // -// See CreateTopicRule for details on how to use this API operation. +// See CreateCertificateFromCsr for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) CreateTopicRuleWithContext(ctx aws.Context, input *CreateTopicRuleInput, opts ...request.Option) (*CreateTopicRuleOutput, error) { - req, out := c.CreateTopicRuleRequest(input) +func (c *IoT) CreateCertificateFromCsrWithContext(ctx aws.Context, input *CreateCertificateFromCsrInput, opts ...request.Option) (*CreateCertificateFromCsrOutput, error) { + req, out := c.CreateCertificateFromCsrRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteCACertificate = "DeleteCACertificate" +const opCreateJob = "CreateJob" -// DeleteCACertificateRequest generates a "aws/request.Request" representing the -// client's request for the DeleteCACertificate operation. The "output" return +// CreateJobRequest generates a "aws/request.Request" representing the +// client's request for the CreateJob operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteCACertificate for more information on using the DeleteCACertificate +// See CreateJob for more information on using the CreateJob // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeleteCACertificateRequest method. -// req, resp := client.DeleteCACertificateRequest(params) +// // Example sending a request using the CreateJobRequest method. +// req, resp := client.CreateJobRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DeleteCACertificateRequest(input *DeleteCACertificateInput) (req *request.Request, output *DeleteCACertificateOutput) { +func (c *IoT) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput) { op := &request.Operation{ - Name: opDeleteCACertificate, - HTTPMethod: "DELETE", - HTTPPath: "/cacertificate/{caCertificateId}", + Name: opCreateJob, + HTTPMethod: "PUT", + HTTPPath: "/jobs/{jobId}", } if input == nil { - input = &DeleteCACertificateInput{} + input = &CreateJobInput{} } - output = &DeleteCACertificateOutput{} + output = &CreateJobOutput{} req = c.newRequest(op, input, output) return } -// DeleteCACertificate API operation for AWS IoT. +// CreateJob API operation for AWS IoT. // -// Deletes a registered CA certificate. +// Creates a job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DeleteCACertificate for usage and error information. +// API operation CreateJob for usage and error information. // // Returned Error Codes: // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeCertificateStateException "CertificateStateException" -// The certificate operation is not allowed. +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" +// The resource already exists. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of attached entities exceeds the limit. // // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. -// // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service is temporarily unavailable. // -// * ErrCodeInternalFailureException "InternalFailureException" -// An unexpected error has occurred. -// -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// -func (c *IoT) DeleteCACertificate(input *DeleteCACertificateInput) (*DeleteCACertificateOutput, error) { - req, out := c.DeleteCACertificateRequest(input) +func (c *IoT) CreateJob(input *CreateJobInput) (*CreateJobOutput, error) { + req, out := c.CreateJobRequest(input) return out, req.Send() } -// DeleteCACertificateWithContext is the same as DeleteCACertificate with the addition of +// CreateJobWithContext is the same as CreateJob with the addition of // the ability to pass a context and additional request options. // -// See DeleteCACertificate for details on how to use this API operation. +// See CreateJob for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DeleteCACertificateWithContext(ctx aws.Context, input *DeleteCACertificateInput, opts ...request.Option) (*DeleteCACertificateOutput, error) { - req, out := c.DeleteCACertificateRequest(input) +func (c *IoT) CreateJobWithContext(ctx aws.Context, input *CreateJobInput, opts ...request.Option) (*CreateJobOutput, error) { + req, out := c.CreateJobRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteCertificate = "DeleteCertificate" +const opCreateKeysAndCertificate = "CreateKeysAndCertificate" -// DeleteCertificateRequest generates a "aws/request.Request" representing the -// client's request for the DeleteCertificate operation. The "output" return +// CreateKeysAndCertificateRequest generates a "aws/request.Request" representing the +// client's request for the CreateKeysAndCertificate operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteCertificate for more information on using the DeleteCertificate +// See CreateKeysAndCertificate for more information on using the CreateKeysAndCertificate // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeleteCertificateRequest method. -// req, resp := client.DeleteCertificateRequest(params) +// // Example sending a request using the CreateKeysAndCertificateRequest method. +// req, resp := client.CreateKeysAndCertificateRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DeleteCertificateRequest(input *DeleteCertificateInput) (req *request.Request, output *DeleteCertificateOutput) { +func (c *IoT) CreateKeysAndCertificateRequest(input *CreateKeysAndCertificateInput) (req *request.Request, output *CreateKeysAndCertificateOutput) { op := &request.Operation{ - Name: opDeleteCertificate, - HTTPMethod: "DELETE", - HTTPPath: "/certificates/{certificateId}", + Name: opCreateKeysAndCertificate, + HTTPMethod: "POST", + HTTPPath: "/keys-and-certificate", } if input == nil { - input = &DeleteCertificateInput{} + input = &CreateKeysAndCertificateInput{} } - output = &DeleteCertificateOutput{} + output = &CreateKeysAndCertificateOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// DeleteCertificate API operation for AWS IoT. +// CreateKeysAndCertificate API operation for AWS IoT. // -// Deletes the specified certificate. +// Creates a 2048-bit RSA key pair and issues an X.509 certificate using the +// issued public key. // -// A certificate cannot be deleted if it has a policy attached to it or if its -// status is set to ACTIVE. To delete a certificate, first use the DetachPrincipalPolicy -// API to detach all policies. Next, use the UpdateCertificate API to set the -// certificate to the INACTIVE status. +// Note This is the only time AWS IoT issues the private key for this certificate, +// so it is important to keep it in a secure location. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DeleteCertificate for usage and error information. +// API operation CreateKeysAndCertificate for usage and error information. // // Returned Error Codes: -// * ErrCodeCertificateStateException "CertificateStateException" -// The certificate operation is not allowed. -// -// * ErrCodeDeleteConflictException "DeleteConflictException" -// You can't delete the resource because it is attached to one or more resources. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // @@ -1282,99 +1251,88 @@ func (c *IoT) DeleteCertificateRequest(input *DeleteCertificateInput) (req *requ // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// -func (c *IoT) DeleteCertificate(input *DeleteCertificateInput) (*DeleteCertificateOutput, error) { - req, out := c.DeleteCertificateRequest(input) +func (c *IoT) CreateKeysAndCertificate(input *CreateKeysAndCertificateInput) (*CreateKeysAndCertificateOutput, error) { + req, out := c.CreateKeysAndCertificateRequest(input) return out, req.Send() } -// DeleteCertificateWithContext is the same as DeleteCertificate with the addition of +// CreateKeysAndCertificateWithContext is the same as CreateKeysAndCertificate with the addition of // the ability to pass a context and additional request options. // -// See DeleteCertificate for details on how to use this API operation. +// See CreateKeysAndCertificate for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DeleteCertificateWithContext(ctx aws.Context, input *DeleteCertificateInput, opts ...request.Option) (*DeleteCertificateOutput, error) { - req, out := c.DeleteCertificateRequest(input) +func (c *IoT) CreateKeysAndCertificateWithContext(ctx aws.Context, input *CreateKeysAndCertificateInput, opts ...request.Option) (*CreateKeysAndCertificateOutput, error) { + req, out := c.CreateKeysAndCertificateRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeletePolicy = "DeletePolicy" +const opCreatePolicy = "CreatePolicy" -// DeletePolicyRequest generates a "aws/request.Request" representing the -// client's request for the DeletePolicy operation. The "output" return +// CreatePolicyRequest generates a "aws/request.Request" representing the +// client's request for the CreatePolicy operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeletePolicy for more information on using the DeletePolicy +// See CreatePolicy for more information on using the CreatePolicy // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeletePolicyRequest method. -// req, resp := client.DeletePolicyRequest(params) +// // Example sending a request using the CreatePolicyRequest method. +// req, resp := client.CreatePolicyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Request, output *DeletePolicyOutput) { +func (c *IoT) CreatePolicyRequest(input *CreatePolicyInput) (req *request.Request, output *CreatePolicyOutput) { op := &request.Operation{ - Name: opDeletePolicy, - HTTPMethod: "DELETE", + Name: opCreatePolicy, + HTTPMethod: "POST", HTTPPath: "/policies/{policyName}", } if input == nil { - input = &DeletePolicyInput{} + input = &CreatePolicyInput{} } - output = &DeletePolicyOutput{} + output = &CreatePolicyOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// DeletePolicy API operation for AWS IoT. -// -// Deletes the specified policy. -// -// A policy cannot be deleted if it has non-default versions or it is attached -// to any certificate. +// CreatePolicy API operation for AWS IoT. // -// To delete a policy, use the DeletePolicyVersion API to delete all non-default -// versions of the policy; use the DetachPrincipalPolicy API to detach the policy -// from any certificate; and then use the DeletePolicy API to delete the policy. +// Creates an AWS IoT policy. // -// When a policy is deleted using DeletePolicy, its default version is deleted -// with it. +// The created policy is the default version for the policy. This operation +// creates a policy version with a version identifier of 1 and sets 1 as the +// policy's default version. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DeletePolicy for usage and error information. +// API operation CreatePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeDeleteConflictException "DeleteConflictException" -// You can't delete the resource because it is attached to one or more resources. +// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" +// The resource already exists. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. +// * ErrCodeMalformedPolicyException "MalformedPolicyException" +// The policy documentation is not valid. // // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. @@ -1391,90 +1349,95 @@ func (c *IoT) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Reques // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error) { - req, out := c.DeletePolicyRequest(input) +func (c *IoT) CreatePolicy(input *CreatePolicyInput) (*CreatePolicyOutput, error) { + req, out := c.CreatePolicyRequest(input) return out, req.Send() } -// DeletePolicyWithContext is the same as DeletePolicy with the addition of +// CreatePolicyWithContext is the same as CreatePolicy with the addition of // the ability to pass a context and additional request options. // -// See DeletePolicy for details on how to use this API operation. +// See CreatePolicy for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DeletePolicyWithContext(ctx aws.Context, input *DeletePolicyInput, opts ...request.Option) (*DeletePolicyOutput, error) { - req, out := c.DeletePolicyRequest(input) +func (c *IoT) CreatePolicyWithContext(ctx aws.Context, input *CreatePolicyInput, opts ...request.Option) (*CreatePolicyOutput, error) { + req, out := c.CreatePolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeletePolicyVersion = "DeletePolicyVersion" +const opCreatePolicyVersion = "CreatePolicyVersion" -// DeletePolicyVersionRequest generates a "aws/request.Request" representing the -// client's request for the DeletePolicyVersion operation. The "output" return +// CreatePolicyVersionRequest generates a "aws/request.Request" representing the +// client's request for the CreatePolicyVersion operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeletePolicyVersion for more information on using the DeletePolicyVersion +// See CreatePolicyVersion for more information on using the CreatePolicyVersion // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeletePolicyVersionRequest method. -// req, resp := client.DeletePolicyVersionRequest(params) +// // Example sending a request using the CreatePolicyVersionRequest method. +// req, resp := client.CreatePolicyVersionRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DeletePolicyVersionRequest(input *DeletePolicyVersionInput) (req *request.Request, output *DeletePolicyVersionOutput) { +func (c *IoT) CreatePolicyVersionRequest(input *CreatePolicyVersionInput) (req *request.Request, output *CreatePolicyVersionOutput) { op := &request.Operation{ - Name: opDeletePolicyVersion, - HTTPMethod: "DELETE", - HTTPPath: "/policies/{policyName}/version/{policyVersionId}", + Name: opCreatePolicyVersion, + HTTPMethod: "POST", + HTTPPath: "/policies/{policyName}/version", } if input == nil { - input = &DeletePolicyVersionInput{} + input = &CreatePolicyVersionInput{} } - output = &DeletePolicyVersionOutput{} + output = &CreatePolicyVersionOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// DeletePolicyVersion API operation for AWS IoT. +// CreatePolicyVersion API operation for AWS IoT. // -// Deletes the specified version of the specified policy. You cannot delete -// the default version of a policy using this API. To delete the default version -// of a policy, use DeletePolicy. To find out which version of a policy is marked -// as the default version, use ListPolicyVersions. +// Creates a new version of the specified AWS IoT policy. To update a policy, +// create a new policy version. A managed policy can have up to five versions. +// If the policy has five versions, you must use DeletePolicyVersion to delete +// an existing version before you create a new one. +// +// Optionally, you can set the new version as the policy's default version. +// The default version is the operative version (that is, the version that is +// in effect for the certificates to which the policy is attached). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DeletePolicyVersion for usage and error information. +// API operation CreatePolicyVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeDeleteConflictException "DeleteConflictException" -// You can't delete the resource because it is attached to one or more resources. -// // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource does not exist. // +// * ErrCodeMalformedPolicyException "MalformedPolicyException" +// The policy documentation is not valid. +// +// * ErrCodeVersionsLimitExceededException "VersionsLimitExceededException" +// The number of policy versions exceeds the limit. +// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // @@ -1490,84 +1453,90 @@ func (c *IoT) DeletePolicyVersionRequest(input *DeletePolicyVersionInput) (req * // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) DeletePolicyVersion(input *DeletePolicyVersionInput) (*DeletePolicyVersionOutput, error) { - req, out := c.DeletePolicyVersionRequest(input) +func (c *IoT) CreatePolicyVersion(input *CreatePolicyVersionInput) (*CreatePolicyVersionOutput, error) { + req, out := c.CreatePolicyVersionRequest(input) return out, req.Send() } -// DeletePolicyVersionWithContext is the same as DeletePolicyVersion with the addition of +// CreatePolicyVersionWithContext is the same as CreatePolicyVersion with the addition of // the ability to pass a context and additional request options. // -// See DeletePolicyVersion for details on how to use this API operation. +// See CreatePolicyVersion for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DeletePolicyVersionWithContext(ctx aws.Context, input *DeletePolicyVersionInput, opts ...request.Option) (*DeletePolicyVersionOutput, error) { - req, out := c.DeletePolicyVersionRequest(input) +func (c *IoT) CreatePolicyVersionWithContext(ctx aws.Context, input *CreatePolicyVersionInput, opts ...request.Option) (*CreatePolicyVersionOutput, error) { + req, out := c.CreatePolicyVersionRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteRegistrationCode = "DeleteRegistrationCode" +const opCreateRoleAlias = "CreateRoleAlias" -// DeleteRegistrationCodeRequest generates a "aws/request.Request" representing the -// client's request for the DeleteRegistrationCode operation. The "output" return +// CreateRoleAliasRequest generates a "aws/request.Request" representing the +// client's request for the CreateRoleAlias operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteRegistrationCode for more information on using the DeleteRegistrationCode +// See CreateRoleAlias for more information on using the CreateRoleAlias // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeleteRegistrationCodeRequest method. -// req, resp := client.DeleteRegistrationCodeRequest(params) +// // Example sending a request using the CreateRoleAliasRequest method. +// req, resp := client.CreateRoleAliasRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DeleteRegistrationCodeRequest(input *DeleteRegistrationCodeInput) (req *request.Request, output *DeleteRegistrationCodeOutput) { +func (c *IoT) CreateRoleAliasRequest(input *CreateRoleAliasInput) (req *request.Request, output *CreateRoleAliasOutput) { op := &request.Operation{ - Name: opDeleteRegistrationCode, - HTTPMethod: "DELETE", - HTTPPath: "/registrationcode", + Name: opCreateRoleAlias, + HTTPMethod: "POST", + HTTPPath: "/role-aliases/{roleAlias}", } if input == nil { - input = &DeleteRegistrationCodeInput{} + input = &CreateRoleAliasInput{} } - output = &DeleteRegistrationCodeOutput{} + output = &CreateRoleAliasOutput{} req = c.newRequest(op, input, output) return } -// DeleteRegistrationCode API operation for AWS IoT. +// CreateRoleAlias API operation for AWS IoT. // -// Deletes a CA certificate registration code. +// Creates a role alias. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DeleteRegistrationCode for usage and error information. +// API operation CreateRoleAlias for usage and error information. // // Returned Error Codes: -// * ErrCodeThrottlingException "ThrottlingException" -// The rate exceeds the limit. +// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" +// The resource already exists. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of attached entities exceeds the limit. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. // // * ErrCodeUnauthorizedException "UnauthorizedException" // You are not authorized to perform this operation. @@ -1578,86 +1547,79 @@ func (c *IoT) DeleteRegistrationCodeRequest(input *DeleteRegistrationCodeInput) // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) DeleteRegistrationCode(input *DeleteRegistrationCodeInput) (*DeleteRegistrationCodeOutput, error) { - req, out := c.DeleteRegistrationCodeRequest(input) +func (c *IoT) CreateRoleAlias(input *CreateRoleAliasInput) (*CreateRoleAliasOutput, error) { + req, out := c.CreateRoleAliasRequest(input) return out, req.Send() } -// DeleteRegistrationCodeWithContext is the same as DeleteRegistrationCode with the addition of +// CreateRoleAliasWithContext is the same as CreateRoleAlias with the addition of // the ability to pass a context and additional request options. // -// See DeleteRegistrationCode for details on how to use this API operation. +// See CreateRoleAlias for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DeleteRegistrationCodeWithContext(ctx aws.Context, input *DeleteRegistrationCodeInput, opts ...request.Option) (*DeleteRegistrationCodeOutput, error) { - req, out := c.DeleteRegistrationCodeRequest(input) +func (c *IoT) CreateRoleAliasWithContext(ctx aws.Context, input *CreateRoleAliasInput, opts ...request.Option) (*CreateRoleAliasOutput, error) { + req, out := c.CreateRoleAliasRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteThing = "DeleteThing" +const opCreateThing = "CreateThing" -// DeleteThingRequest generates a "aws/request.Request" representing the -// client's request for the DeleteThing operation. The "output" return +// CreateThingRequest generates a "aws/request.Request" representing the +// client's request for the CreateThing operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteThing for more information on using the DeleteThing +// See CreateThing for more information on using the CreateThing // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeleteThingRequest method. -// req, resp := client.DeleteThingRequest(params) +// // Example sending a request using the CreateThingRequest method. +// req, resp := client.CreateThingRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DeleteThingRequest(input *DeleteThingInput) (req *request.Request, output *DeleteThingOutput) { +func (c *IoT) CreateThingRequest(input *CreateThingInput) (req *request.Request, output *CreateThingOutput) { op := &request.Operation{ - Name: opDeleteThing, - HTTPMethod: "DELETE", + Name: opCreateThing, + HTTPMethod: "POST", HTTPPath: "/things/{thingName}", } if input == nil { - input = &DeleteThingInput{} + input = &CreateThingInput{} } - output = &DeleteThingOutput{} + output = &CreateThingOutput{} req = c.newRequest(op, input, output) return } -// DeleteThing API operation for AWS IoT. +// CreateThing API operation for AWS IoT. // -// Deletes the specified thing. +// Creates a thing record in the thing registry. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DeleteThing for usage and error information. +// API operation CreateThing for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// -// * ErrCodeVersionConflictException "VersionConflictException" -// An exception thrown when the version of a thing passed to a command is different -// than the version specified with the --version parameter. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // @@ -1673,353 +1635,359 @@ func (c *IoT) DeleteThingRequest(input *DeleteThingInput) (req *request.Request, // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) DeleteThing(input *DeleteThingInput) (*DeleteThingOutput, error) { - req, out := c.DeleteThingRequest(input) +// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" +// The resource already exists. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) CreateThing(input *CreateThingInput) (*CreateThingOutput, error) { + req, out := c.CreateThingRequest(input) return out, req.Send() } -// DeleteThingWithContext is the same as DeleteThing with the addition of +// CreateThingWithContext is the same as CreateThing with the addition of // the ability to pass a context and additional request options. // -// See DeleteThing for details on how to use this API operation. +// See CreateThing for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DeleteThingWithContext(ctx aws.Context, input *DeleteThingInput, opts ...request.Option) (*DeleteThingOutput, error) { - req, out := c.DeleteThingRequest(input) +func (c *IoT) CreateThingWithContext(ctx aws.Context, input *CreateThingInput, opts ...request.Option) (*CreateThingOutput, error) { + req, out := c.CreateThingRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteThingType = "DeleteThingType" +const opCreateThingGroup = "CreateThingGroup" -// DeleteThingTypeRequest generates a "aws/request.Request" representing the -// client's request for the DeleteThingType operation. The "output" return +// CreateThingGroupRequest generates a "aws/request.Request" representing the +// client's request for the CreateThingGroup operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteThingType for more information on using the DeleteThingType +// See CreateThingGroup for more information on using the CreateThingGroup // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeleteThingTypeRequest method. -// req, resp := client.DeleteThingTypeRequest(params) +// // Example sending a request using the CreateThingGroupRequest method. +// req, resp := client.CreateThingGroupRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DeleteThingTypeRequest(input *DeleteThingTypeInput) (req *request.Request, output *DeleteThingTypeOutput) { +func (c *IoT) CreateThingGroupRequest(input *CreateThingGroupInput) (req *request.Request, output *CreateThingGroupOutput) { op := &request.Operation{ - Name: opDeleteThingType, - HTTPMethod: "DELETE", - HTTPPath: "/thing-types/{thingTypeName}", + Name: opCreateThingGroup, + HTTPMethod: "POST", + HTTPPath: "/thing-groups/{thingGroupName}", } if input == nil { - input = &DeleteThingTypeInput{} + input = &CreateThingGroupInput{} } - output = &DeleteThingTypeOutput{} + output = &CreateThingGroupOutput{} req = c.newRequest(op, input, output) return } -// DeleteThingType API operation for AWS IoT. +// CreateThingGroup API operation for AWS IoT. // -// Deletes the specified thing type . You cannot delete a thing type if it has -// things associated with it. To delete a thing type, first mark it as deprecated -// by calling DeprecateThingType, then remove any associated things by calling -// UpdateThing to change the thing type on any associated thing, and finally -// use DeleteThingType to delete the thing type. +// Create a thing group. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DeleteThingType for usage and error information. +// API operation CreateThingGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // +// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" +// The resource already exists. +// // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. -// -// * ErrCodeServiceUnavailableException "ServiceUnavailableException" -// The service is temporarily unavailable. -// // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) DeleteThingType(input *DeleteThingTypeInput) (*DeleteThingTypeOutput, error) { - req, out := c.DeleteThingTypeRequest(input) +func (c *IoT) CreateThingGroup(input *CreateThingGroupInput) (*CreateThingGroupOutput, error) { + req, out := c.CreateThingGroupRequest(input) return out, req.Send() } -// DeleteThingTypeWithContext is the same as DeleteThingType with the addition of +// CreateThingGroupWithContext is the same as CreateThingGroup with the addition of // the ability to pass a context and additional request options. // -// See DeleteThingType for details on how to use this API operation. +// See CreateThingGroup for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DeleteThingTypeWithContext(ctx aws.Context, input *DeleteThingTypeInput, opts ...request.Option) (*DeleteThingTypeOutput, error) { - req, out := c.DeleteThingTypeRequest(input) +func (c *IoT) CreateThingGroupWithContext(ctx aws.Context, input *CreateThingGroupInput, opts ...request.Option) (*CreateThingGroupOutput, error) { + req, out := c.CreateThingGroupRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteTopicRule = "DeleteTopicRule" +const opCreateThingType = "CreateThingType" -// DeleteTopicRuleRequest generates a "aws/request.Request" representing the -// client's request for the DeleteTopicRule operation. The "output" return +// CreateThingTypeRequest generates a "aws/request.Request" representing the +// client's request for the CreateThingType operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteTopicRule for more information on using the DeleteTopicRule +// See CreateThingType for more information on using the CreateThingType // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeleteTopicRuleRequest method. -// req, resp := client.DeleteTopicRuleRequest(params) +// // Example sending a request using the CreateThingTypeRequest method. +// req, resp := client.CreateThingTypeRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DeleteTopicRuleRequest(input *DeleteTopicRuleInput) (req *request.Request, output *DeleteTopicRuleOutput) { +func (c *IoT) CreateThingTypeRequest(input *CreateThingTypeInput) (req *request.Request, output *CreateThingTypeOutput) { op := &request.Operation{ - Name: opDeleteTopicRule, - HTTPMethod: "DELETE", - HTTPPath: "/rules/{ruleName}", + Name: opCreateThingType, + HTTPMethod: "POST", + HTTPPath: "/thing-types/{thingTypeName}", } if input == nil { - input = &DeleteTopicRuleInput{} + input = &CreateThingTypeInput{} } - output = &DeleteTopicRuleOutput{} + output = &CreateThingTypeOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// DeleteTopicRule API operation for AWS IoT. +// CreateThingType API operation for AWS IoT. // -// Deletes the specified rule. +// Creates a new thing type. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DeleteTopicRule for usage and error information. +// API operation CreateThingType for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalException "InternalException" -// An unexpected error has occurred. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeServiceUnavailableException "ServiceUnavailableException" -// The service is temporarily unavailable. +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. // // * ErrCodeUnauthorizedException "UnauthorizedException" // You are not authorized to perform this operation. // -func (c *IoT) DeleteTopicRule(input *DeleteTopicRuleInput) (*DeleteTopicRuleOutput, error) { - req, out := c.DeleteTopicRuleRequest(input) +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" +// The resource already exists. +// +func (c *IoT) CreateThingType(input *CreateThingTypeInput) (*CreateThingTypeOutput, error) { + req, out := c.CreateThingTypeRequest(input) return out, req.Send() } -// DeleteTopicRuleWithContext is the same as DeleteTopicRule with the addition of +// CreateThingTypeWithContext is the same as CreateThingType with the addition of // the ability to pass a context and additional request options. // -// See DeleteTopicRule for details on how to use this API operation. +// See CreateThingType for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DeleteTopicRuleWithContext(ctx aws.Context, input *DeleteTopicRuleInput, opts ...request.Option) (*DeleteTopicRuleOutput, error) { - req, out := c.DeleteTopicRuleRequest(input) +func (c *IoT) CreateThingTypeWithContext(ctx aws.Context, input *CreateThingTypeInput, opts ...request.Option) (*CreateThingTypeOutput, error) { + req, out := c.CreateThingTypeRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeprecateThingType = "DeprecateThingType" +const opCreateTopicRule = "CreateTopicRule" -// DeprecateThingTypeRequest generates a "aws/request.Request" representing the -// client's request for the DeprecateThingType operation. The "output" return +// CreateTopicRuleRequest generates a "aws/request.Request" representing the +// client's request for the CreateTopicRule operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeprecateThingType for more information on using the DeprecateThingType +// See CreateTopicRule for more information on using the CreateTopicRule // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeprecateThingTypeRequest method. -// req, resp := client.DeprecateThingTypeRequest(params) +// // Example sending a request using the CreateTopicRuleRequest method. +// req, resp := client.CreateTopicRuleRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DeprecateThingTypeRequest(input *DeprecateThingTypeInput) (req *request.Request, output *DeprecateThingTypeOutput) { +func (c *IoT) CreateTopicRuleRequest(input *CreateTopicRuleInput) (req *request.Request, output *CreateTopicRuleOutput) { op := &request.Operation{ - Name: opDeprecateThingType, + Name: opCreateTopicRule, HTTPMethod: "POST", - HTTPPath: "/thing-types/{thingTypeName}/deprecate", + HTTPPath: "/rules/{ruleName}", } if input == nil { - input = &DeprecateThingTypeInput{} + input = &CreateTopicRuleInput{} } - output = &DeprecateThingTypeOutput{} + output = &CreateTopicRuleOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// DeprecateThingType API operation for AWS IoT. +// CreateTopicRule API operation for AWS IoT. // -// Deprecates a thing type. You can not associate new things with deprecated -// thing type. +// Creates a rule. Creating rules is an administrator-level action. Any user +// who has permission to create rules will be able to access data processed +// by the rule. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DeprecateThingType for usage and error information. +// API operation CreateTopicRule for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. +// * ErrCodeSqlParseException "SqlParseException" +// The Rule-SQL expression can't be parsed correctly. +// +// * ErrCodeInternalException "InternalException" +// An unexpected error has occurred. // // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeThrottlingException "ThrottlingException" -// The rate exceeds the limit. -// -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. +// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" +// The resource already exists. // // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service is temporarily unavailable. // -// * ErrCodeInternalFailureException "InternalFailureException" -// An unexpected error has occurred. -// -func (c *IoT) DeprecateThingType(input *DeprecateThingTypeInput) (*DeprecateThingTypeOutput, error) { - req, out := c.DeprecateThingTypeRequest(input) +func (c *IoT) CreateTopicRule(input *CreateTopicRuleInput) (*CreateTopicRuleOutput, error) { + req, out := c.CreateTopicRuleRequest(input) return out, req.Send() } -// DeprecateThingTypeWithContext is the same as DeprecateThingType with the addition of +// CreateTopicRuleWithContext is the same as CreateTopicRule with the addition of // the ability to pass a context and additional request options. // -// See DeprecateThingType for details on how to use this API operation. +// See CreateTopicRule for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DeprecateThingTypeWithContext(ctx aws.Context, input *DeprecateThingTypeInput, opts ...request.Option) (*DeprecateThingTypeOutput, error) { - req, out := c.DeprecateThingTypeRequest(input) +func (c *IoT) CreateTopicRuleWithContext(ctx aws.Context, input *CreateTopicRuleInput, opts ...request.Option) (*CreateTopicRuleOutput, error) { + req, out := c.CreateTopicRuleRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDescribeCACertificate = "DescribeCACertificate" +const opDeleteAuthorizer = "DeleteAuthorizer" -// DescribeCACertificateRequest generates a "aws/request.Request" representing the -// client's request for the DescribeCACertificate operation. The "output" return +// DeleteAuthorizerRequest generates a "aws/request.Request" representing the +// client's request for the DeleteAuthorizer operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DescribeCACertificate for more information on using the DescribeCACertificate +// See DeleteAuthorizer for more information on using the DeleteAuthorizer // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DescribeCACertificateRequest method. -// req, resp := client.DescribeCACertificateRequest(params) +// // Example sending a request using the DeleteAuthorizerRequest method. +// req, resp := client.DeleteAuthorizerRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DescribeCACertificateRequest(input *DescribeCACertificateInput) (req *request.Request, output *DescribeCACertificateOutput) { +func (c *IoT) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) (req *request.Request, output *DeleteAuthorizerOutput) { op := &request.Operation{ - Name: opDescribeCACertificate, - HTTPMethod: "GET", - HTTPPath: "/cacertificate/{caCertificateId}", + Name: opDeleteAuthorizer, + HTTPMethod: "DELETE", + HTTPPath: "/authorizer/{authorizerName}", } if input == nil { - input = &DescribeCACertificateInput{} + input = &DeleteAuthorizerInput{} } - output = &DescribeCACertificateOutput{} + output = &DeleteAuthorizerOutput{} req = c.newRequest(op, input, output) return } -// DescribeCACertificate API operation for AWS IoT. +// DeleteAuthorizer API operation for AWS IoT. // -// Describes a registered CA certificate. +// Deletes an authorizer. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DescribeCACertificate for usage and error information. +// API operation DeleteAuthorizer for usage and error information. // // Returned Error Codes: +// * ErrCodeDeleteConflictException "DeleteConflictException" +// You can't delete the resource because it is attached to one or more resources. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // @@ -2035,85 +2003,85 @@ func (c *IoT) DescribeCACertificateRequest(input *DescribeCACertificateInput) (r // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// -func (c *IoT) DescribeCACertificate(input *DescribeCACertificateInput) (*DescribeCACertificateOutput, error) { - req, out := c.DescribeCACertificateRequest(input) +func (c *IoT) DeleteAuthorizer(input *DeleteAuthorizerInput) (*DeleteAuthorizerOutput, error) { + req, out := c.DeleteAuthorizerRequest(input) return out, req.Send() } -// DescribeCACertificateWithContext is the same as DescribeCACertificate with the addition of +// DeleteAuthorizerWithContext is the same as DeleteAuthorizer with the addition of // the ability to pass a context and additional request options. // -// See DescribeCACertificate for details on how to use this API operation. +// See DeleteAuthorizer for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DescribeCACertificateWithContext(ctx aws.Context, input *DescribeCACertificateInput, opts ...request.Option) (*DescribeCACertificateOutput, error) { - req, out := c.DescribeCACertificateRequest(input) +func (c *IoT) DeleteAuthorizerWithContext(ctx aws.Context, input *DeleteAuthorizerInput, opts ...request.Option) (*DeleteAuthorizerOutput, error) { + req, out := c.DeleteAuthorizerRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDescribeCertificate = "DescribeCertificate" +const opDeleteCACertificate = "DeleteCACertificate" -// DescribeCertificateRequest generates a "aws/request.Request" representing the -// client's request for the DescribeCertificate operation. The "output" return +// DeleteCACertificateRequest generates a "aws/request.Request" representing the +// client's request for the DeleteCACertificate operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DescribeCertificate for more information on using the DescribeCertificate +// See DeleteCACertificate for more information on using the DeleteCACertificate // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DescribeCertificateRequest method. -// req, resp := client.DescribeCertificateRequest(params) +// // Example sending a request using the DeleteCACertificateRequest method. +// req, resp := client.DeleteCACertificateRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DescribeCertificateRequest(input *DescribeCertificateInput) (req *request.Request, output *DescribeCertificateOutput) { +func (c *IoT) DeleteCACertificateRequest(input *DeleteCACertificateInput) (req *request.Request, output *DeleteCACertificateOutput) { op := &request.Operation{ - Name: opDescribeCertificate, - HTTPMethod: "GET", - HTTPPath: "/certificates/{certificateId}", + Name: opDeleteCACertificate, + HTTPMethod: "DELETE", + HTTPPath: "/cacertificate/{caCertificateId}", } if input == nil { - input = &DescribeCertificateInput{} + input = &DeleteCACertificateInput{} } - output = &DescribeCertificateOutput{} + output = &DeleteCACertificateOutput{} req = c.newRequest(op, input, output) return } -// DescribeCertificate API operation for AWS IoT. +// DeleteCACertificate API operation for AWS IoT. // -// Gets information about the specified certificate. +// Deletes a registered CA certificate. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DescribeCertificate for usage and error information. +// API operation DeleteCACertificate for usage and error information. // // Returned Error Codes: // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // +// * ErrCodeCertificateStateException "CertificateStateException" +// The certificate operation is not allowed. +// // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // @@ -2129,161 +2097,198 @@ func (c *IoT) DescribeCertificateRequest(input *DescribeCertificateInput) (req * // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource does not exist. // -func (c *IoT) DescribeCertificate(input *DescribeCertificateInput) (*DescribeCertificateOutput, error) { - req, out := c.DescribeCertificateRequest(input) +func (c *IoT) DeleteCACertificate(input *DeleteCACertificateInput) (*DeleteCACertificateOutput, error) { + req, out := c.DeleteCACertificateRequest(input) return out, req.Send() } -// DescribeCertificateWithContext is the same as DescribeCertificate with the addition of +// DeleteCACertificateWithContext is the same as DeleteCACertificate with the addition of // the ability to pass a context and additional request options. // -// See DescribeCertificate for details on how to use this API operation. +// See DeleteCACertificate for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DescribeCertificateWithContext(ctx aws.Context, input *DescribeCertificateInput, opts ...request.Option) (*DescribeCertificateOutput, error) { - req, out := c.DescribeCertificateRequest(input) +func (c *IoT) DeleteCACertificateWithContext(ctx aws.Context, input *DeleteCACertificateInput, opts ...request.Option) (*DeleteCACertificateOutput, error) { + req, out := c.DeleteCACertificateRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDescribeEndpoint = "DescribeEndpoint" +const opDeleteCertificate = "DeleteCertificate" -// DescribeEndpointRequest generates a "aws/request.Request" representing the -// client's request for the DescribeEndpoint operation. The "output" return +// DeleteCertificateRequest generates a "aws/request.Request" representing the +// client's request for the DeleteCertificate operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DescribeEndpoint for more information on using the DescribeEndpoint +// See DeleteCertificate for more information on using the DeleteCertificate // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DescribeEndpointRequest method. -// req, resp := client.DescribeEndpointRequest(params) +// // Example sending a request using the DeleteCertificateRequest method. +// req, resp := client.DeleteCertificateRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DescribeEndpointRequest(input *DescribeEndpointInput) (req *request.Request, output *DescribeEndpointOutput) { +func (c *IoT) DeleteCertificateRequest(input *DeleteCertificateInput) (req *request.Request, output *DeleteCertificateOutput) { op := &request.Operation{ - Name: opDescribeEndpoint, - HTTPMethod: "GET", - HTTPPath: "/endpoint", + Name: opDeleteCertificate, + HTTPMethod: "DELETE", + HTTPPath: "/certificates/{certificateId}", } if input == nil { - input = &DescribeEndpointInput{} + input = &DeleteCertificateInput{} } - output = &DescribeEndpointOutput{} + output = &DeleteCertificateOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// DescribeEndpoint API operation for AWS IoT. +// DeleteCertificate API operation for AWS IoT. // -// Returns a unique endpoint specific to the AWS account making the call. +// Deletes the specified certificate. +// +// A certificate cannot be deleted if it has a policy attached to it or if its +// status is set to ACTIVE. To delete a certificate, first use the DetachPrincipalPolicy +// API to detach all policies. Next, use the UpdateCertificate API to set the +// certificate to the INACTIVE status. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DescribeEndpoint for usage and error information. +// API operation DeleteCertificate for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalFailureException "InternalFailureException" -// An unexpected error has occurred. +// * ErrCodeCertificateStateException "CertificateStateException" +// The certificate operation is not allowed. // -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. +// * ErrCodeDeleteConflictException "DeleteConflictException" +// You can't delete the resource because it is attached to one or more resources. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. // // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // -func (c *IoT) DescribeEndpoint(input *DescribeEndpointInput) (*DescribeEndpointOutput, error) { - req, out := c.DescribeEndpointRequest(input) +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) DeleteCertificate(input *DeleteCertificateInput) (*DeleteCertificateOutput, error) { + req, out := c.DeleteCertificateRequest(input) return out, req.Send() } -// DescribeEndpointWithContext is the same as DescribeEndpoint with the addition of +// DeleteCertificateWithContext is the same as DeleteCertificate with the addition of // the ability to pass a context and additional request options. // -// See DescribeEndpoint for details on how to use this API operation. +// See DeleteCertificate for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DescribeEndpointWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...request.Option) (*DescribeEndpointOutput, error) { - req, out := c.DescribeEndpointRequest(input) +func (c *IoT) DeleteCertificateWithContext(ctx aws.Context, input *DeleteCertificateInput, opts ...request.Option) (*DeleteCertificateOutput, error) { + req, out := c.DeleteCertificateRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDescribeThing = "DescribeThing" +const opDeletePolicy = "DeletePolicy" -// DescribeThingRequest generates a "aws/request.Request" representing the -// client's request for the DescribeThing operation. The "output" return +// DeletePolicyRequest generates a "aws/request.Request" representing the +// client's request for the DeletePolicy operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DescribeThing for more information on using the DescribeThing +// See DeletePolicy for more information on using the DeletePolicy // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DescribeThingRequest method. -// req, resp := client.DescribeThingRequest(params) +// // Example sending a request using the DeletePolicyRequest method. +// req, resp := client.DeletePolicyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DescribeThingRequest(input *DescribeThingInput) (req *request.Request, output *DescribeThingOutput) { +func (c *IoT) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Request, output *DeletePolicyOutput) { op := &request.Operation{ - Name: opDescribeThing, - HTTPMethod: "GET", - HTTPPath: "/things/{thingName}", + Name: opDeletePolicy, + HTTPMethod: "DELETE", + HTTPPath: "/policies/{policyName}", } if input == nil { - input = &DescribeThingInput{} + input = &DeletePolicyInput{} } - output = &DescribeThingOutput{} + output = &DeletePolicyOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// DescribeThing API operation for AWS IoT. +// DeletePolicy API operation for AWS IoT. // -// Gets information about the specified thing. +// Deletes the specified policy. +// +// A policy cannot be deleted if it has non-default versions or it is attached +// to any certificate. +// +// To delete a policy, use the DeletePolicyVersion API to delete all non-default +// versions of the policy; use the DetachPrincipalPolicy API to detach the policy +// from any certificate; and then use the DeletePolicy API to delete the policy. +// +// When a policy is deleted using DeletePolicy, its default version is deleted +// with it. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DescribeThing for usage and error information. +// API operation DeletePolicy for usage and error information. // // Returned Error Codes: +// * ErrCodeDeleteConflictException "DeleteConflictException" +// You can't delete the resource because it is attached to one or more resources. +// // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource does not exist. // @@ -2302,79 +2307,87 @@ func (c *IoT) DescribeThingRequest(input *DescribeThingInput) (req *request.Requ // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) DescribeThing(input *DescribeThingInput) (*DescribeThingOutput, error) { - req, out := c.DescribeThingRequest(input) +func (c *IoT) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error) { + req, out := c.DeletePolicyRequest(input) return out, req.Send() } -// DescribeThingWithContext is the same as DescribeThing with the addition of +// DeletePolicyWithContext is the same as DeletePolicy with the addition of // the ability to pass a context and additional request options. // -// See DescribeThing for details on how to use this API operation. +// See DeletePolicy for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DescribeThingWithContext(ctx aws.Context, input *DescribeThingInput, opts ...request.Option) (*DescribeThingOutput, error) { - req, out := c.DescribeThingRequest(input) +func (c *IoT) DeletePolicyWithContext(ctx aws.Context, input *DeletePolicyInput, opts ...request.Option) (*DeletePolicyOutput, error) { + req, out := c.DeletePolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDescribeThingType = "DescribeThingType" +const opDeletePolicyVersion = "DeletePolicyVersion" -// DescribeThingTypeRequest generates a "aws/request.Request" representing the -// client's request for the DescribeThingType operation. The "output" return +// DeletePolicyVersionRequest generates a "aws/request.Request" representing the +// client's request for the DeletePolicyVersion operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DescribeThingType for more information on using the DescribeThingType +// See DeletePolicyVersion for more information on using the DeletePolicyVersion // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DescribeThingTypeRequest method. -// req, resp := client.DescribeThingTypeRequest(params) +// // Example sending a request using the DeletePolicyVersionRequest method. +// req, resp := client.DeletePolicyVersionRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DescribeThingTypeRequest(input *DescribeThingTypeInput) (req *request.Request, output *DescribeThingTypeOutput) { +func (c *IoT) DeletePolicyVersionRequest(input *DeletePolicyVersionInput) (req *request.Request, output *DeletePolicyVersionOutput) { op := &request.Operation{ - Name: opDescribeThingType, - HTTPMethod: "GET", - HTTPPath: "/thing-types/{thingTypeName}", + Name: opDeletePolicyVersion, + HTTPMethod: "DELETE", + HTTPPath: "/policies/{policyName}/version/{policyVersionId}", } if input == nil { - input = &DescribeThingTypeInput{} + input = &DeletePolicyVersionInput{} } - output = &DescribeThingTypeOutput{} + output = &DeletePolicyVersionOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// DescribeThingType API operation for AWS IoT. +// DeletePolicyVersion API operation for AWS IoT. // -// Gets information about the specified thing type. +// Deletes the specified version of the specified policy. You cannot delete +// the default version of a policy using this API. To delete the default version +// of a policy, use DeletePolicy. To find out which version of a policy is marked +// as the default version, use ListPolicyVersions. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DescribeThingType for usage and error information. +// API operation DeletePolicyVersion for usage and error information. // // Returned Error Codes: +// * ErrCodeDeleteConflictException "DeleteConflictException" +// You can't delete the resource because it is attached to one or more resources. +// // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource does not exist. // @@ -2393,90 +2406,85 @@ func (c *IoT) DescribeThingTypeRequest(input *DescribeThingTypeInput) (req *requ // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) DescribeThingType(input *DescribeThingTypeInput) (*DescribeThingTypeOutput, error) { - req, out := c.DescribeThingTypeRequest(input) +func (c *IoT) DeletePolicyVersion(input *DeletePolicyVersionInput) (*DeletePolicyVersionOutput, error) { + req, out := c.DeletePolicyVersionRequest(input) return out, req.Send() } -// DescribeThingTypeWithContext is the same as DescribeThingType with the addition of +// DeletePolicyVersionWithContext is the same as DeletePolicyVersion with the addition of // the ability to pass a context and additional request options. // -// See DescribeThingType for details on how to use this API operation. +// See DeletePolicyVersion for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DescribeThingTypeWithContext(ctx aws.Context, input *DescribeThingTypeInput, opts ...request.Option) (*DescribeThingTypeOutput, error) { - req, out := c.DescribeThingTypeRequest(input) +func (c *IoT) DeletePolicyVersionWithContext(ctx aws.Context, input *DeletePolicyVersionInput, opts ...request.Option) (*DeletePolicyVersionOutput, error) { + req, out := c.DeletePolicyVersionRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDetachPrincipalPolicy = "DetachPrincipalPolicy" +const opDeleteRegistrationCode = "DeleteRegistrationCode" -// DetachPrincipalPolicyRequest generates a "aws/request.Request" representing the -// client's request for the DetachPrincipalPolicy operation. The "output" return +// DeleteRegistrationCodeRequest generates a "aws/request.Request" representing the +// client's request for the DeleteRegistrationCode operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DetachPrincipalPolicy for more information on using the DetachPrincipalPolicy +// See DeleteRegistrationCode for more information on using the DeleteRegistrationCode // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DetachPrincipalPolicyRequest method. -// req, resp := client.DetachPrincipalPolicyRequest(params) +// // Example sending a request using the DeleteRegistrationCodeRequest method. +// req, resp := client.DeleteRegistrationCodeRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DetachPrincipalPolicyRequest(input *DetachPrincipalPolicyInput) (req *request.Request, output *DetachPrincipalPolicyOutput) { +func (c *IoT) DeleteRegistrationCodeRequest(input *DeleteRegistrationCodeInput) (req *request.Request, output *DeleteRegistrationCodeOutput) { op := &request.Operation{ - Name: opDetachPrincipalPolicy, + Name: opDeleteRegistrationCode, HTTPMethod: "DELETE", - HTTPPath: "/principal-policies/{policyName}", + HTTPPath: "/registrationcode", } if input == nil { - input = &DetachPrincipalPolicyInput{} + input = &DeleteRegistrationCodeInput{} } - output = &DetachPrincipalPolicyOutput{} + output = &DeleteRegistrationCodeOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// DetachPrincipalPolicy API operation for AWS IoT. +// DeleteRegistrationCode API operation for AWS IoT. // -// Removes the specified policy from the specified certificate. +// Deletes a CA certificate registration code. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DetachPrincipalPolicy for usage and error information. +// API operation DeleteRegistrationCode for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// -// * ErrCodeInvalidRequestException "InvalidRequestException" -// The request is not valid. -// // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// // * ErrCodeUnauthorizedException "UnauthorizedException" // You are not authorized to perform this operation. // @@ -2486,81 +2494,81 @@ func (c *IoT) DetachPrincipalPolicyRequest(input *DetachPrincipalPolicyInput) (r // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) DetachPrincipalPolicy(input *DetachPrincipalPolicyInput) (*DetachPrincipalPolicyOutput, error) { - req, out := c.DetachPrincipalPolicyRequest(input) +func (c *IoT) DeleteRegistrationCode(input *DeleteRegistrationCodeInput) (*DeleteRegistrationCodeOutput, error) { + req, out := c.DeleteRegistrationCodeRequest(input) return out, req.Send() } -// DetachPrincipalPolicyWithContext is the same as DetachPrincipalPolicy with the addition of +// DeleteRegistrationCodeWithContext is the same as DeleteRegistrationCode with the addition of // the ability to pass a context and additional request options. // -// See DetachPrincipalPolicy for details on how to use this API operation. +// See DeleteRegistrationCode for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DetachPrincipalPolicyWithContext(ctx aws.Context, input *DetachPrincipalPolicyInput, opts ...request.Option) (*DetachPrincipalPolicyOutput, error) { - req, out := c.DetachPrincipalPolicyRequest(input) +func (c *IoT) DeleteRegistrationCodeWithContext(ctx aws.Context, input *DeleteRegistrationCodeInput, opts ...request.Option) (*DeleteRegistrationCodeOutput, error) { + req, out := c.DeleteRegistrationCodeRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDetachThingPrincipal = "DetachThingPrincipal" +const opDeleteRoleAlias = "DeleteRoleAlias" -// DetachThingPrincipalRequest generates a "aws/request.Request" representing the -// client's request for the DetachThingPrincipal operation. The "output" return +// DeleteRoleAliasRequest generates a "aws/request.Request" representing the +// client's request for the DeleteRoleAlias operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DetachThingPrincipal for more information on using the DetachThingPrincipal +// See DeleteRoleAlias for more information on using the DeleteRoleAlias // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DetachThingPrincipalRequest method. -// req, resp := client.DetachThingPrincipalRequest(params) +// // Example sending a request using the DeleteRoleAliasRequest method. +// req, resp := client.DeleteRoleAliasRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DetachThingPrincipalRequest(input *DetachThingPrincipalInput) (req *request.Request, output *DetachThingPrincipalOutput) { +func (c *IoT) DeleteRoleAliasRequest(input *DeleteRoleAliasInput) (req *request.Request, output *DeleteRoleAliasOutput) { op := &request.Operation{ - Name: opDetachThingPrincipal, + Name: opDeleteRoleAlias, HTTPMethod: "DELETE", - HTTPPath: "/things/{thingName}/principals", + HTTPPath: "/role-aliases/{roleAlias}", } if input == nil { - input = &DetachThingPrincipalInput{} + input = &DeleteRoleAliasInput{} } - output = &DetachThingPrincipalOutput{} + output = &DeleteRoleAliasOutput{} req = c.newRequest(op, input, output) return } -// DetachThingPrincipal API operation for AWS IoT. +// DeleteRoleAlias API operation for AWS IoT. // -// Detaches the specified principal from the specified thing. +// Deletes a role alias // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DetachThingPrincipal for usage and error information. +// API operation DeleteRoleAlias for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. +// * ErrCodeDeleteConflictException "DeleteConflictException" +// You can't delete the resource because it is attached to one or more resources. // // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. @@ -2577,518 +2585,536 @@ func (c *IoT) DetachThingPrincipalRequest(input *DetachThingPrincipalInput) (req // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) DetachThingPrincipal(input *DetachThingPrincipalInput) (*DetachThingPrincipalOutput, error) { - req, out := c.DetachThingPrincipalRequest(input) +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) DeleteRoleAlias(input *DeleteRoleAliasInput) (*DeleteRoleAliasOutput, error) { + req, out := c.DeleteRoleAliasRequest(input) return out, req.Send() } -// DetachThingPrincipalWithContext is the same as DetachThingPrincipal with the addition of +// DeleteRoleAliasWithContext is the same as DeleteRoleAlias with the addition of // the ability to pass a context and additional request options. // -// See DetachThingPrincipal for details on how to use this API operation. +// See DeleteRoleAlias for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DetachThingPrincipalWithContext(ctx aws.Context, input *DetachThingPrincipalInput, opts ...request.Option) (*DetachThingPrincipalOutput, error) { - req, out := c.DetachThingPrincipalRequest(input) +func (c *IoT) DeleteRoleAliasWithContext(ctx aws.Context, input *DeleteRoleAliasInput, opts ...request.Option) (*DeleteRoleAliasOutput, error) { + req, out := c.DeleteRoleAliasRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDisableTopicRule = "DisableTopicRule" +const opDeleteThing = "DeleteThing" -// DisableTopicRuleRequest generates a "aws/request.Request" representing the -// client's request for the DisableTopicRule operation. The "output" return +// DeleteThingRequest generates a "aws/request.Request" representing the +// client's request for the DeleteThing operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DisableTopicRule for more information on using the DisableTopicRule +// See DeleteThing for more information on using the DeleteThing // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DisableTopicRuleRequest method. -// req, resp := client.DisableTopicRuleRequest(params) +// // Example sending a request using the DeleteThingRequest method. +// req, resp := client.DeleteThingRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) DisableTopicRuleRequest(input *DisableTopicRuleInput) (req *request.Request, output *DisableTopicRuleOutput) { +func (c *IoT) DeleteThingRequest(input *DeleteThingInput) (req *request.Request, output *DeleteThingOutput) { op := &request.Operation{ - Name: opDisableTopicRule, - HTTPMethod: "POST", - HTTPPath: "/rules/{ruleName}/disable", + Name: opDeleteThing, + HTTPMethod: "DELETE", + HTTPPath: "/things/{thingName}", } if input == nil { - input = &DisableTopicRuleInput{} + input = &DeleteThingInput{} } - output = &DisableTopicRuleOutput{} + output = &DeleteThingOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// DisableTopicRule API operation for AWS IoT. +// DeleteThing API operation for AWS IoT. // -// Disables the specified rule. +// Deletes the specified thing. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation DisableTopicRule for usage and error information. +// API operation DeleteThing for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalException "InternalException" -// An unexpected error has occurred. +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeVersionConflictException "VersionConflictException" +// An exception thrown when the version of a thing passed to a command is different +// than the version specified with the --version parameter. // // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeServiceUnavailableException "ServiceUnavailableException" -// The service is temporarily unavailable. +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. // // * ErrCodeUnauthorizedException "UnauthorizedException" // You are not authorized to perform this operation. // -func (c *IoT) DisableTopicRule(input *DisableTopicRuleInput) (*DisableTopicRuleOutput, error) { - req, out := c.DisableTopicRuleRequest(input) +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) DeleteThing(input *DeleteThingInput) (*DeleteThingOutput, error) { + req, out := c.DeleteThingRequest(input) return out, req.Send() } -// DisableTopicRuleWithContext is the same as DisableTopicRule with the addition of +// DeleteThingWithContext is the same as DeleteThing with the addition of // the ability to pass a context and additional request options. // -// See DisableTopicRule for details on how to use this API operation. +// See DeleteThing for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) DisableTopicRuleWithContext(ctx aws.Context, input *DisableTopicRuleInput, opts ...request.Option) (*DisableTopicRuleOutput, error) { - req, out := c.DisableTopicRuleRequest(input) +func (c *IoT) DeleteThingWithContext(ctx aws.Context, input *DeleteThingInput, opts ...request.Option) (*DeleteThingOutput, error) { + req, out := c.DeleteThingRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opEnableTopicRule = "EnableTopicRule" +const opDeleteThingGroup = "DeleteThingGroup" -// EnableTopicRuleRequest generates a "aws/request.Request" representing the -// client's request for the EnableTopicRule operation. The "output" return +// DeleteThingGroupRequest generates a "aws/request.Request" representing the +// client's request for the DeleteThingGroup operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See EnableTopicRule for more information on using the EnableTopicRule +// See DeleteThingGroup for more information on using the DeleteThingGroup // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the EnableTopicRuleRequest method. -// req, resp := client.EnableTopicRuleRequest(params) +// // Example sending a request using the DeleteThingGroupRequest method. +// req, resp := client.DeleteThingGroupRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) EnableTopicRuleRequest(input *EnableTopicRuleInput) (req *request.Request, output *EnableTopicRuleOutput) { +func (c *IoT) DeleteThingGroupRequest(input *DeleteThingGroupInput) (req *request.Request, output *DeleteThingGroupOutput) { op := &request.Operation{ - Name: opEnableTopicRule, - HTTPMethod: "POST", - HTTPPath: "/rules/{ruleName}/enable", + Name: opDeleteThingGroup, + HTTPMethod: "DELETE", + HTTPPath: "/thing-groups/{thingGroupName}", } if input == nil { - input = &EnableTopicRuleInput{} + input = &DeleteThingGroupInput{} } - output = &EnableTopicRuleOutput{} + output = &DeleteThingGroupOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// EnableTopicRule API operation for AWS IoT. +// DeleteThingGroup API operation for AWS IoT. // -// Enables the specified rule. +// Deletes a thing group. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation EnableTopicRule for usage and error information. +// API operation DeleteThingGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalException "InternalException" -// An unexpected error has occurred. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeServiceUnavailableException "ServiceUnavailableException" -// The service is temporarily unavailable. +// * ErrCodeVersionConflictException "VersionConflictException" +// An exception thrown when the version of a thing passed to a command is different +// than the version specified with the --version parameter. // -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. // -func (c *IoT) EnableTopicRule(input *EnableTopicRuleInput) (*EnableTopicRuleOutput, error) { - req, out := c.EnableTopicRuleRequest(input) +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) DeleteThingGroup(input *DeleteThingGroupInput) (*DeleteThingGroupOutput, error) { + req, out := c.DeleteThingGroupRequest(input) return out, req.Send() } -// EnableTopicRuleWithContext is the same as EnableTopicRule with the addition of +// DeleteThingGroupWithContext is the same as DeleteThingGroup with the addition of // the ability to pass a context and additional request options. // -// See EnableTopicRule for details on how to use this API operation. +// See DeleteThingGroup for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) EnableTopicRuleWithContext(ctx aws.Context, input *EnableTopicRuleInput, opts ...request.Option) (*EnableTopicRuleOutput, error) { - req, out := c.EnableTopicRuleRequest(input) +func (c *IoT) DeleteThingGroupWithContext(ctx aws.Context, input *DeleteThingGroupInput, opts ...request.Option) (*DeleteThingGroupOutput, error) { + req, out := c.DeleteThingGroupRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetLoggingOptions = "GetLoggingOptions" +const opDeleteThingType = "DeleteThingType" -// GetLoggingOptionsRequest generates a "aws/request.Request" representing the -// client's request for the GetLoggingOptions operation. The "output" return +// DeleteThingTypeRequest generates a "aws/request.Request" representing the +// client's request for the DeleteThingType operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetLoggingOptions for more information on using the GetLoggingOptions +// See DeleteThingType for more information on using the DeleteThingType // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetLoggingOptionsRequest method. -// req, resp := client.GetLoggingOptionsRequest(params) +// // Example sending a request using the DeleteThingTypeRequest method. +// req, resp := client.DeleteThingTypeRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) GetLoggingOptionsRequest(input *GetLoggingOptionsInput) (req *request.Request, output *GetLoggingOptionsOutput) { +func (c *IoT) DeleteThingTypeRequest(input *DeleteThingTypeInput) (req *request.Request, output *DeleteThingTypeOutput) { op := &request.Operation{ - Name: opGetLoggingOptions, - HTTPMethod: "GET", - HTTPPath: "/loggingOptions", + Name: opDeleteThingType, + HTTPMethod: "DELETE", + HTTPPath: "/thing-types/{thingTypeName}", } if input == nil { - input = &GetLoggingOptionsInput{} + input = &DeleteThingTypeInput{} } - output = &GetLoggingOptionsOutput{} + output = &DeleteThingTypeOutput{} req = c.newRequest(op, input, output) return } -// GetLoggingOptions API operation for AWS IoT. +// DeleteThingType API operation for AWS IoT. // -// Gets the logging options. +// Deletes the specified thing type . You cannot delete a thing type if it has +// things associated with it. To delete a thing type, first mark it as deprecated +// by calling DeprecateThingType, then remove any associated things by calling +// UpdateThing to change the thing type on any associated thing, and finally +// use DeleteThingType to delete the thing type. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation GetLoggingOptions for usage and error information. +// API operation DeleteThingType for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalException "InternalException" -// An unexpected error has occurred. +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. // // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service is temporarily unavailable. // -func (c *IoT) GetLoggingOptions(input *GetLoggingOptionsInput) (*GetLoggingOptionsOutput, error) { - req, out := c.GetLoggingOptionsRequest(input) +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) DeleteThingType(input *DeleteThingTypeInput) (*DeleteThingTypeOutput, error) { + req, out := c.DeleteThingTypeRequest(input) return out, req.Send() } -// GetLoggingOptionsWithContext is the same as GetLoggingOptions with the addition of +// DeleteThingTypeWithContext is the same as DeleteThingType with the addition of // the ability to pass a context and additional request options. // -// See GetLoggingOptions for details on how to use this API operation. +// See DeleteThingType for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) GetLoggingOptionsWithContext(ctx aws.Context, input *GetLoggingOptionsInput, opts ...request.Option) (*GetLoggingOptionsOutput, error) { - req, out := c.GetLoggingOptionsRequest(input) +func (c *IoT) DeleteThingTypeWithContext(ctx aws.Context, input *DeleteThingTypeInput, opts ...request.Option) (*DeleteThingTypeOutput, error) { + req, out := c.DeleteThingTypeRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetPolicy = "GetPolicy" +const opDeleteTopicRule = "DeleteTopicRule" -// GetPolicyRequest generates a "aws/request.Request" representing the -// client's request for the GetPolicy operation. The "output" return +// DeleteTopicRuleRequest generates a "aws/request.Request" representing the +// client's request for the DeleteTopicRule operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetPolicy for more information on using the GetPolicy +// See DeleteTopicRule for more information on using the DeleteTopicRule // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetPolicyRequest method. -// req, resp := client.GetPolicyRequest(params) +// // Example sending a request using the DeleteTopicRuleRequest method. +// req, resp := client.DeleteTopicRuleRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput) { +func (c *IoT) DeleteTopicRuleRequest(input *DeleteTopicRuleInput) (req *request.Request, output *DeleteTopicRuleOutput) { op := &request.Operation{ - Name: opGetPolicy, - HTTPMethod: "GET", - HTTPPath: "/policies/{policyName}", + Name: opDeleteTopicRule, + HTTPMethod: "DELETE", + HTTPPath: "/rules/{ruleName}", } if input == nil { - input = &GetPolicyInput{} + input = &DeleteTopicRuleInput{} } - output = &GetPolicyOutput{} + output = &DeleteTopicRuleOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// GetPolicy API operation for AWS IoT. +// DeleteTopicRule API operation for AWS IoT. // -// Gets information about the specified policy with the policy document of the -// default version. +// Deletes the rule. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation GetPolicy for usage and error information. +// API operation DeleteTopicRule for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. +// * ErrCodeInternalException "InternalException" +// An unexpected error has occurred. // // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeThrottlingException "ThrottlingException" -// The rate exceeds the limit. -// -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. -// // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service is temporarily unavailable. // -// * ErrCodeInternalFailureException "InternalFailureException" -// An unexpected error has occurred. +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. // -func (c *IoT) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { - req, out := c.GetPolicyRequest(input) +func (c *IoT) DeleteTopicRule(input *DeleteTopicRuleInput) (*DeleteTopicRuleOutput, error) { + req, out := c.DeleteTopicRuleRequest(input) return out, req.Send() } -// GetPolicyWithContext is the same as GetPolicy with the addition of +// DeleteTopicRuleWithContext is the same as DeleteTopicRule with the addition of // the ability to pass a context and additional request options. // -// See GetPolicy for details on how to use this API operation. +// See DeleteTopicRule for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) GetPolicyWithContext(ctx aws.Context, input *GetPolicyInput, opts ...request.Option) (*GetPolicyOutput, error) { - req, out := c.GetPolicyRequest(input) +func (c *IoT) DeleteTopicRuleWithContext(ctx aws.Context, input *DeleteTopicRuleInput, opts ...request.Option) (*DeleteTopicRuleOutput, error) { + req, out := c.DeleteTopicRuleRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetPolicyVersion = "GetPolicyVersion" +const opDeleteV2LoggingLevel = "DeleteV2LoggingLevel" -// GetPolicyVersionRequest generates a "aws/request.Request" representing the -// client's request for the GetPolicyVersion operation. The "output" return +// DeleteV2LoggingLevelRequest generates a "aws/request.Request" representing the +// client's request for the DeleteV2LoggingLevel operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetPolicyVersion for more information on using the GetPolicyVersion +// See DeleteV2LoggingLevel for more information on using the DeleteV2LoggingLevel // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetPolicyVersionRequest method. -// req, resp := client.GetPolicyVersionRequest(params) +// // Example sending a request using the DeleteV2LoggingLevelRequest method. +// req, resp := client.DeleteV2LoggingLevelRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) GetPolicyVersionRequest(input *GetPolicyVersionInput) (req *request.Request, output *GetPolicyVersionOutput) { +func (c *IoT) DeleteV2LoggingLevelRequest(input *DeleteV2LoggingLevelInput) (req *request.Request, output *DeleteV2LoggingLevelOutput) { op := &request.Operation{ - Name: opGetPolicyVersion, - HTTPMethod: "GET", - HTTPPath: "/policies/{policyName}/version/{policyVersionId}", + Name: opDeleteV2LoggingLevel, + HTTPMethod: "DELETE", + HTTPPath: "/v2LoggingLevel", } if input == nil { - input = &GetPolicyVersionInput{} + input = &DeleteV2LoggingLevelInput{} } - output = &GetPolicyVersionOutput{} + output = &DeleteV2LoggingLevelOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// GetPolicyVersion API operation for AWS IoT. +// DeleteV2LoggingLevel API operation for AWS IoT. // -// Gets information about the specified policy version. +// Deletes a logging level. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation GetPolicyVersion for usage and error information. +// API operation DeleteV2LoggingLevel for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. +// * ErrCodeInternalException "InternalException" +// An unexpected error has occurred. // // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeThrottlingException "ThrottlingException" -// The rate exceeds the limit. -// -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. -// // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service is temporarily unavailable. // -// * ErrCodeInternalFailureException "InternalFailureException" -// An unexpected error has occurred. -// -func (c *IoT) GetPolicyVersion(input *GetPolicyVersionInput) (*GetPolicyVersionOutput, error) { - req, out := c.GetPolicyVersionRequest(input) +func (c *IoT) DeleteV2LoggingLevel(input *DeleteV2LoggingLevelInput) (*DeleteV2LoggingLevelOutput, error) { + req, out := c.DeleteV2LoggingLevelRequest(input) return out, req.Send() } -// GetPolicyVersionWithContext is the same as GetPolicyVersion with the addition of +// DeleteV2LoggingLevelWithContext is the same as DeleteV2LoggingLevel with the addition of // the ability to pass a context and additional request options. // -// See GetPolicyVersion for details on how to use this API operation. +// See DeleteV2LoggingLevel for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) GetPolicyVersionWithContext(ctx aws.Context, input *GetPolicyVersionInput, opts ...request.Option) (*GetPolicyVersionOutput, error) { - req, out := c.GetPolicyVersionRequest(input) +func (c *IoT) DeleteV2LoggingLevelWithContext(ctx aws.Context, input *DeleteV2LoggingLevelInput, opts ...request.Option) (*DeleteV2LoggingLevelOutput, error) { + req, out := c.DeleteV2LoggingLevelRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetRegistrationCode = "GetRegistrationCode" +const opDeprecateThingType = "DeprecateThingType" -// GetRegistrationCodeRequest generates a "aws/request.Request" representing the -// client's request for the GetRegistrationCode operation. The "output" return +// DeprecateThingTypeRequest generates a "aws/request.Request" representing the +// client's request for the DeprecateThingType operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetRegistrationCode for more information on using the GetRegistrationCode +// See DeprecateThingType for more information on using the DeprecateThingType // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetRegistrationCodeRequest method. -// req, resp := client.GetRegistrationCodeRequest(params) +// // Example sending a request using the DeprecateThingTypeRequest method. +// req, resp := client.DeprecateThingTypeRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) GetRegistrationCodeRequest(input *GetRegistrationCodeInput) (req *request.Request, output *GetRegistrationCodeOutput) { +func (c *IoT) DeprecateThingTypeRequest(input *DeprecateThingTypeInput) (req *request.Request, output *DeprecateThingTypeOutput) { op := &request.Operation{ - Name: opGetRegistrationCode, - HTTPMethod: "GET", - HTTPPath: "/registrationcode", + Name: opDeprecateThingType, + HTTPMethod: "POST", + HTTPPath: "/thing-types/{thingTypeName}/deprecate", } if input == nil { - input = &GetRegistrationCodeInput{} + input = &DeprecateThingTypeInput{} } - output = &GetRegistrationCodeOutput{} + output = &DeprecateThingTypeOutput{} req = c.newRequest(op, input, output) return } -// GetRegistrationCode API operation for AWS IoT. +// DeprecateThingType API operation for AWS IoT. // -// Gets a registration code used to register a CA certificate with AWS IoT. +// Deprecates a thing type. You can not associate new things with deprecated +// thing type. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation GetRegistrationCode for usage and error information. +// API operation DeprecateThingType for usage and error information. // // Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // @@ -3101,168 +3127,168 @@ func (c *IoT) GetRegistrationCodeRequest(input *GetRegistrationCodeInput) (req * // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -// * ErrCodeInvalidRequestException "InvalidRequestException" -// The request is not valid. -// -func (c *IoT) GetRegistrationCode(input *GetRegistrationCodeInput) (*GetRegistrationCodeOutput, error) { - req, out := c.GetRegistrationCodeRequest(input) +func (c *IoT) DeprecateThingType(input *DeprecateThingTypeInput) (*DeprecateThingTypeOutput, error) { + req, out := c.DeprecateThingTypeRequest(input) return out, req.Send() } -// GetRegistrationCodeWithContext is the same as GetRegistrationCode with the addition of +// DeprecateThingTypeWithContext is the same as DeprecateThingType with the addition of // the ability to pass a context and additional request options. // -// See GetRegistrationCode for details on how to use this API operation. +// See DeprecateThingType for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) GetRegistrationCodeWithContext(ctx aws.Context, input *GetRegistrationCodeInput, opts ...request.Option) (*GetRegistrationCodeOutput, error) { - req, out := c.GetRegistrationCodeRequest(input) +func (c *IoT) DeprecateThingTypeWithContext(ctx aws.Context, input *DeprecateThingTypeInput, opts ...request.Option) (*DeprecateThingTypeOutput, error) { + req, out := c.DeprecateThingTypeRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetTopicRule = "GetTopicRule" +const opDescribeAuthorizer = "DescribeAuthorizer" -// GetTopicRuleRequest generates a "aws/request.Request" representing the -// client's request for the GetTopicRule operation. The "output" return +// DescribeAuthorizerRequest generates a "aws/request.Request" representing the +// client's request for the DescribeAuthorizer operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetTopicRule for more information on using the GetTopicRule +// See DescribeAuthorizer for more information on using the DescribeAuthorizer // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetTopicRuleRequest method. -// req, resp := client.GetTopicRuleRequest(params) +// // Example sending a request using the DescribeAuthorizerRequest method. +// req, resp := client.DescribeAuthorizerRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) GetTopicRuleRequest(input *GetTopicRuleInput) (req *request.Request, output *GetTopicRuleOutput) { +func (c *IoT) DescribeAuthorizerRequest(input *DescribeAuthorizerInput) (req *request.Request, output *DescribeAuthorizerOutput) { op := &request.Operation{ - Name: opGetTopicRule, + Name: opDescribeAuthorizer, HTTPMethod: "GET", - HTTPPath: "/rules/{ruleName}", + HTTPPath: "/authorizer/{authorizerName}", } if input == nil { - input = &GetTopicRuleInput{} + input = &DescribeAuthorizerInput{} } - output = &GetTopicRuleOutput{} + output = &DescribeAuthorizerOutput{} req = c.newRequest(op, input, output) return } -// GetTopicRule API operation for AWS IoT. +// DescribeAuthorizer API operation for AWS IoT. // -// Gets information about the specified rule. +// Describes an authorizer. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation GetTopicRule for usage and error information. +// API operation DescribeAuthorizer for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalException "InternalException" -// An unexpected error has occurred. +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. // // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeServiceUnavailableException "ServiceUnavailableException" -// The service is temporarily unavailable. +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. // // * ErrCodeUnauthorizedException "UnauthorizedException" // You are not authorized to perform this operation. // -func (c *IoT) GetTopicRule(input *GetTopicRuleInput) (*GetTopicRuleOutput, error) { - req, out := c.GetTopicRuleRequest(input) +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) DescribeAuthorizer(input *DescribeAuthorizerInput) (*DescribeAuthorizerOutput, error) { + req, out := c.DescribeAuthorizerRequest(input) return out, req.Send() } -// GetTopicRuleWithContext is the same as GetTopicRule with the addition of +// DescribeAuthorizerWithContext is the same as DescribeAuthorizer with the addition of // the ability to pass a context and additional request options. // -// See GetTopicRule for details on how to use this API operation. +// See DescribeAuthorizer for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) GetTopicRuleWithContext(ctx aws.Context, input *GetTopicRuleInput, opts ...request.Option) (*GetTopicRuleOutput, error) { - req, out := c.GetTopicRuleRequest(input) +func (c *IoT) DescribeAuthorizerWithContext(ctx aws.Context, input *DescribeAuthorizerInput, opts ...request.Option) (*DescribeAuthorizerOutput, error) { + req, out := c.DescribeAuthorizerRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListCACertificates = "ListCACertificates" +const opDescribeCACertificate = "DescribeCACertificate" -// ListCACertificatesRequest generates a "aws/request.Request" representing the -// client's request for the ListCACertificates operation. The "output" return +// DescribeCACertificateRequest generates a "aws/request.Request" representing the +// client's request for the DescribeCACertificate operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListCACertificates for more information on using the ListCACertificates +// See DescribeCACertificate for more information on using the DescribeCACertificate // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListCACertificatesRequest method. -// req, resp := client.ListCACertificatesRequest(params) +// // Example sending a request using the DescribeCACertificateRequest method. +// req, resp := client.DescribeCACertificateRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) ListCACertificatesRequest(input *ListCACertificatesInput) (req *request.Request, output *ListCACertificatesOutput) { +func (c *IoT) DescribeCACertificateRequest(input *DescribeCACertificateInput) (req *request.Request, output *DescribeCACertificateOutput) { op := &request.Operation{ - Name: opListCACertificates, + Name: opDescribeCACertificate, HTTPMethod: "GET", - HTTPPath: "/cacertificates", + HTTPPath: "/cacertificate/{caCertificateId}", } if input == nil { - input = &ListCACertificatesInput{} + input = &DescribeCACertificateInput{} } - output = &ListCACertificatesOutput{} + output = &DescribeCACertificateOutput{} req = c.newRequest(op, input, output) return } -// ListCACertificates API operation for AWS IoT. -// -// Lists the CA certificates registered for your AWS account. +// DescribeCACertificate API operation for AWS IoT. // -// The results are paginated with a default page size of 25. You can use the -// returned marker to retrieve additional results. +// Describes a registered CA certificate. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation ListCACertificates for usage and error information. +// API operation DescribeCACertificate for usage and error information. // // Returned Error Codes: // * ErrCodeInvalidRequestException "InvalidRequestException" @@ -3280,80 +3306,80 @@ func (c *IoT) ListCACertificatesRequest(input *ListCACertificatesInput) (req *re // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) ListCACertificates(input *ListCACertificatesInput) (*ListCACertificatesOutput, error) { - req, out := c.ListCACertificatesRequest(input) +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) DescribeCACertificate(input *DescribeCACertificateInput) (*DescribeCACertificateOutput, error) { + req, out := c.DescribeCACertificateRequest(input) return out, req.Send() } -// ListCACertificatesWithContext is the same as ListCACertificates with the addition of +// DescribeCACertificateWithContext is the same as DescribeCACertificate with the addition of // the ability to pass a context and additional request options. // -// See ListCACertificates for details on how to use this API operation. +// See DescribeCACertificate for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) ListCACertificatesWithContext(ctx aws.Context, input *ListCACertificatesInput, opts ...request.Option) (*ListCACertificatesOutput, error) { - req, out := c.ListCACertificatesRequest(input) +func (c *IoT) DescribeCACertificateWithContext(ctx aws.Context, input *DescribeCACertificateInput, opts ...request.Option) (*DescribeCACertificateOutput, error) { + req, out := c.DescribeCACertificateRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListCertificates = "ListCertificates" +const opDescribeCertificate = "DescribeCertificate" -// ListCertificatesRequest generates a "aws/request.Request" representing the -// client's request for the ListCertificates operation. The "output" return +// DescribeCertificateRequest generates a "aws/request.Request" representing the +// client's request for the DescribeCertificate operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListCertificates for more information on using the ListCertificates +// See DescribeCertificate for more information on using the DescribeCertificate // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListCertificatesRequest method. -// req, resp := client.ListCertificatesRequest(params) +// // Example sending a request using the DescribeCertificateRequest method. +// req, resp := client.DescribeCertificateRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) ListCertificatesRequest(input *ListCertificatesInput) (req *request.Request, output *ListCertificatesOutput) { +func (c *IoT) DescribeCertificateRequest(input *DescribeCertificateInput) (req *request.Request, output *DescribeCertificateOutput) { op := &request.Operation{ - Name: opListCertificates, + Name: opDescribeCertificate, HTTPMethod: "GET", - HTTPPath: "/certificates", + HTTPPath: "/certificates/{certificateId}", } if input == nil { - input = &ListCertificatesInput{} + input = &DescribeCertificateInput{} } - output = &ListCertificatesOutput{} + output = &DescribeCertificateOutput{} req = c.newRequest(op, input, output) return } -// ListCertificates API operation for AWS IoT. -// -// Lists the certificates registered in your AWS account. +// DescribeCertificate API operation for AWS IoT. // -// The results are paginated with a default page size of 25. You can use the -// returned marker to retrieve additional results. +// Gets information about the specified certificate. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation ListCertificates for usage and error information. +// API operation DescribeCertificate for usage and error information. // // Returned Error Codes: // * ErrCodeInvalidRequestException "InvalidRequestException" @@ -3371,79 +3397,85 @@ func (c *IoT) ListCertificatesRequest(input *ListCertificatesInput) (req *reques // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) ListCertificates(input *ListCertificatesInput) (*ListCertificatesOutput, error) { - req, out := c.ListCertificatesRequest(input) +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) DescribeCertificate(input *DescribeCertificateInput) (*DescribeCertificateOutput, error) { + req, out := c.DescribeCertificateRequest(input) return out, req.Send() } -// ListCertificatesWithContext is the same as ListCertificates with the addition of +// DescribeCertificateWithContext is the same as DescribeCertificate with the addition of // the ability to pass a context and additional request options. // -// See ListCertificates for details on how to use this API operation. +// See DescribeCertificate for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) ListCertificatesWithContext(ctx aws.Context, input *ListCertificatesInput, opts ...request.Option) (*ListCertificatesOutput, error) { - req, out := c.ListCertificatesRequest(input) +func (c *IoT) DescribeCertificateWithContext(ctx aws.Context, input *DescribeCertificateInput, opts ...request.Option) (*DescribeCertificateOutput, error) { + req, out := c.DescribeCertificateRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListCertificatesByCA = "ListCertificatesByCA" +const opDescribeDefaultAuthorizer = "DescribeDefaultAuthorizer" -// ListCertificatesByCARequest generates a "aws/request.Request" representing the -// client's request for the ListCertificatesByCA operation. The "output" return +// DescribeDefaultAuthorizerRequest generates a "aws/request.Request" representing the +// client's request for the DescribeDefaultAuthorizer operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListCertificatesByCA for more information on using the ListCertificatesByCA +// See DescribeDefaultAuthorizer for more information on using the DescribeDefaultAuthorizer // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListCertificatesByCARequest method. -// req, resp := client.ListCertificatesByCARequest(params) +// // Example sending a request using the DescribeDefaultAuthorizerRequest method. +// req, resp := client.DescribeDefaultAuthorizerRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) ListCertificatesByCARequest(input *ListCertificatesByCAInput) (req *request.Request, output *ListCertificatesByCAOutput) { +func (c *IoT) DescribeDefaultAuthorizerRequest(input *DescribeDefaultAuthorizerInput) (req *request.Request, output *DescribeDefaultAuthorizerOutput) { op := &request.Operation{ - Name: opListCertificatesByCA, + Name: opDescribeDefaultAuthorizer, HTTPMethod: "GET", - HTTPPath: "/certificates-by-ca/{caCertificateId}", + HTTPPath: "/default-authorizer", } if input == nil { - input = &ListCertificatesByCAInput{} + input = &DescribeDefaultAuthorizerInput{} } - output = &ListCertificatesByCAOutput{} + output = &DescribeDefaultAuthorizerOutput{} req = c.newRequest(op, input, output) return } -// ListCertificatesByCA API operation for AWS IoT. +// DescribeDefaultAuthorizer API operation for AWS IoT. // -// List the device certificates signed by the specified CA certificate. +// Describes the default authorizer. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation ListCertificatesByCA for usage and error information. +// API operation DescribeDefaultAuthorizer for usage and error information. // // Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // @@ -3459,258 +3491,243 @@ func (c *IoT) ListCertificatesByCARequest(input *ListCertificatesByCAInput) (req // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) ListCertificatesByCA(input *ListCertificatesByCAInput) (*ListCertificatesByCAOutput, error) { - req, out := c.ListCertificatesByCARequest(input) +func (c *IoT) DescribeDefaultAuthorizer(input *DescribeDefaultAuthorizerInput) (*DescribeDefaultAuthorizerOutput, error) { + req, out := c.DescribeDefaultAuthorizerRequest(input) return out, req.Send() } -// ListCertificatesByCAWithContext is the same as ListCertificatesByCA with the addition of +// DescribeDefaultAuthorizerWithContext is the same as DescribeDefaultAuthorizer with the addition of // the ability to pass a context and additional request options. // -// See ListCertificatesByCA for details on how to use this API operation. +// See DescribeDefaultAuthorizer for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) ListCertificatesByCAWithContext(ctx aws.Context, input *ListCertificatesByCAInput, opts ...request.Option) (*ListCertificatesByCAOutput, error) { - req, out := c.ListCertificatesByCARequest(input) +func (c *IoT) DescribeDefaultAuthorizerWithContext(ctx aws.Context, input *DescribeDefaultAuthorizerInput, opts ...request.Option) (*DescribeDefaultAuthorizerOutput, error) { + req, out := c.DescribeDefaultAuthorizerRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListOutgoingCertificates = "ListOutgoingCertificates" +const opDescribeEndpoint = "DescribeEndpoint" -// ListOutgoingCertificatesRequest generates a "aws/request.Request" representing the -// client's request for the ListOutgoingCertificates operation. The "output" return +// DescribeEndpointRequest generates a "aws/request.Request" representing the +// client's request for the DescribeEndpoint operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListOutgoingCertificates for more information on using the ListOutgoingCertificates +// See DescribeEndpoint for more information on using the DescribeEndpoint // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListOutgoingCertificatesRequest method. -// req, resp := client.ListOutgoingCertificatesRequest(params) +// // Example sending a request using the DescribeEndpointRequest method. +// req, resp := client.DescribeEndpointRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) ListOutgoingCertificatesRequest(input *ListOutgoingCertificatesInput) (req *request.Request, output *ListOutgoingCertificatesOutput) { +func (c *IoT) DescribeEndpointRequest(input *DescribeEndpointInput) (req *request.Request, output *DescribeEndpointOutput) { op := &request.Operation{ - Name: opListOutgoingCertificates, + Name: opDescribeEndpoint, HTTPMethod: "GET", - HTTPPath: "/certificates-out-going", + HTTPPath: "/endpoint", } if input == nil { - input = &ListOutgoingCertificatesInput{} + input = &DescribeEndpointInput{} } - output = &ListOutgoingCertificatesOutput{} + output = &DescribeEndpointOutput{} req = c.newRequest(op, input, output) return } -// ListOutgoingCertificates API operation for AWS IoT. +// DescribeEndpoint API operation for AWS IoT. // -// Lists certificates that are being transfered but not yet accepted. +// Returns a unique endpoint specific to the AWS account making the call. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation ListOutgoingCertificates for usage and error information. +// API operation DescribeEndpoint for usage and error information. // // Returned Error Codes: +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeThrottlingException "ThrottlingException" -// The rate exceeds the limit. -// // * ErrCodeUnauthorizedException "UnauthorizedException" // You are not authorized to perform this operation. // -// * ErrCodeServiceUnavailableException "ServiceUnavailableException" -// The service is temporarily unavailable. -// -// * ErrCodeInternalFailureException "InternalFailureException" -// An unexpected error has occurred. +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. // -func (c *IoT) ListOutgoingCertificates(input *ListOutgoingCertificatesInput) (*ListOutgoingCertificatesOutput, error) { - req, out := c.ListOutgoingCertificatesRequest(input) +func (c *IoT) DescribeEndpoint(input *DescribeEndpointInput) (*DescribeEndpointOutput, error) { + req, out := c.DescribeEndpointRequest(input) return out, req.Send() } -// ListOutgoingCertificatesWithContext is the same as ListOutgoingCertificates with the addition of +// DescribeEndpointWithContext is the same as DescribeEndpoint with the addition of // the ability to pass a context and additional request options. // -// See ListOutgoingCertificates for details on how to use this API operation. +// See DescribeEndpoint for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) ListOutgoingCertificatesWithContext(ctx aws.Context, input *ListOutgoingCertificatesInput, opts ...request.Option) (*ListOutgoingCertificatesOutput, error) { - req, out := c.ListOutgoingCertificatesRequest(input) +func (c *IoT) DescribeEndpointWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...request.Option) (*DescribeEndpointOutput, error) { + req, out := c.DescribeEndpointRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListPolicies = "ListPolicies" +const opDescribeEventConfigurations = "DescribeEventConfigurations" -// ListPoliciesRequest generates a "aws/request.Request" representing the -// client's request for the ListPolicies operation. The "output" return +// DescribeEventConfigurationsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeEventConfigurations operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListPolicies for more information on using the ListPolicies +// See DescribeEventConfigurations for more information on using the DescribeEventConfigurations // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListPoliciesRequest method. -// req, resp := client.ListPoliciesRequest(params) +// // Example sending a request using the DescribeEventConfigurationsRequest method. +// req, resp := client.DescribeEventConfigurationsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) ListPoliciesRequest(input *ListPoliciesInput) (req *request.Request, output *ListPoliciesOutput) { +func (c *IoT) DescribeEventConfigurationsRequest(input *DescribeEventConfigurationsInput) (req *request.Request, output *DescribeEventConfigurationsOutput) { op := &request.Operation{ - Name: opListPolicies, + Name: opDescribeEventConfigurations, HTTPMethod: "GET", - HTTPPath: "/policies", + HTTPPath: "/event-configurations", } if input == nil { - input = &ListPoliciesInput{} + input = &DescribeEventConfigurationsInput{} } - output = &ListPoliciesOutput{} + output = &DescribeEventConfigurationsOutput{} req = c.newRequest(op, input, output) return } -// ListPolicies API operation for AWS IoT. +// DescribeEventConfigurations API operation for AWS IoT. // -// Lists your policies. +// Describes event configurations. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation ListPolicies for usage and error information. +// API operation DescribeEventConfigurations for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidRequestException "InvalidRequestException" -// The request is not valid. +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. // // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. -// -// * ErrCodeServiceUnavailableException "ServiceUnavailableException" -// The service is temporarily unavailable. -// -// * ErrCodeInternalFailureException "InternalFailureException" -// An unexpected error has occurred. -// -func (c *IoT) ListPolicies(input *ListPoliciesInput) (*ListPoliciesOutput, error) { - req, out := c.ListPoliciesRequest(input) +func (c *IoT) DescribeEventConfigurations(input *DescribeEventConfigurationsInput) (*DescribeEventConfigurationsOutput, error) { + req, out := c.DescribeEventConfigurationsRequest(input) return out, req.Send() } -// ListPoliciesWithContext is the same as ListPolicies with the addition of +// DescribeEventConfigurationsWithContext is the same as DescribeEventConfigurations with the addition of // the ability to pass a context and additional request options. // -// See ListPolicies for details on how to use this API operation. +// See DescribeEventConfigurations for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) ListPoliciesWithContext(ctx aws.Context, input *ListPoliciesInput, opts ...request.Option) (*ListPoliciesOutput, error) { - req, out := c.ListPoliciesRequest(input) +func (c *IoT) DescribeEventConfigurationsWithContext(ctx aws.Context, input *DescribeEventConfigurationsInput, opts ...request.Option) (*DescribeEventConfigurationsOutput, error) { + req, out := c.DescribeEventConfigurationsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListPolicyPrincipals = "ListPolicyPrincipals" +const opDescribeIndex = "DescribeIndex" -// ListPolicyPrincipalsRequest generates a "aws/request.Request" representing the -// client's request for the ListPolicyPrincipals operation. The "output" return +// DescribeIndexRequest generates a "aws/request.Request" representing the +// client's request for the DescribeIndex operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListPolicyPrincipals for more information on using the ListPolicyPrincipals +// See DescribeIndex for more information on using the DescribeIndex // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListPolicyPrincipalsRequest method. -// req, resp := client.ListPolicyPrincipalsRequest(params) +// // Example sending a request using the DescribeIndexRequest method. +// req, resp := client.DescribeIndexRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) ListPolicyPrincipalsRequest(input *ListPolicyPrincipalsInput) (req *request.Request, output *ListPolicyPrincipalsOutput) { +func (c *IoT) DescribeIndexRequest(input *DescribeIndexInput) (req *request.Request, output *DescribeIndexOutput) { op := &request.Operation{ - Name: opListPolicyPrincipals, + Name: opDescribeIndex, HTTPMethod: "GET", - HTTPPath: "/policy-principals", + HTTPPath: "/indices/{indexName}", } if input == nil { - input = &ListPolicyPrincipalsInput{} + input = &DescribeIndexInput{} } - output = &ListPolicyPrincipalsOutput{} + output = &DescribeIndexOutput{} req = c.newRequest(op, input, output) return } -// ListPolicyPrincipals API operation for AWS IoT. +// DescribeIndex API operation for AWS IoT. // -// Lists the principals associated with the specified policy. +// Describes a search index. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation ListPolicyPrincipals for usage and error information. +// API operation DescribeIndex for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // @@ -3726,260 +3743,250 @@ func (c *IoT) ListPolicyPrincipalsRequest(input *ListPolicyPrincipalsInput) (req // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) ListPolicyPrincipals(input *ListPolicyPrincipalsInput) (*ListPolicyPrincipalsOutput, error) { - req, out := c.ListPolicyPrincipalsRequest(input) +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) DescribeIndex(input *DescribeIndexInput) (*DescribeIndexOutput, error) { + req, out := c.DescribeIndexRequest(input) return out, req.Send() } -// ListPolicyPrincipalsWithContext is the same as ListPolicyPrincipals with the addition of +// DescribeIndexWithContext is the same as DescribeIndex with the addition of // the ability to pass a context and additional request options. // -// See ListPolicyPrincipals for details on how to use this API operation. +// See DescribeIndex for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) ListPolicyPrincipalsWithContext(ctx aws.Context, input *ListPolicyPrincipalsInput, opts ...request.Option) (*ListPolicyPrincipalsOutput, error) { - req, out := c.ListPolicyPrincipalsRequest(input) +func (c *IoT) DescribeIndexWithContext(ctx aws.Context, input *DescribeIndexInput, opts ...request.Option) (*DescribeIndexOutput, error) { + req, out := c.DescribeIndexRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListPolicyVersions = "ListPolicyVersions" +const opDescribeJob = "DescribeJob" -// ListPolicyVersionsRequest generates a "aws/request.Request" representing the -// client's request for the ListPolicyVersions operation. The "output" return +// DescribeJobRequest generates a "aws/request.Request" representing the +// client's request for the DescribeJob operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListPolicyVersions for more information on using the ListPolicyVersions +// See DescribeJob for more information on using the DescribeJob // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListPolicyVersionsRequest method. -// req, resp := client.ListPolicyVersionsRequest(params) +// // Example sending a request using the DescribeJobRequest method. +// req, resp := client.DescribeJobRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) ListPolicyVersionsRequest(input *ListPolicyVersionsInput) (req *request.Request, output *ListPolicyVersionsOutput) { +func (c *IoT) DescribeJobRequest(input *DescribeJobInput) (req *request.Request, output *DescribeJobOutput) { op := &request.Operation{ - Name: opListPolicyVersions, + Name: opDescribeJob, HTTPMethod: "GET", - HTTPPath: "/policies/{policyName}/version", + HTTPPath: "/jobs/{jobId}", } if input == nil { - input = &ListPolicyVersionsInput{} + input = &DescribeJobInput{} } - output = &ListPolicyVersionsOutput{} + output = &DescribeJobOutput{} req = c.newRequest(op, input, output) return } -// ListPolicyVersions API operation for AWS IoT. +// DescribeJob API operation for AWS IoT. // -// Lists the versions of the specified policy and identifies the default version. +// Describes a job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation ListPolicyVersions for usage and error information. +// API operation DescribeJob for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. -// // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service is temporarily unavailable. // -// * ErrCodeInternalFailureException "InternalFailureException" -// An unexpected error has occurred. -// -func (c *IoT) ListPolicyVersions(input *ListPolicyVersionsInput) (*ListPolicyVersionsOutput, error) { - req, out := c.ListPolicyVersionsRequest(input) +func (c *IoT) DescribeJob(input *DescribeJobInput) (*DescribeJobOutput, error) { + req, out := c.DescribeJobRequest(input) return out, req.Send() } -// ListPolicyVersionsWithContext is the same as ListPolicyVersions with the addition of +// DescribeJobWithContext is the same as DescribeJob with the addition of // the ability to pass a context and additional request options. // -// See ListPolicyVersions for details on how to use this API operation. +// See DescribeJob for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) ListPolicyVersionsWithContext(ctx aws.Context, input *ListPolicyVersionsInput, opts ...request.Option) (*ListPolicyVersionsOutput, error) { - req, out := c.ListPolicyVersionsRequest(input) +func (c *IoT) DescribeJobWithContext(ctx aws.Context, input *DescribeJobInput, opts ...request.Option) (*DescribeJobOutput, error) { + req, out := c.DescribeJobRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListPrincipalPolicies = "ListPrincipalPolicies" +const opDescribeJobExecution = "DescribeJobExecution" -// ListPrincipalPoliciesRequest generates a "aws/request.Request" representing the -// client's request for the ListPrincipalPolicies operation. The "output" return +// DescribeJobExecutionRequest generates a "aws/request.Request" representing the +// client's request for the DescribeJobExecution operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListPrincipalPolicies for more information on using the ListPrincipalPolicies +// See DescribeJobExecution for more information on using the DescribeJobExecution // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListPrincipalPoliciesRequest method. -// req, resp := client.ListPrincipalPoliciesRequest(params) +// // Example sending a request using the DescribeJobExecutionRequest method. +// req, resp := client.DescribeJobExecutionRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) ListPrincipalPoliciesRequest(input *ListPrincipalPoliciesInput) (req *request.Request, output *ListPrincipalPoliciesOutput) { +func (c *IoT) DescribeJobExecutionRequest(input *DescribeJobExecutionInput) (req *request.Request, output *DescribeJobExecutionOutput) { op := &request.Operation{ - Name: opListPrincipalPolicies, + Name: opDescribeJobExecution, HTTPMethod: "GET", - HTTPPath: "/principal-policies", + HTTPPath: "/things/{thingName}/jobs/{jobId}", } if input == nil { - input = &ListPrincipalPoliciesInput{} + input = &DescribeJobExecutionInput{} } - output = &ListPrincipalPoliciesOutput{} + output = &DescribeJobExecutionOutput{} req = c.newRequest(op, input, output) return } -// ListPrincipalPolicies API operation for AWS IoT. +// DescribeJobExecution API operation for AWS IoT. // -// Lists the policies attached to the specified principal. If you use an Cognito -// identity, the ID must be in AmazonCognito Identity format (http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html#API_GetCredentialsForIdentity_RequestSyntax). +// Describes a job execution. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation ListPrincipalPolicies for usage and error information. +// API operation DescribeJobExecution for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. -// // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service is temporarily unavailable. // -// * ErrCodeInternalFailureException "InternalFailureException" -// An unexpected error has occurred. -// -func (c *IoT) ListPrincipalPolicies(input *ListPrincipalPoliciesInput) (*ListPrincipalPoliciesOutput, error) { - req, out := c.ListPrincipalPoliciesRequest(input) +func (c *IoT) DescribeJobExecution(input *DescribeJobExecutionInput) (*DescribeJobExecutionOutput, error) { + req, out := c.DescribeJobExecutionRequest(input) return out, req.Send() } -// ListPrincipalPoliciesWithContext is the same as ListPrincipalPolicies with the addition of +// DescribeJobExecutionWithContext is the same as DescribeJobExecution with the addition of // the ability to pass a context and additional request options. // -// See ListPrincipalPolicies for details on how to use this API operation. +// See DescribeJobExecution for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) ListPrincipalPoliciesWithContext(ctx aws.Context, input *ListPrincipalPoliciesInput, opts ...request.Option) (*ListPrincipalPoliciesOutput, error) { - req, out := c.ListPrincipalPoliciesRequest(input) +func (c *IoT) DescribeJobExecutionWithContext(ctx aws.Context, input *DescribeJobExecutionInput, opts ...request.Option) (*DescribeJobExecutionOutput, error) { + req, out := c.DescribeJobExecutionRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListPrincipalThings = "ListPrincipalThings" +const opDescribeRoleAlias = "DescribeRoleAlias" -// ListPrincipalThingsRequest generates a "aws/request.Request" representing the -// client's request for the ListPrincipalThings operation. The "output" return +// DescribeRoleAliasRequest generates a "aws/request.Request" representing the +// client's request for the DescribeRoleAlias operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListPrincipalThings for more information on using the ListPrincipalThings +// See DescribeRoleAlias for more information on using the DescribeRoleAlias // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListPrincipalThingsRequest method. -// req, resp := client.ListPrincipalThingsRequest(params) +// // Example sending a request using the DescribeRoleAliasRequest method. +// req, resp := client.DescribeRoleAliasRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) ListPrincipalThingsRequest(input *ListPrincipalThingsInput) (req *request.Request, output *ListPrincipalThingsOutput) { +func (c *IoT) DescribeRoleAliasRequest(input *DescribeRoleAliasInput) (req *request.Request, output *DescribeRoleAliasOutput) { op := &request.Operation{ - Name: opListPrincipalThings, + Name: opDescribeRoleAlias, HTTPMethod: "GET", - HTTPPath: "/principals/things", + HTTPPath: "/role-aliases/{roleAlias}", } if input == nil { - input = &ListPrincipalThingsInput{} + input = &DescribeRoleAliasInput{} } - output = &ListPrincipalThingsOutput{} + output = &DescribeRoleAliasOutput{} req = c.newRequest(op, input, output) return } -// ListPrincipalThings API operation for AWS IoT. +// DescribeRoleAlias API operation for AWS IoT. // -// Lists the things associated with the specified principal. +// Describes a role alias. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation ListPrincipalThings for usage and error information. +// API operation DescribeRoleAlias for usage and error information. // // Returned Error Codes: // * ErrCodeInvalidRequestException "InvalidRequestException" @@ -4000,79 +4007,82 @@ func (c *IoT) ListPrincipalThingsRequest(input *ListPrincipalThingsInput) (req * // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource does not exist. // -func (c *IoT) ListPrincipalThings(input *ListPrincipalThingsInput) (*ListPrincipalThingsOutput, error) { - req, out := c.ListPrincipalThingsRequest(input) +func (c *IoT) DescribeRoleAlias(input *DescribeRoleAliasInput) (*DescribeRoleAliasOutput, error) { + req, out := c.DescribeRoleAliasRequest(input) return out, req.Send() } -// ListPrincipalThingsWithContext is the same as ListPrincipalThings with the addition of +// DescribeRoleAliasWithContext is the same as DescribeRoleAlias with the addition of // the ability to pass a context and additional request options. // -// See ListPrincipalThings for details on how to use this API operation. +// See DescribeRoleAlias for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) ListPrincipalThingsWithContext(ctx aws.Context, input *ListPrincipalThingsInput, opts ...request.Option) (*ListPrincipalThingsOutput, error) { - req, out := c.ListPrincipalThingsRequest(input) +func (c *IoT) DescribeRoleAliasWithContext(ctx aws.Context, input *DescribeRoleAliasInput, opts ...request.Option) (*DescribeRoleAliasOutput, error) { + req, out := c.DescribeRoleAliasRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListThingPrincipals = "ListThingPrincipals" +const opDescribeThing = "DescribeThing" -// ListThingPrincipalsRequest generates a "aws/request.Request" representing the -// client's request for the ListThingPrincipals operation. The "output" return +// DescribeThingRequest generates a "aws/request.Request" representing the +// client's request for the DescribeThing operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListThingPrincipals for more information on using the ListThingPrincipals +// See DescribeThing for more information on using the DescribeThing // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListThingPrincipalsRequest method. -// req, resp := client.ListThingPrincipalsRequest(params) +// // Example sending a request using the DescribeThingRequest method. +// req, resp := client.DescribeThingRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) ListThingPrincipalsRequest(input *ListThingPrincipalsInput) (req *request.Request, output *ListThingPrincipalsOutput) { +func (c *IoT) DescribeThingRequest(input *DescribeThingInput) (req *request.Request, output *DescribeThingOutput) { op := &request.Operation{ - Name: opListThingPrincipals, + Name: opDescribeThing, HTTPMethod: "GET", - HTTPPath: "/things/{thingName}/principals", + HTTPPath: "/things/{thingName}", } if input == nil { - input = &ListThingPrincipalsInput{} + input = &DescribeThingInput{} } - output = &ListThingPrincipalsOutput{} + output = &DescribeThingOutput{} req = c.newRequest(op, input, output) return } -// ListThingPrincipals API operation for AWS IoT. +// DescribeThing API operation for AWS IoT. // -// Lists the principals associated with the specified thing. +// Gets information about the specified thing. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation ListThingPrincipals for usage and error information. +// API operation DescribeThing for usage and error information. // // Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // @@ -4088,80 +4098,77 @@ func (c *IoT) ListThingPrincipalsRequest(input *ListThingPrincipalsInput) (req * // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// -func (c *IoT) ListThingPrincipals(input *ListThingPrincipalsInput) (*ListThingPrincipalsOutput, error) { - req, out := c.ListThingPrincipalsRequest(input) +func (c *IoT) DescribeThing(input *DescribeThingInput) (*DescribeThingOutput, error) { + req, out := c.DescribeThingRequest(input) return out, req.Send() } -// ListThingPrincipalsWithContext is the same as ListThingPrincipals with the addition of +// DescribeThingWithContext is the same as DescribeThing with the addition of // the ability to pass a context and additional request options. // -// See ListThingPrincipals for details on how to use this API operation. +// See DescribeThing for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) ListThingPrincipalsWithContext(ctx aws.Context, input *ListThingPrincipalsInput, opts ...request.Option) (*ListThingPrincipalsOutput, error) { - req, out := c.ListThingPrincipalsRequest(input) +func (c *IoT) DescribeThingWithContext(ctx aws.Context, input *DescribeThingInput, opts ...request.Option) (*DescribeThingOutput, error) { + req, out := c.DescribeThingRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListThingTypes = "ListThingTypes" +const opDescribeThingGroup = "DescribeThingGroup" -// ListThingTypesRequest generates a "aws/request.Request" representing the -// client's request for the ListThingTypes operation. The "output" return +// DescribeThingGroupRequest generates a "aws/request.Request" representing the +// client's request for the DescribeThingGroup operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListThingTypes for more information on using the ListThingTypes +// See DescribeThingGroup for more information on using the DescribeThingGroup // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListThingTypesRequest method. -// req, resp := client.ListThingTypesRequest(params) +// // Example sending a request using the DescribeThingGroupRequest method. +// req, resp := client.DescribeThingGroupRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) ListThingTypesRequest(input *ListThingTypesInput) (req *request.Request, output *ListThingTypesOutput) { +func (c *IoT) DescribeThingGroupRequest(input *DescribeThingGroupInput) (req *request.Request, output *DescribeThingGroupOutput) { op := &request.Operation{ - Name: opListThingTypes, + Name: opDescribeThingGroup, HTTPMethod: "GET", - HTTPPath: "/thing-types", + HTTPPath: "/thing-groups/{thingGroupName}", } if input == nil { - input = &ListThingTypesInput{} + input = &DescribeThingGroupInput{} } - output = &ListThingTypesOutput{} + output = &DescribeThingGroupOutput{} req = c.newRequest(op, input, output) return } -// ListThingTypes API operation for AWS IoT. +// DescribeThingGroup API operation for AWS IoT. // -// Lists the existing thing types. +// Describe a thing group. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation ListThingTypes for usage and error information. +// API operation DescribeThingGroup for usage and error information. // // Returned Error Codes: // * ErrCodeInvalidRequestException "InvalidRequestException" @@ -4170,89 +4177,83 @@ func (c *IoT) ListThingTypesRequest(input *ListThingTypesInput) (req *request.Re // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. -// -// * ErrCodeServiceUnavailableException "ServiceUnavailableException" -// The service is temporarily unavailable. -// // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) ListThingTypes(input *ListThingTypesInput) (*ListThingTypesOutput, error) { - req, out := c.ListThingTypesRequest(input) +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) DescribeThingGroup(input *DescribeThingGroupInput) (*DescribeThingGroupOutput, error) { + req, out := c.DescribeThingGroupRequest(input) return out, req.Send() } -// ListThingTypesWithContext is the same as ListThingTypes with the addition of +// DescribeThingGroupWithContext is the same as DescribeThingGroup with the addition of // the ability to pass a context and additional request options. // -// See ListThingTypes for details on how to use this API operation. +// See DescribeThingGroup for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) ListThingTypesWithContext(ctx aws.Context, input *ListThingTypesInput, opts ...request.Option) (*ListThingTypesOutput, error) { - req, out := c.ListThingTypesRequest(input) +func (c *IoT) DescribeThingGroupWithContext(ctx aws.Context, input *DescribeThingGroupInput, opts ...request.Option) (*DescribeThingGroupOutput, error) { + req, out := c.DescribeThingGroupRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListThings = "ListThings" +const opDescribeThingRegistrationTask = "DescribeThingRegistrationTask" -// ListThingsRequest generates a "aws/request.Request" representing the -// client's request for the ListThings operation. The "output" return +// DescribeThingRegistrationTaskRequest generates a "aws/request.Request" representing the +// client's request for the DescribeThingRegistrationTask operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListThings for more information on using the ListThings +// See DescribeThingRegistrationTask for more information on using the DescribeThingRegistrationTask // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListThingsRequest method. -// req, resp := client.ListThingsRequest(params) +// // Example sending a request using the DescribeThingRegistrationTaskRequest method. +// req, resp := client.DescribeThingRegistrationTaskRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) ListThingsRequest(input *ListThingsInput) (req *request.Request, output *ListThingsOutput) { +func (c *IoT) DescribeThingRegistrationTaskRequest(input *DescribeThingRegistrationTaskInput) (req *request.Request, output *DescribeThingRegistrationTaskOutput) { op := &request.Operation{ - Name: opListThings, + Name: opDescribeThingRegistrationTask, HTTPMethod: "GET", - HTTPPath: "/things", + HTTPPath: "/thing-registration-tasks/{taskId}", } if input == nil { - input = &ListThingsInput{} + input = &DescribeThingRegistrationTaskInput{} } - output = &ListThingsOutput{} + output = &DescribeThingRegistrationTaskOutput{} req = c.newRequest(op, input, output) return } -// ListThings API operation for AWS IoT. +// DescribeThingRegistrationTask API operation for AWS IoT. // -// Lists your things. Use the attributeName and attributeValue parameters to -// filter your things. For example, calling ListThings with attributeName=Color -// and attributeValue=Red retrieves all things in the registry that contain -// an attribute Color with the value Red. +// Describes a bulk thing provisioning task. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation ListThings for usage and error information. +// API operation DescribeThingRegistrationTask for usage and error information. // // Returned Error Codes: // * ErrCodeInvalidRequestException "InvalidRequestException" @@ -4264,191 +4265,184 @@ func (c *IoT) ListThingsRequest(input *ListThingsInput) (req *request.Request, o // * ErrCodeUnauthorizedException "UnauthorizedException" // You are not authorized to perform this operation. // -// * ErrCodeServiceUnavailableException "ServiceUnavailableException" -// The service is temporarily unavailable. -// // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) ListThings(input *ListThingsInput) (*ListThingsOutput, error) { - req, out := c.ListThingsRequest(input) +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) DescribeThingRegistrationTask(input *DescribeThingRegistrationTaskInput) (*DescribeThingRegistrationTaskOutput, error) { + req, out := c.DescribeThingRegistrationTaskRequest(input) return out, req.Send() } -// ListThingsWithContext is the same as ListThings with the addition of +// DescribeThingRegistrationTaskWithContext is the same as DescribeThingRegistrationTask with the addition of // the ability to pass a context and additional request options. // -// See ListThings for details on how to use this API operation. +// See DescribeThingRegistrationTask for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) ListThingsWithContext(ctx aws.Context, input *ListThingsInput, opts ...request.Option) (*ListThingsOutput, error) { - req, out := c.ListThingsRequest(input) +func (c *IoT) DescribeThingRegistrationTaskWithContext(ctx aws.Context, input *DescribeThingRegistrationTaskInput, opts ...request.Option) (*DescribeThingRegistrationTaskOutput, error) { + req, out := c.DescribeThingRegistrationTaskRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListTopicRules = "ListTopicRules" +const opDescribeThingType = "DescribeThingType" -// ListTopicRulesRequest generates a "aws/request.Request" representing the -// client's request for the ListTopicRules operation. The "output" return +// DescribeThingTypeRequest generates a "aws/request.Request" representing the +// client's request for the DescribeThingType operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListTopicRules for more information on using the ListTopicRules +// See DescribeThingType for more information on using the DescribeThingType // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListTopicRulesRequest method. -// req, resp := client.ListTopicRulesRequest(params) +// // Example sending a request using the DescribeThingTypeRequest method. +// req, resp := client.DescribeThingTypeRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) ListTopicRulesRequest(input *ListTopicRulesInput) (req *request.Request, output *ListTopicRulesOutput) { +func (c *IoT) DescribeThingTypeRequest(input *DescribeThingTypeInput) (req *request.Request, output *DescribeThingTypeOutput) { op := &request.Operation{ - Name: opListTopicRules, + Name: opDescribeThingType, HTTPMethod: "GET", - HTTPPath: "/rules", + HTTPPath: "/thing-types/{thingTypeName}", } if input == nil { - input = &ListTopicRulesInput{} + input = &DescribeThingTypeInput{} } - output = &ListTopicRulesOutput{} + output = &DescribeThingTypeOutput{} req = c.newRequest(op, input, output) return } -// ListTopicRules API operation for AWS IoT. +// DescribeThingType API operation for AWS IoT. // -// Lists the rules for the specific topic. +// Gets information about the specified thing type. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation ListTopicRules for usage and error information. +// API operation DescribeThingType for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalException "InternalException" -// An unexpected error has occurred. +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. // // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service is temporarily unavailable. // -func (c *IoT) ListTopicRules(input *ListTopicRulesInput) (*ListTopicRulesOutput, error) { - req, out := c.ListTopicRulesRequest(input) +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) DescribeThingType(input *DescribeThingTypeInput) (*DescribeThingTypeOutput, error) { + req, out := c.DescribeThingTypeRequest(input) return out, req.Send() } -// ListTopicRulesWithContext is the same as ListTopicRules with the addition of +// DescribeThingTypeWithContext is the same as DescribeThingType with the addition of // the ability to pass a context and additional request options. // -// See ListTopicRules for details on how to use this API operation. +// See DescribeThingType for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) ListTopicRulesWithContext(ctx aws.Context, input *ListTopicRulesInput, opts ...request.Option) (*ListTopicRulesOutput, error) { - req, out := c.ListTopicRulesRequest(input) +func (c *IoT) DescribeThingTypeWithContext(ctx aws.Context, input *DescribeThingTypeInput, opts ...request.Option) (*DescribeThingTypeOutput, error) { + req, out := c.DescribeThingTypeRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opRegisterCACertificate = "RegisterCACertificate" +const opDetachPolicy = "DetachPolicy" -// RegisterCACertificateRequest generates a "aws/request.Request" representing the -// client's request for the RegisterCACertificate operation. The "output" return +// DetachPolicyRequest generates a "aws/request.Request" representing the +// client's request for the DetachPolicy operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See RegisterCACertificate for more information on using the RegisterCACertificate +// See DetachPolicy for more information on using the DetachPolicy // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the RegisterCACertificateRequest method. -// req, resp := client.RegisterCACertificateRequest(params) +// // Example sending a request using the DetachPolicyRequest method. +// req, resp := client.DetachPolicyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) RegisterCACertificateRequest(input *RegisterCACertificateInput) (req *request.Request, output *RegisterCACertificateOutput) { +func (c *IoT) DetachPolicyRequest(input *DetachPolicyInput) (req *request.Request, output *DetachPolicyOutput) { op := &request.Operation{ - Name: opRegisterCACertificate, + Name: opDetachPolicy, HTTPMethod: "POST", - HTTPPath: "/cacertificate", + HTTPPath: "/target-policies/{policyName}", } if input == nil { - input = &RegisterCACertificateInput{} + input = &DetachPolicyInput{} } - output = &RegisterCACertificateOutput{} + output = &DetachPolicyOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// RegisterCACertificate API operation for AWS IoT. +// DetachPolicy API operation for AWS IoT. // -// Registers a CA certificate with AWS IoT. This CA certificate can then be -// used to sign device certificates, which can be then registered with AWS IoT. -// You can register up to 10 CA certificates per AWS account that have the same -// subject field. This enables you to have up to 10 certificate authorities -// sign your device certificates. If you have more than one CA certificate registered, -// make sure you pass the CA certificate when you register your device certificates -// with the RegisterCertificate API. +// Detaches a policy from the specified target. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation RegisterCACertificate for usage and error information. +// API operation DetachPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" -// The resource already exists. -// -// * ErrCodeRegistrationCodeValidationException "RegistrationCodeValidationException" -// The registration code is invalid. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeCertificateValidationException "CertificateValidationException" -// The certificate is invalid. -// // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // -// * ErrCodeLimitExceededException "LimitExceededException" -// The number of attached entities exceeds the limit. -// // * ErrCodeUnauthorizedException "UnauthorizedException" // You are not authorized to perform this operation. // @@ -4458,98 +4452,95 @@ func (c *IoT) RegisterCACertificateRequest(input *RegisterCACertificateInput) (r // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) RegisterCACertificate(input *RegisterCACertificateInput) (*RegisterCACertificateOutput, error) { - req, out := c.RegisterCACertificateRequest(input) +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of attached entities exceeds the limit. +// +func (c *IoT) DetachPolicy(input *DetachPolicyInput) (*DetachPolicyOutput, error) { + req, out := c.DetachPolicyRequest(input) return out, req.Send() } -// RegisterCACertificateWithContext is the same as RegisterCACertificate with the addition of +// DetachPolicyWithContext is the same as DetachPolicy with the addition of // the ability to pass a context and additional request options. // -// See RegisterCACertificate for details on how to use this API operation. +// See DetachPolicy for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) RegisterCACertificateWithContext(ctx aws.Context, input *RegisterCACertificateInput, opts ...request.Option) (*RegisterCACertificateOutput, error) { - req, out := c.RegisterCACertificateRequest(input) +func (c *IoT) DetachPolicyWithContext(ctx aws.Context, input *DetachPolicyInput, opts ...request.Option) (*DetachPolicyOutput, error) { + req, out := c.DetachPolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opRegisterCertificate = "RegisterCertificate" +const opDetachPrincipalPolicy = "DetachPrincipalPolicy" -// RegisterCertificateRequest generates a "aws/request.Request" representing the -// client's request for the RegisterCertificate operation. The "output" return +// DetachPrincipalPolicyRequest generates a "aws/request.Request" representing the +// client's request for the DetachPrincipalPolicy operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See RegisterCertificate for more information on using the RegisterCertificate +// See DetachPrincipalPolicy for more information on using the DetachPrincipalPolicy // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the RegisterCertificateRequest method. -// req, resp := client.RegisterCertificateRequest(params) +// // Example sending a request using the DetachPrincipalPolicyRequest method. +// req, resp := client.DetachPrincipalPolicyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) RegisterCertificateRequest(input *RegisterCertificateInput) (req *request.Request, output *RegisterCertificateOutput) { +func (c *IoT) DetachPrincipalPolicyRequest(input *DetachPrincipalPolicyInput) (req *request.Request, output *DetachPrincipalPolicyOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DetachPrincipalPolicy, has been deprecated") + } op := &request.Operation{ - Name: opRegisterCertificate, - HTTPMethod: "POST", - HTTPPath: "/certificate/register", + Name: opDetachPrincipalPolicy, + HTTPMethod: "DELETE", + HTTPPath: "/principal-policies/{policyName}", } if input == nil { - input = &RegisterCertificateInput{} + input = &DetachPrincipalPolicyInput{} } - output = &RegisterCertificateOutput{} + output = &DetachPrincipalPolicyOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// RegisterCertificate API operation for AWS IoT. +// DetachPrincipalPolicy API operation for AWS IoT. // -// Registers a device certificate with AWS IoT. If you have more than one CA -// certificate that has the same subject field, you must specify the CA certificate -// that was used to sign the device certificate being registered. +// Removes the specified policy from the specified certificate. +// +// Note: This API is deprecated. Please use DetachPolicy instead. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation RegisterCertificate for usage and error information. +// API operation DetachPrincipalPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" -// The resource already exists. +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. // // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeCertificateValidationException "CertificateValidationException" -// The certificate is invalid. -// -// * ErrCodeCertificateStateException "CertificateStateException" -// The certificate operation is not allowed. -// -// * ErrCodeCertificateConflictException "CertificateConflictException" -// Unable to verify the CA certificate used to sign the device certificate you -// are attempting to register. This is happens when you have registered more -// than one CA certificate that has the same subject field and public key. -// // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // @@ -4562,96 +4553,82 @@ func (c *IoT) RegisterCertificateRequest(input *RegisterCertificateInput) (req * // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) RegisterCertificate(input *RegisterCertificateInput) (*RegisterCertificateOutput, error) { - req, out := c.RegisterCertificateRequest(input) +func (c *IoT) DetachPrincipalPolicy(input *DetachPrincipalPolicyInput) (*DetachPrincipalPolicyOutput, error) { + req, out := c.DetachPrincipalPolicyRequest(input) return out, req.Send() } -// RegisterCertificateWithContext is the same as RegisterCertificate with the addition of +// DetachPrincipalPolicyWithContext is the same as DetachPrincipalPolicy with the addition of // the ability to pass a context and additional request options. // -// See RegisterCertificate for details on how to use this API operation. +// See DetachPrincipalPolicy for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) RegisterCertificateWithContext(ctx aws.Context, input *RegisterCertificateInput, opts ...request.Option) (*RegisterCertificateOutput, error) { - req, out := c.RegisterCertificateRequest(input) +func (c *IoT) DetachPrincipalPolicyWithContext(ctx aws.Context, input *DetachPrincipalPolicyInput, opts ...request.Option) (*DetachPrincipalPolicyOutput, error) { + req, out := c.DetachPrincipalPolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opRejectCertificateTransfer = "RejectCertificateTransfer" +const opDetachThingPrincipal = "DetachThingPrincipal" -// RejectCertificateTransferRequest generates a "aws/request.Request" representing the -// client's request for the RejectCertificateTransfer operation. The "output" return +// DetachThingPrincipalRequest generates a "aws/request.Request" representing the +// client's request for the DetachThingPrincipal operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See RejectCertificateTransfer for more information on using the RejectCertificateTransfer +// See DetachThingPrincipal for more information on using the DetachThingPrincipal // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the RejectCertificateTransferRequest method. -// req, resp := client.RejectCertificateTransferRequest(params) +// // Example sending a request using the DetachThingPrincipalRequest method. +// req, resp := client.DetachThingPrincipalRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) RejectCertificateTransferRequest(input *RejectCertificateTransferInput) (req *request.Request, output *RejectCertificateTransferOutput) { +func (c *IoT) DetachThingPrincipalRequest(input *DetachThingPrincipalInput) (req *request.Request, output *DetachThingPrincipalOutput) { op := &request.Operation{ - Name: opRejectCertificateTransfer, - HTTPMethod: "PATCH", - HTTPPath: "/reject-certificate-transfer/{certificateId}", + Name: opDetachThingPrincipal, + HTTPMethod: "DELETE", + HTTPPath: "/things/{thingName}/principals", } if input == nil { - input = &RejectCertificateTransferInput{} + input = &DetachThingPrincipalInput{} } - output = &RejectCertificateTransferOutput{} + output = &DetachThingPrincipalOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// RejectCertificateTransfer API operation for AWS IoT. -// -// Rejects a pending certificate transfer. After AWS IoT rejects a certificate -// transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE. -// -// To check for pending certificate transfers, call ListCertificates to enumerate -// your certificates. +// DetachThingPrincipal API operation for AWS IoT. // -// This operation can only be called by the transfer destination. After it is -// called, the certificate will be returned to the source's account in the INACTIVE -// state. +// Detaches the specified principal from the specified thing. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation RejectCertificateTransfer for usage and error information. +// API operation DetachThingPrincipal for usage and error information. // // Returned Error Codes: // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource does not exist. // -// * ErrCodeTransferAlreadyCompletedException "TransferAlreadyCompletedException" -// You can't revert the certificate transfer because the transfer is already -// complete. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // @@ -4667,86 +4644,81 @@ func (c *IoT) RejectCertificateTransferRequest(input *RejectCertificateTransferI // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) RejectCertificateTransfer(input *RejectCertificateTransferInput) (*RejectCertificateTransferOutput, error) { - req, out := c.RejectCertificateTransferRequest(input) +func (c *IoT) DetachThingPrincipal(input *DetachThingPrincipalInput) (*DetachThingPrincipalOutput, error) { + req, out := c.DetachThingPrincipalRequest(input) return out, req.Send() } -// RejectCertificateTransferWithContext is the same as RejectCertificateTransfer with the addition of +// DetachThingPrincipalWithContext is the same as DetachThingPrincipal with the addition of // the ability to pass a context and additional request options. // -// See RejectCertificateTransfer for details on how to use this API operation. +// See DetachThingPrincipal for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) RejectCertificateTransferWithContext(ctx aws.Context, input *RejectCertificateTransferInput, opts ...request.Option) (*RejectCertificateTransferOutput, error) { - req, out := c.RejectCertificateTransferRequest(input) +func (c *IoT) DetachThingPrincipalWithContext(ctx aws.Context, input *DetachThingPrincipalInput, opts ...request.Option) (*DetachThingPrincipalOutput, error) { + req, out := c.DetachThingPrincipalRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opReplaceTopicRule = "ReplaceTopicRule" +const opDisableTopicRule = "DisableTopicRule" -// ReplaceTopicRuleRequest generates a "aws/request.Request" representing the -// client's request for the ReplaceTopicRule operation. The "output" return +// DisableTopicRuleRequest generates a "aws/request.Request" representing the +// client's request for the DisableTopicRule operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ReplaceTopicRule for more information on using the ReplaceTopicRule +// See DisableTopicRule for more information on using the DisableTopicRule // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ReplaceTopicRuleRequest method. -// req, resp := client.ReplaceTopicRuleRequest(params) +// // Example sending a request using the DisableTopicRuleRequest method. +// req, resp := client.DisableTopicRuleRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) ReplaceTopicRuleRequest(input *ReplaceTopicRuleInput) (req *request.Request, output *ReplaceTopicRuleOutput) { +func (c *IoT) DisableTopicRuleRequest(input *DisableTopicRuleInput) (req *request.Request, output *DisableTopicRuleOutput) { op := &request.Operation{ - Name: opReplaceTopicRule, - HTTPMethod: "PATCH", - HTTPPath: "/rules/{ruleName}", + Name: opDisableTopicRule, + HTTPMethod: "POST", + HTTPPath: "/rules/{ruleName}/disable", } if input == nil { - input = &ReplaceTopicRuleInput{} + input = &DisableTopicRuleInput{} } - output = &ReplaceTopicRuleOutput{} + output = &DisableTopicRuleOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// ReplaceTopicRule API operation for AWS IoT. +// DisableTopicRule API operation for AWS IoT. // -// Replaces the specified rule. You must specify all parameters for the new -// rule. Creating rules is an administrator-level action. Any user who has permission -// to create rules will be able to access data processed by the rule. +// Disables the rule. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation ReplaceTopicRule for usage and error information. +// API operation DisableTopicRule for usage and error information. // // Returned Error Codes: -// * ErrCodeSqlParseException "SqlParseException" -// The Rule-SQL expression can't be parsed correctly. -// // * ErrCodeInternalException "InternalException" // An unexpected error has occurred. // @@ -4759,283 +4731,263 @@ func (c *IoT) ReplaceTopicRuleRequest(input *ReplaceTopicRuleInput) (req *reques // * ErrCodeUnauthorizedException "UnauthorizedException" // You are not authorized to perform this operation. // -func (c *IoT) ReplaceTopicRule(input *ReplaceTopicRuleInput) (*ReplaceTopicRuleOutput, error) { - req, out := c.ReplaceTopicRuleRequest(input) +func (c *IoT) DisableTopicRule(input *DisableTopicRuleInput) (*DisableTopicRuleOutput, error) { + req, out := c.DisableTopicRuleRequest(input) return out, req.Send() } -// ReplaceTopicRuleWithContext is the same as ReplaceTopicRule with the addition of +// DisableTopicRuleWithContext is the same as DisableTopicRule with the addition of // the ability to pass a context and additional request options. // -// See ReplaceTopicRule for details on how to use this API operation. +// See DisableTopicRule for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) ReplaceTopicRuleWithContext(ctx aws.Context, input *ReplaceTopicRuleInput, opts ...request.Option) (*ReplaceTopicRuleOutput, error) { - req, out := c.ReplaceTopicRuleRequest(input) +func (c *IoT) DisableTopicRuleWithContext(ctx aws.Context, input *DisableTopicRuleInput, opts ...request.Option) (*DisableTopicRuleOutput, error) { + req, out := c.DisableTopicRuleRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opSetDefaultPolicyVersion = "SetDefaultPolicyVersion" +const opEnableTopicRule = "EnableTopicRule" -// SetDefaultPolicyVersionRequest generates a "aws/request.Request" representing the -// client's request for the SetDefaultPolicyVersion operation. The "output" return +// EnableTopicRuleRequest generates a "aws/request.Request" representing the +// client's request for the EnableTopicRule operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See SetDefaultPolicyVersion for more information on using the SetDefaultPolicyVersion +// See EnableTopicRule for more information on using the EnableTopicRule // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the SetDefaultPolicyVersionRequest method. -// req, resp := client.SetDefaultPolicyVersionRequest(params) +// // Example sending a request using the EnableTopicRuleRequest method. +// req, resp := client.EnableTopicRuleRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) SetDefaultPolicyVersionRequest(input *SetDefaultPolicyVersionInput) (req *request.Request, output *SetDefaultPolicyVersionOutput) { +func (c *IoT) EnableTopicRuleRequest(input *EnableTopicRuleInput) (req *request.Request, output *EnableTopicRuleOutput) { op := &request.Operation{ - Name: opSetDefaultPolicyVersion, - HTTPMethod: "PATCH", - HTTPPath: "/policies/{policyName}/version/{policyVersionId}", + Name: opEnableTopicRule, + HTTPMethod: "POST", + HTTPPath: "/rules/{ruleName}/enable", } if input == nil { - input = &SetDefaultPolicyVersionInput{} + input = &EnableTopicRuleInput{} } - output = &SetDefaultPolicyVersionOutput{} + output = &EnableTopicRuleOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// SetDefaultPolicyVersion API operation for AWS IoT. +// EnableTopicRule API operation for AWS IoT. // -// Sets the specified version of the specified policy as the policy's default -// (operative) version. This action affects all certificates to which the policy -// is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy -// API. +// Enables the rule. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation SetDefaultPolicyVersion for usage and error information. +// API operation EnableTopicRule for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. +// * ErrCodeInternalException "InternalException" +// An unexpected error has occurred. // // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeThrottlingException "ThrottlingException" -// The rate exceeds the limit. -// -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. -// // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service is temporarily unavailable. // -// * ErrCodeInternalFailureException "InternalFailureException" -// An unexpected error has occurred. +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. // -func (c *IoT) SetDefaultPolicyVersion(input *SetDefaultPolicyVersionInput) (*SetDefaultPolicyVersionOutput, error) { - req, out := c.SetDefaultPolicyVersionRequest(input) +func (c *IoT) EnableTopicRule(input *EnableTopicRuleInput) (*EnableTopicRuleOutput, error) { + req, out := c.EnableTopicRuleRequest(input) return out, req.Send() } -// SetDefaultPolicyVersionWithContext is the same as SetDefaultPolicyVersion with the addition of +// EnableTopicRuleWithContext is the same as EnableTopicRule with the addition of // the ability to pass a context and additional request options. // -// See SetDefaultPolicyVersion for details on how to use this API operation. +// See EnableTopicRule for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) SetDefaultPolicyVersionWithContext(ctx aws.Context, input *SetDefaultPolicyVersionInput, opts ...request.Option) (*SetDefaultPolicyVersionOutput, error) { - req, out := c.SetDefaultPolicyVersionRequest(input) +func (c *IoT) EnableTopicRuleWithContext(ctx aws.Context, input *EnableTopicRuleInput, opts ...request.Option) (*EnableTopicRuleOutput, error) { + req, out := c.EnableTopicRuleRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opSetLoggingOptions = "SetLoggingOptions" +const opGetEffectivePolicies = "GetEffectivePolicies" -// SetLoggingOptionsRequest generates a "aws/request.Request" representing the -// client's request for the SetLoggingOptions operation. The "output" return +// GetEffectivePoliciesRequest generates a "aws/request.Request" representing the +// client's request for the GetEffectivePolicies operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See SetLoggingOptions for more information on using the SetLoggingOptions +// See GetEffectivePolicies for more information on using the GetEffectivePolicies // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the SetLoggingOptionsRequest method. -// req, resp := client.SetLoggingOptionsRequest(params) +// // Example sending a request using the GetEffectivePoliciesRequest method. +// req, resp := client.GetEffectivePoliciesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) SetLoggingOptionsRequest(input *SetLoggingOptionsInput) (req *request.Request, output *SetLoggingOptionsOutput) { +func (c *IoT) GetEffectivePoliciesRequest(input *GetEffectivePoliciesInput) (req *request.Request, output *GetEffectivePoliciesOutput) { op := &request.Operation{ - Name: opSetLoggingOptions, + Name: opGetEffectivePolicies, HTTPMethod: "POST", - HTTPPath: "/loggingOptions", + HTTPPath: "/effective-policies", } if input == nil { - input = &SetLoggingOptionsInput{} + input = &GetEffectivePoliciesInput{} } - output = &SetLoggingOptionsOutput{} + output = &GetEffectivePoliciesOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// SetLoggingOptions API operation for AWS IoT. +// GetEffectivePolicies API operation for AWS IoT. // -// Sets the logging options. +// Gets effective policies. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation SetLoggingOptions for usage and error information. +// API operation GetEffectivePolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalException "InternalException" -// An unexpected error has occurred. +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. // // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service is temporarily unavailable. // -func (c *IoT) SetLoggingOptions(input *SetLoggingOptionsInput) (*SetLoggingOptionsOutput, error) { - req, out := c.SetLoggingOptionsRequest(input) +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of attached entities exceeds the limit. +// +func (c *IoT) GetEffectivePolicies(input *GetEffectivePoliciesInput) (*GetEffectivePoliciesOutput, error) { + req, out := c.GetEffectivePoliciesRequest(input) return out, req.Send() } -// SetLoggingOptionsWithContext is the same as SetLoggingOptions with the addition of +// GetEffectivePoliciesWithContext is the same as GetEffectivePolicies with the addition of // the ability to pass a context and additional request options. // -// See SetLoggingOptions for details on how to use this API operation. +// See GetEffectivePolicies for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) SetLoggingOptionsWithContext(ctx aws.Context, input *SetLoggingOptionsInput, opts ...request.Option) (*SetLoggingOptionsOutput, error) { - req, out := c.SetLoggingOptionsRequest(input) +func (c *IoT) GetEffectivePoliciesWithContext(ctx aws.Context, input *GetEffectivePoliciesInput, opts ...request.Option) (*GetEffectivePoliciesOutput, error) { + req, out := c.GetEffectivePoliciesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opTransferCertificate = "TransferCertificate" +const opGetIndexingConfiguration = "GetIndexingConfiguration" -// TransferCertificateRequest generates a "aws/request.Request" representing the -// client's request for the TransferCertificate operation. The "output" return +// GetIndexingConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the GetIndexingConfiguration operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See TransferCertificate for more information on using the TransferCertificate +// See GetIndexingConfiguration for more information on using the GetIndexingConfiguration // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the TransferCertificateRequest method. -// req, resp := client.TransferCertificateRequest(params) +// // Example sending a request using the GetIndexingConfigurationRequest method. +// req, resp := client.GetIndexingConfigurationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) TransferCertificateRequest(input *TransferCertificateInput) (req *request.Request, output *TransferCertificateOutput) { +func (c *IoT) GetIndexingConfigurationRequest(input *GetIndexingConfigurationInput) (req *request.Request, output *GetIndexingConfigurationOutput) { op := &request.Operation{ - Name: opTransferCertificate, - HTTPMethod: "PATCH", - HTTPPath: "/transfer-certificate/{certificateId}", + Name: opGetIndexingConfiguration, + HTTPMethod: "GET", + HTTPPath: "/indexing/config", } if input == nil { - input = &TransferCertificateInput{} + input = &GetIndexingConfigurationInput{} } - output = &TransferCertificateOutput{} + output = &GetIndexingConfigurationOutput{} req = c.newRequest(op, input, output) return } -// TransferCertificate API operation for AWS IoT. -// -// Transfers the specified certificate to the specified AWS account. -// -// You can cancel the transfer until it is acknowledged by the recipient. -// -// No notification is sent to the transfer destination's account. It is up to -// the caller to notify the transfer target. +// GetIndexingConfiguration API operation for AWS IoT. // -// The certificate being transferred must not be in the ACTIVE state. You can -// use the UpdateCertificate API to deactivate it. -// -// The certificate must not have any policies attached to it. You can use the -// DetachPrincipalPolicy API to detach them. +// Gets the search configuration. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation TransferCertificate for usage and error information. +// API operation GetIndexingConfiguration for usage and error information. // // Returned Error Codes: // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// -// * ErrCodeCertificateStateException "CertificateStateException" -// The certificate operation is not allowed. -// -// * ErrCodeTransferConflictException "TransferConflictException" -// You can't transfer the certificate because authorization policies are still -// attached. -// // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // @@ -5048,185 +5000,249 @@ func (c *IoT) TransferCertificateRequest(input *TransferCertificateInput) (req * // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) TransferCertificate(input *TransferCertificateInput) (*TransferCertificateOutput, error) { - req, out := c.TransferCertificateRequest(input) +func (c *IoT) GetIndexingConfiguration(input *GetIndexingConfigurationInput) (*GetIndexingConfigurationOutput, error) { + req, out := c.GetIndexingConfigurationRequest(input) return out, req.Send() } -// TransferCertificateWithContext is the same as TransferCertificate with the addition of +// GetIndexingConfigurationWithContext is the same as GetIndexingConfiguration with the addition of // the ability to pass a context and additional request options. // -// See TransferCertificate for details on how to use this API operation. +// See GetIndexingConfiguration for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) TransferCertificateWithContext(ctx aws.Context, input *TransferCertificateInput, opts ...request.Option) (*TransferCertificateOutput, error) { - req, out := c.TransferCertificateRequest(input) +func (c *IoT) GetIndexingConfigurationWithContext(ctx aws.Context, input *GetIndexingConfigurationInput, opts ...request.Option) (*GetIndexingConfigurationOutput, error) { + req, out := c.GetIndexingConfigurationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateCACertificate = "UpdateCACertificate" +const opGetJobDocument = "GetJobDocument" -// UpdateCACertificateRequest generates a "aws/request.Request" representing the -// client's request for the UpdateCACertificate operation. The "output" return +// GetJobDocumentRequest generates a "aws/request.Request" representing the +// client's request for the GetJobDocument operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateCACertificate for more information on using the UpdateCACertificate +// See GetJobDocument for more information on using the GetJobDocument // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateCACertificateRequest method. -// req, resp := client.UpdateCACertificateRequest(params) +// // Example sending a request using the GetJobDocumentRequest method. +// req, resp := client.GetJobDocumentRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) UpdateCACertificateRequest(input *UpdateCACertificateInput) (req *request.Request, output *UpdateCACertificateOutput) { +func (c *IoT) GetJobDocumentRequest(input *GetJobDocumentInput) (req *request.Request, output *GetJobDocumentOutput) { op := &request.Operation{ - Name: opUpdateCACertificate, - HTTPMethod: "PUT", - HTTPPath: "/cacertificate/{caCertificateId}", + Name: opGetJobDocument, + HTTPMethod: "GET", + HTTPPath: "/jobs/{jobId}/job-document", } if input == nil { - input = &UpdateCACertificateInput{} + input = &GetJobDocumentInput{} } - output = &UpdateCACertificateOutput{} + output = &GetJobDocumentOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// UpdateCACertificate API operation for AWS IoT. +// GetJobDocument API operation for AWS IoT. // -// Updates a registered CA certificate. +// Gets a job document. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation UpdateCACertificate for usage and error information. +// API operation GetJobDocument for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // -// * ErrCodeUnauthorizedException "UnauthorizedException" -// You are not authorized to perform this operation. -// // * ErrCodeServiceUnavailableException "ServiceUnavailableException" // The service is temporarily unavailable. // -// * ErrCodeInternalFailureException "InternalFailureException" -// An unexpected error has occurred. -// -func (c *IoT) UpdateCACertificate(input *UpdateCACertificateInput) (*UpdateCACertificateOutput, error) { - req, out := c.UpdateCACertificateRequest(input) +func (c *IoT) GetJobDocument(input *GetJobDocumentInput) (*GetJobDocumentOutput, error) { + req, out := c.GetJobDocumentRequest(input) return out, req.Send() } -// UpdateCACertificateWithContext is the same as UpdateCACertificate with the addition of +// GetJobDocumentWithContext is the same as GetJobDocument with the addition of // the ability to pass a context and additional request options. // -// See UpdateCACertificate for details on how to use this API operation. +// See GetJobDocument for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) UpdateCACertificateWithContext(ctx aws.Context, input *UpdateCACertificateInput, opts ...request.Option) (*UpdateCACertificateOutput, error) { - req, out := c.UpdateCACertificateRequest(input) +func (c *IoT) GetJobDocumentWithContext(ctx aws.Context, input *GetJobDocumentInput, opts ...request.Option) (*GetJobDocumentOutput, error) { + req, out := c.GetJobDocumentRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateCertificate = "UpdateCertificate" +const opGetLoggingOptions = "GetLoggingOptions" -// UpdateCertificateRequest generates a "aws/request.Request" representing the -// client's request for the UpdateCertificate operation. The "output" return +// GetLoggingOptionsRequest generates a "aws/request.Request" representing the +// client's request for the GetLoggingOptions operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateCertificate for more information on using the UpdateCertificate +// See GetLoggingOptions for more information on using the GetLoggingOptions // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateCertificateRequest method. -// req, resp := client.UpdateCertificateRequest(params) +// // Example sending a request using the GetLoggingOptionsRequest method. +// req, resp := client.GetLoggingOptionsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) UpdateCertificateRequest(input *UpdateCertificateInput) (req *request.Request, output *UpdateCertificateOutput) { +func (c *IoT) GetLoggingOptionsRequest(input *GetLoggingOptionsInput) (req *request.Request, output *GetLoggingOptionsOutput) { op := &request.Operation{ - Name: opUpdateCertificate, - HTTPMethod: "PUT", - HTTPPath: "/certificates/{certificateId}", + Name: opGetLoggingOptions, + HTTPMethod: "GET", + HTTPPath: "/loggingOptions", } if input == nil { - input = &UpdateCertificateInput{} + input = &GetLoggingOptionsInput{} } - output = &UpdateCertificateOutput{} + output = &GetLoggingOptionsOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) - req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// UpdateCertificate API operation for AWS IoT. -// -// Updates the status of the specified certificate. This operation is idempotent. -// -// Moving a certificate from the ACTIVE state (including REVOKED) will not disconnect -// currently connected devices, but these devices will be unable to reconnect. +// GetLoggingOptions API operation for AWS IoT. // -// The ACTIVE state is required to authenticate devices connecting to AWS IoT -// using a certificate. +// Gets the logging options. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation UpdateCertificate for usage and error information. +// API operation GetLoggingOptions for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. +// * ErrCodeInternalException "InternalException" +// An unexpected error has occurred. // -// * ErrCodeCertificateStateException "CertificateStateException" -// The certificate operation is not allowed. +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +func (c *IoT) GetLoggingOptions(input *GetLoggingOptionsInput) (*GetLoggingOptionsOutput, error) { + req, out := c.GetLoggingOptionsRequest(input) + return out, req.Send() +} + +// GetLoggingOptionsWithContext is the same as GetLoggingOptions with the addition of +// the ability to pass a context and additional request options. +// +// See GetLoggingOptions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) GetLoggingOptionsWithContext(ctx aws.Context, input *GetLoggingOptionsInput, opts ...request.Option) (*GetLoggingOptionsOutput, error) { + req, out := c.GetLoggingOptionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetPolicy = "GetPolicy" + +// GetPolicyRequest generates a "aws/request.Request" representing the +// client's request for the GetPolicy operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetPolicy for more information on using the GetPolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetPolicyRequest method. +// req, resp := client.GetPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput) { + op := &request.Operation{ + Name: opGetPolicy, + HTTPMethod: "GET", + HTTPPath: "/policies/{policyName}", + } + + if input == nil { + input = &GetPolicyInput{} + } + + output = &GetPolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetPolicy API operation for AWS IoT. +// +// Gets information about the specified policy with the policy document of the +// default version. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation GetPolicy for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. // // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. @@ -5243,86 +5259,85 @@ func (c *IoT) UpdateCertificateRequest(input *UpdateCertificateInput) (req *requ // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -func (c *IoT) UpdateCertificate(input *UpdateCertificateInput) (*UpdateCertificateOutput, error) { - req, out := c.UpdateCertificateRequest(input) +func (c *IoT) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { + req, out := c.GetPolicyRequest(input) return out, req.Send() } -// UpdateCertificateWithContext is the same as UpdateCertificate with the addition of +// GetPolicyWithContext is the same as GetPolicy with the addition of // the ability to pass a context and additional request options. // -// See UpdateCertificate for details on how to use this API operation. +// See GetPolicy for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) UpdateCertificateWithContext(ctx aws.Context, input *UpdateCertificateInput, opts ...request.Option) (*UpdateCertificateOutput, error) { - req, out := c.UpdateCertificateRequest(input) +func (c *IoT) GetPolicyWithContext(ctx aws.Context, input *GetPolicyInput, opts ...request.Option) (*GetPolicyOutput, error) { + req, out := c.GetPolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateThing = "UpdateThing" +const opGetPolicyVersion = "GetPolicyVersion" -// UpdateThingRequest generates a "aws/request.Request" representing the -// client's request for the UpdateThing operation. The "output" return +// GetPolicyVersionRequest generates a "aws/request.Request" representing the +// client's request for the GetPolicyVersion operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateThing for more information on using the UpdateThing +// See GetPolicyVersion for more information on using the GetPolicyVersion // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateThingRequest method. -// req, resp := client.UpdateThingRequest(params) +// // Example sending a request using the GetPolicyVersionRequest method. +// req, resp := client.GetPolicyVersionRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } -func (c *IoT) UpdateThingRequest(input *UpdateThingInput) (req *request.Request, output *UpdateThingOutput) { +func (c *IoT) GetPolicyVersionRequest(input *GetPolicyVersionInput) (req *request.Request, output *GetPolicyVersionOutput) { op := &request.Operation{ - Name: opUpdateThing, - HTTPMethod: "PATCH", - HTTPPath: "/things/{thingName}", + Name: opGetPolicyVersion, + HTTPMethod: "GET", + HTTPPath: "/policies/{policyName}/version/{policyVersionId}", } if input == nil { - input = &UpdateThingInput{} + input = &GetPolicyVersionInput{} } - output = &UpdateThingOutput{} + output = &GetPolicyVersionOutput{} req = c.newRequest(op, input, output) return } -// UpdateThing API operation for AWS IoT. +// GetPolicyVersion API operation for AWS IoT. // -// Updates the data for a thing. +// Gets information about the specified policy version. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT's -// API operation UpdateThing for usage and error information. +// API operation GetPolicyVersion for usage and error information. // // Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// // * ErrCodeInvalidRequestException "InvalidRequestException" // The request is not valid. // -// * ErrCodeVersionConflictException "VersionConflictException" -// An exception thrown when the version of a thing passed to a command is different -// than the version specified with the --version parameter. -// // * ErrCodeThrottlingException "ThrottlingException" // The rate exceeds the limit. // @@ -5335,647 +5350,11701 @@ func (c *IoT) UpdateThingRequest(input *UpdateThingInput) (req *request.Request, // * ErrCodeInternalFailureException "InternalFailureException" // An unexpected error has occurred. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The specified resource does not exist. -// -func (c *IoT) UpdateThing(input *UpdateThingInput) (*UpdateThingOutput, error) { - req, out := c.UpdateThingRequest(input) +func (c *IoT) GetPolicyVersion(input *GetPolicyVersionInput) (*GetPolicyVersionOutput, error) { + req, out := c.GetPolicyVersionRequest(input) return out, req.Send() } -// UpdateThingWithContext is the same as UpdateThing with the addition of +// GetPolicyVersionWithContext is the same as GetPolicyVersion with the addition of // the ability to pass a context and additional request options. // -// See UpdateThing for details on how to use this API operation. +// See GetPolicyVersion for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *IoT) UpdateThingWithContext(ctx aws.Context, input *UpdateThingInput, opts ...request.Option) (*UpdateThingOutput, error) { - req, out := c.UpdateThingRequest(input) +func (c *IoT) GetPolicyVersionWithContext(ctx aws.Context, input *GetPolicyVersionInput, opts ...request.Option) (*GetPolicyVersionOutput, error) { + req, out := c.GetPolicyVersionRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// The input for the AcceptCertificateTransfer operation. -type AcceptCertificateTransferInput struct { - _ struct{} `type:"structure"` - - // The ID of the certificate. - // - // CertificateId is a required field - CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` - - // Specifies whether the certificate is active. - SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"` -} - -// String returns the string representation -func (s AcceptCertificateTransferInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s AcceptCertificateTransferInput) GoString() string { - return s.String() -} +const opGetRegistrationCode = "GetRegistrationCode" -// Validate inspects the fields of the type to determine if they are valid. -func (s *AcceptCertificateTransferInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AcceptCertificateTransferInput"} - if s.CertificateId == nil { - invalidParams.Add(request.NewErrParamRequired("CertificateId")) - } - if s.CertificateId != nil && len(*s.CertificateId) < 64 { - invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) +// GetRegistrationCodeRequest generates a "aws/request.Request" representing the +// client's request for the GetRegistrationCode operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetRegistrationCode for more information on using the GetRegistrationCode +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetRegistrationCodeRequest method. +// req, resp := client.GetRegistrationCodeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) GetRegistrationCodeRequest(input *GetRegistrationCodeInput) (req *request.Request, output *GetRegistrationCodeOutput) { + op := &request.Operation{ + Name: opGetRegistrationCode, + HTTPMethod: "GET", + HTTPPath: "/registrationcode", } - if invalidParams.Len() > 0 { - return invalidParams + if input == nil { + input = &GetRegistrationCodeInput{} } - return nil -} -// SetCertificateId sets the CertificateId field's value. -func (s *AcceptCertificateTransferInput) SetCertificateId(v string) *AcceptCertificateTransferInput { - s.CertificateId = &v - return s + output = &GetRegistrationCodeOutput{} + req = c.newRequest(op, input, output) + return } -// SetSetAsActive sets the SetAsActive field's value. -func (s *AcceptCertificateTransferInput) SetSetAsActive(v bool) *AcceptCertificateTransferInput { - s.SetAsActive = &v - return s +// GetRegistrationCode API operation for AWS IoT. +// +// Gets a registration code used to register a CA certificate with AWS IoT. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation GetRegistrationCode for usage and error information. +// +// Returned Error Codes: +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +func (c *IoT) GetRegistrationCode(input *GetRegistrationCodeInput) (*GetRegistrationCodeOutput, error) { + req, out := c.GetRegistrationCodeRequest(input) + return out, req.Send() } -type AcceptCertificateTransferOutput struct { - _ struct{} `type:"structure"` -} +// GetRegistrationCodeWithContext is the same as GetRegistrationCode with the addition of +// the ability to pass a context and additional request options. +// +// See GetRegistrationCode for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) GetRegistrationCodeWithContext(ctx aws.Context, input *GetRegistrationCodeInput, opts ...request.Option) (*GetRegistrationCodeOutput, error) { + req, out := c.GetRegistrationCodeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetTopicRule = "GetTopicRule" + +// GetTopicRuleRequest generates a "aws/request.Request" representing the +// client's request for the GetTopicRule operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetTopicRule for more information on using the GetTopicRule +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetTopicRuleRequest method. +// req, resp := client.GetTopicRuleRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) GetTopicRuleRequest(input *GetTopicRuleInput) (req *request.Request, output *GetTopicRuleOutput) { + op := &request.Operation{ + Name: opGetTopicRule, + HTTPMethod: "GET", + HTTPPath: "/rules/{ruleName}", + } + + if input == nil { + input = &GetTopicRuleInput{} + } + + output = &GetTopicRuleOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetTopicRule API operation for AWS IoT. +// +// Gets information about the rule. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation GetTopicRule for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalException "InternalException" +// An unexpected error has occurred. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +func (c *IoT) GetTopicRule(input *GetTopicRuleInput) (*GetTopicRuleOutput, error) { + req, out := c.GetTopicRuleRequest(input) + return out, req.Send() +} + +// GetTopicRuleWithContext is the same as GetTopicRule with the addition of +// the ability to pass a context and additional request options. +// +// See GetTopicRule for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) GetTopicRuleWithContext(ctx aws.Context, input *GetTopicRuleInput, opts ...request.Option) (*GetTopicRuleOutput, error) { + req, out := c.GetTopicRuleRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetV2LoggingOptions = "GetV2LoggingOptions" + +// GetV2LoggingOptionsRequest generates a "aws/request.Request" representing the +// client's request for the GetV2LoggingOptions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetV2LoggingOptions for more information on using the GetV2LoggingOptions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetV2LoggingOptionsRequest method. +// req, resp := client.GetV2LoggingOptionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) GetV2LoggingOptionsRequest(input *GetV2LoggingOptionsInput) (req *request.Request, output *GetV2LoggingOptionsOutput) { + op := &request.Operation{ + Name: opGetV2LoggingOptions, + HTTPMethod: "GET", + HTTPPath: "/v2LoggingOptions", + } + + if input == nil { + input = &GetV2LoggingOptionsInput{} + } + + output = &GetV2LoggingOptionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetV2LoggingOptions API operation for AWS IoT. +// +// Gets the fine grained logging options. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation GetV2LoggingOptions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalException "InternalException" +// An unexpected error has occurred. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +func (c *IoT) GetV2LoggingOptions(input *GetV2LoggingOptionsInput) (*GetV2LoggingOptionsOutput, error) { + req, out := c.GetV2LoggingOptionsRequest(input) + return out, req.Send() +} + +// GetV2LoggingOptionsWithContext is the same as GetV2LoggingOptions with the addition of +// the ability to pass a context and additional request options. +// +// See GetV2LoggingOptions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) GetV2LoggingOptionsWithContext(ctx aws.Context, input *GetV2LoggingOptionsInput, opts ...request.Option) (*GetV2LoggingOptionsOutput, error) { + req, out := c.GetV2LoggingOptionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListAttachedPolicies = "ListAttachedPolicies" + +// ListAttachedPoliciesRequest generates a "aws/request.Request" representing the +// client's request for the ListAttachedPolicies operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListAttachedPolicies for more information on using the ListAttachedPolicies +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListAttachedPoliciesRequest method. +// req, resp := client.ListAttachedPoliciesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListAttachedPoliciesRequest(input *ListAttachedPoliciesInput) (req *request.Request, output *ListAttachedPoliciesOutput) { + op := &request.Operation{ + Name: opListAttachedPolicies, + HTTPMethod: "POST", + HTTPPath: "/attached-policies/{target}", + } + + if input == nil { + input = &ListAttachedPoliciesInput{} + } + + output = &ListAttachedPoliciesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListAttachedPolicies API operation for AWS IoT. +// +// Lists the policies attached to the specified thing group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListAttachedPolicies for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of attached entities exceeds the limit. +// +func (c *IoT) ListAttachedPolicies(input *ListAttachedPoliciesInput) (*ListAttachedPoliciesOutput, error) { + req, out := c.ListAttachedPoliciesRequest(input) + return out, req.Send() +} + +// ListAttachedPoliciesWithContext is the same as ListAttachedPolicies with the addition of +// the ability to pass a context and additional request options. +// +// See ListAttachedPolicies for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListAttachedPoliciesWithContext(ctx aws.Context, input *ListAttachedPoliciesInput, opts ...request.Option) (*ListAttachedPoliciesOutput, error) { + req, out := c.ListAttachedPoliciesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListAuthorizers = "ListAuthorizers" + +// ListAuthorizersRequest generates a "aws/request.Request" representing the +// client's request for the ListAuthorizers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListAuthorizers for more information on using the ListAuthorizers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListAuthorizersRequest method. +// req, resp := client.ListAuthorizersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListAuthorizersRequest(input *ListAuthorizersInput) (req *request.Request, output *ListAuthorizersOutput) { + op := &request.Operation{ + Name: opListAuthorizers, + HTTPMethod: "GET", + HTTPPath: "/authorizers/", + } + + if input == nil { + input = &ListAuthorizersInput{} + } + + output = &ListAuthorizersOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListAuthorizers API operation for AWS IoT. +// +// Lists the authorizers registered in your account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListAuthorizers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListAuthorizers(input *ListAuthorizersInput) (*ListAuthorizersOutput, error) { + req, out := c.ListAuthorizersRequest(input) + return out, req.Send() +} + +// ListAuthorizersWithContext is the same as ListAuthorizers with the addition of +// the ability to pass a context and additional request options. +// +// See ListAuthorizers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListAuthorizersWithContext(ctx aws.Context, input *ListAuthorizersInput, opts ...request.Option) (*ListAuthorizersOutput, error) { + req, out := c.ListAuthorizersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListCACertificates = "ListCACertificates" + +// ListCACertificatesRequest generates a "aws/request.Request" representing the +// client's request for the ListCACertificates operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListCACertificates for more information on using the ListCACertificates +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListCACertificatesRequest method. +// req, resp := client.ListCACertificatesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListCACertificatesRequest(input *ListCACertificatesInput) (req *request.Request, output *ListCACertificatesOutput) { + op := &request.Operation{ + Name: opListCACertificates, + HTTPMethod: "GET", + HTTPPath: "/cacertificates", + } + + if input == nil { + input = &ListCACertificatesInput{} + } + + output = &ListCACertificatesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListCACertificates API operation for AWS IoT. +// +// Lists the CA certificates registered for your AWS account. +// +// The results are paginated with a default page size of 25. You can use the +// returned marker to retrieve additional results. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListCACertificates for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListCACertificates(input *ListCACertificatesInput) (*ListCACertificatesOutput, error) { + req, out := c.ListCACertificatesRequest(input) + return out, req.Send() +} + +// ListCACertificatesWithContext is the same as ListCACertificates with the addition of +// the ability to pass a context and additional request options. +// +// See ListCACertificates for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListCACertificatesWithContext(ctx aws.Context, input *ListCACertificatesInput, opts ...request.Option) (*ListCACertificatesOutput, error) { + req, out := c.ListCACertificatesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListCertificates = "ListCertificates" + +// ListCertificatesRequest generates a "aws/request.Request" representing the +// client's request for the ListCertificates operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListCertificates for more information on using the ListCertificates +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListCertificatesRequest method. +// req, resp := client.ListCertificatesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListCertificatesRequest(input *ListCertificatesInput) (req *request.Request, output *ListCertificatesOutput) { + op := &request.Operation{ + Name: opListCertificates, + HTTPMethod: "GET", + HTTPPath: "/certificates", + } + + if input == nil { + input = &ListCertificatesInput{} + } + + output = &ListCertificatesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListCertificates API operation for AWS IoT. +// +// Lists the certificates registered in your AWS account. +// +// The results are paginated with a default page size of 25. You can use the +// returned marker to retrieve additional results. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListCertificates for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListCertificates(input *ListCertificatesInput) (*ListCertificatesOutput, error) { + req, out := c.ListCertificatesRequest(input) + return out, req.Send() +} + +// ListCertificatesWithContext is the same as ListCertificates with the addition of +// the ability to pass a context and additional request options. +// +// See ListCertificates for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListCertificatesWithContext(ctx aws.Context, input *ListCertificatesInput, opts ...request.Option) (*ListCertificatesOutput, error) { + req, out := c.ListCertificatesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListCertificatesByCA = "ListCertificatesByCA" + +// ListCertificatesByCARequest generates a "aws/request.Request" representing the +// client's request for the ListCertificatesByCA operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListCertificatesByCA for more information on using the ListCertificatesByCA +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListCertificatesByCARequest method. +// req, resp := client.ListCertificatesByCARequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListCertificatesByCARequest(input *ListCertificatesByCAInput) (req *request.Request, output *ListCertificatesByCAOutput) { + op := &request.Operation{ + Name: opListCertificatesByCA, + HTTPMethod: "GET", + HTTPPath: "/certificates-by-ca/{caCertificateId}", + } + + if input == nil { + input = &ListCertificatesByCAInput{} + } + + output = &ListCertificatesByCAOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListCertificatesByCA API operation for AWS IoT. +// +// List the device certificates signed by the specified CA certificate. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListCertificatesByCA for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListCertificatesByCA(input *ListCertificatesByCAInput) (*ListCertificatesByCAOutput, error) { + req, out := c.ListCertificatesByCARequest(input) + return out, req.Send() +} + +// ListCertificatesByCAWithContext is the same as ListCertificatesByCA with the addition of +// the ability to pass a context and additional request options. +// +// See ListCertificatesByCA for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListCertificatesByCAWithContext(ctx aws.Context, input *ListCertificatesByCAInput, opts ...request.Option) (*ListCertificatesByCAOutput, error) { + req, out := c.ListCertificatesByCARequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListIndices = "ListIndices" + +// ListIndicesRequest generates a "aws/request.Request" representing the +// client's request for the ListIndices operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListIndices for more information on using the ListIndices +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListIndicesRequest method. +// req, resp := client.ListIndicesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListIndicesRequest(input *ListIndicesInput) (req *request.Request, output *ListIndicesOutput) { + op := &request.Operation{ + Name: opListIndices, + HTTPMethod: "GET", + HTTPPath: "/indices", + } + + if input == nil { + input = &ListIndicesInput{} + } + + output = &ListIndicesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListIndices API operation for AWS IoT. +// +// Lists the search indices. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListIndices for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListIndices(input *ListIndicesInput) (*ListIndicesOutput, error) { + req, out := c.ListIndicesRequest(input) + return out, req.Send() +} + +// ListIndicesWithContext is the same as ListIndices with the addition of +// the ability to pass a context and additional request options. +// +// See ListIndices for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListIndicesWithContext(ctx aws.Context, input *ListIndicesInput, opts ...request.Option) (*ListIndicesOutput, error) { + req, out := c.ListIndicesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListJobExecutionsForJob = "ListJobExecutionsForJob" + +// ListJobExecutionsForJobRequest generates a "aws/request.Request" representing the +// client's request for the ListJobExecutionsForJob operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListJobExecutionsForJob for more information on using the ListJobExecutionsForJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListJobExecutionsForJobRequest method. +// req, resp := client.ListJobExecutionsForJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListJobExecutionsForJobRequest(input *ListJobExecutionsForJobInput) (req *request.Request, output *ListJobExecutionsForJobOutput) { + op := &request.Operation{ + Name: opListJobExecutionsForJob, + HTTPMethod: "GET", + HTTPPath: "/jobs/{jobId}/things", + } + + if input == nil { + input = &ListJobExecutionsForJobInput{} + } + + output = &ListJobExecutionsForJobOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListJobExecutionsForJob API operation for AWS IoT. +// +// Lists the job executions for a job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListJobExecutionsForJob for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +func (c *IoT) ListJobExecutionsForJob(input *ListJobExecutionsForJobInput) (*ListJobExecutionsForJobOutput, error) { + req, out := c.ListJobExecutionsForJobRequest(input) + return out, req.Send() +} + +// ListJobExecutionsForJobWithContext is the same as ListJobExecutionsForJob with the addition of +// the ability to pass a context and additional request options. +// +// See ListJobExecutionsForJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListJobExecutionsForJobWithContext(ctx aws.Context, input *ListJobExecutionsForJobInput, opts ...request.Option) (*ListJobExecutionsForJobOutput, error) { + req, out := c.ListJobExecutionsForJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListJobExecutionsForThing = "ListJobExecutionsForThing" + +// ListJobExecutionsForThingRequest generates a "aws/request.Request" representing the +// client's request for the ListJobExecutionsForThing operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListJobExecutionsForThing for more information on using the ListJobExecutionsForThing +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListJobExecutionsForThingRequest method. +// req, resp := client.ListJobExecutionsForThingRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListJobExecutionsForThingRequest(input *ListJobExecutionsForThingInput) (req *request.Request, output *ListJobExecutionsForThingOutput) { + op := &request.Operation{ + Name: opListJobExecutionsForThing, + HTTPMethod: "GET", + HTTPPath: "/things/{thingName}/jobs", + } + + if input == nil { + input = &ListJobExecutionsForThingInput{} + } + + output = &ListJobExecutionsForThingOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListJobExecutionsForThing API operation for AWS IoT. +// +// Lists the job executions for the specified thing. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListJobExecutionsForThing for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +func (c *IoT) ListJobExecutionsForThing(input *ListJobExecutionsForThingInput) (*ListJobExecutionsForThingOutput, error) { + req, out := c.ListJobExecutionsForThingRequest(input) + return out, req.Send() +} + +// ListJobExecutionsForThingWithContext is the same as ListJobExecutionsForThing with the addition of +// the ability to pass a context and additional request options. +// +// See ListJobExecutionsForThing for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListJobExecutionsForThingWithContext(ctx aws.Context, input *ListJobExecutionsForThingInput, opts ...request.Option) (*ListJobExecutionsForThingOutput, error) { + req, out := c.ListJobExecutionsForThingRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListJobs = "ListJobs" + +// ListJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListJobs operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListJobs for more information on using the ListJobs +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListJobsRequest method. +// req, resp := client.ListJobsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { + op := &request.Operation{ + Name: opListJobs, + HTTPMethod: "GET", + HTTPPath: "/jobs", + } + + if input == nil { + input = &ListJobsInput{} + } + + output = &ListJobsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListJobs API operation for AWS IoT. +// +// Lists jobs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListJobs for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +func (c *IoT) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { + req, out := c.ListJobsRequest(input) + return out, req.Send() +} + +// ListJobsWithContext is the same as ListJobs with the addition of +// the ability to pass a context and additional request options. +// +// See ListJobs for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts ...request.Option) (*ListJobsOutput, error) { + req, out := c.ListJobsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListOutgoingCertificates = "ListOutgoingCertificates" + +// ListOutgoingCertificatesRequest generates a "aws/request.Request" representing the +// client's request for the ListOutgoingCertificates operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListOutgoingCertificates for more information on using the ListOutgoingCertificates +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListOutgoingCertificatesRequest method. +// req, resp := client.ListOutgoingCertificatesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListOutgoingCertificatesRequest(input *ListOutgoingCertificatesInput) (req *request.Request, output *ListOutgoingCertificatesOutput) { + op := &request.Operation{ + Name: opListOutgoingCertificates, + HTTPMethod: "GET", + HTTPPath: "/certificates-out-going", + } + + if input == nil { + input = &ListOutgoingCertificatesInput{} + } + + output = &ListOutgoingCertificatesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListOutgoingCertificates API operation for AWS IoT. +// +// Lists certificates that are being transferred but not yet accepted. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListOutgoingCertificates for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListOutgoingCertificates(input *ListOutgoingCertificatesInput) (*ListOutgoingCertificatesOutput, error) { + req, out := c.ListOutgoingCertificatesRequest(input) + return out, req.Send() +} + +// ListOutgoingCertificatesWithContext is the same as ListOutgoingCertificates with the addition of +// the ability to pass a context and additional request options. +// +// See ListOutgoingCertificates for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListOutgoingCertificatesWithContext(ctx aws.Context, input *ListOutgoingCertificatesInput, opts ...request.Option) (*ListOutgoingCertificatesOutput, error) { + req, out := c.ListOutgoingCertificatesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListPolicies = "ListPolicies" + +// ListPoliciesRequest generates a "aws/request.Request" representing the +// client's request for the ListPolicies operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListPolicies for more information on using the ListPolicies +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListPoliciesRequest method. +// req, resp := client.ListPoliciesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListPoliciesRequest(input *ListPoliciesInput) (req *request.Request, output *ListPoliciesOutput) { + op := &request.Operation{ + Name: opListPolicies, + HTTPMethod: "GET", + HTTPPath: "/policies", + } + + if input == nil { + input = &ListPoliciesInput{} + } + + output = &ListPoliciesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListPolicies API operation for AWS IoT. +// +// Lists your policies. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListPolicies for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListPolicies(input *ListPoliciesInput) (*ListPoliciesOutput, error) { + req, out := c.ListPoliciesRequest(input) + return out, req.Send() +} + +// ListPoliciesWithContext is the same as ListPolicies with the addition of +// the ability to pass a context and additional request options. +// +// See ListPolicies for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListPoliciesWithContext(ctx aws.Context, input *ListPoliciesInput, opts ...request.Option) (*ListPoliciesOutput, error) { + req, out := c.ListPoliciesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListPolicyPrincipals = "ListPolicyPrincipals" + +// ListPolicyPrincipalsRequest generates a "aws/request.Request" representing the +// client's request for the ListPolicyPrincipals operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListPolicyPrincipals for more information on using the ListPolicyPrincipals +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListPolicyPrincipalsRequest method. +// req, resp := client.ListPolicyPrincipalsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListPolicyPrincipalsRequest(input *ListPolicyPrincipalsInput) (req *request.Request, output *ListPolicyPrincipalsOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ListPolicyPrincipals, has been deprecated") + } + op := &request.Operation{ + Name: opListPolicyPrincipals, + HTTPMethod: "GET", + HTTPPath: "/policy-principals", + } + + if input == nil { + input = &ListPolicyPrincipalsInput{} + } + + output = &ListPolicyPrincipalsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListPolicyPrincipals API operation for AWS IoT. +// +// Lists the principals associated with the specified policy. +// +// Note: This API is deprecated. Please use ListTargetsForPolicy instead. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListPolicyPrincipals for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListPolicyPrincipals(input *ListPolicyPrincipalsInput) (*ListPolicyPrincipalsOutput, error) { + req, out := c.ListPolicyPrincipalsRequest(input) + return out, req.Send() +} + +// ListPolicyPrincipalsWithContext is the same as ListPolicyPrincipals with the addition of +// the ability to pass a context and additional request options. +// +// See ListPolicyPrincipals for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListPolicyPrincipalsWithContext(ctx aws.Context, input *ListPolicyPrincipalsInput, opts ...request.Option) (*ListPolicyPrincipalsOutput, error) { + req, out := c.ListPolicyPrincipalsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListPolicyVersions = "ListPolicyVersions" + +// ListPolicyVersionsRequest generates a "aws/request.Request" representing the +// client's request for the ListPolicyVersions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListPolicyVersions for more information on using the ListPolicyVersions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListPolicyVersionsRequest method. +// req, resp := client.ListPolicyVersionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListPolicyVersionsRequest(input *ListPolicyVersionsInput) (req *request.Request, output *ListPolicyVersionsOutput) { + op := &request.Operation{ + Name: opListPolicyVersions, + HTTPMethod: "GET", + HTTPPath: "/policies/{policyName}/version", + } + + if input == nil { + input = &ListPolicyVersionsInput{} + } + + output = &ListPolicyVersionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListPolicyVersions API operation for AWS IoT. +// +// Lists the versions of the specified policy and identifies the default version. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListPolicyVersions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListPolicyVersions(input *ListPolicyVersionsInput) (*ListPolicyVersionsOutput, error) { + req, out := c.ListPolicyVersionsRequest(input) + return out, req.Send() +} + +// ListPolicyVersionsWithContext is the same as ListPolicyVersions with the addition of +// the ability to pass a context and additional request options. +// +// See ListPolicyVersions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListPolicyVersionsWithContext(ctx aws.Context, input *ListPolicyVersionsInput, opts ...request.Option) (*ListPolicyVersionsOutput, error) { + req, out := c.ListPolicyVersionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListPrincipalPolicies = "ListPrincipalPolicies" + +// ListPrincipalPoliciesRequest generates a "aws/request.Request" representing the +// client's request for the ListPrincipalPolicies operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListPrincipalPolicies for more information on using the ListPrincipalPolicies +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListPrincipalPoliciesRequest method. +// req, resp := client.ListPrincipalPoliciesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListPrincipalPoliciesRequest(input *ListPrincipalPoliciesInput) (req *request.Request, output *ListPrincipalPoliciesOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ListPrincipalPolicies, has been deprecated") + } + op := &request.Operation{ + Name: opListPrincipalPolicies, + HTTPMethod: "GET", + HTTPPath: "/principal-policies", + } + + if input == nil { + input = &ListPrincipalPoliciesInput{} + } + + output = &ListPrincipalPoliciesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListPrincipalPolicies API operation for AWS IoT. +// +// Lists the policies attached to the specified principal. If you use an Cognito +// identity, the ID must be in AmazonCognito Identity format (http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html#API_GetCredentialsForIdentity_RequestSyntax). +// +// Note: This API is deprecated. Please use ListAttachedPolicies instead. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListPrincipalPolicies for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListPrincipalPolicies(input *ListPrincipalPoliciesInput) (*ListPrincipalPoliciesOutput, error) { + req, out := c.ListPrincipalPoliciesRequest(input) + return out, req.Send() +} + +// ListPrincipalPoliciesWithContext is the same as ListPrincipalPolicies with the addition of +// the ability to pass a context and additional request options. +// +// See ListPrincipalPolicies for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListPrincipalPoliciesWithContext(ctx aws.Context, input *ListPrincipalPoliciesInput, opts ...request.Option) (*ListPrincipalPoliciesOutput, error) { + req, out := c.ListPrincipalPoliciesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListPrincipalThings = "ListPrincipalThings" + +// ListPrincipalThingsRequest generates a "aws/request.Request" representing the +// client's request for the ListPrincipalThings operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListPrincipalThings for more information on using the ListPrincipalThings +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListPrincipalThingsRequest method. +// req, resp := client.ListPrincipalThingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListPrincipalThingsRequest(input *ListPrincipalThingsInput) (req *request.Request, output *ListPrincipalThingsOutput) { + op := &request.Operation{ + Name: opListPrincipalThings, + HTTPMethod: "GET", + HTTPPath: "/principals/things", + } + + if input == nil { + input = &ListPrincipalThingsInput{} + } + + output = &ListPrincipalThingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListPrincipalThings API operation for AWS IoT. +// +// Lists the things associated with the specified principal. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListPrincipalThings for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) ListPrincipalThings(input *ListPrincipalThingsInput) (*ListPrincipalThingsOutput, error) { + req, out := c.ListPrincipalThingsRequest(input) + return out, req.Send() +} + +// ListPrincipalThingsWithContext is the same as ListPrincipalThings with the addition of +// the ability to pass a context and additional request options. +// +// See ListPrincipalThings for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListPrincipalThingsWithContext(ctx aws.Context, input *ListPrincipalThingsInput, opts ...request.Option) (*ListPrincipalThingsOutput, error) { + req, out := c.ListPrincipalThingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListRoleAliases = "ListRoleAliases" + +// ListRoleAliasesRequest generates a "aws/request.Request" representing the +// client's request for the ListRoleAliases operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListRoleAliases for more information on using the ListRoleAliases +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListRoleAliasesRequest method. +// req, resp := client.ListRoleAliasesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListRoleAliasesRequest(input *ListRoleAliasesInput) (req *request.Request, output *ListRoleAliasesOutput) { + op := &request.Operation{ + Name: opListRoleAliases, + HTTPMethod: "GET", + HTTPPath: "/role-aliases", + } + + if input == nil { + input = &ListRoleAliasesInput{} + } + + output = &ListRoleAliasesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListRoleAliases API operation for AWS IoT. +// +// Lists the role aliases registered in your account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListRoleAliases for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListRoleAliases(input *ListRoleAliasesInput) (*ListRoleAliasesOutput, error) { + req, out := c.ListRoleAliasesRequest(input) + return out, req.Send() +} + +// ListRoleAliasesWithContext is the same as ListRoleAliases with the addition of +// the ability to pass a context and additional request options. +// +// See ListRoleAliases for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListRoleAliasesWithContext(ctx aws.Context, input *ListRoleAliasesInput, opts ...request.Option) (*ListRoleAliasesOutput, error) { + req, out := c.ListRoleAliasesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListTargetsForPolicy = "ListTargetsForPolicy" + +// ListTargetsForPolicyRequest generates a "aws/request.Request" representing the +// client's request for the ListTargetsForPolicy operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTargetsForPolicy for more information on using the ListTargetsForPolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListTargetsForPolicyRequest method. +// req, resp := client.ListTargetsForPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListTargetsForPolicyRequest(input *ListTargetsForPolicyInput) (req *request.Request, output *ListTargetsForPolicyOutput) { + op := &request.Operation{ + Name: opListTargetsForPolicy, + HTTPMethod: "POST", + HTTPPath: "/policy-targets/{policyName}", + } + + if input == nil { + input = &ListTargetsForPolicyInput{} + } + + output = &ListTargetsForPolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTargetsForPolicy API operation for AWS IoT. +// +// List targets for the specified policy. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListTargetsForPolicy for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of attached entities exceeds the limit. +// +func (c *IoT) ListTargetsForPolicy(input *ListTargetsForPolicyInput) (*ListTargetsForPolicyOutput, error) { + req, out := c.ListTargetsForPolicyRequest(input) + return out, req.Send() +} + +// ListTargetsForPolicyWithContext is the same as ListTargetsForPolicy with the addition of +// the ability to pass a context and additional request options. +// +// See ListTargetsForPolicy for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListTargetsForPolicyWithContext(ctx aws.Context, input *ListTargetsForPolicyInput, opts ...request.Option) (*ListTargetsForPolicyOutput, error) { + req, out := c.ListTargetsForPolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListThingGroups = "ListThingGroups" + +// ListThingGroupsRequest generates a "aws/request.Request" representing the +// client's request for the ListThingGroups operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListThingGroups for more information on using the ListThingGroups +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListThingGroupsRequest method. +// req, resp := client.ListThingGroupsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListThingGroupsRequest(input *ListThingGroupsInput) (req *request.Request, output *ListThingGroupsOutput) { + op := &request.Operation{ + Name: opListThingGroups, + HTTPMethod: "GET", + HTTPPath: "/thing-groups", + } + + if input == nil { + input = &ListThingGroupsInput{} + } + + output = &ListThingGroupsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListThingGroups API operation for AWS IoT. +// +// List the thing groups in your account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListThingGroups for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) ListThingGroups(input *ListThingGroupsInput) (*ListThingGroupsOutput, error) { + req, out := c.ListThingGroupsRequest(input) + return out, req.Send() +} + +// ListThingGroupsWithContext is the same as ListThingGroups with the addition of +// the ability to pass a context and additional request options. +// +// See ListThingGroups for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingGroupsWithContext(ctx aws.Context, input *ListThingGroupsInput, opts ...request.Option) (*ListThingGroupsOutput, error) { + req, out := c.ListThingGroupsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListThingGroupsForThing = "ListThingGroupsForThing" + +// ListThingGroupsForThingRequest generates a "aws/request.Request" representing the +// client's request for the ListThingGroupsForThing operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListThingGroupsForThing for more information on using the ListThingGroupsForThing +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListThingGroupsForThingRequest method. +// req, resp := client.ListThingGroupsForThingRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListThingGroupsForThingRequest(input *ListThingGroupsForThingInput) (req *request.Request, output *ListThingGroupsForThingOutput) { + op := &request.Operation{ + Name: opListThingGroupsForThing, + HTTPMethod: "GET", + HTTPPath: "/things/{thingName}/thing-groups", + } + + if input == nil { + input = &ListThingGroupsForThingInput{} + } + + output = &ListThingGroupsForThingOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListThingGroupsForThing API operation for AWS IoT. +// +// List the thing groups to which the specified thing belongs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListThingGroupsForThing for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) ListThingGroupsForThing(input *ListThingGroupsForThingInput) (*ListThingGroupsForThingOutput, error) { + req, out := c.ListThingGroupsForThingRequest(input) + return out, req.Send() +} + +// ListThingGroupsForThingWithContext is the same as ListThingGroupsForThing with the addition of +// the ability to pass a context and additional request options. +// +// See ListThingGroupsForThing for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingGroupsForThingWithContext(ctx aws.Context, input *ListThingGroupsForThingInput, opts ...request.Option) (*ListThingGroupsForThingOutput, error) { + req, out := c.ListThingGroupsForThingRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListThingPrincipals = "ListThingPrincipals" + +// ListThingPrincipalsRequest generates a "aws/request.Request" representing the +// client's request for the ListThingPrincipals operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListThingPrincipals for more information on using the ListThingPrincipals +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListThingPrincipalsRequest method. +// req, resp := client.ListThingPrincipalsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListThingPrincipalsRequest(input *ListThingPrincipalsInput) (req *request.Request, output *ListThingPrincipalsOutput) { + op := &request.Operation{ + Name: opListThingPrincipals, + HTTPMethod: "GET", + HTTPPath: "/things/{thingName}/principals", + } + + if input == nil { + input = &ListThingPrincipalsInput{} + } + + output = &ListThingPrincipalsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListThingPrincipals API operation for AWS IoT. +// +// Lists the principals associated with the specified thing. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListThingPrincipals for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) ListThingPrincipals(input *ListThingPrincipalsInput) (*ListThingPrincipalsOutput, error) { + req, out := c.ListThingPrincipalsRequest(input) + return out, req.Send() +} + +// ListThingPrincipalsWithContext is the same as ListThingPrincipals with the addition of +// the ability to pass a context and additional request options. +// +// See ListThingPrincipals for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingPrincipalsWithContext(ctx aws.Context, input *ListThingPrincipalsInput, opts ...request.Option) (*ListThingPrincipalsOutput, error) { + req, out := c.ListThingPrincipalsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListThingRegistrationTaskReports = "ListThingRegistrationTaskReports" + +// ListThingRegistrationTaskReportsRequest generates a "aws/request.Request" representing the +// client's request for the ListThingRegistrationTaskReports operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListThingRegistrationTaskReports for more information on using the ListThingRegistrationTaskReports +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListThingRegistrationTaskReportsRequest method. +// req, resp := client.ListThingRegistrationTaskReportsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListThingRegistrationTaskReportsRequest(input *ListThingRegistrationTaskReportsInput) (req *request.Request, output *ListThingRegistrationTaskReportsOutput) { + op := &request.Operation{ + Name: opListThingRegistrationTaskReports, + HTTPMethod: "GET", + HTTPPath: "/thing-registration-tasks/{taskId}/reports", + } + + if input == nil { + input = &ListThingRegistrationTaskReportsInput{} + } + + output = &ListThingRegistrationTaskReportsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListThingRegistrationTaskReports API operation for AWS IoT. +// +// Information about the thing registration tasks. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListThingRegistrationTaskReports for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListThingRegistrationTaskReports(input *ListThingRegistrationTaskReportsInput) (*ListThingRegistrationTaskReportsOutput, error) { + req, out := c.ListThingRegistrationTaskReportsRequest(input) + return out, req.Send() +} + +// ListThingRegistrationTaskReportsWithContext is the same as ListThingRegistrationTaskReports with the addition of +// the ability to pass a context and additional request options. +// +// See ListThingRegistrationTaskReports for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingRegistrationTaskReportsWithContext(ctx aws.Context, input *ListThingRegistrationTaskReportsInput, opts ...request.Option) (*ListThingRegistrationTaskReportsOutput, error) { + req, out := c.ListThingRegistrationTaskReportsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListThingRegistrationTasks = "ListThingRegistrationTasks" + +// ListThingRegistrationTasksRequest generates a "aws/request.Request" representing the +// client's request for the ListThingRegistrationTasks operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListThingRegistrationTasks for more information on using the ListThingRegistrationTasks +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListThingRegistrationTasksRequest method. +// req, resp := client.ListThingRegistrationTasksRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListThingRegistrationTasksRequest(input *ListThingRegistrationTasksInput) (req *request.Request, output *ListThingRegistrationTasksOutput) { + op := &request.Operation{ + Name: opListThingRegistrationTasks, + HTTPMethod: "GET", + HTTPPath: "/thing-registration-tasks", + } + + if input == nil { + input = &ListThingRegistrationTasksInput{} + } + + output = &ListThingRegistrationTasksOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListThingRegistrationTasks API operation for AWS IoT. +// +// List bulk thing provisioning tasks. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListThingRegistrationTasks for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListThingRegistrationTasks(input *ListThingRegistrationTasksInput) (*ListThingRegistrationTasksOutput, error) { + req, out := c.ListThingRegistrationTasksRequest(input) + return out, req.Send() +} + +// ListThingRegistrationTasksWithContext is the same as ListThingRegistrationTasks with the addition of +// the ability to pass a context and additional request options. +// +// See ListThingRegistrationTasks for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingRegistrationTasksWithContext(ctx aws.Context, input *ListThingRegistrationTasksInput, opts ...request.Option) (*ListThingRegistrationTasksOutput, error) { + req, out := c.ListThingRegistrationTasksRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListThingTypes = "ListThingTypes" + +// ListThingTypesRequest generates a "aws/request.Request" representing the +// client's request for the ListThingTypes operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListThingTypes for more information on using the ListThingTypes +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListThingTypesRequest method. +// req, resp := client.ListThingTypesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListThingTypesRequest(input *ListThingTypesInput) (req *request.Request, output *ListThingTypesOutput) { + op := &request.Operation{ + Name: opListThingTypes, + HTTPMethod: "GET", + HTTPPath: "/thing-types", + } + + if input == nil { + input = &ListThingTypesInput{} + } + + output = &ListThingTypesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListThingTypes API operation for AWS IoT. +// +// Lists the existing thing types. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListThingTypes for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListThingTypes(input *ListThingTypesInput) (*ListThingTypesOutput, error) { + req, out := c.ListThingTypesRequest(input) + return out, req.Send() +} + +// ListThingTypesWithContext is the same as ListThingTypes with the addition of +// the ability to pass a context and additional request options. +// +// See ListThingTypes for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingTypesWithContext(ctx aws.Context, input *ListThingTypesInput, opts ...request.Option) (*ListThingTypesOutput, error) { + req, out := c.ListThingTypesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListThings = "ListThings" + +// ListThingsRequest generates a "aws/request.Request" representing the +// client's request for the ListThings operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListThings for more information on using the ListThings +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListThingsRequest method. +// req, resp := client.ListThingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListThingsRequest(input *ListThingsInput) (req *request.Request, output *ListThingsOutput) { + op := &request.Operation{ + Name: opListThings, + HTTPMethod: "GET", + HTTPPath: "/things", + } + + if input == nil { + input = &ListThingsInput{} + } + + output = &ListThingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListThings API operation for AWS IoT. +// +// Lists your things. Use the attributeName and attributeValue parameters to +// filter your things. For example, calling ListThings with attributeName=Color +// and attributeValue=Red retrieves all things in the registry that contain +// an attribute Color with the value Red. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListThings for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) ListThings(input *ListThingsInput) (*ListThingsOutput, error) { + req, out := c.ListThingsRequest(input) + return out, req.Send() +} + +// ListThingsWithContext is the same as ListThings with the addition of +// the ability to pass a context and additional request options. +// +// See ListThings for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingsWithContext(ctx aws.Context, input *ListThingsInput, opts ...request.Option) (*ListThingsOutput, error) { + req, out := c.ListThingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListThingsInThingGroup = "ListThingsInThingGroup" + +// ListThingsInThingGroupRequest generates a "aws/request.Request" representing the +// client's request for the ListThingsInThingGroup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListThingsInThingGroup for more information on using the ListThingsInThingGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListThingsInThingGroupRequest method. +// req, resp := client.ListThingsInThingGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListThingsInThingGroupRequest(input *ListThingsInThingGroupInput) (req *request.Request, output *ListThingsInThingGroupOutput) { + op := &request.Operation{ + Name: opListThingsInThingGroup, + HTTPMethod: "GET", + HTTPPath: "/thing-groups/{thingGroupName}/things", + } + + if input == nil { + input = &ListThingsInThingGroupInput{} + } + + output = &ListThingsInThingGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListThingsInThingGroup API operation for AWS IoT. +// +// Lists the things in the specified group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListThingsInThingGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) ListThingsInThingGroup(input *ListThingsInThingGroupInput) (*ListThingsInThingGroupOutput, error) { + req, out := c.ListThingsInThingGroupRequest(input) + return out, req.Send() +} + +// ListThingsInThingGroupWithContext is the same as ListThingsInThingGroup with the addition of +// the ability to pass a context and additional request options. +// +// See ListThingsInThingGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingsInThingGroupWithContext(ctx aws.Context, input *ListThingsInThingGroupInput, opts ...request.Option) (*ListThingsInThingGroupOutput, error) { + req, out := c.ListThingsInThingGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListTopicRules = "ListTopicRules" + +// ListTopicRulesRequest generates a "aws/request.Request" representing the +// client's request for the ListTopicRules operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTopicRules for more information on using the ListTopicRules +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListTopicRulesRequest method. +// req, resp := client.ListTopicRulesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListTopicRulesRequest(input *ListTopicRulesInput) (req *request.Request, output *ListTopicRulesOutput) { + op := &request.Operation{ + Name: opListTopicRules, + HTTPMethod: "GET", + HTTPPath: "/rules", + } + + if input == nil { + input = &ListTopicRulesInput{} + } + + output = &ListTopicRulesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTopicRules API operation for AWS IoT. +// +// Lists the rules for the specific topic. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListTopicRules for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalException "InternalException" +// An unexpected error has occurred. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +func (c *IoT) ListTopicRules(input *ListTopicRulesInput) (*ListTopicRulesOutput, error) { + req, out := c.ListTopicRulesRequest(input) + return out, req.Send() +} + +// ListTopicRulesWithContext is the same as ListTopicRules with the addition of +// the ability to pass a context and additional request options. +// +// See ListTopicRules for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListTopicRulesWithContext(ctx aws.Context, input *ListTopicRulesInput, opts ...request.Option) (*ListTopicRulesOutput, error) { + req, out := c.ListTopicRulesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListV2LoggingLevels = "ListV2LoggingLevels" + +// ListV2LoggingLevelsRequest generates a "aws/request.Request" representing the +// client's request for the ListV2LoggingLevels operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListV2LoggingLevels for more information on using the ListV2LoggingLevels +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListV2LoggingLevelsRequest method. +// req, resp := client.ListV2LoggingLevelsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListV2LoggingLevelsRequest(input *ListV2LoggingLevelsInput) (req *request.Request, output *ListV2LoggingLevelsOutput) { + op := &request.Operation{ + Name: opListV2LoggingLevels, + HTTPMethod: "GET", + HTTPPath: "/v2LoggingLevel", + } + + if input == nil { + input = &ListV2LoggingLevelsInput{} + } + + output = &ListV2LoggingLevelsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListV2LoggingLevels API operation for AWS IoT. +// +// Lists logging levels. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListV2LoggingLevels for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalException "InternalException" +// An unexpected error has occurred. +// +// * ErrCodeNotConfiguredException "NotConfiguredException" +// The resource is not configured. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +func (c *IoT) ListV2LoggingLevels(input *ListV2LoggingLevelsInput) (*ListV2LoggingLevelsOutput, error) { + req, out := c.ListV2LoggingLevelsRequest(input) + return out, req.Send() +} + +// ListV2LoggingLevelsWithContext is the same as ListV2LoggingLevels with the addition of +// the ability to pass a context and additional request options. +// +// See ListV2LoggingLevels for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListV2LoggingLevelsWithContext(ctx aws.Context, input *ListV2LoggingLevelsInput, opts ...request.Option) (*ListV2LoggingLevelsOutput, error) { + req, out := c.ListV2LoggingLevelsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRegisterCACertificate = "RegisterCACertificate" + +// RegisterCACertificateRequest generates a "aws/request.Request" representing the +// client's request for the RegisterCACertificate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RegisterCACertificate for more information on using the RegisterCACertificate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RegisterCACertificateRequest method. +// req, resp := client.RegisterCACertificateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) RegisterCACertificateRequest(input *RegisterCACertificateInput) (req *request.Request, output *RegisterCACertificateOutput) { + op := &request.Operation{ + Name: opRegisterCACertificate, + HTTPMethod: "POST", + HTTPPath: "/cacertificate", + } + + if input == nil { + input = &RegisterCACertificateInput{} + } + + output = &RegisterCACertificateOutput{} + req = c.newRequest(op, input, output) + return +} + +// RegisterCACertificate API operation for AWS IoT. +// +// Registers a CA certificate with AWS IoT. This CA certificate can then be +// used to sign device certificates, which can be then registered with AWS IoT. +// You can register up to 10 CA certificates per AWS account that have the same +// subject field. This enables you to have up to 10 certificate authorities +// sign your device certificates. If you have more than one CA certificate registered, +// make sure you pass the CA certificate when you register your device certificates +// with the RegisterCertificate API. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation RegisterCACertificate for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" +// The resource already exists. +// +// * ErrCodeRegistrationCodeValidationException "RegistrationCodeValidationException" +// The registration code is invalid. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeCertificateValidationException "CertificateValidationException" +// The certificate is invalid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of attached entities exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) RegisterCACertificate(input *RegisterCACertificateInput) (*RegisterCACertificateOutput, error) { + req, out := c.RegisterCACertificateRequest(input) + return out, req.Send() +} + +// RegisterCACertificateWithContext is the same as RegisterCACertificate with the addition of +// the ability to pass a context and additional request options. +// +// See RegisterCACertificate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) RegisterCACertificateWithContext(ctx aws.Context, input *RegisterCACertificateInput, opts ...request.Option) (*RegisterCACertificateOutput, error) { + req, out := c.RegisterCACertificateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRegisterCertificate = "RegisterCertificate" + +// RegisterCertificateRequest generates a "aws/request.Request" representing the +// client's request for the RegisterCertificate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RegisterCertificate for more information on using the RegisterCertificate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RegisterCertificateRequest method. +// req, resp := client.RegisterCertificateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) RegisterCertificateRequest(input *RegisterCertificateInput) (req *request.Request, output *RegisterCertificateOutput) { + op := &request.Operation{ + Name: opRegisterCertificate, + HTTPMethod: "POST", + HTTPPath: "/certificate/register", + } + + if input == nil { + input = &RegisterCertificateInput{} + } + + output = &RegisterCertificateOutput{} + req = c.newRequest(op, input, output) + return +} + +// RegisterCertificate API operation for AWS IoT. +// +// Registers a device certificate with AWS IoT. If you have more than one CA +// certificate that has the same subject field, you must specify the CA certificate +// that was used to sign the device certificate being registered. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation RegisterCertificate for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" +// The resource already exists. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeCertificateValidationException "CertificateValidationException" +// The certificate is invalid. +// +// * ErrCodeCertificateStateException "CertificateStateException" +// The certificate operation is not allowed. +// +// * ErrCodeCertificateConflictException "CertificateConflictException" +// Unable to verify the CA certificate used to sign the device certificate you +// are attempting to register. This is happens when you have registered more +// than one CA certificate that has the same subject field and public key. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) RegisterCertificate(input *RegisterCertificateInput) (*RegisterCertificateOutput, error) { + req, out := c.RegisterCertificateRequest(input) + return out, req.Send() +} + +// RegisterCertificateWithContext is the same as RegisterCertificate with the addition of +// the ability to pass a context and additional request options. +// +// See RegisterCertificate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) RegisterCertificateWithContext(ctx aws.Context, input *RegisterCertificateInput, opts ...request.Option) (*RegisterCertificateOutput, error) { + req, out := c.RegisterCertificateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRegisterThing = "RegisterThing" + +// RegisterThingRequest generates a "aws/request.Request" representing the +// client's request for the RegisterThing operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RegisterThing for more information on using the RegisterThing +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RegisterThingRequest method. +// req, resp := client.RegisterThingRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) RegisterThingRequest(input *RegisterThingInput) (req *request.Request, output *RegisterThingOutput) { + op := &request.Operation{ + Name: opRegisterThing, + HTTPMethod: "POST", + HTTPPath: "/things", + } + + if input == nil { + input = &RegisterThingInput{} + } + + output = &RegisterThingOutput{} + req = c.newRequest(op, input, output) + return +} + +// RegisterThing API operation for AWS IoT. +// +// Provisions a thing. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation RegisterThing for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeConflictingResourceUpdateException "ConflictingResourceUpdateException" +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. +// +// * ErrCodeResourceRegistrationFailureException "ResourceRegistrationFailureException" +// The resource registration failed. +// +func (c *IoT) RegisterThing(input *RegisterThingInput) (*RegisterThingOutput, error) { + req, out := c.RegisterThingRequest(input) + return out, req.Send() +} + +// RegisterThingWithContext is the same as RegisterThing with the addition of +// the ability to pass a context and additional request options. +// +// See RegisterThing for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) RegisterThingWithContext(ctx aws.Context, input *RegisterThingInput, opts ...request.Option) (*RegisterThingOutput, error) { + req, out := c.RegisterThingRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRejectCertificateTransfer = "RejectCertificateTransfer" + +// RejectCertificateTransferRequest generates a "aws/request.Request" representing the +// client's request for the RejectCertificateTransfer operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RejectCertificateTransfer for more information on using the RejectCertificateTransfer +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RejectCertificateTransferRequest method. +// req, resp := client.RejectCertificateTransferRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) RejectCertificateTransferRequest(input *RejectCertificateTransferInput) (req *request.Request, output *RejectCertificateTransferOutput) { + op := &request.Operation{ + Name: opRejectCertificateTransfer, + HTTPMethod: "PATCH", + HTTPPath: "/reject-certificate-transfer/{certificateId}", + } + + if input == nil { + input = &RejectCertificateTransferInput{} + } + + output = &RejectCertificateTransferOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// RejectCertificateTransfer API operation for AWS IoT. +// +// Rejects a pending certificate transfer. After AWS IoT rejects a certificate +// transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE. +// +// To check for pending certificate transfers, call ListCertificates to enumerate +// your certificates. +// +// This operation can only be called by the transfer destination. After it is +// called, the certificate will be returned to the source's account in the INACTIVE +// state. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation RejectCertificateTransfer for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeTransferAlreadyCompletedException "TransferAlreadyCompletedException" +// You can't revert the certificate transfer because the transfer is already +// complete. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) RejectCertificateTransfer(input *RejectCertificateTransferInput) (*RejectCertificateTransferOutput, error) { + req, out := c.RejectCertificateTransferRequest(input) + return out, req.Send() +} + +// RejectCertificateTransferWithContext is the same as RejectCertificateTransfer with the addition of +// the ability to pass a context and additional request options. +// +// See RejectCertificateTransfer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) RejectCertificateTransferWithContext(ctx aws.Context, input *RejectCertificateTransferInput, opts ...request.Option) (*RejectCertificateTransferOutput, error) { + req, out := c.RejectCertificateTransferRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRemoveThingFromThingGroup = "RemoveThingFromThingGroup" + +// RemoveThingFromThingGroupRequest generates a "aws/request.Request" representing the +// client's request for the RemoveThingFromThingGroup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RemoveThingFromThingGroup for more information on using the RemoveThingFromThingGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RemoveThingFromThingGroupRequest method. +// req, resp := client.RemoveThingFromThingGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) RemoveThingFromThingGroupRequest(input *RemoveThingFromThingGroupInput) (req *request.Request, output *RemoveThingFromThingGroupOutput) { + op := &request.Operation{ + Name: opRemoveThingFromThingGroup, + HTTPMethod: "PUT", + HTTPPath: "/thing-groups/removeThingFromThingGroup", + } + + if input == nil { + input = &RemoveThingFromThingGroupInput{} + } + + output = &RemoveThingFromThingGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// RemoveThingFromThingGroup API operation for AWS IoT. +// +// Remove the specified thing from the specified group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation RemoveThingFromThingGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) RemoveThingFromThingGroup(input *RemoveThingFromThingGroupInput) (*RemoveThingFromThingGroupOutput, error) { + req, out := c.RemoveThingFromThingGroupRequest(input) + return out, req.Send() +} + +// RemoveThingFromThingGroupWithContext is the same as RemoveThingFromThingGroup with the addition of +// the ability to pass a context and additional request options. +// +// See RemoveThingFromThingGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) RemoveThingFromThingGroupWithContext(ctx aws.Context, input *RemoveThingFromThingGroupInput, opts ...request.Option) (*RemoveThingFromThingGroupOutput, error) { + req, out := c.RemoveThingFromThingGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opReplaceTopicRule = "ReplaceTopicRule" + +// ReplaceTopicRuleRequest generates a "aws/request.Request" representing the +// client's request for the ReplaceTopicRule operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ReplaceTopicRule for more information on using the ReplaceTopicRule +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ReplaceTopicRuleRequest method. +// req, resp := client.ReplaceTopicRuleRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ReplaceTopicRuleRequest(input *ReplaceTopicRuleInput) (req *request.Request, output *ReplaceTopicRuleOutput) { + op := &request.Operation{ + Name: opReplaceTopicRule, + HTTPMethod: "PATCH", + HTTPPath: "/rules/{ruleName}", + } + + if input == nil { + input = &ReplaceTopicRuleInput{} + } + + output = &ReplaceTopicRuleOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// ReplaceTopicRule API operation for AWS IoT. +// +// Replaces the rule. You must specify all parameters for the new rule. Creating +// rules is an administrator-level action. Any user who has permission to create +// rules will be able to access data processed by the rule. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ReplaceTopicRule for usage and error information. +// +// Returned Error Codes: +// * ErrCodeSqlParseException "SqlParseException" +// The Rule-SQL expression can't be parsed correctly. +// +// * ErrCodeInternalException "InternalException" +// An unexpected error has occurred. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +func (c *IoT) ReplaceTopicRule(input *ReplaceTopicRuleInput) (*ReplaceTopicRuleOutput, error) { + req, out := c.ReplaceTopicRuleRequest(input) + return out, req.Send() +} + +// ReplaceTopicRuleWithContext is the same as ReplaceTopicRule with the addition of +// the ability to pass a context and additional request options. +// +// See ReplaceTopicRule for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ReplaceTopicRuleWithContext(ctx aws.Context, input *ReplaceTopicRuleInput, opts ...request.Option) (*ReplaceTopicRuleOutput, error) { + req, out := c.ReplaceTopicRuleRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opSearchIndex = "SearchIndex" + +// SearchIndexRequest generates a "aws/request.Request" representing the +// client's request for the SearchIndex operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See SearchIndex for more information on using the SearchIndex +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the SearchIndexRequest method. +// req, resp := client.SearchIndexRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) SearchIndexRequest(input *SearchIndexInput) (req *request.Request, output *SearchIndexOutput) { + op := &request.Operation{ + Name: opSearchIndex, + HTTPMethod: "POST", + HTTPPath: "/indices/search", + } + + if input == nil { + input = &SearchIndexInput{} + } + + output = &SearchIndexOutput{} + req = c.newRequest(op, input, output) + return +} + +// SearchIndex API operation for AWS IoT. +// +// The query search index. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation SearchIndex for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeInvalidQueryException "InvalidQueryException" +// The query is invalid. +// +// * ErrCodeIndexNotReadyException "IndexNotReadyException" +// The index is not ready. +// +func (c *IoT) SearchIndex(input *SearchIndexInput) (*SearchIndexOutput, error) { + req, out := c.SearchIndexRequest(input) + return out, req.Send() +} + +// SearchIndexWithContext is the same as SearchIndex with the addition of +// the ability to pass a context and additional request options. +// +// See SearchIndex for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) SearchIndexWithContext(ctx aws.Context, input *SearchIndexInput, opts ...request.Option) (*SearchIndexOutput, error) { + req, out := c.SearchIndexRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opSetDefaultAuthorizer = "SetDefaultAuthorizer" + +// SetDefaultAuthorizerRequest generates a "aws/request.Request" representing the +// client's request for the SetDefaultAuthorizer operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See SetDefaultAuthorizer for more information on using the SetDefaultAuthorizer +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the SetDefaultAuthorizerRequest method. +// req, resp := client.SetDefaultAuthorizerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) SetDefaultAuthorizerRequest(input *SetDefaultAuthorizerInput) (req *request.Request, output *SetDefaultAuthorizerOutput) { + op := &request.Operation{ + Name: opSetDefaultAuthorizer, + HTTPMethod: "POST", + HTTPPath: "/default-authorizer", + } + + if input == nil { + input = &SetDefaultAuthorizerInput{} + } + + output = &SetDefaultAuthorizerOutput{} + req = c.newRequest(op, input, output) + return +} + +// SetDefaultAuthorizer API operation for AWS IoT. +// +// Sets the default authorizer. This will be used if a websocket connection +// is made without specifying an authorizer. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation SetDefaultAuthorizer for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) SetDefaultAuthorizer(input *SetDefaultAuthorizerInput) (*SetDefaultAuthorizerOutput, error) { + req, out := c.SetDefaultAuthorizerRequest(input) + return out, req.Send() +} + +// SetDefaultAuthorizerWithContext is the same as SetDefaultAuthorizer with the addition of +// the ability to pass a context and additional request options. +// +// See SetDefaultAuthorizer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) SetDefaultAuthorizerWithContext(ctx aws.Context, input *SetDefaultAuthorizerInput, opts ...request.Option) (*SetDefaultAuthorizerOutput, error) { + req, out := c.SetDefaultAuthorizerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opSetDefaultPolicyVersion = "SetDefaultPolicyVersion" + +// SetDefaultPolicyVersionRequest generates a "aws/request.Request" representing the +// client's request for the SetDefaultPolicyVersion operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See SetDefaultPolicyVersion for more information on using the SetDefaultPolicyVersion +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the SetDefaultPolicyVersionRequest method. +// req, resp := client.SetDefaultPolicyVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) SetDefaultPolicyVersionRequest(input *SetDefaultPolicyVersionInput) (req *request.Request, output *SetDefaultPolicyVersionOutput) { + op := &request.Operation{ + Name: opSetDefaultPolicyVersion, + HTTPMethod: "PATCH", + HTTPPath: "/policies/{policyName}/version/{policyVersionId}", + } + + if input == nil { + input = &SetDefaultPolicyVersionInput{} + } + + output = &SetDefaultPolicyVersionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// SetDefaultPolicyVersion API operation for AWS IoT. +// +// Sets the specified version of the specified policy as the policy's default +// (operative) version. This action affects all certificates to which the policy +// is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy +// API. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation SetDefaultPolicyVersion for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) SetDefaultPolicyVersion(input *SetDefaultPolicyVersionInput) (*SetDefaultPolicyVersionOutput, error) { + req, out := c.SetDefaultPolicyVersionRequest(input) + return out, req.Send() +} + +// SetDefaultPolicyVersionWithContext is the same as SetDefaultPolicyVersion with the addition of +// the ability to pass a context and additional request options. +// +// See SetDefaultPolicyVersion for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) SetDefaultPolicyVersionWithContext(ctx aws.Context, input *SetDefaultPolicyVersionInput, opts ...request.Option) (*SetDefaultPolicyVersionOutput, error) { + req, out := c.SetDefaultPolicyVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opSetLoggingOptions = "SetLoggingOptions" + +// SetLoggingOptionsRequest generates a "aws/request.Request" representing the +// client's request for the SetLoggingOptions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See SetLoggingOptions for more information on using the SetLoggingOptions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the SetLoggingOptionsRequest method. +// req, resp := client.SetLoggingOptionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) SetLoggingOptionsRequest(input *SetLoggingOptionsInput) (req *request.Request, output *SetLoggingOptionsOutput) { + op := &request.Operation{ + Name: opSetLoggingOptions, + HTTPMethod: "POST", + HTTPPath: "/loggingOptions", + } + + if input == nil { + input = &SetLoggingOptionsInput{} + } + + output = &SetLoggingOptionsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// SetLoggingOptions API operation for AWS IoT. +// +// Sets the logging options. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation SetLoggingOptions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalException "InternalException" +// An unexpected error has occurred. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +func (c *IoT) SetLoggingOptions(input *SetLoggingOptionsInput) (*SetLoggingOptionsOutput, error) { + req, out := c.SetLoggingOptionsRequest(input) + return out, req.Send() +} + +// SetLoggingOptionsWithContext is the same as SetLoggingOptions with the addition of +// the ability to pass a context and additional request options. +// +// See SetLoggingOptions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) SetLoggingOptionsWithContext(ctx aws.Context, input *SetLoggingOptionsInput, opts ...request.Option) (*SetLoggingOptionsOutput, error) { + req, out := c.SetLoggingOptionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opSetV2LoggingLevel = "SetV2LoggingLevel" + +// SetV2LoggingLevelRequest generates a "aws/request.Request" representing the +// client's request for the SetV2LoggingLevel operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See SetV2LoggingLevel for more information on using the SetV2LoggingLevel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the SetV2LoggingLevelRequest method. +// req, resp := client.SetV2LoggingLevelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) SetV2LoggingLevelRequest(input *SetV2LoggingLevelInput) (req *request.Request, output *SetV2LoggingLevelOutput) { + op := &request.Operation{ + Name: opSetV2LoggingLevel, + HTTPMethod: "POST", + HTTPPath: "/v2LoggingLevel", + } + + if input == nil { + input = &SetV2LoggingLevelInput{} + } + + output = &SetV2LoggingLevelOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// SetV2LoggingLevel API operation for AWS IoT. +// +// Sets the logging level. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation SetV2LoggingLevel for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalException "InternalException" +// An unexpected error has occurred. +// +// * ErrCodeNotConfiguredException "NotConfiguredException" +// The resource is not configured. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +func (c *IoT) SetV2LoggingLevel(input *SetV2LoggingLevelInput) (*SetV2LoggingLevelOutput, error) { + req, out := c.SetV2LoggingLevelRequest(input) + return out, req.Send() +} + +// SetV2LoggingLevelWithContext is the same as SetV2LoggingLevel with the addition of +// the ability to pass a context and additional request options. +// +// See SetV2LoggingLevel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) SetV2LoggingLevelWithContext(ctx aws.Context, input *SetV2LoggingLevelInput, opts ...request.Option) (*SetV2LoggingLevelOutput, error) { + req, out := c.SetV2LoggingLevelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opSetV2LoggingOptions = "SetV2LoggingOptions" + +// SetV2LoggingOptionsRequest generates a "aws/request.Request" representing the +// client's request for the SetV2LoggingOptions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See SetV2LoggingOptions for more information on using the SetV2LoggingOptions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the SetV2LoggingOptionsRequest method. +// req, resp := client.SetV2LoggingOptionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) SetV2LoggingOptionsRequest(input *SetV2LoggingOptionsInput) (req *request.Request, output *SetV2LoggingOptionsOutput) { + op := &request.Operation{ + Name: opSetV2LoggingOptions, + HTTPMethod: "POST", + HTTPPath: "/v2LoggingOptions", + } + + if input == nil { + input = &SetV2LoggingOptionsInput{} + } + + output = &SetV2LoggingOptionsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// SetV2LoggingOptions API operation for AWS IoT. +// +// Sets the logging options for the V2 logging service. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation SetV2LoggingOptions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalException "InternalException" +// An unexpected error has occurred. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +func (c *IoT) SetV2LoggingOptions(input *SetV2LoggingOptionsInput) (*SetV2LoggingOptionsOutput, error) { + req, out := c.SetV2LoggingOptionsRequest(input) + return out, req.Send() +} + +// SetV2LoggingOptionsWithContext is the same as SetV2LoggingOptions with the addition of +// the ability to pass a context and additional request options. +// +// See SetV2LoggingOptions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) SetV2LoggingOptionsWithContext(ctx aws.Context, input *SetV2LoggingOptionsInput, opts ...request.Option) (*SetV2LoggingOptionsOutput, error) { + req, out := c.SetV2LoggingOptionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartThingRegistrationTask = "StartThingRegistrationTask" + +// StartThingRegistrationTaskRequest generates a "aws/request.Request" representing the +// client's request for the StartThingRegistrationTask operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartThingRegistrationTask for more information on using the StartThingRegistrationTask +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StartThingRegistrationTaskRequest method. +// req, resp := client.StartThingRegistrationTaskRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) StartThingRegistrationTaskRequest(input *StartThingRegistrationTaskInput) (req *request.Request, output *StartThingRegistrationTaskOutput) { + op := &request.Operation{ + Name: opStartThingRegistrationTask, + HTTPMethod: "POST", + HTTPPath: "/thing-registration-tasks", + } + + if input == nil { + input = &StartThingRegistrationTaskInput{} + } + + output = &StartThingRegistrationTaskOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartThingRegistrationTask API operation for AWS IoT. +// +// Creates a bulk thing provisioning task. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation StartThingRegistrationTask for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) StartThingRegistrationTask(input *StartThingRegistrationTaskInput) (*StartThingRegistrationTaskOutput, error) { + req, out := c.StartThingRegistrationTaskRequest(input) + return out, req.Send() +} + +// StartThingRegistrationTaskWithContext is the same as StartThingRegistrationTask with the addition of +// the ability to pass a context and additional request options. +// +// See StartThingRegistrationTask for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) StartThingRegistrationTaskWithContext(ctx aws.Context, input *StartThingRegistrationTaskInput, opts ...request.Option) (*StartThingRegistrationTaskOutput, error) { + req, out := c.StartThingRegistrationTaskRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStopThingRegistrationTask = "StopThingRegistrationTask" + +// StopThingRegistrationTaskRequest generates a "aws/request.Request" representing the +// client's request for the StopThingRegistrationTask operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StopThingRegistrationTask for more information on using the StopThingRegistrationTask +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StopThingRegistrationTaskRequest method. +// req, resp := client.StopThingRegistrationTaskRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) StopThingRegistrationTaskRequest(input *StopThingRegistrationTaskInput) (req *request.Request, output *StopThingRegistrationTaskOutput) { + op := &request.Operation{ + Name: opStopThingRegistrationTask, + HTTPMethod: "PUT", + HTTPPath: "/thing-registration-tasks/{taskId}/cancel", + } + + if input == nil { + input = &StopThingRegistrationTaskInput{} + } + + output = &StopThingRegistrationTaskOutput{} + req = c.newRequest(op, input, output) + return +} + +// StopThingRegistrationTask API operation for AWS IoT. +// +// Cancels a bulk thing provisioning task. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation StopThingRegistrationTask for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) StopThingRegistrationTask(input *StopThingRegistrationTaskInput) (*StopThingRegistrationTaskOutput, error) { + req, out := c.StopThingRegistrationTaskRequest(input) + return out, req.Send() +} + +// StopThingRegistrationTaskWithContext is the same as StopThingRegistrationTask with the addition of +// the ability to pass a context and additional request options. +// +// See StopThingRegistrationTask for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) StopThingRegistrationTaskWithContext(ctx aws.Context, input *StopThingRegistrationTaskInput, opts ...request.Option) (*StopThingRegistrationTaskOutput, error) { + req, out := c.StopThingRegistrationTaskRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opTestAuthorization = "TestAuthorization" + +// TestAuthorizationRequest generates a "aws/request.Request" representing the +// client's request for the TestAuthorization operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TestAuthorization for more information on using the TestAuthorization +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the TestAuthorizationRequest method. +// req, resp := client.TestAuthorizationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) TestAuthorizationRequest(input *TestAuthorizationInput) (req *request.Request, output *TestAuthorizationOutput) { + op := &request.Operation{ + Name: opTestAuthorization, + HTTPMethod: "POST", + HTTPPath: "/test-authorization", + } + + if input == nil { + input = &TestAuthorizationInput{} + } + + output = &TestAuthorizationOutput{} + req = c.newRequest(op, input, output) + return +} + +// TestAuthorization API operation for AWS IoT. +// +// Test custom authorization. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation TestAuthorization for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of attached entities exceeds the limit. +// +func (c *IoT) TestAuthorization(input *TestAuthorizationInput) (*TestAuthorizationOutput, error) { + req, out := c.TestAuthorizationRequest(input) + return out, req.Send() +} + +// TestAuthorizationWithContext is the same as TestAuthorization with the addition of +// the ability to pass a context and additional request options. +// +// See TestAuthorization for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) TestAuthorizationWithContext(ctx aws.Context, input *TestAuthorizationInput, opts ...request.Option) (*TestAuthorizationOutput, error) { + req, out := c.TestAuthorizationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opTestInvokeAuthorizer = "TestInvokeAuthorizer" + +// TestInvokeAuthorizerRequest generates a "aws/request.Request" representing the +// client's request for the TestInvokeAuthorizer operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TestInvokeAuthorizer for more information on using the TestInvokeAuthorizer +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the TestInvokeAuthorizerRequest method. +// req, resp := client.TestInvokeAuthorizerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) TestInvokeAuthorizerRequest(input *TestInvokeAuthorizerInput) (req *request.Request, output *TestInvokeAuthorizerOutput) { + op := &request.Operation{ + Name: opTestInvokeAuthorizer, + HTTPMethod: "POST", + HTTPPath: "/authorizer/{authorizerName}/test", + } + + if input == nil { + input = &TestInvokeAuthorizerInput{} + } + + output = &TestInvokeAuthorizerOutput{} + req = c.newRequest(op, input, output) + return +} + +// TestInvokeAuthorizer API operation for AWS IoT. +// +// Invoke the specified custom authorizer for testing purposes. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation TestInvokeAuthorizer for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeInvalidResponseException "InvalidResponseException" +// The response is invalid. +// +func (c *IoT) TestInvokeAuthorizer(input *TestInvokeAuthorizerInput) (*TestInvokeAuthorizerOutput, error) { + req, out := c.TestInvokeAuthorizerRequest(input) + return out, req.Send() +} + +// TestInvokeAuthorizerWithContext is the same as TestInvokeAuthorizer with the addition of +// the ability to pass a context and additional request options. +// +// See TestInvokeAuthorizer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) TestInvokeAuthorizerWithContext(ctx aws.Context, input *TestInvokeAuthorizerInput, opts ...request.Option) (*TestInvokeAuthorizerOutput, error) { + req, out := c.TestInvokeAuthorizerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opTransferCertificate = "TransferCertificate" + +// TransferCertificateRequest generates a "aws/request.Request" representing the +// client's request for the TransferCertificate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TransferCertificate for more information on using the TransferCertificate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the TransferCertificateRequest method. +// req, resp := client.TransferCertificateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) TransferCertificateRequest(input *TransferCertificateInput) (req *request.Request, output *TransferCertificateOutput) { + op := &request.Operation{ + Name: opTransferCertificate, + HTTPMethod: "PATCH", + HTTPPath: "/transfer-certificate/{certificateId}", + } + + if input == nil { + input = &TransferCertificateInput{} + } + + output = &TransferCertificateOutput{} + req = c.newRequest(op, input, output) + return +} + +// TransferCertificate API operation for AWS IoT. +// +// Transfers the specified certificate to the specified AWS account. +// +// You can cancel the transfer until it is acknowledged by the recipient. +// +// No notification is sent to the transfer destination's account. It is up to +// the caller to notify the transfer target. +// +// The certificate being transferred must not be in the ACTIVE state. You can +// use the UpdateCertificate API to deactivate it. +// +// The certificate must not have any policies attached to it. You can use the +// DetachPrincipalPolicy API to detach them. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation TransferCertificate for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeCertificateStateException "CertificateStateException" +// The certificate operation is not allowed. +// +// * ErrCodeTransferConflictException "TransferConflictException" +// You can't transfer the certificate because authorization policies are still +// attached. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) TransferCertificate(input *TransferCertificateInput) (*TransferCertificateOutput, error) { + req, out := c.TransferCertificateRequest(input) + return out, req.Send() +} + +// TransferCertificateWithContext is the same as TransferCertificate with the addition of +// the ability to pass a context and additional request options. +// +// See TransferCertificate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) TransferCertificateWithContext(ctx aws.Context, input *TransferCertificateInput, opts ...request.Option) (*TransferCertificateOutput, error) { + req, out := c.TransferCertificateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateAuthorizer = "UpdateAuthorizer" + +// UpdateAuthorizerRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAuthorizer operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateAuthorizer for more information on using the UpdateAuthorizer +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateAuthorizerRequest method. +// req, resp := client.UpdateAuthorizerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) (req *request.Request, output *UpdateAuthorizerOutput) { + op := &request.Operation{ + Name: opUpdateAuthorizer, + HTTPMethod: "PUT", + HTTPPath: "/authorizer/{authorizerName}", + } + + if input == nil { + input = &UpdateAuthorizerInput{} + } + + output = &UpdateAuthorizerOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateAuthorizer API operation for AWS IoT. +// +// Updates an authorizer. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation UpdateAuthorizer for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The number of attached entities exceeds the limit. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) UpdateAuthorizer(input *UpdateAuthorizerInput) (*UpdateAuthorizerOutput, error) { + req, out := c.UpdateAuthorizerRequest(input) + return out, req.Send() +} + +// UpdateAuthorizerWithContext is the same as UpdateAuthorizer with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateAuthorizer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) UpdateAuthorizerWithContext(ctx aws.Context, input *UpdateAuthorizerInput, opts ...request.Option) (*UpdateAuthorizerOutput, error) { + req, out := c.UpdateAuthorizerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateCACertificate = "UpdateCACertificate" + +// UpdateCACertificateRequest generates a "aws/request.Request" representing the +// client's request for the UpdateCACertificate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateCACertificate for more information on using the UpdateCACertificate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateCACertificateRequest method. +// req, resp := client.UpdateCACertificateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) UpdateCACertificateRequest(input *UpdateCACertificateInput) (req *request.Request, output *UpdateCACertificateOutput) { + op := &request.Operation{ + Name: opUpdateCACertificate, + HTTPMethod: "PUT", + HTTPPath: "/cacertificate/{caCertificateId}", + } + + if input == nil { + input = &UpdateCACertificateInput{} + } + + output = &UpdateCACertificateOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateCACertificate API operation for AWS IoT. +// +// Updates a registered CA certificate. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation UpdateCACertificate for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) UpdateCACertificate(input *UpdateCACertificateInput) (*UpdateCACertificateOutput, error) { + req, out := c.UpdateCACertificateRequest(input) + return out, req.Send() +} + +// UpdateCACertificateWithContext is the same as UpdateCACertificate with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateCACertificate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) UpdateCACertificateWithContext(ctx aws.Context, input *UpdateCACertificateInput, opts ...request.Option) (*UpdateCACertificateOutput, error) { + req, out := c.UpdateCACertificateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateCertificate = "UpdateCertificate" + +// UpdateCertificateRequest generates a "aws/request.Request" representing the +// client's request for the UpdateCertificate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateCertificate for more information on using the UpdateCertificate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateCertificateRequest method. +// req, resp := client.UpdateCertificateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) UpdateCertificateRequest(input *UpdateCertificateInput) (req *request.Request, output *UpdateCertificateOutput) { + op := &request.Operation{ + Name: opUpdateCertificate, + HTTPMethod: "PUT", + HTTPPath: "/certificates/{certificateId}", + } + + if input == nil { + input = &UpdateCertificateInput{} + } + + output = &UpdateCertificateOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateCertificate API operation for AWS IoT. +// +// Updates the status of the specified certificate. This operation is idempotent. +// +// Moving a certificate from the ACTIVE state (including REVOKED) will not disconnect +// currently connected devices, but these devices will be unable to reconnect. +// +// The ACTIVE state is required to authenticate devices connecting to AWS IoT +// using a certificate. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation UpdateCertificate for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeCertificateStateException "CertificateStateException" +// The certificate operation is not allowed. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) UpdateCertificate(input *UpdateCertificateInput) (*UpdateCertificateOutput, error) { + req, out := c.UpdateCertificateRequest(input) + return out, req.Send() +} + +// UpdateCertificateWithContext is the same as UpdateCertificate with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateCertificate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) UpdateCertificateWithContext(ctx aws.Context, input *UpdateCertificateInput, opts ...request.Option) (*UpdateCertificateOutput, error) { + req, out := c.UpdateCertificateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateEventConfigurations = "UpdateEventConfigurations" + +// UpdateEventConfigurationsRequest generates a "aws/request.Request" representing the +// client's request for the UpdateEventConfigurations operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateEventConfigurations for more information on using the UpdateEventConfigurations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateEventConfigurationsRequest method. +// req, resp := client.UpdateEventConfigurationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) UpdateEventConfigurationsRequest(input *UpdateEventConfigurationsInput) (req *request.Request, output *UpdateEventConfigurationsOutput) { + op := &request.Operation{ + Name: opUpdateEventConfigurations, + HTTPMethod: "PATCH", + HTTPPath: "/event-configurations", + } + + if input == nil { + input = &UpdateEventConfigurationsInput{} + } + + output = &UpdateEventConfigurationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateEventConfigurations API operation for AWS IoT. +// +// Updates the event configurations. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation UpdateEventConfigurations for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +func (c *IoT) UpdateEventConfigurations(input *UpdateEventConfigurationsInput) (*UpdateEventConfigurationsOutput, error) { + req, out := c.UpdateEventConfigurationsRequest(input) + return out, req.Send() +} + +// UpdateEventConfigurationsWithContext is the same as UpdateEventConfigurations with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateEventConfigurations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) UpdateEventConfigurationsWithContext(ctx aws.Context, input *UpdateEventConfigurationsInput, opts ...request.Option) (*UpdateEventConfigurationsOutput, error) { + req, out := c.UpdateEventConfigurationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateIndexingConfiguration = "UpdateIndexingConfiguration" + +// UpdateIndexingConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateIndexingConfiguration operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateIndexingConfiguration for more information on using the UpdateIndexingConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateIndexingConfigurationRequest method. +// req, resp := client.UpdateIndexingConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) UpdateIndexingConfigurationRequest(input *UpdateIndexingConfigurationInput) (req *request.Request, output *UpdateIndexingConfigurationOutput) { + op := &request.Operation{ + Name: opUpdateIndexingConfiguration, + HTTPMethod: "POST", + HTTPPath: "/indexing/config", + } + + if input == nil { + input = &UpdateIndexingConfigurationInput{} + } + + output = &UpdateIndexingConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateIndexingConfiguration API operation for AWS IoT. +// +// Updates the search configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation UpdateIndexingConfiguration for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) UpdateIndexingConfiguration(input *UpdateIndexingConfigurationInput) (*UpdateIndexingConfigurationOutput, error) { + req, out := c.UpdateIndexingConfigurationRequest(input) + return out, req.Send() +} + +// UpdateIndexingConfigurationWithContext is the same as UpdateIndexingConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateIndexingConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) UpdateIndexingConfigurationWithContext(ctx aws.Context, input *UpdateIndexingConfigurationInput, opts ...request.Option) (*UpdateIndexingConfigurationOutput, error) { + req, out := c.UpdateIndexingConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateRoleAlias = "UpdateRoleAlias" + +// UpdateRoleAliasRequest generates a "aws/request.Request" representing the +// client's request for the UpdateRoleAlias operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateRoleAlias for more information on using the UpdateRoleAlias +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateRoleAliasRequest method. +// req, resp := client.UpdateRoleAliasRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) UpdateRoleAliasRequest(input *UpdateRoleAliasInput) (req *request.Request, output *UpdateRoleAliasOutput) { + op := &request.Operation{ + Name: opUpdateRoleAlias, + HTTPMethod: "PUT", + HTTPPath: "/role-aliases/{roleAlias}", + } + + if input == nil { + input = &UpdateRoleAliasInput{} + } + + output = &UpdateRoleAliasOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateRoleAlias API operation for AWS IoT. +// +// Updates a role alias. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation UpdateRoleAlias for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +func (c *IoT) UpdateRoleAlias(input *UpdateRoleAliasInput) (*UpdateRoleAliasOutput, error) { + req, out := c.UpdateRoleAliasRequest(input) + return out, req.Send() +} + +// UpdateRoleAliasWithContext is the same as UpdateRoleAlias with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateRoleAlias for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) UpdateRoleAliasWithContext(ctx aws.Context, input *UpdateRoleAliasInput, opts ...request.Option) (*UpdateRoleAliasOutput, error) { + req, out := c.UpdateRoleAliasRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateThing = "UpdateThing" + +// UpdateThingRequest generates a "aws/request.Request" representing the +// client's request for the UpdateThing operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateThing for more information on using the UpdateThing +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateThingRequest method. +// req, resp := client.UpdateThingRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) UpdateThingRequest(input *UpdateThingInput) (req *request.Request, output *UpdateThingOutput) { + op := &request.Operation{ + Name: opUpdateThing, + HTTPMethod: "PATCH", + HTTPPath: "/things/{thingName}", + } + + if input == nil { + input = &UpdateThingInput{} + } + + output = &UpdateThingOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateThing API operation for AWS IoT. +// +// Updates the data for a thing. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation UpdateThing for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeVersionConflictException "VersionConflictException" +// An exception thrown when the version of a thing passed to a command is different +// than the version specified with the --version parameter. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// You are not authorized to perform this operation. +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// The service is temporarily unavailable. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) UpdateThing(input *UpdateThingInput) (*UpdateThingOutput, error) { + req, out := c.UpdateThingRequest(input) + return out, req.Send() +} + +// UpdateThingWithContext is the same as UpdateThing with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateThing for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) UpdateThingWithContext(ctx aws.Context, input *UpdateThingInput, opts ...request.Option) (*UpdateThingOutput, error) { + req, out := c.UpdateThingRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateThingGroup = "UpdateThingGroup" + +// UpdateThingGroupRequest generates a "aws/request.Request" representing the +// client's request for the UpdateThingGroup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateThingGroup for more information on using the UpdateThingGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateThingGroupRequest method. +// req, resp := client.UpdateThingGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) UpdateThingGroupRequest(input *UpdateThingGroupInput) (req *request.Request, output *UpdateThingGroupOutput) { + op := &request.Operation{ + Name: opUpdateThingGroup, + HTTPMethod: "PATCH", + HTTPPath: "/thing-groups/{thingGroupName}", + } + + if input == nil { + input = &UpdateThingGroupInput{} + } + + output = &UpdateThingGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateThingGroup API operation for AWS IoT. +// +// Update a thing group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation UpdateThingGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeVersionConflictException "VersionConflictException" +// An exception thrown when the version of a thing passed to a command is different +// than the version specified with the --version parameter. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) UpdateThingGroup(input *UpdateThingGroupInput) (*UpdateThingGroupOutput, error) { + req, out := c.UpdateThingGroupRequest(input) + return out, req.Send() +} + +// UpdateThingGroupWithContext is the same as UpdateThingGroup with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateThingGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) UpdateThingGroupWithContext(ctx aws.Context, input *UpdateThingGroupInput, opts ...request.Option) (*UpdateThingGroupOutput, error) { + req, out := c.UpdateThingGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateThingGroupsForThing = "UpdateThingGroupsForThing" + +// UpdateThingGroupsForThingRequest generates a "aws/request.Request" representing the +// client's request for the UpdateThingGroupsForThing operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateThingGroupsForThing for more information on using the UpdateThingGroupsForThing +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateThingGroupsForThingRequest method. +// req, resp := client.UpdateThingGroupsForThingRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) UpdateThingGroupsForThingRequest(input *UpdateThingGroupsForThingInput) (req *request.Request, output *UpdateThingGroupsForThingOutput) { + op := &request.Operation{ + Name: opUpdateThingGroupsForThing, + HTTPMethod: "PUT", + HTTPPath: "/thing-groups/updateThingGroupsForThing", + } + + if input == nil { + input = &UpdateThingGroupsForThingInput{} + } + + output = &UpdateThingGroupsForThingOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateThingGroupsForThing API operation for AWS IoT. +// +// Updates the groups to which the thing belongs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation UpdateThingGroupsForThing for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidRequestException "InvalidRequestException" +// The request is not valid. +// +// * ErrCodeThrottlingException "ThrottlingException" +// The rate exceeds the limit. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An unexpected error has occurred. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The specified resource does not exist. +// +func (c *IoT) UpdateThingGroupsForThing(input *UpdateThingGroupsForThingInput) (*UpdateThingGroupsForThingOutput, error) { + req, out := c.UpdateThingGroupsForThingRequest(input) + return out, req.Send() +} + +// UpdateThingGroupsForThingWithContext is the same as UpdateThingGroupsForThing with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateThingGroupsForThing for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) UpdateThingGroupsForThingWithContext(ctx aws.Context, input *UpdateThingGroupsForThingInput, opts ...request.Option) (*UpdateThingGroupsForThingOutput, error) { + req, out := c.UpdateThingGroupsForThingRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// The input for the AcceptCertificateTransfer operation. +type AcceptCertificateTransferInput struct { + _ struct{} `type:"structure"` + + // The ID of the certificate. + // + // CertificateId is a required field + CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` + + // Specifies whether the certificate is active. + SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"` +} + +// String returns the string representation +func (s AcceptCertificateTransferInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AcceptCertificateTransferInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AcceptCertificateTransferInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AcceptCertificateTransferInput"} + if s.CertificateId == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateId")) + } + if s.CertificateId != nil && len(*s.CertificateId) < 64 { + invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCertificateId sets the CertificateId field's value. +func (s *AcceptCertificateTransferInput) SetCertificateId(v string) *AcceptCertificateTransferInput { + s.CertificateId = &v + return s +} + +// SetSetAsActive sets the SetAsActive field's value. +func (s *AcceptCertificateTransferInput) SetSetAsActive(v bool) *AcceptCertificateTransferInput { + s.SetAsActive = &v + return s +} + +type AcceptCertificateTransferOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AcceptCertificateTransferOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AcceptCertificateTransferOutput) GoString() string { + return s.String() +} + +// Describes the actions associated with a rule. +type Action struct { + _ struct{} `type:"structure"` + + // Change the state of a CloudWatch alarm. + CloudwatchAlarm *CloudwatchAlarmAction `locationName:"cloudwatchAlarm" type:"structure"` + + // Capture a CloudWatch metric. + CloudwatchMetric *CloudwatchMetricAction `locationName:"cloudwatchMetric" type:"structure"` + + // Write to a DynamoDB table. + DynamoDB *DynamoDBAction `locationName:"dynamoDB" type:"structure"` + + // Write to a DynamoDB table. This is a new version of the DynamoDB action. + // It allows you to write each attribute in an MQTT message payload into a separate + // DynamoDB column. + DynamoDBv2 *DynamoDBv2Action `locationName:"dynamoDBv2" type:"structure"` + + // Write data to an Amazon Elasticsearch Service domain. + Elasticsearch *ElasticsearchAction `locationName:"elasticsearch" type:"structure"` + + // Write to an Amazon Kinesis Firehose stream. + Firehose *FirehoseAction `locationName:"firehose" type:"structure"` + + // Write data to an Amazon Kinesis stream. + Kinesis *KinesisAction `locationName:"kinesis" type:"structure"` + + // Invoke a Lambda function. + Lambda *LambdaAction `locationName:"lambda" type:"structure"` + + // Publish to another MQTT topic. + Republish *RepublishAction `locationName:"republish" type:"structure"` + + // Write to an Amazon S3 bucket. + S3 *S3Action `locationName:"s3" type:"structure"` + + // Send a message to a Salesforce IoT Cloud Input Stream. + Salesforce *SalesforceAction `locationName:"salesforce" type:"structure"` + + // Publish to an Amazon SNS topic. + Sns *SnsAction `locationName:"sns" type:"structure"` + + // Publish to an Amazon SQS queue. + Sqs *SqsAction `locationName:"sqs" type:"structure"` +} + +// String returns the string representation +func (s Action) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Action) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Action) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Action"} + if s.CloudwatchAlarm != nil { + if err := s.CloudwatchAlarm.Validate(); err != nil { + invalidParams.AddNested("CloudwatchAlarm", err.(request.ErrInvalidParams)) + } + } + if s.CloudwatchMetric != nil { + if err := s.CloudwatchMetric.Validate(); err != nil { + invalidParams.AddNested("CloudwatchMetric", err.(request.ErrInvalidParams)) + } + } + if s.DynamoDB != nil { + if err := s.DynamoDB.Validate(); err != nil { + invalidParams.AddNested("DynamoDB", err.(request.ErrInvalidParams)) + } + } + if s.DynamoDBv2 != nil { + if err := s.DynamoDBv2.Validate(); err != nil { + invalidParams.AddNested("DynamoDBv2", err.(request.ErrInvalidParams)) + } + } + if s.Elasticsearch != nil { + if err := s.Elasticsearch.Validate(); err != nil { + invalidParams.AddNested("Elasticsearch", err.(request.ErrInvalidParams)) + } + } + if s.Firehose != nil { + if err := s.Firehose.Validate(); err != nil { + invalidParams.AddNested("Firehose", err.(request.ErrInvalidParams)) + } + } + if s.Kinesis != nil { + if err := s.Kinesis.Validate(); err != nil { + invalidParams.AddNested("Kinesis", err.(request.ErrInvalidParams)) + } + } + if s.Lambda != nil { + if err := s.Lambda.Validate(); err != nil { + invalidParams.AddNested("Lambda", err.(request.ErrInvalidParams)) + } + } + if s.Republish != nil { + if err := s.Republish.Validate(); err != nil { + invalidParams.AddNested("Republish", err.(request.ErrInvalidParams)) + } + } + if s.S3 != nil { + if err := s.S3.Validate(); err != nil { + invalidParams.AddNested("S3", err.(request.ErrInvalidParams)) + } + } + if s.Salesforce != nil { + if err := s.Salesforce.Validate(); err != nil { + invalidParams.AddNested("Salesforce", err.(request.ErrInvalidParams)) + } + } + if s.Sns != nil { + if err := s.Sns.Validate(); err != nil { + invalidParams.AddNested("Sns", err.(request.ErrInvalidParams)) + } + } + if s.Sqs != nil { + if err := s.Sqs.Validate(); err != nil { + invalidParams.AddNested("Sqs", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCloudwatchAlarm sets the CloudwatchAlarm field's value. +func (s *Action) SetCloudwatchAlarm(v *CloudwatchAlarmAction) *Action { + s.CloudwatchAlarm = v + return s +} + +// SetCloudwatchMetric sets the CloudwatchMetric field's value. +func (s *Action) SetCloudwatchMetric(v *CloudwatchMetricAction) *Action { + s.CloudwatchMetric = v + return s +} + +// SetDynamoDB sets the DynamoDB field's value. +func (s *Action) SetDynamoDB(v *DynamoDBAction) *Action { + s.DynamoDB = v + return s +} + +// SetDynamoDBv2 sets the DynamoDBv2 field's value. +func (s *Action) SetDynamoDBv2(v *DynamoDBv2Action) *Action { + s.DynamoDBv2 = v + return s +} + +// SetElasticsearch sets the Elasticsearch field's value. +func (s *Action) SetElasticsearch(v *ElasticsearchAction) *Action { + s.Elasticsearch = v + return s +} + +// SetFirehose sets the Firehose field's value. +func (s *Action) SetFirehose(v *FirehoseAction) *Action { + s.Firehose = v + return s +} + +// SetKinesis sets the Kinesis field's value. +func (s *Action) SetKinesis(v *KinesisAction) *Action { + s.Kinesis = v + return s +} + +// SetLambda sets the Lambda field's value. +func (s *Action) SetLambda(v *LambdaAction) *Action { + s.Lambda = v + return s +} + +// SetRepublish sets the Republish field's value. +func (s *Action) SetRepublish(v *RepublishAction) *Action { + s.Republish = v + return s +} + +// SetS3 sets the S3 field's value. +func (s *Action) SetS3(v *S3Action) *Action { + s.S3 = v + return s +} + +// SetSalesforce sets the Salesforce field's value. +func (s *Action) SetSalesforce(v *SalesforceAction) *Action { + s.Salesforce = v + return s +} + +// SetSns sets the Sns field's value. +func (s *Action) SetSns(v *SnsAction) *Action { + s.Sns = v + return s +} + +// SetSqs sets the Sqs field's value. +func (s *Action) SetSqs(v *SqsAction) *Action { + s.Sqs = v + return s +} + +type AddThingToThingGroupInput struct { + _ struct{} `type:"structure"` + + // The ARN of the thing to add to a group. + ThingArn *string `locationName:"thingArn" type:"string"` + + // The ARN of the group to which you are adding a thing. + ThingGroupArn *string `locationName:"thingGroupArn" type:"string"` + + // The name of the group to which you are adding a thing. + ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"` + + // The name of the thing to add to a group. + ThingName *string `locationName:"thingName" min:"1" type:"string"` +} + +// String returns the string representation +func (s AddThingToThingGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AddThingToThingGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AddThingToThingGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AddThingToThingGroupInput"} + if s.ThingGroupName != nil && len(*s.ThingGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingGroupName", 1)) + } + if s.ThingName != nil && len(*s.ThingName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetThingArn sets the ThingArn field's value. +func (s *AddThingToThingGroupInput) SetThingArn(v string) *AddThingToThingGroupInput { + s.ThingArn = &v + return s +} + +// SetThingGroupArn sets the ThingGroupArn field's value. +func (s *AddThingToThingGroupInput) SetThingGroupArn(v string) *AddThingToThingGroupInput { + s.ThingGroupArn = &v + return s +} + +// SetThingGroupName sets the ThingGroupName field's value. +func (s *AddThingToThingGroupInput) SetThingGroupName(v string) *AddThingToThingGroupInput { + s.ThingGroupName = &v + return s +} + +// SetThingName sets the ThingName field's value. +func (s *AddThingToThingGroupInput) SetThingName(v string) *AddThingToThingGroupInput { + s.ThingName = &v + return s +} + +type AddThingToThingGroupOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AddThingToThingGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AddThingToThingGroupOutput) GoString() string { + return s.String() +} + +// Contains information that allowed the authorization. +type Allowed struct { + _ struct{} `type:"structure"` + + // A list of policies that allowed the authentication. + Policies []*Policy `locationName:"policies" type:"list"` +} + +// String returns the string representation +func (s Allowed) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Allowed) GoString() string { + return s.String() +} + +// SetPolicies sets the Policies field's value. +func (s *Allowed) SetPolicies(v []*Policy) *Allowed { + s.Policies = v + return s +} + +type AssociateTargetsWithJobInput struct { + _ struct{} `type:"structure"` + + // An optional comment string describing why the job was associated with the + // targets. + Comment *string `locationName:"comment" type:"string"` + + // The unique identifier you assigned to this job when it was created. + // + // JobId is a required field + JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` + + // A list of thing group ARNs that define the targets of the job. + // + // Targets is a required field + Targets []*string `locationName:"targets" min:"1" type:"list" required:"true"` +} + +// String returns the string representation +func (s AssociateTargetsWithJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AssociateTargetsWithJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AssociateTargetsWithJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AssociateTargetsWithJobInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + if s.Targets == nil { + invalidParams.Add(request.NewErrParamRequired("Targets")) + } + if s.Targets != nil && len(s.Targets) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Targets", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetComment sets the Comment field's value. +func (s *AssociateTargetsWithJobInput) SetComment(v string) *AssociateTargetsWithJobInput { + s.Comment = &v + return s +} + +// SetJobId sets the JobId field's value. +func (s *AssociateTargetsWithJobInput) SetJobId(v string) *AssociateTargetsWithJobInput { + s.JobId = &v + return s +} + +// SetTargets sets the Targets field's value. +func (s *AssociateTargetsWithJobInput) SetTargets(v []*string) *AssociateTargetsWithJobInput { + s.Targets = v + return s +} + +type AssociateTargetsWithJobOutput struct { + _ struct{} `type:"structure"` + + // A short text description of the job. + Description *string `locationName:"description" type:"string"` + + // An ARN identifying the job. + JobArn *string `locationName:"jobArn" type:"string"` + + // The unique identifier you assigned to this job when it was created. + JobId *string `locationName:"jobId" min:"1" type:"string"` +} + +// String returns the string representation +func (s AssociateTargetsWithJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AssociateTargetsWithJobOutput) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *AssociateTargetsWithJobOutput) SetDescription(v string) *AssociateTargetsWithJobOutput { + s.Description = &v + return s +} + +// SetJobArn sets the JobArn field's value. +func (s *AssociateTargetsWithJobOutput) SetJobArn(v string) *AssociateTargetsWithJobOutput { + s.JobArn = &v + return s +} + +// SetJobId sets the JobId field's value. +func (s *AssociateTargetsWithJobOutput) SetJobId(v string) *AssociateTargetsWithJobOutput { + s.JobId = &v + return s +} + +type AttachPolicyInput struct { + _ struct{} `type:"structure"` + + // The name of the policy to attach. + // + // PolicyName is a required field + PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + + // The identity to which the policy is attached. + // + // Target is a required field + Target *string `locationName:"target" type:"string" required:"true"` +} + +// String returns the string representation +func (s AttachPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AttachPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AttachPolicyInput"} + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) + } + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + } + if s.Target == nil { + invalidParams.Add(request.NewErrParamRequired("Target")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicyName sets the PolicyName field's value. +func (s *AttachPolicyInput) SetPolicyName(v string) *AttachPolicyInput { + s.PolicyName = &v + return s +} + +// SetTarget sets the Target field's value. +func (s *AttachPolicyInput) SetTarget(v string) *AttachPolicyInput { + s.Target = &v + return s +} + +type AttachPolicyOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AttachPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachPolicyOutput) GoString() string { + return s.String() +} + +// The input for the AttachPrincipalPolicy operation. +type AttachPrincipalPolicyInput struct { + _ struct{} `type:"structure"` + + // The policy name. + // + // PolicyName is a required field + PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + + // The principal, which can be a certificate ARN (as returned from the CreateCertificate + // operation) or an Amazon Cognito ID. + // + // Principal is a required field + Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"` +} + +// String returns the string representation +func (s AttachPrincipalPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachPrincipalPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AttachPrincipalPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AttachPrincipalPolicyInput"} + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) + } + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + } + if s.Principal == nil { + invalidParams.Add(request.NewErrParamRequired("Principal")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicyName sets the PolicyName field's value. +func (s *AttachPrincipalPolicyInput) SetPolicyName(v string) *AttachPrincipalPolicyInput { + s.PolicyName = &v + return s +} + +// SetPrincipal sets the Principal field's value. +func (s *AttachPrincipalPolicyInput) SetPrincipal(v string) *AttachPrincipalPolicyInput { + s.Principal = &v + return s +} + +type AttachPrincipalPolicyOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AttachPrincipalPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachPrincipalPolicyOutput) GoString() string { + return s.String() +} + +// The input for the AttachThingPrincipal operation. +type AttachThingPrincipalInput struct { + _ struct{} `type:"structure"` + + // The principal, such as a certificate or other credential. + // + // Principal is a required field + Principal *string `location:"header" locationName:"x-amzn-principal" type:"string" required:"true"` + + // The name of the thing. + // + // ThingName is a required field + ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s AttachThingPrincipalInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachThingPrincipalInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AttachThingPrincipalInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AttachThingPrincipalInput"} + if s.Principal == nil { + invalidParams.Add(request.NewErrParamRequired("Principal")) + } + if s.ThingName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingName")) + } + if s.ThingName != nil && len(*s.ThingName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPrincipal sets the Principal field's value. +func (s *AttachThingPrincipalInput) SetPrincipal(v string) *AttachThingPrincipalInput { + s.Principal = &v + return s +} + +// SetThingName sets the ThingName field's value. +func (s *AttachThingPrincipalInput) SetThingName(v string) *AttachThingPrincipalInput { + s.ThingName = &v + return s +} + +// The output from the AttachThingPrincipal operation. +type AttachThingPrincipalOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AttachThingPrincipalOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachThingPrincipalOutput) GoString() string { + return s.String() +} + +// The attribute payload. +type AttributePayload struct { + _ struct{} `type:"structure"` + + // A JSON string containing up to three key-value pair in JSON format. For example: + // + // {\"attributes\":{\"string1\":\"string2\"}} + Attributes map[string]*string `locationName:"attributes" type:"map"` + + // Specifies whether the list of attributes provided in the AttributePayload + // is merged with the attributes stored in the registry, instead of overwriting + // them. + // + // To remove an attribute, call UpdateThing with an empty attribute value. + // + // The merge attribute is only valid when calling UpdateThing. + Merge *bool `locationName:"merge" type:"boolean"` +} + +// String returns the string representation +func (s AttributePayload) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttributePayload) GoString() string { + return s.String() +} + +// SetAttributes sets the Attributes field's value. +func (s *AttributePayload) SetAttributes(v map[string]*string) *AttributePayload { + s.Attributes = v + return s +} + +// SetMerge sets the Merge field's value. +func (s *AttributePayload) SetMerge(v bool) *AttributePayload { + s.Merge = &v + return s +} + +// A collection of authorization information. +type AuthInfo struct { + _ struct{} `type:"structure"` + + // The type of action for which the principal is being authorized. + ActionType *string `locationName:"actionType" type:"string" enum:"ActionType"` + + // The resources for which the principal is being authorized to perform the + // specified action. + Resources []*string `locationName:"resources" type:"list"` +} + +// String returns the string representation +func (s AuthInfo) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AuthInfo) GoString() string { + return s.String() +} + +// SetActionType sets the ActionType field's value. +func (s *AuthInfo) SetActionType(v string) *AuthInfo { + s.ActionType = &v + return s +} + +// SetResources sets the Resources field's value. +func (s *AuthInfo) SetResources(v []*string) *AuthInfo { + s.Resources = v + return s +} + +// The authorizer result. +type AuthResult struct { + _ struct{} `type:"structure"` + + // The policies and statements that allowed the specified action. + Allowed *Allowed `locationName:"allowed" type:"structure"` + + // The final authorization decision of this scenario. Multiple statements are + // taken into account when determining the authorization decision. An explicit + // deny statement can override multiple allow statements. + AuthDecision *string `locationName:"authDecision" type:"string" enum:"AuthDecision"` + + // Authorization information. + AuthInfo *AuthInfo `locationName:"authInfo" type:"structure"` + + // The policies and statements that denied the specified action. + Denied *Denied `locationName:"denied" type:"structure"` + + // Contains any missing context values found while evaluating policy. + MissingContextValues []*string `locationName:"missingContextValues" type:"list"` +} + +// String returns the string representation +func (s AuthResult) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AuthResult) GoString() string { + return s.String() +} + +// SetAllowed sets the Allowed field's value. +func (s *AuthResult) SetAllowed(v *Allowed) *AuthResult { + s.Allowed = v + return s +} + +// SetAuthDecision sets the AuthDecision field's value. +func (s *AuthResult) SetAuthDecision(v string) *AuthResult { + s.AuthDecision = &v + return s +} + +// SetAuthInfo sets the AuthInfo field's value. +func (s *AuthResult) SetAuthInfo(v *AuthInfo) *AuthResult { + s.AuthInfo = v + return s +} + +// SetDenied sets the Denied field's value. +func (s *AuthResult) SetDenied(v *Denied) *AuthResult { + s.Denied = v + return s +} + +// SetMissingContextValues sets the MissingContextValues field's value. +func (s *AuthResult) SetMissingContextValues(v []*string) *AuthResult { + s.MissingContextValues = v + return s +} + +// The authorizer description. +type AuthorizerDescription struct { + _ struct{} `type:"structure"` + + // The authorizer ARN. + AuthorizerArn *string `locationName:"authorizerArn" type:"string"` + + // The authorizer's Lambda function ARN. + AuthorizerFunctionArn *string `locationName:"authorizerFunctionArn" type:"string"` + + // The authorizer name. + AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"` + + // The UNIX timestamp of when the authorizer was created. + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + + // The UNIX timestamp of when the authorizer was last updated. + LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` + + // The status of the authorizer. + Status *string `locationName:"status" type:"string" enum:"AuthorizerStatus"` + + // The key used to extract the token from the HTTP headers. + TokenKeyName *string `locationName:"tokenKeyName" min:"1" type:"string"` + + // The public keys used to validate the token signature returned by your custom + // authentication service. + TokenSigningPublicKeys map[string]*string `locationName:"tokenSigningPublicKeys" type:"map"` +} + +// String returns the string representation +func (s AuthorizerDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AuthorizerDescription) GoString() string { + return s.String() +} + +// SetAuthorizerArn sets the AuthorizerArn field's value. +func (s *AuthorizerDescription) SetAuthorizerArn(v string) *AuthorizerDescription { + s.AuthorizerArn = &v + return s +} + +// SetAuthorizerFunctionArn sets the AuthorizerFunctionArn field's value. +func (s *AuthorizerDescription) SetAuthorizerFunctionArn(v string) *AuthorizerDescription { + s.AuthorizerFunctionArn = &v + return s +} + +// SetAuthorizerName sets the AuthorizerName field's value. +func (s *AuthorizerDescription) SetAuthorizerName(v string) *AuthorizerDescription { + s.AuthorizerName = &v + return s +} + +// SetCreationDate sets the CreationDate field's value. +func (s *AuthorizerDescription) SetCreationDate(v time.Time) *AuthorizerDescription { + s.CreationDate = &v + return s +} + +// SetLastModifiedDate sets the LastModifiedDate field's value. +func (s *AuthorizerDescription) SetLastModifiedDate(v time.Time) *AuthorizerDescription { + s.LastModifiedDate = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *AuthorizerDescription) SetStatus(v string) *AuthorizerDescription { + s.Status = &v + return s +} + +// SetTokenKeyName sets the TokenKeyName field's value. +func (s *AuthorizerDescription) SetTokenKeyName(v string) *AuthorizerDescription { + s.TokenKeyName = &v + return s +} + +// SetTokenSigningPublicKeys sets the TokenSigningPublicKeys field's value. +func (s *AuthorizerDescription) SetTokenSigningPublicKeys(v map[string]*string) *AuthorizerDescription { + s.TokenSigningPublicKeys = v + return s +} + +// The authorizer summary. +type AuthorizerSummary struct { + _ struct{} `type:"structure"` + + // The authorizer ARN. + AuthorizerArn *string `locationName:"authorizerArn" type:"string"` + + // The authorizer name. + AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"` +} + +// String returns the string representation +func (s AuthorizerSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AuthorizerSummary) GoString() string { + return s.String() +} + +// SetAuthorizerArn sets the AuthorizerArn field's value. +func (s *AuthorizerSummary) SetAuthorizerArn(v string) *AuthorizerSummary { + s.AuthorizerArn = &v + return s +} + +// SetAuthorizerName sets the AuthorizerName field's value. +func (s *AuthorizerSummary) SetAuthorizerName(v string) *AuthorizerSummary { + s.AuthorizerName = &v + return s +} + +// A CA certificate. +type CACertificate struct { + _ struct{} `type:"structure"` + + // The ARN of the CA certificate. + CertificateArn *string `locationName:"certificateArn" type:"string"` + + // The ID of the CA certificate. + CertificateId *string `locationName:"certificateId" min:"64" type:"string"` + + // The date the CA certificate was created. + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + + // The status of the CA certificate. + // + // The status value REGISTER_INACTIVE is deprecated and should not be used. + Status *string `locationName:"status" type:"string" enum:"CACertificateStatus"` +} + +// String returns the string representation +func (s CACertificate) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CACertificate) GoString() string { + return s.String() +} + +// SetCertificateArn sets the CertificateArn field's value. +func (s *CACertificate) SetCertificateArn(v string) *CACertificate { + s.CertificateArn = &v + return s +} + +// SetCertificateId sets the CertificateId field's value. +func (s *CACertificate) SetCertificateId(v string) *CACertificate { + s.CertificateId = &v + return s +} + +// SetCreationDate sets the CreationDate field's value. +func (s *CACertificate) SetCreationDate(v time.Time) *CACertificate { + s.CreationDate = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CACertificate) SetStatus(v string) *CACertificate { + s.Status = &v + return s +} + +// Describes a CA certificate. +type CACertificateDescription struct { + _ struct{} `type:"structure"` + + // Whether the CA certificate configured for auto registration of device certificates. + // Valid values are "ENABLE" and "DISABLE" + AutoRegistrationStatus *string `locationName:"autoRegistrationStatus" type:"string" enum:"AutoRegistrationStatus"` + + // The CA certificate ARN. + CertificateArn *string `locationName:"certificateArn" type:"string"` + + // The CA certificate ID. + CertificateId *string `locationName:"certificateId" min:"64" type:"string"` + + // The CA certificate data, in PEM format. + CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"` + + // The date the CA certificate was created. + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + + // The owner of the CA certificate. + OwnedBy *string `locationName:"ownedBy" type:"string"` + + // The status of a CA certificate. + Status *string `locationName:"status" type:"string" enum:"CACertificateStatus"` +} + +// String returns the string representation +func (s CACertificateDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CACertificateDescription) GoString() string { + return s.String() +} + +// SetAutoRegistrationStatus sets the AutoRegistrationStatus field's value. +func (s *CACertificateDescription) SetAutoRegistrationStatus(v string) *CACertificateDescription { + s.AutoRegistrationStatus = &v + return s +} + +// SetCertificateArn sets the CertificateArn field's value. +func (s *CACertificateDescription) SetCertificateArn(v string) *CACertificateDescription { + s.CertificateArn = &v + return s +} + +// SetCertificateId sets the CertificateId field's value. +func (s *CACertificateDescription) SetCertificateId(v string) *CACertificateDescription { + s.CertificateId = &v + return s +} + +// SetCertificatePem sets the CertificatePem field's value. +func (s *CACertificateDescription) SetCertificatePem(v string) *CACertificateDescription { + s.CertificatePem = &v + return s +} + +// SetCreationDate sets the CreationDate field's value. +func (s *CACertificateDescription) SetCreationDate(v time.Time) *CACertificateDescription { + s.CreationDate = &v + return s +} + +// SetOwnedBy sets the OwnedBy field's value. +func (s *CACertificateDescription) SetOwnedBy(v string) *CACertificateDescription { + s.OwnedBy = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CACertificateDescription) SetStatus(v string) *CACertificateDescription { + s.Status = &v + return s +} + +// The input for the CancelCertificateTransfer operation. +type CancelCertificateTransferInput struct { + _ struct{} `type:"structure"` + + // The ID of the certificate. + // + // CertificateId is a required field + CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` +} + +// String returns the string representation +func (s CancelCertificateTransferInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CancelCertificateTransferInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelCertificateTransferInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelCertificateTransferInput"} + if s.CertificateId == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateId")) + } + if s.CertificateId != nil && len(*s.CertificateId) < 64 { + invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCertificateId sets the CertificateId field's value. +func (s *CancelCertificateTransferInput) SetCertificateId(v string) *CancelCertificateTransferInput { + s.CertificateId = &v + return s +} + +type CancelCertificateTransferOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s CancelCertificateTransferOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CancelCertificateTransferOutput) GoString() string { + return s.String() +} + +type CancelJobInput struct { + _ struct{} `type:"structure"` + + // An optional comment string describing why the job was canceled. + Comment *string `locationName:"comment" type:"string"` + + // The unique identifier you assigned to this job when it was created. + // + // JobId is a required field + JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s CancelJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CancelJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelJobInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetComment sets the Comment field's value. +func (s *CancelJobInput) SetComment(v string) *CancelJobInput { + s.Comment = &v + return s +} + +// SetJobId sets the JobId field's value. +func (s *CancelJobInput) SetJobId(v string) *CancelJobInput { + s.JobId = &v + return s +} + +type CancelJobOutput struct { + _ struct{} `type:"structure"` + + // A short text description of the job. + Description *string `locationName:"description" type:"string"` + + // The job ARN. + JobArn *string `locationName:"jobArn" type:"string"` + + // The unique identifier you assigned to this job when it was created. + JobId *string `locationName:"jobId" min:"1" type:"string"` +} + +// String returns the string representation +func (s CancelJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CancelJobOutput) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *CancelJobOutput) SetDescription(v string) *CancelJobOutput { + s.Description = &v + return s +} + +// SetJobArn sets the JobArn field's value. +func (s *CancelJobOutput) SetJobArn(v string) *CancelJobOutput { + s.JobArn = &v + return s +} + +// SetJobId sets the JobId field's value. +func (s *CancelJobOutput) SetJobId(v string) *CancelJobOutput { + s.JobId = &v + return s +} + +// Information about a certificate. +type Certificate struct { + _ struct{} `type:"structure"` + + // The ARN of the certificate. + CertificateArn *string `locationName:"certificateArn" type:"string"` + + // The ID of the certificate. + CertificateId *string `locationName:"certificateId" min:"64" type:"string"` + + // The date and time the certificate was created. + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + + // The status of the certificate. + // + // The status value REGISTER_INACTIVE is deprecated and should not be used. + Status *string `locationName:"status" type:"string" enum:"CertificateStatus"` +} + +// String returns the string representation +func (s Certificate) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Certificate) GoString() string { + return s.String() +} + +// SetCertificateArn sets the CertificateArn field's value. +func (s *Certificate) SetCertificateArn(v string) *Certificate { + s.CertificateArn = &v + return s +} + +// SetCertificateId sets the CertificateId field's value. +func (s *Certificate) SetCertificateId(v string) *Certificate { + s.CertificateId = &v + return s +} + +// SetCreationDate sets the CreationDate field's value. +func (s *Certificate) SetCreationDate(v time.Time) *Certificate { + s.CreationDate = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *Certificate) SetStatus(v string) *Certificate { + s.Status = &v + return s +} + +// Describes a certificate. +type CertificateDescription struct { + _ struct{} `type:"structure"` + + // The certificate ID of the CA certificate used to sign this certificate. + CaCertificateId *string `locationName:"caCertificateId" min:"64" type:"string"` + + // The ARN of the certificate. + CertificateArn *string `locationName:"certificateArn" type:"string"` + + // The ID of the certificate. + CertificateId *string `locationName:"certificateId" min:"64" type:"string"` + + // The certificate data, in PEM format. + CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"` + + // The date and time the certificate was created. + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + + // The date and time the certificate was last modified. + LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` + + // The ID of the AWS account that owns the certificate. + OwnedBy *string `locationName:"ownedBy" type:"string"` + + // The ID of the AWS account of the previous owner of the certificate. + PreviousOwnedBy *string `locationName:"previousOwnedBy" type:"string"` + + // The status of the certificate. + Status *string `locationName:"status" type:"string" enum:"CertificateStatus"` + + // The transfer data. + TransferData *TransferData `locationName:"transferData" type:"structure"` +} + +// String returns the string representation +func (s CertificateDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CertificateDescription) GoString() string { + return s.String() +} + +// SetCaCertificateId sets the CaCertificateId field's value. +func (s *CertificateDescription) SetCaCertificateId(v string) *CertificateDescription { + s.CaCertificateId = &v + return s +} + +// SetCertificateArn sets the CertificateArn field's value. +func (s *CertificateDescription) SetCertificateArn(v string) *CertificateDescription { + s.CertificateArn = &v + return s +} + +// SetCertificateId sets the CertificateId field's value. +func (s *CertificateDescription) SetCertificateId(v string) *CertificateDescription { + s.CertificateId = &v + return s +} + +// SetCertificatePem sets the CertificatePem field's value. +func (s *CertificateDescription) SetCertificatePem(v string) *CertificateDescription { + s.CertificatePem = &v + return s +} + +// SetCreationDate sets the CreationDate field's value. +func (s *CertificateDescription) SetCreationDate(v time.Time) *CertificateDescription { + s.CreationDate = &v + return s +} + +// SetLastModifiedDate sets the LastModifiedDate field's value. +func (s *CertificateDescription) SetLastModifiedDate(v time.Time) *CertificateDescription { + s.LastModifiedDate = &v + return s +} + +// SetOwnedBy sets the OwnedBy field's value. +func (s *CertificateDescription) SetOwnedBy(v string) *CertificateDescription { + s.OwnedBy = &v + return s +} + +// SetPreviousOwnedBy sets the PreviousOwnedBy field's value. +func (s *CertificateDescription) SetPreviousOwnedBy(v string) *CertificateDescription { + s.PreviousOwnedBy = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CertificateDescription) SetStatus(v string) *CertificateDescription { + s.Status = &v + return s +} + +// SetTransferData sets the TransferData field's value. +func (s *CertificateDescription) SetTransferData(v *TransferData) *CertificateDescription { + s.TransferData = v + return s +} + +type ClearDefaultAuthorizerInput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s ClearDefaultAuthorizerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ClearDefaultAuthorizerInput) GoString() string { + return s.String() +} + +type ClearDefaultAuthorizerOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s ClearDefaultAuthorizerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ClearDefaultAuthorizerOutput) GoString() string { + return s.String() +} + +// Describes an action that updates a CloudWatch alarm. +type CloudwatchAlarmAction struct { + _ struct{} `type:"structure"` + + // The CloudWatch alarm name. + // + // AlarmName is a required field + AlarmName *string `locationName:"alarmName" type:"string" required:"true"` + + // The IAM role that allows access to the CloudWatch alarm. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + + // The reason for the alarm change. + // + // StateReason is a required field + StateReason *string `locationName:"stateReason" type:"string" required:"true"` + + // The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA. + // + // StateValue is a required field + StateValue *string `locationName:"stateValue" type:"string" required:"true"` +} + +// String returns the string representation +func (s CloudwatchAlarmAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CloudwatchAlarmAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CloudwatchAlarmAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CloudwatchAlarmAction"} + if s.AlarmName == nil { + invalidParams.Add(request.NewErrParamRequired("AlarmName")) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.StateReason == nil { + invalidParams.Add(request.NewErrParamRequired("StateReason")) + } + if s.StateValue == nil { + invalidParams.Add(request.NewErrParamRequired("StateValue")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAlarmName sets the AlarmName field's value. +func (s *CloudwatchAlarmAction) SetAlarmName(v string) *CloudwatchAlarmAction { + s.AlarmName = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *CloudwatchAlarmAction) SetRoleArn(v string) *CloudwatchAlarmAction { + s.RoleArn = &v + return s +} + +// SetStateReason sets the StateReason field's value. +func (s *CloudwatchAlarmAction) SetStateReason(v string) *CloudwatchAlarmAction { + s.StateReason = &v + return s +} + +// SetStateValue sets the StateValue field's value. +func (s *CloudwatchAlarmAction) SetStateValue(v string) *CloudwatchAlarmAction { + s.StateValue = &v + return s +} + +// Describes an action that captures a CloudWatch metric. +type CloudwatchMetricAction struct { + _ struct{} `type:"structure"` + + // The CloudWatch metric name. + // + // MetricName is a required field + MetricName *string `locationName:"metricName" type:"string" required:"true"` + + // The CloudWatch metric namespace name. + // + // MetricNamespace is a required field + MetricNamespace *string `locationName:"metricNamespace" type:"string" required:"true"` + + // An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp). + MetricTimestamp *string `locationName:"metricTimestamp" type:"string"` + + // The metric unit (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit) + // supported by CloudWatch. + // + // MetricUnit is a required field + MetricUnit *string `locationName:"metricUnit" type:"string" required:"true"` + + // The CloudWatch metric value. + // + // MetricValue is a required field + MetricValue *string `locationName:"metricValue" type:"string" required:"true"` + + // The IAM role that allows access to the CloudWatch metric. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" type:"string" required:"true"` +} + +// String returns the string representation +func (s CloudwatchMetricAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CloudwatchMetricAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CloudwatchMetricAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CloudwatchMetricAction"} + if s.MetricName == nil { + invalidParams.Add(request.NewErrParamRequired("MetricName")) + } + if s.MetricNamespace == nil { + invalidParams.Add(request.NewErrParamRequired("MetricNamespace")) + } + if s.MetricUnit == nil { + invalidParams.Add(request.NewErrParamRequired("MetricUnit")) + } + if s.MetricValue == nil { + invalidParams.Add(request.NewErrParamRequired("MetricValue")) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMetricName sets the MetricName field's value. +func (s *CloudwatchMetricAction) SetMetricName(v string) *CloudwatchMetricAction { + s.MetricName = &v + return s +} + +// SetMetricNamespace sets the MetricNamespace field's value. +func (s *CloudwatchMetricAction) SetMetricNamespace(v string) *CloudwatchMetricAction { + s.MetricNamespace = &v + return s +} + +// SetMetricTimestamp sets the MetricTimestamp field's value. +func (s *CloudwatchMetricAction) SetMetricTimestamp(v string) *CloudwatchMetricAction { + s.MetricTimestamp = &v + return s +} + +// SetMetricUnit sets the MetricUnit field's value. +func (s *CloudwatchMetricAction) SetMetricUnit(v string) *CloudwatchMetricAction { + s.MetricUnit = &v + return s +} + +// SetMetricValue sets the MetricValue field's value. +func (s *CloudwatchMetricAction) SetMetricValue(v string) *CloudwatchMetricAction { + s.MetricValue = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *CloudwatchMetricAction) SetRoleArn(v string) *CloudwatchMetricAction { + s.RoleArn = &v + return s +} + +// Configuration. +type Configuration struct { + _ struct{} `type:"structure"` + + // True to enable the configuration. + Enabled *bool `type:"boolean"` +} + +// String returns the string representation +func (s Configuration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Configuration) GoString() string { + return s.String() +} + +// SetEnabled sets the Enabled field's value. +func (s *Configuration) SetEnabled(v bool) *Configuration { + s.Enabled = &v + return s +} + +type CreateAuthorizerInput struct { + _ struct{} `type:"structure"` + + // The ARN of the authorizer's Lambda function. + // + // AuthorizerFunctionArn is a required field + AuthorizerFunctionArn *string `locationName:"authorizerFunctionArn" type:"string" required:"true"` + + // The authorizer name. + // + // AuthorizerName is a required field + AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"` + + // The status of the create authorizer request. + Status *string `locationName:"status" type:"string" enum:"AuthorizerStatus"` + + // The name of the token key used to extract the token from the HTTP headers. + // + // TokenKeyName is a required field + TokenKeyName *string `locationName:"tokenKeyName" min:"1" type:"string" required:"true"` + + // The public keys used to verify the digital signature returned by your custom + // authentication service. + // + // TokenSigningPublicKeys is a required field + TokenSigningPublicKeys map[string]*string `locationName:"tokenSigningPublicKeys" type:"map" required:"true"` +} + +// String returns the string representation +func (s CreateAuthorizerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateAuthorizerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateAuthorizerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateAuthorizerInput"} + if s.AuthorizerFunctionArn == nil { + invalidParams.Add(request.NewErrParamRequired("AuthorizerFunctionArn")) + } + if s.AuthorizerName == nil { + invalidParams.Add(request.NewErrParamRequired("AuthorizerName")) + } + if s.AuthorizerName != nil && len(*s.AuthorizerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AuthorizerName", 1)) + } + if s.TokenKeyName == nil { + invalidParams.Add(request.NewErrParamRequired("TokenKeyName")) + } + if s.TokenKeyName != nil && len(*s.TokenKeyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TokenKeyName", 1)) + } + if s.TokenSigningPublicKeys == nil { + invalidParams.Add(request.NewErrParamRequired("TokenSigningPublicKeys")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAuthorizerFunctionArn sets the AuthorizerFunctionArn field's value. +func (s *CreateAuthorizerInput) SetAuthorizerFunctionArn(v string) *CreateAuthorizerInput { + s.AuthorizerFunctionArn = &v + return s +} + +// SetAuthorizerName sets the AuthorizerName field's value. +func (s *CreateAuthorizerInput) SetAuthorizerName(v string) *CreateAuthorizerInput { + s.AuthorizerName = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateAuthorizerInput) SetStatus(v string) *CreateAuthorizerInput { + s.Status = &v + return s +} + +// SetTokenKeyName sets the TokenKeyName field's value. +func (s *CreateAuthorizerInput) SetTokenKeyName(v string) *CreateAuthorizerInput { + s.TokenKeyName = &v + return s +} + +// SetTokenSigningPublicKeys sets the TokenSigningPublicKeys field's value. +func (s *CreateAuthorizerInput) SetTokenSigningPublicKeys(v map[string]*string) *CreateAuthorizerInput { + s.TokenSigningPublicKeys = v + return s +} + +type CreateAuthorizerOutput struct { + _ struct{} `type:"structure"` + + // The authorizer ARN. + AuthorizerArn *string `locationName:"authorizerArn" type:"string"` + + // The authorizer's name. + AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"` +} + +// String returns the string representation +func (s CreateAuthorizerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateAuthorizerOutput) GoString() string { + return s.String() +} + +// SetAuthorizerArn sets the AuthorizerArn field's value. +func (s *CreateAuthorizerOutput) SetAuthorizerArn(v string) *CreateAuthorizerOutput { + s.AuthorizerArn = &v + return s +} + +// SetAuthorizerName sets the AuthorizerName field's value. +func (s *CreateAuthorizerOutput) SetAuthorizerName(v string) *CreateAuthorizerOutput { + s.AuthorizerName = &v + return s +} + +// The input for the CreateCertificateFromCsr operation. +type CreateCertificateFromCsrInput struct { + _ struct{} `type:"structure"` + + // The certificate signing request (CSR). + // + // CertificateSigningRequest is a required field + CertificateSigningRequest *string `locationName:"certificateSigningRequest" min:"1" type:"string" required:"true"` + + // Specifies whether the certificate is active. + SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"` +} + +// String returns the string representation +func (s CreateCertificateFromCsrInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateCertificateFromCsrInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateCertificateFromCsrInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateCertificateFromCsrInput"} + if s.CertificateSigningRequest == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateSigningRequest")) + } + if s.CertificateSigningRequest != nil && len(*s.CertificateSigningRequest) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CertificateSigningRequest", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCertificateSigningRequest sets the CertificateSigningRequest field's value. +func (s *CreateCertificateFromCsrInput) SetCertificateSigningRequest(v string) *CreateCertificateFromCsrInput { + s.CertificateSigningRequest = &v + return s +} + +// SetSetAsActive sets the SetAsActive field's value. +func (s *CreateCertificateFromCsrInput) SetSetAsActive(v bool) *CreateCertificateFromCsrInput { + s.SetAsActive = &v + return s +} + +// The output from the CreateCertificateFromCsr operation. +type CreateCertificateFromCsrOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the certificate. You can use the ARN as + // a principal for policy operations. + CertificateArn *string `locationName:"certificateArn" type:"string"` + + // The ID of the certificate. Certificate management operations only take a + // certificateId. + CertificateId *string `locationName:"certificateId" min:"64" type:"string"` + + // The certificate data, in PEM format. + CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"` +} + +// String returns the string representation +func (s CreateCertificateFromCsrOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateCertificateFromCsrOutput) GoString() string { + return s.String() +} + +// SetCertificateArn sets the CertificateArn field's value. +func (s *CreateCertificateFromCsrOutput) SetCertificateArn(v string) *CreateCertificateFromCsrOutput { + s.CertificateArn = &v + return s +} + +// SetCertificateId sets the CertificateId field's value. +func (s *CreateCertificateFromCsrOutput) SetCertificateId(v string) *CreateCertificateFromCsrOutput { + s.CertificateId = &v + return s +} + +// SetCertificatePem sets the CertificatePem field's value. +func (s *CreateCertificateFromCsrOutput) SetCertificatePem(v string) *CreateCertificateFromCsrOutput { + s.CertificatePem = &v + return s +} + +type CreateJobInput struct { + _ struct{} `type:"structure"` + + // A short text description of the job. + Description *string `locationName:"description" type:"string"` + + // The job document. + Document *string `locationName:"document" type:"string"` + + // Parameters for the job document. + DocumentParameters map[string]*string `locationName:"documentParameters" type:"map"` + + // An S3 link to the job document. + DocumentSource *string `locationName:"documentSource" min:"1" type:"string"` + + // Allows you to create a staged rollout of the job. + JobExecutionsRolloutConfig *JobExecutionsRolloutConfig `locationName:"jobExecutionsRolloutConfig" type:"structure"` + + // A job identifier which must be unique for your AWS account. We recommend + // using a UUID. Alpha-numeric characters, "-" and "_" are valid for use here. + // + // JobId is a required field + JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` + + // Configuration information for pre-signed S3 URLs. + PresignedUrlConfig *PresignedUrlConfig `locationName:"presignedUrlConfig" type:"structure"` + + // Specifies whether the job will continue to run (CONTINUOUS), or will be complete + // after all those things specified as targets have completed the job (SNAPSHOT). + // If continuous, the job may also be run on a thing when a change is detected + // in a target. For example, a job will run on a thing when the thing is added + // to a target group, even after the job was completed by all things originally + // in the group. + TargetSelection *string `locationName:"targetSelection" type:"string" enum:"TargetSelection"` + + // A list of things and thing groups to which the job should be sent. + // + // Targets is a required field + Targets []*string `locationName:"targets" min:"1" type:"list" required:"true"` +} + +// String returns the string representation +func (s CreateJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateJobInput"} + if s.DocumentSource != nil && len(*s.DocumentSource) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DocumentSource", 1)) + } + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + if s.Targets == nil { + invalidParams.Add(request.NewErrParamRequired("Targets")) + } + if s.Targets != nil && len(s.Targets) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Targets", 1)) + } + if s.JobExecutionsRolloutConfig != nil { + if err := s.JobExecutionsRolloutConfig.Validate(); err != nil { + invalidParams.AddNested("JobExecutionsRolloutConfig", err.(request.ErrInvalidParams)) + } + } + if s.PresignedUrlConfig != nil { + if err := s.PresignedUrlConfig.Validate(); err != nil { + invalidParams.AddNested("PresignedUrlConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *CreateJobInput) SetDescription(v string) *CreateJobInput { + s.Description = &v + return s +} + +// SetDocument sets the Document field's value. +func (s *CreateJobInput) SetDocument(v string) *CreateJobInput { + s.Document = &v + return s +} + +// SetDocumentParameters sets the DocumentParameters field's value. +func (s *CreateJobInput) SetDocumentParameters(v map[string]*string) *CreateJobInput { + s.DocumentParameters = v + return s +} + +// SetDocumentSource sets the DocumentSource field's value. +func (s *CreateJobInput) SetDocumentSource(v string) *CreateJobInput { + s.DocumentSource = &v + return s +} + +// SetJobExecutionsRolloutConfig sets the JobExecutionsRolloutConfig field's value. +func (s *CreateJobInput) SetJobExecutionsRolloutConfig(v *JobExecutionsRolloutConfig) *CreateJobInput { + s.JobExecutionsRolloutConfig = v + return s +} + +// SetJobId sets the JobId field's value. +func (s *CreateJobInput) SetJobId(v string) *CreateJobInput { + s.JobId = &v + return s +} + +// SetPresignedUrlConfig sets the PresignedUrlConfig field's value. +func (s *CreateJobInput) SetPresignedUrlConfig(v *PresignedUrlConfig) *CreateJobInput { + s.PresignedUrlConfig = v + return s +} + +// SetTargetSelection sets the TargetSelection field's value. +func (s *CreateJobInput) SetTargetSelection(v string) *CreateJobInput { + s.TargetSelection = &v + return s +} + +// SetTargets sets the Targets field's value. +func (s *CreateJobInput) SetTargets(v []*string) *CreateJobInput { + s.Targets = v + return s +} + +type CreateJobOutput struct { + _ struct{} `type:"structure"` + + // The job description. + Description *string `locationName:"description" type:"string"` + + // The job ARN. + JobArn *string `locationName:"jobArn" type:"string"` + + // The unique identifier you assigned to this job. + JobId *string `locationName:"jobId" min:"1" type:"string"` +} + +// String returns the string representation +func (s CreateJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateJobOutput) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *CreateJobOutput) SetDescription(v string) *CreateJobOutput { + s.Description = &v + return s +} + +// SetJobArn sets the JobArn field's value. +func (s *CreateJobOutput) SetJobArn(v string) *CreateJobOutput { + s.JobArn = &v + return s +} + +// SetJobId sets the JobId field's value. +func (s *CreateJobOutput) SetJobId(v string) *CreateJobOutput { + s.JobId = &v + return s +} + +// The input for the CreateKeysAndCertificate operation. +type CreateKeysAndCertificateInput struct { + _ struct{} `type:"structure"` + + // Specifies whether the certificate is active. + SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"` +} + +// String returns the string representation +func (s CreateKeysAndCertificateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateKeysAndCertificateInput) GoString() string { + return s.String() +} + +// SetSetAsActive sets the SetAsActive field's value. +func (s *CreateKeysAndCertificateInput) SetSetAsActive(v bool) *CreateKeysAndCertificateInput { + s.SetAsActive = &v + return s +} + +// The output of the CreateKeysAndCertificate operation. +type CreateKeysAndCertificateOutput struct { + _ struct{} `type:"structure"` + + // The ARN of the certificate. + CertificateArn *string `locationName:"certificateArn" type:"string"` + + // The ID of the certificate. AWS IoT issues a default subject name for the + // certificate (for example, AWS IoT Certificate). + CertificateId *string `locationName:"certificateId" min:"64" type:"string"` + + // The certificate data, in PEM format. + CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"` + + // The generated key pair. + KeyPair *KeyPair `locationName:"keyPair" type:"structure"` +} + +// String returns the string representation +func (s CreateKeysAndCertificateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateKeysAndCertificateOutput) GoString() string { + return s.String() +} + +// SetCertificateArn sets the CertificateArn field's value. +func (s *CreateKeysAndCertificateOutput) SetCertificateArn(v string) *CreateKeysAndCertificateOutput { + s.CertificateArn = &v + return s +} + +// SetCertificateId sets the CertificateId field's value. +func (s *CreateKeysAndCertificateOutput) SetCertificateId(v string) *CreateKeysAndCertificateOutput { + s.CertificateId = &v + return s +} + +// SetCertificatePem sets the CertificatePem field's value. +func (s *CreateKeysAndCertificateOutput) SetCertificatePem(v string) *CreateKeysAndCertificateOutput { + s.CertificatePem = &v + return s +} + +// SetKeyPair sets the KeyPair field's value. +func (s *CreateKeysAndCertificateOutput) SetKeyPair(v *KeyPair) *CreateKeysAndCertificateOutput { + s.KeyPair = v + return s +} + +// The input for the CreatePolicy operation. +type CreatePolicyInput struct { + _ struct{} `type:"structure"` + + // The JSON document that describes the policy. policyDocument must have a minimum + // length of 1, with a maximum length of 2048, excluding whitespace. + // + // PolicyDocument is a required field + PolicyDocument *string `locationName:"policyDocument" type:"string" required:"true"` + + // The policy name. + // + // PolicyName is a required field + PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreatePolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreatePolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreatePolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreatePolicyInput"} + if s.PolicyDocument == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyDocument")) + } + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) + } + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *CreatePolicyInput) SetPolicyDocument(v string) *CreatePolicyInput { + s.PolicyDocument = &v + return s +} + +// SetPolicyName sets the PolicyName field's value. +func (s *CreatePolicyInput) SetPolicyName(v string) *CreatePolicyInput { + s.PolicyName = &v + return s +} + +// The output from the CreatePolicy operation. +type CreatePolicyOutput struct { + _ struct{} `type:"structure"` + + // The policy ARN. + PolicyArn *string `locationName:"policyArn" type:"string"` + + // The JSON document that describes the policy. + PolicyDocument *string `locationName:"policyDocument" type:"string"` + + // The policy name. + PolicyName *string `locationName:"policyName" min:"1" type:"string"` + + // The policy version ID. + PolicyVersionId *string `locationName:"policyVersionId" type:"string"` +} + +// String returns the string representation +func (s CreatePolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreatePolicyOutput) GoString() string { + return s.String() +} + +// SetPolicyArn sets the PolicyArn field's value. +func (s *CreatePolicyOutput) SetPolicyArn(v string) *CreatePolicyOutput { + s.PolicyArn = &v + return s +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *CreatePolicyOutput) SetPolicyDocument(v string) *CreatePolicyOutput { + s.PolicyDocument = &v + return s +} + +// SetPolicyName sets the PolicyName field's value. +func (s *CreatePolicyOutput) SetPolicyName(v string) *CreatePolicyOutput { + s.PolicyName = &v + return s +} + +// SetPolicyVersionId sets the PolicyVersionId field's value. +func (s *CreatePolicyOutput) SetPolicyVersionId(v string) *CreatePolicyOutput { + s.PolicyVersionId = &v + return s +} + +// The input for the CreatePolicyVersion operation. +type CreatePolicyVersionInput struct { + _ struct{} `type:"structure"` + + // The JSON document that describes the policy. Minimum length of 1. Maximum + // length of 2048, excluding whitespace. + // + // PolicyDocument is a required field + PolicyDocument *string `locationName:"policyDocument" type:"string" required:"true"` + + // The policy name. + // + // PolicyName is a required field + PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + + // Specifies whether the policy version is set as the default. When this parameter + // is true, the new policy version becomes the operative version (that is, the + // version that is in effect for the certificates to which the policy is attached). + SetAsDefault *bool `location:"querystring" locationName:"setAsDefault" type:"boolean"` +} + +// String returns the string representation +func (s CreatePolicyVersionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreatePolicyVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreatePolicyVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreatePolicyVersionInput"} + if s.PolicyDocument == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyDocument")) + } + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) + } + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *CreatePolicyVersionInput) SetPolicyDocument(v string) *CreatePolicyVersionInput { + s.PolicyDocument = &v + return s +} + +// SetPolicyName sets the PolicyName field's value. +func (s *CreatePolicyVersionInput) SetPolicyName(v string) *CreatePolicyVersionInput { + s.PolicyName = &v + return s +} + +// SetSetAsDefault sets the SetAsDefault field's value. +func (s *CreatePolicyVersionInput) SetSetAsDefault(v bool) *CreatePolicyVersionInput { + s.SetAsDefault = &v + return s +} + +// The output of the CreatePolicyVersion operation. +type CreatePolicyVersionOutput struct { + _ struct{} `type:"structure"` + + // Specifies whether the policy version is the default. + IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"` + + // The policy ARN. + PolicyArn *string `locationName:"policyArn" type:"string"` + + // The JSON document that describes the policy. + PolicyDocument *string `locationName:"policyDocument" type:"string"` + + // The policy version ID. + PolicyVersionId *string `locationName:"policyVersionId" type:"string"` +} + +// String returns the string representation +func (s CreatePolicyVersionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreatePolicyVersionOutput) GoString() string { + return s.String() +} + +// SetIsDefaultVersion sets the IsDefaultVersion field's value. +func (s *CreatePolicyVersionOutput) SetIsDefaultVersion(v bool) *CreatePolicyVersionOutput { + s.IsDefaultVersion = &v + return s +} + +// SetPolicyArn sets the PolicyArn field's value. +func (s *CreatePolicyVersionOutput) SetPolicyArn(v string) *CreatePolicyVersionOutput { + s.PolicyArn = &v + return s +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *CreatePolicyVersionOutput) SetPolicyDocument(v string) *CreatePolicyVersionOutput { + s.PolicyDocument = &v + return s +} + +// SetPolicyVersionId sets the PolicyVersionId field's value. +func (s *CreatePolicyVersionOutput) SetPolicyVersionId(v string) *CreatePolicyVersionOutput { + s.PolicyVersionId = &v + return s +} + +type CreateRoleAliasInput struct { + _ struct{} `type:"structure"` + + // How long (in seconds) the credentials will be valid. + CredentialDurationSeconds *int64 `locationName:"credentialDurationSeconds" min:"900" type:"integer"` + + // The role alias that points to a role ARN. This allows you to change the role + // without having to update the device. + // + // RoleAlias is a required field + RoleAlias *string `location:"uri" locationName:"roleAlias" min:"1" type:"string" required:"true"` + + // The role ARN. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateRoleAliasInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateRoleAliasInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateRoleAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateRoleAliasInput"} + if s.CredentialDurationSeconds != nil && *s.CredentialDurationSeconds < 900 { + invalidParams.Add(request.NewErrParamMinValue("CredentialDurationSeconds", 900)) + } + if s.RoleAlias == nil { + invalidParams.Add(request.NewErrParamRequired("RoleAlias")) + } + if s.RoleAlias != nil && len(*s.RoleAlias) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RoleAlias", 1)) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCredentialDurationSeconds sets the CredentialDurationSeconds field's value. +func (s *CreateRoleAliasInput) SetCredentialDurationSeconds(v int64) *CreateRoleAliasInput { + s.CredentialDurationSeconds = &v + return s +} + +// SetRoleAlias sets the RoleAlias field's value. +func (s *CreateRoleAliasInput) SetRoleAlias(v string) *CreateRoleAliasInput { + s.RoleAlias = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *CreateRoleAliasInput) SetRoleArn(v string) *CreateRoleAliasInput { + s.RoleArn = &v + return s +} + +type CreateRoleAliasOutput struct { + _ struct{} `type:"structure"` + + // The role alias. + RoleAlias *string `locationName:"roleAlias" min:"1" type:"string"` + + // The role alias ARN. + RoleAliasArn *string `locationName:"roleAliasArn" type:"string"` +} + +// String returns the string representation +func (s CreateRoleAliasOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateRoleAliasOutput) GoString() string { + return s.String() +} + +// SetRoleAlias sets the RoleAlias field's value. +func (s *CreateRoleAliasOutput) SetRoleAlias(v string) *CreateRoleAliasOutput { + s.RoleAlias = &v + return s +} + +// SetRoleAliasArn sets the RoleAliasArn field's value. +func (s *CreateRoleAliasOutput) SetRoleAliasArn(v string) *CreateRoleAliasOutput { + s.RoleAliasArn = &v + return s +} + +type CreateThingGroupInput struct { + _ struct{} `type:"structure"` + + // The name of the parent thing group. + ParentGroupName *string `locationName:"parentGroupName" min:"1" type:"string"` + + // The thing group name to create. + // + // ThingGroupName is a required field + ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` + + // The thing group properties. + ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure"` +} + +// String returns the string representation +func (s CreateThingGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateThingGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateThingGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateThingGroupInput"} + if s.ParentGroupName != nil && len(*s.ParentGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParentGroupName", 1)) + } + if s.ThingGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingGroupName")) + } + if s.ThingGroupName != nil && len(*s.ThingGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingGroupName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetParentGroupName sets the ParentGroupName field's value. +func (s *CreateThingGroupInput) SetParentGroupName(v string) *CreateThingGroupInput { + s.ParentGroupName = &v + return s +} + +// SetThingGroupName sets the ThingGroupName field's value. +func (s *CreateThingGroupInput) SetThingGroupName(v string) *CreateThingGroupInput { + s.ThingGroupName = &v + return s +} + +// SetThingGroupProperties sets the ThingGroupProperties field's value. +func (s *CreateThingGroupInput) SetThingGroupProperties(v *ThingGroupProperties) *CreateThingGroupInput { + s.ThingGroupProperties = v + return s +} + +type CreateThingGroupOutput struct { + _ struct{} `type:"structure"` + + // The thing group ARN. + ThingGroupArn *string `locationName:"thingGroupArn" type:"string"` + + // The thing group ID. + ThingGroupId *string `locationName:"thingGroupId" min:"1" type:"string"` + + // The thing group name. + ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"` +} + +// String returns the string representation +func (s CreateThingGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateThingGroupOutput) GoString() string { + return s.String() +} + +// SetThingGroupArn sets the ThingGroupArn field's value. +func (s *CreateThingGroupOutput) SetThingGroupArn(v string) *CreateThingGroupOutput { + s.ThingGroupArn = &v + return s +} + +// SetThingGroupId sets the ThingGroupId field's value. +func (s *CreateThingGroupOutput) SetThingGroupId(v string) *CreateThingGroupOutput { + s.ThingGroupId = &v + return s +} + +// SetThingGroupName sets the ThingGroupName field's value. +func (s *CreateThingGroupOutput) SetThingGroupName(v string) *CreateThingGroupOutput { + s.ThingGroupName = &v + return s +} + +// The input for the CreateThing operation. +type CreateThingInput struct { + _ struct{} `type:"structure"` + + // The attribute payload, which consists of up to three name/value pairs in + // a JSON document. For example: + // + // {\"attributes\":{\"string1\":\"string2\"}} + AttributePayload *AttributePayload `locationName:"attributePayload" type:"structure"` + + // The name of the thing to create. + // + // ThingName is a required field + ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` + + // The name of the thing type associated with the new thing. + ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` +} + +// String returns the string representation +func (s CreateThingInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateThingInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateThingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateThingInput"} + if s.ThingName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingName")) + } + if s.ThingName != nil && len(*s.ThingName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) + } + if s.ThingTypeName != nil && len(*s.ThingTypeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingTypeName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttributePayload sets the AttributePayload field's value. +func (s *CreateThingInput) SetAttributePayload(v *AttributePayload) *CreateThingInput { + s.AttributePayload = v + return s +} + +// SetThingName sets the ThingName field's value. +func (s *CreateThingInput) SetThingName(v string) *CreateThingInput { + s.ThingName = &v + return s +} + +// SetThingTypeName sets the ThingTypeName field's value. +func (s *CreateThingInput) SetThingTypeName(v string) *CreateThingInput { + s.ThingTypeName = &v + return s +} + +// The output of the CreateThing operation. +type CreateThingOutput struct { + _ struct{} `type:"structure"` + + // The ARN of the new thing. + ThingArn *string `locationName:"thingArn" type:"string"` + + // The thing ID. + ThingId *string `locationName:"thingId" type:"string"` + + // The name of the new thing. + ThingName *string `locationName:"thingName" min:"1" type:"string"` +} + +// String returns the string representation +func (s CreateThingOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateThingOutput) GoString() string { + return s.String() +} + +// SetThingArn sets the ThingArn field's value. +func (s *CreateThingOutput) SetThingArn(v string) *CreateThingOutput { + s.ThingArn = &v + return s +} + +// SetThingId sets the ThingId field's value. +func (s *CreateThingOutput) SetThingId(v string) *CreateThingOutput { + s.ThingId = &v + return s +} + +// SetThingName sets the ThingName field's value. +func (s *CreateThingOutput) SetThingName(v string) *CreateThingOutput { + s.ThingName = &v + return s +} + +// The input for the CreateThingType operation. +type CreateThingTypeInput struct { + _ struct{} `type:"structure"` + + // The name of the thing type. + // + // ThingTypeName is a required field + ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` + + // The ThingTypeProperties for the thing type to create. It contains information + // about the new thing type including a description, and a list of searchable + // thing attribute names. + ThingTypeProperties *ThingTypeProperties `locationName:"thingTypeProperties" type:"structure"` +} + +// String returns the string representation +func (s CreateThingTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateThingTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateThingTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateThingTypeInput"} + if s.ThingTypeName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingTypeName")) + } + if s.ThingTypeName != nil && len(*s.ThingTypeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingTypeName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetThingTypeName sets the ThingTypeName field's value. +func (s *CreateThingTypeInput) SetThingTypeName(v string) *CreateThingTypeInput { + s.ThingTypeName = &v + return s +} + +// SetThingTypeProperties sets the ThingTypeProperties field's value. +func (s *CreateThingTypeInput) SetThingTypeProperties(v *ThingTypeProperties) *CreateThingTypeInput { + s.ThingTypeProperties = v + return s +} + +// The output of the CreateThingType operation. +type CreateThingTypeOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the thing type. + ThingTypeArn *string `locationName:"thingTypeArn" type:"string"` + + // The thing type ID. + ThingTypeId *string `locationName:"thingTypeId" type:"string"` + + // The name of the thing type. + ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` +} + +// String returns the string representation +func (s CreateThingTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateThingTypeOutput) GoString() string { + return s.String() +} + +// SetThingTypeArn sets the ThingTypeArn field's value. +func (s *CreateThingTypeOutput) SetThingTypeArn(v string) *CreateThingTypeOutput { + s.ThingTypeArn = &v + return s +} + +// SetThingTypeId sets the ThingTypeId field's value. +func (s *CreateThingTypeOutput) SetThingTypeId(v string) *CreateThingTypeOutput { + s.ThingTypeId = &v + return s +} + +// SetThingTypeName sets the ThingTypeName field's value. +func (s *CreateThingTypeOutput) SetThingTypeName(v string) *CreateThingTypeOutput { + s.ThingTypeName = &v + return s +} + +// The input for the CreateTopicRule operation. +type CreateTopicRuleInput struct { + _ struct{} `type:"structure" payload:"TopicRulePayload"` + + // The name of the rule. + // + // RuleName is a required field + RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` + + // The rule payload. + // + // TopicRulePayload is a required field + TopicRulePayload *TopicRulePayload `locationName:"topicRulePayload" type:"structure" required:"true"` +} + +// String returns the string representation +func (s CreateTopicRuleInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateTopicRuleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateTopicRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateTopicRuleInput"} + if s.RuleName == nil { + invalidParams.Add(request.NewErrParamRequired("RuleName")) + } + if s.RuleName != nil && len(*s.RuleName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RuleName", 1)) + } + if s.TopicRulePayload == nil { + invalidParams.Add(request.NewErrParamRequired("TopicRulePayload")) + } + if s.TopicRulePayload != nil { + if err := s.TopicRulePayload.Validate(); err != nil { + invalidParams.AddNested("TopicRulePayload", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRuleName sets the RuleName field's value. +func (s *CreateTopicRuleInput) SetRuleName(v string) *CreateTopicRuleInput { + s.RuleName = &v + return s +} + +// SetTopicRulePayload sets the TopicRulePayload field's value. +func (s *CreateTopicRuleInput) SetTopicRulePayload(v *TopicRulePayload) *CreateTopicRuleInput { + s.TopicRulePayload = v + return s +} + +type CreateTopicRuleOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s CreateTopicRuleOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateTopicRuleOutput) GoString() string { + return s.String() +} + +type DeleteAuthorizerInput struct { + _ struct{} `type:"structure"` + + // The name of the authorizer to delete. + // + // AuthorizerName is a required field + AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteAuthorizerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteAuthorizerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAuthorizerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAuthorizerInput"} + if s.AuthorizerName == nil { + invalidParams.Add(request.NewErrParamRequired("AuthorizerName")) + } + if s.AuthorizerName != nil && len(*s.AuthorizerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AuthorizerName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAuthorizerName sets the AuthorizerName field's value. +func (s *DeleteAuthorizerInput) SetAuthorizerName(v string) *DeleteAuthorizerInput { + s.AuthorizerName = &v + return s +} + +type DeleteAuthorizerOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteAuthorizerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteAuthorizerOutput) GoString() string { + return s.String() +} + +// Input for the DeleteCACertificate operation. +type DeleteCACertificateInput struct { + _ struct{} `type:"structure"` + + // The ID of the certificate to delete. + // + // CertificateId is a required field + CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteCACertificateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteCACertificateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteCACertificateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteCACertificateInput"} + if s.CertificateId == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateId")) + } + if s.CertificateId != nil && len(*s.CertificateId) < 64 { + invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCertificateId sets the CertificateId field's value. +func (s *DeleteCACertificateInput) SetCertificateId(v string) *DeleteCACertificateInput { + s.CertificateId = &v + return s +} + +// The output for the DeleteCACertificate operation. +type DeleteCACertificateOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteCACertificateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteCACertificateOutput) GoString() string { + return s.String() +} + +// The input for the DeleteCertificate operation. +type DeleteCertificateInput struct { + _ struct{} `type:"structure"` + + // The ID of the certificate. + // + // CertificateId is a required field + CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` + + // Forces a certificate request to be deleted. + ForceDelete *bool `location:"querystring" locationName:"forceDelete" type:"boolean"` +} + +// String returns the string representation +func (s DeleteCertificateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteCertificateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteCertificateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteCertificateInput"} + if s.CertificateId == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateId")) + } + if s.CertificateId != nil && len(*s.CertificateId) < 64 { + invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCertificateId sets the CertificateId field's value. +func (s *DeleteCertificateInput) SetCertificateId(v string) *DeleteCertificateInput { + s.CertificateId = &v + return s +} + +// SetForceDelete sets the ForceDelete field's value. +func (s *DeleteCertificateInput) SetForceDelete(v bool) *DeleteCertificateInput { + s.ForceDelete = &v + return s +} + +type DeleteCertificateOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteCertificateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteCertificateOutput) GoString() string { + return s.String() +} + +// The input for the DeletePolicy operation. +type DeletePolicyInput struct { + _ struct{} `type:"structure"` + + // The name of the policy to delete. + // + // PolicyName is a required field + PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeletePolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeletePolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeletePolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeletePolicyInput"} + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) + } + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicyName sets the PolicyName field's value. +func (s *DeletePolicyInput) SetPolicyName(v string) *DeletePolicyInput { + s.PolicyName = &v + return s +} + +type DeletePolicyOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeletePolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeletePolicyOutput) GoString() string { + return s.String() +} + +// The input for the DeletePolicyVersion operation. +type DeletePolicyVersionInput struct { + _ struct{} `type:"structure"` + + // The name of the policy. + // + // PolicyName is a required field + PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + + // The policy version ID. + // + // PolicyVersionId is a required field + PolicyVersionId *string `location:"uri" locationName:"policyVersionId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeletePolicyVersionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeletePolicyVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeletePolicyVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeletePolicyVersionInput"} + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) + } + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + } + if s.PolicyVersionId == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyVersionId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicyName sets the PolicyName field's value. +func (s *DeletePolicyVersionInput) SetPolicyName(v string) *DeletePolicyVersionInput { + s.PolicyName = &v + return s +} + +// SetPolicyVersionId sets the PolicyVersionId field's value. +func (s *DeletePolicyVersionInput) SetPolicyVersionId(v string) *DeletePolicyVersionInput { + s.PolicyVersionId = &v + return s +} + +type DeletePolicyVersionOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeletePolicyVersionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeletePolicyVersionOutput) GoString() string { + return s.String() +} + +// The input for the DeleteRegistrationCode operation. +type DeleteRegistrationCodeInput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteRegistrationCodeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteRegistrationCodeInput) GoString() string { + return s.String() +} + +// The output for the DeleteRegistrationCode operation. +type DeleteRegistrationCodeOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteRegistrationCodeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteRegistrationCodeOutput) GoString() string { + return s.String() +} + +type DeleteRoleAliasInput struct { + _ struct{} `type:"structure"` + + // The role alias to delete. + // + // RoleAlias is a required field + RoleAlias *string `location:"uri" locationName:"roleAlias" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteRoleAliasInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteRoleAliasInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteRoleAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteRoleAliasInput"} + if s.RoleAlias == nil { + invalidParams.Add(request.NewErrParamRequired("RoleAlias")) + } + if s.RoleAlias != nil && len(*s.RoleAlias) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RoleAlias", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRoleAlias sets the RoleAlias field's value. +func (s *DeleteRoleAliasInput) SetRoleAlias(v string) *DeleteRoleAliasInput { + s.RoleAlias = &v + return s +} + +type DeleteRoleAliasOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteRoleAliasOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteRoleAliasOutput) GoString() string { + return s.String() +} + +type DeleteThingGroupInput struct { + _ struct{} `type:"structure"` + + // The expected version of the thing group to delete. + ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"` + + // The name of the thing group to delete. + // + // ThingGroupName is a required field + ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteThingGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteThingGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteThingGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteThingGroupInput"} + if s.ThingGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingGroupName")) + } + if s.ThingGroupName != nil && len(*s.ThingGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingGroupName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExpectedVersion sets the ExpectedVersion field's value. +func (s *DeleteThingGroupInput) SetExpectedVersion(v int64) *DeleteThingGroupInput { + s.ExpectedVersion = &v + return s +} + +// SetThingGroupName sets the ThingGroupName field's value. +func (s *DeleteThingGroupInput) SetThingGroupName(v string) *DeleteThingGroupInput { + s.ThingGroupName = &v + return s +} + +type DeleteThingGroupOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteThingGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteThingGroupOutput) GoString() string { + return s.String() +} + +// The input for the DeleteThing operation. +type DeleteThingInput struct { + _ struct{} `type:"structure"` + + // The expected version of the thing record in the registry. If the version + // of the record in the registry does not match the expected version specified + // in the request, the DeleteThing request is rejected with a VersionConflictException. + ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"` + + // The name of the thing to delete. + // + // ThingName is a required field + ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteThingInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteThingInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteThingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteThingInput"} + if s.ThingName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingName")) + } + if s.ThingName != nil && len(*s.ThingName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExpectedVersion sets the ExpectedVersion field's value. +func (s *DeleteThingInput) SetExpectedVersion(v int64) *DeleteThingInput { + s.ExpectedVersion = &v + return s +} + +// SetThingName sets the ThingName field's value. +func (s *DeleteThingInput) SetThingName(v string) *DeleteThingInput { + s.ThingName = &v + return s +} + +// The output of the DeleteThing operation. +type DeleteThingOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteThingOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteThingOutput) GoString() string { + return s.String() +} + +// The input for the DeleteThingType operation. +type DeleteThingTypeInput struct { + _ struct{} `type:"structure"` + + // The name of the thing type. + // + // ThingTypeName is a required field + ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteThingTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteThingTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteThingTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteThingTypeInput"} + if s.ThingTypeName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingTypeName")) + } + if s.ThingTypeName != nil && len(*s.ThingTypeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingTypeName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetThingTypeName sets the ThingTypeName field's value. +func (s *DeleteThingTypeInput) SetThingTypeName(v string) *DeleteThingTypeInput { + s.ThingTypeName = &v + return s +} + +// The output for the DeleteThingType operation. +type DeleteThingTypeOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteThingTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteThingTypeOutput) GoString() string { + return s.String() +} + +// The input for the DeleteTopicRule operation. +type DeleteTopicRuleInput struct { + _ struct{} `type:"structure"` + + // The name of the rule. + // + // RuleName is a required field + RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteTopicRuleInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteTopicRuleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteTopicRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteTopicRuleInput"} + if s.RuleName == nil { + invalidParams.Add(request.NewErrParamRequired("RuleName")) + } + if s.RuleName != nil && len(*s.RuleName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RuleName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRuleName sets the RuleName field's value. +func (s *DeleteTopicRuleInput) SetRuleName(v string) *DeleteTopicRuleInput { + s.RuleName = &v + return s +} + +type DeleteTopicRuleOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteTopicRuleOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteTopicRuleOutput) GoString() string { + return s.String() +} + +type DeleteV2LoggingLevelInput struct { + _ struct{} `type:"structure"` + + // The name of the resource for which you are configuring logging. + // + // TargetName is a required field + TargetName *string `location:"querystring" locationName:"targetName" type:"string" required:"true"` + + // The type of resource for which you are configuring logging. Must be THING_Group. + // + // TargetType is a required field + TargetType *string `location:"querystring" locationName:"targetType" type:"string" required:"true" enum:"LogTargetType"` +} + +// String returns the string representation +func (s DeleteV2LoggingLevelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteV2LoggingLevelInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteV2LoggingLevelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteV2LoggingLevelInput"} + if s.TargetName == nil { + invalidParams.Add(request.NewErrParamRequired("TargetName")) + } + if s.TargetType == nil { + invalidParams.Add(request.NewErrParamRequired("TargetType")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTargetName sets the TargetName field's value. +func (s *DeleteV2LoggingLevelInput) SetTargetName(v string) *DeleteV2LoggingLevelInput { + s.TargetName = &v + return s +} + +// SetTargetType sets the TargetType field's value. +func (s *DeleteV2LoggingLevelInput) SetTargetType(v string) *DeleteV2LoggingLevelInput { + s.TargetType = &v + return s +} + +type DeleteV2LoggingLevelOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteV2LoggingLevelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteV2LoggingLevelOutput) GoString() string { + return s.String() +} + +// Contains information that denied the authorization. +type Denied struct { + _ struct{} `type:"structure"` + + // Information that explicitly denies the authorization. + ExplicitDeny *ExplicitDeny `locationName:"explicitDeny" type:"structure"` + + // Information that implicitly denies the authorization. When a policy doesn't + // explicitly deny or allow an action on a resource it is considered an implicit + // deny. + ImplicitDeny *ImplicitDeny `locationName:"implicitDeny" type:"structure"` +} + +// String returns the string representation +func (s Denied) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Denied) GoString() string { + return s.String() +} + +// SetExplicitDeny sets the ExplicitDeny field's value. +func (s *Denied) SetExplicitDeny(v *ExplicitDeny) *Denied { + s.ExplicitDeny = v + return s +} + +// SetImplicitDeny sets the ImplicitDeny field's value. +func (s *Denied) SetImplicitDeny(v *ImplicitDeny) *Denied { + s.ImplicitDeny = v + return s +} + +// The input for the DeprecateThingType operation. +type DeprecateThingTypeInput struct { + _ struct{} `type:"structure"` + + // The name of the thing type to deprecate. + // + // ThingTypeName is a required field + ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` + + // Whether to undeprecate a deprecated thing type. If true, the thing type will + // not be deprecated anymore and you can associate it with things. + UndoDeprecate *bool `locationName:"undoDeprecate" type:"boolean"` +} + +// String returns the string representation +func (s DeprecateThingTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeprecateThingTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeprecateThingTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeprecateThingTypeInput"} + if s.ThingTypeName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingTypeName")) + } + if s.ThingTypeName != nil && len(*s.ThingTypeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingTypeName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetThingTypeName sets the ThingTypeName field's value. +func (s *DeprecateThingTypeInput) SetThingTypeName(v string) *DeprecateThingTypeInput { + s.ThingTypeName = &v + return s +} + +// SetUndoDeprecate sets the UndoDeprecate field's value. +func (s *DeprecateThingTypeInput) SetUndoDeprecate(v bool) *DeprecateThingTypeInput { + s.UndoDeprecate = &v + return s +} + +// The output for the DeprecateThingType operation. +type DeprecateThingTypeOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeprecateThingTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeprecateThingTypeOutput) GoString() string { + return s.String() +} + +type DescribeAuthorizerInput struct { + _ struct{} `type:"structure"` + + // The name of the authorizer to describe. + // + // AuthorizerName is a required field + AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeAuthorizerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeAuthorizerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeAuthorizerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeAuthorizerInput"} + if s.AuthorizerName == nil { + invalidParams.Add(request.NewErrParamRequired("AuthorizerName")) + } + if s.AuthorizerName != nil && len(*s.AuthorizerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AuthorizerName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAuthorizerName sets the AuthorizerName field's value. +func (s *DescribeAuthorizerInput) SetAuthorizerName(v string) *DescribeAuthorizerInput { + s.AuthorizerName = &v + return s +} + +type DescribeAuthorizerOutput struct { + _ struct{} `type:"structure"` + + // The authorizer description. + AuthorizerDescription *AuthorizerDescription `locationName:"authorizerDescription" type:"structure"` +} + +// String returns the string representation +func (s DescribeAuthorizerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeAuthorizerOutput) GoString() string { + return s.String() +} + +// SetAuthorizerDescription sets the AuthorizerDescription field's value. +func (s *DescribeAuthorizerOutput) SetAuthorizerDescription(v *AuthorizerDescription) *DescribeAuthorizerOutput { + s.AuthorizerDescription = v + return s +} + +// The input for the DescribeCACertificate operation. +type DescribeCACertificateInput struct { + _ struct{} `type:"structure"` + + // The CA certificate identifier. + // + // CertificateId is a required field + CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeCACertificateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeCACertificateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeCACertificateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeCACertificateInput"} + if s.CertificateId == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateId")) + } + if s.CertificateId != nil && len(*s.CertificateId) < 64 { + invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCertificateId sets the CertificateId field's value. +func (s *DescribeCACertificateInput) SetCertificateId(v string) *DescribeCACertificateInput { + s.CertificateId = &v + return s +} + +// The output from the DescribeCACertificate operation. +type DescribeCACertificateOutput struct { + _ struct{} `type:"structure"` + + // The CA certificate description. + CertificateDescription *CACertificateDescription `locationName:"certificateDescription" type:"structure"` + + // Information about the registration configuration. + RegistrationConfig *RegistrationConfig `locationName:"registrationConfig" type:"structure"` +} + +// String returns the string representation +func (s DescribeCACertificateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeCACertificateOutput) GoString() string { + return s.String() +} + +// SetCertificateDescription sets the CertificateDescription field's value. +func (s *DescribeCACertificateOutput) SetCertificateDescription(v *CACertificateDescription) *DescribeCACertificateOutput { + s.CertificateDescription = v + return s +} + +// SetRegistrationConfig sets the RegistrationConfig field's value. +func (s *DescribeCACertificateOutput) SetRegistrationConfig(v *RegistrationConfig) *DescribeCACertificateOutput { + s.RegistrationConfig = v + return s +} + +// The input for the DescribeCertificate operation. +type DescribeCertificateInput struct { + _ struct{} `type:"structure"` + + // The ID of the certificate. + // + // CertificateId is a required field + CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeCertificateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeCertificateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeCertificateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeCertificateInput"} + if s.CertificateId == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateId")) + } + if s.CertificateId != nil && len(*s.CertificateId) < 64 { + invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCertificateId sets the CertificateId field's value. +func (s *DescribeCertificateInput) SetCertificateId(v string) *DescribeCertificateInput { + s.CertificateId = &v + return s +} + +// The output of the DescribeCertificate operation. +type DescribeCertificateOutput struct { + _ struct{} `type:"structure"` + + // The description of the certificate. + CertificateDescription *CertificateDescription `locationName:"certificateDescription" type:"structure"` +} + +// String returns the string representation +func (s DescribeCertificateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeCertificateOutput) GoString() string { + return s.String() +} + +// SetCertificateDescription sets the CertificateDescription field's value. +func (s *DescribeCertificateOutput) SetCertificateDescription(v *CertificateDescription) *DescribeCertificateOutput { + s.CertificateDescription = v + return s +} + +type DescribeDefaultAuthorizerInput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DescribeDefaultAuthorizerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeDefaultAuthorizerInput) GoString() string { + return s.String() +} + +type DescribeDefaultAuthorizerOutput struct { + _ struct{} `type:"structure"` + + // The default authorizer's description. + AuthorizerDescription *AuthorizerDescription `locationName:"authorizerDescription" type:"structure"` +} + +// String returns the string representation +func (s DescribeDefaultAuthorizerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeDefaultAuthorizerOutput) GoString() string { + return s.String() +} + +// SetAuthorizerDescription sets the AuthorizerDescription field's value. +func (s *DescribeDefaultAuthorizerOutput) SetAuthorizerDescription(v *AuthorizerDescription) *DescribeDefaultAuthorizerOutput { + s.AuthorizerDescription = v + return s +} + +// The input for the DescribeEndpoint operation. +type DescribeEndpointInput struct { + _ struct{} `type:"structure"` + + // The endpoint type. + EndpointType *string `location:"querystring" locationName:"endpointType" type:"string"` +} + +// String returns the string representation +func (s DescribeEndpointInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeEndpointInput) GoString() string { + return s.String() +} + +// SetEndpointType sets the EndpointType field's value. +func (s *DescribeEndpointInput) SetEndpointType(v string) *DescribeEndpointInput { + s.EndpointType = &v + return s +} + +// The output from the DescribeEndpoint operation. +type DescribeEndpointOutput struct { + _ struct{} `type:"structure"` + + // The endpoint. The format of the endpoint is as follows: identifier.iot.region.amazonaws.com. + EndpointAddress *string `locationName:"endpointAddress" type:"string"` +} + +// String returns the string representation +func (s DescribeEndpointOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeEndpointOutput) GoString() string { + return s.String() +} + +// SetEndpointAddress sets the EndpointAddress field's value. +func (s *DescribeEndpointOutput) SetEndpointAddress(v string) *DescribeEndpointOutput { + s.EndpointAddress = &v + return s +} + +type DescribeEventConfigurationsInput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DescribeEventConfigurationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeEventConfigurationsInput) GoString() string { + return s.String() +} + +type DescribeEventConfigurationsOutput struct { + _ struct{} `type:"structure"` + + // The creation date of the event configuration. + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + + // The event configurations. + EventConfigurations map[string]*Configuration `locationName:"eventConfigurations" type:"map"` + + // The date the event configurations were last modified. + LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` +} + +// String returns the string representation +func (s DescribeEventConfigurationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeEventConfigurationsOutput) GoString() string { + return s.String() +} + +// SetCreationDate sets the CreationDate field's value. +func (s *DescribeEventConfigurationsOutput) SetCreationDate(v time.Time) *DescribeEventConfigurationsOutput { + s.CreationDate = &v + return s +} + +// SetEventConfigurations sets the EventConfigurations field's value. +func (s *DescribeEventConfigurationsOutput) SetEventConfigurations(v map[string]*Configuration) *DescribeEventConfigurationsOutput { + s.EventConfigurations = v + return s +} + +// SetLastModifiedDate sets the LastModifiedDate field's value. +func (s *DescribeEventConfigurationsOutput) SetLastModifiedDate(v time.Time) *DescribeEventConfigurationsOutput { + s.LastModifiedDate = &v + return s +} + +type DescribeIndexInput struct { + _ struct{} `type:"structure"` + + // The index name. + // + // IndexName is a required field + IndexName *string `location:"uri" locationName:"indexName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeIndexInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeIndexInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeIndexInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeIndexInput"} + if s.IndexName == nil { + invalidParams.Add(request.NewErrParamRequired("IndexName")) + } + if s.IndexName != nil && len(*s.IndexName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IndexName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIndexName sets the IndexName field's value. +func (s *DescribeIndexInput) SetIndexName(v string) *DescribeIndexInput { + s.IndexName = &v + return s +} + +type DescribeIndexOutput struct { + _ struct{} `type:"structure"` + + // The index name. + IndexName *string `locationName:"indexName" min:"1" type:"string"` + + // The index status. + IndexStatus *string `locationName:"indexStatus" type:"string" enum:"IndexStatus"` + + // Contains a value that specifies the type of indexing performed. Valid values + // are: + // + // REGISTRY – Your thing index will contain only registry data. + // + // REGISTRY_AND_SHADOW - Your thing index will contain registry and shadow data. + Schema *string `locationName:"schema" type:"string"` +} + +// String returns the string representation +func (s DescribeIndexOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeIndexOutput) GoString() string { + return s.String() +} + +// SetIndexName sets the IndexName field's value. +func (s *DescribeIndexOutput) SetIndexName(v string) *DescribeIndexOutput { + s.IndexName = &v + return s +} + +// SetIndexStatus sets the IndexStatus field's value. +func (s *DescribeIndexOutput) SetIndexStatus(v string) *DescribeIndexOutput { + s.IndexStatus = &v + return s +} + +// SetSchema sets the Schema field's value. +func (s *DescribeIndexOutput) SetSchema(v string) *DescribeIndexOutput { + s.Schema = &v + return s +} + +type DescribeJobExecutionInput struct { + _ struct{} `type:"structure"` + + // A string (consisting of the digits "0" through "9" which is used to specify + // a particular job execution on a particular device. + ExecutionNumber *int64 `location:"querystring" locationName:"executionNumber" type:"long"` + + // The unique identifier you assigned to this job when it was created. + // + // JobId is a required field + JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` + + // The name of the thing on which the job execution is running. + // + // ThingName is a required field + ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeJobExecutionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeJobExecutionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeJobExecutionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeJobExecutionInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + if s.ThingName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingName")) + } + if s.ThingName != nil && len(*s.ThingName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExecutionNumber sets the ExecutionNumber field's value. +func (s *DescribeJobExecutionInput) SetExecutionNumber(v int64) *DescribeJobExecutionInput { + s.ExecutionNumber = &v + return s +} + +// SetJobId sets the JobId field's value. +func (s *DescribeJobExecutionInput) SetJobId(v string) *DescribeJobExecutionInput { + s.JobId = &v + return s +} + +// SetThingName sets the ThingName field's value. +func (s *DescribeJobExecutionInput) SetThingName(v string) *DescribeJobExecutionInput { + s.ThingName = &v + return s +} + +type DescribeJobExecutionOutput struct { + _ struct{} `type:"structure"` + + // Information about the job execution. + Execution *JobExecution `locationName:"execution" type:"structure"` +} + +// String returns the string representation +func (s DescribeJobExecutionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeJobExecutionOutput) GoString() string { + return s.String() +} + +// SetExecution sets the Execution field's value. +func (s *DescribeJobExecutionOutput) SetExecution(v *JobExecution) *DescribeJobExecutionOutput { + s.Execution = v + return s +} + +type DescribeJobInput struct { + _ struct{} `type:"structure"` + + // The unique identifier you assigned to this job when it was created. + // + // JobId is a required field + JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeJobInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetJobId sets the JobId field's value. +func (s *DescribeJobInput) SetJobId(v string) *DescribeJobInput { + s.JobId = &v + return s +} + +type DescribeJobOutput struct { + _ struct{} `type:"structure"` + + // An S3 link to the job document. + DocumentSource *string `locationName:"documentSource" min:"1" type:"string"` + + // Information about the job. + Job *Job `locationName:"job" type:"structure"` +} + +// String returns the string representation +func (s DescribeJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeJobOutput) GoString() string { + return s.String() +} + +// SetDocumentSource sets the DocumentSource field's value. +func (s *DescribeJobOutput) SetDocumentSource(v string) *DescribeJobOutput { + s.DocumentSource = &v + return s +} + +// SetJob sets the Job field's value. +func (s *DescribeJobOutput) SetJob(v *Job) *DescribeJobOutput { + s.Job = v + return s +} + +type DescribeRoleAliasInput struct { + _ struct{} `type:"structure"` + + // The role alias to describe. + // + // RoleAlias is a required field + RoleAlias *string `location:"uri" locationName:"roleAlias" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeRoleAliasInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeRoleAliasInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeRoleAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeRoleAliasInput"} + if s.RoleAlias == nil { + invalidParams.Add(request.NewErrParamRequired("RoleAlias")) + } + if s.RoleAlias != nil && len(*s.RoleAlias) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RoleAlias", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRoleAlias sets the RoleAlias field's value. +func (s *DescribeRoleAliasInput) SetRoleAlias(v string) *DescribeRoleAliasInput { + s.RoleAlias = &v + return s +} + +type DescribeRoleAliasOutput struct { + _ struct{} `type:"structure"` + + // The role alias description. + RoleAliasDescription *RoleAliasDescription `locationName:"roleAliasDescription" type:"structure"` +} + +// String returns the string representation +func (s DescribeRoleAliasOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeRoleAliasOutput) GoString() string { + return s.String() +} + +// SetRoleAliasDescription sets the RoleAliasDescription field's value. +func (s *DescribeRoleAliasOutput) SetRoleAliasDescription(v *RoleAliasDescription) *DescribeRoleAliasOutput { + s.RoleAliasDescription = v + return s +} + +type DescribeThingGroupInput struct { + _ struct{} `type:"structure"` + + // The name of the thing group. + // + // ThingGroupName is a required field + ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeThingGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeThingGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeThingGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeThingGroupInput"} + if s.ThingGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingGroupName")) + } + if s.ThingGroupName != nil && len(*s.ThingGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingGroupName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetThingGroupName sets the ThingGroupName field's value. +func (s *DescribeThingGroupInput) SetThingGroupName(v string) *DescribeThingGroupInput { + s.ThingGroupName = &v + return s +} + +type DescribeThingGroupOutput struct { + _ struct{} `type:"structure"` + + // The thing group ARN. + ThingGroupArn *string `locationName:"thingGroupArn" type:"string"` + + // The thing group ID. + ThingGroupId *string `locationName:"thingGroupId" min:"1" type:"string"` + + // Thing group metadata. + ThingGroupMetadata *ThingGroupMetadata `locationName:"thingGroupMetadata" type:"structure"` + + // The name of the thing group. + ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"` + + // The thing group properties. + ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure"` + + // The version of the thing group. + Version *int64 `locationName:"version" type:"long"` +} + +// String returns the string representation +func (s DescribeThingGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeThingGroupOutput) GoString() string { + return s.String() +} + +// SetThingGroupArn sets the ThingGroupArn field's value. +func (s *DescribeThingGroupOutput) SetThingGroupArn(v string) *DescribeThingGroupOutput { + s.ThingGroupArn = &v + return s +} + +// SetThingGroupId sets the ThingGroupId field's value. +func (s *DescribeThingGroupOutput) SetThingGroupId(v string) *DescribeThingGroupOutput { + s.ThingGroupId = &v + return s +} + +// SetThingGroupMetadata sets the ThingGroupMetadata field's value. +func (s *DescribeThingGroupOutput) SetThingGroupMetadata(v *ThingGroupMetadata) *DescribeThingGroupOutput { + s.ThingGroupMetadata = v + return s +} + +// SetThingGroupName sets the ThingGroupName field's value. +func (s *DescribeThingGroupOutput) SetThingGroupName(v string) *DescribeThingGroupOutput { + s.ThingGroupName = &v + return s +} + +// SetThingGroupProperties sets the ThingGroupProperties field's value. +func (s *DescribeThingGroupOutput) SetThingGroupProperties(v *ThingGroupProperties) *DescribeThingGroupOutput { + s.ThingGroupProperties = v + return s +} + +// SetVersion sets the Version field's value. +func (s *DescribeThingGroupOutput) SetVersion(v int64) *DescribeThingGroupOutput { + s.Version = &v + return s +} + +// The input for the DescribeThing operation. +type DescribeThingInput struct { + _ struct{} `type:"structure"` + + // The name of the thing. + // + // ThingName is a required field + ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeThingInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeThingInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeThingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeThingInput"} + if s.ThingName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingName")) + } + if s.ThingName != nil && len(*s.ThingName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetThingName sets the ThingName field's value. +func (s *DescribeThingInput) SetThingName(v string) *DescribeThingInput { + s.ThingName = &v + return s +} + +// The output from the DescribeThing operation. +type DescribeThingOutput struct { + _ struct{} `type:"structure"` + + // The thing attributes. + Attributes map[string]*string `locationName:"attributes" type:"map"` + + // The default client ID. + DefaultClientId *string `locationName:"defaultClientId" type:"string"` + + // The ARN of the thing to describe. + ThingArn *string `locationName:"thingArn" type:"string"` + + // The ID of the thing to describe. + ThingId *string `locationName:"thingId" type:"string"` + + // The name of the thing. + ThingName *string `locationName:"thingName" min:"1" type:"string"` + + // The thing type name. + ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` + + // The current version of the thing record in the registry. + // + // To avoid unintentional changes to the information in the registry, you can + // pass the version information in the expectedVersion parameter of the UpdateThing + // and DeleteThing calls. + Version *int64 `locationName:"version" type:"long"` +} + +// String returns the string representation +func (s DescribeThingOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeThingOutput) GoString() string { + return s.String() +} + +// SetAttributes sets the Attributes field's value. +func (s *DescribeThingOutput) SetAttributes(v map[string]*string) *DescribeThingOutput { + s.Attributes = v + return s +} + +// SetDefaultClientId sets the DefaultClientId field's value. +func (s *DescribeThingOutput) SetDefaultClientId(v string) *DescribeThingOutput { + s.DefaultClientId = &v + return s +} + +// SetThingArn sets the ThingArn field's value. +func (s *DescribeThingOutput) SetThingArn(v string) *DescribeThingOutput { + s.ThingArn = &v + return s +} + +// SetThingId sets the ThingId field's value. +func (s *DescribeThingOutput) SetThingId(v string) *DescribeThingOutput { + s.ThingId = &v + return s +} + +// SetThingName sets the ThingName field's value. +func (s *DescribeThingOutput) SetThingName(v string) *DescribeThingOutput { + s.ThingName = &v + return s +} + +// SetThingTypeName sets the ThingTypeName field's value. +func (s *DescribeThingOutput) SetThingTypeName(v string) *DescribeThingOutput { + s.ThingTypeName = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *DescribeThingOutput) SetVersion(v int64) *DescribeThingOutput { + s.Version = &v + return s +} + +type DescribeThingRegistrationTaskInput struct { + _ struct{} `type:"structure"` + + // The task ID. + // + // TaskId is a required field + TaskId *string `location:"uri" locationName:"taskId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeThingRegistrationTaskInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeThingRegistrationTaskInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeThingRegistrationTaskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeThingRegistrationTaskInput"} + if s.TaskId == nil { + invalidParams.Add(request.NewErrParamRequired("TaskId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTaskId sets the TaskId field's value. +func (s *DescribeThingRegistrationTaskInput) SetTaskId(v string) *DescribeThingRegistrationTaskInput { + s.TaskId = &v + return s +} + +type DescribeThingRegistrationTaskOutput struct { + _ struct{} `type:"structure"` + + // The task creation date. + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + + // The number of things that failed to be provisioned. + FailureCount *int64 `locationName:"failureCount" type:"integer"` + + // The S3 bucket that contains the input file. + InputFileBucket *string `locationName:"inputFileBucket" min:"3" type:"string"` + + // The input file key. + InputFileKey *string `locationName:"inputFileKey" min:"1" type:"string"` + + // The date when the task was last modified. + LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` + + // The message. + Message *string `locationName:"message" type:"string"` + + // The progress of the bulk provisioning task expressed as a percentage. + PercentageProgress *int64 `locationName:"percentageProgress" type:"integer"` + + // The role ARN that grants access to the input file bucket. + RoleArn *string `locationName:"roleArn" min:"20" type:"string"` + + // The status of the bulk thing provisioning task. + Status *string `locationName:"status" type:"string" enum:"Status"` + + // The number of things successfully provisioned. + SuccessCount *int64 `locationName:"successCount" type:"integer"` + + // The task ID. + TaskId *string `locationName:"taskId" type:"string"` + + // The task's template. + TemplateBody *string `locationName:"templateBody" type:"string"` +} + +// String returns the string representation +func (s DescribeThingRegistrationTaskOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeThingRegistrationTaskOutput) GoString() string { + return s.String() +} + +// SetCreationDate sets the CreationDate field's value. +func (s *DescribeThingRegistrationTaskOutput) SetCreationDate(v time.Time) *DescribeThingRegistrationTaskOutput { + s.CreationDate = &v + return s +} + +// SetFailureCount sets the FailureCount field's value. +func (s *DescribeThingRegistrationTaskOutput) SetFailureCount(v int64) *DescribeThingRegistrationTaskOutput { + s.FailureCount = &v + return s +} + +// SetInputFileBucket sets the InputFileBucket field's value. +func (s *DescribeThingRegistrationTaskOutput) SetInputFileBucket(v string) *DescribeThingRegistrationTaskOutput { + s.InputFileBucket = &v + return s +} + +// SetInputFileKey sets the InputFileKey field's value. +func (s *DescribeThingRegistrationTaskOutput) SetInputFileKey(v string) *DescribeThingRegistrationTaskOutput { + s.InputFileKey = &v + return s +} + +// SetLastModifiedDate sets the LastModifiedDate field's value. +func (s *DescribeThingRegistrationTaskOutput) SetLastModifiedDate(v time.Time) *DescribeThingRegistrationTaskOutput { + s.LastModifiedDate = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *DescribeThingRegistrationTaskOutput) SetMessage(v string) *DescribeThingRegistrationTaskOutput { + s.Message = &v + return s +} + +// SetPercentageProgress sets the PercentageProgress field's value. +func (s *DescribeThingRegistrationTaskOutput) SetPercentageProgress(v int64) *DescribeThingRegistrationTaskOutput { + s.PercentageProgress = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *DescribeThingRegistrationTaskOutput) SetRoleArn(v string) *DescribeThingRegistrationTaskOutput { + s.RoleArn = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeThingRegistrationTaskOutput) SetStatus(v string) *DescribeThingRegistrationTaskOutput { + s.Status = &v + return s +} + +// SetSuccessCount sets the SuccessCount field's value. +func (s *DescribeThingRegistrationTaskOutput) SetSuccessCount(v int64) *DescribeThingRegistrationTaskOutput { + s.SuccessCount = &v + return s +} + +// SetTaskId sets the TaskId field's value. +func (s *DescribeThingRegistrationTaskOutput) SetTaskId(v string) *DescribeThingRegistrationTaskOutput { + s.TaskId = &v + return s +} + +// SetTemplateBody sets the TemplateBody field's value. +func (s *DescribeThingRegistrationTaskOutput) SetTemplateBody(v string) *DescribeThingRegistrationTaskOutput { + s.TemplateBody = &v + return s +} + +// The input for the DescribeThingType operation. +type DescribeThingTypeInput struct { + _ struct{} `type:"structure"` + + // The name of the thing type. + // + // ThingTypeName is a required field + ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeThingTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeThingTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeThingTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeThingTypeInput"} + if s.ThingTypeName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingTypeName")) + } + if s.ThingTypeName != nil && len(*s.ThingTypeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingTypeName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetThingTypeName sets the ThingTypeName field's value. +func (s *DescribeThingTypeInput) SetThingTypeName(v string) *DescribeThingTypeInput { + s.ThingTypeName = &v + return s +} + +// The output for the DescribeThingType operation. +type DescribeThingTypeOutput struct { + _ struct{} `type:"structure"` + + // The thing type ARN. + ThingTypeArn *string `locationName:"thingTypeArn" type:"string"` + + // The thing type ID. + ThingTypeId *string `locationName:"thingTypeId" type:"string"` + + // The ThingTypeMetadata contains additional information about the thing type + // including: creation date and time, a value indicating whether the thing type + // is deprecated, and a date and time when it was deprecated. + ThingTypeMetadata *ThingTypeMetadata `locationName:"thingTypeMetadata" type:"structure"` + + // The name of the thing type. + ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` + + // The ThingTypeProperties contains information about the thing type including + // description, and a list of searchable thing attribute names. + ThingTypeProperties *ThingTypeProperties `locationName:"thingTypeProperties" type:"structure"` +} + +// String returns the string representation +func (s DescribeThingTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeThingTypeOutput) GoString() string { + return s.String() +} + +// SetThingTypeArn sets the ThingTypeArn field's value. +func (s *DescribeThingTypeOutput) SetThingTypeArn(v string) *DescribeThingTypeOutput { + s.ThingTypeArn = &v + return s +} + +// SetThingTypeId sets the ThingTypeId field's value. +func (s *DescribeThingTypeOutput) SetThingTypeId(v string) *DescribeThingTypeOutput { + s.ThingTypeId = &v + return s +} + +// SetThingTypeMetadata sets the ThingTypeMetadata field's value. +func (s *DescribeThingTypeOutput) SetThingTypeMetadata(v *ThingTypeMetadata) *DescribeThingTypeOutput { + s.ThingTypeMetadata = v + return s +} + +// SetThingTypeName sets the ThingTypeName field's value. +func (s *DescribeThingTypeOutput) SetThingTypeName(v string) *DescribeThingTypeOutput { + s.ThingTypeName = &v + return s +} + +// SetThingTypeProperties sets the ThingTypeProperties field's value. +func (s *DescribeThingTypeOutput) SetThingTypeProperties(v *ThingTypeProperties) *DescribeThingTypeOutput { + s.ThingTypeProperties = v + return s +} + +type DetachPolicyInput struct { + _ struct{} `type:"structure"` + + // The policy to detach. + // + // PolicyName is a required field + PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + + // The target from which the policy will be detached. + // + // Target is a required field + Target *string `locationName:"target" type:"string" required:"true"` +} + +// String returns the string representation +func (s DetachPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DetachPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DetachPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DetachPolicyInput"} + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) + } + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + } + if s.Target == nil { + invalidParams.Add(request.NewErrParamRequired("Target")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicyName sets the PolicyName field's value. +func (s *DetachPolicyInput) SetPolicyName(v string) *DetachPolicyInput { + s.PolicyName = &v + return s +} + +// SetTarget sets the Target field's value. +func (s *DetachPolicyInput) SetTarget(v string) *DetachPolicyInput { + s.Target = &v + return s +} + +type DetachPolicyOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DetachPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DetachPolicyOutput) GoString() string { + return s.String() +} + +// The input for the DetachPrincipalPolicy operation. +type DetachPrincipalPolicyInput struct { + _ struct{} `type:"structure"` + + // The name of the policy to detach. + // + // PolicyName is a required field + PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + + // The principal. + // + // If the principal is a certificate, specify the certificate ARN. If the principal + // is an Amazon Cognito identity, specify the identity ID. + // + // Principal is a required field + Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"` +} + +// String returns the string representation +func (s DetachPrincipalPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DetachPrincipalPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DetachPrincipalPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DetachPrincipalPolicyInput"} + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) + } + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + } + if s.Principal == nil { + invalidParams.Add(request.NewErrParamRequired("Principal")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicyName sets the PolicyName field's value. +func (s *DetachPrincipalPolicyInput) SetPolicyName(v string) *DetachPrincipalPolicyInput { + s.PolicyName = &v + return s +} + +// SetPrincipal sets the Principal field's value. +func (s *DetachPrincipalPolicyInput) SetPrincipal(v string) *DetachPrincipalPolicyInput { + s.Principal = &v + return s +} + +type DetachPrincipalPolicyOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DetachPrincipalPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DetachPrincipalPolicyOutput) GoString() string { + return s.String() +} + +// The input for the DetachThingPrincipal operation. +type DetachThingPrincipalInput struct { + _ struct{} `type:"structure"` + + // If the principal is a certificate, this value must be ARN of the certificate. + // If the principal is an Amazon Cognito identity, this value must be the ID + // of the Amazon Cognito identity. + // + // Principal is a required field + Principal *string `location:"header" locationName:"x-amzn-principal" type:"string" required:"true"` + + // The name of the thing. + // + // ThingName is a required field + ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DetachThingPrincipalInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DetachThingPrincipalInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DetachThingPrincipalInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DetachThingPrincipalInput"} + if s.Principal == nil { + invalidParams.Add(request.NewErrParamRequired("Principal")) + } + if s.ThingName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingName")) + } + if s.ThingName != nil && len(*s.ThingName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPrincipal sets the Principal field's value. +func (s *DetachThingPrincipalInput) SetPrincipal(v string) *DetachThingPrincipalInput { + s.Principal = &v + return s +} + +// SetThingName sets the ThingName field's value. +func (s *DetachThingPrincipalInput) SetThingName(v string) *DetachThingPrincipalInput { + s.ThingName = &v + return s +} + +// The output from the DetachThingPrincipal operation. +type DetachThingPrincipalOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DetachThingPrincipalOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DetachThingPrincipalOutput) GoString() string { + return s.String() +} + +// The input for the DisableTopicRuleRequest operation. +type DisableTopicRuleInput struct { + _ struct{} `type:"structure"` + + // The name of the rule to disable. + // + // RuleName is a required field + RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DisableTopicRuleInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisableTopicRuleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DisableTopicRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisableTopicRuleInput"} + if s.RuleName == nil { + invalidParams.Add(request.NewErrParamRequired("RuleName")) + } + if s.RuleName != nil && len(*s.RuleName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RuleName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRuleName sets the RuleName field's value. +func (s *DisableTopicRuleInput) SetRuleName(v string) *DisableTopicRuleInput { + s.RuleName = &v + return s +} + +type DisableTopicRuleOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DisableTopicRuleOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisableTopicRuleOutput) GoString() string { + return s.String() +} + +// Describes an action to write to a DynamoDB table. +// +// The tableName, hashKeyField, and rangeKeyField values must match the values +// used when you created the table. +// +// The hashKeyValue and rangeKeyvalue fields use a substitution template syntax. +// These templates provide data at runtime. The syntax is as follows: ${sql-expression}. +// +// You can specify any valid expression in a WHERE or SELECT clause, including +// JSON properties, comparisons, calculations, and functions. For example, the +// following field uses the third level of the topic: +// +// "hashKeyValue": "${topic(3)}" +// +// The following field uses the timestamp: +// +// "rangeKeyValue": "${timestamp()}" +type DynamoDBAction struct { + _ struct{} `type:"structure"` + + // The hash key name. + // + // HashKeyField is a required field + HashKeyField *string `locationName:"hashKeyField" type:"string" required:"true"` + + // The hash key type. Valid values are "STRING" or "NUMBER" + HashKeyType *string `locationName:"hashKeyType" type:"string" enum:"DynamoKeyType"` + + // The hash key value. + // + // HashKeyValue is a required field + HashKeyValue *string `locationName:"hashKeyValue" type:"string" required:"true"` + + // The type of operation to be performed. This follows the substitution template, + // so it can be ${operation}, but the substitution must result in one of the + // following: INSERT, UPDATE, or DELETE. + Operation *string `locationName:"operation" type:"string"` + + // The action payload. This name can be customized. + PayloadField *string `locationName:"payloadField" type:"string"` + + // The range key name. + RangeKeyField *string `locationName:"rangeKeyField" type:"string"` + + // The range key type. Valid values are "STRING" or "NUMBER" + RangeKeyType *string `locationName:"rangeKeyType" type:"string" enum:"DynamoKeyType"` + + // The range key value. + RangeKeyValue *string `locationName:"rangeKeyValue" type:"string"` + + // The ARN of the IAM role that grants access to the DynamoDB table. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + + // The name of the DynamoDB table. + // + // TableName is a required field + TableName *string `locationName:"tableName" type:"string" required:"true"` +} + +// String returns the string representation +func (s DynamoDBAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DynamoDBAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DynamoDBAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DynamoDBAction"} + if s.HashKeyField == nil { + invalidParams.Add(request.NewErrParamRequired("HashKeyField")) + } + if s.HashKeyValue == nil { + invalidParams.Add(request.NewErrParamRequired("HashKeyValue")) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.TableName == nil { + invalidParams.Add(request.NewErrParamRequired("TableName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHashKeyField sets the HashKeyField field's value. +func (s *DynamoDBAction) SetHashKeyField(v string) *DynamoDBAction { + s.HashKeyField = &v + return s +} + +// SetHashKeyType sets the HashKeyType field's value. +func (s *DynamoDBAction) SetHashKeyType(v string) *DynamoDBAction { + s.HashKeyType = &v + return s +} + +// SetHashKeyValue sets the HashKeyValue field's value. +func (s *DynamoDBAction) SetHashKeyValue(v string) *DynamoDBAction { + s.HashKeyValue = &v + return s +} + +// SetOperation sets the Operation field's value. +func (s *DynamoDBAction) SetOperation(v string) *DynamoDBAction { + s.Operation = &v + return s +} + +// SetPayloadField sets the PayloadField field's value. +func (s *DynamoDBAction) SetPayloadField(v string) *DynamoDBAction { + s.PayloadField = &v + return s +} + +// SetRangeKeyField sets the RangeKeyField field's value. +func (s *DynamoDBAction) SetRangeKeyField(v string) *DynamoDBAction { + s.RangeKeyField = &v + return s +} + +// SetRangeKeyType sets the RangeKeyType field's value. +func (s *DynamoDBAction) SetRangeKeyType(v string) *DynamoDBAction { + s.RangeKeyType = &v + return s +} + +// SetRangeKeyValue sets the RangeKeyValue field's value. +func (s *DynamoDBAction) SetRangeKeyValue(v string) *DynamoDBAction { + s.RangeKeyValue = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *DynamoDBAction) SetRoleArn(v string) *DynamoDBAction { + s.RoleArn = &v + return s +} + +// SetTableName sets the TableName field's value. +func (s *DynamoDBAction) SetTableName(v string) *DynamoDBAction { + s.TableName = &v + return s +} + +// Describes an action to write to a DynamoDB table. +// +// This DynamoDB action writes each attribute in the message payload into it's +// own column in the DynamoDB table. +type DynamoDBv2Action struct { + _ struct{} `type:"structure"` + + // Specifies the DynamoDB table to which the message data will be written. For + // example: + // + // { "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": + // "my-table" } } } + // + // Each attribute in the message payload will be written to a separate column + // in the DynamoDB database. + PutItem *PutItemInput `locationName:"putItem" type:"structure"` + + // The ARN of the IAM role that grants access to the DynamoDB table. + RoleArn *string `locationName:"roleArn" type:"string"` +} + +// String returns the string representation +func (s DynamoDBv2Action) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DynamoDBv2Action) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DynamoDBv2Action) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DynamoDBv2Action"} + if s.PutItem != nil { + if err := s.PutItem.Validate(); err != nil { + invalidParams.AddNested("PutItem", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPutItem sets the PutItem field's value. +func (s *DynamoDBv2Action) SetPutItem(v *PutItemInput) *DynamoDBv2Action { + s.PutItem = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *DynamoDBv2Action) SetRoleArn(v string) *DynamoDBv2Action { + s.RoleArn = &v + return s +} + +// The policy that has the effect on the authorization results. +type EffectivePolicy struct { + _ struct{} `type:"structure"` + + // The policy ARN. + PolicyArn *string `locationName:"policyArn" type:"string"` + + // The IAM policy document. + PolicyDocument *string `locationName:"policyDocument" type:"string"` + + // The policy name. + PolicyName *string `locationName:"policyName" min:"1" type:"string"` +} + +// String returns the string representation +func (s EffectivePolicy) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EffectivePolicy) GoString() string { + return s.String() +} + +// SetPolicyArn sets the PolicyArn field's value. +func (s *EffectivePolicy) SetPolicyArn(v string) *EffectivePolicy { + s.PolicyArn = &v + return s +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *EffectivePolicy) SetPolicyDocument(v string) *EffectivePolicy { + s.PolicyDocument = &v + return s +} + +// SetPolicyName sets the PolicyName field's value. +func (s *EffectivePolicy) SetPolicyName(v string) *EffectivePolicy { + s.PolicyName = &v + return s +} + +// Describes an action that writes data to an Amazon Elasticsearch Service domain. +type ElasticsearchAction struct { + _ struct{} `type:"structure"` + + // The endpoint of your Elasticsearch domain. + // + // Endpoint is a required field + Endpoint *string `locationName:"endpoint" type:"string" required:"true"` + + // The unique identifier for the document you are storing. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The Elasticsearch index where you want to store your data. + // + // Index is a required field + Index *string `locationName:"index" type:"string" required:"true"` + + // The IAM role ARN that has access to Elasticsearch. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + + // The type of document you are storing. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true"` +} + +// String returns the string representation +func (s ElasticsearchAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ElasticsearchAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ElasticsearchAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ElasticsearchAction"} + if s.Endpoint == nil { + invalidParams.Add(request.NewErrParamRequired("Endpoint")) + } + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Index == nil { + invalidParams.Add(request.NewErrParamRequired("Index")) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEndpoint sets the Endpoint field's value. +func (s *ElasticsearchAction) SetEndpoint(v string) *ElasticsearchAction { + s.Endpoint = &v + return s +} + +// SetId sets the Id field's value. +func (s *ElasticsearchAction) SetId(v string) *ElasticsearchAction { + s.Id = &v + return s +} + +// SetIndex sets the Index field's value. +func (s *ElasticsearchAction) SetIndex(v string) *ElasticsearchAction { + s.Index = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *ElasticsearchAction) SetRoleArn(v string) *ElasticsearchAction { + s.RoleArn = &v + return s +} + +// SetType sets the Type field's value. +func (s *ElasticsearchAction) SetType(v string) *ElasticsearchAction { + s.Type = &v + return s +} + +// The input for the EnableTopicRuleRequest operation. +type EnableTopicRuleInput struct { + _ struct{} `type:"structure"` + + // The name of the topic rule to enable. + // + // RuleName is a required field + RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s EnableTopicRuleInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EnableTopicRuleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *EnableTopicRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EnableTopicRuleInput"} + if s.RuleName == nil { + invalidParams.Add(request.NewErrParamRequired("RuleName")) + } + if s.RuleName != nil && len(*s.RuleName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RuleName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRuleName sets the RuleName field's value. +func (s *EnableTopicRuleInput) SetRuleName(v string) *EnableTopicRuleInput { + s.RuleName = &v + return s +} + +type EnableTopicRuleOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s EnableTopicRuleOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EnableTopicRuleOutput) GoString() string { + return s.String() +} + +// Information that explicitly denies authorization. +type ExplicitDeny struct { + _ struct{} `type:"structure"` + + // The policies that denied the authorization. + Policies []*Policy `locationName:"policies" type:"list"` +} + +// String returns the string representation +func (s ExplicitDeny) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ExplicitDeny) GoString() string { + return s.String() +} + +// SetPolicies sets the Policies field's value. +func (s *ExplicitDeny) SetPolicies(v []*Policy) *ExplicitDeny { + s.Policies = v + return s +} + +// Describes an action that writes data to an Amazon Kinesis Firehose stream. +type FirehoseAction struct { + _ struct{} `type:"structure"` + + // The delivery stream name. + // + // DeliveryStreamName is a required field + DeliveryStreamName *string `locationName:"deliveryStreamName" type:"string" required:"true"` + + // The IAM role that grants access to the Amazon Kinesis Firehose stream. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + + // A character separator that will be used to separate records written to the + // Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows + // newline), ',' (comma). + Separator *string `locationName:"separator" type:"string"` +} + +// String returns the string representation +func (s FirehoseAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s FirehoseAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FirehoseAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FirehoseAction"} + if s.DeliveryStreamName == nil { + invalidParams.Add(request.NewErrParamRequired("DeliveryStreamName")) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDeliveryStreamName sets the DeliveryStreamName field's value. +func (s *FirehoseAction) SetDeliveryStreamName(v string) *FirehoseAction { + s.DeliveryStreamName = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *FirehoseAction) SetRoleArn(v string) *FirehoseAction { + s.RoleArn = &v + return s +} + +// SetSeparator sets the Separator field's value. +func (s *FirehoseAction) SetSeparator(v string) *FirehoseAction { + s.Separator = &v + return s +} + +type GetEffectivePoliciesInput struct { + _ struct{} `type:"structure"` + + // The Cognito identity pool ID. + CognitoIdentityPoolId *string `locationName:"cognitoIdentityPoolId" type:"string"` + + // The principal. + Principal *string `locationName:"principal" type:"string"` + + // The thing name. + ThingName *string `location:"querystring" locationName:"thingName" min:"1" type:"string"` +} + +// String returns the string representation +func (s GetEffectivePoliciesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetEffectivePoliciesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetEffectivePoliciesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetEffectivePoliciesInput"} + if s.ThingName != nil && len(*s.ThingName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCognitoIdentityPoolId sets the CognitoIdentityPoolId field's value. +func (s *GetEffectivePoliciesInput) SetCognitoIdentityPoolId(v string) *GetEffectivePoliciesInput { + s.CognitoIdentityPoolId = &v + return s +} + +// SetPrincipal sets the Principal field's value. +func (s *GetEffectivePoliciesInput) SetPrincipal(v string) *GetEffectivePoliciesInput { + s.Principal = &v + return s +} + +// SetThingName sets the ThingName field's value. +func (s *GetEffectivePoliciesInput) SetThingName(v string) *GetEffectivePoliciesInput { + s.ThingName = &v + return s +} + +type GetEffectivePoliciesOutput struct { + _ struct{} `type:"structure"` + + // The effective policies. + EffectivePolicies []*EffectivePolicy `locationName:"effectivePolicies" type:"list"` +} + +// String returns the string representation +func (s GetEffectivePoliciesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetEffectivePoliciesOutput) GoString() string { + return s.String() +} + +// SetEffectivePolicies sets the EffectivePolicies field's value. +func (s *GetEffectivePoliciesOutput) SetEffectivePolicies(v []*EffectivePolicy) *GetEffectivePoliciesOutput { + s.EffectivePolicies = v + return s +} + +type GetIndexingConfigurationInput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s GetIndexingConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetIndexingConfigurationInput) GoString() string { + return s.String() +} + +type GetIndexingConfigurationOutput struct { + _ struct{} `type:"structure"` + + // Thing indexing configuration. + ThingIndexingConfiguration *ThingIndexingConfiguration `locationName:"thingIndexingConfiguration" type:"structure"` +} + +// String returns the string representation +func (s GetIndexingConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetIndexingConfigurationOutput) GoString() string { + return s.String() +} + +// SetThingIndexingConfiguration sets the ThingIndexingConfiguration field's value. +func (s *GetIndexingConfigurationOutput) SetThingIndexingConfiguration(v *ThingIndexingConfiguration) *GetIndexingConfigurationOutput { + s.ThingIndexingConfiguration = v + return s +} + +type GetJobDocumentInput struct { + _ struct{} `type:"structure"` + + // The unique identifier you assigned to this job when it was created. + // + // JobId is a required field + JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetJobDocumentInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetJobDocumentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetJobDocumentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetJobDocumentInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetJobId sets the JobId field's value. +func (s *GetJobDocumentInput) SetJobId(v string) *GetJobDocumentInput { + s.JobId = &v + return s +} + +type GetJobDocumentOutput struct { + _ struct{} `type:"structure"` + + // The job document content. + Document *string `locationName:"document" type:"string"` +} + +// String returns the string representation +func (s GetJobDocumentOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetJobDocumentOutput) GoString() string { + return s.String() +} + +// SetDocument sets the Document field's value. +func (s *GetJobDocumentOutput) SetDocument(v string) *GetJobDocumentOutput { + s.Document = &v + return s +} + +// The input for the GetLoggingOptions operation. +type GetLoggingOptionsInput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s GetLoggingOptionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetLoggingOptionsInput) GoString() string { + return s.String() +} + +// The output from the GetLoggingOptions operation. +type GetLoggingOptionsOutput struct { + _ struct{} `type:"structure"` + + // The logging level. + LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` + + // The ARN of the IAM role that grants access. + RoleArn *string `locationName:"roleArn" type:"string"` +} + +// String returns the string representation +func (s GetLoggingOptionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetLoggingOptionsOutput) GoString() string { + return s.String() +} + +// SetLogLevel sets the LogLevel field's value. +func (s *GetLoggingOptionsOutput) SetLogLevel(v string) *GetLoggingOptionsOutput { + s.LogLevel = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *GetLoggingOptionsOutput) SetRoleArn(v string) *GetLoggingOptionsOutput { + s.RoleArn = &v + return s +} + +// The input for the GetPolicy operation. +type GetPolicyInput struct { + _ struct{} `type:"structure"` + + // The name of the policy. + // + // PolicyName is a required field + PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetPolicyInput"} + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) + } + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicyName sets the PolicyName field's value. +func (s *GetPolicyInput) SetPolicyName(v string) *GetPolicyInput { + s.PolicyName = &v + return s +} + +// The output from the GetPolicy operation. +type GetPolicyOutput struct { + _ struct{} `type:"structure"` + + // The default policy version ID. + DefaultVersionId *string `locationName:"defaultVersionId" type:"string"` + + // The policy ARN. + PolicyArn *string `locationName:"policyArn" type:"string"` + + // The JSON document that describes the policy. + PolicyDocument *string `locationName:"policyDocument" type:"string"` + + // The policy name. + PolicyName *string `locationName:"policyName" min:"1" type:"string"` +} + +// String returns the string representation +func (s GetPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetPolicyOutput) GoString() string { + return s.String() +} + +// SetDefaultVersionId sets the DefaultVersionId field's value. +func (s *GetPolicyOutput) SetDefaultVersionId(v string) *GetPolicyOutput { + s.DefaultVersionId = &v + return s +} + +// SetPolicyArn sets the PolicyArn field's value. +func (s *GetPolicyOutput) SetPolicyArn(v string) *GetPolicyOutput { + s.PolicyArn = &v + return s +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *GetPolicyOutput) SetPolicyDocument(v string) *GetPolicyOutput { + s.PolicyDocument = &v + return s +} + +// SetPolicyName sets the PolicyName field's value. +func (s *GetPolicyOutput) SetPolicyName(v string) *GetPolicyOutput { + s.PolicyName = &v + return s +} + +// The input for the GetPolicyVersion operation. +type GetPolicyVersionInput struct { + _ struct{} `type:"structure"` + + // The name of the policy. + // + // PolicyName is a required field + PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + + // The policy version ID. + // + // PolicyVersionId is a required field + PolicyVersionId *string `location:"uri" locationName:"policyVersionId" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetPolicyVersionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetPolicyVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetPolicyVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetPolicyVersionInput"} + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) + } + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + } + if s.PolicyVersionId == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyVersionId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicyName sets the PolicyName field's value. +func (s *GetPolicyVersionInput) SetPolicyName(v string) *GetPolicyVersionInput { + s.PolicyName = &v + return s +} + +// SetPolicyVersionId sets the PolicyVersionId field's value. +func (s *GetPolicyVersionInput) SetPolicyVersionId(v string) *GetPolicyVersionInput { + s.PolicyVersionId = &v + return s +} + +// The output from the GetPolicyVersion operation. +type GetPolicyVersionOutput struct { + _ struct{} `type:"structure"` + + // Specifies whether the policy version is the default. + IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"` + + // The policy ARN. + PolicyArn *string `locationName:"policyArn" type:"string"` + + // The JSON document that describes the policy. + PolicyDocument *string `locationName:"policyDocument" type:"string"` + + // The policy name. + PolicyName *string `locationName:"policyName" min:"1" type:"string"` + + // The policy version ID. + PolicyVersionId *string `locationName:"policyVersionId" type:"string"` +} + +// String returns the string representation +func (s GetPolicyVersionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetPolicyVersionOutput) GoString() string { + return s.String() +} + +// SetIsDefaultVersion sets the IsDefaultVersion field's value. +func (s *GetPolicyVersionOutput) SetIsDefaultVersion(v bool) *GetPolicyVersionOutput { + s.IsDefaultVersion = &v + return s +} + +// SetPolicyArn sets the PolicyArn field's value. +func (s *GetPolicyVersionOutput) SetPolicyArn(v string) *GetPolicyVersionOutput { + s.PolicyArn = &v + return s +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *GetPolicyVersionOutput) SetPolicyDocument(v string) *GetPolicyVersionOutput { + s.PolicyDocument = &v + return s +} + +// SetPolicyName sets the PolicyName field's value. +func (s *GetPolicyVersionOutput) SetPolicyName(v string) *GetPolicyVersionOutput { + s.PolicyName = &v + return s +} + +// SetPolicyVersionId sets the PolicyVersionId field's value. +func (s *GetPolicyVersionOutput) SetPolicyVersionId(v string) *GetPolicyVersionOutput { + s.PolicyVersionId = &v + return s +} + +// The input to the GetRegistrationCode operation. +type GetRegistrationCodeInput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s GetRegistrationCodeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetRegistrationCodeInput) GoString() string { + return s.String() +} + +// The output from the GetRegistrationCode operation. +type GetRegistrationCodeOutput struct { + _ struct{} `type:"structure"` + + // The CA certificate registration code. + RegistrationCode *string `locationName:"registrationCode" min:"64" type:"string"` +} + +// String returns the string representation +func (s GetRegistrationCodeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetRegistrationCodeOutput) GoString() string { + return s.String() +} + +// SetRegistrationCode sets the RegistrationCode field's value. +func (s *GetRegistrationCodeOutput) SetRegistrationCode(v string) *GetRegistrationCodeOutput { + s.RegistrationCode = &v + return s +} + +// The input for the GetTopicRule operation. +type GetTopicRuleInput struct { + _ struct{} `type:"structure"` + + // The name of the rule. + // + // RuleName is a required field + RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` +} // String returns the string representation -func (s AcceptCertificateTransferOutput) String() string { +func (s GetTopicRuleInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AcceptCertificateTransferOutput) GoString() string { +func (s GetTopicRuleInput) GoString() string { return s.String() } -// Describes the actions associated with a rule. -type Action struct { +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetTopicRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetTopicRuleInput"} + if s.RuleName == nil { + invalidParams.Add(request.NewErrParamRequired("RuleName")) + } + if s.RuleName != nil && len(*s.RuleName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RuleName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRuleName sets the RuleName field's value. +func (s *GetTopicRuleInput) SetRuleName(v string) *GetTopicRuleInput { + s.RuleName = &v + return s +} + +// The output from the GetTopicRule operation. +type GetTopicRuleOutput struct { _ struct{} `type:"structure"` - // Change the state of a CloudWatch alarm. - CloudwatchAlarm *CloudwatchAlarmAction `locationName:"cloudwatchAlarm" type:"structure"` + // The rule. + Rule *TopicRule `locationName:"rule" type:"structure"` - // Capture a CloudWatch metric. - CloudwatchMetric *CloudwatchMetricAction `locationName:"cloudwatchMetric" type:"structure"` + // The rule ARN. + RuleArn *string `locationName:"ruleArn" type:"string"` +} - // Write to a DynamoDB table. - DynamoDB *DynamoDBAction `locationName:"dynamoDB" type:"structure"` +// String returns the string representation +func (s GetTopicRuleOutput) String() string { + return awsutil.Prettify(s) +} - // Write to a DynamoDB table. This is a new version of the DynamoDB action. - // It allows you to write each attribute in an MQTT message payload into a separate - // DynamoDB column. - DynamoDBv2 *DynamoDBv2Action `locationName:"dynamoDBv2" type:"structure"` +// GoString returns the string representation +func (s GetTopicRuleOutput) GoString() string { + return s.String() +} - // Write data to an Amazon Elasticsearch Service domain. - Elasticsearch *ElasticsearchAction `locationName:"elasticsearch" type:"structure"` +// SetRule sets the Rule field's value. +func (s *GetTopicRuleOutput) SetRule(v *TopicRule) *GetTopicRuleOutput { + s.Rule = v + return s +} - // Write to an Amazon Kinesis Firehose stream. - Firehose *FirehoseAction `locationName:"firehose" type:"structure"` +// SetRuleArn sets the RuleArn field's value. +func (s *GetTopicRuleOutput) SetRuleArn(v string) *GetTopicRuleOutput { + s.RuleArn = &v + return s +} - // Write data to an Amazon Kinesis stream. - Kinesis *KinesisAction `locationName:"kinesis" type:"structure"` +type GetV2LoggingOptionsInput struct { + _ struct{} `type:"structure"` +} - // Invoke a Lambda function. - Lambda *LambdaAction `locationName:"lambda" type:"structure"` +// String returns the string representation +func (s GetV2LoggingOptionsInput) String() string { + return awsutil.Prettify(s) +} - // Publish to another MQTT topic. - Republish *RepublishAction `locationName:"republish" type:"structure"` +// GoString returns the string representation +func (s GetV2LoggingOptionsInput) GoString() string { + return s.String() +} - // Write to an Amazon S3 bucket. - S3 *S3Action `locationName:"s3" type:"structure"` +type GetV2LoggingOptionsOutput struct { + _ struct{} `type:"structure"` - // Send a message to a Salesforce IoT Cloud Input Stream. - Salesforce *SalesforceAction `locationName:"salesforce" type:"structure"` + // The default log level. + DefaultLogLevel *string `locationName:"defaultLogLevel" type:"string" enum:"LogLevel"` - // Publish to an Amazon SNS topic. - Sns *SnsAction `locationName:"sns" type:"structure"` + // Disables all logs. + DisableAllLogs *bool `locationName:"disableAllLogs" type:"boolean"` - // Publish to an Amazon SQS queue. - Sqs *SqsAction `locationName:"sqs" type:"structure"` + // The IAM role ARN AWS IoT uses to write to your CloudWatch logs. + RoleArn *string `locationName:"roleArn" type:"string"` } // String returns the string representation -func (s Action) String() string { +func (s GetV2LoggingOptionsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s Action) GoString() string { +func (s GetV2LoggingOptionsOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *Action) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Action"} - if s.CloudwatchAlarm != nil { - if err := s.CloudwatchAlarm.Validate(); err != nil { - invalidParams.AddNested("CloudwatchAlarm", err.(request.ErrInvalidParams)) - } - } - if s.CloudwatchMetric != nil { - if err := s.CloudwatchMetric.Validate(); err != nil { - invalidParams.AddNested("CloudwatchMetric", err.(request.ErrInvalidParams)) - } - } - if s.DynamoDB != nil { - if err := s.DynamoDB.Validate(); err != nil { - invalidParams.AddNested("DynamoDB", err.(request.ErrInvalidParams)) - } - } - if s.DynamoDBv2 != nil { - if err := s.DynamoDBv2.Validate(); err != nil { - invalidParams.AddNested("DynamoDBv2", err.(request.ErrInvalidParams)) - } - } - if s.Elasticsearch != nil { - if err := s.Elasticsearch.Validate(); err != nil { - invalidParams.AddNested("Elasticsearch", err.(request.ErrInvalidParams)) - } - } - if s.Firehose != nil { - if err := s.Firehose.Validate(); err != nil { - invalidParams.AddNested("Firehose", err.(request.ErrInvalidParams)) - } - } - if s.Kinesis != nil { - if err := s.Kinesis.Validate(); err != nil { - invalidParams.AddNested("Kinesis", err.(request.ErrInvalidParams)) - } - } - if s.Lambda != nil { - if err := s.Lambda.Validate(); err != nil { - invalidParams.AddNested("Lambda", err.(request.ErrInvalidParams)) - } - } - if s.Republish != nil { - if err := s.Republish.Validate(); err != nil { - invalidParams.AddNested("Republish", err.(request.ErrInvalidParams)) - } - } - if s.S3 != nil { - if err := s.S3.Validate(); err != nil { - invalidParams.AddNested("S3", err.(request.ErrInvalidParams)) - } - } - if s.Salesforce != nil { - if err := s.Salesforce.Validate(); err != nil { - invalidParams.AddNested("Salesforce", err.(request.ErrInvalidParams)) - } - } - if s.Sns != nil { - if err := s.Sns.Validate(); err != nil { - invalidParams.AddNested("Sns", err.(request.ErrInvalidParams)) - } - } - if s.Sqs != nil { - if err := s.Sqs.Validate(); err != nil { - invalidParams.AddNested("Sqs", err.(request.ErrInvalidParams)) - } - } +// SetDefaultLogLevel sets the DefaultLogLevel field's value. +func (s *GetV2LoggingOptionsOutput) SetDefaultLogLevel(v string) *GetV2LoggingOptionsOutput { + s.DefaultLogLevel = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetDisableAllLogs sets the DisableAllLogs field's value. +func (s *GetV2LoggingOptionsOutput) SetDisableAllLogs(v bool) *GetV2LoggingOptionsOutput { + s.DisableAllLogs = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *GetV2LoggingOptionsOutput) SetRoleArn(v string) *GetV2LoggingOptionsOutput { + s.RoleArn = &v + return s +} + +// The name and ARN of a group. +type GroupNameAndArn struct { + _ struct{} `type:"structure"` + + // The group ARN. + GroupArn *string `locationName:"groupArn" type:"string"` + + // The group name. + GroupName *string `locationName:"groupName" min:"1" type:"string"` +} + +// String returns the string representation +func (s GroupNameAndArn) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GroupNameAndArn) GoString() string { + return s.String() +} + +// SetGroupArn sets the GroupArn field's value. +func (s *GroupNameAndArn) SetGroupArn(v string) *GroupNameAndArn { + s.GroupArn = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *GroupNameAndArn) SetGroupName(v string) *GroupNameAndArn { + s.GroupName = &v + return s +} + +// Information that implicitly denies authorization. When policy doesn't explicitly +// deny or allow an action on a resource it is considered an implicit deny. +type ImplicitDeny struct { + _ struct{} `type:"structure"` + + // Policies that don't contain a matching allow or deny statement for the specified + // action on the specified resource. + Policies []*Policy `locationName:"policies" type:"list"` +} + +// String returns the string representation +func (s ImplicitDeny) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ImplicitDeny) GoString() string { + return s.String() +} + +// SetPolicies sets the Policies field's value. +func (s *ImplicitDeny) SetPolicies(v []*Policy) *ImplicitDeny { + s.Policies = v + return s +} + +// The Job object contains details about a job. +type Job struct { + _ struct{} `type:"structure"` + + // If the job was updated, describes the reason for the update. + Comment *string `locationName:"comment" type:"string"` + + // The time, in milliseconds since the epoch, when the job was completed. + CompletedAt *time.Time `locationName:"completedAt" type:"timestamp" timestampFormat:"unix"` + + // The time, in milliseconds since the epoch, when the job was created. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` + + // A short text description of the job. + Description *string `locationName:"description" type:"string"` + + // The parameters specified for the job document. + DocumentParameters map[string]*string `locationName:"documentParameters" type:"map"` + + // An ARN identifying the job with format "arn:aws:iot:region:account:job/jobId". + JobArn *string `locationName:"jobArn" type:"string"` + + // Allows you to create a staged rollout of a job. + JobExecutionsRolloutConfig *JobExecutionsRolloutConfig `locationName:"jobExecutionsRolloutConfig" type:"structure"` + + // The unique identifier you assigned to this job when it was created. + JobId *string `locationName:"jobId" min:"1" type:"string"` + + // Details about the job process. + JobProcessDetails *JobProcessDetails `locationName:"jobProcessDetails" type:"structure"` + + // The time, in milliseconds since the epoch, when the job was last updated. + LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"` + + // Configuration for pre-signed S3 URLs. + PresignedUrlConfig *PresignedUrlConfig `locationName:"presignedUrlConfig" type:"structure"` + + // The status of the job, one of IN_PROGRESS, CANCELED, or COMPLETED. + Status *string `locationName:"status" type:"string" enum:"JobStatus"` + + // Specifies whether the job will continue to run (CONTINUOUS), or will be complete + // after all those things specified as targets have completed the job (SNAPSHOT). + // If continuous, the job may also be run on a thing when a change is detected + // in a target. For example, a job will run on a device when the thing representing + // the device is added to a target group, even after the job was completed by + // all things originally in the group. + TargetSelection *string `locationName:"targetSelection" type:"string" enum:"TargetSelection"` + + // A list of IoT things and thing groups to which the job should be sent. + Targets []*string `locationName:"targets" min:"1" type:"list"` +} + +// String returns the string representation +func (s Job) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Job) GoString() string { + return s.String() } -// SetCloudwatchAlarm sets the CloudwatchAlarm field's value. -func (s *Action) SetCloudwatchAlarm(v *CloudwatchAlarmAction) *Action { - s.CloudwatchAlarm = v +// SetComment sets the Comment field's value. +func (s *Job) SetComment(v string) *Job { + s.Comment = &v return s } -// SetCloudwatchMetric sets the CloudwatchMetric field's value. -func (s *Action) SetCloudwatchMetric(v *CloudwatchMetricAction) *Action { - s.CloudwatchMetric = v +// SetCompletedAt sets the CompletedAt field's value. +func (s *Job) SetCompletedAt(v time.Time) *Job { + s.CompletedAt = &v return s } -// SetDynamoDB sets the DynamoDB field's value. -func (s *Action) SetDynamoDB(v *DynamoDBAction) *Action { - s.DynamoDB = v +// SetCreatedAt sets the CreatedAt field's value. +func (s *Job) SetCreatedAt(v time.Time) *Job { + s.CreatedAt = &v return s } -// SetDynamoDBv2 sets the DynamoDBv2 field's value. -func (s *Action) SetDynamoDBv2(v *DynamoDBv2Action) *Action { - s.DynamoDBv2 = v +// SetDescription sets the Description field's value. +func (s *Job) SetDescription(v string) *Job { + s.Description = &v return s } -// SetElasticsearch sets the Elasticsearch field's value. -func (s *Action) SetElasticsearch(v *ElasticsearchAction) *Action { - s.Elasticsearch = v +// SetDocumentParameters sets the DocumentParameters field's value. +func (s *Job) SetDocumentParameters(v map[string]*string) *Job { + s.DocumentParameters = v return s } -// SetFirehose sets the Firehose field's value. -func (s *Action) SetFirehose(v *FirehoseAction) *Action { - s.Firehose = v +// SetJobArn sets the JobArn field's value. +func (s *Job) SetJobArn(v string) *Job { + s.JobArn = &v return s } -// SetKinesis sets the Kinesis field's value. -func (s *Action) SetKinesis(v *KinesisAction) *Action { - s.Kinesis = v +// SetJobExecutionsRolloutConfig sets the JobExecutionsRolloutConfig field's value. +func (s *Job) SetJobExecutionsRolloutConfig(v *JobExecutionsRolloutConfig) *Job { + s.JobExecutionsRolloutConfig = v return s } -// SetLambda sets the Lambda field's value. -func (s *Action) SetLambda(v *LambdaAction) *Action { - s.Lambda = v +// SetJobId sets the JobId field's value. +func (s *Job) SetJobId(v string) *Job { + s.JobId = &v return s } -// SetRepublish sets the Republish field's value. -func (s *Action) SetRepublish(v *RepublishAction) *Action { - s.Republish = v +// SetJobProcessDetails sets the JobProcessDetails field's value. +func (s *Job) SetJobProcessDetails(v *JobProcessDetails) *Job { + s.JobProcessDetails = v return s } -// SetS3 sets the S3 field's value. -func (s *Action) SetS3(v *S3Action) *Action { - s.S3 = v +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *Job) SetLastUpdatedAt(v time.Time) *Job { + s.LastUpdatedAt = &v return s } -// SetSalesforce sets the Salesforce field's value. -func (s *Action) SetSalesforce(v *SalesforceAction) *Action { - s.Salesforce = v +// SetPresignedUrlConfig sets the PresignedUrlConfig field's value. +func (s *Job) SetPresignedUrlConfig(v *PresignedUrlConfig) *Job { + s.PresignedUrlConfig = v return s } -// SetSns sets the Sns field's value. -func (s *Action) SetSns(v *SnsAction) *Action { - s.Sns = v +// SetStatus sets the Status field's value. +func (s *Job) SetStatus(v string) *Job { + s.Status = &v return s } -// SetSqs sets the Sqs field's value. -func (s *Action) SetSqs(v *SqsAction) *Action { - s.Sqs = v +// SetTargetSelection sets the TargetSelection field's value. +func (s *Job) SetTargetSelection(v string) *Job { + s.TargetSelection = &v return s } -// The input for the AttachPrincipalPolicy operation. -type AttachPrincipalPolicyInput struct { - _ struct{} `type:"structure"` +// SetTargets sets the Targets field's value. +func (s *Job) SetTargets(v []*string) *Job { + s.Targets = v + return s +} - // The policy name. - // - // PolicyName is a required field - PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` +// The job execution object represents the execution of a job on a particular +// device. +type JobExecution struct { + _ struct{} `type:"structure"` - // The principal, which can be a certificate ARN (as returned from the CreateCertificate - // operation) or an Amazon Cognito ID. - // - // Principal is a required field - Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"` -} + // A string (consisting of the digits "0" through "9") which identifies this + // particular job execution on this particular device. It can be used in commands + // which return or update job execution information. + ExecutionNumber *int64 `locationName:"executionNumber" type:"long"` -// String returns the string representation -func (s AttachPrincipalPolicyInput) String() string { - return awsutil.Prettify(s) -} + // The unique identifier you assigned to the job when it was created. + JobId *string `locationName:"jobId" min:"1" type:"string"` -// GoString returns the string representation -func (s AttachPrincipalPolicyInput) GoString() string { - return s.String() -} + // The time, in milliseconds since the epoch, when the job execution was last + // updated. + LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"` -// Validate inspects the fields of the type to determine if they are valid. -func (s *AttachPrincipalPolicyInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AttachPrincipalPolicyInput"} - if s.PolicyName == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyName")) - } - if s.PolicyName != nil && len(*s.PolicyName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) - } - if s.Principal == nil { - invalidParams.Add(request.NewErrParamRequired("Principal")) - } + // The time, in milliseconds since the epoch, when the job execution was queued. + QueuedAt *time.Time `locationName:"queuedAt" type:"timestamp" timestampFormat:"unix"` - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} + // The time, in milliseconds since the epoch, when the job execution started. + StartedAt *time.Time `locationName:"startedAt" type:"timestamp" timestampFormat:"unix"` -// SetPolicyName sets the PolicyName field's value. -func (s *AttachPrincipalPolicyInput) SetPolicyName(v string) *AttachPrincipalPolicyInput { - s.PolicyName = &v - return s -} + // The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCESS, CANCELED, + // or REJECTED). + Status *string `locationName:"status" type:"string" enum:"JobExecutionStatus"` -// SetPrincipal sets the Principal field's value. -func (s *AttachPrincipalPolicyInput) SetPrincipal(v string) *AttachPrincipalPolicyInput { - s.Principal = &v - return s -} + // A collection of name/value pairs that describe the status of the job execution. + StatusDetails *JobExecutionStatusDetails `locationName:"statusDetails" type:"structure"` -type AttachPrincipalPolicyOutput struct { - _ struct{} `type:"structure"` + // The ARN of the thing on which the job execution is running. + ThingArn *string `locationName:"thingArn" type:"string"` } // String returns the string representation -func (s AttachPrincipalPolicyOutput) String() string { +func (s JobExecution) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AttachPrincipalPolicyOutput) GoString() string { +func (s JobExecution) GoString() string { return s.String() } -// The input for the AttachThingPrincipal operation. -type AttachThingPrincipalInput struct { - _ struct{} `type:"structure"` - - // The principal, such as a certificate or other credential. - // - // Principal is a required field - Principal *string `location:"header" locationName:"x-amzn-principal" type:"string" required:"true"` - - // The name of the thing. - // - // ThingName is a required field - ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` -} - -// String returns the string representation -func (s AttachThingPrincipalInput) String() string { - return awsutil.Prettify(s) +// SetExecutionNumber sets the ExecutionNumber field's value. +func (s *JobExecution) SetExecutionNumber(v int64) *JobExecution { + s.ExecutionNumber = &v + return s } -// GoString returns the string representation -func (s AttachThingPrincipalInput) GoString() string { - return s.String() +// SetJobId sets the JobId field's value. +func (s *JobExecution) SetJobId(v string) *JobExecution { + s.JobId = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AttachThingPrincipalInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AttachThingPrincipalInput"} - if s.Principal == nil { - invalidParams.Add(request.NewErrParamRequired("Principal")) - } - if s.ThingName == nil { - invalidParams.Add(request.NewErrParamRequired("ThingName")) - } - if s.ThingName != nil && len(*s.ThingName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *JobExecution) SetLastUpdatedAt(v time.Time) *JobExecution { + s.LastUpdatedAt = &v + return s } -// SetPrincipal sets the Principal field's value. -func (s *AttachThingPrincipalInput) SetPrincipal(v string) *AttachThingPrincipalInput { - s.Principal = &v +// SetQueuedAt sets the QueuedAt field's value. +func (s *JobExecution) SetQueuedAt(v time.Time) *JobExecution { + s.QueuedAt = &v return s } -// SetThingName sets the ThingName field's value. -func (s *AttachThingPrincipalInput) SetThingName(v string) *AttachThingPrincipalInput { - s.ThingName = &v +// SetStartedAt sets the StartedAt field's value. +func (s *JobExecution) SetStartedAt(v time.Time) *JobExecution { + s.StartedAt = &v return s } -// The output from the AttachThingPrincipal operation. -type AttachThingPrincipalOutput struct { - _ struct{} `type:"structure"` +// SetStatus sets the Status field's value. +func (s *JobExecution) SetStatus(v string) *JobExecution { + s.Status = &v + return s } -// String returns the string representation -func (s AttachThingPrincipalOutput) String() string { - return awsutil.Prettify(s) +// SetStatusDetails sets the StatusDetails field's value. +func (s *JobExecution) SetStatusDetails(v *JobExecutionStatusDetails) *JobExecution { + s.StatusDetails = v + return s } -// GoString returns the string representation -func (s AttachThingPrincipalOutput) GoString() string { - return s.String() +// SetThingArn sets the ThingArn field's value. +func (s *JobExecution) SetThingArn(v string) *JobExecution { + s.ThingArn = &v + return s } -// The attribute payload. -type AttributePayload struct { +// Details of the job execution status. +type JobExecutionStatusDetails struct { _ struct{} `type:"structure"` - // A JSON string containing up to three key-value pair in JSON format. For example: - // - // {\"attributes\":{\"string1\":\"string2\"}} - Attributes map[string]*string `locationName:"attributes" type:"map"` - - // Specifies whether the list of attributes provided in the AttributePayload - // is merged with the attributes stored in the registry, instead of overwriting - // them. - // - // To remove an attribute, call UpdateThing with an empty attribute value. - // - // The merge attribute is only valid when calling UpdateThing. - Merge *bool `locationName:"merge" type:"boolean"` + // The job execution status. + DetailsMap map[string]*string `locationName:"detailsMap" type:"map"` } // String returns the string representation -func (s AttributePayload) String() string { +func (s JobExecutionStatusDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AttributePayload) GoString() string { +func (s JobExecutionStatusDetails) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *AttributePayload) SetAttributes(v map[string]*string) *AttributePayload { - s.Attributes = v - return s -} - -// SetMerge sets the Merge field's value. -func (s *AttributePayload) SetMerge(v bool) *AttributePayload { - s.Merge = &v +// SetDetailsMap sets the DetailsMap field's value. +func (s *JobExecutionStatusDetails) SetDetailsMap(v map[string]*string) *JobExecutionStatusDetails { + s.DetailsMap = v return s } -// A CA certificate. -type CACertificate struct { +// The job execution summary. +type JobExecutionSummary struct { _ struct{} `type:"structure"` - // The ARN of the CA certificate. - CertificateArn *string `locationName:"certificateArn" type:"string"` + // A string (consisting of the digits "0" through "9") which identifies this + // particular job execution on this particular device. It can be used later + // in commands which return or update job execution information. + ExecutionNumber *int64 `locationName:"executionNumber" type:"long"` - // The ID of the CA certificate. - CertificateId *string `locationName:"certificateId" min:"64" type:"string"` + // The time, in milliseconds since the epoch, when the job execution was last + // updated. + LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"` - // The date the CA certificate was created. - CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + // The time, in milliseconds since the epoch, when the job execution was queued. + QueuedAt *time.Time `locationName:"queuedAt" type:"timestamp" timestampFormat:"unix"` - // The status of the CA certificate. - // - // The status value REGISTER_INACTIVE is deprecated and should not be used. - Status *string `locationName:"status" type:"string" enum:"CACertificateStatus"` + // The time, in milliseconds since the epoch, when the job execution started. + StartedAt *time.Time `locationName:"startedAt" type:"timestamp" timestampFormat:"unix"` + + // The status of the job execution. + Status *string `locationName:"status" type:"string" enum:"JobExecutionStatus"` } // String returns the string representation -func (s CACertificate) String() string { +func (s JobExecutionSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CACertificate) GoString() string { +func (s JobExecutionSummary) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *CACertificate) SetCertificateArn(v string) *CACertificate { - s.CertificateArn = &v +// SetExecutionNumber sets the ExecutionNumber field's value. +func (s *JobExecutionSummary) SetExecutionNumber(v int64) *JobExecutionSummary { + s.ExecutionNumber = &v return s } -// SetCertificateId sets the CertificateId field's value. -func (s *CACertificate) SetCertificateId(v string) *CACertificate { - s.CertificateId = &v +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *JobExecutionSummary) SetLastUpdatedAt(v time.Time) *JobExecutionSummary { + s.LastUpdatedAt = &v return s } -// SetCreationDate sets the CreationDate field's value. -func (s *CACertificate) SetCreationDate(v time.Time) *CACertificate { - s.CreationDate = &v +// SetQueuedAt sets the QueuedAt field's value. +func (s *JobExecutionSummary) SetQueuedAt(v time.Time) *JobExecutionSummary { + s.QueuedAt = &v + return s +} + +// SetStartedAt sets the StartedAt field's value. +func (s *JobExecutionSummary) SetStartedAt(v time.Time) *JobExecutionSummary { + s.StartedAt = &v return s } // SetStatus sets the Status field's value. -func (s *CACertificate) SetStatus(v string) *CACertificate { +func (s *JobExecutionSummary) SetStatus(v string) *JobExecutionSummary { s.Status = &v return s } -// Describes a CA certificate. -type CACertificateDescription struct { +// Contains a summary of information about job executions for a specific job. +type JobExecutionSummaryForJob struct { _ struct{} `type:"structure"` - // Whether the CA certificate configured for auto registration of device certificates. - // Valid values are "ENABLE" and "DISABLE" - AutoRegistrationStatus *string `locationName:"autoRegistrationStatus" type:"string" enum:"AutoRegistrationStatus"` - - // The CA certificate ARN. - CertificateArn *string `locationName:"certificateArn" type:"string"` - - // The CA certificate ID. - CertificateId *string `locationName:"certificateId" min:"64" type:"string"` - - // The CA certificate data, in PEM format. - CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"` + // Contains a subset of information about a job execution. + JobExecutionSummary *JobExecutionSummary `locationName:"jobExecutionSummary" type:"structure"` - // The date the CA certificate was created. - CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` - - // The owner of the CA certificate. - OwnedBy *string `locationName:"ownedBy" type:"string"` - - // The status of a CA certificate. - Status *string `locationName:"status" type:"string" enum:"CACertificateStatus"` + // The ARN of the thing on which the job execution is running. + ThingArn *string `locationName:"thingArn" type:"string"` } // String returns the string representation -func (s CACertificateDescription) String() string { +func (s JobExecutionSummaryForJob) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CACertificateDescription) GoString() string { +func (s JobExecutionSummaryForJob) GoString() string { return s.String() } -// SetAutoRegistrationStatus sets the AutoRegistrationStatus field's value. -func (s *CACertificateDescription) SetAutoRegistrationStatus(v string) *CACertificateDescription { - s.AutoRegistrationStatus = &v +// SetJobExecutionSummary sets the JobExecutionSummary field's value. +func (s *JobExecutionSummaryForJob) SetJobExecutionSummary(v *JobExecutionSummary) *JobExecutionSummaryForJob { + s.JobExecutionSummary = v return s } -// SetCertificateArn sets the CertificateArn field's value. -func (s *CACertificateDescription) SetCertificateArn(v string) *CACertificateDescription { - s.CertificateArn = &v +// SetThingArn sets the ThingArn field's value. +func (s *JobExecutionSummaryForJob) SetThingArn(v string) *JobExecutionSummaryForJob { + s.ThingArn = &v return s } -// SetCertificateId sets the CertificateId field's value. -func (s *CACertificateDescription) SetCertificateId(v string) *CACertificateDescription { - s.CertificateId = &v - return s +// The job execution summary for a thing. +type JobExecutionSummaryForThing struct { + _ struct{} `type:"structure"` + + // Contains a subset of information about a job execution. + JobExecutionSummary *JobExecutionSummary `locationName:"jobExecutionSummary" type:"structure"` + + // The unique identifier you assigned to this job when it was created. + JobId *string `locationName:"jobId" min:"1" type:"string"` } -// SetCertificatePem sets the CertificatePem field's value. -func (s *CACertificateDescription) SetCertificatePem(v string) *CACertificateDescription { - s.CertificatePem = &v - return s +// String returns the string representation +func (s JobExecutionSummaryForThing) String() string { + return awsutil.Prettify(s) } -// SetCreationDate sets the CreationDate field's value. -func (s *CACertificateDescription) SetCreationDate(v time.Time) *CACertificateDescription { - s.CreationDate = &v - return s +// GoString returns the string representation +func (s JobExecutionSummaryForThing) GoString() string { + return s.String() } -// SetOwnedBy sets the OwnedBy field's value. -func (s *CACertificateDescription) SetOwnedBy(v string) *CACertificateDescription { - s.OwnedBy = &v +// SetJobExecutionSummary sets the JobExecutionSummary field's value. +func (s *JobExecutionSummaryForThing) SetJobExecutionSummary(v *JobExecutionSummary) *JobExecutionSummaryForThing { + s.JobExecutionSummary = v return s } -// SetStatus sets the Status field's value. -func (s *CACertificateDescription) SetStatus(v string) *CACertificateDescription { - s.Status = &v +// SetJobId sets the JobId field's value. +func (s *JobExecutionSummaryForThing) SetJobId(v string) *JobExecutionSummaryForThing { + s.JobId = &v return s } -// The input for the CancelCertificateTransfer operation. -type CancelCertificateTransferInput struct { +// Allows you to create a staged rollout of a job. +type JobExecutionsRolloutConfig struct { _ struct{} `type:"structure"` - // The ID of the certificate. - // - // CertificateId is a required field - CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` + // The maximum number of things that will be notified of a pending job, per + // minute. This parameter allows you to create a staged rollout. + MaximumPerMinute *int64 `locationName:"maximumPerMinute" min:"1" type:"integer"` } // String returns the string representation -func (s CancelCertificateTransferInput) String() string { +func (s JobExecutionsRolloutConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CancelCertificateTransferInput) GoString() string { +func (s JobExecutionsRolloutConfig) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CancelCertificateTransferInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CancelCertificateTransferInput"} - if s.CertificateId == nil { - invalidParams.Add(request.NewErrParamRequired("CertificateId")) - } - if s.CertificateId != nil && len(*s.CertificateId) < 64 { - invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) +func (s *JobExecutionsRolloutConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "JobExecutionsRolloutConfig"} + if s.MaximumPerMinute != nil && *s.MaximumPerMinute < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaximumPerMinute", 1)) } if invalidParams.Len() > 0 { @@ -5984,327 +17053,263 @@ func (s *CancelCertificateTransferInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *CancelCertificateTransferInput) SetCertificateId(v string) *CancelCertificateTransferInput { - s.CertificateId = &v +// SetMaximumPerMinute sets the MaximumPerMinute field's value. +func (s *JobExecutionsRolloutConfig) SetMaximumPerMinute(v int64) *JobExecutionsRolloutConfig { + s.MaximumPerMinute = &v return s } -type CancelCertificateTransferOutput struct { +// The job process details. +type JobProcessDetails struct { _ struct{} `type:"structure"` -} -// String returns the string representation -func (s CancelCertificateTransferOutput) String() string { - return awsutil.Prettify(s) -} + // The number of things that cancelled the job. + NumberOfCanceledThings *int64 `locationName:"numberOfCanceledThings" type:"integer"` -// GoString returns the string representation -func (s CancelCertificateTransferOutput) GoString() string { - return s.String() -} + // The number of things that failed executing the job. + NumberOfFailedThings *int64 `locationName:"numberOfFailedThings" type:"integer"` -// Information about a certificate. -type Certificate struct { - _ struct{} `type:"structure"` + // The number of things currently executing the job. + NumberOfInProgressThings *int64 `locationName:"numberOfInProgressThings" type:"integer"` - // The ARN of the certificate. - CertificateArn *string `locationName:"certificateArn" type:"string"` + // The number of things that are awaiting execution of the job. + NumberOfQueuedThings *int64 `locationName:"numberOfQueuedThings" type:"integer"` - // The ID of the certificate. - CertificateId *string `locationName:"certificateId" min:"64" type:"string"` + // The number of things that rejected the job. + NumberOfRejectedThings *int64 `locationName:"numberOfRejectedThings" type:"integer"` - // The date and time the certificate was created. - CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + // The number of things that are no longer scheduled to execute the job because + // they have been deleted or have been removed from the group that was a target + // of the job. + NumberOfRemovedThings *int64 `locationName:"numberOfRemovedThings" type:"integer"` - // The status of the certificate. - // - // The status value REGISTER_INACTIVE is deprecated and should not be used. - Status *string `locationName:"status" type:"string" enum:"CertificateStatus"` + // The number of things which successfully completed the job. + NumberOfSucceededThings *int64 `locationName:"numberOfSucceededThings" type:"integer"` + + // The devices on which the job is executing. + ProcessingTargets []*string `locationName:"processingTargets" type:"list"` } // String returns the string representation -func (s Certificate) String() string { +func (s JobProcessDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s Certificate) GoString() string { +func (s JobProcessDetails) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *Certificate) SetCertificateArn(v string) *Certificate { - s.CertificateArn = &v +// SetNumberOfCanceledThings sets the NumberOfCanceledThings field's value. +func (s *JobProcessDetails) SetNumberOfCanceledThings(v int64) *JobProcessDetails { + s.NumberOfCanceledThings = &v return s } -// SetCertificateId sets the CertificateId field's value. -func (s *Certificate) SetCertificateId(v string) *Certificate { - s.CertificateId = &v +// SetNumberOfFailedThings sets the NumberOfFailedThings field's value. +func (s *JobProcessDetails) SetNumberOfFailedThings(v int64) *JobProcessDetails { + s.NumberOfFailedThings = &v return s } -// SetCreationDate sets the CreationDate field's value. -func (s *Certificate) SetCreationDate(v time.Time) *Certificate { - s.CreationDate = &v +// SetNumberOfInProgressThings sets the NumberOfInProgressThings field's value. +func (s *JobProcessDetails) SetNumberOfInProgressThings(v int64) *JobProcessDetails { + s.NumberOfInProgressThings = &v return s } -// SetStatus sets the Status field's value. -func (s *Certificate) SetStatus(v string) *Certificate { - s.Status = &v +// SetNumberOfQueuedThings sets the NumberOfQueuedThings field's value. +func (s *JobProcessDetails) SetNumberOfQueuedThings(v int64) *JobProcessDetails { + s.NumberOfQueuedThings = &v return s } -// Describes a certificate. -type CertificateDescription struct { - _ struct{} `type:"structure"` +// SetNumberOfRejectedThings sets the NumberOfRejectedThings field's value. +func (s *JobProcessDetails) SetNumberOfRejectedThings(v int64) *JobProcessDetails { + s.NumberOfRejectedThings = &v + return s +} - // The certificate ID of the CA certificate used to sign this certificate. - CaCertificateId *string `locationName:"caCertificateId" min:"64" type:"string"` +// SetNumberOfRemovedThings sets the NumberOfRemovedThings field's value. +func (s *JobProcessDetails) SetNumberOfRemovedThings(v int64) *JobProcessDetails { + s.NumberOfRemovedThings = &v + return s +} - // The ARN of the certificate. - CertificateArn *string `locationName:"certificateArn" type:"string"` +// SetNumberOfSucceededThings sets the NumberOfSucceededThings field's value. +func (s *JobProcessDetails) SetNumberOfSucceededThings(v int64) *JobProcessDetails { + s.NumberOfSucceededThings = &v + return s +} - // The ID of the certificate. - CertificateId *string `locationName:"certificateId" min:"64" type:"string"` +// SetProcessingTargets sets the ProcessingTargets field's value. +func (s *JobProcessDetails) SetProcessingTargets(v []*string) *JobProcessDetails { + s.ProcessingTargets = v + return s +} - // The certificate data, in PEM format. - CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"` +// The job summary. +type JobSummary struct { + _ struct{} `type:"structure"` - // The date and time the certificate was created. - CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + // The time, in milliseconds since the epoch, when the job completed. + CompletedAt *time.Time `locationName:"completedAt" type:"timestamp" timestampFormat:"unix"` - // The date and time the certificate was last modified. - LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` + // The time, in milliseconds since the epoch, when the job was created. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` - // The ID of the AWS account that owns the certificate. - OwnedBy *string `locationName:"ownedBy" type:"string"` + // The job ARN. + JobArn *string `locationName:"jobArn" type:"string"` - // The ID of the AWS account of the previous owner of the certificate. - PreviousOwnedBy *string `locationName:"previousOwnedBy" type:"string"` + // The unique identifier you assigned to this job when it was created. + JobId *string `locationName:"jobId" min:"1" type:"string"` - // The status of the certificate. - Status *string `locationName:"status" type:"string" enum:"CertificateStatus"` + // The time, in milliseconds since the epoch, when the job was last updated. + LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"` - // The transfer data. - TransferData *TransferData `locationName:"transferData" type:"structure"` + // The job summary status. + Status *string `locationName:"status" type:"string" enum:"JobStatus"` + + // Specifies whether the job will continue to run (CONTINUOUS), or will be complete + // after all those things specified as targets have completed the job (SNAPSHOT). + // If continuous, the job may also be run on a thing when a change is detected + // in a target. For example, a job will run on a thing when the thing is added + // to a target group, even after the job was completed by all things originally + // in the group. + TargetSelection *string `locationName:"targetSelection" type:"string" enum:"TargetSelection"` + + // The ID of the thing group. + ThingGroupId *string `locationName:"thingGroupId" min:"1" type:"string"` } // String returns the string representation -func (s CertificateDescription) String() string { +func (s JobSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CertificateDescription) GoString() string { +func (s JobSummary) GoString() string { return s.String() } -// SetCaCertificateId sets the CaCertificateId field's value. -func (s *CertificateDescription) SetCaCertificateId(v string) *CertificateDescription { - s.CaCertificateId = &v - return s -} - -// SetCertificateArn sets the CertificateArn field's value. -func (s *CertificateDescription) SetCertificateArn(v string) *CertificateDescription { - s.CertificateArn = &v - return s -} - -// SetCertificateId sets the CertificateId field's value. -func (s *CertificateDescription) SetCertificateId(v string) *CertificateDescription { - s.CertificateId = &v +// SetCompletedAt sets the CompletedAt field's value. +func (s *JobSummary) SetCompletedAt(v time.Time) *JobSummary { + s.CompletedAt = &v return s } -// SetCertificatePem sets the CertificatePem field's value. -func (s *CertificateDescription) SetCertificatePem(v string) *CertificateDescription { - s.CertificatePem = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *JobSummary) SetCreatedAt(v time.Time) *JobSummary { + s.CreatedAt = &v return s } -// SetCreationDate sets the CreationDate field's value. -func (s *CertificateDescription) SetCreationDate(v time.Time) *CertificateDescription { - s.CreationDate = &v +// SetJobArn sets the JobArn field's value. +func (s *JobSummary) SetJobArn(v string) *JobSummary { + s.JobArn = &v return s } -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *CertificateDescription) SetLastModifiedDate(v time.Time) *CertificateDescription { - s.LastModifiedDate = &v +// SetJobId sets the JobId field's value. +func (s *JobSummary) SetJobId(v string) *JobSummary { + s.JobId = &v return s } -// SetOwnedBy sets the OwnedBy field's value. -func (s *CertificateDescription) SetOwnedBy(v string) *CertificateDescription { - s.OwnedBy = &v +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *JobSummary) SetLastUpdatedAt(v time.Time) *JobSummary { + s.LastUpdatedAt = &v return s } -// SetPreviousOwnedBy sets the PreviousOwnedBy field's value. -func (s *CertificateDescription) SetPreviousOwnedBy(v string) *CertificateDescription { - s.PreviousOwnedBy = &v +// SetStatus sets the Status field's value. +func (s *JobSummary) SetStatus(v string) *JobSummary { + s.Status = &v return s } -// SetStatus sets the Status field's value. -func (s *CertificateDescription) SetStatus(v string) *CertificateDescription { - s.Status = &v +// SetTargetSelection sets the TargetSelection field's value. +func (s *JobSummary) SetTargetSelection(v string) *JobSummary { + s.TargetSelection = &v return s } -// SetTransferData sets the TransferData field's value. -func (s *CertificateDescription) SetTransferData(v *TransferData) *CertificateDescription { - s.TransferData = v +// SetThingGroupId sets the ThingGroupId field's value. +func (s *JobSummary) SetThingGroupId(v string) *JobSummary { + s.ThingGroupId = &v return s } -// Describes an action that updates a CloudWatch alarm. -type CloudwatchAlarmAction struct { +// Describes a key pair. +type KeyPair struct { _ struct{} `type:"structure"` - // The CloudWatch alarm name. - // - // AlarmName is a required field - AlarmName *string `locationName:"alarmName" type:"string" required:"true"` - - // The IAM role that allows access to the CloudWatch alarm. - // - // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` - - // The reason for the alarm change. - // - // StateReason is a required field - StateReason *string `locationName:"stateReason" type:"string" required:"true"` + // The private key. + PrivateKey *string `min:"1" type:"string"` - // The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA. - // - // StateValue is a required field - StateValue *string `locationName:"stateValue" type:"string" required:"true"` + // The public key. + PublicKey *string `min:"1" type:"string"` } // String returns the string representation -func (s CloudwatchAlarmAction) String() string { +func (s KeyPair) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CloudwatchAlarmAction) GoString() string { +func (s KeyPair) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CloudwatchAlarmAction) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CloudwatchAlarmAction"} - if s.AlarmName == nil { - invalidParams.Add(request.NewErrParamRequired("AlarmName")) - } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) - } - if s.StateReason == nil { - invalidParams.Add(request.NewErrParamRequired("StateReason")) - } - if s.StateValue == nil { - invalidParams.Add(request.NewErrParamRequired("StateValue")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAlarmName sets the AlarmName field's value. -func (s *CloudwatchAlarmAction) SetAlarmName(v string) *CloudwatchAlarmAction { - s.AlarmName = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CloudwatchAlarmAction) SetRoleArn(v string) *CloudwatchAlarmAction { - s.RoleArn = &v - return s -} - -// SetStateReason sets the StateReason field's value. -func (s *CloudwatchAlarmAction) SetStateReason(v string) *CloudwatchAlarmAction { - s.StateReason = &v +// SetPrivateKey sets the PrivateKey field's value. +func (s *KeyPair) SetPrivateKey(v string) *KeyPair { + s.PrivateKey = &v return s } -// SetStateValue sets the StateValue field's value. -func (s *CloudwatchAlarmAction) SetStateValue(v string) *CloudwatchAlarmAction { - s.StateValue = &v +// SetPublicKey sets the PublicKey field's value. +func (s *KeyPair) SetPublicKey(v string) *KeyPair { + s.PublicKey = &v return s } -// Describes an action that captures a CloudWatch metric. -type CloudwatchMetricAction struct { +// Describes an action to write data to an Amazon Kinesis stream. +type KinesisAction struct { _ struct{} `type:"structure"` - // The CloudWatch metric name. - // - // MetricName is a required field - MetricName *string `locationName:"metricName" type:"string" required:"true"` - - // The CloudWatch metric namespace name. - // - // MetricNamespace is a required field - MetricNamespace *string `locationName:"metricNamespace" type:"string" required:"true"` - - // An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp). - MetricTimestamp *string `locationName:"metricTimestamp" type:"string"` - - // The metric unit (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit) - // supported by CloudWatch. - // - // MetricUnit is a required field - MetricUnit *string `locationName:"metricUnit" type:"string" required:"true"` - - // The CloudWatch metric value. - // - // MetricValue is a required field - MetricValue *string `locationName:"metricValue" type:"string" required:"true"` + // The partition key. + PartitionKey *string `locationName:"partitionKey" type:"string"` - // The IAM role that allows access to the CloudWatch metric. + // The ARN of the IAM role that grants access to the Amazon Kinesis stream. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + + // The name of the Amazon Kinesis stream. + // + // StreamName is a required field + StreamName *string `locationName:"streamName" type:"string" required:"true"` } // String returns the string representation -func (s CloudwatchMetricAction) String() string { +func (s KinesisAction) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CloudwatchMetricAction) GoString() string { +func (s KinesisAction) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CloudwatchMetricAction) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CloudwatchMetricAction"} - if s.MetricName == nil { - invalidParams.Add(request.NewErrParamRequired("MetricName")) - } - if s.MetricNamespace == nil { - invalidParams.Add(request.NewErrParamRequired("MetricNamespace")) - } - if s.MetricUnit == nil { - invalidParams.Add(request.NewErrParamRequired("MetricUnit")) - } - if s.MetricValue == nil { - invalidParams.Add(request.NewErrParamRequired("MetricValue")) - } +func (s *KinesisAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KinesisAction"} if s.RoleArn == nil { invalidParams.Add(request.NewErrParamRequired("RoleArn")) } + if s.StreamName == nil { + invalidParams.Add(request.NewErrParamRequired("StreamName")) + } if invalidParams.Len() > 0 { return invalidParams @@ -6312,73 +17317,49 @@ func (s *CloudwatchMetricAction) Validate() error { return nil } -// SetMetricName sets the MetricName field's value. -func (s *CloudwatchMetricAction) SetMetricName(v string) *CloudwatchMetricAction { - s.MetricName = &v - return s -} - -// SetMetricNamespace sets the MetricNamespace field's value. -func (s *CloudwatchMetricAction) SetMetricNamespace(v string) *CloudwatchMetricAction { - s.MetricNamespace = &v - return s -} - -// SetMetricTimestamp sets the MetricTimestamp field's value. -func (s *CloudwatchMetricAction) SetMetricTimestamp(v string) *CloudwatchMetricAction { - s.MetricTimestamp = &v - return s -} - -// SetMetricUnit sets the MetricUnit field's value. -func (s *CloudwatchMetricAction) SetMetricUnit(v string) *CloudwatchMetricAction { - s.MetricUnit = &v +// SetPartitionKey sets the PartitionKey field's value. +func (s *KinesisAction) SetPartitionKey(v string) *KinesisAction { + s.PartitionKey = &v return s } -// SetMetricValue sets the MetricValue field's value. -func (s *CloudwatchMetricAction) SetMetricValue(v string) *CloudwatchMetricAction { - s.MetricValue = &v +// SetRoleArn sets the RoleArn field's value. +func (s *KinesisAction) SetRoleArn(v string) *KinesisAction { + s.RoleArn = &v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *CloudwatchMetricAction) SetRoleArn(v string) *CloudwatchMetricAction { - s.RoleArn = &v +// SetStreamName sets the StreamName field's value. +func (s *KinesisAction) SetStreamName(v string) *KinesisAction { + s.StreamName = &v return s } -// The input for the CreateCertificateFromCsr operation. -type CreateCertificateFromCsrInput struct { +// Describes an action to invoke a Lambda function. +type LambdaAction struct { _ struct{} `type:"structure"` - // The certificate signing request (CSR). + // The ARN of the Lambda function. // - // CertificateSigningRequest is a required field - CertificateSigningRequest *string `locationName:"certificateSigningRequest" min:"1" type:"string" required:"true"` - - // Specifies whether the certificate is active. - SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"` + // FunctionArn is a required field + FunctionArn *string `locationName:"functionArn" type:"string" required:"true"` } // String returns the string representation -func (s CreateCertificateFromCsrInput) String() string { +func (s LambdaAction) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateCertificateFromCsrInput) GoString() string { +func (s LambdaAction) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateCertificateFromCsrInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateCertificateFromCsrInput"} - if s.CertificateSigningRequest == nil { - invalidParams.Add(request.NewErrParamRequired("CertificateSigningRequest")) - } - if s.CertificateSigningRequest != nil && len(*s.CertificateSigningRequest) < 1 { - invalidParams.Add(request.NewErrParamMinLen("CertificateSigningRequest", 1)) +func (s *LambdaAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LambdaAction"} + if s.FunctionArn == nil { + invalidParams.Add(request.NewErrParamRequired("FunctionArn")) } if invalidParams.Len() > 0 { @@ -6387,175 +17368,144 @@ func (s *CreateCertificateFromCsrInput) Validate() error { return nil } -// SetCertificateSigningRequest sets the CertificateSigningRequest field's value. -func (s *CreateCertificateFromCsrInput) SetCertificateSigningRequest(v string) *CreateCertificateFromCsrInput { - s.CertificateSigningRequest = &v - return s -} - -// SetSetAsActive sets the SetAsActive field's value. -func (s *CreateCertificateFromCsrInput) SetSetAsActive(v bool) *CreateCertificateFromCsrInput { - s.SetAsActive = &v +// SetFunctionArn sets the FunctionArn field's value. +func (s *LambdaAction) SetFunctionArn(v string) *LambdaAction { + s.FunctionArn = &v return s } -// The output from the CreateCertificateFromCsr operation. -type CreateCertificateFromCsrOutput struct { +type ListAttachedPoliciesInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the certificate. You can use the ARN as - // a principal for policy operations. - CertificateArn *string `locationName:"certificateArn" type:"string"` + // The token to retrieve the next set of results. + Marker *string `location:"querystring" locationName:"marker" type:"string"` - // The ID of the certificate. Certificate management operations only take a - // certificateId. - CertificateId *string `locationName:"certificateId" min:"64" type:"string"` + // The maximum number of results to be returned per request. + PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` - // The certificate data, in PEM format. - CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"` + // When true, recursively list attached policies. + Recursive *bool `location:"querystring" locationName:"recursive" type:"boolean"` + + // The group for which the policies will be listed. + // + // Target is a required field + Target *string `location:"uri" locationName:"target" type:"string" required:"true"` } // String returns the string representation -func (s CreateCertificateFromCsrOutput) String() string { +func (s ListAttachedPoliciesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateCertificateFromCsrOutput) GoString() string { +func (s ListAttachedPoliciesInput) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *CreateCertificateFromCsrOutput) SetCertificateArn(v string) *CreateCertificateFromCsrOutput { - s.CertificateArn = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAttachedPoliciesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAttachedPoliciesInput"} + if s.PageSize != nil && *s.PageSize < 1 { + invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) + } + if s.Target == nil { + invalidParams.Add(request.NewErrParamRequired("Target")) + } -// SetCertificateId sets the CertificateId field's value. -func (s *CreateCertificateFromCsrOutput) SetCertificateId(v string) *CreateCertificateFromCsrOutput { - s.CertificateId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetCertificatePem sets the CertificatePem field's value. -func (s *CreateCertificateFromCsrOutput) SetCertificatePem(v string) *CreateCertificateFromCsrOutput { - s.CertificatePem = &v +// SetMarker sets the Marker field's value. +func (s *ListAttachedPoliciesInput) SetMarker(v string) *ListAttachedPoliciesInput { + s.Marker = &v return s } -// The input for the CreateKeysAndCertificate operation. -type CreateKeysAndCertificateInput struct { - _ struct{} `type:"structure"` - - // Specifies whether the certificate is active. - SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"` -} - -// String returns the string representation -func (s CreateKeysAndCertificateInput) String() string { - return awsutil.Prettify(s) +// SetPageSize sets the PageSize field's value. +func (s *ListAttachedPoliciesInput) SetPageSize(v int64) *ListAttachedPoliciesInput { + s.PageSize = &v + return s } -// GoString returns the string representation -func (s CreateKeysAndCertificateInput) GoString() string { - return s.String() +// SetRecursive sets the Recursive field's value. +func (s *ListAttachedPoliciesInput) SetRecursive(v bool) *ListAttachedPoliciesInput { + s.Recursive = &v + return s } -// SetSetAsActive sets the SetAsActive field's value. -func (s *CreateKeysAndCertificateInput) SetSetAsActive(v bool) *CreateKeysAndCertificateInput { - s.SetAsActive = &v +// SetTarget sets the Target field's value. +func (s *ListAttachedPoliciesInput) SetTarget(v string) *ListAttachedPoliciesInput { + s.Target = &v return s } -// The output of the CreateKeysAndCertificate operation. -type CreateKeysAndCertificateOutput struct { +type ListAttachedPoliciesOutput struct { _ struct{} `type:"structure"` - // The ARN of the certificate. - CertificateArn *string `locationName:"certificateArn" type:"string"` - - // The ID of the certificate. AWS IoT issues a default subject name for the - // certificate (for example, AWS IoT Certificate). - CertificateId *string `locationName:"certificateId" min:"64" type:"string"` - - // The certificate data, in PEM format. - CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"` + // The token to retrieve the next set of results, or ``null`` if there are no + // more results. + NextMarker *string `locationName:"nextMarker" type:"string"` - // The generated key pair. - KeyPair *KeyPair `locationName:"keyPair" type:"structure"` + // The policies. + Policies []*Policy `locationName:"policies" type:"list"` } // String returns the string representation -func (s CreateKeysAndCertificateOutput) String() string { +func (s ListAttachedPoliciesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateKeysAndCertificateOutput) GoString() string { +func (s ListAttachedPoliciesOutput) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *CreateKeysAndCertificateOutput) SetCertificateArn(v string) *CreateKeysAndCertificateOutput { - s.CertificateArn = &v +// SetNextMarker sets the NextMarker field's value. +func (s *ListAttachedPoliciesOutput) SetNextMarker(v string) *ListAttachedPoliciesOutput { + s.NextMarker = &v return s } -// SetCertificateId sets the CertificateId field's value. -func (s *CreateKeysAndCertificateOutput) SetCertificateId(v string) *CreateKeysAndCertificateOutput { - s.CertificateId = &v +// SetPolicies sets the Policies field's value. +func (s *ListAttachedPoliciesOutput) SetPolicies(v []*Policy) *ListAttachedPoliciesOutput { + s.Policies = v return s } -// SetCertificatePem sets the CertificatePem field's value. -func (s *CreateKeysAndCertificateOutput) SetCertificatePem(v string) *CreateKeysAndCertificateOutput { - s.CertificatePem = &v - return s -} +type ListAuthorizersInput struct { + _ struct{} `type:"structure"` -// SetKeyPair sets the KeyPair field's value. -func (s *CreateKeysAndCertificateOutput) SetKeyPair(v *KeyPair) *CreateKeysAndCertificateOutput { - s.KeyPair = v - return s -} + // Return the list of authorizers in ascending alphabetical order. + AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` -// The input for the CreatePolicy operation. -type CreatePolicyInput struct { - _ struct{} `type:"structure"` + // A marker used to get the next set of results. + Marker *string `location:"querystring" locationName:"marker" type:"string"` - // The JSON document that describes the policy. policyDocument must have a minimum - // length of 1, with a maximum length of 2048, excluding whitespace. - // - // PolicyDocument is a required field - PolicyDocument *string `locationName:"policyDocument" type:"string" required:"true"` + // The maximum number of results to return at one time. + PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` - // The policy name. - // - // PolicyName is a required field - PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + // The status of the list authorizers request. + Status *string `location:"querystring" locationName:"status" type:"string" enum:"AuthorizerStatus"` } // String returns the string representation -func (s CreatePolicyInput) String() string { +func (s ListAuthorizersInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreatePolicyInput) GoString() string { +func (s ListAuthorizersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreatePolicyInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreatePolicyInput"} - if s.PolicyDocument == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyDocument")) - } - if s.PolicyName == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyName")) - } - if s.PolicyName != nil && len(*s.PolicyName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) +func (s *ListAuthorizersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAuthorizersInput"} + if s.PageSize != nil && *s.PageSize < 1 { + invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) } if invalidParams.Len() > 0 { @@ -6564,111 +17514,91 @@ func (s *CreatePolicyInput) Validate() error { return nil } -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *CreatePolicyInput) SetPolicyDocument(v string) *CreatePolicyInput { - s.PolicyDocument = &v +// SetAscendingOrder sets the AscendingOrder field's value. +func (s *ListAuthorizersInput) SetAscendingOrder(v bool) *ListAuthorizersInput { + s.AscendingOrder = &v return s } -// SetPolicyName sets the PolicyName field's value. -func (s *CreatePolicyInput) SetPolicyName(v string) *CreatePolicyInput { - s.PolicyName = &v +// SetMarker sets the Marker field's value. +func (s *ListAuthorizersInput) SetMarker(v string) *ListAuthorizersInput { + s.Marker = &v + return s +} + +// SetPageSize sets the PageSize field's value. +func (s *ListAuthorizersInput) SetPageSize(v int64) *ListAuthorizersInput { + s.PageSize = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListAuthorizersInput) SetStatus(v string) *ListAuthorizersInput { + s.Status = &v return s } -// The output from the CreatePolicy operation. -type CreatePolicyOutput struct { +type ListAuthorizersOutput struct { _ struct{} `type:"structure"` - // The policy ARN. - PolicyArn *string `locationName:"policyArn" type:"string"` - - // The JSON document that describes the policy. - PolicyDocument *string `locationName:"policyDocument" type:"string"` - - // The policy name. - PolicyName *string `locationName:"policyName" min:"1" type:"string"` + // The authorizers. + Authorizers []*AuthorizerSummary `locationName:"authorizers" type:"list"` - // The policy version ID. - PolicyVersionId *string `locationName:"policyVersionId" type:"string"` + // A marker used to get the next set of results. + NextMarker *string `locationName:"nextMarker" type:"string"` } // String returns the string representation -func (s CreatePolicyOutput) String() string { +func (s ListAuthorizersOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreatePolicyOutput) GoString() string { +func (s ListAuthorizersOutput) GoString() string { return s.String() } -// SetPolicyArn sets the PolicyArn field's value. -func (s *CreatePolicyOutput) SetPolicyArn(v string) *CreatePolicyOutput { - s.PolicyArn = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *CreatePolicyOutput) SetPolicyDocument(v string) *CreatePolicyOutput { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *CreatePolicyOutput) SetPolicyName(v string) *CreatePolicyOutput { - s.PolicyName = &v +// SetAuthorizers sets the Authorizers field's value. +func (s *ListAuthorizersOutput) SetAuthorizers(v []*AuthorizerSummary) *ListAuthorizersOutput { + s.Authorizers = v return s } -// SetPolicyVersionId sets the PolicyVersionId field's value. -func (s *CreatePolicyOutput) SetPolicyVersionId(v string) *CreatePolicyOutput { - s.PolicyVersionId = &v +// SetNextMarker sets the NextMarker field's value. +func (s *ListAuthorizersOutput) SetNextMarker(v string) *ListAuthorizersOutput { + s.NextMarker = &v return s } -// The input for the CreatePolicyVersion operation. -type CreatePolicyVersionInput struct { +// Input for the ListCACertificates operation. +type ListCACertificatesInput struct { _ struct{} `type:"structure"` - // The JSON document that describes the policy. Minimum length of 1. Maximum - // length of 2048, excluding whitespaces - // - // PolicyDocument is a required field - PolicyDocument *string `locationName:"policyDocument" type:"string" required:"true"` + // Determines the order of the results. + AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` - // The policy name. - // - // PolicyName is a required field - PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + // The marker for the next set of results. + Marker *string `location:"querystring" locationName:"marker" type:"string"` - // Specifies whether the policy version is set as the default. When this parameter - // is true, the new policy version becomes the operative version (that is, the - // version that is in effect for the certificates to which the policy is attached). - SetAsDefault *bool `location:"querystring" locationName:"setAsDefault" type:"boolean"` + // The result page size. + PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` } // String returns the string representation -func (s CreatePolicyVersionInput) String() string { +func (s ListCACertificatesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreatePolicyVersionInput) GoString() string { +func (s ListCACertificatesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreatePolicyVersionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreatePolicyVersionInput"} - if s.PolicyDocument == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyDocument")) - } - if s.PolicyName == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyName")) - } - if s.PolicyName != nil && len(*s.PolicyName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) +func (s *ListCACertificatesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListCACertificatesInput"} + if s.PageSize != nil && *s.PageSize < 1 { + invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) } if invalidParams.Len() > 0 { @@ -6677,115 +17607,99 @@ func (s *CreatePolicyVersionInput) Validate() error { return nil } -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *CreatePolicyVersionInput) SetPolicyDocument(v string) *CreatePolicyVersionInput { - s.PolicyDocument = &v +// SetAscendingOrder sets the AscendingOrder field's value. +func (s *ListCACertificatesInput) SetAscendingOrder(v bool) *ListCACertificatesInput { + s.AscendingOrder = &v return s } -// SetPolicyName sets the PolicyName field's value. -func (s *CreatePolicyVersionInput) SetPolicyName(v string) *CreatePolicyVersionInput { - s.PolicyName = &v +// SetMarker sets the Marker field's value. +func (s *ListCACertificatesInput) SetMarker(v string) *ListCACertificatesInput { + s.Marker = &v return s } -// SetSetAsDefault sets the SetAsDefault field's value. -func (s *CreatePolicyVersionInput) SetSetAsDefault(v bool) *CreatePolicyVersionInput { - s.SetAsDefault = &v +// SetPageSize sets the PageSize field's value. +func (s *ListCACertificatesInput) SetPageSize(v int64) *ListCACertificatesInput { + s.PageSize = &v return s } -// The output of the CreatePolicyVersion operation. -type CreatePolicyVersionOutput struct { +// The output from the ListCACertificates operation. +type ListCACertificatesOutput struct { _ struct{} `type:"structure"` - // Specifies whether the policy version is the default. - IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"` - - // The policy ARN. - PolicyArn *string `locationName:"policyArn" type:"string"` - - // The JSON document that describes the policy. - PolicyDocument *string `locationName:"policyDocument" type:"string"` + // The CA certificates registered in your AWS account. + Certificates []*CACertificate `locationName:"certificates" type:"list"` - // The policy version ID. - PolicyVersionId *string `locationName:"policyVersionId" type:"string"` + // The current position within the list of CA certificates. + NextMarker *string `locationName:"nextMarker" type:"string"` } // String returns the string representation -func (s CreatePolicyVersionOutput) String() string { +func (s ListCACertificatesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreatePolicyVersionOutput) GoString() string { +func (s ListCACertificatesOutput) GoString() string { return s.String() } -// SetIsDefaultVersion sets the IsDefaultVersion field's value. -func (s *CreatePolicyVersionOutput) SetIsDefaultVersion(v bool) *CreatePolicyVersionOutput { - s.IsDefaultVersion = &v - return s -} - -// SetPolicyArn sets the PolicyArn field's value. -func (s *CreatePolicyVersionOutput) SetPolicyArn(v string) *CreatePolicyVersionOutput { - s.PolicyArn = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *CreatePolicyVersionOutput) SetPolicyDocument(v string) *CreatePolicyVersionOutput { - s.PolicyDocument = &v +// SetCertificates sets the Certificates field's value. +func (s *ListCACertificatesOutput) SetCertificates(v []*CACertificate) *ListCACertificatesOutput { + s.Certificates = v return s } -// SetPolicyVersionId sets the PolicyVersionId field's value. -func (s *CreatePolicyVersionOutput) SetPolicyVersionId(v string) *CreatePolicyVersionOutput { - s.PolicyVersionId = &v +// SetNextMarker sets the NextMarker field's value. +func (s *ListCACertificatesOutput) SetNextMarker(v string) *ListCACertificatesOutput { + s.NextMarker = &v return s } -// The input for the CreateThing operation. -type CreateThingInput struct { +// The input to the ListCertificatesByCA operation. +type ListCertificatesByCAInput struct { _ struct{} `type:"structure"` - // The attribute payload, which consists of up to three name/value pairs in - // a JSON document. For example: - // - // {\"attributes\":{\"string1\":\"string2\"}} - AttributePayload *AttributePayload `locationName:"attributePayload" type:"structure"` + // Specifies the order for results. If True, the results are returned in ascending + // order, based on the creation date. + AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` - // The name of the thing to create. + // The ID of the CA certificate. This operation will list all registered device + // certificate that were signed by this CA certificate. // - // ThingName is a required field - ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` + // CaCertificateId is a required field + CaCertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` - // The name of the thing type associated with the new thing. - ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` + // The marker for the next set of results. + Marker *string `location:"querystring" locationName:"marker" type:"string"` + + // The result page size. + PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` } // String returns the string representation -func (s CreateThingInput) String() string { +func (s ListCertificatesByCAInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateThingInput) GoString() string { +func (s ListCertificatesByCAInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateThingInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateThingInput"} - if s.ThingName == nil { - invalidParams.Add(request.NewErrParamRequired("ThingName")) +func (s *ListCertificatesByCAInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListCertificatesByCAInput"} + if s.CaCertificateId == nil { + invalidParams.Add(request.NewErrParamRequired("CaCertificateId")) } - if s.ThingName != nil && len(*s.ThingName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) + if s.CaCertificateId != nil && len(*s.CaCertificateId) < 64 { + invalidParams.Add(request.NewErrParamMinLen("CaCertificateId", 64)) } - if s.ThingTypeName != nil && len(*s.ThingTypeName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThingTypeName", 1)) + if s.PageSize != nil && *s.PageSize < 1 { + invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) } if invalidParams.Len() > 0 { @@ -6794,90 +17708,94 @@ func (s *CreateThingInput) Validate() error { return nil } -// SetAttributePayload sets the AttributePayload field's value. -func (s *CreateThingInput) SetAttributePayload(v *AttributePayload) *CreateThingInput { - s.AttributePayload = v +// SetAscendingOrder sets the AscendingOrder field's value. +func (s *ListCertificatesByCAInput) SetAscendingOrder(v bool) *ListCertificatesByCAInput { + s.AscendingOrder = &v return s } -// SetThingName sets the ThingName field's value. -func (s *CreateThingInput) SetThingName(v string) *CreateThingInput { - s.ThingName = &v +// SetCaCertificateId sets the CaCertificateId field's value. +func (s *ListCertificatesByCAInput) SetCaCertificateId(v string) *ListCertificatesByCAInput { + s.CaCertificateId = &v return s } -// SetThingTypeName sets the ThingTypeName field's value. -func (s *CreateThingInput) SetThingTypeName(v string) *CreateThingInput { - s.ThingTypeName = &v +// SetMarker sets the Marker field's value. +func (s *ListCertificatesByCAInput) SetMarker(v string) *ListCertificatesByCAInput { + s.Marker = &v return s } -// The output of the CreateThing operation. -type CreateThingOutput struct { +// SetPageSize sets the PageSize field's value. +func (s *ListCertificatesByCAInput) SetPageSize(v int64) *ListCertificatesByCAInput { + s.PageSize = &v + return s +} + +// The output of the ListCertificatesByCA operation. +type ListCertificatesByCAOutput struct { _ struct{} `type:"structure"` - // The ARN of the new thing. - ThingArn *string `locationName:"thingArn" type:"string"` + // The device certificates signed by the specified CA certificate. + Certificates []*Certificate `locationName:"certificates" type:"list"` - // The name of the new thing. - ThingName *string `locationName:"thingName" min:"1" type:"string"` + // The marker for the next set of results, or null if there are no additional + // results. + NextMarker *string `locationName:"nextMarker" type:"string"` } // String returns the string representation -func (s CreateThingOutput) String() string { +func (s ListCertificatesByCAOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateThingOutput) GoString() string { +func (s ListCertificatesByCAOutput) GoString() string { return s.String() } -// SetThingArn sets the ThingArn field's value. -func (s *CreateThingOutput) SetThingArn(v string) *CreateThingOutput { - s.ThingArn = &v +// SetCertificates sets the Certificates field's value. +func (s *ListCertificatesByCAOutput) SetCertificates(v []*Certificate) *ListCertificatesByCAOutput { + s.Certificates = v return s } -// SetThingName sets the ThingName field's value. -func (s *CreateThingOutput) SetThingName(v string) *CreateThingOutput { - s.ThingName = &v +// SetNextMarker sets the NextMarker field's value. +func (s *ListCertificatesByCAOutput) SetNextMarker(v string) *ListCertificatesByCAOutput { + s.NextMarker = &v return s } -// The input for the CreateThingType operation. -type CreateThingTypeInput struct { +// The input for the ListCertificates operation. +type ListCertificatesInput struct { _ struct{} `type:"structure"` - // The name of the thing type. - // - // ThingTypeName is a required field - ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` + // Specifies the order for results. If True, the results are returned in ascending + // order, based on the creation date. + AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` - // The ThingTypeProperties for the thing type to create. It contains information - // about the new thing type including a description, and a list of searchable - // thing attribute names. - ThingTypeProperties *ThingTypeProperties `locationName:"thingTypeProperties" type:"structure"` + // The marker for the next set of results. + Marker *string `location:"querystring" locationName:"marker" type:"string"` + + // The result page size. + PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` } // String returns the string representation -func (s CreateThingTypeInput) String() string { +func (s ListCertificatesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateThingTypeInput) GoString() string { +func (s ListCertificatesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateThingTypeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateThingTypeInput"} - if s.ThingTypeName == nil { - invalidParams.Add(request.NewErrParamRequired("ThingTypeName")) - } - if s.ThingTypeName != nil && len(*s.ThingTypeName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThingTypeName", 1)) +func (s *ListCertificatesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListCertificatesInput"} + if s.PageSize != nil && *s.PageSize < 1 { + invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) } if invalidParams.Len() > 0 { @@ -6886,92 +17804,84 @@ func (s *CreateThingTypeInput) Validate() error { return nil } -// SetThingTypeName sets the ThingTypeName field's value. -func (s *CreateThingTypeInput) SetThingTypeName(v string) *CreateThingTypeInput { - s.ThingTypeName = &v +// SetAscendingOrder sets the AscendingOrder field's value. +func (s *ListCertificatesInput) SetAscendingOrder(v bool) *ListCertificatesInput { + s.AscendingOrder = &v return s } -// SetThingTypeProperties sets the ThingTypeProperties field's value. -func (s *CreateThingTypeInput) SetThingTypeProperties(v *ThingTypeProperties) *CreateThingTypeInput { - s.ThingTypeProperties = v +// SetMarker sets the Marker field's value. +func (s *ListCertificatesInput) SetMarker(v string) *ListCertificatesInput { + s.Marker = &v return s } -// The output of the CreateThingType operation. -type CreateThingTypeOutput struct { +// SetPageSize sets the PageSize field's value. +func (s *ListCertificatesInput) SetPageSize(v int64) *ListCertificatesInput { + s.PageSize = &v + return s +} + +// The output of the ListCertificates operation. +type ListCertificatesOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the thing type. - ThingTypeArn *string `locationName:"thingTypeArn" type:"string"` + // The descriptions of the certificates. + Certificates []*Certificate `locationName:"certificates" type:"list"` - // The name of the thing type. - ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` + // The marker for the next set of results, or null if there are no additional + // results. + NextMarker *string `locationName:"nextMarker" type:"string"` } // String returns the string representation -func (s CreateThingTypeOutput) String() string { +func (s ListCertificatesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateThingTypeOutput) GoString() string { +func (s ListCertificatesOutput) GoString() string { return s.String() } -// SetThingTypeArn sets the ThingTypeArn field's value. -func (s *CreateThingTypeOutput) SetThingTypeArn(v string) *CreateThingTypeOutput { - s.ThingTypeArn = &v +// SetCertificates sets the Certificates field's value. +func (s *ListCertificatesOutput) SetCertificates(v []*Certificate) *ListCertificatesOutput { + s.Certificates = v return s } -// SetThingTypeName sets the ThingTypeName field's value. -func (s *CreateThingTypeOutput) SetThingTypeName(v string) *CreateThingTypeOutput { - s.ThingTypeName = &v +// SetNextMarker sets the NextMarker field's value. +func (s *ListCertificatesOutput) SetNextMarker(v string) *ListCertificatesOutput { + s.NextMarker = &v return s } -// The input for the CreateTopicRule operation. -type CreateTopicRuleInput struct { - _ struct{} `type:"structure" payload:"TopicRulePayload"` +type ListIndicesInput struct { + _ struct{} `type:"structure"` - // The name of the rule. - // - // RuleName is a required field - RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` + // The maximum number of results to return at one time. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // The rule payload. - // - // TopicRulePayload is a required field - TopicRulePayload *TopicRulePayload `locationName:"topicRulePayload" type:"structure" required:"true"` + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation -func (s CreateTopicRuleInput) String() string { +func (s ListIndicesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateTopicRuleInput) GoString() string { +func (s ListIndicesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateTopicRuleInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateTopicRuleInput"} - if s.RuleName == nil { - invalidParams.Add(request.NewErrParamRequired("RuleName")) - } - if s.RuleName != nil && len(*s.RuleName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RuleName", 1)) - } - if s.TopicRulePayload == nil { - invalidParams.Add(request.NewErrParamRequired("TopicRulePayload")) - } - if s.TopicRulePayload != nil { - if err := s.TopicRulePayload.Validate(); err != nil { - invalidParams.AddNested("TopicRulePayload", err.(request.ErrInvalidParams)) - } +func (s *ListIndicesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListIndicesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { @@ -6980,60 +17890,90 @@ func (s *CreateTopicRuleInput) Validate() error { return nil } -// SetRuleName sets the RuleName field's value. -func (s *CreateTopicRuleInput) SetRuleName(v string) *CreateTopicRuleInput { - s.RuleName = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListIndicesInput) SetMaxResults(v int64) *ListIndicesInput { + s.MaxResults = &v return s } -// SetTopicRulePayload sets the TopicRulePayload field's value. -func (s *CreateTopicRuleInput) SetTopicRulePayload(v *TopicRulePayload) *CreateTopicRuleInput { - s.TopicRulePayload = v +// SetNextToken sets the NextToken field's value. +func (s *ListIndicesInput) SetNextToken(v string) *ListIndicesInput { + s.NextToken = &v return s } -type CreateTopicRuleOutput struct { +type ListIndicesOutput struct { _ struct{} `type:"structure"` + + // The index names. + IndexNames []*string `locationName:"indexNames" type:"list"` + + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation -func (s CreateTopicRuleOutput) String() string { +func (s ListIndicesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateTopicRuleOutput) GoString() string { +func (s ListIndicesOutput) GoString() string { return s.String() } -// Input for the DeleteCACertificate operation. -type DeleteCACertificateInput struct { +// SetIndexNames sets the IndexNames field's value. +func (s *ListIndicesOutput) SetIndexNames(v []*string) *ListIndicesOutput { + s.IndexNames = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListIndicesOutput) SetNextToken(v string) *ListIndicesOutput { + s.NextToken = &v + return s +} + +type ListJobExecutionsForJobInput struct { _ struct{} `type:"structure"` - // The ID of the certificate to delete. + // The unique identifier you assigned to this job when it was created. // - // CertificateId is a required field - CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` + // JobId is a required field + JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` + + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token to retrieve the next set of results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The status of the job. + Status *string `location:"querystring" locationName:"status" type:"string" enum:"JobExecutionStatus"` } // String returns the string representation -func (s DeleteCACertificateInput) String() string { +func (s ListJobExecutionsForJobInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteCACertificateInput) GoString() string { +func (s ListJobExecutionsForJobInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteCACertificateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteCACertificateInput"} - if s.CertificateId == nil { - invalidParams.Add(request.NewErrParamRequired("CertificateId")) +func (s *ListJobExecutionsForJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListJobExecutionsForJobInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) } - if s.CertificateId != nil && len(*s.CertificateId) < 64 { - invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { @@ -7042,111 +17982,103 @@ func (s *DeleteCACertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *DeleteCACertificateInput) SetCertificateId(v string) *DeleteCACertificateInput { - s.CertificateId = &v +// SetJobId sets the JobId field's value. +func (s *ListJobExecutionsForJobInput) SetJobId(v string) *ListJobExecutionsForJobInput { + s.JobId = &v return s } -// The output for the DeleteCACertificate operation. -type DeleteCACertificateOutput struct { - _ struct{} `type:"structure"` +// SetMaxResults sets the MaxResults field's value. +func (s *ListJobExecutionsForJobInput) SetMaxResults(v int64) *ListJobExecutionsForJobInput { + s.MaxResults = &v + return s } -// String returns the string representation -func (s DeleteCACertificateOutput) String() string { - return awsutil.Prettify(s) +// SetNextToken sets the NextToken field's value. +func (s *ListJobExecutionsForJobInput) SetNextToken(v string) *ListJobExecutionsForJobInput { + s.NextToken = &v + return s } -// GoString returns the string representation -func (s DeleteCACertificateOutput) GoString() string { - return s.String() +// SetStatus sets the Status field's value. +func (s *ListJobExecutionsForJobInput) SetStatus(v string) *ListJobExecutionsForJobInput { + s.Status = &v + return s } -// The input for the DeleteCertificate operation. -type DeleteCertificateInput struct { +type ListJobExecutionsForJobOutput struct { _ struct{} `type:"structure"` - // The ID of the certificate. - // - // CertificateId is a required field - CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` + // A list of job execution summaries. + ExecutionSummaries []*JobExecutionSummaryForJob `locationName:"executionSummaries" type:"list"` + + // The token for the next set of results, or null if there are no additional + // results. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation -func (s DeleteCertificateInput) String() string { +func (s ListJobExecutionsForJobOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteCertificateInput) GoString() string { +func (s ListJobExecutionsForJobOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteCertificateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteCertificateInput"} - if s.CertificateId == nil { - invalidParams.Add(request.NewErrParamRequired("CertificateId")) - } - if s.CertificateId != nil && len(*s.CertificateId) < 64 { - invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetExecutionSummaries sets the ExecutionSummaries field's value. +func (s *ListJobExecutionsForJobOutput) SetExecutionSummaries(v []*JobExecutionSummaryForJob) *ListJobExecutionsForJobOutput { + s.ExecutionSummaries = v + return s } -// SetCertificateId sets the CertificateId field's value. -func (s *DeleteCertificateInput) SetCertificateId(v string) *DeleteCertificateInput { - s.CertificateId = &v +// SetNextToken sets the NextToken field's value. +func (s *ListJobExecutionsForJobOutput) SetNextToken(v string) *ListJobExecutionsForJobOutput { + s.NextToken = &v return s } -type DeleteCertificateOutput struct { +type ListJobExecutionsForThingInput struct { _ struct{} `type:"structure"` -} -// String returns the string representation -func (s DeleteCertificateOutput) String() string { - return awsutil.Prettify(s) -} + // The maximum number of results to be returned per request. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` -// GoString returns the string representation -func (s DeleteCertificateOutput) GoString() string { - return s.String() -} + // The token to retrieve the next set of results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` -// The input for the DeletePolicy operation. -type DeletePolicyInput struct { - _ struct{} `type:"structure"` + // An optional filter that lets you search for jobs that have the specified + // status. + Status *string `location:"querystring" locationName:"status" type:"string" enum:"JobExecutionStatus"` - // The name of the policy to delete. + // The thing name. // - // PolicyName is a required field - PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + // ThingName is a required field + ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DeletePolicyInput) String() string { +func (s ListJobExecutionsForThingInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeletePolicyInput) GoString() string { +func (s ListJobExecutionsForThingInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeletePolicyInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeletePolicyInput"} - if s.PolicyName == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyName")) +func (s *ListJobExecutionsForThingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListJobExecutionsForThingInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.PolicyName != nil && len(*s.PolicyName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + if s.ThingName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingName")) + } + if s.ThingName != nil && len(*s.ThingName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) } if invalidParams.Len() > 0 { @@ -7155,62 +18087,112 @@ func (s *DeletePolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *DeletePolicyInput) SetPolicyName(v string) *DeletePolicyInput { - s.PolicyName = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListJobExecutionsForThingInput) SetMaxResults(v int64) *ListJobExecutionsForThingInput { + s.MaxResults = &v return s } -type DeletePolicyOutput struct { +// SetNextToken sets the NextToken field's value. +func (s *ListJobExecutionsForThingInput) SetNextToken(v string) *ListJobExecutionsForThingInput { + s.NextToken = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListJobExecutionsForThingInput) SetStatus(v string) *ListJobExecutionsForThingInput { + s.Status = &v + return s +} + +// SetThingName sets the ThingName field's value. +func (s *ListJobExecutionsForThingInput) SetThingName(v string) *ListJobExecutionsForThingInput { + s.ThingName = &v + return s +} + +type ListJobExecutionsForThingOutput struct { _ struct{} `type:"structure"` + + // A list of job execution summaries. + ExecutionSummaries []*JobExecutionSummaryForThing `locationName:"executionSummaries" type:"list"` + + // The token for the next set of results, or null if there are no additional + // results. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation -func (s DeletePolicyOutput) String() string { +func (s ListJobExecutionsForThingOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeletePolicyOutput) GoString() string { +func (s ListJobExecutionsForThingOutput) GoString() string { return s.String() } -// The input for the DeletePolicyVersion operation. -type DeletePolicyVersionInput struct { +// SetExecutionSummaries sets the ExecutionSummaries field's value. +func (s *ListJobExecutionsForThingOutput) SetExecutionSummaries(v []*JobExecutionSummaryForThing) *ListJobExecutionsForThingOutput { + s.ExecutionSummaries = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListJobExecutionsForThingOutput) SetNextToken(v string) *ListJobExecutionsForThingOutput { + s.NextToken = &v + return s +} + +type ListJobsInput struct { _ struct{} `type:"structure"` - // The name of the policy. - // - // PolicyName is a required field - PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + // The maximum number of results to return per request. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // The policy version ID. - // - // PolicyVersionId is a required field - PolicyVersionId *string `location:"uri" locationName:"policyVersionId" type:"string" required:"true"` + // The token to retrieve the next set of results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // An optional filter that lets you search for jobs that have the specified + // status. + Status *string `location:"querystring" locationName:"status" type:"string" enum:"JobStatus"` + + // Specifies whether the job will continue to run (CONTINUOUS), or will be complete + // after all those things specified as targets have completed the job (SNAPSHOT). + // If continuous, the job may also be run on a thing when a change is detected + // in a target. For example, a job will run on a thing when the thing is added + // to a target group, even after the job was completed by all things originally + // in the group. + TargetSelection *string `location:"querystring" locationName:"targetSelection" type:"string" enum:"TargetSelection"` + + // A filter that limits the returned jobs to those for the specified group. + ThingGroupId *string `location:"querystring" locationName:"thingGroupId" min:"1" type:"string"` + + // A filter that limits the returned jobs to those for the specified group. + ThingGroupName *string `location:"querystring" locationName:"thingGroupName" min:"1" type:"string"` } // String returns the string representation -func (s DeletePolicyVersionInput) String() string { +func (s ListJobsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeletePolicyVersionInput) GoString() string { +func (s ListJobsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeletePolicyVersionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeletePolicyVersionInput"} - if s.PolicyName == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyName")) +func (s *ListJobsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListJobsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.PolicyName != nil && len(*s.PolicyName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + if s.ThingGroupId != nil && len(*s.ThingGroupId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingGroupId", 1)) } - if s.PolicyVersionId == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyVersionId")) + if s.ThingGroupName != nil && len(*s.ThingGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingGroupName", 1)) } if invalidParams.Len() > 0 { @@ -7219,95 +18201,105 @@ func (s *DeletePolicyVersionInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *DeletePolicyVersionInput) SetPolicyName(v string) *DeletePolicyVersionInput { - s.PolicyName = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput { + s.MaxResults = &v return s } -// SetPolicyVersionId sets the PolicyVersionId field's value. -func (s *DeletePolicyVersionInput) SetPolicyVersionId(v string) *DeletePolicyVersionInput { - s.PolicyVersionId = &v +// SetNextToken sets the NextToken field's value. +func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput { + s.NextToken = &v return s } -type DeletePolicyVersionOutput struct { - _ struct{} `type:"structure"` +// SetStatus sets the Status field's value. +func (s *ListJobsInput) SetStatus(v string) *ListJobsInput { + s.Status = &v + return s } -// String returns the string representation -func (s DeletePolicyVersionOutput) String() string { - return awsutil.Prettify(s) +// SetTargetSelection sets the TargetSelection field's value. +func (s *ListJobsInput) SetTargetSelection(v string) *ListJobsInput { + s.TargetSelection = &v + return s } -// GoString returns the string representation -func (s DeletePolicyVersionOutput) GoString() string { - return s.String() +// SetThingGroupId sets the ThingGroupId field's value. +func (s *ListJobsInput) SetThingGroupId(v string) *ListJobsInput { + s.ThingGroupId = &v + return s } -// The input for the DeleteRegistrationCode operation. -type DeleteRegistrationCodeInput struct { +// SetThingGroupName sets the ThingGroupName field's value. +func (s *ListJobsInput) SetThingGroupName(v string) *ListJobsInput { + s.ThingGroupName = &v + return s +} + +type ListJobsOutput struct { _ struct{} `type:"structure"` + + // A list of jobs. + Jobs []*JobSummary `locationName:"jobs" type:"list"` + + // The token for the next set of results, or null if there are no additional + // results. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation -func (s DeleteRegistrationCodeInput) String() string { +func (s ListJobsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteRegistrationCodeInput) GoString() string { +func (s ListJobsOutput) GoString() string { return s.String() } -// The output for the DeleteRegistrationCode operation. -type DeleteRegistrationCodeOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation -func (s DeleteRegistrationCodeOutput) String() string { - return awsutil.Prettify(s) +// SetJobs sets the Jobs field's value. +func (s *ListJobsOutput) SetJobs(v []*JobSummary) *ListJobsOutput { + s.Jobs = v + return s } -// GoString returns the string representation -func (s DeleteRegistrationCodeOutput) GoString() string { - return s.String() +// SetNextToken sets the NextToken field's value. +func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput { + s.NextToken = &v + return s } -// The input for the DeleteThing operation. -type DeleteThingInput struct { +// The input to the ListOutgoingCertificates operation. +type ListOutgoingCertificatesInput struct { _ struct{} `type:"structure"` - // The expected version of the thing record in the registry. If the version - // of the record in the registry does not match the expected version specified - // in the request, the DeleteThing request is rejected with a VersionConflictException. - ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"` + // Specifies the order for results. If True, the results are returned in ascending + // order, based on the creation date. + AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` - // The name of the thing to delete. - // - // ThingName is a required field - ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` + // The marker for the next set of results. + Marker *string `location:"querystring" locationName:"marker" type:"string"` + + // The result page size. + PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` } // String returns the string representation -func (s DeleteThingInput) String() string { +func (s ListOutgoingCertificatesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteThingInput) GoString() string { +func (s ListOutgoingCertificatesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteThingInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteThingInput"} - if s.ThingName == nil { - invalidParams.Add(request.NewErrParamRequired("ThingName")) - } - if s.ThingName != nil && len(*s.ThingName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) +func (s *ListOutgoingCertificatesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListOutgoingCertificatesInput"} + if s.PageSize != nil && *s.PageSize < 1 { + invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) } if invalidParams.Len() > 0 { @@ -7316,61 +18308,87 @@ func (s *DeleteThingInput) Validate() error { return nil } -// SetExpectedVersion sets the ExpectedVersion field's value. -func (s *DeleteThingInput) SetExpectedVersion(v int64) *DeleteThingInput { - s.ExpectedVersion = &v +// SetAscendingOrder sets the AscendingOrder field's value. +func (s *ListOutgoingCertificatesInput) SetAscendingOrder(v bool) *ListOutgoingCertificatesInput { + s.AscendingOrder = &v return s } -// SetThingName sets the ThingName field's value. -func (s *DeleteThingInput) SetThingName(v string) *DeleteThingInput { - s.ThingName = &v +// SetMarker sets the Marker field's value. +func (s *ListOutgoingCertificatesInput) SetMarker(v string) *ListOutgoingCertificatesInput { + s.Marker = &v return s } -// The output of the DeleteThing operation. -type DeleteThingOutput struct { +// SetPageSize sets the PageSize field's value. +func (s *ListOutgoingCertificatesInput) SetPageSize(v int64) *ListOutgoingCertificatesInput { + s.PageSize = &v + return s +} + +// The output from the ListOutgoingCertificates operation. +type ListOutgoingCertificatesOutput struct { _ struct{} `type:"structure"` + + // The marker for the next set of results. + NextMarker *string `locationName:"nextMarker" type:"string"` + + // The certificates that are being transferred but not yet accepted. + OutgoingCertificates []*OutgoingCertificate `locationName:"outgoingCertificates" type:"list"` } // String returns the string representation -func (s DeleteThingOutput) String() string { +func (s ListOutgoingCertificatesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteThingOutput) GoString() string { +func (s ListOutgoingCertificatesOutput) GoString() string { return s.String() } -// The input for the DeleteThingType operation. -type DeleteThingTypeInput struct { +// SetNextMarker sets the NextMarker field's value. +func (s *ListOutgoingCertificatesOutput) SetNextMarker(v string) *ListOutgoingCertificatesOutput { + s.NextMarker = &v + return s +} + +// SetOutgoingCertificates sets the OutgoingCertificates field's value. +func (s *ListOutgoingCertificatesOutput) SetOutgoingCertificates(v []*OutgoingCertificate) *ListOutgoingCertificatesOutput { + s.OutgoingCertificates = v + return s +} + +// The input for the ListPolicies operation. +type ListPoliciesInput struct { _ struct{} `type:"structure"` - // The name of the thing type. - // - // ThingTypeName is a required field - ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` + // Specifies the order for results. If true, the results are returned in ascending + // creation order. + AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` + + // The marker for the next set of results. + Marker *string `location:"querystring" locationName:"marker" type:"string"` + + // The result page size. + PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` } // String returns the string representation -func (s DeleteThingTypeInput) String() string { +func (s ListPoliciesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteThingTypeInput) GoString() string { +func (s ListPoliciesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteThingTypeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteThingTypeInput"} - if s.ThingTypeName == nil { - invalidParams.Add(request.NewErrParamRequired("ThingTypeName")) - } - if s.ThingTypeName != nil && len(*s.ThingTypeName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThingTypeName", 1)) +func (s *ListPoliciesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListPoliciesInput"} + if s.PageSize != nil && *s.PageSize < 1 { + invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) } if invalidParams.Len() > 0 { @@ -7379,55 +18397,99 @@ func (s *DeleteThingTypeInput) Validate() error { return nil } -// SetThingTypeName sets the ThingTypeName field's value. -func (s *DeleteThingTypeInput) SetThingTypeName(v string) *DeleteThingTypeInput { - s.ThingTypeName = &v +// SetAscendingOrder sets the AscendingOrder field's value. +func (s *ListPoliciesInput) SetAscendingOrder(v bool) *ListPoliciesInput { + s.AscendingOrder = &v return s } -// The output for the DeleteThingType operation. -type DeleteThingTypeOutput struct { +// SetMarker sets the Marker field's value. +func (s *ListPoliciesInput) SetMarker(v string) *ListPoliciesInput { + s.Marker = &v + return s +} + +// SetPageSize sets the PageSize field's value. +func (s *ListPoliciesInput) SetPageSize(v int64) *ListPoliciesInput { + s.PageSize = &v + return s +} + +// The output from the ListPolicies operation. +type ListPoliciesOutput struct { + _ struct{} `type:"structure"` + + // The marker for the next set of results, or null if there are no additional + // results. + NextMarker *string `locationName:"nextMarker" type:"string"` + + // The descriptions of the policies. + Policies []*Policy `locationName:"policies" type:"list"` +} + +// String returns the string representation +func (s ListPoliciesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListPoliciesOutput) GoString() string { + return s.String() +} + +// SetNextMarker sets the NextMarker field's value. +func (s *ListPoliciesOutput) SetNextMarker(v string) *ListPoliciesOutput { + s.NextMarker = &v + return s +} + +// SetPolicies sets the Policies field's value. +func (s *ListPoliciesOutput) SetPolicies(v []*Policy) *ListPoliciesOutput { + s.Policies = v + return s +} + +// The input for the ListPolicyPrincipals operation. +type ListPolicyPrincipalsInput struct { _ struct{} `type:"structure"` -} -// String returns the string representation -func (s DeleteThingTypeOutput) String() string { - return awsutil.Prettify(s) -} + // Specifies the order for results. If true, the results are returned in ascending + // creation order. + AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` -// GoString returns the string representation -func (s DeleteThingTypeOutput) GoString() string { - return s.String() -} + // The marker for the next set of results. + Marker *string `location:"querystring" locationName:"marker" type:"string"` -// The input for the DeleteTopicRule operation. -type DeleteTopicRuleInput struct { - _ struct{} `type:"structure"` + // The result page size. + PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` - // The name of the rule. + // The policy name. // - // RuleName is a required field - RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` + // PolicyName is a required field + PolicyName *string `location:"header" locationName:"x-amzn-iot-policy" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DeleteTopicRuleInput) String() string { +func (s ListPolicyPrincipalsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteTopicRuleInput) GoString() string { +func (s ListPolicyPrincipalsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteTopicRuleInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteTopicRuleInput"} - if s.RuleName == nil { - invalidParams.Add(request.NewErrParamRequired("RuleName")) +func (s *ListPolicyPrincipalsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListPolicyPrincipalsInput"} + if s.PageSize != nil && *s.PageSize < 1 { + invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) } - if s.RuleName != nil && len(*s.RuleName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RuleName", 1)) + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) + } + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) } if invalidParams.Len() > 0 { @@ -7436,58 +18498,92 @@ func (s *DeleteTopicRuleInput) Validate() error { return nil } -// SetRuleName sets the RuleName field's value. -func (s *DeleteTopicRuleInput) SetRuleName(v string) *DeleteTopicRuleInput { - s.RuleName = &v +// SetAscendingOrder sets the AscendingOrder field's value. +func (s *ListPolicyPrincipalsInput) SetAscendingOrder(v bool) *ListPolicyPrincipalsInput { + s.AscendingOrder = &v return s } -type DeleteTopicRuleOutput struct { +// SetMarker sets the Marker field's value. +func (s *ListPolicyPrincipalsInput) SetMarker(v string) *ListPolicyPrincipalsInput { + s.Marker = &v + return s +} + +// SetPageSize sets the PageSize field's value. +func (s *ListPolicyPrincipalsInput) SetPageSize(v int64) *ListPolicyPrincipalsInput { + s.PageSize = &v + return s +} + +// SetPolicyName sets the PolicyName field's value. +func (s *ListPolicyPrincipalsInput) SetPolicyName(v string) *ListPolicyPrincipalsInput { + s.PolicyName = &v + return s +} + +// The output from the ListPolicyPrincipals operation. +type ListPolicyPrincipalsOutput struct { _ struct{} `type:"structure"` + + // The marker for the next set of results, or null if there are no additional + // results. + NextMarker *string `locationName:"nextMarker" type:"string"` + + // The descriptions of the principals. + Principals []*string `locationName:"principals" type:"list"` } // String returns the string representation -func (s DeleteTopicRuleOutput) String() string { +func (s ListPolicyPrincipalsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteTopicRuleOutput) GoString() string { +func (s ListPolicyPrincipalsOutput) GoString() string { return s.String() } -// The input for the DeprecateThingType operation. -type DeprecateThingTypeInput struct { +// SetNextMarker sets the NextMarker field's value. +func (s *ListPolicyPrincipalsOutput) SetNextMarker(v string) *ListPolicyPrincipalsOutput { + s.NextMarker = &v + return s +} + +// SetPrincipals sets the Principals field's value. +func (s *ListPolicyPrincipalsOutput) SetPrincipals(v []*string) *ListPolicyPrincipalsOutput { + s.Principals = v + return s +} + +// The input for the ListPolicyVersions operation. +type ListPolicyVersionsInput struct { _ struct{} `type:"structure"` - // The name of the thing type to deprecate. + // The policy name. // - // ThingTypeName is a required field - ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` - - // Whether to undeprecate a deprecated thing type. If true, the thing type will - // not be deprecated anymore and you can associate it with things. - UndoDeprecate *bool `locationName:"undoDeprecate" type:"boolean"` + // PolicyName is a required field + PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DeprecateThingTypeInput) String() string { +func (s ListPolicyVersionsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeprecateThingTypeInput) GoString() string { +func (s ListPolicyVersionsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeprecateThingTypeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeprecateThingTypeInput"} - if s.ThingTypeName == nil { - invalidParams.Add(request.NewErrParamRequired("ThingTypeName")) +func (s *ListPolicyVersionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListPolicyVersionsInput"} + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) } - if s.ThingTypeName != nil && len(*s.ThingTypeName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThingTypeName", 1)) + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) } if invalidParams.Len() > 0 { @@ -7496,61 +18592,74 @@ func (s *DeprecateThingTypeInput) Validate() error { return nil } -// SetThingTypeName sets the ThingTypeName field's value. -func (s *DeprecateThingTypeInput) SetThingTypeName(v string) *DeprecateThingTypeInput { - s.ThingTypeName = &v - return s -} - -// SetUndoDeprecate sets the UndoDeprecate field's value. -func (s *DeprecateThingTypeInput) SetUndoDeprecate(v bool) *DeprecateThingTypeInput { - s.UndoDeprecate = &v +// SetPolicyName sets the PolicyName field's value. +func (s *ListPolicyVersionsInput) SetPolicyName(v string) *ListPolicyVersionsInput { + s.PolicyName = &v return s } -// The output for the DeprecateThingType operation. -type DeprecateThingTypeOutput struct { +// The output from the ListPolicyVersions operation. +type ListPolicyVersionsOutput struct { _ struct{} `type:"structure"` + + // The policy versions. + PolicyVersions []*PolicyVersion `locationName:"policyVersions" type:"list"` } // String returns the string representation -func (s DeprecateThingTypeOutput) String() string { +func (s ListPolicyVersionsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeprecateThingTypeOutput) GoString() string { +func (s ListPolicyVersionsOutput) GoString() string { return s.String() } -// The input for the DescribeCACertificate operation. -type DescribeCACertificateInput struct { +// SetPolicyVersions sets the PolicyVersions field's value. +func (s *ListPolicyVersionsOutput) SetPolicyVersions(v []*PolicyVersion) *ListPolicyVersionsOutput { + s.PolicyVersions = v + return s +} + +// The input for the ListPrincipalPolicies operation. +type ListPrincipalPoliciesInput struct { _ struct{} `type:"structure"` - // The CA certificate identifier. + // Specifies the order for results. If true, results are returned in ascending + // creation order. + AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` + + // The marker for the next set of results. + Marker *string `location:"querystring" locationName:"marker" type:"string"` + + // The result page size. + PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` + + // The principal. // - // CertificateId is a required field - CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` + // Principal is a required field + Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"` } // String returns the string representation -func (s DescribeCACertificateInput) String() string { +func (s ListPrincipalPoliciesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeCACertificateInput) GoString() string { +func (s ListPrincipalPoliciesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeCACertificateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeCACertificateInput"} - if s.CertificateId == nil { - invalidParams.Add(request.NewErrParamRequired("CertificateId")) +func (s *ListPrincipalPoliciesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListPrincipalPoliciesInput"} + if s.PageSize != nil && *s.PageSize < 1 { + invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) } - if s.CertificateId != nil && len(*s.CertificateId) < 64 { - invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) + if s.Principal == nil { + invalidParams.Add(request.NewErrParamRequired("Principal")) } if invalidParams.Len() > 0 { @@ -7559,64 +18668,99 @@ func (s *DescribeCACertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *DescribeCACertificateInput) SetCertificateId(v string) *DescribeCACertificateInput { - s.CertificateId = &v +// SetAscendingOrder sets the AscendingOrder field's value. +func (s *ListPrincipalPoliciesInput) SetAscendingOrder(v bool) *ListPrincipalPoliciesInput { + s.AscendingOrder = &v return s } -// The output from the DescribeCACertificate operation. -type DescribeCACertificateOutput struct { +// SetMarker sets the Marker field's value. +func (s *ListPrincipalPoliciesInput) SetMarker(v string) *ListPrincipalPoliciesInput { + s.Marker = &v + return s +} + +// SetPageSize sets the PageSize field's value. +func (s *ListPrincipalPoliciesInput) SetPageSize(v int64) *ListPrincipalPoliciesInput { + s.PageSize = &v + return s +} + +// SetPrincipal sets the Principal field's value. +func (s *ListPrincipalPoliciesInput) SetPrincipal(v string) *ListPrincipalPoliciesInput { + s.Principal = &v + return s +} + +// The output from the ListPrincipalPolicies operation. +type ListPrincipalPoliciesOutput struct { _ struct{} `type:"structure"` - // The CA certificate description. - CertificateDescription *CACertificateDescription `locationName:"certificateDescription" type:"structure"` + // The marker for the next set of results, or null if there are no additional + // results. + NextMarker *string `locationName:"nextMarker" type:"string"` + + // The policies. + Policies []*Policy `locationName:"policies" type:"list"` } // String returns the string representation -func (s DescribeCACertificateOutput) String() string { +func (s ListPrincipalPoliciesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeCACertificateOutput) GoString() string { +func (s ListPrincipalPoliciesOutput) GoString() string { return s.String() } -// SetCertificateDescription sets the CertificateDescription field's value. -func (s *DescribeCACertificateOutput) SetCertificateDescription(v *CACertificateDescription) *DescribeCACertificateOutput { - s.CertificateDescription = v +// SetNextMarker sets the NextMarker field's value. +func (s *ListPrincipalPoliciesOutput) SetNextMarker(v string) *ListPrincipalPoliciesOutput { + s.NextMarker = &v return s } -// The input for the DescribeCertificate operation. -type DescribeCertificateInput struct { +// SetPolicies sets the Policies field's value. +func (s *ListPrincipalPoliciesOutput) SetPolicies(v []*Policy) *ListPrincipalPoliciesOutput { + s.Policies = v + return s +} + +// The input for the ListPrincipalThings operation. +type ListPrincipalThingsInput struct { _ struct{} `type:"structure"` - // The ID of the certificate. - // - // CertificateId is a required field - CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` + // The maximum number of results to return in this operation. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The principal. + // + // Principal is a required field + Principal *string `location:"header" locationName:"x-amzn-principal" type:"string" required:"true"` } // String returns the string representation -func (s DescribeCertificateInput) String() string { +func (s ListPrincipalThingsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeCertificateInput) GoString() string { +func (s ListPrincipalThingsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeCertificateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeCertificateInput"} - if s.CertificateId == nil { - invalidParams.Add(request.NewErrParamRequired("CertificateId")) +func (s *ListPrincipalThingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListPrincipalThingsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.CertificateId != nil && len(*s.CertificateId) < 64 { - invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) + if s.Principal == nil { + invalidParams.Add(request.NewErrParamRequired("Principal")) } if invalidParams.Len() > 0 { @@ -7625,103 +18769,86 @@ func (s *DescribeCertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *DescribeCertificateInput) SetCertificateId(v string) *DescribeCertificateInput { - s.CertificateId = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListPrincipalThingsInput) SetMaxResults(v int64) *ListPrincipalThingsInput { + s.MaxResults = &v return s } -// The output of the DescribeCertificate operation. -type DescribeCertificateOutput struct { - _ struct{} `type:"structure"` - - // The description of the certificate. - CertificateDescription *CertificateDescription `locationName:"certificateDescription" type:"structure"` -} - -// String returns the string representation -func (s DescribeCertificateOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeCertificateOutput) GoString() string { - return s.String() +// SetNextToken sets the NextToken field's value. +func (s *ListPrincipalThingsInput) SetNextToken(v string) *ListPrincipalThingsInput { + s.NextToken = &v + return s } -// SetCertificateDescription sets the CertificateDescription field's value. -func (s *DescribeCertificateOutput) SetCertificateDescription(v *CertificateDescription) *DescribeCertificateOutput { - s.CertificateDescription = v +// SetPrincipal sets the Principal field's value. +func (s *ListPrincipalThingsInput) SetPrincipal(v string) *ListPrincipalThingsInput { + s.Principal = &v return s } -// The input for the DescribeEndpoint operation. -type DescribeEndpointInput struct { +// The output from the ListPrincipalThings operation. +type ListPrincipalThingsOutput struct { _ struct{} `type:"structure"` -} - -// String returns the string representation -func (s DescribeEndpointInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeEndpointInput) GoString() string { - return s.String() -} -// The output from the DescribeEndpoint operation. -type DescribeEndpointOutput struct { - _ struct{} `type:"structure"` + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `locationName:"nextToken" type:"string"` - // The endpoint. The format of the endpoint is as follows: identifier.iot.region.amazonaws.com. - EndpointAddress *string `locationName:"endpointAddress" type:"string"` + // The things. + Things []*string `locationName:"things" type:"list"` } // String returns the string representation -func (s DescribeEndpointOutput) String() string { +func (s ListPrincipalThingsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeEndpointOutput) GoString() string { +func (s ListPrincipalThingsOutput) GoString() string { return s.String() } -// SetEndpointAddress sets the EndpointAddress field's value. -func (s *DescribeEndpointOutput) SetEndpointAddress(v string) *DescribeEndpointOutput { - s.EndpointAddress = &v +// SetNextToken sets the NextToken field's value. +func (s *ListPrincipalThingsOutput) SetNextToken(v string) *ListPrincipalThingsOutput { + s.NextToken = &v return s } -// The input for the DescribeThing operation. -type DescribeThingInput struct { +// SetThings sets the Things field's value. +func (s *ListPrincipalThingsOutput) SetThings(v []*string) *ListPrincipalThingsOutput { + s.Things = v + return s +} + +type ListRoleAliasesInput struct { _ struct{} `type:"structure"` - // The name of the thing. - // - // ThingName is a required field - ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` + // Return the list of role aliases in ascending alphabetical order. + AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` + + // A marker used to get the next set of results. + Marker *string `location:"querystring" locationName:"marker" type:"string"` + + // The maximum number of results to return at one time. + PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` } // String returns the string representation -func (s DescribeThingInput) String() string { +func (s ListRoleAliasesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeThingInput) GoString() string { +func (s ListRoleAliasesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeThingInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeThingInput"} - if s.ThingName == nil { - invalidParams.Add(request.NewErrParamRequired("ThingName")) - } - if s.ThingName != nil && len(*s.ThingName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) +func (s *ListRoleAliasesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListRoleAliasesInput"} + if s.PageSize != nil && *s.PageSize < 1 { + invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) } if invalidParams.Len() > 0 { @@ -7730,104 +18857,92 @@ func (s *DescribeThingInput) Validate() error { return nil } -// SetThingName sets the ThingName field's value. -func (s *DescribeThingInput) SetThingName(v string) *DescribeThingInput { - s.ThingName = &v +// SetAscendingOrder sets the AscendingOrder field's value. +func (s *ListRoleAliasesInput) SetAscendingOrder(v bool) *ListRoleAliasesInput { + s.AscendingOrder = &v return s } -// The output from the DescribeThing operation. -type DescribeThingOutput struct { - _ struct{} `type:"structure"` - - // The thing attributes. - Attributes map[string]*string `locationName:"attributes" type:"map"` +// SetMarker sets the Marker field's value. +func (s *ListRoleAliasesInput) SetMarker(v string) *ListRoleAliasesInput { + s.Marker = &v + return s +} - // The default client ID. - DefaultClientId *string `locationName:"defaultClientId" type:"string"` +// SetPageSize sets the PageSize field's value. +func (s *ListRoleAliasesInput) SetPageSize(v int64) *ListRoleAliasesInput { + s.PageSize = &v + return s +} - // The name of the thing. - ThingName *string `locationName:"thingName" min:"1" type:"string"` +type ListRoleAliasesOutput struct { + _ struct{} `type:"structure"` - // The thing type name. - ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` + // A marker used to get the next set of results. + NextMarker *string `locationName:"nextMarker" type:"string"` - // The current version of the thing record in the registry. - // - // To avoid unintentional changes to the information in the registry, you can - // pass the version information in the expectedVersion parameter of the UpdateThing - // and DeleteThing calls. - Version *int64 `locationName:"version" type:"long"` + // The role aliases. + RoleAliases []*string `locationName:"roleAliases" type:"list"` } // String returns the string representation -func (s DescribeThingOutput) String() string { +func (s ListRoleAliasesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeThingOutput) GoString() string { +func (s ListRoleAliasesOutput) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *DescribeThingOutput) SetAttributes(v map[string]*string) *DescribeThingOutput { - s.Attributes = v - return s -} - -// SetDefaultClientId sets the DefaultClientId field's value. -func (s *DescribeThingOutput) SetDefaultClientId(v string) *DescribeThingOutput { - s.DefaultClientId = &v +// SetNextMarker sets the NextMarker field's value. +func (s *ListRoleAliasesOutput) SetNextMarker(v string) *ListRoleAliasesOutput { + s.NextMarker = &v return s } -// SetThingName sets the ThingName field's value. -func (s *DescribeThingOutput) SetThingName(v string) *DescribeThingOutput { - s.ThingName = &v +// SetRoleAliases sets the RoleAliases field's value. +func (s *ListRoleAliasesOutput) SetRoleAliases(v []*string) *ListRoleAliasesOutput { + s.RoleAliases = v return s } -// SetThingTypeName sets the ThingTypeName field's value. -func (s *DescribeThingOutput) SetThingTypeName(v string) *DescribeThingOutput { - s.ThingTypeName = &v - return s -} +type ListTargetsForPolicyInput struct { + _ struct{} `type:"structure"` -// SetVersion sets the Version field's value. -func (s *DescribeThingOutput) SetVersion(v int64) *DescribeThingOutput { - s.Version = &v - return s -} + // A marker used to get the next set of results. + Marker *string `location:"querystring" locationName:"marker" type:"string"` -// The input for the DescribeThingType operation. -type DescribeThingTypeInput struct { - _ struct{} `type:"structure"` + // The maximum number of results to return at one time. + PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` - // The name of the thing type. + // The policy name. // - // ThingTypeName is a required field - ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` + // PolicyName is a required field + PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DescribeThingTypeInput) String() string { +func (s ListTargetsForPolicyInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeThingTypeInput) GoString() string { +func (s ListTargetsForPolicyInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeThingTypeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeThingTypeInput"} - if s.ThingTypeName == nil { - invalidParams.Add(request.NewErrParamRequired("ThingTypeName")) +func (s *ListTargetsForPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTargetsForPolicyInput"} + if s.PageSize != nil && *s.PageSize < 1 { + invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) } - if s.ThingTypeName != nil && len(*s.ThingTypeName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThingTypeName", 1)) + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) + } + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) } if invalidParams.Len() > 0 { @@ -7836,96 +18951,93 @@ func (s *DescribeThingTypeInput) Validate() error { return nil } -// SetThingTypeName sets the ThingTypeName field's value. -func (s *DescribeThingTypeInput) SetThingTypeName(v string) *DescribeThingTypeInput { - s.ThingTypeName = &v +// SetMarker sets the Marker field's value. +func (s *ListTargetsForPolicyInput) SetMarker(v string) *ListTargetsForPolicyInput { + s.Marker = &v return s } -// The output for the DescribeThingType operation. -type DescribeThingTypeOutput struct { - _ struct{} `type:"structure"` +// SetPageSize sets the PageSize field's value. +func (s *ListTargetsForPolicyInput) SetPageSize(v int64) *ListTargetsForPolicyInput { + s.PageSize = &v + return s +} - // The ThingTypeMetadata contains additional information about the thing type - // including: creation date and time, a value indicating whether the thing type - // is deprecated, and a date and time when it was deprecated. - ThingTypeMetadata *ThingTypeMetadata `locationName:"thingTypeMetadata" type:"structure"` +// SetPolicyName sets the PolicyName field's value. +func (s *ListTargetsForPolicyInput) SetPolicyName(v string) *ListTargetsForPolicyInput { + s.PolicyName = &v + return s +} - // The name of the thing type. - ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` +type ListTargetsForPolicyOutput struct { + _ struct{} `type:"structure"` - // The ThingTypeProperties contains information about the thing type including - // description, and a list of searchable thing attribute names. - ThingTypeProperties *ThingTypeProperties `locationName:"thingTypeProperties" type:"structure"` + // A marker used to get the next set of results. + NextMarker *string `locationName:"nextMarker" type:"string"` + + // The policy targets. + Targets []*string `locationName:"targets" type:"list"` } // String returns the string representation -func (s DescribeThingTypeOutput) String() string { +func (s ListTargetsForPolicyOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeThingTypeOutput) GoString() string { +func (s ListTargetsForPolicyOutput) GoString() string { return s.String() } -// SetThingTypeMetadata sets the ThingTypeMetadata field's value. -func (s *DescribeThingTypeOutput) SetThingTypeMetadata(v *ThingTypeMetadata) *DescribeThingTypeOutput { - s.ThingTypeMetadata = v - return s -} - -// SetThingTypeName sets the ThingTypeName field's value. -func (s *DescribeThingTypeOutput) SetThingTypeName(v string) *DescribeThingTypeOutput { - s.ThingTypeName = &v +// SetNextMarker sets the NextMarker field's value. +func (s *ListTargetsForPolicyOutput) SetNextMarker(v string) *ListTargetsForPolicyOutput { + s.NextMarker = &v return s } -// SetThingTypeProperties sets the ThingTypeProperties field's value. -func (s *DescribeThingTypeOutput) SetThingTypeProperties(v *ThingTypeProperties) *DescribeThingTypeOutput { - s.ThingTypeProperties = v +// SetTargets sets the Targets field's value. +func (s *ListTargetsForPolicyOutput) SetTargets(v []*string) *ListTargetsForPolicyOutput { + s.Targets = v return s } -// The input for the DetachPrincipalPolicy operation. -type DetachPrincipalPolicyInput struct { +type ListThingGroupsForThingInput struct { _ struct{} `type:"structure"` - // The name of the policy to detach. - // - // PolicyName is a required field - PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + // The maximum number of results to return at one time. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // The principal. - // - // If the principal is a certificate, specify the certificate ARN. If the principal - // is an Amazon Cognito identity, specify the identity ID. + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The thing name. // - // Principal is a required field - Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"` + // ThingName is a required field + ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DetachPrincipalPolicyInput) String() string { +func (s ListThingGroupsForThingInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DetachPrincipalPolicyInput) GoString() string { +func (s ListThingGroupsForThingInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DetachPrincipalPolicyInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DetachPrincipalPolicyInput"} - if s.PolicyName == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyName")) +func (s *ListThingGroupsForThingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListThingGroupsForThingInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.PolicyName != nil && len(*s.PolicyName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + if s.ThingName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingName")) } - if s.Principal == nil { - invalidParams.Add(request.NewErrParamRequired("Principal")) + if s.ThingName != nil && len(*s.ThingName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) } if invalidParams.Len() > 0 { @@ -7934,70 +19046,98 @@ func (s *DetachPrincipalPolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *DetachPrincipalPolicyInput) SetPolicyName(v string) *DetachPrincipalPolicyInput { - s.PolicyName = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListThingGroupsForThingInput) SetMaxResults(v int64) *ListThingGroupsForThingInput { + s.MaxResults = &v return s } -// SetPrincipal sets the Principal field's value. -func (s *DetachPrincipalPolicyInput) SetPrincipal(v string) *DetachPrincipalPolicyInput { - s.Principal = &v +// SetNextToken sets the NextToken field's value. +func (s *ListThingGroupsForThingInput) SetNextToken(v string) *ListThingGroupsForThingInput { + s.NextToken = &v return s } -type DetachPrincipalPolicyOutput struct { +// SetThingName sets the ThingName field's value. +func (s *ListThingGroupsForThingInput) SetThingName(v string) *ListThingGroupsForThingInput { + s.ThingName = &v + return s +} + +type ListThingGroupsForThingOutput struct { _ struct{} `type:"structure"` + + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The thing groups. + ThingGroups []*GroupNameAndArn `locationName:"thingGroups" type:"list"` } // String returns the string representation -func (s DetachPrincipalPolicyOutput) String() string { +func (s ListThingGroupsForThingOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DetachPrincipalPolicyOutput) GoString() string { +func (s ListThingGroupsForThingOutput) GoString() string { return s.String() } -// The input for the DetachThingPrincipal operation. -type DetachThingPrincipalInput struct { +// SetNextToken sets the NextToken field's value. +func (s *ListThingGroupsForThingOutput) SetNextToken(v string) *ListThingGroupsForThingOutput { + s.NextToken = &v + return s +} + +// SetThingGroups sets the ThingGroups field's value. +func (s *ListThingGroupsForThingOutput) SetThingGroups(v []*GroupNameAndArn) *ListThingGroupsForThingOutput { + s.ThingGroups = v + return s +} + +type ListThingGroupsInput struct { _ struct{} `type:"structure"` - // If the principal is a certificate, this value must be ARN of the certificate. - // If the principal is an Amazon Cognito identity, this value must be the ID - // of the Amazon Cognito identity. - // - // Principal is a required field - Principal *string `location:"header" locationName:"x-amzn-principal" type:"string" required:"true"` + // The maximum number of results to return at one time. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // The name of the thing. - // - // ThingName is a required field - ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` + // A filter that limits the results to those with the specified name prefix. + NamePrefixFilter *string `location:"querystring" locationName:"namePrefixFilter" min:"1" type:"string"` + + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // A filter that limits the results to those with the specified parent group. + ParentGroup *string `location:"querystring" locationName:"parentGroup" min:"1" type:"string"` + + // If true, return child groups as well. + Recursive *bool `location:"querystring" locationName:"recursive" type:"boolean"` } // String returns the string representation -func (s DetachThingPrincipalInput) String() string { +func (s ListThingGroupsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DetachThingPrincipalInput) GoString() string { +func (s ListThingGroupsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DetachThingPrincipalInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DetachThingPrincipalInput"} - if s.Principal == nil { - invalidParams.Add(request.NewErrParamRequired("Principal")) +func (s *ListThingGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListThingGroupsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.ThingName == nil { - invalidParams.Add(request.NewErrParamRequired("ThingName")) + if s.NamePrefixFilter != nil && len(*s.NamePrefixFilter) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NamePrefixFilter", 1)) } - if s.ThingName != nil && len(*s.ThingName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) + if s.ParentGroup != nil && len(*s.ParentGroup) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ParentGroup", 1)) } if invalidParams.Len() > 0 { @@ -8006,61 +19146,97 @@ func (s *DetachThingPrincipalInput) Validate() error { return nil } -// SetPrincipal sets the Principal field's value. -func (s *DetachThingPrincipalInput) SetPrincipal(v string) *DetachThingPrincipalInput { - s.Principal = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListThingGroupsInput) SetMaxResults(v int64) *ListThingGroupsInput { + s.MaxResults = &v return s } -// SetThingName sets the ThingName field's value. -func (s *DetachThingPrincipalInput) SetThingName(v string) *DetachThingPrincipalInput { - s.ThingName = &v +// SetNamePrefixFilter sets the NamePrefixFilter field's value. +func (s *ListThingGroupsInput) SetNamePrefixFilter(v string) *ListThingGroupsInput { + s.NamePrefixFilter = &v return s } -// The output from the DetachThingPrincipal operation. -type DetachThingPrincipalOutput struct { +// SetNextToken sets the NextToken field's value. +func (s *ListThingGroupsInput) SetNextToken(v string) *ListThingGroupsInput { + s.NextToken = &v + return s +} + +// SetParentGroup sets the ParentGroup field's value. +func (s *ListThingGroupsInput) SetParentGroup(v string) *ListThingGroupsInput { + s.ParentGroup = &v + return s +} + +// SetRecursive sets the Recursive field's value. +func (s *ListThingGroupsInput) SetRecursive(v bool) *ListThingGroupsInput { + s.Recursive = &v + return s +} + +type ListThingGroupsOutput struct { _ struct{} `type:"structure"` + + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The thing groups. + ThingGroups []*GroupNameAndArn `locationName:"thingGroups" type:"list"` } // String returns the string representation -func (s DetachThingPrincipalOutput) String() string { +func (s ListThingGroupsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DetachThingPrincipalOutput) GoString() string { +func (s ListThingGroupsOutput) GoString() string { return s.String() } -// The input for the DisableTopicRuleRequest operation. -type DisableTopicRuleInput struct { +// SetNextToken sets the NextToken field's value. +func (s *ListThingGroupsOutput) SetNextToken(v string) *ListThingGroupsOutput { + s.NextToken = &v + return s +} + +// SetThingGroups sets the ThingGroups field's value. +func (s *ListThingGroupsOutput) SetThingGroups(v []*GroupNameAndArn) *ListThingGroupsOutput { + s.ThingGroups = v + return s +} + +// The input for the ListThingPrincipal operation. +type ListThingPrincipalsInput struct { _ struct{} `type:"structure"` - // The name of the rule to disable. + // The name of the thing. // - // RuleName is a required field - RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` + // ThingName is a required field + ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s DisableTopicRuleInput) String() string { +func (s ListThingPrincipalsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DisableTopicRuleInput) GoString() string { +func (s ListThingPrincipalsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DisableTopicRuleInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DisableTopicRuleInput"} - if s.RuleName == nil { - invalidParams.Add(request.NewErrParamRequired("RuleName")) +func (s *ListThingPrincipalsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListThingPrincipalsInput"} + if s.ThingName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingName")) } - if s.RuleName != nil && len(*s.RuleName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RuleName", 1)) + if s.ThingName != nil && len(*s.ThingName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) } if invalidParams.Len() > 0 { @@ -8069,111 +19245,77 @@ func (s *DisableTopicRuleInput) Validate() error { return nil } -// SetRuleName sets the RuleName field's value. -func (s *DisableTopicRuleInput) SetRuleName(v string) *DisableTopicRuleInput { - s.RuleName = &v +// SetThingName sets the ThingName field's value. +func (s *ListThingPrincipalsInput) SetThingName(v string) *ListThingPrincipalsInput { + s.ThingName = &v return s } -type DisableTopicRuleOutput struct { +// The output from the ListThingPrincipals operation. +type ListThingPrincipalsOutput struct { _ struct{} `type:"structure"` + + // The principals associated with the thing. + Principals []*string `locationName:"principals" type:"list"` } // String returns the string representation -func (s DisableTopicRuleOutput) String() string { +func (s ListThingPrincipalsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DisableTopicRuleOutput) GoString() string { +func (s ListThingPrincipalsOutput) GoString() string { return s.String() } -// Describes an action to write to a DynamoDB table. -// -// The tableName, hashKeyField, and rangeKeyField values must match the values -// used when you created the table. -// -// The hashKeyValue and rangeKeyvalue fields use a substitution template syntax. -// These templates provide data at runtime. The syntax is as follows: ${sql-expression}. -// -// You can specify any valid expression in a WHERE or SELECT clause, including -// JSON properties, comparisons, calculations, and functions. For example, the -// following field uses the third level of the topic: -// -// "hashKeyValue": "${topic(3)}" -// -// The following field uses the timestamp: -// -// "rangeKeyValue": "${timestamp()}" -type DynamoDBAction struct { - _ struct{} `type:"structure"` - - // The hash key name. - // - // HashKeyField is a required field - HashKeyField *string `locationName:"hashKeyField" type:"string" required:"true"` - - // The hash key type. Valid values are "STRING" or "NUMBER" - HashKeyType *string `locationName:"hashKeyType" type:"string" enum:"DynamoKeyType"` - - // The hash key value. - // - // HashKeyValue is a required field - HashKeyValue *string `locationName:"hashKeyValue" type:"string" required:"true"` - - // The type of operation to be performed. This follows the substitution template, - // so it can be ${operation}, but the substitution must result in one of the - // following: INSERT, UPDATE, or DELETE. - Operation *string `locationName:"operation" type:"string"` - - // The action payload. This name can be customized. - PayloadField *string `locationName:"payloadField" type:"string"` +// SetPrincipals sets the Principals field's value. +func (s *ListThingPrincipalsOutput) SetPrincipals(v []*string) *ListThingPrincipalsOutput { + s.Principals = v + return s +} - // The range key name. - RangeKeyField *string `locationName:"rangeKeyField" type:"string"` +type ListThingRegistrationTaskReportsInput struct { + _ struct{} `type:"structure"` - // The range key type. Valid values are "STRING" or "NUMBER" - RangeKeyType *string `locationName:"rangeKeyType" type:"string" enum:"DynamoKeyType"` + // The maximum number of results to return per request. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // The range key value. - RangeKeyValue *string `locationName:"rangeKeyValue" type:"string"` + // The token to retrieve the next set of results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - // The ARN of the IAM role that grants access to the DynamoDB table. + // The type of task report. // - // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + // ReportType is a required field + ReportType *string `location:"querystring" locationName:"reportType" type:"string" required:"true" enum:"ReportType"` - // The name of the DynamoDB table. + // The id of the task. // - // TableName is a required field - TableName *string `locationName:"tableName" type:"string" required:"true"` + // TaskId is a required field + TaskId *string `location:"uri" locationName:"taskId" type:"string" required:"true"` } // String returns the string representation -func (s DynamoDBAction) String() string { +func (s ListThingRegistrationTaskReportsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DynamoDBAction) GoString() string { +func (s ListThingRegistrationTaskReportsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DynamoDBAction) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DynamoDBAction"} - if s.HashKeyField == nil { - invalidParams.Add(request.NewErrParamRequired("HashKeyField")) - } - if s.HashKeyValue == nil { - invalidParams.Add(request.NewErrParamRequired("HashKeyValue")) +func (s *ListThingRegistrationTaskReportsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListThingRegistrationTaskReportsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) + if s.ReportType == nil { + invalidParams.Add(request.NewErrParamRequired("ReportType")) } - if s.TableName == nil { - invalidParams.Add(request.NewErrParamRequired("TableName")) + if s.TaskId == nil { + invalidParams.Add(request.NewErrParamRequired("TaskId")) } if invalidParams.Len() > 0 { @@ -8182,104 +19324,100 @@ func (s *DynamoDBAction) Validate() error { return nil } -// SetHashKeyField sets the HashKeyField field's value. -func (s *DynamoDBAction) SetHashKeyField(v string) *DynamoDBAction { - s.HashKeyField = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListThingRegistrationTaskReportsInput) SetMaxResults(v int64) *ListThingRegistrationTaskReportsInput { + s.MaxResults = &v return s } -// SetHashKeyType sets the HashKeyType field's value. -func (s *DynamoDBAction) SetHashKeyType(v string) *DynamoDBAction { - s.HashKeyType = &v +// SetNextToken sets the NextToken field's value. +func (s *ListThingRegistrationTaskReportsInput) SetNextToken(v string) *ListThingRegistrationTaskReportsInput { + s.NextToken = &v return s } -// SetHashKeyValue sets the HashKeyValue field's value. -func (s *DynamoDBAction) SetHashKeyValue(v string) *DynamoDBAction { - s.HashKeyValue = &v +// SetReportType sets the ReportType field's value. +func (s *ListThingRegistrationTaskReportsInput) SetReportType(v string) *ListThingRegistrationTaskReportsInput { + s.ReportType = &v return s } -// SetOperation sets the Operation field's value. -func (s *DynamoDBAction) SetOperation(v string) *DynamoDBAction { - s.Operation = &v +// SetTaskId sets the TaskId field's value. +func (s *ListThingRegistrationTaskReportsInput) SetTaskId(v string) *ListThingRegistrationTaskReportsInput { + s.TaskId = &v return s } -// SetPayloadField sets the PayloadField field's value. -func (s *DynamoDBAction) SetPayloadField(v string) *DynamoDBAction { - s.PayloadField = &v - return s +type ListThingRegistrationTaskReportsOutput struct { + _ struct{} `type:"structure"` + + // The token to retrieve the next set of results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The type of task report. + ReportType *string `locationName:"reportType" type:"string" enum:"ReportType"` + + // Links to the task resources. + ResourceLinks []*string `locationName:"resourceLinks" type:"list"` } -// SetRangeKeyField sets the RangeKeyField field's value. -func (s *DynamoDBAction) SetRangeKeyField(v string) *DynamoDBAction { - s.RangeKeyField = &v - return s +// String returns the string representation +func (s ListThingRegistrationTaskReportsOutput) String() string { + return awsutil.Prettify(s) } -// SetRangeKeyType sets the RangeKeyType field's value. -func (s *DynamoDBAction) SetRangeKeyType(v string) *DynamoDBAction { - s.RangeKeyType = &v - return s +// GoString returns the string representation +func (s ListThingRegistrationTaskReportsOutput) GoString() string { + return s.String() } -// SetRangeKeyValue sets the RangeKeyValue field's value. -func (s *DynamoDBAction) SetRangeKeyValue(v string) *DynamoDBAction { - s.RangeKeyValue = &v +// SetNextToken sets the NextToken field's value. +func (s *ListThingRegistrationTaskReportsOutput) SetNextToken(v string) *ListThingRegistrationTaskReportsOutput { + s.NextToken = &v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *DynamoDBAction) SetRoleArn(v string) *DynamoDBAction { - s.RoleArn = &v +// SetReportType sets the ReportType field's value. +func (s *ListThingRegistrationTaskReportsOutput) SetReportType(v string) *ListThingRegistrationTaskReportsOutput { + s.ReportType = &v return s } -// SetTableName sets the TableName field's value. -func (s *DynamoDBAction) SetTableName(v string) *DynamoDBAction { - s.TableName = &v +// SetResourceLinks sets the ResourceLinks field's value. +func (s *ListThingRegistrationTaskReportsOutput) SetResourceLinks(v []*string) *ListThingRegistrationTaskReportsOutput { + s.ResourceLinks = v return s } -// Describes an action to write to a DynamoDB table. -// -// This DynamoDB action writes each attribute in the message payload into it's -// own column in the DynamoDB table. -type DynamoDBv2Action struct { +type ListThingRegistrationTasksInput struct { _ struct{} `type:"structure"` - // Specifies the DynamoDB table to which the message data will be written. For - // example: - // - // { "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": - // "my-table" } } } - // - // Each attribute in the message payload will be written to a separate column - // in the DynamoDB database. - PutItem *PutItemInput `locationName:"putItem" type:"structure"` + // The maximum number of results to return at one time. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // The ARN of the IAM role that grants access to the DynamoDB table. - RoleArn *string `locationName:"roleArn" type:"string"` + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The status of the bulk thing provisioning task. + Status *string `location:"querystring" locationName:"status" type:"string" enum:"Status"` } // String returns the string representation -func (s DynamoDBv2Action) String() string { +func (s ListThingRegistrationTasksInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DynamoDBv2Action) GoString() string { +func (s ListThingRegistrationTasksInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DynamoDBv2Action) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DynamoDBv2Action"} - if s.PutItem != nil { - if err := s.PutItem.Validate(); err != nil { - invalidParams.AddNested("PutItem", err.(request.ErrInvalidParams)) - } +func (s *ListThingRegistrationTasksInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListThingRegistrationTasksInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { @@ -8288,75 +19426,90 @@ func (s *DynamoDBv2Action) Validate() error { return nil } -// SetPutItem sets the PutItem field's value. -func (s *DynamoDBv2Action) SetPutItem(v *PutItemInput) *DynamoDBv2Action { - s.PutItem = v +// SetMaxResults sets the MaxResults field's value. +func (s *ListThingRegistrationTasksInput) SetMaxResults(v int64) *ListThingRegistrationTasksInput { + s.MaxResults = &v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *DynamoDBv2Action) SetRoleArn(v string) *DynamoDBv2Action { - s.RoleArn = &v +// SetNextToken sets the NextToken field's value. +func (s *ListThingRegistrationTasksInput) SetNextToken(v string) *ListThingRegistrationTasksInput { + s.NextToken = &v return s } -// Describes an action that writes data to an Amazon Elasticsearch Service domain. -type ElasticsearchAction struct { +// SetStatus sets the Status field's value. +func (s *ListThingRegistrationTasksInput) SetStatus(v string) *ListThingRegistrationTasksInput { + s.Status = &v + return s +} + +type ListThingRegistrationTasksOutput struct { _ struct{} `type:"structure"` - // The endpoint of your Elasticsearch domain. - // - // Endpoint is a required field - Endpoint *string `locationName:"endpoint" type:"string" required:"true"` + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `locationName:"nextToken" type:"string"` - // The unique identifier for the document you are storing. - // - // Id is a required field - Id *string `locationName:"id" type:"string" required:"true"` + // A list of bulk thing provisioning task IDs. + TaskIds []*string `locationName:"taskIds" type:"list"` +} - // The Elasticsearch index where you want to store your data. - // - // Index is a required field - Index *string `locationName:"index" type:"string" required:"true"` +// String returns the string representation +func (s ListThingRegistrationTasksOutput) String() string { + return awsutil.Prettify(s) +} - // The IAM role ARN that has access to Elasticsearch. - // - // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` +// GoString returns the string representation +func (s ListThingRegistrationTasksOutput) GoString() string { + return s.String() +} - // The type of document you are storing. - // - // Type is a required field - Type *string `locationName:"type" type:"string" required:"true"` +// SetNextToken sets the NextToken field's value. +func (s *ListThingRegistrationTasksOutput) SetNextToken(v string) *ListThingRegistrationTasksOutput { + s.NextToken = &v + return s +} + +// SetTaskIds sets the TaskIds field's value. +func (s *ListThingRegistrationTasksOutput) SetTaskIds(v []*string) *ListThingRegistrationTasksOutput { + s.TaskIds = v + return s +} + +// The input for the ListThingTypes operation. +type ListThingTypesInput struct { + _ struct{} `type:"structure"` + + // The maximum number of results to return in this operation. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token for the next set of results, or null if there are no additional + // results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The name of the thing type. + ThingTypeName *string `location:"querystring" locationName:"thingTypeName" min:"1" type:"string"` } // String returns the string representation -func (s ElasticsearchAction) String() string { +func (s ListThingTypesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ElasticsearchAction) GoString() string { +func (s ListThingTypesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ElasticsearchAction) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ElasticsearchAction"} - if s.Endpoint == nil { - invalidParams.Add(request.NewErrParamRequired("Endpoint")) - } - if s.Id == nil { - invalidParams.Add(request.NewErrParamRequired("Id")) - } - if s.Index == nil { - invalidParams.Add(request.NewErrParamRequired("Index")) - } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) +func (s *ListThingTypesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListThingTypesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.Type == nil { - invalidParams.Add(request.NewErrParamRequired("Type")) + if s.ThingTypeName != nil && len(*s.ThingTypeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingTypeName", 1)) } if invalidParams.Len() > 0 { @@ -8365,64 +19518,98 @@ func (s *ElasticsearchAction) Validate() error { return nil } -// SetEndpoint sets the Endpoint field's value. -func (s *ElasticsearchAction) SetEndpoint(v string) *ElasticsearchAction { - s.Endpoint = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListThingTypesInput) SetMaxResults(v int64) *ListThingTypesInput { + s.MaxResults = &v return s } -// SetId sets the Id field's value. -func (s *ElasticsearchAction) SetId(v string) *ElasticsearchAction { - s.Id = &v +// SetNextToken sets the NextToken field's value. +func (s *ListThingTypesInput) SetNextToken(v string) *ListThingTypesInput { + s.NextToken = &v return s } -// SetIndex sets the Index field's value. -func (s *ElasticsearchAction) SetIndex(v string) *ElasticsearchAction { - s.Index = &v +// SetThingTypeName sets the ThingTypeName field's value. +func (s *ListThingTypesInput) SetThingTypeName(v string) *ListThingTypesInput { + s.ThingTypeName = &v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *ElasticsearchAction) SetRoleArn(v string) *ElasticsearchAction { - s.RoleArn = &v +// The output for the ListThingTypes operation. +type ListThingTypesOutput struct { + _ struct{} `type:"structure"` + + // The token for the next set of results, or null if there are no additional + // results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The thing types. + ThingTypes []*ThingTypeDefinition `locationName:"thingTypes" type:"list"` +} + +// String returns the string representation +func (s ListThingTypesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListThingTypesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListThingTypesOutput) SetNextToken(v string) *ListThingTypesOutput { + s.NextToken = &v return s } -// SetType sets the Type field's value. -func (s *ElasticsearchAction) SetType(v string) *ElasticsearchAction { - s.Type = &v +// SetThingTypes sets the ThingTypes field's value. +func (s *ListThingTypesOutput) SetThingTypes(v []*ThingTypeDefinition) *ListThingTypesOutput { + s.ThingTypes = v return s } -// The input for the EnableTopicRuleRequest operation. -type EnableTopicRuleInput struct { +type ListThingsInThingGroupInput struct { _ struct{} `type:"structure"` - // The name of the topic rule to enable. + // The maximum number of results to return at one time. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // When true, list things in this thing group and in all child groups as well. + Recursive *bool `location:"querystring" locationName:"recursive" type:"boolean"` + + // The thing group name. // - // RuleName is a required field - RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` + // ThingGroupName is a required field + ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s EnableTopicRuleInput) String() string { +func (s ListThingsInThingGroupInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s EnableTopicRuleInput) GoString() string { +func (s ListThingsInThingGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *EnableTopicRuleInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "EnableTopicRuleInput"} - if s.RuleName == nil { - invalidParams.Add(request.NewErrParamRequired("RuleName")) +func (s *ListThingsInThingGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListThingsInThingGroupInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.RuleName != nil && len(*s.RuleName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RuleName", 1)) + if s.ThingGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingGroupName")) + } + if s.ThingGroupName != nil && len(*s.ThingGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingGroupName", 1)) } if invalidParams.Len() > 0 { @@ -8431,64 +19618,102 @@ func (s *EnableTopicRuleInput) Validate() error { return nil } -// SetRuleName sets the RuleName field's value. -func (s *EnableTopicRuleInput) SetRuleName(v string) *EnableTopicRuleInput { - s.RuleName = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListThingsInThingGroupInput) SetMaxResults(v int64) *ListThingsInThingGroupInput { + s.MaxResults = &v return s } -type EnableTopicRuleOutput struct { +// SetNextToken sets the NextToken field's value. +func (s *ListThingsInThingGroupInput) SetNextToken(v string) *ListThingsInThingGroupInput { + s.NextToken = &v + return s +} + +// SetRecursive sets the Recursive field's value. +func (s *ListThingsInThingGroupInput) SetRecursive(v bool) *ListThingsInThingGroupInput { + s.Recursive = &v + return s +} + +// SetThingGroupName sets the ThingGroupName field's value. +func (s *ListThingsInThingGroupInput) SetThingGroupName(v string) *ListThingsInThingGroupInput { + s.ThingGroupName = &v + return s +} + +type ListThingsInThingGroupOutput struct { _ struct{} `type:"structure"` + + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The things in the specified thing group. + Things []*string `locationName:"things" type:"list"` } // String returns the string representation -func (s EnableTopicRuleOutput) String() string { +func (s ListThingsInThingGroupOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s EnableTopicRuleOutput) GoString() string { +func (s ListThingsInThingGroupOutput) GoString() string { return s.String() } -// Describes an action that writes data to an Amazon Kinesis Firehose stream. -type FirehoseAction struct { +// SetNextToken sets the NextToken field's value. +func (s *ListThingsInThingGroupOutput) SetNextToken(v string) *ListThingsInThingGroupOutput { + s.NextToken = &v + return s +} + +// SetThings sets the Things field's value. +func (s *ListThingsInThingGroupOutput) SetThings(v []*string) *ListThingsInThingGroupOutput { + s.Things = v + return s +} + +// The input for the ListThings operation. +type ListThingsInput struct { _ struct{} `type:"structure"` - // The delivery stream name. - // - // DeliveryStreamName is a required field - DeliveryStreamName *string `locationName:"deliveryStreamName" type:"string" required:"true"` + // The attribute name used to search for things. + AttributeName *string `location:"querystring" locationName:"attributeName" type:"string"` - // The IAM role that grants access to the Amazon Kinesis Firehost stream. - // - // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + // The attribute value used to search for things. + AttributeValue *string `location:"querystring" locationName:"attributeValue" type:"string"` - // A character separator that will be used to separate records written to the - // Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows - // newline), ',' (comma). - Separator *string `locationName:"separator" type:"string"` + // The maximum number of results to return in this operation. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The name of the thing type used to search for things. + ThingTypeName *string `location:"querystring" locationName:"thingTypeName" min:"1" type:"string"` } // String returns the string representation -func (s FirehoseAction) String() string { +func (s ListThingsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s FirehoseAction) GoString() string { +func (s ListThingsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *FirehoseAction) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "FirehoseAction"} - if s.DeliveryStreamName == nil { - invalidParams.Add(request.NewErrParamRequired("DeliveryStreamName")) +func (s *ListThingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListThingsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) + if s.ThingTypeName != nil && len(*s.ThingTypeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingTypeName", 1)) } if invalidParams.Len() > 0 { @@ -8497,100 +19722,102 @@ func (s *FirehoseAction) Validate() error { return nil } -// SetDeliveryStreamName sets the DeliveryStreamName field's value. -func (s *FirehoseAction) SetDeliveryStreamName(v string) *FirehoseAction { - s.DeliveryStreamName = &v +// SetAttributeName sets the AttributeName field's value. +func (s *ListThingsInput) SetAttributeName(v string) *ListThingsInput { + s.AttributeName = &v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *FirehoseAction) SetRoleArn(v string) *FirehoseAction { - s.RoleArn = &v +// SetAttributeValue sets the AttributeValue field's value. +func (s *ListThingsInput) SetAttributeValue(v string) *ListThingsInput { + s.AttributeValue = &v return s } -// SetSeparator sets the Separator field's value. -func (s *FirehoseAction) SetSeparator(v string) *FirehoseAction { - s.Separator = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListThingsInput) SetMaxResults(v int64) *ListThingsInput { + s.MaxResults = &v return s } -// The input for the GetLoggingOptions operation. -type GetLoggingOptionsInput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation -func (s GetLoggingOptionsInput) String() string { - return awsutil.Prettify(s) +// SetNextToken sets the NextToken field's value. +func (s *ListThingsInput) SetNextToken(v string) *ListThingsInput { + s.NextToken = &v + return s } -// GoString returns the string representation -func (s GetLoggingOptionsInput) GoString() string { - return s.String() +// SetThingTypeName sets the ThingTypeName field's value. +func (s *ListThingsInput) SetThingTypeName(v string) *ListThingsInput { + s.ThingTypeName = &v + return s } -// The output from the GetLoggingOptions operation. -type GetLoggingOptionsOutput struct { +// The output from the ListThings operation. +type ListThingsOutput struct { _ struct{} `type:"structure"` - // The logging level. - LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `locationName:"nextToken" type:"string"` - // The ARN of the IAM role that grants access. - RoleArn *string `locationName:"roleArn" type:"string"` + // The things. + Things []*ThingAttribute `locationName:"things" type:"list"` } // String returns the string representation -func (s GetLoggingOptionsOutput) String() string { +func (s ListThingsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetLoggingOptionsOutput) GoString() string { +func (s ListThingsOutput) GoString() string { return s.String() } -// SetLogLevel sets the LogLevel field's value. -func (s *GetLoggingOptionsOutput) SetLogLevel(v string) *GetLoggingOptionsOutput { - s.LogLevel = &v +// SetNextToken sets the NextToken field's value. +func (s *ListThingsOutput) SetNextToken(v string) *ListThingsOutput { + s.NextToken = &v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *GetLoggingOptionsOutput) SetRoleArn(v string) *GetLoggingOptionsOutput { - s.RoleArn = &v +// SetThings sets the Things field's value. +func (s *ListThingsOutput) SetThings(v []*ThingAttribute) *ListThingsOutput { + s.Things = v return s } -// The input for the GetPolicy operation. -type GetPolicyInput struct { +// The input for the ListTopicRules operation. +type ListTopicRulesInput struct { _ struct{} `type:"structure"` - // The name of the policy. - // - // PolicyName is a required field - PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + // The maximum number of results to return. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // A token used to retrieve the next value. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // Specifies whether the rule is disabled. + RuleDisabled *bool `location:"querystring" locationName:"ruleDisabled" type:"boolean"` + + // The topic. + Topic *string `location:"querystring" locationName:"topic" type:"string"` } // String returns the string representation -func (s GetPolicyInput) String() string { +func (s ListTopicRulesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetPolicyInput) GoString() string { +func (s ListTopicRulesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetPolicyInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetPolicyInput"} - if s.PolicyName == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyName")) - } - if s.PolicyName != nil && len(*s.PolicyName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) +func (s *ListTopicRulesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTopicRulesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { @@ -8599,99 +19826,92 @@ func (s *GetPolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *GetPolicyInput) SetPolicyName(v string) *GetPolicyInput { - s.PolicyName = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListTopicRulesInput) SetMaxResults(v int64) *ListTopicRulesInput { + s.MaxResults = &v return s } -// The output from the GetPolicy operation. -type GetPolicyOutput struct { - _ struct{} `type:"structure"` +// SetNextToken sets the NextToken field's value. +func (s *ListTopicRulesInput) SetNextToken(v string) *ListTopicRulesInput { + s.NextToken = &v + return s +} - // The default policy version ID. - DefaultVersionId *string `locationName:"defaultVersionId" type:"string"` +// SetRuleDisabled sets the RuleDisabled field's value. +func (s *ListTopicRulesInput) SetRuleDisabled(v bool) *ListTopicRulesInput { + s.RuleDisabled = &v + return s +} - // The policy ARN. - PolicyArn *string `locationName:"policyArn" type:"string"` +// SetTopic sets the Topic field's value. +func (s *ListTopicRulesInput) SetTopic(v string) *ListTopicRulesInput { + s.Topic = &v + return s +} - // The JSON document that describes the policy. - PolicyDocument *string `locationName:"policyDocument" type:"string"` +// The output from the ListTopicRules operation. +type ListTopicRulesOutput struct { + _ struct{} `type:"structure"` - // The policy name. - PolicyName *string `locationName:"policyName" min:"1" type:"string"` + // A token used to retrieve the next value. + NextToken *string `locationName:"nextToken" type:"string"` + + // The rules. + Rules []*TopicRuleListItem `locationName:"rules" type:"list"` } // String returns the string representation -func (s GetPolicyOutput) String() string { +func (s ListTopicRulesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetPolicyOutput) GoString() string { +func (s ListTopicRulesOutput) GoString() string { return s.String() } -// SetDefaultVersionId sets the DefaultVersionId field's value. -func (s *GetPolicyOutput) SetDefaultVersionId(v string) *GetPolicyOutput { - s.DefaultVersionId = &v - return s -} - -// SetPolicyArn sets the PolicyArn field's value. -func (s *GetPolicyOutput) SetPolicyArn(v string) *GetPolicyOutput { - s.PolicyArn = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *GetPolicyOutput) SetPolicyDocument(v string) *GetPolicyOutput { - s.PolicyDocument = &v +// SetNextToken sets the NextToken field's value. +func (s *ListTopicRulesOutput) SetNextToken(v string) *ListTopicRulesOutput { + s.NextToken = &v return s } -// SetPolicyName sets the PolicyName field's value. -func (s *GetPolicyOutput) SetPolicyName(v string) *GetPolicyOutput { - s.PolicyName = &v +// SetRules sets the Rules field's value. +func (s *ListTopicRulesOutput) SetRules(v []*TopicRuleListItem) *ListTopicRulesOutput { + s.Rules = v return s } -// The input for the GetPolicyVersion operation. -type GetPolicyVersionInput struct { +type ListV2LoggingLevelsInput struct { _ struct{} `type:"structure"` - // The name of the policy. - // - // PolicyName is a required field - PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + // The maximum number of results to return at one time. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // The policy version ID. - // - // PolicyVersionId is a required field - PolicyVersionId *string `location:"uri" locationName:"policyVersionId" type:"string" required:"true"` + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The type of resource for which you are configuring logging. Must be THING_Group. + TargetType *string `location:"querystring" locationName:"targetType" type:"string" enum:"LogTargetType"` } // String returns the string representation -func (s GetPolicyVersionInput) String() string { +func (s ListV2LoggingLevelsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetPolicyVersionInput) GoString() string { +func (s ListV2LoggingLevelsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetPolicyVersionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetPolicyVersionInput"} - if s.PolicyName == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyName")) - } - if s.PolicyName != nil && len(*s.PolicyName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) - } - if s.PolicyVersionId == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyVersionId")) +func (s *ListV2LoggingLevelsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListV2LoggingLevelsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { @@ -8700,145 +19920,166 @@ func (s *GetPolicyVersionInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *GetPolicyVersionInput) SetPolicyName(v string) *GetPolicyVersionInput { - s.PolicyName = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListV2LoggingLevelsInput) SetMaxResults(v int64) *ListV2LoggingLevelsInput { + s.MaxResults = &v return s } -// SetPolicyVersionId sets the PolicyVersionId field's value. -func (s *GetPolicyVersionInput) SetPolicyVersionId(v string) *GetPolicyVersionInput { - s.PolicyVersionId = &v +// SetNextToken sets the NextToken field's value. +func (s *ListV2LoggingLevelsInput) SetNextToken(v string) *ListV2LoggingLevelsInput { + s.NextToken = &v return s } -// The output from the GetPolicyVersion operation. -type GetPolicyVersionOutput struct { - _ struct{} `type:"structure"` - - // Specifies whether the policy version is the default. - IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"` - - // The policy ARN. - PolicyArn *string `locationName:"policyArn" type:"string"` +// SetTargetType sets the TargetType field's value. +func (s *ListV2LoggingLevelsInput) SetTargetType(v string) *ListV2LoggingLevelsInput { + s.TargetType = &v + return s +} - // The JSON document that describes the policy. - PolicyDocument *string `locationName:"policyDocument" type:"string"` +type ListV2LoggingLevelsOutput struct { + _ struct{} `type:"structure"` - // The policy name. - PolicyName *string `locationName:"policyName" min:"1" type:"string"` + // The logging configuration for a target. + LogTargetConfigurations []*LogTargetConfiguration `locationName:"logTargetConfigurations" type:"list"` - // The policy version ID. - PolicyVersionId *string `locationName:"policyVersionId" type:"string"` + // The token used to get the next set of results, or null if there are no additional + // results. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation -func (s GetPolicyVersionOutput) String() string { +func (s ListV2LoggingLevelsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetPolicyVersionOutput) GoString() string { +func (s ListV2LoggingLevelsOutput) GoString() string { return s.String() } -// SetIsDefaultVersion sets the IsDefaultVersion field's value. -func (s *GetPolicyVersionOutput) SetIsDefaultVersion(v bool) *GetPolicyVersionOutput { - s.IsDefaultVersion = &v - return s -} - -// SetPolicyArn sets the PolicyArn field's value. -func (s *GetPolicyVersionOutput) SetPolicyArn(v string) *GetPolicyVersionOutput { - s.PolicyArn = &v +// SetLogTargetConfigurations sets the LogTargetConfigurations field's value. +func (s *ListV2LoggingLevelsOutput) SetLogTargetConfigurations(v []*LogTargetConfiguration) *ListV2LoggingLevelsOutput { + s.LogTargetConfigurations = v return s } -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *GetPolicyVersionOutput) SetPolicyDocument(v string) *GetPolicyVersionOutput { - s.PolicyDocument = &v +// SetNextToken sets the NextToken field's value. +func (s *ListV2LoggingLevelsOutput) SetNextToken(v string) *ListV2LoggingLevelsOutput { + s.NextToken = &v return s } -// SetPolicyName sets the PolicyName field's value. -func (s *GetPolicyVersionOutput) SetPolicyName(v string) *GetPolicyVersionOutput { - s.PolicyName = &v - return s -} +// A log target. +type LogTarget struct { + _ struct{} `type:"structure"` -// SetPolicyVersionId sets the PolicyVersionId field's value. -func (s *GetPolicyVersionOutput) SetPolicyVersionId(v string) *GetPolicyVersionOutput { - s.PolicyVersionId = &v - return s -} + // The target name. + TargetName *string `locationName:"targetName" type:"string"` -// The input to the GetRegistrationCode operation. -type GetRegistrationCodeInput struct { - _ struct{} `type:"structure"` + // The target type. + // + // TargetType is a required field + TargetType *string `locationName:"targetType" type:"string" required:"true" enum:"LogTargetType"` } // String returns the string representation -func (s GetRegistrationCodeInput) String() string { +func (s LogTarget) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetRegistrationCodeInput) GoString() string { +func (s LogTarget) GoString() string { return s.String() } -// The output from the GetRegistrationCode operation. -type GetRegistrationCodeOutput struct { +// Validate inspects the fields of the type to determine if they are valid. +func (s *LogTarget) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LogTarget"} + if s.TargetType == nil { + invalidParams.Add(request.NewErrParamRequired("TargetType")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTargetName sets the TargetName field's value. +func (s *LogTarget) SetTargetName(v string) *LogTarget { + s.TargetName = &v + return s +} + +// SetTargetType sets the TargetType field's value. +func (s *LogTarget) SetTargetType(v string) *LogTarget { + s.TargetType = &v + return s +} + +// The target configuration. +type LogTargetConfiguration struct { _ struct{} `type:"structure"` - // The CA certificate registration code. - RegistrationCode *string `locationName:"registrationCode" min:"64" type:"string"` + // The logging level. + LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` + + // A log target + LogTarget *LogTarget `locationName:"logTarget" type:"structure"` } // String returns the string representation -func (s GetRegistrationCodeOutput) String() string { +func (s LogTargetConfiguration) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetRegistrationCodeOutput) GoString() string { +func (s LogTargetConfiguration) GoString() string { return s.String() } -// SetRegistrationCode sets the RegistrationCode field's value. -func (s *GetRegistrationCodeOutput) SetRegistrationCode(v string) *GetRegistrationCodeOutput { - s.RegistrationCode = &v +// SetLogLevel sets the LogLevel field's value. +func (s *LogTargetConfiguration) SetLogLevel(v string) *LogTargetConfiguration { + s.LogLevel = &v return s } -// The input for the GetTopicRule operation. -type GetTopicRuleInput struct { +// SetLogTarget sets the LogTarget field's value. +func (s *LogTargetConfiguration) SetLogTarget(v *LogTarget) *LogTargetConfiguration { + s.LogTarget = v + return s +} + +// Describes the logging options payload. +type LoggingOptionsPayload struct { _ struct{} `type:"structure"` - // The name of the rule. + // The log level. + LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` + + // The ARN of the IAM role that grants access. // - // RuleName is a required field - RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" type:"string" required:"true"` } // String returns the string representation -func (s GetTopicRuleInput) String() string { +func (s LoggingOptionsPayload) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetTopicRuleInput) GoString() string { +func (s LoggingOptionsPayload) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetTopicRuleInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetTopicRuleInput"} - if s.RuleName == nil { - invalidParams.Add(request.NewErrParamRequired("RuleName")) - } - if s.RuleName != nil && len(*s.RuleName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RuleName", 1)) +func (s *LoggingOptionsPayload) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LoggingOptionsPayload"} + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) } if invalidParams.Len() > 0 { @@ -8847,114 +20088,195 @@ func (s *GetTopicRuleInput) Validate() error { return nil } -// SetRuleName sets the RuleName field's value. -func (s *GetTopicRuleInput) SetRuleName(v string) *GetTopicRuleInput { - s.RuleName = &v +// SetLogLevel sets the LogLevel field's value. +func (s *LoggingOptionsPayload) SetLogLevel(v string) *LoggingOptionsPayload { + s.LogLevel = &v return s } -// The output from the GetTopicRule operation. -type GetTopicRuleOutput struct { +// SetRoleArn sets the RoleArn field's value. +func (s *LoggingOptionsPayload) SetRoleArn(v string) *LoggingOptionsPayload { + s.RoleArn = &v + return s +} + +// A certificate that has been transferred but not yet accepted. +type OutgoingCertificate struct { _ struct{} `type:"structure"` - // The rule. - Rule *TopicRule `locationName:"rule" type:"structure"` + // The certificate ARN. + CertificateArn *string `locationName:"certificateArn" type:"string"` - // The rule ARN. - RuleArn *string `locationName:"ruleArn" type:"string"` + // The certificate ID. + CertificateId *string `locationName:"certificateId" min:"64" type:"string"` + + // The certificate creation date. + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + + // The date the transfer was initiated. + TransferDate *time.Time `locationName:"transferDate" type:"timestamp" timestampFormat:"unix"` + + // The transfer message. + TransferMessage *string `locationName:"transferMessage" type:"string"` + + // The AWS account to which the transfer was made. + TransferredTo *string `locationName:"transferredTo" type:"string"` } // String returns the string representation -func (s GetTopicRuleOutput) String() string { +func (s OutgoingCertificate) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetTopicRuleOutput) GoString() string { +func (s OutgoingCertificate) GoString() string { return s.String() } -// SetRule sets the Rule field's value. -func (s *GetTopicRuleOutput) SetRule(v *TopicRule) *GetTopicRuleOutput { - s.Rule = v +// SetCertificateArn sets the CertificateArn field's value. +func (s *OutgoingCertificate) SetCertificateArn(v string) *OutgoingCertificate { + s.CertificateArn = &v return s } -// SetRuleArn sets the RuleArn field's value. -func (s *GetTopicRuleOutput) SetRuleArn(v string) *GetTopicRuleOutput { - s.RuleArn = &v +// SetCertificateId sets the CertificateId field's value. +func (s *OutgoingCertificate) SetCertificateId(v string) *OutgoingCertificate { + s.CertificateId = &v return s } -// Describes a key pair. -type KeyPair struct { +// SetCreationDate sets the CreationDate field's value. +func (s *OutgoingCertificate) SetCreationDate(v time.Time) *OutgoingCertificate { + s.CreationDate = &v + return s +} + +// SetTransferDate sets the TransferDate field's value. +func (s *OutgoingCertificate) SetTransferDate(v time.Time) *OutgoingCertificate { + s.TransferDate = &v + return s +} + +// SetTransferMessage sets the TransferMessage field's value. +func (s *OutgoingCertificate) SetTransferMessage(v string) *OutgoingCertificate { + s.TransferMessage = &v + return s +} + +// SetTransferredTo sets the TransferredTo field's value. +func (s *OutgoingCertificate) SetTransferredTo(v string) *OutgoingCertificate { + s.TransferredTo = &v + return s +} + +// Describes an AWS IoT policy. +type Policy struct { _ struct{} `type:"structure"` - // The private key. - PrivateKey *string `min:"1" type:"string"` + // The policy ARN. + PolicyArn *string `locationName:"policyArn" type:"string"` - // The public key. - PublicKey *string `min:"1" type:"string"` + // The policy name. + PolicyName *string `locationName:"policyName" min:"1" type:"string"` } // String returns the string representation -func (s KeyPair) String() string { +func (s Policy) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s KeyPair) GoString() string { +func (s Policy) GoString() string { return s.String() } -// SetPrivateKey sets the PrivateKey field's value. -func (s *KeyPair) SetPrivateKey(v string) *KeyPair { - s.PrivateKey = &v +// SetPolicyArn sets the PolicyArn field's value. +func (s *Policy) SetPolicyArn(v string) *Policy { + s.PolicyArn = &v return s } -// SetPublicKey sets the PublicKey field's value. -func (s *KeyPair) SetPublicKey(v string) *KeyPair { - s.PublicKey = &v +// SetPolicyName sets the PolicyName field's value. +func (s *Policy) SetPolicyName(v string) *Policy { + s.PolicyName = &v return s } -// Describes an action to write data to an Amazon Kinesis stream. -type KinesisAction struct { +// Describes a policy version. +type PolicyVersion struct { _ struct{} `type:"structure"` - // The partition key. - PartitionKey *string `locationName:"partitionKey" type:"string"` + // The date and time the policy was created. + CreateDate *time.Time `locationName:"createDate" type:"timestamp" timestampFormat:"unix"` - // The ARN of the IAM role that grants access to the Amazon Kinesis stream. - // - // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + // Specifies whether the policy version is the default. + IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"` - // The name of the Amazon Kinesis stream. - // - // StreamName is a required field - StreamName *string `locationName:"streamName" type:"string" required:"true"` + // The policy version ID. + VersionId *string `locationName:"versionId" type:"string"` +} + +// String returns the string representation +func (s PolicyVersion) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PolicyVersion) GoString() string { + return s.String() +} + +// SetCreateDate sets the CreateDate field's value. +func (s *PolicyVersion) SetCreateDate(v time.Time) *PolicyVersion { + s.CreateDate = &v + return s +} + +// SetIsDefaultVersion sets the IsDefaultVersion field's value. +func (s *PolicyVersion) SetIsDefaultVersion(v bool) *PolicyVersion { + s.IsDefaultVersion = &v + return s +} + +// SetVersionId sets the VersionId field's value. +func (s *PolicyVersion) SetVersionId(v string) *PolicyVersion { + s.VersionId = &v + return s +} + +// Configuration for pre-signed S3 URLs. +type PresignedUrlConfig struct { + _ struct{} `type:"structure"` + + // How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, + // the default value is 3600 seconds. Pre-signed URLs are generated when Jobs + // receives an MQTT request for the job document. + ExpiresInSec *int64 `locationName:"expiresInSec" min:"60" type:"long"` + + // The ARN of an IAM role that grants grants permission to download files from + // the S3 bucket where the job data/updates are stored. The role must also grant + // permission for IoT to download the files. + RoleArn *string `locationName:"roleArn" min:"20" type:"string"` } // String returns the string representation -func (s KinesisAction) String() string { +func (s PresignedUrlConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s KinesisAction) GoString() string { +func (s PresignedUrlConfig) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *KinesisAction) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "KinesisAction"} - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) +func (s *PresignedUrlConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PresignedUrlConfig"} + if s.ExpiresInSec != nil && *s.ExpiresInSec < 60 { + invalidParams.Add(request.NewErrParamMinValue("ExpiresInSec", 60)) } - if s.StreamName == nil { - invalidParams.Add(request.NewErrParamRequired("StreamName")) + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) } if invalidParams.Len() > 0 { @@ -8963,49 +20285,44 @@ func (s *KinesisAction) Validate() error { return nil } -// SetPartitionKey sets the PartitionKey field's value. -func (s *KinesisAction) SetPartitionKey(v string) *KinesisAction { - s.PartitionKey = &v +// SetExpiresInSec sets the ExpiresInSec field's value. +func (s *PresignedUrlConfig) SetExpiresInSec(v int64) *PresignedUrlConfig { + s.ExpiresInSec = &v return s } // SetRoleArn sets the RoleArn field's value. -func (s *KinesisAction) SetRoleArn(v string) *KinesisAction { +func (s *PresignedUrlConfig) SetRoleArn(v string) *PresignedUrlConfig { s.RoleArn = &v return s } -// SetStreamName sets the StreamName field's value. -func (s *KinesisAction) SetStreamName(v string) *KinesisAction { - s.StreamName = &v - return s -} - -// Describes an action to invoke a Lambda function. -type LambdaAction struct { +// The input for the DynamoActionVS action that specifies the DynamoDB table +// to which the message data will be written. +type PutItemInput struct { _ struct{} `type:"structure"` - // The ARN of the Lambda function. + // The table where the message data will be written // - // FunctionArn is a required field - FunctionArn *string `locationName:"functionArn" type:"string" required:"true"` + // TableName is a required field + TableName *string `locationName:"tableName" type:"string" required:"true"` } // String returns the string representation -func (s LambdaAction) String() string { +func (s PutItemInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s LambdaAction) GoString() string { +func (s PutItemInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *LambdaAction) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "LambdaAction"} - if s.FunctionArn == nil { - invalidParams.Add(request.NewErrParamRequired("FunctionArn")) +func (s *PutItemInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutItemInput"} + if s.TableName == nil { + invalidParams.Add(request.NewErrParamRequired("TableName")) } if invalidParams.Len() > 0 { @@ -9014,41 +20331,65 @@ func (s *LambdaAction) Validate() error { return nil } -// SetFunctionArn sets the FunctionArn field's value. -func (s *LambdaAction) SetFunctionArn(v string) *LambdaAction { - s.FunctionArn = &v +// SetTableName sets the TableName field's value. +func (s *PutItemInput) SetTableName(v string) *PutItemInput { + s.TableName = &v return s } -// Input for the ListCACertificates operation. -type ListCACertificatesInput struct { +// The input to the RegisterCACertificate operation. +type RegisterCACertificateInput struct { _ struct{} `type:"structure"` - // Determines the order of the results. - AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` + // Allows this CA certificate to be used for auto registration of device certificates. + AllowAutoRegistration *bool `location:"querystring" locationName:"allowAutoRegistration" type:"boolean"` - // The marker for the next set of results. - Marker *string `location:"querystring" locationName:"marker" type:"string"` + // The CA certificate. + // + // CaCertificate is a required field + CaCertificate *string `locationName:"caCertificate" min:"1" type:"string" required:"true"` - // The result page size. - PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` + // Information about the registration configuration. + RegistrationConfig *RegistrationConfig `locationName:"registrationConfig" type:"structure"` + + // A boolean value that specifies if the CA certificate is set to active. + SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"` + + // The private key verification certificate. + // + // VerificationCertificate is a required field + VerificationCertificate *string `locationName:"verificationCertificate" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s ListCACertificatesInput) String() string { +func (s RegisterCACertificateInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListCACertificatesInput) GoString() string { +func (s RegisterCACertificateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListCACertificatesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListCACertificatesInput"} - if s.PageSize != nil && *s.PageSize < 1 { - invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) +func (s *RegisterCACertificateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegisterCACertificateInput"} + if s.CaCertificate == nil { + invalidParams.Add(request.NewErrParamRequired("CaCertificate")) + } + if s.CaCertificate != nil && len(*s.CaCertificate) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CaCertificate", 1)) + } + if s.VerificationCertificate == nil { + invalidParams.Add(request.NewErrParamRequired("VerificationCertificate")) + } + if s.VerificationCertificate != nil && len(*s.VerificationCertificate) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VerificationCertificate", 1)) + } + if s.RegistrationConfig != nil { + if err := s.RegistrationConfig.Validate(); err != nil { + invalidParams.AddNested("RegistrationConfig", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -9057,99 +20398,109 @@ func (s *ListCACertificatesInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListCACertificatesInput) SetAscendingOrder(v bool) *ListCACertificatesInput { - s.AscendingOrder = &v +// SetAllowAutoRegistration sets the AllowAutoRegistration field's value. +func (s *RegisterCACertificateInput) SetAllowAutoRegistration(v bool) *RegisterCACertificateInput { + s.AllowAutoRegistration = &v return s } -// SetMarker sets the Marker field's value. -func (s *ListCACertificatesInput) SetMarker(v string) *ListCACertificatesInput { - s.Marker = &v +// SetCaCertificate sets the CaCertificate field's value. +func (s *RegisterCACertificateInput) SetCaCertificate(v string) *RegisterCACertificateInput { + s.CaCertificate = &v return s } -// SetPageSize sets the PageSize field's value. -func (s *ListCACertificatesInput) SetPageSize(v int64) *ListCACertificatesInput { - s.PageSize = &v +// SetRegistrationConfig sets the RegistrationConfig field's value. +func (s *RegisterCACertificateInput) SetRegistrationConfig(v *RegistrationConfig) *RegisterCACertificateInput { + s.RegistrationConfig = v return s } -// The output from the ListCACertificates operation. -type ListCACertificatesOutput struct { +// SetSetAsActive sets the SetAsActive field's value. +func (s *RegisterCACertificateInput) SetSetAsActive(v bool) *RegisterCACertificateInput { + s.SetAsActive = &v + return s +} + +// SetVerificationCertificate sets the VerificationCertificate field's value. +func (s *RegisterCACertificateInput) SetVerificationCertificate(v string) *RegisterCACertificateInput { + s.VerificationCertificate = &v + return s +} + +// The output from the RegisterCACertificateResponse operation. +type RegisterCACertificateOutput struct { _ struct{} `type:"structure"` - // The CA certificates registered in your AWS account. - Certificates []*CACertificate `locationName:"certificates" type:"list"` + // The CA certificate ARN. + CertificateArn *string `locationName:"certificateArn" type:"string"` - // The current position within the list of CA certificates. - NextMarker *string `locationName:"nextMarker" type:"string"` + // The CA certificate identifier. + CertificateId *string `locationName:"certificateId" min:"64" type:"string"` } // String returns the string representation -func (s ListCACertificatesOutput) String() string { +func (s RegisterCACertificateOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListCACertificatesOutput) GoString() string { +func (s RegisterCACertificateOutput) GoString() string { return s.String() } -// SetCertificates sets the Certificates field's value. -func (s *ListCACertificatesOutput) SetCertificates(v []*CACertificate) *ListCACertificatesOutput { - s.Certificates = v +// SetCertificateArn sets the CertificateArn field's value. +func (s *RegisterCACertificateOutput) SetCertificateArn(v string) *RegisterCACertificateOutput { + s.CertificateArn = &v return s } -// SetNextMarker sets the NextMarker field's value. -func (s *ListCACertificatesOutput) SetNextMarker(v string) *ListCACertificatesOutput { - s.NextMarker = &v +// SetCertificateId sets the CertificateId field's value. +func (s *RegisterCACertificateOutput) SetCertificateId(v string) *RegisterCACertificateOutput { + s.CertificateId = &v return s } -// The input to the ListCertificatesByCA operation. -type ListCertificatesByCAInput struct { +// The input to the RegisterCertificate operation. +type RegisterCertificateInput struct { _ struct{} `type:"structure"` - // Specifies the order for results. If True, the results are returned in ascending - // order, based on the creation date. - AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` + // The CA certificate used to sign the device certificate being registered. + CaCertificatePem *string `locationName:"caCertificatePem" min:"1" type:"string"` - // The ID of the CA certificate. This operation will list all registered device - // certificate that were signed by this CA certificate. + // The certificate data, in PEM format. // - // CaCertificateId is a required field - CaCertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` + // CertificatePem is a required field + CertificatePem *string `locationName:"certificatePem" min:"1" type:"string" required:"true"` - // The marker for the next set of results. - Marker *string `location:"querystring" locationName:"marker" type:"string"` + // A boolean value that specifies if the CA certificate is set to active. + SetAsActive *bool `location:"querystring" locationName:"setAsActive" deprecated:"true" type:"boolean"` - // The result page size. - PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` + // The status of the register certificate request. + Status *string `locationName:"status" type:"string" enum:"CertificateStatus"` } // String returns the string representation -func (s ListCertificatesByCAInput) String() string { +func (s RegisterCertificateInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListCertificatesByCAInput) GoString() string { +func (s RegisterCertificateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListCertificatesByCAInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListCertificatesByCAInput"} - if s.CaCertificateId == nil { - invalidParams.Add(request.NewErrParamRequired("CaCertificateId")) +func (s *RegisterCertificateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegisterCertificateInput"} + if s.CaCertificatePem != nil && len(*s.CaCertificatePem) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CaCertificatePem", 1)) } - if s.CaCertificateId != nil && len(*s.CaCertificateId) < 64 { - invalidParams.Add(request.NewErrParamMinLen("CaCertificateId", 64)) + if s.CertificatePem == nil { + invalidParams.Add(request.NewErrParamRequired("CertificatePem")) } - if s.PageSize != nil && *s.PageSize < 1 { - invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) + if s.CertificatePem != nil && len(*s.CertificatePem) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CertificatePem", 1)) } if invalidParams.Len() > 0 { @@ -9158,94 +20509,90 @@ func (s *ListCertificatesByCAInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListCertificatesByCAInput) SetAscendingOrder(v bool) *ListCertificatesByCAInput { - s.AscendingOrder = &v +// SetCaCertificatePem sets the CaCertificatePem field's value. +func (s *RegisterCertificateInput) SetCaCertificatePem(v string) *RegisterCertificateInput { + s.CaCertificatePem = &v return s } -// SetCaCertificateId sets the CaCertificateId field's value. -func (s *ListCertificatesByCAInput) SetCaCertificateId(v string) *ListCertificatesByCAInput { - s.CaCertificateId = &v +// SetCertificatePem sets the CertificatePem field's value. +func (s *RegisterCertificateInput) SetCertificatePem(v string) *RegisterCertificateInput { + s.CertificatePem = &v return s } -// SetMarker sets the Marker field's value. -func (s *ListCertificatesByCAInput) SetMarker(v string) *ListCertificatesByCAInput { - s.Marker = &v +// SetSetAsActive sets the SetAsActive field's value. +func (s *RegisterCertificateInput) SetSetAsActive(v bool) *RegisterCertificateInput { + s.SetAsActive = &v return s } -// SetPageSize sets the PageSize field's value. -func (s *ListCertificatesByCAInput) SetPageSize(v int64) *ListCertificatesByCAInput { - s.PageSize = &v +// SetStatus sets the Status field's value. +func (s *RegisterCertificateInput) SetStatus(v string) *RegisterCertificateInput { + s.Status = &v return s } -// The output of the ListCertificatesByCA operation. -type ListCertificatesByCAOutput struct { +// The output from the RegisterCertificate operation. +type RegisterCertificateOutput struct { _ struct{} `type:"structure"` - // The device certificates signed by the specified CA certificate. - Certificates []*Certificate `locationName:"certificates" type:"list"` + // The certificate ARN. + CertificateArn *string `locationName:"certificateArn" type:"string"` - // The marker for the next set of results, or null if there are no additional - // results. - NextMarker *string `locationName:"nextMarker" type:"string"` + // The certificate identifier. + CertificateId *string `locationName:"certificateId" min:"64" type:"string"` } // String returns the string representation -func (s ListCertificatesByCAOutput) String() string { +func (s RegisterCertificateOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListCertificatesByCAOutput) GoString() string { +func (s RegisterCertificateOutput) GoString() string { return s.String() } -// SetCertificates sets the Certificates field's value. -func (s *ListCertificatesByCAOutput) SetCertificates(v []*Certificate) *ListCertificatesByCAOutput { - s.Certificates = v +// SetCertificateArn sets the CertificateArn field's value. +func (s *RegisterCertificateOutput) SetCertificateArn(v string) *RegisterCertificateOutput { + s.CertificateArn = &v return s } -// SetNextMarker sets the NextMarker field's value. -func (s *ListCertificatesByCAOutput) SetNextMarker(v string) *ListCertificatesByCAOutput { - s.NextMarker = &v +// SetCertificateId sets the CertificateId field's value. +func (s *RegisterCertificateOutput) SetCertificateId(v string) *RegisterCertificateOutput { + s.CertificateId = &v return s } -// The input for the ListCertificates operation. -type ListCertificatesInput struct { - _ struct{} `type:"structure"` - - // Specifies the order for results. If True, the results are returned in ascending - // order, based on the creation date. - AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` +type RegisterThingInput struct { + _ struct{} `type:"structure"` - // The marker for the next set of results. - Marker *string `location:"querystring" locationName:"marker" type:"string"` + // The parameters for provisioning a thing. + Parameters map[string]*string `locationName:"parameters" type:"map"` - // The result page size. - PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` + // The provisioning template. + // + // TemplateBody is a required field + TemplateBody *string `locationName:"templateBody" type:"string" required:"true"` } // String returns the string representation -func (s ListCertificatesInput) String() string { +func (s RegisterThingInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListCertificatesInput) GoString() string { +func (s RegisterThingInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListCertificatesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListCertificatesInput"} - if s.PageSize != nil && *s.PageSize < 1 { - invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) +func (s *RegisterThingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegisterThingInput"} + if s.TemplateBody == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateBody")) } if invalidParams.Len() > 0 { @@ -9254,88 +20601,76 @@ func (s *ListCertificatesInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListCertificatesInput) SetAscendingOrder(v bool) *ListCertificatesInput { - s.AscendingOrder = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListCertificatesInput) SetMarker(v string) *ListCertificatesInput { - s.Marker = &v +// SetParameters sets the Parameters field's value. +func (s *RegisterThingInput) SetParameters(v map[string]*string) *RegisterThingInput { + s.Parameters = v return s } -// SetPageSize sets the PageSize field's value. -func (s *ListCertificatesInput) SetPageSize(v int64) *ListCertificatesInput { - s.PageSize = &v +// SetTemplateBody sets the TemplateBody field's value. +func (s *RegisterThingInput) SetTemplateBody(v string) *RegisterThingInput { + s.TemplateBody = &v return s } -// The output of the ListCertificates operation. -type ListCertificatesOutput struct { +type RegisterThingOutput struct { _ struct{} `type:"structure"` - // The descriptions of the certificates. - Certificates []*Certificate `locationName:"certificates" type:"list"` + // The PEM of a certificate. + CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"` - // The marker for the next set of results, or null if there are no additional - // results. - NextMarker *string `locationName:"nextMarker" type:"string"` + // ARNs for the generated resources. + ResourceArns map[string]*string `locationName:"resourceArns" type:"map"` } // String returns the string representation -func (s ListCertificatesOutput) String() string { +func (s RegisterThingOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListCertificatesOutput) GoString() string { +func (s RegisterThingOutput) GoString() string { return s.String() } -// SetCertificates sets the Certificates field's value. -func (s *ListCertificatesOutput) SetCertificates(v []*Certificate) *ListCertificatesOutput { - s.Certificates = v +// SetCertificatePem sets the CertificatePem field's value. +func (s *RegisterThingOutput) SetCertificatePem(v string) *RegisterThingOutput { + s.CertificatePem = &v return s } -// SetNextMarker sets the NextMarker field's value. -func (s *ListCertificatesOutput) SetNextMarker(v string) *ListCertificatesOutput { - s.NextMarker = &v +// SetResourceArns sets the ResourceArns field's value. +func (s *RegisterThingOutput) SetResourceArns(v map[string]*string) *RegisterThingOutput { + s.ResourceArns = v return s } -// The input to the ListOutgoingCertificates operation. -type ListOutgoingCertificatesInput struct { +// The registration configuration. +type RegistrationConfig struct { _ struct{} `type:"structure"` - // Specifies the order for results. If True, the results are returned in ascending - // order, based on the creation date. - AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` - - // The marker for the next set of results. - Marker *string `location:"querystring" locationName:"marker" type:"string"` + // The ARN of the role. + RoleArn *string `locationName:"roleArn" min:"20" type:"string"` - // The result page size. - PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` + // The template body. + TemplateBody *string `locationName:"templateBody" type:"string"` } // String returns the string representation -func (s ListOutgoingCertificatesInput) String() string { +func (s RegistrationConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListOutgoingCertificatesInput) GoString() string { +func (s RegistrationConfig) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListOutgoingCertificatesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListOutgoingCertificatesInput"} - if s.PageSize != nil && *s.PageSize < 1 { - invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) +func (s *RegistrationConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegistrationConfig"} + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) } if invalidParams.Len() > 0 { @@ -9344,87 +20679,117 @@ func (s *ListOutgoingCertificatesInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListOutgoingCertificatesInput) SetAscendingOrder(v bool) *ListOutgoingCertificatesInput { - s.AscendingOrder = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListOutgoingCertificatesInput) SetMarker(v string) *ListOutgoingCertificatesInput { - s.Marker = &v +// SetRoleArn sets the RoleArn field's value. +func (s *RegistrationConfig) SetRoleArn(v string) *RegistrationConfig { + s.RoleArn = &v return s } -// SetPageSize sets the PageSize field's value. -func (s *ListOutgoingCertificatesInput) SetPageSize(v int64) *ListOutgoingCertificatesInput { - s.PageSize = &v +// SetTemplateBody sets the TemplateBody field's value. +func (s *RegistrationConfig) SetTemplateBody(v string) *RegistrationConfig { + s.TemplateBody = &v return s } -// The output from the ListOutgoingCertificates operation. -type ListOutgoingCertificatesOutput struct { +// The input for the RejectCertificateTransfer operation. +type RejectCertificateTransferInput struct { _ struct{} `type:"structure"` - // The marker for the next set of results. - NextMarker *string `locationName:"nextMarker" type:"string"` + // The ID of the certificate. + // + // CertificateId is a required field + CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` - // The certificates that are being transfered but not yet accepted. - OutgoingCertificates []*OutgoingCertificate `locationName:"outgoingCertificates" type:"list"` + // The reason the certificate transfer was rejected. + RejectReason *string `locationName:"rejectReason" type:"string"` } // String returns the string representation -func (s ListOutgoingCertificatesOutput) String() string { +func (s RejectCertificateTransferInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListOutgoingCertificatesOutput) GoString() string { +func (s RejectCertificateTransferInput) GoString() string { return s.String() } -// SetNextMarker sets the NextMarker field's value. -func (s *ListOutgoingCertificatesOutput) SetNextMarker(v string) *ListOutgoingCertificatesOutput { - s.NextMarker = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *RejectCertificateTransferInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RejectCertificateTransferInput"} + if s.CertificateId == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateId")) + } + if s.CertificateId != nil && len(*s.CertificateId) < 64 { + invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCertificateId sets the CertificateId field's value. +func (s *RejectCertificateTransferInput) SetCertificateId(v string) *RejectCertificateTransferInput { + s.CertificateId = &v return s } -// SetOutgoingCertificates sets the OutgoingCertificates field's value. -func (s *ListOutgoingCertificatesOutput) SetOutgoingCertificates(v []*OutgoingCertificate) *ListOutgoingCertificatesOutput { - s.OutgoingCertificates = v +// SetRejectReason sets the RejectReason field's value. +func (s *RejectCertificateTransferInput) SetRejectReason(v string) *RejectCertificateTransferInput { + s.RejectReason = &v return s } -// The input for the ListPolicies operation. -type ListPoliciesInput struct { +type RejectCertificateTransferOutput struct { _ struct{} `type:"structure"` +} - // Specifies the order for results. If true, the results are returned in ascending - // creation order. - AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` +// String returns the string representation +func (s RejectCertificateTransferOutput) String() string { + return awsutil.Prettify(s) +} - // The marker for the next set of results. - Marker *string `location:"querystring" locationName:"marker" type:"string"` +// GoString returns the string representation +func (s RejectCertificateTransferOutput) GoString() string { + return s.String() +} - // The result page size. - PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` +type RemoveThingFromThingGroupInput struct { + _ struct{} `type:"structure"` + + // The ARN of the thing to remove from the group. + ThingArn *string `locationName:"thingArn" type:"string"` + + // The group ARN. + ThingGroupArn *string `locationName:"thingGroupArn" type:"string"` + + // The group name. + ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"` + + // The name of the thing to remove from the group. + ThingName *string `locationName:"thingName" min:"1" type:"string"` } // String returns the string representation -func (s ListPoliciesInput) String() string { +func (s RemoveThingFromThingGroupInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListPoliciesInput) GoString() string { +func (s RemoveThingFromThingGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListPoliciesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListPoliciesInput"} - if s.PageSize != nil && *s.PageSize < 1 { - invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) +func (s *RemoveThingFromThingGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RemoveThingFromThingGroupInput"} + if s.ThingGroupName != nil && len(*s.ThingGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingGroupName", 1)) + } + if s.ThingName != nil && len(*s.ThingName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) } if invalidParams.Len() > 0 { @@ -9433,193 +20798,152 @@ func (s *ListPoliciesInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListPoliciesInput) SetAscendingOrder(v bool) *ListPoliciesInput { - s.AscendingOrder = &v +// SetThingArn sets the ThingArn field's value. +func (s *RemoveThingFromThingGroupInput) SetThingArn(v string) *RemoveThingFromThingGroupInput { + s.ThingArn = &v return s } -// SetMarker sets the Marker field's value. -func (s *ListPoliciesInput) SetMarker(v string) *ListPoliciesInput { - s.Marker = &v +// SetThingGroupArn sets the ThingGroupArn field's value. +func (s *RemoveThingFromThingGroupInput) SetThingGroupArn(v string) *RemoveThingFromThingGroupInput { + s.ThingGroupArn = &v return s } -// SetPageSize sets the PageSize field's value. -func (s *ListPoliciesInput) SetPageSize(v int64) *ListPoliciesInput { - s.PageSize = &v +// SetThingGroupName sets the ThingGroupName field's value. +func (s *RemoveThingFromThingGroupInput) SetThingGroupName(v string) *RemoveThingFromThingGroupInput { + s.ThingGroupName = &v return s } -// The output from the ListPolicies operation. -type ListPoliciesOutput struct { - _ struct{} `type:"structure"` - - // The marker for the next set of results, or null if there are no additional - // results. - NextMarker *string `locationName:"nextMarker" type:"string"` +// SetThingName sets the ThingName field's value. +func (s *RemoveThingFromThingGroupInput) SetThingName(v string) *RemoveThingFromThingGroupInput { + s.ThingName = &v + return s +} - // The descriptions of the policies. - Policies []*Policy `locationName:"policies" type:"list"` +type RemoveThingFromThingGroupOutput struct { + _ struct{} `type:"structure"` } // String returns the string representation -func (s ListPoliciesOutput) String() string { +func (s RemoveThingFromThingGroupOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListPoliciesOutput) GoString() string { +func (s RemoveThingFromThingGroupOutput) GoString() string { return s.String() } -// SetNextMarker sets the NextMarker field's value. -func (s *ListPoliciesOutput) SetNextMarker(v string) *ListPoliciesOutput { - s.NextMarker = &v - return s -} - -// SetPolicies sets the Policies field's value. -func (s *ListPoliciesOutput) SetPolicies(v []*Policy) *ListPoliciesOutput { - s.Policies = v - return s -} - -// The input for the ListPolicyPrincipals operation. -type ListPolicyPrincipalsInput struct { - _ struct{} `type:"structure"` - - // Specifies the order for results. If true, the results are returned in ascending - // creation order. - AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` - - // The marker for the next set of results. - Marker *string `location:"querystring" locationName:"marker" type:"string"` +// The input for the ReplaceTopicRule operation. +type ReplaceTopicRuleInput struct { + _ struct{} `type:"structure" payload:"TopicRulePayload"` - // The result page size. - PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` + // The name of the rule. + // + // RuleName is a required field + RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` - // The policy name. + // The rule payload. // - // PolicyName is a required field - PolicyName *string `location:"header" locationName:"x-amzn-iot-policy" min:"1" type:"string" required:"true"` + // TopicRulePayload is a required field + TopicRulePayload *TopicRulePayload `locationName:"topicRulePayload" type:"structure" required:"true"` } // String returns the string representation -func (s ListPolicyPrincipalsInput) String() string { +func (s ReplaceTopicRuleInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListPolicyPrincipalsInput) GoString() string { +func (s ReplaceTopicRuleInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListPolicyPrincipalsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListPolicyPrincipalsInput"} - if s.PageSize != nil && *s.PageSize < 1 { - invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) +func (s *ReplaceTopicRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ReplaceTopicRuleInput"} + if s.RuleName == nil { + invalidParams.Add(request.NewErrParamRequired("RuleName")) } - if s.PolicyName == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyName")) + if s.RuleName != nil && len(*s.RuleName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RuleName", 1)) } - if s.PolicyName != nil && len(*s.PolicyName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + if s.TopicRulePayload == nil { + invalidParams.Add(request.NewErrParamRequired("TopicRulePayload")) } - - if invalidParams.Len() > 0 { - return invalidParams + if s.TopicRulePayload != nil { + if err := s.TopicRulePayload.Validate(); err != nil { + invalidParams.AddNested("TopicRulePayload", err.(request.ErrInvalidParams)) + } } - return nil -} - -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListPolicyPrincipalsInput) SetAscendingOrder(v bool) *ListPolicyPrincipalsInput { - s.AscendingOrder = &v - return s -} -// SetMarker sets the Marker field's value. -func (s *ListPolicyPrincipalsInput) SetMarker(v string) *ListPolicyPrincipalsInput { - s.Marker = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetPageSize sets the PageSize field's value. -func (s *ListPolicyPrincipalsInput) SetPageSize(v int64) *ListPolicyPrincipalsInput { - s.PageSize = &v +// SetRuleName sets the RuleName field's value. +func (s *ReplaceTopicRuleInput) SetRuleName(v string) *ReplaceTopicRuleInput { + s.RuleName = &v return s } -// SetPolicyName sets the PolicyName field's value. -func (s *ListPolicyPrincipalsInput) SetPolicyName(v string) *ListPolicyPrincipalsInput { - s.PolicyName = &v +// SetTopicRulePayload sets the TopicRulePayload field's value. +func (s *ReplaceTopicRuleInput) SetTopicRulePayload(v *TopicRulePayload) *ReplaceTopicRuleInput { + s.TopicRulePayload = v return s } -// The output from the ListPolicyPrincipals operation. -type ListPolicyPrincipalsOutput struct { +type ReplaceTopicRuleOutput struct { _ struct{} `type:"structure"` - - // The marker for the next set of results, or null if there are no additional - // results. - NextMarker *string `locationName:"nextMarker" type:"string"` - - // The descriptions of the principals. - Principals []*string `locationName:"principals" type:"list"` } // String returns the string representation -func (s ListPolicyPrincipalsOutput) String() string { +func (s ReplaceTopicRuleOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListPolicyPrincipalsOutput) GoString() string { +func (s ReplaceTopicRuleOutput) GoString() string { return s.String() } -// SetNextMarker sets the NextMarker field's value. -func (s *ListPolicyPrincipalsOutput) SetNextMarker(v string) *ListPolicyPrincipalsOutput { - s.NextMarker = &v - return s -} - -// SetPrincipals sets the Principals field's value. -func (s *ListPolicyPrincipalsOutput) SetPrincipals(v []*string) *ListPolicyPrincipalsOutput { - s.Principals = v - return s -} - -// The input for the ListPolicyVersions operation. -type ListPolicyVersionsInput struct { +// Describes an action to republish to another topic. +type RepublishAction struct { _ struct{} `type:"structure"` - // The policy name. + // The ARN of the IAM role that grants access. // - // PolicyName is a required field - PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + + // The name of the MQTT topic. + // + // Topic is a required field + Topic *string `locationName:"topic" type:"string" required:"true"` } // String returns the string representation -func (s ListPolicyVersionsInput) String() string { +func (s RepublishAction) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListPolicyVersionsInput) GoString() string { +func (s RepublishAction) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListPolicyVersionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListPolicyVersionsInput"} - if s.PolicyName == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyName")) +func (s *RepublishAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RepublishAction"} + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) } - if s.PolicyName != nil && len(*s.PolicyName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + if s.Topic == nil { + invalidParams.Add(request.NewErrParamRequired("Topic")) } if invalidParams.Len() > 0 { @@ -9628,74 +20952,132 @@ func (s *ListPolicyVersionsInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *ListPolicyVersionsInput) SetPolicyName(v string) *ListPolicyVersionsInput { - s.PolicyName = &v +// SetRoleArn sets the RoleArn field's value. +func (s *RepublishAction) SetRoleArn(v string) *RepublishAction { + s.RoleArn = &v return s } -// The output from the ListPolicyVersions operation. -type ListPolicyVersionsOutput struct { +// SetTopic sets the Topic field's value. +func (s *RepublishAction) SetTopic(v string) *RepublishAction { + s.Topic = &v + return s +} + +// Role alias description. +type RoleAliasDescription struct { _ struct{} `type:"structure"` - // The policy versions. - PolicyVersions []*PolicyVersion `locationName:"policyVersions" type:"list"` + // The UNIX timestamp of when the role alias was created. + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + + // The number of seconds for which the credential is valid. + CredentialDurationSeconds *int64 `locationName:"credentialDurationSeconds" min:"900" type:"integer"` + + // The UNIX timestamp of when the role alias was last modified. + LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` + + // The role alias owner. + Owner *string `locationName:"owner" type:"string"` + + // The role alias. + RoleAlias *string `locationName:"roleAlias" min:"1" type:"string"` + + // The role ARN. + RoleArn *string `locationName:"roleArn" min:"20" type:"string"` } // String returns the string representation -func (s ListPolicyVersionsOutput) String() string { +func (s RoleAliasDescription) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListPolicyVersionsOutput) GoString() string { +func (s RoleAliasDescription) GoString() string { return s.String() } -// SetPolicyVersions sets the PolicyVersions field's value. -func (s *ListPolicyVersionsOutput) SetPolicyVersions(v []*PolicyVersion) *ListPolicyVersionsOutput { - s.PolicyVersions = v +// SetCreationDate sets the CreationDate field's value. +func (s *RoleAliasDescription) SetCreationDate(v time.Time) *RoleAliasDescription { + s.CreationDate = &v return s } -// The input for the ListPrincipalPolicies operation. -type ListPrincipalPoliciesInput struct { +// SetCredentialDurationSeconds sets the CredentialDurationSeconds field's value. +func (s *RoleAliasDescription) SetCredentialDurationSeconds(v int64) *RoleAliasDescription { + s.CredentialDurationSeconds = &v + return s +} + +// SetLastModifiedDate sets the LastModifiedDate field's value. +func (s *RoleAliasDescription) SetLastModifiedDate(v time.Time) *RoleAliasDescription { + s.LastModifiedDate = &v + return s +} + +// SetOwner sets the Owner field's value. +func (s *RoleAliasDescription) SetOwner(v string) *RoleAliasDescription { + s.Owner = &v + return s +} + +// SetRoleAlias sets the RoleAlias field's value. +func (s *RoleAliasDescription) SetRoleAlias(v string) *RoleAliasDescription { + s.RoleAlias = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *RoleAliasDescription) SetRoleArn(v string) *RoleAliasDescription { + s.RoleArn = &v + return s +} + +// Describes an action to write data to an Amazon S3 bucket. +type S3Action struct { _ struct{} `type:"structure"` - // Specifies the order for results. If true, results are returned in ascending - // creation order. - AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` + // The Amazon S3 bucket. + // + // BucketName is a required field + BucketName *string `locationName:"bucketName" type:"string" required:"true"` - // The marker for the next set of results. - Marker *string `location:"querystring" locationName:"marker" type:"string"` + // The Amazon S3 canned ACL that controls access to the object identified by + // the object key. For more information, see S3 canned ACLs (http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). + CannedAcl *string `locationName:"cannedAcl" type:"string" enum:"CannedAccessControlList"` - // The result page size. - PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` + // The object key. + // + // Key is a required field + Key *string `locationName:"key" type:"string" required:"true"` - // The principal. + // The ARN of the IAM role that grants access. // - // Principal is a required field - Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"` + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" type:"string" required:"true"` } // String returns the string representation -func (s ListPrincipalPoliciesInput) String() string { +func (s S3Action) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListPrincipalPoliciesInput) GoString() string { +func (s S3Action) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListPrincipalPoliciesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListPrincipalPoliciesInput"} - if s.PageSize != nil && *s.PageSize < 1 { - invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) +func (s *S3Action) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3Action"} + if s.BucketName == nil { + invalidParams.Add(request.NewErrParamRequired("BucketName")) } - if s.Principal == nil { - invalidParams.Add(request.NewErrParamRequired("Principal")) + if s.Key == nil { + invalidParams.Add(request.NewErrParamRequired("Key")) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) } if invalidParams.Len() > 0 { @@ -9704,99 +21086,135 @@ func (s *ListPrincipalPoliciesInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListPrincipalPoliciesInput) SetAscendingOrder(v bool) *ListPrincipalPoliciesInput { - s.AscendingOrder = &v +// SetBucketName sets the BucketName field's value. +func (s *S3Action) SetBucketName(v string) *S3Action { + s.BucketName = &v return s } -// SetMarker sets the Marker field's value. -func (s *ListPrincipalPoliciesInput) SetMarker(v string) *ListPrincipalPoliciesInput { - s.Marker = &v +// SetCannedAcl sets the CannedAcl field's value. +func (s *S3Action) SetCannedAcl(v string) *S3Action { + s.CannedAcl = &v return s } -// SetPageSize sets the PageSize field's value. -func (s *ListPrincipalPoliciesInput) SetPageSize(v int64) *ListPrincipalPoliciesInput { - s.PageSize = &v +// SetKey sets the Key field's value. +func (s *S3Action) SetKey(v string) *S3Action { + s.Key = &v return s } -// SetPrincipal sets the Principal field's value. -func (s *ListPrincipalPoliciesInput) SetPrincipal(v string) *ListPrincipalPoliciesInput { - s.Principal = &v +// SetRoleArn sets the RoleArn field's value. +func (s *S3Action) SetRoleArn(v string) *S3Action { + s.RoleArn = &v return s } -// The output from the ListPrincipalPolicies operation. -type ListPrincipalPoliciesOutput struct { +// Describes an action to write a message to a Salesforce IoT Cloud Input Stream. +type SalesforceAction struct { _ struct{} `type:"structure"` - // The marker for the next set of results, or null if there are no additional - // results. - NextMarker *string `locationName:"nextMarker" type:"string"` + // The token used to authenticate access to the Salesforce IoT Cloud Input Stream. + // The token is available from the Salesforce IoT Cloud platform after creation + // of the Input Stream. + // + // Token is a required field + Token *string `locationName:"token" min:"40" type:"string" required:"true"` - // The policies. - Policies []*Policy `locationName:"policies" type:"list"` + // The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available + // from the Salesforce IoT Cloud platform after creation of the Input Stream. + // + // Url is a required field + Url *string `locationName:"url" type:"string" required:"true"` } // String returns the string representation -func (s ListPrincipalPoliciesOutput) String() string { +func (s SalesforceAction) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListPrincipalPoliciesOutput) GoString() string { +func (s SalesforceAction) GoString() string { return s.String() } -// SetNextMarker sets the NextMarker field's value. -func (s *ListPrincipalPoliciesOutput) SetNextMarker(v string) *ListPrincipalPoliciesOutput { - s.NextMarker = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *SalesforceAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SalesforceAction"} + if s.Token == nil { + invalidParams.Add(request.NewErrParamRequired("Token")) + } + if s.Token != nil && len(*s.Token) < 40 { + invalidParams.Add(request.NewErrParamMinLen("Token", 40)) + } + if s.Url == nil { + invalidParams.Add(request.NewErrParamRequired("Url")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetToken sets the Token field's value. +func (s *SalesforceAction) SetToken(v string) *SalesforceAction { + s.Token = &v return s } -// SetPolicies sets the Policies field's value. -func (s *ListPrincipalPoliciesOutput) SetPolicies(v []*Policy) *ListPrincipalPoliciesOutput { - s.Policies = v +// SetUrl sets the Url field's value. +func (s *SalesforceAction) SetUrl(v string) *SalesforceAction { + s.Url = &v return s } -// The input for the ListPrincipalThings operation. -type ListPrincipalThingsInput struct { +type SearchIndexInput struct { _ struct{} `type:"structure"` - // The maximum number of results to return in this operation. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + // The search index name. + IndexName *string `locationName:"indexName" min:"1" type:"string"` - // The token for the next set of results, or null if there are no additional + // The maximum number of results to return at one time. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // The token used to get the next set of results, or null if there are no additional // results. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + NextToken *string `locationName:"nextToken" type:"string"` - // The principal. + // The search query string. // - // Principal is a required field - Principal *string `location:"header" locationName:"x-amzn-principal" type:"string" required:"true"` + // QueryString is a required field + QueryString *string `locationName:"queryString" min:"1" type:"string" required:"true"` + + // The query version. + QueryVersion *string `locationName:"queryVersion" type:"string"` } // String returns the string representation -func (s ListPrincipalThingsInput) String() string { +func (s SearchIndexInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListPrincipalThingsInput) GoString() string { +func (s SearchIndexInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListPrincipalThingsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListPrincipalThingsInput"} +func (s *SearchIndexInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchIndexInput"} + if s.IndexName != nil && len(*s.IndexName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IndexName", 1)) + } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.Principal == nil { - invalidParams.Add(request.NewErrParamRequired("Principal")) + if s.QueryString == nil { + invalidParams.Add(request.NewErrParamRequired("QueryString")) + } + if s.QueryString != nil && len(*s.QueryString) < 1 { + invalidParams.Add(request.NewErrParamMinLen("QueryString", 1)) } if invalidParams.Len() > 0 { @@ -9805,86 +21223,96 @@ func (s *ListPrincipalThingsInput) Validate() error { return nil } +// SetIndexName sets the IndexName field's value. +func (s *SearchIndexInput) SetIndexName(v string) *SearchIndexInput { + s.IndexName = &v + return s +} + // SetMaxResults sets the MaxResults field's value. -func (s *ListPrincipalThingsInput) SetMaxResults(v int64) *ListPrincipalThingsInput { +func (s *SearchIndexInput) SetMaxResults(v int64) *SearchIndexInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListPrincipalThingsInput) SetNextToken(v string) *ListPrincipalThingsInput { +func (s *SearchIndexInput) SetNextToken(v string) *SearchIndexInput { s.NextToken = &v return s } -// SetPrincipal sets the Principal field's value. -func (s *ListPrincipalThingsInput) SetPrincipal(v string) *ListPrincipalThingsInput { - s.Principal = &v +// SetQueryString sets the QueryString field's value. +func (s *SearchIndexInput) SetQueryString(v string) *SearchIndexInput { + s.QueryString = &v return s } -// The output from the ListPrincipalThings operation. -type ListPrincipalThingsOutput struct { +// SetQueryVersion sets the QueryVersion field's value. +func (s *SearchIndexInput) SetQueryVersion(v string) *SearchIndexInput { + s.QueryVersion = &v + return s +} + +type SearchIndexOutput struct { _ struct{} `type:"structure"` - // The token for the next set of results, or null if there are no additional + // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` - // The things. - Things []*string `locationName:"things" type:"list"` + // The things that match the search query. + Things []*ThingDocument `locationName:"things" type:"list"` } // String returns the string representation -func (s ListPrincipalThingsOutput) String() string { +func (s SearchIndexOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListPrincipalThingsOutput) GoString() string { +func (s SearchIndexOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *ListPrincipalThingsOutput) SetNextToken(v string) *ListPrincipalThingsOutput { +func (s *SearchIndexOutput) SetNextToken(v string) *SearchIndexOutput { s.NextToken = &v return s } // SetThings sets the Things field's value. -func (s *ListPrincipalThingsOutput) SetThings(v []*string) *ListPrincipalThingsOutput { +func (s *SearchIndexOutput) SetThings(v []*ThingDocument) *SearchIndexOutput { s.Things = v return s } -// The input for the ListThingPrincipal operation. -type ListThingPrincipalsInput struct { +type SetDefaultAuthorizerInput struct { _ struct{} `type:"structure"` - // The name of the thing. + // The authorizer name. // - // ThingName is a required field - ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` + // AuthorizerName is a required field + AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s ListThingPrincipalsInput) String() string { +func (s SetDefaultAuthorizerInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListThingPrincipalsInput) GoString() string { +func (s SetDefaultAuthorizerInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListThingPrincipalsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListThingPrincipalsInput"} - if s.ThingName == nil { - invalidParams.Add(request.NewErrParamRequired("ThingName")) +func (s *SetDefaultAuthorizerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SetDefaultAuthorizerInput"} + if s.AuthorizerName == nil { + invalidParams.Add(request.NewErrParamRequired("AuthorizerName")) } - if s.ThingName != nil && len(*s.ThingName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) + if s.AuthorizerName != nil && len(*s.AuthorizerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AuthorizerName", 1)) } if invalidParams.Len() > 0 { @@ -9893,69 +21321,80 @@ func (s *ListThingPrincipalsInput) Validate() error { return nil } -// SetThingName sets the ThingName field's value. -func (s *ListThingPrincipalsInput) SetThingName(v string) *ListThingPrincipalsInput { - s.ThingName = &v +// SetAuthorizerName sets the AuthorizerName field's value. +func (s *SetDefaultAuthorizerInput) SetAuthorizerName(v string) *SetDefaultAuthorizerInput { + s.AuthorizerName = &v return s } -// The output from the ListThingPrincipals operation. -type ListThingPrincipalsOutput struct { +type SetDefaultAuthorizerOutput struct { _ struct{} `type:"structure"` - // The principals associated with the thing. - Principals []*string `locationName:"principals" type:"list"` + // The authorizer ARN. + AuthorizerArn *string `locationName:"authorizerArn" type:"string"` + + // The authorizer name. + AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"` } // String returns the string representation -func (s ListThingPrincipalsOutput) String() string { +func (s SetDefaultAuthorizerOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListThingPrincipalsOutput) GoString() string { +func (s SetDefaultAuthorizerOutput) GoString() string { return s.String() } -// SetPrincipals sets the Principals field's value. -func (s *ListThingPrincipalsOutput) SetPrincipals(v []*string) *ListThingPrincipalsOutput { - s.Principals = v +// SetAuthorizerArn sets the AuthorizerArn field's value. +func (s *SetDefaultAuthorizerOutput) SetAuthorizerArn(v string) *SetDefaultAuthorizerOutput { + s.AuthorizerArn = &v return s } -// The input for the ListThingTypes operation. -type ListThingTypesInput struct { - _ struct{} `type:"structure"` +// SetAuthorizerName sets the AuthorizerName field's value. +func (s *SetDefaultAuthorizerOutput) SetAuthorizerName(v string) *SetDefaultAuthorizerOutput { + s.AuthorizerName = &v + return s +} - // The maximum number of results to return in this operation. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` +// The input for the SetDefaultPolicyVersion operation. +type SetDefaultPolicyVersionInput struct { + _ struct{} `type:"structure"` - // The token for the next set of results, or null if there are no additional - // results. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + // The policy name. + // + // PolicyName is a required field + PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` - // The name of the thing type. - ThingTypeName *string `location:"querystring" locationName:"thingTypeName" min:"1" type:"string"` + // The policy version ID. + // + // PolicyVersionId is a required field + PolicyVersionId *string `location:"uri" locationName:"policyVersionId" type:"string" required:"true"` } // String returns the string representation -func (s ListThingTypesInput) String() string { +func (s SetDefaultPolicyVersionInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListThingTypesInput) GoString() string { +func (s SetDefaultPolicyVersionInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListThingTypesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListThingTypesInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *SetDefaultPolicyVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SetDefaultPolicyVersionInput"} + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) } - if s.ThingTypeName != nil && len(*s.ThingTypeName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThingTypeName", 1)) + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + } + if s.PolicyVersionId == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyVersionId")) } if invalidParams.Len() > 0 { @@ -9964,97 +21403,62 @@ func (s *ListThingTypesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListThingTypesInput) SetMaxResults(v int64) *ListThingTypesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListThingTypesInput) SetNextToken(v string) *ListThingTypesInput { - s.NextToken = &v +// SetPolicyName sets the PolicyName field's value. +func (s *SetDefaultPolicyVersionInput) SetPolicyName(v string) *SetDefaultPolicyVersionInput { + s.PolicyName = &v return s } -// SetThingTypeName sets the ThingTypeName field's value. -func (s *ListThingTypesInput) SetThingTypeName(v string) *ListThingTypesInput { - s.ThingTypeName = &v +// SetPolicyVersionId sets the PolicyVersionId field's value. +func (s *SetDefaultPolicyVersionInput) SetPolicyVersionId(v string) *SetDefaultPolicyVersionInput { + s.PolicyVersionId = &v return s } -// The output for the ListThingTypes operation. -type ListThingTypesOutput struct { +type SetDefaultPolicyVersionOutput struct { _ struct{} `type:"structure"` - - // The token for the next set of results, or null if there are no additional - // results. - NextToken *string `locationName:"nextToken" type:"string"` - - // The thing types. - ThingTypes []*ThingTypeDefinition `locationName:"thingTypes" type:"list"` } // String returns the string representation -func (s ListThingTypesOutput) String() string { +func (s SetDefaultPolicyVersionOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListThingTypesOutput) GoString() string { +func (s SetDefaultPolicyVersionOutput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListThingTypesOutput) SetNextToken(v string) *ListThingTypesOutput { - s.NextToken = &v - return s -} - -// SetThingTypes sets the ThingTypes field's value. -func (s *ListThingTypesOutput) SetThingTypes(v []*ThingTypeDefinition) *ListThingTypesOutput { - s.ThingTypes = v - return s -} - -// The input for the ListThings operation. -type ListThingsInput struct { - _ struct{} `type:"structure"` - - // The attribute name used to search for things. - AttributeName *string `location:"querystring" locationName:"attributeName" type:"string"` - - // The attribute value used to search for things. - AttributeValue *string `location:"querystring" locationName:"attributeValue" type:"string"` - - // The maximum number of results to return in this operation. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - - // The token for the next set of results, or null if there are no additional - // results. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +// The input for the SetLoggingOptions operation. +type SetLoggingOptionsInput struct { + _ struct{} `type:"structure" payload:"LoggingOptionsPayload"` - // The name of the thing type used to search for things. - ThingTypeName *string `location:"querystring" locationName:"thingTypeName" min:"1" type:"string"` + // The logging options payload. + // + // LoggingOptionsPayload is a required field + LoggingOptionsPayload *LoggingOptionsPayload `locationName:"loggingOptionsPayload" type:"structure" required:"true"` } // String returns the string representation -func (s ListThingsInput) String() string { +func (s SetLoggingOptionsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListThingsInput) GoString() string { +func (s SetLoggingOptionsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListThingsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListThingsInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *SetLoggingOptionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SetLoggingOptionsInput"} + if s.LoggingOptionsPayload == nil { + invalidParams.Add(request.NewErrParamRequired("LoggingOptionsPayload")) } - if s.ThingTypeName != nil && len(*s.ThingTypeName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThingTypeName", 1)) + if s.LoggingOptionsPayload != nil { + if err := s.LoggingOptionsPayload.Validate(); err != nil { + invalidParams.AddNested("LoggingOptionsPayload", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -10063,102 +21467,63 @@ func (s *ListThingsInput) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *ListThingsInput) SetAttributeName(v string) *ListThingsInput { - s.AttributeName = &v - return s -} - -// SetAttributeValue sets the AttributeValue field's value. -func (s *ListThingsInput) SetAttributeValue(v string) *ListThingsInput { - s.AttributeValue = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListThingsInput) SetMaxResults(v int64) *ListThingsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListThingsInput) SetNextToken(v string) *ListThingsInput { - s.NextToken = &v - return s -} - -// SetThingTypeName sets the ThingTypeName field's value. -func (s *ListThingsInput) SetThingTypeName(v string) *ListThingsInput { - s.ThingTypeName = &v +// SetLoggingOptionsPayload sets the LoggingOptionsPayload field's value. +func (s *SetLoggingOptionsInput) SetLoggingOptionsPayload(v *LoggingOptionsPayload) *SetLoggingOptionsInput { + s.LoggingOptionsPayload = v return s } -// The output from the ListThings operation. -type ListThingsOutput struct { +type SetLoggingOptionsOutput struct { _ struct{} `type:"structure"` - - // The token for the next set of results, or null if there are no additional - // results. - NextToken *string `locationName:"nextToken" type:"string"` - - // The things. - Things []*ThingAttribute `locationName:"things" type:"list"` } // String returns the string representation -func (s ListThingsOutput) String() string { +func (s SetLoggingOptionsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListThingsOutput) GoString() string { +func (s SetLoggingOptionsOutput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListThingsOutput) SetNextToken(v string) *ListThingsOutput { - s.NextToken = &v - return s -} - -// SetThings sets the Things field's value. -func (s *ListThingsOutput) SetThings(v []*ThingAttribute) *ListThingsOutput { - s.Things = v - return s -} - -// The input for the ListTopicRules operation. -type ListTopicRulesInput struct { +type SetV2LoggingLevelInput struct { _ struct{} `type:"structure"` - // The maximum number of results to return. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - - // A token used to retrieve the next value. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - - // Specifies whether the rule is disabled. - RuleDisabled *bool `location:"querystring" locationName:"ruleDisabled" type:"boolean"` + // The log level. + // + // LogLevel is a required field + LogLevel *string `locationName:"logLevel" type:"string" required:"true" enum:"LogLevel"` - // The topic. - Topic *string `location:"querystring" locationName:"topic" type:"string"` + // The log target. + // + // LogTarget is a required field + LogTarget *LogTarget `locationName:"logTarget" type:"structure" required:"true"` } // String returns the string representation -func (s ListTopicRulesInput) String() string { +func (s SetV2LoggingLevelInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListTopicRulesInput) GoString() string { +func (s SetV2LoggingLevelInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListTopicRulesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListTopicRulesInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *SetV2LoggingLevelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SetV2LoggingLevelInput"} + if s.LogLevel == nil { + invalidParams.Add(request.NewErrParamRequired("LogLevel")) + } + if s.LogTarget == nil { + invalidParams.Add(request.NewErrParamRequired("LogTarget")) + } + if s.LogTarget != nil { + if err := s.LogTarget.Validate(); err != nil { + invalidParams.AddNested("LogTarget", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -10167,92 +21532,129 @@ func (s *ListTopicRulesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListTopicRulesInput) SetMaxResults(v int64) *ListTopicRulesInput { - s.MaxResults = &v +// SetLogLevel sets the LogLevel field's value. +func (s *SetV2LoggingLevelInput) SetLogLevel(v string) *SetV2LoggingLevelInput { + s.LogLevel = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListTopicRulesInput) SetNextToken(v string) *ListTopicRulesInput { - s.NextToken = &v +// SetLogTarget sets the LogTarget field's value. +func (s *SetV2LoggingLevelInput) SetLogTarget(v *LogTarget) *SetV2LoggingLevelInput { + s.LogTarget = v return s } -// SetRuleDisabled sets the RuleDisabled field's value. -func (s *ListTopicRulesInput) SetRuleDisabled(v bool) *ListTopicRulesInput { - s.RuleDisabled = &v - return s +type SetV2LoggingLevelOutput struct { + _ struct{} `type:"structure"` } -// SetTopic sets the Topic field's value. -func (s *ListTopicRulesInput) SetTopic(v string) *ListTopicRulesInput { - s.Topic = &v - return s +// String returns the string representation +func (s SetV2LoggingLevelOutput) String() string { + return awsutil.Prettify(s) } -// The output from the ListTopicRules operation. -type ListTopicRulesOutput struct { +// GoString returns the string representation +func (s SetV2LoggingLevelOutput) GoString() string { + return s.String() +} + +type SetV2LoggingOptionsInput struct { _ struct{} `type:"structure"` - // A token used to retrieve the next value. - NextToken *string `locationName:"nextToken" type:"string"` + // The default logging level. + DefaultLogLevel *string `locationName:"defaultLogLevel" type:"string" enum:"LogLevel"` - // The rules. - Rules []*TopicRuleListItem `locationName:"rules" type:"list"` + // Set to true to disable all logs, otherwise set to false. + DisableAllLogs *bool `locationName:"disableAllLogs" type:"boolean"` + + // The role ARN that allows IoT to write to Cloudwatch logs. + RoleArn *string `locationName:"roleArn" type:"string"` } // String returns the string representation -func (s ListTopicRulesOutput) String() string { +func (s SetV2LoggingOptionsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListTopicRulesOutput) GoString() string { +func (s SetV2LoggingOptionsInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListTopicRulesOutput) SetNextToken(v string) *ListTopicRulesOutput { - s.NextToken = &v +// SetDefaultLogLevel sets the DefaultLogLevel field's value. +func (s *SetV2LoggingOptionsInput) SetDefaultLogLevel(v string) *SetV2LoggingOptionsInput { + s.DefaultLogLevel = &v return s } -// SetRules sets the Rules field's value. -func (s *ListTopicRulesOutput) SetRules(v []*TopicRuleListItem) *ListTopicRulesOutput { - s.Rules = v +// SetDisableAllLogs sets the DisableAllLogs field's value. +func (s *SetV2LoggingOptionsInput) SetDisableAllLogs(v bool) *SetV2LoggingOptionsInput { + s.DisableAllLogs = &v return s } -// Describes the logging options payload. -type LoggingOptionsPayload struct { +// SetRoleArn sets the RoleArn field's value. +func (s *SetV2LoggingOptionsInput) SetRoleArn(v string) *SetV2LoggingOptionsInput { + s.RoleArn = &v + return s +} + +type SetV2LoggingOptionsOutput struct { _ struct{} `type:"structure"` +} - // The logging level. - LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` +// String returns the string representation +func (s SetV2LoggingOptionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SetV2LoggingOptionsOutput) GoString() string { + return s.String() +} + +// Describes an action to publish to an Amazon SNS topic. +type SnsAction struct { + _ struct{} `type:"structure"` + + // The message format of the message to publish. Optional. Accepted values are + // "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this + // setting to determine if the payload should be parsed and relevant platform-specific + // bits of the payload should be extracted. To read more about SNS message formats, + // see http://docs.aws.amazon.com/sns/latest/dg/json-formats.html (http://docs.aws.amazon.com/sns/latest/dg/json-formats.html) + // refer to their official documentation. + MessageFormat *string `locationName:"messageFormat" type:"string" enum:"MessageFormat"` // The ARN of the IAM role that grants access. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + + // The ARN of the SNS topic. + // + // TargetArn is a required field + TargetArn *string `locationName:"targetArn" type:"string" required:"true"` } // String returns the string representation -func (s LoggingOptionsPayload) String() string { +func (s SnsAction) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s LoggingOptionsPayload) GoString() string { +func (s SnsAction) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *LoggingOptionsPayload) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "LoggingOptionsPayload"} +func (s *SnsAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SnsAction"} if s.RoleArn == nil { invalidParams.Add(request.NewErrParamRequired("RoleArn")) } + if s.TargetArn == nil { + invalidParams.Add(request.NewErrParamRequired("TargetArn")) + } if invalidParams.Len() > 0 { return invalidParams @@ -10260,188 +21662,224 @@ func (s *LoggingOptionsPayload) Validate() error { return nil } -// SetLogLevel sets the LogLevel field's value. -func (s *LoggingOptionsPayload) SetLogLevel(v string) *LoggingOptionsPayload { - s.LogLevel = &v +// SetMessageFormat sets the MessageFormat field's value. +func (s *SnsAction) SetMessageFormat(v string) *SnsAction { + s.MessageFormat = &v return s } // SetRoleArn sets the RoleArn field's value. -func (s *LoggingOptionsPayload) SetRoleArn(v string) *LoggingOptionsPayload { +func (s *SnsAction) SetRoleArn(v string) *SnsAction { s.RoleArn = &v return s } -// A certificate that has been transfered but not yet accepted. -type OutgoingCertificate struct { - _ struct{} `type:"structure"` - - // The certificate ARN. - CertificateArn *string `locationName:"certificateArn" type:"string"` - - // The certificate ID. - CertificateId *string `locationName:"certificateId" min:"64" type:"string"` +// SetTargetArn sets the TargetArn field's value. +func (s *SnsAction) SetTargetArn(v string) *SnsAction { + s.TargetArn = &v + return s +} - // The certificate creation date. - CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` +// Describes an action to publish data to an Amazon SQS queue. +type SqsAction struct { + _ struct{} `type:"structure"` - // The date the transfer was initiated. - TransferDate *time.Time `locationName:"transferDate" type:"timestamp" timestampFormat:"unix"` + // The URL of the Amazon SQS queue. + // + // QueueUrl is a required field + QueueUrl *string `locationName:"queueUrl" type:"string" required:"true"` - // The transfer message. - TransferMessage *string `locationName:"transferMessage" type:"string"` + // The ARN of the IAM role that grants access. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" type:"string" required:"true"` - // The AWS account to which the transfer was made. - TransferredTo *string `locationName:"transferredTo" type:"string"` + // Specifies whether to use Base64 encoding. + UseBase64 *bool `locationName:"useBase64" type:"boolean"` } // String returns the string representation -func (s OutgoingCertificate) String() string { +func (s SqsAction) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s OutgoingCertificate) GoString() string { +func (s SqsAction) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *OutgoingCertificate) SetCertificateArn(v string) *OutgoingCertificate { - s.CertificateArn = &v - return s -} - -// SetCertificateId sets the CertificateId field's value. -func (s *OutgoingCertificate) SetCertificateId(v string) *OutgoingCertificate { - s.CertificateId = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *SqsAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SqsAction"} + if s.QueueUrl == nil { + invalidParams.Add(request.NewErrParamRequired("QueueUrl")) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } -// SetCreationDate sets the CreationDate field's value. -func (s *OutgoingCertificate) SetCreationDate(v time.Time) *OutgoingCertificate { - s.CreationDate = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetTransferDate sets the TransferDate field's value. -func (s *OutgoingCertificate) SetTransferDate(v time.Time) *OutgoingCertificate { - s.TransferDate = &v +// SetQueueUrl sets the QueueUrl field's value. +func (s *SqsAction) SetQueueUrl(v string) *SqsAction { + s.QueueUrl = &v return s } -// SetTransferMessage sets the TransferMessage field's value. -func (s *OutgoingCertificate) SetTransferMessage(v string) *OutgoingCertificate { - s.TransferMessage = &v +// SetRoleArn sets the RoleArn field's value. +func (s *SqsAction) SetRoleArn(v string) *SqsAction { + s.RoleArn = &v return s } -// SetTransferredTo sets the TransferredTo field's value. -func (s *OutgoingCertificate) SetTransferredTo(v string) *OutgoingCertificate { - s.TransferredTo = &v +// SetUseBase64 sets the UseBase64 field's value. +func (s *SqsAction) SetUseBase64(v bool) *SqsAction { + s.UseBase64 = &v return s } -// Describes an AWS IoT policy. -type Policy struct { +type StartThingRegistrationTaskInput struct { _ struct{} `type:"structure"` - // The policy ARN. - PolicyArn *string `locationName:"policyArn" type:"string"` + // The S3 bucket that contains the input file. + // + // InputFileBucket is a required field + InputFileBucket *string `locationName:"inputFileBucket" min:"3" type:"string" required:"true"` - // The policy name. - PolicyName *string `locationName:"policyName" min:"1" type:"string"` + // The name of input file within the S3 bucket. This file contains a newline + // delimited JSON file. Each line contains the parameter values to provision + // one device (thing). + // + // InputFileKey is a required field + InputFileKey *string `locationName:"inputFileKey" min:"1" type:"string" required:"true"` + + // The IAM role ARN that grants permission the input file. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` + + // The provisioning template. + // + // TemplateBody is a required field + TemplateBody *string `locationName:"templateBody" type:"string" required:"true"` } // String returns the string representation -func (s Policy) String() string { +func (s StartThingRegistrationTaskInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s Policy) GoString() string { +func (s StartThingRegistrationTaskInput) GoString() string { return s.String() } -// SetPolicyArn sets the PolicyArn field's value. -func (s *Policy) SetPolicyArn(v string) *Policy { - s.PolicyArn = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartThingRegistrationTaskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartThingRegistrationTaskInput"} + if s.InputFileBucket == nil { + invalidParams.Add(request.NewErrParamRequired("InputFileBucket")) + } + if s.InputFileBucket != nil && len(*s.InputFileBucket) < 3 { + invalidParams.Add(request.NewErrParamMinLen("InputFileBucket", 3)) + } + if s.InputFileKey == nil { + invalidParams.Add(request.NewErrParamRequired("InputFileKey")) + } + if s.InputFileKey != nil && len(*s.InputFileKey) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputFileKey", 1)) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) + } + if s.TemplateBody == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateBody")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputFileBucket sets the InputFileBucket field's value. +func (s *StartThingRegistrationTaskInput) SetInputFileBucket(v string) *StartThingRegistrationTaskInput { + s.InputFileBucket = &v return s } -// SetPolicyName sets the PolicyName field's value. -func (s *Policy) SetPolicyName(v string) *Policy { - s.PolicyName = &v +// SetInputFileKey sets the InputFileKey field's value. +func (s *StartThingRegistrationTaskInput) SetInputFileKey(v string) *StartThingRegistrationTaskInput { + s.InputFileKey = &v return s } -// Describes a policy version. -type PolicyVersion struct { - _ struct{} `type:"structure"` +// SetRoleArn sets the RoleArn field's value. +func (s *StartThingRegistrationTaskInput) SetRoleArn(v string) *StartThingRegistrationTaskInput { + s.RoleArn = &v + return s +} - // The date and time the policy was created. - CreateDate *time.Time `locationName:"createDate" type:"timestamp" timestampFormat:"unix"` +// SetTemplateBody sets the TemplateBody field's value. +func (s *StartThingRegistrationTaskInput) SetTemplateBody(v string) *StartThingRegistrationTaskInput { + s.TemplateBody = &v + return s +} - // Specifies whether the policy version is the default. - IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"` +type StartThingRegistrationTaskOutput struct { + _ struct{} `type:"structure"` - // The policy version ID. - VersionId *string `locationName:"versionId" type:"string"` + // The bulk thing provisioning task ID. + TaskId *string `locationName:"taskId" type:"string"` } // String returns the string representation -func (s PolicyVersion) String() string { +func (s StartThingRegistrationTaskOutput) String() string { return awsutil.Prettify(s) } - -// GoString returns the string representation -func (s PolicyVersion) GoString() string { - return s.String() -} - -// SetCreateDate sets the CreateDate field's value. -func (s *PolicyVersion) SetCreateDate(v time.Time) *PolicyVersion { - s.CreateDate = &v - return s -} - -// SetIsDefaultVersion sets the IsDefaultVersion field's value. -func (s *PolicyVersion) SetIsDefaultVersion(v bool) *PolicyVersion { - s.IsDefaultVersion = &v - return s + +// GoString returns the string representation +func (s StartThingRegistrationTaskOutput) GoString() string { + return s.String() } -// SetVersionId sets the VersionId field's value. -func (s *PolicyVersion) SetVersionId(v string) *PolicyVersion { - s.VersionId = &v +// SetTaskId sets the TaskId field's value. +func (s *StartThingRegistrationTaskOutput) SetTaskId(v string) *StartThingRegistrationTaskOutput { + s.TaskId = &v return s } -// The input for the DynamoActionVS action that specifies the DynamoDB table -// to which the message data will be written. -type PutItemInput struct { +type StopThingRegistrationTaskInput struct { _ struct{} `type:"structure"` - // The table where the message data will be written + // The bulk thing provisioning task ID. // - // TableName is a required field - TableName *string `locationName:"tableName" type:"string" required:"true"` + // TaskId is a required field + TaskId *string `location:"uri" locationName:"taskId" type:"string" required:"true"` } // String returns the string representation -func (s PutItemInput) String() string { +func (s StopThingRegistrationTaskInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s PutItemInput) GoString() string { +func (s StopThingRegistrationTaskInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *PutItemInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "PutItemInput"} - if s.TableName == nil { - invalidParams.Add(request.NewErrParamRequired("TableName")) +func (s *StopThingRegistrationTaskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StopThingRegistrationTaskInput"} + if s.TaskId == nil { + invalidParams.Add(request.NewErrParamRequired("TaskId")) } if invalidParams.Len() > 0 { @@ -10450,57 +21888,71 @@ func (s *PutItemInput) Validate() error { return nil } -// SetTableName sets the TableName field's value. -func (s *PutItemInput) SetTableName(v string) *PutItemInput { - s.TableName = &v +// SetTaskId sets the TaskId field's value. +func (s *StopThingRegistrationTaskInput) SetTaskId(v string) *StopThingRegistrationTaskInput { + s.TaskId = &v return s } -// The input to the RegisterCACertificate operation. -type RegisterCACertificateInput struct { +type StopThingRegistrationTaskOutput struct { _ struct{} `type:"structure"` +} - // Allows this CA certificate to be used for auto registration of device certificates. - AllowAutoRegistration *bool `location:"querystring" locationName:"allowAutoRegistration" type:"boolean"` +// String returns the string representation +func (s StopThingRegistrationTaskOutput) String() string { + return awsutil.Prettify(s) +} - // The CA certificate. - // - // CaCertificate is a required field - CaCertificate *string `locationName:"caCertificate" min:"1" type:"string" required:"true"` +// GoString returns the string representation +func (s StopThingRegistrationTaskOutput) GoString() string { + return s.String() +} - // A boolean value that specifies if the CA certificate is set to active. - SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"` +type TestAuthorizationInput struct { + _ struct{} `type:"structure"` - // The private key verification certificate. + // A list of authorization info objects. Simulating authorization will create + // a response for each authInfo object in the list. // - // VerificationCertificate is a required field - VerificationCertificate *string `locationName:"verificationCertificate" min:"1" type:"string" required:"true"` + // AuthInfos is a required field + AuthInfos []*AuthInfo `locationName:"authInfos" min:"1" type:"list" required:"true"` + + // The MQTT client ID. + ClientId *string `location:"querystring" locationName:"clientId" type:"string"` + + // The Cognito identity pool ID. + CognitoIdentityPoolId *string `locationName:"cognitoIdentityPoolId" type:"string"` + + // When testing custom authorization, the policies specified here are treated + // as if they are attached to the principal being authorized. + PolicyNamesToAdd []*string `locationName:"policyNamesToAdd" type:"list"` + + // When testing custom authorization, the policies specified here are treated + // as if they are not attached to the principal being authorized. + PolicyNamesToSkip []*string `locationName:"policyNamesToSkip" type:"list"` + + // The principal. + Principal *string `locationName:"principal" type:"string"` } // String returns the string representation -func (s RegisterCACertificateInput) String() string { +func (s TestAuthorizationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RegisterCACertificateInput) GoString() string { +func (s TestAuthorizationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RegisterCACertificateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RegisterCACertificateInput"} - if s.CaCertificate == nil { - invalidParams.Add(request.NewErrParamRequired("CaCertificate")) - } - if s.CaCertificate != nil && len(*s.CaCertificate) < 1 { - invalidParams.Add(request.NewErrParamMinLen("CaCertificate", 1)) - } - if s.VerificationCertificate == nil { - invalidParams.Add(request.NewErrParamRequired("VerificationCertificate")) +func (s *TestAuthorizationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TestAuthorizationInput"} + if s.AuthInfos == nil { + invalidParams.Add(request.NewErrParamRequired("AuthInfos")) } - if s.VerificationCertificate != nil && len(*s.VerificationCertificate) < 1 { - invalidParams.Add(request.NewErrParamMinLen("VerificationCertificate", 1)) + if s.AuthInfos != nil && len(s.AuthInfos) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AuthInfos", 1)) } if invalidParams.Len() > 0 { @@ -10509,103 +21961,115 @@ func (s *RegisterCACertificateInput) Validate() error { return nil } -// SetAllowAutoRegistration sets the AllowAutoRegistration field's value. -func (s *RegisterCACertificateInput) SetAllowAutoRegistration(v bool) *RegisterCACertificateInput { - s.AllowAutoRegistration = &v +// SetAuthInfos sets the AuthInfos field's value. +func (s *TestAuthorizationInput) SetAuthInfos(v []*AuthInfo) *TestAuthorizationInput { + s.AuthInfos = v return s } -// SetCaCertificate sets the CaCertificate field's value. -func (s *RegisterCACertificateInput) SetCaCertificate(v string) *RegisterCACertificateInput { - s.CaCertificate = &v +// SetClientId sets the ClientId field's value. +func (s *TestAuthorizationInput) SetClientId(v string) *TestAuthorizationInput { + s.ClientId = &v return s } -// SetSetAsActive sets the SetAsActive field's value. -func (s *RegisterCACertificateInput) SetSetAsActive(v bool) *RegisterCACertificateInput { - s.SetAsActive = &v +// SetCognitoIdentityPoolId sets the CognitoIdentityPoolId field's value. +func (s *TestAuthorizationInput) SetCognitoIdentityPoolId(v string) *TestAuthorizationInput { + s.CognitoIdentityPoolId = &v return s } -// SetVerificationCertificate sets the VerificationCertificate field's value. -func (s *RegisterCACertificateInput) SetVerificationCertificate(v string) *RegisterCACertificateInput { - s.VerificationCertificate = &v +// SetPolicyNamesToAdd sets the PolicyNamesToAdd field's value. +func (s *TestAuthorizationInput) SetPolicyNamesToAdd(v []*string) *TestAuthorizationInput { + s.PolicyNamesToAdd = v return s } -// The output from the RegisterCACertificateResponse operation. -type RegisterCACertificateOutput struct { - _ struct{} `type:"structure"` +// SetPolicyNamesToSkip sets the PolicyNamesToSkip field's value. +func (s *TestAuthorizationInput) SetPolicyNamesToSkip(v []*string) *TestAuthorizationInput { + s.PolicyNamesToSkip = v + return s +} - // The CA certificate ARN. - CertificateArn *string `locationName:"certificateArn" type:"string"` +// SetPrincipal sets the Principal field's value. +func (s *TestAuthorizationInput) SetPrincipal(v string) *TestAuthorizationInput { + s.Principal = &v + return s +} - // The CA certificate identifier. - CertificateId *string `locationName:"certificateId" min:"64" type:"string"` +type TestAuthorizationOutput struct { + _ struct{} `type:"structure"` + + // The authentication results. + AuthResults []*AuthResult `locationName:"authResults" type:"list"` } // String returns the string representation -func (s RegisterCACertificateOutput) String() string { +func (s TestAuthorizationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RegisterCACertificateOutput) GoString() string { +func (s TestAuthorizationOutput) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *RegisterCACertificateOutput) SetCertificateArn(v string) *RegisterCACertificateOutput { - s.CertificateArn = &v - return s -} - -// SetCertificateId sets the CertificateId field's value. -func (s *RegisterCACertificateOutput) SetCertificateId(v string) *RegisterCACertificateOutput { - s.CertificateId = &v +// SetAuthResults sets the AuthResults field's value. +func (s *TestAuthorizationOutput) SetAuthResults(v []*AuthResult) *TestAuthorizationOutput { + s.AuthResults = v return s } -// The input to the RegisterCertificate operation. -type RegisterCertificateInput struct { +type TestInvokeAuthorizerInput struct { _ struct{} `type:"structure"` - // The CA certificate used to sign the device certificate being registered. - CaCertificatePem *string `locationName:"caCertificatePem" min:"1" type:"string"` - - // The certificate data, in PEM format. + // The custom authorizer name. // - // CertificatePem is a required field - CertificatePem *string `locationName:"certificatePem" min:"1" type:"string" required:"true"` + // AuthorizerName is a required field + AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"` - // A boolean value that specifies if the CA certificate is set to active. - SetAsActive *bool `location:"querystring" locationName:"setAsActive" deprecated:"true" type:"boolean"` + // The token returned by your custom authentication service. + // + // Token is a required field + Token *string `locationName:"token" min:"1" type:"string" required:"true"` - // The status of the register certificate request. - Status *string `locationName:"status" type:"string" enum:"CertificateStatus"` + // The signature made with the token and your custom authentication service's + // private key. + // + // TokenSignature is a required field + TokenSignature *string `locationName:"tokenSignature" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s RegisterCertificateInput) String() string { +func (s TestInvokeAuthorizerInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RegisterCertificateInput) GoString() string { +func (s TestInvokeAuthorizerInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RegisterCertificateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RegisterCertificateInput"} - if s.CaCertificatePem != nil && len(*s.CaCertificatePem) < 1 { - invalidParams.Add(request.NewErrParamMinLen("CaCertificatePem", 1)) +func (s *TestInvokeAuthorizerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TestInvokeAuthorizerInput"} + if s.AuthorizerName == nil { + invalidParams.Add(request.NewErrParamRequired("AuthorizerName")) } - if s.CertificatePem == nil { - invalidParams.Add(request.NewErrParamRequired("CertificatePem")) + if s.AuthorizerName != nil && len(*s.AuthorizerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AuthorizerName", 1)) } - if s.CertificatePem != nil && len(*s.CertificatePem) < 1 { - invalidParams.Add(request.NewErrParamMinLen("CertificatePem", 1)) + if s.Token == nil { + invalidParams.Add(request.NewErrParamRequired("Token")) + } + if s.Token != nil && len(*s.Token) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Token", 1)) + } + if s.TokenSignature == nil { + invalidParams.Add(request.NewErrParamRequired("TokenSignature")) + } + if s.TokenSignature != nil && len(*s.TokenSignature) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TokenSignature", 1)) } if invalidParams.Len() > 0 { @@ -10614,623 +22078,661 @@ func (s *RegisterCertificateInput) Validate() error { return nil } -// SetCaCertificatePem sets the CaCertificatePem field's value. -func (s *RegisterCertificateInput) SetCaCertificatePem(v string) *RegisterCertificateInput { - s.CaCertificatePem = &v - return s -} - -// SetCertificatePem sets the CertificatePem field's value. -func (s *RegisterCertificateInput) SetCertificatePem(v string) *RegisterCertificateInput { - s.CertificatePem = &v +// SetAuthorizerName sets the AuthorizerName field's value. +func (s *TestInvokeAuthorizerInput) SetAuthorizerName(v string) *TestInvokeAuthorizerInput { + s.AuthorizerName = &v return s } -// SetSetAsActive sets the SetAsActive field's value. -func (s *RegisterCertificateInput) SetSetAsActive(v bool) *RegisterCertificateInput { - s.SetAsActive = &v +// SetToken sets the Token field's value. +func (s *TestInvokeAuthorizerInput) SetToken(v string) *TestInvokeAuthorizerInput { + s.Token = &v return s } -// SetStatus sets the Status field's value. -func (s *RegisterCertificateInput) SetStatus(v string) *RegisterCertificateInput { - s.Status = &v +// SetTokenSignature sets the TokenSignature field's value. +func (s *TestInvokeAuthorizerInput) SetTokenSignature(v string) *TestInvokeAuthorizerInput { + s.TokenSignature = &v return s } -// The output from the RegisterCertificate operation. -type RegisterCertificateOutput struct { +type TestInvokeAuthorizerOutput struct { _ struct{} `type:"structure"` - // The certificate ARN. - CertificateArn *string `locationName:"certificateArn" type:"string"` + // The number of seconds after which the connection is terminated. + DisconnectAfterInSeconds *int64 `locationName:"disconnectAfterInSeconds" type:"integer"` - // The certificate identifier. - CertificateId *string `locationName:"certificateId" min:"64" type:"string"` + // True if the token is authenticated, otherwise false. + IsAuthenticated *bool `locationName:"isAuthenticated" type:"boolean"` + + // IAM policy documents. + PolicyDocuments []*string `locationName:"policyDocuments" type:"list"` + + // The principal ID. + PrincipalId *string `locationName:"principalId" min:"1" type:"string"` + + // The number of seconds after which the temporary credentials are refreshed. + RefreshAfterInSeconds *int64 `locationName:"refreshAfterInSeconds" type:"integer"` } // String returns the string representation -func (s RegisterCertificateOutput) String() string { +func (s TestInvokeAuthorizerOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RegisterCertificateOutput) GoString() string { +func (s TestInvokeAuthorizerOutput) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *RegisterCertificateOutput) SetCertificateArn(v string) *RegisterCertificateOutput { - s.CertificateArn = &v +// SetDisconnectAfterInSeconds sets the DisconnectAfterInSeconds field's value. +func (s *TestInvokeAuthorizerOutput) SetDisconnectAfterInSeconds(v int64) *TestInvokeAuthorizerOutput { + s.DisconnectAfterInSeconds = &v return s } -// SetCertificateId sets the CertificateId field's value. -func (s *RegisterCertificateOutput) SetCertificateId(v string) *RegisterCertificateOutput { - s.CertificateId = &v +// SetIsAuthenticated sets the IsAuthenticated field's value. +func (s *TestInvokeAuthorizerOutput) SetIsAuthenticated(v bool) *TestInvokeAuthorizerOutput { + s.IsAuthenticated = &v return s } -// The input for the RejectCertificateTransfer operation. -type RejectCertificateTransferInput struct { +// SetPolicyDocuments sets the PolicyDocuments field's value. +func (s *TestInvokeAuthorizerOutput) SetPolicyDocuments(v []*string) *TestInvokeAuthorizerOutput { + s.PolicyDocuments = v + return s +} + +// SetPrincipalId sets the PrincipalId field's value. +func (s *TestInvokeAuthorizerOutput) SetPrincipalId(v string) *TestInvokeAuthorizerOutput { + s.PrincipalId = &v + return s +} + +// SetRefreshAfterInSeconds sets the RefreshAfterInSeconds field's value. +func (s *TestInvokeAuthorizerOutput) SetRefreshAfterInSeconds(v int64) *TestInvokeAuthorizerOutput { + s.RefreshAfterInSeconds = &v + return s +} + +// The properties of the thing, including thing name, thing type name, and a +// list of thing attributes. +type ThingAttribute struct { _ struct{} `type:"structure"` - // The ID of the certificate. - // - // CertificateId is a required field - CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` + // A list of thing attributes which are name-value pairs. + Attributes map[string]*string `locationName:"attributes" type:"map"` - // The reason the certificate transfer was rejected. - RejectReason *string `locationName:"rejectReason" type:"string"` + // The thing ARN. + ThingArn *string `locationName:"thingArn" type:"string"` + + // The name of the thing. + ThingName *string `locationName:"thingName" min:"1" type:"string"` + + // The name of the thing type, if the thing has been associated with a type. + ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` + + // The version of the thing record in the registry. + Version *int64 `locationName:"version" type:"long"` } // String returns the string representation -func (s RejectCertificateTransferInput) String() string { +func (s ThingAttribute) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RejectCertificateTransferInput) GoString() string { +func (s ThingAttribute) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RejectCertificateTransferInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RejectCertificateTransferInput"} - if s.CertificateId == nil { - invalidParams.Add(request.NewErrParamRequired("CertificateId")) - } - if s.CertificateId != nil && len(*s.CertificateId) < 64 { - invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) - } +// SetAttributes sets the Attributes field's value. +func (s *ThingAttribute) SetAttributes(v map[string]*string) *ThingAttribute { + s.Attributes = v + return s +} + +// SetThingArn sets the ThingArn field's value. +func (s *ThingAttribute) SetThingArn(v string) *ThingAttribute { + s.ThingArn = &v + return s +} + +// SetThingName sets the ThingName field's value. +func (s *ThingAttribute) SetThingName(v string) *ThingAttribute { + s.ThingName = &v + return s +} + +// SetThingTypeName sets the ThingTypeName field's value. +func (s *ThingAttribute) SetThingTypeName(v string) *ThingAttribute { + s.ThingTypeName = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *ThingAttribute) SetVersion(v int64) *ThingAttribute { + s.Version = &v + return s +} + +// The thing search index document. +type ThingDocument struct { + _ struct{} `type:"structure"` + + // The attributes. + Attributes map[string]*string `locationName:"attributes" type:"map"` + + // The thing shadow. + Shadow *string `locationName:"shadow" type:"string"` + + // Thing group names. + ThingGroupNames []*string `locationName:"thingGroupNames" type:"list"` + + // The thing ID. + ThingId *string `locationName:"thingId" type:"string"` + + // The thing name. + ThingName *string `locationName:"thingName" min:"1" type:"string"` + + // The thing type name. + ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` +} + +// String returns the string representation +func (s ThingDocument) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ThingDocument) GoString() string { + return s.String() +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetAttributes sets the Attributes field's value. +func (s *ThingDocument) SetAttributes(v map[string]*string) *ThingDocument { + s.Attributes = v + return s } -// SetCertificateId sets the CertificateId field's value. -func (s *RejectCertificateTransferInput) SetCertificateId(v string) *RejectCertificateTransferInput { - s.CertificateId = &v +// SetShadow sets the Shadow field's value. +func (s *ThingDocument) SetShadow(v string) *ThingDocument { + s.Shadow = &v return s } -// SetRejectReason sets the RejectReason field's value. -func (s *RejectCertificateTransferInput) SetRejectReason(v string) *RejectCertificateTransferInput { - s.RejectReason = &v +// SetThingGroupNames sets the ThingGroupNames field's value. +func (s *ThingDocument) SetThingGroupNames(v []*string) *ThingDocument { + s.ThingGroupNames = v return s } -type RejectCertificateTransferOutput struct { - _ struct{} `type:"structure"` +// SetThingId sets the ThingId field's value. +func (s *ThingDocument) SetThingId(v string) *ThingDocument { + s.ThingId = &v + return s } -// String returns the string representation -func (s RejectCertificateTransferOutput) String() string { - return awsutil.Prettify(s) +// SetThingName sets the ThingName field's value. +func (s *ThingDocument) SetThingName(v string) *ThingDocument { + s.ThingName = &v + return s } -// GoString returns the string representation -func (s RejectCertificateTransferOutput) GoString() string { - return s.String() +// SetThingTypeName sets the ThingTypeName field's value. +func (s *ThingDocument) SetThingTypeName(v string) *ThingDocument { + s.ThingTypeName = &v + return s } -// The input for the ReplaceTopicRule operation. -type ReplaceTopicRuleInput struct { - _ struct{} `type:"structure" payload:"TopicRulePayload"` +// Thing group metadata. +type ThingGroupMetadata struct { + _ struct{} `type:"structure"` - // The name of the rule. - // - // RuleName is a required field - RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` + // The UNIX timestamp of when the thing group was created. + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` - // The rule payload. - // - // TopicRulePayload is a required field - TopicRulePayload *TopicRulePayload `locationName:"topicRulePayload" type:"structure" required:"true"` + // The parent thing group name. + ParentGroupName *string `locationName:"parentGroupName" min:"1" type:"string"` + + // The root parent thing group. + RootToParentThingGroups []*GroupNameAndArn `locationName:"rootToParentThingGroups" type:"list"` } // String returns the string representation -func (s ReplaceTopicRuleInput) String() string { +func (s ThingGroupMetadata) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ReplaceTopicRuleInput) GoString() string { +func (s ThingGroupMetadata) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ReplaceTopicRuleInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ReplaceTopicRuleInput"} - if s.RuleName == nil { - invalidParams.Add(request.NewErrParamRequired("RuleName")) - } - if s.RuleName != nil && len(*s.RuleName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RuleName", 1)) - } - if s.TopicRulePayload == nil { - invalidParams.Add(request.NewErrParamRequired("TopicRulePayload")) - } - if s.TopicRulePayload != nil { - if err := s.TopicRulePayload.Validate(); err != nil { - invalidParams.AddNested("TopicRulePayload", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCreationDate sets the CreationDate field's value. +func (s *ThingGroupMetadata) SetCreationDate(v time.Time) *ThingGroupMetadata { + s.CreationDate = &v + return s } -// SetRuleName sets the RuleName field's value. -func (s *ReplaceTopicRuleInput) SetRuleName(v string) *ReplaceTopicRuleInput { - s.RuleName = &v +// SetParentGroupName sets the ParentGroupName field's value. +func (s *ThingGroupMetadata) SetParentGroupName(v string) *ThingGroupMetadata { + s.ParentGroupName = &v return s } -// SetTopicRulePayload sets the TopicRulePayload field's value. -func (s *ReplaceTopicRuleInput) SetTopicRulePayload(v *TopicRulePayload) *ReplaceTopicRuleInput { - s.TopicRulePayload = v +// SetRootToParentThingGroups sets the RootToParentThingGroups field's value. +func (s *ThingGroupMetadata) SetRootToParentThingGroups(v []*GroupNameAndArn) *ThingGroupMetadata { + s.RootToParentThingGroups = v return s } -type ReplaceTopicRuleOutput struct { +// Thing group properties. +type ThingGroupProperties struct { _ struct{} `type:"structure"` + + // The thing group attributes in JSON format. + AttributePayload *AttributePayload `locationName:"attributePayload" type:"structure"` + + // The thing group description. + ThingGroupDescription *string `locationName:"thingGroupDescription" type:"string"` } // String returns the string representation -func (s ReplaceTopicRuleOutput) String() string { +func (s ThingGroupProperties) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ReplaceTopicRuleOutput) GoString() string { +func (s ThingGroupProperties) GoString() string { return s.String() } -// Describes an action to republish to another topic. -type RepublishAction struct { +// SetAttributePayload sets the AttributePayload field's value. +func (s *ThingGroupProperties) SetAttributePayload(v *AttributePayload) *ThingGroupProperties { + s.AttributePayload = v + return s +} + +// SetThingGroupDescription sets the ThingGroupDescription field's value. +func (s *ThingGroupProperties) SetThingGroupDescription(v string) *ThingGroupProperties { + s.ThingGroupDescription = &v + return s +} + +// Thing indexing configuration. +type ThingIndexingConfiguration struct { _ struct{} `type:"structure"` - // The ARN of the IAM role that grants access. + // Thing indexing mode. Valid values are: // - // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` - - // The name of the MQTT topic. + // * REGISTRY – Your thing index will contain only registry data. // - // Topic is a required field - Topic *string `locationName:"topic" type:"string" required:"true"` + // * REGISTRY_AND_SHADOW - Your thing index will contain registry and shadow + // data. + // + // * OFF - Thing indexing is disabled. + ThingIndexingMode *string `locationName:"thingIndexingMode" type:"string" enum:"ThingIndexingMode"` } // String returns the string representation -func (s RepublishAction) String() string { +func (s ThingIndexingConfiguration) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RepublishAction) GoString() string { +func (s ThingIndexingConfiguration) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RepublishAction) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RepublishAction"} - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) - } - if s.Topic == nil { - invalidParams.Add(request.NewErrParamRequired("Topic")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetRoleArn sets the RoleArn field's value. -func (s *RepublishAction) SetRoleArn(v string) *RepublishAction { - s.RoleArn = &v - return s -} - -// SetTopic sets the Topic field's value. -func (s *RepublishAction) SetTopic(v string) *RepublishAction { - s.Topic = &v +// SetThingIndexingMode sets the ThingIndexingMode field's value. +func (s *ThingIndexingConfiguration) SetThingIndexingMode(v string) *ThingIndexingConfiguration { + s.ThingIndexingMode = &v return s } -// Describes an action to write data to an Amazon S3 bucket. -type S3Action struct { +// The definition of the thing type, including thing type name and description. +type ThingTypeDefinition struct { _ struct{} `type:"structure"` - // The Amazon S3 bucket. - // - // BucketName is a required field - BucketName *string `locationName:"bucketName" type:"string" required:"true"` + // The thing type ARN. + ThingTypeArn *string `locationName:"thingTypeArn" type:"string"` - // The Amazon S3 canned ACL that controls access to the object identified by - // the object key. For more information, see S3 canned ACLs (http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). - CannedAcl *string `locationName:"cannedAcl" type:"string" enum:"CannedAccessControlList"` + // The ThingTypeMetadata contains additional information about the thing type + // including: creation date and time, a value indicating whether the thing type + // is deprecated, and a date and time when it was deprecated. + ThingTypeMetadata *ThingTypeMetadata `locationName:"thingTypeMetadata" type:"structure"` - // The object key. - // - // Key is a required field - Key *string `locationName:"key" type:"string" required:"true"` + // The name of the thing type. + ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` - // The ARN of the IAM role that grants access. - // - // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + // The ThingTypeProperties for the thing type. + ThingTypeProperties *ThingTypeProperties `locationName:"thingTypeProperties" type:"structure"` } // String returns the string representation -func (s S3Action) String() string { +func (s ThingTypeDefinition) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s S3Action) GoString() string { +func (s ThingTypeDefinition) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *S3Action) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "S3Action"} - if s.BucketName == nil { - invalidParams.Add(request.NewErrParamRequired("BucketName")) - } - if s.Key == nil { - invalidParams.Add(request.NewErrParamRequired("Key")) - } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetBucketName sets the BucketName field's value. -func (s *S3Action) SetBucketName(v string) *S3Action { - s.BucketName = &v +// SetThingTypeArn sets the ThingTypeArn field's value. +func (s *ThingTypeDefinition) SetThingTypeArn(v string) *ThingTypeDefinition { + s.ThingTypeArn = &v return s } -// SetCannedAcl sets the CannedAcl field's value. -func (s *S3Action) SetCannedAcl(v string) *S3Action { - s.CannedAcl = &v +// SetThingTypeMetadata sets the ThingTypeMetadata field's value. +func (s *ThingTypeDefinition) SetThingTypeMetadata(v *ThingTypeMetadata) *ThingTypeDefinition { + s.ThingTypeMetadata = v return s } -// SetKey sets the Key field's value. -func (s *S3Action) SetKey(v string) *S3Action { - s.Key = &v +// SetThingTypeName sets the ThingTypeName field's value. +func (s *ThingTypeDefinition) SetThingTypeName(v string) *ThingTypeDefinition { + s.ThingTypeName = &v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *S3Action) SetRoleArn(v string) *S3Action { - s.RoleArn = &v +// SetThingTypeProperties sets the ThingTypeProperties field's value. +func (s *ThingTypeDefinition) SetThingTypeProperties(v *ThingTypeProperties) *ThingTypeDefinition { + s.ThingTypeProperties = v return s } -// Describes an action to write a message to a Salesforce IoT Cloud Input Stream. -type SalesforceAction struct { +// The ThingTypeMetadata contains additional information about the thing type +// including: creation date and time, a value indicating whether the thing type +// is deprecated, and a date and time when time was deprecated. +type ThingTypeMetadata struct { _ struct{} `type:"structure"` - // The token used to authenticate access to the Salesforce IoT Cloud Input Stream. - // The token is available from the Salesforce IoT Cloud platform after creation - // of the Input Stream. - // - // Token is a required field - Token *string `locationName:"token" min:"40" type:"string" required:"true"` + // The date and time when the thing type was created. + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` - // The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available - // from the Salesforce IoT Cloud platform after creation of the Input Stream. - // - // Url is a required field - Url *string `locationName:"url" type:"string" required:"true"` + // Whether the thing type is deprecated. If true, no new things could be associated + // with this type. + Deprecated *bool `locationName:"deprecated" type:"boolean"` + + // The date and time when the thing type was deprecated. + DeprecationDate *time.Time `locationName:"deprecationDate" type:"timestamp" timestampFormat:"unix"` } // String returns the string representation -func (s SalesforceAction) String() string { +func (s ThingTypeMetadata) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SalesforceAction) GoString() string { +func (s ThingTypeMetadata) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *SalesforceAction) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SalesforceAction"} - if s.Token == nil { - invalidParams.Add(request.NewErrParamRequired("Token")) - } - if s.Token != nil && len(*s.Token) < 40 { - invalidParams.Add(request.NewErrParamMinLen("Token", 40)) - } - if s.Url == nil { - invalidParams.Add(request.NewErrParamRequired("Url")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCreationDate sets the CreationDate field's value. +func (s *ThingTypeMetadata) SetCreationDate(v time.Time) *ThingTypeMetadata { + s.CreationDate = &v + return s } - -// SetToken sets the Token field's value. -func (s *SalesforceAction) SetToken(v string) *SalesforceAction { - s.Token = &v + +// SetDeprecated sets the Deprecated field's value. +func (s *ThingTypeMetadata) SetDeprecated(v bool) *ThingTypeMetadata { + s.Deprecated = &v return s } -// SetUrl sets the Url field's value. -func (s *SalesforceAction) SetUrl(v string) *SalesforceAction { - s.Url = &v +// SetDeprecationDate sets the DeprecationDate field's value. +func (s *ThingTypeMetadata) SetDeprecationDate(v time.Time) *ThingTypeMetadata { + s.DeprecationDate = &v return s } -// The input for the SetDefaultPolicyVersion operation. -type SetDefaultPolicyVersionInput struct { +// The ThingTypeProperties contains information about the thing type including: +// a thing type description, and a list of searchable thing attribute names. +type ThingTypeProperties struct { _ struct{} `type:"structure"` - // The policy name. - // - // PolicyName is a required field - PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` + // A list of searchable thing attribute names. + SearchableAttributes []*string `locationName:"searchableAttributes" type:"list"` - // The policy version ID. - // - // PolicyVersionId is a required field - PolicyVersionId *string `location:"uri" locationName:"policyVersionId" type:"string" required:"true"` + // The description of the thing type. + ThingTypeDescription *string `locationName:"thingTypeDescription" type:"string"` } // String returns the string representation -func (s SetDefaultPolicyVersionInput) String() string { +func (s ThingTypeProperties) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SetDefaultPolicyVersionInput) GoString() string { +func (s ThingTypeProperties) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *SetDefaultPolicyVersionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SetDefaultPolicyVersionInput"} - if s.PolicyName == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyName")) - } - if s.PolicyName != nil && len(*s.PolicyName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) - } - if s.PolicyVersionId == nil { - invalidParams.Add(request.NewErrParamRequired("PolicyVersionId")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetPolicyName sets the PolicyName field's value. -func (s *SetDefaultPolicyVersionInput) SetPolicyName(v string) *SetDefaultPolicyVersionInput { - s.PolicyName = &v +// SetSearchableAttributes sets the SearchableAttributes field's value. +func (s *ThingTypeProperties) SetSearchableAttributes(v []*string) *ThingTypeProperties { + s.SearchableAttributes = v return s } -// SetPolicyVersionId sets the PolicyVersionId field's value. -func (s *SetDefaultPolicyVersionInput) SetPolicyVersionId(v string) *SetDefaultPolicyVersionInput { - s.PolicyVersionId = &v +// SetThingTypeDescription sets the ThingTypeDescription field's value. +func (s *ThingTypeProperties) SetThingTypeDescription(v string) *ThingTypeProperties { + s.ThingTypeDescription = &v return s } -type SetDefaultPolicyVersionOutput struct { +// Describes a rule. +type TopicRule struct { _ struct{} `type:"structure"` + + // The actions associated with the rule. + Actions []*Action `locationName:"actions" type:"list"` + + // The version of the SQL rules engine to use when evaluating the rule. + AwsIotSqlVersion *string `locationName:"awsIotSqlVersion" type:"string"` + + // The date and time the rule was created. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` + + // The description of the rule. + Description *string `locationName:"description" type:"string"` + + // The action to perform when an error occurs. + ErrorAction *Action `locationName:"errorAction" type:"structure"` + + // Specifies whether the rule is disabled. + RuleDisabled *bool `locationName:"ruleDisabled" type:"boolean"` + + // The name of the rule. + RuleName *string `locationName:"ruleName" min:"1" type:"string"` + + // The SQL statement used to query the topic. When using a SQL query with multiple + // lines, be sure to escape the newline characters. + Sql *string `locationName:"sql" type:"string"` } // String returns the string representation -func (s SetDefaultPolicyVersionOutput) String() string { +func (s TopicRule) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SetDefaultPolicyVersionOutput) GoString() string { +func (s TopicRule) GoString() string { return s.String() } -// The input for the SetLoggingOptions operation. -type SetLoggingOptionsInput struct { - _ struct{} `type:"structure" payload:"LoggingOptionsPayload"` - - // The logging options payload. - // - // LoggingOptionsPayload is a required field - LoggingOptionsPayload *LoggingOptionsPayload `locationName:"loggingOptionsPayload" type:"structure" required:"true"` +// SetActions sets the Actions field's value. +func (s *TopicRule) SetActions(v []*Action) *TopicRule { + s.Actions = v + return s } -// String returns the string representation -func (s SetLoggingOptionsInput) String() string { - return awsutil.Prettify(s) +// SetAwsIotSqlVersion sets the AwsIotSqlVersion field's value. +func (s *TopicRule) SetAwsIotSqlVersion(v string) *TopicRule { + s.AwsIotSqlVersion = &v + return s } -// GoString returns the string representation -func (s SetLoggingOptionsInput) GoString() string { - return s.String() +// SetCreatedAt sets the CreatedAt field's value. +func (s *TopicRule) SetCreatedAt(v time.Time) *TopicRule { + s.CreatedAt = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *SetLoggingOptionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SetLoggingOptionsInput"} - if s.LoggingOptionsPayload == nil { - invalidParams.Add(request.NewErrParamRequired("LoggingOptionsPayload")) - } - if s.LoggingOptionsPayload != nil { - if err := s.LoggingOptionsPayload.Validate(); err != nil { - invalidParams.AddNested("LoggingOptionsPayload", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetDescription sets the Description field's value. +func (s *TopicRule) SetDescription(v string) *TopicRule { + s.Description = &v + return s } -// SetLoggingOptionsPayload sets the LoggingOptionsPayload field's value. -func (s *SetLoggingOptionsInput) SetLoggingOptionsPayload(v *LoggingOptionsPayload) *SetLoggingOptionsInput { - s.LoggingOptionsPayload = v +// SetErrorAction sets the ErrorAction field's value. +func (s *TopicRule) SetErrorAction(v *Action) *TopicRule { + s.ErrorAction = v return s } -type SetLoggingOptionsOutput struct { - _ struct{} `type:"structure"` +// SetRuleDisabled sets the RuleDisabled field's value. +func (s *TopicRule) SetRuleDisabled(v bool) *TopicRule { + s.RuleDisabled = &v + return s } -// String returns the string representation -func (s SetLoggingOptionsOutput) String() string { - return awsutil.Prettify(s) +// SetRuleName sets the RuleName field's value. +func (s *TopicRule) SetRuleName(v string) *TopicRule { + s.RuleName = &v + return s } -// GoString returns the string representation -func (s SetLoggingOptionsOutput) GoString() string { - return s.String() +// SetSql sets the Sql field's value. +func (s *TopicRule) SetSql(v string) *TopicRule { + s.Sql = &v + return s } -// Describes an action to publish to an Amazon SNS topic. -type SnsAction struct { +// Describes a rule. +type TopicRuleListItem struct { _ struct{} `type:"structure"` - // The message format of the message to publish. Optional. Accepted values are - // "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this - // setting to determine if the payload should be parsed and relevant platform-specific - // bits of the payload should be extracted. To read more about SNS message formats, - // see http://docs.aws.amazon.com/sns/latest/dg/json-formats.html (http://docs.aws.amazon.com/sns/latest/dg/json-formats.html) - // refer to their official documentation. - MessageFormat *string `locationName:"messageFormat" type:"string" enum:"MessageFormat"` + // The date and time the rule was created. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` - // The ARN of the IAM role that grants access. - // - // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + // The rule ARN. + RuleArn *string `locationName:"ruleArn" type:"string"` - // The ARN of the SNS topic. - // - // TargetArn is a required field - TargetArn *string `locationName:"targetArn" type:"string" required:"true"` + // Specifies whether the rule is disabled. + RuleDisabled *bool `locationName:"ruleDisabled" type:"boolean"` + + // The name of the rule. + RuleName *string `locationName:"ruleName" min:"1" type:"string"` + + // The pattern for the topic names that apply. + TopicPattern *string `locationName:"topicPattern" type:"string"` } // String returns the string representation -func (s SnsAction) String() string { +func (s TopicRuleListItem) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SnsAction) GoString() string { +func (s TopicRuleListItem) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *SnsAction) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SnsAction"} - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) - } - if s.TargetArn == nil { - invalidParams.Add(request.NewErrParamRequired("TargetArn")) - } +// SetCreatedAt sets the CreatedAt field's value. +func (s *TopicRuleListItem) SetCreatedAt(v time.Time) *TopicRuleListItem { + s.CreatedAt = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetRuleArn sets the RuleArn field's value. +func (s *TopicRuleListItem) SetRuleArn(v string) *TopicRuleListItem { + s.RuleArn = &v + return s } -// SetMessageFormat sets the MessageFormat field's value. -func (s *SnsAction) SetMessageFormat(v string) *SnsAction { - s.MessageFormat = &v +// SetRuleDisabled sets the RuleDisabled field's value. +func (s *TopicRuleListItem) SetRuleDisabled(v bool) *TopicRuleListItem { + s.RuleDisabled = &v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *SnsAction) SetRoleArn(v string) *SnsAction { - s.RoleArn = &v +// SetRuleName sets the RuleName field's value. +func (s *TopicRuleListItem) SetRuleName(v string) *TopicRuleListItem { + s.RuleName = &v return s } -// SetTargetArn sets the TargetArn field's value. -func (s *SnsAction) SetTargetArn(v string) *SnsAction { - s.TargetArn = &v +// SetTopicPattern sets the TopicPattern field's value. +func (s *TopicRuleListItem) SetTopicPattern(v string) *TopicRuleListItem { + s.TopicPattern = &v return s } -// Describes an action to publish data to an Amazon SQS queue. -type SqsAction struct { +// Describes a rule. +type TopicRulePayload struct { _ struct{} `type:"structure"` - // The URL of the Amazon SQS queue. + // The actions associated with the rule. // - // QueueUrl is a required field - QueueUrl *string `locationName:"queueUrl" type:"string" required:"true"` + // Actions is a required field + Actions []*Action `locationName:"actions" type:"list" required:"true"` + + // The version of the SQL rules engine to use when evaluating the rule. + AwsIotSqlVersion *string `locationName:"awsIotSqlVersion" type:"string"` + + // The description of the rule. + Description *string `locationName:"description" type:"string"` + + // The action to take when an error occurs. + ErrorAction *Action `locationName:"errorAction" type:"structure"` + + // Specifies whether the rule is disabled. + RuleDisabled *bool `locationName:"ruleDisabled" type:"boolean"` - // The ARN of the IAM role that grants access. + // The SQL statement used to query the topic. For more information, see AWS + // IoT SQL Reference (http://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html#aws-iot-sql-reference) + // in the AWS IoT Developer Guide. // - // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` - - // Specifies whether to use Base64 encoding. - UseBase64 *bool `locationName:"useBase64" type:"boolean"` + // Sql is a required field + Sql *string `locationName:"sql" type:"string" required:"true"` } // String returns the string representation -func (s SqsAction) String() string { +func (s TopicRulePayload) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SqsAction) GoString() string { +func (s TopicRulePayload) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *SqsAction) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SqsAction"} - if s.QueueUrl == nil { - invalidParams.Add(request.NewErrParamRequired("QueueUrl")) +func (s *TopicRulePayload) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TopicRulePayload"} + if s.Actions == nil { + invalidParams.Add(request.NewErrParamRequired("Actions")) } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) + if s.Sql == nil { + invalidParams.Add(request.NewErrParamRequired("Sql")) + } + if s.Actions != nil { + for i, v := range s.Actions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ErrorAction != nil { + if err := s.ErrorAction.Validate(); err != nil { + invalidParams.AddNested("ErrorAction", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -11239,391 +22741,351 @@ func (s *SqsAction) Validate() error { return nil } -// SetQueueUrl sets the QueueUrl field's value. -func (s *SqsAction) SetQueueUrl(v string) *SqsAction { - s.QueueUrl = &v +// SetActions sets the Actions field's value. +func (s *TopicRulePayload) SetActions(v []*Action) *TopicRulePayload { + s.Actions = v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *SqsAction) SetRoleArn(v string) *SqsAction { - s.RoleArn = &v +// SetAwsIotSqlVersion sets the AwsIotSqlVersion field's value. +func (s *TopicRulePayload) SetAwsIotSqlVersion(v string) *TopicRulePayload { + s.AwsIotSqlVersion = &v return s } -// SetUseBase64 sets the UseBase64 field's value. -func (s *SqsAction) SetUseBase64(v bool) *SqsAction { - s.UseBase64 = &v +// SetDescription sets the Description field's value. +func (s *TopicRulePayload) SetDescription(v string) *TopicRulePayload { + s.Description = &v return s } -// The properties of the thing, including thing name, thing type name, and a -// list of thing attributes. -type ThingAttribute struct { - _ struct{} `type:"structure"` +// SetErrorAction sets the ErrorAction field's value. +func (s *TopicRulePayload) SetErrorAction(v *Action) *TopicRulePayload { + s.ErrorAction = v + return s +} - // A list of thing attributes which are name-value pairs. - Attributes map[string]*string `locationName:"attributes" type:"map"` +// SetRuleDisabled sets the RuleDisabled field's value. +func (s *TopicRulePayload) SetRuleDisabled(v bool) *TopicRulePayload { + s.RuleDisabled = &v + return s +} - // The name of the thing. - ThingName *string `locationName:"thingName" min:"1" type:"string"` +// SetSql sets the Sql field's value. +func (s *TopicRulePayload) SetSql(v string) *TopicRulePayload { + s.Sql = &v + return s +} - // The name of the thing type, if the thing has been associated with a type. - ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` +// The input for the TransferCertificate operation. +type TransferCertificateInput struct { + _ struct{} `type:"structure"` - // The version of the thing record in the registry. - Version *int64 `locationName:"version" type:"long"` + // The ID of the certificate. + // + // CertificateId is a required field + CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` + + // The AWS account. + // + // TargetAwsAccount is a required field + TargetAwsAccount *string `location:"querystring" locationName:"targetAwsAccount" type:"string" required:"true"` + + // The transfer message. + TransferMessage *string `locationName:"transferMessage" type:"string"` } // String returns the string representation -func (s ThingAttribute) String() string { +func (s TransferCertificateInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ThingAttribute) GoString() string { +func (s TransferCertificateInput) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *ThingAttribute) SetAttributes(v map[string]*string) *ThingAttribute { - s.Attributes = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *TransferCertificateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TransferCertificateInput"} + if s.CertificateId == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateId")) + } + if s.CertificateId != nil && len(*s.CertificateId) < 64 { + invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) + } + if s.TargetAwsAccount == nil { + invalidParams.Add(request.NewErrParamRequired("TargetAwsAccount")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetThingName sets the ThingName field's value. -func (s *ThingAttribute) SetThingName(v string) *ThingAttribute { - s.ThingName = &v +// SetCertificateId sets the CertificateId field's value. +func (s *TransferCertificateInput) SetCertificateId(v string) *TransferCertificateInput { + s.CertificateId = &v return s } -// SetThingTypeName sets the ThingTypeName field's value. -func (s *ThingAttribute) SetThingTypeName(v string) *ThingAttribute { - s.ThingTypeName = &v +// SetTargetAwsAccount sets the TargetAwsAccount field's value. +func (s *TransferCertificateInput) SetTargetAwsAccount(v string) *TransferCertificateInput { + s.TargetAwsAccount = &v return s } -// SetVersion sets the Version field's value. -func (s *ThingAttribute) SetVersion(v int64) *ThingAttribute { - s.Version = &v +// SetTransferMessage sets the TransferMessage field's value. +func (s *TransferCertificateInput) SetTransferMessage(v string) *TransferCertificateInput { + s.TransferMessage = &v return s } -// The definition of the thing type, including thing type name and description. -type ThingTypeDefinition struct { +// The output from the TransferCertificate operation. +type TransferCertificateOutput struct { _ struct{} `type:"structure"` - // The ThingTypeMetadata contains additional information about the thing type - // including: creation date and time, a value indicating whether the thing type - // is deprecated, and a date and time when it was deprecated. - ThingTypeMetadata *ThingTypeMetadata `locationName:"thingTypeMetadata" type:"structure"` - - // The name of the thing type. - ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` - - // The ThingTypeProperties for the thing type. - ThingTypeProperties *ThingTypeProperties `locationName:"thingTypeProperties" type:"structure"` + // The ARN of the certificate. + TransferredCertificateArn *string `locationName:"transferredCertificateArn" type:"string"` } // String returns the string representation -func (s ThingTypeDefinition) String() string { +func (s TransferCertificateOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ThingTypeDefinition) GoString() string { +func (s TransferCertificateOutput) GoString() string { return s.String() } -// SetThingTypeMetadata sets the ThingTypeMetadata field's value. -func (s *ThingTypeDefinition) SetThingTypeMetadata(v *ThingTypeMetadata) *ThingTypeDefinition { - s.ThingTypeMetadata = v +// SetTransferredCertificateArn sets the TransferredCertificateArn field's value. +func (s *TransferCertificateOutput) SetTransferredCertificateArn(v string) *TransferCertificateOutput { + s.TransferredCertificateArn = &v return s } -// SetThingTypeName sets the ThingTypeName field's value. -func (s *ThingTypeDefinition) SetThingTypeName(v string) *ThingTypeDefinition { - s.ThingTypeName = &v - return s -} +// Data used to transfer a certificate to an AWS account. +type TransferData struct { + _ struct{} `type:"structure"` -// SetThingTypeProperties sets the ThingTypeProperties field's value. -func (s *ThingTypeDefinition) SetThingTypeProperties(v *ThingTypeProperties) *ThingTypeDefinition { - s.ThingTypeProperties = v - return s -} + // The date the transfer was accepted. + AcceptDate *time.Time `locationName:"acceptDate" type:"timestamp" timestampFormat:"unix"` -// The ThingTypeMetadata contains additional information about the thing type -// including: creation date and time, a value indicating whether the thing type -// is deprecated, and a date and time when time was deprecated. -type ThingTypeMetadata struct { - _ struct{} `type:"structure"` + // The date the transfer was rejected. + RejectDate *time.Time `locationName:"rejectDate" type:"timestamp" timestampFormat:"unix"` - // The date and time when the thing type was created. - CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` + // The reason why the transfer was rejected. + RejectReason *string `locationName:"rejectReason" type:"string"` - // Whether the thing type is deprecated. If true, no new things could be associated - // with this type. - Deprecated *bool `locationName:"deprecated" type:"boolean"` + // The date the transfer took place. + TransferDate *time.Time `locationName:"transferDate" type:"timestamp" timestampFormat:"unix"` - // The date and time when the thing type was deprecated. - DeprecationDate *time.Time `locationName:"deprecationDate" type:"timestamp" timestampFormat:"unix"` + // The transfer message. + TransferMessage *string `locationName:"transferMessage" type:"string"` } // String returns the string representation -func (s ThingTypeMetadata) String() string { +func (s TransferData) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ThingTypeMetadata) GoString() string { +func (s TransferData) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *ThingTypeMetadata) SetCreationDate(v time.Time) *ThingTypeMetadata { - s.CreationDate = &v +// SetAcceptDate sets the AcceptDate field's value. +func (s *TransferData) SetAcceptDate(v time.Time) *TransferData { + s.AcceptDate = &v return s } -// SetDeprecated sets the Deprecated field's value. -func (s *ThingTypeMetadata) SetDeprecated(v bool) *ThingTypeMetadata { - s.Deprecated = &v +// SetRejectDate sets the RejectDate field's value. +func (s *TransferData) SetRejectDate(v time.Time) *TransferData { + s.RejectDate = &v return s } -// SetDeprecationDate sets the DeprecationDate field's value. -func (s *ThingTypeMetadata) SetDeprecationDate(v time.Time) *ThingTypeMetadata { - s.DeprecationDate = &v +// SetRejectReason sets the RejectReason field's value. +func (s *TransferData) SetRejectReason(v string) *TransferData { + s.RejectReason = &v return s } -// The ThingTypeProperties contains information about the thing type including: -// a thing type description, and a list of searchable thing attribute names. -type ThingTypeProperties struct { - _ struct{} `type:"structure"` - - // A list of searchable thing attribute names. - SearchableAttributes []*string `locationName:"searchableAttributes" type:"list"` - - // The description of the thing type. - ThingTypeDescription *string `locationName:"thingTypeDescription" type:"string"` -} - -// String returns the string representation -func (s ThingTypeProperties) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ThingTypeProperties) GoString() string { - return s.String() -} - -// SetSearchableAttributes sets the SearchableAttributes field's value. -func (s *ThingTypeProperties) SetSearchableAttributes(v []*string) *ThingTypeProperties { - s.SearchableAttributes = v +// SetTransferDate sets the TransferDate field's value. +func (s *TransferData) SetTransferDate(v time.Time) *TransferData { + s.TransferDate = &v return s } -// SetThingTypeDescription sets the ThingTypeDescription field's value. -func (s *ThingTypeProperties) SetThingTypeDescription(v string) *ThingTypeProperties { - s.ThingTypeDescription = &v +// SetTransferMessage sets the TransferMessage field's value. +func (s *TransferData) SetTransferMessage(v string) *TransferData { + s.TransferMessage = &v return s } -// Describes a rule. -type TopicRule struct { +type UpdateAuthorizerInput struct { _ struct{} `type:"structure"` - // The actions associated with the rule. - Actions []*Action `locationName:"actions" type:"list"` - - // The version of the SQL rules engine to use when evaluating the rule. - AwsIotSqlVersion *string `locationName:"awsIotSqlVersion" type:"string"` - - // The date and time the rule was created. - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` + // The ARN of the authorizer's Lambda function. + AuthorizerFunctionArn *string `locationName:"authorizerFunctionArn" type:"string"` - // The description of the rule. - Description *string `locationName:"description" type:"string"` + // The authorizer name. + // + // AuthorizerName is a required field + AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"` - // Specifies whether the rule is disabled. - RuleDisabled *bool `locationName:"ruleDisabled" type:"boolean"` + // The status of the update authorizer request. + Status *string `locationName:"status" type:"string" enum:"AuthorizerStatus"` - // The name of the rule. - RuleName *string `locationName:"ruleName" min:"1" type:"string"` + // The key used to extract the token from the HTTP headers. + TokenKeyName *string `locationName:"tokenKeyName" min:"1" type:"string"` - // The SQL statement used to query the topic. When using a SQL query with multiple - // lines, be sure to escape the newline characters. - Sql *string `locationName:"sql" type:"string"` + // The public keys used to verify the token signature. + TokenSigningPublicKeys map[string]*string `locationName:"tokenSigningPublicKeys" type:"map"` } // String returns the string representation -func (s TopicRule) String() string { +func (s UpdateAuthorizerInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s TopicRule) GoString() string { +func (s UpdateAuthorizerInput) GoString() string { return s.String() } -// SetActions sets the Actions field's value. -func (s *TopicRule) SetActions(v []*Action) *TopicRule { - s.Actions = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateAuthorizerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateAuthorizerInput"} + if s.AuthorizerName == nil { + invalidParams.Add(request.NewErrParamRequired("AuthorizerName")) + } + if s.AuthorizerName != nil && len(*s.AuthorizerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AuthorizerName", 1)) + } + if s.TokenKeyName != nil && len(*s.TokenKeyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TokenKeyName", 1)) + } -// SetAwsIotSqlVersion sets the AwsIotSqlVersion field's value. -func (s *TopicRule) SetAwsIotSqlVersion(v string) *TopicRule { - s.AwsIotSqlVersion = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetCreatedAt sets the CreatedAt field's value. -func (s *TopicRule) SetCreatedAt(v time.Time) *TopicRule { - s.CreatedAt = &v +// SetAuthorizerFunctionArn sets the AuthorizerFunctionArn field's value. +func (s *UpdateAuthorizerInput) SetAuthorizerFunctionArn(v string) *UpdateAuthorizerInput { + s.AuthorizerFunctionArn = &v return s } -// SetDescription sets the Description field's value. -func (s *TopicRule) SetDescription(v string) *TopicRule { - s.Description = &v +// SetAuthorizerName sets the AuthorizerName field's value. +func (s *UpdateAuthorizerInput) SetAuthorizerName(v string) *UpdateAuthorizerInput { + s.AuthorizerName = &v return s } -// SetRuleDisabled sets the RuleDisabled field's value. -func (s *TopicRule) SetRuleDisabled(v bool) *TopicRule { - s.RuleDisabled = &v +// SetStatus sets the Status field's value. +func (s *UpdateAuthorizerInput) SetStatus(v string) *UpdateAuthorizerInput { + s.Status = &v return s } -// SetRuleName sets the RuleName field's value. -func (s *TopicRule) SetRuleName(v string) *TopicRule { - s.RuleName = &v +// SetTokenKeyName sets the TokenKeyName field's value. +func (s *UpdateAuthorizerInput) SetTokenKeyName(v string) *UpdateAuthorizerInput { + s.TokenKeyName = &v return s } -// SetSql sets the Sql field's value. -func (s *TopicRule) SetSql(v string) *TopicRule { - s.Sql = &v +// SetTokenSigningPublicKeys sets the TokenSigningPublicKeys field's value. +func (s *UpdateAuthorizerInput) SetTokenSigningPublicKeys(v map[string]*string) *UpdateAuthorizerInput { + s.TokenSigningPublicKeys = v return s } -// Describes a rule. -type TopicRuleListItem struct { +type UpdateAuthorizerOutput struct { _ struct{} `type:"structure"` - // The date and time the rule was created. - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` - - // The rule ARN. - RuleArn *string `locationName:"ruleArn" type:"string"` - - // Specifies whether the rule is disabled. - RuleDisabled *bool `locationName:"ruleDisabled" type:"boolean"` - - // The name of the rule. - RuleName *string `locationName:"ruleName" min:"1" type:"string"` + // The authorizer ARN. + AuthorizerArn *string `locationName:"authorizerArn" type:"string"` - // The pattern for the topic names that apply. - TopicPattern *string `locationName:"topicPattern" type:"string"` + // The authorizer name. + AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"` } // String returns the string representation -func (s TopicRuleListItem) String() string { +func (s UpdateAuthorizerOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s TopicRuleListItem) GoString() string { +func (s UpdateAuthorizerOutput) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *TopicRuleListItem) SetCreatedAt(v time.Time) *TopicRuleListItem { - s.CreatedAt = &v - return s -} - -// SetRuleArn sets the RuleArn field's value. -func (s *TopicRuleListItem) SetRuleArn(v string) *TopicRuleListItem { - s.RuleArn = &v - return s -} - -// SetRuleDisabled sets the RuleDisabled field's value. -func (s *TopicRuleListItem) SetRuleDisabled(v bool) *TopicRuleListItem { - s.RuleDisabled = &v - return s -} - -// SetRuleName sets the RuleName field's value. -func (s *TopicRuleListItem) SetRuleName(v string) *TopicRuleListItem { - s.RuleName = &v +// SetAuthorizerArn sets the AuthorizerArn field's value. +func (s *UpdateAuthorizerOutput) SetAuthorizerArn(v string) *UpdateAuthorizerOutput { + s.AuthorizerArn = &v return s } -// SetTopicPattern sets the TopicPattern field's value. -func (s *TopicRuleListItem) SetTopicPattern(v string) *TopicRuleListItem { - s.TopicPattern = &v +// SetAuthorizerName sets the AuthorizerName field's value. +func (s *UpdateAuthorizerOutput) SetAuthorizerName(v string) *UpdateAuthorizerOutput { + s.AuthorizerName = &v return s } -// Describes a rule. -type TopicRulePayload struct { +// The input to the UpdateCACertificate operation. +type UpdateCACertificateInput struct { _ struct{} `type:"structure"` - // The actions associated with the rule. + // The CA certificate identifier. // - // Actions is a required field - Actions []*Action `locationName:"actions" type:"list" required:"true"` + // CertificateId is a required field + CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` - // The version of the SQL rules engine to use when evaluating the rule. - AwsIotSqlVersion *string `locationName:"awsIotSqlVersion" type:"string"` + // The new value for the auto registration status. Valid values are: "ENABLE" + // or "DISABLE". + NewAutoRegistrationStatus *string `location:"querystring" locationName:"newAutoRegistrationStatus" type:"string" enum:"AutoRegistrationStatus"` - // The description of the rule. - Description *string `locationName:"description" type:"string"` + // The updated status of the CA certificate. + // + // Note: The status value REGISTER_INACTIVE is deprecated and should not be + // used. + NewStatus *string `location:"querystring" locationName:"newStatus" type:"string" enum:"CACertificateStatus"` - // Specifies whether the rule is disabled. - RuleDisabled *bool `locationName:"ruleDisabled" type:"boolean"` + // Information about the registration configuration. + RegistrationConfig *RegistrationConfig `locationName:"registrationConfig" type:"structure"` - // The SQL statement used to query the topic. For more information, see AWS - // IoT SQL Reference (http://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html#aws-iot-sql-reference) - // in the AWS IoT Developer Guide. - // - // Sql is a required field - Sql *string `locationName:"sql" type:"string" required:"true"` + // If true, remove auto registration. + RemoveAutoRegistration *bool `locationName:"removeAutoRegistration" type:"boolean"` } // String returns the string representation -func (s TopicRulePayload) String() string { +func (s UpdateCACertificateInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s TopicRulePayload) GoString() string { +func (s UpdateCACertificateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *TopicRulePayload) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TopicRulePayload"} - if s.Actions == nil { - invalidParams.Add(request.NewErrParamRequired("Actions")) +func (s *UpdateCACertificateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateCACertificateInput"} + if s.CertificateId == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateId")) } - if s.Sql == nil { - invalidParams.Add(request.NewErrParamRequired("Sql")) + if s.CertificateId != nil && len(*s.CertificateId) < 64 { + invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) } - if s.Actions != nil { - for i, v := range s.Actions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) - } + if s.RegistrationConfig != nil { + if err := s.RegistrationConfig.Validate(); err != nil { + invalidParams.AddNested("RegistrationConfig", err.(request.ErrInvalidParams)) } } @@ -11633,38 +23095,52 @@ func (s *TopicRulePayload) Validate() error { return nil } -// SetActions sets the Actions field's value. -func (s *TopicRulePayload) SetActions(v []*Action) *TopicRulePayload { - s.Actions = v +// SetCertificateId sets the CertificateId field's value. +func (s *UpdateCACertificateInput) SetCertificateId(v string) *UpdateCACertificateInput { + s.CertificateId = &v return s } -// SetAwsIotSqlVersion sets the AwsIotSqlVersion field's value. -func (s *TopicRulePayload) SetAwsIotSqlVersion(v string) *TopicRulePayload { - s.AwsIotSqlVersion = &v +// SetNewAutoRegistrationStatus sets the NewAutoRegistrationStatus field's value. +func (s *UpdateCACertificateInput) SetNewAutoRegistrationStatus(v string) *UpdateCACertificateInput { + s.NewAutoRegistrationStatus = &v return s } -// SetDescription sets the Description field's value. -func (s *TopicRulePayload) SetDescription(v string) *TopicRulePayload { - s.Description = &v +// SetNewStatus sets the NewStatus field's value. +func (s *UpdateCACertificateInput) SetNewStatus(v string) *UpdateCACertificateInput { + s.NewStatus = &v return s } -// SetRuleDisabled sets the RuleDisabled field's value. -func (s *TopicRulePayload) SetRuleDisabled(v bool) *TopicRulePayload { - s.RuleDisabled = &v +// SetRegistrationConfig sets the RegistrationConfig field's value. +func (s *UpdateCACertificateInput) SetRegistrationConfig(v *RegistrationConfig) *UpdateCACertificateInput { + s.RegistrationConfig = v return s } -// SetSql sets the Sql field's value. -func (s *TopicRulePayload) SetSql(v string) *TopicRulePayload { - s.Sql = &v +// SetRemoveAutoRegistration sets the RemoveAutoRegistration field's value. +func (s *UpdateCACertificateInput) SetRemoveAutoRegistration(v bool) *UpdateCACertificateInput { + s.RemoveAutoRegistration = &v return s } -// The input for the TransferCertificate operation. -type TransferCertificateInput struct { +type UpdateCACertificateOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateCACertificateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateCACertificateOutput) GoString() string { + return s.String() +} + +// The input for the UpdateCertificate operation. +type UpdateCertificateInput struct { _ struct{} `type:"structure"` // The ID of the certificate. @@ -11672,36 +23148,40 @@ type TransferCertificateInput struct { // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` - // The AWS account. + // The new status. // - // TargetAwsAccount is a required field - TargetAwsAccount *string `location:"querystring" locationName:"targetAwsAccount" type:"string" required:"true"` - - // The transfer message. - TransferMessage *string `locationName:"transferMessage" type:"string"` + // Note: Setting the status to PENDING_TRANSFER will result in an exception + // being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It + // is not intended for developer use. + // + // Note: The status value REGISTER_INACTIVE is deprecated and should not be + // used. + // + // NewStatus is a required field + NewStatus *string `location:"querystring" locationName:"newStatus" type:"string" required:"true" enum:"CertificateStatus"` } // String returns the string representation -func (s TransferCertificateInput) String() string { +func (s UpdateCertificateInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s TransferCertificateInput) GoString() string { +func (s UpdateCertificateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *TransferCertificateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TransferCertificateInput"} +func (s *UpdateCertificateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateCertificateInput"} if s.CertificateId == nil { invalidParams.Add(request.NewErrParamRequired("CertificateId")) } if s.CertificateId != nil && len(*s.CertificateId) < 64 { invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) } - if s.TargetAwsAccount == nil { - invalidParams.Add(request.NewErrParamRequired("TargetAwsAccount")) + if s.NewStatus == nil { + invalidParams.Add(request.NewErrParamRequired("NewStatus")) } if invalidParams.Len() > 0 { @@ -11710,146 +23190,242 @@ func (s *TransferCertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *TransferCertificateInput) SetCertificateId(v string) *TransferCertificateInput { - s.CertificateId = &v +// SetCertificateId sets the CertificateId field's value. +func (s *UpdateCertificateInput) SetCertificateId(v string) *UpdateCertificateInput { + s.CertificateId = &v + return s +} + +// SetNewStatus sets the NewStatus field's value. +func (s *UpdateCertificateInput) SetNewStatus(v string) *UpdateCertificateInput { + s.NewStatus = &v + return s +} + +type UpdateCertificateOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateCertificateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateCertificateOutput) GoString() string { + return s.String() +} + +type UpdateEventConfigurationsInput struct { + _ struct{} `type:"structure"` + + // The new event configuration values. + EventConfigurations map[string]*Configuration `locationName:"eventConfigurations" type:"map"` +} + +// String returns the string representation +func (s UpdateEventConfigurationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateEventConfigurationsInput) GoString() string { + return s.String() +} + +// SetEventConfigurations sets the EventConfigurations field's value. +func (s *UpdateEventConfigurationsInput) SetEventConfigurations(v map[string]*Configuration) *UpdateEventConfigurationsInput { + s.EventConfigurations = v return s } -// SetTargetAwsAccount sets the TargetAwsAccount field's value. -func (s *TransferCertificateInput) SetTargetAwsAccount(v string) *TransferCertificateInput { - s.TargetAwsAccount = &v - return s +type UpdateEventConfigurationsOutput struct { + _ struct{} `type:"structure"` } -// SetTransferMessage sets the TransferMessage field's value. -func (s *TransferCertificateInput) SetTransferMessage(v string) *TransferCertificateInput { - s.TransferMessage = &v - return s +// String returns the string representation +func (s UpdateEventConfigurationsOutput) String() string { + return awsutil.Prettify(s) } -// The output from the TransferCertificate operation. -type TransferCertificateOutput struct { +// GoString returns the string representation +func (s UpdateEventConfigurationsOutput) GoString() string { + return s.String() +} + +type UpdateIndexingConfigurationInput struct { _ struct{} `type:"structure"` - // The ARN of the certificate. - TransferredCertificateArn *string `locationName:"transferredCertificateArn" type:"string"` + // Thing indexing configuration. + ThingIndexingConfiguration *ThingIndexingConfiguration `locationName:"thingIndexingConfiguration" type:"structure"` } // String returns the string representation -func (s TransferCertificateOutput) String() string { +func (s UpdateIndexingConfigurationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s TransferCertificateOutput) GoString() string { +func (s UpdateIndexingConfigurationInput) GoString() string { return s.String() } -// SetTransferredCertificateArn sets the TransferredCertificateArn field's value. -func (s *TransferCertificateOutput) SetTransferredCertificateArn(v string) *TransferCertificateOutput { - s.TransferredCertificateArn = &v +// SetThingIndexingConfiguration sets the ThingIndexingConfiguration field's value. +func (s *UpdateIndexingConfigurationInput) SetThingIndexingConfiguration(v *ThingIndexingConfiguration) *UpdateIndexingConfigurationInput { + s.ThingIndexingConfiguration = v return s } -// Data used to transfer a certificate to an AWS account. -type TransferData struct { +type UpdateIndexingConfigurationOutput struct { _ struct{} `type:"structure"` +} - // The date the transfer was accepted. - AcceptDate *time.Time `locationName:"acceptDate" type:"timestamp" timestampFormat:"unix"` +// String returns the string representation +func (s UpdateIndexingConfigurationOutput) String() string { + return awsutil.Prettify(s) +} - // The date the transfer was rejected. - RejectDate *time.Time `locationName:"rejectDate" type:"timestamp" timestampFormat:"unix"` +// GoString returns the string representation +func (s UpdateIndexingConfigurationOutput) GoString() string { + return s.String() +} - // The reason why the transfer was rejected. - RejectReason *string `locationName:"rejectReason" type:"string"` +type UpdateRoleAliasInput struct { + _ struct{} `type:"structure"` - // The date the transfer took place. - TransferDate *time.Time `locationName:"transferDate" type:"timestamp" timestampFormat:"unix"` + // The number of seconds the credential will be valid. + CredentialDurationSeconds *int64 `locationName:"credentialDurationSeconds" min:"900" type:"integer"` - // The transfer message. - TransferMessage *string `locationName:"transferMessage" type:"string"` + // The role alias to update. + // + // RoleAlias is a required field + RoleAlias *string `location:"uri" locationName:"roleAlias" min:"1" type:"string" required:"true"` + + // The role ARN. + RoleArn *string `locationName:"roleArn" min:"20" type:"string"` } // String returns the string representation -func (s TransferData) String() string { +func (s UpdateRoleAliasInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s TransferData) GoString() string { +func (s UpdateRoleAliasInput) GoString() string { return s.String() } -// SetAcceptDate sets the AcceptDate field's value. -func (s *TransferData) SetAcceptDate(v time.Time) *TransferData { - s.AcceptDate = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateRoleAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateRoleAliasInput"} + if s.CredentialDurationSeconds != nil && *s.CredentialDurationSeconds < 900 { + invalidParams.Add(request.NewErrParamMinValue("CredentialDurationSeconds", 900)) + } + if s.RoleAlias == nil { + invalidParams.Add(request.NewErrParamRequired("RoleAlias")) + } + if s.RoleAlias != nil && len(*s.RoleAlias) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RoleAlias", 1)) + } + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCredentialDurationSeconds sets the CredentialDurationSeconds field's value. +func (s *UpdateRoleAliasInput) SetCredentialDurationSeconds(v int64) *UpdateRoleAliasInput { + s.CredentialDurationSeconds = &v return s } -// SetRejectDate sets the RejectDate field's value. -func (s *TransferData) SetRejectDate(v time.Time) *TransferData { - s.RejectDate = &v +// SetRoleAlias sets the RoleAlias field's value. +func (s *UpdateRoleAliasInput) SetRoleAlias(v string) *UpdateRoleAliasInput { + s.RoleAlias = &v return s } -// SetRejectReason sets the RejectReason field's value. -func (s *TransferData) SetRejectReason(v string) *TransferData { - s.RejectReason = &v +// SetRoleArn sets the RoleArn field's value. +func (s *UpdateRoleAliasInput) SetRoleArn(v string) *UpdateRoleAliasInput { + s.RoleArn = &v return s } -// SetTransferDate sets the TransferDate field's value. -func (s *TransferData) SetTransferDate(v time.Time) *TransferData { - s.TransferDate = &v +type UpdateRoleAliasOutput struct { + _ struct{} `type:"structure"` + + // The role alias. + RoleAlias *string `locationName:"roleAlias" min:"1" type:"string"` + + // The role alias ARN. + RoleAliasArn *string `locationName:"roleAliasArn" type:"string"` +} + +// String returns the string representation +func (s UpdateRoleAliasOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateRoleAliasOutput) GoString() string { + return s.String() +} + +// SetRoleAlias sets the RoleAlias field's value. +func (s *UpdateRoleAliasOutput) SetRoleAlias(v string) *UpdateRoleAliasOutput { + s.RoleAlias = &v return s } -// SetTransferMessage sets the TransferMessage field's value. -func (s *TransferData) SetTransferMessage(v string) *TransferData { - s.TransferMessage = &v +// SetRoleAliasArn sets the RoleAliasArn field's value. +func (s *UpdateRoleAliasOutput) SetRoleAliasArn(v string) *UpdateRoleAliasOutput { + s.RoleAliasArn = &v return s } -// The input to the UpdateCACertificate operation. -type UpdateCACertificateInput struct { +type UpdateThingGroupInput struct { _ struct{} `type:"structure"` - // The CA certificate identifier. - // - // CertificateId is a required field - CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` + // The expected version of the thing group. If this does not match the version + // of the thing group being updated, the update will fail. + ExpectedVersion *int64 `locationName:"expectedVersion" type:"long"` - // The new value for the auto registration status. Valid values are: "ENABLE" - // or "DISABLE". - NewAutoRegistrationStatus *string `location:"querystring" locationName:"newAutoRegistrationStatus" type:"string" enum:"AutoRegistrationStatus"` + // The thing group to update. + // + // ThingGroupName is a required field + ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` - // The updated status of the CA certificate. + // The thing group properties. // - // Note: The status value REGISTER_INACTIVE is deprecated and should not be - // used. - NewStatus *string `location:"querystring" locationName:"newStatus" type:"string" enum:"CACertificateStatus"` + // ThingGroupProperties is a required field + ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure" required:"true"` } // String returns the string representation -func (s UpdateCACertificateInput) String() string { +func (s UpdateThingGroupInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UpdateCACertificateInput) GoString() string { +func (s UpdateThingGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateCACertificateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateCACertificateInput"} - if s.CertificateId == nil { - invalidParams.Add(request.NewErrParamRequired("CertificateId")) +func (s *UpdateThingGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateThingGroupInput"} + if s.ThingGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("ThingGroupName")) } - if s.CertificateId != nil && len(*s.CertificateId) < 64 { - invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) + if s.ThingGroupName != nil && len(*s.ThingGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingGroupName", 1)) + } + if s.ThingGroupProperties == nil { + invalidParams.Add(request.NewErrParamRequired("ThingGroupProperties")) } if invalidParams.Len() > 0 { @@ -11858,81 +23434,75 @@ func (s *UpdateCACertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *UpdateCACertificateInput) SetCertificateId(v string) *UpdateCACertificateInput { - s.CertificateId = &v +// SetExpectedVersion sets the ExpectedVersion field's value. +func (s *UpdateThingGroupInput) SetExpectedVersion(v int64) *UpdateThingGroupInput { + s.ExpectedVersion = &v return s } -// SetNewAutoRegistrationStatus sets the NewAutoRegistrationStatus field's value. -func (s *UpdateCACertificateInput) SetNewAutoRegistrationStatus(v string) *UpdateCACertificateInput { - s.NewAutoRegistrationStatus = &v +// SetThingGroupName sets the ThingGroupName field's value. +func (s *UpdateThingGroupInput) SetThingGroupName(v string) *UpdateThingGroupInput { + s.ThingGroupName = &v return s } -// SetNewStatus sets the NewStatus field's value. -func (s *UpdateCACertificateInput) SetNewStatus(v string) *UpdateCACertificateInput { - s.NewStatus = &v +// SetThingGroupProperties sets the ThingGroupProperties field's value. +func (s *UpdateThingGroupInput) SetThingGroupProperties(v *ThingGroupProperties) *UpdateThingGroupInput { + s.ThingGroupProperties = v return s } -type UpdateCACertificateOutput struct { +type UpdateThingGroupOutput struct { _ struct{} `type:"structure"` + + // The version of the updated thing group. + Version *int64 `locationName:"version" type:"long"` } // String returns the string representation -func (s UpdateCACertificateOutput) String() string { +func (s UpdateThingGroupOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UpdateCACertificateOutput) GoString() string { +func (s UpdateThingGroupOutput) GoString() string { return s.String() } -// The input for the UpdateCertificate operation. -type UpdateCertificateInput struct { +// SetVersion sets the Version field's value. +func (s *UpdateThingGroupOutput) SetVersion(v int64) *UpdateThingGroupOutput { + s.Version = &v + return s +} + +type UpdateThingGroupsForThingInput struct { _ struct{} `type:"structure"` - // The ID of the certificate. - // - // CertificateId is a required field - CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` + // The groups to which the thing will be added. + ThingGroupsToAdd []*string `locationName:"thingGroupsToAdd" type:"list"` - // The new status. - // - // Note: Setting the status to PENDING_TRANSFER will result in an exception - // being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It - // is not intended for developer use. - // - // Note: The status value REGISTER_INACTIVE is deprecated and should not be - // used. - // - // NewStatus is a required field - NewStatus *string `location:"querystring" locationName:"newStatus" type:"string" required:"true" enum:"CertificateStatus"` + // The groups from which the thing will be removed. + ThingGroupsToRemove []*string `locationName:"thingGroupsToRemove" type:"list"` + + // The thing whose group memberships will be updated. + ThingName *string `locationName:"thingName" min:"1" type:"string"` } // String returns the string representation -func (s UpdateCertificateInput) String() string { +func (s UpdateThingGroupsForThingInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UpdateCertificateInput) GoString() string { +func (s UpdateThingGroupsForThingInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateCertificateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateCertificateInput"} - if s.CertificateId == nil { - invalidParams.Add(request.NewErrParamRequired("CertificateId")) - } - if s.CertificateId != nil && len(*s.CertificateId) < 64 { - invalidParams.Add(request.NewErrParamMinLen("CertificateId", 64)) - } - if s.NewStatus == nil { - invalidParams.Add(request.NewErrParamRequired("NewStatus")) +func (s *UpdateThingGroupsForThingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateThingGroupsForThingInput"} + if s.ThingName != nil && len(*s.ThingName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) } if invalidParams.Len() > 0 { @@ -11941,29 +23511,35 @@ func (s *UpdateCertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *UpdateCertificateInput) SetCertificateId(v string) *UpdateCertificateInput { - s.CertificateId = &v +// SetThingGroupsToAdd sets the ThingGroupsToAdd field's value. +func (s *UpdateThingGroupsForThingInput) SetThingGroupsToAdd(v []*string) *UpdateThingGroupsForThingInput { + s.ThingGroupsToAdd = v return s } -// SetNewStatus sets the NewStatus field's value. -func (s *UpdateCertificateInput) SetNewStatus(v string) *UpdateCertificateInput { - s.NewStatus = &v +// SetThingGroupsToRemove sets the ThingGroupsToRemove field's value. +func (s *UpdateThingGroupsForThingInput) SetThingGroupsToRemove(v []*string) *UpdateThingGroupsForThingInput { + s.ThingGroupsToRemove = v return s } -type UpdateCertificateOutput struct { +// SetThingName sets the ThingName field's value. +func (s *UpdateThingGroupsForThingInput) SetThingName(v string) *UpdateThingGroupsForThingInput { + s.ThingName = &v + return s +} + +type UpdateThingGroupsForThingOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s UpdateCertificateOutput) String() string { +func (s UpdateThingGroupsForThingOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UpdateCertificateOutput) GoString() string { +func (s UpdateThingGroupsForThingOutput) GoString() string { return s.String() } @@ -11984,7 +23560,7 @@ type UpdateThingInput struct { // in the request, the UpdateThing request is rejected with a VersionConflictException. ExpectedVersion *int64 `locationName:"expectedVersion" type:"long"` - // Remove a thing type association. If true, the assocation is removed. + // Remove a thing type association. If true, the association is removed. RemoveThingType *bool `locationName:"removeThingType" type:"boolean"` // The name of the thing to update. @@ -12070,6 +23646,39 @@ func (s UpdateThingOutput) GoString() string { return s.String() } +const ( + // ActionTypePublish is a ActionType enum value + ActionTypePublish = "PUBLISH" + + // ActionTypeSubscribe is a ActionType enum value + ActionTypeSubscribe = "SUBSCRIBE" + + // ActionTypeReceive is a ActionType enum value + ActionTypeReceive = "RECEIVE" + + // ActionTypeConnect is a ActionType enum value + ActionTypeConnect = "CONNECT" +) + +const ( + // AuthDecisionAllowed is a AuthDecision enum value + AuthDecisionAllowed = "ALLOWED" + + // AuthDecisionExplicitDeny is a AuthDecision enum value + AuthDecisionExplicitDeny = "EXPLICIT_DENY" + + // AuthDecisionImplicitDeny is a AuthDecision enum value + AuthDecisionImplicitDeny = "IMPLICIT_DENY" +) + +const ( + // AuthorizerStatusActive is a AuthorizerStatus enum value + AuthorizerStatusActive = "ACTIVE" + + // AuthorizerStatusInactive is a AuthorizerStatus enum value + AuthorizerStatusInactive = "INACTIVE" +) + const ( // AutoRegistrationStatusEnable is a AutoRegistrationStatus enum value AutoRegistrationStatusEnable = "ENABLE" @@ -12140,6 +23749,77 @@ const ( DynamoKeyTypeNumber = "NUMBER" ) +const ( + // EventTypeThing is a EventType enum value + EventTypeThing = "THING" + + // EventTypeThingGroup is a EventType enum value + EventTypeThingGroup = "THING_GROUP" + + // EventTypeThingType is a EventType enum value + EventTypeThingType = "THING_TYPE" + + // EventTypeThingGroupMembership is a EventType enum value + EventTypeThingGroupMembership = "THING_GROUP_MEMBERSHIP" + + // EventTypeThingGroupHierarchy is a EventType enum value + EventTypeThingGroupHierarchy = "THING_GROUP_HIERARCHY" + + // EventTypeThingTypeAssociation is a EventType enum value + EventTypeThingTypeAssociation = "THING_TYPE_ASSOCIATION" + + // EventTypeJob is a EventType enum value + EventTypeJob = "JOB" + + // EventTypeJobExecution is a EventType enum value + EventTypeJobExecution = "JOB_EXECUTION" +) + +const ( + // IndexStatusActive is a IndexStatus enum value + IndexStatusActive = "ACTIVE" + + // IndexStatusBuilding is a IndexStatus enum value + IndexStatusBuilding = "BUILDING" + + // IndexStatusRebuilding is a IndexStatus enum value + IndexStatusRebuilding = "REBUILDING" +) + +const ( + // JobExecutionStatusQueued is a JobExecutionStatus enum value + JobExecutionStatusQueued = "QUEUED" + + // JobExecutionStatusInProgress is a JobExecutionStatus enum value + JobExecutionStatusInProgress = "IN_PROGRESS" + + // JobExecutionStatusSucceeded is a JobExecutionStatus enum value + JobExecutionStatusSucceeded = "SUCCEEDED" + + // JobExecutionStatusFailed is a JobExecutionStatus enum value + JobExecutionStatusFailed = "FAILED" + + // JobExecutionStatusRejected is a JobExecutionStatus enum value + JobExecutionStatusRejected = "REJECTED" + + // JobExecutionStatusRemoved is a JobExecutionStatus enum value + JobExecutionStatusRemoved = "REMOVED" + + // JobExecutionStatusCanceled is a JobExecutionStatus enum value + JobExecutionStatusCanceled = "CANCELED" +) + +const ( + // JobStatusInProgress is a JobStatus enum value + JobStatusInProgress = "IN_PROGRESS" + + // JobStatusCanceled is a JobStatus enum value + JobStatusCanceled = "CANCELED" + + // JobStatusCompleted is a JobStatus enum value + JobStatusCompleted = "COMPLETED" +) + const ( // LogLevelDebug is a LogLevel enum value LogLevelDebug = "DEBUG" @@ -12157,6 +23837,14 @@ const ( LogLevelDisabled = "DISABLED" ) +const ( + // LogTargetTypeDefault is a LogTargetType enum value + LogTargetTypeDefault = "DEFAULT" + + // LogTargetTypeThingGroup is a LogTargetType enum value + LogTargetTypeThingGroup = "THING_GROUP" +) + const ( // MessageFormatRaw is a MessageFormat enum value MessageFormatRaw = "RAW" @@ -12164,3 +23852,47 @@ const ( // MessageFormatJson is a MessageFormat enum value MessageFormatJson = "JSON" ) + +const ( + // ReportTypeErrors is a ReportType enum value + ReportTypeErrors = "ERRORS" + + // ReportTypeResults is a ReportType enum value + ReportTypeResults = "RESULTS" +) + +const ( + // StatusInProgress is a Status enum value + StatusInProgress = "InProgress" + + // StatusCompleted is a Status enum value + StatusCompleted = "Completed" + + // StatusFailed is a Status enum value + StatusFailed = "Failed" + + // StatusCancelled is a Status enum value + StatusCancelled = "Cancelled" + + // StatusCancelling is a Status enum value + StatusCancelling = "Cancelling" +) + +const ( + // TargetSelectionContinuous is a TargetSelection enum value + TargetSelectionContinuous = "CONTINUOUS" + + // TargetSelectionSnapshot is a TargetSelection enum value + TargetSelectionSnapshot = "SNAPSHOT" +) + +const ( + // ThingIndexingModeOff is a ThingIndexingMode enum value + ThingIndexingModeOff = "OFF" + + // ThingIndexingModeRegistry is a ThingIndexingMode enum value + ThingIndexingModeRegistry = "REGISTRY" + + // ThingIndexingModeRegistryAndShadow is a ThingIndexingMode enum value + ThingIndexingModeRegistryAndShadow = "REGISTRY_AND_SHADOW" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/iot/errors.go b/vendor/github.com/aws/aws-sdk-go/service/iot/errors.go index ed635469360..6edb1070613 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/iot/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/iot/errors.go @@ -24,12 +24,25 @@ const ( // The certificate is invalid. ErrCodeCertificateValidationException = "CertificateValidationException" + // ErrCodeConflictingResourceUpdateException for service response error code + // "ConflictingResourceUpdateException". + // + // A conflicting resource update exception. This exception is thrown when two + // pending updates cause a conflict. + ErrCodeConflictingResourceUpdateException = "ConflictingResourceUpdateException" + // ErrCodeDeleteConflictException for service response error code // "DeleteConflictException". // // You can't delete the resource because it is attached to one or more resources. ErrCodeDeleteConflictException = "DeleteConflictException" + // ErrCodeIndexNotReadyException for service response error code + // "IndexNotReadyException". + // + // The index is not ready. + ErrCodeIndexNotReadyException = "IndexNotReadyException" + // ErrCodeInternalException for service response error code // "InternalException". // @@ -42,12 +55,24 @@ const ( // An unexpected error has occurred. ErrCodeInternalFailureException = "InternalFailureException" + // ErrCodeInvalidQueryException for service response error code + // "InvalidQueryException". + // + // The query is invalid. + ErrCodeInvalidQueryException = "InvalidQueryException" + // ErrCodeInvalidRequestException for service response error code // "InvalidRequestException". // // The request is not valid. ErrCodeInvalidRequestException = "InvalidRequestException" + // ErrCodeInvalidResponseException for service response error code + // "InvalidResponseException". + // + // The response is invalid. + ErrCodeInvalidResponseException = "InvalidResponseException" + // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // @@ -60,6 +85,12 @@ const ( // The policy documentation is not valid. ErrCodeMalformedPolicyException = "MalformedPolicyException" + // ErrCodeNotConfiguredException for service response error code + // "NotConfiguredException". + // + // The resource is not configured. + ErrCodeNotConfiguredException = "NotConfiguredException" + // ErrCodeRegistrationCodeValidationException for service response error code // "RegistrationCodeValidationException". // @@ -78,6 +109,12 @@ const ( // The specified resource does not exist. ErrCodeResourceNotFoundException = "ResourceNotFoundException" + // ErrCodeResourceRegistrationFailureException for service response error code + // "ResourceRegistrationFailureException". + // + // The resource registration failed. + ErrCodeResourceRegistrationFailureException = "ResourceRegistrationFailureException" + // ErrCodeServiceUnavailableException for service response error code // "ServiceUnavailableException". // diff --git a/vendor/github.com/aws/aws-sdk-go/service/kinesis/api.go b/vendor/github.com/aws/aws-sdk-go/service/kinesis/api.go index e86b2940742..0c67198a17e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/kinesis/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/kinesis/api.go @@ -38,7 +38,7 @@ const opAddTagsToStream = "AddTagsToStream" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStream func (c *Kinesis) AddTagsToStreamRequest(input *AddTagsToStreamInput) (req *request.Request, output *AddTagsToStreamOutput) { op := &request.Operation{ Name: opAddTagsToStream, @@ -59,8 +59,8 @@ func (c *Kinesis) AddTagsToStreamRequest(input *AddTagsToStreamInput) (req *requ // AddTagsToStream API operation for Amazon Kinesis. // -// Adds or updates tags for the specified Amazon Kinesis stream. Each stream -// can have up to 10 tags. +// Adds or updates tags for the specified Kinesis stream. Each stream can have +// up to 10 tags. // // If tags have already been assigned to the stream, AddTagsToStream overwrites // any existing tags that correspond to the specified tag keys. @@ -79,7 +79,7 @@ func (c *Kinesis) AddTagsToStreamRequest(input *AddTagsToStreamInput) (req *requ // // * ErrCodeResourceInUseException "ResourceInUseException" // The resource is not available for this operation. For successful operation, -// the resource needs to be in the ACTIVE state. +// the resource must be in the ACTIVE state. // // * ErrCodeInvalidArgumentException "InvalidArgumentException" // A specified parameter exceeds its restrictions, is not supported, or can't @@ -87,9 +87,9 @@ func (c *Kinesis) AddTagsToStreamRequest(input *AddTagsToStreamInput) (req *requ // // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStream func (c *Kinesis) AddTagsToStream(input *AddTagsToStreamInput) (*AddTagsToStreamOutput, error) { req, out := c.AddTagsToStreamRequest(input) return out, req.Send() @@ -136,7 +136,7 @@ const opCreateStream = "CreateStream" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStream func (c *Kinesis) CreateStreamRequest(input *CreateStreamInput) (req *request.Request, output *CreateStreamOutput) { op := &request.Operation{ Name: opCreateStream, @@ -157,8 +157,8 @@ func (c *Kinesis) CreateStreamRequest(input *CreateStreamInput) (req *request.Re // CreateStream API operation for Amazon Kinesis. // -// Creates an Amazon Kinesis stream. A stream captures and transports data records -// that are continuously emitted from different data sources or producers. Scale-out +// Creates a Kinesis stream. A stream captures and transports data records that +// are continuously emitted from different data sources or producers. Scale-out // within a stream is explicitly supported by means of shards, which are uniquely // identified groups of data records in a stream. // @@ -166,8 +166,8 @@ func (c *Kinesis) CreateStreamRequest(input *CreateStreamInput) (req *request.Re // Each shard can support reads up to 5 transactions per second, up to a maximum // data read total of 2 MB per second. Each shard can support writes up to 1,000 // records per second, up to a maximum data write total of 1 MB per second. -// You can add shards to a stream if the amount of data input increases and -// you can remove shards if the amount of data input decreases. +// I the amount of data input increases or decreases, you can add or remove +// shards. // // The stream name identifies the stream. The name is scoped to the AWS account // used by the application. It is also scoped by region. That is, two streams @@ -175,12 +175,12 @@ func (c *Kinesis) CreateStreamRequest(input *CreateStreamInput) (req *request.Re // same account, but in two different regions, can have the same name. // // CreateStream is an asynchronous operation. Upon receiving a CreateStream -// request, Amazon Kinesis immediately returns and sets the stream status to -// CREATING. After the stream is created, Amazon Kinesis sets the stream status +// request, Kinesis Streams immediately returns and sets the stream status to +// CREATING. After the stream is created, Kinesis Streams sets the stream status // to ACTIVE. You should perform read and write operations only on an ACTIVE // stream. // -// You receive a LimitExceededException when making a CreateStream request if +// You receive a LimitExceededException when making a CreateStream request when // you try to do one of the following: // // * Have more than five streams in the CREATING state at any point in time. @@ -188,8 +188,8 @@ func (c *Kinesis) CreateStreamRequest(input *CreateStreamInput) (req *request.Re // * Create more shards than are authorized for your account. // // For the default shard limit for an AWS account, see Streams Limits (http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html) -// in the Amazon Kinesis Streams Developer Guide. If you need to increase this -// limit, contact AWS Support (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html). +// in the Amazon Kinesis Streams Developer Guide. To increase this limit, contact +// AWS Support (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html). // // You can use DescribeStream to check the stream status, which is returned // in StreamStatus. @@ -206,17 +206,17 @@ func (c *Kinesis) CreateStreamRequest(input *CreateStreamInput) (req *request.Re // Returned Error Codes: // * ErrCodeResourceInUseException "ResourceInUseException" // The resource is not available for this operation. For successful operation, -// the resource needs to be in the ACTIVE state. +// the resource must be in the ACTIVE state. // // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // // * ErrCodeInvalidArgumentException "InvalidArgumentException" // A specified parameter exceeds its restrictions, is not supported, or can't // be used. For more information, see the returned message. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStream func (c *Kinesis) CreateStream(input *CreateStreamInput) (*CreateStreamOutput, error) { req, out := c.CreateStreamRequest(input) return out, req.Send() @@ -263,7 +263,7 @@ const opDecreaseStreamRetentionPeriod = "DecreaseStreamRetentionPeriod" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriod +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriod func (c *Kinesis) DecreaseStreamRetentionPeriodRequest(input *DecreaseStreamRetentionPeriodInput) (req *request.Request, output *DecreaseStreamRetentionPeriodOutput) { op := &request.Operation{ Name: opDecreaseStreamRetentionPeriod, @@ -284,9 +284,9 @@ func (c *Kinesis) DecreaseStreamRetentionPeriodRequest(input *DecreaseStreamRete // DecreaseStreamRetentionPeriod API operation for Amazon Kinesis. // -// Decreases the Amazon Kinesis stream's retention period, which is the length -// of time data records are accessible after they are added to the stream. The -// minimum value of a stream's retention period is 24 hours. +// Decreases the Kinesis stream's retention period, which is the length of time +// data records are accessible after they are added to the stream. The minimum +// value of a stream's retention period is 24 hours. // // This operation may result in lost data. For example, if the stream's retention // period is 48 hours and is decreased to 24 hours, any data already in the @@ -302,7 +302,7 @@ func (c *Kinesis) DecreaseStreamRetentionPeriodRequest(input *DecreaseStreamRete // Returned Error Codes: // * ErrCodeResourceInUseException "ResourceInUseException" // The resource is not available for this operation. For successful operation, -// the resource needs to be in the ACTIVE state. +// the resource must be in the ACTIVE state. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The requested resource could not be found. The stream might not be specified @@ -312,7 +312,7 @@ func (c *Kinesis) DecreaseStreamRetentionPeriodRequest(input *DecreaseStreamRete // A specified parameter exceeds its restrictions, is not supported, or can't // be used. For more information, see the returned message. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriod +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriod func (c *Kinesis) DecreaseStreamRetentionPeriod(input *DecreaseStreamRetentionPeriodInput) (*DecreaseStreamRetentionPeriodOutput, error) { req, out := c.DecreaseStreamRetentionPeriodRequest(input) return out, req.Send() @@ -359,7 +359,7 @@ const opDeleteStream = "DeleteStream" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStream func (c *Kinesis) DeleteStreamRequest(input *DeleteStreamInput) (req *request.Request, output *DeleteStreamOutput) { op := &request.Operation{ Name: opDeleteStream, @@ -380,16 +380,16 @@ func (c *Kinesis) DeleteStreamRequest(input *DeleteStreamInput) (req *request.Re // DeleteStream API operation for Amazon Kinesis. // -// Deletes an Amazon Kinesis stream and all its shards and data. You must shut -// down any applications that are operating on the stream before you delete -// the stream. If an application attempts to operate on a deleted stream, it -// will receive the exception ResourceNotFoundException. +// Deletes a Kinesis stream and all its shards and data. You must shut down +// any applications that are operating on the stream before you delete the stream. +// If an application attempts to operate on a deleted stream, it receives the +// exception ResourceNotFoundException. // // If the stream is in the ACTIVE state, you can delete it. After a DeleteStream -// request, the specified stream is in the DELETING state until Amazon Kinesis +// request, the specified stream is in the DELETING state until Kinesis Streams // completes the deletion. // -// Note: Amazon Kinesis might continue to accept data read and write operations, +// Note: Kinesis Streams might continue to accept data read and write operations, // such as PutRecord, PutRecords, and GetRecords, on a stream in the DELETING // state until the stream deletion is complete. // @@ -415,9 +415,9 @@ func (c *Kinesis) DeleteStreamRequest(input *DeleteStreamInput) (req *request.Re // // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStream func (c *Kinesis) DeleteStream(input *DeleteStreamInput) (*DeleteStreamOutput, error) { req, out := c.DeleteStreamRequest(input) return out, req.Send() @@ -464,7 +464,7 @@ const opDescribeLimits = "DescribeLimits" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimits func (c *Kinesis) DescribeLimitsRequest(input *DescribeLimitsInput) (req *request.Request, output *DescribeLimitsOutput) { op := &request.Operation{ Name: opDescribeLimits, @@ -500,9 +500,9 @@ func (c *Kinesis) DescribeLimitsRequest(input *DescribeLimitsInput) (req *reques // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimits +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimits func (c *Kinesis) DescribeLimits(input *DescribeLimitsInput) (*DescribeLimitsOutput, error) { req, out := c.DescribeLimitsRequest(input) return out, req.Send() @@ -549,7 +549,7 @@ const opDescribeStream = "DescribeStream" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStream func (c *Kinesis) DescribeStreamRequest(input *DescribeStreamInput) (req *request.Request, output *DescribeStreamOutput) { op := &request.Operation{ Name: opDescribeStream, @@ -574,7 +574,7 @@ func (c *Kinesis) DescribeStreamRequest(input *DescribeStreamInput) (req *reques // DescribeStream API operation for Amazon Kinesis. // -// Describes the specified Amazon Kinesis stream. +// Describes the specified Kinesis stream. // // The information returned includes the stream name, Amazon Resource Name (ARN), // creation time, enhanced metric configuration, and shard map. The shard map @@ -608,9 +608,9 @@ func (c *Kinesis) DescribeStreamRequest(input *DescribeStreamInput) (req *reques // // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStream func (c *Kinesis) DescribeStream(input *DescribeStreamInput) (*DescribeStreamOutput, error) { req, out := c.DescribeStreamRequest(input) return out, req.Send() @@ -682,6 +682,95 @@ func (c *Kinesis) DescribeStreamPagesWithContext(ctx aws.Context, input *Describ return p.Err() } +const opDescribeStreamSummary = "DescribeStreamSummary" + +// DescribeStreamSummaryRequest generates a "aws/request.Request" representing the +// client's request for the DescribeStreamSummary operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeStreamSummary for more information on using the DescribeStreamSummary +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeStreamSummaryRequest method. +// req, resp := client.DescribeStreamSummaryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamSummary +func (c *Kinesis) DescribeStreamSummaryRequest(input *DescribeStreamSummaryInput) (req *request.Request, output *DescribeStreamSummaryOutput) { + op := &request.Operation{ + Name: opDescribeStreamSummary, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeStreamSummaryInput{} + } + + output = &DescribeStreamSummaryOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeStreamSummary API operation for Amazon Kinesis. +// +// Provides a summarized description of the specified Kinesis stream without +// the shard list. +// +// The information returned includes the stream name, Amazon Resource Name (ARN), +// status, record retention period, approximate creation time, monitoring, encryption +// details, and open shard count. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Kinesis's +// API operation DescribeStreamSummary for usage and error information. +// +// Returned Error Codes: +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The requested resource could not be found. The stream might not be specified +// correctly. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamSummary +func (c *Kinesis) DescribeStreamSummary(input *DescribeStreamSummaryInput) (*DescribeStreamSummaryOutput, error) { + req, out := c.DescribeStreamSummaryRequest(input) + return out, req.Send() +} + +// DescribeStreamSummaryWithContext is the same as DescribeStreamSummary with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeStreamSummary for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Kinesis) DescribeStreamSummaryWithContext(ctx aws.Context, input *DescribeStreamSummaryInput, opts ...request.Option) (*DescribeStreamSummaryOutput, error) { + req, out := c.DescribeStreamSummaryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDisableEnhancedMonitoring = "DisableEnhancedMonitoring" // DisableEnhancedMonitoringRequest generates a "aws/request.Request" representing the @@ -707,7 +796,7 @@ const opDisableEnhancedMonitoring = "DisableEnhancedMonitoring" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DisableEnhancedMonitoring +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DisableEnhancedMonitoring func (c *Kinesis) DisableEnhancedMonitoringRequest(input *DisableEnhancedMonitoringInput) (req *request.Request, output *EnhancedMonitoringOutput) { op := &request.Operation{ Name: opDisableEnhancedMonitoring, @@ -742,17 +831,17 @@ func (c *Kinesis) DisableEnhancedMonitoringRequest(input *DisableEnhancedMonitor // // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // // * ErrCodeResourceInUseException "ResourceInUseException" // The resource is not available for this operation. For successful operation, -// the resource needs to be in the ACTIVE state. +// the resource must be in the ACTIVE state. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The requested resource could not be found. The stream might not be specified // correctly. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DisableEnhancedMonitoring +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DisableEnhancedMonitoring func (c *Kinesis) DisableEnhancedMonitoring(input *DisableEnhancedMonitoringInput) (*EnhancedMonitoringOutput, error) { req, out := c.DisableEnhancedMonitoringRequest(input) return out, req.Send() @@ -799,7 +888,7 @@ const opEnableEnhancedMonitoring = "EnableEnhancedMonitoring" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnableEnhancedMonitoring +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnableEnhancedMonitoring func (c *Kinesis) EnableEnhancedMonitoringRequest(input *EnableEnhancedMonitoringInput) (req *request.Request, output *EnhancedMonitoringOutput) { op := &request.Operation{ Name: opEnableEnhancedMonitoring, @@ -818,7 +907,7 @@ func (c *Kinesis) EnableEnhancedMonitoringRequest(input *EnableEnhancedMonitorin // EnableEnhancedMonitoring API operation for Amazon Kinesis. // -// Enables enhanced Amazon Kinesis stream monitoring for shard-level metrics. +// Enables enhanced Kinesis stream monitoring for shard-level metrics. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -834,17 +923,17 @@ func (c *Kinesis) EnableEnhancedMonitoringRequest(input *EnableEnhancedMonitorin // // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // // * ErrCodeResourceInUseException "ResourceInUseException" // The resource is not available for this operation. For successful operation, -// the resource needs to be in the ACTIVE state. +// the resource must be in the ACTIVE state. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The requested resource could not be found. The stream might not be specified // correctly. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnableEnhancedMonitoring +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnableEnhancedMonitoring func (c *Kinesis) EnableEnhancedMonitoring(input *EnableEnhancedMonitoringInput) (*EnhancedMonitoringOutput, error) { req, out := c.EnableEnhancedMonitoringRequest(input) return out, req.Send() @@ -891,7 +980,7 @@ const opGetRecords = "GetRecords" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecords +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecords func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Request, output *GetRecordsOutput) { op := &request.Operation{ Name: opGetRecords, @@ -910,14 +999,14 @@ func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Reques // GetRecords API operation for Amazon Kinesis. // -// Gets data records from an Amazon Kinesis stream's shard. +// Gets data records from a Kinesis stream's shard. // // Specify a shard iterator using the ShardIterator parameter. The shard iterator // specifies the position in the shard from which you want to start reading // data records sequentially. If there are no records available in the portion // of the shard that the iterator points to, GetRecords returns an empty list. -// Note that it might take multiple calls to get to a portion of the shard that -// contains records. +// It might take multiple calls to get to a portion of the shard that contains +// records. // // You can scale by provisioning multiple shards per stream while considering // service limits (for more information, see Streams Limits (http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html) @@ -926,12 +1015,11 @@ func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Reques // from a stream continually, call GetRecords in a loop. Use GetShardIterator // to get the shard iterator to specify in the first GetRecords call. GetRecords // returns a new shard iterator in NextShardIterator. Specify the shard iterator -// returned in NextShardIterator in subsequent calls to GetRecords. Note that -// if the shard has been closed, the shard iterator can't return more data and -// GetRecords returns null in NextShardIterator. You can terminate the loop -// when the shard is closed, or when the shard iterator reaches the record with -// the sequence number or other attribute that marks it as the last record to -// process. +// returned in NextShardIterator in subsequent calls to GetRecords. If the shard +// has been closed, the shard iterator can't return more data and GetRecords +// returns null in NextShardIterator. You can terminate the loop when the shard +// is closed, or when the shard iterator reaches the record with the sequence +// number or other attribute that marks it as the last record to process. // // Each data record can be up to 1 MB in size, and each shard can read up to // 2 MB per second. You can ensure that your calls don't exceed the maximum @@ -944,10 +1032,10 @@ func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Reques // If a call returns this amount of data, subsequent calls made within the next // 5 seconds throw ProvisionedThroughputExceededException. If there is insufficient // provisioned throughput on the shard, subsequent calls made within the next -// 1 second throw ProvisionedThroughputExceededException. Note that GetRecords -// won't return any data when it throws an exception. For this reason, we recommend -// that you wait one second between calls to GetRecords; however, it's possible -// that the application will get exceptions for longer than 1 second. +// 1 second throw ProvisionedThroughputExceededException. GetRecords won't return +// any data when it throws an exception. For this reason, we recommend that +// you wait one second between calls to GetRecords; however, it's possible that +// the application will get exceptions for longer than 1 second. // // To detect whether the application is falling behind in processing, you can // use the MillisBehindLatest response attribute. You can also monitor the stream @@ -956,13 +1044,13 @@ func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Reques // // Each Amazon Kinesis record includes a value, ApproximateArrivalTimestamp, // that is set when a stream successfully receives and stores a record. This -// is commonly referred to as a server-side timestamp, whereas a client-side -// timestamp is set when a data producer creates or sends the record to a stream +// is commonly referred to as a server-side time stamp, whereas a client-side +// time stamp is set when a data producer creates or sends the record to a stream // (a data producer is any data source putting data records into a stream, for -// example with PutRecords). The timestamp has millisecond precision. There -// are no guarantees about the timestamp accuracy, or that the timestamp is +// example with PutRecords). The time stamp has millisecond precision. There +// are no guarantees about the time stamp accuracy, or that the time stamp is // always increasing. For example, records in a shard or across a stream might -// have timestamps that are out of order. +// have time stamps that are out of order. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -992,7 +1080,8 @@ func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Reques // The provided iterator exceeds the maximum age allowed. // // * ErrCodeKMSDisabledException "KMSDisabledException" -// The request was rejected because the specified CMK isn't enabled. +// The request was rejected because the specified customer master key (CMK) +// isn't enabled. // // * ErrCodeKMSInvalidStateException "KMSInvalidStateException" // The request was rejected because the state of the specified resource isn't @@ -1005,8 +1094,8 @@ func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Reques // access to. // // * ErrCodeKMSNotFoundException "KMSNotFoundException" -// The request was rejected because the specified entity or resource couldn't -// be found. +// The request was rejected because the specified entity or resource can't be +// found. // // * ErrCodeKMSOptInRequired "KMSOptInRequired" // The AWS access key ID needs a subscription for the service. @@ -1016,7 +1105,7 @@ func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Reques // throttling, see Limits (http://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecords +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecords func (c *Kinesis) GetRecords(input *GetRecordsInput) (*GetRecordsOutput, error) { req, out := c.GetRecordsRequest(input) return out, req.Send() @@ -1063,7 +1152,7 @@ const opGetShardIterator = "GetShardIterator" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIterator +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIterator func (c *Kinesis) GetShardIteratorRequest(input *GetShardIteratorInput) (req *request.Request, output *GetShardIteratorOutput) { op := &request.Operation{ Name: opGetShardIterator, @@ -1093,14 +1182,15 @@ func (c *Kinesis) GetShardIteratorRequest(input *GetShardIteratorInput) (req *re // // You must specify the shard iterator type. For example, you can set the ShardIteratorType // parameter to read exactly from the position denoted by a specific sequence -// number by using the AT_SEQUENCE_NUMBER shard iterator type, or right after -// the sequence number by using the AFTER_SEQUENCE_NUMBER shard iterator type, -// using sequence numbers returned by earlier calls to PutRecord, PutRecords, -// GetRecords, or DescribeStream. In the request, you can specify the shard -// iterator type AT_TIMESTAMP to read records from an arbitrary point in time, -// TRIM_HORIZON to cause ShardIterator to point to the last untrimmed record -// in the shard in the system (the oldest data record in the shard), or LATEST -// so that you always read the most recent data in the shard. +// number by using the AT_SEQUENCE_NUMBER shard iterator type. Alternatively, +// the parameter can read right after the sequence number by using the AFTER_SEQUENCE_NUMBER +// shard iterator type, using sequence numbers returned by earlier calls to +// PutRecord, PutRecords, GetRecords, or DescribeStream. In the request, you +// can specify the shard iterator type AT_TIMESTAMP to read records from an +// arbitrary point in time, TRIM_HORIZON to cause ShardIterator to point to +// the last untrimmed record in the shard in the system (the oldest data record +// in the shard), or LATEST so that you always read the most recent data in +// the shard. // // When you read repeatedly from a stream, use a GetShardIterator request to // get the first shard iterator for use in your first GetRecords request and @@ -1115,8 +1205,8 @@ func (c *Kinesis) GetShardIteratorRequest(input *GetShardIteratorInput) (req *re // in the Amazon Kinesis Streams Developer Guide. // // If the shard is closed, GetShardIterator returns a valid iterator for the -// last sequence number of the shard. Note that a shard can be closed as a result -// of using SplitShard or MergeShards. +// last sequence number of the shard. A shard can be closed as a result of using +// SplitShard or MergeShards. // // GetShardIterator has a limit of 5 transactions per second per account per // open shard. @@ -1145,7 +1235,7 @@ func (c *Kinesis) GetShardIteratorRequest(input *GetShardIteratorInput) (req *re // Backoff in AWS (http://docs.aws.amazon.com/general/latest/gr/api-retries.html) // in the AWS General Reference. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIterator +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIterator func (c *Kinesis) GetShardIterator(input *GetShardIteratorInput) (*GetShardIteratorOutput, error) { req, out := c.GetShardIteratorRequest(input) return out, req.Send() @@ -1192,7 +1282,7 @@ const opIncreaseStreamRetentionPeriod = "IncreaseStreamRetentionPeriod" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriod +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriod func (c *Kinesis) IncreaseStreamRetentionPeriodRequest(input *IncreaseStreamRetentionPeriodInput) (req *request.Request, output *IncreaseStreamRetentionPeriodOutput) { op := &request.Operation{ Name: opIncreaseStreamRetentionPeriod, @@ -1217,13 +1307,13 @@ func (c *Kinesis) IncreaseStreamRetentionPeriodRequest(input *IncreaseStreamRete // of time data records are accessible after they are added to the stream. The // maximum value of a stream's retention period is 168 hours (7 days). // -// Upon choosing a longer stream retention period, this operation will increase -// the time period records are accessible that have not yet expired. However, -// it will not make previous data that has expired (older than the stream's +// If you choose a longer stream retention period, this operation increases +// the time period during which records that have not yet expired are accessible. +// However, it does not make previous, expired data (older than the stream's // previous retention period) accessible after the operation has been called. // For example, if a stream's retention period is set to 24 hours and is increased -// to 168 hours, any data that is older than 24 hours will remain inaccessible -// to consumer applications. +// to 168 hours, any data that is older than 24 hours remains inaccessible to +// consumer applications. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1235,7 +1325,7 @@ func (c *Kinesis) IncreaseStreamRetentionPeriodRequest(input *IncreaseStreamRete // Returned Error Codes: // * ErrCodeResourceInUseException "ResourceInUseException" // The resource is not available for this operation. For successful operation, -// the resource needs to be in the ACTIVE state. +// the resource must be in the ACTIVE state. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The requested resource could not be found. The stream might not be specified @@ -1245,7 +1335,7 @@ func (c *Kinesis) IncreaseStreamRetentionPeriodRequest(input *IncreaseStreamRete // A specified parameter exceeds its restrictions, is not supported, or can't // be used. For more information, see the returned message. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriod +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriod func (c *Kinesis) IncreaseStreamRetentionPeriod(input *IncreaseStreamRetentionPeriodInput) (*IncreaseStreamRetentionPeriodOutput, error) { req, out := c.IncreaseStreamRetentionPeriodRequest(input) return out, req.Send() @@ -1292,7 +1382,7 @@ const opListStreams = "ListStreams" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreams +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreams func (c *Kinesis) ListStreamsRequest(input *ListStreamsInput) (req *request.Request, output *ListStreamsOutput) { op := &request.Operation{ Name: opListStreams, @@ -1317,12 +1407,12 @@ func (c *Kinesis) ListStreamsRequest(input *ListStreamsInput) (req *request.Requ // ListStreams API operation for Amazon Kinesis. // -// Lists your Amazon Kinesis streams. +// Lists your Kinesis streams. // // The number of streams may be too large to return from a single call to ListStreams. // You can limit the number of returned streams using the Limit parameter. If -// you do not specify a value for the Limit parameter, Amazon Kinesis uses the -// default limit, which is currently 10. +// you do not specify a value for the Limit parameter, Kinesis Streams uses +// the default limit, which is currently 10. // // You can detect if there are more streams available to list by using the HasMoreStreams // flag from the returned output. If there are more streams available, you can @@ -1344,9 +1434,9 @@ func (c *Kinesis) ListStreamsRequest(input *ListStreamsInput) (req *request.Requ // Returned Error Codes: // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreams +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreams func (c *Kinesis) ListStreams(input *ListStreamsInput) (*ListStreamsOutput, error) { req, out := c.ListStreamsRequest(input) return out, req.Send() @@ -1443,7 +1533,7 @@ const opListTagsForStream = "ListTagsForStream" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStream func (c *Kinesis) ListTagsForStreamRequest(input *ListTagsForStreamInput) (req *request.Request, output *ListTagsForStreamOutput) { op := &request.Operation{ Name: opListTagsForStream, @@ -1462,7 +1552,7 @@ func (c *Kinesis) ListTagsForStreamRequest(input *ListTagsForStreamInput) (req * // ListTagsForStream API operation for Amazon Kinesis. // -// Lists the tags for the specified Amazon Kinesis stream. +// Lists the tags for the specified Kinesis stream. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1482,9 +1572,9 @@ func (c *Kinesis) ListTagsForStreamRequest(input *ListTagsForStreamInput) (req * // // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStream func (c *Kinesis) ListTagsForStream(input *ListTagsForStreamInput) (*ListTagsForStreamOutput, error) { req, out := c.ListTagsForStreamRequest(input) return out, req.Send() @@ -1531,7 +1621,7 @@ const opMergeShards = "MergeShards" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShards +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShards func (c *Kinesis) MergeShardsRequest(input *MergeShardsInput) (req *request.Request, output *MergeShardsOutput) { op := &request.Operation{ Name: opMergeShards, @@ -1552,15 +1642,14 @@ func (c *Kinesis) MergeShardsRequest(input *MergeShardsInput) (req *request.Requ // MergeShards API operation for Amazon Kinesis. // -// Merges two adjacent shards in an Amazon Kinesis stream and combines them -// into a single shard to reduce the stream's capacity to ingest and transport -// data. Two shards are considered adjacent if the union of the hash key ranges -// for the two shards form a contiguous set with no gaps. For example, if you -// have two shards, one with a hash key range of 276...381 and the other with -// a hash key range of 382...454, then you could merge these two shards into -// a single shard that would have a hash key range of 276...454. After the merge, -// the single child shard receives data for all hash key values covered by the -// two parent shards. +// Merges two adjacent shards in a Kinesis stream and combines them into a single +// shard to reduce the stream's capacity to ingest and transport data. Two shards +// are considered adjacent if the union of the hash key ranges for the two shards +// form a contiguous set with no gaps. For example, if you have two shards, +// one with a hash key range of 276...381 and the other with a hash key range +// of 382...454, then you could merge these two shards into a single shard that +// would have a hash key range of 276...454. After the merge, the single child +// shard receives data for all hash key values covered by the two parent shards. // // MergeShards is called when there is a need to reduce the overall capacity // of a stream because of excess capacity that is not being used. You must specify @@ -1587,7 +1676,7 @@ func (c *Kinesis) MergeShardsRequest(input *MergeShardsInput) (req *request.Requ // If you try to operate on too many streams in parallel using CreateStream, // DeleteStream, MergeShards or SplitShard, you will receive a LimitExceededException. // -// MergeShards has limit of 5 transactions per second per account. +// MergeShards has a limit of 5 transactions per second per account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1603,7 +1692,7 @@ func (c *Kinesis) MergeShardsRequest(input *MergeShardsInput) (req *request.Requ // // * ErrCodeResourceInUseException "ResourceInUseException" // The resource is not available for this operation. For successful operation, -// the resource needs to be in the ACTIVE state. +// the resource must be in the ACTIVE state. // // * ErrCodeInvalidArgumentException "InvalidArgumentException" // A specified parameter exceeds its restrictions, is not supported, or can't @@ -1611,9 +1700,9 @@ func (c *Kinesis) MergeShardsRequest(input *MergeShardsInput) (req *request.Requ // // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShards +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShards func (c *Kinesis) MergeShards(input *MergeShardsInput) (*MergeShardsOutput, error) { req, out := c.MergeShardsRequest(input) return out, req.Send() @@ -1660,7 +1749,7 @@ const opPutRecord = "PutRecord" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecord +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecord func (c *Kinesis) PutRecordRequest(input *PutRecordInput) (req *request.Request, output *PutRecordOutput) { op := &request.Operation{ Name: opPutRecord, @@ -1690,10 +1779,10 @@ func (c *Kinesis) PutRecordRequest(input *PutRecordInput) (req *request.Request, // The data blob can be any type of data; for example, a segment from a log // file, geographic/location data, website clickstream data, and so on. // -// The partition key is used by Amazon Kinesis to distribute data across shards. -// Amazon Kinesis segregates the data records that belong to a stream into multiple -// shards, using the partition key associated with each data record to determine -// which shard a given data record belongs to. +// The partition key is used by Kinesis Streams to distribute data across shards. +// Kinesis Streams segregates the data records that belong to a stream into +// multiple shards, using the partition key associated with each data record +// to determine the shard to which a given data record belongs. // // Partition keys are Unicode strings, with a maximum length limit of 256 characters // for each key. An MD5 hash function is used to map partition keys to 128-bit @@ -1744,7 +1833,8 @@ func (c *Kinesis) PutRecordRequest(input *PutRecordInput) (req *request.Request, // in the AWS General Reference. // // * ErrCodeKMSDisabledException "KMSDisabledException" -// The request was rejected because the specified CMK isn't enabled. +// The request was rejected because the specified customer master key (CMK) +// isn't enabled. // // * ErrCodeKMSInvalidStateException "KMSInvalidStateException" // The request was rejected because the state of the specified resource isn't @@ -1757,8 +1847,8 @@ func (c *Kinesis) PutRecordRequest(input *PutRecordInput) (req *request.Request, // access to. // // * ErrCodeKMSNotFoundException "KMSNotFoundException" -// The request was rejected because the specified entity or resource couldn't -// be found. +// The request was rejected because the specified entity or resource can't be +// found. // // * ErrCodeKMSOptInRequired "KMSOptInRequired" // The AWS access key ID needs a subscription for the service. @@ -1768,7 +1858,7 @@ func (c *Kinesis) PutRecordRequest(input *PutRecordInput) (req *request.Request, // throttling, see Limits (http://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecord +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecord func (c *Kinesis) PutRecord(input *PutRecordInput) (*PutRecordOutput, error) { req, out := c.PutRecordRequest(input) return out, req.Send() @@ -1815,7 +1905,7 @@ const opPutRecords = "PutRecords" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecords +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecords func (c *Kinesis) PutRecordsRequest(input *PutRecordsInput) (req *request.Request, output *PutRecordsOutput) { op := &request.Operation{ Name: opPutRecords, @@ -1834,9 +1924,9 @@ func (c *Kinesis) PutRecordsRequest(input *PutRecordsInput) (req *request.Reques // PutRecords API operation for Amazon Kinesis. // -// Writes multiple data records into an Amazon Kinesis stream in a single call -// (also referred to as a PutRecords request). Use this operation to send data -// into the stream for data ingestion and processing. +// Writes multiple data records into a Kinesis stream in a single call (also +// referred to as a PutRecords request). Use this operation to send data into +// the stream for data ingestion and processing. // // Each PutRecords request can support up to 500 records. Each record in the // request can be as large as 1 MB, up to a limit of 5 MB for the entire request, @@ -1851,10 +1941,10 @@ func (c *Kinesis) PutRecordsRequest(input *PutRecordsInput) (req *request.Reques // The data blob can be any type of data; for example, a segment from a log // file, geographic/location data, website clickstream data, and so on. // -// The partition key is used by Amazon Kinesis as input to a hash function that -// maps the partition key and associated data to a specific shard. An MD5 hash -// function is used to map partition keys to 128-bit integer values and to map -// associated data records to shards. As a result of this hashing mechanism, +// The partition key is used by Kinesis Streams as input to a hash function +// that maps the partition key and associated data to a specific shard. An MD5 +// hash function is used to map partition keys to 128-bit integer values and +// to map associated data records to shards. As a result of this hashing mechanism, // all data records with the same partition key map to the same shard within // the stream. For more information, see Adding Data to a Stream (http://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-add-data-to-stream) // in the Amazon Kinesis Streams Developer Guide. @@ -1876,12 +1966,12 @@ func (c *Kinesis) PutRecordsRequest(input *PutRecordsInput) (req *request.Reques // PutRecords request. A single record failure does not stop the processing // of subsequent records. // -// A successfully-processed record includes ShardId and SequenceNumber values. +// A successfully processed record includes ShardId and SequenceNumber values. // The ShardId parameter identifies the shard in the stream where the record // is stored. The SequenceNumber parameter is an identifier assigned to the // put record, unique to all records in the stream. // -// An unsuccessfully-processed record includes ErrorCode and ErrorMessage values. +// An unsuccessfully processed record includes ErrorCode and ErrorMessage values. // ErrorCode reflects the type of error and can be one of the following values: // ProvisionedThroughputExceededException or InternalFailure. ErrorMessage provides // more detailed information about the ProvisionedThroughputExceededException @@ -1919,7 +2009,8 @@ func (c *Kinesis) PutRecordsRequest(input *PutRecordsInput) (req *request.Reques // in the AWS General Reference. // // * ErrCodeKMSDisabledException "KMSDisabledException" -// The request was rejected because the specified CMK isn't enabled. +// The request was rejected because the specified customer master key (CMK) +// isn't enabled. // // * ErrCodeKMSInvalidStateException "KMSInvalidStateException" // The request was rejected because the state of the specified resource isn't @@ -1932,8 +2023,8 @@ func (c *Kinesis) PutRecordsRequest(input *PutRecordsInput) (req *request.Reques // access to. // // * ErrCodeKMSNotFoundException "KMSNotFoundException" -// The request was rejected because the specified entity or resource couldn't -// be found. +// The request was rejected because the specified entity or resource can't be +// found. // // * ErrCodeKMSOptInRequired "KMSOptInRequired" // The AWS access key ID needs a subscription for the service. @@ -1943,7 +2034,7 @@ func (c *Kinesis) PutRecordsRequest(input *PutRecordsInput) (req *request.Reques // throttling, see Limits (http://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecords +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecords func (c *Kinesis) PutRecords(input *PutRecordsInput) (*PutRecordsOutput, error) { req, out := c.PutRecordsRequest(input) return out, req.Send() @@ -1990,7 +2081,7 @@ const opRemoveTagsFromStream = "RemoveTagsFromStream" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStream func (c *Kinesis) RemoveTagsFromStreamRequest(input *RemoveTagsFromStreamInput) (req *request.Request, output *RemoveTagsFromStreamOutput) { op := &request.Operation{ Name: opRemoveTagsFromStream, @@ -2011,7 +2102,7 @@ func (c *Kinesis) RemoveTagsFromStreamRequest(input *RemoveTagsFromStreamInput) // RemoveTagsFromStream API operation for Amazon Kinesis. // -// Removes tags from the specified Amazon Kinesis stream. Removed tags are deleted +// Removes tags from the specified Kinesis stream. Removed tags are deleted // and cannot be recovered after this operation successfully completes. // // If you specify a tag that does not exist, it is ignored. @@ -2030,7 +2121,7 @@ func (c *Kinesis) RemoveTagsFromStreamRequest(input *RemoveTagsFromStreamInput) // // * ErrCodeResourceInUseException "ResourceInUseException" // The resource is not available for this operation. For successful operation, -// the resource needs to be in the ACTIVE state. +// the resource must be in the ACTIVE state. // // * ErrCodeInvalidArgumentException "InvalidArgumentException" // A specified parameter exceeds its restrictions, is not supported, or can't @@ -2038,9 +2129,9 @@ func (c *Kinesis) RemoveTagsFromStreamRequest(input *RemoveTagsFromStreamInput) // // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStream func (c *Kinesis) RemoveTagsFromStream(input *RemoveTagsFromStreamInput) (*RemoveTagsFromStreamOutput, error) { req, out := c.RemoveTagsFromStreamRequest(input) return out, req.Send() @@ -2087,7 +2178,7 @@ const opSplitShard = "SplitShard" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShard +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShard func (c *Kinesis) SplitShardRequest(input *SplitShardInput) (req *request.Request, output *SplitShardOutput) { op := &request.Operation{ Name: opSplitShard, @@ -2108,22 +2199,22 @@ func (c *Kinesis) SplitShardRequest(input *SplitShardInput) (req *request.Reques // SplitShard API operation for Amazon Kinesis. // -// Splits a shard into two new shards in the Amazon Kinesis stream to increase -// the stream's capacity to ingest and transport data. SplitShard is called -// when there is a need to increase the overall capacity of a stream because -// of an expected increase in the volume of data records being ingested. +// Splits a shard into two new shards in the Kinesis stream, to increase the +// stream's capacity to ingest and transport data. SplitShard is called when +// there is a need to increase the overall capacity of a stream because of an +// expected increase in the volume of data records being ingested. // // You can also use SplitShard when a shard appears to be approaching its maximum // utilization; for example, the producers sending data into the specific shard // are suddenly sending more than previously anticipated. You can also call -// SplitShard to increase stream capacity, so that more Amazon Kinesis applications +// SplitShard to increase stream capacity, so that more Kinesis Streams applications // can simultaneously read data from the stream for real-time processing. // // You must specify the shard to be split and the new hash key, which is the // position in the shard where the shard gets split in two. In many cases, the -// new hash key might simply be the average of the beginning and ending hash -// key, but it can be any hash key value in the range being mapped into the -// shard. For more information about splitting shards, see Split a Shard (http://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-resharding-split.html) +// new hash key might be the average of the beginning and ending hash key, but +// it can be any hash key value in the range being mapped into the shard. For +// more information, see Split a Shard (http://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-resharding-split.html) // in the Amazon Kinesis Streams Developer Guide. // // You can use DescribeStream to determine the shard ID and hash key values @@ -2131,8 +2222,8 @@ func (c *Kinesis) SplitShardRequest(input *SplitShardInput) (req *request.Reques // in the SplitShard request. // // SplitShard is an asynchronous operation. Upon receiving a SplitShard request, -// Amazon Kinesis immediately returns a response and sets the stream status -// to UPDATING. After the operation is completed, Amazon Kinesis sets the stream +// Kinesis Streams immediately returns a response and sets the stream status +// to UPDATING. After the operation is completed, Kinesis Streams sets the stream // status to ACTIVE. Read and write operations continue to work while the stream // is in the UPDATING state. // @@ -2146,13 +2237,13 @@ func (c *Kinesis) SplitShardRequest(input *SplitShardInput) (req *request.Reques // receive a LimitExceededException. // // For the default shard limit for an AWS account, see Streams Limits (http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html) -// in the Amazon Kinesis Streams Developer Guide. If you need to increase this -// limit, contact AWS Support (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html). +// in the Amazon Kinesis Streams Developer Guide. To increase this limit, contact +// AWS Support (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html). // // If you try to operate on too many streams simultaneously using CreateStream, // DeleteStream, MergeShards, and/or SplitShard, you receive a LimitExceededException. // -// SplitShard has limit of 5 transactions per second per account. +// SplitShard has a limit of 5 transactions per second per account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2168,7 +2259,7 @@ func (c *Kinesis) SplitShardRequest(input *SplitShardInput) (req *request.Reques // // * ErrCodeResourceInUseException "ResourceInUseException" // The resource is not available for this operation. For successful operation, -// the resource needs to be in the ACTIVE state. +// the resource must be in the ACTIVE state. // // * ErrCodeInvalidArgumentException "InvalidArgumentException" // A specified parameter exceeds its restrictions, is not supported, or can't @@ -2176,9 +2267,9 @@ func (c *Kinesis) SplitShardRequest(input *SplitShardInput) (req *request.Reques // // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShard +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShard func (c *Kinesis) SplitShard(input *SplitShardInput) (*SplitShardOutput, error) { req, out := c.SplitShardRequest(input) return out, req.Send() @@ -2225,7 +2316,7 @@ const opStartStreamEncryption = "StartStreamEncryption" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StartStreamEncryption +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StartStreamEncryption func (c *Kinesis) StartStreamEncryptionRequest(input *StartStreamEncryptionInput) (req *request.Request, output *StartStreamEncryptionOutput) { op := &request.Operation{ Name: opStartStreamEncryption, @@ -2250,20 +2341,20 @@ func (c *Kinesis) StartStreamEncryptionRequest(input *StartStreamEncryptionInput // stream. // // Starting encryption is an asynchronous operation. Upon receiving the request, -// Amazon Kinesis returns immediately and sets the status of the stream to UPDATING. -// After the update is complete, Amazon Kinesis sets the status of the stream -// back to ACTIVE. Updating or applying encryption normally takes a few seconds -// to complete but it can take minutes. You can continue to read and write data -// to your stream while its status is UPDATING. Once the status of the stream -// is ACTIVE, records written to the stream will begin to be encrypted. +// Kinesis Streams returns immediately and sets the status of the stream to +// UPDATING. After the update is complete, Kinesis Streams sets the status of +// the stream back to ACTIVE. Updating or applying encryption normally takes +// a few seconds to complete, but it can take minutes. You can continue to read +// and write data to your stream while its status is UPDATING. Once the status +// of the stream is ACTIVE, encryption begins for records written to the stream. // // API Limits: You can successfully apply a new AWS KMS key for server-side -// encryption 25 times in a rolling 24 hour period. +// encryption 25 times in a rolling 24-hour period. // -// Note: It can take up to 5 seconds after the stream is in an ACTIVE status -// before all records written to the stream are encrypted. After you’ve enabled -// encryption, you can verify encryption was applied by inspecting the API response -// from PutRecord or PutRecords. +// Note: It can take up to five seconds after the stream is in an ACTIVE status +// before all records written to the stream are encrypted. After you enable +// encryption, you can verify that encryption is applied by inspecting the API +// response from PutRecord or PutRecords. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2279,18 +2370,19 @@ func (c *Kinesis) StartStreamEncryptionRequest(input *StartStreamEncryptionInput // // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // // * ErrCodeResourceInUseException "ResourceInUseException" // The resource is not available for this operation. For successful operation, -// the resource needs to be in the ACTIVE state. +// the resource must be in the ACTIVE state. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The requested resource could not be found. The stream might not be specified // correctly. // // * ErrCodeKMSDisabledException "KMSDisabledException" -// The request was rejected because the specified CMK isn't enabled. +// The request was rejected because the specified customer master key (CMK) +// isn't enabled. // // * ErrCodeKMSInvalidStateException "KMSInvalidStateException" // The request was rejected because the state of the specified resource isn't @@ -2303,8 +2395,8 @@ func (c *Kinesis) StartStreamEncryptionRequest(input *StartStreamEncryptionInput // access to. // // * ErrCodeKMSNotFoundException "KMSNotFoundException" -// The request was rejected because the specified entity or resource couldn't -// be found. +// The request was rejected because the specified entity or resource can't be +// found. // // * ErrCodeKMSOptInRequired "KMSOptInRequired" // The AWS access key ID needs a subscription for the service. @@ -2314,7 +2406,7 @@ func (c *Kinesis) StartStreamEncryptionRequest(input *StartStreamEncryptionInput // throttling, see Limits (http://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StartStreamEncryption +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StartStreamEncryption func (c *Kinesis) StartStreamEncryption(input *StartStreamEncryptionInput) (*StartStreamEncryptionOutput, error) { req, out := c.StartStreamEncryptionRequest(input) return out, req.Send() @@ -2361,7 +2453,7 @@ const opStopStreamEncryption = "StopStreamEncryption" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StopStreamEncryption +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StopStreamEncryption func (c *Kinesis) StopStreamEncryptionRequest(input *StopStreamEncryptionInput) (req *request.Request, output *StopStreamEncryptionOutput) { op := &request.Operation{ Name: opStopStreamEncryption, @@ -2385,20 +2477,20 @@ func (c *Kinesis) StopStreamEncryptionRequest(input *StopStreamEncryptionInput) // Disables server-side encryption for a specified stream. // // Stopping encryption is an asynchronous operation. Upon receiving the request, -// Amazon Kinesis returns immediately and sets the status of the stream to UPDATING. -// After the update is complete, Amazon Kinesis sets the status of the stream -// back to ACTIVE. Stopping encryption normally takes a few seconds to complete -// but it can take minutes. You can continue to read and write data to your -// stream while its status is UPDATING. Once the status of the stream is ACTIVE -// records written to the stream will no longer be encrypted by the Amazon Kinesis -// Streams service. +// Kinesis Streams returns immediately and sets the status of the stream to +// UPDATING. After the update is complete, Kinesis Streams sets the status of +// the stream back to ACTIVE. Stopping encryption normally takes a few seconds +// to complete, but it can take minutes. You can continue to read and write +// data to your stream while its status is UPDATING. Once the status of the +// stream is ACTIVE, records written to the stream are no longer encrypted by +// Kinesis Streams. // // API Limits: You can successfully disable server-side encryption 25 times -// in a rolling 24 hour period. +// in a rolling 24-hour period. // -// Note: It can take up to 5 seconds after the stream is in an ACTIVE status +// Note: It can take up to five seconds after the stream is in an ACTIVE status // before all records written to the stream are no longer subject to encryption. -// After you’ve disabled encryption, you can verify encryption was not applied +// After you disabled encryption, you can verify that encryption is not applied // by inspecting the API response from PutRecord or PutRecords. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -2415,17 +2507,17 @@ func (c *Kinesis) StopStreamEncryptionRequest(input *StopStreamEncryptionInput) // // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // // * ErrCodeResourceInUseException "ResourceInUseException" // The resource is not available for this operation. For successful operation, -// the resource needs to be in the ACTIVE state. +// the resource must be in the ACTIVE state. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The requested resource could not be found. The stream might not be specified // correctly. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StopStreamEncryption +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StopStreamEncryption func (c *Kinesis) StopStreamEncryption(input *StopStreamEncryptionInput) (*StopStreamEncryptionOutput, error) { req, out := c.StopStreamEncryptionRequest(input) return out, req.Send() @@ -2472,7 +2564,7 @@ const opUpdateShardCount = "UpdateShardCount" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCount +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCount func (c *Kinesis) UpdateShardCountRequest(input *UpdateShardCountInput) (req *request.Request, output *UpdateShardCountOutput) { op := &request.Operation{ Name: opUpdateShardCount, @@ -2495,36 +2587,36 @@ func (c *Kinesis) UpdateShardCountRequest(input *UpdateShardCountInput) (req *re // shards. // // Updating the shard count is an asynchronous operation. Upon receiving the -// request, Amazon Kinesis returns immediately and sets the status of the stream -// to UPDATING. After the update is complete, Amazon Kinesis sets the status +// request, Kinesis Streams returns immediately and sets the status of the stream +// to UPDATING. After the update is complete, Kinesis Streams sets the status // of the stream back to ACTIVE. Depending on the size of the stream, the scaling // action could take a few minutes to complete. You can continue to read and // write data to your stream while its status is UPDATING. // -// To update the shard count, Amazon Kinesis performs splits or merges on individual +// To update the shard count, Kinesis Streams performs splits or merges on individual // shards. This can cause short-lived shards to be created, in addition to the // final shards. We recommend that you double or halve the shard count, as this // results in the fewest number of splits or merges. // // This operation has the following limits, which are per region per account -// unless otherwise noted: +// unless otherwise noted. You cannot: // -// * scale more than twice per rolling 24 hour period +// * Scale more than twice per rolling 24 hour period // -// * scale up above double your current shard count +// * Scale up to double your current shard count // -// * scale down below half your current shard count +// * Scale down below half your current shard count // -// * scale up above 200 shards in a stream +// * Scale up to more 500 shards in a stream // -// * scale a stream with more than 200 shards down unless the result is less -// than 200 shards +// * Scale a stream with more than 500 shards down unless the result is less +// than 500 shards // -// * scale up above the shard limits for your account +// * Scale up more the shard limits for your account // // * // -// For the default limits for an AWS account, see Streams Limits (http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html)in the Amazon Kinesis Streams Developer Guide. If you need to increase a limit, contact AWS Support (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) +// For the default limits for an AWS account, see Streams Limits (http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html)in the Amazon Kinesis Streams Developer Guide. To increase a limit, contact AWS Support (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2540,17 +2632,17 @@ func (c *Kinesis) UpdateShardCountRequest(input *UpdateShardCountInput) (req *re // // * ErrCodeLimitExceededException "LimitExceededException" // The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed (5). +// of concurrent stream requests exceeds the maximum number allowed. // // * ErrCodeResourceInUseException "ResourceInUseException" // The resource is not available for this operation. For successful operation, -// the resource needs to be in the ACTIVE state. +// the resource must be in the ACTIVE state. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The requested resource could not be found. The stream might not be specified // correctly. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCount +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCount func (c *Kinesis) UpdateShardCount(input *UpdateShardCountInput) (*UpdateShardCountOutput, error) { req, out := c.UpdateShardCountRequest(input) return out, req.Send() @@ -2573,7 +2665,7 @@ func (c *Kinesis) UpdateShardCountWithContext(ctx aws.Context, input *UpdateShar } // Represents the input for AddTagsToStream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStreamInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStreamInput type AddTagsToStreamInput struct { _ struct{} `type:"structure"` @@ -2632,7 +2724,7 @@ func (s *AddTagsToStreamInput) SetTags(v map[string]*string) *AddTagsToStreamInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStreamOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStreamOutput type AddTagsToStreamOutput struct { _ struct{} `type:"structure"` } @@ -2648,7 +2740,7 @@ func (s AddTagsToStreamOutput) GoString() string { } // Represents the input for CreateStream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStreamInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStreamInput type CreateStreamInput struct { _ struct{} `type:"structure"` @@ -2663,8 +2755,8 @@ type CreateStreamInput struct { // A name to identify the stream. The stream name is scoped to the AWS account // used by the application that creates the stream. It is also scoped by region. - // That is, two streams in two different AWS accounts can have the same name, - // and two streams in the same AWS account but in two different regions can + // That is, two streams in two different AWS accounts can have the same name. + // Two streams in the same AWS account but in two different regions can also // have the same name. // // StreamName is a required field @@ -2715,7 +2807,7 @@ func (s *CreateStreamInput) SetStreamName(v string) *CreateStreamInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStreamOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStreamOutput type CreateStreamOutput struct { _ struct{} `type:"structure"` } @@ -2731,7 +2823,7 @@ func (s CreateStreamOutput) GoString() string { } // Represents the input for DecreaseStreamRetentionPeriod. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriodInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriodInput type DecreaseStreamRetentionPeriodInput struct { _ struct{} `type:"structure"` @@ -2791,7 +2883,7 @@ func (s *DecreaseStreamRetentionPeriodInput) SetStreamName(v string) *DecreaseSt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriodOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriodOutput type DecreaseStreamRetentionPeriodOutput struct { _ struct{} `type:"structure"` } @@ -2807,7 +2899,7 @@ func (s DecreaseStreamRetentionPeriodOutput) GoString() string { } // Represents the input for DeleteStream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStreamInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStreamInput type DeleteStreamInput struct { _ struct{} `type:"structure"` @@ -2849,7 +2941,7 @@ func (s *DeleteStreamInput) SetStreamName(v string) *DeleteStreamInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStreamOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStreamOutput type DeleteStreamOutput struct { _ struct{} `type:"structure"` } @@ -2864,7 +2956,7 @@ func (s DeleteStreamOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimitsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimitsInput type DescribeLimitsInput struct { _ struct{} `type:"structure"` } @@ -2879,7 +2971,7 @@ func (s DescribeLimitsInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimitsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimitsOutput type DescribeLimitsOutput struct { _ struct{} `type:"structure"` @@ -2917,7 +3009,7 @@ func (s *DescribeLimitsOutput) SetShardLimit(v int64) *DescribeLimitsOutput { } // Represents the input for DescribeStream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamInput type DescribeStreamInput struct { _ struct{} `type:"structure"` @@ -2985,7 +3077,7 @@ func (s *DescribeStreamInput) SetStreamName(v string) *DescribeStreamInput { } // Represents the output for DescribeStream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamOutput type DescribeStreamOutput struct { _ struct{} `type:"structure"` @@ -3012,8 +3104,76 @@ func (s *DescribeStreamOutput) SetStreamDescription(v *StreamDescription) *Descr return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamSummaryInput +type DescribeStreamSummaryInput struct { + _ struct{} `type:"structure"` + + // The name of the stream to describe. + // + // StreamName is a required field + StreamName *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeStreamSummaryInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeStreamSummaryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeStreamSummaryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeStreamSummaryInput"} + if s.StreamName == nil { + invalidParams.Add(request.NewErrParamRequired("StreamName")) + } + if s.StreamName != nil && len(*s.StreamName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StreamName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetStreamName sets the StreamName field's value. +func (s *DescribeStreamSummaryInput) SetStreamName(v string) *DescribeStreamSummaryInput { + s.StreamName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamSummaryOutput +type DescribeStreamSummaryOutput struct { + _ struct{} `type:"structure"` + + // A StreamDescriptionSummary containing information about the stream. + // + // StreamDescriptionSummary is a required field + StreamDescriptionSummary *StreamDescriptionSummary `type:"structure" required:"true"` +} + +// String returns the string representation +func (s DescribeStreamSummaryOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeStreamSummaryOutput) GoString() string { + return s.String() +} + +// SetStreamDescriptionSummary sets the StreamDescriptionSummary field's value. +func (s *DescribeStreamSummaryOutput) SetStreamDescriptionSummary(v *StreamDescriptionSummary) *DescribeStreamSummaryOutput { + s.StreamDescriptionSummary = v + return s +} + // Represents the input for DisableEnhancedMonitoring. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DisableEnhancedMonitoringInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DisableEnhancedMonitoringInput type DisableEnhancedMonitoringInput struct { _ struct{} `type:"structure"` @@ -3045,7 +3205,7 @@ type DisableEnhancedMonitoringInput struct { // ShardLevelMetrics is a required field ShardLevelMetrics []*string `min:"1" type:"list" required:"true"` - // The name of the Amazon Kinesis stream for which to disable enhanced monitoring. + // The name of the Kinesis stream for which to disable enhanced monitoring. // // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` @@ -3096,7 +3256,7 @@ func (s *DisableEnhancedMonitoringInput) SetStreamName(v string) *DisableEnhance } // Represents the input for EnableEnhancedMonitoring. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnableEnhancedMonitoringInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnableEnhancedMonitoringInput type EnableEnhancedMonitoringInput struct { _ struct{} `type:"structure"` @@ -3179,7 +3339,7 @@ func (s *EnableEnhancedMonitoringInput) SetStreamName(v string) *EnableEnhancedM } // Represents enhanced metrics types. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnhancedMetrics +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnhancedMetrics type EnhancedMetrics struct { _ struct{} `type:"structure"` @@ -3227,7 +3387,7 @@ func (s *EnhancedMetrics) SetShardLevelMetrics(v []*string) *EnhancedMetrics { } // Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnhancedMonitoringOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnhancedMonitoringOutput type EnhancedMonitoringOutput struct { _ struct{} `type:"structure"` @@ -3239,7 +3399,7 @@ type EnhancedMonitoringOutput struct { // after the operation. DesiredShardLevelMetrics []*string `min:"1" type:"list"` - // The name of the Amazon Kinesis stream. + // The name of the Kinesis stream. StreamName *string `min:"1" type:"string"` } @@ -3272,7 +3432,7 @@ func (s *EnhancedMonitoringOutput) SetStreamName(v string) *EnhancedMonitoringOu } // Represents the input for GetRecords. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecordsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecordsInput type GetRecordsInput struct { _ struct{} `type:"structure"` @@ -3330,19 +3490,19 @@ func (s *GetRecordsInput) SetShardIterator(v string) *GetRecordsInput { } // Represents the output for GetRecords. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecordsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecordsOutput type GetRecordsOutput struct { _ struct{} `type:"structure"` // The number of milliseconds the GetRecords response is from the tip of the // stream, indicating how far behind current time the consumer is. A value of - // zero indicates record processing is caught up, and there are no new records - // to process at this moment. + // zero indicates that record processing is caught up, and there are no new + // records to process at this moment. MillisBehindLatest *int64 `type:"long"` // The next position in the shard from which to start sequentially reading data // records. If set to null, the shard has been closed and the requested iterator - // will not return any more data. + // does not return any more data. NextShardIterator *string `min:"1" type:"string"` // The data records retrieved from the shard. @@ -3380,11 +3540,11 @@ func (s *GetRecordsOutput) SetRecords(v []*Record) *GetRecordsOutput { } // Represents the input for GetShardIterator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIteratorInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIteratorInput type GetShardIteratorInput struct { _ struct{} `type:"structure"` - // The shard ID of the Amazon Kinesis shard to get the iterator for. + // The shard ID of the Kinesis Streams shard to get the iterator for. // // ShardId is a required field ShardId *string `min:"1" type:"string" required:"true"` @@ -3401,7 +3561,7 @@ type GetShardIteratorInput struct { // by a specific sequence number, provided in the value StartingSequenceNumber. // // * AT_TIMESTAMP - Start reading from the position denoted by a specific - // timestamp, provided in the value Timestamp. + // time stamp, provided in the value Timestamp. // // * TRIM_HORIZON - Start reading at the last untrimmed record in the shard // in the system, which is the oldest data record in the shard. @@ -3421,13 +3581,13 @@ type GetShardIteratorInput struct { // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` - // The timestamp of the data record from which to start reading. Used with shard - // iterator type AT_TIMESTAMP. A timestamp is the Unix epoch date with precision - // in milliseconds. For example, 2016-04-04T19:58:46.480-00:00 or 1459799926.480. - // If a record with this exact timestamp does not exist, the iterator returned - // is for the next (later) record. If the timestamp is older than the current - // trim horizon, the iterator returned is for the oldest untrimmed data record - // (TRIM_HORIZON). + // The time stamp of the data record from which to start reading. Used with + // shard iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date with + // precision in milliseconds. For example, 2016-04-04T19:58:46.480-00:00 or + // 1459799926.480. If a record with this exact time stamp does not exist, the + // iterator returned is for the next (later) record. If the time stamp is older + // than the current trim horizon, the iterator returned is for the oldest untrimmed + // data record (TRIM_HORIZON). Timestamp *time.Time `type:"timestamp" timestampFormat:"unix"` } @@ -3497,7 +3657,7 @@ func (s *GetShardIteratorInput) SetTimestamp(v time.Time) *GetShardIteratorInput } // Represents the output for GetShardIterator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIteratorOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIteratorOutput type GetShardIteratorOutput struct { _ struct{} `type:"structure"` @@ -3525,7 +3685,7 @@ func (s *GetShardIteratorOutput) SetShardIterator(v string) *GetShardIteratorOut // The range of possible hash key values for the shard, which is a set of ordered // contiguous positive integers. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/HashKeyRange +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/HashKeyRange type HashKeyRange struct { _ struct{} `type:"structure"` @@ -3563,7 +3723,7 @@ func (s *HashKeyRange) SetStartingHashKey(v string) *HashKeyRange { } // Represents the input for IncreaseStreamRetentionPeriod. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriodInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriodInput type IncreaseStreamRetentionPeriodInput struct { _ struct{} `type:"structure"` @@ -3623,7 +3783,7 @@ func (s *IncreaseStreamRetentionPeriodInput) SetStreamName(v string) *IncreaseSt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriodOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriodOutput type IncreaseStreamRetentionPeriodOutput struct { _ struct{} `type:"structure"` } @@ -3639,7 +3799,7 @@ func (s IncreaseStreamRetentionPeriodOutput) GoString() string { } // Represents the input for ListStreams. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreamsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreamsInput type ListStreamsInput struct { _ struct{} `type:"structure"` @@ -3689,7 +3849,7 @@ func (s *ListStreamsInput) SetLimit(v int64) *ListStreamsInput { } // Represents the output for ListStreams. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreamsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreamsOutput type ListStreamsOutput struct { _ struct{} `type:"structure"` @@ -3728,7 +3888,7 @@ func (s *ListStreamsOutput) SetStreamNames(v []*string) *ListStreamsOutput { } // Represents the input for ListTagsForStream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStreamInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStreamInput type ListTagsForStreamInput struct { _ struct{} `type:"structure"` @@ -3798,7 +3958,7 @@ func (s *ListTagsForStreamInput) SetStreamName(v string) *ListTagsForStreamInput } // Represents the output for ListTagsForStream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStreamOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStreamOutput type ListTagsForStreamOutput struct { _ struct{} `type:"structure"` @@ -3838,7 +3998,7 @@ func (s *ListTagsForStreamOutput) SetTags(v []*Tag) *ListTagsForStreamOutput { } // Represents the input for MergeShards. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShardsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShardsInput type MergeShardsInput struct { _ struct{} `type:"structure"` @@ -3914,7 +4074,7 @@ func (s *MergeShardsInput) SetStreamName(v string) *MergeShardsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShardsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShardsOutput type MergeShardsOutput struct { _ struct{} `type:"structure"` } @@ -3930,7 +4090,7 @@ func (s MergeShardsOutput) GoString() string { } // Represents the input for PutRecord. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordInput type PutRecordInput struct { _ struct{} `type:"structure"` @@ -3963,7 +4123,7 @@ type PutRecordInput struct { // Guarantees strictly increasing sequence numbers, for puts from the same client // and to the same partition key. Usage: set the SequenceNumberForOrdering of // record n to the sequence number of record n-1 (as returned in the result - // when putting record n-1). If this parameter is not set, records will be coarsely + // when putting record n-1). If this parameter is not set, records are coarsely // ordered based on arrival time. SequenceNumberForOrdering *string `type:"string"` @@ -4039,7 +4199,7 @@ func (s *PutRecordInput) SetStreamName(v string) *PutRecordInput { } // Represents the output for PutRecord. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordOutput type PutRecordOutput struct { _ struct{} `type:"structure"` @@ -4095,7 +4255,7 @@ func (s *PutRecordOutput) SetShardId(v string) *PutRecordOutput { } // A PutRecords request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsInput type PutRecordsInput struct { _ struct{} `type:"structure"` @@ -4165,7 +4325,7 @@ func (s *PutRecordsInput) SetStreamName(v string) *PutRecordsInput { } // PutRecords results. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsOutput type PutRecordsOutput struct { _ struct{} `type:"structure"` @@ -4220,7 +4380,7 @@ func (s *PutRecordsOutput) SetRecords(v []*PutRecordsResultEntry) *PutRecordsOut } // Represents the output for PutRecords. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsRequestEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsRequestEntry type PutRecordsRequestEntry struct { _ struct{} `type:"structure"` @@ -4302,7 +4462,7 @@ func (s *PutRecordsRequestEntry) SetPartitionKey(v string) *PutRecordsRequestEnt // A record that is successfully added to a stream includes SequenceNumber and // ShardId in the result. A record that fails to be added to the stream includes // ErrorCode and ErrorMessage in the result. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsResultEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsResultEntry type PutRecordsResultEntry struct { _ struct{} `type:"structure"` @@ -4357,20 +4517,20 @@ func (s *PutRecordsResultEntry) SetShardId(v string) *PutRecordsResultEntry { return s } -// The unit of data of the Amazon Kinesis stream, which is composed of a sequence -// number, a partition key, and a data blob. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/Record +// The unit of data of the Kinesis stream, which is composed of a sequence number, +// a partition key, and a data blob. +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/Record type Record struct { _ struct{} `type:"structure"` // The approximate time that the record was inserted into the stream. ApproximateArrivalTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` - // The data blob. The data in the blob is both opaque and immutable to the Amazon - // Kinesis service, which does not inspect, interpret, or change the data in - // the blob in any way. When the data blob (the payload before base64-encoding) - // is added to the partition key size, the total size must not exceed the maximum - // record size (1 MB). + // The data blob. The data in the blob is both opaque and immutable to Kinesis + // Streams, which does not inspect, interpret, or change the data in the blob + // in any way. When the data blob (the payload before base64-encoding) is added + // to the partition key size, the total size must not exceed the maximum record + // size (1 MB). // // Data is automatically base64 encoded/decoded by the SDK. // @@ -4438,7 +4598,7 @@ func (s *Record) SetSequenceNumber(v string) *Record { } // Represents the input for RemoveTagsFromStream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStreamInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStreamInput type RemoveTagsFromStreamInput struct { _ struct{} `type:"structure"` @@ -4497,7 +4657,7 @@ func (s *RemoveTagsFromStreamInput) SetTagKeys(v []*string) *RemoveTagsFromStrea return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStreamOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStreamOutput type RemoveTagsFromStreamOutput struct { _ struct{} `type:"structure"` } @@ -4513,7 +4673,7 @@ func (s RemoveTagsFromStreamOutput) GoString() string { } // The range of possible sequence numbers for the shard. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SequenceNumberRange +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SequenceNumberRange type SequenceNumberRange struct { _ struct{} `type:"structure"` @@ -4549,8 +4709,8 @@ func (s *SequenceNumberRange) SetStartingSequenceNumber(v string) *SequenceNumbe return s } -// A uniquely identified group of data records in an Amazon Kinesis stream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/Shard +// A uniquely identified group of data records in a Kinesis stream. +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/Shard type Shard struct { _ struct{} `type:"structure"` @@ -4618,7 +4778,7 @@ func (s *Shard) SetShardId(v string) *Shard { } // Represents the input for SplitShard. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShardInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShardInput type SplitShardInput struct { _ struct{} `type:"structure"` @@ -4697,7 +4857,7 @@ func (s *SplitShardInput) SetStreamName(v string) *SplitShardInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShardOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShardOutput type SplitShardOutput struct { _ struct{} `type:"structure"` } @@ -4712,23 +4872,29 @@ func (s SplitShardOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StartStreamEncryptionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StartStreamEncryptionInput type StartStreamEncryptionInput struct { _ struct{} `type:"structure"` - // The encryption type to use. This parameter can be one of the following values: - // - // * NONE: Not valid for this operation. An InvalidOperationException will - // be thrown. - // - // * KMS: Use server-side encryption on the records in the stream using a - // customer-managed KMS key. + // The encryption type to use. The only valid value is KMS. // // EncryptionType is a required field EncryptionType *string `type:"string" required:"true" enum:"EncryptionType"` - // The GUID for the customer-managed KMS key to use for encryption. You can - // also use a Kinesis-owned master key by specifying the alias aws/kinesis. + // The GUID for the customer-managed KMS key to use for encryption. This value + // can be a globally unique identifier, a fully specified ARN to either an alias + // or a key, or an alias name prefixed by "alias/".You can also use a master + // key owned by Kinesis Streams by specifying the alias aws/kinesis. + // + // * Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 + // + // * Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName + // + // * Globally unique key ID example: 12345678-1234-1234-1234-123456789012 + // + // * Alias name example: alias/MyAliasName + // + // * Master key owned by Kinesis Streams: alias/aws/kinesis // // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` @@ -4792,7 +4958,7 @@ func (s *StartStreamEncryptionInput) SetStreamName(v string) *StartStreamEncrypt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StartStreamEncryptionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StartStreamEncryptionOutput type StartStreamEncryptionOutput struct { _ struct{} `type:"structure"` } @@ -4807,22 +4973,29 @@ func (s StartStreamEncryptionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StopStreamEncryptionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StopStreamEncryptionInput type StopStreamEncryptionInput struct { _ struct{} `type:"structure"` - // The encryption type. This parameter can be one of the following values: - // - // * NONE: Not valid for this operation. An InvalidOperationException will - // be thrown. - // - // * KMS: Use server-side encryption on the records in the stream using a - // customer-managed KMS key. + // The encryption type. The only valid value is KMS. // // EncryptionType is a required field EncryptionType *string `type:"string" required:"true" enum:"EncryptionType"` - // The GUID for the customer-managed key that was used for encryption. + // The GUID for the customer-managed KMS key to use for encryption. This value + // can be a globally unique identifier, a fully specified ARN to either an alias + // or a key, or an alias name prefixed by "alias/".You can also use a master + // key owned by Kinesis Streams by specifying the alias aws/kinesis. + // + // * Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 + // + // * Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName + // + // * Globally unique key ID example: 12345678-1234-1234-1234-123456789012 + // + // * Alias name example: alias/MyAliasName + // + // * Master key owned by Kinesis Streams: alias/aws/kinesis // // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` @@ -4886,7 +5059,7 @@ func (s *StopStreamEncryptionInput) SetStreamName(v string) *StopStreamEncryptio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StopStreamEncryptionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StopStreamEncryptionOutput type StopStreamEncryptionOutput struct { _ struct{} `type:"structure"` } @@ -4902,7 +5075,7 @@ func (s StopStreamEncryptionOutput) GoString() string { } // Represents the output for DescribeStream. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StreamDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StreamDescription type StreamDescription struct { _ struct{} `type:"structure"` @@ -4925,7 +5098,20 @@ type StreamDescription struct { // HasMoreShards is a required field HasMoreShards *bool `type:"boolean" required:"true"` - // The GUID for the customer-managed KMS key used for encryption on the stream. + // The GUID for the customer-managed KMS key to use for encryption. This value + // can be a globally unique identifier, a fully specified ARN to either an alias + // or a key, or an alias name prefixed by "alias/".You can also use a master + // key owned by Kinesis Streams by specifying the alias aws/kinesis. + // + // * Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 + // + // * Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName + // + // * Globally unique key ID example: 12345678-1234-1234-1234-123456789012 + // + // * Alias name example: alias/MyAliasName + // + // * Master key owned by Kinesis Streams: alias/aws/kinesis KeyId *string `min:"1" type:"string"` // The current retention period, in hours. @@ -4956,11 +5142,11 @@ type StreamDescription struct { // The current status of the stream being described. The stream status is one // of the following states: // - // * CREATING - The stream is being created. Amazon Kinesis immediately returns - // and sets StreamStatus to CREATING. + // * CREATING - The stream is being created. Kinesis Streams immediately + // returns and sets StreamStatus to CREATING. // // * DELETING - The stream is being deleted. The specified stream is in the - // DELETING state until Amazon Kinesis completes the deletion. + // DELETING state until Kinesis Streams completes the deletion. // // * ACTIVE - The stream exists and is ready for read and write operations // or deletion. You should perform read and write operations only on an ACTIVE @@ -5044,8 +5230,151 @@ func (s *StreamDescription) SetStreamStatus(v string) *StreamDescription { return s } +// Represents the output for DescribeStreamSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StreamDescriptionSummary +type StreamDescriptionSummary struct { + _ struct{} `type:"structure"` + + // The encryption type used. This value is one of the following: + // + // * KMS + // + // * NONE + EncryptionType *string `type:"string" enum:"EncryptionType"` + + // Represents the current enhanced monitoring settings of the stream. + // + // EnhancedMonitoring is a required field + EnhancedMonitoring []*EnhancedMetrics `type:"list" required:"true"` + + // The GUID for the customer-managed KMS key to use for encryption. This value + // can be a globally unique identifier, a fully specified ARN to either an alias + // or a key, or an alias name prefixed by "alias/".You can also use a master + // key owned by Kinesis Streams by specifying the alias aws/kinesis. + // + // * Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 + // + // * Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName + // + // * Globally unique key ID example: 12345678-1234-1234-1234-123456789012 + // + // * Alias name example: alias/MyAliasName + // + // * Master key owned by Kinesis: alias/aws/kinesis + KeyId *string `min:"1" type:"string"` + + // The number of open shards in the stream. + // + // OpenShardCount is a required field + OpenShardCount *int64 `type:"integer" required:"true"` + + // The current retention period, in hours. + // + // RetentionPeriodHours is a required field + RetentionPeriodHours *int64 `min:"1" type:"integer" required:"true"` + + // The Amazon Resource Name (ARN) for the stream being described. + // + // StreamARN is a required field + StreamARN *string `type:"string" required:"true"` + + // The approximate time that the stream was created. + // + // StreamCreationTimestamp is a required field + StreamCreationTimestamp *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` + + // The name of the stream being described. + // + // StreamName is a required field + StreamName *string `min:"1" type:"string" required:"true"` + + // The current status of the stream being described. The stream status is one + // of the following states: + // + // * CREATING - The stream is being created. Kinesis Streams immediately + // returns and sets StreamStatus to CREATING. + // + // * DELETING - The stream is being deleted. The specified stream is in the + // DELETING state until Kinesis Streams completes the deletion. + // + // * ACTIVE - The stream exists and is ready for read and write operations + // or deletion. You should perform read and write operations only on an ACTIVE + // stream. + // + // * UPDATING - Shards in the stream are being merged or split. Read and + // write operations continue to work while the stream is in the UPDATING + // state. + // + // StreamStatus is a required field + StreamStatus *string `type:"string" required:"true" enum:"StreamStatus"` +} + +// String returns the string representation +func (s StreamDescriptionSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StreamDescriptionSummary) GoString() string { + return s.String() +} + +// SetEncryptionType sets the EncryptionType field's value. +func (s *StreamDescriptionSummary) SetEncryptionType(v string) *StreamDescriptionSummary { + s.EncryptionType = &v + return s +} + +// SetEnhancedMonitoring sets the EnhancedMonitoring field's value. +func (s *StreamDescriptionSummary) SetEnhancedMonitoring(v []*EnhancedMetrics) *StreamDescriptionSummary { + s.EnhancedMonitoring = v + return s +} + +// SetKeyId sets the KeyId field's value. +func (s *StreamDescriptionSummary) SetKeyId(v string) *StreamDescriptionSummary { + s.KeyId = &v + return s +} + +// SetOpenShardCount sets the OpenShardCount field's value. +func (s *StreamDescriptionSummary) SetOpenShardCount(v int64) *StreamDescriptionSummary { + s.OpenShardCount = &v + return s +} + +// SetRetentionPeriodHours sets the RetentionPeriodHours field's value. +func (s *StreamDescriptionSummary) SetRetentionPeriodHours(v int64) *StreamDescriptionSummary { + s.RetentionPeriodHours = &v + return s +} + +// SetStreamARN sets the StreamARN field's value. +func (s *StreamDescriptionSummary) SetStreamARN(v string) *StreamDescriptionSummary { + s.StreamARN = &v + return s +} + +// SetStreamCreationTimestamp sets the StreamCreationTimestamp field's value. +func (s *StreamDescriptionSummary) SetStreamCreationTimestamp(v time.Time) *StreamDescriptionSummary { + s.StreamCreationTimestamp = &v + return s +} + +// SetStreamName sets the StreamName field's value. +func (s *StreamDescriptionSummary) SetStreamName(v string) *StreamDescriptionSummary { + s.StreamName = &v + return s +} + +// SetStreamStatus sets the StreamStatus field's value. +func (s *StreamDescriptionSummary) SetStreamStatus(v string) *StreamDescriptionSummary { + s.StreamStatus = &v + return s +} + // Metadata assigned to the stream, consisting of a key-value pair. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/Tag type Tag struct { _ struct{} `type:"structure"` @@ -5083,7 +5412,7 @@ func (s *Tag) SetValue(v string) *Tag { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCountInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCountInput type UpdateShardCountInput struct { _ struct{} `type:"structure"` @@ -5156,7 +5485,7 @@ func (s *UpdateShardCountInput) SetTargetShardCount(v int64) *UpdateShardCountIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCountOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCountOutput type UpdateShardCountOutput struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/kinesis/errors.go b/vendor/github.com/aws/aws-sdk-go/service/kinesis/errors.go index bf2872c7ffb..bb64ceda72e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/kinesis/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/kinesis/errors.go @@ -27,7 +27,8 @@ const ( // ErrCodeKMSDisabledException for service response error code // "KMSDisabledException". // - // The request was rejected because the specified CMK isn't enabled. + // The request was rejected because the specified customer master key (CMK) + // isn't enabled. ErrCodeKMSDisabledException = "KMSDisabledException" // ErrCodeKMSInvalidStateException for service response error code @@ -42,8 +43,8 @@ const ( // ErrCodeKMSNotFoundException for service response error code // "KMSNotFoundException". // - // The request was rejected because the specified entity or resource couldn't - // be found. + // The request was rejected because the specified entity or resource can't be + // found. ErrCodeKMSNotFoundException = "KMSNotFoundException" // ErrCodeKMSOptInRequired for service response error code @@ -64,7 +65,7 @@ const ( // "LimitExceededException". // // The requested resource exceeds the maximum number allowed, or the number - // of concurrent stream requests exceeds the maximum number allowed (5). + // of concurrent stream requests exceeds the maximum number allowed. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeProvisionedThroughputExceededException for service response error code @@ -82,7 +83,7 @@ const ( // "ResourceInUseException". // // The resource is not available for this operation. For successful operation, - // the resource needs to be in the ACTIVE state. + // the resource must be in the ACTIVE state. ErrCodeResourceInUseException = "ResourceInUseException" // ErrCodeResourceNotFoundException for service response error code diff --git a/vendor/github.com/aws/aws-sdk-go/service/kms/api.go b/vendor/github.com/aws/aws-sdk-go/service/kms/api.go index ce3fb35beb6..5452ee70fc1 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/kms/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/kms/api.go @@ -38,7 +38,7 @@ const opCancelKeyDeletion = "CancelKeyDeletion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletion +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletion func (c *KMS) CancelKeyDeletionRequest(input *CancelKeyDeletionInput) (req *request.Request, output *CancelKeyDeletionOutput) { op := &request.Operation{ Name: opCancelKeyDeletion, @@ -97,7 +97,7 @@ func (c *KMS) CancelKeyDeletionRequest(input *CancelKeyDeletionInput) (req *requ // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletion +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletion func (c *KMS) CancelKeyDeletion(input *CancelKeyDeletionInput) (*CancelKeyDeletionOutput, error) { req, out := c.CancelKeyDeletionRequest(input) return out, req.Send() @@ -144,7 +144,7 @@ const opCreateAlias = "CreateAlias" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAlias func (c *KMS) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, output *CreateAliasOutput) { op := &request.Operation{ Name: opCreateAlias, @@ -229,7 +229,7 @@ func (c *KMS) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAlias func (c *KMS) CreateAlias(input *CreateAliasInput) (*CreateAliasOutput, error) { req, out := c.CreateAliasRequest(input) return out, req.Send() @@ -276,7 +276,7 @@ const opCreateGrant = "CreateGrant" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrant +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrant func (c *KMS) CreateGrantRequest(input *CreateGrantInput) (req *request.Request, output *CreateGrantOutput) { op := &request.Operation{ Name: opCreateGrant, @@ -346,7 +346,7 @@ func (c *KMS) CreateGrantRequest(input *CreateGrantInput) (req *request.Request, // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrant +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrant func (c *KMS) CreateGrant(input *CreateGrantInput) (*CreateGrantOutput, error) { req, out := c.CreateGrantRequest(input) return out, req.Send() @@ -393,7 +393,7 @@ const opCreateKey = "CreateKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKey func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, output *CreateKeyOutput) { op := &request.Operation{ Name: opCreateKey, @@ -461,7 +461,7 @@ func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, out // * ErrCodeTagException "TagException" // The request was rejected because one or more tags are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKey func (c *KMS) CreateKey(input *CreateKeyInput) (*CreateKeyOutput, error) { req, out := c.CreateKeyRequest(input) return out, req.Send() @@ -508,7 +508,7 @@ const opDecrypt = "Decrypt" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Decrypt +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Decrypt func (c *KMS) DecryptRequest(input *DecryptInput) (req *request.Request, output *DecryptOutput) { op := &request.Operation{ Name: opDecrypt, @@ -588,7 +588,7 @@ func (c *KMS) DecryptRequest(input *DecryptInput) (req *request.Request, output // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Decrypt +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Decrypt func (c *KMS) Decrypt(input *DecryptInput) (*DecryptOutput, error) { req, out := c.DecryptRequest(input) return out, req.Send() @@ -635,7 +635,7 @@ const opDeleteAlias = "DeleteAlias" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAlias func (c *KMS) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, output *DeleteAliasOutput) { op := &request.Operation{ Name: opDeleteAlias, @@ -696,7 +696,7 @@ func (c *KMS) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAlias func (c *KMS) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error) { req, out := c.DeleteAliasRequest(input) return out, req.Send() @@ -743,7 +743,7 @@ const opDeleteImportedKeyMaterial = "DeleteImportedKeyMaterial" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterial +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterial func (c *KMS) DeleteImportedKeyMaterialRequest(input *DeleteImportedKeyMaterialInput) (req *request.Request, output *DeleteImportedKeyMaterialOutput) { op := &request.Operation{ Name: opDeleteImportedKeyMaterial, @@ -811,7 +811,7 @@ func (c *KMS) DeleteImportedKeyMaterialRequest(input *DeleteImportedKeyMaterialI // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterial +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterial func (c *KMS) DeleteImportedKeyMaterial(input *DeleteImportedKeyMaterialInput) (*DeleteImportedKeyMaterialOutput, error) { req, out := c.DeleteImportedKeyMaterialRequest(input) return out, req.Send() @@ -858,7 +858,7 @@ const opDescribeKey = "DescribeKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKey func (c *KMS) DescribeKeyRequest(input *DescribeKeyInput) (req *request.Request, output *DescribeKeyOutput) { op := &request.Operation{ Name: opDescribeKey, @@ -905,7 +905,7 @@ func (c *KMS) DescribeKeyRequest(input *DescribeKeyInput) (req *request.Request, // The request was rejected because an internal exception occurred. The request // can be retried. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKey func (c *KMS) DescribeKey(input *DescribeKeyInput) (*DescribeKeyOutput, error) { req, out := c.DescribeKeyRequest(input) return out, req.Send() @@ -952,7 +952,7 @@ const opDisableKey = "DisableKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKey func (c *KMS) DisableKeyRequest(input *DisableKeyInput) (req *request.Request, output *DisableKeyOutput) { op := &request.Operation{ Name: opDisableKey, @@ -1012,7 +1012,7 @@ func (c *KMS) DisableKeyRequest(input *DisableKeyInput) (req *request.Request, o // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKey func (c *KMS) DisableKey(input *DisableKeyInput) (*DisableKeyOutput, error) { req, out := c.DisableKeyRequest(input) return out, req.Send() @@ -1059,7 +1059,7 @@ const opDisableKeyRotation = "DisableKeyRotation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotation +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotation func (c *KMS) DisableKeyRotationRequest(input *DisableKeyRotationInput) (req *request.Request, output *DisableKeyRotationOutput) { op := &request.Operation{ Name: opDisableKeyRotation, @@ -1122,7 +1122,7 @@ func (c *KMS) DisableKeyRotationRequest(input *DisableKeyRotationInput) (req *re // The request was rejected because a specified parameter is not supported or // a specified resource is not valid for this operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotation +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotation func (c *KMS) DisableKeyRotation(input *DisableKeyRotationInput) (*DisableKeyRotationOutput, error) { req, out := c.DisableKeyRotationRequest(input) return out, req.Send() @@ -1169,7 +1169,7 @@ const opEnableKey = "EnableKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKey func (c *KMS) EnableKeyRequest(input *EnableKeyInput) (req *request.Request, output *EnableKeyOutput) { op := &request.Operation{ Name: opEnableKey, @@ -1230,7 +1230,7 @@ func (c *KMS) EnableKeyRequest(input *EnableKeyInput) (req *request.Request, out // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKey func (c *KMS) EnableKey(input *EnableKeyInput) (*EnableKeyOutput, error) { req, out := c.EnableKeyRequest(input) return out, req.Send() @@ -1277,7 +1277,7 @@ const opEnableKeyRotation = "EnableKeyRotation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotation +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotation func (c *KMS) EnableKeyRotationRequest(input *EnableKeyRotationInput) (req *request.Request, output *EnableKeyRotationOutput) { op := &request.Operation{ Name: opEnableKeyRotation, @@ -1340,7 +1340,7 @@ func (c *KMS) EnableKeyRotationRequest(input *EnableKeyRotationInput) (req *requ // The request was rejected because a specified parameter is not supported or // a specified resource is not valid for this operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotation +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotation func (c *KMS) EnableKeyRotation(input *EnableKeyRotationInput) (*EnableKeyRotationOutput, error) { req, out := c.EnableKeyRotationRequest(input) return out, req.Send() @@ -1387,7 +1387,7 @@ const opEncrypt = "Encrypt" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Encrypt +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Encrypt func (c *KMS) EncryptRequest(input *EncryptInput) (req *request.Request, output *EncryptOutput) { op := &request.Operation{ Name: opEncrypt, @@ -1471,7 +1471,7 @@ func (c *KMS) EncryptRequest(input *EncryptInput) (req *request.Request, output // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Encrypt +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Encrypt func (c *KMS) Encrypt(input *EncryptInput) (*EncryptOutput, error) { req, out := c.EncryptRequest(input) return out, req.Send() @@ -1518,7 +1518,7 @@ const opGenerateDataKey = "GenerateDataKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKey func (c *KMS) GenerateDataKeyRequest(input *GenerateDataKeyInput) (req *request.Request, output *GenerateDataKeyOutput) { op := &request.Operation{ Name: opGenerateDataKey, @@ -1625,7 +1625,7 @@ func (c *KMS) GenerateDataKeyRequest(input *GenerateDataKeyInput) (req *request. // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKey func (c *KMS) GenerateDataKey(input *GenerateDataKeyInput) (*GenerateDataKeyOutput, error) { req, out := c.GenerateDataKeyRequest(input) return out, req.Send() @@ -1672,7 +1672,7 @@ const opGenerateDataKeyWithoutPlaintext = "GenerateDataKeyWithoutPlaintext" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintext +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintext func (c *KMS) GenerateDataKeyWithoutPlaintextRequest(input *GenerateDataKeyWithoutPlaintextInput) (req *request.Request, output *GenerateDataKeyWithoutPlaintextOutput) { op := &request.Operation{ Name: opGenerateDataKeyWithoutPlaintext, @@ -1751,7 +1751,7 @@ func (c *KMS) GenerateDataKeyWithoutPlaintextRequest(input *GenerateDataKeyWitho // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintext +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintext func (c *KMS) GenerateDataKeyWithoutPlaintext(input *GenerateDataKeyWithoutPlaintextInput) (*GenerateDataKeyWithoutPlaintextOutput, error) { req, out := c.GenerateDataKeyWithoutPlaintextRequest(input) return out, req.Send() @@ -1798,7 +1798,7 @@ const opGenerateRandom = "GenerateRandom" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandom +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandom func (c *KMS) GenerateRandomRequest(input *GenerateRandomInput) (req *request.Request, output *GenerateRandomOutput) { op := &request.Operation{ Name: opGenerateRandom, @@ -1839,7 +1839,7 @@ func (c *KMS) GenerateRandomRequest(input *GenerateRandomInput) (req *request.Re // The request was rejected because an internal exception occurred. The request // can be retried. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandom +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandom func (c *KMS) GenerateRandom(input *GenerateRandomInput) (*GenerateRandomOutput, error) { req, out := c.GenerateRandomRequest(input) return out, req.Send() @@ -1886,7 +1886,7 @@ const opGetKeyPolicy = "GetKeyPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicy func (c *KMS) GetKeyPolicyRequest(input *GetKeyPolicyInput) (req *request.Request, output *GetKeyPolicyOutput) { op := &request.Operation{ Name: opGetKeyPolicy, @@ -1939,7 +1939,7 @@ func (c *KMS) GetKeyPolicyRequest(input *GetKeyPolicyInput) (req *request.Reques // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicy func (c *KMS) GetKeyPolicy(input *GetKeyPolicyInput) (*GetKeyPolicyOutput, error) { req, out := c.GetKeyPolicyRequest(input) return out, req.Send() @@ -1986,7 +1986,7 @@ const opGetKeyRotationStatus = "GetKeyRotationStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatus func (c *KMS) GetKeyRotationStatusRequest(input *GetKeyRotationStatusInput) (req *request.Request, output *GetKeyRotationStatusOutput) { op := &request.Operation{ Name: opGetKeyRotationStatus, @@ -2046,7 +2046,7 @@ func (c *KMS) GetKeyRotationStatusRequest(input *GetKeyRotationStatusInput) (req // The request was rejected because a specified parameter is not supported or // a specified resource is not valid for this operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatus func (c *KMS) GetKeyRotationStatus(input *GetKeyRotationStatusInput) (*GetKeyRotationStatusOutput, error) { req, out := c.GetKeyRotationStatusRequest(input) return out, req.Send() @@ -2093,7 +2093,7 @@ const opGetParametersForImport = "GetParametersForImport" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImport +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImport func (c *KMS) GetParametersForImportRequest(input *GetParametersForImportInput) (req *request.Request, output *GetParametersForImportOutput) { op := &request.Operation{ Name: opGetParametersForImport, @@ -2165,7 +2165,7 @@ func (c *KMS) GetParametersForImportRequest(input *GetParametersForImportInput) // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImport +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImport func (c *KMS) GetParametersForImport(input *GetParametersForImportInput) (*GetParametersForImportOutput, error) { req, out := c.GetParametersForImportRequest(input) return out, req.Send() @@ -2212,7 +2212,7 @@ const opImportKeyMaterial = "ImportKeyMaterial" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterial +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterial func (c *KMS) ImportKeyMaterialRequest(input *ImportKeyMaterialInput) (req *request.Request, output *ImportKeyMaterialOutput) { op := &request.Operation{ Name: opImportKeyMaterial, @@ -2322,7 +2322,7 @@ func (c *KMS) ImportKeyMaterialRequest(input *ImportKeyMaterialInput) (req *requ // The request was rejected because the provided import token is invalid or // is associated with a different customer master key (CMK). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterial +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterial func (c *KMS) ImportKeyMaterial(input *ImportKeyMaterialInput) (*ImportKeyMaterialOutput, error) { req, out := c.ImportKeyMaterialRequest(input) return out, req.Send() @@ -2369,7 +2369,7 @@ const opListAliases = "ListAliases" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliases +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliases func (c *KMS) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, output *ListAliasesOutput) { op := &request.Operation{ Name: opListAliases, @@ -2423,7 +2423,7 @@ func (c *KMS) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, // The request was rejected because an internal exception occurred. The request // can be retried. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliases +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliases func (c *KMS) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error) { req, out := c.ListAliasesRequest(input) return out, req.Send() @@ -2520,7 +2520,7 @@ const opListGrants = "ListGrants" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrants +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrants func (c *KMS) ListGrantsRequest(input *ListGrantsInput) (req *request.Request, output *ListGrantsResponse) { op := &request.Operation{ Name: opListGrants, @@ -2585,7 +2585,7 @@ func (c *KMS) ListGrantsRequest(input *ListGrantsInput) (req *request.Request, o // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrants +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrants func (c *KMS) ListGrants(input *ListGrantsInput) (*ListGrantsResponse, error) { req, out := c.ListGrantsRequest(input) return out, req.Send() @@ -2682,7 +2682,7 @@ const opListKeyPolicies = "ListKeyPolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPolicies func (c *KMS) ListKeyPoliciesRequest(input *ListKeyPoliciesInput) (req *request.Request, output *ListKeyPoliciesOutput) { op := &request.Operation{ Name: opListKeyPolicies, @@ -2743,7 +2743,7 @@ func (c *KMS) ListKeyPoliciesRequest(input *ListKeyPoliciesInput) (req *request. // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPolicies func (c *KMS) ListKeyPolicies(input *ListKeyPoliciesInput) (*ListKeyPoliciesOutput, error) { req, out := c.ListKeyPoliciesRequest(input) return out, req.Send() @@ -2840,7 +2840,7 @@ const opListKeys = "ListKeys" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeys +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeys func (c *KMS) ListKeysRequest(input *ListKeysInput) (req *request.Request, output *ListKeysOutput) { op := &request.Operation{ Name: opListKeys, @@ -2888,7 +2888,7 @@ func (c *KMS) ListKeysRequest(input *ListKeysInput) (req *request.Request, outpu // The request was rejected because the marker that specifies where pagination // should next begin is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeys +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeys func (c *KMS) ListKeys(input *ListKeysInput) (*ListKeysOutput, error) { req, out := c.ListKeysRequest(input) return out, req.Send() @@ -2985,7 +2985,7 @@ const opListResourceTags = "ListResourceTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTags func (c *KMS) ListResourceTagsRequest(input *ListResourceTagsInput) (req *request.Request, output *ListResourceTagsOutput) { op := &request.Operation{ Name: opListResourceTags, @@ -3031,7 +3031,7 @@ func (c *KMS) ListResourceTagsRequest(input *ListResourceTagsInput) (req *reques // The request was rejected because the marker that specifies where pagination // should next begin is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTags func (c *KMS) ListResourceTags(input *ListResourceTagsInput) (*ListResourceTagsOutput, error) { req, out := c.ListResourceTagsRequest(input) return out, req.Send() @@ -3078,7 +3078,7 @@ const opListRetirableGrants = "ListRetirableGrants" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListRetirableGrants +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListRetirableGrants func (c *KMS) ListRetirableGrantsRequest(input *ListRetirableGrantsInput) (req *request.Request, output *ListGrantsResponse) { op := &request.Operation{ Name: opListRetirableGrants, @@ -3130,7 +3130,7 @@ func (c *KMS) ListRetirableGrantsRequest(input *ListRetirableGrantsInput) (req * // The request was rejected because an internal exception occurred. The request // can be retried. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListRetirableGrants +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListRetirableGrants func (c *KMS) ListRetirableGrants(input *ListRetirableGrantsInput) (*ListGrantsResponse, error) { req, out := c.ListRetirableGrantsRequest(input) return out, req.Send() @@ -3177,7 +3177,7 @@ const opPutKeyPolicy = "PutKeyPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicy func (c *KMS) PutKeyPolicyRequest(input *PutKeyPolicyInput) (req *request.Request, output *PutKeyPolicyOutput) { op := &request.Operation{ Name: opPutKeyPolicy, @@ -3248,7 +3248,7 @@ func (c *KMS) PutKeyPolicyRequest(input *PutKeyPolicyInput) (req *request.Reques // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicy func (c *KMS) PutKeyPolicy(input *PutKeyPolicyInput) (*PutKeyPolicyOutput, error) { req, out := c.PutKeyPolicyRequest(input) return out, req.Send() @@ -3295,7 +3295,7 @@ const opReEncrypt = "ReEncrypt" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncrypt +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncrypt func (c *KMS) ReEncryptRequest(input *ReEncryptInput) (req *request.Request, output *ReEncryptOutput) { op := &request.Operation{ Name: opReEncrypt, @@ -3375,7 +3375,7 @@ func (c *KMS) ReEncryptRequest(input *ReEncryptInput) (req *request.Request, out // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncrypt +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncrypt func (c *KMS) ReEncrypt(input *ReEncryptInput) (*ReEncryptOutput, error) { req, out := c.ReEncryptRequest(input) return out, req.Send() @@ -3422,7 +3422,7 @@ const opRetireGrant = "RetireGrant" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrant +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrant func (c *KMS) RetireGrantRequest(input *RetireGrantInput) (req *request.Request, output *RetireGrantOutput) { op := &request.Operation{ Name: opRetireGrant, @@ -3494,7 +3494,7 @@ func (c *KMS) RetireGrantRequest(input *RetireGrantInput) (req *request.Request, // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrant +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrant func (c *KMS) RetireGrant(input *RetireGrantInput) (*RetireGrantOutput, error) { req, out := c.RetireGrantRequest(input) return out, req.Send() @@ -3541,7 +3541,7 @@ const opRevokeGrant = "RevokeGrant" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrant +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrant func (c *KMS) RevokeGrantRequest(input *RevokeGrantInput) (req *request.Request, output *RevokeGrantOutput) { op := &request.Operation{ Name: opRevokeGrant, @@ -3602,7 +3602,7 @@ func (c *KMS) RevokeGrantRequest(input *RevokeGrantInput) (req *request.Request, // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrant +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrant func (c *KMS) RevokeGrant(input *RevokeGrantInput) (*RevokeGrantOutput, error) { req, out := c.RevokeGrantRequest(input) return out, req.Send() @@ -3649,7 +3649,7 @@ const opScheduleKeyDeletion = "ScheduleKeyDeletion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletion +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletion func (c *KMS) ScheduleKeyDeletionRequest(input *ScheduleKeyDeletionInput) (req *request.Request, output *ScheduleKeyDeletionOutput) { op := &request.Operation{ Name: opScheduleKeyDeletion, @@ -3718,7 +3718,7 @@ func (c *KMS) ScheduleKeyDeletionRequest(input *ScheduleKeyDeletionInput) (req * // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletion +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletion func (c *KMS) ScheduleKeyDeletion(input *ScheduleKeyDeletionInput) (*ScheduleKeyDeletionOutput, error) { req, out := c.ScheduleKeyDeletionRequest(input) return out, req.Send() @@ -3765,7 +3765,7 @@ const opTagResource = "TagResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResource func (c *KMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ Name: opTagResource, @@ -3837,7 +3837,7 @@ func (c *KMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, // * ErrCodeTagException "TagException" // The request was rejected because one or more tags are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResource func (c *KMS) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) return out, req.Send() @@ -3884,7 +3884,7 @@ const opUntagResource = "UntagResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResource func (c *KMS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { op := &request.Operation{ Name: opUntagResource, @@ -3942,7 +3942,7 @@ func (c *KMS) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // * ErrCodeTagException "TagException" // The request was rejected because one or more tags are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResource func (c *KMS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) return out, req.Send() @@ -3989,7 +3989,7 @@ const opUpdateAlias = "UpdateAlias" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAlias func (c *KMS) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Request, output *UpdateAliasOutput) { op := &request.Operation{ Name: opUpdateAlias, @@ -4059,7 +4059,7 @@ func (c *KMS) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Request, // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAlias func (c *KMS) UpdateAlias(input *UpdateAliasInput) (*UpdateAliasOutput, error) { req, out := c.UpdateAliasRequest(input) return out, req.Send() @@ -4106,7 +4106,7 @@ const opUpdateKeyDescription = "UpdateKeyDescription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescription func (c *KMS) UpdateKeyDescriptionRequest(input *UpdateKeyDescriptionInput) (req *request.Request, output *UpdateKeyDescriptionOutput) { op := &request.Operation{ Name: opUpdateKeyDescription, @@ -4163,7 +4163,7 @@ func (c *KMS) UpdateKeyDescriptionRequest(input *UpdateKeyDescriptionInput) (req // Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the AWS Key Management Service Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescription func (c *KMS) UpdateKeyDescription(input *UpdateKeyDescriptionInput) (*UpdateKeyDescriptionOutput, error) { req, out := c.UpdateKeyDescriptionRequest(input) return out, req.Send() @@ -4186,7 +4186,7 @@ func (c *KMS) UpdateKeyDescriptionWithContext(ctx aws.Context, input *UpdateKeyD } // Contains information about an alias. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/AliasListEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/AliasListEntry type AliasListEntry struct { _ struct{} `type:"structure"` @@ -4228,7 +4228,7 @@ func (s *AliasListEntry) SetTargetKeyId(v string) *AliasListEntry { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletionRequest type CancelKeyDeletionInput struct { _ struct{} `type:"structure"` @@ -4281,7 +4281,7 @@ func (s *CancelKeyDeletionInput) SetKeyId(v string) *CancelKeyDeletionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletionResponse type CancelKeyDeletionOutput struct { _ struct{} `type:"structure"` @@ -4305,7 +4305,7 @@ func (s *CancelKeyDeletionOutput) SetKeyId(v string) *CancelKeyDeletionOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAliasRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAliasRequest type CreateAliasInput struct { _ struct{} `type:"structure"` @@ -4377,7 +4377,7 @@ func (s *CreateAliasInput) SetTargetKeyId(v string) *CreateAliasInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAliasOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAliasOutput type CreateAliasOutput struct { _ struct{} `type:"structure"` } @@ -4392,7 +4392,7 @@ func (s CreateAliasOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrantRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrantRequest type CreateGrantInput struct { _ struct{} `type:"structure"` @@ -4552,7 +4552,7 @@ func (s *CreateGrantInput) SetRetiringPrincipal(v string) *CreateGrantInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrantResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrantResponse type CreateGrantOutput struct { _ struct{} `type:"structure"` @@ -4590,7 +4590,7 @@ func (s *CreateGrantOutput) SetGrantToken(v string) *CreateGrantOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKeyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKeyRequest type CreateKeyInput struct { _ struct{} `type:"structure"` @@ -4735,7 +4735,7 @@ func (s *CreateKeyInput) SetTags(v []*Tag) *CreateKeyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKeyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKeyResponse type CreateKeyOutput struct { _ struct{} `type:"structure"` @@ -4759,7 +4759,7 @@ func (s *CreateKeyOutput) SetKeyMetadata(v *KeyMetadata) *CreateKeyOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DecryptRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DecryptRequest type DecryptInput struct { _ struct{} `type:"structure"` @@ -4826,7 +4826,7 @@ func (s *DecryptInput) SetGrantTokens(v []*string) *DecryptInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DecryptResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DecryptResponse type DecryptOutput struct { _ struct{} `type:"structure"` @@ -4863,7 +4863,7 @@ func (s *DecryptOutput) SetPlaintext(v []byte) *DecryptOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAliasRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAliasRequest type DeleteAliasInput struct { _ struct{} `type:"structure"` @@ -4906,7 +4906,7 @@ func (s *DeleteAliasInput) SetAliasName(v string) *DeleteAliasInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAliasOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAliasOutput type DeleteAliasOutput struct { _ struct{} `type:"structure"` } @@ -4921,7 +4921,7 @@ func (s DeleteAliasOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterialRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterialRequest type DeleteImportedKeyMaterialInput struct { _ struct{} `type:"structure"` @@ -4974,7 +4974,7 @@ func (s *DeleteImportedKeyMaterialInput) SetKeyId(v string) *DeleteImportedKeyMa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterialOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterialOutput type DeleteImportedKeyMaterialOutput struct { _ struct{} `type:"structure"` } @@ -4989,7 +4989,7 @@ func (s DeleteImportedKeyMaterialOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKeyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKeyRequest type DescribeKeyInput struct { _ struct{} `type:"structure"` @@ -5060,7 +5060,7 @@ func (s *DescribeKeyInput) SetKeyId(v string) *DescribeKeyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKeyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKeyResponse type DescribeKeyOutput struct { _ struct{} `type:"structure"` @@ -5084,7 +5084,7 @@ func (s *DescribeKeyOutput) SetKeyMetadata(v *KeyMetadata) *DescribeKeyOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRequest type DisableKeyInput struct { _ struct{} `type:"structure"` @@ -5136,7 +5136,7 @@ func (s *DisableKeyInput) SetKeyId(v string) *DisableKeyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyOutput type DisableKeyOutput struct { _ struct{} `type:"structure"` } @@ -5151,7 +5151,7 @@ func (s DisableKeyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotationRequest type DisableKeyRotationInput struct { _ struct{} `type:"structure"` @@ -5203,7 +5203,7 @@ func (s *DisableKeyRotationInput) SetKeyId(v string) *DisableKeyRotationInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotationOutput type DisableKeyRotationOutput struct { _ struct{} `type:"structure"` } @@ -5218,7 +5218,7 @@ func (s DisableKeyRotationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRequest type EnableKeyInput struct { _ struct{} `type:"structure"` @@ -5270,7 +5270,7 @@ func (s *EnableKeyInput) SetKeyId(v string) *EnableKeyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyOutput type EnableKeyOutput struct { _ struct{} `type:"structure"` } @@ -5285,7 +5285,7 @@ func (s EnableKeyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotationRequest type EnableKeyRotationInput struct { _ struct{} `type:"structure"` @@ -5337,7 +5337,7 @@ func (s *EnableKeyRotationInput) SetKeyId(v string) *EnableKeyRotationInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotationOutput type EnableKeyRotationOutput struct { _ struct{} `type:"structure"` } @@ -5352,7 +5352,7 @@ func (s EnableKeyRotationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EncryptRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EncryptRequest type EncryptInput struct { _ struct{} `type:"structure"` @@ -5454,7 +5454,7 @@ func (s *EncryptInput) SetPlaintext(v []byte) *EncryptInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EncryptResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EncryptResponse type EncryptOutput struct { _ struct{} `type:"structure"` @@ -5490,7 +5490,7 @@ func (s *EncryptOutput) SetKeyId(v string) *EncryptOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyRequest type GenerateDataKeyInput struct { _ struct{} `type:"structure"` @@ -5599,7 +5599,7 @@ func (s *GenerateDataKeyInput) SetNumberOfBytes(v int64) *GenerateDataKeyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyResponse type GenerateDataKeyOutput struct { _ struct{} `type:"structure"` @@ -5649,7 +5649,7 @@ func (s *GenerateDataKeyOutput) SetPlaintext(v []byte) *GenerateDataKeyOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintextRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintextRequest type GenerateDataKeyWithoutPlaintextInput struct { _ struct{} `type:"structure"` @@ -5758,7 +5758,7 @@ func (s *GenerateDataKeyWithoutPlaintextInput) SetNumberOfBytes(v int64) *Genera return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintextResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintextResponse type GenerateDataKeyWithoutPlaintextOutput struct { _ struct{} `type:"structure"` @@ -5795,7 +5795,7 @@ func (s *GenerateDataKeyWithoutPlaintextOutput) SetKeyId(v string) *GenerateData return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandomRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandomRequest type GenerateRandomInput struct { _ struct{} `type:"structure"` @@ -5832,7 +5832,7 @@ func (s *GenerateRandomInput) SetNumberOfBytes(v int64) *GenerateRandomInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandomResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandomResponse type GenerateRandomOutput struct { _ struct{} `type:"structure"` @@ -5859,7 +5859,7 @@ func (s *GenerateRandomOutput) SetPlaintext(v []byte) *GenerateRandomOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicyRequest type GetKeyPolicyInput struct { _ struct{} `type:"structure"` @@ -5929,7 +5929,7 @@ func (s *GetKeyPolicyInput) SetPolicyName(v string) *GetKeyPolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicyResponse type GetKeyPolicyOutput struct { _ struct{} `type:"structure"` @@ -5953,7 +5953,7 @@ func (s *GetKeyPolicyOutput) SetPolicy(v string) *GetKeyPolicyOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatusRequest type GetKeyRotationStatusInput struct { _ struct{} `type:"structure"` @@ -6006,7 +6006,7 @@ func (s *GetKeyRotationStatusInput) SetKeyId(v string) *GetKeyRotationStatusInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatusResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatusResponse type GetKeyRotationStatusOutput struct { _ struct{} `type:"structure"` @@ -6030,7 +6030,7 @@ func (s *GetKeyRotationStatusOutput) SetKeyRotationEnabled(v bool) *GetKeyRotati return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImportRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImportRequest type GetParametersForImportInput struct { _ struct{} `type:"structure"` @@ -6115,7 +6115,7 @@ func (s *GetParametersForImportInput) SetWrappingKeySpec(v string) *GetParameter return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImportResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImportResponse type GetParametersForImportOutput struct { _ struct{} `type:"structure"` @@ -6186,7 +6186,7 @@ func (s *GetParametersForImportOutput) SetPublicKey(v []byte) *GetParametersForI // context as input. A grant that allows the Encrypt operation does so only // when the encryption context of the Encrypt operation satisfies the grant // constraints. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GrantConstraints +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GrantConstraints type GrantConstraints struct { _ struct{} `type:"structure"` @@ -6228,7 +6228,7 @@ func (s *GrantConstraints) SetEncryptionContextSubset(v map[string]*string) *Gra } // Contains information about an entry in a list of grants. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GrantListEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GrantListEntry type GrantListEntry struct { _ struct{} `type:"structure"` @@ -6327,7 +6327,7 @@ func (s *GrantListEntry) SetRetiringPrincipal(v string) *GrantListEntry { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterialRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterialRequest type ImportKeyMaterialInput struct { _ struct{} `type:"structure"` @@ -6445,7 +6445,7 @@ func (s *ImportKeyMaterialInput) SetValidTo(v time.Time) *ImportKeyMaterialInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterialResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterialResponse type ImportKeyMaterialOutput struct { _ struct{} `type:"structure"` } @@ -6461,7 +6461,7 @@ func (s ImportKeyMaterialOutput) GoString() string { } // Contains information about each entry in the key list. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/KeyListEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/KeyListEntry type KeyListEntry struct { _ struct{} `type:"structure"` @@ -6498,7 +6498,7 @@ func (s *KeyListEntry) SetKeyId(v string) *KeyListEntry { // // This data type is used as a response element for the CreateKey and DescribeKey // operations. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/KeyMetadata +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/KeyMetadata type KeyMetadata struct { _ struct{} `type:"structure"` @@ -6651,7 +6651,7 @@ func (s *KeyMetadata) SetValidTo(v time.Time) *KeyMetadata { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliasesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliasesRequest type ListAliasesInput struct { _ struct{} `type:"structure"` @@ -6707,7 +6707,7 @@ func (s *ListAliasesInput) SetMarker(v string) *ListAliasesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliasesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliasesResponse type ListAliasesOutput struct { _ struct{} `type:"structure"` @@ -6753,7 +6753,7 @@ func (s *ListAliasesOutput) SetTruncated(v bool) *ListAliasesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrantsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrantsRequest type ListGrantsInput struct { _ struct{} `type:"structure"` @@ -6837,7 +6837,7 @@ func (s *ListGrantsInput) SetMarker(v string) *ListGrantsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrantsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrantsResponse type ListGrantsResponse struct { _ struct{} `type:"structure"` @@ -6883,7 +6883,7 @@ func (s *ListGrantsResponse) SetTruncated(v bool) *ListGrantsResponse { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPoliciesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPoliciesRequest type ListKeyPoliciesInput struct { _ struct{} `type:"structure"` @@ -6968,7 +6968,7 @@ func (s *ListKeyPoliciesInput) SetMarker(v string) *ListKeyPoliciesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPoliciesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPoliciesResponse type ListKeyPoliciesOutput struct { _ struct{} `type:"structure"` @@ -7015,7 +7015,7 @@ func (s *ListKeyPoliciesOutput) SetTruncated(v bool) *ListKeyPoliciesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeysRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeysRequest type ListKeysInput struct { _ struct{} `type:"structure"` @@ -7071,7 +7071,7 @@ func (s *ListKeysInput) SetMarker(v string) *ListKeysInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeysResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeysResponse type ListKeysOutput struct { _ struct{} `type:"structure"` @@ -7117,7 +7117,7 @@ func (s *ListKeysOutput) SetTruncated(v bool) *ListKeysOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTagsRequest type ListResourceTagsInput struct { _ struct{} `type:"structure"` @@ -7203,7 +7203,7 @@ func (s *ListResourceTagsInput) SetMarker(v string) *ListResourceTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTagsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTagsResponse type ListResourceTagsOutput struct { _ struct{} `type:"structure"` @@ -7251,7 +7251,7 @@ func (s *ListResourceTagsOutput) SetTruncated(v bool) *ListResourceTagsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListRetirableGrantsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListRetirableGrantsRequest type ListRetirableGrantsInput struct { _ struct{} `type:"structure"` @@ -7331,7 +7331,7 @@ func (s *ListRetirableGrantsInput) SetRetiringPrincipal(v string) *ListRetirable return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicyRequest type PutKeyPolicyInput struct { _ struct{} `type:"structure"` @@ -7456,7 +7456,7 @@ func (s *PutKeyPolicyInput) SetPolicyName(v string) *PutKeyPolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicyOutput type PutKeyPolicyOutput struct { _ struct{} `type:"structure"` } @@ -7471,7 +7471,7 @@ func (s PutKeyPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncryptRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncryptRequest type ReEncryptInput struct { _ struct{} `type:"structure"` @@ -7580,7 +7580,7 @@ func (s *ReEncryptInput) SetSourceEncryptionContext(v map[string]*string) *ReEnc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncryptResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncryptResponse type ReEncryptOutput struct { _ struct{} `type:"structure"` @@ -7625,7 +7625,7 @@ func (s *ReEncryptOutput) SetSourceKeyId(v string) *ReEncryptOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrantRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrantRequest type RetireGrantInput struct { _ struct{} `type:"structure"` @@ -7691,7 +7691,7 @@ func (s *RetireGrantInput) SetKeyId(v string) *RetireGrantInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrantOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrantOutput type RetireGrantOutput struct { _ struct{} `type:"structure"` } @@ -7706,7 +7706,7 @@ func (s RetireGrantOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrantRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrantRequest type RevokeGrantInput struct { _ struct{} `type:"structure"` @@ -7776,7 +7776,7 @@ func (s *RevokeGrantInput) SetKeyId(v string) *RevokeGrantInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrantOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrantOutput type RevokeGrantOutput struct { _ struct{} `type:"structure"` } @@ -7791,7 +7791,7 @@ func (s RevokeGrantOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletionRequest type ScheduleKeyDeletionInput struct { _ struct{} `type:"structure"` @@ -7859,7 +7859,7 @@ func (s *ScheduleKeyDeletionInput) SetPendingWindowInDays(v int64) *ScheduleKeyD return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletionResponse type ScheduleKeyDeletionOutput struct { _ struct{} `type:"structure"` @@ -7899,7 +7899,7 @@ func (s *ScheduleKeyDeletionOutput) SetKeyId(v string) *ScheduleKeyDeletionOutpu // For information about the rules that apply to tag keys and tag values, see // User-Defined Tag Restrictions (http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html) // in the AWS Billing and Cost Management User Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Tag type Tag struct { _ struct{} `type:"structure"` @@ -7955,7 +7955,7 @@ func (s *Tag) SetTagValue(v string) *Tag { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResourceRequest type TagResourceInput struct { _ struct{} `type:"structure"` @@ -8031,7 +8031,7 @@ func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResourceOutput type TagResourceOutput struct { _ struct{} `type:"structure"` } @@ -8046,7 +8046,7 @@ func (s TagResourceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResourceRequest type UntagResourceInput struct { _ struct{} `type:"structure"` @@ -8112,7 +8112,7 @@ func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResourceOutput type UntagResourceOutput struct { _ struct{} `type:"structure"` } @@ -8127,7 +8127,7 @@ func (s UntagResourceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAliasRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAliasRequest type UpdateAliasInput struct { _ struct{} `type:"structure"` @@ -8200,7 +8200,7 @@ func (s *UpdateAliasInput) SetTargetKeyId(v string) *UpdateAliasInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAliasOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAliasOutput type UpdateAliasOutput struct { _ struct{} `type:"structure"` } @@ -8215,7 +8215,7 @@ func (s UpdateAliasOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescriptionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescriptionRequest type UpdateKeyDescriptionInput struct { _ struct{} `type:"structure"` @@ -8281,7 +8281,7 @@ func (s *UpdateKeyDescriptionInput) SetKeyId(v string) *UpdateKeyDescriptionInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescriptionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescriptionOutput type UpdateKeyDescriptionOutput struct { _ struct{} `type:"structure"` } diff --git a/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go b/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go index 9c4bc147a2e..0fc81bb7000 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go @@ -38,7 +38,7 @@ const opAddPermission = "AddPermission" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermission func (c *Lambda) AddPermissionRequest(input *AddPermissionInput) (req *request.Request, output *AddPermissionOutput) { op := &request.Operation{ Name: opAddPermission, @@ -94,16 +94,22 @@ func (c *Lambda) AddPermissionRequest(input *AddPermissionInput) (req *request.R // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodePolicyLengthExceededException "PolicyLengthExceededException" // Lambda function access policy is limited to 20 KB. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermission +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermission func (c *Lambda) AddPermission(input *AddPermissionInput) (*AddPermissionOutput, error) { req, out := c.AddPermissionRequest(input) return out, req.Send() @@ -150,7 +156,7 @@ const opCreateAlias = "CreateAlias" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAlias func (c *Lambda) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, output *AliasConfiguration) { op := &request.Operation{ Name: opCreateAlias, @@ -196,13 +202,19 @@ func (c *Lambda) CreateAliasRequest(input *CreateAliasInput) (req *request.Reque // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAlias +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAlias func (c *Lambda) CreateAlias(input *CreateAliasInput) (*AliasConfiguration, error) { req, out := c.CreateAliasRequest(input) return out, req.Send() @@ -249,7 +261,7 @@ const opCreateEventSourceMapping = "CreateEventSourceMapping" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration) { op := &request.Operation{ Name: opCreateEventSourceMapping, @@ -308,20 +320,26 @@ func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMapping // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeResourceConflictException "ResourceConflictException" // The resource already exists. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The resource (for example, a Lambda function or access policy statement) // specified in the request does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping func (c *Lambda) CreateEventSourceMapping(input *CreateEventSourceMappingInput) (*EventSourceMappingConfiguration, error) { req, out := c.CreateEventSourceMappingRequest(input) return out, req.Send() @@ -368,7 +386,7 @@ const opCreateFunction = "CreateFunction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request.Request, output *FunctionConfiguration) { op := &request.Operation{ Name: opCreateFunction, @@ -412,9 +430,7 @@ func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The resource (for example, a Lambda function or access policy statement) @@ -424,11 +440,19 @@ func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request // The resource already exists. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeCodeStorageExceededException "CodeStorageExceededException" // You have exceeded your maximum total code size per account. Limits (http://docs.aws.amazon.com/lambda/latest/dg/limits.html) // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction func (c *Lambda) CreateFunction(input *CreateFunctionInput) (*FunctionConfiguration, error) { req, out := c.CreateFunctionRequest(input) return out, req.Send() @@ -475,7 +499,7 @@ const opDeleteAlias = "DeleteAlias" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAlias func (c *Lambda) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, output *DeleteAliasOutput) { op := &request.Operation{ Name: opDeleteAlias, @@ -515,13 +539,19 @@ func (c *Lambda) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Reque // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAlias +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAlias func (c *Lambda) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error) { req, out := c.DeleteAliasRequest(input) return out, req.Send() @@ -568,7 +598,7 @@ const opDeleteEventSourceMapping = "DeleteEventSourceMapping" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping func (c *Lambda) DeleteEventSourceMappingRequest(input *DeleteEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration) { op := &request.Operation{ Name: opDeleteEventSourceMapping, @@ -611,13 +641,19 @@ func (c *Lambda) DeleteEventSourceMappingRequest(input *DeleteEventSourceMapping // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping func (c *Lambda) DeleteEventSourceMapping(input *DeleteEventSourceMappingInput) (*EventSourceMappingConfiguration, error) { req, out := c.DeleteEventSourceMappingRequest(input) return out, req.Send() @@ -664,7 +700,7 @@ const opDeleteFunction = "DeleteFunction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunction func (c *Lambda) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request.Request, output *DeleteFunctionOutput) { op := &request.Operation{ Name: opDeleteFunction, @@ -715,18 +751,24 @@ func (c *Lambda) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request // specified in the request does not exist. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeResourceConflictException "ResourceConflictException" // The resource already exists. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunction func (c *Lambda) DeleteFunction(input *DeleteFunctionInput) (*DeleteFunctionOutput, error) { req, out := c.DeleteFunctionRequest(input) return out, req.Send() @@ -748,6 +790,106 @@ func (c *Lambda) DeleteFunctionWithContext(ctx aws.Context, input *DeleteFunctio return out, req.Send() } +const opDeleteFunctionConcurrency = "DeleteFunctionConcurrency" + +// DeleteFunctionConcurrencyRequest generates a "aws/request.Request" representing the +// client's request for the DeleteFunctionConcurrency operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteFunctionConcurrency for more information on using the DeleteFunctionConcurrency +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteFunctionConcurrencyRequest method. +// req, resp := client.DeleteFunctionConcurrencyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrency +func (c *Lambda) DeleteFunctionConcurrencyRequest(input *DeleteFunctionConcurrencyInput) (req *request.Request, output *DeleteFunctionConcurrencyOutput) { + op := &request.Operation{ + Name: opDeleteFunctionConcurrency, + HTTPMethod: "DELETE", + HTTPPath: "/2017-10-31/functions/{FunctionName}/concurrency", + } + + if input == nil { + input = &DeleteFunctionConcurrencyInput{} + } + + output = &DeleteFunctionConcurrencyOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteFunctionConcurrency API operation for AWS Lambda. +// +// Removes concurrent execution limits from this function. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Lambda's +// API operation DeleteFunctionConcurrency for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// The AWS Lambda service encountered an internal error. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The resource (for example, a Lambda function or access policy statement) +// specified in the request does not exist. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// * ErrCodeInvalidParameterValueException "InvalidParameterValueException" +// One of the parameters in the request is invalid. For example, if you provided +// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration +// API, that AWS Lambda is unable to assume you will get this exception. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrency +func (c *Lambda) DeleteFunctionConcurrency(input *DeleteFunctionConcurrencyInput) (*DeleteFunctionConcurrencyOutput, error) { + req, out := c.DeleteFunctionConcurrencyRequest(input) + return out, req.Send() +} + +// DeleteFunctionConcurrencyWithContext is the same as DeleteFunctionConcurrency with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteFunctionConcurrency for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lambda) DeleteFunctionConcurrencyWithContext(ctx aws.Context, input *DeleteFunctionConcurrencyInput, opts ...request.Option) (*DeleteFunctionConcurrencyOutput, error) { + req, out := c.DeleteFunctionConcurrencyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetAccountSettings = "GetAccountSettings" // GetAccountSettingsRequest generates a "aws/request.Request" representing the @@ -773,7 +915,7 @@ const opGetAccountSettings = "GetAccountSettings" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettings func (c *Lambda) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput) { op := &request.Operation{ Name: opGetAccountSettings, @@ -809,11 +951,19 @@ func (c *Lambda) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req // // Returned Error Codes: // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeServiceException "ServiceException" // The AWS Lambda service encountered an internal error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettings func (c *Lambda) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error) { req, out := c.GetAccountSettingsRequest(input) return out, req.Send() @@ -860,7 +1010,7 @@ const opGetAlias = "GetAlias" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAlias func (c *Lambda) GetAliasRequest(input *GetAliasInput) (req *request.Request, output *AliasConfiguration) { op := &request.Operation{ Name: opGetAlias, @@ -903,13 +1053,19 @@ func (c *Lambda) GetAliasRequest(input *GetAliasInput) (req *request.Request, ou // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAlias +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAlias func (c *Lambda) GetAlias(input *GetAliasInput) (*AliasConfiguration, error) { req, out := c.GetAliasRequest(input) return out, req.Send() @@ -956,7 +1112,7 @@ const opGetEventSourceMapping = "GetEventSourceMapping" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping func (c *Lambda) GetEventSourceMappingRequest(input *GetEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration) { op := &request.Operation{ Name: opGetEventSourceMapping, @@ -998,13 +1154,19 @@ func (c *Lambda) GetEventSourceMappingRequest(input *GetEventSourceMappingInput) // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping func (c *Lambda) GetEventSourceMapping(input *GetEventSourceMappingInput) (*EventSourceMappingConfiguration, error) { req, out := c.GetEventSourceMappingRequest(input) return out, req.Send() @@ -1051,7 +1213,7 @@ const opGetFunction = "GetFunction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunction func (c *Lambda) GetFunctionRequest(input *GetFunctionInput) (req *request.Request, output *GetFunctionOutput) { op := &request.Operation{ Name: opGetFunction, @@ -1100,15 +1262,21 @@ func (c *Lambda) GetFunctionRequest(input *GetFunctionInput) (req *request.Reque // specified in the request does not exist. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunction func (c *Lambda) GetFunction(input *GetFunctionInput) (*GetFunctionOutput, error) { req, out := c.GetFunctionRequest(input) return out, req.Send() @@ -1155,7 +1323,7 @@ const opGetFunctionConfiguration = "GetFunctionConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfiguration func (c *Lambda) GetFunctionConfigurationRequest(input *GetFunctionConfigurationInput) (req *request.Request, output *FunctionConfiguration) { op := &request.Operation{ Name: opGetFunctionConfiguration, @@ -1204,15 +1372,21 @@ func (c *Lambda) GetFunctionConfigurationRequest(input *GetFunctionConfiguration // specified in the request does not exist. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfiguration func (c *Lambda) GetFunctionConfiguration(input *GetFunctionConfigurationInput) (*FunctionConfiguration, error) { req, out := c.GetFunctionConfigurationRequest(input) return out, req.Send() @@ -1259,7 +1433,7 @@ const opGetPolicy = "GetPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicy func (c *Lambda) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput) { op := &request.Operation{ Name: opGetPolicy, @@ -1303,15 +1477,21 @@ func (c *Lambda) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, // specified in the request does not exist. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicy func (c *Lambda) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { req, out := c.GetPolicyRequest(input) return out, req.Send() @@ -1358,7 +1538,7 @@ const opInvoke = "Invoke" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Invoke +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Invoke func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output *InvokeOutput) { op := &request.Operation{ Name: opInvoke, @@ -1416,13 +1596,19 @@ func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output // The content type of the Invoke request body is not JSON. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeEC2UnexpectedException "EC2UnexpectedException" // AWS Lambda received an unexpected EC2 client exception while setting up for @@ -1472,7 +1658,7 @@ func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output // * ErrCodeInvalidRuntimeException "InvalidRuntimeException" // The runtime or runtime version specified is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Invoke +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Invoke func (c *Lambda) Invoke(input *InvokeInput) (*InvokeOutput, error) { req, out := c.InvokeRequest(input) return out, req.Send() @@ -1519,7 +1705,7 @@ const opInvokeAsync = "InvokeAsync" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsync +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsync func (c *Lambda) InvokeAsyncRequest(input *InvokeAsyncInput) (req *request.Request, output *InvokeAsyncOutput) { if c.Client.Config.Logger != nil { c.Client.Config.Logger.Log("This operation, InvokeAsync, has been deprecated") @@ -1570,7 +1756,7 @@ func (c *Lambda) InvokeAsyncRequest(input *InvokeAsyncInput) (req *request.Reque // * ErrCodeInvalidRuntimeException "InvalidRuntimeException" // The runtime or runtime version specified is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsync +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsync func (c *Lambda) InvokeAsync(input *InvokeAsyncInput) (*InvokeAsyncOutput, error) { req, out := c.InvokeAsyncRequest(input) return out, req.Send() @@ -1617,7 +1803,7 @@ const opListAliases = "ListAliases" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliases +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliases func (c *Lambda) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, output *ListAliasesOutput) { op := &request.Operation{ Name: opListAliases, @@ -1661,13 +1847,19 @@ func (c *Lambda) ListAliasesRequest(input *ListAliasesInput) (req *request.Reque // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliases +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliases func (c *Lambda) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error) { req, out := c.ListAliasesRequest(input) return out, req.Send() @@ -1714,7 +1906,7 @@ const opListEventSourceMappings = "ListEventSourceMappings" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings func (c *Lambda) ListEventSourceMappingsRequest(input *ListEventSourceMappingsInput) (req *request.Request, output *ListEventSourceMappingsOutput) { op := &request.Operation{ Name: opListEventSourceMappings, @@ -1771,13 +1963,19 @@ func (c *Lambda) ListEventSourceMappingsRequest(input *ListEventSourceMappingsIn // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings func (c *Lambda) ListEventSourceMappings(input *ListEventSourceMappingsInput) (*ListEventSourceMappingsOutput, error) { req, out := c.ListEventSourceMappingsRequest(input) return out, req.Send() @@ -1874,7 +2072,7 @@ const opListFunctions = "ListFunctions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions func (c *Lambda) ListFunctionsRequest(input *ListFunctionsInput) (req *request.Request, output *ListFunctionsOutput) { op := &request.Operation{ Name: opListFunctions, @@ -1921,15 +2119,21 @@ func (c *Lambda) ListFunctionsRequest(input *ListFunctionsInput) (req *request.R // The AWS Lambda service encountered an internal error. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions func (c *Lambda) ListFunctions(input *ListFunctionsInput) (*ListFunctionsOutput, error) { req, out := c.ListFunctionsRequest(input) return out, req.Send() @@ -2026,7 +2230,7 @@ const opListTags = "ListTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTags func (c *Lambda) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { op := &request.Operation{ Name: opListTags, @@ -2066,13 +2270,19 @@ func (c *Lambda) ListTagsRequest(input *ListTagsInput) (req *request.Request, ou // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTags +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTags func (c *Lambda) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { req, out := c.ListTagsRequest(input) return out, req.Send() @@ -2119,7 +2329,7 @@ const opListVersionsByFunction = "ListVersionsByFunction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction func (c *Lambda) ListVersionsByFunctionRequest(input *ListVersionsByFunctionInput) (req *request.Request, output *ListVersionsByFunctionOutput) { op := &request.Operation{ Name: opListVersionsByFunction, @@ -2159,13 +2369,19 @@ func (c *Lambda) ListVersionsByFunctionRequest(input *ListVersionsByFunctionInpu // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction func (c *Lambda) ListVersionsByFunction(input *ListVersionsByFunctionInput) (*ListVersionsByFunctionOutput, error) { req, out := c.ListVersionsByFunctionRequest(input) return out, req.Send() @@ -2212,7 +2428,7 @@ const opPublishVersion = "PublishVersion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion func (c *Lambda) PublishVersionRequest(input *PublishVersionInput) (req *request.Request, output *FunctionConfiguration) { op := &request.Operation{ Name: opPublishVersion, @@ -2255,16 +2471,22 @@ func (c *Lambda) PublishVersionRequest(input *PublishVersionInput) (req *request // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeCodeStorageExceededException "CodeStorageExceededException" // You have exceeded your maximum total code size per account. Limits (http://docs.aws.amazon.com/lambda/latest/dg/limits.html) // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion func (c *Lambda) PublishVersion(input *PublishVersionInput) (*FunctionConfiguration, error) { req, out := c.PublishVersionRequest(input) return out, req.Send() @@ -2286,6 +2508,109 @@ func (c *Lambda) PublishVersionWithContext(ctx aws.Context, input *PublishVersio return out, req.Send() } +const opPutFunctionConcurrency = "PutFunctionConcurrency" + +// PutFunctionConcurrencyRequest generates a "aws/request.Request" representing the +// client's request for the PutFunctionConcurrency operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutFunctionConcurrency for more information on using the PutFunctionConcurrency +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PutFunctionConcurrencyRequest method. +// req, resp := client.PutFunctionConcurrencyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrency +func (c *Lambda) PutFunctionConcurrencyRequest(input *PutFunctionConcurrencyInput) (req *request.Request, output *PutFunctionConcurrencyOutput) { + op := &request.Operation{ + Name: opPutFunctionConcurrency, + HTTPMethod: "PUT", + HTTPPath: "/2017-10-31/functions/{FunctionName}/concurrency", + } + + if input == nil { + input = &PutFunctionConcurrencyInput{} + } + + output = &PutFunctionConcurrencyOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutFunctionConcurrency API operation for AWS Lambda. +// +// Sets a limit on the number of concurrent executions available to this function. +// It is a subset of your account's total concurrent execution limit per region. +// Note that Lambda automatically reserves a buffer of 100 concurrent executions +// for functions without any reserved concurrency limit. This means if your +// account limit is 1000, you have a total of 900 available to allocate to individual +// functions. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Lambda's +// API operation PutFunctionConcurrency for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// The AWS Lambda service encountered an internal error. +// +// * ErrCodeInvalidParameterValueException "InvalidParameterValueException" +// One of the parameters in the request is invalid. For example, if you provided +// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration +// API, that AWS Lambda is unable to assume you will get this exception. +// +// * ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The resource (for example, a Lambda function or access policy statement) +// specified in the request does not exist. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrency +func (c *Lambda) PutFunctionConcurrency(input *PutFunctionConcurrencyInput) (*PutFunctionConcurrencyOutput, error) { + req, out := c.PutFunctionConcurrencyRequest(input) + return out, req.Send() +} + +// PutFunctionConcurrencyWithContext is the same as PutFunctionConcurrency with the addition of +// the ability to pass a context and additional request options. +// +// See PutFunctionConcurrency for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lambda) PutFunctionConcurrencyWithContext(ctx aws.Context, input *PutFunctionConcurrencyInput, opts ...request.Option) (*PutFunctionConcurrencyOutput, error) { + req, out := c.PutFunctionConcurrencyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRemovePermission = "RemovePermission" // RemovePermissionRequest generates a "aws/request.Request" representing the @@ -2311,7 +2636,7 @@ const opRemovePermission = "RemovePermission" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermission func (c *Lambda) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput) { op := &request.Operation{ Name: opRemovePermission, @@ -2364,13 +2689,19 @@ func (c *Lambda) RemovePermissionRequest(input *RemovePermissionInput) (req *req // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermission +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermission func (c *Lambda) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) { req, out := c.RemovePermissionRequest(input) return out, req.Send() @@ -2417,7 +2748,7 @@ const opTagResource = "TagResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResource func (c *Lambda) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ Name: opTagResource, @@ -2460,13 +2791,19 @@ func (c *Lambda) TagResourceRequest(input *TagResourceInput) (req *request.Reque // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResource +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResource func (c *Lambda) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) return out, req.Send() @@ -2513,7 +2850,7 @@ const opUntagResource = "UntagResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResource func (c *Lambda) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { op := &request.Operation{ Name: opUntagResource, @@ -2555,13 +2892,19 @@ func (c *Lambda) UntagResourceRequest(input *UntagResourceInput) (req *request.R // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResource +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResource func (c *Lambda) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) return out, req.Send() @@ -2608,7 +2951,7 @@ const opUpdateAlias = "UpdateAlias" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAlias +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAlias func (c *Lambda) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Request, output *AliasConfiguration) { op := &request.Operation{ Name: opUpdateAlias, @@ -2651,13 +2994,19 @@ func (c *Lambda) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Reque // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAlias +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAlias func (c *Lambda) UpdateAlias(input *UpdateAliasInput) (*AliasConfiguration, error) { req, out := c.UpdateAliasRequest(input) return out, req.Send() @@ -2704,7 +3053,7 @@ const opUpdateEventSourceMapping = "UpdateEventSourceMapping" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping func (c *Lambda) UpdateEventSourceMappingRequest(input *UpdateEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration) { op := &request.Operation{ Name: opUpdateEventSourceMapping, @@ -2759,16 +3108,22 @@ func (c *Lambda) UpdateEventSourceMappingRequest(input *UpdateEventSourceMapping // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeResourceConflictException "ResourceConflictException" // The resource already exists. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping func (c *Lambda) UpdateEventSourceMapping(input *UpdateEventSourceMappingInput) (*EventSourceMappingConfiguration, error) { req, out := c.UpdateEventSourceMappingRequest(input) return out, req.Send() @@ -2815,7 +3170,7 @@ const opUpdateFunctionCode = "UpdateFunctionCode" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode func (c *Lambda) UpdateFunctionCodeRequest(input *UpdateFunctionCodeInput) (req *request.Request, output *FunctionConfiguration) { op := &request.Operation{ Name: opUpdateFunctionCode, @@ -2862,16 +3217,22 @@ func (c *Lambda) UpdateFunctionCodeRequest(input *UpdateFunctionCodeInput) (req // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeCodeStorageExceededException "CodeStorageExceededException" // You have exceeded your maximum total code size per account. Limits (http://docs.aws.amazon.com/lambda/latest/dg/limits.html) // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode func (c *Lambda) UpdateFunctionCode(input *UpdateFunctionCodeInput) (*FunctionConfiguration, error) { req, out := c.UpdateFunctionCodeRequest(input) return out, req.Send() @@ -2918,7 +3279,7 @@ const opUpdateFunctionConfiguration = "UpdateFunctionConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration func (c *Lambda) UpdateFunctionConfigurationRequest(input *UpdateFunctionConfigurationInput) (req *request.Request, output *FunctionConfiguration) { op := &request.Operation{ Name: opUpdateFunctionConfiguration, @@ -2967,16 +3328,22 @@ func (c *Lambda) UpdateFunctionConfigurationRequest(input *UpdateFunctionConfigu // * ErrCodeInvalidParameterValueException "InvalidParameterValueException" // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration -// API, that AWS Lambda is unable to assume you will get this exception. You -// will also get this exception if you have selected a deprecated runtime, such -// as Node v0.10.42. +// API, that AWS Lambda is unable to assume you will get this exception. // // * ErrCodeTooManyRequestsException "TooManyRequestsException" +// You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded +// is returned if you have no functions with reserved-concurrency and have exceeded +// your account concurrent limit or if a function without reserved concurrency +// exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded +// is returned when a function with reserved concurrency exceeds its configured +// concurrent limit. CallerRateLimitExceeded is returned when your account limit +// is exceeded and you have not reserved concurrency on any function. For more +// information, see concurrent-executions // // * ErrCodeResourceConflictException "ResourceConflictException" // The resource already exists. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration func (c *Lambda) UpdateFunctionConfiguration(input *UpdateFunctionConfigurationInput) (*FunctionConfiguration, error) { req, out := c.UpdateFunctionConfigurationRequest(input) return out, req.Send() @@ -3000,7 +3367,7 @@ func (c *Lambda) UpdateFunctionConfigurationWithContext(ctx aws.Context, input * // Provides limits of code size and concurrency associated with the current // account and region. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AccountLimit +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AccountLimit type AccountLimit struct { _ struct{} `type:"structure"` @@ -3016,12 +3383,16 @@ type AccountLimit struct { // Number of simultaneous executions of your function per region. For more information // or to request a limit increase for concurrent executions, see Lambda Function // Concurrent Executions (http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html). - // The default limit is 100. + // The default limit is 1000. ConcurrentExecutions *int64 `type:"integer"` // Maximum size, in bytes, of a code package you can upload per region. The // default size is 75 GB. TotalCodeSize *int64 `type:"long"` + + // The number of concurrent executions available to functions that do not have + // concurrency limits set. + UnreservedConcurrentExecutions *int64 `type:"integer"` } // String returns the string representation @@ -3058,9 +3429,15 @@ func (s *AccountLimit) SetTotalCodeSize(v int64) *AccountLimit { return s } +// SetUnreservedConcurrentExecutions sets the UnreservedConcurrentExecutions field's value. +func (s *AccountLimit) SetUnreservedConcurrentExecutions(v int64) *AccountLimit { + s.UnreservedConcurrentExecutions = &v + return s +} + // Provides code size usage and function count associated with the current account // and region. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AccountUsage +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AccountUsage type AccountUsage struct { _ struct{} `type:"structure"` @@ -3093,7 +3470,7 @@ func (s *AccountUsage) SetTotalCodeSize(v int64) *AccountUsage { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionRequest type AddPermissionInput struct { _ struct{} `type:"structure"` @@ -3264,7 +3641,7 @@ func (s *AddPermissionInput) SetStatementId(v string) *AddPermissionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionResponse type AddPermissionOutput struct { _ struct{} `type:"structure"` @@ -3291,7 +3668,7 @@ func (s *AddPermissionOutput) SetStatement(v string) *AddPermissionOutput { } // Provides configuration information about a Lambda function version alias. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AliasConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AliasConfiguration type AliasConfiguration struct { _ struct{} `type:"structure"` @@ -3308,6 +3685,11 @@ type AliasConfiguration struct { // Alias name. Name *string `min:"1" type:"string"` + + // Specifies an additional function versions the alias points to, allowing you + // to dictate what percentage of traffic will invoke each version. For more + // information, see lambda-traffic-shifting-using-aliases. + RoutingConfig *AliasRoutingConfiguration `type:"structure"` } // String returns the string representation @@ -3344,7 +3726,41 @@ func (s *AliasConfiguration) SetName(v string) *AliasConfiguration { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAliasRequest +// SetRoutingConfig sets the RoutingConfig field's value. +func (s *AliasConfiguration) SetRoutingConfig(v *AliasRoutingConfiguration) *AliasConfiguration { + s.RoutingConfig = v + return s +} + +// The parent object that implements what percentage of traffic will invoke +// each function version. For more information, see lambda-traffic-shifting-using-aliases. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AliasRoutingConfiguration +type AliasRoutingConfiguration struct { + _ struct{} `type:"structure"` + + // Set this property value to dictate what percentage of traffic will invoke + // the updated function version. If set to an empty string, 100 percent of traffic + // will invoke function-version. + AdditionalVersionWeights map[string]*float64 `type:"map"` +} + +// String returns the string representation +func (s AliasRoutingConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AliasRoutingConfiguration) GoString() string { + return s.String() +} + +// SetAdditionalVersionWeights sets the AdditionalVersionWeights field's value. +func (s *AliasRoutingConfiguration) SetAdditionalVersionWeights(v map[string]*float64) *AliasRoutingConfiguration { + s.AdditionalVersionWeights = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAliasRequest type CreateAliasInput struct { _ struct{} `type:"structure"` @@ -3367,6 +3783,11 @@ type CreateAliasInput struct { // // Name is a required field Name *string `min:"1" type:"string" required:"true"` + + // Specifies an additional version your alias can point to, allowing you to + // dictate what percentage of traffic will invoke each version. For more information, + // see lambda-traffic-shifting-using-aliases. + RoutingConfig *AliasRoutingConfiguration `type:"structure"` } // String returns the string representation @@ -3431,7 +3852,13 @@ func (s *CreateAliasInput) SetName(v string) *CreateAliasInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest +// SetRoutingConfig sets the RoutingConfig field's value. +func (s *CreateAliasInput) SetRoutingConfig(v *AliasRoutingConfiguration) *CreateAliasInput { + s.RoutingConfig = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest type CreateEventSourceMappingInput struct { _ struct{} `type:"structure"` @@ -3559,7 +3986,7 @@ func (s *CreateEventSourceMappingInput) SetStartingPositionTimestamp(v time.Time return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest type CreateFunctionInput struct { _ struct{} `type:"structure"` @@ -3629,11 +4056,9 @@ type CreateFunctionInput struct { // // Node v0.10.42 is currently marked as deprecated. You must migrate existing // functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 - // or nodejs6.10) as soon as possible. You can request a one-time extension - // until June 30, 2017 by going to the Lambda console and following the instructions - // provided. Failure to do so will result in an invalid parmaeter error being - // returned. Note that you will have to follow this procedure for each region - // that contains functions written in the Node v0.10.42 runtime. + // or nodejs6.10) as soon as possible. Failure to do so will result in an invalid + // parmaeter error being returned. Note that you will have to follow this procedure + // for each region that contains functions written in the Node v0.10.42 runtime. // // Runtime is a required field Runtime *string `type:"string" required:"true" enum:"Runtime"` @@ -3797,7 +4222,7 @@ func (s *CreateFunctionInput) SetVpcConfig(v *VpcConfig) *CreateFunctionInput { // The parent object that contains the target ARN (Amazon Resource Name) of // an Amazon SQS queue or Amazon SNS topic. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeadLetterConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeadLetterConfig type DeadLetterConfig struct { _ struct{} `type:"structure"` @@ -3822,7 +4247,7 @@ func (s *DeadLetterConfig) SetTargetArn(v string) *DeadLetterConfig { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAliasRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAliasRequest type DeleteAliasInput struct { _ struct{} `type:"structure"` @@ -3884,7 +4309,7 @@ func (s *DeleteAliasInput) SetName(v string) *DeleteAliasInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAliasOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAliasOutput type DeleteAliasOutput struct { _ struct{} `type:"structure"` } @@ -3899,7 +4324,7 @@ func (s DeleteAliasOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMappingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMappingRequest type DeleteEventSourceMappingInput struct { _ struct{} `type:"structure"` @@ -3938,7 +4363,64 @@ func (s *DeleteEventSourceMappingInput) SetUUID(v string) *DeleteEventSourceMapp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrencyRequest +type DeleteFunctionConcurrencyInput struct { + _ struct{} `type:"structure"` + + // The name of the function you are removing concurrent execution limits from. + // + // FunctionName is a required field + FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteFunctionConcurrencyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteFunctionConcurrencyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteFunctionConcurrencyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteFunctionConcurrencyInput"} + if s.FunctionName == nil { + invalidParams.Add(request.NewErrParamRequired("FunctionName")) + } + if s.FunctionName != nil && len(*s.FunctionName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFunctionName sets the FunctionName field's value. +func (s *DeleteFunctionConcurrencyInput) SetFunctionName(v string) *DeleteFunctionConcurrencyInput { + s.FunctionName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrencyOutput +type DeleteFunctionConcurrencyOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteFunctionConcurrencyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteFunctionConcurrencyOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionRequest type DeleteFunctionInput struct { _ struct{} `type:"structure"` @@ -4013,7 +4495,7 @@ func (s *DeleteFunctionInput) SetQualifier(v string) *DeleteFunctionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionOutput type DeleteFunctionOutput struct { _ struct{} `type:"structure"` } @@ -4029,7 +4511,7 @@ func (s DeleteFunctionOutput) GoString() string { } // The parent object that contains your environment's configuration settings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Environment +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Environment type Environment struct { _ struct{} `type:"structure"` @@ -4055,7 +4537,7 @@ func (s *Environment) SetVariables(v map[string]*string) *Environment { // The parent object that contains error information associated with your configuration // settings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EnvironmentError +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EnvironmentError type EnvironmentError struct { _ struct{} `type:"structure"` @@ -4090,7 +4572,7 @@ func (s *EnvironmentError) SetMessage(v string) *EnvironmentError { // The parent object returned that contains your environment's configuration // settings or any error information associated with your configuration settings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EnvironmentResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EnvironmentResponse type EnvironmentResponse struct { _ struct{} `type:"structure"` @@ -4126,7 +4608,7 @@ func (s *EnvironmentResponse) SetVariables(v map[string]*string) *EnvironmentRes } // Describes mapping between an Amazon Kinesis stream and a Lambda function. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration type EventSourceMappingConfiguration struct { _ struct{} `type:"structure"` @@ -4219,7 +4701,7 @@ func (s *EventSourceMappingConfiguration) SetUUID(v string) *EventSourceMappingC } // The code for the Lambda function. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCode +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCode type FunctionCode struct { _ struct{} `type:"structure"` @@ -4299,7 +4781,7 @@ func (s *FunctionCode) SetZipFile(v []byte) *FunctionCode { } // The object for the Lambda function location. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCodeLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCodeLocation type FunctionCodeLocation struct { _ struct{} `type:"structure"` @@ -4334,7 +4816,7 @@ func (s *FunctionCodeLocation) SetRepositoryType(v string) *FunctionCodeLocation } // A complex type that describes function metadata. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionConfiguration type FunctionConfiguration struct { _ struct{} `type:"structure"` @@ -4523,7 +5005,7 @@ func (s *FunctionConfiguration) SetVpcConfig(v *VpcConfigResponse) *FunctionConf return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsRequest type GetAccountSettingsInput struct { _ struct{} `type:"structure"` } @@ -4538,7 +5020,7 @@ func (s GetAccountSettingsInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsResponse type GetAccountSettingsOutput struct { _ struct{} `type:"structure"` @@ -4573,7 +5055,7 @@ func (s *GetAccountSettingsOutput) SetAccountUsage(v *AccountUsage) *GetAccountS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAliasRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAliasRequest type GetAliasInput struct { _ struct{} `type:"structure"` @@ -4636,7 +5118,7 @@ func (s *GetAliasInput) SetName(v string) *GetAliasInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMappingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMappingRequest type GetEventSourceMappingInput struct { _ struct{} `type:"structure"` @@ -4675,7 +5157,7 @@ func (s *GetEventSourceMappingInput) SetUUID(v string) *GetEventSourceMappingInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfigurationRequest type GetFunctionConfigurationInput struct { _ struct{} `type:"structure"` @@ -4743,7 +5225,7 @@ func (s *GetFunctionConfigurationInput) SetQualifier(v string) *GetFunctionConfi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionRequest type GetFunctionInput struct { _ struct{} `type:"structure"` @@ -4758,7 +5240,7 @@ type GetFunctionInput struct { // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` - // Using this optional parameter to specify a function version or an alias name. + // Use this optional parameter to specify a function version or an alias name. // If you specify function version, the API uses qualified function ARN for // the request and returns information about the specific Lambda function version. // If you specify an alias name, the API uses the alias ARN and returns information @@ -4810,13 +5292,16 @@ func (s *GetFunctionInput) SetQualifier(v string) *GetFunctionInput { } // This response contains the object for the Lambda function location (see FunctionCodeLocation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionResponse type GetFunctionOutput struct { _ struct{} `type:"structure"` // The object for the Lambda function location. Code *FunctionCodeLocation `type:"structure"` + // The concurrent execution limit set for this function. + Concurrency *PutFunctionConcurrencyOutput `type:"structure"` + // A complex type that describes function metadata. Configuration *FunctionConfiguration `type:"structure"` @@ -4840,6 +5325,12 @@ func (s *GetFunctionOutput) SetCode(v *FunctionCodeLocation) *GetFunctionOutput return s } +// SetConcurrency sets the Concurrency field's value. +func (s *GetFunctionOutput) SetConcurrency(v *PutFunctionConcurrencyOutput) *GetFunctionOutput { + s.Concurrency = v + return s +} + // SetConfiguration sets the Configuration field's value. func (s *GetFunctionOutput) SetConfiguration(v *FunctionConfiguration) *GetFunctionOutput { s.Configuration = v @@ -4852,7 +5343,7 @@ func (s *GetFunctionOutput) SetTags(v map[string]*string) *GetFunctionOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicyRequest type GetPolicyInput struct { _ struct{} `type:"structure"` @@ -4918,7 +5409,7 @@ func (s *GetPolicyInput) SetQualifier(v string) *GetPolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicyResponse type GetPolicyOutput struct { _ struct{} `type:"structure"` @@ -4944,7 +5435,7 @@ func (s *GetPolicyOutput) SetPolicy(v string) *GetPolicyOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsyncRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsyncRequest type InvokeAsyncInput struct { _ struct{} `deprecated:"true" type:"structure" payload:"InvokeArgs"` @@ -5003,7 +5494,7 @@ func (s *InvokeAsyncInput) SetInvokeArgs(v io.ReadSeeker) *InvokeAsyncInput { } // Upon success, it returns empty response. Otherwise, throws an exception. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsyncResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsyncResponse type InvokeAsyncOutput struct { _ struct{} `deprecated:"true" type:"structure"` @@ -5027,7 +5518,7 @@ func (s *InvokeAsyncOutput) SetStatus(v int64) *InvokeAsyncOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationRequest type InvokeInput struct { _ struct{} `type:"structure" payload:"Payload"` @@ -5037,7 +5528,8 @@ type InvokeInput struct { // of a ClientContext JSON, see PutEvents (http://docs.aws.amazon.com/mobileanalytics/latest/ug/PutEvents.html) // in the Amazon Mobile Analytics API Reference and User Guide. // - // The ClientContext JSON must be base64-encoded. + // The ClientContext JSON must be base64-encoded and has a maximum size of 3583 + // bytes. ClientContext *string `location:"header" locationName:"X-Amz-Client-Context" type:"string"` // The Lambda function name. @@ -5146,10 +5638,14 @@ func (s *InvokeInput) SetQualifier(v string) *InvokeInput { } // Upon success, returns an empty response. Otherwise, throws an exception. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationResponse type InvokeOutput struct { _ struct{} `type:"structure" payload:"Payload"` + // The function version that has been executed. This value is returned only + // if the invocation type is RequestResponse. + ExecutedVersion *string `location:"header" locationName:"X-Amz-Executed-Version" min:"1" type:"string"` + // Indicates whether an error occurred while executing the Lambda function. // If an error occurred this field will have one of two values; Handled or Unhandled. // Handled errors are errors that are reported by the function while the Unhandled @@ -5188,6 +5684,12 @@ func (s InvokeOutput) GoString() string { return s.String() } +// SetExecutedVersion sets the ExecutedVersion field's value. +func (s *InvokeOutput) SetExecutedVersion(v string) *InvokeOutput { + s.ExecutedVersion = &v + return s +} + // SetFunctionError sets the FunctionError field's value. func (s *InvokeOutput) SetFunctionError(v string) *InvokeOutput { s.FunctionError = &v @@ -5212,7 +5714,7 @@ func (s *InvokeOutput) SetStatusCode(v int64) *InvokeOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliasesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliasesRequest type ListAliasesInput struct { _ struct{} `type:"structure"` @@ -5293,7 +5795,7 @@ func (s *ListAliasesInput) SetMaxItems(v int64) *ListAliasesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliasesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliasesResponse type ListAliasesOutput struct { _ struct{} `type:"structure"` @@ -5326,7 +5828,7 @@ func (s *ListAliasesOutput) SetNextMarker(v string) *ListAliasesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappingsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappingsRequest type ListEventSourceMappingsInput struct { _ struct{} `type:"structure"` @@ -5407,7 +5909,7 @@ func (s *ListEventSourceMappingsInput) SetMaxItems(v int64) *ListEventSourceMapp } // Contains a list of event sources (see EventSourceMappingConfiguration) -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappingsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappingsResponse type ListEventSourceMappingsOutput struct { _ struct{} `type:"structure"` @@ -5440,7 +5942,7 @@ func (s *ListEventSourceMappingsOutput) SetNextMarker(v string) *ListEventSource return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsRequest type ListFunctionsInput struct { _ struct{} `type:"structure"` @@ -5449,7 +5951,7 @@ type ListFunctionsInput struct { // // Valid value: // - // ALL _ Will return all versions, including $LATEST which will have fully qualified + // ALL: Will return all versions, including $LATEST which will have fully qualified // ARNs (Amazon Resource Names). FunctionVersion *string `location:"querystring" locationName:"FunctionVersion" type:"string" enum:"FunctionVersion"` @@ -5465,7 +5967,7 @@ type ListFunctionsInput struct { // The region from which the functions are replicated. For example, if you specify // us-east-1, only functions replicated from that region will be returned. // - // ALL _ Will return all functions from any region. If specified, you also must + // ALL: Will return all functions from any region. If specified, you also must // specify a valid FunctionVersion parameter. MasterRegion *string `location:"querystring" locationName:"MasterRegion" type:"string"` @@ -5522,7 +6024,7 @@ func (s *ListFunctionsInput) SetMaxItems(v int64) *ListFunctionsInput { } // Contains a list of AWS Lambda function configurations (see FunctionConfiguration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsResponse type ListFunctionsOutput struct { _ struct{} `type:"structure"` @@ -5555,7 +6057,7 @@ func (s *ListFunctionsOutput) SetNextMarker(v string) *ListFunctionsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsRequest type ListTagsInput struct { _ struct{} `type:"structure"` @@ -5594,7 +6096,7 @@ func (s *ListTagsInput) SetResource(v string) *ListTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsResponse type ListTagsOutput struct { _ struct{} `type:"structure"` @@ -5618,7 +6120,7 @@ func (s *ListTagsOutput) SetTags(v map[string]*string) *ListTagsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunctionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunctionRequest type ListVersionsByFunctionInput struct { _ struct{} `type:"structure"` @@ -5688,7 +6190,7 @@ func (s *ListVersionsByFunctionInput) SetMaxItems(v int64) *ListVersionsByFuncti return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunctionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunctionResponse type ListVersionsByFunctionOutput struct { _ struct{} `type:"structure"` @@ -5721,14 +6223,15 @@ func (s *ListVersionsByFunctionOutput) SetVersions(v []*FunctionConfiguration) * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersionRequest type PublishVersionInput struct { _ struct{} `type:"structure"` // The SHA256 hash of the deployment package you want to publish. This provides - // validation on the code you are publishing. If you provide this parameter - // value must match the SHA256 of the $LATEST version for the publication to - // succeed. + // validation on the code you are publishing. If you provide this parameter, + // the value must match the SHA256 of the $LATEST version for the publication + // to succeed. You can use the DryRun parameter of UpdateFunctionCode to verify + // the hash value that will be returned before publishing your new version. CodeSha256 *string `type:"string"` // The description for the version you are publishing. If not provided, AWS @@ -5790,7 +6293,87 @@ func (s *PublishVersionInput) SetFunctionName(v string) *PublishVersionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermissionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrencyRequest +type PutFunctionConcurrencyInput struct { + _ struct{} `type:"structure"` + + // The name of the function you are setting concurrent execution limits on. + // + // FunctionName is a required field + FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` + + // The concurrent execution limit reserved for this function. + // + // ReservedConcurrentExecutions is a required field + ReservedConcurrentExecutions *int64 `type:"integer" required:"true"` +} + +// String returns the string representation +func (s PutFunctionConcurrencyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutFunctionConcurrencyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutFunctionConcurrencyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutFunctionConcurrencyInput"} + if s.FunctionName == nil { + invalidParams.Add(request.NewErrParamRequired("FunctionName")) + } + if s.FunctionName != nil && len(*s.FunctionName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1)) + } + if s.ReservedConcurrentExecutions == nil { + invalidParams.Add(request.NewErrParamRequired("ReservedConcurrentExecutions")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFunctionName sets the FunctionName field's value. +func (s *PutFunctionConcurrencyInput) SetFunctionName(v string) *PutFunctionConcurrencyInput { + s.FunctionName = &v + return s +} + +// SetReservedConcurrentExecutions sets the ReservedConcurrentExecutions field's value. +func (s *PutFunctionConcurrencyInput) SetReservedConcurrentExecutions(v int64) *PutFunctionConcurrencyInput { + s.ReservedConcurrentExecutions = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Concurrency +type PutFunctionConcurrencyOutput struct { + _ struct{} `type:"structure"` + + // The number of concurrent executions reserved for this function. + ReservedConcurrentExecutions *int64 `type:"integer"` +} + +// String returns the string representation +func (s PutFunctionConcurrencyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutFunctionConcurrencyOutput) GoString() string { + return s.String() +} + +// SetReservedConcurrentExecutions sets the ReservedConcurrentExecutions field's value. +func (s *PutFunctionConcurrencyOutput) SetReservedConcurrentExecutions(v int64) *PutFunctionConcurrencyOutput { + s.ReservedConcurrentExecutions = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermissionRequest type RemovePermissionInput struct { _ struct{} `type:"structure"` @@ -5870,7 +6453,7 @@ func (s *RemovePermissionInput) SetStatementId(v string) *RemovePermissionInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermissionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermissionOutput type RemovePermissionOutput struct { _ struct{} `type:"structure"` } @@ -5885,7 +6468,7 @@ func (s RemovePermissionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResourceRequest type TagResourceInput struct { _ struct{} `type:"structure"` @@ -5938,7 +6521,7 @@ func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResourceOutput type TagResourceOutput struct { _ struct{} `type:"structure"` } @@ -5954,7 +6537,7 @@ func (s TagResourceOutput) GoString() string { } // The parent object that contains your function's tracing settings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TracingConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TracingConfig type TracingConfig struct { _ struct{} `type:"structure"` @@ -5983,7 +6566,7 @@ func (s *TracingConfig) SetMode(v string) *TracingConfig { } // Parent object of the tracing information associated with your Lambda function. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TracingConfigResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TracingConfigResponse type TracingConfigResponse struct { _ struct{} `type:"structure"` @@ -6007,7 +6590,7 @@ func (s *TracingConfigResponse) SetMode(v string) *TracingConfigResponse { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResourceRequest type UntagResourceInput struct { _ struct{} `type:"structure"` @@ -6060,7 +6643,7 @@ func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResourceOutput type UntagResourceOutput struct { _ struct{} `type:"structure"` } @@ -6075,7 +6658,7 @@ func (s UntagResourceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAliasRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAliasRequest type UpdateAliasInput struct { _ struct{} `type:"structure"` @@ -6097,6 +6680,11 @@ type UpdateAliasInput struct { // // Name is a required field Name *string `location:"uri" locationName:"Name" min:"1" type:"string" required:"true"` + + // Specifies an additional version your alias can point to, allowing you to + // dictate what percentage of traffic will invoke each version. For more information, + // see lambda-traffic-shifting-using-aliases. + RoutingConfig *AliasRoutingConfiguration `type:"structure"` } // String returns the string representation @@ -6158,7 +6746,13 @@ func (s *UpdateAliasInput) SetName(v string) *UpdateAliasInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest +// SetRoutingConfig sets the RoutingConfig field's value. +func (s *UpdateAliasInput) SetRoutingConfig(v *AliasRoutingConfiguration) *UpdateAliasInput { + s.RoutingConfig = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest type UpdateEventSourceMappingInput struct { _ struct{} `type:"structure"` @@ -6246,7 +6840,7 @@ func (s *UpdateEventSourceMappingInput) SetUUID(v string) *UpdateEventSourceMapp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest type UpdateFunctionCodeInput struct { _ struct{} `type:"structure"` @@ -6254,8 +6848,8 @@ type UpdateFunctionCodeInput struct { // update the Lambda function and publish a version as an atomic operation. // It will do all necessary computation and validation of your code but will // not upload it or a publish a version. Each time this operation is invoked, - // the CodeSha256 hash value the provided code will also be computed and returned - // in the response. + // the CodeSha256 hash value of the provided code will also be computed and + // returned in the response. DryRun *bool `type:"boolean"` // The existing Lambda function name whose code you want to replace. @@ -6372,7 +6966,7 @@ func (s *UpdateFunctionCodeInput) SetZipFile(v []byte) *UpdateFunctionCodeInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest type UpdateFunctionConfigurationInput struct { _ struct{} `type:"structure"` @@ -6429,11 +7023,9 @@ type UpdateFunctionConfigurationInput struct { // // Node v0.10.42 is currently marked as deprecated. You must migrate existing // functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 - // or nodejs6.10) as soon as possible. You can request a one-time extension - // until June 30, 2017 by going to the Lambda console and following the instructions - // provided. Failure to do so will result in an invalid parameter error being - // returned. Note that you will have to follow this procedure for each region - // that contains functions written in the Node v0.10.42 runtime. + // or nodejs6.10) as soon as possible. Failure to do so will result in an invalid + // parameter error being returned. Note that you will have to follow this procedure + // for each region that contains functions written in the Node v0.10.42 runtime. Runtime *string `type:"string" enum:"Runtime"` // The function execution time at which AWS Lambda should terminate the function. @@ -6559,7 +7151,7 @@ func (s *UpdateFunctionConfigurationInput) SetVpcConfig(v *VpcConfig) *UpdateFun // identifying the list of security group IDs and subnet IDs. These must belong // to the same VPC. You must provide at least one security group and one subnet // ID. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/VpcConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/VpcConfig type VpcConfig struct { _ struct{} `type:"structure"` @@ -6593,7 +7185,7 @@ func (s *VpcConfig) SetSubnetIds(v []*string) *VpcConfig { } // VPC configuration associated with your Lambda function. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/VpcConfigResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/VpcConfigResponse type VpcConfigResponse struct { _ struct{} `type:"structure"` @@ -6703,6 +7295,12 @@ const ( // ThrottleReasonFunctionInvocationRateLimitExceeded is a ThrottleReason enum value ThrottleReasonFunctionInvocationRateLimitExceeded = "FunctionInvocationRateLimitExceeded" + // ThrottleReasonReservedFunctionConcurrentInvocationLimitExceeded is a ThrottleReason enum value + ThrottleReasonReservedFunctionConcurrentInvocationLimitExceeded = "ReservedFunctionConcurrentInvocationLimitExceeded" + + // ThrottleReasonReservedFunctionInvocationRateLimitExceeded is a ThrottleReason enum value + ThrottleReasonReservedFunctionInvocationRateLimitExceeded = "ReservedFunctionInvocationRateLimitExceeded" + // ThrottleReasonCallerRateLimitExceeded is a ThrottleReason enum value ThrottleReasonCallerRateLimitExceeded = "CallerRateLimitExceeded" ) diff --git a/vendor/github.com/aws/aws-sdk-go/service/lambda/errors.go b/vendor/github.com/aws/aws-sdk-go/service/lambda/errors.go index dd2c9df2304..31c7bd730e3 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/lambda/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/lambda/errors.go @@ -41,9 +41,7 @@ const ( // // One of the parameters in the request is invalid. For example, if you provided // an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration - // API, that AWS Lambda is unable to assume you will get this exception. You - // will also get this exception if you have selected a deprecated runtime, such - // as Node v0.10.42. + // API, that AWS Lambda is unable to assume you will get this exception. ErrCodeInvalidParameterValueException = "InvalidParameterValueException" // ErrCodeInvalidRequestContentException for service response error code @@ -146,6 +144,15 @@ const ( // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". + // + // You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded + // is returned if you have no functions with reserved-concurrency and have exceeded + // your account concurrent limit or if a function without reserved concurrency + // exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded + // is returned when a function with reserved concurrency exceeds its configured + // concurrent limit. CallerRateLimitExceeded is returned when your account limit + // is exceeded and you have not reserved concurrency on any function. For more + // information, see concurrent-executions ErrCodeTooManyRequestsException = "TooManyRequestsException" // ErrCodeUnsupportedMediaTypeException for service response error code diff --git a/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go new file mode 100644 index 00000000000..57d72bfdd33 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go @@ -0,0 +1,10328 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package lexmodelbuildingservice + +import ( + "fmt" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +const opCreateBotVersion = "CreateBotVersion" + +// CreateBotVersionRequest generates a "aws/request.Request" representing the +// client's request for the CreateBotVersion operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateBotVersion for more information on using the CreateBotVersion +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateBotVersionRequest method. +// req, resp := client.CreateBotVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateBotVersion +func (c *LexModelBuildingService) CreateBotVersionRequest(input *CreateBotVersionInput) (req *request.Request, output *CreateBotVersionOutput) { + op := &request.Operation{ + Name: opCreateBotVersion, + HTTPMethod: "POST", + HTTPPath: "/bots/{name}/versions", + } + + if input == nil { + input = &CreateBotVersionInput{} + } + + output = &CreateBotVersionOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateBotVersion API operation for Amazon Lex Model Building Service. +// +// Creates a new version of the bot based on the $LATEST version. If the $LATEST +// version of this resource hasn't changed since you created the last version, +// Amazon Lex doesn't create a new version. It returns the last created version. +// +// You can update only the $LATEST version of the bot. You can't update the +// numbered versions that you create with the CreateBotVersion operation. +// +// When you create the first version of a bot, Amazon Lex sets the version to +// 1. Subsequent versions increment by 1. For more information, see versioning-intro. +// +// This operation requires permission for the lex:CreateBotVersion action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation CreateBotVersion for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodePreconditionFailedException "PreconditionFailedException" +// The checksum of the resource that you are trying to change does not match +// the checksum in the request. Check the resource's checksum and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateBotVersion +func (c *LexModelBuildingService) CreateBotVersion(input *CreateBotVersionInput) (*CreateBotVersionOutput, error) { + req, out := c.CreateBotVersionRequest(input) + return out, req.Send() +} + +// CreateBotVersionWithContext is the same as CreateBotVersion with the addition of +// the ability to pass a context and additional request options. +// +// See CreateBotVersion for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) CreateBotVersionWithContext(ctx aws.Context, input *CreateBotVersionInput, opts ...request.Option) (*CreateBotVersionOutput, error) { + req, out := c.CreateBotVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateIntentVersion = "CreateIntentVersion" + +// CreateIntentVersionRequest generates a "aws/request.Request" representing the +// client's request for the CreateIntentVersion operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateIntentVersion for more information on using the CreateIntentVersion +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateIntentVersionRequest method. +// req, resp := client.CreateIntentVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersion +func (c *LexModelBuildingService) CreateIntentVersionRequest(input *CreateIntentVersionInput) (req *request.Request, output *CreateIntentVersionOutput) { + op := &request.Operation{ + Name: opCreateIntentVersion, + HTTPMethod: "POST", + HTTPPath: "/intents/{name}/versions", + } + + if input == nil { + input = &CreateIntentVersionInput{} + } + + output = &CreateIntentVersionOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateIntentVersion API operation for Amazon Lex Model Building Service. +// +// Creates a new version of an intent based on the $LATEST version of the intent. +// If the $LATEST version of this intent hasn't changed since you last updated +// it, Amazon Lex doesn't create a new version. It returns the last version +// you created. +// +// You can update only the $LATEST version of the intent. You can't update the +// numbered versions that you create with the CreateIntentVersion operation. +// +// When you create a version of an intent, Amazon Lex sets the version to 1. +// Subsequent versions increment by 1. For more information, see versioning-intro. +// +// This operation requires permissions to perform the lex:CreateIntentVersion +// action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation CreateIntentVersion for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodePreconditionFailedException "PreconditionFailedException" +// The checksum of the resource that you are trying to change does not match +// the checksum in the request. Check the resource's checksum and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersion +func (c *LexModelBuildingService) CreateIntentVersion(input *CreateIntentVersionInput) (*CreateIntentVersionOutput, error) { + req, out := c.CreateIntentVersionRequest(input) + return out, req.Send() +} + +// CreateIntentVersionWithContext is the same as CreateIntentVersion with the addition of +// the ability to pass a context and additional request options. +// +// See CreateIntentVersion for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) CreateIntentVersionWithContext(ctx aws.Context, input *CreateIntentVersionInput, opts ...request.Option) (*CreateIntentVersionOutput, error) { + req, out := c.CreateIntentVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateSlotTypeVersion = "CreateSlotTypeVersion" + +// CreateSlotTypeVersionRequest generates a "aws/request.Request" representing the +// client's request for the CreateSlotTypeVersion operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateSlotTypeVersion for more information on using the CreateSlotTypeVersion +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateSlotTypeVersionRequest method. +// req, resp := client.CreateSlotTypeVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateSlotTypeVersion +func (c *LexModelBuildingService) CreateSlotTypeVersionRequest(input *CreateSlotTypeVersionInput) (req *request.Request, output *CreateSlotTypeVersionOutput) { + op := &request.Operation{ + Name: opCreateSlotTypeVersion, + HTTPMethod: "POST", + HTTPPath: "/slottypes/{name}/versions", + } + + if input == nil { + input = &CreateSlotTypeVersionInput{} + } + + output = &CreateSlotTypeVersionOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateSlotTypeVersion API operation for Amazon Lex Model Building Service. +// +// Creates a new version of a slot type based on the $LATEST version of the +// specified slot type. If the $LATEST version of this resource has not changed +// since the last version that you created, Amazon Lex doesn't create a new +// version. It returns the last version that you created. +// +// You can update only the $LATEST version of a slot type. You can't update +// the numbered versions that you create with the CreateSlotTypeVersion operation. +// +// When you create a version of a slot type, Amazon Lex sets the version to +// 1. Subsequent versions increment by 1. For more information, see versioning-intro. +// +// This operation requires permissions for the lex:CreateSlotTypeVersion action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation CreateSlotTypeVersion for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodePreconditionFailedException "PreconditionFailedException" +// The checksum of the resource that you are trying to change does not match +// the checksum in the request. Check the resource's checksum and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateSlotTypeVersion +func (c *LexModelBuildingService) CreateSlotTypeVersion(input *CreateSlotTypeVersionInput) (*CreateSlotTypeVersionOutput, error) { + req, out := c.CreateSlotTypeVersionRequest(input) + return out, req.Send() +} + +// CreateSlotTypeVersionWithContext is the same as CreateSlotTypeVersion with the addition of +// the ability to pass a context and additional request options. +// +// See CreateSlotTypeVersion for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) CreateSlotTypeVersionWithContext(ctx aws.Context, input *CreateSlotTypeVersionInput, opts ...request.Option) (*CreateSlotTypeVersionOutput, error) { + req, out := c.CreateSlotTypeVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteBot = "DeleteBot" + +// DeleteBotRequest generates a "aws/request.Request" representing the +// client's request for the DeleteBot operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteBot for more information on using the DeleteBot +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteBotRequest method. +// req, resp := client.DeleteBotRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBot +func (c *LexModelBuildingService) DeleteBotRequest(input *DeleteBotInput) (req *request.Request, output *DeleteBotOutput) { + op := &request.Operation{ + Name: opDeleteBot, + HTTPMethod: "DELETE", + HTTPPath: "/bots/{name}", + } + + if input == nil { + input = &DeleteBotInput{} + } + + output = &DeleteBotOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteBot API operation for Amazon Lex Model Building Service. +// +// Deletes all versions of the bot, including the $LATEST version. To delete +// a specific version of the bot, use the DeleteBotVersion operation. +// +// If a bot has an alias, you can't delete it. Instead, the DeleteBot operation +// returns a ResourceInUseException exception that includes a reference to the +// alias that refers to the bot. To remove the reference to the bot, delete +// the alias. If you get the same exception again, delete the referring alias +// until the DeleteBot operation is successful. +// +// This operation requires permissions for the lex:DeleteBot action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation DeleteBot for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeResourceInUseException "ResourceInUseException" +// The resource that you are attempting to delete is referred to by another +// resource. Use this information to remove references to the resource that +// you are trying to delete. +// +// The body of the exception contains a JSON object that describes the resource. +// +// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, +// +// "resourceReference": { +// +// "name": string, "version": string } } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBot +func (c *LexModelBuildingService) DeleteBot(input *DeleteBotInput) (*DeleteBotOutput, error) { + req, out := c.DeleteBotRequest(input) + return out, req.Send() +} + +// DeleteBotWithContext is the same as DeleteBot with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteBot for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) DeleteBotWithContext(ctx aws.Context, input *DeleteBotInput, opts ...request.Option) (*DeleteBotOutput, error) { + req, out := c.DeleteBotRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteBotAlias = "DeleteBotAlias" + +// DeleteBotAliasRequest generates a "aws/request.Request" representing the +// client's request for the DeleteBotAlias operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteBotAlias for more information on using the DeleteBotAlias +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteBotAliasRequest method. +// req, resp := client.DeleteBotAliasRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotAlias +func (c *LexModelBuildingService) DeleteBotAliasRequest(input *DeleteBotAliasInput) (req *request.Request, output *DeleteBotAliasOutput) { + op := &request.Operation{ + Name: opDeleteBotAlias, + HTTPMethod: "DELETE", + HTTPPath: "/bots/{botName}/aliases/{name}", + } + + if input == nil { + input = &DeleteBotAliasInput{} + } + + output = &DeleteBotAliasOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteBotAlias API operation for Amazon Lex Model Building Service. +// +// Deletes an alias for the specified bot. +// +// You can't delete an alias that is used in the association between a bot and +// a messaging channel. If an alias is used in a channel association, the DeleteBot +// operation returns a ResourceInUseException exception that includes a reference +// to the channel association that refers to the bot. You can remove the reference +// to the alias by deleting the channel association. If you get the same exception +// again, delete the referring association until the DeleteBotAlias operation +// is successful. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation DeleteBotAlias for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeResourceInUseException "ResourceInUseException" +// The resource that you are attempting to delete is referred to by another +// resource. Use this information to remove references to the resource that +// you are trying to delete. +// +// The body of the exception contains a JSON object that describes the resource. +// +// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, +// +// "resourceReference": { +// +// "name": string, "version": string } } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotAlias +func (c *LexModelBuildingService) DeleteBotAlias(input *DeleteBotAliasInput) (*DeleteBotAliasOutput, error) { + req, out := c.DeleteBotAliasRequest(input) + return out, req.Send() +} + +// DeleteBotAliasWithContext is the same as DeleteBotAlias with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteBotAlias for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) DeleteBotAliasWithContext(ctx aws.Context, input *DeleteBotAliasInput, opts ...request.Option) (*DeleteBotAliasOutput, error) { + req, out := c.DeleteBotAliasRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteBotChannelAssociation = "DeleteBotChannelAssociation" + +// DeleteBotChannelAssociationRequest generates a "aws/request.Request" representing the +// client's request for the DeleteBotChannelAssociation operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteBotChannelAssociation for more information on using the DeleteBotChannelAssociation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteBotChannelAssociationRequest method. +// req, resp := client.DeleteBotChannelAssociationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotChannelAssociation +func (c *LexModelBuildingService) DeleteBotChannelAssociationRequest(input *DeleteBotChannelAssociationInput) (req *request.Request, output *DeleteBotChannelAssociationOutput) { + op := &request.Operation{ + Name: opDeleteBotChannelAssociation, + HTTPMethod: "DELETE", + HTTPPath: "/bots/{botName}/aliases/{aliasName}/channels/{name}", + } + + if input == nil { + input = &DeleteBotChannelAssociationInput{} + } + + output = &DeleteBotChannelAssociationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteBotChannelAssociation API operation for Amazon Lex Model Building Service. +// +// Deletes the association between an Amazon Lex bot and a messaging platform. +// +// This operation requires permission for the lex:DeleteBotChannelAssociation +// action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation DeleteBotChannelAssociation for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotChannelAssociation +func (c *LexModelBuildingService) DeleteBotChannelAssociation(input *DeleteBotChannelAssociationInput) (*DeleteBotChannelAssociationOutput, error) { + req, out := c.DeleteBotChannelAssociationRequest(input) + return out, req.Send() +} + +// DeleteBotChannelAssociationWithContext is the same as DeleteBotChannelAssociation with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteBotChannelAssociation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) DeleteBotChannelAssociationWithContext(ctx aws.Context, input *DeleteBotChannelAssociationInput, opts ...request.Option) (*DeleteBotChannelAssociationOutput, error) { + req, out := c.DeleteBotChannelAssociationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteBotVersion = "DeleteBotVersion" + +// DeleteBotVersionRequest generates a "aws/request.Request" representing the +// client's request for the DeleteBotVersion operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteBotVersion for more information on using the DeleteBotVersion +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteBotVersionRequest method. +// req, resp := client.DeleteBotVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotVersion +func (c *LexModelBuildingService) DeleteBotVersionRequest(input *DeleteBotVersionInput) (req *request.Request, output *DeleteBotVersionOutput) { + op := &request.Operation{ + Name: opDeleteBotVersion, + HTTPMethod: "DELETE", + HTTPPath: "/bots/{name}/versions/{version}", + } + + if input == nil { + input = &DeleteBotVersionInput{} + } + + output = &DeleteBotVersionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteBotVersion API operation for Amazon Lex Model Building Service. +// +// Deletes a specific version of a bot. To delete all versions of a bot, use +// the DeleteBot operation. +// +// This operation requires permissions for the lex:DeleteBotVersion action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation DeleteBotVersion for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeResourceInUseException "ResourceInUseException" +// The resource that you are attempting to delete is referred to by another +// resource. Use this information to remove references to the resource that +// you are trying to delete. +// +// The body of the exception contains a JSON object that describes the resource. +// +// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, +// +// "resourceReference": { +// +// "name": string, "version": string } } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotVersion +func (c *LexModelBuildingService) DeleteBotVersion(input *DeleteBotVersionInput) (*DeleteBotVersionOutput, error) { + req, out := c.DeleteBotVersionRequest(input) + return out, req.Send() +} + +// DeleteBotVersionWithContext is the same as DeleteBotVersion with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteBotVersion for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) DeleteBotVersionWithContext(ctx aws.Context, input *DeleteBotVersionInput, opts ...request.Option) (*DeleteBotVersionOutput, error) { + req, out := c.DeleteBotVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteIntent = "DeleteIntent" + +// DeleteIntentRequest generates a "aws/request.Request" representing the +// client's request for the DeleteIntent operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteIntent for more information on using the DeleteIntent +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteIntentRequest method. +// req, resp := client.DeleteIntentRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntent +func (c *LexModelBuildingService) DeleteIntentRequest(input *DeleteIntentInput) (req *request.Request, output *DeleteIntentOutput) { + op := &request.Operation{ + Name: opDeleteIntent, + HTTPMethod: "DELETE", + HTTPPath: "/intents/{name}", + } + + if input == nil { + input = &DeleteIntentInput{} + } + + output = &DeleteIntentOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteIntent API operation for Amazon Lex Model Building Service. +// +// Deletes all versions of the intent, including the $LATEST version. To delete +// a specific version of the intent, use the DeleteIntentVersion operation. +// +// You can delete a version of an intent only if it is not referenced. To delete +// an intent that is referred to in one or more bots (see how-it-works), you +// must remove those references first. +// +// If you get the ResourceInUseException exception, it provides an example reference +// that shows where the intent is referenced. To remove the reference to the +// intent, either update the bot or delete it. If you get the same exception +// when you attempt to delete the intent again, repeat until the intent has +// no references and the call to DeleteIntent is successful. +// +// This operation requires permission for the lex:DeleteIntent action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation DeleteIntent for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeResourceInUseException "ResourceInUseException" +// The resource that you are attempting to delete is referred to by another +// resource. Use this information to remove references to the resource that +// you are trying to delete. +// +// The body of the exception contains a JSON object that describes the resource. +// +// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, +// +// "resourceReference": { +// +// "name": string, "version": string } } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntent +func (c *LexModelBuildingService) DeleteIntent(input *DeleteIntentInput) (*DeleteIntentOutput, error) { + req, out := c.DeleteIntentRequest(input) + return out, req.Send() +} + +// DeleteIntentWithContext is the same as DeleteIntent with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteIntent for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) DeleteIntentWithContext(ctx aws.Context, input *DeleteIntentInput, opts ...request.Option) (*DeleteIntentOutput, error) { + req, out := c.DeleteIntentRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteIntentVersion = "DeleteIntentVersion" + +// DeleteIntentVersionRequest generates a "aws/request.Request" representing the +// client's request for the DeleteIntentVersion operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteIntentVersion for more information on using the DeleteIntentVersion +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteIntentVersionRequest method. +// req, resp := client.DeleteIntentVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentVersion +func (c *LexModelBuildingService) DeleteIntentVersionRequest(input *DeleteIntentVersionInput) (req *request.Request, output *DeleteIntentVersionOutput) { + op := &request.Operation{ + Name: opDeleteIntentVersion, + HTTPMethod: "DELETE", + HTTPPath: "/intents/{name}/versions/{version}", + } + + if input == nil { + input = &DeleteIntentVersionInput{} + } + + output = &DeleteIntentVersionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteIntentVersion API operation for Amazon Lex Model Building Service. +// +// Deletes a specific version of an intent. To delete all versions of a intent, +// use the DeleteIntent operation. +// +// This operation requires permissions for the lex:DeleteIntentVersion action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation DeleteIntentVersion for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeResourceInUseException "ResourceInUseException" +// The resource that you are attempting to delete is referred to by another +// resource. Use this information to remove references to the resource that +// you are trying to delete. +// +// The body of the exception contains a JSON object that describes the resource. +// +// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, +// +// "resourceReference": { +// +// "name": string, "version": string } } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentVersion +func (c *LexModelBuildingService) DeleteIntentVersion(input *DeleteIntentVersionInput) (*DeleteIntentVersionOutput, error) { + req, out := c.DeleteIntentVersionRequest(input) + return out, req.Send() +} + +// DeleteIntentVersionWithContext is the same as DeleteIntentVersion with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteIntentVersion for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) DeleteIntentVersionWithContext(ctx aws.Context, input *DeleteIntentVersionInput, opts ...request.Option) (*DeleteIntentVersionOutput, error) { + req, out := c.DeleteIntentVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteSlotType = "DeleteSlotType" + +// DeleteSlotTypeRequest generates a "aws/request.Request" representing the +// client's request for the DeleteSlotType operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteSlotType for more information on using the DeleteSlotType +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteSlotTypeRequest method. +// req, resp := client.DeleteSlotTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotType +func (c *LexModelBuildingService) DeleteSlotTypeRequest(input *DeleteSlotTypeInput) (req *request.Request, output *DeleteSlotTypeOutput) { + op := &request.Operation{ + Name: opDeleteSlotType, + HTTPMethod: "DELETE", + HTTPPath: "/slottypes/{name}", + } + + if input == nil { + input = &DeleteSlotTypeInput{} + } + + output = &DeleteSlotTypeOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteSlotType API operation for Amazon Lex Model Building Service. +// +// Deletes all versions of the slot type, including the $LATEST version. To +// delete a specific version of the slot type, use the DeleteSlotTypeVersion +// operation. +// +// You can delete a version of a slot type only if it is not referenced. To +// delete a slot type that is referred to in one or more intents, you must remove +// those references first. +// +// If you get the ResourceInUseException exception, the exception provides an +// example reference that shows the intent where the slot type is referenced. +// To remove the reference to the slot type, either update the intent or delete +// it. If you get the same exception when you attempt to delete the slot type +// again, repeat until the slot type has no references and the DeleteSlotType +// call is successful. +// +// This operation requires permission for the lex:DeleteSlotType action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation DeleteSlotType for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeResourceInUseException "ResourceInUseException" +// The resource that you are attempting to delete is referred to by another +// resource. Use this information to remove references to the resource that +// you are trying to delete. +// +// The body of the exception contains a JSON object that describes the resource. +// +// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, +// +// "resourceReference": { +// +// "name": string, "version": string } } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotType +func (c *LexModelBuildingService) DeleteSlotType(input *DeleteSlotTypeInput) (*DeleteSlotTypeOutput, error) { + req, out := c.DeleteSlotTypeRequest(input) + return out, req.Send() +} + +// DeleteSlotTypeWithContext is the same as DeleteSlotType with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteSlotType for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) DeleteSlotTypeWithContext(ctx aws.Context, input *DeleteSlotTypeInput, opts ...request.Option) (*DeleteSlotTypeOutput, error) { + req, out := c.DeleteSlotTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteSlotTypeVersion = "DeleteSlotTypeVersion" + +// DeleteSlotTypeVersionRequest generates a "aws/request.Request" representing the +// client's request for the DeleteSlotTypeVersion operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteSlotTypeVersion for more information on using the DeleteSlotTypeVersion +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteSlotTypeVersionRequest method. +// req, resp := client.DeleteSlotTypeVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeVersion +func (c *LexModelBuildingService) DeleteSlotTypeVersionRequest(input *DeleteSlotTypeVersionInput) (req *request.Request, output *DeleteSlotTypeVersionOutput) { + op := &request.Operation{ + Name: opDeleteSlotTypeVersion, + HTTPMethod: "DELETE", + HTTPPath: "/slottypes/{name}/version/{version}", + } + + if input == nil { + input = &DeleteSlotTypeVersionInput{} + } + + output = &DeleteSlotTypeVersionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteSlotTypeVersion API operation for Amazon Lex Model Building Service. +// +// Deletes a specific version of a slot type. To delete all versions of a slot +// type, use the DeleteSlotType operation. +// +// This operation requires permissions for the lex:DeleteSlotTypeVersion action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation DeleteSlotTypeVersion for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodeResourceInUseException "ResourceInUseException" +// The resource that you are attempting to delete is referred to by another +// resource. Use this information to remove references to the resource that +// you are trying to delete. +// +// The body of the exception contains a JSON object that describes the resource. +// +// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, +// +// "resourceReference": { +// +// "name": string, "version": string } } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeVersion +func (c *LexModelBuildingService) DeleteSlotTypeVersion(input *DeleteSlotTypeVersionInput) (*DeleteSlotTypeVersionOutput, error) { + req, out := c.DeleteSlotTypeVersionRequest(input) + return out, req.Send() +} + +// DeleteSlotTypeVersionWithContext is the same as DeleteSlotTypeVersion with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteSlotTypeVersion for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) DeleteSlotTypeVersionWithContext(ctx aws.Context, input *DeleteSlotTypeVersionInput, opts ...request.Option) (*DeleteSlotTypeVersionOutput, error) { + req, out := c.DeleteSlotTypeVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteUtterances = "DeleteUtterances" + +// DeleteUtterancesRequest generates a "aws/request.Request" representing the +// client's request for the DeleteUtterances operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteUtterances for more information on using the DeleteUtterances +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteUtterancesRequest method. +// req, resp := client.DeleteUtterancesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteUtterances +func (c *LexModelBuildingService) DeleteUtterancesRequest(input *DeleteUtterancesInput) (req *request.Request, output *DeleteUtterancesOutput) { + op := &request.Operation{ + Name: opDeleteUtterances, + HTTPMethod: "DELETE", + HTTPPath: "/bots/{botName}/utterances/{userId}", + } + + if input == nil { + input = &DeleteUtterancesInput{} + } + + output = &DeleteUtterancesOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteUtterances API operation for Amazon Lex Model Building Service. +// +// Deletes stored utterances. +// +// Amazon Lex stores the utterances that users send to your bot unless the childDirected +// field in the bot is set to true. Utterances are stored for 15 days for use +// with the GetUtterancesView operation, and then stored indefinitely for use +// in improving the ability of your bot to respond to user input. +// +// Use the DeleteStoredUtterances operation to manually delete stored utterances +// for a specific user. +// +// This operation requires permissions for the lex:DeleteUtterances action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation DeleteUtterances for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteUtterances +func (c *LexModelBuildingService) DeleteUtterances(input *DeleteUtterancesInput) (*DeleteUtterancesOutput, error) { + req, out := c.DeleteUtterancesRequest(input) + return out, req.Send() +} + +// DeleteUtterancesWithContext is the same as DeleteUtterances with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteUtterances for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) DeleteUtterancesWithContext(ctx aws.Context, input *DeleteUtterancesInput, opts ...request.Option) (*DeleteUtterancesOutput, error) { + req, out := c.DeleteUtterancesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetBot = "GetBot" + +// GetBotRequest generates a "aws/request.Request" representing the +// client's request for the GetBot operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetBot for more information on using the GetBot +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetBotRequest method. +// req, resp := client.GetBotRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBot +func (c *LexModelBuildingService) GetBotRequest(input *GetBotInput) (req *request.Request, output *GetBotOutput) { + op := &request.Operation{ + Name: opGetBot, + HTTPMethod: "GET", + HTTPPath: "/bots/{name}/versions/{versionoralias}", + } + + if input == nil { + input = &GetBotInput{} + } + + output = &GetBotOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetBot API operation for Amazon Lex Model Building Service. +// +// Returns metadata information for a specific bot. You must provide the bot +// name and the bot version or alias. +// +// This operation requires permissions for the lex:GetBot action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetBot for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBot +func (c *LexModelBuildingService) GetBot(input *GetBotInput) (*GetBotOutput, error) { + req, out := c.GetBotRequest(input) + return out, req.Send() +} + +// GetBotWithContext is the same as GetBot with the addition of +// the ability to pass a context and additional request options. +// +// See GetBot for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBotWithContext(ctx aws.Context, input *GetBotInput, opts ...request.Option) (*GetBotOutput, error) { + req, out := c.GetBotRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetBotAlias = "GetBotAlias" + +// GetBotAliasRequest generates a "aws/request.Request" representing the +// client's request for the GetBotAlias operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetBotAlias for more information on using the GetBotAlias +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetBotAliasRequest method. +// req, resp := client.GetBotAliasRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAlias +func (c *LexModelBuildingService) GetBotAliasRequest(input *GetBotAliasInput) (req *request.Request, output *GetBotAliasOutput) { + op := &request.Operation{ + Name: opGetBotAlias, + HTTPMethod: "GET", + HTTPPath: "/bots/{botName}/aliases/{name}", + } + + if input == nil { + input = &GetBotAliasInput{} + } + + output = &GetBotAliasOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetBotAlias API operation for Amazon Lex Model Building Service. +// +// Returns information about an Amazon Lex bot alias. For more information about +// aliases, see versioning-aliases. +// +// This operation requires permissions for the lex:GetBotAlias action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetBotAlias for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAlias +func (c *LexModelBuildingService) GetBotAlias(input *GetBotAliasInput) (*GetBotAliasOutput, error) { + req, out := c.GetBotAliasRequest(input) + return out, req.Send() +} + +// GetBotAliasWithContext is the same as GetBotAlias with the addition of +// the ability to pass a context and additional request options. +// +// See GetBotAlias for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBotAliasWithContext(ctx aws.Context, input *GetBotAliasInput, opts ...request.Option) (*GetBotAliasOutput, error) { + req, out := c.GetBotAliasRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetBotAliases = "GetBotAliases" + +// GetBotAliasesRequest generates a "aws/request.Request" representing the +// client's request for the GetBotAliases operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetBotAliases for more information on using the GetBotAliases +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetBotAliasesRequest method. +// req, resp := client.GetBotAliasesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliases +func (c *LexModelBuildingService) GetBotAliasesRequest(input *GetBotAliasesInput) (req *request.Request, output *GetBotAliasesOutput) { + op := &request.Operation{ + Name: opGetBotAliases, + HTTPMethod: "GET", + HTTPPath: "/bots/{botName}/aliases/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetBotAliasesInput{} + } + + output = &GetBotAliasesOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetBotAliases API operation for Amazon Lex Model Building Service. +// +// Returns a list of aliases for a specified Amazon Lex bot. +// +// This operation requires permissions for the lex:GetBotAliases action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetBotAliases for usage and error information. +// +// Returned Error Codes: +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliases +func (c *LexModelBuildingService) GetBotAliases(input *GetBotAliasesInput) (*GetBotAliasesOutput, error) { + req, out := c.GetBotAliasesRequest(input) + return out, req.Send() +} + +// GetBotAliasesWithContext is the same as GetBotAliases with the addition of +// the ability to pass a context and additional request options. +// +// See GetBotAliases for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBotAliasesWithContext(ctx aws.Context, input *GetBotAliasesInput, opts ...request.Option) (*GetBotAliasesOutput, error) { + req, out := c.GetBotAliasesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetBotAliasesPages iterates over the pages of a GetBotAliases operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetBotAliases method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetBotAliases operation. +// pageNum := 0 +// err := client.GetBotAliasesPages(params, +// func(page *GetBotAliasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *LexModelBuildingService) GetBotAliasesPages(input *GetBotAliasesInput, fn func(*GetBotAliasesOutput, bool) bool) error { + return c.GetBotAliasesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetBotAliasesPagesWithContext same as GetBotAliasesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBotAliasesPagesWithContext(ctx aws.Context, input *GetBotAliasesInput, fn func(*GetBotAliasesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetBotAliasesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetBotAliasesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetBotAliasesOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opGetBotChannelAssociation = "GetBotChannelAssociation" + +// GetBotChannelAssociationRequest generates a "aws/request.Request" representing the +// client's request for the GetBotChannelAssociation operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetBotChannelAssociation for more information on using the GetBotChannelAssociation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetBotChannelAssociationRequest method. +// req, resp := client.GetBotChannelAssociationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociation +func (c *LexModelBuildingService) GetBotChannelAssociationRequest(input *GetBotChannelAssociationInput) (req *request.Request, output *GetBotChannelAssociationOutput) { + op := &request.Operation{ + Name: opGetBotChannelAssociation, + HTTPMethod: "GET", + HTTPPath: "/bots/{botName}/aliases/{aliasName}/channels/{name}", + } + + if input == nil { + input = &GetBotChannelAssociationInput{} + } + + output = &GetBotChannelAssociationOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetBotChannelAssociation API operation for Amazon Lex Model Building Service. +// +// Returns information about the association between an Amazon Lex bot and a +// messaging platform. +// +// This operation requires permissions for the lex:GetBotChannelAssociation +// action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetBotChannelAssociation for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociation +func (c *LexModelBuildingService) GetBotChannelAssociation(input *GetBotChannelAssociationInput) (*GetBotChannelAssociationOutput, error) { + req, out := c.GetBotChannelAssociationRequest(input) + return out, req.Send() +} + +// GetBotChannelAssociationWithContext is the same as GetBotChannelAssociation with the addition of +// the ability to pass a context and additional request options. +// +// See GetBotChannelAssociation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBotChannelAssociationWithContext(ctx aws.Context, input *GetBotChannelAssociationInput, opts ...request.Option) (*GetBotChannelAssociationOutput, error) { + req, out := c.GetBotChannelAssociationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetBotChannelAssociations = "GetBotChannelAssociations" + +// GetBotChannelAssociationsRequest generates a "aws/request.Request" representing the +// client's request for the GetBotChannelAssociations operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetBotChannelAssociations for more information on using the GetBotChannelAssociations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetBotChannelAssociationsRequest method. +// req, resp := client.GetBotChannelAssociationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociations +func (c *LexModelBuildingService) GetBotChannelAssociationsRequest(input *GetBotChannelAssociationsInput) (req *request.Request, output *GetBotChannelAssociationsOutput) { + op := &request.Operation{ + Name: opGetBotChannelAssociations, + HTTPMethod: "GET", + HTTPPath: "/bots/{botName}/aliases/{aliasName}/channels/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetBotChannelAssociationsInput{} + } + + output = &GetBotChannelAssociationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetBotChannelAssociations API operation for Amazon Lex Model Building Service. +// +// Returns a list of all of the channels associated with the specified bot. +// +// The GetBotChannelAssociations operation requires permissions for the lex:GetBotChannelAssociations +// action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetBotChannelAssociations for usage and error information. +// +// Returned Error Codes: +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociations +func (c *LexModelBuildingService) GetBotChannelAssociations(input *GetBotChannelAssociationsInput) (*GetBotChannelAssociationsOutput, error) { + req, out := c.GetBotChannelAssociationsRequest(input) + return out, req.Send() +} + +// GetBotChannelAssociationsWithContext is the same as GetBotChannelAssociations with the addition of +// the ability to pass a context and additional request options. +// +// See GetBotChannelAssociations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBotChannelAssociationsWithContext(ctx aws.Context, input *GetBotChannelAssociationsInput, opts ...request.Option) (*GetBotChannelAssociationsOutput, error) { + req, out := c.GetBotChannelAssociationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetBotChannelAssociationsPages iterates over the pages of a GetBotChannelAssociations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetBotChannelAssociations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetBotChannelAssociations operation. +// pageNum := 0 +// err := client.GetBotChannelAssociationsPages(params, +// func(page *GetBotChannelAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *LexModelBuildingService) GetBotChannelAssociationsPages(input *GetBotChannelAssociationsInput, fn func(*GetBotChannelAssociationsOutput, bool) bool) error { + return c.GetBotChannelAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetBotChannelAssociationsPagesWithContext same as GetBotChannelAssociationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBotChannelAssociationsPagesWithContext(ctx aws.Context, input *GetBotChannelAssociationsInput, fn func(*GetBotChannelAssociationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetBotChannelAssociationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetBotChannelAssociationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetBotChannelAssociationsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opGetBotVersions = "GetBotVersions" + +// GetBotVersionsRequest generates a "aws/request.Request" representing the +// client's request for the GetBotVersions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetBotVersions for more information on using the GetBotVersions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetBotVersionsRequest method. +// req, resp := client.GetBotVersionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotVersions +func (c *LexModelBuildingService) GetBotVersionsRequest(input *GetBotVersionsInput) (req *request.Request, output *GetBotVersionsOutput) { + op := &request.Operation{ + Name: opGetBotVersions, + HTTPMethod: "GET", + HTTPPath: "/bots/{name}/versions/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetBotVersionsInput{} + } + + output = &GetBotVersionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetBotVersions API operation for Amazon Lex Model Building Service. +// +// Gets information about all of the versions of a bot. +// +// The GetBotVersions operation returns a BotMetadata object for each version +// of a bot. For example, if a bot has three numbered versions, the GetBotVersions +// operation returns four BotMetadata objects in the response, one for each +// numbered version and one for the $LATEST version. +// +// The GetBotVersions operation always returns at least one version, the $LATEST +// version. +// +// This operation requires permissions for the lex:GetBotVersions action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetBotVersions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotVersions +func (c *LexModelBuildingService) GetBotVersions(input *GetBotVersionsInput) (*GetBotVersionsOutput, error) { + req, out := c.GetBotVersionsRequest(input) + return out, req.Send() +} + +// GetBotVersionsWithContext is the same as GetBotVersions with the addition of +// the ability to pass a context and additional request options. +// +// See GetBotVersions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBotVersionsWithContext(ctx aws.Context, input *GetBotVersionsInput, opts ...request.Option) (*GetBotVersionsOutput, error) { + req, out := c.GetBotVersionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetBotVersionsPages iterates over the pages of a GetBotVersions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetBotVersions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetBotVersions operation. +// pageNum := 0 +// err := client.GetBotVersionsPages(params, +// func(page *GetBotVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *LexModelBuildingService) GetBotVersionsPages(input *GetBotVersionsInput, fn func(*GetBotVersionsOutput, bool) bool) error { + return c.GetBotVersionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetBotVersionsPagesWithContext same as GetBotVersionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBotVersionsPagesWithContext(ctx aws.Context, input *GetBotVersionsInput, fn func(*GetBotVersionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetBotVersionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetBotVersionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetBotVersionsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opGetBots = "GetBots" + +// GetBotsRequest generates a "aws/request.Request" representing the +// client's request for the GetBots operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetBots for more information on using the GetBots +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetBotsRequest method. +// req, resp := client.GetBotsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBots +func (c *LexModelBuildingService) GetBotsRequest(input *GetBotsInput) (req *request.Request, output *GetBotsOutput) { + op := &request.Operation{ + Name: opGetBots, + HTTPMethod: "GET", + HTTPPath: "/bots/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetBotsInput{} + } + + output = &GetBotsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetBots API operation for Amazon Lex Model Building Service. +// +// Returns bot information as follows: +// +// * If you provide the nameContains field, the response includes information +// for the $LATEST version of all bots whose name contains the specified +// string. +// +// * If you don't specify the nameContains field, the operation returns information +// about the $LATEST version of all of your bots. +// +// This operation requires permission for the lex:GetBots action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetBots for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBots +func (c *LexModelBuildingService) GetBots(input *GetBotsInput) (*GetBotsOutput, error) { + req, out := c.GetBotsRequest(input) + return out, req.Send() +} + +// GetBotsWithContext is the same as GetBots with the addition of +// the ability to pass a context and additional request options. +// +// See GetBots for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBotsWithContext(ctx aws.Context, input *GetBotsInput, opts ...request.Option) (*GetBotsOutput, error) { + req, out := c.GetBotsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetBotsPages iterates over the pages of a GetBots operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetBots method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetBots operation. +// pageNum := 0 +// err := client.GetBotsPages(params, +// func(page *GetBotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *LexModelBuildingService) GetBotsPages(input *GetBotsInput, fn func(*GetBotsOutput, bool) bool) error { + return c.GetBotsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetBotsPagesWithContext same as GetBotsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBotsPagesWithContext(ctx aws.Context, input *GetBotsInput, fn func(*GetBotsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetBotsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetBotsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetBotsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opGetBuiltinIntent = "GetBuiltinIntent" + +// GetBuiltinIntentRequest generates a "aws/request.Request" representing the +// client's request for the GetBuiltinIntent operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetBuiltinIntent for more information on using the GetBuiltinIntent +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetBuiltinIntentRequest method. +// req, resp := client.GetBuiltinIntentRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntent +func (c *LexModelBuildingService) GetBuiltinIntentRequest(input *GetBuiltinIntentInput) (req *request.Request, output *GetBuiltinIntentOutput) { + op := &request.Operation{ + Name: opGetBuiltinIntent, + HTTPMethod: "GET", + HTTPPath: "/builtins/intents/{signature}", + } + + if input == nil { + input = &GetBuiltinIntentInput{} + } + + output = &GetBuiltinIntentOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetBuiltinIntent API operation for Amazon Lex Model Building Service. +// +// Returns information about a built-in intent. +// +// This operation requires permission for the lex:GetBuiltinIntent action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetBuiltinIntent for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntent +func (c *LexModelBuildingService) GetBuiltinIntent(input *GetBuiltinIntentInput) (*GetBuiltinIntentOutput, error) { + req, out := c.GetBuiltinIntentRequest(input) + return out, req.Send() +} + +// GetBuiltinIntentWithContext is the same as GetBuiltinIntent with the addition of +// the ability to pass a context and additional request options. +// +// See GetBuiltinIntent for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBuiltinIntentWithContext(ctx aws.Context, input *GetBuiltinIntentInput, opts ...request.Option) (*GetBuiltinIntentOutput, error) { + req, out := c.GetBuiltinIntentRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetBuiltinIntents = "GetBuiltinIntents" + +// GetBuiltinIntentsRequest generates a "aws/request.Request" representing the +// client's request for the GetBuiltinIntents operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetBuiltinIntents for more information on using the GetBuiltinIntents +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetBuiltinIntentsRequest method. +// req, resp := client.GetBuiltinIntentsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntents +func (c *LexModelBuildingService) GetBuiltinIntentsRequest(input *GetBuiltinIntentsInput) (req *request.Request, output *GetBuiltinIntentsOutput) { + op := &request.Operation{ + Name: opGetBuiltinIntents, + HTTPMethod: "GET", + HTTPPath: "/builtins/intents/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetBuiltinIntentsInput{} + } + + output = &GetBuiltinIntentsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetBuiltinIntents API operation for Amazon Lex Model Building Service. +// +// Gets a list of built-in intents that meet the specified criteria. +// +// This operation requires permission for the lex:GetBuiltinIntents action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetBuiltinIntents for usage and error information. +// +// Returned Error Codes: +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntents +func (c *LexModelBuildingService) GetBuiltinIntents(input *GetBuiltinIntentsInput) (*GetBuiltinIntentsOutput, error) { + req, out := c.GetBuiltinIntentsRequest(input) + return out, req.Send() +} + +// GetBuiltinIntentsWithContext is the same as GetBuiltinIntents with the addition of +// the ability to pass a context and additional request options. +// +// See GetBuiltinIntents for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBuiltinIntentsWithContext(ctx aws.Context, input *GetBuiltinIntentsInput, opts ...request.Option) (*GetBuiltinIntentsOutput, error) { + req, out := c.GetBuiltinIntentsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetBuiltinIntentsPages iterates over the pages of a GetBuiltinIntents operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetBuiltinIntents method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetBuiltinIntents operation. +// pageNum := 0 +// err := client.GetBuiltinIntentsPages(params, +// func(page *GetBuiltinIntentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *LexModelBuildingService) GetBuiltinIntentsPages(input *GetBuiltinIntentsInput, fn func(*GetBuiltinIntentsOutput, bool) bool) error { + return c.GetBuiltinIntentsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetBuiltinIntentsPagesWithContext same as GetBuiltinIntentsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBuiltinIntentsPagesWithContext(ctx aws.Context, input *GetBuiltinIntentsInput, fn func(*GetBuiltinIntentsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetBuiltinIntentsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetBuiltinIntentsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetBuiltinIntentsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opGetBuiltinSlotTypes = "GetBuiltinSlotTypes" + +// GetBuiltinSlotTypesRequest generates a "aws/request.Request" representing the +// client's request for the GetBuiltinSlotTypes operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetBuiltinSlotTypes for more information on using the GetBuiltinSlotTypes +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetBuiltinSlotTypesRequest method. +// req, resp := client.GetBuiltinSlotTypesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinSlotTypes +func (c *LexModelBuildingService) GetBuiltinSlotTypesRequest(input *GetBuiltinSlotTypesInput) (req *request.Request, output *GetBuiltinSlotTypesOutput) { + op := &request.Operation{ + Name: opGetBuiltinSlotTypes, + HTTPMethod: "GET", + HTTPPath: "/builtins/slottypes/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetBuiltinSlotTypesInput{} + } + + output = &GetBuiltinSlotTypesOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetBuiltinSlotTypes API operation for Amazon Lex Model Building Service. +// +// Gets a list of built-in slot types that meet the specified criteria. +// +// For a list of built-in slot types, see Slot Type Reference (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-reference) +// in the Alexa Skills Kit. +// +// This operation requires permission for the lex:GetBuiltInSlotTypes action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetBuiltinSlotTypes for usage and error information. +// +// Returned Error Codes: +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinSlotTypes +func (c *LexModelBuildingService) GetBuiltinSlotTypes(input *GetBuiltinSlotTypesInput) (*GetBuiltinSlotTypesOutput, error) { + req, out := c.GetBuiltinSlotTypesRequest(input) + return out, req.Send() +} + +// GetBuiltinSlotTypesWithContext is the same as GetBuiltinSlotTypes with the addition of +// the ability to pass a context and additional request options. +// +// See GetBuiltinSlotTypes for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBuiltinSlotTypesWithContext(ctx aws.Context, input *GetBuiltinSlotTypesInput, opts ...request.Option) (*GetBuiltinSlotTypesOutput, error) { + req, out := c.GetBuiltinSlotTypesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetBuiltinSlotTypesPages iterates over the pages of a GetBuiltinSlotTypes operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetBuiltinSlotTypes method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetBuiltinSlotTypes operation. +// pageNum := 0 +// err := client.GetBuiltinSlotTypesPages(params, +// func(page *GetBuiltinSlotTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *LexModelBuildingService) GetBuiltinSlotTypesPages(input *GetBuiltinSlotTypesInput, fn func(*GetBuiltinSlotTypesOutput, bool) bool) error { + return c.GetBuiltinSlotTypesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetBuiltinSlotTypesPagesWithContext same as GetBuiltinSlotTypesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetBuiltinSlotTypesPagesWithContext(ctx aws.Context, input *GetBuiltinSlotTypesInput, fn func(*GetBuiltinSlotTypesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetBuiltinSlotTypesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetBuiltinSlotTypesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetBuiltinSlotTypesOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opGetExport = "GetExport" + +// GetExportRequest generates a "aws/request.Request" representing the +// client's request for the GetExport operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetExport for more information on using the GetExport +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetExportRequest method. +// req, resp := client.GetExportRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetExport +func (c *LexModelBuildingService) GetExportRequest(input *GetExportInput) (req *request.Request, output *GetExportOutput) { + op := &request.Operation{ + Name: opGetExport, + HTTPMethod: "GET", + HTTPPath: "/exports/", + } + + if input == nil { + input = &GetExportInput{} + } + + output = &GetExportOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetExport API operation for Amazon Lex Model Building Service. +// +// Exports the contents of a Amazon Lex resource in a specified format. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetExport for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetExport +func (c *LexModelBuildingService) GetExport(input *GetExportInput) (*GetExportOutput, error) { + req, out := c.GetExportRequest(input) + return out, req.Send() +} + +// GetExportWithContext is the same as GetExport with the addition of +// the ability to pass a context and additional request options. +// +// See GetExport for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetExportWithContext(ctx aws.Context, input *GetExportInput, opts ...request.Option) (*GetExportOutput, error) { + req, out := c.GetExportRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetIntent = "GetIntent" + +// GetIntentRequest generates a "aws/request.Request" representing the +// client's request for the GetIntent operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetIntent for more information on using the GetIntent +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetIntentRequest method. +// req, resp := client.GetIntentRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntent +func (c *LexModelBuildingService) GetIntentRequest(input *GetIntentInput) (req *request.Request, output *GetIntentOutput) { + op := &request.Operation{ + Name: opGetIntent, + HTTPMethod: "GET", + HTTPPath: "/intents/{name}/versions/{version}", + } + + if input == nil { + input = &GetIntentInput{} + } + + output = &GetIntentOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetIntent API operation for Amazon Lex Model Building Service. +// +// Returns information about an intent. In addition to the intent name, you +// must specify the intent version. +// +// This operation requires permissions to perform the lex:GetIntent action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetIntent for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntent +func (c *LexModelBuildingService) GetIntent(input *GetIntentInput) (*GetIntentOutput, error) { + req, out := c.GetIntentRequest(input) + return out, req.Send() +} + +// GetIntentWithContext is the same as GetIntent with the addition of +// the ability to pass a context and additional request options. +// +// See GetIntent for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetIntentWithContext(ctx aws.Context, input *GetIntentInput, opts ...request.Option) (*GetIntentOutput, error) { + req, out := c.GetIntentRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetIntentVersions = "GetIntentVersions" + +// GetIntentVersionsRequest generates a "aws/request.Request" representing the +// client's request for the GetIntentVersions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetIntentVersions for more information on using the GetIntentVersions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetIntentVersionsRequest method. +// req, resp := client.GetIntentVersionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentVersions +func (c *LexModelBuildingService) GetIntentVersionsRequest(input *GetIntentVersionsInput) (req *request.Request, output *GetIntentVersionsOutput) { + op := &request.Operation{ + Name: opGetIntentVersions, + HTTPMethod: "GET", + HTTPPath: "/intents/{name}/versions/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetIntentVersionsInput{} + } + + output = &GetIntentVersionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetIntentVersions API operation for Amazon Lex Model Building Service. +// +// Gets information about all of the versions of an intent. +// +// The GetIntentVersions operation returns an IntentMetadata object for each +// version of an intent. For example, if an intent has three numbered versions, +// the GetIntentVersions operation returns four IntentMetadata objects in the +// response, one for each numbered version and one for the $LATEST version. +// +// The GetIntentVersions operation always returns at least one version, the +// $LATEST version. +// +// This operation requires permissions for the lex:GetIntentVersions action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetIntentVersions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentVersions +func (c *LexModelBuildingService) GetIntentVersions(input *GetIntentVersionsInput) (*GetIntentVersionsOutput, error) { + req, out := c.GetIntentVersionsRequest(input) + return out, req.Send() +} + +// GetIntentVersionsWithContext is the same as GetIntentVersions with the addition of +// the ability to pass a context and additional request options. +// +// See GetIntentVersions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetIntentVersionsWithContext(ctx aws.Context, input *GetIntentVersionsInput, opts ...request.Option) (*GetIntentVersionsOutput, error) { + req, out := c.GetIntentVersionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetIntentVersionsPages iterates over the pages of a GetIntentVersions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetIntentVersions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetIntentVersions operation. +// pageNum := 0 +// err := client.GetIntentVersionsPages(params, +// func(page *GetIntentVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *LexModelBuildingService) GetIntentVersionsPages(input *GetIntentVersionsInput, fn func(*GetIntentVersionsOutput, bool) bool) error { + return c.GetIntentVersionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetIntentVersionsPagesWithContext same as GetIntentVersionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetIntentVersionsPagesWithContext(ctx aws.Context, input *GetIntentVersionsInput, fn func(*GetIntentVersionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetIntentVersionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetIntentVersionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetIntentVersionsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opGetIntents = "GetIntents" + +// GetIntentsRequest generates a "aws/request.Request" representing the +// client's request for the GetIntents operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetIntents for more information on using the GetIntents +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetIntentsRequest method. +// req, resp := client.GetIntentsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntents +func (c *LexModelBuildingService) GetIntentsRequest(input *GetIntentsInput) (req *request.Request, output *GetIntentsOutput) { + op := &request.Operation{ + Name: opGetIntents, + HTTPMethod: "GET", + HTTPPath: "/intents/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetIntentsInput{} + } + + output = &GetIntentsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetIntents API operation for Amazon Lex Model Building Service. +// +// Returns intent information as follows: +// +// * If you specify the nameContains field, returns the $LATEST version of +// all intents that contain the specified string. +// +// * If you don't specify the nameContains field, returns information about +// the $LATEST version of all intents. +// +// The operation requires permission for the lex:GetIntents action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetIntents for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntents +func (c *LexModelBuildingService) GetIntents(input *GetIntentsInput) (*GetIntentsOutput, error) { + req, out := c.GetIntentsRequest(input) + return out, req.Send() +} + +// GetIntentsWithContext is the same as GetIntents with the addition of +// the ability to pass a context and additional request options. +// +// See GetIntents for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetIntentsWithContext(ctx aws.Context, input *GetIntentsInput, opts ...request.Option) (*GetIntentsOutput, error) { + req, out := c.GetIntentsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetIntentsPages iterates over the pages of a GetIntents operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetIntents method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetIntents operation. +// pageNum := 0 +// err := client.GetIntentsPages(params, +// func(page *GetIntentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *LexModelBuildingService) GetIntentsPages(input *GetIntentsInput, fn func(*GetIntentsOutput, bool) bool) error { + return c.GetIntentsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetIntentsPagesWithContext same as GetIntentsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetIntentsPagesWithContext(ctx aws.Context, input *GetIntentsInput, fn func(*GetIntentsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetIntentsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetIntentsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetIntentsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opGetSlotType = "GetSlotType" + +// GetSlotTypeRequest generates a "aws/request.Request" representing the +// client's request for the GetSlotType operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetSlotType for more information on using the GetSlotType +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetSlotTypeRequest method. +// req, resp := client.GetSlotTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotType +func (c *LexModelBuildingService) GetSlotTypeRequest(input *GetSlotTypeInput) (req *request.Request, output *GetSlotTypeOutput) { + op := &request.Operation{ + Name: opGetSlotType, + HTTPMethod: "GET", + HTTPPath: "/slottypes/{name}/versions/{version}", + } + + if input == nil { + input = &GetSlotTypeInput{} + } + + output = &GetSlotTypeOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetSlotType API operation for Amazon Lex Model Building Service. +// +// Returns information about a specific version of a slot type. In addition +// to specifying the slot type name, you must specify the slot type version. +// +// This operation requires permissions for the lex:GetSlotType action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetSlotType for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotType +func (c *LexModelBuildingService) GetSlotType(input *GetSlotTypeInput) (*GetSlotTypeOutput, error) { + req, out := c.GetSlotTypeRequest(input) + return out, req.Send() +} + +// GetSlotTypeWithContext is the same as GetSlotType with the addition of +// the ability to pass a context and additional request options. +// +// See GetSlotType for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetSlotTypeWithContext(ctx aws.Context, input *GetSlotTypeInput, opts ...request.Option) (*GetSlotTypeOutput, error) { + req, out := c.GetSlotTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetSlotTypeVersions = "GetSlotTypeVersions" + +// GetSlotTypeVersionsRequest generates a "aws/request.Request" representing the +// client's request for the GetSlotTypeVersions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetSlotTypeVersions for more information on using the GetSlotTypeVersions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetSlotTypeVersionsRequest method. +// req, resp := client.GetSlotTypeVersionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeVersions +func (c *LexModelBuildingService) GetSlotTypeVersionsRequest(input *GetSlotTypeVersionsInput) (req *request.Request, output *GetSlotTypeVersionsOutput) { + op := &request.Operation{ + Name: opGetSlotTypeVersions, + HTTPMethod: "GET", + HTTPPath: "/slottypes/{name}/versions/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetSlotTypeVersionsInput{} + } + + output = &GetSlotTypeVersionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetSlotTypeVersions API operation for Amazon Lex Model Building Service. +// +// Gets information about all versions of a slot type. +// +// The GetSlotTypeVersions operation returns a SlotTypeMetadata object for each +// version of a slot type. For example, if a slot type has three numbered versions, +// the GetSlotTypeVersions operation returns four SlotTypeMetadata objects in +// the response, one for each numbered version and one for the $LATEST version. +// +// The GetSlotTypeVersions operation always returns at least one version, the +// $LATEST version. +// +// This operation requires permissions for the lex:GetSlotTypeVersions action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetSlotTypeVersions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeVersions +func (c *LexModelBuildingService) GetSlotTypeVersions(input *GetSlotTypeVersionsInput) (*GetSlotTypeVersionsOutput, error) { + req, out := c.GetSlotTypeVersionsRequest(input) + return out, req.Send() +} + +// GetSlotTypeVersionsWithContext is the same as GetSlotTypeVersions with the addition of +// the ability to pass a context and additional request options. +// +// See GetSlotTypeVersions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetSlotTypeVersionsWithContext(ctx aws.Context, input *GetSlotTypeVersionsInput, opts ...request.Option) (*GetSlotTypeVersionsOutput, error) { + req, out := c.GetSlotTypeVersionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetSlotTypeVersionsPages iterates over the pages of a GetSlotTypeVersions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetSlotTypeVersions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetSlotTypeVersions operation. +// pageNum := 0 +// err := client.GetSlotTypeVersionsPages(params, +// func(page *GetSlotTypeVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *LexModelBuildingService) GetSlotTypeVersionsPages(input *GetSlotTypeVersionsInput, fn func(*GetSlotTypeVersionsOutput, bool) bool) error { + return c.GetSlotTypeVersionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetSlotTypeVersionsPagesWithContext same as GetSlotTypeVersionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetSlotTypeVersionsPagesWithContext(ctx aws.Context, input *GetSlotTypeVersionsInput, fn func(*GetSlotTypeVersionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetSlotTypeVersionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetSlotTypeVersionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetSlotTypeVersionsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opGetSlotTypes = "GetSlotTypes" + +// GetSlotTypesRequest generates a "aws/request.Request" representing the +// client's request for the GetSlotTypes operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetSlotTypes for more information on using the GetSlotTypes +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetSlotTypesRequest method. +// req, resp := client.GetSlotTypesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypes +func (c *LexModelBuildingService) GetSlotTypesRequest(input *GetSlotTypesInput) (req *request.Request, output *GetSlotTypesOutput) { + op := &request.Operation{ + Name: opGetSlotTypes, + HTTPMethod: "GET", + HTTPPath: "/slottypes/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetSlotTypesInput{} + } + + output = &GetSlotTypesOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetSlotTypes API operation for Amazon Lex Model Building Service. +// +// Returns slot type information as follows: +// +// * If you specify the nameContains field, returns the $LATEST version of +// all slot types that contain the specified string. +// +// * If you don't specify the nameContains field, returns information about +// the $LATEST version of all slot types. +// +// The operation requires permission for the lex:GetSlotTypes action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetSlotTypes for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// The resource specified in the request was not found. Check the resource and +// try again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypes +func (c *LexModelBuildingService) GetSlotTypes(input *GetSlotTypesInput) (*GetSlotTypesOutput, error) { + req, out := c.GetSlotTypesRequest(input) + return out, req.Send() +} + +// GetSlotTypesWithContext is the same as GetSlotTypes with the addition of +// the ability to pass a context and additional request options. +// +// See GetSlotTypes for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetSlotTypesWithContext(ctx aws.Context, input *GetSlotTypesInput, opts ...request.Option) (*GetSlotTypesOutput, error) { + req, out := c.GetSlotTypesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetSlotTypesPages iterates over the pages of a GetSlotTypes operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetSlotTypes method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetSlotTypes operation. +// pageNum := 0 +// err := client.GetSlotTypesPages(params, +// func(page *GetSlotTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *LexModelBuildingService) GetSlotTypesPages(input *GetSlotTypesInput, fn func(*GetSlotTypesOutput, bool) bool) error { + return c.GetSlotTypesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetSlotTypesPagesWithContext same as GetSlotTypesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetSlotTypesPagesWithContext(ctx aws.Context, input *GetSlotTypesInput, fn func(*GetSlotTypesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetSlotTypesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetSlotTypesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetSlotTypesOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opGetUtterancesView = "GetUtterancesView" + +// GetUtterancesViewRequest generates a "aws/request.Request" representing the +// client's request for the GetUtterancesView operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetUtterancesView for more information on using the GetUtterancesView +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetUtterancesViewRequest method. +// req, resp := client.GetUtterancesViewRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetUtterancesView +func (c *LexModelBuildingService) GetUtterancesViewRequest(input *GetUtterancesViewInput) (req *request.Request, output *GetUtterancesViewOutput) { + op := &request.Operation{ + Name: opGetUtterancesView, + HTTPMethod: "GET", + HTTPPath: "/bots/{botname}/utterances?view=aggregation", + } + + if input == nil { + input = &GetUtterancesViewInput{} + } + + output = &GetUtterancesViewOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetUtterancesView API operation for Amazon Lex Model Building Service. +// +// Use the GetUtterancesView operation to get information about the utterances +// that your users have made to your bot. You can use this list to tune the +// utterances that your bot responds to. +// +// For example, say that you have created a bot to order flowers. After your +// users have used your bot for a while, use the GetUtterancesView operation +// to see the requests that they have made and whether they have been successful. +// You might find that the utterance "I want flowers" is not being recognized. +// You could add this utterance to the OrderFlowers intent so that your bot +// recognizes that utterance. +// +// After you publish a new version of a bot, you can get information about the +// old version and the new so that you can compare the performance across the +// two versions. +// +// Data is available for the last 15 days. You can request information for up +// to 5 versions in each request. The response contains information about a +// maximum of 100 utterances for each version. +// +// If the bot's childDirected field is set to true, utterances for the bot are +// not stored and cannot be retrieved with the GetUtterancesView operation. +// For more information, see PutBot. +// +// This operation requires permissions for the lex:GetUtterancesView action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation GetUtterancesView for usage and error information. +// +// Returned Error Codes: +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetUtterancesView +func (c *LexModelBuildingService) GetUtterancesView(input *GetUtterancesViewInput) (*GetUtterancesViewOutput, error) { + req, out := c.GetUtterancesViewRequest(input) + return out, req.Send() +} + +// GetUtterancesViewWithContext is the same as GetUtterancesView with the addition of +// the ability to pass a context and additional request options. +// +// See GetUtterancesView for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) GetUtterancesViewWithContext(ctx aws.Context, input *GetUtterancesViewInput, opts ...request.Option) (*GetUtterancesViewOutput, error) { + req, out := c.GetUtterancesViewRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPutBot = "PutBot" + +// PutBotRequest generates a "aws/request.Request" representing the +// client's request for the PutBot operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutBot for more information on using the PutBot +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PutBotRequest method. +// req, resp := client.PutBotRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBot +func (c *LexModelBuildingService) PutBotRequest(input *PutBotInput) (req *request.Request, output *PutBotOutput) { + op := &request.Operation{ + Name: opPutBot, + HTTPMethod: "PUT", + HTTPPath: "/bots/{name}/versions/$LATEST", + } + + if input == nil { + input = &PutBotInput{} + } + + output = &PutBotOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutBot API operation for Amazon Lex Model Building Service. +// +// Creates an Amazon Lex conversational bot or replaces an existing bot. When +// you create or update a bot you are only required to specify a name. You can +// use this to add intents later, or to remove intents from an existing bot. +// When you create a bot with a name only, the bot is created or updated but +// Amazon Lex returns the response FAILED. You can build the bot after you add one or more intents. For more information +// about Amazon Lex bots, see how-it-works. +// +// If you specify the name of an existing bot, the fields in the request replace +// the existing values in the $LATESTversion of the bot. Amazon Lex removes any fields that you don't provide +// values for in the request, except for the idleTTLInSecondsand privacySettingsfields, which are set to their default values. If you don't specify values +// for required fields, Amazon Lex throws an exception. +// +// This operation requires permissions for the lex:PutBotaction. For more information, see auth-and-access-control +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation PutBot for usage and error information. +// +// Returned Error Codes: +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodePreconditionFailedException "PreconditionFailedException" +// The checksum of the resource that you are trying to change does not match +// the checksum in the request. Check the resource's checksum and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBot +func (c *LexModelBuildingService) PutBot(input *PutBotInput) (*PutBotOutput, error) { + req, out := c.PutBotRequest(input) + return out, req.Send() +} + +// PutBotWithContext is the same as PutBot with the addition of +// the ability to pass a context and additional request options. +// +// See PutBot for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) PutBotWithContext(ctx aws.Context, input *PutBotInput, opts ...request.Option) (*PutBotOutput, error) { + req, out := c.PutBotRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPutBotAlias = "PutBotAlias" + +// PutBotAliasRequest generates a "aws/request.Request" representing the +// client's request for the PutBotAlias operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutBotAlias for more information on using the PutBotAlias +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PutBotAliasRequest method. +// req, resp := client.PutBotAliasRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotAlias +func (c *LexModelBuildingService) PutBotAliasRequest(input *PutBotAliasInput) (req *request.Request, output *PutBotAliasOutput) { + op := &request.Operation{ + Name: opPutBotAlias, + HTTPMethod: "PUT", + HTTPPath: "/bots/{botName}/aliases/{name}", + } + + if input == nil { + input = &PutBotAliasInput{} + } + + output = &PutBotAliasOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutBotAlias API operation for Amazon Lex Model Building Service. +// +// Creates an alias for the specified version of the bot or replaces an alias +// for the specified bot. To change the version of the bot that the alias points +// to, replace the alias. For more information about aliases, see versioning-aliases. +// +// This operation requires permissions for the lex:PutBotAlias action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation PutBotAlias for usage and error information. +// +// Returned Error Codes: +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodePreconditionFailedException "PreconditionFailedException" +// The checksum of the resource that you are trying to change does not match +// the checksum in the request. Check the resource's checksum and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotAlias +func (c *LexModelBuildingService) PutBotAlias(input *PutBotAliasInput) (*PutBotAliasOutput, error) { + req, out := c.PutBotAliasRequest(input) + return out, req.Send() +} + +// PutBotAliasWithContext is the same as PutBotAlias with the addition of +// the ability to pass a context and additional request options. +// +// See PutBotAlias for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) PutBotAliasWithContext(ctx aws.Context, input *PutBotAliasInput, opts ...request.Option) (*PutBotAliasOutput, error) { + req, out := c.PutBotAliasRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPutIntent = "PutIntent" + +// PutIntentRequest generates a "aws/request.Request" representing the +// client's request for the PutIntent operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutIntent for more information on using the PutIntent +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PutIntentRequest method. +// req, resp := client.PutIntentRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntent +func (c *LexModelBuildingService) PutIntentRequest(input *PutIntentInput) (req *request.Request, output *PutIntentOutput) { + op := &request.Operation{ + Name: opPutIntent, + HTTPMethod: "PUT", + HTTPPath: "/intents/{name}/versions/$LATEST", + } + + if input == nil { + input = &PutIntentInput{} + } + + output = &PutIntentOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutIntent API operation for Amazon Lex Model Building Service. +// +// Creates an intent or replaces an existing intent. +// +// To define the interaction between the user and your bot, you use one or more +// intents. For a pizza ordering bot, for example, you would create an OrderPizza +// intent. +// +// To create an intent or replace an existing intent, you must provide the following: +// +// * Intent name. For example, OrderPizza. +// +// * Sample utterances. For example, "Can I order a pizza, please." and "I +// want to order a pizza." +// +// * Information to be gathered. You specify slot types for the information +// that your bot will request from the user. You can specify standard slot +// types, such as a date or a time, or custom slot types such as the size +// and crust of a pizza. +// +// * How the intent will be fulfilled. You can provide a Lambda function +// or configure the intent to return the intent information to the client +// application. If you use a Lambda function, when all of the intent information +// is available, Amazon Lex invokes your Lambda function. If you configure +// your intent to return the intent information to the client application. +// +// +// You can specify other optional information in the request, such as: +// +// * A confirmation prompt to ask the user to confirm an intent. For example, +// "Shall I order your pizza?" +// +// * A conclusion statement to send to the user after the intent has been +// fulfilled. For example, "I placed your pizza order." +// +// * A follow-up prompt that asks the user for additional activity. For example, +// asking "Do you want to order a drink with your pizza?" +// +// If you specify an existing intent name to update the intent, Amazon Lex replaces +// the values in the $LATEST version of the intent with the values in the request. +// Amazon Lex removes fields that you don't provide in the request. If you don't +// specify the required fields, Amazon Lex throws an exception. When you update +// the $LATEST version of an intent, the status field of any bot that uses the +// $LATEST version of the intent is set to NOT_BUILT. +// +// For more information, see how-it-works. +// +// This operation requires permissions for the lex:PutIntent action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation PutIntent for usage and error information. +// +// Returned Error Codes: +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodePreconditionFailedException "PreconditionFailedException" +// The checksum of the resource that you are trying to change does not match +// the checksum in the request. Check the resource's checksum and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntent +func (c *LexModelBuildingService) PutIntent(input *PutIntentInput) (*PutIntentOutput, error) { + req, out := c.PutIntentRequest(input) + return out, req.Send() +} + +// PutIntentWithContext is the same as PutIntent with the addition of +// the ability to pass a context and additional request options. +// +// See PutIntent for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) PutIntentWithContext(ctx aws.Context, input *PutIntentInput, opts ...request.Option) (*PutIntentOutput, error) { + req, out := c.PutIntentRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPutSlotType = "PutSlotType" + +// PutSlotTypeRequest generates a "aws/request.Request" representing the +// client's request for the PutSlotType operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutSlotType for more information on using the PutSlotType +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PutSlotTypeRequest method. +// req, resp := client.PutSlotTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotType +func (c *LexModelBuildingService) PutSlotTypeRequest(input *PutSlotTypeInput) (req *request.Request, output *PutSlotTypeOutput) { + op := &request.Operation{ + Name: opPutSlotType, + HTTPMethod: "PUT", + HTTPPath: "/slottypes/{name}/versions/$LATEST", + } + + if input == nil { + input = &PutSlotTypeInput{} + } + + output = &PutSlotTypeOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutSlotType API operation for Amazon Lex Model Building Service. +// +// Creates a custom slot type or replaces an existing custom slot type. +// +// To create a custom slot type, specify a name for the slot type and a set +// of enumeration values, which are the values that a slot of this type can +// assume. For more information, see how-it-works. +// +// If you specify the name of an existing slot type, the fields in the request +// replace the existing values in the $LATEST version of the slot type. Amazon +// Lex removes the fields that you don't provide in the request. If you don't +// specify required fields, Amazon Lex throws an exception. When you update +// the $LATEST version of a slot type, if a bot uses the $LATEST version of +// an intent that contains the slot type, the bot's status field is set to NOT_BUILT. +// +// This operation requires permissions for the lex:PutSlotType action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lex Model Building Service's +// API operation PutSlotType for usage and error information. +// +// Returned Error Codes: +// * ErrCodeConflictException "ConflictException" +// There was a conflict processing the request. Try your request again. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// The request exceeded a limit. Try your request again. +// +// * ErrCodeInternalFailureException "InternalFailureException" +// An internal Amazon Lex error occurred. Try your request again. +// +// * ErrCodeBadRequestException "BadRequestException" +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// * ErrCodePreconditionFailedException "PreconditionFailedException" +// The checksum of the resource that you are trying to change does not match +// the checksum in the request. Check the resource's checksum and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotType +func (c *LexModelBuildingService) PutSlotType(input *PutSlotTypeInput) (*PutSlotTypeOutput, error) { + req, out := c.PutSlotTypeRequest(input) + return out, req.Send() +} + +// PutSlotTypeWithContext is the same as PutSlotType with the addition of +// the ability to pass a context and additional request options. +// +// See PutSlotType for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LexModelBuildingService) PutSlotTypeWithContext(ctx aws.Context, input *PutSlotTypeInput, opts ...request.Option) (*PutSlotTypeOutput, error) { + req, out := c.PutSlotTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// Provides information about a bot alias. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/BotAliasMetadata +type BotAliasMetadata struct { + _ struct{} `type:"structure"` + + // The name of the bot to which the alias points. + BotName *string `locationName:"botName" min:"2" type:"string"` + + // The version of the Amazon Lex bot to which the alias points. + BotVersion *string `locationName:"botVersion" min:"1" type:"string"` + + // Checksum of the bot alias. + Checksum *string `locationName:"checksum" type:"string"` + + // The date that the bot alias was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the bot alias. + Description *string `locationName:"description" type:"string"` + + // The date that the bot alias was updated. When you create a resource, the + // creation date and last updated date are the same. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // The name of the bot alias. + Name *string `locationName:"name" min:"1" type:"string"` +} + +// String returns the string representation +func (s BotAliasMetadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BotAliasMetadata) GoString() string { + return s.String() +} + +// SetBotName sets the BotName field's value. +func (s *BotAliasMetadata) SetBotName(v string) *BotAliasMetadata { + s.BotName = &v + return s +} + +// SetBotVersion sets the BotVersion field's value. +func (s *BotAliasMetadata) SetBotVersion(v string) *BotAliasMetadata { + s.BotVersion = &v + return s +} + +// SetChecksum sets the Checksum field's value. +func (s *BotAliasMetadata) SetChecksum(v string) *BotAliasMetadata { + s.Checksum = &v + return s +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *BotAliasMetadata) SetCreatedDate(v time.Time) *BotAliasMetadata { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *BotAliasMetadata) SetDescription(v string) *BotAliasMetadata { + s.Description = &v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *BotAliasMetadata) SetLastUpdatedDate(v time.Time) *BotAliasMetadata { + s.LastUpdatedDate = &v + return s +} + +// SetName sets the Name field's value. +func (s *BotAliasMetadata) SetName(v string) *BotAliasMetadata { + s.Name = &v + return s +} + +// Represents an association between an Amazon Lex bot and an external messaging +// platform. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/BotChannelAssociation +type BotChannelAssociation struct { + _ struct{} `type:"structure"` + + // An alias pointing to the specific version of the Amazon Lex bot to which + // this association is being made. + BotAlias *string `locationName:"botAlias" min:"1" type:"string"` + + // Provides information necessary to communicate with the messaging platform. + BotConfiguration map[string]*string `locationName:"botConfiguration" min:"1" type:"map"` + + // The name of the Amazon Lex bot to which this association is being made. + // + // Currently, Amazon Lex supports associations with Facebook and Slack, and + // Twilio. + BotName *string `locationName:"botName" min:"2" type:"string"` + + // The date that the association between the Amazon Lex bot and the channel + // was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A text description of the association you are creating. + Description *string `locationName:"description" type:"string"` + + // If status is FAILED, Amazon Lex provides the reason that it failed to create + // the association. + FailureReason *string `locationName:"failureReason" type:"string"` + + // The name of the association between the bot and the channel. + Name *string `locationName:"name" min:"1" type:"string"` + + // The status of the bot channel. + // + // * CREATED - The channel has been created and is ready for use. + // + // * IN_PROGRESS - Channel creation is in progress. + // + // * FAILED - There was an error creating the channel. For information about + // the reason for the failure, see the failureReason field. + Status *string `locationName:"status" type:"string" enum:"ChannelStatus"` + + // Specifies the type of association by indicating the type of channel being + // established between the Amazon Lex bot and the external messaging platform. + Type *string `locationName:"type" type:"string" enum:"ChannelType"` +} + +// String returns the string representation +func (s BotChannelAssociation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BotChannelAssociation) GoString() string { + return s.String() +} + +// SetBotAlias sets the BotAlias field's value. +func (s *BotChannelAssociation) SetBotAlias(v string) *BotChannelAssociation { + s.BotAlias = &v + return s +} + +// SetBotConfiguration sets the BotConfiguration field's value. +func (s *BotChannelAssociation) SetBotConfiguration(v map[string]*string) *BotChannelAssociation { + s.BotConfiguration = v + return s +} + +// SetBotName sets the BotName field's value. +func (s *BotChannelAssociation) SetBotName(v string) *BotChannelAssociation { + s.BotName = &v + return s +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *BotChannelAssociation) SetCreatedDate(v time.Time) *BotChannelAssociation { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *BotChannelAssociation) SetDescription(v string) *BotChannelAssociation { + s.Description = &v + return s +} + +// SetFailureReason sets the FailureReason field's value. +func (s *BotChannelAssociation) SetFailureReason(v string) *BotChannelAssociation { + s.FailureReason = &v + return s +} + +// SetName sets the Name field's value. +func (s *BotChannelAssociation) SetName(v string) *BotChannelAssociation { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *BotChannelAssociation) SetStatus(v string) *BotChannelAssociation { + s.Status = &v + return s +} + +// SetType sets the Type field's value. +func (s *BotChannelAssociation) SetType(v string) *BotChannelAssociation { + s.Type = &v + return s +} + +// Provides information about a bot. . +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/BotMetadata +type BotMetadata struct { + _ struct{} `type:"structure"` + + // The date that the bot was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the bot. + Description *string `locationName:"description" type:"string"` + + // The date that the bot was updated. When you create a bot, the creation date + // and last updated date are the same. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // The name of the bot. + Name *string `locationName:"name" min:"2" type:"string"` + + // The status of the bot. + Status *string `locationName:"status" type:"string" enum:"Status"` + + // The version of the bot. For a new bot, the version is always $LATEST. + Version *string `locationName:"version" min:"1" type:"string"` +} + +// String returns the string representation +func (s BotMetadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BotMetadata) GoString() string { + return s.String() +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *BotMetadata) SetCreatedDate(v time.Time) *BotMetadata { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *BotMetadata) SetDescription(v string) *BotMetadata { + s.Description = &v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *BotMetadata) SetLastUpdatedDate(v time.Time) *BotMetadata { + s.LastUpdatedDate = &v + return s +} + +// SetName sets the Name field's value. +func (s *BotMetadata) SetName(v string) *BotMetadata { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *BotMetadata) SetStatus(v string) *BotMetadata { + s.Status = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *BotMetadata) SetVersion(v string) *BotMetadata { + s.Version = &v + return s +} + +// Provides metadata for a built-in intent. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/BuiltinIntentMetadata +type BuiltinIntentMetadata struct { + _ struct{} `type:"structure"` + + // A unique identifier for the built-in intent. To find the signature for an + // intent, see Standard Built-in Intents (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents) + // in the Alexa Skills Kit. + Signature *string `locationName:"signature" type:"string"` + + // A list of identifiers for the locales that the intent supports. + SupportedLocales []*string `locationName:"supportedLocales" type:"list"` +} + +// String returns the string representation +func (s BuiltinIntentMetadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BuiltinIntentMetadata) GoString() string { + return s.String() +} + +// SetSignature sets the Signature field's value. +func (s *BuiltinIntentMetadata) SetSignature(v string) *BuiltinIntentMetadata { + s.Signature = &v + return s +} + +// SetSupportedLocales sets the SupportedLocales field's value. +func (s *BuiltinIntentMetadata) SetSupportedLocales(v []*string) *BuiltinIntentMetadata { + s.SupportedLocales = v + return s +} + +// Provides information about a slot used in a built-in intent. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/BuiltinIntentSlot +type BuiltinIntentSlot struct { + _ struct{} `type:"structure"` + + // A list of the slots defined for the intent. + Name *string `locationName:"name" type:"string"` +} + +// String returns the string representation +func (s BuiltinIntentSlot) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BuiltinIntentSlot) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *BuiltinIntentSlot) SetName(v string) *BuiltinIntentSlot { + s.Name = &v + return s +} + +// Provides information about a built in slot type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/BuiltinSlotTypeMetadata +type BuiltinSlotTypeMetadata struct { + _ struct{} `type:"structure"` + + // A unique identifier for the built-in slot type. To find the signature for + // a slot type, see Slot Type Reference (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-reference) + // in the Alexa Skills Kit. + Signature *string `locationName:"signature" type:"string"` + + // A list of target locales for the slot. + SupportedLocales []*string `locationName:"supportedLocales" type:"list"` +} + +// String returns the string representation +func (s BuiltinSlotTypeMetadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BuiltinSlotTypeMetadata) GoString() string { + return s.String() +} + +// SetSignature sets the Signature field's value. +func (s *BuiltinSlotTypeMetadata) SetSignature(v string) *BuiltinSlotTypeMetadata { + s.Signature = &v + return s +} + +// SetSupportedLocales sets the SupportedLocales field's value. +func (s *BuiltinSlotTypeMetadata) SetSupportedLocales(v []*string) *BuiltinSlotTypeMetadata { + s.SupportedLocales = v + return s +} + +// Specifies a Lambda function that verifies requests to a bot or fulfills the +// user's request to a bot.. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CodeHook +type CodeHook struct { + _ struct{} `type:"structure"` + + // The version of the request-response that you want Amazon Lex to use to invoke + // your Lambda function. For more information, see using-lambda. + // + // MessageVersion is a required field + MessageVersion *string `locationName:"messageVersion" min:"1" type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of the Lambda function. + // + // Uri is a required field + Uri *string `locationName:"uri" min:"20" type:"string" required:"true"` +} + +// String returns the string representation +func (s CodeHook) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CodeHook) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CodeHook) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CodeHook"} + if s.MessageVersion == nil { + invalidParams.Add(request.NewErrParamRequired("MessageVersion")) + } + if s.MessageVersion != nil && len(*s.MessageVersion) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MessageVersion", 1)) + } + if s.Uri == nil { + invalidParams.Add(request.NewErrParamRequired("Uri")) + } + if s.Uri != nil && len(*s.Uri) < 20 { + invalidParams.Add(request.NewErrParamMinLen("Uri", 20)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMessageVersion sets the MessageVersion field's value. +func (s *CodeHook) SetMessageVersion(v string) *CodeHook { + s.MessageVersion = &v + return s +} + +// SetUri sets the Uri field's value. +func (s *CodeHook) SetUri(v string) *CodeHook { + s.Uri = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateBotVersionRequest +type CreateBotVersionInput struct { + _ struct{} `type:"structure"` + + // Identifies a specific revision of the $LATEST version of the bot. If you + // specify a checksum and the $LATEST version of the bot has a different checksum, + // a PreconditionFailedException exception is returned and Amazon Lex doesn't + // publish a new version. If you don't specify a checksum, Amazon Lex publishes + // the $LATEST version. + Checksum *string `locationName:"checksum" type:"string"` + + // The name of the bot that you want to create a new version of. The name is + // case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"2" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateBotVersionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateBotVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateBotVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateBotVersionInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 2 { + invalidParams.Add(request.NewErrParamMinLen("Name", 2)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChecksum sets the Checksum field's value. +func (s *CreateBotVersionInput) SetChecksum(v string) *CreateBotVersionInput { + s.Checksum = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateBotVersionInput) SetName(v string) *CreateBotVersionInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateBotVersionResponse +type CreateBotVersionOutput struct { + _ struct{} `type:"structure"` + + // The message that Amazon Lex uses to abort a conversation. For more information, + // see PutBot. + AbortStatement *Statement `locationName:"abortStatement" type:"structure"` + + // Checksum identifying the version of the bot that was created. + Checksum *string `locationName:"checksum" type:"string"` + + // For each Amazon Lex bot created with the Amazon Lex Model Building Service, + // you must specify whether your use of Amazon Lex is related to a website, + // program, or other application that is directed or targeted, in whole or in + // part, to children under age 13 and subject to the Children's Online Privacy + // Protection Act (COPPA) by specifying true or false in the childDirected field. + // By specifying true in the childDirected field, you confirm that your use + // of Amazon Lex is related to a website, program, or other application that + // is directed or targeted, in whole or in part, to children under age 13 and + // subject to COPPA. By specifying false in the childDirected field, you confirm + // that your use of Amazon Lex is not related to a website, program, or other + // application that is directed or targeted, in whole or in part, to children + // under age 13 and subject to COPPA. You may not specify a default value for + // the childDirected field that does not accurately reflect whether your use + // of Amazon Lex is related to a website, program, or other application that + // is directed or targeted, in whole or in part, to children under age 13 and + // subject to COPPA. + // + // If your use of Amazon Lex relates to a website, program, or other application + // that is directed in whole or in part, to children under age 13, you must + // obtain any required verifiable parental consent under COPPA. For information + // regarding the use of Amazon Lex in connection with websites, programs, or + // other applications that are directed or targeted, in whole or in part, to + // children under age 13, see the Amazon Lex FAQ. (https://aws.amazon.com/lex/faqs#data-security) + ChildDirected *bool `locationName:"childDirected" type:"boolean"` + + // The message that Amazon Lex uses when it doesn't understand the user's request. + // For more information, see PutBot. + ClarificationPrompt *Prompt `locationName:"clarificationPrompt" type:"structure"` + + // The date when the bot version was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the bot. + Description *string `locationName:"description" type:"string"` + + // If status is FAILED, Amazon Lex provides the reason that it failed to build + // the bot. + FailureReason *string `locationName:"failureReason" type:"string"` + + // The maximum time in seconds that Amazon Lex retains the data gathered in + // a conversation. For more information, see PutBot. + IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"` + + // An array of Intent objects. For more information, see PutBot. + Intents []*Intent `locationName:"intents" type:"list"` + + // The date when the $LATEST version of this bot was updated. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // Specifies the target locale for the bot. + Locale *string `locationName:"locale" type:"string" enum:"Locale"` + + // The name of the bot. + Name *string `locationName:"name" min:"2" type:"string"` + + // When you send a request to create or update a bot, Amazon Lex sets the status + // response element to BUILDING. After Amazon Lex builds the bot, it sets status + // to READY. If Amazon Lex can't build the bot, it sets status to FAILED. Amazon + // Lex returns the reason for the failure in the failureReason response element. + Status *string `locationName:"status" type:"string" enum:"Status"` + + // The version of the bot. + Version *string `locationName:"version" min:"1" type:"string"` + + // The Amazon Polly voice ID that Amazon Lex uses for voice interactions with + // the user. + VoiceId *string `locationName:"voiceId" type:"string"` +} + +// String returns the string representation +func (s CreateBotVersionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateBotVersionOutput) GoString() string { + return s.String() +} + +// SetAbortStatement sets the AbortStatement field's value. +func (s *CreateBotVersionOutput) SetAbortStatement(v *Statement) *CreateBotVersionOutput { + s.AbortStatement = v + return s +} + +// SetChecksum sets the Checksum field's value. +func (s *CreateBotVersionOutput) SetChecksum(v string) *CreateBotVersionOutput { + s.Checksum = &v + return s +} + +// SetChildDirected sets the ChildDirected field's value. +func (s *CreateBotVersionOutput) SetChildDirected(v bool) *CreateBotVersionOutput { + s.ChildDirected = &v + return s +} + +// SetClarificationPrompt sets the ClarificationPrompt field's value. +func (s *CreateBotVersionOutput) SetClarificationPrompt(v *Prompt) *CreateBotVersionOutput { + s.ClarificationPrompt = v + return s +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *CreateBotVersionOutput) SetCreatedDate(v time.Time) *CreateBotVersionOutput { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateBotVersionOutput) SetDescription(v string) *CreateBotVersionOutput { + s.Description = &v + return s +} + +// SetFailureReason sets the FailureReason field's value. +func (s *CreateBotVersionOutput) SetFailureReason(v string) *CreateBotVersionOutput { + s.FailureReason = &v + return s +} + +// SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value. +func (s *CreateBotVersionOutput) SetIdleSessionTTLInSeconds(v int64) *CreateBotVersionOutput { + s.IdleSessionTTLInSeconds = &v + return s +} + +// SetIntents sets the Intents field's value. +func (s *CreateBotVersionOutput) SetIntents(v []*Intent) *CreateBotVersionOutput { + s.Intents = v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *CreateBotVersionOutput) SetLastUpdatedDate(v time.Time) *CreateBotVersionOutput { + s.LastUpdatedDate = &v + return s +} + +// SetLocale sets the Locale field's value. +func (s *CreateBotVersionOutput) SetLocale(v string) *CreateBotVersionOutput { + s.Locale = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateBotVersionOutput) SetName(v string) *CreateBotVersionOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateBotVersionOutput) SetStatus(v string) *CreateBotVersionOutput { + s.Status = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *CreateBotVersionOutput) SetVersion(v string) *CreateBotVersionOutput { + s.Version = &v + return s +} + +// SetVoiceId sets the VoiceId field's value. +func (s *CreateBotVersionOutput) SetVoiceId(v string) *CreateBotVersionOutput { + s.VoiceId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersionRequest +type CreateIntentVersionInput struct { + _ struct{} `type:"structure"` + + // Checksum of the $LATEST version of the intent that should be used to create + // the new version. If you specify a checksum and the $LATEST version of the + // intent has a different checksum, Amazon Lex returns a PreconditionFailedException + // exception and doesn't publish a new version. If you don't specify a checksum, + // Amazon Lex publishes the $LATEST version. + Checksum *string `locationName:"checksum" type:"string"` + + // The name of the intent that you want to create a new version of. The name + // is case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateIntentVersionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateIntentVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateIntentVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateIntentVersionInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChecksum sets the Checksum field's value. +func (s *CreateIntentVersionInput) SetChecksum(v string) *CreateIntentVersionInput { + s.Checksum = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateIntentVersionInput) SetName(v string) *CreateIntentVersionInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersionResponse +type CreateIntentVersionOutput struct { + _ struct{} `type:"structure"` + + // Checksum of the intent version created. + Checksum *string `locationName:"checksum" type:"string"` + + // After the Lambda function specified in the fulfillmentActivity field fulfills + // the intent, Amazon Lex conveys this statement to the user. + ConclusionStatement *Statement `locationName:"conclusionStatement" type:"structure"` + + // If defined, the prompt that Amazon Lex uses to confirm the user's intent + // before fulfilling it. + ConfirmationPrompt *Prompt `locationName:"confirmationPrompt" type:"structure"` + + // The date that the intent was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the intent. + Description *string `locationName:"description" type:"string"` + + // If defined, Amazon Lex invokes this Lambda function for each user input. + DialogCodeHook *CodeHook `locationName:"dialogCodeHook" type:"structure"` + + // If defined, Amazon Lex uses this prompt to solicit additional user activity + // after the intent is fulfilled. + FollowUpPrompt *FollowUpPrompt `locationName:"followUpPrompt" type:"structure"` + + // Describes how the intent is fulfilled. + FulfillmentActivity *FulfillmentActivity `locationName:"fulfillmentActivity" type:"structure"` + + // The date that the intent was updated. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // The name of the intent. + Name *string `locationName:"name" min:"1" type:"string"` + + // A unique identifier for a built-in intent. + ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"` + + // If the user answers "no" to the question defined in confirmationPrompt, Amazon + // Lex responds with this statement to acknowledge that the intent was canceled. + RejectionStatement *Statement `locationName:"rejectionStatement" type:"structure"` + + // An array of sample utterances configured for the intent. + SampleUtterances []*string `locationName:"sampleUtterances" type:"list"` + + // An array of slot types that defines the information required to fulfill the + // intent. + Slots []*Slot `locationName:"slots" type:"list"` + + // The version number assigned to the new version of the intent. + Version *string `locationName:"version" min:"1" type:"string"` +} + +// String returns the string representation +func (s CreateIntentVersionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateIntentVersionOutput) GoString() string { + return s.String() +} + +// SetChecksum sets the Checksum field's value. +func (s *CreateIntentVersionOutput) SetChecksum(v string) *CreateIntentVersionOutput { + s.Checksum = &v + return s +} + +// SetConclusionStatement sets the ConclusionStatement field's value. +func (s *CreateIntentVersionOutput) SetConclusionStatement(v *Statement) *CreateIntentVersionOutput { + s.ConclusionStatement = v + return s +} + +// SetConfirmationPrompt sets the ConfirmationPrompt field's value. +func (s *CreateIntentVersionOutput) SetConfirmationPrompt(v *Prompt) *CreateIntentVersionOutput { + s.ConfirmationPrompt = v + return s +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *CreateIntentVersionOutput) SetCreatedDate(v time.Time) *CreateIntentVersionOutput { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateIntentVersionOutput) SetDescription(v string) *CreateIntentVersionOutput { + s.Description = &v + return s +} + +// SetDialogCodeHook sets the DialogCodeHook field's value. +func (s *CreateIntentVersionOutput) SetDialogCodeHook(v *CodeHook) *CreateIntentVersionOutput { + s.DialogCodeHook = v + return s +} + +// SetFollowUpPrompt sets the FollowUpPrompt field's value. +func (s *CreateIntentVersionOutput) SetFollowUpPrompt(v *FollowUpPrompt) *CreateIntentVersionOutput { + s.FollowUpPrompt = v + return s +} + +// SetFulfillmentActivity sets the FulfillmentActivity field's value. +func (s *CreateIntentVersionOutput) SetFulfillmentActivity(v *FulfillmentActivity) *CreateIntentVersionOutput { + s.FulfillmentActivity = v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *CreateIntentVersionOutput) SetLastUpdatedDate(v time.Time) *CreateIntentVersionOutput { + s.LastUpdatedDate = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateIntentVersionOutput) SetName(v string) *CreateIntentVersionOutput { + s.Name = &v + return s +} + +// SetParentIntentSignature sets the ParentIntentSignature field's value. +func (s *CreateIntentVersionOutput) SetParentIntentSignature(v string) *CreateIntentVersionOutput { + s.ParentIntentSignature = &v + return s +} + +// SetRejectionStatement sets the RejectionStatement field's value. +func (s *CreateIntentVersionOutput) SetRejectionStatement(v *Statement) *CreateIntentVersionOutput { + s.RejectionStatement = v + return s +} + +// SetSampleUtterances sets the SampleUtterances field's value. +func (s *CreateIntentVersionOutput) SetSampleUtterances(v []*string) *CreateIntentVersionOutput { + s.SampleUtterances = v + return s +} + +// SetSlots sets the Slots field's value. +func (s *CreateIntentVersionOutput) SetSlots(v []*Slot) *CreateIntentVersionOutput { + s.Slots = v + return s +} + +// SetVersion sets the Version field's value. +func (s *CreateIntentVersionOutput) SetVersion(v string) *CreateIntentVersionOutput { + s.Version = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateSlotTypeVersionRequest +type CreateSlotTypeVersionInput struct { + _ struct{} `type:"structure"` + + // Checksum for the $LATEST version of the slot type that you want to publish. + // If you specify a checksum and the $LATEST version of the slot type has a + // different checksum, Amazon Lex returns a PreconditionFailedException exception + // and doesn't publish the new version. If you don't specify a checksum, Amazon + // Lex publishes the $LATEST version. + Checksum *string `locationName:"checksum" type:"string"` + + // The name of the slot type that you want to create a new version for. The + // name is case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateSlotTypeVersionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateSlotTypeVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateSlotTypeVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateSlotTypeVersionInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChecksum sets the Checksum field's value. +func (s *CreateSlotTypeVersionInput) SetChecksum(v string) *CreateSlotTypeVersionInput { + s.Checksum = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateSlotTypeVersionInput) SetName(v string) *CreateSlotTypeVersionInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateSlotTypeVersionResponse +type CreateSlotTypeVersionOutput struct { + _ struct{} `type:"structure"` + + // Checksum of the $LATEST version of the slot type. + Checksum *string `locationName:"checksum" type:"string"` + + // The date that the slot type was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the slot type. + Description *string `locationName:"description" type:"string"` + + // A list of EnumerationValue objects that defines the values that the slot + // type can take. + EnumerationValues []*EnumerationValue `locationName:"enumerationValues" min:"1" type:"list"` + + // The date that the slot type was updated. When you create a resource, the + // creation date and last update date are the same. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // The name of the slot type. + Name *string `locationName:"name" min:"1" type:"string"` + + // The strategy that Amazon Lex uses to determine the value of the slot. For + // more information, see PutSlotType. + ValueSelectionStrategy *string `locationName:"valueSelectionStrategy" type:"string" enum:"SlotValueSelectionStrategy"` + + // The version assigned to the new slot type version. + Version *string `locationName:"version" min:"1" type:"string"` +} + +// String returns the string representation +func (s CreateSlotTypeVersionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateSlotTypeVersionOutput) GoString() string { + return s.String() +} + +// SetChecksum sets the Checksum field's value. +func (s *CreateSlotTypeVersionOutput) SetChecksum(v string) *CreateSlotTypeVersionOutput { + s.Checksum = &v + return s +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *CreateSlotTypeVersionOutput) SetCreatedDate(v time.Time) *CreateSlotTypeVersionOutput { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateSlotTypeVersionOutput) SetDescription(v string) *CreateSlotTypeVersionOutput { + s.Description = &v + return s +} + +// SetEnumerationValues sets the EnumerationValues field's value. +func (s *CreateSlotTypeVersionOutput) SetEnumerationValues(v []*EnumerationValue) *CreateSlotTypeVersionOutput { + s.EnumerationValues = v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *CreateSlotTypeVersionOutput) SetLastUpdatedDate(v time.Time) *CreateSlotTypeVersionOutput { + s.LastUpdatedDate = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateSlotTypeVersionOutput) SetName(v string) *CreateSlotTypeVersionOutput { + s.Name = &v + return s +} + +// SetValueSelectionStrategy sets the ValueSelectionStrategy field's value. +func (s *CreateSlotTypeVersionOutput) SetValueSelectionStrategy(v string) *CreateSlotTypeVersionOutput { + s.ValueSelectionStrategy = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *CreateSlotTypeVersionOutput) SetVersion(v string) *CreateSlotTypeVersionOutput { + s.Version = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotAliasRequest +type DeleteBotAliasInput struct { + _ struct{} `type:"structure"` + + // The name of the bot that the alias points to. + // + // BotName is a required field + BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"` + + // The name of the alias to delete. The name is case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteBotAliasInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteBotAliasInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteBotAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteBotAliasInput"} + if s.BotName == nil { + invalidParams.Add(request.NewErrParamRequired("BotName")) + } + if s.BotName != nil && len(*s.BotName) < 2 { + invalidParams.Add(request.NewErrParamMinLen("BotName", 2)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBotName sets the BotName field's value. +func (s *DeleteBotAliasInput) SetBotName(v string) *DeleteBotAliasInput { + s.BotName = &v + return s +} + +// SetName sets the Name field's value. +func (s *DeleteBotAliasInput) SetName(v string) *DeleteBotAliasInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotAliasOutput +type DeleteBotAliasOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteBotAliasOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteBotAliasOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotChannelAssociationRequest +type DeleteBotChannelAssociationInput struct { + _ struct{} `type:"structure"` + + // An alias that points to the specific version of the Amazon Lex bot to which + // this association is being made. + // + // BotAlias is a required field + BotAlias *string `location:"uri" locationName:"aliasName" min:"1" type:"string" required:"true"` + + // The name of the Amazon Lex bot. + // + // BotName is a required field + BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"` + + // The name of the association. The name is case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteBotChannelAssociationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteBotChannelAssociationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteBotChannelAssociationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteBotChannelAssociationInput"} + if s.BotAlias == nil { + invalidParams.Add(request.NewErrParamRequired("BotAlias")) + } + if s.BotAlias != nil && len(*s.BotAlias) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BotAlias", 1)) + } + if s.BotName == nil { + invalidParams.Add(request.NewErrParamRequired("BotName")) + } + if s.BotName != nil && len(*s.BotName) < 2 { + invalidParams.Add(request.NewErrParamMinLen("BotName", 2)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBotAlias sets the BotAlias field's value. +func (s *DeleteBotChannelAssociationInput) SetBotAlias(v string) *DeleteBotChannelAssociationInput { + s.BotAlias = &v + return s +} + +// SetBotName sets the BotName field's value. +func (s *DeleteBotChannelAssociationInput) SetBotName(v string) *DeleteBotChannelAssociationInput { + s.BotName = &v + return s +} + +// SetName sets the Name field's value. +func (s *DeleteBotChannelAssociationInput) SetName(v string) *DeleteBotChannelAssociationInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotChannelAssociationOutput +type DeleteBotChannelAssociationOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteBotChannelAssociationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteBotChannelAssociationOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotRequest +type DeleteBotInput struct { + _ struct{} `type:"structure"` + + // The name of the bot. The name is case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"2" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteBotInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteBotInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteBotInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteBotInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 2 { + invalidParams.Add(request.NewErrParamMinLen("Name", 2)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DeleteBotInput) SetName(v string) *DeleteBotInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotOutput +type DeleteBotOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteBotOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteBotOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotVersionRequest +type DeleteBotVersionInput struct { + _ struct{} `type:"structure"` + + // The name of the bot. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"2" type:"string" required:"true"` + + // The version of the bot to delete. You cannot delete the $LATEST version of + // the bot. To delete the $LATEST version, use the DeleteBot operation. + // + // Version is a required field + Version *string `location:"uri" locationName:"version" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteBotVersionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteBotVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteBotVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteBotVersionInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 2 { + invalidParams.Add(request.NewErrParamMinLen("Name", 2)) + } + if s.Version == nil { + invalidParams.Add(request.NewErrParamRequired("Version")) + } + if s.Version != nil && len(*s.Version) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Version", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DeleteBotVersionInput) SetName(v string) *DeleteBotVersionInput { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *DeleteBotVersionInput) SetVersion(v string) *DeleteBotVersionInput { + s.Version = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotVersionOutput +type DeleteBotVersionOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteBotVersionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteBotVersionOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentRequest +type DeleteIntentInput struct { + _ struct{} `type:"structure"` + + // The name of the intent. The name is case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteIntentInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteIntentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteIntentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteIntentInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DeleteIntentInput) SetName(v string) *DeleteIntentInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentOutput +type DeleteIntentOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteIntentOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteIntentOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentVersionRequest +type DeleteIntentVersionInput struct { + _ struct{} `type:"structure"` + + // The name of the intent. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` + + // The version of the intent to delete. You cannot delete the $LATEST version + // of the intent. To delete the $LATEST version, use the DeleteIntent operation. + // + // Version is a required field + Version *string `location:"uri" locationName:"version" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteIntentVersionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteIntentVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteIntentVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteIntentVersionInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Version == nil { + invalidParams.Add(request.NewErrParamRequired("Version")) + } + if s.Version != nil && len(*s.Version) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Version", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DeleteIntentVersionInput) SetName(v string) *DeleteIntentVersionInput { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *DeleteIntentVersionInput) SetVersion(v string) *DeleteIntentVersionInput { + s.Version = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentVersionOutput +type DeleteIntentVersionOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteIntentVersionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteIntentVersionOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeRequest +type DeleteSlotTypeInput struct { + _ struct{} `type:"structure"` + + // The name of the slot type. The name is case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteSlotTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteSlotTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteSlotTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteSlotTypeInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DeleteSlotTypeInput) SetName(v string) *DeleteSlotTypeInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeOutput +type DeleteSlotTypeOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteSlotTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteSlotTypeOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeVersionRequest +type DeleteSlotTypeVersionInput struct { + _ struct{} `type:"structure"` + + // The name of the slot type. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` + + // The version of the slot type to delete. You cannot delete the $LATEST version + // of the slot type. To delete the $LATEST version, use the DeleteSlotType operation. + // + // Version is a required field + Version *string `location:"uri" locationName:"version" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteSlotTypeVersionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteSlotTypeVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteSlotTypeVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteSlotTypeVersionInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Version == nil { + invalidParams.Add(request.NewErrParamRequired("Version")) + } + if s.Version != nil && len(*s.Version) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Version", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DeleteSlotTypeVersionInput) SetName(v string) *DeleteSlotTypeVersionInput { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *DeleteSlotTypeVersionInput) SetVersion(v string) *DeleteSlotTypeVersionInput { + s.Version = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeVersionOutput +type DeleteSlotTypeVersionOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteSlotTypeVersionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteSlotTypeVersionOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteUtterancesRequest +type DeleteUtterancesInput struct { + _ struct{} `type:"structure"` + + // The name of the bot that stored the utterances. + // + // BotName is a required field + BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"` + + // The unique identifier for the user that made the utterances. This is the + // user ID that was sent in the PostContent (http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html) + // or PostText (http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html) + // operation request that contained the utterance. + // + // UserId is a required field + UserId *string `location:"uri" locationName:"userId" min:"2" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteUtterancesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteUtterancesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteUtterancesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteUtterancesInput"} + if s.BotName == nil { + invalidParams.Add(request.NewErrParamRequired("BotName")) + } + if s.BotName != nil && len(*s.BotName) < 2 { + invalidParams.Add(request.NewErrParamMinLen("BotName", 2)) + } + if s.UserId == nil { + invalidParams.Add(request.NewErrParamRequired("UserId")) + } + if s.UserId != nil && len(*s.UserId) < 2 { + invalidParams.Add(request.NewErrParamMinLen("UserId", 2)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBotName sets the BotName field's value. +func (s *DeleteUtterancesInput) SetBotName(v string) *DeleteUtterancesInput { + s.BotName = &v + return s +} + +// SetUserId sets the UserId field's value. +func (s *DeleteUtterancesInput) SetUserId(v string) *DeleteUtterancesInput { + s.UserId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteUtterancesOutput +type DeleteUtterancesOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteUtterancesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteUtterancesOutput) GoString() string { + return s.String() +} + +// Each slot type can have a set of values. Each enumeration value represents +// a value the slot type can take. +// +// For example, a pizza ordering bot could have a slot type that specifies the +// type of crust that the pizza should have. The slot type could include the +// values +// +// * thick +// +// * thin +// +// * stuffed +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/EnumerationValue +type EnumerationValue struct { + _ struct{} `type:"structure"` + + // Additional values related to the slot type value. + Synonyms []*string `locationName:"synonyms" type:"list"` + + // The value of the slot type. + // + // Value is a required field + Value *string `locationName:"value" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s EnumerationValue) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EnumerationValue) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *EnumerationValue) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EnumerationValue"} + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + if s.Value != nil && len(*s.Value) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Value", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSynonyms sets the Synonyms field's value. +func (s *EnumerationValue) SetSynonyms(v []*string) *EnumerationValue { + s.Synonyms = v + return s +} + +// SetValue sets the Value field's value. +func (s *EnumerationValue) SetValue(v string) *EnumerationValue { + s.Value = &v + return s +} + +// A prompt for additional activity after an intent is fulfilled. For example, +// after the OrderPizza intent is fulfilled, you might prompt the user to find +// out whether the user wants to order drinks. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/FollowUpPrompt +type FollowUpPrompt struct { + _ struct{} `type:"structure"` + + // Prompts for information from the user. + // + // Prompt is a required field + Prompt *Prompt `locationName:"prompt" type:"structure" required:"true"` + + // If the user answers "no" to the question defined in the prompt field, Amazon + // Lex responds with this statement to acknowledge that the intent was canceled. + // + // RejectionStatement is a required field + RejectionStatement *Statement `locationName:"rejectionStatement" type:"structure" required:"true"` +} + +// String returns the string representation +func (s FollowUpPrompt) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s FollowUpPrompt) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FollowUpPrompt) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FollowUpPrompt"} + if s.Prompt == nil { + invalidParams.Add(request.NewErrParamRequired("Prompt")) + } + if s.RejectionStatement == nil { + invalidParams.Add(request.NewErrParamRequired("RejectionStatement")) + } + if s.Prompt != nil { + if err := s.Prompt.Validate(); err != nil { + invalidParams.AddNested("Prompt", err.(request.ErrInvalidParams)) + } + } + if s.RejectionStatement != nil { + if err := s.RejectionStatement.Validate(); err != nil { + invalidParams.AddNested("RejectionStatement", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPrompt sets the Prompt field's value. +func (s *FollowUpPrompt) SetPrompt(v *Prompt) *FollowUpPrompt { + s.Prompt = v + return s +} + +// SetRejectionStatement sets the RejectionStatement field's value. +func (s *FollowUpPrompt) SetRejectionStatement(v *Statement) *FollowUpPrompt { + s.RejectionStatement = v + return s +} + +// Describes how the intent is fulfilled after the user provides all of the +// information required for the intent. You can provide a Lambda function to +// process the intent, or you can return the intent information to the client +// application. We recommend that you use a Lambda function so that the relevant +// logic lives in the Cloud and limit the client-side code primarily to presentation. +// If you need to update the logic, you only update the Lambda function; you +// don't need to upgrade your client application. +// +// Consider the following examples: +// +// * In a pizza ordering application, after the user provides all of the +// information for placing an order, you use a Lambda function to place an +// order with a pizzeria. +// +// * In a gaming application, when a user says "pick up a rock," this information +// must go back to the client application so that it can perform the operation +// and update the graphics. In this case, you want Amazon Lex to return the +// intent data to the client. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/FulfillmentActivity +type FulfillmentActivity struct { + _ struct{} `type:"structure"` + + // A description of the Lambda function that is run to fulfill the intent. + CodeHook *CodeHook `locationName:"codeHook" type:"structure"` + + // How the intent should be fulfilled, either by running a Lambda function or + // by returning the slot data to the client application. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"FulfillmentActivityType"` +} + +// String returns the string representation +func (s FulfillmentActivity) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s FulfillmentActivity) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FulfillmentActivity) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FulfillmentActivity"} + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + if s.CodeHook != nil { + if err := s.CodeHook.Validate(); err != nil { + invalidParams.AddNested("CodeHook", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCodeHook sets the CodeHook field's value. +func (s *FulfillmentActivity) SetCodeHook(v *CodeHook) *FulfillmentActivity { + s.CodeHook = v + return s +} + +// SetType sets the Type field's value. +func (s *FulfillmentActivity) SetType(v string) *FulfillmentActivity { + s.Type = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliasRequest +type GetBotAliasInput struct { + _ struct{} `type:"structure"` + + // The name of the bot. + // + // BotName is a required field + BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"` + + // The name of the bot alias. The name is case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetBotAliasInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBotAliasInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetBotAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetBotAliasInput"} + if s.BotName == nil { + invalidParams.Add(request.NewErrParamRequired("BotName")) + } + if s.BotName != nil && len(*s.BotName) < 2 { + invalidParams.Add(request.NewErrParamMinLen("BotName", 2)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBotName sets the BotName field's value. +func (s *GetBotAliasInput) SetBotName(v string) *GetBotAliasInput { + s.BotName = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetBotAliasInput) SetName(v string) *GetBotAliasInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliasResponse +type GetBotAliasOutput struct { + _ struct{} `type:"structure"` + + // The name of the bot that the alias points to. + BotName *string `locationName:"botName" min:"2" type:"string"` + + // The version of the bot that the alias points to. + BotVersion *string `locationName:"botVersion" min:"1" type:"string"` + + // Checksum of the bot alias. + Checksum *string `locationName:"checksum" type:"string"` + + // The date that the bot alias was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the bot alias. + Description *string `locationName:"description" type:"string"` + + // The date that the bot alias was updated. When you create a resource, the + // creation date and the last updated date are the same. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // The name of the bot alias. + Name *string `locationName:"name" min:"1" type:"string"` +} + +// String returns the string representation +func (s GetBotAliasOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBotAliasOutput) GoString() string { + return s.String() +} + +// SetBotName sets the BotName field's value. +func (s *GetBotAliasOutput) SetBotName(v string) *GetBotAliasOutput { + s.BotName = &v + return s +} + +// SetBotVersion sets the BotVersion field's value. +func (s *GetBotAliasOutput) SetBotVersion(v string) *GetBotAliasOutput { + s.BotVersion = &v + return s +} + +// SetChecksum sets the Checksum field's value. +func (s *GetBotAliasOutput) SetChecksum(v string) *GetBotAliasOutput { + s.Checksum = &v + return s +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *GetBotAliasOutput) SetCreatedDate(v time.Time) *GetBotAliasOutput { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetBotAliasOutput) SetDescription(v string) *GetBotAliasOutput { + s.Description = &v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *GetBotAliasOutput) SetLastUpdatedDate(v time.Time) *GetBotAliasOutput { + s.LastUpdatedDate = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetBotAliasOutput) SetName(v string) *GetBotAliasOutput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliasesRequest +type GetBotAliasesInput struct { + _ struct{} `type:"structure"` + + // The name of the bot. + // + // BotName is a required field + BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"` + + // The maximum number of aliases to return in the response. The default is 50. + // . + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Substring to match in bot alias names. An alias will be returned if any part + // of its name matches the substring. For example, "xyz" matches both "xyzabc" + // and "abcxyz." + NameContains *string `location:"querystring" locationName:"nameContains" min:"1" type:"string"` + + // A pagination token for fetching the next page of aliases. If the response + // to this call is truncated, Amazon Lex returns a pagination token in the response. + // To fetch the next page of aliases, specify the pagination token in the next + // request. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetBotAliasesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBotAliasesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetBotAliasesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetBotAliasesInput"} + if s.BotName == nil { + invalidParams.Add(request.NewErrParamRequired("BotName")) + } + if s.BotName != nil && len(*s.BotName) < 2 { + invalidParams.Add(request.NewErrParamMinLen("BotName", 2)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NameContains != nil && len(*s.NameContains) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NameContains", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBotName sets the BotName field's value. +func (s *GetBotAliasesInput) SetBotName(v string) *GetBotAliasesInput { + s.BotName = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetBotAliasesInput) SetMaxResults(v int64) *GetBotAliasesInput { + s.MaxResults = &v + return s +} + +// SetNameContains sets the NameContains field's value. +func (s *GetBotAliasesInput) SetNameContains(v string) *GetBotAliasesInput { + s.NameContains = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBotAliasesInput) SetNextToken(v string) *GetBotAliasesInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliasesResponse +type GetBotAliasesOutput struct { + _ struct{} `type:"structure"` + + // An array of BotAliasMetadata objects, each describing a bot alias. + BotAliases []*BotAliasMetadata `type:"list"` + + // A pagination token for fetching next page of aliases. If the response to + // this call is truncated, Amazon Lex returns a pagination token in the response. + // To fetch the next page of aliases, specify the pagination token in the next + // request. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetBotAliasesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBotAliasesOutput) GoString() string { + return s.String() +} + +// SetBotAliases sets the BotAliases field's value. +func (s *GetBotAliasesOutput) SetBotAliases(v []*BotAliasMetadata) *GetBotAliasesOutput { + s.BotAliases = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBotAliasesOutput) SetNextToken(v string) *GetBotAliasesOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociationRequest +type GetBotChannelAssociationInput struct { + _ struct{} `type:"structure"` + + // An alias pointing to the specific version of the Amazon Lex bot to which + // this association is being made. + // + // BotAlias is a required field + BotAlias *string `location:"uri" locationName:"aliasName" min:"1" type:"string" required:"true"` + + // The name of the Amazon Lex bot. + // + // BotName is a required field + BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"` + + // The name of the association between the bot and the channel. The name is + // case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetBotChannelAssociationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBotChannelAssociationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetBotChannelAssociationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetBotChannelAssociationInput"} + if s.BotAlias == nil { + invalidParams.Add(request.NewErrParamRequired("BotAlias")) + } + if s.BotAlias != nil && len(*s.BotAlias) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BotAlias", 1)) + } + if s.BotName == nil { + invalidParams.Add(request.NewErrParamRequired("BotName")) + } + if s.BotName != nil && len(*s.BotName) < 2 { + invalidParams.Add(request.NewErrParamMinLen("BotName", 2)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBotAlias sets the BotAlias field's value. +func (s *GetBotChannelAssociationInput) SetBotAlias(v string) *GetBotChannelAssociationInput { + s.BotAlias = &v + return s +} + +// SetBotName sets the BotName field's value. +func (s *GetBotChannelAssociationInput) SetBotName(v string) *GetBotChannelAssociationInput { + s.BotName = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetBotChannelAssociationInput) SetName(v string) *GetBotChannelAssociationInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociationResponse +type GetBotChannelAssociationOutput struct { + _ struct{} `type:"structure"` + + // An alias pointing to the specific version of the Amazon Lex bot to which + // this association is being made. + BotAlias *string `locationName:"botAlias" min:"1" type:"string"` + + // Provides information that the messaging platform needs to communicate with + // the Amazon Lex bot. + BotConfiguration map[string]*string `locationName:"botConfiguration" min:"1" type:"map"` + + // The name of the Amazon Lex bot. + BotName *string `locationName:"botName" min:"2" type:"string"` + + // The date that the association between the bot and the channel was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the association between the bot and the channel. + Description *string `locationName:"description" type:"string"` + + // If status is FAILED, Amazon Lex provides the reason that it failed to create + // the association. + FailureReason *string `locationName:"failureReason" type:"string"` + + // The name of the association between the bot and the channel. + Name *string `locationName:"name" min:"1" type:"string"` + + // The status of the bot channel. + // + // * CREATED - The channel has been created and is ready for use. + // + // * IN_PROGRESS - Channel creation is in progress. + // + // * FAILED - There was an error creating the channel. For information about + // the reason for the failure, see the failureReason field. + Status *string `locationName:"status" type:"string" enum:"ChannelStatus"` + + // The type of the messaging platform. + Type *string `locationName:"type" type:"string" enum:"ChannelType"` +} + +// String returns the string representation +func (s GetBotChannelAssociationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBotChannelAssociationOutput) GoString() string { + return s.String() +} + +// SetBotAlias sets the BotAlias field's value. +func (s *GetBotChannelAssociationOutput) SetBotAlias(v string) *GetBotChannelAssociationOutput { + s.BotAlias = &v + return s +} + +// SetBotConfiguration sets the BotConfiguration field's value. +func (s *GetBotChannelAssociationOutput) SetBotConfiguration(v map[string]*string) *GetBotChannelAssociationOutput { + s.BotConfiguration = v + return s +} + +// SetBotName sets the BotName field's value. +func (s *GetBotChannelAssociationOutput) SetBotName(v string) *GetBotChannelAssociationOutput { + s.BotName = &v + return s +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *GetBotChannelAssociationOutput) SetCreatedDate(v time.Time) *GetBotChannelAssociationOutput { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetBotChannelAssociationOutput) SetDescription(v string) *GetBotChannelAssociationOutput { + s.Description = &v + return s +} + +// SetFailureReason sets the FailureReason field's value. +func (s *GetBotChannelAssociationOutput) SetFailureReason(v string) *GetBotChannelAssociationOutput { + s.FailureReason = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetBotChannelAssociationOutput) SetName(v string) *GetBotChannelAssociationOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetBotChannelAssociationOutput) SetStatus(v string) *GetBotChannelAssociationOutput { + s.Status = &v + return s +} + +// SetType sets the Type field's value. +func (s *GetBotChannelAssociationOutput) SetType(v string) *GetBotChannelAssociationOutput { + s.Type = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociationsRequest +type GetBotChannelAssociationsInput struct { + _ struct{} `type:"structure"` + + // An alias pointing to the specific version of the Amazon Lex bot to which + // this association is being made. + // + // BotAlias is a required field + BotAlias *string `location:"uri" locationName:"aliasName" min:"1" type:"string" required:"true"` + + // The name of the Amazon Lex bot in the association. + // + // BotName is a required field + BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"` + + // The maximum number of associations to return in the response. The default + // is 50. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Substring to match in channel association names. An association will be returned + // if any part of its name matches the substring. For example, "xyz" matches + // both "xyzabc" and "abcxyz." To return all bot channel associations, use a + // hyphen ("-") as the nameContains parameter. + NameContains *string `location:"querystring" locationName:"nameContains" min:"1" type:"string"` + + // A pagination token for fetching the next page of associations. If the response + // to this call is truncated, Amazon Lex returns a pagination token in the response. + // To fetch the next page of associations, specify the pagination token in the + // next request. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetBotChannelAssociationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBotChannelAssociationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetBotChannelAssociationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetBotChannelAssociationsInput"} + if s.BotAlias == nil { + invalidParams.Add(request.NewErrParamRequired("BotAlias")) + } + if s.BotAlias != nil && len(*s.BotAlias) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BotAlias", 1)) + } + if s.BotName == nil { + invalidParams.Add(request.NewErrParamRequired("BotName")) + } + if s.BotName != nil && len(*s.BotName) < 2 { + invalidParams.Add(request.NewErrParamMinLen("BotName", 2)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NameContains != nil && len(*s.NameContains) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NameContains", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBotAlias sets the BotAlias field's value. +func (s *GetBotChannelAssociationsInput) SetBotAlias(v string) *GetBotChannelAssociationsInput { + s.BotAlias = &v + return s +} + +// SetBotName sets the BotName field's value. +func (s *GetBotChannelAssociationsInput) SetBotName(v string) *GetBotChannelAssociationsInput { + s.BotName = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetBotChannelAssociationsInput) SetMaxResults(v int64) *GetBotChannelAssociationsInput { + s.MaxResults = &v + return s +} + +// SetNameContains sets the NameContains field's value. +func (s *GetBotChannelAssociationsInput) SetNameContains(v string) *GetBotChannelAssociationsInput { + s.NameContains = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBotChannelAssociationsInput) SetNextToken(v string) *GetBotChannelAssociationsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociationsResponse +type GetBotChannelAssociationsOutput struct { + _ struct{} `type:"structure"` + + // An array of objects, one for each association, that provides information + // about the Amazon Lex bot and its association with the channel. + BotChannelAssociations []*BotChannelAssociation `locationName:"botChannelAssociations" type:"list"` + + // A pagination token that fetches the next page of associations. If the response + // to this call is truncated, Amazon Lex returns a pagination token in the response. + // To fetch the next page of associations, specify the pagination token in the + // next request. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetBotChannelAssociationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBotChannelAssociationsOutput) GoString() string { + return s.String() +} + +// SetBotChannelAssociations sets the BotChannelAssociations field's value. +func (s *GetBotChannelAssociationsOutput) SetBotChannelAssociations(v []*BotChannelAssociation) *GetBotChannelAssociationsOutput { + s.BotChannelAssociations = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBotChannelAssociationsOutput) SetNextToken(v string) *GetBotChannelAssociationsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotRequest +type GetBotInput struct { + _ struct{} `type:"structure"` + + // The name of the bot. The name is case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"2" type:"string" required:"true"` + + // The version or alias of the bot. + // + // VersionOrAlias is a required field + VersionOrAlias *string `location:"uri" locationName:"versionoralias" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetBotInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBotInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetBotInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetBotInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 2 { + invalidParams.Add(request.NewErrParamMinLen("Name", 2)) + } + if s.VersionOrAlias == nil { + invalidParams.Add(request.NewErrParamRequired("VersionOrAlias")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *GetBotInput) SetName(v string) *GetBotInput { + s.Name = &v + return s +} + +// SetVersionOrAlias sets the VersionOrAlias field's value. +func (s *GetBotInput) SetVersionOrAlias(v string) *GetBotInput { + s.VersionOrAlias = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotResponse +type GetBotOutput struct { + _ struct{} `type:"structure"` + + // The message that Amazon Lex returns when the user elects to end the conversation + // without completing it. For more information, see PutBot. + AbortStatement *Statement `locationName:"abortStatement" type:"structure"` + + // Checksum of the bot used to identify a specific revision of the bot's $LATEST + // version. + Checksum *string `locationName:"checksum" type:"string"` + + // For each Amazon Lex bot created with the Amazon Lex Model Building Service, + // you must specify whether your use of Amazon Lex is related to a website, + // program, or other application that is directed or targeted, in whole or in + // part, to children under age 13 and subject to the Children's Online Privacy + // Protection Act (COPPA) by specifying true or false in the childDirected field. + // By specifying true in the childDirected field, you confirm that your use + // of Amazon Lex is related to a website, program, or other application that + // is directed or targeted, in whole or in part, to children under age 13 and + // subject to COPPA. By specifying false in the childDirected field, you confirm + // that your use of Amazon Lex is not related to a website, program, or other + // application that is directed or targeted, in whole or in part, to children + // under age 13 and subject to COPPA. You may not specify a default value for + // the childDirected field that does not accurately reflect whether your use + // of Amazon Lex is related to a website, program, or other application that + // is directed or targeted, in whole or in part, to children under age 13 and + // subject to COPPA. + // + // If your use of Amazon Lex relates to a website, program, or other application + // that is directed in whole or in part, to children under age 13, you must + // obtain any required verifiable parental consent under COPPA. For information + // regarding the use of Amazon Lex in connection with websites, programs, or + // other applications that are directed or targeted, in whole or in part, to + // children under age 13, see the Amazon Lex FAQ. (https://aws.amazon.com/lex/faqs#data-security) + ChildDirected *bool `locationName:"childDirected" type:"boolean"` + + // The message Amazon Lex uses when it doesn't understand the user's request. + // For more information, see PutBot. + ClarificationPrompt *Prompt `locationName:"clarificationPrompt" type:"structure"` + + // The date that the bot was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the bot. + Description *string `locationName:"description" type:"string"` + + // If status is FAILED, Amazon Lex explains why it failed to build the bot. + FailureReason *string `locationName:"failureReason" type:"string"` + + // The maximum time in seconds that Amazon Lex retains the data gathered in + // a conversation. For more information, see PutBot. + IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"` + + // An array of intent objects. For more information, see PutBot. + Intents []*Intent `locationName:"intents" type:"list"` + + // The date that the bot was updated. When you create a resource, the creation + // date and last updated date are the same. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // The target locale for the bot. + Locale *string `locationName:"locale" type:"string" enum:"Locale"` + + // The name of the bot. + Name *string `locationName:"name" min:"2" type:"string"` + + // The status of the bot. If the bot is ready to run, the status is READY. If + // there was a problem with building the bot, the status is FAILED and the failureReason + // explains why the bot did not build. If the bot was saved but not built, the + // status is NOT BUILT. + Status *string `locationName:"status" type:"string" enum:"Status"` + + // The version of the bot. For a new bot, the version is always $LATEST. + Version *string `locationName:"version" min:"1" type:"string"` + + // The Amazon Polly voice ID that Amazon Lex uses for voice interaction with + // the user. For more information, see PutBot. + VoiceId *string `locationName:"voiceId" type:"string"` +} + +// String returns the string representation +func (s GetBotOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBotOutput) GoString() string { + return s.String() +} + +// SetAbortStatement sets the AbortStatement field's value. +func (s *GetBotOutput) SetAbortStatement(v *Statement) *GetBotOutput { + s.AbortStatement = v + return s +} + +// SetChecksum sets the Checksum field's value. +func (s *GetBotOutput) SetChecksum(v string) *GetBotOutput { + s.Checksum = &v + return s +} + +// SetChildDirected sets the ChildDirected field's value. +func (s *GetBotOutput) SetChildDirected(v bool) *GetBotOutput { + s.ChildDirected = &v + return s +} + +// SetClarificationPrompt sets the ClarificationPrompt field's value. +func (s *GetBotOutput) SetClarificationPrompt(v *Prompt) *GetBotOutput { + s.ClarificationPrompt = v + return s +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *GetBotOutput) SetCreatedDate(v time.Time) *GetBotOutput { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetBotOutput) SetDescription(v string) *GetBotOutput { + s.Description = &v + return s +} + +// SetFailureReason sets the FailureReason field's value. +func (s *GetBotOutput) SetFailureReason(v string) *GetBotOutput { + s.FailureReason = &v + return s +} + +// SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value. +func (s *GetBotOutput) SetIdleSessionTTLInSeconds(v int64) *GetBotOutput { + s.IdleSessionTTLInSeconds = &v + return s +} + +// SetIntents sets the Intents field's value. +func (s *GetBotOutput) SetIntents(v []*Intent) *GetBotOutput { + s.Intents = v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *GetBotOutput) SetLastUpdatedDate(v time.Time) *GetBotOutput { + s.LastUpdatedDate = &v + return s +} + +// SetLocale sets the Locale field's value. +func (s *GetBotOutput) SetLocale(v string) *GetBotOutput { + s.Locale = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetBotOutput) SetName(v string) *GetBotOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetBotOutput) SetStatus(v string) *GetBotOutput { + s.Status = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *GetBotOutput) SetVersion(v string) *GetBotOutput { + s.Version = &v + return s +} + +// SetVoiceId sets the VoiceId field's value. +func (s *GetBotOutput) SetVoiceId(v string) *GetBotOutput { + s.VoiceId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotVersionsRequest +type GetBotVersionsInput struct { + _ struct{} `type:"structure"` + + // The maximum number of bot versions to return in the response. The default + // is 10. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The name of the bot for which versions should be returned. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"2" type:"string" required:"true"` + + // A pagination token for fetching the next page of bot versions. If the response + // to this call is truncated, Amazon Lex returns a pagination token in the response. + // To fetch the next page of versions, specify the pagination token in the next + // request. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetBotVersionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBotVersionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetBotVersionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetBotVersionsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 2 { + invalidParams.Add(request.NewErrParamMinLen("Name", 2)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetBotVersionsInput) SetMaxResults(v int64) *GetBotVersionsInput { + s.MaxResults = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetBotVersionsInput) SetName(v string) *GetBotVersionsInput { + s.Name = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBotVersionsInput) SetNextToken(v string) *GetBotVersionsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotVersionsResponse +type GetBotVersionsOutput struct { + _ struct{} `type:"structure"` + + // An array of BotMetadata objects, one for each numbered version of the bot + // plus one for the $LATEST version. + Bots []*BotMetadata `locationName:"bots" type:"list"` + + // A pagination token for fetching the next page of bot versions. If the response + // to this call is truncated, Amazon Lex returns a pagination token in the response. + // To fetch the next page of versions, specify the pagination token in the next + // request. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetBotVersionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBotVersionsOutput) GoString() string { + return s.String() +} + +// SetBots sets the Bots field's value. +func (s *GetBotVersionsOutput) SetBots(v []*BotMetadata) *GetBotVersionsOutput { + s.Bots = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBotVersionsOutput) SetNextToken(v string) *GetBotVersionsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotsRequest +type GetBotsInput struct { + _ struct{} `type:"structure"` + + // The maximum number of bots to return in the response that the request will + // return. The default is 10. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Substring to match in bot names. A bot will be returned if any part of its + // name matches the substring. For example, "xyz" matches both "xyzabc" and + // "abcxyz." + NameContains *string `location:"querystring" locationName:"nameContains" min:"2" type:"string"` + + // A pagination token that fetches the next page of bots. If the response to + // this call is truncated, Amazon Lex returns a pagination token in the response. + // To fetch the next page of bots, specify the pagination token in the next + // request. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetBotsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBotsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetBotsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetBotsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NameContains != nil && len(*s.NameContains) < 2 { + invalidParams.Add(request.NewErrParamMinLen("NameContains", 2)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetBotsInput) SetMaxResults(v int64) *GetBotsInput { + s.MaxResults = &v + return s +} + +// SetNameContains sets the NameContains field's value. +func (s *GetBotsInput) SetNameContains(v string) *GetBotsInput { + s.NameContains = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBotsInput) SetNextToken(v string) *GetBotsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotsResponse +type GetBotsOutput struct { + _ struct{} `type:"structure"` + + // An array of botMetadata objects, with one entry for each bot. + Bots []*BotMetadata `locationName:"bots" type:"list"` + + // If the response is truncated, it includes a pagination token that you can + // specify in your next request to fetch the next page of bots. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetBotsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBotsOutput) GoString() string { + return s.String() +} + +// SetBots sets the Bots field's value. +func (s *GetBotsOutput) SetBots(v []*BotMetadata) *GetBotsOutput { + s.Bots = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBotsOutput) SetNextToken(v string) *GetBotsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntentRequest +type GetBuiltinIntentInput struct { + _ struct{} `type:"structure"` + + // The unique identifier for a built-in intent. To find the signature for an + // intent, see Standard Built-in Intents (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents) + // in the Alexa Skills Kit. + // + // Signature is a required field + Signature *string `location:"uri" locationName:"signature" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetBuiltinIntentInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBuiltinIntentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetBuiltinIntentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetBuiltinIntentInput"} + if s.Signature == nil { + invalidParams.Add(request.NewErrParamRequired("Signature")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSignature sets the Signature field's value. +func (s *GetBuiltinIntentInput) SetSignature(v string) *GetBuiltinIntentInput { + s.Signature = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntentResponse +type GetBuiltinIntentOutput struct { + _ struct{} `type:"structure"` + + // The unique identifier for a built-in intent. + Signature *string `locationName:"signature" type:"string"` + + // An array of BuiltinIntentSlot objects, one entry for each slot type in the + // intent. + Slots []*BuiltinIntentSlot `locationName:"slots" type:"list"` + + // A list of locales that the intent supports. + SupportedLocales []*string `locationName:"supportedLocales" type:"list"` +} + +// String returns the string representation +func (s GetBuiltinIntentOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBuiltinIntentOutput) GoString() string { + return s.String() +} + +// SetSignature sets the Signature field's value. +func (s *GetBuiltinIntentOutput) SetSignature(v string) *GetBuiltinIntentOutput { + s.Signature = &v + return s +} + +// SetSlots sets the Slots field's value. +func (s *GetBuiltinIntentOutput) SetSlots(v []*BuiltinIntentSlot) *GetBuiltinIntentOutput { + s.Slots = v + return s +} + +// SetSupportedLocales sets the SupportedLocales field's value. +func (s *GetBuiltinIntentOutput) SetSupportedLocales(v []*string) *GetBuiltinIntentOutput { + s.SupportedLocales = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntentsRequest +type GetBuiltinIntentsInput struct { + _ struct{} `type:"structure"` + + // A list of locales that the intent supports. + Locale *string `location:"querystring" locationName:"locale" type:"string" enum:"Locale"` + + // The maximum number of intents to return in the response. The default is 10. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // A pagination token that fetches the next page of intents. If this API call + // is truncated, Amazon Lex returns a pagination token in the response. To fetch + // the next page of intents, use the pagination token in the next request. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // Substring to match in built-in intent signatures. An intent will be returned + // if any part of its signature matches the substring. For example, "xyz" matches + // both "xyzabc" and "abcxyz." To find the signature for an intent, see Standard + // Built-in Intents (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents) + // in the Alexa Skills Kit. + SignatureContains *string `location:"querystring" locationName:"signatureContains" type:"string"` +} + +// String returns the string representation +func (s GetBuiltinIntentsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBuiltinIntentsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetBuiltinIntentsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetBuiltinIntentsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLocale sets the Locale field's value. +func (s *GetBuiltinIntentsInput) SetLocale(v string) *GetBuiltinIntentsInput { + s.Locale = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetBuiltinIntentsInput) SetMaxResults(v int64) *GetBuiltinIntentsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBuiltinIntentsInput) SetNextToken(v string) *GetBuiltinIntentsInput { + s.NextToken = &v + return s +} + +// SetSignatureContains sets the SignatureContains field's value. +func (s *GetBuiltinIntentsInput) SetSignatureContains(v string) *GetBuiltinIntentsInput { + s.SignatureContains = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntentsResponse +type GetBuiltinIntentsOutput struct { + _ struct{} `type:"structure"` + + // An array of builtinIntentMetadata objects, one for each intent in the response. + Intents []*BuiltinIntentMetadata `locationName:"intents" type:"list"` + + // A pagination token that fetches the next page of intents. If the response + // to this API call is truncated, Amazon Lex returns a pagination token in the + // response. To fetch the next page of intents, specify the pagination token + // in the next request. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetBuiltinIntentsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBuiltinIntentsOutput) GoString() string { + return s.String() +} + +// SetIntents sets the Intents field's value. +func (s *GetBuiltinIntentsOutput) SetIntents(v []*BuiltinIntentMetadata) *GetBuiltinIntentsOutput { + s.Intents = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBuiltinIntentsOutput) SetNextToken(v string) *GetBuiltinIntentsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinSlotTypesRequest +type GetBuiltinSlotTypesInput struct { + _ struct{} `type:"structure"` + + // A list of locales that the slot type supports. + Locale *string `location:"querystring" locationName:"locale" type:"string" enum:"Locale"` + + // The maximum number of slot types to return in the response. The default is + // 10. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // A pagination token that fetches the next page of slot types. If the response + // to this API call is truncated, Amazon Lex returns a pagination token in the + // response. To fetch the next page of slot types, specify the pagination token + // in the next request. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // Substring to match in built-in slot type signatures. A slot type will be + // returned if any part of its signature matches the substring. For example, + // "xyz" matches both "xyzabc" and "abcxyz." + SignatureContains *string `location:"querystring" locationName:"signatureContains" type:"string"` +} + +// String returns the string representation +func (s GetBuiltinSlotTypesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBuiltinSlotTypesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetBuiltinSlotTypesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetBuiltinSlotTypesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLocale sets the Locale field's value. +func (s *GetBuiltinSlotTypesInput) SetLocale(v string) *GetBuiltinSlotTypesInput { + s.Locale = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetBuiltinSlotTypesInput) SetMaxResults(v int64) *GetBuiltinSlotTypesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBuiltinSlotTypesInput) SetNextToken(v string) *GetBuiltinSlotTypesInput { + s.NextToken = &v + return s +} + +// SetSignatureContains sets the SignatureContains field's value. +func (s *GetBuiltinSlotTypesInput) SetSignatureContains(v string) *GetBuiltinSlotTypesInput { + s.SignatureContains = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinSlotTypesResponse +type GetBuiltinSlotTypesOutput struct { + _ struct{} `type:"structure"` + + // If the response is truncated, the response includes a pagination token that + // you can use in your next request to fetch the next page of slot types. + NextToken *string `locationName:"nextToken" type:"string"` + + // An array of BuiltInSlotTypeMetadata objects, one entry for each slot type + // returned. + SlotTypes []*BuiltinSlotTypeMetadata `locationName:"slotTypes" type:"list"` +} + +// String returns the string representation +func (s GetBuiltinSlotTypesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBuiltinSlotTypesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBuiltinSlotTypesOutput) SetNextToken(v string) *GetBuiltinSlotTypesOutput { + s.NextToken = &v + return s +} + +// SetSlotTypes sets the SlotTypes field's value. +func (s *GetBuiltinSlotTypesOutput) SetSlotTypes(v []*BuiltinSlotTypeMetadata) *GetBuiltinSlotTypesOutput { + s.SlotTypes = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetExportRequest +type GetExportInput struct { + _ struct{} `type:"structure"` + + // The format of the exported data. + // + // ExportType is a required field + ExportType *string `location:"querystring" locationName:"exportType" type:"string" required:"true" enum:"ExportType"` + + // The name of the bot to export. + // + // Name is a required field + Name *string `location:"querystring" locationName:"name" min:"1" type:"string" required:"true"` + + // The type of resource to export. + // + // ResourceType is a required field + ResourceType *string `location:"querystring" locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` + + // The version of the bot to export. + // + // Version is a required field + Version *string `location:"querystring" locationName:"version" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetExportInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetExportInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetExportInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetExportInput"} + if s.ExportType == nil { + invalidParams.Add(request.NewErrParamRequired("ExportType")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.ResourceType == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceType")) + } + if s.Version == nil { + invalidParams.Add(request.NewErrParamRequired("Version")) + } + if s.Version != nil && len(*s.Version) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Version", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExportType sets the ExportType field's value. +func (s *GetExportInput) SetExportType(v string) *GetExportInput { + s.ExportType = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetExportInput) SetName(v string) *GetExportInput { + s.Name = &v + return s +} + +// SetResourceType sets the ResourceType field's value. +func (s *GetExportInput) SetResourceType(v string) *GetExportInput { + s.ResourceType = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *GetExportInput) SetVersion(v string) *GetExportInput { + s.Version = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetExportResponse +type GetExportOutput struct { + _ struct{} `type:"structure"` + + // The status of the export. + // + // * IN_PROGRESS - The export is in progress. + // + // * READY - The export is complete. + // + // * FAILED - The export could not be completed. + ExportStatus *string `locationName:"exportStatus" type:"string" enum:"ExportStatus"` + + // The format of the exported data. + ExportType *string `locationName:"exportType" type:"string" enum:"ExportType"` + + // If status is FAILED, Amazon Lex provides the reason that it failed to export + // the resource. + FailureReason *string `locationName:"failureReason" type:"string"` + + // The name of the bot being exported. + Name *string `locationName:"name" min:"1" type:"string"` + + // The type of the exported resource. + ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` + + // An S3 pre-signed URL that provides the location of the exported resource. + // The exported resource is a ZIP archive that contains the exported resource + // in JSON format. The structure of the archive may change. Your code should + // not rely on the archive structure. + Url *string `locationName:"url" type:"string"` + + // The version of the bot being exported. + Version *string `locationName:"version" min:"1" type:"string"` +} + +// String returns the string representation +func (s GetExportOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetExportOutput) GoString() string { + return s.String() +} + +// SetExportStatus sets the ExportStatus field's value. +func (s *GetExportOutput) SetExportStatus(v string) *GetExportOutput { + s.ExportStatus = &v + return s +} + +// SetExportType sets the ExportType field's value. +func (s *GetExportOutput) SetExportType(v string) *GetExportOutput { + s.ExportType = &v + return s +} + +// SetFailureReason sets the FailureReason field's value. +func (s *GetExportOutput) SetFailureReason(v string) *GetExportOutput { + s.FailureReason = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetExportOutput) SetName(v string) *GetExportOutput { + s.Name = &v + return s +} + +// SetResourceType sets the ResourceType field's value. +func (s *GetExportOutput) SetResourceType(v string) *GetExportOutput { + s.ResourceType = &v + return s +} + +// SetUrl sets the Url field's value. +func (s *GetExportOutput) SetUrl(v string) *GetExportOutput { + s.Url = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *GetExportOutput) SetVersion(v string) *GetExportOutput { + s.Version = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentRequest +type GetIntentInput struct { + _ struct{} `type:"structure"` + + // The name of the intent. The name is case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` + + // The version of the intent. + // + // Version is a required field + Version *string `location:"uri" locationName:"version" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetIntentInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetIntentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetIntentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetIntentInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Version == nil { + invalidParams.Add(request.NewErrParamRequired("Version")) + } + if s.Version != nil && len(*s.Version) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Version", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *GetIntentInput) SetName(v string) *GetIntentInput { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *GetIntentInput) SetVersion(v string) *GetIntentInput { + s.Version = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentResponse +type GetIntentOutput struct { + _ struct{} `type:"structure"` + + // Checksum of the intent. + Checksum *string `locationName:"checksum" type:"string"` + + // After the Lambda function specified in the fulfillmentActivity element fulfills + // the intent, Amazon Lex conveys this statement to the user. + ConclusionStatement *Statement `locationName:"conclusionStatement" type:"structure"` + + // If defined in the bot, Amazon Lex uses prompt to confirm the intent before + // fulfilling the user's request. For more information, see PutIntent. + ConfirmationPrompt *Prompt `locationName:"confirmationPrompt" type:"structure"` + + // The date that the intent was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the intent. + Description *string `locationName:"description" type:"string"` + + // If defined in the bot, Amazon Amazon Lex invokes this Lambda function for + // each user input. For more information, see PutIntent. + DialogCodeHook *CodeHook `locationName:"dialogCodeHook" type:"structure"` + + // If defined in the bot, Amazon Lex uses this prompt to solicit additional + // user activity after the intent is fulfilled. For more information, see PutIntent. + FollowUpPrompt *FollowUpPrompt `locationName:"followUpPrompt" type:"structure"` + + // Describes how the intent is fulfilled. For more information, see PutIntent. + FulfillmentActivity *FulfillmentActivity `locationName:"fulfillmentActivity" type:"structure"` + + // The date that the intent was updated. When you create a resource, the creation + // date and the last updated date are the same. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // The name of the intent. + Name *string `locationName:"name" min:"1" type:"string"` + + // A unique identifier for a built-in intent. + ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"` + + // If the user answers "no" to the question defined in confirmationPrompt, Amazon + // Lex responds with this statement to acknowledge that the intent was canceled. + RejectionStatement *Statement `locationName:"rejectionStatement" type:"structure"` + + // An array of sample utterances configured for the intent. + SampleUtterances []*string `locationName:"sampleUtterances" type:"list"` + + // An array of intent slots configured for the intent. + Slots []*Slot `locationName:"slots" type:"list"` + + // The version of the intent. + Version *string `locationName:"version" min:"1" type:"string"` +} + +// String returns the string representation +func (s GetIntentOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetIntentOutput) GoString() string { + return s.String() +} + +// SetChecksum sets the Checksum field's value. +func (s *GetIntentOutput) SetChecksum(v string) *GetIntentOutput { + s.Checksum = &v + return s +} + +// SetConclusionStatement sets the ConclusionStatement field's value. +func (s *GetIntentOutput) SetConclusionStatement(v *Statement) *GetIntentOutput { + s.ConclusionStatement = v + return s +} + +// SetConfirmationPrompt sets the ConfirmationPrompt field's value. +func (s *GetIntentOutput) SetConfirmationPrompt(v *Prompt) *GetIntentOutput { + s.ConfirmationPrompt = v + return s +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *GetIntentOutput) SetCreatedDate(v time.Time) *GetIntentOutput { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetIntentOutput) SetDescription(v string) *GetIntentOutput { + s.Description = &v + return s +} + +// SetDialogCodeHook sets the DialogCodeHook field's value. +func (s *GetIntentOutput) SetDialogCodeHook(v *CodeHook) *GetIntentOutput { + s.DialogCodeHook = v + return s +} + +// SetFollowUpPrompt sets the FollowUpPrompt field's value. +func (s *GetIntentOutput) SetFollowUpPrompt(v *FollowUpPrompt) *GetIntentOutput { + s.FollowUpPrompt = v + return s +} + +// SetFulfillmentActivity sets the FulfillmentActivity field's value. +func (s *GetIntentOutput) SetFulfillmentActivity(v *FulfillmentActivity) *GetIntentOutput { + s.FulfillmentActivity = v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *GetIntentOutput) SetLastUpdatedDate(v time.Time) *GetIntentOutput { + s.LastUpdatedDate = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetIntentOutput) SetName(v string) *GetIntentOutput { + s.Name = &v + return s +} + +// SetParentIntentSignature sets the ParentIntentSignature field's value. +func (s *GetIntentOutput) SetParentIntentSignature(v string) *GetIntentOutput { + s.ParentIntentSignature = &v + return s +} + +// SetRejectionStatement sets the RejectionStatement field's value. +func (s *GetIntentOutput) SetRejectionStatement(v *Statement) *GetIntentOutput { + s.RejectionStatement = v + return s +} + +// SetSampleUtterances sets the SampleUtterances field's value. +func (s *GetIntentOutput) SetSampleUtterances(v []*string) *GetIntentOutput { + s.SampleUtterances = v + return s +} + +// SetSlots sets the Slots field's value. +func (s *GetIntentOutput) SetSlots(v []*Slot) *GetIntentOutput { + s.Slots = v + return s +} + +// SetVersion sets the Version field's value. +func (s *GetIntentOutput) SetVersion(v string) *GetIntentOutput { + s.Version = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentVersionsRequest +type GetIntentVersionsInput struct { + _ struct{} `type:"structure"` + + // The maximum number of intent versions to return in the response. The default + // is 10. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The name of the intent for which versions should be returned. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` + + // A pagination token for fetching the next page of intent versions. If the + // response to this call is truncated, Amazon Lex returns a pagination token + // in the response. To fetch the next page of versions, specify the pagination + // token in the next request. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetIntentVersionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetIntentVersionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetIntentVersionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetIntentVersionsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetIntentVersionsInput) SetMaxResults(v int64) *GetIntentVersionsInput { + s.MaxResults = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetIntentVersionsInput) SetName(v string) *GetIntentVersionsInput { + s.Name = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetIntentVersionsInput) SetNextToken(v string) *GetIntentVersionsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentVersionsResponse +type GetIntentVersionsOutput struct { + _ struct{} `type:"structure"` + + // An array of IntentMetadata objects, one for each numbered version of the + // intent plus one for the $LATEST version. + Intents []*IntentMetadata `locationName:"intents" type:"list"` + + // A pagination token for fetching the next page of intent versions. If the + // response to this call is truncated, Amazon Lex returns a pagination token + // in the response. To fetch the next page of versions, specify the pagination + // token in the next request. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetIntentVersionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetIntentVersionsOutput) GoString() string { + return s.String() +} + +// SetIntents sets the Intents field's value. +func (s *GetIntentVersionsOutput) SetIntents(v []*IntentMetadata) *GetIntentVersionsOutput { + s.Intents = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetIntentVersionsOutput) SetNextToken(v string) *GetIntentVersionsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentsRequest +type GetIntentsInput struct { + _ struct{} `type:"structure"` + + // The maximum number of intents to return in the response. The default is 10. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Substring to match in intent names. An intent will be returned if any part + // of its name matches the substring. For example, "xyz" matches both "xyzabc" + // and "abcxyz." + NameContains *string `location:"querystring" locationName:"nameContains" min:"1" type:"string"` + + // A pagination token that fetches the next page of intents. If the response + // to this API call is truncated, Amazon Lex returns a pagination token in the + // response. To fetch the next page of intents, specify the pagination token + // in the next request. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetIntentsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetIntentsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetIntentsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetIntentsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NameContains != nil && len(*s.NameContains) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NameContains", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetIntentsInput) SetMaxResults(v int64) *GetIntentsInput { + s.MaxResults = &v + return s +} + +// SetNameContains sets the NameContains field's value. +func (s *GetIntentsInput) SetNameContains(v string) *GetIntentsInput { + s.NameContains = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetIntentsInput) SetNextToken(v string) *GetIntentsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentsResponse +type GetIntentsOutput struct { + _ struct{} `type:"structure"` + + // An array of Intent objects. For more information, see PutBot. + Intents []*IntentMetadata `locationName:"intents" type:"list"` + + // If the response is truncated, the response includes a pagination token that + // you can specify in your next request to fetch the next page of intents. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetIntentsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetIntentsOutput) GoString() string { + return s.String() +} + +// SetIntents sets the Intents field's value. +func (s *GetIntentsOutput) SetIntents(v []*IntentMetadata) *GetIntentsOutput { + s.Intents = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetIntentsOutput) SetNextToken(v string) *GetIntentsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeRequest +type GetSlotTypeInput struct { + _ struct{} `type:"structure"` + + // The name of the slot type. The name is case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` + + // The version of the slot type. + // + // Version is a required field + Version *string `location:"uri" locationName:"version" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetSlotTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetSlotTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetSlotTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetSlotTypeInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Version == nil { + invalidParams.Add(request.NewErrParamRequired("Version")) + } + if s.Version != nil && len(*s.Version) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Version", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *GetSlotTypeInput) SetName(v string) *GetSlotTypeInput { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *GetSlotTypeInput) SetVersion(v string) *GetSlotTypeInput { + s.Version = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeResponse +type GetSlotTypeOutput struct { + _ struct{} `type:"structure"` + + // Checksum of the $LATEST version of the slot type. + Checksum *string `locationName:"checksum" type:"string"` + + // The date that the slot type was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the slot type. + Description *string `locationName:"description" type:"string"` + + // A list of EnumerationValue objects that defines the values that the slot + // type can take. + EnumerationValues []*EnumerationValue `locationName:"enumerationValues" min:"1" type:"list"` + + // The date that the slot type was updated. When you create a resource, the + // creation date and last update date are the same. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // The name of the slot type. + Name *string `locationName:"name" min:"1" type:"string"` + + // The strategy that Amazon Lex uses to determine the value of the slot. For + // more information, see PutSlotType. + ValueSelectionStrategy *string `locationName:"valueSelectionStrategy" type:"string" enum:"SlotValueSelectionStrategy"` + + // The version of the slot type. + Version *string `locationName:"version" min:"1" type:"string"` +} + +// String returns the string representation +func (s GetSlotTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetSlotTypeOutput) GoString() string { + return s.String() +} + +// SetChecksum sets the Checksum field's value. +func (s *GetSlotTypeOutput) SetChecksum(v string) *GetSlotTypeOutput { + s.Checksum = &v + return s +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *GetSlotTypeOutput) SetCreatedDate(v time.Time) *GetSlotTypeOutput { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetSlotTypeOutput) SetDescription(v string) *GetSlotTypeOutput { + s.Description = &v + return s +} + +// SetEnumerationValues sets the EnumerationValues field's value. +func (s *GetSlotTypeOutput) SetEnumerationValues(v []*EnumerationValue) *GetSlotTypeOutput { + s.EnumerationValues = v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *GetSlotTypeOutput) SetLastUpdatedDate(v time.Time) *GetSlotTypeOutput { + s.LastUpdatedDate = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetSlotTypeOutput) SetName(v string) *GetSlotTypeOutput { + s.Name = &v + return s +} + +// SetValueSelectionStrategy sets the ValueSelectionStrategy field's value. +func (s *GetSlotTypeOutput) SetValueSelectionStrategy(v string) *GetSlotTypeOutput { + s.ValueSelectionStrategy = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *GetSlotTypeOutput) SetVersion(v string) *GetSlotTypeOutput { + s.Version = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeVersionsRequest +type GetSlotTypeVersionsInput struct { + _ struct{} `type:"structure"` + + // The maximum number of slot type versions to return in the response. The default + // is 10. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The name of the slot type for which versions should be returned. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` + + // A pagination token for fetching the next page of slot type versions. If the + // response to this call is truncated, Amazon Lex returns a pagination token + // in the response. To fetch the next page of versions, specify the pagination + // token in the next request. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetSlotTypeVersionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetSlotTypeVersionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetSlotTypeVersionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetSlotTypeVersionsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetSlotTypeVersionsInput) SetMaxResults(v int64) *GetSlotTypeVersionsInput { + s.MaxResults = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetSlotTypeVersionsInput) SetName(v string) *GetSlotTypeVersionsInput { + s.Name = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetSlotTypeVersionsInput) SetNextToken(v string) *GetSlotTypeVersionsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeVersionsResponse +type GetSlotTypeVersionsOutput struct { + _ struct{} `type:"structure"` + + // A pagination token for fetching the next page of slot type versions. If the + // response to this call is truncated, Amazon Lex returns a pagination token + // in the response. To fetch the next page of versions, specify the pagination + // token in the next request. + NextToken *string `locationName:"nextToken" type:"string"` + + // An array of SlotTypeMetadata objects, one for each numbered version of the + // slot type plus one for the $LATEST version. + SlotTypes []*SlotTypeMetadata `locationName:"slotTypes" type:"list"` +} + +// String returns the string representation +func (s GetSlotTypeVersionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetSlotTypeVersionsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *GetSlotTypeVersionsOutput) SetNextToken(v string) *GetSlotTypeVersionsOutput { + s.NextToken = &v + return s +} + +// SetSlotTypes sets the SlotTypes field's value. +func (s *GetSlotTypeVersionsOutput) SetSlotTypes(v []*SlotTypeMetadata) *GetSlotTypeVersionsOutput { + s.SlotTypes = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypesRequest +type GetSlotTypesInput struct { + _ struct{} `type:"structure"` + + // The maximum number of slot types to return in the response. The default is + // 10. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Substring to match in slot type names. A slot type will be returned if any + // part of its name matches the substring. For example, "xyz" matches both "xyzabc" + // and "abcxyz." + NameContains *string `location:"querystring" locationName:"nameContains" min:"1" type:"string"` + + // A pagination token that fetches the next page of slot types. If the response + // to this API call is truncated, Amazon Lex returns a pagination token in the + // response. To fetch next page of slot types, specify the pagination token + // in the next request. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetSlotTypesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetSlotTypesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetSlotTypesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetSlotTypesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NameContains != nil && len(*s.NameContains) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NameContains", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetSlotTypesInput) SetMaxResults(v int64) *GetSlotTypesInput { + s.MaxResults = &v + return s +} + +// SetNameContains sets the NameContains field's value. +func (s *GetSlotTypesInput) SetNameContains(v string) *GetSlotTypesInput { + s.NameContains = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetSlotTypesInput) SetNextToken(v string) *GetSlotTypesInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypesResponse +type GetSlotTypesOutput struct { + _ struct{} `type:"structure"` + + // If the response is truncated, it includes a pagination token that you can + // specify in your next request to fetch the next page of slot types. + NextToken *string `locationName:"nextToken" type:"string"` + + // An array of objects, one for each slot type, that provides information such + // as the name of the slot type, the version, and a description. + SlotTypes []*SlotTypeMetadata `locationName:"slotTypes" type:"list"` +} + +// String returns the string representation +func (s GetSlotTypesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetSlotTypesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *GetSlotTypesOutput) SetNextToken(v string) *GetSlotTypesOutput { + s.NextToken = &v + return s +} + +// SetSlotTypes sets the SlotTypes field's value. +func (s *GetSlotTypesOutput) SetSlotTypes(v []*SlotTypeMetadata) *GetSlotTypesOutput { + s.SlotTypes = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetUtterancesViewRequest +type GetUtterancesViewInput struct { + _ struct{} `type:"structure"` + + // The name of the bot for which utterance information should be returned. + // + // BotName is a required field + BotName *string `location:"uri" locationName:"botname" min:"2" type:"string" required:"true"` + + // An array of bot versions for which utterance information should be returned. + // The limit is 5 versions per request. + // + // BotVersions is a required field + BotVersions []*string `location:"querystring" locationName:"bot_versions" min:"1" type:"list" required:"true"` + + // To return utterances that were recognized and handled, useDetected. To return + // utterances that were not recognized, use Missed. + // + // StatusType is a required field + StatusType *string `location:"querystring" locationName:"status_type" type:"string" required:"true" enum:"StatusType"` +} + +// String returns the string representation +func (s GetUtterancesViewInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetUtterancesViewInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetUtterancesViewInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetUtterancesViewInput"} + if s.BotName == nil { + invalidParams.Add(request.NewErrParamRequired("BotName")) + } + if s.BotName != nil && len(*s.BotName) < 2 { + invalidParams.Add(request.NewErrParamMinLen("BotName", 2)) + } + if s.BotVersions == nil { + invalidParams.Add(request.NewErrParamRequired("BotVersions")) + } + if s.BotVersions != nil && len(s.BotVersions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BotVersions", 1)) + } + if s.StatusType == nil { + invalidParams.Add(request.NewErrParamRequired("StatusType")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBotName sets the BotName field's value. +func (s *GetUtterancesViewInput) SetBotName(v string) *GetUtterancesViewInput { + s.BotName = &v + return s +} + +// SetBotVersions sets the BotVersions field's value. +func (s *GetUtterancesViewInput) SetBotVersions(v []*string) *GetUtterancesViewInput { + s.BotVersions = v + return s +} + +// SetStatusType sets the StatusType field's value. +func (s *GetUtterancesViewInput) SetStatusType(v string) *GetUtterancesViewInput { + s.StatusType = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetUtterancesViewResponse +type GetUtterancesViewOutput struct { + _ struct{} `type:"structure"` + + // The name of the bot for which utterance information was returned. + BotName *string `locationName:"botName" min:"2" type:"string"` + + // An array of UtteranceList objects, each containing a list of UtteranceData + // objects describing the utterances that were processed by your bot. The response + // contains a maximum of 100 UtteranceData objects for each version. + Utterances []*UtteranceList `locationName:"utterances" type:"list"` +} + +// String returns the string representation +func (s GetUtterancesViewOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetUtterancesViewOutput) GoString() string { + return s.String() +} + +// SetBotName sets the BotName field's value. +func (s *GetUtterancesViewOutput) SetBotName(v string) *GetUtterancesViewOutput { + s.BotName = &v + return s +} + +// SetUtterances sets the Utterances field's value. +func (s *GetUtterancesViewOutput) SetUtterances(v []*UtteranceList) *GetUtterancesViewOutput { + s.Utterances = v + return s +} + +// Identifies the specific version of an intent. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/Intent +type Intent struct { + _ struct{} `type:"structure"` + + // The name of the intent. + // + // IntentName is a required field + IntentName *string `locationName:"intentName" min:"1" type:"string" required:"true"` + + // The version of the intent. + // + // IntentVersion is a required field + IntentVersion *string `locationName:"intentVersion" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s Intent) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Intent) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Intent) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Intent"} + if s.IntentName == nil { + invalidParams.Add(request.NewErrParamRequired("IntentName")) + } + if s.IntentName != nil && len(*s.IntentName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IntentName", 1)) + } + if s.IntentVersion == nil { + invalidParams.Add(request.NewErrParamRequired("IntentVersion")) + } + if s.IntentVersion != nil && len(*s.IntentVersion) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IntentVersion", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIntentName sets the IntentName field's value. +func (s *Intent) SetIntentName(v string) *Intent { + s.IntentName = &v + return s +} + +// SetIntentVersion sets the IntentVersion field's value. +func (s *Intent) SetIntentVersion(v string) *Intent { + s.IntentVersion = &v + return s +} + +// Provides information about an intent. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/IntentMetadata +type IntentMetadata struct { + _ struct{} `type:"structure"` + + // The date that the intent was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the intent. + Description *string `locationName:"description" type:"string"` + + // The date that the intent was updated. When you create an intent, the creation + // date and last updated date are the same. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // The name of the intent. + Name *string `locationName:"name" min:"1" type:"string"` + + // The version of the intent. + Version *string `locationName:"version" min:"1" type:"string"` +} + +// String returns the string representation +func (s IntentMetadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s IntentMetadata) GoString() string { + return s.String() +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *IntentMetadata) SetCreatedDate(v time.Time) *IntentMetadata { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *IntentMetadata) SetDescription(v string) *IntentMetadata { + s.Description = &v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *IntentMetadata) SetLastUpdatedDate(v time.Time) *IntentMetadata { + s.LastUpdatedDate = &v + return s +} + +// SetName sets the Name field's value. +func (s *IntentMetadata) SetName(v string) *IntentMetadata { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *IntentMetadata) SetVersion(v string) *IntentMetadata { + s.Version = &v + return s +} + +// The message object that provides the message text and its type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/Message +type Message struct { + _ struct{} `type:"structure"` + + // The text of the message. + // + // Content is a required field + Content *string `locationName:"content" min:"1" type:"string" required:"true"` + + // The content type of the message string. + // + // ContentType is a required field + ContentType *string `locationName:"contentType" type:"string" required:"true" enum:"ContentType"` +} + +// String returns the string representation +func (s Message) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Message) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Message) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Message"} + if s.Content == nil { + invalidParams.Add(request.NewErrParamRequired("Content")) + } + if s.Content != nil && len(*s.Content) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Content", 1)) + } + if s.ContentType == nil { + invalidParams.Add(request.NewErrParamRequired("ContentType")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContent sets the Content field's value. +func (s *Message) SetContent(v string) *Message { + s.Content = &v + return s +} + +// SetContentType sets the ContentType field's value. +func (s *Message) SetContentType(v string) *Message { + s.ContentType = &v + return s +} + +// Obtains information from the user. To define a prompt, provide one or more +// messages and specify the number of attempts to get information from the user. +// If you provide more than one message, Amazon Lex chooses one of the messages +// to use to prompt the user. For more information, see how-it-works. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/Prompt +type Prompt struct { + _ struct{} `type:"structure"` + + // The number of times to prompt the user for information. + // + // MaxAttempts is a required field + MaxAttempts *int64 `locationName:"maxAttempts" min:"1" type:"integer" required:"true"` + + // An array of objects, each of which provides a message string and its type. + // You can specify the message string in plain text or in Speech Synthesis Markup + // Language (SSML). + // + // Messages is a required field + Messages []*Message `locationName:"messages" min:"1" type:"list" required:"true"` + + // A response card. Amazon Lex uses this prompt at runtime, in the PostText + // API response. It substitutes session attributes and slot values for placeholders + // in the response card. For more information, see ex-resp-card. + ResponseCard *string `locationName:"responseCard" min:"1" type:"string"` +} + +// String returns the string representation +func (s Prompt) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Prompt) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Prompt) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Prompt"} + if s.MaxAttempts == nil { + invalidParams.Add(request.NewErrParamRequired("MaxAttempts")) + } + if s.MaxAttempts != nil && *s.MaxAttempts < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxAttempts", 1)) + } + if s.Messages == nil { + invalidParams.Add(request.NewErrParamRequired("Messages")) + } + if s.Messages != nil && len(s.Messages) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Messages", 1)) + } + if s.ResponseCard != nil && len(*s.ResponseCard) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResponseCard", 1)) + } + if s.Messages != nil { + for i, v := range s.Messages { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Messages", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxAttempts sets the MaxAttempts field's value. +func (s *Prompt) SetMaxAttempts(v int64) *Prompt { + s.MaxAttempts = &v + return s +} + +// SetMessages sets the Messages field's value. +func (s *Prompt) SetMessages(v []*Message) *Prompt { + s.Messages = v + return s +} + +// SetResponseCard sets the ResponseCard field's value. +func (s *Prompt) SetResponseCard(v string) *Prompt { + s.ResponseCard = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotAliasRequest +type PutBotAliasInput struct { + _ struct{} `type:"structure"` + + // The name of the bot. + // + // BotName is a required field + BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"` + + // The version of the bot. + // + // BotVersion is a required field + BotVersion *string `locationName:"botVersion" min:"1" type:"string" required:"true"` + + // Identifies a specific revision of the $LATEST version. + // + // When you create a new bot alias, leave the checksum field blank. If you specify + // a checksum you get a BadRequestException exception. + // + // When you want to update a bot alias, set the checksum field to the checksum + // of the most recent revision of the $LATEST version. If you don't specify + // the checksum field, or if the checksum does not match the $LATEST version, + // you get a PreconditionFailedException exception. + Checksum *string `locationName:"checksum" type:"string"` + + // A description of the alias. + Description *string `locationName:"description" type:"string"` + + // The name of the alias. The name is not case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s PutBotAliasInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutBotAliasInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutBotAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutBotAliasInput"} + if s.BotName == nil { + invalidParams.Add(request.NewErrParamRequired("BotName")) + } + if s.BotName != nil && len(*s.BotName) < 2 { + invalidParams.Add(request.NewErrParamMinLen("BotName", 2)) + } + if s.BotVersion == nil { + invalidParams.Add(request.NewErrParamRequired("BotVersion")) + } + if s.BotVersion != nil && len(*s.BotVersion) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BotVersion", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBotName sets the BotName field's value. +func (s *PutBotAliasInput) SetBotName(v string) *PutBotAliasInput { + s.BotName = &v + return s +} + +// SetBotVersion sets the BotVersion field's value. +func (s *PutBotAliasInput) SetBotVersion(v string) *PutBotAliasInput { + s.BotVersion = &v + return s +} + +// SetChecksum sets the Checksum field's value. +func (s *PutBotAliasInput) SetChecksum(v string) *PutBotAliasInput { + s.Checksum = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *PutBotAliasInput) SetDescription(v string) *PutBotAliasInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *PutBotAliasInput) SetName(v string) *PutBotAliasInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotAliasResponse +type PutBotAliasOutput struct { + _ struct{} `type:"structure"` + + // The name of the bot that the alias points to. + BotName *string `locationName:"botName" min:"2" type:"string"` + + // The version of the bot that the alias points to. + BotVersion *string `locationName:"botVersion" min:"1" type:"string"` + + // The checksum for the current version of the alias. + Checksum *string `locationName:"checksum" type:"string"` + + // The date that the bot alias was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the alias. + Description *string `locationName:"description" type:"string"` + + // The date that the bot alias was updated. When you create a resource, the + // creation date and the last updated date are the same. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // The name of the alias. + Name *string `locationName:"name" min:"1" type:"string"` +} + +// String returns the string representation +func (s PutBotAliasOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutBotAliasOutput) GoString() string { + return s.String() +} + +// SetBotName sets the BotName field's value. +func (s *PutBotAliasOutput) SetBotName(v string) *PutBotAliasOutput { + s.BotName = &v + return s +} + +// SetBotVersion sets the BotVersion field's value. +func (s *PutBotAliasOutput) SetBotVersion(v string) *PutBotAliasOutput { + s.BotVersion = &v + return s +} + +// SetChecksum sets the Checksum field's value. +func (s *PutBotAliasOutput) SetChecksum(v string) *PutBotAliasOutput { + s.Checksum = &v + return s +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *PutBotAliasOutput) SetCreatedDate(v time.Time) *PutBotAliasOutput { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *PutBotAliasOutput) SetDescription(v string) *PutBotAliasOutput { + s.Description = &v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *PutBotAliasOutput) SetLastUpdatedDate(v time.Time) *PutBotAliasOutput { + s.LastUpdatedDate = &v + return s +} + +// SetName sets the Name field's value. +func (s *PutBotAliasOutput) SetName(v string) *PutBotAliasOutput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotRequest +type PutBotInput struct { + _ struct{} `type:"structure"` + + // When Amazon Lex can't understand the user's input in context, it tries to + // elicit the information a few times. After that, Amazon Lex sends the message + // defined in abortStatement to the user, and then aborts the conversation. + // To set the number of retries, use the valueElicitationPrompt field for the + // slot type. + // + // For example, in a pizza ordering bot, Amazon Lex might ask a user "What type + // of crust would you like?" If the user's response is not one of the expected + // responses (for example, "thin crust, "deep dish," etc.), Amazon Lex tries + // to elicit a correct response a few more times. + // + // For example, in a pizza ordering application, OrderPizza might be one of + // the intents. This intent might require the CrustType slot. You specify the + // valueElicitationPrompt field when you create the CrustType slot. + AbortStatement *Statement `locationName:"abortStatement" type:"structure"` + + // Identifies a specific revision of the $LATEST version. + // + // When you create a new bot, leave the checksum field blank. If you specify + // a checksum you get a BadRequestException exception. + // + // When you want to update a bot, set the checksum field to the checksum of + // the most recent revision of the $LATEST version. If you don't specify the + // checksum field, or if the checksum does not match the $LATEST version, you + // get a PreconditionFailedException exception. + Checksum *string `locationName:"checksum" type:"string"` + + // For each Amazon Lex bot created with the Amazon Lex Model Building Service, + // you must specify whether your use of Amazon Lex is related to a website, + // program, or other application that is directed or targeted, in whole or in + // part, to children under age 13 and subject to the Children's Online Privacy + // Protection Act (COPPA) by specifying true or false in the childDirected field. + // By specifying true in the childDirected field, you confirm that your use + // of Amazon Lex is related to a website, program, or other application that + // is directed or targeted, in whole or in part, to children under age 13 and + // subject to COPPA. By specifying false in the childDirected field, you confirm + // that your use of Amazon Lex is not related to a website, program, or other + // application that is directed or targeted, in whole or in part, to children + // under age 13 and subject to COPPA. You may not specify a default value for + // the childDirected field that does not accurately reflect whether your use + // of Amazon Lex is related to a website, program, or other application that + // is directed or targeted, in whole or in part, to children under age 13 and + // subject to COPPA. + // + // If your use of Amazon Lex relates to a website, program, or other application + // that is directed in whole or in part, to children under age 13, you must + // obtain any required verifiable parental consent under COPPA. For information + // regarding the use of Amazon Lex in connection with websites, programs, or + // other applications that are directed or targeted, in whole or in part, to + // children under age 13, see the Amazon Lex FAQ. (https://aws.amazon.com/lex/faqs#data-security) + // + // ChildDirected is a required field + ChildDirected *bool `locationName:"childDirected" type:"boolean" required:"true"` + + // When Amazon Lex doesn't understand the user's intent, it uses this message + // to get clarification. To specify how many times Amazon Lex should repeate + // the clarification prompt, use the maxAttempts field. If Amazon Lex still + // doesn't understand, it sends the message in the abortStatement field. + // + // When you create a clarification prompt, make sure that it suggests the correct + // response from the user. for example, for a bot that orders pizza and drinks, + // you might create this clarification prompt: "What would you like to do? You + // can say 'Order a pizza' or 'Order a drink.'" + ClarificationPrompt *Prompt `locationName:"clarificationPrompt" type:"structure"` + + // A description of the bot. + Description *string `locationName:"description" type:"string"` + + // The maximum time in seconds that Amazon Lex retains the data gathered in + // a conversation. + // + // A user interaction session remains active for the amount of time specified. + // If no conversation occurs during this time, the session expires and Amazon + // Lex deletes any data provided before the timeout. + // + // For example, suppose that a user chooses the OrderPizza intent, but gets + // sidetracked halfway through placing an order. If the user doesn't complete + // the order within the specified time, Amazon Lex discards the slot information + // that it gathered, and the user must start over. + // + // If you don't include the idleSessionTTLInSeconds element in a PutBot operation + // request, Amazon Lex uses the default value. This is also true if the request + // replaces an existing bot. + // + // The default is 300 seconds (5 minutes). + IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"` + + // An array of Intent objects. Each intent represents a command that a user + // can express. For example, a pizza ordering bot might support an OrderPizza + // intent. For more information, see how-it-works. + Intents []*Intent `locationName:"intents" type:"list"` + + // Specifies the target locale for the bot. Any intent used in the bot must + // be compatible with the locale of the bot. + // + // The default is en-US. + // + // Locale is a required field + Locale *string `locationName:"locale" type:"string" required:"true" enum:"Locale"` + + // The name of the bot. The name is not case sensitive. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"2" type:"string" required:"true"` + + // If you set the processBehavior element to Build, Amazon Lex builds the bot + // so that it can be run. If you set the element to SaveAmazon Lex saves the + // bot, but doesn't build it. + // + // If you don't specify this value, the default value is Save. + ProcessBehavior *string `locationName:"processBehavior" type:"string" enum:"ProcessBehavior"` + + // The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions + // with the user. The locale configured for the voice must match the locale + // of the bot. For more information, see Available Voices (http://docs.aws.amazon.com/polly/latest/dg/voicelist.html) + // in the Amazon Polly Developer Guide. + VoiceId *string `locationName:"voiceId" type:"string"` +} + +// String returns the string representation +func (s PutBotInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutBotInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutBotInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutBotInput"} + if s.ChildDirected == nil { + invalidParams.Add(request.NewErrParamRequired("ChildDirected")) + } + if s.IdleSessionTTLInSeconds != nil && *s.IdleSessionTTLInSeconds < 60 { + invalidParams.Add(request.NewErrParamMinValue("IdleSessionTTLInSeconds", 60)) + } + if s.Locale == nil { + invalidParams.Add(request.NewErrParamRequired("Locale")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 2 { + invalidParams.Add(request.NewErrParamMinLen("Name", 2)) + } + if s.AbortStatement != nil { + if err := s.AbortStatement.Validate(); err != nil { + invalidParams.AddNested("AbortStatement", err.(request.ErrInvalidParams)) + } + } + if s.ClarificationPrompt != nil { + if err := s.ClarificationPrompt.Validate(); err != nil { + invalidParams.AddNested("ClarificationPrompt", err.(request.ErrInvalidParams)) + } + } + if s.Intents != nil { + for i, v := range s.Intents { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Intents", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAbortStatement sets the AbortStatement field's value. +func (s *PutBotInput) SetAbortStatement(v *Statement) *PutBotInput { + s.AbortStatement = v + return s +} + +// SetChecksum sets the Checksum field's value. +func (s *PutBotInput) SetChecksum(v string) *PutBotInput { + s.Checksum = &v + return s +} + +// SetChildDirected sets the ChildDirected field's value. +func (s *PutBotInput) SetChildDirected(v bool) *PutBotInput { + s.ChildDirected = &v + return s +} + +// SetClarificationPrompt sets the ClarificationPrompt field's value. +func (s *PutBotInput) SetClarificationPrompt(v *Prompt) *PutBotInput { + s.ClarificationPrompt = v + return s +} + +// SetDescription sets the Description field's value. +func (s *PutBotInput) SetDescription(v string) *PutBotInput { + s.Description = &v + return s +} + +// SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value. +func (s *PutBotInput) SetIdleSessionTTLInSeconds(v int64) *PutBotInput { + s.IdleSessionTTLInSeconds = &v + return s +} + +// SetIntents sets the Intents field's value. +func (s *PutBotInput) SetIntents(v []*Intent) *PutBotInput { + s.Intents = v + return s +} + +// SetLocale sets the Locale field's value. +func (s *PutBotInput) SetLocale(v string) *PutBotInput { + s.Locale = &v + return s +} + +// SetName sets the Name field's value. +func (s *PutBotInput) SetName(v string) *PutBotInput { + s.Name = &v + return s +} + +// SetProcessBehavior sets the ProcessBehavior field's value. +func (s *PutBotInput) SetProcessBehavior(v string) *PutBotInput { + s.ProcessBehavior = &v + return s +} + +// SetVoiceId sets the VoiceId field's value. +func (s *PutBotInput) SetVoiceId(v string) *PutBotInput { + s.VoiceId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotResponse +type PutBotOutput struct { + _ struct{} `type:"structure"` + + // The message that Amazon Lex uses to abort a conversation. For more information, + // see PutBot. + AbortStatement *Statement `locationName:"abortStatement" type:"structure"` + + // Checksum of the bot that you created. + Checksum *string `locationName:"checksum" type:"string"` + + // For each Amazon Lex bot created with the Amazon Lex Model Building Service, + // you must specify whether your use of Amazon Lex is related to a website, + // program, or other application that is directed or targeted, in whole or in + // part, to children under age 13 and subject to the Children's Online Privacy + // Protection Act (COPPA) by specifying true or false in the childDirected field. + // By specifying true in the childDirected field, you confirm that your use + // of Amazon Lex is related to a website, program, or other application that + // is directed or targeted, in whole or in part, to children under age 13 and + // subject to COPPA. By specifying false in the childDirected field, you confirm + // that your use of Amazon Lex is not related to a website, program, or other + // application that is directed or targeted, in whole or in part, to children + // under age 13 and subject to COPPA. You may not specify a default value for + // the childDirected field that does not accurately reflect whether your use + // of Amazon Lex is related to a website, program, or other application that + // is directed or targeted, in whole or in part, to children under age 13 and + // subject to COPPA. + // + // If your use of Amazon Lex relates to a website, program, or other application + // that is directed in whole or in part, to children under age 13, you must + // obtain any required verifiable parental consent under COPPA. For information + // regarding the use of Amazon Lex in connection with websites, programs, or + // other applications that are directed or targeted, in whole or in part, to + // children under age 13, see the Amazon Lex FAQ. (https://aws.amazon.com/lex/faqs#data-security) + ChildDirected *bool `locationName:"childDirected" type:"boolean"` + + // The prompts that Amazon Lex uses when it doesn't understand the user's intent. + // For more information, see PutBot. + ClarificationPrompt *Prompt `locationName:"clarificationPrompt" type:"structure"` + + // The date that the bot was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the bot. + Description *string `locationName:"description" type:"string"` + + // If status is FAILED, Amazon Lex provides the reason that it failed to build + // the bot. + FailureReason *string `locationName:"failureReason" type:"string"` + + // The maximum length of time that Amazon Lex retains the data gathered in a + // conversation. For more information, see PutBot. + IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"` + + // An array of Intent objects. For more information, see PutBot. + Intents []*Intent `locationName:"intents" type:"list"` + + // The date that the bot was updated. When you create a resource, the creation + // date and last updated date are the same. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // The target locale for the bot. + Locale *string `locationName:"locale" type:"string" enum:"Locale"` + + // The name of the bot. + Name *string `locationName:"name" min:"2" type:"string"` + + // When you send a request to create a bot with processBehavior set to BUILD, + // Amazon Lex sets the status response element to BUILDING. After Amazon Lex + // builds the bot, it sets status to READY. If Amazon Lex can't build the bot, + // Amazon Lex sets status to FAILED. Amazon Lex returns the reason for the failure + // in the failureReason response element. + // + // When you set processBehaviorto SAVE, Amazon Lex sets the status code to NOT + // BUILT. + Status *string `locationName:"status" type:"string" enum:"Status"` + + // The version of the bot. For a new bot, the version is always $LATEST. + Version *string `locationName:"version" min:"1" type:"string"` + + // The Amazon Polly voice ID that Amazon Lex uses for voice interaction with + // the user. For more information, see PutBot. + VoiceId *string `locationName:"voiceId" type:"string"` +} + +// String returns the string representation +func (s PutBotOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutBotOutput) GoString() string { + return s.String() +} + +// SetAbortStatement sets the AbortStatement field's value. +func (s *PutBotOutput) SetAbortStatement(v *Statement) *PutBotOutput { + s.AbortStatement = v + return s +} + +// SetChecksum sets the Checksum field's value. +func (s *PutBotOutput) SetChecksum(v string) *PutBotOutput { + s.Checksum = &v + return s +} + +// SetChildDirected sets the ChildDirected field's value. +func (s *PutBotOutput) SetChildDirected(v bool) *PutBotOutput { + s.ChildDirected = &v + return s +} + +// SetClarificationPrompt sets the ClarificationPrompt field's value. +func (s *PutBotOutput) SetClarificationPrompt(v *Prompt) *PutBotOutput { + s.ClarificationPrompt = v + return s +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *PutBotOutput) SetCreatedDate(v time.Time) *PutBotOutput { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *PutBotOutput) SetDescription(v string) *PutBotOutput { + s.Description = &v + return s +} + +// SetFailureReason sets the FailureReason field's value. +func (s *PutBotOutput) SetFailureReason(v string) *PutBotOutput { + s.FailureReason = &v + return s +} + +// SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value. +func (s *PutBotOutput) SetIdleSessionTTLInSeconds(v int64) *PutBotOutput { + s.IdleSessionTTLInSeconds = &v + return s +} + +// SetIntents sets the Intents field's value. +func (s *PutBotOutput) SetIntents(v []*Intent) *PutBotOutput { + s.Intents = v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *PutBotOutput) SetLastUpdatedDate(v time.Time) *PutBotOutput { + s.LastUpdatedDate = &v + return s +} + +// SetLocale sets the Locale field's value. +func (s *PutBotOutput) SetLocale(v string) *PutBotOutput { + s.Locale = &v + return s +} + +// SetName sets the Name field's value. +func (s *PutBotOutput) SetName(v string) *PutBotOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *PutBotOutput) SetStatus(v string) *PutBotOutput { + s.Status = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *PutBotOutput) SetVersion(v string) *PutBotOutput { + s.Version = &v + return s +} + +// SetVoiceId sets the VoiceId field's value. +func (s *PutBotOutput) SetVoiceId(v string) *PutBotOutput { + s.VoiceId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntentRequest +type PutIntentInput struct { + _ struct{} `type:"structure"` + + // Identifies a specific revision of the $LATEST version. + // + // When you create a new intent, leave the checksum field blank. If you specify + // a checksum you get a BadRequestException exception. + // + // When you want to update a intent, set the checksum field to the checksum + // of the most recent revision of the $LATEST version. If you don't specify + // the checksum field, or if the checksum does not match the $LATEST version, + // you get a PreconditionFailedException exception. + Checksum *string `locationName:"checksum" type:"string"` + + // The statement that you want Amazon Lex to convey to the user after the intent + // is successfully fulfilled by the Lambda function. + // + // This element is relevant only if you provide a Lambda function in the fulfillmentActivity. + // If you return the intent to the client application, you can't specify this + // element. + // + // The followUpPrompt and conclusionStatement are mutually exclusive. You can + // specify only one. + ConclusionStatement *Statement `locationName:"conclusionStatement" type:"structure"` + + // Prompts the user to confirm the intent. This question should have a yes or + // no answer. + // + // Amazon Lex uses this prompt to ensure that the user acknowledges that the + // intent is ready for fulfillment. For example, with the OrderPizza intent, + // you might want to confirm that the order is correct before placing it. For + // other intents, such as intents that simply respond to user questions, you + // might not need to ask the user for confirmation before providing the information. + // + // You you must provide both the rejectionStatement and the confirmationPrompt, + // or neither. + ConfirmationPrompt *Prompt `locationName:"confirmationPrompt" type:"structure"` + + // A description of the intent. + Description *string `locationName:"description" type:"string"` + + // Specifies a Lambda function to invoke for each user input. You can invoke + // this Lambda function to personalize user interaction. + // + // For example, suppose your bot determines that the user is John. Your Lambda + // function might retrieve John's information from a backend database and prepopulate + // some of the values. For example, if you find that John is gluten intolerant, + // you might set the corresponding intent slot, GlutenIntolerant, to true. You + // might find John's phone number and set the corresponding session attribute. + DialogCodeHook *CodeHook `locationName:"dialogCodeHook" type:"structure"` + + // Amazon Lex uses this prompt to solicit additional activity after fulfilling + // an intent. For example, after the OrderPizza intent is fulfilled, you might + // prompt the user to order a drink. + // + // The action that Amazon Lex takes depends on the user's response, as follows: + // + // * If the user says "Yes" it responds with the clarification prompt that + // is configured for the bot. + // + // * if the user says "Yes" and continues with an utterance that triggers + // an intent it starts a conversation for the intent. + // + // * If the user says "No" it responds with the rejection statement configured + // for the the follow-up prompt. + // + // * If it doesn't recognize the utterance it repeats the follow-up prompt + // again. + // + // The followUpPrompt field and the conclusionStatement field are mutually exclusive. + // You can specify only one. + FollowUpPrompt *FollowUpPrompt `locationName:"followUpPrompt" type:"structure"` + + // Required. Describes how the intent is fulfilled. For example, after a user + // provides all of the information for a pizza order, fulfillmentActivity defines + // how the bot places an order with a local pizza store. + // + // You might configure Amazon Lex to return all of the intent information to + // the client application, or direct it to invoke a Lambda function that can + // process the intent (for example, place an order with a pizzeria). + FulfillmentActivity *FulfillmentActivity `locationName:"fulfillmentActivity" type:"structure"` + + // The name of the intent. The name is not case sensitive. + // + // The name can't match a built-in intent name, or a built-in intent name with + // "AMAZON." removed. For example, because there is a built-in intent called + // AMAZON.HelpIntent, you can't create a custom intent called HelpIntent. + // + // For a list of built-in intents, see Standard Built-in Intents (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents) + // in the Alexa Skills Kit. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` + + // A unique identifier for the built-in intent to base this intent on. To find + // the signature for an intent, see Standard Built-in Intents (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents) + // in the Alexa Skills Kit. + ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"` + + // When the user answers "no" to the question defined in confirmationPrompt, + // Amazon Lex responds with this statement to acknowledge that the intent was + // canceled. + // + // You must provide both the rejectionStatement and the confirmationPrompt, + // or neither. + RejectionStatement *Statement `locationName:"rejectionStatement" type:"structure"` + + // An array of utterances (strings) that a user might say to signal the intent. + // For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". + // + // In each utterance, a slot name is enclosed in curly braces. + SampleUtterances []*string `locationName:"sampleUtterances" type:"list"` + + // An array of intent slots. At runtime, Amazon Lex elicits required slot values + // from the user using prompts defined in the slots. For more information, see + // how-it-works. + Slots []*Slot `locationName:"slots" type:"list"` +} + +// String returns the string representation +func (s PutIntentInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutIntentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutIntentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutIntentInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.ConclusionStatement != nil { + if err := s.ConclusionStatement.Validate(); err != nil { + invalidParams.AddNested("ConclusionStatement", err.(request.ErrInvalidParams)) + } + } + if s.ConfirmationPrompt != nil { + if err := s.ConfirmationPrompt.Validate(); err != nil { + invalidParams.AddNested("ConfirmationPrompt", err.(request.ErrInvalidParams)) + } + } + if s.DialogCodeHook != nil { + if err := s.DialogCodeHook.Validate(); err != nil { + invalidParams.AddNested("DialogCodeHook", err.(request.ErrInvalidParams)) + } + } + if s.FollowUpPrompt != nil { + if err := s.FollowUpPrompt.Validate(); err != nil { + invalidParams.AddNested("FollowUpPrompt", err.(request.ErrInvalidParams)) + } + } + if s.FulfillmentActivity != nil { + if err := s.FulfillmentActivity.Validate(); err != nil { + invalidParams.AddNested("FulfillmentActivity", err.(request.ErrInvalidParams)) + } + } + if s.RejectionStatement != nil { + if err := s.RejectionStatement.Validate(); err != nil { + invalidParams.AddNested("RejectionStatement", err.(request.ErrInvalidParams)) + } + } + if s.Slots != nil { + for i, v := range s.Slots { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Slots", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChecksum sets the Checksum field's value. +func (s *PutIntentInput) SetChecksum(v string) *PutIntentInput { + s.Checksum = &v + return s +} + +// SetConclusionStatement sets the ConclusionStatement field's value. +func (s *PutIntentInput) SetConclusionStatement(v *Statement) *PutIntentInput { + s.ConclusionStatement = v + return s +} + +// SetConfirmationPrompt sets the ConfirmationPrompt field's value. +func (s *PutIntentInput) SetConfirmationPrompt(v *Prompt) *PutIntentInput { + s.ConfirmationPrompt = v + return s +} + +// SetDescription sets the Description field's value. +func (s *PutIntentInput) SetDescription(v string) *PutIntentInput { + s.Description = &v + return s +} + +// SetDialogCodeHook sets the DialogCodeHook field's value. +func (s *PutIntentInput) SetDialogCodeHook(v *CodeHook) *PutIntentInput { + s.DialogCodeHook = v + return s +} + +// SetFollowUpPrompt sets the FollowUpPrompt field's value. +func (s *PutIntentInput) SetFollowUpPrompt(v *FollowUpPrompt) *PutIntentInput { + s.FollowUpPrompt = v + return s +} + +// SetFulfillmentActivity sets the FulfillmentActivity field's value. +func (s *PutIntentInput) SetFulfillmentActivity(v *FulfillmentActivity) *PutIntentInput { + s.FulfillmentActivity = v + return s +} + +// SetName sets the Name field's value. +func (s *PutIntentInput) SetName(v string) *PutIntentInput { + s.Name = &v + return s +} + +// SetParentIntentSignature sets the ParentIntentSignature field's value. +func (s *PutIntentInput) SetParentIntentSignature(v string) *PutIntentInput { + s.ParentIntentSignature = &v + return s +} + +// SetRejectionStatement sets the RejectionStatement field's value. +func (s *PutIntentInput) SetRejectionStatement(v *Statement) *PutIntentInput { + s.RejectionStatement = v + return s +} + +// SetSampleUtterances sets the SampleUtterances field's value. +func (s *PutIntentInput) SetSampleUtterances(v []*string) *PutIntentInput { + s.SampleUtterances = v + return s +} + +// SetSlots sets the Slots field's value. +func (s *PutIntentInput) SetSlots(v []*Slot) *PutIntentInput { + s.Slots = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntentResponse +type PutIntentOutput struct { + _ struct{} `type:"structure"` + + // Checksum of the $LATESTversion of the intent created or updated. + Checksum *string `locationName:"checksum" type:"string"` + + // After the Lambda function specified in thefulfillmentActivityintent fulfills + // the intent, Amazon Lex conveys this statement to the user. + ConclusionStatement *Statement `locationName:"conclusionStatement" type:"structure"` + + // If defined in the intent, Amazon Lex prompts the user to confirm the intent + // before fulfilling it. + ConfirmationPrompt *Prompt `locationName:"confirmationPrompt" type:"structure"` + + // The date that the intent was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the intent. + Description *string `locationName:"description" type:"string"` + + // If defined in the intent, Amazon Lex invokes this Lambda function for each + // user input. + DialogCodeHook *CodeHook `locationName:"dialogCodeHook" type:"structure"` + + // If defined in the intent, Amazon Lex uses this prompt to solicit additional + // user activity after the intent is fulfilled. + FollowUpPrompt *FollowUpPrompt `locationName:"followUpPrompt" type:"structure"` + + // If defined in the intent, Amazon Lex invokes this Lambda function to fulfill + // the intent after the user provides all of the information required by the + // intent. + FulfillmentActivity *FulfillmentActivity `locationName:"fulfillmentActivity" type:"structure"` + + // The date that the intent was updated. When you create a resource, the creation + // date and last update dates are the same. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // The name of the intent. + Name *string `locationName:"name" min:"1" type:"string"` + + // A unique identifier for the built-in intent that this intent is based on. + ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"` + + // If the user answers "no" to the question defined in confirmationPrompt Amazon + // Lex responds with this statement to acknowledge that the intent was canceled. + RejectionStatement *Statement `locationName:"rejectionStatement" type:"structure"` + + // An array of sample utterances that are configured for the intent. + SampleUtterances []*string `locationName:"sampleUtterances" type:"list"` + + // An array of intent slots that are configured for the intent. + Slots []*Slot `locationName:"slots" type:"list"` + + // The version of the intent. For a new intent, the version is always $LATEST. + Version *string `locationName:"version" min:"1" type:"string"` +} + +// String returns the string representation +func (s PutIntentOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutIntentOutput) GoString() string { + return s.String() +} + +// SetChecksum sets the Checksum field's value. +func (s *PutIntentOutput) SetChecksum(v string) *PutIntentOutput { + s.Checksum = &v + return s +} + +// SetConclusionStatement sets the ConclusionStatement field's value. +func (s *PutIntentOutput) SetConclusionStatement(v *Statement) *PutIntentOutput { + s.ConclusionStatement = v + return s +} + +// SetConfirmationPrompt sets the ConfirmationPrompt field's value. +func (s *PutIntentOutput) SetConfirmationPrompt(v *Prompt) *PutIntentOutput { + s.ConfirmationPrompt = v + return s +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *PutIntentOutput) SetCreatedDate(v time.Time) *PutIntentOutput { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *PutIntentOutput) SetDescription(v string) *PutIntentOutput { + s.Description = &v + return s +} + +// SetDialogCodeHook sets the DialogCodeHook field's value. +func (s *PutIntentOutput) SetDialogCodeHook(v *CodeHook) *PutIntentOutput { + s.DialogCodeHook = v + return s +} + +// SetFollowUpPrompt sets the FollowUpPrompt field's value. +func (s *PutIntentOutput) SetFollowUpPrompt(v *FollowUpPrompt) *PutIntentOutput { + s.FollowUpPrompt = v + return s +} + +// SetFulfillmentActivity sets the FulfillmentActivity field's value. +func (s *PutIntentOutput) SetFulfillmentActivity(v *FulfillmentActivity) *PutIntentOutput { + s.FulfillmentActivity = v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *PutIntentOutput) SetLastUpdatedDate(v time.Time) *PutIntentOutput { + s.LastUpdatedDate = &v + return s +} + +// SetName sets the Name field's value. +func (s *PutIntentOutput) SetName(v string) *PutIntentOutput { + s.Name = &v + return s +} + +// SetParentIntentSignature sets the ParentIntentSignature field's value. +func (s *PutIntentOutput) SetParentIntentSignature(v string) *PutIntentOutput { + s.ParentIntentSignature = &v + return s +} + +// SetRejectionStatement sets the RejectionStatement field's value. +func (s *PutIntentOutput) SetRejectionStatement(v *Statement) *PutIntentOutput { + s.RejectionStatement = v + return s +} + +// SetSampleUtterances sets the SampleUtterances field's value. +func (s *PutIntentOutput) SetSampleUtterances(v []*string) *PutIntentOutput { + s.SampleUtterances = v + return s +} + +// SetSlots sets the Slots field's value. +func (s *PutIntentOutput) SetSlots(v []*Slot) *PutIntentOutput { + s.Slots = v + return s +} + +// SetVersion sets the Version field's value. +func (s *PutIntentOutput) SetVersion(v string) *PutIntentOutput { + s.Version = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotTypeRequest +type PutSlotTypeInput struct { + _ struct{} `type:"structure"` + + // Identifies a specific revision of the $LATEST version. + // + // When you create a new slot type, leave the checksum field blank. If you specify + // a checksum you get a BadRequestException exception. + // + // When you want to update a slot type, set the checksum field to the checksum + // of the most recent revision of the $LATEST version. If you don't specify + // the checksum field, or if the checksum does not match the $LATEST version, + // you get a PreconditionFailedException exception. + Checksum *string `locationName:"checksum" type:"string"` + + // A description of the slot type. + Description *string `locationName:"description" type:"string"` + + // A list of EnumerationValue objects that defines the values that the slot + // type can take. Each value can have a list of synonyms, which are additional + // values that help train the machine learning model about the values that it + // resolves for a slot. + // + // When Amazon Lex resolves a slot value, it generates a resolution list that + // contains up to five possible values for the slot. If you are using a Lambda + // function, this resolution list is passed to the function. If you are not + // using a Lambda function you can choose to return the value that the user + // entered or the first value in the resolution list as the slot value. The + // valueSelectionStrategy field indicates the option to use. + EnumerationValues []*EnumerationValue `locationName:"enumerationValues" min:"1" type:"list"` + + // The name of the slot type. The name is not case sensitive. + // + // The name can't match a built-in slot type name, or a built-in slot type name + // with "AMAZON." removed. For example, because there is a built-in slot type + // called AMAZON.DATE, you can't create a custom slot type called DATE. + // + // For a list of built-in slot types, see Slot Type Reference (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-reference) + // in the Alexa Skills Kit. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` + + // Determines the slot resolution strategy that Amazon Lex uses to return slot + // type values. The field can be set to one of the following values: + // + // * ORIGINAL_VALUE - Returns the value entered by the user, if the user + // value is similar to the slot value. + // + // * TOP_RESOLUTION - If there is a resolution list for the slot, return + // the first value in the resolution list as the slot type value. If there + // is no resolution list, null is returned. + // + // If you don't specify the valueSelectionStrategy, the default is ORIGINAL_VALUE. + ValueSelectionStrategy *string `locationName:"valueSelectionStrategy" type:"string" enum:"SlotValueSelectionStrategy"` +} + +// String returns the string representation +func (s PutSlotTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutSlotTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutSlotTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutSlotTypeInput"} + if s.EnumerationValues != nil && len(s.EnumerationValues) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnumerationValues", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.EnumerationValues != nil { + for i, v := range s.EnumerationValues { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "EnumerationValues", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChecksum sets the Checksum field's value. +func (s *PutSlotTypeInput) SetChecksum(v string) *PutSlotTypeInput { + s.Checksum = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *PutSlotTypeInput) SetDescription(v string) *PutSlotTypeInput { + s.Description = &v + return s +} + +// SetEnumerationValues sets the EnumerationValues field's value. +func (s *PutSlotTypeInput) SetEnumerationValues(v []*EnumerationValue) *PutSlotTypeInput { + s.EnumerationValues = v + return s +} + +// SetName sets the Name field's value. +func (s *PutSlotTypeInput) SetName(v string) *PutSlotTypeInput { + s.Name = &v + return s +} + +// SetValueSelectionStrategy sets the ValueSelectionStrategy field's value. +func (s *PutSlotTypeInput) SetValueSelectionStrategy(v string) *PutSlotTypeInput { + s.ValueSelectionStrategy = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotTypeResponse +type PutSlotTypeOutput struct { + _ struct{} `type:"structure"` + + // Checksum of the $LATEST version of the slot type. + Checksum *string `locationName:"checksum" type:"string"` + + // The date that the slot type was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the slot type. + Description *string `locationName:"description" type:"string"` + + // A list of EnumerationValue objects that defines the values that the slot + // type can take. + EnumerationValues []*EnumerationValue `locationName:"enumerationValues" min:"1" type:"list"` + + // The date that the slot type was updated. When you create a slot type, the + // creation date and last update date are the same. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // The name of the slot type. + Name *string `locationName:"name" min:"1" type:"string"` + + // The slot resolution strategy that Amazon Lex uses to determine the value + // of the slot. For more information, see PutSlotType. + ValueSelectionStrategy *string `locationName:"valueSelectionStrategy" type:"string" enum:"SlotValueSelectionStrategy"` + + // The version of the slot type. For a new slot type, the version is always + // $LATEST. + Version *string `locationName:"version" min:"1" type:"string"` +} + +// String returns the string representation +func (s PutSlotTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutSlotTypeOutput) GoString() string { + return s.String() +} + +// SetChecksum sets the Checksum field's value. +func (s *PutSlotTypeOutput) SetChecksum(v string) *PutSlotTypeOutput { + s.Checksum = &v + return s +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *PutSlotTypeOutput) SetCreatedDate(v time.Time) *PutSlotTypeOutput { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *PutSlotTypeOutput) SetDescription(v string) *PutSlotTypeOutput { + s.Description = &v + return s +} + +// SetEnumerationValues sets the EnumerationValues field's value. +func (s *PutSlotTypeOutput) SetEnumerationValues(v []*EnumerationValue) *PutSlotTypeOutput { + s.EnumerationValues = v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *PutSlotTypeOutput) SetLastUpdatedDate(v time.Time) *PutSlotTypeOutput { + s.LastUpdatedDate = &v + return s +} + +// SetName sets the Name field's value. +func (s *PutSlotTypeOutput) SetName(v string) *PutSlotTypeOutput { + s.Name = &v + return s +} + +// SetValueSelectionStrategy sets the ValueSelectionStrategy field's value. +func (s *PutSlotTypeOutput) SetValueSelectionStrategy(v string) *PutSlotTypeOutput { + s.ValueSelectionStrategy = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *PutSlotTypeOutput) SetVersion(v string) *PutSlotTypeOutput { + s.Version = &v + return s +} + +// Describes the resource that refers to the resource that you are attempting +// to delete. This object is returned as part of the ResourceInUseException +// exception. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/ResourceReference +type ResourceReference struct { + _ struct{} `type:"structure"` + + // The name of the resource that is using the resource that you are trying to + // delete. + Name *string `locationName:"name" min:"1" type:"string"` + + // The version of the resource that is using the resource that you are trying + // to delete. + Version *string `locationName:"version" min:"1" type:"string"` +} + +// String returns the string representation +func (s ResourceReference) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ResourceReference) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *ResourceReference) SetName(v string) *ResourceReference { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *ResourceReference) SetVersion(v string) *ResourceReference { + s.Version = &v + return s +} + +// Identifies the version of a specific slot. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/Slot +type Slot struct { + _ struct{} `type:"structure"` + + // A description of the slot. + Description *string `locationName:"description" type:"string"` + + // The name of the slot. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // Directs Lex the order in which to elicit this slot value from the user. For + // example, if the intent has two slots with priorities 1 and 2, AWS Lex first + // elicits a value for the slot with priority 1. + // + // If multiple slots share the same priority, the order in which Lex elicits + // values is arbitrary. + Priority *int64 `locationName:"priority" type:"integer"` + + // A set of possible responses for the slot type used by text-based clients. + // A user chooses an option from the response card, instead of using text to + // reply. + ResponseCard *string `locationName:"responseCard" min:"1" type:"string"` + + // If you know a specific pattern with which users might respond to an Amazon + // Lex request for a slot value, you can provide those utterances to improve + // accuracy. This is optional. In most cases, Amazon Lex is capable of understanding + // user utterances. + SampleUtterances []*string `locationName:"sampleUtterances" type:"list"` + + // Specifies whether the slot is required or optional. + // + // SlotConstraint is a required field + SlotConstraint *string `locationName:"slotConstraint" type:"string" required:"true" enum:"SlotConstraint"` + + // The type of the slot, either a custom slot type that you defined or one of + // the built-in slot types. + SlotType *string `locationName:"slotType" min:"1" type:"string"` + + // The version of the slot type. + SlotTypeVersion *string `locationName:"slotTypeVersion" min:"1" type:"string"` + + // The prompt that Amazon Lex uses to elicit the slot value from the user. + ValueElicitationPrompt *Prompt `locationName:"valueElicitationPrompt" type:"structure"` +} + +// String returns the string representation +func (s Slot) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Slot) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Slot) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Slot"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.ResponseCard != nil && len(*s.ResponseCard) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResponseCard", 1)) + } + if s.SlotConstraint == nil { + invalidParams.Add(request.NewErrParamRequired("SlotConstraint")) + } + if s.SlotType != nil && len(*s.SlotType) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SlotType", 1)) + } + if s.SlotTypeVersion != nil && len(*s.SlotTypeVersion) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SlotTypeVersion", 1)) + } + if s.ValueElicitationPrompt != nil { + if err := s.ValueElicitationPrompt.Validate(); err != nil { + invalidParams.AddNested("ValueElicitationPrompt", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *Slot) SetDescription(v string) *Slot { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *Slot) SetName(v string) *Slot { + s.Name = &v + return s +} + +// SetPriority sets the Priority field's value. +func (s *Slot) SetPriority(v int64) *Slot { + s.Priority = &v + return s +} + +// SetResponseCard sets the ResponseCard field's value. +func (s *Slot) SetResponseCard(v string) *Slot { + s.ResponseCard = &v + return s +} + +// SetSampleUtterances sets the SampleUtterances field's value. +func (s *Slot) SetSampleUtterances(v []*string) *Slot { + s.SampleUtterances = v + return s +} + +// SetSlotConstraint sets the SlotConstraint field's value. +func (s *Slot) SetSlotConstraint(v string) *Slot { + s.SlotConstraint = &v + return s +} + +// SetSlotType sets the SlotType field's value. +func (s *Slot) SetSlotType(v string) *Slot { + s.SlotType = &v + return s +} + +// SetSlotTypeVersion sets the SlotTypeVersion field's value. +func (s *Slot) SetSlotTypeVersion(v string) *Slot { + s.SlotTypeVersion = &v + return s +} + +// SetValueElicitationPrompt sets the ValueElicitationPrompt field's value. +func (s *Slot) SetValueElicitationPrompt(v *Prompt) *Slot { + s.ValueElicitationPrompt = v + return s +} + +// Provides information about a slot type.. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/SlotTypeMetadata +type SlotTypeMetadata struct { + _ struct{} `type:"structure"` + + // The date that the slot type was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"` + + // A description of the slot type. + Description *string `locationName:"description" type:"string"` + + // The date that the slot type was updated. When you create a resource, the + // creation date and last updated date are the same. + LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp" timestampFormat:"unix"` + + // The name of the slot type. + Name *string `locationName:"name" min:"1" type:"string"` + + // The version of the slot type. + Version *string `locationName:"version" min:"1" type:"string"` +} + +// String returns the string representation +func (s SlotTypeMetadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SlotTypeMetadata) GoString() string { + return s.String() +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *SlotTypeMetadata) SetCreatedDate(v time.Time) *SlotTypeMetadata { + s.CreatedDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *SlotTypeMetadata) SetDescription(v string) *SlotTypeMetadata { + s.Description = &v + return s +} + +// SetLastUpdatedDate sets the LastUpdatedDate field's value. +func (s *SlotTypeMetadata) SetLastUpdatedDate(v time.Time) *SlotTypeMetadata { + s.LastUpdatedDate = &v + return s +} + +// SetName sets the Name field's value. +func (s *SlotTypeMetadata) SetName(v string) *SlotTypeMetadata { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *SlotTypeMetadata) SetVersion(v string) *SlotTypeMetadata { + s.Version = &v + return s +} + +// A collection of messages that convey information to the user. At runtime, +// Amazon Lex selects the message to convey. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/Statement +type Statement struct { + _ struct{} `type:"structure"` + + // A collection of message objects. + // + // Messages is a required field + Messages []*Message `locationName:"messages" min:"1" type:"list" required:"true"` + + // At runtime, if the client is using the PostText (http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html) + // API, Amazon Lex includes the response card in the response. It substitutes + // all of the session attributes and slot values for placeholders in the response + // card. + ResponseCard *string `locationName:"responseCard" min:"1" type:"string"` +} + +// String returns the string representation +func (s Statement) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Statement) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Statement) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Statement"} + if s.Messages == nil { + invalidParams.Add(request.NewErrParamRequired("Messages")) + } + if s.Messages != nil && len(s.Messages) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Messages", 1)) + } + if s.ResponseCard != nil && len(*s.ResponseCard) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResponseCard", 1)) + } + if s.Messages != nil { + for i, v := range s.Messages { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Messages", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMessages sets the Messages field's value. +func (s *Statement) SetMessages(v []*Message) *Statement { + s.Messages = v + return s +} + +// SetResponseCard sets the ResponseCard field's value. +func (s *Statement) SetResponseCard(v string) *Statement { + s.ResponseCard = &v + return s +} + +// Provides information about a single utterance that was made to your bot. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/UtteranceData +type UtteranceData struct { + _ struct{} `type:"structure"` + + // The number of times that the utterance was processed. + Count *int64 `locationName:"count" type:"integer"` + + // The total number of individuals that used the utterance. + DistinctUsers *int64 `locationName:"distinctUsers" type:"integer"` + + // The date that the utterance was first recorded. + FirstUtteredDate *time.Time `locationName:"firstUtteredDate" type:"timestamp" timestampFormat:"unix"` + + // The date that the utterance was last recorded. + LastUtteredDate *time.Time `locationName:"lastUtteredDate" type:"timestamp" timestampFormat:"unix"` + + // The text that was entered by the user or the text representation of an audio + // clip. + UtteranceString *string `locationName:"utteranceString" min:"1" type:"string"` +} + +// String returns the string representation +func (s UtteranceData) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UtteranceData) GoString() string { + return s.String() +} + +// SetCount sets the Count field's value. +func (s *UtteranceData) SetCount(v int64) *UtteranceData { + s.Count = &v + return s +} + +// SetDistinctUsers sets the DistinctUsers field's value. +func (s *UtteranceData) SetDistinctUsers(v int64) *UtteranceData { + s.DistinctUsers = &v + return s +} + +// SetFirstUtteredDate sets the FirstUtteredDate field's value. +func (s *UtteranceData) SetFirstUtteredDate(v time.Time) *UtteranceData { + s.FirstUtteredDate = &v + return s +} + +// SetLastUtteredDate sets the LastUtteredDate field's value. +func (s *UtteranceData) SetLastUtteredDate(v time.Time) *UtteranceData { + s.LastUtteredDate = &v + return s +} + +// SetUtteranceString sets the UtteranceString field's value. +func (s *UtteranceData) SetUtteranceString(v string) *UtteranceData { + s.UtteranceString = &v + return s +} + +// Provides a list of utterances that have been made to a specific version of +// your bot. The list contains a maximum of 100 utterances. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/UtteranceList +type UtteranceList struct { + _ struct{} `type:"structure"` + + // The version of the bot that processed the list. + BotVersion *string `locationName:"botVersion" min:"1" type:"string"` + + // One or more UtteranceData objects that contain information about the utterances + // that have been made to a bot. The maximum number of object is 100. + Utterances []*UtteranceData `locationName:"utterances" type:"list"` +} + +// String returns the string representation +func (s UtteranceList) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UtteranceList) GoString() string { + return s.String() +} + +// SetBotVersion sets the BotVersion field's value. +func (s *UtteranceList) SetBotVersion(v string) *UtteranceList { + s.BotVersion = &v + return s +} + +// SetUtterances sets the Utterances field's value. +func (s *UtteranceList) SetUtterances(v []*UtteranceData) *UtteranceList { + s.Utterances = v + return s +} + +const ( + // ChannelStatusInProgress is a ChannelStatus enum value + ChannelStatusInProgress = "IN_PROGRESS" + + // ChannelStatusCreated is a ChannelStatus enum value + ChannelStatusCreated = "CREATED" + + // ChannelStatusFailed is a ChannelStatus enum value + ChannelStatusFailed = "FAILED" +) + +const ( + // ChannelTypeFacebook is a ChannelType enum value + ChannelTypeFacebook = "Facebook" + + // ChannelTypeSlack is a ChannelType enum value + ChannelTypeSlack = "Slack" + + // ChannelTypeTwilioSms is a ChannelType enum value + ChannelTypeTwilioSms = "Twilio-Sms" +) + +const ( + // ContentTypePlainText is a ContentType enum value + ContentTypePlainText = "PlainText" + + // ContentTypeSsml is a ContentType enum value + ContentTypeSsml = "SSML" +) + +const ( + // ExportStatusInProgress is a ExportStatus enum value + ExportStatusInProgress = "IN_PROGRESS" + + // ExportStatusReady is a ExportStatus enum value + ExportStatusReady = "READY" + + // ExportStatusFailed is a ExportStatus enum value + ExportStatusFailed = "FAILED" +) + +const ( + // ExportTypeAlexaSkillsKit is a ExportType enum value + ExportTypeAlexaSkillsKit = "ALEXA_SKILLS_KIT" +) + +const ( + // FulfillmentActivityTypeReturnIntent is a FulfillmentActivityType enum value + FulfillmentActivityTypeReturnIntent = "ReturnIntent" + + // FulfillmentActivityTypeCodeHook is a FulfillmentActivityType enum value + FulfillmentActivityTypeCodeHook = "CodeHook" +) + +const ( + // LocaleEnUs is a Locale enum value + LocaleEnUs = "en-US" +) + +const ( + // ProcessBehaviorSave is a ProcessBehavior enum value + ProcessBehaviorSave = "SAVE" + + // ProcessBehaviorBuild is a ProcessBehavior enum value + ProcessBehaviorBuild = "BUILD" +) + +const ( + // ReferenceTypeIntent is a ReferenceType enum value + ReferenceTypeIntent = "Intent" + + // ReferenceTypeBot is a ReferenceType enum value + ReferenceTypeBot = "Bot" + + // ReferenceTypeBotAlias is a ReferenceType enum value + ReferenceTypeBotAlias = "BotAlias" + + // ReferenceTypeBotChannel is a ReferenceType enum value + ReferenceTypeBotChannel = "BotChannel" +) + +const ( + // ResourceTypeBot is a ResourceType enum value + ResourceTypeBot = "BOT" +) + +const ( + // SlotConstraintRequired is a SlotConstraint enum value + SlotConstraintRequired = "Required" + + // SlotConstraintOptional is a SlotConstraint enum value + SlotConstraintOptional = "Optional" +) + +const ( + // SlotValueSelectionStrategyOriginalValue is a SlotValueSelectionStrategy enum value + SlotValueSelectionStrategyOriginalValue = "ORIGINAL_VALUE" + + // SlotValueSelectionStrategyTopResolution is a SlotValueSelectionStrategy enum value + SlotValueSelectionStrategyTopResolution = "TOP_RESOLUTION" +) + +const ( + // StatusBuilding is a Status enum value + StatusBuilding = "BUILDING" + + // StatusReady is a Status enum value + StatusReady = "READY" + + // StatusFailed is a Status enum value + StatusFailed = "FAILED" + + // StatusNotBuilt is a Status enum value + StatusNotBuilt = "NOT_BUILT" +) + +const ( + // StatusTypeDetected is a StatusType enum value + StatusTypeDetected = "Detected" + + // StatusTypeMissed is a StatusType enum value + StatusTypeMissed = "Missed" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/doc.go b/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/doc.go new file mode 100644 index 00000000000..3e4aae2ee0b --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/doc.go @@ -0,0 +1,30 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package lexmodelbuildingservice provides the client and types for making API +// requests to Amazon Lex Model Building Service. +// +// Amazon Lex is an AWS service for building conversational voice and text interfaces. +// Use these actions to create, update, and delete conversational bots for new +// and existing client applications. +// +// See https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19 for more information on this service. +// +// See lexmodelbuildingservice package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/lexmodelbuildingservice/ +// +// Using the Client +// +// To contact Amazon Lex Model Building Service with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the Amazon Lex Model Building Service client LexModelBuildingService for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/lexmodelbuildingservice/#New +package lexmodelbuildingservice diff --git a/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/errors.go b/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/errors.go new file mode 100644 index 00000000000..da3b08cb8d6 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/errors.go @@ -0,0 +1,61 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package lexmodelbuildingservice + +const ( + + // ErrCodeBadRequestException for service response error code + // "BadRequestException". + // + // The request is not well formed. For example, a value is invalid or a required + // field is missing. Check the field values, and try again. + ErrCodeBadRequestException = "BadRequestException" + + // ErrCodeConflictException for service response error code + // "ConflictException". + // + // There was a conflict processing the request. Try your request again. + ErrCodeConflictException = "ConflictException" + + // ErrCodeInternalFailureException for service response error code + // "InternalFailureException". + // + // An internal Amazon Lex error occurred. Try your request again. + ErrCodeInternalFailureException = "InternalFailureException" + + // ErrCodeLimitExceededException for service response error code + // "LimitExceededException". + // + // The request exceeded a limit. Try your request again. + ErrCodeLimitExceededException = "LimitExceededException" + + // ErrCodeNotFoundException for service response error code + // "NotFoundException". + // + // The resource specified in the request was not found. Check the resource and + // try again. + ErrCodeNotFoundException = "NotFoundException" + + // ErrCodePreconditionFailedException for service response error code + // "PreconditionFailedException". + // + // The checksum of the resource that you are trying to change does not match + // the checksum in the request. Check the resource's checksum and try again. + ErrCodePreconditionFailedException = "PreconditionFailedException" + + // ErrCodeResourceInUseException for service response error code + // "ResourceInUseException". + // + // The resource that you are attempting to delete is referred to by another + // resource. Use this information to remove references to the resource that + // you are trying to delete. + // + // The body of the exception contains a JSON object that describes the resource. + // + // { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, + // + // "resourceReference": { + // + // "name": string, "version": string } } + ErrCodeResourceInUseException = "ResourceInUseException" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/service.go b/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/service.go new file mode 100644 index 00000000000..8948604660b --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/service.go @@ -0,0 +1,97 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package lexmodelbuildingservice + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// LexModelBuildingService provides the API operation methods for making requests to +// Amazon Lex Model Building Service. See this package's package overview docs +// for details on the service. +// +// LexModelBuildingService methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type LexModelBuildingService struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "models.lex" // Service endpoint prefix API calls made to. + EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. +) + +// New creates a new instance of the LexModelBuildingService client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// // Create a LexModelBuildingService client from just a session. +// svc := lexmodelbuildingservice.New(mySession) +// +// // Create a LexModelBuildingService client with additional configuration +// svc := lexmodelbuildingservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *LexModelBuildingService { + c := p.ClientConfig(EndpointsID, cfgs...) + return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *LexModelBuildingService { + if len(signingName) == 0 { + signingName = "lex" + } + svc := &LexModelBuildingService{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + SigningName: signingName, + SigningRegion: signingRegion, + Endpoint: endpoint, + APIVersion: "2017-04-19", + JSONVersion: "1.1", + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed(restjson.UnmarshalErrorHandler) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a LexModelBuildingService operation and runs any +// custom request initialization. +func (c *LexModelBuildingService) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/lightsail/api.go b/vendor/github.com/aws/aws-sdk-go/service/lightsail/api.go index a8ecd8e1f5d..91bcb326873 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/lightsail/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/lightsail/api.go @@ -35,7 +35,7 @@ const opAllocateStaticIp = "AllocateStaticIp" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIp +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIp func (c *Lightsail) AllocateStaticIpRequest(input *AllocateStaticIpInput) (req *request.Request, output *AllocateStaticIpOutput) { op := &request.Operation{ Name: opAllocateStaticIp, @@ -92,7 +92,7 @@ func (c *Lightsail) AllocateStaticIpRequest(input *AllocateStaticIpInput) (req * // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIp +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIp func (c *Lightsail) AllocateStaticIp(input *AllocateStaticIpInput) (*AllocateStaticIpOutput, error) { req, out := c.AllocateStaticIpRequest(input) return out, req.Send() @@ -114,58 +114,59 @@ func (c *Lightsail) AllocateStaticIpWithContext(ctx aws.Context, input *Allocate return out, req.Send() } -const opAttachStaticIp = "AttachStaticIp" +const opAttachDisk = "AttachDisk" -// AttachStaticIpRequest generates a "aws/request.Request" representing the -// client's request for the AttachStaticIp operation. The "output" return +// AttachDiskRequest generates a "aws/request.Request" representing the +// client's request for the AttachDisk operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See AttachStaticIp for more information on using the AttachStaticIp +// See AttachDisk for more information on using the AttachDisk // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the AttachStaticIpRequest method. -// req, resp := client.AttachStaticIpRequest(params) +// // Example sending a request using the AttachDiskRequest method. +// req, resp := client.AttachDiskRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIp -func (c *Lightsail) AttachStaticIpRequest(input *AttachStaticIpInput) (req *request.Request, output *AttachStaticIpOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDisk +func (c *Lightsail) AttachDiskRequest(input *AttachDiskInput) (req *request.Request, output *AttachDiskOutput) { op := &request.Operation{ - Name: opAttachStaticIp, + Name: opAttachDisk, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &AttachStaticIpInput{} + input = &AttachDiskInput{} } - output = &AttachStaticIpOutput{} + output = &AttachDiskOutput{} req = c.newRequest(op, input, output) return } -// AttachStaticIp API operation for Amazon Lightsail. +// AttachDisk API operation for Amazon Lightsail. // -// Attaches a static IP address to a specific Amazon Lightsail instance. +// Attaches a block storage disk to a running or stopped Lightsail instance +// and exposes it to the instance with the specified disk name. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation AttachStaticIp for usage and error information. +// API operation AttachDisk for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -196,80 +197,80 @@ func (c *Lightsail) AttachStaticIpRequest(input *AttachStaticIpInput) (req *requ // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIp -func (c *Lightsail) AttachStaticIp(input *AttachStaticIpInput) (*AttachStaticIpOutput, error) { - req, out := c.AttachStaticIpRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDisk +func (c *Lightsail) AttachDisk(input *AttachDiskInput) (*AttachDiskOutput, error) { + req, out := c.AttachDiskRequest(input) return out, req.Send() } -// AttachStaticIpWithContext is the same as AttachStaticIp with the addition of +// AttachDiskWithContext is the same as AttachDisk with the addition of // the ability to pass a context and additional request options. // -// See AttachStaticIp for details on how to use this API operation. +// See AttachDisk for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) AttachStaticIpWithContext(ctx aws.Context, input *AttachStaticIpInput, opts ...request.Option) (*AttachStaticIpOutput, error) { - req, out := c.AttachStaticIpRequest(input) +func (c *Lightsail) AttachDiskWithContext(ctx aws.Context, input *AttachDiskInput, opts ...request.Option) (*AttachDiskOutput, error) { + req, out := c.AttachDiskRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCloseInstancePublicPorts = "CloseInstancePublicPorts" +const opAttachInstancesToLoadBalancer = "AttachInstancesToLoadBalancer" -// CloseInstancePublicPortsRequest generates a "aws/request.Request" representing the -// client's request for the CloseInstancePublicPorts operation. The "output" return +// AttachInstancesToLoadBalancerRequest generates a "aws/request.Request" representing the +// client's request for the AttachInstancesToLoadBalancer operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CloseInstancePublicPorts for more information on using the CloseInstancePublicPorts +// See AttachInstancesToLoadBalancer for more information on using the AttachInstancesToLoadBalancer // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CloseInstancePublicPortsRequest method. -// req, resp := client.CloseInstancePublicPortsRequest(params) +// // Example sending a request using the AttachInstancesToLoadBalancerRequest method. +// req, resp := client.AttachInstancesToLoadBalancerRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPorts -func (c *Lightsail) CloseInstancePublicPortsRequest(input *CloseInstancePublicPortsInput) (req *request.Request, output *CloseInstancePublicPortsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancer +func (c *Lightsail) AttachInstancesToLoadBalancerRequest(input *AttachInstancesToLoadBalancerInput) (req *request.Request, output *AttachInstancesToLoadBalancerOutput) { op := &request.Operation{ - Name: opCloseInstancePublicPorts, + Name: opAttachInstancesToLoadBalancer, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &CloseInstancePublicPortsInput{} + input = &AttachInstancesToLoadBalancerInput{} } - output = &CloseInstancePublicPortsOutput{} + output = &AttachInstancesToLoadBalancerOutput{} req = c.newRequest(op, input, output) return } -// CloseInstancePublicPorts API operation for Amazon Lightsail. +// AttachInstancesToLoadBalancer API operation for Amazon Lightsail. // -// Closes the public ports on a specific Amazon Lightsail instance. +// Attaches one or more Lightsail instances to a load balancer. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation CloseInstancePublicPorts for usage and error information. +// API operation AttachInstancesToLoadBalancer for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -300,80 +301,82 @@ func (c *Lightsail) CloseInstancePublicPortsRequest(input *CloseInstancePublicPo // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPorts -func (c *Lightsail) CloseInstancePublicPorts(input *CloseInstancePublicPortsInput) (*CloseInstancePublicPortsOutput, error) { - req, out := c.CloseInstancePublicPortsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancer +func (c *Lightsail) AttachInstancesToLoadBalancer(input *AttachInstancesToLoadBalancerInput) (*AttachInstancesToLoadBalancerOutput, error) { + req, out := c.AttachInstancesToLoadBalancerRequest(input) return out, req.Send() } -// CloseInstancePublicPortsWithContext is the same as CloseInstancePublicPorts with the addition of +// AttachInstancesToLoadBalancerWithContext is the same as AttachInstancesToLoadBalancer with the addition of // the ability to pass a context and additional request options. // -// See CloseInstancePublicPorts for details on how to use this API operation. +// See AttachInstancesToLoadBalancer for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) CloseInstancePublicPortsWithContext(ctx aws.Context, input *CloseInstancePublicPortsInput, opts ...request.Option) (*CloseInstancePublicPortsOutput, error) { - req, out := c.CloseInstancePublicPortsRequest(input) +func (c *Lightsail) AttachInstancesToLoadBalancerWithContext(ctx aws.Context, input *AttachInstancesToLoadBalancerInput, opts ...request.Option) (*AttachInstancesToLoadBalancerOutput, error) { + req, out := c.AttachInstancesToLoadBalancerRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCreateDomain = "CreateDomain" +const opAttachLoadBalancerTlsCertificate = "AttachLoadBalancerTlsCertificate" -// CreateDomainRequest generates a "aws/request.Request" representing the -// client's request for the CreateDomain operation. The "output" return +// AttachLoadBalancerTlsCertificateRequest generates a "aws/request.Request" representing the +// client's request for the AttachLoadBalancerTlsCertificate operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CreateDomain for more information on using the CreateDomain +// See AttachLoadBalancerTlsCertificate for more information on using the AttachLoadBalancerTlsCertificate // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CreateDomainRequest method. -// req, resp := client.CreateDomainRequest(params) +// // Example sending a request using the AttachLoadBalancerTlsCertificateRequest method. +// req, resp := client.AttachLoadBalancerTlsCertificateRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomain -func (c *Lightsail) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificate +func (c *Lightsail) AttachLoadBalancerTlsCertificateRequest(input *AttachLoadBalancerTlsCertificateInput) (req *request.Request, output *AttachLoadBalancerTlsCertificateOutput) { op := &request.Operation{ - Name: opCreateDomain, + Name: opAttachLoadBalancerTlsCertificate, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &CreateDomainInput{} + input = &AttachLoadBalancerTlsCertificateInput{} } - output = &CreateDomainOutput{} + output = &AttachLoadBalancerTlsCertificateOutput{} req = c.newRequest(op, input, output) return } -// CreateDomain API operation for Amazon Lightsail. +// AttachLoadBalancerTlsCertificate API operation for Amazon Lightsail. // -// Creates a domain resource for the specified domain (e.g., example.com). +// Attaches a Transport Layer Security (TLS) certificate to your load balancer. +// +// TLS is just an updated, more secure version of Secure Socket Layer (SSL). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation CreateDomain for usage and error information. +// API operation AttachLoadBalancerTlsCertificate for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -404,81 +407,80 @@ func (c *Lightsail) CreateDomainRequest(input *CreateDomainInput) (req *request. // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomain -func (c *Lightsail) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) { - req, out := c.CreateDomainRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificate +func (c *Lightsail) AttachLoadBalancerTlsCertificate(input *AttachLoadBalancerTlsCertificateInput) (*AttachLoadBalancerTlsCertificateOutput, error) { + req, out := c.AttachLoadBalancerTlsCertificateRequest(input) return out, req.Send() } -// CreateDomainWithContext is the same as CreateDomain with the addition of +// AttachLoadBalancerTlsCertificateWithContext is the same as AttachLoadBalancerTlsCertificate with the addition of // the ability to pass a context and additional request options. // -// See CreateDomain for details on how to use this API operation. +// See AttachLoadBalancerTlsCertificate for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) CreateDomainWithContext(ctx aws.Context, input *CreateDomainInput, opts ...request.Option) (*CreateDomainOutput, error) { - req, out := c.CreateDomainRequest(input) +func (c *Lightsail) AttachLoadBalancerTlsCertificateWithContext(ctx aws.Context, input *AttachLoadBalancerTlsCertificateInput, opts ...request.Option) (*AttachLoadBalancerTlsCertificateOutput, error) { + req, out := c.AttachLoadBalancerTlsCertificateRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCreateDomainEntry = "CreateDomainEntry" +const opAttachStaticIp = "AttachStaticIp" -// CreateDomainEntryRequest generates a "aws/request.Request" representing the -// client's request for the CreateDomainEntry operation. The "output" return +// AttachStaticIpRequest generates a "aws/request.Request" representing the +// client's request for the AttachStaticIp operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CreateDomainEntry for more information on using the CreateDomainEntry +// See AttachStaticIp for more information on using the AttachStaticIp // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CreateDomainEntryRequest method. -// req, resp := client.CreateDomainEntryRequest(params) +// // Example sending a request using the AttachStaticIpRequest method. +// req, resp := client.AttachStaticIpRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntry -func (c *Lightsail) CreateDomainEntryRequest(input *CreateDomainEntryInput) (req *request.Request, output *CreateDomainEntryOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIp +func (c *Lightsail) AttachStaticIpRequest(input *AttachStaticIpInput) (req *request.Request, output *AttachStaticIpOutput) { op := &request.Operation{ - Name: opCreateDomainEntry, + Name: opAttachStaticIp, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &CreateDomainEntryInput{} + input = &AttachStaticIpInput{} } - output = &CreateDomainEntryOutput{} + output = &AttachStaticIpOutput{} req = c.newRequest(op, input, output) return } -// CreateDomainEntry API operation for Amazon Lightsail. +// AttachStaticIp API operation for Amazon Lightsail. // -// Creates one of the following entry records associated with the domain: A -// record, CNAME record, TXT record, or MX record. +// Attaches a static IP address to a specific Amazon Lightsail instance. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation CreateDomainEntry for usage and error information. +// API operation AttachStaticIp for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -509,81 +511,80 @@ func (c *Lightsail) CreateDomainEntryRequest(input *CreateDomainEntryInput) (req // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntry -func (c *Lightsail) CreateDomainEntry(input *CreateDomainEntryInput) (*CreateDomainEntryOutput, error) { - req, out := c.CreateDomainEntryRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIp +func (c *Lightsail) AttachStaticIp(input *AttachStaticIpInput) (*AttachStaticIpOutput, error) { + req, out := c.AttachStaticIpRequest(input) return out, req.Send() } -// CreateDomainEntryWithContext is the same as CreateDomainEntry with the addition of +// AttachStaticIpWithContext is the same as AttachStaticIp with the addition of // the ability to pass a context and additional request options. // -// See CreateDomainEntry for details on how to use this API operation. +// See AttachStaticIp for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) CreateDomainEntryWithContext(ctx aws.Context, input *CreateDomainEntryInput, opts ...request.Option) (*CreateDomainEntryOutput, error) { - req, out := c.CreateDomainEntryRequest(input) +func (c *Lightsail) AttachStaticIpWithContext(ctx aws.Context, input *AttachStaticIpInput, opts ...request.Option) (*AttachStaticIpOutput, error) { + req, out := c.AttachStaticIpRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCreateInstanceSnapshot = "CreateInstanceSnapshot" +const opCloseInstancePublicPorts = "CloseInstancePublicPorts" -// CreateInstanceSnapshotRequest generates a "aws/request.Request" representing the -// client's request for the CreateInstanceSnapshot operation. The "output" return +// CloseInstancePublicPortsRequest generates a "aws/request.Request" representing the +// client's request for the CloseInstancePublicPorts operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CreateInstanceSnapshot for more information on using the CreateInstanceSnapshot +// See CloseInstancePublicPorts for more information on using the CloseInstancePublicPorts // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CreateInstanceSnapshotRequest method. -// req, resp := client.CreateInstanceSnapshotRequest(params) +// // Example sending a request using the CloseInstancePublicPortsRequest method. +// req, resp := client.CloseInstancePublicPortsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshot -func (c *Lightsail) CreateInstanceSnapshotRequest(input *CreateInstanceSnapshotInput) (req *request.Request, output *CreateInstanceSnapshotOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPorts +func (c *Lightsail) CloseInstancePublicPortsRequest(input *CloseInstancePublicPortsInput) (req *request.Request, output *CloseInstancePublicPortsOutput) { op := &request.Operation{ - Name: opCreateInstanceSnapshot, + Name: opCloseInstancePublicPorts, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &CreateInstanceSnapshotInput{} + input = &CloseInstancePublicPortsInput{} } - output = &CreateInstanceSnapshotOutput{} + output = &CloseInstancePublicPortsOutput{} req = c.newRequest(op, input, output) return } -// CreateInstanceSnapshot API operation for Amazon Lightsail. +// CloseInstancePublicPorts API operation for Amazon Lightsail. // -// Creates a snapshot of a specific virtual private server, or instance. You -// can use a snapshot to create a new instance that is based on that snapshot. +// Closes the public ports on a specific Amazon Lightsail instance. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation CreateInstanceSnapshot for usage and error information. +// API operation CloseInstancePublicPorts for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -614,80 +615,83 @@ func (c *Lightsail) CreateInstanceSnapshotRequest(input *CreateInstanceSnapshotI // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshot -func (c *Lightsail) CreateInstanceSnapshot(input *CreateInstanceSnapshotInput) (*CreateInstanceSnapshotOutput, error) { - req, out := c.CreateInstanceSnapshotRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPorts +func (c *Lightsail) CloseInstancePublicPorts(input *CloseInstancePublicPortsInput) (*CloseInstancePublicPortsOutput, error) { + req, out := c.CloseInstancePublicPortsRequest(input) return out, req.Send() } -// CreateInstanceSnapshotWithContext is the same as CreateInstanceSnapshot with the addition of +// CloseInstancePublicPortsWithContext is the same as CloseInstancePublicPorts with the addition of // the ability to pass a context and additional request options. // -// See CreateInstanceSnapshot for details on how to use this API operation. +// See CloseInstancePublicPorts for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) CreateInstanceSnapshotWithContext(ctx aws.Context, input *CreateInstanceSnapshotInput, opts ...request.Option) (*CreateInstanceSnapshotOutput, error) { - req, out := c.CreateInstanceSnapshotRequest(input) +func (c *Lightsail) CloseInstancePublicPortsWithContext(ctx aws.Context, input *CloseInstancePublicPortsInput, opts ...request.Option) (*CloseInstancePublicPortsOutput, error) { + req, out := c.CloseInstancePublicPortsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCreateInstances = "CreateInstances" +const opCreateDisk = "CreateDisk" -// CreateInstancesRequest generates a "aws/request.Request" representing the -// client's request for the CreateInstances operation. The "output" return +// CreateDiskRequest generates a "aws/request.Request" representing the +// client's request for the CreateDisk operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CreateInstances for more information on using the CreateInstances +// See CreateDisk for more information on using the CreateDisk // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CreateInstancesRequest method. -// req, resp := client.CreateInstancesRequest(params) +// // Example sending a request using the CreateDiskRequest method. +// req, resp := client.CreateDiskRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstances -func (c *Lightsail) CreateInstancesRequest(input *CreateInstancesInput) (req *request.Request, output *CreateInstancesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDisk +func (c *Lightsail) CreateDiskRequest(input *CreateDiskInput) (req *request.Request, output *CreateDiskOutput) { op := &request.Operation{ - Name: opCreateInstances, + Name: opCreateDisk, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &CreateInstancesInput{} + input = &CreateDiskInput{} } - output = &CreateInstancesOutput{} + output = &CreateDiskOutput{} req = c.newRequest(op, input, output) return } -// CreateInstances API operation for Amazon Lightsail. +// CreateDisk API operation for Amazon Lightsail. // -// Creates one or more Amazon Lightsail virtual private servers, or instances. +// Creates a block storage disk that can be attached to a Lightsail instance +// in the same Availability Zone (e.g., us-east-2a). The disk is created in +// the regional endpoint that you send the HTTP request to. For more information, +// see Regions and Availability Zones in Lightsail (https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation CreateInstances for usage and error information. +// API operation CreateDisk for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -718,81 +722,83 @@ func (c *Lightsail) CreateInstancesRequest(input *CreateInstancesInput) (req *re // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstances -func (c *Lightsail) CreateInstances(input *CreateInstancesInput) (*CreateInstancesOutput, error) { - req, out := c.CreateInstancesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDisk +func (c *Lightsail) CreateDisk(input *CreateDiskInput) (*CreateDiskOutput, error) { + req, out := c.CreateDiskRequest(input) return out, req.Send() } -// CreateInstancesWithContext is the same as CreateInstances with the addition of +// CreateDiskWithContext is the same as CreateDisk with the addition of // the ability to pass a context and additional request options. // -// See CreateInstances for details on how to use this API operation. +// See CreateDisk for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) CreateInstancesWithContext(ctx aws.Context, input *CreateInstancesInput, opts ...request.Option) (*CreateInstancesOutput, error) { - req, out := c.CreateInstancesRequest(input) +func (c *Lightsail) CreateDiskWithContext(ctx aws.Context, input *CreateDiskInput, opts ...request.Option) (*CreateDiskOutput, error) { + req, out := c.CreateDiskRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCreateInstancesFromSnapshot = "CreateInstancesFromSnapshot" +const opCreateDiskFromSnapshot = "CreateDiskFromSnapshot" -// CreateInstancesFromSnapshotRequest generates a "aws/request.Request" representing the -// client's request for the CreateInstancesFromSnapshot operation. The "output" return +// CreateDiskFromSnapshotRequest generates a "aws/request.Request" representing the +// client's request for the CreateDiskFromSnapshot operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CreateInstancesFromSnapshot for more information on using the CreateInstancesFromSnapshot +// See CreateDiskFromSnapshot for more information on using the CreateDiskFromSnapshot // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CreateInstancesFromSnapshotRequest method. -// req, resp := client.CreateInstancesFromSnapshotRequest(params) +// // Example sending a request using the CreateDiskFromSnapshotRequest method. +// req, resp := client.CreateDiskFromSnapshotRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshot -func (c *Lightsail) CreateInstancesFromSnapshotRequest(input *CreateInstancesFromSnapshotInput) (req *request.Request, output *CreateInstancesFromSnapshotOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshot +func (c *Lightsail) CreateDiskFromSnapshotRequest(input *CreateDiskFromSnapshotInput) (req *request.Request, output *CreateDiskFromSnapshotOutput) { op := &request.Operation{ - Name: opCreateInstancesFromSnapshot, + Name: opCreateDiskFromSnapshot, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &CreateInstancesFromSnapshotInput{} + input = &CreateDiskFromSnapshotInput{} } - output = &CreateInstancesFromSnapshotOutput{} + output = &CreateDiskFromSnapshotOutput{} req = c.newRequest(op, input, output) return } -// CreateInstancesFromSnapshot API operation for Amazon Lightsail. +// CreateDiskFromSnapshot API operation for Amazon Lightsail. // -// Uses a specific snapshot as a blueprint for creating one or more new instances -// that are based on that identical configuration. +// Creates a block storage disk from a disk snapshot that can be attached to +// a Lightsail instance in the same Availability Zone (e.g., us-east-2a). The +// disk is created in the regional endpoint that you send the HTTP request to. +// For more information, see Regions and Availability Zones in Lightsail (https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation CreateInstancesFromSnapshot for usage and error information. +// API operation CreateDiskFromSnapshot for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -823,80 +829,93 @@ func (c *Lightsail) CreateInstancesFromSnapshotRequest(input *CreateInstancesFro // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshot -func (c *Lightsail) CreateInstancesFromSnapshot(input *CreateInstancesFromSnapshotInput) (*CreateInstancesFromSnapshotOutput, error) { - req, out := c.CreateInstancesFromSnapshotRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshot +func (c *Lightsail) CreateDiskFromSnapshot(input *CreateDiskFromSnapshotInput) (*CreateDiskFromSnapshotOutput, error) { + req, out := c.CreateDiskFromSnapshotRequest(input) return out, req.Send() } -// CreateInstancesFromSnapshotWithContext is the same as CreateInstancesFromSnapshot with the addition of +// CreateDiskFromSnapshotWithContext is the same as CreateDiskFromSnapshot with the addition of // the ability to pass a context and additional request options. // -// See CreateInstancesFromSnapshot for details on how to use this API operation. +// See CreateDiskFromSnapshot for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) CreateInstancesFromSnapshotWithContext(ctx aws.Context, input *CreateInstancesFromSnapshotInput, opts ...request.Option) (*CreateInstancesFromSnapshotOutput, error) { - req, out := c.CreateInstancesFromSnapshotRequest(input) +func (c *Lightsail) CreateDiskFromSnapshotWithContext(ctx aws.Context, input *CreateDiskFromSnapshotInput, opts ...request.Option) (*CreateDiskFromSnapshotOutput, error) { + req, out := c.CreateDiskFromSnapshotRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opCreateKeyPair = "CreateKeyPair" +const opCreateDiskSnapshot = "CreateDiskSnapshot" -// CreateKeyPairRequest generates a "aws/request.Request" representing the -// client's request for the CreateKeyPair operation. The "output" return +// CreateDiskSnapshotRequest generates a "aws/request.Request" representing the +// client's request for the CreateDiskSnapshot operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See CreateKeyPair for more information on using the CreateKeyPair +// See CreateDiskSnapshot for more information on using the CreateDiskSnapshot // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the CreateKeyPairRequest method. -// req, resp := client.CreateKeyPairRequest(params) +// // Example sending a request using the CreateDiskSnapshotRequest method. +// req, resp := client.CreateDiskSnapshotRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPair -func (c *Lightsail) CreateKeyPairRequest(input *CreateKeyPairInput) (req *request.Request, output *CreateKeyPairOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshot +func (c *Lightsail) CreateDiskSnapshotRequest(input *CreateDiskSnapshotInput) (req *request.Request, output *CreateDiskSnapshotOutput) { op := &request.Operation{ - Name: opCreateKeyPair, + Name: opCreateDiskSnapshot, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &CreateKeyPairInput{} + input = &CreateDiskSnapshotInput{} } - output = &CreateKeyPairOutput{} + output = &CreateDiskSnapshotOutput{} req = c.newRequest(op, input, output) return } -// CreateKeyPair API operation for Amazon Lightsail. +// CreateDiskSnapshot API operation for Amazon Lightsail. // -// Creates sn SSH key pair. +// Creates a snapshot of a block storage disk. You can use snapshots for backups, +// to make copies of disks, and to save data before shutting down a Lightsail +// instance. +// +// You can take a snapshot of an attached disk that is in use; however, snapshots +// only capture data that has been written to your disk at the time the snapshot +// command is issued. This may exclude any data that has been cached by any +// applications or the operating system. If you can pause any file systems on +// the disk long enough to take a snapshot, your snapshot should be complete. +// Nevertheless, if you cannot pause all file writes to the disk, you should +// unmount the disk from within the Lightsail instance, issue the create disk +// snapshot command, and then remount the disk to ensure a consistent and complete +// snapshot. You may remount and use your disk while the snapshot status is +// pending. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation CreateKeyPair for usage and error information. +// API operation CreateDiskSnapshot for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -927,80 +946,80 @@ func (c *Lightsail) CreateKeyPairRequest(input *CreateKeyPairInput) (req *reques // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPair -func (c *Lightsail) CreateKeyPair(input *CreateKeyPairInput) (*CreateKeyPairOutput, error) { - req, out := c.CreateKeyPairRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshot +func (c *Lightsail) CreateDiskSnapshot(input *CreateDiskSnapshotInput) (*CreateDiskSnapshotOutput, error) { + req, out := c.CreateDiskSnapshotRequest(input) return out, req.Send() } -// CreateKeyPairWithContext is the same as CreateKeyPair with the addition of +// CreateDiskSnapshotWithContext is the same as CreateDiskSnapshot with the addition of // the ability to pass a context and additional request options. // -// See CreateKeyPair for details on how to use this API operation. +// See CreateDiskSnapshot for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) CreateKeyPairWithContext(ctx aws.Context, input *CreateKeyPairInput, opts ...request.Option) (*CreateKeyPairOutput, error) { - req, out := c.CreateKeyPairRequest(input) +func (c *Lightsail) CreateDiskSnapshotWithContext(ctx aws.Context, input *CreateDiskSnapshotInput, opts ...request.Option) (*CreateDiskSnapshotOutput, error) { + req, out := c.CreateDiskSnapshotRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteDomain = "DeleteDomain" +const opCreateDomain = "CreateDomain" -// DeleteDomainRequest generates a "aws/request.Request" representing the -// client's request for the DeleteDomain operation. The "output" return +// CreateDomainRequest generates a "aws/request.Request" representing the +// client's request for the CreateDomain operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteDomain for more information on using the DeleteDomain +// See CreateDomain for more information on using the CreateDomain // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeleteDomainRequest method. -// req, resp := client.DeleteDomainRequest(params) +// // Example sending a request using the CreateDomainRequest method. +// req, resp := client.CreateDomainRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomain -func (c *Lightsail) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomain +func (c *Lightsail) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) { op := &request.Operation{ - Name: opDeleteDomain, + Name: opCreateDomain, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DeleteDomainInput{} + input = &CreateDomainInput{} } - output = &DeleteDomainOutput{} + output = &CreateDomainOutput{} req = c.newRequest(op, input, output) return } -// DeleteDomain API operation for Amazon Lightsail. +// CreateDomain API operation for Amazon Lightsail. // -// Deletes the specified domain recordset and all of its domain records. +// Creates a domain resource for the specified domain (e.g., example.com). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation DeleteDomain for usage and error information. +// API operation CreateDomain for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -1031,80 +1050,81 @@ func (c *Lightsail) DeleteDomainRequest(input *DeleteDomainInput) (req *request. // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomain -func (c *Lightsail) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) { - req, out := c.DeleteDomainRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomain +func (c *Lightsail) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) { + req, out := c.CreateDomainRequest(input) return out, req.Send() } -// DeleteDomainWithContext is the same as DeleteDomain with the addition of +// CreateDomainWithContext is the same as CreateDomain with the addition of // the ability to pass a context and additional request options. // -// See DeleteDomain for details on how to use this API operation. +// See CreateDomain for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) DeleteDomainWithContext(ctx aws.Context, input *DeleteDomainInput, opts ...request.Option) (*DeleteDomainOutput, error) { - req, out := c.DeleteDomainRequest(input) +func (c *Lightsail) CreateDomainWithContext(ctx aws.Context, input *CreateDomainInput, opts ...request.Option) (*CreateDomainOutput, error) { + req, out := c.CreateDomainRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteDomainEntry = "DeleteDomainEntry" +const opCreateDomainEntry = "CreateDomainEntry" -// DeleteDomainEntryRequest generates a "aws/request.Request" representing the -// client's request for the DeleteDomainEntry operation. The "output" return +// CreateDomainEntryRequest generates a "aws/request.Request" representing the +// client's request for the CreateDomainEntry operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteDomainEntry for more information on using the DeleteDomainEntry +// See CreateDomainEntry for more information on using the CreateDomainEntry // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeleteDomainEntryRequest method. -// req, resp := client.DeleteDomainEntryRequest(params) +// // Example sending a request using the CreateDomainEntryRequest method. +// req, resp := client.CreateDomainEntryRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntry -func (c *Lightsail) DeleteDomainEntryRequest(input *DeleteDomainEntryInput) (req *request.Request, output *DeleteDomainEntryOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntry +func (c *Lightsail) CreateDomainEntryRequest(input *CreateDomainEntryInput) (req *request.Request, output *CreateDomainEntryOutput) { op := &request.Operation{ - Name: opDeleteDomainEntry, + Name: opCreateDomainEntry, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DeleteDomainEntryInput{} + input = &CreateDomainEntryInput{} } - output = &DeleteDomainEntryOutput{} + output = &CreateDomainEntryOutput{} req = c.newRequest(op, input, output) return } -// DeleteDomainEntry API operation for Amazon Lightsail. +// CreateDomainEntry API operation for Amazon Lightsail. // -// Deletes a specific domain entry. +// Creates one of the following entry records associated with the domain: A +// record, CNAME record, TXT record, or MX record. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation DeleteDomainEntry for usage and error information. +// API operation CreateDomainEntry for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -1135,80 +1155,81 @@ func (c *Lightsail) DeleteDomainEntryRequest(input *DeleteDomainEntryInput) (req // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntry -func (c *Lightsail) DeleteDomainEntry(input *DeleteDomainEntryInput) (*DeleteDomainEntryOutput, error) { - req, out := c.DeleteDomainEntryRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntry +func (c *Lightsail) CreateDomainEntry(input *CreateDomainEntryInput) (*CreateDomainEntryOutput, error) { + req, out := c.CreateDomainEntryRequest(input) return out, req.Send() } -// DeleteDomainEntryWithContext is the same as DeleteDomainEntry with the addition of +// CreateDomainEntryWithContext is the same as CreateDomainEntry with the addition of // the ability to pass a context and additional request options. // -// See DeleteDomainEntry for details on how to use this API operation. +// See CreateDomainEntry for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) DeleteDomainEntryWithContext(ctx aws.Context, input *DeleteDomainEntryInput, opts ...request.Option) (*DeleteDomainEntryOutput, error) { - req, out := c.DeleteDomainEntryRequest(input) +func (c *Lightsail) CreateDomainEntryWithContext(ctx aws.Context, input *CreateDomainEntryInput, opts ...request.Option) (*CreateDomainEntryOutput, error) { + req, out := c.CreateDomainEntryRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteInstance = "DeleteInstance" +const opCreateInstanceSnapshot = "CreateInstanceSnapshot" -// DeleteInstanceRequest generates a "aws/request.Request" representing the -// client's request for the DeleteInstance operation. The "output" return +// CreateInstanceSnapshotRequest generates a "aws/request.Request" representing the +// client's request for the CreateInstanceSnapshot operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteInstance for more information on using the DeleteInstance +// See CreateInstanceSnapshot for more information on using the CreateInstanceSnapshot // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeleteInstanceRequest method. -// req, resp := client.DeleteInstanceRequest(params) +// // Example sending a request using the CreateInstanceSnapshotRequest method. +// req, resp := client.CreateInstanceSnapshotRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstance -func (c *Lightsail) DeleteInstanceRequest(input *DeleteInstanceInput) (req *request.Request, output *DeleteInstanceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshot +func (c *Lightsail) CreateInstanceSnapshotRequest(input *CreateInstanceSnapshotInput) (req *request.Request, output *CreateInstanceSnapshotOutput) { op := &request.Operation{ - Name: opDeleteInstance, + Name: opCreateInstanceSnapshot, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DeleteInstanceInput{} + input = &CreateInstanceSnapshotInput{} } - output = &DeleteInstanceOutput{} + output = &CreateInstanceSnapshotOutput{} req = c.newRequest(op, input, output) return } -// DeleteInstance API operation for Amazon Lightsail. +// CreateInstanceSnapshot API operation for Amazon Lightsail. // -// Deletes a specific Amazon Lightsail virtual private server, or instance. +// Creates a snapshot of a specific virtual private server, or instance. You +// can use a snapshot to create a new instance that is based on that snapshot. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation DeleteInstance for usage and error information. +// API operation CreateInstanceSnapshot for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -1239,80 +1260,80 @@ func (c *Lightsail) DeleteInstanceRequest(input *DeleteInstanceInput) (req *requ // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstance -func (c *Lightsail) DeleteInstance(input *DeleteInstanceInput) (*DeleteInstanceOutput, error) { - req, out := c.DeleteInstanceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshot +func (c *Lightsail) CreateInstanceSnapshot(input *CreateInstanceSnapshotInput) (*CreateInstanceSnapshotOutput, error) { + req, out := c.CreateInstanceSnapshotRequest(input) return out, req.Send() } -// DeleteInstanceWithContext is the same as DeleteInstance with the addition of +// CreateInstanceSnapshotWithContext is the same as CreateInstanceSnapshot with the addition of // the ability to pass a context and additional request options. // -// See DeleteInstance for details on how to use this API operation. +// See CreateInstanceSnapshot for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) DeleteInstanceWithContext(ctx aws.Context, input *DeleteInstanceInput, opts ...request.Option) (*DeleteInstanceOutput, error) { - req, out := c.DeleteInstanceRequest(input) +func (c *Lightsail) CreateInstanceSnapshotWithContext(ctx aws.Context, input *CreateInstanceSnapshotInput, opts ...request.Option) (*CreateInstanceSnapshotOutput, error) { + req, out := c.CreateInstanceSnapshotRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteInstanceSnapshot = "DeleteInstanceSnapshot" +const opCreateInstances = "CreateInstances" -// DeleteInstanceSnapshotRequest generates a "aws/request.Request" representing the -// client's request for the DeleteInstanceSnapshot operation. The "output" return +// CreateInstancesRequest generates a "aws/request.Request" representing the +// client's request for the CreateInstances operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteInstanceSnapshot for more information on using the DeleteInstanceSnapshot +// See CreateInstances for more information on using the CreateInstances // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeleteInstanceSnapshotRequest method. -// req, resp := client.DeleteInstanceSnapshotRequest(params) +// // Example sending a request using the CreateInstancesRequest method. +// req, resp := client.CreateInstancesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshot -func (c *Lightsail) DeleteInstanceSnapshotRequest(input *DeleteInstanceSnapshotInput) (req *request.Request, output *DeleteInstanceSnapshotOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstances +func (c *Lightsail) CreateInstancesRequest(input *CreateInstancesInput) (req *request.Request, output *CreateInstancesOutput) { op := &request.Operation{ - Name: opDeleteInstanceSnapshot, + Name: opCreateInstances, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DeleteInstanceSnapshotInput{} + input = &CreateInstancesInput{} } - output = &DeleteInstanceSnapshotOutput{} + output = &CreateInstancesOutput{} req = c.newRequest(op, input, output) return } -// DeleteInstanceSnapshot API operation for Amazon Lightsail. +// CreateInstances API operation for Amazon Lightsail. // -// Deletes a specific snapshot of a virtual private server (or instance). +// Creates one or more Amazon Lightsail virtual private servers, or instances. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation DeleteInstanceSnapshot for usage and error information. +// API operation CreateInstances for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -1343,80 +1364,81 @@ func (c *Lightsail) DeleteInstanceSnapshotRequest(input *DeleteInstanceSnapshotI // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshot -func (c *Lightsail) DeleteInstanceSnapshot(input *DeleteInstanceSnapshotInput) (*DeleteInstanceSnapshotOutput, error) { - req, out := c.DeleteInstanceSnapshotRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstances +func (c *Lightsail) CreateInstances(input *CreateInstancesInput) (*CreateInstancesOutput, error) { + req, out := c.CreateInstancesRequest(input) return out, req.Send() } -// DeleteInstanceSnapshotWithContext is the same as DeleteInstanceSnapshot with the addition of +// CreateInstancesWithContext is the same as CreateInstances with the addition of // the ability to pass a context and additional request options. // -// See DeleteInstanceSnapshot for details on how to use this API operation. +// See CreateInstances for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) DeleteInstanceSnapshotWithContext(ctx aws.Context, input *DeleteInstanceSnapshotInput, opts ...request.Option) (*DeleteInstanceSnapshotOutput, error) { - req, out := c.DeleteInstanceSnapshotRequest(input) +func (c *Lightsail) CreateInstancesWithContext(ctx aws.Context, input *CreateInstancesInput, opts ...request.Option) (*CreateInstancesOutput, error) { + req, out := c.CreateInstancesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteKeyPair = "DeleteKeyPair" +const opCreateInstancesFromSnapshot = "CreateInstancesFromSnapshot" -// DeleteKeyPairRequest generates a "aws/request.Request" representing the -// client's request for the DeleteKeyPair operation. The "output" return +// CreateInstancesFromSnapshotRequest generates a "aws/request.Request" representing the +// client's request for the CreateInstancesFromSnapshot operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteKeyPair for more information on using the DeleteKeyPair +// See CreateInstancesFromSnapshot for more information on using the CreateInstancesFromSnapshot // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DeleteKeyPairRequest method. -// req, resp := client.DeleteKeyPairRequest(params) +// // Example sending a request using the CreateInstancesFromSnapshotRequest method. +// req, resp := client.CreateInstancesFromSnapshotRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPair -func (c *Lightsail) DeleteKeyPairRequest(input *DeleteKeyPairInput) (req *request.Request, output *DeleteKeyPairOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshot +func (c *Lightsail) CreateInstancesFromSnapshotRequest(input *CreateInstancesFromSnapshotInput) (req *request.Request, output *CreateInstancesFromSnapshotOutput) { op := &request.Operation{ - Name: opDeleteKeyPair, + Name: opCreateInstancesFromSnapshot, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DeleteKeyPairInput{} + input = &CreateInstancesFromSnapshotInput{} } - output = &DeleteKeyPairOutput{} + output = &CreateInstancesFromSnapshotOutput{} req = c.newRequest(op, input, output) return } -// DeleteKeyPair API operation for Amazon Lightsail. +// CreateInstancesFromSnapshot API operation for Amazon Lightsail. // -// Deletes a specific SSH key pair. +// Uses a specific snapshot as a blueprint for creating one or more new instances +// that are based on that identical configuration. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation DeleteKeyPair for usage and error information. +// API operation CreateInstancesFromSnapshot for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -1447,80 +1469,80 @@ func (c *Lightsail) DeleteKeyPairRequest(input *DeleteKeyPairInput) (req *reques // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPair -func (c *Lightsail) DeleteKeyPair(input *DeleteKeyPairInput) (*DeleteKeyPairOutput, error) { - req, out := c.DeleteKeyPairRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshot +func (c *Lightsail) CreateInstancesFromSnapshot(input *CreateInstancesFromSnapshotInput) (*CreateInstancesFromSnapshotOutput, error) { + req, out := c.CreateInstancesFromSnapshotRequest(input) return out, req.Send() } -// DeleteKeyPairWithContext is the same as DeleteKeyPair with the addition of +// CreateInstancesFromSnapshotWithContext is the same as CreateInstancesFromSnapshot with the addition of // the ability to pass a context and additional request options. // -// See DeleteKeyPair for details on how to use this API operation. +// See CreateInstancesFromSnapshot for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) DeleteKeyPairWithContext(ctx aws.Context, input *DeleteKeyPairInput, opts ...request.Option) (*DeleteKeyPairOutput, error) { - req, out := c.DeleteKeyPairRequest(input) +func (c *Lightsail) CreateInstancesFromSnapshotWithContext(ctx aws.Context, input *CreateInstancesFromSnapshotInput, opts ...request.Option) (*CreateInstancesFromSnapshotOutput, error) { + req, out := c.CreateInstancesFromSnapshotRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDetachStaticIp = "DetachStaticIp" +const opCreateKeyPair = "CreateKeyPair" -// DetachStaticIpRequest generates a "aws/request.Request" representing the -// client's request for the DetachStaticIp operation. The "output" return +// CreateKeyPairRequest generates a "aws/request.Request" representing the +// client's request for the CreateKeyPair operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DetachStaticIp for more information on using the DetachStaticIp +// See CreateKeyPair for more information on using the CreateKeyPair // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DetachStaticIpRequest method. -// req, resp := client.DetachStaticIpRequest(params) +// // Example sending a request using the CreateKeyPairRequest method. +// req, resp := client.CreateKeyPairRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIp -func (c *Lightsail) DetachStaticIpRequest(input *DetachStaticIpInput) (req *request.Request, output *DetachStaticIpOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPair +func (c *Lightsail) CreateKeyPairRequest(input *CreateKeyPairInput) (req *request.Request, output *CreateKeyPairOutput) { op := &request.Operation{ - Name: opDetachStaticIp, + Name: opCreateKeyPair, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DetachStaticIpInput{} + input = &CreateKeyPairInput{} } - output = &DetachStaticIpOutput{} + output = &CreateKeyPairOutput{} req = c.newRequest(op, input, output) return } -// DetachStaticIp API operation for Amazon Lightsail. +// CreateKeyPair API operation for Amazon Lightsail. // -// Detaches a static IP from the Amazon Lightsail instance to which it is attached. +// Creates sn SSH key pair. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation DetachStaticIp for usage and error information. +// API operation CreateKeyPair for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -1551,80 +1573,83 @@ func (c *Lightsail) DetachStaticIpRequest(input *DetachStaticIpInput) (req *requ // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIp -func (c *Lightsail) DetachStaticIp(input *DetachStaticIpInput) (*DetachStaticIpOutput, error) { - req, out := c.DetachStaticIpRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPair +func (c *Lightsail) CreateKeyPair(input *CreateKeyPairInput) (*CreateKeyPairOutput, error) { + req, out := c.CreateKeyPairRequest(input) return out, req.Send() } -// DetachStaticIpWithContext is the same as DetachStaticIp with the addition of +// CreateKeyPairWithContext is the same as CreateKeyPair with the addition of // the ability to pass a context and additional request options. // -// See DetachStaticIp for details on how to use this API operation. +// See CreateKeyPair for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) DetachStaticIpWithContext(ctx aws.Context, input *DetachStaticIpInput, opts ...request.Option) (*DetachStaticIpOutput, error) { - req, out := c.DetachStaticIpRequest(input) +func (c *Lightsail) CreateKeyPairWithContext(ctx aws.Context, input *CreateKeyPairInput, opts ...request.Option) (*CreateKeyPairOutput, error) { + req, out := c.CreateKeyPairRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDownloadDefaultKeyPair = "DownloadDefaultKeyPair" +const opCreateLoadBalancer = "CreateLoadBalancer" -// DownloadDefaultKeyPairRequest generates a "aws/request.Request" representing the -// client's request for the DownloadDefaultKeyPair operation. The "output" return +// CreateLoadBalancerRequest generates a "aws/request.Request" representing the +// client's request for the CreateLoadBalancer operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DownloadDefaultKeyPair for more information on using the DownloadDefaultKeyPair +// See CreateLoadBalancer for more information on using the CreateLoadBalancer // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DownloadDefaultKeyPairRequest method. -// req, resp := client.DownloadDefaultKeyPairRequest(params) +// // Example sending a request using the CreateLoadBalancerRequest method. +// req, resp := client.CreateLoadBalancerRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPair -func (c *Lightsail) DownloadDefaultKeyPairRequest(input *DownloadDefaultKeyPairInput) (req *request.Request, output *DownloadDefaultKeyPairOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancer +func (c *Lightsail) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *request.Request, output *CreateLoadBalancerOutput) { op := &request.Operation{ - Name: opDownloadDefaultKeyPair, + Name: opCreateLoadBalancer, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DownloadDefaultKeyPairInput{} + input = &CreateLoadBalancerInput{} } - output = &DownloadDefaultKeyPairOutput{} + output = &CreateLoadBalancerOutput{} req = c.newRequest(op, input, output) return } -// DownloadDefaultKeyPair API operation for Amazon Lightsail. +// CreateLoadBalancer API operation for Amazon Lightsail. // -// Downloads the default SSH key pair from the user's account. +// Creates a Lightsail load balancer. +// +// When you create a load balancer, you can specify certificates and port settings. +// You can create up to 5 load balancers per AWS Region in your account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation DownloadDefaultKeyPair for usage and error information. +// API operation CreateLoadBalancer for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -1655,80 +1680,82 @@ func (c *Lightsail) DownloadDefaultKeyPairRequest(input *DownloadDefaultKeyPairI // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPair -func (c *Lightsail) DownloadDefaultKeyPair(input *DownloadDefaultKeyPairInput) (*DownloadDefaultKeyPairOutput, error) { - req, out := c.DownloadDefaultKeyPairRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancer +func (c *Lightsail) CreateLoadBalancer(input *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error) { + req, out := c.CreateLoadBalancerRequest(input) return out, req.Send() } -// DownloadDefaultKeyPairWithContext is the same as DownloadDefaultKeyPair with the addition of +// CreateLoadBalancerWithContext is the same as CreateLoadBalancer with the addition of // the ability to pass a context and additional request options. // -// See DownloadDefaultKeyPair for details on how to use this API operation. +// See CreateLoadBalancer for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) DownloadDefaultKeyPairWithContext(ctx aws.Context, input *DownloadDefaultKeyPairInput, opts ...request.Option) (*DownloadDefaultKeyPairOutput, error) { - req, out := c.DownloadDefaultKeyPairRequest(input) +func (c *Lightsail) CreateLoadBalancerWithContext(ctx aws.Context, input *CreateLoadBalancerInput, opts ...request.Option) (*CreateLoadBalancerOutput, error) { + req, out := c.CreateLoadBalancerRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetActiveNames = "GetActiveNames" +const opCreateLoadBalancerTlsCertificate = "CreateLoadBalancerTlsCertificate" -// GetActiveNamesRequest generates a "aws/request.Request" representing the -// client's request for the GetActiveNames operation. The "output" return +// CreateLoadBalancerTlsCertificateRequest generates a "aws/request.Request" representing the +// client's request for the CreateLoadBalancerTlsCertificate operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetActiveNames for more information on using the GetActiveNames +// See CreateLoadBalancerTlsCertificate for more information on using the CreateLoadBalancerTlsCertificate // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetActiveNamesRequest method. -// req, resp := client.GetActiveNamesRequest(params) +// // Example sending a request using the CreateLoadBalancerTlsCertificateRequest method. +// req, resp := client.CreateLoadBalancerTlsCertificateRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNames -func (c *Lightsail) GetActiveNamesRequest(input *GetActiveNamesInput) (req *request.Request, output *GetActiveNamesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificate +func (c *Lightsail) CreateLoadBalancerTlsCertificateRequest(input *CreateLoadBalancerTlsCertificateInput) (req *request.Request, output *CreateLoadBalancerTlsCertificateOutput) { op := &request.Operation{ - Name: opGetActiveNames, + Name: opCreateLoadBalancerTlsCertificate, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetActiveNamesInput{} + input = &CreateLoadBalancerTlsCertificateInput{} } - output = &GetActiveNamesOutput{} + output = &CreateLoadBalancerTlsCertificateOutput{} req = c.newRequest(op, input, output) return } -// GetActiveNames API operation for Amazon Lightsail. +// CreateLoadBalancerTlsCertificate API operation for Amazon Lightsail. // -// Returns the names of all active (not deleted) resources. +// Creates a Lightsail load balancer TLS certificate. +// +// TLS is just an updated, more secure version of Secure Socket Layer (SSL). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetActiveNames for usage and error information. +// API operation CreateLoadBalancerTlsCertificate for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -1759,83 +1786,83 @@ func (c *Lightsail) GetActiveNamesRequest(input *GetActiveNamesInput) (req *requ // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNames -func (c *Lightsail) GetActiveNames(input *GetActiveNamesInput) (*GetActiveNamesOutput, error) { - req, out := c.GetActiveNamesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificate +func (c *Lightsail) CreateLoadBalancerTlsCertificate(input *CreateLoadBalancerTlsCertificateInput) (*CreateLoadBalancerTlsCertificateOutput, error) { + req, out := c.CreateLoadBalancerTlsCertificateRequest(input) return out, req.Send() } -// GetActiveNamesWithContext is the same as GetActiveNames with the addition of +// CreateLoadBalancerTlsCertificateWithContext is the same as CreateLoadBalancerTlsCertificate with the addition of // the ability to pass a context and additional request options. // -// See GetActiveNames for details on how to use this API operation. +// See CreateLoadBalancerTlsCertificate for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetActiveNamesWithContext(ctx aws.Context, input *GetActiveNamesInput, opts ...request.Option) (*GetActiveNamesOutput, error) { - req, out := c.GetActiveNamesRequest(input) +func (c *Lightsail) CreateLoadBalancerTlsCertificateWithContext(ctx aws.Context, input *CreateLoadBalancerTlsCertificateInput, opts ...request.Option) (*CreateLoadBalancerTlsCertificateOutput, error) { + req, out := c.CreateLoadBalancerTlsCertificateRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetBlueprints = "GetBlueprints" +const opDeleteDisk = "DeleteDisk" -// GetBlueprintsRequest generates a "aws/request.Request" representing the -// client's request for the GetBlueprints operation. The "output" return +// DeleteDiskRequest generates a "aws/request.Request" representing the +// client's request for the DeleteDisk operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetBlueprints for more information on using the GetBlueprints +// See DeleteDisk for more information on using the DeleteDisk // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetBlueprintsRequest method. -// req, resp := client.GetBlueprintsRequest(params) +// // Example sending a request using the DeleteDiskRequest method. +// req, resp := client.DeleteDiskRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprints -func (c *Lightsail) GetBlueprintsRequest(input *GetBlueprintsInput) (req *request.Request, output *GetBlueprintsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDisk +func (c *Lightsail) DeleteDiskRequest(input *DeleteDiskInput) (req *request.Request, output *DeleteDiskOutput) { op := &request.Operation{ - Name: opGetBlueprints, + Name: opDeleteDisk, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetBlueprintsInput{} + input = &DeleteDiskInput{} } - output = &GetBlueprintsOutput{} + output = &DeleteDiskOutput{} req = c.newRequest(op, input, output) return } -// GetBlueprints API operation for Amazon Lightsail. +// DeleteDisk API operation for Amazon Lightsail. // -// Returns the list of available instance images, or blueprints. You can use -// a blueprint to create a new virtual private server already running a specific -// operating system, as well as a preinstalled app or development stack. The -// software each instance is running depends on the blueprint image you choose. +// Deletes the specified block storage disk. The disk must be in the available +// state (not attached to a Lightsail instance). +// +// The disk may remain in the deleting state for several minutes. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetBlueprints for usage and error information. +// API operation DeleteDisk for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -1866,81 +1893,87 @@ func (c *Lightsail) GetBlueprintsRequest(input *GetBlueprintsInput) (req *reques // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprints -func (c *Lightsail) GetBlueprints(input *GetBlueprintsInput) (*GetBlueprintsOutput, error) { - req, out := c.GetBlueprintsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDisk +func (c *Lightsail) DeleteDisk(input *DeleteDiskInput) (*DeleteDiskOutput, error) { + req, out := c.DeleteDiskRequest(input) return out, req.Send() } -// GetBlueprintsWithContext is the same as GetBlueprints with the addition of +// DeleteDiskWithContext is the same as DeleteDisk with the addition of // the ability to pass a context and additional request options. // -// See GetBlueprints for details on how to use this API operation. +// See DeleteDisk for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetBlueprintsWithContext(ctx aws.Context, input *GetBlueprintsInput, opts ...request.Option) (*GetBlueprintsOutput, error) { - req, out := c.GetBlueprintsRequest(input) +func (c *Lightsail) DeleteDiskWithContext(ctx aws.Context, input *DeleteDiskInput, opts ...request.Option) (*DeleteDiskOutput, error) { + req, out := c.DeleteDiskRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetBundles = "GetBundles" +const opDeleteDiskSnapshot = "DeleteDiskSnapshot" -// GetBundlesRequest generates a "aws/request.Request" representing the -// client's request for the GetBundles operation. The "output" return +// DeleteDiskSnapshotRequest generates a "aws/request.Request" representing the +// client's request for the DeleteDiskSnapshot operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetBundles for more information on using the GetBundles +// See DeleteDiskSnapshot for more information on using the DeleteDiskSnapshot // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetBundlesRequest method. -// req, resp := client.GetBundlesRequest(params) +// // Example sending a request using the DeleteDiskSnapshotRequest method. +// req, resp := client.DeleteDiskSnapshotRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundles -func (c *Lightsail) GetBundlesRequest(input *GetBundlesInput) (req *request.Request, output *GetBundlesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshot +func (c *Lightsail) DeleteDiskSnapshotRequest(input *DeleteDiskSnapshotInput) (req *request.Request, output *DeleteDiskSnapshotOutput) { op := &request.Operation{ - Name: opGetBundles, + Name: opDeleteDiskSnapshot, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetBundlesInput{} + input = &DeleteDiskSnapshotInput{} } - output = &GetBundlesOutput{} + output = &DeleteDiskSnapshotOutput{} req = c.newRequest(op, input, output) return } -// GetBundles API operation for Amazon Lightsail. +// DeleteDiskSnapshot API operation for Amazon Lightsail. // -// Returns the list of bundles that are available for purchase. A bundle describes -// the specs for your virtual private server (or instance). +// Deletes the specified disk snapshot. +// +// When you make periodic snapshots of a disk, the snapshots are incremental, +// and only the blocks on the device that have changed since your last snapshot +// are saved in the new snapshot. When you delete a snapshot, only the data +// not needed for any other snapshot is removed. So regardless of which prior +// snapshots have been deleted, all active snapshots will have access to all +// the information needed to restore the disk. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetBundles for usage and error information. +// API operation DeleteDiskSnapshot for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -1971,80 +2004,80 @@ func (c *Lightsail) GetBundlesRequest(input *GetBundlesInput) (req *request.Requ // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundles -func (c *Lightsail) GetBundles(input *GetBundlesInput) (*GetBundlesOutput, error) { - req, out := c.GetBundlesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshot +func (c *Lightsail) DeleteDiskSnapshot(input *DeleteDiskSnapshotInput) (*DeleteDiskSnapshotOutput, error) { + req, out := c.DeleteDiskSnapshotRequest(input) return out, req.Send() } -// GetBundlesWithContext is the same as GetBundles with the addition of +// DeleteDiskSnapshotWithContext is the same as DeleteDiskSnapshot with the addition of // the ability to pass a context and additional request options. // -// See GetBundles for details on how to use this API operation. +// See DeleteDiskSnapshot for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetBundlesWithContext(ctx aws.Context, input *GetBundlesInput, opts ...request.Option) (*GetBundlesOutput, error) { - req, out := c.GetBundlesRequest(input) +func (c *Lightsail) DeleteDiskSnapshotWithContext(ctx aws.Context, input *DeleteDiskSnapshotInput, opts ...request.Option) (*DeleteDiskSnapshotOutput, error) { + req, out := c.DeleteDiskSnapshotRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetDomain = "GetDomain" +const opDeleteDomain = "DeleteDomain" -// GetDomainRequest generates a "aws/request.Request" representing the -// client's request for the GetDomain operation. The "output" return +// DeleteDomainRequest generates a "aws/request.Request" representing the +// client's request for the DeleteDomain operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetDomain for more information on using the GetDomain +// See DeleteDomain for more information on using the DeleteDomain // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetDomainRequest method. -// req, resp := client.GetDomainRequest(params) +// // Example sending a request using the DeleteDomainRequest method. +// req, resp := client.DeleteDomainRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomain -func (c *Lightsail) GetDomainRequest(input *GetDomainInput) (req *request.Request, output *GetDomainOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomain +func (c *Lightsail) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) { op := &request.Operation{ - Name: opGetDomain, + Name: opDeleteDomain, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetDomainInput{} + input = &DeleteDomainInput{} } - output = &GetDomainOutput{} + output = &DeleteDomainOutput{} req = c.newRequest(op, input, output) return } -// GetDomain API operation for Amazon Lightsail. +// DeleteDomain API operation for Amazon Lightsail. // -// Returns information about a specific domain recordset. +// Deletes the specified domain recordset and all of its domain records. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetDomain for usage and error information. +// API operation DeleteDomain for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -2075,80 +2108,80 @@ func (c *Lightsail) GetDomainRequest(input *GetDomainInput) (req *request.Reques // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomain -func (c *Lightsail) GetDomain(input *GetDomainInput) (*GetDomainOutput, error) { - req, out := c.GetDomainRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomain +func (c *Lightsail) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) { + req, out := c.DeleteDomainRequest(input) return out, req.Send() } -// GetDomainWithContext is the same as GetDomain with the addition of +// DeleteDomainWithContext is the same as DeleteDomain with the addition of // the ability to pass a context and additional request options. // -// See GetDomain for details on how to use this API operation. +// See DeleteDomain for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetDomainWithContext(ctx aws.Context, input *GetDomainInput, opts ...request.Option) (*GetDomainOutput, error) { - req, out := c.GetDomainRequest(input) +func (c *Lightsail) DeleteDomainWithContext(ctx aws.Context, input *DeleteDomainInput, opts ...request.Option) (*DeleteDomainOutput, error) { + req, out := c.DeleteDomainRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetDomains = "GetDomains" +const opDeleteDomainEntry = "DeleteDomainEntry" -// GetDomainsRequest generates a "aws/request.Request" representing the -// client's request for the GetDomains operation. The "output" return +// DeleteDomainEntryRequest generates a "aws/request.Request" representing the +// client's request for the DeleteDomainEntry operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetDomains for more information on using the GetDomains +// See DeleteDomainEntry for more information on using the DeleteDomainEntry // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetDomainsRequest method. -// req, resp := client.GetDomainsRequest(params) +// // Example sending a request using the DeleteDomainEntryRequest method. +// req, resp := client.DeleteDomainEntryRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomains -func (c *Lightsail) GetDomainsRequest(input *GetDomainsInput) (req *request.Request, output *GetDomainsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntry +func (c *Lightsail) DeleteDomainEntryRequest(input *DeleteDomainEntryInput) (req *request.Request, output *DeleteDomainEntryOutput) { op := &request.Operation{ - Name: opGetDomains, + Name: opDeleteDomainEntry, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetDomainsInput{} + input = &DeleteDomainEntryInput{} } - output = &GetDomainsOutput{} + output = &DeleteDomainEntryOutput{} req = c.newRequest(op, input, output) return } -// GetDomains API operation for Amazon Lightsail. +// DeleteDomainEntry API operation for Amazon Lightsail. // -// Returns a list of all domains in the user's account. +// Deletes a specific domain entry. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetDomains for usage and error information. +// API operation DeleteDomainEntry for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -2179,81 +2212,80 @@ func (c *Lightsail) GetDomainsRequest(input *GetDomainsInput) (req *request.Requ // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomains -func (c *Lightsail) GetDomains(input *GetDomainsInput) (*GetDomainsOutput, error) { - req, out := c.GetDomainsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntry +func (c *Lightsail) DeleteDomainEntry(input *DeleteDomainEntryInput) (*DeleteDomainEntryOutput, error) { + req, out := c.DeleteDomainEntryRequest(input) return out, req.Send() } -// GetDomainsWithContext is the same as GetDomains with the addition of +// DeleteDomainEntryWithContext is the same as DeleteDomainEntry with the addition of // the ability to pass a context and additional request options. // -// See GetDomains for details on how to use this API operation. +// See DeleteDomainEntry for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetDomainsWithContext(ctx aws.Context, input *GetDomainsInput, opts ...request.Option) (*GetDomainsOutput, error) { - req, out := c.GetDomainsRequest(input) +func (c *Lightsail) DeleteDomainEntryWithContext(ctx aws.Context, input *DeleteDomainEntryInput, opts ...request.Option) (*DeleteDomainEntryOutput, error) { + req, out := c.DeleteDomainEntryRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetInstance = "GetInstance" +const opDeleteInstance = "DeleteInstance" -// GetInstanceRequest generates a "aws/request.Request" representing the -// client's request for the GetInstance operation. The "output" return +// DeleteInstanceRequest generates a "aws/request.Request" representing the +// client's request for the DeleteInstance operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetInstance for more information on using the GetInstance +// See DeleteInstance for more information on using the DeleteInstance // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetInstanceRequest method. -// req, resp := client.GetInstanceRequest(params) +// // Example sending a request using the DeleteInstanceRequest method. +// req, resp := client.DeleteInstanceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstance -func (c *Lightsail) GetInstanceRequest(input *GetInstanceInput) (req *request.Request, output *GetInstanceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstance +func (c *Lightsail) DeleteInstanceRequest(input *DeleteInstanceInput) (req *request.Request, output *DeleteInstanceOutput) { op := &request.Operation{ - Name: opGetInstance, + Name: opDeleteInstance, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetInstanceInput{} + input = &DeleteInstanceInput{} } - output = &GetInstanceOutput{} + output = &DeleteInstanceOutput{} req = c.newRequest(op, input, output) return } -// GetInstance API operation for Amazon Lightsail. +// DeleteInstance API operation for Amazon Lightsail. // -// Returns information about a specific Amazon Lightsail instance, which is -// a virtual private server. +// Deletes a specific Amazon Lightsail virtual private server, or instance. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetInstance for usage and error information. +// API operation DeleteInstance for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -2284,81 +2316,80 @@ func (c *Lightsail) GetInstanceRequest(input *GetInstanceInput) (req *request.Re // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstance -func (c *Lightsail) GetInstance(input *GetInstanceInput) (*GetInstanceOutput, error) { - req, out := c.GetInstanceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstance +func (c *Lightsail) DeleteInstance(input *DeleteInstanceInput) (*DeleteInstanceOutput, error) { + req, out := c.DeleteInstanceRequest(input) return out, req.Send() } -// GetInstanceWithContext is the same as GetInstance with the addition of +// DeleteInstanceWithContext is the same as DeleteInstance with the addition of // the ability to pass a context and additional request options. // -// See GetInstance for details on how to use this API operation. +// See DeleteInstance for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetInstanceWithContext(ctx aws.Context, input *GetInstanceInput, opts ...request.Option) (*GetInstanceOutput, error) { - req, out := c.GetInstanceRequest(input) +func (c *Lightsail) DeleteInstanceWithContext(ctx aws.Context, input *DeleteInstanceInput, opts ...request.Option) (*DeleteInstanceOutput, error) { + req, out := c.DeleteInstanceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetInstanceAccessDetails = "GetInstanceAccessDetails" +const opDeleteInstanceSnapshot = "DeleteInstanceSnapshot" -// GetInstanceAccessDetailsRequest generates a "aws/request.Request" representing the -// client's request for the GetInstanceAccessDetails operation. The "output" return +// DeleteInstanceSnapshotRequest generates a "aws/request.Request" representing the +// client's request for the DeleteInstanceSnapshot operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetInstanceAccessDetails for more information on using the GetInstanceAccessDetails +// See DeleteInstanceSnapshot for more information on using the DeleteInstanceSnapshot // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetInstanceAccessDetailsRequest method. -// req, resp := client.GetInstanceAccessDetailsRequest(params) +// // Example sending a request using the DeleteInstanceSnapshotRequest method. +// req, resp := client.DeleteInstanceSnapshotRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetails -func (c *Lightsail) GetInstanceAccessDetailsRequest(input *GetInstanceAccessDetailsInput) (req *request.Request, output *GetInstanceAccessDetailsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshot +func (c *Lightsail) DeleteInstanceSnapshotRequest(input *DeleteInstanceSnapshotInput) (req *request.Request, output *DeleteInstanceSnapshotOutput) { op := &request.Operation{ - Name: opGetInstanceAccessDetails, + Name: opDeleteInstanceSnapshot, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetInstanceAccessDetailsInput{} + input = &DeleteInstanceSnapshotInput{} } - output = &GetInstanceAccessDetailsOutput{} + output = &DeleteInstanceSnapshotOutput{} req = c.newRequest(op, input, output) return } -// GetInstanceAccessDetails API operation for Amazon Lightsail. +// DeleteInstanceSnapshot API operation for Amazon Lightsail. // -// Returns temporary SSH keys you can use to connect to a specific virtual private -// server, or instance. +// Deletes a specific snapshot of a virtual private server (or instance). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetInstanceAccessDetails for usage and error information. +// API operation DeleteInstanceSnapshot for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -2389,81 +2420,80 @@ func (c *Lightsail) GetInstanceAccessDetailsRequest(input *GetInstanceAccessDeta // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetails -func (c *Lightsail) GetInstanceAccessDetails(input *GetInstanceAccessDetailsInput) (*GetInstanceAccessDetailsOutput, error) { - req, out := c.GetInstanceAccessDetailsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshot +func (c *Lightsail) DeleteInstanceSnapshot(input *DeleteInstanceSnapshotInput) (*DeleteInstanceSnapshotOutput, error) { + req, out := c.DeleteInstanceSnapshotRequest(input) return out, req.Send() } -// GetInstanceAccessDetailsWithContext is the same as GetInstanceAccessDetails with the addition of +// DeleteInstanceSnapshotWithContext is the same as DeleteInstanceSnapshot with the addition of // the ability to pass a context and additional request options. // -// See GetInstanceAccessDetails for details on how to use this API operation. +// See DeleteInstanceSnapshot for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetInstanceAccessDetailsWithContext(ctx aws.Context, input *GetInstanceAccessDetailsInput, opts ...request.Option) (*GetInstanceAccessDetailsOutput, error) { - req, out := c.GetInstanceAccessDetailsRequest(input) +func (c *Lightsail) DeleteInstanceSnapshotWithContext(ctx aws.Context, input *DeleteInstanceSnapshotInput, opts ...request.Option) (*DeleteInstanceSnapshotOutput, error) { + req, out := c.DeleteInstanceSnapshotRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetInstanceMetricData = "GetInstanceMetricData" +const opDeleteKeyPair = "DeleteKeyPair" -// GetInstanceMetricDataRequest generates a "aws/request.Request" representing the -// client's request for the GetInstanceMetricData operation. The "output" return +// DeleteKeyPairRequest generates a "aws/request.Request" representing the +// client's request for the DeleteKeyPair operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetInstanceMetricData for more information on using the GetInstanceMetricData +// See DeleteKeyPair for more information on using the DeleteKeyPair // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetInstanceMetricDataRequest method. -// req, resp := client.GetInstanceMetricDataRequest(params) +// // Example sending a request using the DeleteKeyPairRequest method. +// req, resp := client.DeleteKeyPairRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricData -func (c *Lightsail) GetInstanceMetricDataRequest(input *GetInstanceMetricDataInput) (req *request.Request, output *GetInstanceMetricDataOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPair +func (c *Lightsail) DeleteKeyPairRequest(input *DeleteKeyPairInput) (req *request.Request, output *DeleteKeyPairOutput) { op := &request.Operation{ - Name: opGetInstanceMetricData, + Name: opDeleteKeyPair, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetInstanceMetricDataInput{} + input = &DeleteKeyPairInput{} } - output = &GetInstanceMetricDataOutput{} + output = &DeleteKeyPairOutput{} req = c.newRequest(op, input, output) return } -// GetInstanceMetricData API operation for Amazon Lightsail. +// DeleteKeyPair API operation for Amazon Lightsail. // -// Returns the data points for the specified Amazon Lightsail instance metric, -// given an instance name. +// Deletes a specific SSH key pair. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetInstanceMetricData for usage and error information. +// API operation DeleteKeyPair for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -2494,80 +2524,80 @@ func (c *Lightsail) GetInstanceMetricDataRequest(input *GetInstanceMetricDataInp // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricData -func (c *Lightsail) GetInstanceMetricData(input *GetInstanceMetricDataInput) (*GetInstanceMetricDataOutput, error) { - req, out := c.GetInstanceMetricDataRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPair +func (c *Lightsail) DeleteKeyPair(input *DeleteKeyPairInput) (*DeleteKeyPairOutput, error) { + req, out := c.DeleteKeyPairRequest(input) return out, req.Send() } -// GetInstanceMetricDataWithContext is the same as GetInstanceMetricData with the addition of +// DeleteKeyPairWithContext is the same as DeleteKeyPair with the addition of // the ability to pass a context and additional request options. // -// See GetInstanceMetricData for details on how to use this API operation. +// See DeleteKeyPair for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetInstanceMetricDataWithContext(ctx aws.Context, input *GetInstanceMetricDataInput, opts ...request.Option) (*GetInstanceMetricDataOutput, error) { - req, out := c.GetInstanceMetricDataRequest(input) +func (c *Lightsail) DeleteKeyPairWithContext(ctx aws.Context, input *DeleteKeyPairInput, opts ...request.Option) (*DeleteKeyPairOutput, error) { + req, out := c.DeleteKeyPairRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetInstancePortStates = "GetInstancePortStates" +const opDeleteLoadBalancer = "DeleteLoadBalancer" -// GetInstancePortStatesRequest generates a "aws/request.Request" representing the -// client's request for the GetInstancePortStates operation. The "output" return +// DeleteLoadBalancerRequest generates a "aws/request.Request" representing the +// client's request for the DeleteLoadBalancer operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetInstancePortStates for more information on using the GetInstancePortStates +// See DeleteLoadBalancer for more information on using the DeleteLoadBalancer // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetInstancePortStatesRequest method. -// req, resp := client.GetInstancePortStatesRequest(params) +// // Example sending a request using the DeleteLoadBalancerRequest method. +// req, resp := client.DeleteLoadBalancerRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStates -func (c *Lightsail) GetInstancePortStatesRequest(input *GetInstancePortStatesInput) (req *request.Request, output *GetInstancePortStatesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancer +func (c *Lightsail) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req *request.Request, output *DeleteLoadBalancerOutput) { op := &request.Operation{ - Name: opGetInstancePortStates, + Name: opDeleteLoadBalancer, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetInstancePortStatesInput{} + input = &DeleteLoadBalancerInput{} } - output = &GetInstancePortStatesOutput{} + output = &DeleteLoadBalancerOutput{} req = c.newRequest(op, input, output) return } -// GetInstancePortStates API operation for Amazon Lightsail. +// DeleteLoadBalancer API operation for Amazon Lightsail. // -// Returns the port states for a specific virtual private server, or instance. +// Deletes a Lightsail load balancer. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetInstancePortStates for usage and error information. +// API operation DeleteLoadBalancer for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -2598,80 +2628,80 @@ func (c *Lightsail) GetInstancePortStatesRequest(input *GetInstancePortStatesInp // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStates -func (c *Lightsail) GetInstancePortStates(input *GetInstancePortStatesInput) (*GetInstancePortStatesOutput, error) { - req, out := c.GetInstancePortStatesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancer +func (c *Lightsail) DeleteLoadBalancer(input *DeleteLoadBalancerInput) (*DeleteLoadBalancerOutput, error) { + req, out := c.DeleteLoadBalancerRequest(input) return out, req.Send() } -// GetInstancePortStatesWithContext is the same as GetInstancePortStates with the addition of +// DeleteLoadBalancerWithContext is the same as DeleteLoadBalancer with the addition of // the ability to pass a context and additional request options. // -// See GetInstancePortStates for details on how to use this API operation. +// See DeleteLoadBalancer for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetInstancePortStatesWithContext(ctx aws.Context, input *GetInstancePortStatesInput, opts ...request.Option) (*GetInstancePortStatesOutput, error) { - req, out := c.GetInstancePortStatesRequest(input) +func (c *Lightsail) DeleteLoadBalancerWithContext(ctx aws.Context, input *DeleteLoadBalancerInput, opts ...request.Option) (*DeleteLoadBalancerOutput, error) { + req, out := c.DeleteLoadBalancerRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetInstanceSnapshot = "GetInstanceSnapshot" +const opDeleteLoadBalancerTlsCertificate = "DeleteLoadBalancerTlsCertificate" -// GetInstanceSnapshotRequest generates a "aws/request.Request" representing the -// client's request for the GetInstanceSnapshot operation. The "output" return +// DeleteLoadBalancerTlsCertificateRequest generates a "aws/request.Request" representing the +// client's request for the DeleteLoadBalancerTlsCertificate operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetInstanceSnapshot for more information on using the GetInstanceSnapshot +// See DeleteLoadBalancerTlsCertificate for more information on using the DeleteLoadBalancerTlsCertificate // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetInstanceSnapshotRequest method. -// req, resp := client.GetInstanceSnapshotRequest(params) +// // Example sending a request using the DeleteLoadBalancerTlsCertificateRequest method. +// req, resp := client.DeleteLoadBalancerTlsCertificateRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshot -func (c *Lightsail) GetInstanceSnapshotRequest(input *GetInstanceSnapshotInput) (req *request.Request, output *GetInstanceSnapshotOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificate +func (c *Lightsail) DeleteLoadBalancerTlsCertificateRequest(input *DeleteLoadBalancerTlsCertificateInput) (req *request.Request, output *DeleteLoadBalancerTlsCertificateOutput) { op := &request.Operation{ - Name: opGetInstanceSnapshot, + Name: opDeleteLoadBalancerTlsCertificate, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetInstanceSnapshotInput{} + input = &DeleteLoadBalancerTlsCertificateInput{} } - output = &GetInstanceSnapshotOutput{} + output = &DeleteLoadBalancerTlsCertificateOutput{} req = c.newRequest(op, input, output) return } -// GetInstanceSnapshot API operation for Amazon Lightsail. +// DeleteLoadBalancerTlsCertificate API operation for Amazon Lightsail. // -// Returns information about a specific instance snapshot. +// Deletes a TLS/SSL certificate associated with a Lightsail load balancer. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetInstanceSnapshot for usage and error information. +// API operation DeleteLoadBalancerTlsCertificate for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -2702,80 +2732,82 @@ func (c *Lightsail) GetInstanceSnapshotRequest(input *GetInstanceSnapshotInput) // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshot -func (c *Lightsail) GetInstanceSnapshot(input *GetInstanceSnapshotInput) (*GetInstanceSnapshotOutput, error) { - req, out := c.GetInstanceSnapshotRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificate +func (c *Lightsail) DeleteLoadBalancerTlsCertificate(input *DeleteLoadBalancerTlsCertificateInput) (*DeleteLoadBalancerTlsCertificateOutput, error) { + req, out := c.DeleteLoadBalancerTlsCertificateRequest(input) return out, req.Send() } -// GetInstanceSnapshotWithContext is the same as GetInstanceSnapshot with the addition of +// DeleteLoadBalancerTlsCertificateWithContext is the same as DeleteLoadBalancerTlsCertificate with the addition of // the ability to pass a context and additional request options. // -// See GetInstanceSnapshot for details on how to use this API operation. +// See DeleteLoadBalancerTlsCertificate for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetInstanceSnapshotWithContext(ctx aws.Context, input *GetInstanceSnapshotInput, opts ...request.Option) (*GetInstanceSnapshotOutput, error) { - req, out := c.GetInstanceSnapshotRequest(input) +func (c *Lightsail) DeleteLoadBalancerTlsCertificateWithContext(ctx aws.Context, input *DeleteLoadBalancerTlsCertificateInput, opts ...request.Option) (*DeleteLoadBalancerTlsCertificateOutput, error) { + req, out := c.DeleteLoadBalancerTlsCertificateRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetInstanceSnapshots = "GetInstanceSnapshots" +const opDetachDisk = "DetachDisk" -// GetInstanceSnapshotsRequest generates a "aws/request.Request" representing the -// client's request for the GetInstanceSnapshots operation. The "output" return +// DetachDiskRequest generates a "aws/request.Request" representing the +// client's request for the DetachDisk operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetInstanceSnapshots for more information on using the GetInstanceSnapshots +// See DetachDisk for more information on using the DetachDisk // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetInstanceSnapshotsRequest method. -// req, resp := client.GetInstanceSnapshotsRequest(params) +// // Example sending a request using the DetachDiskRequest method. +// req, resp := client.DetachDiskRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshots -func (c *Lightsail) GetInstanceSnapshotsRequest(input *GetInstanceSnapshotsInput) (req *request.Request, output *GetInstanceSnapshotsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDisk +func (c *Lightsail) DetachDiskRequest(input *DetachDiskInput) (req *request.Request, output *DetachDiskOutput) { op := &request.Operation{ - Name: opGetInstanceSnapshots, + Name: opDetachDisk, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetInstanceSnapshotsInput{} + input = &DetachDiskInput{} } - output = &GetInstanceSnapshotsOutput{} + output = &DetachDiskOutput{} req = c.newRequest(op, input, output) return } -// GetInstanceSnapshots API operation for Amazon Lightsail. +// DetachDisk API operation for Amazon Lightsail. // -// Returns all instance snapshots for the user's account. +// Detaches a stopped block storage disk from a Lightsail instance. Make sure +// to unmount any file systems on the device within your operating system before +// stopping the instance and detaching the disk. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetInstanceSnapshots for usage and error information. +// API operation DetachDisk for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -2806,80 +2838,80 @@ func (c *Lightsail) GetInstanceSnapshotsRequest(input *GetInstanceSnapshotsInput // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshots -func (c *Lightsail) GetInstanceSnapshots(input *GetInstanceSnapshotsInput) (*GetInstanceSnapshotsOutput, error) { - req, out := c.GetInstanceSnapshotsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDisk +func (c *Lightsail) DetachDisk(input *DetachDiskInput) (*DetachDiskOutput, error) { + req, out := c.DetachDiskRequest(input) return out, req.Send() } -// GetInstanceSnapshotsWithContext is the same as GetInstanceSnapshots with the addition of +// DetachDiskWithContext is the same as DetachDisk with the addition of // the ability to pass a context and additional request options. // -// See GetInstanceSnapshots for details on how to use this API operation. +// See DetachDisk for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetInstanceSnapshotsWithContext(ctx aws.Context, input *GetInstanceSnapshotsInput, opts ...request.Option) (*GetInstanceSnapshotsOutput, error) { - req, out := c.GetInstanceSnapshotsRequest(input) +func (c *Lightsail) DetachDiskWithContext(ctx aws.Context, input *DetachDiskInput, opts ...request.Option) (*DetachDiskOutput, error) { + req, out := c.DetachDiskRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetInstanceState = "GetInstanceState" +const opDetachInstancesFromLoadBalancer = "DetachInstancesFromLoadBalancer" -// GetInstanceStateRequest generates a "aws/request.Request" representing the -// client's request for the GetInstanceState operation. The "output" return +// DetachInstancesFromLoadBalancerRequest generates a "aws/request.Request" representing the +// client's request for the DetachInstancesFromLoadBalancer operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetInstanceState for more information on using the GetInstanceState +// See DetachInstancesFromLoadBalancer for more information on using the DetachInstancesFromLoadBalancer // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetInstanceStateRequest method. -// req, resp := client.GetInstanceStateRequest(params) +// // Example sending a request using the DetachInstancesFromLoadBalancerRequest method. +// req, resp := client.DetachInstancesFromLoadBalancerRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceState -func (c *Lightsail) GetInstanceStateRequest(input *GetInstanceStateInput) (req *request.Request, output *GetInstanceStateOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancer +func (c *Lightsail) DetachInstancesFromLoadBalancerRequest(input *DetachInstancesFromLoadBalancerInput) (req *request.Request, output *DetachInstancesFromLoadBalancerOutput) { op := &request.Operation{ - Name: opGetInstanceState, + Name: opDetachInstancesFromLoadBalancer, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetInstanceStateInput{} + input = &DetachInstancesFromLoadBalancerInput{} } - output = &GetInstanceStateOutput{} + output = &DetachInstancesFromLoadBalancerOutput{} req = c.newRequest(op, input, output) return } -// GetInstanceState API operation for Amazon Lightsail. +// DetachInstancesFromLoadBalancer API operation for Amazon Lightsail. // -// Returns the state of a specific instance. Works on one instance at a time. +// Detaches the specified instances from a Lightsail load balancer. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetInstanceState for usage and error information. +// API operation DetachInstancesFromLoadBalancer for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -2910,81 +2942,80 @@ func (c *Lightsail) GetInstanceStateRequest(input *GetInstanceStateInput) (req * // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceState -func (c *Lightsail) GetInstanceState(input *GetInstanceStateInput) (*GetInstanceStateOutput, error) { - req, out := c.GetInstanceStateRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancer +func (c *Lightsail) DetachInstancesFromLoadBalancer(input *DetachInstancesFromLoadBalancerInput) (*DetachInstancesFromLoadBalancerOutput, error) { + req, out := c.DetachInstancesFromLoadBalancerRequest(input) return out, req.Send() } -// GetInstanceStateWithContext is the same as GetInstanceState with the addition of +// DetachInstancesFromLoadBalancerWithContext is the same as DetachInstancesFromLoadBalancer with the addition of // the ability to pass a context and additional request options. // -// See GetInstanceState for details on how to use this API operation. +// See DetachInstancesFromLoadBalancer for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetInstanceStateWithContext(ctx aws.Context, input *GetInstanceStateInput, opts ...request.Option) (*GetInstanceStateOutput, error) { - req, out := c.GetInstanceStateRequest(input) +func (c *Lightsail) DetachInstancesFromLoadBalancerWithContext(ctx aws.Context, input *DetachInstancesFromLoadBalancerInput, opts ...request.Option) (*DetachInstancesFromLoadBalancerOutput, error) { + req, out := c.DetachInstancesFromLoadBalancerRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetInstances = "GetInstances" +const opDetachStaticIp = "DetachStaticIp" -// GetInstancesRequest generates a "aws/request.Request" representing the -// client's request for the GetInstances operation. The "output" return +// DetachStaticIpRequest generates a "aws/request.Request" representing the +// client's request for the DetachStaticIp operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetInstances for more information on using the GetInstances +// See DetachStaticIp for more information on using the DetachStaticIp // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetInstancesRequest method. -// req, resp := client.GetInstancesRequest(params) +// // Example sending a request using the DetachStaticIpRequest method. +// req, resp := client.DetachStaticIpRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstances -func (c *Lightsail) GetInstancesRequest(input *GetInstancesInput) (req *request.Request, output *GetInstancesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIp +func (c *Lightsail) DetachStaticIpRequest(input *DetachStaticIpInput) (req *request.Request, output *DetachStaticIpOutput) { op := &request.Operation{ - Name: opGetInstances, + Name: opDetachStaticIp, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetInstancesInput{} + input = &DetachStaticIpInput{} } - output = &GetInstancesOutput{} + output = &DetachStaticIpOutput{} req = c.newRequest(op, input, output) return } -// GetInstances API operation for Amazon Lightsail. +// DetachStaticIp API operation for Amazon Lightsail. // -// Returns information about all Amazon Lightsail virtual private servers, or -// instances. +// Detaches a static IP from the Amazon Lightsail instance to which it is attached. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetInstances for usage and error information. +// API operation DetachStaticIp for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -3015,80 +3046,80 @@ func (c *Lightsail) GetInstancesRequest(input *GetInstancesInput) (req *request. // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstances -func (c *Lightsail) GetInstances(input *GetInstancesInput) (*GetInstancesOutput, error) { - req, out := c.GetInstancesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIp +func (c *Lightsail) DetachStaticIp(input *DetachStaticIpInput) (*DetachStaticIpOutput, error) { + req, out := c.DetachStaticIpRequest(input) return out, req.Send() } -// GetInstancesWithContext is the same as GetInstances with the addition of +// DetachStaticIpWithContext is the same as DetachStaticIp with the addition of // the ability to pass a context and additional request options. // -// See GetInstances for details on how to use this API operation. +// See DetachStaticIp for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetInstancesWithContext(ctx aws.Context, input *GetInstancesInput, opts ...request.Option) (*GetInstancesOutput, error) { - req, out := c.GetInstancesRequest(input) +func (c *Lightsail) DetachStaticIpWithContext(ctx aws.Context, input *DetachStaticIpInput, opts ...request.Option) (*DetachStaticIpOutput, error) { + req, out := c.DetachStaticIpRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetKeyPair = "GetKeyPair" +const opDownloadDefaultKeyPair = "DownloadDefaultKeyPair" -// GetKeyPairRequest generates a "aws/request.Request" representing the -// client's request for the GetKeyPair operation. The "output" return +// DownloadDefaultKeyPairRequest generates a "aws/request.Request" representing the +// client's request for the DownloadDefaultKeyPair operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetKeyPair for more information on using the GetKeyPair +// See DownloadDefaultKeyPair for more information on using the DownloadDefaultKeyPair // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetKeyPairRequest method. -// req, resp := client.GetKeyPairRequest(params) +// // Example sending a request using the DownloadDefaultKeyPairRequest method. +// req, resp := client.DownloadDefaultKeyPairRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPair -func (c *Lightsail) GetKeyPairRequest(input *GetKeyPairInput) (req *request.Request, output *GetKeyPairOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPair +func (c *Lightsail) DownloadDefaultKeyPairRequest(input *DownloadDefaultKeyPairInput) (req *request.Request, output *DownloadDefaultKeyPairOutput) { op := &request.Operation{ - Name: opGetKeyPair, + Name: opDownloadDefaultKeyPair, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetKeyPairInput{} + input = &DownloadDefaultKeyPairInput{} } - output = &GetKeyPairOutput{} + output = &DownloadDefaultKeyPairOutput{} req = c.newRequest(op, input, output) return } -// GetKeyPair API operation for Amazon Lightsail. +// DownloadDefaultKeyPair API operation for Amazon Lightsail. // -// Returns information about a specific key pair. +// Downloads the default SSH key pair from the user's account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetKeyPair for usage and error information. +// API operation DownloadDefaultKeyPair for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -3119,80 +3150,80 @@ func (c *Lightsail) GetKeyPairRequest(input *GetKeyPairInput) (req *request.Requ // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPair -func (c *Lightsail) GetKeyPair(input *GetKeyPairInput) (*GetKeyPairOutput, error) { - req, out := c.GetKeyPairRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPair +func (c *Lightsail) DownloadDefaultKeyPair(input *DownloadDefaultKeyPairInput) (*DownloadDefaultKeyPairOutput, error) { + req, out := c.DownloadDefaultKeyPairRequest(input) return out, req.Send() } -// GetKeyPairWithContext is the same as GetKeyPair with the addition of +// DownloadDefaultKeyPairWithContext is the same as DownloadDefaultKeyPair with the addition of // the ability to pass a context and additional request options. // -// See GetKeyPair for details on how to use this API operation. +// See DownloadDefaultKeyPair for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetKeyPairWithContext(ctx aws.Context, input *GetKeyPairInput, opts ...request.Option) (*GetKeyPairOutput, error) { - req, out := c.GetKeyPairRequest(input) +func (c *Lightsail) DownloadDefaultKeyPairWithContext(ctx aws.Context, input *DownloadDefaultKeyPairInput, opts ...request.Option) (*DownloadDefaultKeyPairOutput, error) { + req, out := c.DownloadDefaultKeyPairRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetKeyPairs = "GetKeyPairs" +const opGetActiveNames = "GetActiveNames" -// GetKeyPairsRequest generates a "aws/request.Request" representing the -// client's request for the GetKeyPairs operation. The "output" return +// GetActiveNamesRequest generates a "aws/request.Request" representing the +// client's request for the GetActiveNames operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetKeyPairs for more information on using the GetKeyPairs +// See GetActiveNames for more information on using the GetActiveNames // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetKeyPairsRequest method. -// req, resp := client.GetKeyPairsRequest(params) +// // Example sending a request using the GetActiveNamesRequest method. +// req, resp := client.GetActiveNamesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairs -func (c *Lightsail) GetKeyPairsRequest(input *GetKeyPairsInput) (req *request.Request, output *GetKeyPairsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNames +func (c *Lightsail) GetActiveNamesRequest(input *GetActiveNamesInput) (req *request.Request, output *GetActiveNamesOutput) { op := &request.Operation{ - Name: opGetKeyPairs, + Name: opGetActiveNames, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetKeyPairsInput{} + input = &GetActiveNamesInput{} } - output = &GetKeyPairsOutput{} + output = &GetActiveNamesOutput{} req = c.newRequest(op, input, output) return } -// GetKeyPairs API operation for Amazon Lightsail. +// GetActiveNames API operation for Amazon Lightsail. // -// Returns information about all key pairs in the user's account. +// Returns the names of all active (not deleted) resources. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetKeyPairs for usage and error information. +// API operation GetActiveNames for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -3223,82 +3254,83 @@ func (c *Lightsail) GetKeyPairsRequest(input *GetKeyPairsInput) (req *request.Re // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairs -func (c *Lightsail) GetKeyPairs(input *GetKeyPairsInput) (*GetKeyPairsOutput, error) { - req, out := c.GetKeyPairsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNames +func (c *Lightsail) GetActiveNames(input *GetActiveNamesInput) (*GetActiveNamesOutput, error) { + req, out := c.GetActiveNamesRequest(input) return out, req.Send() } -// GetKeyPairsWithContext is the same as GetKeyPairs with the addition of +// GetActiveNamesWithContext is the same as GetActiveNames with the addition of // the ability to pass a context and additional request options. // -// See GetKeyPairs for details on how to use this API operation. +// See GetActiveNames for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetKeyPairsWithContext(ctx aws.Context, input *GetKeyPairsInput, opts ...request.Option) (*GetKeyPairsOutput, error) { - req, out := c.GetKeyPairsRequest(input) +func (c *Lightsail) GetActiveNamesWithContext(ctx aws.Context, input *GetActiveNamesInput, opts ...request.Option) (*GetActiveNamesOutput, error) { + req, out := c.GetActiveNamesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetOperation = "GetOperation" +const opGetBlueprints = "GetBlueprints" -// GetOperationRequest generates a "aws/request.Request" representing the -// client's request for the GetOperation operation. The "output" return +// GetBlueprintsRequest generates a "aws/request.Request" representing the +// client's request for the GetBlueprints operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetOperation for more information on using the GetOperation +// See GetBlueprints for more information on using the GetBlueprints // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetOperationRequest method. -// req, resp := client.GetOperationRequest(params) +// // Example sending a request using the GetBlueprintsRequest method. +// req, resp := client.GetBlueprintsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperation -func (c *Lightsail) GetOperationRequest(input *GetOperationInput) (req *request.Request, output *GetOperationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprints +func (c *Lightsail) GetBlueprintsRequest(input *GetBlueprintsInput) (req *request.Request, output *GetBlueprintsOutput) { op := &request.Operation{ - Name: opGetOperation, + Name: opGetBlueprints, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetOperationInput{} + input = &GetBlueprintsInput{} } - output = &GetOperationOutput{} + output = &GetBlueprintsOutput{} req = c.newRequest(op, input, output) return } -// GetOperation API operation for Amazon Lightsail. +// GetBlueprints API operation for Amazon Lightsail. // -// Returns information about a specific operation. Operations include events -// such as when you create an instance, allocate a static IP, attach a static -// IP, and so on. +// Returns the list of available instance images, or blueprints. You can use +// a blueprint to create a new virtual private server already running a specific +// operating system, as well as a preinstalled app or development stack. The +// software each instance is running depends on the blueprint image you choose. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetOperation for usage and error information. +// API operation GetBlueprints for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -3329,84 +3361,81 @@ func (c *Lightsail) GetOperationRequest(input *GetOperationInput) (req *request. // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperation -func (c *Lightsail) GetOperation(input *GetOperationInput) (*GetOperationOutput, error) { - req, out := c.GetOperationRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprints +func (c *Lightsail) GetBlueprints(input *GetBlueprintsInput) (*GetBlueprintsOutput, error) { + req, out := c.GetBlueprintsRequest(input) return out, req.Send() } -// GetOperationWithContext is the same as GetOperation with the addition of +// GetBlueprintsWithContext is the same as GetBlueprints with the addition of // the ability to pass a context and additional request options. // -// See GetOperation for details on how to use this API operation. +// See GetBlueprints for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetOperationWithContext(ctx aws.Context, input *GetOperationInput, opts ...request.Option) (*GetOperationOutput, error) { - req, out := c.GetOperationRequest(input) +func (c *Lightsail) GetBlueprintsWithContext(ctx aws.Context, input *GetBlueprintsInput, opts ...request.Option) (*GetBlueprintsOutput, error) { + req, out := c.GetBlueprintsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetOperations = "GetOperations" +const opGetBundles = "GetBundles" -// GetOperationsRequest generates a "aws/request.Request" representing the -// client's request for the GetOperations operation. The "output" return +// GetBundlesRequest generates a "aws/request.Request" representing the +// client's request for the GetBundles operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetOperations for more information on using the GetOperations +// See GetBundles for more information on using the GetBundles // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetOperationsRequest method. -// req, resp := client.GetOperationsRequest(params) +// // Example sending a request using the GetBundlesRequest method. +// req, resp := client.GetBundlesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperations -func (c *Lightsail) GetOperationsRequest(input *GetOperationsInput) (req *request.Request, output *GetOperationsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundles +func (c *Lightsail) GetBundlesRequest(input *GetBundlesInput) (req *request.Request, output *GetBundlesOutput) { op := &request.Operation{ - Name: opGetOperations, + Name: opGetBundles, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetOperationsInput{} + input = &GetBundlesInput{} } - output = &GetOperationsOutput{} + output = &GetBundlesOutput{} req = c.newRequest(op, input, output) return } -// GetOperations API operation for Amazon Lightsail. -// -// Returns information about all operations. +// GetBundles API operation for Amazon Lightsail. // -// Results are returned from oldest to newest, up to a maximum of 200. Results -// can be paged by making each subsequent call to GetOperations use the maximum -// (last) statusChangedAt value from the previous request. +// Returns the list of bundles that are available for purchase. A bundle describes +// the specs for your virtual private server (or instance). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetOperations for usage and error information. +// API operation GetBundles for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -3437,80 +3466,80 @@ func (c *Lightsail) GetOperationsRequest(input *GetOperationsInput) (req *reques // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperations -func (c *Lightsail) GetOperations(input *GetOperationsInput) (*GetOperationsOutput, error) { - req, out := c.GetOperationsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundles +func (c *Lightsail) GetBundles(input *GetBundlesInput) (*GetBundlesOutput, error) { + req, out := c.GetBundlesRequest(input) return out, req.Send() } -// GetOperationsWithContext is the same as GetOperations with the addition of +// GetBundlesWithContext is the same as GetBundles with the addition of // the ability to pass a context and additional request options. // -// See GetOperations for details on how to use this API operation. +// See GetBundles for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetOperationsWithContext(ctx aws.Context, input *GetOperationsInput, opts ...request.Option) (*GetOperationsOutput, error) { - req, out := c.GetOperationsRequest(input) +func (c *Lightsail) GetBundlesWithContext(ctx aws.Context, input *GetBundlesInput, opts ...request.Option) (*GetBundlesOutput, error) { + req, out := c.GetBundlesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetOperationsForResource = "GetOperationsForResource" +const opGetDisk = "GetDisk" -// GetOperationsForResourceRequest generates a "aws/request.Request" representing the -// client's request for the GetOperationsForResource operation. The "output" return +// GetDiskRequest generates a "aws/request.Request" representing the +// client's request for the GetDisk operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetOperationsForResource for more information on using the GetOperationsForResource +// See GetDisk for more information on using the GetDisk // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetOperationsForResourceRequest method. -// req, resp := client.GetOperationsForResourceRequest(params) +// // Example sending a request using the GetDiskRequest method. +// req, resp := client.GetDiskRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResource -func (c *Lightsail) GetOperationsForResourceRequest(input *GetOperationsForResourceInput) (req *request.Request, output *GetOperationsForResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisk +func (c *Lightsail) GetDiskRequest(input *GetDiskInput) (req *request.Request, output *GetDiskOutput) { op := &request.Operation{ - Name: opGetOperationsForResource, + Name: opGetDisk, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetOperationsForResourceInput{} + input = &GetDiskInput{} } - output = &GetOperationsForResourceOutput{} + output = &GetDiskOutput{} req = c.newRequest(op, input, output) return } -// GetOperationsForResource API operation for Amazon Lightsail. +// GetDisk API operation for Amazon Lightsail. // -// Gets operations for a specific resource (e.g., an instance or a static IP). +// Returns information about a specific block storage disk. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetOperationsForResource for usage and error information. +// API operation GetDisk for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -3541,81 +3570,80 @@ func (c *Lightsail) GetOperationsForResourceRequest(input *GetOperationsForResou // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResource -func (c *Lightsail) GetOperationsForResource(input *GetOperationsForResourceInput) (*GetOperationsForResourceOutput, error) { - req, out := c.GetOperationsForResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisk +func (c *Lightsail) GetDisk(input *GetDiskInput) (*GetDiskOutput, error) { + req, out := c.GetDiskRequest(input) return out, req.Send() } -// GetOperationsForResourceWithContext is the same as GetOperationsForResource with the addition of +// GetDiskWithContext is the same as GetDisk with the addition of // the ability to pass a context and additional request options. // -// See GetOperationsForResource for details on how to use this API operation. +// See GetDisk for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetOperationsForResourceWithContext(ctx aws.Context, input *GetOperationsForResourceInput, opts ...request.Option) (*GetOperationsForResourceOutput, error) { - req, out := c.GetOperationsForResourceRequest(input) +func (c *Lightsail) GetDiskWithContext(ctx aws.Context, input *GetDiskInput, opts ...request.Option) (*GetDiskOutput, error) { + req, out := c.GetDiskRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetRegions = "GetRegions" +const opGetDiskSnapshot = "GetDiskSnapshot" -// GetRegionsRequest generates a "aws/request.Request" representing the -// client's request for the GetRegions operation. The "output" return +// GetDiskSnapshotRequest generates a "aws/request.Request" representing the +// client's request for the GetDiskSnapshot operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetRegions for more information on using the GetRegions +// See GetDiskSnapshot for more information on using the GetDiskSnapshot // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetRegionsRequest method. -// req, resp := client.GetRegionsRequest(params) +// // Example sending a request using the GetDiskSnapshotRequest method. +// req, resp := client.GetDiskSnapshotRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegions -func (c *Lightsail) GetRegionsRequest(input *GetRegionsInput) (req *request.Request, output *GetRegionsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshot +func (c *Lightsail) GetDiskSnapshotRequest(input *GetDiskSnapshotInput) (req *request.Request, output *GetDiskSnapshotOutput) { op := &request.Operation{ - Name: opGetRegions, + Name: opGetDiskSnapshot, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetRegionsInput{} + input = &GetDiskSnapshotInput{} } - output = &GetRegionsOutput{} + output = &GetDiskSnapshotOutput{} req = c.newRequest(op, input, output) return } -// GetRegions API operation for Amazon Lightsail. +// GetDiskSnapshot API operation for Amazon Lightsail. // -// Returns a list of all valid regions for Amazon Lightsail. Use the include -// availability zones parameter to also return the availability zones in a region. +// Returns information about a specific block storage disk snapshot. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetRegions for usage and error information. +// API operation GetDiskSnapshot for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -3646,80 +3674,85 @@ func (c *Lightsail) GetRegionsRequest(input *GetRegionsInput) (req *request.Requ // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegions -func (c *Lightsail) GetRegions(input *GetRegionsInput) (*GetRegionsOutput, error) { - req, out := c.GetRegionsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshot +func (c *Lightsail) GetDiskSnapshot(input *GetDiskSnapshotInput) (*GetDiskSnapshotOutput, error) { + req, out := c.GetDiskSnapshotRequest(input) return out, req.Send() } -// GetRegionsWithContext is the same as GetRegions with the addition of +// GetDiskSnapshotWithContext is the same as GetDiskSnapshot with the addition of // the ability to pass a context and additional request options. // -// See GetRegions for details on how to use this API operation. +// See GetDiskSnapshot for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetRegionsWithContext(ctx aws.Context, input *GetRegionsInput, opts ...request.Option) (*GetRegionsOutput, error) { - req, out := c.GetRegionsRequest(input) +func (c *Lightsail) GetDiskSnapshotWithContext(ctx aws.Context, input *GetDiskSnapshotInput, opts ...request.Option) (*GetDiskSnapshotOutput, error) { + req, out := c.GetDiskSnapshotRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetStaticIp = "GetStaticIp" +const opGetDiskSnapshots = "GetDiskSnapshots" -// GetStaticIpRequest generates a "aws/request.Request" representing the -// client's request for the GetStaticIp operation. The "output" return +// GetDiskSnapshotsRequest generates a "aws/request.Request" representing the +// client's request for the GetDiskSnapshots operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetStaticIp for more information on using the GetStaticIp +// See GetDiskSnapshots for more information on using the GetDiskSnapshots // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetStaticIpRequest method. -// req, resp := client.GetStaticIpRequest(params) +// // Example sending a request using the GetDiskSnapshotsRequest method. +// req, resp := client.GetDiskSnapshotsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIp -func (c *Lightsail) GetStaticIpRequest(input *GetStaticIpInput) (req *request.Request, output *GetStaticIpOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshots +func (c *Lightsail) GetDiskSnapshotsRequest(input *GetDiskSnapshotsInput) (req *request.Request, output *GetDiskSnapshotsOutput) { op := &request.Operation{ - Name: opGetStaticIp, + Name: opGetDiskSnapshots, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetStaticIpInput{} + input = &GetDiskSnapshotsInput{} } - output = &GetStaticIpOutput{} + output = &GetDiskSnapshotsOutput{} req = c.newRequest(op, input, output) return } -// GetStaticIp API operation for Amazon Lightsail. +// GetDiskSnapshots API operation for Amazon Lightsail. // -// Returns information about a specific static IP. +// Returns information about all block storage disk snapshots in your AWS account +// and region. +// +// If you are describing a long list of disk snapshots, you can paginate the +// output to make the list more manageable. You can use the pageToken and nextPageToken +// values to retrieve the next items in the list. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetStaticIp for usage and error information. +// API operation GetDiskSnapshots for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -3750,80 +3783,85 @@ func (c *Lightsail) GetStaticIpRequest(input *GetStaticIpInput) (req *request.Re // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIp -func (c *Lightsail) GetStaticIp(input *GetStaticIpInput) (*GetStaticIpOutput, error) { - req, out := c.GetStaticIpRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshots +func (c *Lightsail) GetDiskSnapshots(input *GetDiskSnapshotsInput) (*GetDiskSnapshotsOutput, error) { + req, out := c.GetDiskSnapshotsRequest(input) return out, req.Send() } -// GetStaticIpWithContext is the same as GetStaticIp with the addition of +// GetDiskSnapshotsWithContext is the same as GetDiskSnapshots with the addition of // the ability to pass a context and additional request options. // -// See GetStaticIp for details on how to use this API operation. +// See GetDiskSnapshots for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetStaticIpWithContext(ctx aws.Context, input *GetStaticIpInput, opts ...request.Option) (*GetStaticIpOutput, error) { - req, out := c.GetStaticIpRequest(input) +func (c *Lightsail) GetDiskSnapshotsWithContext(ctx aws.Context, input *GetDiskSnapshotsInput, opts ...request.Option) (*GetDiskSnapshotsOutput, error) { + req, out := c.GetDiskSnapshotsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetStaticIps = "GetStaticIps" +const opGetDisks = "GetDisks" -// GetStaticIpsRequest generates a "aws/request.Request" representing the -// client's request for the GetStaticIps operation. The "output" return +// GetDisksRequest generates a "aws/request.Request" representing the +// client's request for the GetDisks operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetStaticIps for more information on using the GetStaticIps +// See GetDisks for more information on using the GetDisks // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetStaticIpsRequest method. -// req, resp := client.GetStaticIpsRequest(params) +// // Example sending a request using the GetDisksRequest method. +// req, resp := client.GetDisksRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIps -func (c *Lightsail) GetStaticIpsRequest(input *GetStaticIpsInput) (req *request.Request, output *GetStaticIpsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisks +func (c *Lightsail) GetDisksRequest(input *GetDisksInput) (req *request.Request, output *GetDisksOutput) { op := &request.Operation{ - Name: opGetStaticIps, + Name: opGetDisks, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetStaticIpsInput{} + input = &GetDisksInput{} } - output = &GetStaticIpsOutput{} + output = &GetDisksOutput{} req = c.newRequest(op, input, output) return } -// GetStaticIps API operation for Amazon Lightsail. +// GetDisks API operation for Amazon Lightsail. // -// Returns information about all static IPs in the user's account. +// Returns information about all block storage disks in your AWS account and +// region. +// +// If you are describing a long list of disks, you can paginate the output to +// make the list more manageable. You can use the pageToken and nextPageToken +// values to retrieve the next items in the list. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation GetStaticIps for usage and error information. +// API operation GetDisks for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -3854,80 +3892,80 @@ func (c *Lightsail) GetStaticIpsRequest(input *GetStaticIpsInput) (req *request. // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIps -func (c *Lightsail) GetStaticIps(input *GetStaticIpsInput) (*GetStaticIpsOutput, error) { - req, out := c.GetStaticIpsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisks +func (c *Lightsail) GetDisks(input *GetDisksInput) (*GetDisksOutput, error) { + req, out := c.GetDisksRequest(input) return out, req.Send() } -// GetStaticIpsWithContext is the same as GetStaticIps with the addition of +// GetDisksWithContext is the same as GetDisks with the addition of // the ability to pass a context and additional request options. // -// See GetStaticIps for details on how to use this API operation. +// See GetDisks for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) GetStaticIpsWithContext(ctx aws.Context, input *GetStaticIpsInput, opts ...request.Option) (*GetStaticIpsOutput, error) { - req, out := c.GetStaticIpsRequest(input) +func (c *Lightsail) GetDisksWithContext(ctx aws.Context, input *GetDisksInput, opts ...request.Option) (*GetDisksOutput, error) { + req, out := c.GetDisksRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opImportKeyPair = "ImportKeyPair" +const opGetDomain = "GetDomain" -// ImportKeyPairRequest generates a "aws/request.Request" representing the -// client's request for the ImportKeyPair operation. The "output" return +// GetDomainRequest generates a "aws/request.Request" representing the +// client's request for the GetDomain operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ImportKeyPair for more information on using the ImportKeyPair +// See GetDomain for more information on using the GetDomain // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ImportKeyPairRequest method. -// req, resp := client.ImportKeyPairRequest(params) +// // Example sending a request using the GetDomainRequest method. +// req, resp := client.GetDomainRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPair -func (c *Lightsail) ImportKeyPairRequest(input *ImportKeyPairInput) (req *request.Request, output *ImportKeyPairOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomain +func (c *Lightsail) GetDomainRequest(input *GetDomainInput) (req *request.Request, output *GetDomainOutput) { op := &request.Operation{ - Name: opImportKeyPair, + Name: opGetDomain, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &ImportKeyPairInput{} + input = &GetDomainInput{} } - output = &ImportKeyPairOutput{} + output = &GetDomainOutput{} req = c.newRequest(op, input, output) return } -// ImportKeyPair API operation for Amazon Lightsail. +// GetDomain API operation for Amazon Lightsail. // -// Imports a public SSH key from a specific key pair. +// Returns information about a specific domain recordset. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation ImportKeyPair for usage and error information. +// API operation GetDomain for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -3958,80 +3996,80 @@ func (c *Lightsail) ImportKeyPairRequest(input *ImportKeyPairInput) (req *reques // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPair -func (c *Lightsail) ImportKeyPair(input *ImportKeyPairInput) (*ImportKeyPairOutput, error) { - req, out := c.ImportKeyPairRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomain +func (c *Lightsail) GetDomain(input *GetDomainInput) (*GetDomainOutput, error) { + req, out := c.GetDomainRequest(input) return out, req.Send() } -// ImportKeyPairWithContext is the same as ImportKeyPair with the addition of +// GetDomainWithContext is the same as GetDomain with the addition of // the ability to pass a context and additional request options. // -// See ImportKeyPair for details on how to use this API operation. +// See GetDomain for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) ImportKeyPairWithContext(ctx aws.Context, input *ImportKeyPairInput, opts ...request.Option) (*ImportKeyPairOutput, error) { - req, out := c.ImportKeyPairRequest(input) +func (c *Lightsail) GetDomainWithContext(ctx aws.Context, input *GetDomainInput, opts ...request.Option) (*GetDomainOutput, error) { + req, out := c.GetDomainRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opIsVpcPeered = "IsVpcPeered" +const opGetDomains = "GetDomains" -// IsVpcPeeredRequest generates a "aws/request.Request" representing the -// client's request for the IsVpcPeered operation. The "output" return +// GetDomainsRequest generates a "aws/request.Request" representing the +// client's request for the GetDomains operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See IsVpcPeered for more information on using the IsVpcPeered +// See GetDomains for more information on using the GetDomains // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the IsVpcPeeredRequest method. -// req, resp := client.IsVpcPeeredRequest(params) +// // Example sending a request using the GetDomainsRequest method. +// req, resp := client.GetDomainsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeered -func (c *Lightsail) IsVpcPeeredRequest(input *IsVpcPeeredInput) (req *request.Request, output *IsVpcPeeredOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomains +func (c *Lightsail) GetDomainsRequest(input *GetDomainsInput) (req *request.Request, output *GetDomainsOutput) { op := &request.Operation{ - Name: opIsVpcPeered, + Name: opGetDomains, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &IsVpcPeeredInput{} + input = &GetDomainsInput{} } - output = &IsVpcPeeredOutput{} + output = &GetDomainsOutput{} req = c.newRequest(op, input, output) return } -// IsVpcPeered API operation for Amazon Lightsail. +// GetDomains API operation for Amazon Lightsail. // -// Returns a Boolean value indicating whether your Lightsail VPC is peered. +// Returns a list of all domains in the user's account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation IsVpcPeered for usage and error information. +// API operation GetDomains for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -4062,80 +4100,81 @@ func (c *Lightsail) IsVpcPeeredRequest(input *IsVpcPeeredInput) (req *request.Re // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeered -func (c *Lightsail) IsVpcPeered(input *IsVpcPeeredInput) (*IsVpcPeeredOutput, error) { - req, out := c.IsVpcPeeredRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomains +func (c *Lightsail) GetDomains(input *GetDomainsInput) (*GetDomainsOutput, error) { + req, out := c.GetDomainsRequest(input) return out, req.Send() } -// IsVpcPeeredWithContext is the same as IsVpcPeered with the addition of +// GetDomainsWithContext is the same as GetDomains with the addition of // the ability to pass a context and additional request options. // -// See IsVpcPeered for details on how to use this API operation. +// See GetDomains for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) IsVpcPeeredWithContext(ctx aws.Context, input *IsVpcPeeredInput, opts ...request.Option) (*IsVpcPeeredOutput, error) { - req, out := c.IsVpcPeeredRequest(input) +func (c *Lightsail) GetDomainsWithContext(ctx aws.Context, input *GetDomainsInput, opts ...request.Option) (*GetDomainsOutput, error) { + req, out := c.GetDomainsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opOpenInstancePublicPorts = "OpenInstancePublicPorts" +const opGetInstance = "GetInstance" -// OpenInstancePublicPortsRequest generates a "aws/request.Request" representing the -// client's request for the OpenInstancePublicPorts operation. The "output" return +// GetInstanceRequest generates a "aws/request.Request" representing the +// client's request for the GetInstance operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See OpenInstancePublicPorts for more information on using the OpenInstancePublicPorts +// See GetInstance for more information on using the GetInstance // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the OpenInstancePublicPortsRequest method. -// req, resp := client.OpenInstancePublicPortsRequest(params) +// // Example sending a request using the GetInstanceRequest method. +// req, resp := client.GetInstanceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPorts -func (c *Lightsail) OpenInstancePublicPortsRequest(input *OpenInstancePublicPortsInput) (req *request.Request, output *OpenInstancePublicPortsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstance +func (c *Lightsail) GetInstanceRequest(input *GetInstanceInput) (req *request.Request, output *GetInstanceOutput) { op := &request.Operation{ - Name: opOpenInstancePublicPorts, + Name: opGetInstance, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &OpenInstancePublicPortsInput{} + input = &GetInstanceInput{} } - output = &OpenInstancePublicPortsOutput{} + output = &GetInstanceOutput{} req = c.newRequest(op, input, output) return } -// OpenInstancePublicPorts API operation for Amazon Lightsail. +// GetInstance API operation for Amazon Lightsail. // -// Adds public ports to an Amazon Lightsail instance. +// Returns information about a specific Amazon Lightsail instance, which is +// a virtual private server. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation OpenInstancePublicPorts for usage and error information. +// API operation GetInstance for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -4166,80 +4205,81 @@ func (c *Lightsail) OpenInstancePublicPortsRequest(input *OpenInstancePublicPort // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPorts -func (c *Lightsail) OpenInstancePublicPorts(input *OpenInstancePublicPortsInput) (*OpenInstancePublicPortsOutput, error) { - req, out := c.OpenInstancePublicPortsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstance +func (c *Lightsail) GetInstance(input *GetInstanceInput) (*GetInstanceOutput, error) { + req, out := c.GetInstanceRequest(input) return out, req.Send() } -// OpenInstancePublicPortsWithContext is the same as OpenInstancePublicPorts with the addition of +// GetInstanceWithContext is the same as GetInstance with the addition of // the ability to pass a context and additional request options. // -// See OpenInstancePublicPorts for details on how to use this API operation. +// See GetInstance for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) OpenInstancePublicPortsWithContext(ctx aws.Context, input *OpenInstancePublicPortsInput, opts ...request.Option) (*OpenInstancePublicPortsOutput, error) { - req, out := c.OpenInstancePublicPortsRequest(input) +func (c *Lightsail) GetInstanceWithContext(ctx aws.Context, input *GetInstanceInput, opts ...request.Option) (*GetInstanceOutput, error) { + req, out := c.GetInstanceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opPeerVpc = "PeerVpc" +const opGetInstanceAccessDetails = "GetInstanceAccessDetails" -// PeerVpcRequest generates a "aws/request.Request" representing the -// client's request for the PeerVpc operation. The "output" return +// GetInstanceAccessDetailsRequest generates a "aws/request.Request" representing the +// client's request for the GetInstanceAccessDetails operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See PeerVpc for more information on using the PeerVpc +// See GetInstanceAccessDetails for more information on using the GetInstanceAccessDetails // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the PeerVpcRequest method. -// req, resp := client.PeerVpcRequest(params) +// // Example sending a request using the GetInstanceAccessDetailsRequest method. +// req, resp := client.GetInstanceAccessDetailsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpc -func (c *Lightsail) PeerVpcRequest(input *PeerVpcInput) (req *request.Request, output *PeerVpcOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetails +func (c *Lightsail) GetInstanceAccessDetailsRequest(input *GetInstanceAccessDetailsInput) (req *request.Request, output *GetInstanceAccessDetailsOutput) { op := &request.Operation{ - Name: opPeerVpc, + Name: opGetInstanceAccessDetails, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &PeerVpcInput{} + input = &GetInstanceAccessDetailsInput{} } - output = &PeerVpcOutput{} + output = &GetInstanceAccessDetailsOutput{} req = c.newRequest(op, input, output) return } -// PeerVpc API operation for Amazon Lightsail. +// GetInstanceAccessDetails API operation for Amazon Lightsail. // -// Tries to peer the Lightsail VPC with the user's default VPC. +// Returns temporary SSH keys you can use to connect to a specific virtual private +// server, or instance. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation PeerVpc for usage and error information. +// API operation GetInstanceAccessDetails for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -4270,81 +4310,81 @@ func (c *Lightsail) PeerVpcRequest(input *PeerVpcInput) (req *request.Request, o // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpc -func (c *Lightsail) PeerVpc(input *PeerVpcInput) (*PeerVpcOutput, error) { - req, out := c.PeerVpcRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetails +func (c *Lightsail) GetInstanceAccessDetails(input *GetInstanceAccessDetailsInput) (*GetInstanceAccessDetailsOutput, error) { + req, out := c.GetInstanceAccessDetailsRequest(input) return out, req.Send() } -// PeerVpcWithContext is the same as PeerVpc with the addition of +// GetInstanceAccessDetailsWithContext is the same as GetInstanceAccessDetails with the addition of // the ability to pass a context and additional request options. // -// See PeerVpc for details on how to use this API operation. +// See GetInstanceAccessDetails for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) PeerVpcWithContext(ctx aws.Context, input *PeerVpcInput, opts ...request.Option) (*PeerVpcOutput, error) { - req, out := c.PeerVpcRequest(input) +func (c *Lightsail) GetInstanceAccessDetailsWithContext(ctx aws.Context, input *GetInstanceAccessDetailsInput, opts ...request.Option) (*GetInstanceAccessDetailsOutput, error) { + req, out := c.GetInstanceAccessDetailsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opPutInstancePublicPorts = "PutInstancePublicPorts" +const opGetInstanceMetricData = "GetInstanceMetricData" -// PutInstancePublicPortsRequest generates a "aws/request.Request" representing the -// client's request for the PutInstancePublicPorts operation. The "output" return +// GetInstanceMetricDataRequest generates a "aws/request.Request" representing the +// client's request for the GetInstanceMetricData operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See PutInstancePublicPorts for more information on using the PutInstancePublicPorts +// See GetInstanceMetricData for more information on using the GetInstanceMetricData // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the PutInstancePublicPortsRequest method. -// req, resp := client.PutInstancePublicPortsRequest(params) +// // Example sending a request using the GetInstanceMetricDataRequest method. +// req, resp := client.GetInstanceMetricDataRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPorts -func (c *Lightsail) PutInstancePublicPortsRequest(input *PutInstancePublicPortsInput) (req *request.Request, output *PutInstancePublicPortsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricData +func (c *Lightsail) GetInstanceMetricDataRequest(input *GetInstanceMetricDataInput) (req *request.Request, output *GetInstanceMetricDataOutput) { op := &request.Operation{ - Name: opPutInstancePublicPorts, + Name: opGetInstanceMetricData, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &PutInstancePublicPortsInput{} + input = &GetInstanceMetricDataInput{} } - output = &PutInstancePublicPortsOutput{} + output = &GetInstanceMetricDataOutput{} req = c.newRequest(op, input, output) return } -// PutInstancePublicPorts API operation for Amazon Lightsail. +// GetInstanceMetricData API operation for Amazon Lightsail. // -// Sets the specified open ports for an Amazon Lightsail instance, and closes -// all ports for every protocol not included in the current request. +// Returns the data points for the specified Amazon Lightsail instance metric, +// given an instance name. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation PutInstancePublicPorts for usage and error information. +// API operation GetInstanceMetricData for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -4375,83 +4415,80 @@ func (c *Lightsail) PutInstancePublicPortsRequest(input *PutInstancePublicPortsI // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPorts -func (c *Lightsail) PutInstancePublicPorts(input *PutInstancePublicPortsInput) (*PutInstancePublicPortsOutput, error) { - req, out := c.PutInstancePublicPortsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricData +func (c *Lightsail) GetInstanceMetricData(input *GetInstanceMetricDataInput) (*GetInstanceMetricDataOutput, error) { + req, out := c.GetInstanceMetricDataRequest(input) return out, req.Send() } -// PutInstancePublicPortsWithContext is the same as PutInstancePublicPorts with the addition of +// GetInstanceMetricDataWithContext is the same as GetInstanceMetricData with the addition of // the ability to pass a context and additional request options. // -// See PutInstancePublicPorts for details on how to use this API operation. +// See GetInstanceMetricData for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) PutInstancePublicPortsWithContext(ctx aws.Context, input *PutInstancePublicPortsInput, opts ...request.Option) (*PutInstancePublicPortsOutput, error) { - req, out := c.PutInstancePublicPortsRequest(input) +func (c *Lightsail) GetInstanceMetricDataWithContext(ctx aws.Context, input *GetInstanceMetricDataInput, opts ...request.Option) (*GetInstanceMetricDataOutput, error) { + req, out := c.GetInstanceMetricDataRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opRebootInstance = "RebootInstance" +const opGetInstancePortStates = "GetInstancePortStates" -// RebootInstanceRequest generates a "aws/request.Request" representing the -// client's request for the RebootInstance operation. The "output" return +// GetInstancePortStatesRequest generates a "aws/request.Request" representing the +// client's request for the GetInstancePortStates operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See RebootInstance for more information on using the RebootInstance +// See GetInstancePortStates for more information on using the GetInstancePortStates // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the RebootInstanceRequest method. -// req, resp := client.RebootInstanceRequest(params) +// // Example sending a request using the GetInstancePortStatesRequest method. +// req, resp := client.GetInstancePortStatesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstance -func (c *Lightsail) RebootInstanceRequest(input *RebootInstanceInput) (req *request.Request, output *RebootInstanceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStates +func (c *Lightsail) GetInstancePortStatesRequest(input *GetInstancePortStatesInput) (req *request.Request, output *GetInstancePortStatesOutput) { op := &request.Operation{ - Name: opRebootInstance, + Name: opGetInstancePortStates, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &RebootInstanceInput{} + input = &GetInstancePortStatesInput{} } - output = &RebootInstanceOutput{} + output = &GetInstancePortStatesOutput{} req = c.newRequest(op, input, output) return } -// RebootInstance API operation for Amazon Lightsail. +// GetInstancePortStates API operation for Amazon Lightsail. // -// Restarts a specific instance. When your Amazon Lightsail instance is finished -// rebooting, Lightsail assigns a new public IP address. To use the same IP -// address after restarting, create a static IP address and attach it to the -// instance. +// Returns the port states for a specific virtual private server, or instance. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation RebootInstance for usage and error information. +// API operation GetInstancePortStates for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -4482,80 +4519,80 @@ func (c *Lightsail) RebootInstanceRequest(input *RebootInstanceInput) (req *requ // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstance -func (c *Lightsail) RebootInstance(input *RebootInstanceInput) (*RebootInstanceOutput, error) { - req, out := c.RebootInstanceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStates +func (c *Lightsail) GetInstancePortStates(input *GetInstancePortStatesInput) (*GetInstancePortStatesOutput, error) { + req, out := c.GetInstancePortStatesRequest(input) return out, req.Send() } -// RebootInstanceWithContext is the same as RebootInstance with the addition of +// GetInstancePortStatesWithContext is the same as GetInstancePortStates with the addition of // the ability to pass a context and additional request options. // -// See RebootInstance for details on how to use this API operation. +// See GetInstancePortStates for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) RebootInstanceWithContext(ctx aws.Context, input *RebootInstanceInput, opts ...request.Option) (*RebootInstanceOutput, error) { - req, out := c.RebootInstanceRequest(input) +func (c *Lightsail) GetInstancePortStatesWithContext(ctx aws.Context, input *GetInstancePortStatesInput, opts ...request.Option) (*GetInstancePortStatesOutput, error) { + req, out := c.GetInstancePortStatesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opReleaseStaticIp = "ReleaseStaticIp" +const opGetInstanceSnapshot = "GetInstanceSnapshot" -// ReleaseStaticIpRequest generates a "aws/request.Request" representing the -// client's request for the ReleaseStaticIp operation. The "output" return +// GetInstanceSnapshotRequest generates a "aws/request.Request" representing the +// client's request for the GetInstanceSnapshot operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ReleaseStaticIp for more information on using the ReleaseStaticIp +// See GetInstanceSnapshot for more information on using the GetInstanceSnapshot // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ReleaseStaticIpRequest method. -// req, resp := client.ReleaseStaticIpRequest(params) +// // Example sending a request using the GetInstanceSnapshotRequest method. +// req, resp := client.GetInstanceSnapshotRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIp -func (c *Lightsail) ReleaseStaticIpRequest(input *ReleaseStaticIpInput) (req *request.Request, output *ReleaseStaticIpOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshot +func (c *Lightsail) GetInstanceSnapshotRequest(input *GetInstanceSnapshotInput) (req *request.Request, output *GetInstanceSnapshotOutput) { op := &request.Operation{ - Name: opReleaseStaticIp, + Name: opGetInstanceSnapshot, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &ReleaseStaticIpInput{} + input = &GetInstanceSnapshotInput{} } - output = &ReleaseStaticIpOutput{} + output = &GetInstanceSnapshotOutput{} req = c.newRequest(op, input, output) return } -// ReleaseStaticIp API operation for Amazon Lightsail. +// GetInstanceSnapshot API operation for Amazon Lightsail. // -// Deletes a specific static IP from your account. +// Returns information about a specific instance snapshot. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation ReleaseStaticIp for usage and error information. +// API operation GetInstanceSnapshot for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -4586,81 +4623,80 @@ func (c *Lightsail) ReleaseStaticIpRequest(input *ReleaseStaticIpInput) (req *re // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIp -func (c *Lightsail) ReleaseStaticIp(input *ReleaseStaticIpInput) (*ReleaseStaticIpOutput, error) { - req, out := c.ReleaseStaticIpRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshot +func (c *Lightsail) GetInstanceSnapshot(input *GetInstanceSnapshotInput) (*GetInstanceSnapshotOutput, error) { + req, out := c.GetInstanceSnapshotRequest(input) return out, req.Send() } -// ReleaseStaticIpWithContext is the same as ReleaseStaticIp with the addition of +// GetInstanceSnapshotWithContext is the same as GetInstanceSnapshot with the addition of // the ability to pass a context and additional request options. // -// See ReleaseStaticIp for details on how to use this API operation. +// See GetInstanceSnapshot for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) ReleaseStaticIpWithContext(ctx aws.Context, input *ReleaseStaticIpInput, opts ...request.Option) (*ReleaseStaticIpOutput, error) { - req, out := c.ReleaseStaticIpRequest(input) +func (c *Lightsail) GetInstanceSnapshotWithContext(ctx aws.Context, input *GetInstanceSnapshotInput, opts ...request.Option) (*GetInstanceSnapshotOutput, error) { + req, out := c.GetInstanceSnapshotRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStartInstance = "StartInstance" +const opGetInstanceSnapshots = "GetInstanceSnapshots" -// StartInstanceRequest generates a "aws/request.Request" representing the -// client's request for the StartInstance operation. The "output" return +// GetInstanceSnapshotsRequest generates a "aws/request.Request" representing the +// client's request for the GetInstanceSnapshots operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StartInstance for more information on using the StartInstance +// See GetInstanceSnapshots for more information on using the GetInstanceSnapshots // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the StartInstanceRequest method. -// req, resp := client.StartInstanceRequest(params) +// // Example sending a request using the GetInstanceSnapshotsRequest method. +// req, resp := client.GetInstanceSnapshotsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstance -func (c *Lightsail) StartInstanceRequest(input *StartInstanceInput) (req *request.Request, output *StartInstanceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshots +func (c *Lightsail) GetInstanceSnapshotsRequest(input *GetInstanceSnapshotsInput) (req *request.Request, output *GetInstanceSnapshotsOutput) { op := &request.Operation{ - Name: opStartInstance, + Name: opGetInstanceSnapshots, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &StartInstanceInput{} + input = &GetInstanceSnapshotsInput{} } - output = &StartInstanceOutput{} + output = &GetInstanceSnapshotsOutput{} req = c.newRequest(op, input, output) return } -// StartInstance API operation for Amazon Lightsail. +// GetInstanceSnapshots API operation for Amazon Lightsail. // -// Starts a specific Amazon Lightsail instance from a stopped state. To restart -// an instance, use the reboot instance operation. +// Returns all instance snapshots for the user's account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation StartInstance for usage and error information. +// API operation GetInstanceSnapshots for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -4691,80 +4727,80 @@ func (c *Lightsail) StartInstanceRequest(input *StartInstanceInput) (req *reques // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstance -func (c *Lightsail) StartInstance(input *StartInstanceInput) (*StartInstanceOutput, error) { - req, out := c.StartInstanceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshots +func (c *Lightsail) GetInstanceSnapshots(input *GetInstanceSnapshotsInput) (*GetInstanceSnapshotsOutput, error) { + req, out := c.GetInstanceSnapshotsRequest(input) return out, req.Send() } -// StartInstanceWithContext is the same as StartInstance with the addition of +// GetInstanceSnapshotsWithContext is the same as GetInstanceSnapshots with the addition of // the ability to pass a context and additional request options. // -// See StartInstance for details on how to use this API operation. +// See GetInstanceSnapshots for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) StartInstanceWithContext(ctx aws.Context, input *StartInstanceInput, opts ...request.Option) (*StartInstanceOutput, error) { - req, out := c.StartInstanceRequest(input) +func (c *Lightsail) GetInstanceSnapshotsWithContext(ctx aws.Context, input *GetInstanceSnapshotsInput, opts ...request.Option) (*GetInstanceSnapshotsOutput, error) { + req, out := c.GetInstanceSnapshotsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStopInstance = "StopInstance" +const opGetInstanceState = "GetInstanceState" -// StopInstanceRequest generates a "aws/request.Request" representing the -// client's request for the StopInstance operation. The "output" return +// GetInstanceStateRequest generates a "aws/request.Request" representing the +// client's request for the GetInstanceState operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StopInstance for more information on using the StopInstance +// See GetInstanceState for more information on using the GetInstanceState // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the StopInstanceRequest method. -// req, resp := client.StopInstanceRequest(params) +// // Example sending a request using the GetInstanceStateRequest method. +// req, resp := client.GetInstanceStateRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstance -func (c *Lightsail) StopInstanceRequest(input *StopInstanceInput) (req *request.Request, output *StopInstanceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceState +func (c *Lightsail) GetInstanceStateRequest(input *GetInstanceStateInput) (req *request.Request, output *GetInstanceStateOutput) { op := &request.Operation{ - Name: opStopInstance, + Name: opGetInstanceState, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &StopInstanceInput{} + input = &GetInstanceStateInput{} } - output = &StopInstanceOutput{} + output = &GetInstanceStateOutput{} req = c.newRequest(op, input, output) return } -// StopInstance API operation for Amazon Lightsail. +// GetInstanceState API operation for Amazon Lightsail. // -// Stops a specific Amazon Lightsail instance that is currently running. +// Returns the state of a specific instance. Works on one instance at a time. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation StopInstance for usage and error information. +// API operation GetInstanceState for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -4795,80 +4831,81 @@ func (c *Lightsail) StopInstanceRequest(input *StopInstanceInput) (req *request. // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstance -func (c *Lightsail) StopInstance(input *StopInstanceInput) (*StopInstanceOutput, error) { - req, out := c.StopInstanceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceState +func (c *Lightsail) GetInstanceState(input *GetInstanceStateInput) (*GetInstanceStateOutput, error) { + req, out := c.GetInstanceStateRequest(input) return out, req.Send() } -// StopInstanceWithContext is the same as StopInstance with the addition of +// GetInstanceStateWithContext is the same as GetInstanceState with the addition of // the ability to pass a context and additional request options. // -// See StopInstance for details on how to use this API operation. +// See GetInstanceState for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) StopInstanceWithContext(ctx aws.Context, input *StopInstanceInput, opts ...request.Option) (*StopInstanceOutput, error) { - req, out := c.StopInstanceRequest(input) +func (c *Lightsail) GetInstanceStateWithContext(ctx aws.Context, input *GetInstanceStateInput, opts ...request.Option) (*GetInstanceStateOutput, error) { + req, out := c.GetInstanceStateRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUnpeerVpc = "UnpeerVpc" +const opGetInstances = "GetInstances" -// UnpeerVpcRequest generates a "aws/request.Request" representing the -// client's request for the UnpeerVpc operation. The "output" return +// GetInstancesRequest generates a "aws/request.Request" representing the +// client's request for the GetInstances operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UnpeerVpc for more information on using the UnpeerVpc +// See GetInstances for more information on using the GetInstances // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UnpeerVpcRequest method. -// req, resp := client.UnpeerVpcRequest(params) +// // Example sending a request using the GetInstancesRequest method. +// req, resp := client.GetInstancesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpc -func (c *Lightsail) UnpeerVpcRequest(input *UnpeerVpcInput) (req *request.Request, output *UnpeerVpcOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstances +func (c *Lightsail) GetInstancesRequest(input *GetInstancesInput) (req *request.Request, output *GetInstancesOutput) { op := &request.Operation{ - Name: opUnpeerVpc, + Name: opGetInstances, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UnpeerVpcInput{} + input = &GetInstancesInput{} } - output = &UnpeerVpcOutput{} + output = &GetInstancesOutput{} req = c.newRequest(op, input, output) return } -// UnpeerVpc API operation for Amazon Lightsail. +// GetInstances API operation for Amazon Lightsail. // -// Attempts to unpeer the Lightsail VPC from the user's default VPC. +// Returns information about all Amazon Lightsail virtual private servers, or +// instances. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation UnpeerVpc for usage and error information. +// API operation GetInstances for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -4899,80 +4936,80 @@ func (c *Lightsail) UnpeerVpcRequest(input *UnpeerVpcInput) (req *request.Reques // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpc -func (c *Lightsail) UnpeerVpc(input *UnpeerVpcInput) (*UnpeerVpcOutput, error) { - req, out := c.UnpeerVpcRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstances +func (c *Lightsail) GetInstances(input *GetInstancesInput) (*GetInstancesOutput, error) { + req, out := c.GetInstancesRequest(input) return out, req.Send() } -// UnpeerVpcWithContext is the same as UnpeerVpc with the addition of +// GetInstancesWithContext is the same as GetInstances with the addition of // the ability to pass a context and additional request options. // -// See UnpeerVpc for details on how to use this API operation. +// See GetInstances for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) UnpeerVpcWithContext(ctx aws.Context, input *UnpeerVpcInput, opts ...request.Option) (*UnpeerVpcOutput, error) { - req, out := c.UnpeerVpcRequest(input) +func (c *Lightsail) GetInstancesWithContext(ctx aws.Context, input *GetInstancesInput, opts ...request.Option) (*GetInstancesOutput, error) { + req, out := c.GetInstancesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateDomainEntry = "UpdateDomainEntry" +const opGetKeyPair = "GetKeyPair" -// UpdateDomainEntryRequest generates a "aws/request.Request" representing the -// client's request for the UpdateDomainEntry operation. The "output" return +// GetKeyPairRequest generates a "aws/request.Request" representing the +// client's request for the GetKeyPair operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateDomainEntry for more information on using the UpdateDomainEntry +// See GetKeyPair for more information on using the GetKeyPair // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateDomainEntryRequest method. -// req, resp := client.UpdateDomainEntryRequest(params) +// // Example sending a request using the GetKeyPairRequest method. +// req, resp := client.GetKeyPairRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntry -func (c *Lightsail) UpdateDomainEntryRequest(input *UpdateDomainEntryInput) (req *request.Request, output *UpdateDomainEntryOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPair +func (c *Lightsail) GetKeyPairRequest(input *GetKeyPairInput) (req *request.Request, output *GetKeyPairOutput) { op := &request.Operation{ - Name: opUpdateDomainEntry, + Name: opGetKeyPair, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UpdateDomainEntryInput{} + input = &GetKeyPairInput{} } - output = &UpdateDomainEntryOutput{} + output = &GetKeyPairOutput{} req = c.newRequest(op, input, output) return } -// UpdateDomainEntry API operation for Amazon Lightsail. +// GetKeyPair API operation for Amazon Lightsail. // -// Updates a domain recordset after it is created. +// Returns information about a specific key pair. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lightsail's -// API operation UpdateDomainEntry for usage and error information. +// API operation GetKeyPair for usage and error information. // // Returned Error Codes: // * ErrCodeServiceException "ServiceException" @@ -5003,53 +5040,4543 @@ func (c *Lightsail) UpdateDomainEntryRequest(input *UpdateDomainEntryInput) (req // * ErrCodeUnauthenticatedException "UnauthenticatedException" // Lightsail throws this exception when the user has not been authenticated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntry -func (c *Lightsail) UpdateDomainEntry(input *UpdateDomainEntryInput) (*UpdateDomainEntryOutput, error) { - req, out := c.UpdateDomainEntryRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPair +func (c *Lightsail) GetKeyPair(input *GetKeyPairInput) (*GetKeyPairOutput, error) { + req, out := c.GetKeyPairRequest(input) return out, req.Send() } -// UpdateDomainEntryWithContext is the same as UpdateDomainEntry with the addition of +// GetKeyPairWithContext is the same as GetKeyPair with the addition of // the ability to pass a context and additional request options. // -// See UpdateDomainEntry for details on how to use this API operation. +// See GetKeyPair for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Lightsail) UpdateDomainEntryWithContext(ctx aws.Context, input *UpdateDomainEntryInput, opts ...request.Option) (*UpdateDomainEntryOutput, error) { - req, out := c.UpdateDomainEntryRequest(input) +func (c *Lightsail) GetKeyPairWithContext(ctx aws.Context, input *GetKeyPairInput, opts ...request.Option) (*GetKeyPairOutput, error) { + req, out := c.GetKeyPairRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIpRequest -type AllocateStaticIpInput struct { - _ struct{} `type:"structure"` +const opGetKeyPairs = "GetKeyPairs" - // The name of the static IP address. - // - // StaticIpName is a required field - StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"` -} +// GetKeyPairsRequest generates a "aws/request.Request" representing the +// client's request for the GetKeyPairs operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetKeyPairs for more information on using the GetKeyPairs +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetKeyPairsRequest method. +// req, resp := client.GetKeyPairsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairs +func (c *Lightsail) GetKeyPairsRequest(input *GetKeyPairsInput) (req *request.Request, output *GetKeyPairsOutput) { + op := &request.Operation{ + Name: opGetKeyPairs, + HTTPMethod: "POST", + HTTPPath: "/", + } -// String returns the string representation -func (s AllocateStaticIpInput) String() string { - return awsutil.Prettify(s) + if input == nil { + input = &GetKeyPairsInput{} + } + + output = &GetKeyPairsOutput{} + req = c.newRequest(op, input, output) + return } -// GoString returns the string representation -func (s AllocateStaticIpInput) GoString() string { +// GetKeyPairs API operation for Amazon Lightsail. +// +// Returns information about all key pairs in the user's account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation GetKeyPairs for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairs +func (c *Lightsail) GetKeyPairs(input *GetKeyPairsInput) (*GetKeyPairsOutput, error) { + req, out := c.GetKeyPairsRequest(input) + return out, req.Send() +} + +// GetKeyPairsWithContext is the same as GetKeyPairs with the addition of +// the ability to pass a context and additional request options. +// +// See GetKeyPairs for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) GetKeyPairsWithContext(ctx aws.Context, input *GetKeyPairsInput, opts ...request.Option) (*GetKeyPairsOutput, error) { + req, out := c.GetKeyPairsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetLoadBalancer = "GetLoadBalancer" + +// GetLoadBalancerRequest generates a "aws/request.Request" representing the +// client's request for the GetLoadBalancer operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetLoadBalancer for more information on using the GetLoadBalancer +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetLoadBalancerRequest method. +// req, resp := client.GetLoadBalancerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancer +func (c *Lightsail) GetLoadBalancerRequest(input *GetLoadBalancerInput) (req *request.Request, output *GetLoadBalancerOutput) { + op := &request.Operation{ + Name: opGetLoadBalancer, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetLoadBalancerInput{} + } + + output = &GetLoadBalancerOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetLoadBalancer API operation for Amazon Lightsail. +// +// Returns information about the specified Lightsail load balancer. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation GetLoadBalancer for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancer +func (c *Lightsail) GetLoadBalancer(input *GetLoadBalancerInput) (*GetLoadBalancerOutput, error) { + req, out := c.GetLoadBalancerRequest(input) + return out, req.Send() +} + +// GetLoadBalancerWithContext is the same as GetLoadBalancer with the addition of +// the ability to pass a context and additional request options. +// +// See GetLoadBalancer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) GetLoadBalancerWithContext(ctx aws.Context, input *GetLoadBalancerInput, opts ...request.Option) (*GetLoadBalancerOutput, error) { + req, out := c.GetLoadBalancerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetLoadBalancerMetricData = "GetLoadBalancerMetricData" + +// GetLoadBalancerMetricDataRequest generates a "aws/request.Request" representing the +// client's request for the GetLoadBalancerMetricData operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetLoadBalancerMetricData for more information on using the GetLoadBalancerMetricData +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetLoadBalancerMetricDataRequest method. +// req, resp := client.GetLoadBalancerMetricDataRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricData +func (c *Lightsail) GetLoadBalancerMetricDataRequest(input *GetLoadBalancerMetricDataInput) (req *request.Request, output *GetLoadBalancerMetricDataOutput) { + op := &request.Operation{ + Name: opGetLoadBalancerMetricData, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetLoadBalancerMetricDataInput{} + } + + output = &GetLoadBalancerMetricDataOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetLoadBalancerMetricData API operation for Amazon Lightsail. +// +// Returns information about health metrics for your Lightsail load balancer. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation GetLoadBalancerMetricData for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricData +func (c *Lightsail) GetLoadBalancerMetricData(input *GetLoadBalancerMetricDataInput) (*GetLoadBalancerMetricDataOutput, error) { + req, out := c.GetLoadBalancerMetricDataRequest(input) + return out, req.Send() +} + +// GetLoadBalancerMetricDataWithContext is the same as GetLoadBalancerMetricData with the addition of +// the ability to pass a context and additional request options. +// +// See GetLoadBalancerMetricData for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) GetLoadBalancerMetricDataWithContext(ctx aws.Context, input *GetLoadBalancerMetricDataInput, opts ...request.Option) (*GetLoadBalancerMetricDataOutput, error) { + req, out := c.GetLoadBalancerMetricDataRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetLoadBalancerTlsCertificates = "GetLoadBalancerTlsCertificates" + +// GetLoadBalancerTlsCertificatesRequest generates a "aws/request.Request" representing the +// client's request for the GetLoadBalancerTlsCertificates operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetLoadBalancerTlsCertificates for more information on using the GetLoadBalancerTlsCertificates +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetLoadBalancerTlsCertificatesRequest method. +// req, resp := client.GetLoadBalancerTlsCertificatesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificates +func (c *Lightsail) GetLoadBalancerTlsCertificatesRequest(input *GetLoadBalancerTlsCertificatesInput) (req *request.Request, output *GetLoadBalancerTlsCertificatesOutput) { + op := &request.Operation{ + Name: opGetLoadBalancerTlsCertificates, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetLoadBalancerTlsCertificatesInput{} + } + + output = &GetLoadBalancerTlsCertificatesOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetLoadBalancerTlsCertificates API operation for Amazon Lightsail. +// +// Returns information about the TLS certificates that are associated with the +// specified Lightsail load balancer. +// +// TLS is just an updated, more secure version of Secure Socket Layer (SSL). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation GetLoadBalancerTlsCertificates for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificates +func (c *Lightsail) GetLoadBalancerTlsCertificates(input *GetLoadBalancerTlsCertificatesInput) (*GetLoadBalancerTlsCertificatesOutput, error) { + req, out := c.GetLoadBalancerTlsCertificatesRequest(input) + return out, req.Send() +} + +// GetLoadBalancerTlsCertificatesWithContext is the same as GetLoadBalancerTlsCertificates with the addition of +// the ability to pass a context and additional request options. +// +// See GetLoadBalancerTlsCertificates for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) GetLoadBalancerTlsCertificatesWithContext(ctx aws.Context, input *GetLoadBalancerTlsCertificatesInput, opts ...request.Option) (*GetLoadBalancerTlsCertificatesOutput, error) { + req, out := c.GetLoadBalancerTlsCertificatesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetLoadBalancers = "GetLoadBalancers" + +// GetLoadBalancersRequest generates a "aws/request.Request" representing the +// client's request for the GetLoadBalancers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetLoadBalancers for more information on using the GetLoadBalancers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetLoadBalancersRequest method. +// req, resp := client.GetLoadBalancersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancers +func (c *Lightsail) GetLoadBalancersRequest(input *GetLoadBalancersInput) (req *request.Request, output *GetLoadBalancersOutput) { + op := &request.Operation{ + Name: opGetLoadBalancers, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetLoadBalancersInput{} + } + + output = &GetLoadBalancersOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetLoadBalancers API operation for Amazon Lightsail. +// +// Returns information about all load balancers in an account. +// +// If you are describing a long list of load balancers, you can paginate the +// output to make the list more manageable. You can use the pageToken and nextPageToken +// values to retrieve the next items in the list. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation GetLoadBalancers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancers +func (c *Lightsail) GetLoadBalancers(input *GetLoadBalancersInput) (*GetLoadBalancersOutput, error) { + req, out := c.GetLoadBalancersRequest(input) + return out, req.Send() +} + +// GetLoadBalancersWithContext is the same as GetLoadBalancers with the addition of +// the ability to pass a context and additional request options. +// +// See GetLoadBalancers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) GetLoadBalancersWithContext(ctx aws.Context, input *GetLoadBalancersInput, opts ...request.Option) (*GetLoadBalancersOutput, error) { + req, out := c.GetLoadBalancersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetOperation = "GetOperation" + +// GetOperationRequest generates a "aws/request.Request" representing the +// client's request for the GetOperation operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetOperation for more information on using the GetOperation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetOperationRequest method. +// req, resp := client.GetOperationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperation +func (c *Lightsail) GetOperationRequest(input *GetOperationInput) (req *request.Request, output *GetOperationOutput) { + op := &request.Operation{ + Name: opGetOperation, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetOperationInput{} + } + + output = &GetOperationOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetOperation API operation for Amazon Lightsail. +// +// Returns information about a specific operation. Operations include events +// such as when you create an instance, allocate a static IP, attach a static +// IP, and so on. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation GetOperation for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperation +func (c *Lightsail) GetOperation(input *GetOperationInput) (*GetOperationOutput, error) { + req, out := c.GetOperationRequest(input) + return out, req.Send() +} + +// GetOperationWithContext is the same as GetOperation with the addition of +// the ability to pass a context and additional request options. +// +// See GetOperation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) GetOperationWithContext(ctx aws.Context, input *GetOperationInput, opts ...request.Option) (*GetOperationOutput, error) { + req, out := c.GetOperationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetOperations = "GetOperations" + +// GetOperationsRequest generates a "aws/request.Request" representing the +// client's request for the GetOperations operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetOperations for more information on using the GetOperations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetOperationsRequest method. +// req, resp := client.GetOperationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperations +func (c *Lightsail) GetOperationsRequest(input *GetOperationsInput) (req *request.Request, output *GetOperationsOutput) { + op := &request.Operation{ + Name: opGetOperations, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetOperationsInput{} + } + + output = &GetOperationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetOperations API operation for Amazon Lightsail. +// +// Returns information about all operations. +// +// Results are returned from oldest to newest, up to a maximum of 200. Results +// can be paged by making each subsequent call to GetOperations use the maximum +// (last) statusChangedAt value from the previous request. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation GetOperations for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperations +func (c *Lightsail) GetOperations(input *GetOperationsInput) (*GetOperationsOutput, error) { + req, out := c.GetOperationsRequest(input) + return out, req.Send() +} + +// GetOperationsWithContext is the same as GetOperations with the addition of +// the ability to pass a context and additional request options. +// +// See GetOperations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) GetOperationsWithContext(ctx aws.Context, input *GetOperationsInput, opts ...request.Option) (*GetOperationsOutput, error) { + req, out := c.GetOperationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetOperationsForResource = "GetOperationsForResource" + +// GetOperationsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the GetOperationsForResource operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetOperationsForResource for more information on using the GetOperationsForResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetOperationsForResourceRequest method. +// req, resp := client.GetOperationsForResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResource +func (c *Lightsail) GetOperationsForResourceRequest(input *GetOperationsForResourceInput) (req *request.Request, output *GetOperationsForResourceOutput) { + op := &request.Operation{ + Name: opGetOperationsForResource, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetOperationsForResourceInput{} + } + + output = &GetOperationsForResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetOperationsForResource API operation for Amazon Lightsail. +// +// Gets operations for a specific resource (e.g., an instance or a static IP). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation GetOperationsForResource for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResource +func (c *Lightsail) GetOperationsForResource(input *GetOperationsForResourceInput) (*GetOperationsForResourceOutput, error) { + req, out := c.GetOperationsForResourceRequest(input) + return out, req.Send() +} + +// GetOperationsForResourceWithContext is the same as GetOperationsForResource with the addition of +// the ability to pass a context and additional request options. +// +// See GetOperationsForResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) GetOperationsForResourceWithContext(ctx aws.Context, input *GetOperationsForResourceInput, opts ...request.Option) (*GetOperationsForResourceOutput, error) { + req, out := c.GetOperationsForResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetRegions = "GetRegions" + +// GetRegionsRequest generates a "aws/request.Request" representing the +// client's request for the GetRegions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetRegions for more information on using the GetRegions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetRegionsRequest method. +// req, resp := client.GetRegionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegions +func (c *Lightsail) GetRegionsRequest(input *GetRegionsInput) (req *request.Request, output *GetRegionsOutput) { + op := &request.Operation{ + Name: opGetRegions, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetRegionsInput{} + } + + output = &GetRegionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetRegions API operation for Amazon Lightsail. +// +// Returns a list of all valid regions for Amazon Lightsail. Use the include +// availability zones parameter to also return the availability zones in a region. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation GetRegions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegions +func (c *Lightsail) GetRegions(input *GetRegionsInput) (*GetRegionsOutput, error) { + req, out := c.GetRegionsRequest(input) + return out, req.Send() +} + +// GetRegionsWithContext is the same as GetRegions with the addition of +// the ability to pass a context and additional request options. +// +// See GetRegions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) GetRegionsWithContext(ctx aws.Context, input *GetRegionsInput, opts ...request.Option) (*GetRegionsOutput, error) { + req, out := c.GetRegionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetStaticIp = "GetStaticIp" + +// GetStaticIpRequest generates a "aws/request.Request" representing the +// client's request for the GetStaticIp operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetStaticIp for more information on using the GetStaticIp +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetStaticIpRequest method. +// req, resp := client.GetStaticIpRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIp +func (c *Lightsail) GetStaticIpRequest(input *GetStaticIpInput) (req *request.Request, output *GetStaticIpOutput) { + op := &request.Operation{ + Name: opGetStaticIp, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetStaticIpInput{} + } + + output = &GetStaticIpOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetStaticIp API operation for Amazon Lightsail. +// +// Returns information about a specific static IP. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation GetStaticIp for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIp +func (c *Lightsail) GetStaticIp(input *GetStaticIpInput) (*GetStaticIpOutput, error) { + req, out := c.GetStaticIpRequest(input) + return out, req.Send() +} + +// GetStaticIpWithContext is the same as GetStaticIp with the addition of +// the ability to pass a context and additional request options. +// +// See GetStaticIp for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) GetStaticIpWithContext(ctx aws.Context, input *GetStaticIpInput, opts ...request.Option) (*GetStaticIpOutput, error) { + req, out := c.GetStaticIpRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetStaticIps = "GetStaticIps" + +// GetStaticIpsRequest generates a "aws/request.Request" representing the +// client's request for the GetStaticIps operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetStaticIps for more information on using the GetStaticIps +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetStaticIpsRequest method. +// req, resp := client.GetStaticIpsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIps +func (c *Lightsail) GetStaticIpsRequest(input *GetStaticIpsInput) (req *request.Request, output *GetStaticIpsOutput) { + op := &request.Operation{ + Name: opGetStaticIps, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetStaticIpsInput{} + } + + output = &GetStaticIpsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetStaticIps API operation for Amazon Lightsail. +// +// Returns information about all static IPs in the user's account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation GetStaticIps for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIps +func (c *Lightsail) GetStaticIps(input *GetStaticIpsInput) (*GetStaticIpsOutput, error) { + req, out := c.GetStaticIpsRequest(input) + return out, req.Send() +} + +// GetStaticIpsWithContext is the same as GetStaticIps with the addition of +// the ability to pass a context and additional request options. +// +// See GetStaticIps for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) GetStaticIpsWithContext(ctx aws.Context, input *GetStaticIpsInput, opts ...request.Option) (*GetStaticIpsOutput, error) { + req, out := c.GetStaticIpsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opImportKeyPair = "ImportKeyPair" + +// ImportKeyPairRequest generates a "aws/request.Request" representing the +// client's request for the ImportKeyPair operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ImportKeyPair for more information on using the ImportKeyPair +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ImportKeyPairRequest method. +// req, resp := client.ImportKeyPairRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPair +func (c *Lightsail) ImportKeyPairRequest(input *ImportKeyPairInput) (req *request.Request, output *ImportKeyPairOutput) { + op := &request.Operation{ + Name: opImportKeyPair, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ImportKeyPairInput{} + } + + output = &ImportKeyPairOutput{} + req = c.newRequest(op, input, output) + return +} + +// ImportKeyPair API operation for Amazon Lightsail. +// +// Imports a public SSH key from a specific key pair. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation ImportKeyPair for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPair +func (c *Lightsail) ImportKeyPair(input *ImportKeyPairInput) (*ImportKeyPairOutput, error) { + req, out := c.ImportKeyPairRequest(input) + return out, req.Send() +} + +// ImportKeyPairWithContext is the same as ImportKeyPair with the addition of +// the ability to pass a context and additional request options. +// +// See ImportKeyPair for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) ImportKeyPairWithContext(ctx aws.Context, input *ImportKeyPairInput, opts ...request.Option) (*ImportKeyPairOutput, error) { + req, out := c.ImportKeyPairRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opIsVpcPeered = "IsVpcPeered" + +// IsVpcPeeredRequest generates a "aws/request.Request" representing the +// client's request for the IsVpcPeered operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See IsVpcPeered for more information on using the IsVpcPeered +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the IsVpcPeeredRequest method. +// req, resp := client.IsVpcPeeredRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeered +func (c *Lightsail) IsVpcPeeredRequest(input *IsVpcPeeredInput) (req *request.Request, output *IsVpcPeeredOutput) { + op := &request.Operation{ + Name: opIsVpcPeered, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &IsVpcPeeredInput{} + } + + output = &IsVpcPeeredOutput{} + req = c.newRequest(op, input, output) + return +} + +// IsVpcPeered API operation for Amazon Lightsail. +// +// Returns a Boolean value indicating whether your Lightsail VPC is peered. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation IsVpcPeered for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeered +func (c *Lightsail) IsVpcPeered(input *IsVpcPeeredInput) (*IsVpcPeeredOutput, error) { + req, out := c.IsVpcPeeredRequest(input) + return out, req.Send() +} + +// IsVpcPeeredWithContext is the same as IsVpcPeered with the addition of +// the ability to pass a context and additional request options. +// +// See IsVpcPeered for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) IsVpcPeeredWithContext(ctx aws.Context, input *IsVpcPeeredInput, opts ...request.Option) (*IsVpcPeeredOutput, error) { + req, out := c.IsVpcPeeredRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opOpenInstancePublicPorts = "OpenInstancePublicPorts" + +// OpenInstancePublicPortsRequest generates a "aws/request.Request" representing the +// client's request for the OpenInstancePublicPorts operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See OpenInstancePublicPorts for more information on using the OpenInstancePublicPorts +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the OpenInstancePublicPortsRequest method. +// req, resp := client.OpenInstancePublicPortsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPorts +func (c *Lightsail) OpenInstancePublicPortsRequest(input *OpenInstancePublicPortsInput) (req *request.Request, output *OpenInstancePublicPortsOutput) { + op := &request.Operation{ + Name: opOpenInstancePublicPorts, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &OpenInstancePublicPortsInput{} + } + + output = &OpenInstancePublicPortsOutput{} + req = c.newRequest(op, input, output) + return +} + +// OpenInstancePublicPorts API operation for Amazon Lightsail. +// +// Adds public ports to an Amazon Lightsail instance. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation OpenInstancePublicPorts for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPorts +func (c *Lightsail) OpenInstancePublicPorts(input *OpenInstancePublicPortsInput) (*OpenInstancePublicPortsOutput, error) { + req, out := c.OpenInstancePublicPortsRequest(input) + return out, req.Send() +} + +// OpenInstancePublicPortsWithContext is the same as OpenInstancePublicPorts with the addition of +// the ability to pass a context and additional request options. +// +// See OpenInstancePublicPorts for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) OpenInstancePublicPortsWithContext(ctx aws.Context, input *OpenInstancePublicPortsInput, opts ...request.Option) (*OpenInstancePublicPortsOutput, error) { + req, out := c.OpenInstancePublicPortsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPeerVpc = "PeerVpc" + +// PeerVpcRequest generates a "aws/request.Request" representing the +// client's request for the PeerVpc operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PeerVpc for more information on using the PeerVpc +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PeerVpcRequest method. +// req, resp := client.PeerVpcRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpc +func (c *Lightsail) PeerVpcRequest(input *PeerVpcInput) (req *request.Request, output *PeerVpcOutput) { + op := &request.Operation{ + Name: opPeerVpc, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PeerVpcInput{} + } + + output = &PeerVpcOutput{} + req = c.newRequest(op, input, output) + return +} + +// PeerVpc API operation for Amazon Lightsail. +// +// Tries to peer the Lightsail VPC with the user's default VPC. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation PeerVpc for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpc +func (c *Lightsail) PeerVpc(input *PeerVpcInput) (*PeerVpcOutput, error) { + req, out := c.PeerVpcRequest(input) + return out, req.Send() +} + +// PeerVpcWithContext is the same as PeerVpc with the addition of +// the ability to pass a context and additional request options. +// +// See PeerVpc for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) PeerVpcWithContext(ctx aws.Context, input *PeerVpcInput, opts ...request.Option) (*PeerVpcOutput, error) { + req, out := c.PeerVpcRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPutInstancePublicPorts = "PutInstancePublicPorts" + +// PutInstancePublicPortsRequest generates a "aws/request.Request" representing the +// client's request for the PutInstancePublicPorts operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutInstancePublicPorts for more information on using the PutInstancePublicPorts +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PutInstancePublicPortsRequest method. +// req, resp := client.PutInstancePublicPortsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPorts +func (c *Lightsail) PutInstancePublicPortsRequest(input *PutInstancePublicPortsInput) (req *request.Request, output *PutInstancePublicPortsOutput) { + op := &request.Operation{ + Name: opPutInstancePublicPorts, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PutInstancePublicPortsInput{} + } + + output = &PutInstancePublicPortsOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutInstancePublicPorts API operation for Amazon Lightsail. +// +// Sets the specified open ports for an Amazon Lightsail instance, and closes +// all ports for every protocol not included in the current request. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation PutInstancePublicPorts for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPorts +func (c *Lightsail) PutInstancePublicPorts(input *PutInstancePublicPortsInput) (*PutInstancePublicPortsOutput, error) { + req, out := c.PutInstancePublicPortsRequest(input) + return out, req.Send() +} + +// PutInstancePublicPortsWithContext is the same as PutInstancePublicPorts with the addition of +// the ability to pass a context and additional request options. +// +// See PutInstancePublicPorts for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) PutInstancePublicPortsWithContext(ctx aws.Context, input *PutInstancePublicPortsInput, opts ...request.Option) (*PutInstancePublicPortsOutput, error) { + req, out := c.PutInstancePublicPortsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRebootInstance = "RebootInstance" + +// RebootInstanceRequest generates a "aws/request.Request" representing the +// client's request for the RebootInstance operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RebootInstance for more information on using the RebootInstance +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RebootInstanceRequest method. +// req, resp := client.RebootInstanceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstance +func (c *Lightsail) RebootInstanceRequest(input *RebootInstanceInput) (req *request.Request, output *RebootInstanceOutput) { + op := &request.Operation{ + Name: opRebootInstance, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RebootInstanceInput{} + } + + output = &RebootInstanceOutput{} + req = c.newRequest(op, input, output) + return +} + +// RebootInstance API operation for Amazon Lightsail. +// +// Restarts a specific instance. When your Amazon Lightsail instance is finished +// rebooting, Lightsail assigns a new public IP address. To use the same IP +// address after restarting, create a static IP address and attach it to the +// instance. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation RebootInstance for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstance +func (c *Lightsail) RebootInstance(input *RebootInstanceInput) (*RebootInstanceOutput, error) { + req, out := c.RebootInstanceRequest(input) + return out, req.Send() +} + +// RebootInstanceWithContext is the same as RebootInstance with the addition of +// the ability to pass a context and additional request options. +// +// See RebootInstance for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) RebootInstanceWithContext(ctx aws.Context, input *RebootInstanceInput, opts ...request.Option) (*RebootInstanceOutput, error) { + req, out := c.RebootInstanceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opReleaseStaticIp = "ReleaseStaticIp" + +// ReleaseStaticIpRequest generates a "aws/request.Request" representing the +// client's request for the ReleaseStaticIp operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ReleaseStaticIp for more information on using the ReleaseStaticIp +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ReleaseStaticIpRequest method. +// req, resp := client.ReleaseStaticIpRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIp +func (c *Lightsail) ReleaseStaticIpRequest(input *ReleaseStaticIpInput) (req *request.Request, output *ReleaseStaticIpOutput) { + op := &request.Operation{ + Name: opReleaseStaticIp, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ReleaseStaticIpInput{} + } + + output = &ReleaseStaticIpOutput{} + req = c.newRequest(op, input, output) + return +} + +// ReleaseStaticIp API operation for Amazon Lightsail. +// +// Deletes a specific static IP from your account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation ReleaseStaticIp for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIp +func (c *Lightsail) ReleaseStaticIp(input *ReleaseStaticIpInput) (*ReleaseStaticIpOutput, error) { + req, out := c.ReleaseStaticIpRequest(input) + return out, req.Send() +} + +// ReleaseStaticIpWithContext is the same as ReleaseStaticIp with the addition of +// the ability to pass a context and additional request options. +// +// See ReleaseStaticIp for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) ReleaseStaticIpWithContext(ctx aws.Context, input *ReleaseStaticIpInput, opts ...request.Option) (*ReleaseStaticIpOutput, error) { + req, out := c.ReleaseStaticIpRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartInstance = "StartInstance" + +// StartInstanceRequest generates a "aws/request.Request" representing the +// client's request for the StartInstance operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartInstance for more information on using the StartInstance +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StartInstanceRequest method. +// req, resp := client.StartInstanceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstance +func (c *Lightsail) StartInstanceRequest(input *StartInstanceInput) (req *request.Request, output *StartInstanceOutput) { + op := &request.Operation{ + Name: opStartInstance, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StartInstanceInput{} + } + + output = &StartInstanceOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartInstance API operation for Amazon Lightsail. +// +// Starts a specific Amazon Lightsail instance from a stopped state. To restart +// an instance, use the reboot instance operation. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation StartInstance for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstance +func (c *Lightsail) StartInstance(input *StartInstanceInput) (*StartInstanceOutput, error) { + req, out := c.StartInstanceRequest(input) + return out, req.Send() +} + +// StartInstanceWithContext is the same as StartInstance with the addition of +// the ability to pass a context and additional request options. +// +// See StartInstance for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) StartInstanceWithContext(ctx aws.Context, input *StartInstanceInput, opts ...request.Option) (*StartInstanceOutput, error) { + req, out := c.StartInstanceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStopInstance = "StopInstance" + +// StopInstanceRequest generates a "aws/request.Request" representing the +// client's request for the StopInstance operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StopInstance for more information on using the StopInstance +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StopInstanceRequest method. +// req, resp := client.StopInstanceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstance +func (c *Lightsail) StopInstanceRequest(input *StopInstanceInput) (req *request.Request, output *StopInstanceOutput) { + op := &request.Operation{ + Name: opStopInstance, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StopInstanceInput{} + } + + output = &StopInstanceOutput{} + req = c.newRequest(op, input, output) + return +} + +// StopInstance API operation for Amazon Lightsail. +// +// Stops a specific Amazon Lightsail instance that is currently running. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation StopInstance for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstance +func (c *Lightsail) StopInstance(input *StopInstanceInput) (*StopInstanceOutput, error) { + req, out := c.StopInstanceRequest(input) + return out, req.Send() +} + +// StopInstanceWithContext is the same as StopInstance with the addition of +// the ability to pass a context and additional request options. +// +// See StopInstance for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) StopInstanceWithContext(ctx aws.Context, input *StopInstanceInput, opts ...request.Option) (*StopInstanceOutput, error) { + req, out := c.StopInstanceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUnpeerVpc = "UnpeerVpc" + +// UnpeerVpcRequest generates a "aws/request.Request" representing the +// client's request for the UnpeerVpc operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UnpeerVpc for more information on using the UnpeerVpc +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UnpeerVpcRequest method. +// req, resp := client.UnpeerVpcRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpc +func (c *Lightsail) UnpeerVpcRequest(input *UnpeerVpcInput) (req *request.Request, output *UnpeerVpcOutput) { + op := &request.Operation{ + Name: opUnpeerVpc, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UnpeerVpcInput{} + } + + output = &UnpeerVpcOutput{} + req = c.newRequest(op, input, output) + return +} + +// UnpeerVpc API operation for Amazon Lightsail. +// +// Attempts to unpeer the Lightsail VPC from the user's default VPC. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation UnpeerVpc for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpc +func (c *Lightsail) UnpeerVpc(input *UnpeerVpcInput) (*UnpeerVpcOutput, error) { + req, out := c.UnpeerVpcRequest(input) + return out, req.Send() +} + +// UnpeerVpcWithContext is the same as UnpeerVpc with the addition of +// the ability to pass a context and additional request options. +// +// See UnpeerVpc for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) UnpeerVpcWithContext(ctx aws.Context, input *UnpeerVpcInput, opts ...request.Option) (*UnpeerVpcOutput, error) { + req, out := c.UnpeerVpcRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateDomainEntry = "UpdateDomainEntry" + +// UpdateDomainEntryRequest generates a "aws/request.Request" representing the +// client's request for the UpdateDomainEntry operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateDomainEntry for more information on using the UpdateDomainEntry +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateDomainEntryRequest method. +// req, resp := client.UpdateDomainEntryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntry +func (c *Lightsail) UpdateDomainEntryRequest(input *UpdateDomainEntryInput) (req *request.Request, output *UpdateDomainEntryOutput) { + op := &request.Operation{ + Name: opUpdateDomainEntry, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateDomainEntryInput{} + } + + output = &UpdateDomainEntryOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateDomainEntry API operation for Amazon Lightsail. +// +// Updates a domain recordset after it is created. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation UpdateDomainEntry for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntry +func (c *Lightsail) UpdateDomainEntry(input *UpdateDomainEntryInput) (*UpdateDomainEntryOutput, error) { + req, out := c.UpdateDomainEntryRequest(input) + return out, req.Send() +} + +// UpdateDomainEntryWithContext is the same as UpdateDomainEntry with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateDomainEntry for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) UpdateDomainEntryWithContext(ctx aws.Context, input *UpdateDomainEntryInput, opts ...request.Option) (*UpdateDomainEntryOutput, error) { + req, out := c.UpdateDomainEntryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateLoadBalancerAttribute = "UpdateLoadBalancerAttribute" + +// UpdateLoadBalancerAttributeRequest generates a "aws/request.Request" representing the +// client's request for the UpdateLoadBalancerAttribute operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateLoadBalancerAttribute for more information on using the UpdateLoadBalancerAttribute +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateLoadBalancerAttributeRequest method. +// req, resp := client.UpdateLoadBalancerAttributeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttribute +func (c *Lightsail) UpdateLoadBalancerAttributeRequest(input *UpdateLoadBalancerAttributeInput) (req *request.Request, output *UpdateLoadBalancerAttributeOutput) { + op := &request.Operation{ + Name: opUpdateLoadBalancerAttribute, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateLoadBalancerAttributeInput{} + } + + output = &UpdateLoadBalancerAttributeOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateLoadBalancerAttribute API operation for Amazon Lightsail. +// +// Updates the specified attribute for a load balancer. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation UpdateLoadBalancerAttribute for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceException "ServiceException" +// A general service exception. +// +// * ErrCodeInvalidInputException "InvalidInputException" +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain-related APIs are only available in the N. Virginia (us-east-1) Region. +// Please set your Region configuration to us-east-1 to create, view, or edit +// these resources. +// +// * ErrCodeNotFoundException "NotFoundException" +// Lightsail throws this exception when it cannot find a resource. +// +// * ErrCodeOperationFailureException "OperationFailureException" +// Lightsail throws this exception when an operation fails to execute. +// +// * ErrCodeAccessDeniedException "AccessDeniedException" +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// * ErrCodeAccountSetupInProgressException "AccountSetupInProgressException" +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// * ErrCodeUnauthenticatedException "UnauthenticatedException" +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttribute +func (c *Lightsail) UpdateLoadBalancerAttribute(input *UpdateLoadBalancerAttributeInput) (*UpdateLoadBalancerAttributeOutput, error) { + req, out := c.UpdateLoadBalancerAttributeRequest(input) + return out, req.Send() +} + +// UpdateLoadBalancerAttributeWithContext is the same as UpdateLoadBalancerAttribute with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateLoadBalancerAttribute for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) UpdateLoadBalancerAttributeWithContext(ctx aws.Context, input *UpdateLoadBalancerAttributeInput, opts ...request.Option) (*UpdateLoadBalancerAttributeOutput, error) { + req, out := c.UpdateLoadBalancerAttributeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIpRequest +type AllocateStaticIpInput struct { + _ struct{} `type:"structure"` + + // The name of the static IP address. + // + // StaticIpName is a required field + StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"` +} + +// String returns the string representation +func (s AllocateStaticIpInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AllocateStaticIpInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AllocateStaticIpInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AllocateStaticIpInput"} + if s.StaticIpName == nil { + invalidParams.Add(request.NewErrParamRequired("StaticIpName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetStaticIpName sets the StaticIpName field's value. +func (s *AllocateStaticIpInput) SetStaticIpName(v string) *AllocateStaticIpInput { + s.StaticIpName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIpResult +type AllocateStaticIpOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about the static IP address + // you allocated. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s AllocateStaticIpOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AllocateStaticIpOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *AllocateStaticIpOutput) SetOperations(v []*Operation) *AllocateStaticIpOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDiskRequest +type AttachDiskInput struct { + _ struct{} `type:"structure"` + + // The unique Lightsail disk name (e.g., my-disk). + // + // DiskName is a required field + DiskName *string `locationName:"diskName" type:"string" required:"true"` + + // The disk path to expose to the instance (e.g., /dev/xvdf). + // + // DiskPath is a required field + DiskPath *string `locationName:"diskPath" type:"string" required:"true"` + + // The name of the Lightsail instance where you want to utilize the storage + // disk. + // + // InstanceName is a required field + InstanceName *string `locationName:"instanceName" type:"string" required:"true"` +} + +// String returns the string representation +func (s AttachDiskInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachDiskInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AttachDiskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AttachDiskInput"} + if s.DiskName == nil { + invalidParams.Add(request.NewErrParamRequired("DiskName")) + } + if s.DiskPath == nil { + invalidParams.Add(request.NewErrParamRequired("DiskPath")) + } + if s.InstanceName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDiskName sets the DiskName field's value. +func (s *AttachDiskInput) SetDiskName(v string) *AttachDiskInput { + s.DiskName = &v + return s +} + +// SetDiskPath sets the DiskPath field's value. +func (s *AttachDiskInput) SetDiskPath(v string) *AttachDiskInput { + s.DiskPath = &v + return s +} + +// SetInstanceName sets the InstanceName field's value. +func (s *AttachDiskInput) SetInstanceName(v string) *AttachDiskInput { + s.InstanceName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDiskResult +type AttachDiskOutput struct { + _ struct{} `type:"structure"` + + // An object describing the API operations. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s AttachDiskOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachDiskOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *AttachDiskOutput) SetOperations(v []*Operation) *AttachDiskOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancerRequest +type AttachInstancesToLoadBalancerInput struct { + _ struct{} `type:"structure"` + + // An array of strings representing the instance name(s) you want to attach + // to your load balancer. + // + // InstanceNames is a required field + InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"` + + // The name of the load balancer. + // + // LoadBalancerName is a required field + LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` +} + +// String returns the string representation +func (s AttachInstancesToLoadBalancerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachInstancesToLoadBalancerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AttachInstancesToLoadBalancerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AttachInstancesToLoadBalancerInput"} + if s.InstanceNames == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceNames")) + } + if s.LoadBalancerName == nil { + invalidParams.Add(request.NewErrParamRequired("LoadBalancerName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceNames sets the InstanceNames field's value. +func (s *AttachInstancesToLoadBalancerInput) SetInstanceNames(v []*string) *AttachInstancesToLoadBalancerInput { + s.InstanceNames = v + return s +} + +// SetLoadBalancerName sets the LoadBalancerName field's value. +func (s *AttachInstancesToLoadBalancerInput) SetLoadBalancerName(v string) *AttachInstancesToLoadBalancerInput { + s.LoadBalancerName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancerResult +type AttachInstancesToLoadBalancerOutput struct { + _ struct{} `type:"structure"` + + // An object representing the API operations. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s AttachInstancesToLoadBalancerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachInstancesToLoadBalancerOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *AttachInstancesToLoadBalancerOutput) SetOperations(v []*Operation) *AttachInstancesToLoadBalancerOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificateRequest +type AttachLoadBalancerTlsCertificateInput struct { + _ struct{} `type:"structure"` + + // The name of your TLS/SSL certificate. + // + // CertificateName is a required field + CertificateName *string `locationName:"certificateName" type:"string" required:"true"` + + // The name of the load balancer to which you want to associate the TLS/SSL + // certificate. + // + // LoadBalancerName is a required field + LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` +} + +// String returns the string representation +func (s AttachLoadBalancerTlsCertificateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachLoadBalancerTlsCertificateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AttachLoadBalancerTlsCertificateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AttachLoadBalancerTlsCertificateInput"} + if s.CertificateName == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateName")) + } + if s.LoadBalancerName == nil { + invalidParams.Add(request.NewErrParamRequired("LoadBalancerName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCertificateName sets the CertificateName field's value. +func (s *AttachLoadBalancerTlsCertificateInput) SetCertificateName(v string) *AttachLoadBalancerTlsCertificateInput { + s.CertificateName = &v + return s +} + +// SetLoadBalancerName sets the LoadBalancerName field's value. +func (s *AttachLoadBalancerTlsCertificateInput) SetLoadBalancerName(v string) *AttachLoadBalancerTlsCertificateInput { + s.LoadBalancerName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificateResult +type AttachLoadBalancerTlsCertificateOutput struct { + _ struct{} `type:"structure"` + + // An object representing the API operations. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s AttachLoadBalancerTlsCertificateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachLoadBalancerTlsCertificateOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *AttachLoadBalancerTlsCertificateOutput) SetOperations(v []*Operation) *AttachLoadBalancerTlsCertificateOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIpRequest +type AttachStaticIpInput struct { + _ struct{} `type:"structure"` + + // The instance name to which you want to attach the static IP address. + // + // InstanceName is a required field + InstanceName *string `locationName:"instanceName" type:"string" required:"true"` + + // The name of the static IP. + // + // StaticIpName is a required field + StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"` +} + +// String returns the string representation +func (s AttachStaticIpInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachStaticIpInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AttachStaticIpInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AttachStaticIpInput"} + if s.InstanceName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceName")) + } + if s.StaticIpName == nil { + invalidParams.Add(request.NewErrParamRequired("StaticIpName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceName sets the InstanceName field's value. +func (s *AttachStaticIpInput) SetInstanceName(v string) *AttachStaticIpInput { + s.InstanceName = &v + return s +} + +// SetStaticIpName sets the StaticIpName field's value. +func (s *AttachStaticIpInput) SetStaticIpName(v string) *AttachStaticIpInput { + s.StaticIpName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIpResult +type AttachStaticIpOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about your API operations. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s AttachStaticIpOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttachStaticIpOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *AttachStaticIpOutput) SetOperations(v []*Operation) *AttachStaticIpOutput { + s.Operations = v + return s +} + +// Describes an Availability Zone. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AvailabilityZone +type AvailabilityZone struct { + _ struct{} `type:"structure"` + + // The state of the Availability Zone. + State *string `locationName:"state" type:"string"` + + // The name of the Availability Zone. The format is us-east-2a (case-sensitive). + ZoneName *string `locationName:"zoneName" type:"string"` +} + +// String returns the string representation +func (s AvailabilityZone) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AvailabilityZone) GoString() string { + return s.String() +} + +// SetState sets the State field's value. +func (s *AvailabilityZone) SetState(v string) *AvailabilityZone { + s.State = &v + return s +} + +// SetZoneName sets the ZoneName field's value. +func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone { + s.ZoneName = &v + return s +} + +// Describes a blueprint (a virtual private server image). +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Blueprint +type Blueprint struct { + _ struct{} `type:"structure"` + + // The ID for the virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). + BlueprintId *string `locationName:"blueprintId" type:"string"` + + // The description of the blueprint. + Description *string `locationName:"description" type:"string"` + + // The group name of the blueprint (e.g., amazon-linux). + Group *string `locationName:"group" type:"string"` + + // A Boolean value indicating whether the blueprint is active. When you update + // your blueprints, you will inactivate old blueprints and keep the most recent + // versions active. + IsActive *bool `locationName:"isActive" type:"boolean"` + + // The end-user license agreement URL for the image or blueprint. + LicenseUrl *string `locationName:"licenseUrl" type:"string"` + + // The minimum bundle power required to run this blueprint. For example, you + // need a bundle with a power value of 500 or more to create an instance that + // uses a blueprint with a minimum power value of 500. 0 indicates that the + // blueprint runs on all instance sizes. + MinPower *int64 `locationName:"minPower" type:"integer"` + + // The friendly name of the blueprint (e.g., Amazon Linux). + Name *string `locationName:"name" type:"string"` + + // The operating system platform (either Linux/Unix-based or Windows Server-based) + // of the blueprint. + Platform *string `locationName:"platform" type:"string" enum:"InstancePlatform"` + + // The product URL to learn more about the image or blueprint. + ProductUrl *string `locationName:"productUrl" type:"string"` + + // The type of the blueprint (e.g., os or app). + Type *string `locationName:"type" type:"string" enum:"BlueprintType"` + + // The version number of the operating system, application, or stack (e.g., + // 2016.03.0). + Version *string `locationName:"version" type:"string"` + + // The version code. + VersionCode *string `locationName:"versionCode" type:"string"` +} + +// String returns the string representation +func (s Blueprint) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Blueprint) GoString() string { + return s.String() +} + +// SetBlueprintId sets the BlueprintId field's value. +func (s *Blueprint) SetBlueprintId(v string) *Blueprint { + s.BlueprintId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Blueprint) SetDescription(v string) *Blueprint { + s.Description = &v + return s +} + +// SetGroup sets the Group field's value. +func (s *Blueprint) SetGroup(v string) *Blueprint { + s.Group = &v + return s +} + +// SetIsActive sets the IsActive field's value. +func (s *Blueprint) SetIsActive(v bool) *Blueprint { + s.IsActive = &v + return s +} + +// SetLicenseUrl sets the LicenseUrl field's value. +func (s *Blueprint) SetLicenseUrl(v string) *Blueprint { + s.LicenseUrl = &v + return s +} + +// SetMinPower sets the MinPower field's value. +func (s *Blueprint) SetMinPower(v int64) *Blueprint { + s.MinPower = &v + return s +} + +// SetName sets the Name field's value. +func (s *Blueprint) SetName(v string) *Blueprint { + s.Name = &v + return s +} + +// SetPlatform sets the Platform field's value. +func (s *Blueprint) SetPlatform(v string) *Blueprint { + s.Platform = &v + return s +} + +// SetProductUrl sets the ProductUrl field's value. +func (s *Blueprint) SetProductUrl(v string) *Blueprint { + s.ProductUrl = &v + return s +} + +// SetType sets the Type field's value. +func (s *Blueprint) SetType(v string) *Blueprint { + s.Type = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *Blueprint) SetVersion(v string) *Blueprint { + s.Version = &v + return s +} + +// SetVersionCode sets the VersionCode field's value. +func (s *Blueprint) SetVersionCode(v string) *Blueprint { + s.VersionCode = &v + return s +} + +// Describes a bundle, which is a set of specs describing your virtual private +// server (or instance). +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Bundle +type Bundle struct { + _ struct{} `type:"structure"` + + // The bundle ID (e.g., micro_1_0). + BundleId *string `locationName:"bundleId" type:"string"` + + // The number of vCPUs included in the bundle (e.g., 2). + CpuCount *int64 `locationName:"cpuCount" type:"integer"` + + // The size of the SSD (e.g., 30). + DiskSizeInGb *int64 `locationName:"diskSizeInGb" type:"integer"` + + // The Amazon EC2 instance type (e.g., t2.micro). + InstanceType *string `locationName:"instanceType" type:"string"` + + // A Boolean value indicating whether the bundle is active. + IsActive *bool `locationName:"isActive" type:"boolean"` + + // A friendly name for the bundle (e.g., Micro). + Name *string `locationName:"name" type:"string"` + + // A numeric value that represents the power of the bundle (e.g., 500). You + // can use the bundle's power value in conjunction with a blueprint's minimum + // power value to determine whether the blueprint will run on the bundle. For + // example, you need a bundle with a power value of 500 or more to create an + // instance that uses a blueprint with a minimum power value of 500. + Power *int64 `locationName:"power" type:"integer"` + + // The price in US dollars (e.g., 5.0). + Price *float64 `locationName:"price" type:"float"` + + // The amount of RAM in GB (e.g., 2.0). + RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"` + + // The operating system platform (Linux/Unix-based or Windows Server-based) + // that the bundle supports. You can only launch a WINDOWS bundle on a blueprint + // that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX + // bundle. + SupportedPlatforms []*string `locationName:"supportedPlatforms" type:"list"` + + // The data transfer rate per month in GB (e.g., 2000). + TransferPerMonthInGb *int64 `locationName:"transferPerMonthInGb" type:"integer"` +} + +// String returns the string representation +func (s Bundle) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Bundle) GoString() string { + return s.String() +} + +// SetBundleId sets the BundleId field's value. +func (s *Bundle) SetBundleId(v string) *Bundle { + s.BundleId = &v + return s +} + +// SetCpuCount sets the CpuCount field's value. +func (s *Bundle) SetCpuCount(v int64) *Bundle { + s.CpuCount = &v + return s +} + +// SetDiskSizeInGb sets the DiskSizeInGb field's value. +func (s *Bundle) SetDiskSizeInGb(v int64) *Bundle { + s.DiskSizeInGb = &v + return s +} + +// SetInstanceType sets the InstanceType field's value. +func (s *Bundle) SetInstanceType(v string) *Bundle { + s.InstanceType = &v + return s +} + +// SetIsActive sets the IsActive field's value. +func (s *Bundle) SetIsActive(v bool) *Bundle { + s.IsActive = &v + return s +} + +// SetName sets the Name field's value. +func (s *Bundle) SetName(v string) *Bundle { + s.Name = &v + return s +} + +// SetPower sets the Power field's value. +func (s *Bundle) SetPower(v int64) *Bundle { + s.Power = &v + return s +} + +// SetPrice sets the Price field's value. +func (s *Bundle) SetPrice(v float64) *Bundle { + s.Price = &v + return s +} + +// SetRamSizeInGb sets the RamSizeInGb field's value. +func (s *Bundle) SetRamSizeInGb(v float64) *Bundle { + s.RamSizeInGb = &v + return s +} + +// SetSupportedPlatforms sets the SupportedPlatforms field's value. +func (s *Bundle) SetSupportedPlatforms(v []*string) *Bundle { + s.SupportedPlatforms = v + return s +} + +// SetTransferPerMonthInGb sets the TransferPerMonthInGb field's value. +func (s *Bundle) SetTransferPerMonthInGb(v int64) *Bundle { + s.TransferPerMonthInGb = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPortsRequest +type CloseInstancePublicPortsInput struct { + _ struct{} `type:"structure"` + + // The name of the instance on which you're attempting to close the public ports. + // + // InstanceName is a required field + InstanceName *string `locationName:"instanceName" type:"string" required:"true"` + + // Information about the public port you are trying to close. + // + // PortInfo is a required field + PortInfo *PortInfo `locationName:"portInfo" type:"structure" required:"true"` +} + +// String returns the string representation +func (s CloseInstancePublicPortsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CloseInstancePublicPortsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CloseInstancePublicPortsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CloseInstancePublicPortsInput"} + if s.InstanceName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceName")) + } + if s.PortInfo == nil { + invalidParams.Add(request.NewErrParamRequired("PortInfo")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceName sets the InstanceName field's value. +func (s *CloseInstancePublicPortsInput) SetInstanceName(v string) *CloseInstancePublicPortsInput { + s.InstanceName = &v + return s +} + +// SetPortInfo sets the PortInfo field's value. +func (s *CloseInstancePublicPortsInput) SetPortInfo(v *PortInfo) *CloseInstancePublicPortsInput { + s.PortInfo = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPortsResult +type CloseInstancePublicPortsOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs that contains information about the operation. + Operation *Operation `locationName:"operation" type:"structure"` +} + +// String returns the string representation +func (s CloseInstancePublicPortsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CloseInstancePublicPortsOutput) GoString() string { + return s.String() +} + +// SetOperation sets the Operation field's value. +func (s *CloseInstancePublicPortsOutput) SetOperation(v *Operation) *CloseInstancePublicPortsOutput { + s.Operation = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshotRequest +type CreateDiskFromSnapshotInput struct { + _ struct{} `type:"structure"` + + // The Availability Zone where you want to create the disk (e.g., us-east-2a). + // Choose the same Availability Zone as the Lightsail instance where you want + // to create the disk. + // + // Use the GetRegions operation to list the Availability Zones where Lightsail + // is currently available. + // + // AvailabilityZone is a required field + AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` + + // The unique Lightsail disk name (e.g., my-disk). + // + // DiskName is a required field + DiskName *string `locationName:"diskName" type:"string" required:"true"` + + // The name of the disk snapshot (e.g., my-snapshot) from which to create the + // new storage disk. + // + // DiskSnapshotName is a required field + DiskSnapshotName *string `locationName:"diskSnapshotName" type:"string" required:"true"` + + // The size of the disk in GB (e.g., 32). + // + // SizeInGb is a required field + SizeInGb *int64 `locationName:"sizeInGb" type:"integer" required:"true"` +} + +// String returns the string representation +func (s CreateDiskFromSnapshotInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDiskFromSnapshotInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateDiskFromSnapshotInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateDiskFromSnapshotInput"} + if s.AvailabilityZone == nil { + invalidParams.Add(request.NewErrParamRequired("AvailabilityZone")) + } + if s.DiskName == nil { + invalidParams.Add(request.NewErrParamRequired("DiskName")) + } + if s.DiskSnapshotName == nil { + invalidParams.Add(request.NewErrParamRequired("DiskSnapshotName")) + } + if s.SizeInGb == nil { + invalidParams.Add(request.NewErrParamRequired("SizeInGb")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAvailabilityZone sets the AvailabilityZone field's value. +func (s *CreateDiskFromSnapshotInput) SetAvailabilityZone(v string) *CreateDiskFromSnapshotInput { + s.AvailabilityZone = &v + return s +} + +// SetDiskName sets the DiskName field's value. +func (s *CreateDiskFromSnapshotInput) SetDiskName(v string) *CreateDiskFromSnapshotInput { + s.DiskName = &v + return s +} + +// SetDiskSnapshotName sets the DiskSnapshotName field's value. +func (s *CreateDiskFromSnapshotInput) SetDiskSnapshotName(v string) *CreateDiskFromSnapshotInput { + s.DiskSnapshotName = &v + return s +} + +// SetSizeInGb sets the SizeInGb field's value. +func (s *CreateDiskFromSnapshotInput) SetSizeInGb(v int64) *CreateDiskFromSnapshotInput { + s.SizeInGb = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshotResult +type CreateDiskFromSnapshotOutput struct { + _ struct{} `type:"structure"` + + // An object describing the API operations. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s CreateDiskFromSnapshotOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDiskFromSnapshotOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *CreateDiskFromSnapshotOutput) SetOperations(v []*Operation) *CreateDiskFromSnapshotOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskRequest +type CreateDiskInput struct { + _ struct{} `type:"structure"` + + // The Availability Zone where you want to create the disk (e.g., us-east-2a). + // Choose the same Availability Zone as the Lightsail instance where you want + // to create the disk. + // + // Use the GetRegions operation to list the Availability Zones where Lightsail + // is currently available. + // + // AvailabilityZone is a required field + AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` + + // The unique Lightsail disk name (e.g., my-disk). + // + // DiskName is a required field + DiskName *string `locationName:"diskName" type:"string" required:"true"` + + // The size of the disk in GB (e.g., 32). + // + // SizeInGb is a required field + SizeInGb *int64 `locationName:"sizeInGb" type:"integer" required:"true"` +} + +// String returns the string representation +func (s CreateDiskInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDiskInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateDiskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateDiskInput"} + if s.AvailabilityZone == nil { + invalidParams.Add(request.NewErrParamRequired("AvailabilityZone")) + } + if s.DiskName == nil { + invalidParams.Add(request.NewErrParamRequired("DiskName")) + } + if s.SizeInGb == nil { + invalidParams.Add(request.NewErrParamRequired("SizeInGb")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAvailabilityZone sets the AvailabilityZone field's value. +func (s *CreateDiskInput) SetAvailabilityZone(v string) *CreateDiskInput { + s.AvailabilityZone = &v + return s +} + +// SetDiskName sets the DiskName field's value. +func (s *CreateDiskInput) SetDiskName(v string) *CreateDiskInput { + s.DiskName = &v + return s +} + +// SetSizeInGb sets the SizeInGb field's value. +func (s *CreateDiskInput) SetSizeInGb(v int64) *CreateDiskInput { + s.SizeInGb = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskResult +type CreateDiskOutput struct { + _ struct{} `type:"structure"` + + // An object describing the API operations. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s CreateDiskOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDiskOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *CreateDiskOutput) SetOperations(v []*Operation) *CreateDiskOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshotRequest +type CreateDiskSnapshotInput struct { + _ struct{} `type:"structure"` + + // The unique name of the source disk (e.g., my-source-disk). + // + // DiskName is a required field + DiskName *string `locationName:"diskName" type:"string" required:"true"` + + // The name of the destination disk snapshot (e.g., my-disk-snapshot) based + // on the source disk. + // + // DiskSnapshotName is a required field + DiskSnapshotName *string `locationName:"diskSnapshotName" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateDiskSnapshotInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDiskSnapshotInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateDiskSnapshotInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateDiskSnapshotInput"} + if s.DiskName == nil { + invalidParams.Add(request.NewErrParamRequired("DiskName")) + } + if s.DiskSnapshotName == nil { + invalidParams.Add(request.NewErrParamRequired("DiskSnapshotName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDiskName sets the DiskName field's value. +func (s *CreateDiskSnapshotInput) SetDiskName(v string) *CreateDiskSnapshotInput { + s.DiskName = &v + return s +} + +// SetDiskSnapshotName sets the DiskSnapshotName field's value. +func (s *CreateDiskSnapshotInput) SetDiskSnapshotName(v string) *CreateDiskSnapshotInput { + s.DiskSnapshotName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshotResult +type CreateDiskSnapshotOutput struct { + _ struct{} `type:"structure"` + + // An object describing the API operations. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s CreateDiskSnapshotOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDiskSnapshotOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *CreateDiskSnapshotOutput) SetOperations(v []*Operation) *CreateDiskSnapshotOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntryRequest +type CreateDomainEntryInput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about the domain entry + // request. + // + // DomainEntry is a required field + DomainEntry *DomainEntry `locationName:"domainEntry" type:"structure" required:"true"` + + // The domain name (e.g., example.com) for which you want to create the domain + // entry. + // + // DomainName is a required field + DomainName *string `locationName:"domainName" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateDomainEntryInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDomainEntryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateDomainEntryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateDomainEntryInput"} + if s.DomainEntry == nil { + invalidParams.Add(request.NewErrParamRequired("DomainEntry")) + } + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainEntry sets the DomainEntry field's value. +func (s *CreateDomainEntryInput) SetDomainEntry(v *DomainEntry) *CreateDomainEntryInput { + s.DomainEntry = v + return s +} + +// SetDomainName sets the DomainName field's value. +func (s *CreateDomainEntryInput) SetDomainName(v string) *CreateDomainEntryInput { + s.DomainName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntryResult +type CreateDomainEntryOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about the operation. + Operation *Operation `locationName:"operation" type:"structure"` +} + +// String returns the string representation +func (s CreateDomainEntryOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDomainEntryOutput) GoString() string { + return s.String() +} + +// SetOperation sets the Operation field's value. +func (s *CreateDomainEntryOutput) SetOperation(v *Operation) *CreateDomainEntryOutput { + s.Operation = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainRequest +type CreateDomainInput struct { + _ struct{} `type:"structure"` + + // The domain name to manage (e.g., example.com). + // + // You cannot register a new domain name using Lightsail. You must register + // a domain name using Amazon Route 53 or another domain name registrar. If + // you have already registered your domain, you can enter its name in this parameter + // to manage the DNS records for that domain. + // + // DomainName is a required field + DomainName *string `locationName:"domainName" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateDomainInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDomainInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateDomainInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateDomainInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput { + s.DomainName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainResult +type CreateDomainOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about the domain resource + // you created. + Operation *Operation `locationName:"operation" type:"structure"` +} + +// String returns the string representation +func (s CreateDomainOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDomainOutput) GoString() string { + return s.String() +} + +// SetOperation sets the Operation field's value. +func (s *CreateDomainOutput) SetOperation(v *Operation) *CreateDomainOutput { + s.Operation = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshotRequest +type CreateInstanceSnapshotInput struct { + _ struct{} `type:"structure"` + + // The Lightsail instance on which to base your snapshot. + // + // InstanceName is a required field + InstanceName *string `locationName:"instanceName" type:"string" required:"true"` + + // The name for your new snapshot. + // + // InstanceSnapshotName is a required field + InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateInstanceSnapshotInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateInstanceSnapshotInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateInstanceSnapshotInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateInstanceSnapshotInput"} + if s.InstanceName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceName")) + } + if s.InstanceSnapshotName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceSnapshotName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceName sets the InstanceName field's value. +func (s *CreateInstanceSnapshotInput) SetInstanceName(v string) *CreateInstanceSnapshotInput { + s.InstanceName = &v + return s +} + +// SetInstanceSnapshotName sets the InstanceSnapshotName field's value. +func (s *CreateInstanceSnapshotInput) SetInstanceSnapshotName(v string) *CreateInstanceSnapshotInput { + s.InstanceSnapshotName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshotResult +type CreateInstanceSnapshotOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about the results of your + // create instances snapshot request. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s CreateInstanceSnapshotOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateInstanceSnapshotOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *CreateInstanceSnapshotOutput) SetOperations(v []*Operation) *CreateInstanceSnapshotOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshotRequest +type CreateInstancesFromSnapshotInput struct { + _ struct{} `type:"structure"` + + // An object containing information about one or more disk mappings. + AttachedDiskMapping map[string][]*DiskMap `locationName:"attachedDiskMapping" type:"map"` + + // The Availability Zone where you want to create your instances. Use the following + // formatting: us-east-2a (case sensitive). You can get a list of availability + // zones by using the get regions (http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRegions.html) + // operation. Be sure to add the include availability zones parameter to your + // request. + // + // AvailabilityZone is a required field + AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` + + // The bundle of specification information for your virtual private server (or + // instance), including the pricing plan (e.g., micro_1_0). + // + // BundleId is a required field + BundleId *string `locationName:"bundleId" type:"string" required:"true"` + + // The names for your new instances. + // + // InstanceNames is a required field + InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"` + + // The name of the instance snapshot on which you are basing your new instances. + // Use the get instance snapshots operation to return information about your + // existing snapshots. + // + // InstanceSnapshotName is a required field + InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"` + + // The name for your key pair. + KeyPairName *string `locationName:"keyPairName" type:"string"` + + // You can create a launch script that configures a server with additional user + // data. For example, apt-get -y update. + // + // Depending on the machine image you choose, the command to get software on + // your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu + // use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide + // (http://lightsail.aws.amazon.com/ls/docs/getting-started/articles/pre-installed-apps). + UserData *string `locationName:"userData" type:"string"` +} + +// String returns the string representation +func (s CreateInstancesFromSnapshotInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateInstancesFromSnapshotInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateInstancesFromSnapshotInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateInstancesFromSnapshotInput"} + if s.AvailabilityZone == nil { + invalidParams.Add(request.NewErrParamRequired("AvailabilityZone")) + } + if s.BundleId == nil { + invalidParams.Add(request.NewErrParamRequired("BundleId")) + } + if s.InstanceNames == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceNames")) + } + if s.InstanceSnapshotName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceSnapshotName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttachedDiskMapping sets the AttachedDiskMapping field's value. +func (s *CreateInstancesFromSnapshotInput) SetAttachedDiskMapping(v map[string][]*DiskMap) *CreateInstancesFromSnapshotInput { + s.AttachedDiskMapping = v + return s +} + +// SetAvailabilityZone sets the AvailabilityZone field's value. +func (s *CreateInstancesFromSnapshotInput) SetAvailabilityZone(v string) *CreateInstancesFromSnapshotInput { + s.AvailabilityZone = &v + return s +} + +// SetBundleId sets the BundleId field's value. +func (s *CreateInstancesFromSnapshotInput) SetBundleId(v string) *CreateInstancesFromSnapshotInput { + s.BundleId = &v + return s +} + +// SetInstanceNames sets the InstanceNames field's value. +func (s *CreateInstancesFromSnapshotInput) SetInstanceNames(v []*string) *CreateInstancesFromSnapshotInput { + s.InstanceNames = v + return s +} + +// SetInstanceSnapshotName sets the InstanceSnapshotName field's value. +func (s *CreateInstancesFromSnapshotInput) SetInstanceSnapshotName(v string) *CreateInstancesFromSnapshotInput { + s.InstanceSnapshotName = &v + return s +} + +// SetKeyPairName sets the KeyPairName field's value. +func (s *CreateInstancesFromSnapshotInput) SetKeyPairName(v string) *CreateInstancesFromSnapshotInput { + s.KeyPairName = &v + return s +} + +// SetUserData sets the UserData field's value. +func (s *CreateInstancesFromSnapshotInput) SetUserData(v string) *CreateInstancesFromSnapshotInput { + s.UserData = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshotResult +type CreateInstancesFromSnapshotOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about the results of your + // create instances from snapshot request. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s CreateInstancesFromSnapshotOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateInstancesFromSnapshotOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *CreateInstancesFromSnapshotOutput) SetOperations(v []*Operation) *CreateInstancesFromSnapshotOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesRequest +type CreateInstancesInput struct { + _ struct{} `type:"structure"` + + // The Availability Zone in which to create your instance. Use the following + // format: us-east-2a (case sensitive). You can get a list of availability zones + // by using the get regions (http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRegions.html) + // operation. Be sure to add the include availability zones parameter to your + // request. + // + // AvailabilityZone is a required field + AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` + + // The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). + // Use the get blueprints operation to return a list of available images (or + // blueprints). + // + // BlueprintId is a required field + BlueprintId *string `locationName:"blueprintId" type:"string" required:"true"` + + // The bundle of specification information for your virtual private server (or + // instance), including the pricing plan (e.g., micro_1_0). + // + // BundleId is a required field + BundleId *string `locationName:"bundleId" type:"string" required:"true"` + + // (Deprecated) The name for your custom image. + // + // In releases prior to June 12, 2017, this parameter was ignored by the API. + // It is now deprecated. + CustomImageName *string `locationName:"customImageName" deprecated:"true" type:"string"` + + // The names to use for your new Lightsail instances. Separate multiple values + // using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"] + // + // InstanceNames is a required field + InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"` + + // The name of your key pair. + KeyPairName *string `locationName:"keyPairName" type:"string"` + + // A launch script you can create that configures a server with additional user + // data. For example, you might want to run apt-get -y update. + // + // Depending on the machine image you choose, the command to get software on + // your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu + // use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide + // (https://lightsail.aws.amazon.com/ls/docs/getting-started/article/compare-options-choose-lightsail-instance-image). + UserData *string `locationName:"userData" type:"string"` +} + +// String returns the string representation +func (s CreateInstancesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateInstancesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateInstancesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateInstancesInput"} + if s.AvailabilityZone == nil { + invalidParams.Add(request.NewErrParamRequired("AvailabilityZone")) + } + if s.BlueprintId == nil { + invalidParams.Add(request.NewErrParamRequired("BlueprintId")) + } + if s.BundleId == nil { + invalidParams.Add(request.NewErrParamRequired("BundleId")) + } + if s.InstanceNames == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceNames")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAvailabilityZone sets the AvailabilityZone field's value. +func (s *CreateInstancesInput) SetAvailabilityZone(v string) *CreateInstancesInput { + s.AvailabilityZone = &v + return s +} + +// SetBlueprintId sets the BlueprintId field's value. +func (s *CreateInstancesInput) SetBlueprintId(v string) *CreateInstancesInput { + s.BlueprintId = &v + return s +} + +// SetBundleId sets the BundleId field's value. +func (s *CreateInstancesInput) SetBundleId(v string) *CreateInstancesInput { + s.BundleId = &v + return s +} + +// SetCustomImageName sets the CustomImageName field's value. +func (s *CreateInstancesInput) SetCustomImageName(v string) *CreateInstancesInput { + s.CustomImageName = &v + return s +} + +// SetInstanceNames sets the InstanceNames field's value. +func (s *CreateInstancesInput) SetInstanceNames(v []*string) *CreateInstancesInput { + s.InstanceNames = v + return s +} + +// SetKeyPairName sets the KeyPairName field's value. +func (s *CreateInstancesInput) SetKeyPairName(v string) *CreateInstancesInput { + s.KeyPairName = &v + return s +} + +// SetUserData sets the UserData field's value. +func (s *CreateInstancesInput) SetUserData(v string) *CreateInstancesInput { + s.UserData = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesResult +type CreateInstancesOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about the results of your + // create instances request. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s CreateInstancesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateInstancesOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *CreateInstancesOutput) SetOperations(v []*Operation) *CreateInstancesOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPairRequest +type CreateKeyPairInput struct { + _ struct{} `type:"structure"` + + // The name for your new key pair. + // + // KeyPairName is a required field + KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateKeyPairInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateKeyPairInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateKeyPairInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateKeyPairInput"} + if s.KeyPairName == nil { + invalidParams.Add(request.NewErrParamRequired("KeyPairName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetKeyPairName sets the KeyPairName field's value. +func (s *CreateKeyPairInput) SetKeyPairName(v string) *CreateKeyPairInput { + s.KeyPairName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPairResult +type CreateKeyPairOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about the new key pair + // you just created. + KeyPair *KeyPair `locationName:"keyPair" type:"structure"` + + // An array of key-value pairs containing information about the results of your + // create key pair request. + Operation *Operation `locationName:"operation" type:"structure"` + + // A base64-encoded RSA private key. + PrivateKeyBase64 *string `locationName:"privateKeyBase64" type:"string"` + + // A base64-encoded public key of the ssh-rsa type. + PublicKeyBase64 *string `locationName:"publicKeyBase64" type:"string"` +} + +// String returns the string representation +func (s CreateKeyPairOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateKeyPairOutput) GoString() string { + return s.String() +} + +// SetKeyPair sets the KeyPair field's value. +func (s *CreateKeyPairOutput) SetKeyPair(v *KeyPair) *CreateKeyPairOutput { + s.KeyPair = v + return s +} + +// SetOperation sets the Operation field's value. +func (s *CreateKeyPairOutput) SetOperation(v *Operation) *CreateKeyPairOutput { + s.Operation = v + return s +} + +// SetPrivateKeyBase64 sets the PrivateKeyBase64 field's value. +func (s *CreateKeyPairOutput) SetPrivateKeyBase64(v string) *CreateKeyPairOutput { + s.PrivateKeyBase64 = &v + return s +} + +// SetPublicKeyBase64 sets the PublicKeyBase64 field's value. +func (s *CreateKeyPairOutput) SetPublicKeyBase64(v string) *CreateKeyPairOutput { + s.PublicKeyBase64 = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerRequest +type CreateLoadBalancerInput struct { + _ struct{} `type:"structure"` + + // The alternative domain names to use with your TLS/SSL certificate (e.g., + // www.example.com, www.ejemplo.com, ejemplo.com). + CertificateAlternativeNames []*string `locationName:"certificateAlternativeNames" type:"list"` + + // The domain name with which your certificate is associated (e.g., example.com). + // + // If you specify certificateDomainName, then certificateName is required (and + // vice-versa). + CertificateDomainName *string `locationName:"certificateDomainName" type:"string"` + + // The name of the TLS/SSL certificate. + // + // If you specify certificateName, then certificateDomainName is required (and + // vice-versa). + CertificateName *string `locationName:"certificateName" type:"string"` + + // The path you provided to perform the load balancer health check. If you didn't + // specify a health check path, Lightsail uses the root path of your website + // (e.g., "/"). + HealthCheckPath *string `locationName:"healthCheckPath" type:"string"` + + // The instance port where you're creating your load balancer. + // + // InstancePort is a required field + InstancePort *int64 `locationName:"instancePort" type:"integer" required:"true"` + + // The name of your load balancer. + // + // LoadBalancerName is a required field + LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateLoadBalancerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateLoadBalancerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateLoadBalancerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateLoadBalancerInput"} + if s.InstancePort == nil { + invalidParams.Add(request.NewErrParamRequired("InstancePort")) + } + if s.LoadBalancerName == nil { + invalidParams.Add(request.NewErrParamRequired("LoadBalancerName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCertificateAlternativeNames sets the CertificateAlternativeNames field's value. +func (s *CreateLoadBalancerInput) SetCertificateAlternativeNames(v []*string) *CreateLoadBalancerInput { + s.CertificateAlternativeNames = v + return s +} + +// SetCertificateDomainName sets the CertificateDomainName field's value. +func (s *CreateLoadBalancerInput) SetCertificateDomainName(v string) *CreateLoadBalancerInput { + s.CertificateDomainName = &v + return s +} + +// SetCertificateName sets the CertificateName field's value. +func (s *CreateLoadBalancerInput) SetCertificateName(v string) *CreateLoadBalancerInput { + s.CertificateName = &v + return s +} + +// SetHealthCheckPath sets the HealthCheckPath field's value. +func (s *CreateLoadBalancerInput) SetHealthCheckPath(v string) *CreateLoadBalancerInput { + s.HealthCheckPath = &v + return s +} + +// SetInstancePort sets the InstancePort field's value. +func (s *CreateLoadBalancerInput) SetInstancePort(v int64) *CreateLoadBalancerInput { + s.InstancePort = &v + return s +} + +// SetLoadBalancerName sets the LoadBalancerName field's value. +func (s *CreateLoadBalancerInput) SetLoadBalancerName(v string) *CreateLoadBalancerInput { + s.LoadBalancerName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerResult +type CreateLoadBalancerOutput struct { + _ struct{} `type:"structure"` + + // An object containing information about the API operations. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s CreateLoadBalancerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateLoadBalancerOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *CreateLoadBalancerOutput) SetOperations(v []*Operation) *CreateLoadBalancerOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificateRequest +type CreateLoadBalancerTlsCertificateInput struct { + _ struct{} `type:"structure"` + + // An array of strings listing alternative domain names for your TLS/SSL certificate. + CertificateAlternativeNames []*string `locationName:"certificateAlternativeNames" type:"list"` + + // The domain name (e.g., example.com) for your TLS/SSL certificate. + // + // CertificateDomainName is a required field + CertificateDomainName *string `locationName:"certificateDomainName" type:"string" required:"true"` + + // The TLS/SSL certificate name. + // + // CertificateName is a required field + CertificateName *string `locationName:"certificateName" type:"string" required:"true"` + + // The load balancer name where you want to create the TLS/SSL certificate. + // + // LoadBalancerName is a required field + LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateLoadBalancerTlsCertificateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateLoadBalancerTlsCertificateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateLoadBalancerTlsCertificateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateLoadBalancerTlsCertificateInput"} + if s.CertificateDomainName == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateDomainName")) + } + if s.CertificateName == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateName")) + } + if s.LoadBalancerName == nil { + invalidParams.Add(request.NewErrParamRequired("LoadBalancerName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCertificateAlternativeNames sets the CertificateAlternativeNames field's value. +func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateAlternativeNames(v []*string) *CreateLoadBalancerTlsCertificateInput { + s.CertificateAlternativeNames = v + return s +} + +// SetCertificateDomainName sets the CertificateDomainName field's value. +func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateDomainName(v string) *CreateLoadBalancerTlsCertificateInput { + s.CertificateDomainName = &v + return s +} + +// SetCertificateName sets the CertificateName field's value. +func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateName(v string) *CreateLoadBalancerTlsCertificateInput { + s.CertificateName = &v + return s +} + +// SetLoadBalancerName sets the LoadBalancerName field's value. +func (s *CreateLoadBalancerTlsCertificateInput) SetLoadBalancerName(v string) *CreateLoadBalancerTlsCertificateInput { + s.LoadBalancerName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificateResult +type CreateLoadBalancerTlsCertificateOutput struct { + _ struct{} `type:"structure"` + + // An object containing information about the API operations. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s CreateLoadBalancerTlsCertificateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateLoadBalancerTlsCertificateOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *CreateLoadBalancerTlsCertificateOutput) SetOperations(v []*Operation) *CreateLoadBalancerTlsCertificateOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskRequest +type DeleteDiskInput struct { + _ struct{} `type:"structure"` + + // The unique name of the disk you want to delete (e.g., my-disk). + // + // DiskName is a required field + DiskName *string `locationName:"diskName" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteDiskInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteDiskInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteDiskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteDiskInput"} + if s.DiskName == nil { + invalidParams.Add(request.NewErrParamRequired("DiskName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDiskName sets the DiskName field's value. +func (s *DeleteDiskInput) SetDiskName(v string) *DeleteDiskInput { + s.DiskName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskResult +type DeleteDiskOutput struct { + _ struct{} `type:"structure"` + + // An object describing the API operations. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s DeleteDiskOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteDiskOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *DeleteDiskOutput) SetOperations(v []*Operation) *DeleteDiskOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshotRequest +type DeleteDiskSnapshotInput struct { + _ struct{} `type:"structure"` + + // The name of the disk snapshot you want to delete (e.g., my-disk-snapshot). + // + // DiskSnapshotName is a required field + DiskSnapshotName *string `locationName:"diskSnapshotName" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteDiskSnapshotInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteDiskSnapshotInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteDiskSnapshotInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteDiskSnapshotInput"} + if s.DiskSnapshotName == nil { + invalidParams.Add(request.NewErrParamRequired("DiskSnapshotName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDiskSnapshotName sets the DiskSnapshotName field's value. +func (s *DeleteDiskSnapshotInput) SetDiskSnapshotName(v string) *DeleteDiskSnapshotInput { + s.DiskSnapshotName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshotResult +type DeleteDiskSnapshotOutput struct { + _ struct{} `type:"structure"` + + // An object describing the API operations. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s DeleteDiskSnapshotOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteDiskSnapshotOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *DeleteDiskSnapshotOutput) SetOperations(v []*Operation) *DeleteDiskSnapshotOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntryRequest +type DeleteDomainEntryInput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about your domain entries. + // + // DomainEntry is a required field + DomainEntry *DomainEntry `locationName:"domainEntry" type:"structure" required:"true"` + + // The name of the domain entry to delete. + // + // DomainName is a required field + DomainName *string `locationName:"domainName" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteDomainEntryInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteDomainEntryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteDomainEntryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteDomainEntryInput"} + if s.DomainEntry == nil { + invalidParams.Add(request.NewErrParamRequired("DomainEntry")) + } + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainEntry sets the DomainEntry field's value. +func (s *DeleteDomainEntryInput) SetDomainEntry(v *DomainEntry) *DeleteDomainEntryInput { + s.DomainEntry = v + return s +} + +// SetDomainName sets the DomainName field's value. +func (s *DeleteDomainEntryInput) SetDomainName(v string) *DeleteDomainEntryInput { + s.DomainName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntryResult +type DeleteDomainEntryOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about the results of your + // delete domain entry request. + Operation *Operation `locationName:"operation" type:"structure"` +} + +// String returns the string representation +func (s DeleteDomainEntryOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteDomainEntryOutput) GoString() string { + return s.String() +} + +// SetOperation sets the Operation field's value. +func (s *DeleteDomainEntryOutput) SetOperation(v *Operation) *DeleteDomainEntryOutput { + s.Operation = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainRequest +type DeleteDomainInput struct { + _ struct{} `type:"structure"` + + // The specific domain name to delete. + // + // DomainName is a required field + DomainName *string `locationName:"domainName" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteDomainInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteDomainInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AllocateStaticIpInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AllocateStaticIpInput"} - if s.StaticIpName == nil { - invalidParams.Add(request.NewErrParamRequired("StaticIpName")) +func (s *DeleteDomainInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteDomainInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) } if invalidParams.Len() > 0 { @@ -5058,71 +9585,63 @@ func (s *AllocateStaticIpInput) Validate() error { return nil } -// SetStaticIpName sets the StaticIpName field's value. -func (s *AllocateStaticIpInput) SetStaticIpName(v string) *AllocateStaticIpInput { - s.StaticIpName = &v +// SetDomainName sets the DomainName field's value. +func (s *DeleteDomainInput) SetDomainName(v string) *DeleteDomainInput { + s.DomainName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIpResult -type AllocateStaticIpOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainResult +type DeleteDomainOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the static IP address - // you allocated. - Operations []*Operation `locationName:"operations" type:"list"` + // An array of key-value pairs containing information about the results of your + // delete domain request. + Operation *Operation `locationName:"operation" type:"structure"` } // String returns the string representation -func (s AllocateStaticIpOutput) String() string { +func (s DeleteDomainOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AllocateStaticIpOutput) GoString() string { +func (s DeleteDomainOutput) GoString() string { return s.String() } -// SetOperations sets the Operations field's value. -func (s *AllocateStaticIpOutput) SetOperations(v []*Operation) *AllocateStaticIpOutput { - s.Operations = v +// SetOperation sets the Operation field's value. +func (s *DeleteDomainOutput) SetOperation(v *Operation) *DeleteDomainOutput { + s.Operation = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIpRequest -type AttachStaticIpInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceRequest +type DeleteInstanceInput struct { _ struct{} `type:"structure"` - // The instance name to which you want to attach the static IP address. + // The name of the instance to delete. // // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` - - // The name of the static IP. - // - // StaticIpName is a required field - StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"` } // String returns the string representation -func (s AttachStaticIpInput) String() string { +func (s DeleteInstanceInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AttachStaticIpInput) GoString() string { +func (s DeleteInstanceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AttachStaticIpInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AttachStaticIpInput"} +func (s *DeleteInstanceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteInstanceInput"} if s.InstanceName == nil { invalidParams.Add(request.NewErrParamRequired("InstanceName")) } - if s.StaticIpName == nil { - invalidParams.Add(request.NewErrParamRequired("StaticIpName")) - } if invalidParams.Len() > 0 { return invalidParams @@ -5131,1114 +9650,1257 @@ func (s *AttachStaticIpInput) Validate() error { } // SetInstanceName sets the InstanceName field's value. -func (s *AttachStaticIpInput) SetInstanceName(v string) *AttachStaticIpInput { +func (s *DeleteInstanceInput) SetInstanceName(v string) *DeleteInstanceInput { s.InstanceName = &v return s } -// SetStaticIpName sets the StaticIpName field's value. -func (s *AttachStaticIpInput) SetStaticIpName(v string) *AttachStaticIpInput { - s.StaticIpName = &v +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceResult +type DeleteInstanceOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about the results of your + // delete instance request. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s DeleteInstanceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteInstanceOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *DeleteInstanceOutput) SetOperations(v []*Operation) *DeleteInstanceOutput { + s.Operations = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIpResult -type AttachStaticIpOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshotRequest +type DeleteInstanceSnapshotInput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about your API operations. + // The name of the snapshot to delete. + // + // InstanceSnapshotName is a required field + InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteInstanceSnapshotInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteInstanceSnapshotInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteInstanceSnapshotInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteInstanceSnapshotInput"} + if s.InstanceSnapshotName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceSnapshotName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceSnapshotName sets the InstanceSnapshotName field's value. +func (s *DeleteInstanceSnapshotInput) SetInstanceSnapshotName(v string) *DeleteInstanceSnapshotInput { + s.InstanceSnapshotName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshotResult +type DeleteInstanceSnapshotOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about the results of your + // delete instance snapshot request. Operations []*Operation `locationName:"operations" type:"list"` } // String returns the string representation -func (s AttachStaticIpOutput) String() string { +func (s DeleteInstanceSnapshotOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AttachStaticIpOutput) GoString() string { +func (s DeleteInstanceSnapshotOutput) GoString() string { return s.String() } // SetOperations sets the Operations field's value. -func (s *AttachStaticIpOutput) SetOperations(v []*Operation) *AttachStaticIpOutput { +func (s *DeleteInstanceSnapshotOutput) SetOperations(v []*Operation) *DeleteInstanceSnapshotOutput { s.Operations = v return s } -// Describes an Availability Zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AvailabilityZone -type AvailabilityZone struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPairRequest +type DeleteKeyPairInput struct { _ struct{} `type:"structure"` - // The state of the Availability Zone. - State *string `locationName:"state" type:"string"` - - // The name of the Availability Zone. The format is us-east-1a (case-sensitive). - ZoneName *string `locationName:"zoneName" type:"string"` + // The name of the key pair to delete. + // + // KeyPairName is a required field + KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"` } // String returns the string representation -func (s AvailabilityZone) String() string { +func (s DeleteKeyPairInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AvailabilityZone) GoString() string { +func (s DeleteKeyPairInput) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *AvailabilityZone) SetState(v string) *AvailabilityZone { - s.State = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteKeyPairInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteKeyPairInput"} + if s.KeyPairName == nil { + invalidParams.Add(request.NewErrParamRequired("KeyPairName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetZoneName sets the ZoneName field's value. -func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone { - s.ZoneName = &v +// SetKeyPairName sets the KeyPairName field's value. +func (s *DeleteKeyPairInput) SetKeyPairName(v string) *DeleteKeyPairInput { + s.KeyPairName = &v return s } -// Describes a blueprint (a virtual private server image). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Blueprint -type Blueprint struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPairResult +type DeleteKeyPairOutput struct { _ struct{} `type:"structure"` - // The ID for the virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). - BlueprintId *string `locationName:"blueprintId" type:"string"` + // An array of key-value pairs containing information about the results of your + // delete key pair request. + Operation *Operation `locationName:"operation" type:"structure"` +} - // The description of the blueprint. - Description *string `locationName:"description" type:"string"` +// String returns the string representation +func (s DeleteKeyPairOutput) String() string { + return awsutil.Prettify(s) +} - // The group name of the blueprint (e.g., amazon-linux). - Group *string `locationName:"group" type:"string"` +// GoString returns the string representation +func (s DeleteKeyPairOutput) GoString() string { + return s.String() +} - // A Boolean value indicating whether the blueprint is active. When you update - // your blueprints, you will inactivate old blueprints and keep the most recent - // versions active. - IsActive *bool `locationName:"isActive" type:"boolean"` +// SetOperation sets the Operation field's value. +func (s *DeleteKeyPairOutput) SetOperation(v *Operation) *DeleteKeyPairOutput { + s.Operation = v + return s +} - // The end-user license agreement URL for the image or blueprint. - LicenseUrl *string `locationName:"licenseUrl" type:"string"` +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerRequest +type DeleteLoadBalancerInput struct { + _ struct{} `type:"structure"` - // The minimum bundle power required to run this blueprint. For example, you - // need a bundle with a power value of 500 or more to create an instance that - // uses a blueprint with a minimum power value of 500. 0 indicates that the - // blueprint runs on all instance sizes. - MinPower *int64 `locationName:"minPower" type:"integer"` + // The name of the load balancer you want to delete. + // + // LoadBalancerName is a required field + LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` +} - // The friendly name of the blueprint (e.g., Amazon Linux). - Name *string `locationName:"name" type:"string"` +// String returns the string representation +func (s DeleteLoadBalancerInput) String() string { + return awsutil.Prettify(s) +} - // The operating system platform (either Linux/Unix-based or Windows Server-based) - // of the blueprint. - Platform *string `locationName:"platform" type:"string" enum:"InstancePlatform"` +// GoString returns the string representation +func (s DeleteLoadBalancerInput) GoString() string { + return s.String() +} - // The product URL to learn more about the image or blueprint. - ProductUrl *string `locationName:"productUrl" type:"string"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteLoadBalancerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteLoadBalancerInput"} + if s.LoadBalancerName == nil { + invalidParams.Add(request.NewErrParamRequired("LoadBalancerName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // The type of the blueprint (e.g., os or app). - Type *string `locationName:"type" type:"string" enum:"BlueprintType"` +// SetLoadBalancerName sets the LoadBalancerName field's value. +func (s *DeleteLoadBalancerInput) SetLoadBalancerName(v string) *DeleteLoadBalancerInput { + s.LoadBalancerName = &v + return s +} - // The version number of the operating system, application, or stack (e.g., - // 2016.03.0). - Version *string `locationName:"version" type:"string"` +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerResult +type DeleteLoadBalancerOutput struct { + _ struct{} `type:"structure"` - // The version code. - VersionCode *string `locationName:"versionCode" type:"string"` + // An object describing the API operations. + Operations []*Operation `locationName:"operations" type:"list"` } // String returns the string representation -func (s Blueprint) String() string { +func (s DeleteLoadBalancerOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s Blueprint) GoString() string { +func (s DeleteLoadBalancerOutput) GoString() string { return s.String() } -// SetBlueprintId sets the BlueprintId field's value. -func (s *Blueprint) SetBlueprintId(v string) *Blueprint { - s.BlueprintId = &v +// SetOperations sets the Operations field's value. +func (s *DeleteLoadBalancerOutput) SetOperations(v []*Operation) *DeleteLoadBalancerOutput { + s.Operations = v return s } -// SetDescription sets the Description field's value. -func (s *Blueprint) SetDescription(v string) *Blueprint { - s.Description = &v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificateRequest +type DeleteLoadBalancerTlsCertificateInput struct { + _ struct{} `type:"structure"` + + // The TLS/SSL certificate name. + // + // CertificateName is a required field + CertificateName *string `locationName:"certificateName" type:"string" required:"true"` + + // When true, forces the deletion of a TLS/SSL certificate. + Force *bool `locationName:"force" type:"boolean"` + + // The load balancer name. + // + // LoadBalancerName is a required field + LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` } -// SetGroup sets the Group field's value. -func (s *Blueprint) SetGroup(v string) *Blueprint { - s.Group = &v - return s +// String returns the string representation +func (s DeleteLoadBalancerTlsCertificateInput) String() string { + return awsutil.Prettify(s) } -// SetIsActive sets the IsActive field's value. -func (s *Blueprint) SetIsActive(v bool) *Blueprint { - s.IsActive = &v - return s +// GoString returns the string representation +func (s DeleteLoadBalancerTlsCertificateInput) GoString() string { + return s.String() } -// SetLicenseUrl sets the LicenseUrl field's value. -func (s *Blueprint) SetLicenseUrl(v string) *Blueprint { - s.LicenseUrl = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteLoadBalancerTlsCertificateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteLoadBalancerTlsCertificateInput"} + if s.CertificateName == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateName")) + } + if s.LoadBalancerName == nil { + invalidParams.Add(request.NewErrParamRequired("LoadBalancerName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetMinPower sets the MinPower field's value. -func (s *Blueprint) SetMinPower(v int64) *Blueprint { - s.MinPower = &v +// SetCertificateName sets the CertificateName field's value. +func (s *DeleteLoadBalancerTlsCertificateInput) SetCertificateName(v string) *DeleteLoadBalancerTlsCertificateInput { + s.CertificateName = &v return s } -// SetName sets the Name field's value. -func (s *Blueprint) SetName(v string) *Blueprint { - s.Name = &v +// SetForce sets the Force field's value. +func (s *DeleteLoadBalancerTlsCertificateInput) SetForce(v bool) *DeleteLoadBalancerTlsCertificateInput { + s.Force = &v return s } -// SetPlatform sets the Platform field's value. -func (s *Blueprint) SetPlatform(v string) *Blueprint { - s.Platform = &v +// SetLoadBalancerName sets the LoadBalancerName field's value. +func (s *DeleteLoadBalancerTlsCertificateInput) SetLoadBalancerName(v string) *DeleteLoadBalancerTlsCertificateInput { + s.LoadBalancerName = &v return s } -// SetProductUrl sets the ProductUrl field's value. -func (s *Blueprint) SetProductUrl(v string) *Blueprint { - s.ProductUrl = &v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificateResult +type DeleteLoadBalancerTlsCertificateOutput struct { + _ struct{} `type:"structure"` + + // An object describing the API operations. + Operations []*Operation `locationName:"operations" type:"list"` } -// SetType sets the Type field's value. -func (s *Blueprint) SetType(v string) *Blueprint { - s.Type = &v - return s +// String returns the string representation +func (s DeleteLoadBalancerTlsCertificateOutput) String() string { + return awsutil.Prettify(s) } -// SetVersion sets the Version field's value. -func (s *Blueprint) SetVersion(v string) *Blueprint { - s.Version = &v - return s +// GoString returns the string representation +func (s DeleteLoadBalancerTlsCertificateOutput) GoString() string { + return s.String() } -// SetVersionCode sets the VersionCode field's value. -func (s *Blueprint) SetVersionCode(v string) *Blueprint { - s.VersionCode = &v +// SetOperations sets the Operations field's value. +func (s *DeleteLoadBalancerTlsCertificateOutput) SetOperations(v []*Operation) *DeleteLoadBalancerTlsCertificateOutput { + s.Operations = v return s } -// Describes a bundle, which is a set of specs describing your virtual private -// server (or instance). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Bundle -type Bundle struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDiskRequest +type DetachDiskInput struct { _ struct{} `type:"structure"` - // The bundle ID (e.g., micro_1_0). - BundleId *string `locationName:"bundleId" type:"string"` - - // The number of vCPUs included in the bundle (e.g., 2). - CpuCount *int64 `locationName:"cpuCount" type:"integer"` - - // The size of the SSD (e.g., 30). - DiskSizeInGb *int64 `locationName:"diskSizeInGb" type:"integer"` - - // The Amazon EC2 instance type (e.g., t2.micro). - InstanceType *string `locationName:"instanceType" type:"string"` + // The unique name of the disk you want to detach from your instance (e.g., + // my-disk). + // + // DiskName is a required field + DiskName *string `locationName:"diskName" type:"string" required:"true"` +} - // A Boolean value indicating whether the bundle is active. - IsActive *bool `locationName:"isActive" type:"boolean"` +// String returns the string representation +func (s DetachDiskInput) String() string { + return awsutil.Prettify(s) +} - // A friendly name for the bundle (e.g., Micro). - Name *string `locationName:"name" type:"string"` +// GoString returns the string representation +func (s DetachDiskInput) GoString() string { + return s.String() +} - // A numeric value that represents the power of the bundle (e.g., 500). You - // can use the bundle's power value in conjunction with a blueprint's minimum - // power value to determine whether the blueprint will run on the bundle. For - // example, you need a bundle with a power value of 500 or more to create an - // instance that uses a blueprint with a minimum power value of 500. - Power *int64 `locationName:"power" type:"integer"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *DetachDiskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DetachDiskInput"} + if s.DiskName == nil { + invalidParams.Add(request.NewErrParamRequired("DiskName")) + } - // The price in US dollars (e.g., 5.0). - Price *float64 `locationName:"price" type:"float"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // The amount of RAM in GB (e.g., 2.0). - RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"` +// SetDiskName sets the DiskName field's value. +func (s *DetachDiskInput) SetDiskName(v string) *DetachDiskInput { + s.DiskName = &v + return s +} - // The operating system platform (Linux/Unix-based or Windows Server-based) - // that the bundle supports. You can only launch a WINDOWS bundle on a blueprint - // that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX - // bundle. - SupportedPlatforms []*string `locationName:"supportedPlatforms" type:"list"` +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDiskResult +type DetachDiskOutput struct { + _ struct{} `type:"structure"` - // The data transfer rate per month in GB (e.g., 2000). - TransferPerMonthInGb *int64 `locationName:"transferPerMonthInGb" type:"integer"` + // An object describing the API operations. + Operations []*Operation `locationName:"operations" type:"list"` } // String returns the string representation -func (s Bundle) String() string { +func (s DetachDiskOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s Bundle) GoString() string { +func (s DetachDiskOutput) GoString() string { return s.String() } -// SetBundleId sets the BundleId field's value. -func (s *Bundle) SetBundleId(v string) *Bundle { - s.BundleId = &v +// SetOperations sets the Operations field's value. +func (s *DetachDiskOutput) SetOperations(v []*Operation) *DetachDiskOutput { + s.Operations = v return s } -// SetCpuCount sets the CpuCount field's value. -func (s *Bundle) SetCpuCount(v int64) *Bundle { - s.CpuCount = &v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancerRequest +type DetachInstancesFromLoadBalancerInput struct { + _ struct{} `type:"structure"` + + // An array of strings containing the names of the instances you want to detach + // from the load balancer. + // + // InstanceNames is a required field + InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"` + + // The name of the Lightsail load balancer. + // + // LoadBalancerName is a required field + LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` } -// SetDiskSizeInGb sets the DiskSizeInGb field's value. -func (s *Bundle) SetDiskSizeInGb(v int64) *Bundle { - s.DiskSizeInGb = &v - return s +// String returns the string representation +func (s DetachInstancesFromLoadBalancerInput) String() string { + return awsutil.Prettify(s) } -// SetInstanceType sets the InstanceType field's value. -func (s *Bundle) SetInstanceType(v string) *Bundle { - s.InstanceType = &v - return s +// GoString returns the string representation +func (s DetachInstancesFromLoadBalancerInput) GoString() string { + return s.String() } -// SetIsActive sets the IsActive field's value. -func (s *Bundle) SetIsActive(v bool) *Bundle { - s.IsActive = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DetachInstancesFromLoadBalancerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DetachInstancesFromLoadBalancerInput"} + if s.InstanceNames == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceNames")) + } + if s.LoadBalancerName == nil { + invalidParams.Add(request.NewErrParamRequired("LoadBalancerName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetName sets the Name field's value. -func (s *Bundle) SetName(v string) *Bundle { - s.Name = &v +// SetInstanceNames sets the InstanceNames field's value. +func (s *DetachInstancesFromLoadBalancerInput) SetInstanceNames(v []*string) *DetachInstancesFromLoadBalancerInput { + s.InstanceNames = v return s } -// SetPower sets the Power field's value. -func (s *Bundle) SetPower(v int64) *Bundle { - s.Power = &v +// SetLoadBalancerName sets the LoadBalancerName field's value. +func (s *DetachInstancesFromLoadBalancerInput) SetLoadBalancerName(v string) *DetachInstancesFromLoadBalancerInput { + s.LoadBalancerName = &v return s } -// SetPrice sets the Price field's value. -func (s *Bundle) SetPrice(v float64) *Bundle { - s.Price = &v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancerResult +type DetachInstancesFromLoadBalancerOutput struct { + _ struct{} `type:"structure"` + + // An object describing the API operations. + Operations []*Operation `locationName:"operations" type:"list"` } -// SetRamSizeInGb sets the RamSizeInGb field's value. -func (s *Bundle) SetRamSizeInGb(v float64) *Bundle { - s.RamSizeInGb = &v - return s +// String returns the string representation +func (s DetachInstancesFromLoadBalancerOutput) String() string { + return awsutil.Prettify(s) } -// SetSupportedPlatforms sets the SupportedPlatforms field's value. -func (s *Bundle) SetSupportedPlatforms(v []*string) *Bundle { - s.SupportedPlatforms = v - return s +// GoString returns the string representation +func (s DetachInstancesFromLoadBalancerOutput) GoString() string { + return s.String() } -// SetTransferPerMonthInGb sets the TransferPerMonthInGb field's value. -func (s *Bundle) SetTransferPerMonthInGb(v int64) *Bundle { - s.TransferPerMonthInGb = &v +// SetOperations sets the Operations field's value. +func (s *DetachInstancesFromLoadBalancerOutput) SetOperations(v []*Operation) *DetachInstancesFromLoadBalancerOutput { + s.Operations = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPortsRequest -type CloseInstancePublicPortsInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIpRequest +type DetachStaticIpInput struct { _ struct{} `type:"structure"` - // The name of the instance on which you're attempting to close the public ports. - // - // InstanceName is a required field - InstanceName *string `locationName:"instanceName" type:"string" required:"true"` - - // Information about the public port you are trying to close. + // The name of the static IP to detach from the instance. // - // PortInfo is a required field - PortInfo *PortInfo `locationName:"portInfo" type:"structure" required:"true"` + // StaticIpName is a required field + StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"` } // String returns the string representation -func (s CloseInstancePublicPortsInput) String() string { +func (s DetachStaticIpInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CloseInstancePublicPortsInput) GoString() string { +func (s DetachStaticIpInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CloseInstancePublicPortsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CloseInstancePublicPortsInput"} - if s.InstanceName == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceName")) - } - if s.PortInfo == nil { - invalidParams.Add(request.NewErrParamRequired("PortInfo")) - } - - if invalidParams.Len() > 0 { - return invalidParams +func (s *DetachStaticIpInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DetachStaticIpInput"} + if s.StaticIpName == nil { + invalidParams.Add(request.NewErrParamRequired("StaticIpName")) } - return nil -} -// SetInstanceName sets the InstanceName field's value. -func (s *CloseInstancePublicPortsInput) SetInstanceName(v string) *CloseInstancePublicPortsInput { - s.InstanceName = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetPortInfo sets the PortInfo field's value. -func (s *CloseInstancePublicPortsInput) SetPortInfo(v *PortInfo) *CloseInstancePublicPortsInput { - s.PortInfo = v +// SetStaticIpName sets the StaticIpName field's value. +func (s *DetachStaticIpInput) SetStaticIpName(v string) *DetachStaticIpInput { + s.StaticIpName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPortsResult -type CloseInstancePublicPortsOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIpResult +type DetachStaticIpOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs that contains information about the operation. - Operation *Operation `locationName:"operation" type:"structure"` + // An array of key-value pairs containing information about the results of your + // detach static IP request. + Operations []*Operation `locationName:"operations" type:"list"` } // String returns the string representation -func (s CloseInstancePublicPortsOutput) String() string { +func (s DetachStaticIpOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CloseInstancePublicPortsOutput) GoString() string { +func (s DetachStaticIpOutput) GoString() string { return s.String() } -// SetOperation sets the Operation field's value. -func (s *CloseInstancePublicPortsOutput) SetOperation(v *Operation) *CloseInstancePublicPortsOutput { - s.Operation = v +// SetOperations sets the Operations field's value. +func (s *DetachStaticIpOutput) SetOperations(v []*Operation) *DetachStaticIpOutput { + s.Operations = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntryRequest -type CreateDomainEntryInput struct { +// Describes a system disk or an block storage disk. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Disk +type Disk struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the domain entry - // request. + // The Amazon Resource Name (ARN) of the disk. + Arn *string `locationName:"arn" type:"string"` + + // The resources to which the disk is attached. + AttachedTo *string `locationName:"attachedTo" type:"string"` + + // (Deprecated) The attachment state of the disk. // - // DomainEntry is a required field - DomainEntry *DomainEntry `locationName:"domainEntry" type:"structure" required:"true"` + // In releases prior to November 14, 2017, this parameter returned attached + // for system disks in the API response. It is now deprecated, but still included + // in the response. Use isAttached instead. + AttachmentState *string `locationName:"attachmentState" deprecated:"true" type:"string"` - // The domain name (e.g., example.com) for which you want to create the domain - // entry. + // The date when the disk was created. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` + + // (Deprecated) The number of GB in use by the disk. // - // DomainName is a required field - DomainName *string `locationName:"domainName" type:"string" required:"true"` + // In releases prior to November 14, 2017, this parameter was not included in + // the API response. It is now deprecated. + GbInUse *int64 `locationName:"gbInUse" deprecated:"true" type:"integer"` + + // The input/output operations per second (IOPS) of the disk. + Iops *int64 `locationName:"iops" type:"integer"` + + // A Boolean value indicating whether the disk is attached. + IsAttached *bool `locationName:"isAttached" type:"boolean"` + + // A Boolean value indicating whether this disk is a system disk (has an operating + // system loaded on it). + IsSystemDisk *bool `locationName:"isSystemDisk" type:"boolean"` + + // The AWS Region and Availability Zone where the disk is located. + Location *ResourceLocation `locationName:"location" type:"structure"` + + // The unique name of the disk. + Name *string `locationName:"name" type:"string"` + + // The disk path. + Path *string `locationName:"path" type:"string"` + + // The Lightsail resource type (e.g., Disk). + ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` + + // The size of the disk in GB. + SizeInGb *int64 `locationName:"sizeInGb" type:"integer"` + + // Describes the status of the disk. + State *string `locationName:"state" type:"string" enum:"DiskState"` + + // The support code. Include this code in your email to support when you have + // questions about an instance or another resource in Lightsail. This code enables + // our support team to look up your Lightsail information more easily. + SupportCode *string `locationName:"supportCode" type:"string"` } // String returns the string representation -func (s CreateDomainEntryInput) String() string { +func (s Disk) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateDomainEntryInput) GoString() string { +func (s Disk) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateDomainEntryInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateDomainEntryInput"} - if s.DomainEntry == nil { - invalidParams.Add(request.NewErrParamRequired("DomainEntry")) - } - if s.DomainName == nil { - invalidParams.Add(request.NewErrParamRequired("DomainName")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetArn sets the Arn field's value. +func (s *Disk) SetArn(v string) *Disk { + s.Arn = &v + return s } -// SetDomainEntry sets the DomainEntry field's value. -func (s *CreateDomainEntryInput) SetDomainEntry(v *DomainEntry) *CreateDomainEntryInput { - s.DomainEntry = v +// SetAttachedTo sets the AttachedTo field's value. +func (s *Disk) SetAttachedTo(v string) *Disk { + s.AttachedTo = &v return s } -// SetDomainName sets the DomainName field's value. -func (s *CreateDomainEntryInput) SetDomainName(v string) *CreateDomainEntryInput { - s.DomainName = &v +// SetAttachmentState sets the AttachmentState field's value. +func (s *Disk) SetAttachmentState(v string) *Disk { + s.AttachmentState = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntryResult -type CreateDomainEntryOutput struct { - _ struct{} `type:"structure"` +// SetCreatedAt sets the CreatedAt field's value. +func (s *Disk) SetCreatedAt(v time.Time) *Disk { + s.CreatedAt = &v + return s +} - // An array of key-value pairs containing information about the operation. - Operation *Operation `locationName:"operation" type:"structure"` +// SetGbInUse sets the GbInUse field's value. +func (s *Disk) SetGbInUse(v int64) *Disk { + s.GbInUse = &v + return s } -// String returns the string representation -func (s CreateDomainEntryOutput) String() string { - return awsutil.Prettify(s) +// SetIops sets the Iops field's value. +func (s *Disk) SetIops(v int64) *Disk { + s.Iops = &v + return s } -// GoString returns the string representation -func (s CreateDomainEntryOutput) GoString() string { - return s.String() +// SetIsAttached sets the IsAttached field's value. +func (s *Disk) SetIsAttached(v bool) *Disk { + s.IsAttached = &v + return s } -// SetOperation sets the Operation field's value. -func (s *CreateDomainEntryOutput) SetOperation(v *Operation) *CreateDomainEntryOutput { - s.Operation = v +// SetIsSystemDisk sets the IsSystemDisk field's value. +func (s *Disk) SetIsSystemDisk(v bool) *Disk { + s.IsSystemDisk = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainRequest -type CreateDomainInput struct { - _ struct{} `type:"structure"` +// SetLocation sets the Location field's value. +func (s *Disk) SetLocation(v *ResourceLocation) *Disk { + s.Location = v + return s +} - // The domain name to manage (e.g., example.com). - // - // You cannot register a new domain name using Lightsail. You must register - // a domain name using Amazon Route 53 or another domain name registrar. If - // you have already registered your domain, you can enter its name in this parameter - // to manage the DNS records for that domain. - // - // DomainName is a required field - DomainName *string `locationName:"domainName" type:"string" required:"true"` +// SetName sets the Name field's value. +func (s *Disk) SetName(v string) *Disk { + s.Name = &v + return s } -// String returns the string representation -func (s CreateDomainInput) String() string { - return awsutil.Prettify(s) +// SetPath sets the Path field's value. +func (s *Disk) SetPath(v string) *Disk { + s.Path = &v + return s } -// GoString returns the string representation -func (s CreateDomainInput) GoString() string { - return s.String() +// SetResourceType sets the ResourceType field's value. +func (s *Disk) SetResourceType(v string) *Disk { + s.ResourceType = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateDomainInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateDomainInput"} - if s.DomainName == nil { - invalidParams.Add(request.NewErrParamRequired("DomainName")) - } +// SetSizeInGb sets the SizeInGb field's value. +func (s *Disk) SetSizeInGb(v int64) *Disk { + s.SizeInGb = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetState sets the State field's value. +func (s *Disk) SetState(v string) *Disk { + s.State = &v + return s } -// SetDomainName sets the DomainName field's value. -func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput { - s.DomainName = &v +// SetSupportCode sets the SupportCode field's value. +func (s *Disk) SetSupportCode(v string) *Disk { + s.SupportCode = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainResult -type CreateDomainOutput struct { +// Describes a block storage disk mapping. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskMap +type DiskMap struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the domain resource - // you created. - Operation *Operation `locationName:"operation" type:"structure"` + // The new disk name (e.g., my-new-disk). + NewDiskName *string `locationName:"newDiskName" type:"string"` + + // The original disk path exposed to the instance (for example, /dev/sdh). + OriginalDiskPath *string `locationName:"originalDiskPath" type:"string"` } // String returns the string representation -func (s CreateDomainOutput) String() string { +func (s DiskMap) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateDomainOutput) GoString() string { +func (s DiskMap) GoString() string { return s.String() } -// SetOperation sets the Operation field's value. -func (s *CreateDomainOutput) SetOperation(v *Operation) *CreateDomainOutput { - s.Operation = v +// SetNewDiskName sets the NewDiskName field's value. +func (s *DiskMap) SetNewDiskName(v string) *DiskMap { + s.NewDiskName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshotRequest -type CreateInstanceSnapshotInput struct { +// SetOriginalDiskPath sets the OriginalDiskPath field's value. +func (s *DiskMap) SetOriginalDiskPath(v string) *DiskMap { + s.OriginalDiskPath = &v + return s +} + +// Describes a block storage disk snapshot. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskSnapshot +type DiskSnapshot struct { _ struct{} `type:"structure"` - // The Lightsail instance on which to base your snapshot. - // - // InstanceName is a required field - InstanceName *string `locationName:"instanceName" type:"string" required:"true"` + // The Amazon Resource Name (ARN) of the disk snapshot. + Arn *string `locationName:"arn" type:"string"` - // The name for your new snapshot. - // - // InstanceSnapshotName is a required field - InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"` + // The date when the disk snapshot was created. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` + + // The Amazon Resource Name (ARN) of the source disk from which you are creating + // the disk snapshot. + FromDiskArn *string `locationName:"fromDiskArn" type:"string"` + + // The unique name of the source disk from which you are creating the disk snapshot. + FromDiskName *string `locationName:"fromDiskName" type:"string"` + + // The AWS Region and Availability Zone where the disk snapshot was created. + Location *ResourceLocation `locationName:"location" type:"structure"` + + // The name of the disk snapshot (e.g., my-disk-snapshot). + Name *string `locationName:"name" type:"string"` + + // The progress of the disk snapshot operation. + Progress *string `locationName:"progress" type:"string"` + + // The Lightsail resource type (e.g., DiskSnapshot). + ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` + + // The size of the disk in GB. + SizeInGb *int64 `locationName:"sizeInGb" type:"integer"` + + // The status of the disk snapshot operation. + State *string `locationName:"state" type:"string" enum:"DiskSnapshotState"` + + // The support code. Include this code in your email to support when you have + // questions about an instance or another resource in Lightsail. This code enables + // our support team to look up your Lightsail information more easily. + SupportCode *string `locationName:"supportCode" type:"string"` } // String returns the string representation -func (s CreateInstanceSnapshotInput) String() string { +func (s DiskSnapshot) String() string { return awsutil.Prettify(s) } -// GoString returns the string representation -func (s CreateInstanceSnapshotInput) GoString() string { - return s.String() +// GoString returns the string representation +func (s DiskSnapshot) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DiskSnapshot) SetArn(v string) *DiskSnapshot { + s.Arn = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *DiskSnapshot) SetCreatedAt(v time.Time) *DiskSnapshot { + s.CreatedAt = &v + return s +} + +// SetFromDiskArn sets the FromDiskArn field's value. +func (s *DiskSnapshot) SetFromDiskArn(v string) *DiskSnapshot { + s.FromDiskArn = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateInstanceSnapshotInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateInstanceSnapshotInput"} - if s.InstanceName == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceName")) - } - if s.InstanceSnapshotName == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceSnapshotName")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetFromDiskName sets the FromDiskName field's value. +func (s *DiskSnapshot) SetFromDiskName(v string) *DiskSnapshot { + s.FromDiskName = &v + return s } -// SetInstanceName sets the InstanceName field's value. -func (s *CreateInstanceSnapshotInput) SetInstanceName(v string) *CreateInstanceSnapshotInput { - s.InstanceName = &v +// SetLocation sets the Location field's value. +func (s *DiskSnapshot) SetLocation(v *ResourceLocation) *DiskSnapshot { + s.Location = v return s } -// SetInstanceSnapshotName sets the InstanceSnapshotName field's value. -func (s *CreateInstanceSnapshotInput) SetInstanceSnapshotName(v string) *CreateInstanceSnapshotInput { - s.InstanceSnapshotName = &v +// SetName sets the Name field's value. +func (s *DiskSnapshot) SetName(v string) *DiskSnapshot { + s.Name = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshotResult -type CreateInstanceSnapshotOutput struct { - _ struct{} `type:"structure"` +// SetProgress sets the Progress field's value. +func (s *DiskSnapshot) SetProgress(v string) *DiskSnapshot { + s.Progress = &v + return s +} - // An array of key-value pairs containing information about the results of your - // create instances snapshot request. - Operations []*Operation `locationName:"operations" type:"list"` +// SetResourceType sets the ResourceType field's value. +func (s *DiskSnapshot) SetResourceType(v string) *DiskSnapshot { + s.ResourceType = &v + return s } -// String returns the string representation -func (s CreateInstanceSnapshotOutput) String() string { - return awsutil.Prettify(s) +// SetSizeInGb sets the SizeInGb field's value. +func (s *DiskSnapshot) SetSizeInGb(v int64) *DiskSnapshot { + s.SizeInGb = &v + return s } -// GoString returns the string representation -func (s CreateInstanceSnapshotOutput) GoString() string { - return s.String() +// SetState sets the State field's value. +func (s *DiskSnapshot) SetState(v string) *DiskSnapshot { + s.State = &v + return s } -// SetOperations sets the Operations field's value. -func (s *CreateInstanceSnapshotOutput) SetOperations(v []*Operation) *CreateInstanceSnapshotOutput { - s.Operations = v +// SetSupportCode sets the SupportCode field's value. +func (s *DiskSnapshot) SetSupportCode(v string) *DiskSnapshot { + s.SupportCode = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshotRequest -type CreateInstancesFromSnapshotInput struct { +// Describes a domain where you are storing recordsets in Lightsail. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Domain +type Domain struct { _ struct{} `type:"structure"` - // The Availability Zone where you want to create your instances. Use the following - // formatting: us-east-1a (case sensitive). You can get a list of availability - // zones by using the get regions (http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRegions.html) - // operation. Be sure to add the include availability zones parameter to your - // request. - // - // AvailabilityZone is a required field - AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` + // The Amazon Resource Name (ARN) of the domain recordset (e.g., arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE). + Arn *string `locationName:"arn" type:"string"` - // The bundle of specification information for your virtual private server (or - // instance), including the pricing plan (e.g., micro_1_0). - // - // BundleId is a required field - BundleId *string `locationName:"bundleId" type:"string" required:"true"` + // The date when the domain recordset was created. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` - // The names for your new instances. - // - // InstanceNames is a required field - InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"` + // An array of key-value pairs containing information about the domain entries. + DomainEntries []*DomainEntry `locationName:"domainEntries" type:"list"` - // The name of the instance snapshot on which you are basing your new instances. - // Use the get instance snapshots operation to return information about your - // existing snapshots. - // - // InstanceSnapshotName is a required field - InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"` + // The AWS Region and Availability Zones where the domain recordset was created. + Location *ResourceLocation `locationName:"location" type:"structure"` - // The name for your key pair. - KeyPairName *string `locationName:"keyPairName" type:"string"` + // The name of the domain. + Name *string `locationName:"name" type:"string"` - // You can create a launch script that configures a server with additional user - // data. For example, apt-get –y update. - // - // Depending on the machine image you choose, the command to get software on - // your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu - // use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide - // (http://lightsail.aws.amazon.com/ls/docs/getting-started/articles/pre-installed-apps). - UserData *string `locationName:"userData" type:"string"` + // The resource type. + ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` + + // The support code. Include this code in your email to support when you have + // questions about an instance or another resource in Lightsail. This code enables + // our support team to look up your Lightsail information more easily. + SupportCode *string `locationName:"supportCode" type:"string"` } // String returns the string representation -func (s CreateInstancesFromSnapshotInput) String() string { +func (s Domain) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateInstancesFromSnapshotInput) GoString() string { +func (s Domain) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateInstancesFromSnapshotInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateInstancesFromSnapshotInput"} - if s.AvailabilityZone == nil { - invalidParams.Add(request.NewErrParamRequired("AvailabilityZone")) - } - if s.BundleId == nil { - invalidParams.Add(request.NewErrParamRequired("BundleId")) - } - if s.InstanceNames == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceNames")) - } - if s.InstanceSnapshotName == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceSnapshotName")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetArn sets the Arn field's value. +func (s *Domain) SetArn(v string) *Domain { + s.Arn = &v + return s } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateInstancesFromSnapshotInput) SetAvailabilityZone(v string) *CreateInstancesFromSnapshotInput { - s.AvailabilityZone = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *Domain) SetCreatedAt(v time.Time) *Domain { + s.CreatedAt = &v return s } -// SetBundleId sets the BundleId field's value. -func (s *CreateInstancesFromSnapshotInput) SetBundleId(v string) *CreateInstancesFromSnapshotInput { - s.BundleId = &v +// SetDomainEntries sets the DomainEntries field's value. +func (s *Domain) SetDomainEntries(v []*DomainEntry) *Domain { + s.DomainEntries = v return s } -// SetInstanceNames sets the InstanceNames field's value. -func (s *CreateInstancesFromSnapshotInput) SetInstanceNames(v []*string) *CreateInstancesFromSnapshotInput { - s.InstanceNames = v +// SetLocation sets the Location field's value. +func (s *Domain) SetLocation(v *ResourceLocation) *Domain { + s.Location = v return s } -// SetInstanceSnapshotName sets the InstanceSnapshotName field's value. -func (s *CreateInstancesFromSnapshotInput) SetInstanceSnapshotName(v string) *CreateInstancesFromSnapshotInput { - s.InstanceSnapshotName = &v +// SetName sets the Name field's value. +func (s *Domain) SetName(v string) *Domain { + s.Name = &v return s } -// SetKeyPairName sets the KeyPairName field's value. -func (s *CreateInstancesFromSnapshotInput) SetKeyPairName(v string) *CreateInstancesFromSnapshotInput { - s.KeyPairName = &v +// SetResourceType sets the ResourceType field's value. +func (s *Domain) SetResourceType(v string) *Domain { + s.ResourceType = &v return s } -// SetUserData sets the UserData field's value. -func (s *CreateInstancesFromSnapshotInput) SetUserData(v string) *CreateInstancesFromSnapshotInput { - s.UserData = &v +// SetSupportCode sets the SupportCode field's value. +func (s *Domain) SetSupportCode(v string) *Domain { + s.SupportCode = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshotResult -type CreateInstancesFromSnapshotOutput struct { +// Describes a domain recordset entry. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DomainEntry +type DomainEntry struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the results of your - // create instances from snapshot request. - Operations []*Operation `locationName:"operations" type:"list"` + // The ID of the domain recordset entry. + Id *string `locationName:"id" type:"string"` + + // When true, specifies whether the domain entry is an alias used by the Lightsail + // load balancer. + IsAlias *bool `locationName:"isAlias" type:"boolean"` + + // The name of the domain. + Name *string `locationName:"name" type:"string"` + + // (Deprecated) The options for the domain entry. + // + // In releases prior to November 29, 2017, this parameter was not included in + // the API response. It is now deprecated. + Options map[string]*string `locationName:"options" deprecated:"true" type:"map"` + + // The target AWS name server (e.g., ns-111.awsdns-22.com.). + Target *string `locationName:"target" type:"string"` + + // The type of domain entry (e.g., SOA or NS). + Type *string `locationName:"type" type:"string"` } // String returns the string representation -func (s CreateInstancesFromSnapshotOutput) String() string { +func (s DomainEntry) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateInstancesFromSnapshotOutput) GoString() string { +func (s DomainEntry) GoString() string { return s.String() } -// SetOperations sets the Operations field's value. -func (s *CreateInstancesFromSnapshotOutput) SetOperations(v []*Operation) *CreateInstancesFromSnapshotOutput { - s.Operations = v +// SetId sets the Id field's value. +func (s *DomainEntry) SetId(v string) *DomainEntry { + s.Id = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesRequest -type CreateInstancesInput struct { - _ struct{} `type:"structure"` - - // The Availability Zone in which to create your instance. Use the following - // format: us-east-1a (case sensitive). You can get a list of availability zones - // by using the get regions (http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRegions.html) - // operation. Be sure to add the include availability zones parameter to your - // request. - // - // AvailabilityZone is a required field - AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` - - // The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). - // Use the get blueprints operation to return a list of available images (or - // blueprints). - // - // BlueprintId is a required field - BlueprintId *string `locationName:"blueprintId" type:"string" required:"true"` - - // The bundle of specification information for your virtual private server (or - // instance), including the pricing plan (e.g., micro_1_0). - // - // BundleId is a required field - BundleId *string `locationName:"bundleId" type:"string" required:"true"` +// SetIsAlias sets the IsAlias field's value. +func (s *DomainEntry) SetIsAlias(v bool) *DomainEntry { + s.IsAlias = &v + return s +} - // (Deprecated) The name for your custom image. - // - // In releases prior to June 12, 2017, this parameter was ignored by the API. - // It is now deprecated. - CustomImageName *string `locationName:"customImageName" deprecated:"true" type:"string"` +// SetName sets the Name field's value. +func (s *DomainEntry) SetName(v string) *DomainEntry { + s.Name = &v + return s +} - // The names to use for your new Lightsail instances. Separate multiple values - // using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"] - // - // InstanceNames is a required field - InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"` +// SetOptions sets the Options field's value. +func (s *DomainEntry) SetOptions(v map[string]*string) *DomainEntry { + s.Options = v + return s +} - // The name of your key pair. - KeyPairName *string `locationName:"keyPairName" type:"string"` +// SetTarget sets the Target field's value. +func (s *DomainEntry) SetTarget(v string) *DomainEntry { + s.Target = &v + return s +} - // A launch script you can create that configures a server with additional user - // data. For example, you might want to run apt-get –y update. - // - // Depending on the machine image you choose, the command to get software on - // your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu - // use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide - // (https://lightsail.aws.amazon.com/ls/docs/getting-started/article/compare-options-choose-lightsail-instance-image). - UserData *string `locationName:"userData" type:"string"` +// SetType sets the Type field's value. +func (s *DomainEntry) SetType(v string) *DomainEntry { + s.Type = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPairRequest +type DownloadDefaultKeyPairInput struct { + _ struct{} `type:"structure"` } // String returns the string representation -func (s CreateInstancesInput) String() string { +func (s DownloadDefaultKeyPairInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateInstancesInput) GoString() string { +func (s DownloadDefaultKeyPairInput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateInstancesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateInstancesInput"} - if s.AvailabilityZone == nil { - invalidParams.Add(request.NewErrParamRequired("AvailabilityZone")) - } - if s.BlueprintId == nil { - invalidParams.Add(request.NewErrParamRequired("BlueprintId")) - } - if s.BundleId == nil { - invalidParams.Add(request.NewErrParamRequired("BundleId")) - } - if s.InstanceNames == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceNames")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateInstancesInput) SetAvailabilityZone(v string) *CreateInstancesInput { - s.AvailabilityZone = &v - return s -} +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPairResult +type DownloadDefaultKeyPairOutput struct { + _ struct{} `type:"structure"` -// SetBlueprintId sets the BlueprintId field's value. -func (s *CreateInstancesInput) SetBlueprintId(v string) *CreateInstancesInput { - s.BlueprintId = &v - return s -} + // A base64-encoded RSA private key. + PrivateKeyBase64 *string `locationName:"privateKeyBase64" type:"string"` -// SetBundleId sets the BundleId field's value. -func (s *CreateInstancesInput) SetBundleId(v string) *CreateInstancesInput { - s.BundleId = &v - return s + // A base64-encoded public key of the ssh-rsa type. + PublicKeyBase64 *string `locationName:"publicKeyBase64" type:"string"` } -// SetCustomImageName sets the CustomImageName field's value. -func (s *CreateInstancesInput) SetCustomImageName(v string) *CreateInstancesInput { - s.CustomImageName = &v - return s +// String returns the string representation +func (s DownloadDefaultKeyPairOutput) String() string { + return awsutil.Prettify(s) } -// SetInstanceNames sets the InstanceNames field's value. -func (s *CreateInstancesInput) SetInstanceNames(v []*string) *CreateInstancesInput { - s.InstanceNames = v - return s +// GoString returns the string representation +func (s DownloadDefaultKeyPairOutput) GoString() string { + return s.String() } -// SetKeyPairName sets the KeyPairName field's value. -func (s *CreateInstancesInput) SetKeyPairName(v string) *CreateInstancesInput { - s.KeyPairName = &v +// SetPrivateKeyBase64 sets the PrivateKeyBase64 field's value. +func (s *DownloadDefaultKeyPairOutput) SetPrivateKeyBase64(v string) *DownloadDefaultKeyPairOutput { + s.PrivateKeyBase64 = &v return s } -// SetUserData sets the UserData field's value. -func (s *CreateInstancesInput) SetUserData(v string) *CreateInstancesInput { - s.UserData = &v +// SetPublicKeyBase64 sets the PublicKeyBase64 field's value. +func (s *DownloadDefaultKeyPairOutput) SetPublicKeyBase64(v string) *DownloadDefaultKeyPairOutput { + s.PublicKeyBase64 = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesResult -type CreateInstancesOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNamesRequest +type GetActiveNamesInput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the results of your - // create instances request. - Operations []*Operation `locationName:"operations" type:"list"` + // A token used for paginating results from your get active names request. + PageToken *string `locationName:"pageToken" type:"string"` } // String returns the string representation -func (s CreateInstancesOutput) String() string { +func (s GetActiveNamesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateInstancesOutput) GoString() string { +func (s GetActiveNamesInput) GoString() string { return s.String() } -// SetOperations sets the Operations field's value. -func (s *CreateInstancesOutput) SetOperations(v []*Operation) *CreateInstancesOutput { - s.Operations = v +// SetPageToken sets the PageToken field's value. +func (s *GetActiveNamesInput) SetPageToken(v string) *GetActiveNamesInput { + s.PageToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPairRequest -type CreateKeyPairInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNamesResult +type GetActiveNamesOutput struct { _ struct{} `type:"structure"` - // The name for your new key pair. - // - // KeyPairName is a required field - KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"` + // The list of active names returned by the get active names request. + ActiveNames []*string `locationName:"activeNames" type:"list"` + + // A token used for advancing to the next page of results from your get active + // names request. + NextPageToken *string `locationName:"nextPageToken" type:"string"` } // String returns the string representation -func (s CreateKeyPairInput) String() string { +func (s GetActiveNamesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateKeyPairInput) GoString() string { +func (s GetActiveNamesOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateKeyPairInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateKeyPairInput"} - if s.KeyPairName == nil { - invalidParams.Add(request.NewErrParamRequired("KeyPairName")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetActiveNames sets the ActiveNames field's value. +func (s *GetActiveNamesOutput) SetActiveNames(v []*string) *GetActiveNamesOutput { + s.ActiveNames = v + return s } -// SetKeyPairName sets the KeyPairName field's value. -func (s *CreateKeyPairInput) SetKeyPairName(v string) *CreateKeyPairInput { - s.KeyPairName = &v +// SetNextPageToken sets the NextPageToken field's value. +func (s *GetActiveNamesOutput) SetNextPageToken(v string) *GetActiveNamesOutput { + s.NextPageToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPairResult -type CreateKeyPairOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprintsRequest +type GetBlueprintsInput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the new key pair - // you just created. - KeyPair *KeyPair `locationName:"keyPair" type:"structure"` - - // An array of key-value pairs containing information about the results of your - // create key pair request. - Operation *Operation `locationName:"operation" type:"structure"` - - // A base64-encoded RSA private key. - PrivateKeyBase64 *string `locationName:"privateKeyBase64" type:"string"` + // A Boolean value indicating whether to include inactive results in your request. + IncludeInactive *bool `locationName:"includeInactive" type:"boolean"` - // A base64-encoded public key of the ssh-rsa type. - PublicKeyBase64 *string `locationName:"publicKeyBase64" type:"string"` + // A token used for advancing to the next page of results from your get blueprints + // request. + PageToken *string `locationName:"pageToken" type:"string"` } // String returns the string representation -func (s CreateKeyPairOutput) String() string { +func (s GetBlueprintsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateKeyPairOutput) GoString() string { +func (s GetBlueprintsInput) GoString() string { return s.String() } -// SetKeyPair sets the KeyPair field's value. -func (s *CreateKeyPairOutput) SetKeyPair(v *KeyPair) *CreateKeyPairOutput { - s.KeyPair = v +// SetIncludeInactive sets the IncludeInactive field's value. +func (s *GetBlueprintsInput) SetIncludeInactive(v bool) *GetBlueprintsInput { + s.IncludeInactive = &v return s } -// SetOperation sets the Operation field's value. -func (s *CreateKeyPairOutput) SetOperation(v *Operation) *CreateKeyPairOutput { - s.Operation = v +// SetPageToken sets the PageToken field's value. +func (s *GetBlueprintsInput) SetPageToken(v string) *GetBlueprintsInput { + s.PageToken = &v return s } -// SetPrivateKeyBase64 sets the PrivateKeyBase64 field's value. -func (s *CreateKeyPairOutput) SetPrivateKeyBase64(v string) *CreateKeyPairOutput { - s.PrivateKeyBase64 = &v +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprintsResult +type GetBlueprintsOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs that contains information about the available + // blueprints. + Blueprints []*Blueprint `locationName:"blueprints" type:"list"` + + // A token used for advancing to the next page of results from your get blueprints + // request. + NextPageToken *string `locationName:"nextPageToken" type:"string"` +} + +// String returns the string representation +func (s GetBlueprintsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetBlueprintsOutput) GoString() string { + return s.String() +} + +// SetBlueprints sets the Blueprints field's value. +func (s *GetBlueprintsOutput) SetBlueprints(v []*Blueprint) *GetBlueprintsOutput { + s.Blueprints = v return s } -// SetPublicKeyBase64 sets the PublicKeyBase64 field's value. -func (s *CreateKeyPairOutput) SetPublicKeyBase64(v string) *CreateKeyPairOutput { - s.PublicKeyBase64 = &v +// SetNextPageToken sets the NextPageToken field's value. +func (s *GetBlueprintsOutput) SetNextPageToken(v string) *GetBlueprintsOutput { + s.NextPageToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntryRequest -type DeleteDomainEntryInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundlesRequest +type GetBundlesInput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about your domain entries. - // - // DomainEntry is a required field - DomainEntry *DomainEntry `locationName:"domainEntry" type:"structure" required:"true"` + // A Boolean value that indicates whether to include inactive bundle results + // in your request. + IncludeInactive *bool `locationName:"includeInactive" type:"boolean"` - // The name of the domain entry to delete. - // - // DomainName is a required field - DomainName *string `locationName:"domainName" type:"string" required:"true"` + // A token used for advancing to the next page of results from your get bundles + // request. + PageToken *string `locationName:"pageToken" type:"string"` } // String returns the string representation -func (s DeleteDomainEntryInput) String() string { +func (s GetBundlesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteDomainEntryInput) GoString() string { +func (s GetBundlesInput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteDomainEntryInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteDomainEntryInput"} - if s.DomainEntry == nil { - invalidParams.Add(request.NewErrParamRequired("DomainEntry")) - } - if s.DomainName == nil { - invalidParams.Add(request.NewErrParamRequired("DomainName")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetDomainEntry sets the DomainEntry field's value. -func (s *DeleteDomainEntryInput) SetDomainEntry(v *DomainEntry) *DeleteDomainEntryInput { - s.DomainEntry = v +// SetIncludeInactive sets the IncludeInactive field's value. +func (s *GetBundlesInput) SetIncludeInactive(v bool) *GetBundlesInput { + s.IncludeInactive = &v return s } - -// SetDomainName sets the DomainName field's value. -func (s *DeleteDomainEntryInput) SetDomainName(v string) *DeleteDomainEntryInput { - s.DomainName = &v + +// SetPageToken sets the PageToken field's value. +func (s *GetBundlesInput) SetPageToken(v string) *GetBundlesInput { + s.PageToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntryResult -type DeleteDomainEntryOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundlesResult +type GetBundlesOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the results of your - // delete domain entry request. - Operation *Operation `locationName:"operation" type:"structure"` + // An array of key-value pairs that contains information about the available + // bundles. + Bundles []*Bundle `locationName:"bundles" type:"list"` + + // A token used for advancing to the next page of results from your get active + // names request. + NextPageToken *string `locationName:"nextPageToken" type:"string"` } // String returns the string representation -func (s DeleteDomainEntryOutput) String() string { +func (s GetBundlesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteDomainEntryOutput) GoString() string { +func (s GetBundlesOutput) GoString() string { return s.String() } -// SetOperation sets the Operation field's value. -func (s *DeleteDomainEntryOutput) SetOperation(v *Operation) *DeleteDomainEntryOutput { - s.Operation = v +// SetBundles sets the Bundles field's value. +func (s *GetBundlesOutput) SetBundles(v []*Bundle) *GetBundlesOutput { + s.Bundles = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainRequest -type DeleteDomainInput struct { +// SetNextPageToken sets the NextPageToken field's value. +func (s *GetBundlesOutput) SetNextPageToken(v string) *GetBundlesOutput { + s.NextPageToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskRequest +type GetDiskInput struct { _ struct{} `type:"structure"` - // The specific domain name to delete. + // The name of the disk (e.g., my-disk). // - // DomainName is a required field - DomainName *string `locationName:"domainName" type:"string" required:"true"` + // DiskName is a required field + DiskName *string `locationName:"diskName" type:"string" required:"true"` } // String returns the string representation -func (s DeleteDomainInput) String() string { +func (s GetDiskInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteDomainInput) GoString() string { +func (s GetDiskInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteDomainInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteDomainInput"} - if s.DomainName == nil { - invalidParams.Add(request.NewErrParamRequired("DomainName")) +func (s *GetDiskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetDiskInput"} + if s.DiskName == nil { + invalidParams.Add(request.NewErrParamRequired("DiskName")) } if invalidParams.Len() > 0 { @@ -6247,62 +10909,61 @@ func (s *DeleteDomainInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DeleteDomainInput) SetDomainName(v string) *DeleteDomainInput { - s.DomainName = &v +// SetDiskName sets the DiskName field's value. +func (s *GetDiskInput) SetDiskName(v string) *GetDiskInput { + s.DiskName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainResult -type DeleteDomainOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskResult +type GetDiskOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the results of your - // delete domain request. - Operation *Operation `locationName:"operation" type:"structure"` + // An object containing information about the disk. + Disk *Disk `locationName:"disk" type:"structure"` } // String returns the string representation -func (s DeleteDomainOutput) String() string { +func (s GetDiskOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteDomainOutput) GoString() string { +func (s GetDiskOutput) GoString() string { return s.String() } -// SetOperation sets the Operation field's value. -func (s *DeleteDomainOutput) SetOperation(v *Operation) *DeleteDomainOutput { - s.Operation = v +// SetDisk sets the Disk field's value. +func (s *GetDiskOutput) SetDisk(v *Disk) *GetDiskOutput { + s.Disk = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceRequest -type DeleteInstanceInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotRequest +type GetDiskSnapshotInput struct { _ struct{} `type:"structure"` - // The name of the instance to delete. + // The name of the disk snapshot (e.g., my-disk-snapshot). // - // InstanceName is a required field - InstanceName *string `locationName:"instanceName" type:"string" required:"true"` + // DiskSnapshotName is a required field + DiskSnapshotName *string `locationName:"diskSnapshotName" type:"string" required:"true"` } // String returns the string representation -func (s DeleteInstanceInput) String() string { +func (s GetDiskSnapshotInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteInstanceInput) GoString() string { +func (s GetDiskSnapshotInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteInstanceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteInstanceInput"} - if s.InstanceName == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceName")) +func (s *GetDiskSnapshotInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetDiskSnapshotInput"} + if s.DiskSnapshotName == nil { + invalidParams.Add(request.NewErrParamRequired("DiskSnapshotName")) } if invalidParams.Len() > 0 { @@ -6311,190 +10972,179 @@ func (s *DeleteInstanceInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *DeleteInstanceInput) SetInstanceName(v string) *DeleteInstanceInput { - s.InstanceName = &v +// SetDiskSnapshotName sets the DiskSnapshotName field's value. +func (s *GetDiskSnapshotInput) SetDiskSnapshotName(v string) *GetDiskSnapshotInput { + s.DiskSnapshotName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceResult -type DeleteInstanceOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotResult +type GetDiskSnapshotOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the results of your - // delete instance request. - Operations []*Operation `locationName:"operations" type:"list"` + // An object containing information about the disk snapshot. + DiskSnapshot *DiskSnapshot `locationName:"diskSnapshot" type:"structure"` } // String returns the string representation -func (s DeleteInstanceOutput) String() string { +func (s GetDiskSnapshotOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteInstanceOutput) GoString() string { +func (s GetDiskSnapshotOutput) GoString() string { return s.String() } -// SetOperations sets the Operations field's value. -func (s *DeleteInstanceOutput) SetOperations(v []*Operation) *DeleteInstanceOutput { - s.Operations = v +// SetDiskSnapshot sets the DiskSnapshot field's value. +func (s *GetDiskSnapshotOutput) SetDiskSnapshot(v *DiskSnapshot) *GetDiskSnapshotOutput { + s.DiskSnapshot = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshotRequest -type DeleteInstanceSnapshotInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotsRequest +type GetDiskSnapshotsInput struct { _ struct{} `type:"structure"` - // The name of the snapshot to delete. - // - // InstanceSnapshotName is a required field - InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"` + // A token used for advancing to the next page of results from your GetDiskSnapshots + // request. + PageToken *string `locationName:"pageToken" type:"string"` } // String returns the string representation -func (s DeleteInstanceSnapshotInput) String() string { +func (s GetDiskSnapshotsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteInstanceSnapshotInput) GoString() string { +func (s GetDiskSnapshotsInput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteInstanceSnapshotInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteInstanceSnapshotInput"} - if s.InstanceSnapshotName == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceSnapshotName")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetInstanceSnapshotName sets the InstanceSnapshotName field's value. -func (s *DeleteInstanceSnapshotInput) SetInstanceSnapshotName(v string) *DeleteInstanceSnapshotInput { - s.InstanceSnapshotName = &v +// SetPageToken sets the PageToken field's value. +func (s *GetDiskSnapshotsInput) SetPageToken(v string) *GetDiskSnapshotsInput { + s.PageToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshotResult -type DeleteInstanceSnapshotOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotsResult +type GetDiskSnapshotsOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the results of your - // delete instance snapshot request. - Operations []*Operation `locationName:"operations" type:"list"` + // An array of objects containing information about all block storage disk snapshots. + DiskSnapshots []*DiskSnapshot `locationName:"diskSnapshots" type:"list"` + + // A token used for advancing to the next page of results from your GetDiskSnapshots + // request. + NextPageToken *string `locationName:"nextPageToken" type:"string"` } // String returns the string representation -func (s DeleteInstanceSnapshotOutput) String() string { +func (s GetDiskSnapshotsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteInstanceSnapshotOutput) GoString() string { +func (s GetDiskSnapshotsOutput) GoString() string { return s.String() } -// SetOperations sets the Operations field's value. -func (s *DeleteInstanceSnapshotOutput) SetOperations(v []*Operation) *DeleteInstanceSnapshotOutput { - s.Operations = v +// SetDiskSnapshots sets the DiskSnapshots field's value. +func (s *GetDiskSnapshotsOutput) SetDiskSnapshots(v []*DiskSnapshot) *GetDiskSnapshotsOutput { + s.DiskSnapshots = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPairRequest -type DeleteKeyPairInput struct { +// SetNextPageToken sets the NextPageToken field's value. +func (s *GetDiskSnapshotsOutput) SetNextPageToken(v string) *GetDiskSnapshotsOutput { + s.NextPageToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisksRequest +type GetDisksInput struct { _ struct{} `type:"structure"` - // The name of the key pair to delete. - // - // KeyPairName is a required field - KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"` + // A token used for advancing to the next page of results from your GetDisks + // request. + PageToken *string `locationName:"pageToken" type:"string"` } // String returns the string representation -func (s DeleteKeyPairInput) String() string { +func (s GetDisksInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteKeyPairInput) GoString() string { +func (s GetDisksInput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteKeyPairInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteKeyPairInput"} - if s.KeyPairName == nil { - invalidParams.Add(request.NewErrParamRequired("KeyPairName")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetKeyPairName sets the KeyPairName field's value. -func (s *DeleteKeyPairInput) SetKeyPairName(v string) *DeleteKeyPairInput { - s.KeyPairName = &v +// SetPageToken sets the PageToken field's value. +func (s *GetDisksInput) SetPageToken(v string) *GetDisksInput { + s.PageToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPairResult -type DeleteKeyPairOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisksResult +type GetDisksOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the results of your - // delete key pair request. - Operation *Operation `locationName:"operation" type:"structure"` + // An array of objects containing information about all block storage disks. + Disks []*Disk `locationName:"disks" type:"list"` + + // A token used for advancing to the next page of results from your GetDisks + // request. + NextPageToken *string `locationName:"nextPageToken" type:"string"` } // String returns the string representation -func (s DeleteKeyPairOutput) String() string { +func (s GetDisksOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteKeyPairOutput) GoString() string { +func (s GetDisksOutput) GoString() string { return s.String() } -// SetOperation sets the Operation field's value. -func (s *DeleteKeyPairOutput) SetOperation(v *Operation) *DeleteKeyPairOutput { - s.Operation = v +// SetDisks sets the Disks field's value. +func (s *GetDisksOutput) SetDisks(v []*Disk) *GetDisksOutput { + s.Disks = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIpRequest -type DetachStaticIpInput struct { +// SetNextPageToken sets the NextPageToken field's value. +func (s *GetDisksOutput) SetNextPageToken(v string) *GetDisksOutput { + s.NextPageToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainRequest +type GetDomainInput struct { _ struct{} `type:"structure"` - // The name of the static IP to detach from the instance. + // The domain name for which your want to return information about. // - // StaticIpName is a required field - StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"` + // DomainName is a required field + DomainName *string `locationName:"domainName" type:"string" required:"true"` } // String returns the string representation -func (s DetachStaticIpInput) String() string { +func (s GetDomainInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DetachStaticIpInput) GoString() string { +func (s GetDomainInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DetachStaticIpInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DetachStaticIpInput"} - if s.StaticIpName == nil { - invalidParams.Add(request.NewErrParamRequired("StaticIpName")) +func (s *GetDomainInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetDomainInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) } if invalidParams.Len() > 0 { @@ -6503,594 +11153,605 @@ func (s *DetachStaticIpInput) Validate() error { return nil } -// SetStaticIpName sets the StaticIpName field's value. -func (s *DetachStaticIpInput) SetStaticIpName(v string) *DetachStaticIpInput { - s.StaticIpName = &v +// SetDomainName sets the DomainName field's value. +func (s *GetDomainInput) SetDomainName(v string) *GetDomainInput { + s.DomainName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIpResult -type DetachStaticIpOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainResult +type GetDomainOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the results of your - // detach static IP request. - Operations []*Operation `locationName:"operations" type:"list"` + // An array of key-value pairs containing information about your get domain + // request. + Domain *Domain `locationName:"domain" type:"structure"` } // String returns the string representation -func (s DetachStaticIpOutput) String() string { +func (s GetDomainOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DetachStaticIpOutput) GoString() string { +func (s GetDomainOutput) GoString() string { return s.String() } -// SetOperations sets the Operations field's value. -func (s *DetachStaticIpOutput) SetOperations(v []*Operation) *DetachStaticIpOutput { - s.Operations = v +// SetDomain sets the Domain field's value. +func (s *GetDomainOutput) SetDomain(v *Domain) *GetDomainOutput { + s.Domain = v return s } -// Describes the hard disk (an SSD). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Disk -type Disk struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainsRequest +type GetDomainsInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the disk. - Arn *string `locationName:"arn" type:"string"` - - // The resources to which the disk is attached. - AttachedTo *string `locationName:"attachedTo" type:"string"` - - // The attachment state of the disk. - AttachmentState *string `locationName:"attachmentState" type:"string"` - - // The date when the disk was created. - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` - - // The number of GB in use by the disk. - GbInUse *int64 `locationName:"gbInUse" type:"integer"` - - // The input/output operations per second (IOPS) of the disk. - Iops *int64 `locationName:"iops" type:"integer"` - - // A Boolean value indicating whether the disk is attached. - IsAttached *bool `locationName:"isAttached" type:"boolean"` - - // A Boolean value indicating whether this disk is a system disk (has an operating - // system loaded on it). - IsSystemDisk *bool `locationName:"isSystemDisk" type:"boolean"` + // A token used for advancing to the next page of results from your get domains + // request. + PageToken *string `locationName:"pageToken" type:"string"` +} - // The region and Availability Zone where the disk is located. - Location *ResourceLocation `locationName:"location" type:"structure"` +// String returns the string representation +func (s GetDomainsInput) String() string { + return awsutil.Prettify(s) +} - // The name of the disk. - Name *string `locationName:"name" type:"string"` +// GoString returns the string representation +func (s GetDomainsInput) GoString() string { + return s.String() +} - // The disk path. - Path *string `locationName:"path" type:"string"` +// SetPageToken sets the PageToken field's value. +func (s *GetDomainsInput) SetPageToken(v string) *GetDomainsInput { + s.PageToken = &v + return s +} - // The resource type of the disk. - ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainsResult +type GetDomainsOutput struct { + _ struct{} `type:"structure"` - // The size of the disk in GB. - SizeInGb *int64 `locationName:"sizeInGb" type:"integer"` + // An array of key-value pairs containing information about each of the domain + // entries in the user's account. + Domains []*Domain `locationName:"domains" type:"list"` - // The support code. Include this code in your email to support when you have - // questions about an instance or another resource in Lightsail. This code enables - // our support team to look up your Lightsail information more easily. - SupportCode *string `locationName:"supportCode" type:"string"` + // A token used for advancing to the next page of results from your get active + // names request. + NextPageToken *string `locationName:"nextPageToken" type:"string"` } // String returns the string representation -func (s Disk) String() string { +func (s GetDomainsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s Disk) GoString() string { +func (s GetDomainsOutput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Disk) SetArn(v string) *Disk { - s.Arn = &v +// SetDomains sets the Domains field's value. +func (s *GetDomainsOutput) SetDomains(v []*Domain) *GetDomainsOutput { + s.Domains = v return s } -// SetAttachedTo sets the AttachedTo field's value. -func (s *Disk) SetAttachedTo(v string) *Disk { - s.AttachedTo = &v +// SetNextPageToken sets the NextPageToken field's value. +func (s *GetDomainsOutput) SetNextPageToken(v string) *GetDomainsOutput { + s.NextPageToken = &v return s } -// SetAttachmentState sets the AttachmentState field's value. -func (s *Disk) SetAttachmentState(v string) *Disk { - s.AttachmentState = &v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetailsRequest +type GetInstanceAccessDetailsInput struct { + _ struct{} `type:"structure"` + + // The name of the instance to access. + // + // InstanceName is a required field + InstanceName *string `locationName:"instanceName" type:"string" required:"true"` + + // The protocol to use to connect to your instance. Defaults to ssh. + Protocol *string `locationName:"protocol" type:"string" enum:"InstanceAccessProtocol"` } -// SetCreatedAt sets the CreatedAt field's value. -func (s *Disk) SetCreatedAt(v time.Time) *Disk { - s.CreatedAt = &v - return s +// String returns the string representation +func (s GetInstanceAccessDetailsInput) String() string { + return awsutil.Prettify(s) } -// SetGbInUse sets the GbInUse field's value. -func (s *Disk) SetGbInUse(v int64) *Disk { - s.GbInUse = &v - return s +// GoString returns the string representation +func (s GetInstanceAccessDetailsInput) GoString() string { + return s.String() } -// SetIops sets the Iops field's value. -func (s *Disk) SetIops(v int64) *Disk { - s.Iops = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetInstanceAccessDetailsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetInstanceAccessDetailsInput"} + if s.InstanceName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetIsAttached sets the IsAttached field's value. -func (s *Disk) SetIsAttached(v bool) *Disk { - s.IsAttached = &v +// SetInstanceName sets the InstanceName field's value. +func (s *GetInstanceAccessDetailsInput) SetInstanceName(v string) *GetInstanceAccessDetailsInput { + s.InstanceName = &v return s } -// SetIsSystemDisk sets the IsSystemDisk field's value. -func (s *Disk) SetIsSystemDisk(v bool) *Disk { - s.IsSystemDisk = &v +// SetProtocol sets the Protocol field's value. +func (s *GetInstanceAccessDetailsInput) SetProtocol(v string) *GetInstanceAccessDetailsInput { + s.Protocol = &v return s } -// SetLocation sets the Location field's value. -func (s *Disk) SetLocation(v *ResourceLocation) *Disk { - s.Location = v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetailsResult +type GetInstanceAccessDetailsOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about a get instance access + // request. + AccessDetails *InstanceAccessDetails `locationName:"accessDetails" type:"structure"` } -// SetName sets the Name field's value. -func (s *Disk) SetName(v string) *Disk { - s.Name = &v - return s +// String returns the string representation +func (s GetInstanceAccessDetailsOutput) String() string { + return awsutil.Prettify(s) } -// SetPath sets the Path field's value. -func (s *Disk) SetPath(v string) *Disk { - s.Path = &v - return s +// GoString returns the string representation +func (s GetInstanceAccessDetailsOutput) GoString() string { + return s.String() } -// SetResourceType sets the ResourceType field's value. -func (s *Disk) SetResourceType(v string) *Disk { - s.ResourceType = &v +// SetAccessDetails sets the AccessDetails field's value. +func (s *GetInstanceAccessDetailsOutput) SetAccessDetails(v *InstanceAccessDetails) *GetInstanceAccessDetailsOutput { + s.AccessDetails = v return s } -// SetSizeInGb sets the SizeInGb field's value. -func (s *Disk) SetSizeInGb(v int64) *Disk { - s.SizeInGb = &v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceRequest +type GetInstanceInput struct { + _ struct{} `type:"structure"` + + // The name of the instance. + // + // InstanceName is a required field + InstanceName *string `locationName:"instanceName" type:"string" required:"true"` } -// SetSupportCode sets the SupportCode field's value. -func (s *Disk) SetSupportCode(v string) *Disk { - s.SupportCode = &v +// String returns the string representation +func (s GetInstanceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetInstanceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetInstanceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetInstanceInput"} + if s.InstanceName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceName sets the InstanceName field's value. +func (s *GetInstanceInput) SetInstanceName(v string) *GetInstanceInput { + s.InstanceName = &v return s } -// Describes a domain where you are storing recordsets in Lightsail. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Domain -type Domain struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricDataRequest +type GetInstanceMetricDataInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the domain recordset (e.g., arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE). - Arn *string `locationName:"arn" type:"string"` + // The end time of the time period. + // + // EndTime is a required field + EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix" required:"true"` - // The date when the domain recordset was created. - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` + // The name of the instance for which you want to get metrics data. + // + // InstanceName is a required field + InstanceName *string `locationName:"instanceName" type:"string" required:"true"` - // An array of key-value pairs containing information about the domain entries. - DomainEntries []*DomainEntry `locationName:"domainEntries" type:"list"` + // The metric name to get data about. + // + // MetricName is a required field + MetricName *string `locationName:"metricName" type:"string" required:"true" enum:"InstanceMetricName"` - // The AWS Region and Availability Zones where the domain recordset was created. - Location *ResourceLocation `locationName:"location" type:"structure"` + // The time period for which you are requesting data. + // + // Period is a required field + Period *int64 `locationName:"period" min:"60" type:"integer" required:"true"` - // The name of the domain. - Name *string `locationName:"name" type:"string"` + // The start time of the time period. + // + // StartTime is a required field + StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix" required:"true"` - // The resource type. - ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` + // The instance statistics. + // + // Statistics is a required field + Statistics []*string `locationName:"statistics" type:"list" required:"true"` - // The support code. Include this code in your email to support when you have - // questions about an instance or another resource in Lightsail. This code enables - // our support team to look up your Lightsail information more easily. - SupportCode *string `locationName:"supportCode" type:"string"` + // The unit. The list of valid values is below. + // + // Unit is a required field + Unit *string `locationName:"unit" type:"string" required:"true" enum:"MetricUnit"` } // String returns the string representation -func (s Domain) String() string { +func (s GetInstanceMetricDataInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s Domain) GoString() string { +func (s GetInstanceMetricDataInput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Domain) SetArn(v string) *Domain { - s.Arn = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetInstanceMetricDataInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetInstanceMetricDataInput"} + if s.EndTime == nil { + invalidParams.Add(request.NewErrParamRequired("EndTime")) + } + if s.InstanceName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceName")) + } + if s.MetricName == nil { + invalidParams.Add(request.NewErrParamRequired("MetricName")) + } + if s.Period == nil { + invalidParams.Add(request.NewErrParamRequired("Period")) + } + if s.Period != nil && *s.Period < 60 { + invalidParams.Add(request.NewErrParamMinValue("Period", 60)) + } + if s.StartTime == nil { + invalidParams.Add(request.NewErrParamRequired("StartTime")) + } + if s.Statistics == nil { + invalidParams.Add(request.NewErrParamRequired("Statistics")) + } + if s.Unit == nil { + invalidParams.Add(request.NewErrParamRequired("Unit")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEndTime sets the EndTime field's value. +func (s *GetInstanceMetricDataInput) SetEndTime(v time.Time) *GetInstanceMetricDataInput { + s.EndTime = &v return s } -// SetCreatedAt sets the CreatedAt field's value. -func (s *Domain) SetCreatedAt(v time.Time) *Domain { - s.CreatedAt = &v +// SetInstanceName sets the InstanceName field's value. +func (s *GetInstanceMetricDataInput) SetInstanceName(v string) *GetInstanceMetricDataInput { + s.InstanceName = &v return s } -// SetDomainEntries sets the DomainEntries field's value. -func (s *Domain) SetDomainEntries(v []*DomainEntry) *Domain { - s.DomainEntries = v +// SetMetricName sets the MetricName field's value. +func (s *GetInstanceMetricDataInput) SetMetricName(v string) *GetInstanceMetricDataInput { + s.MetricName = &v return s } -// SetLocation sets the Location field's value. -func (s *Domain) SetLocation(v *ResourceLocation) *Domain { - s.Location = v +// SetPeriod sets the Period field's value. +func (s *GetInstanceMetricDataInput) SetPeriod(v int64) *GetInstanceMetricDataInput { + s.Period = &v return s } -// SetName sets the Name field's value. -func (s *Domain) SetName(v string) *Domain { - s.Name = &v +// SetStartTime sets the StartTime field's value. +func (s *GetInstanceMetricDataInput) SetStartTime(v time.Time) *GetInstanceMetricDataInput { + s.StartTime = &v return s } -// SetResourceType sets the ResourceType field's value. -func (s *Domain) SetResourceType(v string) *Domain { - s.ResourceType = &v +// SetStatistics sets the Statistics field's value. +func (s *GetInstanceMetricDataInput) SetStatistics(v []*string) *GetInstanceMetricDataInput { + s.Statistics = v return s } -// SetSupportCode sets the SupportCode field's value. -func (s *Domain) SetSupportCode(v string) *Domain { - s.SupportCode = &v +// SetUnit sets the Unit field's value. +func (s *GetInstanceMetricDataInput) SetUnit(v string) *GetInstanceMetricDataInput { + s.Unit = &v return s } -// Describes a domain recordset entry. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DomainEntry -type DomainEntry struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricDataResult +type GetInstanceMetricDataOutput struct { _ struct{} `type:"structure"` - // The ID of the domain recordset entry. - Id *string `locationName:"id" type:"string"` - - // The name of the domain. - Name *string `locationName:"name" type:"string"` - - // The options for the domain entry. - Options map[string]*string `locationName:"options" type:"map"` - - // The target AWS name server (e.g., ns-111.awsdns-22.com.). - Target *string `locationName:"target" type:"string"` + // An array of key-value pairs containing information about the results of your + // get instance metric data request. + MetricData []*MetricDatapoint `locationName:"metricData" type:"list"` - // The type of domain entry (e.g., SOA or NS). - Type *string `locationName:"type" type:"string"` + // The metric name to return data for. + MetricName *string `locationName:"metricName" type:"string" enum:"InstanceMetricName"` } // String returns the string representation -func (s DomainEntry) String() string { +func (s GetInstanceMetricDataOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DomainEntry) GoString() string { +func (s GetInstanceMetricDataOutput) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *DomainEntry) SetId(v string) *DomainEntry { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *DomainEntry) SetName(v string) *DomainEntry { - s.Name = &v - return s -} - -// SetOptions sets the Options field's value. -func (s *DomainEntry) SetOptions(v map[string]*string) *DomainEntry { - s.Options = v - return s -} - -// SetTarget sets the Target field's value. -func (s *DomainEntry) SetTarget(v string) *DomainEntry { - s.Target = &v +// SetMetricData sets the MetricData field's value. +func (s *GetInstanceMetricDataOutput) SetMetricData(v []*MetricDatapoint) *GetInstanceMetricDataOutput { + s.MetricData = v return s } -// SetType sets the Type field's value. -func (s *DomainEntry) SetType(v string) *DomainEntry { - s.Type = &v +// SetMetricName sets the MetricName field's value. +func (s *GetInstanceMetricDataOutput) SetMetricName(v string) *GetInstanceMetricDataOutput { + s.MetricName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPairRequest -type DownloadDefaultKeyPairInput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation -func (s DownloadDefaultKeyPairInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DownloadDefaultKeyPairInput) GoString() string { - return s.String() -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPairResult -type DownloadDefaultKeyPairOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceResult +type GetInstanceOutput struct { _ struct{} `type:"structure"` - // A base64-encoded RSA private key. - PrivateKeyBase64 *string `locationName:"privateKeyBase64" type:"string"` - - // A base64-encoded public key of the ssh-rsa type. - PublicKeyBase64 *string `locationName:"publicKeyBase64" type:"string"` + // An array of key-value pairs containing information about the specified instance. + Instance *Instance `locationName:"instance" type:"structure"` } // String returns the string representation -func (s DownloadDefaultKeyPairOutput) String() string { +func (s GetInstanceOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DownloadDefaultKeyPairOutput) GoString() string { +func (s GetInstanceOutput) GoString() string { return s.String() } -// SetPrivateKeyBase64 sets the PrivateKeyBase64 field's value. -func (s *DownloadDefaultKeyPairOutput) SetPrivateKeyBase64(v string) *DownloadDefaultKeyPairOutput { - s.PrivateKeyBase64 = &v - return s -} - -// SetPublicKeyBase64 sets the PublicKeyBase64 field's value. -func (s *DownloadDefaultKeyPairOutput) SetPublicKeyBase64(v string) *DownloadDefaultKeyPairOutput { - s.PublicKeyBase64 = &v +// SetInstance sets the Instance field's value. +func (s *GetInstanceOutput) SetInstance(v *Instance) *GetInstanceOutput { + s.Instance = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNamesRequest -type GetActiveNamesInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesRequest +type GetInstancePortStatesInput struct { _ struct{} `type:"structure"` - // A token used for paginating results from your get active names request. - PageToken *string `locationName:"pageToken" type:"string"` + // The name of the instance. + // + // InstanceName is a required field + InstanceName *string `locationName:"instanceName" type:"string" required:"true"` } // String returns the string representation -func (s GetActiveNamesInput) String() string { +func (s GetInstancePortStatesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetActiveNamesInput) GoString() string { +func (s GetInstancePortStatesInput) GoString() string { return s.String() } -// SetPageToken sets the PageToken field's value. -func (s *GetActiveNamesInput) SetPageToken(v string) *GetActiveNamesInput { - s.PageToken = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetInstancePortStatesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetInstancePortStatesInput"} + if s.InstanceName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceName sets the InstanceName field's value. +func (s *GetInstancePortStatesInput) SetInstanceName(v string) *GetInstancePortStatesInput { + s.InstanceName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNamesResult -type GetActiveNamesOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesResult +type GetInstancePortStatesOutput struct { _ struct{} `type:"structure"` - // The list of active names returned by the get active names request. - ActiveNames []*string `locationName:"activeNames" type:"list"` - - // A token used for advancing to the next page of results from your get active - // names request. - NextPageToken *string `locationName:"nextPageToken" type:"string"` + // Information about the port states resulting from your request. + PortStates []*InstancePortState `locationName:"portStates" type:"list"` } // String returns the string representation -func (s GetActiveNamesOutput) String() string { +func (s GetInstancePortStatesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetActiveNamesOutput) GoString() string { +func (s GetInstancePortStatesOutput) GoString() string { return s.String() } -// SetActiveNames sets the ActiveNames field's value. -func (s *GetActiveNamesOutput) SetActiveNames(v []*string) *GetActiveNamesOutput { - s.ActiveNames = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetActiveNamesOutput) SetNextPageToken(v string) *GetActiveNamesOutput { - s.NextPageToken = &v +// SetPortStates sets the PortStates field's value. +func (s *GetInstancePortStatesOutput) SetPortStates(v []*InstancePortState) *GetInstancePortStatesOutput { + s.PortStates = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprintsRequest -type GetBlueprintsInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotRequest +type GetInstanceSnapshotInput struct { _ struct{} `type:"structure"` - // A Boolean value indicating whether to include inactive results in your request. - IncludeInactive *bool `locationName:"includeInactive" type:"boolean"` - - // A token used for advancing to the next page of results from your get blueprints - // request. - PageToken *string `locationName:"pageToken" type:"string"` + // The name of the snapshot for which you are requesting information. + // + // InstanceSnapshotName is a required field + InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"` } // String returns the string representation -func (s GetBlueprintsInput) String() string { +func (s GetInstanceSnapshotInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetBlueprintsInput) GoString() string { +func (s GetInstanceSnapshotInput) GoString() string { return s.String() } -// SetIncludeInactive sets the IncludeInactive field's value. -func (s *GetBlueprintsInput) SetIncludeInactive(v bool) *GetBlueprintsInput { - s.IncludeInactive = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetInstanceSnapshotInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetInstanceSnapshotInput"} + if s.InstanceSnapshotName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceSnapshotName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetPageToken sets the PageToken field's value. -func (s *GetBlueprintsInput) SetPageToken(v string) *GetBlueprintsInput { - s.PageToken = &v +// SetInstanceSnapshotName sets the InstanceSnapshotName field's value. +func (s *GetInstanceSnapshotInput) SetInstanceSnapshotName(v string) *GetInstanceSnapshotInput { + s.InstanceSnapshotName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprintsResult -type GetBlueprintsOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotResult +type GetInstanceSnapshotOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs that contains information about the available - // blueprints. - Blueprints []*Blueprint `locationName:"blueprints" type:"list"` - - // A token used for advancing to the next page of results from your get blueprints - // request. - NextPageToken *string `locationName:"nextPageToken" type:"string"` + // An array of key-value pairs containing information about the results of your + // get instance snapshot request. + InstanceSnapshot *InstanceSnapshot `locationName:"instanceSnapshot" type:"structure"` } // String returns the string representation -func (s GetBlueprintsOutput) String() string { +func (s GetInstanceSnapshotOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetBlueprintsOutput) GoString() string { +func (s GetInstanceSnapshotOutput) GoString() string { return s.String() } -// SetBlueprints sets the Blueprints field's value. -func (s *GetBlueprintsOutput) SetBlueprints(v []*Blueprint) *GetBlueprintsOutput { - s.Blueprints = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetBlueprintsOutput) SetNextPageToken(v string) *GetBlueprintsOutput { - s.NextPageToken = &v +// SetInstanceSnapshot sets the InstanceSnapshot field's value. +func (s *GetInstanceSnapshotOutput) SetInstanceSnapshot(v *InstanceSnapshot) *GetInstanceSnapshotOutput { + s.InstanceSnapshot = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundlesRequest -type GetBundlesInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotsRequest +type GetInstanceSnapshotsInput struct { _ struct{} `type:"structure"` - // A Boolean value that indicates whether to include inactive bundle results - // in your request. - IncludeInactive *bool `locationName:"includeInactive" type:"boolean"` - - // A token used for advancing to the next page of results from your get bundles - // request. + // A token used for advancing to the next page of results from your get instance + // snapshots request. PageToken *string `locationName:"pageToken" type:"string"` } // String returns the string representation -func (s GetBundlesInput) String() string { +func (s GetInstanceSnapshotsInput) String() string { return awsutil.Prettify(s) } -// GoString returns the string representation -func (s GetBundlesInput) GoString() string { - return s.String() -} - -// SetIncludeInactive sets the IncludeInactive field's value. -func (s *GetBundlesInput) SetIncludeInactive(v bool) *GetBundlesInput { - s.IncludeInactive = &v - return s +// GoString returns the string representation +func (s GetInstanceSnapshotsInput) GoString() string { + return s.String() } // SetPageToken sets the PageToken field's value. -func (s *GetBundlesInput) SetPageToken(v string) *GetBundlesInput { +func (s *GetInstanceSnapshotsInput) SetPageToken(v string) *GetInstanceSnapshotsInput { s.PageToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundlesResult -type GetBundlesOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotsResult +type GetInstanceSnapshotsOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs that contains information about the available - // bundles. - Bundles []*Bundle `locationName:"bundles" type:"list"` + // An array of key-value pairs containing information about the results of your + // get instance snapshots request. + InstanceSnapshots []*InstanceSnapshot `locationName:"instanceSnapshots" type:"list"` - // A token used for advancing to the next page of results from your get active - // names request. + // A token used for advancing to the next page of results from your get instance + // snapshots request. NextPageToken *string `locationName:"nextPageToken" type:"string"` } // String returns the string representation -func (s GetBundlesOutput) String() string { +func (s GetInstanceSnapshotsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetBundlesOutput) GoString() string { +func (s GetInstanceSnapshotsOutput) GoString() string { return s.String() } -// SetBundles sets the Bundles field's value. -func (s *GetBundlesOutput) SetBundles(v []*Bundle) *GetBundlesOutput { - s.Bundles = v +// SetInstanceSnapshots sets the InstanceSnapshots field's value. +func (s *GetInstanceSnapshotsOutput) SetInstanceSnapshots(v []*InstanceSnapshot) *GetInstanceSnapshotsOutput { + s.InstanceSnapshots = v return s } // SetNextPageToken sets the NextPageToken field's value. -func (s *GetBundlesOutput) SetNextPageToken(v string) *GetBundlesOutput { +func (s *GetInstanceSnapshotsOutput) SetNextPageToken(v string) *GetInstanceSnapshotsOutput { s.NextPageToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainRequest -type GetDomainInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceStateRequest +type GetInstanceStateInput struct { _ struct{} `type:"structure"` - // The domain name for which your want to return information about. + // The name of the instance to get state information about. // - // DomainName is a required field - DomainName *string `locationName:"domainName" type:"string" required:"true"` + // InstanceName is a required field + InstanceName *string `locationName:"instanceName" type:"string" required:"true"` } // String returns the string representation -func (s GetDomainInput) String() string { +func (s GetInstanceStateInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetDomainInput) GoString() string { +func (s GetInstanceStateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetDomainInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetDomainInput"} - if s.DomainName == nil { - invalidParams.Add(request.NewErrParamRequired("DomainName")) +func (s *GetInstanceStateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetInstanceStateInput"} + if s.InstanceName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceName")) } if invalidParams.Len() > 0 { @@ -7099,125 +11760,120 @@ func (s *GetDomainInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *GetDomainInput) SetDomainName(v string) *GetDomainInput { - s.DomainName = &v +// SetInstanceName sets the InstanceName field's value. +func (s *GetInstanceStateInput) SetInstanceName(v string) *GetInstanceStateInput { + s.InstanceName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainResult -type GetDomainOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceStateResult +type GetInstanceStateOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about your get domain - // request. - Domain *Domain `locationName:"domain" type:"structure"` + // The state of the instance. + State *InstanceState `locationName:"state" type:"structure"` } // String returns the string representation -func (s GetDomainOutput) String() string { +func (s GetInstanceStateOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetDomainOutput) GoString() string { +func (s GetInstanceStateOutput) GoString() string { return s.String() } -// SetDomain sets the Domain field's value. -func (s *GetDomainOutput) SetDomain(v *Domain) *GetDomainOutput { - s.Domain = v +// SetState sets the State field's value. +func (s *GetInstanceStateOutput) SetState(v *InstanceState) *GetInstanceStateOutput { + s.State = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainsRequest -type GetDomainsInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancesRequest +type GetInstancesInput struct { _ struct{} `type:"structure"` - // A token used for advancing to the next page of results from your get domains + // A token used for advancing to the next page of results from your get instances // request. PageToken *string `locationName:"pageToken" type:"string"` } // String returns the string representation -func (s GetDomainsInput) String() string { +func (s GetInstancesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetDomainsInput) GoString() string { +func (s GetInstancesInput) GoString() string { return s.String() } // SetPageToken sets the PageToken field's value. -func (s *GetDomainsInput) SetPageToken(v string) *GetDomainsInput { +func (s *GetInstancesInput) SetPageToken(v string) *GetInstancesInput { s.PageToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainsResult -type GetDomainsOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancesResult +type GetInstancesOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about each of the domain - // entries in the user's account. - Domains []*Domain `locationName:"domains" type:"list"` + // An array of key-value pairs containing information about your instances. + Instances []*Instance `locationName:"instances" type:"list"` - // A token used for advancing to the next page of results from your get active - // names request. + // A token used for advancing to the next page of results from your get instances + // request. NextPageToken *string `locationName:"nextPageToken" type:"string"` } // String returns the string representation -func (s GetDomainsOutput) String() string { +func (s GetInstancesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetDomainsOutput) GoString() string { +func (s GetInstancesOutput) GoString() string { return s.String() } -// SetDomains sets the Domains field's value. -func (s *GetDomainsOutput) SetDomains(v []*Domain) *GetDomainsOutput { - s.Domains = v +// SetInstances sets the Instances field's value. +func (s *GetInstancesOutput) SetInstances(v []*Instance) *GetInstancesOutput { + s.Instances = v return s } // SetNextPageToken sets the NextPageToken field's value. -func (s *GetDomainsOutput) SetNextPageToken(v string) *GetDomainsOutput { +func (s *GetInstancesOutput) SetNextPageToken(v string) *GetInstancesOutput { s.NextPageToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetailsRequest -type GetInstanceAccessDetailsInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairRequest +type GetKeyPairInput struct { _ struct{} `type:"structure"` - // The name of the instance to access. + // The name of the key pair for which you are requesting information. // - // InstanceName is a required field - InstanceName *string `locationName:"instanceName" type:"string" required:"true"` - - // The protocol to use to connect to your instance. Defaults to ssh. - Protocol *string `locationName:"protocol" type:"string" enum:"InstanceAccessProtocol"` + // KeyPairName is a required field + KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"` } // String returns the string representation -func (s GetInstanceAccessDetailsInput) String() string { +func (s GetKeyPairInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstanceAccessDetailsInput) GoString() string { +func (s GetKeyPairInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetInstanceAccessDetailsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetInstanceAccessDetailsInput"} - if s.InstanceName == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceName")) +func (s *GetKeyPairInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetKeyPairInput"} + if s.KeyPairName == nil { + invalidParams.Add(request.NewErrParamRequired("KeyPairName")) } if invalidParams.Len() > 0 { @@ -7226,68 +11882,120 @@ func (s *GetInstanceAccessDetailsInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *GetInstanceAccessDetailsInput) SetInstanceName(v string) *GetInstanceAccessDetailsInput { - s.InstanceName = &v +// SetKeyPairName sets the KeyPairName field's value. +func (s *GetKeyPairInput) SetKeyPairName(v string) *GetKeyPairInput { + s.KeyPairName = &v return s } -// SetProtocol sets the Protocol field's value. -func (s *GetInstanceAccessDetailsInput) SetProtocol(v string) *GetInstanceAccessDetailsInput { - s.Protocol = &v +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairResult +type GetKeyPairOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about the key pair. + KeyPair *KeyPair `locationName:"keyPair" type:"structure"` +} + +// String returns the string representation +func (s GetKeyPairOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetKeyPairOutput) GoString() string { + return s.String() +} + +// SetKeyPair sets the KeyPair field's value. +func (s *GetKeyPairOutput) SetKeyPair(v *KeyPair) *GetKeyPairOutput { + s.KeyPair = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetailsResult -type GetInstanceAccessDetailsOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairsRequest +type GetKeyPairsInput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about a get instance access - // request. - AccessDetails *InstanceAccessDetails `locationName:"accessDetails" type:"structure"` + // A token used for advancing to the next page of results from your get key + // pairs request. + PageToken *string `locationName:"pageToken" type:"string"` } // String returns the string representation -func (s GetInstanceAccessDetailsOutput) String() string { +func (s GetKeyPairsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstanceAccessDetailsOutput) GoString() string { +func (s GetKeyPairsInput) GoString() string { return s.String() } -// SetAccessDetails sets the AccessDetails field's value. -func (s *GetInstanceAccessDetailsOutput) SetAccessDetails(v *InstanceAccessDetails) *GetInstanceAccessDetailsOutput { - s.AccessDetails = v +// SetPageToken sets the PageToken field's value. +func (s *GetKeyPairsInput) SetPageToken(v string) *GetKeyPairsInput { + s.PageToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceRequest -type GetInstanceInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairsResult +type GetKeyPairsOutput struct { _ struct{} `type:"structure"` - // The name of the instance. + // An array of key-value pairs containing information about the key pairs. + KeyPairs []*KeyPair `locationName:"keyPairs" type:"list"` + + // A token used for advancing to the next page of results from your get key + // pairs request. + NextPageToken *string `locationName:"nextPageToken" type:"string"` +} + +// String returns the string representation +func (s GetKeyPairsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetKeyPairsOutput) GoString() string { + return s.String() +} + +// SetKeyPairs sets the KeyPairs field's value. +func (s *GetKeyPairsOutput) SetKeyPairs(v []*KeyPair) *GetKeyPairsOutput { + s.KeyPairs = v + return s +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *GetKeyPairsOutput) SetNextPageToken(v string) *GetKeyPairsOutput { + s.NextPageToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerRequest +type GetLoadBalancerInput struct { + _ struct{} `type:"structure"` + + // The name of the load balancer. // - // InstanceName is a required field - InstanceName *string `locationName:"instanceName" type:"string" required:"true"` + // LoadBalancerName is a required field + LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` } // String returns the string representation -func (s GetInstanceInput) String() string { +func (s GetLoadBalancerInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstanceInput) GoString() string { +func (s GetLoadBalancerInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetInstanceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetInstanceInput"} - if s.InstanceName == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceName")) +func (s *GetLoadBalancerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetLoadBalancerInput"} + if s.LoadBalancerName == nil { + invalidParams.Add(request.NewErrParamRequired("LoadBalancerName")) } if invalidParams.Len() > 0 { @@ -7296,70 +12004,151 @@ func (s *GetInstanceInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *GetInstanceInput) SetInstanceName(v string) *GetInstanceInput { - s.InstanceName = &v +// SetLoadBalancerName sets the LoadBalancerName field's value. +func (s *GetLoadBalancerInput) SetLoadBalancerName(v string) *GetLoadBalancerInput { + s.LoadBalancerName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricDataRequest -type GetInstanceMetricDataInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricDataRequest +type GetLoadBalancerMetricDataInput struct { _ struct{} `type:"structure"` - // The end time of the time period. + // The end time of the period. // // EndTime is a required field EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix" required:"true"` - // The name of the instance for which you want to get metrics data. + // The name of the load balancer. // - // InstanceName is a required field - InstanceName *string `locationName:"instanceName" type:"string" required:"true"` + // LoadBalancerName is a required field + LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` - // The metric name to get data about. + // The metric about which you want to return information. Valid values are listed + // below, along with the most useful statistics to include in your request. + // + // * ClientTLSNegotiationErrorCount - The number of TLS connections initiated + // by the client that did not establish a session with the load balancer. + // Possible causes include a mismatch of ciphers or protocols. + // + // Statistics: The most useful statistic is Sum. + // + // * HealthyHostCount - The number of target instances that are considered + // healthy. + // + // Statistics: The most useful statistic are Average, Minimum, and Maximum. + // + // * UnhealthyHostCount - The number of target instances that are considered + // unhealthy. + // + // Statistics: The most useful statistic are Average, Minimum, and Maximum. + // + // * HTTPCode_LB_4XX_Count - The number of HTTP 4XX client error codes that + // originate from the load balancer. Client errors are generated when requests + // are malformed or incomplete. These requests have not been received by + // the target instance. This count does not include any response codes generated + // by the target instances. + // + // Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, + // and Average all return 1. + // + // * HTTPCode_LB_5XX_Count - The number of HTTP 5XX server error codes that + // originate from the load balancer. This count does not include any response + // codes generated by the target instances. + // + // Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, + // and Average all return 1. Note that Minimum, Maximum, and Average all + // return 1. + // + // * HTTPCode_Instance_2XX_Count - The number of HTTP response codes generated + // by the target instances. This does not include any response codes generated + // by the load balancer. + // + // Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, + // and Average all return 1. + // + // * HTTPCode_Instance_3XX_Count - The number of HTTP response codes generated + // by the target instances. This does not include any response codes generated + // by the load balancer. + // + // Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, + // and Average all return 1. + // + // * HTTPCode_Instance_4XX_Count - The number of HTTP response codes generated + // by the target instances. This does not include any response codes generated + // by the load balancer. + // + // Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, + // and Average all return 1. + // + // * HTTPCode_Instance_5XX_Count - The number of HTTP response codes generated + // by the target instances. This does not include any response codes generated + // by the load balancer. + // + // Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, + // and Average all return 1. + // + // * InstanceResponseTime - The time elapsed, in seconds, after the request + // leaves the load balancer until a response from the target instance is + // received. + // + // Statistics: The most useful statistic is Average. + // + // * RejectedConnectionCount - The number of connections that were rejected + // because the load balancer had reached its maximum number of connections. + // + // Statistics: The most useful statistic is Sum. + // + // * RequestCount - The number of requests processed over IPv4. This count + // includes only the requests with a response generated by a target instance + // of the load balancer. + // + // Statistics: The most useful statistic is Sum. Note that Minimum, Maximum, + // and Average all return 1. // // MetricName is a required field - MetricName *string `locationName:"metricName" type:"string" required:"true" enum:"InstanceMetricName"` + MetricName *string `locationName:"metricName" type:"string" required:"true" enum:"LoadBalancerMetricName"` - // The time period for which you are requesting data. + // The time period duration for your health data request. // // Period is a required field Period *int64 `locationName:"period" min:"60" type:"integer" required:"true"` - // The start time of the time period. + // The start time of the period. // // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix" required:"true"` - // The instance statistics. + // An array of statistics that you want to request metrics for. Valid values + // are listed below. // // Statistics is a required field Statistics []*string `locationName:"statistics" type:"list" required:"true"` - // The unit. The list of valid values is below. + // The unit for the time period request. Valid values are listed below. // // Unit is a required field Unit *string `locationName:"unit" type:"string" required:"true" enum:"MetricUnit"` } // String returns the string representation -func (s GetInstanceMetricDataInput) String() string { +func (s GetLoadBalancerMetricDataInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstanceMetricDataInput) GoString() string { +func (s GetLoadBalancerMetricDataInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetInstanceMetricDataInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetInstanceMetricDataInput"} +func (s *GetLoadBalancerMetricDataInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetLoadBalancerMetricDataInput"} if s.EndTime == nil { invalidParams.Add(request.NewErrParamRequired("EndTime")) } - if s.InstanceName == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceName")) + if s.LoadBalancerName == nil { + invalidParams.Add(request.NewErrParamRequired("LoadBalancerName")) } if s.MetricName == nil { invalidParams.Add(request.NewErrParamRequired("MetricName")) @@ -7387,130 +12176,130 @@ func (s *GetInstanceMetricDataInput) Validate() error { } // SetEndTime sets the EndTime field's value. -func (s *GetInstanceMetricDataInput) SetEndTime(v time.Time) *GetInstanceMetricDataInput { +func (s *GetLoadBalancerMetricDataInput) SetEndTime(v time.Time) *GetLoadBalancerMetricDataInput { s.EndTime = &v return s } -// SetInstanceName sets the InstanceName field's value. -func (s *GetInstanceMetricDataInput) SetInstanceName(v string) *GetInstanceMetricDataInput { - s.InstanceName = &v +// SetLoadBalancerName sets the LoadBalancerName field's value. +func (s *GetLoadBalancerMetricDataInput) SetLoadBalancerName(v string) *GetLoadBalancerMetricDataInput { + s.LoadBalancerName = &v return s } // SetMetricName sets the MetricName field's value. -func (s *GetInstanceMetricDataInput) SetMetricName(v string) *GetInstanceMetricDataInput { +func (s *GetLoadBalancerMetricDataInput) SetMetricName(v string) *GetLoadBalancerMetricDataInput { s.MetricName = &v return s } // SetPeriod sets the Period field's value. -func (s *GetInstanceMetricDataInput) SetPeriod(v int64) *GetInstanceMetricDataInput { +func (s *GetLoadBalancerMetricDataInput) SetPeriod(v int64) *GetLoadBalancerMetricDataInput { s.Period = &v return s } // SetStartTime sets the StartTime field's value. -func (s *GetInstanceMetricDataInput) SetStartTime(v time.Time) *GetInstanceMetricDataInput { +func (s *GetLoadBalancerMetricDataInput) SetStartTime(v time.Time) *GetLoadBalancerMetricDataInput { s.StartTime = &v return s } // SetStatistics sets the Statistics field's value. -func (s *GetInstanceMetricDataInput) SetStatistics(v []*string) *GetInstanceMetricDataInput { +func (s *GetLoadBalancerMetricDataInput) SetStatistics(v []*string) *GetLoadBalancerMetricDataInput { s.Statistics = v return s } // SetUnit sets the Unit field's value. -func (s *GetInstanceMetricDataInput) SetUnit(v string) *GetInstanceMetricDataInput { +func (s *GetLoadBalancerMetricDataInput) SetUnit(v string) *GetLoadBalancerMetricDataInput { s.Unit = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricDataResult -type GetInstanceMetricDataOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricDataResult +type GetLoadBalancerMetricDataOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the results of your - // get instance metric data request. + // An array of metric datapoint objects. MetricData []*MetricDatapoint `locationName:"metricData" type:"list"` - // The metric name to return data for. - MetricName *string `locationName:"metricName" type:"string" enum:"InstanceMetricName"` + // The metric about which you are receiving information. Valid values are listed + // below. + MetricName *string `locationName:"metricName" type:"string" enum:"LoadBalancerMetricName"` } // String returns the string representation -func (s GetInstanceMetricDataOutput) String() string { +func (s GetLoadBalancerMetricDataOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstanceMetricDataOutput) GoString() string { +func (s GetLoadBalancerMetricDataOutput) GoString() string { return s.String() } // SetMetricData sets the MetricData field's value. -func (s *GetInstanceMetricDataOutput) SetMetricData(v []*MetricDatapoint) *GetInstanceMetricDataOutput { +func (s *GetLoadBalancerMetricDataOutput) SetMetricData(v []*MetricDatapoint) *GetLoadBalancerMetricDataOutput { s.MetricData = v return s } // SetMetricName sets the MetricName field's value. -func (s *GetInstanceMetricDataOutput) SetMetricName(v string) *GetInstanceMetricDataOutput { +func (s *GetLoadBalancerMetricDataOutput) SetMetricName(v string) *GetLoadBalancerMetricDataOutput { s.MetricName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceResult -type GetInstanceOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerResult +type GetLoadBalancerOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the specified instance. - Instance *Instance `locationName:"instance" type:"structure"` + // An object containing information about your load balancer. + LoadBalancer *LoadBalancer `locationName:"loadBalancer" type:"structure"` } // String returns the string representation -func (s GetInstanceOutput) String() string { +func (s GetLoadBalancerOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstanceOutput) GoString() string { +func (s GetLoadBalancerOutput) GoString() string { return s.String() } -// SetInstance sets the Instance field's value. -func (s *GetInstanceOutput) SetInstance(v *Instance) *GetInstanceOutput { - s.Instance = v +// SetLoadBalancer sets the LoadBalancer field's value. +func (s *GetLoadBalancerOutput) SetLoadBalancer(v *LoadBalancer) *GetLoadBalancerOutput { + s.LoadBalancer = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesRequest -type GetInstancePortStatesInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificatesRequest +type GetLoadBalancerTlsCertificatesInput struct { _ struct{} `type:"structure"` - // The name of the instance. + // The name of the load balancer where you stored your TLS/SSL certificate. // - // InstanceName is a required field - InstanceName *string `locationName:"instanceName" type:"string" required:"true"` + // LoadBalancerName is a required field + LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` } // String returns the string representation -func (s GetInstancePortStatesInput) String() string { +func (s GetLoadBalancerTlsCertificatesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstancePortStatesInput) GoString() string { +func (s GetLoadBalancerTlsCertificatesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetInstancePortStatesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetInstancePortStatesInput"} - if s.InstanceName == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceName")) +func (s *GetLoadBalancerTlsCertificatesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetLoadBalancerTlsCertificatesInput"} + if s.LoadBalancerName == nil { + invalidParams.Add(request.NewErrParamRequired("LoadBalancerName")) } if invalidParams.Len() > 0 { @@ -7519,185 +12308,390 @@ func (s *GetInstancePortStatesInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *GetInstancePortStatesInput) SetInstanceName(v string) *GetInstancePortStatesInput { - s.InstanceName = &v +// SetLoadBalancerName sets the LoadBalancerName field's value. +func (s *GetLoadBalancerTlsCertificatesInput) SetLoadBalancerName(v string) *GetLoadBalancerTlsCertificatesInput { + s.LoadBalancerName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesResult -type GetInstancePortStatesOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificatesResult +type GetLoadBalancerTlsCertificatesOutput struct { _ struct{} `type:"structure"` - // Information about the port states resulting from your request. - PortStates []*InstancePortState `locationName:"portStates" type:"list"` + // An array of LoadBalancerTlsCertificate objects describing your TLS/SSL certificates. + TlsCertificates []*LoadBalancerTlsCertificate `locationName:"tlsCertificates" type:"list"` } // String returns the string representation -func (s GetInstancePortStatesOutput) String() string { +func (s GetLoadBalancerTlsCertificatesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstancePortStatesOutput) GoString() string { +func (s GetLoadBalancerTlsCertificatesOutput) GoString() string { return s.String() } -// SetPortStates sets the PortStates field's value. -func (s *GetInstancePortStatesOutput) SetPortStates(v []*InstancePortState) *GetInstancePortStatesOutput { - s.PortStates = v +// SetTlsCertificates sets the TlsCertificates field's value. +func (s *GetLoadBalancerTlsCertificatesOutput) SetTlsCertificates(v []*LoadBalancerTlsCertificate) *GetLoadBalancerTlsCertificatesOutput { + s.TlsCertificates = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotRequest -type GetInstanceSnapshotInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancersRequest +type GetLoadBalancersInput struct { _ struct{} `type:"structure"` - // The name of the snapshot for which you are requesting information. + // A token used for paginating the results from your GetLoadBalancers request. + PageToken *string `locationName:"pageToken" type:"string"` +} + +// String returns the string representation +func (s GetLoadBalancersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetLoadBalancersInput) GoString() string { + return s.String() +} + +// SetPageToken sets the PageToken field's value. +func (s *GetLoadBalancersInput) SetPageToken(v string) *GetLoadBalancersInput { + s.PageToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancersResult +type GetLoadBalancersOutput struct { + _ struct{} `type:"structure"` + + // An array of LoadBalancer objects describing your load balancers. + LoadBalancers []*LoadBalancer `locationName:"loadBalancers" type:"list"` + + // A token used for advancing to the next page of results from your GetLoadBalancers + // request. + NextPageToken *string `locationName:"nextPageToken" type:"string"` +} + +// String returns the string representation +func (s GetLoadBalancersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetLoadBalancersOutput) GoString() string { + return s.String() +} + +// SetLoadBalancers sets the LoadBalancers field's value. +func (s *GetLoadBalancersOutput) SetLoadBalancers(v []*LoadBalancer) *GetLoadBalancersOutput { + s.LoadBalancers = v + return s +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *GetLoadBalancersOutput) SetNextPageToken(v string) *GetLoadBalancersOutput { + s.NextPageToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationRequest +type GetOperationInput struct { + _ struct{} `type:"structure"` + + // A GUID used to identify the operation. // - // InstanceSnapshotName is a required field - InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"` + // OperationId is a required field + OperationId *string `locationName:"operationId" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetOperationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetOperationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetOperationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetOperationInput"} + if s.OperationId == nil { + invalidParams.Add(request.NewErrParamRequired("OperationId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOperationId sets the OperationId field's value. +func (s *GetOperationInput) SetOperationId(v string) *GetOperationInput { + s.OperationId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationResult +type GetOperationOutput struct { + _ struct{} `type:"structure"` + + // An array of key-value pairs containing information about the results of your + // get operation request. + Operation *Operation `locationName:"operation" type:"structure"` +} + +// String returns the string representation +func (s GetOperationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetOperationOutput) GoString() string { + return s.String() +} + +// SetOperation sets the Operation field's value. +func (s *GetOperationOutput) SetOperation(v *Operation) *GetOperationOutput { + s.Operation = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResourceRequest +type GetOperationsForResourceInput struct { + _ struct{} `type:"structure"` + + // A token used for advancing to the next page of results from your get operations + // for resource request. + PageToken *string `locationName:"pageToken" type:"string"` + + // The name of the resource for which you are requesting information. + // + // ResourceName is a required field + ResourceName *string `locationName:"resourceName" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetOperationsForResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetOperationsForResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetOperationsForResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetOperationsForResourceInput"} + if s.ResourceName == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPageToken sets the PageToken field's value. +func (s *GetOperationsForResourceInput) SetPageToken(v string) *GetOperationsForResourceInput { + s.PageToken = &v + return s +} + +// SetResourceName sets the ResourceName field's value. +func (s *GetOperationsForResourceInput) SetResourceName(v string) *GetOperationsForResourceInput { + s.ResourceName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResourceResult +type GetOperationsForResourceOutput struct { + _ struct{} `type:"structure"` + + // (Deprecated) Returns the number of pages of results that remain. + // + // In releases prior to June 12, 2017, this parameter returned null by the API. + // It is now deprecated, and the API returns the nextPageToken parameter instead. + NextPageCount *string `locationName:"nextPageCount" deprecated:"true" type:"string"` + + // An identifier that was returned from the previous call to this operation, + // which can be used to return the next set of items in the list. + NextPageToken *string `locationName:"nextPageToken" type:"string"` + + // An array of key-value pairs containing information about the results of your + // get operations for resource request. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s GetOperationsForResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetOperationsForResourceOutput) GoString() string { + return s.String() +} + +// SetNextPageCount sets the NextPageCount field's value. +func (s *GetOperationsForResourceOutput) SetNextPageCount(v string) *GetOperationsForResourceOutput { + s.NextPageCount = &v + return s +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *GetOperationsForResourceOutput) SetNextPageToken(v string) *GetOperationsForResourceOutput { + s.NextPageToken = &v + return s +} + +// SetOperations sets the Operations field's value. +func (s *GetOperationsForResourceOutput) SetOperations(v []*Operation) *GetOperationsForResourceOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsRequest +type GetOperationsInput struct { + _ struct{} `type:"structure"` + + // A token used for advancing to the next page of results from your get operations + // request. + PageToken *string `locationName:"pageToken" type:"string"` } // String returns the string representation -func (s GetInstanceSnapshotInput) String() string { +func (s GetOperationsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstanceSnapshotInput) GoString() string { +func (s GetOperationsInput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GetInstanceSnapshotInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetInstanceSnapshotInput"} - if s.InstanceSnapshotName == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceSnapshotName")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetInstanceSnapshotName sets the InstanceSnapshotName field's value. -func (s *GetInstanceSnapshotInput) SetInstanceSnapshotName(v string) *GetInstanceSnapshotInput { - s.InstanceSnapshotName = &v +// SetPageToken sets the PageToken field's value. +func (s *GetOperationsInput) SetPageToken(v string) *GetOperationsInput { + s.PageToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotResult -type GetInstanceSnapshotOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsResult +type GetOperationsOutput struct { _ struct{} `type:"structure"` + // A token used for advancing to the next page of results from your get operations + // request. + NextPageToken *string `locationName:"nextPageToken" type:"string"` + // An array of key-value pairs containing information about the results of your - // get instance snapshot request. - InstanceSnapshot *InstanceSnapshot `locationName:"instanceSnapshot" type:"structure"` + // get operations request. + Operations []*Operation `locationName:"operations" type:"list"` } // String returns the string representation -func (s GetInstanceSnapshotOutput) String() string { +func (s GetOperationsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstanceSnapshotOutput) GoString() string { +func (s GetOperationsOutput) GoString() string { return s.String() } -// SetInstanceSnapshot sets the InstanceSnapshot field's value. -func (s *GetInstanceSnapshotOutput) SetInstanceSnapshot(v *InstanceSnapshot) *GetInstanceSnapshotOutput { - s.InstanceSnapshot = v +// SetNextPageToken sets the NextPageToken field's value. +func (s *GetOperationsOutput) SetNextPageToken(v string) *GetOperationsOutput { + s.NextPageToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotsRequest -type GetInstanceSnapshotsInput struct { +// SetOperations sets the Operations field's value. +func (s *GetOperationsOutput) SetOperations(v []*Operation) *GetOperationsOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegionsRequest +type GetRegionsInput struct { _ struct{} `type:"structure"` - // A token used for advancing to the next page of results from your get instance - // snapshots request. - PageToken *string `locationName:"pageToken" type:"string"` + // A Boolean value indicating whether to also include Availability Zones in + // your get regions request. Availability Zones are indicated with a letter: + // e.g., us-east-2a. + IncludeAvailabilityZones *bool `locationName:"includeAvailabilityZones" type:"boolean"` } // String returns the string representation -func (s GetInstanceSnapshotsInput) String() string { +func (s GetRegionsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstanceSnapshotsInput) GoString() string { +func (s GetRegionsInput) GoString() string { return s.String() } -// SetPageToken sets the PageToken field's value. -func (s *GetInstanceSnapshotsInput) SetPageToken(v string) *GetInstanceSnapshotsInput { - s.PageToken = &v +// SetIncludeAvailabilityZones sets the IncludeAvailabilityZones field's value. +func (s *GetRegionsInput) SetIncludeAvailabilityZones(v bool) *GetRegionsInput { + s.IncludeAvailabilityZones = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotsResult -type GetInstanceSnapshotsOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegionsResult +type GetRegionsOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the results of your - // get instance snapshots request. - InstanceSnapshots []*InstanceSnapshot `locationName:"instanceSnapshots" type:"list"` - - // A token used for advancing to the next page of results from your get instance - // snapshots request. - NextPageToken *string `locationName:"nextPageToken" type:"string"` + // An array of key-value pairs containing information about your get regions + // request. + Regions []*Region `locationName:"regions" type:"list"` } // String returns the string representation -func (s GetInstanceSnapshotsOutput) String() string { +func (s GetRegionsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstanceSnapshotsOutput) GoString() string { +func (s GetRegionsOutput) GoString() string { return s.String() } -// SetInstanceSnapshots sets the InstanceSnapshots field's value. -func (s *GetInstanceSnapshotsOutput) SetInstanceSnapshots(v []*InstanceSnapshot) *GetInstanceSnapshotsOutput { - s.InstanceSnapshots = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetInstanceSnapshotsOutput) SetNextPageToken(v string) *GetInstanceSnapshotsOutput { - s.NextPageToken = &v +// SetRegions sets the Regions field's value. +func (s *GetRegionsOutput) SetRegions(v []*Region) *GetRegionsOutput { + s.Regions = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceStateRequest -type GetInstanceStateInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpRequest +type GetStaticIpInput struct { _ struct{} `type:"structure"` - // The name of the instance to get state information about. + // The name of the static IP in Lightsail. // - // InstanceName is a required field - InstanceName *string `locationName:"instanceName" type:"string" required:"true"` + // StaticIpName is a required field + StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"` } // String returns the string representation -func (s GetInstanceStateInput) String() string { +func (s GetStaticIpInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstanceStateInput) GoString() string { +func (s GetStaticIpInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetInstanceStateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetInstanceStateInput"} - if s.InstanceName == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceName")) +func (s *GetStaticIpInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetStaticIpInput"} + if s.StaticIpName == nil { + invalidParams.Add(request.NewErrParamRequired("StaticIpName")) } if invalidParams.Len() > 0 { @@ -7706,121 +12700,131 @@ func (s *GetInstanceStateInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *GetInstanceStateInput) SetInstanceName(v string) *GetInstanceStateInput { - s.InstanceName = &v +// SetStaticIpName sets the StaticIpName field's value. +func (s *GetStaticIpInput) SetStaticIpName(v string) *GetStaticIpInput { + s.StaticIpName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceStateResult -type GetInstanceStateOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpResult +type GetStaticIpOutput struct { _ struct{} `type:"structure"` - // The state of the instance. - State *InstanceState `locationName:"state" type:"structure"` + // An array of key-value pairs containing information about the requested static + // IP. + StaticIp *StaticIp `locationName:"staticIp" type:"structure"` } // String returns the string representation -func (s GetInstanceStateOutput) String() string { +func (s GetStaticIpOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstanceStateOutput) GoString() string { +func (s GetStaticIpOutput) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *GetInstanceStateOutput) SetState(v *InstanceState) *GetInstanceStateOutput { - s.State = v +// SetStaticIp sets the StaticIp field's value. +func (s *GetStaticIpOutput) SetStaticIp(v *StaticIp) *GetStaticIpOutput { + s.StaticIp = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancesRequest -type GetInstancesInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpsRequest +type GetStaticIpsInput struct { _ struct{} `type:"structure"` - // A token used for advancing to the next page of results from your get instances - // request. + // A token used for advancing to the next page of results from your get static + // IPs request. PageToken *string `locationName:"pageToken" type:"string"` } // String returns the string representation -func (s GetInstancesInput) String() string { +func (s GetStaticIpsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstancesInput) GoString() string { +func (s GetStaticIpsInput) GoString() string { return s.String() } // SetPageToken sets the PageToken field's value. -func (s *GetInstancesInput) SetPageToken(v string) *GetInstancesInput { +func (s *GetStaticIpsInput) SetPageToken(v string) *GetStaticIpsInput { s.PageToken = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancesResult -type GetInstancesOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpsResult +type GetStaticIpsOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about your instances. - Instances []*Instance `locationName:"instances" type:"list"` - - // A token used for advancing to the next page of results from your get instances - // request. + // A token used for advancing to the next page of results from your get static + // IPs request. NextPageToken *string `locationName:"nextPageToken" type:"string"` + + // An array of key-value pairs containing information about your get static + // IPs request. + StaticIps []*StaticIp `locationName:"staticIps" type:"list"` } // String returns the string representation -func (s GetInstancesOutput) String() string { +func (s GetStaticIpsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetInstancesOutput) GoString() string { +func (s GetStaticIpsOutput) GoString() string { return s.String() } -// SetInstances sets the Instances field's value. -func (s *GetInstancesOutput) SetInstances(v []*Instance) *GetInstancesOutput { - s.Instances = v +// SetNextPageToken sets the NextPageToken field's value. +func (s *GetStaticIpsOutput) SetNextPageToken(v string) *GetStaticIpsOutput { + s.NextPageToken = &v return s } -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetInstancesOutput) SetNextPageToken(v string) *GetInstancesOutput { - s.NextPageToken = &v +// SetStaticIps sets the StaticIps field's value. +func (s *GetStaticIpsOutput) SetStaticIps(v []*StaticIp) *GetStaticIpsOutput { + s.StaticIps = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairRequest -type GetKeyPairInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPairRequest +type ImportKeyPairInput struct { _ struct{} `type:"structure"` - // The name of the key pair for which you are requesting information. + // The name of the key pair for which you want to import the public key. // // KeyPairName is a required field KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"` + + // A base64-encoded public key of the ssh-rsa type. + // + // PublicKeyBase64 is a required field + PublicKeyBase64 *string `locationName:"publicKeyBase64" type:"string" required:"true"` } // String returns the string representation -func (s GetKeyPairInput) String() string { +func (s ImportKeyPairInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetKeyPairInput) GoString() string { +func (s ImportKeyPairInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetKeyPairInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetKeyPairInput"} +func (s *ImportKeyPairInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ImportKeyPairInput"} if s.KeyPairName == nil { invalidParams.Add(request.NewErrParamRequired("KeyPairName")) } + if s.PublicKeyBase64 == nil { + invalidParams.Add(request.NewErrParamRequired("PublicKeyBase64")) + } if invalidParams.Len() > 0 { return invalidParams @@ -7829,1399 +12833,1498 @@ func (s *GetKeyPairInput) Validate() error { } // SetKeyPairName sets the KeyPairName field's value. -func (s *GetKeyPairInput) SetKeyPairName(v string) *GetKeyPairInput { +func (s *ImportKeyPairInput) SetKeyPairName(v string) *ImportKeyPairInput { s.KeyPairName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairResult -type GetKeyPairOutput struct { +// SetPublicKeyBase64 sets the PublicKeyBase64 field's value. +func (s *ImportKeyPairInput) SetPublicKeyBase64(v string) *ImportKeyPairInput { + s.PublicKeyBase64 = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPairResult +type ImportKeyPairOutput struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the key pair. - KeyPair *KeyPair `locationName:"keyPair" type:"structure"` + // An array of key-value pairs containing information about the request operation. + Operation *Operation `locationName:"operation" type:"structure"` } // String returns the string representation -func (s GetKeyPairOutput) String() string { +func (s ImportKeyPairOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetKeyPairOutput) GoString() string { +func (s ImportKeyPairOutput) GoString() string { return s.String() } -// SetKeyPair sets the KeyPair field's value. -func (s *GetKeyPairOutput) SetKeyPair(v *KeyPair) *GetKeyPairOutput { - s.KeyPair = v - return s -} +// SetOperation sets the Operation field's value. +func (s *ImportKeyPairOutput) SetOperation(v *Operation) *ImportKeyPairOutput { + s.Operation = v + return s +} + +// Describes an instance (a virtual private server). +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Instance +type Instance struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE). + Arn *string `locationName:"arn" type:"string"` + + // The blueprint ID (e.g., os_amlinux_2016_03). + BlueprintId *string `locationName:"blueprintId" type:"string"` + + // The friendly name of the blueprint (e.g., Amazon Linux). + BlueprintName *string `locationName:"blueprintName" type:"string"` + + // The bundle for the instance (e.g., micro_1_0). + BundleId *string `locationName:"bundleId" type:"string"` + + // The timestamp when the instance was created (e.g., 1479734909.17). + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` + + // The size of the vCPU and the amount of RAM for the instance. + Hardware *InstanceHardware `locationName:"hardware" type:"structure"` + + // The IPv6 address of the instance. + Ipv6Address *string `locationName:"ipv6Address" type:"string"` + + // A Boolean value indicating whether this instance has a static IP assigned + // to it. + IsStaticIp *bool `locationName:"isStaticIp" type:"boolean"` + + // The region name and availability zone where the instance is located. + Location *ResourceLocation `locationName:"location" type:"structure"` -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairsRequest -type GetKeyPairsInput struct { - _ struct{} `type:"structure"` + // The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1). + Name *string `locationName:"name" type:"string"` - // A token used for advancing to the next page of results from your get key - // pairs request. - PageToken *string `locationName:"pageToken" type:"string"` -} + // Information about the public ports and monthly data transfer rates for the + // instance. + Networking *InstanceNetworking `locationName:"networking" type:"structure"` -// String returns the string representation -func (s GetKeyPairsInput) String() string { - return awsutil.Prettify(s) -} + // The private IP address of the instance. + PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` -// GoString returns the string representation -func (s GetKeyPairsInput) GoString() string { - return s.String() -} + // The public IP address of the instance. + PublicIpAddress *string `locationName:"publicIpAddress" type:"string"` -// SetPageToken sets the PageToken field's value. -func (s *GetKeyPairsInput) SetPageToken(v string) *GetKeyPairsInput { - s.PageToken = &v - return s -} + // The type of resource (usually Instance). + ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairsResult -type GetKeyPairsOutput struct { - _ struct{} `type:"structure"` + // The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair). + SshKeyName *string `locationName:"sshKeyName" type:"string"` - // An array of key-value pairs containing information about the key pairs. - KeyPairs []*KeyPair `locationName:"keyPairs" type:"list"` + // The status code and the state (e.g., running) for the instance. + State *InstanceState `locationName:"state" type:"structure"` - // A token used for advancing to the next page of results from your get key - // pairs request. - NextPageToken *string `locationName:"nextPageToken" type:"string"` + // The support code. Include this code in your email to support when you have + // questions about an instance or another resource in Lightsail. This code enables + // our support team to look up your Lightsail information more easily. + SupportCode *string `locationName:"supportCode" type:"string"` + + // The user name for connecting to the instance (e.g., ec2-user). + Username *string `locationName:"username" type:"string"` } // String returns the string representation -func (s GetKeyPairsOutput) String() string { +func (s Instance) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetKeyPairsOutput) GoString() string { +func (s Instance) GoString() string { return s.String() } -// SetKeyPairs sets the KeyPairs field's value. -func (s *GetKeyPairsOutput) SetKeyPairs(v []*KeyPair) *GetKeyPairsOutput { - s.KeyPairs = v +// SetArn sets the Arn field's value. +func (s *Instance) SetArn(v string) *Instance { + s.Arn = &v return s } -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetKeyPairsOutput) SetNextPageToken(v string) *GetKeyPairsOutput { - s.NextPageToken = &v +// SetBlueprintId sets the BlueprintId field's value. +func (s *Instance) SetBlueprintId(v string) *Instance { + s.BlueprintId = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationRequest -type GetOperationInput struct { - _ struct{} `type:"structure"` - - // A GUID used to identify the operation. - // - // OperationId is a required field - OperationId *string `locationName:"operationId" type:"string" required:"true"` +// SetBlueprintName sets the BlueprintName field's value. +func (s *Instance) SetBlueprintName(v string) *Instance { + s.BlueprintName = &v + return s } -// String returns the string representation -func (s GetOperationInput) String() string { - return awsutil.Prettify(s) +// SetBundleId sets the BundleId field's value. +func (s *Instance) SetBundleId(v string) *Instance { + s.BundleId = &v + return s } -// GoString returns the string representation -func (s GetOperationInput) GoString() string { - return s.String() +// SetCreatedAt sets the CreatedAt field's value. +func (s *Instance) SetCreatedAt(v time.Time) *Instance { + s.CreatedAt = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GetOperationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetOperationInput"} - if s.OperationId == nil { - invalidParams.Add(request.NewErrParamRequired("OperationId")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetHardware sets the Hardware field's value. +func (s *Instance) SetHardware(v *InstanceHardware) *Instance { + s.Hardware = v + return s } -// SetOperationId sets the OperationId field's value. -func (s *GetOperationInput) SetOperationId(v string) *GetOperationInput { - s.OperationId = &v +// SetIpv6Address sets the Ipv6Address field's value. +func (s *Instance) SetIpv6Address(v string) *Instance { + s.Ipv6Address = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationResult -type GetOperationOutput struct { - _ struct{} `type:"structure"` - - // An array of key-value pairs containing information about the results of your - // get operation request. - Operation *Operation `locationName:"operation" type:"structure"` +// SetIsStaticIp sets the IsStaticIp field's value. +func (s *Instance) SetIsStaticIp(v bool) *Instance { + s.IsStaticIp = &v + return s } -// String returns the string representation -func (s GetOperationOutput) String() string { - return awsutil.Prettify(s) +// SetLocation sets the Location field's value. +func (s *Instance) SetLocation(v *ResourceLocation) *Instance { + s.Location = v + return s } -// GoString returns the string representation -func (s GetOperationOutput) GoString() string { - return s.String() +// SetName sets the Name field's value. +func (s *Instance) SetName(v string) *Instance { + s.Name = &v + return s } -// SetOperation sets the Operation field's value. -func (s *GetOperationOutput) SetOperation(v *Operation) *GetOperationOutput { - s.Operation = v +// SetNetworking sets the Networking field's value. +func (s *Instance) SetNetworking(v *InstanceNetworking) *Instance { + s.Networking = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResourceRequest -type GetOperationsForResourceInput struct { - _ struct{} `type:"structure"` - - // A token used for advancing to the next page of results from your get operations - // for resource request. - PageToken *string `locationName:"pageToken" type:"string"` - - // The name of the resource for which you are requesting information. - // - // ResourceName is a required field - ResourceName *string `locationName:"resourceName" type:"string" required:"true"` +// SetPrivateIpAddress sets the PrivateIpAddress field's value. +func (s *Instance) SetPrivateIpAddress(v string) *Instance { + s.PrivateIpAddress = &v + return s } -// String returns the string representation -func (s GetOperationsForResourceInput) String() string { - return awsutil.Prettify(s) +// SetPublicIpAddress sets the PublicIpAddress field's value. +func (s *Instance) SetPublicIpAddress(v string) *Instance { + s.PublicIpAddress = &v + return s } -// GoString returns the string representation -func (s GetOperationsForResourceInput) GoString() string { - return s.String() +// SetResourceType sets the ResourceType field's value. +func (s *Instance) SetResourceType(v string) *Instance { + s.ResourceType = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GetOperationsForResourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetOperationsForResourceInput"} - if s.ResourceName == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceName")) - } +// SetSshKeyName sets the SshKeyName field's value. +func (s *Instance) SetSshKeyName(v string) *Instance { + s.SshKeyName = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetState sets the State field's value. +func (s *Instance) SetState(v *InstanceState) *Instance { + s.State = v + return s } -// SetPageToken sets the PageToken field's value. -func (s *GetOperationsForResourceInput) SetPageToken(v string) *GetOperationsForResourceInput { - s.PageToken = &v +// SetSupportCode sets the SupportCode field's value. +func (s *Instance) SetSupportCode(v string) *Instance { + s.SupportCode = &v return s } -// SetResourceName sets the ResourceName field's value. -func (s *GetOperationsForResourceInput) SetResourceName(v string) *GetOperationsForResourceInput { - s.ResourceName = &v +// SetUsername sets the Username field's value. +func (s *Instance) SetUsername(v string) *Instance { + s.Username = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResourceResult -type GetOperationsForResourceOutput struct { +// The parameters for gaining temporary access to one of your Amazon Lightsail +// instances. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceAccessDetails +type InstanceAccessDetails struct { _ struct{} `type:"structure"` - // (Deprecated) Returns the number of pages of results that remain. + // For SSH access, the public key to use when accessing your instance For OpenSSH + // clients (e.g., command line SSH), you should save this value to tempkey-cert.pub. + CertKey *string `locationName:"certKey" type:"string"` + + // For SSH access, the date on which the temporary keys expire. + ExpiresAt *time.Time `locationName:"expiresAt" type:"timestamp" timestampFormat:"unix"` + + // The name of this Amazon Lightsail instance. + InstanceName *string `locationName:"instanceName" type:"string"` + + // The public IP address of the Amazon Lightsail instance. + IpAddress *string `locationName:"ipAddress" type:"string"` + + // For RDP access, the password for your Amazon Lightsail instance. Password + // will be an empty string if the password for your new instance is not ready + // yet. When you create an instance, it can take up to 15 minutes for the instance + // to be ready. // - // In releases prior to June 12, 2017, this parameter returned null by the API. - // It is now deprecated, and the API returns the nextPageToken parameter instead. - NextPageCount *string `locationName:"nextPageCount" deprecated:"true" type:"string"` + // If you create an instance using any key pair other than the default (LightsailDefaultKeyPair), + // password will always be an empty string. + // + // If you change the Administrator password on the instance, Lightsail will + // continue to return the original password value. When accessing the instance + // using RDP, you need to manually enter the Administrator password after changing + // it from the default. + Password *string `locationName:"password" type:"string"` - // An identifier that was returned from the previous call to this operation, - // which can be used to return the next set of items in the list. - NextPageToken *string `locationName:"nextPageToken" type:"string"` + // For a Windows Server-based instance, an object with the data you can use + // to retrieve your password. This is only needed if password is empty and the + // instance is not new (and therefore the password is not ready yet). When you + // create an instance, it can take up to 15 minutes for the instance to be ready. + PasswordData *PasswordData `locationName:"passwordData" type:"structure"` - // An array of key-value pairs containing information about the results of your - // get operations for resource request. - Operations []*Operation `locationName:"operations" type:"list"` + // For SSH access, the temporary private key. For OpenSSH clients (e.g., command + // line SSH), you should save this value to tempkey). + PrivateKey *string `locationName:"privateKey" type:"string"` + + // The protocol for these Amazon Lightsail instance access details. + Protocol *string `locationName:"protocol" type:"string" enum:"InstanceAccessProtocol"` + + // The user name to use when logging in to the Amazon Lightsail instance. + Username *string `locationName:"username" type:"string"` } // String returns the string representation -func (s GetOperationsForResourceOutput) String() string { +func (s InstanceAccessDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetOperationsForResourceOutput) GoString() string { +func (s InstanceAccessDetails) GoString() string { return s.String() } -// SetNextPageCount sets the NextPageCount field's value. -func (s *GetOperationsForResourceOutput) SetNextPageCount(v string) *GetOperationsForResourceOutput { - s.NextPageCount = &v +// SetCertKey sets the CertKey field's value. +func (s *InstanceAccessDetails) SetCertKey(v string) *InstanceAccessDetails { + s.CertKey = &v return s } -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetOperationsForResourceOutput) SetNextPageToken(v string) *GetOperationsForResourceOutput { - s.NextPageToken = &v +// SetExpiresAt sets the ExpiresAt field's value. +func (s *InstanceAccessDetails) SetExpiresAt(v time.Time) *InstanceAccessDetails { + s.ExpiresAt = &v return s } -// SetOperations sets the Operations field's value. -func (s *GetOperationsForResourceOutput) SetOperations(v []*Operation) *GetOperationsForResourceOutput { - s.Operations = v +// SetInstanceName sets the InstanceName field's value. +func (s *InstanceAccessDetails) SetInstanceName(v string) *InstanceAccessDetails { + s.InstanceName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsRequest -type GetOperationsInput struct { - _ struct{} `type:"structure"` +// SetIpAddress sets the IpAddress field's value. +func (s *InstanceAccessDetails) SetIpAddress(v string) *InstanceAccessDetails { + s.IpAddress = &v + return s +} - // A token used for advancing to the next page of results from your get operations - // request. - PageToken *string `locationName:"pageToken" type:"string"` +// SetPassword sets the Password field's value. +func (s *InstanceAccessDetails) SetPassword(v string) *InstanceAccessDetails { + s.Password = &v + return s } -// String returns the string representation -func (s GetOperationsInput) String() string { - return awsutil.Prettify(s) +// SetPasswordData sets the PasswordData field's value. +func (s *InstanceAccessDetails) SetPasswordData(v *PasswordData) *InstanceAccessDetails { + s.PasswordData = v + return s } -// GoString returns the string representation -func (s GetOperationsInput) GoString() string { - return s.String() +// SetPrivateKey sets the PrivateKey field's value. +func (s *InstanceAccessDetails) SetPrivateKey(v string) *InstanceAccessDetails { + s.PrivateKey = &v + return s } -// SetPageToken sets the PageToken field's value. -func (s *GetOperationsInput) SetPageToken(v string) *GetOperationsInput { - s.PageToken = &v +// SetProtocol sets the Protocol field's value. +func (s *InstanceAccessDetails) SetProtocol(v string) *InstanceAccessDetails { + s.Protocol = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsResult -type GetOperationsOutput struct { +// SetUsername sets the Username field's value. +func (s *InstanceAccessDetails) SetUsername(v string) *InstanceAccessDetails { + s.Username = &v + return s +} + +// Describes the hardware for the instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceHardware +type InstanceHardware struct { _ struct{} `type:"structure"` - // A token used for advancing to the next page of results from your get operations - // request. - NextPageToken *string `locationName:"nextPageToken" type:"string"` + // The number of vCPUs the instance has. + CpuCount *int64 `locationName:"cpuCount" type:"integer"` - // An array of key-value pairs containing information about the results of your - // get operations request. - Operations []*Operation `locationName:"operations" type:"list"` + // The disks attached to the instance. + Disks []*Disk `locationName:"disks" type:"list"` + + // The amount of RAM in GB on the instance (e.g., 1.0). + RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"` } // String returns the string representation -func (s GetOperationsOutput) String() string { +func (s InstanceHardware) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetOperationsOutput) GoString() string { +func (s InstanceHardware) GoString() string { return s.String() } -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetOperationsOutput) SetNextPageToken(v string) *GetOperationsOutput { - s.NextPageToken = &v +// SetCpuCount sets the CpuCount field's value. +func (s *InstanceHardware) SetCpuCount(v int64) *InstanceHardware { + s.CpuCount = &v return s } -// SetOperations sets the Operations field's value. -func (s *GetOperationsOutput) SetOperations(v []*Operation) *GetOperationsOutput { - s.Operations = v +// SetDisks sets the Disks field's value. +func (s *InstanceHardware) SetDisks(v []*Disk) *InstanceHardware { + s.Disks = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegionsRequest -type GetRegionsInput struct { +// SetRamSizeInGb sets the RamSizeInGb field's value. +func (s *InstanceHardware) SetRamSizeInGb(v float64) *InstanceHardware { + s.RamSizeInGb = &v + return s +} + +// Describes information about the health of the instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceHealthSummary +type InstanceHealthSummary struct { _ struct{} `type:"structure"` - // A Boolean value indicating whether to also include Availability Zones in - // your get regions request. Availability Zones are indicated with a letter: - // e.g., us-east-1a. - IncludeAvailabilityZones *bool `locationName:"includeAvailabilityZones" type:"boolean"` + // Describes the overall instance health. Valid values are below. + InstanceHealth *string `locationName:"instanceHealth" type:"string" enum:"InstanceHealthState"` + + // More information about the instance health. Valid values are below. + InstanceHealthReason *string `locationName:"instanceHealthReason" type:"string" enum:"InstanceHealthReason"` + + // The name of the Lightsail instance for which you are requesting health check + // data. + InstanceName *string `locationName:"instanceName" type:"string"` } // String returns the string representation -func (s GetRegionsInput) String() string { +func (s InstanceHealthSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetRegionsInput) GoString() string { +func (s InstanceHealthSummary) GoString() string { return s.String() } -// SetIncludeAvailabilityZones sets the IncludeAvailabilityZones field's value. -func (s *GetRegionsInput) SetIncludeAvailabilityZones(v bool) *GetRegionsInput { - s.IncludeAvailabilityZones = &v +// SetInstanceHealth sets the InstanceHealth field's value. +func (s *InstanceHealthSummary) SetInstanceHealth(v string) *InstanceHealthSummary { + s.InstanceHealth = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegionsResult -type GetRegionsOutput struct { - _ struct{} `type:"structure"` - - // An array of key-value pairs containing information about your get regions - // request. - Regions []*Region `locationName:"regions" type:"list"` -} - -// String returns the string representation -func (s GetRegionsOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s GetRegionsOutput) GoString() string { - return s.String() +// SetInstanceHealthReason sets the InstanceHealthReason field's value. +func (s *InstanceHealthSummary) SetInstanceHealthReason(v string) *InstanceHealthSummary { + s.InstanceHealthReason = &v + return s } -// SetRegions sets the Regions field's value. -func (s *GetRegionsOutput) SetRegions(v []*Region) *GetRegionsOutput { - s.Regions = v +// SetInstanceName sets the InstanceName field's value. +func (s *InstanceHealthSummary) SetInstanceName(v string) *InstanceHealthSummary { + s.InstanceName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpRequest -type GetStaticIpInput struct { +// Describes monthly data transfer rates and port information for an instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceNetworking +type InstanceNetworking struct { _ struct{} `type:"structure"` - // The name of the static IP in Lightsail. - // - // StaticIpName is a required field - StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"` + // The amount of data in GB allocated for monthly data transfers. + MonthlyTransfer *MonthlyTransfer `locationName:"monthlyTransfer" type:"structure"` + + // An array of key-value pairs containing information about the ports on the + // instance. + Ports []*InstancePortInfo `locationName:"ports" type:"list"` } // String returns the string representation -func (s GetStaticIpInput) String() string { +func (s InstanceNetworking) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetStaticIpInput) GoString() string { +func (s InstanceNetworking) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GetStaticIpInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetStaticIpInput"} - if s.StaticIpName == nil { - invalidParams.Add(request.NewErrParamRequired("StaticIpName")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetMonthlyTransfer sets the MonthlyTransfer field's value. +func (s *InstanceNetworking) SetMonthlyTransfer(v *MonthlyTransfer) *InstanceNetworking { + s.MonthlyTransfer = v + return s } -// SetStaticIpName sets the StaticIpName field's value. -func (s *GetStaticIpInput) SetStaticIpName(v string) *GetStaticIpInput { - s.StaticIpName = &v +// SetPorts sets the Ports field's value. +func (s *InstanceNetworking) SetPorts(v []*InstancePortInfo) *InstanceNetworking { + s.Ports = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpResult -type GetStaticIpOutput struct { +// Describes information about the instance ports. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortInfo +type InstancePortInfo struct { _ struct{} `type:"structure"` - // An array of key-value pairs containing information about the requested static - // IP. - StaticIp *StaticIp `locationName:"staticIp" type:"structure"` -} + // The access direction (inbound or outbound). + AccessDirection *string `locationName:"accessDirection" type:"string" enum:"AccessDirection"` -// String returns the string representation -func (s GetStaticIpOutput) String() string { - return awsutil.Prettify(s) -} + // The location from which access is allowed (e.g., Anywhere (0.0.0.0/0)). + AccessFrom *string `locationName:"accessFrom" type:"string"` -// GoString returns the string representation -func (s GetStaticIpOutput) GoString() string { - return s.String() -} + // The type of access (Public or Private). + AccessType *string `locationName:"accessType" type:"string" enum:"PortAccessType"` -// SetStaticIp sets the StaticIp field's value. -func (s *GetStaticIpOutput) SetStaticIp(v *StaticIp) *GetStaticIpOutput { - s.StaticIp = v - return s -} + // The common name. + CommonName *string `locationName:"commonName" type:"string"` -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpsRequest -type GetStaticIpsInput struct { - _ struct{} `type:"structure"` + // The first port in the range. + FromPort *int64 `locationName:"fromPort" type:"integer"` - // A token used for advancing to the next page of results from your get static - // IPs request. - PageToken *string `locationName:"pageToken" type:"string"` + // The protocol being used. Can be one of the following. + // + // * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, + // and error-checked delivery of streamed data between applications running + // on hosts communicating by an IP network. If you have an application that + // doesn't require reliable data stream service, use UDP instead. + // + // * all - All transport layer protocol types. For more general information, + // see Transport layer (https://en.wikipedia.org/wiki/Transport_layer) on + // Wikipedia. + // + // * udp - With User Datagram Protocol (UDP), computer applications can send + // messages (or datagrams) to other hosts on an Internet Protocol (IP) network. + // Prior communications are not required to set up transmission channels + // or data paths. Applications that don't require reliable data stream service + // can use UDP, which provides a connectionless datagram service that emphasizes + // reduced latency over reliability. If you do require reliable data stream + // service, use TCP instead. + Protocol *string `locationName:"protocol" type:"string" enum:"NetworkProtocol"` + + // The last port in the range. + ToPort *int64 `locationName:"toPort" type:"integer"` } // String returns the string representation -func (s GetStaticIpsInput) String() string { +func (s InstancePortInfo) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetStaticIpsInput) GoString() string { +func (s InstancePortInfo) GoString() string { return s.String() } -// SetPageToken sets the PageToken field's value. -func (s *GetStaticIpsInput) SetPageToken(v string) *GetStaticIpsInput { - s.PageToken = &v +// SetAccessDirection sets the AccessDirection field's value. +func (s *InstancePortInfo) SetAccessDirection(v string) *InstancePortInfo { + s.AccessDirection = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpsResult -type GetStaticIpsOutput struct { - _ struct{} `type:"structure"` - - // A token used for advancing to the next page of results from your get static - // IPs request. - NextPageToken *string `locationName:"nextPageToken" type:"string"` +// SetAccessFrom sets the AccessFrom field's value. +func (s *InstancePortInfo) SetAccessFrom(v string) *InstancePortInfo { + s.AccessFrom = &v + return s +} - // An array of key-value pairs containing information about your get static - // IPs request. - StaticIps []*StaticIp `locationName:"staticIps" type:"list"` +// SetAccessType sets the AccessType field's value. +func (s *InstancePortInfo) SetAccessType(v string) *InstancePortInfo { + s.AccessType = &v + return s } -// String returns the string representation -func (s GetStaticIpsOutput) String() string { - return awsutil.Prettify(s) +// SetCommonName sets the CommonName field's value. +func (s *InstancePortInfo) SetCommonName(v string) *InstancePortInfo { + s.CommonName = &v + return s } -// GoString returns the string representation -func (s GetStaticIpsOutput) GoString() string { - return s.String() +// SetFromPort sets the FromPort field's value. +func (s *InstancePortInfo) SetFromPort(v int64) *InstancePortInfo { + s.FromPort = &v + return s } -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetStaticIpsOutput) SetNextPageToken(v string) *GetStaticIpsOutput { - s.NextPageToken = &v +// SetProtocol sets the Protocol field's value. +func (s *InstancePortInfo) SetProtocol(v string) *InstancePortInfo { + s.Protocol = &v return s } -// SetStaticIps sets the StaticIps field's value. -func (s *GetStaticIpsOutput) SetStaticIps(v []*StaticIp) *GetStaticIpsOutput { - s.StaticIps = v +// SetToPort sets the ToPort field's value. +func (s *InstancePortInfo) SetToPort(v int64) *InstancePortInfo { + s.ToPort = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPairRequest -type ImportKeyPairInput struct { +// Describes the port state. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortState +type InstancePortState struct { _ struct{} `type:"structure"` - // The name of the key pair for which you want to import the public key. - // - // KeyPairName is a required field - KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"` + // The first port in the range. + FromPort *int64 `locationName:"fromPort" type:"integer"` - // A base64-encoded public key of the ssh-rsa type. + // The protocol being used. Can be one of the following. // - // PublicKeyBase64 is a required field - PublicKeyBase64 *string `locationName:"publicKeyBase64" type:"string" required:"true"` + // * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, + // and error-checked delivery of streamed data between applications running + // on hosts communicating by an IP network. If you have an application that + // doesn't require reliable data stream service, use UDP instead. + // + // * all - All transport layer protocol types. For more general information, + // see Transport layer (https://en.wikipedia.org/wiki/Transport_layer) on + // Wikipedia. + // + // * udp - With User Datagram Protocol (UDP), computer applications can send + // messages (or datagrams) to other hosts on an Internet Protocol (IP) network. + // Prior communications are not required to set up transmission channels + // or data paths. Applications that don't require reliable data stream service + // can use UDP, which provides a connectionless datagram service that emphasizes + // reduced latency over reliability. If you do require reliable data stream + // service, use TCP instead. + Protocol *string `locationName:"protocol" type:"string" enum:"NetworkProtocol"` + + // Specifies whether the instance port is open or closed. + State *string `locationName:"state" type:"string" enum:"PortState"` + + // The last port in the range. + ToPort *int64 `locationName:"toPort" type:"integer"` } // String returns the string representation -func (s ImportKeyPairInput) String() string { +func (s InstancePortState) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ImportKeyPairInput) GoString() string { +func (s InstancePortState) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ImportKeyPairInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ImportKeyPairInput"} - if s.KeyPairName == nil { - invalidParams.Add(request.NewErrParamRequired("KeyPairName")) - } - if s.PublicKeyBase64 == nil { - invalidParams.Add(request.NewErrParamRequired("PublicKeyBase64")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetKeyPairName sets the KeyPairName field's value. -func (s *ImportKeyPairInput) SetKeyPairName(v string) *ImportKeyPairInput { - s.KeyPairName = &v +// SetFromPort sets the FromPort field's value. +func (s *InstancePortState) SetFromPort(v int64) *InstancePortState { + s.FromPort = &v return s } -// SetPublicKeyBase64 sets the PublicKeyBase64 field's value. -func (s *ImportKeyPairInput) SetPublicKeyBase64(v string) *ImportKeyPairInput { - s.PublicKeyBase64 = &v +// SetProtocol sets the Protocol field's value. +func (s *InstancePortState) SetProtocol(v string) *InstancePortState { + s.Protocol = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPairResult -type ImportKeyPairOutput struct { - _ struct{} `type:"structure"` - - // An array of key-value pairs containing information about the request operation. - Operation *Operation `locationName:"operation" type:"structure"` -} - -// String returns the string representation -func (s ImportKeyPairOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ImportKeyPairOutput) GoString() string { - return s.String() +// SetState sets the State field's value. +func (s *InstancePortState) SetState(v string) *InstancePortState { + s.State = &v + return s } -// SetOperation sets the Operation field's value. -func (s *ImportKeyPairOutput) SetOperation(v *Operation) *ImportKeyPairOutput { - s.Operation = v +// SetToPort sets the ToPort field's value. +func (s *InstancePortState) SetToPort(v int64) *InstancePortState { + s.ToPort = &v return s } -// Describes an instance (a virtual private server). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Instance -type Instance struct { +// Describes the snapshot of the virtual private server, or instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceSnapshot +type InstanceSnapshot struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-1:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE). + // The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE). Arn *string `locationName:"arn" type:"string"` - // The blueprint ID (e.g., os_amlinux_2016_03). - BlueprintId *string `locationName:"blueprintId" type:"string"` - - // The friendly name of the blueprint (e.g., Amazon Linux). - BlueprintName *string `locationName:"blueprintName" type:"string"` + // The timestamp when the snapshot was created (e.g., 1479907467.024). + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` - // The bundle for the instance (e.g., micro_1_0). - BundleId *string `locationName:"bundleId" type:"string"` + // An array of disk objects containing information about all block storage disks. + FromAttachedDisks []*Disk `locationName:"fromAttachedDisks" type:"list"` - // The timestamp when the instance was created (e.g., 1479734909.17). - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` + // The blueprint ID from which you created the snapshot (e.g., os_debian_8_3). + // A blueprint is a virtual private server (or instance) image used to create + // instances quickly. + FromBlueprintId *string `locationName:"fromBlueprintId" type:"string"` - // The size of the vCPU and the amount of RAM for the instance. - Hardware *InstanceHardware `locationName:"hardware" type:"structure"` + // The bundle ID from which you created the snapshot (e.g., micro_1_0). + FromBundleId *string `locationName:"fromBundleId" type:"string"` - // The IPv6 address of the instance. - Ipv6Address *string `locationName:"ipv6Address" type:"string"` + // The Amazon Resource Name (ARN) of the instance from which the snapshot was + // created (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE). + FromInstanceArn *string `locationName:"fromInstanceArn" type:"string"` - // A Boolean value indicating whether this instance has a static IP assigned - // to it. - IsStaticIp *bool `locationName:"isStaticIp" type:"boolean"` + // The instance from which the snapshot was created. + FromInstanceName *string `locationName:"fromInstanceName" type:"string"` - // The region name and availability zone where the instance is located. + // The region name and availability zone where you created the snapshot. Location *ResourceLocation `locationName:"location" type:"structure"` - // The name the user gave the instance (e.g., Amazon_Linux-1GB-Virginia-1). + // The name of the snapshot. Name *string `locationName:"name" type:"string"` - // Information about the public ports and monthly data transfer rates for the - // instance. - Networking *InstanceNetworking `locationName:"networking" type:"structure"` - - // The private IP address of the instance. - PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` - - // The public IP address of the instance. - PublicIpAddress *string `locationName:"publicIpAddress" type:"string"` + // The progress of the snapshot. + Progress *string `locationName:"progress" type:"string"` - // The type of resource (usually Instance). + // The type of resource (usually InstanceSnapshot). ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` - // The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair). - SshKeyName *string `locationName:"sshKeyName" type:"string"` + // The size in GB of the SSD. + SizeInGb *int64 `locationName:"sizeInGb" type:"integer"` - // The status code and the state (e.g., running) for the instance. - State *InstanceState `locationName:"state" type:"structure"` + // The state the snapshot is in. + State *string `locationName:"state" type:"string" enum:"InstanceSnapshotState"` // The support code. Include this code in your email to support when you have // questions about an instance or another resource in Lightsail. This code enables // our support team to look up your Lightsail information more easily. SupportCode *string `locationName:"supportCode" type:"string"` - - // The user name for connecting to the instance (e.g., ec2-user). - Username *string `locationName:"username" type:"string"` } // String returns the string representation -func (s Instance) String() string { +func (s InstanceSnapshot) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s Instance) GoString() string { +func (s InstanceSnapshot) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *Instance) SetArn(v string) *Instance { +func (s *InstanceSnapshot) SetArn(v string) *InstanceSnapshot { s.Arn = &v return s } -// SetBlueprintId sets the BlueprintId field's value. -func (s *Instance) SetBlueprintId(v string) *Instance { - s.BlueprintId = &v - return s -} - -// SetBlueprintName sets the BlueprintName field's value. -func (s *Instance) SetBlueprintName(v string) *Instance { - s.BlueprintName = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *InstanceSnapshot) SetCreatedAt(v time.Time) *InstanceSnapshot { + s.CreatedAt = &v return s } -// SetBundleId sets the BundleId field's value. -func (s *Instance) SetBundleId(v string) *Instance { - s.BundleId = &v +// SetFromAttachedDisks sets the FromAttachedDisks field's value. +func (s *InstanceSnapshot) SetFromAttachedDisks(v []*Disk) *InstanceSnapshot { + s.FromAttachedDisks = v return s } -// SetCreatedAt sets the CreatedAt field's value. -func (s *Instance) SetCreatedAt(v time.Time) *Instance { - s.CreatedAt = &v +// SetFromBlueprintId sets the FromBlueprintId field's value. +func (s *InstanceSnapshot) SetFromBlueprintId(v string) *InstanceSnapshot { + s.FromBlueprintId = &v return s } -// SetHardware sets the Hardware field's value. -func (s *Instance) SetHardware(v *InstanceHardware) *Instance { - s.Hardware = v +// SetFromBundleId sets the FromBundleId field's value. +func (s *InstanceSnapshot) SetFromBundleId(v string) *InstanceSnapshot { + s.FromBundleId = &v return s } -// SetIpv6Address sets the Ipv6Address field's value. -func (s *Instance) SetIpv6Address(v string) *Instance { - s.Ipv6Address = &v +// SetFromInstanceArn sets the FromInstanceArn field's value. +func (s *InstanceSnapshot) SetFromInstanceArn(v string) *InstanceSnapshot { + s.FromInstanceArn = &v return s } -// SetIsStaticIp sets the IsStaticIp field's value. -func (s *Instance) SetIsStaticIp(v bool) *Instance { - s.IsStaticIp = &v +// SetFromInstanceName sets the FromInstanceName field's value. +func (s *InstanceSnapshot) SetFromInstanceName(v string) *InstanceSnapshot { + s.FromInstanceName = &v return s } // SetLocation sets the Location field's value. -func (s *Instance) SetLocation(v *ResourceLocation) *Instance { +func (s *InstanceSnapshot) SetLocation(v *ResourceLocation) *InstanceSnapshot { s.Location = v return s } // SetName sets the Name field's value. -func (s *Instance) SetName(v string) *Instance { +func (s *InstanceSnapshot) SetName(v string) *InstanceSnapshot { s.Name = &v return s } -// SetNetworking sets the Networking field's value. -func (s *Instance) SetNetworking(v *InstanceNetworking) *Instance { - s.Networking = v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *Instance) SetPrivateIpAddress(v string) *Instance { - s.PrivateIpAddress = &v - return s -} - -// SetPublicIpAddress sets the PublicIpAddress field's value. -func (s *Instance) SetPublicIpAddress(v string) *Instance { - s.PublicIpAddress = &v +// SetProgress sets the Progress field's value. +func (s *InstanceSnapshot) SetProgress(v string) *InstanceSnapshot { + s.Progress = &v return s } // SetResourceType sets the ResourceType field's value. -func (s *Instance) SetResourceType(v string) *Instance { +func (s *InstanceSnapshot) SetResourceType(v string) *InstanceSnapshot { s.ResourceType = &v return s -} - -// SetSshKeyName sets the SshKeyName field's value. -func (s *Instance) SetSshKeyName(v string) *Instance { - s.SshKeyName = &v +} + +// SetSizeInGb sets the SizeInGb field's value. +func (s *InstanceSnapshot) SetSizeInGb(v int64) *InstanceSnapshot { + s.SizeInGb = &v return s } // SetState sets the State field's value. -func (s *Instance) SetState(v *InstanceState) *Instance { - s.State = v +func (s *InstanceSnapshot) SetState(v string) *InstanceSnapshot { + s.State = &v return s } // SetSupportCode sets the SupportCode field's value. -func (s *Instance) SetSupportCode(v string) *Instance { +func (s *InstanceSnapshot) SetSupportCode(v string) *InstanceSnapshot { s.SupportCode = &v return s } -// SetUsername sets the Username field's value. -func (s *Instance) SetUsername(v string) *Instance { - s.Username = &v - return s -} - -// The parameters for gaining temporary access to one of your Amazon Lightsail -// instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceAccessDetails -type InstanceAccessDetails struct { +// Describes the virtual private server (or instance) status. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceState +type InstanceState struct { _ struct{} `type:"structure"` - // For SSH access, the public key to use when accessing your instance For OpenSSH - // clients (e.g., command line SSH), you should save this value to tempkey-cert.pub. - CertKey *string `locationName:"certKey" type:"string"` - - // For SSH access, the date on which the temporary keys expire. - ExpiresAt *time.Time `locationName:"expiresAt" type:"timestamp" timestampFormat:"unix"` - - // The name of this Amazon Lightsail instance. - InstanceName *string `locationName:"instanceName" type:"string"` - - // The public IP address of the Amazon Lightsail instance. - IpAddress *string `locationName:"ipAddress" type:"string"` - - // For RDP access, the password for your Amazon Lightsail instance. Password - // will be an empty string if the password for your new instance is not ready - // yet. When you create an instance, it can take up to 15 minutes for the instance - // to be ready. - // - // If you create an instance using any key pair other than the default (LightsailDefaultKeyPair), - // password will always be an empty string. - // - // If you change the Administrator password on the instance, Lightsail will - // continue to return the original password value. When accessing the instance - // using RDP, you need to manually enter the Administrator password after changing - // it from the default. - Password *string `locationName:"password" type:"string"` - - // For a Windows Server-based instance, an object with the data you can use - // to retrieve your password. This is only needed if password is empty and the - // instance is not new (and therefore the password is not ready yet). When you - // create an instance, it can take up to 15 minutes for the instance to be ready. - PasswordData *PasswordData `locationName:"passwordData" type:"structure"` - - // For SSH access, the temporary private key. For OpenSSH clients (e.g., command - // line SSH), you should save this value to tempkey). - PrivateKey *string `locationName:"privateKey" type:"string"` - - // The protocol for these Amazon Lightsail instance access details. - Protocol *string `locationName:"protocol" type:"string" enum:"InstanceAccessProtocol"` + // The status code for the instance. + Code *int64 `locationName:"code" type:"integer"` - // The user name to use when logging in to the Amazon Lightsail instance. - Username *string `locationName:"username" type:"string"` + // The state of the instance (e.g., running or pending). + Name *string `locationName:"name" type:"string"` } // String returns the string representation -func (s InstanceAccessDetails) String() string { +func (s InstanceState) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s InstanceAccessDetails) GoString() string { +func (s InstanceState) GoString() string { return s.String() } -// SetCertKey sets the CertKey field's value. -func (s *InstanceAccessDetails) SetCertKey(v string) *InstanceAccessDetails { - s.CertKey = &v +// SetCode sets the Code field's value. +func (s *InstanceState) SetCode(v int64) *InstanceState { + s.Code = &v return s } -// SetExpiresAt sets the ExpiresAt field's value. -func (s *InstanceAccessDetails) SetExpiresAt(v time.Time) *InstanceAccessDetails { - s.ExpiresAt = &v +// SetName sets the Name field's value. +func (s *InstanceState) SetName(v string) *InstanceState { + s.Name = &v return s } -// SetInstanceName sets the InstanceName field's value. -func (s *InstanceAccessDetails) SetInstanceName(v string) *InstanceAccessDetails { - s.InstanceName = &v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeeredRequest +type IsVpcPeeredInput struct { + _ struct{} `type:"structure"` } -// SetIpAddress sets the IpAddress field's value. -func (s *InstanceAccessDetails) SetIpAddress(v string) *InstanceAccessDetails { - s.IpAddress = &v - return s +// String returns the string representation +func (s IsVpcPeeredInput) String() string { + return awsutil.Prettify(s) } -// SetPassword sets the Password field's value. -func (s *InstanceAccessDetails) SetPassword(v string) *InstanceAccessDetails { - s.Password = &v - return s +// GoString returns the string representation +func (s IsVpcPeeredInput) GoString() string { + return s.String() } -// SetPasswordData sets the PasswordData field's value. -func (s *InstanceAccessDetails) SetPasswordData(v *PasswordData) *InstanceAccessDetails { - s.PasswordData = v - return s +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeeredResult +type IsVpcPeeredOutput struct { + _ struct{} `type:"structure"` + + // Returns true if the Lightsail VPC is peered; otherwise, false. + IsPeered *bool `locationName:"isPeered" type:"boolean"` } -// SetPrivateKey sets the PrivateKey field's value. -func (s *InstanceAccessDetails) SetPrivateKey(v string) *InstanceAccessDetails { - s.PrivateKey = &v - return s +// String returns the string representation +func (s IsVpcPeeredOutput) String() string { + return awsutil.Prettify(s) } -// SetProtocol sets the Protocol field's value. -func (s *InstanceAccessDetails) SetProtocol(v string) *InstanceAccessDetails { - s.Protocol = &v - return s +// GoString returns the string representation +func (s IsVpcPeeredOutput) GoString() string { + return s.String() } -// SetUsername sets the Username field's value. -func (s *InstanceAccessDetails) SetUsername(v string) *InstanceAccessDetails { - s.Username = &v +// SetIsPeered sets the IsPeered field's value. +func (s *IsVpcPeeredOutput) SetIsPeered(v bool) *IsVpcPeeredOutput { + s.IsPeered = &v return s } -// Describes the hardware for the instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceHardware -type InstanceHardware struct { +// Describes the SSH key pair. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/KeyPair +type KeyPair struct { _ struct{} `type:"structure"` - // The number of vCPUs the instance has. - CpuCount *int64 `locationName:"cpuCount" type:"integer"` + // The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE). + Arn *string `locationName:"arn" type:"string"` - // The disks attached to the instance. - Disks []*Disk `locationName:"disks" type:"list"` + // The timestamp when the key pair was created (e.g., 1479816991.349). + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` - // The amount of RAM in GB on the instance (e.g., 1.0). - RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"` + // The RSA fingerprint of the key pair. + Fingerprint *string `locationName:"fingerprint" type:"string"` + + // The region name and Availability Zone where the key pair was created. + Location *ResourceLocation `locationName:"location" type:"structure"` + + // The friendly name of the SSH key pair. + Name *string `locationName:"name" type:"string"` + + // The resource type (usually KeyPair). + ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` + + // The support code. Include this code in your email to support when you have + // questions about an instance or another resource in Lightsail. This code enables + // our support team to look up your Lightsail information more easily. + SupportCode *string `locationName:"supportCode" type:"string"` } // String returns the string representation -func (s InstanceHardware) String() string { +func (s KeyPair) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s InstanceHardware) GoString() string { +func (s KeyPair) GoString() string { return s.String() } -// SetCpuCount sets the CpuCount field's value. -func (s *InstanceHardware) SetCpuCount(v int64) *InstanceHardware { - s.CpuCount = &v +// SetArn sets the Arn field's value. +func (s *KeyPair) SetArn(v string) *KeyPair { + s.Arn = &v return s } -// SetDisks sets the Disks field's value. -func (s *InstanceHardware) SetDisks(v []*Disk) *InstanceHardware { - s.Disks = v +// SetCreatedAt sets the CreatedAt field's value. +func (s *KeyPair) SetCreatedAt(v time.Time) *KeyPair { + s.CreatedAt = &v return s } -// SetRamSizeInGb sets the RamSizeInGb field's value. -func (s *InstanceHardware) SetRamSizeInGb(v float64) *InstanceHardware { - s.RamSizeInGb = &v +// SetFingerprint sets the Fingerprint field's value. +func (s *KeyPair) SetFingerprint(v string) *KeyPair { + s.Fingerprint = &v return s } -// Describes monthly data transfer rates and port information for an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceNetworking -type InstanceNetworking struct { - _ struct{} `type:"structure"` - - // The amount of data in GB allocated for monthly data transfers. - MonthlyTransfer *MonthlyTransfer `locationName:"monthlyTransfer" type:"structure"` - - // An array of key-value pairs containing information about the ports on the - // instance. - Ports []*InstancePortInfo `locationName:"ports" type:"list"` -} - -// String returns the string representation -func (s InstanceNetworking) String() string { - return awsutil.Prettify(s) +// SetLocation sets the Location field's value. +func (s *KeyPair) SetLocation(v *ResourceLocation) *KeyPair { + s.Location = v + return s } -// GoString returns the string representation -func (s InstanceNetworking) GoString() string { - return s.String() +// SetName sets the Name field's value. +func (s *KeyPair) SetName(v string) *KeyPair { + s.Name = &v + return s } -// SetMonthlyTransfer sets the MonthlyTransfer field's value. -func (s *InstanceNetworking) SetMonthlyTransfer(v *MonthlyTransfer) *InstanceNetworking { - s.MonthlyTransfer = v +// SetResourceType sets the ResourceType field's value. +func (s *KeyPair) SetResourceType(v string) *KeyPair { + s.ResourceType = &v return s } -// SetPorts sets the Ports field's value. -func (s *InstanceNetworking) SetPorts(v []*InstancePortInfo) *InstanceNetworking { - s.Ports = v +// SetSupportCode sets the SupportCode field's value. +func (s *KeyPair) SetSupportCode(v string) *KeyPair { + s.SupportCode = &v return s } -// Describes information about the instance ports. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortInfo -type InstancePortInfo struct { +// Describes the Lightsail load balancer. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancer +type LoadBalancer struct { _ struct{} `type:"structure"` - // The access direction (inbound or outbound). - AccessDirection *string `locationName:"accessDirection" type:"string" enum:"AccessDirection"` + // The Amazon Resource Name (ARN) of the load balancer. + Arn *string `locationName:"arn" type:"string"` - // The location from which access is allowed (e.g., Anywhere (0.0.0.0/0)). - AccessFrom *string `locationName:"accessFrom" type:"string"` + // A string to string map of the configuration options for your load balancer. + // Valid values are listed below. + ConfigurationOptions map[string]*string `locationName:"configurationOptions" type:"map"` - // The type of access (Public or Private). - AccessType *string `locationName:"accessType" type:"string" enum:"PortAccessType"` + // The date when your load balancer was created. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` - // The common name. - CommonName *string `locationName:"commonName" type:"string"` + // The DNS name of your Lightsail load balancer. + DnsName *string `locationName:"dnsName" type:"string"` - // The first port in the range. - FromPort *int64 `locationName:"fromPort" type:"integer"` + // The path you specified to perform your health checks. If no path is specified, + // the load balancer tries to make a request to the default (root) page. + HealthCheckPath *string `locationName:"healthCheckPath" type:"string"` - // The protocol being used. Can be one of the following. - // - // * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, - // and error-checked delivery of streamed data between applications running - // on hosts communicating by an IP network. If you have an application that - // doesn't require reliable data stream service, use UDP instead. - // - // * all - All transport layer protocol types. For more general information, - // see Transport layer (https://en.wikipedia.org/wiki/Transport_layer) on - // Wikipedia. - // - // * udp - With User Datagram Protocol (UDP), computer applications can send - // messages (or datagrams) to other hosts on an Internet Protocol (IP) network. - // Prior communications are not required to set up transmission channels - // or data paths. Applications that don't require reliable data stream service - // can use UDP, which provides a connectionless datagram service that emphasizes - // reduced latency over reliability. If you do require reliable data stream - // service, use TCP instead. - Protocol *string `locationName:"protocol" type:"string" enum:"NetworkProtocol"` + // An array of InstanceHealthSummary objects describing the health of the load + // balancer. + InstanceHealthSummary []*InstanceHealthSummary `locationName:"instanceHealthSummary" type:"list"` + + // The instance port where the load balancer is listening. + InstancePort *int64 `locationName:"instancePort" type:"integer"` + + // The AWS Region and Availability Zone where your load balancer was created + // (e.g., us-east-2a). + Location *ResourceLocation `locationName:"location" type:"structure"` - // The last port in the range. - ToPort *int64 `locationName:"toPort" type:"integer"` + // The name of the load balancer (e.g., my-load-balancer). + Name *string `locationName:"name" type:"string"` + + // The protocol you have enabled for your load balancer. Valid values are below. + Protocol *string `locationName:"protocol" type:"string" enum:"LoadBalancerProtocol"` + + // An array of public port settings for your load balancer. + PublicPorts []*int64 `locationName:"publicPorts" type:"list"` + + // The resource type (e.g., LoadBalancer. + ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` + + // The status of your load balancer. Valid values are below. + State *string `locationName:"state" type:"string" enum:"LoadBalancerState"` + + // The support code. Include this code in your email to support when you have + // questions about your Lightsail load balancer. This code enables our support + // team to look up your Lightsail information more easily. + SupportCode *string `locationName:"supportCode" type:"string"` + + // An array of LoadBalancerTlsCertificateSummary objects that provide additional + // information about the TLS/SSL certificates. + TlsCertificateSummaries []*LoadBalancerTlsCertificateSummary `locationName:"tlsCertificateSummaries" type:"list"` } // String returns the string representation -func (s InstancePortInfo) String() string { +func (s LoadBalancer) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s InstancePortInfo) GoString() string { +func (s LoadBalancer) GoString() string { return s.String() } -// SetAccessDirection sets the AccessDirection field's value. -func (s *InstancePortInfo) SetAccessDirection(v string) *InstancePortInfo { - s.AccessDirection = &v +// SetArn sets the Arn field's value. +func (s *LoadBalancer) SetArn(v string) *LoadBalancer { + s.Arn = &v return s } -// SetAccessFrom sets the AccessFrom field's value. -func (s *InstancePortInfo) SetAccessFrom(v string) *InstancePortInfo { - s.AccessFrom = &v +// SetConfigurationOptions sets the ConfigurationOptions field's value. +func (s *LoadBalancer) SetConfigurationOptions(v map[string]*string) *LoadBalancer { + s.ConfigurationOptions = v return s } -// SetAccessType sets the AccessType field's value. -func (s *InstancePortInfo) SetAccessType(v string) *InstancePortInfo { - s.AccessType = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *LoadBalancer) SetCreatedAt(v time.Time) *LoadBalancer { + s.CreatedAt = &v return s } -// SetCommonName sets the CommonName field's value. -func (s *InstancePortInfo) SetCommonName(v string) *InstancePortInfo { - s.CommonName = &v +// SetDnsName sets the DnsName field's value. +func (s *LoadBalancer) SetDnsName(v string) *LoadBalancer { + s.DnsName = &v return s } -// SetFromPort sets the FromPort field's value. -func (s *InstancePortInfo) SetFromPort(v int64) *InstancePortInfo { - s.FromPort = &v +// SetHealthCheckPath sets the HealthCheckPath field's value. +func (s *LoadBalancer) SetHealthCheckPath(v string) *LoadBalancer { + s.HealthCheckPath = &v return s } -// SetProtocol sets the Protocol field's value. -func (s *InstancePortInfo) SetProtocol(v string) *InstancePortInfo { - s.Protocol = &v +// SetInstanceHealthSummary sets the InstanceHealthSummary field's value. +func (s *LoadBalancer) SetInstanceHealthSummary(v []*InstanceHealthSummary) *LoadBalancer { + s.InstanceHealthSummary = v return s } -// SetToPort sets the ToPort field's value. -func (s *InstancePortInfo) SetToPort(v int64) *InstancePortInfo { - s.ToPort = &v +// SetInstancePort sets the InstancePort field's value. +func (s *LoadBalancer) SetInstancePort(v int64) *LoadBalancer { + s.InstancePort = &v return s } -// Describes the port state. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortState -type InstancePortState struct { - _ struct{} `type:"structure"` - - // The first port in the range. - FromPort *int64 `locationName:"fromPort" type:"integer"` - - // The protocol being used. Can be one of the following. - // - // * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, - // and error-checked delivery of streamed data between applications running - // on hosts communicating by an IP network. If you have an application that - // doesn't require reliable data stream service, use UDP instead. - // - // * all - All transport layer protocol types. For more general information, - // see Transport layer (https://en.wikipedia.org/wiki/Transport_layer) on - // Wikipedia. - // - // * udp - With User Datagram Protocol (UDP), computer applications can send - // messages (or datagrams) to other hosts on an Internet Protocol (IP) network. - // Prior communications are not required to set up transmission channels - // or data paths. Applications that don't require reliable data stream service - // can use UDP, which provides a connectionless datagram service that emphasizes - // reduced latency over reliability. If you do require reliable data stream - // service, use TCP instead. - Protocol *string `locationName:"protocol" type:"string" enum:"NetworkProtocol"` - - // Specifies whether the instance port is open or closed. - State *string `locationName:"state" type:"string" enum:"PortState"` - - // The last port in the range. - ToPort *int64 `locationName:"toPort" type:"integer"` +// SetLocation sets the Location field's value. +func (s *LoadBalancer) SetLocation(v *ResourceLocation) *LoadBalancer { + s.Location = v + return s } -// String returns the string representation -func (s InstancePortState) String() string { - return awsutil.Prettify(s) +// SetName sets the Name field's value. +func (s *LoadBalancer) SetName(v string) *LoadBalancer { + s.Name = &v + return s } -// GoString returns the string representation -func (s InstancePortState) GoString() string { - return s.String() +// SetProtocol sets the Protocol field's value. +func (s *LoadBalancer) SetProtocol(v string) *LoadBalancer { + s.Protocol = &v + return s } -// SetFromPort sets the FromPort field's value. -func (s *InstancePortState) SetFromPort(v int64) *InstancePortState { - s.FromPort = &v +// SetPublicPorts sets the PublicPorts field's value. +func (s *LoadBalancer) SetPublicPorts(v []*int64) *LoadBalancer { + s.PublicPorts = v return s } -// SetProtocol sets the Protocol field's value. -func (s *InstancePortState) SetProtocol(v string) *InstancePortState { - s.Protocol = &v +// SetResourceType sets the ResourceType field's value. +func (s *LoadBalancer) SetResourceType(v string) *LoadBalancer { + s.ResourceType = &v return s } // SetState sets the State field's value. -func (s *InstancePortState) SetState(v string) *InstancePortState { +func (s *LoadBalancer) SetState(v string) *LoadBalancer { s.State = &v return s } -// SetToPort sets the ToPort field's value. -func (s *InstancePortState) SetToPort(v int64) *InstancePortState { - s.ToPort = &v +// SetSupportCode sets the SupportCode field's value. +func (s *LoadBalancer) SetSupportCode(v string) *LoadBalancer { + s.SupportCode = &v return s } -// Describes the snapshot of the virtual private server, or instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceSnapshot -type InstanceSnapshot struct { +// SetTlsCertificateSummaries sets the TlsCertificateSummaries field's value. +func (s *LoadBalancer) SetTlsCertificateSummaries(v []*LoadBalancerTlsCertificateSummary) *LoadBalancer { + s.TlsCertificateSummaries = v + return s +} + +// Describes a load balancer TLS/SSL certificate. +// +// TLS is just an updated, more secure version of Secure Socket Layer (SSL). +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificate +type LoadBalancerTlsCertificate struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-1:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE). + // The Amazon Resource Name (ARN) of the TLS/SSL certificate. Arn *string `locationName:"arn" type:"string"` - // The timestamp when the snapshot was created (e.g., 1479907467.024). + // The time when you created your TLS/SSL certificate. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` - // The blueprint ID from which you created the snapshot (e.g., os_debian_8_3). - // A blueprint is a virtual private server (or instance) image used to create - // instances quickly. - FromBlueprintId *string `locationName:"fromBlueprintId" type:"string"` + // The domain name for your TLS/SSL certificate. + DomainName *string `locationName:"domainName" type:"string"` - // The bundle ID from which you created the snapshot (e.g., micro_1_0). - FromBundleId *string `locationName:"fromBundleId" type:"string"` + // An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing + // the records. + DomainValidationRecords []*LoadBalancerTlsCertificateDomainValidationRecord `locationName:"domainValidationRecords" type:"list"` - // The Amazon Resource Name (ARN) of the instance from which the snapshot was - // created (e.g., arn:aws:lightsail:us-east-1:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE). - FromInstanceArn *string `locationName:"fromInstanceArn" type:"string"` + // The reason for the TLS/SSL certificate validation failure. + FailureReason *string `locationName:"failureReason" type:"string" enum:"LoadBalancerTlsCertificateFailureReason"` - // The instance from which the snapshot was created. - FromInstanceName *string `locationName:"fromInstanceName" type:"string"` + // When true, the TLS/SSL certificate is attached to the Lightsail load balancer. + IsAttached *bool `locationName:"isAttached" type:"boolean"` - // The region name and availability zone where you created the snapshot. + // The time when the TLS/SSL certificate was issued. + IssuedAt *time.Time `locationName:"issuedAt" type:"timestamp" timestampFormat:"unix"` + + // The issuer of the certificate. + Issuer *string `locationName:"issuer" type:"string"` + + // The algorithm that was used to generate the key pair (the public and private + // key). + KeyAlgorithm *string `locationName:"keyAlgorithm" type:"string"` + + // The load balancer name where your TLS/SSL certificate is attached. + LoadBalancerName *string `locationName:"loadBalancerName" type:"string"` + + // The AWS Region and Availability Zone where you created your certificate. Location *ResourceLocation `locationName:"location" type:"structure"` - // The name of the snapshot. + // The name of the TLS/SSL certificate (e.g., my-certificate). Name *string `locationName:"name" type:"string"` - // The progress of the snapshot. - Progress *string `locationName:"progress" type:"string"` + // The timestamp when the TLS/SSL certificate expires. + NotAfter *time.Time `locationName:"notAfter" type:"timestamp" timestampFormat:"unix"` - // The type of resource (usually InstanceSnapshot). + // The timestamp when the TLS/SSL certificate is first valid. + NotBefore *time.Time `locationName:"notBefore" type:"timestamp" timestampFormat:"unix"` + + // An object containing information about the status of Lightsail's managed + // renewal for the certificate. + RenewalSummary *LoadBalancerTlsCertificateRenewalSummary `locationName:"renewalSummary" type:"structure"` + + // The resource type (e.g., LoadBalancerTlsCertificate. ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` - // The size in GB of the SSD. - SizeInGb *int64 `locationName:"sizeInGb" type:"integer"` + // The reason the certificate was revoked. Valid values are below. + RevocationReason *string `locationName:"revocationReason" type:"string" enum:"LoadBalancerTlsCertificateRevocationReason"` - // The state the snapshot is in. - State *string `locationName:"state" type:"string" enum:"InstanceSnapshotState"` + // The timestamp when the TLS/SSL certificate was revoked. + RevokedAt *time.Time `locationName:"revokedAt" type:"timestamp" timestampFormat:"unix"` + + // The serial number of the certificate. + Serial *string `locationName:"serial" type:"string"` + + // The algorithm that was used to sign the certificate. + SignatureAlgorithm *string `locationName:"signatureAlgorithm" type:"string"` + + // The status of the TLS/SSL certificate. Valid values are below. + Status *string `locationName:"status" type:"string" enum:"LoadBalancerTlsCertificateStatus"` + + // The name of the entity that is associated with the public key contained in + // the certificate. + Subject *string `locationName:"subject" type:"string"` + + // One or more domain names (subject alternative names) included in the certificate. + // This list contains the domain names that are bound to the public key that + // is contained in the certificate. The subject alternative names include the + // canonical domain name (CN) of the certificate and additional domain names + // that can be used to connect to the website. + SubjectAlternativeNames []*string `locationName:"subjectAlternativeNames" type:"list"` // The support code. Include this code in your email to support when you have - // questions about an instance or another resource in Lightsail. This code enables - // our support team to look up your Lightsail information more easily. + // questions about your Lightsail load balancer or TLS/SSL certificate. This + // code enables our support team to look up your Lightsail information more + // easily. SupportCode *string `locationName:"supportCode" type:"string"` } // String returns the string representation -func (s InstanceSnapshot) String() string { +func (s LoadBalancerTlsCertificate) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s InstanceSnapshot) GoString() string { +func (s LoadBalancerTlsCertificate) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *InstanceSnapshot) SetArn(v string) *InstanceSnapshot { +func (s *LoadBalancerTlsCertificate) SetArn(v string) *LoadBalancerTlsCertificate { s.Arn = &v return s } // SetCreatedAt sets the CreatedAt field's value. -func (s *InstanceSnapshot) SetCreatedAt(v time.Time) *InstanceSnapshot { +func (s *LoadBalancerTlsCertificate) SetCreatedAt(v time.Time) *LoadBalancerTlsCertificate { s.CreatedAt = &v return s } -// SetFromBlueprintId sets the FromBlueprintId field's value. -func (s *InstanceSnapshot) SetFromBlueprintId(v string) *InstanceSnapshot { - s.FromBlueprintId = &v +// SetDomainName sets the DomainName field's value. +func (s *LoadBalancerTlsCertificate) SetDomainName(v string) *LoadBalancerTlsCertificate { + s.DomainName = &v return s } -// SetFromBundleId sets the FromBundleId field's value. -func (s *InstanceSnapshot) SetFromBundleId(v string) *InstanceSnapshot { - s.FromBundleId = &v +// SetDomainValidationRecords sets the DomainValidationRecords field's value. +func (s *LoadBalancerTlsCertificate) SetDomainValidationRecords(v []*LoadBalancerTlsCertificateDomainValidationRecord) *LoadBalancerTlsCertificate { + s.DomainValidationRecords = v return s } -// SetFromInstanceArn sets the FromInstanceArn field's value. -func (s *InstanceSnapshot) SetFromInstanceArn(v string) *InstanceSnapshot { - s.FromInstanceArn = &v +// SetFailureReason sets the FailureReason field's value. +func (s *LoadBalancerTlsCertificate) SetFailureReason(v string) *LoadBalancerTlsCertificate { + s.FailureReason = &v return s } -// SetFromInstanceName sets the FromInstanceName field's value. -func (s *InstanceSnapshot) SetFromInstanceName(v string) *InstanceSnapshot { - s.FromInstanceName = &v +// SetIsAttached sets the IsAttached field's value. +func (s *LoadBalancerTlsCertificate) SetIsAttached(v bool) *LoadBalancerTlsCertificate { + s.IsAttached = &v + return s +} + +// SetIssuedAt sets the IssuedAt field's value. +func (s *LoadBalancerTlsCertificate) SetIssuedAt(v time.Time) *LoadBalancerTlsCertificate { + s.IssuedAt = &v + return s +} + +// SetIssuer sets the Issuer field's value. +func (s *LoadBalancerTlsCertificate) SetIssuer(v string) *LoadBalancerTlsCertificate { + s.Issuer = &v + return s +} + +// SetKeyAlgorithm sets the KeyAlgorithm field's value. +func (s *LoadBalancerTlsCertificate) SetKeyAlgorithm(v string) *LoadBalancerTlsCertificate { + s.KeyAlgorithm = &v + return s +} + +// SetLoadBalancerName sets the LoadBalancerName field's value. +func (s *LoadBalancerTlsCertificate) SetLoadBalancerName(v string) *LoadBalancerTlsCertificate { + s.LoadBalancerName = &v return s } // SetLocation sets the Location field's value. -func (s *InstanceSnapshot) SetLocation(v *ResourceLocation) *InstanceSnapshot { +func (s *LoadBalancerTlsCertificate) SetLocation(v *ResourceLocation) *LoadBalancerTlsCertificate { s.Location = v return s } // SetName sets the Name field's value. -func (s *InstanceSnapshot) SetName(v string) *InstanceSnapshot { +func (s *LoadBalancerTlsCertificate) SetName(v string) *LoadBalancerTlsCertificate { s.Name = &v return s } -// SetProgress sets the Progress field's value. -func (s *InstanceSnapshot) SetProgress(v string) *InstanceSnapshot { - s.Progress = &v +// SetNotAfter sets the NotAfter field's value. +func (s *LoadBalancerTlsCertificate) SetNotAfter(v time.Time) *LoadBalancerTlsCertificate { + s.NotAfter = &v + return s +} + +// SetNotBefore sets the NotBefore field's value. +func (s *LoadBalancerTlsCertificate) SetNotBefore(v time.Time) *LoadBalancerTlsCertificate { + s.NotBefore = &v + return s +} + +// SetRenewalSummary sets the RenewalSummary field's value. +func (s *LoadBalancerTlsCertificate) SetRenewalSummary(v *LoadBalancerTlsCertificateRenewalSummary) *LoadBalancerTlsCertificate { + s.RenewalSummary = v return s } // SetResourceType sets the ResourceType field's value. -func (s *InstanceSnapshot) SetResourceType(v string) *InstanceSnapshot { +func (s *LoadBalancerTlsCertificate) SetResourceType(v string) *LoadBalancerTlsCertificate { s.ResourceType = &v return s } -// SetSizeInGb sets the SizeInGb field's value. -func (s *InstanceSnapshot) SetSizeInGb(v int64) *InstanceSnapshot { - s.SizeInGb = &v +// SetRevocationReason sets the RevocationReason field's value. +func (s *LoadBalancerTlsCertificate) SetRevocationReason(v string) *LoadBalancerTlsCertificate { + s.RevocationReason = &v return s } -// SetState sets the State field's value. -func (s *InstanceSnapshot) SetState(v string) *InstanceSnapshot { - s.State = &v +// SetRevokedAt sets the RevokedAt field's value. +func (s *LoadBalancerTlsCertificate) SetRevokedAt(v time.Time) *LoadBalancerTlsCertificate { + s.RevokedAt = &v + return s +} + +// SetSerial sets the Serial field's value. +func (s *LoadBalancerTlsCertificate) SetSerial(v string) *LoadBalancerTlsCertificate { + s.Serial = &v + return s +} + +// SetSignatureAlgorithm sets the SignatureAlgorithm field's value. +func (s *LoadBalancerTlsCertificate) SetSignatureAlgorithm(v string) *LoadBalancerTlsCertificate { + s.SignatureAlgorithm = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *LoadBalancerTlsCertificate) SetStatus(v string) *LoadBalancerTlsCertificate { + s.Status = &v + return s +} + +// SetSubject sets the Subject field's value. +func (s *LoadBalancerTlsCertificate) SetSubject(v string) *LoadBalancerTlsCertificate { + s.Subject = &v + return s +} + +// SetSubjectAlternativeNames sets the SubjectAlternativeNames field's value. +func (s *LoadBalancerTlsCertificate) SetSubjectAlternativeNames(v []*string) *LoadBalancerTlsCertificate { + s.SubjectAlternativeNames = v return s } // SetSupportCode sets the SupportCode field's value. -func (s *InstanceSnapshot) SetSupportCode(v string) *InstanceSnapshot { +func (s *LoadBalancerTlsCertificate) SetSupportCode(v string) *LoadBalancerTlsCertificate { s.SupportCode = &v return s } -// Describes the virtual private server (or instance) status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceState -type InstanceState struct { +// Contains information about the domain names on a TLS/SSL certificate that +// you will use to validate domain ownership. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateDomainValidationOption +type LoadBalancerTlsCertificateDomainValidationOption struct { _ struct{} `type:"structure"` - // The status code for the instance. - Code *int64 `locationName:"code" type:"integer"` + // A fully qualified domain name in the certificate request. + DomainName *string `locationName:"domainName" type:"string"` - // The state of the instance (e.g., running or pending). - Name *string `locationName:"name" type:"string"` + // The status of the domain validation. Valid values are listed below. + ValidationStatus *string `locationName:"validationStatus" type:"string" enum:"LoadBalancerTlsCertificateDomainStatus"` } // String returns the string representation -func (s InstanceState) String() string { +func (s LoadBalancerTlsCertificateDomainValidationOption) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s InstanceState) GoString() string { +func (s LoadBalancerTlsCertificateDomainValidationOption) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *InstanceState) SetCode(v int64) *InstanceState { - s.Code = &v +// SetDomainName sets the DomainName field's value. +func (s *LoadBalancerTlsCertificateDomainValidationOption) SetDomainName(v string) *LoadBalancerTlsCertificateDomainValidationOption { + s.DomainName = &v return s } -// SetName sets the Name field's value. -func (s *InstanceState) SetName(v string) *InstanceState { - s.Name = &v +// SetValidationStatus sets the ValidationStatus field's value. +func (s *LoadBalancerTlsCertificateDomainValidationOption) SetValidationStatus(v string) *LoadBalancerTlsCertificateDomainValidationOption { + s.ValidationStatus = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeeredRequest -type IsVpcPeeredInput struct { +// Describes the validation record of each domain name in the TLS/SSL certificate. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateDomainValidationRecord +type LoadBalancerTlsCertificateDomainValidationRecord struct { _ struct{} `type:"structure"` + + // The domain name against which your TLS/SSL certificate was validated. + DomainName *string `locationName:"domainName" type:"string"` + + // A fully qualified domain name in the certificate. For example, example.com. + Name *string `locationName:"name" type:"string"` + + // The type of validation record. For example, CNAME for domain validation. + Type *string `locationName:"type" type:"string"` + + // The validation status. Valid values are listed below. + ValidationStatus *string `locationName:"validationStatus" type:"string" enum:"LoadBalancerTlsCertificateDomainStatus"` + + // The value for that type. + Value *string `locationName:"value" type:"string"` } // String returns the string representation -func (s IsVpcPeeredInput) String() string { +func (s LoadBalancerTlsCertificateDomainValidationRecord) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s IsVpcPeeredInput) GoString() string { +func (s LoadBalancerTlsCertificateDomainValidationRecord) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeeredResult -type IsVpcPeeredOutput struct { +// SetDomainName sets the DomainName field's value. +func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetDomainName(v string) *LoadBalancerTlsCertificateDomainValidationRecord { + s.DomainName = &v + return s +} + +// SetName sets the Name field's value. +func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetName(v string) *LoadBalancerTlsCertificateDomainValidationRecord { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetType(v string) *LoadBalancerTlsCertificateDomainValidationRecord { + s.Type = &v + return s +} + +// SetValidationStatus sets the ValidationStatus field's value. +func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetValidationStatus(v string) *LoadBalancerTlsCertificateDomainValidationRecord { + s.ValidationStatus = &v + return s +} + +// SetValue sets the Value field's value. +func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetValue(v string) *LoadBalancerTlsCertificateDomainValidationRecord { + s.Value = &v + return s +} + +// Contains information about the status of Lightsail's managed renewal for +// the certificate. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateRenewalSummary +type LoadBalancerTlsCertificateRenewalSummary struct { _ struct{} `type:"structure"` - // Returns true if the Lightsail VPC is peered; otherwise, false. - IsPeered *bool `locationName:"isPeered" type:"boolean"` + // Contains information about the validation of each domain name in the certificate, + // as it pertains to Lightsail's managed renewal. This is different from the + // initial validation that occurs as a result of the RequestCertificate request. + DomainValidationOptions []*LoadBalancerTlsCertificateDomainValidationOption `locationName:"domainValidationOptions" type:"list"` + + // The status of Lightsail's managed renewal of the certificate. Valid values + // are listed below. + RenewalStatus *string `locationName:"renewalStatus" type:"string" enum:"LoadBalancerTlsCertificateRenewalStatus"` } // String returns the string representation -func (s IsVpcPeeredOutput) String() string { +func (s LoadBalancerTlsCertificateRenewalSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s IsVpcPeeredOutput) GoString() string { +func (s LoadBalancerTlsCertificateRenewalSummary) GoString() string { return s.String() } -// SetIsPeered sets the IsPeered field's value. -func (s *IsVpcPeeredOutput) SetIsPeered(v bool) *IsVpcPeeredOutput { - s.IsPeered = &v +// SetDomainValidationOptions sets the DomainValidationOptions field's value. +func (s *LoadBalancerTlsCertificateRenewalSummary) SetDomainValidationOptions(v []*LoadBalancerTlsCertificateDomainValidationOption) *LoadBalancerTlsCertificateRenewalSummary { + s.DomainValidationOptions = v return s } -// Describes the SSH key pair. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/KeyPair -type KeyPair struct { - _ struct{} `type:"structure"` - - // The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-1:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE). - Arn *string `locationName:"arn" type:"string"` - - // The timestamp when the key pair was created (e.g., 1479816991.349). - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` +// SetRenewalStatus sets the RenewalStatus field's value. +func (s *LoadBalancerTlsCertificateRenewalSummary) SetRenewalStatus(v string) *LoadBalancerTlsCertificateRenewalSummary { + s.RenewalStatus = &v + return s +} - // The RSA fingerprint of the key pair. - Fingerprint *string `locationName:"fingerprint" type:"string"` +// Provides a summary of TLS/SSL certificate metadata. +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateSummary +type LoadBalancerTlsCertificateSummary struct { + _ struct{} `type:"structure"` - // The region name and Availability Zone where the key pair was created. - Location *ResourceLocation `locationName:"location" type:"structure"` + // When true, the TLS/SSL certificate is attached to the Lightsail load balancer. + IsAttached *bool `locationName:"isAttached" type:"boolean"` - // The friendly name of the SSH key pair. + // The name of the TLS/SSL certificate. Name *string `locationName:"name" type:"string"` - - // The resource type (usually KeyPair). - ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` - - // The support code. Include this code in your email to support when you have - // questions about an instance or another resource in Lightsail. This code enables - // our support team to look up your Lightsail information more easily. - SupportCode *string `locationName:"supportCode" type:"string"` } // String returns the string representation -func (s KeyPair) String() string { +func (s LoadBalancerTlsCertificateSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s KeyPair) GoString() string { +func (s LoadBalancerTlsCertificateSummary) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *KeyPair) SetArn(v string) *KeyPair { - s.Arn = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *KeyPair) SetCreatedAt(v time.Time) *KeyPair { - s.CreatedAt = &v - return s -} - -// SetFingerprint sets the Fingerprint field's value. -func (s *KeyPair) SetFingerprint(v string) *KeyPair { - s.Fingerprint = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *KeyPair) SetLocation(v *ResourceLocation) *KeyPair { - s.Location = v +// SetIsAttached sets the IsAttached field's value. +func (s *LoadBalancerTlsCertificateSummary) SetIsAttached(v bool) *LoadBalancerTlsCertificateSummary { + s.IsAttached = &v return s } // SetName sets the Name field's value. -func (s *KeyPair) SetName(v string) *KeyPair { +func (s *LoadBalancerTlsCertificateSummary) SetName(v string) *LoadBalancerTlsCertificateSummary { s.Name = &v return s } -// SetResourceType sets the ResourceType field's value. -func (s *KeyPair) SetResourceType(v string) *KeyPair { - s.ResourceType = &v - return s -} - -// SetSupportCode sets the SupportCode field's value. -func (s *KeyPair) SetSupportCode(v string) *KeyPair { - s.SupportCode = &v - return s -} - // Describes the metric data point. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/MetricDatapoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/MetricDatapoint type MetricDatapoint struct { _ struct{} `type:"structure"` @@ -9301,7 +14404,7 @@ func (s *MetricDatapoint) SetUnit(v string) *MetricDatapoint { // Describes the monthly data transfer in and out of your virtual private server // (or instance). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/MonthlyTransfer +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/MonthlyTransfer type MonthlyTransfer struct { _ struct{} `type:"structure"` @@ -9325,7 +14428,7 @@ func (s *MonthlyTransfer) SetGbPerMonthAllocated(v int64) *MonthlyTransfer { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPortsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPortsRequest type OpenInstancePublicPortsInput struct { _ struct{} `type:"structure"` @@ -9378,7 +14481,7 @@ func (s *OpenInstancePublicPortsInput) SetPortInfo(v *PortInfo) *OpenInstancePub return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPortsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPortsResult type OpenInstancePublicPortsOutput struct { _ struct{} `type:"structure"` @@ -9403,7 +14506,7 @@ func (s *OpenInstancePublicPortsOutput) SetOperation(v *Operation) *OpenInstance } // Describes the API operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Operation +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Operation type Operation struct { _ struct{} `type:"structure"` @@ -9425,7 +14528,7 @@ type Operation struct { // The region and Availability Zone. Location *ResourceLocation `locationName:"location" type:"structure"` - // Details about the operation (e.g., Debian-1GB-Virginia-1). + // Details about the operation (e.g., Debian-1GB-Ohio-1). OperationDetails *string `locationName:"operationDetails" type:"string"` // The type of operation. @@ -9528,7 +14631,7 @@ func (s *Operation) SetStatusChangedAt(v time.Time) *Operation { // The password data for the Windows Server-based instance, including the ciphertext // and the key pair name. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PasswordData +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PasswordData type PasswordData struct { _ struct{} `type:"structure"` @@ -9579,7 +14682,7 @@ func (s *PasswordData) SetKeyPairName(v string) *PasswordData { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpcRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpcRequest type PeerVpcInput struct { _ struct{} `type:"structure"` } @@ -9594,7 +14697,7 @@ func (s PeerVpcInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpcResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpcResult type PeerVpcOutput struct { _ struct{} `type:"structure"` @@ -9620,7 +14723,7 @@ func (s *PeerVpcOutput) SetOperation(v *Operation) *PeerVpcOutput { // Describes information about the ports on your virtual private server (or // instance). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PortInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PortInfo type PortInfo struct { _ struct{} `type:"structure"` @@ -9662,7 +14765,7 @@ func (s *PortInfo) SetToPort(v int64) *PortInfo { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsRequest type PutInstancePublicPortsInput struct { _ struct{} `type:"structure"` @@ -9715,7 +14818,7 @@ func (s *PutInstancePublicPortsInput) SetPortInfos(v []*PortInfo) *PutInstancePu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsResult type PutInstancePublicPortsOutput struct { _ struct{} `type:"structure"` @@ -9739,7 +14842,7 @@ func (s *PutInstancePublicPortsOutput) SetOperation(v *Operation) *PutInstancePu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstanceRequest type RebootInstanceInput struct { _ struct{} `type:"structure"` @@ -9778,7 +14881,7 @@ func (s *RebootInstanceInput) SetInstanceName(v string) *RebootInstanceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstanceResult type RebootInstanceOutput struct { _ struct{} `type:"structure"` @@ -9803,11 +14906,11 @@ func (s *RebootInstanceOutput) SetOperations(v []*Operation) *RebootInstanceOutp } // Describes the AWS Region. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Region +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Region type Region struct { _ struct{} `type:"structure"` - // The Availability Zones. Follows the format us-east-1a (case-sensitive). + // The Availability Zones. Follows the format us-east-2a (case-sensitive). AvailabilityZones []*AvailabilityZone `locationName:"availabilityZones" type:"list"` // The continent code (e.g., NA, meaning North America). @@ -9817,10 +14920,10 @@ type Region struct { // users in the eastern United States and eastern Canada). Description *string `locationName:"description" type:"string"` - // The display name (e.g., Virginia). + // The display name (e.g., Ohio). DisplayName *string `locationName:"displayName" type:"string"` - // The region name (e.g., us-east-1). + // The region name (e.g., us-east-2). Name *string `locationName:"name" type:"string" enum:"RegionName"` } @@ -9864,7 +14967,7 @@ func (s *Region) SetName(v string) *Region { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIpRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIpRequest type ReleaseStaticIpInput struct { _ struct{} `type:"structure"` @@ -9903,7 +15006,7 @@ func (s *ReleaseStaticIpInput) SetStaticIpName(v string) *ReleaseStaticIpInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIpResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIpResult type ReleaseStaticIpOutput struct { _ struct{} `type:"structure"` @@ -9928,11 +15031,11 @@ func (s *ReleaseStaticIpOutput) SetOperations(v []*Operation) *ReleaseStaticIpOu } // Describes the resource location. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ResourceLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ResourceLocation type ResourceLocation struct { _ struct{} `type:"structure"` - // The Availability Zone. Follows the format us-east-1a (case-sensitive). + // The Availability Zone. Follows the format us-east-2a (case-sensitive). AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The AWS Region name. @@ -9961,7 +15064,7 @@ func (s *ResourceLocation) SetRegionName(v string) *ResourceLocation { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstanceRequest type StartInstanceInput struct { _ struct{} `type:"structure"` @@ -10000,7 +15103,7 @@ func (s *StartInstanceInput) SetInstanceName(v string) *StartInstanceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstanceResult type StartInstanceOutput struct { _ struct{} `type:"structure"` @@ -10025,14 +15128,14 @@ func (s *StartInstanceOutput) SetOperations(v []*Operation) *StartInstanceOutput } // Describes the static IP. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StaticIp +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StaticIp type StaticIp struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the static IP (e.g., arn:aws:lightsail:us-east-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE). + // The Amazon Resource Name (ARN) of the static IP (e.g., arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE). Arn *string `locationName:"arn" type:"string"` - // The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Virginia-1). + // The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Ohio-1). AttachedTo *string `locationName:"attachedTo" type:"string"` // The timestamp when the static IP was created (e.g., 1479735304.222). @@ -10047,7 +15150,7 @@ type StaticIp struct { // The region and Availability Zone where the static IP was created. Location *ResourceLocation `locationName:"location" type:"structure"` - // The name of the static IP (e.g., StaticIP-Virginia-EXAMPLE). + // The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE). Name *string `locationName:"name" type:"string"` // The resource type (usually StaticIp). @@ -10123,10 +15226,18 @@ func (s *StaticIp) SetSupportCode(v string) *StaticIp { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstanceRequest type StopInstanceInput struct { _ struct{} `type:"structure"` + // When set to True, forces a Lightsail instance that is stuck in a stopping + // state to stop. + // + // Only use the force parameter if your instance is stuck in the stopping state. + // In any other state, your instance should stop normally without adding this + // parameter to your API request. + Force *bool `locationName:"force" type:"boolean"` + // The name of the instance (a virtual private server) to stop. // // InstanceName is a required field @@ -10156,13 +15267,19 @@ func (s *StopInstanceInput) Validate() error { return nil } +// SetForce sets the Force field's value. +func (s *StopInstanceInput) SetForce(v bool) *StopInstanceInput { + s.Force = &v + return s +} + // SetInstanceName sets the InstanceName field's value. func (s *StopInstanceInput) SetInstanceName(v string) *StopInstanceInput { s.InstanceName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstanceResult type StopInstanceOutput struct { _ struct{} `type:"structure"` @@ -10186,7 +15303,7 @@ func (s *StopInstanceOutput) SetOperations(v []*Operation) *StopInstanceOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpcRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpcRequest type UnpeerVpcInput struct { _ struct{} `type:"structure"` } @@ -10201,7 +15318,7 @@ func (s UnpeerVpcInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpcResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpcResult type UnpeerVpcOutput struct { _ struct{} `type:"structure"` @@ -10225,7 +15342,7 @@ func (s *UnpeerVpcOutput) SetOperation(v *Operation) *UnpeerVpcOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntryRequest type UpdateDomainEntryInput struct { _ struct{} `type:"structure"` @@ -10278,7 +15395,7 @@ func (s *UpdateDomainEntryInput) SetDomainName(v string) *UpdateDomainEntryInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntryResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntryResult type UpdateDomainEntryOutput struct { _ struct{} `type:"structure"` @@ -10302,6 +15419,100 @@ func (s *UpdateDomainEntryOutput) SetOperations(v []*Operation) *UpdateDomainEnt return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttributeRequest +type UpdateLoadBalancerAttributeInput struct { + _ struct{} `type:"structure"` + + // The name of the attribute you want to update. Valid values are below. + // + // AttributeName is a required field + AttributeName *string `locationName:"attributeName" type:"string" required:"true" enum:"LoadBalancerAttributeName"` + + // The value that you want to specify for the attribute name. + // + // AttributeValue is a required field + AttributeValue *string `locationName:"attributeValue" min:"1" type:"string" required:"true"` + + // The name of the load balancer that you want to modify. + // + // LoadBalancerName is a required field + LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateLoadBalancerAttributeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateLoadBalancerAttributeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateLoadBalancerAttributeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateLoadBalancerAttributeInput"} + if s.AttributeName == nil { + invalidParams.Add(request.NewErrParamRequired("AttributeName")) + } + if s.AttributeValue == nil { + invalidParams.Add(request.NewErrParamRequired("AttributeValue")) + } + if s.AttributeValue != nil && len(*s.AttributeValue) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AttributeValue", 1)) + } + if s.LoadBalancerName == nil { + invalidParams.Add(request.NewErrParamRequired("LoadBalancerName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttributeName sets the AttributeName field's value. +func (s *UpdateLoadBalancerAttributeInput) SetAttributeName(v string) *UpdateLoadBalancerAttributeInput { + s.AttributeName = &v + return s +} + +// SetAttributeValue sets the AttributeValue field's value. +func (s *UpdateLoadBalancerAttributeInput) SetAttributeValue(v string) *UpdateLoadBalancerAttributeInput { + s.AttributeValue = &v + return s +} + +// SetLoadBalancerName sets the LoadBalancerName field's value. +func (s *UpdateLoadBalancerAttributeInput) SetLoadBalancerName(v string) *UpdateLoadBalancerAttributeInput { + s.LoadBalancerName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttributeResult +type UpdateLoadBalancerAttributeOutput struct { + _ struct{} `type:"structure"` + + // An object describing the API operations. + Operations []*Operation `locationName:"operations" type:"list"` +} + +// String returns the string representation +func (s UpdateLoadBalancerAttributeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateLoadBalancerAttributeOutput) GoString() string { + return s.String() +} + +// SetOperations sets the Operations field's value. +func (s *UpdateLoadBalancerAttributeOutput) SetOperations(v []*Operation) *UpdateLoadBalancerAttributeOutput { + s.Operations = v + return s +} + const ( // AccessDirectionInbound is a AccessDirection enum value AccessDirectionInbound = "inbound" @@ -10318,6 +15529,37 @@ const ( BlueprintTypeApp = "app" ) +const ( + // DiskSnapshotStatePending is a DiskSnapshotState enum value + DiskSnapshotStatePending = "pending" + + // DiskSnapshotStateCompleted is a DiskSnapshotState enum value + DiskSnapshotStateCompleted = "completed" + + // DiskSnapshotStateError is a DiskSnapshotState enum value + DiskSnapshotStateError = "error" + + // DiskSnapshotStateUnknown is a DiskSnapshotState enum value + DiskSnapshotStateUnknown = "unknown" +) + +const ( + // DiskStatePending is a DiskState enum value + DiskStatePending = "pending" + + // DiskStateError is a DiskState enum value + DiskStateError = "error" + + // DiskStateAvailable is a DiskState enum value + DiskStateAvailable = "available" + + // DiskStateInUse is a DiskState enum value + DiskStateInUse = "in-use" + + // DiskStateUnknown is a DiskState enum value + DiskStateUnknown = "unknown" +) + const ( // InstanceAccessProtocolSsh is a InstanceAccessProtocol enum value InstanceAccessProtocolSsh = "ssh" @@ -10326,6 +15568,61 @@ const ( InstanceAccessProtocolRdp = "rdp" ) +const ( + // InstanceHealthReasonLbRegistrationInProgress is a InstanceHealthReason enum value + InstanceHealthReasonLbRegistrationInProgress = "Lb.RegistrationInProgress" + + // InstanceHealthReasonLbInitialHealthChecking is a InstanceHealthReason enum value + InstanceHealthReasonLbInitialHealthChecking = "Lb.InitialHealthChecking" + + // InstanceHealthReasonLbInternalError is a InstanceHealthReason enum value + InstanceHealthReasonLbInternalError = "Lb.InternalError" + + // InstanceHealthReasonInstanceResponseCodeMismatch is a InstanceHealthReason enum value + InstanceHealthReasonInstanceResponseCodeMismatch = "Instance.ResponseCodeMismatch" + + // InstanceHealthReasonInstanceTimeout is a InstanceHealthReason enum value + InstanceHealthReasonInstanceTimeout = "Instance.Timeout" + + // InstanceHealthReasonInstanceFailedHealthChecks is a InstanceHealthReason enum value + InstanceHealthReasonInstanceFailedHealthChecks = "Instance.FailedHealthChecks" + + // InstanceHealthReasonInstanceNotRegistered is a InstanceHealthReason enum value + InstanceHealthReasonInstanceNotRegistered = "Instance.NotRegistered" + + // InstanceHealthReasonInstanceNotInUse is a InstanceHealthReason enum value + InstanceHealthReasonInstanceNotInUse = "Instance.NotInUse" + + // InstanceHealthReasonInstanceDeregistrationInProgress is a InstanceHealthReason enum value + InstanceHealthReasonInstanceDeregistrationInProgress = "Instance.DeregistrationInProgress" + + // InstanceHealthReasonInstanceInvalidState is a InstanceHealthReason enum value + InstanceHealthReasonInstanceInvalidState = "Instance.InvalidState" + + // InstanceHealthReasonInstanceIpUnusable is a InstanceHealthReason enum value + InstanceHealthReasonInstanceIpUnusable = "Instance.IpUnusable" +) + +const ( + // InstanceHealthStateInitial is a InstanceHealthState enum value + InstanceHealthStateInitial = "initial" + + // InstanceHealthStateHealthy is a InstanceHealthState enum value + InstanceHealthStateHealthy = "healthy" + + // InstanceHealthStateUnhealthy is a InstanceHealthState enum value + InstanceHealthStateUnhealthy = "unhealthy" + + // InstanceHealthStateUnused is a InstanceHealthState enum value + InstanceHealthStateUnused = "unused" + + // InstanceHealthStateDraining is a InstanceHealthState enum value + InstanceHealthStateDraining = "draining" + + // InstanceHealthStateUnavailable is a InstanceHealthState enum value + InstanceHealthStateUnavailable = "unavailable" +) + const ( // InstanceMetricNameCpuutilization is a InstanceMetricName enum value InstanceMetricNameCpuutilization = "CPUUtilization" @@ -10365,6 +15662,180 @@ const ( InstanceSnapshotStateAvailable = "available" ) +const ( + // LoadBalancerAttributeNameHealthCheckPath is a LoadBalancerAttributeName enum value + LoadBalancerAttributeNameHealthCheckPath = "HealthCheckPath" + + // LoadBalancerAttributeNameSessionStickinessEnabled is a LoadBalancerAttributeName enum value + LoadBalancerAttributeNameSessionStickinessEnabled = "SessionStickinessEnabled" + + // LoadBalancerAttributeNameSessionStickinessLbCookieDurationSeconds is a LoadBalancerAttributeName enum value + LoadBalancerAttributeNameSessionStickinessLbCookieDurationSeconds = "SessionStickiness_LB_CookieDurationSeconds" +) + +const ( + // LoadBalancerMetricNameClientTlsnegotiationErrorCount is a LoadBalancerMetricName enum value + LoadBalancerMetricNameClientTlsnegotiationErrorCount = "ClientTLSNegotiationErrorCount" + + // LoadBalancerMetricNameHealthyHostCount is a LoadBalancerMetricName enum value + LoadBalancerMetricNameHealthyHostCount = "HealthyHostCount" + + // LoadBalancerMetricNameUnhealthyHostCount is a LoadBalancerMetricName enum value + LoadBalancerMetricNameUnhealthyHostCount = "UnhealthyHostCount" + + // LoadBalancerMetricNameHttpcodeLb4xxCount is a LoadBalancerMetricName enum value + LoadBalancerMetricNameHttpcodeLb4xxCount = "HTTPCode_LB_4XX_Count" + + // LoadBalancerMetricNameHttpcodeLb5xxCount is a LoadBalancerMetricName enum value + LoadBalancerMetricNameHttpcodeLb5xxCount = "HTTPCode_LB_5XX_Count" + + // LoadBalancerMetricNameHttpcodeInstance2xxCount is a LoadBalancerMetricName enum value + LoadBalancerMetricNameHttpcodeInstance2xxCount = "HTTPCode_Instance_2XX_Count" + + // LoadBalancerMetricNameHttpcodeInstance3xxCount is a LoadBalancerMetricName enum value + LoadBalancerMetricNameHttpcodeInstance3xxCount = "HTTPCode_Instance_3XX_Count" + + // LoadBalancerMetricNameHttpcodeInstance4xxCount is a LoadBalancerMetricName enum value + LoadBalancerMetricNameHttpcodeInstance4xxCount = "HTTPCode_Instance_4XX_Count" + + // LoadBalancerMetricNameHttpcodeInstance5xxCount is a LoadBalancerMetricName enum value + LoadBalancerMetricNameHttpcodeInstance5xxCount = "HTTPCode_Instance_5XX_Count" + + // LoadBalancerMetricNameInstanceResponseTime is a LoadBalancerMetricName enum value + LoadBalancerMetricNameInstanceResponseTime = "InstanceResponseTime" + + // LoadBalancerMetricNameRejectedConnectionCount is a LoadBalancerMetricName enum value + LoadBalancerMetricNameRejectedConnectionCount = "RejectedConnectionCount" + + // LoadBalancerMetricNameRequestCount is a LoadBalancerMetricName enum value + LoadBalancerMetricNameRequestCount = "RequestCount" +) + +const ( + // LoadBalancerProtocolHttpHttps is a LoadBalancerProtocol enum value + LoadBalancerProtocolHttpHttps = "HTTP_HTTPS" + + // LoadBalancerProtocolHttp is a LoadBalancerProtocol enum value + LoadBalancerProtocolHttp = "HTTP" +) + +const ( + // LoadBalancerStateActive is a LoadBalancerState enum value + LoadBalancerStateActive = "active" + + // LoadBalancerStateProvisioning is a LoadBalancerState enum value + LoadBalancerStateProvisioning = "provisioning" + + // LoadBalancerStateActiveImpaired is a LoadBalancerState enum value + LoadBalancerStateActiveImpaired = "active_impaired" + + // LoadBalancerStateFailed is a LoadBalancerState enum value + LoadBalancerStateFailed = "failed" + + // LoadBalancerStateUnknown is a LoadBalancerState enum value + LoadBalancerStateUnknown = "unknown" +) + +const ( + // LoadBalancerTlsCertificateDomainStatusPendingValidation is a LoadBalancerTlsCertificateDomainStatus enum value + LoadBalancerTlsCertificateDomainStatusPendingValidation = "PENDING_VALIDATION" + + // LoadBalancerTlsCertificateDomainStatusFailed is a LoadBalancerTlsCertificateDomainStatus enum value + LoadBalancerTlsCertificateDomainStatusFailed = "FAILED" + + // LoadBalancerTlsCertificateDomainStatusSuccess is a LoadBalancerTlsCertificateDomainStatus enum value + LoadBalancerTlsCertificateDomainStatusSuccess = "SUCCESS" +) + +const ( + // LoadBalancerTlsCertificateFailureReasonNoAvailableContacts is a LoadBalancerTlsCertificateFailureReason enum value + LoadBalancerTlsCertificateFailureReasonNoAvailableContacts = "NO_AVAILABLE_CONTACTS" + + // LoadBalancerTlsCertificateFailureReasonAdditionalVerificationRequired is a LoadBalancerTlsCertificateFailureReason enum value + LoadBalancerTlsCertificateFailureReasonAdditionalVerificationRequired = "ADDITIONAL_VERIFICATION_REQUIRED" + + // LoadBalancerTlsCertificateFailureReasonDomainNotAllowed is a LoadBalancerTlsCertificateFailureReason enum value + LoadBalancerTlsCertificateFailureReasonDomainNotAllowed = "DOMAIN_NOT_ALLOWED" + + // LoadBalancerTlsCertificateFailureReasonInvalidPublicDomain is a LoadBalancerTlsCertificateFailureReason enum value + LoadBalancerTlsCertificateFailureReasonInvalidPublicDomain = "INVALID_PUBLIC_DOMAIN" + + // LoadBalancerTlsCertificateFailureReasonOther is a LoadBalancerTlsCertificateFailureReason enum value + LoadBalancerTlsCertificateFailureReasonOther = "OTHER" +) + +const ( + // LoadBalancerTlsCertificateRenewalStatusPendingAutoRenewal is a LoadBalancerTlsCertificateRenewalStatus enum value + LoadBalancerTlsCertificateRenewalStatusPendingAutoRenewal = "PENDING_AUTO_RENEWAL" + + // LoadBalancerTlsCertificateRenewalStatusPendingValidation is a LoadBalancerTlsCertificateRenewalStatus enum value + LoadBalancerTlsCertificateRenewalStatusPendingValidation = "PENDING_VALIDATION" + + // LoadBalancerTlsCertificateRenewalStatusSuccess is a LoadBalancerTlsCertificateRenewalStatus enum value + LoadBalancerTlsCertificateRenewalStatusSuccess = "SUCCESS" + + // LoadBalancerTlsCertificateRenewalStatusFailed is a LoadBalancerTlsCertificateRenewalStatus enum value + LoadBalancerTlsCertificateRenewalStatusFailed = "FAILED" +) + +const ( + // LoadBalancerTlsCertificateRevocationReasonUnspecified is a LoadBalancerTlsCertificateRevocationReason enum value + LoadBalancerTlsCertificateRevocationReasonUnspecified = "UNSPECIFIED" + + // LoadBalancerTlsCertificateRevocationReasonKeyCompromise is a LoadBalancerTlsCertificateRevocationReason enum value + LoadBalancerTlsCertificateRevocationReasonKeyCompromise = "KEY_COMPROMISE" + + // LoadBalancerTlsCertificateRevocationReasonCaCompromise is a LoadBalancerTlsCertificateRevocationReason enum value + LoadBalancerTlsCertificateRevocationReasonCaCompromise = "CA_COMPROMISE" + + // LoadBalancerTlsCertificateRevocationReasonAffiliationChanged is a LoadBalancerTlsCertificateRevocationReason enum value + LoadBalancerTlsCertificateRevocationReasonAffiliationChanged = "AFFILIATION_CHANGED" + + // LoadBalancerTlsCertificateRevocationReasonSuperceded is a LoadBalancerTlsCertificateRevocationReason enum value + LoadBalancerTlsCertificateRevocationReasonSuperceded = "SUPERCEDED" + + // LoadBalancerTlsCertificateRevocationReasonCessationOfOperation is a LoadBalancerTlsCertificateRevocationReason enum value + LoadBalancerTlsCertificateRevocationReasonCessationOfOperation = "CESSATION_OF_OPERATION" + + // LoadBalancerTlsCertificateRevocationReasonCertificateHold is a LoadBalancerTlsCertificateRevocationReason enum value + LoadBalancerTlsCertificateRevocationReasonCertificateHold = "CERTIFICATE_HOLD" + + // LoadBalancerTlsCertificateRevocationReasonRemoveFromCrl is a LoadBalancerTlsCertificateRevocationReason enum value + LoadBalancerTlsCertificateRevocationReasonRemoveFromCrl = "REMOVE_FROM_CRL" + + // LoadBalancerTlsCertificateRevocationReasonPrivilegeWithdrawn is a LoadBalancerTlsCertificateRevocationReason enum value + LoadBalancerTlsCertificateRevocationReasonPrivilegeWithdrawn = "PRIVILEGE_WITHDRAWN" + + // LoadBalancerTlsCertificateRevocationReasonAACompromise is a LoadBalancerTlsCertificateRevocationReason enum value + LoadBalancerTlsCertificateRevocationReasonAACompromise = "A_A_COMPROMISE" +) + +const ( + // LoadBalancerTlsCertificateStatusPendingValidation is a LoadBalancerTlsCertificateStatus enum value + LoadBalancerTlsCertificateStatusPendingValidation = "PENDING_VALIDATION" + + // LoadBalancerTlsCertificateStatusIssued is a LoadBalancerTlsCertificateStatus enum value + LoadBalancerTlsCertificateStatusIssued = "ISSUED" + + // LoadBalancerTlsCertificateStatusInactive is a LoadBalancerTlsCertificateStatus enum value + LoadBalancerTlsCertificateStatusInactive = "INACTIVE" + + // LoadBalancerTlsCertificateStatusExpired is a LoadBalancerTlsCertificateStatus enum value + LoadBalancerTlsCertificateStatusExpired = "EXPIRED" + + // LoadBalancerTlsCertificateStatusValidationTimedOut is a LoadBalancerTlsCertificateStatus enum value + LoadBalancerTlsCertificateStatusValidationTimedOut = "VALIDATION_TIMED_OUT" + + // LoadBalancerTlsCertificateStatusRevoked is a LoadBalancerTlsCertificateStatus enum value + LoadBalancerTlsCertificateStatusRevoked = "REVOKED" + + // LoadBalancerTlsCertificateStatusFailed is a LoadBalancerTlsCertificateStatus enum value + LoadBalancerTlsCertificateStatusFailed = "FAILED" + + // LoadBalancerTlsCertificateStatusUnknown is a LoadBalancerTlsCertificateStatus enum value + LoadBalancerTlsCertificateStatusUnknown = "UNKNOWN" +) + const ( // MetricStatisticMinimum is a MetricStatistic enum value MetricStatisticMinimum = "Minimum" @@ -10547,6 +16018,51 @@ const ( // OperationTypeCreateInstancesFromSnapshot is a OperationType enum value OperationTypeCreateInstancesFromSnapshot = "CreateInstancesFromSnapshot" + + // OperationTypeCreateLoadBalancer is a OperationType enum value + OperationTypeCreateLoadBalancer = "CreateLoadBalancer" + + // OperationTypeDeleteLoadBalancer is a OperationType enum value + OperationTypeDeleteLoadBalancer = "DeleteLoadBalancer" + + // OperationTypeAttachInstancesToLoadBalancer is a OperationType enum value + OperationTypeAttachInstancesToLoadBalancer = "AttachInstancesToLoadBalancer" + + // OperationTypeDetachInstancesFromLoadBalancer is a OperationType enum value + OperationTypeDetachInstancesFromLoadBalancer = "DetachInstancesFromLoadBalancer" + + // OperationTypeUpdateLoadBalancerAttribute is a OperationType enum value + OperationTypeUpdateLoadBalancerAttribute = "UpdateLoadBalancerAttribute" + + // OperationTypeCreateLoadBalancerTlsCertificate is a OperationType enum value + OperationTypeCreateLoadBalancerTlsCertificate = "CreateLoadBalancerTlsCertificate" + + // OperationTypeDeleteLoadBalancerTlsCertificate is a OperationType enum value + OperationTypeDeleteLoadBalancerTlsCertificate = "DeleteLoadBalancerTlsCertificate" + + // OperationTypeAttachLoadBalancerTlsCertificate is a OperationType enum value + OperationTypeAttachLoadBalancerTlsCertificate = "AttachLoadBalancerTlsCertificate" + + // OperationTypeCreateDisk is a OperationType enum value + OperationTypeCreateDisk = "CreateDisk" + + // OperationTypeDeleteDisk is a OperationType enum value + OperationTypeDeleteDisk = "DeleteDisk" + + // OperationTypeAttachDisk is a OperationType enum value + OperationTypeAttachDisk = "AttachDisk" + + // OperationTypeDetachDisk is a OperationType enum value + OperationTypeDetachDisk = "DetachDisk" + + // OperationTypeCreateDiskSnapshot is a OperationType enum value + OperationTypeCreateDiskSnapshot = "CreateDiskSnapshot" + + // OperationTypeDeleteDiskSnapshot is a OperationType enum value + OperationTypeDeleteDiskSnapshot = "DeleteDiskSnapshot" + + // OperationTypeCreateDiskFromSnapshot is a OperationType enum value + OperationTypeCreateDiskFromSnapshot = "CreateDiskFromSnapshot" ) const ( @@ -10618,4 +16134,16 @@ const ( // ResourceTypePeeredVpc is a ResourceType enum value ResourceTypePeeredVpc = "PeeredVpc" + + // ResourceTypeLoadBalancer is a ResourceType enum value + ResourceTypeLoadBalancer = "LoadBalancer" + + // ResourceTypeLoadBalancerTlsCertificate is a ResourceType enum value + ResourceTypeLoadBalancerTlsCertificate = "LoadBalancerTlsCertificate" + + // ResourceTypeDisk is a ResourceType enum value + ResourceTypeDisk = "Disk" + + // ResourceTypeDiskSnapshot is a ResourceType enum value + ResourceTypeDiskSnapshot = "DiskSnapshot" ) diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/api.go b/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/api.go new file mode 100644 index 00000000000..fecd4e344b9 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/api.go @@ -0,0 +1,14536 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mediaconvert + +import ( + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" +) + +const opCancelJob = "CancelJob" + +// CancelJobRequest generates a "aws/request.Request" representing the +// client's request for the CancelJob operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CancelJob for more information on using the CancelJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CancelJobRequest method. +// req, resp := client.CancelJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CancelJob +func (c *MediaConvert) CancelJobRequest(input *CancelJobInput) (req *request.Request, output *CancelJobOutput) { + op := &request.Operation{ + Name: opCancelJob, + HTTPMethod: "DELETE", + HTTPPath: "/2017-08-29/jobs/{id}", + } + + if input == nil { + input = &CancelJobInput{} + } + + output = &CancelJobOutput{} + req = c.newRequest(op, input, output) + return +} + +// CancelJob API operation for AWS Elemental MediaConvert. +// +// Permanently remove a job from a queue. Once you have canceled a job, you +// can't start it again. You can't delete a running job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation CancelJob for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CancelJob +func (c *MediaConvert) CancelJob(input *CancelJobInput) (*CancelJobOutput, error) { + req, out := c.CancelJobRequest(input) + return out, req.Send() +} + +// CancelJobWithContext is the same as CancelJob with the addition of +// the ability to pass a context and additional request options. +// +// See CancelJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) CancelJobWithContext(ctx aws.Context, input *CancelJobInput, opts ...request.Option) (*CancelJobOutput, error) { + req, out := c.CancelJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateJob = "CreateJob" + +// CreateJobRequest generates a "aws/request.Request" representing the +// client's request for the CreateJob operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateJob for more information on using the CreateJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateJobRequest method. +// req, resp := client.CreateJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJob +func (c *MediaConvert) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput) { + op := &request.Operation{ + Name: opCreateJob, + HTTPMethod: "POST", + HTTPPath: "/2017-08-29/jobs", + } + + if input == nil { + input = &CreateJobInput{} + } + + output = &CreateJobOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateJob API operation for AWS Elemental MediaConvert. +// +// Create a new transcoding job. For information about jobs and job settings, +// see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation CreateJob for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJob +func (c *MediaConvert) CreateJob(input *CreateJobInput) (*CreateJobOutput, error) { + req, out := c.CreateJobRequest(input) + return out, req.Send() +} + +// CreateJobWithContext is the same as CreateJob with the addition of +// the ability to pass a context and additional request options. +// +// See CreateJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) CreateJobWithContext(ctx aws.Context, input *CreateJobInput, opts ...request.Option) (*CreateJobOutput, error) { + req, out := c.CreateJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateJobTemplate = "CreateJobTemplate" + +// CreateJobTemplateRequest generates a "aws/request.Request" representing the +// client's request for the CreateJobTemplate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateJobTemplate for more information on using the CreateJobTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateJobTemplateRequest method. +// req, resp := client.CreateJobTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJobTemplate +func (c *MediaConvert) CreateJobTemplateRequest(input *CreateJobTemplateInput) (req *request.Request, output *CreateJobTemplateOutput) { + op := &request.Operation{ + Name: opCreateJobTemplate, + HTTPMethod: "POST", + HTTPPath: "/2017-08-29/jobTemplates", + } + + if input == nil { + input = &CreateJobTemplateInput{} + } + + output = &CreateJobTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateJobTemplate API operation for AWS Elemental MediaConvert. +// +// Create a new job template. For information about job templates see the User +// Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation CreateJobTemplate for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJobTemplate +func (c *MediaConvert) CreateJobTemplate(input *CreateJobTemplateInput) (*CreateJobTemplateOutput, error) { + req, out := c.CreateJobTemplateRequest(input) + return out, req.Send() +} + +// CreateJobTemplateWithContext is the same as CreateJobTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See CreateJobTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) CreateJobTemplateWithContext(ctx aws.Context, input *CreateJobTemplateInput, opts ...request.Option) (*CreateJobTemplateOutput, error) { + req, out := c.CreateJobTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreatePreset = "CreatePreset" + +// CreatePresetRequest generates a "aws/request.Request" representing the +// client's request for the CreatePreset operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreatePreset for more information on using the CreatePreset +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreatePresetRequest method. +// req, resp := client.CreatePresetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreatePreset +func (c *MediaConvert) CreatePresetRequest(input *CreatePresetInput) (req *request.Request, output *CreatePresetOutput) { + op := &request.Operation{ + Name: opCreatePreset, + HTTPMethod: "POST", + HTTPPath: "/2017-08-29/presets", + } + + if input == nil { + input = &CreatePresetInput{} + } + + output = &CreatePresetOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreatePreset API operation for AWS Elemental MediaConvert. +// +// Create a new preset. For information about job templates see the User Guide +// at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation CreatePreset for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreatePreset +func (c *MediaConvert) CreatePreset(input *CreatePresetInput) (*CreatePresetOutput, error) { + req, out := c.CreatePresetRequest(input) + return out, req.Send() +} + +// CreatePresetWithContext is the same as CreatePreset with the addition of +// the ability to pass a context and additional request options. +// +// See CreatePreset for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) CreatePresetWithContext(ctx aws.Context, input *CreatePresetInput, opts ...request.Option) (*CreatePresetOutput, error) { + req, out := c.CreatePresetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateQueue = "CreateQueue" + +// CreateQueueRequest generates a "aws/request.Request" representing the +// client's request for the CreateQueue operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateQueue for more information on using the CreateQueue +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateQueueRequest method. +// req, resp := client.CreateQueueRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateQueue +func (c *MediaConvert) CreateQueueRequest(input *CreateQueueInput) (req *request.Request, output *CreateQueueOutput) { + op := &request.Operation{ + Name: opCreateQueue, + HTTPMethod: "POST", + HTTPPath: "/2017-08-29/queues", + } + + if input == nil { + input = &CreateQueueInput{} + } + + output = &CreateQueueOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateQueue API operation for AWS Elemental MediaConvert. +// +// Create a new transcoding queue. For information about job templates see the +// User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation CreateQueue for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateQueue +func (c *MediaConvert) CreateQueue(input *CreateQueueInput) (*CreateQueueOutput, error) { + req, out := c.CreateQueueRequest(input) + return out, req.Send() +} + +// CreateQueueWithContext is the same as CreateQueue with the addition of +// the ability to pass a context and additional request options. +// +// See CreateQueue for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) CreateQueueWithContext(ctx aws.Context, input *CreateQueueInput, opts ...request.Option) (*CreateQueueOutput, error) { + req, out := c.CreateQueueRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteJobTemplate = "DeleteJobTemplate" + +// DeleteJobTemplateRequest generates a "aws/request.Request" representing the +// client's request for the DeleteJobTemplate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteJobTemplate for more information on using the DeleteJobTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteJobTemplateRequest method. +// req, resp := client.DeleteJobTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteJobTemplate +func (c *MediaConvert) DeleteJobTemplateRequest(input *DeleteJobTemplateInput) (req *request.Request, output *DeleteJobTemplateOutput) { + op := &request.Operation{ + Name: opDeleteJobTemplate, + HTTPMethod: "DELETE", + HTTPPath: "/2017-08-29/jobTemplates/{name}", + } + + if input == nil { + input = &DeleteJobTemplateInput{} + } + + output = &DeleteJobTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteJobTemplate API operation for AWS Elemental MediaConvert. +// +// Permanently delete a job template you have created. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation DeleteJobTemplate for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteJobTemplate +func (c *MediaConvert) DeleteJobTemplate(input *DeleteJobTemplateInput) (*DeleteJobTemplateOutput, error) { + req, out := c.DeleteJobTemplateRequest(input) + return out, req.Send() +} + +// DeleteJobTemplateWithContext is the same as DeleteJobTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteJobTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) DeleteJobTemplateWithContext(ctx aws.Context, input *DeleteJobTemplateInput, opts ...request.Option) (*DeleteJobTemplateOutput, error) { + req, out := c.DeleteJobTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeletePreset = "DeletePreset" + +// DeletePresetRequest generates a "aws/request.Request" representing the +// client's request for the DeletePreset operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeletePreset for more information on using the DeletePreset +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeletePresetRequest method. +// req, resp := client.DeletePresetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeletePreset +func (c *MediaConvert) DeletePresetRequest(input *DeletePresetInput) (req *request.Request, output *DeletePresetOutput) { + op := &request.Operation{ + Name: opDeletePreset, + HTTPMethod: "DELETE", + HTTPPath: "/2017-08-29/presets/{name}", + } + + if input == nil { + input = &DeletePresetInput{} + } + + output = &DeletePresetOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeletePreset API operation for AWS Elemental MediaConvert. +// +// Permanently delete a preset you have created. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation DeletePreset for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeletePreset +func (c *MediaConvert) DeletePreset(input *DeletePresetInput) (*DeletePresetOutput, error) { + req, out := c.DeletePresetRequest(input) + return out, req.Send() +} + +// DeletePresetWithContext is the same as DeletePreset with the addition of +// the ability to pass a context and additional request options. +// +// See DeletePreset for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) DeletePresetWithContext(ctx aws.Context, input *DeletePresetInput, opts ...request.Option) (*DeletePresetOutput, error) { + req, out := c.DeletePresetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteQueue = "DeleteQueue" + +// DeleteQueueRequest generates a "aws/request.Request" representing the +// client's request for the DeleteQueue operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteQueue for more information on using the DeleteQueue +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteQueueRequest method. +// req, resp := client.DeleteQueueRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteQueue +func (c *MediaConvert) DeleteQueueRequest(input *DeleteQueueInput) (req *request.Request, output *DeleteQueueOutput) { + op := &request.Operation{ + Name: opDeleteQueue, + HTTPMethod: "DELETE", + HTTPPath: "/2017-08-29/queues/{name}", + } + + if input == nil { + input = &DeleteQueueInput{} + } + + output = &DeleteQueueOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteQueue API operation for AWS Elemental MediaConvert. +// +// Permanently delete a queue you have created. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation DeleteQueue for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteQueue +func (c *MediaConvert) DeleteQueue(input *DeleteQueueInput) (*DeleteQueueOutput, error) { + req, out := c.DeleteQueueRequest(input) + return out, req.Send() +} + +// DeleteQueueWithContext is the same as DeleteQueue with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteQueue for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) DeleteQueueWithContext(ctx aws.Context, input *DeleteQueueInput, opts ...request.Option) (*DeleteQueueOutput, error) { + req, out := c.DeleteQueueRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeEndpoints = "DescribeEndpoints" + +// DescribeEndpointsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeEndpoints operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeEndpoints for more information on using the DescribeEndpoints +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeEndpointsRequest method. +// req, resp := client.DescribeEndpointsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DescribeEndpoints +func (c *MediaConvert) DescribeEndpointsRequest(input *DescribeEndpointsInput) (req *request.Request, output *DescribeEndpointsOutput) { + op := &request.Operation{ + Name: opDescribeEndpoints, + HTTPMethod: "POST", + HTTPPath: "/2017-08-29/endpoints", + } + + if input == nil { + input = &DescribeEndpointsInput{} + } + + output = &DescribeEndpointsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeEndpoints API operation for AWS Elemental MediaConvert. +// +// Send an request with an empty body to the regional API endpoint to get your +// account API endpoint. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation DescribeEndpoints for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DescribeEndpoints +func (c *MediaConvert) DescribeEndpoints(input *DescribeEndpointsInput) (*DescribeEndpointsOutput, error) { + req, out := c.DescribeEndpointsRequest(input) + return out, req.Send() +} + +// DescribeEndpointsWithContext is the same as DescribeEndpoints with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeEndpoints for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) DescribeEndpointsWithContext(ctx aws.Context, input *DescribeEndpointsInput, opts ...request.Option) (*DescribeEndpointsOutput, error) { + req, out := c.DescribeEndpointsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetJob = "GetJob" + +// GetJobRequest generates a "aws/request.Request" representing the +// client's request for the GetJob operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetJob for more information on using the GetJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetJobRequest method. +// req, resp := client.GetJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJob +func (c *MediaConvert) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput) { + op := &request.Operation{ + Name: opGetJob, + HTTPMethod: "GET", + HTTPPath: "/2017-08-29/jobs/{id}", + } + + if input == nil { + input = &GetJobInput{} + } + + output = &GetJobOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetJob API operation for AWS Elemental MediaConvert. +// +// Retrieve the JSON for a specific completed transcoding job. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation GetJob for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJob +func (c *MediaConvert) GetJob(input *GetJobInput) (*GetJobOutput, error) { + req, out := c.GetJobRequest(input) + return out, req.Send() +} + +// GetJobWithContext is the same as GetJob with the addition of +// the ability to pass a context and additional request options. +// +// See GetJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) GetJobWithContext(ctx aws.Context, input *GetJobInput, opts ...request.Option) (*GetJobOutput, error) { + req, out := c.GetJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetJobTemplate = "GetJobTemplate" + +// GetJobTemplateRequest generates a "aws/request.Request" representing the +// client's request for the GetJobTemplate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetJobTemplate for more information on using the GetJobTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetJobTemplateRequest method. +// req, resp := client.GetJobTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJobTemplate +func (c *MediaConvert) GetJobTemplateRequest(input *GetJobTemplateInput) (req *request.Request, output *GetJobTemplateOutput) { + op := &request.Operation{ + Name: opGetJobTemplate, + HTTPMethod: "GET", + HTTPPath: "/2017-08-29/jobTemplates/{name}", + } + + if input == nil { + input = &GetJobTemplateInput{} + } + + output = &GetJobTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetJobTemplate API operation for AWS Elemental MediaConvert. +// +// Retrieve the JSON for a specific job template. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation GetJobTemplate for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJobTemplate +func (c *MediaConvert) GetJobTemplate(input *GetJobTemplateInput) (*GetJobTemplateOutput, error) { + req, out := c.GetJobTemplateRequest(input) + return out, req.Send() +} + +// GetJobTemplateWithContext is the same as GetJobTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See GetJobTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) GetJobTemplateWithContext(ctx aws.Context, input *GetJobTemplateInput, opts ...request.Option) (*GetJobTemplateOutput, error) { + req, out := c.GetJobTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetPreset = "GetPreset" + +// GetPresetRequest generates a "aws/request.Request" representing the +// client's request for the GetPreset operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetPreset for more information on using the GetPreset +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetPresetRequest method. +// req, resp := client.GetPresetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetPreset +func (c *MediaConvert) GetPresetRequest(input *GetPresetInput) (req *request.Request, output *GetPresetOutput) { + op := &request.Operation{ + Name: opGetPreset, + HTTPMethod: "GET", + HTTPPath: "/2017-08-29/presets/{name}", + } + + if input == nil { + input = &GetPresetInput{} + } + + output = &GetPresetOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetPreset API operation for AWS Elemental MediaConvert. +// +// Retrieve the JSON for a specific preset. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation GetPreset for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetPreset +func (c *MediaConvert) GetPreset(input *GetPresetInput) (*GetPresetOutput, error) { + req, out := c.GetPresetRequest(input) + return out, req.Send() +} + +// GetPresetWithContext is the same as GetPreset with the addition of +// the ability to pass a context and additional request options. +// +// See GetPreset for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) GetPresetWithContext(ctx aws.Context, input *GetPresetInput, opts ...request.Option) (*GetPresetOutput, error) { + req, out := c.GetPresetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetQueue = "GetQueue" + +// GetQueueRequest generates a "aws/request.Request" representing the +// client's request for the GetQueue operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetQueue for more information on using the GetQueue +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetQueueRequest method. +// req, resp := client.GetQueueRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetQueue +func (c *MediaConvert) GetQueueRequest(input *GetQueueInput) (req *request.Request, output *GetQueueOutput) { + op := &request.Operation{ + Name: opGetQueue, + HTTPMethod: "GET", + HTTPPath: "/2017-08-29/queues/{name}", + } + + if input == nil { + input = &GetQueueInput{} + } + + output = &GetQueueOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetQueue API operation for AWS Elemental MediaConvert. +// +// Retrieve the JSON for a specific queue. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation GetQueue for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetQueue +func (c *MediaConvert) GetQueue(input *GetQueueInput) (*GetQueueOutput, error) { + req, out := c.GetQueueRequest(input) + return out, req.Send() +} + +// GetQueueWithContext is the same as GetQueue with the addition of +// the ability to pass a context and additional request options. +// +// See GetQueue for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) GetQueueWithContext(ctx aws.Context, input *GetQueueInput, opts ...request.Option) (*GetQueueOutput, error) { + req, out := c.GetQueueRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListJobTemplates = "ListJobTemplates" + +// ListJobTemplatesRequest generates a "aws/request.Request" representing the +// client's request for the ListJobTemplates operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListJobTemplates for more information on using the ListJobTemplates +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListJobTemplatesRequest method. +// req, resp := client.ListJobTemplatesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListJobTemplates +func (c *MediaConvert) ListJobTemplatesRequest(input *ListJobTemplatesInput) (req *request.Request, output *ListJobTemplatesOutput) { + op := &request.Operation{ + Name: opListJobTemplates, + HTTPMethod: "GET", + HTTPPath: "/2017-08-29/jobTemplates", + } + + if input == nil { + input = &ListJobTemplatesInput{} + } + + output = &ListJobTemplatesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListJobTemplates API operation for AWS Elemental MediaConvert. +// +// Retrieve a JSON array of up to twenty of your job templates. This will return +// the templates themselves, not just a list of them. To retrieve the next twenty +// templates, use the nextToken string returned with the array +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation ListJobTemplates for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListJobTemplates +func (c *MediaConvert) ListJobTemplates(input *ListJobTemplatesInput) (*ListJobTemplatesOutput, error) { + req, out := c.ListJobTemplatesRequest(input) + return out, req.Send() +} + +// ListJobTemplatesWithContext is the same as ListJobTemplates with the addition of +// the ability to pass a context and additional request options. +// +// See ListJobTemplates for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) ListJobTemplatesWithContext(ctx aws.Context, input *ListJobTemplatesInput, opts ...request.Option) (*ListJobTemplatesOutput, error) { + req, out := c.ListJobTemplatesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListJobs = "ListJobs" + +// ListJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListJobs operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListJobs for more information on using the ListJobs +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListJobsRequest method. +// req, resp := client.ListJobsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListJobs +func (c *MediaConvert) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { + op := &request.Operation{ + Name: opListJobs, + HTTPMethod: "GET", + HTTPPath: "/2017-08-29/jobs", + } + + if input == nil { + input = &ListJobsInput{} + } + + output = &ListJobsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListJobs API operation for AWS Elemental MediaConvert. +// +// Retrieve a JSON array of up to twenty of your most recently created jobs. +// This array includes in-process, completed, and errored jobs. This will return +// the jobs themselves, not just a list of the jobs. To retrieve the twenty +// next most recent jobs, use the nextToken string returned with the array. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation ListJobs for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListJobs +func (c *MediaConvert) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { + req, out := c.ListJobsRequest(input) + return out, req.Send() +} + +// ListJobsWithContext is the same as ListJobs with the addition of +// the ability to pass a context and additional request options. +// +// See ListJobs for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts ...request.Option) (*ListJobsOutput, error) { + req, out := c.ListJobsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListPresets = "ListPresets" + +// ListPresetsRequest generates a "aws/request.Request" representing the +// client's request for the ListPresets operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListPresets for more information on using the ListPresets +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListPresetsRequest method. +// req, resp := client.ListPresetsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListPresets +func (c *MediaConvert) ListPresetsRequest(input *ListPresetsInput) (req *request.Request, output *ListPresetsOutput) { + op := &request.Operation{ + Name: opListPresets, + HTTPMethod: "GET", + HTTPPath: "/2017-08-29/presets", + } + + if input == nil { + input = &ListPresetsInput{} + } + + output = &ListPresetsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListPresets API operation for AWS Elemental MediaConvert. +// +// Retrieve a JSON array of up to twenty of your presets. This will return the +// presets themselves, not just a list of them. To retrieve the next twenty +// presets, use the nextToken string returned with the array. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation ListPresets for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListPresets +func (c *MediaConvert) ListPresets(input *ListPresetsInput) (*ListPresetsOutput, error) { + req, out := c.ListPresetsRequest(input) + return out, req.Send() +} + +// ListPresetsWithContext is the same as ListPresets with the addition of +// the ability to pass a context and additional request options. +// +// See ListPresets for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) ListPresetsWithContext(ctx aws.Context, input *ListPresetsInput, opts ...request.Option) (*ListPresetsOutput, error) { + req, out := c.ListPresetsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListQueues = "ListQueues" + +// ListQueuesRequest generates a "aws/request.Request" representing the +// client's request for the ListQueues operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListQueues for more information on using the ListQueues +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListQueuesRequest method. +// req, resp := client.ListQueuesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListQueues +func (c *MediaConvert) ListQueuesRequest(input *ListQueuesInput) (req *request.Request, output *ListQueuesOutput) { + op := &request.Operation{ + Name: opListQueues, + HTTPMethod: "GET", + HTTPPath: "/2017-08-29/queues", + } + + if input == nil { + input = &ListQueuesInput{} + } + + output = &ListQueuesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListQueues API operation for AWS Elemental MediaConvert. +// +// Retrieve a JSON array of up to twenty of your queues. This will return the +// queues themselves, not just a list of them. To retrieve the next twenty queues, +// use the nextToken string returned with the array. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation ListQueues for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListQueues +func (c *MediaConvert) ListQueues(input *ListQueuesInput) (*ListQueuesOutput, error) { + req, out := c.ListQueuesRequest(input) + return out, req.Send() +} + +// ListQueuesWithContext is the same as ListQueues with the addition of +// the ability to pass a context and additional request options. +// +// See ListQueues for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) ListQueuesWithContext(ctx aws.Context, input *ListQueuesInput, opts ...request.Option) (*ListQueuesOutput, error) { + req, out := c.ListQueuesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateJobTemplate = "UpdateJobTemplate" + +// UpdateJobTemplateRequest generates a "aws/request.Request" representing the +// client's request for the UpdateJobTemplate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateJobTemplate for more information on using the UpdateJobTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateJobTemplateRequest method. +// req, resp := client.UpdateJobTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateJobTemplate +func (c *MediaConvert) UpdateJobTemplateRequest(input *UpdateJobTemplateInput) (req *request.Request, output *UpdateJobTemplateOutput) { + op := &request.Operation{ + Name: opUpdateJobTemplate, + HTTPMethod: "PUT", + HTTPPath: "/2017-08-29/jobTemplates/{name}", + } + + if input == nil { + input = &UpdateJobTemplateInput{} + } + + output = &UpdateJobTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateJobTemplate API operation for AWS Elemental MediaConvert. +// +// Modify one of your existing job templates. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation UpdateJobTemplate for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateJobTemplate +func (c *MediaConvert) UpdateJobTemplate(input *UpdateJobTemplateInput) (*UpdateJobTemplateOutput, error) { + req, out := c.UpdateJobTemplateRequest(input) + return out, req.Send() +} + +// UpdateJobTemplateWithContext is the same as UpdateJobTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateJobTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) UpdateJobTemplateWithContext(ctx aws.Context, input *UpdateJobTemplateInput, opts ...request.Option) (*UpdateJobTemplateOutput, error) { + req, out := c.UpdateJobTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdatePreset = "UpdatePreset" + +// UpdatePresetRequest generates a "aws/request.Request" representing the +// client's request for the UpdatePreset operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdatePreset for more information on using the UpdatePreset +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdatePresetRequest method. +// req, resp := client.UpdatePresetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdatePreset +func (c *MediaConvert) UpdatePresetRequest(input *UpdatePresetInput) (req *request.Request, output *UpdatePresetOutput) { + op := &request.Operation{ + Name: opUpdatePreset, + HTTPMethod: "PUT", + HTTPPath: "/2017-08-29/presets/{name}", + } + + if input == nil { + input = &UpdatePresetInput{} + } + + output = &UpdatePresetOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdatePreset API operation for AWS Elemental MediaConvert. +// +// Modify one of your existing presets. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation UpdatePreset for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdatePreset +func (c *MediaConvert) UpdatePreset(input *UpdatePresetInput) (*UpdatePresetOutput, error) { + req, out := c.UpdatePresetRequest(input) + return out, req.Send() +} + +// UpdatePresetWithContext is the same as UpdatePreset with the addition of +// the ability to pass a context and additional request options. +// +// See UpdatePreset for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) UpdatePresetWithContext(ctx aws.Context, input *UpdatePresetInput, opts ...request.Option) (*UpdatePresetOutput, error) { + req, out := c.UpdatePresetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateQueue = "UpdateQueue" + +// UpdateQueueRequest generates a "aws/request.Request" representing the +// client's request for the UpdateQueue operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateQueue for more information on using the UpdateQueue +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateQueueRequest method. +// req, resp := client.UpdateQueueRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateQueue +func (c *MediaConvert) UpdateQueueRequest(input *UpdateQueueInput) (req *request.Request, output *UpdateQueueOutput) { + op := &request.Operation{ + Name: opUpdateQueue, + HTTPMethod: "PUT", + HTTPPath: "/2017-08-29/queues/{name}", + } + + if input == nil { + input = &UpdateQueueInput{} + } + + output = &UpdateQueueOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateQueue API operation for AWS Elemental MediaConvert. +// +// Modify one of your existing queues. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaConvert's +// API operation UpdateQueue for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateQueue +func (c *MediaConvert) UpdateQueue(input *UpdateQueueInput) (*UpdateQueueOutput, error) { + req, out := c.UpdateQueueRequest(input) + return out, req.Send() +} + +// UpdateQueueWithContext is the same as UpdateQueue with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateQueue for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaConvert) UpdateQueueWithContext(ctx aws.Context, input *UpdateQueueInput, opts ...request.Option) (*UpdateQueueOutput, error) { + req, out := c.UpdateQueueRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to +// the value AAC. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AacSettings +type AacSettings struct { + _ struct{} `type:"structure"` + + // Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + // + audio description (AD) as a stereo pair. The value for AudioType will be + // set to 3, which signals to downstream systems that this stream contains "broadcaster + // mixed AD". Note that the input received by the encoder must contain pre-mixed + // audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, + // the encoder ignores any values you provide in AudioType and FollowInputAudioType. + // Choose NORMAL when the input does not contain pre-mixed audio + audio description + // (AD). In this case, the encoder will use any values you provide for AudioType + // and FollowInputAudioType. + AudioDescriptionBroadcasterMix *string `locationName:"audioDescriptionBroadcasterMix" type:"string" enum:"AacAudioDescriptionBroadcasterMix"` + + // Average bitrate in bits/second. Valid values depend on rate control mode + // and profile. + Bitrate *int64 `locationName:"bitrate" type:"integer"` + + // AAC Profile. + CodecProfile *string `locationName:"codecProfile" type:"string" enum:"AacCodecProfile"` + + // Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid values + // depend on rate control mode and profile. "1.0 - Audio Description (Receiver + // Mix)" setting receives a stereo description plus control track and emits + // a mono AAC encode of the description track, with control data emitted in + // the PES header as per ETSI TS 101 154 Annex E. + CodingMode *string `locationName:"codingMode" type:"string" enum:"AacCodingMode"` + + // Rate Control Mode. + RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"AacRateControlMode"` + + // Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, + // you must choose "No container" for the output container. + RawFormat *string `locationName:"rawFormat" type:"string" enum:"AacRawFormat"` + + // Sample rate in Hz. Valid values depend on rate control mode and profile. + SampleRate *int64 `locationName:"sampleRate" type:"integer"` + + // Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream + // containers. + Specification *string `locationName:"specification" type:"string" enum:"AacSpecification"` + + // VBR Quality Level - Only used if rate_control_mode is VBR. + VbrQuality *string `locationName:"vbrQuality" type:"string" enum:"AacVbrQuality"` +} + +// String returns the string representation +func (s AacSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AacSettings) GoString() string { + return s.String() +} + +// SetAudioDescriptionBroadcasterMix sets the AudioDescriptionBroadcasterMix field's value. +func (s *AacSettings) SetAudioDescriptionBroadcasterMix(v string) *AacSettings { + s.AudioDescriptionBroadcasterMix = &v + return s +} + +// SetBitrate sets the Bitrate field's value. +func (s *AacSettings) SetBitrate(v int64) *AacSettings { + s.Bitrate = &v + return s +} + +// SetCodecProfile sets the CodecProfile field's value. +func (s *AacSettings) SetCodecProfile(v string) *AacSettings { + s.CodecProfile = &v + return s +} + +// SetCodingMode sets the CodingMode field's value. +func (s *AacSettings) SetCodingMode(v string) *AacSettings { + s.CodingMode = &v + return s +} + +// SetRateControlMode sets the RateControlMode field's value. +func (s *AacSettings) SetRateControlMode(v string) *AacSettings { + s.RateControlMode = &v + return s +} + +// SetRawFormat sets the RawFormat field's value. +func (s *AacSettings) SetRawFormat(v string) *AacSettings { + s.RawFormat = &v + return s +} + +// SetSampleRate sets the SampleRate field's value. +func (s *AacSettings) SetSampleRate(v int64) *AacSettings { + s.SampleRate = &v + return s +} + +// SetSpecification sets the Specification field's value. +func (s *AacSettings) SetSpecification(v string) *AacSettings { + s.Specification = &v + return s +} + +// SetVbrQuality sets the VbrQuality field's value. +func (s *AacSettings) SetVbrQuality(v string) *AacSettings { + s.VbrQuality = &v + return s +} + +// Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to +// the value AC3. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Ac3Settings +type Ac3Settings struct { + _ struct{} `type:"structure"` + + // Average bitrate in bits/second. Valid bitrates depend on the coding mode. + Bitrate *int64 `locationName:"bitrate" type:"integer"` + + // Specifies the "Bitstream Mode" (bsmod) for the emitted AC-3 stream. See ATSC + // A/52-2012 for background on these values. + BitstreamMode *string `locationName:"bitstreamMode" type:"string" enum:"Ac3BitstreamMode"` + + // Dolby Digital coding mode. Determines number of channels. + CodingMode *string `locationName:"codingMode" type:"string" enum:"Ac3CodingMode"` + + // Sets the dialnorm for the output. If blank and input audio is Dolby Digital, + // dialnorm will be passed through. + Dialnorm *int64 `locationName:"dialnorm" type:"integer"` + + // If set to FILM_STANDARD, adds dynamic range compression signaling to the + // output bitstream as defined in the Dolby Digital specification. + DynamicRangeCompressionProfile *string `locationName:"dynamicRangeCompressionProfile" type:"string" enum:"Ac3DynamicRangeCompressionProfile"` + + // Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only + // valid with 3_2_LFE coding mode. + LfeFilter *string `locationName:"lfeFilter" type:"string" enum:"Ac3LfeFilter"` + + // When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, + // or DolbyE decoder that supplied this audio data. If audio was not supplied + // from one of these streams, then the static metadata settings will be used. + MetadataControl *string `locationName:"metadataControl" type:"string" enum:"Ac3MetadataControl"` + + // Sample rate in hz. Sample rate is always 48000. + SampleRate *int64 `locationName:"sampleRate" type:"integer"` +} + +// String returns the string representation +func (s Ac3Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Ac3Settings) GoString() string { + return s.String() +} + +// SetBitrate sets the Bitrate field's value. +func (s *Ac3Settings) SetBitrate(v int64) *Ac3Settings { + s.Bitrate = &v + return s +} + +// SetBitstreamMode sets the BitstreamMode field's value. +func (s *Ac3Settings) SetBitstreamMode(v string) *Ac3Settings { + s.BitstreamMode = &v + return s +} + +// SetCodingMode sets the CodingMode field's value. +func (s *Ac3Settings) SetCodingMode(v string) *Ac3Settings { + s.CodingMode = &v + return s +} + +// SetDialnorm sets the Dialnorm field's value. +func (s *Ac3Settings) SetDialnorm(v int64) *Ac3Settings { + s.Dialnorm = &v + return s +} + +// SetDynamicRangeCompressionProfile sets the DynamicRangeCompressionProfile field's value. +func (s *Ac3Settings) SetDynamicRangeCompressionProfile(v string) *Ac3Settings { + s.DynamicRangeCompressionProfile = &v + return s +} + +// SetLfeFilter sets the LfeFilter field's value. +func (s *Ac3Settings) SetLfeFilter(v string) *Ac3Settings { + s.LfeFilter = &v + return s +} + +// SetMetadataControl sets the MetadataControl field's value. +func (s *Ac3Settings) SetMetadataControl(v string) *Ac3Settings { + s.MetadataControl = &v + return s +} + +// SetSampleRate sets the SampleRate field's value. +func (s *Ac3Settings) SetSampleRate(v int64) *Ac3Settings { + s.SampleRate = &v + return s +} + +// Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to +// the value AIFF. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AiffSettings +type AiffSettings struct { + _ struct{} `type:"structure"` + + // Specify Bit depth (BitDepth), in bits per sample, to choose the encoding + // quality for this audio track. + BitDepth *int64 `locationName:"bitDepth" type:"integer"` + + // Set Channels to specify the number of channels in this output audio track. + // Choosing Mono in the console will give you 1 output channel; choosing Stereo + // will give you 2. In the API, valid values are 1 and 2. + Channels *int64 `locationName:"channels" type:"integer"` + + // Sample rate in hz. + SampleRate *int64 `locationName:"sampleRate" type:"integer"` +} + +// String returns the string representation +func (s AiffSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AiffSettings) GoString() string { + return s.String() +} + +// SetBitDepth sets the BitDepth field's value. +func (s *AiffSettings) SetBitDepth(v int64) *AiffSettings { + s.BitDepth = &v + return s +} + +// SetChannels sets the Channels field's value. +func (s *AiffSettings) SetChannels(v int64) *AiffSettings { + s.Channels = &v + return s +} + +// SetSampleRate sets the SampleRate field's value. +func (s *AiffSettings) SetSampleRate(v int64) *AiffSettings { + s.SampleRate = &v + return s +} + +// Settings for ancillary captions source. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AncillarySourceSettings +type AncillarySourceSettings struct { + _ struct{} `type:"structure"` + + // Specifies the 608 channel number in the ancillary data track from which to + // extract captions. Unused for passthrough. + SourceAncillaryChannelNumber *int64 `locationName:"sourceAncillaryChannelNumber" type:"integer"` +} + +// String returns the string representation +func (s AncillarySourceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AncillarySourceSettings) GoString() string { + return s.String() +} + +// SetSourceAncillaryChannelNumber sets the SourceAncillaryChannelNumber field's value. +func (s *AncillarySourceSettings) SetSourceAncillaryChannelNumber(v int64) *AncillarySourceSettings { + s.SourceAncillaryChannelNumber = &v + return s +} + +// Audio codec settings (CodecSettings) under (AudioDescriptions) contains the +// group of settings related to audio encoding. The settings in this group vary +// depending on the value you choose for Audio codec (Codec). For each codec +// enum you choose, define the corresponding settings object. The following +// lists the codec enum, settings object pairs. * AAC, AacSettings * MP2, Mp2Settings +// * WAV, WavSettings * AIFF, AiffSettings * AC3, Ac3Settings * EAC3, Eac3Settings +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AudioCodecSettings +type AudioCodecSettings struct { + _ struct{} `type:"structure"` + + // Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to + // the value AAC. + AacSettings *AacSettings `locationName:"aacSettings" type:"structure"` + + // Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to + // the value AC3. + Ac3Settings *Ac3Settings `locationName:"ac3Settings" type:"structure"` + + // Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to + // the value AIFF. + AiffSettings *AiffSettings `locationName:"aiffSettings" type:"structure"` + + // Type of Audio codec. + Codec *string `locationName:"codec" type:"string" enum:"AudioCodec"` + + // Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to + // the value EAC3. + Eac3Settings *Eac3Settings `locationName:"eac3Settings" type:"structure"` + + // Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to + // the value MP2. + Mp2Settings *Mp2Settings `locationName:"mp2Settings" type:"structure"` + + // Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to + // the value WAV. + WavSettings *WavSettings `locationName:"wavSettings" type:"structure"` +} + +// String returns the string representation +func (s AudioCodecSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AudioCodecSettings) GoString() string { + return s.String() +} + +// SetAacSettings sets the AacSettings field's value. +func (s *AudioCodecSettings) SetAacSettings(v *AacSettings) *AudioCodecSettings { + s.AacSettings = v + return s +} + +// SetAc3Settings sets the Ac3Settings field's value. +func (s *AudioCodecSettings) SetAc3Settings(v *Ac3Settings) *AudioCodecSettings { + s.Ac3Settings = v + return s +} + +// SetAiffSettings sets the AiffSettings field's value. +func (s *AudioCodecSettings) SetAiffSettings(v *AiffSettings) *AudioCodecSettings { + s.AiffSettings = v + return s +} + +// SetCodec sets the Codec field's value. +func (s *AudioCodecSettings) SetCodec(v string) *AudioCodecSettings { + s.Codec = &v + return s +} + +// SetEac3Settings sets the Eac3Settings field's value. +func (s *AudioCodecSettings) SetEac3Settings(v *Eac3Settings) *AudioCodecSettings { + s.Eac3Settings = v + return s +} + +// SetMp2Settings sets the Mp2Settings field's value. +func (s *AudioCodecSettings) SetMp2Settings(v *Mp2Settings) *AudioCodecSettings { + s.Mp2Settings = v + return s +} + +// SetWavSettings sets the WavSettings field's value. +func (s *AudioCodecSettings) SetWavSettings(v *WavSettings) *AudioCodecSettings { + s.WavSettings = v + return s +} + +// Description of audio output +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AudioDescription +type AudioDescription struct { + _ struct{} `type:"structure"` + + // Settings for Audio Normalization + AudioNormalizationSettings *AudioNormalizationSettings `locationName:"audioNormalizationSettings" type:"structure"` + + // Specifies which audio data to use from each input. In the simplest case, + // specify an "Audio Selector":#inputs-audio_selector by name based on its order + // within each input. For example if you specify "Audio Selector 3", then the + // third audio selector will be used from each input. If an input does not have + // an "Audio Selector 3", then the audio selector marked as "default" in that + // input will be used. If there is no audio selector marked as "default", silence + // will be inserted for the duration of that input. Alternatively, an "Audio + // Selector Group":#inputs-audio_selector_group name may be specified, with + // similar default/silence behavior. If no audio_source_name is specified, then + // "Audio Selector 1" will be chosen automatically. + AudioSourceName *string `locationName:"audioSourceName" type:"string"` + + // Applies only if Follow Input Audio Type is unchecked (false). A number between + // 0 and 255. The following are defined in ISO-IEC 13818-1: 0 = Undefined, 1 + // = Clean Effects, 2 = Hearing Impaired, 3 = Visually Impaired Commentary, + // 4-255 = Reserved. + AudioType *int64 `locationName:"audioType" type:"integer"` + + // When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then + // that value is passed through to the output. If the input contains no ISO + // 639 audio_type, the value in Audio Type is included in the output. Otherwise + // the value in Audio Type is included in the output. Note that this field and + // audioType are both ignored if audioDescriptionBroadcasterMix is set to BROADCASTER_MIXED_AD. + AudioTypeControl *string `locationName:"audioTypeControl" type:"string" enum:"AudioTypeControl"` + + // Audio codec settings (CodecSettings) under (AudioDescriptions) contains the + // group of settings related to audio encoding. The settings in this group vary + // depending on the value you choose for Audio codec (Codec). For each codec + // enum you choose, define the corresponding settings object. The following + // lists the codec enum, settings object pairs. * AAC, AacSettings * MP2, Mp2Settings + // * WAV, WavSettings * AIFF, AiffSettings * AC3, Ac3Settings * EAC3, Eac3Settings + CodecSettings *AudioCodecSettings `locationName:"codecSettings" type:"structure"` + + // Indicates the language of the audio output track. The ISO 639 language specified + // in the 'Language Code' drop down will be used when 'Follow Input Language + // Code' is not selected or when 'Follow Input Language Code' is selected but + // there is no ISO 639 language code specified by the input. + LanguageCode *string `locationName:"languageCode" type:"string" enum:"LanguageCode"` + + // Choosing FOLLOW_INPUT will cause the ISO 639 language code of the output + // to follow the ISO 639 language code of the input. The language specified + // for languageCode' will be used when USE_CONFIGURED is selected or when FOLLOW_INPUT + // is selected but there is no ISO 639 language code specified by the input. + LanguageCodeControl *string `locationName:"languageCodeControl" type:"string" enum:"AudioLanguageCodeControl"` + + // Advanced audio remixing settings. + RemixSettings *RemixSettings `locationName:"remixSettings" type:"structure"` + + // Used for MS Smooth and Apple HLS outputs. Indicates the name displayed by + // the player (eg. English, or Director Commentary). Alphanumeric characters, + // spaces, and underscore are legal. + StreamName *string `locationName:"streamName" type:"string"` +} + +// String returns the string representation +func (s AudioDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AudioDescription) GoString() string { + return s.String() +} + +// SetAudioNormalizationSettings sets the AudioNormalizationSettings field's value. +func (s *AudioDescription) SetAudioNormalizationSettings(v *AudioNormalizationSettings) *AudioDescription { + s.AudioNormalizationSettings = v + return s +} + +// SetAudioSourceName sets the AudioSourceName field's value. +func (s *AudioDescription) SetAudioSourceName(v string) *AudioDescription { + s.AudioSourceName = &v + return s +} + +// SetAudioType sets the AudioType field's value. +func (s *AudioDescription) SetAudioType(v int64) *AudioDescription { + s.AudioType = &v + return s +} + +// SetAudioTypeControl sets the AudioTypeControl field's value. +func (s *AudioDescription) SetAudioTypeControl(v string) *AudioDescription { + s.AudioTypeControl = &v + return s +} + +// SetCodecSettings sets the CodecSettings field's value. +func (s *AudioDescription) SetCodecSettings(v *AudioCodecSettings) *AudioDescription { + s.CodecSettings = v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *AudioDescription) SetLanguageCode(v string) *AudioDescription { + s.LanguageCode = &v + return s +} + +// SetLanguageCodeControl sets the LanguageCodeControl field's value. +func (s *AudioDescription) SetLanguageCodeControl(v string) *AudioDescription { + s.LanguageCodeControl = &v + return s +} + +// SetRemixSettings sets the RemixSettings field's value. +func (s *AudioDescription) SetRemixSettings(v *RemixSettings) *AudioDescription { + s.RemixSettings = v + return s +} + +// SetStreamName sets the StreamName field's value. +func (s *AudioDescription) SetStreamName(v string) *AudioDescription { + s.StreamName = &v + return s +} + +// Advanced audio normalization settings. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AudioNormalizationSettings +type AudioNormalizationSettings struct { + _ struct{} `type:"structure"` + + // Audio normalization algorithm to use. 1770-1 conforms to the CALM Act specification, + // 1770-2 conforms to the EBU R-128 specification. + Algorithm *string `locationName:"algorithm" type:"string" enum:"AudioNormalizationAlgorithm"` + + // When enabled the output audio is corrected using the chosen algorithm. If + // disabled, the audio will be measured but not adjusted. + AlgorithmControl *string `locationName:"algorithmControl" type:"string" enum:"AudioNormalizationAlgorithmControl"` + + // Content measuring above this level will be corrected to the target level. + // Content measuring below this level will not be corrected. Gating only applies + // when not using real_time_correction. + CorrectionGateLevel *int64 `locationName:"correctionGateLevel" type:"integer"` + + // If set to LOG, log each output's audio track loudness to a CSV file. + LoudnessLogging *string `locationName:"loudnessLogging" type:"string" enum:"AudioNormalizationLoudnessLogging"` + + // If set to TRUE_PEAK, calculate and log the TruePeak for each output's audio + // track loudness. + PeakCalculation *string `locationName:"peakCalculation" type:"string" enum:"AudioNormalizationPeakCalculation"` + + // Target LKFS(loudness) to adjust volume to. If no value is entered, a default + // value will be used according to the chosen algorithm. The CALM Act (1770-1) + // recommends a target of -24 LKFS. The EBU R-128 specification (1770-2) recommends + // a target of -23 LKFS. + TargetLkfs *float64 `locationName:"targetLkfs" type:"double"` +} + +// String returns the string representation +func (s AudioNormalizationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AudioNormalizationSettings) GoString() string { + return s.String() +} + +// SetAlgorithm sets the Algorithm field's value. +func (s *AudioNormalizationSettings) SetAlgorithm(v string) *AudioNormalizationSettings { + s.Algorithm = &v + return s +} + +// SetAlgorithmControl sets the AlgorithmControl field's value. +func (s *AudioNormalizationSettings) SetAlgorithmControl(v string) *AudioNormalizationSettings { + s.AlgorithmControl = &v + return s +} + +// SetCorrectionGateLevel sets the CorrectionGateLevel field's value. +func (s *AudioNormalizationSettings) SetCorrectionGateLevel(v int64) *AudioNormalizationSettings { + s.CorrectionGateLevel = &v + return s +} + +// SetLoudnessLogging sets the LoudnessLogging field's value. +func (s *AudioNormalizationSettings) SetLoudnessLogging(v string) *AudioNormalizationSettings { + s.LoudnessLogging = &v + return s +} + +// SetPeakCalculation sets the PeakCalculation field's value. +func (s *AudioNormalizationSettings) SetPeakCalculation(v string) *AudioNormalizationSettings { + s.PeakCalculation = &v + return s +} + +// SetTargetLkfs sets the TargetLkfs field's value. +func (s *AudioNormalizationSettings) SetTargetLkfs(v float64) *AudioNormalizationSettings { + s.TargetLkfs = &v + return s +} + +// Selector for Audio +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AudioSelector +type AudioSelector struct { + _ struct{} `type:"structure"` + + // When an "Audio Description":#audio_description specifies an AudioSelector + // or AudioSelectorGroup for which no matching source is found in the input, + // then the audio selector marked as DEFAULT will be used. If none are marked + // as default, silence will be inserted for the duration of the input. + DefaultSelection *string `locationName:"defaultSelection" type:"string" enum:"AudioDefaultSelection"` + + // Specifies audio data from an external file source. Auto populated when Infer + // External Filename is checked + ExternalAudioFileInput *string `locationName:"externalAudioFileInput" type:"string"` + + // Selects a specific language code from within an audio source. + LanguageCode *string `locationName:"languageCode" type:"string" enum:"LanguageCode"` + + // Specifies a time delta in milliseconds to offset the audio from the input + // video. + Offset *int64 `locationName:"offset" type:"integer"` + + // Selects a specific PID from within an audio source (e.g. 257 selects PID + // 0x101). + Pids []*int64 `locationName:"pids" type:"list"` + + // Applies only when input streams contain Dolby E. Enter the program ID (according + // to the metadata in the audio) of the Dolby E program to extract from the + // specified track. One program extracted per audio selector. To select multiple + // programs, create multiple selectors with the same Track and different Program + // numbers. "All channels" means to ignore the program IDs and include all the + // channels in this selector; useful if metadata is known to be incorrect. + ProgramSelection *int64 `locationName:"programSelection" type:"integer"` + + // Advanced audio remixing settings. + RemixSettings *RemixSettings `locationName:"remixSettings" type:"structure"` + + // Specifies the type of the audio selector. + SelectorType *string `locationName:"selectorType" type:"string" enum:"AudioSelectorType"` + + // Identify the channel to include in this selector by entering the 1-based + // track index. To combine several tracks, enter a comma-separated list, e.g. + // "1,2,3" for tracks 1-3. + Tracks []*int64 `locationName:"tracks" type:"list"` +} + +// String returns the string representation +func (s AudioSelector) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AudioSelector) GoString() string { + return s.String() +} + +// SetDefaultSelection sets the DefaultSelection field's value. +func (s *AudioSelector) SetDefaultSelection(v string) *AudioSelector { + s.DefaultSelection = &v + return s +} + +// SetExternalAudioFileInput sets the ExternalAudioFileInput field's value. +func (s *AudioSelector) SetExternalAudioFileInput(v string) *AudioSelector { + s.ExternalAudioFileInput = &v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *AudioSelector) SetLanguageCode(v string) *AudioSelector { + s.LanguageCode = &v + return s +} + +// SetOffset sets the Offset field's value. +func (s *AudioSelector) SetOffset(v int64) *AudioSelector { + s.Offset = &v + return s +} + +// SetPids sets the Pids field's value. +func (s *AudioSelector) SetPids(v []*int64) *AudioSelector { + s.Pids = v + return s +} + +// SetProgramSelection sets the ProgramSelection field's value. +func (s *AudioSelector) SetProgramSelection(v int64) *AudioSelector { + s.ProgramSelection = &v + return s +} + +// SetRemixSettings sets the RemixSettings field's value. +func (s *AudioSelector) SetRemixSettings(v *RemixSettings) *AudioSelector { + s.RemixSettings = v + return s +} + +// SetSelectorType sets the SelectorType field's value. +func (s *AudioSelector) SetSelectorType(v string) *AudioSelector { + s.SelectorType = &v + return s +} + +// SetTracks sets the Tracks field's value. +func (s *AudioSelector) SetTracks(v []*int64) *AudioSelector { + s.Tracks = v + return s +} + +// Group of Audio Selectors +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AudioSelectorGroup +type AudioSelectorGroup struct { + _ struct{} `type:"structure"` + + // Name of an "Audio Selector":#inputs-audio_selector within the same input + // to include in the group. Audio selector names are standardized, based on + // their order within the input (e.g. "Audio Selector 1"). The audio_selector_name + // parameter can be repeated to add any number of audio selectors to the group. + AudioSelectorNames []*string `locationName:"audioSelectorNames" type:"list"` +} + +// String returns the string representation +func (s AudioSelectorGroup) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AudioSelectorGroup) GoString() string { + return s.String() +} + +// SetAudioSelectorNames sets the AudioSelectorNames field's value. +func (s *AudioSelectorGroup) SetAudioSelectorNames(v []*string) *AudioSelectorGroup { + s.AudioSelectorNames = v + return s +} + +// Settings for Avail Blanking +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AvailBlanking +type AvailBlanking struct { + _ struct{} `type:"structure"` + + // Blanking image to be used. Leave empty for solid black. Only bmp and png + // images are supported. + AvailBlankingImage *string `locationName:"availBlankingImage" type:"string"` +} + +// String returns the string representation +func (s AvailBlanking) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AvailBlanking) GoString() string { + return s.String() +} + +// SetAvailBlankingImage sets the AvailBlankingImage field's value. +func (s *AvailBlanking) SetAvailBlankingImage(v string) *AvailBlanking { + s.AvailBlankingImage = &v + return s +} + +// Burn-In Destination Settings. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/BurninDestinationSettings +type BurninDestinationSettings struct { + _ struct{} `type:"structure"` + + // If no explicit x_position or y_position is provided, setting alignment to + // centered will place the captions at the bottom center of the output. Similarly, + // setting a left alignment will align captions to the bottom left of the output. + // If x and y positions are given in conjunction with the alignment parameter, + // the font will be justified (either left or centered) relative to those coordinates. + // This option is not valid for source captions that are STL, 608/embedded or + // teletext. These source settings are already pre-defined by the caption stream. + // All burn-in and DVB-Sub font settings must match. + Alignment *string `locationName:"alignment" type:"string" enum:"BurninSubtitleAlignment"` + + // Specifies the color of the rectangle behind the captions.All burn-in and + // DVB-Sub font settings must match. + BackgroundColor *string `locationName:"backgroundColor" type:"string" enum:"BurninSubtitleBackgroundColor"` + + // Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. + // Leaving this parameter blank is equivalent to setting it to 0 (transparent). + // All burn-in and DVB-Sub font settings must match. + BackgroundOpacity *int64 `locationName:"backgroundOpacity" type:"integer"` + + // Specifies the color of the burned-in captions. This option is not valid for + // source captions that are STL, 608/embedded or teletext. These source settings + // are already pre-defined by the caption stream. All burn-in and DVB-Sub font + // settings must match. + FontColor *string `locationName:"fontColor" type:"string" enum:"BurninSubtitleFontColor"` + + // Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent.All + // burn-in and DVB-Sub font settings must match. + FontOpacity *int64 `locationName:"fontOpacity" type:"integer"` + + // Font resolution in DPI (dots per inch); default is 96 dpi.All burn-in and + // DVB-Sub font settings must match. + FontResolution *int64 `locationName:"fontResolution" type:"integer"` + + // A positive integer indicates the exact font size in points. Set to 0 for + // automatic font size selection. All burn-in and DVB-Sub font settings must + // match. + FontSize *int64 `locationName:"fontSize" type:"integer"` + + // Specifies font outline color. This option is not valid for source captions + // that are either 608/embedded or teletext. These source settings are already + // pre-defined by the caption stream. All burn-in and DVB-Sub font settings + // must match. + OutlineColor *string `locationName:"outlineColor" type:"string" enum:"BurninSubtitleOutlineColor"` + + // Specifies font outline size in pixels. This option is not valid for source + // captions that are either 608/embedded or teletext. These source settings + // are already pre-defined by the caption stream. All burn-in and DVB-Sub font + // settings must match. + OutlineSize *int64 `locationName:"outlineSize" type:"integer"` + + // Specifies the color of the shadow cast by the captions.All burn-in and DVB-Sub + // font settings must match. + ShadowColor *string `locationName:"shadowColor" type:"string" enum:"BurninSubtitleShadowColor"` + + // Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving + // this parameter blank is equivalent to setting it to 0 (transparent). All + // burn-in and DVB-Sub font settings must match. + ShadowOpacity *int64 `locationName:"shadowOpacity" type:"integer"` + + // Specifies the horizontal offset of the shadow relative to the captions in + // pixels. A value of -2 would result in a shadow offset 2 pixels to the left. + // All burn-in and DVB-Sub font settings must match. + ShadowXOffset *int64 `locationName:"shadowXOffset" type:"integer"` + + // Specifies the vertical offset of the shadow relative to the captions in pixels. + // A value of -2 would result in a shadow offset 2 pixels above the text. All + // burn-in and DVB-Sub font settings must match. + ShadowYOffset *int64 `locationName:"shadowYOffset" type:"integer"` + + // Controls whether a fixed grid size or proportional font spacing will be used + // to generate the output subtitles bitmap. Only applicable for Teletext inputs + // and DVB-Sub/Burn-in outputs. + TeletextSpacing *string `locationName:"teletextSpacing" type:"string" enum:"BurninSubtitleTeletextSpacing"` + + // Specifies the horizontal position of the caption relative to the left side + // of the output in pixels. A value of 10 would result in the captions starting + // 10 pixels from the left of the output. If no explicit x_position is provided, + // the horizontal caption position will be determined by the alignment parameter. + // This option is not valid for source captions that are STL, 608/embedded or + // teletext. These source settings are already pre-defined by the caption stream. + // All burn-in and DVB-Sub font settings must match. + XPosition *int64 `locationName:"xPosition" type:"integer"` + + // Specifies the vertical position of the caption relative to the top of the + // output in pixels. A value of 10 would result in the captions starting 10 + // pixels from the top of the output. If no explicit y_position is provided, + // the caption will be positioned towards the bottom of the output. This option + // is not valid for source captions that are STL, 608/embedded or teletext. + // These source settings are already pre-defined by the caption stream. All + // burn-in and DVB-Sub font settings must match. + YPosition *int64 `locationName:"yPosition" type:"integer"` +} + +// String returns the string representation +func (s BurninDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BurninDestinationSettings) GoString() string { + return s.String() +} + +// SetAlignment sets the Alignment field's value. +func (s *BurninDestinationSettings) SetAlignment(v string) *BurninDestinationSettings { + s.Alignment = &v + return s +} + +// SetBackgroundColor sets the BackgroundColor field's value. +func (s *BurninDestinationSettings) SetBackgroundColor(v string) *BurninDestinationSettings { + s.BackgroundColor = &v + return s +} + +// SetBackgroundOpacity sets the BackgroundOpacity field's value. +func (s *BurninDestinationSettings) SetBackgroundOpacity(v int64) *BurninDestinationSettings { + s.BackgroundOpacity = &v + return s +} + +// SetFontColor sets the FontColor field's value. +func (s *BurninDestinationSettings) SetFontColor(v string) *BurninDestinationSettings { + s.FontColor = &v + return s +} + +// SetFontOpacity sets the FontOpacity field's value. +func (s *BurninDestinationSettings) SetFontOpacity(v int64) *BurninDestinationSettings { + s.FontOpacity = &v + return s +} + +// SetFontResolution sets the FontResolution field's value. +func (s *BurninDestinationSettings) SetFontResolution(v int64) *BurninDestinationSettings { + s.FontResolution = &v + return s +} + +// SetFontSize sets the FontSize field's value. +func (s *BurninDestinationSettings) SetFontSize(v int64) *BurninDestinationSettings { + s.FontSize = &v + return s +} + +// SetOutlineColor sets the OutlineColor field's value. +func (s *BurninDestinationSettings) SetOutlineColor(v string) *BurninDestinationSettings { + s.OutlineColor = &v + return s +} + +// SetOutlineSize sets the OutlineSize field's value. +func (s *BurninDestinationSettings) SetOutlineSize(v int64) *BurninDestinationSettings { + s.OutlineSize = &v + return s +} + +// SetShadowColor sets the ShadowColor field's value. +func (s *BurninDestinationSettings) SetShadowColor(v string) *BurninDestinationSettings { + s.ShadowColor = &v + return s +} + +// SetShadowOpacity sets the ShadowOpacity field's value. +func (s *BurninDestinationSettings) SetShadowOpacity(v int64) *BurninDestinationSettings { + s.ShadowOpacity = &v + return s +} + +// SetShadowXOffset sets the ShadowXOffset field's value. +func (s *BurninDestinationSettings) SetShadowXOffset(v int64) *BurninDestinationSettings { + s.ShadowXOffset = &v + return s +} + +// SetShadowYOffset sets the ShadowYOffset field's value. +func (s *BurninDestinationSettings) SetShadowYOffset(v int64) *BurninDestinationSettings { + s.ShadowYOffset = &v + return s +} + +// SetTeletextSpacing sets the TeletextSpacing field's value. +func (s *BurninDestinationSettings) SetTeletextSpacing(v string) *BurninDestinationSettings { + s.TeletextSpacing = &v + return s +} + +// SetXPosition sets the XPosition field's value. +func (s *BurninDestinationSettings) SetXPosition(v int64) *BurninDestinationSettings { + s.XPosition = &v + return s +} + +// SetYPosition sets the YPosition field's value. +func (s *BurninDestinationSettings) SetYPosition(v int64) *BurninDestinationSettings { + s.YPosition = &v + return s +} + +// Cancel a job by sending a request with the job ID +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CancelJobRequest +type CancelJobInput struct { + _ struct{} `type:"structure"` + + // The Job ID of the job to be cancelled. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` +} + +// String returns the string representation +func (s CancelJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CancelJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelJobInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *CancelJobInput) SetId(v string) *CancelJobInput { + s.Id = &v + return s +} + +// A cancel job request will receive a response with an empty body. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CancelJobResponse +type CancelJobOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s CancelJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CancelJobOutput) GoString() string { + return s.String() +} + +// Description of Caption output +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CaptionDescription +type CaptionDescription struct { + _ struct{} `type:"structure"` + + // Specifies which "Caption Selector":#inputs-caption_selector to use from each + // input when generating captions. The name should be of the format "Caption + // Selector ", which denotes that the Nth Caption Selector will be used from + // each input. + CaptionSelectorName *string `locationName:"captionSelectorName" type:"string"` + + // Specific settings required by destination type. Note that burnin_destination_settings + // are not available if the source of the caption data is Embedded or Teletext. + DestinationSettings *CaptionDestinationSettings `locationName:"destinationSettings" type:"structure"` + + // Indicates the language of the caption output track. + LanguageCode *string `locationName:"languageCode" type:"string" enum:"LanguageCode"` + + // Human readable information to indicate captions available for players (eg. + // English, or Spanish). Alphanumeric characters, spaces, and underscore are + // legal. + LanguageDescription *string `locationName:"languageDescription" type:"string"` +} + +// String returns the string representation +func (s CaptionDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CaptionDescription) GoString() string { + return s.String() +} + +// SetCaptionSelectorName sets the CaptionSelectorName field's value. +func (s *CaptionDescription) SetCaptionSelectorName(v string) *CaptionDescription { + s.CaptionSelectorName = &v + return s +} + +// SetDestinationSettings sets the DestinationSettings field's value. +func (s *CaptionDescription) SetDestinationSettings(v *CaptionDestinationSettings) *CaptionDescription { + s.DestinationSettings = v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *CaptionDescription) SetLanguageCode(v string) *CaptionDescription { + s.LanguageCode = &v + return s +} + +// SetLanguageDescription sets the LanguageDescription field's value. +func (s *CaptionDescription) SetLanguageDescription(v string) *CaptionDescription { + s.LanguageDescription = &v + return s +} + +// Caption Description for preset +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CaptionDescriptionPreset +type CaptionDescriptionPreset struct { + _ struct{} `type:"structure"` + + // Specific settings required by destination type. Note that burnin_destination_settings + // are not available if the source of the caption data is Embedded or Teletext. + DestinationSettings *CaptionDestinationSettings `locationName:"destinationSettings" type:"structure"` + + // Indicates the language of the caption output track. + LanguageCode *string `locationName:"languageCode" type:"string" enum:"LanguageCode"` + + // Human readable information to indicate captions available for players (eg. + // English, or Spanish). Alphanumeric characters, spaces, and underscore are + // legal. + LanguageDescription *string `locationName:"languageDescription" type:"string"` +} + +// String returns the string representation +func (s CaptionDescriptionPreset) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CaptionDescriptionPreset) GoString() string { + return s.String() +} + +// SetDestinationSettings sets the DestinationSettings field's value. +func (s *CaptionDescriptionPreset) SetDestinationSettings(v *CaptionDestinationSettings) *CaptionDescriptionPreset { + s.DestinationSettings = v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *CaptionDescriptionPreset) SetLanguageCode(v string) *CaptionDescriptionPreset { + s.LanguageCode = &v + return s +} + +// SetLanguageDescription sets the LanguageDescription field's value. +func (s *CaptionDescriptionPreset) SetLanguageDescription(v string) *CaptionDescriptionPreset { + s.LanguageDescription = &v + return s +} + +// Specific settings required by destination type. Note that burnin_destination_settings +// are not available if the source of the caption data is Embedded or Teletext. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CaptionDestinationSettings +type CaptionDestinationSettings struct { + _ struct{} `type:"structure"` + + // Burn-In Destination Settings. + BurninDestinationSettings *BurninDestinationSettings `locationName:"burninDestinationSettings" type:"structure"` + + // Type of Caption output, including Burn-In, Embedded, SCC, SRT, TTML, WebVTT, + // DVB-Sub, Teletext. + DestinationType *string `locationName:"destinationType" type:"string" enum:"CaptionDestinationType"` + + // DVB-Sub Destination Settings + DvbSubDestinationSettings *DvbSubDestinationSettings `locationName:"dvbSubDestinationSettings" type:"structure"` + + // Settings for SCC caption output. + SccDestinationSettings *SccDestinationSettings `locationName:"sccDestinationSettings" type:"structure"` + + // Settings for Teletext caption output + TeletextDestinationSettings *TeletextDestinationSettings `locationName:"teletextDestinationSettings" type:"structure"` + + // Settings specific to TTML caption outputs, including Pass style information + // (TtmlStylePassthrough). + TtmlDestinationSettings *TtmlDestinationSettings `locationName:"ttmlDestinationSettings" type:"structure"` +} + +// String returns the string representation +func (s CaptionDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CaptionDestinationSettings) GoString() string { + return s.String() +} + +// SetBurninDestinationSettings sets the BurninDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetBurninDestinationSettings(v *BurninDestinationSettings) *CaptionDestinationSettings { + s.BurninDestinationSettings = v + return s +} + +// SetDestinationType sets the DestinationType field's value. +func (s *CaptionDestinationSettings) SetDestinationType(v string) *CaptionDestinationSettings { + s.DestinationType = &v + return s +} + +// SetDvbSubDestinationSettings sets the DvbSubDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetDvbSubDestinationSettings(v *DvbSubDestinationSettings) *CaptionDestinationSettings { + s.DvbSubDestinationSettings = v + return s +} + +// SetSccDestinationSettings sets the SccDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetSccDestinationSettings(v *SccDestinationSettings) *CaptionDestinationSettings { + s.SccDestinationSettings = v + return s +} + +// SetTeletextDestinationSettings sets the TeletextDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetTeletextDestinationSettings(v *TeletextDestinationSettings) *CaptionDestinationSettings { + s.TeletextDestinationSettings = v + return s +} + +// SetTtmlDestinationSettings sets the TtmlDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetTtmlDestinationSettings(v *TtmlDestinationSettings) *CaptionDestinationSettings { + s.TtmlDestinationSettings = v + return s +} + +// Caption inputs to be mapped to caption outputs. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CaptionSelector +type CaptionSelector struct { + _ struct{} `type:"structure"` + + // The specific language to extract from source. If input is SCTE-27, complete + // this field and/or PID to select the caption language to extract. If input + // is DVB-Sub and output is Burn-in or SMPTE-TT, complete this field and/or + // PID to select the caption language to extract. If input is DVB-Sub that is + // being passed through, omit this field (and PID field); there is no way to + // extract a specific language with pass-through captions. + LanguageCode *string `locationName:"languageCode" type:"string" enum:"LanguageCode"` + + // Source settings (SourceSettings) contains the group of settings for captions + // in the input. + SourceSettings *CaptionSourceSettings `locationName:"sourceSettings" type:"structure"` +} + +// String returns the string representation +func (s CaptionSelector) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CaptionSelector) GoString() string { + return s.String() +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *CaptionSelector) SetLanguageCode(v string) *CaptionSelector { + s.LanguageCode = &v + return s +} + +// SetSourceSettings sets the SourceSettings field's value. +func (s *CaptionSelector) SetSourceSettings(v *CaptionSourceSettings) *CaptionSelector { + s.SourceSettings = v + return s +} + +// Source settings (SourceSettings) contains the group of settings for captions +// in the input. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CaptionSourceSettings +type CaptionSourceSettings struct { + _ struct{} `type:"structure"` + + // Settings for ancillary captions source. + AncillarySourceSettings *AncillarySourceSettings `locationName:"ancillarySourceSettings" type:"structure"` + + // DVB Sub Source Settings + DvbSubSourceSettings *DvbSubSourceSettings `locationName:"dvbSubSourceSettings" type:"structure"` + + // Settings for embedded captions Source + EmbeddedSourceSettings *EmbeddedSourceSettings `locationName:"embeddedSourceSettings" type:"structure"` + + // Settings for File-based Captions in Source + FileSourceSettings *FileSourceSettings `locationName:"fileSourceSettings" type:"structure"` + + // Use Source (SourceType) to identify the format of your input captions. The + // service cannot auto-detect caption format. + SourceType *string `locationName:"sourceType" type:"string" enum:"CaptionSourceType"` + + // Settings specific to Teletext caption sources, including Page number. + TeletextSourceSettings *TeletextSourceSettings `locationName:"teletextSourceSettings" type:"structure"` +} + +// String returns the string representation +func (s CaptionSourceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CaptionSourceSettings) GoString() string { + return s.String() +} + +// SetAncillarySourceSettings sets the AncillarySourceSettings field's value. +func (s *CaptionSourceSettings) SetAncillarySourceSettings(v *AncillarySourceSettings) *CaptionSourceSettings { + s.AncillarySourceSettings = v + return s +} + +// SetDvbSubSourceSettings sets the DvbSubSourceSettings field's value. +func (s *CaptionSourceSettings) SetDvbSubSourceSettings(v *DvbSubSourceSettings) *CaptionSourceSettings { + s.DvbSubSourceSettings = v + return s +} + +// SetEmbeddedSourceSettings sets the EmbeddedSourceSettings field's value. +func (s *CaptionSourceSettings) SetEmbeddedSourceSettings(v *EmbeddedSourceSettings) *CaptionSourceSettings { + s.EmbeddedSourceSettings = v + return s +} + +// SetFileSourceSettings sets the FileSourceSettings field's value. +func (s *CaptionSourceSettings) SetFileSourceSettings(v *FileSourceSettings) *CaptionSourceSettings { + s.FileSourceSettings = v + return s +} + +// SetSourceType sets the SourceType field's value. +func (s *CaptionSourceSettings) SetSourceType(v string) *CaptionSourceSettings { + s.SourceType = &v + return s +} + +// SetTeletextSourceSettings sets the TeletextSourceSettings field's value. +func (s *CaptionSourceSettings) SetTeletextSourceSettings(v *TeletextSourceSettings) *CaptionSourceSettings { + s.TeletextSourceSettings = v + return s +} + +// Channel mapping (ChannelMapping) contains the group of fields that hold the +// remixing value for each channel. Units are in dB. Acceptable values are within +// the range from -60 (mute) through 6. A setting of 0 passes the input channel +// unchanged to the output channel (no attenuation or amplification). +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ChannelMapping +type ChannelMapping struct { + _ struct{} `type:"structure"` + + // List of output channels + OutputChannels []*OutputChannelMapping `locationName:"outputChannels" type:"list"` +} + +// String returns the string representation +func (s ChannelMapping) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ChannelMapping) GoString() string { + return s.String() +} + +// SetOutputChannels sets the OutputChannels field's value. +func (s *ChannelMapping) SetOutputChannels(v []*OutputChannelMapping) *ChannelMapping { + s.OutputChannels = v + return s +} + +// Settings for color correction. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ColorCorrector +type ColorCorrector struct { + _ struct{} `type:"structure"` + + // Brightness level. + Brightness *int64 `locationName:"brightness" type:"integer"` + + // Determines if colorspace conversion will be performed. If set to _None_, + // no conversion will be performed. If _Force 601_ or _Force 709_ are selected, + // conversion will be performed for inputs with differing colorspaces. An input's + // colorspace can be specified explicitly in the "Video Selector":#inputs-video_selector + // if necessary. + ColorSpaceConversion *string `locationName:"colorSpaceConversion" type:"string" enum:"ColorSpaceConversion"` + + // Contrast level. + Contrast *int64 `locationName:"contrast" type:"integer"` + + // Use the HDR master display (Hdr10Metadata) settings to provide values for + // HDR color. These values vary depending on the input video and must be provided + // by a color grader. Range is 0 to 50,000, each increment represents 0.00002 + // in CIE1931 color coordinate. + Hdr10Metadata *Hdr10Metadata `locationName:"hdr10Metadata" type:"structure"` + + // Hue in degrees. + Hue *int64 `locationName:"hue" type:"integer"` + + // Saturation level. + Saturation *int64 `locationName:"saturation" type:"integer"` +} + +// String returns the string representation +func (s ColorCorrector) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ColorCorrector) GoString() string { + return s.String() +} + +// SetBrightness sets the Brightness field's value. +func (s *ColorCorrector) SetBrightness(v int64) *ColorCorrector { + s.Brightness = &v + return s +} + +// SetColorSpaceConversion sets the ColorSpaceConversion field's value. +func (s *ColorCorrector) SetColorSpaceConversion(v string) *ColorCorrector { + s.ColorSpaceConversion = &v + return s +} + +// SetContrast sets the Contrast field's value. +func (s *ColorCorrector) SetContrast(v int64) *ColorCorrector { + s.Contrast = &v + return s +} + +// SetHdr10Metadata sets the Hdr10Metadata field's value. +func (s *ColorCorrector) SetHdr10Metadata(v *Hdr10Metadata) *ColorCorrector { + s.Hdr10Metadata = v + return s +} + +// SetHue sets the Hue field's value. +func (s *ColorCorrector) SetHue(v int64) *ColorCorrector { + s.Hue = &v + return s +} + +// SetSaturation sets the Saturation field's value. +func (s *ColorCorrector) SetSaturation(v int64) *ColorCorrector { + s.Saturation = &v + return s +} + +// Container specific settings. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ContainerSettings +type ContainerSettings struct { + _ struct{} `type:"structure"` + + // Container for this output. Some containers require a container settings object. + // If not specified, the default object will be created. + Container *string `locationName:"container" type:"string" enum:"ContainerType"` + + // Settings for F4v container + F4vSettings *F4vSettings `locationName:"f4vSettings" type:"structure"` + + // Settings for M2TS Container. + M2tsSettings *M2tsSettings `locationName:"m2tsSettings" type:"structure"` + + // Settings for TS segments in HLS + M3u8Settings *M3u8Settings `locationName:"m3u8Settings" type:"structure"` + + // Settings for MOV Container. + MovSettings *MovSettings `locationName:"movSettings" type:"structure"` + + // Settings for MP4 Container + Mp4Settings *Mp4Settings `locationName:"mp4Settings" type:"structure"` +} + +// String returns the string representation +func (s ContainerSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ContainerSettings) GoString() string { + return s.String() +} + +// SetContainer sets the Container field's value. +func (s *ContainerSettings) SetContainer(v string) *ContainerSettings { + s.Container = &v + return s +} + +// SetF4vSettings sets the F4vSettings field's value. +func (s *ContainerSettings) SetF4vSettings(v *F4vSettings) *ContainerSettings { + s.F4vSettings = v + return s +} + +// SetM2tsSettings sets the M2tsSettings field's value. +func (s *ContainerSettings) SetM2tsSettings(v *M2tsSettings) *ContainerSettings { + s.M2tsSettings = v + return s +} + +// SetM3u8Settings sets the M3u8Settings field's value. +func (s *ContainerSettings) SetM3u8Settings(v *M3u8Settings) *ContainerSettings { + s.M3u8Settings = v + return s +} + +// SetMovSettings sets the MovSettings field's value. +func (s *ContainerSettings) SetMovSettings(v *MovSettings) *ContainerSettings { + s.MovSettings = v + return s +} + +// SetMp4Settings sets the Mp4Settings field's value. +func (s *ContainerSettings) SetMp4Settings(v *Mp4Settings) *ContainerSettings { + s.Mp4Settings = v + return s +} + +// Send your create job request with your job settings and IAM role. Optionally, +// include user metadata and the ARN for the queue. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJobRequest +type CreateJobInput struct { + _ struct{} `type:"structure"` + + // Idempotency token for CreateJob operation. + ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` + + // When you create a job, you can either specify a job template or specify the + // transcoding settings individually + JobTemplate *string `locationName:"jobTemplate" type:"string"` + + // Optional. When you create a job, you can specify a queue to send it to. If + // you don't specify, the job will go to the default queue. For more about queues, + // see the User Guide topic at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html. + Queue *string `locationName:"queue" type:"string"` + + // Required. The IAM role you use for creating this job. For details about permissions, + // see the User Guide topic at the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html. + Role *string `locationName:"role" type:"string"` + + // JobSettings contains all the transcode settings for a job. + Settings *JobSettings `locationName:"settings" type:"structure"` + + // User-defined metadata that you want to associate with an MediaConvert job. + // You specify metadata in key/value pairs. + UserMetadata map[string]*string `locationName:"userMetadata" type:"map"` +} + +// String returns the string representation +func (s CreateJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateJobInput) GoString() string { + return s.String() +} + +// SetClientRequestToken sets the ClientRequestToken field's value. +func (s *CreateJobInput) SetClientRequestToken(v string) *CreateJobInput { + s.ClientRequestToken = &v + return s +} + +// SetJobTemplate sets the JobTemplate field's value. +func (s *CreateJobInput) SetJobTemplate(v string) *CreateJobInput { + s.JobTemplate = &v + return s +} + +// SetQueue sets the Queue field's value. +func (s *CreateJobInput) SetQueue(v string) *CreateJobInput { + s.Queue = &v + return s +} + +// SetRole sets the Role field's value. +func (s *CreateJobInput) SetRole(v string) *CreateJobInput { + s.Role = &v + return s +} + +// SetSettings sets the Settings field's value. +func (s *CreateJobInput) SetSettings(v *JobSettings) *CreateJobInput { + s.Settings = v + return s +} + +// SetUserMetadata sets the UserMetadata field's value. +func (s *CreateJobInput) SetUserMetadata(v map[string]*string) *CreateJobInput { + s.UserMetadata = v + return s +} + +// Successful create job requests will return the job JSON. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJobResponse +type CreateJobOutput struct { + _ struct{} `type:"structure"` + + // Each job converts an input file into an output file or files. For more information, + // see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html + Job *Job `locationName:"job" type:"structure"` +} + +// String returns the string representation +func (s CreateJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateJobOutput) GoString() string { + return s.String() +} + +// SetJob sets the Job field's value. +func (s *CreateJobOutput) SetJob(v *Job) *CreateJobOutput { + s.Job = v + return s +} + +// Send your create job template request with the name of the template and the +// JSON for the template. The template JSON should include everything in a valid +// job, except for input location and filename, IAM role, and user metadata. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJobTemplateRequest +type CreateJobTemplateInput struct { + _ struct{} `type:"structure"` + + // Optional. A category for the job template you are creating + Category *string `locationName:"category" type:"string"` + + // Optional. A description of the job template you are creating. + Description *string `locationName:"description" type:"string"` + + // The name of the job template you are creating. + Name *string `locationName:"name" type:"string"` + + // Optional. The queue that jobs created from this template are assigned to. + // If you don't specify this, jobs will go to the default queue. + Queue *string `locationName:"queue" type:"string"` + + // JobTemplateSettings contains all the transcode settings saved in the template + // that will be applied to jobs created from it. + Settings *JobTemplateSettings `locationName:"settings" type:"structure"` +} + +// String returns the string representation +func (s CreateJobTemplateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateJobTemplateInput) GoString() string { + return s.String() +} + +// SetCategory sets the Category field's value. +func (s *CreateJobTemplateInput) SetCategory(v string) *CreateJobTemplateInput { + s.Category = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateJobTemplateInput) SetDescription(v string) *CreateJobTemplateInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateJobTemplateInput) SetName(v string) *CreateJobTemplateInput { + s.Name = &v + return s +} + +// SetQueue sets the Queue field's value. +func (s *CreateJobTemplateInput) SetQueue(v string) *CreateJobTemplateInput { + s.Queue = &v + return s +} + +// SetSettings sets the Settings field's value. +func (s *CreateJobTemplateInput) SetSettings(v *JobTemplateSettings) *CreateJobTemplateInput { + s.Settings = v + return s +} + +// Successful create job template requests will return the template JSON. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJobTemplateResponse +type CreateJobTemplateOutput struct { + _ struct{} `type:"structure"` + + // A job template is a pre-made set of encoding instructions that you can use + // to quickly create a job. + JobTemplate *JobTemplate `locationName:"jobTemplate" type:"structure"` +} + +// String returns the string representation +func (s CreateJobTemplateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateJobTemplateOutput) GoString() string { + return s.String() +} + +// SetJobTemplate sets the JobTemplate field's value. +func (s *CreateJobTemplateOutput) SetJobTemplate(v *JobTemplate) *CreateJobTemplateOutput { + s.JobTemplate = v + return s +} + +// Send your create preset request with the name of the preset and the JSON +// for the output settings specified by the preset. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreatePresetRequest +type CreatePresetInput struct { + _ struct{} `type:"structure"` + + // Optional. A category for the preset you are creating. + Category *string `locationName:"category" type:"string"` + + // Optional. A description of the preset you are creating. + Description *string `locationName:"description" type:"string"` + + // The name of the preset you are creating. + Name *string `locationName:"name" type:"string"` + + // Settings for preset + Settings *PresetSettings `locationName:"settings" type:"structure"` +} + +// String returns the string representation +func (s CreatePresetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreatePresetInput) GoString() string { + return s.String() +} + +// SetCategory sets the Category field's value. +func (s *CreatePresetInput) SetCategory(v string) *CreatePresetInput { + s.Category = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreatePresetInput) SetDescription(v string) *CreatePresetInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreatePresetInput) SetName(v string) *CreatePresetInput { + s.Name = &v + return s +} + +// SetSettings sets the Settings field's value. +func (s *CreatePresetInput) SetSettings(v *PresetSettings) *CreatePresetInput { + s.Settings = v + return s +} + +// Successful create preset requests will return the preset JSON. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreatePresetResponse +type CreatePresetOutput struct { + _ struct{} `type:"structure"` + + // A preset is a collection of preconfigured media conversion settings that + // you want MediaConvert to apply to the output during the conversion process. + Preset *Preset `locationName:"preset" type:"structure"` +} + +// String returns the string representation +func (s CreatePresetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreatePresetOutput) GoString() string { + return s.String() +} + +// SetPreset sets the Preset field's value. +func (s *CreatePresetOutput) SetPreset(v *Preset) *CreatePresetOutput { + s.Preset = v + return s +} + +// Send your create queue request with the name of the queue. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateQueueRequest +type CreateQueueInput struct { + _ struct{} `type:"structure"` + + // Optional. A description of the queue you are creating. + Description *string `locationName:"description" type:"string"` + + // The name of the queue you are creating. + Name *string `locationName:"name" type:"string"` +} + +// String returns the string representation +func (s CreateQueueInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateQueueInput) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *CreateQueueInput) SetDescription(v string) *CreateQueueInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateQueueInput) SetName(v string) *CreateQueueInput { + s.Name = &v + return s +} + +// Successful create queue requests will return the name of the queue you just +// created and information about it. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateQueueResponse +type CreateQueueOutput struct { + _ struct{} `type:"structure"` + + // MediaConvert jobs are submitted to a queue. Unless specified otherwise jobs + // are submitted to a built-in default queue. User can create additional queues + // to separate the jobs of different categories or priority. + Queue *Queue `locationName:"queue" type:"structure"` +} + +// String returns the string representation +func (s CreateQueueOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateQueueOutput) GoString() string { + return s.String() +} + +// SetQueue sets the Queue field's value. +func (s *CreateQueueOutput) SetQueue(v *Queue) *CreateQueueOutput { + s.Queue = v + return s +} + +// Specifies DRM settings for DASH outputs. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DashIsoEncryptionSettings +type DashIsoEncryptionSettings struct { + _ struct{} `type:"structure"` + + // Settings for use with a SPEKE key provider + SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure"` +} + +// String returns the string representation +func (s DashIsoEncryptionSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DashIsoEncryptionSettings) GoString() string { + return s.String() +} + +// SetSpekeKeyProvider sets the SpekeKeyProvider field's value. +func (s *DashIsoEncryptionSettings) SetSpekeKeyProvider(v *SpekeKeyProvider) *DashIsoEncryptionSettings { + s.SpekeKeyProvider = v + return s +} + +// Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to +// DASH_ISO_GROUP_SETTINGS. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DashIsoGroupSettings +type DashIsoGroupSettings struct { + _ struct{} `type:"structure"` + + // A partial URI prefix that will be put in the manifest (.mpd) file at the + // top level BaseURL element. Can be used if streams are delivered from a different + // URL than the manifest file. + BaseUrl *string `locationName:"baseUrl" type:"string"` + + // Use Destination (Destination) to specify the S3 output location and the output + // filename base. Destination accepts format identifiers. If you do not specify + // the base filename in the URI, the service will use the filename of the input + // file. If your job has multiple inputs, the service uses the filename of the + // first input file. + Destination *string `locationName:"destination" type:"string"` + + // DRM settings. + Encryption *DashIsoEncryptionSettings `locationName:"encryption" type:"structure"` + + // Length of fragments to generate (in seconds). Fragment length must be compatible + // with GOP size and Framerate. Note that fragments will end on the next keyframe + // after this number of seconds, so actual fragment length may be longer. When + // Emit Single File is checked, the fragmentation is internal to a single output + // file and it does not cause the creation of many output files as in other + // output types. + FragmentLength *int64 `locationName:"fragmentLength" type:"integer"` + + // Supports HbbTV specification as indicated + HbbtvCompliance *string `locationName:"hbbtvCompliance" type:"string" enum:"DashIsoHbbtvCompliance"` + + // Minimum time of initially buffered media that is needed to ensure smooth + // playout. + MinBufferTime *int64 `locationName:"minBufferTime" type:"integer"` + + // When set to SINGLE_FILE, a single output file is generated, which is internally + // segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, + // separate segment files will be created. + SegmentControl *string `locationName:"segmentControl" type:"string" enum:"DashIsoSegmentControl"` + + // Length of mpd segments to create (in seconds). Note that segments will end + // on the next keyframe after this number of seconds, so actual segment length + // may be longer. When Emit Single File is checked, the segmentation is internal + // to a single output file and it does not cause the creation of many output + // files as in other output types. + SegmentLength *int64 `locationName:"segmentLength" type:"integer"` +} + +// String returns the string representation +func (s DashIsoGroupSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DashIsoGroupSettings) GoString() string { + return s.String() +} + +// SetBaseUrl sets the BaseUrl field's value. +func (s *DashIsoGroupSettings) SetBaseUrl(v string) *DashIsoGroupSettings { + s.BaseUrl = &v + return s +} + +// SetDestination sets the Destination field's value. +func (s *DashIsoGroupSettings) SetDestination(v string) *DashIsoGroupSettings { + s.Destination = &v + return s +} + +// SetEncryption sets the Encryption field's value. +func (s *DashIsoGroupSettings) SetEncryption(v *DashIsoEncryptionSettings) *DashIsoGroupSettings { + s.Encryption = v + return s +} + +// SetFragmentLength sets the FragmentLength field's value. +func (s *DashIsoGroupSettings) SetFragmentLength(v int64) *DashIsoGroupSettings { + s.FragmentLength = &v + return s +} + +// SetHbbtvCompliance sets the HbbtvCompliance field's value. +func (s *DashIsoGroupSettings) SetHbbtvCompliance(v string) *DashIsoGroupSettings { + s.HbbtvCompliance = &v + return s +} + +// SetMinBufferTime sets the MinBufferTime field's value. +func (s *DashIsoGroupSettings) SetMinBufferTime(v int64) *DashIsoGroupSettings { + s.MinBufferTime = &v + return s +} + +// SetSegmentControl sets the SegmentControl field's value. +func (s *DashIsoGroupSettings) SetSegmentControl(v string) *DashIsoGroupSettings { + s.SegmentControl = &v + return s +} + +// SetSegmentLength sets the SegmentLength field's value. +func (s *DashIsoGroupSettings) SetSegmentLength(v int64) *DashIsoGroupSettings { + s.SegmentLength = &v + return s +} + +// Settings for deinterlacer +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Deinterlacer +type Deinterlacer struct { + _ struct{} `type:"structure"` + + // Only applies when you set Deinterlacer (DeinterlaceMode) to Deinterlace (DEINTERLACE) + // or Adaptive (ADAPTIVE). Motion adaptive interpolate (INTERPOLATE) produces + // sharper pictures, while blend (BLEND) produces smoother motion. Use (INTERPOLATE_TICKER) + // OR (BLEND_TICKER) if your source file includes a ticker, such as a scrolling + // headline at the bottom of the frame. + Algorithm *string `locationName:"algorithm" type:"string" enum:"DeinterlaceAlgorithm"` + + // - When set to NORMAL (default), the deinterlacer does not convert frames + // that are tagged in metadata as progressive. It will only convert those that + // are tagged as some other type. - When set to FORCE_ALL_FRAMES, the deinterlacer + // converts every frame to progressive - even those that are already tagged + // as progressive. Turn Force mode on only if there is a good chance that the + // metadata has tagged frames as progressive when they are not progressive. + // Do not turn on otherwise; processing frames that are already progressive + // into progressive will probably result in lower quality video. + Control *string `locationName:"control" type:"string" enum:"DeinterlacerControl"` + + // Use Deinterlacer (DeinterlaceMode) to choose how the service will do deinterlacing. + // Default is Deinterlace. - Deinterlace converts interlaced to progressive. + // - Inverse telecine converts Hard Telecine 29.97i to progressive 23.976p. + // - Adaptive auto-detects and converts to progressive. + Mode *string `locationName:"mode" type:"string" enum:"DeinterlacerMode"` +} + +// String returns the string representation +func (s Deinterlacer) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Deinterlacer) GoString() string { + return s.String() +} + +// SetAlgorithm sets the Algorithm field's value. +func (s *Deinterlacer) SetAlgorithm(v string) *Deinterlacer { + s.Algorithm = &v + return s +} + +// SetControl sets the Control field's value. +func (s *Deinterlacer) SetControl(v string) *Deinterlacer { + s.Control = &v + return s +} + +// SetMode sets the Mode field's value. +func (s *Deinterlacer) SetMode(v string) *Deinterlacer { + s.Mode = &v + return s +} + +// Delete a job template by sending a request with the job template name +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteJobTemplateRequest +type DeleteJobTemplateInput struct { + _ struct{} `type:"structure"` + + // The name of the job template to be deleted. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteJobTemplateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteJobTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteJobTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteJobTemplateInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DeleteJobTemplateInput) SetName(v string) *DeleteJobTemplateInput { + s.Name = &v + return s +} + +// Delete job template requests will return an OK message or error message with +// an empty body. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteJobTemplateResponse +type DeleteJobTemplateOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteJobTemplateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteJobTemplateOutput) GoString() string { + return s.String() +} + +// Delete a preset by sending a request with the preset name +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeletePresetRequest +type DeletePresetInput struct { + _ struct{} `type:"structure"` + + // The name of the preset to be deleted. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeletePresetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeletePresetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeletePresetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeletePresetInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DeletePresetInput) SetName(v string) *DeletePresetInput { + s.Name = &v + return s +} + +// Delete preset requests will return an OK message or error message with an +// empty body. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeletePresetResponse +type DeletePresetOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeletePresetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeletePresetOutput) GoString() string { + return s.String() +} + +// Delete a queue by sending a request with the queue name +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteQueueRequest +type DeleteQueueInput struct { + _ struct{} `type:"structure"` + + // The name of the queue to be deleted. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteQueueInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteQueueInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteQueueInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteQueueInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DeleteQueueInput) SetName(v string) *DeleteQueueInput { + s.Name = &v + return s +} + +// Delete queue requests will return an OK message or error message with an +// empty body. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteQueueResponse +type DeleteQueueOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteQueueOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteQueueOutput) GoString() string { + return s.String() +} + +// Send an request with an empty body to the regional API endpoint to get your +// account API endpoint. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DescribeEndpointsRequest +type DescribeEndpointsInput struct { + _ struct{} `type:"structure"` + + // Optional. Max number of endpoints, up to twenty, that will be returned at + // one time. + MaxResults *int64 `locationName:"maxResults" type:"integer"` + + // Use this string, provided with the response to a previous request, to request + // the next batch of endpoints. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s DescribeEndpointsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeEndpointsInput) GoString() string { + return s.String() +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeEndpointsInput) SetMaxResults(v int64) *DescribeEndpointsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeEndpointsInput) SetNextToken(v string) *DescribeEndpointsInput { + s.NextToken = &v + return s +} + +// Successful describe endpoints requests will return your account API endpoint. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DescribeEndpointsResponse +type DescribeEndpointsOutput struct { + _ struct{} `type:"structure"` + + // List of endpoints + Endpoints []*Endpoint `locationName:"endpoints" type:"list"` + + // Use this string to request the next batch of endpoints. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s DescribeEndpointsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeEndpointsOutput) GoString() string { + return s.String() +} + +// SetEndpoints sets the Endpoints field's value. +func (s *DescribeEndpointsOutput) SetEndpoints(v []*Endpoint) *DescribeEndpointsOutput { + s.Endpoints = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeEndpointsOutput) SetNextToken(v string) *DescribeEndpointsOutput { + s.NextToken = &v + return s +} + +// Inserts DVB Network Information Table (NIT) at the specified table repetition +// interval. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DvbNitSettings +type DvbNitSettings struct { + _ struct{} `type:"structure"` + + // The numeric value placed in the Network Information Table (NIT). + NetworkId *int64 `locationName:"networkId" type:"integer"` + + // The network name text placed in the network_name_descriptor inside the Network + // Information Table. Maximum length is 256 characters. + NetworkName *string `locationName:"networkName" type:"string"` + + // The number of milliseconds between instances of this table in the output + // transport stream. + NitInterval *int64 `locationName:"nitInterval" type:"integer"` +} + +// String returns the string representation +func (s DvbNitSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DvbNitSettings) GoString() string { + return s.String() +} + +// SetNetworkId sets the NetworkId field's value. +func (s *DvbNitSettings) SetNetworkId(v int64) *DvbNitSettings { + s.NetworkId = &v + return s +} + +// SetNetworkName sets the NetworkName field's value. +func (s *DvbNitSettings) SetNetworkName(v string) *DvbNitSettings { + s.NetworkName = &v + return s +} + +// SetNitInterval sets the NitInterval field's value. +func (s *DvbNitSettings) SetNitInterval(v int64) *DvbNitSettings { + s.NitInterval = &v + return s +} + +// Inserts DVB Service Description Table (NIT) at the specified table repetition +// interval. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DvbSdtSettings +type DvbSdtSettings struct { + _ struct{} `type:"structure"` + + // Selects method of inserting SDT information into output stream. "Follow input + // SDT" copies SDT information from input stream to output stream. "Follow input + // SDT if present" copies SDT information from input stream to output stream + // if SDT information is present in the input, otherwise it will fall back on + // the user-defined values. Enter "SDT Manually" means user will enter the SDT + // information. "No SDT" means output stream will not contain SDT information. + OutputSdt *string `locationName:"outputSdt" type:"string" enum:"OutputSdt"` + + // The number of milliseconds between instances of this table in the output + // transport stream. + SdtInterval *int64 `locationName:"sdtInterval" type:"integer"` + + // The service name placed in the service_descriptor in the Service Description + // Table. Maximum length is 256 characters. + ServiceName *string `locationName:"serviceName" type:"string"` + + // The service provider name placed in the service_descriptor in the Service + // Description Table. Maximum length is 256 characters. + ServiceProviderName *string `locationName:"serviceProviderName" type:"string"` +} + +// String returns the string representation +func (s DvbSdtSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DvbSdtSettings) GoString() string { + return s.String() +} + +// SetOutputSdt sets the OutputSdt field's value. +func (s *DvbSdtSettings) SetOutputSdt(v string) *DvbSdtSettings { + s.OutputSdt = &v + return s +} + +// SetSdtInterval sets the SdtInterval field's value. +func (s *DvbSdtSettings) SetSdtInterval(v int64) *DvbSdtSettings { + s.SdtInterval = &v + return s +} + +// SetServiceName sets the ServiceName field's value. +func (s *DvbSdtSettings) SetServiceName(v string) *DvbSdtSettings { + s.ServiceName = &v + return s +} + +// SetServiceProviderName sets the ServiceProviderName field's value. +func (s *DvbSdtSettings) SetServiceProviderName(v string) *DvbSdtSettings { + s.ServiceProviderName = &v + return s +} + +// DVB-Sub Destination Settings +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DvbSubDestinationSettings +type DvbSubDestinationSettings struct { + _ struct{} `type:"structure"` + + // If no explicit x_position or y_position is provided, setting alignment to + // centered will place the captions at the bottom center of the output. Similarly, + // setting a left alignment will align captions to the bottom left of the output. + // If x and y positions are given in conjunction with the alignment parameter, + // the font will be justified (either left or centered) relative to those coordinates. + // This option is not valid for source captions that are STL, 608/embedded or + // teletext. These source settings are already pre-defined by the caption stream. + // All burn-in and DVB-Sub font settings must match. + Alignment *string `locationName:"alignment" type:"string" enum:"DvbSubtitleAlignment"` + + // Specifies the color of the rectangle behind the captions.All burn-in and + // DVB-Sub font settings must match. + BackgroundColor *string `locationName:"backgroundColor" type:"string" enum:"DvbSubtitleBackgroundColor"` + + // Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. + // Leaving this parameter blank is equivalent to setting it to 0 (transparent). + // All burn-in and DVB-Sub font settings must match. + BackgroundOpacity *int64 `locationName:"backgroundOpacity" type:"integer"` + + // Specifies the color of the burned-in captions. This option is not valid for + // source captions that are STL, 608/embedded or teletext. These source settings + // are already pre-defined by the caption stream. All burn-in and DVB-Sub font + // settings must match. + FontColor *string `locationName:"fontColor" type:"string" enum:"DvbSubtitleFontColor"` + + // Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent.All + // burn-in and DVB-Sub font settings must match. + FontOpacity *int64 `locationName:"fontOpacity" type:"integer"` + + // Font resolution in DPI (dots per inch); default is 96 dpi.All burn-in and + // DVB-Sub font settings must match. + FontResolution *int64 `locationName:"fontResolution" type:"integer"` + + // A positive integer indicates the exact font size in points. Set to 0 for + // automatic font size selection. All burn-in and DVB-Sub font settings must + // match. + FontSize *int64 `locationName:"fontSize" type:"integer"` + + // Specifies font outline color. This option is not valid for source captions + // that are either 608/embedded or teletext. These source settings are already + // pre-defined by the caption stream. All burn-in and DVB-Sub font settings + // must match. + OutlineColor *string `locationName:"outlineColor" type:"string" enum:"DvbSubtitleOutlineColor"` + + // Specifies font outline size in pixels. This option is not valid for source + // captions that are either 608/embedded or teletext. These source settings + // are already pre-defined by the caption stream. All burn-in and DVB-Sub font + // settings must match. + OutlineSize *int64 `locationName:"outlineSize" type:"integer"` + + // Specifies the color of the shadow cast by the captions.All burn-in and DVB-Sub + // font settings must match. + ShadowColor *string `locationName:"shadowColor" type:"string" enum:"DvbSubtitleShadowColor"` + + // Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving + // this parameter blank is equivalent to setting it to 0 (transparent). All + // burn-in and DVB-Sub font settings must match. + ShadowOpacity *int64 `locationName:"shadowOpacity" type:"integer"` + + // Specifies the horizontal offset of the shadow relative to the captions in + // pixels. A value of -2 would result in a shadow offset 2 pixels to the left. + // All burn-in and DVB-Sub font settings must match. + ShadowXOffset *int64 `locationName:"shadowXOffset" type:"integer"` + + // Specifies the vertical offset of the shadow relative to the captions in pixels. + // A value of -2 would result in a shadow offset 2 pixels above the text. All + // burn-in and DVB-Sub font settings must match. + ShadowYOffset *int64 `locationName:"shadowYOffset" type:"integer"` + + // Controls whether a fixed grid size or proportional font spacing will be used + // to generate the output subtitles bitmap. Only applicable for Teletext inputs + // and DVB-Sub/Burn-in outputs. + TeletextSpacing *string `locationName:"teletextSpacing" type:"string" enum:"DvbSubtitleTeletextSpacing"` + + // Specifies the horizontal position of the caption relative to the left side + // of the output in pixels. A value of 10 would result in the captions starting + // 10 pixels from the left of the output. If no explicit x_position is provided, + // the horizontal caption position will be determined by the alignment parameter. + // This option is not valid for source captions that are STL, 608/embedded or + // teletext. These source settings are already pre-defined by the caption stream. + // All burn-in and DVB-Sub font settings must match. + XPosition *int64 `locationName:"xPosition" type:"integer"` + + // Specifies the vertical position of the caption relative to the top of the + // output in pixels. A value of 10 would result in the captions starting 10 + // pixels from the top of the output. If no explicit y_position is provided, + // the caption will be positioned towards the bottom of the output. This option + // is not valid for source captions that are STL, 608/embedded or teletext. + // These source settings are already pre-defined by the caption stream. All + // burn-in and DVB-Sub font settings must match. + YPosition *int64 `locationName:"yPosition" type:"integer"` +} + +// String returns the string representation +func (s DvbSubDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DvbSubDestinationSettings) GoString() string { + return s.String() +} + +// SetAlignment sets the Alignment field's value. +func (s *DvbSubDestinationSettings) SetAlignment(v string) *DvbSubDestinationSettings { + s.Alignment = &v + return s +} + +// SetBackgroundColor sets the BackgroundColor field's value. +func (s *DvbSubDestinationSettings) SetBackgroundColor(v string) *DvbSubDestinationSettings { + s.BackgroundColor = &v + return s +} + +// SetBackgroundOpacity sets the BackgroundOpacity field's value. +func (s *DvbSubDestinationSettings) SetBackgroundOpacity(v int64) *DvbSubDestinationSettings { + s.BackgroundOpacity = &v + return s +} + +// SetFontColor sets the FontColor field's value. +func (s *DvbSubDestinationSettings) SetFontColor(v string) *DvbSubDestinationSettings { + s.FontColor = &v + return s +} + +// SetFontOpacity sets the FontOpacity field's value. +func (s *DvbSubDestinationSettings) SetFontOpacity(v int64) *DvbSubDestinationSettings { + s.FontOpacity = &v + return s +} + +// SetFontResolution sets the FontResolution field's value. +func (s *DvbSubDestinationSettings) SetFontResolution(v int64) *DvbSubDestinationSettings { + s.FontResolution = &v + return s +} + +// SetFontSize sets the FontSize field's value. +func (s *DvbSubDestinationSettings) SetFontSize(v int64) *DvbSubDestinationSettings { + s.FontSize = &v + return s +} + +// SetOutlineColor sets the OutlineColor field's value. +func (s *DvbSubDestinationSettings) SetOutlineColor(v string) *DvbSubDestinationSettings { + s.OutlineColor = &v + return s +} + +// SetOutlineSize sets the OutlineSize field's value. +func (s *DvbSubDestinationSettings) SetOutlineSize(v int64) *DvbSubDestinationSettings { + s.OutlineSize = &v + return s +} + +// SetShadowColor sets the ShadowColor field's value. +func (s *DvbSubDestinationSettings) SetShadowColor(v string) *DvbSubDestinationSettings { + s.ShadowColor = &v + return s +} + +// SetShadowOpacity sets the ShadowOpacity field's value. +func (s *DvbSubDestinationSettings) SetShadowOpacity(v int64) *DvbSubDestinationSettings { + s.ShadowOpacity = &v + return s +} + +// SetShadowXOffset sets the ShadowXOffset field's value. +func (s *DvbSubDestinationSettings) SetShadowXOffset(v int64) *DvbSubDestinationSettings { + s.ShadowXOffset = &v + return s +} + +// SetShadowYOffset sets the ShadowYOffset field's value. +func (s *DvbSubDestinationSettings) SetShadowYOffset(v int64) *DvbSubDestinationSettings { + s.ShadowYOffset = &v + return s +} + +// SetTeletextSpacing sets the TeletextSpacing field's value. +func (s *DvbSubDestinationSettings) SetTeletextSpacing(v string) *DvbSubDestinationSettings { + s.TeletextSpacing = &v + return s +} + +// SetXPosition sets the XPosition field's value. +func (s *DvbSubDestinationSettings) SetXPosition(v int64) *DvbSubDestinationSettings { + s.XPosition = &v + return s +} + +// SetYPosition sets the YPosition field's value. +func (s *DvbSubDestinationSettings) SetYPosition(v int64) *DvbSubDestinationSettings { + s.YPosition = &v + return s +} + +// DVB Sub Source Settings +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DvbSubSourceSettings +type DvbSubSourceSettings struct { + _ struct{} `type:"structure"` + + // When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source + // content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, + // regardless of selectors. + Pid *int64 `locationName:"pid" type:"integer"` +} + +// String returns the string representation +func (s DvbSubSourceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DvbSubSourceSettings) GoString() string { + return s.String() +} + +// SetPid sets the Pid field's value. +func (s *DvbSubSourceSettings) SetPid(v int64) *DvbSubSourceSettings { + s.Pid = &v + return s +} + +// Inserts DVB Time and Date Table (TDT) at the specified table repetition interval. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DvbTdtSettings +type DvbTdtSettings struct { + _ struct{} `type:"structure"` + + // The number of milliseconds between instances of this table in the output + // transport stream. + TdtInterval *int64 `locationName:"tdtInterval" type:"integer"` +} + +// String returns the string representation +func (s DvbTdtSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DvbTdtSettings) GoString() string { + return s.String() +} + +// SetTdtInterval sets the TdtInterval field's value. +func (s *DvbTdtSettings) SetTdtInterval(v int64) *DvbTdtSettings { + s.TdtInterval = &v + return s +} + +// Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to +// the value EAC3. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Eac3Settings +type Eac3Settings struct { + _ struct{} `type:"structure"` + + // If set to ATTENUATE_3_DB, applies a 3 dB attenuation to the surround channels. + // Only used for 3/2 coding mode. + AttenuationControl *string `locationName:"attenuationControl" type:"string" enum:"Eac3AttenuationControl"` + + // Average bitrate in bits/second. Valid bitrates depend on the coding mode. + Bitrate *int64 `locationName:"bitrate" type:"integer"` + + // Specifies the "Bitstream Mode" (bsmod) for the emitted E-AC-3 stream. See + // ATSC A/52-2012 (Annex E) for background on these values. + BitstreamMode *string `locationName:"bitstreamMode" type:"string" enum:"Eac3BitstreamMode"` + + // Dolby Digital Plus coding mode. Determines number of channels. + CodingMode *string `locationName:"codingMode" type:"string" enum:"Eac3CodingMode"` + + // Activates a DC highpass filter for all input channels. + DcFilter *string `locationName:"dcFilter" type:"string" enum:"Eac3DcFilter"` + + // Sets the dialnorm for the output. If blank and input audio is Dolby Digital + // Plus, dialnorm will be passed through. + Dialnorm *int64 `locationName:"dialnorm" type:"integer"` + + // Enables Dynamic Range Compression that restricts the absolute peak level + // for a signal. + DynamicRangeCompressionLine *string `locationName:"dynamicRangeCompressionLine" type:"string" enum:"Eac3DynamicRangeCompressionLine"` + + // Enables Heavy Dynamic Range Compression, ensures that the instantaneous signal + // peaks do not exceed specified levels. + DynamicRangeCompressionRf *string `locationName:"dynamicRangeCompressionRf" type:"string" enum:"Eac3DynamicRangeCompressionRf"` + + // When encoding 3/2 audio, controls whether the LFE channel is enabled + LfeControl *string `locationName:"lfeControl" type:"string" enum:"Eac3LfeControl"` + + // Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only + // valid with 3_2_LFE coding mode. + LfeFilter *string `locationName:"lfeFilter" type:"string" enum:"Eac3LfeFilter"` + + // Left only/Right only center mix level. Only used for 3/2 coding mode.Valid + // values: 3.0, 1.5, 0.0, -1.5 -3.0 -4.5 -6.0 -60 + LoRoCenterMixLevel *float64 `locationName:"loRoCenterMixLevel" type:"double"` + + // Left only/Right only surround mix level. Only used for 3/2 coding mode.Valid + // values: -1.5 -3.0 -4.5 -6.0 -60 + LoRoSurroundMixLevel *float64 `locationName:"loRoSurroundMixLevel" type:"double"` + + // Left total/Right total center mix level. Only used for 3/2 coding mode.Valid + // values: 3.0, 1.5, 0.0, -1.5 -3.0 -4.5 -6.0 -60 + LtRtCenterMixLevel *float64 `locationName:"ltRtCenterMixLevel" type:"double"` + + // Left total/Right total surround mix level. Only used for 3/2 coding mode.Valid + // values: -1.5 -3.0 -4.5 -6.0 -60 + LtRtSurroundMixLevel *float64 `locationName:"ltRtSurroundMixLevel" type:"double"` + + // When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, + // or DolbyE decoder that supplied this audio data. If audio was not supplied + // from one of these streams, then the static metadata settings will be used. + MetadataControl *string `locationName:"metadataControl" type:"string" enum:"Eac3MetadataControl"` + + // When set to WHEN_POSSIBLE, input DD+ audio will be passed through if it is + // present on the input. this detection is dynamic over the life of the transcode. + // Inputs that alternate between DD+ and non-DD+ content will have a consistent + // DD+ output as the system alternates between passthrough and encoding. + PassthroughControl *string `locationName:"passthroughControl" type:"string" enum:"Eac3PassthroughControl"` + + // Controls the amount of phase-shift applied to the surround channels. Only + // used for 3/2 coding mode. + PhaseControl *string `locationName:"phaseControl" type:"string" enum:"Eac3PhaseControl"` + + // Sample rate in hz. Sample rate is always 48000. + SampleRate *int64 `locationName:"sampleRate" type:"integer"` + + // Stereo downmix preference. Only used for 3/2 coding mode. + StereoDownmix *string `locationName:"stereoDownmix" type:"string" enum:"Eac3StereoDownmix"` + + // When encoding 3/2 audio, sets whether an extra center back surround channel + // is matrix encoded into the left and right surround channels. + SurroundExMode *string `locationName:"surroundExMode" type:"string" enum:"Eac3SurroundExMode"` + + // When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into + // the two channels. + SurroundMode *string `locationName:"surroundMode" type:"string" enum:"Eac3SurroundMode"` +} + +// String returns the string representation +func (s Eac3Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Eac3Settings) GoString() string { + return s.String() +} + +// SetAttenuationControl sets the AttenuationControl field's value. +func (s *Eac3Settings) SetAttenuationControl(v string) *Eac3Settings { + s.AttenuationControl = &v + return s +} + +// SetBitrate sets the Bitrate field's value. +func (s *Eac3Settings) SetBitrate(v int64) *Eac3Settings { + s.Bitrate = &v + return s +} + +// SetBitstreamMode sets the BitstreamMode field's value. +func (s *Eac3Settings) SetBitstreamMode(v string) *Eac3Settings { + s.BitstreamMode = &v + return s +} + +// SetCodingMode sets the CodingMode field's value. +func (s *Eac3Settings) SetCodingMode(v string) *Eac3Settings { + s.CodingMode = &v + return s +} + +// SetDcFilter sets the DcFilter field's value. +func (s *Eac3Settings) SetDcFilter(v string) *Eac3Settings { + s.DcFilter = &v + return s +} + +// SetDialnorm sets the Dialnorm field's value. +func (s *Eac3Settings) SetDialnorm(v int64) *Eac3Settings { + s.Dialnorm = &v + return s +} + +// SetDynamicRangeCompressionLine sets the DynamicRangeCompressionLine field's value. +func (s *Eac3Settings) SetDynamicRangeCompressionLine(v string) *Eac3Settings { + s.DynamicRangeCompressionLine = &v + return s +} + +// SetDynamicRangeCompressionRf sets the DynamicRangeCompressionRf field's value. +func (s *Eac3Settings) SetDynamicRangeCompressionRf(v string) *Eac3Settings { + s.DynamicRangeCompressionRf = &v + return s +} + +// SetLfeControl sets the LfeControl field's value. +func (s *Eac3Settings) SetLfeControl(v string) *Eac3Settings { + s.LfeControl = &v + return s +} + +// SetLfeFilter sets the LfeFilter field's value. +func (s *Eac3Settings) SetLfeFilter(v string) *Eac3Settings { + s.LfeFilter = &v + return s +} + +// SetLoRoCenterMixLevel sets the LoRoCenterMixLevel field's value. +func (s *Eac3Settings) SetLoRoCenterMixLevel(v float64) *Eac3Settings { + s.LoRoCenterMixLevel = &v + return s +} + +// SetLoRoSurroundMixLevel sets the LoRoSurroundMixLevel field's value. +func (s *Eac3Settings) SetLoRoSurroundMixLevel(v float64) *Eac3Settings { + s.LoRoSurroundMixLevel = &v + return s +} + +// SetLtRtCenterMixLevel sets the LtRtCenterMixLevel field's value. +func (s *Eac3Settings) SetLtRtCenterMixLevel(v float64) *Eac3Settings { + s.LtRtCenterMixLevel = &v + return s +} + +// SetLtRtSurroundMixLevel sets the LtRtSurroundMixLevel field's value. +func (s *Eac3Settings) SetLtRtSurroundMixLevel(v float64) *Eac3Settings { + s.LtRtSurroundMixLevel = &v + return s +} + +// SetMetadataControl sets the MetadataControl field's value. +func (s *Eac3Settings) SetMetadataControl(v string) *Eac3Settings { + s.MetadataControl = &v + return s +} + +// SetPassthroughControl sets the PassthroughControl field's value. +func (s *Eac3Settings) SetPassthroughControl(v string) *Eac3Settings { + s.PassthroughControl = &v + return s +} + +// SetPhaseControl sets the PhaseControl field's value. +func (s *Eac3Settings) SetPhaseControl(v string) *Eac3Settings { + s.PhaseControl = &v + return s +} + +// SetSampleRate sets the SampleRate field's value. +func (s *Eac3Settings) SetSampleRate(v int64) *Eac3Settings { + s.SampleRate = &v + return s +} + +// SetStereoDownmix sets the StereoDownmix field's value. +func (s *Eac3Settings) SetStereoDownmix(v string) *Eac3Settings { + s.StereoDownmix = &v + return s +} + +// SetSurroundExMode sets the SurroundExMode field's value. +func (s *Eac3Settings) SetSurroundExMode(v string) *Eac3Settings { + s.SurroundExMode = &v + return s +} + +// SetSurroundMode sets the SurroundMode field's value. +func (s *Eac3Settings) SetSurroundMode(v string) *Eac3Settings { + s.SurroundMode = &v + return s +} + +// Settings for embedded captions Source +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/EmbeddedSourceSettings +type EmbeddedSourceSettings struct { + _ struct{} `type:"structure"` + + // When set to UPCONVERT, 608 data is both passed through via the "608 compatibility + // bytes" fields of the 708 wrapper as well as translated into 708. 708 data + // present in the source content will be discarded. + Convert608To708 *string `locationName:"convert608To708" type:"string" enum:"EmbeddedConvert608To708"` + + // Specifies the 608/708 channel number within the video track from which to + // extract captions. Unused for passthrough. + Source608ChannelNumber *int64 `locationName:"source608ChannelNumber" type:"integer"` + + // Specifies the video track index used for extracting captions. The system + // only supports one input video track, so this should always be set to '1'. + Source608TrackNumber *int64 `locationName:"source608TrackNumber" type:"integer"` +} + +// String returns the string representation +func (s EmbeddedSourceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EmbeddedSourceSettings) GoString() string { + return s.String() +} + +// SetConvert608To708 sets the Convert608To708 field's value. +func (s *EmbeddedSourceSettings) SetConvert608To708(v string) *EmbeddedSourceSettings { + s.Convert608To708 = &v + return s +} + +// SetSource608ChannelNumber sets the Source608ChannelNumber field's value. +func (s *EmbeddedSourceSettings) SetSource608ChannelNumber(v int64) *EmbeddedSourceSettings { + s.Source608ChannelNumber = &v + return s +} + +// SetSource608TrackNumber sets the Source608TrackNumber field's value. +func (s *EmbeddedSourceSettings) SetSource608TrackNumber(v int64) *EmbeddedSourceSettings { + s.Source608TrackNumber = &v + return s +} + +// Describes account specific API endpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Endpoint +type Endpoint struct { + _ struct{} `type:"structure"` + + // URL of endpoint + Url *string `locationName:"url" type:"string"` +} + +// String returns the string representation +func (s Endpoint) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Endpoint) GoString() string { + return s.String() +} + +// SetUrl sets the Url field's value. +func (s *Endpoint) SetUrl(v string) *Endpoint { + s.Url = &v + return s +} + +// Settings for F4v container +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/F4vSettings +type F4vSettings struct { + _ struct{} `type:"structure"` + + // If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning + // of the archive as required for progressive downloading. Otherwise it is placed + // normally at the end. + MoovPlacement *string `locationName:"moovPlacement" type:"string" enum:"F4vMoovPlacement"` +} + +// String returns the string representation +func (s F4vSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s F4vSettings) GoString() string { + return s.String() +} + +// SetMoovPlacement sets the MoovPlacement field's value. +func (s *F4vSettings) SetMoovPlacement(v string) *F4vSettings { + s.MoovPlacement = &v + return s +} + +// Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to +// FILE_GROUP_SETTINGS. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/FileGroupSettings +type FileGroupSettings struct { + _ struct{} `type:"structure"` + + // Use Destination (Destination) to specify the S3 output location and the output + // filename base. Destination accepts format identifiers. If you do not specify + // the base filename in the URI, the service will use the filename of the input + // file. If your job has multiple inputs, the service uses the filename of the + // first input file. + Destination *string `locationName:"destination" type:"string"` +} + +// String returns the string representation +func (s FileGroupSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s FileGroupSettings) GoString() string { + return s.String() +} + +// SetDestination sets the Destination field's value. +func (s *FileGroupSettings) SetDestination(v string) *FileGroupSettings { + s.Destination = &v + return s +} + +// Settings for File-based Captions in Source +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/FileSourceSettings +type FileSourceSettings struct { + _ struct{} `type:"structure"` + + // If set to UPCONVERT, 608 caption data is both passed through via the "608 + // compatibility bytes" fields of the 708 wrapper as well as translated into + // 708. 708 data present in the source content will be discarded. + Convert608To708 *string `locationName:"convert608To708" type:"string" enum:"FileSourceConvert608To708"` + + // External caption file used for loading captions. Accepted file extensions + // are 'scc', 'ttml', 'dfxp', 'stl', 'srt', and 'smi'. Auto-populated when Infer + // External Filename is checked. + SourceFile *string `locationName:"sourceFile" type:"string"` + + // Specifies a time delta in seconds to offset the captions from the source + // file. + TimeDelta *int64 `locationName:"timeDelta" type:"integer"` +} + +// String returns the string representation +func (s FileSourceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s FileSourceSettings) GoString() string { + return s.String() +} + +// SetConvert608To708 sets the Convert608To708 field's value. +func (s *FileSourceSettings) SetConvert608To708(v string) *FileSourceSettings { + s.Convert608To708 = &v + return s +} + +// SetSourceFile sets the SourceFile field's value. +func (s *FileSourceSettings) SetSourceFile(v string) *FileSourceSettings { + s.SourceFile = &v + return s +} + +// SetTimeDelta sets the TimeDelta field's value. +func (s *FileSourceSettings) SetTimeDelta(v int64) *FileSourceSettings { + s.TimeDelta = &v + return s +} + +// Required when you set (Codec) under (VideoDescription)>(CodecSettings) to +// the value FRAME_CAPTURE. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/FrameCaptureSettings +type FrameCaptureSettings struct { + _ struct{} `type:"structure"` + + // Frame capture will encode the first frame of the output stream, then one + // frame every framerateDenominator/framerateNumerator seconds. For example, + // settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of + // 1/3 frame per second) will capture the first frame, then 1 frame every 3s. + // Files will be named as filename.n.jpg where n is the 0-based sequence number + // of each Capture. + FramerateDenominator *int64 `locationName:"framerateDenominator" type:"integer"` + + // Frame capture will encode the first frame of the output stream, then one + // frame every framerateDenominator/framerateNumerator seconds. For example, + // settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of + // 1/3 frame per second) will capture the first frame, then 1 frame every 3s. + // Files will be named as filename.NNNNNNN.jpg where N is the 0-based frame + // sequence number zero padded to 7 decimal places. + FramerateNumerator *int64 `locationName:"framerateNumerator" type:"integer"` + + // Maximum number of captures (encoded jpg output files). + MaxCaptures *int64 `locationName:"maxCaptures" type:"integer"` + + // JPEG Quality - a higher value equals higher quality. + Quality *int64 `locationName:"quality" type:"integer"` +} + +// String returns the string representation +func (s FrameCaptureSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s FrameCaptureSettings) GoString() string { + return s.String() +} + +// SetFramerateDenominator sets the FramerateDenominator field's value. +func (s *FrameCaptureSettings) SetFramerateDenominator(v int64) *FrameCaptureSettings { + s.FramerateDenominator = &v + return s +} + +// SetFramerateNumerator sets the FramerateNumerator field's value. +func (s *FrameCaptureSettings) SetFramerateNumerator(v int64) *FrameCaptureSettings { + s.FramerateNumerator = &v + return s +} + +// SetMaxCaptures sets the MaxCaptures field's value. +func (s *FrameCaptureSettings) SetMaxCaptures(v int64) *FrameCaptureSettings { + s.MaxCaptures = &v + return s +} + +// SetQuality sets the Quality field's value. +func (s *FrameCaptureSettings) SetQuality(v int64) *FrameCaptureSettings { + s.Quality = &v + return s +} + +// Query a job by sending a request with the job ID. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJobRequest +type GetJobInput struct { + _ struct{} `type:"structure"` + + // the job ID of the job. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetJobInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetJobInput) SetId(v string) *GetJobInput { + s.Id = &v + return s +} + +// Successful get job requests will return an OK message and the job JSON. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJobResponse +type GetJobOutput struct { + _ struct{} `type:"structure"` + + // Each job converts an input file into an output file or files. For more information, + // see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html + Job *Job `locationName:"job" type:"structure"` +} + +// String returns the string representation +func (s GetJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetJobOutput) GoString() string { + return s.String() +} + +// SetJob sets the Job field's value. +func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput { + s.Job = v + return s +} + +// Query a job template by sending a request with the job template name. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJobTemplateRequest +type GetJobTemplateInput struct { + _ struct{} `type:"structure"` + + // The name of the job template. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetJobTemplateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetJobTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetJobTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetJobTemplateInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *GetJobTemplateInput) SetName(v string) *GetJobTemplateInput { + s.Name = &v + return s +} + +// Successful get job template requests will return an OK message and the job +// template JSON. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJobTemplateResponse +type GetJobTemplateOutput struct { + _ struct{} `type:"structure"` + + // A job template is a pre-made set of encoding instructions that you can use + // to quickly create a job. + JobTemplate *JobTemplate `locationName:"jobTemplate" type:"structure"` +} + +// String returns the string representation +func (s GetJobTemplateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetJobTemplateOutput) GoString() string { + return s.String() +} + +// SetJobTemplate sets the JobTemplate field's value. +func (s *GetJobTemplateOutput) SetJobTemplate(v *JobTemplate) *GetJobTemplateOutput { + s.JobTemplate = v + return s +} + +// Query a preset by sending a request with the preset name. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetPresetRequest +type GetPresetInput struct { + _ struct{} `type:"structure"` + + // The name of the preset. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetPresetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetPresetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetPresetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetPresetInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *GetPresetInput) SetName(v string) *GetPresetInput { + s.Name = &v + return s +} + +// Successful get preset requests will return an OK message and the preset JSON. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetPresetResponse +type GetPresetOutput struct { + _ struct{} `type:"structure"` + + // A preset is a collection of preconfigured media conversion settings that + // you want MediaConvert to apply to the output during the conversion process. + Preset *Preset `locationName:"preset" type:"structure"` +} + +// String returns the string representation +func (s GetPresetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetPresetOutput) GoString() string { + return s.String() +} + +// SetPreset sets the Preset field's value. +func (s *GetPresetOutput) SetPreset(v *Preset) *GetPresetOutput { + s.Preset = v + return s +} + +// Query a queue by sending a request with the queue name. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetQueueRequest +type GetQueueInput struct { + _ struct{} `type:"structure"` + + // The name of the queue. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetQueueInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetQueueInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetQueueInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetQueueInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *GetQueueInput) SetName(v string) *GetQueueInput { + s.Name = &v + return s +} + +// Successful get queue requests will return an OK message and the queue JSON. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetQueueResponse +type GetQueueOutput struct { + _ struct{} `type:"structure"` + + // MediaConvert jobs are submitted to a queue. Unless specified otherwise jobs + // are submitted to a built-in default queue. User can create additional queues + // to separate the jobs of different categories or priority. + Queue *Queue `locationName:"queue" type:"structure"` +} + +// String returns the string representation +func (s GetQueueOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetQueueOutput) GoString() string { + return s.String() +} + +// SetQueue sets the Queue field's value. +func (s *GetQueueOutput) SetQueue(v *Queue) *GetQueueOutput { + s.Queue = v + return s +} + +// Required when you set (Codec) under (VideoDescription)>(CodecSettings) to +// the value H_264. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/H264Settings +type H264Settings struct { + _ struct{} `type:"structure"` + + // Adaptive quantization. Allows intra-frame quantizers to vary to improve visual + // quality. + AdaptiveQuantization *string `locationName:"adaptiveQuantization" type:"string" enum:"H264AdaptiveQuantization"` + + // Average bitrate in bits/second. Required for VBR, CBR, and ABR. Five megabits + // can be entered as 5000000 or 5m. Five hundred kilobits can be entered as + // 500000 or 0.5m. For MS Smooth outputs, bitrates must be unique when rounded + // down to the nearest multiple of 1000. + Bitrate *int64 `locationName:"bitrate" type:"integer"` + + // H.264 Level. + CodecLevel *string `locationName:"codecLevel" type:"string" enum:"H264CodecLevel"` + + // H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the + // AVC-I License. + CodecProfile *string `locationName:"codecProfile" type:"string" enum:"H264CodecProfile"` + + // Entropy encoding mode. Use CABAC (must be in Main or High profile) or CAVLC. + EntropyEncoding *string `locationName:"entropyEncoding" type:"string" enum:"H264EntropyEncoding"` + + // Choosing FORCE_FIELD disables PAFF encoding for interlaced outputs. + FieldEncoding *string `locationName:"fieldEncoding" type:"string" enum:"H264FieldEncoding"` + + // Adjust quantization within each frame to reduce flicker or 'pop' on I-frames. + FlickerAdaptiveQuantization *string `locationName:"flickerAdaptiveQuantization" type:"string" enum:"H264FlickerAdaptiveQuantization"` + + // Using the API, set FramerateControl to INITIALIZE_FROM_SOURCE if you want + // the service to use the framerate from the input. Using the console, do this + // by choosing INITIALIZE_FROM_SOURCE for Framerate. + FramerateControl *string `locationName:"framerateControl" type:"string" enum:"H264FramerateControl"` + + // When set to INTERPOLATE, produces smoother motion during framerate conversion. + FramerateConversionAlgorithm *string `locationName:"framerateConversionAlgorithm" type:"string" enum:"H264FramerateConversionAlgorithm"` + + // When you use the API for transcode jobs that use framerate conversion, specify + // the framerate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use + // FramerateDenominator to specify the denominator of this fraction. In this + // example, use 1001 for the value of FramerateDenominator. When you use the + // console for transcode jobs that use framerate conversion, provide the value + // as a decimal number for Framerate. In this example, specify 23.976. + FramerateDenominator *int64 `locationName:"framerateDenominator" type:"integer"` + + // Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 + // fps. + FramerateNumerator *int64 `locationName:"framerateNumerator" type:"integer"` + + // If enable, use reference B frames for GOP structures that have B frames > + // 1. + GopBReference *string `locationName:"gopBReference" type:"string" enum:"H264GopBReference"` + + // Frequency of closed GOPs. In streaming applications, it is recommended that + // this be set to 1 so a decoder joining mid-stream will receive an IDR frame + // as quickly as possible. Setting this value to 0 will break output segmenting. + GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` + + // GOP Length (keyframe interval) in frames or seconds. Must be greater than + // zero. + GopSize *float64 `locationName:"gopSize" type:"double"` + + // Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds + // the system will convert the GOP Size into a frame count at run time. + GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"H264GopSizeUnits"` + + // Percentage of the buffer that should initially be filled (HRD buffer model). + HrdBufferInitialFillPercentage *int64 `locationName:"hrdBufferInitialFillPercentage" type:"integer"` + + // Size of buffer (HRD buffer model). Five megabits can be entered as 5000000 + // or 5m. Five hundred kilobits can be entered as 500000 or 0.5m. + HrdBufferSize *int64 `locationName:"hrdBufferSize" type:"integer"` + + // Use Interlace mode (InterlaceMode) to choose the scan line type for the output. + // * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce + // interlaced output with the entire output having the same field polarity (top + // or bottom first). * Follow, Default Top (FOLLOw_TOP_FIELD) and Follow, Default + // Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, + // behavior depends on the input scan type. - If the source is interlaced, the + // output will be interlaced with the same polarity as the source (it will follow + // the source). The output could therefore be a mix of "top field first" and + // "bottom field first". - If the source is progressive, the output will be + // interlaced with "top field first" or "bottom field first" polarity, depending + // on which of the Follow options you chose. + InterlaceMode *string `locationName:"interlaceMode" type:"string" enum:"H264InterlaceMode"` + + // Maximum bitrate in bits/second (for VBR mode only). Five megabits can be + // entered as 5000000 or 5m. Five hundred kilobits can be entered as 500000 + // or 0.5m. + MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` + + // Enforces separation between repeated (cadence) I-frames and I-frames inserted + // by Scene Change Detection. If a scene change I-frame is within I-interval + // frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene + // change I-frame. GOP stretch requires enabling lookahead as well as setting + // I-interval. The normal cadence resumes for the next GOP. This setting is + // only used when Scene Change Detect is enabled. Note: Maximum GOP stretch + // = GOP size + Min-I-interval - 1 + MinIInterval *int64 `locationName:"minIInterval" type:"integer"` + + // Number of B-frames between reference frames. + NumberBFramesBetweenReferenceFrames *int64 `locationName:"numberBFramesBetweenReferenceFrames" type:"integer"` + + // Number of reference frames to use. The encoder may use more than requested + // if using B-frames and/or interlaced encoding. + NumberReferenceFrames *int64 `locationName:"numberReferenceFrames" type:"integer"` + + // Using the API, enable ParFollowSource if you want the service to use the + // pixel aspect ratio from the input. Using the console, do this by choosing + // Follow source for Pixel aspect ratio. + ParControl *string `locationName:"parControl" type:"string" enum:"H264ParControl"` + + // Pixel Aspect Ratio denominator. + ParDenominator *int64 `locationName:"parDenominator" type:"integer"` + + // Pixel Aspect Ratio numerator. + ParNumerator *int64 `locationName:"parNumerator" type:"integer"` + + // Use Quality tuning level (H264QualityTuningLevel) to specifiy whether to + // use fast single-pass, high-quality singlepass, or high-quality multipass + // video encoding. + QualityTuningLevel *string `locationName:"qualityTuningLevel" type:"string" enum:"H264QualityTuningLevel"` + + // Rate control mode. CQ uses constant quantizer (qp), ABR (average bitrate) + // does not write HRD parameters. + RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"H264RateControlMode"` + + // Places a PPS header on each encoded picture, even if repeated. + RepeatPps *string `locationName:"repeatPps" type:"string" enum:"H264RepeatPps"` + + // Scene change detection (inserts I-frames on scene changes). + SceneChangeDetect *string `locationName:"sceneChangeDetect" type:"string" enum:"H264SceneChangeDetect"` + + // Number of slices per picture. Must be less than or equal to the number of + // macroblock rows for progressive pictures, and less than or equal to half + // the number of macroblock rows for interlaced pictures. + Slices *int64 `locationName:"slices" type:"integer"` + + // Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled + // as 25fps, and audio is sped up correspondingly. + SlowPal *string `locationName:"slowPal" type:"string" enum:"H264SlowPal"` + + // Softness. Selects quantizer matrix, larger values reduce high-frequency content + // in the encoded image. + Softness *int64 `locationName:"softness" type:"integer"` + + // Adjust quantization within each frame based on spatial variation of content + // complexity. + SpatialAdaptiveQuantization *string `locationName:"spatialAdaptiveQuantization" type:"string" enum:"H264SpatialAdaptiveQuantization"` + + // Produces a bitstream compliant with SMPTE RP-2027. + Syntax *string `locationName:"syntax" type:"string" enum:"H264Syntax"` + + // This field applies only if the Streams > Advanced > Framerate (framerate) + // field is set to 29.970. This field works with the Streams > Advanced > Preprocessors + // > Deinterlacer field (deinterlace_mode) and the Streams > Advanced > Interlaced + // Mode field (interlace_mode) to identify the scan type for the output: Progressive, + // Interlaced, Hard Telecine or Soft Telecine. - Hard: produces 29.97i output + // from 23.976 input. - Soft: produces 23.976; the player converts this output + // to 29.97i. + Telecine *string `locationName:"telecine" type:"string" enum:"H264Telecine"` + + // Adjust quantization within each frame based on temporal variation of content + // complexity. + TemporalAdaptiveQuantization *string `locationName:"temporalAdaptiveQuantization" type:"string" enum:"H264TemporalAdaptiveQuantization"` + + // Inserts timecode for each frame as 4 bytes of an unregistered SEI message. + UnregisteredSeiTimecode *string `locationName:"unregisteredSeiTimecode" type:"string" enum:"H264UnregisteredSeiTimecode"` +} + +// String returns the string representation +func (s H264Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s H264Settings) GoString() string { + return s.String() +} + +// SetAdaptiveQuantization sets the AdaptiveQuantization field's value. +func (s *H264Settings) SetAdaptiveQuantization(v string) *H264Settings { + s.AdaptiveQuantization = &v + return s +} + +// SetBitrate sets the Bitrate field's value. +func (s *H264Settings) SetBitrate(v int64) *H264Settings { + s.Bitrate = &v + return s +} + +// SetCodecLevel sets the CodecLevel field's value. +func (s *H264Settings) SetCodecLevel(v string) *H264Settings { + s.CodecLevel = &v + return s +} + +// SetCodecProfile sets the CodecProfile field's value. +func (s *H264Settings) SetCodecProfile(v string) *H264Settings { + s.CodecProfile = &v + return s +} + +// SetEntropyEncoding sets the EntropyEncoding field's value. +func (s *H264Settings) SetEntropyEncoding(v string) *H264Settings { + s.EntropyEncoding = &v + return s +} + +// SetFieldEncoding sets the FieldEncoding field's value. +func (s *H264Settings) SetFieldEncoding(v string) *H264Settings { + s.FieldEncoding = &v + return s +} + +// SetFlickerAdaptiveQuantization sets the FlickerAdaptiveQuantization field's value. +func (s *H264Settings) SetFlickerAdaptiveQuantization(v string) *H264Settings { + s.FlickerAdaptiveQuantization = &v + return s +} + +// SetFramerateControl sets the FramerateControl field's value. +func (s *H264Settings) SetFramerateControl(v string) *H264Settings { + s.FramerateControl = &v + return s +} + +// SetFramerateConversionAlgorithm sets the FramerateConversionAlgorithm field's value. +func (s *H264Settings) SetFramerateConversionAlgorithm(v string) *H264Settings { + s.FramerateConversionAlgorithm = &v + return s +} + +// SetFramerateDenominator sets the FramerateDenominator field's value. +func (s *H264Settings) SetFramerateDenominator(v int64) *H264Settings { + s.FramerateDenominator = &v + return s +} + +// SetFramerateNumerator sets the FramerateNumerator field's value. +func (s *H264Settings) SetFramerateNumerator(v int64) *H264Settings { + s.FramerateNumerator = &v + return s +} + +// SetGopBReference sets the GopBReference field's value. +func (s *H264Settings) SetGopBReference(v string) *H264Settings { + s.GopBReference = &v + return s +} + +// SetGopClosedCadence sets the GopClosedCadence field's value. +func (s *H264Settings) SetGopClosedCadence(v int64) *H264Settings { + s.GopClosedCadence = &v + return s +} + +// SetGopSize sets the GopSize field's value. +func (s *H264Settings) SetGopSize(v float64) *H264Settings { + s.GopSize = &v + return s +} + +// SetGopSizeUnits sets the GopSizeUnits field's value. +func (s *H264Settings) SetGopSizeUnits(v string) *H264Settings { + s.GopSizeUnits = &v + return s +} + +// SetHrdBufferInitialFillPercentage sets the HrdBufferInitialFillPercentage field's value. +func (s *H264Settings) SetHrdBufferInitialFillPercentage(v int64) *H264Settings { + s.HrdBufferInitialFillPercentage = &v + return s +} + +// SetHrdBufferSize sets the HrdBufferSize field's value. +func (s *H264Settings) SetHrdBufferSize(v int64) *H264Settings { + s.HrdBufferSize = &v + return s +} + +// SetInterlaceMode sets the InterlaceMode field's value. +func (s *H264Settings) SetInterlaceMode(v string) *H264Settings { + s.InterlaceMode = &v + return s +} + +// SetMaxBitrate sets the MaxBitrate field's value. +func (s *H264Settings) SetMaxBitrate(v int64) *H264Settings { + s.MaxBitrate = &v + return s +} + +// SetMinIInterval sets the MinIInterval field's value. +func (s *H264Settings) SetMinIInterval(v int64) *H264Settings { + s.MinIInterval = &v + return s +} + +// SetNumberBFramesBetweenReferenceFrames sets the NumberBFramesBetweenReferenceFrames field's value. +func (s *H264Settings) SetNumberBFramesBetweenReferenceFrames(v int64) *H264Settings { + s.NumberBFramesBetweenReferenceFrames = &v + return s +} + +// SetNumberReferenceFrames sets the NumberReferenceFrames field's value. +func (s *H264Settings) SetNumberReferenceFrames(v int64) *H264Settings { + s.NumberReferenceFrames = &v + return s +} + +// SetParControl sets the ParControl field's value. +func (s *H264Settings) SetParControl(v string) *H264Settings { + s.ParControl = &v + return s +} + +// SetParDenominator sets the ParDenominator field's value. +func (s *H264Settings) SetParDenominator(v int64) *H264Settings { + s.ParDenominator = &v + return s +} + +// SetParNumerator sets the ParNumerator field's value. +func (s *H264Settings) SetParNumerator(v int64) *H264Settings { + s.ParNumerator = &v + return s +} + +// SetQualityTuningLevel sets the QualityTuningLevel field's value. +func (s *H264Settings) SetQualityTuningLevel(v string) *H264Settings { + s.QualityTuningLevel = &v + return s +} + +// SetRateControlMode sets the RateControlMode field's value. +func (s *H264Settings) SetRateControlMode(v string) *H264Settings { + s.RateControlMode = &v + return s +} + +// SetRepeatPps sets the RepeatPps field's value. +func (s *H264Settings) SetRepeatPps(v string) *H264Settings { + s.RepeatPps = &v + return s +} + +// SetSceneChangeDetect sets the SceneChangeDetect field's value. +func (s *H264Settings) SetSceneChangeDetect(v string) *H264Settings { + s.SceneChangeDetect = &v + return s +} + +// SetSlices sets the Slices field's value. +func (s *H264Settings) SetSlices(v int64) *H264Settings { + s.Slices = &v + return s +} + +// SetSlowPal sets the SlowPal field's value. +func (s *H264Settings) SetSlowPal(v string) *H264Settings { + s.SlowPal = &v + return s +} + +// SetSoftness sets the Softness field's value. +func (s *H264Settings) SetSoftness(v int64) *H264Settings { + s.Softness = &v + return s +} + +// SetSpatialAdaptiveQuantization sets the SpatialAdaptiveQuantization field's value. +func (s *H264Settings) SetSpatialAdaptiveQuantization(v string) *H264Settings { + s.SpatialAdaptiveQuantization = &v + return s +} + +// SetSyntax sets the Syntax field's value. +func (s *H264Settings) SetSyntax(v string) *H264Settings { + s.Syntax = &v + return s +} + +// SetTelecine sets the Telecine field's value. +func (s *H264Settings) SetTelecine(v string) *H264Settings { + s.Telecine = &v + return s +} + +// SetTemporalAdaptiveQuantization sets the TemporalAdaptiveQuantization field's value. +func (s *H264Settings) SetTemporalAdaptiveQuantization(v string) *H264Settings { + s.TemporalAdaptiveQuantization = &v + return s +} + +// SetUnregisteredSeiTimecode sets the UnregisteredSeiTimecode field's value. +func (s *H264Settings) SetUnregisteredSeiTimecode(v string) *H264Settings { + s.UnregisteredSeiTimecode = &v + return s +} + +// Settings for H265 codec +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/H265Settings +type H265Settings struct { + _ struct{} `type:"structure"` + + // Adaptive quantization. Allows intra-frame quantizers to vary to improve visual + // quality. + AdaptiveQuantization *string `locationName:"adaptiveQuantization" type:"string" enum:"H265AdaptiveQuantization"` + + // Enables Alternate Transfer Function SEI message for outputs using Hybrid + // Log Gamma (HLG) Electro-Optical Transfer Function (EOTF). + AlternateTransferFunctionSei *string `locationName:"alternateTransferFunctionSei" type:"string" enum:"H265AlternateTransferFunctionSei"` + + // Average bitrate in bits/second. Required for VBR, CBR, and ABR. Five megabits + // can be entered as 5000000 or 5m. Five hundred kilobits can be entered as + // 500000 or 0.5m. For MS Smooth outputs, bitrates must be unique when rounded + // down to the nearest multiple of 1000. + Bitrate *int64 `locationName:"bitrate" type:"integer"` + + // H.265 Level. + CodecLevel *string `locationName:"codecLevel" type:"string" enum:"H265CodecLevel"` + + // Represents the Profile and Tier, per the HEVC (H.265) specification. Selections + // are grouped as [Profile] / [Tier], so "Main/High" represents Main Profile + // with High Tier. 4:2:2 profiles are only available with the HEVC 4:2:2 License. + CodecProfile *string `locationName:"codecProfile" type:"string" enum:"H265CodecProfile"` + + // Adjust quantization within each frame to reduce flicker or 'pop' on I-frames. + FlickerAdaptiveQuantization *string `locationName:"flickerAdaptiveQuantization" type:"string" enum:"H265FlickerAdaptiveQuantization"` + + // Using the API, set FramerateControl to INITIALIZE_FROM_SOURCE if you want + // the service to use the framerate from the input. Using the console, do this + // by choosing INITIALIZE_FROM_SOURCE for Framerate. + FramerateControl *string `locationName:"framerateControl" type:"string" enum:"H265FramerateControl"` + + // When set to INTERPOLATE, produces smoother motion during framerate conversion. + FramerateConversionAlgorithm *string `locationName:"framerateConversionAlgorithm" type:"string" enum:"H265FramerateConversionAlgorithm"` + + // Framerate denominator. + FramerateDenominator *int64 `locationName:"framerateDenominator" type:"integer"` + + // Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 + // fps. + FramerateNumerator *int64 `locationName:"framerateNumerator" type:"integer"` + + // If enable, use reference B frames for GOP structures that have B frames > + // 1. + GopBReference *string `locationName:"gopBReference" type:"string" enum:"H265GopBReference"` + + // Frequency of closed GOPs. In streaming applications, it is recommended that + // this be set to 1 so a decoder joining mid-stream will receive an IDR frame + // as quickly as possible. Setting this value to 0 will break output segmenting. + GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` + + // GOP Length (keyframe interval) in frames or seconds. Must be greater than + // zero. + GopSize *float64 `locationName:"gopSize" type:"double"` + + // Indicates if the GOP Size in H265 is specified in frames or seconds. If seconds + // the system will convert the GOP Size into a frame count at run time. + GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"H265GopSizeUnits"` + + // Percentage of the buffer that should initially be filled (HRD buffer model). + HrdBufferInitialFillPercentage *int64 `locationName:"hrdBufferInitialFillPercentage" type:"integer"` + + // Size of buffer (HRD buffer model). Five megabits can be entered as 5000000 + // or 5m. Five hundred kilobits can be entered as 500000 or 0.5m. + HrdBufferSize *int64 `locationName:"hrdBufferSize" type:"integer"` + + // Use Interlace mode (InterlaceMode) to choose the scan line type for the output. + // * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce + // interlaced output with the entire output having the same field polarity (top + // or bottom first). * Follow, Default Top (FOLLOw_TOP_FIELD) and Follow, Default + // Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, + // behavior depends on the input scan type. - If the source is interlaced, the + // output will be interlaced with the same polarity as the source (it will follow + // the source). The output could therefore be a mix of "top field first" and + // "bottom field first". - If the source is progressive, the output will be + // interlaced with "top field first" or "bottom field first" polarity, depending + // on which of the Follow options you chose. + InterlaceMode *string `locationName:"interlaceMode" type:"string" enum:"H265InterlaceMode"` + + // Maximum bitrate in bits/second (for VBR mode only). Five megabits can be + // entered as 5000000 or 5m. Five hundred kilobits can be entered as 500000 + // or 0.5m. + MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` + + // Enforces separation between repeated (cadence) I-frames and I-frames inserted + // by Scene Change Detection. If a scene change I-frame is within I-interval + // frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene + // change I-frame. GOP stretch requires enabling lookahead as well as setting + // I-interval. The normal cadence resumes for the next GOP. This setting is + // only used when Scene Change Detect is enabled. Note: Maximum GOP stretch + // = GOP size + Min-I-interval - 1 + MinIInterval *int64 `locationName:"minIInterval" type:"integer"` + + // Number of B-frames between reference frames. + NumberBFramesBetweenReferenceFrames *int64 `locationName:"numberBFramesBetweenReferenceFrames" type:"integer"` + + // Number of reference frames to use. The encoder may use more than requested + // if using B-frames and/or interlaced encoding. + NumberReferenceFrames *int64 `locationName:"numberReferenceFrames" type:"integer"` + + // Using the API, enable ParFollowSource if you want the service to use the + // pixel aspect ratio from the input. Using the console, do this by choosing + // Follow source for Pixel aspect ratio. + ParControl *string `locationName:"parControl" type:"string" enum:"H265ParControl"` + + // Pixel Aspect Ratio denominator. + ParDenominator *int64 `locationName:"parDenominator" type:"integer"` + + // Pixel Aspect Ratio numerator. + ParNumerator *int64 `locationName:"parNumerator" type:"integer"` + + // Use Quality tuning level (H265QualityTuningLevel) to specifiy whether to + // use fast single-pass, high-quality singlepass, or high-quality multipass + // video encoding. + QualityTuningLevel *string `locationName:"qualityTuningLevel" type:"string" enum:"H265QualityTuningLevel"` + + // Rate control mode. CQ uses constant quantizer (qp), ABR (average bitrate) + // does not write HRD parameters. + RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"H265RateControlMode"` + + // Specify Sample Adaptive Offset (SAO) filter strength. Adaptive mode dynamically + // selects best strength based on content + SampleAdaptiveOffsetFilterMode *string `locationName:"sampleAdaptiveOffsetFilterMode" type:"string" enum:"H265SampleAdaptiveOffsetFilterMode"` + + // Scene change detection (inserts I-frames on scene changes). + SceneChangeDetect *string `locationName:"sceneChangeDetect" type:"string" enum:"H265SceneChangeDetect"` + + // Number of slices per picture. Must be less than or equal to the number of + // macroblock rows for progressive pictures, and less than or equal to half + // the number of macroblock rows for interlaced pictures. + Slices *int64 `locationName:"slices" type:"integer"` + + // Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled + // as 25fps, and audio is sped up correspondingly. + SlowPal *string `locationName:"slowPal" type:"string" enum:"H265SlowPal"` + + // Adjust quantization within each frame based on spatial variation of content + // complexity. + SpatialAdaptiveQuantization *string `locationName:"spatialAdaptiveQuantization" type:"string" enum:"H265SpatialAdaptiveQuantization"` + + // This field applies only if the Streams > Advanced > Framerate (framerate) + // field is set to 29.970. This field works with the Streams > Advanced > Preprocessors + // > Deinterlacer field (deinterlace_mode) and the Streams > Advanced > Interlaced + // Mode field (interlace_mode) to identify the scan type for the output: Progressive, + // Interlaced, Hard Telecine or Soft Telecine. - Hard: produces 29.97i output + // from 23.976 input. - Soft: produces 23.976; the player converts this output + // to 29.97i. + Telecine *string `locationName:"telecine" type:"string" enum:"H265Telecine"` + + // Adjust quantization within each frame based on temporal variation of content + // complexity. + TemporalAdaptiveQuantization *string `locationName:"temporalAdaptiveQuantization" type:"string" enum:"H265TemporalAdaptiveQuantization"` + + // Enables temporal layer identifiers in the encoded bitstream. Up to 3 layers + // are supported depending on GOP structure: I- and P-frames form one layer, + // reference B-frames can form a second layer and non-reference b-frames can + // form a third layer. Decoders can optionally decode only the lower temporal + // layers to generate a lower frame rate output. For example, given a bitstream + // with temporal IDs and with b-frames = 1 (i.e. IbPbPb display order), a decoder + // could decode all the frames for full frame rate output or only the I and + // P frames (lowest temporal layer) for a half frame rate output. + TemporalIds *string `locationName:"temporalIds" type:"string" enum:"H265TemporalIds"` + + // Enable use of tiles, allowing horizontal as well as vertical subdivision + // of the encoded pictures. + Tiles *string `locationName:"tiles" type:"string" enum:"H265Tiles"` + + // Inserts timecode for each frame as 4 bytes of an unregistered SEI message. + UnregisteredSeiTimecode *string `locationName:"unregisteredSeiTimecode" type:"string" enum:"H265UnregisteredSeiTimecode"` +} + +// String returns the string representation +func (s H265Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s H265Settings) GoString() string { + return s.String() +} + +// SetAdaptiveQuantization sets the AdaptiveQuantization field's value. +func (s *H265Settings) SetAdaptiveQuantization(v string) *H265Settings { + s.AdaptiveQuantization = &v + return s +} + +// SetAlternateTransferFunctionSei sets the AlternateTransferFunctionSei field's value. +func (s *H265Settings) SetAlternateTransferFunctionSei(v string) *H265Settings { + s.AlternateTransferFunctionSei = &v + return s +} + +// SetBitrate sets the Bitrate field's value. +func (s *H265Settings) SetBitrate(v int64) *H265Settings { + s.Bitrate = &v + return s +} + +// SetCodecLevel sets the CodecLevel field's value. +func (s *H265Settings) SetCodecLevel(v string) *H265Settings { + s.CodecLevel = &v + return s +} + +// SetCodecProfile sets the CodecProfile field's value. +func (s *H265Settings) SetCodecProfile(v string) *H265Settings { + s.CodecProfile = &v + return s +} + +// SetFlickerAdaptiveQuantization sets the FlickerAdaptiveQuantization field's value. +func (s *H265Settings) SetFlickerAdaptiveQuantization(v string) *H265Settings { + s.FlickerAdaptiveQuantization = &v + return s +} + +// SetFramerateControl sets the FramerateControl field's value. +func (s *H265Settings) SetFramerateControl(v string) *H265Settings { + s.FramerateControl = &v + return s +} + +// SetFramerateConversionAlgorithm sets the FramerateConversionAlgorithm field's value. +func (s *H265Settings) SetFramerateConversionAlgorithm(v string) *H265Settings { + s.FramerateConversionAlgorithm = &v + return s +} + +// SetFramerateDenominator sets the FramerateDenominator field's value. +func (s *H265Settings) SetFramerateDenominator(v int64) *H265Settings { + s.FramerateDenominator = &v + return s +} + +// SetFramerateNumerator sets the FramerateNumerator field's value. +func (s *H265Settings) SetFramerateNumerator(v int64) *H265Settings { + s.FramerateNumerator = &v + return s +} + +// SetGopBReference sets the GopBReference field's value. +func (s *H265Settings) SetGopBReference(v string) *H265Settings { + s.GopBReference = &v + return s +} + +// SetGopClosedCadence sets the GopClosedCadence field's value. +func (s *H265Settings) SetGopClosedCadence(v int64) *H265Settings { + s.GopClosedCadence = &v + return s +} + +// SetGopSize sets the GopSize field's value. +func (s *H265Settings) SetGopSize(v float64) *H265Settings { + s.GopSize = &v + return s +} + +// SetGopSizeUnits sets the GopSizeUnits field's value. +func (s *H265Settings) SetGopSizeUnits(v string) *H265Settings { + s.GopSizeUnits = &v + return s +} + +// SetHrdBufferInitialFillPercentage sets the HrdBufferInitialFillPercentage field's value. +func (s *H265Settings) SetHrdBufferInitialFillPercentage(v int64) *H265Settings { + s.HrdBufferInitialFillPercentage = &v + return s +} + +// SetHrdBufferSize sets the HrdBufferSize field's value. +func (s *H265Settings) SetHrdBufferSize(v int64) *H265Settings { + s.HrdBufferSize = &v + return s +} + +// SetInterlaceMode sets the InterlaceMode field's value. +func (s *H265Settings) SetInterlaceMode(v string) *H265Settings { + s.InterlaceMode = &v + return s +} + +// SetMaxBitrate sets the MaxBitrate field's value. +func (s *H265Settings) SetMaxBitrate(v int64) *H265Settings { + s.MaxBitrate = &v + return s +} + +// SetMinIInterval sets the MinIInterval field's value. +func (s *H265Settings) SetMinIInterval(v int64) *H265Settings { + s.MinIInterval = &v + return s +} + +// SetNumberBFramesBetweenReferenceFrames sets the NumberBFramesBetweenReferenceFrames field's value. +func (s *H265Settings) SetNumberBFramesBetweenReferenceFrames(v int64) *H265Settings { + s.NumberBFramesBetweenReferenceFrames = &v + return s +} + +// SetNumberReferenceFrames sets the NumberReferenceFrames field's value. +func (s *H265Settings) SetNumberReferenceFrames(v int64) *H265Settings { + s.NumberReferenceFrames = &v + return s +} + +// SetParControl sets the ParControl field's value. +func (s *H265Settings) SetParControl(v string) *H265Settings { + s.ParControl = &v + return s +} + +// SetParDenominator sets the ParDenominator field's value. +func (s *H265Settings) SetParDenominator(v int64) *H265Settings { + s.ParDenominator = &v + return s +} + +// SetParNumerator sets the ParNumerator field's value. +func (s *H265Settings) SetParNumerator(v int64) *H265Settings { + s.ParNumerator = &v + return s +} + +// SetQualityTuningLevel sets the QualityTuningLevel field's value. +func (s *H265Settings) SetQualityTuningLevel(v string) *H265Settings { + s.QualityTuningLevel = &v + return s +} + +// SetRateControlMode sets the RateControlMode field's value. +func (s *H265Settings) SetRateControlMode(v string) *H265Settings { + s.RateControlMode = &v + return s +} + +// SetSampleAdaptiveOffsetFilterMode sets the SampleAdaptiveOffsetFilterMode field's value. +func (s *H265Settings) SetSampleAdaptiveOffsetFilterMode(v string) *H265Settings { + s.SampleAdaptiveOffsetFilterMode = &v + return s +} + +// SetSceneChangeDetect sets the SceneChangeDetect field's value. +func (s *H265Settings) SetSceneChangeDetect(v string) *H265Settings { + s.SceneChangeDetect = &v + return s +} + +// SetSlices sets the Slices field's value. +func (s *H265Settings) SetSlices(v int64) *H265Settings { + s.Slices = &v + return s +} + +// SetSlowPal sets the SlowPal field's value. +func (s *H265Settings) SetSlowPal(v string) *H265Settings { + s.SlowPal = &v + return s +} + +// SetSpatialAdaptiveQuantization sets the SpatialAdaptiveQuantization field's value. +func (s *H265Settings) SetSpatialAdaptiveQuantization(v string) *H265Settings { + s.SpatialAdaptiveQuantization = &v + return s +} + +// SetTelecine sets the Telecine field's value. +func (s *H265Settings) SetTelecine(v string) *H265Settings { + s.Telecine = &v + return s +} + +// SetTemporalAdaptiveQuantization sets the TemporalAdaptiveQuantization field's value. +func (s *H265Settings) SetTemporalAdaptiveQuantization(v string) *H265Settings { + s.TemporalAdaptiveQuantization = &v + return s +} + +// SetTemporalIds sets the TemporalIds field's value. +func (s *H265Settings) SetTemporalIds(v string) *H265Settings { + s.TemporalIds = &v + return s +} + +// SetTiles sets the Tiles field's value. +func (s *H265Settings) SetTiles(v string) *H265Settings { + s.Tiles = &v + return s +} + +// SetUnregisteredSeiTimecode sets the UnregisteredSeiTimecode field's value. +func (s *H265Settings) SetUnregisteredSeiTimecode(v string) *H265Settings { + s.UnregisteredSeiTimecode = &v + return s +} + +// Use the HDR master display (Hdr10Metadata) settings to provide values for +// HDR color. These values vary depending on the input video and must be provided +// by a color grader. Range is 0 to 50,000, each increment represents 0.00002 +// in CIE1931 color coordinate. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Hdr10Metadata +type Hdr10Metadata struct { + _ struct{} `type:"structure"` + + // HDR Master Display Information comes from the color grader and the color + // grading tools. Range is 0 to 50,000, each increment represents 0.00002 in + // CIE1931 color coordinate. + BluePrimaryX *int64 `locationName:"bluePrimaryX" type:"integer"` + + // HDR Master Display Information comes from the color grader and the color + // grading tools. Range is 0 to 50,000, each increment represents 0.00002 in + // CIE1931 color coordinate. + BluePrimaryY *int64 `locationName:"bluePrimaryY" type:"integer"` + + // HDR Master Display Information comes from the color grader and the color + // grading tools. Range is 0 to 50,000, each increment represents 0.00002 in + // CIE1931 color coordinate. + GreenPrimaryX *int64 `locationName:"greenPrimaryX" type:"integer"` + + // HDR Master Display Information comes from the color grader and the color + // grading tools. Range is 0 to 50,000, each increment represents 0.00002 in + // CIE1931 color coordinate. + GreenPrimaryY *int64 `locationName:"greenPrimaryY" type:"integer"` + + // Maximum light level among all samples in the coded video sequence, in units + // of candelas per square meter. + MaxContentLightLevel *int64 `locationName:"maxContentLightLevel" type:"integer"` + + // Maximum average light level of any frame in the coded video sequence, in + // units of candelas per square meter. + MaxFrameAverageLightLevel *int64 `locationName:"maxFrameAverageLightLevel" type:"integer"` + + // Nominal maximum mastering display luminance in units of of 0.0001 candelas + // per square meter. + MaxLuminance *int64 `locationName:"maxLuminance" type:"integer"` + + // Nominal minimum mastering display luminance in units of of 0.0001 candelas + // per square meter + MinLuminance *int64 `locationName:"minLuminance" type:"integer"` + + // HDR Master Display Information comes from the color grader and the color + // grading tools. Range is 0 to 50,000, each increment represents 0.00002 in + // CIE1931 color coordinate. + RedPrimaryX *int64 `locationName:"redPrimaryX" type:"integer"` + + // HDR Master Display Information comes from the color grader and the color + // grading tools. Range is 0 to 50,000, each increment represents 0.00002 in + // CIE1931 color coordinate. + RedPrimaryY *int64 `locationName:"redPrimaryY" type:"integer"` + + // HDR Master Display Information comes from the color grader and the color + // grading tools. Range is 0 to 50,000, each increment represents 0.00002 in + // CIE1931 color coordinate. + WhitePointX *int64 `locationName:"whitePointX" type:"integer"` + + // HDR Master Display Information comes from the color grader and the color + // grading tools. Range is 0 to 50,000, each increment represents 0.00002 in + // CIE1931 color coordinate. + WhitePointY *int64 `locationName:"whitePointY" type:"integer"` +} + +// String returns the string representation +func (s Hdr10Metadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Hdr10Metadata) GoString() string { + return s.String() +} + +// SetBluePrimaryX sets the BluePrimaryX field's value. +func (s *Hdr10Metadata) SetBluePrimaryX(v int64) *Hdr10Metadata { + s.BluePrimaryX = &v + return s +} + +// SetBluePrimaryY sets the BluePrimaryY field's value. +func (s *Hdr10Metadata) SetBluePrimaryY(v int64) *Hdr10Metadata { + s.BluePrimaryY = &v + return s +} + +// SetGreenPrimaryX sets the GreenPrimaryX field's value. +func (s *Hdr10Metadata) SetGreenPrimaryX(v int64) *Hdr10Metadata { + s.GreenPrimaryX = &v + return s +} + +// SetGreenPrimaryY sets the GreenPrimaryY field's value. +func (s *Hdr10Metadata) SetGreenPrimaryY(v int64) *Hdr10Metadata { + s.GreenPrimaryY = &v + return s +} + +// SetMaxContentLightLevel sets the MaxContentLightLevel field's value. +func (s *Hdr10Metadata) SetMaxContentLightLevel(v int64) *Hdr10Metadata { + s.MaxContentLightLevel = &v + return s +} + +// SetMaxFrameAverageLightLevel sets the MaxFrameAverageLightLevel field's value. +func (s *Hdr10Metadata) SetMaxFrameAverageLightLevel(v int64) *Hdr10Metadata { + s.MaxFrameAverageLightLevel = &v + return s +} + +// SetMaxLuminance sets the MaxLuminance field's value. +func (s *Hdr10Metadata) SetMaxLuminance(v int64) *Hdr10Metadata { + s.MaxLuminance = &v + return s +} + +// SetMinLuminance sets the MinLuminance field's value. +func (s *Hdr10Metadata) SetMinLuminance(v int64) *Hdr10Metadata { + s.MinLuminance = &v + return s +} + +// SetRedPrimaryX sets the RedPrimaryX field's value. +func (s *Hdr10Metadata) SetRedPrimaryX(v int64) *Hdr10Metadata { + s.RedPrimaryX = &v + return s +} + +// SetRedPrimaryY sets the RedPrimaryY field's value. +func (s *Hdr10Metadata) SetRedPrimaryY(v int64) *Hdr10Metadata { + s.RedPrimaryY = &v + return s +} + +// SetWhitePointX sets the WhitePointX field's value. +func (s *Hdr10Metadata) SetWhitePointX(v int64) *Hdr10Metadata { + s.WhitePointX = &v + return s +} + +// SetWhitePointY sets the WhitePointY field's value. +func (s *Hdr10Metadata) SetWhitePointY(v int64) *Hdr10Metadata { + s.WhitePointY = &v + return s +} + +// Caption Language Mapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/HlsCaptionLanguageMapping +type HlsCaptionLanguageMapping struct { + _ struct{} `type:"structure"` + + // Caption channel. + CaptionChannel *int64 `locationName:"captionChannel" type:"integer"` + + // Code to specify the language, following the specification "ISO 639-2 three-digit + // code":http://www.loc.gov/standards/iso639-2/ + LanguageCode *string `locationName:"languageCode" type:"string" enum:"LanguageCode"` + + // Caption language description. + LanguageDescription *string `locationName:"languageDescription" type:"string"` +} + +// String returns the string representation +func (s HlsCaptionLanguageMapping) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsCaptionLanguageMapping) GoString() string { + return s.String() +} + +// SetCaptionChannel sets the CaptionChannel field's value. +func (s *HlsCaptionLanguageMapping) SetCaptionChannel(v int64) *HlsCaptionLanguageMapping { + s.CaptionChannel = &v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *HlsCaptionLanguageMapping) SetLanguageCode(v string) *HlsCaptionLanguageMapping { + s.LanguageCode = &v + return s +} + +// SetLanguageDescription sets the LanguageDescription field's value. +func (s *HlsCaptionLanguageMapping) SetLanguageDescription(v string) *HlsCaptionLanguageMapping { + s.LanguageDescription = &v + return s +} + +// Settings for HLS encryption +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/HlsEncryptionSettings +type HlsEncryptionSettings struct { + _ struct{} `type:"structure"` + + // This is a 128-bit, 16-byte hex value represented by a 32-character text string. + // If this parameter is not set then the Initialization Vector will follow the + // segment number by default. + ConstantInitializationVector *string `locationName:"constantInitializationVector" type:"string"` + + // Encrypts the segments with the given encryption scheme. Leave blank to disable. + // Selecting 'Disabled' in the web interface also disables encryption. + EncryptionMethod *string `locationName:"encryptionMethod" type:"string" enum:"HlsEncryptionType"` + + // The Initialization Vector is a 128-bit number used in conjunction with the + // key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed + // in the manifest. Otherwise Initialization Vector is not in the manifest. + InitializationVectorInManifest *string `locationName:"initializationVectorInManifest" type:"string" enum:"HlsInitializationVectorInManifest"` + + // Settings for use with a SPEKE key provider + SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure"` + + // Settings for use with a SPEKE key provider. + StaticKeyProvider *StaticKeyProvider `locationName:"staticKeyProvider" type:"structure"` + + // Indicates which type of key provider is used for encryption. + Type *string `locationName:"type" type:"string" enum:"HlsKeyProviderType"` +} + +// String returns the string representation +func (s HlsEncryptionSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsEncryptionSettings) GoString() string { + return s.String() +} + +// SetConstantInitializationVector sets the ConstantInitializationVector field's value. +func (s *HlsEncryptionSettings) SetConstantInitializationVector(v string) *HlsEncryptionSettings { + s.ConstantInitializationVector = &v + return s +} + +// SetEncryptionMethod sets the EncryptionMethod field's value. +func (s *HlsEncryptionSettings) SetEncryptionMethod(v string) *HlsEncryptionSettings { + s.EncryptionMethod = &v + return s +} + +// SetInitializationVectorInManifest sets the InitializationVectorInManifest field's value. +func (s *HlsEncryptionSettings) SetInitializationVectorInManifest(v string) *HlsEncryptionSettings { + s.InitializationVectorInManifest = &v + return s +} + +// SetSpekeKeyProvider sets the SpekeKeyProvider field's value. +func (s *HlsEncryptionSettings) SetSpekeKeyProvider(v *SpekeKeyProvider) *HlsEncryptionSettings { + s.SpekeKeyProvider = v + return s +} + +// SetStaticKeyProvider sets the StaticKeyProvider field's value. +func (s *HlsEncryptionSettings) SetStaticKeyProvider(v *StaticKeyProvider) *HlsEncryptionSettings { + s.StaticKeyProvider = v + return s +} + +// SetType sets the Type field's value. +func (s *HlsEncryptionSettings) SetType(v string) *HlsEncryptionSettings { + s.Type = &v + return s +} + +// Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to +// HLS_GROUP_SETTINGS. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/HlsGroupSettings +type HlsGroupSettings struct { + _ struct{} `type:"structure"` + + // Choose one or more ad marker types to pass SCTE35 signals through to this + // group of Apple HLS outputs. + AdMarkers []*string `locationName:"adMarkers" type:"list"` + + // A partial URI prefix that will be prepended to each output in the media .m3u8 + // file. Can be used if base manifest is delivered from a different URL than + // the main .m3u8 file. + BaseUrl *string `locationName:"baseUrl" type:"string"` + + // Language to be used on Caption outputs + CaptionLanguageMappings []*HlsCaptionLanguageMapping `locationName:"captionLanguageMappings" type:"list"` + + // Applies only to 608 Embedded output captions. Insert: Include CLOSED-CAPTIONS + // lines in the manifest. Specify at least one language in the CC1 Language + // Code field. One CLOSED-CAPTION line is added for each Language Code you specify. + // Make sure to specify the languages in the order in which they appear in the + // original source (if the source is embedded format) or the order of the caption + // selectors (if the source is other than embedded). Otherwise, languages in + // the manifest will not match up properly with the output captions. None: Include + // CLOSED-CAPTIONS=NONE line in the manifest. Omit: Omit any CLOSED-CAPTIONS + // line from the manifest. + CaptionLanguageSetting *string `locationName:"captionLanguageSetting" type:"string" enum:"HlsCaptionLanguageSetting"` + + // When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client + // from saving media segments for later replay. + ClientCache *string `locationName:"clientCache" type:"string" enum:"HlsClientCache"` + + // Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist + // generation. + CodecSpecification *string `locationName:"codecSpecification" type:"string" enum:"HlsCodecSpecification"` + + // Use Destination (Destination) to specify the S3 output location and the output + // filename base. Destination accepts format identifiers. If you do not specify + // the base filename in the URI, the service will use the filename of the input + // file. If your job has multiple inputs, the service uses the filename of the + // first input file. + Destination *string `locationName:"destination" type:"string"` + + // Indicates whether segments should be placed in subdirectories. + DirectoryStructure *string `locationName:"directoryStructure" type:"string" enum:"HlsDirectoryStructure"` + + // DRM settings. + Encryption *HlsEncryptionSettings `locationName:"encryption" type:"structure"` + + // When set to GZIP, compresses HLS playlist. + ManifestCompression *string `locationName:"manifestCompression" type:"string" enum:"HlsManifestCompression"` + + // Indicates whether the output manifest should use floating point values for + // segment duration. + ManifestDurationFormat *string `locationName:"manifestDurationFormat" type:"string" enum:"HlsManifestDurationFormat"` + + // When set, Minimum Segment Size is enforced by looking ahead and back within + // the specified range for a nearby avail and extending the segment size if + // needed. + MinSegmentLength *int64 `locationName:"minSegmentLength" type:"integer"` + + // Indicates whether the .m3u8 manifest file should be generated for this HLS + // output group. + OutputSelection *string `locationName:"outputSelection" type:"string" enum:"HlsOutputSelection"` + + // Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. + // The value is calculated as follows: either the program date and time are + // initialized using the input timecode source, or the time is initialized using + // the input timecode source and the date is initialized using the timestamp_offset. + ProgramDateTime *string `locationName:"programDateTime" type:"string" enum:"HlsProgramDateTime"` + + // Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. + ProgramDateTimePeriod *int64 `locationName:"programDateTimePeriod" type:"integer"` + + // When set to SINGLE_FILE, emits program as a single media resource (.ts) file, + // uses #EXT-X-BYTERANGE tags to index segment for playback. + SegmentControl *string `locationName:"segmentControl" type:"string" enum:"HlsSegmentControl"` + + // Length of MPEG-2 Transport Stream segments to create (in seconds). Note that + // segments will end on the next keyframe after this number of seconds, so actual + // segment length may be longer. + SegmentLength *int64 `locationName:"segmentLength" type:"integer"` + + // Number of segments to write to a subdirectory before starting a new one. + // directoryStructure must be SINGLE_DIRECTORY for this setting to have an effect. + SegmentsPerSubdirectory *int64 `locationName:"segmentsPerSubdirectory" type:"integer"` + + // Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag + // of variant manifest. + StreamInfResolution *string `locationName:"streamInfResolution" type:"string" enum:"HlsStreamInfResolution"` + + // Indicates ID3 frame that has the timecode. + TimedMetadataId3Frame *string `locationName:"timedMetadataId3Frame" type:"string" enum:"HlsTimedMetadataId3Frame"` + + // Timed Metadata interval in seconds. + TimedMetadataId3Period *int64 `locationName:"timedMetadataId3Period" type:"integer"` + + // Provides an extra millisecond delta offset to fine tune the timestamps. + TimestampDeltaMilliseconds *int64 `locationName:"timestampDeltaMilliseconds" type:"integer"` +} + +// String returns the string representation +func (s HlsGroupSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsGroupSettings) GoString() string { + return s.String() +} + +// SetAdMarkers sets the AdMarkers field's value. +func (s *HlsGroupSettings) SetAdMarkers(v []*string) *HlsGroupSettings { + s.AdMarkers = v + return s +} + +// SetBaseUrl sets the BaseUrl field's value. +func (s *HlsGroupSettings) SetBaseUrl(v string) *HlsGroupSettings { + s.BaseUrl = &v + return s +} + +// SetCaptionLanguageMappings sets the CaptionLanguageMappings field's value. +func (s *HlsGroupSettings) SetCaptionLanguageMappings(v []*HlsCaptionLanguageMapping) *HlsGroupSettings { + s.CaptionLanguageMappings = v + return s +} + +// SetCaptionLanguageSetting sets the CaptionLanguageSetting field's value. +func (s *HlsGroupSettings) SetCaptionLanguageSetting(v string) *HlsGroupSettings { + s.CaptionLanguageSetting = &v + return s +} + +// SetClientCache sets the ClientCache field's value. +func (s *HlsGroupSettings) SetClientCache(v string) *HlsGroupSettings { + s.ClientCache = &v + return s +} + +// SetCodecSpecification sets the CodecSpecification field's value. +func (s *HlsGroupSettings) SetCodecSpecification(v string) *HlsGroupSettings { + s.CodecSpecification = &v + return s +} + +// SetDestination sets the Destination field's value. +func (s *HlsGroupSettings) SetDestination(v string) *HlsGroupSettings { + s.Destination = &v + return s +} + +// SetDirectoryStructure sets the DirectoryStructure field's value. +func (s *HlsGroupSettings) SetDirectoryStructure(v string) *HlsGroupSettings { + s.DirectoryStructure = &v + return s +} + +// SetEncryption sets the Encryption field's value. +func (s *HlsGroupSettings) SetEncryption(v *HlsEncryptionSettings) *HlsGroupSettings { + s.Encryption = v + return s +} + +// SetManifestCompression sets the ManifestCompression field's value. +func (s *HlsGroupSettings) SetManifestCompression(v string) *HlsGroupSettings { + s.ManifestCompression = &v + return s +} + +// SetManifestDurationFormat sets the ManifestDurationFormat field's value. +func (s *HlsGroupSettings) SetManifestDurationFormat(v string) *HlsGroupSettings { + s.ManifestDurationFormat = &v + return s +} + +// SetMinSegmentLength sets the MinSegmentLength field's value. +func (s *HlsGroupSettings) SetMinSegmentLength(v int64) *HlsGroupSettings { + s.MinSegmentLength = &v + return s +} + +// SetOutputSelection sets the OutputSelection field's value. +func (s *HlsGroupSettings) SetOutputSelection(v string) *HlsGroupSettings { + s.OutputSelection = &v + return s +} + +// SetProgramDateTime sets the ProgramDateTime field's value. +func (s *HlsGroupSettings) SetProgramDateTime(v string) *HlsGroupSettings { + s.ProgramDateTime = &v + return s +} + +// SetProgramDateTimePeriod sets the ProgramDateTimePeriod field's value. +func (s *HlsGroupSettings) SetProgramDateTimePeriod(v int64) *HlsGroupSettings { + s.ProgramDateTimePeriod = &v + return s +} + +// SetSegmentControl sets the SegmentControl field's value. +func (s *HlsGroupSettings) SetSegmentControl(v string) *HlsGroupSettings { + s.SegmentControl = &v + return s +} + +// SetSegmentLength sets the SegmentLength field's value. +func (s *HlsGroupSettings) SetSegmentLength(v int64) *HlsGroupSettings { + s.SegmentLength = &v + return s +} + +// SetSegmentsPerSubdirectory sets the SegmentsPerSubdirectory field's value. +func (s *HlsGroupSettings) SetSegmentsPerSubdirectory(v int64) *HlsGroupSettings { + s.SegmentsPerSubdirectory = &v + return s +} + +// SetStreamInfResolution sets the StreamInfResolution field's value. +func (s *HlsGroupSettings) SetStreamInfResolution(v string) *HlsGroupSettings { + s.StreamInfResolution = &v + return s +} + +// SetTimedMetadataId3Frame sets the TimedMetadataId3Frame field's value. +func (s *HlsGroupSettings) SetTimedMetadataId3Frame(v string) *HlsGroupSettings { + s.TimedMetadataId3Frame = &v + return s +} + +// SetTimedMetadataId3Period sets the TimedMetadataId3Period field's value. +func (s *HlsGroupSettings) SetTimedMetadataId3Period(v int64) *HlsGroupSettings { + s.TimedMetadataId3Period = &v + return s +} + +// SetTimestampDeltaMilliseconds sets the TimestampDeltaMilliseconds field's value. +func (s *HlsGroupSettings) SetTimestampDeltaMilliseconds(v int64) *HlsGroupSettings { + s.TimestampDeltaMilliseconds = &v + return s +} + +// Settings for HLS output groups +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/HlsSettings +type HlsSettings struct { + _ struct{} `type:"structure"` + + // Specifies the group to which the audio Rendition belongs. + AudioGroupId *string `locationName:"audioGroupId" type:"string"` + + // List all the audio groups that are used with the video output stream. Input + // all the audio GROUP-IDs that are associated to the video, separate by ','. + AudioRenditionSets *string `locationName:"audioRenditionSets" type:"string"` + + // Four types of audio-only tracks are supported: Audio-Only Variant Stream + // The client can play back this audio-only stream instead of video in low-bandwidth + // scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate + // Audio, Auto Select, Default Alternate rendition that the client should try + // to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest + // with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default + // Alternate rendition that the client may try to play back by default. Represented + // as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate + // Audio, not Auto Select Alternate rendition that the client will not try to + // play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with + // DEFAULT=NO, AUTOSELECT=NO + AudioTrackType *string `locationName:"audioTrackType" type:"string" enum:"HlsAudioTrackType"` + + // When set to INCLUDE, writes I-Frame Only Manifest in addition to the HLS + // manifest + IFrameOnlyManifest *string `locationName:"iFrameOnlyManifest" type:"string" enum:"HlsIFrameOnlyManifest"` + + // String concatenated to end of segment filenames. Accepts "Format Identifiers":#format_identifier_parameters. + SegmentModifier *string `locationName:"segmentModifier" type:"string"` +} + +// String returns the string representation +func (s HlsSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsSettings) GoString() string { + return s.String() +} + +// SetAudioGroupId sets the AudioGroupId field's value. +func (s *HlsSettings) SetAudioGroupId(v string) *HlsSettings { + s.AudioGroupId = &v + return s +} + +// SetAudioRenditionSets sets the AudioRenditionSets field's value. +func (s *HlsSettings) SetAudioRenditionSets(v string) *HlsSettings { + s.AudioRenditionSets = &v + return s +} + +// SetAudioTrackType sets the AudioTrackType field's value. +func (s *HlsSettings) SetAudioTrackType(v string) *HlsSettings { + s.AudioTrackType = &v + return s +} + +// SetIFrameOnlyManifest sets the IFrameOnlyManifest field's value. +func (s *HlsSettings) SetIFrameOnlyManifest(v string) *HlsSettings { + s.IFrameOnlyManifest = &v + return s +} + +// SetSegmentModifier sets the SegmentModifier field's value. +func (s *HlsSettings) SetSegmentModifier(v string) *HlsSettings { + s.SegmentModifier = &v + return s +} + +// To insert ID3 tags in your output, specify two values. Use ID3 tag (Id3) +// to specify the base 64 encoded string and use Timecode (TimeCode) to specify +// the time when the tag should be inserted. To insert multiple ID3 tags in +// your output, create mulitple instances of ID3 insertion (Id3Insertion). +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Id3Insertion +type Id3Insertion struct { + _ struct{} `type:"structure"` + + // Use ID3 tag (Id3) to provide a tag value in base64-encode format. + Id3 *string `locationName:"id3" type:"string"` + + // Provide a Timecode (TimeCode) in HH:MM:SS:FF or HH:MM:SS;FF format. + Timecode *string `locationName:"timecode" type:"string"` +} + +// String returns the string representation +func (s Id3Insertion) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Id3Insertion) GoString() string { + return s.String() +} + +// SetId3 sets the Id3 field's value. +func (s *Id3Insertion) SetId3(v string) *Id3Insertion { + s.Id3 = &v + return s +} + +// SetTimecode sets the Timecode field's value. +func (s *Id3Insertion) SetTimecode(v string) *Id3Insertion { + s.Timecode = &v + return s +} + +// Enable the Image inserter (ImageInserter) feature to include a graphic overlay +// on your video. Enable or disable this feature for each output individually. +// This setting is disabled by default. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ImageInserter +type ImageInserter struct { + _ struct{} `type:"structure"` + + // Image to insert. Must be 32 bit windows BMP, PNG, or TGA file. Must not be + // larger than the output frames. + InsertableImages []*InsertableImage `locationName:"insertableImages" type:"list"` +} + +// String returns the string representation +func (s ImageInserter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ImageInserter) GoString() string { + return s.String() +} + +// SetInsertableImages sets the InsertableImages field's value. +func (s *ImageInserter) SetInsertableImages(v []*InsertableImage) *ImageInserter { + s.InsertableImages = v + return s +} + +// Specifies media input +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Input +type Input struct { + _ struct{} `type:"structure"` + + // Specifies set of audio selectors within an input to combine. An input may + // have multiple audio selector groups. See "Audio Selector Group":#inputs-audio_selector_group + // for more information. + AudioSelectorGroups map[string]*AudioSelectorGroup `locationName:"audioSelectorGroups" type:"map"` + + // Use Audio selectors (AudioSelectors) to specify a track or set of tracks + // from the input that you will use in your outputs. You can use mutiple Audio + // selectors per input. + AudioSelectors map[string]*AudioSelector `locationName:"audioSelectors" type:"map"` + + // Use Captions selectors (CaptionSelectors) to specify the captions data from + // the input that you will use in your outputs. You can use mutiple captions + // selectors per input. + CaptionSelectors map[string]*CaptionSelector `locationName:"captionSelectors" type:"map"` + + // Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. + // Default is disabled. Only manaully controllable for MPEG2 and uncompressed + // video inputs. + DeblockFilter *string `locationName:"deblockFilter" type:"string" enum:"InputDeblockFilter"` + + // Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default + // is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video + // inputs. + DenoiseFilter *string `locationName:"denoiseFilter" type:"string" enum:"InputDenoiseFilter"` + + // Use Input (fileInput) to define the source file used in the transcode job. + // There can be multiple inputs in a job. These inputs are concantenated, in + // the order they are specified in the job, to create the output. + FileInput *string `locationName:"fileInput" type:"string"` + + // Use Filter enable (InputFilterEnable) to specify how the transcoding service + // applies the denoise and deblock filters. You must also enable the filters + // separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). + // * Auto - The transcoding service determines whether to apply filtering, depending + // on input type and quality. * Disable - The input is not filtered. This is + // true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). + // * Force - The in put is filtered regardless of input type. + FilterEnable *string `locationName:"filterEnable" type:"string" enum:"InputFilterEnable"` + + // Use Filter strength (FilterStrength) to adjust the magnitude the input filter + // settings (Deblock and Denoise). The range is -5 to 5. Default is 0. + FilterStrength *int64 `locationName:"filterStrength" type:"integer"` + + // (InputClippings) contains sets of start and end times that together specify + // a portion of the input to be used in the outputs. If you provide only a start + // time, the clip will be the entire input from that point to the end. If you + // provide only an end time, it will be the entire input up to that point. When + // you specify more than one input clip, the transcoding service creates the + // job outputs by stringing the clips together in the order you specify them. + InputClippings []*InputClipping `locationName:"inputClippings" type:"list"` + + // Use Program (programNumber) to select a specific program from within a multi-program + // transport stream. Note that Quad 4K is not currently supported. Default is + // the first program within the transport stream. If the program you specify + // doesn't exist, the transcoding service will use this default. + ProgramNumber *int64 `locationName:"programNumber" type:"integer"` + + // Set PSI control (InputPsiControl) for transport stream inputs to specify + // which data the demux process to scans. * Ignore PSI - Scan all PIDs for audio + // and video. * Use PSI - Scan only PSI data. + PsiControl *string `locationName:"psiControl" type:"string" enum:"InputPsiControl"` + + // Use Timecode source (InputTimecodeSource) to specify how timecode information + // from your input is adjusted and encoded in all outputs for the job. Default + // is embedded. Set to Embedded (EMBEDDED) to use the timecode that is in the + // input video. If no embedded timecode is in the source, will set the timecode + // for the first frame to 00:00:00:00. Set to Start at 0 (ZEROBASED) to set + // the timecode of the initial frame to 00:00:00:00. Set to Specified start + // (SPECIFIEDSTART) to provide the initial timecode yourself the setting (Start). + TimecodeSource *string `locationName:"timecodeSource" type:"string" enum:"InputTimecodeSource"` + + // Selector for video. + VideoSelector *VideoSelector `locationName:"videoSelector" type:"structure"` +} + +// String returns the string representation +func (s Input) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Input) GoString() string { + return s.String() +} + +// SetAudioSelectorGroups sets the AudioSelectorGroups field's value. +func (s *Input) SetAudioSelectorGroups(v map[string]*AudioSelectorGroup) *Input { + s.AudioSelectorGroups = v + return s +} + +// SetAudioSelectors sets the AudioSelectors field's value. +func (s *Input) SetAudioSelectors(v map[string]*AudioSelector) *Input { + s.AudioSelectors = v + return s +} + +// SetCaptionSelectors sets the CaptionSelectors field's value. +func (s *Input) SetCaptionSelectors(v map[string]*CaptionSelector) *Input { + s.CaptionSelectors = v + return s +} + +// SetDeblockFilter sets the DeblockFilter field's value. +func (s *Input) SetDeblockFilter(v string) *Input { + s.DeblockFilter = &v + return s +} + +// SetDenoiseFilter sets the DenoiseFilter field's value. +func (s *Input) SetDenoiseFilter(v string) *Input { + s.DenoiseFilter = &v + return s +} + +// SetFileInput sets the FileInput field's value. +func (s *Input) SetFileInput(v string) *Input { + s.FileInput = &v + return s +} + +// SetFilterEnable sets the FilterEnable field's value. +func (s *Input) SetFilterEnable(v string) *Input { + s.FilterEnable = &v + return s +} + +// SetFilterStrength sets the FilterStrength field's value. +func (s *Input) SetFilterStrength(v int64) *Input { + s.FilterStrength = &v + return s +} + +// SetInputClippings sets the InputClippings field's value. +func (s *Input) SetInputClippings(v []*InputClipping) *Input { + s.InputClippings = v + return s +} + +// SetProgramNumber sets the ProgramNumber field's value. +func (s *Input) SetProgramNumber(v int64) *Input { + s.ProgramNumber = &v + return s +} + +// SetPsiControl sets the PsiControl field's value. +func (s *Input) SetPsiControl(v string) *Input { + s.PsiControl = &v + return s +} + +// SetTimecodeSource sets the TimecodeSource field's value. +func (s *Input) SetTimecodeSource(v string) *Input { + s.TimecodeSource = &v + return s +} + +// SetVideoSelector sets the VideoSelector field's value. +func (s *Input) SetVideoSelector(v *VideoSelector) *Input { + s.VideoSelector = v + return s +} + +// Include one instance of (InputClipping) for each input clip. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/InputClipping +type InputClipping struct { + _ struct{} `type:"structure"` + + // Set End timecode (EndTimecode) to the end of the portion of the input you + // are clipping. The frame corresponding to the End timecode value is included + // in the clip. Start timecode or End timecode may be left blank, but not both. + // When choosing this value, take into account your setting for Input timecode + // source. For example, if you have embedded timecodes that start at 01:00:00:00 + // and you want your clip to begin five minutes into the video, use 01:00:05:00. + EndTimecode *string `locationName:"endTimecode" type:"string"` + + // Set Start timecode (StartTimecode) to the beginning of the portion of the + // input you are clipping. The frame corresponding to the Start timecode value + // is included in the clip. Start timecode or End timecode may be left blank, + // but not both. When choosing this value, take into account your setting for + // Input timecode source. For example, if you have embedded timecodes that start + // at 01:00:00:00 and you want your clip to begin five minutes into the video, + // use 01:00:05:00. + StartTimecode *string `locationName:"startTimecode" type:"string"` +} + +// String returns the string representation +func (s InputClipping) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputClipping) GoString() string { + return s.String() +} + +// SetEndTimecode sets the EndTimecode field's value. +func (s *InputClipping) SetEndTimecode(v string) *InputClipping { + s.EndTimecode = &v + return s +} + +// SetStartTimecode sets the StartTimecode field's value. +func (s *InputClipping) SetStartTimecode(v string) *InputClipping { + s.StartTimecode = &v + return s +} + +// Specified video input in a template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/InputTemplate +type InputTemplate struct { + _ struct{} `type:"structure"` + + // Specifies set of audio selectors within an input to combine. An input may + // have multiple audio selector groups. See "Audio Selector Group":#inputs-audio_selector_group + // for more information. + AudioSelectorGroups map[string]*AudioSelectorGroup `locationName:"audioSelectorGroups" type:"map"` + + // Use Audio selectors (AudioSelectors) to specify a track or set of tracks + // from the input that you will use in your outputs. You can use mutiple Audio + // selectors per input. + AudioSelectors map[string]*AudioSelector `locationName:"audioSelectors" type:"map"` + + // Use Captions selectors (CaptionSelectors) to specify the captions data from + // the input that you will use in your outputs. You can use mutiple captions + // selectors per input. + CaptionSelectors map[string]*CaptionSelector `locationName:"captionSelectors" type:"map"` + + // Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. + // Default is disabled. Only manaully controllable for MPEG2 and uncompressed + // video inputs. + DeblockFilter *string `locationName:"deblockFilter" type:"string" enum:"InputDeblockFilter"` + + // Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default + // is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video + // inputs. + DenoiseFilter *string `locationName:"denoiseFilter" type:"string" enum:"InputDenoiseFilter"` + + // Use Filter enable (InputFilterEnable) to specify how the transcoding service + // applies the denoise and deblock filters. You must also enable the filters + // separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). + // * Auto - The transcoding service determines whether to apply filtering, depending + // on input type and quality. * Disable - The input is not filtered. This is + // true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). + // * Force - The in put is filtered regardless of input type. + FilterEnable *string `locationName:"filterEnable" type:"string" enum:"InputFilterEnable"` + + // Use Filter strength (FilterStrength) to adjust the magnitude the input filter + // settings (Deblock and Denoise). The range is -5 to 5. Default is 0. + FilterStrength *int64 `locationName:"filterStrength" type:"integer"` + + // (InputClippings) contains sets of start and end times that together specify + // a portion of the input to be used in the outputs. If you provide only a start + // time, the clip will be the entire input from that point to the end. If you + // provide only an end time, it will be the entire input up to that point. When + // you specify more than one input clip, the transcoding service creates the + // job outputs by stringing the clips together in the order you specify them. + InputClippings []*InputClipping `locationName:"inputClippings" type:"list"` + + // Use Program (programNumber) to select a specific program from within a multi-program + // transport stream. Note that Quad 4K is not currently supported. Default is + // the first program within the transport stream. If the program you specify + // doesn't exist, the transcoding service will use this default. + ProgramNumber *int64 `locationName:"programNumber" type:"integer"` + + // Set PSI control (InputPsiControl) for transport stream inputs to specify + // which data the demux process to scans. * Ignore PSI - Scan all PIDs for audio + // and video. * Use PSI - Scan only PSI data. + PsiControl *string `locationName:"psiControl" type:"string" enum:"InputPsiControl"` + + // Use Timecode source (InputTimecodeSource) to specify how timecode information + // from your input is adjusted and encoded in all outputs for the job. Default + // is embedded. Set to Embedded (EMBEDDED) to use the timecode that is in the + // input video. If no embedded timecode is in the source, will set the timecode + // for the first frame to 00:00:00:00. Set to Start at 0 (ZEROBASED) to set + // the timecode of the initial frame to 00:00:00:00. Set to Specified start + // (SPECIFIEDSTART) to provide the initial timecode yourself the setting (Start). + TimecodeSource *string `locationName:"timecodeSource" type:"string" enum:"InputTimecodeSource"` + + // Selector for video. + VideoSelector *VideoSelector `locationName:"videoSelector" type:"structure"` +} + +// String returns the string representation +func (s InputTemplate) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputTemplate) GoString() string { + return s.String() +} + +// SetAudioSelectorGroups sets the AudioSelectorGroups field's value. +func (s *InputTemplate) SetAudioSelectorGroups(v map[string]*AudioSelectorGroup) *InputTemplate { + s.AudioSelectorGroups = v + return s +} + +// SetAudioSelectors sets the AudioSelectors field's value. +func (s *InputTemplate) SetAudioSelectors(v map[string]*AudioSelector) *InputTemplate { + s.AudioSelectors = v + return s +} + +// SetCaptionSelectors sets the CaptionSelectors field's value. +func (s *InputTemplate) SetCaptionSelectors(v map[string]*CaptionSelector) *InputTemplate { + s.CaptionSelectors = v + return s +} + +// SetDeblockFilter sets the DeblockFilter field's value. +func (s *InputTemplate) SetDeblockFilter(v string) *InputTemplate { + s.DeblockFilter = &v + return s +} + +// SetDenoiseFilter sets the DenoiseFilter field's value. +func (s *InputTemplate) SetDenoiseFilter(v string) *InputTemplate { + s.DenoiseFilter = &v + return s +} + +// SetFilterEnable sets the FilterEnable field's value. +func (s *InputTemplate) SetFilterEnable(v string) *InputTemplate { + s.FilterEnable = &v + return s +} + +// SetFilterStrength sets the FilterStrength field's value. +func (s *InputTemplate) SetFilterStrength(v int64) *InputTemplate { + s.FilterStrength = &v + return s +} + +// SetInputClippings sets the InputClippings field's value. +func (s *InputTemplate) SetInputClippings(v []*InputClipping) *InputTemplate { + s.InputClippings = v + return s +} + +// SetProgramNumber sets the ProgramNumber field's value. +func (s *InputTemplate) SetProgramNumber(v int64) *InputTemplate { + s.ProgramNumber = &v + return s +} + +// SetPsiControl sets the PsiControl field's value. +func (s *InputTemplate) SetPsiControl(v string) *InputTemplate { + s.PsiControl = &v + return s +} + +// SetTimecodeSource sets the TimecodeSource field's value. +func (s *InputTemplate) SetTimecodeSource(v string) *InputTemplate { + s.TimecodeSource = &v + return s +} + +// SetVideoSelector sets the VideoSelector field's value. +func (s *InputTemplate) SetVideoSelector(v *VideoSelector) *InputTemplate { + s.VideoSelector = v + return s +} + +// Settings for Insertable Image +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/InsertableImage +type InsertableImage struct { + _ struct{} `type:"structure"` + + // Use Duration (Duration) to set the time, in milliseconds, for the image to + // remain on the output video. + Duration *int64 `locationName:"duration" type:"integer"` + + // Use Fade in (FadeIut) to set the length, in milliseconds, of the inserted + // image fade in. If you don't specify a value for Fade in, the image will appear + // abruptly at the Start time. + FadeIn *int64 `locationName:"fadeIn" type:"integer"` + + // Use Fade out (FadeOut) to set the length, in milliseconds, of the inserted + // image fade out. If you don't specify a value for Fade out, the image will + // disappear abruptly at the end of the inserted image duration. + FadeOut *int64 `locationName:"fadeOut" type:"integer"` + + // Specify the Height (Height) of the inserted image. Use a value that is less + // than or equal to the video resolution height. Leave this setting blank to + // use the native height of the image. + Height *int64 `locationName:"height" type:"integer"` + + // Use Image location (imageInserterInput) to specify the Amazon S3 location + // of the image to be inserted into the output. Use a 32 bit BMP, PNG, or TGA + // file that fits inside the video frame. + ImageInserterInput *string `locationName:"imageInserterInput" type:"string"` + + // Use Left (ImageX) to set the distance, in pixels, between the inserted image + // and the left edge of the frame. Required for BMP, PNG and TGA input. + ImageX *int64 `locationName:"imageX" type:"integer"` + + // Use Top (ImageY) to set the distance, in pixels, between the inserted image + // and the top edge of the video frame. Required for BMP, PNG and TGA input. + ImageY *int64 `locationName:"imageY" type:"integer"` + + // Use Layer (Layer) to specify how overlapping inserted images appear. Images + // with higher values of layer appear on top of images with lower values of + // layer. + Layer *int64 `locationName:"layer" type:"integer"` + + // Use Opacity (Opacity) to specify how much of the underlying video shows through + // the inserted image. 0 is transparent and 100 is fully opaque. Default is + // 50. + Opacity *int64 `locationName:"opacity" type:"integer"` + + // Use Start time (StartTime) to specify the video timecode when the image is + // inserted in the output. This must be in timecode format (HH:MM:SS:FF) + StartTime *string `locationName:"startTime" type:"string"` + + // Specify the Width (Width) of the inserted image. Use a value that is less + // than or equal to the video resolution width. Leave this setting blank to + // use the native width of the image. + Width *int64 `locationName:"width" type:"integer"` +} + +// String returns the string representation +func (s InsertableImage) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InsertableImage) GoString() string { + return s.String() +} + +// SetDuration sets the Duration field's value. +func (s *InsertableImage) SetDuration(v int64) *InsertableImage { + s.Duration = &v + return s +} + +// SetFadeIn sets the FadeIn field's value. +func (s *InsertableImage) SetFadeIn(v int64) *InsertableImage { + s.FadeIn = &v + return s +} + +// SetFadeOut sets the FadeOut field's value. +func (s *InsertableImage) SetFadeOut(v int64) *InsertableImage { + s.FadeOut = &v + return s +} + +// SetHeight sets the Height field's value. +func (s *InsertableImage) SetHeight(v int64) *InsertableImage { + s.Height = &v + return s +} + +// SetImageInserterInput sets the ImageInserterInput field's value. +func (s *InsertableImage) SetImageInserterInput(v string) *InsertableImage { + s.ImageInserterInput = &v + return s +} + +// SetImageX sets the ImageX field's value. +func (s *InsertableImage) SetImageX(v int64) *InsertableImage { + s.ImageX = &v + return s +} + +// SetImageY sets the ImageY field's value. +func (s *InsertableImage) SetImageY(v int64) *InsertableImage { + s.ImageY = &v + return s +} + +// SetLayer sets the Layer field's value. +func (s *InsertableImage) SetLayer(v int64) *InsertableImage { + s.Layer = &v + return s +} + +// SetOpacity sets the Opacity field's value. +func (s *InsertableImage) SetOpacity(v int64) *InsertableImage { + s.Opacity = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *InsertableImage) SetStartTime(v string) *InsertableImage { + s.StartTime = &v + return s +} + +// SetWidth sets the Width field's value. +func (s *InsertableImage) SetWidth(v int64) *InsertableImage { + s.Width = &v + return s +} + +// Each job converts an input file into an output file or files. For more information, +// see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Job +type Job struct { + _ struct{} `type:"structure"` + + // An identifier for this resource that is unique within all of AWS. + Arn *string `locationName:"arn" type:"string"` + + // The time, in Unix epoch format in seconds, when the job got created. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` + + // Error code for the job + ErrorCode *int64 `locationName:"errorCode" type:"integer"` + + // Error message of Job + ErrorMessage *string `locationName:"errorMessage" type:"string"` + + // A portion of the job's ARN, unique within your AWS Elemental MediaConvert + // resources + Id *string `locationName:"id" type:"string"` + + // The job template that the job is created from, if it is created from a job + // template. + JobTemplate *string `locationName:"jobTemplate" type:"string"` + + // List of output group details + OutputGroupDetails []*OutputGroupDetail `locationName:"outputGroupDetails" type:"list"` + + // Optional. When you create a job, you can specify a queue to send it to. If + // you don't specify, the job will go to the default queue. For more about queues, + // see the User Guide topic at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html + Queue *string `locationName:"queue" type:"string"` + + // The IAM role you use for creating this job. For details about permissions, + // see the User Guide topic at the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html + Role *string `locationName:"role" type:"string"` + + // JobSettings contains all the transcode settings for a job. + Settings *JobSettings `locationName:"settings" type:"structure"` + + // A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR. + Status *string `locationName:"status" type:"string" enum:"JobStatus"` + + // Information about when jobs are submitted, started, and finished is specified + // in Unix epoch format in seconds. + Timing *Timing `locationName:"timing" type:"structure"` + + // User-defined metadata that you want to associate with an MediaConvert job. + // You specify metadata in key/value pairs. + UserMetadata map[string]*string `locationName:"userMetadata" type:"map"` +} + +// String returns the string representation +func (s Job) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Job) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Job) SetArn(v string) *Job { + s.Arn = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *Job) SetCreatedAt(v time.Time) *Job { + s.CreatedAt = &v + return s +} + +// SetErrorCode sets the ErrorCode field's value. +func (s *Job) SetErrorCode(v int64) *Job { + s.ErrorCode = &v + return s +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *Job) SetErrorMessage(v string) *Job { + s.ErrorMessage = &v + return s +} + +// SetId sets the Id field's value. +func (s *Job) SetId(v string) *Job { + s.Id = &v + return s +} + +// SetJobTemplate sets the JobTemplate field's value. +func (s *Job) SetJobTemplate(v string) *Job { + s.JobTemplate = &v + return s +} + +// SetOutputGroupDetails sets the OutputGroupDetails field's value. +func (s *Job) SetOutputGroupDetails(v []*OutputGroupDetail) *Job { + s.OutputGroupDetails = v + return s +} + +// SetQueue sets the Queue field's value. +func (s *Job) SetQueue(v string) *Job { + s.Queue = &v + return s +} + +// SetRole sets the Role field's value. +func (s *Job) SetRole(v string) *Job { + s.Role = &v + return s +} + +// SetSettings sets the Settings field's value. +func (s *Job) SetSettings(v *JobSettings) *Job { + s.Settings = v + return s +} + +// SetStatus sets the Status field's value. +func (s *Job) SetStatus(v string) *Job { + s.Status = &v + return s +} + +// SetTiming sets the Timing field's value. +func (s *Job) SetTiming(v *Timing) *Job { + s.Timing = v + return s +} + +// SetUserMetadata sets the UserMetadata field's value. +func (s *Job) SetUserMetadata(v map[string]*string) *Job { + s.UserMetadata = v + return s +} + +// JobSettings contains all the transcode settings for a job. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/JobSettings +type JobSettings struct { + _ struct{} `type:"structure"` + + // When specified, this offset (in milliseconds) is added to the input Ad Avail + // PTS time. + AdAvailOffset *int64 `locationName:"adAvailOffset" type:"integer"` + + // Settings for ad avail blanking. Video can be blanked or overlaid with an + // image, and audio muted during SCTE-35 triggered ad avails. + AvailBlanking *AvailBlanking `locationName:"availBlanking" type:"structure"` + + // Use Inputs (inputs) to define source file used in the transcode job. There + // can be multiple inputs add in a job. These inputs will be concantenated together + // to create the output. + Inputs []*Input `locationName:"inputs" type:"list"` + + // Settings for Nielsen Configuration + NielsenConfiguration *NielsenConfiguration `locationName:"nielsenConfiguration" type:"structure"` + + // **!!**(OutputGroups) contains one group of settings for each set of outputs + // that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, + // Quicktime, MXF, and no container) are grouped in a single output group as + // well. Required in (OutputGroups) is a group of settings that apply to the + // whole group. This required object depends on the value you set for (Type) + // under (OutputGroups)>(OutputGroupSettings). Type, settings object pairs are + // as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, + // HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, + // MsSmoothGroupSettings + OutputGroups []*OutputGroup `locationName:"outputGroups" type:"list"` + + // Contains settings used to acquire and adjust timecode information from inputs. + TimecodeConfig *TimecodeConfig `locationName:"timecodeConfig" type:"structure"` + + // Enable Timed metadata insertion (TimedMetadataInsertion) to include ID3 tags + // in your job. To include timed metadata, you must enable it here, enable it + // in each output container, and specify tags and timecodes in ID3 insertion + // (Id3Insertion) objects. + TimedMetadataInsertion *TimedMetadataInsertion `locationName:"timedMetadataInsertion" type:"structure"` +} + +// String returns the string representation +func (s JobSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s JobSettings) GoString() string { + return s.String() +} + +// SetAdAvailOffset sets the AdAvailOffset field's value. +func (s *JobSettings) SetAdAvailOffset(v int64) *JobSettings { + s.AdAvailOffset = &v + return s +} + +// SetAvailBlanking sets the AvailBlanking field's value. +func (s *JobSettings) SetAvailBlanking(v *AvailBlanking) *JobSettings { + s.AvailBlanking = v + return s +} + +// SetInputs sets the Inputs field's value. +func (s *JobSettings) SetInputs(v []*Input) *JobSettings { + s.Inputs = v + return s +} + +// SetNielsenConfiguration sets the NielsenConfiguration field's value. +func (s *JobSettings) SetNielsenConfiguration(v *NielsenConfiguration) *JobSettings { + s.NielsenConfiguration = v + return s +} + +// SetOutputGroups sets the OutputGroups field's value. +func (s *JobSettings) SetOutputGroups(v []*OutputGroup) *JobSettings { + s.OutputGroups = v + return s +} + +// SetTimecodeConfig sets the TimecodeConfig field's value. +func (s *JobSettings) SetTimecodeConfig(v *TimecodeConfig) *JobSettings { + s.TimecodeConfig = v + return s +} + +// SetTimedMetadataInsertion sets the TimedMetadataInsertion field's value. +func (s *JobSettings) SetTimedMetadataInsertion(v *TimedMetadataInsertion) *JobSettings { + s.TimedMetadataInsertion = v + return s +} + +// A job template is a pre-made set of encoding instructions that you can use +// to quickly create a job. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/JobTemplate +type JobTemplate struct { + _ struct{} `type:"structure"` + + // An identifier for this resource that is unique within all of AWS. + Arn *string `locationName:"arn" type:"string"` + + // An optional category you create to organize your job templates. + Category *string `locationName:"category" type:"string"` + + // The timestamp in epoch seconds for Job template creation. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` + + // An optional description you create for each job template. + Description *string `locationName:"description" type:"string"` + + // The timestamp in epoch seconds when the Job template was last updated. + LastUpdated *time.Time `locationName:"lastUpdated" type:"timestamp" timestampFormat:"unix"` + + // A name you create for each job template. Each name must be unique within + // your account. + Name *string `locationName:"name" type:"string"` + + // Optional. The queue that jobs created from this template are assigned to. + // If you don't specify this, jobs will go to the default queue. + Queue *string `locationName:"queue" type:"string"` + + // JobTemplateSettings contains all the transcode settings saved in the template + // that will be applied to jobs created from it. + Settings *JobTemplateSettings `locationName:"settings" type:"structure"` + + // A job template can be of two types: system or custom. System or built-in + // job templates can’t be modified or deleted by the user. + Type *string `locationName:"type" type:"string" enum:"Type"` +} + +// String returns the string representation +func (s JobTemplate) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s JobTemplate) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *JobTemplate) SetArn(v string) *JobTemplate { + s.Arn = &v + return s +} + +// SetCategory sets the Category field's value. +func (s *JobTemplate) SetCategory(v string) *JobTemplate { + s.Category = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *JobTemplate) SetCreatedAt(v time.Time) *JobTemplate { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *JobTemplate) SetDescription(v string) *JobTemplate { + s.Description = &v + return s +} + +// SetLastUpdated sets the LastUpdated field's value. +func (s *JobTemplate) SetLastUpdated(v time.Time) *JobTemplate { + s.LastUpdated = &v + return s +} + +// SetName sets the Name field's value. +func (s *JobTemplate) SetName(v string) *JobTemplate { + s.Name = &v + return s +} + +// SetQueue sets the Queue field's value. +func (s *JobTemplate) SetQueue(v string) *JobTemplate { + s.Queue = &v + return s +} + +// SetSettings sets the Settings field's value. +func (s *JobTemplate) SetSettings(v *JobTemplateSettings) *JobTemplate { + s.Settings = v + return s +} + +// SetType sets the Type field's value. +func (s *JobTemplate) SetType(v string) *JobTemplate { + s.Type = &v + return s +} + +// JobTemplateSettings contains all the transcode settings saved in the template +// that will be applied to jobs created from it. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/JobTemplateSettings +type JobTemplateSettings struct { + _ struct{} `type:"structure"` + + // When specified, this offset (in milliseconds) is added to the input Ad Avail + // PTS time. + AdAvailOffset *int64 `locationName:"adAvailOffset" type:"integer"` + + // Settings for ad avail blanking. Video can be blanked or overlaid with an + // image, and audio muted during SCTE-35 triggered ad avails. + AvailBlanking *AvailBlanking `locationName:"availBlanking" type:"structure"` + + // Use Inputs (inputs) to define the source file used in the transcode job. + // There can only be one input in a job template. Using the API, you can include + // multiple inputs when referencing a job template. + Inputs []*InputTemplate `locationName:"inputs" type:"list"` + + // Settings for Nielsen Configuration + NielsenConfiguration *NielsenConfiguration `locationName:"nielsenConfiguration" type:"structure"` + + // **!!**(OutputGroups) contains one group of settings for each set of outputs + // that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, + // Quicktime, MXF, and no container) are grouped in a single output group as + // well. Required in (OutputGroups) is a group of settings that apply to the + // whole group. This required object depends on the value you set for (Type) + // under (OutputGroups)>(OutputGroupSettings). Type, settings object pairs are + // as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, + // HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, + // MsSmoothGroupSettings + OutputGroups []*OutputGroup `locationName:"outputGroups" type:"list"` + + // Contains settings used to acquire and adjust timecode information from inputs. + TimecodeConfig *TimecodeConfig `locationName:"timecodeConfig" type:"structure"` + + // Enable Timed metadata insertion (TimedMetadataInsertion) to include ID3 tags + // in your job. To include timed metadata, you must enable it here, enable it + // in each output container, and specify tags and timecodes in ID3 insertion + // (Id3Insertion) objects. + TimedMetadataInsertion *TimedMetadataInsertion `locationName:"timedMetadataInsertion" type:"structure"` +} + +// String returns the string representation +func (s JobTemplateSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s JobTemplateSettings) GoString() string { + return s.String() +} + +// SetAdAvailOffset sets the AdAvailOffset field's value. +func (s *JobTemplateSettings) SetAdAvailOffset(v int64) *JobTemplateSettings { + s.AdAvailOffset = &v + return s +} + +// SetAvailBlanking sets the AvailBlanking field's value. +func (s *JobTemplateSettings) SetAvailBlanking(v *AvailBlanking) *JobTemplateSettings { + s.AvailBlanking = v + return s +} + +// SetInputs sets the Inputs field's value. +func (s *JobTemplateSettings) SetInputs(v []*InputTemplate) *JobTemplateSettings { + s.Inputs = v + return s +} + +// SetNielsenConfiguration sets the NielsenConfiguration field's value. +func (s *JobTemplateSettings) SetNielsenConfiguration(v *NielsenConfiguration) *JobTemplateSettings { + s.NielsenConfiguration = v + return s +} + +// SetOutputGroups sets the OutputGroups field's value. +func (s *JobTemplateSettings) SetOutputGroups(v []*OutputGroup) *JobTemplateSettings { + s.OutputGroups = v + return s +} + +// SetTimecodeConfig sets the TimecodeConfig field's value. +func (s *JobTemplateSettings) SetTimecodeConfig(v *TimecodeConfig) *JobTemplateSettings { + s.TimecodeConfig = v + return s +} + +// SetTimedMetadataInsertion sets the TimedMetadataInsertion field's value. +func (s *JobTemplateSettings) SetTimedMetadataInsertion(v *TimedMetadataInsertion) *JobTemplateSettings { + s.TimedMetadataInsertion = v + return s +} + +// You can send list job templates requests with an empty body. Optionally, +// you can filter the response by category by specifying it in your request +// body. You can also optionally specify the maximum number, up to twenty, of +// job templates to be returned. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListJobTemplatesRequest +type ListJobTemplatesInput struct { + _ struct{} `type:"structure"` + + // Optionally, specify a job template category to limit responses to only job + // templates from that category. + Category *string `location:"querystring" locationName:"category" type:"string"` + + // Optional. When you request a list of job templates, you can choose to list + // them alphabetically by NAME or chronologically by CREATION_DATE. If you don't + // specify, the service will list them by name. + ListBy *string `location:"querystring" locationName:"listBy" type:"string" enum:"JobTemplateListBy"` + + // Optional. Number of job templates, up to twenty, that will be returned at + // one time. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // Use this string, provided with the response to a previous request, to request + // the next batch of job templates. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // When you request lists of resources, you can optionally specify whether they + // are sorted in ASCENDING or DESCENDING order. Default varies by resource. + Order *string `location:"querystring" locationName:"order" type:"string" enum:"Order"` +} + +// String returns the string representation +func (s ListJobTemplatesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListJobTemplatesInput) GoString() string { + return s.String() +} + +// SetCategory sets the Category field's value. +func (s *ListJobTemplatesInput) SetCategory(v string) *ListJobTemplatesInput { + s.Category = &v + return s +} + +// SetListBy sets the ListBy field's value. +func (s *ListJobTemplatesInput) SetListBy(v string) *ListJobTemplatesInput { + s.ListBy = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListJobTemplatesInput) SetMaxResults(v int64) *ListJobTemplatesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListJobTemplatesInput) SetNextToken(v string) *ListJobTemplatesInput { + s.NextToken = &v + return s +} + +// SetOrder sets the Order field's value. +func (s *ListJobTemplatesInput) SetOrder(v string) *ListJobTemplatesInput { + s.Order = &v + return s +} + +// Successful list job templates requests return a JSON array of job templates. +// If you do not specify how they are ordered, you will receive them in alphabetical +// order by name. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListJobTemplatesResponse +type ListJobTemplatesOutput struct { + _ struct{} `type:"structure"` + + // List of Job templates. + JobTemplates []*JobTemplate `locationName:"jobTemplates" type:"list"` + + // Use this string to request the next batch of job templates. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListJobTemplatesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListJobTemplatesOutput) GoString() string { + return s.String() +} + +// SetJobTemplates sets the JobTemplates field's value. +func (s *ListJobTemplatesOutput) SetJobTemplates(v []*JobTemplate) *ListJobTemplatesOutput { + s.JobTemplates = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListJobTemplatesOutput) SetNextToken(v string) *ListJobTemplatesOutput { + s.NextToken = &v + return s +} + +// You can send list jobs requests with an empty body. Optionally, you can filter +// the response by queue and/or job status by specifying them in your request +// body. You can also optionally specify the maximum number, up to twenty, of +// jobs to be returned. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListJobsRequest +type ListJobsInput struct { + _ struct{} `type:"structure"` + + // Optional. Number of jobs, up to twenty, that will be returned at one time. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // Use this string, provided with the response to a previous request, to request + // the next batch of jobs. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // When you request lists of resources, you can optionally specify whether they + // are sorted in ASCENDING or DESCENDING order. Default varies by resource. + Order *string `location:"querystring" locationName:"order" type:"string" enum:"Order"` + + // Provide a queue name to get back only jobs from that queue. + Queue *string `location:"querystring" locationName:"queue" type:"string"` + + // A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR. + Status *string `location:"querystring" locationName:"status" type:"string" enum:"JobStatus"` +} + +// String returns the string representation +func (s ListJobsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListJobsInput) GoString() string { + return s.String() +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput { + s.NextToken = &v + return s +} + +// SetOrder sets the Order field's value. +func (s *ListJobsInput) SetOrder(v string) *ListJobsInput { + s.Order = &v + return s +} + +// SetQueue sets the Queue field's value. +func (s *ListJobsInput) SetQueue(v string) *ListJobsInput { + s.Queue = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListJobsInput) SetStatus(v string) *ListJobsInput { + s.Status = &v + return s +} + +// Successful list jobs requests return a JSON array of jobs. If you do not +// specify how they are ordered, you will receive the most recently created +// first. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListJobsResponse +type ListJobsOutput struct { + _ struct{} `type:"structure"` + + // List of jobs + Jobs []*Job `locationName:"jobs" type:"list"` + + // Use this string to request the next batch of jobs. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListJobsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListJobsOutput) GoString() string { + return s.String() +} + +// SetJobs sets the Jobs field's value. +func (s *ListJobsOutput) SetJobs(v []*Job) *ListJobsOutput { + s.Jobs = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput { + s.NextToken = &v + return s +} + +// You can send list presets requests with an empty body. Optionally, you can +// filter the response by category by specifying it in your request body. You +// can also optionally specify the maximum number, up to twenty, of queues to +// be returned. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListPresetsRequest +type ListPresetsInput struct { + _ struct{} `type:"structure"` + + // Optionally, specify a preset category to limit responses to only presets + // from that category. + Category *string `location:"querystring" locationName:"category" type:"string"` + + // Optional. When you request a list of presets, you can choose to list them + // alphabetically by NAME or chronologically by CREATION_DATE. If you don't + // specify, the service will list them by name. + ListBy *string `location:"querystring" locationName:"listBy" type:"string" enum:"PresetListBy"` + + // Optional. Number of presets, up to twenty, that will be returned at one time + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // Use this string, provided with the response to a previous request, to request + // the next batch of presets. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // When you request lists of resources, you can optionally specify whether they + // are sorted in ASCENDING or DESCENDING order. Default varies by resource. + Order *string `location:"querystring" locationName:"order" type:"string" enum:"Order"` +} + +// String returns the string representation +func (s ListPresetsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListPresetsInput) GoString() string { + return s.String() +} + +// SetCategory sets the Category field's value. +func (s *ListPresetsInput) SetCategory(v string) *ListPresetsInput { + s.Category = &v + return s +} + +// SetListBy sets the ListBy field's value. +func (s *ListPresetsInput) SetListBy(v string) *ListPresetsInput { + s.ListBy = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListPresetsInput) SetMaxResults(v int64) *ListPresetsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListPresetsInput) SetNextToken(v string) *ListPresetsInput { + s.NextToken = &v + return s +} + +// SetOrder sets the Order field's value. +func (s *ListPresetsInput) SetOrder(v string) *ListPresetsInput { + s.Order = &v + return s +} + +// Successful list presets requests return a JSON array of presets. If you do +// not specify how they are ordered, you will receive them alphabetically by +// name. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListPresetsResponse +type ListPresetsOutput struct { + _ struct{} `type:"structure"` + + // Use this string to request the next batch of presets. + NextToken *string `locationName:"nextToken" type:"string"` + + // List of presets + Presets []*Preset `locationName:"presets" type:"list"` +} + +// String returns the string representation +func (s ListPresetsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListPresetsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListPresetsOutput) SetNextToken(v string) *ListPresetsOutput { + s.NextToken = &v + return s +} + +// SetPresets sets the Presets field's value. +func (s *ListPresetsOutput) SetPresets(v []*Preset) *ListPresetsOutput { + s.Presets = v + return s +} + +// You can send list queues requests with an empty body. You can optionally +// specify the maximum number, up to twenty, of queues to be returned. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListQueuesRequest +type ListQueuesInput struct { + _ struct{} `type:"structure"` + + // Optional. When you request a list of queues, you can choose to list them + // alphabetically by NAME or chronologically by CREATION_DATE. If you don't + // specify, the service will list them by creation date. + ListBy *string `location:"querystring" locationName:"listBy" type:"string" enum:"QueueListBy"` + + // Optional. Number of queues, up to twenty, that will be returned at one time. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // Use this string, provided with the response to a previous request, to request + // the next batch of queues. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // When you request lists of resources, you can optionally specify whether they + // are sorted in ASCENDING or DESCENDING order. Default varies by resource. + Order *string `location:"querystring" locationName:"order" type:"string" enum:"Order"` +} + +// String returns the string representation +func (s ListQueuesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListQueuesInput) GoString() string { + return s.String() +} + +// SetListBy sets the ListBy field's value. +func (s *ListQueuesInput) SetListBy(v string) *ListQueuesInput { + s.ListBy = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListQueuesInput) SetMaxResults(v int64) *ListQueuesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListQueuesInput) SetNextToken(v string) *ListQueuesInput { + s.NextToken = &v + return s +} + +// SetOrder sets the Order field's value. +func (s *ListQueuesInput) SetOrder(v string) *ListQueuesInput { + s.Order = &v + return s +} + +// Successful list queues return a JSON array of queues. If you do not specify +// how they are ordered, you will receive them alphabetically by name. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListQueuesResponse +type ListQueuesOutput struct { + _ struct{} `type:"structure"` + + // Use this string to request the next batch of queues. + NextToken *string `locationName:"nextToken" type:"string"` + + // List of queues + Queues []*Queue `locationName:"queues" type:"list"` +} + +// String returns the string representation +func (s ListQueuesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListQueuesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListQueuesOutput) SetNextToken(v string) *ListQueuesOutput { + s.NextToken = &v + return s +} + +// SetQueues sets the Queues field's value. +func (s *ListQueuesOutput) SetQueues(v []*Queue) *ListQueuesOutput { + s.Queues = v + return s +} + +// Settings for M2TS Container. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/M2tsSettings +type M2tsSettings struct { + _ struct{} `type:"structure"` + + // Selects between the DVB and ATSC buffer models for Dolby Digital audio. + AudioBufferModel *string `locationName:"audioBufferModel" type:"string" enum:"M2tsAudioBufferModel"` + + // The number of audio frames to insert for each PES packet. + AudioFramesPerPes *int64 `locationName:"audioFramesPerPes" type:"integer"` + + // Packet Identifier (PID) of the elementary audio stream(s) in the transport + // stream. Multiple values are accepted, and can be entered in ranges and/or + // by comma separation. Can be entered as decimal or hexadecimal values. + AudioPids []*int64 `locationName:"audioPids" type:"list"` + + // The output bitrate of the transport stream in bits per second. Setting to + // 0 lets the muxer automatically determine the appropriate bitrate. Other common + // values are 3750000, 7500000, and 15000000. + Bitrate *int64 `locationName:"bitrate" type:"integer"` + + // Controls what buffer model to use for accurate interleaving. If set to MULTIPLEX, + // use multiplex buffer model. If set to NONE, this can lead to lower latency, + // but low-memory devices may not be able to play back the stream without interruptions. + BufferModel *string `locationName:"bufferModel" type:"string" enum:"M2tsBufferModel"` + + // Inserts DVB Network Information Table (NIT) at the specified table repetition + // interval. + DvbNitSettings *DvbNitSettings `locationName:"dvbNitSettings" type:"structure"` + + // Inserts DVB Service Description Table (NIT) at the specified table repetition + // interval. + DvbSdtSettings *DvbSdtSettings `locationName:"dvbSdtSettings" type:"structure"` + + // Packet Identifier (PID) for input source DVB Subtitle data to this output. + // Multiple values are accepted, and can be entered in ranges and/or by comma + // separation. Can be entered as decimal or hexadecimal values. + DvbSubPids []*int64 `locationName:"dvbSubPids" type:"list"` + + // Inserts DVB Time and Date Table (TDT) at the specified table repetition interval. + DvbTdtSettings *DvbTdtSettings `locationName:"dvbTdtSettings" type:"structure"` + + // Packet Identifier (PID) for input source DVB Teletext data to this output. + // Can be entered as a decimal or hexadecimal value. + DvbTeletextPid *int64 `locationName:"dvbTeletextPid" type:"integer"` + + // When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be added to + // partitions 3 and 4. The interval between these additional markers will be + // fixed, and will be slightly shorter than the video EBP marker interval. When + // set to VIDEO_INTERVAL, these additional markers will not be inserted. Only + // applicable when EBP segmentation markers are is selected (segmentationMarkers + // is EBP or EBP_LEGACY). + EbpAudioInterval *string `locationName:"ebpAudioInterval" type:"string" enum:"M2tsEbpAudioInterval"` + + // Selects which PIDs to place EBP markers on. They can either be placed only + // on the video PID, or on both the video PID and all audio PIDs. Only applicable + // when EBP segmentation markers are is selected (segmentationMarkers is EBP + // or EBP_LEGACY). + EbpPlacement *string `locationName:"ebpPlacement" type:"string" enum:"M2tsEbpPlacement"` + + // Controls whether to include the ES Rate field in the PES header. + EsRateInPes *string `locationName:"esRateInPes" type:"string" enum:"M2tsEsRateInPes"` + + // The length in seconds of each fragment. Only used with EBP markers. + FragmentTime *float64 `locationName:"fragmentTime" type:"double"` + + // Maximum time in milliseconds between Program Clock References (PCRs) inserted + // into the transport stream. + MaxPcrInterval *int64 `locationName:"maxPcrInterval" type:"integer"` + + // When set, enforces that Encoder Boundary Points do not come within the specified + // time interval of each other by looking ahead at input video. If another EBP + // is going to come in within the specified time interval, the current EBP is + // not emitted, and the segment is "stretched" to the next marker. The lookahead + // value does not add latency to the system. The Live Event must be configured + // elsewhere to create sufficient latency to make the lookahead accurate. + MinEbpInterval *int64 `locationName:"minEbpInterval" type:"integer"` + + // Value in bits per second of extra null packets to insert into the transport + // stream. This can be used if a downstream encryption system requires periodic + // null packets. + NullPacketBitrate *float64 `locationName:"nullPacketBitrate" type:"double"` + + // The number of milliseconds between instances of this table in the output + // transport stream. + PatInterval *int64 `locationName:"patInterval" type:"integer"` + + // When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted + // for every Packetized Elementary Stream (PES) header. This is effective only + // when the PCR PID is the same as the video or audio elementary stream. + PcrControl *string `locationName:"pcrControl" type:"string" enum:"M2tsPcrControl"` + + // Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport + // stream. When no value is given, the encoder will assign the same value as + // the Video PID. Can be entered as a decimal or hexadecimal value. + PcrPid *int64 `locationName:"pcrPid" type:"integer"` + + // The number of milliseconds between instances of this table in the output + // transport stream. + PmtInterval *int64 `locationName:"pmtInterval" type:"integer"` + + // Packet Identifier (PID) for the Program Map Table (PMT) in the transport + // stream. Can be entered as a decimal or hexadecimal value. + PmtPid *int64 `locationName:"pmtPid" type:"integer"` + + // Packet Identifier (PID) of the private metadata stream in the transport stream. + // Can be entered as a decimal or hexadecimal value. + PrivateMetadataPid *int64 `locationName:"privateMetadataPid" type:"integer"` + + // The value of the program number field in the Program Map Table. + ProgramNumber *int64 `locationName:"programNumber" type:"integer"` + + // When set to CBR, inserts null packets into transport stream to fill specified + // bitrate. When set to VBR, the bitrate setting acts as the maximum bitrate, + // but the output will not be padded up to that bitrate. + RateMode *string `locationName:"rateMode" type:"string" enum:"M2tsRateMode"` + + // Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can + // be entered as a decimal or hexadecimal value. + Scte35Pid *int64 `locationName:"scte35Pid" type:"integer"` + + // Enables SCTE-35 passthrough (scte35Source) to pass any SCTE-35 signals from + // input to output. This is only available for certain containers. + Scte35Source *string `locationName:"scte35Source" type:"string" enum:"M2tsScte35Source"` + + // Inserts segmentation markers at each segmentation_time period. rai_segstart + // sets the Random Access Indicator bit in the adaptation field. rai_adapt sets + // the RAI bit and adds the current timecode in the private data bytes. psi_segstart + // inserts PAT and PMT tables at the start of segments. ebp adds Encoder Boundary + // Point information to the adaptation field as per OpenCable specification + // OC-SP-EBP-I01-130118. ebp_legacy adds Encoder Boundary Point information + // to the adaptation field using a legacy proprietary format. + SegmentationMarkers *string `locationName:"segmentationMarkers" type:"string" enum:"M2tsSegmentationMarkers"` + + // The segmentation style parameter controls how segmentation markers are inserted + // into the transport stream. With avails, it is possible that segments may + // be truncated, which can influence where future segmentation markers are inserted. + // When a segmentation style of "reset_cadence" is selected and a segment is + // truncated due to an avail, we will reset the segmentation cadence. This means + // the subsequent segment will have a duration of of $segmentation_time seconds. + // When a segmentation style of "maintain_cadence" is selected and a segment + // is truncated due to an avail, we will not reset the segmentation cadence. + // This means the subsequent segment will likely be truncated as well. However, + // all segments after that will have a duration of $segmentation_time seconds. + // Note that EBP lookahead is a slight exception to this rule. + SegmentationStyle *string `locationName:"segmentationStyle" type:"string" enum:"M2tsSegmentationStyle"` + + // The length in seconds of each segment. Required unless markers is set to + // _none_. + SegmentationTime *float64 `locationName:"segmentationTime" type:"double"` + + // The value of the transport stream ID field in the Program Map Table. + TransportStreamId *int64 `locationName:"transportStreamId" type:"integer"` + + // Packet Identifier (PID) of the elementary video stream in the transport stream. + // Can be entered as a decimal or hexadecimal value. + VideoPid *int64 `locationName:"videoPid" type:"integer"` +} + +// String returns the string representation +func (s M2tsSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s M2tsSettings) GoString() string { + return s.String() +} + +// SetAudioBufferModel sets the AudioBufferModel field's value. +func (s *M2tsSettings) SetAudioBufferModel(v string) *M2tsSettings { + s.AudioBufferModel = &v + return s +} + +// SetAudioFramesPerPes sets the AudioFramesPerPes field's value. +func (s *M2tsSettings) SetAudioFramesPerPes(v int64) *M2tsSettings { + s.AudioFramesPerPes = &v + return s +} + +// SetAudioPids sets the AudioPids field's value. +func (s *M2tsSettings) SetAudioPids(v []*int64) *M2tsSettings { + s.AudioPids = v + return s +} + +// SetBitrate sets the Bitrate field's value. +func (s *M2tsSettings) SetBitrate(v int64) *M2tsSettings { + s.Bitrate = &v + return s +} + +// SetBufferModel sets the BufferModel field's value. +func (s *M2tsSettings) SetBufferModel(v string) *M2tsSettings { + s.BufferModel = &v + return s +} + +// SetDvbNitSettings sets the DvbNitSettings field's value. +func (s *M2tsSettings) SetDvbNitSettings(v *DvbNitSettings) *M2tsSettings { + s.DvbNitSettings = v + return s +} + +// SetDvbSdtSettings sets the DvbSdtSettings field's value. +func (s *M2tsSettings) SetDvbSdtSettings(v *DvbSdtSettings) *M2tsSettings { + s.DvbSdtSettings = v + return s +} + +// SetDvbSubPids sets the DvbSubPids field's value. +func (s *M2tsSettings) SetDvbSubPids(v []*int64) *M2tsSettings { + s.DvbSubPids = v + return s +} + +// SetDvbTdtSettings sets the DvbTdtSettings field's value. +func (s *M2tsSettings) SetDvbTdtSettings(v *DvbTdtSettings) *M2tsSettings { + s.DvbTdtSettings = v + return s +} + +// SetDvbTeletextPid sets the DvbTeletextPid field's value. +func (s *M2tsSettings) SetDvbTeletextPid(v int64) *M2tsSettings { + s.DvbTeletextPid = &v + return s +} + +// SetEbpAudioInterval sets the EbpAudioInterval field's value. +func (s *M2tsSettings) SetEbpAudioInterval(v string) *M2tsSettings { + s.EbpAudioInterval = &v + return s +} + +// SetEbpPlacement sets the EbpPlacement field's value. +func (s *M2tsSettings) SetEbpPlacement(v string) *M2tsSettings { + s.EbpPlacement = &v + return s +} + +// SetEsRateInPes sets the EsRateInPes field's value. +func (s *M2tsSettings) SetEsRateInPes(v string) *M2tsSettings { + s.EsRateInPes = &v + return s +} + +// SetFragmentTime sets the FragmentTime field's value. +func (s *M2tsSettings) SetFragmentTime(v float64) *M2tsSettings { + s.FragmentTime = &v + return s +} + +// SetMaxPcrInterval sets the MaxPcrInterval field's value. +func (s *M2tsSettings) SetMaxPcrInterval(v int64) *M2tsSettings { + s.MaxPcrInterval = &v + return s +} + +// SetMinEbpInterval sets the MinEbpInterval field's value. +func (s *M2tsSettings) SetMinEbpInterval(v int64) *M2tsSettings { + s.MinEbpInterval = &v + return s +} + +// SetNullPacketBitrate sets the NullPacketBitrate field's value. +func (s *M2tsSettings) SetNullPacketBitrate(v float64) *M2tsSettings { + s.NullPacketBitrate = &v + return s +} + +// SetPatInterval sets the PatInterval field's value. +func (s *M2tsSettings) SetPatInterval(v int64) *M2tsSettings { + s.PatInterval = &v + return s +} + +// SetPcrControl sets the PcrControl field's value. +func (s *M2tsSettings) SetPcrControl(v string) *M2tsSettings { + s.PcrControl = &v + return s +} + +// SetPcrPid sets the PcrPid field's value. +func (s *M2tsSettings) SetPcrPid(v int64) *M2tsSettings { + s.PcrPid = &v + return s +} + +// SetPmtInterval sets the PmtInterval field's value. +func (s *M2tsSettings) SetPmtInterval(v int64) *M2tsSettings { + s.PmtInterval = &v + return s +} + +// SetPmtPid sets the PmtPid field's value. +func (s *M2tsSettings) SetPmtPid(v int64) *M2tsSettings { + s.PmtPid = &v + return s +} + +// SetPrivateMetadataPid sets the PrivateMetadataPid field's value. +func (s *M2tsSettings) SetPrivateMetadataPid(v int64) *M2tsSettings { + s.PrivateMetadataPid = &v + return s +} + +// SetProgramNumber sets the ProgramNumber field's value. +func (s *M2tsSettings) SetProgramNumber(v int64) *M2tsSettings { + s.ProgramNumber = &v + return s +} + +// SetRateMode sets the RateMode field's value. +func (s *M2tsSettings) SetRateMode(v string) *M2tsSettings { + s.RateMode = &v + return s +} + +// SetScte35Pid sets the Scte35Pid field's value. +func (s *M2tsSettings) SetScte35Pid(v int64) *M2tsSettings { + s.Scte35Pid = &v + return s +} + +// SetScte35Source sets the Scte35Source field's value. +func (s *M2tsSettings) SetScte35Source(v string) *M2tsSettings { + s.Scte35Source = &v + return s +} + +// SetSegmentationMarkers sets the SegmentationMarkers field's value. +func (s *M2tsSettings) SetSegmentationMarkers(v string) *M2tsSettings { + s.SegmentationMarkers = &v + return s +} + +// SetSegmentationStyle sets the SegmentationStyle field's value. +func (s *M2tsSettings) SetSegmentationStyle(v string) *M2tsSettings { + s.SegmentationStyle = &v + return s +} + +// SetSegmentationTime sets the SegmentationTime field's value. +func (s *M2tsSettings) SetSegmentationTime(v float64) *M2tsSettings { + s.SegmentationTime = &v + return s +} + +// SetTransportStreamId sets the TransportStreamId field's value. +func (s *M2tsSettings) SetTransportStreamId(v int64) *M2tsSettings { + s.TransportStreamId = &v + return s +} + +// SetVideoPid sets the VideoPid field's value. +func (s *M2tsSettings) SetVideoPid(v int64) *M2tsSettings { + s.VideoPid = &v + return s +} + +// Settings for TS segments in HLS +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/M3u8Settings +type M3u8Settings struct { + _ struct{} `type:"structure"` + + // The number of audio frames to insert for each PES packet. + AudioFramesPerPes *int64 `locationName:"audioFramesPerPes" type:"integer"` + + // Packet Identifier (PID) of the elementary audio stream(s) in the transport + // stream. Multiple values are accepted, and can be entered in ranges and/or + // by comma separation. Can be entered as decimal or hexadecimal values. + AudioPids []*int64 `locationName:"audioPids" type:"list"` + + // The number of milliseconds between instances of this table in the output + // transport stream. + PatInterval *int64 `locationName:"patInterval" type:"integer"` + + // When set to PCR_EVERY_PES_PACKET a Program Clock Reference value is inserted + // for every Packetized Elementary Stream (PES) header. This parameter is effective + // only when the PCR PID is the same as the video or audio elementary stream. + PcrControl *string `locationName:"pcrControl" type:"string" enum:"M3u8PcrControl"` + + // Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport + // stream. When no value is given, the encoder will assign the same value as + // the Video PID. Can be entered as a decimal or hexadecimal value. + PcrPid *int64 `locationName:"pcrPid" type:"integer"` + + // The number of milliseconds between instances of this table in the output + // transport stream. + PmtInterval *int64 `locationName:"pmtInterval" type:"integer"` + + // Packet Identifier (PID) for the Program Map Table (PMT) in the transport + // stream. Can be entered as a decimal or hexadecimal value. + PmtPid *int64 `locationName:"pmtPid" type:"integer"` + + // Packet Identifier (PID) of the private metadata stream in the transport stream. + // Can be entered as a decimal or hexadecimal value. + PrivateMetadataPid *int64 `locationName:"privateMetadataPid" type:"integer"` + + // The value of the program number field in the Program Map Table. + ProgramNumber *int64 `locationName:"programNumber" type:"integer"` + + // Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can + // be entered as a decimal or hexadecimal value. + Scte35Pid *int64 `locationName:"scte35Pid" type:"integer"` + + // Enables SCTE-35 passthrough (scte35Source) to pass any SCTE-35 signals from + // input to output. This is only available for certain containers. + Scte35Source *string `locationName:"scte35Source" type:"string" enum:"M3u8Scte35Source"` + + // If PASSTHROUGH, inserts ID3 timed metadata from the timed_metadata REST command + // into this output. Only available for certain containers. + TimedMetadata *string `locationName:"timedMetadata" type:"string" enum:"TimedMetadata"` + + // Packet Identifier (PID) of the timed metadata stream in the transport stream. + // Can be entered as a decimal or hexadecimal value. + TimedMetadataPid *int64 `locationName:"timedMetadataPid" type:"integer"` + + // The value of the transport stream ID field in the Program Map Table. + TransportStreamId *int64 `locationName:"transportStreamId" type:"integer"` + + // Packet Identifier (PID) of the elementary video stream in the transport stream. + // Can be entered as a decimal or hexadecimal value. + VideoPid *int64 `locationName:"videoPid" type:"integer"` +} + +// String returns the string representation +func (s M3u8Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s M3u8Settings) GoString() string { + return s.String() +} + +// SetAudioFramesPerPes sets the AudioFramesPerPes field's value. +func (s *M3u8Settings) SetAudioFramesPerPes(v int64) *M3u8Settings { + s.AudioFramesPerPes = &v + return s +} + +// SetAudioPids sets the AudioPids field's value. +func (s *M3u8Settings) SetAudioPids(v []*int64) *M3u8Settings { + s.AudioPids = v + return s +} + +// SetPatInterval sets the PatInterval field's value. +func (s *M3u8Settings) SetPatInterval(v int64) *M3u8Settings { + s.PatInterval = &v + return s +} + +// SetPcrControl sets the PcrControl field's value. +func (s *M3u8Settings) SetPcrControl(v string) *M3u8Settings { + s.PcrControl = &v + return s +} + +// SetPcrPid sets the PcrPid field's value. +func (s *M3u8Settings) SetPcrPid(v int64) *M3u8Settings { + s.PcrPid = &v + return s +} + +// SetPmtInterval sets the PmtInterval field's value. +func (s *M3u8Settings) SetPmtInterval(v int64) *M3u8Settings { + s.PmtInterval = &v + return s +} + +// SetPmtPid sets the PmtPid field's value. +func (s *M3u8Settings) SetPmtPid(v int64) *M3u8Settings { + s.PmtPid = &v + return s +} + +// SetPrivateMetadataPid sets the PrivateMetadataPid field's value. +func (s *M3u8Settings) SetPrivateMetadataPid(v int64) *M3u8Settings { + s.PrivateMetadataPid = &v + return s +} + +// SetProgramNumber sets the ProgramNumber field's value. +func (s *M3u8Settings) SetProgramNumber(v int64) *M3u8Settings { + s.ProgramNumber = &v + return s +} + +// SetScte35Pid sets the Scte35Pid field's value. +func (s *M3u8Settings) SetScte35Pid(v int64) *M3u8Settings { + s.Scte35Pid = &v + return s +} + +// SetScte35Source sets the Scte35Source field's value. +func (s *M3u8Settings) SetScte35Source(v string) *M3u8Settings { + s.Scte35Source = &v + return s +} + +// SetTimedMetadata sets the TimedMetadata field's value. +func (s *M3u8Settings) SetTimedMetadata(v string) *M3u8Settings { + s.TimedMetadata = &v + return s +} + +// SetTimedMetadataPid sets the TimedMetadataPid field's value. +func (s *M3u8Settings) SetTimedMetadataPid(v int64) *M3u8Settings { + s.TimedMetadataPid = &v + return s +} + +// SetTransportStreamId sets the TransportStreamId field's value. +func (s *M3u8Settings) SetTransportStreamId(v int64) *M3u8Settings { + s.TransportStreamId = &v + return s +} + +// SetVideoPid sets the VideoPid field's value. +func (s *M3u8Settings) SetVideoPid(v int64) *M3u8Settings { + s.VideoPid = &v + return s +} + +// Settings for MOV Container. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/MovSettings +type MovSettings struct { + _ struct{} `type:"structure"` + + // When enabled, include 'clap' atom if appropriate for the video output settings. + ClapAtom *string `locationName:"clapAtom" type:"string" enum:"MovClapAtom"` + + // When enabled, file composition times will start at zero, composition times + // in the 'ctts' (composition time to sample) box for B-frames will be negative, + // and a 'cslg' (composition shift least greatest) box will be included per + // 14496-1 amendment 1. This improves compatibility with Apple players and tools. + CslgAtom *string `locationName:"cslgAtom" type:"string" enum:"MovCslgAtom"` + + // When set to XDCAM, writes MPEG2 video streams into the QuickTime file using + // XDCAM fourcc codes. This increases compatibility with Apple editors and players, + // but may decrease compatibility with other players. Only applicable when the + // video codec is MPEG2. + Mpeg2FourCCControl *string `locationName:"mpeg2FourCCControl" type:"string" enum:"MovMpeg2FourCCControl"` + + // If set to OMNEON, inserts Omneon-compatible padding + PaddingControl *string `locationName:"paddingControl" type:"string" enum:"MovPaddingControl"` + + // A value of 'external' creates separate media files and the wrapper file (.mov) + // contains references to these media files. A value of 'self_contained' creates + // only a wrapper (.mov) file and this file contains all of the media. + Reference *string `locationName:"reference" type:"string" enum:"MovReference"` +} + +// String returns the string representation +func (s MovSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MovSettings) GoString() string { + return s.String() +} + +// SetClapAtom sets the ClapAtom field's value. +func (s *MovSettings) SetClapAtom(v string) *MovSettings { + s.ClapAtom = &v + return s +} + +// SetCslgAtom sets the CslgAtom field's value. +func (s *MovSettings) SetCslgAtom(v string) *MovSettings { + s.CslgAtom = &v + return s +} + +// SetMpeg2FourCCControl sets the Mpeg2FourCCControl field's value. +func (s *MovSettings) SetMpeg2FourCCControl(v string) *MovSettings { + s.Mpeg2FourCCControl = &v + return s +} + +// SetPaddingControl sets the PaddingControl field's value. +func (s *MovSettings) SetPaddingControl(v string) *MovSettings { + s.PaddingControl = &v + return s +} + +// SetReference sets the Reference field's value. +func (s *MovSettings) SetReference(v string) *MovSettings { + s.Reference = &v + return s +} + +// Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to +// the value MP2. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Mp2Settings +type Mp2Settings struct { + _ struct{} `type:"structure"` + + // Average bitrate in bits/second. + Bitrate *int64 `locationName:"bitrate" type:"integer"` + + // Set Channels to specify the number of channels in this output audio track. + // Choosing Mono in the console will give you 1 output channel; choosing Stereo + // will give you 2. In the API, valid values are 1 and 2. + Channels *int64 `locationName:"channels" type:"integer"` + + // Sample rate in hz. + SampleRate *int64 `locationName:"sampleRate" type:"integer"` +} + +// String returns the string representation +func (s Mp2Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Mp2Settings) GoString() string { + return s.String() +} + +// SetBitrate sets the Bitrate field's value. +func (s *Mp2Settings) SetBitrate(v int64) *Mp2Settings { + s.Bitrate = &v + return s +} + +// SetChannels sets the Channels field's value. +func (s *Mp2Settings) SetChannels(v int64) *Mp2Settings { + s.Channels = &v + return s +} + +// SetSampleRate sets the SampleRate field's value. +func (s *Mp2Settings) SetSampleRate(v int64) *Mp2Settings { + s.SampleRate = &v + return s +} + +// Settings for MP4 Container +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Mp4Settings +type Mp4Settings struct { + _ struct{} `type:"structure"` + + // When enabled, file composition times will start at zero, composition times + // in the 'ctts' (composition time to sample) box for B-frames will be negative, + // and a 'cslg' (composition shift least greatest) box will be included per + // 14496-1 amendment 1. This improves compatibility with Apple players and tools. + CslgAtom *string `locationName:"cslgAtom" type:"string" enum:"Mp4CslgAtom"` + + // Inserts a free-space box immediately after the moov box. + FreeSpaceBox *string `locationName:"freeSpaceBox" type:"string" enum:"Mp4FreeSpaceBox"` + + // If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning + // of the archive as required for progressive downloading. Otherwise it is placed + // normally at the end. + MoovPlacement *string `locationName:"moovPlacement" type:"string" enum:"Mp4MoovPlacement"` + + // Overrides the "Major Brand" field in the output file. Usually not necessary + // to specify. + Mp4MajorBrand *string `locationName:"mp4MajorBrand" type:"string"` +} + +// String returns the string representation +func (s Mp4Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Mp4Settings) GoString() string { + return s.String() +} + +// SetCslgAtom sets the CslgAtom field's value. +func (s *Mp4Settings) SetCslgAtom(v string) *Mp4Settings { + s.CslgAtom = &v + return s +} + +// SetFreeSpaceBox sets the FreeSpaceBox field's value. +func (s *Mp4Settings) SetFreeSpaceBox(v string) *Mp4Settings { + s.FreeSpaceBox = &v + return s +} + +// SetMoovPlacement sets the MoovPlacement field's value. +func (s *Mp4Settings) SetMoovPlacement(v string) *Mp4Settings { + s.MoovPlacement = &v + return s +} + +// SetMp4MajorBrand sets the Mp4MajorBrand field's value. +func (s *Mp4Settings) SetMp4MajorBrand(v string) *Mp4Settings { + s.Mp4MajorBrand = &v + return s +} + +// Required when you set (Codec) under (VideoDescription)>(CodecSettings) to +// the value MPEG2. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Mpeg2Settings +type Mpeg2Settings struct { + _ struct{} `type:"structure"` + + // Adaptive quantization. Allows intra-frame quantizers to vary to improve visual + // quality. + AdaptiveQuantization *string `locationName:"adaptiveQuantization" type:"string" enum:"Mpeg2AdaptiveQuantization"` + + // Average bitrate in bits/second. Required for VBR, CBR, and ABR. Five megabits + // can be entered as 5000000 or 5m. Five hundred kilobits can be entered as + // 500000 or 0.5m. For MS Smooth outputs, bitrates must be unique when rounded + // down to the nearest multiple of 1000. + Bitrate *int64 `locationName:"bitrate" type:"integer"` + + // Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output. + CodecLevel *string `locationName:"codecLevel" type:"string" enum:"Mpeg2CodecLevel"` + + // Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output. + CodecProfile *string `locationName:"codecProfile" type:"string" enum:"Mpeg2CodecProfile"` + + // Using the API, set FramerateControl to INITIALIZE_FROM_SOURCE if you want + // the service to use the framerate from the input. Using the console, do this + // by choosing INITIALIZE_FROM_SOURCE for Framerate. + FramerateControl *string `locationName:"framerateControl" type:"string" enum:"Mpeg2FramerateControl"` + + // When set to INTERPOLATE, produces smoother motion during framerate conversion. + FramerateConversionAlgorithm *string `locationName:"framerateConversionAlgorithm" type:"string" enum:"Mpeg2FramerateConversionAlgorithm"` + + // Framerate denominator. + FramerateDenominator *int64 `locationName:"framerateDenominator" type:"integer"` + + // Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 + // fps. + FramerateNumerator *int64 `locationName:"framerateNumerator" type:"integer"` + + // Frequency of closed GOPs. In streaming applications, it is recommended that + // this be set to 1 so a decoder joining mid-stream will receive an IDR frame + // as quickly as possible. Setting this value to 0 will break output segmenting. + GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` + + // GOP Length (keyframe interval) in frames or seconds. Must be greater than + // zero. + GopSize *float64 `locationName:"gopSize" type:"double"` + + // Indicates if the GOP Size in MPEG2 is specified in frames or seconds. If + // seconds the system will convert the GOP Size into a frame count at run time. + GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"Mpeg2GopSizeUnits"` + + // Percentage of the buffer that should initially be filled (HRD buffer model). + HrdBufferInitialFillPercentage *int64 `locationName:"hrdBufferInitialFillPercentage" type:"integer"` + + // Size of buffer (HRD buffer model). Five megabits can be entered as 5000000 + // or 5m. Five hundred kilobits can be entered as 500000 or 0.5m. + HrdBufferSize *int64 `locationName:"hrdBufferSize" type:"integer"` + + // Use Interlace mode (InterlaceMode) to choose the scan line type for the output. + // * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce + // interlaced output with the entire output having the same field polarity (top + // or bottom first). * Follow, Default Top (FOLLOw_TOP_FIELD) and Follow, Default + // Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, + // behavior depends on the input scan type. - If the source is interlaced, the + // output will be interlaced with the same polarity as the source (it will follow + // the source). The output could therefore be a mix of "top field first" and + // "bottom field first". - If the source is progressive, the output will be + // interlaced with "top field first" or "bottom field first" polarity, depending + // on which of the Follow options you chose. + InterlaceMode *string `locationName:"interlaceMode" type:"string" enum:"Mpeg2InterlaceMode"` + + // Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision + // for intra-block DC coefficients. If you choose the value auto, the service + // will automatically select the precision based on the per-frame compression + // ratio. + IntraDcPrecision *string `locationName:"intraDcPrecision" type:"string" enum:"Mpeg2IntraDcPrecision"` + + // Maximum bitrate in bits/second (for VBR mode only). Five megabits can be + // entered as 5000000 or 5m. Five hundred kilobits can be entered as 500000 + // or 0.5m. + MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` + + // Enforces separation between repeated (cadence) I-frames and I-frames inserted + // by Scene Change Detection. If a scene change I-frame is within I-interval + // frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene + // change I-frame. GOP stretch requires enabling lookahead as well as setting + // I-interval. The normal cadence resumes for the next GOP. This setting is + // only used when Scene Change Detect is enabled. Note: Maximum GOP stretch + // = GOP size + Min-I-interval - 1 + MinIInterval *int64 `locationName:"minIInterval" type:"integer"` + + // Number of B-frames between reference frames. + NumberBFramesBetweenReferenceFrames *int64 `locationName:"numberBFramesBetweenReferenceFrames" type:"integer"` + + // Using the API, enable ParFollowSource if you want the service to use the + // pixel aspect ratio from the input. Using the console, do this by choosing + // Follow source for Pixel aspect ratio. + ParControl *string `locationName:"parControl" type:"string" enum:"Mpeg2ParControl"` + + // Pixel Aspect Ratio denominator. + ParDenominator *int64 `locationName:"parDenominator" type:"integer"` + + // Pixel Aspect Ratio numerator. + ParNumerator *int64 `locationName:"parNumerator" type:"integer"` + + // Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to + // use single-pass or multipass video encoding. + QualityTuningLevel *string `locationName:"qualityTuningLevel" type:"string" enum:"Mpeg2QualityTuningLevel"` + + // Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate + // is variable (vbr) or constant (cbr). + RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"Mpeg2RateControlMode"` + + // Scene change detection (inserts I-frames on scene changes). + SceneChangeDetect *string `locationName:"sceneChangeDetect" type:"string" enum:"Mpeg2SceneChangeDetect"` + + // Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled + // as 25fps, and audio is sped up correspondingly. + SlowPal *string `locationName:"slowPal" type:"string" enum:"Mpeg2SlowPal"` + + // Softness. Selects quantizer matrix, larger values reduce high-frequency content + // in the encoded image. + Softness *int64 `locationName:"softness" type:"integer"` + + // Adjust quantization within each frame based on spatial variation of content + // complexity. + SpatialAdaptiveQuantization *string `locationName:"spatialAdaptiveQuantization" type:"string" enum:"Mpeg2SpatialAdaptiveQuantization"` + + // Produces a Type D-10 compatible bitstream (SMPTE 356M-2001). + Syntax *string `locationName:"syntax" type:"string" enum:"Mpeg2Syntax"` + + // Only use Telecine (Mpeg2Telecine) when you set Framerate (Framerate) to 29.970. + // Set Telecine (Mpeg2Telecine) to Hard (hard) to produce a 29.97i output from + // a 23.976 input. Set it to Soft (soft) to produce 23.976 output and leave + // converstion to the player. + Telecine *string `locationName:"telecine" type:"string" enum:"Mpeg2Telecine"` + + // Adjust quantization within each frame based on temporal variation of content + // complexity. + TemporalAdaptiveQuantization *string `locationName:"temporalAdaptiveQuantization" type:"string" enum:"Mpeg2TemporalAdaptiveQuantization"` +} + +// String returns the string representation +func (s Mpeg2Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Mpeg2Settings) GoString() string { + return s.String() +} + +// SetAdaptiveQuantization sets the AdaptiveQuantization field's value. +func (s *Mpeg2Settings) SetAdaptiveQuantization(v string) *Mpeg2Settings { + s.AdaptiveQuantization = &v + return s +} + +// SetBitrate sets the Bitrate field's value. +func (s *Mpeg2Settings) SetBitrate(v int64) *Mpeg2Settings { + s.Bitrate = &v + return s +} + +// SetCodecLevel sets the CodecLevel field's value. +func (s *Mpeg2Settings) SetCodecLevel(v string) *Mpeg2Settings { + s.CodecLevel = &v + return s +} + +// SetCodecProfile sets the CodecProfile field's value. +func (s *Mpeg2Settings) SetCodecProfile(v string) *Mpeg2Settings { + s.CodecProfile = &v + return s +} + +// SetFramerateControl sets the FramerateControl field's value. +func (s *Mpeg2Settings) SetFramerateControl(v string) *Mpeg2Settings { + s.FramerateControl = &v + return s +} + +// SetFramerateConversionAlgorithm sets the FramerateConversionAlgorithm field's value. +func (s *Mpeg2Settings) SetFramerateConversionAlgorithm(v string) *Mpeg2Settings { + s.FramerateConversionAlgorithm = &v + return s +} + +// SetFramerateDenominator sets the FramerateDenominator field's value. +func (s *Mpeg2Settings) SetFramerateDenominator(v int64) *Mpeg2Settings { + s.FramerateDenominator = &v + return s +} + +// SetFramerateNumerator sets the FramerateNumerator field's value. +func (s *Mpeg2Settings) SetFramerateNumerator(v int64) *Mpeg2Settings { + s.FramerateNumerator = &v + return s +} + +// SetGopClosedCadence sets the GopClosedCadence field's value. +func (s *Mpeg2Settings) SetGopClosedCadence(v int64) *Mpeg2Settings { + s.GopClosedCadence = &v + return s +} + +// SetGopSize sets the GopSize field's value. +func (s *Mpeg2Settings) SetGopSize(v float64) *Mpeg2Settings { + s.GopSize = &v + return s +} + +// SetGopSizeUnits sets the GopSizeUnits field's value. +func (s *Mpeg2Settings) SetGopSizeUnits(v string) *Mpeg2Settings { + s.GopSizeUnits = &v + return s +} + +// SetHrdBufferInitialFillPercentage sets the HrdBufferInitialFillPercentage field's value. +func (s *Mpeg2Settings) SetHrdBufferInitialFillPercentage(v int64) *Mpeg2Settings { + s.HrdBufferInitialFillPercentage = &v + return s +} + +// SetHrdBufferSize sets the HrdBufferSize field's value. +func (s *Mpeg2Settings) SetHrdBufferSize(v int64) *Mpeg2Settings { + s.HrdBufferSize = &v + return s +} + +// SetInterlaceMode sets the InterlaceMode field's value. +func (s *Mpeg2Settings) SetInterlaceMode(v string) *Mpeg2Settings { + s.InterlaceMode = &v + return s +} + +// SetIntraDcPrecision sets the IntraDcPrecision field's value. +func (s *Mpeg2Settings) SetIntraDcPrecision(v string) *Mpeg2Settings { + s.IntraDcPrecision = &v + return s +} + +// SetMaxBitrate sets the MaxBitrate field's value. +func (s *Mpeg2Settings) SetMaxBitrate(v int64) *Mpeg2Settings { + s.MaxBitrate = &v + return s +} + +// SetMinIInterval sets the MinIInterval field's value. +func (s *Mpeg2Settings) SetMinIInterval(v int64) *Mpeg2Settings { + s.MinIInterval = &v + return s +} + +// SetNumberBFramesBetweenReferenceFrames sets the NumberBFramesBetweenReferenceFrames field's value. +func (s *Mpeg2Settings) SetNumberBFramesBetweenReferenceFrames(v int64) *Mpeg2Settings { + s.NumberBFramesBetweenReferenceFrames = &v + return s +} + +// SetParControl sets the ParControl field's value. +func (s *Mpeg2Settings) SetParControl(v string) *Mpeg2Settings { + s.ParControl = &v + return s +} + +// SetParDenominator sets the ParDenominator field's value. +func (s *Mpeg2Settings) SetParDenominator(v int64) *Mpeg2Settings { + s.ParDenominator = &v + return s +} + +// SetParNumerator sets the ParNumerator field's value. +func (s *Mpeg2Settings) SetParNumerator(v int64) *Mpeg2Settings { + s.ParNumerator = &v + return s +} + +// SetQualityTuningLevel sets the QualityTuningLevel field's value. +func (s *Mpeg2Settings) SetQualityTuningLevel(v string) *Mpeg2Settings { + s.QualityTuningLevel = &v + return s +} + +// SetRateControlMode sets the RateControlMode field's value. +func (s *Mpeg2Settings) SetRateControlMode(v string) *Mpeg2Settings { + s.RateControlMode = &v + return s +} + +// SetSceneChangeDetect sets the SceneChangeDetect field's value. +func (s *Mpeg2Settings) SetSceneChangeDetect(v string) *Mpeg2Settings { + s.SceneChangeDetect = &v + return s +} + +// SetSlowPal sets the SlowPal field's value. +func (s *Mpeg2Settings) SetSlowPal(v string) *Mpeg2Settings { + s.SlowPal = &v + return s +} + +// SetSoftness sets the Softness field's value. +func (s *Mpeg2Settings) SetSoftness(v int64) *Mpeg2Settings { + s.Softness = &v + return s +} + +// SetSpatialAdaptiveQuantization sets the SpatialAdaptiveQuantization field's value. +func (s *Mpeg2Settings) SetSpatialAdaptiveQuantization(v string) *Mpeg2Settings { + s.SpatialAdaptiveQuantization = &v + return s +} + +// SetSyntax sets the Syntax field's value. +func (s *Mpeg2Settings) SetSyntax(v string) *Mpeg2Settings { + s.Syntax = &v + return s +} + +// SetTelecine sets the Telecine field's value. +func (s *Mpeg2Settings) SetTelecine(v string) *Mpeg2Settings { + s.Telecine = &v + return s +} + +// SetTemporalAdaptiveQuantization sets the TemporalAdaptiveQuantization field's value. +func (s *Mpeg2Settings) SetTemporalAdaptiveQuantization(v string) *Mpeg2Settings { + s.TemporalAdaptiveQuantization = &v + return s +} + +// If you are using DRM, set DRM System (MsSmoothEncryptionSettings) to specify +// the value SpekeKeyProvider. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/MsSmoothEncryptionSettings +type MsSmoothEncryptionSettings struct { + _ struct{} `type:"structure"` + + // Settings for use with a SPEKE key provider + SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure"` +} + +// String returns the string representation +func (s MsSmoothEncryptionSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MsSmoothEncryptionSettings) GoString() string { + return s.String() +} + +// SetSpekeKeyProvider sets the SpekeKeyProvider field's value. +func (s *MsSmoothEncryptionSettings) SetSpekeKeyProvider(v *SpekeKeyProvider) *MsSmoothEncryptionSettings { + s.SpekeKeyProvider = v + return s +} + +// Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to +// MS_SMOOTH_GROUP_SETTINGS. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/MsSmoothGroupSettings +type MsSmoothGroupSettings struct { + _ struct{} `type:"structure"` + + // COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across + // a Microsoft Smooth output group into a single audio stream. + AudioDeduplication *string `locationName:"audioDeduplication" type:"string" enum:"MsSmoothAudioDeduplication"` + + // Use Destination (Destination) to specify the S3 output location and the output + // filename base. Destination accepts format identifiers. If you do not specify + // the base filename in the URI, the service will use the filename of the input + // file. If your job has multiple inputs, the service uses the filename of the + // first input file. + Destination *string `locationName:"destination" type:"string"` + + // If you are using DRM, set DRM System (MsSmoothEncryptionSettings) to specify + // the value SpekeKeyProvider. + Encryption *MsSmoothEncryptionSettings `locationName:"encryption" type:"structure"` + + // Use Fragment length (FragmentLength) to specify the mp4 fragment sizes in + // seconds. Fragment length must be compatible with GOP size and framerate. + FragmentLength *int64 `locationName:"fragmentLength" type:"integer"` + + // Use Manifest encoding (MsSmoothManifestEncoding) to specify the encoding + // format for the server and client manifest. Valid options are utf8 and utf16. + ManifestEncoding *string `locationName:"manifestEncoding" type:"string" enum:"MsSmoothManifestEncoding"` +} + +// String returns the string representation +func (s MsSmoothGroupSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MsSmoothGroupSettings) GoString() string { + return s.String() +} + +// SetAudioDeduplication sets the AudioDeduplication field's value. +func (s *MsSmoothGroupSettings) SetAudioDeduplication(v string) *MsSmoothGroupSettings { + s.AudioDeduplication = &v + return s +} + +// SetDestination sets the Destination field's value. +func (s *MsSmoothGroupSettings) SetDestination(v string) *MsSmoothGroupSettings { + s.Destination = &v + return s +} + +// SetEncryption sets the Encryption field's value. +func (s *MsSmoothGroupSettings) SetEncryption(v *MsSmoothEncryptionSettings) *MsSmoothGroupSettings { + s.Encryption = v + return s +} + +// SetFragmentLength sets the FragmentLength field's value. +func (s *MsSmoothGroupSettings) SetFragmentLength(v int64) *MsSmoothGroupSettings { + s.FragmentLength = &v + return s +} + +// SetManifestEncoding sets the ManifestEncoding field's value. +func (s *MsSmoothGroupSettings) SetManifestEncoding(v string) *MsSmoothGroupSettings { + s.ManifestEncoding = &v + return s +} + +// Settings for Nielsen Configuration +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/NielsenConfiguration +type NielsenConfiguration struct { + _ struct{} `type:"structure"` + + // Use Nielsen Configuration (NielsenConfiguration) to set the Nielsen measurement + // system breakout code. Supported values are 0, 3, 7, and 9. + BreakoutCode *int64 `locationName:"breakoutCode" type:"integer"` + + // Use Distributor ID (DistributorID) to specify the distributor ID that is + // assigned to your organization by Neilsen. + DistributorId *string `locationName:"distributorId" type:"string"` +} + +// String returns the string representation +func (s NielsenConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NielsenConfiguration) GoString() string { + return s.String() +} + +// SetBreakoutCode sets the BreakoutCode field's value. +func (s *NielsenConfiguration) SetBreakoutCode(v int64) *NielsenConfiguration { + s.BreakoutCode = &v + return s +} + +// SetDistributorId sets the DistributorId field's value. +func (s *NielsenConfiguration) SetDistributorId(v string) *NielsenConfiguration { + s.DistributorId = &v + return s +} + +// Enable the Noise reducer (NoiseReducer) feature to remove noise from your +// video output if necessary. Enable or disable this feature for each output +// individually. This setting is disabled by default. When you enable Noise +// reducer (NoiseReducer), you must also select a value for Noise reducer filter +// (NoiseReducerFilter). +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/NoiseReducer +type NoiseReducer struct { + _ struct{} `type:"structure"` + + // Use Noise reducer filter (NoiseReducerFilter) to select one of the following + // spatial image filtering functions. To use this setting, you must also enable + // Noise reducer (NoiseReducer). * Bilateral is an edge preserving noise reduction + // filter * Mean (softest), Gaussian, Lanczos, and Sharpen (sharpest) are convolution + // filters * Conserve is a min/max noise reduction filter * Spatial is frequency-domain + // filter based on JND principles. + Filter *string `locationName:"filter" type:"string" enum:"NoiseReducerFilter"` + + // Settings for a noise reducer filter + FilterSettings *NoiseReducerFilterSettings `locationName:"filterSettings" type:"structure"` + + // Noise reducer filter settings for spatial filter. + SpatialFilterSettings *NoiseReducerSpatialFilterSettings `locationName:"spatialFilterSettings" type:"structure"` +} + +// String returns the string representation +func (s NoiseReducer) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NoiseReducer) GoString() string { + return s.String() +} + +// SetFilter sets the Filter field's value. +func (s *NoiseReducer) SetFilter(v string) *NoiseReducer { + s.Filter = &v + return s +} + +// SetFilterSettings sets the FilterSettings field's value. +func (s *NoiseReducer) SetFilterSettings(v *NoiseReducerFilterSettings) *NoiseReducer { + s.FilterSettings = v + return s +} + +// SetSpatialFilterSettings sets the SpatialFilterSettings field's value. +func (s *NoiseReducer) SetSpatialFilterSettings(v *NoiseReducerSpatialFilterSettings) *NoiseReducer { + s.SpatialFilterSettings = v + return s +} + +// Settings for a noise reducer filter +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/NoiseReducerFilterSettings +type NoiseReducerFilterSettings struct { + _ struct{} `type:"structure"` + + // Relative strength of noise reducing filter. Higher values produce stronger + // filtering. + Strength *int64 `locationName:"strength" type:"integer"` +} + +// String returns the string representation +func (s NoiseReducerFilterSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NoiseReducerFilterSettings) GoString() string { + return s.String() +} + +// SetStrength sets the Strength field's value. +func (s *NoiseReducerFilterSettings) SetStrength(v int64) *NoiseReducerFilterSettings { + s.Strength = &v + return s +} + +// Noise reducer filter settings for spatial filter. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/NoiseReducerSpatialFilterSettings +type NoiseReducerSpatialFilterSettings struct { + _ struct{} `type:"structure"` + + // Specify strength of post noise reduction sharpening filter, with 0 disabling + // the filter and 3 enabling it at maximum strength. + PostFilterSharpenStrength *int64 `locationName:"postFilterSharpenStrength" type:"integer"` + + // The speed of the filter, from -2 (lower speed) to 3 (higher speed), with + // 0 being the nominal value. + Speed *int64 `locationName:"speed" type:"integer"` + + // Relative strength of noise reducing filter. Higher values produce stronger + // filtering. + Strength *int64 `locationName:"strength" type:"integer"` +} + +// String returns the string representation +func (s NoiseReducerSpatialFilterSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NoiseReducerSpatialFilterSettings) GoString() string { + return s.String() +} + +// SetPostFilterSharpenStrength sets the PostFilterSharpenStrength field's value. +func (s *NoiseReducerSpatialFilterSettings) SetPostFilterSharpenStrength(v int64) *NoiseReducerSpatialFilterSettings { + s.PostFilterSharpenStrength = &v + return s +} + +// SetSpeed sets the Speed field's value. +func (s *NoiseReducerSpatialFilterSettings) SetSpeed(v int64) *NoiseReducerSpatialFilterSettings { + s.Speed = &v + return s +} + +// SetStrength sets the Strength field's value. +func (s *NoiseReducerSpatialFilterSettings) SetStrength(v int64) *NoiseReducerSpatialFilterSettings { + s.Strength = &v + return s +} + +// An output object describes the settings for a single output file or stream +// in an output group. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Output +type Output struct { + _ struct{} `type:"structure"` + + // (AudioDescriptions) contains groups of audio encoding settings organized + // by audio codec. Include one instance of (AudioDescriptions) per output. (AudioDescriptions) + // can contain multiple groups of encoding settings. + AudioDescriptions []*AudioDescription `locationName:"audioDescriptions" type:"list"` + + // (CaptionDescriptions) contains groups of captions settings. For each output + // that has captions, include one instance of (CaptionDescriptions). (CaptionDescriptions) + // can contain multiple groups of captions settings. + CaptionDescriptions []*CaptionDescription `locationName:"captionDescriptions" type:"list"` + + // Container specific settings. + ContainerSettings *ContainerSettings `locationName:"containerSettings" type:"structure"` + + // Use Extension (Extension) to specify the file extension for outputs in File + // output groups. If you do not specify a value, the service will use default + // extensions by container type as follows * MPEG-2 transport stream, m2ts * + // Quicktime, mov * MXF container, mxf * MPEG-4 container, mp4 * No Container, + // the service will use codec extensions (e.g. AAC, H265, H265, AC3) + Extension *string `locationName:"extension" type:"string"` + + // Use Name modifier (NameModifier) to have the service add a string to the + // end of each output filename. You specify the base filename as part of your + // destination URI. When you create multiple outputs in the same output group, + // Name modifier is required. Name modifier also accepts format identifiers. + // For DASH ISO outputs, if you use the format identifiers $Number$ or $Time$ + // in one output, you must use them in the same way in all outputs of the output + // group. + NameModifier *string `locationName:"nameModifier" type:"string"` + + // Specific settings for this type of output. + OutputSettings *OutputSettings `locationName:"outputSettings" type:"structure"` + + // Use Preset (Preset) to specifiy a preset for your transcoding settings. Provide + // the system or custom preset name. You can specify either Preset (Preset) + // or Container settings (ContainerSettings), but not both. + Preset *string `locationName:"preset" type:"string"` + + // (VideoDescription) contains a group of video encoding settings. The specific + // video settings depend on the video codec you choose when you specify a value + // for Video codec (codec). Include one instance of (VideoDescription) per output. + VideoDescription *VideoDescription `locationName:"videoDescription" type:"structure"` +} + +// String returns the string representation +func (s Output) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Output) GoString() string { + return s.String() +} + +// SetAudioDescriptions sets the AudioDescriptions field's value. +func (s *Output) SetAudioDescriptions(v []*AudioDescription) *Output { + s.AudioDescriptions = v + return s +} + +// SetCaptionDescriptions sets the CaptionDescriptions field's value. +func (s *Output) SetCaptionDescriptions(v []*CaptionDescription) *Output { + s.CaptionDescriptions = v + return s +} + +// SetContainerSettings sets the ContainerSettings field's value. +func (s *Output) SetContainerSettings(v *ContainerSettings) *Output { + s.ContainerSettings = v + return s +} + +// SetExtension sets the Extension field's value. +func (s *Output) SetExtension(v string) *Output { + s.Extension = &v + return s +} + +// SetNameModifier sets the NameModifier field's value. +func (s *Output) SetNameModifier(v string) *Output { + s.NameModifier = &v + return s +} + +// SetOutputSettings sets the OutputSettings field's value. +func (s *Output) SetOutputSettings(v *OutputSettings) *Output { + s.OutputSettings = v + return s +} + +// SetPreset sets the Preset field's value. +func (s *Output) SetPreset(v string) *Output { + s.Preset = &v + return s +} + +// SetVideoDescription sets the VideoDescription field's value. +func (s *Output) SetVideoDescription(v *VideoDescription) *Output { + s.VideoDescription = v + return s +} + +// OutputChannel mapping settings. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/OutputChannelMapping +type OutputChannelMapping struct { + _ struct{} `type:"structure"` + + // List of input channels + InputChannels []*int64 `locationName:"inputChannels" type:"list"` +} + +// String returns the string representation +func (s OutputChannelMapping) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputChannelMapping) GoString() string { + return s.String() +} + +// SetInputChannels sets the InputChannels field's value. +func (s *OutputChannelMapping) SetInputChannels(v []*int64) *OutputChannelMapping { + s.InputChannels = v + return s +} + +// Details regarding output +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/OutputDetail +type OutputDetail struct { + _ struct{} `type:"structure"` + + // Duration in milliseconds + DurationInMs *int64 `locationName:"durationInMs" type:"integer"` + + // Contains details about the output's video stream + VideoDetails *VideoDetail `locationName:"videoDetails" type:"structure"` +} + +// String returns the string representation +func (s OutputDetail) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputDetail) GoString() string { + return s.String() +} + +// SetDurationInMs sets the DurationInMs field's value. +func (s *OutputDetail) SetDurationInMs(v int64) *OutputDetail { + s.DurationInMs = &v + return s +} + +// SetVideoDetails sets the VideoDetails field's value. +func (s *OutputDetail) SetVideoDetails(v *VideoDetail) *OutputDetail { + s.VideoDetails = v + return s +} + +// Group of outputs +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/OutputGroup +type OutputGroup struct { + _ struct{} `type:"structure"` + + // Use Custom Group Name (CustomName) to specify a name for the output group. + // This value is displayed on the console and can make your job settings JSON + // more human-readable. It does not affect your outputs. Use up to twelve characters + // that are either letters, numbers, spaces, or underscores. + CustomName *string `locationName:"customName" type:"string"` + + // Name of the output group + Name *string `locationName:"name" type:"string"` + + // Output Group settings, including type + OutputGroupSettings *OutputGroupSettings `locationName:"outputGroupSettings" type:"structure"` + + // This object holds groups of encoding settings, one group of settings per + // output. + Outputs []*Output `locationName:"outputs" type:"list"` +} + +// String returns the string representation +func (s OutputGroup) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputGroup) GoString() string { + return s.String() +} + +// SetCustomName sets the CustomName field's value. +func (s *OutputGroup) SetCustomName(v string) *OutputGroup { + s.CustomName = &v + return s +} + +// SetName sets the Name field's value. +func (s *OutputGroup) SetName(v string) *OutputGroup { + s.Name = &v + return s +} + +// SetOutputGroupSettings sets the OutputGroupSettings field's value. +func (s *OutputGroup) SetOutputGroupSettings(v *OutputGroupSettings) *OutputGroup { + s.OutputGroupSettings = v + return s +} + +// SetOutputs sets the Outputs field's value. +func (s *OutputGroup) SetOutputs(v []*Output) *OutputGroup { + s.Outputs = v + return s +} + +// Contains details about the output groups specified in the job settings. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/OutputGroupDetail +type OutputGroupDetail struct { + _ struct{} `type:"structure"` + + // Details about the output + OutputDetails []*OutputDetail `locationName:"outputDetails" type:"list"` +} + +// String returns the string representation +func (s OutputGroupDetail) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputGroupDetail) GoString() string { + return s.String() +} + +// SetOutputDetails sets the OutputDetails field's value. +func (s *OutputGroupDetail) SetOutputDetails(v []*OutputDetail) *OutputGroupDetail { + s.OutputDetails = v + return s +} + +// Output Group settings, including type +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/OutputGroupSettings +type OutputGroupSettings struct { + _ struct{} `type:"structure"` + + // Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to + // DASH_ISO_GROUP_SETTINGS. + DashIsoGroupSettings *DashIsoGroupSettings `locationName:"dashIsoGroupSettings" type:"structure"` + + // Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to + // FILE_GROUP_SETTINGS. + FileGroupSettings *FileGroupSettings `locationName:"fileGroupSettings" type:"structure"` + + // Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to + // HLS_GROUP_SETTINGS. + HlsGroupSettings *HlsGroupSettings `locationName:"hlsGroupSettings" type:"structure"` + + // Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to + // MS_SMOOTH_GROUP_SETTINGS. + MsSmoothGroupSettings *MsSmoothGroupSettings `locationName:"msSmoothGroupSettings" type:"structure"` + + // Type of output group (File group, Apple HLS, DASH ISO, Microsoft Smooth Streaming) + Type *string `locationName:"type" type:"string" enum:"OutputGroupType"` +} + +// String returns the string representation +func (s OutputGroupSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputGroupSettings) GoString() string { + return s.String() +} + +// SetDashIsoGroupSettings sets the DashIsoGroupSettings field's value. +func (s *OutputGroupSettings) SetDashIsoGroupSettings(v *DashIsoGroupSettings) *OutputGroupSettings { + s.DashIsoGroupSettings = v + return s +} + +// SetFileGroupSettings sets the FileGroupSettings field's value. +func (s *OutputGroupSettings) SetFileGroupSettings(v *FileGroupSettings) *OutputGroupSettings { + s.FileGroupSettings = v + return s +} + +// SetHlsGroupSettings sets the HlsGroupSettings field's value. +func (s *OutputGroupSettings) SetHlsGroupSettings(v *HlsGroupSettings) *OutputGroupSettings { + s.HlsGroupSettings = v + return s +} + +// SetMsSmoothGroupSettings sets the MsSmoothGroupSettings field's value. +func (s *OutputGroupSettings) SetMsSmoothGroupSettings(v *MsSmoothGroupSettings) *OutputGroupSettings { + s.MsSmoothGroupSettings = v + return s +} + +// SetType sets the Type field's value. +func (s *OutputGroupSettings) SetType(v string) *OutputGroupSettings { + s.Type = &v + return s +} + +// Specific settings for this type of output. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/OutputSettings +type OutputSettings struct { + _ struct{} `type:"structure"` + + // Settings for HLS output groups + HlsSettings *HlsSettings `locationName:"hlsSettings" type:"structure"` +} + +// String returns the string representation +func (s OutputSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputSettings) GoString() string { + return s.String() +} + +// SetHlsSettings sets the HlsSettings field's value. +func (s *OutputSettings) SetHlsSettings(v *HlsSettings) *OutputSettings { + s.HlsSettings = v + return s +} + +// A preset is a collection of preconfigured media conversion settings that +// you want MediaConvert to apply to the output during the conversion process. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Preset +type Preset struct { + _ struct{} `type:"structure"` + + // An identifier for this resource that is unique within all of AWS. + Arn *string `locationName:"arn" type:"string"` + + // An optional category you create to organize your presets. + Category *string `locationName:"category" type:"string"` + + // The timestamp in epoch seconds for preset creation. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` + + // An optional description you create for each preset. + Description *string `locationName:"description" type:"string"` + + // The timestamp in epoch seconds when the preset was last updated. + LastUpdated *time.Time `locationName:"lastUpdated" type:"timestamp" timestampFormat:"unix"` + + // A name you create for each preset. Each name must be unique within your account. + Name *string `locationName:"name" type:"string"` + + // Settings for preset + Settings *PresetSettings `locationName:"settings" type:"structure"` + + // A preset can be of two types: system or custom. System or built-in preset + // can’t be modified or deleted by the user. + Type *string `locationName:"type" type:"string" enum:"Type"` +} + +// String returns the string representation +func (s Preset) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Preset) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Preset) SetArn(v string) *Preset { + s.Arn = &v + return s +} + +// SetCategory sets the Category field's value. +func (s *Preset) SetCategory(v string) *Preset { + s.Category = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *Preset) SetCreatedAt(v time.Time) *Preset { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Preset) SetDescription(v string) *Preset { + s.Description = &v + return s +} + +// SetLastUpdated sets the LastUpdated field's value. +func (s *Preset) SetLastUpdated(v time.Time) *Preset { + s.LastUpdated = &v + return s +} + +// SetName sets the Name field's value. +func (s *Preset) SetName(v string) *Preset { + s.Name = &v + return s +} + +// SetSettings sets the Settings field's value. +func (s *Preset) SetSettings(v *PresetSettings) *Preset { + s.Settings = v + return s +} + +// SetType sets the Type field's value. +func (s *Preset) SetType(v string) *Preset { + s.Type = &v + return s +} + +// Settings for preset +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/PresetSettings +type PresetSettings struct { + _ struct{} `type:"structure"` + + // (AudioDescriptions) contains groups of audio encoding settings organized + // by audio codec. Include one instance of (AudioDescriptions) per output. (AudioDescriptions) + // can contain multiple groups of encoding settings. + AudioDescriptions []*AudioDescription `locationName:"audioDescriptions" type:"list"` + + // Caption settings for this preset. There can be multiple caption settings + // in a single output. + CaptionDescriptions []*CaptionDescriptionPreset `locationName:"captionDescriptions" type:"list"` + + // Container specific settings. + ContainerSettings *ContainerSettings `locationName:"containerSettings" type:"structure"` + + // (VideoDescription) contains a group of video encoding settings. The specific + // video settings depend on the video codec you choose when you specify a value + // for Video codec (codec). Include one instance of (VideoDescription) per output. + VideoDescription *VideoDescription `locationName:"videoDescription" type:"structure"` +} + +// String returns the string representation +func (s PresetSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PresetSettings) GoString() string { + return s.String() +} + +// SetAudioDescriptions sets the AudioDescriptions field's value. +func (s *PresetSettings) SetAudioDescriptions(v []*AudioDescription) *PresetSettings { + s.AudioDescriptions = v + return s +} + +// SetCaptionDescriptions sets the CaptionDescriptions field's value. +func (s *PresetSettings) SetCaptionDescriptions(v []*CaptionDescriptionPreset) *PresetSettings { + s.CaptionDescriptions = v + return s +} + +// SetContainerSettings sets the ContainerSettings field's value. +func (s *PresetSettings) SetContainerSettings(v *ContainerSettings) *PresetSettings { + s.ContainerSettings = v + return s +} + +// SetVideoDescription sets the VideoDescription field's value. +func (s *PresetSettings) SetVideoDescription(v *VideoDescription) *PresetSettings { + s.VideoDescription = v + return s +} + +// Required when you set (Codec) under (VideoDescription)>(CodecSettings) to +// the value PRORES. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ProresSettings +type ProresSettings struct { + _ struct{} `type:"structure"` + + // Use Profile (ProResCodecProfile) to specifiy the type of Apple ProRes codec + // to use for this output. + CodecProfile *string `locationName:"codecProfile" type:"string" enum:"ProresCodecProfile"` + + // Using the API, set FramerateControl to INITIALIZE_FROM_SOURCE if you want + // the service to use the framerate from the input. Using the console, do this + // by choosing INITIALIZE_FROM_SOURCE for Framerate. + FramerateControl *string `locationName:"framerateControl" type:"string" enum:"ProresFramerateControl"` + + // When set to INTERPOLATE, produces smoother motion during framerate conversion. + FramerateConversionAlgorithm *string `locationName:"framerateConversionAlgorithm" type:"string" enum:"ProresFramerateConversionAlgorithm"` + + // Framerate denominator. + FramerateDenominator *int64 `locationName:"framerateDenominator" type:"integer"` + + // When you use the API for transcode jobs that use framerate conversion, specify + // the framerate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use + // FramerateNumerator to specify the numerator of this fraction. In this example, + // use 24000 for the value of FramerateNumerator. + FramerateNumerator *int64 `locationName:"framerateNumerator" type:"integer"` + + // Use Interlace mode (InterlaceMode) to choose the scan line type for the output. + // * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce + // interlaced output with the entire output having the same field polarity (top + // or bottom first). * Follow, Default Top (FOLLOw_TOP_FIELD) and Follow, Default + // Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, + // behavior depends on the input scan type. - If the source is interlaced, the + // output will be interlaced with the same polarity as the source (it will follow + // the source). The output could therefore be a mix of "top field first" and + // "bottom field first". - If the source is progressive, the output will be + // interlaced with "top field first" or "bottom field first" polarity, depending + // on which of the Follow options you chose. + InterlaceMode *string `locationName:"interlaceMode" type:"string" enum:"ProresInterlaceMode"` + + // Use (ProresParControl) to specify how the service determines the pixel aspect + // ratio. Set to Follow source (INITIALIZE_FROM_SOURCE) to use the pixel aspect + // ratio from the input. To specify a different pixel aspect ratio: Using the + // console, choose it from the dropdown menu. Using the API, set ProresParControl + // to (SPECIFIED) and provide for (ParNumerator) and (ParDenominator). + ParControl *string `locationName:"parControl" type:"string" enum:"ProresParControl"` + + // Pixel Aspect Ratio denominator. + ParDenominator *int64 `locationName:"parDenominator" type:"integer"` + + // Pixel Aspect Ratio numerator. + ParNumerator *int64 `locationName:"parNumerator" type:"integer"` + + // Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled + // as 25fps, and audio is sped up correspondingly. + SlowPal *string `locationName:"slowPal" type:"string" enum:"ProresSlowPal"` + + // Only use Telecine (ProresTelecine) when you set Framerate (Framerate) to + // 29.970. Set Telecine (ProresTelecine) to Hard (hard) to produce a 29.97i + // output from a 23.976 input. Set it to Soft (soft) to produce 23.976 output + // and leave converstion to the player. + Telecine *string `locationName:"telecine" type:"string" enum:"ProresTelecine"` +} + +// String returns the string representation +func (s ProresSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ProresSettings) GoString() string { + return s.String() +} + +// SetCodecProfile sets the CodecProfile field's value. +func (s *ProresSettings) SetCodecProfile(v string) *ProresSettings { + s.CodecProfile = &v + return s +} + +// SetFramerateControl sets the FramerateControl field's value. +func (s *ProresSettings) SetFramerateControl(v string) *ProresSettings { + s.FramerateControl = &v + return s +} + +// SetFramerateConversionAlgorithm sets the FramerateConversionAlgorithm field's value. +func (s *ProresSettings) SetFramerateConversionAlgorithm(v string) *ProresSettings { + s.FramerateConversionAlgorithm = &v + return s +} + +// SetFramerateDenominator sets the FramerateDenominator field's value. +func (s *ProresSettings) SetFramerateDenominator(v int64) *ProresSettings { + s.FramerateDenominator = &v + return s +} + +// SetFramerateNumerator sets the FramerateNumerator field's value. +func (s *ProresSettings) SetFramerateNumerator(v int64) *ProresSettings { + s.FramerateNumerator = &v + return s +} + +// SetInterlaceMode sets the InterlaceMode field's value. +func (s *ProresSettings) SetInterlaceMode(v string) *ProresSettings { + s.InterlaceMode = &v + return s +} + +// SetParControl sets the ParControl field's value. +func (s *ProresSettings) SetParControl(v string) *ProresSettings { + s.ParControl = &v + return s +} + +// SetParDenominator sets the ParDenominator field's value. +func (s *ProresSettings) SetParDenominator(v int64) *ProresSettings { + s.ParDenominator = &v + return s +} + +// SetParNumerator sets the ParNumerator field's value. +func (s *ProresSettings) SetParNumerator(v int64) *ProresSettings { + s.ParNumerator = &v + return s +} + +// SetSlowPal sets the SlowPal field's value. +func (s *ProresSettings) SetSlowPal(v string) *ProresSettings { + s.SlowPal = &v + return s +} + +// SetTelecine sets the Telecine field's value. +func (s *ProresSettings) SetTelecine(v string) *ProresSettings { + s.Telecine = &v + return s +} + +// MediaConvert jobs are submitted to a queue. Unless specified otherwise jobs +// are submitted to a built-in default queue. User can create additional queues +// to separate the jobs of different categories or priority. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Queue +type Queue struct { + _ struct{} `type:"structure"` + + // An identifier for this resource that is unique within all of AWS. + Arn *string `locationName:"arn" type:"string"` + + // The timestamp in epoch seconds for queue creation. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` + + // An optional description you create for each queue. + Description *string `locationName:"description" type:"string"` + + // The timestamp in epoch seconds when the queue was last updated. + LastUpdated *time.Time `locationName:"lastUpdated" type:"timestamp" timestampFormat:"unix"` + + // A name you create for each queue. Each name must be unique within your account. + Name *string `locationName:"name" type:"string"` + + // Queues can be ACTIVE or PAUSED. If you pause a queue, jobs in that queue + // will not begin. Jobs running when a queue is paused continue to run until + // they finish or error out. + Status *string `locationName:"status" type:"string" enum:"QueueStatus"` + + // A queue can be of two types: system or custom. System or built-in queues + // can’t be modified or deleted by the user. + Type *string `locationName:"type" type:"string" enum:"Type"` +} + +// String returns the string representation +func (s Queue) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Queue) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Queue) SetArn(v string) *Queue { + s.Arn = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *Queue) SetCreatedAt(v time.Time) *Queue { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Queue) SetDescription(v string) *Queue { + s.Description = &v + return s +} + +// SetLastUpdated sets the LastUpdated field's value. +func (s *Queue) SetLastUpdated(v time.Time) *Queue { + s.LastUpdated = &v + return s +} + +// SetName sets the Name field's value. +func (s *Queue) SetName(v string) *Queue { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *Queue) SetStatus(v string) *Queue { + s.Status = &v + return s +} + +// SetType sets the Type field's value. +func (s *Queue) SetType(v string) *Queue { + s.Type = &v + return s +} + +// Use Rectangle to identify a specific area of the video frame. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Rectangle +type Rectangle struct { + _ struct{} `type:"structure"` + + // Height of rectangle in pixels. + Height *int64 `locationName:"height" type:"integer"` + + // Width of rectangle in pixels. + Width *int64 `locationName:"width" type:"integer"` + + // The distance, in pixels, between the rectangle and the left edge of the video + // frame. + X *int64 `locationName:"x" type:"integer"` + + // The distance, in pixels, between the rectangle and the top edge of the video + // frame. + Y *int64 `locationName:"y" type:"integer"` +} + +// String returns the string representation +func (s Rectangle) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Rectangle) GoString() string { + return s.String() +} + +// SetHeight sets the Height field's value. +func (s *Rectangle) SetHeight(v int64) *Rectangle { + s.Height = &v + return s +} + +// SetWidth sets the Width field's value. +func (s *Rectangle) SetWidth(v int64) *Rectangle { + s.Width = &v + return s +} + +// SetX sets the X field's value. +func (s *Rectangle) SetX(v int64) *Rectangle { + s.X = &v + return s +} + +// SetY sets the Y field's value. +func (s *Rectangle) SetY(v int64) *Rectangle { + s.Y = &v + return s +} + +// Use Manual audio remixing (RemixSettings) to adjust audio levels for each +// output channel. With audio remixing, you can output more or fewer audio channels +// than your input audio source provides. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/RemixSettings +type RemixSettings struct { + _ struct{} `type:"structure"` + + // Channel mapping (ChannelMapping) contains the group of fields that hold the + // remixing value for each channel. Units are in dB. Acceptable values are within + // the range from -60 (mute) through 6. A setting of 0 passes the input channel + // unchanged to the output channel (no attenuation or amplification). + ChannelMapping *ChannelMapping `locationName:"channelMapping" type:"structure"` + + // Specify the number of audio channels from your input that you want to use + // in your output. With remixing, you might combine or split the data in these + // channels, so the number of channels in your final output might be different. + ChannelsIn *int64 `locationName:"channelsIn" type:"integer"` + + // Specify the number of channels in this output after remixing. Valid values: + // 1, 2, 4, 6, 8 + ChannelsOut *int64 `locationName:"channelsOut" type:"integer"` +} + +// String returns the string representation +func (s RemixSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RemixSettings) GoString() string { + return s.String() +} + +// SetChannelMapping sets the ChannelMapping field's value. +func (s *RemixSettings) SetChannelMapping(v *ChannelMapping) *RemixSettings { + s.ChannelMapping = v + return s +} + +// SetChannelsIn sets the ChannelsIn field's value. +func (s *RemixSettings) SetChannelsIn(v int64) *RemixSettings { + s.ChannelsIn = &v + return s +} + +// SetChannelsOut sets the ChannelsOut field's value. +func (s *RemixSettings) SetChannelsOut(v int64) *RemixSettings { + s.ChannelsOut = &v + return s +} + +// Settings for SCC caption output. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/SccDestinationSettings +type SccDestinationSettings struct { + _ struct{} `type:"structure"` + + // Set Framerate (SccDestinationFramerate) to make sure that the captions and + // the video are synchronized in the output. Specify a framerate that matches + // the framerate of the associated video. If the video framerate is 29.97, choose + // 29.97 dropframe (FRAMERATE_29_97_DROPFRAME) only if the video has video_insertion=true + // and drop_frame_timecode=true; otherwise, choose 29.97 non-dropframe (FRAMERATE_29_97_NON_DROPFRAME). + Framerate *string `locationName:"framerate" type:"string" enum:"SccDestinationFramerate"` +} + +// String returns the string representation +func (s SccDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SccDestinationSettings) GoString() string { + return s.String() +} + +// SetFramerate sets the Framerate field's value. +func (s *SccDestinationSettings) SetFramerate(v string) *SccDestinationSettings { + s.Framerate = &v + return s +} + +// Settings for use with a SPEKE key provider +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/SpekeKeyProvider +type SpekeKeyProvider struct { + _ struct{} `type:"structure"` + + // The SPEKE-compliant server uses Resource ID (ResourceId) to identify content. + ResourceId *string `locationName:"resourceId" type:"string"` + + // Relates to SPEKE implementation. DRM system identifiers. DASH output groups + // support a max of two system ids. Other group types support one system id. + SystemIds []*string `locationName:"systemIds" type:"list"` + + // Use URL (Url) to specify the SPEKE-compliant server that will provide keys + // for content. + Url *string `locationName:"url" type:"string"` +} + +// String returns the string representation +func (s SpekeKeyProvider) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SpekeKeyProvider) GoString() string { + return s.String() +} + +// SetResourceId sets the ResourceId field's value. +func (s *SpekeKeyProvider) SetResourceId(v string) *SpekeKeyProvider { + s.ResourceId = &v + return s +} + +// SetSystemIds sets the SystemIds field's value. +func (s *SpekeKeyProvider) SetSystemIds(v []*string) *SpekeKeyProvider { + s.SystemIds = v + return s +} + +// SetUrl sets the Url field's value. +func (s *SpekeKeyProvider) SetUrl(v string) *SpekeKeyProvider { + s.Url = &v + return s +} + +// Settings for use with a SPEKE key provider. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/StaticKeyProvider +type StaticKeyProvider struct { + _ struct{} `type:"structure"` + + // Relates to DRM implementation. Sets the value of the KEYFORMAT attribute. + // Must be 'identity' or a reverse DNS string. May be omitted to indicate an + // implicit value of 'identity'. + KeyFormat *string `locationName:"keyFormat" type:"string"` + + // Relates to DRM implementation. Either a single positive integer version value + // or a slash delimited list of version values (1/2/3). + KeyFormatVersions *string `locationName:"keyFormatVersions" type:"string"` + + // Relates to DRM implementation. Use a 32-character hexidecimal string to specify + // Key Value (StaticKeyValue). + StaticKeyValue *string `locationName:"staticKeyValue" type:"string"` + + // Relates to DRM implementation. The location of the license server used for + // protecting content. + Url *string `locationName:"url" type:"string"` +} + +// String returns the string representation +func (s StaticKeyProvider) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StaticKeyProvider) GoString() string { + return s.String() +} + +// SetKeyFormat sets the KeyFormat field's value. +func (s *StaticKeyProvider) SetKeyFormat(v string) *StaticKeyProvider { + s.KeyFormat = &v + return s +} + +// SetKeyFormatVersions sets the KeyFormatVersions field's value. +func (s *StaticKeyProvider) SetKeyFormatVersions(v string) *StaticKeyProvider { + s.KeyFormatVersions = &v + return s +} + +// SetStaticKeyValue sets the StaticKeyValue field's value. +func (s *StaticKeyProvider) SetStaticKeyValue(v string) *StaticKeyProvider { + s.StaticKeyValue = &v + return s +} + +// SetUrl sets the Url field's value. +func (s *StaticKeyProvider) SetUrl(v string) *StaticKeyProvider { + s.Url = &v + return s +} + +// Settings for Teletext caption output +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TeletextDestinationSettings +type TeletextDestinationSettings struct { + _ struct{} `type:"structure"` + + // Set pageNumber to the Teletext page number for the destination captions for + // this output. This value must be a three-digit hexadecimal string; strings + // ending in -FF are invalid. If you are passing through the entire set of Teletext + // data, do not use this field. + PageNumber *string `locationName:"pageNumber" type:"string"` +} + +// String returns the string representation +func (s TeletextDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TeletextDestinationSettings) GoString() string { + return s.String() +} + +// SetPageNumber sets the PageNumber field's value. +func (s *TeletextDestinationSettings) SetPageNumber(v string) *TeletextDestinationSettings { + s.PageNumber = &v + return s +} + +// Settings specific to Teletext caption sources, including Page number. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TeletextSourceSettings +type TeletextSourceSettings struct { + _ struct{} `type:"structure"` + + // Use Page Number (PageNumber) to specify the three-digit hexadecimal page + // number that will be used for Teletext captions. Do not use this setting if + // you are passing through teletext from the input source to output. + PageNumber *string `locationName:"pageNumber" type:"string"` +} + +// String returns the string representation +func (s TeletextSourceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TeletextSourceSettings) GoString() string { + return s.String() +} + +// SetPageNumber sets the PageNumber field's value. +func (s *TeletextSourceSettings) SetPageNumber(v string) *TeletextSourceSettings { + s.PageNumber = &v + return s +} + +// Timecode burn-in (TimecodeBurnIn)--Burns the output timecode and specified +// prefix into the output. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TimecodeBurnin +type TimecodeBurnin struct { + _ struct{} `type:"structure"` + + // Use Font Size (FontSize) to set the font size of any burned-in timecode. + // Valid values are 10, 16, 32, 48. + FontSize *int64 `locationName:"fontSize" type:"integer"` + + // Use Position (Position) under under Timecode burn-in (TimecodeBurnIn) to + // specify the location the burned-in timecode on output video. + Position *string `locationName:"position" type:"string" enum:"TimecodeBurninPosition"` + + // Use Prefix (Prefix) to place ASCII characters before any burned-in timecode. + // For example, a prefix of "EZ-" will result in the timecode "EZ-00:00:00:00". + // Provide either the characters themselves or the ASCII code equivalents. The + // supported range of characters is 0x20 through 0x7e. This includes letters, + // numbers, and all special characters represented on a standard English keyboard. + Prefix *string `locationName:"prefix" type:"string"` +} + +// String returns the string representation +func (s TimecodeBurnin) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TimecodeBurnin) GoString() string { + return s.String() +} + +// SetFontSize sets the FontSize field's value. +func (s *TimecodeBurnin) SetFontSize(v int64) *TimecodeBurnin { + s.FontSize = &v + return s +} + +// SetPosition sets the Position field's value. +func (s *TimecodeBurnin) SetPosition(v string) *TimecodeBurnin { + s.Position = &v + return s +} + +// SetPrefix sets the Prefix field's value. +func (s *TimecodeBurnin) SetPrefix(v string) *TimecodeBurnin { + s.Prefix = &v + return s +} + +// Contains settings used to acquire and adjust timecode information from inputs. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TimecodeConfig +type TimecodeConfig struct { + _ struct{} `type:"structure"` + + // If you use an editing platform that relies on an anchor timecode, use Anchor + // Timecode (Anchor) to specify a timecode that will match the input video frame + // to the output video frame. Use 24-hour format with frame number, (HH:MM:SS:FF) + // or (HH:MM:SS;FF). This setting ignores framerate conversion. System behavior + // for Anchor Timecode varies depending on your setting for Timecode source + // (TimecodeSource). * If Timecode source (TimecodeSource) is set to Specified + // Start (specifiedstart), the first input frame is the specified value in Start + // Timecode (Start). Anchor Timecode (Anchor) and Start Timecode (Start) are + // used calculate output timecode. * If Timecode source (TimecodeSource) is + // set to Start at 0 (zerobased) the first frame is 00:00:00:00. * If Timecode + // source (TimecodeSource) is set to Embedded (embedded), the first frame is + // the timecode value on the first input frame of the input. + Anchor *string `locationName:"anchor" type:"string"` + + // Use Timecode source (TimecodeSource) to set how timecodes are handled within + // this input. To make sure that your video, audio, captions, and markers are + // synchronized and that time-based features, such as image inserter, work correctly, + // choose the Timecode source option that matches your assets. All timecodes + // are in a 24-hour format with frame number (HH:MM:SS:FF). * Embedded (EMBEDDED) + // - Use the timecode that is in the input video. If no embedded timecode is + // in the source, the service will use Start at 0 (ZEROBASED) instead. * Start + // at 0 (ZEROBASED) - Set the timecode of the initial frame to 00:00:00:00. + // * Specified Start (SPECIFIEDSTART) - Set the timecode of the initial frame + // to a value other than zero. You use Start timecode (Start) to provide this + // value. + Source *string `locationName:"source" type:"string" enum:"TimecodeSource"` + + // Only use when you set Timecode Source (TimecodeSource) to Specified Start + // (SPECIFIEDSTART). Use Start timecode (Start) to specify the timecode for + // the initial frame. Use 24-hour format with frame number, (HH:MM:SS:FF) or + // (HH:MM:SS;FF). + Start *string `locationName:"start" type:"string"` + + // Only applies to outputs that support program-date-time stamp. Use Time stamp + // offset (TimestampOffset) to overwrite the timecode date without affecting + // the time and frame number. Provide the new date as a string in the format + // "yyyy-mm-dd". To use Time stamp offset, you must also enable Insert program-date-time + // (InsertProgramDateTime) in the output settings. + TimestampOffset *string `locationName:"timestampOffset" type:"string"` +} + +// String returns the string representation +func (s TimecodeConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TimecodeConfig) GoString() string { + return s.String() +} + +// SetAnchor sets the Anchor field's value. +func (s *TimecodeConfig) SetAnchor(v string) *TimecodeConfig { + s.Anchor = &v + return s +} + +// SetSource sets the Source field's value. +func (s *TimecodeConfig) SetSource(v string) *TimecodeConfig { + s.Source = &v + return s +} + +// SetStart sets the Start field's value. +func (s *TimecodeConfig) SetStart(v string) *TimecodeConfig { + s.Start = &v + return s +} + +// SetTimestampOffset sets the TimestampOffset field's value. +func (s *TimecodeConfig) SetTimestampOffset(v string) *TimecodeConfig { + s.TimestampOffset = &v + return s +} + +// Enable Timed metadata insertion (TimedMetadataInsertion) to include ID3 tags +// in your job. To include timed metadata, you must enable it here, enable it +// in each output container, and specify tags and timecodes in ID3 insertion +// (Id3Insertion) objects. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TimedMetadataInsertion +type TimedMetadataInsertion struct { + _ struct{} `type:"structure"` + + // Id3Insertions contains the array of Id3Insertion instances. + Id3Insertions []*Id3Insertion `locationName:"id3Insertions" type:"list"` +} + +// String returns the string representation +func (s TimedMetadataInsertion) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TimedMetadataInsertion) GoString() string { + return s.String() +} + +// SetId3Insertions sets the Id3Insertions field's value. +func (s *TimedMetadataInsertion) SetId3Insertions(v []*Id3Insertion) *TimedMetadataInsertion { + s.Id3Insertions = v + return s +} + +// Information about when jobs are submitted, started, and finished is specified +// in Unix epoch format in seconds. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Timing +type Timing struct { + _ struct{} `type:"structure"` + + // The time, in Unix epoch format, that the transcoding job finished + FinishTime *time.Time `locationName:"finishTime" type:"timestamp" timestampFormat:"unix"` + + // The time, in Unix epoch format, that transcoding for the job began. + StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix"` + + // The time, in Unix epoch format, that you submitted the job. + SubmitTime *time.Time `locationName:"submitTime" type:"timestamp" timestampFormat:"unix"` +} + +// String returns the string representation +func (s Timing) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Timing) GoString() string { + return s.String() +} + +// SetFinishTime sets the FinishTime field's value. +func (s *Timing) SetFinishTime(v time.Time) *Timing { + s.FinishTime = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *Timing) SetStartTime(v time.Time) *Timing { + s.StartTime = &v + return s +} + +// SetSubmitTime sets the SubmitTime field's value. +func (s *Timing) SetSubmitTime(v time.Time) *Timing { + s.SubmitTime = &v + return s +} + +// Settings for TTML caption output +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TtmlDestinationSettings +type TtmlDestinationSettings struct { + _ struct{} `type:"structure"` + + // Pass through style and position information from a TTML-like input source + // (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or TTML output. + StylePassthrough *string `locationName:"stylePassthrough" type:"string" enum:"TtmlStylePassthrough"` +} + +// String returns the string representation +func (s TtmlDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TtmlDestinationSettings) GoString() string { + return s.String() +} + +// SetStylePassthrough sets the StylePassthrough field's value. +func (s *TtmlDestinationSettings) SetStylePassthrough(v string) *TtmlDestinationSettings { + s.StylePassthrough = &v + return s +} + +// Modify a job template by sending a request with the job template name and +// any of the following that you wish to change: description, category, and +// queue. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateJobTemplateRequest +type UpdateJobTemplateInput struct { + _ struct{} `type:"structure"` + + // The new category for the job template, if you are changing it. + Category *string `locationName:"category" type:"string"` + + // The new description for the job template, if you are changing it. + Description *string `locationName:"description" type:"string"` + + // The name of the job template you are modifying + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` + + // The new queue for the job template, if you are changing it. + Queue *string `locationName:"queue" type:"string"` + + // JobTemplateSettings contains all the transcode settings saved in the template + // that will be applied to jobs created from it. + Settings *JobTemplateSettings `locationName:"settings" type:"structure"` +} + +// String returns the string representation +func (s UpdateJobTemplateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateJobTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateJobTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateJobTemplateInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategory sets the Category field's value. +func (s *UpdateJobTemplateInput) SetCategory(v string) *UpdateJobTemplateInput { + s.Category = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateJobTemplateInput) SetDescription(v string) *UpdateJobTemplateInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateJobTemplateInput) SetName(v string) *UpdateJobTemplateInput { + s.Name = &v + return s +} + +// SetQueue sets the Queue field's value. +func (s *UpdateJobTemplateInput) SetQueue(v string) *UpdateJobTemplateInput { + s.Queue = &v + return s +} + +// SetSettings sets the Settings field's value. +func (s *UpdateJobTemplateInput) SetSettings(v *JobTemplateSettings) *UpdateJobTemplateInput { + s.Settings = v + return s +} + +// Successful update job template requests will return the new job template +// JSON. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateJobTemplateResponse +type UpdateJobTemplateOutput struct { + _ struct{} `type:"structure"` + + // A job template is a pre-made set of encoding instructions that you can use + // to quickly create a job. + JobTemplate *JobTemplate `locationName:"jobTemplate" type:"structure"` +} + +// String returns the string representation +func (s UpdateJobTemplateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateJobTemplateOutput) GoString() string { + return s.String() +} + +// SetJobTemplate sets the JobTemplate field's value. +func (s *UpdateJobTemplateOutput) SetJobTemplate(v *JobTemplate) *UpdateJobTemplateOutput { + s.JobTemplate = v + return s +} + +// Modify a preset by sending a request with the preset name and any of the +// following that you wish to change: description, category, and transcoding +// settings. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdatePresetRequest +type UpdatePresetInput struct { + _ struct{} `type:"structure"` + + // The new category for the preset, if you are changing it. + Category *string `locationName:"category" type:"string"` + + // The new description for the preset, if you are changing it. + Description *string `locationName:"description" type:"string"` + + // The name of the preset you are modifying. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` + + // Settings for preset + Settings *PresetSettings `locationName:"settings" type:"structure"` +} + +// String returns the string representation +func (s UpdatePresetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdatePresetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdatePresetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdatePresetInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategory sets the Category field's value. +func (s *UpdatePresetInput) SetCategory(v string) *UpdatePresetInput { + s.Category = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdatePresetInput) SetDescription(v string) *UpdatePresetInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdatePresetInput) SetName(v string) *UpdatePresetInput { + s.Name = &v + return s +} + +// SetSettings sets the Settings field's value. +func (s *UpdatePresetInput) SetSettings(v *PresetSettings) *UpdatePresetInput { + s.Settings = v + return s +} + +// Successful update preset requests will return the new preset JSON. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdatePresetResponse +type UpdatePresetOutput struct { + _ struct{} `type:"structure"` + + // A preset is a collection of preconfigured media conversion settings that + // you want MediaConvert to apply to the output during the conversion process. + Preset *Preset `locationName:"preset" type:"structure"` +} + +// String returns the string representation +func (s UpdatePresetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdatePresetOutput) GoString() string { + return s.String() +} + +// SetPreset sets the Preset field's value. +func (s *UpdatePresetOutput) SetPreset(v *Preset) *UpdatePresetOutput { + s.Preset = v + return s +} + +// Modify a queue by sending a request with the queue name and any of the following +// that you wish to change - description, status. You pause or activate a queue +// by changing its status between ACTIVE and PAUSED. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateQueueRequest +type UpdateQueueInput struct { + _ struct{} `type:"structure"` + + // The new description for the queue, if you are changing it. + Description *string `locationName:"description" type:"string"` + + // The name of the queue you are modifying. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` + + // Queues can be ACTIVE or PAUSED. If you pause a queue, jobs in that queue + // will not begin. Jobs running when a queue is paused continue to run until + // they finish or error out. + Status *string `locationName:"status" type:"string" enum:"QueueStatus"` +} + +// String returns the string representation +func (s UpdateQueueInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateQueueInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateQueueInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateQueueInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdateQueueInput) SetDescription(v string) *UpdateQueueInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateQueueInput) SetName(v string) *UpdateQueueInput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *UpdateQueueInput) SetStatus(v string) *UpdateQueueInput { + s.Status = &v + return s +} + +// Successful update queue requests will return the new queue JSON. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateQueueResponse +type UpdateQueueOutput struct { + _ struct{} `type:"structure"` + + // MediaConvert jobs are submitted to a queue. Unless specified otherwise jobs + // are submitted to a built-in default queue. User can create additional queues + // to separate the jobs of different categories or priority. + Queue *Queue `locationName:"queue" type:"structure"` +} + +// String returns the string representation +func (s UpdateQueueOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateQueueOutput) GoString() string { + return s.String() +} + +// SetQueue sets the Queue field's value. +func (s *UpdateQueueOutput) SetQueue(v *Queue) *UpdateQueueOutput { + s.Queue = v + return s +} + +// Video codec settings, (CodecSettings) under (VideoDescription), contains +// the group of settings related to video encoding. The settings in this group +// vary depending on the value you choose for Video codec (Codec). For each +// codec enum you choose, define the corresponding settings object. The following +// lists the codec enum, settings object pairs. * H_264, H264Settings * H_265, +// H265Settings * MPEG2, Mpeg2Settings * PRORES, ProresSettings * FRAME_CAPTURE, +// FrameCaptureSettings +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/VideoCodecSettings +type VideoCodecSettings struct { + _ struct{} `type:"structure"` + + // Type of video codec + Codec *string `locationName:"codec" type:"string" enum:"VideoCodec"` + + // Required when you set (Codec) under (VideoDescription)>(CodecSettings) to + // the value FRAME_CAPTURE. + FrameCaptureSettings *FrameCaptureSettings `locationName:"frameCaptureSettings" type:"structure"` + + // Required when you set (Codec) under (VideoDescription)>(CodecSettings) to + // the value H_264. + H264Settings *H264Settings `locationName:"h264Settings" type:"structure"` + + // Settings for H265 codec + H265Settings *H265Settings `locationName:"h265Settings" type:"structure"` + + // Required when you set (Codec) under (VideoDescription)>(CodecSettings) to + // the value MPEG2. + Mpeg2Settings *Mpeg2Settings `locationName:"mpeg2Settings" type:"structure"` + + // Required when you set (Codec) under (VideoDescription)>(CodecSettings) to + // the value PRORES. + ProresSettings *ProresSettings `locationName:"proresSettings" type:"structure"` +} + +// String returns the string representation +func (s VideoCodecSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VideoCodecSettings) GoString() string { + return s.String() +} + +// SetCodec sets the Codec field's value. +func (s *VideoCodecSettings) SetCodec(v string) *VideoCodecSettings { + s.Codec = &v + return s +} + +// SetFrameCaptureSettings sets the FrameCaptureSettings field's value. +func (s *VideoCodecSettings) SetFrameCaptureSettings(v *FrameCaptureSettings) *VideoCodecSettings { + s.FrameCaptureSettings = v + return s +} + +// SetH264Settings sets the H264Settings field's value. +func (s *VideoCodecSettings) SetH264Settings(v *H264Settings) *VideoCodecSettings { + s.H264Settings = v + return s +} + +// SetH265Settings sets the H265Settings field's value. +func (s *VideoCodecSettings) SetH265Settings(v *H265Settings) *VideoCodecSettings { + s.H265Settings = v + return s +} + +// SetMpeg2Settings sets the Mpeg2Settings field's value. +func (s *VideoCodecSettings) SetMpeg2Settings(v *Mpeg2Settings) *VideoCodecSettings { + s.Mpeg2Settings = v + return s +} + +// SetProresSettings sets the ProresSettings field's value. +func (s *VideoCodecSettings) SetProresSettings(v *ProresSettings) *VideoCodecSettings { + s.ProresSettings = v + return s +} + +// Settings for video outputs +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/VideoDescription +type VideoDescription struct { + _ struct{} `type:"structure"` + + // This setting only applies to H.264 and MPEG2 outputs. Use Insert AFD signaling + // (AfdSignaling) to whether there are AFD values in the output video data and + // what those values are. * Choose None to remove all AFD values from this output. + // * Choose Fixed to ignore input AFD values and instead encode the value specified + // in the job. * Choose Auto to calculate output AFD values based on the input + // AFD scaler data. + AfdSignaling *string `locationName:"afdSignaling" type:"string" enum:"AfdSignaling"` + + // Enable Anti-alias (AntiAlias) to enhance sharp edges in video output when + // your input resolution is much larger than your output resolution. Default + // is enabled. + AntiAlias *string `locationName:"antiAlias" type:"string" enum:"AntiAlias"` + + // Video codec settings, (CodecSettings) under (VideoDescription), contains + // the group of settings related to video encoding. The settings in this group + // vary depending on the value you choose for Video codec (Codec). For each + // codec enum you choose, define the corresponding settings object. The following + // lists the codec enum, settings object pairs. * H_264, H264Settings * H_265, + // H265Settings * MPEG2, Mpeg2Settings * PRORES, ProresSettings * FRAME_CAPTURE, + // FrameCaptureSettings + CodecSettings *VideoCodecSettings `locationName:"codecSettings" type:"structure"` + + // Enable Insert color metadata (ColorMetadata) to include color metadata in + // this output. This setting is enabled by default. + ColorMetadata *string `locationName:"colorMetadata" type:"string" enum:"ColorMetadata"` + + // Applies only if your input aspect ratio is different from your output aspect + // ratio. Use Input cropping rectangle (Crop) to specify the video area the + // service will include in the output. This will crop the input source, causing + // video pixels to be removed on encode. Do not use this setting if you have + // enabled Stretch to output (stretchToOutput) in your output settings. + Crop *Rectangle `locationName:"crop" type:"structure"` + + // Applies only to 29.97 fps outputs. When this feature is enabled, the service + // will use drop-frame timecode on outputs. If it is not possible to use drop-frame + // timecode, the system will fall back to non-drop-frame. This setting is enabled + // by default when Timecode insertion (TimecodeInsertion) is enabled. + DropFrameTimecode *string `locationName:"dropFrameTimecode" type:"string" enum:"DropFrameTimecode"` + + // Applies only if you set AFD Signaling(AfdSignaling) to Fixed (FIXED). Use + // Fixed (FixedAfd) to specify a four-bit AFD value which the service will write + // on all frames of this video output. + FixedAfd *int64 `locationName:"fixedAfd" type:"integer"` + + // Use the Height (Height) setting to define the video resolution height for + // this output. Specify in pixels. If you don't provide a value here, the service + // will use the input height. + Height *int64 `locationName:"height" type:"integer"` + + // Use Position (Position) to point to a rectangle object to define your position. + // This setting overrides any other aspect ratio. + Position *Rectangle `locationName:"position" type:"structure"` + + // Use Respond to AFD (RespondToAfd) to specify how the service changes the + // video itself in response to AFD values in the input. * Choose Respond to + // clip the input video frame according to the AFD value, input display aspect + // ratio, and output display aspect ratio. * Choose Passthrough to include the + // input AFD values. Do not choose this when AfdSignaling is set to (NONE). + // A preferred implementation of this workflow is to set RespondToAfd to (NONE) + // and set AfdSignaling to (AUTO). * Choose None to remove all input AFD values + // from this output. + RespondToAfd *string `locationName:"respondToAfd" type:"string" enum:"RespondToAfd"` + + // Applies only if your input aspect ratio is different from your output aspect + // ratio. Enable Stretch to output (StretchToOutput) to have the service stretch + // your video image to fit. Leave this setting disabled to allow the service + // to letterbox your video instead. This setting overrides any positioning value + // you specify elsewhere in the job. + ScalingBehavior *string `locationName:"scalingBehavior" type:"string" enum:"ScalingBehavior"` + + // Use Sharpness (Sharpness)setting to specify the strength of anti-aliasing. + // This setting changes the width of the anti-alias filter kernel used for scaling. + // Sharpness only applies if your output resolution is different from your input + // resolution, and if you set Anti-alias (AntiAlias) to ENABLED. 0 is the softest + // setting, 100 the sharpest, and 50 recommended for most content. + Sharpness *int64 `locationName:"sharpness" type:"integer"` + + // Enable Timecode insertion to include timecode information in this output. + // Do this in the API by setting (VideoTimecodeInsertion) to (PIC_TIMING_SEI). + // To get timecodes to appear correctly in your output, also set up the timecode + // configuration for your job in the input settings. Only enable Timecode insertion + // when the input framerate is identical to output framerate. Disable this setting + // to remove the timecode from the output. Default is disabled. + TimecodeInsertion *string `locationName:"timecodeInsertion" type:"string" enum:"VideoTimecodeInsertion"` + + // Find additional transcoding features under Preprocessors (VideoPreprocessors). + // Enable the features at each output individually. These features are disabled + // by default. + VideoPreprocessors *VideoPreprocessor `locationName:"videoPreprocessors" type:"structure"` + + // Use Width (Width) to define the video resolution width, in pixels, for this + // output. If you don't provide a value here, the service will use the input + // width. + Width *int64 `locationName:"width" type:"integer"` +} + +// String returns the string representation +func (s VideoDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VideoDescription) GoString() string { + return s.String() +} + +// SetAfdSignaling sets the AfdSignaling field's value. +func (s *VideoDescription) SetAfdSignaling(v string) *VideoDescription { + s.AfdSignaling = &v + return s +} + +// SetAntiAlias sets the AntiAlias field's value. +func (s *VideoDescription) SetAntiAlias(v string) *VideoDescription { + s.AntiAlias = &v + return s +} + +// SetCodecSettings sets the CodecSettings field's value. +func (s *VideoDescription) SetCodecSettings(v *VideoCodecSettings) *VideoDescription { + s.CodecSettings = v + return s +} + +// SetColorMetadata sets the ColorMetadata field's value. +func (s *VideoDescription) SetColorMetadata(v string) *VideoDescription { + s.ColorMetadata = &v + return s +} + +// SetCrop sets the Crop field's value. +func (s *VideoDescription) SetCrop(v *Rectangle) *VideoDescription { + s.Crop = v + return s +} + +// SetDropFrameTimecode sets the DropFrameTimecode field's value. +func (s *VideoDescription) SetDropFrameTimecode(v string) *VideoDescription { + s.DropFrameTimecode = &v + return s +} + +// SetFixedAfd sets the FixedAfd field's value. +func (s *VideoDescription) SetFixedAfd(v int64) *VideoDescription { + s.FixedAfd = &v + return s +} + +// SetHeight sets the Height field's value. +func (s *VideoDescription) SetHeight(v int64) *VideoDescription { + s.Height = &v + return s +} + +// SetPosition sets the Position field's value. +func (s *VideoDescription) SetPosition(v *Rectangle) *VideoDescription { + s.Position = v + return s +} + +// SetRespondToAfd sets the RespondToAfd field's value. +func (s *VideoDescription) SetRespondToAfd(v string) *VideoDescription { + s.RespondToAfd = &v + return s +} + +// SetScalingBehavior sets the ScalingBehavior field's value. +func (s *VideoDescription) SetScalingBehavior(v string) *VideoDescription { + s.ScalingBehavior = &v + return s +} + +// SetSharpness sets the Sharpness field's value. +func (s *VideoDescription) SetSharpness(v int64) *VideoDescription { + s.Sharpness = &v + return s +} + +// SetTimecodeInsertion sets the TimecodeInsertion field's value. +func (s *VideoDescription) SetTimecodeInsertion(v string) *VideoDescription { + s.TimecodeInsertion = &v + return s +} + +// SetVideoPreprocessors sets the VideoPreprocessors field's value. +func (s *VideoDescription) SetVideoPreprocessors(v *VideoPreprocessor) *VideoDescription { + s.VideoPreprocessors = v + return s +} + +// SetWidth sets the Width field's value. +func (s *VideoDescription) SetWidth(v int64) *VideoDescription { + s.Width = &v + return s +} + +// Contains details about the output's video stream +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/VideoDetail +type VideoDetail struct { + _ struct{} `type:"structure"` + + // Height in pixels for the output + HeightInPx *int64 `locationName:"heightInPx" type:"integer"` + + // Width in pixels for the output + WidthInPx *int64 `locationName:"widthInPx" type:"integer"` +} + +// String returns the string representation +func (s VideoDetail) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VideoDetail) GoString() string { + return s.String() +} + +// SetHeightInPx sets the HeightInPx field's value. +func (s *VideoDetail) SetHeightInPx(v int64) *VideoDetail { + s.HeightInPx = &v + return s +} + +// SetWidthInPx sets the WidthInPx field's value. +func (s *VideoDetail) SetWidthInPx(v int64) *VideoDetail { + s.WidthInPx = &v + return s +} + +// Find additional transcoding features under Preprocessors (VideoPreprocessors). +// Enable the features at each output individually. These features are disabled +// by default. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/VideoPreprocessor +type VideoPreprocessor struct { + _ struct{} `type:"structure"` + + // Enable the Color corrector (ColorCorrector) feature if necessary. Enable + // or disable this feature for each output individually. This setting is disabled + // by default. + ColorCorrector *ColorCorrector `locationName:"colorCorrector" type:"structure"` + + // Use Deinterlacer (Deinterlacer) to produce smoother motion and a clearer + // picture. + Deinterlacer *Deinterlacer `locationName:"deinterlacer" type:"structure"` + + // Enable the Image inserter (ImageInserter) feature to include a graphic overlay + // on your video. Enable or disable this feature for each output individually. + // This setting is disabled by default. + ImageInserter *ImageInserter `locationName:"imageInserter" type:"structure"` + + // Enable the Noise reducer (NoiseReducer) feature to remove noise from your + // video output if necessary. Enable or disable this feature for each output + // individually. This setting is disabled by default. + NoiseReducer *NoiseReducer `locationName:"noiseReducer" type:"structure"` + + // Timecode burn-in (TimecodeBurnIn)--Burns the output timecode and specified + // prefix into the output. + TimecodeBurnin *TimecodeBurnin `locationName:"timecodeBurnin" type:"structure"` +} + +// String returns the string representation +func (s VideoPreprocessor) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VideoPreprocessor) GoString() string { + return s.String() +} + +// SetColorCorrector sets the ColorCorrector field's value. +func (s *VideoPreprocessor) SetColorCorrector(v *ColorCorrector) *VideoPreprocessor { + s.ColorCorrector = v + return s +} + +// SetDeinterlacer sets the Deinterlacer field's value. +func (s *VideoPreprocessor) SetDeinterlacer(v *Deinterlacer) *VideoPreprocessor { + s.Deinterlacer = v + return s +} + +// SetImageInserter sets the ImageInserter field's value. +func (s *VideoPreprocessor) SetImageInserter(v *ImageInserter) *VideoPreprocessor { + s.ImageInserter = v + return s +} + +// SetNoiseReducer sets the NoiseReducer field's value. +func (s *VideoPreprocessor) SetNoiseReducer(v *NoiseReducer) *VideoPreprocessor { + s.NoiseReducer = v + return s +} + +// SetTimecodeBurnin sets the TimecodeBurnin field's value. +func (s *VideoPreprocessor) SetTimecodeBurnin(v *TimecodeBurnin) *VideoPreprocessor { + s.TimecodeBurnin = v + return s +} + +// Selector for video. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/VideoSelector +type VideoSelector struct { + _ struct{} `type:"structure"` + + // Specifies the colorspace of an input. This setting works in tandem with "Color + // Corrector":#color_corrector > color_space_conversion to determine if any + // conversion will be performed. + ColorSpace *string `locationName:"colorSpace" type:"string" enum:"ColorSpace"` + + // There are two sources for color metadata, the input file and the job configuration. + // This enum controls which takes precedence. FORCE: System will use color metadata + // supplied by user, if any. If the user does not supply color metadata the + // system will use data from the source. FALLBACK: System will use color metadata + // from the source. If source has no color metadata, the system will use user-supplied + // color metadata values if available. + ColorSpaceUsage *string `locationName:"colorSpaceUsage" type:"string" enum:"ColorSpaceUsage"` + + // Use the HDR master display (Hdr10Metadata) settings to provide values for + // HDR color. These values vary depending on the input video and must be provided + // by a color grader. Range is 0 to 50,000, each increment represents 0.00002 + // in CIE1931 color coordinate. + Hdr10Metadata *Hdr10Metadata `locationName:"hdr10Metadata" type:"structure"` + + // Use PID (Pid) to select specific video data from an input file. Specify this + // value as an integer; the system automatically converts it to the hexidecimal + // value. For example, 257 selects PID 0x101. A PID, or packet identifier, is + // an identifier for a set of data in an MPEG-2 transport stream container. + Pid *int64 `locationName:"pid" type:"integer"` + + // Selects a specific program from within a multi-program transport stream. + // Note that Quad 4K is not currently supported. + ProgramNumber *int64 `locationName:"programNumber" type:"integer"` +} + +// String returns the string representation +func (s VideoSelector) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VideoSelector) GoString() string { + return s.String() +} + +// SetColorSpace sets the ColorSpace field's value. +func (s *VideoSelector) SetColorSpace(v string) *VideoSelector { + s.ColorSpace = &v + return s +} + +// SetColorSpaceUsage sets the ColorSpaceUsage field's value. +func (s *VideoSelector) SetColorSpaceUsage(v string) *VideoSelector { + s.ColorSpaceUsage = &v + return s +} + +// SetHdr10Metadata sets the Hdr10Metadata field's value. +func (s *VideoSelector) SetHdr10Metadata(v *Hdr10Metadata) *VideoSelector { + s.Hdr10Metadata = v + return s +} + +// SetPid sets the Pid field's value. +func (s *VideoSelector) SetPid(v int64) *VideoSelector { + s.Pid = &v + return s +} + +// SetProgramNumber sets the ProgramNumber field's value. +func (s *VideoSelector) SetProgramNumber(v int64) *VideoSelector { + s.ProgramNumber = &v + return s +} + +// Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to +// the value WAV. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/WavSettings +type WavSettings struct { + _ struct{} `type:"structure"` + + // Specify Bit depth (BitDepth), in bits per sample, to choose the encoding + // quality for this audio track. + BitDepth *int64 `locationName:"bitDepth" type:"integer"` + + // Set Channels to specify the number of channels in this output audio track. + // With WAV, valid values 1, 2, 4, and 8. In the console, these values are Mono, + // Stereo, 4-Channel, and 8-Channel, respectively. + Channels *int64 `locationName:"channels" type:"integer"` + + // Sample rate in Hz. + SampleRate *int64 `locationName:"sampleRate" type:"integer"` +} + +// String returns the string representation +func (s WavSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WavSettings) GoString() string { + return s.String() +} + +// SetBitDepth sets the BitDepth field's value. +func (s *WavSettings) SetBitDepth(v int64) *WavSettings { + s.BitDepth = &v + return s +} + +// SetChannels sets the Channels field's value. +func (s *WavSettings) SetChannels(v int64) *WavSettings { + s.Channels = &v + return s +} + +// SetSampleRate sets the SampleRate field's value. +func (s *WavSettings) SetSampleRate(v int64) *WavSettings { + s.SampleRate = &v + return s +} + +// Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio +// + audio description (AD) as a stereo pair. The value for AudioType will be +// set to 3, which signals to downstream systems that this stream contains "broadcaster +// mixed AD". Note that the input received by the encoder must contain pre-mixed +// audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, +// the encoder ignores any values you provide in AudioType and FollowInputAudioType. +// Choose NORMAL when the input does not contain pre-mixed audio + audio description +// (AD). In this case, the encoder will use any values you provide for AudioType +// and FollowInputAudioType. +const ( + // AacAudioDescriptionBroadcasterMixBroadcasterMixedAd is a AacAudioDescriptionBroadcasterMix enum value + AacAudioDescriptionBroadcasterMixBroadcasterMixedAd = "BROADCASTER_MIXED_AD" + + // AacAudioDescriptionBroadcasterMixNormal is a AacAudioDescriptionBroadcasterMix enum value + AacAudioDescriptionBroadcasterMixNormal = "NORMAL" +) + +// AAC Profile. +const ( + // AacCodecProfileLc is a AacCodecProfile enum value + AacCodecProfileLc = "LC" + + // AacCodecProfileHev1 is a AacCodecProfile enum value + AacCodecProfileHev1 = "HEV1" + + // AacCodecProfileHev2 is a AacCodecProfile enum value + AacCodecProfileHev2 = "HEV2" +) + +// Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid values +// depend on rate control mode and profile. "1.0 - Audio Description (Receiver +// Mix)" setting receives a stereo description plus control track and emits +// a mono AAC encode of the description track, with control data emitted in +// the PES header as per ETSI TS 101 154 Annex E. +const ( + // AacCodingModeAdReceiverMix is a AacCodingMode enum value + AacCodingModeAdReceiverMix = "AD_RECEIVER_MIX" + + // AacCodingModeCodingMode10 is a AacCodingMode enum value + AacCodingModeCodingMode10 = "CODING_MODE_1_0" + + // AacCodingModeCodingMode11 is a AacCodingMode enum value + AacCodingModeCodingMode11 = "CODING_MODE_1_1" + + // AacCodingModeCodingMode20 is a AacCodingMode enum value + AacCodingModeCodingMode20 = "CODING_MODE_2_0" + + // AacCodingModeCodingMode51 is a AacCodingMode enum value + AacCodingModeCodingMode51 = "CODING_MODE_5_1" +) + +// Rate Control Mode. +const ( + // AacRateControlModeCbr is a AacRateControlMode enum value + AacRateControlModeCbr = "CBR" + + // AacRateControlModeVbr is a AacRateControlMode enum value + AacRateControlModeVbr = "VBR" +) + +// Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, +// you must choose "No container" for the output container. +const ( + // AacRawFormatLatmLoas is a AacRawFormat enum value + AacRawFormatLatmLoas = "LATM_LOAS" + + // AacRawFormatNone is a AacRawFormat enum value + AacRawFormatNone = "NONE" +) + +// Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream +// containers. +const ( + // AacSpecificationMpeg2 is a AacSpecification enum value + AacSpecificationMpeg2 = "MPEG2" + + // AacSpecificationMpeg4 is a AacSpecification enum value + AacSpecificationMpeg4 = "MPEG4" +) + +// VBR Quality Level - Only used if rate_control_mode is VBR. +const ( + // AacVbrQualityLow is a AacVbrQuality enum value + AacVbrQualityLow = "LOW" + + // AacVbrQualityMediumLow is a AacVbrQuality enum value + AacVbrQualityMediumLow = "MEDIUM_LOW" + + // AacVbrQualityMediumHigh is a AacVbrQuality enum value + AacVbrQualityMediumHigh = "MEDIUM_HIGH" + + // AacVbrQualityHigh is a AacVbrQuality enum value + AacVbrQualityHigh = "HIGH" +) + +// Specifies the "Bitstream Mode" (bsmod) for the emitted AC-3 stream. See ATSC +// A/52-2012 for background on these values. +const ( + // Ac3BitstreamModeCompleteMain is a Ac3BitstreamMode enum value + Ac3BitstreamModeCompleteMain = "COMPLETE_MAIN" + + // Ac3BitstreamModeCommentary is a Ac3BitstreamMode enum value + Ac3BitstreamModeCommentary = "COMMENTARY" + + // Ac3BitstreamModeDialogue is a Ac3BitstreamMode enum value + Ac3BitstreamModeDialogue = "DIALOGUE" + + // Ac3BitstreamModeEmergency is a Ac3BitstreamMode enum value + Ac3BitstreamModeEmergency = "EMERGENCY" + + // Ac3BitstreamModeHearingImpaired is a Ac3BitstreamMode enum value + Ac3BitstreamModeHearingImpaired = "HEARING_IMPAIRED" + + // Ac3BitstreamModeMusicAndEffects is a Ac3BitstreamMode enum value + Ac3BitstreamModeMusicAndEffects = "MUSIC_AND_EFFECTS" + + // Ac3BitstreamModeVisuallyImpaired is a Ac3BitstreamMode enum value + Ac3BitstreamModeVisuallyImpaired = "VISUALLY_IMPAIRED" + + // Ac3BitstreamModeVoiceOver is a Ac3BitstreamMode enum value + Ac3BitstreamModeVoiceOver = "VOICE_OVER" +) + +// Dolby Digital coding mode. Determines number of channels. +const ( + // Ac3CodingModeCodingMode10 is a Ac3CodingMode enum value + Ac3CodingModeCodingMode10 = "CODING_MODE_1_0" + + // Ac3CodingModeCodingMode11 is a Ac3CodingMode enum value + Ac3CodingModeCodingMode11 = "CODING_MODE_1_1" + + // Ac3CodingModeCodingMode20 is a Ac3CodingMode enum value + Ac3CodingModeCodingMode20 = "CODING_MODE_2_0" + + // Ac3CodingModeCodingMode32Lfe is a Ac3CodingMode enum value + Ac3CodingModeCodingMode32Lfe = "CODING_MODE_3_2_LFE" +) + +// If set to FILM_STANDARD, adds dynamic range compression signaling to the +// output bitstream as defined in the Dolby Digital specification. +const ( + // Ac3DynamicRangeCompressionProfileFilmStandard is a Ac3DynamicRangeCompressionProfile enum value + Ac3DynamicRangeCompressionProfileFilmStandard = "FILM_STANDARD" + + // Ac3DynamicRangeCompressionProfileNone is a Ac3DynamicRangeCompressionProfile enum value + Ac3DynamicRangeCompressionProfileNone = "NONE" +) + +// Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only +// valid with 3_2_LFE coding mode. +const ( + // Ac3LfeFilterEnabled is a Ac3LfeFilter enum value + Ac3LfeFilterEnabled = "ENABLED" + + // Ac3LfeFilterDisabled is a Ac3LfeFilter enum value + Ac3LfeFilterDisabled = "DISABLED" +) + +// When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, +// or DolbyE decoder that supplied this audio data. If audio was not supplied +// from one of these streams, then the static metadata settings will be used. +const ( + // Ac3MetadataControlFollowInput is a Ac3MetadataControl enum value + Ac3MetadataControlFollowInput = "FOLLOW_INPUT" + + // Ac3MetadataControlUseConfigured is a Ac3MetadataControl enum value + Ac3MetadataControlUseConfigured = "USE_CONFIGURED" +) + +// This setting only applies to H.264 and MPEG2 outputs. Use Insert AFD signaling +// (AfdSignaling) to whether there are AFD values in the output video data and +// what those values are. * Choose None to remove all AFD values from this output. +// * Choose Fixed to ignore input AFD values and instead encode the value specified +// in the job. * Choose Auto to calculate output AFD values based on the input +// AFD scaler data. +const ( + // AfdSignalingNone is a AfdSignaling enum value + AfdSignalingNone = "NONE" + + // AfdSignalingAuto is a AfdSignaling enum value + AfdSignalingAuto = "AUTO" + + // AfdSignalingFixed is a AfdSignaling enum value + AfdSignalingFixed = "FIXED" +) + +// Enable Anti-alias (AntiAlias) to enhance sharp edges in video output when +// your input resolution is much larger than your output resolution. Default +// is enabled. +const ( + // AntiAliasDisabled is a AntiAlias enum value + AntiAliasDisabled = "DISABLED" + + // AntiAliasEnabled is a AntiAlias enum value + AntiAliasEnabled = "ENABLED" +) + +// Type of Audio codec. +const ( + // AudioCodecAac is a AudioCodec enum value + AudioCodecAac = "AAC" + + // AudioCodecMp2 is a AudioCodec enum value + AudioCodecMp2 = "MP2" + + // AudioCodecWav is a AudioCodec enum value + AudioCodecWav = "WAV" + + // AudioCodecAiff is a AudioCodec enum value + AudioCodecAiff = "AIFF" + + // AudioCodecAc3 is a AudioCodec enum value + AudioCodecAc3 = "AC3" + + // AudioCodecEac3 is a AudioCodec enum value + AudioCodecEac3 = "EAC3" + + // AudioCodecPassthrough is a AudioCodec enum value + AudioCodecPassthrough = "PASSTHROUGH" +) + +// When an "Audio Description":#audio_description specifies an AudioSelector +// or AudioSelectorGroup for which no matching source is found in the input, +// then the audio selector marked as DEFAULT will be used. If none are marked +// as default, silence will be inserted for the duration of the input. +const ( + // AudioDefaultSelectionDefault is a AudioDefaultSelection enum value + AudioDefaultSelectionDefault = "DEFAULT" + + // AudioDefaultSelectionNotDefault is a AudioDefaultSelection enum value + AudioDefaultSelectionNotDefault = "NOT_DEFAULT" +) + +// Choosing FOLLOW_INPUT will cause the ISO 639 language code of the output +// to follow the ISO 639 language code of the input. The language specified +// for languageCode' will be used when USE_CONFIGURED is selected or when FOLLOW_INPUT +// is selected but there is no ISO 639 language code specified by the input. +const ( + // AudioLanguageCodeControlFollowInput is a AudioLanguageCodeControl enum value + AudioLanguageCodeControlFollowInput = "FOLLOW_INPUT" + + // AudioLanguageCodeControlUseConfigured is a AudioLanguageCodeControl enum value + AudioLanguageCodeControlUseConfigured = "USE_CONFIGURED" +) + +// Audio normalization algorithm to use. 1770-1 conforms to the CALM Act specification, +// 1770-2 conforms to the EBU R-128 specification. +const ( + // AudioNormalizationAlgorithmItuBs17701 is a AudioNormalizationAlgorithm enum value + AudioNormalizationAlgorithmItuBs17701 = "ITU_BS_1770_1" + + // AudioNormalizationAlgorithmItuBs17702 is a AudioNormalizationAlgorithm enum value + AudioNormalizationAlgorithmItuBs17702 = "ITU_BS_1770_2" +) + +// When enabled the output audio is corrected using the chosen algorithm. If +// disabled, the audio will be measured but not adjusted. +const ( + // AudioNormalizationAlgorithmControlCorrectAudio is a AudioNormalizationAlgorithmControl enum value + AudioNormalizationAlgorithmControlCorrectAudio = "CORRECT_AUDIO" + + // AudioNormalizationAlgorithmControlMeasureOnly is a AudioNormalizationAlgorithmControl enum value + AudioNormalizationAlgorithmControlMeasureOnly = "MEASURE_ONLY" +) + +// If set to LOG, log each output's audio track loudness to a CSV file. +const ( + // AudioNormalizationLoudnessLoggingLog is a AudioNormalizationLoudnessLogging enum value + AudioNormalizationLoudnessLoggingLog = "LOG" + + // AudioNormalizationLoudnessLoggingDontLog is a AudioNormalizationLoudnessLogging enum value + AudioNormalizationLoudnessLoggingDontLog = "DONT_LOG" +) + +// If set to TRUE_PEAK, calculate and log the TruePeak for each output's audio +// track loudness. +const ( + // AudioNormalizationPeakCalculationTruePeak is a AudioNormalizationPeakCalculation enum value + AudioNormalizationPeakCalculationTruePeak = "TRUE_PEAK" + + // AudioNormalizationPeakCalculationNone is a AudioNormalizationPeakCalculation enum value + AudioNormalizationPeakCalculationNone = "NONE" +) + +// Specifies the type of the audio selector. +const ( + // AudioSelectorTypePid is a AudioSelectorType enum value + AudioSelectorTypePid = "PID" + + // AudioSelectorTypeTrack is a AudioSelectorType enum value + AudioSelectorTypeTrack = "TRACK" + + // AudioSelectorTypeLanguageCode is a AudioSelectorType enum value + AudioSelectorTypeLanguageCode = "LANGUAGE_CODE" +) + +// When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then +// that value is passed through to the output. If the input contains no ISO +// 639 audio_type, the value in Audio Type is included in the output. Otherwise +// the value in Audio Type is included in the output. Note that this field and +// audioType are both ignored if audioDescriptionBroadcasterMix is set to BROADCASTER_MIXED_AD. +const ( + // AudioTypeControlFollowInput is a AudioTypeControl enum value + AudioTypeControlFollowInput = "FOLLOW_INPUT" + + // AudioTypeControlUseConfigured is a AudioTypeControl enum value + AudioTypeControlUseConfigured = "USE_CONFIGURED" +) + +// If no explicit x_position or y_position is provided, setting alignment to +// centered will place the captions at the bottom center of the output. Similarly, +// setting a left alignment will align captions to the bottom left of the output. +// If x and y positions are given in conjunction with the alignment parameter, +// the font will be justified (either left or centered) relative to those coordinates. +// This option is not valid for source captions that are STL, 608/embedded or +// teletext. These source settings are already pre-defined by the caption stream. +// All burn-in and DVB-Sub font settings must match. +const ( + // BurninSubtitleAlignmentCentered is a BurninSubtitleAlignment enum value + BurninSubtitleAlignmentCentered = "CENTERED" + + // BurninSubtitleAlignmentLeft is a BurninSubtitleAlignment enum value + BurninSubtitleAlignmentLeft = "LEFT" +) + +// Specifies the color of the rectangle behind the captions.All burn-in and +// DVB-Sub font settings must match. +const ( + // BurninSubtitleBackgroundColorNone is a BurninSubtitleBackgroundColor enum value + BurninSubtitleBackgroundColorNone = "NONE" + + // BurninSubtitleBackgroundColorBlack is a BurninSubtitleBackgroundColor enum value + BurninSubtitleBackgroundColorBlack = "BLACK" + + // BurninSubtitleBackgroundColorWhite is a BurninSubtitleBackgroundColor enum value + BurninSubtitleBackgroundColorWhite = "WHITE" +) + +// Specifies the color of the burned-in captions. This option is not valid for +// source captions that are STL, 608/embedded or teletext. These source settings +// are already pre-defined by the caption stream. All burn-in and DVB-Sub font +// settings must match. +const ( + // BurninSubtitleFontColorWhite is a BurninSubtitleFontColor enum value + BurninSubtitleFontColorWhite = "WHITE" + + // BurninSubtitleFontColorBlack is a BurninSubtitleFontColor enum value + BurninSubtitleFontColorBlack = "BLACK" + + // BurninSubtitleFontColorYellow is a BurninSubtitleFontColor enum value + BurninSubtitleFontColorYellow = "YELLOW" + + // BurninSubtitleFontColorRed is a BurninSubtitleFontColor enum value + BurninSubtitleFontColorRed = "RED" + + // BurninSubtitleFontColorGreen is a BurninSubtitleFontColor enum value + BurninSubtitleFontColorGreen = "GREEN" + + // BurninSubtitleFontColorBlue is a BurninSubtitleFontColor enum value + BurninSubtitleFontColorBlue = "BLUE" +) + +// Specifies font outline color. This option is not valid for source captions +// that are either 608/embedded or teletext. These source settings are already +// pre-defined by the caption stream. All burn-in and DVB-Sub font settings +// must match. +const ( + // BurninSubtitleOutlineColorBlack is a BurninSubtitleOutlineColor enum value + BurninSubtitleOutlineColorBlack = "BLACK" + + // BurninSubtitleOutlineColorWhite is a BurninSubtitleOutlineColor enum value + BurninSubtitleOutlineColorWhite = "WHITE" + + // BurninSubtitleOutlineColorYellow is a BurninSubtitleOutlineColor enum value + BurninSubtitleOutlineColorYellow = "YELLOW" + + // BurninSubtitleOutlineColorRed is a BurninSubtitleOutlineColor enum value + BurninSubtitleOutlineColorRed = "RED" + + // BurninSubtitleOutlineColorGreen is a BurninSubtitleOutlineColor enum value + BurninSubtitleOutlineColorGreen = "GREEN" + + // BurninSubtitleOutlineColorBlue is a BurninSubtitleOutlineColor enum value + BurninSubtitleOutlineColorBlue = "BLUE" +) + +// Specifies the color of the shadow cast by the captions.All burn-in and DVB-Sub +// font settings must match. +const ( + // BurninSubtitleShadowColorNone is a BurninSubtitleShadowColor enum value + BurninSubtitleShadowColorNone = "NONE" + + // BurninSubtitleShadowColorBlack is a BurninSubtitleShadowColor enum value + BurninSubtitleShadowColorBlack = "BLACK" + + // BurninSubtitleShadowColorWhite is a BurninSubtitleShadowColor enum value + BurninSubtitleShadowColorWhite = "WHITE" +) + +// Controls whether a fixed grid size or proportional font spacing will be used +// to generate the output subtitles bitmap. Only applicable for Teletext inputs +// and DVB-Sub/Burn-in outputs. +const ( + // BurninSubtitleTeletextSpacingFixedGrid is a BurninSubtitleTeletextSpacing enum value + BurninSubtitleTeletextSpacingFixedGrid = "FIXED_GRID" + + // BurninSubtitleTeletextSpacingProportional is a BurninSubtitleTeletextSpacing enum value + BurninSubtitleTeletextSpacingProportional = "PROPORTIONAL" +) + +const ( + // CaptionDestinationTypeBurnIn is a CaptionDestinationType enum value + CaptionDestinationTypeBurnIn = "BURN_IN" + + // CaptionDestinationTypeDvbSub is a CaptionDestinationType enum value + CaptionDestinationTypeDvbSub = "DVB_SUB" + + // CaptionDestinationTypeEmbedded is a CaptionDestinationType enum value + CaptionDestinationTypeEmbedded = "EMBEDDED" + + // CaptionDestinationTypeScc is a CaptionDestinationType enum value + CaptionDestinationTypeScc = "SCC" + + // CaptionDestinationTypeSrt is a CaptionDestinationType enum value + CaptionDestinationTypeSrt = "SRT" + + // CaptionDestinationTypeTeletext is a CaptionDestinationType enum value + CaptionDestinationTypeTeletext = "TELETEXT" + + // CaptionDestinationTypeTtml is a CaptionDestinationType enum value + CaptionDestinationTypeTtml = "TTML" + + // CaptionDestinationTypeWebvtt is a CaptionDestinationType enum value + CaptionDestinationTypeWebvtt = "WEBVTT" +) + +// Use Source (SourceType) to identify the format of your input captions. The +// service cannot auto-detect caption format. +const ( + // CaptionSourceTypeAncillary is a CaptionSourceType enum value + CaptionSourceTypeAncillary = "ANCILLARY" + + // CaptionSourceTypeDvbSub is a CaptionSourceType enum value + CaptionSourceTypeDvbSub = "DVB_SUB" + + // CaptionSourceTypeEmbedded is a CaptionSourceType enum value + CaptionSourceTypeEmbedded = "EMBEDDED" + + // CaptionSourceTypeScc is a CaptionSourceType enum value + CaptionSourceTypeScc = "SCC" + + // CaptionSourceTypeTtml is a CaptionSourceType enum value + CaptionSourceTypeTtml = "TTML" + + // CaptionSourceTypeStl is a CaptionSourceType enum value + CaptionSourceTypeStl = "STL" + + // CaptionSourceTypeSrt is a CaptionSourceType enum value + CaptionSourceTypeSrt = "SRT" + + // CaptionSourceTypeTeletext is a CaptionSourceType enum value + CaptionSourceTypeTeletext = "TELETEXT" + + // CaptionSourceTypeNullSource is a CaptionSourceType enum value + CaptionSourceTypeNullSource = "NULL_SOURCE" +) + +// Enable Insert color metadata (ColorMetadata) to include color metadata in +// this output. This setting is enabled by default. +const ( + // ColorMetadataIgnore is a ColorMetadata enum value + ColorMetadataIgnore = "IGNORE" + + // ColorMetadataInsert is a ColorMetadata enum value + ColorMetadataInsert = "INSERT" +) + +// Specifies the colorspace of an input. This setting works in tandem with "Color +// Corrector":#color_corrector > color_space_conversion to determine if any +// conversion will be performed. +const ( + // ColorSpaceFollow is a ColorSpace enum value + ColorSpaceFollow = "FOLLOW" + + // ColorSpaceRec601 is a ColorSpace enum value + ColorSpaceRec601 = "REC_601" + + // ColorSpaceRec709 is a ColorSpace enum value + ColorSpaceRec709 = "REC_709" + + // ColorSpaceHdr10 is a ColorSpace enum value + ColorSpaceHdr10 = "HDR10" + + // ColorSpaceHlg2020 is a ColorSpace enum value + ColorSpaceHlg2020 = "HLG_2020" +) + +// Determines if colorspace conversion will be performed. If set to _None_, +// no conversion will be performed. If _Force 601_ or _Force 709_ are selected, +// conversion will be performed for inputs with differing colorspaces. An input's +// colorspace can be specified explicitly in the "Video Selector":#inputs-video_selector +// if necessary. +const ( + // ColorSpaceConversionNone is a ColorSpaceConversion enum value + ColorSpaceConversionNone = "NONE" + + // ColorSpaceConversionForce601 is a ColorSpaceConversion enum value + ColorSpaceConversionForce601 = "FORCE_601" + + // ColorSpaceConversionForce709 is a ColorSpaceConversion enum value + ColorSpaceConversionForce709 = "FORCE_709" + + // ColorSpaceConversionForceHdr10 is a ColorSpaceConversion enum value + ColorSpaceConversionForceHdr10 = "FORCE_HDR10" + + // ColorSpaceConversionForceHlg2020 is a ColorSpaceConversion enum value + ColorSpaceConversionForceHlg2020 = "FORCE_HLG_2020" +) + +// There are two sources for color metadata, the input file and the job configuration. +// This enum controls which takes precedence. FORCE: System will use color metadata +// supplied by user, if any. If the user does not supply color metadata the +// system will use data from the source. FALLBACK: System will use color metadata +// from the source. If source has no color metadata, the system will use user-supplied +// color metadata values if available. +const ( + // ColorSpaceUsageForce is a ColorSpaceUsage enum value + ColorSpaceUsageForce = "FORCE" + + // ColorSpaceUsageFallback is a ColorSpaceUsage enum value + ColorSpaceUsageFallback = "FALLBACK" +) + +// Container for this output. Some containers require a container settings object. +// If not specified, the default object will be created. +const ( + // ContainerTypeF4v is a ContainerType enum value + ContainerTypeF4v = "F4V" + + // ContainerTypeIsmv is a ContainerType enum value + ContainerTypeIsmv = "ISMV" + + // ContainerTypeM2ts is a ContainerType enum value + ContainerTypeM2ts = "M2TS" + + // ContainerTypeM3u8 is a ContainerType enum value + ContainerTypeM3u8 = "M3U8" + + // ContainerTypeMov is a ContainerType enum value + ContainerTypeMov = "MOV" + + // ContainerTypeMp4 is a ContainerType enum value + ContainerTypeMp4 = "MP4" + + // ContainerTypeMpd is a ContainerType enum value + ContainerTypeMpd = "MPD" + + // ContainerTypeMxf is a ContainerType enum value + ContainerTypeMxf = "MXF" + + // ContainerTypeRaw is a ContainerType enum value + ContainerTypeRaw = "RAW" +) + +// Supports HbbTV specification as indicated +const ( + // DashIsoHbbtvComplianceHbbtv15 is a DashIsoHbbtvCompliance enum value + DashIsoHbbtvComplianceHbbtv15 = "HBBTV_1_5" + + // DashIsoHbbtvComplianceNone is a DashIsoHbbtvCompliance enum value + DashIsoHbbtvComplianceNone = "NONE" +) + +// When set to SINGLE_FILE, a single output file is generated, which is internally +// segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, +// separate segment files will be created. +const ( + // DashIsoSegmentControlSingleFile is a DashIsoSegmentControl enum value + DashIsoSegmentControlSingleFile = "SINGLE_FILE" + + // DashIsoSegmentControlSegmentedFiles is a DashIsoSegmentControl enum value + DashIsoSegmentControlSegmentedFiles = "SEGMENTED_FILES" +) + +// Only applies when you set Deinterlacer (DeinterlaceMode) to Deinterlace (DEINTERLACE) +// or Adaptive (ADAPTIVE). Motion adaptive interpolate (INTERPOLATE) produces +// sharper pictures, while blend (BLEND) produces smoother motion. Use (INTERPOLATE_TICKER) +// OR (BLEND_TICKER) if your source file includes a ticker, such as a scrolling +// headline at the bottom of the frame. +const ( + // DeinterlaceAlgorithmInterpolate is a DeinterlaceAlgorithm enum value + DeinterlaceAlgorithmInterpolate = "INTERPOLATE" + + // DeinterlaceAlgorithmInterpolateTicker is a DeinterlaceAlgorithm enum value + DeinterlaceAlgorithmInterpolateTicker = "INTERPOLATE_TICKER" + + // DeinterlaceAlgorithmBlend is a DeinterlaceAlgorithm enum value + DeinterlaceAlgorithmBlend = "BLEND" + + // DeinterlaceAlgorithmBlendTicker is a DeinterlaceAlgorithm enum value + DeinterlaceAlgorithmBlendTicker = "BLEND_TICKER" +) + +// - When set to NORMAL (default), the deinterlacer does not convert frames +// that are tagged in metadata as progressive. It will only convert those that +// are tagged as some other type. - When set to FORCE_ALL_FRAMES, the deinterlacer +// converts every frame to progressive - even those that are already tagged +// as progressive. Turn Force mode on only if there is a good chance that the +// metadata has tagged frames as progressive when they are not progressive. +// Do not turn on otherwise; processing frames that are already progressive +// into progressive will probably result in lower quality video. +const ( + // DeinterlacerControlForceAllFrames is a DeinterlacerControl enum value + DeinterlacerControlForceAllFrames = "FORCE_ALL_FRAMES" + + // DeinterlacerControlNormal is a DeinterlacerControl enum value + DeinterlacerControlNormal = "NORMAL" +) + +// Use Deinterlacer (DeinterlaceMode) to choose how the service will do deinterlacing. +// Default is Deinterlace. - Deinterlace converts interlaced to progressive. +// - Inverse telecine converts Hard Telecine 29.97i to progressive 23.976p. +// - Adaptive auto-detects and converts to progressive. +const ( + // DeinterlacerModeDeinterlace is a DeinterlacerMode enum value + DeinterlacerModeDeinterlace = "DEINTERLACE" + + // DeinterlacerModeInverseTelecine is a DeinterlacerMode enum value + DeinterlacerModeInverseTelecine = "INVERSE_TELECINE" + + // DeinterlacerModeAdaptive is a DeinterlacerMode enum value + DeinterlacerModeAdaptive = "ADAPTIVE" +) + +// Applies only to 29.97 fps outputs. When this feature is enabled, the service +// will use drop-frame timecode on outputs. If it is not possible to use drop-frame +// timecode, the system will fall back to non-drop-frame. This setting is enabled +// by default when Timecode insertion (TimecodeInsertion) is enabled. +const ( + // DropFrameTimecodeDisabled is a DropFrameTimecode enum value + DropFrameTimecodeDisabled = "DISABLED" + + // DropFrameTimecodeEnabled is a DropFrameTimecode enum value + DropFrameTimecodeEnabled = "ENABLED" +) + +// If no explicit x_position or y_position is provided, setting alignment to +// centered will place the captions at the bottom center of the output. Similarly, +// setting a left alignment will align captions to the bottom left of the output. +// If x and y positions are given in conjunction with the alignment parameter, +// the font will be justified (either left or centered) relative to those coordinates. +// This option is not valid for source captions that are STL, 608/embedded or +// teletext. These source settings are already pre-defined by the caption stream. +// All burn-in and DVB-Sub font settings must match. +const ( + // DvbSubtitleAlignmentCentered is a DvbSubtitleAlignment enum value + DvbSubtitleAlignmentCentered = "CENTERED" + + // DvbSubtitleAlignmentLeft is a DvbSubtitleAlignment enum value + DvbSubtitleAlignmentLeft = "LEFT" +) + +// Specifies the color of the rectangle behind the captions.All burn-in and +// DVB-Sub font settings must match. +const ( + // DvbSubtitleBackgroundColorNone is a DvbSubtitleBackgroundColor enum value + DvbSubtitleBackgroundColorNone = "NONE" + + // DvbSubtitleBackgroundColorBlack is a DvbSubtitleBackgroundColor enum value + DvbSubtitleBackgroundColorBlack = "BLACK" + + // DvbSubtitleBackgroundColorWhite is a DvbSubtitleBackgroundColor enum value + DvbSubtitleBackgroundColorWhite = "WHITE" +) + +// Specifies the color of the burned-in captions. This option is not valid for +// source captions that are STL, 608/embedded or teletext. These source settings +// are already pre-defined by the caption stream. All burn-in and DVB-Sub font +// settings must match. +const ( + // DvbSubtitleFontColorWhite is a DvbSubtitleFontColor enum value + DvbSubtitleFontColorWhite = "WHITE" + + // DvbSubtitleFontColorBlack is a DvbSubtitleFontColor enum value + DvbSubtitleFontColorBlack = "BLACK" + + // DvbSubtitleFontColorYellow is a DvbSubtitleFontColor enum value + DvbSubtitleFontColorYellow = "YELLOW" + + // DvbSubtitleFontColorRed is a DvbSubtitleFontColor enum value + DvbSubtitleFontColorRed = "RED" + + // DvbSubtitleFontColorGreen is a DvbSubtitleFontColor enum value + DvbSubtitleFontColorGreen = "GREEN" + + // DvbSubtitleFontColorBlue is a DvbSubtitleFontColor enum value + DvbSubtitleFontColorBlue = "BLUE" +) + +// Specifies font outline color. This option is not valid for source captions +// that are either 608/embedded or teletext. These source settings are already +// pre-defined by the caption stream. All burn-in and DVB-Sub font settings +// must match. +const ( + // DvbSubtitleOutlineColorBlack is a DvbSubtitleOutlineColor enum value + DvbSubtitleOutlineColorBlack = "BLACK" + + // DvbSubtitleOutlineColorWhite is a DvbSubtitleOutlineColor enum value + DvbSubtitleOutlineColorWhite = "WHITE" + + // DvbSubtitleOutlineColorYellow is a DvbSubtitleOutlineColor enum value + DvbSubtitleOutlineColorYellow = "YELLOW" + + // DvbSubtitleOutlineColorRed is a DvbSubtitleOutlineColor enum value + DvbSubtitleOutlineColorRed = "RED" + + // DvbSubtitleOutlineColorGreen is a DvbSubtitleOutlineColor enum value + DvbSubtitleOutlineColorGreen = "GREEN" + + // DvbSubtitleOutlineColorBlue is a DvbSubtitleOutlineColor enum value + DvbSubtitleOutlineColorBlue = "BLUE" +) + +// Specifies the color of the shadow cast by the captions.All burn-in and DVB-Sub +// font settings must match. +const ( + // DvbSubtitleShadowColorNone is a DvbSubtitleShadowColor enum value + DvbSubtitleShadowColorNone = "NONE" + + // DvbSubtitleShadowColorBlack is a DvbSubtitleShadowColor enum value + DvbSubtitleShadowColorBlack = "BLACK" + + // DvbSubtitleShadowColorWhite is a DvbSubtitleShadowColor enum value + DvbSubtitleShadowColorWhite = "WHITE" +) + +// Controls whether a fixed grid size or proportional font spacing will be used +// to generate the output subtitles bitmap. Only applicable for Teletext inputs +// and DVB-Sub/Burn-in outputs. +const ( + // DvbSubtitleTeletextSpacingFixedGrid is a DvbSubtitleTeletextSpacing enum value + DvbSubtitleTeletextSpacingFixedGrid = "FIXED_GRID" + + // DvbSubtitleTeletextSpacingProportional is a DvbSubtitleTeletextSpacing enum value + DvbSubtitleTeletextSpacingProportional = "PROPORTIONAL" +) + +// If set to ATTENUATE_3_DB, applies a 3 dB attenuation to the surround channels. +// Only used for 3/2 coding mode. +const ( + // Eac3AttenuationControlAttenuate3Db is a Eac3AttenuationControl enum value + Eac3AttenuationControlAttenuate3Db = "ATTENUATE_3_DB" + + // Eac3AttenuationControlNone is a Eac3AttenuationControl enum value + Eac3AttenuationControlNone = "NONE" +) + +// Specifies the "Bitstream Mode" (bsmod) for the emitted E-AC-3 stream. See +// ATSC A/52-2012 (Annex E) for background on these values. +const ( + // Eac3BitstreamModeCompleteMain is a Eac3BitstreamMode enum value + Eac3BitstreamModeCompleteMain = "COMPLETE_MAIN" + + // Eac3BitstreamModeCommentary is a Eac3BitstreamMode enum value + Eac3BitstreamModeCommentary = "COMMENTARY" + + // Eac3BitstreamModeEmergency is a Eac3BitstreamMode enum value + Eac3BitstreamModeEmergency = "EMERGENCY" + + // Eac3BitstreamModeHearingImpaired is a Eac3BitstreamMode enum value + Eac3BitstreamModeHearingImpaired = "HEARING_IMPAIRED" + + // Eac3BitstreamModeVisuallyImpaired is a Eac3BitstreamMode enum value + Eac3BitstreamModeVisuallyImpaired = "VISUALLY_IMPAIRED" +) + +// Dolby Digital Plus coding mode. Determines number of channels. +const ( + // Eac3CodingModeCodingMode10 is a Eac3CodingMode enum value + Eac3CodingModeCodingMode10 = "CODING_MODE_1_0" + + // Eac3CodingModeCodingMode20 is a Eac3CodingMode enum value + Eac3CodingModeCodingMode20 = "CODING_MODE_2_0" + + // Eac3CodingModeCodingMode32 is a Eac3CodingMode enum value + Eac3CodingModeCodingMode32 = "CODING_MODE_3_2" +) + +// Activates a DC highpass filter for all input channels. +const ( + // Eac3DcFilterEnabled is a Eac3DcFilter enum value + Eac3DcFilterEnabled = "ENABLED" + + // Eac3DcFilterDisabled is a Eac3DcFilter enum value + Eac3DcFilterDisabled = "DISABLED" +) + +// Enables Dynamic Range Compression that restricts the absolute peak level +// for a signal. +const ( + // Eac3DynamicRangeCompressionLineNone is a Eac3DynamicRangeCompressionLine enum value + Eac3DynamicRangeCompressionLineNone = "NONE" + + // Eac3DynamicRangeCompressionLineFilmStandard is a Eac3DynamicRangeCompressionLine enum value + Eac3DynamicRangeCompressionLineFilmStandard = "FILM_STANDARD" + + // Eac3DynamicRangeCompressionLineFilmLight is a Eac3DynamicRangeCompressionLine enum value + Eac3DynamicRangeCompressionLineFilmLight = "FILM_LIGHT" + + // Eac3DynamicRangeCompressionLineMusicStandard is a Eac3DynamicRangeCompressionLine enum value + Eac3DynamicRangeCompressionLineMusicStandard = "MUSIC_STANDARD" + + // Eac3DynamicRangeCompressionLineMusicLight is a Eac3DynamicRangeCompressionLine enum value + Eac3DynamicRangeCompressionLineMusicLight = "MUSIC_LIGHT" + + // Eac3DynamicRangeCompressionLineSpeech is a Eac3DynamicRangeCompressionLine enum value + Eac3DynamicRangeCompressionLineSpeech = "SPEECH" +) + +// Enables Heavy Dynamic Range Compression, ensures that the instantaneous signal +// peaks do not exceed specified levels. +const ( + // Eac3DynamicRangeCompressionRfNone is a Eac3DynamicRangeCompressionRf enum value + Eac3DynamicRangeCompressionRfNone = "NONE" + + // Eac3DynamicRangeCompressionRfFilmStandard is a Eac3DynamicRangeCompressionRf enum value + Eac3DynamicRangeCompressionRfFilmStandard = "FILM_STANDARD" + + // Eac3DynamicRangeCompressionRfFilmLight is a Eac3DynamicRangeCompressionRf enum value + Eac3DynamicRangeCompressionRfFilmLight = "FILM_LIGHT" + + // Eac3DynamicRangeCompressionRfMusicStandard is a Eac3DynamicRangeCompressionRf enum value + Eac3DynamicRangeCompressionRfMusicStandard = "MUSIC_STANDARD" + + // Eac3DynamicRangeCompressionRfMusicLight is a Eac3DynamicRangeCompressionRf enum value + Eac3DynamicRangeCompressionRfMusicLight = "MUSIC_LIGHT" + + // Eac3DynamicRangeCompressionRfSpeech is a Eac3DynamicRangeCompressionRf enum value + Eac3DynamicRangeCompressionRfSpeech = "SPEECH" +) + +// When encoding 3/2 audio, controls whether the LFE channel is enabled +const ( + // Eac3LfeControlLfe is a Eac3LfeControl enum value + Eac3LfeControlLfe = "LFE" + + // Eac3LfeControlNoLfe is a Eac3LfeControl enum value + Eac3LfeControlNoLfe = "NO_LFE" +) + +// Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only +// valid with 3_2_LFE coding mode. +const ( + // Eac3LfeFilterEnabled is a Eac3LfeFilter enum value + Eac3LfeFilterEnabled = "ENABLED" + + // Eac3LfeFilterDisabled is a Eac3LfeFilter enum value + Eac3LfeFilterDisabled = "DISABLED" +) + +// When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, +// or DolbyE decoder that supplied this audio data. If audio was not supplied +// from one of these streams, then the static metadata settings will be used. +const ( + // Eac3MetadataControlFollowInput is a Eac3MetadataControl enum value + Eac3MetadataControlFollowInput = "FOLLOW_INPUT" + + // Eac3MetadataControlUseConfigured is a Eac3MetadataControl enum value + Eac3MetadataControlUseConfigured = "USE_CONFIGURED" +) + +// When set to WHEN_POSSIBLE, input DD+ audio will be passed through if it is +// present on the input. this detection is dynamic over the life of the transcode. +// Inputs that alternate between DD+ and non-DD+ content will have a consistent +// DD+ output as the system alternates between passthrough and encoding. +const ( + // Eac3PassthroughControlWhenPossible is a Eac3PassthroughControl enum value + Eac3PassthroughControlWhenPossible = "WHEN_POSSIBLE" + + // Eac3PassthroughControlNoPassthrough is a Eac3PassthroughControl enum value + Eac3PassthroughControlNoPassthrough = "NO_PASSTHROUGH" +) + +// Controls the amount of phase-shift applied to the surround channels. Only +// used for 3/2 coding mode. +const ( + // Eac3PhaseControlShift90Degrees is a Eac3PhaseControl enum value + Eac3PhaseControlShift90Degrees = "SHIFT_90_DEGREES" + + // Eac3PhaseControlNoShift is a Eac3PhaseControl enum value + Eac3PhaseControlNoShift = "NO_SHIFT" +) + +// Stereo downmix preference. Only used for 3/2 coding mode. +const ( + // Eac3StereoDownmixNotIndicated is a Eac3StereoDownmix enum value + Eac3StereoDownmixNotIndicated = "NOT_INDICATED" + + // Eac3StereoDownmixLoRo is a Eac3StereoDownmix enum value + Eac3StereoDownmixLoRo = "LO_RO" + + // Eac3StereoDownmixLtRt is a Eac3StereoDownmix enum value + Eac3StereoDownmixLtRt = "LT_RT" + + // Eac3StereoDownmixDpl2 is a Eac3StereoDownmix enum value + Eac3StereoDownmixDpl2 = "DPL2" +) + +// When encoding 3/2 audio, sets whether an extra center back surround channel +// is matrix encoded into the left and right surround channels. +const ( + // Eac3SurroundExModeNotIndicated is a Eac3SurroundExMode enum value + Eac3SurroundExModeNotIndicated = "NOT_INDICATED" + + // Eac3SurroundExModeEnabled is a Eac3SurroundExMode enum value + Eac3SurroundExModeEnabled = "ENABLED" + + // Eac3SurroundExModeDisabled is a Eac3SurroundExMode enum value + Eac3SurroundExModeDisabled = "DISABLED" +) + +// When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into +// the two channels. +const ( + // Eac3SurroundModeNotIndicated is a Eac3SurroundMode enum value + Eac3SurroundModeNotIndicated = "NOT_INDICATED" + + // Eac3SurroundModeEnabled is a Eac3SurroundMode enum value + Eac3SurroundModeEnabled = "ENABLED" + + // Eac3SurroundModeDisabled is a Eac3SurroundMode enum value + Eac3SurroundModeDisabled = "DISABLED" +) + +// When set to UPCONVERT, 608 data is both passed through via the "608 compatibility +// bytes" fields of the 708 wrapper as well as translated into 708. 708 data +// present in the source content will be discarded. +const ( + // EmbeddedConvert608To708Upconvert is a EmbeddedConvert608To708 enum value + EmbeddedConvert608To708Upconvert = "UPCONVERT" + + // EmbeddedConvert608To708Disabled is a EmbeddedConvert608To708 enum value + EmbeddedConvert608To708Disabled = "DISABLED" +) + +// If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning +// of the archive as required for progressive downloading. Otherwise it is placed +// normally at the end. +const ( + // F4vMoovPlacementProgressiveDownload is a F4vMoovPlacement enum value + F4vMoovPlacementProgressiveDownload = "PROGRESSIVE_DOWNLOAD" + + // F4vMoovPlacementNormal is a F4vMoovPlacement enum value + F4vMoovPlacementNormal = "NORMAL" +) + +// If set to UPCONVERT, 608 caption data is both passed through via the "608 +// compatibility bytes" fields of the 708 wrapper as well as translated into +// 708. 708 data present in the source content will be discarded. +const ( + // FileSourceConvert608To708Upconvert is a FileSourceConvert608To708 enum value + FileSourceConvert608To708Upconvert = "UPCONVERT" + + // FileSourceConvert608To708Disabled is a FileSourceConvert608To708 enum value + FileSourceConvert608To708Disabled = "DISABLED" +) + +// Adaptive quantization. Allows intra-frame quantizers to vary to improve visual +// quality. +const ( + // H264AdaptiveQuantizationOff is a H264AdaptiveQuantization enum value + H264AdaptiveQuantizationOff = "OFF" + + // H264AdaptiveQuantizationLow is a H264AdaptiveQuantization enum value + H264AdaptiveQuantizationLow = "LOW" + + // H264AdaptiveQuantizationMedium is a H264AdaptiveQuantization enum value + H264AdaptiveQuantizationMedium = "MEDIUM" + + // H264AdaptiveQuantizationHigh is a H264AdaptiveQuantization enum value + H264AdaptiveQuantizationHigh = "HIGH" + + // H264AdaptiveQuantizationHigher is a H264AdaptiveQuantization enum value + H264AdaptiveQuantizationHigher = "HIGHER" + + // H264AdaptiveQuantizationMax is a H264AdaptiveQuantization enum value + H264AdaptiveQuantizationMax = "MAX" +) + +// H.264 Level. +const ( + // H264CodecLevelAuto is a H264CodecLevel enum value + H264CodecLevelAuto = "AUTO" + + // H264CodecLevelLevel1 is a H264CodecLevel enum value + H264CodecLevelLevel1 = "LEVEL_1" + + // H264CodecLevelLevel11 is a H264CodecLevel enum value + H264CodecLevelLevel11 = "LEVEL_1_1" + + // H264CodecLevelLevel12 is a H264CodecLevel enum value + H264CodecLevelLevel12 = "LEVEL_1_2" + + // H264CodecLevelLevel13 is a H264CodecLevel enum value + H264CodecLevelLevel13 = "LEVEL_1_3" + + // H264CodecLevelLevel2 is a H264CodecLevel enum value + H264CodecLevelLevel2 = "LEVEL_2" + + // H264CodecLevelLevel21 is a H264CodecLevel enum value + H264CodecLevelLevel21 = "LEVEL_2_1" + + // H264CodecLevelLevel22 is a H264CodecLevel enum value + H264CodecLevelLevel22 = "LEVEL_2_2" + + // H264CodecLevelLevel3 is a H264CodecLevel enum value + H264CodecLevelLevel3 = "LEVEL_3" + + // H264CodecLevelLevel31 is a H264CodecLevel enum value + H264CodecLevelLevel31 = "LEVEL_3_1" + + // H264CodecLevelLevel32 is a H264CodecLevel enum value + H264CodecLevelLevel32 = "LEVEL_3_2" + + // H264CodecLevelLevel4 is a H264CodecLevel enum value + H264CodecLevelLevel4 = "LEVEL_4" + + // H264CodecLevelLevel41 is a H264CodecLevel enum value + H264CodecLevelLevel41 = "LEVEL_4_1" + + // H264CodecLevelLevel42 is a H264CodecLevel enum value + H264CodecLevelLevel42 = "LEVEL_4_2" + + // H264CodecLevelLevel5 is a H264CodecLevel enum value + H264CodecLevelLevel5 = "LEVEL_5" + + // H264CodecLevelLevel51 is a H264CodecLevel enum value + H264CodecLevelLevel51 = "LEVEL_5_1" + + // H264CodecLevelLevel52 is a H264CodecLevel enum value + H264CodecLevelLevel52 = "LEVEL_5_2" +) + +// H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the +// AVC-I License. +const ( + // H264CodecProfileBaseline is a H264CodecProfile enum value + H264CodecProfileBaseline = "BASELINE" + + // H264CodecProfileHigh is a H264CodecProfile enum value + H264CodecProfileHigh = "HIGH" + + // H264CodecProfileHigh10bit is a H264CodecProfile enum value + H264CodecProfileHigh10bit = "HIGH_10BIT" + + // H264CodecProfileHigh422 is a H264CodecProfile enum value + H264CodecProfileHigh422 = "HIGH_422" + + // H264CodecProfileHigh42210bit is a H264CodecProfile enum value + H264CodecProfileHigh42210bit = "HIGH_422_10BIT" + + // H264CodecProfileMain is a H264CodecProfile enum value + H264CodecProfileMain = "MAIN" +) + +// Entropy encoding mode. Use CABAC (must be in Main or High profile) or CAVLC. +const ( + // H264EntropyEncodingCabac is a H264EntropyEncoding enum value + H264EntropyEncodingCabac = "CABAC" + + // H264EntropyEncodingCavlc is a H264EntropyEncoding enum value + H264EntropyEncodingCavlc = "CAVLC" +) + +// Choosing FORCE_FIELD disables PAFF encoding for interlaced outputs. +const ( + // H264FieldEncodingPaff is a H264FieldEncoding enum value + H264FieldEncodingPaff = "PAFF" + + // H264FieldEncodingForceField is a H264FieldEncoding enum value + H264FieldEncodingForceField = "FORCE_FIELD" +) + +// Adjust quantization within each frame to reduce flicker or 'pop' on I-frames. +const ( + // H264FlickerAdaptiveQuantizationDisabled is a H264FlickerAdaptiveQuantization enum value + H264FlickerAdaptiveQuantizationDisabled = "DISABLED" + + // H264FlickerAdaptiveQuantizationEnabled is a H264FlickerAdaptiveQuantization enum value + H264FlickerAdaptiveQuantizationEnabled = "ENABLED" +) + +// Using the API, set FramerateControl to INITIALIZE_FROM_SOURCE if you want +// the service to use the framerate from the input. Using the console, do this +// by choosing INITIALIZE_FROM_SOURCE for Framerate. +const ( + // H264FramerateControlInitializeFromSource is a H264FramerateControl enum value + H264FramerateControlInitializeFromSource = "INITIALIZE_FROM_SOURCE" + + // H264FramerateControlSpecified is a H264FramerateControl enum value + H264FramerateControlSpecified = "SPECIFIED" +) + +// When set to INTERPOLATE, produces smoother motion during framerate conversion. +const ( + // H264FramerateConversionAlgorithmDuplicateDrop is a H264FramerateConversionAlgorithm enum value + H264FramerateConversionAlgorithmDuplicateDrop = "DUPLICATE_DROP" + + // H264FramerateConversionAlgorithmInterpolate is a H264FramerateConversionAlgorithm enum value + H264FramerateConversionAlgorithmInterpolate = "INTERPOLATE" +) + +// If enable, use reference B frames for GOP structures that have B frames > +// 1. +const ( + // H264GopBReferenceDisabled is a H264GopBReference enum value + H264GopBReferenceDisabled = "DISABLED" + + // H264GopBReferenceEnabled is a H264GopBReference enum value + H264GopBReferenceEnabled = "ENABLED" +) + +// Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds +// the system will convert the GOP Size into a frame count at run time. +const ( + // H264GopSizeUnitsFrames is a H264GopSizeUnits enum value + H264GopSizeUnitsFrames = "FRAMES" + + // H264GopSizeUnitsSeconds is a H264GopSizeUnits enum value + H264GopSizeUnitsSeconds = "SECONDS" +) + +// Use Interlace mode (InterlaceMode) to choose the scan line type for the output. +// * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce +// interlaced output with the entire output having the same field polarity (top +// or bottom first). * Follow, Default Top (FOLLOw_TOP_FIELD) and Follow, Default +// Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, +// behavior depends on the input scan type. - If the source is interlaced, the +// output will be interlaced with the same polarity as the source (it will follow +// the source). The output could therefore be a mix of "top field first" and +// "bottom field first". - If the source is progressive, the output will be +// interlaced with "top field first" or "bottom field first" polarity, depending +// on which of the Follow options you chose. +const ( + // H264InterlaceModeProgressive is a H264InterlaceMode enum value + H264InterlaceModeProgressive = "PROGRESSIVE" + + // H264InterlaceModeTopField is a H264InterlaceMode enum value + H264InterlaceModeTopField = "TOP_FIELD" + + // H264InterlaceModeBottomField is a H264InterlaceMode enum value + H264InterlaceModeBottomField = "BOTTOM_FIELD" + + // H264InterlaceModeFollowTopField is a H264InterlaceMode enum value + H264InterlaceModeFollowTopField = "FOLLOW_TOP_FIELD" + + // H264InterlaceModeFollowBottomField is a H264InterlaceMode enum value + H264InterlaceModeFollowBottomField = "FOLLOW_BOTTOM_FIELD" +) + +// Using the API, enable ParFollowSource if you want the service to use the +// pixel aspect ratio from the input. Using the console, do this by choosing +// Follow source for Pixel aspect ratio. +const ( + // H264ParControlInitializeFromSource is a H264ParControl enum value + H264ParControlInitializeFromSource = "INITIALIZE_FROM_SOURCE" + + // H264ParControlSpecified is a H264ParControl enum value + H264ParControlSpecified = "SPECIFIED" +) + +// Use Quality tuning level (H264QualityTuningLevel) to specifiy whether to +// use fast single-pass, high-quality singlepass, or high-quality multipass +// video encoding. +const ( + // H264QualityTuningLevelSinglePass is a H264QualityTuningLevel enum value + H264QualityTuningLevelSinglePass = "SINGLE_PASS" + + // H264QualityTuningLevelSinglePassHq is a H264QualityTuningLevel enum value + H264QualityTuningLevelSinglePassHq = "SINGLE_PASS_HQ" + + // H264QualityTuningLevelMultiPassHq is a H264QualityTuningLevel enum value + H264QualityTuningLevelMultiPassHq = "MULTI_PASS_HQ" +) + +// Rate control mode. CQ uses constant quantizer (qp), ABR (average bitrate) +// does not write HRD parameters. +const ( + // H264RateControlModeVbr is a H264RateControlMode enum value + H264RateControlModeVbr = "VBR" + + // H264RateControlModeCbr is a H264RateControlMode enum value + H264RateControlModeCbr = "CBR" +) + +// Places a PPS header on each encoded picture, even if repeated. +const ( + // H264RepeatPpsDisabled is a H264RepeatPps enum value + H264RepeatPpsDisabled = "DISABLED" + + // H264RepeatPpsEnabled is a H264RepeatPps enum value + H264RepeatPpsEnabled = "ENABLED" +) + +// Scene change detection (inserts I-frames on scene changes). +const ( + // H264SceneChangeDetectDisabled is a H264SceneChangeDetect enum value + H264SceneChangeDetectDisabled = "DISABLED" + + // H264SceneChangeDetectEnabled is a H264SceneChangeDetect enum value + H264SceneChangeDetectEnabled = "ENABLED" +) + +// Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled +// as 25fps, and audio is sped up correspondingly. +const ( + // H264SlowPalDisabled is a H264SlowPal enum value + H264SlowPalDisabled = "DISABLED" + + // H264SlowPalEnabled is a H264SlowPal enum value + H264SlowPalEnabled = "ENABLED" +) + +// Adjust quantization within each frame based on spatial variation of content +// complexity. +const ( + // H264SpatialAdaptiveQuantizationDisabled is a H264SpatialAdaptiveQuantization enum value + H264SpatialAdaptiveQuantizationDisabled = "DISABLED" + + // H264SpatialAdaptiveQuantizationEnabled is a H264SpatialAdaptiveQuantization enum value + H264SpatialAdaptiveQuantizationEnabled = "ENABLED" +) + +// Produces a bitstream compliant with SMPTE RP-2027. +const ( + // H264SyntaxDefault is a H264Syntax enum value + H264SyntaxDefault = "DEFAULT" + + // H264SyntaxRp2027 is a H264Syntax enum value + H264SyntaxRp2027 = "RP2027" +) + +// This field applies only if the Streams > Advanced > Framerate (framerate) +// field is set to 29.970. This field works with the Streams > Advanced > Preprocessors +// > Deinterlacer field (deinterlace_mode) and the Streams > Advanced > Interlaced +// Mode field (interlace_mode) to identify the scan type for the output: Progressive, +// Interlaced, Hard Telecine or Soft Telecine. - Hard: produces 29.97i output +// from 23.976 input. - Soft: produces 23.976; the player converts this output +// to 29.97i. +const ( + // H264TelecineNone is a H264Telecine enum value + H264TelecineNone = "NONE" + + // H264TelecineSoft is a H264Telecine enum value + H264TelecineSoft = "SOFT" + + // H264TelecineHard is a H264Telecine enum value + H264TelecineHard = "HARD" +) + +// Adjust quantization within each frame based on temporal variation of content +// complexity. +const ( + // H264TemporalAdaptiveQuantizationDisabled is a H264TemporalAdaptiveQuantization enum value + H264TemporalAdaptiveQuantizationDisabled = "DISABLED" + + // H264TemporalAdaptiveQuantizationEnabled is a H264TemporalAdaptiveQuantization enum value + H264TemporalAdaptiveQuantizationEnabled = "ENABLED" +) + +// Inserts timecode for each frame as 4 bytes of an unregistered SEI message. +const ( + // H264UnregisteredSeiTimecodeDisabled is a H264UnregisteredSeiTimecode enum value + H264UnregisteredSeiTimecodeDisabled = "DISABLED" + + // H264UnregisteredSeiTimecodeEnabled is a H264UnregisteredSeiTimecode enum value + H264UnregisteredSeiTimecodeEnabled = "ENABLED" +) + +// Adaptive quantization. Allows intra-frame quantizers to vary to improve visual +// quality. +const ( + // H265AdaptiveQuantizationOff is a H265AdaptiveQuantization enum value + H265AdaptiveQuantizationOff = "OFF" + + // H265AdaptiveQuantizationLow is a H265AdaptiveQuantization enum value + H265AdaptiveQuantizationLow = "LOW" + + // H265AdaptiveQuantizationMedium is a H265AdaptiveQuantization enum value + H265AdaptiveQuantizationMedium = "MEDIUM" + + // H265AdaptiveQuantizationHigh is a H265AdaptiveQuantization enum value + H265AdaptiveQuantizationHigh = "HIGH" + + // H265AdaptiveQuantizationHigher is a H265AdaptiveQuantization enum value + H265AdaptiveQuantizationHigher = "HIGHER" + + // H265AdaptiveQuantizationMax is a H265AdaptiveQuantization enum value + H265AdaptiveQuantizationMax = "MAX" +) + +// Enables Alternate Transfer Function SEI message for outputs using Hybrid +// Log Gamma (HLG) Electro-Optical Transfer Function (EOTF). +const ( + // H265AlternateTransferFunctionSeiDisabled is a H265AlternateTransferFunctionSei enum value + H265AlternateTransferFunctionSeiDisabled = "DISABLED" + + // H265AlternateTransferFunctionSeiEnabled is a H265AlternateTransferFunctionSei enum value + H265AlternateTransferFunctionSeiEnabled = "ENABLED" +) + +// H.265 Level. +const ( + // H265CodecLevelAuto is a H265CodecLevel enum value + H265CodecLevelAuto = "AUTO" + + // H265CodecLevelLevel1 is a H265CodecLevel enum value + H265CodecLevelLevel1 = "LEVEL_1" + + // H265CodecLevelLevel2 is a H265CodecLevel enum value + H265CodecLevelLevel2 = "LEVEL_2" + + // H265CodecLevelLevel21 is a H265CodecLevel enum value + H265CodecLevelLevel21 = "LEVEL_2_1" + + // H265CodecLevelLevel3 is a H265CodecLevel enum value + H265CodecLevelLevel3 = "LEVEL_3" + + // H265CodecLevelLevel31 is a H265CodecLevel enum value + H265CodecLevelLevel31 = "LEVEL_3_1" + + // H265CodecLevelLevel4 is a H265CodecLevel enum value + H265CodecLevelLevel4 = "LEVEL_4" + + // H265CodecLevelLevel41 is a H265CodecLevel enum value + H265CodecLevelLevel41 = "LEVEL_4_1" + + // H265CodecLevelLevel5 is a H265CodecLevel enum value + H265CodecLevelLevel5 = "LEVEL_5" + + // H265CodecLevelLevel51 is a H265CodecLevel enum value + H265CodecLevelLevel51 = "LEVEL_5_1" + + // H265CodecLevelLevel52 is a H265CodecLevel enum value + H265CodecLevelLevel52 = "LEVEL_5_2" + + // H265CodecLevelLevel6 is a H265CodecLevel enum value + H265CodecLevelLevel6 = "LEVEL_6" + + // H265CodecLevelLevel61 is a H265CodecLevel enum value + H265CodecLevelLevel61 = "LEVEL_6_1" + + // H265CodecLevelLevel62 is a H265CodecLevel enum value + H265CodecLevelLevel62 = "LEVEL_6_2" +) + +// Represents the Profile and Tier, per the HEVC (H.265) specification. Selections +// are grouped as [Profile] / [Tier], so "Main/High" represents Main Profile +// with High Tier. 4:2:2 profiles are only available with the HEVC 4:2:2 License. +const ( + // H265CodecProfileMainMain is a H265CodecProfile enum value + H265CodecProfileMainMain = "MAIN_MAIN" + + // H265CodecProfileMainHigh is a H265CodecProfile enum value + H265CodecProfileMainHigh = "MAIN_HIGH" + + // H265CodecProfileMain10Main is a H265CodecProfile enum value + H265CodecProfileMain10Main = "MAIN10_MAIN" + + // H265CodecProfileMain10High is a H265CodecProfile enum value + H265CodecProfileMain10High = "MAIN10_HIGH" + + // H265CodecProfileMain4228bitMain is a H265CodecProfile enum value + H265CodecProfileMain4228bitMain = "MAIN_422_8BIT_MAIN" + + // H265CodecProfileMain4228bitHigh is a H265CodecProfile enum value + H265CodecProfileMain4228bitHigh = "MAIN_422_8BIT_HIGH" + + // H265CodecProfileMain42210bitMain is a H265CodecProfile enum value + H265CodecProfileMain42210bitMain = "MAIN_422_10BIT_MAIN" + + // H265CodecProfileMain42210bitHigh is a H265CodecProfile enum value + H265CodecProfileMain42210bitHigh = "MAIN_422_10BIT_HIGH" +) + +// Adjust quantization within each frame to reduce flicker or 'pop' on I-frames. +const ( + // H265FlickerAdaptiveQuantizationDisabled is a H265FlickerAdaptiveQuantization enum value + H265FlickerAdaptiveQuantizationDisabled = "DISABLED" + + // H265FlickerAdaptiveQuantizationEnabled is a H265FlickerAdaptiveQuantization enum value + H265FlickerAdaptiveQuantizationEnabled = "ENABLED" +) + +// Using the API, set FramerateControl to INITIALIZE_FROM_SOURCE if you want +// the service to use the framerate from the input. Using the console, do this +// by choosing INITIALIZE_FROM_SOURCE for Framerate. +const ( + // H265FramerateControlInitializeFromSource is a H265FramerateControl enum value + H265FramerateControlInitializeFromSource = "INITIALIZE_FROM_SOURCE" + + // H265FramerateControlSpecified is a H265FramerateControl enum value + H265FramerateControlSpecified = "SPECIFIED" +) + +// When set to INTERPOLATE, produces smoother motion during framerate conversion. +const ( + // H265FramerateConversionAlgorithmDuplicateDrop is a H265FramerateConversionAlgorithm enum value + H265FramerateConversionAlgorithmDuplicateDrop = "DUPLICATE_DROP" + + // H265FramerateConversionAlgorithmInterpolate is a H265FramerateConversionAlgorithm enum value + H265FramerateConversionAlgorithmInterpolate = "INTERPOLATE" +) + +// If enable, use reference B frames for GOP structures that have B frames > +// 1. +const ( + // H265GopBReferenceDisabled is a H265GopBReference enum value + H265GopBReferenceDisabled = "DISABLED" + + // H265GopBReferenceEnabled is a H265GopBReference enum value + H265GopBReferenceEnabled = "ENABLED" +) + +// Indicates if the GOP Size in H265 is specified in frames or seconds. If seconds +// the system will convert the GOP Size into a frame count at run time. +const ( + // H265GopSizeUnitsFrames is a H265GopSizeUnits enum value + H265GopSizeUnitsFrames = "FRAMES" + + // H265GopSizeUnitsSeconds is a H265GopSizeUnits enum value + H265GopSizeUnitsSeconds = "SECONDS" +) + +// Use Interlace mode (InterlaceMode) to choose the scan line type for the output. +// * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce +// interlaced output with the entire output having the same field polarity (top +// or bottom first). * Follow, Default Top (FOLLOw_TOP_FIELD) and Follow, Default +// Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, +// behavior depends on the input scan type. - If the source is interlaced, the +// output will be interlaced with the same polarity as the source (it will follow +// the source). The output could therefore be a mix of "top field first" and +// "bottom field first". - If the source is progressive, the output will be +// interlaced with "top field first" or "bottom field first" polarity, depending +// on which of the Follow options you chose. +const ( + // H265InterlaceModeProgressive is a H265InterlaceMode enum value + H265InterlaceModeProgressive = "PROGRESSIVE" + + // H265InterlaceModeTopField is a H265InterlaceMode enum value + H265InterlaceModeTopField = "TOP_FIELD" + + // H265InterlaceModeBottomField is a H265InterlaceMode enum value + H265InterlaceModeBottomField = "BOTTOM_FIELD" + + // H265InterlaceModeFollowTopField is a H265InterlaceMode enum value + H265InterlaceModeFollowTopField = "FOLLOW_TOP_FIELD" + + // H265InterlaceModeFollowBottomField is a H265InterlaceMode enum value + H265InterlaceModeFollowBottomField = "FOLLOW_BOTTOM_FIELD" +) + +// Using the API, enable ParFollowSource if you want the service to use the +// pixel aspect ratio from the input. Using the console, do this by choosing +// Follow source for Pixel aspect ratio. +const ( + // H265ParControlInitializeFromSource is a H265ParControl enum value + H265ParControlInitializeFromSource = "INITIALIZE_FROM_SOURCE" + + // H265ParControlSpecified is a H265ParControl enum value + H265ParControlSpecified = "SPECIFIED" +) + +// Use Quality tuning level (H265QualityTuningLevel) to specifiy whether to +// use fast single-pass, high-quality singlepass, or high-quality multipass +// video encoding. +const ( + // H265QualityTuningLevelSinglePass is a H265QualityTuningLevel enum value + H265QualityTuningLevelSinglePass = "SINGLE_PASS" + + // H265QualityTuningLevelSinglePassHq is a H265QualityTuningLevel enum value + H265QualityTuningLevelSinglePassHq = "SINGLE_PASS_HQ" + + // H265QualityTuningLevelMultiPassHq is a H265QualityTuningLevel enum value + H265QualityTuningLevelMultiPassHq = "MULTI_PASS_HQ" +) + +// Rate control mode. CQ uses constant quantizer (qp), ABR (average bitrate) +// does not write HRD parameters. +const ( + // H265RateControlModeVbr is a H265RateControlMode enum value + H265RateControlModeVbr = "VBR" + + // H265RateControlModeCbr is a H265RateControlMode enum value + H265RateControlModeCbr = "CBR" +) + +// Specify Sample Adaptive Offset (SAO) filter strength. Adaptive mode dynamically +// selects best strength based on content +const ( + // H265SampleAdaptiveOffsetFilterModeDefault is a H265SampleAdaptiveOffsetFilterMode enum value + H265SampleAdaptiveOffsetFilterModeDefault = "DEFAULT" + + // H265SampleAdaptiveOffsetFilterModeAdaptive is a H265SampleAdaptiveOffsetFilterMode enum value + H265SampleAdaptiveOffsetFilterModeAdaptive = "ADAPTIVE" + + // H265SampleAdaptiveOffsetFilterModeOff is a H265SampleAdaptiveOffsetFilterMode enum value + H265SampleAdaptiveOffsetFilterModeOff = "OFF" +) + +// Scene change detection (inserts I-frames on scene changes). +const ( + // H265SceneChangeDetectDisabled is a H265SceneChangeDetect enum value + H265SceneChangeDetectDisabled = "DISABLED" + + // H265SceneChangeDetectEnabled is a H265SceneChangeDetect enum value + H265SceneChangeDetectEnabled = "ENABLED" +) + +// Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled +// as 25fps, and audio is sped up correspondingly. +const ( + // H265SlowPalDisabled is a H265SlowPal enum value + H265SlowPalDisabled = "DISABLED" + + // H265SlowPalEnabled is a H265SlowPal enum value + H265SlowPalEnabled = "ENABLED" +) + +// Adjust quantization within each frame based on spatial variation of content +// complexity. +const ( + // H265SpatialAdaptiveQuantizationDisabled is a H265SpatialAdaptiveQuantization enum value + H265SpatialAdaptiveQuantizationDisabled = "DISABLED" + + // H265SpatialAdaptiveQuantizationEnabled is a H265SpatialAdaptiveQuantization enum value + H265SpatialAdaptiveQuantizationEnabled = "ENABLED" +) + +// This field applies only if the Streams > Advanced > Framerate (framerate) +// field is set to 29.970. This field works with the Streams > Advanced > Preprocessors +// > Deinterlacer field (deinterlace_mode) and the Streams > Advanced > Interlaced +// Mode field (interlace_mode) to identify the scan type for the output: Progressive, +// Interlaced, Hard Telecine or Soft Telecine. - Hard: produces 29.97i output +// from 23.976 input. - Soft: produces 23.976; the player converts this output +// to 29.97i. +const ( + // H265TelecineNone is a H265Telecine enum value + H265TelecineNone = "NONE" + + // H265TelecineSoft is a H265Telecine enum value + H265TelecineSoft = "SOFT" + + // H265TelecineHard is a H265Telecine enum value + H265TelecineHard = "HARD" +) + +// Adjust quantization within each frame based on temporal variation of content +// complexity. +const ( + // H265TemporalAdaptiveQuantizationDisabled is a H265TemporalAdaptiveQuantization enum value + H265TemporalAdaptiveQuantizationDisabled = "DISABLED" + + // H265TemporalAdaptiveQuantizationEnabled is a H265TemporalAdaptiveQuantization enum value + H265TemporalAdaptiveQuantizationEnabled = "ENABLED" +) + +// Enables temporal layer identifiers in the encoded bitstream. Up to 3 layers +// are supported depending on GOP structure: I- and P-frames form one layer, +// reference B-frames can form a second layer and non-reference b-frames can +// form a third layer. Decoders can optionally decode only the lower temporal +// layers to generate a lower frame rate output. For example, given a bitstream +// with temporal IDs and with b-frames = 1 (i.e. IbPbPb display order), a decoder +// could decode all the frames for full frame rate output or only the I and +// P frames (lowest temporal layer) for a half frame rate output. +const ( + // H265TemporalIdsDisabled is a H265TemporalIds enum value + H265TemporalIdsDisabled = "DISABLED" + + // H265TemporalIdsEnabled is a H265TemporalIds enum value + H265TemporalIdsEnabled = "ENABLED" +) + +// Enable use of tiles, allowing horizontal as well as vertical subdivision +// of the encoded pictures. +const ( + // H265TilesDisabled is a H265Tiles enum value + H265TilesDisabled = "DISABLED" + + // H265TilesEnabled is a H265Tiles enum value + H265TilesEnabled = "ENABLED" +) + +// Inserts timecode for each frame as 4 bytes of an unregistered SEI message. +const ( + // H265UnregisteredSeiTimecodeDisabled is a H265UnregisteredSeiTimecode enum value + H265UnregisteredSeiTimecodeDisabled = "DISABLED" + + // H265UnregisteredSeiTimecodeEnabled is a H265UnregisteredSeiTimecode enum value + H265UnregisteredSeiTimecodeEnabled = "ENABLED" +) + +const ( + // HlsAdMarkersElemental is a HlsAdMarkers enum value + HlsAdMarkersElemental = "ELEMENTAL" + + // HlsAdMarkersElementalScte35 is a HlsAdMarkers enum value + HlsAdMarkersElementalScte35 = "ELEMENTAL_SCTE35" +) + +// Four types of audio-only tracks are supported: Audio-Only Variant Stream +// The client can play back this audio-only stream instead of video in low-bandwidth +// scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate +// Audio, Auto Select, Default Alternate rendition that the client should try +// to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest +// with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default +// Alternate rendition that the client may try to play back by default. Represented +// as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate +// Audio, not Auto Select Alternate rendition that the client will not try to +// play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with +// DEFAULT=NO, AUTOSELECT=NO +const ( + // HlsAudioTrackTypeAlternateAudioAutoSelectDefault is a HlsAudioTrackType enum value + HlsAudioTrackTypeAlternateAudioAutoSelectDefault = "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT" + + // HlsAudioTrackTypeAlternateAudioAutoSelect is a HlsAudioTrackType enum value + HlsAudioTrackTypeAlternateAudioAutoSelect = "ALTERNATE_AUDIO_AUTO_SELECT" + + // HlsAudioTrackTypeAlternateAudioNotAutoSelect is a HlsAudioTrackType enum value + HlsAudioTrackTypeAlternateAudioNotAutoSelect = "ALTERNATE_AUDIO_NOT_AUTO_SELECT" + + // HlsAudioTrackTypeAudioOnlyVariantStream is a HlsAudioTrackType enum value + HlsAudioTrackTypeAudioOnlyVariantStream = "AUDIO_ONLY_VARIANT_STREAM" +) + +// Applies only to 608 Embedded output captions. Insert: Include CLOSED-CAPTIONS +// lines in the manifest. Specify at least one language in the CC1 Language +// Code field. One CLOSED-CAPTION line is added for each Language Code you specify. +// Make sure to specify the languages in the order in which they appear in the +// original source (if the source is embedded format) or the order of the caption +// selectors (if the source is other than embedded). Otherwise, languages in +// the manifest will not match up properly with the output captions. None: Include +// CLOSED-CAPTIONS=NONE line in the manifest. Omit: Omit any CLOSED-CAPTIONS +// line from the manifest. +const ( + // HlsCaptionLanguageSettingInsert is a HlsCaptionLanguageSetting enum value + HlsCaptionLanguageSettingInsert = "INSERT" + + // HlsCaptionLanguageSettingOmit is a HlsCaptionLanguageSetting enum value + HlsCaptionLanguageSettingOmit = "OMIT" + + // HlsCaptionLanguageSettingNone is a HlsCaptionLanguageSetting enum value + HlsCaptionLanguageSettingNone = "NONE" +) + +// When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client +// from saving media segments for later replay. +const ( + // HlsClientCacheDisabled is a HlsClientCache enum value + HlsClientCacheDisabled = "DISABLED" + + // HlsClientCacheEnabled is a HlsClientCache enum value + HlsClientCacheEnabled = "ENABLED" +) + +// Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist +// generation. +const ( + // HlsCodecSpecificationRfc6381 is a HlsCodecSpecification enum value + HlsCodecSpecificationRfc6381 = "RFC_6381" + + // HlsCodecSpecificationRfc4281 is a HlsCodecSpecification enum value + HlsCodecSpecificationRfc4281 = "RFC_4281" +) + +// Indicates whether segments should be placed in subdirectories. +const ( + // HlsDirectoryStructureSingleDirectory is a HlsDirectoryStructure enum value + HlsDirectoryStructureSingleDirectory = "SINGLE_DIRECTORY" + + // HlsDirectoryStructureSubdirectoryPerStream is a HlsDirectoryStructure enum value + HlsDirectoryStructureSubdirectoryPerStream = "SUBDIRECTORY_PER_STREAM" +) + +// Encrypts the segments with the given encryption scheme. Leave blank to disable. +// Selecting 'Disabled' in the web interface also disables encryption. +const ( + // HlsEncryptionTypeAes128 is a HlsEncryptionType enum value + HlsEncryptionTypeAes128 = "AES128" + + // HlsEncryptionTypeSampleAes is a HlsEncryptionType enum value + HlsEncryptionTypeSampleAes = "SAMPLE_AES" +) + +// When set to INCLUDE, writes I-Frame Only Manifest in addition to the HLS +// manifest +const ( + // HlsIFrameOnlyManifestInclude is a HlsIFrameOnlyManifest enum value + HlsIFrameOnlyManifestInclude = "INCLUDE" + + // HlsIFrameOnlyManifestExclude is a HlsIFrameOnlyManifest enum value + HlsIFrameOnlyManifestExclude = "EXCLUDE" +) + +// The Initialization Vector is a 128-bit number used in conjunction with the +// key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed +// in the manifest. Otherwise Initialization Vector is not in the manifest. +const ( + // HlsInitializationVectorInManifestInclude is a HlsInitializationVectorInManifest enum value + HlsInitializationVectorInManifestInclude = "INCLUDE" + + // HlsInitializationVectorInManifestExclude is a HlsInitializationVectorInManifest enum value + HlsInitializationVectorInManifestExclude = "EXCLUDE" +) + +// Indicates which type of key provider is used for encryption. +const ( + // HlsKeyProviderTypeSpeke is a HlsKeyProviderType enum value + HlsKeyProviderTypeSpeke = "SPEKE" + + // HlsKeyProviderTypeStaticKey is a HlsKeyProviderType enum value + HlsKeyProviderTypeStaticKey = "STATIC_KEY" +) + +// When set to GZIP, compresses HLS playlist. +const ( + // HlsManifestCompressionGzip is a HlsManifestCompression enum value + HlsManifestCompressionGzip = "GZIP" + + // HlsManifestCompressionNone is a HlsManifestCompression enum value + HlsManifestCompressionNone = "NONE" +) + +// Indicates whether the output manifest should use floating point values for +// segment duration. +const ( + // HlsManifestDurationFormatFloatingPoint is a HlsManifestDurationFormat enum value + HlsManifestDurationFormatFloatingPoint = "FLOATING_POINT" + + // HlsManifestDurationFormatInteger is a HlsManifestDurationFormat enum value + HlsManifestDurationFormatInteger = "INTEGER" +) + +// Indicates whether the .m3u8 manifest file should be generated for this HLS +// output group. +const ( + // HlsOutputSelectionManifestsAndSegments is a HlsOutputSelection enum value + HlsOutputSelectionManifestsAndSegments = "MANIFESTS_AND_SEGMENTS" + + // HlsOutputSelectionSegmentsOnly is a HlsOutputSelection enum value + HlsOutputSelectionSegmentsOnly = "SEGMENTS_ONLY" +) + +// Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. +// The value is calculated as follows: either the program date and time are +// initialized using the input timecode source, or the time is initialized using +// the input timecode source and the date is initialized using the timestamp_offset. +const ( + // HlsProgramDateTimeInclude is a HlsProgramDateTime enum value + HlsProgramDateTimeInclude = "INCLUDE" + + // HlsProgramDateTimeExclude is a HlsProgramDateTime enum value + HlsProgramDateTimeExclude = "EXCLUDE" +) + +// When set to SINGLE_FILE, emits program as a single media resource (.ts) file, +// uses #EXT-X-BYTERANGE tags to index segment for playback. +const ( + // HlsSegmentControlSingleFile is a HlsSegmentControl enum value + HlsSegmentControlSingleFile = "SINGLE_FILE" + + // HlsSegmentControlSegmentedFiles is a HlsSegmentControl enum value + HlsSegmentControlSegmentedFiles = "SEGMENTED_FILES" +) + +// Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag +// of variant manifest. +const ( + // HlsStreamInfResolutionInclude is a HlsStreamInfResolution enum value + HlsStreamInfResolutionInclude = "INCLUDE" + + // HlsStreamInfResolutionExclude is a HlsStreamInfResolution enum value + HlsStreamInfResolutionExclude = "EXCLUDE" +) + +// Indicates ID3 frame that has the timecode. +const ( + // HlsTimedMetadataId3FrameNone is a HlsTimedMetadataId3Frame enum value + HlsTimedMetadataId3FrameNone = "NONE" + + // HlsTimedMetadataId3FramePriv is a HlsTimedMetadataId3Frame enum value + HlsTimedMetadataId3FramePriv = "PRIV" + + // HlsTimedMetadataId3FrameTdrl is a HlsTimedMetadataId3Frame enum value + HlsTimedMetadataId3FrameTdrl = "TDRL" +) + +// Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. +// Default is disabled. Only manaully controllable for MPEG2 and uncompressed +// video inputs. +const ( + // InputDeblockFilterEnabled is a InputDeblockFilter enum value + InputDeblockFilterEnabled = "ENABLED" + + // InputDeblockFilterDisabled is a InputDeblockFilter enum value + InputDeblockFilterDisabled = "DISABLED" +) + +// Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default +// is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video +// inputs. +const ( + // InputDenoiseFilterEnabled is a InputDenoiseFilter enum value + InputDenoiseFilterEnabled = "ENABLED" + + // InputDenoiseFilterDisabled is a InputDenoiseFilter enum value + InputDenoiseFilterDisabled = "DISABLED" +) + +// Use Filter enable (InputFilterEnable) to specify how the transcoding service +// applies the denoise and deblock filters. You must also enable the filters +// separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). +// * Auto - The transcoding service determines whether to apply filtering, depending +// on input type and quality. * Disable - The input is not filtered. This is +// true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). +// * Force - The in put is filtered regardless of input type. +const ( + // InputFilterEnableAuto is a InputFilterEnable enum value + InputFilterEnableAuto = "AUTO" + + // InputFilterEnableDisable is a InputFilterEnable enum value + InputFilterEnableDisable = "DISABLE" + + // InputFilterEnableForce is a InputFilterEnable enum value + InputFilterEnableForce = "FORCE" +) + +// Set PSI control (InputPsiControl) for transport stream inputs to specify +// which data the demux process to scans. * Ignore PSI - Scan all PIDs for audio +// and video. * Use PSI - Scan only PSI data. +const ( + // InputPsiControlIgnorePsi is a InputPsiControl enum value + InputPsiControlIgnorePsi = "IGNORE_PSI" + + // InputPsiControlUsePsi is a InputPsiControl enum value + InputPsiControlUsePsi = "USE_PSI" +) + +// Use Timecode source (InputTimecodeSource) to specify how timecode information +// from your input is adjusted and encoded in all outputs for the job. Default +// is embedded. Set to Embedded (EMBEDDED) to use the timecode that is in the +// input video. If no embedded timecode is in the source, will set the timecode +// for the first frame to 00:00:00:00. Set to Start at 0 (ZEROBASED) to set +// the timecode of the initial frame to 00:00:00:00. Set to Specified start +// (SPECIFIEDSTART) to provide the initial timecode yourself the setting (Start). +const ( + // InputTimecodeSourceEmbedded is a InputTimecodeSource enum value + InputTimecodeSourceEmbedded = "EMBEDDED" + + // InputTimecodeSourceZerobased is a InputTimecodeSource enum value + InputTimecodeSourceZerobased = "ZEROBASED" + + // InputTimecodeSourceSpecifiedstart is a InputTimecodeSource enum value + InputTimecodeSourceSpecifiedstart = "SPECIFIEDSTART" +) + +// A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR. +const ( + // JobStatusSubmitted is a JobStatus enum value + JobStatusSubmitted = "SUBMITTED" + + // JobStatusProgressing is a JobStatus enum value + JobStatusProgressing = "PROGRESSING" + + // JobStatusComplete is a JobStatus enum value + JobStatusComplete = "COMPLETE" + + // JobStatusCanceled is a JobStatus enum value + JobStatusCanceled = "CANCELED" + + // JobStatusError is a JobStatus enum value + JobStatusError = "ERROR" +) + +// Optional. When you request a list of job templates, you can choose to list +// them alphabetically by NAME or chronologically by CREATION_DATE. If you don't +// specify, the service will list them by name. +const ( + // JobTemplateListByName is a JobTemplateListBy enum value + JobTemplateListByName = "NAME" + + // JobTemplateListByCreationDate is a JobTemplateListBy enum value + JobTemplateListByCreationDate = "CREATION_DATE" + + // JobTemplateListBySystem is a JobTemplateListBy enum value + JobTemplateListBySystem = "SYSTEM" +) + +// Code to specify the language, following the specification "ISO 639-2 three-digit +// code":http://www.loc.gov/standards/iso639-2/ +const ( + // LanguageCodeEng is a LanguageCode enum value + LanguageCodeEng = "ENG" + + // LanguageCodeSpa is a LanguageCode enum value + LanguageCodeSpa = "SPA" + + // LanguageCodeFra is a LanguageCode enum value + LanguageCodeFra = "FRA" + + // LanguageCodeDeu is a LanguageCode enum value + LanguageCodeDeu = "DEU" + + // LanguageCodeGer is a LanguageCode enum value + LanguageCodeGer = "GER" + + // LanguageCodeZho is a LanguageCode enum value + LanguageCodeZho = "ZHO" + + // LanguageCodeAra is a LanguageCode enum value + LanguageCodeAra = "ARA" + + // LanguageCodeHin is a LanguageCode enum value + LanguageCodeHin = "HIN" + + // LanguageCodeJpn is a LanguageCode enum value + LanguageCodeJpn = "JPN" + + // LanguageCodeRus is a LanguageCode enum value + LanguageCodeRus = "RUS" + + // LanguageCodePor is a LanguageCode enum value + LanguageCodePor = "POR" + + // LanguageCodeIta is a LanguageCode enum value + LanguageCodeIta = "ITA" + + // LanguageCodeUrd is a LanguageCode enum value + LanguageCodeUrd = "URD" + + // LanguageCodeVie is a LanguageCode enum value + LanguageCodeVie = "VIE" + + // LanguageCodeKor is a LanguageCode enum value + LanguageCodeKor = "KOR" + + // LanguageCodePan is a LanguageCode enum value + LanguageCodePan = "PAN" + + // LanguageCodeAbk is a LanguageCode enum value + LanguageCodeAbk = "ABK" + + // LanguageCodeAar is a LanguageCode enum value + LanguageCodeAar = "AAR" + + // LanguageCodeAfr is a LanguageCode enum value + LanguageCodeAfr = "AFR" + + // LanguageCodeAka is a LanguageCode enum value + LanguageCodeAka = "AKA" + + // LanguageCodeSqi is a LanguageCode enum value + LanguageCodeSqi = "SQI" + + // LanguageCodeAmh is a LanguageCode enum value + LanguageCodeAmh = "AMH" + + // LanguageCodeArg is a LanguageCode enum value + LanguageCodeArg = "ARG" + + // LanguageCodeHye is a LanguageCode enum value + LanguageCodeHye = "HYE" + + // LanguageCodeAsm is a LanguageCode enum value + LanguageCodeAsm = "ASM" + + // LanguageCodeAva is a LanguageCode enum value + LanguageCodeAva = "AVA" + + // LanguageCodeAve is a LanguageCode enum value + LanguageCodeAve = "AVE" + + // LanguageCodeAym is a LanguageCode enum value + LanguageCodeAym = "AYM" + + // LanguageCodeAze is a LanguageCode enum value + LanguageCodeAze = "AZE" + + // LanguageCodeBam is a LanguageCode enum value + LanguageCodeBam = "BAM" + + // LanguageCodeBak is a LanguageCode enum value + LanguageCodeBak = "BAK" + + // LanguageCodeEus is a LanguageCode enum value + LanguageCodeEus = "EUS" + + // LanguageCodeBel is a LanguageCode enum value + LanguageCodeBel = "BEL" + + // LanguageCodeBen is a LanguageCode enum value + LanguageCodeBen = "BEN" + + // LanguageCodeBih is a LanguageCode enum value + LanguageCodeBih = "BIH" + + // LanguageCodeBis is a LanguageCode enum value + LanguageCodeBis = "BIS" + + // LanguageCodeBos is a LanguageCode enum value + LanguageCodeBos = "BOS" + + // LanguageCodeBre is a LanguageCode enum value + LanguageCodeBre = "BRE" + + // LanguageCodeBul is a LanguageCode enum value + LanguageCodeBul = "BUL" + + // LanguageCodeMya is a LanguageCode enum value + LanguageCodeMya = "MYA" + + // LanguageCodeCat is a LanguageCode enum value + LanguageCodeCat = "CAT" + + // LanguageCodeKhm is a LanguageCode enum value + LanguageCodeKhm = "KHM" + + // LanguageCodeCha is a LanguageCode enum value + LanguageCodeCha = "CHA" + + // LanguageCodeChe is a LanguageCode enum value + LanguageCodeChe = "CHE" + + // LanguageCodeNya is a LanguageCode enum value + LanguageCodeNya = "NYA" + + // LanguageCodeChu is a LanguageCode enum value + LanguageCodeChu = "CHU" + + // LanguageCodeChv is a LanguageCode enum value + LanguageCodeChv = "CHV" + + // LanguageCodeCor is a LanguageCode enum value + LanguageCodeCor = "COR" + + // LanguageCodeCos is a LanguageCode enum value + LanguageCodeCos = "COS" + + // LanguageCodeCre is a LanguageCode enum value + LanguageCodeCre = "CRE" + + // LanguageCodeHrv is a LanguageCode enum value + LanguageCodeHrv = "HRV" + + // LanguageCodeCes is a LanguageCode enum value + LanguageCodeCes = "CES" + + // LanguageCodeDan is a LanguageCode enum value + LanguageCodeDan = "DAN" + + // LanguageCodeDiv is a LanguageCode enum value + LanguageCodeDiv = "DIV" + + // LanguageCodeNld is a LanguageCode enum value + LanguageCodeNld = "NLD" + + // LanguageCodeDzo is a LanguageCode enum value + LanguageCodeDzo = "DZO" + + // LanguageCodeEnm is a LanguageCode enum value + LanguageCodeEnm = "ENM" + + // LanguageCodeEpo is a LanguageCode enum value + LanguageCodeEpo = "EPO" + + // LanguageCodeEst is a LanguageCode enum value + LanguageCodeEst = "EST" + + // LanguageCodeEwe is a LanguageCode enum value + LanguageCodeEwe = "EWE" + + // LanguageCodeFao is a LanguageCode enum value + LanguageCodeFao = "FAO" + + // LanguageCodeFij is a LanguageCode enum value + LanguageCodeFij = "FIJ" + + // LanguageCodeFin is a LanguageCode enum value + LanguageCodeFin = "FIN" + + // LanguageCodeFrm is a LanguageCode enum value + LanguageCodeFrm = "FRM" + + // LanguageCodeFul is a LanguageCode enum value + LanguageCodeFul = "FUL" + + // LanguageCodeGla is a LanguageCode enum value + LanguageCodeGla = "GLA" + + // LanguageCodeGlg is a LanguageCode enum value + LanguageCodeGlg = "GLG" + + // LanguageCodeLug is a LanguageCode enum value + LanguageCodeLug = "LUG" + + // LanguageCodeKat is a LanguageCode enum value + LanguageCodeKat = "KAT" + + // LanguageCodeEll is a LanguageCode enum value + LanguageCodeEll = "ELL" + + // LanguageCodeGrn is a LanguageCode enum value + LanguageCodeGrn = "GRN" + + // LanguageCodeGuj is a LanguageCode enum value + LanguageCodeGuj = "GUJ" + + // LanguageCodeHat is a LanguageCode enum value + LanguageCodeHat = "HAT" + + // LanguageCodeHau is a LanguageCode enum value + LanguageCodeHau = "HAU" + + // LanguageCodeHeb is a LanguageCode enum value + LanguageCodeHeb = "HEB" + + // LanguageCodeHer is a LanguageCode enum value + LanguageCodeHer = "HER" + + // LanguageCodeHmo is a LanguageCode enum value + LanguageCodeHmo = "HMO" + + // LanguageCodeHun is a LanguageCode enum value + LanguageCodeHun = "HUN" + + // LanguageCodeIsl is a LanguageCode enum value + LanguageCodeIsl = "ISL" + + // LanguageCodeIdo is a LanguageCode enum value + LanguageCodeIdo = "IDO" + + // LanguageCodeIbo is a LanguageCode enum value + LanguageCodeIbo = "IBO" + + // LanguageCodeInd is a LanguageCode enum value + LanguageCodeInd = "IND" + + // LanguageCodeIna is a LanguageCode enum value + LanguageCodeIna = "INA" + + // LanguageCodeIle is a LanguageCode enum value + LanguageCodeIle = "ILE" + + // LanguageCodeIku is a LanguageCode enum value + LanguageCodeIku = "IKU" + + // LanguageCodeIpk is a LanguageCode enum value + LanguageCodeIpk = "IPK" + + // LanguageCodeGle is a LanguageCode enum value + LanguageCodeGle = "GLE" + + // LanguageCodeJav is a LanguageCode enum value + LanguageCodeJav = "JAV" + + // LanguageCodeKal is a LanguageCode enum value + LanguageCodeKal = "KAL" + + // LanguageCodeKan is a LanguageCode enum value + LanguageCodeKan = "KAN" + + // LanguageCodeKau is a LanguageCode enum value + LanguageCodeKau = "KAU" + + // LanguageCodeKas is a LanguageCode enum value + LanguageCodeKas = "KAS" + + // LanguageCodeKaz is a LanguageCode enum value + LanguageCodeKaz = "KAZ" + + // LanguageCodeKik is a LanguageCode enum value + LanguageCodeKik = "KIK" + + // LanguageCodeKin is a LanguageCode enum value + LanguageCodeKin = "KIN" + + // LanguageCodeKir is a LanguageCode enum value + LanguageCodeKir = "KIR" + + // LanguageCodeKom is a LanguageCode enum value + LanguageCodeKom = "KOM" + + // LanguageCodeKon is a LanguageCode enum value + LanguageCodeKon = "KON" + + // LanguageCodeKua is a LanguageCode enum value + LanguageCodeKua = "KUA" + + // LanguageCodeKur is a LanguageCode enum value + LanguageCodeKur = "KUR" + + // LanguageCodeLao is a LanguageCode enum value + LanguageCodeLao = "LAO" + + // LanguageCodeLat is a LanguageCode enum value + LanguageCodeLat = "LAT" + + // LanguageCodeLav is a LanguageCode enum value + LanguageCodeLav = "LAV" + + // LanguageCodeLim is a LanguageCode enum value + LanguageCodeLim = "LIM" + + // LanguageCodeLin is a LanguageCode enum value + LanguageCodeLin = "LIN" + + // LanguageCodeLit is a LanguageCode enum value + LanguageCodeLit = "LIT" + + // LanguageCodeLub is a LanguageCode enum value + LanguageCodeLub = "LUB" + + // LanguageCodeLtz is a LanguageCode enum value + LanguageCodeLtz = "LTZ" + + // LanguageCodeMkd is a LanguageCode enum value + LanguageCodeMkd = "MKD" + + // LanguageCodeMlg is a LanguageCode enum value + LanguageCodeMlg = "MLG" + + // LanguageCodeMsa is a LanguageCode enum value + LanguageCodeMsa = "MSA" + + // LanguageCodeMal is a LanguageCode enum value + LanguageCodeMal = "MAL" + + // LanguageCodeMlt is a LanguageCode enum value + LanguageCodeMlt = "MLT" + + // LanguageCodeGlv is a LanguageCode enum value + LanguageCodeGlv = "GLV" + + // LanguageCodeMri is a LanguageCode enum value + LanguageCodeMri = "MRI" + + // LanguageCodeMar is a LanguageCode enum value + LanguageCodeMar = "MAR" + + // LanguageCodeMah is a LanguageCode enum value + LanguageCodeMah = "MAH" + + // LanguageCodeMon is a LanguageCode enum value + LanguageCodeMon = "MON" + + // LanguageCodeNau is a LanguageCode enum value + LanguageCodeNau = "NAU" + + // LanguageCodeNav is a LanguageCode enum value + LanguageCodeNav = "NAV" + + // LanguageCodeNde is a LanguageCode enum value + LanguageCodeNde = "NDE" + + // LanguageCodeNbl is a LanguageCode enum value + LanguageCodeNbl = "NBL" + + // LanguageCodeNdo is a LanguageCode enum value + LanguageCodeNdo = "NDO" + + // LanguageCodeNep is a LanguageCode enum value + LanguageCodeNep = "NEP" + + // LanguageCodeSme is a LanguageCode enum value + LanguageCodeSme = "SME" + + // LanguageCodeNor is a LanguageCode enum value + LanguageCodeNor = "NOR" + + // LanguageCodeNob is a LanguageCode enum value + LanguageCodeNob = "NOB" + + // LanguageCodeNno is a LanguageCode enum value + LanguageCodeNno = "NNO" + + // LanguageCodeOci is a LanguageCode enum value + LanguageCodeOci = "OCI" + + // LanguageCodeOji is a LanguageCode enum value + LanguageCodeOji = "OJI" + + // LanguageCodeOri is a LanguageCode enum value + LanguageCodeOri = "ORI" + + // LanguageCodeOrm is a LanguageCode enum value + LanguageCodeOrm = "ORM" + + // LanguageCodeOss is a LanguageCode enum value + LanguageCodeOss = "OSS" + + // LanguageCodePli is a LanguageCode enum value + LanguageCodePli = "PLI" + + // LanguageCodeFas is a LanguageCode enum value + LanguageCodeFas = "FAS" + + // LanguageCodePol is a LanguageCode enum value + LanguageCodePol = "POL" + + // LanguageCodePus is a LanguageCode enum value + LanguageCodePus = "PUS" + + // LanguageCodeQue is a LanguageCode enum value + LanguageCodeQue = "QUE" + + // LanguageCodeQaa is a LanguageCode enum value + LanguageCodeQaa = "QAA" + + // LanguageCodeRon is a LanguageCode enum value + LanguageCodeRon = "RON" + + // LanguageCodeRoh is a LanguageCode enum value + LanguageCodeRoh = "ROH" + + // LanguageCodeRun is a LanguageCode enum value + LanguageCodeRun = "RUN" + + // LanguageCodeSmo is a LanguageCode enum value + LanguageCodeSmo = "SMO" + + // LanguageCodeSag is a LanguageCode enum value + LanguageCodeSag = "SAG" + + // LanguageCodeSan is a LanguageCode enum value + LanguageCodeSan = "SAN" + + // LanguageCodeSrd is a LanguageCode enum value + LanguageCodeSrd = "SRD" + + // LanguageCodeSrb is a LanguageCode enum value + LanguageCodeSrb = "SRB" + + // LanguageCodeSna is a LanguageCode enum value + LanguageCodeSna = "SNA" + + // LanguageCodeIii is a LanguageCode enum value + LanguageCodeIii = "III" + + // LanguageCodeSnd is a LanguageCode enum value + LanguageCodeSnd = "SND" + + // LanguageCodeSin is a LanguageCode enum value + LanguageCodeSin = "SIN" + + // LanguageCodeSlk is a LanguageCode enum value + LanguageCodeSlk = "SLK" + + // LanguageCodeSlv is a LanguageCode enum value + LanguageCodeSlv = "SLV" + + // LanguageCodeSom is a LanguageCode enum value + LanguageCodeSom = "SOM" + + // LanguageCodeSot is a LanguageCode enum value + LanguageCodeSot = "SOT" + + // LanguageCodeSun is a LanguageCode enum value + LanguageCodeSun = "SUN" + + // LanguageCodeSwa is a LanguageCode enum value + LanguageCodeSwa = "SWA" + + // LanguageCodeSsw is a LanguageCode enum value + LanguageCodeSsw = "SSW" + + // LanguageCodeSwe is a LanguageCode enum value + LanguageCodeSwe = "SWE" + + // LanguageCodeTgl is a LanguageCode enum value + LanguageCodeTgl = "TGL" + + // LanguageCodeTah is a LanguageCode enum value + LanguageCodeTah = "TAH" + + // LanguageCodeTgk is a LanguageCode enum value + LanguageCodeTgk = "TGK" + + // LanguageCodeTam is a LanguageCode enum value + LanguageCodeTam = "TAM" + + // LanguageCodeTat is a LanguageCode enum value + LanguageCodeTat = "TAT" + + // LanguageCodeTel is a LanguageCode enum value + LanguageCodeTel = "TEL" + + // LanguageCodeTha is a LanguageCode enum value + LanguageCodeTha = "THA" + + // LanguageCodeBod is a LanguageCode enum value + LanguageCodeBod = "BOD" + + // LanguageCodeTir is a LanguageCode enum value + LanguageCodeTir = "TIR" + + // LanguageCodeTon is a LanguageCode enum value + LanguageCodeTon = "TON" + + // LanguageCodeTso is a LanguageCode enum value + LanguageCodeTso = "TSO" + + // LanguageCodeTsn is a LanguageCode enum value + LanguageCodeTsn = "TSN" + + // LanguageCodeTur is a LanguageCode enum value + LanguageCodeTur = "TUR" + + // LanguageCodeTuk is a LanguageCode enum value + LanguageCodeTuk = "TUK" + + // LanguageCodeTwi is a LanguageCode enum value + LanguageCodeTwi = "TWI" + + // LanguageCodeUig is a LanguageCode enum value + LanguageCodeUig = "UIG" + + // LanguageCodeUkr is a LanguageCode enum value + LanguageCodeUkr = "UKR" + + // LanguageCodeUzb is a LanguageCode enum value + LanguageCodeUzb = "UZB" + + // LanguageCodeVen is a LanguageCode enum value + LanguageCodeVen = "VEN" + + // LanguageCodeVol is a LanguageCode enum value + LanguageCodeVol = "VOL" + + // LanguageCodeWln is a LanguageCode enum value + LanguageCodeWln = "WLN" + + // LanguageCodeCym is a LanguageCode enum value + LanguageCodeCym = "CYM" + + // LanguageCodeFry is a LanguageCode enum value + LanguageCodeFry = "FRY" + + // LanguageCodeWol is a LanguageCode enum value + LanguageCodeWol = "WOL" + + // LanguageCodeXho is a LanguageCode enum value + LanguageCodeXho = "XHO" + + // LanguageCodeYid is a LanguageCode enum value + LanguageCodeYid = "YID" + + // LanguageCodeYor is a LanguageCode enum value + LanguageCodeYor = "YOR" + + // LanguageCodeZha is a LanguageCode enum value + LanguageCodeZha = "ZHA" + + // LanguageCodeZul is a LanguageCode enum value + LanguageCodeZul = "ZUL" + + // LanguageCodeOrj is a LanguageCode enum value + LanguageCodeOrj = "ORJ" + + // LanguageCodeQpc is a LanguageCode enum value + LanguageCodeQpc = "QPC" + + // LanguageCodeTng is a LanguageCode enum value + LanguageCodeTng = "TNG" +) + +// Selects between the DVB and ATSC buffer models for Dolby Digital audio. +const ( + // M2tsAudioBufferModelDvb is a M2tsAudioBufferModel enum value + M2tsAudioBufferModelDvb = "DVB" + + // M2tsAudioBufferModelAtsc is a M2tsAudioBufferModel enum value + M2tsAudioBufferModelAtsc = "ATSC" +) + +// Controls what buffer model to use for accurate interleaving. If set to MULTIPLEX, +// use multiplex buffer model. If set to NONE, this can lead to lower latency, +// but low-memory devices may not be able to play back the stream without interruptions. +const ( + // M2tsBufferModelMultiplex is a M2tsBufferModel enum value + M2tsBufferModelMultiplex = "MULTIPLEX" + + // M2tsBufferModelNone is a M2tsBufferModel enum value + M2tsBufferModelNone = "NONE" +) + +// When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be added to +// partitions 3 and 4. The interval between these additional markers will be +// fixed, and will be slightly shorter than the video EBP marker interval. When +// set to VIDEO_INTERVAL, these additional markers will not be inserted. Only +// applicable when EBP segmentation markers are is selected (segmentationMarkers +// is EBP or EBP_LEGACY). +const ( + // M2tsEbpAudioIntervalVideoAndFixedIntervals is a M2tsEbpAudioInterval enum value + M2tsEbpAudioIntervalVideoAndFixedIntervals = "VIDEO_AND_FIXED_INTERVALS" + + // M2tsEbpAudioIntervalVideoInterval is a M2tsEbpAudioInterval enum value + M2tsEbpAudioIntervalVideoInterval = "VIDEO_INTERVAL" +) + +// Selects which PIDs to place EBP markers on. They can either be placed only +// on the video PID, or on both the video PID and all audio PIDs. Only applicable +// when EBP segmentation markers are is selected (segmentationMarkers is EBP +// or EBP_LEGACY). +const ( + // M2tsEbpPlacementVideoAndAudioPids is a M2tsEbpPlacement enum value + M2tsEbpPlacementVideoAndAudioPids = "VIDEO_AND_AUDIO_PIDS" + + // M2tsEbpPlacementVideoPid is a M2tsEbpPlacement enum value + M2tsEbpPlacementVideoPid = "VIDEO_PID" +) + +// Controls whether to include the ES Rate field in the PES header. +const ( + // M2tsEsRateInPesInclude is a M2tsEsRateInPes enum value + M2tsEsRateInPesInclude = "INCLUDE" + + // M2tsEsRateInPesExclude is a M2tsEsRateInPes enum value + M2tsEsRateInPesExclude = "EXCLUDE" +) + +// When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted +// for every Packetized Elementary Stream (PES) header. This is effective only +// when the PCR PID is the same as the video or audio elementary stream. +const ( + // M2tsPcrControlPcrEveryPesPacket is a M2tsPcrControl enum value + M2tsPcrControlPcrEveryPesPacket = "PCR_EVERY_PES_PACKET" + + // M2tsPcrControlConfiguredPcrPeriod is a M2tsPcrControl enum value + M2tsPcrControlConfiguredPcrPeriod = "CONFIGURED_PCR_PERIOD" +) + +// When set to CBR, inserts null packets into transport stream to fill specified +// bitrate. When set to VBR, the bitrate setting acts as the maximum bitrate, +// but the output will not be padded up to that bitrate. +const ( + // M2tsRateModeVbr is a M2tsRateMode enum value + M2tsRateModeVbr = "VBR" + + // M2tsRateModeCbr is a M2tsRateMode enum value + M2tsRateModeCbr = "CBR" +) + +// Enables SCTE-35 passthrough (scte35Source) to pass any SCTE-35 signals from +// input to output. This is only available for certain containers. +const ( + // M2tsScte35SourcePassthrough is a M2tsScte35Source enum value + M2tsScte35SourcePassthrough = "PASSTHROUGH" + + // M2tsScte35SourceNone is a M2tsScte35Source enum value + M2tsScte35SourceNone = "NONE" +) + +// Inserts segmentation markers at each segmentation_time period. rai_segstart +// sets the Random Access Indicator bit in the adaptation field. rai_adapt sets +// the RAI bit and adds the current timecode in the private data bytes. psi_segstart +// inserts PAT and PMT tables at the start of segments. ebp adds Encoder Boundary +// Point information to the adaptation field as per OpenCable specification +// OC-SP-EBP-I01-130118. ebp_legacy adds Encoder Boundary Point information +// to the adaptation field using a legacy proprietary format. +const ( + // M2tsSegmentationMarkersNone is a M2tsSegmentationMarkers enum value + M2tsSegmentationMarkersNone = "NONE" + + // M2tsSegmentationMarkersRaiSegstart is a M2tsSegmentationMarkers enum value + M2tsSegmentationMarkersRaiSegstart = "RAI_SEGSTART" + + // M2tsSegmentationMarkersRaiAdapt is a M2tsSegmentationMarkers enum value + M2tsSegmentationMarkersRaiAdapt = "RAI_ADAPT" + + // M2tsSegmentationMarkersPsiSegstart is a M2tsSegmentationMarkers enum value + M2tsSegmentationMarkersPsiSegstart = "PSI_SEGSTART" + + // M2tsSegmentationMarkersEbp is a M2tsSegmentationMarkers enum value + M2tsSegmentationMarkersEbp = "EBP" + + // M2tsSegmentationMarkersEbpLegacy is a M2tsSegmentationMarkers enum value + M2tsSegmentationMarkersEbpLegacy = "EBP_LEGACY" +) + +// The segmentation style parameter controls how segmentation markers are inserted +// into the transport stream. With avails, it is possible that segments may +// be truncated, which can influence where future segmentation markers are inserted. +// When a segmentation style of "reset_cadence" is selected and a segment is +// truncated due to an avail, we will reset the segmentation cadence. This means +// the subsequent segment will have a duration of of $segmentation_time seconds. +// When a segmentation style of "maintain_cadence" is selected and a segment +// is truncated due to an avail, we will not reset the segmentation cadence. +// This means the subsequent segment will likely be truncated as well. However, +// all segments after that will have a duration of $segmentation_time seconds. +// Note that EBP lookahead is a slight exception to this rule. +const ( + // M2tsSegmentationStyleMaintainCadence is a M2tsSegmentationStyle enum value + M2tsSegmentationStyleMaintainCadence = "MAINTAIN_CADENCE" + + // M2tsSegmentationStyleResetCadence is a M2tsSegmentationStyle enum value + M2tsSegmentationStyleResetCadence = "RESET_CADENCE" +) + +// When set to PCR_EVERY_PES_PACKET a Program Clock Reference value is inserted +// for every Packetized Elementary Stream (PES) header. This parameter is effective +// only when the PCR PID is the same as the video or audio elementary stream. +const ( + // M3u8PcrControlPcrEveryPesPacket is a M3u8PcrControl enum value + M3u8PcrControlPcrEveryPesPacket = "PCR_EVERY_PES_PACKET" + + // M3u8PcrControlConfiguredPcrPeriod is a M3u8PcrControl enum value + M3u8PcrControlConfiguredPcrPeriod = "CONFIGURED_PCR_PERIOD" +) + +// Enables SCTE-35 passthrough (scte35Source) to pass any SCTE-35 signals from +// input to output. This is only available for certain containers. +const ( + // M3u8Scte35SourcePassthrough is a M3u8Scte35Source enum value + M3u8Scte35SourcePassthrough = "PASSTHROUGH" + + // M3u8Scte35SourceNone is a M3u8Scte35Source enum value + M3u8Scte35SourceNone = "NONE" +) + +// When enabled, include 'clap' atom if appropriate for the video output settings. +const ( + // MovClapAtomInclude is a MovClapAtom enum value + MovClapAtomInclude = "INCLUDE" + + // MovClapAtomExclude is a MovClapAtom enum value + MovClapAtomExclude = "EXCLUDE" +) + +// When enabled, file composition times will start at zero, composition times +// in the 'ctts' (composition time to sample) box for B-frames will be negative, +// and a 'cslg' (composition shift least greatest) box will be included per +// 14496-1 amendment 1. This improves compatibility with Apple players and tools. +const ( + // MovCslgAtomInclude is a MovCslgAtom enum value + MovCslgAtomInclude = "INCLUDE" + + // MovCslgAtomExclude is a MovCslgAtom enum value + MovCslgAtomExclude = "EXCLUDE" +) + +// When set to XDCAM, writes MPEG2 video streams into the QuickTime file using +// XDCAM fourcc codes. This increases compatibility with Apple editors and players, +// but may decrease compatibility with other players. Only applicable when the +// video codec is MPEG2. +const ( + // MovMpeg2FourCCControlXdcam is a MovMpeg2FourCCControl enum value + MovMpeg2FourCCControlXdcam = "XDCAM" + + // MovMpeg2FourCCControlMpeg is a MovMpeg2FourCCControl enum value + MovMpeg2FourCCControlMpeg = "MPEG" +) + +// If set to OMNEON, inserts Omneon-compatible padding +const ( + // MovPaddingControlOmneon is a MovPaddingControl enum value + MovPaddingControlOmneon = "OMNEON" + + // MovPaddingControlNone is a MovPaddingControl enum value + MovPaddingControlNone = "NONE" +) + +// A value of 'external' creates separate media files and the wrapper file (.mov) +// contains references to these media files. A value of 'self_contained' creates +// only a wrapper (.mov) file and this file contains all of the media. +const ( + // MovReferenceSelfContained is a MovReference enum value + MovReferenceSelfContained = "SELF_CONTAINED" + + // MovReferenceExternal is a MovReference enum value + MovReferenceExternal = "EXTERNAL" +) + +// When enabled, file composition times will start at zero, composition times +// in the 'ctts' (composition time to sample) box for B-frames will be negative, +// and a 'cslg' (composition shift least greatest) box will be included per +// 14496-1 amendment 1. This improves compatibility with Apple players and tools. +const ( + // Mp4CslgAtomInclude is a Mp4CslgAtom enum value + Mp4CslgAtomInclude = "INCLUDE" + + // Mp4CslgAtomExclude is a Mp4CslgAtom enum value + Mp4CslgAtomExclude = "EXCLUDE" +) + +// Inserts a free-space box immediately after the moov box. +const ( + // Mp4FreeSpaceBoxInclude is a Mp4FreeSpaceBox enum value + Mp4FreeSpaceBoxInclude = "INCLUDE" + + // Mp4FreeSpaceBoxExclude is a Mp4FreeSpaceBox enum value + Mp4FreeSpaceBoxExclude = "EXCLUDE" +) + +// If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning +// of the archive as required for progressive downloading. Otherwise it is placed +// normally at the end. +const ( + // Mp4MoovPlacementProgressiveDownload is a Mp4MoovPlacement enum value + Mp4MoovPlacementProgressiveDownload = "PROGRESSIVE_DOWNLOAD" + + // Mp4MoovPlacementNormal is a Mp4MoovPlacement enum value + Mp4MoovPlacementNormal = "NORMAL" +) + +// Adaptive quantization. Allows intra-frame quantizers to vary to improve visual +// quality. +const ( + // Mpeg2AdaptiveQuantizationOff is a Mpeg2AdaptiveQuantization enum value + Mpeg2AdaptiveQuantizationOff = "OFF" + + // Mpeg2AdaptiveQuantizationLow is a Mpeg2AdaptiveQuantization enum value + Mpeg2AdaptiveQuantizationLow = "LOW" + + // Mpeg2AdaptiveQuantizationMedium is a Mpeg2AdaptiveQuantization enum value + Mpeg2AdaptiveQuantizationMedium = "MEDIUM" + + // Mpeg2AdaptiveQuantizationHigh is a Mpeg2AdaptiveQuantization enum value + Mpeg2AdaptiveQuantizationHigh = "HIGH" +) + +// Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output. +const ( + // Mpeg2CodecLevelAuto is a Mpeg2CodecLevel enum value + Mpeg2CodecLevelAuto = "AUTO" + + // Mpeg2CodecLevelLow is a Mpeg2CodecLevel enum value + Mpeg2CodecLevelLow = "LOW" + + // Mpeg2CodecLevelMain is a Mpeg2CodecLevel enum value + Mpeg2CodecLevelMain = "MAIN" + + // Mpeg2CodecLevelHigh1440 is a Mpeg2CodecLevel enum value + Mpeg2CodecLevelHigh1440 = "HIGH1440" + + // Mpeg2CodecLevelHigh is a Mpeg2CodecLevel enum value + Mpeg2CodecLevelHigh = "HIGH" +) + +// Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output. +const ( + // Mpeg2CodecProfileMain is a Mpeg2CodecProfile enum value + Mpeg2CodecProfileMain = "MAIN" + + // Mpeg2CodecProfileProfile422 is a Mpeg2CodecProfile enum value + Mpeg2CodecProfileProfile422 = "PROFILE_422" +) + +// Using the API, set FramerateControl to INITIALIZE_FROM_SOURCE if you want +// the service to use the framerate from the input. Using the console, do this +// by choosing INITIALIZE_FROM_SOURCE for Framerate. +const ( + // Mpeg2FramerateControlInitializeFromSource is a Mpeg2FramerateControl enum value + Mpeg2FramerateControlInitializeFromSource = "INITIALIZE_FROM_SOURCE" + + // Mpeg2FramerateControlSpecified is a Mpeg2FramerateControl enum value + Mpeg2FramerateControlSpecified = "SPECIFIED" +) + +// When set to INTERPOLATE, produces smoother motion during framerate conversion. +const ( + // Mpeg2FramerateConversionAlgorithmDuplicateDrop is a Mpeg2FramerateConversionAlgorithm enum value + Mpeg2FramerateConversionAlgorithmDuplicateDrop = "DUPLICATE_DROP" + + // Mpeg2FramerateConversionAlgorithmInterpolate is a Mpeg2FramerateConversionAlgorithm enum value + Mpeg2FramerateConversionAlgorithmInterpolate = "INTERPOLATE" +) + +// Indicates if the GOP Size in MPEG2 is specified in frames or seconds. If +// seconds the system will convert the GOP Size into a frame count at run time. +const ( + // Mpeg2GopSizeUnitsFrames is a Mpeg2GopSizeUnits enum value + Mpeg2GopSizeUnitsFrames = "FRAMES" + + // Mpeg2GopSizeUnitsSeconds is a Mpeg2GopSizeUnits enum value + Mpeg2GopSizeUnitsSeconds = "SECONDS" +) + +// Use Interlace mode (InterlaceMode) to choose the scan line type for the output. +// * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce +// interlaced output with the entire output having the same field polarity (top +// or bottom first). * Follow, Default Top (FOLLOw_TOP_FIELD) and Follow, Default +// Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, +// behavior depends on the input scan type. - If the source is interlaced, the +// output will be interlaced with the same polarity as the source (it will follow +// the source). The output could therefore be a mix of "top field first" and +// "bottom field first". - If the source is progressive, the output will be +// interlaced with "top field first" or "bottom field first" polarity, depending +// on which of the Follow options you chose. +const ( + // Mpeg2InterlaceModeProgressive is a Mpeg2InterlaceMode enum value + Mpeg2InterlaceModeProgressive = "PROGRESSIVE" + + // Mpeg2InterlaceModeTopField is a Mpeg2InterlaceMode enum value + Mpeg2InterlaceModeTopField = "TOP_FIELD" + + // Mpeg2InterlaceModeBottomField is a Mpeg2InterlaceMode enum value + Mpeg2InterlaceModeBottomField = "BOTTOM_FIELD" + + // Mpeg2InterlaceModeFollowTopField is a Mpeg2InterlaceMode enum value + Mpeg2InterlaceModeFollowTopField = "FOLLOW_TOP_FIELD" + + // Mpeg2InterlaceModeFollowBottomField is a Mpeg2InterlaceMode enum value + Mpeg2InterlaceModeFollowBottomField = "FOLLOW_BOTTOM_FIELD" +) + +// Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision +// for intra-block DC coefficients. If you choose the value auto, the service +// will automatically select the precision based on the per-frame compression +// ratio. +const ( + // Mpeg2IntraDcPrecisionAuto is a Mpeg2IntraDcPrecision enum value + Mpeg2IntraDcPrecisionAuto = "AUTO" + + // Mpeg2IntraDcPrecisionIntraDcPrecision8 is a Mpeg2IntraDcPrecision enum value + Mpeg2IntraDcPrecisionIntraDcPrecision8 = "INTRA_DC_PRECISION_8" + + // Mpeg2IntraDcPrecisionIntraDcPrecision9 is a Mpeg2IntraDcPrecision enum value + Mpeg2IntraDcPrecisionIntraDcPrecision9 = "INTRA_DC_PRECISION_9" + + // Mpeg2IntraDcPrecisionIntraDcPrecision10 is a Mpeg2IntraDcPrecision enum value + Mpeg2IntraDcPrecisionIntraDcPrecision10 = "INTRA_DC_PRECISION_10" + + // Mpeg2IntraDcPrecisionIntraDcPrecision11 is a Mpeg2IntraDcPrecision enum value + Mpeg2IntraDcPrecisionIntraDcPrecision11 = "INTRA_DC_PRECISION_11" +) + +// Using the API, enable ParFollowSource if you want the service to use the +// pixel aspect ratio from the input. Using the console, do this by choosing +// Follow source for Pixel aspect ratio. +const ( + // Mpeg2ParControlInitializeFromSource is a Mpeg2ParControl enum value + Mpeg2ParControlInitializeFromSource = "INITIALIZE_FROM_SOURCE" + + // Mpeg2ParControlSpecified is a Mpeg2ParControl enum value + Mpeg2ParControlSpecified = "SPECIFIED" +) + +// Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to +// use single-pass or multipass video encoding. +const ( + // Mpeg2QualityTuningLevelSinglePass is a Mpeg2QualityTuningLevel enum value + Mpeg2QualityTuningLevelSinglePass = "SINGLE_PASS" + + // Mpeg2QualityTuningLevelMultiPass is a Mpeg2QualityTuningLevel enum value + Mpeg2QualityTuningLevelMultiPass = "MULTI_PASS" +) + +// Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate +// is variable (vbr) or constant (cbr). +const ( + // Mpeg2RateControlModeVbr is a Mpeg2RateControlMode enum value + Mpeg2RateControlModeVbr = "VBR" + + // Mpeg2RateControlModeCbr is a Mpeg2RateControlMode enum value + Mpeg2RateControlModeCbr = "CBR" +) + +// Scene change detection (inserts I-frames on scene changes). +const ( + // Mpeg2SceneChangeDetectDisabled is a Mpeg2SceneChangeDetect enum value + Mpeg2SceneChangeDetectDisabled = "DISABLED" + + // Mpeg2SceneChangeDetectEnabled is a Mpeg2SceneChangeDetect enum value + Mpeg2SceneChangeDetectEnabled = "ENABLED" +) + +// Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled +// as 25fps, and audio is sped up correspondingly. +const ( + // Mpeg2SlowPalDisabled is a Mpeg2SlowPal enum value + Mpeg2SlowPalDisabled = "DISABLED" + + // Mpeg2SlowPalEnabled is a Mpeg2SlowPal enum value + Mpeg2SlowPalEnabled = "ENABLED" +) + +// Adjust quantization within each frame based on spatial variation of content +// complexity. +const ( + // Mpeg2SpatialAdaptiveQuantizationDisabled is a Mpeg2SpatialAdaptiveQuantization enum value + Mpeg2SpatialAdaptiveQuantizationDisabled = "DISABLED" + + // Mpeg2SpatialAdaptiveQuantizationEnabled is a Mpeg2SpatialAdaptiveQuantization enum value + Mpeg2SpatialAdaptiveQuantizationEnabled = "ENABLED" +) + +// Produces a Type D-10 compatible bitstream (SMPTE 356M-2001). +const ( + // Mpeg2SyntaxDefault is a Mpeg2Syntax enum value + Mpeg2SyntaxDefault = "DEFAULT" + + // Mpeg2SyntaxD10 is a Mpeg2Syntax enum value + Mpeg2SyntaxD10 = "D_10" +) + +// Only use Telecine (Mpeg2Telecine) when you set Framerate (Framerate) to 29.970. +// Set Telecine (Mpeg2Telecine) to Hard (hard) to produce a 29.97i output from +// a 23.976 input. Set it to Soft (soft) to produce 23.976 output and leave +// converstion to the player. +const ( + // Mpeg2TelecineNone is a Mpeg2Telecine enum value + Mpeg2TelecineNone = "NONE" + + // Mpeg2TelecineSoft is a Mpeg2Telecine enum value + Mpeg2TelecineSoft = "SOFT" + + // Mpeg2TelecineHard is a Mpeg2Telecine enum value + Mpeg2TelecineHard = "HARD" +) + +// Adjust quantization within each frame based on temporal variation of content +// complexity. +const ( + // Mpeg2TemporalAdaptiveQuantizationDisabled is a Mpeg2TemporalAdaptiveQuantization enum value + Mpeg2TemporalAdaptiveQuantizationDisabled = "DISABLED" + + // Mpeg2TemporalAdaptiveQuantizationEnabled is a Mpeg2TemporalAdaptiveQuantization enum value + Mpeg2TemporalAdaptiveQuantizationEnabled = "ENABLED" +) + +// COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across +// a Microsoft Smooth output group into a single audio stream. +const ( + // MsSmoothAudioDeduplicationCombineDuplicateStreams is a MsSmoothAudioDeduplication enum value + MsSmoothAudioDeduplicationCombineDuplicateStreams = "COMBINE_DUPLICATE_STREAMS" + + // MsSmoothAudioDeduplicationNone is a MsSmoothAudioDeduplication enum value + MsSmoothAudioDeduplicationNone = "NONE" +) + +// Use Manifest encoding (MsSmoothManifestEncoding) to specify the encoding +// format for the server and client manifest. Valid options are utf8 and utf16. +const ( + // MsSmoothManifestEncodingUtf8 is a MsSmoothManifestEncoding enum value + MsSmoothManifestEncodingUtf8 = "UTF8" + + // MsSmoothManifestEncodingUtf16 is a MsSmoothManifestEncoding enum value + MsSmoothManifestEncodingUtf16 = "UTF16" +) + +// Use Noise reducer filter (NoiseReducerFilter) to select one of the following +// spatial image filtering functions. To use this setting, you must also enable +// Noise reducer (NoiseReducer). * Bilateral is an edge preserving noise reduction +// filter * Mean (softest), Gaussian, Lanczos, and Sharpen (sharpest) are convolution +// filters * Conserve is a min/max noise reduction filter * Spatial is frequency-domain +// filter based on JND principles. +const ( + // NoiseReducerFilterBilateral is a NoiseReducerFilter enum value + NoiseReducerFilterBilateral = "BILATERAL" + + // NoiseReducerFilterMean is a NoiseReducerFilter enum value + NoiseReducerFilterMean = "MEAN" + + // NoiseReducerFilterGaussian is a NoiseReducerFilter enum value + NoiseReducerFilterGaussian = "GAUSSIAN" + + // NoiseReducerFilterLanczos is a NoiseReducerFilter enum value + NoiseReducerFilterLanczos = "LANCZOS" + + // NoiseReducerFilterSharpen is a NoiseReducerFilter enum value + NoiseReducerFilterSharpen = "SHARPEN" + + // NoiseReducerFilterConserve is a NoiseReducerFilter enum value + NoiseReducerFilterConserve = "CONSERVE" + + // NoiseReducerFilterSpatial is a NoiseReducerFilter enum value + NoiseReducerFilterSpatial = "SPATIAL" +) + +// When you request lists of resources, you can optionally specify whether they +// are sorted in ASCENDING or DESCENDING order. Default varies by resource. +const ( + // OrderAscending is a Order enum value + OrderAscending = "ASCENDING" + + // OrderDescending is a Order enum value + OrderDescending = "DESCENDING" +) + +const ( + // OutputGroupTypeHlsGroupSettings is a OutputGroupType enum value + OutputGroupTypeHlsGroupSettings = "HLS_GROUP_SETTINGS" + + // OutputGroupTypeDashIsoGroupSettings is a OutputGroupType enum value + OutputGroupTypeDashIsoGroupSettings = "DASH_ISO_GROUP_SETTINGS" + + // OutputGroupTypeFileGroupSettings is a OutputGroupType enum value + OutputGroupTypeFileGroupSettings = "FILE_GROUP_SETTINGS" + + // OutputGroupTypeMsSmoothGroupSettings is a OutputGroupType enum value + OutputGroupTypeMsSmoothGroupSettings = "MS_SMOOTH_GROUP_SETTINGS" +) + +// Selects method of inserting SDT information into output stream. "Follow input +// SDT" copies SDT information from input stream to output stream. "Follow input +// SDT if present" copies SDT information from input stream to output stream +// if SDT information is present in the input, otherwise it will fall back on +// the user-defined values. Enter "SDT Manually" means user will enter the SDT +// information. "No SDT" means output stream will not contain SDT information. +const ( + // OutputSdtSdtFollow is a OutputSdt enum value + OutputSdtSdtFollow = "SDT_FOLLOW" + + // OutputSdtSdtFollowIfPresent is a OutputSdt enum value + OutputSdtSdtFollowIfPresent = "SDT_FOLLOW_IF_PRESENT" + + // OutputSdtSdtManual is a OutputSdt enum value + OutputSdtSdtManual = "SDT_MANUAL" + + // OutputSdtSdtNone is a OutputSdt enum value + OutputSdtSdtNone = "SDT_NONE" +) + +// Optional. When you request a list of presets, you can choose to list them +// alphabetically by NAME or chronologically by CREATION_DATE. If you don't +// specify, the service will list them by name. +const ( + // PresetListByName is a PresetListBy enum value + PresetListByName = "NAME" + + // PresetListByCreationDate is a PresetListBy enum value + PresetListByCreationDate = "CREATION_DATE" + + // PresetListBySystem is a PresetListBy enum value + PresetListBySystem = "SYSTEM" +) + +// Use Profile (ProResCodecProfile) to specifiy the type of Apple ProRes codec +// to use for this output. +const ( + // ProresCodecProfileAppleProres422 is a ProresCodecProfile enum value + ProresCodecProfileAppleProres422 = "APPLE_PRORES_422" + + // ProresCodecProfileAppleProres422Hq is a ProresCodecProfile enum value + ProresCodecProfileAppleProres422Hq = "APPLE_PRORES_422_HQ" + + // ProresCodecProfileAppleProres422Lt is a ProresCodecProfile enum value + ProresCodecProfileAppleProres422Lt = "APPLE_PRORES_422_LT" + + // ProresCodecProfileAppleProres422Proxy is a ProresCodecProfile enum value + ProresCodecProfileAppleProres422Proxy = "APPLE_PRORES_422_PROXY" +) + +// Using the API, set FramerateControl to INITIALIZE_FROM_SOURCE if you want +// the service to use the framerate from the input. Using the console, do this +// by choosing INITIALIZE_FROM_SOURCE for Framerate. +const ( + // ProresFramerateControlInitializeFromSource is a ProresFramerateControl enum value + ProresFramerateControlInitializeFromSource = "INITIALIZE_FROM_SOURCE" + + // ProresFramerateControlSpecified is a ProresFramerateControl enum value + ProresFramerateControlSpecified = "SPECIFIED" +) + +// When set to INTERPOLATE, produces smoother motion during framerate conversion. +const ( + // ProresFramerateConversionAlgorithmDuplicateDrop is a ProresFramerateConversionAlgorithm enum value + ProresFramerateConversionAlgorithmDuplicateDrop = "DUPLICATE_DROP" + + // ProresFramerateConversionAlgorithmInterpolate is a ProresFramerateConversionAlgorithm enum value + ProresFramerateConversionAlgorithmInterpolate = "INTERPOLATE" +) + +// Use Interlace mode (InterlaceMode) to choose the scan line type for the output. +// * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce +// interlaced output with the entire output having the same field polarity (top +// or bottom first). * Follow, Default Top (FOLLOw_TOP_FIELD) and Follow, Default +// Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, +// behavior depends on the input scan type. - If the source is interlaced, the +// output will be interlaced with the same polarity as the source (it will follow +// the source). The output could therefore be a mix of "top field first" and +// "bottom field first". - If the source is progressive, the output will be +// interlaced with "top field first" or "bottom field first" polarity, depending +// on which of the Follow options you chose. +const ( + // ProresInterlaceModeProgressive is a ProresInterlaceMode enum value + ProresInterlaceModeProgressive = "PROGRESSIVE" + + // ProresInterlaceModeTopField is a ProresInterlaceMode enum value + ProresInterlaceModeTopField = "TOP_FIELD" + + // ProresInterlaceModeBottomField is a ProresInterlaceMode enum value + ProresInterlaceModeBottomField = "BOTTOM_FIELD" + + // ProresInterlaceModeFollowTopField is a ProresInterlaceMode enum value + ProresInterlaceModeFollowTopField = "FOLLOW_TOP_FIELD" + + // ProresInterlaceModeFollowBottomField is a ProresInterlaceMode enum value + ProresInterlaceModeFollowBottomField = "FOLLOW_BOTTOM_FIELD" +) + +// Use (ProresParControl) to specify how the service determines the pixel aspect +// ratio. Set to Follow source (INITIALIZE_FROM_SOURCE) to use the pixel aspect +// ratio from the input. To specify a different pixel aspect ratio: Using the +// console, choose it from the dropdown menu. Using the API, set ProresParControl +// to (SPECIFIED) and provide for (ParNumerator) and (ParDenominator). +const ( + // ProresParControlInitializeFromSource is a ProresParControl enum value + ProresParControlInitializeFromSource = "INITIALIZE_FROM_SOURCE" + + // ProresParControlSpecified is a ProresParControl enum value + ProresParControlSpecified = "SPECIFIED" +) + +// Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled +// as 25fps, and audio is sped up correspondingly. +const ( + // ProresSlowPalDisabled is a ProresSlowPal enum value + ProresSlowPalDisabled = "DISABLED" + + // ProresSlowPalEnabled is a ProresSlowPal enum value + ProresSlowPalEnabled = "ENABLED" +) + +// Only use Telecine (ProresTelecine) when you set Framerate (Framerate) to +// 29.970. Set Telecine (ProresTelecine) to Hard (hard) to produce a 29.97i +// output from a 23.976 input. Set it to Soft (soft) to produce 23.976 output +// and leave converstion to the player. +const ( + // ProresTelecineNone is a ProresTelecine enum value + ProresTelecineNone = "NONE" + + // ProresTelecineHard is a ProresTelecine enum value + ProresTelecineHard = "HARD" +) + +// Optional. When you request a list of queues, you can choose to list them +// alphabetically by NAME or chronologically by CREATION_DATE. If you don't +// specify, the service will list them by creation date. +const ( + // QueueListByName is a QueueListBy enum value + QueueListByName = "NAME" + + // QueueListByCreationDate is a QueueListBy enum value + QueueListByCreationDate = "CREATION_DATE" +) + +// Queues can be ACTIVE or PAUSED. If you pause a queue, jobs in that queue +// will not begin. Jobs running when a queue is paused continue to run until +// they finish or error out. +const ( + // QueueStatusActive is a QueueStatus enum value + QueueStatusActive = "ACTIVE" + + // QueueStatusPaused is a QueueStatus enum value + QueueStatusPaused = "PAUSED" +) + +// Use Respond to AFD (RespondToAfd) to specify how the service changes the +// video itself in response to AFD values in the input. * Choose Respond to +// clip the input video frame according to the AFD value, input display aspect +// ratio, and output display aspect ratio. * Choose Passthrough to include the +// input AFD values. Do not choose this when AfdSignaling is set to (NONE). +// A preferred implementation of this workflow is to set RespondToAfd to (NONE) +// and set AfdSignaling to (AUTO). * Choose None to remove all input AFD values +// from this output. +const ( + // RespondToAfdNone is a RespondToAfd enum value + RespondToAfdNone = "NONE" + + // RespondToAfdRespond is a RespondToAfd enum value + RespondToAfdRespond = "RESPOND" + + // RespondToAfdPassthrough is a RespondToAfd enum value + RespondToAfdPassthrough = "PASSTHROUGH" +) + +// Applies only if your input aspect ratio is different from your output aspect +// ratio. Enable Stretch to output (StretchToOutput) to have the service stretch +// your video image to fit. Leave this setting disabled to allow the service +// to letterbox your video instead. This setting overrides any positioning value +// you specify elsewhere in the job. +const ( + // ScalingBehaviorDefault is a ScalingBehavior enum value + ScalingBehaviorDefault = "DEFAULT" + + // ScalingBehaviorStretchToOutput is a ScalingBehavior enum value + ScalingBehaviorStretchToOutput = "STRETCH_TO_OUTPUT" +) + +// Set Framerate (SccDestinationFramerate) to make sure that the captions and +// the video are synchronized in the output. Specify a framerate that matches +// the framerate of the associated video. If the video framerate is 29.97, choose +// 29.97 dropframe (FRAMERATE_29_97_DROPFRAME) only if the video has video_insertion=true +// and drop_frame_timecode=true; otherwise, choose 29.97 non-dropframe (FRAMERATE_29_97_NON_DROPFRAME). +const ( + // SccDestinationFramerateFramerate2397 is a SccDestinationFramerate enum value + SccDestinationFramerateFramerate2397 = "FRAMERATE_23_97" + + // SccDestinationFramerateFramerate24 is a SccDestinationFramerate enum value + SccDestinationFramerateFramerate24 = "FRAMERATE_24" + + // SccDestinationFramerateFramerate2997Dropframe is a SccDestinationFramerate enum value + SccDestinationFramerateFramerate2997Dropframe = "FRAMERATE_29_97_DROPFRAME" + + // SccDestinationFramerateFramerate2997NonDropframe is a SccDestinationFramerate enum value + SccDestinationFramerateFramerate2997NonDropframe = "FRAMERATE_29_97_NON_DROPFRAME" +) + +// Use Position (Position) under under Timecode burn-in (TimecodeBurnIn) to +// specify the location the burned-in timecode on output video. +const ( + // TimecodeBurninPositionTopCenter is a TimecodeBurninPosition enum value + TimecodeBurninPositionTopCenter = "TOP_CENTER" + + // TimecodeBurninPositionTopLeft is a TimecodeBurninPosition enum value + TimecodeBurninPositionTopLeft = "TOP_LEFT" + + // TimecodeBurninPositionTopRight is a TimecodeBurninPosition enum value + TimecodeBurninPositionTopRight = "TOP_RIGHT" + + // TimecodeBurninPositionMiddleLeft is a TimecodeBurninPosition enum value + TimecodeBurninPositionMiddleLeft = "MIDDLE_LEFT" + + // TimecodeBurninPositionMiddleCenter is a TimecodeBurninPosition enum value + TimecodeBurninPositionMiddleCenter = "MIDDLE_CENTER" + + // TimecodeBurninPositionMiddleRight is a TimecodeBurninPosition enum value + TimecodeBurninPositionMiddleRight = "MIDDLE_RIGHT" + + // TimecodeBurninPositionBottomLeft is a TimecodeBurninPosition enum value + TimecodeBurninPositionBottomLeft = "BOTTOM_LEFT" + + // TimecodeBurninPositionBottomCenter is a TimecodeBurninPosition enum value + TimecodeBurninPositionBottomCenter = "BOTTOM_CENTER" + + // TimecodeBurninPositionBottomRight is a TimecodeBurninPosition enum value + TimecodeBurninPositionBottomRight = "BOTTOM_RIGHT" +) + +// Use Timecode source (TimecodeSource) to set how timecodes are handled within +// this input. To make sure that your video, audio, captions, and markers are +// synchronized and that time-based features, such as image inserter, work correctly, +// choose the Timecode source option that matches your assets. All timecodes +// are in a 24-hour format with frame number (HH:MM:SS:FF). * Embedded (EMBEDDED) +// - Use the timecode that is in the input video. If no embedded timecode is +// in the source, the service will use Start at 0 (ZEROBASED) instead. * Start +// at 0 (ZEROBASED) - Set the timecode of the initial frame to 00:00:00:00. +// * Specified Start (SPECIFIEDSTART) - Set the timecode of the initial frame +// to a value other than zero. You use Start timecode (Start) to provide this +// value. +const ( + // TimecodeSourceEmbedded is a TimecodeSource enum value + TimecodeSourceEmbedded = "EMBEDDED" + + // TimecodeSourceZerobased is a TimecodeSource enum value + TimecodeSourceZerobased = "ZEROBASED" + + // TimecodeSourceSpecifiedstart is a TimecodeSource enum value + TimecodeSourceSpecifiedstart = "SPECIFIEDSTART" +) + +// If PASSTHROUGH, inserts ID3 timed metadata from the timed_metadata REST command +// into this output. Only available for certain containers. +const ( + // TimedMetadataPassthrough is a TimedMetadata enum value + TimedMetadataPassthrough = "PASSTHROUGH" + + // TimedMetadataNone is a TimedMetadata enum value + TimedMetadataNone = "NONE" +) + +// Pass through style and position information from a TTML-like input source +// (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or TTML output. +const ( + // TtmlStylePassthroughEnabled is a TtmlStylePassthrough enum value + TtmlStylePassthroughEnabled = "ENABLED" + + // TtmlStylePassthroughDisabled is a TtmlStylePassthrough enum value + TtmlStylePassthroughDisabled = "DISABLED" +) + +const ( + // TypeSystem is a Type enum value + TypeSystem = "SYSTEM" + + // TypeCustom is a Type enum value + TypeCustom = "CUSTOM" +) + +// Type of video codec +const ( + // VideoCodecFrameCapture is a VideoCodec enum value + VideoCodecFrameCapture = "FRAME_CAPTURE" + + // VideoCodecH264 is a VideoCodec enum value + VideoCodecH264 = "H_264" + + // VideoCodecH265 is a VideoCodec enum value + VideoCodecH265 = "H_265" + + // VideoCodecMpeg2 is a VideoCodec enum value + VideoCodecMpeg2 = "MPEG2" + + // VideoCodecProres is a VideoCodec enum value + VideoCodecProres = "PRORES" +) + +// Enable Timecode insertion to include timecode information in this output. +// Do this in the API by setting (VideoTimecodeInsertion) to (PIC_TIMING_SEI). +// To get timecodes to appear correctly in your output, also set up the timecode +// configuration for your job in the input settings. Only enable Timecode insertion +// when the input framerate is identical to output framerate. Disable this setting +// to remove the timecode from the output. Default is disabled. +const ( + // VideoTimecodeInsertionDisabled is a VideoTimecodeInsertion enum value + VideoTimecodeInsertionDisabled = "DISABLED" + + // VideoTimecodeInsertionPicTimingSei is a VideoTimecodeInsertion enum value + VideoTimecodeInsertionPicTimingSei = "PIC_TIMING_SEI" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/doc.go b/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/doc.go new file mode 100644 index 00000000000..f30ea5eb708 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/doc.go @@ -0,0 +1,28 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package mediaconvert provides the client and types for making API +// requests to AWS Elemental MediaConvert. +// +// AWS Elemental MediaConvert +// +// See https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29 for more information on this service. +// +// See mediaconvert package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/mediaconvert/ +// +// Using the Client +// +// To contact AWS Elemental MediaConvert with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the AWS Elemental MediaConvert client MediaConvert for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/mediaconvert/#New +package mediaconvert diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/errors.go b/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/errors.go new file mode 100644 index 00000000000..7a607419d1c --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/errors.go @@ -0,0 +1,30 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mediaconvert + +const ( + + // ErrCodeBadRequestException for service response error code + // "BadRequestException". + ErrCodeBadRequestException = "BadRequestException" + + // ErrCodeConflictException for service response error code + // "ConflictException". + ErrCodeConflictException = "ConflictException" + + // ErrCodeForbiddenException for service response error code + // "ForbiddenException". + ErrCodeForbiddenException = "ForbiddenException" + + // ErrCodeInternalServerErrorException for service response error code + // "InternalServerErrorException". + ErrCodeInternalServerErrorException = "InternalServerErrorException" + + // ErrCodeNotFoundException for service response error code + // "NotFoundException". + ErrCodeNotFoundException = "NotFoundException" + + // ErrCodeTooManyRequestsException for service response error code + // "TooManyRequestsException". + ErrCodeTooManyRequestsException = "TooManyRequestsException" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/service.go b/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/service.go new file mode 100644 index 00000000000..57088839281 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/service.go @@ -0,0 +1,97 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mediaconvert + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// MediaConvert provides the API operation methods for making requests to +// AWS Elemental MediaConvert. See this package's package overview docs +// for details on the service. +// +// MediaConvert methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type MediaConvert struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "mediaconvert" // Service endpoint prefix API calls made to. + EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. +) + +// New creates a new instance of the MediaConvert client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// // Create a MediaConvert client from just a session. +// svc := mediaconvert.New(mySession) +// +// // Create a MediaConvert client with additional configuration +// svc := mediaconvert.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaConvert { + c := p.ClientConfig(EndpointsID, cfgs...) + return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *MediaConvert { + if len(signingName) == 0 { + signingName = "mediaconvert" + } + svc := &MediaConvert{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + SigningName: signingName, + SigningRegion: signingRegion, + Endpoint: endpoint, + APIVersion: "2017-08-29", + JSONVersion: "1.1", + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed(restjson.UnmarshalErrorHandler) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a MediaConvert operation and runs any +// custom request initialization. +func (c *MediaConvert) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/medialive/api.go b/vendor/github.com/aws/aws-sdk-go/service/medialive/api.go new file mode 100644 index 00000000000..f2ef274c06e --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/medialive/api.go @@ -0,0 +1,10820 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package medialive + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" +) + +const opCreateChannel = "CreateChannel" + +// CreateChannelRequest generates a "aws/request.Request" representing the +// client's request for the CreateChannel operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateChannel for more information on using the CreateChannel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateChannelRequest method. +// req, resp := client.CreateChannelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannel +func (c *MediaLive) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput) { + op := &request.Operation{ + Name: opCreateChannel, + HTTPMethod: "POST", + HTTPPath: "/prod/channels", + } + + if input == nil { + input = &CreateChannelInput{} + } + + output = &CreateChannelOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateChannel API operation for AWS Elemental MediaLive. +// +// Creates a new channel +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation CreateChannel for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnprocessableEntityException "UnprocessableEntityException" +// +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeBadGatewayException "BadGatewayException" +// +// * ErrCodeGatewayTimeoutException "GatewayTimeoutException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannel +func (c *MediaLive) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error) { + req, out := c.CreateChannelRequest(input) + return out, req.Send() +} + +// CreateChannelWithContext is the same as CreateChannel with the addition of +// the ability to pass a context and additional request options. +// +// See CreateChannel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) CreateChannelWithContext(ctx aws.Context, input *CreateChannelInput, opts ...request.Option) (*CreateChannelOutput, error) { + req, out := c.CreateChannelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateInput = "CreateInput" + +// CreateInputRequest generates a "aws/request.Request" representing the +// client's request for the CreateInput operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateInput for more information on using the CreateInput +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateInputRequest method. +// req, resp := client.CreateInputRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInput +func (c *MediaLive) CreateInputRequest(input *CreateInputInput) (req *request.Request, output *CreateInputOutput) { + op := &request.Operation{ + Name: opCreateInput, + HTTPMethod: "POST", + HTTPPath: "/prod/inputs", + } + + if input == nil { + input = &CreateInputInput{} + } + + output = &CreateInputOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateInput API operation for AWS Elemental MediaLive. +// +// Create an input +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation CreateInput for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeBadGatewayException "BadGatewayException" +// +// * ErrCodeGatewayTimeoutException "GatewayTimeoutException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInput +func (c *MediaLive) CreateInput(input *CreateInputInput) (*CreateInputOutput, error) { + req, out := c.CreateInputRequest(input) + return out, req.Send() +} + +// CreateInputWithContext is the same as CreateInput with the addition of +// the ability to pass a context and additional request options. +// +// See CreateInput for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) CreateInputWithContext(ctx aws.Context, input *CreateInputInput, opts ...request.Option) (*CreateInputOutput, error) { + req, out := c.CreateInputRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateInputSecurityGroup = "CreateInputSecurityGroup" + +// CreateInputSecurityGroupRequest generates a "aws/request.Request" representing the +// client's request for the CreateInputSecurityGroup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateInputSecurityGroup for more information on using the CreateInputSecurityGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateInputSecurityGroupRequest method. +// req, resp := client.CreateInputSecurityGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputSecurityGroup +func (c *MediaLive) CreateInputSecurityGroupRequest(input *CreateInputSecurityGroupInput) (req *request.Request, output *CreateInputSecurityGroupOutput) { + op := &request.Operation{ + Name: opCreateInputSecurityGroup, + HTTPMethod: "POST", + HTTPPath: "/prod/inputSecurityGroups", + } + + if input == nil { + input = &CreateInputSecurityGroupInput{} + } + + output = &CreateInputSecurityGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateInputSecurityGroup API operation for AWS Elemental MediaLive. +// +// Creates a Input Security Group +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation CreateInputSecurityGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeBadGatewayException "BadGatewayException" +// +// * ErrCodeGatewayTimeoutException "GatewayTimeoutException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputSecurityGroup +func (c *MediaLive) CreateInputSecurityGroup(input *CreateInputSecurityGroupInput) (*CreateInputSecurityGroupOutput, error) { + req, out := c.CreateInputSecurityGroupRequest(input) + return out, req.Send() +} + +// CreateInputSecurityGroupWithContext is the same as CreateInputSecurityGroup with the addition of +// the ability to pass a context and additional request options. +// +// See CreateInputSecurityGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) CreateInputSecurityGroupWithContext(ctx aws.Context, input *CreateInputSecurityGroupInput, opts ...request.Option) (*CreateInputSecurityGroupOutput, error) { + req, out := c.CreateInputSecurityGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteChannel = "DeleteChannel" + +// DeleteChannelRequest generates a "aws/request.Request" representing the +// client's request for the DeleteChannel operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteChannel for more information on using the DeleteChannel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteChannelRequest method. +// req, resp := client.DeleteChannelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannel +func (c *MediaLive) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput) { + op := &request.Operation{ + Name: opDeleteChannel, + HTTPMethod: "DELETE", + HTTPPath: "/prod/channels/{channelId}", + } + + if input == nil { + input = &DeleteChannelInput{} + } + + output = &DeleteChannelOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteChannel API operation for AWS Elemental MediaLive. +// +// Starts deletion of channel. The associated outputs are also deleted. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation DeleteChannel for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeBadGatewayException "BadGatewayException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeGatewayTimeoutException "GatewayTimeoutException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannel +func (c *MediaLive) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error) { + req, out := c.DeleteChannelRequest(input) + return out, req.Send() +} + +// DeleteChannelWithContext is the same as DeleteChannel with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteChannel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error) { + req, out := c.DeleteChannelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteInput = "DeleteInput" + +// DeleteInputRequest generates a "aws/request.Request" representing the +// client's request for the DeleteInput operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteInput for more information on using the DeleteInput +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteInputRequest method. +// req, resp := client.DeleteInputRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInput +func (c *MediaLive) DeleteInputRequest(input *DeleteInputInput) (req *request.Request, output *DeleteInputOutput) { + op := &request.Operation{ + Name: opDeleteInput, + HTTPMethod: "DELETE", + HTTPPath: "/prod/inputs/{inputId}", + } + + if input == nil { + input = &DeleteInputInput{} + } + + output = &DeleteInputOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteInput API operation for AWS Elemental MediaLive. +// +// Deletes the input end point +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation DeleteInput for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeBadGatewayException "BadGatewayException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeGatewayTimeoutException "GatewayTimeoutException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInput +func (c *MediaLive) DeleteInput(input *DeleteInputInput) (*DeleteInputOutput, error) { + req, out := c.DeleteInputRequest(input) + return out, req.Send() +} + +// DeleteInputWithContext is the same as DeleteInput with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteInput for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) DeleteInputWithContext(ctx aws.Context, input *DeleteInputInput, opts ...request.Option) (*DeleteInputOutput, error) { + req, out := c.DeleteInputRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteInputSecurityGroup = "DeleteInputSecurityGroup" + +// DeleteInputSecurityGroupRequest generates a "aws/request.Request" representing the +// client's request for the DeleteInputSecurityGroup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteInputSecurityGroup for more information on using the DeleteInputSecurityGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteInputSecurityGroupRequest method. +// req, resp := client.DeleteInputSecurityGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputSecurityGroup +func (c *MediaLive) DeleteInputSecurityGroupRequest(input *DeleteInputSecurityGroupInput) (req *request.Request, output *DeleteInputSecurityGroupOutput) { + op := &request.Operation{ + Name: opDeleteInputSecurityGroup, + HTTPMethod: "DELETE", + HTTPPath: "/prod/inputSecurityGroups/{inputSecurityGroupId}", + } + + if input == nil { + input = &DeleteInputSecurityGroupInput{} + } + + output = &DeleteInputSecurityGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteInputSecurityGroup API operation for AWS Elemental MediaLive. +// +// Deletes an Input Security Group +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation DeleteInputSecurityGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeBadGatewayException "BadGatewayException" +// +// * ErrCodeGatewayTimeoutException "GatewayTimeoutException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputSecurityGroup +func (c *MediaLive) DeleteInputSecurityGroup(input *DeleteInputSecurityGroupInput) (*DeleteInputSecurityGroupOutput, error) { + req, out := c.DeleteInputSecurityGroupRequest(input) + return out, req.Send() +} + +// DeleteInputSecurityGroupWithContext is the same as DeleteInputSecurityGroup with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteInputSecurityGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) DeleteInputSecurityGroupWithContext(ctx aws.Context, input *DeleteInputSecurityGroupInput, opts ...request.Option) (*DeleteInputSecurityGroupOutput, error) { + req, out := c.DeleteInputSecurityGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeChannel = "DescribeChannel" + +// DescribeChannelRequest generates a "aws/request.Request" representing the +// client's request for the DescribeChannel operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeChannel for more information on using the DescribeChannel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeChannelRequest method. +// req, resp := client.DescribeChannelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannel +func (c *MediaLive) DescribeChannelRequest(input *DescribeChannelInput) (req *request.Request, output *DescribeChannelOutput) { + op := &request.Operation{ + Name: opDescribeChannel, + HTTPMethod: "GET", + HTTPPath: "/prod/channels/{channelId}", + } + + if input == nil { + input = &DescribeChannelInput{} + } + + output = &DescribeChannelOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeChannel API operation for AWS Elemental MediaLive. +// +// Gets details about a channel +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation DescribeChannel for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeBadGatewayException "BadGatewayException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeGatewayTimeoutException "GatewayTimeoutException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannel +func (c *MediaLive) DescribeChannel(input *DescribeChannelInput) (*DescribeChannelOutput, error) { + req, out := c.DescribeChannelRequest(input) + return out, req.Send() +} + +// DescribeChannelWithContext is the same as DescribeChannel with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeChannel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) DescribeChannelWithContext(ctx aws.Context, input *DescribeChannelInput, opts ...request.Option) (*DescribeChannelOutput, error) { + req, out := c.DescribeChannelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeInput = "DescribeInput" + +// DescribeInputRequest generates a "aws/request.Request" representing the +// client's request for the DescribeInput operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeInput for more information on using the DescribeInput +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeInputRequest method. +// req, resp := client.DescribeInputRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInput +func (c *MediaLive) DescribeInputRequest(input *DescribeInputInput) (req *request.Request, output *DescribeInputOutput) { + op := &request.Operation{ + Name: opDescribeInput, + HTTPMethod: "GET", + HTTPPath: "/prod/inputs/{inputId}", + } + + if input == nil { + input = &DescribeInputInput{} + } + + output = &DescribeInputOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeInput API operation for AWS Elemental MediaLive. +// +// Produces details about an input +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation DescribeInput for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeBadGatewayException "BadGatewayException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeGatewayTimeoutException "GatewayTimeoutException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInput +func (c *MediaLive) DescribeInput(input *DescribeInputInput) (*DescribeInputOutput, error) { + req, out := c.DescribeInputRequest(input) + return out, req.Send() +} + +// DescribeInputWithContext is the same as DescribeInput with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeInput for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) DescribeInputWithContext(ctx aws.Context, input *DescribeInputInput, opts ...request.Option) (*DescribeInputOutput, error) { + req, out := c.DescribeInputRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeInputSecurityGroup = "DescribeInputSecurityGroup" + +// DescribeInputSecurityGroupRequest generates a "aws/request.Request" representing the +// client's request for the DescribeInputSecurityGroup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeInputSecurityGroup for more information on using the DescribeInputSecurityGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeInputSecurityGroupRequest method. +// req, resp := client.DescribeInputSecurityGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputSecurityGroup +func (c *MediaLive) DescribeInputSecurityGroupRequest(input *DescribeInputSecurityGroupInput) (req *request.Request, output *DescribeInputSecurityGroupOutput) { + op := &request.Operation{ + Name: opDescribeInputSecurityGroup, + HTTPMethod: "GET", + HTTPPath: "/prod/inputSecurityGroups/{inputSecurityGroupId}", + } + + if input == nil { + input = &DescribeInputSecurityGroupInput{} + } + + output = &DescribeInputSecurityGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeInputSecurityGroup API operation for AWS Elemental MediaLive. +// +// Produces a summary of an Input Security Group +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation DescribeInputSecurityGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeBadGatewayException "BadGatewayException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeGatewayTimeoutException "GatewayTimeoutException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputSecurityGroup +func (c *MediaLive) DescribeInputSecurityGroup(input *DescribeInputSecurityGroupInput) (*DescribeInputSecurityGroupOutput, error) { + req, out := c.DescribeInputSecurityGroupRequest(input) + return out, req.Send() +} + +// DescribeInputSecurityGroupWithContext is the same as DescribeInputSecurityGroup with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeInputSecurityGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) DescribeInputSecurityGroupWithContext(ctx aws.Context, input *DescribeInputSecurityGroupInput, opts ...request.Option) (*DescribeInputSecurityGroupOutput, error) { + req, out := c.DescribeInputSecurityGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListChannels = "ListChannels" + +// ListChannelsRequest generates a "aws/request.Request" representing the +// client's request for the ListChannels operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListChannels for more information on using the ListChannels +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListChannelsRequest method. +// req, resp := client.ListChannelsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannels +func (c *MediaLive) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput) { + op := &request.Operation{ + Name: opListChannels, + HTTPMethod: "GET", + HTTPPath: "/prod/channels", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListChannelsInput{} + } + + output = &ListChannelsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListChannels API operation for AWS Elemental MediaLive. +// +// Produces list of channels that have been created +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation ListChannels for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeBadGatewayException "BadGatewayException" +// +// * ErrCodeGatewayTimeoutException "GatewayTimeoutException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannels +func (c *MediaLive) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error) { + req, out := c.ListChannelsRequest(input) + return out, req.Send() +} + +// ListChannelsWithContext is the same as ListChannels with the addition of +// the ability to pass a context and additional request options. +// +// See ListChannels for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error) { + req, out := c.ListChannelsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListChannelsPages iterates over the pages of a ListChannels operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListChannels method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListChannels operation. +// pageNum := 0 +// err := client.ListChannelsPages(params, +// func(page *ListChannelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MediaLive) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error { + return c.ListChannelsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListChannelsPagesWithContext same as ListChannelsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListChannelsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListChannelsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListChannelsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListInputSecurityGroups = "ListInputSecurityGroups" + +// ListInputSecurityGroupsRequest generates a "aws/request.Request" representing the +// client's request for the ListInputSecurityGroups operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListInputSecurityGroups for more information on using the ListInputSecurityGroups +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListInputSecurityGroupsRequest method. +// req, resp := client.ListInputSecurityGroupsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputSecurityGroups +func (c *MediaLive) ListInputSecurityGroupsRequest(input *ListInputSecurityGroupsInput) (req *request.Request, output *ListInputSecurityGroupsOutput) { + op := &request.Operation{ + Name: opListInputSecurityGroups, + HTTPMethod: "GET", + HTTPPath: "/prod/inputSecurityGroups", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListInputSecurityGroupsInput{} + } + + output = &ListInputSecurityGroupsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListInputSecurityGroups API operation for AWS Elemental MediaLive. +// +// Produces a list of Input Security Groups for an account +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation ListInputSecurityGroups for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeBadGatewayException "BadGatewayException" +// +// * ErrCodeGatewayTimeoutException "GatewayTimeoutException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputSecurityGroups +func (c *MediaLive) ListInputSecurityGroups(input *ListInputSecurityGroupsInput) (*ListInputSecurityGroupsOutput, error) { + req, out := c.ListInputSecurityGroupsRequest(input) + return out, req.Send() +} + +// ListInputSecurityGroupsWithContext is the same as ListInputSecurityGroups with the addition of +// the ability to pass a context and additional request options. +// +// See ListInputSecurityGroups for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) ListInputSecurityGroupsWithContext(ctx aws.Context, input *ListInputSecurityGroupsInput, opts ...request.Option) (*ListInputSecurityGroupsOutput, error) { + req, out := c.ListInputSecurityGroupsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListInputSecurityGroupsPages iterates over the pages of a ListInputSecurityGroups operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListInputSecurityGroups method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListInputSecurityGroups operation. +// pageNum := 0 +// err := client.ListInputSecurityGroupsPages(params, +// func(page *ListInputSecurityGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MediaLive) ListInputSecurityGroupsPages(input *ListInputSecurityGroupsInput, fn func(*ListInputSecurityGroupsOutput, bool) bool) error { + return c.ListInputSecurityGroupsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListInputSecurityGroupsPagesWithContext same as ListInputSecurityGroupsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) ListInputSecurityGroupsPagesWithContext(ctx aws.Context, input *ListInputSecurityGroupsInput, fn func(*ListInputSecurityGroupsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListInputSecurityGroupsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListInputSecurityGroupsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListInputSecurityGroupsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListInputs = "ListInputs" + +// ListInputsRequest generates a "aws/request.Request" representing the +// client's request for the ListInputs operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListInputs for more information on using the ListInputs +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListInputsRequest method. +// req, resp := client.ListInputsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputs +func (c *MediaLive) ListInputsRequest(input *ListInputsInput) (req *request.Request, output *ListInputsOutput) { + op := &request.Operation{ + Name: opListInputs, + HTTPMethod: "GET", + HTTPPath: "/prod/inputs", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListInputsInput{} + } + + output = &ListInputsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListInputs API operation for AWS Elemental MediaLive. +// +// Produces list of inputs that have been created +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation ListInputs for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeBadGatewayException "BadGatewayException" +// +// * ErrCodeGatewayTimeoutException "GatewayTimeoutException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputs +func (c *MediaLive) ListInputs(input *ListInputsInput) (*ListInputsOutput, error) { + req, out := c.ListInputsRequest(input) + return out, req.Send() +} + +// ListInputsWithContext is the same as ListInputs with the addition of +// the ability to pass a context and additional request options. +// +// See ListInputs for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) ListInputsWithContext(ctx aws.Context, input *ListInputsInput, opts ...request.Option) (*ListInputsOutput, error) { + req, out := c.ListInputsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListInputsPages iterates over the pages of a ListInputs operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListInputs method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListInputs operation. +// pageNum := 0 +// err := client.ListInputsPages(params, +// func(page *ListInputsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MediaLive) ListInputsPages(input *ListInputsInput, fn func(*ListInputsOutput, bool) bool) error { + return c.ListInputsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListInputsPagesWithContext same as ListInputsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) ListInputsPagesWithContext(ctx aws.Context, input *ListInputsInput, fn func(*ListInputsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListInputsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListInputsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListInputsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opStartChannel = "StartChannel" + +// StartChannelRequest generates a "aws/request.Request" representing the +// client's request for the StartChannel operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartChannel for more information on using the StartChannel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StartChannelRequest method. +// req, resp := client.StartChannelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannel +func (c *MediaLive) StartChannelRequest(input *StartChannelInput) (req *request.Request, output *StartChannelOutput) { + op := &request.Operation{ + Name: opStartChannel, + HTTPMethod: "POST", + HTTPPath: "/prod/channels/{channelId}/start", + } + + if input == nil { + input = &StartChannelInput{} + } + + output = &StartChannelOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartChannel API operation for AWS Elemental MediaLive. +// +// Starts an existing channel +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation StartChannel for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeBadGatewayException "BadGatewayException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeGatewayTimeoutException "GatewayTimeoutException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannel +func (c *MediaLive) StartChannel(input *StartChannelInput) (*StartChannelOutput, error) { + req, out := c.StartChannelRequest(input) + return out, req.Send() +} + +// StartChannelWithContext is the same as StartChannel with the addition of +// the ability to pass a context and additional request options. +// +// See StartChannel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) StartChannelWithContext(ctx aws.Context, input *StartChannelInput, opts ...request.Option) (*StartChannelOutput, error) { + req, out := c.StartChannelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStopChannel = "StopChannel" + +// StopChannelRequest generates a "aws/request.Request" representing the +// client's request for the StopChannel operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StopChannel for more information on using the StopChannel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StopChannelRequest method. +// req, resp := client.StopChannelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannel +func (c *MediaLive) StopChannelRequest(input *StopChannelInput) (req *request.Request, output *StopChannelOutput) { + op := &request.Operation{ + Name: opStopChannel, + HTTPMethod: "POST", + HTTPPath: "/prod/channels/{channelId}/stop", + } + + if input == nil { + input = &StopChannelInput{} + } + + output = &StopChannelOutput{} + req = c.newRequest(op, input, output) + return +} + +// StopChannel API operation for AWS Elemental MediaLive. +// +// Stops a running channel +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation StopChannel for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeBadGatewayException "BadGatewayException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeGatewayTimeoutException "GatewayTimeoutException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// * ErrCodeConflictException "ConflictException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannel +func (c *MediaLive) StopChannel(input *StopChannelInput) (*StopChannelOutput, error) { + req, out := c.StopChannelRequest(input) + return out, req.Send() +} + +// StopChannelWithContext is the same as StopChannel with the addition of +// the ability to pass a context and additional request options. +// +// See StopChannel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) StopChannelWithContext(ctx aws.Context, input *StopChannelInput, opts ...request.Option) (*StopChannelOutput, error) { + req, out := c.StopChannelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AacSettings +type AacSettings struct { + _ struct{} `type:"structure"` + + // Average bitrate in bits/second. Valid values depend on rate control mode + // and profile. + Bitrate *float64 `locationName:"bitrate" type:"double"` + + // Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control + // mode and profile. The adReceiverMix setting receives a stereo description + // plus control track and emits a mono AAC encode of the description track, + // with control data emitted in the PES header as per ETSI TS 101 154 Annex + // E. + CodingMode *string `locationName:"codingMode" type:"string" enum:"AacCodingMode"` + + // Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD + // (narration) as a stereo pair. The Audio Type field (audioType) will be set + // to 3, which signals to downstream systems that this stream contains "broadcaster + // mixed AD". Note that the input received by the encoder must contain pre-mixed + // audio; the encoder does not perform the mixing. The values in audioTypeControl + // and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd.Leave + // set to "normal" when input does not contain pre-mixed audio + AD. + InputType *string `locationName:"inputType" type:"string" enum:"AacInputType"` + + // AAC Profile. + Profile *string `locationName:"profile" type:"string" enum:"AacProfile"` + + // Rate Control Mode. + RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"AacRateControlMode"` + + // Sets LATM / LOAS AAC output for raw containers. + RawFormat *string `locationName:"rawFormat" type:"string" enum:"AacRawFormat"` + + // Sample rate in Hz. Valid values depend on rate control mode and profile. + SampleRate *float64 `locationName:"sampleRate" type:"double"` + + // Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport + // Stream containers. + Spec *string `locationName:"spec" type:"string" enum:"AacSpec"` + + // VBR Quality Level - Only used if rateControlMode is VBR. + VbrQuality *string `locationName:"vbrQuality" type:"string" enum:"AacVbrQuality"` +} + +// String returns the string representation +func (s AacSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AacSettings) GoString() string { + return s.String() +} + +// SetBitrate sets the Bitrate field's value. +func (s *AacSettings) SetBitrate(v float64) *AacSettings { + s.Bitrate = &v + return s +} + +// SetCodingMode sets the CodingMode field's value. +func (s *AacSettings) SetCodingMode(v string) *AacSettings { + s.CodingMode = &v + return s +} + +// SetInputType sets the InputType field's value. +func (s *AacSettings) SetInputType(v string) *AacSettings { + s.InputType = &v + return s +} + +// SetProfile sets the Profile field's value. +func (s *AacSettings) SetProfile(v string) *AacSettings { + s.Profile = &v + return s +} + +// SetRateControlMode sets the RateControlMode field's value. +func (s *AacSettings) SetRateControlMode(v string) *AacSettings { + s.RateControlMode = &v + return s +} + +// SetRawFormat sets the RawFormat field's value. +func (s *AacSettings) SetRawFormat(v string) *AacSettings { + s.RawFormat = &v + return s +} + +// SetSampleRate sets the SampleRate field's value. +func (s *AacSettings) SetSampleRate(v float64) *AacSettings { + s.SampleRate = &v + return s +} + +// SetSpec sets the Spec field's value. +func (s *AacSettings) SetSpec(v string) *AacSettings { + s.Spec = &v + return s +} + +// SetVbrQuality sets the VbrQuality field's value. +func (s *AacSettings) SetVbrQuality(v string) *AacSettings { + s.VbrQuality = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Ac3Settings +type Ac3Settings struct { + _ struct{} `type:"structure"` + + // Average bitrate in bits/second. Valid bitrates depend on the coding mode. + Bitrate *float64 `locationName:"bitrate" type:"double"` + + // Specifies the bitstream mode (bsmod) for the emitted AC-3 stream. See ATSC + // A/52-2012 for background on these values. + BitstreamMode *string `locationName:"bitstreamMode" type:"string" enum:"Ac3BitstreamMode"` + + // Dolby Digital coding mode. Determines number of channels. + CodingMode *string `locationName:"codingMode" type:"string" enum:"Ac3CodingMode"` + + // Sets the dialnorm for the output. If excluded and input audio is Dolby Digital, + // dialnorm will be passed through. + Dialnorm *int64 `locationName:"dialnorm" type:"integer"` + + // If set to filmStandard, adds dynamic range compression signaling to the output + // bitstream as defined in the Dolby Digital specification. + DrcProfile *string `locationName:"drcProfile" type:"string" enum:"Ac3DrcProfile"` + + // When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior + // to encoding. Only valid in codingMode32Lfe mode. + LfeFilter *string `locationName:"lfeFilter" type:"string" enum:"Ac3LfeFilter"` + + // When set to "followInput", encoder metadata will be sourced from the DD, + // DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied + // from one of these streams, then the static metadata settings will be used. + MetadataControl *string `locationName:"metadataControl" type:"string" enum:"Ac3MetadataControl"` +} + +// String returns the string representation +func (s Ac3Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Ac3Settings) GoString() string { + return s.String() +} + +// SetBitrate sets the Bitrate field's value. +func (s *Ac3Settings) SetBitrate(v float64) *Ac3Settings { + s.Bitrate = &v + return s +} + +// SetBitstreamMode sets the BitstreamMode field's value. +func (s *Ac3Settings) SetBitstreamMode(v string) *Ac3Settings { + s.BitstreamMode = &v + return s +} + +// SetCodingMode sets the CodingMode field's value. +func (s *Ac3Settings) SetCodingMode(v string) *Ac3Settings { + s.CodingMode = &v + return s +} + +// SetDialnorm sets the Dialnorm field's value. +func (s *Ac3Settings) SetDialnorm(v int64) *Ac3Settings { + s.Dialnorm = &v + return s +} + +// SetDrcProfile sets the DrcProfile field's value. +func (s *Ac3Settings) SetDrcProfile(v string) *Ac3Settings { + s.DrcProfile = &v + return s +} + +// SetLfeFilter sets the LfeFilter field's value. +func (s *Ac3Settings) SetLfeFilter(v string) *Ac3Settings { + s.LfeFilter = &v + return s +} + +// SetMetadataControl sets the MetadataControl field's value. +func (s *Ac3Settings) SetMetadataControl(v string) *Ac3Settings { + s.MetadataControl = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ArchiveContainerSettings +type ArchiveContainerSettings struct { + _ struct{} `type:"structure"` + + M2tsSettings *M2tsSettings `locationName:"m2tsSettings" type:"structure"` +} + +// String returns the string representation +func (s ArchiveContainerSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ArchiveContainerSettings) GoString() string { + return s.String() +} + +// SetM2tsSettings sets the M2tsSettings field's value. +func (s *ArchiveContainerSettings) SetM2tsSettings(v *M2tsSettings) *ArchiveContainerSettings { + s.M2tsSettings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ArchiveGroupSettings +type ArchiveGroupSettings struct { + _ struct{} `type:"structure"` + + // A directory and base filename where archive files should be written. If the + // base filename portion of the URI is left blank, the base filename of the + // first input will be automatically inserted. + Destination *OutputLocationRef `locationName:"destination" type:"structure"` + + // Number of seconds to write to archive file before closing and starting a + // new one. + RolloverInterval *int64 `locationName:"rolloverInterval" type:"integer"` +} + +// String returns the string representation +func (s ArchiveGroupSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ArchiveGroupSettings) GoString() string { + return s.String() +} + +// SetDestination sets the Destination field's value. +func (s *ArchiveGroupSettings) SetDestination(v *OutputLocationRef) *ArchiveGroupSettings { + s.Destination = v + return s +} + +// SetRolloverInterval sets the RolloverInterval field's value. +func (s *ArchiveGroupSettings) SetRolloverInterval(v int64) *ArchiveGroupSettings { + s.RolloverInterval = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ArchiveOutputSettings +type ArchiveOutputSettings struct { + _ struct{} `type:"structure"` + + // Settings specific to the container type of the file. + ContainerSettings *ArchiveContainerSettings `locationName:"containerSettings" type:"structure"` + + // Output file extension. If excluded, this will be auto-selected from the container + // type. + Extension *string `locationName:"extension" type:"string"` + + // String concatenated to the end of the destination filename. Required for + // multiple outputs of the same type. + NameModifier *string `locationName:"nameModifier" type:"string"` +} + +// String returns the string representation +func (s ArchiveOutputSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ArchiveOutputSettings) GoString() string { + return s.String() +} + +// SetContainerSettings sets the ContainerSettings field's value. +func (s *ArchiveOutputSettings) SetContainerSettings(v *ArchiveContainerSettings) *ArchiveOutputSettings { + s.ContainerSettings = v + return s +} + +// SetExtension sets the Extension field's value. +func (s *ArchiveOutputSettings) SetExtension(v string) *ArchiveOutputSettings { + s.Extension = &v + return s +} + +// SetNameModifier sets the NameModifier field's value. +func (s *ArchiveOutputSettings) SetNameModifier(v string) *ArchiveOutputSettings { + s.NameModifier = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AribDestinationSettings +type AribDestinationSettings struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AribDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AribDestinationSettings) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AribSourceSettings +type AribSourceSettings struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AribSourceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AribSourceSettings) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioChannelMapping +type AudioChannelMapping struct { + _ struct{} `type:"structure"` + + // Indices and gain values for each input channel that should be remixed into + // this output channel. + InputChannelLevels []*InputChannelLevel `locationName:"inputChannelLevels" type:"list"` + + // The index of the output channel being produced. + OutputChannel *int64 `locationName:"outputChannel" type:"integer"` +} + +// String returns the string representation +func (s AudioChannelMapping) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AudioChannelMapping) GoString() string { + return s.String() +} + +// SetInputChannelLevels sets the InputChannelLevels field's value. +func (s *AudioChannelMapping) SetInputChannelLevels(v []*InputChannelLevel) *AudioChannelMapping { + s.InputChannelLevels = v + return s +} + +// SetOutputChannel sets the OutputChannel field's value. +func (s *AudioChannelMapping) SetOutputChannel(v int64) *AudioChannelMapping { + s.OutputChannel = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioCodecSettings +type AudioCodecSettings struct { + _ struct{} `type:"structure"` + + AacSettings *AacSettings `locationName:"aacSettings" type:"structure"` + + Ac3Settings *Ac3Settings `locationName:"ac3Settings" type:"structure"` + + Eac3Settings *Eac3Settings `locationName:"eac3Settings" type:"structure"` + + Mp2Settings *Mp2Settings `locationName:"mp2Settings" type:"structure"` + + PassThroughSettings *PassThroughSettings `locationName:"passThroughSettings" type:"structure"` +} + +// String returns the string representation +func (s AudioCodecSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AudioCodecSettings) GoString() string { + return s.String() +} + +// SetAacSettings sets the AacSettings field's value. +func (s *AudioCodecSettings) SetAacSettings(v *AacSettings) *AudioCodecSettings { + s.AacSettings = v + return s +} + +// SetAc3Settings sets the Ac3Settings field's value. +func (s *AudioCodecSettings) SetAc3Settings(v *Ac3Settings) *AudioCodecSettings { + s.Ac3Settings = v + return s +} + +// SetEac3Settings sets the Eac3Settings field's value. +func (s *AudioCodecSettings) SetEac3Settings(v *Eac3Settings) *AudioCodecSettings { + s.Eac3Settings = v + return s +} + +// SetMp2Settings sets the Mp2Settings field's value. +func (s *AudioCodecSettings) SetMp2Settings(v *Mp2Settings) *AudioCodecSettings { + s.Mp2Settings = v + return s +} + +// SetPassThroughSettings sets the PassThroughSettings field's value. +func (s *AudioCodecSettings) SetPassThroughSettings(v *PassThroughSettings) *AudioCodecSettings { + s.PassThroughSettings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioDescription +type AudioDescription struct { + _ struct{} `type:"structure"` + + // Advanced audio normalization settings. + AudioNormalizationSettings *AudioNormalizationSettings `locationName:"audioNormalizationSettings" type:"structure"` + + // The name of the AudioSelector used as the source for this AudioDescription. + AudioSelectorName *string `locationName:"audioSelectorName" type:"string"` + + // Applies only if audioTypeControl is useConfigured. The values for audioType + // are defined in ISO-IEC 13818-1. + AudioType *string `locationName:"audioType" type:"string" enum:"AudioType"` + + // Determines how audio type is determined. followInput: If the input contains + // an ISO 639 audioType, then that value is passed through to the output. If + // the input contains no ISO 639 audioType, the value in Audio Type is included + // in the output. useConfigured: The value in Audio Type is included in the + // output.Note that this field and audioType are both ignored if inputType is + // broadcasterMixedAd. + AudioTypeControl *string `locationName:"audioTypeControl" type:"string" enum:"AudioDescriptionAudioTypeControl"` + + // Audio codec settings. + CodecSettings *AudioCodecSettings `locationName:"codecSettings" type:"structure"` + + // Indicates the language of the audio output track. Only used if languageControlMode + // is useConfigured, or there is no ISO 639 language code specified in the input. + LanguageCode *string `locationName:"languageCode" type:"string"` + + // Choosing followInput will cause the ISO 639 language code of the output to + // follow the ISO 639 language code of the input. The languageCode will be used + // when useConfigured is set, or when followInput is selected but there is no + // ISO 639 language code specified by the input. + LanguageCodeControl *string `locationName:"languageCodeControl" type:"string" enum:"AudioDescriptionLanguageCodeControl"` + + // The name of this AudioDescription. Outputs will use this name to uniquely + // identify this AudioDescription. Description names should be unique within + // this Live Event. + Name *string `locationName:"name" type:"string"` + + // Settings that control how input audio channels are remixed into the output + // audio channels. + RemixSettings *RemixSettings `locationName:"remixSettings" type:"structure"` + + // Used for MS Smooth and Apple HLS outputs. Indicates the name displayed by + // the player (eg. English, or Director Commentary). + StreamName *string `locationName:"streamName" type:"string"` +} + +// String returns the string representation +func (s AudioDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AudioDescription) GoString() string { + return s.String() +} + +// SetAudioNormalizationSettings sets the AudioNormalizationSettings field's value. +func (s *AudioDescription) SetAudioNormalizationSettings(v *AudioNormalizationSettings) *AudioDescription { + s.AudioNormalizationSettings = v + return s +} + +// SetAudioSelectorName sets the AudioSelectorName field's value. +func (s *AudioDescription) SetAudioSelectorName(v string) *AudioDescription { + s.AudioSelectorName = &v + return s +} + +// SetAudioType sets the AudioType field's value. +func (s *AudioDescription) SetAudioType(v string) *AudioDescription { + s.AudioType = &v + return s +} + +// SetAudioTypeControl sets the AudioTypeControl field's value. +func (s *AudioDescription) SetAudioTypeControl(v string) *AudioDescription { + s.AudioTypeControl = &v + return s +} + +// SetCodecSettings sets the CodecSettings field's value. +func (s *AudioDescription) SetCodecSettings(v *AudioCodecSettings) *AudioDescription { + s.CodecSettings = v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *AudioDescription) SetLanguageCode(v string) *AudioDescription { + s.LanguageCode = &v + return s +} + +// SetLanguageCodeControl sets the LanguageCodeControl field's value. +func (s *AudioDescription) SetLanguageCodeControl(v string) *AudioDescription { + s.LanguageCodeControl = &v + return s +} + +// SetName sets the Name field's value. +func (s *AudioDescription) SetName(v string) *AudioDescription { + s.Name = &v + return s +} + +// SetRemixSettings sets the RemixSettings field's value. +func (s *AudioDescription) SetRemixSettings(v *RemixSettings) *AudioDescription { + s.RemixSettings = v + return s +} + +// SetStreamName sets the StreamName field's value. +func (s *AudioDescription) SetStreamName(v string) *AudioDescription { + s.StreamName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioLanguageSelection +type AudioLanguageSelection struct { + _ struct{} `type:"structure"` + + // Selects a specific three-letter language code from within an audio source. + LanguageCode *string `locationName:"languageCode" type:"string"` + + // When set to "strict", the transport stream demux strictly identifies audio + // streams by their language descriptor. If a PMT update occurs such that an + // audio stream matching the initially selected language is no longer present + // then mute will be encoded until the language returns. If "loose", then on + // a PMT update the demux will choose another audio stream in the program with + // the same stream type if it can't find one with the same language. + LanguageSelectionPolicy *string `locationName:"languageSelectionPolicy" type:"string" enum:"AudioLanguageSelectionPolicy"` +} + +// String returns the string representation +func (s AudioLanguageSelection) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AudioLanguageSelection) GoString() string { + return s.String() +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *AudioLanguageSelection) SetLanguageCode(v string) *AudioLanguageSelection { + s.LanguageCode = &v + return s +} + +// SetLanguageSelectionPolicy sets the LanguageSelectionPolicy field's value. +func (s *AudioLanguageSelection) SetLanguageSelectionPolicy(v string) *AudioLanguageSelection { + s.LanguageSelectionPolicy = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioNormalizationSettings +type AudioNormalizationSettings struct { + _ struct{} `type:"structure"` + + // Audio normalization algorithm to use. itu17701 conforms to the CALM Act specification, + // itu17702 conforms to the EBU R-128 specification. + Algorithm *string `locationName:"algorithm" type:"string" enum:"AudioNormalizationAlgorithm"` + + // When set to correctAudio the output audio is corrected using the chosen algorithm. + // If set to measureOnly, the audio will be measured but not adjusted. + AlgorithmControl *string `locationName:"algorithmControl" type:"string" enum:"AudioNormalizationAlgorithmControl"` + + // Target LKFS(loudness) to adjust volume to. If no value is entered, a default + // value will be used according to the chosen algorithm. The CALM Act (1770-1) + // recommends a target of -24 LKFS. The EBU R-128 specification (1770-2) recommends + // a target of -23 LKFS. + TargetLkfs *float64 `locationName:"targetLkfs" type:"double"` +} + +// String returns the string representation +func (s AudioNormalizationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AudioNormalizationSettings) GoString() string { + return s.String() +} + +// SetAlgorithm sets the Algorithm field's value. +func (s *AudioNormalizationSettings) SetAlgorithm(v string) *AudioNormalizationSettings { + s.Algorithm = &v + return s +} + +// SetAlgorithmControl sets the AlgorithmControl field's value. +func (s *AudioNormalizationSettings) SetAlgorithmControl(v string) *AudioNormalizationSettings { + s.AlgorithmControl = &v + return s +} + +// SetTargetLkfs sets the TargetLkfs field's value. +func (s *AudioNormalizationSettings) SetTargetLkfs(v float64) *AudioNormalizationSettings { + s.TargetLkfs = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioOnlyHlsSettings +type AudioOnlyHlsSettings struct { + _ struct{} `type:"structure"` + + // Specifies the group to which the audio Rendition belongs. + AudioGroupId *string `locationName:"audioGroupId" type:"string"` + + // For use with an audio only Stream. Must be a .jpg or .png file. If given, + // this image will be used as the cover-art for the audio only output. Ideally, + // it should be formatted for an iPhone screen for two reasons. The iPhone does + // not resize the image, it crops a centered image on the top/bottom and left/right. + // Additionally, this image file gets saved bit-for-bit into every 10-second + // segment file, so will increase bandwidth by {image file size} * {segment + // count} * {user count.}. + AudioOnlyImage *InputLocation `locationName:"audioOnlyImage" type:"structure"` + + // Four types of audio-only tracks are supported:Audio-Only Variant StreamThe + // client can play back this audio-only stream instead of video in low-bandwidth + // scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest.Alternate + // Audio, Auto Select, DefaultAlternate rendition that the client should try + // to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest + // with DEFAULT=YES, AUTOSELECT=YESAlternate Audio, Auto Select, Not DefaultAlternate + // rendition that the client may try to play back by default. Represented as + // an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YESAlternate + // Audio, not Auto SelectAlternate rendition that the client will not try to + // play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with + // DEFAULT=NO, AUTOSELECT=NO + AudioTrackType *string `locationName:"audioTrackType" type:"string" enum:"AudioOnlyHlsTrackType"` +} + +// String returns the string representation +func (s AudioOnlyHlsSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AudioOnlyHlsSettings) GoString() string { + return s.String() +} + +// SetAudioGroupId sets the AudioGroupId field's value. +func (s *AudioOnlyHlsSettings) SetAudioGroupId(v string) *AudioOnlyHlsSettings { + s.AudioGroupId = &v + return s +} + +// SetAudioOnlyImage sets the AudioOnlyImage field's value. +func (s *AudioOnlyHlsSettings) SetAudioOnlyImage(v *InputLocation) *AudioOnlyHlsSettings { + s.AudioOnlyImage = v + return s +} + +// SetAudioTrackType sets the AudioTrackType field's value. +func (s *AudioOnlyHlsSettings) SetAudioTrackType(v string) *AudioOnlyHlsSettings { + s.AudioTrackType = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioPidSelection +type AudioPidSelection struct { + _ struct{} `type:"structure"` + + // Selects a specific PID from within a source. + Pid *int64 `locationName:"pid" type:"integer"` +} + +// String returns the string representation +func (s AudioPidSelection) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AudioPidSelection) GoString() string { + return s.String() +} + +// SetPid sets the Pid field's value. +func (s *AudioPidSelection) SetPid(v int64) *AudioPidSelection { + s.Pid = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioSelector +type AudioSelector struct { + _ struct{} `type:"structure"` + + // The name of this AudioSelector. AudioDescriptions will use this name to uniquely + // identify this Selector. Selector names should be unique per input. + Name *string `locationName:"name" type:"string"` + + // The audio selector settings. + SelectorSettings *AudioSelectorSettings `locationName:"selectorSettings" type:"structure"` +} + +// String returns the string representation +func (s AudioSelector) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AudioSelector) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *AudioSelector) SetName(v string) *AudioSelector { + s.Name = &v + return s +} + +// SetSelectorSettings sets the SelectorSettings field's value. +func (s *AudioSelector) SetSelectorSettings(v *AudioSelectorSettings) *AudioSelector { + s.SelectorSettings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioSelectorSettings +type AudioSelectorSettings struct { + _ struct{} `type:"structure"` + + AudioLanguageSelection *AudioLanguageSelection `locationName:"audioLanguageSelection" type:"structure"` + + AudioPidSelection *AudioPidSelection `locationName:"audioPidSelection" type:"structure"` +} + +// String returns the string representation +func (s AudioSelectorSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AudioSelectorSettings) GoString() string { + return s.String() +} + +// SetAudioLanguageSelection sets the AudioLanguageSelection field's value. +func (s *AudioSelectorSettings) SetAudioLanguageSelection(v *AudioLanguageSelection) *AudioSelectorSettings { + s.AudioLanguageSelection = v + return s +} + +// SetAudioPidSelection sets the AudioPidSelection field's value. +func (s *AudioSelectorSettings) SetAudioPidSelection(v *AudioPidSelection) *AudioSelectorSettings { + s.AudioPidSelection = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AvailBlanking +type AvailBlanking struct { + _ struct{} `type:"structure"` + + // Blanking image to be used. Leave empty for solid black. Only bmp and png + // images are supported. + AvailBlankingImage *InputLocation `locationName:"availBlankingImage" type:"structure"` + + // When set to enabled, causes video, audio and captions to be blanked when + // insertion metadata is added. + State *string `locationName:"state" type:"string" enum:"AvailBlankingState"` +} + +// String returns the string representation +func (s AvailBlanking) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AvailBlanking) GoString() string { + return s.String() +} + +// SetAvailBlankingImage sets the AvailBlankingImage field's value. +func (s *AvailBlanking) SetAvailBlankingImage(v *InputLocation) *AvailBlanking { + s.AvailBlankingImage = v + return s +} + +// SetState sets the State field's value. +func (s *AvailBlanking) SetState(v string) *AvailBlanking { + s.State = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AvailConfiguration +type AvailConfiguration struct { + _ struct{} `type:"structure"` + + // Ad avail settings. + AvailSettings *AvailSettings `locationName:"availSettings" type:"structure"` +} + +// String returns the string representation +func (s AvailConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AvailConfiguration) GoString() string { + return s.String() +} + +// SetAvailSettings sets the AvailSettings field's value. +func (s *AvailConfiguration) SetAvailSettings(v *AvailSettings) *AvailConfiguration { + s.AvailSettings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AvailSettings +type AvailSettings struct { + _ struct{} `type:"structure"` + + Scte35SpliceInsert *Scte35SpliceInsert `locationName:"scte35SpliceInsert" type:"structure"` + + Scte35TimeSignalApos *Scte35TimeSignalApos `locationName:"scte35TimeSignalApos" type:"structure"` +} + +// String returns the string representation +func (s AvailSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AvailSettings) GoString() string { + return s.String() +} + +// SetScte35SpliceInsert sets the Scte35SpliceInsert field's value. +func (s *AvailSettings) SetScte35SpliceInsert(v *Scte35SpliceInsert) *AvailSettings { + s.Scte35SpliceInsert = v + return s +} + +// SetScte35TimeSignalApos sets the Scte35TimeSignalApos field's value. +func (s *AvailSettings) SetScte35TimeSignalApos(v *Scte35TimeSignalApos) *AvailSettings { + s.Scte35TimeSignalApos = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BlackoutSlate +type BlackoutSlate struct { + _ struct{} `type:"structure"` + + // Blackout slate image to be used. Leave empty for solid black. Only bmp and + // png images are supported. + BlackoutSlateImage *InputLocation `locationName:"blackoutSlateImage" type:"structure"` + + // Setting to enabled causes the encoder to blackout the video, audio, and captions, + // and raise the "Network Blackout Image" slate when an SCTE104/35 Network End + // Segmentation Descriptor is encountered. The blackout will be lifted when + // the Network Start Segmentation Descriptor is encountered. The Network End + // and Network Start descriptors must contain a network ID that matches the + // value entered in "Network ID". + NetworkEndBlackout *string `locationName:"networkEndBlackout" type:"string" enum:"BlackoutSlateNetworkEndBlackout"` + + // Path to local file to use as Network End Blackout image. Image will be scaled + // to fill the entire output raster. + NetworkEndBlackoutImage *InputLocation `locationName:"networkEndBlackoutImage" type:"structure"` + + // Provides Network ID that matches EIDR ID format (e.g., "10.XXXX/XXXX-XXXX-XXXX-XXXX-XXXX-C"). + NetworkId *string `locationName:"networkId" type:"string"` + + // When set to enabled, causes video, audio and captions to be blanked when + // indicated by program metadata. + State *string `locationName:"state" type:"string" enum:"BlackoutSlateState"` +} + +// String returns the string representation +func (s BlackoutSlate) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BlackoutSlate) GoString() string { + return s.String() +} + +// SetBlackoutSlateImage sets the BlackoutSlateImage field's value. +func (s *BlackoutSlate) SetBlackoutSlateImage(v *InputLocation) *BlackoutSlate { + s.BlackoutSlateImage = v + return s +} + +// SetNetworkEndBlackout sets the NetworkEndBlackout field's value. +func (s *BlackoutSlate) SetNetworkEndBlackout(v string) *BlackoutSlate { + s.NetworkEndBlackout = &v + return s +} + +// SetNetworkEndBlackoutImage sets the NetworkEndBlackoutImage field's value. +func (s *BlackoutSlate) SetNetworkEndBlackoutImage(v *InputLocation) *BlackoutSlate { + s.NetworkEndBlackoutImage = v + return s +} + +// SetNetworkId sets the NetworkId field's value. +func (s *BlackoutSlate) SetNetworkId(v string) *BlackoutSlate { + s.NetworkId = &v + return s +} + +// SetState sets the State field's value. +func (s *BlackoutSlate) SetState(v string) *BlackoutSlate { + s.State = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BurnInDestinationSettings +type BurnInDestinationSettings struct { + _ struct{} `type:"structure"` + + // If no explicit xPosition or yPosition is provided, setting alignment to centered + // will place the captions at the bottom center of the output. Similarly, setting + // a left alignment will align captions to the bottom left of the output. If + // x and y positions are given in conjunction with the alignment parameter, + // the font will be justified (either left or centered) relative to those coordinates. + // Selecting "smart" justification will left-justify live subtitles and center-justify + // pre-recorded subtitles. All burn-in and DVB-Sub font settings must match. + Alignment *string `locationName:"alignment" type:"string" enum:"BurnInAlignment"` + + // Specifies the color of the rectangle behind the captions. All burn-in and + // DVB-Sub font settings must match. + BackgroundColor *string `locationName:"backgroundColor" type:"string" enum:"BurnInBackgroundColor"` + + // Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. + // Leaving this parameter out is equivalent to setting it to 0 (transparent). + // All burn-in and DVB-Sub font settings must match. + BackgroundOpacity *int64 `locationName:"backgroundOpacity" type:"integer"` + + // External font file used for caption burn-in. File extension must be 'ttf' + // or 'tte'. Although the user can select output fonts for many different types + // of input captions, embedded, STL and teletext sources use a strict grid system. + // Using external fonts with these caption sources could cause unexpected display + // of proportional fonts. All burn-in and DVB-Sub font settings must match. + Font *InputLocation `locationName:"font" type:"structure"` + + // Specifies the color of the burned-in captions. This option is not valid for + // source captions that are STL, 608/embedded or teletext. These source settings + // are already pre-defined by the caption stream. All burn-in and DVB-Sub font + // settings must match. + FontColor *string `locationName:"fontColor" type:"string" enum:"BurnInFontColor"` + + // Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. + // All burn-in and DVB-Sub font settings must match. + FontOpacity *int64 `locationName:"fontOpacity" type:"integer"` + + // Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and + // DVB-Sub font settings must match. + FontResolution *int64 `locationName:"fontResolution" type:"integer"` + + // When set to 'auto' fontSize will scale depending on the size of the output. + // Giving a positive integer will specify the exact font size in points. All + // burn-in and DVB-Sub font settings must match. + FontSize *string `locationName:"fontSize" type:"string"` + + // Specifies font outline color. This option is not valid for source captions + // that are either 608/embedded or teletext. These source settings are already + // pre-defined by the caption stream. All burn-in and DVB-Sub font settings + // must match. + OutlineColor *string `locationName:"outlineColor" type:"string" enum:"BurnInOutlineColor"` + + // Specifies font outline size in pixels. This option is not valid for source + // captions that are either 608/embedded or teletext. These source settings + // are already pre-defined by the caption stream. All burn-in and DVB-Sub font + // settings must match. + OutlineSize *int64 `locationName:"outlineSize" type:"integer"` + + // Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub + // font settings must match. + ShadowColor *string `locationName:"shadowColor" type:"string" enum:"BurnInShadowColor"` + + // Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving + // this parameter out is equivalent to setting it to 0 (transparent). All burn-in + // and DVB-Sub font settings must match. + ShadowOpacity *int64 `locationName:"shadowOpacity" type:"integer"` + + // Specifies the horizontal offset of the shadow relative to the captions in + // pixels. A value of -2 would result in a shadow offset 2 pixels to the left. + // All burn-in and DVB-Sub font settings must match. + ShadowXOffset *int64 `locationName:"shadowXOffset" type:"integer"` + + // Specifies the vertical offset of the shadow relative to the captions in pixels. + // A value of -2 would result in a shadow offset 2 pixels above the text. All + // burn-in and DVB-Sub font settings must match. + ShadowYOffset *int64 `locationName:"shadowYOffset" type:"integer"` + + // Controls whether a fixed grid size will be used to generate the output subtitles + // bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs. + TeletextGridControl *string `locationName:"teletextGridControl" type:"string" enum:"BurnInTeletextGridControl"` + + // Specifies the horizontal position of the caption relative to the left side + // of the output in pixels. A value of 10 would result in the captions starting + // 10 pixels from the left of the output. If no explicit xPosition is provided, + // the horizontal caption position will be determined by the alignment parameter. + // All burn-in and DVB-Sub font settings must match. + XPosition *int64 `locationName:"xPosition" type:"integer"` + + // Specifies the vertical position of the caption relative to the top of the + // output in pixels. A value of 10 would result in the captions starting 10 + // pixels from the top of the output. If no explicit yPosition is provided, + // the caption will be positioned towards the bottom of the output. All burn-in + // and DVB-Sub font settings must match. + YPosition *int64 `locationName:"yPosition" type:"integer"` +} + +// String returns the string representation +func (s BurnInDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BurnInDestinationSettings) GoString() string { + return s.String() +} + +// SetAlignment sets the Alignment field's value. +func (s *BurnInDestinationSettings) SetAlignment(v string) *BurnInDestinationSettings { + s.Alignment = &v + return s +} + +// SetBackgroundColor sets the BackgroundColor field's value. +func (s *BurnInDestinationSettings) SetBackgroundColor(v string) *BurnInDestinationSettings { + s.BackgroundColor = &v + return s +} + +// SetBackgroundOpacity sets the BackgroundOpacity field's value. +func (s *BurnInDestinationSettings) SetBackgroundOpacity(v int64) *BurnInDestinationSettings { + s.BackgroundOpacity = &v + return s +} + +// SetFont sets the Font field's value. +func (s *BurnInDestinationSettings) SetFont(v *InputLocation) *BurnInDestinationSettings { + s.Font = v + return s +} + +// SetFontColor sets the FontColor field's value. +func (s *BurnInDestinationSettings) SetFontColor(v string) *BurnInDestinationSettings { + s.FontColor = &v + return s +} + +// SetFontOpacity sets the FontOpacity field's value. +func (s *BurnInDestinationSettings) SetFontOpacity(v int64) *BurnInDestinationSettings { + s.FontOpacity = &v + return s +} + +// SetFontResolution sets the FontResolution field's value. +func (s *BurnInDestinationSettings) SetFontResolution(v int64) *BurnInDestinationSettings { + s.FontResolution = &v + return s +} + +// SetFontSize sets the FontSize field's value. +func (s *BurnInDestinationSettings) SetFontSize(v string) *BurnInDestinationSettings { + s.FontSize = &v + return s +} + +// SetOutlineColor sets the OutlineColor field's value. +func (s *BurnInDestinationSettings) SetOutlineColor(v string) *BurnInDestinationSettings { + s.OutlineColor = &v + return s +} + +// SetOutlineSize sets the OutlineSize field's value. +func (s *BurnInDestinationSettings) SetOutlineSize(v int64) *BurnInDestinationSettings { + s.OutlineSize = &v + return s +} + +// SetShadowColor sets the ShadowColor field's value. +func (s *BurnInDestinationSettings) SetShadowColor(v string) *BurnInDestinationSettings { + s.ShadowColor = &v + return s +} + +// SetShadowOpacity sets the ShadowOpacity field's value. +func (s *BurnInDestinationSettings) SetShadowOpacity(v int64) *BurnInDestinationSettings { + s.ShadowOpacity = &v + return s +} + +// SetShadowXOffset sets the ShadowXOffset field's value. +func (s *BurnInDestinationSettings) SetShadowXOffset(v int64) *BurnInDestinationSettings { + s.ShadowXOffset = &v + return s +} + +// SetShadowYOffset sets the ShadowYOffset field's value. +func (s *BurnInDestinationSettings) SetShadowYOffset(v int64) *BurnInDestinationSettings { + s.ShadowYOffset = &v + return s +} + +// SetTeletextGridControl sets the TeletextGridControl field's value. +func (s *BurnInDestinationSettings) SetTeletextGridControl(v string) *BurnInDestinationSettings { + s.TeletextGridControl = &v + return s +} + +// SetXPosition sets the XPosition field's value. +func (s *BurnInDestinationSettings) SetXPosition(v int64) *BurnInDestinationSettings { + s.XPosition = &v + return s +} + +// SetYPosition sets the YPosition field's value. +func (s *BurnInDestinationSettings) SetYPosition(v int64) *BurnInDestinationSettings { + s.YPosition = &v + return s +} + +// Output groups for this Live Event. Output groups contain information about +// where streams should be distributed. +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CaptionDescription +type CaptionDescription struct { + _ struct{} `type:"structure"` + + // Specifies which input caption selector to use as a caption source when generating + // output captions. This field should match a captionSelector name. + CaptionSelectorName *string `locationName:"captionSelectorName" type:"string"` + + // Additional settings for captions destination that depend on the destination + // type. + DestinationSettings *CaptionDestinationSettings `locationName:"destinationSettings" type:"structure"` + + // ISO 639-2 three-digit code: http://www.loc.gov/standards/iso639-2/ + LanguageCode *string `locationName:"languageCode" type:"string"` + + // Human readable information to indicate captions available for players (eg. + // English, or Spanish). + LanguageDescription *string `locationName:"languageDescription" type:"string"` + + // Name of the caption description. Used to associate a caption description + // with an output. Names must be unique within an event. + Name *string `locationName:"name" type:"string"` +} + +// String returns the string representation +func (s CaptionDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CaptionDescription) GoString() string { + return s.String() +} + +// SetCaptionSelectorName sets the CaptionSelectorName field's value. +func (s *CaptionDescription) SetCaptionSelectorName(v string) *CaptionDescription { + s.CaptionSelectorName = &v + return s +} + +// SetDestinationSettings sets the DestinationSettings field's value. +func (s *CaptionDescription) SetDestinationSettings(v *CaptionDestinationSettings) *CaptionDescription { + s.DestinationSettings = v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *CaptionDescription) SetLanguageCode(v string) *CaptionDescription { + s.LanguageCode = &v + return s +} + +// SetLanguageDescription sets the LanguageDescription field's value. +func (s *CaptionDescription) SetLanguageDescription(v string) *CaptionDescription { + s.LanguageDescription = &v + return s +} + +// SetName sets the Name field's value. +func (s *CaptionDescription) SetName(v string) *CaptionDescription { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CaptionDestinationSettings +type CaptionDestinationSettings struct { + _ struct{} `type:"structure"` + + AribDestinationSettings *AribDestinationSettings `locationName:"aribDestinationSettings" type:"structure"` + + BurnInDestinationSettings *BurnInDestinationSettings `locationName:"burnInDestinationSettings" type:"structure"` + + DvbSubDestinationSettings *DvbSubDestinationSettings `locationName:"dvbSubDestinationSettings" type:"structure"` + + EmbeddedDestinationSettings *EmbeddedDestinationSettings `locationName:"embeddedDestinationSettings" type:"structure"` + + EmbeddedPlusScte20DestinationSettings *EmbeddedPlusScte20DestinationSettings `locationName:"embeddedPlusScte20DestinationSettings" type:"structure"` + + Scte20PlusEmbeddedDestinationSettings *Scte20PlusEmbeddedDestinationSettings `locationName:"scte20PlusEmbeddedDestinationSettings" type:"structure"` + + Scte27DestinationSettings *Scte27DestinationSettings `locationName:"scte27DestinationSettings" type:"structure"` + + SmpteTtDestinationSettings *SmpteTtDestinationSettings `locationName:"smpteTtDestinationSettings" type:"structure"` + + TeletextDestinationSettings *TeletextDestinationSettings `locationName:"teletextDestinationSettings" type:"structure"` + + TtmlDestinationSettings *TtmlDestinationSettings `locationName:"ttmlDestinationSettings" type:"structure"` + + WebvttDestinationSettings *WebvttDestinationSettings `locationName:"webvttDestinationSettings" type:"structure"` +} + +// String returns the string representation +func (s CaptionDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CaptionDestinationSettings) GoString() string { + return s.String() +} + +// SetAribDestinationSettings sets the AribDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetAribDestinationSettings(v *AribDestinationSettings) *CaptionDestinationSettings { + s.AribDestinationSettings = v + return s +} + +// SetBurnInDestinationSettings sets the BurnInDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetBurnInDestinationSettings(v *BurnInDestinationSettings) *CaptionDestinationSettings { + s.BurnInDestinationSettings = v + return s +} + +// SetDvbSubDestinationSettings sets the DvbSubDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetDvbSubDestinationSettings(v *DvbSubDestinationSettings) *CaptionDestinationSettings { + s.DvbSubDestinationSettings = v + return s +} + +// SetEmbeddedDestinationSettings sets the EmbeddedDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetEmbeddedDestinationSettings(v *EmbeddedDestinationSettings) *CaptionDestinationSettings { + s.EmbeddedDestinationSettings = v + return s +} + +// SetEmbeddedPlusScte20DestinationSettings sets the EmbeddedPlusScte20DestinationSettings field's value. +func (s *CaptionDestinationSettings) SetEmbeddedPlusScte20DestinationSettings(v *EmbeddedPlusScte20DestinationSettings) *CaptionDestinationSettings { + s.EmbeddedPlusScte20DestinationSettings = v + return s +} + +// SetScte20PlusEmbeddedDestinationSettings sets the Scte20PlusEmbeddedDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetScte20PlusEmbeddedDestinationSettings(v *Scte20PlusEmbeddedDestinationSettings) *CaptionDestinationSettings { + s.Scte20PlusEmbeddedDestinationSettings = v + return s +} + +// SetScte27DestinationSettings sets the Scte27DestinationSettings field's value. +func (s *CaptionDestinationSettings) SetScte27DestinationSettings(v *Scte27DestinationSettings) *CaptionDestinationSettings { + s.Scte27DestinationSettings = v + return s +} + +// SetSmpteTtDestinationSettings sets the SmpteTtDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetSmpteTtDestinationSettings(v *SmpteTtDestinationSettings) *CaptionDestinationSettings { + s.SmpteTtDestinationSettings = v + return s +} + +// SetTeletextDestinationSettings sets the TeletextDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetTeletextDestinationSettings(v *TeletextDestinationSettings) *CaptionDestinationSettings { + s.TeletextDestinationSettings = v + return s +} + +// SetTtmlDestinationSettings sets the TtmlDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetTtmlDestinationSettings(v *TtmlDestinationSettings) *CaptionDestinationSettings { + s.TtmlDestinationSettings = v + return s +} + +// SetWebvttDestinationSettings sets the WebvttDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetWebvttDestinationSettings(v *WebvttDestinationSettings) *CaptionDestinationSettings { + s.WebvttDestinationSettings = v + return s +} + +// Maps a caption channel to an ISO 693-2 language code (http://www.loc.gov/standards/iso639-2), +// with an optional description. +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CaptionLanguageMapping +type CaptionLanguageMapping struct { + _ struct{} `type:"structure"` + + // Channel to insert closed captions. Each channel mapping must have a unique + // channel number (maximum of 4) + CaptionChannel *int64 `locationName:"captionChannel" type:"integer"` + + // Three character ISO 639-2 language code (see http://www.loc.gov/standards/iso639-2) + LanguageCode *string `locationName:"languageCode" type:"string"` + + // Textual description of language + LanguageDescription *string `locationName:"languageDescription" type:"string"` +} + +// String returns the string representation +func (s CaptionLanguageMapping) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CaptionLanguageMapping) GoString() string { + return s.String() +} + +// SetCaptionChannel sets the CaptionChannel field's value. +func (s *CaptionLanguageMapping) SetCaptionChannel(v int64) *CaptionLanguageMapping { + s.CaptionChannel = &v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *CaptionLanguageMapping) SetLanguageCode(v string) *CaptionLanguageMapping { + s.LanguageCode = &v + return s +} + +// SetLanguageDescription sets the LanguageDescription field's value. +func (s *CaptionLanguageMapping) SetLanguageDescription(v string) *CaptionLanguageMapping { + s.LanguageDescription = &v + return s +} + +// Output groups for this Live Event. Output groups contain information about +// where streams should be distributed. +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CaptionSelector +type CaptionSelector struct { + _ struct{} `type:"structure"` + + // When specified this field indicates the three letter language code of the + // caption track to extract from the source. + LanguageCode *string `locationName:"languageCode" type:"string"` + + // Name identifier for a caption selector. This name is used to associate this + // caption selector with one or more caption descriptions. Names must be unique + // within an event. + Name *string `locationName:"name" type:"string"` + + // Caption selector settings. + SelectorSettings *CaptionSelectorSettings `locationName:"selectorSettings" type:"structure"` +} + +// String returns the string representation +func (s CaptionSelector) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CaptionSelector) GoString() string { + return s.String() +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *CaptionSelector) SetLanguageCode(v string) *CaptionSelector { + s.LanguageCode = &v + return s +} + +// SetName sets the Name field's value. +func (s *CaptionSelector) SetName(v string) *CaptionSelector { + s.Name = &v + return s +} + +// SetSelectorSettings sets the SelectorSettings field's value. +func (s *CaptionSelector) SetSelectorSettings(v *CaptionSelectorSettings) *CaptionSelector { + s.SelectorSettings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CaptionSelectorSettings +type CaptionSelectorSettings struct { + _ struct{} `type:"structure"` + + AribSourceSettings *AribSourceSettings `locationName:"aribSourceSettings" type:"structure"` + + DvbSubSourceSettings *DvbSubSourceSettings `locationName:"dvbSubSourceSettings" type:"structure"` + + EmbeddedSourceSettings *EmbeddedSourceSettings `locationName:"embeddedSourceSettings" type:"structure"` + + Scte20SourceSettings *Scte20SourceSettings `locationName:"scte20SourceSettings" type:"structure"` + + Scte27SourceSettings *Scte27SourceSettings `locationName:"scte27SourceSettings" type:"structure"` + + TeletextSourceSettings *TeletextSourceSettings `locationName:"teletextSourceSettings" type:"structure"` +} + +// String returns the string representation +func (s CaptionSelectorSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CaptionSelectorSettings) GoString() string { + return s.String() +} + +// SetAribSourceSettings sets the AribSourceSettings field's value. +func (s *CaptionSelectorSettings) SetAribSourceSettings(v *AribSourceSettings) *CaptionSelectorSettings { + s.AribSourceSettings = v + return s +} + +// SetDvbSubSourceSettings sets the DvbSubSourceSettings field's value. +func (s *CaptionSelectorSettings) SetDvbSubSourceSettings(v *DvbSubSourceSettings) *CaptionSelectorSettings { + s.DvbSubSourceSettings = v + return s +} + +// SetEmbeddedSourceSettings sets the EmbeddedSourceSettings field's value. +func (s *CaptionSelectorSettings) SetEmbeddedSourceSettings(v *EmbeddedSourceSettings) *CaptionSelectorSettings { + s.EmbeddedSourceSettings = v + return s +} + +// SetScte20SourceSettings sets the Scte20SourceSettings field's value. +func (s *CaptionSelectorSettings) SetScte20SourceSettings(v *Scte20SourceSettings) *CaptionSelectorSettings { + s.Scte20SourceSettings = v + return s +} + +// SetScte27SourceSettings sets the Scte27SourceSettings field's value. +func (s *CaptionSelectorSettings) SetScte27SourceSettings(v *Scte27SourceSettings) *CaptionSelectorSettings { + s.Scte27SourceSettings = v + return s +} + +// SetTeletextSourceSettings sets the TeletextSourceSettings field's value. +func (s *CaptionSelectorSettings) SetTeletextSourceSettings(v *TeletextSourceSettings) *CaptionSelectorSettings { + s.TeletextSourceSettings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Channel +type Channel struct { + _ struct{} `type:"structure"` + + // The unique arn of the channel. + Arn *string `locationName:"arn" type:"string"` + + // A list of destinations of the channel. For UDP outputs, there is onedestination + // per output. For other types (HLS, for example), there isone destination per + // packager. + Destinations []*OutputDestination `locationName:"destinations" type:"list"` + + // The endpoints where outgoing connections initiate from + EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` + + EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` + + // The unique id of the channel. + Id *string `locationName:"id" type:"string"` + + // List of input attachments for channel. + InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + + // The name of the channel. (user-mutable) + Name *string `locationName:"name" type:"string"` + + // The number of currently healthy pipelines. + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + + // The Amazon Resource Name (ARN) of the role assumed when running the Channel. + RoleArn *string `locationName:"roleArn" type:"string"` + + State *string `locationName:"state" type:"string" enum:"ChannelState"` +} + +// String returns the string representation +func (s Channel) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Channel) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Channel) SetArn(v string) *Channel { + s.Arn = &v + return s +} + +// SetDestinations sets the Destinations field's value. +func (s *Channel) SetDestinations(v []*OutputDestination) *Channel { + s.Destinations = v + return s +} + +// SetEgressEndpoints sets the EgressEndpoints field's value. +func (s *Channel) SetEgressEndpoints(v []*ChannelEgressEndpoint) *Channel { + s.EgressEndpoints = v + return s +} + +// SetEncoderSettings sets the EncoderSettings field's value. +func (s *Channel) SetEncoderSettings(v *EncoderSettings) *Channel { + s.EncoderSettings = v + return s +} + +// SetId sets the Id field's value. +func (s *Channel) SetId(v string) *Channel { + s.Id = &v + return s +} + +// SetInputAttachments sets the InputAttachments field's value. +func (s *Channel) SetInputAttachments(v []*InputAttachment) *Channel { + s.InputAttachments = v + return s +} + +// SetName sets the Name field's value. +func (s *Channel) SetName(v string) *Channel { + s.Name = &v + return s +} + +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *Channel) SetPipelinesRunningCount(v int64) *Channel { + s.PipelinesRunningCount = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *Channel) SetRoleArn(v string) *Channel { + s.RoleArn = &v + return s +} + +// SetState sets the State field's value. +func (s *Channel) SetState(v string) *Channel { + s.State = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ChannelEgressEndpoint +type ChannelEgressEndpoint struct { + _ struct{} `type:"structure"` + + // Public IP of where a channel's output comes from + SourceIp *string `locationName:"sourceIp" type:"string"` +} + +// String returns the string representation +func (s ChannelEgressEndpoint) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ChannelEgressEndpoint) GoString() string { + return s.String() +} + +// SetSourceIp sets the SourceIp field's value. +func (s *ChannelEgressEndpoint) SetSourceIp(v string) *ChannelEgressEndpoint { + s.SourceIp = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ChannelSummary +type ChannelSummary struct { + _ struct{} `type:"structure"` + + // The unique arn of the channel. + Arn *string `locationName:"arn" type:"string"` + + // A list of destinations of the channel. For UDP outputs, there is onedestination + // per output. For other types (HLS, for example), there isone destination per + // packager. + Destinations []*OutputDestination `locationName:"destinations" type:"list"` + + // The endpoints where outgoing connections initiate from + EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` + + // The unique id of the channel. + Id *string `locationName:"id" type:"string"` + + // List of input attachments for channel. + InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + + // The name of the channel. (user-mutable) + Name *string `locationName:"name" type:"string"` + + // The number of currently healthy pipelines. + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + + // The Amazon Resource Name (ARN) of the role assumed when running the Channel. + RoleArn *string `locationName:"roleArn" type:"string"` + + State *string `locationName:"state" type:"string" enum:"ChannelState"` +} + +// String returns the string representation +func (s ChannelSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ChannelSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *ChannelSummary) SetArn(v string) *ChannelSummary { + s.Arn = &v + return s +} + +// SetDestinations sets the Destinations field's value. +func (s *ChannelSummary) SetDestinations(v []*OutputDestination) *ChannelSummary { + s.Destinations = v + return s +} + +// SetEgressEndpoints sets the EgressEndpoints field's value. +func (s *ChannelSummary) SetEgressEndpoints(v []*ChannelEgressEndpoint) *ChannelSummary { + s.EgressEndpoints = v + return s +} + +// SetId sets the Id field's value. +func (s *ChannelSummary) SetId(v string) *ChannelSummary { + s.Id = &v + return s +} + +// SetInputAttachments sets the InputAttachments field's value. +func (s *ChannelSummary) SetInputAttachments(v []*InputAttachment) *ChannelSummary { + s.InputAttachments = v + return s +} + +// SetName sets the Name field's value. +func (s *ChannelSummary) SetName(v string) *ChannelSummary { + s.Name = &v + return s +} + +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *ChannelSummary) SetPipelinesRunningCount(v int64) *ChannelSummary { + s.PipelinesRunningCount = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *ChannelSummary) SetRoleArn(v string) *ChannelSummary { + s.RoleArn = &v + return s +} + +// SetState sets the State field's value. +func (s *ChannelSummary) SetState(v string) *ChannelSummary { + s.State = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannelRequest +type CreateChannelInput struct { + _ struct{} `type:"structure"` + + Destinations []*OutputDestination `locationName:"destinations" type:"list"` + + EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` + + InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + + Name *string `locationName:"name" type:"string"` + + RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` + + Reserved *string `locationName:"reserved" type:"string"` + + RoleArn *string `locationName:"roleArn" type:"string"` +} + +// String returns the string representation +func (s CreateChannelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateChannelInput) GoString() string { + return s.String() +} + +// SetDestinations sets the Destinations field's value. +func (s *CreateChannelInput) SetDestinations(v []*OutputDestination) *CreateChannelInput { + s.Destinations = v + return s +} + +// SetEncoderSettings sets the EncoderSettings field's value. +func (s *CreateChannelInput) SetEncoderSettings(v *EncoderSettings) *CreateChannelInput { + s.EncoderSettings = v + return s +} + +// SetInputAttachments sets the InputAttachments field's value. +func (s *CreateChannelInput) SetInputAttachments(v []*InputAttachment) *CreateChannelInput { + s.InputAttachments = v + return s +} + +// SetName sets the Name field's value. +func (s *CreateChannelInput) SetName(v string) *CreateChannelInput { + s.Name = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateChannelInput) SetRequestId(v string) *CreateChannelInput { + s.RequestId = &v + return s +} + +// SetReserved sets the Reserved field's value. +func (s *CreateChannelInput) SetReserved(v string) *CreateChannelInput { + s.Reserved = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *CreateChannelInput) SetRoleArn(v string) *CreateChannelInput { + s.RoleArn = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannelResponse +type CreateChannelOutput struct { + _ struct{} `type:"structure"` + + Channel *Channel `locationName:"channel" type:"structure"` +} + +// String returns the string representation +func (s CreateChannelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateChannelOutput) GoString() string { + return s.String() +} + +// SetChannel sets the Channel field's value. +func (s *CreateChannelOutput) SetChannel(v *Channel) *CreateChannelOutput { + s.Channel = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputRequest +type CreateInputInput struct { + _ struct{} `type:"structure"` + + Destinations []*InputDestinationRequest `locationName:"destinations" type:"list"` + + InputSecurityGroups []*string `locationName:"inputSecurityGroups" type:"list"` + + Name *string `locationName:"name" type:"string"` + + RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` + + Sources []*InputSourceRequest `locationName:"sources" type:"list"` + + Type *string `locationName:"type" type:"string" enum:"InputType"` +} + +// String returns the string representation +func (s CreateInputInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateInputInput) GoString() string { + return s.String() +} + +// SetDestinations sets the Destinations field's value. +func (s *CreateInputInput) SetDestinations(v []*InputDestinationRequest) *CreateInputInput { + s.Destinations = v + return s +} + +// SetInputSecurityGroups sets the InputSecurityGroups field's value. +func (s *CreateInputInput) SetInputSecurityGroups(v []*string) *CreateInputInput { + s.InputSecurityGroups = v + return s +} + +// SetName sets the Name field's value. +func (s *CreateInputInput) SetName(v string) *CreateInputInput { + s.Name = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateInputInput) SetRequestId(v string) *CreateInputInput { + s.RequestId = &v + return s +} + +// SetSources sets the Sources field's value. +func (s *CreateInputInput) SetSources(v []*InputSourceRequest) *CreateInputInput { + s.Sources = v + return s +} + +// SetType sets the Type field's value. +func (s *CreateInputInput) SetType(v string) *CreateInputInput { + s.Type = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputResponse +type CreateInputOutput struct { + _ struct{} `type:"structure"` + + Input *Input `locationName:"input" type:"structure"` +} + +// String returns the string representation +func (s CreateInputOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateInputOutput) GoString() string { + return s.String() +} + +// SetInput sets the Input field's value. +func (s *CreateInputOutput) SetInput(v *Input) *CreateInputOutput { + s.Input = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputSecurityGroupRequest +type CreateInputSecurityGroupInput struct { + _ struct{} `type:"structure"` + + WhitelistRules []*InputWhitelistRuleCidr `locationName:"whitelistRules" type:"list"` +} + +// String returns the string representation +func (s CreateInputSecurityGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateInputSecurityGroupInput) GoString() string { + return s.String() +} + +// SetWhitelistRules sets the WhitelistRules field's value. +func (s *CreateInputSecurityGroupInput) SetWhitelistRules(v []*InputWhitelistRuleCidr) *CreateInputSecurityGroupInput { + s.WhitelistRules = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputSecurityGroupResponse +type CreateInputSecurityGroupOutput struct { + _ struct{} `type:"structure"` + + // An Input Security Group + SecurityGroup *InputSecurityGroup `locationName:"securityGroup" type:"structure"` +} + +// String returns the string representation +func (s CreateInputSecurityGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateInputSecurityGroupOutput) GoString() string { + return s.String() +} + +// SetSecurityGroup sets the SecurityGroup field's value. +func (s *CreateInputSecurityGroupOutput) SetSecurityGroup(v *InputSecurityGroup) *CreateInputSecurityGroupOutput { + s.SecurityGroup = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannelRequest +type DeleteChannelInput struct { + _ struct{} `type:"structure"` + + // ChannelId is a required field + ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteChannelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteChannelInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteChannelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteChannelInput"} + if s.ChannelId == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChannelId sets the ChannelId field's value. +func (s *DeleteChannelInput) SetChannelId(v string) *DeleteChannelInput { + s.ChannelId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannelResponse +type DeleteChannelOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + Destinations []*OutputDestination `locationName:"destinations" type:"list"` + + EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` + + EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` + + Id *string `locationName:"id" type:"string"` + + InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + + Name *string `locationName:"name" type:"string"` + + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + + RoleArn *string `locationName:"roleArn" type:"string"` + + State *string `locationName:"state" type:"string" enum:"ChannelState"` +} + +// String returns the string representation +func (s DeleteChannelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteChannelOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DeleteChannelOutput) SetArn(v string) *DeleteChannelOutput { + s.Arn = &v + return s +} + +// SetDestinations sets the Destinations field's value. +func (s *DeleteChannelOutput) SetDestinations(v []*OutputDestination) *DeleteChannelOutput { + s.Destinations = v + return s +} + +// SetEgressEndpoints sets the EgressEndpoints field's value. +func (s *DeleteChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *DeleteChannelOutput { + s.EgressEndpoints = v + return s +} + +// SetEncoderSettings sets the EncoderSettings field's value. +func (s *DeleteChannelOutput) SetEncoderSettings(v *EncoderSettings) *DeleteChannelOutput { + s.EncoderSettings = v + return s +} + +// SetId sets the Id field's value. +func (s *DeleteChannelOutput) SetId(v string) *DeleteChannelOutput { + s.Id = &v + return s +} + +// SetInputAttachments sets the InputAttachments field's value. +func (s *DeleteChannelOutput) SetInputAttachments(v []*InputAttachment) *DeleteChannelOutput { + s.InputAttachments = v + return s +} + +// SetName sets the Name field's value. +func (s *DeleteChannelOutput) SetName(v string) *DeleteChannelOutput { + s.Name = &v + return s +} + +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *DeleteChannelOutput) SetPipelinesRunningCount(v int64) *DeleteChannelOutput { + s.PipelinesRunningCount = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *DeleteChannelOutput) SetRoleArn(v string) *DeleteChannelOutput { + s.RoleArn = &v + return s +} + +// SetState sets the State field's value. +func (s *DeleteChannelOutput) SetState(v string) *DeleteChannelOutput { + s.State = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputRequest +type DeleteInputInput struct { + _ struct{} `type:"structure"` + + // InputId is a required field + InputId *string `location:"uri" locationName:"inputId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteInputInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteInputInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteInputInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteInputInput"} + if s.InputId == nil { + invalidParams.Add(request.NewErrParamRequired("InputId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputId sets the InputId field's value. +func (s *DeleteInputInput) SetInputId(v string) *DeleteInputInput { + s.InputId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputResponse +type DeleteInputOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteInputOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteInputOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputSecurityGroupRequest +type DeleteInputSecurityGroupInput struct { + _ struct{} `type:"structure"` + + // InputSecurityGroupId is a required field + InputSecurityGroupId *string `location:"uri" locationName:"inputSecurityGroupId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteInputSecurityGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteInputSecurityGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteInputSecurityGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteInputSecurityGroupInput"} + if s.InputSecurityGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("InputSecurityGroupId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputSecurityGroupId sets the InputSecurityGroupId field's value. +func (s *DeleteInputSecurityGroupInput) SetInputSecurityGroupId(v string) *DeleteInputSecurityGroupInput { + s.InputSecurityGroupId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputSecurityGroupResponse +type DeleteInputSecurityGroupOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteInputSecurityGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteInputSecurityGroupOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannelRequest +type DescribeChannelInput struct { + _ struct{} `type:"structure"` + + // ChannelId is a required field + ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeChannelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeChannelInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeChannelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeChannelInput"} + if s.ChannelId == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChannelId sets the ChannelId field's value. +func (s *DescribeChannelInput) SetChannelId(v string) *DescribeChannelInput { + s.ChannelId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannelResponse +type DescribeChannelOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + Destinations []*OutputDestination `locationName:"destinations" type:"list"` + + EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` + + EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` + + Id *string `locationName:"id" type:"string"` + + InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + + Name *string `locationName:"name" type:"string"` + + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + + RoleArn *string `locationName:"roleArn" type:"string"` + + State *string `locationName:"state" type:"string" enum:"ChannelState"` +} + +// String returns the string representation +func (s DescribeChannelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeChannelOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DescribeChannelOutput) SetArn(v string) *DescribeChannelOutput { + s.Arn = &v + return s +} + +// SetDestinations sets the Destinations field's value. +func (s *DescribeChannelOutput) SetDestinations(v []*OutputDestination) *DescribeChannelOutput { + s.Destinations = v + return s +} + +// SetEgressEndpoints sets the EgressEndpoints field's value. +func (s *DescribeChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *DescribeChannelOutput { + s.EgressEndpoints = v + return s +} + +// SetEncoderSettings sets the EncoderSettings field's value. +func (s *DescribeChannelOutput) SetEncoderSettings(v *EncoderSettings) *DescribeChannelOutput { + s.EncoderSettings = v + return s +} + +// SetId sets the Id field's value. +func (s *DescribeChannelOutput) SetId(v string) *DescribeChannelOutput { + s.Id = &v + return s +} + +// SetInputAttachments sets the InputAttachments field's value. +func (s *DescribeChannelOutput) SetInputAttachments(v []*InputAttachment) *DescribeChannelOutput { + s.InputAttachments = v + return s +} + +// SetName sets the Name field's value. +func (s *DescribeChannelOutput) SetName(v string) *DescribeChannelOutput { + s.Name = &v + return s +} + +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *DescribeChannelOutput) SetPipelinesRunningCount(v int64) *DescribeChannelOutput { + s.PipelinesRunningCount = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *DescribeChannelOutput) SetRoleArn(v string) *DescribeChannelOutput { + s.RoleArn = &v + return s +} + +// SetState sets the State field's value. +func (s *DescribeChannelOutput) SetState(v string) *DescribeChannelOutput { + s.State = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputRequest +type DescribeInputInput struct { + _ struct{} `type:"structure"` + + // InputId is a required field + InputId *string `location:"uri" locationName:"inputId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeInputInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeInputInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeInputInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeInputInput"} + if s.InputId == nil { + invalidParams.Add(request.NewErrParamRequired("InputId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputId sets the InputId field's value. +func (s *DescribeInputInput) SetInputId(v string) *DescribeInputInput { + s.InputId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputResponse +type DescribeInputOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + AttachedChannels []*string `locationName:"attachedChannels" type:"list"` + + Destinations []*InputDestination `locationName:"destinations" type:"list"` + + Id *string `locationName:"id" type:"string"` + + Name *string `locationName:"name" type:"string"` + + SecurityGroups []*string `locationName:"securityGroups" type:"list"` + + Sources []*InputSource `locationName:"sources" type:"list"` + + State *string `locationName:"state" type:"string" enum:"InputState"` + + Type *string `locationName:"type" type:"string" enum:"InputType"` +} + +// String returns the string representation +func (s DescribeInputOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeInputOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DescribeInputOutput) SetArn(v string) *DescribeInputOutput { + s.Arn = &v + return s +} + +// SetAttachedChannels sets the AttachedChannels field's value. +func (s *DescribeInputOutput) SetAttachedChannels(v []*string) *DescribeInputOutput { + s.AttachedChannels = v + return s +} + +// SetDestinations sets the Destinations field's value. +func (s *DescribeInputOutput) SetDestinations(v []*InputDestination) *DescribeInputOutput { + s.Destinations = v + return s +} + +// SetId sets the Id field's value. +func (s *DescribeInputOutput) SetId(v string) *DescribeInputOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *DescribeInputOutput) SetName(v string) *DescribeInputOutput { + s.Name = &v + return s +} + +// SetSecurityGroups sets the SecurityGroups field's value. +func (s *DescribeInputOutput) SetSecurityGroups(v []*string) *DescribeInputOutput { + s.SecurityGroups = v + return s +} + +// SetSources sets the Sources field's value. +func (s *DescribeInputOutput) SetSources(v []*InputSource) *DescribeInputOutput { + s.Sources = v + return s +} + +// SetState sets the State field's value. +func (s *DescribeInputOutput) SetState(v string) *DescribeInputOutput { + s.State = &v + return s +} + +// SetType sets the Type field's value. +func (s *DescribeInputOutput) SetType(v string) *DescribeInputOutput { + s.Type = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputSecurityGroupRequest +type DescribeInputSecurityGroupInput struct { + _ struct{} `type:"structure"` + + // InputSecurityGroupId is a required field + InputSecurityGroupId *string `location:"uri" locationName:"inputSecurityGroupId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeInputSecurityGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeInputSecurityGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeInputSecurityGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeInputSecurityGroupInput"} + if s.InputSecurityGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("InputSecurityGroupId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputSecurityGroupId sets the InputSecurityGroupId field's value. +func (s *DescribeInputSecurityGroupInput) SetInputSecurityGroupId(v string) *DescribeInputSecurityGroupInput { + s.InputSecurityGroupId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputSecurityGroupResponse +type DescribeInputSecurityGroupOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + Id *string `locationName:"id" type:"string"` + + WhitelistRules []*InputWhitelistRule `locationName:"whitelistRules" type:"list"` +} + +// String returns the string representation +func (s DescribeInputSecurityGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeInputSecurityGroupOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DescribeInputSecurityGroupOutput) SetArn(v string) *DescribeInputSecurityGroupOutput { + s.Arn = &v + return s +} + +// SetId sets the Id field's value. +func (s *DescribeInputSecurityGroupOutput) SetId(v string) *DescribeInputSecurityGroupOutput { + s.Id = &v + return s +} + +// SetWhitelistRules sets the WhitelistRules field's value. +func (s *DescribeInputSecurityGroupOutput) SetWhitelistRules(v []*InputWhitelistRule) *DescribeInputSecurityGroupOutput { + s.WhitelistRules = v + return s +} + +// DVB Network Information Table (NIT) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DvbNitSettings +type DvbNitSettings struct { + _ struct{} `type:"structure"` + + // The numeric value placed in the Network Information Table (NIT). + NetworkId *int64 `locationName:"networkId" type:"integer"` + + // The network name text placed in the networkNameDescriptor inside the Network + // Information Table. Maximum length is 256 characters. + NetworkName *string `locationName:"networkName" type:"string"` + + // The number of milliseconds between instances of this table in the output + // transport stream. + RepInterval *int64 `locationName:"repInterval" type:"integer"` +} + +// String returns the string representation +func (s DvbNitSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DvbNitSettings) GoString() string { + return s.String() +} + +// SetNetworkId sets the NetworkId field's value. +func (s *DvbNitSettings) SetNetworkId(v int64) *DvbNitSettings { + s.NetworkId = &v + return s +} + +// SetNetworkName sets the NetworkName field's value. +func (s *DvbNitSettings) SetNetworkName(v string) *DvbNitSettings { + s.NetworkName = &v + return s +} + +// SetRepInterval sets the RepInterval field's value. +func (s *DvbNitSettings) SetRepInterval(v int64) *DvbNitSettings { + s.RepInterval = &v + return s +} + +// DVB Service Description Table (SDT) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DvbSdtSettings +type DvbSdtSettings struct { + _ struct{} `type:"structure"` + + // Selects method of inserting SDT information into output stream. The sdtFollow + // setting copies SDT information from input stream to output stream. The sdtFollowIfPresent + // setting copies SDT information from input stream to output stream if SDT + // information is present in the input, otherwise it will fall back on the user-defined + // values. The sdtManual setting means user will enter the SDT information. + // The sdtNone setting means output stream will not contain SDT information. + OutputSdt *string `locationName:"outputSdt" type:"string" enum:"DvbSdtOutputSdt"` + + // The number of milliseconds between instances of this table in the output + // transport stream. + RepInterval *int64 `locationName:"repInterval" type:"integer"` + + // The service name placed in the serviceDescriptor in the Service Description + // Table. Maximum length is 256 characters. + ServiceName *string `locationName:"serviceName" type:"string"` + + // The service provider name placed in the serviceDescriptor in the Service + // Description Table. Maximum length is 256 characters. + ServiceProviderName *string `locationName:"serviceProviderName" type:"string"` +} + +// String returns the string representation +func (s DvbSdtSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DvbSdtSettings) GoString() string { + return s.String() +} + +// SetOutputSdt sets the OutputSdt field's value. +func (s *DvbSdtSettings) SetOutputSdt(v string) *DvbSdtSettings { + s.OutputSdt = &v + return s +} + +// SetRepInterval sets the RepInterval field's value. +func (s *DvbSdtSettings) SetRepInterval(v int64) *DvbSdtSettings { + s.RepInterval = &v + return s +} + +// SetServiceName sets the ServiceName field's value. +func (s *DvbSdtSettings) SetServiceName(v string) *DvbSdtSettings { + s.ServiceName = &v + return s +} + +// SetServiceProviderName sets the ServiceProviderName field's value. +func (s *DvbSdtSettings) SetServiceProviderName(v string) *DvbSdtSettings { + s.ServiceProviderName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DvbSubDestinationSettings +type DvbSubDestinationSettings struct { + _ struct{} `type:"structure"` + + // If no explicit xPosition or yPosition is provided, setting alignment to centered + // will place the captions at the bottom center of the output. Similarly, setting + // a left alignment will align captions to the bottom left of the output. If + // x and y positions are given in conjunction with the alignment parameter, + // the font will be justified (either left or centered) relative to those coordinates. + // Selecting "smart" justification will left-justify live subtitles and center-justify + // pre-recorded subtitles. This option is not valid for source captions that + // are STL or 608/embedded. These source settings are already pre-defined by + // the caption stream. All burn-in and DVB-Sub font settings must match. + Alignment *string `locationName:"alignment" type:"string" enum:"DvbSubDestinationAlignment"` + + // Specifies the color of the rectangle behind the captions. All burn-in and + // DVB-Sub font settings must match. + BackgroundColor *string `locationName:"backgroundColor" type:"string" enum:"DvbSubDestinationBackgroundColor"` + + // Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. + // Leaving this parameter blank is equivalent to setting it to 0 (transparent). + // All burn-in and DVB-Sub font settings must match. + BackgroundOpacity *int64 `locationName:"backgroundOpacity" type:"integer"` + + // External font file used for caption burn-in. File extension must be 'ttf' + // or 'tte'. Although the user can select output fonts for many different types + // of input captions, embedded, STL and teletext sources use a strict grid system. + // Using external fonts with these caption sources could cause unexpected display + // of proportional fonts. All burn-in and DVB-Sub font settings must match. + Font *InputLocation `locationName:"font" type:"structure"` + + // Specifies the color of the burned-in captions. This option is not valid for + // source captions that are STL, 608/embedded or teletext. These source settings + // are already pre-defined by the caption stream. All burn-in and DVB-Sub font + // settings must match. + FontColor *string `locationName:"fontColor" type:"string" enum:"DvbSubDestinationFontColor"` + + // Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. + // All burn-in and DVB-Sub font settings must match. + FontOpacity *int64 `locationName:"fontOpacity" type:"integer"` + + // Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and + // DVB-Sub font settings must match. + FontResolution *int64 `locationName:"fontResolution" type:"integer"` + + // When set to auto fontSize will scale depending on the size of the output. + // Giving a positive integer will specify the exact font size in points. All + // burn-in and DVB-Sub font settings must match. + FontSize *string `locationName:"fontSize" type:"string"` + + // Specifies font outline color. This option is not valid for source captions + // that are either 608/embedded or teletext. These source settings are already + // pre-defined by the caption stream. All burn-in and DVB-Sub font settings + // must match. + OutlineColor *string `locationName:"outlineColor" type:"string" enum:"DvbSubDestinationOutlineColor"` + + // Specifies font outline size in pixels. This option is not valid for source + // captions that are either 608/embedded or teletext. These source settings + // are already pre-defined by the caption stream. All burn-in and DVB-Sub font + // settings must match. + OutlineSize *int64 `locationName:"outlineSize" type:"integer"` + + // Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub + // font settings must match. + ShadowColor *string `locationName:"shadowColor" type:"string" enum:"DvbSubDestinationShadowColor"` + + // Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving + // this parameter blank is equivalent to setting it to 0 (transparent). All + // burn-in and DVB-Sub font settings must match. + ShadowOpacity *int64 `locationName:"shadowOpacity" type:"integer"` + + // Specifies the horizontal offset of the shadow relative to the captions in + // pixels. A value of -2 would result in a shadow offset 2 pixels to the left. + // All burn-in and DVB-Sub font settings must match. + ShadowXOffset *int64 `locationName:"shadowXOffset" type:"integer"` + + // Specifies the vertical offset of the shadow relative to the captions in pixels. + // A value of -2 would result in a shadow offset 2 pixels above the text. All + // burn-in and DVB-Sub font settings must match. + ShadowYOffset *int64 `locationName:"shadowYOffset" type:"integer"` + + // Controls whether a fixed grid size will be used to generate the output subtitles + // bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs. + TeletextGridControl *string `locationName:"teletextGridControl" type:"string" enum:"DvbSubDestinationTeletextGridControl"` + + // Specifies the horizontal position of the caption relative to the left side + // of the output in pixels. A value of 10 would result in the captions starting + // 10 pixels from the left of the output. If no explicit xPosition is provided, + // the horizontal caption position will be determined by the alignment parameter. + // This option is not valid for source captions that are STL, 608/embedded or + // teletext. These source settings are already pre-defined by the caption stream. + // All burn-in and DVB-Sub font settings must match. + XPosition *int64 `locationName:"xPosition" type:"integer"` + + // Specifies the vertical position of the caption relative to the top of the + // output in pixels. A value of 10 would result in the captions starting 10 + // pixels from the top of the output. If no explicit yPosition is provided, + // the caption will be positioned towards the bottom of the output. This option + // is not valid for source captions that are STL, 608/embedded or teletext. + // These source settings are already pre-defined by the caption stream. All + // burn-in and DVB-Sub font settings must match. + YPosition *int64 `locationName:"yPosition" type:"integer"` +} + +// String returns the string representation +func (s DvbSubDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DvbSubDestinationSettings) GoString() string { + return s.String() +} + +// SetAlignment sets the Alignment field's value. +func (s *DvbSubDestinationSettings) SetAlignment(v string) *DvbSubDestinationSettings { + s.Alignment = &v + return s +} + +// SetBackgroundColor sets the BackgroundColor field's value. +func (s *DvbSubDestinationSettings) SetBackgroundColor(v string) *DvbSubDestinationSettings { + s.BackgroundColor = &v + return s +} + +// SetBackgroundOpacity sets the BackgroundOpacity field's value. +func (s *DvbSubDestinationSettings) SetBackgroundOpacity(v int64) *DvbSubDestinationSettings { + s.BackgroundOpacity = &v + return s +} + +// SetFont sets the Font field's value. +func (s *DvbSubDestinationSettings) SetFont(v *InputLocation) *DvbSubDestinationSettings { + s.Font = v + return s +} + +// SetFontColor sets the FontColor field's value. +func (s *DvbSubDestinationSettings) SetFontColor(v string) *DvbSubDestinationSettings { + s.FontColor = &v + return s +} + +// SetFontOpacity sets the FontOpacity field's value. +func (s *DvbSubDestinationSettings) SetFontOpacity(v int64) *DvbSubDestinationSettings { + s.FontOpacity = &v + return s +} + +// SetFontResolution sets the FontResolution field's value. +func (s *DvbSubDestinationSettings) SetFontResolution(v int64) *DvbSubDestinationSettings { + s.FontResolution = &v + return s +} + +// SetFontSize sets the FontSize field's value. +func (s *DvbSubDestinationSettings) SetFontSize(v string) *DvbSubDestinationSettings { + s.FontSize = &v + return s +} + +// SetOutlineColor sets the OutlineColor field's value. +func (s *DvbSubDestinationSettings) SetOutlineColor(v string) *DvbSubDestinationSettings { + s.OutlineColor = &v + return s +} + +// SetOutlineSize sets the OutlineSize field's value. +func (s *DvbSubDestinationSettings) SetOutlineSize(v int64) *DvbSubDestinationSettings { + s.OutlineSize = &v + return s +} + +// SetShadowColor sets the ShadowColor field's value. +func (s *DvbSubDestinationSettings) SetShadowColor(v string) *DvbSubDestinationSettings { + s.ShadowColor = &v + return s +} + +// SetShadowOpacity sets the ShadowOpacity field's value. +func (s *DvbSubDestinationSettings) SetShadowOpacity(v int64) *DvbSubDestinationSettings { + s.ShadowOpacity = &v + return s +} + +// SetShadowXOffset sets the ShadowXOffset field's value. +func (s *DvbSubDestinationSettings) SetShadowXOffset(v int64) *DvbSubDestinationSettings { + s.ShadowXOffset = &v + return s +} + +// SetShadowYOffset sets the ShadowYOffset field's value. +func (s *DvbSubDestinationSettings) SetShadowYOffset(v int64) *DvbSubDestinationSettings { + s.ShadowYOffset = &v + return s +} + +// SetTeletextGridControl sets the TeletextGridControl field's value. +func (s *DvbSubDestinationSettings) SetTeletextGridControl(v string) *DvbSubDestinationSettings { + s.TeletextGridControl = &v + return s +} + +// SetXPosition sets the XPosition field's value. +func (s *DvbSubDestinationSettings) SetXPosition(v int64) *DvbSubDestinationSettings { + s.XPosition = &v + return s +} + +// SetYPosition sets the YPosition field's value. +func (s *DvbSubDestinationSettings) SetYPosition(v int64) *DvbSubDestinationSettings { + s.YPosition = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DvbSubSourceSettings +type DvbSubSourceSettings struct { + _ struct{} `type:"structure"` + + // When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source + // content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, + // regardless of selectors. + Pid *int64 `locationName:"pid" type:"integer"` +} + +// String returns the string representation +func (s DvbSubSourceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DvbSubSourceSettings) GoString() string { + return s.String() +} + +// SetPid sets the Pid field's value. +func (s *DvbSubSourceSettings) SetPid(v int64) *DvbSubSourceSettings { + s.Pid = &v + return s +} + +// DVB Time and Date Table (SDT) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DvbTdtSettings +type DvbTdtSettings struct { + _ struct{} `type:"structure"` + + // The number of milliseconds between instances of this table in the output + // transport stream. + RepInterval *int64 `locationName:"repInterval" type:"integer"` +} + +// String returns the string representation +func (s DvbTdtSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DvbTdtSettings) GoString() string { + return s.String() +} + +// SetRepInterval sets the RepInterval field's value. +func (s *DvbTdtSettings) SetRepInterval(v int64) *DvbTdtSettings { + s.RepInterval = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Eac3Settings +type Eac3Settings struct { + _ struct{} `type:"structure"` + + // When set to attenuate3Db, applies a 3 dB attenuation to the surround channels. + // Only used for 3/2 coding mode. + AttenuationControl *string `locationName:"attenuationControl" type:"string" enum:"Eac3AttenuationControl"` + + // Average bitrate in bits/second. Valid bitrates depend on the coding mode. + Bitrate *float64 `locationName:"bitrate" type:"double"` + + // Specifies the bitstream mode (bsmod) for the emitted E-AC-3 stream. See ATSC + // A/52-2012 (Annex E) for background on these values. + BitstreamMode *string `locationName:"bitstreamMode" type:"string" enum:"Eac3BitstreamMode"` + + // Dolby Digital Plus coding mode. Determines number of channels. + CodingMode *string `locationName:"codingMode" type:"string" enum:"Eac3CodingMode"` + + // When set to enabled, activates a DC highpass filter for all input channels. + DcFilter *string `locationName:"dcFilter" type:"string" enum:"Eac3DcFilter"` + + // Sets the dialnorm for the output. If blank and input audio is Dolby Digital + // Plus, dialnorm will be passed through. + Dialnorm *int64 `locationName:"dialnorm" type:"integer"` + + // Sets the Dolby dynamic range compression profile. + DrcLine *string `locationName:"drcLine" type:"string" enum:"Eac3DrcLine"` + + // Sets the profile for heavy Dolby dynamic range compression, ensures that + // the instantaneous signal peaks do not exceed specified levels. + DrcRf *string `locationName:"drcRf" type:"string" enum:"Eac3DrcRf"` + + // When encoding 3/2 audio, setting to lfe enables the LFE channel + LfeControl *string `locationName:"lfeControl" type:"string" enum:"Eac3LfeControl"` + + // When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior + // to encoding. Only valid with codingMode32 coding mode. + LfeFilter *string `locationName:"lfeFilter" type:"string" enum:"Eac3LfeFilter"` + + // Left only/Right only center mix level. Only used for 3/2 coding mode. + LoRoCenterMixLevel *float64 `locationName:"loRoCenterMixLevel" type:"double"` + + // Left only/Right only surround mix level. Only used for 3/2 coding mode. + LoRoSurroundMixLevel *float64 `locationName:"loRoSurroundMixLevel" type:"double"` + + // Left total/Right total center mix level. Only used for 3/2 coding mode. + LtRtCenterMixLevel *float64 `locationName:"ltRtCenterMixLevel" type:"double"` + + // Left total/Right total surround mix level. Only used for 3/2 coding mode. + LtRtSurroundMixLevel *float64 `locationName:"ltRtSurroundMixLevel" type:"double"` + + // When set to followInput, encoder metadata will be sourced from the DD, DD+, + // or DolbyE decoder that supplied this audio data. If audio was not supplied + // from one of these streams, then the static metadata settings will be used. + MetadataControl *string `locationName:"metadataControl" type:"string" enum:"Eac3MetadataControl"` + + // When set to whenPossible, input DD+ audio will be passed through if it is + // present on the input. This detection is dynamic over the life of the transcode. + // Inputs that alternate between DD+ and non-DD+ content will have a consistent + // DD+ output as the system alternates between passthrough and encoding. + PassthroughControl *string `locationName:"passthroughControl" type:"string" enum:"Eac3PassthroughControl"` + + // When set to shift90Degrees, applies a 90-degree phase shift to the surround + // channels. Only used for 3/2 coding mode. + PhaseControl *string `locationName:"phaseControl" type:"string" enum:"Eac3PhaseControl"` + + // Stereo downmix preference. Only used for 3/2 coding mode. + StereoDownmix *string `locationName:"stereoDownmix" type:"string" enum:"Eac3StereoDownmix"` + + // When encoding 3/2 audio, sets whether an extra center back surround channel + // is matrix encoded into the left and right surround channels. + SurroundExMode *string `locationName:"surroundExMode" type:"string" enum:"Eac3SurroundExMode"` + + // When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into + // the two channels. + SurroundMode *string `locationName:"surroundMode" type:"string" enum:"Eac3SurroundMode"` +} + +// String returns the string representation +func (s Eac3Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Eac3Settings) GoString() string { + return s.String() +} + +// SetAttenuationControl sets the AttenuationControl field's value. +func (s *Eac3Settings) SetAttenuationControl(v string) *Eac3Settings { + s.AttenuationControl = &v + return s +} + +// SetBitrate sets the Bitrate field's value. +func (s *Eac3Settings) SetBitrate(v float64) *Eac3Settings { + s.Bitrate = &v + return s +} + +// SetBitstreamMode sets the BitstreamMode field's value. +func (s *Eac3Settings) SetBitstreamMode(v string) *Eac3Settings { + s.BitstreamMode = &v + return s +} + +// SetCodingMode sets the CodingMode field's value. +func (s *Eac3Settings) SetCodingMode(v string) *Eac3Settings { + s.CodingMode = &v + return s +} + +// SetDcFilter sets the DcFilter field's value. +func (s *Eac3Settings) SetDcFilter(v string) *Eac3Settings { + s.DcFilter = &v + return s +} + +// SetDialnorm sets the Dialnorm field's value. +func (s *Eac3Settings) SetDialnorm(v int64) *Eac3Settings { + s.Dialnorm = &v + return s +} + +// SetDrcLine sets the DrcLine field's value. +func (s *Eac3Settings) SetDrcLine(v string) *Eac3Settings { + s.DrcLine = &v + return s +} + +// SetDrcRf sets the DrcRf field's value. +func (s *Eac3Settings) SetDrcRf(v string) *Eac3Settings { + s.DrcRf = &v + return s +} + +// SetLfeControl sets the LfeControl field's value. +func (s *Eac3Settings) SetLfeControl(v string) *Eac3Settings { + s.LfeControl = &v + return s +} + +// SetLfeFilter sets the LfeFilter field's value. +func (s *Eac3Settings) SetLfeFilter(v string) *Eac3Settings { + s.LfeFilter = &v + return s +} + +// SetLoRoCenterMixLevel sets the LoRoCenterMixLevel field's value. +func (s *Eac3Settings) SetLoRoCenterMixLevel(v float64) *Eac3Settings { + s.LoRoCenterMixLevel = &v + return s +} + +// SetLoRoSurroundMixLevel sets the LoRoSurroundMixLevel field's value. +func (s *Eac3Settings) SetLoRoSurroundMixLevel(v float64) *Eac3Settings { + s.LoRoSurroundMixLevel = &v + return s +} + +// SetLtRtCenterMixLevel sets the LtRtCenterMixLevel field's value. +func (s *Eac3Settings) SetLtRtCenterMixLevel(v float64) *Eac3Settings { + s.LtRtCenterMixLevel = &v + return s +} + +// SetLtRtSurroundMixLevel sets the LtRtSurroundMixLevel field's value. +func (s *Eac3Settings) SetLtRtSurroundMixLevel(v float64) *Eac3Settings { + s.LtRtSurroundMixLevel = &v + return s +} + +// SetMetadataControl sets the MetadataControl field's value. +func (s *Eac3Settings) SetMetadataControl(v string) *Eac3Settings { + s.MetadataControl = &v + return s +} + +// SetPassthroughControl sets the PassthroughControl field's value. +func (s *Eac3Settings) SetPassthroughControl(v string) *Eac3Settings { + s.PassthroughControl = &v + return s +} + +// SetPhaseControl sets the PhaseControl field's value. +func (s *Eac3Settings) SetPhaseControl(v string) *Eac3Settings { + s.PhaseControl = &v + return s +} + +// SetStereoDownmix sets the StereoDownmix field's value. +func (s *Eac3Settings) SetStereoDownmix(v string) *Eac3Settings { + s.StereoDownmix = &v + return s +} + +// SetSurroundExMode sets the SurroundExMode field's value. +func (s *Eac3Settings) SetSurroundExMode(v string) *Eac3Settings { + s.SurroundExMode = &v + return s +} + +// SetSurroundMode sets the SurroundMode field's value. +func (s *Eac3Settings) SetSurroundMode(v string) *Eac3Settings { + s.SurroundMode = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/EmbeddedDestinationSettings +type EmbeddedDestinationSettings struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s EmbeddedDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EmbeddedDestinationSettings) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/EmbeddedPlusScte20DestinationSettings +type EmbeddedPlusScte20DestinationSettings struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s EmbeddedPlusScte20DestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EmbeddedPlusScte20DestinationSettings) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/EmbeddedSourceSettings +type EmbeddedSourceSettings struct { + _ struct{} `type:"structure"` + + // If upconvert, 608 data is both passed through via the "608 compatibility + // bytes" fields of the 708 wrapper as well as translated into 708. 708 data + // present in the source content will be discarded. + Convert608To708 *string `locationName:"convert608To708" type:"string" enum:"EmbeddedConvert608To708"` + + // Set to "auto" to handle streams with intermittent and/or non-aligned SCTE-20 + // and Embedded captions. + Scte20Detection *string `locationName:"scte20Detection" type:"string" enum:"EmbeddedScte20Detection"` + + // Specifies the 608/708 channel number within the video track from which to + // extract captions. Unused for passthrough. + Source608ChannelNumber *int64 `locationName:"source608ChannelNumber" type:"integer"` + + // This field is unused and deprecated. + Source608TrackNumber *int64 `locationName:"source608TrackNumber" type:"integer"` +} + +// String returns the string representation +func (s EmbeddedSourceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EmbeddedSourceSettings) GoString() string { + return s.String() +} + +// SetConvert608To708 sets the Convert608To708 field's value. +func (s *EmbeddedSourceSettings) SetConvert608To708(v string) *EmbeddedSourceSettings { + s.Convert608To708 = &v + return s +} + +// SetScte20Detection sets the Scte20Detection field's value. +func (s *EmbeddedSourceSettings) SetScte20Detection(v string) *EmbeddedSourceSettings { + s.Scte20Detection = &v + return s +} + +// SetSource608ChannelNumber sets the Source608ChannelNumber field's value. +func (s *EmbeddedSourceSettings) SetSource608ChannelNumber(v int64) *EmbeddedSourceSettings { + s.Source608ChannelNumber = &v + return s +} + +// SetSource608TrackNumber sets the Source608TrackNumber field's value. +func (s *EmbeddedSourceSettings) SetSource608TrackNumber(v int64) *EmbeddedSourceSettings { + s.Source608TrackNumber = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/EncoderSettings +type EncoderSettings struct { + _ struct{} `type:"structure"` + + AudioDescriptions []*AudioDescription `locationName:"audioDescriptions" type:"list"` + + // Settings for ad avail blanking. + AvailBlanking *AvailBlanking `locationName:"availBlanking" type:"structure"` + + // Event-wide configuration settings for ad avail insertion. + AvailConfiguration *AvailConfiguration `locationName:"availConfiguration" type:"structure"` + + // Settings for blackout slate. + BlackoutSlate *BlackoutSlate `locationName:"blackoutSlate" type:"structure"` + + // Settings for caption decriptions + CaptionDescriptions []*CaptionDescription `locationName:"captionDescriptions" type:"list"` + + // Configuration settings that apply to the event as a whole. + GlobalConfiguration *GlobalConfiguration `locationName:"globalConfiguration" type:"structure"` + + OutputGroups []*OutputGroup `locationName:"outputGroups" type:"list"` + + // Contains settings used to acquire and adjust timecode information from inputs. + TimecodeConfig *TimecodeConfig `locationName:"timecodeConfig" type:"structure"` + + VideoDescriptions []*VideoDescription `locationName:"videoDescriptions" type:"list"` +} + +// String returns the string representation +func (s EncoderSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EncoderSettings) GoString() string { + return s.String() +} + +// SetAudioDescriptions sets the AudioDescriptions field's value. +func (s *EncoderSettings) SetAudioDescriptions(v []*AudioDescription) *EncoderSettings { + s.AudioDescriptions = v + return s +} + +// SetAvailBlanking sets the AvailBlanking field's value. +func (s *EncoderSettings) SetAvailBlanking(v *AvailBlanking) *EncoderSettings { + s.AvailBlanking = v + return s +} + +// SetAvailConfiguration sets the AvailConfiguration field's value. +func (s *EncoderSettings) SetAvailConfiguration(v *AvailConfiguration) *EncoderSettings { + s.AvailConfiguration = v + return s +} + +// SetBlackoutSlate sets the BlackoutSlate field's value. +func (s *EncoderSettings) SetBlackoutSlate(v *BlackoutSlate) *EncoderSettings { + s.BlackoutSlate = v + return s +} + +// SetCaptionDescriptions sets the CaptionDescriptions field's value. +func (s *EncoderSettings) SetCaptionDescriptions(v []*CaptionDescription) *EncoderSettings { + s.CaptionDescriptions = v + return s +} + +// SetGlobalConfiguration sets the GlobalConfiguration field's value. +func (s *EncoderSettings) SetGlobalConfiguration(v *GlobalConfiguration) *EncoderSettings { + s.GlobalConfiguration = v + return s +} + +// SetOutputGroups sets the OutputGroups field's value. +func (s *EncoderSettings) SetOutputGroups(v []*OutputGroup) *EncoderSettings { + s.OutputGroups = v + return s +} + +// SetTimecodeConfig sets the TimecodeConfig field's value. +func (s *EncoderSettings) SetTimecodeConfig(v *TimecodeConfig) *EncoderSettings { + s.TimecodeConfig = v + return s +} + +// SetVideoDescriptions sets the VideoDescriptions field's value. +func (s *EncoderSettings) SetVideoDescriptions(v []*VideoDescription) *EncoderSettings { + s.VideoDescriptions = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/FecOutputSettings +type FecOutputSettings struct { + _ struct{} `type:"structure"` + + // Parameter D from SMPTE 2022-1. The height of the FEC protection matrix. The + // number of transport stream packets per column error correction packet. Must + // be between 4 and 20, inclusive. + ColumnDepth *int64 `locationName:"columnDepth" type:"integer"` + + // Enables column only or column and row based FEC + IncludeFec *string `locationName:"includeFec" type:"string" enum:"FecOutputIncludeFec"` + + // Parameter L from SMPTE 2022-1. The width of the FEC protection matrix. Must + // be between 1 and 20, inclusive. If only Column FEC is used, then larger values + // increase robustness. If Row FEC is used, then this is the number of transport + // stream packets per row error correction packet, and the value must be between + // 4 and 20, inclusive, if includeFec is columnAndRow. If includeFec is column, + // this value must be 1 to 20, inclusive. + RowLength *int64 `locationName:"rowLength" type:"integer"` +} + +// String returns the string representation +func (s FecOutputSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s FecOutputSettings) GoString() string { + return s.String() +} + +// SetColumnDepth sets the ColumnDepth field's value. +func (s *FecOutputSettings) SetColumnDepth(v int64) *FecOutputSettings { + s.ColumnDepth = &v + return s +} + +// SetIncludeFec sets the IncludeFec field's value. +func (s *FecOutputSettings) SetIncludeFec(v string) *FecOutputSettings { + s.IncludeFec = &v + return s +} + +// SetRowLength sets the RowLength field's value. +func (s *FecOutputSettings) SetRowLength(v int64) *FecOutputSettings { + s.RowLength = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/GlobalConfiguration +type GlobalConfiguration struct { + _ struct{} `type:"structure"` + + // Value to set the initial audio gain for the Live Event. + InitialAudioGain *int64 `locationName:"initialAudioGain" type:"integer"` + + // Indicates the action to take when an input completes (e.g. end-of-file.) + // Options include immediately switching to the next sequential input (via "switchInput"), + // switching to the next input and looping back to the first input when last + // input ends (via "switchAndLoopInputs") or not switching inputs and instead + // transcoding black / color / slate images per the "Input Loss Behavior" configuration + // until an activateInput REST command is received (via "none"). + InputEndAction *string `locationName:"inputEndAction" type:"string" enum:"GlobalConfigurationInputEndAction"` + + // Settings for system actions when input is lost. + InputLossBehavior *InputLossBehavior `locationName:"inputLossBehavior" type:"structure"` + + // Indicates whether the rate of frames emitted by the Live encoder should be + // paced by its system clock (which optionally may be locked to another source + // via NTP) or should be locked to the clock of the source that is providing + // the input stream. + OutputTimingSource *string `locationName:"outputTimingSource" type:"string" enum:"GlobalConfigurationOutputTimingSource"` + + // Adjusts video input buffer for streams with very low video framerates. This + // is commonly set to enabled for music channels with less than one video frame + // per second. + SupportLowFramerateInputs *string `locationName:"supportLowFramerateInputs" type:"string" enum:"GlobalConfigurationLowFramerateInputs"` +} + +// String returns the string representation +func (s GlobalConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GlobalConfiguration) GoString() string { + return s.String() +} + +// SetInitialAudioGain sets the InitialAudioGain field's value. +func (s *GlobalConfiguration) SetInitialAudioGain(v int64) *GlobalConfiguration { + s.InitialAudioGain = &v + return s +} + +// SetInputEndAction sets the InputEndAction field's value. +func (s *GlobalConfiguration) SetInputEndAction(v string) *GlobalConfiguration { + s.InputEndAction = &v + return s +} + +// SetInputLossBehavior sets the InputLossBehavior field's value. +func (s *GlobalConfiguration) SetInputLossBehavior(v *InputLossBehavior) *GlobalConfiguration { + s.InputLossBehavior = v + return s +} + +// SetOutputTimingSource sets the OutputTimingSource field's value. +func (s *GlobalConfiguration) SetOutputTimingSource(v string) *GlobalConfiguration { + s.OutputTimingSource = &v + return s +} + +// SetSupportLowFramerateInputs sets the SupportLowFramerateInputs field's value. +func (s *GlobalConfiguration) SetSupportLowFramerateInputs(v string) *GlobalConfiguration { + s.SupportLowFramerateInputs = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/H264Settings +type H264Settings struct { + _ struct{} `type:"structure"` + + // Adaptive quantization. Allows intra-frame quantizers to vary to improve visual + // quality. + AdaptiveQuantization *string `locationName:"adaptiveQuantization" type:"string" enum:"H264AdaptiveQuantization"` + + // Indicates that AFD values will be written into the output stream. If afdSignaling + // is "auto", the system will try to preserve the input AFD value (in cases + // where multiple AFD values are valid). If set to "fixed", the AFD value will + // be the value configured in the fixedAfd parameter. + AfdSignaling *string `locationName:"afdSignaling" type:"string" enum:"AfdSignaling"` + + // Average bitrate in bits/second. Required for VBR, CBR, and ABR. For MS Smooth + // outputs, bitrates must be unique when rounded down to the nearest multiple + // of 1000. + Bitrate *int64 `locationName:"bitrate" type:"integer"` + + // Percentage of the buffer that should initially be filled (HRD buffer model). + BufFillPct *int64 `locationName:"bufFillPct" type:"integer"` + + // Size of buffer (HRD buffer model) in bits/second. + BufSize *int64 `locationName:"bufSize" type:"integer"` + + // Includes colorspace metadata in the output. + ColorMetadata *string `locationName:"colorMetadata" type:"string" enum:"H264ColorMetadata"` + + // Entropy encoding mode. Use cabac (must be in Main or High profile) or cavlc. + EntropyEncoding *string `locationName:"entropyEncoding" type:"string" enum:"H264EntropyEncoding"` + + // Four bit AFD value to write on all frames of video in the output stream. + // Only valid when afdSignaling is set to 'Fixed'. + FixedAfd *string `locationName:"fixedAfd" type:"string" enum:"FixedAfd"` + + // If set to enabled, adjust quantization within each frame to reduce flicker + // or 'pop' on I-frames. + FlickerAq *string `locationName:"flickerAq" type:"string" enum:"H264FlickerAq"` + + // This field indicates how the output video frame rate is specified. If "specified" + // is selected then the output video frame rate is determined by framerateNumerator + // and framerateDenominator, else if "initializeFromSource" is selected then + // the output video frame rate will be set equal to the input video frame rate + // of the first input. + FramerateControl *string `locationName:"framerateControl" type:"string" enum:"H264FramerateControl"` + + // Framerate denominator. + FramerateDenominator *int64 `locationName:"framerateDenominator" type:"integer"` + + // Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 + // fps. + FramerateNumerator *int64 `locationName:"framerateNumerator" type:"integer"` + + // If enabled, use reference B frames for GOP structures that have B frames + // > 1. + GopBReference *string `locationName:"gopBReference" type:"string" enum:"H264GopBReference"` + + // Frequency of closed GOPs. In streaming applications, it is recommended that + // this be set to 1 so a decoder joining mid-stream will receive an IDR frame + // as quickly as possible. Setting this value to 0 will break output segmenting. + GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` + + // Number of B-frames between reference frames. + GopNumBFrames *int64 `locationName:"gopNumBFrames" type:"integer"` + + // GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits. + // Must be greater than zero. + GopSize *float64 `locationName:"gopSize" type:"double"` + + // Indicates if the gopSize is specified in frames or seconds. If seconds the + // system will convert the gopSize into a frame count at run time. + GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"H264GopSizeUnits"` + + // H.264 Level. + Level *string `locationName:"level" type:"string" enum:"H264Level"` + + // Amount of lookahead. A value of low can decrease latency and memory usage, + // while high can produce better quality for certain content. + LookAheadRateControl *string `locationName:"lookAheadRateControl" type:"string" enum:"H264LookAheadRateControl"` + + // Maximum bitrate in bits/second (for VBR mode only). + MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` + + // Only meaningful if sceneChangeDetect is set to enabled. Enforces separation + // between repeated (cadence) I-frames and I-frames inserted by Scene Change + // Detection. If a scene change I-frame is within I-interval frames of a cadence + // I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. + // GOP stretch requires enabling lookahead as well as setting I-interval. The + // normal cadence resumes for the next GOP. Note: Maximum GOP stretch = GOP + // size + Min-I-interval - 1 + MinIInterval *int64 `locationName:"minIInterval" type:"integer"` + + // Number of reference frames to use. The encoder may use more than requested + // if using B-frames and/or interlaced encoding. + NumRefFrames *int64 `locationName:"numRefFrames" type:"integer"` + + // This field indicates how the output pixel aspect ratio is specified. If "specified" + // is selected then the output video pixel aspect ratio is determined by parNumerator + // and parDenominator, else if "initializeFromSource" is selected then the output + // pixsel aspect ratio will be set equal to the input video pixel aspect ratio + // of the first input. + ParControl *string `locationName:"parControl" type:"string" enum:"H264ParControl"` + + // Pixel Aspect Ratio denominator. + ParDenominator *int64 `locationName:"parDenominator" type:"integer"` + + // Pixel Aspect Ratio numerator. + ParNumerator *int64 `locationName:"parNumerator" type:"integer"` + + // H.264 Profile. + Profile *string `locationName:"profile" type:"string" enum:"H264Profile"` + + // Rate control mode. + RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"H264RateControlMode"` + + // Sets the scan type of the output to progressive or top-field-first interlaced. + ScanType *string `locationName:"scanType" type:"string" enum:"H264ScanType"` + + // Scene change detection. Inserts I-frames on scene changes when enabled. + SceneChangeDetect *string `locationName:"sceneChangeDetect" type:"string" enum:"H264SceneChangeDetect"` + + // Number of slices per picture. Must be less than or equal to the number of + // macroblock rows for progressive pictures, and less than or equal to half + // the number of macroblock rows for interlaced pictures.This field is optional; + // when no value is specified the encoder will choose the number of slices based + // on encode resolution. + Slices *int64 `locationName:"slices" type:"integer"` + + // Softness. Selects quantizer matrix, larger values reduce high-frequency content + // in the encoded image. + Softness *int64 `locationName:"softness" type:"integer"` + + // If set to enabled, adjust quantization within each frame based on spatial + // variation of content complexity. + SpatialAq *string `locationName:"spatialAq" type:"string" enum:"H264SpatialAq"` + + // Produces a bitstream compliant with SMPTE RP-2027. + Syntax *string `locationName:"syntax" type:"string" enum:"H264Syntax"` + + // If set to enabled, adjust quantization within each frame based on temporal + // variation of content complexity. + TemporalAq *string `locationName:"temporalAq" type:"string" enum:"H264TemporalAq"` + + // Determines how timecodes should be inserted into the video elementary stream.- + // 'disabled': Do not include timecodes- 'picTimingSei': Pass through picture + // timing SEI messages from the source specified in Timecode Config + TimecodeInsertion *string `locationName:"timecodeInsertion" type:"string" enum:"H264TimecodeInsertionBehavior"` +} + +// String returns the string representation +func (s H264Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s H264Settings) GoString() string { + return s.String() +} + +// SetAdaptiveQuantization sets the AdaptiveQuantization field's value. +func (s *H264Settings) SetAdaptiveQuantization(v string) *H264Settings { + s.AdaptiveQuantization = &v + return s +} + +// SetAfdSignaling sets the AfdSignaling field's value. +func (s *H264Settings) SetAfdSignaling(v string) *H264Settings { + s.AfdSignaling = &v + return s +} + +// SetBitrate sets the Bitrate field's value. +func (s *H264Settings) SetBitrate(v int64) *H264Settings { + s.Bitrate = &v + return s +} + +// SetBufFillPct sets the BufFillPct field's value. +func (s *H264Settings) SetBufFillPct(v int64) *H264Settings { + s.BufFillPct = &v + return s +} + +// SetBufSize sets the BufSize field's value. +func (s *H264Settings) SetBufSize(v int64) *H264Settings { + s.BufSize = &v + return s +} + +// SetColorMetadata sets the ColorMetadata field's value. +func (s *H264Settings) SetColorMetadata(v string) *H264Settings { + s.ColorMetadata = &v + return s +} + +// SetEntropyEncoding sets the EntropyEncoding field's value. +func (s *H264Settings) SetEntropyEncoding(v string) *H264Settings { + s.EntropyEncoding = &v + return s +} + +// SetFixedAfd sets the FixedAfd field's value. +func (s *H264Settings) SetFixedAfd(v string) *H264Settings { + s.FixedAfd = &v + return s +} + +// SetFlickerAq sets the FlickerAq field's value. +func (s *H264Settings) SetFlickerAq(v string) *H264Settings { + s.FlickerAq = &v + return s +} + +// SetFramerateControl sets the FramerateControl field's value. +func (s *H264Settings) SetFramerateControl(v string) *H264Settings { + s.FramerateControl = &v + return s +} + +// SetFramerateDenominator sets the FramerateDenominator field's value. +func (s *H264Settings) SetFramerateDenominator(v int64) *H264Settings { + s.FramerateDenominator = &v + return s +} + +// SetFramerateNumerator sets the FramerateNumerator field's value. +func (s *H264Settings) SetFramerateNumerator(v int64) *H264Settings { + s.FramerateNumerator = &v + return s +} + +// SetGopBReference sets the GopBReference field's value. +func (s *H264Settings) SetGopBReference(v string) *H264Settings { + s.GopBReference = &v + return s +} + +// SetGopClosedCadence sets the GopClosedCadence field's value. +func (s *H264Settings) SetGopClosedCadence(v int64) *H264Settings { + s.GopClosedCadence = &v + return s +} + +// SetGopNumBFrames sets the GopNumBFrames field's value. +func (s *H264Settings) SetGopNumBFrames(v int64) *H264Settings { + s.GopNumBFrames = &v + return s +} + +// SetGopSize sets the GopSize field's value. +func (s *H264Settings) SetGopSize(v float64) *H264Settings { + s.GopSize = &v + return s +} + +// SetGopSizeUnits sets the GopSizeUnits field's value. +func (s *H264Settings) SetGopSizeUnits(v string) *H264Settings { + s.GopSizeUnits = &v + return s +} + +// SetLevel sets the Level field's value. +func (s *H264Settings) SetLevel(v string) *H264Settings { + s.Level = &v + return s +} + +// SetLookAheadRateControl sets the LookAheadRateControl field's value. +func (s *H264Settings) SetLookAheadRateControl(v string) *H264Settings { + s.LookAheadRateControl = &v + return s +} + +// SetMaxBitrate sets the MaxBitrate field's value. +func (s *H264Settings) SetMaxBitrate(v int64) *H264Settings { + s.MaxBitrate = &v + return s +} + +// SetMinIInterval sets the MinIInterval field's value. +func (s *H264Settings) SetMinIInterval(v int64) *H264Settings { + s.MinIInterval = &v + return s +} + +// SetNumRefFrames sets the NumRefFrames field's value. +func (s *H264Settings) SetNumRefFrames(v int64) *H264Settings { + s.NumRefFrames = &v + return s +} + +// SetParControl sets the ParControl field's value. +func (s *H264Settings) SetParControl(v string) *H264Settings { + s.ParControl = &v + return s +} + +// SetParDenominator sets the ParDenominator field's value. +func (s *H264Settings) SetParDenominator(v int64) *H264Settings { + s.ParDenominator = &v + return s +} + +// SetParNumerator sets the ParNumerator field's value. +func (s *H264Settings) SetParNumerator(v int64) *H264Settings { + s.ParNumerator = &v + return s +} + +// SetProfile sets the Profile field's value. +func (s *H264Settings) SetProfile(v string) *H264Settings { + s.Profile = &v + return s +} + +// SetRateControlMode sets the RateControlMode field's value. +func (s *H264Settings) SetRateControlMode(v string) *H264Settings { + s.RateControlMode = &v + return s +} + +// SetScanType sets the ScanType field's value. +func (s *H264Settings) SetScanType(v string) *H264Settings { + s.ScanType = &v + return s +} + +// SetSceneChangeDetect sets the SceneChangeDetect field's value. +func (s *H264Settings) SetSceneChangeDetect(v string) *H264Settings { + s.SceneChangeDetect = &v + return s +} + +// SetSlices sets the Slices field's value. +func (s *H264Settings) SetSlices(v int64) *H264Settings { + s.Slices = &v + return s +} + +// SetSoftness sets the Softness field's value. +func (s *H264Settings) SetSoftness(v int64) *H264Settings { + s.Softness = &v + return s +} + +// SetSpatialAq sets the SpatialAq field's value. +func (s *H264Settings) SetSpatialAq(v string) *H264Settings { + s.SpatialAq = &v + return s +} + +// SetSyntax sets the Syntax field's value. +func (s *H264Settings) SetSyntax(v string) *H264Settings { + s.Syntax = &v + return s +} + +// SetTemporalAq sets the TemporalAq field's value. +func (s *H264Settings) SetTemporalAq(v string) *H264Settings { + s.TemporalAq = &v + return s +} + +// SetTimecodeInsertion sets the TimecodeInsertion field's value. +func (s *H264Settings) SetTimecodeInsertion(v string) *H264Settings { + s.TimecodeInsertion = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsAkamaiSettings +type HlsAkamaiSettings struct { + _ struct{} `type:"structure"` + + // Number of seconds to wait before retrying connection to the CDN if the connection + // is lost. + ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` + + // Size in seconds of file cache for streaming outputs. + FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` + + // Specify whether or not to use chunked transfer encoding to Akamai. User should + // contact Akamai to enable this feature. + HttpTransferMode *string `locationName:"httpTransferMode" type:"string" enum:"HlsAkamaiHttpTransferMode"` + + // Number of retry attempts that will be made before the Live Event is put into + // an error state. + NumRetries *int64 `locationName:"numRetries" type:"integer"` + + // If a streaming output fails, number of seconds to wait until a restart is + // initiated. A value of 0 means never restart. + RestartDelay *int64 `locationName:"restartDelay" type:"integer"` + + // Salt for authenticated Akamai. + Salt *string `locationName:"salt" type:"string"` + + // Token parameter for authenticated akamai. If not specified, _gda_ is used. + Token *string `locationName:"token" type:"string"` +} + +// String returns the string representation +func (s HlsAkamaiSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsAkamaiSettings) GoString() string { + return s.String() +} + +// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. +func (s *HlsAkamaiSettings) SetConnectionRetryInterval(v int64) *HlsAkamaiSettings { + s.ConnectionRetryInterval = &v + return s +} + +// SetFilecacheDuration sets the FilecacheDuration field's value. +func (s *HlsAkamaiSettings) SetFilecacheDuration(v int64) *HlsAkamaiSettings { + s.FilecacheDuration = &v + return s +} + +// SetHttpTransferMode sets the HttpTransferMode field's value. +func (s *HlsAkamaiSettings) SetHttpTransferMode(v string) *HlsAkamaiSettings { + s.HttpTransferMode = &v + return s +} + +// SetNumRetries sets the NumRetries field's value. +func (s *HlsAkamaiSettings) SetNumRetries(v int64) *HlsAkamaiSettings { + s.NumRetries = &v + return s +} + +// SetRestartDelay sets the RestartDelay field's value. +func (s *HlsAkamaiSettings) SetRestartDelay(v int64) *HlsAkamaiSettings { + s.RestartDelay = &v + return s +} + +// SetSalt sets the Salt field's value. +func (s *HlsAkamaiSettings) SetSalt(v string) *HlsAkamaiSettings { + s.Salt = &v + return s +} + +// SetToken sets the Token field's value. +func (s *HlsAkamaiSettings) SetToken(v string) *HlsAkamaiSettings { + s.Token = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsBasicPutSettings +type HlsBasicPutSettings struct { + _ struct{} `type:"structure"` + + // Number of seconds to wait before retrying connection to the CDN if the connection + // is lost. + ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` + + // Size in seconds of file cache for streaming outputs. + FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` + + // Number of retry attempts that will be made before the Live Event is put into + // an error state. + NumRetries *int64 `locationName:"numRetries" type:"integer"` + + // If a streaming output fails, number of seconds to wait until a restart is + // initiated. A value of 0 means never restart. + RestartDelay *int64 `locationName:"restartDelay" type:"integer"` +} + +// String returns the string representation +func (s HlsBasicPutSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsBasicPutSettings) GoString() string { + return s.String() +} + +// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. +func (s *HlsBasicPutSettings) SetConnectionRetryInterval(v int64) *HlsBasicPutSettings { + s.ConnectionRetryInterval = &v + return s +} + +// SetFilecacheDuration sets the FilecacheDuration field's value. +func (s *HlsBasicPutSettings) SetFilecacheDuration(v int64) *HlsBasicPutSettings { + s.FilecacheDuration = &v + return s +} + +// SetNumRetries sets the NumRetries field's value. +func (s *HlsBasicPutSettings) SetNumRetries(v int64) *HlsBasicPutSettings { + s.NumRetries = &v + return s +} + +// SetRestartDelay sets the RestartDelay field's value. +func (s *HlsBasicPutSettings) SetRestartDelay(v int64) *HlsBasicPutSettings { + s.RestartDelay = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsCdnSettings +type HlsCdnSettings struct { + _ struct{} `type:"structure"` + + HlsAkamaiSettings *HlsAkamaiSettings `locationName:"hlsAkamaiSettings" type:"structure"` + + HlsBasicPutSettings *HlsBasicPutSettings `locationName:"hlsBasicPutSettings" type:"structure"` + + HlsMediaStoreSettings *HlsMediaStoreSettings `locationName:"hlsMediaStoreSettings" type:"structure"` + + HlsWebdavSettings *HlsWebdavSettings `locationName:"hlsWebdavSettings" type:"structure"` +} + +// String returns the string representation +func (s HlsCdnSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsCdnSettings) GoString() string { + return s.String() +} + +// SetHlsAkamaiSettings sets the HlsAkamaiSettings field's value. +func (s *HlsCdnSettings) SetHlsAkamaiSettings(v *HlsAkamaiSettings) *HlsCdnSettings { + s.HlsAkamaiSettings = v + return s +} + +// SetHlsBasicPutSettings sets the HlsBasicPutSettings field's value. +func (s *HlsCdnSettings) SetHlsBasicPutSettings(v *HlsBasicPutSettings) *HlsCdnSettings { + s.HlsBasicPutSettings = v + return s +} + +// SetHlsMediaStoreSettings sets the HlsMediaStoreSettings field's value. +func (s *HlsCdnSettings) SetHlsMediaStoreSettings(v *HlsMediaStoreSettings) *HlsCdnSettings { + s.HlsMediaStoreSettings = v + return s +} + +// SetHlsWebdavSettings sets the HlsWebdavSettings field's value. +func (s *HlsCdnSettings) SetHlsWebdavSettings(v *HlsWebdavSettings) *HlsCdnSettings { + s.HlsWebdavSettings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsGroupSettings +type HlsGroupSettings struct { + _ struct{} `type:"structure"` + + // Choose one or more ad marker types to pass SCTE35 signals through to this + // group of Apple HLS outputs. + AdMarkers []*string `locationName:"adMarkers" type:"list"` + + // A partial URI prefix that will be prepended to each output in the media .m3u8 + // file. Can be used if base manifest is delivered from a different URL than + // the main .m3u8 file. + BaseUrlContent *string `locationName:"baseUrlContent" type:"string"` + + // A partial URI prefix that will be prepended to each output in the media .m3u8 + // file. Can be used if base manifest is delivered from a different URL than + // the main .m3u8 file. + BaseUrlManifest *string `locationName:"baseUrlManifest" type:"string"` + + // Mapping of up to 4 caption channels to caption languages. Is only meaningful + // if captionLanguageSetting is set to "insert". + CaptionLanguageMappings []*CaptionLanguageMapping `locationName:"captionLanguageMappings" type:"list"` + + // Applies only to 608 Embedded output captions.insert: Include CLOSED-CAPTIONS + // lines in the manifest. Specify at least one language in the CC1 Language + // Code field. One CLOSED-CAPTION line is added for each Language Code you specify. + // Make sure to specify the languages in the order in which they appear in the + // original source (if the source is embedded format) or the order of the caption + // selectors (if the source is other than embedded). Otherwise, languages in + // the manifest will not match up properly with the output captions.none: Include + // CLOSED-CAPTIONS=NONE line in the manifest.omit: Omit any CLOSED-CAPTIONS + // line from the manifest. + CaptionLanguageSetting *string `locationName:"captionLanguageSetting" type:"string" enum:"HlsCaptionLanguageSetting"` + + // When set to "disabled", sets the #EXT-X-ALLOW-CACHE:no tag in the manifest, + // which prevents clients from saving media segments for later replay. + ClientCache *string `locationName:"clientCache" type:"string" enum:"HlsClientCache"` + + // Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist + // generation. + CodecSpecification *string `locationName:"codecSpecification" type:"string" enum:"HlsCodecSpecification"` + + // For use with encryptionType. This is a 128-bit, 16-byte hex value represented + // by a 32-character text string. If ivSource is set to "explicit" then this + // parameter is required and is used as the IV for encryption. + ConstantIv *string `locationName:"constantIv" type:"string"` + + // A directory or HTTP destination for the HLS segments, manifest files, and + // encryption keys (if enabled). + Destination *OutputLocationRef `locationName:"destination" type:"structure"` + + // Place segments in subdirectories. + DirectoryStructure *string `locationName:"directoryStructure" type:"string" enum:"HlsDirectoryStructure"` + + // Encrypts the segments with the given encryption scheme. Exclude this parameter + // if no encryption is desired. + EncryptionType *string `locationName:"encryptionType" type:"string" enum:"HlsEncryptionType"` + + // Parameters that control interactions with the CDN. + HlsCdnSettings *HlsCdnSettings `locationName:"hlsCdnSettings" type:"structure"` + + // Number of segments to keep in the playlist (.m3u8) file. mode must be "vod" + // for this setting to have an effect, and this number should be less than or + // equal to keepSegments. + IndexNSegments *int64 `locationName:"indexNSegments" type:"integer"` + + // Parameter that control output group behavior on input loss. + InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForHlsOut"` + + // For use with encryptionType. The IV (Initialization Vector) is a 128-bit + // number used in conjunction with the key for encrypting blocks. If set to + // "include", IV is listed in the manifest, otherwise the IV is not in the manifest. + IvInManifest *string `locationName:"ivInManifest" type:"string" enum:"HlsIvInManifest"` + + // For use with encryptionType. The IV (Initialization Vector) is a 128-bit + // number used in conjunction with the key for encrypting blocks. If this setting + // is "followsSegmentNumber", it will cause the IV to change every segment (to + // match the segment number). If this is set to "explicit", you must enter a + // constantIv value. + IvSource *string `locationName:"ivSource" type:"string" enum:"HlsIvSource"` + + // Number of segments to retain in the destination directory. mode must be "live" + // for this setting to have an effect. + KeepSegments *int64 `locationName:"keepSegments" type:"integer"` + + // The value specifies how the key is represented in the resource identified + // by the URI. If parameter is absent, an implicit value of "identity" is used. + // A reverse DNS string can also be given. + KeyFormat *string `locationName:"keyFormat" type:"string"` + + // Either a single positive integer version value or a slash delimited list + // of version values (1/2/3). + KeyFormatVersions *string `locationName:"keyFormatVersions" type:"string"` + + // The key provider settings. + KeyProviderSettings *KeyProviderSettings `locationName:"keyProviderSettings" type:"structure"` + + // When set to gzip, compresses HLS playlist. + ManifestCompression *string `locationName:"manifestCompression" type:"string" enum:"HlsManifestCompression"` + + // Indicates whether the output manifest should use floating point or integer + // values for segment duration. + ManifestDurationFormat *string `locationName:"manifestDurationFormat" type:"string" enum:"HlsManifestDurationFormat"` + + // When set, minimumSegmentLength is enforced by looking ahead and back within + // the specified range for a nearby avail and extending the segment size if + // needed. + MinSegmentLength *int64 `locationName:"minSegmentLength" type:"integer"` + + // If set to "vod", keeps and indexes all segments starting with the first segment. + // If set to "live" segments will age out and only the last keepSegments number + // of segments will be retained. + Mode *string `locationName:"mode" type:"string" enum:"HlsMode"` + + // Generates the .m3u8 playlist file for this HLS output group. The segmentsOnly + // option will output segments without the .m3u8 file. + OutputSelection *string `locationName:"outputSelection" type:"string" enum:"HlsOutputSelection"` + + // Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. + // The value is calculated as follows: either the program date and time are + // initialized using the input timecode source, or the time is initialized using + // the input timecode source and the date is initialized using the timestampOffset. + ProgramDateTime *string `locationName:"programDateTime" type:"string" enum:"HlsProgramDateTime"` + + // Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. + ProgramDateTimePeriod *int64 `locationName:"programDateTimePeriod" type:"integer"` + + // Length of MPEG-2 Transport Stream segments to create (in seconds). Note that + // segments will end on the next keyframe after this number of seconds, so actual + // segment length may be longer. + SegmentLength *int64 `locationName:"segmentLength" type:"integer"` + + // When set to useInputSegmentation, the output segment or fragment points are + // set by the RAI markers from the input streams. + SegmentationMode *string `locationName:"segmentationMode" type:"string" enum:"HlsSegmentationMode"` + + // Number of segments to write to a subdirectory before starting a new one. + // directoryStructure must be subdirectoryPerStream for this setting to have + // an effect. + SegmentsPerSubdirectory *int64 `locationName:"segmentsPerSubdirectory" type:"integer"` + + // Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag + // of variant manifest. + StreamInfResolution *string `locationName:"streamInfResolution" type:"string" enum:"HlsStreamInfResolution"` + + // Indicates ID3 frame that has the timecode. + TimedMetadataId3Frame *string `locationName:"timedMetadataId3Frame" type:"string" enum:"HlsTimedMetadataId3Frame"` + + // Timed Metadata interval in seconds. + TimedMetadataId3Period *int64 `locationName:"timedMetadataId3Period" type:"integer"` + + // Provides an extra millisecond delta offset to fine tune the timestamps. + TimestampDeltaMilliseconds *int64 `locationName:"timestampDeltaMilliseconds" type:"integer"` + + // When set to "singleFile", emits the program as a single media resource (.ts) + // file, and uses #EXT-X-BYTERANGE tags to index segment for playback. Playback + // of VOD mode content during event is not guaranteed due to HTTP server caching. + TsFileMode *string `locationName:"tsFileMode" type:"string" enum:"HlsTsFileMode"` +} + +// String returns the string representation +func (s HlsGroupSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsGroupSettings) GoString() string { + return s.String() +} + +// SetAdMarkers sets the AdMarkers field's value. +func (s *HlsGroupSettings) SetAdMarkers(v []*string) *HlsGroupSettings { + s.AdMarkers = v + return s +} + +// SetBaseUrlContent sets the BaseUrlContent field's value. +func (s *HlsGroupSettings) SetBaseUrlContent(v string) *HlsGroupSettings { + s.BaseUrlContent = &v + return s +} + +// SetBaseUrlManifest sets the BaseUrlManifest field's value. +func (s *HlsGroupSettings) SetBaseUrlManifest(v string) *HlsGroupSettings { + s.BaseUrlManifest = &v + return s +} + +// SetCaptionLanguageMappings sets the CaptionLanguageMappings field's value. +func (s *HlsGroupSettings) SetCaptionLanguageMappings(v []*CaptionLanguageMapping) *HlsGroupSettings { + s.CaptionLanguageMappings = v + return s +} + +// SetCaptionLanguageSetting sets the CaptionLanguageSetting field's value. +func (s *HlsGroupSettings) SetCaptionLanguageSetting(v string) *HlsGroupSettings { + s.CaptionLanguageSetting = &v + return s +} + +// SetClientCache sets the ClientCache field's value. +func (s *HlsGroupSettings) SetClientCache(v string) *HlsGroupSettings { + s.ClientCache = &v + return s +} + +// SetCodecSpecification sets the CodecSpecification field's value. +func (s *HlsGroupSettings) SetCodecSpecification(v string) *HlsGroupSettings { + s.CodecSpecification = &v + return s +} + +// SetConstantIv sets the ConstantIv field's value. +func (s *HlsGroupSettings) SetConstantIv(v string) *HlsGroupSettings { + s.ConstantIv = &v + return s +} + +// SetDestination sets the Destination field's value. +func (s *HlsGroupSettings) SetDestination(v *OutputLocationRef) *HlsGroupSettings { + s.Destination = v + return s +} + +// SetDirectoryStructure sets the DirectoryStructure field's value. +func (s *HlsGroupSettings) SetDirectoryStructure(v string) *HlsGroupSettings { + s.DirectoryStructure = &v + return s +} + +// SetEncryptionType sets the EncryptionType field's value. +func (s *HlsGroupSettings) SetEncryptionType(v string) *HlsGroupSettings { + s.EncryptionType = &v + return s +} + +// SetHlsCdnSettings sets the HlsCdnSettings field's value. +func (s *HlsGroupSettings) SetHlsCdnSettings(v *HlsCdnSettings) *HlsGroupSettings { + s.HlsCdnSettings = v + return s +} + +// SetIndexNSegments sets the IndexNSegments field's value. +func (s *HlsGroupSettings) SetIndexNSegments(v int64) *HlsGroupSettings { + s.IndexNSegments = &v + return s +} + +// SetInputLossAction sets the InputLossAction field's value. +func (s *HlsGroupSettings) SetInputLossAction(v string) *HlsGroupSettings { + s.InputLossAction = &v + return s +} + +// SetIvInManifest sets the IvInManifest field's value. +func (s *HlsGroupSettings) SetIvInManifest(v string) *HlsGroupSettings { + s.IvInManifest = &v + return s +} + +// SetIvSource sets the IvSource field's value. +func (s *HlsGroupSettings) SetIvSource(v string) *HlsGroupSettings { + s.IvSource = &v + return s +} + +// SetKeepSegments sets the KeepSegments field's value. +func (s *HlsGroupSettings) SetKeepSegments(v int64) *HlsGroupSettings { + s.KeepSegments = &v + return s +} + +// SetKeyFormat sets the KeyFormat field's value. +func (s *HlsGroupSettings) SetKeyFormat(v string) *HlsGroupSettings { + s.KeyFormat = &v + return s +} + +// SetKeyFormatVersions sets the KeyFormatVersions field's value. +func (s *HlsGroupSettings) SetKeyFormatVersions(v string) *HlsGroupSettings { + s.KeyFormatVersions = &v + return s +} + +// SetKeyProviderSettings sets the KeyProviderSettings field's value. +func (s *HlsGroupSettings) SetKeyProviderSettings(v *KeyProviderSettings) *HlsGroupSettings { + s.KeyProviderSettings = v + return s +} + +// SetManifestCompression sets the ManifestCompression field's value. +func (s *HlsGroupSettings) SetManifestCompression(v string) *HlsGroupSettings { + s.ManifestCompression = &v + return s +} + +// SetManifestDurationFormat sets the ManifestDurationFormat field's value. +func (s *HlsGroupSettings) SetManifestDurationFormat(v string) *HlsGroupSettings { + s.ManifestDurationFormat = &v + return s +} + +// SetMinSegmentLength sets the MinSegmentLength field's value. +func (s *HlsGroupSettings) SetMinSegmentLength(v int64) *HlsGroupSettings { + s.MinSegmentLength = &v + return s +} + +// SetMode sets the Mode field's value. +func (s *HlsGroupSettings) SetMode(v string) *HlsGroupSettings { + s.Mode = &v + return s +} + +// SetOutputSelection sets the OutputSelection field's value. +func (s *HlsGroupSettings) SetOutputSelection(v string) *HlsGroupSettings { + s.OutputSelection = &v + return s +} + +// SetProgramDateTime sets the ProgramDateTime field's value. +func (s *HlsGroupSettings) SetProgramDateTime(v string) *HlsGroupSettings { + s.ProgramDateTime = &v + return s +} + +// SetProgramDateTimePeriod sets the ProgramDateTimePeriod field's value. +func (s *HlsGroupSettings) SetProgramDateTimePeriod(v int64) *HlsGroupSettings { + s.ProgramDateTimePeriod = &v + return s +} + +// SetSegmentLength sets the SegmentLength field's value. +func (s *HlsGroupSettings) SetSegmentLength(v int64) *HlsGroupSettings { + s.SegmentLength = &v + return s +} + +// SetSegmentationMode sets the SegmentationMode field's value. +func (s *HlsGroupSettings) SetSegmentationMode(v string) *HlsGroupSettings { + s.SegmentationMode = &v + return s +} + +// SetSegmentsPerSubdirectory sets the SegmentsPerSubdirectory field's value. +func (s *HlsGroupSettings) SetSegmentsPerSubdirectory(v int64) *HlsGroupSettings { + s.SegmentsPerSubdirectory = &v + return s +} + +// SetStreamInfResolution sets the StreamInfResolution field's value. +func (s *HlsGroupSettings) SetStreamInfResolution(v string) *HlsGroupSettings { + s.StreamInfResolution = &v + return s +} + +// SetTimedMetadataId3Frame sets the TimedMetadataId3Frame field's value. +func (s *HlsGroupSettings) SetTimedMetadataId3Frame(v string) *HlsGroupSettings { + s.TimedMetadataId3Frame = &v + return s +} + +// SetTimedMetadataId3Period sets the TimedMetadataId3Period field's value. +func (s *HlsGroupSettings) SetTimedMetadataId3Period(v int64) *HlsGroupSettings { + s.TimedMetadataId3Period = &v + return s +} + +// SetTimestampDeltaMilliseconds sets the TimestampDeltaMilliseconds field's value. +func (s *HlsGroupSettings) SetTimestampDeltaMilliseconds(v int64) *HlsGroupSettings { + s.TimestampDeltaMilliseconds = &v + return s +} + +// SetTsFileMode sets the TsFileMode field's value. +func (s *HlsGroupSettings) SetTsFileMode(v string) *HlsGroupSettings { + s.TsFileMode = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsInputSettings +type HlsInputSettings struct { + _ struct{} `type:"structure"` + + // When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches + // this value will be chosen, otherwise the highest bandwidth stream in the + // m3u8 will be chosen. The bitrate is specified in bits per second, as in an + // HLS manifest. + Bandwidth *int64 `locationName:"bandwidth" type:"integer"` + + // When specified, reading of the HLS input will begin this many buffer segments + // from the end (most recently written segment). When not specified, the HLS + // input will begin with the first segment specified in the m3u8. + BufferSegments *int64 `locationName:"bufferSegments" type:"integer"` + + // The number of consecutive times that attempts to read a manifest or segment + // must fail before the input is considered unavailable. + Retries *int64 `locationName:"retries" type:"integer"` + + // The number of seconds between retries when an attempt to read a manifest + // or segment fails. + RetryInterval *int64 `locationName:"retryInterval" type:"integer"` +} + +// String returns the string representation +func (s HlsInputSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsInputSettings) GoString() string { + return s.String() +} + +// SetBandwidth sets the Bandwidth field's value. +func (s *HlsInputSettings) SetBandwidth(v int64) *HlsInputSettings { + s.Bandwidth = &v + return s +} + +// SetBufferSegments sets the BufferSegments field's value. +func (s *HlsInputSettings) SetBufferSegments(v int64) *HlsInputSettings { + s.BufferSegments = &v + return s +} + +// SetRetries sets the Retries field's value. +func (s *HlsInputSettings) SetRetries(v int64) *HlsInputSettings { + s.Retries = &v + return s +} + +// SetRetryInterval sets the RetryInterval field's value. +func (s *HlsInputSettings) SetRetryInterval(v int64) *HlsInputSettings { + s.RetryInterval = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsMediaStoreSettings +type HlsMediaStoreSettings struct { + _ struct{} `type:"structure"` + + // Number of seconds to wait before retrying connection to the CDN if the connection + // is lost. + ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` + + // Size in seconds of file cache for streaming outputs. + FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` + + // When set to temporal, output files are stored in non-persistent memory for + // faster reading and writing. + MediaStoreStorageClass *string `locationName:"mediaStoreStorageClass" type:"string" enum:"HlsMediaStoreStorageClass"` + + // Number of retry attempts that will be made before the Live Event is put into + // an error state. + NumRetries *int64 `locationName:"numRetries" type:"integer"` + + // If a streaming output fails, number of seconds to wait until a restart is + // initiated. A value of 0 means never restart. + RestartDelay *int64 `locationName:"restartDelay" type:"integer"` +} + +// String returns the string representation +func (s HlsMediaStoreSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsMediaStoreSettings) GoString() string { + return s.String() +} + +// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. +func (s *HlsMediaStoreSettings) SetConnectionRetryInterval(v int64) *HlsMediaStoreSettings { + s.ConnectionRetryInterval = &v + return s +} + +// SetFilecacheDuration sets the FilecacheDuration field's value. +func (s *HlsMediaStoreSettings) SetFilecacheDuration(v int64) *HlsMediaStoreSettings { + s.FilecacheDuration = &v + return s +} + +// SetMediaStoreStorageClass sets the MediaStoreStorageClass field's value. +func (s *HlsMediaStoreSettings) SetMediaStoreStorageClass(v string) *HlsMediaStoreSettings { + s.MediaStoreStorageClass = &v + return s +} + +// SetNumRetries sets the NumRetries field's value. +func (s *HlsMediaStoreSettings) SetNumRetries(v int64) *HlsMediaStoreSettings { + s.NumRetries = &v + return s +} + +// SetRestartDelay sets the RestartDelay field's value. +func (s *HlsMediaStoreSettings) SetRestartDelay(v int64) *HlsMediaStoreSettings { + s.RestartDelay = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsOutputSettings +type HlsOutputSettings struct { + _ struct{} `type:"structure"` + + // Settings regarding the underlying stream. These settings are different for + // audio-only outputs. + HlsSettings *HlsSettings `locationName:"hlsSettings" type:"structure"` + + // String concatenated to the end of the destination filename. Accepts \"Format + // Identifiers\":#formatIdentifierParameters. + NameModifier *string `locationName:"nameModifier" type:"string"` + + // String concatenated to end of segment filenames. + SegmentModifier *string `locationName:"segmentModifier" type:"string"` +} + +// String returns the string representation +func (s HlsOutputSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsOutputSettings) GoString() string { + return s.String() +} + +// SetHlsSettings sets the HlsSettings field's value. +func (s *HlsOutputSettings) SetHlsSettings(v *HlsSettings) *HlsOutputSettings { + s.HlsSettings = v + return s +} + +// SetNameModifier sets the NameModifier field's value. +func (s *HlsOutputSettings) SetNameModifier(v string) *HlsOutputSettings { + s.NameModifier = &v + return s +} + +// SetSegmentModifier sets the SegmentModifier field's value. +func (s *HlsOutputSettings) SetSegmentModifier(v string) *HlsOutputSettings { + s.SegmentModifier = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsSettings +type HlsSettings struct { + _ struct{} `type:"structure"` + + AudioOnlyHlsSettings *AudioOnlyHlsSettings `locationName:"audioOnlyHlsSettings" type:"structure"` + + StandardHlsSettings *StandardHlsSettings `locationName:"standardHlsSettings" type:"structure"` +} + +// String returns the string representation +func (s HlsSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsSettings) GoString() string { + return s.String() +} + +// SetAudioOnlyHlsSettings sets the AudioOnlyHlsSettings field's value. +func (s *HlsSettings) SetAudioOnlyHlsSettings(v *AudioOnlyHlsSettings) *HlsSettings { + s.AudioOnlyHlsSettings = v + return s +} + +// SetStandardHlsSettings sets the StandardHlsSettings field's value. +func (s *HlsSettings) SetStandardHlsSettings(v *StandardHlsSettings) *HlsSettings { + s.StandardHlsSettings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsWebdavSettings +type HlsWebdavSettings struct { + _ struct{} `type:"structure"` + + // Number of seconds to wait before retrying connection to the CDN if the connection + // is lost. + ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` + + // Size in seconds of file cache for streaming outputs. + FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` + + // Specify whether or not to use chunked transfer encoding to WebDAV. + HttpTransferMode *string `locationName:"httpTransferMode" type:"string" enum:"HlsWebdavHttpTransferMode"` + + // Number of retry attempts that will be made before the Live Event is put into + // an error state. + NumRetries *int64 `locationName:"numRetries" type:"integer"` + + // If a streaming output fails, number of seconds to wait until a restart is + // initiated. A value of 0 means never restart. + RestartDelay *int64 `locationName:"restartDelay" type:"integer"` +} + +// String returns the string representation +func (s HlsWebdavSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsWebdavSettings) GoString() string { + return s.String() +} + +// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. +func (s *HlsWebdavSettings) SetConnectionRetryInterval(v int64) *HlsWebdavSettings { + s.ConnectionRetryInterval = &v + return s +} + +// SetFilecacheDuration sets the FilecacheDuration field's value. +func (s *HlsWebdavSettings) SetFilecacheDuration(v int64) *HlsWebdavSettings { + s.FilecacheDuration = &v + return s +} + +// SetHttpTransferMode sets the HttpTransferMode field's value. +func (s *HlsWebdavSettings) SetHttpTransferMode(v string) *HlsWebdavSettings { + s.HttpTransferMode = &v + return s +} + +// SetNumRetries sets the NumRetries field's value. +func (s *HlsWebdavSettings) SetNumRetries(v int64) *HlsWebdavSettings { + s.NumRetries = &v + return s +} + +// SetRestartDelay sets the RestartDelay field's value. +func (s *HlsWebdavSettings) SetRestartDelay(v int64) *HlsWebdavSettings { + s.RestartDelay = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Input +type Input struct { + _ struct{} `type:"structure"` + + // Unique ARN of input (generated, immutable) + Arn *string `locationName:"arn" type:"string"` + + // List of channel IDs that that input is attached to (currently an input can + // only be attached to one channel) + AttachedChannels []*string `locationName:"attachedChannels" type:"list"` + + // List of destinations of input (PULL-type) + Destinations []*InputDestination `locationName:"destinations" type:"list"` + + // generated ID of input (unique for user account, immutable) + Id *string `locationName:"id" type:"string"` + + // user-assigned name (mutable) + Name *string `locationName:"name" type:"string"` + + // List of IDs for all the security groups attached to the input. + SecurityGroups []*string `locationName:"securityGroups" type:"list"` + + // List of sources of input (PULL-type) + Sources []*InputSource `locationName:"sources" type:"list"` + + State *string `locationName:"state" type:"string" enum:"InputState"` + + Type *string `locationName:"type" type:"string" enum:"InputType"` +} + +// String returns the string representation +func (s Input) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Input) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Input) SetArn(v string) *Input { + s.Arn = &v + return s +} + +// SetAttachedChannels sets the AttachedChannels field's value. +func (s *Input) SetAttachedChannels(v []*string) *Input { + s.AttachedChannels = v + return s +} + +// SetDestinations sets the Destinations field's value. +func (s *Input) SetDestinations(v []*InputDestination) *Input { + s.Destinations = v + return s +} + +// SetId sets the Id field's value. +func (s *Input) SetId(v string) *Input { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *Input) SetName(v string) *Input { + s.Name = &v + return s +} + +// SetSecurityGroups sets the SecurityGroups field's value. +func (s *Input) SetSecurityGroups(v []*string) *Input { + s.SecurityGroups = v + return s +} + +// SetSources sets the Sources field's value. +func (s *Input) SetSources(v []*InputSource) *Input { + s.Sources = v + return s +} + +// SetState sets the State field's value. +func (s *Input) SetState(v string) *Input { + s.State = &v + return s +} + +// SetType sets the Type field's value. +func (s *Input) SetType(v string) *Input { + s.Type = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputAttachment +type InputAttachment struct { + _ struct{} `type:"structure"` + + // The ID of the input + InputId *string `locationName:"inputId" type:"string"` + + // Settings of an input (caption selector, etc.) + InputSettings *InputSettings `locationName:"inputSettings" type:"structure"` +} + +// String returns the string representation +func (s InputAttachment) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputAttachment) GoString() string { + return s.String() +} + +// SetInputId sets the InputId field's value. +func (s *InputAttachment) SetInputId(v string) *InputAttachment { + s.InputId = &v + return s +} + +// SetInputSettings sets the InputSettings field's value. +func (s *InputAttachment) SetInputSettings(v *InputSettings) *InputAttachment { + s.InputSettings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputChannelLevel +type InputChannelLevel struct { + _ struct{} `type:"structure"` + + // Remixing value. Units are in dB and acceptable values are within the range + // from -60 (mute) and 6 dB. + Gain *int64 `locationName:"gain" type:"integer"` + + // The index of the input channel used as a source. + InputChannel *int64 `locationName:"inputChannel" type:"integer"` +} + +// String returns the string representation +func (s InputChannelLevel) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputChannelLevel) GoString() string { + return s.String() +} + +// SetGain sets the Gain field's value. +func (s *InputChannelLevel) SetGain(v int64) *InputChannelLevel { + s.Gain = &v + return s +} + +// SetInputChannel sets the InputChannel field's value. +func (s *InputChannelLevel) SetInputChannel(v int64) *InputChannelLevel { + s.InputChannel = &v + return s +} + +// Settings for a PUSH type input +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputDestination +type InputDestination struct { + _ struct{} `type:"structure"` + + // system-generated static IP address of endpoint.Remains fixed for the lifetime + // of the input + Ip *string `locationName:"ip" type:"string"` + + // port for input + Port *string `locationName:"port" type:"string"` + + // This represents the endpoint that the customer stream will bepushed to. + Url *string `locationName:"url" type:"string"` +} + +// String returns the string representation +func (s InputDestination) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputDestination) GoString() string { + return s.String() +} + +// SetIp sets the Ip field's value. +func (s *InputDestination) SetIp(v string) *InputDestination { + s.Ip = &v + return s +} + +// SetPort sets the Port field's value. +func (s *InputDestination) SetPort(v string) *InputDestination { + s.Port = &v + return s +} + +// SetUrl sets the Url field's value. +func (s *InputDestination) SetUrl(v string) *InputDestination { + s.Url = &v + return s +} + +// Endpoint settings for a PUSH type input +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputDestinationRequest +type InputDestinationRequest struct { + _ struct{} `type:"structure"` + + // A unique name for the location the RTMP stream is being pushedto. + StreamName *string `locationName:"streamName" type:"string"` +} + +// String returns the string representation +func (s InputDestinationRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputDestinationRequest) GoString() string { + return s.String() +} + +// SetStreamName sets the StreamName field's value. +func (s *InputDestinationRequest) SetStreamName(v string) *InputDestinationRequest { + s.StreamName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputLocation +type InputLocation struct { + _ struct{} `type:"structure"` + + // key used to extract the password from EC2 Parameter store + PasswordParam *string `locationName:"passwordParam" type:"string"` + + // Uniform Resource Identifier - This should be a path to a file accessible + // to the Live system (eg. a http:// URI) depending on the output type. For + // example, a rtmpEndpoint should have a uri simliar to: "rtmp://fmsserver/live". + Uri *string `locationName:"uri" type:"string"` + + // Username if credentials are required to access a file or publishing point. + // This can be either a plaintext username, or a reference to an AWS parameter + // store name from which the username can be retrieved. AWS Parameter store + // format: "ssm://" + Username *string `locationName:"username" type:"string"` +} + +// String returns the string representation +func (s InputLocation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputLocation) GoString() string { + return s.String() +} + +// SetPasswordParam sets the PasswordParam field's value. +func (s *InputLocation) SetPasswordParam(v string) *InputLocation { + s.PasswordParam = &v + return s +} + +// SetUri sets the Uri field's value. +func (s *InputLocation) SetUri(v string) *InputLocation { + s.Uri = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *InputLocation) SetUsername(v string) *InputLocation { + s.Username = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputLossBehavior +type InputLossBehavior struct { + _ struct{} `type:"structure"` + + // On input loss, the number of milliseconds to substitute black into the output + // before switching to the frame specified by inputLossImageType. A value x, + // where 0 <= x <= 1,000,000 and a value of 1,000,000 will be interpreted as + // infinite. + BlackFrameMsec *int64 `locationName:"blackFrameMsec" type:"integer"` + + // When input loss image type is "color" this field specifies the color to use. + // Value: 6 hex characters representing the values of RGB. + InputLossImageColor *string `locationName:"inputLossImageColor" type:"string"` + + // When input loss image type is "slate" these fields specify the parameters + // for accessing the slate. + InputLossImageSlate *InputLocation `locationName:"inputLossImageSlate" type:"structure"` + + // Indicates whether to substitute a solid color or a slate into the output + // after input loss exceeds blackFrameMsec. + InputLossImageType *string `locationName:"inputLossImageType" type:"string" enum:"InputLossImageType"` + + // On input loss, the number of milliseconds to repeat the previous picture + // before substituting black into the output. A value x, where 0 <= x <= 1,000,000 + // and a value of 1,000,000 will be interpreted as infinite. + RepeatFrameMsec *int64 `locationName:"repeatFrameMsec" type:"integer"` +} + +// String returns the string representation +func (s InputLossBehavior) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputLossBehavior) GoString() string { + return s.String() +} + +// SetBlackFrameMsec sets the BlackFrameMsec field's value. +func (s *InputLossBehavior) SetBlackFrameMsec(v int64) *InputLossBehavior { + s.BlackFrameMsec = &v + return s +} + +// SetInputLossImageColor sets the InputLossImageColor field's value. +func (s *InputLossBehavior) SetInputLossImageColor(v string) *InputLossBehavior { + s.InputLossImageColor = &v + return s +} + +// SetInputLossImageSlate sets the InputLossImageSlate field's value. +func (s *InputLossBehavior) SetInputLossImageSlate(v *InputLocation) *InputLossBehavior { + s.InputLossImageSlate = v + return s +} + +// SetInputLossImageType sets the InputLossImageType field's value. +func (s *InputLossBehavior) SetInputLossImageType(v string) *InputLossBehavior { + s.InputLossImageType = &v + return s +} + +// SetRepeatFrameMsec sets the RepeatFrameMsec field's value. +func (s *InputLossBehavior) SetRepeatFrameMsec(v int64) *InputLossBehavior { + s.RepeatFrameMsec = &v + return s +} + +// An Input Security Group +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputSecurityGroup +type InputSecurityGroup struct { + _ struct{} `type:"structure"` + + // Unique ARN of Input Security Group + Arn *string `locationName:"arn" type:"string"` + + // The Id of the Input Security Group + Id *string `locationName:"id" type:"string"` + + // Whitelist rules and their sync status + WhitelistRules []*InputWhitelistRule `locationName:"whitelistRules" type:"list"` +} + +// String returns the string representation +func (s InputSecurityGroup) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputSecurityGroup) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *InputSecurityGroup) SetArn(v string) *InputSecurityGroup { + s.Arn = &v + return s +} + +// SetId sets the Id field's value. +func (s *InputSecurityGroup) SetId(v string) *InputSecurityGroup { + s.Id = &v + return s +} + +// SetWhitelistRules sets the WhitelistRules field's value. +func (s *InputSecurityGroup) SetWhitelistRules(v []*InputWhitelistRule) *InputSecurityGroup { + s.WhitelistRules = v + return s +} + +// Live Event input parameters. There can be multiple inputs in a single Live +// Event. +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputSettings +type InputSettings struct { + _ struct{} `type:"structure"` + + // Used to select the audio stream to decode for inputs that have multiple available. + AudioSelectors []*AudioSelector `locationName:"audioSelectors" type:"list"` + + // Used to select the caption input to use for inputs that have multiple available. + CaptionSelectors []*CaptionSelector `locationName:"captionSelectors" type:"list"` + + // Enable or disable the deblock filter when filtering. + DeblockFilter *string `locationName:"deblockFilter" type:"string" enum:"InputDeblockFilter"` + + // Enable or disable the denoise filter when filtering. + DenoiseFilter *string `locationName:"denoiseFilter" type:"string" enum:"InputDenoiseFilter"` + + // Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest). + FilterStrength *int64 `locationName:"filterStrength" type:"integer"` + + // Turns on the filter for this input. MPEG-2 inputs have the deblocking filter + // enabled by default.1) auto - filtering will be applied depending on input + // type/quality2) disabled - no filtering will be applied to the input3) forced + // - filtering will be applied regardless of input type + InputFilter *string `locationName:"inputFilter" type:"string" enum:"InputFilter"` + + // Input settings. + NetworkInputSettings *NetworkInputSettings `locationName:"networkInputSettings" type:"structure"` + + // Loop input if it is a file. This allows a file input to be streamed indefinitely. + SourceEndBehavior *string `locationName:"sourceEndBehavior" type:"string" enum:"InputSourceEndBehavior"` + + // Informs which video elementary stream to decode for input types that have + // multiple available. + VideoSelector *VideoSelector `locationName:"videoSelector" type:"structure"` +} + +// String returns the string representation +func (s InputSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputSettings) GoString() string { + return s.String() +} + +// SetAudioSelectors sets the AudioSelectors field's value. +func (s *InputSettings) SetAudioSelectors(v []*AudioSelector) *InputSettings { + s.AudioSelectors = v + return s +} + +// SetCaptionSelectors sets the CaptionSelectors field's value. +func (s *InputSettings) SetCaptionSelectors(v []*CaptionSelector) *InputSettings { + s.CaptionSelectors = v + return s +} + +// SetDeblockFilter sets the DeblockFilter field's value. +func (s *InputSettings) SetDeblockFilter(v string) *InputSettings { + s.DeblockFilter = &v + return s +} + +// SetDenoiseFilter sets the DenoiseFilter field's value. +func (s *InputSettings) SetDenoiseFilter(v string) *InputSettings { + s.DenoiseFilter = &v + return s +} + +// SetFilterStrength sets the FilterStrength field's value. +func (s *InputSettings) SetFilterStrength(v int64) *InputSettings { + s.FilterStrength = &v + return s +} + +// SetInputFilter sets the InputFilter field's value. +func (s *InputSettings) SetInputFilter(v string) *InputSettings { + s.InputFilter = &v + return s +} + +// SetNetworkInputSettings sets the NetworkInputSettings field's value. +func (s *InputSettings) SetNetworkInputSettings(v *NetworkInputSettings) *InputSettings { + s.NetworkInputSettings = v + return s +} + +// SetSourceEndBehavior sets the SourceEndBehavior field's value. +func (s *InputSettings) SetSourceEndBehavior(v string) *InputSettings { + s.SourceEndBehavior = &v + return s +} + +// SetVideoSelector sets the VideoSelector field's value. +func (s *InputSettings) SetVideoSelector(v *VideoSelector) *InputSettings { + s.VideoSelector = v + return s +} + +// Settings for a PULL type input +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputSource +type InputSource struct { + _ struct{} `type:"structure"` + + // key used to extract the password from EC2 Parameter store + PasswordParam *string `locationName:"passwordParam" type:"string"` + + // This represents the customer's source URL where stream ispulled from. + Url *string `locationName:"url" type:"string"` + + // username for input source + Username *string `locationName:"username" type:"string"` +} + +// String returns the string representation +func (s InputSource) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputSource) GoString() string { + return s.String() +} + +// SetPasswordParam sets the PasswordParam field's value. +func (s *InputSource) SetPasswordParam(v string) *InputSource { + s.PasswordParam = &v + return s +} + +// SetUrl sets the Url field's value. +func (s *InputSource) SetUrl(v string) *InputSource { + s.Url = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *InputSource) SetUsername(v string) *InputSource { + s.Username = &v + return s +} + +// Settings for for a PULL type input +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputSourceRequest +type InputSourceRequest struct { + _ struct{} `type:"structure"` + + // key used to extract the password from EC2 Parameter store + PasswordParam *string `locationName:"passwordParam" type:"string"` + + // This represents the customer's source URL where stream ispulled from. + Url *string `locationName:"url" type:"string"` + + // username for input source + Username *string `locationName:"username" type:"string"` +} + +// String returns the string representation +func (s InputSourceRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputSourceRequest) GoString() string { + return s.String() +} + +// SetPasswordParam sets the PasswordParam field's value. +func (s *InputSourceRequest) SetPasswordParam(v string) *InputSourceRequest { + s.PasswordParam = &v + return s +} + +// SetUrl sets the Url field's value. +func (s *InputSourceRequest) SetUrl(v string) *InputSourceRequest { + s.Url = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *InputSourceRequest) SetUsername(v string) *InputSourceRequest { + s.Username = &v + return s +} + +// Whitelist rule +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputWhitelistRule +type InputWhitelistRule struct { + _ struct{} `type:"structure"` + + // The IPv4 CIDR that's whitelisted. + Cidr *string `locationName:"cidr" type:"string"` +} + +// String returns the string representation +func (s InputWhitelistRule) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputWhitelistRule) GoString() string { + return s.String() +} + +// SetCidr sets the Cidr field's value. +func (s *InputWhitelistRule) SetCidr(v string) *InputWhitelistRule { + s.Cidr = &v + return s +} + +// An IPv4 CIDR to whitelist. +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputWhitelistRuleCidr +type InputWhitelistRuleCidr struct { + _ struct{} `type:"structure"` + + // The IPv4 CIDR to whitelist + Cidr *string `locationName:"cidr" type:"string"` +} + +// String returns the string representation +func (s InputWhitelistRuleCidr) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputWhitelistRuleCidr) GoString() string { + return s.String() +} + +// SetCidr sets the Cidr field's value. +func (s *InputWhitelistRuleCidr) SetCidr(v string) *InputWhitelistRuleCidr { + s.Cidr = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/KeyProviderSettings +type KeyProviderSettings struct { + _ struct{} `type:"structure"` + + StaticKeySettings *StaticKeySettings `locationName:"staticKeySettings" type:"structure"` +} + +// String returns the string representation +func (s KeyProviderSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s KeyProviderSettings) GoString() string { + return s.String() +} + +// SetStaticKeySettings sets the StaticKeySettings field's value. +func (s *KeyProviderSettings) SetStaticKeySettings(v *StaticKeySettings) *KeyProviderSettings { + s.StaticKeySettings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannelsRequest +type ListChannelsInput struct { + _ struct{} `type:"structure"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListChannelsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListChannelsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListChannelsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListChannelsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannelsResponse +type ListChannelsOutput struct { + _ struct{} `type:"structure"` + + Channels []*ChannelSummary `locationName:"channels" type:"list"` + + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListChannelsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListChannelsOutput) GoString() string { + return s.String() +} + +// SetChannels sets the Channels field's value. +func (s *ListChannelsOutput) SetChannels(v []*ChannelSummary) *ListChannelsOutput { + s.Channels = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputSecurityGroupsRequest +type ListInputSecurityGroupsInput struct { + _ struct{} `type:"structure"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListInputSecurityGroupsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListInputSecurityGroupsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListInputSecurityGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInputSecurityGroupsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListInputSecurityGroupsInput) SetMaxResults(v int64) *ListInputSecurityGroupsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListInputSecurityGroupsInput) SetNextToken(v string) *ListInputSecurityGroupsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputSecurityGroupsResponse +type ListInputSecurityGroupsOutput struct { + _ struct{} `type:"structure"` + + InputSecurityGroups []*InputSecurityGroup `locationName:"inputSecurityGroups" type:"list"` + + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListInputSecurityGroupsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListInputSecurityGroupsOutput) GoString() string { + return s.String() +} + +// SetInputSecurityGroups sets the InputSecurityGroups field's value. +func (s *ListInputSecurityGroupsOutput) SetInputSecurityGroups(v []*InputSecurityGroup) *ListInputSecurityGroupsOutput { + s.InputSecurityGroups = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListInputSecurityGroupsOutput) SetNextToken(v string) *ListInputSecurityGroupsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputsRequest +type ListInputsInput struct { + _ struct{} `type:"structure"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListInputsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListInputsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListInputsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInputsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListInputsInput) SetMaxResults(v int64) *ListInputsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListInputsInput) SetNextToken(v string) *ListInputsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputsResponse +type ListInputsOutput struct { + _ struct{} `type:"structure"` + + Inputs []*Input `locationName:"inputs" type:"list"` + + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListInputsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListInputsOutput) GoString() string { + return s.String() +} + +// SetInputs sets the Inputs field's value. +func (s *ListInputsOutput) SetInputs(v []*Input) *ListInputsOutput { + s.Inputs = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListInputsOutput) SetNextToken(v string) *ListInputsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/M2tsSettings +type M2tsSettings struct { + _ struct{} `type:"structure"` + + // When set to drop, output audio streams will be removed from the program if + // the selected input audio stream is removed from the input. This allows the + // output audio configuration to dynamically change based on input configuration. + // If this is set to encodeSilence, all output audio streams will output encoded + // silence when not connected to an active input stream. + AbsentInputAudioBehavior *string `locationName:"absentInputAudioBehavior" type:"string" enum:"M2tsAbsentInputAudioBehavior"` + + // When set to enabled, uses ARIB-compliant field muxing and removes video descriptor. + Arib *string `locationName:"arib" type:"string" enum:"M2tsArib"` + + // Packet Identifier (PID) for ARIB Captions in the transport stream. Can be + // entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 + // (or 0x1ff6). + AribCaptionsPid *string `locationName:"aribCaptionsPid" type:"string"` + + // If set to auto, pid number used for ARIB Captions will be auto-selected from + // unused pids. If set to useConfigured, ARIB Captions will be on the configured + // pid number. + AribCaptionsPidControl *string `locationName:"aribCaptionsPidControl" type:"string" enum:"M2tsAribCaptionsPidControl"` + + // When set to dvb, uses DVB buffer model for Dolby Digital audio. When set + // to atsc, the ATSC model is used. + AudioBufferModel *string `locationName:"audioBufferModel" type:"string" enum:"M2tsAudioBufferModel"` + + // The number of audio frames to insert for each PES packet. + AudioFramesPerPes *int64 `locationName:"audioFramesPerPes" type:"integer"` + + // Packet Identifier (PID) of the elementary audio stream(s) in the transport + // stream. Multiple values are accepted, and can be entered in ranges and/or + // by comma separation. Can be entered as decimal or hexadecimal values. Each + // PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6). + AudioPids *string `locationName:"audioPids" type:"string"` + + // When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 + // for EAC3. When set to dvb, uses stream type = 0x06. + AudioStreamType *string `locationName:"audioStreamType" type:"string" enum:"M2tsAudioStreamType"` + + // The output bitrate of the transport stream in bits per second. Setting to + // 0 lets the muxer automatically determine the appropriate bitrate. + Bitrate *int64 `locationName:"bitrate" type:"integer"` + + // If set to multiplex, use multiplex buffer model for accurate interleaving. + // Setting to bufferModel to none can lead to lower latency, but low-memory + // devices may not be able to play back the stream without interruptions. + BufferModel *string `locationName:"bufferModel" type:"string" enum:"M2tsBufferModel"` + + // When set to enabled, generates captionServiceDescriptor in PMT. + CcDescriptor *string `locationName:"ccDescriptor" type:"string" enum:"M2tsCcDescriptor"` + + // Inserts DVB Network Information Table (NIT) at the specified table repetition + // interval. + DvbNitSettings *DvbNitSettings `locationName:"dvbNitSettings" type:"structure"` + + // Inserts DVB Service Description Table (SDT) at the specified table repetition + // interval. + DvbSdtSettings *DvbSdtSettings `locationName:"dvbSdtSettings" type:"structure"` + + // Packet Identifier (PID) for input source DVB Subtitle data to this output. + // Multiple values are accepted, and can be entered in ranges and/or by comma + // separation. Can be entered as decimal or hexadecimal values. Each PID specified + // must be in the range of 32 (or 0x20)..8182 (or 0x1ff6). + DvbSubPids *string `locationName:"dvbSubPids" type:"string"` + + // Inserts DVB Time and Date Table (TDT) at the specified table repetition interval. + DvbTdtSettings *DvbTdtSettings `locationName:"dvbTdtSettings" type:"structure"` + + // Packet Identifier (PID) for input source DVB Teletext data to this output. + // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or + // 0x20)..8182 (or 0x1ff6). + DvbTeletextPid *string `locationName:"dvbTeletextPid" type:"string"` + + // If set to passthrough, passes any EBIF data from the input source to this + // output. + Ebif *string `locationName:"ebif" type:"string" enum:"M2tsEbifControl"` + + // When videoAndFixedIntervals is selected, audio EBP markers will be added + // to partitions 3 and 4. The interval between these additional markers will + // be fixed, and will be slightly shorter than the video EBP marker interval. + // Only available when EBP Cablelabs segmentation markers are selected. Partitions + // 1 and 2 will always follow the video interval. + EbpAudioInterval *string `locationName:"ebpAudioInterval" type:"string" enum:"M2tsAudioInterval"` + + // When set, enforces that Encoder Boundary Points do not come within the specified + // time interval of each other by looking ahead at input video. If another EBP + // is going to come in within the specified time interval, the current EBP is + // not emitted, and the segment is "stretched" to the next marker. The lookahead + // value does not add latency to the system. The Live Event must be configured + // elsewhere to create sufficient latency to make the lookahead accurate. + EbpLookaheadMs *int64 `locationName:"ebpLookaheadMs" type:"integer"` + + // Controls placement of EBP on Audio PIDs. If set to videoAndAudioPids, EBP + // markers will be placed on the video PID and all audio PIDs. If set to videoPid, + // EBP markers will be placed on only the video PID. + EbpPlacement *string `locationName:"ebpPlacement" type:"string" enum:"M2tsEbpPlacement"` + + // Packet Identifier (PID) for ECM in the transport stream. Only enabled when + // Simulcrypt is enabled. Can be entered as a decimal or hexadecimal value. + // Valid values are 32 (or 0x20)..8182 (or 0x1ff6). + EcmPid *string `locationName:"ecmPid" type:"string"` + + // Include or exclude the ES Rate field in the PES header. + EsRateInPes *string `locationName:"esRateInPes" type:"string" enum:"M2tsEsRateInPes"` + + // Packet Identifier (PID) for input source ETV Platform data to this output. + // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or + // 0x20)..8182 (or 0x1ff6). + EtvPlatformPid *string `locationName:"etvPlatformPid" type:"string"` + + // Packet Identifier (PID) for input source ETV Signal data to this output. + // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or + // 0x20)..8182 (or 0x1ff6). + EtvSignalPid *string `locationName:"etvSignalPid" type:"string"` + + // The length in seconds of each fragment. Only used with EBP markers. + FragmentTime *float64 `locationName:"fragmentTime" type:"double"` + + // If set to passthrough, passes any KLV data from the input source to this + // output. + Klv *string `locationName:"klv" type:"string" enum:"M2tsKlv"` + + // Packet Identifier (PID) for input source KLV data to this output. Multiple + // values are accepted, and can be entered in ranges and/or by comma separation. + // Can be entered as decimal or hexadecimal values. Each PID specified must + // be in the range of 32 (or 0x20)..8182 (or 0x1ff6). + KlvDataPids *string `locationName:"klvDataPids" type:"string"` + + // Value in bits per second of extra null packets to insert into the transport + // stream. This can be used if a downstream encryption system requires periodic + // null packets. + NullPacketBitrate *float64 `locationName:"nullPacketBitrate" type:"double"` + + // The number of milliseconds between instances of this table in the output + // transport stream. Valid values are 0, 10..1000. + PatInterval *int64 `locationName:"patInterval" type:"integer"` + + // When set to pcrEveryPesPacket, a Program Clock Reference value is inserted + // for every Packetized Elementary Stream (PES) header. This parameter is effective + // only when the PCR PID is the same as the video or audio elementary stream. + PcrControl *string `locationName:"pcrControl" type:"string" enum:"M2tsPcrControl"` + + // Maximum time in milliseconds between Program Clock Reference (PCRs) inserted + // into the transport stream. + PcrPeriod *int64 `locationName:"pcrPeriod" type:"integer"` + + // Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport + // stream. When no value is given, the encoder will assign the same value as + // the Video PID. Can be entered as a decimal or hexadecimal value. Valid values + // are 32 (or 0x20)..8182 (or 0x1ff6). + PcrPid *string `locationName:"pcrPid" type:"string"` + + // The number of milliseconds between instances of this table in the output + // transport stream. Valid values are 0, 10..1000. + PmtInterval *int64 `locationName:"pmtInterval" type:"integer"` + + // Packet Identifier (PID) for the Program Map Table (PMT) in the transport + // stream. Can be entered as a decimal or hexadecimal value. Valid values are + // 32 (or 0x20)..8182 (or 0x1ff6). + PmtPid *string `locationName:"pmtPid" type:"string"` + + // The value of the program number field in the Program Map Table. + ProgramNum *int64 `locationName:"programNum" type:"integer"` + + // When vbr, does not insert null packets into transport stream to fill specified + // bitrate. The bitrate setting acts as the maximum bitrate when vbr is set. + RateMode *string `locationName:"rateMode" type:"string" enum:"M2tsRateMode"` + + // Packet Identifier (PID) for input source SCTE-27 data to this output. Multiple + // values are accepted, and can be entered in ranges and/or by comma separation. + // Can be entered as decimal or hexadecimal values. Each PID specified must + // be in the range of 32 (or 0x20)..8182 (or 0x1ff6). + Scte27Pids *string `locationName:"scte27Pids" type:"string"` + + // Optionally pass SCTE-35 signals from the input source to this output. + Scte35Control *string `locationName:"scte35Control" type:"string" enum:"M2tsScte35Control"` + + // Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can + // be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 + // (or 0x1ff6). + Scte35Pid *string `locationName:"scte35Pid" type:"string"` + + // Inserts segmentation markers at each segmentationTime period. raiSegstart + // sets the Random Access Indicator bit in the adaptation field. raiAdapt sets + // the RAI bit and adds the current timecode in the private data bytes. psiSegstart + // inserts PAT and PMT tables at the start of segments. ebp adds Encoder Boundary + // Point information to the adaptation field as per OpenCable specification + // OC-SP-EBP-I01-130118. ebpLegacy adds Encoder Boundary Point information to + // the adaptation field using a legacy proprietary format. + SegmentationMarkers *string `locationName:"segmentationMarkers" type:"string" enum:"M2tsSegmentationMarkers"` + + // The segmentation style parameter controls how segmentation markers are inserted + // into the transport stream. With avails, it is possible that segments may + // be truncated, which can influence where future segmentation markers are inserted.When + // a segmentation style of "resetCadence" is selected and a segment is truncated + // due to an avail, we will reset the segmentation cadence. This means the subsequent + // segment will have a duration of $segmentationTime seconds.When a segmentation + // style of "maintainCadence" is selected and a segment is truncated due to + // an avail, we will not reset the segmentation cadence. This means the subsequent + // segment will likely be truncated as well. However, all segments after that + // will have a duration of $segmentationTime seconds. Note that EBP lookahead + // is a slight exception to this rule. + SegmentationStyle *string `locationName:"segmentationStyle" type:"string" enum:"M2tsSegmentationStyle"` + + // The length in seconds of each segment. Required unless markers is set to + // None_. + SegmentationTime *float64 `locationName:"segmentationTime" type:"double"` + + // When set to passthrough, timed metadata will be passed through from input + // to output. + TimedMetadataBehavior *string `locationName:"timedMetadataBehavior" type:"string" enum:"M2tsTimedMetadataBehavior"` + + // Packet Identifier (PID) of the timed metadata stream in the transport stream. + // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or + // 0x20)..8182 (or 0x1ff6). + TimedMetadataPid *string `locationName:"timedMetadataPid" type:"string"` + + // The value of the transport stream ID field in the Program Map Table. + TransportStreamId *int64 `locationName:"transportStreamId" type:"integer"` + + // Packet Identifier (PID) of the elementary video stream in the transport stream. + // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or + // 0x20)..8182 (or 0x1ff6). + VideoPid *string `locationName:"videoPid" type:"string"` +} + +// String returns the string representation +func (s M2tsSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s M2tsSettings) GoString() string { + return s.String() +} + +// SetAbsentInputAudioBehavior sets the AbsentInputAudioBehavior field's value. +func (s *M2tsSettings) SetAbsentInputAudioBehavior(v string) *M2tsSettings { + s.AbsentInputAudioBehavior = &v + return s +} + +// SetArib sets the Arib field's value. +func (s *M2tsSettings) SetArib(v string) *M2tsSettings { + s.Arib = &v + return s +} + +// SetAribCaptionsPid sets the AribCaptionsPid field's value. +func (s *M2tsSettings) SetAribCaptionsPid(v string) *M2tsSettings { + s.AribCaptionsPid = &v + return s +} + +// SetAribCaptionsPidControl sets the AribCaptionsPidControl field's value. +func (s *M2tsSettings) SetAribCaptionsPidControl(v string) *M2tsSettings { + s.AribCaptionsPidControl = &v + return s +} + +// SetAudioBufferModel sets the AudioBufferModel field's value. +func (s *M2tsSettings) SetAudioBufferModel(v string) *M2tsSettings { + s.AudioBufferModel = &v + return s +} + +// SetAudioFramesPerPes sets the AudioFramesPerPes field's value. +func (s *M2tsSettings) SetAudioFramesPerPes(v int64) *M2tsSettings { + s.AudioFramesPerPes = &v + return s +} + +// SetAudioPids sets the AudioPids field's value. +func (s *M2tsSettings) SetAudioPids(v string) *M2tsSettings { + s.AudioPids = &v + return s +} + +// SetAudioStreamType sets the AudioStreamType field's value. +func (s *M2tsSettings) SetAudioStreamType(v string) *M2tsSettings { + s.AudioStreamType = &v + return s +} + +// SetBitrate sets the Bitrate field's value. +func (s *M2tsSettings) SetBitrate(v int64) *M2tsSettings { + s.Bitrate = &v + return s +} + +// SetBufferModel sets the BufferModel field's value. +func (s *M2tsSettings) SetBufferModel(v string) *M2tsSettings { + s.BufferModel = &v + return s +} + +// SetCcDescriptor sets the CcDescriptor field's value. +func (s *M2tsSettings) SetCcDescriptor(v string) *M2tsSettings { + s.CcDescriptor = &v + return s +} + +// SetDvbNitSettings sets the DvbNitSettings field's value. +func (s *M2tsSettings) SetDvbNitSettings(v *DvbNitSettings) *M2tsSettings { + s.DvbNitSettings = v + return s +} + +// SetDvbSdtSettings sets the DvbSdtSettings field's value. +func (s *M2tsSettings) SetDvbSdtSettings(v *DvbSdtSettings) *M2tsSettings { + s.DvbSdtSettings = v + return s +} + +// SetDvbSubPids sets the DvbSubPids field's value. +func (s *M2tsSettings) SetDvbSubPids(v string) *M2tsSettings { + s.DvbSubPids = &v + return s +} + +// SetDvbTdtSettings sets the DvbTdtSettings field's value. +func (s *M2tsSettings) SetDvbTdtSettings(v *DvbTdtSettings) *M2tsSettings { + s.DvbTdtSettings = v + return s +} + +// SetDvbTeletextPid sets the DvbTeletextPid field's value. +func (s *M2tsSettings) SetDvbTeletextPid(v string) *M2tsSettings { + s.DvbTeletextPid = &v + return s +} + +// SetEbif sets the Ebif field's value. +func (s *M2tsSettings) SetEbif(v string) *M2tsSettings { + s.Ebif = &v + return s +} + +// SetEbpAudioInterval sets the EbpAudioInterval field's value. +func (s *M2tsSettings) SetEbpAudioInterval(v string) *M2tsSettings { + s.EbpAudioInterval = &v + return s +} + +// SetEbpLookaheadMs sets the EbpLookaheadMs field's value. +func (s *M2tsSettings) SetEbpLookaheadMs(v int64) *M2tsSettings { + s.EbpLookaheadMs = &v + return s +} + +// SetEbpPlacement sets the EbpPlacement field's value. +func (s *M2tsSettings) SetEbpPlacement(v string) *M2tsSettings { + s.EbpPlacement = &v + return s +} + +// SetEcmPid sets the EcmPid field's value. +func (s *M2tsSettings) SetEcmPid(v string) *M2tsSettings { + s.EcmPid = &v + return s +} + +// SetEsRateInPes sets the EsRateInPes field's value. +func (s *M2tsSettings) SetEsRateInPes(v string) *M2tsSettings { + s.EsRateInPes = &v + return s +} + +// SetEtvPlatformPid sets the EtvPlatformPid field's value. +func (s *M2tsSettings) SetEtvPlatformPid(v string) *M2tsSettings { + s.EtvPlatformPid = &v + return s +} + +// SetEtvSignalPid sets the EtvSignalPid field's value. +func (s *M2tsSettings) SetEtvSignalPid(v string) *M2tsSettings { + s.EtvSignalPid = &v + return s +} + +// SetFragmentTime sets the FragmentTime field's value. +func (s *M2tsSettings) SetFragmentTime(v float64) *M2tsSettings { + s.FragmentTime = &v + return s +} + +// SetKlv sets the Klv field's value. +func (s *M2tsSettings) SetKlv(v string) *M2tsSettings { + s.Klv = &v + return s +} + +// SetKlvDataPids sets the KlvDataPids field's value. +func (s *M2tsSettings) SetKlvDataPids(v string) *M2tsSettings { + s.KlvDataPids = &v + return s +} + +// SetNullPacketBitrate sets the NullPacketBitrate field's value. +func (s *M2tsSettings) SetNullPacketBitrate(v float64) *M2tsSettings { + s.NullPacketBitrate = &v + return s +} + +// SetPatInterval sets the PatInterval field's value. +func (s *M2tsSettings) SetPatInterval(v int64) *M2tsSettings { + s.PatInterval = &v + return s +} + +// SetPcrControl sets the PcrControl field's value. +func (s *M2tsSettings) SetPcrControl(v string) *M2tsSettings { + s.PcrControl = &v + return s +} + +// SetPcrPeriod sets the PcrPeriod field's value. +func (s *M2tsSettings) SetPcrPeriod(v int64) *M2tsSettings { + s.PcrPeriod = &v + return s +} + +// SetPcrPid sets the PcrPid field's value. +func (s *M2tsSettings) SetPcrPid(v string) *M2tsSettings { + s.PcrPid = &v + return s +} + +// SetPmtInterval sets the PmtInterval field's value. +func (s *M2tsSettings) SetPmtInterval(v int64) *M2tsSettings { + s.PmtInterval = &v + return s +} + +// SetPmtPid sets the PmtPid field's value. +func (s *M2tsSettings) SetPmtPid(v string) *M2tsSettings { + s.PmtPid = &v + return s +} + +// SetProgramNum sets the ProgramNum field's value. +func (s *M2tsSettings) SetProgramNum(v int64) *M2tsSettings { + s.ProgramNum = &v + return s +} + +// SetRateMode sets the RateMode field's value. +func (s *M2tsSettings) SetRateMode(v string) *M2tsSettings { + s.RateMode = &v + return s +} + +// SetScte27Pids sets the Scte27Pids field's value. +func (s *M2tsSettings) SetScte27Pids(v string) *M2tsSettings { + s.Scte27Pids = &v + return s +} + +// SetScte35Control sets the Scte35Control field's value. +func (s *M2tsSettings) SetScte35Control(v string) *M2tsSettings { + s.Scte35Control = &v + return s +} + +// SetScte35Pid sets the Scte35Pid field's value. +func (s *M2tsSettings) SetScte35Pid(v string) *M2tsSettings { + s.Scte35Pid = &v + return s +} + +// SetSegmentationMarkers sets the SegmentationMarkers field's value. +func (s *M2tsSettings) SetSegmentationMarkers(v string) *M2tsSettings { + s.SegmentationMarkers = &v + return s +} + +// SetSegmentationStyle sets the SegmentationStyle field's value. +func (s *M2tsSettings) SetSegmentationStyle(v string) *M2tsSettings { + s.SegmentationStyle = &v + return s +} + +// SetSegmentationTime sets the SegmentationTime field's value. +func (s *M2tsSettings) SetSegmentationTime(v float64) *M2tsSettings { + s.SegmentationTime = &v + return s +} + +// SetTimedMetadataBehavior sets the TimedMetadataBehavior field's value. +func (s *M2tsSettings) SetTimedMetadataBehavior(v string) *M2tsSettings { + s.TimedMetadataBehavior = &v + return s +} + +// SetTimedMetadataPid sets the TimedMetadataPid field's value. +func (s *M2tsSettings) SetTimedMetadataPid(v string) *M2tsSettings { + s.TimedMetadataPid = &v + return s +} + +// SetTransportStreamId sets the TransportStreamId field's value. +func (s *M2tsSettings) SetTransportStreamId(v int64) *M2tsSettings { + s.TransportStreamId = &v + return s +} + +// SetVideoPid sets the VideoPid field's value. +func (s *M2tsSettings) SetVideoPid(v string) *M2tsSettings { + s.VideoPid = &v + return s +} + +// Settings information for the .m3u8 container +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/M3u8Settings +type M3u8Settings struct { + _ struct{} `type:"structure"` + + // The number of audio frames to insert for each PES packet. + AudioFramesPerPes *int64 `locationName:"audioFramesPerPes" type:"integer"` + + // Packet Identifier (PID) of the elementary audio stream(s) in the transport + // stream. Multiple values are accepted, and can be entered in ranges and/or + // by comma separation. Can be entered as decimal or hexadecimal values. + AudioPids *string `locationName:"audioPids" type:"string"` + + // ThePlatform-protected transport streams using 'microsoft' as Target Client + // include an ECM stream. This ECM stream contains the size, IV, and PTS of + // every sample in the transport stream. This stream PID is specified here. + // This PID has no effect on non ThePlatform-protected streams. + EcmPid *string `locationName:"ecmPid" type:"string"` + + // The number of milliseconds between instances of this table in the output + // transport stream. A value of \"0\" writes out the PMT once per segment file. + PatInterval *int64 `locationName:"patInterval" type:"integer"` + + // When set to pcrEveryPesPacket, a Program Clock Reference value is inserted + // for every Packetized Elementary Stream (PES) header. This parameter is effective + // only when the PCR PID is the same as the video or audio elementary stream. + PcrControl *string `locationName:"pcrControl" type:"string" enum:"M3u8PcrControl"` + + // Maximum time in milliseconds between Program Clock References (PCRs) inserted + // into the transport stream. + PcrPeriod *int64 `locationName:"pcrPeriod" type:"integer"` + + // Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport + // stream. When no value is given, the encoder will assign the same value as + // the Video PID. Can be entered as a decimal or hexadecimal value. + PcrPid *string `locationName:"pcrPid" type:"string"` + + // The number of milliseconds between instances of this table in the output + // transport stream. A value of \"0\" writes out the PMT once per segment file. + PmtInterval *int64 `locationName:"pmtInterval" type:"integer"` + + // Packet Identifier (PID) for the Program Map Table (PMT) in the transport + // stream. Can be entered as a decimal or hexadecimal value. + PmtPid *string `locationName:"pmtPid" type:"string"` + + // The value of the program number field in the Program Map Table. + ProgramNum *int64 `locationName:"programNum" type:"integer"` + + // If set to passthrough, passes any SCTE-35 signals from the input source to + // this output. + Scte35Behavior *string `locationName:"scte35Behavior" type:"string" enum:"M3u8Scte35Behavior"` + + // Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can + // be entered as a decimal or hexadecimal value. + Scte35Pid *string `locationName:"scte35Pid" type:"string"` + + // When set to passthrough, timed metadata is passed through from input to output. + TimedMetadataBehavior *string `locationName:"timedMetadataBehavior" type:"string" enum:"M3u8TimedMetadataBehavior"` + + // The value of the transport stream ID field in the Program Map Table. + TransportStreamId *int64 `locationName:"transportStreamId" type:"integer"` + + // Packet Identifier (PID) of the elementary video stream in the transport stream. + // Can be entered as a decimal or hexadecimal value. + VideoPid *string `locationName:"videoPid" type:"string"` +} + +// String returns the string representation +func (s M3u8Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s M3u8Settings) GoString() string { + return s.String() +} + +// SetAudioFramesPerPes sets the AudioFramesPerPes field's value. +func (s *M3u8Settings) SetAudioFramesPerPes(v int64) *M3u8Settings { + s.AudioFramesPerPes = &v + return s +} + +// SetAudioPids sets the AudioPids field's value. +func (s *M3u8Settings) SetAudioPids(v string) *M3u8Settings { + s.AudioPids = &v + return s +} + +// SetEcmPid sets the EcmPid field's value. +func (s *M3u8Settings) SetEcmPid(v string) *M3u8Settings { + s.EcmPid = &v + return s +} + +// SetPatInterval sets the PatInterval field's value. +func (s *M3u8Settings) SetPatInterval(v int64) *M3u8Settings { + s.PatInterval = &v + return s +} + +// SetPcrControl sets the PcrControl field's value. +func (s *M3u8Settings) SetPcrControl(v string) *M3u8Settings { + s.PcrControl = &v + return s +} + +// SetPcrPeriod sets the PcrPeriod field's value. +func (s *M3u8Settings) SetPcrPeriod(v int64) *M3u8Settings { + s.PcrPeriod = &v + return s +} + +// SetPcrPid sets the PcrPid field's value. +func (s *M3u8Settings) SetPcrPid(v string) *M3u8Settings { + s.PcrPid = &v + return s +} + +// SetPmtInterval sets the PmtInterval field's value. +func (s *M3u8Settings) SetPmtInterval(v int64) *M3u8Settings { + s.PmtInterval = &v + return s +} + +// SetPmtPid sets the PmtPid field's value. +func (s *M3u8Settings) SetPmtPid(v string) *M3u8Settings { + s.PmtPid = &v + return s +} + +// SetProgramNum sets the ProgramNum field's value. +func (s *M3u8Settings) SetProgramNum(v int64) *M3u8Settings { + s.ProgramNum = &v + return s +} + +// SetScte35Behavior sets the Scte35Behavior field's value. +func (s *M3u8Settings) SetScte35Behavior(v string) *M3u8Settings { + s.Scte35Behavior = &v + return s +} + +// SetScte35Pid sets the Scte35Pid field's value. +func (s *M3u8Settings) SetScte35Pid(v string) *M3u8Settings { + s.Scte35Pid = &v + return s +} + +// SetTimedMetadataBehavior sets the TimedMetadataBehavior field's value. +func (s *M3u8Settings) SetTimedMetadataBehavior(v string) *M3u8Settings { + s.TimedMetadataBehavior = &v + return s +} + +// SetTransportStreamId sets the TransportStreamId field's value. +func (s *M3u8Settings) SetTransportStreamId(v int64) *M3u8Settings { + s.TransportStreamId = &v + return s +} + +// SetVideoPid sets the VideoPid field's value. +func (s *M3u8Settings) SetVideoPid(v string) *M3u8Settings { + s.VideoPid = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Mp2Settings +type Mp2Settings struct { + _ struct{} `type:"structure"` + + // Average bitrate in bits/second. + Bitrate *float64 `locationName:"bitrate" type:"double"` + + // The MPEG2 Audio coding mode. Valid values are codingMode10 (for mono) or + // codingMode20 (for stereo). + CodingMode *string `locationName:"codingMode" type:"string" enum:"Mp2CodingMode"` + + // Sample rate in Hz. + SampleRate *float64 `locationName:"sampleRate" type:"double"` +} + +// String returns the string representation +func (s Mp2Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Mp2Settings) GoString() string { + return s.String() +} + +// SetBitrate sets the Bitrate field's value. +func (s *Mp2Settings) SetBitrate(v float64) *Mp2Settings { + s.Bitrate = &v + return s +} + +// SetCodingMode sets the CodingMode field's value. +func (s *Mp2Settings) SetCodingMode(v string) *Mp2Settings { + s.CodingMode = &v + return s +} + +// SetSampleRate sets the SampleRate field's value. +func (s *Mp2Settings) SetSampleRate(v float64) *Mp2Settings { + s.SampleRate = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MsSmoothGroupSettings +type MsSmoothGroupSettings struct { + _ struct{} `type:"structure"` + + // The value of the "Acquisition Point Identity" element used in each message + // placed in the sparse track. Only enabled if sparseTrackType is not "none". + AcquisitionPointId *string `locationName:"acquisitionPointId" type:"string"` + + // If set to passthrough for an audio-only MS Smooth output, the fragment absolute + // time will be set to the current timecode. This option does not write timecodes + // to the audio elementary stream. + AudioOnlyTimecodeControl *string `locationName:"audioOnlyTimecodeControl" type:"string" enum:"SmoothGroupAudioOnlyTimecodeControl"` + + // If set to verifyAuthenticity, verify the https certificate chain to a trusted + // Certificate Authority (CA). This will cause https outputs to self-signed + // certificates to fail unless those certificates are manually added to the + // OS trusted keystore. + CertificateMode *string `locationName:"certificateMode" type:"string" enum:"SmoothGroupCertificateMode"` + + // Number of seconds to wait before retrying connection to the IIS server if + // the connection is lost. Content will be cached during this time and the cache + // will be be delivered to the IIS server once the connection is re-established. + ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` + + // Smooth Streaming publish point on an IIS server. Elemental Live acts as a + // "Push" encoder to IIS. + Destination *OutputLocationRef `locationName:"destination" type:"structure"` + + // MS Smooth event ID to be sent to the IIS server.Should only be specified + // if eventIdMode is set to useConfigured. + EventId *string `locationName:"eventId" type:"string"` + + // Specifies whether or not to send an event ID to the IIS server. If no event + // ID is sent and the same Live Event is used without changing the publishing + // point, clients might see cached video from the previous run.Options:- "useConfigured" + // - use the value provided in eventId- "useTimestamp" - generate and send an + // event ID based on the current timestamp- "noEventId" - do not send an event + // ID to the IIS server. + EventIdMode *string `locationName:"eventIdMode" type:"string" enum:"SmoothGroupEventIdMode"` + + // When set to sendEos, send EOS signal to IIS server when stopping the event + EventStopBehavior *string `locationName:"eventStopBehavior" type:"string" enum:"SmoothGroupEventStopBehavior"` + + // Size in seconds of file cache for streaming outputs. + FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` + + // Length of mp4 fragments to generate (in seconds). Fragment length must be + // compatible with GOP size and framerate. + FragmentLength *int64 `locationName:"fragmentLength" type:"integer"` + + // Parameter that control output group behavior on input loss. + InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForMsSmoothOut"` + + // Number of retry attempts. + NumRetries *int64 `locationName:"numRetries" type:"integer"` + + // Number of seconds before initiating a restart due to output failure, due + // to exhausting the numRetries on one segment, or exceeding filecacheDuration. + RestartDelay *int64 `locationName:"restartDelay" type:"integer"` + + // When set to useInputSegmentation, the output segment or fragment points are + // set by the RAI markers from the input streams. + SegmentationMode *string `locationName:"segmentationMode" type:"string" enum:"SmoothGroupSegmentationMode"` + + // Outputs that are "output locked" can use this delay. Assign a delay to the + // output that is "secondary". Do not assign a delay to the "primary" output. + // The delay means that the primary output will always reach the downstream + // system before the secondary, which helps ensure that the downstream system + // always uses the primary output. (If there were no delay, the downstream system + // might flip-flop between whichever output happens to arrive first.) If the + // primary fails, the downstream system will switch to the secondary output. + // When the primary is restarted, the downstream system will switch back to + // the primary (because once again it is always arriving first) + SendDelayMs *int64 `locationName:"sendDelayMs" type:"integer"` + + // If set to scte35, use incoming SCTE-35 messages to generate a sparse track + // in this group of MS-Smooth outputs. + SparseTrackType *string `locationName:"sparseTrackType" type:"string" enum:"SmoothGroupSparseTrackType"` + + // When set to send, send stream manifest so publishing point doesn't start + // until all streams start. + StreamManifestBehavior *string `locationName:"streamManifestBehavior" type:"string" enum:"SmoothGroupStreamManifestBehavior"` + + // Timestamp offset for the event. Only used if timestampOffsetMode is set to + // useConfiguredOffset. + TimestampOffset *string `locationName:"timestampOffset" type:"string"` + + // Type of timestamp date offset to use.- useEventStartDate: Use the date the + // event was started as the offset- useConfiguredOffset: Use an explicitly configured + // date as the offset + TimestampOffsetMode *string `locationName:"timestampOffsetMode" type:"string" enum:"SmoothGroupTimestampOffsetMode"` +} + +// String returns the string representation +func (s MsSmoothGroupSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MsSmoothGroupSettings) GoString() string { + return s.String() +} + +// SetAcquisitionPointId sets the AcquisitionPointId field's value. +func (s *MsSmoothGroupSettings) SetAcquisitionPointId(v string) *MsSmoothGroupSettings { + s.AcquisitionPointId = &v + return s +} + +// SetAudioOnlyTimecodeControl sets the AudioOnlyTimecodeControl field's value. +func (s *MsSmoothGroupSettings) SetAudioOnlyTimecodeControl(v string) *MsSmoothGroupSettings { + s.AudioOnlyTimecodeControl = &v + return s +} + +// SetCertificateMode sets the CertificateMode field's value. +func (s *MsSmoothGroupSettings) SetCertificateMode(v string) *MsSmoothGroupSettings { + s.CertificateMode = &v + return s +} + +// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. +func (s *MsSmoothGroupSettings) SetConnectionRetryInterval(v int64) *MsSmoothGroupSettings { + s.ConnectionRetryInterval = &v + return s +} + +// SetDestination sets the Destination field's value. +func (s *MsSmoothGroupSettings) SetDestination(v *OutputLocationRef) *MsSmoothGroupSettings { + s.Destination = v + return s +} + +// SetEventId sets the EventId field's value. +func (s *MsSmoothGroupSettings) SetEventId(v string) *MsSmoothGroupSettings { + s.EventId = &v + return s +} + +// SetEventIdMode sets the EventIdMode field's value. +func (s *MsSmoothGroupSettings) SetEventIdMode(v string) *MsSmoothGroupSettings { + s.EventIdMode = &v + return s +} + +// SetEventStopBehavior sets the EventStopBehavior field's value. +func (s *MsSmoothGroupSettings) SetEventStopBehavior(v string) *MsSmoothGroupSettings { + s.EventStopBehavior = &v + return s +} + +// SetFilecacheDuration sets the FilecacheDuration field's value. +func (s *MsSmoothGroupSettings) SetFilecacheDuration(v int64) *MsSmoothGroupSettings { + s.FilecacheDuration = &v + return s +} + +// SetFragmentLength sets the FragmentLength field's value. +func (s *MsSmoothGroupSettings) SetFragmentLength(v int64) *MsSmoothGroupSettings { + s.FragmentLength = &v + return s +} + +// SetInputLossAction sets the InputLossAction field's value. +func (s *MsSmoothGroupSettings) SetInputLossAction(v string) *MsSmoothGroupSettings { + s.InputLossAction = &v + return s +} + +// SetNumRetries sets the NumRetries field's value. +func (s *MsSmoothGroupSettings) SetNumRetries(v int64) *MsSmoothGroupSettings { + s.NumRetries = &v + return s +} + +// SetRestartDelay sets the RestartDelay field's value. +func (s *MsSmoothGroupSettings) SetRestartDelay(v int64) *MsSmoothGroupSettings { + s.RestartDelay = &v + return s +} + +// SetSegmentationMode sets the SegmentationMode field's value. +func (s *MsSmoothGroupSettings) SetSegmentationMode(v string) *MsSmoothGroupSettings { + s.SegmentationMode = &v + return s +} + +// SetSendDelayMs sets the SendDelayMs field's value. +func (s *MsSmoothGroupSettings) SetSendDelayMs(v int64) *MsSmoothGroupSettings { + s.SendDelayMs = &v + return s +} + +// SetSparseTrackType sets the SparseTrackType field's value. +func (s *MsSmoothGroupSettings) SetSparseTrackType(v string) *MsSmoothGroupSettings { + s.SparseTrackType = &v + return s +} + +// SetStreamManifestBehavior sets the StreamManifestBehavior field's value. +func (s *MsSmoothGroupSettings) SetStreamManifestBehavior(v string) *MsSmoothGroupSettings { + s.StreamManifestBehavior = &v + return s +} + +// SetTimestampOffset sets the TimestampOffset field's value. +func (s *MsSmoothGroupSettings) SetTimestampOffset(v string) *MsSmoothGroupSettings { + s.TimestampOffset = &v + return s +} + +// SetTimestampOffsetMode sets the TimestampOffsetMode field's value. +func (s *MsSmoothGroupSettings) SetTimestampOffsetMode(v string) *MsSmoothGroupSettings { + s.TimestampOffsetMode = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MsSmoothOutputSettings +type MsSmoothOutputSettings struct { + _ struct{} `type:"structure"` + + // String concatenated to the end of the destination filename. Required for + // multiple outputs of the same type. + NameModifier *string `locationName:"nameModifier" type:"string"` +} + +// String returns the string representation +func (s MsSmoothOutputSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MsSmoothOutputSettings) GoString() string { + return s.String() +} + +// SetNameModifier sets the NameModifier field's value. +func (s *MsSmoothOutputSettings) SetNameModifier(v string) *MsSmoothOutputSettings { + s.NameModifier = &v + return s +} + +// Network source to transcode. Must be accessible to the Elemental Live node +// that is running the live event through a network connection. +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/NetworkInputSettings +type NetworkInputSettings struct { + _ struct{} `type:"structure"` + + // Specifies HLS input settings when the uri is for a HLS manifest. + HlsInputSettings *HlsInputSettings `locationName:"hlsInputSettings" type:"structure"` + + // Check HTTPS server certificates. When set to checkCryptographyOnly, cryptography + // in the certificate will be checked, but not the server's name. Certain subdomains + // (notably S3 buckets that use dots in the bucket name) do not strictly match + // the corresponding certificate's wildcard pattern and would otherwise cause + // the event to error. This setting is ignored for protocols that do not use + // https. + ServerValidation *string `locationName:"serverValidation" type:"string" enum:"NetworkInputServerValidation"` +} + +// String returns the string representation +func (s NetworkInputSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NetworkInputSettings) GoString() string { + return s.String() +} + +// SetHlsInputSettings sets the HlsInputSettings field's value. +func (s *NetworkInputSettings) SetHlsInputSettings(v *HlsInputSettings) *NetworkInputSettings { + s.HlsInputSettings = v + return s +} + +// SetServerValidation sets the ServerValidation field's value. +func (s *NetworkInputSettings) SetServerValidation(v string) *NetworkInputSettings { + s.ServerValidation = &v + return s +} + +// Output settings. There can be multiple outputs within a group. +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Output +type Output struct { + _ struct{} `type:"structure"` + + // The names of the AudioDescriptions used as audio sources for this output. + AudioDescriptionNames []*string `locationName:"audioDescriptionNames" type:"list"` + + // The names of the CaptionDescriptions used as caption sources for this output. + CaptionDescriptionNames []*string `locationName:"captionDescriptionNames" type:"list"` + + // The name used to identify an output. + OutputName *string `locationName:"outputName" type:"string"` + + // Output type-specific settings. + OutputSettings *OutputSettings `locationName:"outputSettings" type:"structure"` + + // The name of the VideoDescription used as the source for this output. + VideoDescriptionName *string `locationName:"videoDescriptionName" type:"string"` +} + +// String returns the string representation +func (s Output) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Output) GoString() string { + return s.String() +} + +// SetAudioDescriptionNames sets the AudioDescriptionNames field's value. +func (s *Output) SetAudioDescriptionNames(v []*string) *Output { + s.AudioDescriptionNames = v + return s +} + +// SetCaptionDescriptionNames sets the CaptionDescriptionNames field's value. +func (s *Output) SetCaptionDescriptionNames(v []*string) *Output { + s.CaptionDescriptionNames = v + return s +} + +// SetOutputName sets the OutputName field's value. +func (s *Output) SetOutputName(v string) *Output { + s.OutputName = &v + return s +} + +// SetOutputSettings sets the OutputSettings field's value. +func (s *Output) SetOutputSettings(v *OutputSettings) *Output { + s.OutputSettings = v + return s +} + +// SetVideoDescriptionName sets the VideoDescriptionName field's value. +func (s *Output) SetVideoDescriptionName(v string) *Output { + s.VideoDescriptionName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputDestination +type OutputDestination struct { + _ struct{} `type:"structure"` + + // User-specified id. This is used in an output group or an output. + Id *string `locationName:"id" type:"string"` + + // Destination settings for output; one for each redundant encoder. + Settings []*OutputDestinationSettings `locationName:"settings" type:"list"` +} + +// String returns the string representation +func (s OutputDestination) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputDestination) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *OutputDestination) SetId(v string) *OutputDestination { + s.Id = &v + return s +} + +// SetSettings sets the Settings field's value. +func (s *OutputDestination) SetSettings(v []*OutputDestinationSettings) *OutputDestination { + s.Settings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputDestinationSettings +type OutputDestinationSettings struct { + _ struct{} `type:"structure"` + + // key used to extract the password from EC2 Parameter store + PasswordParam *string `locationName:"passwordParam" type:"string"` + + // A URL specifying a destination + Url *string `locationName:"url" type:"string"` + + // username for destination + Username *string `locationName:"username" type:"string"` +} + +// String returns the string representation +func (s OutputDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputDestinationSettings) GoString() string { + return s.String() +} + +// SetPasswordParam sets the PasswordParam field's value. +func (s *OutputDestinationSettings) SetPasswordParam(v string) *OutputDestinationSettings { + s.PasswordParam = &v + return s +} + +// SetUrl sets the Url field's value. +func (s *OutputDestinationSettings) SetUrl(v string) *OutputDestinationSettings { + s.Url = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *OutputDestinationSettings) SetUsername(v string) *OutputDestinationSettings { + s.Username = &v + return s +} + +// Output groups for this Live Event. Output groups contain information about +// where streams should be distributed. +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputGroup +type OutputGroup struct { + _ struct{} `type:"structure"` + + // Custom output group name optionally defined by the user. Only letters, numbers, + // and the underscore character allowed; only 32 characters allowed. + Name *string `locationName:"name" type:"string"` + + // Settings associated with the output group. + OutputGroupSettings *OutputGroupSettings `locationName:"outputGroupSettings" type:"structure"` + + Outputs []*Output `locationName:"outputs" type:"list"` +} + +// String returns the string representation +func (s OutputGroup) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputGroup) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *OutputGroup) SetName(v string) *OutputGroup { + s.Name = &v + return s +} + +// SetOutputGroupSettings sets the OutputGroupSettings field's value. +func (s *OutputGroup) SetOutputGroupSettings(v *OutputGroupSettings) *OutputGroup { + s.OutputGroupSettings = v + return s +} + +// SetOutputs sets the Outputs field's value. +func (s *OutputGroup) SetOutputs(v []*Output) *OutputGroup { + s.Outputs = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputGroupSettings +type OutputGroupSettings struct { + _ struct{} `type:"structure"` + + ArchiveGroupSettings *ArchiveGroupSettings `locationName:"archiveGroupSettings" type:"structure"` + + HlsGroupSettings *HlsGroupSettings `locationName:"hlsGroupSettings" type:"structure"` + + MsSmoothGroupSettings *MsSmoothGroupSettings `locationName:"msSmoothGroupSettings" type:"structure"` + + UdpGroupSettings *UdpGroupSettings `locationName:"udpGroupSettings" type:"structure"` +} + +// String returns the string representation +func (s OutputGroupSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputGroupSettings) GoString() string { + return s.String() +} + +// SetArchiveGroupSettings sets the ArchiveGroupSettings field's value. +func (s *OutputGroupSettings) SetArchiveGroupSettings(v *ArchiveGroupSettings) *OutputGroupSettings { + s.ArchiveGroupSettings = v + return s +} + +// SetHlsGroupSettings sets the HlsGroupSettings field's value. +func (s *OutputGroupSettings) SetHlsGroupSettings(v *HlsGroupSettings) *OutputGroupSettings { + s.HlsGroupSettings = v + return s +} + +// SetMsSmoothGroupSettings sets the MsSmoothGroupSettings field's value. +func (s *OutputGroupSettings) SetMsSmoothGroupSettings(v *MsSmoothGroupSettings) *OutputGroupSettings { + s.MsSmoothGroupSettings = v + return s +} + +// SetUdpGroupSettings sets the UdpGroupSettings field's value. +func (s *OutputGroupSettings) SetUdpGroupSettings(v *UdpGroupSettings) *OutputGroupSettings { + s.UdpGroupSettings = v + return s +} + +// Reference to an OutputDestination ID defined in the channel +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputLocationRef +type OutputLocationRef struct { + _ struct{} `type:"structure"` + + DestinationRefId *string `locationName:"destinationRefId" type:"string"` +} + +// String returns the string representation +func (s OutputLocationRef) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputLocationRef) GoString() string { + return s.String() +} + +// SetDestinationRefId sets the DestinationRefId field's value. +func (s *OutputLocationRef) SetDestinationRefId(v string) *OutputLocationRef { + s.DestinationRefId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputSettings +type OutputSettings struct { + _ struct{} `type:"structure"` + + ArchiveOutputSettings *ArchiveOutputSettings `locationName:"archiveOutputSettings" type:"structure"` + + HlsOutputSettings *HlsOutputSettings `locationName:"hlsOutputSettings" type:"structure"` + + MsSmoothOutputSettings *MsSmoothOutputSettings `locationName:"msSmoothOutputSettings" type:"structure"` + + UdpOutputSettings *UdpOutputSettings `locationName:"udpOutputSettings" type:"structure"` +} + +// String returns the string representation +func (s OutputSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputSettings) GoString() string { + return s.String() +} + +// SetArchiveOutputSettings sets the ArchiveOutputSettings field's value. +func (s *OutputSettings) SetArchiveOutputSettings(v *ArchiveOutputSettings) *OutputSettings { + s.ArchiveOutputSettings = v + return s +} + +// SetHlsOutputSettings sets the HlsOutputSettings field's value. +func (s *OutputSettings) SetHlsOutputSettings(v *HlsOutputSettings) *OutputSettings { + s.HlsOutputSettings = v + return s +} + +// SetMsSmoothOutputSettings sets the MsSmoothOutputSettings field's value. +func (s *OutputSettings) SetMsSmoothOutputSettings(v *MsSmoothOutputSettings) *OutputSettings { + s.MsSmoothOutputSettings = v + return s +} + +// SetUdpOutputSettings sets the UdpOutputSettings field's value. +func (s *OutputSettings) SetUdpOutputSettings(v *UdpOutputSettings) *OutputSettings { + s.UdpOutputSettings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/PassThroughSettings +type PassThroughSettings struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s PassThroughSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PassThroughSettings) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RemixSettings +type RemixSettings struct { + _ struct{} `type:"structure"` + + // Mapping of input channels to output channels, with appropriate gain adjustments. + ChannelMappings []*AudioChannelMapping `locationName:"channelMappings" type:"list"` + + // Number of input channels to be used. + ChannelsIn *int64 `locationName:"channelsIn" type:"integer"` + + // Number of output channels to be produced.Valid values: 1, 2, 4, 6, 8 + ChannelsOut *int64 `locationName:"channelsOut" type:"integer"` +} + +// String returns the string representation +func (s RemixSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RemixSettings) GoString() string { + return s.String() +} + +// SetChannelMappings sets the ChannelMappings field's value. +func (s *RemixSettings) SetChannelMappings(v []*AudioChannelMapping) *RemixSettings { + s.ChannelMappings = v + return s +} + +// SetChannelsIn sets the ChannelsIn field's value. +func (s *RemixSettings) SetChannelsIn(v int64) *RemixSettings { + s.ChannelsIn = &v + return s +} + +// SetChannelsOut sets the ChannelsOut field's value. +func (s *RemixSettings) SetChannelsOut(v int64) *RemixSettings { + s.ChannelsOut = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte20PlusEmbeddedDestinationSettings +type Scte20PlusEmbeddedDestinationSettings struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s Scte20PlusEmbeddedDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Scte20PlusEmbeddedDestinationSettings) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte20SourceSettings +type Scte20SourceSettings struct { + _ struct{} `type:"structure"` + + // If upconvert, 608 data is both passed through via the "608 compatibility + // bytes" fields of the 708 wrapper as well as translated into 708. 708 data + // present in the source content will be discarded. + Convert608To708 *string `locationName:"convert608To708" type:"string" enum:"Scte20Convert608To708"` + + // Specifies the 608/708 channel number within the video track from which to + // extract captions. Unused for passthrough. + Source608ChannelNumber *int64 `locationName:"source608ChannelNumber" type:"integer"` +} + +// String returns the string representation +func (s Scte20SourceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Scte20SourceSettings) GoString() string { + return s.String() +} + +// SetConvert608To708 sets the Convert608To708 field's value. +func (s *Scte20SourceSettings) SetConvert608To708(v string) *Scte20SourceSettings { + s.Convert608To708 = &v + return s +} + +// SetSource608ChannelNumber sets the Source608ChannelNumber field's value. +func (s *Scte20SourceSettings) SetSource608ChannelNumber(v int64) *Scte20SourceSettings { + s.Source608ChannelNumber = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte27DestinationSettings +type Scte27DestinationSettings struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s Scte27DestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Scte27DestinationSettings) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte27SourceSettings +type Scte27SourceSettings struct { + _ struct{} `type:"structure"` + + // The pid field is used in conjunction with the caption selector languageCode + // field as follows: - Specify PID and Language: Extracts captions from that + // PID; the language is "informational". - Specify PID and omit Language: Extracts + // the specified PID. - Omit PID and specify Language: Extracts the specified + // language, whichever PID that happens to be. - Omit PID and omit Language: + // Valid only if source is DVB-Sub that is being passed through; all languages + // will be passed through. + Pid *int64 `locationName:"pid" type:"integer"` +} + +// String returns the string representation +func (s Scte27SourceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Scte27SourceSettings) GoString() string { + return s.String() +} + +// SetPid sets the Pid field's value. +func (s *Scte27SourceSettings) SetPid(v int64) *Scte27SourceSettings { + s.Pid = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte35SpliceInsert +type Scte35SpliceInsert struct { + _ struct{} `type:"structure"` + + // When specified, this offset (in milliseconds) is added to the input Ad Avail + // PTS time. This only applies to embedded SCTE 104/35 messages and does not + // apply to OOB messages. + AdAvailOffset *int64 `locationName:"adAvailOffset" type:"integer"` + + // When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to + // 0 will no longer trigger blackouts or Ad Avail slates + NoRegionalBlackoutFlag *string `locationName:"noRegionalBlackoutFlag" type:"string" enum:"Scte35SpliceInsertNoRegionalBlackoutBehavior"` + + // When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to + // 0 will no longer trigger blackouts or Ad Avail slates + WebDeliveryAllowedFlag *string `locationName:"webDeliveryAllowedFlag" type:"string" enum:"Scte35SpliceInsertWebDeliveryAllowedBehavior"` +} + +// String returns the string representation +func (s Scte35SpliceInsert) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Scte35SpliceInsert) GoString() string { + return s.String() +} + +// SetAdAvailOffset sets the AdAvailOffset field's value. +func (s *Scte35SpliceInsert) SetAdAvailOffset(v int64) *Scte35SpliceInsert { + s.AdAvailOffset = &v + return s +} + +// SetNoRegionalBlackoutFlag sets the NoRegionalBlackoutFlag field's value. +func (s *Scte35SpliceInsert) SetNoRegionalBlackoutFlag(v string) *Scte35SpliceInsert { + s.NoRegionalBlackoutFlag = &v + return s +} + +// SetWebDeliveryAllowedFlag sets the WebDeliveryAllowedFlag field's value. +func (s *Scte35SpliceInsert) SetWebDeliveryAllowedFlag(v string) *Scte35SpliceInsert { + s.WebDeliveryAllowedFlag = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte35TimeSignalApos +type Scte35TimeSignalApos struct { + _ struct{} `type:"structure"` + + // When specified, this offset (in milliseconds) is added to the input Ad Avail + // PTS time. This only applies to embedded SCTE 104/35 messages and does not + // apply to OOB messages. + AdAvailOffset *int64 `locationName:"adAvailOffset" type:"integer"` + + // When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to + // 0 will no longer trigger blackouts or Ad Avail slates + NoRegionalBlackoutFlag *string `locationName:"noRegionalBlackoutFlag" type:"string" enum:"Scte35AposNoRegionalBlackoutBehavior"` + + // When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to + // 0 will no longer trigger blackouts or Ad Avail slates + WebDeliveryAllowedFlag *string `locationName:"webDeliveryAllowedFlag" type:"string" enum:"Scte35AposWebDeliveryAllowedBehavior"` +} + +// String returns the string representation +func (s Scte35TimeSignalApos) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Scte35TimeSignalApos) GoString() string { + return s.String() +} + +// SetAdAvailOffset sets the AdAvailOffset field's value. +func (s *Scte35TimeSignalApos) SetAdAvailOffset(v int64) *Scte35TimeSignalApos { + s.AdAvailOffset = &v + return s +} + +// SetNoRegionalBlackoutFlag sets the NoRegionalBlackoutFlag field's value. +func (s *Scte35TimeSignalApos) SetNoRegionalBlackoutFlag(v string) *Scte35TimeSignalApos { + s.NoRegionalBlackoutFlag = &v + return s +} + +// SetWebDeliveryAllowedFlag sets the WebDeliveryAllowedFlag field's value. +func (s *Scte35TimeSignalApos) SetWebDeliveryAllowedFlag(v string) *Scte35TimeSignalApos { + s.WebDeliveryAllowedFlag = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/SmpteTtDestinationSettings +type SmpteTtDestinationSettings struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s SmpteTtDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SmpteTtDestinationSettings) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StandardHlsSettings +type StandardHlsSettings struct { + _ struct{} `type:"structure"` + + // List all the audio groups that are used with the video output stream. Input + // all the audio GROUP-IDs that are associated to the video, separate by ','. + AudioRenditionSets *string `locationName:"audioRenditionSets" type:"string"` + + // Settings information for the .m3u8 container + M3u8Settings *M3u8Settings `locationName:"m3u8Settings" type:"structure"` +} + +// String returns the string representation +func (s StandardHlsSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StandardHlsSettings) GoString() string { + return s.String() +} + +// SetAudioRenditionSets sets the AudioRenditionSets field's value. +func (s *StandardHlsSettings) SetAudioRenditionSets(v string) *StandardHlsSettings { + s.AudioRenditionSets = &v + return s +} + +// SetM3u8Settings sets the M3u8Settings field's value. +func (s *StandardHlsSettings) SetM3u8Settings(v *M3u8Settings) *StandardHlsSettings { + s.M3u8Settings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannelRequest +type StartChannelInput struct { + _ struct{} `type:"structure"` + + // ChannelId is a required field + ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` +} + +// String returns the string representation +func (s StartChannelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartChannelInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartChannelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartChannelInput"} + if s.ChannelId == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChannelId sets the ChannelId field's value. +func (s *StartChannelInput) SetChannelId(v string) *StartChannelInput { + s.ChannelId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannelResponse +type StartChannelOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + Destinations []*OutputDestination `locationName:"destinations" type:"list"` + + EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` + + EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` + + Id *string `locationName:"id" type:"string"` + + InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + + Name *string `locationName:"name" type:"string"` + + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + + RoleArn *string `locationName:"roleArn" type:"string"` + + State *string `locationName:"state" type:"string" enum:"ChannelState"` +} + +// String returns the string representation +func (s StartChannelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartChannelOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *StartChannelOutput) SetArn(v string) *StartChannelOutput { + s.Arn = &v + return s +} + +// SetDestinations sets the Destinations field's value. +func (s *StartChannelOutput) SetDestinations(v []*OutputDestination) *StartChannelOutput { + s.Destinations = v + return s +} + +// SetEgressEndpoints sets the EgressEndpoints field's value. +func (s *StartChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *StartChannelOutput { + s.EgressEndpoints = v + return s +} + +// SetEncoderSettings sets the EncoderSettings field's value. +func (s *StartChannelOutput) SetEncoderSettings(v *EncoderSettings) *StartChannelOutput { + s.EncoderSettings = v + return s +} + +// SetId sets the Id field's value. +func (s *StartChannelOutput) SetId(v string) *StartChannelOutput { + s.Id = &v + return s +} + +// SetInputAttachments sets the InputAttachments field's value. +func (s *StartChannelOutput) SetInputAttachments(v []*InputAttachment) *StartChannelOutput { + s.InputAttachments = v + return s +} + +// SetName sets the Name field's value. +func (s *StartChannelOutput) SetName(v string) *StartChannelOutput { + s.Name = &v + return s +} + +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *StartChannelOutput) SetPipelinesRunningCount(v int64) *StartChannelOutput { + s.PipelinesRunningCount = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *StartChannelOutput) SetRoleArn(v string) *StartChannelOutput { + s.RoleArn = &v + return s +} + +// SetState sets the State field's value. +func (s *StartChannelOutput) SetState(v string) *StartChannelOutput { + s.State = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StaticKeySettings +type StaticKeySettings struct { + _ struct{} `type:"structure"` + + // The URL of the license server used for protecting content. + KeyProviderServer *InputLocation `locationName:"keyProviderServer" type:"structure"` + + // Static key value as a 32 character hexadecimal string. + StaticKeyValue *string `locationName:"staticKeyValue" type:"string"` +} + +// String returns the string representation +func (s StaticKeySettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StaticKeySettings) GoString() string { + return s.String() +} + +// SetKeyProviderServer sets the KeyProviderServer field's value. +func (s *StaticKeySettings) SetKeyProviderServer(v *InputLocation) *StaticKeySettings { + s.KeyProviderServer = v + return s +} + +// SetStaticKeyValue sets the StaticKeyValue field's value. +func (s *StaticKeySettings) SetStaticKeyValue(v string) *StaticKeySettings { + s.StaticKeyValue = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannelRequest +type StopChannelInput struct { + _ struct{} `type:"structure"` + + // ChannelId is a required field + ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` +} + +// String returns the string representation +func (s StopChannelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StopChannelInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StopChannelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StopChannelInput"} + if s.ChannelId == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChannelId sets the ChannelId field's value. +func (s *StopChannelInput) SetChannelId(v string) *StopChannelInput { + s.ChannelId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannelResponse +type StopChannelOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + Destinations []*OutputDestination `locationName:"destinations" type:"list"` + + EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` + + EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` + + Id *string `locationName:"id" type:"string"` + + InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + + Name *string `locationName:"name" type:"string"` + + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + + RoleArn *string `locationName:"roleArn" type:"string"` + + State *string `locationName:"state" type:"string" enum:"ChannelState"` +} + +// String returns the string representation +func (s StopChannelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StopChannelOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *StopChannelOutput) SetArn(v string) *StopChannelOutput { + s.Arn = &v + return s +} + +// SetDestinations sets the Destinations field's value. +func (s *StopChannelOutput) SetDestinations(v []*OutputDestination) *StopChannelOutput { + s.Destinations = v + return s +} + +// SetEgressEndpoints sets the EgressEndpoints field's value. +func (s *StopChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *StopChannelOutput { + s.EgressEndpoints = v + return s +} + +// SetEncoderSettings sets the EncoderSettings field's value. +func (s *StopChannelOutput) SetEncoderSettings(v *EncoderSettings) *StopChannelOutput { + s.EncoderSettings = v + return s +} + +// SetId sets the Id field's value. +func (s *StopChannelOutput) SetId(v string) *StopChannelOutput { + s.Id = &v + return s +} + +// SetInputAttachments sets the InputAttachments field's value. +func (s *StopChannelOutput) SetInputAttachments(v []*InputAttachment) *StopChannelOutput { + s.InputAttachments = v + return s +} + +// SetName sets the Name field's value. +func (s *StopChannelOutput) SetName(v string) *StopChannelOutput { + s.Name = &v + return s +} + +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *StopChannelOutput) SetPipelinesRunningCount(v int64) *StopChannelOutput { + s.PipelinesRunningCount = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *StopChannelOutput) SetRoleArn(v string) *StopChannelOutput { + s.RoleArn = &v + return s +} + +// SetState sets the State field's value. +func (s *StopChannelOutput) SetState(v string) *StopChannelOutput { + s.State = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TeletextDestinationSettings +type TeletextDestinationSettings struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s TeletextDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TeletextDestinationSettings) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TeletextSourceSettings +type TeletextSourceSettings struct { + _ struct{} `type:"structure"` + + // Specifies the teletext page number within the data stream from which to extract + // captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should + // be specified as a hexadecimal string with no "0x" prefix. + PageNumber *string `locationName:"pageNumber" type:"string"` +} + +// String returns the string representation +func (s TeletextSourceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TeletextSourceSettings) GoString() string { + return s.String() +} + +// SetPageNumber sets the PageNumber field's value. +func (s *TeletextSourceSettings) SetPageNumber(v string) *TeletextSourceSettings { + s.PageNumber = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TimecodeConfig +type TimecodeConfig struct { + _ struct{} `type:"structure"` + + // Identifies the source for the timecode that will be associated with the events + // outputs.-Embedded (embedded): Initialize the output timecode with timecode + // from the the source. If no embedded timecode is detected in the source, the + // system falls back to using "Start at 0" (zerobased).-System Clock (systemclock): + // Use the UTC time.-Start at 0 (zerobased): The time of the first frame of + // the event will be 00:00:00:00. + Source *string `locationName:"source" type:"string" enum:"TimecodeConfigSource"` + + // Threshold in frames beyond which output timecode is resynchronized to the + // input timecode. Discrepancies below this threshold are permitted to avoid + // unnecessary discontinuities in the output timecode. No timecode sync when + // this is not specified. + SyncThreshold *int64 `locationName:"syncThreshold" type:"integer"` +} + +// String returns the string representation +func (s TimecodeConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TimecodeConfig) GoString() string { + return s.String() +} + +// SetSource sets the Source field's value. +func (s *TimecodeConfig) SetSource(v string) *TimecodeConfig { + s.Source = &v + return s +} + +// SetSyncThreshold sets the SyncThreshold field's value. +func (s *TimecodeConfig) SetSyncThreshold(v int64) *TimecodeConfig { + s.SyncThreshold = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TtmlDestinationSettings +type TtmlDestinationSettings struct { + _ struct{} `type:"structure"` + + // When set to passthrough, passes through style and position information from + // a TTML-like input source (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or + // TTML output. + StyleControl *string `locationName:"styleControl" type:"string" enum:"TtmlDestinationStyleControl"` +} + +// String returns the string representation +func (s TtmlDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TtmlDestinationSettings) GoString() string { + return s.String() +} + +// SetStyleControl sets the StyleControl field's value. +func (s *TtmlDestinationSettings) SetStyleControl(v string) *TtmlDestinationSettings { + s.StyleControl = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UdpContainerSettings +type UdpContainerSettings struct { + _ struct{} `type:"structure"` + + M2tsSettings *M2tsSettings `locationName:"m2tsSettings" type:"structure"` +} + +// String returns the string representation +func (s UdpContainerSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UdpContainerSettings) GoString() string { + return s.String() +} + +// SetM2tsSettings sets the M2tsSettings field's value. +func (s *UdpContainerSettings) SetM2tsSettings(v *M2tsSettings) *UdpContainerSettings { + s.M2tsSettings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UdpGroupSettings +type UdpGroupSettings struct { + _ struct{} `type:"structure"` + + // Specifies behavior of last resort when input video is lost, and no more backup + // inputs are available. When dropTs is selected the entire transport stream + // will stop being emitted. When dropProgram is selected the program can be + // dropped from the transport stream (and replaced with null packets to meet + // the TS bitrate requirement). Or, when emitProgram is chosen the transport + // stream will continue to be produced normally with repeat frames, black frames, + // or slate frames substituted for the absent input video. + InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForUdpOut"` + + // Indicates ID3 frame that has the timecode. + TimedMetadataId3Frame *string `locationName:"timedMetadataId3Frame" type:"string" enum:"UdpTimedMetadataId3Frame"` + + // Timed Metadata interval in seconds. + TimedMetadataId3Period *int64 `locationName:"timedMetadataId3Period" type:"integer"` +} + +// String returns the string representation +func (s UdpGroupSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UdpGroupSettings) GoString() string { + return s.String() +} + +// SetInputLossAction sets the InputLossAction field's value. +func (s *UdpGroupSettings) SetInputLossAction(v string) *UdpGroupSettings { + s.InputLossAction = &v + return s +} + +// SetTimedMetadataId3Frame sets the TimedMetadataId3Frame field's value. +func (s *UdpGroupSettings) SetTimedMetadataId3Frame(v string) *UdpGroupSettings { + s.TimedMetadataId3Frame = &v + return s +} + +// SetTimedMetadataId3Period sets the TimedMetadataId3Period field's value. +func (s *UdpGroupSettings) SetTimedMetadataId3Period(v int64) *UdpGroupSettings { + s.TimedMetadataId3Period = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UdpOutputSettings +type UdpOutputSettings struct { + _ struct{} `type:"structure"` + + // UDP output buffering in milliseconds. Larger values increase latency through + // the transcoder but simultaneously assist the transcoder in maintaining a + // constant, low-jitter UDP/RTP output while accommodating clock recovery, input + // switching, input disruptions, picture reordering, etc. + BufferMsec *int64 `locationName:"bufferMsec" type:"integer"` + + ContainerSettings *UdpContainerSettings `locationName:"containerSettings" type:"structure"` + + // Destination address and port number for RTP or UDP packets. Can be unicast + // or multicast RTP or UDP (eg. rtp://239.10.10.10:5001 or udp://10.100.100.100:5002). + Destination *OutputLocationRef `locationName:"destination" type:"structure"` + + // Settings for enabling and adjusting Forward Error Correction on UDP outputs. + FecOutputSettings *FecOutputSettings `locationName:"fecOutputSettings" type:"structure"` +} + +// String returns the string representation +func (s UdpOutputSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UdpOutputSettings) GoString() string { + return s.String() +} + +// SetBufferMsec sets the BufferMsec field's value. +func (s *UdpOutputSettings) SetBufferMsec(v int64) *UdpOutputSettings { + s.BufferMsec = &v + return s +} + +// SetContainerSettings sets the ContainerSettings field's value. +func (s *UdpOutputSettings) SetContainerSettings(v *UdpContainerSettings) *UdpOutputSettings { + s.ContainerSettings = v + return s +} + +// SetDestination sets the Destination field's value. +func (s *UdpOutputSettings) SetDestination(v *OutputLocationRef) *UdpOutputSettings { + s.Destination = v + return s +} + +// SetFecOutputSettings sets the FecOutputSettings field's value. +func (s *UdpOutputSettings) SetFecOutputSettings(v *FecOutputSettings) *UdpOutputSettings { + s.FecOutputSettings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ValidationError +type ValidationError struct { + _ struct{} `type:"structure"` + + ElementPath *string `locationName:"elementPath" type:"string"` + + ErrorMessage *string `locationName:"errorMessage" type:"string"` +} + +// String returns the string representation +func (s ValidationError) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ValidationError) GoString() string { + return s.String() +} + +// SetElementPath sets the ElementPath field's value. +func (s *ValidationError) SetElementPath(v string) *ValidationError { + s.ElementPath = &v + return s +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *ValidationError) SetErrorMessage(v string) *ValidationError { + s.ErrorMessage = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoCodecSettings +type VideoCodecSettings struct { + _ struct{} `type:"structure"` + + H264Settings *H264Settings `locationName:"h264Settings" type:"structure"` +} + +// String returns the string representation +func (s VideoCodecSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VideoCodecSettings) GoString() string { + return s.String() +} + +// SetH264Settings sets the H264Settings field's value. +func (s *VideoCodecSettings) SetH264Settings(v *H264Settings) *VideoCodecSettings { + s.H264Settings = v + return s +} + +// Video settings for this stream. +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoDescription +type VideoDescription struct { + _ struct{} `type:"structure"` + + // Video codec settings. + CodecSettings *VideoCodecSettings `locationName:"codecSettings" type:"structure"` + + // Output video height (in pixels). Leave blank to use source video height. + // If left blank, width must also be unspecified. + Height *int64 `locationName:"height" type:"integer"` + + // The name of this VideoDescription. Outputs will use this name to uniquely + // identify this Description. Description names should be unique within this + // Live Event. + Name *string `locationName:"name" type:"string"` + + // Indicates how to respond to the AFD values in the input stream. Setting to + // "respond" causes input video to be clipped, depending on AFD value, input + // display aspect ratio and output display aspect ratio. + RespondToAfd *string `locationName:"respondToAfd" type:"string" enum:"VideoDescriptionRespondToAfd"` + + // When set to "stretchToOutput", automatically configures the output position + // to stretch the video to the specified output resolution. This option will + // override any position value. + ScalingBehavior *string `locationName:"scalingBehavior" type:"string" enum:"VideoDescriptionScalingBehavior"` + + // Changes the width of the anti-alias filter kernel used for scaling. Only + // applies if scaling is being performed and antiAlias is set to true. 0 is + // the softest setting, 100 the sharpest, and 50 recommended for most content. + Sharpness *int64 `locationName:"sharpness" type:"integer"` + + // Output video width (in pixels). Leave out to use source video width. If left + // out, height must also be left out. Display aspect ratio is always preserved + // by letterboxing or pillarboxing when necessary. + Width *int64 `locationName:"width" type:"integer"` +} + +// String returns the string representation +func (s VideoDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VideoDescription) GoString() string { + return s.String() +} + +// SetCodecSettings sets the CodecSettings field's value. +func (s *VideoDescription) SetCodecSettings(v *VideoCodecSettings) *VideoDescription { + s.CodecSettings = v + return s +} + +// SetHeight sets the Height field's value. +func (s *VideoDescription) SetHeight(v int64) *VideoDescription { + s.Height = &v + return s +} + +// SetName sets the Name field's value. +func (s *VideoDescription) SetName(v string) *VideoDescription { + s.Name = &v + return s +} + +// SetRespondToAfd sets the RespondToAfd field's value. +func (s *VideoDescription) SetRespondToAfd(v string) *VideoDescription { + s.RespondToAfd = &v + return s +} + +// SetScalingBehavior sets the ScalingBehavior field's value. +func (s *VideoDescription) SetScalingBehavior(v string) *VideoDescription { + s.ScalingBehavior = &v + return s +} + +// SetSharpness sets the Sharpness field's value. +func (s *VideoDescription) SetSharpness(v int64) *VideoDescription { + s.Sharpness = &v + return s +} + +// SetWidth sets the Width field's value. +func (s *VideoDescription) SetWidth(v int64) *VideoDescription { + s.Width = &v + return s +} + +// Specifies a particular video stream within an input source. An input may +// have only a single video selector. +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoSelector +type VideoSelector struct { + _ struct{} `type:"structure"` + + // Specifies the colorspace of an input. This setting works in tandem with colorSpaceConversion + // to determine if any conversion will be performed. + ColorSpace *string `locationName:"colorSpace" type:"string" enum:"VideoSelectorColorSpace"` + + // Applies only if colorSpace is a value other than follow. This field controls + // how the value in the colorSpace field will be used. fallback means that when + // the input does include color space data, that data will be used, but when + // the input has no color space data, the value in colorSpace will be used. + // Choose fallback if your input is sometimes missing color space data, but + // when it does have color space data, that data is correct. force means to + // always use the value in colorSpace. Choose force if your input usually has + // no color space data or might have unreliable color space data. + ColorSpaceUsage *string `locationName:"colorSpaceUsage" type:"string" enum:"VideoSelectorColorSpaceUsage"` + + // The video selector settings. + SelectorSettings *VideoSelectorSettings `locationName:"selectorSettings" type:"structure"` +} + +// String returns the string representation +func (s VideoSelector) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VideoSelector) GoString() string { + return s.String() +} + +// SetColorSpace sets the ColorSpace field's value. +func (s *VideoSelector) SetColorSpace(v string) *VideoSelector { + s.ColorSpace = &v + return s +} + +// SetColorSpaceUsage sets the ColorSpaceUsage field's value. +func (s *VideoSelector) SetColorSpaceUsage(v string) *VideoSelector { + s.ColorSpaceUsage = &v + return s +} + +// SetSelectorSettings sets the SelectorSettings field's value. +func (s *VideoSelector) SetSelectorSettings(v *VideoSelectorSettings) *VideoSelector { + s.SelectorSettings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoSelectorPid +type VideoSelectorPid struct { + _ struct{} `type:"structure"` + + // Selects a specific PID from within a video source. + Pid *int64 `locationName:"pid" type:"integer"` +} + +// String returns the string representation +func (s VideoSelectorPid) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VideoSelectorPid) GoString() string { + return s.String() +} + +// SetPid sets the Pid field's value. +func (s *VideoSelectorPid) SetPid(v int64) *VideoSelectorPid { + s.Pid = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoSelectorProgramId +type VideoSelectorProgramId struct { + _ struct{} `type:"structure"` + + // Selects a specific program from within a multi-program transport stream. + // If the program doesn't exist, the first program within the transport stream + // will be selected by default. + ProgramId *int64 `locationName:"programId" type:"integer"` +} + +// String returns the string representation +func (s VideoSelectorProgramId) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VideoSelectorProgramId) GoString() string { + return s.String() +} + +// SetProgramId sets the ProgramId field's value. +func (s *VideoSelectorProgramId) SetProgramId(v int64) *VideoSelectorProgramId { + s.ProgramId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoSelectorSettings +type VideoSelectorSettings struct { + _ struct{} `type:"structure"` + + VideoSelectorPid *VideoSelectorPid `locationName:"videoSelectorPid" type:"structure"` + + VideoSelectorProgramId *VideoSelectorProgramId `locationName:"videoSelectorProgramId" type:"structure"` +} + +// String returns the string representation +func (s VideoSelectorSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VideoSelectorSettings) GoString() string { + return s.String() +} + +// SetVideoSelectorPid sets the VideoSelectorPid field's value. +func (s *VideoSelectorSettings) SetVideoSelectorPid(v *VideoSelectorPid) *VideoSelectorSettings { + s.VideoSelectorPid = v + return s +} + +// SetVideoSelectorProgramId sets the VideoSelectorProgramId field's value. +func (s *VideoSelectorSettings) SetVideoSelectorProgramId(v *VideoSelectorProgramId) *VideoSelectorSettings { + s.VideoSelectorProgramId = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/WebvttDestinationSettings +type WebvttDestinationSettings struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s WebvttDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WebvttDestinationSettings) GoString() string { + return s.String() +} + +const ( + // AacCodingModeAdReceiverMix is a AacCodingMode enum value + AacCodingModeAdReceiverMix = "AD_RECEIVER_MIX" + + // AacCodingModeCodingMode10 is a AacCodingMode enum value + AacCodingModeCodingMode10 = "CODING_MODE_1_0" + + // AacCodingModeCodingMode11 is a AacCodingMode enum value + AacCodingModeCodingMode11 = "CODING_MODE_1_1" + + // AacCodingModeCodingMode20 is a AacCodingMode enum value + AacCodingModeCodingMode20 = "CODING_MODE_2_0" + + // AacCodingModeCodingMode51 is a AacCodingMode enum value + AacCodingModeCodingMode51 = "CODING_MODE_5_1" +) + +const ( + // AacInputTypeBroadcasterMixedAd is a AacInputType enum value + AacInputTypeBroadcasterMixedAd = "BROADCASTER_MIXED_AD" + + // AacInputTypeNormal is a AacInputType enum value + AacInputTypeNormal = "NORMAL" +) + +const ( + // AacProfileHev1 is a AacProfile enum value + AacProfileHev1 = "HEV1" + + // AacProfileHev2 is a AacProfile enum value + AacProfileHev2 = "HEV2" + + // AacProfileLc is a AacProfile enum value + AacProfileLc = "LC" +) + +const ( + // AacRateControlModeCbr is a AacRateControlMode enum value + AacRateControlModeCbr = "CBR" + + // AacRateControlModeVbr is a AacRateControlMode enum value + AacRateControlModeVbr = "VBR" +) + +const ( + // AacRawFormatLatmLoas is a AacRawFormat enum value + AacRawFormatLatmLoas = "LATM_LOAS" + + // AacRawFormatNone is a AacRawFormat enum value + AacRawFormatNone = "NONE" +) + +const ( + // AacSpecMpeg2 is a AacSpec enum value + AacSpecMpeg2 = "MPEG2" + + // AacSpecMpeg4 is a AacSpec enum value + AacSpecMpeg4 = "MPEG4" +) + +const ( + // AacVbrQualityHigh is a AacVbrQuality enum value + AacVbrQualityHigh = "HIGH" + + // AacVbrQualityLow is a AacVbrQuality enum value + AacVbrQualityLow = "LOW" + + // AacVbrQualityMediumHigh is a AacVbrQuality enum value + AacVbrQualityMediumHigh = "MEDIUM_HIGH" + + // AacVbrQualityMediumLow is a AacVbrQuality enum value + AacVbrQualityMediumLow = "MEDIUM_LOW" +) + +const ( + // Ac3BitstreamModeCommentary is a Ac3BitstreamMode enum value + Ac3BitstreamModeCommentary = "COMMENTARY" + + // Ac3BitstreamModeCompleteMain is a Ac3BitstreamMode enum value + Ac3BitstreamModeCompleteMain = "COMPLETE_MAIN" + + // Ac3BitstreamModeDialogue is a Ac3BitstreamMode enum value + Ac3BitstreamModeDialogue = "DIALOGUE" + + // Ac3BitstreamModeEmergency is a Ac3BitstreamMode enum value + Ac3BitstreamModeEmergency = "EMERGENCY" + + // Ac3BitstreamModeHearingImpaired is a Ac3BitstreamMode enum value + Ac3BitstreamModeHearingImpaired = "HEARING_IMPAIRED" + + // Ac3BitstreamModeMusicAndEffects is a Ac3BitstreamMode enum value + Ac3BitstreamModeMusicAndEffects = "MUSIC_AND_EFFECTS" + + // Ac3BitstreamModeVisuallyImpaired is a Ac3BitstreamMode enum value + Ac3BitstreamModeVisuallyImpaired = "VISUALLY_IMPAIRED" + + // Ac3BitstreamModeVoiceOver is a Ac3BitstreamMode enum value + Ac3BitstreamModeVoiceOver = "VOICE_OVER" +) + +const ( + // Ac3CodingModeCodingMode10 is a Ac3CodingMode enum value + Ac3CodingModeCodingMode10 = "CODING_MODE_1_0" + + // Ac3CodingModeCodingMode11 is a Ac3CodingMode enum value + Ac3CodingModeCodingMode11 = "CODING_MODE_1_1" + + // Ac3CodingModeCodingMode20 is a Ac3CodingMode enum value + Ac3CodingModeCodingMode20 = "CODING_MODE_2_0" + + // Ac3CodingModeCodingMode32Lfe is a Ac3CodingMode enum value + Ac3CodingModeCodingMode32Lfe = "CODING_MODE_3_2_LFE" +) + +const ( + // Ac3DrcProfileFilmStandard is a Ac3DrcProfile enum value + Ac3DrcProfileFilmStandard = "FILM_STANDARD" + + // Ac3DrcProfileNone is a Ac3DrcProfile enum value + Ac3DrcProfileNone = "NONE" +) + +const ( + // Ac3LfeFilterDisabled is a Ac3LfeFilter enum value + Ac3LfeFilterDisabled = "DISABLED" + + // Ac3LfeFilterEnabled is a Ac3LfeFilter enum value + Ac3LfeFilterEnabled = "ENABLED" +) + +const ( + // Ac3MetadataControlFollowInput is a Ac3MetadataControl enum value + Ac3MetadataControlFollowInput = "FOLLOW_INPUT" + + // Ac3MetadataControlUseConfigured is a Ac3MetadataControl enum value + Ac3MetadataControlUseConfigured = "USE_CONFIGURED" +) + +const ( + // AfdSignalingAuto is a AfdSignaling enum value + AfdSignalingAuto = "AUTO" + + // AfdSignalingFixed is a AfdSignaling enum value + AfdSignalingFixed = "FIXED" + + // AfdSignalingNone is a AfdSignaling enum value + AfdSignalingNone = "NONE" +) + +const ( + // AudioDescriptionAudioTypeControlFollowInput is a AudioDescriptionAudioTypeControl enum value + AudioDescriptionAudioTypeControlFollowInput = "FOLLOW_INPUT" + + // AudioDescriptionAudioTypeControlUseConfigured is a AudioDescriptionAudioTypeControl enum value + AudioDescriptionAudioTypeControlUseConfigured = "USE_CONFIGURED" +) + +const ( + // AudioDescriptionLanguageCodeControlFollowInput is a AudioDescriptionLanguageCodeControl enum value + AudioDescriptionLanguageCodeControlFollowInput = "FOLLOW_INPUT" + + // AudioDescriptionLanguageCodeControlUseConfigured is a AudioDescriptionLanguageCodeControl enum value + AudioDescriptionLanguageCodeControlUseConfigured = "USE_CONFIGURED" +) + +const ( + // AudioLanguageSelectionPolicyLoose is a AudioLanguageSelectionPolicy enum value + AudioLanguageSelectionPolicyLoose = "LOOSE" + + // AudioLanguageSelectionPolicyStrict is a AudioLanguageSelectionPolicy enum value + AudioLanguageSelectionPolicyStrict = "STRICT" +) + +const ( + // AudioNormalizationAlgorithmItu17701 is a AudioNormalizationAlgorithm enum value + AudioNormalizationAlgorithmItu17701 = "ITU_1770_1" + + // AudioNormalizationAlgorithmItu17702 is a AudioNormalizationAlgorithm enum value + AudioNormalizationAlgorithmItu17702 = "ITU_1770_2" +) + +const ( + // AudioNormalizationAlgorithmControlCorrectAudio is a AudioNormalizationAlgorithmControl enum value + AudioNormalizationAlgorithmControlCorrectAudio = "CORRECT_AUDIO" +) + +const ( + // AudioOnlyHlsTrackTypeAlternateAudioAutoSelect is a AudioOnlyHlsTrackType enum value + AudioOnlyHlsTrackTypeAlternateAudioAutoSelect = "ALTERNATE_AUDIO_AUTO_SELECT" + + // AudioOnlyHlsTrackTypeAlternateAudioAutoSelectDefault is a AudioOnlyHlsTrackType enum value + AudioOnlyHlsTrackTypeAlternateAudioAutoSelectDefault = "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT" + + // AudioOnlyHlsTrackTypeAlternateAudioNotAutoSelect is a AudioOnlyHlsTrackType enum value + AudioOnlyHlsTrackTypeAlternateAudioNotAutoSelect = "ALTERNATE_AUDIO_NOT_AUTO_SELECT" + + // AudioOnlyHlsTrackTypeAudioOnlyVariantStream is a AudioOnlyHlsTrackType enum value + AudioOnlyHlsTrackTypeAudioOnlyVariantStream = "AUDIO_ONLY_VARIANT_STREAM" +) + +const ( + // AudioTypeCleanEffects is a AudioType enum value + AudioTypeCleanEffects = "CLEAN_EFFECTS" + + // AudioTypeHearingImpaired is a AudioType enum value + AudioTypeHearingImpaired = "HEARING_IMPAIRED" + + // AudioTypeUndefined is a AudioType enum value + AudioTypeUndefined = "UNDEFINED" + + // AudioTypeVisualImpairedCommentary is a AudioType enum value + AudioTypeVisualImpairedCommentary = "VISUAL_IMPAIRED_COMMENTARY" +) + +const ( + // AvailBlankingStateDisabled is a AvailBlankingState enum value + AvailBlankingStateDisabled = "DISABLED" + + // AvailBlankingStateEnabled is a AvailBlankingState enum value + AvailBlankingStateEnabled = "ENABLED" +) + +const ( + // BlackoutSlateNetworkEndBlackoutDisabled is a BlackoutSlateNetworkEndBlackout enum value + BlackoutSlateNetworkEndBlackoutDisabled = "DISABLED" + + // BlackoutSlateNetworkEndBlackoutEnabled is a BlackoutSlateNetworkEndBlackout enum value + BlackoutSlateNetworkEndBlackoutEnabled = "ENABLED" +) + +const ( + // BlackoutSlateStateDisabled is a BlackoutSlateState enum value + BlackoutSlateStateDisabled = "DISABLED" + + // BlackoutSlateStateEnabled is a BlackoutSlateState enum value + BlackoutSlateStateEnabled = "ENABLED" +) + +const ( + // BurnInAlignmentCentered is a BurnInAlignment enum value + BurnInAlignmentCentered = "CENTERED" + + // BurnInAlignmentLeft is a BurnInAlignment enum value + BurnInAlignmentLeft = "LEFT" + + // BurnInAlignmentSmart is a BurnInAlignment enum value + BurnInAlignmentSmart = "SMART" +) + +const ( + // BurnInBackgroundColorBlack is a BurnInBackgroundColor enum value + BurnInBackgroundColorBlack = "BLACK" + + // BurnInBackgroundColorNone is a BurnInBackgroundColor enum value + BurnInBackgroundColorNone = "NONE" + + // BurnInBackgroundColorWhite is a BurnInBackgroundColor enum value + BurnInBackgroundColorWhite = "WHITE" +) + +const ( + // BurnInFontColorBlack is a BurnInFontColor enum value + BurnInFontColorBlack = "BLACK" + + // BurnInFontColorBlue is a BurnInFontColor enum value + BurnInFontColorBlue = "BLUE" + + // BurnInFontColorGreen is a BurnInFontColor enum value + BurnInFontColorGreen = "GREEN" + + // BurnInFontColorRed is a BurnInFontColor enum value + BurnInFontColorRed = "RED" + + // BurnInFontColorWhite is a BurnInFontColor enum value + BurnInFontColorWhite = "WHITE" + + // BurnInFontColorYellow is a BurnInFontColor enum value + BurnInFontColorYellow = "YELLOW" +) + +const ( + // BurnInOutlineColorBlack is a BurnInOutlineColor enum value + BurnInOutlineColorBlack = "BLACK" + + // BurnInOutlineColorBlue is a BurnInOutlineColor enum value + BurnInOutlineColorBlue = "BLUE" + + // BurnInOutlineColorGreen is a BurnInOutlineColor enum value + BurnInOutlineColorGreen = "GREEN" + + // BurnInOutlineColorRed is a BurnInOutlineColor enum value + BurnInOutlineColorRed = "RED" + + // BurnInOutlineColorWhite is a BurnInOutlineColor enum value + BurnInOutlineColorWhite = "WHITE" + + // BurnInOutlineColorYellow is a BurnInOutlineColor enum value + BurnInOutlineColorYellow = "YELLOW" +) + +const ( + // BurnInShadowColorBlack is a BurnInShadowColor enum value + BurnInShadowColorBlack = "BLACK" + + // BurnInShadowColorNone is a BurnInShadowColor enum value + BurnInShadowColorNone = "NONE" + + // BurnInShadowColorWhite is a BurnInShadowColor enum value + BurnInShadowColorWhite = "WHITE" +) + +const ( + // BurnInTeletextGridControlFixed is a BurnInTeletextGridControl enum value + BurnInTeletextGridControlFixed = "FIXED" + + // BurnInTeletextGridControlScaled is a BurnInTeletextGridControl enum value + BurnInTeletextGridControlScaled = "SCALED" +) + +const ( + // ChannelStateCreating is a ChannelState enum value + ChannelStateCreating = "CREATING" + + // ChannelStateCreateFailed is a ChannelState enum value + ChannelStateCreateFailed = "CREATE_FAILED" + + // ChannelStateIdle is a ChannelState enum value + ChannelStateIdle = "IDLE" + + // ChannelStateStarting is a ChannelState enum value + ChannelStateStarting = "STARTING" + + // ChannelStateRunning is a ChannelState enum value + ChannelStateRunning = "RUNNING" + + // ChannelStateRecovering is a ChannelState enum value + ChannelStateRecovering = "RECOVERING" + + // ChannelStateStopping is a ChannelState enum value + ChannelStateStopping = "STOPPING" + + // ChannelStateDeleting is a ChannelState enum value + ChannelStateDeleting = "DELETING" + + // ChannelStateDeleted is a ChannelState enum value + ChannelStateDeleted = "DELETED" +) + +const ( + // DvbSdtOutputSdtSdtFollow is a DvbSdtOutputSdt enum value + DvbSdtOutputSdtSdtFollow = "SDT_FOLLOW" + + // DvbSdtOutputSdtSdtFollowIfPresent is a DvbSdtOutputSdt enum value + DvbSdtOutputSdtSdtFollowIfPresent = "SDT_FOLLOW_IF_PRESENT" + + // DvbSdtOutputSdtSdtManual is a DvbSdtOutputSdt enum value + DvbSdtOutputSdtSdtManual = "SDT_MANUAL" + + // DvbSdtOutputSdtSdtNone is a DvbSdtOutputSdt enum value + DvbSdtOutputSdtSdtNone = "SDT_NONE" +) + +const ( + // DvbSubDestinationAlignmentCentered is a DvbSubDestinationAlignment enum value + DvbSubDestinationAlignmentCentered = "CENTERED" + + // DvbSubDestinationAlignmentLeft is a DvbSubDestinationAlignment enum value + DvbSubDestinationAlignmentLeft = "LEFT" + + // DvbSubDestinationAlignmentSmart is a DvbSubDestinationAlignment enum value + DvbSubDestinationAlignmentSmart = "SMART" +) + +const ( + // DvbSubDestinationBackgroundColorBlack is a DvbSubDestinationBackgroundColor enum value + DvbSubDestinationBackgroundColorBlack = "BLACK" + + // DvbSubDestinationBackgroundColorNone is a DvbSubDestinationBackgroundColor enum value + DvbSubDestinationBackgroundColorNone = "NONE" + + // DvbSubDestinationBackgroundColorWhite is a DvbSubDestinationBackgroundColor enum value + DvbSubDestinationBackgroundColorWhite = "WHITE" +) + +const ( + // DvbSubDestinationFontColorBlack is a DvbSubDestinationFontColor enum value + DvbSubDestinationFontColorBlack = "BLACK" + + // DvbSubDestinationFontColorBlue is a DvbSubDestinationFontColor enum value + DvbSubDestinationFontColorBlue = "BLUE" + + // DvbSubDestinationFontColorGreen is a DvbSubDestinationFontColor enum value + DvbSubDestinationFontColorGreen = "GREEN" + + // DvbSubDestinationFontColorRed is a DvbSubDestinationFontColor enum value + DvbSubDestinationFontColorRed = "RED" + + // DvbSubDestinationFontColorWhite is a DvbSubDestinationFontColor enum value + DvbSubDestinationFontColorWhite = "WHITE" + + // DvbSubDestinationFontColorYellow is a DvbSubDestinationFontColor enum value + DvbSubDestinationFontColorYellow = "YELLOW" +) + +const ( + // DvbSubDestinationOutlineColorBlack is a DvbSubDestinationOutlineColor enum value + DvbSubDestinationOutlineColorBlack = "BLACK" + + // DvbSubDestinationOutlineColorBlue is a DvbSubDestinationOutlineColor enum value + DvbSubDestinationOutlineColorBlue = "BLUE" + + // DvbSubDestinationOutlineColorGreen is a DvbSubDestinationOutlineColor enum value + DvbSubDestinationOutlineColorGreen = "GREEN" + + // DvbSubDestinationOutlineColorRed is a DvbSubDestinationOutlineColor enum value + DvbSubDestinationOutlineColorRed = "RED" + + // DvbSubDestinationOutlineColorWhite is a DvbSubDestinationOutlineColor enum value + DvbSubDestinationOutlineColorWhite = "WHITE" + + // DvbSubDestinationOutlineColorYellow is a DvbSubDestinationOutlineColor enum value + DvbSubDestinationOutlineColorYellow = "YELLOW" +) + +const ( + // DvbSubDestinationShadowColorBlack is a DvbSubDestinationShadowColor enum value + DvbSubDestinationShadowColorBlack = "BLACK" + + // DvbSubDestinationShadowColorNone is a DvbSubDestinationShadowColor enum value + DvbSubDestinationShadowColorNone = "NONE" + + // DvbSubDestinationShadowColorWhite is a DvbSubDestinationShadowColor enum value + DvbSubDestinationShadowColorWhite = "WHITE" +) + +const ( + // DvbSubDestinationTeletextGridControlFixed is a DvbSubDestinationTeletextGridControl enum value + DvbSubDestinationTeletextGridControlFixed = "FIXED" + + // DvbSubDestinationTeletextGridControlScaled is a DvbSubDestinationTeletextGridControl enum value + DvbSubDestinationTeletextGridControlScaled = "SCALED" +) + +const ( + // Eac3AttenuationControlAttenuate3Db is a Eac3AttenuationControl enum value + Eac3AttenuationControlAttenuate3Db = "ATTENUATE_3_DB" + + // Eac3AttenuationControlNone is a Eac3AttenuationControl enum value + Eac3AttenuationControlNone = "NONE" +) + +const ( + // Eac3BitstreamModeCommentary is a Eac3BitstreamMode enum value + Eac3BitstreamModeCommentary = "COMMENTARY" + + // Eac3BitstreamModeCompleteMain is a Eac3BitstreamMode enum value + Eac3BitstreamModeCompleteMain = "COMPLETE_MAIN" + + // Eac3BitstreamModeEmergency is a Eac3BitstreamMode enum value + Eac3BitstreamModeEmergency = "EMERGENCY" + + // Eac3BitstreamModeHearingImpaired is a Eac3BitstreamMode enum value + Eac3BitstreamModeHearingImpaired = "HEARING_IMPAIRED" + + // Eac3BitstreamModeVisuallyImpaired is a Eac3BitstreamMode enum value + Eac3BitstreamModeVisuallyImpaired = "VISUALLY_IMPAIRED" +) + +const ( + // Eac3CodingModeCodingMode10 is a Eac3CodingMode enum value + Eac3CodingModeCodingMode10 = "CODING_MODE_1_0" + + // Eac3CodingModeCodingMode20 is a Eac3CodingMode enum value + Eac3CodingModeCodingMode20 = "CODING_MODE_2_0" + + // Eac3CodingModeCodingMode32 is a Eac3CodingMode enum value + Eac3CodingModeCodingMode32 = "CODING_MODE_3_2" +) + +const ( + // Eac3DcFilterDisabled is a Eac3DcFilter enum value + Eac3DcFilterDisabled = "DISABLED" + + // Eac3DcFilterEnabled is a Eac3DcFilter enum value + Eac3DcFilterEnabled = "ENABLED" +) + +const ( + // Eac3DrcLineFilmLight is a Eac3DrcLine enum value + Eac3DrcLineFilmLight = "FILM_LIGHT" + + // Eac3DrcLineFilmStandard is a Eac3DrcLine enum value + Eac3DrcLineFilmStandard = "FILM_STANDARD" + + // Eac3DrcLineMusicLight is a Eac3DrcLine enum value + Eac3DrcLineMusicLight = "MUSIC_LIGHT" + + // Eac3DrcLineMusicStandard is a Eac3DrcLine enum value + Eac3DrcLineMusicStandard = "MUSIC_STANDARD" + + // Eac3DrcLineNone is a Eac3DrcLine enum value + Eac3DrcLineNone = "NONE" + + // Eac3DrcLineSpeech is a Eac3DrcLine enum value + Eac3DrcLineSpeech = "SPEECH" +) + +const ( + // Eac3DrcRfFilmLight is a Eac3DrcRf enum value + Eac3DrcRfFilmLight = "FILM_LIGHT" + + // Eac3DrcRfFilmStandard is a Eac3DrcRf enum value + Eac3DrcRfFilmStandard = "FILM_STANDARD" + + // Eac3DrcRfMusicLight is a Eac3DrcRf enum value + Eac3DrcRfMusicLight = "MUSIC_LIGHT" + + // Eac3DrcRfMusicStandard is a Eac3DrcRf enum value + Eac3DrcRfMusicStandard = "MUSIC_STANDARD" + + // Eac3DrcRfNone is a Eac3DrcRf enum value + Eac3DrcRfNone = "NONE" + + // Eac3DrcRfSpeech is a Eac3DrcRf enum value + Eac3DrcRfSpeech = "SPEECH" +) + +const ( + // Eac3LfeControlLfe is a Eac3LfeControl enum value + Eac3LfeControlLfe = "LFE" + + // Eac3LfeControlNoLfe is a Eac3LfeControl enum value + Eac3LfeControlNoLfe = "NO_LFE" +) + +const ( + // Eac3LfeFilterDisabled is a Eac3LfeFilter enum value + Eac3LfeFilterDisabled = "DISABLED" + + // Eac3LfeFilterEnabled is a Eac3LfeFilter enum value + Eac3LfeFilterEnabled = "ENABLED" +) + +const ( + // Eac3MetadataControlFollowInput is a Eac3MetadataControl enum value + Eac3MetadataControlFollowInput = "FOLLOW_INPUT" + + // Eac3MetadataControlUseConfigured is a Eac3MetadataControl enum value + Eac3MetadataControlUseConfigured = "USE_CONFIGURED" +) + +const ( + // Eac3PassthroughControlNoPassthrough is a Eac3PassthroughControl enum value + Eac3PassthroughControlNoPassthrough = "NO_PASSTHROUGH" + + // Eac3PassthroughControlWhenPossible is a Eac3PassthroughControl enum value + Eac3PassthroughControlWhenPossible = "WHEN_POSSIBLE" +) + +const ( + // Eac3PhaseControlNoShift is a Eac3PhaseControl enum value + Eac3PhaseControlNoShift = "NO_SHIFT" + + // Eac3PhaseControlShift90Degrees is a Eac3PhaseControl enum value + Eac3PhaseControlShift90Degrees = "SHIFT_90_DEGREES" +) + +const ( + // Eac3StereoDownmixDpl2 is a Eac3StereoDownmix enum value + Eac3StereoDownmixDpl2 = "DPL2" + + // Eac3StereoDownmixLoRo is a Eac3StereoDownmix enum value + Eac3StereoDownmixLoRo = "LO_RO" + + // Eac3StereoDownmixLtRt is a Eac3StereoDownmix enum value + Eac3StereoDownmixLtRt = "LT_RT" + + // Eac3StereoDownmixNotIndicated is a Eac3StereoDownmix enum value + Eac3StereoDownmixNotIndicated = "NOT_INDICATED" +) + +const ( + // Eac3SurroundExModeDisabled is a Eac3SurroundExMode enum value + Eac3SurroundExModeDisabled = "DISABLED" + + // Eac3SurroundExModeEnabled is a Eac3SurroundExMode enum value + Eac3SurroundExModeEnabled = "ENABLED" + + // Eac3SurroundExModeNotIndicated is a Eac3SurroundExMode enum value + Eac3SurroundExModeNotIndicated = "NOT_INDICATED" +) + +const ( + // Eac3SurroundModeDisabled is a Eac3SurroundMode enum value + Eac3SurroundModeDisabled = "DISABLED" + + // Eac3SurroundModeEnabled is a Eac3SurroundMode enum value + Eac3SurroundModeEnabled = "ENABLED" + + // Eac3SurroundModeNotIndicated is a Eac3SurroundMode enum value + Eac3SurroundModeNotIndicated = "NOT_INDICATED" +) + +const ( + // EmbeddedConvert608To708Disabled is a EmbeddedConvert608To708 enum value + EmbeddedConvert608To708Disabled = "DISABLED" + + // EmbeddedConvert608To708Upconvert is a EmbeddedConvert608To708 enum value + EmbeddedConvert608To708Upconvert = "UPCONVERT" +) + +const ( + // EmbeddedScte20DetectionAuto is a EmbeddedScte20Detection enum value + EmbeddedScte20DetectionAuto = "AUTO" + + // EmbeddedScte20DetectionOff is a EmbeddedScte20Detection enum value + EmbeddedScte20DetectionOff = "OFF" +) + +const ( + // FecOutputIncludeFecColumn is a FecOutputIncludeFec enum value + FecOutputIncludeFecColumn = "COLUMN" + + // FecOutputIncludeFecColumnAndRow is a FecOutputIncludeFec enum value + FecOutputIncludeFecColumnAndRow = "COLUMN_AND_ROW" +) + +const ( + // FixedAfdAfd0000 is a FixedAfd enum value + FixedAfdAfd0000 = "AFD_0000" + + // FixedAfdAfd0010 is a FixedAfd enum value + FixedAfdAfd0010 = "AFD_0010" + + // FixedAfdAfd0011 is a FixedAfd enum value + FixedAfdAfd0011 = "AFD_0011" + + // FixedAfdAfd0100 is a FixedAfd enum value + FixedAfdAfd0100 = "AFD_0100" + + // FixedAfdAfd1000 is a FixedAfd enum value + FixedAfdAfd1000 = "AFD_1000" + + // FixedAfdAfd1001 is a FixedAfd enum value + FixedAfdAfd1001 = "AFD_1001" + + // FixedAfdAfd1010 is a FixedAfd enum value + FixedAfdAfd1010 = "AFD_1010" + + // FixedAfdAfd1011 is a FixedAfd enum value + FixedAfdAfd1011 = "AFD_1011" + + // FixedAfdAfd1101 is a FixedAfd enum value + FixedAfdAfd1101 = "AFD_1101" + + // FixedAfdAfd1110 is a FixedAfd enum value + FixedAfdAfd1110 = "AFD_1110" + + // FixedAfdAfd1111 is a FixedAfd enum value + FixedAfdAfd1111 = "AFD_1111" +) + +const ( + // GlobalConfigurationInputEndActionNone is a GlobalConfigurationInputEndAction enum value + GlobalConfigurationInputEndActionNone = "NONE" + + // GlobalConfigurationInputEndActionSwitchAndLoopInputs is a GlobalConfigurationInputEndAction enum value + GlobalConfigurationInputEndActionSwitchAndLoopInputs = "SWITCH_AND_LOOP_INPUTS" +) + +const ( + // GlobalConfigurationLowFramerateInputsDisabled is a GlobalConfigurationLowFramerateInputs enum value + GlobalConfigurationLowFramerateInputsDisabled = "DISABLED" + + // GlobalConfigurationLowFramerateInputsEnabled is a GlobalConfigurationLowFramerateInputs enum value + GlobalConfigurationLowFramerateInputsEnabled = "ENABLED" +) + +const ( + // GlobalConfigurationOutputTimingSourceInputClock is a GlobalConfigurationOutputTimingSource enum value + GlobalConfigurationOutputTimingSourceInputClock = "INPUT_CLOCK" + + // GlobalConfigurationOutputTimingSourceSystemClock is a GlobalConfigurationOutputTimingSource enum value + GlobalConfigurationOutputTimingSourceSystemClock = "SYSTEM_CLOCK" +) + +const ( + // H264AdaptiveQuantizationHigh is a H264AdaptiveQuantization enum value + H264AdaptiveQuantizationHigh = "HIGH" + + // H264AdaptiveQuantizationHigher is a H264AdaptiveQuantization enum value + H264AdaptiveQuantizationHigher = "HIGHER" + + // H264AdaptiveQuantizationLow is a H264AdaptiveQuantization enum value + H264AdaptiveQuantizationLow = "LOW" + + // H264AdaptiveQuantizationMax is a H264AdaptiveQuantization enum value + H264AdaptiveQuantizationMax = "MAX" + + // H264AdaptiveQuantizationMedium is a H264AdaptiveQuantization enum value + H264AdaptiveQuantizationMedium = "MEDIUM" + + // H264AdaptiveQuantizationOff is a H264AdaptiveQuantization enum value + H264AdaptiveQuantizationOff = "OFF" +) + +const ( + // H264ColorMetadataIgnore is a H264ColorMetadata enum value + H264ColorMetadataIgnore = "IGNORE" + + // H264ColorMetadataInsert is a H264ColorMetadata enum value + H264ColorMetadataInsert = "INSERT" +) + +const ( + // H264EntropyEncodingCabac is a H264EntropyEncoding enum value + H264EntropyEncodingCabac = "CABAC" + + // H264EntropyEncodingCavlc is a H264EntropyEncoding enum value + H264EntropyEncodingCavlc = "CAVLC" +) + +const ( + // H264FlickerAqDisabled is a H264FlickerAq enum value + H264FlickerAqDisabled = "DISABLED" + + // H264FlickerAqEnabled is a H264FlickerAq enum value + H264FlickerAqEnabled = "ENABLED" +) + +const ( + // H264FramerateControlInitializeFromSource is a H264FramerateControl enum value + H264FramerateControlInitializeFromSource = "INITIALIZE_FROM_SOURCE" + + // H264FramerateControlSpecified is a H264FramerateControl enum value + H264FramerateControlSpecified = "SPECIFIED" +) + +const ( + // H264GopBReferenceDisabled is a H264GopBReference enum value + H264GopBReferenceDisabled = "DISABLED" + + // H264GopBReferenceEnabled is a H264GopBReference enum value + H264GopBReferenceEnabled = "ENABLED" +) + +const ( + // H264GopSizeUnitsFrames is a H264GopSizeUnits enum value + H264GopSizeUnitsFrames = "FRAMES" + + // H264GopSizeUnitsSeconds is a H264GopSizeUnits enum value + H264GopSizeUnitsSeconds = "SECONDS" +) + +const ( + // H264LevelH264Level1 is a H264Level enum value + H264LevelH264Level1 = "H264_LEVEL_1" + + // H264LevelH264Level11 is a H264Level enum value + H264LevelH264Level11 = "H264_LEVEL_1_1" + + // H264LevelH264Level12 is a H264Level enum value + H264LevelH264Level12 = "H264_LEVEL_1_2" + + // H264LevelH264Level13 is a H264Level enum value + H264LevelH264Level13 = "H264_LEVEL_1_3" + + // H264LevelH264Level2 is a H264Level enum value + H264LevelH264Level2 = "H264_LEVEL_2" + + // H264LevelH264Level21 is a H264Level enum value + H264LevelH264Level21 = "H264_LEVEL_2_1" + + // H264LevelH264Level22 is a H264Level enum value + H264LevelH264Level22 = "H264_LEVEL_2_2" + + // H264LevelH264Level3 is a H264Level enum value + H264LevelH264Level3 = "H264_LEVEL_3" + + // H264LevelH264Level31 is a H264Level enum value + H264LevelH264Level31 = "H264_LEVEL_3_1" + + // H264LevelH264Level32 is a H264Level enum value + H264LevelH264Level32 = "H264_LEVEL_3_2" + + // H264LevelH264Level4 is a H264Level enum value + H264LevelH264Level4 = "H264_LEVEL_4" + + // H264LevelH264Level41 is a H264Level enum value + H264LevelH264Level41 = "H264_LEVEL_4_1" + + // H264LevelH264Level42 is a H264Level enum value + H264LevelH264Level42 = "H264_LEVEL_4_2" + + // H264LevelH264Level5 is a H264Level enum value + H264LevelH264Level5 = "H264_LEVEL_5" + + // H264LevelH264Level51 is a H264Level enum value + H264LevelH264Level51 = "H264_LEVEL_5_1" + + // H264LevelH264Level52 is a H264Level enum value + H264LevelH264Level52 = "H264_LEVEL_5_2" + + // H264LevelH264LevelAuto is a H264Level enum value + H264LevelH264LevelAuto = "H264_LEVEL_AUTO" +) + +const ( + // H264LookAheadRateControlHigh is a H264LookAheadRateControl enum value + H264LookAheadRateControlHigh = "HIGH" + + // H264LookAheadRateControlLow is a H264LookAheadRateControl enum value + H264LookAheadRateControlLow = "LOW" + + // H264LookAheadRateControlMedium is a H264LookAheadRateControl enum value + H264LookAheadRateControlMedium = "MEDIUM" +) + +const ( + // H264ParControlInitializeFromSource is a H264ParControl enum value + H264ParControlInitializeFromSource = "INITIALIZE_FROM_SOURCE" + + // H264ParControlSpecified is a H264ParControl enum value + H264ParControlSpecified = "SPECIFIED" +) + +const ( + // H264ProfileBaseline is a H264Profile enum value + H264ProfileBaseline = "BASELINE" + + // H264ProfileHigh is a H264Profile enum value + H264ProfileHigh = "HIGH" + + // H264ProfileHigh10bit is a H264Profile enum value + H264ProfileHigh10bit = "HIGH_10BIT" + + // H264ProfileHigh422 is a H264Profile enum value + H264ProfileHigh422 = "HIGH_422" + + // H264ProfileHigh42210bit is a H264Profile enum value + H264ProfileHigh42210bit = "HIGH_422_10BIT" + + // H264ProfileMain is a H264Profile enum value + H264ProfileMain = "MAIN" +) + +const ( + // H264RateControlModeCbr is a H264RateControlMode enum value + H264RateControlModeCbr = "CBR" + + // H264RateControlModeVbr is a H264RateControlMode enum value + H264RateControlModeVbr = "VBR" +) + +const ( + // H264ScanTypeInterlaced is a H264ScanType enum value + H264ScanTypeInterlaced = "INTERLACED" + + // H264ScanTypeProgressive is a H264ScanType enum value + H264ScanTypeProgressive = "PROGRESSIVE" +) + +const ( + // H264SceneChangeDetectDisabled is a H264SceneChangeDetect enum value + H264SceneChangeDetectDisabled = "DISABLED" + + // H264SceneChangeDetectEnabled is a H264SceneChangeDetect enum value + H264SceneChangeDetectEnabled = "ENABLED" +) + +const ( + // H264SpatialAqDisabled is a H264SpatialAq enum value + H264SpatialAqDisabled = "DISABLED" + + // H264SpatialAqEnabled is a H264SpatialAq enum value + H264SpatialAqEnabled = "ENABLED" +) + +const ( + // H264SyntaxDefault is a H264Syntax enum value + H264SyntaxDefault = "DEFAULT" + + // H264SyntaxRp2027 is a H264Syntax enum value + H264SyntaxRp2027 = "RP2027" +) + +const ( + // H264TemporalAqDisabled is a H264TemporalAq enum value + H264TemporalAqDisabled = "DISABLED" + + // H264TemporalAqEnabled is a H264TemporalAq enum value + H264TemporalAqEnabled = "ENABLED" +) + +const ( + // H264TimecodeInsertionBehaviorDisabled is a H264TimecodeInsertionBehavior enum value + H264TimecodeInsertionBehaviorDisabled = "DISABLED" + + // H264TimecodeInsertionBehaviorPicTimingSei is a H264TimecodeInsertionBehavior enum value + H264TimecodeInsertionBehaviorPicTimingSei = "PIC_TIMING_SEI" +) + +const ( + // HlsAdMarkersAdobe is a HlsAdMarkers enum value + HlsAdMarkersAdobe = "ADOBE" + + // HlsAdMarkersElemental is a HlsAdMarkers enum value + HlsAdMarkersElemental = "ELEMENTAL" + + // HlsAdMarkersElementalScte35 is a HlsAdMarkers enum value + HlsAdMarkersElementalScte35 = "ELEMENTAL_SCTE35" +) + +const ( + // HlsAkamaiHttpTransferModeChunked is a HlsAkamaiHttpTransferMode enum value + HlsAkamaiHttpTransferModeChunked = "CHUNKED" + + // HlsAkamaiHttpTransferModeNonChunked is a HlsAkamaiHttpTransferMode enum value + HlsAkamaiHttpTransferModeNonChunked = "NON_CHUNKED" +) + +const ( + // HlsCaptionLanguageSettingInsert is a HlsCaptionLanguageSetting enum value + HlsCaptionLanguageSettingInsert = "INSERT" + + // HlsCaptionLanguageSettingNone is a HlsCaptionLanguageSetting enum value + HlsCaptionLanguageSettingNone = "NONE" + + // HlsCaptionLanguageSettingOmit is a HlsCaptionLanguageSetting enum value + HlsCaptionLanguageSettingOmit = "OMIT" +) + +const ( + // HlsClientCacheDisabled is a HlsClientCache enum value + HlsClientCacheDisabled = "DISABLED" + + // HlsClientCacheEnabled is a HlsClientCache enum value + HlsClientCacheEnabled = "ENABLED" +) + +const ( + // HlsCodecSpecificationRfc4281 is a HlsCodecSpecification enum value + HlsCodecSpecificationRfc4281 = "RFC_4281" + + // HlsCodecSpecificationRfc6381 is a HlsCodecSpecification enum value + HlsCodecSpecificationRfc6381 = "RFC_6381" +) + +const ( + // HlsDirectoryStructureSingleDirectory is a HlsDirectoryStructure enum value + HlsDirectoryStructureSingleDirectory = "SINGLE_DIRECTORY" + + // HlsDirectoryStructureSubdirectoryPerStream is a HlsDirectoryStructure enum value + HlsDirectoryStructureSubdirectoryPerStream = "SUBDIRECTORY_PER_STREAM" +) + +const ( + // HlsEncryptionTypeAes128 is a HlsEncryptionType enum value + HlsEncryptionTypeAes128 = "AES128" + + // HlsEncryptionTypeSampleAes is a HlsEncryptionType enum value + HlsEncryptionTypeSampleAes = "SAMPLE_AES" +) + +const ( + // HlsIvInManifestExclude is a HlsIvInManifest enum value + HlsIvInManifestExclude = "EXCLUDE" + + // HlsIvInManifestInclude is a HlsIvInManifest enum value + HlsIvInManifestInclude = "INCLUDE" +) + +const ( + // HlsIvSourceExplicit is a HlsIvSource enum value + HlsIvSourceExplicit = "EXPLICIT" + + // HlsIvSourceFollowsSegmentNumber is a HlsIvSource enum value + HlsIvSourceFollowsSegmentNumber = "FOLLOWS_SEGMENT_NUMBER" +) + +const ( + // HlsManifestCompressionGzip is a HlsManifestCompression enum value + HlsManifestCompressionGzip = "GZIP" + + // HlsManifestCompressionNone is a HlsManifestCompression enum value + HlsManifestCompressionNone = "NONE" +) + +const ( + // HlsManifestDurationFormatFloatingPoint is a HlsManifestDurationFormat enum value + HlsManifestDurationFormatFloatingPoint = "FLOATING_POINT" + + // HlsManifestDurationFormatInteger is a HlsManifestDurationFormat enum value + HlsManifestDurationFormatInteger = "INTEGER" +) + +const ( + // HlsMediaStoreStorageClassTemporal is a HlsMediaStoreStorageClass enum value + HlsMediaStoreStorageClassTemporal = "TEMPORAL" +) + +const ( + // HlsModeLive is a HlsMode enum value + HlsModeLive = "LIVE" + + // HlsModeVod is a HlsMode enum value + HlsModeVod = "VOD" +) + +const ( + // HlsOutputSelectionManifestsAndSegments is a HlsOutputSelection enum value + HlsOutputSelectionManifestsAndSegments = "MANIFESTS_AND_SEGMENTS" + + // HlsOutputSelectionSegmentsOnly is a HlsOutputSelection enum value + HlsOutputSelectionSegmentsOnly = "SEGMENTS_ONLY" +) + +const ( + // HlsProgramDateTimeExclude is a HlsProgramDateTime enum value + HlsProgramDateTimeExclude = "EXCLUDE" + + // HlsProgramDateTimeInclude is a HlsProgramDateTime enum value + HlsProgramDateTimeInclude = "INCLUDE" +) + +const ( + // HlsSegmentationModeUseInputSegmentation is a HlsSegmentationMode enum value + HlsSegmentationModeUseInputSegmentation = "USE_INPUT_SEGMENTATION" + + // HlsSegmentationModeUseSegmentDuration is a HlsSegmentationMode enum value + HlsSegmentationModeUseSegmentDuration = "USE_SEGMENT_DURATION" +) + +const ( + // HlsStreamInfResolutionExclude is a HlsStreamInfResolution enum value + HlsStreamInfResolutionExclude = "EXCLUDE" + + // HlsStreamInfResolutionInclude is a HlsStreamInfResolution enum value + HlsStreamInfResolutionInclude = "INCLUDE" +) + +const ( + // HlsTimedMetadataId3FrameNone is a HlsTimedMetadataId3Frame enum value + HlsTimedMetadataId3FrameNone = "NONE" + + // HlsTimedMetadataId3FramePriv is a HlsTimedMetadataId3Frame enum value + HlsTimedMetadataId3FramePriv = "PRIV" + + // HlsTimedMetadataId3FrameTdrl is a HlsTimedMetadataId3Frame enum value + HlsTimedMetadataId3FrameTdrl = "TDRL" +) + +const ( + // HlsTsFileModeSegmentedFiles is a HlsTsFileMode enum value + HlsTsFileModeSegmentedFiles = "SEGMENTED_FILES" + + // HlsTsFileModeSingleFile is a HlsTsFileMode enum value + HlsTsFileModeSingleFile = "SINGLE_FILE" +) + +const ( + // HlsWebdavHttpTransferModeChunked is a HlsWebdavHttpTransferMode enum value + HlsWebdavHttpTransferModeChunked = "CHUNKED" + + // HlsWebdavHttpTransferModeNonChunked is a HlsWebdavHttpTransferMode enum value + HlsWebdavHttpTransferModeNonChunked = "NON_CHUNKED" +) + +const ( + // InputDeblockFilterDisabled is a InputDeblockFilter enum value + InputDeblockFilterDisabled = "DISABLED" + + // InputDeblockFilterEnabled is a InputDeblockFilter enum value + InputDeblockFilterEnabled = "ENABLED" +) + +const ( + // InputDenoiseFilterDisabled is a InputDenoiseFilter enum value + InputDenoiseFilterDisabled = "DISABLED" + + // InputDenoiseFilterEnabled is a InputDenoiseFilter enum value + InputDenoiseFilterEnabled = "ENABLED" +) + +const ( + // InputFilterAuto is a InputFilter enum value + InputFilterAuto = "AUTO" + + // InputFilterDisabled is a InputFilter enum value + InputFilterDisabled = "DISABLED" + + // InputFilterForced is a InputFilter enum value + InputFilterForced = "FORCED" +) + +const ( + // InputLossActionForHlsOutEmitOutput is a InputLossActionForHlsOut enum value + InputLossActionForHlsOutEmitOutput = "EMIT_OUTPUT" + + // InputLossActionForHlsOutPauseOutput is a InputLossActionForHlsOut enum value + InputLossActionForHlsOutPauseOutput = "PAUSE_OUTPUT" +) + +const ( + // InputLossActionForMsSmoothOutEmitOutput is a InputLossActionForMsSmoothOut enum value + InputLossActionForMsSmoothOutEmitOutput = "EMIT_OUTPUT" + + // InputLossActionForMsSmoothOutPauseOutput is a InputLossActionForMsSmoothOut enum value + InputLossActionForMsSmoothOutPauseOutput = "PAUSE_OUTPUT" +) + +const ( + // InputLossActionForUdpOutDropProgram is a InputLossActionForUdpOut enum value + InputLossActionForUdpOutDropProgram = "DROP_PROGRAM" + + // InputLossActionForUdpOutDropTs is a InputLossActionForUdpOut enum value + InputLossActionForUdpOutDropTs = "DROP_TS" + + // InputLossActionForUdpOutEmitProgram is a InputLossActionForUdpOut enum value + InputLossActionForUdpOutEmitProgram = "EMIT_PROGRAM" +) + +const ( + // InputLossImageTypeColor is a InputLossImageType enum value + InputLossImageTypeColor = "COLOR" + + // InputLossImageTypeSlate is a InputLossImageType enum value + InputLossImageTypeSlate = "SLATE" +) + +const ( + // InputSourceEndBehaviorContinue is a InputSourceEndBehavior enum value + InputSourceEndBehaviorContinue = "CONTINUE" + + // InputSourceEndBehaviorLoop is a InputSourceEndBehavior enum value + InputSourceEndBehaviorLoop = "LOOP" +) + +const ( + // InputStateCreating is a InputState enum value + InputStateCreating = "CREATING" + + // InputStateDetached is a InputState enum value + InputStateDetached = "DETACHED" + + // InputStateAttached is a InputState enum value + InputStateAttached = "ATTACHED" + + // InputStateDeleting is a InputState enum value + InputStateDeleting = "DELETING" + + // InputStateDeleted is a InputState enum value + InputStateDeleted = "DELETED" +) + +const ( + // InputTypeUdpPush is a InputType enum value + InputTypeUdpPush = "UDP_PUSH" + + // InputTypeRtpPush is a InputType enum value + InputTypeRtpPush = "RTP_PUSH" + + // InputTypeRtmpPush is a InputType enum value + InputTypeRtmpPush = "RTMP_PUSH" + + // InputTypeRtmpPull is a InputType enum value + InputTypeRtmpPull = "RTMP_PULL" + + // InputTypeUrlPull is a InputType enum value + InputTypeUrlPull = "URL_PULL" +) + +const ( + // M2tsAbsentInputAudioBehaviorDrop is a M2tsAbsentInputAudioBehavior enum value + M2tsAbsentInputAudioBehaviorDrop = "DROP" + + // M2tsAbsentInputAudioBehaviorEncodeSilence is a M2tsAbsentInputAudioBehavior enum value + M2tsAbsentInputAudioBehaviorEncodeSilence = "ENCODE_SILENCE" +) + +const ( + // M2tsAribDisabled is a M2tsArib enum value + M2tsAribDisabled = "DISABLED" + + // M2tsAribEnabled is a M2tsArib enum value + M2tsAribEnabled = "ENABLED" +) + +const ( + // M2tsAribCaptionsPidControlAuto is a M2tsAribCaptionsPidControl enum value + M2tsAribCaptionsPidControlAuto = "AUTO" + + // M2tsAribCaptionsPidControlUseConfigured is a M2tsAribCaptionsPidControl enum value + M2tsAribCaptionsPidControlUseConfigured = "USE_CONFIGURED" +) + +const ( + // M2tsAudioBufferModelAtsc is a M2tsAudioBufferModel enum value + M2tsAudioBufferModelAtsc = "ATSC" + + // M2tsAudioBufferModelDvb is a M2tsAudioBufferModel enum value + M2tsAudioBufferModelDvb = "DVB" +) + +const ( + // M2tsAudioIntervalVideoAndFixedIntervals is a M2tsAudioInterval enum value + M2tsAudioIntervalVideoAndFixedIntervals = "VIDEO_AND_FIXED_INTERVALS" + + // M2tsAudioIntervalVideoInterval is a M2tsAudioInterval enum value + M2tsAudioIntervalVideoInterval = "VIDEO_INTERVAL" +) + +const ( + // M2tsAudioStreamTypeAtsc is a M2tsAudioStreamType enum value + M2tsAudioStreamTypeAtsc = "ATSC" + + // M2tsAudioStreamTypeDvb is a M2tsAudioStreamType enum value + M2tsAudioStreamTypeDvb = "DVB" +) + +const ( + // M2tsBufferModelMultiplex is a M2tsBufferModel enum value + M2tsBufferModelMultiplex = "MULTIPLEX" + + // M2tsBufferModelNone is a M2tsBufferModel enum value + M2tsBufferModelNone = "NONE" +) + +const ( + // M2tsCcDescriptorDisabled is a M2tsCcDescriptor enum value + M2tsCcDescriptorDisabled = "DISABLED" + + // M2tsCcDescriptorEnabled is a M2tsCcDescriptor enum value + M2tsCcDescriptorEnabled = "ENABLED" +) + +const ( + // M2tsEbifControlNone is a M2tsEbifControl enum value + M2tsEbifControlNone = "NONE" + + // M2tsEbifControlPassthrough is a M2tsEbifControl enum value + M2tsEbifControlPassthrough = "PASSTHROUGH" +) + +const ( + // M2tsEbpPlacementVideoAndAudioPids is a M2tsEbpPlacement enum value + M2tsEbpPlacementVideoAndAudioPids = "VIDEO_AND_AUDIO_PIDS" + + // M2tsEbpPlacementVideoPid is a M2tsEbpPlacement enum value + M2tsEbpPlacementVideoPid = "VIDEO_PID" +) + +const ( + // M2tsEsRateInPesExclude is a M2tsEsRateInPes enum value + M2tsEsRateInPesExclude = "EXCLUDE" + + // M2tsEsRateInPesInclude is a M2tsEsRateInPes enum value + M2tsEsRateInPesInclude = "INCLUDE" +) + +const ( + // M2tsKlvNone is a M2tsKlv enum value + M2tsKlvNone = "NONE" + + // M2tsKlvPassthrough is a M2tsKlv enum value + M2tsKlvPassthrough = "PASSTHROUGH" +) + +const ( + // M2tsPcrControlConfiguredPcrPeriod is a M2tsPcrControl enum value + M2tsPcrControlConfiguredPcrPeriod = "CONFIGURED_PCR_PERIOD" + + // M2tsPcrControlPcrEveryPesPacket is a M2tsPcrControl enum value + M2tsPcrControlPcrEveryPesPacket = "PCR_EVERY_PES_PACKET" +) + +const ( + // M2tsRateModeCbr is a M2tsRateMode enum value + M2tsRateModeCbr = "CBR" + + // M2tsRateModeVbr is a M2tsRateMode enum value + M2tsRateModeVbr = "VBR" +) + +const ( + // M2tsScte35ControlNone is a M2tsScte35Control enum value + M2tsScte35ControlNone = "NONE" + + // M2tsScte35ControlPassthrough is a M2tsScte35Control enum value + M2tsScte35ControlPassthrough = "PASSTHROUGH" +) + +const ( + // M2tsSegmentationMarkersEbp is a M2tsSegmentationMarkers enum value + M2tsSegmentationMarkersEbp = "EBP" + + // M2tsSegmentationMarkersEbpLegacy is a M2tsSegmentationMarkers enum value + M2tsSegmentationMarkersEbpLegacy = "EBP_LEGACY" + + // M2tsSegmentationMarkersNone is a M2tsSegmentationMarkers enum value + M2tsSegmentationMarkersNone = "NONE" + + // M2tsSegmentationMarkersPsiSegstart is a M2tsSegmentationMarkers enum value + M2tsSegmentationMarkersPsiSegstart = "PSI_SEGSTART" + + // M2tsSegmentationMarkersRaiAdapt is a M2tsSegmentationMarkers enum value + M2tsSegmentationMarkersRaiAdapt = "RAI_ADAPT" + + // M2tsSegmentationMarkersRaiSegstart is a M2tsSegmentationMarkers enum value + M2tsSegmentationMarkersRaiSegstart = "RAI_SEGSTART" +) + +const ( + // M2tsSegmentationStyleMaintainCadence is a M2tsSegmentationStyle enum value + M2tsSegmentationStyleMaintainCadence = "MAINTAIN_CADENCE" + + // M2tsSegmentationStyleResetCadence is a M2tsSegmentationStyle enum value + M2tsSegmentationStyleResetCadence = "RESET_CADENCE" +) + +const ( + // M2tsTimedMetadataBehaviorNoPassthrough is a M2tsTimedMetadataBehavior enum value + M2tsTimedMetadataBehaviorNoPassthrough = "NO_PASSTHROUGH" + + // M2tsTimedMetadataBehaviorPassthrough is a M2tsTimedMetadataBehavior enum value + M2tsTimedMetadataBehaviorPassthrough = "PASSTHROUGH" +) + +const ( + // M3u8PcrControlConfiguredPcrPeriod is a M3u8PcrControl enum value + M3u8PcrControlConfiguredPcrPeriod = "CONFIGURED_PCR_PERIOD" + + // M3u8PcrControlPcrEveryPesPacket is a M3u8PcrControl enum value + M3u8PcrControlPcrEveryPesPacket = "PCR_EVERY_PES_PACKET" +) + +const ( + // M3u8Scte35BehaviorNoPassthrough is a M3u8Scte35Behavior enum value + M3u8Scte35BehaviorNoPassthrough = "NO_PASSTHROUGH" + + // M3u8Scte35BehaviorPassthrough is a M3u8Scte35Behavior enum value + M3u8Scte35BehaviorPassthrough = "PASSTHROUGH" +) + +const ( + // M3u8TimedMetadataBehaviorNoPassthrough is a M3u8TimedMetadataBehavior enum value + M3u8TimedMetadataBehaviorNoPassthrough = "NO_PASSTHROUGH" + + // M3u8TimedMetadataBehaviorPassthrough is a M3u8TimedMetadataBehavior enum value + M3u8TimedMetadataBehaviorPassthrough = "PASSTHROUGH" +) + +const ( + // Mp2CodingModeCodingMode10 is a Mp2CodingMode enum value + Mp2CodingModeCodingMode10 = "CODING_MODE_1_0" + + // Mp2CodingModeCodingMode20 is a Mp2CodingMode enum value + Mp2CodingModeCodingMode20 = "CODING_MODE_2_0" +) + +const ( + // NetworkInputServerValidationCheckCryptographyAndValidateName is a NetworkInputServerValidation enum value + NetworkInputServerValidationCheckCryptographyAndValidateName = "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME" + + // NetworkInputServerValidationCheckCryptographyOnly is a NetworkInputServerValidation enum value + NetworkInputServerValidationCheckCryptographyOnly = "CHECK_CRYPTOGRAPHY_ONLY" +) + +const ( + // Scte20Convert608To708Disabled is a Scte20Convert608To708 enum value + Scte20Convert608To708Disabled = "DISABLED" + + // Scte20Convert608To708Upconvert is a Scte20Convert608To708 enum value + Scte20Convert608To708Upconvert = "UPCONVERT" +) + +const ( + // Scte35AposNoRegionalBlackoutBehaviorFollow is a Scte35AposNoRegionalBlackoutBehavior enum value + Scte35AposNoRegionalBlackoutBehaviorFollow = "FOLLOW" + + // Scte35AposNoRegionalBlackoutBehaviorIgnore is a Scte35AposNoRegionalBlackoutBehavior enum value + Scte35AposNoRegionalBlackoutBehaviorIgnore = "IGNORE" +) + +const ( + // Scte35AposWebDeliveryAllowedBehaviorFollow is a Scte35AposWebDeliveryAllowedBehavior enum value + Scte35AposWebDeliveryAllowedBehaviorFollow = "FOLLOW" + + // Scte35AposWebDeliveryAllowedBehaviorIgnore is a Scte35AposWebDeliveryAllowedBehavior enum value + Scte35AposWebDeliveryAllowedBehaviorIgnore = "IGNORE" +) + +const ( + // Scte35SpliceInsertNoRegionalBlackoutBehaviorFollow is a Scte35SpliceInsertNoRegionalBlackoutBehavior enum value + Scte35SpliceInsertNoRegionalBlackoutBehaviorFollow = "FOLLOW" + + // Scte35SpliceInsertNoRegionalBlackoutBehaviorIgnore is a Scte35SpliceInsertNoRegionalBlackoutBehavior enum value + Scte35SpliceInsertNoRegionalBlackoutBehaviorIgnore = "IGNORE" +) + +const ( + // Scte35SpliceInsertWebDeliveryAllowedBehaviorFollow is a Scte35SpliceInsertWebDeliveryAllowedBehavior enum value + Scte35SpliceInsertWebDeliveryAllowedBehaviorFollow = "FOLLOW" + + // Scte35SpliceInsertWebDeliveryAllowedBehaviorIgnore is a Scte35SpliceInsertWebDeliveryAllowedBehavior enum value + Scte35SpliceInsertWebDeliveryAllowedBehaviorIgnore = "IGNORE" +) + +const ( + // SmoothGroupAudioOnlyTimecodeControlPassthrough is a SmoothGroupAudioOnlyTimecodeControl enum value + SmoothGroupAudioOnlyTimecodeControlPassthrough = "PASSTHROUGH" + + // SmoothGroupAudioOnlyTimecodeControlUseConfiguredClock is a SmoothGroupAudioOnlyTimecodeControl enum value + SmoothGroupAudioOnlyTimecodeControlUseConfiguredClock = "USE_CONFIGURED_CLOCK" +) + +const ( + // SmoothGroupCertificateModeSelfSigned is a SmoothGroupCertificateMode enum value + SmoothGroupCertificateModeSelfSigned = "SELF_SIGNED" + + // SmoothGroupCertificateModeVerifyAuthenticity is a SmoothGroupCertificateMode enum value + SmoothGroupCertificateModeVerifyAuthenticity = "VERIFY_AUTHENTICITY" +) + +const ( + // SmoothGroupEventIdModeNoEventId is a SmoothGroupEventIdMode enum value + SmoothGroupEventIdModeNoEventId = "NO_EVENT_ID" + + // SmoothGroupEventIdModeUseConfigured is a SmoothGroupEventIdMode enum value + SmoothGroupEventIdModeUseConfigured = "USE_CONFIGURED" + + // SmoothGroupEventIdModeUseTimestamp is a SmoothGroupEventIdMode enum value + SmoothGroupEventIdModeUseTimestamp = "USE_TIMESTAMP" +) + +const ( + // SmoothGroupEventStopBehaviorNone is a SmoothGroupEventStopBehavior enum value + SmoothGroupEventStopBehaviorNone = "NONE" + + // SmoothGroupEventStopBehaviorSendEos is a SmoothGroupEventStopBehavior enum value + SmoothGroupEventStopBehaviorSendEos = "SEND_EOS" +) + +const ( + // SmoothGroupSegmentationModeUseInputSegmentation is a SmoothGroupSegmentationMode enum value + SmoothGroupSegmentationModeUseInputSegmentation = "USE_INPUT_SEGMENTATION" + + // SmoothGroupSegmentationModeUseSegmentDuration is a SmoothGroupSegmentationMode enum value + SmoothGroupSegmentationModeUseSegmentDuration = "USE_SEGMENT_DURATION" +) + +const ( + // SmoothGroupSparseTrackTypeNone is a SmoothGroupSparseTrackType enum value + SmoothGroupSparseTrackTypeNone = "NONE" + + // SmoothGroupSparseTrackTypeScte35 is a SmoothGroupSparseTrackType enum value + SmoothGroupSparseTrackTypeScte35 = "SCTE_35" +) + +const ( + // SmoothGroupStreamManifestBehaviorDoNotSend is a SmoothGroupStreamManifestBehavior enum value + SmoothGroupStreamManifestBehaviorDoNotSend = "DO_NOT_SEND" + + // SmoothGroupStreamManifestBehaviorSend is a SmoothGroupStreamManifestBehavior enum value + SmoothGroupStreamManifestBehaviorSend = "SEND" +) + +const ( + // SmoothGroupTimestampOffsetModeUseConfiguredOffset is a SmoothGroupTimestampOffsetMode enum value + SmoothGroupTimestampOffsetModeUseConfiguredOffset = "USE_CONFIGURED_OFFSET" + + // SmoothGroupTimestampOffsetModeUseEventStartDate is a SmoothGroupTimestampOffsetMode enum value + SmoothGroupTimestampOffsetModeUseEventStartDate = "USE_EVENT_START_DATE" +) + +const ( + // TimecodeConfigSourceEmbedded is a TimecodeConfigSource enum value + TimecodeConfigSourceEmbedded = "EMBEDDED" + + // TimecodeConfigSourceSystemclock is a TimecodeConfigSource enum value + TimecodeConfigSourceSystemclock = "SYSTEMCLOCK" + + // TimecodeConfigSourceZerobased is a TimecodeConfigSource enum value + TimecodeConfigSourceZerobased = "ZEROBASED" +) + +const ( + // TtmlDestinationStyleControlPassthrough is a TtmlDestinationStyleControl enum value + TtmlDestinationStyleControlPassthrough = "PASSTHROUGH" + + // TtmlDestinationStyleControlUseConfigured is a TtmlDestinationStyleControl enum value + TtmlDestinationStyleControlUseConfigured = "USE_CONFIGURED" +) + +const ( + // UdpTimedMetadataId3FrameNone is a UdpTimedMetadataId3Frame enum value + UdpTimedMetadataId3FrameNone = "NONE" + + // UdpTimedMetadataId3FramePriv is a UdpTimedMetadataId3Frame enum value + UdpTimedMetadataId3FramePriv = "PRIV" + + // UdpTimedMetadataId3FrameTdrl is a UdpTimedMetadataId3Frame enum value + UdpTimedMetadataId3FrameTdrl = "TDRL" +) + +const ( + // VideoDescriptionRespondToAfdNone is a VideoDescriptionRespondToAfd enum value + VideoDescriptionRespondToAfdNone = "NONE" + + // VideoDescriptionRespondToAfdPassthrough is a VideoDescriptionRespondToAfd enum value + VideoDescriptionRespondToAfdPassthrough = "PASSTHROUGH" + + // VideoDescriptionRespondToAfdRespond is a VideoDescriptionRespondToAfd enum value + VideoDescriptionRespondToAfdRespond = "RESPOND" +) + +const ( + // VideoDescriptionScalingBehaviorDefault is a VideoDescriptionScalingBehavior enum value + VideoDescriptionScalingBehaviorDefault = "DEFAULT" + + // VideoDescriptionScalingBehaviorStretchToOutput is a VideoDescriptionScalingBehavior enum value + VideoDescriptionScalingBehaviorStretchToOutput = "STRETCH_TO_OUTPUT" +) + +const ( + // VideoSelectorColorSpaceFollow is a VideoSelectorColorSpace enum value + VideoSelectorColorSpaceFollow = "FOLLOW" + + // VideoSelectorColorSpaceRec601 is a VideoSelectorColorSpace enum value + VideoSelectorColorSpaceRec601 = "REC_601" + + // VideoSelectorColorSpaceRec709 is a VideoSelectorColorSpace enum value + VideoSelectorColorSpaceRec709 = "REC_709" +) + +const ( + // VideoSelectorColorSpaceUsageFallback is a VideoSelectorColorSpaceUsage enum value + VideoSelectorColorSpaceUsageFallback = "FALLBACK" + + // VideoSelectorColorSpaceUsageForce is a VideoSelectorColorSpaceUsage enum value + VideoSelectorColorSpaceUsageForce = "FORCE" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/medialive/doc.go b/vendor/github.com/aws/aws-sdk-go/service/medialive/doc.go new file mode 100644 index 00000000000..22c90987203 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/medialive/doc.go @@ -0,0 +1,28 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package medialive provides the client and types for making API +// requests to AWS Elemental MediaLive. +// +// API for AWS Elemental MediaLive +// +// See https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14 for more information on this service. +// +// See medialive package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/medialive/ +// +// Using the Client +// +// To contact AWS Elemental MediaLive with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the AWS Elemental MediaLive client MediaLive for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/medialive/#New +package medialive diff --git a/vendor/github.com/aws/aws-sdk-go/service/medialive/errors.go b/vendor/github.com/aws/aws-sdk-go/service/medialive/errors.go new file mode 100644 index 00000000000..247fb52c70c --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/medialive/errors.go @@ -0,0 +1,42 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package medialive + +const ( + + // ErrCodeBadGatewayException for service response error code + // "BadGatewayException". + ErrCodeBadGatewayException = "BadGatewayException" + + // ErrCodeBadRequestException for service response error code + // "BadRequestException". + ErrCodeBadRequestException = "BadRequestException" + + // ErrCodeConflictException for service response error code + // "ConflictException". + ErrCodeConflictException = "ConflictException" + + // ErrCodeForbiddenException for service response error code + // "ForbiddenException". + ErrCodeForbiddenException = "ForbiddenException" + + // ErrCodeGatewayTimeoutException for service response error code + // "GatewayTimeoutException". + ErrCodeGatewayTimeoutException = "GatewayTimeoutException" + + // ErrCodeInternalServerErrorException for service response error code + // "InternalServerErrorException". + ErrCodeInternalServerErrorException = "InternalServerErrorException" + + // ErrCodeNotFoundException for service response error code + // "NotFoundException". + ErrCodeNotFoundException = "NotFoundException" + + // ErrCodeTooManyRequestsException for service response error code + // "TooManyRequestsException". + ErrCodeTooManyRequestsException = "TooManyRequestsException" + + // ErrCodeUnprocessableEntityException for service response error code + // "UnprocessableEntityException". + ErrCodeUnprocessableEntityException = "UnprocessableEntityException" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/medialive/service.go b/vendor/github.com/aws/aws-sdk-go/service/medialive/service.go new file mode 100644 index 00000000000..96e7506c17f --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/medialive/service.go @@ -0,0 +1,97 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package medialive + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// MediaLive provides the API operation methods for making requests to +// AWS Elemental MediaLive. See this package's package overview docs +// for details on the service. +// +// MediaLive methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type MediaLive struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "medialive" // Service endpoint prefix API calls made to. + EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. +) + +// New creates a new instance of the MediaLive client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// // Create a MediaLive client from just a session. +// svc := medialive.New(mySession) +// +// // Create a MediaLive client with additional configuration +// svc := medialive.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaLive { + c := p.ClientConfig(EndpointsID, cfgs...) + return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *MediaLive { + if len(signingName) == 0 { + signingName = "medialive" + } + svc := &MediaLive{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + SigningName: signingName, + SigningRegion: signingRegion, + Endpoint: endpoint, + APIVersion: "2017-10-14", + JSONVersion: "1.1", + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed(restjson.UnmarshalErrorHandler) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a MediaLive operation and runs any +// custom request initialization. +func (c *MediaLive) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediapackage/api.go b/vendor/github.com/aws/aws-sdk-go/service/mediapackage/api.go new file mode 100644 index 00000000000..6f605fe78be --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediapackage/api.go @@ -0,0 +1,3242 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mediapackage + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" +) + +const opCreateChannel = "CreateChannel" + +// CreateChannelRequest generates a "aws/request.Request" representing the +// client's request for the CreateChannel operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateChannel for more information on using the CreateChannel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateChannelRequest method. +// req, resp := client.CreateChannelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannel +func (c *MediaPackage) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput) { + op := &request.Operation{ + Name: opCreateChannel, + HTTPMethod: "POST", + HTTPPath: "/channels", + } + + if input == nil { + input = &CreateChannelInput{} + } + + output = &CreateChannelOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateChannel API operation for AWS Elemental MediaPackage. +// +// Creates a new Channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaPackage's +// API operation CreateChannel for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnprocessableEntityException "UnprocessableEntityException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannel +func (c *MediaPackage) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error) { + req, out := c.CreateChannelRequest(input) + return out, req.Send() +} + +// CreateChannelWithContext is the same as CreateChannel with the addition of +// the ability to pass a context and additional request options. +// +// See CreateChannel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaPackage) CreateChannelWithContext(ctx aws.Context, input *CreateChannelInput, opts ...request.Option) (*CreateChannelOutput, error) { + req, out := c.CreateChannelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateOriginEndpoint = "CreateOriginEndpoint" + +// CreateOriginEndpointRequest generates a "aws/request.Request" representing the +// client's request for the CreateOriginEndpoint operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateOriginEndpoint for more information on using the CreateOriginEndpoint +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateOriginEndpointRequest method. +// req, resp := client.CreateOriginEndpointRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpoint +func (c *MediaPackage) CreateOriginEndpointRequest(input *CreateOriginEndpointInput) (req *request.Request, output *CreateOriginEndpointOutput) { + op := &request.Operation{ + Name: opCreateOriginEndpoint, + HTTPMethod: "POST", + HTTPPath: "/origin_endpoints", + } + + if input == nil { + input = &CreateOriginEndpointInput{} + } + + output = &CreateOriginEndpointOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateOriginEndpoint API operation for AWS Elemental MediaPackage. +// +// Creates a new OriginEndpoint record. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaPackage's +// API operation CreateOriginEndpoint for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnprocessableEntityException "UnprocessableEntityException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpoint +func (c *MediaPackage) CreateOriginEndpoint(input *CreateOriginEndpointInput) (*CreateOriginEndpointOutput, error) { + req, out := c.CreateOriginEndpointRequest(input) + return out, req.Send() +} + +// CreateOriginEndpointWithContext is the same as CreateOriginEndpoint with the addition of +// the ability to pass a context and additional request options. +// +// See CreateOriginEndpoint for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaPackage) CreateOriginEndpointWithContext(ctx aws.Context, input *CreateOriginEndpointInput, opts ...request.Option) (*CreateOriginEndpointOutput, error) { + req, out := c.CreateOriginEndpointRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteChannel = "DeleteChannel" + +// DeleteChannelRequest generates a "aws/request.Request" representing the +// client's request for the DeleteChannel operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteChannel for more information on using the DeleteChannel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteChannelRequest method. +// req, resp := client.DeleteChannelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannel +func (c *MediaPackage) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput) { + op := &request.Operation{ + Name: opDeleteChannel, + HTTPMethod: "DELETE", + HTTPPath: "/channels/{id}", + } + + if input == nil { + input = &DeleteChannelInput{} + } + + output = &DeleteChannelOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteChannel API operation for AWS Elemental MediaPackage. +// +// Deletes an existing Channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaPackage's +// API operation DeleteChannel for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnprocessableEntityException "UnprocessableEntityException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannel +func (c *MediaPackage) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error) { + req, out := c.DeleteChannelRequest(input) + return out, req.Send() +} + +// DeleteChannelWithContext is the same as DeleteChannel with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteChannel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaPackage) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error) { + req, out := c.DeleteChannelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteOriginEndpoint = "DeleteOriginEndpoint" + +// DeleteOriginEndpointRequest generates a "aws/request.Request" representing the +// client's request for the DeleteOriginEndpoint operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteOriginEndpoint for more information on using the DeleteOriginEndpoint +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteOriginEndpointRequest method. +// req, resp := client.DeleteOriginEndpointRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpoint +func (c *MediaPackage) DeleteOriginEndpointRequest(input *DeleteOriginEndpointInput) (req *request.Request, output *DeleteOriginEndpointOutput) { + op := &request.Operation{ + Name: opDeleteOriginEndpoint, + HTTPMethod: "DELETE", + HTTPPath: "/origin_endpoints/{id}", + } + + if input == nil { + input = &DeleteOriginEndpointInput{} + } + + output = &DeleteOriginEndpointOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteOriginEndpoint API operation for AWS Elemental MediaPackage. +// +// Deletes an existing OriginEndpoint. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaPackage's +// API operation DeleteOriginEndpoint for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnprocessableEntityException "UnprocessableEntityException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpoint +func (c *MediaPackage) DeleteOriginEndpoint(input *DeleteOriginEndpointInput) (*DeleteOriginEndpointOutput, error) { + req, out := c.DeleteOriginEndpointRequest(input) + return out, req.Send() +} + +// DeleteOriginEndpointWithContext is the same as DeleteOriginEndpoint with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteOriginEndpoint for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaPackage) DeleteOriginEndpointWithContext(ctx aws.Context, input *DeleteOriginEndpointInput, opts ...request.Option) (*DeleteOriginEndpointOutput, error) { + req, out := c.DeleteOriginEndpointRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeChannel = "DescribeChannel" + +// DescribeChannelRequest generates a "aws/request.Request" representing the +// client's request for the DescribeChannel operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeChannel for more information on using the DescribeChannel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeChannelRequest method. +// req, resp := client.DescribeChannelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannel +func (c *MediaPackage) DescribeChannelRequest(input *DescribeChannelInput) (req *request.Request, output *DescribeChannelOutput) { + op := &request.Operation{ + Name: opDescribeChannel, + HTTPMethod: "GET", + HTTPPath: "/channels/{id}", + } + + if input == nil { + input = &DescribeChannelInput{} + } + + output = &DescribeChannelOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeChannel API operation for AWS Elemental MediaPackage. +// +// Gets details about a Channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaPackage's +// API operation DescribeChannel for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnprocessableEntityException "UnprocessableEntityException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannel +func (c *MediaPackage) DescribeChannel(input *DescribeChannelInput) (*DescribeChannelOutput, error) { + req, out := c.DescribeChannelRequest(input) + return out, req.Send() +} + +// DescribeChannelWithContext is the same as DescribeChannel with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeChannel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaPackage) DescribeChannelWithContext(ctx aws.Context, input *DescribeChannelInput, opts ...request.Option) (*DescribeChannelOutput, error) { + req, out := c.DescribeChannelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeOriginEndpoint = "DescribeOriginEndpoint" + +// DescribeOriginEndpointRequest generates a "aws/request.Request" representing the +// client's request for the DescribeOriginEndpoint operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeOriginEndpoint for more information on using the DescribeOriginEndpoint +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeOriginEndpointRequest method. +// req, resp := client.DescribeOriginEndpointRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpoint +func (c *MediaPackage) DescribeOriginEndpointRequest(input *DescribeOriginEndpointInput) (req *request.Request, output *DescribeOriginEndpointOutput) { + op := &request.Operation{ + Name: opDescribeOriginEndpoint, + HTTPMethod: "GET", + HTTPPath: "/origin_endpoints/{id}", + } + + if input == nil { + input = &DescribeOriginEndpointInput{} + } + + output = &DescribeOriginEndpointOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeOriginEndpoint API operation for AWS Elemental MediaPackage. +// +// Gets details about an existing OriginEndpoint. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaPackage's +// API operation DescribeOriginEndpoint for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnprocessableEntityException "UnprocessableEntityException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpoint +func (c *MediaPackage) DescribeOriginEndpoint(input *DescribeOriginEndpointInput) (*DescribeOriginEndpointOutput, error) { + req, out := c.DescribeOriginEndpointRequest(input) + return out, req.Send() +} + +// DescribeOriginEndpointWithContext is the same as DescribeOriginEndpoint with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeOriginEndpoint for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaPackage) DescribeOriginEndpointWithContext(ctx aws.Context, input *DescribeOriginEndpointInput, opts ...request.Option) (*DescribeOriginEndpointOutput, error) { + req, out := c.DescribeOriginEndpointRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListChannels = "ListChannels" + +// ListChannelsRequest generates a "aws/request.Request" representing the +// client's request for the ListChannels operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListChannels for more information on using the ListChannels +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListChannelsRequest method. +// req, resp := client.ListChannelsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannels +func (c *MediaPackage) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput) { + op := &request.Operation{ + Name: opListChannels, + HTTPMethod: "GET", + HTTPPath: "/channels", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListChannelsInput{} + } + + output = &ListChannelsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListChannels API operation for AWS Elemental MediaPackage. +// +// Returns a collection of Channels. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaPackage's +// API operation ListChannels for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnprocessableEntityException "UnprocessableEntityException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannels +func (c *MediaPackage) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error) { + req, out := c.ListChannelsRequest(input) + return out, req.Send() +} + +// ListChannelsWithContext is the same as ListChannels with the addition of +// the ability to pass a context and additional request options. +// +// See ListChannels for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaPackage) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error) { + req, out := c.ListChannelsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListChannelsPages iterates over the pages of a ListChannels operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListChannels method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListChannels operation. +// pageNum := 0 +// err := client.ListChannelsPages(params, +// func(page *ListChannelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MediaPackage) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error { + return c.ListChannelsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListChannelsPagesWithContext same as ListChannelsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaPackage) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListChannelsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListChannelsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListChannelsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListOriginEndpoints = "ListOriginEndpoints" + +// ListOriginEndpointsRequest generates a "aws/request.Request" representing the +// client's request for the ListOriginEndpoints operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListOriginEndpoints for more information on using the ListOriginEndpoints +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListOriginEndpointsRequest method. +// req, resp := client.ListOriginEndpointsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpoints +func (c *MediaPackage) ListOriginEndpointsRequest(input *ListOriginEndpointsInput) (req *request.Request, output *ListOriginEndpointsOutput) { + op := &request.Operation{ + Name: opListOriginEndpoints, + HTTPMethod: "GET", + HTTPPath: "/origin_endpoints", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListOriginEndpointsInput{} + } + + output = &ListOriginEndpointsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListOriginEndpoints API operation for AWS Elemental MediaPackage. +// +// Returns a collection of OriginEndpoint records. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaPackage's +// API operation ListOriginEndpoints for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnprocessableEntityException "UnprocessableEntityException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpoints +func (c *MediaPackage) ListOriginEndpoints(input *ListOriginEndpointsInput) (*ListOriginEndpointsOutput, error) { + req, out := c.ListOriginEndpointsRequest(input) + return out, req.Send() +} + +// ListOriginEndpointsWithContext is the same as ListOriginEndpoints with the addition of +// the ability to pass a context and additional request options. +// +// See ListOriginEndpoints for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaPackage) ListOriginEndpointsWithContext(ctx aws.Context, input *ListOriginEndpointsInput, opts ...request.Option) (*ListOriginEndpointsOutput, error) { + req, out := c.ListOriginEndpointsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListOriginEndpointsPages iterates over the pages of a ListOriginEndpoints operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListOriginEndpoints method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListOriginEndpoints operation. +// pageNum := 0 +// err := client.ListOriginEndpointsPages(params, +// func(page *ListOriginEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MediaPackage) ListOriginEndpointsPages(input *ListOriginEndpointsInput, fn func(*ListOriginEndpointsOutput, bool) bool) error { + return c.ListOriginEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListOriginEndpointsPagesWithContext same as ListOriginEndpointsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaPackage) ListOriginEndpointsPagesWithContext(ctx aws.Context, input *ListOriginEndpointsInput, fn func(*ListOriginEndpointsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListOriginEndpointsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListOriginEndpointsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListOriginEndpointsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opRotateChannelCredentials = "RotateChannelCredentials" + +// RotateChannelCredentialsRequest generates a "aws/request.Request" representing the +// client's request for the RotateChannelCredentials operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RotateChannelCredentials for more information on using the RotateChannelCredentials +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RotateChannelCredentialsRequest method. +// req, resp := client.RotateChannelCredentialsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentials +func (c *MediaPackage) RotateChannelCredentialsRequest(input *RotateChannelCredentialsInput) (req *request.Request, output *RotateChannelCredentialsOutput) { + op := &request.Operation{ + Name: opRotateChannelCredentials, + HTTPMethod: "PUT", + HTTPPath: "/channels/{id}/credentials", + } + + if input == nil { + input = &RotateChannelCredentialsInput{} + } + + output = &RotateChannelCredentialsOutput{} + req = c.newRequest(op, input, output) + return +} + +// RotateChannelCredentials API operation for AWS Elemental MediaPackage. +// +// Changes the Channel ingest username and password. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaPackage's +// API operation RotateChannelCredentials for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnprocessableEntityException "UnprocessableEntityException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentials +func (c *MediaPackage) RotateChannelCredentials(input *RotateChannelCredentialsInput) (*RotateChannelCredentialsOutput, error) { + req, out := c.RotateChannelCredentialsRequest(input) + return out, req.Send() +} + +// RotateChannelCredentialsWithContext is the same as RotateChannelCredentials with the addition of +// the ability to pass a context and additional request options. +// +// See RotateChannelCredentials for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaPackage) RotateChannelCredentialsWithContext(ctx aws.Context, input *RotateChannelCredentialsInput, opts ...request.Option) (*RotateChannelCredentialsOutput, error) { + req, out := c.RotateChannelCredentialsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateChannel = "UpdateChannel" + +// UpdateChannelRequest generates a "aws/request.Request" representing the +// client's request for the UpdateChannel operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateChannel for more information on using the UpdateChannel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateChannelRequest method. +// req, resp := client.UpdateChannelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannel +func (c *MediaPackage) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput) { + op := &request.Operation{ + Name: opUpdateChannel, + HTTPMethod: "PUT", + HTTPPath: "/channels/{id}", + } + + if input == nil { + input = &UpdateChannelInput{} + } + + output = &UpdateChannelOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateChannel API operation for AWS Elemental MediaPackage. +// +// Updates an existing Channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaPackage's +// API operation UpdateChannel for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnprocessableEntityException "UnprocessableEntityException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannel +func (c *MediaPackage) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error) { + req, out := c.UpdateChannelRequest(input) + return out, req.Send() +} + +// UpdateChannelWithContext is the same as UpdateChannel with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateChannel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaPackage) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error) { + req, out := c.UpdateChannelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateOriginEndpoint = "UpdateOriginEndpoint" + +// UpdateOriginEndpointRequest generates a "aws/request.Request" representing the +// client's request for the UpdateOriginEndpoint operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateOriginEndpoint for more information on using the UpdateOriginEndpoint +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateOriginEndpointRequest method. +// req, resp := client.UpdateOriginEndpointRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpoint +func (c *MediaPackage) UpdateOriginEndpointRequest(input *UpdateOriginEndpointInput) (req *request.Request, output *UpdateOriginEndpointOutput) { + op := &request.Operation{ + Name: opUpdateOriginEndpoint, + HTTPMethod: "PUT", + HTTPPath: "/origin_endpoints/{id}", + } + + if input == nil { + input = &UpdateOriginEndpointInput{} + } + + output = &UpdateOriginEndpointOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateOriginEndpoint API operation for AWS Elemental MediaPackage. +// +// Updates an existing OriginEndpoint. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaPackage's +// API operation UpdateOriginEndpoint for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnprocessableEntityException "UnprocessableEntityException" +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// +// * ErrCodeForbiddenException "ForbiddenException" +// +// * ErrCodeNotFoundException "NotFoundException" +// +// * ErrCodeServiceUnavailableException "ServiceUnavailableException" +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpoint +func (c *MediaPackage) UpdateOriginEndpoint(input *UpdateOriginEndpointInput) (*UpdateOriginEndpointOutput, error) { + req, out := c.UpdateOriginEndpointRequest(input) + return out, req.Send() +} + +// UpdateOriginEndpointWithContext is the same as UpdateOriginEndpoint with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateOriginEndpoint for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaPackage) UpdateOriginEndpointWithContext(ctx aws.Context, input *UpdateOriginEndpointInput, opts ...request.Option) (*UpdateOriginEndpointOutput, error) { + req, out := c.UpdateOriginEndpointRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// A Channel resource configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/Channel +type Channel struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) assigned to the Channel. + Arn *string `locationName:"arn" type:"string"` + + // A short text description of the Channel. + Description *string `locationName:"description" type:"string"` + + // An HTTP Live Streaming (HLS) ingest resource configuration. + HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"` + + // The ID of the Channel. + Id *string `locationName:"id" type:"string"` +} + +// String returns the string representation +func (s Channel) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Channel) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Channel) SetArn(v string) *Channel { + s.Arn = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Channel) SetDescription(v string) *Channel { + s.Description = &v + return s +} + +// SetHlsIngest sets the HlsIngest field's value. +func (s *Channel) SetHlsIngest(v *HlsIngest) *Channel { + s.HlsIngest = v + return s +} + +// SetId sets the Id field's value. +func (s *Channel) SetId(v string) *Channel { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannelRequest +type CreateChannelInput struct { + _ struct{} `type:"structure"` + + Description *string `locationName:"description" type:"string"` + + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateChannelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateChannelInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateChannelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateChannelInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *CreateChannelInput) SetDescription(v string) *CreateChannelInput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *CreateChannelInput) SetId(v string) *CreateChannelInput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannelResponse +type CreateChannelOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + Description *string `locationName:"description" type:"string"` + + // An HTTP Live Streaming (HLS) ingest resource configuration. + HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"` + + Id *string `locationName:"id" type:"string"` +} + +// String returns the string representation +func (s CreateChannelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateChannelOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateChannelOutput) SetArn(v string) *CreateChannelOutput { + s.Arn = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateChannelOutput) SetDescription(v string) *CreateChannelOutput { + s.Description = &v + return s +} + +// SetHlsIngest sets the HlsIngest field's value. +func (s *CreateChannelOutput) SetHlsIngest(v *HlsIngest) *CreateChannelOutput { + s.HlsIngest = v + return s +} + +// SetId sets the Id field's value. +func (s *CreateChannelOutput) SetId(v string) *CreateChannelOutput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpointRequest +type CreateOriginEndpointInput struct { + _ struct{} `type:"structure"` + + // ChannelId is a required field + ChannelId *string `locationName:"channelId" type:"string" required:"true"` + + // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. + DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` + + Description *string `locationName:"description" type:"string"` + + // An HTTP Live Streaming (HLS) packaging configuration. + HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` + + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + ManifestName *string `locationName:"manifestName" type:"string"` + + // A Microsoft Smooth Streaming (MSS) packaging configuration. + MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` + + StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` + + TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` + + Whitelist []*string `locationName:"whitelist" type:"list"` +} + +// String returns the string representation +func (s CreateOriginEndpointInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateOriginEndpointInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateOriginEndpointInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateOriginEndpointInput"} + if s.ChannelId == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelId")) + } + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.DashPackage != nil { + if err := s.DashPackage.Validate(); err != nil { + invalidParams.AddNested("DashPackage", err.(request.ErrInvalidParams)) + } + } + if s.HlsPackage != nil { + if err := s.HlsPackage.Validate(); err != nil { + invalidParams.AddNested("HlsPackage", err.(request.ErrInvalidParams)) + } + } + if s.MssPackage != nil { + if err := s.MssPackage.Validate(); err != nil { + invalidParams.AddNested("MssPackage", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChannelId sets the ChannelId field's value. +func (s *CreateOriginEndpointInput) SetChannelId(v string) *CreateOriginEndpointInput { + s.ChannelId = &v + return s +} + +// SetDashPackage sets the DashPackage field's value. +func (s *CreateOriginEndpointInput) SetDashPackage(v *DashPackage) *CreateOriginEndpointInput { + s.DashPackage = v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateOriginEndpointInput) SetDescription(v string) *CreateOriginEndpointInput { + s.Description = &v + return s +} + +// SetHlsPackage sets the HlsPackage field's value. +func (s *CreateOriginEndpointInput) SetHlsPackage(v *HlsPackage) *CreateOriginEndpointInput { + s.HlsPackage = v + return s +} + +// SetId sets the Id field's value. +func (s *CreateOriginEndpointInput) SetId(v string) *CreateOriginEndpointInput { + s.Id = &v + return s +} + +// SetManifestName sets the ManifestName field's value. +func (s *CreateOriginEndpointInput) SetManifestName(v string) *CreateOriginEndpointInput { + s.ManifestName = &v + return s +} + +// SetMssPackage sets the MssPackage field's value. +func (s *CreateOriginEndpointInput) SetMssPackage(v *MssPackage) *CreateOriginEndpointInput { + s.MssPackage = v + return s +} + +// SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value. +func (s *CreateOriginEndpointInput) SetStartoverWindowSeconds(v int64) *CreateOriginEndpointInput { + s.StartoverWindowSeconds = &v + return s +} + +// SetTimeDelaySeconds sets the TimeDelaySeconds field's value. +func (s *CreateOriginEndpointInput) SetTimeDelaySeconds(v int64) *CreateOriginEndpointInput { + s.TimeDelaySeconds = &v + return s +} + +// SetWhitelist sets the Whitelist field's value. +func (s *CreateOriginEndpointInput) SetWhitelist(v []*string) *CreateOriginEndpointInput { + s.Whitelist = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpointResponse +type CreateOriginEndpointOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + ChannelId *string `locationName:"channelId" type:"string"` + + // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. + DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` + + Description *string `locationName:"description" type:"string"` + + // An HTTP Live Streaming (HLS) packaging configuration. + HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` + + Id *string `locationName:"id" type:"string"` + + ManifestName *string `locationName:"manifestName" type:"string"` + + // A Microsoft Smooth Streaming (MSS) packaging configuration. + MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` + + StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` + + TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` + + Url *string `locationName:"url" type:"string"` + + Whitelist []*string `locationName:"whitelist" type:"list"` +} + +// String returns the string representation +func (s CreateOriginEndpointOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateOriginEndpointOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateOriginEndpointOutput) SetArn(v string) *CreateOriginEndpointOutput { + s.Arn = &v + return s +} + +// SetChannelId sets the ChannelId field's value. +func (s *CreateOriginEndpointOutput) SetChannelId(v string) *CreateOriginEndpointOutput { + s.ChannelId = &v + return s +} + +// SetDashPackage sets the DashPackage field's value. +func (s *CreateOriginEndpointOutput) SetDashPackage(v *DashPackage) *CreateOriginEndpointOutput { + s.DashPackage = v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateOriginEndpointOutput) SetDescription(v string) *CreateOriginEndpointOutput { + s.Description = &v + return s +} + +// SetHlsPackage sets the HlsPackage field's value. +func (s *CreateOriginEndpointOutput) SetHlsPackage(v *HlsPackage) *CreateOriginEndpointOutput { + s.HlsPackage = v + return s +} + +// SetId sets the Id field's value. +func (s *CreateOriginEndpointOutput) SetId(v string) *CreateOriginEndpointOutput { + s.Id = &v + return s +} + +// SetManifestName sets the ManifestName field's value. +func (s *CreateOriginEndpointOutput) SetManifestName(v string) *CreateOriginEndpointOutput { + s.ManifestName = &v + return s +} + +// SetMssPackage sets the MssPackage field's value. +func (s *CreateOriginEndpointOutput) SetMssPackage(v *MssPackage) *CreateOriginEndpointOutput { + s.MssPackage = v + return s +} + +// SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value. +func (s *CreateOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *CreateOriginEndpointOutput { + s.StartoverWindowSeconds = &v + return s +} + +// SetTimeDelaySeconds sets the TimeDelaySeconds field's value. +func (s *CreateOriginEndpointOutput) SetTimeDelaySeconds(v int64) *CreateOriginEndpointOutput { + s.TimeDelaySeconds = &v + return s +} + +// SetUrl sets the Url field's value. +func (s *CreateOriginEndpointOutput) SetUrl(v string) *CreateOriginEndpointOutput { + s.Url = &v + return s +} + +// SetWhitelist sets the Whitelist field's value. +func (s *CreateOriginEndpointOutput) SetWhitelist(v []*string) *CreateOriginEndpointOutput { + s.Whitelist = v + return s +} + +// A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DashEncryption +type DashEncryption struct { + _ struct{} `type:"structure"` + + // Time (in seconds) between each encryption key rotation. + KeyRotationIntervalSeconds *int64 `locationName:"keyRotationIntervalSeconds" type:"integer"` + + // A configuration for accessing an external Secure Packager and Encoder Key + // Exchange (SPEKE) service that will provide encryption keys. + // + // SpekeKeyProvider is a required field + SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure" required:"true"` +} + +// String returns the string representation +func (s DashEncryption) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DashEncryption) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DashEncryption) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DashEncryption"} + if s.SpekeKeyProvider == nil { + invalidParams.Add(request.NewErrParamRequired("SpekeKeyProvider")) + } + if s.SpekeKeyProvider != nil { + if err := s.SpekeKeyProvider.Validate(); err != nil { + invalidParams.AddNested("SpekeKeyProvider", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetKeyRotationIntervalSeconds sets the KeyRotationIntervalSeconds field's value. +func (s *DashEncryption) SetKeyRotationIntervalSeconds(v int64) *DashEncryption { + s.KeyRotationIntervalSeconds = &v + return s +} + +// SetSpekeKeyProvider sets the SpekeKeyProvider field's value. +func (s *DashEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *DashEncryption { + s.SpekeKeyProvider = v + return s +} + +// A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DashPackage +type DashPackage struct { + _ struct{} `type:"structure"` + + // A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration. + Encryption *DashEncryption `locationName:"encryption" type:"structure"` + + // Time window (in seconds) contained in each manifest. + ManifestWindowSeconds *int64 `locationName:"manifestWindowSeconds" type:"integer"` + + // Minimum duration (in seconds) that a player will buffer media before starting + // the presentation. + MinBufferTimeSeconds *int64 `locationName:"minBufferTimeSeconds" type:"integer"` + + // Minimum duration (in seconds) between potential changes to the Dynamic Adaptive + // Streaming over HTTP (DASH) Media Presentation Description (MPD). + MinUpdatePeriodSeconds *int64 `locationName:"minUpdatePeriodSeconds" type:"integer"` + + // The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to + // "HBBTV_1_5", HbbTV 1.5 compliant output is enabled. + Profile *string `locationName:"profile" type:"string" enum:"Profile"` + + // Duration (in seconds) of each segment. Actual segments will berounded to + // the nearest multiple of the source segment duration. + SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"` + + // A StreamSelection configuration. + StreamSelection *StreamSelection `locationName:"streamSelection" type:"structure"` + + // Duration (in seconds) to delay live content before presentation. + SuggestedPresentationDelaySeconds *int64 `locationName:"suggestedPresentationDelaySeconds" type:"integer"` +} + +// String returns the string representation +func (s DashPackage) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DashPackage) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DashPackage) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DashPackage"} + if s.Encryption != nil { + if err := s.Encryption.Validate(); err != nil { + invalidParams.AddNested("Encryption", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEncryption sets the Encryption field's value. +func (s *DashPackage) SetEncryption(v *DashEncryption) *DashPackage { + s.Encryption = v + return s +} + +// SetManifestWindowSeconds sets the ManifestWindowSeconds field's value. +func (s *DashPackage) SetManifestWindowSeconds(v int64) *DashPackage { + s.ManifestWindowSeconds = &v + return s +} + +// SetMinBufferTimeSeconds sets the MinBufferTimeSeconds field's value. +func (s *DashPackage) SetMinBufferTimeSeconds(v int64) *DashPackage { + s.MinBufferTimeSeconds = &v + return s +} + +// SetMinUpdatePeriodSeconds sets the MinUpdatePeriodSeconds field's value. +func (s *DashPackage) SetMinUpdatePeriodSeconds(v int64) *DashPackage { + s.MinUpdatePeriodSeconds = &v + return s +} + +// SetProfile sets the Profile field's value. +func (s *DashPackage) SetProfile(v string) *DashPackage { + s.Profile = &v + return s +} + +// SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value. +func (s *DashPackage) SetSegmentDurationSeconds(v int64) *DashPackage { + s.SegmentDurationSeconds = &v + return s +} + +// SetStreamSelection sets the StreamSelection field's value. +func (s *DashPackage) SetStreamSelection(v *StreamSelection) *DashPackage { + s.StreamSelection = v + return s +} + +// SetSuggestedPresentationDelaySeconds sets the SuggestedPresentationDelaySeconds field's value. +func (s *DashPackage) SetSuggestedPresentationDelaySeconds(v int64) *DashPackage { + s.SuggestedPresentationDelaySeconds = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannelRequest +type DeleteChannelInput struct { + _ struct{} `type:"structure"` + + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteChannelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteChannelInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteChannelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteChannelInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DeleteChannelInput) SetId(v string) *DeleteChannelInput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannelResponse +type DeleteChannelOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteChannelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteChannelOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpointRequest +type DeleteOriginEndpointInput struct { + _ struct{} `type:"structure"` + + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteOriginEndpointInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteOriginEndpointInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteOriginEndpointInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteOriginEndpointInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DeleteOriginEndpointInput) SetId(v string) *DeleteOriginEndpointInput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpointResponse +type DeleteOriginEndpointOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteOriginEndpointOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteOriginEndpointOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannelRequest +type DescribeChannelInput struct { + _ struct{} `type:"structure"` + + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeChannelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeChannelInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeChannelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeChannelInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DescribeChannelInput) SetId(v string) *DescribeChannelInput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannelResponse +type DescribeChannelOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + Description *string `locationName:"description" type:"string"` + + // An HTTP Live Streaming (HLS) ingest resource configuration. + HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"` + + Id *string `locationName:"id" type:"string"` +} + +// String returns the string representation +func (s DescribeChannelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeChannelOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DescribeChannelOutput) SetArn(v string) *DescribeChannelOutput { + s.Arn = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *DescribeChannelOutput) SetDescription(v string) *DescribeChannelOutput { + s.Description = &v + return s +} + +// SetHlsIngest sets the HlsIngest field's value. +func (s *DescribeChannelOutput) SetHlsIngest(v *HlsIngest) *DescribeChannelOutput { + s.HlsIngest = v + return s +} + +// SetId sets the Id field's value. +func (s *DescribeChannelOutput) SetId(v string) *DescribeChannelOutput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpointRequest +type DescribeOriginEndpointInput struct { + _ struct{} `type:"structure"` + + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeOriginEndpointInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeOriginEndpointInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeOriginEndpointInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeOriginEndpointInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DescribeOriginEndpointInput) SetId(v string) *DescribeOriginEndpointInput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpointResponse +type DescribeOriginEndpointOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + ChannelId *string `locationName:"channelId" type:"string"` + + // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. + DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` + + Description *string `locationName:"description" type:"string"` + + // An HTTP Live Streaming (HLS) packaging configuration. + HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` + + Id *string `locationName:"id" type:"string"` + + ManifestName *string `locationName:"manifestName" type:"string"` + + // A Microsoft Smooth Streaming (MSS) packaging configuration. + MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` + + StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` + + TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` + + Url *string `locationName:"url" type:"string"` + + Whitelist []*string `locationName:"whitelist" type:"list"` +} + +// String returns the string representation +func (s DescribeOriginEndpointOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeOriginEndpointOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DescribeOriginEndpointOutput) SetArn(v string) *DescribeOriginEndpointOutput { + s.Arn = &v + return s +} + +// SetChannelId sets the ChannelId field's value. +func (s *DescribeOriginEndpointOutput) SetChannelId(v string) *DescribeOriginEndpointOutput { + s.ChannelId = &v + return s +} + +// SetDashPackage sets the DashPackage field's value. +func (s *DescribeOriginEndpointOutput) SetDashPackage(v *DashPackage) *DescribeOriginEndpointOutput { + s.DashPackage = v + return s +} + +// SetDescription sets the Description field's value. +func (s *DescribeOriginEndpointOutput) SetDescription(v string) *DescribeOriginEndpointOutput { + s.Description = &v + return s +} + +// SetHlsPackage sets the HlsPackage field's value. +func (s *DescribeOriginEndpointOutput) SetHlsPackage(v *HlsPackage) *DescribeOriginEndpointOutput { + s.HlsPackage = v + return s +} + +// SetId sets the Id field's value. +func (s *DescribeOriginEndpointOutput) SetId(v string) *DescribeOriginEndpointOutput { + s.Id = &v + return s +} + +// SetManifestName sets the ManifestName field's value. +func (s *DescribeOriginEndpointOutput) SetManifestName(v string) *DescribeOriginEndpointOutput { + s.ManifestName = &v + return s +} + +// SetMssPackage sets the MssPackage field's value. +func (s *DescribeOriginEndpointOutput) SetMssPackage(v *MssPackage) *DescribeOriginEndpointOutput { + s.MssPackage = v + return s +} + +// SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value. +func (s *DescribeOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *DescribeOriginEndpointOutput { + s.StartoverWindowSeconds = &v + return s +} + +// SetTimeDelaySeconds sets the TimeDelaySeconds field's value. +func (s *DescribeOriginEndpointOutput) SetTimeDelaySeconds(v int64) *DescribeOriginEndpointOutput { + s.TimeDelaySeconds = &v + return s +} + +// SetUrl sets the Url field's value. +func (s *DescribeOriginEndpointOutput) SetUrl(v string) *DescribeOriginEndpointOutput { + s.Url = &v + return s +} + +// SetWhitelist sets the Whitelist field's value. +func (s *DescribeOriginEndpointOutput) SetWhitelist(v []*string) *DescribeOriginEndpointOutput { + s.Whitelist = v + return s +} + +// An HTTP Live Streaming (HLS) encryption configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsEncryption +type HlsEncryption struct { + _ struct{} `type:"structure"` + + // A constant initialization vector for encryption (optional).When not specified + // the initialization vector will be periodically rotated. + ConstantInitializationVector *string `locationName:"constantInitializationVector" type:"string"` + + // The encryption method to use. + EncryptionMethod *string `locationName:"encryptionMethod" type:"string" enum:"EncryptionMethod"` + + // Interval (in seconds) between each encryption key rotation. + KeyRotationIntervalSeconds *int64 `locationName:"keyRotationIntervalSeconds" type:"integer"` + + // When enabled, the EXT-X-KEY tag will be repeated in output manifests. + RepeatExtXKey *bool `locationName:"repeatExtXKey" type:"boolean"` + + // A configuration for accessing an external Secure Packager and Encoder Key + // Exchange (SPEKE) service that will provide encryption keys. + // + // SpekeKeyProvider is a required field + SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure" required:"true"` +} + +// String returns the string representation +func (s HlsEncryption) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsEncryption) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *HlsEncryption) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HlsEncryption"} + if s.SpekeKeyProvider == nil { + invalidParams.Add(request.NewErrParamRequired("SpekeKeyProvider")) + } + if s.SpekeKeyProvider != nil { + if err := s.SpekeKeyProvider.Validate(); err != nil { + invalidParams.AddNested("SpekeKeyProvider", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConstantInitializationVector sets the ConstantInitializationVector field's value. +func (s *HlsEncryption) SetConstantInitializationVector(v string) *HlsEncryption { + s.ConstantInitializationVector = &v + return s +} + +// SetEncryptionMethod sets the EncryptionMethod field's value. +func (s *HlsEncryption) SetEncryptionMethod(v string) *HlsEncryption { + s.EncryptionMethod = &v + return s +} + +// SetKeyRotationIntervalSeconds sets the KeyRotationIntervalSeconds field's value. +func (s *HlsEncryption) SetKeyRotationIntervalSeconds(v int64) *HlsEncryption { + s.KeyRotationIntervalSeconds = &v + return s +} + +// SetRepeatExtXKey sets the RepeatExtXKey field's value. +func (s *HlsEncryption) SetRepeatExtXKey(v bool) *HlsEncryption { + s.RepeatExtXKey = &v + return s +} + +// SetSpekeKeyProvider sets the SpekeKeyProvider field's value. +func (s *HlsEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *HlsEncryption { + s.SpekeKeyProvider = v + return s +} + +// An HTTP Live Streaming (HLS) ingest resource configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsIngest +type HlsIngest struct { + _ struct{} `type:"structure"` + + // A list of endpoints to which the source stream should be sent. + IngestEndpoints []*IngestEndpoint `locationName:"ingestEndpoints" type:"list"` +} + +// String returns the string representation +func (s HlsIngest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsIngest) GoString() string { + return s.String() +} + +// SetIngestEndpoints sets the IngestEndpoints field's value. +func (s *HlsIngest) SetIngestEndpoints(v []*IngestEndpoint) *HlsIngest { + s.IngestEndpoints = v + return s +} + +// An HTTP Live Streaming (HLS) packaging configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsPackage +type HlsPackage struct { + _ struct{} `type:"structure"` + + // This setting controls how ad markers are included in the packaged OriginEndpoint."NONE" + // will omit all SCTE-35 ad markers from the output."PASSTHROUGH" causes the + // manifest to contain a copy of the SCTE-35 admarkers (comments) taken directly + // from the input HTTP Live Streaming (HLS) manifest."SCTE35_ENHANCED" generates + // ad markers and blackout tags based on SCTE-35messages in the input source. + AdMarkers *string `locationName:"adMarkers" type:"string" enum:"AdMarkers"` + + // An HTTP Live Streaming (HLS) encryption configuration. + Encryption *HlsEncryption `locationName:"encryption" type:"structure"` + + // When enabled, an I-Frame only stream will be included in the output. + IncludeIframeOnlyStream *bool `locationName:"includeIframeOnlyStream" type:"boolean"` + + // The HTTP Live Streaming (HLS) playlist type.When either "EVENT" or "VOD" + // is specified, a corresponding EXT-X-PLAYLIST-TYPEentry will be included in + // the media playlist. + PlaylistType *string `locationName:"playlistType" type:"string" enum:"PlaylistType"` + + // Time window (in seconds) contained in each parent manifest. + PlaylistWindowSeconds *int64 `locationName:"playlistWindowSeconds" type:"integer"` + + // The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME taginserted + // into manifests. Additionally, when an interval is specifiedID3Timed Metadata + // messages will be generated every 5 seconds using the ingest time of the content.If + // the interval is not specified, or set to 0, thenno EXT-X-PROGRAM-DATE-TIME + // tags will be inserted into manifests and noID3Timed Metadata messages will + // be generated. Note that irrespectiveof this parameter, if any ID3 Timed Metadata + // is found in HTTP Live Streaming (HLS) input,it will be passed through to + // HLS output. + ProgramDateTimeIntervalSeconds *int64 `locationName:"programDateTimeIntervalSeconds" type:"integer"` + + // Duration (in seconds) of each fragment. Actual fragments will berounded to + // the nearest multiple of the source fragment duration. + SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"` + + // A StreamSelection configuration. + StreamSelection *StreamSelection `locationName:"streamSelection" type:"structure"` + + // When enabled, audio streams will be placed in rendition groups in the output. + UseAudioRenditionGroup *bool `locationName:"useAudioRenditionGroup" type:"boolean"` +} + +// String returns the string representation +func (s HlsPackage) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HlsPackage) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *HlsPackage) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HlsPackage"} + if s.Encryption != nil { + if err := s.Encryption.Validate(); err != nil { + invalidParams.AddNested("Encryption", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAdMarkers sets the AdMarkers field's value. +func (s *HlsPackage) SetAdMarkers(v string) *HlsPackage { + s.AdMarkers = &v + return s +} + +// SetEncryption sets the Encryption field's value. +func (s *HlsPackage) SetEncryption(v *HlsEncryption) *HlsPackage { + s.Encryption = v + return s +} + +// SetIncludeIframeOnlyStream sets the IncludeIframeOnlyStream field's value. +func (s *HlsPackage) SetIncludeIframeOnlyStream(v bool) *HlsPackage { + s.IncludeIframeOnlyStream = &v + return s +} + +// SetPlaylistType sets the PlaylistType field's value. +func (s *HlsPackage) SetPlaylistType(v string) *HlsPackage { + s.PlaylistType = &v + return s +} + +// SetPlaylistWindowSeconds sets the PlaylistWindowSeconds field's value. +func (s *HlsPackage) SetPlaylistWindowSeconds(v int64) *HlsPackage { + s.PlaylistWindowSeconds = &v + return s +} + +// SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value. +func (s *HlsPackage) SetProgramDateTimeIntervalSeconds(v int64) *HlsPackage { + s.ProgramDateTimeIntervalSeconds = &v + return s +} + +// SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value. +func (s *HlsPackage) SetSegmentDurationSeconds(v int64) *HlsPackage { + s.SegmentDurationSeconds = &v + return s +} + +// SetStreamSelection sets the StreamSelection field's value. +func (s *HlsPackage) SetStreamSelection(v *StreamSelection) *HlsPackage { + s.StreamSelection = v + return s +} + +// SetUseAudioRenditionGroup sets the UseAudioRenditionGroup field's value. +func (s *HlsPackage) SetUseAudioRenditionGroup(v bool) *HlsPackage { + s.UseAudioRenditionGroup = &v + return s +} + +// An endpoint for ingesting source content for a Channel. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/IngestEndpoint +type IngestEndpoint struct { + _ struct{} `type:"structure"` + + // The system generated password for ingest authentication. + Password *string `locationName:"password" type:"string"` + + // The ingest URL to which the source stream should be sent. + Url *string `locationName:"url" type:"string"` + + // The system generated username for ingest authentication. + Username *string `locationName:"username" type:"string"` +} + +// String returns the string representation +func (s IngestEndpoint) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s IngestEndpoint) GoString() string { + return s.String() +} + +// SetPassword sets the Password field's value. +func (s *IngestEndpoint) SetPassword(v string) *IngestEndpoint { + s.Password = &v + return s +} + +// SetUrl sets the Url field's value. +func (s *IngestEndpoint) SetUrl(v string) *IngestEndpoint { + s.Url = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *IngestEndpoint) SetUsername(v string) *IngestEndpoint { + s.Username = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannelsRequest +type ListChannelsInput struct { + _ struct{} `type:"structure"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListChannelsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListChannelsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListChannelsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListChannelsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannelsResponse +type ListChannelsOutput struct { + _ struct{} `type:"structure"` + + Channels []*Channel `locationName:"channels" type:"list"` + + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListChannelsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListChannelsOutput) GoString() string { + return s.String() +} + +// SetChannels sets the Channels field's value. +func (s *ListChannelsOutput) SetChannels(v []*Channel) *ListChannelsOutput { + s.Channels = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpointsRequest +type ListOriginEndpointsInput struct { + _ struct{} `type:"structure"` + + ChannelId *string `location:"querystring" locationName:"channelId" type:"string"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListOriginEndpointsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListOriginEndpointsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListOriginEndpointsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListOriginEndpointsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChannelId sets the ChannelId field's value. +func (s *ListOriginEndpointsInput) SetChannelId(v string) *ListOriginEndpointsInput { + s.ChannelId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListOriginEndpointsInput) SetMaxResults(v int64) *ListOriginEndpointsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListOriginEndpointsInput) SetNextToken(v string) *ListOriginEndpointsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpointsResponse +type ListOriginEndpointsOutput struct { + _ struct{} `type:"structure"` + + NextToken *string `locationName:"nextToken" type:"string"` + + OriginEndpoints []*OriginEndpoint `locationName:"originEndpoints" type:"list"` +} + +// String returns the string representation +func (s ListOriginEndpointsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListOriginEndpointsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListOriginEndpointsOutput) SetNextToken(v string) *ListOriginEndpointsOutput { + s.NextToken = &v + return s +} + +// SetOriginEndpoints sets the OriginEndpoints field's value. +func (s *ListOriginEndpointsOutput) SetOriginEndpoints(v []*OriginEndpoint) *ListOriginEndpointsOutput { + s.OriginEndpoints = v + return s +} + +// A Microsoft Smooth Streaming (MSS) encryption configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/MssEncryption +type MssEncryption struct { + _ struct{} `type:"structure"` + + // A configuration for accessing an external Secure Packager and Encoder Key + // Exchange (SPEKE) service that will provide encryption keys. + // + // SpekeKeyProvider is a required field + SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure" required:"true"` +} + +// String returns the string representation +func (s MssEncryption) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MssEncryption) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MssEncryption) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MssEncryption"} + if s.SpekeKeyProvider == nil { + invalidParams.Add(request.NewErrParamRequired("SpekeKeyProvider")) + } + if s.SpekeKeyProvider != nil { + if err := s.SpekeKeyProvider.Validate(); err != nil { + invalidParams.AddNested("SpekeKeyProvider", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSpekeKeyProvider sets the SpekeKeyProvider field's value. +func (s *MssEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *MssEncryption { + s.SpekeKeyProvider = v + return s +} + +// A Microsoft Smooth Streaming (MSS) packaging configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/MssPackage +type MssPackage struct { + _ struct{} `type:"structure"` + + // A Microsoft Smooth Streaming (MSS) encryption configuration. + Encryption *MssEncryption `locationName:"encryption" type:"structure"` + + // The time window (in seconds) contained in each manifest. + ManifestWindowSeconds *int64 `locationName:"manifestWindowSeconds" type:"integer"` + + // The duration (in seconds) of each segment. + SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"` + + // A StreamSelection configuration. + StreamSelection *StreamSelection `locationName:"streamSelection" type:"structure"` +} + +// String returns the string representation +func (s MssPackage) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MssPackage) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MssPackage) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MssPackage"} + if s.Encryption != nil { + if err := s.Encryption.Validate(); err != nil { + invalidParams.AddNested("Encryption", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEncryption sets the Encryption field's value. +func (s *MssPackage) SetEncryption(v *MssEncryption) *MssPackage { + s.Encryption = v + return s +} + +// SetManifestWindowSeconds sets the ManifestWindowSeconds field's value. +func (s *MssPackage) SetManifestWindowSeconds(v int64) *MssPackage { + s.ManifestWindowSeconds = &v + return s +} + +// SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value. +func (s *MssPackage) SetSegmentDurationSeconds(v int64) *MssPackage { + s.SegmentDurationSeconds = &v + return s +} + +// SetStreamSelection sets the StreamSelection field's value. +func (s *MssPackage) SetStreamSelection(v *StreamSelection) *MssPackage { + s.StreamSelection = v + return s +} + +// An OriginEndpoint resource configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/OriginEndpoint +type OriginEndpoint struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) assigned to the OriginEndpoint. + Arn *string `locationName:"arn" type:"string"` + + // The ID of the Channel the OriginEndpoint is associated with. + ChannelId *string `locationName:"channelId" type:"string"` + + // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. + DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` + + // A short text description of the OriginEndpoint. + Description *string `locationName:"description" type:"string"` + + // An HTTP Live Streaming (HLS) packaging configuration. + HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` + + // The ID of the OriginEndpoint. + Id *string `locationName:"id" type:"string"` + + // A short string appended to the end of the OriginEndpoint URL. + ManifestName *string `locationName:"manifestName" type:"string"` + + // A Microsoft Smooth Streaming (MSS) packaging configuration. + MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` + + // Maximum duration (seconds) of content to retain for startover playback.If + // not specified, startover playback will be disabled for the OriginEndpoint. + StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` + + // Amount of delay (seconds) to enforce on the playback of live content.If not + // specified, there will be no time delay in effect for the OriginEndpoint. + TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` + + // The URL of the packaged OriginEndpoint for consumption. + Url *string `locationName:"url" type:"string"` + + // A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint. + Whitelist []*string `locationName:"whitelist" type:"list"` +} + +// String returns the string representation +func (s OriginEndpoint) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OriginEndpoint) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *OriginEndpoint) SetArn(v string) *OriginEndpoint { + s.Arn = &v + return s +} + +// SetChannelId sets the ChannelId field's value. +func (s *OriginEndpoint) SetChannelId(v string) *OriginEndpoint { + s.ChannelId = &v + return s +} + +// SetDashPackage sets the DashPackage field's value. +func (s *OriginEndpoint) SetDashPackage(v *DashPackage) *OriginEndpoint { + s.DashPackage = v + return s +} + +// SetDescription sets the Description field's value. +func (s *OriginEndpoint) SetDescription(v string) *OriginEndpoint { + s.Description = &v + return s +} + +// SetHlsPackage sets the HlsPackage field's value. +func (s *OriginEndpoint) SetHlsPackage(v *HlsPackage) *OriginEndpoint { + s.HlsPackage = v + return s +} + +// SetId sets the Id field's value. +func (s *OriginEndpoint) SetId(v string) *OriginEndpoint { + s.Id = &v + return s +} + +// SetManifestName sets the ManifestName field's value. +func (s *OriginEndpoint) SetManifestName(v string) *OriginEndpoint { + s.ManifestName = &v + return s +} + +// SetMssPackage sets the MssPackage field's value. +func (s *OriginEndpoint) SetMssPackage(v *MssPackage) *OriginEndpoint { + s.MssPackage = v + return s +} + +// SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value. +func (s *OriginEndpoint) SetStartoverWindowSeconds(v int64) *OriginEndpoint { + s.StartoverWindowSeconds = &v + return s +} + +// SetTimeDelaySeconds sets the TimeDelaySeconds field's value. +func (s *OriginEndpoint) SetTimeDelaySeconds(v int64) *OriginEndpoint { + s.TimeDelaySeconds = &v + return s +} + +// SetUrl sets the Url field's value. +func (s *OriginEndpoint) SetUrl(v string) *OriginEndpoint { + s.Url = &v + return s +} + +// SetWhitelist sets the Whitelist field's value. +func (s *OriginEndpoint) SetWhitelist(v []*string) *OriginEndpoint { + s.Whitelist = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentialsRequest +type RotateChannelCredentialsInput struct { + _ struct{} `type:"structure"` + + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` +} + +// String returns the string representation +func (s RotateChannelCredentialsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RotateChannelCredentialsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RotateChannelCredentialsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RotateChannelCredentialsInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *RotateChannelCredentialsInput) SetId(v string) *RotateChannelCredentialsInput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentialsResponse +type RotateChannelCredentialsOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + Description *string `locationName:"description" type:"string"` + + // An HTTP Live Streaming (HLS) ingest resource configuration. + HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"` + + Id *string `locationName:"id" type:"string"` +} + +// String returns the string representation +func (s RotateChannelCredentialsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RotateChannelCredentialsOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *RotateChannelCredentialsOutput) SetArn(v string) *RotateChannelCredentialsOutput { + s.Arn = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *RotateChannelCredentialsOutput) SetDescription(v string) *RotateChannelCredentialsOutput { + s.Description = &v + return s +} + +// SetHlsIngest sets the HlsIngest field's value. +func (s *RotateChannelCredentialsOutput) SetHlsIngest(v *HlsIngest) *RotateChannelCredentialsOutput { + s.HlsIngest = v + return s +} + +// SetId sets the Id field's value. +func (s *RotateChannelCredentialsOutput) SetId(v string) *RotateChannelCredentialsOutput { + s.Id = &v + return s +} + +// A configuration for accessing an external Secure Packager and Encoder Key +// Exchange (SPEKE) service that will provide encryption keys. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/SpekeKeyProvider +type SpekeKeyProvider struct { + _ struct{} `type:"structure"` + + // The resource ID to include in key requests. + // + // ResourceId is a required field + ResourceId *string `locationName:"resourceId" type:"string" required:"true"` + + // An Amazon Resource Name (ARN) of an IAM role that AWS ElementalMediaPackage + // will assume when accessing the key provider service. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + + // The system IDs to include in key requests. + // + // SystemIds is a required field + SystemIds []*string `locationName:"systemIds" type:"list" required:"true"` + + // The URL of the external key provider service. + // + // Url is a required field + Url *string `locationName:"url" type:"string" required:"true"` +} + +// String returns the string representation +func (s SpekeKeyProvider) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SpekeKeyProvider) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SpekeKeyProvider) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SpekeKeyProvider"} + if s.ResourceId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceId")) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.SystemIds == nil { + invalidParams.Add(request.NewErrParamRequired("SystemIds")) + } + if s.Url == nil { + invalidParams.Add(request.NewErrParamRequired("Url")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceId sets the ResourceId field's value. +func (s *SpekeKeyProvider) SetResourceId(v string) *SpekeKeyProvider { + s.ResourceId = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *SpekeKeyProvider) SetRoleArn(v string) *SpekeKeyProvider { + s.RoleArn = &v + return s +} + +// SetSystemIds sets the SystemIds field's value. +func (s *SpekeKeyProvider) SetSystemIds(v []*string) *SpekeKeyProvider { + s.SystemIds = v + return s +} + +// SetUrl sets the Url field's value. +func (s *SpekeKeyProvider) SetUrl(v string) *SpekeKeyProvider { + s.Url = &v + return s +} + +// A StreamSelection configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/StreamSelection +type StreamSelection struct { + _ struct{} `type:"structure"` + + // The maximum video bitrate (bps) to include in output. + MaxVideoBitsPerSecond *int64 `locationName:"maxVideoBitsPerSecond" type:"integer"` + + // The minimum video bitrate (bps) to include in output. + MinVideoBitsPerSecond *int64 `locationName:"minVideoBitsPerSecond" type:"integer"` + + // A directive that determines the order of streams in the output. + StreamOrder *string `locationName:"streamOrder" type:"string" enum:"StreamOrder"` +} + +// String returns the string representation +func (s StreamSelection) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StreamSelection) GoString() string { + return s.String() +} + +// SetMaxVideoBitsPerSecond sets the MaxVideoBitsPerSecond field's value. +func (s *StreamSelection) SetMaxVideoBitsPerSecond(v int64) *StreamSelection { + s.MaxVideoBitsPerSecond = &v + return s +} + +// SetMinVideoBitsPerSecond sets the MinVideoBitsPerSecond field's value. +func (s *StreamSelection) SetMinVideoBitsPerSecond(v int64) *StreamSelection { + s.MinVideoBitsPerSecond = &v + return s +} + +// SetStreamOrder sets the StreamOrder field's value. +func (s *StreamSelection) SetStreamOrder(v string) *StreamSelection { + s.StreamOrder = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannelRequest +type UpdateChannelInput struct { + _ struct{} `type:"structure"` + + Description *string `locationName:"description" type:"string"` + + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateChannelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateChannelInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateChannelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateChannelInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdateChannelInput) SetDescription(v string) *UpdateChannelInput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateChannelInput) SetId(v string) *UpdateChannelInput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannelResponse +type UpdateChannelOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + Description *string `locationName:"description" type:"string"` + + // An HTTP Live Streaming (HLS) ingest resource configuration. + HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"` + + Id *string `locationName:"id" type:"string"` +} + +// String returns the string representation +func (s UpdateChannelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateChannelOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *UpdateChannelOutput) SetArn(v string) *UpdateChannelOutput { + s.Arn = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateChannelOutput) SetDescription(v string) *UpdateChannelOutput { + s.Description = &v + return s +} + +// SetHlsIngest sets the HlsIngest field's value. +func (s *UpdateChannelOutput) SetHlsIngest(v *HlsIngest) *UpdateChannelOutput { + s.HlsIngest = v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateChannelOutput) SetId(v string) *UpdateChannelOutput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpointRequest +type UpdateOriginEndpointInput struct { + _ struct{} `type:"structure"` + + // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. + DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` + + Description *string `locationName:"description" type:"string"` + + // An HTTP Live Streaming (HLS) packaging configuration. + HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` + + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` + + ManifestName *string `locationName:"manifestName" type:"string"` + + // A Microsoft Smooth Streaming (MSS) packaging configuration. + MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` + + StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` + + TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` + + Whitelist []*string `locationName:"whitelist" type:"list"` +} + +// String returns the string representation +func (s UpdateOriginEndpointInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateOriginEndpointInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateOriginEndpointInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateOriginEndpointInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.DashPackage != nil { + if err := s.DashPackage.Validate(); err != nil { + invalidParams.AddNested("DashPackage", err.(request.ErrInvalidParams)) + } + } + if s.HlsPackage != nil { + if err := s.HlsPackage.Validate(); err != nil { + invalidParams.AddNested("HlsPackage", err.(request.ErrInvalidParams)) + } + } + if s.MssPackage != nil { + if err := s.MssPackage.Validate(); err != nil { + invalidParams.AddNested("MssPackage", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDashPackage sets the DashPackage field's value. +func (s *UpdateOriginEndpointInput) SetDashPackage(v *DashPackage) *UpdateOriginEndpointInput { + s.DashPackage = v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateOriginEndpointInput) SetDescription(v string) *UpdateOriginEndpointInput { + s.Description = &v + return s +} + +// SetHlsPackage sets the HlsPackage field's value. +func (s *UpdateOriginEndpointInput) SetHlsPackage(v *HlsPackage) *UpdateOriginEndpointInput { + s.HlsPackage = v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateOriginEndpointInput) SetId(v string) *UpdateOriginEndpointInput { + s.Id = &v + return s +} + +// SetManifestName sets the ManifestName field's value. +func (s *UpdateOriginEndpointInput) SetManifestName(v string) *UpdateOriginEndpointInput { + s.ManifestName = &v + return s +} + +// SetMssPackage sets the MssPackage field's value. +func (s *UpdateOriginEndpointInput) SetMssPackage(v *MssPackage) *UpdateOriginEndpointInput { + s.MssPackage = v + return s +} + +// SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value. +func (s *UpdateOriginEndpointInput) SetStartoverWindowSeconds(v int64) *UpdateOriginEndpointInput { + s.StartoverWindowSeconds = &v + return s +} + +// SetTimeDelaySeconds sets the TimeDelaySeconds field's value. +func (s *UpdateOriginEndpointInput) SetTimeDelaySeconds(v int64) *UpdateOriginEndpointInput { + s.TimeDelaySeconds = &v + return s +} + +// SetWhitelist sets the Whitelist field's value. +func (s *UpdateOriginEndpointInput) SetWhitelist(v []*string) *UpdateOriginEndpointInput { + s.Whitelist = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpointResponse +type UpdateOriginEndpointOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + ChannelId *string `locationName:"channelId" type:"string"` + + // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. + DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` + + Description *string `locationName:"description" type:"string"` + + // An HTTP Live Streaming (HLS) packaging configuration. + HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` + + Id *string `locationName:"id" type:"string"` + + ManifestName *string `locationName:"manifestName" type:"string"` + + // A Microsoft Smooth Streaming (MSS) packaging configuration. + MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` + + StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` + + TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` + + Url *string `locationName:"url" type:"string"` + + Whitelist []*string `locationName:"whitelist" type:"list"` +} + +// String returns the string representation +func (s UpdateOriginEndpointOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateOriginEndpointOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *UpdateOriginEndpointOutput) SetArn(v string) *UpdateOriginEndpointOutput { + s.Arn = &v + return s +} + +// SetChannelId sets the ChannelId field's value. +func (s *UpdateOriginEndpointOutput) SetChannelId(v string) *UpdateOriginEndpointOutput { + s.ChannelId = &v + return s +} + +// SetDashPackage sets the DashPackage field's value. +func (s *UpdateOriginEndpointOutput) SetDashPackage(v *DashPackage) *UpdateOriginEndpointOutput { + s.DashPackage = v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateOriginEndpointOutput) SetDescription(v string) *UpdateOriginEndpointOutput { + s.Description = &v + return s +} + +// SetHlsPackage sets the HlsPackage field's value. +func (s *UpdateOriginEndpointOutput) SetHlsPackage(v *HlsPackage) *UpdateOriginEndpointOutput { + s.HlsPackage = v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateOriginEndpointOutput) SetId(v string) *UpdateOriginEndpointOutput { + s.Id = &v + return s +} + +// SetManifestName sets the ManifestName field's value. +func (s *UpdateOriginEndpointOutput) SetManifestName(v string) *UpdateOriginEndpointOutput { + s.ManifestName = &v + return s +} + +// SetMssPackage sets the MssPackage field's value. +func (s *UpdateOriginEndpointOutput) SetMssPackage(v *MssPackage) *UpdateOriginEndpointOutput { + s.MssPackage = v + return s +} + +// SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value. +func (s *UpdateOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *UpdateOriginEndpointOutput { + s.StartoverWindowSeconds = &v + return s +} + +// SetTimeDelaySeconds sets the TimeDelaySeconds field's value. +func (s *UpdateOriginEndpointOutput) SetTimeDelaySeconds(v int64) *UpdateOriginEndpointOutput { + s.TimeDelaySeconds = &v + return s +} + +// SetUrl sets the Url field's value. +func (s *UpdateOriginEndpointOutput) SetUrl(v string) *UpdateOriginEndpointOutput { + s.Url = &v + return s +} + +// SetWhitelist sets the Whitelist field's value. +func (s *UpdateOriginEndpointOutput) SetWhitelist(v []*string) *UpdateOriginEndpointOutput { + s.Whitelist = v + return s +} + +const ( + // AdMarkersNone is a AdMarkers enum value + AdMarkersNone = "NONE" + + // AdMarkersScte35Enhanced is a AdMarkers enum value + AdMarkersScte35Enhanced = "SCTE35_ENHANCED" + + // AdMarkersPassthrough is a AdMarkers enum value + AdMarkersPassthrough = "PASSTHROUGH" +) + +const ( + // EncryptionMethodAes128 is a EncryptionMethod enum value + EncryptionMethodAes128 = "AES_128" + + // EncryptionMethodSampleAes is a EncryptionMethod enum value + EncryptionMethodSampleAes = "SAMPLE_AES" +) + +const ( + // PlaylistTypeNone is a PlaylistType enum value + PlaylistTypeNone = "NONE" + + // PlaylistTypeEvent is a PlaylistType enum value + PlaylistTypeEvent = "EVENT" + + // PlaylistTypeVod is a PlaylistType enum value + PlaylistTypeVod = "VOD" +) + +const ( + // ProfileNone is a Profile enum value + ProfileNone = "NONE" + + // ProfileHbbtv15 is a Profile enum value + ProfileHbbtv15 = "HBBTV_1_5" +) + +const ( + // StreamOrderOriginal is a StreamOrder enum value + StreamOrderOriginal = "ORIGINAL" + + // StreamOrderVideoBitrateAscending is a StreamOrder enum value + StreamOrderVideoBitrateAscending = "VIDEO_BITRATE_ASCENDING" + + // StreamOrderVideoBitrateDescending is a StreamOrder enum value + StreamOrderVideoBitrateDescending = "VIDEO_BITRATE_DESCENDING" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediapackage/doc.go b/vendor/github.com/aws/aws-sdk-go/service/mediapackage/doc.go new file mode 100644 index 00000000000..03c86834991 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediapackage/doc.go @@ -0,0 +1,28 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package mediapackage provides the client and types for making API +// requests to AWS Elemental MediaPackage. +// +// AWS Elemental MediaPackage +// +// See https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12 for more information on this service. +// +// See mediapackage package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/mediapackage/ +// +// Using the Client +// +// To contact AWS Elemental MediaPackage with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the AWS Elemental MediaPackage client MediaPackage for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/mediapackage/#New +package mediapackage diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediapackage/errors.go b/vendor/github.com/aws/aws-sdk-go/service/mediapackage/errors.go new file mode 100644 index 00000000000..c6ba3649e5c --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediapackage/errors.go @@ -0,0 +1,30 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mediapackage + +const ( + + // ErrCodeForbiddenException for service response error code + // "ForbiddenException". + ErrCodeForbiddenException = "ForbiddenException" + + // ErrCodeInternalServerErrorException for service response error code + // "InternalServerErrorException". + ErrCodeInternalServerErrorException = "InternalServerErrorException" + + // ErrCodeNotFoundException for service response error code + // "NotFoundException". + ErrCodeNotFoundException = "NotFoundException" + + // ErrCodeServiceUnavailableException for service response error code + // "ServiceUnavailableException". + ErrCodeServiceUnavailableException = "ServiceUnavailableException" + + // ErrCodeTooManyRequestsException for service response error code + // "TooManyRequestsException". + ErrCodeTooManyRequestsException = "TooManyRequestsException" + + // ErrCodeUnprocessableEntityException for service response error code + // "UnprocessableEntityException". + ErrCodeUnprocessableEntityException = "UnprocessableEntityException" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediapackage/service.go b/vendor/github.com/aws/aws-sdk-go/service/mediapackage/service.go new file mode 100644 index 00000000000..2447a2092bf --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediapackage/service.go @@ -0,0 +1,97 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mediapackage + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// MediaPackage provides the API operation methods for making requests to +// AWS Elemental MediaPackage. See this package's package overview docs +// for details on the service. +// +// MediaPackage methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type MediaPackage struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "mediapackage" // Service endpoint prefix API calls made to. + EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. +) + +// New creates a new instance of the MediaPackage client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// // Create a MediaPackage client from just a session. +// svc := mediapackage.New(mySession) +// +// // Create a MediaPackage client with additional configuration +// svc := mediapackage.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaPackage { + c := p.ClientConfig(EndpointsID, cfgs...) + return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *MediaPackage { + if len(signingName) == 0 { + signingName = "mediapackage" + } + svc := &MediaPackage{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + SigningName: signingName, + SigningRegion: signingRegion, + Endpoint: endpoint, + APIVersion: "2017-10-12", + JSONVersion: "1.1", + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed(restjson.UnmarshalErrorHandler) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a MediaPackage operation and runs any +// custom request initialization. +func (c *MediaPackage) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediastore/api.go b/vendor/github.com/aws/aws-sdk-go/service/mediastore/api.go new file mode 100644 index 00000000000..ffd8014253a --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediastore/api.go @@ -0,0 +1,1204 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mediastore + +import ( + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" +) + +const opCreateContainer = "CreateContainer" + +// CreateContainerRequest generates a "aws/request.Request" representing the +// client's request for the CreateContainer operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateContainer for more information on using the CreateContainer +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateContainerRequest method. +// req, resp := client.CreateContainerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/CreateContainer +func (c *MediaStore) CreateContainerRequest(input *CreateContainerInput) (req *request.Request, output *CreateContainerOutput) { + op := &request.Operation{ + Name: opCreateContainer, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateContainerInput{} + } + + output = &CreateContainerOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateContainer API operation for AWS Elemental MediaStore. +// +// Creates a storage container to hold objects. A container is similar to a +// bucket in the Amazon S3 service. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaStore's +// API operation CreateContainer for usage and error information. +// +// Returned Error Codes: +// * ErrCodeContainerInUseException "ContainerInUseException" +// Resource already exists or is being updated. +// +// * ErrCodeLimitExceededException "LimitExceededException" +// A service limit has been exceeded. +// +// * ErrCodeInternalServerError "InternalServerError" +// The service is temporarily unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/CreateContainer +func (c *MediaStore) CreateContainer(input *CreateContainerInput) (*CreateContainerOutput, error) { + req, out := c.CreateContainerRequest(input) + return out, req.Send() +} + +// CreateContainerWithContext is the same as CreateContainer with the addition of +// the ability to pass a context and additional request options. +// +// See CreateContainer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaStore) CreateContainerWithContext(ctx aws.Context, input *CreateContainerInput, opts ...request.Option) (*CreateContainerOutput, error) { + req, out := c.CreateContainerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteContainer = "DeleteContainer" + +// DeleteContainerRequest generates a "aws/request.Request" representing the +// client's request for the DeleteContainer operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteContainer for more information on using the DeleteContainer +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteContainerRequest method. +// req, resp := client.DeleteContainerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainer +func (c *MediaStore) DeleteContainerRequest(input *DeleteContainerInput) (req *request.Request, output *DeleteContainerOutput) { + op := &request.Operation{ + Name: opDeleteContainer, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteContainerInput{} + } + + output = &DeleteContainerOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteContainer API operation for AWS Elemental MediaStore. +// +// Deletes the specified container. Before you make a DeleteContainer request, +// delete any objects in the container or in any folders in the container. You +// can delete only empty containers. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaStore's +// API operation DeleteContainer for usage and error information. +// +// Returned Error Codes: +// * ErrCodeContainerInUseException "ContainerInUseException" +// Resource already exists or is being updated. +// +// * ErrCodeContainerNotFoundException "ContainerNotFoundException" +// Could not perform an operation on a container that does not exist. +// +// * ErrCodeInternalServerError "InternalServerError" +// The service is temporarily unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainer +func (c *MediaStore) DeleteContainer(input *DeleteContainerInput) (*DeleteContainerOutput, error) { + req, out := c.DeleteContainerRequest(input) + return out, req.Send() +} + +// DeleteContainerWithContext is the same as DeleteContainer with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteContainer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaStore) DeleteContainerWithContext(ctx aws.Context, input *DeleteContainerInput, opts ...request.Option) (*DeleteContainerOutput, error) { + req, out := c.DeleteContainerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteContainerPolicy = "DeleteContainerPolicy" + +// DeleteContainerPolicyRequest generates a "aws/request.Request" representing the +// client's request for the DeleteContainerPolicy operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteContainerPolicy for more information on using the DeleteContainerPolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteContainerPolicyRequest method. +// req, resp := client.DeleteContainerPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainerPolicy +func (c *MediaStore) DeleteContainerPolicyRequest(input *DeleteContainerPolicyInput) (req *request.Request, output *DeleteContainerPolicyOutput) { + op := &request.Operation{ + Name: opDeleteContainerPolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteContainerPolicyInput{} + } + + output = &DeleteContainerPolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteContainerPolicy API operation for AWS Elemental MediaStore. +// +// Deletes the access policy that is associated with the specified container. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaStore's +// API operation DeleteContainerPolicy for usage and error information. +// +// Returned Error Codes: +// * ErrCodeContainerInUseException "ContainerInUseException" +// Resource already exists or is being updated. +// +// * ErrCodeContainerNotFoundException "ContainerNotFoundException" +// Could not perform an operation on a container that does not exist. +// +// * ErrCodePolicyNotFoundException "PolicyNotFoundException" +// Could not perform an operation on a policy that does not exist. +// +// * ErrCodeInternalServerError "InternalServerError" +// The service is temporarily unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainerPolicy +func (c *MediaStore) DeleteContainerPolicy(input *DeleteContainerPolicyInput) (*DeleteContainerPolicyOutput, error) { + req, out := c.DeleteContainerPolicyRequest(input) + return out, req.Send() +} + +// DeleteContainerPolicyWithContext is the same as DeleteContainerPolicy with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteContainerPolicy for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaStore) DeleteContainerPolicyWithContext(ctx aws.Context, input *DeleteContainerPolicyInput, opts ...request.Option) (*DeleteContainerPolicyOutput, error) { + req, out := c.DeleteContainerPolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeContainer = "DescribeContainer" + +// DescribeContainerRequest generates a "aws/request.Request" representing the +// client's request for the DescribeContainer operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeContainer for more information on using the DescribeContainer +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeContainerRequest method. +// req, resp := client.DescribeContainerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DescribeContainer +func (c *MediaStore) DescribeContainerRequest(input *DescribeContainerInput) (req *request.Request, output *DescribeContainerOutput) { + op := &request.Operation{ + Name: opDescribeContainer, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeContainerInput{} + } + + output = &DescribeContainerOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeContainer API operation for AWS Elemental MediaStore. +// +// Retrieves the properties of the requested container. This returns a single +// Container object based on ContainerName. To return all Container objects +// that are associated with a specified AWS account, use ListContainers. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaStore's +// API operation DescribeContainer for usage and error information. +// +// Returned Error Codes: +// * ErrCodeContainerNotFoundException "ContainerNotFoundException" +// Could not perform an operation on a container that does not exist. +// +// * ErrCodeInternalServerError "InternalServerError" +// The service is temporarily unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DescribeContainer +func (c *MediaStore) DescribeContainer(input *DescribeContainerInput) (*DescribeContainerOutput, error) { + req, out := c.DescribeContainerRequest(input) + return out, req.Send() +} + +// DescribeContainerWithContext is the same as DescribeContainer with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeContainer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaStore) DescribeContainerWithContext(ctx aws.Context, input *DescribeContainerInput, opts ...request.Option) (*DescribeContainerOutput, error) { + req, out := c.DescribeContainerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetContainerPolicy = "GetContainerPolicy" + +// GetContainerPolicyRequest generates a "aws/request.Request" representing the +// client's request for the GetContainerPolicy operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetContainerPolicy for more information on using the GetContainerPolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetContainerPolicyRequest method. +// req, resp := client.GetContainerPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetContainerPolicy +func (c *MediaStore) GetContainerPolicyRequest(input *GetContainerPolicyInput) (req *request.Request, output *GetContainerPolicyOutput) { + op := &request.Operation{ + Name: opGetContainerPolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetContainerPolicyInput{} + } + + output = &GetContainerPolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetContainerPolicy API operation for AWS Elemental MediaStore. +// +// Retrieves the access policy for the specified container. For information +// about the data that is included in an access policy, see the AWS Identity +// and Access Management User Guide (https://aws.amazon.com/documentation/iam/). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaStore's +// API operation GetContainerPolicy for usage and error information. +// +// Returned Error Codes: +// * ErrCodeContainerInUseException "ContainerInUseException" +// Resource already exists or is being updated. +// +// * ErrCodeContainerNotFoundException "ContainerNotFoundException" +// Could not perform an operation on a container that does not exist. +// +// * ErrCodePolicyNotFoundException "PolicyNotFoundException" +// Could not perform an operation on a policy that does not exist. +// +// * ErrCodeInternalServerError "InternalServerError" +// The service is temporarily unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetContainerPolicy +func (c *MediaStore) GetContainerPolicy(input *GetContainerPolicyInput) (*GetContainerPolicyOutput, error) { + req, out := c.GetContainerPolicyRequest(input) + return out, req.Send() +} + +// GetContainerPolicyWithContext is the same as GetContainerPolicy with the addition of +// the ability to pass a context and additional request options. +// +// See GetContainerPolicy for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaStore) GetContainerPolicyWithContext(ctx aws.Context, input *GetContainerPolicyInput, opts ...request.Option) (*GetContainerPolicyOutput, error) { + req, out := c.GetContainerPolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListContainers = "ListContainers" + +// ListContainersRequest generates a "aws/request.Request" representing the +// client's request for the ListContainers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListContainers for more information on using the ListContainers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListContainersRequest method. +// req, resp := client.ListContainersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListContainers +func (c *MediaStore) ListContainersRequest(input *ListContainersInput) (req *request.Request, output *ListContainersOutput) { + op := &request.Operation{ + Name: opListContainers, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListContainersInput{} + } + + output = &ListContainersOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListContainers API operation for AWS Elemental MediaStore. +// +// Lists the properties of all containers in AWS Elemental MediaStore. +// +// You can query to receive all the containers in one response. Or you can include +// the MaxResults parameter to receive a limited number of containers in each +// response. In this case, the response includes a token. To get the next set +// of containers, send the command again, this time with the NextToken parameter +// (with the returned token as its value). The next set of responses appears, +// with a token if there are still more containers to receive. +// +// See also DescribeContainer, which gets the properties of one container. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaStore's +// API operation ListContainers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalServerError "InternalServerError" +// The service is temporarily unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListContainers +func (c *MediaStore) ListContainers(input *ListContainersInput) (*ListContainersOutput, error) { + req, out := c.ListContainersRequest(input) + return out, req.Send() +} + +// ListContainersWithContext is the same as ListContainers with the addition of +// the ability to pass a context and additional request options. +// +// See ListContainers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaStore) ListContainersWithContext(ctx aws.Context, input *ListContainersInput, opts ...request.Option) (*ListContainersOutput, error) { + req, out := c.ListContainersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPutContainerPolicy = "PutContainerPolicy" + +// PutContainerPolicyRequest generates a "aws/request.Request" representing the +// client's request for the PutContainerPolicy operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutContainerPolicy for more information on using the PutContainerPolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PutContainerPolicyRequest method. +// req, resp := client.PutContainerPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutContainerPolicy +func (c *MediaStore) PutContainerPolicyRequest(input *PutContainerPolicyInput) (req *request.Request, output *PutContainerPolicyOutput) { + op := &request.Operation{ + Name: opPutContainerPolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PutContainerPolicyInput{} + } + + output = &PutContainerPolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutContainerPolicy API operation for AWS Elemental MediaStore. +// +// Creates an access policy for the specified container to restrict the users +// and clients that can access it. For information about the data that is included +// in an access policy, see the AWS Identity and Access Management User Guide +// (https://aws.amazon.com/documentation/iam/). +// +// For this release of the REST API, you can create only one policy for a container. +// If you enter PutContainerPolicy twice, the second command modifies the existing +// policy. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaStore's +// API operation PutContainerPolicy for usage and error information. +// +// Returned Error Codes: +// * ErrCodeContainerNotFoundException "ContainerNotFoundException" +// Could not perform an operation on a container that does not exist. +// +// * ErrCodeContainerInUseException "ContainerInUseException" +// Resource already exists or is being updated. +// +// * ErrCodeInternalServerError "InternalServerError" +// The service is temporarily unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutContainerPolicy +func (c *MediaStore) PutContainerPolicy(input *PutContainerPolicyInput) (*PutContainerPolicyOutput, error) { + req, out := c.PutContainerPolicyRequest(input) + return out, req.Send() +} + +// PutContainerPolicyWithContext is the same as PutContainerPolicy with the addition of +// the ability to pass a context and additional request options. +// +// See PutContainerPolicy for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaStore) PutContainerPolicyWithContext(ctx aws.Context, input *PutContainerPolicyInput, opts ...request.Option) (*PutContainerPolicyOutput, error) { + req, out := c.PutContainerPolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// This section describes operations that you can perform on an AWS Elemental +// MediaStore container. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/Container +type Container struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the container. The ARN has the following + // format: + // + // arn:aws:::container/ + // + // For example: arn:aws:mediastore:us-west-2:111122223333:container/movies + ARN *string `min:"1" type:"string"` + + // Unix timestamp. + CreationTime *time.Time `type:"timestamp" timestampFormat:"unix"` + + // The DNS endpoint of the container. Use from 1 to 255 characters. Use this + // endpoint to identify this container when sending requests to the data plane. + Endpoint *string `min:"1" type:"string"` + + // The name of the container. + Name *string `min:"1" type:"string"` + + // The status of container creation or deletion. The status is one of the following: + // CREATING, ACTIVE, or DELETING. While the service is creating the container, + // the status is CREATING. When the endpoint is available, the status changes + // to ACTIVE. + Status *string `min:"1" type:"string" enum:"ContainerStatus"` +} + +// String returns the string representation +func (s Container) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Container) GoString() string { + return s.String() +} + +// SetARN sets the ARN field's value. +func (s *Container) SetARN(v string) *Container { + s.ARN = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *Container) SetCreationTime(v time.Time) *Container { + s.CreationTime = &v + return s +} + +// SetEndpoint sets the Endpoint field's value. +func (s *Container) SetEndpoint(v string) *Container { + s.Endpoint = &v + return s +} + +// SetName sets the Name field's value. +func (s *Container) SetName(v string) *Container { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *Container) SetStatus(v string) *Container { + s.Status = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/CreateContainerInput +type CreateContainerInput struct { + _ struct{} `type:"structure"` + + // The name for the container. The name must be from 1 to 255 characters. Container + // names must be unique to your AWS account within a specific region. As an + // example, you could create a container named movies in every region, as long + // as you don’t have an existing container with that name. + // + // ContainerName is a required field + ContainerName *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateContainerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateContainerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateContainerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateContainerInput"} + if s.ContainerName == nil { + invalidParams.Add(request.NewErrParamRequired("ContainerName")) + } + if s.ContainerName != nil && len(*s.ContainerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContainerName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContainerName sets the ContainerName field's value. +func (s *CreateContainerInput) SetContainerName(v string) *CreateContainerInput { + s.ContainerName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/CreateContainerOutput +type CreateContainerOutput struct { + _ struct{} `type:"structure"` + + // ContainerARN: The Amazon Resource Name (ARN) of the newly created container. + // The ARN has the following format: arn:aws:::container/. For example: arn:aws:mediastore:us-west-2:111122223333:container/movies + // + // ContainerName: The container name as specified in the request. + // + // CreationTime: Unix timestamp. + // + // Status: The status of container creation or deletion. The status is one of + // the following: CREATING, ACTIVE, or DELETING. While the service is creating + // the container, the status is CREATING. When an endpoint is available, the + // status changes to ACTIVE. + // + // The return value does not include the container's endpoint. To make downstream + // requests, you must obtain this value by using DescribeContainer or ListContainers. + // + // Container is a required field + Container *Container `type:"structure" required:"true"` +} + +// String returns the string representation +func (s CreateContainerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateContainerOutput) GoString() string { + return s.String() +} + +// SetContainer sets the Container field's value. +func (s *CreateContainerOutput) SetContainer(v *Container) *CreateContainerOutput { + s.Container = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainerInput +type DeleteContainerInput struct { + _ struct{} `type:"structure"` + + // The name of the container to delete. + // + // ContainerName is a required field + ContainerName *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteContainerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteContainerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteContainerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteContainerInput"} + if s.ContainerName == nil { + invalidParams.Add(request.NewErrParamRequired("ContainerName")) + } + if s.ContainerName != nil && len(*s.ContainerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContainerName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContainerName sets the ContainerName field's value. +func (s *DeleteContainerInput) SetContainerName(v string) *DeleteContainerInput { + s.ContainerName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainerOutput +type DeleteContainerOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteContainerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteContainerOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainerPolicyInput +type DeleteContainerPolicyInput struct { + _ struct{} `type:"structure"` + + // The name of the container that holds the policy. + // + // ContainerName is a required field + ContainerName *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteContainerPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteContainerPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteContainerPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteContainerPolicyInput"} + if s.ContainerName == nil { + invalidParams.Add(request.NewErrParamRequired("ContainerName")) + } + if s.ContainerName != nil && len(*s.ContainerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContainerName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContainerName sets the ContainerName field's value. +func (s *DeleteContainerPolicyInput) SetContainerName(v string) *DeleteContainerPolicyInput { + s.ContainerName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainerPolicyOutput +type DeleteContainerPolicyOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteContainerPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteContainerPolicyOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DescribeContainerInput +type DescribeContainerInput struct { + _ struct{} `type:"structure"` + + // The name of the container to query. + ContainerName *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s DescribeContainerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeContainerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeContainerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeContainerInput"} + if s.ContainerName != nil && len(*s.ContainerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContainerName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContainerName sets the ContainerName field's value. +func (s *DescribeContainerInput) SetContainerName(v string) *DescribeContainerInput { + s.ContainerName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DescribeContainerOutput +type DescribeContainerOutput struct { + _ struct{} `type:"structure"` + + // The name of the queried container. + Container *Container `type:"structure"` +} + +// String returns the string representation +func (s DescribeContainerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeContainerOutput) GoString() string { + return s.String() +} + +// SetContainer sets the Container field's value. +func (s *DescribeContainerOutput) SetContainer(v *Container) *DescribeContainerOutput { + s.Container = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetContainerPolicyInput +type GetContainerPolicyInput struct { + _ struct{} `type:"structure"` + + // The name of the container. + // + // ContainerName is a required field + ContainerName *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetContainerPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetContainerPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetContainerPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetContainerPolicyInput"} + if s.ContainerName == nil { + invalidParams.Add(request.NewErrParamRequired("ContainerName")) + } + if s.ContainerName != nil && len(*s.ContainerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContainerName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContainerName sets the ContainerName field's value. +func (s *GetContainerPolicyInput) SetContainerName(v string) *GetContainerPolicyInput { + s.ContainerName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetContainerPolicyOutput +type GetContainerPolicyOutput struct { + _ struct{} `type:"structure"` + + // The contents of the access policy. + // + // Policy is a required field + Policy *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetContainerPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetContainerPolicyOutput) GoString() string { + return s.String() +} + +// SetPolicy sets the Policy field's value. +func (s *GetContainerPolicyOutput) SetPolicy(v string) *GetContainerPolicyOutput { + s.Policy = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListContainersInput +type ListContainersInput struct { + _ struct{} `type:"structure"` + + // Enter the maximum number of containers in the response. Use from 1 to 255 + // characters. + MaxResults *int64 `min:"1" type:"integer"` + + // Only if you used MaxResults in the first command, enter the token (which + // was included in the previous response) to obtain the next set of containers. + // This token is included in a response only if there actually are more containers + // to list. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ListContainersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListContainersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListContainersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListContainersInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListContainersInput) SetMaxResults(v int64) *ListContainersInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListContainersInput) SetNextToken(v string) *ListContainersInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListContainersOutput +type ListContainersOutput struct { + _ struct{} `type:"structure"` + + // The names of the containers. + // + // Containers is a required field + Containers []*Container `type:"list" required:"true"` + + // NextToken is the token to use in the next call to ListContainers. This token + // is returned only if you included the MaxResults tag in the original command, + // and only if there are still containers to return. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ListContainersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListContainersOutput) GoString() string { + return s.String() +} + +// SetContainers sets the Containers field's value. +func (s *ListContainersOutput) SetContainers(v []*Container) *ListContainersOutput { + s.Containers = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListContainersOutput) SetNextToken(v string) *ListContainersOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutContainerPolicyInput +type PutContainerPolicyInput struct { + _ struct{} `type:"structure"` + + // The name of the container. + // + // ContainerName is a required field + ContainerName *string `min:"1" type:"string" required:"true"` + + // The contents of the policy, which includes the following: + // + // * One Version tag + // + // * One Statement tag that contains the standard tags for the policy. + // + // Policy is a required field + Policy *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s PutContainerPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutContainerPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutContainerPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutContainerPolicyInput"} + if s.ContainerName == nil { + invalidParams.Add(request.NewErrParamRequired("ContainerName")) + } + if s.ContainerName != nil && len(*s.ContainerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContainerName", 1)) + } + if s.Policy == nil { + invalidParams.Add(request.NewErrParamRequired("Policy")) + } + if s.Policy != nil && len(*s.Policy) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Policy", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContainerName sets the ContainerName field's value. +func (s *PutContainerPolicyInput) SetContainerName(v string) *PutContainerPolicyInput { + s.ContainerName = &v + return s +} + +// SetPolicy sets the Policy field's value. +func (s *PutContainerPolicyInput) SetPolicy(v string) *PutContainerPolicyInput { + s.Policy = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutContainerPolicyOutput +type PutContainerPolicyOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s PutContainerPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutContainerPolicyOutput) GoString() string { + return s.String() +} + +const ( + // ContainerStatusActive is a ContainerStatus enum value + ContainerStatusActive = "ACTIVE" + + // ContainerStatusCreating is a ContainerStatus enum value + ContainerStatusCreating = "CREATING" + + // ContainerStatusDeleting is a ContainerStatus enum value + ContainerStatusDeleting = "DELETING" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediastore/doc.go b/vendor/github.com/aws/aws-sdk-go/service/mediastore/doc.go new file mode 100644 index 00000000000..d8f01e8ad66 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediastore/doc.go @@ -0,0 +1,29 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package mediastore provides the client and types for making API +// requests to AWS Elemental MediaStore. +// +// An AWS Elemental MediaStore container is a namespace that holds folders and +// objects. You use a container endpoint to create, read, and delete objects. +// +// See https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01 for more information on this service. +// +// See mediastore package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/mediastore/ +// +// Using the Client +// +// To contact AWS Elemental MediaStore with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the AWS Elemental MediaStore client MediaStore for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/mediastore/#New +package mediastore diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediastore/errors.go b/vendor/github.com/aws/aws-sdk-go/service/mediastore/errors.go new file mode 100644 index 00000000000..2e01ab9ddf0 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediastore/errors.go @@ -0,0 +1,36 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mediastore + +const ( + + // ErrCodeContainerInUseException for service response error code + // "ContainerInUseException". + // + // Resource already exists or is being updated. + ErrCodeContainerInUseException = "ContainerInUseException" + + // ErrCodeContainerNotFoundException for service response error code + // "ContainerNotFoundException". + // + // Could not perform an operation on a container that does not exist. + ErrCodeContainerNotFoundException = "ContainerNotFoundException" + + // ErrCodeInternalServerError for service response error code + // "InternalServerError". + // + // The service is temporarily unavailable. + ErrCodeInternalServerError = "InternalServerError" + + // ErrCodeLimitExceededException for service response error code + // "LimitExceededException". + // + // A service limit has been exceeded. + ErrCodeLimitExceededException = "LimitExceededException" + + // ErrCodePolicyNotFoundException for service response error code + // "PolicyNotFoundException". + // + // Could not perform an operation on a policy that does not exist. + ErrCodePolicyNotFoundException = "PolicyNotFoundException" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediastore/service.go b/vendor/github.com/aws/aws-sdk-go/service/mediastore/service.go new file mode 100644 index 00000000000..fa36fb91063 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediastore/service.go @@ -0,0 +1,98 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mediastore + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol/jsonrpc" +) + +// MediaStore provides the API operation methods for making requests to +// AWS Elemental MediaStore. See this package's package overview docs +// for details on the service. +// +// MediaStore methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type MediaStore struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "mediastore" // Service endpoint prefix API calls made to. + EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. +) + +// New creates a new instance of the MediaStore client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// // Create a MediaStore client from just a session. +// svc := mediastore.New(mySession) +// +// // Create a MediaStore client with additional configuration +// svc := mediastore.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaStore { + c := p.ClientConfig(EndpointsID, cfgs...) + return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *MediaStore { + if len(signingName) == 0 { + signingName = "mediastore" + } + svc := &MediaStore{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + SigningName: signingName, + SigningRegion: signingRegion, + Endpoint: endpoint, + APIVersion: "2017-09-01", + JSONVersion: "1.1", + TargetPrefix: "MediaStore_20170901", + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(jsonrpc.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(jsonrpc.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(jsonrpc.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed(jsonrpc.UnmarshalErrorHandler) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a MediaStore operation and runs any +// custom request initialization. +func (c *MediaStore) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/api.go b/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/api.go new file mode 100644 index 00000000000..915c1b0a093 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/api.go @@ -0,0 +1,1119 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mediastoredata + +import ( + "io" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" +) + +const opDeleteObject = "DeleteObject" + +// DeleteObjectRequest generates a "aws/request.Request" representing the +// client's request for the DeleteObject operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteObject for more information on using the DeleteObject +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteObjectRequest method. +// req, resp := client.DeleteObjectRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DeleteObject +func (c *MediaStoreData) DeleteObjectRequest(input *DeleteObjectInput) (req *request.Request, output *DeleteObjectOutput) { + op := &request.Operation{ + Name: opDeleteObject, + HTTPMethod: "DELETE", + HTTPPath: "/{Path+}", + } + + if input == nil { + input = &DeleteObjectInput{} + } + + output = &DeleteObjectOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteObject API operation for AWS Elemental MediaStore Data Plane. +// +// Deletes an object at the specified path. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaStore Data Plane's +// API operation DeleteObject for usage and error information. +// +// Returned Error Codes: +// * ErrCodeContainerNotFoundException "ContainerNotFoundException" +// The specified container was not found for the specified account. +// +// * ErrCodeObjectNotFoundException "ObjectNotFoundException" +// Could not perform an operation on an object that does not exist. +// +// * ErrCodeInternalServerError "InternalServerError" +// The service is temporarily unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DeleteObject +func (c *MediaStoreData) DeleteObject(input *DeleteObjectInput) (*DeleteObjectOutput, error) { + req, out := c.DeleteObjectRequest(input) + return out, req.Send() +} + +// DeleteObjectWithContext is the same as DeleteObject with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteObject for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaStoreData) DeleteObjectWithContext(ctx aws.Context, input *DeleteObjectInput, opts ...request.Option) (*DeleteObjectOutput, error) { + req, out := c.DeleteObjectRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeObject = "DescribeObject" + +// DescribeObjectRequest generates a "aws/request.Request" representing the +// client's request for the DescribeObject operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeObject for more information on using the DescribeObject +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeObjectRequest method. +// req, resp := client.DescribeObjectRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DescribeObject +func (c *MediaStoreData) DescribeObjectRequest(input *DescribeObjectInput) (req *request.Request, output *DescribeObjectOutput) { + op := &request.Operation{ + Name: opDescribeObject, + HTTPMethod: "HEAD", + HTTPPath: "/{Path+}", + } + + if input == nil { + input = &DescribeObjectInput{} + } + + output = &DescribeObjectOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeObject API operation for AWS Elemental MediaStore Data Plane. +// +// Gets the header for an object at the specified path. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaStore Data Plane's +// API operation DescribeObject for usage and error information. +// +// Returned Error Codes: +// * ErrCodeContainerNotFoundException "ContainerNotFoundException" +// The specified container was not found for the specified account. +// +// * ErrCodeObjectNotFoundException "ObjectNotFoundException" +// Could not perform an operation on an object that does not exist. +// +// * ErrCodeInternalServerError "InternalServerError" +// The service is temporarily unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DescribeObject +func (c *MediaStoreData) DescribeObject(input *DescribeObjectInput) (*DescribeObjectOutput, error) { + req, out := c.DescribeObjectRequest(input) + return out, req.Send() +} + +// DescribeObjectWithContext is the same as DescribeObject with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeObject for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaStoreData) DescribeObjectWithContext(ctx aws.Context, input *DescribeObjectInput, opts ...request.Option) (*DescribeObjectOutput, error) { + req, out := c.DescribeObjectRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetObject = "GetObject" + +// GetObjectRequest generates a "aws/request.Request" representing the +// client's request for the GetObject operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetObject for more information on using the GetObject +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetObjectRequest method. +// req, resp := client.GetObjectRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/GetObject +func (c *MediaStoreData) GetObjectRequest(input *GetObjectInput) (req *request.Request, output *GetObjectOutput) { + op := &request.Operation{ + Name: opGetObject, + HTTPMethod: "GET", + HTTPPath: "/{Path+}", + } + + if input == nil { + input = &GetObjectInput{} + } + + output = &GetObjectOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetObject API operation for AWS Elemental MediaStore Data Plane. +// +// Downloads the object at the specified path. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaStore Data Plane's +// API operation GetObject for usage and error information. +// +// Returned Error Codes: +// * ErrCodeContainerNotFoundException "ContainerNotFoundException" +// The specified container was not found for the specified account. +// +// * ErrCodeObjectNotFoundException "ObjectNotFoundException" +// Could not perform an operation on an object that does not exist. +// +// * ErrCodeRequestedRangeNotSatisfiableException "RequestedRangeNotSatisfiableException" +// The requested content range is not valid. +// +// * ErrCodeInternalServerError "InternalServerError" +// The service is temporarily unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/GetObject +func (c *MediaStoreData) GetObject(input *GetObjectInput) (*GetObjectOutput, error) { + req, out := c.GetObjectRequest(input) + return out, req.Send() +} + +// GetObjectWithContext is the same as GetObject with the addition of +// the ability to pass a context and additional request options. +// +// See GetObject for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaStoreData) GetObjectWithContext(ctx aws.Context, input *GetObjectInput, opts ...request.Option) (*GetObjectOutput, error) { + req, out := c.GetObjectRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListItems = "ListItems" + +// ListItemsRequest generates a "aws/request.Request" representing the +// client's request for the ListItems operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListItems for more information on using the ListItems +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListItemsRequest method. +// req, resp := client.ListItemsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/ListItems +func (c *MediaStoreData) ListItemsRequest(input *ListItemsInput) (req *request.Request, output *ListItemsOutput) { + op := &request.Operation{ + Name: opListItems, + HTTPMethod: "GET", + HTTPPath: "/", + } + + if input == nil { + input = &ListItemsInput{} + } + + output = &ListItemsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListItems API operation for AWS Elemental MediaStore Data Plane. +// +// Provides a list of metadata entries about folders and objects in the specified +// folder. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaStore Data Plane's +// API operation ListItems for usage and error information. +// +// Returned Error Codes: +// * ErrCodeContainerNotFoundException "ContainerNotFoundException" +// The specified container was not found for the specified account. +// +// * ErrCodeInternalServerError "InternalServerError" +// The service is temporarily unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/ListItems +func (c *MediaStoreData) ListItems(input *ListItemsInput) (*ListItemsOutput, error) { + req, out := c.ListItemsRequest(input) + return out, req.Send() +} + +// ListItemsWithContext is the same as ListItems with the addition of +// the ability to pass a context and additional request options. +// +// See ListItems for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaStoreData) ListItemsWithContext(ctx aws.Context, input *ListItemsInput, opts ...request.Option) (*ListItemsOutput, error) { + req, out := c.ListItemsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPutObject = "PutObject" + +// PutObjectRequest generates a "aws/request.Request" representing the +// client's request for the PutObject operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutObject for more information on using the PutObject +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PutObjectRequest method. +// req, resp := client.PutObjectRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/PutObject +func (c *MediaStoreData) PutObjectRequest(input *PutObjectInput) (req *request.Request, output *PutObjectOutput) { + op := &request.Operation{ + Name: opPutObject, + HTTPMethod: "PUT", + HTTPPath: "/{Path+}", + } + + if input == nil { + input = &PutObjectInput{} + } + + output = &PutObjectOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Sign.Remove(v4.SignRequestHandler) + handler := v4.BuildNamedHandler("v4.CustomSignerHandler", v4.WithUnsignedPayload) + req.Handlers.Sign.PushFrontNamed(handler) + return +} + +// PutObject API operation for AWS Elemental MediaStore Data Plane. +// +// Uploads an object to the specified path. Object sizes are limited to 10 MB. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaStore Data Plane's +// API operation PutObject for usage and error information. +// +// Returned Error Codes: +// * ErrCodeContainerNotFoundException "ContainerNotFoundException" +// The specified container was not found for the specified account. +// +// * ErrCodeInternalServerError "InternalServerError" +// The service is temporarily unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/PutObject +func (c *MediaStoreData) PutObject(input *PutObjectInput) (*PutObjectOutput, error) { + req, out := c.PutObjectRequest(input) + return out, req.Send() +} + +// PutObjectWithContext is the same as PutObject with the addition of +// the ability to pass a context and additional request options. +// +// See PutObject for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaStoreData) PutObjectWithContext(ctx aws.Context, input *PutObjectInput, opts ...request.Option) (*PutObjectOutput, error) { + req, out := c.PutObjectRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DeleteObjectRequest +type DeleteObjectInput struct { + _ struct{} `type:"structure"` + + // The path (including the file name) where the object is stored in the container. + // Format: // + // + // Path is a required field + Path *string `location:"uri" locationName:"Path" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteObjectInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteObjectInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteObjectInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteObjectInput"} + if s.Path == nil { + invalidParams.Add(request.NewErrParamRequired("Path")) + } + if s.Path != nil && len(*s.Path) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Path", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPath sets the Path field's value. +func (s *DeleteObjectInput) SetPath(v string) *DeleteObjectInput { + s.Path = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DeleteObjectResponse +type DeleteObjectOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteObjectOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteObjectOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DescribeObjectRequest +type DescribeObjectInput struct { + _ struct{} `type:"structure"` + + // The path (including the file name) where the object is stored in the container. + // Format: // + // + // Path is a required field + Path *string `location:"uri" locationName:"Path" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeObjectInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeObjectInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeObjectInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeObjectInput"} + if s.Path == nil { + invalidParams.Add(request.NewErrParamRequired("Path")) + } + if s.Path != nil && len(*s.Path) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Path", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPath sets the Path field's value. +func (s *DescribeObjectInput) SetPath(v string) *DescribeObjectInput { + s.Path = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DescribeObjectResponse +type DescribeObjectOutput struct { + _ struct{} `type:"structure"` + + // An optional CacheControl header that allows the caller to control the object's + // cache behavior. Headers can be passed in as specified in the HTTP at https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 + // (https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9). + // + // Headers with a custom user-defined value are also accepted. + CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"` + + // The length of the object in bytes. + ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"` + + // The content type of the object. + ContentType *string `location:"header" locationName:"Content-Type" type:"string"` + + // The ETag that represents a unique instance of the object. + ETag *string `location:"header" locationName:"ETag" min:"1" type:"string"` + + // The date and time that the object was last modified. + LastModified *time.Time `location:"header" locationName:"Last-Modified" type:"timestamp" timestampFormat:"rfc822"` +} + +// String returns the string representation +func (s DescribeObjectOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeObjectOutput) GoString() string { + return s.String() +} + +// SetCacheControl sets the CacheControl field's value. +func (s *DescribeObjectOutput) SetCacheControl(v string) *DescribeObjectOutput { + s.CacheControl = &v + return s +} + +// SetContentLength sets the ContentLength field's value. +func (s *DescribeObjectOutput) SetContentLength(v int64) *DescribeObjectOutput { + s.ContentLength = &v + return s +} + +// SetContentType sets the ContentType field's value. +func (s *DescribeObjectOutput) SetContentType(v string) *DescribeObjectOutput { + s.ContentType = &v + return s +} + +// SetETag sets the ETag field's value. +func (s *DescribeObjectOutput) SetETag(v string) *DescribeObjectOutput { + s.ETag = &v + return s +} + +// SetLastModified sets the LastModified field's value. +func (s *DescribeObjectOutput) SetLastModified(v time.Time) *DescribeObjectOutput { + s.LastModified = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/GetObjectRequest +type GetObjectInput struct { + _ struct{} `type:"structure"` + + // The path (including the file name) where the object is stored in the container. + // Format: // + // + // For example, to upload the file mlaw.avi to the folder path premium\canada + // in the container movies, enter the path premium/canada/mlaw.avi. + // + // Do not include the container name in this path. + // + // If the path includes any folders that don't exist yet, the service creates + // them. For example, suppose you have an existing premium/usa subfolder. If + // you specify premium/canada, the service creates a canada subfolder in the + // premium folder. You then have two subfolders, usa and canada, in the premium + // folder. + // + // There is no correlation between the path to the source and the path (folders) + // in the container in AWS Elemental MediaStore. + // + // For more information about folders and how they exist in a container, see + // the AWS Elemental MediaStore User Guide (http://docs.aws.amazon.com/mediastore/latest/ug/). + // + // The file name is the name that is assigned to the file that you upload. The + // file can have the same name inside and outside of AWS Elemental MediaStore, + // or it can have the same name. The file name can include or omit an extension. + // + // Path is a required field + Path *string `location:"uri" locationName:"Path" min:"1" type:"string" required:"true"` + + // The range bytes of an object to retrieve. For more information about the + // Range header, go to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35 + // (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35). + Range *string `location:"header" locationName:"Range" type:"string"` +} + +// String returns the string representation +func (s GetObjectInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetObjectInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetObjectInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetObjectInput"} + if s.Path == nil { + invalidParams.Add(request.NewErrParamRequired("Path")) + } + if s.Path != nil && len(*s.Path) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Path", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPath sets the Path field's value. +func (s *GetObjectInput) SetPath(v string) *GetObjectInput { + s.Path = &v + return s +} + +// SetRange sets the Range field's value. +func (s *GetObjectInput) SetRange(v string) *GetObjectInput { + s.Range = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/GetObjectResponse +type GetObjectOutput struct { + _ struct{} `type:"structure" payload:"Body"` + + // The path to the file outside of the container. The file name can include + // or omit an extension. + // + // Example 1: If the file is stored on a remote server that has been mounted + // to the workstation on which the REST API command is being run, the path could + // be the absolute path \mount\assets\mlaw.avi or the relative path ..\..\mount\assets\movies\premium\mlaw.avi. + // + // Example 2: If the file is stored on a remote server that is not mounted, + // the path could be https:\\192.0.2.15\movies\premium\mlaw.avi. + Body io.ReadCloser `type:"blob"` + + // An optional CacheControl header that allows the caller to control the object's + // cache behavior. Headers can be passed in as specified in the HTTP spec at + // https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 (https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9). + // + // Headers with a custom user-defined value are also accepted. + CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"` + + // The length of the object in bytes. + ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"` + + // The range of bytes to retrieve. + ContentRange *string `location:"header" locationName:"Content-Range" type:"string"` + + // The content type of the object. + ContentType *string `location:"header" locationName:"Content-Type" type:"string"` + + // The ETag that represents a unique instance of the object. + ETag *string `location:"header" locationName:"ETag" min:"1" type:"string"` + + // The date and time that the object was last modified. + LastModified *time.Time `location:"header" locationName:"Last-Modified" type:"timestamp" timestampFormat:"rfc822"` + + // The HTML status code of the request. Status codes ranging from 200 to 299 + // indicate success. All other status codes indicate the type of error that + // occurred. + // + // StatusCode is a required field + StatusCode *int64 `location:"statusCode" type:"integer" required:"true"` +} + +// String returns the string representation +func (s GetObjectOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetObjectOutput) GoString() string { + return s.String() +} + +// SetBody sets the Body field's value. +func (s *GetObjectOutput) SetBody(v io.ReadCloser) *GetObjectOutput { + s.Body = v + return s +} + +// SetCacheControl sets the CacheControl field's value. +func (s *GetObjectOutput) SetCacheControl(v string) *GetObjectOutput { + s.CacheControl = &v + return s +} + +// SetContentLength sets the ContentLength field's value. +func (s *GetObjectOutput) SetContentLength(v int64) *GetObjectOutput { + s.ContentLength = &v + return s +} + +// SetContentRange sets the ContentRange field's value. +func (s *GetObjectOutput) SetContentRange(v string) *GetObjectOutput { + s.ContentRange = &v + return s +} + +// SetContentType sets the ContentType field's value. +func (s *GetObjectOutput) SetContentType(v string) *GetObjectOutput { + s.ContentType = &v + return s +} + +// SetETag sets the ETag field's value. +func (s *GetObjectOutput) SetETag(v string) *GetObjectOutput { + s.ETag = &v + return s +} + +// SetLastModified sets the LastModified field's value. +func (s *GetObjectOutput) SetLastModified(v time.Time) *GetObjectOutput { + s.LastModified = &v + return s +} + +// SetStatusCode sets the StatusCode field's value. +func (s *GetObjectOutput) SetStatusCode(v int64) *GetObjectOutput { + s.StatusCode = &v + return s +} + +// A metadata entry for a folder or object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/Item +type Item struct { + _ struct{} `type:"structure"` + + // The length of the item in bytes. + ContentLength *int64 `type:"long"` + + // The content type of the item. + ContentType *string `type:"string"` + + // The ETag that represents a unique instance of the item. + ETag *string `min:"1" type:"string"` + + // The date and time that the item was last modified. + LastModified *time.Time `type:"timestamp" timestampFormat:"unix"` + + // The name of the item. + Name *string `type:"string"` + + // The item type (folder or object). + Type *string `type:"string" enum:"ItemType"` +} + +// String returns the string representation +func (s Item) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Item) GoString() string { + return s.String() +} + +// SetContentLength sets the ContentLength field's value. +func (s *Item) SetContentLength(v int64) *Item { + s.ContentLength = &v + return s +} + +// SetContentType sets the ContentType field's value. +func (s *Item) SetContentType(v string) *Item { + s.ContentType = &v + return s +} + +// SetETag sets the ETag field's value. +func (s *Item) SetETag(v string) *Item { + s.ETag = &v + return s +} + +// SetLastModified sets the LastModified field's value. +func (s *Item) SetLastModified(v time.Time) *Item { + s.LastModified = &v + return s +} + +// SetName sets the Name field's value. +func (s *Item) SetName(v string) *Item { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *Item) SetType(v string) *Item { + s.Type = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/ListItemsRequest +type ListItemsInput struct { + _ struct{} `type:"structure"` + + // The maximum results to return. The service might return fewer results. + MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` + + // The NextToken received in the ListItemsResponse for the same container and + // path. Tokens expire after 15 minutes. + NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` + + // The path in the container from which to retrieve items. Format: // + Path *string `location:"querystring" locationName:"Path" type:"string"` +} + +// String returns the string representation +func (s ListItemsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListItemsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListItemsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListItemsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListItemsInput) SetMaxResults(v int64) *ListItemsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListItemsInput) SetNextToken(v string) *ListItemsInput { + s.NextToken = &v + return s +} + +// SetPath sets the Path field's value. +func (s *ListItemsInput) SetPath(v string) *ListItemsInput { + s.Path = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/ListItemsResponse +type ListItemsOutput struct { + _ struct{} `type:"structure"` + + // Metadata entries for the folders and objects at the requested path. + Items []*Item `type:"list"` + + // The NextToken used to request the next page of results using ListItems. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s ListItemsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListItemsOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *ListItemsOutput) SetItems(v []*Item) *ListItemsOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListItemsOutput) SetNextToken(v string) *ListItemsOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/PutObjectRequest +type PutObjectInput struct { + _ struct{} `type:"structure" payload:"Body"` + + // The path to the file outside of the container. The file name can include + // or omit an extension. + // + // Example 1: If the file is stored on a remote server that has been mounted + // to the workstation on which the REST API command is being run, the path could + // be the absolute path \mount\assets\mlaw.avi or the relative path ..\..\mount\assets\movies\premium\mlaw.avi. + // + // Example 2: If the file is stored on a remote server that is not mounted, + // the path could be https:\\192.0.2.15\movies\premium\mlaw.avi. + // + // Body is a required field + Body io.ReadSeeker `type:"blob" required:"true"` + + // An optional CacheControl header that allows the caller to control the object's + // cache behavior. Headers can be passed in as specified in the HTTP at https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 + // (https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9). + // + // Headers with a custom user-defined value are also accepted. + CacheControl *string `location:"header" locationName:"Cache-Control" type:"string"` + + // The content type of the object. + ContentType *string `location:"header" locationName:"Content-Type" type:"string"` + + // The path (including the file name) where the object is stored in the container. + // Format: // + // + // For example, to upload the file mlaw.avi to the folder path premium\canada + // in the container movies, enter the path premium/canada/mlaw.avi. + // + // Do not include the container name in this path. + // + // If the path includes any folders that don't exist yet, the service creates + // them. For example, suppose you have an existing premium/usa subfolder. If + // you specify premium/canada, the service creates a canada subfolder in the + // premium folder. You then have two subfolders, usa and canada, in the premium + // folder. + // + // There is no correlation between the path to the source and the path (folders) + // in the container in AWS Elemental MediaStore. + // + // For more information about folders and how they exist in a container, see + // the AWS Elemental MediaStore User Guide (http://docs.aws.amazon.com/mediastore/latest/ug/). + // + // The file name is the name that is assigned to the file that you upload. The + // file can have the same name inside and outside of AWS Elemental MediaStore, + // or it can have the same name. The file name can include or omit an extension. + // + // Path is a required field + Path *string `location:"uri" locationName:"Path" min:"1" type:"string" required:"true"` + + // Indicates the storage class of a Put request. Defaults to high-performance + // temporal storage class, and objects are persisted into durable storage shortly + // after being received. + StorageClass *string `location:"header" locationName:"x-amz-storage-class" min:"1" type:"string" enum:"StorageClass"` +} + +// String returns the string representation +func (s PutObjectInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutObjectInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutObjectInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutObjectInput"} + if s.Body == nil { + invalidParams.Add(request.NewErrParamRequired("Body")) + } + if s.Path == nil { + invalidParams.Add(request.NewErrParamRequired("Path")) + } + if s.Path != nil && len(*s.Path) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Path", 1)) + } + if s.StorageClass != nil && len(*s.StorageClass) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StorageClass", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBody sets the Body field's value. +func (s *PutObjectInput) SetBody(v io.ReadSeeker) *PutObjectInput { + s.Body = v + return s +} + +// SetCacheControl sets the CacheControl field's value. +func (s *PutObjectInput) SetCacheControl(v string) *PutObjectInput { + s.CacheControl = &v + return s +} + +// SetContentType sets the ContentType field's value. +func (s *PutObjectInput) SetContentType(v string) *PutObjectInput { + s.ContentType = &v + return s +} + +// SetPath sets the Path field's value. +func (s *PutObjectInput) SetPath(v string) *PutObjectInput { + s.Path = &v + return s +} + +// SetStorageClass sets the StorageClass field's value. +func (s *PutObjectInput) SetStorageClass(v string) *PutObjectInput { + s.StorageClass = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/PutObjectResponse +type PutObjectOutput struct { + _ struct{} `type:"structure"` + + // The SHA256 digest of the object that is persisted. + ContentSHA256 *string `min:"64" type:"string"` + + // Unique identifier of the object in the container. + ETag *string `min:"1" type:"string"` + + // The storage class where the object was persisted. Should be “Temporal”. + StorageClass *string `min:"1" type:"string" enum:"StorageClass"` +} + +// String returns the string representation +func (s PutObjectOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutObjectOutput) GoString() string { + return s.String() +} + +// SetContentSHA256 sets the ContentSHA256 field's value. +func (s *PutObjectOutput) SetContentSHA256(v string) *PutObjectOutput { + s.ContentSHA256 = &v + return s +} + +// SetETag sets the ETag field's value. +func (s *PutObjectOutput) SetETag(v string) *PutObjectOutput { + s.ETag = &v + return s +} + +// SetStorageClass sets the StorageClass field's value. +func (s *PutObjectOutput) SetStorageClass(v string) *PutObjectOutput { + s.StorageClass = &v + return s +} + +const ( + // ItemTypeObject is a ItemType enum value + ItemTypeObject = "OBJECT" + + // ItemTypeFolder is a ItemType enum value + ItemTypeFolder = "FOLDER" +) + +const ( + // StorageClassTemporal is a StorageClass enum value + StorageClassTemporal = "TEMPORAL" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/doc.go b/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/doc.go new file mode 100644 index 00000000000..2d0c4fbeade --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/doc.go @@ -0,0 +1,30 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package mediastoredata provides the client and types for making API +// requests to AWS Elemental MediaStore Data Plane. +// +// An AWS Elemental MediaStore asset is an object, similar to an object in the +// Amazon S3 service. Objects are the fundamental entities that are stored in +// AWS Elemental MediaStore. +// +// See https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01 for more information on this service. +// +// See mediastoredata package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/mediastoredata/ +// +// Using the Client +// +// To contact AWS Elemental MediaStore Data Plane with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the AWS Elemental MediaStore Data Plane client MediaStoreData for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/mediastoredata/#New +package mediastoredata diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/errors.go b/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/errors.go new file mode 100644 index 00000000000..95f0acdbd0f --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/errors.go @@ -0,0 +1,30 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mediastoredata + +const ( + + // ErrCodeContainerNotFoundException for service response error code + // "ContainerNotFoundException". + // + // The specified container was not found for the specified account. + ErrCodeContainerNotFoundException = "ContainerNotFoundException" + + // ErrCodeInternalServerError for service response error code + // "InternalServerError". + // + // The service is temporarily unavailable. + ErrCodeInternalServerError = "InternalServerError" + + // ErrCodeObjectNotFoundException for service response error code + // "ObjectNotFoundException". + // + // Could not perform an operation on an object that does not exist. + ErrCodeObjectNotFoundException = "ObjectNotFoundException" + + // ErrCodeRequestedRangeNotSatisfiableException for service response error code + // "RequestedRangeNotSatisfiableException". + // + // The requested content range is not valid. + ErrCodeRequestedRangeNotSatisfiableException = "RequestedRangeNotSatisfiableException" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/service.go b/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/service.go new file mode 100644 index 00000000000..8947fd8ce45 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/service.go @@ -0,0 +1,96 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mediastoredata + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// MediaStoreData provides the API operation methods for making requests to +// AWS Elemental MediaStore Data Plane. See this package's package overview docs +// for details on the service. +// +// MediaStoreData methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type MediaStoreData struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "data.mediastore" // Service endpoint prefix API calls made to. + EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. +) + +// New creates a new instance of the MediaStoreData client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// // Create a MediaStoreData client from just a session. +// svc := mediastoredata.New(mySession) +// +// // Create a MediaStoreData client with additional configuration +// svc := mediastoredata.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaStoreData { + c := p.ClientConfig(EndpointsID, cfgs...) + return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *MediaStoreData { + if len(signingName) == 0 { + signingName = "mediastore" + } + svc := &MediaStoreData{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + SigningName: signingName, + SigningRegion: signingRegion, + Endpoint: endpoint, + APIVersion: "2017-09-01", + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed(restjson.UnmarshalErrorHandler) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a MediaStoreData operation and runs any +// custom request initialization. +func (c *MediaStoreData) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/mq/api.go b/vendor/github.com/aws/aws-sdk-go/service/mq/api.go new file mode 100644 index 00000000000..e09eccf20a8 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mq/api.go @@ -0,0 +1,3786 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mq + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" +) + +const opCreateBroker = "CreateBroker" + +// CreateBrokerRequest generates a "aws/request.Request" representing the +// client's request for the CreateBroker operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateBroker for more information on using the CreateBroker +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateBrokerRequest method. +// req, resp := client.CreateBrokerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateBroker +func (c *MQ) CreateBrokerRequest(input *CreateBrokerRequest) (req *request.Request, output *CreateBrokerResponse) { + op := &request.Operation{ + Name: opCreateBroker, + HTTPMethod: "POST", + HTTPPath: "/v1/brokers", + } + + if input == nil { + input = &CreateBrokerRequest{} + } + + output = &CreateBrokerResponse{} + req = c.newRequest(op, input, output) + return +} + +// CreateBroker API operation for AmazonMQ. +// +// Creates a broker. Note: This API is asynchronous. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation CreateBroker for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeUnauthorizedException "UnauthorizedException" +// Returns information about an error. +// +// * ErrCodeConflictException "ConflictException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateBroker +func (c *MQ) CreateBroker(input *CreateBrokerRequest) (*CreateBrokerResponse, error) { + req, out := c.CreateBrokerRequest(input) + return out, req.Send() +} + +// CreateBrokerWithContext is the same as CreateBroker with the addition of +// the ability to pass a context and additional request options. +// +// See CreateBroker for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) CreateBrokerWithContext(ctx aws.Context, input *CreateBrokerRequest, opts ...request.Option) (*CreateBrokerResponse, error) { + req, out := c.CreateBrokerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateConfiguration = "CreateConfiguration" + +// CreateConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the CreateConfiguration operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateConfiguration for more information on using the CreateConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateConfigurationRequest method. +// req, resp := client.CreateConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateConfiguration +func (c *MQ) CreateConfigurationRequest(input *CreateConfigurationRequest) (req *request.Request, output *CreateConfigurationResponse) { + op := &request.Operation{ + Name: opCreateConfiguration, + HTTPMethod: "POST", + HTTPPath: "/v1/configurations", + } + + if input == nil { + input = &CreateConfigurationRequest{} + } + + output = &CreateConfigurationResponse{} + req = c.newRequest(op, input, output) + return +} + +// CreateConfiguration API operation for AmazonMQ. +// +// Creates a new configuration for the specified configuration name. Amazon +// MQ uses the default configuration (the engine type and version). Note: If +// the configuration name already exists, Amazon MQ doesn't create a configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation CreateConfiguration for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeConflictException "ConflictException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateConfiguration +func (c *MQ) CreateConfiguration(input *CreateConfigurationRequest) (*CreateConfigurationResponse, error) { + req, out := c.CreateConfigurationRequest(input) + return out, req.Send() +} + +// CreateConfigurationWithContext is the same as CreateConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See CreateConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) CreateConfigurationWithContext(ctx aws.Context, input *CreateConfigurationRequest, opts ...request.Option) (*CreateConfigurationResponse, error) { + req, out := c.CreateConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateUser = "CreateUser" + +// CreateUserRequest generates a "aws/request.Request" representing the +// client's request for the CreateUser operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateUser for more information on using the CreateUser +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateUserRequest method. +// req, resp := client.CreateUserRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateUser +func (c *MQ) CreateUserRequest(input *CreateUserRequest) (req *request.Request, output *CreateUserOutput) { + op := &request.Operation{ + Name: opCreateUser, + HTTPMethod: "POST", + HTTPPath: "/v1/brokers/{broker-id}/users/{username}", + } + + if input == nil { + input = &CreateUserRequest{} + } + + output = &CreateUserOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateUser API operation for AmazonMQ. +// +// Creates an ActiveMQ user. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation CreateUser for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// Returns information about an error. +// +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeConflictException "ConflictException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateUser +func (c *MQ) CreateUser(input *CreateUserRequest) (*CreateUserOutput, error) { + req, out := c.CreateUserRequest(input) + return out, req.Send() +} + +// CreateUserWithContext is the same as CreateUser with the addition of +// the ability to pass a context and additional request options. +// +// See CreateUser for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) CreateUserWithContext(ctx aws.Context, input *CreateUserRequest, opts ...request.Option) (*CreateUserOutput, error) { + req, out := c.CreateUserRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteBroker = "DeleteBroker" + +// DeleteBrokerRequest generates a "aws/request.Request" representing the +// client's request for the DeleteBroker operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteBroker for more information on using the DeleteBroker +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteBrokerRequest method. +// req, resp := client.DeleteBrokerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteBroker +func (c *MQ) DeleteBrokerRequest(input *DeleteBrokerInput) (req *request.Request, output *DeleteBrokerResponse) { + op := &request.Operation{ + Name: opDeleteBroker, + HTTPMethod: "DELETE", + HTTPPath: "/v1/brokers/{broker-id}", + } + + if input == nil { + input = &DeleteBrokerInput{} + } + + output = &DeleteBrokerResponse{} + req = c.newRequest(op, input, output) + return +} + +// DeleteBroker API operation for AmazonMQ. +// +// Deletes a broker. Note: This API is asynchronous. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation DeleteBroker for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// Returns information about an error. +// +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteBroker +func (c *MQ) DeleteBroker(input *DeleteBrokerInput) (*DeleteBrokerResponse, error) { + req, out := c.DeleteBrokerRequest(input) + return out, req.Send() +} + +// DeleteBrokerWithContext is the same as DeleteBroker with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteBroker for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) DeleteBrokerWithContext(ctx aws.Context, input *DeleteBrokerInput, opts ...request.Option) (*DeleteBrokerResponse, error) { + req, out := c.DeleteBrokerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteUser = "DeleteUser" + +// DeleteUserRequest generates a "aws/request.Request" representing the +// client's request for the DeleteUser operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteUser for more information on using the DeleteUser +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteUserRequest method. +// req, resp := client.DeleteUserRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteUser +func (c *MQ) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { + op := &request.Operation{ + Name: opDeleteUser, + HTTPMethod: "DELETE", + HTTPPath: "/v1/brokers/{broker-id}/users/{username}", + } + + if input == nil { + input = &DeleteUserInput{} + } + + output = &DeleteUserOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteUser API operation for AmazonMQ. +// +// Deletes an ActiveMQ user. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation DeleteUser for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// Returns information about an error. +// +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteUser +func (c *MQ) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { + req, out := c.DeleteUserRequest(input) + return out, req.Send() +} + +// DeleteUserWithContext is the same as DeleteUser with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteUser for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) DeleteUserWithContext(ctx aws.Context, input *DeleteUserInput, opts ...request.Option) (*DeleteUserOutput, error) { + req, out := c.DeleteUserRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeBroker = "DescribeBroker" + +// DescribeBrokerRequest generates a "aws/request.Request" representing the +// client's request for the DescribeBroker operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeBroker for more information on using the DescribeBroker +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeBrokerRequest method. +// req, resp := client.DescribeBrokerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBroker +func (c *MQ) DescribeBrokerRequest(input *DescribeBrokerInput) (req *request.Request, output *DescribeBrokerResponse) { + op := &request.Operation{ + Name: opDescribeBroker, + HTTPMethod: "GET", + HTTPPath: "/v1/brokers/{broker-id}", + } + + if input == nil { + input = &DescribeBrokerInput{} + } + + output = &DescribeBrokerResponse{} + req = c.newRequest(op, input, output) + return +} + +// DescribeBroker API operation for AmazonMQ. +// +// Returns information about the specified broker. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation DescribeBroker for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// Returns information about an error. +// +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBroker +func (c *MQ) DescribeBroker(input *DescribeBrokerInput) (*DescribeBrokerResponse, error) { + req, out := c.DescribeBrokerRequest(input) + return out, req.Send() +} + +// DescribeBrokerWithContext is the same as DescribeBroker with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeBroker for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) DescribeBrokerWithContext(ctx aws.Context, input *DescribeBrokerInput, opts ...request.Option) (*DescribeBrokerResponse, error) { + req, out := c.DescribeBrokerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeConfiguration = "DescribeConfiguration" + +// DescribeConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the DescribeConfiguration operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeConfiguration for more information on using the DescribeConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeConfigurationRequest method. +// req, resp := client.DescribeConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfiguration +func (c *MQ) DescribeConfigurationRequest(input *DescribeConfigurationInput) (req *request.Request, output *DescribeConfigurationOutput) { + op := &request.Operation{ + Name: opDescribeConfiguration, + HTTPMethod: "GET", + HTTPPath: "/v1/configurations/{configuration-id}", + } + + if input == nil { + input = &DescribeConfigurationInput{} + } + + output = &DescribeConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeConfiguration API operation for AmazonMQ. +// +// Returns information about the specified configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation DescribeConfiguration for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// Returns information about an error. +// +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfiguration +func (c *MQ) DescribeConfiguration(input *DescribeConfigurationInput) (*DescribeConfigurationOutput, error) { + req, out := c.DescribeConfigurationRequest(input) + return out, req.Send() +} + +// DescribeConfigurationWithContext is the same as DescribeConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) DescribeConfigurationWithContext(ctx aws.Context, input *DescribeConfigurationInput, opts ...request.Option) (*DescribeConfigurationOutput, error) { + req, out := c.DescribeConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeConfigurationRevision = "DescribeConfigurationRevision" + +// DescribeConfigurationRevisionRequest generates a "aws/request.Request" representing the +// client's request for the DescribeConfigurationRevision operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeConfigurationRevision for more information on using the DescribeConfigurationRevision +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeConfigurationRevisionRequest method. +// req, resp := client.DescribeConfigurationRevisionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfigurationRevision +func (c *MQ) DescribeConfigurationRevisionRequest(input *DescribeConfigurationRevisionInput) (req *request.Request, output *DescribeConfigurationRevisionResponse) { + op := &request.Operation{ + Name: opDescribeConfigurationRevision, + HTTPMethod: "GET", + HTTPPath: "/v1/configurations/{configuration-id}/revisions/{configuration-revision}", + } + + if input == nil { + input = &DescribeConfigurationRevisionInput{} + } + + output = &DescribeConfigurationRevisionResponse{} + req = c.newRequest(op, input, output) + return +} + +// DescribeConfigurationRevision API operation for AmazonMQ. +// +// Returns the specified configuration revision for the specified configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation DescribeConfigurationRevision for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// Returns information about an error. +// +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfigurationRevision +func (c *MQ) DescribeConfigurationRevision(input *DescribeConfigurationRevisionInput) (*DescribeConfigurationRevisionResponse, error) { + req, out := c.DescribeConfigurationRevisionRequest(input) + return out, req.Send() +} + +// DescribeConfigurationRevisionWithContext is the same as DescribeConfigurationRevision with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeConfigurationRevision for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) DescribeConfigurationRevisionWithContext(ctx aws.Context, input *DescribeConfigurationRevisionInput, opts ...request.Option) (*DescribeConfigurationRevisionResponse, error) { + req, out := c.DescribeConfigurationRevisionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeUser = "DescribeUser" + +// DescribeUserRequest generates a "aws/request.Request" representing the +// client's request for the DescribeUser operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeUser for more information on using the DescribeUser +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeUserRequest method. +// req, resp := client.DescribeUserRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeUser +func (c *MQ) DescribeUserRequest(input *DescribeUserInput) (req *request.Request, output *DescribeUserResponse) { + op := &request.Operation{ + Name: opDescribeUser, + HTTPMethod: "GET", + HTTPPath: "/v1/brokers/{broker-id}/users/{username}", + } + + if input == nil { + input = &DescribeUserInput{} + } + + output = &DescribeUserResponse{} + req = c.newRequest(op, input, output) + return +} + +// DescribeUser API operation for AmazonMQ. +// +// Returns information about an ActiveMQ user. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation DescribeUser for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// Returns information about an error. +// +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeUser +func (c *MQ) DescribeUser(input *DescribeUserInput) (*DescribeUserResponse, error) { + req, out := c.DescribeUserRequest(input) + return out, req.Send() +} + +// DescribeUserWithContext is the same as DescribeUser with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeUser for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) DescribeUserWithContext(ctx aws.Context, input *DescribeUserInput, opts ...request.Option) (*DescribeUserResponse, error) { + req, out := c.DescribeUserRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListBrokers = "ListBrokers" + +// ListBrokersRequest generates a "aws/request.Request" representing the +// client's request for the ListBrokers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListBrokers for more information on using the ListBrokers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListBrokersRequest method. +// req, resp := client.ListBrokersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListBrokers +func (c *MQ) ListBrokersRequest(input *ListBrokersInput) (req *request.Request, output *ListBrokersResponse) { + op := &request.Operation{ + Name: opListBrokers, + HTTPMethod: "GET", + HTTPPath: "/v1/brokers", + } + + if input == nil { + input = &ListBrokersInput{} + } + + output = &ListBrokersResponse{} + req = c.newRequest(op, input, output) + return +} + +// ListBrokers API operation for AmazonMQ. +// +// Returns a list of all brokers. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation ListBrokers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListBrokers +func (c *MQ) ListBrokers(input *ListBrokersInput) (*ListBrokersResponse, error) { + req, out := c.ListBrokersRequest(input) + return out, req.Send() +} + +// ListBrokersWithContext is the same as ListBrokers with the addition of +// the ability to pass a context and additional request options. +// +// See ListBrokers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) ListBrokersWithContext(ctx aws.Context, input *ListBrokersInput, opts ...request.Option) (*ListBrokersResponse, error) { + req, out := c.ListBrokersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListConfigurationRevisions = "ListConfigurationRevisions" + +// ListConfigurationRevisionsRequest generates a "aws/request.Request" representing the +// client's request for the ListConfigurationRevisions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListConfigurationRevisions for more information on using the ListConfigurationRevisions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListConfigurationRevisionsRequest method. +// req, resp := client.ListConfigurationRevisionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurationRevisions +func (c *MQ) ListConfigurationRevisionsRequest(input *ListConfigurationRevisionsInput) (req *request.Request, output *ListConfigurationRevisionsResponse) { + op := &request.Operation{ + Name: opListConfigurationRevisions, + HTTPMethod: "GET", + HTTPPath: "/v1/configurations/{configuration-id}/revisions", + } + + if input == nil { + input = &ListConfigurationRevisionsInput{} + } + + output = &ListConfigurationRevisionsResponse{} + req = c.newRequest(op, input, output) + return +} + +// ListConfigurationRevisions API operation for AmazonMQ. +// +// Returns a list of all revisions for the specified configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation ListConfigurationRevisions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// Returns information about an error. +// +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurationRevisions +func (c *MQ) ListConfigurationRevisions(input *ListConfigurationRevisionsInput) (*ListConfigurationRevisionsResponse, error) { + req, out := c.ListConfigurationRevisionsRequest(input) + return out, req.Send() +} + +// ListConfigurationRevisionsWithContext is the same as ListConfigurationRevisions with the addition of +// the ability to pass a context and additional request options. +// +// See ListConfigurationRevisions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) ListConfigurationRevisionsWithContext(ctx aws.Context, input *ListConfigurationRevisionsInput, opts ...request.Option) (*ListConfigurationRevisionsResponse, error) { + req, out := c.ListConfigurationRevisionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListConfigurations = "ListConfigurations" + +// ListConfigurationsRequest generates a "aws/request.Request" representing the +// client's request for the ListConfigurations operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListConfigurations for more information on using the ListConfigurations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListConfigurationsRequest method. +// req, resp := client.ListConfigurationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurations +func (c *MQ) ListConfigurationsRequest(input *ListConfigurationsInput) (req *request.Request, output *ListConfigurationsResponse) { + op := &request.Operation{ + Name: opListConfigurations, + HTTPMethod: "GET", + HTTPPath: "/v1/configurations", + } + + if input == nil { + input = &ListConfigurationsInput{} + } + + output = &ListConfigurationsResponse{} + req = c.newRequest(op, input, output) + return +} + +// ListConfigurations API operation for AmazonMQ. +// +// Returns a list of all configurations. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation ListConfigurations for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurations +func (c *MQ) ListConfigurations(input *ListConfigurationsInput) (*ListConfigurationsResponse, error) { + req, out := c.ListConfigurationsRequest(input) + return out, req.Send() +} + +// ListConfigurationsWithContext is the same as ListConfigurations with the addition of +// the ability to pass a context and additional request options. +// +// See ListConfigurations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) ListConfigurationsWithContext(ctx aws.Context, input *ListConfigurationsInput, opts ...request.Option) (*ListConfigurationsResponse, error) { + req, out := c.ListConfigurationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListUsers = "ListUsers" + +// ListUsersRequest generates a "aws/request.Request" representing the +// client's request for the ListUsers operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListUsers for more information on using the ListUsers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListUsersRequest method. +// req, resp := client.ListUsersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListUsers +func (c *MQ) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersResponse) { + op := &request.Operation{ + Name: opListUsers, + HTTPMethod: "GET", + HTTPPath: "/v1/brokers/{broker-id}/users", + } + + if input == nil { + input = &ListUsersInput{} + } + + output = &ListUsersResponse{} + req = c.newRequest(op, input, output) + return +} + +// ListUsers API operation for AmazonMQ. +// +// Returns a list of all ActiveMQ users. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation ListUsers for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// Returns information about an error. +// +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListUsers +func (c *MQ) ListUsers(input *ListUsersInput) (*ListUsersResponse, error) { + req, out := c.ListUsersRequest(input) + return out, req.Send() +} + +// ListUsersWithContext is the same as ListUsers with the addition of +// the ability to pass a context and additional request options. +// +// See ListUsers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts ...request.Option) (*ListUsersResponse, error) { + req, out := c.ListUsersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRebootBroker = "RebootBroker" + +// RebootBrokerRequest generates a "aws/request.Request" representing the +// client's request for the RebootBroker operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RebootBroker for more information on using the RebootBroker +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RebootBrokerRequest method. +// req, resp := client.RebootBrokerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/RebootBroker +func (c *MQ) RebootBrokerRequest(input *RebootBrokerInput) (req *request.Request, output *RebootBrokerOutput) { + op := &request.Operation{ + Name: opRebootBroker, + HTTPMethod: "POST", + HTTPPath: "/v1/brokers/{broker-id}/reboot", + } + + if input == nil { + input = &RebootBrokerInput{} + } + + output = &RebootBrokerOutput{} + req = c.newRequest(op, input, output) + return +} + +// RebootBroker API operation for AmazonMQ. +// +// Reboots a broker. Note: This API is asynchronous. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation RebootBroker for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// Returns information about an error. +// +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/RebootBroker +func (c *MQ) RebootBroker(input *RebootBrokerInput) (*RebootBrokerOutput, error) { + req, out := c.RebootBrokerRequest(input) + return out, req.Send() +} + +// RebootBrokerWithContext is the same as RebootBroker with the addition of +// the ability to pass a context and additional request options. +// +// See RebootBroker for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) RebootBrokerWithContext(ctx aws.Context, input *RebootBrokerInput, opts ...request.Option) (*RebootBrokerOutput, error) { + req, out := c.RebootBrokerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateBroker = "UpdateBroker" + +// UpdateBrokerRequest generates a "aws/request.Request" representing the +// client's request for the UpdateBroker operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateBroker for more information on using the UpdateBroker +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateBrokerRequest method. +// req, resp := client.UpdateBrokerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateBroker +func (c *MQ) UpdateBrokerRequest(input *UpdateBrokerRequest) (req *request.Request, output *UpdateBrokerResponse) { + op := &request.Operation{ + Name: opUpdateBroker, + HTTPMethod: "PUT", + HTTPPath: "/v1/brokers/{broker-id}", + } + + if input == nil { + input = &UpdateBrokerRequest{} + } + + output = &UpdateBrokerResponse{} + req = c.newRequest(op, input, output) + return +} + +// UpdateBroker API operation for AmazonMQ. +// +// Adds a pending configuration change to a broker. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation UpdateBroker for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// Returns information about an error. +// +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateBroker +func (c *MQ) UpdateBroker(input *UpdateBrokerRequest) (*UpdateBrokerResponse, error) { + req, out := c.UpdateBrokerRequest(input) + return out, req.Send() +} + +// UpdateBrokerWithContext is the same as UpdateBroker with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateBroker for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) UpdateBrokerWithContext(ctx aws.Context, input *UpdateBrokerRequest, opts ...request.Option) (*UpdateBrokerResponse, error) { + req, out := c.UpdateBrokerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateConfiguration = "UpdateConfiguration" + +// UpdateConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateConfiguration operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateConfiguration for more information on using the UpdateConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateConfigurationRequest method. +// req, resp := client.UpdateConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateConfiguration +func (c *MQ) UpdateConfigurationRequest(input *UpdateConfigurationRequest) (req *request.Request, output *UpdateConfigurationResponse) { + op := &request.Operation{ + Name: opUpdateConfiguration, + HTTPMethod: "PUT", + HTTPPath: "/v1/configurations/{configuration-id}", + } + + if input == nil { + input = &UpdateConfigurationRequest{} + } + + output = &UpdateConfigurationResponse{} + req = c.newRequest(op, input, output) + return +} + +// UpdateConfiguration API operation for AmazonMQ. +// +// Updates the specified configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation UpdateConfiguration for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// Returns information about an error. +// +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeConflictException "ConflictException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateConfiguration +func (c *MQ) UpdateConfiguration(input *UpdateConfigurationRequest) (*UpdateConfigurationResponse, error) { + req, out := c.UpdateConfigurationRequest(input) + return out, req.Send() +} + +// UpdateConfigurationWithContext is the same as UpdateConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) UpdateConfigurationWithContext(ctx aws.Context, input *UpdateConfigurationRequest, opts ...request.Option) (*UpdateConfigurationResponse, error) { + req, out := c.UpdateConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateUser = "UpdateUser" + +// UpdateUserRequest generates a "aws/request.Request" representing the +// client's request for the UpdateUser operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateUser for more information on using the UpdateUser +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateUserRequest method. +// req, resp := client.UpdateUserRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateUser +func (c *MQ) UpdateUserRequest(input *UpdateUserRequest) (req *request.Request, output *UpdateUserOutput) { + op := &request.Operation{ + Name: opUpdateUser, + HTTPMethod: "PUT", + HTTPPath: "/v1/brokers/{broker-id}/users/{username}", + } + + if input == nil { + input = &UpdateUserRequest{} + } + + output = &UpdateUserOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateUser API operation for AmazonMQ. +// +// Updates the information for an ActiveMQ user. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AmazonMQ's +// API operation UpdateUser for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNotFoundException "NotFoundException" +// Returns information about an error. +// +// * ErrCodeBadRequestException "BadRequestException" +// Returns information about an error. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Returns information about an error. +// +// * ErrCodeConflictException "ConflictException" +// Returns information about an error. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Returns information about an error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateUser +func (c *MQ) UpdateUser(input *UpdateUserRequest) (*UpdateUserOutput, error) { + req, out := c.UpdateUserRequest(input) + return out, req.Send() +} + +// UpdateUserWithContext is the same as UpdateUser with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateUser for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MQ) UpdateUserWithContext(ctx aws.Context, input *UpdateUserRequest, opts ...request.Option) (*UpdateUserOutput, error) { + req, out := c.UpdateUserRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// Returns information about all brokers. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/BrokerInstance +type BrokerInstance struct { + _ struct{} `type:"structure"` + + // The URL of the broker's ActiveMQ Web Console. + ConsoleURL *string `locationName:"consoleURL" type:"string"` + + // The broker's wire-level protocol endpoints. + Endpoints []*string `locationName:"endpoints" type:"list"` +} + +// String returns the string representation +func (s BrokerInstance) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BrokerInstance) GoString() string { + return s.String() +} + +// SetConsoleURL sets the ConsoleURL field's value. +func (s *BrokerInstance) SetConsoleURL(v string) *BrokerInstance { + s.ConsoleURL = &v + return s +} + +// SetEndpoints sets the Endpoints field's value. +func (s *BrokerInstance) SetEndpoints(v []*string) *BrokerInstance { + s.Endpoints = v + return s +} + +// The Amazon Resource Name (ARN) of the broker. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/BrokerSummary +type BrokerSummary struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the broker. + BrokerArn *string `locationName:"brokerArn" type:"string"` + + // The unique ID that Amazon MQ generates for the broker. + BrokerId *string `locationName:"brokerId" type:"string"` + + // The name of the broker. This value must be unique in your AWS account, 1-50 + // characters long, must contain only letters, numbers, dashes, and underscores, + // and must not contain whitespaces, brackets, wildcard characters, or special + // characters. + BrokerName *string `locationName:"brokerName" type:"string"` + + // The status of the broker. Possible values: CREATION_IN_PROGRESS, CREATION_FAILED, + // DELETION_IN_PROGRESS, RUNNING, REBOOT_IN_PROGRESS + BrokerState *string `locationName:"brokerState" type:"string" enum:"BrokerState"` + + // Required. The deployment mode of the broker. Possible values: SINGLE_INSTANCE, + // ACTIVE_STANDBY_MULTI_AZ SINGLE_INSTANCE creates a single-instance broker + // in a single Availability Zone. ACTIVE_STANDBY_MULTI_AZ creates an active/standby + // broker for high availability. + DeploymentMode *string `locationName:"deploymentMode" type:"string" enum:"DeploymentMode"` + + // The broker's instance type. Possible values: mq.t2.micro, mq.m4.large + HostInstanceType *string `locationName:"hostInstanceType" type:"string"` +} + +// String returns the string representation +func (s BrokerSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BrokerSummary) GoString() string { + return s.String() +} + +// SetBrokerArn sets the BrokerArn field's value. +func (s *BrokerSummary) SetBrokerArn(v string) *BrokerSummary { + s.BrokerArn = &v + return s +} + +// SetBrokerId sets the BrokerId field's value. +func (s *BrokerSummary) SetBrokerId(v string) *BrokerSummary { + s.BrokerId = &v + return s +} + +// SetBrokerName sets the BrokerName field's value. +func (s *BrokerSummary) SetBrokerName(v string) *BrokerSummary { + s.BrokerName = &v + return s +} + +// SetBrokerState sets the BrokerState field's value. +func (s *BrokerSummary) SetBrokerState(v string) *BrokerSummary { + s.BrokerState = &v + return s +} + +// SetDeploymentMode sets the DeploymentMode field's value. +func (s *BrokerSummary) SetDeploymentMode(v string) *BrokerSummary { + s.DeploymentMode = &v + return s +} + +// SetHostInstanceType sets the HostInstanceType field's value. +func (s *BrokerSummary) SetHostInstanceType(v string) *BrokerSummary { + s.HostInstanceType = &v + return s +} + +// Returns information about all configurations. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/Configuration +type Configuration struct { + _ struct{} `type:"structure"` + + // Required. The ARN of the configuration. + Arn *string `locationName:"arn" type:"string"` + + // Required. The description of the configuration. + Description *string `locationName:"description" type:"string"` + + // Required. The type of broker engine. Note: Currently, Amazon MQ supports + // only ACTIVEMQ. + EngineType *string `locationName:"engineType" type:"string" enum:"EngineType"` + + // Required. The version of the broker engine. + EngineVersion *string `locationName:"engineVersion" type:"string"` + + // Required. The unique ID that Amazon MQ generates for the configuration. + Id *string `locationName:"id" type:"string"` + + // Required. The latest revision of the configuration. + LatestRevision *ConfigurationRevision `locationName:"latestRevision" type:"structure"` + + // Required. The name of the configuration. This value can contain only alphanumeric + // characters, dashes, periods, underscores, and tildes (- . _ ~). This value + // must be 1-150 characters long. + Name *string `locationName:"name" type:"string"` +} + +// String returns the string representation +func (s Configuration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Configuration) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Configuration) SetArn(v string) *Configuration { + s.Arn = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Configuration) SetDescription(v string) *Configuration { + s.Description = &v + return s +} + +// SetEngineType sets the EngineType field's value. +func (s *Configuration) SetEngineType(v string) *Configuration { + s.EngineType = &v + return s +} + +// SetEngineVersion sets the EngineVersion field's value. +func (s *Configuration) SetEngineVersion(v string) *Configuration { + s.EngineVersion = &v + return s +} + +// SetId sets the Id field's value. +func (s *Configuration) SetId(v string) *Configuration { + s.Id = &v + return s +} + +// SetLatestRevision sets the LatestRevision field's value. +func (s *Configuration) SetLatestRevision(v *ConfigurationRevision) *Configuration { + s.LatestRevision = v + return s +} + +// SetName sets the Name field's value. +func (s *Configuration) SetName(v string) *Configuration { + s.Name = &v + return s +} + +// A list of information about the configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ConfigurationId +type ConfigurationId struct { + _ struct{} `type:"structure"` + + // Required. The unique ID that Amazon MQ generates for the configuration. + Id *string `locationName:"id" type:"string"` + + // The Universally Unique Identifier (UUID) of the request. + Revision *int64 `locationName:"revision" type:"integer"` +} + +// String returns the string representation +func (s ConfigurationId) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ConfigurationId) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *ConfigurationId) SetId(v string) *ConfigurationId { + s.Id = &v + return s +} + +// SetRevision sets the Revision field's value. +func (s *ConfigurationId) SetRevision(v int64) *ConfigurationId { + s.Revision = &v + return s +} + +// Returns information about the specified configuration revision. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ConfigurationRevision +type ConfigurationRevision struct { + _ struct{} `type:"structure"` + + // The description of the configuration revision. + Description *string `locationName:"description" type:"string"` + + // Required. The revision of the configuration. + Revision *int64 `locationName:"revision" type:"integer"` +} + +// String returns the string representation +func (s ConfigurationRevision) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ConfigurationRevision) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *ConfigurationRevision) SetDescription(v string) *ConfigurationRevision { + s.Description = &v + return s +} + +// SetRevision sets the Revision field's value. +func (s *ConfigurationRevision) SetRevision(v int64) *ConfigurationRevision { + s.Revision = &v + return s +} + +// Broker configuration information +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/Configurations +type Configurations struct { + _ struct{} `type:"structure"` + + // The current configuration of the broker. + Current *ConfigurationId `locationName:"current" type:"structure"` + + // The history of configurations applied to the broker. + History []*ConfigurationId `locationName:"history" type:"list"` + + // The pending configuration of the broker. + Pending *ConfigurationId `locationName:"pending" type:"structure"` +} + +// String returns the string representation +func (s Configurations) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Configurations) GoString() string { + return s.String() +} + +// SetCurrent sets the Current field's value. +func (s *Configurations) SetCurrent(v *ConfigurationId) *Configurations { + s.Current = v + return s +} + +// SetHistory sets the History field's value. +func (s *Configurations) SetHistory(v []*ConfigurationId) *Configurations { + s.History = v + return s +} + +// SetPending sets the Pending field's value. +func (s *Configurations) SetPending(v *ConfigurationId) *Configurations { + s.Pending = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateBrokerRequest +type CreateBrokerRequest struct { + _ struct{} `type:"structure"` + + AutoMinorVersionUpgrade *bool `locationName:"autoMinorVersionUpgrade" type:"boolean"` + + BrokerName *string `locationName:"brokerName" type:"string"` + + // A list of information about the configuration. + Configuration *ConfigurationId `locationName:"configuration" type:"structure"` + + CreatorRequestId *string `locationName:"creatorRequestId" type:"string" idempotencyToken:"true"` + + // The deployment mode of the broker. Possible values: SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ + // SINGLE_INSTANCE creates a single-instance broker in a single Availability + // Zone. ACTIVE_STANDBY_MULTI_AZ creates an active/standby broker for high availability. + DeploymentMode *string `locationName:"deploymentMode" type:"string" enum:"DeploymentMode"` + + // The type of broker engine. Note: Currently, Amazon MQ supports only ActiveMQ. + EngineType *string `locationName:"engineType" type:"string" enum:"EngineType"` + + EngineVersion *string `locationName:"engineVersion" type:"string"` + + HostInstanceType *string `locationName:"hostInstanceType" type:"string"` + + // The scheduled time period relative to UTC during which Amazon MQ begins to + // apply pending updates or patches to the broker. + MaintenanceWindowStartTime *WeeklyStartTime `locationName:"maintenanceWindowStartTime" type:"structure"` + + PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"` + + SecurityGroups []*string `locationName:"securityGroups" type:"list"` + + SubnetIds []*string `locationName:"subnetIds" type:"list"` + + Users []*User `locationName:"users" type:"list"` +} + +// String returns the string representation +func (s CreateBrokerRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateBrokerRequest) GoString() string { + return s.String() +} + +// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. +func (s *CreateBrokerRequest) SetAutoMinorVersionUpgrade(v bool) *CreateBrokerRequest { + s.AutoMinorVersionUpgrade = &v + return s +} + +// SetBrokerName sets the BrokerName field's value. +func (s *CreateBrokerRequest) SetBrokerName(v string) *CreateBrokerRequest { + s.BrokerName = &v + return s +} + +// SetConfiguration sets the Configuration field's value. +func (s *CreateBrokerRequest) SetConfiguration(v *ConfigurationId) *CreateBrokerRequest { + s.Configuration = v + return s +} + +// SetCreatorRequestId sets the CreatorRequestId field's value. +func (s *CreateBrokerRequest) SetCreatorRequestId(v string) *CreateBrokerRequest { + s.CreatorRequestId = &v + return s +} + +// SetDeploymentMode sets the DeploymentMode field's value. +func (s *CreateBrokerRequest) SetDeploymentMode(v string) *CreateBrokerRequest { + s.DeploymentMode = &v + return s +} + +// SetEngineType sets the EngineType field's value. +func (s *CreateBrokerRequest) SetEngineType(v string) *CreateBrokerRequest { + s.EngineType = &v + return s +} + +// SetEngineVersion sets the EngineVersion field's value. +func (s *CreateBrokerRequest) SetEngineVersion(v string) *CreateBrokerRequest { + s.EngineVersion = &v + return s +} + +// SetHostInstanceType sets the HostInstanceType field's value. +func (s *CreateBrokerRequest) SetHostInstanceType(v string) *CreateBrokerRequest { + s.HostInstanceType = &v + return s +} + +// SetMaintenanceWindowStartTime sets the MaintenanceWindowStartTime field's value. +func (s *CreateBrokerRequest) SetMaintenanceWindowStartTime(v *WeeklyStartTime) *CreateBrokerRequest { + s.MaintenanceWindowStartTime = v + return s +} + +// SetPubliclyAccessible sets the PubliclyAccessible field's value. +func (s *CreateBrokerRequest) SetPubliclyAccessible(v bool) *CreateBrokerRequest { + s.PubliclyAccessible = &v + return s +} + +// SetSecurityGroups sets the SecurityGroups field's value. +func (s *CreateBrokerRequest) SetSecurityGroups(v []*string) *CreateBrokerRequest { + s.SecurityGroups = v + return s +} + +// SetSubnetIds sets the SubnetIds field's value. +func (s *CreateBrokerRequest) SetSubnetIds(v []*string) *CreateBrokerRequest { + s.SubnetIds = v + return s +} + +// SetUsers sets the Users field's value. +func (s *CreateBrokerRequest) SetUsers(v []*User) *CreateBrokerRequest { + s.Users = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateBrokerResponse +type CreateBrokerResponse struct { + _ struct{} `type:"structure"` + + BrokerArn *string `locationName:"brokerArn" type:"string"` + + BrokerId *string `locationName:"brokerId" type:"string"` +} + +// String returns the string representation +func (s CreateBrokerResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateBrokerResponse) GoString() string { + return s.String() +} + +// SetBrokerArn sets the BrokerArn field's value. +func (s *CreateBrokerResponse) SetBrokerArn(v string) *CreateBrokerResponse { + s.BrokerArn = &v + return s +} + +// SetBrokerId sets the BrokerId field's value. +func (s *CreateBrokerResponse) SetBrokerId(v string) *CreateBrokerResponse { + s.BrokerId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateConfigurationRequest +type CreateConfigurationRequest struct { + _ struct{} `type:"structure"` + + // The type of broker engine. Note: Currently, Amazon MQ supports only ActiveMQ. + EngineType *string `locationName:"engineType" type:"string" enum:"EngineType"` + + EngineVersion *string `locationName:"engineVersion" type:"string"` + + Name *string `locationName:"name" type:"string"` +} + +// String returns the string representation +func (s CreateConfigurationRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateConfigurationRequest) GoString() string { + return s.String() +} + +// SetEngineType sets the EngineType field's value. +func (s *CreateConfigurationRequest) SetEngineType(v string) *CreateConfigurationRequest { + s.EngineType = &v + return s +} + +// SetEngineVersion sets the EngineVersion field's value. +func (s *CreateConfigurationRequest) SetEngineVersion(v string) *CreateConfigurationRequest { + s.EngineVersion = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateConfigurationRequest) SetName(v string) *CreateConfigurationRequest { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateConfigurationResponse +type CreateConfigurationResponse struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + Id *string `locationName:"id" type:"string"` + + // Returns information about the specified configuration revision. + LatestRevision *ConfigurationRevision `locationName:"latestRevision" type:"structure"` + + Name *string `locationName:"name" type:"string"` +} + +// String returns the string representation +func (s CreateConfigurationResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateConfigurationResponse) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateConfigurationResponse) SetArn(v string) *CreateConfigurationResponse { + s.Arn = &v + return s +} + +// SetId sets the Id field's value. +func (s *CreateConfigurationResponse) SetId(v string) *CreateConfigurationResponse { + s.Id = &v + return s +} + +// SetLatestRevision sets the LatestRevision field's value. +func (s *CreateConfigurationResponse) SetLatestRevision(v *ConfigurationRevision) *CreateConfigurationResponse { + s.LatestRevision = v + return s +} + +// SetName sets the Name field's value. +func (s *CreateConfigurationResponse) SetName(v string) *CreateConfigurationResponse { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateUserResponse +type CreateUserOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s CreateUserOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateUserOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateUserRequest +type CreateUserRequest struct { + _ struct{} `type:"structure"` + + // BrokerId is a required field + BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"` + + ConsoleAccess *bool `locationName:"consoleAccess" type:"boolean"` + + Groups []*string `locationName:"groups" type:"list"` + + Password *string `locationName:"password" type:"string"` + + // Username is a required field + Username *string `location:"uri" locationName:"username" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateUserRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateUserRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateUserRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateUserRequest"} + if s.BrokerId == nil { + invalidParams.Add(request.NewErrParamRequired("BrokerId")) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBrokerId sets the BrokerId field's value. +func (s *CreateUserRequest) SetBrokerId(v string) *CreateUserRequest { + s.BrokerId = &v + return s +} + +// SetConsoleAccess sets the ConsoleAccess field's value. +func (s *CreateUserRequest) SetConsoleAccess(v bool) *CreateUserRequest { + s.ConsoleAccess = &v + return s +} + +// SetGroups sets the Groups field's value. +func (s *CreateUserRequest) SetGroups(v []*string) *CreateUserRequest { + s.Groups = v + return s +} + +// SetPassword sets the Password field's value. +func (s *CreateUserRequest) SetPassword(v string) *CreateUserRequest { + s.Password = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *CreateUserRequest) SetUsername(v string) *CreateUserRequest { + s.Username = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteBrokerRequest +type DeleteBrokerInput struct { + _ struct{} `type:"structure"` + + // BrokerId is a required field + BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteBrokerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteBrokerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteBrokerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteBrokerInput"} + if s.BrokerId == nil { + invalidParams.Add(request.NewErrParamRequired("BrokerId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBrokerId sets the BrokerId field's value. +func (s *DeleteBrokerInput) SetBrokerId(v string) *DeleteBrokerInput { + s.BrokerId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteBrokerResponse +type DeleteBrokerResponse struct { + _ struct{} `type:"structure"` + + BrokerId *string `locationName:"brokerId" type:"string"` +} + +// String returns the string representation +func (s DeleteBrokerResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteBrokerResponse) GoString() string { + return s.String() +} + +// SetBrokerId sets the BrokerId field's value. +func (s *DeleteBrokerResponse) SetBrokerId(v string) *DeleteBrokerResponse { + s.BrokerId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteUserRequest +type DeleteUserInput struct { + _ struct{} `type:"structure"` + + // BrokerId is a required field + BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"` + + // Username is a required field + Username *string `location:"uri" locationName:"username" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteUserInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteUserInput"} + if s.BrokerId == nil { + invalidParams.Add(request.NewErrParamRequired("BrokerId")) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBrokerId sets the BrokerId field's value. +func (s *DeleteUserInput) SetBrokerId(v string) *DeleteUserInput { + s.BrokerId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *DeleteUserInput) SetUsername(v string) *DeleteUserInput { + s.Username = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteUserResponse +type DeleteUserOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteUserOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteUserOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerRequest +type DescribeBrokerInput struct { + _ struct{} `type:"structure"` + + // BrokerId is a required field + BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeBrokerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeBrokerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeBrokerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeBrokerInput"} + if s.BrokerId == nil { + invalidParams.Add(request.NewErrParamRequired("BrokerId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBrokerId sets the BrokerId field's value. +func (s *DescribeBrokerInput) SetBrokerId(v string) *DescribeBrokerInput { + s.BrokerId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerResponse +type DescribeBrokerResponse struct { + _ struct{} `type:"structure"` + + AutoMinorVersionUpgrade *bool `locationName:"autoMinorVersionUpgrade" type:"boolean"` + + BrokerArn *string `locationName:"brokerArn" type:"string"` + + BrokerId *string `locationName:"brokerId" type:"string"` + + BrokerInstances []*BrokerInstance `locationName:"brokerInstances" type:"list"` + + BrokerName *string `locationName:"brokerName" type:"string"` + + // The status of the broker. Possible values: CREATION_IN_PROGRESS, CREATION_FAILED, + // DELETION_IN_PROGRESS, RUNNING, REBOOT_IN_PROGRESS + BrokerState *string `locationName:"brokerState" type:"string" enum:"BrokerState"` + + // Broker configuration information + Configurations *Configurations `locationName:"configurations" type:"structure"` + + // The deployment mode of the broker. Possible values: SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ + // SINGLE_INSTANCE creates a single-instance broker in a single Availability + // Zone. ACTIVE_STANDBY_MULTI_AZ creates an active/standby broker for high availability. + DeploymentMode *string `locationName:"deploymentMode" type:"string" enum:"DeploymentMode"` + + // The type of broker engine. Note: Currently, Amazon MQ supports only ActiveMQ. + EngineType *string `locationName:"engineType" type:"string" enum:"EngineType"` + + EngineVersion *string `locationName:"engineVersion" type:"string"` + + HostInstanceType *string `locationName:"hostInstanceType" type:"string"` + + // The scheduled time period relative to UTC during which Amazon MQ begins to + // apply pending updates or patches to the broker. + MaintenanceWindowStartTime *WeeklyStartTime `locationName:"maintenanceWindowStartTime" type:"structure"` + + PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"` + + SecurityGroups []*string `locationName:"securityGroups" type:"list"` + + SubnetIds []*string `locationName:"subnetIds" type:"list"` + + Users []*UserSummary `locationName:"users" type:"list"` +} + +// String returns the string representation +func (s DescribeBrokerResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeBrokerResponse) GoString() string { + return s.String() +} + +// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. +func (s *DescribeBrokerResponse) SetAutoMinorVersionUpgrade(v bool) *DescribeBrokerResponse { + s.AutoMinorVersionUpgrade = &v + return s +} + +// SetBrokerArn sets the BrokerArn field's value. +func (s *DescribeBrokerResponse) SetBrokerArn(v string) *DescribeBrokerResponse { + s.BrokerArn = &v + return s +} + +// SetBrokerId sets the BrokerId field's value. +func (s *DescribeBrokerResponse) SetBrokerId(v string) *DescribeBrokerResponse { + s.BrokerId = &v + return s +} + +// SetBrokerInstances sets the BrokerInstances field's value. +func (s *DescribeBrokerResponse) SetBrokerInstances(v []*BrokerInstance) *DescribeBrokerResponse { + s.BrokerInstances = v + return s +} + +// SetBrokerName sets the BrokerName field's value. +func (s *DescribeBrokerResponse) SetBrokerName(v string) *DescribeBrokerResponse { + s.BrokerName = &v + return s +} + +// SetBrokerState sets the BrokerState field's value. +func (s *DescribeBrokerResponse) SetBrokerState(v string) *DescribeBrokerResponse { + s.BrokerState = &v + return s +} + +// SetConfigurations sets the Configurations field's value. +func (s *DescribeBrokerResponse) SetConfigurations(v *Configurations) *DescribeBrokerResponse { + s.Configurations = v + return s +} + +// SetDeploymentMode sets the DeploymentMode field's value. +func (s *DescribeBrokerResponse) SetDeploymentMode(v string) *DescribeBrokerResponse { + s.DeploymentMode = &v + return s +} + +// SetEngineType sets the EngineType field's value. +func (s *DescribeBrokerResponse) SetEngineType(v string) *DescribeBrokerResponse { + s.EngineType = &v + return s +} + +// SetEngineVersion sets the EngineVersion field's value. +func (s *DescribeBrokerResponse) SetEngineVersion(v string) *DescribeBrokerResponse { + s.EngineVersion = &v + return s +} + +// SetHostInstanceType sets the HostInstanceType field's value. +func (s *DescribeBrokerResponse) SetHostInstanceType(v string) *DescribeBrokerResponse { + s.HostInstanceType = &v + return s +} + +// SetMaintenanceWindowStartTime sets the MaintenanceWindowStartTime field's value. +func (s *DescribeBrokerResponse) SetMaintenanceWindowStartTime(v *WeeklyStartTime) *DescribeBrokerResponse { + s.MaintenanceWindowStartTime = v + return s +} + +// SetPubliclyAccessible sets the PubliclyAccessible field's value. +func (s *DescribeBrokerResponse) SetPubliclyAccessible(v bool) *DescribeBrokerResponse { + s.PubliclyAccessible = &v + return s +} + +// SetSecurityGroups sets the SecurityGroups field's value. +func (s *DescribeBrokerResponse) SetSecurityGroups(v []*string) *DescribeBrokerResponse { + s.SecurityGroups = v + return s +} + +// SetSubnetIds sets the SubnetIds field's value. +func (s *DescribeBrokerResponse) SetSubnetIds(v []*string) *DescribeBrokerResponse { + s.SubnetIds = v + return s +} + +// SetUsers sets the Users field's value. +func (s *DescribeBrokerResponse) SetUsers(v []*UserSummary) *DescribeBrokerResponse { + s.Users = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfigurationRequest +type DescribeConfigurationInput struct { + _ struct{} `type:"structure"` + + // ConfigurationId is a required field + ConfigurationId *string `location:"uri" locationName:"configuration-id" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeConfigurationInput"} + if s.ConfigurationId == nil { + invalidParams.Add(request.NewErrParamRequired("ConfigurationId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfigurationId sets the ConfigurationId field's value. +func (s *DescribeConfigurationInput) SetConfigurationId(v string) *DescribeConfigurationInput { + s.ConfigurationId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfigurationResponse +type DescribeConfigurationOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + Description *string `locationName:"description" type:"string"` + + // The type of broker engine. Note: Currently, Amazon MQ supports only ActiveMQ. + EngineType *string `locationName:"engineType" type:"string" enum:"EngineType"` + + EngineVersion *string `locationName:"engineVersion" type:"string"` + + Id *string `locationName:"id" type:"string"` + + // Returns information about the specified configuration revision. + LatestRevision *ConfigurationRevision `locationName:"latestRevision" type:"structure"` + + Name *string `locationName:"name" type:"string"` +} + +// String returns the string representation +func (s DescribeConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeConfigurationOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DescribeConfigurationOutput) SetArn(v string) *DescribeConfigurationOutput { + s.Arn = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *DescribeConfigurationOutput) SetDescription(v string) *DescribeConfigurationOutput { + s.Description = &v + return s +} + +// SetEngineType sets the EngineType field's value. +func (s *DescribeConfigurationOutput) SetEngineType(v string) *DescribeConfigurationOutput { + s.EngineType = &v + return s +} + +// SetEngineVersion sets the EngineVersion field's value. +func (s *DescribeConfigurationOutput) SetEngineVersion(v string) *DescribeConfigurationOutput { + s.EngineVersion = &v + return s +} + +// SetId sets the Id field's value. +func (s *DescribeConfigurationOutput) SetId(v string) *DescribeConfigurationOutput { + s.Id = &v + return s +} + +// SetLatestRevision sets the LatestRevision field's value. +func (s *DescribeConfigurationOutput) SetLatestRevision(v *ConfigurationRevision) *DescribeConfigurationOutput { + s.LatestRevision = v + return s +} + +// SetName sets the Name field's value. +func (s *DescribeConfigurationOutput) SetName(v string) *DescribeConfigurationOutput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfigurationRevisionRequest +type DescribeConfigurationRevisionInput struct { + _ struct{} `type:"structure"` + + // ConfigurationId is a required field + ConfigurationId *string `location:"uri" locationName:"configuration-id" type:"string" required:"true"` + + // ConfigurationRevision is a required field + ConfigurationRevision *string `location:"uri" locationName:"configuration-revision" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeConfigurationRevisionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeConfigurationRevisionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeConfigurationRevisionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeConfigurationRevisionInput"} + if s.ConfigurationId == nil { + invalidParams.Add(request.NewErrParamRequired("ConfigurationId")) + } + if s.ConfigurationRevision == nil { + invalidParams.Add(request.NewErrParamRequired("ConfigurationRevision")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfigurationId sets the ConfigurationId field's value. +func (s *DescribeConfigurationRevisionInput) SetConfigurationId(v string) *DescribeConfigurationRevisionInput { + s.ConfigurationId = &v + return s +} + +// SetConfigurationRevision sets the ConfigurationRevision field's value. +func (s *DescribeConfigurationRevisionInput) SetConfigurationRevision(v string) *DescribeConfigurationRevisionInput { + s.ConfigurationRevision = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfigurationRevisionResponse +type DescribeConfigurationRevisionResponse struct { + _ struct{} `type:"structure"` + + ConfigurationId *string `locationName:"configurationId" type:"string"` + + Data *string `locationName:"data" type:"string"` + + Description *string `locationName:"description" type:"string"` +} + +// String returns the string representation +func (s DescribeConfigurationRevisionResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeConfigurationRevisionResponse) GoString() string { + return s.String() +} + +// SetConfigurationId sets the ConfigurationId field's value. +func (s *DescribeConfigurationRevisionResponse) SetConfigurationId(v string) *DescribeConfigurationRevisionResponse { + s.ConfigurationId = &v + return s +} + +// SetData sets the Data field's value. +func (s *DescribeConfigurationRevisionResponse) SetData(v string) *DescribeConfigurationRevisionResponse { + s.Data = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *DescribeConfigurationRevisionResponse) SetDescription(v string) *DescribeConfigurationRevisionResponse { + s.Description = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeUserRequest +type DescribeUserInput struct { + _ struct{} `type:"structure"` + + // BrokerId is a required field + BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"` + + // Username is a required field + Username *string `location:"uri" locationName:"username" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeUserInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeUserInput"} + if s.BrokerId == nil { + invalidParams.Add(request.NewErrParamRequired("BrokerId")) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBrokerId sets the BrokerId field's value. +func (s *DescribeUserInput) SetBrokerId(v string) *DescribeUserInput { + s.BrokerId = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *DescribeUserInput) SetUsername(v string) *DescribeUserInput { + s.Username = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeUserResponse +type DescribeUserResponse struct { + _ struct{} `type:"structure"` + + BrokerId *string `locationName:"brokerId" type:"string"` + + ConsoleAccess *bool `locationName:"consoleAccess" type:"boolean"` + + Groups []*string `locationName:"groups" type:"list"` + + // Returns information about the status of the changes pending for the ActiveMQ + // user. + Pending *UserPendingChanges `locationName:"pending" type:"structure"` + + Username *string `locationName:"username" type:"string"` +} + +// String returns the string representation +func (s DescribeUserResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeUserResponse) GoString() string { + return s.String() +} + +// SetBrokerId sets the BrokerId field's value. +func (s *DescribeUserResponse) SetBrokerId(v string) *DescribeUserResponse { + s.BrokerId = &v + return s +} + +// SetConsoleAccess sets the ConsoleAccess field's value. +func (s *DescribeUserResponse) SetConsoleAccess(v bool) *DescribeUserResponse { + s.ConsoleAccess = &v + return s +} + +// SetGroups sets the Groups field's value. +func (s *DescribeUserResponse) SetGroups(v []*string) *DescribeUserResponse { + s.Groups = v + return s +} + +// SetPending sets the Pending field's value. +func (s *DescribeUserResponse) SetPending(v *UserPendingChanges) *DescribeUserResponse { + s.Pending = v + return s +} + +// SetUsername sets the Username field's value. +func (s *DescribeUserResponse) SetUsername(v string) *DescribeUserResponse { + s.Username = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListBrokersRequest +type ListBrokersInput struct { + _ struct{} `type:"structure"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListBrokersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListBrokersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListBrokersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListBrokersInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListBrokersInput) SetMaxResults(v int64) *ListBrokersInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListBrokersInput) SetNextToken(v string) *ListBrokersInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListBrokersResponse +type ListBrokersResponse struct { + _ struct{} `type:"structure"` + + BrokerSummaries []*BrokerSummary `locationName:"brokerSummaries" type:"list"` + + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListBrokersResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListBrokersResponse) GoString() string { + return s.String() +} + +// SetBrokerSummaries sets the BrokerSummaries field's value. +func (s *ListBrokersResponse) SetBrokerSummaries(v []*BrokerSummary) *ListBrokersResponse { + s.BrokerSummaries = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListBrokersResponse) SetNextToken(v string) *ListBrokersResponse { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurationRevisionsRequest +type ListConfigurationRevisionsInput struct { + _ struct{} `type:"structure"` + + // ConfigurationId is a required field + ConfigurationId *string `location:"uri" locationName:"configuration-id" type:"string" required:"true"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListConfigurationRevisionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListConfigurationRevisionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListConfigurationRevisionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListConfigurationRevisionsInput"} + if s.ConfigurationId == nil { + invalidParams.Add(request.NewErrParamRequired("ConfigurationId")) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfigurationId sets the ConfigurationId field's value. +func (s *ListConfigurationRevisionsInput) SetConfigurationId(v string) *ListConfigurationRevisionsInput { + s.ConfigurationId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListConfigurationRevisionsInput) SetMaxResults(v int64) *ListConfigurationRevisionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListConfigurationRevisionsInput) SetNextToken(v string) *ListConfigurationRevisionsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurationRevisionsResponse +type ListConfigurationRevisionsResponse struct { + _ struct{} `type:"structure"` + + ConfigurationId *string `locationName:"configurationId" type:"string"` + + MaxResults *int64 `locationName:"maxResults" type:"integer"` + + NextToken *string `locationName:"nextToken" type:"string"` + + Revisions []*ConfigurationRevision `locationName:"revisions" type:"list"` +} + +// String returns the string representation +func (s ListConfigurationRevisionsResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListConfigurationRevisionsResponse) GoString() string { + return s.String() +} + +// SetConfigurationId sets the ConfigurationId field's value. +func (s *ListConfigurationRevisionsResponse) SetConfigurationId(v string) *ListConfigurationRevisionsResponse { + s.ConfigurationId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListConfigurationRevisionsResponse) SetMaxResults(v int64) *ListConfigurationRevisionsResponse { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListConfigurationRevisionsResponse) SetNextToken(v string) *ListConfigurationRevisionsResponse { + s.NextToken = &v + return s +} + +// SetRevisions sets the Revisions field's value. +func (s *ListConfigurationRevisionsResponse) SetRevisions(v []*ConfigurationRevision) *ListConfigurationRevisionsResponse { + s.Revisions = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurationsRequest +type ListConfigurationsInput struct { + _ struct{} `type:"structure"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListConfigurationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListConfigurationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListConfigurationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListConfigurationsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListConfigurationsInput) SetMaxResults(v int64) *ListConfigurationsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListConfigurationsInput) SetNextToken(v string) *ListConfigurationsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurationsResponse +type ListConfigurationsResponse struct { + _ struct{} `type:"structure"` + + Configurations []*Configuration `locationName:"configurations" type:"list"` + + MaxResults *int64 `locationName:"maxResults" type:"integer"` + + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListConfigurationsResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListConfigurationsResponse) GoString() string { + return s.String() +} + +// SetConfigurations sets the Configurations field's value. +func (s *ListConfigurationsResponse) SetConfigurations(v []*Configuration) *ListConfigurationsResponse { + s.Configurations = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListConfigurationsResponse) SetMaxResults(v int64) *ListConfigurationsResponse { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListConfigurationsResponse) SetNextToken(v string) *ListConfigurationsResponse { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListUsersRequest +type ListUsersInput struct { + _ struct{} `type:"structure"` + + // BrokerId is a required field + BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListUsersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListUsersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListUsersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListUsersInput"} + if s.BrokerId == nil { + invalidParams.Add(request.NewErrParamRequired("BrokerId")) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBrokerId sets the BrokerId field's value. +func (s *ListUsersInput) SetBrokerId(v string) *ListUsersInput { + s.BrokerId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListUsersResponse +type ListUsersResponse struct { + _ struct{} `type:"structure"` + + BrokerId *string `locationName:"brokerId" type:"string"` + + MaxResults *int64 `locationName:"maxResults" type:"integer"` + + NextToken *string `locationName:"nextToken" type:"string"` + + Users []*UserSummary `locationName:"users" type:"list"` +} + +// String returns the string representation +func (s ListUsersResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListUsersResponse) GoString() string { + return s.String() +} + +// SetBrokerId sets the BrokerId field's value. +func (s *ListUsersResponse) SetBrokerId(v string) *ListUsersResponse { + s.BrokerId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListUsersResponse) SetMaxResults(v int64) *ListUsersResponse { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListUsersResponse) SetNextToken(v string) *ListUsersResponse { + s.NextToken = &v + return s +} + +// SetUsers sets the Users field's value. +func (s *ListUsersResponse) SetUsers(v []*UserSummary) *ListUsersResponse { + s.Users = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/RebootBrokerRequest +type RebootBrokerInput struct { + _ struct{} `type:"structure"` + + // BrokerId is a required field + BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"` +} + +// String returns the string representation +func (s RebootBrokerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RebootBrokerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RebootBrokerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RebootBrokerInput"} + if s.BrokerId == nil { + invalidParams.Add(request.NewErrParamRequired("BrokerId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBrokerId sets the BrokerId field's value. +func (s *RebootBrokerInput) SetBrokerId(v string) *RebootBrokerInput { + s.BrokerId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/RebootBrokerResponse +type RebootBrokerOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s RebootBrokerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RebootBrokerOutput) GoString() string { + return s.String() +} + +// Returns information about the XML element or attribute that was sanitized +// in the configuration. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/SanitizationWarning +type SanitizationWarning struct { + _ struct{} `type:"structure"` + + // The name of the XML attribute that has been sanitized. + AttributeName *string `locationName:"attributeName" type:"string"` + + // The name of the XML element that has been sanitized. + ElementName *string `locationName:"elementName" type:"string"` + + // Required. The reason for which the XML elements or attributes were sanitized. + // Possible values: DISALLOWED_ELEMENT_REMOVED, DISALLOWED_ATTRIBUTE_REMOVED, + // INVALID_ATTRIBUTE_VALUE_REMOVED DISALLOWED_ELEMENT_REMOVED shows that the + // provided element isn't allowed and has been removed. DISALLOWED_ATTRIBUTE_REMOVED + // shows that the provided attribute isn't allowed and has been removed. INVALID_ATTRIBUTE_VALUE_REMOVED + // shows that the provided value for the attribute isn't allowed and has been + // removed. + Reason *string `locationName:"reason" type:"string" enum:"SanitizationWarningReason"` +} + +// String returns the string representation +func (s SanitizationWarning) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SanitizationWarning) GoString() string { + return s.String() +} + +// SetAttributeName sets the AttributeName field's value. +func (s *SanitizationWarning) SetAttributeName(v string) *SanitizationWarning { + s.AttributeName = &v + return s +} + +// SetElementName sets the ElementName field's value. +func (s *SanitizationWarning) SetElementName(v string) *SanitizationWarning { + s.ElementName = &v + return s +} + +// SetReason sets the Reason field's value. +func (s *SanitizationWarning) SetReason(v string) *SanitizationWarning { + s.Reason = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateBrokerRequest +type UpdateBrokerRequest struct { + _ struct{} `type:"structure"` + + // BrokerId is a required field + BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"` + + // A list of information about the configuration. + Configuration *ConfigurationId `locationName:"configuration" type:"structure"` +} + +// String returns the string representation +func (s UpdateBrokerRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateBrokerRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateBrokerRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateBrokerRequest"} + if s.BrokerId == nil { + invalidParams.Add(request.NewErrParamRequired("BrokerId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBrokerId sets the BrokerId field's value. +func (s *UpdateBrokerRequest) SetBrokerId(v string) *UpdateBrokerRequest { + s.BrokerId = &v + return s +} + +// SetConfiguration sets the Configuration field's value. +func (s *UpdateBrokerRequest) SetConfiguration(v *ConfigurationId) *UpdateBrokerRequest { + s.Configuration = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateBrokerResponse +type UpdateBrokerResponse struct { + _ struct{} `type:"structure"` + + BrokerId *string `locationName:"brokerId" type:"string"` + + // A list of information about the configuration. + Configuration *ConfigurationId `locationName:"configuration" type:"structure"` +} + +// String returns the string representation +func (s UpdateBrokerResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateBrokerResponse) GoString() string { + return s.String() +} + +// SetBrokerId sets the BrokerId field's value. +func (s *UpdateBrokerResponse) SetBrokerId(v string) *UpdateBrokerResponse { + s.BrokerId = &v + return s +} + +// SetConfiguration sets the Configuration field's value. +func (s *UpdateBrokerResponse) SetConfiguration(v *ConfigurationId) *UpdateBrokerResponse { + s.Configuration = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateConfigurationRequest +type UpdateConfigurationRequest struct { + _ struct{} `type:"structure"` + + // ConfigurationId is a required field + ConfigurationId *string `location:"uri" locationName:"configuration-id" type:"string" required:"true"` + + Data *string `locationName:"data" type:"string"` + + Description *string `locationName:"description" type:"string"` +} + +// String returns the string representation +func (s UpdateConfigurationRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateConfigurationRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateConfigurationRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateConfigurationRequest"} + if s.ConfigurationId == nil { + invalidParams.Add(request.NewErrParamRequired("ConfigurationId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfigurationId sets the ConfigurationId field's value. +func (s *UpdateConfigurationRequest) SetConfigurationId(v string) *UpdateConfigurationRequest { + s.ConfigurationId = &v + return s +} + +// SetData sets the Data field's value. +func (s *UpdateConfigurationRequest) SetData(v string) *UpdateConfigurationRequest { + s.Data = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateConfigurationRequest) SetDescription(v string) *UpdateConfigurationRequest { + s.Description = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateConfigurationResponse +type UpdateConfigurationResponse struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + Id *string `locationName:"id" type:"string"` + + // Returns information about the specified configuration revision. + LatestRevision *ConfigurationRevision `locationName:"latestRevision" type:"structure"` + + Name *string `locationName:"name" type:"string"` + + Warnings []*SanitizationWarning `locationName:"warnings" type:"list"` +} + +// String returns the string representation +func (s UpdateConfigurationResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateConfigurationResponse) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *UpdateConfigurationResponse) SetArn(v string) *UpdateConfigurationResponse { + s.Arn = &v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateConfigurationResponse) SetId(v string) *UpdateConfigurationResponse { + s.Id = &v + return s +} + +// SetLatestRevision sets the LatestRevision field's value. +func (s *UpdateConfigurationResponse) SetLatestRevision(v *ConfigurationRevision) *UpdateConfigurationResponse { + s.LatestRevision = v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateConfigurationResponse) SetName(v string) *UpdateConfigurationResponse { + s.Name = &v + return s +} + +// SetWarnings sets the Warnings field's value. +func (s *UpdateConfigurationResponse) SetWarnings(v []*SanitizationWarning) *UpdateConfigurationResponse { + s.Warnings = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateUserResponse +type UpdateUserOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateUserOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateUserOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateUserRequest +type UpdateUserRequest struct { + _ struct{} `type:"structure"` + + // BrokerId is a required field + BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"` + + ConsoleAccess *bool `locationName:"consoleAccess" type:"boolean"` + + Groups []*string `locationName:"groups" type:"list"` + + Password *string `locationName:"password" type:"string"` + + // Username is a required field + Username *string `location:"uri" locationName:"username" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateUserRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateUserRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateUserRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateUserRequest"} + if s.BrokerId == nil { + invalidParams.Add(request.NewErrParamRequired("BrokerId")) + } + if s.Username == nil { + invalidParams.Add(request.NewErrParamRequired("Username")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBrokerId sets the BrokerId field's value. +func (s *UpdateUserRequest) SetBrokerId(v string) *UpdateUserRequest { + s.BrokerId = &v + return s +} + +// SetConsoleAccess sets the ConsoleAccess field's value. +func (s *UpdateUserRequest) SetConsoleAccess(v bool) *UpdateUserRequest { + s.ConsoleAccess = &v + return s +} + +// SetGroups sets the Groups field's value. +func (s *UpdateUserRequest) SetGroups(v []*string) *UpdateUserRequest { + s.Groups = v + return s +} + +// SetPassword sets the Password field's value. +func (s *UpdateUserRequest) SetPassword(v string) *UpdateUserRequest { + s.Password = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *UpdateUserRequest) SetUsername(v string) *UpdateUserRequest { + s.Username = &v + return s +} + +// An ActiveMQ user associated with the broker. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/User +type User struct { + _ struct{} `type:"structure"` + + // Enables access to the the ActiveMQ Web Console for the ActiveMQ user. + ConsoleAccess *bool `locationName:"consoleAccess" type:"boolean"` + + // The list of groups (20 maximum) to which the ActiveMQ user belongs. This + // value can contain only alphanumeric characters, dashes, periods, underscores, + // and tildes (- . _ ~). This value must be 2-100 characters long. + Groups []*string `locationName:"groups" type:"list"` + + // Required. The password of the ActiveMQ user. This value must be at least + // 12 characters long, must contain at least 4 unique characters, and must not + // contain commas. + Password *string `locationName:"password" type:"string"` + + // Required. The username of the ActiveMQ user. This value can contain only + // alphanumeric characters, dashes, periods, underscores, and tildes (- . _ + // ~). This value must be 2-100 characters long. + Username *string `locationName:"username" type:"string"` +} + +// String returns the string representation +func (s User) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s User) GoString() string { + return s.String() +} + +// SetConsoleAccess sets the ConsoleAccess field's value. +func (s *User) SetConsoleAccess(v bool) *User { + s.ConsoleAccess = &v + return s +} + +// SetGroups sets the Groups field's value. +func (s *User) SetGroups(v []*string) *User { + s.Groups = v + return s +} + +// SetPassword sets the Password field's value. +func (s *User) SetPassword(v string) *User { + s.Password = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *User) SetUsername(v string) *User { + s.Username = &v + return s +} + +// Returns information about the status of the changes pending for the ActiveMQ +// user. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UserPendingChanges +type UserPendingChanges struct { + _ struct{} `type:"structure"` + + // Enables access to the the ActiveMQ Web Console for the ActiveMQ user. + ConsoleAccess *bool `locationName:"consoleAccess" type:"boolean"` + + // The list of groups (20 maximum) to which the ActiveMQ user belongs. This + // value can contain only alphanumeric characters, dashes, periods, underscores, + // and tildes (- . _ ~). This value must be 2-100 characters long. + Groups []*string `locationName:"groups" type:"list"` + + // Required. The type of change pending for the ActiveMQ user. Possible values: + // CREATE, UPDATE, DELETE + PendingChange *string `locationName:"pendingChange" type:"string" enum:"ChangeType"` +} + +// String returns the string representation +func (s UserPendingChanges) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UserPendingChanges) GoString() string { + return s.String() +} + +// SetConsoleAccess sets the ConsoleAccess field's value. +func (s *UserPendingChanges) SetConsoleAccess(v bool) *UserPendingChanges { + s.ConsoleAccess = &v + return s +} + +// SetGroups sets the Groups field's value. +func (s *UserPendingChanges) SetGroups(v []*string) *UserPendingChanges { + s.Groups = v + return s +} + +// SetPendingChange sets the PendingChange field's value. +func (s *UserPendingChanges) SetPendingChange(v string) *UserPendingChanges { + s.PendingChange = &v + return s +} + +// Returns a list of all ActiveMQ users. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UserSummary +type UserSummary struct { + _ struct{} `type:"structure"` + + // The type of change pending for the ActiveMQ user. Possible values: CREATE, + // UPDATE, DELETE + PendingChange *string `locationName:"pendingChange" type:"string" enum:"ChangeType"` + + // Required. The username of the ActiveMQ user. This value can contain only + // alphanumeric characters, dashes, periods, underscores, and tildes (- . _ + // ~). This value must be 2-100 characters long. + Username *string `locationName:"username" type:"string"` +} + +// String returns the string representation +func (s UserSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UserSummary) GoString() string { + return s.String() +} + +// SetPendingChange sets the PendingChange field's value. +func (s *UserSummary) SetPendingChange(v string) *UserSummary { + s.PendingChange = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *UserSummary) SetUsername(v string) *UserSummary { + s.Username = &v + return s +} + +// The scheduled time period relative to UTC during which Amazon MQ begins to +// apply pending updates or patches to the broker. +// See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/WeeklyStartTime +type WeeklyStartTime struct { + _ struct{} `type:"structure"` + + // Required. The day of the week. Possible values: MONDAY, TUESDAY, WEDNESDAY, + // THURSDAY, FRIDAY, SATURDAY, SUNDAY + DayOfWeek *string `locationName:"dayOfWeek" type:"string" enum:"DayOfWeek"` + + // Required. The time, in 24-hour format. + TimeOfDay *string `locationName:"timeOfDay" type:"string"` + + // The time zone, UTC by default, in either the Country/City format, or the + // UTC offset format. + TimeZone *string `locationName:"timeZone" type:"string"` +} + +// String returns the string representation +func (s WeeklyStartTime) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WeeklyStartTime) GoString() string { + return s.String() +} + +// SetDayOfWeek sets the DayOfWeek field's value. +func (s *WeeklyStartTime) SetDayOfWeek(v string) *WeeklyStartTime { + s.DayOfWeek = &v + return s +} + +// SetTimeOfDay sets the TimeOfDay field's value. +func (s *WeeklyStartTime) SetTimeOfDay(v string) *WeeklyStartTime { + s.TimeOfDay = &v + return s +} + +// SetTimeZone sets the TimeZone field's value. +func (s *WeeklyStartTime) SetTimeZone(v string) *WeeklyStartTime { + s.TimeZone = &v + return s +} + +// The status of the broker. Possible values: CREATION_IN_PROGRESS, CREATION_FAILED, +// DELETION_IN_PROGRESS, RUNNING, REBOOT_IN_PROGRESS +const ( + // BrokerStateCreationInProgress is a BrokerState enum value + BrokerStateCreationInProgress = "CREATION_IN_PROGRESS" + + // BrokerStateCreationFailed is a BrokerState enum value + BrokerStateCreationFailed = "CREATION_FAILED" + + // BrokerStateDeletionInProgress is a BrokerState enum value + BrokerStateDeletionInProgress = "DELETION_IN_PROGRESS" + + // BrokerStateRunning is a BrokerState enum value + BrokerStateRunning = "RUNNING" + + // BrokerStateRebootInProgress is a BrokerState enum value + BrokerStateRebootInProgress = "REBOOT_IN_PROGRESS" +) + +// The type of change pending for the ActiveMQ user. Possible values: CREATE, +// UPDATE, DELETE +const ( + // ChangeTypeCreate is a ChangeType enum value + ChangeTypeCreate = "CREATE" + + // ChangeTypeUpdate is a ChangeType enum value + ChangeTypeUpdate = "UPDATE" + + // ChangeTypeDelete is a ChangeType enum value + ChangeTypeDelete = "DELETE" +) + +const ( + // DayOfWeekMonday is a DayOfWeek enum value + DayOfWeekMonday = "MONDAY" + + // DayOfWeekTuesday is a DayOfWeek enum value + DayOfWeekTuesday = "TUESDAY" + + // DayOfWeekWednesday is a DayOfWeek enum value + DayOfWeekWednesday = "WEDNESDAY" + + // DayOfWeekThursday is a DayOfWeek enum value + DayOfWeekThursday = "THURSDAY" + + // DayOfWeekFriday is a DayOfWeek enum value + DayOfWeekFriday = "FRIDAY" + + // DayOfWeekSaturday is a DayOfWeek enum value + DayOfWeekSaturday = "SATURDAY" + + // DayOfWeekSunday is a DayOfWeek enum value + DayOfWeekSunday = "SUNDAY" +) + +// The deployment mode of the broker. Possible values: SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ +// SINGLE_INSTANCE creates a single-instance broker in a single Availability +// Zone. ACTIVE_STANDBY_MULTI_AZ creates an active/standby broker for high availability. +const ( + // DeploymentModeSingleInstance is a DeploymentMode enum value + DeploymentModeSingleInstance = "SINGLE_INSTANCE" + + // DeploymentModeActiveStandbyMultiAz is a DeploymentMode enum value + DeploymentModeActiveStandbyMultiAz = "ACTIVE_STANDBY_MULTI_AZ" +) + +// The type of broker engine. Note: Currently, Amazon MQ supports only ActiveMQ. +const ( + // EngineTypeActivemq is a EngineType enum value + EngineTypeActivemq = "ACTIVEMQ" +) + +// The reason for which the XML elements or attributes were sanitized. Possible +// values: DISALLOWED_ELEMENT_REMOVED, DISALLOWED_ATTRIBUTE_REMOVED, INVALID_ATTRIBUTE_VALUE_REMOVED +// DISALLOWED_ELEMENT_REMOVED shows that the provided element isn't allowed +// and has been removed. DISALLOWED_ATTRIBUTE_REMOVED shows that the provided +// attribute isn't allowed and has been removed. INVALID_ATTRIBUTE_VALUE_REMOVED +// shows that the provided value for the attribute isn't allowed and has been +// removed. +const ( + // SanitizationWarningReasonDisallowedElementRemoved is a SanitizationWarningReason enum value + SanitizationWarningReasonDisallowedElementRemoved = "DISALLOWED_ELEMENT_REMOVED" + + // SanitizationWarningReasonDisallowedAttributeRemoved is a SanitizationWarningReason enum value + SanitizationWarningReasonDisallowedAttributeRemoved = "DISALLOWED_ATTRIBUTE_REMOVED" + + // SanitizationWarningReasonInvalidAttributeValueRemoved is a SanitizationWarningReason enum value + SanitizationWarningReasonInvalidAttributeValueRemoved = "INVALID_ATTRIBUTE_VALUE_REMOVED" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/mq/doc.go b/vendor/github.com/aws/aws-sdk-go/service/mq/doc.go new file mode 100644 index 00000000000..70472ab6641 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mq/doc.go @@ -0,0 +1,31 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package mq provides the client and types for making API +// requests to AmazonMQ. +// +// Amazon MQ is a managed message broker service for Apache ActiveMQ that makes +// it easy to set up and operate message brokers in the cloud. A message broker +// allows software applications and components to communicate using various +// programming languages, operating systems, and formal messaging protocols. +// +// See https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27 for more information on this service. +// +// See mq package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/mq/ +// +// Using the Client +// +// To contact AmazonMQ with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the AmazonMQ client MQ for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/mq/#New +package mq diff --git a/vendor/github.com/aws/aws-sdk-go/service/mq/errors.go b/vendor/github.com/aws/aws-sdk-go/service/mq/errors.go new file mode 100644 index 00000000000..064fc8e5b71 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mq/errors.go @@ -0,0 +1,42 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mq + +const ( + + // ErrCodeBadRequestException for service response error code + // "BadRequestException". + // + // Returns information about an error. + ErrCodeBadRequestException = "BadRequestException" + + // ErrCodeConflictException for service response error code + // "ConflictException". + // + // Returns information about an error. + ErrCodeConflictException = "ConflictException" + + // ErrCodeForbiddenException for service response error code + // "ForbiddenException". + // + // Returns information about an error. + ErrCodeForbiddenException = "ForbiddenException" + + // ErrCodeInternalServerErrorException for service response error code + // "InternalServerErrorException". + // + // Returns information about an error. + ErrCodeInternalServerErrorException = "InternalServerErrorException" + + // ErrCodeNotFoundException for service response error code + // "NotFoundException". + // + // Returns information about an error. + ErrCodeNotFoundException = "NotFoundException" + + // ErrCodeUnauthorizedException for service response error code + // "UnauthorizedException". + // + // Returns information about an error. + ErrCodeUnauthorizedException = "UnauthorizedException" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/mq/service.go b/vendor/github.com/aws/aws-sdk-go/service/mq/service.go new file mode 100644 index 00000000000..91b17544c4d --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/mq/service.go @@ -0,0 +1,97 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package mq + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// MQ provides the API operation methods for making requests to +// AmazonMQ. See this package's package overview docs +// for details on the service. +// +// MQ methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type MQ struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "mq" // Service endpoint prefix API calls made to. + EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. +) + +// New creates a new instance of the MQ client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// // Create a MQ client from just a session. +// svc := mq.New(mySession) +// +// // Create a MQ client with additional configuration +// svc := mq.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *MQ { + c := p.ClientConfig(EndpointsID, cfgs...) + return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *MQ { + if len(signingName) == 0 { + signingName = "mq" + } + svc := &MQ{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + SigningName: signingName, + SigningRegion: signingRegion, + Endpoint: endpoint, + APIVersion: "2017-11-27", + JSONVersion: "1.1", + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed(restjson.UnmarshalErrorHandler) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a MQ operation and runs any +// custom request initialization. +func (c *MQ) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/opsworks/api.go b/vendor/github.com/aws/aws-sdk-go/service/opsworks/api.go index a6dcfd4c792..8dc8ef7f555 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/opsworks/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/opsworks/api.go @@ -37,7 +37,7 @@ const opAssignInstance = "AssignInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstance func (c *OpsWorks) AssignInstanceRequest(input *AssignInstanceInput) (req *request.Request, output *AssignInstanceOutput) { op := &request.Operation{ Name: opAssignInstance, @@ -86,7 +86,7 @@ func (c *OpsWorks) AssignInstanceRequest(input *AssignInstanceInput) (req *reque // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstance func (c *OpsWorks) AssignInstance(input *AssignInstanceInput) (*AssignInstanceOutput, error) { req, out := c.AssignInstanceRequest(input) return out, req.Send() @@ -133,7 +133,7 @@ const opAssignVolume = "AssignVolume" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolume func (c *OpsWorks) AssignVolumeRequest(input *AssignVolumeInput) (req *request.Request, output *AssignVolumeOutput) { op := &request.Operation{ Name: opAssignVolume, @@ -179,7 +179,7 @@ func (c *OpsWorks) AssignVolumeRequest(input *AssignVolumeInput) (req *request.R // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolume func (c *OpsWorks) AssignVolume(input *AssignVolumeInput) (*AssignVolumeOutput, error) { req, out := c.AssignVolumeRequest(input) return out, req.Send() @@ -226,7 +226,7 @@ const opAssociateElasticIp = "AssociateElasticIp" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIp func (c *OpsWorks) AssociateElasticIpRequest(input *AssociateElasticIpInput) (req *request.Request, output *AssociateElasticIpOutput) { op := &request.Operation{ Name: opAssociateElasticIp, @@ -270,7 +270,7 @@ func (c *OpsWorks) AssociateElasticIpRequest(input *AssociateElasticIpInput) (re // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIp func (c *OpsWorks) AssociateElasticIp(input *AssociateElasticIpInput) (*AssociateElasticIpOutput, error) { req, out := c.AssociateElasticIpRequest(input) return out, req.Send() @@ -317,7 +317,7 @@ const opAttachElasticLoadBalancer = "AttachElasticLoadBalancer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancer func (c *OpsWorks) AttachElasticLoadBalancerRequest(input *AttachElasticLoadBalancerInput) (req *request.Request, output *AttachElasticLoadBalancerOutput) { op := &request.Operation{ Name: opAttachElasticLoadBalancer, @@ -366,7 +366,7 @@ func (c *OpsWorks) AttachElasticLoadBalancerRequest(input *AttachElasticLoadBala // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancer func (c *OpsWorks) AttachElasticLoadBalancer(input *AttachElasticLoadBalancerInput) (*AttachElasticLoadBalancerOutput, error) { req, out := c.AttachElasticLoadBalancerRequest(input) return out, req.Send() @@ -413,7 +413,7 @@ const opCloneStack = "CloneStack" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStack func (c *OpsWorks) CloneStackRequest(input *CloneStackInput) (req *request.Request, output *CloneStackOutput) { op := &request.Operation{ Name: opCloneStack, @@ -454,7 +454,7 @@ func (c *OpsWorks) CloneStackRequest(input *CloneStackInput) (req *request.Reque // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStack func (c *OpsWorks) CloneStack(input *CloneStackInput) (*CloneStackOutput, error) { req, out := c.CloneStackRequest(input) return out, req.Send() @@ -501,7 +501,7 @@ const opCreateApp = "CreateApp" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateApp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateApp func (c *OpsWorks) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput) { op := &request.Operation{ Name: opCreateApp, @@ -542,7 +542,7 @@ func (c *OpsWorks) CreateAppRequest(input *CreateAppInput) (req *request.Request // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateApp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateApp func (c *OpsWorks) CreateApp(input *CreateAppInput) (*CreateAppOutput, error) { req, out := c.CreateAppRequest(input) return out, req.Send() @@ -589,7 +589,7 @@ const opCreateDeployment = "CreateDeployment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeployment +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeployment func (c *OpsWorks) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput) { op := &request.Operation{ Name: opCreateDeployment, @@ -631,7 +631,7 @@ func (c *OpsWorks) CreateDeploymentRequest(input *CreateDeploymentInput) (req *r // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeployment +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeployment func (c *OpsWorks) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error) { req, out := c.CreateDeploymentRequest(input) return out, req.Send() @@ -678,7 +678,7 @@ const opCreateInstance = "CreateInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstance func (c *OpsWorks) CreateInstanceRequest(input *CreateInstanceInput) (req *request.Request, output *CreateInstanceOutput) { op := &request.Operation{ Name: opCreateInstance, @@ -719,7 +719,7 @@ func (c *OpsWorks) CreateInstanceRequest(input *CreateInstanceInput) (req *reque // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstance func (c *OpsWorks) CreateInstance(input *CreateInstanceInput) (*CreateInstanceOutput, error) { req, out := c.CreateInstanceRequest(input) return out, req.Send() @@ -766,7 +766,7 @@ const opCreateLayer = "CreateLayer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayer +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayer func (c *OpsWorks) CreateLayerRequest(input *CreateLayerInput) (req *request.Request, output *CreateLayerOutput) { op := &request.Operation{ Name: opCreateLayer, @@ -813,7 +813,7 @@ func (c *OpsWorks) CreateLayerRequest(input *CreateLayerInput) (req *request.Req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayer +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayer func (c *OpsWorks) CreateLayer(input *CreateLayerInput) (*CreateLayerOutput, error) { req, out := c.CreateLayerRequest(input) return out, req.Send() @@ -860,7 +860,7 @@ const opCreateStack = "CreateStack" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStack func (c *OpsWorks) CreateStackRequest(input *CreateStackInput) (req *request.Request, output *CreateStackOutput) { op := &request.Operation{ Name: opCreateStack, @@ -896,7 +896,7 @@ func (c *OpsWorks) CreateStackRequest(input *CreateStackInput) (req *request.Req // * ErrCodeValidationException "ValidationException" // Indicates that a request was not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStack func (c *OpsWorks) CreateStack(input *CreateStackInput) (*CreateStackOutput, error) { req, out := c.CreateStackRequest(input) return out, req.Send() @@ -943,7 +943,7 @@ const opCreateUserProfile = "CreateUserProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfile func (c *OpsWorks) CreateUserProfileRequest(input *CreateUserProfileInput) (req *request.Request, output *CreateUserProfileOutput) { op := &request.Operation{ Name: opCreateUserProfile, @@ -979,7 +979,7 @@ func (c *OpsWorks) CreateUserProfileRequest(input *CreateUserProfileInput) (req // * ErrCodeValidationException "ValidationException" // Indicates that a request was not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfile func (c *OpsWorks) CreateUserProfile(input *CreateUserProfileInput) (*CreateUserProfileOutput, error) { req, out := c.CreateUserProfileRequest(input) return out, req.Send() @@ -1026,7 +1026,7 @@ const opDeleteApp = "DeleteApp" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteApp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteApp func (c *OpsWorks) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput) { op := &request.Operation{ Name: opDeleteApp, @@ -1068,7 +1068,7 @@ func (c *OpsWorks) DeleteAppRequest(input *DeleteAppInput) (req *request.Request // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteApp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteApp func (c *OpsWorks) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) { req, out := c.DeleteAppRequest(input) return out, req.Send() @@ -1115,7 +1115,7 @@ const opDeleteInstance = "DeleteInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstance func (c *OpsWorks) DeleteInstanceRequest(input *DeleteInstanceInput) (req *request.Request, output *DeleteInstanceOutput) { op := &request.Operation{ Name: opDeleteInstance, @@ -1160,7 +1160,7 @@ func (c *OpsWorks) DeleteInstanceRequest(input *DeleteInstanceInput) (req *reque // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstance func (c *OpsWorks) DeleteInstance(input *DeleteInstanceInput) (*DeleteInstanceOutput, error) { req, out := c.DeleteInstanceRequest(input) return out, req.Send() @@ -1207,7 +1207,7 @@ const opDeleteLayer = "DeleteLayer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayer +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayer func (c *OpsWorks) DeleteLayerRequest(input *DeleteLayerInput) (req *request.Request, output *DeleteLayerOutput) { op := &request.Operation{ Name: opDeleteLayer, @@ -1251,7 +1251,7 @@ func (c *OpsWorks) DeleteLayerRequest(input *DeleteLayerInput) (req *request.Req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayer +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayer func (c *OpsWorks) DeleteLayer(input *DeleteLayerInput) (*DeleteLayerOutput, error) { req, out := c.DeleteLayerRequest(input) return out, req.Send() @@ -1298,7 +1298,7 @@ const opDeleteStack = "DeleteStack" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStack func (c *OpsWorks) DeleteStackRequest(input *DeleteStackInput) (req *request.Request, output *DeleteStackOutput) { op := &request.Operation{ Name: opDeleteStack, @@ -1342,7 +1342,7 @@ func (c *OpsWorks) DeleteStackRequest(input *DeleteStackInput) (req *request.Req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStack func (c *OpsWorks) DeleteStack(input *DeleteStackInput) (*DeleteStackOutput, error) { req, out := c.DeleteStackRequest(input) return out, req.Send() @@ -1389,7 +1389,7 @@ const opDeleteUserProfile = "DeleteUserProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfile func (c *OpsWorks) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req *request.Request, output *DeleteUserProfileOutput) { op := &request.Operation{ Name: opDeleteUserProfile, @@ -1430,7 +1430,7 @@ func (c *OpsWorks) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfile func (c *OpsWorks) DeleteUserProfile(input *DeleteUserProfileInput) (*DeleteUserProfileOutput, error) { req, out := c.DeleteUserProfileRequest(input) return out, req.Send() @@ -1477,7 +1477,7 @@ const opDeregisterEcsCluster = "DeregisterEcsCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsCluster func (c *OpsWorks) DeregisterEcsClusterRequest(input *DeregisterEcsClusterInput) (req *request.Request, output *DeregisterEcsClusterOutput) { op := &request.Operation{ Name: opDeregisterEcsCluster, @@ -1520,7 +1520,7 @@ func (c *OpsWorks) DeregisterEcsClusterRequest(input *DeregisterEcsClusterInput) // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsCluster func (c *OpsWorks) DeregisterEcsCluster(input *DeregisterEcsClusterInput) (*DeregisterEcsClusterOutput, error) { req, out := c.DeregisterEcsClusterRequest(input) return out, req.Send() @@ -1567,7 +1567,7 @@ const opDeregisterElasticIp = "DeregisterElasticIp" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIp func (c *OpsWorks) DeregisterElasticIpRequest(input *DeregisterElasticIpInput) (req *request.Request, output *DeregisterElasticIpOutput) { op := &request.Operation{ Name: opDeregisterElasticIp, @@ -1610,7 +1610,7 @@ func (c *OpsWorks) DeregisterElasticIpRequest(input *DeregisterElasticIpInput) ( // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIp func (c *OpsWorks) DeregisterElasticIp(input *DeregisterElasticIpInput) (*DeregisterElasticIpOutput, error) { req, out := c.DeregisterElasticIpRequest(input) return out, req.Send() @@ -1657,7 +1657,7 @@ const opDeregisterInstance = "DeregisterInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstance func (c *OpsWorks) DeregisterInstanceRequest(input *DeregisterInstanceInput) (req *request.Request, output *DeregisterInstanceOutput) { op := &request.Operation{ Name: opDeregisterInstance, @@ -1701,7 +1701,7 @@ func (c *OpsWorks) DeregisterInstanceRequest(input *DeregisterInstanceInput) (re // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstance func (c *OpsWorks) DeregisterInstance(input *DeregisterInstanceInput) (*DeregisterInstanceOutput, error) { req, out := c.DeregisterInstanceRequest(input) return out, req.Send() @@ -1748,7 +1748,7 @@ const opDeregisterRdsDbInstance = "DeregisterRdsDbInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstance func (c *OpsWorks) DeregisterRdsDbInstanceRequest(input *DeregisterRdsDbInstanceInput) (req *request.Request, output *DeregisterRdsDbInstanceOutput) { op := &request.Operation{ Name: opDeregisterRdsDbInstance, @@ -1790,7 +1790,7 @@ func (c *OpsWorks) DeregisterRdsDbInstanceRequest(input *DeregisterRdsDbInstance // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstance func (c *OpsWorks) DeregisterRdsDbInstance(input *DeregisterRdsDbInstanceInput) (*DeregisterRdsDbInstanceOutput, error) { req, out := c.DeregisterRdsDbInstanceRequest(input) return out, req.Send() @@ -1837,7 +1837,7 @@ const opDeregisterVolume = "DeregisterVolume" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolume func (c *OpsWorks) DeregisterVolumeRequest(input *DeregisterVolumeInput) (req *request.Request, output *DeregisterVolumeOutput) { op := &request.Operation{ Name: opDeregisterVolume, @@ -1880,7 +1880,7 @@ func (c *OpsWorks) DeregisterVolumeRequest(input *DeregisterVolumeInput) (req *r // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolume func (c *OpsWorks) DeregisterVolume(input *DeregisterVolumeInput) (*DeregisterVolumeOutput, error) { req, out := c.DeregisterVolumeRequest(input) return out, req.Send() @@ -1927,7 +1927,7 @@ const opDescribeAgentVersions = "DescribeAgentVersions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersions func (c *OpsWorks) DescribeAgentVersionsRequest(input *DescribeAgentVersionsInput) (req *request.Request, output *DescribeAgentVersionsOutput) { op := &request.Operation{ Name: opDescribeAgentVersions, @@ -1964,7 +1964,7 @@ func (c *OpsWorks) DescribeAgentVersionsRequest(input *DescribeAgentVersionsInpu // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersions func (c *OpsWorks) DescribeAgentVersions(input *DescribeAgentVersionsInput) (*DescribeAgentVersionsOutput, error) { req, out := c.DescribeAgentVersionsRequest(input) return out, req.Send() @@ -2011,7 +2011,7 @@ const opDescribeApps = "DescribeApps" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeApps +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeApps func (c *OpsWorks) DescribeAppsRequest(input *DescribeAppsInput) (req *request.Request, output *DescribeAppsOutput) { op := &request.Operation{ Name: opDescribeApps, @@ -2053,7 +2053,7 @@ func (c *OpsWorks) DescribeAppsRequest(input *DescribeAppsInput) (req *request.R // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeApps +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeApps func (c *OpsWorks) DescribeApps(input *DescribeAppsInput) (*DescribeAppsOutput, error) { req, out := c.DescribeAppsRequest(input) return out, req.Send() @@ -2100,7 +2100,7 @@ const opDescribeCommands = "DescribeCommands" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommands +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommands func (c *OpsWorks) DescribeCommandsRequest(input *DescribeCommandsInput) (req *request.Request, output *DescribeCommandsOutput) { op := &request.Operation{ Name: opDescribeCommands, @@ -2142,7 +2142,7 @@ func (c *OpsWorks) DescribeCommandsRequest(input *DescribeCommandsInput) (req *r // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommands +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommands func (c *OpsWorks) DescribeCommands(input *DescribeCommandsInput) (*DescribeCommandsOutput, error) { req, out := c.DescribeCommandsRequest(input) return out, req.Send() @@ -2189,7 +2189,7 @@ const opDescribeDeployments = "DescribeDeployments" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeployments +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeployments func (c *OpsWorks) DescribeDeploymentsRequest(input *DescribeDeploymentsInput) (req *request.Request, output *DescribeDeploymentsOutput) { op := &request.Operation{ Name: opDescribeDeployments, @@ -2231,7 +2231,7 @@ func (c *OpsWorks) DescribeDeploymentsRequest(input *DescribeDeploymentsInput) ( // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeployments +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeployments func (c *OpsWorks) DescribeDeployments(input *DescribeDeploymentsInput) (*DescribeDeploymentsOutput, error) { req, out := c.DescribeDeploymentsRequest(input) return out, req.Send() @@ -2278,7 +2278,7 @@ const opDescribeEcsClusters = "DescribeEcsClusters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClusters +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClusters func (c *OpsWorks) DescribeEcsClustersRequest(input *DescribeEcsClustersInput) (req *request.Request, output *DescribeEcsClustersOutput) { op := &request.Operation{ Name: opDescribeEcsClusters, @@ -2329,7 +2329,7 @@ func (c *OpsWorks) DescribeEcsClustersRequest(input *DescribeEcsClustersInput) ( // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClusters +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClusters func (c *OpsWorks) DescribeEcsClusters(input *DescribeEcsClustersInput) (*DescribeEcsClustersOutput, error) { req, out := c.DescribeEcsClustersRequest(input) return out, req.Send() @@ -2426,7 +2426,7 @@ const opDescribeElasticIps = "DescribeElasticIps" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIps +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIps func (c *OpsWorks) DescribeElasticIpsRequest(input *DescribeElasticIpsInput) (req *request.Request, output *DescribeElasticIpsOutput) { op := &request.Operation{ Name: opDescribeElasticIps, @@ -2468,7 +2468,7 @@ func (c *OpsWorks) DescribeElasticIpsRequest(input *DescribeElasticIpsInput) (re // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIps +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIps func (c *OpsWorks) DescribeElasticIps(input *DescribeElasticIpsInput) (*DescribeElasticIpsOutput, error) { req, out := c.DescribeElasticIpsRequest(input) return out, req.Send() @@ -2515,7 +2515,7 @@ const opDescribeElasticLoadBalancers = "DescribeElasticLoadBalancers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancers +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancers func (c *OpsWorks) DescribeElasticLoadBalancersRequest(input *DescribeElasticLoadBalancersInput) (req *request.Request, output *DescribeElasticLoadBalancersOutput) { op := &request.Operation{ Name: opDescribeElasticLoadBalancers, @@ -2557,7 +2557,7 @@ func (c *OpsWorks) DescribeElasticLoadBalancersRequest(input *DescribeElasticLoa // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancers +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancers func (c *OpsWorks) DescribeElasticLoadBalancers(input *DescribeElasticLoadBalancersInput) (*DescribeElasticLoadBalancersOutput, error) { req, out := c.DescribeElasticLoadBalancersRequest(input) return out, req.Send() @@ -2604,7 +2604,7 @@ const opDescribeInstances = "DescribeInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstances func (c *OpsWorks) DescribeInstancesRequest(input *DescribeInstancesInput) (req *request.Request, output *DescribeInstancesOutput) { op := &request.Operation{ Name: opDescribeInstances, @@ -2646,7 +2646,7 @@ func (c *OpsWorks) DescribeInstancesRequest(input *DescribeInstancesInput) (req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstances func (c *OpsWorks) DescribeInstances(input *DescribeInstancesInput) (*DescribeInstancesOutput, error) { req, out := c.DescribeInstancesRequest(input) return out, req.Send() @@ -2693,7 +2693,7 @@ const opDescribeLayers = "DescribeLayers" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayers +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayers func (c *OpsWorks) DescribeLayersRequest(input *DescribeLayersInput) (req *request.Request, output *DescribeLayersOutput) { op := &request.Operation{ Name: opDescribeLayers, @@ -2735,7 +2735,7 @@ func (c *OpsWorks) DescribeLayersRequest(input *DescribeLayersInput) (req *reque // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayers +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayers func (c *OpsWorks) DescribeLayers(input *DescribeLayersInput) (*DescribeLayersOutput, error) { req, out := c.DescribeLayersRequest(input) return out, req.Send() @@ -2782,7 +2782,7 @@ const opDescribeLoadBasedAutoScaling = "DescribeLoadBasedAutoScaling" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScaling +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScaling func (c *OpsWorks) DescribeLoadBasedAutoScalingRequest(input *DescribeLoadBasedAutoScalingInput) (req *request.Request, output *DescribeLoadBasedAutoScalingOutput) { op := &request.Operation{ Name: opDescribeLoadBasedAutoScaling, @@ -2824,7 +2824,7 @@ func (c *OpsWorks) DescribeLoadBasedAutoScalingRequest(input *DescribeLoadBasedA // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScaling +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScaling func (c *OpsWorks) DescribeLoadBasedAutoScaling(input *DescribeLoadBasedAutoScalingInput) (*DescribeLoadBasedAutoScalingOutput, error) { req, out := c.DescribeLoadBasedAutoScalingRequest(input) return out, req.Send() @@ -2871,7 +2871,7 @@ const opDescribeMyUserProfile = "DescribeMyUserProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeMyUserProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeMyUserProfile func (c *OpsWorks) DescribeMyUserProfileRequest(input *DescribeMyUserProfileInput) (req *request.Request, output *DescribeMyUserProfileOutput) { op := &request.Operation{ Name: opDescribeMyUserProfile, @@ -2902,7 +2902,7 @@ func (c *OpsWorks) DescribeMyUserProfileRequest(input *DescribeMyUserProfileInpu // // See the AWS API reference guide for AWS OpsWorks's // API operation DescribeMyUserProfile for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeMyUserProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeMyUserProfile func (c *OpsWorks) DescribeMyUserProfile(input *DescribeMyUserProfileInput) (*DescribeMyUserProfileOutput, error) { req, out := c.DescribeMyUserProfileRequest(input) return out, req.Send() @@ -2949,7 +2949,7 @@ const opDescribePermissions = "DescribePermissions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissions +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissions func (c *OpsWorks) DescribePermissionsRequest(input *DescribePermissionsInput) (req *request.Request, output *DescribePermissionsOutput) { op := &request.Operation{ Name: opDescribePermissions, @@ -2989,7 +2989,7 @@ func (c *OpsWorks) DescribePermissionsRequest(input *DescribePermissionsInput) ( // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissions +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissions func (c *OpsWorks) DescribePermissions(input *DescribePermissionsInput) (*DescribePermissionsOutput, error) { req, out := c.DescribePermissionsRequest(input) return out, req.Send() @@ -3036,7 +3036,7 @@ const opDescribeRaidArrays = "DescribeRaidArrays" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArrays +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArrays func (c *OpsWorks) DescribeRaidArraysRequest(input *DescribeRaidArraysInput) (req *request.Request, output *DescribeRaidArraysOutput) { op := &request.Operation{ Name: opDescribeRaidArrays, @@ -3078,7 +3078,7 @@ func (c *OpsWorks) DescribeRaidArraysRequest(input *DescribeRaidArraysInput) (re // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArrays +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArrays func (c *OpsWorks) DescribeRaidArrays(input *DescribeRaidArraysInput) (*DescribeRaidArraysOutput, error) { req, out := c.DescribeRaidArraysRequest(input) return out, req.Send() @@ -3125,7 +3125,7 @@ const opDescribeRdsDbInstances = "DescribeRdsDbInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstances func (c *OpsWorks) DescribeRdsDbInstancesRequest(input *DescribeRdsDbInstancesInput) (req *request.Request, output *DescribeRdsDbInstancesOutput) { op := &request.Operation{ Name: opDescribeRdsDbInstances, @@ -3167,7 +3167,7 @@ func (c *OpsWorks) DescribeRdsDbInstancesRequest(input *DescribeRdsDbInstancesIn // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstances func (c *OpsWorks) DescribeRdsDbInstances(input *DescribeRdsDbInstancesInput) (*DescribeRdsDbInstancesOutput, error) { req, out := c.DescribeRdsDbInstancesRequest(input) return out, req.Send() @@ -3214,7 +3214,7 @@ const opDescribeServiceErrors = "DescribeServiceErrors" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrors +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrors func (c *OpsWorks) DescribeServiceErrorsRequest(input *DescribeServiceErrorsInput) (req *request.Request, output *DescribeServiceErrorsOutput) { op := &request.Operation{ Name: opDescribeServiceErrors, @@ -3256,7 +3256,7 @@ func (c *OpsWorks) DescribeServiceErrorsRequest(input *DescribeServiceErrorsInpu // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrors +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrors func (c *OpsWorks) DescribeServiceErrors(input *DescribeServiceErrorsInput) (*DescribeServiceErrorsOutput, error) { req, out := c.DescribeServiceErrorsRequest(input) return out, req.Send() @@ -3303,7 +3303,7 @@ const opDescribeStackProvisioningParameters = "DescribeStackProvisioningParamete // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParameters func (c *OpsWorks) DescribeStackProvisioningParametersRequest(input *DescribeStackProvisioningParametersInput) (req *request.Request, output *DescribeStackProvisioningParametersOutput) { op := &request.Operation{ Name: opDescribeStackProvisioningParameters, @@ -3343,7 +3343,7 @@ func (c *OpsWorks) DescribeStackProvisioningParametersRequest(input *DescribeSta // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParameters func (c *OpsWorks) DescribeStackProvisioningParameters(input *DescribeStackProvisioningParametersInput) (*DescribeStackProvisioningParametersOutput, error) { req, out := c.DescribeStackProvisioningParametersRequest(input) return out, req.Send() @@ -3390,7 +3390,7 @@ const opDescribeStackSummary = "DescribeStackSummary" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummary func (c *OpsWorks) DescribeStackSummaryRequest(input *DescribeStackSummaryInput) (req *request.Request, output *DescribeStackSummaryOutput) { op := &request.Operation{ Name: opDescribeStackSummary, @@ -3431,7 +3431,7 @@ func (c *OpsWorks) DescribeStackSummaryRequest(input *DescribeStackSummaryInput) // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummary func (c *OpsWorks) DescribeStackSummary(input *DescribeStackSummaryInput) (*DescribeStackSummaryOutput, error) { req, out := c.DescribeStackSummaryRequest(input) return out, req.Send() @@ -3478,7 +3478,7 @@ const opDescribeStacks = "DescribeStacks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacks +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacks func (c *OpsWorks) DescribeStacksRequest(input *DescribeStacksInput) (req *request.Request, output *DescribeStacksOutput) { op := &request.Operation{ Name: opDescribeStacks, @@ -3518,7 +3518,7 @@ func (c *OpsWorks) DescribeStacksRequest(input *DescribeStacksInput) (req *reque // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacks +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacks func (c *OpsWorks) DescribeStacks(input *DescribeStacksInput) (*DescribeStacksOutput, error) { req, out := c.DescribeStacksRequest(input) return out, req.Send() @@ -3565,7 +3565,7 @@ const opDescribeTimeBasedAutoScaling = "DescribeTimeBasedAutoScaling" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScaling +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScaling func (c *OpsWorks) DescribeTimeBasedAutoScalingRequest(input *DescribeTimeBasedAutoScalingInput) (req *request.Request, output *DescribeTimeBasedAutoScalingOutput) { op := &request.Operation{ Name: opDescribeTimeBasedAutoScaling, @@ -3607,7 +3607,7 @@ func (c *OpsWorks) DescribeTimeBasedAutoScalingRequest(input *DescribeTimeBasedA // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScaling +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScaling func (c *OpsWorks) DescribeTimeBasedAutoScaling(input *DescribeTimeBasedAutoScalingInput) (*DescribeTimeBasedAutoScalingOutput, error) { req, out := c.DescribeTimeBasedAutoScalingRequest(input) return out, req.Send() @@ -3654,7 +3654,7 @@ const opDescribeUserProfiles = "DescribeUserProfiles" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfiles +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfiles func (c *OpsWorks) DescribeUserProfilesRequest(input *DescribeUserProfilesInput) (req *request.Request, output *DescribeUserProfilesOutput) { op := &request.Operation{ Name: opDescribeUserProfiles, @@ -3693,7 +3693,7 @@ func (c *OpsWorks) DescribeUserProfilesRequest(input *DescribeUserProfilesInput) // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfiles +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfiles func (c *OpsWorks) DescribeUserProfiles(input *DescribeUserProfilesInput) (*DescribeUserProfilesOutput, error) { req, out := c.DescribeUserProfilesRequest(input) return out, req.Send() @@ -3740,7 +3740,7 @@ const opDescribeVolumes = "DescribeVolumes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumes +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumes func (c *OpsWorks) DescribeVolumesRequest(input *DescribeVolumesInput) (req *request.Request, output *DescribeVolumesOutput) { op := &request.Operation{ Name: opDescribeVolumes, @@ -3782,7 +3782,7 @@ func (c *OpsWorks) DescribeVolumesRequest(input *DescribeVolumesInput) (req *req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumes +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumes func (c *OpsWorks) DescribeVolumes(input *DescribeVolumesInput) (*DescribeVolumesOutput, error) { req, out := c.DescribeVolumesRequest(input) return out, req.Send() @@ -3829,7 +3829,7 @@ const opDetachElasticLoadBalancer = "DetachElasticLoadBalancer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancer func (c *OpsWorks) DetachElasticLoadBalancerRequest(input *DetachElasticLoadBalancerInput) (req *request.Request, output *DetachElasticLoadBalancerOutput) { op := &request.Operation{ Name: opDetachElasticLoadBalancer, @@ -3868,7 +3868,7 @@ func (c *OpsWorks) DetachElasticLoadBalancerRequest(input *DetachElasticLoadBala // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancer func (c *OpsWorks) DetachElasticLoadBalancer(input *DetachElasticLoadBalancerInput) (*DetachElasticLoadBalancerOutput, error) { req, out := c.DetachElasticLoadBalancerRequest(input) return out, req.Send() @@ -3915,7 +3915,7 @@ const opDisassociateElasticIp = "DisassociateElasticIp" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIp func (c *OpsWorks) DisassociateElasticIpRequest(input *DisassociateElasticIpInput) (req *request.Request, output *DisassociateElasticIpOutput) { op := &request.Operation{ Name: opDisassociateElasticIp, @@ -3959,7 +3959,7 @@ func (c *OpsWorks) DisassociateElasticIpRequest(input *DisassociateElasticIpInpu // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIp func (c *OpsWorks) DisassociateElasticIp(input *DisassociateElasticIpInput) (*DisassociateElasticIpOutput, error) { req, out := c.DisassociateElasticIpRequest(input) return out, req.Send() @@ -4006,7 +4006,7 @@ const opGetHostnameSuggestion = "GetHostnameSuggestion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestion +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestion func (c *OpsWorks) GetHostnameSuggestionRequest(input *GetHostnameSuggestionInput) (req *request.Request, output *GetHostnameSuggestionOutput) { op := &request.Operation{ Name: opGetHostnameSuggestion, @@ -4047,7 +4047,7 @@ func (c *OpsWorks) GetHostnameSuggestionRequest(input *GetHostnameSuggestionInpu // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestion +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestion func (c *OpsWorks) GetHostnameSuggestion(input *GetHostnameSuggestionInput) (*GetHostnameSuggestionOutput, error) { req, out := c.GetHostnameSuggestionRequest(input) return out, req.Send() @@ -4094,7 +4094,7 @@ const opGrantAccess = "GrantAccess" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccess +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccess func (c *OpsWorks) GrantAccessRequest(input *GrantAccessInput) (req *request.Request, output *GrantAccessOutput) { op := &request.Operation{ Name: opGrantAccess, @@ -4131,7 +4131,7 @@ func (c *OpsWorks) GrantAccessRequest(input *GrantAccessInput) (req *request.Req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccess +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccess func (c *OpsWorks) GrantAccess(input *GrantAccessInput) (*GrantAccessOutput, error) { req, out := c.GrantAccessRequest(input) return out, req.Send() @@ -4178,7 +4178,7 @@ const opListTags = "ListTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTags func (c *OpsWorks) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { op := &request.Operation{ Name: opListTags, @@ -4213,7 +4213,7 @@ func (c *OpsWorks) ListTagsRequest(input *ListTagsInput) (req *request.Request, // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTags func (c *OpsWorks) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { req, out := c.ListTagsRequest(input) return out, req.Send() @@ -4260,7 +4260,7 @@ const opRebootInstance = "RebootInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstance func (c *OpsWorks) RebootInstanceRequest(input *RebootInstanceInput) (req *request.Request, output *RebootInstanceOutput) { op := &request.Operation{ Name: opRebootInstance, @@ -4303,7 +4303,7 @@ func (c *OpsWorks) RebootInstanceRequest(input *RebootInstanceInput) (req *reque // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstance func (c *OpsWorks) RebootInstance(input *RebootInstanceInput) (*RebootInstanceOutput, error) { req, out := c.RebootInstanceRequest(input) return out, req.Send() @@ -4350,7 +4350,7 @@ const opRegisterEcsCluster = "RegisterEcsCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsCluster func (c *OpsWorks) RegisterEcsClusterRequest(input *RegisterEcsClusterInput) (req *request.Request, output *RegisterEcsClusterOutput) { op := &request.Operation{ Name: opRegisterEcsCluster, @@ -4392,7 +4392,7 @@ func (c *OpsWorks) RegisterEcsClusterRequest(input *RegisterEcsClusterInput) (re // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsCluster func (c *OpsWorks) RegisterEcsCluster(input *RegisterEcsClusterInput) (*RegisterEcsClusterOutput, error) { req, out := c.RegisterEcsClusterRequest(input) return out, req.Send() @@ -4439,7 +4439,7 @@ const opRegisterElasticIp = "RegisterElasticIp" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIp func (c *OpsWorks) RegisterElasticIpRequest(input *RegisterElasticIpInput) (req *request.Request, output *RegisterElasticIpOutput) { op := &request.Operation{ Name: opRegisterElasticIp, @@ -4482,7 +4482,7 @@ func (c *OpsWorks) RegisterElasticIpRequest(input *RegisterElasticIpInput) (req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIp func (c *OpsWorks) RegisterElasticIp(input *RegisterElasticIpInput) (*RegisterElasticIpOutput, error) { req, out := c.RegisterElasticIpRequest(input) return out, req.Send() @@ -4529,7 +4529,7 @@ const opRegisterInstance = "RegisterInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstance func (c *OpsWorks) RegisterInstanceRequest(input *RegisterInstanceInput) (req *request.Request, output *RegisterInstanceOutput) { op := &request.Operation{ Name: opRegisterInstance, @@ -4583,7 +4583,7 @@ func (c *OpsWorks) RegisterInstanceRequest(input *RegisterInstanceInput) (req *r // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstance func (c *OpsWorks) RegisterInstance(input *RegisterInstanceInput) (*RegisterInstanceOutput, error) { req, out := c.RegisterInstanceRequest(input) return out, req.Send() @@ -4630,7 +4630,7 @@ const opRegisterRdsDbInstance = "RegisterRdsDbInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstance func (c *OpsWorks) RegisterRdsDbInstanceRequest(input *RegisterRdsDbInstanceInput) (req *request.Request, output *RegisterRdsDbInstanceOutput) { op := &request.Operation{ Name: opRegisterRdsDbInstance, @@ -4672,7 +4672,7 @@ func (c *OpsWorks) RegisterRdsDbInstanceRequest(input *RegisterRdsDbInstanceInpu // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstance func (c *OpsWorks) RegisterRdsDbInstance(input *RegisterRdsDbInstanceInput) (*RegisterRdsDbInstanceOutput, error) { req, out := c.RegisterRdsDbInstanceRequest(input) return out, req.Send() @@ -4719,7 +4719,7 @@ const opRegisterVolume = "RegisterVolume" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolume func (c *OpsWorks) RegisterVolumeRequest(input *RegisterVolumeInput) (req *request.Request, output *RegisterVolumeOutput) { op := &request.Operation{ Name: opRegisterVolume, @@ -4762,7 +4762,7 @@ func (c *OpsWorks) RegisterVolumeRequest(input *RegisterVolumeInput) (req *reque // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolume func (c *OpsWorks) RegisterVolume(input *RegisterVolumeInput) (*RegisterVolumeOutput, error) { req, out := c.RegisterVolumeRequest(input) return out, req.Send() @@ -4809,7 +4809,7 @@ const opSetLoadBasedAutoScaling = "SetLoadBasedAutoScaling" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScaling +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScaling func (c *OpsWorks) SetLoadBasedAutoScalingRequest(input *SetLoadBasedAutoScalingInput) (req *request.Request, output *SetLoadBasedAutoScalingOutput) { op := &request.Operation{ Name: opSetLoadBasedAutoScaling, @@ -4858,7 +4858,7 @@ func (c *OpsWorks) SetLoadBasedAutoScalingRequest(input *SetLoadBasedAutoScaling // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScaling +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScaling func (c *OpsWorks) SetLoadBasedAutoScaling(input *SetLoadBasedAutoScalingInput) (*SetLoadBasedAutoScalingOutput, error) { req, out := c.SetLoadBasedAutoScalingRequest(input) return out, req.Send() @@ -4905,7 +4905,7 @@ const opSetPermission = "SetPermission" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermission func (c *OpsWorks) SetPermissionRequest(input *SetPermissionInput) (req *request.Request, output *SetPermissionOutput) { op := &request.Operation{ Name: opSetPermission, @@ -4948,7 +4948,7 @@ func (c *OpsWorks) SetPermissionRequest(input *SetPermissionInput) (req *request // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermission func (c *OpsWorks) SetPermission(input *SetPermissionInput) (*SetPermissionOutput, error) { req, out := c.SetPermissionRequest(input) return out, req.Send() @@ -4995,7 +4995,7 @@ const opSetTimeBasedAutoScaling = "SetTimeBasedAutoScaling" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScaling +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScaling func (c *OpsWorks) SetTimeBasedAutoScalingRequest(input *SetTimeBasedAutoScalingInput) (req *request.Request, output *SetTimeBasedAutoScalingOutput) { op := &request.Operation{ Name: opSetTimeBasedAutoScaling, @@ -5039,7 +5039,7 @@ func (c *OpsWorks) SetTimeBasedAutoScalingRequest(input *SetTimeBasedAutoScaling // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScaling +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScaling func (c *OpsWorks) SetTimeBasedAutoScaling(input *SetTimeBasedAutoScalingInput) (*SetTimeBasedAutoScalingOutput, error) { req, out := c.SetTimeBasedAutoScalingRequest(input) return out, req.Send() @@ -5086,7 +5086,7 @@ const opStartInstance = "StartInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstance func (c *OpsWorks) StartInstanceRequest(input *StartInstanceInput) (req *request.Request, output *StartInstanceOutput) { op := &request.Operation{ Name: opStartInstance, @@ -5129,7 +5129,7 @@ func (c *OpsWorks) StartInstanceRequest(input *StartInstanceInput) (req *request // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstance func (c *OpsWorks) StartInstance(input *StartInstanceInput) (*StartInstanceOutput, error) { req, out := c.StartInstanceRequest(input) return out, req.Send() @@ -5176,7 +5176,7 @@ const opStartStack = "StartStack" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStack func (c *OpsWorks) StartStackRequest(input *StartStackInput) (req *request.Request, output *StartStackOutput) { op := &request.Operation{ Name: opStartStack, @@ -5218,7 +5218,7 @@ func (c *OpsWorks) StartStackRequest(input *StartStackInput) (req *request.Reque // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStack func (c *OpsWorks) StartStack(input *StartStackInput) (*StartStackOutput, error) { req, out := c.StartStackRequest(input) return out, req.Send() @@ -5265,7 +5265,7 @@ const opStopInstance = "StopInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstance func (c *OpsWorks) StopInstanceRequest(input *StopInstanceInput) (req *request.Request, output *StopInstanceOutput) { op := &request.Operation{ Name: opStopInstance, @@ -5310,7 +5310,7 @@ func (c *OpsWorks) StopInstanceRequest(input *StopInstanceInput) (req *request.R // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstance func (c *OpsWorks) StopInstance(input *StopInstanceInput) (*StopInstanceOutput, error) { req, out := c.StopInstanceRequest(input) return out, req.Send() @@ -5357,7 +5357,7 @@ const opStopStack = "StopStack" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStack func (c *OpsWorks) StopStackRequest(input *StopStackInput) (req *request.Request, output *StopStackOutput) { op := &request.Operation{ Name: opStopStack, @@ -5399,7 +5399,7 @@ func (c *OpsWorks) StopStackRequest(input *StopStackInput) (req *request.Request // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStack func (c *OpsWorks) StopStack(input *StopStackInput) (*StopStackOutput, error) { req, out := c.StopStackRequest(input) return out, req.Send() @@ -5446,7 +5446,7 @@ const opTagResource = "TagResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResource func (c *OpsWorks) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ Name: opTagResource, @@ -5485,7 +5485,7 @@ func (c *OpsWorks) TagResourceRequest(input *TagResourceInput) (req *request.Req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResource func (c *OpsWorks) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) return out, req.Send() @@ -5532,7 +5532,7 @@ const opUnassignInstance = "UnassignInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstance func (c *OpsWorks) UnassignInstanceRequest(input *UnassignInstanceInput) (req *request.Request, output *UnassignInstanceOutput) { op := &request.Operation{ Name: opUnassignInstance, @@ -5577,7 +5577,7 @@ func (c *OpsWorks) UnassignInstanceRequest(input *UnassignInstanceInput) (req *r // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstance func (c *OpsWorks) UnassignInstance(input *UnassignInstanceInput) (*UnassignInstanceOutput, error) { req, out := c.UnassignInstanceRequest(input) return out, req.Send() @@ -5624,7 +5624,7 @@ const opUnassignVolume = "UnassignVolume" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolume func (c *OpsWorks) UnassignVolumeRequest(input *UnassignVolumeInput) (req *request.Request, output *UnassignVolumeOutput) { op := &request.Operation{ Name: opUnassignVolume, @@ -5667,7 +5667,7 @@ func (c *OpsWorks) UnassignVolumeRequest(input *UnassignVolumeInput) (req *reque // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolume func (c *OpsWorks) UnassignVolume(input *UnassignVolumeInput) (*UnassignVolumeOutput, error) { req, out := c.UnassignVolumeRequest(input) return out, req.Send() @@ -5714,7 +5714,7 @@ const opUntagResource = "UntagResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResource func (c *OpsWorks) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { op := &request.Operation{ Name: opUntagResource, @@ -5751,7 +5751,7 @@ func (c *OpsWorks) UntagResourceRequest(input *UntagResourceInput) (req *request // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResource func (c *OpsWorks) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) return out, req.Send() @@ -5798,7 +5798,7 @@ const opUpdateApp = "UpdateApp" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateApp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateApp func (c *OpsWorks) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, output *UpdateAppOutput) { op := &request.Operation{ Name: opUpdateApp, @@ -5840,7 +5840,7 @@ func (c *OpsWorks) UpdateAppRequest(input *UpdateAppInput) (req *request.Request // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateApp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateApp func (c *OpsWorks) UpdateApp(input *UpdateAppInput) (*UpdateAppOutput, error) { req, out := c.UpdateAppRequest(input) return out, req.Send() @@ -5887,7 +5887,7 @@ const opUpdateElasticIp = "UpdateElasticIp" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIp func (c *OpsWorks) UpdateElasticIpRequest(input *UpdateElasticIpInput) (req *request.Request, output *UpdateElasticIpOutput) { op := &request.Operation{ Name: opUpdateElasticIp, @@ -5930,7 +5930,7 @@ func (c *OpsWorks) UpdateElasticIpRequest(input *UpdateElasticIpInput) (req *req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIp func (c *OpsWorks) UpdateElasticIp(input *UpdateElasticIpInput) (*UpdateElasticIpOutput, error) { req, out := c.UpdateElasticIpRequest(input) return out, req.Send() @@ -5977,7 +5977,7 @@ const opUpdateInstance = "UpdateInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstance func (c *OpsWorks) UpdateInstanceRequest(input *UpdateInstanceInput) (req *request.Request, output *UpdateInstanceOutput) { op := &request.Operation{ Name: opUpdateInstance, @@ -6019,7 +6019,7 @@ func (c *OpsWorks) UpdateInstanceRequest(input *UpdateInstanceInput) (req *reque // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstance func (c *OpsWorks) UpdateInstance(input *UpdateInstanceInput) (*UpdateInstanceOutput, error) { req, out := c.UpdateInstanceRequest(input) return out, req.Send() @@ -6066,7 +6066,7 @@ const opUpdateLayer = "UpdateLayer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayer +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayer func (c *OpsWorks) UpdateLayerRequest(input *UpdateLayerInput) (req *request.Request, output *UpdateLayerOutput) { op := &request.Operation{ Name: opUpdateLayer, @@ -6108,7 +6108,7 @@ func (c *OpsWorks) UpdateLayerRequest(input *UpdateLayerInput) (req *request.Req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayer +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayer func (c *OpsWorks) UpdateLayer(input *UpdateLayerInput) (*UpdateLayerOutput, error) { req, out := c.UpdateLayerRequest(input) return out, req.Send() @@ -6155,7 +6155,7 @@ const opUpdateMyUserProfile = "UpdateMyUserProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfile func (c *OpsWorks) UpdateMyUserProfileRequest(input *UpdateMyUserProfileInput) (req *request.Request, output *UpdateMyUserProfileOutput) { op := &request.Operation{ Name: opUpdateMyUserProfile, @@ -6193,7 +6193,7 @@ func (c *OpsWorks) UpdateMyUserProfileRequest(input *UpdateMyUserProfileInput) ( // * ErrCodeValidationException "ValidationException" // Indicates that a request was not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfile func (c *OpsWorks) UpdateMyUserProfile(input *UpdateMyUserProfileInput) (*UpdateMyUserProfileOutput, error) { req, out := c.UpdateMyUserProfileRequest(input) return out, req.Send() @@ -6240,7 +6240,7 @@ const opUpdateRdsDbInstance = "UpdateRdsDbInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstance func (c *OpsWorks) UpdateRdsDbInstanceRequest(input *UpdateRdsDbInstanceInput) (req *request.Request, output *UpdateRdsDbInstanceOutput) { op := &request.Operation{ Name: opUpdateRdsDbInstance, @@ -6282,7 +6282,7 @@ func (c *OpsWorks) UpdateRdsDbInstanceRequest(input *UpdateRdsDbInstanceInput) ( // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstance func (c *OpsWorks) UpdateRdsDbInstance(input *UpdateRdsDbInstanceInput) (*UpdateRdsDbInstanceOutput, error) { req, out := c.UpdateRdsDbInstanceRequest(input) return out, req.Send() @@ -6329,7 +6329,7 @@ const opUpdateStack = "UpdateStack" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStack func (c *OpsWorks) UpdateStackRequest(input *UpdateStackInput) (req *request.Request, output *UpdateStackOutput) { op := &request.Operation{ Name: opUpdateStack, @@ -6371,7 +6371,7 @@ func (c *OpsWorks) UpdateStackRequest(input *UpdateStackInput) (req *request.Req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStack +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStack func (c *OpsWorks) UpdateStack(input *UpdateStackInput) (*UpdateStackOutput, error) { req, out := c.UpdateStackRequest(input) return out, req.Send() @@ -6418,7 +6418,7 @@ const opUpdateUserProfile = "UpdateUserProfile" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfile func (c *OpsWorks) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req *request.Request, output *UpdateUserProfileOutput) { op := &request.Operation{ Name: opUpdateUserProfile, @@ -6459,7 +6459,7 @@ func (c *OpsWorks) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfile func (c *OpsWorks) UpdateUserProfile(input *UpdateUserProfileInput) (*UpdateUserProfileOutput, error) { req, out := c.UpdateUserProfileRequest(input) return out, req.Send() @@ -6506,7 +6506,7 @@ const opUpdateVolume = "UpdateVolume" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolume func (c *OpsWorks) UpdateVolumeRequest(input *UpdateVolumeInput) (req *request.Request, output *UpdateVolumeOutput) { op := &request.Operation{ Name: opUpdateVolume, @@ -6549,7 +6549,7 @@ func (c *OpsWorks) UpdateVolumeRequest(input *UpdateVolumeInput) (req *request.R // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Indicates that a resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolume +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolume func (c *OpsWorks) UpdateVolume(input *UpdateVolumeInput) (*UpdateVolumeOutput, error) { req, out := c.UpdateVolumeRequest(input) return out, req.Send() @@ -6572,7 +6572,7 @@ func (c *OpsWorks) UpdateVolumeWithContext(ctx aws.Context, input *UpdateVolumeI } // Describes an agent version. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AgentVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AgentVersion type AgentVersion struct { _ struct{} `type:"structure"` @@ -6606,7 +6606,7 @@ func (s *AgentVersion) SetVersion(v string) *AgentVersion { } // A description of the app. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/App +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/App type App struct { _ struct{} `type:"structure"` @@ -6758,7 +6758,7 @@ func (s *App) SetType(v string) *App { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstanceRequest type AssignInstanceInput struct { _ struct{} `type:"structure"` @@ -6812,7 +6812,7 @@ func (s *AssignInstanceInput) SetLayerIds(v []*string) *AssignInstanceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstanceOutput type AssignInstanceOutput struct { _ struct{} `type:"structure"` } @@ -6827,7 +6827,7 @@ func (s AssignInstanceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolumeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolumeRequest type AssignVolumeInput struct { _ struct{} `type:"structure"` @@ -6875,7 +6875,7 @@ func (s *AssignVolumeInput) SetVolumeId(v string) *AssignVolumeInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolumeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolumeOutput type AssignVolumeOutput struct { _ struct{} `type:"structure"` } @@ -6890,7 +6890,7 @@ func (s AssignVolumeOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIpRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIpRequest type AssociateElasticIpInput struct { _ struct{} `type:"structure"` @@ -6938,7 +6938,7 @@ func (s *AssociateElasticIpInput) SetInstanceId(v string) *AssociateElasticIpInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIpOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIpOutput type AssociateElasticIpOutput struct { _ struct{} `type:"structure"` } @@ -6953,7 +6953,7 @@ func (s AssociateElasticIpOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancerRequest type AttachElasticLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -7007,7 +7007,7 @@ func (s *AttachElasticLoadBalancerInput) SetLayerId(v string) *AttachElasticLoad return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancerOutput type AttachElasticLoadBalancerOutput struct { _ struct{} `type:"structure"` } @@ -7024,7 +7024,7 @@ func (s AttachElasticLoadBalancerOutput) GoString() string { // Describes a load-based auto scaling upscaling or downscaling threshold configuration, // which specifies when AWS OpsWorks Stacks starts or stops load-based instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AutoScalingThresholds +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AutoScalingThresholds type AutoScalingThresholds struct { _ struct{} `type:"structure"` @@ -7139,7 +7139,7 @@ func (s *AutoScalingThresholds) SetThresholdsWaitTime(v int64) *AutoScalingThres // Describes a block device mapping. This data type maps directly to the Amazon // EC2 BlockDeviceMapping (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html) // data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/BlockDeviceMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/BlockDeviceMapping type BlockDeviceMapping struct { _ struct{} `type:"structure"` @@ -7194,7 +7194,7 @@ func (s *BlockDeviceMapping) SetVirtualName(v string) *BlockDeviceMapping { } // Describes the Chef configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ChefConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ChefConfiguration type ChefConfiguration struct { _ struct{} `type:"structure"` @@ -7227,7 +7227,7 @@ func (s *ChefConfiguration) SetManageBerkshelf(v bool) *ChefConfiguration { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStackRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStackRequest type CloneStackInput struct { _ struct{} `type:"structure"` @@ -7621,7 +7621,7 @@ func (s *CloneStackInput) SetVpcId(v string) *CloneStackInput { } // Contains the response to a CloneStack request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStackResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStackResult type CloneStackOutput struct { _ struct{} `type:"structure"` @@ -7646,7 +7646,7 @@ func (s *CloneStackOutput) SetStackId(v string) *CloneStackOutput { } // Describes the Amazon CloudWatch logs configuration for a layer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloudWatchLogsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloudWatchLogsConfiguration type CloudWatchLogsConfiguration struct { _ struct{} `type:"structure"` @@ -7682,7 +7682,7 @@ func (s *CloudWatchLogsConfiguration) SetLogStreams(v []*CloudWatchLogsLogStream // Describes the Amazon CloudWatch logs configuration for a layer. For detailed // information about members of this data type, see the CloudWatch Logs Agent // Reference (http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloudWatchLogsLogStream +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloudWatchLogsLogStream type CloudWatchLogsLogStream struct { _ struct{} `type:"structure"` @@ -7825,7 +7825,7 @@ func (s *CloudWatchLogsLogStream) SetTimeZone(v string) *CloudWatchLogsLogStream } // Describes a command. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Command +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Command type Command struct { _ struct{} `type:"structure"` @@ -7962,7 +7962,7 @@ func (s *Command) SetType(v string) *Command { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateAppRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateAppRequest type CreateAppInput struct { _ struct{} `type:"structure"` @@ -8144,7 +8144,7 @@ func (s *CreateAppInput) SetType(v string) *CreateAppInput { } // Contains the response to a CreateApp request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateAppResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateAppResult type CreateAppOutput struct { _ struct{} `type:"structure"` @@ -8168,7 +8168,7 @@ func (s *CreateAppOutput) SetAppId(v string) *CreateAppOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeploymentRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeploymentRequest type CreateDeploymentInput struct { _ struct{} `type:"structure"` @@ -8281,7 +8281,7 @@ func (s *CreateDeploymentInput) SetStackId(v string) *CreateDeploymentInput { } // Contains the response to a CreateDeployment request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeploymentResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeploymentResult type CreateDeploymentOutput struct { _ struct{} `type:"structure"` @@ -8306,7 +8306,7 @@ func (s *CreateDeploymentOutput) SetDeploymentId(v string) *CreateDeploymentOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstanceRequest type CreateInstanceInput struct { _ struct{} `type:"structure"` @@ -8585,7 +8585,7 @@ func (s *CreateInstanceInput) SetVirtualizationType(v string) *CreateInstanceInp } // Contains the response to a CreateInstance request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstanceResult type CreateInstanceOutput struct { _ struct{} `type:"structure"` @@ -8609,7 +8609,7 @@ func (s *CreateInstanceOutput) SetInstanceId(v string) *CreateInstanceOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayerRequest type CreateLayerInput struct { _ struct{} `type:"structure"` @@ -8856,7 +8856,7 @@ func (s *CreateLayerInput) SetVolumeConfigurations(v []*VolumeConfiguration) *Cr } // Contains the response to a CreateLayer request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayerResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayerResult type CreateLayerOutput struct { _ struct{} `type:"structure"` @@ -8880,7 +8880,7 @@ func (s *CreateLayerOutput) SetLayerId(v string) *CreateLayerOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStackRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStackRequest type CreateStackInput struct { _ struct{} `type:"structure"` @@ -9249,7 +9249,7 @@ func (s *CreateStackInput) SetVpcId(v string) *CreateStackInput { } // Contains the response to a CreateStack request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStackResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStackResult type CreateStackOutput struct { _ struct{} `type:"structure"` @@ -9274,7 +9274,7 @@ func (s *CreateStackOutput) SetStackId(v string) *CreateStackOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfileRequest type CreateUserProfileInput struct { _ struct{} `type:"structure"` @@ -9346,7 +9346,7 @@ func (s *CreateUserProfileInput) SetSshUsername(v string) *CreateUserProfileInpu } // Contains the response to a CreateUserProfile request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfileResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfileResult type CreateUserProfileOutput struct { _ struct{} `type:"structure"` @@ -9371,7 +9371,7 @@ func (s *CreateUserProfileOutput) SetIamUserArn(v string) *CreateUserProfileOutp } // Describes an app's data source. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DataSource +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DataSource type DataSource struct { _ struct{} `type:"structure"` @@ -9414,7 +9414,7 @@ func (s *DataSource) SetType(v string) *DataSource { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteAppRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteAppRequest type DeleteAppInput struct { _ struct{} `type:"structure"` @@ -9453,7 +9453,7 @@ func (s *DeleteAppInput) SetAppId(v string) *DeleteAppInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteAppOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteAppOutput type DeleteAppOutput struct { _ struct{} `type:"structure"` } @@ -9468,7 +9468,7 @@ func (s DeleteAppOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstanceRequest type DeleteInstanceInput struct { _ struct{} `type:"structure"` @@ -9525,7 +9525,7 @@ func (s *DeleteInstanceInput) SetInstanceId(v string) *DeleteInstanceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstanceOutput type DeleteInstanceOutput struct { _ struct{} `type:"structure"` } @@ -9540,7 +9540,7 @@ func (s DeleteInstanceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayerRequest type DeleteLayerInput struct { _ struct{} `type:"structure"` @@ -9579,7 +9579,7 @@ func (s *DeleteLayerInput) SetLayerId(v string) *DeleteLayerInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayerOutput type DeleteLayerOutput struct { _ struct{} `type:"structure"` } @@ -9594,7 +9594,7 @@ func (s DeleteLayerOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStackRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStackRequest type DeleteStackInput struct { _ struct{} `type:"structure"` @@ -9633,7 +9633,7 @@ func (s *DeleteStackInput) SetStackId(v string) *DeleteStackInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStackOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStackOutput type DeleteStackOutput struct { _ struct{} `type:"structure"` } @@ -9648,7 +9648,7 @@ func (s DeleteStackOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfileRequest type DeleteUserProfileInput struct { _ struct{} `type:"structure"` @@ -9687,7 +9687,7 @@ func (s *DeleteUserProfileInput) SetIamUserArn(v string) *DeleteUserProfileInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfileOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfileOutput type DeleteUserProfileOutput struct { _ struct{} `type:"structure"` } @@ -9703,7 +9703,7 @@ func (s DeleteUserProfileOutput) GoString() string { } // Describes a deployment of a stack or app. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Deployment +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Deployment type Deployment struct { _ struct{} `type:"structure"` @@ -9840,7 +9840,7 @@ func (s *Deployment) SetStatus(v string) *Deployment { } // Used to specify a stack or deployment command. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeploymentCommand +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeploymentCommand type DeploymentCommand struct { _ struct{} `type:"structure"` @@ -9942,7 +9942,7 @@ func (s *DeploymentCommand) SetName(v string) *DeploymentCommand { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsClusterRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsClusterRequest type DeregisterEcsClusterInput struct { _ struct{} `type:"structure"` @@ -9981,7 +9981,7 @@ func (s *DeregisterEcsClusterInput) SetEcsClusterArn(v string) *DeregisterEcsClu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsClusterOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsClusterOutput type DeregisterEcsClusterOutput struct { _ struct{} `type:"structure"` } @@ -9996,7 +9996,7 @@ func (s DeregisterEcsClusterOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIpRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIpRequest type DeregisterElasticIpInput struct { _ struct{} `type:"structure"` @@ -10035,7 +10035,7 @@ func (s *DeregisterElasticIpInput) SetElasticIp(v string) *DeregisterElasticIpIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIpOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIpOutput type DeregisterElasticIpOutput struct { _ struct{} `type:"structure"` } @@ -10050,7 +10050,7 @@ func (s DeregisterElasticIpOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstanceRequest type DeregisterInstanceInput struct { _ struct{} `type:"structure"` @@ -10089,7 +10089,7 @@ func (s *DeregisterInstanceInput) SetInstanceId(v string) *DeregisterInstanceInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstanceOutput type DeregisterInstanceOutput struct { _ struct{} `type:"structure"` } @@ -10104,7 +10104,7 @@ func (s DeregisterInstanceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstanceRequest type DeregisterRdsDbInstanceInput struct { _ struct{} `type:"structure"` @@ -10143,7 +10143,7 @@ func (s *DeregisterRdsDbInstanceInput) SetRdsDbInstanceArn(v string) *Deregister return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstanceOutput type DeregisterRdsDbInstanceOutput struct { _ struct{} `type:"structure"` } @@ -10158,7 +10158,7 @@ func (s DeregisterRdsDbInstanceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolumeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolumeRequest type DeregisterVolumeInput struct { _ struct{} `type:"structure"` @@ -10199,7 +10199,7 @@ func (s *DeregisterVolumeInput) SetVolumeId(v string) *DeregisterVolumeInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolumeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolumeOutput type DeregisterVolumeOutput struct { _ struct{} `type:"structure"` } @@ -10214,7 +10214,7 @@ func (s DeregisterVolumeOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersionsRequest type DescribeAgentVersionsInput struct { _ struct{} `type:"structure"` @@ -10248,7 +10248,7 @@ func (s *DescribeAgentVersionsInput) SetStackId(v string) *DescribeAgentVersions } // Contains the response to a DescribeAgentVersions request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersionsResult type DescribeAgentVersionsOutput struct { _ struct{} `type:"structure"` @@ -10274,7 +10274,7 @@ func (s *DescribeAgentVersionsOutput) SetAgentVersions(v []*AgentVersion) *Descr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAppsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAppsRequest type DescribeAppsInput struct { _ struct{} `type:"structure"` @@ -10311,7 +10311,7 @@ func (s *DescribeAppsInput) SetStackId(v string) *DescribeAppsInput { } // Contains the response to a DescribeApps request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAppsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAppsResult type DescribeAppsOutput struct { _ struct{} `type:"structure"` @@ -10335,7 +10335,7 @@ func (s *DescribeAppsOutput) SetApps(v []*App) *DescribeAppsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommandsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommandsRequest type DescribeCommandsInput struct { _ struct{} `type:"structure"` @@ -10382,7 +10382,7 @@ func (s *DescribeCommandsInput) SetInstanceId(v string) *DescribeCommandsInput { } // Contains the response to a DescribeCommands request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommandsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommandsResult type DescribeCommandsOutput struct { _ struct{} `type:"structure"` @@ -10406,7 +10406,7 @@ func (s *DescribeCommandsOutput) SetCommands(v []*Command) *DescribeCommandsOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeploymentsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeploymentsRequest type DescribeDeploymentsInput struct { _ struct{} `type:"structure"` @@ -10453,7 +10453,7 @@ func (s *DescribeDeploymentsInput) SetStackId(v string) *DescribeDeploymentsInpu } // Contains the response to a DescribeDeployments request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeploymentsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeploymentsResult type DescribeDeploymentsOutput struct { _ struct{} `type:"structure"` @@ -10477,7 +10477,7 @@ func (s *DescribeDeploymentsOutput) SetDeployments(v []*Deployment) *DescribeDep return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClustersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClustersRequest type DescribeEcsClustersInput struct { _ struct{} `type:"structure"` @@ -10538,7 +10538,7 @@ func (s *DescribeEcsClustersInput) SetStackId(v string) *DescribeEcsClustersInpu } // Contains the response to a DescribeEcsClusters request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClustersResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClustersResult type DescribeEcsClustersOutput struct { _ struct{} `type:"structure"` @@ -10574,7 +10574,7 @@ func (s *DescribeEcsClustersOutput) SetNextToken(v string) *DescribeEcsClustersO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIpsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIpsRequest type DescribeElasticIpsInput struct { _ struct{} `type:"structure"` @@ -10621,7 +10621,7 @@ func (s *DescribeElasticIpsInput) SetStackId(v string) *DescribeElasticIpsInput } // Contains the response to a DescribeElasticIps request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIpsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIpsResult type DescribeElasticIpsOutput struct { _ struct{} `type:"structure"` @@ -10645,7 +10645,7 @@ func (s *DescribeElasticIpsOutput) SetElasticIps(v []*ElasticIp) *DescribeElasti return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancersRequest type DescribeElasticLoadBalancersInput struct { _ struct{} `type:"structure"` @@ -10680,7 +10680,7 @@ func (s *DescribeElasticLoadBalancersInput) SetStackId(v string) *DescribeElasti } // Contains the response to a DescribeElasticLoadBalancers request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancersResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancersResult type DescribeElasticLoadBalancersOutput struct { _ struct{} `type:"structure"` @@ -10705,7 +10705,7 @@ func (s *DescribeElasticLoadBalancersOutput) SetElasticLoadBalancers(v []*Elasti return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstancesRequest type DescribeInstancesInput struct { _ struct{} `type:"structure"` @@ -10752,7 +10752,7 @@ func (s *DescribeInstancesInput) SetStackId(v string) *DescribeInstancesInput { } // Contains the response to a DescribeInstances request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstancesResult type DescribeInstancesOutput struct { _ struct{} `type:"structure"` @@ -10776,7 +10776,7 @@ func (s *DescribeInstancesOutput) SetInstances(v []*Instance) *DescribeInstances return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayersRequest type DescribeLayersInput struct { _ struct{} `type:"structure"` @@ -10812,7 +10812,7 @@ func (s *DescribeLayersInput) SetStackId(v string) *DescribeLayersInput { } // Contains the response to a DescribeLayers request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayersResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayersResult type DescribeLayersOutput struct { _ struct{} `type:"structure"` @@ -10836,7 +10836,7 @@ func (s *DescribeLayersOutput) SetLayers(v []*Layer) *DescribeLayersOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScalingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScalingRequest type DescribeLoadBasedAutoScalingInput struct { _ struct{} `type:"structure"` @@ -10876,7 +10876,7 @@ func (s *DescribeLoadBasedAutoScalingInput) SetLayerIds(v []*string) *DescribeLo } // Contains the response to a DescribeLoadBasedAutoScaling request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScalingResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScalingResult type DescribeLoadBasedAutoScalingOutput struct { _ struct{} `type:"structure"` @@ -10901,7 +10901,7 @@ func (s *DescribeLoadBasedAutoScalingOutput) SetLoadBasedAutoScalingConfiguratio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeMyUserProfileInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeMyUserProfileInput type DescribeMyUserProfileInput struct { _ struct{} `type:"structure"` } @@ -10917,7 +10917,7 @@ func (s DescribeMyUserProfileInput) GoString() string { } // Contains the response to a DescribeMyUserProfile request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeMyUserProfileResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeMyUserProfileResult type DescribeMyUserProfileOutput struct { _ struct{} `type:"structure"` @@ -10941,7 +10941,7 @@ func (s *DescribeMyUserProfileOutput) SetUserProfile(v *SelfUserProfile) *Descri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissionsRequest type DescribePermissionsInput struct { _ struct{} `type:"structure"` @@ -10976,7 +10976,7 @@ func (s *DescribePermissionsInput) SetStackId(v string) *DescribePermissionsInpu } // Contains the response to a DescribePermissions request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissionsResult type DescribePermissionsOutput struct { _ struct{} `type:"structure"` @@ -11010,7 +11010,7 @@ func (s *DescribePermissionsOutput) SetPermissions(v []*Permission) *DescribePer return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArraysRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArraysRequest type DescribeRaidArraysInput struct { _ struct{} `type:"structure"` @@ -11056,7 +11056,7 @@ func (s *DescribeRaidArraysInput) SetStackId(v string) *DescribeRaidArraysInput } // Contains the response to a DescribeRaidArrays request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArraysResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArraysResult type DescribeRaidArraysOutput struct { _ struct{} `type:"structure"` @@ -11080,7 +11080,7 @@ func (s *DescribeRaidArraysOutput) SetRaidArrays(v []*RaidArray) *DescribeRaidAr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstancesRequest type DescribeRdsDbInstancesInput struct { _ struct{} `type:"structure"` @@ -11130,7 +11130,7 @@ func (s *DescribeRdsDbInstancesInput) SetStackId(v string) *DescribeRdsDbInstanc } // Contains the response to a DescribeRdsDbInstances request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstancesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstancesResult type DescribeRdsDbInstancesOutput struct { _ struct{} `type:"structure"` @@ -11154,7 +11154,7 @@ func (s *DescribeRdsDbInstancesOutput) SetRdsDbInstances(v []*RdsDbInstance) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrorsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrorsRequest type DescribeServiceErrorsInput struct { _ struct{} `type:"structure"` @@ -11201,7 +11201,7 @@ func (s *DescribeServiceErrorsInput) SetStackId(v string) *DescribeServiceErrors } // Contains the response to a DescribeServiceErrors request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrorsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrorsResult type DescribeServiceErrorsOutput struct { _ struct{} `type:"structure"` @@ -11225,7 +11225,7 @@ func (s *DescribeServiceErrorsOutput) SetServiceErrors(v []*ServiceError) *Descr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParametersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParametersRequest type DescribeStackProvisioningParametersInput struct { _ struct{} `type:"structure"` @@ -11265,7 +11265,7 @@ func (s *DescribeStackProvisioningParametersInput) SetStackId(v string) *Describ } // Contains the response to a DescribeStackProvisioningParameters request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParametersResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParametersResult type DescribeStackProvisioningParametersOutput struct { _ struct{} `type:"structure"` @@ -11298,7 +11298,7 @@ func (s *DescribeStackProvisioningParametersOutput) SetParameters(v map[string]* return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummaryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummaryRequest type DescribeStackSummaryInput struct { _ struct{} `type:"structure"` @@ -11338,7 +11338,7 @@ func (s *DescribeStackSummaryInput) SetStackId(v string) *DescribeStackSummaryIn } // Contains the response to a DescribeStackSummary request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummaryResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummaryResult type DescribeStackSummaryOutput struct { _ struct{} `type:"structure"` @@ -11362,7 +11362,7 @@ func (s *DescribeStackSummaryOutput) SetStackSummary(v *StackSummary) *DescribeS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacksRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacksRequest type DescribeStacksInput struct { _ struct{} `type:"structure"` @@ -11388,7 +11388,7 @@ func (s *DescribeStacksInput) SetStackIds(v []*string) *DescribeStacksInput { } // Contains the response to a DescribeStacks request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacksResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacksResult type DescribeStacksOutput struct { _ struct{} `type:"structure"` @@ -11412,7 +11412,7 @@ func (s *DescribeStacksOutput) SetStacks(v []*Stack) *DescribeStacksOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScalingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScalingRequest type DescribeTimeBasedAutoScalingInput struct { _ struct{} `type:"structure"` @@ -11452,7 +11452,7 @@ func (s *DescribeTimeBasedAutoScalingInput) SetInstanceIds(v []*string) *Describ } // Contains the response to a DescribeTimeBasedAutoScaling request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScalingResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScalingResult type DescribeTimeBasedAutoScalingOutput struct { _ struct{} `type:"structure"` @@ -11477,7 +11477,7 @@ func (s *DescribeTimeBasedAutoScalingOutput) SetTimeBasedAutoScalingConfiguratio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfilesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfilesRequest type DescribeUserProfilesInput struct { _ struct{} `type:"structure"` @@ -11502,7 +11502,7 @@ func (s *DescribeUserProfilesInput) SetIamUserArns(v []*string) *DescribeUserPro } // Contains the response to a DescribeUserProfiles request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfilesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfilesResult type DescribeUserProfilesOutput struct { _ struct{} `type:"structure"` @@ -11526,7 +11526,7 @@ func (s *DescribeUserProfilesOutput) SetUserProfiles(v []*UserProfile) *Describe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumesRequest type DescribeVolumesInput struct { _ struct{} `type:"structure"` @@ -11582,7 +11582,7 @@ func (s *DescribeVolumesInput) SetVolumeIds(v []*string) *DescribeVolumesInput { } // Contains the response to a DescribeVolumes request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumesResult type DescribeVolumesOutput struct { _ struct{} `type:"structure"` @@ -11606,7 +11606,7 @@ func (s *DescribeVolumesOutput) SetVolumes(v []*Volume) *DescribeVolumesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancerRequest type DetachElasticLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -11660,7 +11660,7 @@ func (s *DetachElasticLoadBalancerInput) SetLayerId(v string) *DetachElasticLoad return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancerOutput type DetachElasticLoadBalancerOutput struct { _ struct{} `type:"structure"` } @@ -11675,7 +11675,7 @@ func (s DetachElasticLoadBalancerOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIpRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIpRequest type DisassociateElasticIpInput struct { _ struct{} `type:"structure"` @@ -11714,7 +11714,7 @@ func (s *DisassociateElasticIpInput) SetElasticIp(v string) *DisassociateElastic return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIpOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIpOutput type DisassociateElasticIpOutput struct { _ struct{} `type:"structure"` } @@ -11732,7 +11732,7 @@ func (s DisassociateElasticIpOutput) GoString() string { // Describes an Amazon EBS volume. This data type maps directly to the Amazon // EC2 EbsBlockDevice (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html) // data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/EbsBlockDevice +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/EbsBlockDevice type EbsBlockDevice struct { _ struct{} `type:"structure"` @@ -11795,7 +11795,7 @@ func (s *EbsBlockDevice) SetVolumeType(v string) *EbsBlockDevice { } // Describes a registered Amazon ECS cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/EcsCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/EcsCluster type EcsCluster struct { _ struct{} `type:"structure"` @@ -11847,7 +11847,7 @@ func (s *EcsCluster) SetStackId(v string) *EcsCluster { } // Describes an Elastic IP address. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ElasticIp +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ElasticIp type ElasticIp struct { _ struct{} `type:"structure"` @@ -11908,7 +11908,7 @@ func (s *ElasticIp) SetRegion(v string) *ElasticIp { } // Describes an Elastic Load Balancing instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ElasticLoadBalancer +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ElasticLoadBalancer type ElasticLoadBalancer struct { _ struct{} `type:"structure"` @@ -12006,7 +12006,7 @@ func (s *ElasticLoadBalancer) SetVpcId(v string) *ElasticLoadBalancer { } // Represents an app's environment variable. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/EnvironmentVariable +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/EnvironmentVariable type EnvironmentVariable struct { _ struct{} `type:"structure"` @@ -12076,7 +12076,7 @@ func (s *EnvironmentVariable) SetValue(v string) *EnvironmentVariable { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestionRequest type GetHostnameSuggestionInput struct { _ struct{} `type:"structure"` @@ -12116,7 +12116,7 @@ func (s *GetHostnameSuggestionInput) SetLayerId(v string) *GetHostnameSuggestion } // Contains the response to a GetHostnameSuggestion request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestionResult type GetHostnameSuggestionOutput struct { _ struct{} `type:"structure"` @@ -12149,7 +12149,7 @@ func (s *GetHostnameSuggestionOutput) SetLayerId(v string) *GetHostnameSuggestio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccessRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccessRequest type GrantAccessInput struct { _ struct{} `type:"structure"` @@ -12204,7 +12204,7 @@ func (s *GrantAccessInput) SetValidForInMinutes(v int64) *GrantAccessInput { } // Contains the response to a GrantAccess request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccessResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccessResult type GrantAccessOutput struct { _ struct{} `type:"structure"` @@ -12230,7 +12230,7 @@ func (s *GrantAccessOutput) SetTemporaryCredential(v *TemporaryCredential) *Gran } // Describes an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Instance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Instance type Instance struct { _ struct{} `type:"structure"` @@ -12658,7 +12658,7 @@ func (s *Instance) SetVirtualizationType(v string) *Instance { // Contains a description of an Amazon EC2 instance from the Amazon EC2 metadata // service. For more information, see Instance Metadata and User Data (http://docs.aws.amazon.com/sdkfornet/latest/apidocs/Index.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/InstanceIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/InstanceIdentity type InstanceIdentity struct { _ struct{} `type:"structure"` @@ -12692,7 +12692,7 @@ func (s *InstanceIdentity) SetSignature(v string) *InstanceIdentity { } // Describes how many instances a stack has for each status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/InstancesCount +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/InstancesCount type InstancesCount struct { _ struct{} `type:"structure"` @@ -12879,7 +12879,7 @@ func (s *InstancesCount) SetUnassigning(v int64) *InstancesCount { } // Describes a layer. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Layer +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Layer type Layer struct { _ struct{} `type:"structure"` @@ -13130,7 +13130,7 @@ func (s *Layer) SetVolumeConfigurations(v []*VolumeConfiguration) *Layer { } // Specifies the lifecycle event configuration -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/LifecycleEventConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/LifecycleEventConfiguration type LifecycleEventConfiguration struct { _ struct{} `type:"structure"` @@ -13154,7 +13154,7 @@ func (s *LifecycleEventConfiguration) SetShutdown(v *ShutdownEventConfiguration) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTagsRequest type ListTagsInput struct { _ struct{} `type:"structure"` @@ -13214,7 +13214,7 @@ func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput { } // Contains the response to a ListTags request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTagsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTagsResult type ListTagsOutput struct { _ struct{} `type:"structure"` @@ -13252,7 +13252,7 @@ func (s *ListTagsOutput) SetTags(v map[string]*string) *ListTagsOutput { } // Describes a layer's load-based auto scaling configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/LoadBasedAutoScalingConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/LoadBasedAutoScalingConfiguration type LoadBasedAutoScalingConfiguration struct { _ struct{} `type:"structure"` @@ -13306,7 +13306,7 @@ func (s *LoadBasedAutoScalingConfiguration) SetUpScaling(v *AutoScalingThreshold } // Describes stack or user permissions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Permission +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Permission type Permission struct { _ struct{} `type:"structure"` @@ -13381,7 +13381,7 @@ func (s *Permission) SetStackId(v string) *Permission { } // Describes an instance's RAID array. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RaidArray +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RaidArray type RaidArray struct { _ struct{} `type:"structure"` @@ -13515,7 +13515,7 @@ func (s *RaidArray) SetVolumeType(v string) *RaidArray { } // Describes an Amazon RDS instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RdsDbInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RdsDbInstance type RdsDbInstance struct { _ struct{} `type:"structure"` @@ -13614,7 +13614,7 @@ func (s *RdsDbInstance) SetStackId(v string) *RdsDbInstance { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstanceRequest type RebootInstanceInput struct { _ struct{} `type:"structure"` @@ -13653,7 +13653,7 @@ func (s *RebootInstanceInput) SetInstanceId(v string) *RebootInstanceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstanceOutput type RebootInstanceOutput struct { _ struct{} `type:"structure"` } @@ -13680,7 +13680,7 @@ func (s RebootInstanceOutput) GoString() string { // followed by two colons and the recipe name, which is the recipe's file name // without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb // recipe in the repository's phpapp2 folder. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Recipes +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Recipes type Recipes struct { _ struct{} `type:"structure"` @@ -13740,7 +13740,7 @@ func (s *Recipes) SetUndeploy(v []*string) *Recipes { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsClusterRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsClusterRequest type RegisterEcsClusterInput struct { _ struct{} `type:"structure"` @@ -13794,7 +13794,7 @@ func (s *RegisterEcsClusterInput) SetStackId(v string) *RegisterEcsClusterInput } // Contains the response to a RegisterEcsCluster request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsClusterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsClusterResult type RegisterEcsClusterOutput struct { _ struct{} `type:"structure"` @@ -13818,7 +13818,7 @@ func (s *RegisterEcsClusterOutput) SetEcsClusterArn(v string) *RegisterEcsCluste return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIpRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIpRequest type RegisterElasticIpInput struct { _ struct{} `type:"structure"` @@ -13872,7 +13872,7 @@ func (s *RegisterElasticIpInput) SetStackId(v string) *RegisterElasticIpInput { } // Contains the response to a RegisterElasticIp request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIpResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIpResult type RegisterElasticIpOutput struct { _ struct{} `type:"structure"` @@ -13896,7 +13896,7 @@ func (s *RegisterElasticIpOutput) SetElasticIp(v string) *RegisterElasticIpOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstanceRequest type RegisterInstanceInput struct { _ struct{} `type:"structure"` @@ -13991,7 +13991,7 @@ func (s *RegisterInstanceInput) SetStackId(v string) *RegisterInstanceInput { } // Contains the response to a RegisterInstanceResult request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstanceResult type RegisterInstanceOutput struct { _ struct{} `type:"structure"` @@ -14015,7 +14015,7 @@ func (s *RegisterInstanceOutput) SetInstanceId(v string) *RegisterInstanceOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstanceRequest type RegisterRdsDbInstanceInput struct { _ struct{} `type:"structure"` @@ -14096,7 +14096,7 @@ func (s *RegisterRdsDbInstanceInput) SetStackId(v string) *RegisterRdsDbInstance return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstanceOutput type RegisterRdsDbInstanceOutput struct { _ struct{} `type:"structure"` } @@ -14111,7 +14111,7 @@ func (s RegisterRdsDbInstanceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolumeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolumeRequest type RegisterVolumeInput struct { _ struct{} `type:"structure"` @@ -14160,7 +14160,7 @@ func (s *RegisterVolumeInput) SetStackId(v string) *RegisterVolumeInput { } // Contains the response to a RegisterVolume request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolumeResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolumeResult type RegisterVolumeOutput struct { _ struct{} `type:"structure"` @@ -14185,7 +14185,7 @@ func (s *RegisterVolumeOutput) SetVolumeId(v string) *RegisterVolumeOutput { } // A registered instance's reported operating system. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ReportedOs +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ReportedOs type ReportedOs struct { _ struct{} `type:"structure"` @@ -14228,7 +14228,7 @@ func (s *ReportedOs) SetVersion(v string) *ReportedOs { } // Describes a user's SSH information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SelfUserProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SelfUserProfile type SelfUserProfile struct { _ struct{} `type:"structure"` @@ -14280,7 +14280,7 @@ func (s *SelfUserProfile) SetSshUsername(v string) *SelfUserProfile { } // Describes an AWS OpsWorks Stacks service error. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ServiceError +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ServiceError type ServiceError struct { _ struct{} `type:"structure"` @@ -14349,7 +14349,7 @@ func (s *ServiceError) SetType(v string) *ServiceError { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScalingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScalingRequest type SetLoadBasedAutoScalingInput struct { _ struct{} `type:"structure"` @@ -14429,7 +14429,7 @@ func (s *SetLoadBasedAutoScalingInput) SetUpScaling(v *AutoScalingThresholds) *S return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScalingOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScalingOutput type SetLoadBasedAutoScalingOutput struct { _ struct{} `type:"structure"` } @@ -14444,7 +14444,7 @@ func (s SetLoadBasedAutoScalingOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermissionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermissionRequest type SetPermissionInput struct { _ struct{} `type:"structure"` @@ -14538,7 +14538,7 @@ func (s *SetPermissionInput) SetStackId(v string) *SetPermissionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermissionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermissionOutput type SetPermissionOutput struct { _ struct{} `type:"structure"` } @@ -14553,7 +14553,7 @@ func (s SetPermissionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScalingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScalingRequest type SetTimeBasedAutoScalingInput struct { _ struct{} `type:"structure"` @@ -14601,7 +14601,7 @@ func (s *SetTimeBasedAutoScalingInput) SetInstanceId(v string) *SetTimeBasedAuto return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScalingOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScalingOutput type SetTimeBasedAutoScalingOutput struct { _ struct{} `type:"structure"` } @@ -14617,7 +14617,7 @@ func (s SetTimeBasedAutoScalingOutput) GoString() string { } // The Shutdown event configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ShutdownEventConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ShutdownEventConfiguration type ShutdownEventConfiguration struct { _ struct{} `type:"structure"` @@ -14655,7 +14655,7 @@ func (s *ShutdownEventConfiguration) SetExecutionTimeout(v int64) *ShutdownEvent // Contains the information required to retrieve an app or cookbook from a repository. // For more information, see Creating Apps (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html) // or Custom Recipes and Cookbooks (http://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Source +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Source type Source struct { _ struct{} `type:"structure"` @@ -14748,7 +14748,7 @@ func (s *Source) SetUsername(v string) *Source { } // Describes an app's SSL configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SslConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SslConfiguration type SslConfiguration struct { _ struct{} `type:"structure"` @@ -14812,7 +14812,7 @@ func (s *SslConfiguration) SetPrivateKey(v string) *SslConfiguration { } // Describes a stack. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Stack +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Stack type Stack struct { _ struct{} `type:"structure"` @@ -15046,7 +15046,7 @@ func (s *Stack) SetVpcId(v string) *Stack { } // Describes the configuration manager. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StackConfigurationManager +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StackConfigurationManager type StackConfigurationManager struct { _ struct{} `type:"structure"` @@ -15082,7 +15082,7 @@ func (s *StackConfigurationManager) SetVersion(v string) *StackConfigurationMana } // Summarizes the number of layers, instances, and apps in a stack. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StackSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StackSummary type StackSummary struct { _ struct{} `type:"structure"` @@ -15151,7 +15151,7 @@ func (s *StackSummary) SetStackId(v string) *StackSummary { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstanceRequest type StartInstanceInput struct { _ struct{} `type:"structure"` @@ -15190,7 +15190,7 @@ func (s *StartInstanceInput) SetInstanceId(v string) *StartInstanceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstanceOutput type StartInstanceOutput struct { _ struct{} `type:"structure"` } @@ -15205,7 +15205,7 @@ func (s StartInstanceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStackRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStackRequest type StartStackInput struct { _ struct{} `type:"structure"` @@ -15244,7 +15244,7 @@ func (s *StartStackInput) SetStackId(v string) *StartStackInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStackOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStackOutput type StartStackOutput struct { _ struct{} `type:"structure"` } @@ -15259,7 +15259,7 @@ func (s StartStackOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstanceRequest type StopInstanceInput struct { _ struct{} `type:"structure"` @@ -15298,7 +15298,7 @@ func (s *StopInstanceInput) SetInstanceId(v string) *StopInstanceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstanceOutput type StopInstanceOutput struct { _ struct{} `type:"structure"` } @@ -15313,7 +15313,7 @@ func (s StopInstanceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStackRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStackRequest type StopStackInput struct { _ struct{} `type:"structure"` @@ -15352,7 +15352,7 @@ func (s *StopStackInput) SetStackId(v string) *StopStackInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStackOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStackOutput type StopStackOutput struct { _ struct{} `type:"structure"` } @@ -15367,7 +15367,7 @@ func (s StopStackOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResourceRequest type TagResourceInput struct { _ struct{} `type:"structure"` @@ -15436,7 +15436,7 @@ func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResourceOutput type TagResourceOutput struct { _ struct{} `type:"structure"` } @@ -15453,7 +15453,7 @@ func (s TagResourceOutput) GoString() string { // Contains the data needed by RDP clients such as the Microsoft Remote Desktop // Connection to log in to the instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TemporaryCredential +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TemporaryCredential type TemporaryCredential struct { _ struct{} `type:"structure"` @@ -15508,7 +15508,7 @@ func (s *TemporaryCredential) SetValidForInMinutes(v int64) *TemporaryCredential } // Describes an instance's time-based auto scaling configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TimeBasedAutoScalingConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TimeBasedAutoScalingConfiguration type TimeBasedAutoScalingConfiguration struct { _ struct{} `type:"structure"` @@ -15541,7 +15541,7 @@ func (s *TimeBasedAutoScalingConfiguration) SetInstanceId(v string) *TimeBasedAu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstanceRequest type UnassignInstanceInput struct { _ struct{} `type:"structure"` @@ -15580,7 +15580,7 @@ func (s *UnassignInstanceInput) SetInstanceId(v string) *UnassignInstanceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstanceOutput type UnassignInstanceOutput struct { _ struct{} `type:"structure"` } @@ -15595,7 +15595,7 @@ func (s UnassignInstanceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolumeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolumeRequest type UnassignVolumeInput struct { _ struct{} `type:"structure"` @@ -15634,7 +15634,7 @@ func (s *UnassignVolumeInput) SetVolumeId(v string) *UnassignVolumeInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolumeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolumeOutput type UnassignVolumeOutput struct { _ struct{} `type:"structure"` } @@ -15649,7 +15649,7 @@ func (s UnassignVolumeOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResourceRequest type UntagResourceInput struct { _ struct{} `type:"structure"` @@ -15702,7 +15702,7 @@ func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResourceOutput type UntagResourceOutput struct { _ struct{} `type:"structure"` } @@ -15717,7 +15717,7 @@ func (s UntagResourceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateAppRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateAppRequest type UpdateAppInput struct { _ struct{} `type:"structure"` @@ -15875,7 +15875,7 @@ func (s *UpdateAppInput) SetType(v string) *UpdateAppInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateAppOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateAppOutput type UpdateAppOutput struct { _ struct{} `type:"structure"` } @@ -15890,7 +15890,7 @@ func (s UpdateAppOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIpRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIpRequest type UpdateElasticIpInput struct { _ struct{} `type:"structure"` @@ -15938,7 +15938,7 @@ func (s *UpdateElasticIpInput) SetName(v string) *UpdateElasticIpInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIpOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIpOutput type UpdateElasticIpOutput struct { _ struct{} `type:"structure"` } @@ -15953,7 +15953,7 @@ func (s UpdateElasticIpOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstanceRequest type UpdateInstanceInput struct { _ struct{} `type:"structure"` @@ -16152,7 +16152,7 @@ func (s *UpdateInstanceInput) SetSshKeyName(v string) *UpdateInstanceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstanceOutput type UpdateInstanceOutput struct { _ struct{} `type:"structure"` } @@ -16167,7 +16167,7 @@ func (s UpdateInstanceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayerRequest type UpdateLayerInput struct { _ struct{} `type:"structure"` @@ -16381,7 +16381,7 @@ func (s *UpdateLayerInput) SetVolumeConfigurations(v []*VolumeConfiguration) *Up return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayerOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayerOutput type UpdateLayerOutput struct { _ struct{} `type:"structure"` } @@ -16396,7 +16396,7 @@ func (s UpdateLayerOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfileRequest type UpdateMyUserProfileInput struct { _ struct{} `type:"structure"` @@ -16420,7 +16420,7 @@ func (s *UpdateMyUserProfileInput) SetSshPublicKey(v string) *UpdateMyUserProfil return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfileOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfileOutput type UpdateMyUserProfileOutput struct { _ struct{} `type:"structure"` } @@ -16435,7 +16435,7 @@ func (s UpdateMyUserProfileOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstanceRequest type UpdateRdsDbInstanceInput struct { _ struct{} `type:"structure"` @@ -16492,7 +16492,7 @@ func (s *UpdateRdsDbInstanceInput) SetRdsDbInstanceArn(v string) *UpdateRdsDbIns return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstanceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstanceOutput type UpdateRdsDbInstanceOutput struct { _ struct{} `type:"structure"` } @@ -16507,7 +16507,7 @@ func (s UpdateRdsDbInstanceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStackRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStackRequest type UpdateStackInput struct { _ struct{} `type:"structure"` @@ -16819,7 +16819,7 @@ func (s *UpdateStackInput) SetUseOpsworksSecurityGroups(v bool) *UpdateStackInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStackOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStackOutput type UpdateStackOutput struct { _ struct{} `type:"structure"` } @@ -16834,7 +16834,7 @@ func (s UpdateStackOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfileRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfileRequest type UpdateUserProfileInput struct { _ struct{} `type:"structure"` @@ -16905,7 +16905,7 @@ func (s *UpdateUserProfileInput) SetSshUsername(v string) *UpdateUserProfileInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfileOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfileOutput type UpdateUserProfileOutput struct { _ struct{} `type:"structure"` } @@ -16920,7 +16920,7 @@ func (s UpdateUserProfileOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolumeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolumeRequest type UpdateVolumeInput struct { _ struct{} `type:"structure"` @@ -16977,7 +16977,7 @@ func (s *UpdateVolumeInput) SetVolumeId(v string) *UpdateVolumeInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolumeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolumeOutput type UpdateVolumeOutput struct { _ struct{} `type:"structure"` } @@ -16993,7 +16993,7 @@ func (s UpdateVolumeOutput) GoString() string { } // Describes a user's SSH information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UserProfile +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UserProfile type UserProfile struct { _ struct{} `type:"structure"` @@ -17055,7 +17055,7 @@ func (s *UserProfile) SetSshUsername(v string) *UserProfile { } // Describes an instance's Amazon EBS volume. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Volume +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Volume type Volume struct { _ struct{} `type:"structure"` @@ -17190,7 +17190,7 @@ func (s *Volume) SetVolumeType(v string) *Volume { } // Describes an Amazon EBS volume configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/VolumeConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/VolumeConfiguration type VolumeConfiguration struct { _ struct{} `type:"structure"` @@ -17308,7 +17308,7 @@ func (s *VolumeConfiguration) SetVolumeType(v string) *VolumeConfiguration { // hours, from UTC 1200 - 1600. It will be off for the remainder of the day. // // { "12":"on", "13":"on", "14":"on", "15":"on" } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/WeeklyAutoScalingSchedule +// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/WeeklyAutoScalingSchedule type WeeklyAutoScalingSchedule struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/rds/api.go b/vendor/github.com/aws/aws-sdk-go/service/rds/api.go index 787706aae71..41fc4059f1e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/rds/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/rds/api.go @@ -38,7 +38,7 @@ const opAddRoleToDBCluster = "AddRoleToDBCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBCluster func (c *RDS) AddRoleToDBClusterRequest(input *AddRoleToDBClusterInput) (req *request.Request, output *AddRoleToDBClusterOutput) { op := &request.Operation{ Name: opAddRoleToDBCluster, @@ -85,7 +85,7 @@ func (c *RDS) AddRoleToDBClusterRequest(input *AddRoleToDBClusterInput) (req *re // You have exceeded the maximum number of IAM roles that can be associated // with the specified DB cluster. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBCluster func (c *RDS) AddRoleToDBCluster(input *AddRoleToDBClusterInput) (*AddRoleToDBClusterOutput, error) { req, out := c.AddRoleToDBClusterRequest(input) return out, req.Send() @@ -132,7 +132,7 @@ const opAddSourceIdentifierToSubscription = "AddSourceIdentifierToSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscription func (c *RDS) AddSourceIdentifierToSubscriptionRequest(input *AddSourceIdentifierToSubscriptionInput) (req *request.Request, output *AddSourceIdentifierToSubscriptionOutput) { op := &request.Operation{ Name: opAddSourceIdentifierToSubscription, @@ -167,7 +167,7 @@ func (c *RDS) AddSourceIdentifierToSubscriptionRequest(input *AddSourceIdentifie // * ErrCodeSourceNotFoundFault "SourceNotFound" // The requested source could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscription func (c *RDS) AddSourceIdentifierToSubscription(input *AddSourceIdentifierToSubscriptionInput) (*AddSourceIdentifierToSubscriptionOutput, error) { req, out := c.AddSourceIdentifierToSubscriptionRequest(input) return out, req.Send() @@ -214,7 +214,7 @@ const opAddTagsToResource = "AddTagsToResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResource func (c *RDS) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput) { op := &request.Operation{ Name: opAddTagsToResource, @@ -259,7 +259,7 @@ func (c *RDS) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *requ // * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" // DBClusterIdentifier does not refer to an existing DB cluster. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResource func (c *RDS) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error) { req, out := c.AddTagsToResourceRequest(input) return out, req.Send() @@ -306,7 +306,7 @@ const opApplyPendingMaintenanceAction = "ApplyPendingMaintenanceAction" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceAction func (c *RDS) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMaintenanceActionInput) (req *request.Request, output *ApplyPendingMaintenanceActionOutput) { op := &request.Operation{ Name: opApplyPendingMaintenanceAction, @@ -339,7 +339,7 @@ func (c *RDS) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMaintenanc // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The specified resource ID was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceAction func (c *RDS) ApplyPendingMaintenanceAction(input *ApplyPendingMaintenanceActionInput) (*ApplyPendingMaintenanceActionOutput, error) { req, out := c.ApplyPendingMaintenanceActionRequest(input) return out, req.Send() @@ -386,7 +386,7 @@ const opAuthorizeDBSecurityGroupIngress = "AuthorizeDBSecurityGroupIngress" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngress func (c *RDS) AuthorizeDBSecurityGroupIngressRequest(input *AuthorizeDBSecurityGroupIngressInput) (req *request.Request, output *AuthorizeDBSecurityGroupIngressOutput) { op := &request.Operation{ Name: opAuthorizeDBSecurityGroupIngress, @@ -413,8 +413,8 @@ func (c *RDS) AuthorizeDBSecurityGroupIngressRequest(input *AuthorizeDBSecurityG // EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName // or EC2SecurityGroupId for non-VPC). // -// You cannot authorize ingress from an EC2 security group in one AWS Region -// to an Amazon RDS DB instance in another. You cannot authorize ingress from +// You can't authorize ingress from an EC2 security group in one AWS Region +// to an Amazon RDS DB instance in another. You can't authorize ingress from // a VPC security group in one VPC to an Amazon RDS DB instance in another. // // For an overview of CIDR ranges, go to the Wikipedia Tutorial (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing). @@ -440,7 +440,7 @@ func (c *RDS) AuthorizeDBSecurityGroupIngressRequest(input *AuthorizeDBSecurityG // * ErrCodeAuthorizationQuotaExceededFault "AuthorizationQuotaExceeded" // DB security group authorization quota has been reached. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngress func (c *RDS) AuthorizeDBSecurityGroupIngress(input *AuthorizeDBSecurityGroupIngressInput) (*AuthorizeDBSecurityGroupIngressOutput, error) { req, out := c.AuthorizeDBSecurityGroupIngressRequest(input) return out, req.Send() @@ -487,7 +487,7 @@ const opCopyDBClusterParameterGroup = "CopyDBClusterParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroup func (c *RDS) CopyDBClusterParameterGroupRequest(input *CopyDBClusterParameterGroupInput) (req *request.Request, output *CopyDBClusterParameterGroupOutput) { op := &request.Operation{ Name: opCopyDBClusterParameterGroup, @@ -526,7 +526,7 @@ func (c *RDS) CopyDBClusterParameterGroupRequest(input *CopyDBClusterParameterGr // * ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" // A DB parameter group with the same name exists. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroup func (c *RDS) CopyDBClusterParameterGroup(input *CopyDBClusterParameterGroupInput) (*CopyDBClusterParameterGroupOutput, error) { req, out := c.CopyDBClusterParameterGroupRequest(input) return out, req.Send() @@ -573,7 +573,7 @@ const opCopyDBClusterSnapshot = "CopyDBClusterSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshot func (c *RDS) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput) (req *request.Request, output *CopyDBClusterSnapshotOutput) { op := &request.Operation{ Name: opCopyDBClusterSnapshot, @@ -603,8 +603,8 @@ func (c *RDS) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput) (r // copied to. To copy an encrypted DB cluster snapshot from another AWS Region, // you must provide the following values: // -// * KmsKeyId - The AWS Key Management System (KMS) key identifier for the -// key to use to encrypt the copy of the DB cluster snapshot in the destination +// * KmsKeyId - The AWS Key Management System (AWS KMS) key identifier for +// the key to use to encrypt the copy of the DB cluster snapshot in the destination // AWS Region. // // * PreSignedUrl - A URL that contains a Signature Version 4 signed request @@ -629,8 +629,8 @@ func (c *RDS) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput) (r // the encrypted DB cluster snapshot to be copied. This identifier must be // in the Amazon Resource Name (ARN) format for the source AWS Region. For // example, if you are copying an encrypted DB cluster snapshot from the -// us-west-2 region, then your SourceDBClusterSnapshotIdentifier looks like -// the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115. +// us-west-2 AWS Region, then your SourceDBClusterSnapshotIdentifier looks +// like the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115. // // To learn how to generate a Signature Version 4 signed request, see Authenticating // Requests: Using Query Parameters (AWS Signature Version 4) (http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) @@ -682,7 +682,7 @@ func (c *RDS) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput) (r // * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" // Error accessing KMS key. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshot func (c *RDS) CopyDBClusterSnapshot(input *CopyDBClusterSnapshotInput) (*CopyDBClusterSnapshotOutput, error) { req, out := c.CopyDBClusterSnapshotRequest(input) return out, req.Send() @@ -729,7 +729,7 @@ const opCopyDBParameterGroup = "CopyDBParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroup func (c *RDS) CopyDBParameterGroupRequest(input *CopyDBParameterGroupInput) (req *request.Request, output *CopyDBParameterGroupOutput) { op := &request.Operation{ Name: opCopyDBParameterGroup, @@ -768,7 +768,7 @@ func (c *RDS) CopyDBParameterGroupRequest(input *CopyDBParameterGroupInput) (req // Request would result in user exceeding the allowed number of DB parameter // groups. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroup func (c *RDS) CopyDBParameterGroup(input *CopyDBParameterGroupInput) (*CopyDBParameterGroupOutput, error) { req, out := c.CopyDBParameterGroupRequest(input) return out, req.Send() @@ -815,7 +815,7 @@ const opCopyDBSnapshot = "CopyDBSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshot func (c *RDS) CopyDBSnapshotRequest(input *CopyDBSnapshotInput) (req *request.Request, output *CopyDBSnapshotOutput) { op := &request.Operation{ Name: opCopyDBSnapshot, @@ -841,7 +841,7 @@ func (c *RDS) CopyDBSnapshotRequest(input *CopyDBSnapshotInput) (req *request.Re // AWS Region where you call the CopyDBSnapshot action is the destination AWS // Region for the DB snapshot copy. // -// You cannot copy an encrypted, shared DB snapshot from one AWS Region to another. +// You can't copy an encrypted, shared DB snapshot from one AWS Region to another. // // For more information about copying snapshots, see Copying a DB Snapshot (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopyDBSnapshot.html) // in the Amazon RDS User Guide. @@ -869,7 +869,7 @@ func (c *RDS) CopyDBSnapshotRequest(input *CopyDBSnapshotInput) (req *request.Re // * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" // Error accessing KMS key. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshot func (c *RDS) CopyDBSnapshot(input *CopyDBSnapshotInput) (*CopyDBSnapshotOutput, error) { req, out := c.CopyDBSnapshotRequest(input) return out, req.Send() @@ -916,7 +916,7 @@ const opCopyOptionGroup = "CopyOptionGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroup func (c *RDS) CopyOptionGroupRequest(input *CopyOptionGroupInput) (req *request.Request, output *CopyOptionGroupOutput) { op := &request.Operation{ Name: opCopyOptionGroup, @@ -954,7 +954,7 @@ func (c *RDS) CopyOptionGroupRequest(input *CopyOptionGroupInput) (req *request. // * ErrCodeOptionGroupQuotaExceededFault "OptionGroupQuotaExceededFault" // The quota of 20 option groups was exceeded for this AWS account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroup func (c *RDS) CopyOptionGroup(input *CopyOptionGroupInput) (*CopyOptionGroupOutput, error) { req, out := c.CopyOptionGroupRequest(input) return out, req.Send() @@ -1001,7 +1001,7 @@ const opCreateDBCluster = "CreateDBCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBCluster func (c *RDS) CreateDBClusterRequest(input *CreateDBClusterInput) (req *request.Request, output *CreateDBClusterOutput) { op := &request.Operation{ Name: opCreateDBCluster, @@ -1091,7 +1091,7 @@ func (c *RDS) CreateDBClusterRequest(input *CreateDBClusterInput) (req *request. // Subnets in the DB subnet group should cover at least two Availability Zones // unless there is only one Availability Zone. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBCluster func (c *RDS) CreateDBCluster(input *CreateDBClusterInput) (*CreateDBClusterOutput, error) { req, out := c.CreateDBClusterRequest(input) return out, req.Send() @@ -1138,7 +1138,7 @@ const opCreateDBClusterParameterGroup = "CreateDBClusterParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroup func (c *RDS) CreateDBClusterParameterGroupRequest(input *CreateDBClusterParameterGroupInput) (req *request.Request, output *CreateDBClusterParameterGroupOutput) { op := &request.Operation{ Name: opCreateDBClusterParameterGroup, @@ -1201,7 +1201,7 @@ func (c *RDS) CreateDBClusterParameterGroupRequest(input *CreateDBClusterParamet // * ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" // A DB parameter group with the same name exists. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroup func (c *RDS) CreateDBClusterParameterGroup(input *CreateDBClusterParameterGroupInput) (*CreateDBClusterParameterGroupOutput, error) { req, out := c.CreateDBClusterParameterGroupRequest(input) return out, req.Send() @@ -1248,7 +1248,7 @@ const opCreateDBClusterSnapshot = "CreateDBClusterSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshot func (c *RDS) CreateDBClusterSnapshotRequest(input *CreateDBClusterSnapshotInput) (req *request.Request, output *CreateDBClusterSnapshotOutput) { op := &request.Operation{ Name: opCreateDBClusterSnapshot, @@ -1294,7 +1294,7 @@ func (c *RDS) CreateDBClusterSnapshotRequest(input *CreateDBClusterSnapshotInput // * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" // The supplied value is not a valid DB cluster snapshot state. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshot func (c *RDS) CreateDBClusterSnapshot(input *CreateDBClusterSnapshotInput) (*CreateDBClusterSnapshotOutput, error) { req, out := c.CreateDBClusterSnapshotRequest(input) return out, req.Send() @@ -1341,7 +1341,7 @@ const opCreateDBInstance = "CreateDBInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance func (c *RDS) CreateDBInstanceRequest(input *CreateDBInstanceInput) (req *request.Request, output *CreateDBInstanceOutput) { op := &request.Operation{ Name: opCreateDBInstance, @@ -1433,7 +1433,7 @@ func (c *RDS) CreateDBInstanceRequest(input *CreateDBInstanceInput) (req *reques // * ErrCodeDomainNotFoundFault "DomainNotFoundFault" // Domain does not refer to an existing Active Directory Domain. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance func (c *RDS) CreateDBInstance(input *CreateDBInstanceInput) (*CreateDBInstanceOutput, error) { req, out := c.CreateDBInstanceRequest(input) return out, req.Send() @@ -1480,7 +1480,7 @@ const opCreateDBInstanceReadReplica = "CreateDBInstanceReadReplica" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica func (c *RDS) CreateDBInstanceReadReplicaRequest(input *CreateDBInstanceReadReplicaInput) (req *request.Request, output *CreateDBInstanceReadReplicaOutput) { op := &request.Operation{ Name: opCreateDBInstanceReadReplica, @@ -1585,7 +1585,7 @@ func (c *RDS) CreateDBInstanceReadReplicaRequest(input *CreateDBInstanceReadRepl // * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" // Error accessing KMS key. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica func (c *RDS) CreateDBInstanceReadReplica(input *CreateDBInstanceReadReplicaInput) (*CreateDBInstanceReadReplicaOutput, error) { req, out := c.CreateDBInstanceReadReplicaRequest(input) return out, req.Send() @@ -1632,7 +1632,7 @@ const opCreateDBParameterGroup = "CreateDBParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroup func (c *RDS) CreateDBParameterGroupRequest(input *CreateDBParameterGroupInput) (req *request.Request, output *CreateDBParameterGroupOutput) { op := &request.Operation{ Name: opCreateDBParameterGroup, @@ -1688,7 +1688,7 @@ func (c *RDS) CreateDBParameterGroupRequest(input *CreateDBParameterGroupInput) // * ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" // A DB parameter group with the same name exists. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroup func (c *RDS) CreateDBParameterGroup(input *CreateDBParameterGroupInput) (*CreateDBParameterGroupOutput, error) { req, out := c.CreateDBParameterGroupRequest(input) return out, req.Send() @@ -1735,7 +1735,7 @@ const opCreateDBSecurityGroup = "CreateDBSecurityGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroup func (c *RDS) CreateDBSecurityGroupRequest(input *CreateDBSecurityGroupInput) (req *request.Request, output *CreateDBSecurityGroupOutput) { op := &request.Operation{ Name: opCreateDBSecurityGroup, @@ -1776,7 +1776,7 @@ func (c *RDS) CreateDBSecurityGroupRequest(input *CreateDBSecurityGroupInput) (r // * ErrCodeDBSecurityGroupNotSupportedFault "DBSecurityGroupNotSupported" // A DB security group is not allowed for this action. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroup func (c *RDS) CreateDBSecurityGroup(input *CreateDBSecurityGroupInput) (*CreateDBSecurityGroupOutput, error) { req, out := c.CreateDBSecurityGroupRequest(input) return out, req.Send() @@ -1823,7 +1823,7 @@ const opCreateDBSnapshot = "CreateDBSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshot func (c *RDS) CreateDBSnapshotRequest(input *CreateDBSnapshotInput) (req *request.Request, output *CreateDBSnapshotOutput) { op := &request.Operation{ Name: opCreateDBSnapshot, @@ -1864,7 +1864,7 @@ func (c *RDS) CreateDBSnapshotRequest(input *CreateDBSnapshotInput) (req *reques // * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" // Request would result in user exceeding the allowed number of DB snapshots. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshot func (c *RDS) CreateDBSnapshot(input *CreateDBSnapshotInput) (*CreateDBSnapshotOutput, error) { req, out := c.CreateDBSnapshotRequest(input) return out, req.Send() @@ -1911,7 +1911,7 @@ const opCreateDBSubnetGroup = "CreateDBSubnetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroup func (c *RDS) CreateDBSubnetGroupRequest(input *CreateDBSubnetGroupInput) (req *request.Request, output *CreateDBSubnetGroupOutput) { op := &request.Operation{ Name: opCreateDBSubnetGroup, @@ -1959,7 +1959,7 @@ func (c *RDS) CreateDBSubnetGroupRequest(input *CreateDBSubnetGroupInput) (req * // The requested subnet is invalid, or multiple subnets were requested that // are not all in a common VPC. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroup func (c *RDS) CreateDBSubnetGroup(input *CreateDBSubnetGroupInput) (*CreateDBSubnetGroupOutput, error) { req, out := c.CreateDBSubnetGroupRequest(input) return out, req.Send() @@ -2006,7 +2006,7 @@ const opCreateEventSubscription = "CreateEventSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscription func (c *RDS) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput) { op := &request.Operation{ Name: opCreateEventSubscription, @@ -2073,7 +2073,7 @@ func (c *RDS) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput // * ErrCodeSourceNotFoundFault "SourceNotFound" // The requested source could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscription func (c *RDS) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error) { req, out := c.CreateEventSubscriptionRequest(input) return out, req.Send() @@ -2120,7 +2120,7 @@ const opCreateOptionGroup = "CreateOptionGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroup func (c *RDS) CreateOptionGroupRequest(input *CreateOptionGroupInput) (req *request.Request, output *CreateOptionGroupOutput) { op := &request.Operation{ Name: opCreateOptionGroup, @@ -2155,7 +2155,7 @@ func (c *RDS) CreateOptionGroupRequest(input *CreateOptionGroupInput) (req *requ // * ErrCodeOptionGroupQuotaExceededFault "OptionGroupQuotaExceededFault" // The quota of 20 option groups was exceeded for this AWS account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroup func (c *RDS) CreateOptionGroup(input *CreateOptionGroupInput) (*CreateOptionGroupOutput, error) { req, out := c.CreateOptionGroupRequest(input) return out, req.Send() @@ -2202,7 +2202,7 @@ const opDeleteDBCluster = "DeleteDBCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBCluster func (c *RDS) DeleteDBClusterRequest(input *DeleteDBClusterInput) (req *request.Request, output *DeleteDBClusterOutput) { op := &request.Operation{ Name: opDeleteDBCluster, @@ -2223,8 +2223,8 @@ func (c *RDS) DeleteDBClusterRequest(input *DeleteDBClusterInput) (req *request. // // The DeleteDBCluster action deletes a previously provisioned DB cluster. When // you delete a DB cluster, all automated backups for that DB cluster are deleted -// and cannot be recovered. Manual DB cluster snapshots of the specified DB -// cluster are not deleted. +// and can't be recovered. Manual DB cluster snapshots of the specified DB cluster +// are not deleted. // // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)in the Amazon RDS User Guide. // @@ -2251,7 +2251,7 @@ func (c *RDS) DeleteDBClusterRequest(input *DeleteDBClusterInput) (req *request. // * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" // The supplied value is not a valid DB cluster snapshot state. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBCluster func (c *RDS) DeleteDBCluster(input *DeleteDBClusterInput) (*DeleteDBClusterOutput, error) { req, out := c.DeleteDBClusterRequest(input) return out, req.Send() @@ -2298,7 +2298,7 @@ const opDeleteDBClusterParameterGroup = "DeleteDBClusterParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroup func (c *RDS) DeleteDBClusterParameterGroupRequest(input *DeleteDBClusterParameterGroupInput) (req *request.Request, output *DeleteDBClusterParameterGroupOutput) { op := &request.Operation{ Name: opDeleteDBClusterParameterGroup, @@ -2320,7 +2320,7 @@ func (c *RDS) DeleteDBClusterParameterGroupRequest(input *DeleteDBClusterParamet // DeleteDBClusterParameterGroup API operation for Amazon Relational Database Service. // // Deletes a specified DB cluster parameter group. The DB cluster parameter -// group to be deleted cannot be associated with any DB clusters. +// group to be deleted can't be associated with any DB clusters. // // For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) // in the Amazon RDS User Guide. @@ -2341,7 +2341,7 @@ func (c *RDS) DeleteDBClusterParameterGroupRequest(input *DeleteDBClusterParamet // * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" // DBParameterGroupName does not refer to an existing DB parameter group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroup func (c *RDS) DeleteDBClusterParameterGroup(input *DeleteDBClusterParameterGroupInput) (*DeleteDBClusterParameterGroupOutput, error) { req, out := c.DeleteDBClusterParameterGroupRequest(input) return out, req.Send() @@ -2388,7 +2388,7 @@ const opDeleteDBClusterSnapshot = "DeleteDBClusterSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshot func (c *RDS) DeleteDBClusterSnapshotRequest(input *DeleteDBClusterSnapshotInput) (req *request.Request, output *DeleteDBClusterSnapshotOutput) { op := &request.Operation{ Name: opDeleteDBClusterSnapshot, @@ -2429,7 +2429,7 @@ func (c *RDS) DeleteDBClusterSnapshotRequest(input *DeleteDBClusterSnapshotInput // * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" // DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshot func (c *RDS) DeleteDBClusterSnapshot(input *DeleteDBClusterSnapshotInput) (*DeleteDBClusterSnapshotOutput, error) { req, out := c.DeleteDBClusterSnapshotRequest(input) return out, req.Send() @@ -2476,7 +2476,7 @@ const opDeleteDBInstance = "DeleteDBInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance func (c *RDS) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *request.Request, output *DeleteDBInstanceOutput) { op := &request.Operation{ Name: opDeleteDBInstance, @@ -2497,12 +2497,12 @@ func (c *RDS) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *reques // // The DeleteDBInstance action deletes a previously provisioned DB instance. // When you delete a DB instance, all automated backups for that instance are -// deleted and cannot be recovered. Manual DB snapshots of the DB instance to +// deleted and can't be recovered. Manual DB snapshots of the DB instance to // be deleted by DeleteDBInstance are not deleted. // // If you request a final DB snapshot the status of the Amazon RDS DB instance // is deleting until the DB snapshot is created. The API action DescribeDBInstance -// is used to monitor the status of this operation. The action cannot be canceled +// is used to monitor the status of this operation. The action can't be canceled // or reverted once submitted. // // Note that when a DB instance is in a failure state and has a status of failed, @@ -2510,7 +2510,7 @@ func (c *RDS) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *reques // the SkipFinalSnapshot parameter is set to true. // // If the specified DB instance is part of an Amazon Aurora DB cluster, you -// cannot delete the DB instance if both of the following conditions are true: +// can't delete the DB instance if both of the following conditions are true: // // * The DB cluster is a Read Replica of another Amazon Aurora DB cluster. // @@ -2544,7 +2544,7 @@ func (c *RDS) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *reques // * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" // The DB cluster is not in a valid state. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance func (c *RDS) DeleteDBInstance(input *DeleteDBInstanceInput) (*DeleteDBInstanceOutput, error) { req, out := c.DeleteDBInstanceRequest(input) return out, req.Send() @@ -2591,7 +2591,7 @@ const opDeleteDBParameterGroup = "DeleteDBParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroup func (c *RDS) DeleteDBParameterGroupRequest(input *DeleteDBParameterGroupInput) (req *request.Request, output *DeleteDBParameterGroupOutput) { op := &request.Operation{ Name: opDeleteDBParameterGroup, @@ -2613,7 +2613,7 @@ func (c *RDS) DeleteDBParameterGroupRequest(input *DeleteDBParameterGroupInput) // DeleteDBParameterGroup API operation for Amazon Relational Database Service. // // Deletes a specified DBParameterGroup. The DBParameterGroup to be deleted -// cannot be associated with any DB instances. +// can't be associated with any DB instances. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2631,7 +2631,7 @@ func (c *RDS) DeleteDBParameterGroupRequest(input *DeleteDBParameterGroupInput) // * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" // DBParameterGroupName does not refer to an existing DB parameter group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroup func (c *RDS) DeleteDBParameterGroup(input *DeleteDBParameterGroupInput) (*DeleteDBParameterGroupOutput, error) { req, out := c.DeleteDBParameterGroupRequest(input) return out, req.Send() @@ -2678,7 +2678,7 @@ const opDeleteDBSecurityGroup = "DeleteDBSecurityGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroup func (c *RDS) DeleteDBSecurityGroupRequest(input *DeleteDBSecurityGroupInput) (req *request.Request, output *DeleteDBSecurityGroupOutput) { op := &request.Operation{ Name: opDeleteDBSecurityGroup, @@ -2717,7 +2717,7 @@ func (c *RDS) DeleteDBSecurityGroupRequest(input *DeleteDBSecurityGroupInput) (r // * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" // DBSecurityGroupName does not refer to an existing DB security group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroup func (c *RDS) DeleteDBSecurityGroup(input *DeleteDBSecurityGroupInput) (*DeleteDBSecurityGroupOutput, error) { req, out := c.DeleteDBSecurityGroupRequest(input) return out, req.Send() @@ -2764,7 +2764,7 @@ const opDeleteDBSnapshot = "DeleteDBSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshot func (c *RDS) DeleteDBSnapshotRequest(input *DeleteDBSnapshotInput) (req *request.Request, output *DeleteDBSnapshotOutput) { op := &request.Operation{ Name: opDeleteDBSnapshot, @@ -2802,7 +2802,7 @@ func (c *RDS) DeleteDBSnapshotRequest(input *DeleteDBSnapshotInput) (req *reques // * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" // DBSnapshotIdentifier does not refer to an existing DB snapshot. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshot func (c *RDS) DeleteDBSnapshot(input *DeleteDBSnapshotInput) (*DeleteDBSnapshotOutput, error) { req, out := c.DeleteDBSnapshotRequest(input) return out, req.Send() @@ -2849,7 +2849,7 @@ const opDeleteDBSubnetGroup = "DeleteDBSubnetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroup func (c *RDS) DeleteDBSubnetGroupRequest(input *DeleteDBSubnetGroupInput) (req *request.Request, output *DeleteDBSubnetGroupOutput) { op := &request.Operation{ Name: opDeleteDBSubnetGroup, @@ -2891,7 +2891,7 @@ func (c *RDS) DeleteDBSubnetGroupRequest(input *DeleteDBSubnetGroupInput) (req * // * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" // DBSubnetGroupName does not refer to an existing DB subnet group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroup func (c *RDS) DeleteDBSubnetGroup(input *DeleteDBSubnetGroupInput) (*DeleteDBSubnetGroupOutput, error) { req, out := c.DeleteDBSubnetGroupRequest(input) return out, req.Send() @@ -2938,7 +2938,7 @@ const opDeleteEventSubscription = "DeleteEventSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscription func (c *RDS) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput) { op := &request.Operation{ Name: opDeleteEventSubscription, @@ -2974,7 +2974,7 @@ func (c *RDS) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput // This error can occur if someone else is modifying a subscription. You should // retry the action. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscription func (c *RDS) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error) { req, out := c.DeleteEventSubscriptionRequest(input) return out, req.Send() @@ -3021,7 +3021,7 @@ const opDeleteOptionGroup = "DeleteOptionGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroup func (c *RDS) DeleteOptionGroupRequest(input *DeleteOptionGroupInput) (req *request.Request, output *DeleteOptionGroupOutput) { op := &request.Operation{ Name: opDeleteOptionGroup, @@ -3058,7 +3058,7 @@ func (c *RDS) DeleteOptionGroupRequest(input *DeleteOptionGroupInput) (req *requ // * ErrCodeInvalidOptionGroupStateFault "InvalidOptionGroupStateFault" // The option group is not in the available state. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroup func (c *RDS) DeleteOptionGroup(input *DeleteOptionGroupInput) (*DeleteOptionGroupOutput, error) { req, out := c.DeleteOptionGroupRequest(input) return out, req.Send() @@ -3105,7 +3105,7 @@ const opDescribeAccountAttributes = "DescribeAccountAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeAccountAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeAccountAttributes func (c *RDS) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) { op := &request.Operation{ Name: opDescribeAccountAttributes, @@ -3137,7 +3137,7 @@ func (c *RDS) DescribeAccountAttributesRequest(input *DescribeAccountAttributesI // // See the AWS API reference guide for Amazon Relational Database Service's // API operation DescribeAccountAttributes for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeAccountAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeAccountAttributes func (c *RDS) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error) { req, out := c.DescribeAccountAttributesRequest(input) return out, req.Send() @@ -3184,7 +3184,7 @@ const opDescribeCertificates = "DescribeCertificates" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeCertificates func (c *RDS) DescribeCertificatesRequest(input *DescribeCertificatesInput) (req *request.Request, output *DescribeCertificatesOutput) { op := &request.Operation{ Name: opDescribeCertificates, @@ -3216,7 +3216,7 @@ func (c *RDS) DescribeCertificatesRequest(input *DescribeCertificatesInput) (req // * ErrCodeCertificateNotFoundFault "CertificateNotFound" // CertificateIdentifier does not refer to an existing certificate. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeCertificates func (c *RDS) DescribeCertificates(input *DescribeCertificatesInput) (*DescribeCertificatesOutput, error) { req, out := c.DescribeCertificatesRequest(input) return out, req.Send() @@ -3263,7 +3263,7 @@ const opDescribeDBClusterParameterGroups = "DescribeDBClusterParameterGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameterGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameterGroups func (c *RDS) DescribeDBClusterParameterGroupsRequest(input *DescribeDBClusterParameterGroupsInput) (req *request.Request, output *DescribeDBClusterParameterGroupsOutput) { op := &request.Operation{ Name: opDescribeDBClusterParameterGroups, @@ -3300,7 +3300,7 @@ func (c *RDS) DescribeDBClusterParameterGroupsRequest(input *DescribeDBClusterPa // * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" // DBParameterGroupName does not refer to an existing DB parameter group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameterGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameterGroups func (c *RDS) DescribeDBClusterParameterGroups(input *DescribeDBClusterParameterGroupsInput) (*DescribeDBClusterParameterGroupsOutput, error) { req, out := c.DescribeDBClusterParameterGroupsRequest(input) return out, req.Send() @@ -3347,7 +3347,7 @@ const opDescribeDBClusterParameters = "DescribeDBClusterParameters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameters func (c *RDS) DescribeDBClusterParametersRequest(input *DescribeDBClusterParametersInput) (req *request.Request, output *DescribeDBClusterParametersOutput) { op := &request.Operation{ Name: opDescribeDBClusterParameters, @@ -3383,7 +3383,7 @@ func (c *RDS) DescribeDBClusterParametersRequest(input *DescribeDBClusterParamet // * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" // DBParameterGroupName does not refer to an existing DB parameter group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameters func (c *RDS) DescribeDBClusterParameters(input *DescribeDBClusterParametersInput) (*DescribeDBClusterParametersOutput, error) { req, out := c.DescribeDBClusterParametersRequest(input) return out, req.Send() @@ -3430,7 +3430,7 @@ const opDescribeDBClusterSnapshotAttributes = "DescribeDBClusterSnapshotAttribut // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributes func (c *RDS) DescribeDBClusterSnapshotAttributesRequest(input *DescribeDBClusterSnapshotAttributesInput) (req *request.Request, output *DescribeDBClusterSnapshotAttributesOutput) { op := &request.Operation{ Name: opDescribeDBClusterSnapshotAttributes, @@ -3473,7 +3473,7 @@ func (c *RDS) DescribeDBClusterSnapshotAttributesRequest(input *DescribeDBCluste // * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" // DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributes func (c *RDS) DescribeDBClusterSnapshotAttributes(input *DescribeDBClusterSnapshotAttributesInput) (*DescribeDBClusterSnapshotAttributesOutput, error) { req, out := c.DescribeDBClusterSnapshotAttributesRequest(input) return out, req.Send() @@ -3520,7 +3520,7 @@ const opDescribeDBClusterSnapshots = "DescribeDBClusterSnapshots" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshots +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshots func (c *RDS) DescribeDBClusterSnapshotsRequest(input *DescribeDBClusterSnapshotsInput) (req *request.Request, output *DescribeDBClusterSnapshotsOutput) { op := &request.Operation{ Name: opDescribeDBClusterSnapshots, @@ -3556,7 +3556,7 @@ func (c *RDS) DescribeDBClusterSnapshotsRequest(input *DescribeDBClusterSnapshot // * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" // DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshots +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshots func (c *RDS) DescribeDBClusterSnapshots(input *DescribeDBClusterSnapshotsInput) (*DescribeDBClusterSnapshotsOutput, error) { req, out := c.DescribeDBClusterSnapshotsRequest(input) return out, req.Send() @@ -3603,7 +3603,7 @@ const opDescribeDBClusters = "DescribeDBClusters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusters +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusters func (c *RDS) DescribeDBClustersRequest(input *DescribeDBClustersInput) (req *request.Request, output *DescribeDBClustersOutput) { op := &request.Operation{ Name: opDescribeDBClusters, @@ -3639,7 +3639,7 @@ func (c *RDS) DescribeDBClustersRequest(input *DescribeDBClustersInput) (req *re // * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" // DBClusterIdentifier does not refer to an existing DB cluster. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusters +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusters func (c *RDS) DescribeDBClusters(input *DescribeDBClustersInput) (*DescribeDBClustersOutput, error) { req, out := c.DescribeDBClustersRequest(input) return out, req.Send() @@ -3686,7 +3686,7 @@ const opDescribeDBEngineVersions = "DescribeDBEngineVersions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBEngineVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBEngineVersions func (c *RDS) DescribeDBEngineVersionsRequest(input *DescribeDBEngineVersionsInput) (req *request.Request, output *DescribeDBEngineVersionsOutput) { op := &request.Operation{ Name: opDescribeDBEngineVersions, @@ -3719,7 +3719,7 @@ func (c *RDS) DescribeDBEngineVersionsRequest(input *DescribeDBEngineVersionsInp // // See the AWS API reference guide for Amazon Relational Database Service's // API operation DescribeDBEngineVersions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBEngineVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBEngineVersions func (c *RDS) DescribeDBEngineVersions(input *DescribeDBEngineVersionsInput) (*DescribeDBEngineVersionsOutput, error) { req, out := c.DescribeDBEngineVersionsRequest(input) return out, req.Send() @@ -3816,7 +3816,7 @@ const opDescribeDBInstances = "DescribeDBInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstances func (c *RDS) DescribeDBInstancesRequest(input *DescribeDBInstancesInput) (req *request.Request, output *DescribeDBInstancesOutput) { op := &request.Operation{ Name: opDescribeDBInstances, @@ -3854,7 +3854,7 @@ func (c *RDS) DescribeDBInstancesRequest(input *DescribeDBInstancesInput) (req * // * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" // DBInstanceIdentifier does not refer to an existing DB instance. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstances func (c *RDS) DescribeDBInstances(input *DescribeDBInstancesInput) (*DescribeDBInstancesOutput, error) { req, out := c.DescribeDBInstancesRequest(input) return out, req.Send() @@ -3951,7 +3951,7 @@ const opDescribeDBLogFiles = "DescribeDBLogFiles" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFiles +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFiles func (c *RDS) DescribeDBLogFilesRequest(input *DescribeDBLogFilesInput) (req *request.Request, output *DescribeDBLogFilesOutput) { op := &request.Operation{ Name: opDescribeDBLogFiles, @@ -3989,7 +3989,7 @@ func (c *RDS) DescribeDBLogFilesRequest(input *DescribeDBLogFilesInput) (req *re // * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" // DBInstanceIdentifier does not refer to an existing DB instance. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFiles +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFiles func (c *RDS) DescribeDBLogFiles(input *DescribeDBLogFilesInput) (*DescribeDBLogFilesOutput, error) { req, out := c.DescribeDBLogFilesRequest(input) return out, req.Send() @@ -4086,7 +4086,7 @@ const opDescribeDBParameterGroups = "DescribeDBParameterGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameterGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameterGroups func (c *RDS) DescribeDBParameterGroupsRequest(input *DescribeDBParameterGroupsInput) (req *request.Request, output *DescribeDBParameterGroupsOutput) { op := &request.Operation{ Name: opDescribeDBParameterGroups, @@ -4126,7 +4126,7 @@ func (c *RDS) DescribeDBParameterGroupsRequest(input *DescribeDBParameterGroupsI // * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" // DBParameterGroupName does not refer to an existing DB parameter group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameterGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameterGroups func (c *RDS) DescribeDBParameterGroups(input *DescribeDBParameterGroupsInput) (*DescribeDBParameterGroupsOutput, error) { req, out := c.DescribeDBParameterGroupsRequest(input) return out, req.Send() @@ -4223,7 +4223,7 @@ const opDescribeDBParameters = "DescribeDBParameters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameters func (c *RDS) DescribeDBParametersRequest(input *DescribeDBParametersInput) (req *request.Request, output *DescribeDBParametersOutput) { op := &request.Operation{ Name: opDescribeDBParameters, @@ -4261,7 +4261,7 @@ func (c *RDS) DescribeDBParametersRequest(input *DescribeDBParametersInput) (req // * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" // DBParameterGroupName does not refer to an existing DB parameter group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameters func (c *RDS) DescribeDBParameters(input *DescribeDBParametersInput) (*DescribeDBParametersOutput, error) { req, out := c.DescribeDBParametersRequest(input) return out, req.Send() @@ -4358,7 +4358,7 @@ const opDescribeDBSecurityGroups = "DescribeDBSecurityGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSecurityGroups func (c *RDS) DescribeDBSecurityGroupsRequest(input *DescribeDBSecurityGroupsInput) (req *request.Request, output *DescribeDBSecurityGroupsOutput) { op := &request.Operation{ Name: opDescribeDBSecurityGroups, @@ -4398,7 +4398,7 @@ func (c *RDS) DescribeDBSecurityGroupsRequest(input *DescribeDBSecurityGroupsInp // * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" // DBSecurityGroupName does not refer to an existing DB security group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSecurityGroups func (c *RDS) DescribeDBSecurityGroups(input *DescribeDBSecurityGroupsInput) (*DescribeDBSecurityGroupsOutput, error) { req, out := c.DescribeDBSecurityGroupsRequest(input) return out, req.Send() @@ -4495,7 +4495,7 @@ const opDescribeDBSnapshotAttributes = "DescribeDBSnapshotAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributes func (c *RDS) DescribeDBSnapshotAttributesRequest(input *DescribeDBSnapshotAttributesInput) (req *request.Request, output *DescribeDBSnapshotAttributesOutput) { op := &request.Operation{ Name: opDescribeDBSnapshotAttributes, @@ -4538,7 +4538,7 @@ func (c *RDS) DescribeDBSnapshotAttributesRequest(input *DescribeDBSnapshotAttri // * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" // DBSnapshotIdentifier does not refer to an existing DB snapshot. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributes func (c *RDS) DescribeDBSnapshotAttributes(input *DescribeDBSnapshotAttributesInput) (*DescribeDBSnapshotAttributesOutput, error) { req, out := c.DescribeDBSnapshotAttributesRequest(input) return out, req.Send() @@ -4585,7 +4585,7 @@ const opDescribeDBSnapshots = "DescribeDBSnapshots" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshots +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshots func (c *RDS) DescribeDBSnapshotsRequest(input *DescribeDBSnapshotsInput) (req *request.Request, output *DescribeDBSnapshotsOutput) { op := &request.Operation{ Name: opDescribeDBSnapshots, @@ -4623,7 +4623,7 @@ func (c *RDS) DescribeDBSnapshotsRequest(input *DescribeDBSnapshotsInput) (req * // * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" // DBSnapshotIdentifier does not refer to an existing DB snapshot. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshots +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshots func (c *RDS) DescribeDBSnapshots(input *DescribeDBSnapshotsInput) (*DescribeDBSnapshotsOutput, error) { req, out := c.DescribeDBSnapshotsRequest(input) return out, req.Send() @@ -4720,7 +4720,7 @@ const opDescribeDBSubnetGroups = "DescribeDBSubnetGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSubnetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSubnetGroups func (c *RDS) DescribeDBSubnetGroupsRequest(input *DescribeDBSubnetGroupsInput) (req *request.Request, output *DescribeDBSubnetGroupsOutput) { op := &request.Operation{ Name: opDescribeDBSubnetGroups, @@ -4761,7 +4761,7 @@ func (c *RDS) DescribeDBSubnetGroupsRequest(input *DescribeDBSubnetGroupsInput) // * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" // DBSubnetGroupName does not refer to an existing DB subnet group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSubnetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSubnetGroups func (c *RDS) DescribeDBSubnetGroups(input *DescribeDBSubnetGroupsInput) (*DescribeDBSubnetGroupsOutput, error) { req, out := c.DescribeDBSubnetGroupsRequest(input) return out, req.Send() @@ -4858,7 +4858,7 @@ const opDescribeEngineDefaultClusterParameters = "DescribeEngineDefaultClusterPa // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParameters func (c *RDS) DescribeEngineDefaultClusterParametersRequest(input *DescribeEngineDefaultClusterParametersInput) (req *request.Request, output *DescribeEngineDefaultClusterParametersOutput) { op := &request.Operation{ Name: opDescribeEngineDefaultClusterParameters, @@ -4889,7 +4889,7 @@ func (c *RDS) DescribeEngineDefaultClusterParametersRequest(input *DescribeEngin // // See the AWS API reference guide for Amazon Relational Database Service's // API operation DescribeEngineDefaultClusterParameters for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParameters func (c *RDS) DescribeEngineDefaultClusterParameters(input *DescribeEngineDefaultClusterParametersInput) (*DescribeEngineDefaultClusterParametersOutput, error) { req, out := c.DescribeEngineDefaultClusterParametersRequest(input) return out, req.Send() @@ -4936,7 +4936,7 @@ const opDescribeEngineDefaultParameters = "DescribeEngineDefaultParameters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParameters func (c *RDS) DescribeEngineDefaultParametersRequest(input *DescribeEngineDefaultParametersInput) (req *request.Request, output *DescribeEngineDefaultParametersOutput) { op := &request.Operation{ Name: opDescribeEngineDefaultParameters, @@ -4970,7 +4970,7 @@ func (c *RDS) DescribeEngineDefaultParametersRequest(input *DescribeEngineDefaul // // See the AWS API reference guide for Amazon Relational Database Service's // API operation DescribeEngineDefaultParameters for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParameters func (c *RDS) DescribeEngineDefaultParameters(input *DescribeEngineDefaultParametersInput) (*DescribeEngineDefaultParametersOutput, error) { req, out := c.DescribeEngineDefaultParametersRequest(input) return out, req.Send() @@ -5067,7 +5067,7 @@ const opDescribeEventCategories = "DescribeEventCategories" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventCategories +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventCategories func (c *RDS) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput) { op := &request.Operation{ Name: opDescribeEventCategories, @@ -5097,7 +5097,7 @@ func (c *RDS) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput // // See the AWS API reference guide for Amazon Relational Database Service's // API operation DescribeEventCategories for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventCategories +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventCategories func (c *RDS) DescribeEventCategories(input *DescribeEventCategoriesInput) (*DescribeEventCategoriesOutput, error) { req, out := c.DescribeEventCategoriesRequest(input) return out, req.Send() @@ -5144,7 +5144,7 @@ const opDescribeEventSubscriptions = "DescribeEventSubscriptions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventSubscriptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventSubscriptions func (c *RDS) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput) { op := &request.Operation{ Name: opDescribeEventSubscriptions, @@ -5186,7 +5186,7 @@ func (c *RDS) DescribeEventSubscriptionsRequest(input *DescribeEventSubscription // * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" // The subscription name does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventSubscriptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventSubscriptions func (c *RDS) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error) { req, out := c.DescribeEventSubscriptionsRequest(input) return out, req.Send() @@ -5283,7 +5283,7 @@ const opDescribeEvents = "DescribeEvents" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEvents func (c *RDS) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { op := &request.Operation{ Name: opDescribeEvents, @@ -5320,7 +5320,7 @@ func (c *RDS) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Re // // See the AWS API reference guide for Amazon Relational Database Service's // API operation DescribeEvents for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEvents func (c *RDS) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) { req, out := c.DescribeEventsRequest(input) return out, req.Send() @@ -5417,7 +5417,7 @@ const opDescribeOptionGroupOptions = "DescribeOptionGroupOptions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupOptions func (c *RDS) DescribeOptionGroupOptionsRequest(input *DescribeOptionGroupOptionsInput) (req *request.Request, output *DescribeOptionGroupOptionsOutput) { op := &request.Operation{ Name: opDescribeOptionGroupOptions, @@ -5450,7 +5450,7 @@ func (c *RDS) DescribeOptionGroupOptionsRequest(input *DescribeOptionGroupOption // // See the AWS API reference guide for Amazon Relational Database Service's // API operation DescribeOptionGroupOptions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupOptions func (c *RDS) DescribeOptionGroupOptions(input *DescribeOptionGroupOptionsInput) (*DescribeOptionGroupOptionsOutput, error) { req, out := c.DescribeOptionGroupOptionsRequest(input) return out, req.Send() @@ -5547,7 +5547,7 @@ const opDescribeOptionGroups = "DescribeOptionGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroups func (c *RDS) DescribeOptionGroupsRequest(input *DescribeOptionGroupsInput) (req *request.Request, output *DescribeOptionGroupsOutput) { op := &request.Operation{ Name: opDescribeOptionGroups, @@ -5585,7 +5585,7 @@ func (c *RDS) DescribeOptionGroupsRequest(input *DescribeOptionGroupsInput) (req // * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" // The specified option group could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroups func (c *RDS) DescribeOptionGroups(input *DescribeOptionGroupsInput) (*DescribeOptionGroupsOutput, error) { req, out := c.DescribeOptionGroupsRequest(input) return out, req.Send() @@ -5682,7 +5682,7 @@ const opDescribeOrderableDBInstanceOptions = "DescribeOrderableDBInstanceOptions // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOrderableDBInstanceOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOrderableDBInstanceOptions func (c *RDS) DescribeOrderableDBInstanceOptionsRequest(input *DescribeOrderableDBInstanceOptionsInput) (req *request.Request, output *DescribeOrderableDBInstanceOptionsOutput) { op := &request.Operation{ Name: opDescribeOrderableDBInstanceOptions, @@ -5715,7 +5715,7 @@ func (c *RDS) DescribeOrderableDBInstanceOptionsRequest(input *DescribeOrderable // // See the AWS API reference guide for Amazon Relational Database Service's // API operation DescribeOrderableDBInstanceOptions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOrderableDBInstanceOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOrderableDBInstanceOptions func (c *RDS) DescribeOrderableDBInstanceOptions(input *DescribeOrderableDBInstanceOptionsInput) (*DescribeOrderableDBInstanceOptionsOutput, error) { req, out := c.DescribeOrderableDBInstanceOptionsRequest(input) return out, req.Send() @@ -5812,7 +5812,7 @@ const opDescribePendingMaintenanceActions = "DescribePendingMaintenanceActions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribePendingMaintenanceActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribePendingMaintenanceActions func (c *RDS) DescribePendingMaintenanceActionsRequest(input *DescribePendingMaintenanceActionsInput) (req *request.Request, output *DescribePendingMaintenanceActionsOutput) { op := &request.Operation{ Name: opDescribePendingMaintenanceActions, @@ -5845,7 +5845,7 @@ func (c *RDS) DescribePendingMaintenanceActionsRequest(input *DescribePendingMai // * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" // The specified resource ID was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribePendingMaintenanceActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribePendingMaintenanceActions func (c *RDS) DescribePendingMaintenanceActions(input *DescribePendingMaintenanceActionsInput) (*DescribePendingMaintenanceActionsOutput, error) { req, out := c.DescribePendingMaintenanceActionsRequest(input) return out, req.Send() @@ -5892,7 +5892,7 @@ const opDescribeReservedDBInstances = "DescribeReservedDBInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstances func (c *RDS) DescribeReservedDBInstancesRequest(input *DescribeReservedDBInstancesInput) (req *request.Request, output *DescribeReservedDBInstancesOutput) { op := &request.Operation{ Name: opDescribeReservedDBInstances, @@ -5931,7 +5931,7 @@ func (c *RDS) DescribeReservedDBInstancesRequest(input *DescribeReservedDBInstan // * ErrCodeReservedDBInstanceNotFoundFault "ReservedDBInstanceNotFound" // The specified reserved DB Instance not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstances func (c *RDS) DescribeReservedDBInstances(input *DescribeReservedDBInstancesInput) (*DescribeReservedDBInstancesOutput, error) { req, out := c.DescribeReservedDBInstancesRequest(input) return out, req.Send() @@ -6028,7 +6028,7 @@ const opDescribeReservedDBInstancesOfferings = "DescribeReservedDBInstancesOffer // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesOfferings +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesOfferings func (c *RDS) DescribeReservedDBInstancesOfferingsRequest(input *DescribeReservedDBInstancesOfferingsInput) (req *request.Request, output *DescribeReservedDBInstancesOfferingsOutput) { op := &request.Operation{ Name: opDescribeReservedDBInstancesOfferings, @@ -6066,7 +6066,7 @@ func (c *RDS) DescribeReservedDBInstancesOfferingsRequest(input *DescribeReserve // * ErrCodeReservedDBInstancesOfferingNotFoundFault "ReservedDBInstancesOfferingNotFound" // Specified offering does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesOfferings +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesOfferings func (c *RDS) DescribeReservedDBInstancesOfferings(input *DescribeReservedDBInstancesOfferingsInput) (*DescribeReservedDBInstancesOfferingsOutput, error) { req, out := c.DescribeReservedDBInstancesOfferingsRequest(input) return out, req.Send() @@ -6163,7 +6163,7 @@ const opDescribeSourceRegions = "DescribeSourceRegions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeSourceRegions +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeSourceRegions func (c *RDS) DescribeSourceRegionsRequest(input *DescribeSourceRegionsInput) (req *request.Request, output *DescribeSourceRegionsOutput) { op := &request.Operation{ Name: opDescribeSourceRegions, @@ -6182,7 +6182,7 @@ func (c *RDS) DescribeSourceRegionsRequest(input *DescribeSourceRegionsInput) (r // DescribeSourceRegions API operation for Amazon Relational Database Service. // -// Returns a list of the source AWS regions where the current AWS Region can +// Returns a list of the source AWS Regions where the current AWS Region can // create a Read Replica or copy a DB snapshot from. This API action supports // pagination. // @@ -6192,7 +6192,7 @@ func (c *RDS) DescribeSourceRegionsRequest(input *DescribeSourceRegionsInput) (r // // See the AWS API reference guide for Amazon Relational Database Service's // API operation DescribeSourceRegions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeSourceRegions +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeSourceRegions func (c *RDS) DescribeSourceRegions(input *DescribeSourceRegionsInput) (*DescribeSourceRegionsOutput, error) { req, out := c.DescribeSourceRegionsRequest(input) return out, req.Send() @@ -6239,7 +6239,7 @@ const opDescribeValidDBInstanceModifications = "DescribeValidDBInstanceModificat // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeValidDBInstanceModifications +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeValidDBInstanceModifications func (c *RDS) DescribeValidDBInstanceModificationsRequest(input *DescribeValidDBInstanceModificationsInput) (req *request.Request, output *DescribeValidDBInstanceModificationsOutput) { op := &request.Operation{ Name: opDescribeValidDBInstanceModifications, @@ -6276,7 +6276,7 @@ func (c *RDS) DescribeValidDBInstanceModificationsRequest(input *DescribeValidDB // * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" // The specified DB instance is not in the available state. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeValidDBInstanceModifications +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeValidDBInstanceModifications func (c *RDS) DescribeValidDBInstanceModifications(input *DescribeValidDBInstanceModificationsInput) (*DescribeValidDBInstanceModificationsOutput, error) { req, out := c.DescribeValidDBInstanceModificationsRequest(input) return out, req.Send() @@ -6323,7 +6323,7 @@ const opDownloadDBLogFilePortion = "DownloadDBLogFilePortion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortion +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortion func (c *RDS) DownloadDBLogFilePortionRequest(input *DownloadDBLogFilePortionInput) (req *request.Request, output *DownloadDBLogFilePortionOutput) { op := &request.Operation{ Name: opDownloadDBLogFilePortion, @@ -6364,7 +6364,7 @@ func (c *RDS) DownloadDBLogFilePortionRequest(input *DownloadDBLogFilePortionInp // * ErrCodeDBLogFileNotFoundFault "DBLogFileNotFoundFault" // LogFileName does not refer to an existing DB log file. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortion +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortion func (c *RDS) DownloadDBLogFilePortion(input *DownloadDBLogFilePortionInput) (*DownloadDBLogFilePortionOutput, error) { req, out := c.DownloadDBLogFilePortionRequest(input) return out, req.Send() @@ -6461,7 +6461,7 @@ const opFailoverDBCluster = "FailoverDBCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBCluster func (c *RDS) FailoverDBClusterRequest(input *FailoverDBClusterInput) (req *request.Request, output *FailoverDBClusterOutput) { op := &request.Operation{ Name: opFailoverDBCluster, @@ -6512,7 +6512,7 @@ func (c *RDS) FailoverDBClusterRequest(input *FailoverDBClusterInput) (req *requ // * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" // The specified DB instance is not in the available state. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBCluster func (c *RDS) FailoverDBCluster(input *FailoverDBClusterInput) (*FailoverDBClusterOutput, error) { req, out := c.FailoverDBClusterRequest(input) return out, req.Send() @@ -6559,7 +6559,7 @@ const opListTagsForResource = "ListTagsForResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ListTagsForResource func (c *RDS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ Name: opListTagsForResource, @@ -6600,7 +6600,7 @@ func (c *RDS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" // DBClusterIdentifier does not refer to an existing DB cluster. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ListTagsForResource func (c *RDS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { req, out := c.ListTagsForResourceRequest(input) return out, req.Send() @@ -6647,7 +6647,7 @@ const opModifyDBCluster = "ModifyDBCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBCluster func (c *RDS) ModifyDBClusterRequest(input *ModifyDBClusterInput) (req *request.Request, output *ModifyDBClusterOutput) { op := &request.Operation{ Name: opModifyDBCluster, @@ -6717,7 +6717,7 @@ func (c *RDS) ModifyDBClusterRequest(input *ModifyDBClusterInput) (req *request. // * ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" // User already has a DB cluster with the given identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBCluster func (c *RDS) ModifyDBCluster(input *ModifyDBClusterInput) (*ModifyDBClusterOutput, error) { req, out := c.ModifyDBClusterRequest(input) return out, req.Send() @@ -6764,7 +6764,7 @@ const opModifyDBClusterParameterGroup = "ModifyDBClusterParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterParameterGroup func (c *RDS) ModifyDBClusterParameterGroupRequest(input *ModifyDBClusterParameterGroupInput) (req *request.Request, output *DBClusterParameterGroupNameMessage) { op := &request.Operation{ Name: opModifyDBClusterParameterGroup, @@ -6821,7 +6821,7 @@ func (c *RDS) ModifyDBClusterParameterGroupRequest(input *ModifyDBClusterParamet // to delete the parameter group, you cannot delete it when the parameter group // is in this state. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterParameterGroup func (c *RDS) ModifyDBClusterParameterGroup(input *ModifyDBClusterParameterGroupInput) (*DBClusterParameterGroupNameMessage, error) { req, out := c.ModifyDBClusterParameterGroupRequest(input) return out, req.Send() @@ -6868,7 +6868,7 @@ const opModifyDBClusterSnapshotAttribute = "ModifyDBClusterSnapshotAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttribute func (c *RDS) ModifyDBClusterSnapshotAttributeRequest(input *ModifyDBClusterSnapshotAttributeInput) (req *request.Request, output *ModifyDBClusterSnapshotAttributeOutput) { op := &request.Operation{ Name: opModifyDBClusterSnapshotAttribute, @@ -6923,7 +6923,7 @@ func (c *RDS) ModifyDBClusterSnapshotAttributeRequest(input *ModifyDBClusterSnap // You have exceeded the maximum number of accounts that you can share a manual // DB snapshot with. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttribute func (c *RDS) ModifyDBClusterSnapshotAttribute(input *ModifyDBClusterSnapshotAttributeInput) (*ModifyDBClusterSnapshotAttributeOutput, error) { req, out := c.ModifyDBClusterSnapshotAttributeRequest(input) return out, req.Send() @@ -6970,7 +6970,7 @@ const opModifyDBInstance = "ModifyDBInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance func (c *RDS) ModifyDBInstanceRequest(input *ModifyDBInstanceInput) (req *request.Request, output *ModifyDBInstanceOutput) { op := &request.Operation{ Name: opModifyDBInstance, @@ -7057,7 +7057,7 @@ func (c *RDS) ModifyDBInstanceRequest(input *ModifyDBInstanceInput) (req *reques // * ErrCodeDomainNotFoundFault "DomainNotFoundFault" // Domain does not refer to an existing Active Directory Domain. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance func (c *RDS) ModifyDBInstance(input *ModifyDBInstanceInput) (*ModifyDBInstanceOutput, error) { req, out := c.ModifyDBInstanceRequest(input) return out, req.Send() @@ -7104,7 +7104,7 @@ const opModifyDBParameterGroup = "ModifyDBParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBParameterGroup func (c *RDS) ModifyDBParameterGroupRequest(input *ModifyDBParameterGroupInput) (req *request.Request, output *DBParameterGroupNameMessage) { op := &request.Operation{ Name: opModifyDBParameterGroup, @@ -7158,7 +7158,7 @@ func (c *RDS) ModifyDBParameterGroupRequest(input *ModifyDBParameterGroupInput) // to delete the parameter group, you cannot delete it when the parameter group // is in this state. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBParameterGroup func (c *RDS) ModifyDBParameterGroup(input *ModifyDBParameterGroupInput) (*DBParameterGroupNameMessage, error) { req, out := c.ModifyDBParameterGroupRequest(input) return out, req.Send() @@ -7205,7 +7205,7 @@ const opModifyDBSnapshot = "ModifyDBSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshot func (c *RDS) ModifyDBSnapshotRequest(input *ModifyDBSnapshotInput) (req *request.Request, output *ModifyDBSnapshotOutput) { op := &request.Operation{ Name: opModifyDBSnapshot, @@ -7240,7 +7240,7 @@ func (c *RDS) ModifyDBSnapshotRequest(input *ModifyDBSnapshotInput) (req *reques // * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" // DBSnapshotIdentifier does not refer to an existing DB snapshot. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshot func (c *RDS) ModifyDBSnapshot(input *ModifyDBSnapshotInput) (*ModifyDBSnapshotOutput, error) { req, out := c.ModifyDBSnapshotRequest(input) return out, req.Send() @@ -7287,7 +7287,7 @@ const opModifyDBSnapshotAttribute = "ModifyDBSnapshotAttribute" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttribute func (c *RDS) ModifyDBSnapshotAttributeRequest(input *ModifyDBSnapshotAttributeInput) (req *request.Request, output *ModifyDBSnapshotAttributeOutput) { op := &request.Operation{ Name: opModifyDBSnapshotAttribute, @@ -7342,7 +7342,7 @@ func (c *RDS) ModifyDBSnapshotAttributeRequest(input *ModifyDBSnapshotAttributeI // You have exceeded the maximum number of accounts that you can share a manual // DB snapshot with. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttribute func (c *RDS) ModifyDBSnapshotAttribute(input *ModifyDBSnapshotAttributeInput) (*ModifyDBSnapshotAttributeOutput, error) { req, out := c.ModifyDBSnapshotAttributeRequest(input) return out, req.Send() @@ -7389,7 +7389,7 @@ const opModifyDBSubnetGroup = "ModifyDBSubnetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroup func (c *RDS) ModifyDBSubnetGroupRequest(input *ModifyDBSubnetGroupInput) (req *request.Request, output *ModifyDBSubnetGroupOutput) { op := &request.Operation{ Name: opModifyDBSubnetGroup, @@ -7437,7 +7437,7 @@ func (c *RDS) ModifyDBSubnetGroupRequest(input *ModifyDBSubnetGroupInput) (req * // The requested subnet is invalid, or multiple subnets were requested that // are not all in a common VPC. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroup func (c *RDS) ModifyDBSubnetGroup(input *ModifyDBSubnetGroupInput) (*ModifyDBSubnetGroupOutput, error) { req, out := c.ModifyDBSubnetGroupRequest(input) return out, req.Send() @@ -7484,7 +7484,7 @@ const opModifyEventSubscription = "ModifyEventSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscription func (c *RDS) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput) { op := &request.Operation{ Name: opModifyEventSubscription, @@ -7503,7 +7503,7 @@ func (c *RDS) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput // ModifyEventSubscription API operation for Amazon Relational Database Service. // -// Modifies an existing RDS event notification subscription. Note that you cannot +// Modifies an existing RDS event notification subscription. Note that you can't // modify the source identifiers using this call; to change source identifiers // for a subscription, use the AddSourceIdentifierToSubscription and RemoveSourceIdentifierFromSubscription // calls. @@ -7539,7 +7539,7 @@ func (c *RDS) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput // * ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" // The supplied category does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscription func (c *RDS) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error) { req, out := c.ModifyEventSubscriptionRequest(input) return out, req.Send() @@ -7586,7 +7586,7 @@ const opModifyOptionGroup = "ModifyOptionGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroup func (c *RDS) ModifyOptionGroupRequest(input *ModifyOptionGroupInput) (req *request.Request, output *ModifyOptionGroupOutput) { op := &request.Operation{ Name: opModifyOptionGroup, @@ -7621,7 +7621,7 @@ func (c *RDS) ModifyOptionGroupRequest(input *ModifyOptionGroupInput) (req *requ // * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" // The specified option group could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroup func (c *RDS) ModifyOptionGroup(input *ModifyOptionGroupInput) (*ModifyOptionGroupOutput, error) { req, out := c.ModifyOptionGroupRequest(input) return out, req.Send() @@ -7668,7 +7668,7 @@ const opPromoteReadReplica = "PromoteReadReplica" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica func (c *RDS) PromoteReadReplicaRequest(input *PromoteReadReplicaInput) (req *request.Request, output *PromoteReadReplicaOutput) { op := &request.Operation{ Name: opPromoteReadReplica, @@ -7708,7 +7708,7 @@ func (c *RDS) PromoteReadReplicaRequest(input *PromoteReadReplicaInput) (req *re // * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" // DBInstanceIdentifier does not refer to an existing DB instance. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica func (c *RDS) PromoteReadReplica(input *PromoteReadReplicaInput) (*PromoteReadReplicaOutput, error) { req, out := c.PromoteReadReplicaRequest(input) return out, req.Send() @@ -7755,7 +7755,7 @@ const opPromoteReadReplicaDBCluster = "PromoteReadReplicaDBCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBCluster func (c *RDS) PromoteReadReplicaDBClusterRequest(input *PromoteReadReplicaDBClusterInput) (req *request.Request, output *PromoteReadReplicaDBClusterOutput) { op := &request.Operation{ Name: opPromoteReadReplicaDBCluster, @@ -7790,7 +7790,7 @@ func (c *RDS) PromoteReadReplicaDBClusterRequest(input *PromoteReadReplicaDBClus // * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" // The DB cluster is not in a valid state. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBCluster func (c *RDS) PromoteReadReplicaDBCluster(input *PromoteReadReplicaDBClusterInput) (*PromoteReadReplicaDBClusterOutput, error) { req, out := c.PromoteReadReplicaDBClusterRequest(input) return out, req.Send() @@ -7837,7 +7837,7 @@ const opPurchaseReservedDBInstancesOffering = "PurchaseReservedDBInstancesOfferi // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOffering func (c *RDS) PurchaseReservedDBInstancesOfferingRequest(input *PurchaseReservedDBInstancesOfferingInput) (req *request.Request, output *PurchaseReservedDBInstancesOfferingOutput) { op := &request.Operation{ Name: opPurchaseReservedDBInstancesOffering, @@ -7875,7 +7875,7 @@ func (c *RDS) PurchaseReservedDBInstancesOfferingRequest(input *PurchaseReserved // * ErrCodeReservedDBInstanceQuotaExceededFault "ReservedDBInstanceQuotaExceeded" // Request would exceed the user's DB Instance quota. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOffering func (c *RDS) PurchaseReservedDBInstancesOffering(input *PurchaseReservedDBInstancesOfferingInput) (*PurchaseReservedDBInstancesOfferingOutput, error) { req, out := c.PurchaseReservedDBInstancesOfferingRequest(input) return out, req.Send() @@ -7922,7 +7922,7 @@ const opRebootDBInstance = "RebootDBInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance func (c *RDS) RebootDBInstanceRequest(input *RebootDBInstanceInput) (req *request.Request, output *RebootDBInstanceOutput) { op := &request.Operation{ Name: opRebootDBInstance, @@ -7973,7 +7973,7 @@ func (c *RDS) RebootDBInstanceRequest(input *RebootDBInstanceInput) (req *reques // * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" // DBInstanceIdentifier does not refer to an existing DB instance. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance func (c *RDS) RebootDBInstance(input *RebootDBInstanceInput) (*RebootDBInstanceOutput, error) { req, out := c.RebootDBInstanceRequest(input) return out, req.Send() @@ -8020,7 +8020,7 @@ const opRemoveRoleFromDBCluster = "RemoveRoleFromDBCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBCluster func (c *RDS) RemoveRoleFromDBClusterRequest(input *RemoveRoleFromDBClusterInput) (req *request.Request, output *RemoveRoleFromDBClusterOutput) { op := &request.Operation{ Name: opRemoveRoleFromDBCluster, @@ -8063,7 +8063,7 @@ func (c *RDS) RemoveRoleFromDBClusterRequest(input *RemoveRoleFromDBClusterInput // * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" // The DB cluster is not in a valid state. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBCluster func (c *RDS) RemoveRoleFromDBCluster(input *RemoveRoleFromDBClusterInput) (*RemoveRoleFromDBClusterOutput, error) { req, out := c.RemoveRoleFromDBClusterRequest(input) return out, req.Send() @@ -8110,7 +8110,7 @@ const opRemoveSourceIdentifierFromSubscription = "RemoveSourceIdentifierFromSubs // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscription func (c *RDS) RemoveSourceIdentifierFromSubscriptionRequest(input *RemoveSourceIdentifierFromSubscriptionInput) (req *request.Request, output *RemoveSourceIdentifierFromSubscriptionOutput) { op := &request.Operation{ Name: opRemoveSourceIdentifierFromSubscription, @@ -8145,7 +8145,7 @@ func (c *RDS) RemoveSourceIdentifierFromSubscriptionRequest(input *RemoveSourceI // * ErrCodeSourceNotFoundFault "SourceNotFound" // The requested source could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscription func (c *RDS) RemoveSourceIdentifierFromSubscription(input *RemoveSourceIdentifierFromSubscriptionInput) (*RemoveSourceIdentifierFromSubscriptionOutput, error) { req, out := c.RemoveSourceIdentifierFromSubscriptionRequest(input) return out, req.Send() @@ -8192,7 +8192,7 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResource func (c *RDS) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput) { op := &request.Operation{ Name: opRemoveTagsFromResource, @@ -8235,7 +8235,7 @@ func (c *RDS) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) // * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" // DBClusterIdentifier does not refer to an existing DB cluster. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResource func (c *RDS) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error) { req, out := c.RemoveTagsFromResourceRequest(input) return out, req.Send() @@ -8282,7 +8282,7 @@ const opResetDBClusterParameterGroup = "ResetDBClusterParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBClusterParameterGroup func (c *RDS) ResetDBClusterParameterGroupRequest(input *ResetDBClusterParameterGroupInput) (req *request.Request, output *DBClusterParameterGroupNameMessage) { op := &request.Operation{ Name: opResetDBClusterParameterGroup, @@ -8331,7 +8331,7 @@ func (c *RDS) ResetDBClusterParameterGroupRequest(input *ResetDBClusterParameter // * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" // DBParameterGroupName does not refer to an existing DB parameter group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBClusterParameterGroup func (c *RDS) ResetDBClusterParameterGroup(input *ResetDBClusterParameterGroupInput) (*DBClusterParameterGroupNameMessage, error) { req, out := c.ResetDBClusterParameterGroupRequest(input) return out, req.Send() @@ -8378,7 +8378,7 @@ const opResetDBParameterGroup = "ResetDBParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBParameterGroup func (c *RDS) ResetDBParameterGroupRequest(input *ResetDBParameterGroupInput) (req *request.Request, output *DBParameterGroupNameMessage) { op := &request.Operation{ Name: opResetDBParameterGroup, @@ -8421,7 +8421,7 @@ func (c *RDS) ResetDBParameterGroupRequest(input *ResetDBParameterGroupInput) (r // * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" // DBParameterGroupName does not refer to an existing DB parameter group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBParameterGroup func (c *RDS) ResetDBParameterGroup(input *ResetDBParameterGroupInput) (*DBParameterGroupNameMessage, error) { req, out := c.ResetDBParameterGroupRequest(input) return out, req.Send() @@ -8468,7 +8468,7 @@ const opRestoreDBClusterFromS3 = "RestoreDBClusterFromS3" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3 +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3 func (c *RDS) RestoreDBClusterFromS3Request(input *RestoreDBClusterFromS3Input) (req *request.Request, output *RestoreDBClusterFromS3Output) { op := &request.Operation{ Name: opRestoreDBClusterFromS3, @@ -8548,7 +8548,7 @@ func (c *RDS) RestoreDBClusterFromS3Request(input *RestoreDBClusterFromS3Input) // able to resolve this error by updating your subnet group to use different // Availability Zones that have more storage available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3 +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3 func (c *RDS) RestoreDBClusterFromS3(input *RestoreDBClusterFromS3Input) (*RestoreDBClusterFromS3Output, error) { req, out := c.RestoreDBClusterFromS3Request(input) return out, req.Send() @@ -8595,7 +8595,7 @@ const opRestoreDBClusterFromSnapshot = "RestoreDBClusterFromSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshot func (c *RDS) RestoreDBClusterFromSnapshotRequest(input *RestoreDBClusterFromSnapshotInput) (req *request.Request, output *RestoreDBClusterFromSnapshotOutput) { op := &request.Operation{ Name: opRestoreDBClusterFromSnapshot, @@ -8693,7 +8693,7 @@ func (c *RDS) RestoreDBClusterFromSnapshotRequest(input *RestoreDBClusterFromSna // * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" // Error accessing KMS key. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshot func (c *RDS) RestoreDBClusterFromSnapshot(input *RestoreDBClusterFromSnapshotInput) (*RestoreDBClusterFromSnapshotOutput, error) { req, out := c.RestoreDBClusterFromSnapshotRequest(input) return out, req.Send() @@ -8740,7 +8740,7 @@ const opRestoreDBClusterToPointInTime = "RestoreDBClusterToPointInTime" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTime +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTime func (c *RDS) RestoreDBClusterToPointInTimeRequest(input *RestoreDBClusterToPointInTimeInput) (req *request.Request, output *RestoreDBClusterToPointInTimeOutput) { op := &request.Operation{ Name: opRestoreDBClusterToPointInTime, @@ -8837,7 +8837,7 @@ func (c *RDS) RestoreDBClusterToPointInTimeRequest(input *RestoreDBClusterToPoin // Request would result in user exceeding the allowed amount of storage available // across all DB instances. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTime +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTime func (c *RDS) RestoreDBClusterToPointInTime(input *RestoreDBClusterToPointInTimeInput) (*RestoreDBClusterToPointInTimeOutput, error) { req, out := c.RestoreDBClusterToPointInTimeRequest(input) return out, req.Send() @@ -8884,7 +8884,7 @@ const opRestoreDBInstanceFromDBSnapshot = "RestoreDBInstanceFromDBSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot func (c *RDS) RestoreDBInstanceFromDBSnapshotRequest(input *RestoreDBInstanceFromDBSnapshotInput) (req *request.Request, output *RestoreDBInstanceFromDBSnapshotOutput) { op := &request.Operation{ Name: opRestoreDBInstanceFromDBSnapshot, @@ -8994,7 +8994,7 @@ func (c *RDS) RestoreDBInstanceFromDBSnapshotRequest(input *RestoreDBInstanceFro // * ErrCodeDomainNotFoundFault "DomainNotFoundFault" // Domain does not refer to an existing Active Directory Domain. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot func (c *RDS) RestoreDBInstanceFromDBSnapshot(input *RestoreDBInstanceFromDBSnapshotInput) (*RestoreDBInstanceFromDBSnapshotOutput, error) { req, out := c.RestoreDBInstanceFromDBSnapshotRequest(input) return out, req.Send() @@ -9016,6 +9016,146 @@ func (c *RDS) RestoreDBInstanceFromDBSnapshotWithContext(ctx aws.Context, input return out, req.Send() } +const opRestoreDBInstanceFromS3 = "RestoreDBInstanceFromS3" + +// RestoreDBInstanceFromS3Request generates a "aws/request.Request" representing the +// client's request for the RestoreDBInstanceFromS3 operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RestoreDBInstanceFromS3 for more information on using the RestoreDBInstanceFromS3 +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RestoreDBInstanceFromS3Request method. +// req, resp := client.RestoreDBInstanceFromS3Request(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3 +func (c *RDS) RestoreDBInstanceFromS3Request(input *RestoreDBInstanceFromS3Input) (req *request.Request, output *RestoreDBInstanceFromS3Output) { + op := &request.Operation{ + Name: opRestoreDBInstanceFromS3, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RestoreDBInstanceFromS3Input{} + } + + output = &RestoreDBInstanceFromS3Output{} + req = c.newRequest(op, input, output) + return +} + +// RestoreDBInstanceFromS3 API operation for Amazon Relational Database Service. +// +// Amazon Relational Database Service (Amazon RDS) supports importing MySQL +// databases by using backup files. You can create a backup of your on-premises +// database, store it on Amazon Simple Storage Service (Amazon S3), and then +// restore the backup file onto a new Amazon RDS DB instance running MySQL. +// For more information, see Importing Data into an Amazon RDS MySQL DB Instance +// (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.html). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Relational Database Service's +// API operation RestoreDBInstanceFromS3 for usage and error information. +// +// Returned Error Codes: +// * ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" +// User already has a DB instance with the given identifier. +// +// * ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" +// Specified DB instance class is not available in the specified Availability +// Zone. +// +// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. +// +// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName does not refer to an existing DB security group. +// +// * ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" +// Request would result in user exceeding the allowed number of DB instances. +// +// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// Request would result in user exceeding the allowed amount of storage available +// across all DB instances. +// +// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName does not refer to an existing DB subnet group. +// +// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. +// +// * ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. +// +// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// DB subnet group does not cover all Availability Zones after it is created +// because users' change. +// +// * ErrCodeInvalidS3BucketFault "InvalidS3BucketFault" +// The specified Amazon S3 bucket name could not be found or Amazon RDS is not +// authorized to access the specified Amazon S3 bucket. Verify the SourceS3BucketName +// and S3IngestionRoleArn values and try again. +// +// * ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" +// Provisioned IOPS not available in the specified Availability Zone. +// +// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The specified option group could not be found. +// +// * ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" +// StorageType specified cannot be associated with the DB Instance. +// +// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// Specified CIDRIP or EC2 security group is not authorized for the specified +// DB security group. +// +// RDS may not also be authorized via IAM to perform necessary actions on your +// behalf. +// +// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// Error accessing KMS key. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3 +func (c *RDS) RestoreDBInstanceFromS3(input *RestoreDBInstanceFromS3Input) (*RestoreDBInstanceFromS3Output, error) { + req, out := c.RestoreDBInstanceFromS3Request(input) + return out, req.Send() +} + +// RestoreDBInstanceFromS3WithContext is the same as RestoreDBInstanceFromS3 with the addition of +// the ability to pass a context and additional request options. +// +// See RestoreDBInstanceFromS3 for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *RDS) RestoreDBInstanceFromS3WithContext(ctx aws.Context, input *RestoreDBInstanceFromS3Input, opts ...request.Option) (*RestoreDBInstanceFromS3Output, error) { + req, out := c.RestoreDBInstanceFromS3Request(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRestoreDBInstanceToPointInTime = "RestoreDBInstanceToPointInTime" // RestoreDBInstanceToPointInTimeRequest generates a "aws/request.Request" representing the @@ -9041,7 +9181,7 @@ const opRestoreDBInstanceToPointInTime = "RestoreDBInstanceToPointInTime" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime func (c *RDS) RestoreDBInstanceToPointInTimeRequest(input *RestoreDBInstanceToPointInTimeInput) (req *request.Request, output *RestoreDBInstanceToPointInTimeOutput) { op := &request.Operation{ Name: opRestoreDBInstanceToPointInTime, @@ -9148,7 +9288,7 @@ func (c *RDS) RestoreDBInstanceToPointInTimeRequest(input *RestoreDBInstanceToPo // * ErrCodeDomainNotFoundFault "DomainNotFoundFault" // Domain does not refer to an existing Active Directory Domain. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime func (c *RDS) RestoreDBInstanceToPointInTime(input *RestoreDBInstanceToPointInTimeInput) (*RestoreDBInstanceToPointInTimeOutput, error) { req, out := c.RestoreDBInstanceToPointInTimeRequest(input) return out, req.Send() @@ -9195,7 +9335,7 @@ const opRevokeDBSecurityGroupIngress = "RevokeDBSecurityGroupIngress" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngress func (c *RDS) RevokeDBSecurityGroupIngressRequest(input *RevokeDBSecurityGroupIngressInput) (req *request.Request, output *RevokeDBSecurityGroupIngressOutput) { op := &request.Operation{ Name: opRevokeDBSecurityGroupIngress, @@ -9240,7 +9380,7 @@ func (c *RDS) RevokeDBSecurityGroupIngressRequest(input *RevokeDBSecurityGroupIn // * ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" // The state of the DB security group does not allow deletion. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngress func (c *RDS) RevokeDBSecurityGroupIngress(input *RevokeDBSecurityGroupIngressInput) (*RevokeDBSecurityGroupIngressOutput, error) { req, out := c.RevokeDBSecurityGroupIngressRequest(input) return out, req.Send() @@ -9287,7 +9427,7 @@ const opStartDBInstance = "StartDBInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance func (c *RDS) StartDBInstanceRequest(input *StartDBInstanceInput) (req *request.Request, output *StartDBInstanceOutput) { op := &request.Operation{ Name: opStartDBInstance, @@ -9359,7 +9499,7 @@ func (c *RDS) StartDBInstanceRequest(input *StartDBInstanceInput) (req *request. // * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" // Error accessing KMS key. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance func (c *RDS) StartDBInstance(input *StartDBInstanceInput) (*StartDBInstanceOutput, error) { req, out := c.StartDBInstanceRequest(input) return out, req.Send() @@ -9406,7 +9546,7 @@ const opStopDBInstance = "StopDBInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance func (c *RDS) StopDBInstanceRequest(input *StopDBInstanceInput) (req *request.Request, output *StopDBInstanceOutput) { op := &request.Operation{ Name: opStopDBInstance, @@ -9454,7 +9594,7 @@ func (c *RDS) StopDBInstanceRequest(input *StopDBInstanceInput) (req *request.Re // * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" // The DB cluster is not in a valid state. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance func (c *RDS) StopDBInstance(input *StopDBInstanceInput) (*StopDBInstanceOutput, error) { req, out := c.StopDBInstanceRequest(input) return out, req.Send() @@ -9478,7 +9618,7 @@ func (c *RDS) StopDBInstanceWithContext(ctx aws.Context, input *StopDBInstanceIn // Describes a quota for an AWS account, for example, the number of DB instances // allowed. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AccountQuota +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AccountQuota type AccountQuota struct { _ struct{} `type:"structure"` @@ -9520,7 +9660,7 @@ func (s *AccountQuota) SetUsed(v int64) *AccountQuota { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBClusterMessage type AddRoleToDBClusterInput struct { _ struct{} `type:"structure"` @@ -9574,7 +9714,7 @@ func (s *AddRoleToDBClusterInput) SetRoleArn(v string) *AddRoleToDBClusterInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBClusterOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBClusterOutput type AddRoleToDBClusterOutput struct { _ struct{} `type:"structure"` } @@ -9589,7 +9729,7 @@ func (s AddRoleToDBClusterOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscriptionMessage type AddSourceIdentifierToSubscriptionInput struct { _ struct{} `type:"structure"` @@ -9657,7 +9797,7 @@ func (s *AddSourceIdentifierToSubscriptionInput) SetSubscriptionName(v string) * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscriptionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscriptionResult type AddSourceIdentifierToSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -9682,7 +9822,7 @@ func (s *AddSourceIdentifierToSubscriptionOutput) SetEventSubscription(v *EventS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResourceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResourceMessage type AddTagsToResourceInput struct { _ struct{} `type:"structure"` @@ -9737,7 +9877,7 @@ func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResourceOutput type AddTagsToResourceOutput struct { _ struct{} `type:"structure"` } @@ -9752,7 +9892,7 @@ func (s AddTagsToResourceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceActionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceActionMessage type ApplyPendingMaintenanceActionInput struct { _ struct{} `type:"structure"` @@ -9764,7 +9904,7 @@ type ApplyPendingMaintenanceActionInput struct { ApplyAction *string `type:"string" required:"true"` // A value that specifies the type of opt-in request, or undoes an opt-in request. - // An opt-in request of type immediate cannot be undone. + // An opt-in request of type immediate can't be undone. // // Valid values: // @@ -9833,7 +9973,7 @@ func (s *ApplyPendingMaintenanceActionInput) SetResourceIdentifier(v string) *Ap return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceActionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceActionResult type ApplyPendingMaintenanceActionOutput struct { _ struct{} `type:"structure"` @@ -9857,7 +9997,7 @@ func (s *ApplyPendingMaintenanceActionOutput) SetResourcePendingMaintenanceActio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngressMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngressMessage type AuthorizeDBSecurityGroupIngressInput struct { _ struct{} `type:"structure"` @@ -9940,19 +10080,11 @@ func (s *AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v stri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngressResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngressResult type AuthorizeDBSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * DescribeDBSecurityGroups - // - // * AuthorizeDBSecurityGroupIngress - // - // * CreateDBSecurityGroup - // - // * RevokeDBSecurityGroupIngress + // Contains the details for an Amazon RDS DB security group. // // This data type is used as a response element in the DescribeDBSecurityGroups // action. @@ -9980,7 +10112,7 @@ func (s *AuthorizeDBSecurityGroupIngressOutput) SetDBSecurityGroup(v *DBSecurity // This data type is used as an element in the following data type: // // * OrderableDBInstanceOption -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AvailabilityZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AvailabilityZone type AvailabilityZone struct { _ struct{} `type:"structure"` @@ -10005,7 +10137,7 @@ func (s *AvailabilityZone) SetName(v string) *AvailabilityZone { } // A CA certificate for an AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Certificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Certificate type Certificate struct { _ struct{} `type:"structure"` @@ -10075,7 +10207,7 @@ func (s *Certificate) SetValidTill(v time.Time) *Certificate { } // This data type is used as a response element in the action DescribeDBEngineVersions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CharacterSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CharacterSet type CharacterSet struct { _ struct{} `type:"structure"` @@ -10108,7 +10240,7 @@ func (s *CharacterSet) SetCharacterSetName(v string) *CharacterSet { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroupMessage type CopyDBClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -10130,7 +10262,7 @@ type CopyDBClusterParameterGroupInput struct { // SourceDBClusterParameterGroupIdentifier is a required field SourceDBClusterParameterGroupIdentifier *string `type:"string" required:"true"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` // A description for the copied DB cluster parameter group. @@ -10209,15 +10341,13 @@ func (s *CopyDBClusterParameterGroupInput) SetTargetDBClusterParameterGroupIdent return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroupResult type CopyDBClusterParameterGroupOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the CreateDBClusterParameterGroup - // or CopyDBClusterParameterGroup action. + // Contains the details of an Amazon RDS DB cluster parameter group. // - // This data type is used as a request parameter in the DeleteDBClusterParameterGroup - // action, and as a response element in the DescribeDBClusterParameterGroups + // This data type is used as a response element in the DescribeDBClusterParameterGroups // action. DBClusterParameterGroup *DBClusterParameterGroup `type:"structure"` } @@ -10238,20 +10368,20 @@ func (s *CopyDBClusterParameterGroupOutput) SetDBClusterParameterGroup(v *DBClus return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshotMessage type CopyDBClusterSnapshotInput struct { _ struct{} `type:"structure"` // True to copy all tags from the source DB cluster snapshot to the target DB - // cluster snapshot; otherwise false. The default is false. + // cluster snapshot, and otherwise false. The default is false. CopyTags *bool `type:"boolean"` // DestinationRegion is used for presigning the request to a given region. DestinationRegion *string `type:"string"` - // The AWS KMS key ID for an encrypted DB cluster snapshot. The KMS key ID is - // the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias - // for the KMS encryption key. + // The AWS AWS KMS key ID for an encrypted DB cluster snapshot. The KMS key + // ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key + // alias for the KMS encryption key. // // If you copy an unencrypted DB cluster snapshot and specify a value for the // KmsKeyId parameter, Amazon RDS encrypts the target DB cluster snapshot using @@ -10268,7 +10398,7 @@ type CopyDBClusterSnapshotInput struct { // To copy an encrypted DB cluster snapshot to another AWS Region, you must // set KmsKeyId to the KMS key ID you want to use to encrypt the copy of the // DB cluster snapshot in the destination AWS Region. KMS encryption keys are - // specific to the AWS Region that they are created in, and you cannot use encryption + // specific to the AWS Region that they are created in, and you can't use encryption // keys from one AWS Region in another AWS Region. KmsKeyId *string `type:"string"` @@ -10282,10 +10412,10 @@ type CopyDBClusterSnapshotInput struct { // encrypted DB cluster snapshot to be copied. The pre-signed URL request must // contain the following parameter values: // - // * KmsKeyId - The KMS key identifier for the key to use to encrypt the - // copy of the DB cluster snapshot in the destination AWS Region. This is - // the same identifier for both the CopyDBClusterSnapshot action that is - // called in the destination AWS Region, and the action contained in the + // * KmsKeyId - The AWS KMS key identifier for the key to use to encrypt + // the copy of the DB cluster snapshot in the destination AWS Region. This + // is the same identifier for both the CopyDBClusterSnapshot action that + // is called in the destination AWS Region, and the action contained in the // pre-signed URL. // // * DestinationRegion - The name of the AWS Region that the DB cluster snapshot @@ -10295,8 +10425,8 @@ type CopyDBClusterSnapshotInput struct { // for the encrypted DB cluster snapshot to be copied. This identifier must // be in the Amazon Resource Name (ARN) format for the source AWS Region. // For example, if you are copying an encrypted DB cluster snapshot from - // the us-west-2 region, then your SourceDBClusterSnapshotIdentifier looks - // like the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115. + // the us-west-2 AWS Region, then your SourceDBClusterSnapshotIdentifier + // looks like the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115. // // To learn how to generate a Signature Version 4 signed request, see Authenticating // Requests: Using Query Parameters (AWS Signature Version 4) (http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) @@ -10306,7 +10436,7 @@ type CopyDBClusterSnapshotInput struct { // The identifier of the DB cluster snapshot to copy. This parameter is not // case-sensitive. // - // You cannot copy an encrypted, shared DB cluster snapshot from one AWS Region + // You can't copy an encrypted, shared DB cluster snapshot from one AWS Region // to another. // // Constraints: @@ -10330,7 +10460,7 @@ type CopyDBClusterSnapshotInput struct { // have the same region as the source ARN. SourceRegion *string `type:"string" ignore:"true"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` // The identifier of the new DB cluster snapshot to create from the source DB @@ -10424,15 +10554,11 @@ func (s *CopyDBClusterSnapshotInput) SetTargetDBClusterSnapshotIdentifier(v stri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshotResult type CopyDBClusterSnapshotOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBClusterSnapshot - // - // * DeleteDBClusterSnapshot + // Contains the details for an Amazon RDS DB cluster snapshot // // This data type is used as a response element in the DescribeDBClusterSnapshots // action. @@ -10455,7 +10581,7 @@ func (s *CopyDBClusterSnapshotOutput) SetDBClusterSnapshot(v *DBClusterSnapshot) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroupMessage type CopyDBParameterGroupInput struct { _ struct{} `type:"structure"` @@ -10467,13 +10593,13 @@ type CopyDBParameterGroupInput struct { // // * Must specify a valid DB parameter group. // - // * Must specify a valid DB parameter group identifier, for example my-db-param-group, + // * Must specify a valid DB parameter group identifier, for example my-db-param-group, // or a valid ARN. // // SourceDBParameterGroupIdentifier is a required field SourceDBParameterGroupIdentifier *string `type:"string" required:"true"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` // A description for the copied DB parameter group. @@ -10552,15 +10678,14 @@ func (s *CopyDBParameterGroupInput) SetTargetDBParameterGroupIdentifier(v string return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroupResult type CopyDBParameterGroupOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the CreateDBParameterGroup - // action. + // Contains the details of an Amazon RDS DB parameter group. // - // This data type is used as a request parameter in the DeleteDBParameterGroup - // action, and as a response element in the DescribeDBParameterGroups action. + // This data type is used as a response element in the DescribeDBParameterGroups + // action. DBParameterGroup *DBParameterGroup `type:"structure"` } @@ -10580,12 +10705,12 @@ func (s *CopyDBParameterGroupOutput) SetDBParameterGroup(v *DBParameterGroup) *C return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshotMessage type CopyDBSnapshotInput struct { _ struct{} `type:"structure"` - // True to copy all tags from the source DB snapshot to the target DB snapshot; - // otherwise false. The default is false. + // True to copy all tags from the source DB snapshot to the target DB snapshot, + // and otherwise false. The default is false. CopyTags *bool `type:"boolean"` // DestinationRegion is used for presigning the request to a given region. @@ -10608,7 +10733,7 @@ type CopyDBSnapshotInput struct { // // If you copy an encrypted snapshot to a different AWS Region, then you must // specify a KMS key for the destination AWS Region. KMS encryption keys are - // specific to the AWS Region that they are created in, and you cannot use encryption + // specific to the AWS Region that they are created in, and you can't use encryption // keys from one AWS Region in another AWS Region. KmsKeyId *string `type:"string"` @@ -10617,8 +10742,8 @@ type CopyDBSnapshotInput struct { // Specify this option if you are copying a snapshot from one AWS Region to // another, and your DB instance uses a nondefault option group. If your source // DB instance uses Transparent Data Encryption for Oracle or Microsoft SQL - // Server, you must specify this option when copying across regions. For more - // information, see Option Group Considerations (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html#USER_CopySnapshot.Options). + // Server, you must specify this option when copying across AWS Regions. For + // more information, see Option Group Considerations (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html#USER_CopySnapshot.Options). OptionGroupName *string `type:"string"` // The URL that contains a Signature Version 4 signed request for the CopyDBSnapshot @@ -10626,9 +10751,9 @@ type CopyDBSnapshotInput struct { // to copy. // // You must specify this parameter when you copy an encrypted DB snapshot from - // another AWS Region by using the Amazon RDS API. You can specify the source - // region option instead of this parameter when you copy an encrypted DB snapshot - // from another AWS Region by using the AWS CLI. + // another AWS Region by using the Amazon RDS API. You can specify the --source-region + // option instead of this parameter when you copy an encrypted DB snapshot from + // another AWS Region by using the AWS CLI. // // The presigned URL must be a valid request for the CopyDBSnapshot API action // that can be executed in the source AWS Region that contains the encrypted @@ -10639,21 +10764,23 @@ type CopyDBSnapshotInput struct { // copied to. This AWS Region is the same one where the CopyDBSnapshot action // is called that contains this presigned URL. // - // For example, if you copy an encrypted DB snapshot from the us-west-2 region - // to the us-east-1 region, then you call the CopyDBSnapshot action in the - // us-east-1 region and provide a presigned URL that contains a call to the - // CopyDBSnapshot action in the us-west-2 region. For this example, the DestinationRegion - // in the presigned URL must be set to the us-east-1 region. + // For example, if you copy an encrypted DB snapshot from the us-west-2 AWS + // Region to the us-east-1 AWS Region, then you call the CopyDBSnapshot action + // in the us-east-1 AWS Region and provide a presigned URL that contains + // a call to the CopyDBSnapshot action in the us-west-2 AWS Region. For this + // example, the DestinationRegion in the presigned URL must be set to the + // us-east-1 AWS Region. + // + // * KmsKeyId - The AWS KMS key identifier for the key to use to encrypt + // the copy of the DB snapshot in the destination AWS Region. This is the + // same identifier for both the CopyDBSnapshot action that is called in the + // destination AWS Region, and the action contained in the presigned URL. // - // * KmsKeyId - The KMS key identifier for the key to use to encrypt the - // copy of the DB snapshot in the destination AWS Region. This is the same - // identifier for both the CopyDBSnapshot action that is called in the destination - // AWS Region, and the action contained in the presigned URL. // // * SourceDBSnapshotIdentifier - The DB snapshot identifier for the encrypted // snapshot to be copied. This identifier must be in the Amazon Resource // Name (ARN) format for the source AWS Region. For example, if you are copying - // an encrypted DB snapshot from the us-west-2 region, then your SourceDBSnapshotIdentifier + // an encrypted DB snapshot from the us-west-2 AWS Region, then your SourceDBSnapshotIdentifier // looks like the following example: arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20161115. // // @@ -10693,7 +10820,7 @@ type CopyDBSnapshotInput struct { // have the same region as the source ARN. SourceRegion *string `type:"string" ignore:"true"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` // The identifier for the copy of the snapshot. @@ -10794,15 +10921,11 @@ func (s *CopyDBSnapshotInput) SetTargetDBSnapshotIdentifier(v string) *CopyDBSna return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshotResult type CopyDBSnapshotOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBSnapshot - // - // * DeleteDBSnapshot + // Contains the details of an Amazon RDS DB snapshot. // // This data type is used as a response element in the DescribeDBSnapshots action. DBSnapshot *DBSnapshot `type:"structure"` @@ -10824,7 +10947,7 @@ func (s *CopyDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *CopyDBSnapshotOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroupMessage type CopyOptionGroupInput struct { _ struct{} `type:"structure"` @@ -10845,7 +10968,7 @@ type CopyOptionGroupInput struct { // SourceOptionGroupIdentifier is a required field SourceOptionGroupIdentifier *string `type:"string" required:"true"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` // The description for the copied option group. @@ -10924,7 +11047,7 @@ func (s *CopyOptionGroupInput) SetTargetOptionGroupIdentifier(v string) *CopyOpt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroupResult type CopyOptionGroupOutput struct { _ struct{} `type:"structure"` @@ -10947,12 +11070,12 @@ func (s *CopyOptionGroupOutput) SetOptionGroup(v *OptionGroup) *CopyOptionGroupO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterMessage type CreateDBClusterInput struct { _ struct{} `type:"structure"` // A list of EC2 Availability Zones that instances in the DB cluster can be - // created in. For information on regions and Availability Zones, see Regions + // created in. For information on AWS Regions and Availability Zones, see Regions // and Availability Zones (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). AvailabilityZones []*string `locationNameList:"AvailabilityZone" type:"list"` @@ -11009,15 +11132,15 @@ type CreateDBClusterInput struct { // DestinationRegion is used for presigning the request to a given region. DestinationRegion *string `type:"string"` - // A Boolean value that is true to enable mapping of AWS Identity and Access - // Management (IAM) accounts to database accounts, and otherwise false. + // True to enable mapping of AWS Identity and Access Management (IAM) accounts + // to database accounts, and otherwise false. // // Default: false EnableIAMDatabaseAuthentication *bool `type:"boolean"` // The name of the database engine to be used for this DB cluster. // - // Valid Values: aurora + // Valid Values: aurora, aurora-postgresql // // Engine is a required field Engine *string `type:"string" required:"true"` @@ -11029,7 +11152,7 @@ type CreateDBClusterInput struct { // Example: 5.6.10a EngineVersion *string `type:"string"` - // The KMS key identifier for an encrypted DB cluster. + // The AWS KMS key identifier for an encrypted DB cluster. // // The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption // key. If you are creating a DB cluster with the same AWS account that owns @@ -11073,8 +11196,8 @@ type CreateDBClusterInput struct { // A value that indicates that the DB cluster should be associated with the // specified option group. // - // Permanent options cannot be removed from an option group. The option group - // cannot be removed from a DB cluster once it is associated with a DB cluster. + // Permanent options can't be removed from an option group. The option group + // can't be removed from a DB cluster once it is associated with a DB cluster. OptionGroupName *string `type:"string"` // The port number on which the instances in the DB cluster accept connections. @@ -11093,11 +11216,11 @@ type CreateDBClusterInput struct { // // The pre-signed URL request must contain the following parameter values: // - // * KmsKeyId - The KMS key identifier for the key to use to encrypt the - // copy of the DB cluster in the destination AWS Region. This should refer - // to the same KMS key for both the CreateDBCluster action that is called - // in the destination AWS Region, and the action contained in the pre-signed - // URL. + // * KmsKeyId - The AWS KMS key identifier for the key to use to encrypt + // the copy of the DB cluster in the destination AWS Region. This should + // refer to the same KMS key for both the CreateDBCluster action that is + // called in the destination AWS Region, and the action contained in the + // pre-signed URL. // // * DestinationRegion - The name of the AWS Region that Aurora Read Replica // will be created in. @@ -11105,7 +11228,7 @@ type CreateDBClusterInput struct { // * ReplicationSourceIdentifier - The DB cluster identifier for the encrypted // DB cluster to be copied. This identifier must be in the Amazon Resource // Name (ARN) format for the source AWS Region. For example, if you are copying - // an encrypted DB cluster from the us-west-2 region, then your ReplicationSourceIdentifier + // an encrypted DB cluster from the us-west-2 AWS Region, then your ReplicationSourceIdentifier // would look like Example: arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1. // // To learn how to generate a Signature Version 4 signed request, see Authenticating @@ -11116,16 +11239,16 @@ type CreateDBClusterInput struct { // The daily time range during which automated backups are created if automated // backups are enabled using the BackupRetentionPeriod parameter. // - // Default: A 30-minute window selected at random from an 8-hour block of time - // per AWS Region. To see the time blocks available, see Adjusting the Preferred - // Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) + // The default is a 30-minute window selected at random from an 8-hour block + // of time for each AWS Region. To see the time blocks available, see Adjusting + // the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // // Constraints: // // * Must be in the format hh24:mi-hh24:mi. // - // * Times should be in Universal Coordinated Time (UTC). + // * Must be in Universal Coordinated Time (UTC). // // * Must not conflict with the preferred maintenance window. // @@ -11137,12 +11260,13 @@ type CreateDBClusterInput struct { // // Format: ddd:hh24:mi-ddd:hh24:mi // - // Default: A 30-minute window selected at random from an 8-hour block of time - // per AWS Region, occurring on a random day of the week. To see the time blocks - // available, see Adjusting the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) + // The default is a 30-minute window selected at random from an 8-hour block + // of time for each AWS Region, occurring on a random day of the week. To see + // the time blocks available, see Adjusting the Preferred Maintenance Window + // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // - // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun + // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. // // Constraints: Minimum 30-minute window. PreferredMaintenanceWindow *string `type:"string"` @@ -11159,7 +11283,7 @@ type CreateDBClusterInput struct { // Specifies whether the DB cluster is encrypted. StorageEncrypted *bool `type:"boolean"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` // A list of EC2 VPC security groups to associate with this DB cluster. @@ -11336,23 +11460,11 @@ func (s *CreateDBClusterInput) SetVpcSecurityGroupIds(v []*string) *CreateDBClus return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterResult type CreateDBClusterOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBCluster - // - // * DeleteDBCluster - // - // * FailoverDBCluster - // - // * ModifyDBCluster - // - // * RestoreDBClusterFromSnapshot - // - // * RestoreDBClusterToPointInTime + // Contains the details of an Amazon RDS DB cluster. // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` @@ -11374,7 +11486,7 @@ func (s *CreateDBClusterOutput) SetDBCluster(v *DBCluster) *CreateDBClusterOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroupMessage type CreateDBClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -11402,7 +11514,7 @@ type CreateDBClusterParameterGroupInput struct { // Description is a required field Description *string `type:"string" required:"true"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` } @@ -11459,15 +11571,13 @@ func (s *CreateDBClusterParameterGroupInput) SetTags(v []*Tag) *CreateDBClusterP return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroupResult type CreateDBClusterParameterGroupOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the CreateDBClusterParameterGroup - // or CopyDBClusterParameterGroup action. + // Contains the details of an Amazon RDS DB cluster parameter group. // - // This data type is used as a request parameter in the DeleteDBClusterParameterGroup - // action, and as a response element in the DescribeDBClusterParameterGroups + // This data type is used as a response element in the DescribeDBClusterParameterGroups // action. DBClusterParameterGroup *DBClusterParameterGroup `type:"structure"` } @@ -11488,7 +11598,7 @@ func (s *CreateDBClusterParameterGroupOutput) SetDBClusterParameterGroup(v *DBCl return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshotMessage type CreateDBClusterSnapshotInput struct { _ struct{} `type:"structure"` @@ -11568,15 +11678,11 @@ func (s *CreateDBClusterSnapshotInput) SetTags(v []*Tag) *CreateDBClusterSnapsho return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshotResult type CreateDBClusterSnapshotOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBClusterSnapshot - // - // * DeleteDBClusterSnapshot + // Contains the details for an Amazon RDS DB cluster snapshot // // This data type is used as a response element in the DescribeDBClusterSnapshots // action. @@ -11599,11 +11705,11 @@ func (s *CreateDBClusterSnapshotOutput) SetDBClusterSnapshot(v *DBClusterSnapsho return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceMessage type CreateDBInstanceInput struct { _ struct{} `type:"structure"` - // The amount of storage (in gigabytes) to be initially allocated for the database + // The amount of storage (in gigabytes) to be initially allocated for the DB // instance. // // Type: Integer @@ -11683,15 +11789,16 @@ type CreateDBInstanceInput struct { // Default: true AutoMinorVersionUpgrade *bool `type:"boolean"` - // The EC2 Availability Zone that the database instance is created in. For information - // on regions and Availability Zones, see Regions and Availability Zones (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). + // The EC2 Availability Zone that the DB instance is created in. For information + // on AWS Regions and Availability Zones, see Regions and Availability Zones + // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). // // Default: A random, system-chosen Availability Zone in the endpoint's AWS // Region. // // Example: us-east-1d // - // Constraint: The AvailabilityZone parameter cannot be specified if the MultiAZ + // Constraint: The AvailabilityZone parameter can't be specified if the MultiAZ // parameter is set to true. The specified Availability Zone must be in the // same AWS Region as the current endpoint. AvailabilityZone *string `type:"string"` @@ -11723,8 +11830,8 @@ type CreateDBInstanceInput struct { // information, see CreateDBCluster. CharacterSetName *string `type:"string"` - // True to copy all tags from the DB instance to snapshots of the DB instance; - // otherwise false. The default is false. + // True to copy all tags from the DB instance to snapshots of the DB instance, + // and otherwise false. The default is false. CopyTagsToSnapshot *bool `type:"boolean"` // The identifier of the DB cluster that the instance will belong to. @@ -11735,9 +11842,9 @@ type CreateDBInstanceInput struct { DBClusterIdentifier *string `type:"string"` // The compute and memory capacity of the DB instance, for example, db.m4.large. - // Not all DB instance classes are available in all regions, or for all database - // engines. For the full list of DB instance classes, and availability for your - // engine, see DB Instance Class (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + // Not all DB instance classes are available in all AWS Regions, or for all + // database engines. For the full list of DB instance classes, and availability + // for your engine, see DB Instance Class (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) // in the Amazon RDS User Guide. // // DBInstanceClass is a required field @@ -11860,7 +11967,7 @@ type CreateDBInstanceInput struct { DomainIAMRoleName *string `type:"string"` // True to enable mapping of AWS Identity and Access Management (IAM) accounts - // to database accounts; otherwise false. + // to database accounts, and otherwise false. // // You can enable IAM database authentication for the following database engines: // @@ -11878,7 +11985,7 @@ type CreateDBInstanceInput struct { // Default: false EnableIAMDatabaseAuthentication *bool `type:"boolean"` - // True to enable Performance Insights for the DB instance; otherwise false. + // True to enable Performance Insights for the DB instance, and otherwise false. EnablePerformanceInsights *bool `type:"boolean"` // The name of the database engine to be used for this instance. @@ -11889,6 +11996,8 @@ type CreateDBInstanceInput struct { // // * aurora // + // * aurora-postgresql + // // * mariadb // // * mysql @@ -11927,56 +12036,57 @@ type CreateDBInstanceInput struct { // // MariaDB // - // * 10.1.23 (supported in all AWS regions) + // * 10.1.23 (supported in all AWS Regions) // - // * 10.1.19 (supported in all AWS regions) + // * 10.1.19 (supported in all AWS Regions) // - // * 10.1.14 (supported in all regions except us-east-2) + // * 10.1.14 (supported in all AWS Regions except us-east-2) // - // 10.0.31 (supported in all AWS regions) + // 10.0.31 (supported in all AWS Regions) // - // * 10.0.28 (supported in all AWS regions) + // * 10.0.28 (supported in all AWS Regions) // - // * 10.0.24 (supported in all AWS regions) + // * 10.0.24 (supported in all AWS Regions) // - // * 10.0.17 (supported in all regions except us-east-2, ca-central-1, eu-west-2) + // * 10.0.17 (supported in all AWS Regions except us-east-2, ca-central-1, + // eu-west-2) // // Microsoft SQL Server 2016 // - // 13.00.4422.0.v1 (supported for all editions, and all AWS regions) + // 13.00.4422.0.v1 (supported for all editions, and all AWS Regions) // - // * 13.00.2164.0.v1 (supported for all editions, and all AWS regions) + // * 13.00.2164.0.v1 (supported for all editions, and all AWS Regions) // // Microsoft SQL Server 2014 // - // 12.00.5546.0.v1 (supported for all editions, and all AWS regions) + // 12.00.5546.0.v1 (supported for all editions, and all AWS Regions) // - // * 12.00.5000.0.v1 (supported for all editions, and all AWS regions) + // * 12.00.5000.0.v1 (supported for all editions, and all AWS Regions) // // * 12.00.4422.0.v1 (supported for all editions except Enterprise Edition, - // and all AWS regions except ca-central-1 and eu-west-2) + // and all AWS Regions except ca-central-1 and eu-west-2) // // Microsoft SQL Server 2012 // - // 11.00.6594.0.v1 (supported for all editions, and all AWS regions) + // 11.00.6594.0.v1 (supported for all editions, and all AWS Regions) // - // * 11.00.6020.0.v1 (supported for all editions, and all AWS regions) + // * 11.00.6020.0.v1 (supported for all editions, and all AWS Regions) // - // * 11.00.5058.0.v1 (supported for all editions, and all AWS regions except + // * 11.00.5058.0.v1 (supported for all editions, and all AWS Regions except // us-east-2, ca-central-1, and eu-west-2) // - // * 11.00.2100.60.v1 (supported for all editions, and all AWS regions except + // * 11.00.2100.60.v1 (supported for all editions, and all AWS Regions except // us-east-2, ca-central-1, and eu-west-2) // // Microsoft SQL Server 2008 R2 // - // 10.50.6529.0.v1 (supported for all editions, and all AWS regions except us-east-2, + // 10.50.6529.0.v1 (supported for all editions, and all AWS Regions except us-east-2, // ca-central-1, and eu-west-2) // - // * 10.50.6000.34.v1 (supported for all editions, and all AWS regions except + // * 10.50.6000.34.v1 (supported for all editions, and all AWS Regions except // us-east-2, ca-central-1, and eu-west-2) // - // * 10.50.2789.0.v1 (supported for all editions, and all AWS regions except + // * 10.50.2789.0.v1 (supported for all editions, and all AWS Regions except // us-east-2, ca-central-1, and eu-west-2) // // MySQL @@ -11987,25 +12097,24 @@ type CreateDBInstanceInput struct { // // * 5.7.16 (supported in all AWS regions) // - // * 5.7.11 (supported in all AWS regions) + // * 5.6.37 (supported in all AWS Regions) // - // * 5.6.37 (supported in all AWS regions) + // * 5.6.35 (supported in all AWS Regions) // - // * 5.6.35 (supported in all AWS regions) + // * 5.6.34 (supported in all AWS Regions) // - // * 5.6.34 (supported in all AWS regions) + // * 5.6.29 (supported in all AWS Regions) // - // * 5.6.29 (supported in all AWS regions) + // * 5.6.27 (supported in all AWS Regions except us-east-2, ca-central-1, + // eu-west-2) // - // * 5.6.27 (supported in all regions except us-east-2, ca-central-1, eu-west-2) + // 5.5.57(supported in all AWS Regions) // - // 5.5.57(supported in all AWS regions) + // 5.5.54(supported in all AWS Regions) // - // 5.5.54(supported in all AWS regions) + // 5.5.53(supported in all AWS Regions) // - // 5.5.53(supported in all AWS regions) - // - // 5.5.46(supported in all AWS regions) + // 5.5.46(supported in all AWS Regions) // // Oracle 12c // @@ -12065,7 +12174,9 @@ type CreateDBInstanceInput struct { EngineVersion *string `type:"string"` // The amount of Provisioned IOPS (input/output operations per second) to be - // initially allocated for the DB instance. + // initially allocated for the DB instance. For information about valid Iops + // values, see see Amazon RDS Provisioned IOPS Storage to Improve Performance + // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS). // // Constraints: Must be a multiple between 3 and 10 of the storage amount for // the DB instance. Must also be an integer multiple of 1000. For example, if @@ -12073,7 +12184,7 @@ type CreateDBInstanceInput struct { // 3000, 4000, or 5000. Iops *int64 `type:"integer"` - // The KMS key identifier for an encrypted DB instance. + // The AWS KMS key identifier for an encrypted DB instance. // // The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption // key. If you are creating a DB instance with the same AWS account that owns @@ -12096,8 +12207,8 @@ type CreateDBInstanceInput struct { // Valid values: license-included | bring-your-own-license | general-public-license LicenseModel *string `type:"string"` - // The password for the master user. Can be any printable ASCII character except - // "/", """, or "@". + // The password for the master user. The password can include any printable + // ASCII character except "/", """, or "@". // // Amazon Aurora // @@ -12202,7 +12313,7 @@ type CreateDBInstanceInput struct { MonitoringInterval *int64 `type:"integer"` // The ARN for the IAM role that permits RDS to send enhanced monitoring metrics - // to CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. + // to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. // For information on creating a monitoring role, go to Setting Up and Enabling // Enhanced Monitoring (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling). // @@ -12210,7 +12321,7 @@ type CreateDBInstanceInput struct { // a MonitoringRoleArn value. MonitoringRoleArn *string `type:"string"` - // Specifies if the DB instance is a Multi-AZ deployment. You cannot set the + // Specifies if the DB instance is a Multi-AZ deployment. You can't set the // AvailabilityZone parameter if the MultiAZ parameter is set to true. MultiAZ *bool `type:"boolean"` @@ -12218,13 +12329,13 @@ type CreateDBInstanceInput struct { // group. // // Permanent options, such as the TDE option for Oracle Advanced Security TDE, - // cannot be removed from an option group, and that option group cannot be removed + // can't be removed from an option group, and that option group can't be removed // from a DB instance once it is associated with a DB instance OptionGroupName *string `type:"string"` - // The KMS key identifier for encryption of Performance Insights data. The KMS - // key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS - // key alias for the KMS encryption key. + // The AWS KMS key identifier for encryption of Performance Insights data. The + // KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the + // KMS key alias for the KMS encryption key. PerformanceInsightsKMSKeyId *string `type:"string"` // The port number on which the database accepts connections. @@ -12277,40 +12388,38 @@ type CreateDBInstanceInput struct { // The daily time range during which automated backups are created if automated // backups are enabled, using the BackupRetentionPeriod parameter. For more - // information, see DB Instance Backups (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.BackingUpAndRestoringAmazonRDSInstances.html). + // information, see The Backup Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow). // // Amazon Aurora // // Not applicable. The daily time range for creating automated backups is managed // by the DB cluster. For more information, see CreateDBCluster. // - // Default: A 30-minute window selected at random from an 8-hour block of time - // per AWS Region. To see the time blocks available, see Adjusting the Preferred - // DB Instance Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow). + // The default is a 30-minute window selected at random from an 8-hour block + // of time for each AWS Region. To see the time blocks available, see Adjusting + // the Preferred DB Instance Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow). // // Constraints: // // * Must be in the format hh24:mi-hh24:mi. // - // * Times should be in Universal Coordinated Time (UTC). + // * Must be in Universal Coordinated Time (UTC). // // * Must not conflict with the preferred maintenance window. // // * Must be at least 30 minutes. PreferredBackupWindow *string `type:"string"` - // The weekly time range during which system maintenance can occur, in Universal - // Coordinated Time (UTC). For more information, see DB Instance Maintenance - // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBMaintenance.html). + // The time range each week during which system maintenance can occur, in Universal + // Coordinated Time (UTC). For more information, see Amazon RDS Maintenance + // Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance). // // Format: ddd:hh24:mi-ddd:hh24:mi // - // Default: A 30-minute window selected at random from an 8-hour block of time - // per AWS Region, occurring on a random day of the week. To see the time blocks - // available, see Adjusting the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) - // in the Amazon RDS User Guide. + // The default is a 30-minute window selected at random from an 8-hour block + // of time for each AWS Region, occurring on a random day of the week. // - // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun + // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. // // Constraints: Minimum 30-minute window. PreferredMaintenanceWindow *string `type:"string"` @@ -12358,16 +12467,16 @@ type CreateDBInstanceInput struct { // // If you specify io1, you must also include a value for the Iops parameter. // - // Default: io1 if the Iops parameter is specified; otherwise standard + // Default: io1 if the Iops parameter is specified, otherwise standard StorageType *string `type:"string"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` - // The ARN from the Key Store with which to associate the instance for TDE encryption. + // The ARN from the key store with which to associate the instance for TDE encryption. TdeCredentialArn *string `type:"string"` - // The password for the given ARN from the Key Store in order to access the + // The password for the given ARN from the key store in order to access the // device. TdeCredentialPassword *string `type:"string"` @@ -12661,21 +12770,11 @@ func (s *CreateDBInstanceInput) SetVpcSecurityGroupIds(v []*string) *CreateDBIns return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceResult type CreateDBInstanceOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBInstance - // - // * DeleteDBInstance - // - // * ModifyDBInstance - // - // * StopDBInstance - // - // * StartDBInstance + // Contains the details of an Amazon RDS DB instance. // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` @@ -12697,7 +12796,7 @@ func (s *CreateDBInstanceOutput) SetDBInstance(v *DBInstance) *CreateDBInstanceO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplicaMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplicaMessage type CreateDBInstanceReadReplicaInput struct { _ struct{} `type:"structure"` @@ -12715,14 +12814,14 @@ type CreateDBInstanceReadReplicaInput struct { // Example: us-east-1d AvailabilityZone *string `type:"string"` - // True to copy all tags from the Read Replica to snapshots of the Read Replica; - // otherwise false. The default is false. + // True to copy all tags from the Read Replica to snapshots of the Read Replica, + // and otherwise false. The default is false. CopyTagsToSnapshot *bool `type:"boolean"` // The compute and memory capacity of the Read Replica, for example, db.m4.large. - // Not all DB instance classes are available in all regions, or for all database - // engines. For the full list of DB instance classes, and availability for your - // engine, see DB Instance Class (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + // Not all DB instance classes are available in all AWS Regions, or for all + // database engines. For the full list of DB instance classes, and availability + // for your engine, see DB Instance Class (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) // in the Amazon RDS User Guide. // // Default: Inherits from the source DB instance. @@ -12765,7 +12864,7 @@ type CreateDBInstanceReadReplicaInput struct { DestinationRegion *string `type:"string"` // True to enable mapping of AWS Identity and Access Management (IAM) accounts - // to database accounts; otherwise false. + // to database accounts, and otherwise false. // // You can enable IAM database authentication for the following database engines // @@ -12778,7 +12877,7 @@ type CreateDBInstanceReadReplicaInput struct { // Default: false EnableIAMDatabaseAuthentication *bool `type:"boolean"` - // True to enable Performance Insights for the read replica; otherwise false. + // True to enable Performance Insights for the read replica, and otherwise false. EnablePerformanceInsights *bool `type:"boolean"` // The amount of Provisioned IOPS (input/output operations per second) to be @@ -12798,7 +12897,7 @@ type CreateDBInstanceReadReplicaInput struct { // // If you create an encrypted Read Replica in a different AWS Region, then you // must specify a KMS key for the destination AWS Region. KMS encryption keys - // are specific to the AWS Region that they are created in, and you cannot use + // are specific to the AWS Region that they are created in, and you can't use // encryption keys from one AWS Region in another AWS Region. KmsKeyId *string `type:"string"` @@ -12813,7 +12912,7 @@ type CreateDBInstanceReadReplicaInput struct { MonitoringInterval *int64 `type:"integer"` // The ARN for the IAM role that permits RDS to send enhanced monitoring metrics - // to CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. + // to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. // For information on creating a monitoring role, go to To create an IAM role // for Amazon RDS Enhanced Monitoring (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole). // @@ -12825,9 +12924,9 @@ type CreateDBInstanceReadReplicaInput struct { // option group for the engine specified is used. OptionGroupName *string `type:"string"` - // The KMS key identifier for encryption of Performance Insights data. The KMS - // key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS - // key alias for the KMS encryption key. + // The AWS KMS key identifier for encryption of Performance Insights data. The + // KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the + // KMS key alias for the KMS encryption key. PerformanceInsightsKMSKeyId *string `type:"string"` // The port number that the DB instance uses for connections. @@ -12842,7 +12941,7 @@ type CreateDBInstanceReadReplicaInput struct { // // You must specify this parameter when you create an encrypted Read Replica // from another AWS Region by using the Amazon RDS API. You can specify the - // source region option instead of this parameter when you create an encrypted + // --source-region option instead of this parameter when you create an encrypted // Read Replica from another AWS Region by using the AWS CLI. // // The presigned URL must be a valid request for the CreateDBInstanceReadReplica @@ -12854,15 +12953,15 @@ type CreateDBInstanceReadReplicaInput struct { // created in. This AWS Region is the same one where the CreateDBInstanceReadReplica // action is called that contains this presigned URL. // - // For example, if you create an encrypted DB instance in the us-west-1 region, - // from a source DB instance in the us-east-2 region, then you call the CreateDBInstanceReadReplica - // action in the us-east-1 region and provide a presigned URL that contains - // a call to the CreateDBInstanceReadReplica action in the us-west-2 region. - // For this example, the DestinationRegion in the presigned URL must be set - // to the us-east-1 region. + // For example, if you create an encrypted DB instance in the us-west-1 AWS + // Region, from a source DB instance in the us-east-2 AWS Region, then you + // call the CreateDBInstanceReadReplica action in the us-east-1 AWS Region + // and provide a presigned URL that contains a call to the CreateDBInstanceReadReplica + // action in the us-west-2 AWS Region. For this example, the DestinationRegion + // in the presigned URL must be set to the us-east-1 AWS Region. // - // * KmsKeyId - The KMS key identifier for the key to use to encrypt the - // Read Replica in the destination AWS Region. This is the same identifier + // * KmsKeyId - The AWS KMS key identifier for the key to use to encrypt + // the Read Replica in the destination AWS Region. This is the same identifier // for both the CreateDBInstanceReadReplica action that is called in the // destination AWS Region, and the action contained in the presigned URL. // @@ -12870,7 +12969,7 @@ type CreateDBInstanceReadReplicaInput struct { // * SourceDBInstanceIdentifier - The DB instance identifier for the encrypted // DB instance to be replicated. This identifier must be in the Amazon Resource // Name (ARN) format for the source AWS Region. For example, if you are creating - // an encrypted Read Replica from a DB instance in the us-west-2 region, + // an encrypted Read Replica from a DB instance in the us-west-2 AWS Region, // then your SourceDBInstanceIdentifier looks like the following example: // arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-20161115. // @@ -12910,8 +13009,8 @@ type CreateDBInstanceReadReplicaInput struct { // is running MySQL 5.6. // // * Can specify a DB instance that is a PostgreSQL DB instance only if the - // source is running PostgreSQL 9.3.5 or later (9.4.7 and higher for cross - // region replication). + // source is running PostgreSQL 9.3.5 or later (9.4.7 and higher for cross-region + // replication). // // * The specified DB instance must have automatic backups enabled, its backup // retention period must be greater than 0. @@ -12937,10 +13036,10 @@ type CreateDBInstanceReadReplicaInput struct { // // If you specify io1, you must also include a value for the Iops parameter. // - // Default: io1 if the Iops parameter is specified; otherwise standard + // Default: io1 if the Iops parameter is specified, otherwise standard StorageType *string `type:"string"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` } @@ -13102,21 +13201,11 @@ func (s *CreateDBInstanceReadReplicaInput) SetTags(v []*Tag) *CreateDBInstanceRe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplicaResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplicaResult type CreateDBInstanceReadReplicaOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBInstance - // - // * DeleteDBInstance - // - // * ModifyDBInstance - // - // * StopDBInstance - // - // * StartDBInstance + // Contains the details of an Amazon RDS DB instance. // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` @@ -13138,7 +13227,7 @@ func (s *CreateDBInstanceReadReplicaOutput) SetDBInstance(v *DBInstance) *Create return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroupMessage type CreateDBParameterGroupInput struct { _ struct{} `type:"structure"` @@ -13170,7 +13259,7 @@ type CreateDBParameterGroupInput struct { // Description is a required field Description *string `type:"string" required:"true"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` } @@ -13227,15 +13316,14 @@ func (s *CreateDBParameterGroupInput) SetTags(v []*Tag) *CreateDBParameterGroupI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroupResult type CreateDBParameterGroupOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the CreateDBParameterGroup - // action. + // Contains the details of an Amazon RDS DB parameter group. // - // This data type is used as a request parameter in the DeleteDBParameterGroup - // action, and as a response element in the DescribeDBParameterGroups action. + // This data type is used as a response element in the DescribeDBParameterGroups + // action. DBParameterGroup *DBParameterGroup `type:"structure"` } @@ -13255,7 +13343,7 @@ func (s *CreateDBParameterGroupOutput) SetDBParameterGroup(v *DBParameterGroup) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroupMessage type CreateDBSecurityGroupInput struct { _ struct{} `type:"structure"` @@ -13281,7 +13369,7 @@ type CreateDBSecurityGroupInput struct { // DBSecurityGroupName is a required field DBSecurityGroupName *string `type:"string" required:"true"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` } @@ -13329,19 +13417,11 @@ func (s *CreateDBSecurityGroupInput) SetTags(v []*Tag) *CreateDBSecurityGroupInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroupResult type CreateDBSecurityGroupOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * DescribeDBSecurityGroups - // - // * AuthorizeDBSecurityGroupIngress - // - // * CreateDBSecurityGroup - // - // * RevokeDBSecurityGroupIngress + // Contains the details for an Amazon RDS DB security group. // // This data type is used as a response element in the DescribeDBSecurityGroups // action. @@ -13364,7 +13444,7 @@ func (s *CreateDBSecurityGroupOutput) SetDBSecurityGroup(v *DBSecurityGroup) *Cr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshotMessage type CreateDBSnapshotInput struct { _ struct{} `type:"structure"` @@ -13394,7 +13474,7 @@ type CreateDBSnapshotInput struct { // DBSnapshotIdentifier is a required field DBSnapshotIdentifier *string `type:"string" required:"true"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` } @@ -13442,15 +13522,11 @@ func (s *CreateDBSnapshotInput) SetTags(v []*Tag) *CreateDBSnapshotInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshotResult type CreateDBSnapshotOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBSnapshot - // - // * DeleteDBSnapshot + // Contains the details of an Amazon RDS DB snapshot. // // This data type is used as a response element in the DescribeDBSnapshots action. DBSnapshot *DBSnapshot `type:"structure"` @@ -13472,7 +13548,7 @@ func (s *CreateDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *CreateDBSnapshotO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroupMessage type CreateDBSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -13496,7 +13572,7 @@ type CreateDBSubnetGroupInput struct { // SubnetIds is a required field SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` } @@ -13553,19 +13629,11 @@ func (s *CreateDBSubnetGroupInput) SetTags(v []*Tag) *CreateDBSubnetGroupInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroupResult type CreateDBSubnetGroupOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBSubnetGroup - // - // * ModifyDBSubnetGroup - // - // * DescribeDBSubnetGroups - // - // * DeleteDBSubnetGroup + // Contains the details of an Amazon RDS DB subnet group. // // This data type is used as a response element in the DescribeDBSubnetGroups // action. @@ -13588,7 +13656,7 @@ func (s *CreateDBSubnetGroupOutput) SetDBSubnetGroup(v *DBSubnetGroup) *CreateDB return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscriptionMessage type CreateEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -13613,7 +13681,7 @@ type CreateEventSubscriptionInput struct { // The list of identifiers of the event sources for which events are returned. // If not specified, then all sources are included in the response. An identifier // must begin with a letter and must contain only ASCII letters, digits, and - // hyphens; it cannot end with a hyphen or contain two consecutive hyphens. + // hyphens; it can't end with a hyphen or contain two consecutive hyphens. // // Constraints: // @@ -13647,7 +13715,7 @@ type CreateEventSubscriptionInput struct { // SubscriptionName is a required field SubscriptionName *string `type:"string" required:"true"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` } @@ -13719,7 +13787,7 @@ func (s *CreateEventSubscriptionInput) SetTags(v []*Tag) *CreateEventSubscriptio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscriptionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscriptionResult type CreateEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -13744,7 +13812,7 @@ func (s *CreateEventSubscriptionOutput) SetEventSubscription(v *EventSubscriptio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroupMessage type CreateOptionGroupInput struct { _ struct{} `type:"structure"` @@ -13780,7 +13848,7 @@ type CreateOptionGroupInput struct { // OptionGroupName is a required field OptionGroupName *string `type:"string" required:"true"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` } @@ -13846,7 +13914,7 @@ func (s *CreateOptionGroupInput) SetTags(v []*Tag) *CreateOptionGroupInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroupResult type CreateOptionGroupOutput struct { _ struct{} `type:"structure"` @@ -13869,22 +13937,10 @@ func (s *CreateOptionGroupOutput) SetOptionGroup(v *OptionGroup) *CreateOptionGr return s } -// Contains the result of a successful invocation of the following actions: -// -// * CreateDBCluster -// -// * DeleteDBCluster -// -// * FailoverDBCluster -// -// * ModifyDBCluster -// -// * RestoreDBClusterFromSnapshot -// -// * RestoreDBClusterToPointInTime +// Contains the details of an Amazon RDS DB cluster. // // This data type is used as a response element in the DescribeDBClusters action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBCluster type DBCluster struct { _ struct{} `type:"structure"` @@ -13943,9 +13999,9 @@ type DBCluster struct { // same name is returned for the life of the DB cluster. DatabaseName *string `type:"string"` - // The region-unique, immutable identifier for the DB cluster. This identifier - // is found in AWS CloudTrail log entries whenever the KMS key for the DB cluster - // is accessed. + // The AWS Region-unique, immutable identifier for the DB cluster. This identifier + // is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB + // cluster is accessed. DbClusterResourceId *string `type:"string"` // Specifies the earliest time to which a database can be restored with point-in-time @@ -13965,11 +14021,11 @@ type DBCluster struct { HostedZoneId *string `type:"string"` // True if mapping of AWS Identity and Access Management (IAM) accounts to database - // accounts is enabled; otherwise false. + // accounts is enabled, and otherwise false. IAMDatabaseAuthenticationEnabled *bool `type:"boolean"` - // If StorageEncrypted is true, the KMS key identifier for the encrypted DB - // cluster. + // If StorageEncrypted is true, the AWS KMS key identifier for the encrypted + // DB cluster. KmsKeyId *string `type:"string"` // Specifies the latest time to which a database can be restored with point-in-time @@ -14248,7 +14304,7 @@ func (s *DBCluster) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *DBClu } // Contains information about an instance that is part of a DB cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterMember +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterMember type DBClusterMember struct { _ struct{} `type:"structure"` @@ -14304,7 +14360,7 @@ func (s *DBClusterMember) SetPromotionTier(v int64) *DBClusterMember { } // Contains status information for a DB cluster option group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterOptionGroupStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterOptionGroupStatus type DBClusterOptionGroupStatus struct { _ struct{} `type:"structure"` @@ -14337,13 +14393,11 @@ func (s *DBClusterOptionGroupStatus) SetStatus(v string) *DBClusterOptionGroupSt return s } -// Contains the result of a successful invocation of the CreateDBClusterParameterGroup -// or CopyDBClusterParameterGroup action. +// Contains the details of an Amazon RDS DB cluster parameter group. // -// This data type is used as a request parameter in the DeleteDBClusterParameterGroup -// action, and as a response element in the DescribeDBClusterParameterGroups +// This data type is used as a response element in the DescribeDBClusterParameterGroups // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroup type DBClusterParameterGroup struct { _ struct{} `type:"structure"` @@ -14396,7 +14450,7 @@ func (s *DBClusterParameterGroup) SetDescription(v string) *DBClusterParameterGr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroupNameMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroupNameMessage type DBClusterParameterGroupNameMessage struct { _ struct{} `type:"structure"` @@ -14432,7 +14486,7 @@ func (s *DBClusterParameterGroupNameMessage) SetDBClusterParameterGroupName(v st // Describes an AWS Identity and Access Management (IAM) role that is associated // with a DB cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterRole type DBClusterRole struct { _ struct{} `type:"structure"` @@ -14476,15 +14530,11 @@ func (s *DBClusterRole) SetStatus(v string) *DBClusterRole { return s } -// Contains the result of a successful invocation of the following actions: -// -// * CreateDBClusterSnapshot -// -// * DeleteDBClusterSnapshot +// Contains the details for an Amazon RDS DB cluster snapshot // // This data type is used as a response element in the DescribeDBClusterSnapshots // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshot type DBClusterSnapshot struct { _ struct{} `type:"structure"` @@ -14516,11 +14566,11 @@ type DBClusterSnapshot struct { EngineVersion *string `type:"string"` // True if mapping of AWS Identity and Access Management (IAM) accounts to database - // accounts is enabled; otherwise false. + // accounts is enabled, and otherwise false. IAMDatabaseAuthenticationEnabled *bool `type:"boolean"` - // If StorageEncrypted is true, the KMS key identifier for the encrypted DB - // cluster snapshot. + // If StorageEncrypted is true, the AWS KMS key identifier for the encrypted + // DB cluster snapshot. KmsKeyId *string `type:"string"` // Provides the license model information for this DB cluster snapshot. @@ -14544,7 +14594,7 @@ type DBClusterSnapshot struct { SnapshotType *string `type:"string"` // If the DB cluster snapshot was copied from a source DB cluster snapshot, - // the Amazon Resource Name (ARN) for the source DB cluster snapshot; otherwise, + // the Amazon Resource Name (ARN) for the source DB cluster snapshot, otherwise, // a null value. SourceDBClusterSnapshotArn *string `type:"string"` @@ -14693,7 +14743,7 @@ func (s *DBClusterSnapshot) SetVpcId(v string) *DBClusterSnapshot { // Manual DB cluster snapshot attributes are used to authorize other AWS accounts // to restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute // API action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshotAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshotAttribute type DBClusterSnapshotAttribute struct { _ struct{} `type:"structure"` @@ -14742,7 +14792,7 @@ func (s *DBClusterSnapshotAttribute) SetAttributeValues(v []*string) *DBClusterS // Manual DB cluster snapshot attributes are used to authorize other AWS accounts // to copy or restore a manual DB cluster snapshot. For more information, see // the ModifyDBClusterSnapshotAttribute API action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshotAttributesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshotAttributesResult type DBClusterSnapshotAttributesResult struct { _ struct{} `type:"structure"` @@ -14777,7 +14827,7 @@ func (s *DBClusterSnapshotAttributesResult) SetDBClusterSnapshotIdentifier(v str } // This data type is used as a response element in the action DescribeDBEngineVersions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBEngineVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBEngineVersion type DBEngineVersion struct { _ struct{} `type:"structure"` @@ -14877,20 +14927,10 @@ func (s *DBEngineVersion) SetValidUpgradeTarget(v []*UpgradeTarget) *DBEngineVer return s } -// Contains the result of a successful invocation of the following actions: -// -// * CreateDBInstance -// -// * DeleteDBInstance -// -// * ModifyDBInstance -// -// * StopDBInstance -// -// * StartDBInstance +// Contains the details of an Amazon RDS DB instance. // // This data type is used as a response element in the DescribeDBInstances action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstance type DBInstance struct { _ struct{} `type:"structure"` @@ -14968,9 +15008,9 @@ type DBInstance struct { // part of a DB cluster, this can be a different port than the DB cluster port. DbInstancePort *int64 `type:"integer"` - // The region-unique, immutable identifier for the DB instance. This identifier - // is found in AWS CloudTrail log entries whenever the KMS key for the DB instance - // is accessed. + // The AWS Region-unique, immutable identifier for the DB instance. This identifier + // is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB + // instance is accessed. DbiResourceId *string `type:"string"` // The Active Directory Domain membership records associated with the DB instance. @@ -14990,7 +15030,7 @@ type DBInstance struct { EnhancedMonitoringResourceArn *string `type:"string"` // True if mapping of AWS Identity and Access Management (IAM) accounts to database - // accounts is enabled; otherwise false. + // accounts is enabled, and otherwise false. // // IAM database authentication can be enabled for the following database engines // @@ -15008,8 +15048,8 @@ type DBInstance struct { // Specifies the Provisioned IOPS (I/O operations per second) value. Iops *int64 `type:"integer"` - // If StorageEncrypted is true, the KMS key identifier for the encrypted DB - // instance. + // If StorageEncrypted is true, the AWS KMS key identifier for the encrypted + // DB instance. KmsKeyId *string `type:"string"` // Specifies the latest time to which a database can be restored with point-in-time @@ -15027,7 +15067,7 @@ type DBInstance struct { MonitoringInterval *int64 `type:"integer"` // The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics - // to CloudWatch Logs. + // to Amazon CloudWatch Logs. MonitoringRoleArn *string `type:"string"` // Specifies if the DB instance is a Multi-AZ deployment. @@ -15040,12 +15080,13 @@ type DBInstance struct { // included when changes are pending. Specific changes are identified by subelements. PendingModifiedValues *PendingModifiedValues `type:"structure"` - // True if Performance Insights is enabled for the DB instance; otherwise false. + // True if Performance Insights is enabled for the DB instance, and otherwise + // false. PerformanceInsightsEnabled *bool `type:"boolean"` - // The KMS key identifier for encryption of Performance Insights data. The KMS - // key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS - // key alias for the KMS encryption key. + // The AWS KMS key identifier for encryption of Performance Insights data. The + // KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the + // KMS key alias for the KMS encryption key. PerformanceInsightsKMSKeyId *string `type:"string"` // Specifies the daily time range during which automated backups are created @@ -15436,7 +15477,7 @@ func (s *DBInstance) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *DBIn } // Provides a list of status information for a DB instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstanceStatusInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstanceStatusInfo type DBInstanceStatusInfo struct { _ struct{} `type:"structure"` @@ -15490,12 +15531,11 @@ func (s *DBInstanceStatusInfo) SetStatusType(v string) *DBInstanceStatusInfo { return s } -// Contains the result of a successful invocation of the CreateDBParameterGroup -// action. +// Contains the details of an Amazon RDS DB parameter group. // -// This data type is used as a request parameter in the DeleteDBParameterGroup -// action, and as a response element in the DescribeDBParameterGroups action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroup +// This data type is used as a response element in the DescribeDBParameterGroups +// action. +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroup type DBParameterGroup struct { _ struct{} `type:"structure"` @@ -15549,7 +15589,7 @@ func (s *DBParameterGroup) SetDescription(v string) *DBParameterGroup { // Contains the result of a successful invocation of the ModifyDBParameterGroup // or ResetDBParameterGroup action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupNameMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupNameMessage type DBParameterGroupNameMessage struct { _ struct{} `type:"structure"` @@ -15588,7 +15628,7 @@ func (s *DBParameterGroupNameMessage) SetDBParameterGroupName(v string) *DBParam // * RebootDBInstance // // * RestoreDBInstanceFromDBSnapshot -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupStatus type DBParameterGroupStatus struct { _ struct{} `type:"structure"` @@ -15621,19 +15661,11 @@ func (s *DBParameterGroupStatus) SetParameterApplyStatus(v string) *DBParameterG return s } -// Contains the result of a successful invocation of the following actions: -// -// * DescribeDBSecurityGroups -// -// * AuthorizeDBSecurityGroupIngress -// -// * CreateDBSecurityGroup -// -// * RevokeDBSecurityGroupIngress +// Contains the details for an Amazon RDS DB security group. // // This data type is used as a response element in the DescribeDBSecurityGroups // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSecurityGroup type DBSecurityGroup struct { _ struct{} `type:"structure"` @@ -15720,7 +15752,7 @@ func (s *DBSecurityGroup) SetVpcId(v string) *DBSecurityGroup { // * RestoreDBInstanceFromDBSnapshot // // * RestoreDBInstanceToPointInTime -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSecurityGroupMembership +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSecurityGroupMembership type DBSecurityGroupMembership struct { _ struct{} `type:"structure"` @@ -15753,14 +15785,10 @@ func (s *DBSecurityGroupMembership) SetStatus(v string) *DBSecurityGroupMembersh return s } -// Contains the result of a successful invocation of the following actions: -// -// * CreateDBSnapshot -// -// * DeleteDBSnapshot +// Contains the details of an Amazon RDS DB snapshot. // // This data type is used as a response element in the DescribeDBSnapshots action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshot type DBSnapshot struct { _ struct{} `type:"structure"` @@ -15791,7 +15819,7 @@ type DBSnapshot struct { EngineVersion *string `type:"string"` // True if mapping of AWS Identity and Access Management (IAM) accounts to database - // accounts is enabled; otherwise false. + // accounts is enabled, and otherwise false. IAMDatabaseAuthenticationEnabled *bool `type:"boolean"` // Specifies the time when the snapshot was taken, in Universal Coordinated @@ -15802,7 +15830,7 @@ type DBSnapshot struct { // instance at the time of the snapshot. Iops *int64 `type:"integer"` - // If Encrypted is true, the KMS key identifier for the encrypted DB snapshot. + // If Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot. KmsKeyId *string `type:"string"` // License model information for the restored DB instance. @@ -16024,7 +16052,7 @@ func (s *DBSnapshot) SetVpcId(v string) *DBSnapshot { // Manual DB snapshot attributes are used to authorize other AWS accounts to // restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute // API. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshotAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshotAttribute type DBSnapshotAttribute struct { _ struct{} `type:"structure"` @@ -16072,7 +16100,7 @@ func (s *DBSnapshotAttribute) SetAttributeValues(v []*string) *DBSnapshotAttribu // Manual DB snapshot attributes are used to authorize other AWS accounts to // copy or restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute // API action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshotAttributesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshotAttributesResult type DBSnapshotAttributesResult struct { _ struct{} `type:"structure"` @@ -16105,19 +16133,11 @@ func (s *DBSnapshotAttributesResult) SetDBSnapshotIdentifier(v string) *DBSnapsh return s } -// Contains the result of a successful invocation of the following actions: -// -// * CreateDBSubnetGroup -// -// * ModifyDBSubnetGroup -// -// * DescribeDBSubnetGroups -// -// * DeleteDBSubnetGroup +// Contains the details of an Amazon RDS DB subnet group. // // This data type is used as a response element in the DescribeDBSubnetGroups // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSubnetGroup type DBSubnetGroup struct { _ struct{} `type:"structure"` @@ -16186,7 +16206,7 @@ func (s *DBSubnetGroup) SetVpcId(v string) *DBSubnetGroup { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterMessage type DeleteDBClusterInput struct { _ struct{} `type:"structure"` @@ -16267,23 +16287,11 @@ func (s *DeleteDBClusterInput) SetSkipFinalSnapshot(v bool) *DeleteDBClusterInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterResult type DeleteDBClusterOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBCluster - // - // * DeleteDBCluster - // - // * FailoverDBCluster - // - // * ModifyDBCluster - // - // * RestoreDBClusterFromSnapshot - // - // * RestoreDBClusterToPointInTime + // Contains the details of an Amazon RDS DB cluster. // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` @@ -16305,7 +16313,7 @@ func (s *DeleteDBClusterOutput) SetDBCluster(v *DBCluster) *DeleteDBClusterOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroupMessage type DeleteDBClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -16315,7 +16323,7 @@ type DeleteDBClusterParameterGroupInput struct { // // * Must be the name of an existing DB cluster parameter group. // - // * You cannot delete a default DB cluster parameter group. + // * You can't delete a default DB cluster parameter group. // // * Cannot be associated with any DB clusters. // @@ -16352,7 +16360,7 @@ func (s *DeleteDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v st return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroupOutput type DeleteDBClusterParameterGroupOutput struct { _ struct{} `type:"structure"` } @@ -16367,7 +16375,7 @@ func (s DeleteDBClusterParameterGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshotMessage type DeleteDBClusterSnapshotInput struct { _ struct{} `type:"structure"` @@ -16409,15 +16417,11 @@ func (s *DeleteDBClusterSnapshotInput) SetDBClusterSnapshotIdentifier(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshotResult type DeleteDBClusterSnapshotOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBClusterSnapshot - // - // * DeleteDBClusterSnapshot + // Contains the details for an Amazon RDS DB cluster snapshot // // This data type is used as a response element in the DescribeDBClusterSnapshots // action. @@ -16440,7 +16444,7 @@ func (s *DeleteDBClusterSnapshotOutput) SetDBClusterSnapshot(v *DBClusterSnapsho return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstanceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstanceMessage type DeleteDBInstanceInput struct { _ struct{} `type:"structure"` @@ -16529,21 +16533,11 @@ func (s *DeleteDBInstanceInput) SetSkipFinalSnapshot(v bool) *DeleteDBInstanceIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstanceResult type DeleteDBInstanceOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBInstance - // - // * DeleteDBInstance - // - // * ModifyDBInstance - // - // * StopDBInstance - // - // * StartDBInstance + // Contains the details of an Amazon RDS DB instance. // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` @@ -16565,7 +16559,7 @@ func (s *DeleteDBInstanceOutput) SetDBInstance(v *DBInstance) *DeleteDBInstanceO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroupMessage type DeleteDBParameterGroupInput struct { _ struct{} `type:"structure"` @@ -16575,7 +16569,7 @@ type DeleteDBParameterGroupInput struct { // // * Must be the name of an existing DB parameter group // - // * You cannot delete a default DB parameter group + // * You can't delete a default DB parameter group // // * Cannot be associated with any DB instances // @@ -16612,7 +16606,7 @@ func (s *DeleteDBParameterGroupInput) SetDBParameterGroupName(v string) *DeleteD return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroupOutput type DeleteDBParameterGroupOutput struct { _ struct{} `type:"structure"` } @@ -16627,13 +16621,13 @@ func (s DeleteDBParameterGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroupMessage type DeleteDBSecurityGroupInput struct { _ struct{} `type:"structure"` // The name of the DB security group to delete. // - // You cannot delete the default DB security group. + // You can't delete the default DB security group. // // Constraints: // @@ -16678,7 +16672,7 @@ func (s *DeleteDBSecurityGroupInput) SetDBSecurityGroupName(v string) *DeleteDBS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroupOutput type DeleteDBSecurityGroupOutput struct { _ struct{} `type:"structure"` } @@ -16693,7 +16687,7 @@ func (s DeleteDBSecurityGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshotMessage type DeleteDBSnapshotInput struct { _ struct{} `type:"structure"` @@ -16735,15 +16729,11 @@ func (s *DeleteDBSnapshotInput) SetDBSnapshotIdentifier(v string) *DeleteDBSnaps return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshotResult type DeleteDBSnapshotOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBSnapshot - // - // * DeleteDBSnapshot + // Contains the details of an Amazon RDS DB snapshot. // // This data type is used as a response element in the DescribeDBSnapshots action. DBSnapshot *DBSnapshot `type:"structure"` @@ -16765,13 +16755,13 @@ func (s *DeleteDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *DeleteDBSnapshotO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroupMessage type DeleteDBSubnetGroupInput struct { _ struct{} `type:"structure"` // The name of the database subnet group to delete. // - // You cannot delete the default subnet group. + // You can't delete the default subnet group. // // Constraints: // @@ -16813,7 +16803,7 @@ func (s *DeleteDBSubnetGroupInput) SetDBSubnetGroupName(v string) *DeleteDBSubne return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroupOutput type DeleteDBSubnetGroupOutput struct { _ struct{} `type:"structure"` } @@ -16828,7 +16818,7 @@ func (s DeleteDBSubnetGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscriptionMessage type DeleteEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -16867,7 +16857,7 @@ func (s *DeleteEventSubscriptionInput) SetSubscriptionName(v string) *DeleteEven return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscriptionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscriptionResult type DeleteEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -16892,13 +16882,13 @@ func (s *DeleteEventSubscriptionOutput) SetEventSubscription(v *EventSubscriptio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroupMessage type DeleteOptionGroupInput struct { _ struct{} `type:"structure"` // The name of the option group to be deleted. // - // You cannot delete default option groups. + // You can't delete default option groups. // // OptionGroupName is a required field OptionGroupName *string `type:"string" required:"true"` @@ -16933,7 +16923,7 @@ func (s *DeleteOptionGroupInput) SetOptionGroupName(v string) *DeleteOptionGroup return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroupOutput type DeleteOptionGroupOutput struct { _ struct{} `type:"structure"` } @@ -16948,7 +16938,7 @@ func (s DeleteOptionGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeAccountAttributesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeAccountAttributesMessage type DescribeAccountAttributesInput struct { _ struct{} `type:"structure"` } @@ -16964,7 +16954,7 @@ func (s DescribeAccountAttributesInput) GoString() string { } // Data returned by the DescribeAccountAttributes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AccountAttributesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AccountAttributesMessage type DescribeAccountAttributesOutput struct { _ struct{} `type:"structure"` @@ -16989,7 +16979,7 @@ func (s *DescribeAccountAttributesOutput) SetAccountQuotas(v []*AccountQuota) *D return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeCertificatesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeCertificatesMessage type DescribeCertificatesInput struct { _ struct{} `type:"structure"` @@ -17075,7 +17065,7 @@ func (s *DescribeCertificatesInput) SetMaxRecords(v int64) *DescribeCertificates } // Data returned by the DescribeCertificates action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CertificateMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CertificateMessage type DescribeCertificatesOutput struct { _ struct{} `type:"structure"` @@ -17110,7 +17100,7 @@ func (s *DescribeCertificatesOutput) SetMarker(v string) *DescribeCertificatesOu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameterGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameterGroupsMessage type DescribeDBClusterParameterGroupsInput struct { _ struct{} `type:"structure"` @@ -17193,7 +17183,7 @@ func (s *DescribeDBClusterParameterGroupsInput) SetMaxRecords(v int64) *Describe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroupsMessage type DescribeDBClusterParameterGroupsOutput struct { _ struct{} `type:"structure"` @@ -17228,7 +17218,7 @@ func (s *DescribeDBClusterParameterGroupsOutput) SetMarker(v string) *DescribeDB return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParametersMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParametersMessage type DescribeDBClusterParametersInput struct { _ struct{} `type:"structure"` @@ -17329,7 +17319,7 @@ func (s *DescribeDBClusterParametersInput) SetSource(v string) *DescribeDBCluste // Provides details about a DB cluster parameter group including the parameters // in the DB cluster parameter group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroupDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroupDetails type DescribeDBClusterParametersOutput struct { _ struct{} `type:"structure"` @@ -17364,7 +17354,7 @@ func (s *DescribeDBClusterParametersOutput) SetParameters(v []*Parameter) *Descr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributesMessage type DescribeDBClusterSnapshotAttributesInput struct { _ struct{} `type:"structure"` @@ -17403,7 +17393,7 @@ func (s *DescribeDBClusterSnapshotAttributesInput) SetDBClusterSnapshotIdentifie return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributesResult type DescribeDBClusterSnapshotAttributesOutput struct { _ struct{} `type:"structure"` @@ -17432,12 +17422,12 @@ func (s *DescribeDBClusterSnapshotAttributesOutput) SetDBClusterSnapshotAttribut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotsMessage type DescribeDBClusterSnapshotsInput struct { _ struct{} `type:"structure"` // The ID of the DB cluster to retrieve the list of DB cluster snapshots for. - // This parameter cannot be used in conjunction with the DBClusterSnapshotIdentifier + // This parameter can't be used in conjunction with the DBClusterSnapshotIdentifier // parameter. This parameter is not case-sensitive. // // Constraints: @@ -17445,7 +17435,7 @@ type DescribeDBClusterSnapshotsInput struct { // * If supplied, must match the identifier of an existing DBCluster. DBClusterIdentifier *string `type:"string"` - // A specific DB cluster snapshot identifier to describe. This parameter cannot + // A specific DB cluster snapshot identifier to describe. This parameter can't // be used in conjunction with the DBClusterIdentifier parameter. This value // is stored as a lowercase string. // @@ -17460,17 +17450,17 @@ type DescribeDBClusterSnapshotsInput struct { // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` - // Set this value to true to include manual DB cluster snapshots that are public - // and can be copied or restored by any AWS account, otherwise set this value - // to false. The default is false. The default is false. + // True to include manual DB cluster snapshots that are public and can be copied + // or restored by any AWS account, and otherwise false. The default is false. + // The default is false. // // You can share a manual DB cluster snapshot as public by using the ModifyDBClusterSnapshotAttribute // API action. IncludePublic *bool `type:"boolean"` - // Set this value to true to include shared manual DB cluster snapshots from - // other AWS accounts that this AWS account has been given permission to copy - // or restore, otherwise set this value to false. The default is false. + // True to include shared manual DB cluster snapshots from other AWS accounts + // that this AWS account has been given permission to copy or restore, and otherwise + // false. The default is false. // // You can give an AWS account permission to restore a manual DB cluster snapshot // from another AWS account by the ModifyDBClusterSnapshotAttribute API action. @@ -17597,7 +17587,7 @@ func (s *DescribeDBClusterSnapshotsInput) SetSnapshotType(v string) *DescribeDBC // Provides a list of DB cluster snapshots for the user as the result of a call // to the DescribeDBClusterSnapshots action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshotMessage type DescribeDBClusterSnapshotsOutput struct { _ struct{} `type:"structure"` @@ -17632,7 +17622,7 @@ func (s *DescribeDBClusterSnapshotsOutput) SetMarker(v string) *DescribeDBCluste return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClustersMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClustersMessage type DescribeDBClustersInput struct { _ struct{} `type:"structure"` @@ -17725,7 +17715,7 @@ func (s *DescribeDBClustersInput) SetMaxRecords(v int64) *DescribeDBClustersInpu // Contains the result of a successful invocation of the DescribeDBClusters // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterMessage type DescribeDBClustersOutput struct { _ struct{} `type:"structure"` @@ -17758,7 +17748,7 @@ func (s *DescribeDBClustersOutput) SetMarker(v string) *DescribeDBClustersOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBEngineVersionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBEngineVersionsMessage type DescribeDBEngineVersionsInput struct { _ struct{} `type:"structure"` @@ -17895,7 +17885,7 @@ func (s *DescribeDBEngineVersionsInput) SetMaxRecords(v int64) *DescribeDBEngine // Contains the result of a successful invocation of the DescribeDBEngineVersions // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBEngineVersionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBEngineVersionMessage type DescribeDBEngineVersionsOutput struct { _ struct{} `type:"structure"` @@ -17930,7 +17920,7 @@ func (s *DescribeDBEngineVersionsOutput) SetMarker(v string) *DescribeDBEngineVe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstancesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstancesMessage type DescribeDBInstancesInput struct { _ struct{} `type:"structure"` @@ -17948,7 +17938,7 @@ type DescribeDBInstancesInput struct { // // * db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon // Resource Names (ARNs). The results list will only include information - // about the DB instances associated with the DB Clusters identified by these + // about the DB instances associated with the DB clusters identified by these // ARNs. // // * db-instance-id - Accepts DB instance identifiers and DB instance Amazon @@ -18027,7 +18017,7 @@ func (s *DescribeDBInstancesInput) SetMaxRecords(v int64) *DescribeDBInstancesIn // Contains the result of a successful invocation of the DescribeDBInstances // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstanceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstanceMessage type DescribeDBInstancesOutput struct { _ struct{} `type:"structure"` @@ -18063,7 +18053,7 @@ func (s *DescribeDBInstancesOutput) SetMarker(v string) *DescribeDBInstancesOutp } // This data type is used as a response element to DescribeDBLogFiles. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFilesDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFilesDetails type DescribeDBLogFilesDetails struct { _ struct{} `type:"structure"` @@ -18105,7 +18095,7 @@ func (s *DescribeDBLogFilesDetails) SetSize(v int64) *DescribeDBLogFilesDetails return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFilesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFilesMessage type DescribeDBLogFilesInput struct { _ struct{} `type:"structure"` @@ -18220,7 +18210,7 @@ func (s *DescribeDBLogFilesInput) SetMaxRecords(v int64) *DescribeDBLogFilesInpu } // The response from a call to DescribeDBLogFiles. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFilesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFilesResponse type DescribeDBLogFilesOutput struct { _ struct{} `type:"structure"` @@ -18253,7 +18243,7 @@ func (s *DescribeDBLogFilesOutput) SetMarker(v string) *DescribeDBLogFilesOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameterGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameterGroupsMessage type DescribeDBParameterGroupsInput struct { _ struct{} `type:"structure"` @@ -18338,7 +18328,7 @@ func (s *DescribeDBParameterGroupsInput) SetMaxRecords(v int64) *DescribeDBParam // Contains the result of a successful invocation of the DescribeDBParameterGroups // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupsMessage type DescribeDBParameterGroupsOutput struct { _ struct{} `type:"structure"` @@ -18373,7 +18363,7 @@ func (s *DescribeDBParameterGroupsOutput) SetMarker(v string) *DescribeDBParamet return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParametersMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParametersMessage type DescribeDBParametersInput struct { _ struct{} `type:"structure"` @@ -18476,7 +18466,7 @@ func (s *DescribeDBParametersInput) SetSource(v string) *DescribeDBParametersInp // Contains the result of a successful invocation of the DescribeDBParameters // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupDetails type DescribeDBParametersOutput struct { _ struct{} `type:"structure"` @@ -18511,7 +18501,7 @@ func (s *DescribeDBParametersOutput) SetParameters(v []*Parameter) *DescribeDBPa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSecurityGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSecurityGroupsMessage type DescribeDBSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -18592,7 +18582,7 @@ func (s *DescribeDBSecurityGroupsInput) SetMaxRecords(v int64) *DescribeDBSecuri // Contains the result of a successful invocation of the DescribeDBSecurityGroups // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSecurityGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSecurityGroupMessage type DescribeDBSecurityGroupsOutput struct { _ struct{} `type:"structure"` @@ -18627,7 +18617,7 @@ func (s *DescribeDBSecurityGroupsOutput) SetMarker(v string) *DescribeDBSecurity return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributesMessage type DescribeDBSnapshotAttributesInput struct { _ struct{} `type:"structure"` @@ -18666,7 +18656,7 @@ func (s *DescribeDBSnapshotAttributesInput) SetDBSnapshotIdentifier(v string) *D return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributesResult type DescribeDBSnapshotAttributesOutput struct { _ struct{} `type:"structure"` @@ -18695,12 +18685,12 @@ func (s *DescribeDBSnapshotAttributesOutput) SetDBSnapshotAttributesResult(v *DB return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotsMessage type DescribeDBSnapshotsInput struct { _ struct{} `type:"structure"` // The ID of the DB instance to retrieve the list of DB snapshots for. This - // parameter cannot be used in conjunction with DBSnapshotIdentifier. This parameter + // parameter can't be used in conjunction with DBSnapshotIdentifier. This parameter // is not case-sensitive. // // Constraints: @@ -18708,7 +18698,7 @@ type DescribeDBSnapshotsInput struct { // * If supplied, must match the identifier of an existing DBInstance. DBInstanceIdentifier *string `type:"string"` - // A specific DB snapshot identifier to describe. This parameter cannot be used + // A specific DB snapshot identifier to describe. This parameter can't be used // in conjunction with DBInstanceIdentifier. This value is stored as a lowercase // string. // @@ -18723,17 +18713,16 @@ type DescribeDBSnapshotsInput struct { // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` - // Set this value to true to include manual DB snapshots that are public and - // can be copied or restored by any AWS account, otherwise set this value to - // false. The default is false. + // True to include manual DB snapshots that are public and can be copied or + // restored by any AWS account, and otherwise false. The default is false. // // You can share a manual DB snapshot as public by using the ModifyDBSnapshotAttribute // API. IncludePublic *bool `type:"boolean"` - // Set this value to true to include shared manual DB snapshots from other AWS - // accounts that this AWS account has been given permission to copy or restore, - // otherwise set this value to false. The default is false. + // True to include shared manual DB snapshots from other AWS accounts that this + // AWS account has been given permission to copy or restore, and otherwise false. + // The default is false. // // You can give an AWS account permission to restore a manual DB snapshot from // another AWS account by using the ModifyDBSnapshotAttribute API action. @@ -18859,7 +18848,7 @@ func (s *DescribeDBSnapshotsInput) SetSnapshotType(v string) *DescribeDBSnapshot // Contains the result of a successful invocation of the DescribeDBSnapshots // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshotMessage type DescribeDBSnapshotsOutput struct { _ struct{} `type:"structure"` @@ -18894,7 +18883,7 @@ func (s *DescribeDBSnapshotsOutput) SetMarker(v string) *DescribeDBSnapshotsOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSubnetGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSubnetGroupsMessage type DescribeDBSubnetGroupsInput struct { _ struct{} `type:"structure"` @@ -18975,7 +18964,7 @@ func (s *DescribeDBSubnetGroupsInput) SetMaxRecords(v int64) *DescribeDBSubnetGr // Contains the result of a successful invocation of the DescribeDBSubnetGroups // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSubnetGroupMessage type DescribeDBSubnetGroupsOutput struct { _ struct{} `type:"structure"` @@ -19010,7 +18999,7 @@ func (s *DescribeDBSubnetGroupsOutput) SetMarker(v string) *DescribeDBSubnetGrou return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParametersMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParametersMessage type DescribeEngineDefaultClusterParametersInput struct { _ struct{} `type:"structure"` @@ -19095,7 +19084,7 @@ func (s *DescribeEngineDefaultClusterParametersInput) SetMaxRecords(v int64) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParametersResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParametersResult type DescribeEngineDefaultClusterParametersOutput struct { _ struct{} `type:"structure"` @@ -19120,7 +19109,7 @@ func (s *DescribeEngineDefaultClusterParametersOutput) SetEngineDefaults(v *Engi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParametersMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParametersMessage type DescribeEngineDefaultParametersInput struct { _ struct{} `type:"structure"` @@ -19204,7 +19193,7 @@ func (s *DescribeEngineDefaultParametersInput) SetMaxRecords(v int64) *DescribeE return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParametersResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParametersResult type DescribeEngineDefaultParametersOutput struct { _ struct{} `type:"structure"` @@ -19229,7 +19218,7 @@ func (s *DescribeEngineDefaultParametersOutput) SetEngineDefaults(v *EngineDefau return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventCategoriesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventCategoriesMessage type DescribeEventCategoriesInput struct { _ struct{} `type:"structure"` @@ -19285,7 +19274,7 @@ func (s *DescribeEventCategoriesInput) SetSourceType(v string) *DescribeEventCat } // Data returned from the DescribeEventCategories action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventCategoriesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventCategoriesMessage type DescribeEventCategoriesOutput struct { _ struct{} `type:"structure"` @@ -19309,7 +19298,7 @@ func (s *DescribeEventCategoriesOutput) SetEventCategoriesMapList(v []*EventCate return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventSubscriptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventSubscriptionsMessage type DescribeEventSubscriptionsInput struct { _ struct{} `type:"structure"` @@ -19389,7 +19378,7 @@ func (s *DescribeEventSubscriptionsInput) SetSubscriptionName(v string) *Describ } // Data returned by the DescribeEventSubscriptions action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventSubscriptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventSubscriptionsMessage type DescribeEventSubscriptionsOutput struct { _ struct{} `type:"structure"` @@ -19424,7 +19413,7 @@ func (s *DescribeEventSubscriptionsOutput) SetMarker(v string) *DescribeEventSub return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventsMessage type DescribeEventsInput struct { _ struct{} `type:"structure"` @@ -19579,7 +19568,7 @@ func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput { } // Contains the result of a successful invocation of the DescribeEvents action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventsMessage type DescribeEventsOutput struct { _ struct{} `type:"structure"` @@ -19614,7 +19603,7 @@ func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupOptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupOptionsMessage type DescribeOptionGroupOptionsInput struct { _ struct{} `type:"structure"` @@ -19708,7 +19697,7 @@ func (s *DescribeOptionGroupOptionsInput) SetMaxRecords(v int64) *DescribeOption return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupOptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupOptionsMessage type DescribeOptionGroupOptionsOutput struct { _ struct{} `type:"structure"` @@ -19743,7 +19732,7 @@ func (s *DescribeOptionGroupOptionsOutput) SetOptionGroupOptions(v []*OptionGrou return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupsMessage type DescribeOptionGroupsInput struct { _ struct{} `type:"structure"` @@ -19845,7 +19834,7 @@ func (s *DescribeOptionGroupsInput) SetOptionGroupName(v string) *DescribeOption } // List of option groups. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroups type DescribeOptionGroupsOutput struct { _ struct{} `type:"structure"` @@ -19880,7 +19869,7 @@ func (s *DescribeOptionGroupsOutput) SetOptionGroupsList(v []*OptionGroup) *Desc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOrderableDBInstanceOptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOrderableDBInstanceOptionsMessage type DescribeOrderableDBInstanceOptionsInput struct { _ struct{} `type:"structure"` @@ -20006,7 +19995,7 @@ func (s *DescribeOrderableDBInstanceOptionsInput) SetVpc(v bool) *DescribeOrdera // Contains the result of a successful invocation of the DescribeOrderableDBInstanceOptions // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OrderableDBInstanceOptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OrderableDBInstanceOptionsMessage type DescribeOrderableDBInstanceOptionsOutput struct { _ struct{} `type:"structure"` @@ -20042,7 +20031,7 @@ func (s *DescribeOrderableDBInstanceOptionsOutput) SetOrderableDBInstanceOptions return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribePendingMaintenanceActionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribePendingMaintenanceActionsMessage type DescribePendingMaintenanceActionsInput struct { _ struct{} `type:"structure"` @@ -20133,7 +20122,7 @@ func (s *DescribePendingMaintenanceActionsInput) SetResourceIdentifier(v string) } // Data returned from the DescribePendingMaintenanceActions action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingMaintenanceActionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingMaintenanceActionsMessage type DescribePendingMaintenanceActionsOutput struct { _ struct{} `type:"structure"` @@ -20168,7 +20157,7 @@ func (s *DescribePendingMaintenanceActionsOutput) SetPendingMaintenanceActions(v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesMessage type DescribeReservedDBInstancesInput struct { _ struct{} `type:"structure"` @@ -20312,7 +20301,7 @@ func (s *DescribeReservedDBInstancesInput) SetReservedDBInstancesOfferingId(v st return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesOfferingsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesOfferingsMessage type DescribeReservedDBInstancesOfferingsInput struct { _ struct{} `type:"structure"` @@ -20450,7 +20439,7 @@ func (s *DescribeReservedDBInstancesOfferingsInput) SetReservedDBInstancesOfferi // Contains the result of a successful invocation of the DescribeReservedDBInstancesOfferings // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstancesOfferingMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstancesOfferingMessage type DescribeReservedDBInstancesOfferingsOutput struct { _ struct{} `type:"structure"` @@ -20487,7 +20476,7 @@ func (s *DescribeReservedDBInstancesOfferingsOutput) SetReservedDBInstancesOffer // Contains the result of a successful invocation of the DescribeReservedDBInstances // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstanceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstanceMessage type DescribeReservedDBInstancesOutput struct { _ struct{} `type:"structure"` @@ -20522,7 +20511,7 @@ func (s *DescribeReservedDBInstancesOutput) SetReservedDBInstances(v []*Reserved return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeSourceRegionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeSourceRegionsMessage type DescribeSourceRegionsInput struct { _ struct{} `type:"structure"` @@ -20607,7 +20596,7 @@ func (s *DescribeSourceRegionsInput) SetRegionName(v string) *DescribeSourceRegi // Contains the result of a successful invocation of the DescribeSourceRegions // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SourceRegionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SourceRegionMessage type DescribeSourceRegionsOutput struct { _ struct{} `type:"structure"` @@ -20643,7 +20632,7 @@ func (s *DescribeSourceRegionsOutput) SetSourceRegions(v []*SourceRegion) *Descr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeValidDBInstanceModificationsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeValidDBInstanceModificationsMessage type DescribeValidDBInstanceModificationsInput struct { _ struct{} `type:"structure"` @@ -20682,7 +20671,7 @@ func (s *DescribeValidDBInstanceModificationsInput) SetDBInstanceIdentifier(v st return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeValidDBInstanceModificationsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeValidDBInstanceModificationsResult type DescribeValidDBInstanceModificationsOutput struct { _ struct{} `type:"structure"` @@ -20709,7 +20698,7 @@ func (s *DescribeValidDBInstanceModificationsOutput) SetValidDBInstanceModificat } // An Active Directory Domain membership record associated with the DB instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DomainMembership +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DomainMembership type DomainMembership struct { _ struct{} `type:"structure"` @@ -20763,7 +20752,7 @@ func (s *DomainMembership) SetStatus(v string) *DomainMembership { } // A range of double values. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DoubleRange +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DoubleRange type DoubleRange struct { _ struct{} `type:"structure"` @@ -20796,7 +20785,7 @@ func (s *DoubleRange) SetTo(v float64) *DoubleRange { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortionMessage type DownloadDBLogFilePortionInput struct { _ struct{} `type:"structure"` @@ -20896,7 +20885,7 @@ func (s *DownloadDBLogFilePortionInput) SetNumberOfLines(v int64) *DownloadDBLog } // This data type is used as a response element to DownloadDBLogFilePortion. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortionDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortionDetails type DownloadDBLogFilePortionOutput struct { _ struct{} `type:"structure"` @@ -20946,7 +20935,7 @@ func (s *DownloadDBLogFilePortionOutput) SetMarker(v string) *DownloadDBLogFileP // * DescribeDBSecurityGroups // // * RevokeDBSecurityGroupIngress -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EC2SecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EC2SecurityGroup type EC2SecurityGroup struct { _ struct{} `type:"structure"` @@ -21006,7 +20995,7 @@ func (s *EC2SecurityGroup) SetStatus(v string) *EC2SecurityGroup { // * DescribeDBInstances // // * DeleteDBInstance -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Endpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Endpoint type Endpoint struct { _ struct{} `type:"structure"` @@ -21050,7 +21039,7 @@ func (s *Endpoint) SetPort(v int64) *Endpoint { // Contains the result of a successful invocation of the DescribeEngineDefaultParameters // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EngineDefaults +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EngineDefaults type EngineDefaults struct { _ struct{} `type:"structure"` @@ -21096,7 +21085,7 @@ func (s *EngineDefaults) SetParameters(v []*Parameter) *EngineDefaults { } // This data type is used as a response element in the DescribeEvents action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Event +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Event type Event struct { _ struct{} `type:"structure"` @@ -21167,7 +21156,7 @@ func (s *Event) SetSourceType(v string) *Event { // Contains the results of a successful invocation of the DescribeEventCategories // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventCategoriesMap +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventCategoriesMap type EventCategoriesMap struct { _ struct{} `type:"structure"` @@ -21202,7 +21191,7 @@ func (s *EventCategoriesMap) SetSourceType(v string) *EventCategoriesMap { // Contains the results of a successful invocation of the DescribeEventSubscriptions // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventSubscription type EventSubscription struct { _ struct{} `type:"structure"` @@ -21317,7 +21306,7 @@ func (s *EventSubscription) SetSubscriptionCreationTime(v string) *EventSubscrip return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBClusterMessage type FailoverDBClusterInput struct { _ struct{} `type:"structure"` @@ -21357,23 +21346,11 @@ func (s *FailoverDBClusterInput) SetTargetDBInstanceIdentifier(v string) *Failov return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBClusterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBClusterResult type FailoverDBClusterOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBCluster - // - // * DeleteDBCluster - // - // * FailoverDBCluster - // - // * ModifyDBCluster - // - // * RestoreDBClusterFromSnapshot - // - // * RestoreDBClusterToPointInTime + // Contains the details of an Amazon RDS DB cluster. // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` @@ -21396,7 +21373,7 @@ func (s *FailoverDBClusterOutput) SetDBCluster(v *DBCluster) *FailoverDBClusterO } // This type is not currently supported. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Filter +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Filter type Filter struct { _ struct{} `type:"structure"` @@ -21451,7 +21428,7 @@ func (s *Filter) SetValues(v []*string) *Filter { // This data type is used as a response element in the DescribeDBSecurityGroups // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/IPRange +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/IPRange type IPRange struct { _ struct{} `type:"structure"` @@ -21485,7 +21462,7 @@ func (s *IPRange) SetStatus(v string) *IPRange { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ListTagsForResourceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ListTagsForResourceMessage type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -21545,7 +21522,7 @@ func (s *ListTagsForResourceInput) SetResourceName(v string) *ListTagsForResourc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/TagListMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/TagListMessage type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -21569,7 +21546,7 @@ func (s *ListTagsForResourceOutput) SetTagList(v []*Tag) *ListTagsForResourceOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterMessage type ModifyDBClusterInput struct { _ struct{} `type:"structure"` @@ -21612,8 +21589,8 @@ type ModifyDBClusterInput struct { // The name of the DB cluster parameter group to use for the DB cluster. DBClusterParameterGroupName *string `type:"string"` - // A Boolean value that is true to enable mapping of AWS Identity and Access - // Management (IAM) accounts to database accounts, and otherwise false. + // True to enable mapping of AWS Identity and Access Management (IAM) accounts + // to database accounts, and otherwise false. // // Default: false EnableIAMDatabaseAuthentication *bool `type:"boolean"` @@ -21646,8 +21623,8 @@ type ModifyDBClusterInput struct { // change can cause a brief (sub-second) period during which new connections // are rejected but existing connections are not interrupted. // - // Permanent options cannot be removed from an option group. The option group - // cannot be removed from a DB cluster once it is associated with a DB cluster. + // Permanent options can't be removed from an option group. The option group + // can't be removed from a DB cluster once it is associated with a DB cluster. OptionGroupName *string `type:"string"` // The port number on which the DB cluster accepts connections. @@ -21660,16 +21637,16 @@ type ModifyDBClusterInput struct { // The daily time range during which automated backups are created if automated // backups are enabled, using the BackupRetentionPeriod parameter. // - // Default: A 30-minute window selected at random from an 8-hour block of time - // per AWS Region. To see the time blocks available, see Adjusting the Preferred - // Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) + // The default is a 30-minute window selected at random from an 8-hour block + // of time for each AWS Region. To see the time blocks available, see Adjusting + // the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // // Constraints: // // * Must be in the format hh24:mi-hh24:mi. // - // * Times should be in Universal Coordinated Time (UTC). + // * Must be in Universal Coordinated Time (UTC). // // * Must not conflict with the preferred maintenance window. // @@ -21681,12 +21658,13 @@ type ModifyDBClusterInput struct { // // Format: ddd:hh24:mi-ddd:hh24:mi // - // Default: A 30-minute window selected at random from an 8-hour block of time - // per AWS Region, occurring on a random day of the week. To see the time blocks - // available, see Adjusting the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) + // The default is a 30-minute window selected at random from an 8-hour block + // of time for each AWS Region, occurring on a random day of the week. To see + // the time blocks available, see Adjusting the Preferred Maintenance Window + // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // - // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun + // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. // // Constraints: Minimum 30-minute window. PreferredMaintenanceWindow *string `type:"string"` @@ -21790,23 +21768,11 @@ func (s *ModifyDBClusterInput) SetVpcSecurityGroupIds(v []*string) *ModifyDBClus return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterResult type ModifyDBClusterOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBCluster - // - // * DeleteDBCluster - // - // * FailoverDBCluster - // - // * ModifyDBCluster - // - // * RestoreDBClusterFromSnapshot - // - // * RestoreDBClusterToPointInTime + // Contains the details of an Amazon RDS DB cluster. // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` @@ -21828,7 +21794,7 @@ func (s *ModifyDBClusterOutput) SetDBCluster(v *DBCluster) *ModifyDBClusterOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterParameterGroupMessage type ModifyDBClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -21881,7 +21847,7 @@ func (s *ModifyDBClusterParameterGroupInput) SetParameters(v []*Parameter) *Modi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttributeMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttributeMessage type ModifyDBClusterSnapshotAttributeInput struct { _ struct{} `type:"structure"` @@ -21970,7 +21936,7 @@ func (s *ModifyDBClusterSnapshotAttributeInput) SetValuesToRemove(v []*string) * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttributeResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttributeResult type ModifyDBClusterSnapshotAttributeOutput struct { _ struct{} `type:"structure"` @@ -21999,7 +21965,7 @@ func (s *ModifyDBClusterSnapshotAttributeOutput) SetDBClusterSnapshotAttributesR return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstanceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstanceMessage type ModifyDBInstanceInput struct { _ struct{} `type:"structure"` @@ -22137,14 +22103,14 @@ type ModifyDBInstanceInput struct { // Indicates the certificate that needs to be associated with the instance. CACertificateIdentifier *string `type:"string"` - // True to copy all tags from the DB instance to snapshots of the DB instance; - // otherwise false. The default is false. + // True to copy all tags from the DB instance to snapshots of the DB instance, + // and otherwise false. The default is false. CopyTagsToSnapshot *bool `type:"boolean"` // The new compute and memory capacity of the DB instance, for example, db.m4.large. - // Not all DB instance classes are available in all regions, or for all database - // engines. For the full list of DB instance classes, and availability for your - // engine, see DB Instance Class (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + // Not all DB instance classes are available in all AWS Regions, or for all + // database engines. For the full list of DB instance classes, and availability + // for your engine, see DB Instance Class (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) // in the Amazon RDS User Guide. // // If you modify the DB instance class, an outage occurs during the change. @@ -22257,7 +22223,7 @@ type ModifyDBInstanceInput struct { DomainIAMRoleName *string `type:"string"` // True to enable mapping of AWS Identity and Access Management (IAM) accounts - // to database accounts; otherwise false. + // to database accounts, and otherwise false. // // You can enable IAM database authentication for the following database engines // @@ -22275,7 +22241,7 @@ type ModifyDBInstanceInput struct { // Default: false EnableIAMDatabaseAuthentication *bool `type:"boolean"` - // True to enable Performance Insights for the DB instance; otherwise false. + // True to enable Performance Insights for the DB instance, and otherwise false. EnablePerformanceInsights *bool `type:"boolean"` // The version number of the database engine to upgrade to. Changing this parameter @@ -22329,8 +22295,8 @@ type ModifyDBInstanceInput struct { // Valid values: license-included | bring-your-own-license | general-public-license LicenseModel *string `type:"string"` - // The new password for the master user. Can be any printable ASCII character - // except "/", """, or "@". + // The new password for the master user. The password can include any printable + // ASCII character except "/", """, or "@". // // Changing this parameter does not result in an outage and the change is asynchronously // applied as soon as possible. Between the time of the request and the completion @@ -22380,7 +22346,7 @@ type ModifyDBInstanceInput struct { MonitoringInterval *int64 `type:"integer"` // The ARN for the IAM role that permits RDS to send enhanced monitoring metrics - // to CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. + // to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. // For information on creating a monitoring role, go to To create an IAM role // for Amazon RDS Enhanced Monitoring (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole). // @@ -22421,13 +22387,13 @@ type ModifyDBInstanceInput struct { // but existing connections are not interrupted. // // Permanent options, such as the TDE option for Oracle Advanced Security TDE, - // cannot be removed from an option group, and that option group cannot be removed + // can't be removed from an option group, and that option group can't be removed // from a DB instance once it is associated with a DB instance OptionGroupName *string `type:"string"` - // The KMS key identifier for encryption of Performance Insights data. The KMS - // key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS - // key alias for the KMS encryption key. + // The AWS KMS key identifier for encryption of Performance Insights data. The + // KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the + // KMS key alias for the KMS encryption key. PerformanceInsightsKMSKeyId *string `type:"string"` // The daily time range during which automated backups are created if automated @@ -22444,7 +22410,7 @@ type ModifyDBInstanceInput struct { // // * Must be in the format hh24:mi-hh24:mi // - // * Times should be in Universal Time Coordinated (UTC) + // * Must be in Universal Time Coordinated (UTC) // // * Must not conflict with the preferred maintenance window // @@ -22500,13 +22466,13 @@ type ModifyDBInstanceInput struct { // // If you specify io1, you must also include a value for the Iops parameter. // - // Default: io1 if the Iops parameter is specified; otherwise standard + // Default: io1 if the Iops parameter is specified, otherwise standard StorageType *string `type:"string"` - // The ARN from the Key Store with which to associate the instance for TDE encryption. + // The ARN from the key store with which to associate the instance for TDE encryption. TdeCredentialArn *string `type:"string"` - // The password for the given ARN from the Key Store in order to access the + // The password for the given ARN from the key store in order to access the // device. TdeCredentialPassword *string `type:"string"` @@ -22757,21 +22723,11 @@ func (s *ModifyDBInstanceInput) SetVpcSecurityGroupIds(v []*string) *ModifyDBIns return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstanceResult type ModifyDBInstanceOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBInstance - // - // * DeleteDBInstance - // - // * ModifyDBInstance - // - // * StopDBInstance - // - // * StartDBInstance + // Contains the details of an Amazon RDS DB instance. // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` @@ -22793,7 +22749,7 @@ func (s *ModifyDBInstanceOutput) SetDBInstance(v *DBInstance) *ModifyDBInstanceO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBParameterGroupMessage type ModifyDBParameterGroupInput struct { _ struct{} `type:"structure"` @@ -22859,7 +22815,7 @@ func (s *ModifyDBParameterGroupInput) SetParameters(v []*Parameter) *ModifyDBPar return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttributeMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttributeMessage type ModifyDBSnapshotAttributeInput struct { _ struct{} `type:"structure"` @@ -22946,7 +22902,7 @@ func (s *ModifyDBSnapshotAttributeInput) SetValuesToRemove(v []*string) *ModifyD return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttributeResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttributeResult type ModifyDBSnapshotAttributeOutput struct { _ struct{} `type:"structure"` @@ -22975,7 +22931,7 @@ func (s *ModifyDBSnapshotAttributeOutput) SetDBSnapshotAttributesResult(v *DBSna return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotMessage type ModifyDBSnapshotInput struct { _ struct{} `type:"structure"` @@ -23052,15 +23008,11 @@ func (s *ModifyDBSnapshotInput) SetOptionGroupName(v string) *ModifyDBSnapshotIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotResult type ModifyDBSnapshotOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBSnapshot - // - // * DeleteDBSnapshot + // Contains the details of an Amazon RDS DB snapshot. // // This data type is used as a response element in the DescribeDBSnapshots action. DBSnapshot *DBSnapshot `type:"structure"` @@ -23082,7 +23034,7 @@ func (s *ModifyDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *ModifyDBSnapshotO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroupMessage type ModifyDBSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -23150,19 +23102,11 @@ func (s *ModifyDBSubnetGroupInput) SetSubnetIds(v []*string) *ModifyDBSubnetGrou return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroupResult type ModifyDBSubnetGroupOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBSubnetGroup - // - // * ModifyDBSubnetGroup - // - // * DescribeDBSubnetGroups - // - // * DeleteDBSubnetGroup + // Contains the details of an Amazon RDS DB subnet group. // // This data type is used as a response element in the DescribeDBSubnetGroups // action. @@ -23185,7 +23129,7 @@ func (s *ModifyDBSubnetGroupOutput) SetDBSubnetGroup(v *DBSubnetGroup) *ModifyDB return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscriptionMessage type ModifyEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -23270,7 +23214,7 @@ func (s *ModifyEventSubscriptionInput) SetSubscriptionName(v string) *ModifyEven return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscriptionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscriptionResult type ModifyEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -23295,7 +23239,7 @@ func (s *ModifyEventSubscriptionOutput) SetEventSubscription(v *EventSubscriptio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroupMessage type ModifyOptionGroupInput struct { _ struct{} `type:"structure"` @@ -23306,7 +23250,7 @@ type ModifyOptionGroupInput struct { // The name of the option group to be modified. // // Permanent options, such as the TDE option for Oracle Advanced Security TDE, - // cannot be removed from an option group, and that option group cannot be removed + // can't be removed from an option group, and that option group can't be removed // from a DB instance once it is associated with a DB instance // // OptionGroupName is a required field @@ -23377,7 +23321,7 @@ func (s *ModifyOptionGroupInput) SetOptionsToRemove(v []*string) *ModifyOptionGr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroupResult type ModifyOptionGroupOutput struct { _ struct{} `type:"structure"` @@ -23401,7 +23345,7 @@ func (s *ModifyOptionGroupOutput) SetOptionGroup(v *OptionGroup) *ModifyOptionGr } // Option details. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Option +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Option type Option struct { _ struct{} `type:"structure"` @@ -23500,7 +23444,7 @@ func (s *Option) SetVpcSecurityGroupMemberships(v []*VpcSecurityGroupMembership) } // A list of all available options -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionConfiguration type OptionConfiguration struct { _ struct{} `type:"structure"` @@ -23584,7 +23528,7 @@ func (s *OptionConfiguration) SetVpcSecurityGroupMemberships(v []*string) *Optio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroup type OptionGroup struct { _ struct{} `type:"structure"` @@ -23678,7 +23622,7 @@ func (s *OptionGroup) SetVpcId(v string) *OptionGroup { } // Provides information on the option groups the DB instance is a member of. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupMembership +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupMembership type OptionGroupMembership struct { _ struct{} `type:"structure"` @@ -23714,7 +23658,7 @@ func (s *OptionGroupMembership) SetStatus(v string) *OptionGroupMembership { } // Available option. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupOption +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupOption type OptionGroupOption struct { _ struct{} `type:"structure"` @@ -23885,7 +23829,7 @@ func (s *OptionGroupOption) SetVpcOnly(v bool) *OptionGroupOption { // Option group option settings are used to display settings available for each // option with their default values and other information. These values are // used with the DescribeOptionGroupOptions action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupOptionSetting +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupOptionSetting type OptionGroupOptionSetting struct { _ struct{} `type:"structure"` @@ -23959,7 +23903,7 @@ func (s *OptionGroupOptionSetting) SetSettingName(v string) *OptionGroupOptionSe // option. It is used when you modify an option group or describe option groups. // For example, the NATIVE_NETWORK_ENCRYPTION option has a setting called SQLNET.ENCRYPTION_SERVER // that can have several different values. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionSetting +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionSetting type OptionSetting struct { _ struct{} `type:"structure"` @@ -24058,11 +24002,11 @@ func (s *OptionSetting) SetValue(v string) *OptionSetting { // The version for an option. Option group option versions are returned by the // DescribeOptionGroupOptions action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionVersion type OptionVersion struct { _ struct{} `type:"structure"` - // True if the version is the default version of the option; otherwise, false. + // True if the version is the default version of the option, and otherwise false. IsDefault *bool `type:"boolean"` // The version of the option. @@ -24095,7 +24039,7 @@ func (s *OptionVersion) SetVersion(v string) *OptionVersion { // // This data type is used as a response element in the DescribeOrderableDBInstanceOptions // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OrderableDBInstanceOption +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OrderableDBInstanceOption type OrderableDBInstanceOption struct { _ struct{} `type:"structure"` @@ -24296,7 +24240,7 @@ func (s *OrderableDBInstanceOption) SetVpc(v bool) *OrderableDBInstanceOption { // // This data type is used as a response element in the DescribeEngineDefaultParameters // and DescribeDBParameters actions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Parameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Parameter type Parameter struct { _ struct{} `type:"structure"` @@ -24404,7 +24348,7 @@ func (s *Parameter) SetSource(v string) *Parameter { } // Provides information about a pending maintenance action for a resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingMaintenanceAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingMaintenanceAction type PendingMaintenanceAction struct { _ struct{} `type:"structure"` @@ -24484,7 +24428,7 @@ func (s *PendingMaintenanceAction) SetOptInStatus(v string) *PendingMaintenanceA } // This data type is used as a response element in the ModifyDBInstance action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingModifiedValues +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingModifiedValues type PendingModifiedValues struct { _ struct{} `type:"structure"` @@ -24623,7 +24567,7 @@ func (s *PendingModifiedValues) SetStorageType(v string) *PendingModifiedValues return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBClusterMessage type PromoteReadReplicaDBClusterInput struct { _ struct{} `type:"structure"` @@ -24669,23 +24613,11 @@ func (s *PromoteReadReplicaDBClusterInput) SetDBClusterIdentifier(v string) *Pro return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBClusterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBClusterResult type PromoteReadReplicaDBClusterOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBCluster - // - // * DeleteDBCluster - // - // * FailoverDBCluster - // - // * ModifyDBCluster - // - // * RestoreDBClusterFromSnapshot - // - // * RestoreDBClusterToPointInTime + // Contains the details of an Amazon RDS DB cluster. // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` @@ -24707,7 +24639,7 @@ func (s *PromoteReadReplicaDBClusterOutput) SetDBCluster(v *DBCluster) *PromoteR return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaMessage type PromoteReadReplicaInput struct { _ struct{} `type:"structure"` @@ -24736,16 +24668,16 @@ type PromoteReadReplicaInput struct { // The daily time range during which automated backups are created if automated // backups are enabled, using the BackupRetentionPeriod parameter. // - // Default: A 30-minute window selected at random from an 8-hour block of time - // per AWS Region. To see the time blocks available, see Adjusting the Preferred - // Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) + // The default is a 30-minute window selected at random from an 8-hour block + // of time for each AWS Region. To see the time blocks available, see Adjusting + // the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // // Constraints: // // * Must be in the format hh24:mi-hh24:mi. // - // * Times should be in Universal Coordinated Time (UTC). + // * Must be in Universal Coordinated Time (UTC). // // * Must not conflict with the preferred maintenance window. // @@ -24794,21 +24726,11 @@ func (s *PromoteReadReplicaInput) SetPreferredBackupWindow(v string) *PromoteRea return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaResult type PromoteReadReplicaOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBInstance - // - // * DeleteDBInstance - // - // * ModifyDBInstance - // - // * StopDBInstance - // - // * StartDBInstance + // Contains the details of an Amazon RDS DB instance. // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` @@ -24830,7 +24752,7 @@ func (s *PromoteReadReplicaOutput) SetDBInstance(v *DBInstance) *PromoteReadRepl return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOfferingMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOfferingMessage type PurchaseReservedDBInstancesOfferingInput struct { _ struct{} `type:"structure"` @@ -24851,7 +24773,7 @@ type PurchaseReservedDBInstancesOfferingInput struct { // ReservedDBInstancesOfferingId is a required field ReservedDBInstancesOfferingId *string `type:"string" required:"true"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` } @@ -24902,7 +24824,7 @@ func (s *PurchaseReservedDBInstancesOfferingInput) SetTags(v []*Tag) *PurchaseRe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOfferingResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOfferingResult type PurchaseReservedDBInstancesOfferingOutput struct { _ struct{} `type:"structure"` @@ -24928,7 +24850,7 @@ func (s *PurchaseReservedDBInstancesOfferingOutput) SetReservedDBInstance(v *Res } // A range of integer values. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Range +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Range type Range struct { _ struct{} `type:"structure"` @@ -24973,7 +24895,7 @@ func (s *Range) SetTo(v int64) *Range { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstanceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstanceMessage type RebootDBInstanceInput struct { _ struct{} `type:"structure"` @@ -24988,7 +24910,7 @@ type RebootDBInstanceInput struct { // When true, the reboot is conducted through a MultiAZ failover. // - // Constraint: You cannot specify true if the instance is not configured for + // Constraint: You can't specify true if the instance is not configured for // MultiAZ. ForceFailover *bool `type:"boolean"` } @@ -25028,21 +24950,11 @@ func (s *RebootDBInstanceInput) SetForceFailover(v bool) *RebootDBInstanceInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstanceResult type RebootDBInstanceOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBInstance - // - // * DeleteDBInstance - // - // * ModifyDBInstance - // - // * StopDBInstance - // - // * StartDBInstance + // Contains the details of an Amazon RDS DB instance. // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` @@ -25066,7 +24978,7 @@ func (s *RebootDBInstanceOutput) SetDBInstance(v *DBInstance) *RebootDBInstanceO // This data type is used as a response element in the DescribeReservedDBInstances // and DescribeReservedDBInstancesOfferings actions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RecurringCharge +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RecurringCharge type RecurringCharge struct { _ struct{} `type:"structure"` @@ -25099,7 +25011,7 @@ func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBClusterMessage type RemoveRoleFromDBClusterInput struct { _ struct{} `type:"structure"` @@ -25153,7 +25065,7 @@ func (s *RemoveRoleFromDBClusterInput) SetRoleArn(v string) *RemoveRoleFromDBClu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBClusterOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBClusterOutput type RemoveRoleFromDBClusterOutput struct { _ struct{} `type:"structure"` } @@ -25168,7 +25080,7 @@ func (s RemoveRoleFromDBClusterOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscriptionMessage type RemoveSourceIdentifierFromSubscriptionInput struct { _ struct{} `type:"structure"` @@ -25223,7 +25135,7 @@ func (s *RemoveSourceIdentifierFromSubscriptionInput) SetSubscriptionName(v stri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscriptionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscriptionResult type RemoveSourceIdentifierFromSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -25248,7 +25160,7 @@ func (s *RemoveSourceIdentifierFromSubscriptionOutput) SetEventSubscription(v *E return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResourceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResourceMessage type RemoveTagsFromResourceInput struct { _ struct{} `type:"structure"` @@ -25303,7 +25215,7 @@ func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromRes return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResourceOutput type RemoveTagsFromResourceOutput struct { _ struct{} `type:"structure"` } @@ -25320,7 +25232,7 @@ func (s RemoveTagsFromResourceOutput) GoString() string { // This data type is used as a response element in the DescribeReservedDBInstances // and PurchaseReservedDBInstancesOffering actions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstance type ReservedDBInstance struct { _ struct{} `type:"structure"` @@ -25472,7 +25384,7 @@ func (s *ReservedDBInstance) SetUsagePrice(v float64) *ReservedDBInstance { // This data type is used as a response element in the DescribeReservedDBInstancesOfferings // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstancesOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstancesOffering type ReservedDBInstancesOffering struct { _ struct{} `type:"structure"` @@ -25577,7 +25489,7 @@ func (s *ReservedDBInstancesOffering) SetUsagePrice(v float64) *ReservedDBInstan return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBClusterParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBClusterParameterGroupMessage type ResetDBClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -25587,12 +25499,12 @@ type ResetDBClusterParameterGroupInput struct { DBClusterParameterGroupName *string `type:"string" required:"true"` // A list of parameter names in the DB cluster parameter group to reset to the - // default values. You cannot use this parameter if the ResetAllParameters parameter + // default values. You can't use this parameter if the ResetAllParameters parameter // is set to true. Parameters []*Parameter `locationNameList:"Parameter" type:"list"` // A value that is set to true to reset all parameters in the DB cluster parameter - // group to their default values, and false otherwise. You cannot use this parameter + // group to their default values, and false otherwise. You can't use this parameter // if there is a list of parameter names specified for the Parameters parameter. ResetAllParameters *bool `type:"boolean"` } @@ -25638,7 +25550,7 @@ func (s *ResetDBClusterParameterGroupInput) SetResetAllParameters(v bool) *Reset return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBParameterGroupMessage type ResetDBParameterGroupInput struct { _ struct{} `type:"structure"` @@ -25726,7 +25638,7 @@ func (s *ResetDBParameterGroupInput) SetResetAllParameters(v bool) *ResetDBParam } // Describes the pending maintenance actions for a resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResourcePendingMaintenanceActions +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResourcePendingMaintenanceActions type ResourcePendingMaintenanceActions struct { _ struct{} `type:"structure"` @@ -25760,7 +25672,7 @@ func (s *ResourcePendingMaintenanceActions) SetResourceIdentifier(v string) *Res return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3Message +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3Message type RestoreDBClusterFromS3Input struct { _ struct{} `type:"structure"` @@ -25782,8 +25694,8 @@ type RestoreDBClusterFromS3Input struct { // with the specified CharacterSet. CharacterSetName *string `type:"string"` - // The name of the DB cluster to create from the source data in the S3 bucket. - // This parameter is isn't case-sensitive. + // The name of the DB cluster to create from the source data in the Amazon S3 + // bucket. This parameter is isn't case-sensitive. // // Constraints: // @@ -25816,15 +25728,15 @@ type RestoreDBClusterFromS3Input struct { // The database name for the restored DB cluster. DatabaseName *string `type:"string"` - // A Boolean value that is true to enable mapping of AWS Identity and Access - // Management (IAM) accounts to database accounts, and otherwise false. + // True to enable mapping of AWS Identity and Access Management (IAM) accounts + // to database accounts, and otherwise false. // // Default: false EnableIAMDatabaseAuthentication *bool `type:"boolean"` // The name of the database engine to be used for the restored DB cluster. // - // Valid Values: aurora + // Valid Values: aurora, aurora-postgresql // // Engine is a required field Engine *string `type:"string" required:"true"` @@ -25836,7 +25748,7 @@ type RestoreDBClusterFromS3Input struct { // Example: 5.6.10a EngineVersion *string `type:"string"` - // The KMS key identifier for an encrypted DB cluster. + // The AWS KMS key identifier for an encrypted DB cluster. // // The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption // key. If you are creating a DB cluster with the same AWS account that owns @@ -25873,8 +25785,8 @@ type RestoreDBClusterFromS3Input struct { // A value that indicates that the restored DB cluster should be associated // with the specified option group. // - // Permanent options cannot be removed from an option group. An option group - // cannot be removed from a DB cluster once it is associated with a DB cluster. + // Permanent options can't be removed from an option group. An option group + // can't be removed from a DB cluster once it is associated with a DB cluster. OptionGroupName *string `type:"string"` // The port number on which the instances in the restored DB cluster accept @@ -25886,16 +25798,16 @@ type RestoreDBClusterFromS3Input struct { // The daily time range during which automated backups are created if automated // backups are enabled using the BackupRetentionPeriod parameter. // - // Default: A 30-minute window selected at random from an 8-hour block of time - // per AWS Region. To see the time blocks available, see Adjusting the Preferred - // Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) + // The default is a 30-minute window selected at random from an 8-hour block + // of time for each AWS Region. To see the time blocks available, see Adjusting + // the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // // Constraints: // // * Must be in the format hh24:mi-hh24:mi. // - // * Times should be in Universal Coordinated Time (UTC). + // * Must be in Universal Coordinated Time (UTC). // // * Must not conflict with the preferred maintenance window. // @@ -25907,12 +25819,13 @@ type RestoreDBClusterFromS3Input struct { // // Format: ddd:hh24:mi-ddd:hh24:mi // - // Default: A 30-minute window selected at random from an 8-hour block of time - // per AWS Region, occurring on a random day of the week. To see the time blocks - // available, see Adjusting the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) + // The default is a 30-minute window selected at random from an 8-hour block + // of time for each AWS Region, occurring on a random day of the week. To see + // the time blocks available, see Adjusting the Preferred Maintenance Window + // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // - // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun + // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. // // Constraints: Minimum 30-minute window. PreferredMaintenanceWindow *string `type:"string"` @@ -25956,7 +25869,7 @@ type RestoreDBClusterFromS3Input struct { // Specifies whether the restored DB cluster is encrypted. StorageEncrypted *bool `type:"boolean"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` // A list of EC2 VPC security groups to associate with the restored DB cluster. @@ -26157,23 +26070,11 @@ func (s *RestoreDBClusterFromS3Input) SetVpcSecurityGroupIds(v []*string) *Resto return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3Result +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3Result type RestoreDBClusterFromS3Output struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBCluster - // - // * DeleteDBCluster - // - // * FailoverDBCluster - // - // * ModifyDBCluster - // - // * RestoreDBClusterFromSnapshot - // - // * RestoreDBClusterToPointInTime + // Contains the details of an Amazon RDS DB cluster. // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` @@ -26195,7 +26096,7 @@ func (s *RestoreDBClusterFromS3Output) SetDBCluster(v *DBCluster) *RestoreDBClus return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshotMessage type RestoreDBClusterFromSnapshotInput struct { _ struct{} `type:"structure"` @@ -26229,8 +26130,8 @@ type RestoreDBClusterFromSnapshotInput struct { // The database name for the restored DB cluster. DatabaseName *string `type:"string"` - // A Boolean value that is true to enable mapping of AWS Identity and Access - // Management (IAM) accounts to database accounts, and otherwise false. + // True to enable mapping of AWS Identity and Access Management (IAM) accounts + // to database accounts, and otherwise false. // // Default: false EnableIAMDatabaseAuthentication *bool `type:"boolean"` @@ -26247,8 +26148,8 @@ type RestoreDBClusterFromSnapshotInput struct { // The version of the database engine to use for the new DB cluster. EngineVersion *string `type:"string"` - // The KMS key identifier to use when restoring an encrypted DB cluster from - // a DB snapshot or DB cluster snapshot. + // The AWS KMS key identifier to use when restoring an encrypted DB cluster + // from a DB snapshot or DB cluster snapshot. // // The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption // key. If you are restoring a DB cluster with the same AWS account that owns @@ -26403,23 +26304,11 @@ func (s *RestoreDBClusterFromSnapshotInput) SetVpcSecurityGroupIds(v []*string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshotResult type RestoreDBClusterFromSnapshotOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBCluster - // - // * DeleteDBCluster - // - // * FailoverDBCluster - // - // * ModifyDBCluster - // - // * RestoreDBClusterFromSnapshot - // - // * RestoreDBClusterToPointInTime + // Contains the details of an Amazon RDS DB cluster. // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` @@ -26441,7 +26330,7 @@ func (s *RestoreDBClusterFromSnapshotOutput) SetDBCluster(v *DBCluster) *Restore return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeMessage type RestoreDBClusterToPointInTimeInput struct { _ struct{} `type:"structure"` @@ -26465,14 +26354,14 @@ type RestoreDBClusterToPointInTimeInput struct { // Example: mySubnetgroup DBSubnetGroupName *string `type:"string"` - // A Boolean value that is true to enable mapping of AWS Identity and Access - // Management (IAM) accounts to database accounts, and otherwise false. + // True to enable mapping of AWS Identity and Access Management (IAM) accounts + // to database accounts, and otherwise false. // // Default: false EnableIAMDatabaseAuthentication *bool `type:"boolean"` - // The KMS key identifier to use when restoring an encrypted DB cluster from - // an encrypted DB cluster. + // The AWS KMS key identifier to use when restoring an encrypted DB cluster + // from an encrypted DB cluster. // // The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption // key. If you are restoring a DB cluster with the same AWS account that owns @@ -26533,7 +26422,7 @@ type RestoreDBClusterToPointInTimeInput struct { // * copy-on-write - The new DB cluster is restored as a clone of the source // DB cluster. // - // Constraints: You cannot specify copy-on-write if the engine version of the + // Constraints: You can't specify copy-on-write if the engine version of the // source DB cluster is earlier than 1.11. // // If you don't specify a RestoreType value, then the new DB cluster is restored @@ -26549,7 +26438,7 @@ type RestoreDBClusterToPointInTimeInput struct { // SourceDBClusterIdentifier is a required field SourceDBClusterIdentifier *string `type:"string" required:"true"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` // A value that is set to true to restore the DB cluster to the latest restorable @@ -26662,23 +26551,11 @@ func (s *RestoreDBClusterToPointInTimeInput) SetVpcSecurityGroupIds(v []*string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeResult type RestoreDBClusterToPointInTimeOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBCluster - // - // * DeleteDBCluster - // - // * FailoverDBCluster - // - // * ModifyDBCluster - // - // * RestoreDBClusterFromSnapshot - // - // * RestoreDBClusterToPointInTime + // Contains the details of an Amazon RDS DB cluster. // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` @@ -26700,7 +26577,7 @@ func (s *RestoreDBClusterToPointInTimeOutput) SetDBCluster(v *DBCluster) *Restor return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshotMessage type RestoreDBInstanceFromDBSnapshotInput struct { _ struct{} `type:"structure"` @@ -26708,24 +26585,24 @@ type RestoreDBInstanceFromDBSnapshotInput struct { // instance during the maintenance window. AutoMinorVersionUpgrade *bool `type:"boolean"` - // The EC2 Availability Zone that the database instance is created in. + // The EC2 Availability Zone that the DB instance is created in. // // Default: A random, system-chosen Availability Zone. // - // Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ + // Constraint: You can't specify the AvailabilityZone parameter if the MultiAZ // parameter is set to true. // // Example: us-east-1a AvailabilityZone *string `type:"string"` // True to copy all tags from the restored DB instance to snapshots of the DB - // instance; otherwise false. The default is false. + // instance, and otherwise false. The default is false. CopyTagsToSnapshot *bool `type:"boolean"` // The compute and memory capacity of the Amazon RDS DB instance, for example, - // db.m4.large. Not all DB instance classes are available in all regions, or - // for all database engines. For the full list of DB instance classes, and availability - // for your engine, see DB Instance Class (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + // db.m4.large. Not all DB instance classes are available in all AWS Regions, + // or for all database engines. For the full list of DB instance classes, and + // availability for your engine, see DB Instance Class (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) // in the Amazon RDS User Guide. // // Default: The same DBInstanceClass as the original DB instance. @@ -26779,7 +26656,7 @@ type RestoreDBInstanceFromDBSnapshotInput struct { DomainIAMRoleName *string `type:"string"` // True to enable mapping of AWS Identity and Access Management (IAM) accounts - // to database accounts; otherwise false. + // to database accounts, and otherwise false. // // You can enable IAM database authentication for the following database engines // @@ -26803,6 +26680,8 @@ type RestoreDBInstanceFromDBSnapshotInput struct { // // * aurora // + // * aurora-postgresql + // // * mariadb // // * mysql @@ -26849,14 +26728,14 @@ type RestoreDBInstanceFromDBSnapshotInput struct { // Specifies if the DB instance is a Multi-AZ deployment. // - // Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ + // Constraint: You can't specify the AvailabilityZone parameter if the MultiAZ // parameter is set to true. MultiAZ *bool `type:"boolean"` // The name of the option group to be used for the restored DB instance. // // Permanent options, such as the TDE option for Oracle Advanced Security TDE, - // cannot be removed from an option group, and that option group cannot be removed + // can't be removed from an option group, and that option group can't be removed // from a DB instance once it is associated with a DB instance OptionGroupName *string `type:"string"` @@ -26891,16 +26770,16 @@ type RestoreDBInstanceFromDBSnapshotInput struct { // // If you specify io1, you must also include a value for the Iops parameter. // - // Default: io1 if the Iops parameter is specified; otherwise standard + // Default: io1 if the Iops parameter is specified, otherwise standard StorageType *string `type:"string"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` - // The ARN from the Key Store with which to associate the instance for TDE encryption. + // The ARN from the key store with which to associate the instance for TDE encryption. TdeCredentialArn *string `type:"string"` - // The password for the given ARN from the Key Store in order to access the + // The password for the given ARN from the key store in order to access the // device. TdeCredentialPassword *string `type:"string"` } @@ -27063,43 +26942,600 @@ func (s *RestoreDBInstanceFromDBSnapshotInput) SetTdeCredentialPassword(v string return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshotResult type RestoreDBInstanceFromDBSnapshotOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: + // Contains the details of an Amazon RDS DB instance. + // + // This data type is used as a response element in the DescribeDBInstances action. + DBInstance *DBInstance `type:"structure"` +} + +// String returns the string representation +func (s RestoreDBInstanceFromDBSnapshotOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RestoreDBInstanceFromDBSnapshotOutput) GoString() string { + return s.String() +} + +// SetDBInstance sets the DBInstance field's value. +func (s *RestoreDBInstanceFromDBSnapshotOutput) SetDBInstance(v *DBInstance) *RestoreDBInstanceFromDBSnapshotOutput { + s.DBInstance = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3Message +type RestoreDBInstanceFromS3Input struct { + _ struct{} `type:"structure"` + + // The amount of storage (in gigabytes) to allocate initially for the DB instance. + // Follow the allocation rules specified in CreateDBInstance. + // + // Be sure to allocate enough memory for your new DB instance so that the restore + // operation can succeed. You can also allocate additional memory for future + // growth. + AllocatedStorage *int64 `type:"integer"` + + // True to indicate that minor engine upgrades are applied automatically to + // the DB instance during the maintenance window, and otherwise false. + // + // Default: true + AutoMinorVersionUpgrade *bool `type:"boolean"` + + // The Availability Zone that the DB instance is created in. For information + // about AWS Regions and Availability Zones, see Regions and Availability Zones + // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). // - // * CreateDBInstance + // Default: A random, system-chosen Availability Zone in the endpoint's AWS + // Region. + // + // Example: us-east-1d + // + // Constraint: The AvailabilityZone parameter can't be specified if the MultiAZ + // parameter is set to true. The specified Availability Zone must be in the + // same AWS Region as the current endpoint. + AvailabilityZone *string `type:"string"` + + // The number of days for which automated backups are retained. Setting this + // parameter to a positive number enables backups. For more information, see + // CreateDBInstance. + BackupRetentionPeriod *int64 `type:"integer"` + + // True to copy all tags from the DB instance to snapshots of the DB instance, + // and otherwise false. + // + // Default: false. + CopyTagsToSnapshot *bool `type:"boolean"` + + // The compute and memory capacity of the DB instance, for example, db.m4.large. + // Not all DB instance classes are available in all AWS Regions, or for all + // database engines. For the full list of DB instance classes, and availability + // for your engine, see DB Instance Class (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + // in the Amazon RDS User Guide. + // + // Importing from Amazon S3 is not supported on the db.t2.micro DB instance + // class. + // + // DBInstanceClass is a required field + DBInstanceClass *string `type:"string" required:"true"` + + // The DB instance identifier. This parameter is stored as a lowercase string. // - // * DeleteDBInstance + // Constraints: + // + // * Must contain from 1 to 63 letters, numbers, or hyphens. + // + // * First character must be a letter. // - // * ModifyDBInstance + // * Cannot end with a hyphen or contain two consecutive hyphens. // - // * StopDBInstance + // Example: mydbinstance // - // * StartDBInstance + // DBInstanceIdentifier is a required field + DBInstanceIdentifier *string `type:"string" required:"true"` + + // The name of the database to create when the DB instance is created. Follow + // the naming rules specified in CreateDBInstance. + DBName *string `type:"string"` + + // The name of the DB parameter group to associate with this DB instance. If + // this argument is omitted, the default parameter group for the specified engine + // is used. + DBParameterGroupName *string `type:"string"` + + // A list of DB security groups to associate with this DB instance. + // + // Default: The default DB security group for the database engine. + DBSecurityGroups []*string `locationNameList:"DBSecurityGroupName" type:"list"` + + // A DB subnet group to associate with this DB instance. + DBSubnetGroupName *string `type:"string"` + + // True to enable mapping of AWS Identity and Access Management (IAM) accounts + // to database accounts, and otherwise false. + // + // Default: false + EnableIAMDatabaseAuthentication *bool `type:"boolean"` + + // True to enable Performance Insights for the DB instance, and otherwise false. + EnablePerformanceInsights *bool `type:"boolean"` + + // The name of the database engine to be used for this instance. + // + // Valid Values: mysql + // + // Engine is a required field + Engine *string `type:"string" required:"true"` + + // The version number of the database engine to use. Choose the latest minor + // version of your database engine as specified in CreateDBInstance. + EngineVersion *string `type:"string"` + + // The amount of Provisioned IOPS (input/output operations per second) to allocate + // initially for the DB instance. For information about valid Iops values, see + // see Amazon RDS Provisioned IOPS Storage to Improve Performance (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS). + Iops *int64 `type:"integer"` + + // The AWS KMS key identifier for an encrypted DB instance. + // + // The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption + // key. If you are creating a DB instance with the same AWS account that owns + // the KMS encryption key used to encrypt the new DB instance, then you can + // use the KMS key alias instead of the ARN for the KM encryption key. + // + // If the StorageEncrypted parameter is true, and you do not specify a value + // for the KmsKeyId parameter, then Amazon RDS will use your default encryption + // key. AWS KMS creates the default encryption key for your AWS account. Your + // AWS account has a different default encryption key for each AWS Region. + KmsKeyId *string `type:"string"` + + // The license model for this DB instance. Use general-public-license. + LicenseModel *string `type:"string"` + + // The password for the master user. The password can include any printable + // ASCII character except "/", """, or "@". + // + // Constraints: Must contain from 8 to 41 characters. + MasterUserPassword *string `type:"string"` + + // The name for the master user. + // + // Constraints: + // + // * Must be 1 to 16 letters or numbers. + // + // * First character must be a letter. + // + // * Cannot be a reserved word for the chosen database engine. + MasterUsername *string `type:"string"` + + // The interval, in seconds, between points when Enhanced Monitoring metrics + // are collected for the DB instance. To disable collecting Enhanced Monitoring + // metrics, specify 0. + // + // If MonitoringRoleArn is specified, then you must also set MonitoringInterval + // to a value other than 0. + // + // Valid Values: 0, 1, 5, 10, 15, 30, 60 + // + // Default: 0 + MonitoringInterval *int64 `type:"integer"` + + // The ARN for the IAM role that permits RDS to send enhanced monitoring metrics + // to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. + // For information on creating a monitoring role, see Setting Up and Enabling + // Enhanced Monitoring (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling). + // + // If MonitoringInterval is set to a value other than 0, then you must supply + // a MonitoringRoleArn value. + MonitoringRoleArn *string `type:"string"` + + // Specifies whether the DB instance is a Multi-AZ deployment. If MultiAZ is + // set to true, you can't set the AvailabilityZone parameter. + MultiAZ *bool `type:"boolean"` + + // The name of the option group to associate with this DB instance. If this + // argument is omitted, the default option group for the specified engine is + // used. + OptionGroupName *string `type:"string"` + + // The AWS KMS key identifier for encryption of Performance Insights data. The + // KMS key ID is the Amazon Resource Name (ARN), the KMS key identifier, or + // the KMS key alias for the KMS encryption key. + PerformanceInsightsKMSKeyId *string `type:"string"` + + // The port number on which the database accepts connections. + // + // Type: Integer + // + // Valid Values: 1150-65535 + // + // Default: 3306 + Port *int64 `type:"integer"` + + // The time range each day during which automated backups are created if automated + // backups are enabled. For more information, see The Backup Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow). + // + // Constraints: + // + // * Must be in the format hh24:mi-hh24:mi. + // + // * Must be in Universal Coordinated Time (UTC). + // + // * Must not conflict with the preferred maintenance window. + // + // * Must be at least 30 minutes. + PreferredBackupWindow *string `type:"string"` + + // The time range each week during which system maintenance can occur, in Universal + // Coordinated Time (UTC). For more information, see Amazon RDS Maintenance + // Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance). + // + // Constraints: + // + // * Must be in the format ddd:hh24:mi-ddd:hh24:mi. + // + // * Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. + // + // * Must be in Universal Coordinated Time (UTC). + // + // * Must not conflict with the preferred backup window. + // + // * Must be at least 30 minutes. + PreferredMaintenanceWindow *string `type:"string"` + + // Specifies whether the DB instance is publicly accessible or not. For more + // information, see CreateDBInstance. + PubliclyAccessible *bool `type:"boolean"` + + // The name of your Amazon S3 bucket that contains your database backup file. + // + // S3BucketName is a required field + S3BucketName *string `type:"string" required:"true"` + + // An AWS Identity and Access Management (IAM) role to allow Amazon RDS to access + // your Amazon S3 bucket. + // + // S3IngestionRoleArn is a required field + S3IngestionRoleArn *string `type:"string" required:"true"` + + // The prefix of your Amazon S3 bucket. + S3Prefix *string `type:"string"` + + // The name of the engine of your source database. + // + // Valid Values: mysql + // + // SourceEngine is a required field + SourceEngine *string `type:"string" required:"true"` + + // The engine version of your source database. + // + // Valid Values: 5.6 + // + // SourceEngineVersion is a required field + SourceEngineVersion *string `type:"string" required:"true"` + + // Specifies whether the new DB instance is encrypted or not. + StorageEncrypted *bool `type:"boolean"` + + // Specifies the storage type to be associated with the DB instance. + // + // Valid values: standard | gp2 | io1 + // + // If you specify io1, you must also include a value for the Iops parameter. + // + // Default: io1 if the Iops parameter is specified; otherwise standard + StorageType *string `type:"string"` + + // A list of tags to associate with this DB instance. For more information, + // see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). + Tags []*Tag `locationNameList:"Tag" type:"list"` + + // A list of VPC security groups to associate with this DB instance. + VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"` +} + +// String returns the string representation +func (s RestoreDBInstanceFromS3Input) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RestoreDBInstanceFromS3Input) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RestoreDBInstanceFromS3Input) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RestoreDBInstanceFromS3Input"} + if s.DBInstanceClass == nil { + invalidParams.Add(request.NewErrParamRequired("DBInstanceClass")) + } + if s.DBInstanceIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DBInstanceIdentifier")) + } + if s.Engine == nil { + invalidParams.Add(request.NewErrParamRequired("Engine")) + } + if s.S3BucketName == nil { + invalidParams.Add(request.NewErrParamRequired("S3BucketName")) + } + if s.S3IngestionRoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("S3IngestionRoleArn")) + } + if s.SourceEngine == nil { + invalidParams.Add(request.NewErrParamRequired("SourceEngine")) + } + if s.SourceEngineVersion == nil { + invalidParams.Add(request.NewErrParamRequired("SourceEngineVersion")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAllocatedStorage sets the AllocatedStorage field's value. +func (s *RestoreDBInstanceFromS3Input) SetAllocatedStorage(v int64) *RestoreDBInstanceFromS3Input { + s.AllocatedStorage = &v + return s +} + +// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. +func (s *RestoreDBInstanceFromS3Input) SetAutoMinorVersionUpgrade(v bool) *RestoreDBInstanceFromS3Input { + s.AutoMinorVersionUpgrade = &v + return s +} + +// SetAvailabilityZone sets the AvailabilityZone field's value. +func (s *RestoreDBInstanceFromS3Input) SetAvailabilityZone(v string) *RestoreDBInstanceFromS3Input { + s.AvailabilityZone = &v + return s +} + +// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. +func (s *RestoreDBInstanceFromS3Input) SetBackupRetentionPeriod(v int64) *RestoreDBInstanceFromS3Input { + s.BackupRetentionPeriod = &v + return s +} + +// SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value. +func (s *RestoreDBInstanceFromS3Input) SetCopyTagsToSnapshot(v bool) *RestoreDBInstanceFromS3Input { + s.CopyTagsToSnapshot = &v + return s +} + +// SetDBInstanceClass sets the DBInstanceClass field's value. +func (s *RestoreDBInstanceFromS3Input) SetDBInstanceClass(v string) *RestoreDBInstanceFromS3Input { + s.DBInstanceClass = &v + return s +} + +// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. +func (s *RestoreDBInstanceFromS3Input) SetDBInstanceIdentifier(v string) *RestoreDBInstanceFromS3Input { + s.DBInstanceIdentifier = &v + return s +} + +// SetDBName sets the DBName field's value. +func (s *RestoreDBInstanceFromS3Input) SetDBName(v string) *RestoreDBInstanceFromS3Input { + s.DBName = &v + return s +} + +// SetDBParameterGroupName sets the DBParameterGroupName field's value. +func (s *RestoreDBInstanceFromS3Input) SetDBParameterGroupName(v string) *RestoreDBInstanceFromS3Input { + s.DBParameterGroupName = &v + return s +} + +// SetDBSecurityGroups sets the DBSecurityGroups field's value. +func (s *RestoreDBInstanceFromS3Input) SetDBSecurityGroups(v []*string) *RestoreDBInstanceFromS3Input { + s.DBSecurityGroups = v + return s +} + +// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. +func (s *RestoreDBInstanceFromS3Input) SetDBSubnetGroupName(v string) *RestoreDBInstanceFromS3Input { + s.DBSubnetGroupName = &v + return s +} + +// SetEnableIAMDatabaseAuthentication sets the EnableIAMDatabaseAuthentication field's value. +func (s *RestoreDBInstanceFromS3Input) SetEnableIAMDatabaseAuthentication(v bool) *RestoreDBInstanceFromS3Input { + s.EnableIAMDatabaseAuthentication = &v + return s +} + +// SetEnablePerformanceInsights sets the EnablePerformanceInsights field's value. +func (s *RestoreDBInstanceFromS3Input) SetEnablePerformanceInsights(v bool) *RestoreDBInstanceFromS3Input { + s.EnablePerformanceInsights = &v + return s +} + +// SetEngine sets the Engine field's value. +func (s *RestoreDBInstanceFromS3Input) SetEngine(v string) *RestoreDBInstanceFromS3Input { + s.Engine = &v + return s +} + +// SetEngineVersion sets the EngineVersion field's value. +func (s *RestoreDBInstanceFromS3Input) SetEngineVersion(v string) *RestoreDBInstanceFromS3Input { + s.EngineVersion = &v + return s +} + +// SetIops sets the Iops field's value. +func (s *RestoreDBInstanceFromS3Input) SetIops(v int64) *RestoreDBInstanceFromS3Input { + s.Iops = &v + return s +} + +// SetKmsKeyId sets the KmsKeyId field's value. +func (s *RestoreDBInstanceFromS3Input) SetKmsKeyId(v string) *RestoreDBInstanceFromS3Input { + s.KmsKeyId = &v + return s +} + +// SetLicenseModel sets the LicenseModel field's value. +func (s *RestoreDBInstanceFromS3Input) SetLicenseModel(v string) *RestoreDBInstanceFromS3Input { + s.LicenseModel = &v + return s +} + +// SetMasterUserPassword sets the MasterUserPassword field's value. +func (s *RestoreDBInstanceFromS3Input) SetMasterUserPassword(v string) *RestoreDBInstanceFromS3Input { + s.MasterUserPassword = &v + return s +} + +// SetMasterUsername sets the MasterUsername field's value. +func (s *RestoreDBInstanceFromS3Input) SetMasterUsername(v string) *RestoreDBInstanceFromS3Input { + s.MasterUsername = &v + return s +} + +// SetMonitoringInterval sets the MonitoringInterval field's value. +func (s *RestoreDBInstanceFromS3Input) SetMonitoringInterval(v int64) *RestoreDBInstanceFromS3Input { + s.MonitoringInterval = &v + return s +} + +// SetMonitoringRoleArn sets the MonitoringRoleArn field's value. +func (s *RestoreDBInstanceFromS3Input) SetMonitoringRoleArn(v string) *RestoreDBInstanceFromS3Input { + s.MonitoringRoleArn = &v + return s +} + +// SetMultiAZ sets the MultiAZ field's value. +func (s *RestoreDBInstanceFromS3Input) SetMultiAZ(v bool) *RestoreDBInstanceFromS3Input { + s.MultiAZ = &v + return s +} + +// SetOptionGroupName sets the OptionGroupName field's value. +func (s *RestoreDBInstanceFromS3Input) SetOptionGroupName(v string) *RestoreDBInstanceFromS3Input { + s.OptionGroupName = &v + return s +} + +// SetPerformanceInsightsKMSKeyId sets the PerformanceInsightsKMSKeyId field's value. +func (s *RestoreDBInstanceFromS3Input) SetPerformanceInsightsKMSKeyId(v string) *RestoreDBInstanceFromS3Input { + s.PerformanceInsightsKMSKeyId = &v + return s +} + +// SetPort sets the Port field's value. +func (s *RestoreDBInstanceFromS3Input) SetPort(v int64) *RestoreDBInstanceFromS3Input { + s.Port = &v + return s +} + +// SetPreferredBackupWindow sets the PreferredBackupWindow field's value. +func (s *RestoreDBInstanceFromS3Input) SetPreferredBackupWindow(v string) *RestoreDBInstanceFromS3Input { + s.PreferredBackupWindow = &v + return s +} + +// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. +func (s *RestoreDBInstanceFromS3Input) SetPreferredMaintenanceWindow(v string) *RestoreDBInstanceFromS3Input { + s.PreferredMaintenanceWindow = &v + return s +} + +// SetPubliclyAccessible sets the PubliclyAccessible field's value. +func (s *RestoreDBInstanceFromS3Input) SetPubliclyAccessible(v bool) *RestoreDBInstanceFromS3Input { + s.PubliclyAccessible = &v + return s +} + +// SetS3BucketName sets the S3BucketName field's value. +func (s *RestoreDBInstanceFromS3Input) SetS3BucketName(v string) *RestoreDBInstanceFromS3Input { + s.S3BucketName = &v + return s +} + +// SetS3IngestionRoleArn sets the S3IngestionRoleArn field's value. +func (s *RestoreDBInstanceFromS3Input) SetS3IngestionRoleArn(v string) *RestoreDBInstanceFromS3Input { + s.S3IngestionRoleArn = &v + return s +} + +// SetS3Prefix sets the S3Prefix field's value. +func (s *RestoreDBInstanceFromS3Input) SetS3Prefix(v string) *RestoreDBInstanceFromS3Input { + s.S3Prefix = &v + return s +} + +// SetSourceEngine sets the SourceEngine field's value. +func (s *RestoreDBInstanceFromS3Input) SetSourceEngine(v string) *RestoreDBInstanceFromS3Input { + s.SourceEngine = &v + return s +} + +// SetSourceEngineVersion sets the SourceEngineVersion field's value. +func (s *RestoreDBInstanceFromS3Input) SetSourceEngineVersion(v string) *RestoreDBInstanceFromS3Input { + s.SourceEngineVersion = &v + return s +} + +// SetStorageEncrypted sets the StorageEncrypted field's value. +func (s *RestoreDBInstanceFromS3Input) SetStorageEncrypted(v bool) *RestoreDBInstanceFromS3Input { + s.StorageEncrypted = &v + return s +} + +// SetStorageType sets the StorageType field's value. +func (s *RestoreDBInstanceFromS3Input) SetStorageType(v string) *RestoreDBInstanceFromS3Input { + s.StorageType = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *RestoreDBInstanceFromS3Input) SetTags(v []*Tag) *RestoreDBInstanceFromS3Input { + s.Tags = v + return s +} + +// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. +func (s *RestoreDBInstanceFromS3Input) SetVpcSecurityGroupIds(v []*string) *RestoreDBInstanceFromS3Input { + s.VpcSecurityGroupIds = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3Result +type RestoreDBInstanceFromS3Output struct { + _ struct{} `type:"structure"` + + // Contains the details of an Amazon RDS DB instance. // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` } // String returns the string representation -func (s RestoreDBInstanceFromDBSnapshotOutput) String() string { +func (s RestoreDBInstanceFromS3Output) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RestoreDBInstanceFromDBSnapshotOutput) GoString() string { +func (s RestoreDBInstanceFromS3Output) GoString() string { return s.String() } // SetDBInstance sets the DBInstance field's value. -func (s *RestoreDBInstanceFromDBSnapshotOutput) SetDBInstance(v *DBInstance) *RestoreDBInstanceFromDBSnapshotOutput { +func (s *RestoreDBInstanceFromS3Output) SetDBInstance(v *DBInstance) *RestoreDBInstanceFromS3Output { s.DBInstance = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTimeMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTimeMessage type RestoreDBInstanceToPointInTimeInput struct { _ struct{} `type:"structure"` @@ -27107,24 +27543,24 @@ type RestoreDBInstanceToPointInTimeInput struct { // instance during the maintenance window. AutoMinorVersionUpgrade *bool `type:"boolean"` - // The EC2 Availability Zone that the database instance is created in. + // The EC2 Availability Zone that the DB instance is created in. // // Default: A random, system-chosen Availability Zone. // - // Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ + // Constraint: You can't specify the AvailabilityZone parameter if the MultiAZ // parameter is set to true. // // Example: us-east-1a AvailabilityZone *string `type:"string"` // True to copy all tags from the restored DB instance to snapshots of the DB - // instance; otherwise false. The default is false. + // instance, and otherwise false. The default is false. CopyTagsToSnapshot *bool `type:"boolean"` // The compute and memory capacity of the Amazon RDS DB instance, for example, - // db.m4.large. Not all DB instance classes are available in all regions, or - // for all database engines. For the full list of DB instance classes, and availability - // for your engine, see DB Instance Class (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + // db.m4.large. Not all DB instance classes are available in all AWS Regions, + // or for all database engines. For the full list of DB instance classes, and + // availability for your engine, see DB Instance Class (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) // in the Amazon RDS User Guide. // // Default: The same DBInstanceClass as the original DB instance. @@ -27150,7 +27586,7 @@ type RestoreDBInstanceToPointInTimeInput struct { DomainIAMRoleName *string `type:"string"` // True to enable mapping of AWS Identity and Access Management (IAM) accounts - // to database accounts; otherwise false. + // to database accounts, and otherwise false. // // You can enable IAM database authentication for the following database engines // @@ -27173,6 +27609,8 @@ type RestoreDBInstanceToPointInTimeInput struct { // // * aurora // + // * aurora-postgresql + // // * mariadb // // * mysql @@ -27215,14 +27653,14 @@ type RestoreDBInstanceToPointInTimeInput struct { // Specifies if the DB instance is a Multi-AZ deployment. // - // Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ + // Constraint: You can't specify the AvailabilityZone parameter if the MultiAZ // parameter is set to true. MultiAZ *bool `type:"boolean"` // The name of the option group to be used for the restored DB instance. // // Permanent options, such as the TDE option for Oracle Advanced Security TDE, - // cannot be removed from an option group, and that option group cannot be removed + // can't be removed from an option group, and that option group can't be removed // from a DB instance once it is associated with a DB instance OptionGroupName *string `type:"string"` @@ -27279,13 +27717,13 @@ type RestoreDBInstanceToPointInTimeInput struct { // // If you specify io1, you must also include a value for the Iops parameter. // - // Default: io1 if the Iops parameter is specified; otherwise standard + // Default: io1 if the Iops parameter is specified, otherwise standard StorageType *string `type:"string"` - // A list of tags. + // A list of tags. For more information, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html). Tags []*Tag `locationNameList:"Tag" type:"list"` - // The name of the new database instance to be created. + // The name of the new DB instance to be created. // // Constraints: // @@ -27298,10 +27736,10 @@ type RestoreDBInstanceToPointInTimeInput struct { // TargetDBInstanceIdentifier is a required field TargetDBInstanceIdentifier *string `type:"string" required:"true"` - // The ARN from the Key Store with which to associate the instance for TDE encryption. + // The ARN from the key store with which to associate the instance for TDE encryption. TdeCredentialArn *string `type:"string"` - // The password for the given ARN from the Key Store in order to access the + // The password for the given ARN from the key store in order to access the // device. TdeCredentialPassword *string `type:"string"` @@ -27484,21 +27922,11 @@ func (s *RestoreDBInstanceToPointInTimeInput) SetUseLatestRestorableTime(v bool) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTimeResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTimeResult type RestoreDBInstanceToPointInTimeOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBInstance - // - // * DeleteDBInstance - // - // * ModifyDBInstance - // - // * StopDBInstance - // - // * StartDBInstance + // Contains the details of an Amazon RDS DB instance. // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` @@ -27520,13 +27948,13 @@ func (s *RestoreDBInstanceToPointInTimeOutput) SetDBInstance(v *DBInstance) *Res return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngressMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngressMessage type RevokeDBSecurityGroupIngressInput struct { _ struct{} `type:"structure"` // The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP // is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId - // cannot be provided. + // can't be provided. CIDRIP *string `type:"string"` // The name of the DB security group to revoke ingress from. @@ -27605,19 +28033,11 @@ func (s *RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngressResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngressResult type RevokeDBSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * DescribeDBSecurityGroups - // - // * AuthorizeDBSecurityGroupIngress - // - // * CreateDBSecurityGroup - // - // * RevokeDBSecurityGroupIngress + // Contains the details for an Amazon RDS DB security group. // // This data type is used as a response element in the DescribeDBSecurityGroups // action. @@ -27642,7 +28062,7 @@ func (s *RevokeDBSecurityGroupIngressOutput) SetDBSecurityGroup(v *DBSecurityGro // Contains an AWS Region name as the result of a successful call to the DescribeSourceRegions // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SourceRegion +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SourceRegion type SourceRegion struct { _ struct{} `type:"structure"` @@ -27684,7 +28104,7 @@ func (s *SourceRegion) SetStatus(v string) *SourceRegion { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstanceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstanceMessage type StartDBInstanceInput struct { _ struct{} `type:"structure"` @@ -27723,21 +28143,11 @@ func (s *StartDBInstanceInput) SetDBInstanceIdentifier(v string) *StartDBInstanc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstanceResult type StartDBInstanceOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBInstance - // - // * DeleteDBInstance - // - // * ModifyDBInstance - // - // * StopDBInstance - // - // * StartDBInstance + // Contains the details of an Amazon RDS DB instance. // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` @@ -27759,7 +28169,7 @@ func (s *StartDBInstanceOutput) SetDBInstance(v *DBInstance) *StartDBInstanceOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstanceMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstanceMessage type StopDBInstanceInput struct { _ struct{} `type:"structure"` @@ -27808,21 +28218,11 @@ func (s *StopDBInstanceInput) SetDBSnapshotIdentifier(v string) *StopDBInstanceI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstanceResult type StopDBInstanceOutput struct { _ struct{} `type:"structure"` - // Contains the result of a successful invocation of the following actions: - // - // * CreateDBInstance - // - // * DeleteDBInstance - // - // * ModifyDBInstance - // - // * StopDBInstance - // - // * StartDBInstance + // Contains the details of an Amazon RDS DB instance. // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` @@ -27846,7 +28246,7 @@ func (s *StopDBInstanceOutput) SetDBInstance(v *DBInstance) *StopDBInstanceOutpu // This data type is used as a response element in the DescribeDBSubnetGroups // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Subnet +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Subnet type Subnet struct { _ struct{} `type:"structure"` @@ -27893,18 +28293,18 @@ func (s *Subnet) SetSubnetStatus(v string) *Subnet { } // Metadata assigned to an Amazon RDS resource consisting of a key-value pair. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Tag type Tag struct { _ struct{} `type:"structure"` // A key is the required name of the tag. The string value can be from 1 to - // 128 Unicode characters in length and cannot be prefixed with "aws:" or "rds:". + // 128 Unicode characters in length and can't be prefixed with "aws:" or "rds:". // The string can only contain only the set of Unicode letters, digits, white-space, // '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). Key *string `type:"string"` // A value is the optional value of the tag. The string value can be from 1 - // to 256 Unicode characters in length and cannot be prefixed with "aws:" or + // to 256 Unicode characters in length and can't be prefixed with "aws:" or // "rds:". The string can only contain only the set of Unicode letters, digits, // white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). Value *string `type:"string"` @@ -27935,7 +28335,7 @@ func (s *Tag) SetValue(v string) *Tag { // A time zone associated with a DBInstance or a DBSnapshot. This data type // is an element in the response to the DescribeDBInstances, the DescribeDBSnapshots, // and the DescribeDBEngineVersions actions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Timezone +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Timezone type Timezone struct { _ struct{} `type:"structure"` @@ -27960,7 +28360,7 @@ func (s *Timezone) SetTimezoneName(v string) *Timezone { } // The version of the database engine that a DB instance can be upgraded to. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/UpgradeTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/UpgradeTarget type UpgradeTarget struct { _ struct{} `type:"structure"` @@ -28024,7 +28424,7 @@ func (s *UpgradeTarget) SetIsMajorVersionUpgrade(v bool) *UpgradeTarget { // Information about valid modifications that you can make to your DB instance. // Contains the result of a successful call to the DescribeValidDBInstanceModifications // action. You can use this information when you call ModifyDBInstance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ValidDBInstanceModificationsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ValidDBInstanceModificationsMessage type ValidDBInstanceModificationsMessage struct { _ struct{} `type:"structure"` @@ -28051,7 +28451,7 @@ func (s *ValidDBInstanceModificationsMessage) SetStorage(v []*ValidStorageOption // Information about valid modifications that you can make to your DB instance. // Contains the result of a successful call to the DescribeValidDBInstanceModifications // action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ValidStorageOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ValidStorageOptions type ValidStorageOptions struct { _ struct{} `type:"structure"` @@ -28106,7 +28506,7 @@ func (s *ValidStorageOptions) SetStorageType(v string) *ValidStorageOptions { // This data type is used as a response element for queries on VPC security // group membership. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/VpcSecurityGroupMembership +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/VpcSecurityGroupMembership type VpcSecurityGroupMembership struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/rds/doc.go b/vendor/github.com/aws/aws-sdk-go/service/rds/doc.go index bb4e704e9af..4a99624e1ef 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/rds/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/service/rds/doc.go @@ -15,7 +15,7 @@ // existing databases work with Amazon RDS without modification. Amazon RDS // automatically backs up your database and maintains the database software // that powers your DB instance. Amazon RDS is flexible: you can scale your -// database instance's compute resources and storage capacity to meet your application's +// DB instance's compute resources and storage capacity to meet your application's // demand. As with all Amazon Web Services, there are no up-front investments, // and you pay only for the resources you use. // diff --git a/vendor/github.com/aws/aws-sdk-go/service/redshift/api.go b/vendor/github.com/aws/aws-sdk-go/service/redshift/api.go index 1a9949c3709..f08d82143a1 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/redshift/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/redshift/api.go @@ -37,7 +37,7 @@ const opAuthorizeClusterSecurityGroupIngress = "AuthorizeClusterSecurityGroupIng // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeClusterSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeClusterSecurityGroupIngress func (c *Redshift) AuthorizeClusterSecurityGroupIngressRequest(input *AuthorizeClusterSecurityGroupIngressInput) (req *request.Request, output *AuthorizeClusterSecurityGroupIngressOutput) { op := &request.Operation{ Name: opAuthorizeClusterSecurityGroupIngress, @@ -99,7 +99,7 @@ func (c *Redshift) AuthorizeClusterSecurityGroupIngressRequest(input *AuthorizeC // * ErrCodeAuthorizationQuotaExceededFault "AuthorizationQuotaExceeded" // The authorization quota for the cluster security group has been reached. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeClusterSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeClusterSecurityGroupIngress func (c *Redshift) AuthorizeClusterSecurityGroupIngress(input *AuthorizeClusterSecurityGroupIngressInput) (*AuthorizeClusterSecurityGroupIngressOutput, error) { req, out := c.AuthorizeClusterSecurityGroupIngressRequest(input) return out, req.Send() @@ -146,7 +146,7 @@ const opAuthorizeSnapshotAccess = "AuthorizeSnapshotAccess" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccess +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccess func (c *Redshift) AuthorizeSnapshotAccessRequest(input *AuthorizeSnapshotAccessInput) (req *request.Request, output *AuthorizeSnapshotAccessOutput) { op := &request.Operation{ Name: opAuthorizeSnapshotAccess, @@ -200,7 +200,7 @@ func (c *Redshift) AuthorizeSnapshotAccessRequest(input *AuthorizeSnapshotAccess // * ErrCodeLimitExceededFault "LimitExceededFault" // The encryption key has exceeded its grant limit in AWS KMS. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccess +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccess func (c *Redshift) AuthorizeSnapshotAccess(input *AuthorizeSnapshotAccessInput) (*AuthorizeSnapshotAccessOutput, error) { req, out := c.AuthorizeSnapshotAccessRequest(input) return out, req.Send() @@ -247,7 +247,7 @@ const opCopyClusterSnapshot = "CopyClusterSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshot func (c *Redshift) CopyClusterSnapshotRequest(input *CopyClusterSnapshotInput) (req *request.Request, output *CopyClusterSnapshotOutput) { op := &request.Operation{ Name: opCopyClusterSnapshot, @@ -303,7 +303,7 @@ func (c *Redshift) CopyClusterSnapshotRequest(input *CopyClusterSnapshotInput) ( // The request would result in the user exceeding the allowed number of cluster // snapshots. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshot func (c *Redshift) CopyClusterSnapshot(input *CopyClusterSnapshotInput) (*CopyClusterSnapshotOutput, error) { req, out := c.CopyClusterSnapshotRequest(input) return out, req.Send() @@ -350,7 +350,7 @@ const opCreateCluster = "CreateCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateCluster func (c *Redshift) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput) { op := &request.Operation{ Name: opCreateCluster, @@ -452,7 +452,7 @@ func (c *Redshift) CreateClusterRequest(input *CreateClusterInput) (req *request // The request cannot be completed because a dependent service is throttling // requests made by Amazon Redshift on your behalf. Wait and retry the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateCluster func (c *Redshift) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error) { req, out := c.CreateClusterRequest(input) return out, req.Send() @@ -499,7 +499,7 @@ const opCreateClusterParameterGroup = "CreateClusterParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterParameterGroup func (c *Redshift) CreateClusterParameterGroupRequest(input *CreateClusterParameterGroupInput) (req *request.Request, output *CreateClusterParameterGroupOutput) { op := &request.Operation{ Name: opCreateClusterParameterGroup, @@ -553,7 +553,7 @@ func (c *Redshift) CreateClusterParameterGroupRequest(input *CreateClusterParame // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterParameterGroup func (c *Redshift) CreateClusterParameterGroup(input *CreateClusterParameterGroupInput) (*CreateClusterParameterGroupOutput, error) { req, out := c.CreateClusterParameterGroupRequest(input) return out, req.Send() @@ -600,7 +600,7 @@ const opCreateClusterSecurityGroup = "CreateClusterSecurityGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSecurityGroup func (c *Redshift) CreateClusterSecurityGroupRequest(input *CreateClusterSecurityGroupInput) (req *request.Request, output *CreateClusterSecurityGroupOutput) { op := &request.Operation{ Name: opCreateClusterSecurityGroup, @@ -649,7 +649,7 @@ func (c *Redshift) CreateClusterSecurityGroupRequest(input *CreateClusterSecurit // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSecurityGroup func (c *Redshift) CreateClusterSecurityGroup(input *CreateClusterSecurityGroupInput) (*CreateClusterSecurityGroupOutput, error) { req, out := c.CreateClusterSecurityGroupRequest(input) return out, req.Send() @@ -696,7 +696,7 @@ const opCreateClusterSnapshot = "CreateClusterSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshot func (c *Redshift) CreateClusterSnapshotRequest(input *CreateClusterSnapshotInput) (req *request.Request, output *CreateClusterSnapshotOutput) { op := &request.Operation{ Name: opCreateClusterSnapshot, @@ -750,7 +750,7 @@ func (c *Redshift) CreateClusterSnapshotRequest(input *CreateClusterSnapshotInpu // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshot func (c *Redshift) CreateClusterSnapshot(input *CreateClusterSnapshotInput) (*CreateClusterSnapshotOutput, error) { req, out := c.CreateClusterSnapshotRequest(input) return out, req.Send() @@ -797,7 +797,7 @@ const opCreateClusterSubnetGroup = "CreateClusterSubnetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSubnetGroup func (c *Redshift) CreateClusterSubnetGroupRequest(input *CreateClusterSubnetGroupInput) (req *request.Request, output *CreateClusterSubnetGroupOutput) { op := &request.Operation{ Name: opCreateClusterSubnetGroup, @@ -864,7 +864,7 @@ func (c *Redshift) CreateClusterSubnetGroupRequest(input *CreateClusterSubnetGro // The request cannot be completed because a dependent service is throttling // requests made by Amazon Redshift on your behalf. Wait and retry the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSubnetGroup func (c *Redshift) CreateClusterSubnetGroup(input *CreateClusterSubnetGroupInput) (*CreateClusterSubnetGroupOutput, error) { req, out := c.CreateClusterSubnetGroupRequest(input) return out, req.Send() @@ -911,7 +911,7 @@ const opCreateEventSubscription = "CreateEventSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEventSubscription func (c *Redshift) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput) { op := &request.Operation{ Name: opCreateEventSubscription, @@ -1004,7 +1004,7 @@ func (c *Redshift) CreateEventSubscriptionRequest(input *CreateEventSubscription // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEventSubscription func (c *Redshift) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error) { req, out := c.CreateEventSubscriptionRequest(input) return out, req.Send() @@ -1051,7 +1051,7 @@ const opCreateHsmClientCertificate = "CreateHsmClientCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmClientCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmClientCertificate func (c *Redshift) CreateHsmClientCertificateRequest(input *CreateHsmClientCertificateInput) (req *request.Request, output *CreateHsmClientCertificateOutput) { op := &request.Operation{ Name: opCreateHsmClientCertificate, @@ -1103,7 +1103,7 @@ func (c *Redshift) CreateHsmClientCertificateRequest(input *CreateHsmClientCerti // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmClientCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmClientCertificate func (c *Redshift) CreateHsmClientCertificate(input *CreateHsmClientCertificateInput) (*CreateHsmClientCertificateOutput, error) { req, out := c.CreateHsmClientCertificateRequest(input) return out, req.Send() @@ -1150,7 +1150,7 @@ const opCreateHsmConfiguration = "CreateHsmConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmConfiguration func (c *Redshift) CreateHsmConfigurationRequest(input *CreateHsmConfigurationInput) (req *request.Request, output *CreateHsmConfigurationOutput) { op := &request.Operation{ Name: opCreateHsmConfiguration, @@ -1203,7 +1203,7 @@ func (c *Redshift) CreateHsmConfigurationRequest(input *CreateHsmConfigurationIn // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmConfiguration func (c *Redshift) CreateHsmConfiguration(input *CreateHsmConfigurationInput) (*CreateHsmConfigurationOutput, error) { req, out := c.CreateHsmConfigurationRequest(input) return out, req.Send() @@ -1250,7 +1250,7 @@ const opCreateSnapshotCopyGrant = "CreateSnapshotCopyGrant" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotCopyGrant +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotCopyGrant func (c *Redshift) CreateSnapshotCopyGrantRequest(input *CreateSnapshotCopyGrantInput) (req *request.Request, output *CreateSnapshotCopyGrantOutput) { op := &request.Operation{ Name: opCreateSnapshotCopyGrant, @@ -1306,7 +1306,7 @@ func (c *Redshift) CreateSnapshotCopyGrantRequest(input *CreateSnapshotCopyGrant // The request cannot be completed because a dependent service is throttling // requests made by Amazon Redshift on your behalf. Wait and retry the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotCopyGrant +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotCopyGrant func (c *Redshift) CreateSnapshotCopyGrant(input *CreateSnapshotCopyGrantInput) (*CreateSnapshotCopyGrantOutput, error) { req, out := c.CreateSnapshotCopyGrantRequest(input) return out, req.Send() @@ -1353,7 +1353,7 @@ const opCreateTags = "CreateTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateTags func (c *Redshift) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput) { op := &request.Operation{ Name: opCreateTags, @@ -1399,7 +1399,7 @@ func (c *Redshift) CreateTagsRequest(input *CreateTagsInput) (req *request.Reque // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateTags func (c *Redshift) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error) { req, out := c.CreateTagsRequest(input) return out, req.Send() @@ -1446,7 +1446,7 @@ const opDeleteCluster = "DeleteCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteCluster func (c *Redshift) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Request, output *DeleteClusterOutput) { op := &request.Operation{ Name: opDeleteCluster, @@ -1505,7 +1505,7 @@ func (c *Redshift) DeleteClusterRequest(input *DeleteClusterInput) (req *request // The request would result in the user exceeding the allowed number of cluster // snapshots. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteCluster func (c *Redshift) DeleteCluster(input *DeleteClusterInput) (*DeleteClusterOutput, error) { req, out := c.DeleteClusterRequest(input) return out, req.Send() @@ -1552,7 +1552,7 @@ const opDeleteClusterParameterGroup = "DeleteClusterParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterParameterGroup func (c *Redshift) DeleteClusterParameterGroupRequest(input *DeleteClusterParameterGroupInput) (req *request.Request, output *DeleteClusterParameterGroupOutput) { op := &request.Operation{ Name: opDeleteClusterParameterGroup, @@ -1593,7 +1593,7 @@ func (c *Redshift) DeleteClusterParameterGroupRequest(input *DeleteClusterParame // * ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" // The parameter group name does not refer to an existing parameter group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterParameterGroup func (c *Redshift) DeleteClusterParameterGroup(input *DeleteClusterParameterGroupInput) (*DeleteClusterParameterGroupOutput, error) { req, out := c.DeleteClusterParameterGroupRequest(input) return out, req.Send() @@ -1640,7 +1640,7 @@ const opDeleteClusterSecurityGroup = "DeleteClusterSecurityGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSecurityGroup func (c *Redshift) DeleteClusterSecurityGroupRequest(input *DeleteClusterSecurityGroupInput) (req *request.Request, output *DeleteClusterSecurityGroupOutput) { op := &request.Operation{ Name: opDeleteClusterSecurityGroup, @@ -1685,7 +1685,7 @@ func (c *Redshift) DeleteClusterSecurityGroupRequest(input *DeleteClusterSecurit // The cluster security group name does not refer to an existing cluster security // group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSecurityGroup func (c *Redshift) DeleteClusterSecurityGroup(input *DeleteClusterSecurityGroupInput) (*DeleteClusterSecurityGroupOutput, error) { req, out := c.DeleteClusterSecurityGroupRequest(input) return out, req.Send() @@ -1732,7 +1732,7 @@ const opDeleteClusterSnapshot = "DeleteClusterSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshot func (c *Redshift) DeleteClusterSnapshotRequest(input *DeleteClusterSnapshotInput) (req *request.Request, output *DeleteClusterSnapshotOutput) { op := &request.Operation{ Name: opDeleteClusterSnapshot, @@ -1775,7 +1775,7 @@ func (c *Redshift) DeleteClusterSnapshotRequest(input *DeleteClusterSnapshotInpu // * ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" // The snapshot identifier does not refer to an existing cluster snapshot. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshot func (c *Redshift) DeleteClusterSnapshot(input *DeleteClusterSnapshotInput) (*DeleteClusterSnapshotOutput, error) { req, out := c.DeleteClusterSnapshotRequest(input) return out, req.Send() @@ -1822,7 +1822,7 @@ const opDeleteClusterSubnetGroup = "DeleteClusterSubnetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSubnetGroup func (c *Redshift) DeleteClusterSubnetGroupRequest(input *DeleteClusterSubnetGroupInput) (req *request.Request, output *DeleteClusterSubnetGroupOutput) { op := &request.Operation{ Name: opDeleteClusterSubnetGroup, @@ -1863,7 +1863,7 @@ func (c *Redshift) DeleteClusterSubnetGroupRequest(input *DeleteClusterSubnetGro // The cluster subnet group name does not refer to an existing cluster subnet // group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSubnetGroup func (c *Redshift) DeleteClusterSubnetGroup(input *DeleteClusterSubnetGroupInput) (*DeleteClusterSubnetGroupOutput, error) { req, out := c.DeleteClusterSubnetGroupRequest(input) return out, req.Send() @@ -1910,7 +1910,7 @@ const opDeleteEventSubscription = "DeleteEventSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEventSubscription func (c *Redshift) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput) { op := &request.Operation{ Name: opDeleteEventSubscription, @@ -1949,7 +1949,7 @@ func (c *Redshift) DeleteEventSubscriptionRequest(input *DeleteEventSubscription // The subscription request is invalid because it is a duplicate request. This // subscription request is already in progress. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEventSubscription func (c *Redshift) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error) { req, out := c.DeleteEventSubscriptionRequest(input) return out, req.Send() @@ -1996,7 +1996,7 @@ const opDeleteHsmClientCertificate = "DeleteHsmClientCertificate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmClientCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmClientCertificate func (c *Redshift) DeleteHsmClientCertificateRequest(input *DeleteHsmClientCertificateInput) (req *request.Request, output *DeleteHsmClientCertificateOutput) { op := &request.Operation{ Name: opDeleteHsmClientCertificate, @@ -2034,7 +2034,7 @@ func (c *Redshift) DeleteHsmClientCertificateRequest(input *DeleteHsmClientCerti // * ErrCodeHsmClientCertificateNotFoundFault "HsmClientCertificateNotFoundFault" // There is no Amazon Redshift HSM client certificate with the specified identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmClientCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmClientCertificate func (c *Redshift) DeleteHsmClientCertificate(input *DeleteHsmClientCertificateInput) (*DeleteHsmClientCertificateOutput, error) { req, out := c.DeleteHsmClientCertificateRequest(input) return out, req.Send() @@ -2081,7 +2081,7 @@ const opDeleteHsmConfiguration = "DeleteHsmConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmConfiguration func (c *Redshift) DeleteHsmConfigurationRequest(input *DeleteHsmConfigurationInput) (req *request.Request, output *DeleteHsmConfigurationOutput) { op := &request.Operation{ Name: opDeleteHsmConfiguration, @@ -2119,7 +2119,7 @@ func (c *Redshift) DeleteHsmConfigurationRequest(input *DeleteHsmConfigurationIn // * ErrCodeHsmConfigurationNotFoundFault "HsmConfigurationNotFoundFault" // There is no Amazon Redshift HSM configuration with the specified identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmConfiguration func (c *Redshift) DeleteHsmConfiguration(input *DeleteHsmConfigurationInput) (*DeleteHsmConfigurationOutput, error) { req, out := c.DeleteHsmConfigurationRequest(input) return out, req.Send() @@ -2166,7 +2166,7 @@ const opDeleteSnapshotCopyGrant = "DeleteSnapshotCopyGrant" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteSnapshotCopyGrant +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteSnapshotCopyGrant func (c *Redshift) DeleteSnapshotCopyGrantRequest(input *DeleteSnapshotCopyGrantInput) (req *request.Request, output *DeleteSnapshotCopyGrantOutput) { op := &request.Operation{ Name: opDeleteSnapshotCopyGrant, @@ -2205,7 +2205,7 @@ func (c *Redshift) DeleteSnapshotCopyGrantRequest(input *DeleteSnapshotCopyGrant // The specified snapshot copy grant can't be found. Make sure that the name // is typed correctly and that the grant exists in the destination region. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteSnapshotCopyGrant +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteSnapshotCopyGrant func (c *Redshift) DeleteSnapshotCopyGrant(input *DeleteSnapshotCopyGrantInput) (*DeleteSnapshotCopyGrantOutput, error) { req, out := c.DeleteSnapshotCopyGrantRequest(input) return out, req.Send() @@ -2252,7 +2252,7 @@ const opDeleteTags = "DeleteTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteTags func (c *Redshift) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { op := &request.Operation{ Name: opDeleteTags, @@ -2290,7 +2290,7 @@ func (c *Redshift) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Reque // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteTags func (c *Redshift) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { req, out := c.DeleteTagsRequest(input) return out, req.Send() @@ -2337,7 +2337,7 @@ const opDescribeClusterParameterGroups = "DescribeClusterParameterGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParameterGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParameterGroups func (c *Redshift) DescribeClusterParameterGroupsRequest(input *DescribeClusterParameterGroupsInput) (req *request.Request, output *DescribeClusterParameterGroupsOutput) { op := &request.Operation{ Name: opDescribeClusterParameterGroups, @@ -2396,7 +2396,7 @@ func (c *Redshift) DescribeClusterParameterGroupsRequest(input *DescribeClusterP // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParameterGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParameterGroups func (c *Redshift) DescribeClusterParameterGroups(input *DescribeClusterParameterGroupsInput) (*DescribeClusterParameterGroupsOutput, error) { req, out := c.DescribeClusterParameterGroupsRequest(input) return out, req.Send() @@ -2493,7 +2493,7 @@ const opDescribeClusterParameters = "DescribeClusterParameters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParameters func (c *Redshift) DescribeClusterParametersRequest(input *DescribeClusterParametersInput) (req *request.Request, output *DescribeClusterParametersOutput) { op := &request.Operation{ Name: opDescribeClusterParameters, @@ -2542,7 +2542,7 @@ func (c *Redshift) DescribeClusterParametersRequest(input *DescribeClusterParame // * ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" // The parameter group name does not refer to an existing parameter group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParameters func (c *Redshift) DescribeClusterParameters(input *DescribeClusterParametersInput) (*DescribeClusterParametersOutput, error) { req, out := c.DescribeClusterParametersRequest(input) return out, req.Send() @@ -2639,7 +2639,7 @@ const opDescribeClusterSecurityGroups = "DescribeClusterSecurityGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSecurityGroups func (c *Redshift) DescribeClusterSecurityGroupsRequest(input *DescribeClusterSecurityGroupsInput) (req *request.Request, output *DescribeClusterSecurityGroupsOutput) { op := &request.Operation{ Name: opDescribeClusterSecurityGroups, @@ -2697,7 +2697,7 @@ func (c *Redshift) DescribeClusterSecurityGroupsRequest(input *DescribeClusterSe // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSecurityGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSecurityGroups func (c *Redshift) DescribeClusterSecurityGroups(input *DescribeClusterSecurityGroupsInput) (*DescribeClusterSecurityGroupsOutput, error) { req, out := c.DescribeClusterSecurityGroupsRequest(input) return out, req.Send() @@ -2794,7 +2794,7 @@ const opDescribeClusterSnapshots = "DescribeClusterSnapshots" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSnapshots +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSnapshots func (c *Redshift) DescribeClusterSnapshotsRequest(input *DescribeClusterSnapshotsInput) (req *request.Request, output *DescribeClusterSnapshotsOutput) { op := &request.Operation{ Name: opDescribeClusterSnapshots, @@ -2849,7 +2849,7 @@ func (c *Redshift) DescribeClusterSnapshotsRequest(input *DescribeClusterSnapsho // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSnapshots +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSnapshots func (c *Redshift) DescribeClusterSnapshots(input *DescribeClusterSnapshotsInput) (*DescribeClusterSnapshotsOutput, error) { req, out := c.DescribeClusterSnapshotsRequest(input) return out, req.Send() @@ -2946,7 +2946,7 @@ const opDescribeClusterSubnetGroups = "DescribeClusterSubnetGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSubnetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSubnetGroups func (c *Redshift) DescribeClusterSubnetGroupsRequest(input *DescribeClusterSubnetGroupsInput) (req *request.Request, output *DescribeClusterSubnetGroupsOutput) { op := &request.Operation{ Name: opDescribeClusterSubnetGroups, @@ -3000,7 +3000,7 @@ func (c *Redshift) DescribeClusterSubnetGroupsRequest(input *DescribeClusterSubn // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSubnetGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSubnetGroups func (c *Redshift) DescribeClusterSubnetGroups(input *DescribeClusterSubnetGroupsInput) (*DescribeClusterSubnetGroupsOutput, error) { req, out := c.DescribeClusterSubnetGroupsRequest(input) return out, req.Send() @@ -3097,7 +3097,7 @@ const opDescribeClusterVersions = "DescribeClusterVersions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterVersions func (c *Redshift) DescribeClusterVersionsRequest(input *DescribeClusterVersionsInput) (req *request.Request, output *DescribeClusterVersionsOutput) { op := &request.Operation{ Name: opDescribeClusterVersions, @@ -3134,7 +3134,7 @@ func (c *Redshift) DescribeClusterVersionsRequest(input *DescribeClusterVersions // // See the AWS API reference guide for Amazon Redshift's // API operation DescribeClusterVersions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterVersions func (c *Redshift) DescribeClusterVersions(input *DescribeClusterVersionsInput) (*DescribeClusterVersionsOutput, error) { req, out := c.DescribeClusterVersionsRequest(input) return out, req.Send() @@ -3231,7 +3231,7 @@ const opDescribeClusters = "DescribeClusters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusters +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusters func (c *Redshift) DescribeClustersRequest(input *DescribeClustersInput) (req *request.Request, output *DescribeClustersOutput) { op := &request.Operation{ Name: opDescribeClusters, @@ -3285,7 +3285,7 @@ func (c *Redshift) DescribeClustersRequest(input *DescribeClustersInput) (req *r // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusters +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusters func (c *Redshift) DescribeClusters(input *DescribeClustersInput) (*DescribeClustersOutput, error) { req, out := c.DescribeClustersRequest(input) return out, req.Send() @@ -3382,7 +3382,7 @@ const opDescribeDefaultClusterParameters = "DescribeDefaultClusterParameters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDefaultClusterParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDefaultClusterParameters func (c *Redshift) DescribeDefaultClusterParametersRequest(input *DescribeDefaultClusterParametersInput) (req *request.Request, output *DescribeDefaultClusterParametersOutput) { op := &request.Operation{ Name: opDescribeDefaultClusterParameters, @@ -3419,7 +3419,7 @@ func (c *Redshift) DescribeDefaultClusterParametersRequest(input *DescribeDefaul // // See the AWS API reference guide for Amazon Redshift's // API operation DescribeDefaultClusterParameters for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDefaultClusterParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDefaultClusterParameters func (c *Redshift) DescribeDefaultClusterParameters(input *DescribeDefaultClusterParametersInput) (*DescribeDefaultClusterParametersOutput, error) { req, out := c.DescribeDefaultClusterParametersRequest(input) return out, req.Send() @@ -3516,7 +3516,7 @@ const opDescribeEventCategories = "DescribeEventCategories" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventCategories +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventCategories func (c *Redshift) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput) { op := &request.Operation{ Name: opDescribeEventCategories, @@ -3545,7 +3545,7 @@ func (c *Redshift) DescribeEventCategoriesRequest(input *DescribeEventCategories // // See the AWS API reference guide for Amazon Redshift's // API operation DescribeEventCategories for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventCategories +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventCategories func (c *Redshift) DescribeEventCategories(input *DescribeEventCategoriesInput) (*DescribeEventCategoriesOutput, error) { req, out := c.DescribeEventCategoriesRequest(input) return out, req.Send() @@ -3592,7 +3592,7 @@ const opDescribeEventSubscriptions = "DescribeEventSubscriptions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventSubscriptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventSubscriptions func (c *Redshift) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput) { op := &request.Operation{ Name: opDescribeEventSubscriptions, @@ -3646,7 +3646,7 @@ func (c *Redshift) DescribeEventSubscriptionsRequest(input *DescribeEventSubscri // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventSubscriptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventSubscriptions func (c *Redshift) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error) { req, out := c.DescribeEventSubscriptionsRequest(input) return out, req.Send() @@ -3743,7 +3743,7 @@ const opDescribeEvents = "DescribeEvents" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEvents func (c *Redshift) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { op := &request.Operation{ Name: opDescribeEvents, @@ -3779,7 +3779,7 @@ func (c *Redshift) DescribeEventsRequest(input *DescribeEventsInput) (req *reque // // See the AWS API reference guide for Amazon Redshift's // API operation DescribeEvents for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEvents +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEvents func (c *Redshift) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) { req, out := c.DescribeEventsRequest(input) return out, req.Send() @@ -3876,7 +3876,7 @@ const opDescribeHsmClientCertificates = "DescribeHsmClientCertificates" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmClientCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmClientCertificates func (c *Redshift) DescribeHsmClientCertificatesRequest(input *DescribeHsmClientCertificatesInput) (req *request.Request, output *DescribeHsmClientCertificatesOutput) { op := &request.Operation{ Name: opDescribeHsmClientCertificates, @@ -3929,7 +3929,7 @@ func (c *Redshift) DescribeHsmClientCertificatesRequest(input *DescribeHsmClient // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmClientCertificates +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmClientCertificates func (c *Redshift) DescribeHsmClientCertificates(input *DescribeHsmClientCertificatesInput) (*DescribeHsmClientCertificatesOutput, error) { req, out := c.DescribeHsmClientCertificatesRequest(input) return out, req.Send() @@ -4026,7 +4026,7 @@ const opDescribeHsmConfigurations = "DescribeHsmConfigurations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmConfigurations +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmConfigurations func (c *Redshift) DescribeHsmConfigurationsRequest(input *DescribeHsmConfigurationsInput) (req *request.Request, output *DescribeHsmConfigurationsOutput) { op := &request.Operation{ Name: opDescribeHsmConfigurations, @@ -4079,7 +4079,7 @@ func (c *Redshift) DescribeHsmConfigurationsRequest(input *DescribeHsmConfigurat // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmConfigurations +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmConfigurations func (c *Redshift) DescribeHsmConfigurations(input *DescribeHsmConfigurationsInput) (*DescribeHsmConfigurationsOutput, error) { req, out := c.DescribeHsmConfigurationsRequest(input) return out, req.Send() @@ -4176,7 +4176,7 @@ const opDescribeLoggingStatus = "DescribeLoggingStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeLoggingStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeLoggingStatus func (c *Redshift) DescribeLoggingStatusRequest(input *DescribeLoggingStatusInput) (req *request.Request, output *LoggingStatus) { op := &request.Operation{ Name: opDescribeLoggingStatus, @@ -4209,7 +4209,7 @@ func (c *Redshift) DescribeLoggingStatusRequest(input *DescribeLoggingStatusInpu // * ErrCodeClusterNotFoundFault "ClusterNotFound" // The ClusterIdentifier parameter does not refer to an existing cluster. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeLoggingStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeLoggingStatus func (c *Redshift) DescribeLoggingStatus(input *DescribeLoggingStatusInput) (*LoggingStatus, error) { req, out := c.DescribeLoggingStatusRequest(input) return out, req.Send() @@ -4256,7 +4256,7 @@ const opDescribeOrderableClusterOptions = "DescribeOrderableClusterOptions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeOrderableClusterOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeOrderableClusterOptions func (c *Redshift) DescribeOrderableClusterOptionsRequest(input *DescribeOrderableClusterOptionsInput) (req *request.Request, output *DescribeOrderableClusterOptionsOutput) { op := &request.Operation{ Name: opDescribeOrderableClusterOptions, @@ -4297,7 +4297,7 @@ func (c *Redshift) DescribeOrderableClusterOptionsRequest(input *DescribeOrderab // // See the AWS API reference guide for Amazon Redshift's // API operation DescribeOrderableClusterOptions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeOrderableClusterOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeOrderableClusterOptions func (c *Redshift) DescribeOrderableClusterOptions(input *DescribeOrderableClusterOptionsInput) (*DescribeOrderableClusterOptionsOutput, error) { req, out := c.DescribeOrderableClusterOptionsRequest(input) return out, req.Send() @@ -4394,7 +4394,7 @@ const opDescribeReservedNodeOfferings = "DescribeReservedNodeOfferings" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodeOfferings +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodeOfferings func (c *Redshift) DescribeReservedNodeOfferingsRequest(input *DescribeReservedNodeOfferingsInput) (req *request.Request, output *DescribeReservedNodeOfferingsOutput) { op := &request.Operation{ Name: opDescribeReservedNodeOfferings, @@ -4448,7 +4448,7 @@ func (c *Redshift) DescribeReservedNodeOfferingsRequest(input *DescribeReservedN // Your request cannot be completed because a dependent internal service is // temporarily unavailable. Wait 30 to 60 seconds and try again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodeOfferings +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodeOfferings func (c *Redshift) DescribeReservedNodeOfferings(input *DescribeReservedNodeOfferingsInput) (*DescribeReservedNodeOfferingsOutput, error) { req, out := c.DescribeReservedNodeOfferingsRequest(input) return out, req.Send() @@ -4545,7 +4545,7 @@ const opDescribeReservedNodes = "DescribeReservedNodes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodes +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodes func (c *Redshift) DescribeReservedNodesRequest(input *DescribeReservedNodesInput) (req *request.Request, output *DescribeReservedNodesOutput) { op := &request.Operation{ Name: opDescribeReservedNodes, @@ -4587,7 +4587,7 @@ func (c *Redshift) DescribeReservedNodesRequest(input *DescribeReservedNodesInpu // Your request cannot be completed because a dependent internal service is // temporarily unavailable. Wait 30 to 60 seconds and try again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodes +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodes func (c *Redshift) DescribeReservedNodes(input *DescribeReservedNodesInput) (*DescribeReservedNodesOutput, error) { req, out := c.DescribeReservedNodesRequest(input) return out, req.Send() @@ -4684,7 +4684,7 @@ const opDescribeResize = "DescribeResize" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeResize +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeResize func (c *Redshift) DescribeResizeRequest(input *DescribeResizeInput) (req *request.Request, output *DescribeResizeOutput) { op := &request.Operation{ Name: opDescribeResize, @@ -4725,7 +4725,7 @@ func (c *Redshift) DescribeResizeRequest(input *DescribeResizeInput) (req *reque // * ErrCodeResizeNotFoundFault "ResizeNotFound" // A resize operation for the specified cluster is not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeResize +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeResize func (c *Redshift) DescribeResize(input *DescribeResizeInput) (*DescribeResizeOutput, error) { req, out := c.DescribeResizeRequest(input) return out, req.Send() @@ -4772,7 +4772,7 @@ const opDescribeSnapshotCopyGrants = "DescribeSnapshotCopyGrants" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeSnapshotCopyGrants +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeSnapshotCopyGrants func (c *Redshift) DescribeSnapshotCopyGrantsRequest(input *DescribeSnapshotCopyGrantsInput) (req *request.Request, output *DescribeSnapshotCopyGrantsOutput) { op := &request.Operation{ Name: opDescribeSnapshotCopyGrants, @@ -4813,7 +4813,7 @@ func (c *Redshift) DescribeSnapshotCopyGrantsRequest(input *DescribeSnapshotCopy // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeSnapshotCopyGrants +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeSnapshotCopyGrants func (c *Redshift) DescribeSnapshotCopyGrants(input *DescribeSnapshotCopyGrantsInput) (*DescribeSnapshotCopyGrantsOutput, error) { req, out := c.DescribeSnapshotCopyGrantsRequest(input) return out, req.Send() @@ -4860,7 +4860,7 @@ const opDescribeTableRestoreStatus = "DescribeTableRestoreStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTableRestoreStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTableRestoreStatus func (c *Redshift) DescribeTableRestoreStatusRequest(input *DescribeTableRestoreStatusInput) (req *request.Request, output *DescribeTableRestoreStatusOutput) { op := &request.Operation{ Name: opDescribeTableRestoreStatus, @@ -4899,7 +4899,7 @@ func (c *Redshift) DescribeTableRestoreStatusRequest(input *DescribeTableRestore // * ErrCodeClusterNotFoundFault "ClusterNotFound" // The ClusterIdentifier parameter does not refer to an existing cluster. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTableRestoreStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTableRestoreStatus func (c *Redshift) DescribeTableRestoreStatus(input *DescribeTableRestoreStatusInput) (*DescribeTableRestoreStatusOutput, error) { req, out := c.DescribeTableRestoreStatusRequest(input) return out, req.Send() @@ -4946,7 +4946,7 @@ const opDescribeTags = "DescribeTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTags func (c *Redshift) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { op := &request.Operation{ Name: opDescribeTags, @@ -5003,7 +5003,7 @@ func (c *Redshift) DescribeTagsRequest(input *DescribeTagsInput) (req *request.R // * ErrCodeInvalidTagFault "InvalidTagFault" // The tag is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTags func (c *Redshift) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { req, out := c.DescribeTagsRequest(input) return out, req.Send() @@ -5050,7 +5050,7 @@ const opDisableLogging = "DisableLogging" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableLogging +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableLogging func (c *Redshift) DisableLoggingRequest(input *DisableLoggingInput) (req *request.Request, output *LoggingStatus) { op := &request.Operation{ Name: opDisableLogging, @@ -5083,7 +5083,7 @@ func (c *Redshift) DisableLoggingRequest(input *DisableLoggingInput) (req *reque // * ErrCodeClusterNotFoundFault "ClusterNotFound" // The ClusterIdentifier parameter does not refer to an existing cluster. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableLogging +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableLogging func (c *Redshift) DisableLogging(input *DisableLoggingInput) (*LoggingStatus, error) { req, out := c.DisableLoggingRequest(input) return out, req.Send() @@ -5130,7 +5130,7 @@ const opDisableSnapshotCopy = "DisableSnapshotCopy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopy +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopy func (c *Redshift) DisableSnapshotCopyRequest(input *DisableSnapshotCopyInput) (req *request.Request, output *DisableSnapshotCopyOutput) { op := &request.Operation{ Name: opDisableSnapshotCopy, @@ -5176,7 +5176,7 @@ func (c *Redshift) DisableSnapshotCopyRequest(input *DisableSnapshotCopyInput) ( // * ErrCodeUnauthorizedOperation "UnauthorizedOperation" // Your account is not authorized to perform the requested operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopy +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopy func (c *Redshift) DisableSnapshotCopy(input *DisableSnapshotCopyInput) (*DisableSnapshotCopyOutput, error) { req, out := c.DisableSnapshotCopyRequest(input) return out, req.Send() @@ -5223,7 +5223,7 @@ const opEnableLogging = "EnableLogging" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLogging +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLogging func (c *Redshift) EnableLoggingRequest(input *EnableLoggingInput) (req *request.Request, output *LoggingStatus) { op := &request.Operation{ Name: opEnableLogging, @@ -5272,7 +5272,7 @@ func (c *Redshift) EnableLoggingRequest(input *EnableLoggingInput) (req *request // to Bucket Restrictions and Limitations (http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html) // in the Amazon Simple Storage Service (S3) Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLogging +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLogging func (c *Redshift) EnableLogging(input *EnableLoggingInput) (*LoggingStatus, error) { req, out := c.EnableLoggingRequest(input) return out, req.Send() @@ -5319,7 +5319,7 @@ const opEnableSnapshotCopy = "EnableSnapshotCopy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopy +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopy func (c *Redshift) EnableSnapshotCopyRequest(input *EnableSnapshotCopyInput) (req *request.Request, output *EnableSnapshotCopyOutput) { op := &request.Operation{ Name: opEnableSnapshotCopy, @@ -5381,7 +5381,7 @@ func (c *Redshift) EnableSnapshotCopyRequest(input *EnableSnapshotCopyInput) (re // The request cannot be completed because a dependent service is throttling // requests made by Amazon Redshift on your behalf. Wait and retry the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopy +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopy func (c *Redshift) EnableSnapshotCopy(input *EnableSnapshotCopyInput) (*EnableSnapshotCopyOutput, error) { req, out := c.EnableSnapshotCopyRequest(input) return out, req.Send() @@ -5428,7 +5428,7 @@ const opGetClusterCredentials = "GetClusterCredentials" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetClusterCredentials +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetClusterCredentials func (c *Redshift) GetClusterCredentialsRequest(input *GetClusterCredentialsInput) (req *request.Request, output *GetClusterCredentialsOutput) { op := &request.Operation{ Name: opGetClusterCredentials, @@ -5486,7 +5486,7 @@ func (c *Redshift) GetClusterCredentialsRequest(input *GetClusterCredentialsInpu // * ErrCodeUnsupportedOperationFault "UnsupportedOperation" // The requested operation isn't supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetClusterCredentials +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetClusterCredentials func (c *Redshift) GetClusterCredentials(input *GetClusterCredentialsInput) (*GetClusterCredentialsOutput, error) { req, out := c.GetClusterCredentialsRequest(input) return out, req.Send() @@ -5533,7 +5533,7 @@ const opModifyCluster = "ModifyCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyCluster func (c *Redshift) ModifyClusterRequest(input *ModifyClusterInput) (req *request.Request, output *ModifyClusterOutput) { op := &request.Operation{ Name: opModifyCluster, @@ -5625,7 +5625,7 @@ func (c *Redshift) ModifyClusterRequest(input *ModifyClusterInput) (req *request // * ErrCodeInvalidElasticIpFault "InvalidElasticIpFault" // The Elastic IP (EIP) is invalid or cannot be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyCluster func (c *Redshift) ModifyCluster(input *ModifyClusterInput) (*ModifyClusterOutput, error) { req, out := c.ModifyClusterRequest(input) return out, req.Send() @@ -5672,7 +5672,7 @@ const opModifyClusterIamRoles = "ModifyClusterIamRoles" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRoles +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRoles func (c *Redshift) ModifyClusterIamRolesRequest(input *ModifyClusterIamRolesInput) (req *request.Request, output *ModifyClusterIamRolesOutput) { op := &request.Operation{ Name: opModifyClusterIamRoles, @@ -5710,7 +5710,7 @@ func (c *Redshift) ModifyClusterIamRolesRequest(input *ModifyClusterIamRolesInpu // * ErrCodeClusterNotFoundFault "ClusterNotFound" // The ClusterIdentifier parameter does not refer to an existing cluster. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRoles +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRoles func (c *Redshift) ModifyClusterIamRoles(input *ModifyClusterIamRolesInput) (*ModifyClusterIamRolesOutput, error) { req, out := c.ModifyClusterIamRolesRequest(input) return out, req.Send() @@ -5757,7 +5757,7 @@ const opModifyClusterParameterGroup = "ModifyClusterParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterParameterGroup func (c *Redshift) ModifyClusterParameterGroupRequest(input *ModifyClusterParameterGroupInput) (req *request.Request, output *ClusterParameterGroupNameMessage) { op := &request.Operation{ Name: opModifyClusterParameterGroup, @@ -5798,7 +5798,7 @@ func (c *Redshift) ModifyClusterParameterGroupRequest(input *ModifyClusterParame // is in progress that involves the parameter group. Wait a few moments and // try the operation again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterParameterGroup func (c *Redshift) ModifyClusterParameterGroup(input *ModifyClusterParameterGroupInput) (*ClusterParameterGroupNameMessage, error) { req, out := c.ModifyClusterParameterGroupRequest(input) return out, req.Send() @@ -5845,7 +5845,7 @@ const opModifyClusterSubnetGroup = "ModifyClusterSubnetGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSubnetGroup func (c *Redshift) ModifyClusterSubnetGroupRequest(input *ModifyClusterSubnetGroupInput) (req *request.Request, output *ModifyClusterSubnetGroupOutput) { op := &request.Operation{ Name: opModifyClusterSubnetGroup, @@ -5900,7 +5900,7 @@ func (c *Redshift) ModifyClusterSubnetGroupRequest(input *ModifyClusterSubnetGro // The request cannot be completed because a dependent service is throttling // requests made by Amazon Redshift on your behalf. Wait and retry the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSubnetGroup func (c *Redshift) ModifyClusterSubnetGroup(input *ModifyClusterSubnetGroupInput) (*ModifyClusterSubnetGroupOutput, error) { req, out := c.ModifyClusterSubnetGroupRequest(input) return out, req.Send() @@ -5947,7 +5947,7 @@ const opModifyEventSubscription = "ModifyEventSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEventSubscription func (c *Redshift) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput) { op := &request.Operation{ Name: opModifyEventSubscription, @@ -6011,7 +6011,7 @@ func (c *Redshift) ModifyEventSubscriptionRequest(input *ModifyEventSubscription // The subscription request is invalid because it is a duplicate request. This // subscription request is already in progress. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEventSubscription func (c *Redshift) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error) { req, out := c.ModifyEventSubscriptionRequest(input) return out, req.Send() @@ -6058,7 +6058,7 @@ const opModifySnapshotCopyRetentionPeriod = "ModifySnapshotCopyRetentionPeriod" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriod +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriod func (c *Redshift) ModifySnapshotCopyRetentionPeriodRequest(input *ModifySnapshotCopyRetentionPeriodInput) (req *request.Request, output *ModifySnapshotCopyRetentionPeriodOutput) { op := &request.Operation{ Name: opModifySnapshotCopyRetentionPeriod, @@ -6100,7 +6100,7 @@ func (c *Redshift) ModifySnapshotCopyRetentionPeriodRequest(input *ModifySnapsho // * ErrCodeInvalidClusterStateFault "InvalidClusterState" // The specified cluster is not in the available state. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriod +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriod func (c *Redshift) ModifySnapshotCopyRetentionPeriod(input *ModifySnapshotCopyRetentionPeriodInput) (*ModifySnapshotCopyRetentionPeriodOutput, error) { req, out := c.ModifySnapshotCopyRetentionPeriodRequest(input) return out, req.Send() @@ -6147,7 +6147,7 @@ const opPurchaseReservedNodeOffering = "PurchaseReservedNodeOffering" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PurchaseReservedNodeOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PurchaseReservedNodeOffering func (c *Redshift) PurchaseReservedNodeOfferingRequest(input *PurchaseReservedNodeOfferingInput) (req *request.Request, output *PurchaseReservedNodeOfferingOutput) { op := &request.Operation{ Name: opPurchaseReservedNodeOffering, @@ -6198,7 +6198,7 @@ func (c *Redshift) PurchaseReservedNodeOfferingRequest(input *PurchaseReservedNo // * ErrCodeUnsupportedOperationFault "UnsupportedOperation" // The requested operation isn't supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PurchaseReservedNodeOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PurchaseReservedNodeOffering func (c *Redshift) PurchaseReservedNodeOffering(input *PurchaseReservedNodeOfferingInput) (*PurchaseReservedNodeOfferingOutput, error) { req, out := c.PurchaseReservedNodeOfferingRequest(input) return out, req.Send() @@ -6245,7 +6245,7 @@ const opRebootCluster = "RebootCluster" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootCluster func (c *Redshift) RebootClusterRequest(input *RebootClusterInput) (req *request.Request, output *RebootClusterOutput) { op := &request.Operation{ Name: opRebootCluster, @@ -6286,7 +6286,7 @@ func (c *Redshift) RebootClusterRequest(input *RebootClusterInput) (req *request // * ErrCodeClusterNotFoundFault "ClusterNotFound" // The ClusterIdentifier parameter does not refer to an existing cluster. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootCluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootCluster func (c *Redshift) RebootCluster(input *RebootClusterInput) (*RebootClusterOutput, error) { req, out := c.RebootClusterRequest(input) return out, req.Send() @@ -6333,7 +6333,7 @@ const opResetClusterParameterGroup = "ResetClusterParameterGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResetClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResetClusterParameterGroup func (c *Redshift) ResetClusterParameterGroupRequest(input *ResetClusterParameterGroupInput) (req *request.Request, output *ClusterParameterGroupNameMessage) { op := &request.Operation{ Name: opResetClusterParameterGroup, @@ -6373,7 +6373,7 @@ func (c *Redshift) ResetClusterParameterGroupRequest(input *ResetClusterParamete // * ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" // The parameter group name does not refer to an existing parameter group. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResetClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResetClusterParameterGroup func (c *Redshift) ResetClusterParameterGroup(input *ResetClusterParameterGroupInput) (*ClusterParameterGroupNameMessage, error) { req, out := c.ResetClusterParameterGroupRequest(input) return out, req.Send() @@ -6420,7 +6420,7 @@ const opRestoreFromClusterSnapshot = "RestoreFromClusterSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshot func (c *Redshift) RestoreFromClusterSnapshotRequest(input *RestoreFromClusterSnapshotInput) (req *request.Request, output *RestoreFromClusterSnapshotOutput) { op := &request.Operation{ Name: opRestoreFromClusterSnapshot, @@ -6538,7 +6538,7 @@ func (c *Redshift) RestoreFromClusterSnapshotRequest(input *RestoreFromClusterSn // The request cannot be completed because a dependent service is throttling // requests made by Amazon Redshift on your behalf. Wait and retry the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshot func (c *Redshift) RestoreFromClusterSnapshot(input *RestoreFromClusterSnapshotInput) (*RestoreFromClusterSnapshotOutput, error) { req, out := c.RestoreFromClusterSnapshotRequest(input) return out, req.Send() @@ -6585,7 +6585,7 @@ const opRestoreTableFromClusterSnapshot = "RestoreTableFromClusterSnapshot" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreTableFromClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreTableFromClusterSnapshot func (c *Redshift) RestoreTableFromClusterSnapshotRequest(input *RestoreTableFromClusterSnapshotInput) (req *request.Request, output *RestoreTableFromClusterSnapshotOutput) { op := &request.Operation{ Name: opRestoreTableFromClusterSnapshot, @@ -6650,7 +6650,7 @@ func (c *Redshift) RestoreTableFromClusterSnapshotRequest(input *RestoreTableFro // * ErrCodeUnsupportedOperationFault "UnsupportedOperation" // The requested operation isn't supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreTableFromClusterSnapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreTableFromClusterSnapshot func (c *Redshift) RestoreTableFromClusterSnapshot(input *RestoreTableFromClusterSnapshotInput) (*RestoreTableFromClusterSnapshotOutput, error) { req, out := c.RestoreTableFromClusterSnapshotRequest(input) return out, req.Send() @@ -6697,7 +6697,7 @@ const opRevokeClusterSecurityGroupIngress = "RevokeClusterSecurityGroupIngress" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeClusterSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeClusterSecurityGroupIngress func (c *Redshift) RevokeClusterSecurityGroupIngressRequest(input *RevokeClusterSecurityGroupIngressInput) (req *request.Request, output *RevokeClusterSecurityGroupIngressOutput) { op := &request.Operation{ Name: opRevokeClusterSecurityGroupIngress, @@ -6741,7 +6741,7 @@ func (c *Redshift) RevokeClusterSecurityGroupIngressRequest(input *RevokeCluster // * ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" // The state of the cluster security group is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeClusterSecurityGroupIngress +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeClusterSecurityGroupIngress func (c *Redshift) RevokeClusterSecurityGroupIngress(input *RevokeClusterSecurityGroupIngressInput) (*RevokeClusterSecurityGroupIngressOutput, error) { req, out := c.RevokeClusterSecurityGroupIngressRequest(input) return out, req.Send() @@ -6788,7 +6788,7 @@ const opRevokeSnapshotAccess = "RevokeSnapshotAccess" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccess +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccess func (c *Redshift) RevokeSnapshotAccessRequest(input *RevokeSnapshotAccessInput) (req *request.Request, output *RevokeSnapshotAccessOutput) { op := &request.Operation{ Name: opRevokeSnapshotAccess, @@ -6834,7 +6834,7 @@ func (c *Redshift) RevokeSnapshotAccessRequest(input *RevokeSnapshotAccessInput) // * ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" // The snapshot identifier does not refer to an existing cluster snapshot. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccess +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccess func (c *Redshift) RevokeSnapshotAccess(input *RevokeSnapshotAccessInput) (*RevokeSnapshotAccessOutput, error) { req, out := c.RevokeSnapshotAccessRequest(input) return out, req.Send() @@ -6881,7 +6881,7 @@ const opRotateEncryptionKey = "RotateEncryptionKey" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKey func (c *Redshift) RotateEncryptionKeyRequest(input *RotateEncryptionKeyInput) (req *request.Request, output *RotateEncryptionKeyOutput) { op := &request.Operation{ Name: opRotateEncryptionKey, @@ -6920,7 +6920,7 @@ func (c *Redshift) RotateEncryptionKeyRequest(input *RotateEncryptionKeyInput) ( // The request cannot be completed because a dependent service is throttling // requests made by Amazon Redshift on your behalf. Wait and retry the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKey +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKey func (c *Redshift) RotateEncryptionKey(input *RotateEncryptionKeyInput) (*RotateEncryptionKeyOutput, error) { req, out := c.RotateEncryptionKeyRequest(input) return out, req.Send() @@ -6943,7 +6943,7 @@ func (c *Redshift) RotateEncryptionKeyWithContext(ctx aws.Context, input *Rotate } // Describes an AWS customer account authorized to restore a snapshot. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AccountWithRestoreAccess +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AccountWithRestoreAccess type AccountWithRestoreAccess struct { _ struct{} `type:"structure"` @@ -6977,7 +6977,7 @@ func (s *AccountWithRestoreAccess) SetAccountId(v string) *AccountWithRestoreAcc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeClusterSecurityGroupIngressMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeClusterSecurityGroupIngressMessage type AuthorizeClusterSecurityGroupIngressInput struct { _ struct{} `type:"structure"` @@ -7047,7 +7047,7 @@ func (s *AuthorizeClusterSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeClusterSecurityGroupIngressResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeClusterSecurityGroupIngressResult type AuthorizeClusterSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` @@ -7071,7 +7071,7 @@ func (s *AuthorizeClusterSecurityGroupIngressOutput) SetClusterSecurityGroup(v * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccessMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccessMessage type AuthorizeSnapshotAccessInput struct { _ struct{} `type:"structure"` @@ -7138,7 +7138,7 @@ func (s *AuthorizeSnapshotAccessInput) SetSnapshotIdentifier(v string) *Authoriz return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccessResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccessResult type AuthorizeSnapshotAccessOutput struct { _ struct{} `type:"structure"` @@ -7163,7 +7163,7 @@ func (s *AuthorizeSnapshotAccessOutput) SetSnapshot(v *Snapshot) *AuthorizeSnaps } // Describes an availability zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AvailabilityZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AvailabilityZone type AvailabilityZone struct { _ struct{} `type:"structure"` @@ -7188,7 +7188,7 @@ func (s *AvailabilityZone) SetName(v string) *AvailabilityZone { } // Describes a cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Cluster +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Cluster type Cluster struct { _ struct{} `type:"structure"` @@ -7568,7 +7568,7 @@ func (s *Cluster) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *Cluster // An AWS Identity and Access Management (IAM) role that can be used by the // associated Amazon Redshift cluster to access other AWS services. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterIamRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterIamRole type ClusterIamRole struct { _ struct{} `type:"structure"` @@ -7612,7 +7612,7 @@ func (s *ClusterIamRole) SetIamRoleArn(v string) *ClusterIamRole { } // The identifier of a node in a cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterNode +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterNode type ClusterNode struct { _ struct{} `type:"structure"` @@ -7655,7 +7655,7 @@ func (s *ClusterNode) SetPublicIPAddress(v string) *ClusterNode { } // Describes a parameter group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterGroup type ClusterParameterGroup struct { _ struct{} `type:"structure"` @@ -7707,7 +7707,7 @@ func (s *ClusterParameterGroup) SetTags(v []*Tag) *ClusterParameterGroup { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterGroupNameMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterGroupNameMessage type ClusterParameterGroupNameMessage struct { _ struct{} `type:"structure"` @@ -7743,7 +7743,7 @@ func (s *ClusterParameterGroupNameMessage) SetParameterGroupStatus(v string) *Cl } // Describes the status of a parameter group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterGroupStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterGroupStatus type ClusterParameterGroupStatus struct { _ struct{} `type:"structure"` @@ -7790,7 +7790,7 @@ func (s *ClusterParameterGroupStatus) SetParameterGroupName(v string) *ClusterPa } // Describes the status of a parameter group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterStatus type ClusterParameterStatus struct { _ struct{} `type:"structure"` @@ -7856,7 +7856,7 @@ func (s *ClusterParameterStatus) SetParameterName(v string) *ClusterParameterSta } // Describes a security group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSecurityGroup type ClusterSecurityGroup struct { _ struct{} `type:"structure"` @@ -7919,7 +7919,7 @@ func (s *ClusterSecurityGroup) SetTags(v []*Tag) *ClusterSecurityGroup { } // Describes a cluster security group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSecurityGroupMembership +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSecurityGroupMembership type ClusterSecurityGroupMembership struct { _ struct{} `type:"structure"` @@ -7954,7 +7954,7 @@ func (s *ClusterSecurityGroupMembership) SetStatus(v string) *ClusterSecurityGro // Returns the destination region and retention period that are configured for // cross-region snapshot copy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSnapshotCopyStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSnapshotCopyStatus type ClusterSnapshotCopyStatus struct { _ struct{} `type:"structure"` @@ -7999,7 +7999,7 @@ func (s *ClusterSnapshotCopyStatus) SetSnapshotCopyGrantName(v string) *ClusterS } // Describes a subnet group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSubnetGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSubnetGroup type ClusterSubnetGroup struct { _ struct{} `type:"structure"` @@ -8071,7 +8071,7 @@ func (s *ClusterSubnetGroup) SetVpcId(v string) *ClusterSubnetGroup { // Describes a cluster version, including the parameter group family and description // of the version. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterVersion type ClusterVersion struct { _ struct{} `type:"structure"` @@ -8113,7 +8113,7 @@ func (s *ClusterVersion) SetDescription(v string) *ClusterVersion { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshotMessage type CopyClusterSnapshotInput struct { _ struct{} `type:"structure"` @@ -8198,7 +8198,7 @@ func (s *CopyClusterSnapshotInput) SetTargetSnapshotIdentifier(v string) *CopyCl return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshotResult type CopyClusterSnapshotOutput struct { _ struct{} `type:"structure"` @@ -8222,7 +8222,7 @@ func (s *CopyClusterSnapshotOutput) SetSnapshot(v *Snapshot) *CopyClusterSnapsho return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterMessage type CreateClusterInput struct { _ struct{} `type:"structure"` @@ -8688,7 +8688,7 @@ func (s *CreateClusterInput) SetVpcSecurityGroupIds(v []*string) *CreateClusterI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterResult type CreateClusterOutput struct { _ struct{} `type:"structure"` @@ -8712,7 +8712,7 @@ func (s *CreateClusterOutput) SetCluster(v *Cluster) *CreateClusterOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterParameterGroupMessage type CreateClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -8808,7 +8808,7 @@ func (s *CreateClusterParameterGroupInput) SetTags(v []*Tag) *CreateClusterParam return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterParameterGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterParameterGroupResult type CreateClusterParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -8832,7 +8832,7 @@ func (s *CreateClusterParameterGroupOutput) SetClusterParameterGroup(v *ClusterP return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSecurityGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSecurityGroupMessage type CreateClusterSecurityGroupInput struct { _ struct{} `type:"structure"` @@ -8906,7 +8906,7 @@ func (s *CreateClusterSecurityGroupInput) SetTags(v []*Tag) *CreateClusterSecuri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSecurityGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSecurityGroupResult type CreateClusterSecurityGroupOutput struct { _ struct{} `type:"structure"` @@ -8930,7 +8930,7 @@ func (s *CreateClusterSecurityGroupOutput) SetClusterSecurityGroup(v *ClusterSec return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshotMessage type CreateClusterSnapshotInput struct { _ struct{} `type:"structure"` @@ -9005,7 +9005,7 @@ func (s *CreateClusterSnapshotInput) SetTags(v []*Tag) *CreateClusterSnapshotInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshotResult type CreateClusterSnapshotOutput struct { _ struct{} `type:"structure"` @@ -9029,7 +9029,7 @@ func (s *CreateClusterSnapshotOutput) SetSnapshot(v *Snapshot) *CreateClusterSna return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSubnetGroupMessage type CreateClusterSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -9117,7 +9117,7 @@ func (s *CreateClusterSubnetGroupInput) SetTags(v []*Tag) *CreateClusterSubnetGr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSubnetGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSubnetGroupResult type CreateClusterSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -9141,7 +9141,7 @@ func (s *CreateClusterSubnetGroupOutput) SetClusterSubnetGroup(v *ClusterSubnetG return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEventSubscriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEventSubscriptionMessage type CreateEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -9282,7 +9282,7 @@ func (s *CreateEventSubscriptionInput) SetTags(v []*Tag) *CreateEventSubscriptio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEventSubscriptionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEventSubscriptionResult type CreateEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -9306,7 +9306,7 @@ func (s *CreateEventSubscriptionOutput) SetEventSubscription(v *EventSubscriptio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmClientCertificateMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmClientCertificateMessage type CreateHsmClientCertificateInput struct { _ struct{} `type:"structure"` @@ -9355,7 +9355,7 @@ func (s *CreateHsmClientCertificateInput) SetTags(v []*Tag) *CreateHsmClientCert return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmClientCertificateResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmClientCertificateResult type CreateHsmClientCertificateOutput struct { _ struct{} `type:"structure"` @@ -9381,7 +9381,7 @@ func (s *CreateHsmClientCertificateOutput) SetHsmClientCertificate(v *HsmClientC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmConfigurationMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmConfigurationMessage type CreateHsmConfigurationInput struct { _ struct{} `type:"structure"` @@ -9501,7 +9501,7 @@ func (s *CreateHsmConfigurationInput) SetTags(v []*Tag) *CreateHsmConfigurationI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmConfigurationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmConfigurationResult type CreateHsmConfigurationOutput struct { _ struct{} `type:"structure"` @@ -9528,7 +9528,7 @@ func (s *CreateHsmConfigurationOutput) SetHsmConfiguration(v *HsmConfiguration) } // The result of the CreateSnapshotCopyGrant action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotCopyGrantMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotCopyGrantMessage type CreateSnapshotCopyGrantInput struct { _ struct{} `type:"structure"` @@ -9599,7 +9599,7 @@ func (s *CreateSnapshotCopyGrantInput) SetTags(v []*Tag) *CreateSnapshotCopyGran return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotCopyGrantResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotCopyGrantResult type CreateSnapshotCopyGrantOutput struct { _ struct{} `type:"structure"` @@ -9630,7 +9630,7 @@ func (s *CreateSnapshotCopyGrantOutput) SetSnapshotCopyGrant(v *SnapshotCopyGran } // Contains the output from the CreateTags action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateTagsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateTagsMessage type CreateTagsInput struct { _ struct{} `type:"structure"` @@ -9688,7 +9688,7 @@ func (s *CreateTagsInput) SetTags(v []*Tag) *CreateTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateTagsOutput type CreateTagsOutput struct { _ struct{} `type:"structure"` } @@ -9704,7 +9704,7 @@ func (s CreateTagsOutput) GoString() string { } // Describes the default cluster parameters for a parameter group family. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DefaultClusterParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DefaultClusterParameters type DefaultClusterParameters struct { _ struct{} `type:"structure"` @@ -9751,7 +9751,7 @@ func (s *DefaultClusterParameters) SetParameters(v []*Parameter) *DefaultCluster return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterMessage type DeleteClusterInput struct { _ struct{} `type:"structure"` @@ -9835,7 +9835,7 @@ func (s *DeleteClusterInput) SetSkipFinalClusterSnapshot(v bool) *DeleteClusterI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterResult type DeleteClusterOutput struct { _ struct{} `type:"structure"` @@ -9859,7 +9859,7 @@ func (s *DeleteClusterOutput) SetCluster(v *Cluster) *DeleteClusterOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterParameterGroupMessage type DeleteClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -9904,7 +9904,7 @@ func (s *DeleteClusterParameterGroupInput) SetParameterGroupName(v string) *Dele return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterParameterGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterParameterGroupOutput type DeleteClusterParameterGroupOutput struct { _ struct{} `type:"structure"` } @@ -9919,7 +9919,7 @@ func (s DeleteClusterParameterGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSecurityGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSecurityGroupMessage type DeleteClusterSecurityGroupInput struct { _ struct{} `type:"structure"` @@ -9958,7 +9958,7 @@ func (s *DeleteClusterSecurityGroupInput) SetClusterSecurityGroupName(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSecurityGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSecurityGroupOutput type DeleteClusterSecurityGroupOutput struct { _ struct{} `type:"structure"` } @@ -9973,7 +9973,7 @@ func (s DeleteClusterSecurityGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshotMessage type DeleteClusterSnapshotInput struct { _ struct{} `type:"structure"` @@ -10028,7 +10028,7 @@ func (s *DeleteClusterSnapshotInput) SetSnapshotIdentifier(v string) *DeleteClus return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshotResult type DeleteClusterSnapshotOutput struct { _ struct{} `type:"structure"` @@ -10052,7 +10052,7 @@ func (s *DeleteClusterSnapshotOutput) SetSnapshot(v *Snapshot) *DeleteClusterSna return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSubnetGroupMessage type DeleteClusterSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -10091,7 +10091,7 @@ func (s *DeleteClusterSubnetGroupInput) SetClusterSubnetGroupName(v string) *Del return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSubnetGroupOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSubnetGroupOutput type DeleteClusterSubnetGroupOutput struct { _ struct{} `type:"structure"` } @@ -10106,7 +10106,7 @@ func (s DeleteClusterSubnetGroupOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEventSubscriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEventSubscriptionMessage type DeleteEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -10145,7 +10145,7 @@ func (s *DeleteEventSubscriptionInput) SetSubscriptionName(v string) *DeleteEven return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEventSubscriptionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEventSubscriptionOutput type DeleteEventSubscriptionOutput struct { _ struct{} `type:"structure"` } @@ -10160,7 +10160,7 @@ func (s DeleteEventSubscriptionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmClientCertificateMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmClientCertificateMessage type DeleteHsmClientCertificateInput struct { _ struct{} `type:"structure"` @@ -10199,7 +10199,7 @@ func (s *DeleteHsmClientCertificateInput) SetHsmClientCertificateIdentifier(v st return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmClientCertificateOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmClientCertificateOutput type DeleteHsmClientCertificateOutput struct { _ struct{} `type:"structure"` } @@ -10214,7 +10214,7 @@ func (s DeleteHsmClientCertificateOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmConfigurationMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmConfigurationMessage type DeleteHsmConfigurationInput struct { _ struct{} `type:"structure"` @@ -10253,7 +10253,7 @@ func (s *DeleteHsmConfigurationInput) SetHsmConfigurationIdentifier(v string) *D return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmConfigurationOutput type DeleteHsmConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -10269,7 +10269,7 @@ func (s DeleteHsmConfigurationOutput) GoString() string { } // The result of the DeleteSnapshotCopyGrant action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteSnapshotCopyGrantMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteSnapshotCopyGrantMessage type DeleteSnapshotCopyGrantInput struct { _ struct{} `type:"structure"` @@ -10308,7 +10308,7 @@ func (s *DeleteSnapshotCopyGrantInput) SetSnapshotCopyGrantName(v string) *Delet return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteSnapshotCopyGrantOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteSnapshotCopyGrantOutput type DeleteSnapshotCopyGrantOutput struct { _ struct{} `type:"structure"` } @@ -10324,7 +10324,7 @@ func (s DeleteSnapshotCopyGrantOutput) GoString() string { } // Contains the output from the DeleteTags action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteTagsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteTagsMessage type DeleteTagsInput struct { _ struct{} `type:"structure"` @@ -10378,7 +10378,7 @@ func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteTagsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteTagsOutput type DeleteTagsOutput struct { _ struct{} `type:"structure"` } @@ -10393,7 +10393,7 @@ func (s DeleteTagsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParameterGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParameterGroupsMessage type DescribeClusterParameterGroupsInput struct { _ struct{} `type:"structure"` @@ -10477,7 +10477,7 @@ func (s *DescribeClusterParameterGroupsInput) SetTagValues(v []*string) *Describ } // Contains the output from the DescribeClusterParameterGroups action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterGroupsMessage type DescribeClusterParameterGroupsOutput struct { _ struct{} `type:"structure"` @@ -10515,7 +10515,7 @@ func (s *DescribeClusterParameterGroupsOutput) SetParameterGroups(v []*ClusterPa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParametersMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParametersMessage type DescribeClusterParametersInput struct { _ struct{} `type:"structure"` @@ -10600,7 +10600,7 @@ func (s *DescribeClusterParametersInput) SetSource(v string) *DescribeClusterPar } // Contains the output from the DescribeClusterParameters action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterGroupDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterGroupDetails type DescribeClusterParametersOutput struct { _ struct{} `type:"structure"` @@ -10638,7 +10638,7 @@ func (s *DescribeClusterParametersOutput) SetParameters(v []*Parameter) *Describ return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSecurityGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSecurityGroupsMessage type DescribeClusterSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -10727,7 +10727,7 @@ func (s *DescribeClusterSecurityGroupsInput) SetTagValues(v []*string) *Describe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSecurityGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSecurityGroupMessage type DescribeClusterSecurityGroupsOutput struct { _ struct{} `type:"structure"` @@ -10764,7 +10764,7 @@ func (s *DescribeClusterSecurityGroupsOutput) SetMarker(v string) *DescribeClust return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSnapshotsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSnapshotsMessage type DescribeClusterSnapshotsInput struct { _ struct{} `type:"structure"` @@ -10906,7 +10906,7 @@ func (s *DescribeClusterSnapshotsInput) SetTagValues(v []*string) *DescribeClust } // Contains the output from the DescribeClusterSnapshots action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/SnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/SnapshotMessage type DescribeClusterSnapshotsOutput struct { _ struct{} `type:"structure"` @@ -10943,7 +10943,7 @@ func (s *DescribeClusterSnapshotsOutput) SetSnapshots(v []*Snapshot) *DescribeCl return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSubnetGroupsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSubnetGroupsMessage type DescribeClusterSubnetGroupsInput struct { _ struct{} `type:"structure"` @@ -11026,7 +11026,7 @@ func (s *DescribeClusterSubnetGroupsInput) SetTagValues(v []*string) *DescribeCl } // Contains the output from the DescribeClusterSubnetGroups action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSubnetGroupMessage type DescribeClusterSubnetGroupsOutput struct { _ struct{} `type:"structure"` @@ -11063,7 +11063,7 @@ func (s *DescribeClusterSubnetGroupsOutput) SetMarker(v string) *DescribeCluster return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterVersionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterVersionsMessage type DescribeClusterVersionsInput struct { _ struct{} `type:"structure"` @@ -11136,7 +11136,7 @@ func (s *DescribeClusterVersionsInput) SetMaxRecords(v int64) *DescribeClusterVe } // Contains the output from the DescribeClusterVersions action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterVersionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterVersionsMessage type DescribeClusterVersionsOutput struct { _ struct{} `type:"structure"` @@ -11173,7 +11173,7 @@ func (s *DescribeClusterVersionsOutput) SetMarker(v string) *DescribeClusterVers return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClustersMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClustersMessage type DescribeClustersInput struct { _ struct{} `type:"structure"` @@ -11261,7 +11261,7 @@ func (s *DescribeClustersInput) SetTagValues(v []*string) *DescribeClustersInput } // Contains the output from the DescribeClusters action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClustersMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClustersMessage type DescribeClustersOutput struct { _ struct{} `type:"structure"` @@ -11298,7 +11298,7 @@ func (s *DescribeClustersOutput) SetMarker(v string) *DescribeClustersOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDefaultClusterParametersMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDefaultClusterParametersMessage type DescribeDefaultClusterParametersInput struct { _ struct{} `type:"structure"` @@ -11367,7 +11367,7 @@ func (s *DescribeDefaultClusterParametersInput) SetParameterGroupFamily(v string return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDefaultClusterParametersResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDefaultClusterParametersResult type DescribeDefaultClusterParametersOutput struct { _ struct{} `type:"structure"` @@ -11391,7 +11391,7 @@ func (s *DescribeDefaultClusterParametersOutput) SetDefaultClusterParameters(v * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventCategoriesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventCategoriesMessage type DescribeEventCategoriesInput struct { _ struct{} `type:"structure"` @@ -11418,7 +11418,7 @@ func (s *DescribeEventCategoriesInput) SetSourceType(v string) *DescribeEventCat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventCategoriesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventCategoriesMessage type DescribeEventCategoriesOutput struct { _ struct{} `type:"structure"` @@ -11442,7 +11442,7 @@ func (s *DescribeEventCategoriesOutput) SetEventCategoriesMapList(v []*EventCate return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventSubscriptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventSubscriptionsMessage type DescribeEventSubscriptionsInput struct { _ struct{} `type:"structure"` @@ -11524,7 +11524,7 @@ func (s *DescribeEventSubscriptionsInput) SetTagValues(v []*string) *DescribeEve return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventSubscriptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventSubscriptionsMessage type DescribeEventSubscriptionsOutput struct { _ struct{} `type:"structure"` @@ -11561,7 +11561,7 @@ func (s *DescribeEventSubscriptionsOutput) SetMarker(v string) *DescribeEventSub return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventsMessage type DescribeEventsInput struct { _ struct{} `type:"structure"` @@ -11691,7 +11691,7 @@ func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventsMessage type DescribeEventsOutput struct { _ struct{} `type:"structure"` @@ -11728,7 +11728,7 @@ func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmClientCertificatesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmClientCertificatesMessage type DescribeHsmClientCertificatesInput struct { _ struct{} `type:"structure"` @@ -11812,7 +11812,7 @@ func (s *DescribeHsmClientCertificatesInput) SetTagValues(v []*string) *Describe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/HsmClientCertificateMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/HsmClientCertificateMessage type DescribeHsmClientCertificatesOutput struct { _ struct{} `type:"structure"` @@ -11851,7 +11851,7 @@ func (s *DescribeHsmClientCertificatesOutput) SetMarker(v string) *DescribeHsmCl return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmConfigurationsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmConfigurationsMessage type DescribeHsmConfigurationsInput struct { _ struct{} `type:"structure"` @@ -11935,7 +11935,7 @@ func (s *DescribeHsmConfigurationsInput) SetTagValues(v []*string) *DescribeHsmC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/HsmConfigurationMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/HsmConfigurationMessage type DescribeHsmConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -11972,7 +11972,7 @@ func (s *DescribeHsmConfigurationsOutput) SetMarker(v string) *DescribeHsmConfig return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeLoggingStatusMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeLoggingStatusMessage type DescribeLoggingStatusInput struct { _ struct{} `type:"structure"` @@ -12013,7 +12013,7 @@ func (s *DescribeLoggingStatusInput) SetClusterIdentifier(v string) *DescribeLog return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeOrderableClusterOptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeOrderableClusterOptionsMessage type DescribeOrderableClusterOptionsInput struct { _ struct{} `type:"structure"` @@ -12083,7 +12083,7 @@ func (s *DescribeOrderableClusterOptionsInput) SetNodeType(v string) *DescribeOr } // Contains the output from the DescribeOrderableClusterOptions action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/OrderableClusterOptionsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/OrderableClusterOptionsMessage type DescribeOrderableClusterOptionsOutput struct { _ struct{} `type:"structure"` @@ -12121,7 +12121,7 @@ func (s *DescribeOrderableClusterOptionsOutput) SetOrderableClusterOptions(v []* return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodeOfferingsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodeOfferingsMessage type DescribeReservedNodeOfferingsInput struct { _ struct{} `type:"structure"` @@ -12175,7 +12175,7 @@ func (s *DescribeReservedNodeOfferingsInput) SetReservedNodeOfferingId(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ReservedNodeOfferingsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ReservedNodeOfferingsMessage type DescribeReservedNodeOfferingsOutput struct { _ struct{} `type:"structure"` @@ -12212,7 +12212,7 @@ func (s *DescribeReservedNodeOfferingsOutput) SetReservedNodeOfferings(v []*Rese return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodesMessage type DescribeReservedNodesInput struct { _ struct{} `type:"structure"` @@ -12265,7 +12265,7 @@ func (s *DescribeReservedNodesInput) SetReservedNodeId(v string) *DescribeReserv return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ReservedNodesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ReservedNodesMessage type DescribeReservedNodesOutput struct { _ struct{} `type:"structure"` @@ -12302,7 +12302,7 @@ func (s *DescribeReservedNodesOutput) SetReservedNodes(v []*ReservedNode) *Descr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeResizeMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeResizeMessage type DescribeResizeInput struct { _ struct{} `type:"structure"` @@ -12346,7 +12346,7 @@ func (s *DescribeResizeInput) SetClusterIdentifier(v string) *DescribeResizeInpu } // Describes the result of a cluster resize operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResizeProgressMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResizeProgressMessage type DescribeResizeOutput struct { _ struct{} `type:"structure"` @@ -12493,7 +12493,7 @@ func (s *DescribeResizeOutput) SetTotalResizeDataInMegaBytes(v int64) *DescribeR } // The result of the DescribeSnapshotCopyGrants action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeSnapshotCopyGrantsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeSnapshotCopyGrantsMessage type DescribeSnapshotCopyGrantsInput struct { _ struct{} `type:"structure"` @@ -12578,7 +12578,7 @@ func (s *DescribeSnapshotCopyGrantsInput) SetTagValues(v []*string) *DescribeSna return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/SnapshotCopyGrantMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/SnapshotCopyGrantMessage type DescribeSnapshotCopyGrantsOutput struct { _ struct{} `type:"structure"` @@ -12619,7 +12619,7 @@ func (s *DescribeSnapshotCopyGrantsOutput) SetSnapshotCopyGrants(v []*SnapshotCo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTableRestoreStatusMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTableRestoreStatusMessage type DescribeTableRestoreStatusInput struct { _ struct{} `type:"structure"` @@ -12676,7 +12676,7 @@ func (s *DescribeTableRestoreStatusInput) SetTableRestoreRequestId(v string) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/TableRestoreStatusMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/TableRestoreStatusMessage type DescribeTableRestoreStatusOutput struct { _ struct{} `type:"structure"` @@ -12710,7 +12710,7 @@ func (s *DescribeTableRestoreStatusOutput) SetTableRestoreStatusDetails(v []*Tab return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTagsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTagsMessage type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -12823,7 +12823,7 @@ func (s *DescribeTagsInput) SetTagValues(v []*string) *DescribeTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/TaggedResourceListMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/TaggedResourceListMessage type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -12860,7 +12860,7 @@ func (s *DescribeTagsOutput) SetTaggedResources(v []*TaggedResource) *DescribeTa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableLoggingMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableLoggingMessage type DisableLoggingInput struct { _ struct{} `type:"structure"` @@ -12901,7 +12901,7 @@ func (s *DisableLoggingInput) SetClusterIdentifier(v string) *DisableLoggingInpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopyMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopyMessage type DisableSnapshotCopyInput struct { _ struct{} `type:"structure"` @@ -12944,7 +12944,7 @@ func (s *DisableSnapshotCopyInput) SetClusterIdentifier(v string) *DisableSnapsh return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopyResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopyResult type DisableSnapshotCopyOutput struct { _ struct{} `type:"structure"` @@ -12969,7 +12969,7 @@ func (s *DisableSnapshotCopyOutput) SetCluster(v *Cluster) *DisableSnapshotCopyO } // Describes an Amazon EC2 security group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EC2SecurityGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EC2SecurityGroup type EC2SecurityGroup struct { _ struct{} `type:"structure"` @@ -13022,7 +13022,7 @@ func (s *EC2SecurityGroup) SetTags(v []*Tag) *EC2SecurityGroup { } // Describes the status of the elastic IP (EIP) address. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ElasticIpStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ElasticIpStatus type ElasticIpStatus struct { _ struct{} `type:"structure"` @@ -13055,7 +13055,7 @@ func (s *ElasticIpStatus) SetStatus(v string) *ElasticIpStatus { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLoggingMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLoggingMessage type EnableLoggingInput struct { _ struct{} `type:"structure"` @@ -13143,7 +13143,7 @@ func (s *EnableLoggingInput) SetS3KeyPrefix(v string) *EnableLoggingInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopyMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopyMessage type EnableSnapshotCopyInput struct { _ struct{} `type:"structure"` @@ -13227,7 +13227,7 @@ func (s *EnableSnapshotCopyInput) SetSnapshotCopyGrantName(v string) *EnableSnap return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopyResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopyResult type EnableSnapshotCopyOutput struct { _ struct{} `type:"structure"` @@ -13252,7 +13252,7 @@ func (s *EnableSnapshotCopyOutput) SetCluster(v *Cluster) *EnableSnapshotCopyOut } // Describes a connection endpoint. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Endpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Endpoint type Endpoint struct { _ struct{} `type:"structure"` @@ -13286,7 +13286,7 @@ func (s *Endpoint) SetPort(v int64) *Endpoint { } // Describes an event. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Event +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Event type Event struct { _ struct{} `type:"structure"` @@ -13369,7 +13369,7 @@ func (s *Event) SetSourceType(v string) *Event { } // Describes event categories. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventCategoriesMap +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventCategoriesMap type EventCategoriesMap struct { _ struct{} `type:"structure"` @@ -13404,7 +13404,7 @@ func (s *EventCategoriesMap) SetSourceType(v string) *EventCategoriesMap { } // Describes event information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventInfoMap +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventInfoMap type EventInfoMap struct { _ struct{} `type:"structure"` @@ -13458,7 +13458,7 @@ func (s *EventInfoMap) SetSeverity(v string) *EventInfoMap { } // Describes event subscriptions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventSubscription type EventSubscription struct { _ struct{} `type:"structure"` @@ -13592,7 +13592,7 @@ func (s *EventSubscription) SetTags(v []*Tag) *EventSubscription { } // The request parameters to get cluster credentials. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetClusterCredentialsMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetClusterCredentialsMessage type GetClusterCredentialsInput struct { _ struct{} `type:"structure"` @@ -13746,7 +13746,7 @@ func (s *GetClusterCredentialsInput) SetDurationSeconds(v int64) *GetClusterCred // Temporary credentials with authorization to log on to an Amazon Redshift // database. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterCredentials +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterCredentials type GetClusterCredentialsOutput struct { _ struct{} `type:"structure"` @@ -13797,7 +13797,7 @@ func (s *GetClusterCredentialsOutput) SetExpiration(v time.Time) *GetClusterCred // Returns information about an HSM client certificate. The certificate is stored // in a secure Hardware Storage Module (HSM), and used by the Amazon Redshift // cluster to encrypt data files. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/HsmClientCertificate +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/HsmClientCertificate type HsmClientCertificate struct { _ struct{} `type:"structure"` @@ -13843,7 +13843,7 @@ func (s *HsmClientCertificate) SetTags(v []*Tag) *HsmClientCertificate { // Returns information about an HSM configuration, which is an object that describes // to Amazon Redshift clusters the information they require to connect to an // HSM where they can store database encryption keys. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/HsmConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/HsmConfiguration type HsmConfiguration struct { _ struct{} `type:"structure"` @@ -13905,7 +13905,7 @@ func (s *HsmConfiguration) SetTags(v []*Tag) *HsmConfiguration { } // Describes the status of changes to HSM settings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/HsmStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/HsmStatus type HsmStatus struct { _ struct{} `type:"structure"` @@ -13953,7 +13953,7 @@ func (s *HsmStatus) SetStatus(v string) *HsmStatus { } // Describes an IP range used in a security group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/IPRange +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/IPRange type IPRange struct { _ struct{} `type:"structure"` @@ -13996,7 +13996,7 @@ func (s *IPRange) SetTags(v []*Tag) *IPRange { } // Describes the status of logging for a cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/LoggingStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/LoggingStatus type LoggingStatus struct { _ struct{} `type:"structure"` @@ -14065,7 +14065,7 @@ func (s *LoggingStatus) SetS3KeyPrefix(v string) *LoggingStatus { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRolesMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRolesMessage type ModifyClusterIamRolesInput struct { _ struct{} `type:"structure"` @@ -14126,7 +14126,7 @@ func (s *ModifyClusterIamRolesInput) SetRemoveIamRoles(v []*string) *ModifyClust return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRolesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRolesResult type ModifyClusterIamRolesOutput struct { _ struct{} `type:"structure"` @@ -14150,7 +14150,7 @@ func (s *ModifyClusterIamRolesOutput) SetCluster(v *Cluster) *ModifyClusterIamRo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterMessage type ModifyClusterInput struct { _ struct{} `type:"structure"` @@ -14484,7 +14484,7 @@ func (s *ModifyClusterInput) SetVpcSecurityGroupIds(v []*string) *ModifyClusterI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterResult type ModifyClusterOutput struct { _ struct{} `type:"structure"` @@ -14508,7 +14508,7 @@ func (s *ModifyClusterOutput) SetCluster(v *Cluster) *ModifyClusterOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterParameterGroupMessage type ModifyClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -14568,7 +14568,7 @@ func (s *ModifyClusterParameterGroupInput) SetParameters(v []*Parameter) *Modify return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSubnetGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSubnetGroupMessage type ModifyClusterSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -14631,7 +14631,7 @@ func (s *ModifyClusterSubnetGroupInput) SetSubnetIds(v []*string) *ModifyCluster return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSubnetGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSubnetGroupResult type ModifyClusterSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -14655,7 +14655,7 @@ func (s *ModifyClusterSubnetGroupOutput) SetClusterSubnetGroup(v *ClusterSubnetG return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEventSubscriptionMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEventSubscriptionMessage type ModifyEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -14771,7 +14771,7 @@ func (s *ModifyEventSubscriptionInput) SetSubscriptionName(v string) *ModifyEven return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEventSubscriptionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEventSubscriptionResult type ModifyEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -14795,7 +14795,7 @@ func (s *ModifyEventSubscriptionOutput) SetEventSubscription(v *EventSubscriptio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriodMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriodMessage type ModifySnapshotCopyRetentionPeriodInput struct { _ struct{} `type:"structure"` @@ -14860,7 +14860,7 @@ func (s *ModifySnapshotCopyRetentionPeriodInput) SetRetentionPeriod(v int64) *Mo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriodResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriodResult type ModifySnapshotCopyRetentionPeriodOutput struct { _ struct{} `type:"structure"` @@ -14885,7 +14885,7 @@ func (s *ModifySnapshotCopyRetentionPeriodOutput) SetCluster(v *Cluster) *Modify } // Describes an orderable cluster option. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/OrderableClusterOption +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/OrderableClusterOption type OrderableClusterOption struct { _ struct{} `type:"structure"` @@ -14937,7 +14937,7 @@ func (s *OrderableClusterOption) SetNodeType(v string) *OrderableClusterOption { } // Describes a parameter in a cluster parameter group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Parameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Parameter type Parameter struct { _ struct{} `type:"structure"` @@ -15041,7 +15041,7 @@ func (s *Parameter) SetSource(v string) *Parameter { // Describes cluster attributes that are in a pending state. A change to one // or more the attributes was requested and is in progress or will be applied. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PendingModifiedValues +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PendingModifiedValues type PendingModifiedValues struct { _ struct{} `type:"structure"` @@ -15146,7 +15146,7 @@ func (s *PendingModifiedValues) SetPubliclyAccessible(v bool) *PendingModifiedVa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PurchaseReservedNodeOfferingMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PurchaseReservedNodeOfferingMessage type PurchaseReservedNodeOfferingInput struct { _ struct{} `type:"structure"` @@ -15196,7 +15196,7 @@ func (s *PurchaseReservedNodeOfferingInput) SetReservedNodeOfferingId(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PurchaseReservedNodeOfferingResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PurchaseReservedNodeOfferingResult type PurchaseReservedNodeOfferingOutput struct { _ struct{} `type:"structure"` @@ -15221,7 +15221,7 @@ func (s *PurchaseReservedNodeOfferingOutput) SetReservedNode(v *ReservedNode) *P return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootClusterMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootClusterMessage type RebootClusterInput struct { _ struct{} `type:"structure"` @@ -15260,7 +15260,7 @@ func (s *RebootClusterInput) SetClusterIdentifier(v string) *RebootClusterInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootClusterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootClusterResult type RebootClusterOutput struct { _ struct{} `type:"structure"` @@ -15285,7 +15285,7 @@ func (s *RebootClusterOutput) SetCluster(v *Cluster) *RebootClusterOutput { } // Describes a recurring charge. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RecurringCharge +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RecurringCharge type RecurringCharge struct { _ struct{} `type:"structure"` @@ -15321,7 +15321,7 @@ func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge // Describes a reserved node. You can call the DescribeReservedNodeOfferings // API to obtain the available reserved node offerings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ReservedNode +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ReservedNode type ReservedNode struct { _ struct{} `type:"structure"` @@ -15457,7 +15457,7 @@ func (s *ReservedNode) SetUsagePrice(v float64) *ReservedNode { } // Describes a reserved node offering. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ReservedNodeOffering +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ReservedNodeOffering type ReservedNodeOffering struct { _ struct{} `type:"structure"` @@ -15549,7 +15549,7 @@ func (s *ReservedNodeOffering) SetUsagePrice(v float64) *ReservedNodeOffering { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResetClusterParameterGroupMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResetClusterParameterGroupMessage type ResetClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -15612,7 +15612,7 @@ func (s *ResetClusterParameterGroupInput) SetResetAllParameters(v bool) *ResetCl return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshotMessage type RestoreFromClusterSnapshotInput struct { _ struct{} `type:"structure"` @@ -15943,7 +15943,7 @@ func (s *RestoreFromClusterSnapshotInput) SetVpcSecurityGroupIds(v []*string) *R return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshotResult type RestoreFromClusterSnapshotOutput struct { _ struct{} `type:"structure"` @@ -15969,7 +15969,7 @@ func (s *RestoreFromClusterSnapshotOutput) SetCluster(v *Cluster) *RestoreFromCl // Describes the status of a cluster restore action. Returns null if the cluster // was not created by restoring a snapshot. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreStatus type RestoreStatus struct { _ struct{} `type:"structure"` @@ -16042,7 +16042,7 @@ func (s *RestoreStatus) SetStatus(v string) *RestoreStatus { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreTableFromClusterSnapshotMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreTableFromClusterSnapshotMessage type RestoreTableFromClusterSnapshotInput struct { _ struct{} `type:"structure"` @@ -16167,7 +16167,7 @@ func (s *RestoreTableFromClusterSnapshotInput) SetTargetSchemaName(v string) *Re return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreTableFromClusterSnapshotResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreTableFromClusterSnapshotResult type RestoreTableFromClusterSnapshotOutput struct { _ struct{} `type:"structure"` @@ -16191,7 +16191,7 @@ func (s *RestoreTableFromClusterSnapshotOutput) SetTableRestoreStatus(v *TableRe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeClusterSecurityGroupIngressMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeClusterSecurityGroupIngressMessage type RevokeClusterSecurityGroupIngressInput struct { _ struct{} `type:"structure"` @@ -16266,7 +16266,7 @@ func (s *RevokeClusterSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v st return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeClusterSecurityGroupIngressResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeClusterSecurityGroupIngressResult type RevokeClusterSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` @@ -16290,7 +16290,7 @@ func (s *RevokeClusterSecurityGroupIngressOutput) SetClusterSecurityGroup(v *Clu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccessMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccessMessage type RevokeSnapshotAccessInput struct { _ struct{} `type:"structure"` @@ -16355,7 +16355,7 @@ func (s *RevokeSnapshotAccessInput) SetSnapshotIdentifier(v string) *RevokeSnaps return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccessResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccessResult type RevokeSnapshotAccessOutput struct { _ struct{} `type:"structure"` @@ -16379,7 +16379,7 @@ func (s *RevokeSnapshotAccessOutput) SetSnapshot(v *Snapshot) *RevokeSnapshotAcc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKeyMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKeyMessage type RotateEncryptionKeyInput struct { _ struct{} `type:"structure"` @@ -16421,7 +16421,7 @@ func (s *RotateEncryptionKeyInput) SetClusterIdentifier(v string) *RotateEncrypt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKeyResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKeyResult type RotateEncryptionKeyOutput struct { _ struct{} `type:"structure"` @@ -16446,7 +16446,7 @@ func (s *RotateEncryptionKeyOutput) SetCluster(v *Cluster) *RotateEncryptionKeyO } // Describes a snapshot. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Snapshot +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Snapshot type Snapshot struct { _ struct{} `type:"structure"` @@ -16759,7 +16759,7 @@ func (s *Snapshot) SetVpcId(v string) *Snapshot { // For more information about managing snapshot copy grants, go to Amazon Redshift // Database Encryption (http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-db-encryption.html) // in the Amazon Redshift Cluster Management Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/SnapshotCopyGrant +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/SnapshotCopyGrant type SnapshotCopyGrant struct { _ struct{} `type:"structure"` @@ -16803,7 +16803,7 @@ func (s *SnapshotCopyGrant) SetTags(v []*Tag) *SnapshotCopyGrant { } // Describes a subnet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Subnet +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Subnet type Subnet struct { _ struct{} `type:"structure"` @@ -16846,7 +16846,7 @@ func (s *Subnet) SetSubnetStatus(v string) *Subnet { } // Describes the status of a RestoreTableFromClusterSnapshot operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/TableRestoreStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/TableRestoreStatus type TableRestoreStatus struct { _ struct{} `type:"structure"` @@ -16993,7 +16993,7 @@ func (s *TableRestoreStatus) SetTotalDataInMegaBytes(v int64) *TableRestoreStatu } // A tag consisting of a name/value pair for a resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Tag type Tag struct { _ struct{} `type:"structure"` @@ -17027,7 +17027,7 @@ func (s *Tag) SetValue(v string) *Tag { } // A tag and its associated resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/TaggedResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/TaggedResource type TaggedResource struct { _ struct{} `type:"structure"` @@ -17094,7 +17094,7 @@ func (s *TaggedResource) SetTag(v *Tag) *TaggedResource { } // Describes the members of a VPC security group. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/VpcSecurityGroupMembership +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/VpcSecurityGroupMembership type VpcSecurityGroupMembership struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/route53/api.go b/vendor/github.com/aws/aws-sdk-go/service/route53/api.go index bc0770073db..5e161817895 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/route53/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/route53/api.go @@ -36,7 +36,7 @@ const opAssociateVPCWithHostedZone = "AssociateVPCWithHostedZone" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZone func (c *Route53) AssociateVPCWithHostedZoneRequest(input *AssociateVPCWithHostedZoneInput) (req *request.Request, output *AssociateVPCWithHostedZoneOutput) { op := &request.Operation{ Name: opAssociateVPCWithHostedZone, @@ -110,9 +110,16 @@ func (c *Route53) AssociateVPCWithHostedZoneRequest(input *AssociateVPCWithHoste // for the hosted zones for example.com and test.example.com. // // * ErrCodeLimitsExceeded "LimitsExceeded" -// The limits specified for a resource have been exceeded. +// This operation can't be completed either because the current account has +// reached the limit on reusable delegation sets that it can create or because +// you've reached the limit on the number of Amazon VPCs that you can associate +// with a private hosted zone. To get the current limit on the number of reusable +// delegation sets, see GetAccountLimit. To get the current limit on the number +// of Amazon VPCs that you can associate with a private hosted zone, see GetHostedZoneLimit. +// To request a higher limit, create a case (http://aws.amazon.com/route53-request) +// with the AWS Support Center. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZone func (c *Route53) AssociateVPCWithHostedZone(input *AssociateVPCWithHostedZoneInput) (*AssociateVPCWithHostedZoneOutput, error) { req, out := c.AssociateVPCWithHostedZoneRequest(input) return out, req.Send() @@ -159,7 +166,7 @@ const opChangeResourceRecordSets = "ChangeResourceRecordSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeResourceRecordSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeResourceRecordSets func (c *Route53) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSetsInput) (req *request.Request, output *ChangeResourceRecordSetsOutput) { op := &request.Operation{ Name: opChangeResourceRecordSets, @@ -287,7 +294,7 @@ func (c *Route53) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSet // for the same request, we recommend that you wait, in intervals of increasing // duration, before you try the request again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeResourceRecordSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeResourceRecordSets func (c *Route53) ChangeResourceRecordSets(input *ChangeResourceRecordSetsInput) (*ChangeResourceRecordSetsOutput, error) { req, out := c.ChangeResourceRecordSetsRequest(input) return out, req.Send() @@ -334,7 +341,7 @@ const opChangeTagsForResource = "ChangeTagsForResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResource func (c *Route53) ChangeTagsForResourceRequest(input *ChangeTagsForResourceInput) (req *request.Request, output *ChangeTagsForResourceOutput) { op := &request.Operation{ Name: opChangeTagsForResource, @@ -387,7 +394,7 @@ func (c *Route53) ChangeTagsForResourceRequest(input *ChangeTagsForResourceInput // * ErrCodeThrottlingException "ThrottlingException" // The limit on the number of requests per second was exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResource func (c *Route53) ChangeTagsForResource(input *ChangeTagsForResourceInput) (*ChangeTagsForResourceOutput, error) { req, out := c.ChangeTagsForResourceRequest(input) return out, req.Send() @@ -434,7 +441,7 @@ const opCreateHealthCheck = "CreateHealthCheck" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheck +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheck func (c *Route53) CreateHealthCheckRequest(input *CreateHealthCheckInput) (req *request.Request, output *CreateHealthCheckOutput) { op := &request.Operation{ Name: opCreateHealthCheck, @@ -495,8 +502,18 @@ func (c *Route53) CreateHealthCheckRequest(input *CreateHealthCheckInput) (req * // // Returned Error Codes: // * ErrCodeTooManyHealthChecks "TooManyHealthChecks" +// This health check can't be created because the current account has reached +// the limit on the number of active health checks. +// +// For information about default limits, see Limits (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) +// in the Amazon Route 53 Developer Guide. +// +// For information about how to get the current limit for an account, see GetAccountLimit. +// To request a higher limit, create a case (http://aws.amazon.com/route53-request) +// with the AWS Support Center. +// // You have reached the maximum number of active health checks for an AWS account. -// The default limit is 100. To request a higher limit, create a case (http://aws.amazon.com/route53-request) +// To request a higher limit, create a case (http://aws.amazon.com/route53-request) // with the AWS Support Center. // // * ErrCodeHealthCheckAlreadyExists "HealthCheckAlreadyExists" @@ -513,7 +530,7 @@ func (c *Route53) CreateHealthCheckRequest(input *CreateHealthCheckInput) (req * // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheck +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheck func (c *Route53) CreateHealthCheck(input *CreateHealthCheckInput) (*CreateHealthCheckOutput, error) { req, out := c.CreateHealthCheckRequest(input) return out, req.Send() @@ -560,7 +577,7 @@ const opCreateHostedZone = "CreateHostedZone" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZone func (c *Route53) CreateHostedZoneRequest(input *CreateHostedZoneInput) (req *request.Request, output *CreateHostedZoneOutput) { op := &request.Operation{ Name: opCreateHostedZone, @@ -632,9 +649,22 @@ func (c *Route53) CreateHostedZoneRequest(input *CreateHostedZoneInput) (req *re // CallerReference. // // * ErrCodeTooManyHostedZones "TooManyHostedZones" -// This hosted zone can't be created because the hosted zone limit is exceeded. -// To request a limit increase, go to the Amazon Route 53 Contact Us (http://aws.amazon.com/route53-request/) -// page. +// This operation can't be completed either because the current account has +// reached the limit on the number of hosted zones or because you've reached +// the limit on the number of hosted zones that can be associated with a reusable +// delegation set. +// +// For information about default limits, see Limits (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) +// in the Amazon Route 53 Developer Guide. +// +// To get the current limit on hosted zones that can be created by an account, +// see GetAccountLimit. +// +// To get the current limit on hosted zones that can be associated with a reusable +// delegation set, see GetReusableDelegationSetLimit. +// +// To request a higher limit, create a case (http://aws.amazon.com/route53-request) +// with the AWS Support Center. // // * ErrCodeInvalidVPCId "InvalidVPCId" // The VPC ID that you specified either isn't a valid ID or the current account @@ -673,7 +703,7 @@ func (c *Route53) CreateHostedZoneRequest(input *CreateHostedZoneInput) (req *re // * ErrCodeDelegationSetNotReusable "DelegationSetNotReusable" // A reusable delegation set with the specified ID does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZone func (c *Route53) CreateHostedZone(input *CreateHostedZoneInput) (*CreateHostedZoneOutput, error) { req, out := c.CreateHostedZoneRequest(input) return out, req.Send() @@ -720,7 +750,7 @@ const opCreateQueryLoggingConfig = "CreateQueryLoggingConfig" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfig func (c *Route53) CreateQueryLoggingConfigRequest(input *CreateQueryLoggingConfigInput) (req *request.Request, output *CreateQueryLoggingConfigOutput) { op := &request.Operation{ Name: opCreateQueryLoggingConfig, @@ -781,10 +811,10 @@ func (c *Route53) CreateQueryLoggingConfigRequest(input *CreateQueryLoggingConfi // for query logging. // // Create a CloudWatch Logs resource policy, and give it the permissions that -// Amazon Route 53 needs to create log streams and to to send query logs to -// log streams. For the value of Resource, specify the ARN for the log group -// that you created in the previous step. To use the same resource policy for -// all the CloudWatch Logs log groups that you created for query logging configurations, +// Amazon Route 53 needs to create log streams and to send query logs to log +// streams. For the value of Resource, specify the ARN for the log group that +// you created in the previous step. To use the same resource policy for all +// the CloudWatch Logs log groups that you created for query logging configurations, // replace the hosted zone name with *, for example: // // arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/* @@ -874,7 +904,7 @@ func (c *Route53) CreateQueryLoggingConfigRequest(input *CreateQueryLoggingConfi // // * The resource policy hasn't finished propagating yet. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfig func (c *Route53) CreateQueryLoggingConfig(input *CreateQueryLoggingConfigInput) (*CreateQueryLoggingConfigOutput, error) { req, out := c.CreateQueryLoggingConfigRequest(input) return out, req.Send() @@ -921,7 +951,7 @@ const opCreateReusableDelegationSet = "CreateReusableDelegationSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateReusableDelegationSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateReusableDelegationSet func (c *Route53) CreateReusableDelegationSetRequest(input *CreateReusableDelegationSetInput) (req *request.Request, output *CreateReusableDelegationSetOutput) { op := &request.Operation{ Name: opCreateReusableDelegationSet, @@ -962,7 +992,14 @@ func (c *Route53) CreateReusableDelegationSetRequest(input *CreateReusableDelega // already been created. // // * ErrCodeLimitsExceeded "LimitsExceeded" -// The limits specified for a resource have been exceeded. +// This operation can't be completed either because the current account has +// reached the limit on reusable delegation sets that it can create or because +// you've reached the limit on the number of Amazon VPCs that you can associate +// with a private hosted zone. To get the current limit on the number of reusable +// delegation sets, see GetAccountLimit. To get the current limit on the number +// of Amazon VPCs that you can associate with a private hosted zone, see GetHostedZoneLimit. +// To request a higher limit, create a case (http://aws.amazon.com/route53-request) +// with the AWS Support Center. // // * ErrCodeHostedZoneNotFound "HostedZoneNotFound" // The specified HostedZone can't be found. @@ -983,7 +1020,7 @@ func (c *Route53) CreateReusableDelegationSetRequest(input *CreateReusableDelega // * ErrCodeDelegationSetAlreadyReusable "DelegationSetAlreadyReusable" // The specified delegation set has already been marked as reusable. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateReusableDelegationSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateReusableDelegationSet func (c *Route53) CreateReusableDelegationSet(input *CreateReusableDelegationSetInput) (*CreateReusableDelegationSetOutput, error) { req, out := c.CreateReusableDelegationSetRequest(input) return out, req.Send() @@ -1030,7 +1067,7 @@ const opCreateTrafficPolicy = "CreateTrafficPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicy func (c *Route53) CreateTrafficPolicyRequest(input *CreateTrafficPolicyInput) (req *request.Request, output *CreateTrafficPolicyOutput) { op := &request.Operation{ Name: opCreateTrafficPolicy, @@ -1065,9 +1102,16 @@ func (c *Route53) CreateTrafficPolicyRequest(input *CreateTrafficPolicyInput) (r // The input is not valid. // // * ErrCodeTooManyTrafficPolicies "TooManyTrafficPolicies" -// You've created the maximum number of traffic policies that can be created -// for the current AWS account. You can request an increase to the limit on -// the Contact Us (http://aws.amazon.com/route53-request/) page. +// This traffic policy can't be created because the current account has reached +// the limit on the number of traffic policies. +// +// For information about default limits, see Limits (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) +// in the Amazon Route 53 Developer Guide. +// +// To get the current limit for an account, see GetAccountLimit. +// +// To request a higher limit, create a case (http://aws.amazon.com/route53-request) +// with the AWS Support Center. // // * ErrCodeTrafficPolicyAlreadyExists "TrafficPolicyAlreadyExists" // A traffic policy that has the same value for Name already exists. @@ -1076,7 +1120,7 @@ func (c *Route53) CreateTrafficPolicyRequest(input *CreateTrafficPolicyInput) (r // The format of the traffic policy document that you specified in the Document // element is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicy func (c *Route53) CreateTrafficPolicy(input *CreateTrafficPolicyInput) (*CreateTrafficPolicyOutput, error) { req, out := c.CreateTrafficPolicyRequest(input) return out, req.Send() @@ -1123,7 +1167,7 @@ const opCreateTrafficPolicyInstance = "CreateTrafficPolicyInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstance func (c *Route53) CreateTrafficPolicyInstanceRequest(input *CreateTrafficPolicyInstanceInput) (req *request.Request, output *CreateTrafficPolicyInstanceOutput) { op := &request.Operation{ Name: opCreateTrafficPolicyInstance, @@ -1164,9 +1208,16 @@ func (c *Route53) CreateTrafficPolicyInstanceRequest(input *CreateTrafficPolicyI // The input is not valid. // // * ErrCodeTooManyTrafficPolicyInstances "TooManyTrafficPolicyInstances" -// You've created the maximum number of traffic policy instances that can be -// created for the current AWS account. You can request an increase to the limit -// on the Contact Us (http://aws.amazon.com/route53-request/) page. +// This traffic policy instance can't be created because the current account +// has reached the limit on the number of traffic policy instances. +// +// For information about default limits, see Limits (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) +// in the Amazon Route 53 Developer Guide. +// +// For information about how to get the current limit for an account, see GetAccountLimit. +// +// To request a higher limit, create a case (http://aws.amazon.com/route53-request) +// with the AWS Support Center. // // * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" // No traffic policy exists with the specified ID. @@ -1174,7 +1225,7 @@ func (c *Route53) CreateTrafficPolicyInstanceRequest(input *CreateTrafficPolicyI // * ErrCodeTrafficPolicyInstanceAlreadyExists "TrafficPolicyInstanceAlreadyExists" // There is already a traffic policy instance with the specified ID. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstance func (c *Route53) CreateTrafficPolicyInstance(input *CreateTrafficPolicyInstanceInput) (*CreateTrafficPolicyInstanceOutput, error) { req, out := c.CreateTrafficPolicyInstanceRequest(input) return out, req.Send() @@ -1221,7 +1272,7 @@ const opCreateTrafficPolicyVersion = "CreateTrafficPolicyVersion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyVersion func (c *Route53) CreateTrafficPolicyVersionRequest(input *CreateTrafficPolicyVersionInput) (req *request.Request, output *CreateTrafficPolicyVersionOutput) { op := &request.Operation{ Name: opCreateTrafficPolicyVersion, @@ -1271,7 +1322,7 @@ func (c *Route53) CreateTrafficPolicyVersionRequest(input *CreateTrafficPolicyVe // The format of the traffic policy document that you specified in the Document // element is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyVersion func (c *Route53) CreateTrafficPolicyVersion(input *CreateTrafficPolicyVersionInput) (*CreateTrafficPolicyVersionOutput, error) { req, out := c.CreateTrafficPolicyVersionRequest(input) return out, req.Send() @@ -1318,7 +1369,7 @@ const opCreateVPCAssociationAuthorization = "CreateVPCAssociationAuthorization" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateVPCAssociationAuthorization +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateVPCAssociationAuthorization func (c *Route53) CreateVPCAssociationAuthorizationRequest(input *CreateVPCAssociationAuthorizationInput) (req *request.Request, output *CreateVPCAssociationAuthorizationOutput) { op := &request.Operation{ Name: opCreateVPCAssociationAuthorization, @@ -1377,7 +1428,7 @@ func (c *Route53) CreateVPCAssociationAuthorizationRequest(input *CreateVPCAssoc // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateVPCAssociationAuthorization +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateVPCAssociationAuthorization func (c *Route53) CreateVPCAssociationAuthorization(input *CreateVPCAssociationAuthorizationInput) (*CreateVPCAssociationAuthorizationOutput, error) { req, out := c.CreateVPCAssociationAuthorizationRequest(input) return out, req.Send() @@ -1424,7 +1475,7 @@ const opDeleteHealthCheck = "DeleteHealthCheck" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheck +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheck func (c *Route53) DeleteHealthCheckRequest(input *DeleteHealthCheckInput) (req *request.Request, output *DeleteHealthCheckOutput) { op := &request.Operation{ Name: opDeleteHealthCheck, @@ -1471,7 +1522,7 @@ func (c *Route53) DeleteHealthCheckRequest(input *DeleteHealthCheckInput) (req * // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheck +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheck func (c *Route53) DeleteHealthCheck(input *DeleteHealthCheckInput) (*DeleteHealthCheckOutput, error) { req, out := c.DeleteHealthCheckRequest(input) return out, req.Send() @@ -1518,7 +1569,7 @@ const opDeleteHostedZone = "DeleteHostedZone" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHostedZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHostedZone func (c *Route53) DeleteHostedZoneRequest(input *DeleteHostedZoneInput) (req *request.Request, output *DeleteHostedZoneOutput) { op := &request.Operation{ Name: opDeleteHostedZone, @@ -1595,7 +1646,7 @@ func (c *Route53) DeleteHostedZoneRequest(input *DeleteHostedZoneInput) (req *re // * ErrCodeInvalidDomainName "InvalidDomainName" // The specified domain name is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHostedZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHostedZone func (c *Route53) DeleteHostedZone(input *DeleteHostedZoneInput) (*DeleteHostedZoneOutput, error) { req, out := c.DeleteHostedZoneRequest(input) return out, req.Send() @@ -1642,7 +1693,7 @@ const opDeleteQueryLoggingConfig = "DeleteQueryLoggingConfig" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfig func (c *Route53) DeleteQueryLoggingConfigRequest(input *DeleteQueryLoggingConfigInput) (req *request.Request, output *DeleteQueryLoggingConfigOutput) { op := &request.Operation{ Name: opDeleteQueryLoggingConfig, @@ -1685,7 +1736,7 @@ func (c *Route53) DeleteQueryLoggingConfigRequest(input *DeleteQueryLoggingConfi // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfig func (c *Route53) DeleteQueryLoggingConfig(input *DeleteQueryLoggingConfigInput) (*DeleteQueryLoggingConfigOutput, error) { req, out := c.DeleteQueryLoggingConfigRequest(input) return out, req.Send() @@ -1732,7 +1783,7 @@ const opDeleteReusableDelegationSet = "DeleteReusableDelegationSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteReusableDelegationSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteReusableDelegationSet func (c *Route53) DeleteReusableDelegationSetRequest(input *DeleteReusableDelegationSetInput) (req *request.Request, output *DeleteReusableDelegationSetOutput) { op := &request.Operation{ Name: opDeleteReusableDelegationSet, @@ -1781,7 +1832,7 @@ func (c *Route53) DeleteReusableDelegationSetRequest(input *DeleteReusableDelega // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteReusableDelegationSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteReusableDelegationSet func (c *Route53) DeleteReusableDelegationSet(input *DeleteReusableDelegationSetInput) (*DeleteReusableDelegationSetOutput, error) { req, out := c.DeleteReusableDelegationSetRequest(input) return out, req.Send() @@ -1828,7 +1879,7 @@ const opDeleteTrafficPolicy = "DeleteTrafficPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicy func (c *Route53) DeleteTrafficPolicyRequest(input *DeleteTrafficPolicyInput) (req *request.Request, output *DeleteTrafficPolicyOutput) { op := &request.Operation{ Name: opDeleteTrafficPolicy, @@ -1871,7 +1922,7 @@ func (c *Route53) DeleteTrafficPolicyRequest(input *DeleteTrafficPolicyInput) (r // Another user submitted a request to create, update, or delete the object // at the same time that you did. Retry the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicy func (c *Route53) DeleteTrafficPolicy(input *DeleteTrafficPolicyInput) (*DeleteTrafficPolicyOutput, error) { req, out := c.DeleteTrafficPolicyRequest(input) return out, req.Send() @@ -1918,7 +1969,7 @@ const opDeleteTrafficPolicyInstance = "DeleteTrafficPolicyInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyInstance func (c *Route53) DeleteTrafficPolicyInstanceRequest(input *DeleteTrafficPolicyInstanceInput) (req *request.Request, output *DeleteTrafficPolicyInstanceOutput) { op := &request.Operation{ Name: opDeleteTrafficPolicyInstance, @@ -1964,7 +2015,7 @@ func (c *Route53) DeleteTrafficPolicyInstanceRequest(input *DeleteTrafficPolicyI // for the same request, we recommend that you wait, in intervals of increasing // duration, before you try the request again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyInstance func (c *Route53) DeleteTrafficPolicyInstance(input *DeleteTrafficPolicyInstanceInput) (*DeleteTrafficPolicyInstanceOutput, error) { req, out := c.DeleteTrafficPolicyInstanceRequest(input) return out, req.Send() @@ -2011,7 +2062,7 @@ const opDeleteVPCAssociationAuthorization = "DeleteVPCAssociationAuthorization" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteVPCAssociationAuthorization +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteVPCAssociationAuthorization func (c *Route53) DeleteVPCAssociationAuthorizationRequest(input *DeleteVPCAssociationAuthorizationInput) (req *request.Request, output *DeleteVPCAssociationAuthorizationOutput) { op := &request.Operation{ Name: opDeleteVPCAssociationAuthorization, @@ -2067,7 +2118,7 @@ func (c *Route53) DeleteVPCAssociationAuthorizationRequest(input *DeleteVPCAssoc // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteVPCAssociationAuthorization +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteVPCAssociationAuthorization func (c *Route53) DeleteVPCAssociationAuthorization(input *DeleteVPCAssociationAuthorizationInput) (*DeleteVPCAssociationAuthorizationOutput, error) { req, out := c.DeleteVPCAssociationAuthorizationRequest(input) return out, req.Send() @@ -2114,7 +2165,7 @@ const opDisassociateVPCFromHostedZone = "DisassociateVPCFromHostedZone" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZone func (c *Route53) DisassociateVPCFromHostedZoneRequest(input *DisassociateVPCFromHostedZoneInput) (req *request.Request, output *DisassociateVPCFromHostedZoneOutput) { op := &request.Operation{ Name: opDisassociateVPCFromHostedZone, @@ -2167,7 +2218,7 @@ func (c *Route53) DisassociateVPCFromHostedZoneRequest(input *DisassociateVPCFro // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZone func (c *Route53) DisassociateVPCFromHostedZone(input *DisassociateVPCFromHostedZoneInput) (*DisassociateVPCFromHostedZoneOutput, error) { req, out := c.DisassociateVPCFromHostedZoneRequest(input) return out, req.Send() @@ -2189,6 +2240,90 @@ func (c *Route53) DisassociateVPCFromHostedZoneWithContext(ctx aws.Context, inpu return out, req.Send() } +const opGetAccountLimit = "GetAccountLimit" + +// GetAccountLimitRequest generates a "aws/request.Request" representing the +// client's request for the GetAccountLimit operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetAccountLimit for more information on using the GetAccountLimit +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetAccountLimitRequest method. +// req, resp := client.GetAccountLimitRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetAccountLimit +func (c *Route53) GetAccountLimitRequest(input *GetAccountLimitInput) (req *request.Request, output *GetAccountLimitOutput) { + op := &request.Operation{ + Name: opGetAccountLimit, + HTTPMethod: "GET", + HTTPPath: "/2013-04-01/accountlimit/{Type}", + } + + if input == nil { + input = &GetAccountLimitInput{} + } + + output = &GetAccountLimitOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetAccountLimit API operation for Amazon Route 53. +// +// Gets the specified limit for the current account, for example, the maximum +// number of health checks that you can create using the account. +// +// For the default limit, see Limits (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) +// in the Amazon Route 53 Developer Guide. To request a higher limit, open a +// case (https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-route53). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53's +// API operation GetAccountLimit for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetAccountLimit +func (c *Route53) GetAccountLimit(input *GetAccountLimitInput) (*GetAccountLimitOutput, error) { + req, out := c.GetAccountLimitRequest(input) + return out, req.Send() +} + +// GetAccountLimitWithContext is the same as GetAccountLimit with the addition of +// the ability to pass a context and additional request options. +// +// See GetAccountLimit for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Route53) GetAccountLimitWithContext(ctx aws.Context, input *GetAccountLimitInput, opts ...request.Option) (*GetAccountLimitOutput, error) { + req, out := c.GetAccountLimitRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetChange = "GetChange" // GetChangeRequest generates a "aws/request.Request" representing the @@ -2214,7 +2349,7 @@ const opGetChange = "GetChange" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChange +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChange func (c *Route53) GetChangeRequest(input *GetChangeInput) (req *request.Request, output *GetChangeOutput) { op := &request.Operation{ Name: opGetChange, @@ -2257,7 +2392,7 @@ func (c *Route53) GetChangeRequest(input *GetChangeInput) (req *request.Request, // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChange +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChange func (c *Route53) GetChange(input *GetChangeInput) (*GetChangeOutput, error) { req, out := c.GetChangeRequest(input) return out, req.Send() @@ -2304,7 +2439,7 @@ const opGetCheckerIpRanges = "GetCheckerIpRanges" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetCheckerIpRanges +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetCheckerIpRanges func (c *Route53) GetCheckerIpRangesRequest(input *GetCheckerIpRangesInput) (req *request.Request, output *GetCheckerIpRangesOutput) { op := &request.Operation{ Name: opGetCheckerIpRanges, @@ -2334,7 +2469,7 @@ func (c *Route53) GetCheckerIpRangesRequest(input *GetCheckerIpRangesInput) (req // // See the AWS API reference guide for Amazon Route 53's // API operation GetCheckerIpRanges for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetCheckerIpRanges +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetCheckerIpRanges func (c *Route53) GetCheckerIpRanges(input *GetCheckerIpRangesInput) (*GetCheckerIpRangesOutput, error) { req, out := c.GetCheckerIpRangesRequest(input) return out, req.Send() @@ -2381,7 +2516,7 @@ const opGetGeoLocation = "GetGeoLocation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocation func (c *Route53) GetGeoLocationRequest(input *GetGeoLocationInput) (req *request.Request, output *GetGeoLocationOutput) { op := &request.Operation{ Name: opGetGeoLocation, @@ -2433,7 +2568,7 @@ func (c *Route53) GetGeoLocationRequest(input *GetGeoLocationInput) (req *reques // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocation func (c *Route53) GetGeoLocation(input *GetGeoLocationInput) (*GetGeoLocationOutput, error) { req, out := c.GetGeoLocationRequest(input) return out, req.Send() @@ -2480,7 +2615,7 @@ const opGetHealthCheck = "GetHealthCheck" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheck +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheck func (c *Route53) GetHealthCheckRequest(input *GetHealthCheckInput) (req *request.Request, output *GetHealthCheckOutput) { op := &request.Operation{ Name: opGetHealthCheck, @@ -2520,7 +2655,7 @@ func (c *Route53) GetHealthCheckRequest(input *GetHealthCheckInput) (req *reques // The resource you're trying to access is unsupported on this Amazon Route // 53 endpoint. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheck +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheck func (c *Route53) GetHealthCheck(input *GetHealthCheckInput) (*GetHealthCheckOutput, error) { req, out := c.GetHealthCheckRequest(input) return out, req.Send() @@ -2567,7 +2702,7 @@ const opGetHealthCheckCount = "GetHealthCheckCount" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckCount +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckCount func (c *Route53) GetHealthCheckCountRequest(input *GetHealthCheckCountInput) (req *request.Request, output *GetHealthCheckCountOutput) { op := &request.Operation{ Name: opGetHealthCheckCount, @@ -2595,7 +2730,7 @@ func (c *Route53) GetHealthCheckCountRequest(input *GetHealthCheckCountInput) (r // // See the AWS API reference guide for Amazon Route 53's // API operation GetHealthCheckCount for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckCount +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckCount func (c *Route53) GetHealthCheckCount(input *GetHealthCheckCountInput) (*GetHealthCheckCountOutput, error) { req, out := c.GetHealthCheckCountRequest(input) return out, req.Send() @@ -2642,7 +2777,7 @@ const opGetHealthCheckLastFailureReason = "GetHealthCheckLastFailureReason" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReason +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReason func (c *Route53) GetHealthCheckLastFailureReasonRequest(input *GetHealthCheckLastFailureReasonInput) (req *request.Request, output *GetHealthCheckLastFailureReasonOutput) { op := &request.Operation{ Name: opGetHealthCheckLastFailureReason, @@ -2678,7 +2813,7 @@ func (c *Route53) GetHealthCheckLastFailureReasonRequest(input *GetHealthCheckLa // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReason +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReason func (c *Route53) GetHealthCheckLastFailureReason(input *GetHealthCheckLastFailureReasonInput) (*GetHealthCheckLastFailureReasonOutput, error) { req, out := c.GetHealthCheckLastFailureReasonRequest(input) return out, req.Send() @@ -2725,7 +2860,7 @@ const opGetHealthCheckStatus = "GetHealthCheckStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatus func (c *Route53) GetHealthCheckStatusRequest(input *GetHealthCheckStatusInput) (req *request.Request, output *GetHealthCheckStatusOutput) { op := &request.Operation{ Name: opGetHealthCheckStatus, @@ -2761,7 +2896,7 @@ func (c *Route53) GetHealthCheckStatusRequest(input *GetHealthCheckStatusInput) // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatus func (c *Route53) GetHealthCheckStatus(input *GetHealthCheckStatusInput) (*GetHealthCheckStatusOutput, error) { req, out := c.GetHealthCheckStatusRequest(input) return out, req.Send() @@ -2808,7 +2943,7 @@ const opGetHostedZone = "GetHostedZone" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZone func (c *Route53) GetHostedZoneRequest(input *GetHostedZoneInput) (req *request.Request, output *GetHostedZoneOutput) { op := &request.Operation{ Name: opGetHostedZone, @@ -2844,7 +2979,7 @@ func (c *Route53) GetHostedZoneRequest(input *GetHostedZoneInput) (req *request. // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZone func (c *Route53) GetHostedZone(input *GetHostedZoneInput) (*GetHostedZoneOutput, error) { req, out := c.GetHostedZoneRequest(input) return out, req.Send() @@ -2891,7 +3026,7 @@ const opGetHostedZoneCount = "GetHostedZoneCount" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCount +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCount func (c *Route53) GetHostedZoneCountRequest(input *GetHostedZoneCountInput) (req *request.Request, output *GetHostedZoneCountOutput) { op := &request.Operation{ Name: opGetHostedZoneCount, @@ -2924,7 +3059,7 @@ func (c *Route53) GetHostedZoneCountRequest(input *GetHostedZoneCountInput) (req // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCount +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCount func (c *Route53) GetHostedZoneCount(input *GetHostedZoneCountInput) (*GetHostedZoneCountOutput, error) { req, out := c.GetHostedZoneCountRequest(input) return out, req.Send() @@ -2946,6 +3081,96 @@ func (c *Route53) GetHostedZoneCountWithContext(ctx aws.Context, input *GetHoste return out, req.Send() } +const opGetHostedZoneLimit = "GetHostedZoneLimit" + +// GetHostedZoneLimitRequest generates a "aws/request.Request" representing the +// client's request for the GetHostedZoneLimit operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetHostedZoneLimit for more information on using the GetHostedZoneLimit +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetHostedZoneLimitRequest method. +// req, resp := client.GetHostedZoneLimitRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneLimit +func (c *Route53) GetHostedZoneLimitRequest(input *GetHostedZoneLimitInput) (req *request.Request, output *GetHostedZoneLimitOutput) { + op := &request.Operation{ + Name: opGetHostedZoneLimit, + HTTPMethod: "GET", + HTTPPath: "/2013-04-01/hostedzonelimit/{Id}/{Type}", + } + + if input == nil { + input = &GetHostedZoneLimitInput{} + } + + output = &GetHostedZoneLimitOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetHostedZoneLimit API operation for Amazon Route 53. +// +// Gets the specified limit for a specified hosted zone, for example, the maximum +// number of records that you can create in the hosted zone. +// +// For the default limit, see Limits (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) +// in the Amazon Route 53 Developer Guide. To request a higher limit, open a +// case (https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-route53). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53's +// API operation GetHostedZoneLimit for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. +// +// * ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// * ErrCodeHostedZoneNotPrivate "HostedZoneNotPrivate" +// The specified hosted zone is a public hosted zone, not a private hosted zone. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneLimit +func (c *Route53) GetHostedZoneLimit(input *GetHostedZoneLimitInput) (*GetHostedZoneLimitOutput, error) { + req, out := c.GetHostedZoneLimitRequest(input) + return out, req.Send() +} + +// GetHostedZoneLimitWithContext is the same as GetHostedZoneLimit with the addition of +// the ability to pass a context and additional request options. +// +// See GetHostedZoneLimit for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Route53) GetHostedZoneLimitWithContext(ctx aws.Context, input *GetHostedZoneLimitInput, opts ...request.Option) (*GetHostedZoneLimitOutput, error) { + req, out := c.GetHostedZoneLimitRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetQueryLoggingConfig = "GetQueryLoggingConfig" // GetQueryLoggingConfigRequest generates a "aws/request.Request" representing the @@ -2971,7 +3196,7 @@ const opGetQueryLoggingConfig = "GetQueryLoggingConfig" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfig func (c *Route53) GetQueryLoggingConfigRequest(input *GetQueryLoggingConfigInput) (req *request.Request, output *GetQueryLoggingConfigOutput) { op := &request.Operation{ Name: opGetQueryLoggingConfig, @@ -3009,7 +3234,7 @@ func (c *Route53) GetQueryLoggingConfigRequest(input *GetQueryLoggingConfigInput // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfig func (c *Route53) GetQueryLoggingConfig(input *GetQueryLoggingConfigInput) (*GetQueryLoggingConfigOutput, error) { req, out := c.GetQueryLoggingConfigRequest(input) return out, req.Send() @@ -3056,7 +3281,7 @@ const opGetReusableDelegationSet = "GetReusableDelegationSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSet func (c *Route53) GetReusableDelegationSetRequest(input *GetReusableDelegationSetInput) (req *request.Request, output *GetReusableDelegationSetOutput) { op := &request.Operation{ Name: opGetReusableDelegationSet, @@ -3095,7 +3320,7 @@ func (c *Route53) GetReusableDelegationSetRequest(input *GetReusableDelegationSe // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSet func (c *Route53) GetReusableDelegationSet(input *GetReusableDelegationSetInput) (*GetReusableDelegationSetOutput, error) { req, out := c.GetReusableDelegationSetRequest(input) return out, req.Send() @@ -3117,6 +3342,93 @@ func (c *Route53) GetReusableDelegationSetWithContext(ctx aws.Context, input *Ge return out, req.Send() } +const opGetReusableDelegationSetLimit = "GetReusableDelegationSetLimit" + +// GetReusableDelegationSetLimitRequest generates a "aws/request.Request" representing the +// client's request for the GetReusableDelegationSetLimit operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetReusableDelegationSetLimit for more information on using the GetReusableDelegationSetLimit +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetReusableDelegationSetLimitRequest method. +// req, resp := client.GetReusableDelegationSetLimitRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetLimit +func (c *Route53) GetReusableDelegationSetLimitRequest(input *GetReusableDelegationSetLimitInput) (req *request.Request, output *GetReusableDelegationSetLimitOutput) { + op := &request.Operation{ + Name: opGetReusableDelegationSetLimit, + HTTPMethod: "GET", + HTTPPath: "/2013-04-01/reusabledelegationsetlimit/{Id}/{Type}", + } + + if input == nil { + input = &GetReusableDelegationSetLimitInput{} + } + + output = &GetReusableDelegationSetLimitOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetReusableDelegationSetLimit API operation for Amazon Route 53. +// +// Gets the maximum number of hosted zones that you can associate with the specified +// reusable delegation set. +// +// For the default limit, see Limits (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) +// in the Amazon Route 53 Developer Guide. To request a higher limit, open a +// case (https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-route53). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53's +// API operation GetReusableDelegationSetLimit for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// * ErrCodeNoSuchDelegationSet "NoSuchDelegationSet" +// A reusable delegation set with the specified ID does not exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetLimit +func (c *Route53) GetReusableDelegationSetLimit(input *GetReusableDelegationSetLimitInput) (*GetReusableDelegationSetLimitOutput, error) { + req, out := c.GetReusableDelegationSetLimitRequest(input) + return out, req.Send() +} + +// GetReusableDelegationSetLimitWithContext is the same as GetReusableDelegationSetLimit with the addition of +// the ability to pass a context and additional request options. +// +// See GetReusableDelegationSetLimit for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Route53) GetReusableDelegationSetLimitWithContext(ctx aws.Context, input *GetReusableDelegationSetLimitInput, opts ...request.Option) (*GetReusableDelegationSetLimitOutput, error) { + req, out := c.GetReusableDelegationSetLimitRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetTrafficPolicy = "GetTrafficPolicy" // GetTrafficPolicyRequest generates a "aws/request.Request" representing the @@ -3142,7 +3454,7 @@ const opGetTrafficPolicy = "GetTrafficPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicy func (c *Route53) GetTrafficPolicyRequest(input *GetTrafficPolicyInput) (req *request.Request, output *GetTrafficPolicyOutput) { op := &request.Operation{ Name: opGetTrafficPolicy, @@ -3177,7 +3489,7 @@ func (c *Route53) GetTrafficPolicyRequest(input *GetTrafficPolicyInput) (req *re // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicy func (c *Route53) GetTrafficPolicy(input *GetTrafficPolicyInput) (*GetTrafficPolicyOutput, error) { req, out := c.GetTrafficPolicyRequest(input) return out, req.Send() @@ -3224,7 +3536,7 @@ const opGetTrafficPolicyInstance = "GetTrafficPolicyInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstance func (c *Route53) GetTrafficPolicyInstanceRequest(input *GetTrafficPolicyInstanceInput) (req *request.Request, output *GetTrafficPolicyInstanceOutput) { op := &request.Operation{ Name: opGetTrafficPolicyInstance, @@ -3267,7 +3579,7 @@ func (c *Route53) GetTrafficPolicyInstanceRequest(input *GetTrafficPolicyInstanc // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstance func (c *Route53) GetTrafficPolicyInstance(input *GetTrafficPolicyInstanceInput) (*GetTrafficPolicyInstanceOutput, error) { req, out := c.GetTrafficPolicyInstanceRequest(input) return out, req.Send() @@ -3314,7 +3626,7 @@ const opGetTrafficPolicyInstanceCount = "GetTrafficPolicyInstanceCount" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceCount +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceCount func (c *Route53) GetTrafficPolicyInstanceCountRequest(input *GetTrafficPolicyInstanceCountInput) (req *request.Request, output *GetTrafficPolicyInstanceCountOutput) { op := &request.Operation{ Name: opGetTrafficPolicyInstanceCount, @@ -3342,7 +3654,7 @@ func (c *Route53) GetTrafficPolicyInstanceCountRequest(input *GetTrafficPolicyIn // // See the AWS API reference guide for Amazon Route 53's // API operation GetTrafficPolicyInstanceCount for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceCount +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceCount func (c *Route53) GetTrafficPolicyInstanceCount(input *GetTrafficPolicyInstanceCountInput) (*GetTrafficPolicyInstanceCountOutput, error) { req, out := c.GetTrafficPolicyInstanceCountRequest(input) return out, req.Send() @@ -3389,7 +3701,7 @@ const opListGeoLocations = "ListGeoLocations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListGeoLocations +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListGeoLocations func (c *Route53) ListGeoLocationsRequest(input *ListGeoLocationsInput) (req *request.Request, output *ListGeoLocationsOutput) { op := &request.Operation{ Name: opListGeoLocations, @@ -3426,7 +3738,7 @@ func (c *Route53) ListGeoLocationsRequest(input *ListGeoLocationsInput) (req *re // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListGeoLocations +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListGeoLocations func (c *Route53) ListGeoLocations(input *ListGeoLocationsInput) (*ListGeoLocationsOutput, error) { req, out := c.ListGeoLocationsRequest(input) return out, req.Send() @@ -3473,7 +3785,7 @@ const opListHealthChecks = "ListHealthChecks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHealthChecks +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHealthChecks func (c *Route53) ListHealthChecksRequest(input *ListHealthChecksInput) (req *request.Request, output *ListHealthChecksOutput) { op := &request.Operation{ Name: opListHealthChecks, @@ -3516,7 +3828,7 @@ func (c *Route53) ListHealthChecksRequest(input *ListHealthChecksInput) (req *re // The resource you're trying to access is unsupported on this Amazon Route // 53 endpoint. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHealthChecks +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHealthChecks func (c *Route53) ListHealthChecks(input *ListHealthChecksInput) (*ListHealthChecksOutput, error) { req, out := c.ListHealthChecksRequest(input) return out, req.Send() @@ -3613,7 +3925,7 @@ const opListHostedZones = "ListHostedZones" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZones +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZones func (c *Route53) ListHostedZonesRequest(input *ListHostedZonesInput) (req *request.Request, output *ListHostedZonesOutput) { op := &request.Operation{ Name: opListHostedZones, @@ -3663,7 +3975,7 @@ func (c *Route53) ListHostedZonesRequest(input *ListHostedZonesInput) (req *requ // * ErrCodeDelegationSetNotReusable "DelegationSetNotReusable" // A reusable delegation set with the specified ID does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZones +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZones func (c *Route53) ListHostedZones(input *ListHostedZonesInput) (*ListHostedZonesOutput, error) { req, out := c.ListHostedZonesRequest(input) return out, req.Send() @@ -3760,7 +4072,7 @@ const opListHostedZonesByName = "ListHostedZonesByName" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByName +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByName func (c *Route53) ListHostedZonesByNameRequest(input *ListHostedZonesByNameInput) (req *request.Request, output *ListHostedZonesByNameOutput) { op := &request.Operation{ Name: opListHostedZonesByName, @@ -3844,7 +4156,7 @@ func (c *Route53) ListHostedZonesByNameRequest(input *ListHostedZonesByNameInput // * ErrCodeInvalidDomainName "InvalidDomainName" // The specified domain name is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByName +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByName func (c *Route53) ListHostedZonesByName(input *ListHostedZonesByNameInput) (*ListHostedZonesByNameOutput, error) { req, out := c.ListHostedZonesByNameRequest(input) return out, req.Send() @@ -3891,7 +4203,7 @@ const opListQueryLoggingConfigs = "ListQueryLoggingConfigs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigs +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigs func (c *Route53) ListQueryLoggingConfigsRequest(input *ListQueryLoggingConfigsInput) (req *request.Request, output *ListQueryLoggingConfigsOutput) { op := &request.Operation{ Name: opListQueryLoggingConfigs, @@ -3937,7 +4249,7 @@ func (c *Route53) ListQueryLoggingConfigsRequest(input *ListQueryLoggingConfigsI // * ErrCodeNoSuchHostedZone "NoSuchHostedZone" // No hosted zone exists with the ID that you specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigs +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigs func (c *Route53) ListQueryLoggingConfigs(input *ListQueryLoggingConfigsInput) (*ListQueryLoggingConfigsOutput, error) { req, out := c.ListQueryLoggingConfigsRequest(input) return out, req.Send() @@ -3984,7 +4296,7 @@ const opListResourceRecordSets = "ListResourceRecordSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSets func (c *Route53) ListResourceRecordSetsRequest(input *ListResourceRecordSetsInput) (req *request.Request, output *ListResourceRecordSetsOutput) { op := &request.Operation{ Name: opListResourceRecordSets, @@ -4063,7 +4375,7 @@ func (c *Route53) ListResourceRecordSetsRequest(input *ListResourceRecordSetsInp // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSets func (c *Route53) ListResourceRecordSets(input *ListResourceRecordSetsInput) (*ListResourceRecordSetsOutput, error) { req, out := c.ListResourceRecordSetsRequest(input) return out, req.Send() @@ -4160,7 +4472,7 @@ const opListReusableDelegationSets = "ListReusableDelegationSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListReusableDelegationSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListReusableDelegationSets func (c *Route53) ListReusableDelegationSetsRequest(input *ListReusableDelegationSetsInput) (req *request.Request, output *ListReusableDelegationSetsOutput) { op := &request.Operation{ Name: opListReusableDelegationSets, @@ -4193,7 +4505,7 @@ func (c *Route53) ListReusableDelegationSetsRequest(input *ListReusableDelegatio // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListReusableDelegationSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListReusableDelegationSets func (c *Route53) ListReusableDelegationSets(input *ListReusableDelegationSetsInput) (*ListReusableDelegationSetsOutput, error) { req, out := c.ListReusableDelegationSetsRequest(input) return out, req.Send() @@ -4240,7 +4552,7 @@ const opListTagsForResource = "ListTagsForResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResource func (c *Route53) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ Name: opListTagsForResource, @@ -4293,7 +4605,7 @@ func (c *Route53) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // * ErrCodeThrottlingException "ThrottlingException" // The limit on the number of requests per second was exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResource func (c *Route53) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { req, out := c.ListTagsForResourceRequest(input) return out, req.Send() @@ -4340,7 +4652,7 @@ const opListTagsForResources = "ListTagsForResources" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResources +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResources func (c *Route53) ListTagsForResourcesRequest(input *ListTagsForResourcesInput) (req *request.Request, output *ListTagsForResourcesOutput) { op := &request.Operation{ Name: opListTagsForResources, @@ -4393,7 +4705,7 @@ func (c *Route53) ListTagsForResourcesRequest(input *ListTagsForResourcesInput) // * ErrCodeThrottlingException "ThrottlingException" // The limit on the number of requests per second was exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResources +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResources func (c *Route53) ListTagsForResources(input *ListTagsForResourcesInput) (*ListTagsForResourcesOutput, error) { req, out := c.ListTagsForResourcesRequest(input) return out, req.Send() @@ -4440,7 +4752,7 @@ const opListTrafficPolicies = "ListTrafficPolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicies func (c *Route53) ListTrafficPoliciesRequest(input *ListTrafficPoliciesInput) (req *request.Request, output *ListTrafficPoliciesOutput) { op := &request.Operation{ Name: opListTrafficPolicies, @@ -4474,7 +4786,7 @@ func (c *Route53) ListTrafficPoliciesRequest(input *ListTrafficPoliciesInput) (r // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicies func (c *Route53) ListTrafficPolicies(input *ListTrafficPoliciesInput) (*ListTrafficPoliciesOutput, error) { req, out := c.ListTrafficPoliciesRequest(input) return out, req.Send() @@ -4521,7 +4833,7 @@ const opListTrafficPolicyInstances = "ListTrafficPolicyInstances" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstances func (c *Route53) ListTrafficPolicyInstancesRequest(input *ListTrafficPolicyInstancesInput) (req *request.Request, output *ListTrafficPolicyInstancesOutput) { op := &request.Operation{ Name: opListTrafficPolicyInstances, @@ -4566,7 +4878,7 @@ func (c *Route53) ListTrafficPolicyInstancesRequest(input *ListTrafficPolicyInst // * ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance" // No traffic policy instance exists with the specified ID. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstances +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstances func (c *Route53) ListTrafficPolicyInstances(input *ListTrafficPolicyInstancesInput) (*ListTrafficPolicyInstancesOutput, error) { req, out := c.ListTrafficPolicyInstancesRequest(input) return out, req.Send() @@ -4613,7 +4925,7 @@ const opListTrafficPolicyInstancesByHostedZone = "ListTrafficPolicyInstancesByHo // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByHostedZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByHostedZone func (c *Route53) ListTrafficPolicyInstancesByHostedZoneRequest(input *ListTrafficPolicyInstancesByHostedZoneInput) (req *request.Request, output *ListTrafficPolicyInstancesByHostedZoneOutput) { op := &request.Operation{ Name: opListTrafficPolicyInstancesByHostedZone, @@ -4661,7 +4973,7 @@ func (c *Route53) ListTrafficPolicyInstancesByHostedZoneRequest(input *ListTraff // * ErrCodeNoSuchHostedZone "NoSuchHostedZone" // No hosted zone exists with the ID that you specified. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByHostedZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByHostedZone func (c *Route53) ListTrafficPolicyInstancesByHostedZone(input *ListTrafficPolicyInstancesByHostedZoneInput) (*ListTrafficPolicyInstancesByHostedZoneOutput, error) { req, out := c.ListTrafficPolicyInstancesByHostedZoneRequest(input) return out, req.Send() @@ -4708,7 +5020,7 @@ const opListTrafficPolicyInstancesByPolicy = "ListTrafficPolicyInstancesByPolicy // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByPolicy func (c *Route53) ListTrafficPolicyInstancesByPolicyRequest(input *ListTrafficPolicyInstancesByPolicyInput) (req *request.Request, output *ListTrafficPolicyInstancesByPolicyOutput) { op := &request.Operation{ Name: opListTrafficPolicyInstancesByPolicy, @@ -4756,7 +5068,7 @@ func (c *Route53) ListTrafficPolicyInstancesByPolicyRequest(input *ListTrafficPo // * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" // No traffic policy exists with the specified ID. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByPolicy func (c *Route53) ListTrafficPolicyInstancesByPolicy(input *ListTrafficPolicyInstancesByPolicyInput) (*ListTrafficPolicyInstancesByPolicyOutput, error) { req, out := c.ListTrafficPolicyInstancesByPolicyRequest(input) return out, req.Send() @@ -4803,7 +5115,7 @@ const opListTrafficPolicyVersions = "ListTrafficPolicyVersions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyVersions func (c *Route53) ListTrafficPolicyVersionsRequest(input *ListTrafficPolicyVersionsInput) (req *request.Request, output *ListTrafficPolicyVersionsOutput) { op := &request.Operation{ Name: opListTrafficPolicyVersions, @@ -4840,7 +5152,7 @@ func (c *Route53) ListTrafficPolicyVersionsRequest(input *ListTrafficPolicyVersi // * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" // No traffic policy exists with the specified ID. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyVersions func (c *Route53) ListTrafficPolicyVersions(input *ListTrafficPolicyVersionsInput) (*ListTrafficPolicyVersionsOutput, error) { req, out := c.ListTrafficPolicyVersionsRequest(input) return out, req.Send() @@ -4887,7 +5199,7 @@ const opListVPCAssociationAuthorizations = "ListVPCAssociationAuthorizations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListVPCAssociationAuthorizations +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListVPCAssociationAuthorizations func (c *Route53) ListVPCAssociationAuthorizationsRequest(input *ListVPCAssociationAuthorizationsInput) (req *request.Request, output *ListVPCAssociationAuthorizationsOutput) { op := &request.Operation{ Name: opListVPCAssociationAuthorizations, @@ -4931,7 +5243,7 @@ func (c *Route53) ListVPCAssociationAuthorizationsRequest(input *ListVPCAssociat // The value that you specified to get the second or subsequent page of results // is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListVPCAssociationAuthorizations +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListVPCAssociationAuthorizations func (c *Route53) ListVPCAssociationAuthorizations(input *ListVPCAssociationAuthorizationsInput) (*ListVPCAssociationAuthorizationsOutput, error) { req, out := c.ListVPCAssociationAuthorizationsRequest(input) return out, req.Send() @@ -4978,7 +5290,7 @@ const opTestDNSAnswer = "TestDNSAnswer" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TestDNSAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TestDNSAnswer func (c *Route53) TestDNSAnswerRequest(input *TestDNSAnswerInput) (req *request.Request, output *TestDNSAnswerOutput) { op := &request.Operation{ Name: opTestDNSAnswer, @@ -5015,7 +5327,7 @@ func (c *Route53) TestDNSAnswerRequest(input *TestDNSAnswerInput) (req *request. // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TestDNSAnswer +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TestDNSAnswer func (c *Route53) TestDNSAnswer(input *TestDNSAnswerInput) (*TestDNSAnswerOutput, error) { req, out := c.TestDNSAnswerRequest(input) return out, req.Send() @@ -5062,7 +5374,7 @@ const opUpdateHealthCheck = "UpdateHealthCheck" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHealthCheck +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHealthCheck func (c *Route53) UpdateHealthCheckRequest(input *UpdateHealthCheckInput) (req *request.Request, output *UpdateHealthCheckOutput) { op := &request.Operation{ Name: opUpdateHealthCheck, @@ -5106,7 +5418,7 @@ func (c *Route53) UpdateHealthCheckRequest(input *UpdateHealthCheckInput) (req * // The value of HealthCheckVersion in the request doesn't match the value of // HealthCheckVersion in the health check. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHealthCheck +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHealthCheck func (c *Route53) UpdateHealthCheck(input *UpdateHealthCheckInput) (*UpdateHealthCheckOutput, error) { req, out := c.UpdateHealthCheckRequest(input) return out, req.Send() @@ -5153,7 +5465,7 @@ const opUpdateHostedZoneComment = "UpdateHostedZoneComment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHostedZoneComment +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHostedZoneComment func (c *Route53) UpdateHostedZoneCommentRequest(input *UpdateHostedZoneCommentInput) (req *request.Request, output *UpdateHostedZoneCommentOutput) { op := &request.Operation{ Name: opUpdateHostedZoneComment, @@ -5188,7 +5500,7 @@ func (c *Route53) UpdateHostedZoneCommentRequest(input *UpdateHostedZoneCommentI // * ErrCodeInvalidInput "InvalidInput" // The input is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHostedZoneComment +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHostedZoneComment func (c *Route53) UpdateHostedZoneComment(input *UpdateHostedZoneCommentInput) (*UpdateHostedZoneCommentOutput, error) { req, out := c.UpdateHostedZoneCommentRequest(input) return out, req.Send() @@ -5235,7 +5547,7 @@ const opUpdateTrafficPolicyComment = "UpdateTrafficPolicyComment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyComment +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyComment func (c *Route53) UpdateTrafficPolicyCommentRequest(input *UpdateTrafficPolicyCommentInput) (req *request.Request, output *UpdateTrafficPolicyCommentOutput) { op := &request.Operation{ Name: opUpdateTrafficPolicyComment, @@ -5274,7 +5586,7 @@ func (c *Route53) UpdateTrafficPolicyCommentRequest(input *UpdateTrafficPolicyCo // Another user submitted a request to create, update, or delete the object // at the same time that you did. Retry the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyComment +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyComment func (c *Route53) UpdateTrafficPolicyComment(input *UpdateTrafficPolicyCommentInput) (*UpdateTrafficPolicyCommentOutput, error) { req, out := c.UpdateTrafficPolicyCommentRequest(input) return out, req.Send() @@ -5321,7 +5633,7 @@ const opUpdateTrafficPolicyInstance = "UpdateTrafficPolicyInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyInstance func (c *Route53) UpdateTrafficPolicyInstanceRequest(input *UpdateTrafficPolicyInstanceInput) (req *request.Request, output *UpdateTrafficPolicyInstanceOutput) { op := &request.Operation{ Name: opUpdateTrafficPolicyInstance, @@ -5389,7 +5701,7 @@ func (c *Route53) UpdateTrafficPolicyInstanceRequest(input *UpdateTrafficPolicyI // that has a different DNS type than the current type for the instance. You // specified the type in the JSON document in the CreateTrafficPolicy or CreateTrafficPolicyVersionrequest. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyInstance func (c *Route53) UpdateTrafficPolicyInstance(input *UpdateTrafficPolicyInstanceInput) (*UpdateTrafficPolicyInstanceOutput, error) { req, out := c.UpdateTrafficPolicyInstanceRequest(input) return out, req.Send() @@ -5411,10 +5723,66 @@ func (c *Route53) UpdateTrafficPolicyInstanceWithContext(ctx aws.Context, input return out, req.Send() } +// A complex type that contains the type of limit that you specified in the +// request and the current value for that limit. +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AccountLimit +type AccountLimit struct { + _ struct{} `type:"structure"` + + // The limit that you requested. Valid values include the following: + // + // * MAX_HEALTH_CHECKS_BY_OWNER: The maximum number of health checks that + // you can create using the current account. + // + // * MAX_HOSTED_ZONES_BY_OWNER: The maximum number of hosted zones that you + // can create using the current account. + // + // * MAX_REUSABLE_DELEGATION_SETS_BY_OWNER: The maximum number of reusable + // delegation sets that you can create using the current account. + // + // * MAX_TRAFFIC_POLICIES_BY_OWNER: The maximum number of traffic policies + // that you can create using the current account. + // + // * MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER: The maximum number of traffic + // policy instances that you can create using the current account. (Traffic + // policy instances are referred to as traffic flow policy records in the + // Amazon Route 53 console.) + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"AccountLimitType"` + + // The current value for the limit that is specified by AccountLimit$Type. + // + // Value is a required field + Value *int64 `min:"1" type:"long" required:"true"` +} + +// String returns the string representation +func (s AccountLimit) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AccountLimit) GoString() string { + return s.String() +} + +// SetType sets the Type field's value. +func (s *AccountLimit) SetType(v string) *AccountLimit { + s.Type = &v + return s +} + +// SetValue sets the Value field's value. +func (s *AccountLimit) SetValue(v int64) *AccountLimit { + s.Value = &v + return s +} + // A complex type that identifies the CloudWatch alarm that you want Amazon // Route 53 health checkers to use to determine whether this health check is // healthy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AlarmIdentifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AlarmIdentifier type AlarmIdentifier struct { _ struct{} `type:"structure"` @@ -5495,7 +5863,7 @@ func (s *AlarmIdentifier) SetRegion(v string) *AlarmIdentifier { // // * For information about creating failover resource record sets in a private // hosted zone, see Configuring Failover in a Private Hosted Zone (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-private-hosted-zones.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AliasTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AliasTarget type AliasTarget struct { _ struct{} `type:"structure"` @@ -5646,20 +6014,23 @@ type AliasTarget struct { // in the navigation pane, select the load balancer, and get the value of the // Hosted zone field on the Description tab. // - // Elastic Load Balancing API: Use DescribeLoadBalancers to get the value of - // CanonicalHostedZoneNameId. For more information, see the applicable guide: + // Elastic Load Balancing API: Use DescribeLoadBalancers to get the applicable + // value. For more information, see the applicable guide: // - // Classic Load Balancers: DescribeLoadBalancers (http://docs.aws.amazon.com/elasticloadbalancing/2012-06-01/APIReference/API_DescribeLoadBalancers.html) + // Classic Load Balancers: Use DescribeLoadBalancers (http://docs.aws.amazon.com/elasticloadbalancing/2012-06-01/APIReference/API_DescribeLoadBalancers.html) + // to get the value of CanonicalHostedZoneNameId. // - // Application and Network Load Balancers: DescribeLoadBalancers (http://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) + // Application and Network Load Balancers: Use DescribeLoadBalancers (http://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) + // to get the value of CanonicalHostedZoneId. // - // AWS CLI: Use describe-load-balancers to get the value of CanonicalHostedZoneNameID - // (for Classic Load Balancers) or CanonicalHostedZoneNameID (for Application - // and Network Load Balancers). For more information, see the applicable guide: + // AWS CLI: Use describe-load-balancers to get the applicable value. For more + // information, see the applicable guide: // - // Classic Load Balancers: describe-load-balancers (http://docs.aws.amazon.com/cli/latest/reference/elb/describe-load-balancers.html) + // Classic Load Balancers: Use describe-load-balancers (http://docs.aws.amazon.com/cli/latest/reference/elb/describe-load-balancers.html) + // to get the value of CanonicalHostedZoneNameId. // - // Application and Network Load Balancers: describe-load-balancers (http://docs.aws.amazon.com/cli/latest/reference/elbv2/describe-load-balancers.html) + // Application and Network Load Balancers: Use describe-load-balancers (http://docs.aws.amazon.com/cli/latest/reference/elbv2/describe-load-balancers.html) + // to get the value of CanonicalHostedZoneId. // // An Amazon S3 bucket configured as a static websiteSpecify the hosted zone // ID for the region that you created the bucket in. For more information about @@ -5724,7 +6095,7 @@ func (s *AliasTarget) SetHostedZoneId(v string) *AliasTarget { // A complex type that contains information about the request to associate a // VPC with a private hosted zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZoneRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZoneRequest type AssociateVPCWithHostedZoneInput struct { _ struct{} `locationName:"AssociateVPCWithHostedZoneRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -5798,7 +6169,7 @@ func (s *AssociateVPCWithHostedZoneInput) SetVPC(v *VPC) *AssociateVPCWithHosted // A complex type that contains the response information for the AssociateVPCWithHostedZone // request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZoneResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZoneResponse type AssociateVPCWithHostedZoneOutput struct { _ struct{} `type:"structure"` @@ -5825,7 +6196,7 @@ func (s *AssociateVPCWithHostedZoneOutput) SetChangeInfo(v *ChangeInfo) *Associa } // The information for each resource record set that you want to change. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/Change +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/Change type Change struct { _ struct{} `type:"structure"` @@ -5846,41 +6217,6 @@ type Change struct { // 53 creates it. If a resource record set does exist, Amazon Route 53 updates // it with the values in the request. // - // The values that you need to include in the request depend on the type of - // resource record set that you're creating, deleting, or updating: - // - // Basic resource record sets (excluding alias, failover, geolocation, latency, - // and weighted resource record sets) - // - // * Name - // - // * Type - // - // * TTL - // - // Failover, geolocation, latency, or weighted resource record sets (excluding - // alias resource record sets) - // - // * Name - // - // * Type - // - // * TTL - // - // * SetIdentifier - // - // Alias resource record sets (including failover alias, geolocation alias, - // latency alias, and weighted alias resource record sets) - // - // * Name - // - // * Type - // - // * AliasTarget (includes DNSName, EvaluateTargetHealth, and HostedZoneId) - // - // * SetIdentifier (for failover, geolocation, latency, and weighted resource - // record sets) - // // Action is a required field Action *string `type:"string" required:"true" enum:"ChangeAction"` @@ -5934,7 +6270,7 @@ func (s *Change) SetResourceRecordSet(v *ResourceRecordSet) *Change { } // The information for a change request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeBatch +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeBatch type ChangeBatch struct { _ struct{} `type:"structure"` @@ -5997,7 +6333,7 @@ func (s *ChangeBatch) SetComment(v string) *ChangeBatch { // A complex type that describes change information about changes made to your // hosted zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeInfo type ChangeInfo struct { _ struct{} `type:"structure"` @@ -6063,7 +6399,7 @@ func (s *ChangeInfo) SetSubmittedAt(v time.Time) *ChangeInfo { } // A complex type that contains change information for the resource record set. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeResourceRecordSetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeResourceRecordSetsRequest type ChangeResourceRecordSetsInput struct { _ struct{} `locationName:"ChangeResourceRecordSetsRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -6123,7 +6459,7 @@ func (s *ChangeResourceRecordSetsInput) SetHostedZoneId(v string) *ChangeResourc } // A complex type containing the response for the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeResourceRecordSetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeResourceRecordSetsResponse type ChangeResourceRecordSetsOutput struct { _ struct{} `type:"structure"` @@ -6155,7 +6491,7 @@ func (s *ChangeResourceRecordSetsOutput) SetChangeInfo(v *ChangeInfo) *ChangeRes // A complex type that contains information about the tags that you want to // add, edit, or delete. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResourceRequest type ChangeTagsForResourceInput struct { _ struct{} `locationName:"ChangeTagsForResourceRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -6242,7 +6578,7 @@ func (s *ChangeTagsForResourceInput) SetResourceType(v string) *ChangeTagsForRes } // Empty response for the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResourceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResourceResponse type ChangeTagsForResourceOutput struct { _ struct{} `type:"structure"` } @@ -6259,7 +6595,7 @@ func (s ChangeTagsForResourceOutput) GoString() string { // A complex type that contains information about the CloudWatch alarm that // Amazon Route 53 is monitoring for this health check. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CloudWatchAlarmConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CloudWatchAlarmConfiguration type CloudWatchAlarmConfiguration struct { _ struct{} `type:"structure"` @@ -6371,7 +6707,7 @@ func (s *CloudWatchAlarmConfiguration) SetThreshold(v float64) *CloudWatchAlarmC } // A complex type that contains the health check request information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheckRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheckRequest type CreateHealthCheckInput struct { _ struct{} `locationName:"CreateHealthCheckRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -6452,7 +6788,7 @@ func (s *CreateHealthCheckInput) SetHealthCheckConfig(v *HealthCheckConfig) *Cre } // A complex type containing the response information for the new health check. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheckResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheckResponse type CreateHealthCheckOutput struct { _ struct{} `type:"structure"` @@ -6491,7 +6827,7 @@ func (s *CreateHealthCheckOutput) SetLocation(v string) *CreateHealthCheckOutput // A complex type that contains information about the request to create a hosted // zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZoneRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZoneRequest type CreateHostedZoneInput struct { _ struct{} `locationName:"CreateHostedZoneRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -6608,7 +6944,7 @@ func (s *CreateHostedZoneInput) SetVPC(v *VPC) *CreateHostedZoneInput { } // A complex type containing the response information for the hosted zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZoneResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZoneResponse type CreateHostedZoneOutput struct { _ struct{} `type:"structure"` @@ -6677,7 +7013,7 @@ func (s *CreateHostedZoneOutput) SetVPC(v *VPC) *CreateHostedZoneOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfigRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfigRequest type CreateQueryLoggingConfigInput struct { _ struct{} `locationName:"CreateQueryLoggingConfigRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -6739,7 +7075,7 @@ func (s *CreateQueryLoggingConfigInput) SetHostedZoneId(v string) *CreateQueryLo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfigResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfigResponse type CreateQueryLoggingConfigOutput struct { _ struct{} `type:"structure"` @@ -6778,7 +7114,7 @@ func (s *CreateQueryLoggingConfigOutput) SetQueryLoggingConfig(v *QueryLoggingCo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateReusableDelegationSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateReusableDelegationSetRequest type CreateReusableDelegationSetInput struct { _ struct{} `locationName:"CreateReusableDelegationSetRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -6834,7 +7170,7 @@ func (s *CreateReusableDelegationSetInput) SetHostedZoneId(v string) *CreateReus return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateReusableDelegationSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateReusableDelegationSetResponse type CreateReusableDelegationSetOutput struct { _ struct{} `type:"structure"` @@ -6873,7 +7209,7 @@ func (s *CreateReusableDelegationSetOutput) SetLocation(v string) *CreateReusabl // A complex type that contains information about the traffic policy that you // want to create. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyRequest type CreateTrafficPolicyInput struct { _ struct{} `locationName:"CreateTrafficPolicyRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -6938,7 +7274,7 @@ func (s *CreateTrafficPolicyInput) SetName(v string) *CreateTrafficPolicyInput { // A complex type that contains information about the resource record sets that // you want to create based on a specified traffic policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstanceRequest type CreateTrafficPolicyInstanceInput struct { _ struct{} `locationName:"CreateTrafficPolicyInstanceRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -7047,7 +7383,7 @@ func (s *CreateTrafficPolicyInstanceInput) SetTrafficPolicyVersion(v int64) *Cre // A complex type that contains the response information for the CreateTrafficPolicyInstance // request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstanceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstanceResponse type CreateTrafficPolicyInstanceOutput struct { _ struct{} `type:"structure"` @@ -7086,7 +7422,7 @@ func (s *CreateTrafficPolicyInstanceOutput) SetTrafficPolicyInstance(v *TrafficP // A complex type that contains the response information for the CreateTrafficPolicy // request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyResponse type CreateTrafficPolicyOutput struct { _ struct{} `type:"structure"` @@ -7125,7 +7461,7 @@ func (s *CreateTrafficPolicyOutput) SetTrafficPolicy(v *TrafficPolicy) *CreateTr // A complex type that contains information about the traffic policy that you // want to create a new version for. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyVersionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyVersionRequest type CreateTrafficPolicyVersionInput struct { _ struct{} `locationName:"CreateTrafficPolicyVersionRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -7195,7 +7531,7 @@ func (s *CreateTrafficPolicyVersionInput) SetId(v string) *CreateTrafficPolicyVe // A complex type that contains the response information for the CreateTrafficPolicyVersion // request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyVersionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyVersionResponse type CreateTrafficPolicyVersionOutput struct { _ struct{} `type:"structure"` @@ -7236,7 +7572,7 @@ func (s *CreateTrafficPolicyVersionOutput) SetTrafficPolicy(v *TrafficPolicy) *C // A complex type that contains information about the request to authorize associating // a VPC with your private hosted zone. Authorization is only required when // a private hosted zone and a VPC were created by using different accounts. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateVPCAssociationAuthorizationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateVPCAssociationAuthorizationRequest type CreateVPCAssociationAuthorizationInput struct { _ struct{} `locationName:"CreateVPCAssociationAuthorizationRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -7298,7 +7634,7 @@ func (s *CreateVPCAssociationAuthorizationInput) SetVPC(v *VPC) *CreateVPCAssoci // A complex type that contains the response information from a CreateVPCAssociationAuthorization // request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateVPCAssociationAuthorizationResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateVPCAssociationAuthorizationResponse type CreateVPCAssociationAuthorizationOutput struct { _ struct{} `type:"structure"` @@ -7337,7 +7673,7 @@ func (s *CreateVPCAssociationAuthorizationOutput) SetVPC(v *VPC) *CreateVPCAssoc // A complex type that lists the name servers in a delegation set, as well as // the CallerReference and the ID for the delegation set. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DelegationSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DelegationSet type DelegationSet struct { _ struct{} `type:"structure"` @@ -7384,7 +7720,7 @@ func (s *DelegationSet) SetNameServers(v []*string) *DelegationSet { } // This action deletes a health check. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheckRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheckRequest type DeleteHealthCheckInput struct { _ struct{} `type:"structure"` @@ -7424,7 +7760,7 @@ func (s *DeleteHealthCheckInput) SetHealthCheckId(v string) *DeleteHealthCheckIn } // An empty element. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheckResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheckResponse type DeleteHealthCheckOutput struct { _ struct{} `type:"structure"` } @@ -7440,7 +7776,7 @@ func (s DeleteHealthCheckOutput) GoString() string { } // A request to delete a hosted zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHostedZoneRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHostedZoneRequest type DeleteHostedZoneInput struct { _ struct{} `type:"structure"` @@ -7480,7 +7816,7 @@ func (s *DeleteHostedZoneInput) SetId(v string) *DeleteHostedZoneInput { } // A complex type that contains the response to a DeleteHostedZone request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHostedZoneResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHostedZoneResponse type DeleteHostedZoneOutput struct { _ struct{} `type:"structure"` @@ -7507,7 +7843,7 @@ func (s *DeleteHostedZoneOutput) SetChangeInfo(v *ChangeInfo) *DeleteHostedZoneO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfigRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfigRequest type DeleteQueryLoggingConfigInput struct { _ struct{} `type:"structure"` @@ -7549,7 +7885,7 @@ func (s *DeleteQueryLoggingConfigInput) SetId(v string) *DeleteQueryLoggingConfi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfigResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfigResponse type DeleteQueryLoggingConfigOutput struct { _ struct{} `type:"structure"` } @@ -7565,7 +7901,7 @@ func (s DeleteQueryLoggingConfigOutput) GoString() string { } // A request to delete a reusable delegation set. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteReusableDelegationSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteReusableDelegationSetRequest type DeleteReusableDelegationSetInput struct { _ struct{} `type:"structure"` @@ -7605,7 +7941,7 @@ func (s *DeleteReusableDelegationSetInput) SetId(v string) *DeleteReusableDelega } // An empty element. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteReusableDelegationSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteReusableDelegationSetResponse type DeleteReusableDelegationSetOutput struct { _ struct{} `type:"structure"` } @@ -7621,7 +7957,7 @@ func (s DeleteReusableDelegationSetOutput) GoString() string { } // A request to delete a specified traffic policy version. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyRequest type DeleteTrafficPolicyInput struct { _ struct{} `type:"structure"` @@ -7681,7 +8017,7 @@ func (s *DeleteTrafficPolicyInput) SetVersion(v int64) *DeleteTrafficPolicyInput } // A request to delete a specified traffic policy instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyInstanceRequest type DeleteTrafficPolicyInstanceInput struct { _ struct{} `type:"structure"` @@ -7728,7 +8064,7 @@ func (s *DeleteTrafficPolicyInstanceInput) SetId(v string) *DeleteTrafficPolicyI } // An empty element. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyInstanceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyInstanceResponse type DeleteTrafficPolicyInstanceOutput struct { _ struct{} `type:"structure"` } @@ -7744,7 +8080,7 @@ func (s DeleteTrafficPolicyInstanceOutput) GoString() string { } // An empty element. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyResponse type DeleteTrafficPolicyOutput struct { _ struct{} `type:"structure"` } @@ -7762,7 +8098,7 @@ func (s DeleteTrafficPolicyOutput) GoString() string { // A complex type that contains information about the request to remove authorization // to associate a VPC that was created by one AWS account with a hosted zone // that was created with a different AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteVPCAssociationAuthorizationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteVPCAssociationAuthorizationRequest type DeleteVPCAssociationAuthorizationInput struct { _ struct{} `locationName:"DeleteVPCAssociationAuthorizationRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -7825,7 +8161,7 @@ func (s *DeleteVPCAssociationAuthorizationInput) SetVPC(v *VPC) *DeleteVPCAssoci } // Empty response for the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteVPCAssociationAuthorizationResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteVPCAssociationAuthorizationResponse type DeleteVPCAssociationAuthorizationOutput struct { _ struct{} `type:"structure"` } @@ -7842,7 +8178,7 @@ func (s DeleteVPCAssociationAuthorizationOutput) GoString() string { // For the metric that the CloudWatch alarm is associated with, a complex type // that contains information about one dimension. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/Dimension +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/Dimension type Dimension struct { _ struct{} `type:"structure"` @@ -7883,7 +8219,7 @@ func (s *Dimension) SetValue(v string) *Dimension { // A complex type that contains information about the VPC that you want to disassociate // from a specified private hosted zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZoneRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZoneRequest type DisassociateVPCFromHostedZoneInput struct { _ struct{} `locationName:"DisassociateVPCFromHostedZoneRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -7953,7 +8289,7 @@ func (s *DisassociateVPCFromHostedZoneInput) SetVPC(v *VPC) *DisassociateVPCFrom // A complex type that contains the response information for the disassociate // request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZoneResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZoneResponse type DisassociateVPCFromHostedZoneOutput struct { _ struct{} `type:"structure"` @@ -7981,7 +8317,7 @@ func (s *DisassociateVPCFromHostedZoneOutput) SetChangeInfo(v *ChangeInfo) *Disa } // A complex type that contains information about a geo location. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GeoLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GeoLocation type GeoLocation struct { _ struct{} `type:"structure"` @@ -8050,7 +8386,7 @@ func (s *GeoLocation) SetSubdivisionCode(v string) *GeoLocation { // A complex type that contains the codes and full continent, country, and subdivision // names for the specified geolocation code. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GeoLocationDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GeoLocationDetails type GeoLocationDetails struct { _ struct{} `type:"structure"` @@ -8121,10 +8457,112 @@ func (s *GeoLocationDetails) SetSubdivisionName(v string) *GeoLocationDetails { return s } -// The input for a GetChange request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChangeRequest -type GetChangeInput struct { - _ struct{} `type:"structure"` +// A complex type that contains information about the request to create a hosted +// zone. +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetAccountLimitRequest +type GetAccountLimitInput struct { + _ struct{} `type:"structure"` + + // The limit that you want to get. Valid values include the following: + // + // * MAX_HEALTH_CHECKS_BY_OWNER: The maximum number of health checks that + // you can create using the current account. + // + // * MAX_HOSTED_ZONES_BY_OWNER: The maximum number of hosted zones that you + // can create using the current account. + // + // * MAX_REUSABLE_DELEGATION_SETS_BY_OWNER: The maximum number of reusable + // delegation sets that you can create using the current account. + // + // * MAX_TRAFFIC_POLICIES_BY_OWNER: The maximum number of traffic policies + // that you can create using the current account. + // + // * MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER: The maximum number of traffic + // policy instances that you can create using the current account. (Traffic + // policy instances are referred to as traffic flow policy records in the + // Amazon Route 53 console.) + // + // Type is a required field + Type *string `location:"uri" locationName:"Type" type:"string" required:"true" enum:"AccountLimitType"` +} + +// String returns the string representation +func (s GetAccountLimitInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetAccountLimitInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetAccountLimitInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetAccountLimitInput"} + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetType sets the Type field's value. +func (s *GetAccountLimitInput) SetType(v string) *GetAccountLimitInput { + s.Type = &v + return s +} + +// A complex type that contains the requested limit. +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetAccountLimitResponse +type GetAccountLimitOutput struct { + _ struct{} `type:"structure"` + + // The current number of entities that you have created of the specified type. + // For example, if you specified MAX_HEALTH_CHECKS_BY_OWNER for the value of + // Type in the request, the value of Count is the current number of health checks + // that you have created using the current account. + // + // Count is a required field + Count *int64 `type:"long" required:"true"` + + // The current setting for the specified limit. For example, if you specified + // MAX_HEALTH_CHECKS_BY_OWNER for the value of Type in the request, the value + // of Limit is the maximum number of health checks that you can create using + // the current account. + // + // Limit is a required field + Limit *AccountLimit `type:"structure" required:"true"` +} + +// String returns the string representation +func (s GetAccountLimitOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetAccountLimitOutput) GoString() string { + return s.String() +} + +// SetCount sets the Count field's value. +func (s *GetAccountLimitOutput) SetCount(v int64) *GetAccountLimitOutput { + s.Count = &v + return s +} + +// SetLimit sets the Limit field's value. +func (s *GetAccountLimitOutput) SetLimit(v *AccountLimit) *GetAccountLimitOutput { + s.Limit = v + return s +} + +// The input for a GetChange request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChangeRequest +type GetChangeInput struct { + _ struct{} `type:"structure"` // The ID of the change batch request. The value that you specify here is the // value that ChangeResourceRecordSets returned in the Id element when you submitted @@ -8164,7 +8602,7 @@ func (s *GetChangeInput) SetId(v string) *GetChangeInput { } // A complex type that contains the ChangeInfo element. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChangeResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChangeResponse type GetChangeOutput struct { _ struct{} `type:"structure"` @@ -8190,7 +8628,7 @@ func (s *GetChangeOutput) SetChangeInfo(v *ChangeInfo) *GetChangeOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetCheckerIpRangesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetCheckerIpRangesRequest type GetCheckerIpRangesInput struct { _ struct{} `type:"structure"` } @@ -8205,7 +8643,7 @@ func (s GetCheckerIpRangesInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetCheckerIpRangesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetCheckerIpRangesResponse type GetCheckerIpRangesOutput struct { _ struct{} `type:"structure"` @@ -8231,7 +8669,7 @@ func (s *GetCheckerIpRangesOutput) SetCheckerIpRanges(v []*string) *GetCheckerIp // A request for information about whether a specified geographic location is // supported for Amazon Route 53 geolocation resource record sets. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocationRequest type GetGeoLocationInput struct { _ struct{} `type:"structure"` @@ -8312,7 +8750,7 @@ func (s *GetGeoLocationInput) SetSubdivisionCode(v string) *GetGeoLocationInput // A complex type that contains the response information for the specified geolocation // code. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocationResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocationResponse type GetGeoLocationOutput struct { _ struct{} `type:"structure"` @@ -8341,7 +8779,7 @@ func (s *GetGeoLocationOutput) SetGeoLocationDetails(v *GeoLocationDetails) *Get // A request for the number of health checks that are associated with the current // AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckCountRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckCountRequest type GetHealthCheckCountInput struct { _ struct{} `type:"structure"` } @@ -8357,7 +8795,7 @@ func (s GetHealthCheckCountInput) GoString() string { } // A complex type that contains the response to a GetHealthCheckCount request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckCountResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckCountResponse type GetHealthCheckCountOutput struct { _ struct{} `type:"structure"` @@ -8384,7 +8822,7 @@ func (s *GetHealthCheckCountOutput) SetHealthCheckCount(v int64) *GetHealthCheck } // A request to get information about a specified health check. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckRequest type GetHealthCheckInput struct { _ struct{} `type:"structure"` @@ -8427,7 +8865,7 @@ func (s *GetHealthCheckInput) SetHealthCheckId(v string) *GetHealthCheckInput { } // A request for the reason that a health check failed most recently. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReasonRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReasonRequest type GetHealthCheckLastFailureReasonInput struct { _ struct{} `type:"structure"` @@ -8470,7 +8908,7 @@ func (s *GetHealthCheckLastFailureReasonInput) SetHealthCheckId(v string) *GetHe // A complex type that contains the response to a GetHealthCheckLastFailureReason // request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReasonResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReasonResponse type GetHealthCheckLastFailureReasonOutput struct { _ struct{} `type:"structure"` @@ -8498,7 +8936,7 @@ func (s *GetHealthCheckLastFailureReasonOutput) SetHealthCheckObservations(v []* } // A complex type that contains the response to a GetHealthCheck request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckResponse type GetHealthCheckOutput struct { _ struct{} `type:"structure"` @@ -8526,7 +8964,7 @@ func (s *GetHealthCheckOutput) SetHealthCheck(v *HealthCheck) *GetHealthCheckOut } // A request to get the status for a health check. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatusRequest type GetHealthCheckStatusInput struct { _ struct{} `type:"structure"` @@ -8572,7 +9010,7 @@ func (s *GetHealthCheckStatusInput) SetHealthCheckId(v string) *GetHealthCheckSt } // A complex type that contains the response to a GetHealthCheck request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatusResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatusResponse type GetHealthCheckStatusOutput struct { _ struct{} `type:"structure"` @@ -8601,7 +9039,7 @@ func (s *GetHealthCheckStatusOutput) SetHealthCheckObservations(v []*HealthCheck // A request to retrieve a count of all the hosted zones that are associated // with the current AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCountRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCountRequest type GetHostedZoneCountInput struct { _ struct{} `type:"structure"` } @@ -8617,7 +9055,7 @@ func (s GetHostedZoneCountInput) GoString() string { } // A complex type that contains the response to a GetHostedZoneCount request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCountResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCountResponse type GetHostedZoneCountOutput struct { _ struct{} `type:"structure"` @@ -8645,7 +9083,7 @@ func (s *GetHostedZoneCountOutput) SetHostedZoneCount(v int64) *GetHostedZoneCou } // A request to get information about a specified hosted zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneRequest type GetHostedZoneInput struct { _ struct{} `type:"structure"` @@ -8684,8 +9122,113 @@ func (s *GetHostedZoneInput) SetId(v string) *GetHostedZoneInput { return s } +// A complex type that contains information about the request to create a hosted +// zone. +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneLimitRequest +type GetHostedZoneLimitInput struct { + _ struct{} `type:"structure"` + + // The ID of the hosted zone that you want to get a limit for. + // + // HostedZoneId is a required field + HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"` + + // The limit that you want to get. Valid values include the following: + // + // * MAX_RRSETS_BY_ZONE: The maximum number of records that you can create + // in the specified hosted zone. + // + // * MAX_VPCS_ASSOCIATED_BY_TYPE: The maximum number of Amazon VPCs that + // you can associate with the specified private hosted zone. + // + // Type is a required field + Type *string `location:"uri" locationName:"Type" type:"string" required:"true" enum:"HostedZoneLimitType"` +} + +// String returns the string representation +func (s GetHostedZoneLimitInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetHostedZoneLimitInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetHostedZoneLimitInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetHostedZoneLimitInput"} + if s.HostedZoneId == nil { + invalidParams.Add(request.NewErrParamRequired("HostedZoneId")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHostedZoneId sets the HostedZoneId field's value. +func (s *GetHostedZoneLimitInput) SetHostedZoneId(v string) *GetHostedZoneLimitInput { + s.HostedZoneId = &v + return s +} + +// SetType sets the Type field's value. +func (s *GetHostedZoneLimitInput) SetType(v string) *GetHostedZoneLimitInput { + s.Type = &v + return s +} + +// A complex type that contains the requested limit. +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneLimitResponse +type GetHostedZoneLimitOutput struct { + _ struct{} `type:"structure"` + + // The current number of entities that you have created of the specified type. + // For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in + // the request, the value of Count is the current number of records that you + // have created in the specified hosted zone. + // + // Count is a required field + Count *int64 `type:"long" required:"true"` + + // The current setting for the specified limit. For example, if you specified + // MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Limit + // is the maximum number of records that you can create in the specified hosted + // zone. + // + // Limit is a required field + Limit *HostedZoneLimit `type:"structure" required:"true"` +} + +// String returns the string representation +func (s GetHostedZoneLimitOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetHostedZoneLimitOutput) GoString() string { + return s.String() +} + +// SetCount sets the Count field's value. +func (s *GetHostedZoneLimitOutput) SetCount(v int64) *GetHostedZoneLimitOutput { + s.Count = &v + return s +} + +// SetLimit sets the Limit field's value. +func (s *GetHostedZoneLimitOutput) SetLimit(v *HostedZoneLimit) *GetHostedZoneLimitOutput { + s.Limit = v + return s +} + // A complex type that contain the response to a GetHostedZone request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneResponse type GetHostedZoneOutput struct { _ struct{} `type:"structure"` @@ -8732,7 +9275,7 @@ func (s *GetHostedZoneOutput) SetVPCs(v []*VPC) *GetHostedZoneOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfigRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfigRequest type GetQueryLoggingConfigInput struct { _ struct{} `type:"structure"` @@ -8775,7 +9318,7 @@ func (s *GetQueryLoggingConfigInput) SetId(v string) *GetQueryLoggingConfigInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfigResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfigResponse type GetQueryLoggingConfigOutput struct { _ struct{} `type:"structure"` @@ -8803,7 +9346,7 @@ func (s *GetQueryLoggingConfigOutput) SetQueryLoggingConfig(v *QueryLoggingConfi } // A request to get information about a specified reusable delegation set. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetRequest type GetReusableDelegationSetInput struct { _ struct{} `type:"structure"` @@ -8843,9 +9386,106 @@ func (s *GetReusableDelegationSetInput) SetId(v string) *GetReusableDelegationSe return s } +// A complex type that contains information about the request to create a hosted +// zone. +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetLimitRequest +type GetReusableDelegationSetLimitInput struct { + _ struct{} `type:"structure"` + + // The ID of the delegation set that you want to get the limit for. + // + // DelegationSetId is a required field + DelegationSetId *string `location:"uri" locationName:"Id" type:"string" required:"true"` + + // Specify MAX_ZONES_BY_REUSABLE_DELEGATION_SET to get the maximum number of + // hosted zones that you can associate with the specified reusable delegation + // set. + // + // Type is a required field + Type *string `location:"uri" locationName:"Type" type:"string" required:"true" enum:"ReusableDelegationSetLimitType"` +} + +// String returns the string representation +func (s GetReusableDelegationSetLimitInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetReusableDelegationSetLimitInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetReusableDelegationSetLimitInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetReusableDelegationSetLimitInput"} + if s.DelegationSetId == nil { + invalidParams.Add(request.NewErrParamRequired("DelegationSetId")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDelegationSetId sets the DelegationSetId field's value. +func (s *GetReusableDelegationSetLimitInput) SetDelegationSetId(v string) *GetReusableDelegationSetLimitInput { + s.DelegationSetId = &v + return s +} + +// SetType sets the Type field's value. +func (s *GetReusableDelegationSetLimitInput) SetType(v string) *GetReusableDelegationSetLimitInput { + s.Type = &v + return s +} + +// A complex type that contains the requested limit. +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetLimitResponse +type GetReusableDelegationSetLimitOutput struct { + _ struct{} `type:"structure"` + + // The current number of hosted zones that you can associate with the specified + // reusable delegation set. + // + // Count is a required field + Count *int64 `type:"long" required:"true"` + + // The current setting for the limit on hosted zones that you can associate + // with the specified reusable delegation set. + // + // Limit is a required field + Limit *ReusableDelegationSetLimit `type:"structure" required:"true"` +} + +// String returns the string representation +func (s GetReusableDelegationSetLimitOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetReusableDelegationSetLimitOutput) GoString() string { + return s.String() +} + +// SetCount sets the Count field's value. +func (s *GetReusableDelegationSetLimitOutput) SetCount(v int64) *GetReusableDelegationSetLimitOutput { + s.Count = &v + return s +} + +// SetLimit sets the Limit field's value. +func (s *GetReusableDelegationSetLimitOutput) SetLimit(v *ReusableDelegationSetLimit) *GetReusableDelegationSetLimitOutput { + s.Limit = v + return s +} + // A complex type that contains the response to the GetReusableDelegationSet // request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetResponse type GetReusableDelegationSetOutput struct { _ struct{} `type:"structure"` @@ -8872,7 +9512,7 @@ func (s *GetReusableDelegationSetOutput) SetDelegationSet(v *DelegationSet) *Get } // Gets information about a specific traffic policy version. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyRequest type GetTrafficPolicyInput struct { _ struct{} `type:"structure"` @@ -8934,7 +9574,7 @@ func (s *GetTrafficPolicyInput) SetVersion(v int64) *GetTrafficPolicyInput { // Request to get the number of traffic policy instances that are associated // with the current AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceCountRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceCountRequest type GetTrafficPolicyInstanceCountInput struct { _ struct{} `type:"structure"` } @@ -8951,7 +9591,7 @@ func (s GetTrafficPolicyInstanceCountInput) GoString() string { // A complex type that contains information about the resource record sets that // Amazon Route 53 created based on a specified traffic policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceCountResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceCountResponse type GetTrafficPolicyInstanceCountOutput struct { _ struct{} `type:"structure"` @@ -8979,7 +9619,7 @@ func (s *GetTrafficPolicyInstanceCountOutput) SetTrafficPolicyInstanceCount(v in } // Gets information about a specified traffic policy instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceRequest type GetTrafficPolicyInstanceInput struct { _ struct{} `type:"structure"` @@ -9023,7 +9663,7 @@ func (s *GetTrafficPolicyInstanceInput) SetId(v string) *GetTrafficPolicyInstanc // A complex type that contains information about the resource record sets that // Amazon Route 53 created based on a specified traffic policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceResponse type GetTrafficPolicyInstanceOutput struct { _ struct{} `type:"structure"` @@ -9050,7 +9690,7 @@ func (s *GetTrafficPolicyInstanceOutput) SetTrafficPolicyInstance(v *TrafficPoli } // A complex type that contains the response information for the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyResponse type GetTrafficPolicyOutput struct { _ struct{} `type:"structure"` @@ -9078,7 +9718,7 @@ func (s *GetTrafficPolicyOutput) SetTrafficPolicy(v *TrafficPolicy) *GetTrafficP // A complex type that contains information about one health check that is associated // with the current AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HealthCheck +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HealthCheck type HealthCheck struct { _ struct{} `type:"structure"` @@ -9110,6 +9750,11 @@ type HealthCheck struct { // // Id is a required field Id *string `type:"string" required:"true"` + + // If the health check was created by another service, the service that created + // the health check. When a health check is created by another service, you + // can't edit or delete it using Amazon Route 53. + LinkedService *LinkedService `type:"structure"` } // String returns the string representation @@ -9152,8 +9797,14 @@ func (s *HealthCheck) SetId(v string) *HealthCheck { return s } +// SetLinkedService sets the LinkedService field's value. +func (s *HealthCheck) SetLinkedService(v *LinkedService) *HealthCheck { + s.LinkedService = v + return s +} + // A complex type that contains information about the health check. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HealthCheckConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HealthCheckConfig type HealthCheckConfig struct { _ struct{} `type:"structure"` @@ -9565,7 +10216,7 @@ func (s *HealthCheckConfig) SetType(v string) *HealthCheckConfig { // A complex type that contains the last failure reason as reported by one Amazon // Route 53 health checker. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HealthCheckObservation +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HealthCheckObservation type HealthCheckObservation struct { _ struct{} `type:"structure"` @@ -9611,7 +10262,7 @@ func (s *HealthCheckObservation) SetStatusReport(v *StatusReport) *HealthCheckOb } // A complex type that contains general information about the hosted zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HostedZone +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HostedZone type HostedZone struct { _ struct{} `type:"structure"` @@ -9632,6 +10283,11 @@ type HostedZone struct { // Id is a required field Id *string `type:"string" required:"true"` + // If the hosted zone was created by another service, the service that created + // the hosted zone. When a hosted zone is created by another service, you can't + // edit or delete it using Amazon Route 53. + LinkedService *LinkedService `type:"structure"` + // The name of the domain. For public hosted zones, this is the name that you // have registered with your DNS registrar. // @@ -9673,6 +10329,12 @@ func (s *HostedZone) SetId(v string) *HostedZone { return s } +// SetLinkedService sets the LinkedService field's value. +func (s *HostedZone) SetLinkedService(v *LinkedService) *HostedZone { + s.LinkedService = v + return s +} + // SetName sets the Name field's value. func (s *HostedZone) SetName(v string) *HostedZone { s.Name = &v @@ -9688,7 +10350,7 @@ func (s *HostedZone) SetResourceRecordSetCount(v int64) *HostedZone { // A complex type that contains an optional comment about your hosted zone. // If you don't want to specify a comment, omit both the HostedZoneConfig and // Comment elements. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HostedZoneConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HostedZoneConfig type HostedZoneConfig struct { _ struct{} `type:"structure"` @@ -9721,9 +10383,96 @@ func (s *HostedZoneConfig) SetPrivateZone(v bool) *HostedZoneConfig { return s } +// A complex type that contains the type of limit that you specified in the +// request and the current value for that limit. +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HostedZoneLimit +type HostedZoneLimit struct { + _ struct{} `type:"structure"` + + // The limit that you requested. Valid values include the following: + // + // * MAX_RRSETS_BY_ZONE: The maximum number of records that you can create + // in the specified hosted zone. + // + // * MAX_VPCS_ASSOCIATED_BY_TYPE: The maximum number of Amazon VPCs that + // you can associate with the specified private hosted zone. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"HostedZoneLimitType"` + + // The current value for the limit that is specified by Type. + // + // Value is a required field + Value *int64 `min:"1" type:"long" required:"true"` +} + +// String returns the string representation +func (s HostedZoneLimit) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HostedZoneLimit) GoString() string { + return s.String() +} + +// SetType sets the Type field's value. +func (s *HostedZoneLimit) SetType(v string) *HostedZoneLimit { + s.Type = &v + return s +} + +// SetValue sets the Value field's value. +func (s *HostedZoneLimit) SetValue(v int64) *HostedZoneLimit { + s.Value = &v + return s +} + +// If a health check or hosted zone was created by another service, LinkedService +// is a complex type that describes the service that created the resource. When +// a resource is created by another service, you can't edit or delete it using +// Amazon Route 53. +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/LinkedService +type LinkedService struct { + _ struct{} `type:"structure"` + + // If the health check or hosted zone was created by another service, an optional + // description that can be provided by the other service. When a resource is + // created by another service, you can't edit or delete it using Amazon Route + // 53. + Description *string `type:"string"` + + // If the health check or hosted zone was created by another service, the service + // that created the resource. When a resource is created by another service, + // you can't edit or delete it using Amazon Route 53. + ServicePrincipal *string `type:"string"` +} + +// String returns the string representation +func (s LinkedService) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LinkedService) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *LinkedService) SetDescription(v string) *LinkedService { + s.Description = &v + return s +} + +// SetServicePrincipal sets the ServicePrincipal field's value. +func (s *LinkedService) SetServicePrincipal(v string) *LinkedService { + s.ServicePrincipal = &v + return s +} + // A request to get a list of geographic locations that Amazon Route 53 supports // for geolocation resource record sets. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListGeoLocationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListGeoLocationsRequest type ListGeoLocationsInput struct { _ struct{} `type:"structure"` @@ -9818,7 +10567,7 @@ func (s *ListGeoLocationsInput) SetStartSubdivisionCode(v string) *ListGeoLocati } // A complex type containing the response information for the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListGeoLocationsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListGeoLocationsResponse type ListGeoLocationsOutput struct { _ struct{} `type:"structure"` @@ -9906,7 +10655,7 @@ func (s *ListGeoLocationsOutput) SetNextSubdivisionCode(v string) *ListGeoLocati // A request to retrieve a list of the health checks that are associated with // the current AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHealthChecksRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHealthChecksRequest type ListHealthChecksInput struct { _ struct{} `type:"structure"` @@ -9951,7 +10700,7 @@ func (s *ListHealthChecksInput) SetMaxItems(v string) *ListHealthChecksInput { } // A complex type that contains the response to a ListHealthChecks request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHealthChecksResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHealthChecksResponse type ListHealthChecksOutput struct { _ struct{} `type:"structure"` @@ -10029,7 +10778,7 @@ func (s *ListHealthChecksOutput) SetNextMarker(v string) *ListHealthChecksOutput // Retrieves a list of the public and private hosted zones that are associated // with the current AWS account in ASCII order by domain name. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByNameRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByNameRequest type ListHostedZonesByNameInput struct { _ struct{} `type:"structure"` @@ -10089,7 +10838,7 @@ func (s *ListHostedZonesByNameInput) SetMaxItems(v string) *ListHostedZonesByNam } // A complex type that contains the response information for the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByNameResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByNameResponse type ListHostedZonesByNameOutput struct { _ struct{} `type:"structure"` @@ -10193,7 +10942,7 @@ func (s *ListHostedZonesByNameOutput) SetNextHostedZoneId(v string) *ListHostedZ // A request to retrieve a list of the public and private hosted zones that // are associated with the current AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesRequest type ListHostedZonesInput struct { _ struct{} `type:"structure"` @@ -10249,7 +10998,7 @@ func (s *ListHostedZonesInput) SetMaxItems(v string) *ListHostedZonesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesResponse type ListHostedZonesOutput struct { _ struct{} `type:"structure"` @@ -10327,7 +11076,7 @@ func (s *ListHostedZonesOutput) SetNextMarker(v string) *ListHostedZonesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigsRequest type ListQueryLoggingConfigsInput struct { _ struct{} `type:"structure"` @@ -10385,7 +11134,7 @@ func (s *ListQueryLoggingConfigsInput) SetNextToken(v string) *ListQueryLoggingC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigsResponse type ListQueryLoggingConfigsOutput struct { _ struct{} `type:"structure"` @@ -10430,7 +11179,7 @@ func (s *ListQueryLoggingConfigsOutput) SetQueryLoggingConfigs(v []*QueryLogging // A request for the resource record sets that are associated with a specified // hosted zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSetsRequest type ListResourceRecordSetsInput struct { _ struct{} `type:"structure"` @@ -10541,7 +11290,7 @@ func (s *ListResourceRecordSetsInput) SetStartRecordType(v string) *ListResource } // A complex type that contains list information for the resource record set. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSetsResponse type ListResourceRecordSetsOutput struct { _ struct{} `type:"structure"` @@ -10626,7 +11375,7 @@ func (s *ListResourceRecordSetsOutput) SetResourceRecordSets(v []*ResourceRecord // A request to get a list of the reusable delegation sets that are associated // with the current AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListReusableDelegationSetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListReusableDelegationSetsRequest type ListReusableDelegationSetsInput struct { _ struct{} `type:"structure"` @@ -10672,7 +11421,7 @@ func (s *ListReusableDelegationSetsInput) SetMaxItems(v string) *ListReusableDel // A complex type that contains information about the reusable delegation sets // that are associated with the current AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListReusableDelegationSetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListReusableDelegationSetsResponse type ListReusableDelegationSetsOutput struct { _ struct{} `type:"structure"` @@ -10749,7 +11498,7 @@ func (s *ListReusableDelegationSetsOutput) SetNextMarker(v string) *ListReusable // A complex type containing information about a request for a list of the tags // that are associated with an individual resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResourceRequest type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -10808,7 +11557,7 @@ func (s *ListTagsForResourceInput) SetResourceType(v string) *ListTagsForResourc // A complex type that contains information about the health checks or hosted // zones for which you want to list tags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResourceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResourceResponse type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -10836,7 +11585,7 @@ func (s *ListTagsForResourceOutput) SetResourceTagSet(v *ResourceTagSet) *ListTa // A complex type that contains information about the health checks or hosted // zones for which you want to list tags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResourcesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResourcesRequest type ListTagsForResourcesInput struct { _ struct{} `locationName:"ListTagsForResourcesRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -10898,7 +11647,7 @@ func (s *ListTagsForResourcesInput) SetResourceType(v string) *ListTagsForResour } // A complex type containing tags for the specified resources. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResourcesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResourcesResponse type ListTagsForResourcesOutput struct { _ struct{} `type:"structure"` @@ -10926,7 +11675,7 @@ func (s *ListTagsForResourcesOutput) SetResourceTagSets(v []*ResourceTagSet) *Li // A complex type that contains the information about the request to list the // traffic policies that are associated with the current AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPoliciesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPoliciesRequest type ListTrafficPoliciesInput struct { _ struct{} `type:"structure"` @@ -10984,7 +11733,7 @@ func (s *ListTrafficPoliciesInput) SetTrafficPolicyIdMarker(v string) *ListTraff } // A complex type that contains the response information for the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPoliciesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPoliciesResponse type ListTrafficPoliciesOutput struct { _ struct{} `type:"structure"` @@ -11051,7 +11800,7 @@ func (s *ListTrafficPoliciesOutput) SetTrafficPolicySummaries(v []*TrafficPolicy // A request for the traffic policy instances that you created in a specified // hosted zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByHostedZoneRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByHostedZoneRequest type ListTrafficPolicyInstancesByHostedZoneInput struct { _ struct{} `type:"structure"` @@ -11140,7 +11889,7 @@ func (s *ListTrafficPolicyInstancesByHostedZoneInput) SetTrafficPolicyInstanceTy } // A complex type that contains the response information for the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByHostedZoneResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByHostedZoneResponse type ListTrafficPolicyInstancesByHostedZoneOutput struct { _ struct{} `type:"structure"` @@ -11217,7 +11966,7 @@ func (s *ListTrafficPolicyInstancesByHostedZoneOutput) SetTrafficPolicyInstances // A complex type that contains the information about the request to list your // traffic policy instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByPolicyRequest type ListTrafficPolicyInstancesByPolicyInput struct { _ struct{} `type:"structure"` @@ -11347,7 +12096,7 @@ func (s *ListTrafficPolicyInstancesByPolicyInput) SetTrafficPolicyVersion(v int6 } // A complex type that contains the response information for the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByPolicyResponse type ListTrafficPolicyInstancesByPolicyOutput struct { _ struct{} `type:"structure"` @@ -11436,7 +12185,7 @@ func (s *ListTrafficPolicyInstancesByPolicyOutput) SetTrafficPolicyInstances(v [ // A request to get information about the traffic policy instances that you // created by using the current AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesRequest type ListTrafficPolicyInstancesInput struct { _ struct{} `type:"structure"` @@ -11517,7 +12266,7 @@ func (s *ListTrafficPolicyInstancesInput) SetTrafficPolicyInstanceTypeMarker(v s } // A complex type that contains the response information for the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesResponse type ListTrafficPolicyInstancesOutput struct { _ struct{} `type:"structure"` @@ -11607,7 +12356,7 @@ func (s *ListTrafficPolicyInstancesOutput) SetTrafficPolicyInstances(v []*Traffi // A complex type that contains the information about the request to list your // traffic policies. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyVersionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyVersionsRequest type ListTrafficPolicyVersionsInput struct { _ struct{} `type:"structure"` @@ -11681,7 +12430,7 @@ func (s *ListTrafficPolicyVersionsInput) SetTrafficPolicyVersionMarker(v string) } // A complex type that contains the response information for the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyVersionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyVersionsResponse type ListTrafficPolicyVersionsOutput struct { _ struct{} `type:"structure"` @@ -11752,7 +12501,7 @@ func (s *ListTrafficPolicyVersionsOutput) SetTrafficPolicyVersionMarker(v string // A complex type that contains information about that can be associated with // your hosted zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListVPCAssociationAuthorizationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListVPCAssociationAuthorizationsRequest type ListVPCAssociationAuthorizationsInput struct { _ struct{} `type:"structure"` @@ -11817,7 +12566,7 @@ func (s *ListVPCAssociationAuthorizationsInput) SetNextToken(v string) *ListVPCA } // A complex type that contains the response information for the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListVPCAssociationAuthorizationsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListVPCAssociationAuthorizationsResponse type ListVPCAssociationAuthorizationsOutput struct { _ struct{} `type:"structure"` @@ -11870,7 +12619,7 @@ func (s *ListVPCAssociationAuthorizationsOutput) SetVPCs(v []*VPC) *ListVPCAssoc // A complex type that contains information about a configuration for DNS query // logging. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/QueryLoggingConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/QueryLoggingConfig type QueryLoggingConfig struct { _ struct{} `type:"structure"` @@ -11922,7 +12671,7 @@ func (s *QueryLoggingConfig) SetId(v string) *QueryLoggingConfig { // Information specific to the resource record. // // If you're creating an alias resource record set, omit ResourceRecord. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ResourceRecord +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ResourceRecord type ResourceRecord struct { _ struct{} `type:"structure"` @@ -11971,7 +12720,7 @@ func (s *ResourceRecord) SetValue(v string) *ResourceRecord { } // Information about the resource record set to create or delete. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ResourceRecordSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ResourceRecordSet type ResourceRecordSet struct { _ struct{} `type:"structure"` @@ -12503,7 +13252,7 @@ func (s *ResourceRecordSet) SetWeight(v int64) *ResourceRecordSet { } // A complex type containing a resource and its associated tags. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ResourceTagSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ResourceTagSet type ResourceTagSet struct { _ struct{} `type:"structure"` @@ -12549,9 +13298,50 @@ func (s *ResourceTagSet) SetTags(v []*Tag) *ResourceTagSet { return s } +// A complex type that contains the type of limit that you specified in the +// request and the current value for that limit. +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ReusableDelegationSetLimit +type ReusableDelegationSetLimit struct { + _ struct{} `type:"structure"` + + // The limit that you requested: MAX_ZONES_BY_REUSABLE_DELEGATION_SET, the maximum + // number of hosted zones that you can associate with the specified reusable + // delegation set. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"ReusableDelegationSetLimitType"` + + // The current value for the MAX_ZONES_BY_REUSABLE_DELEGATION_SET limit. + // + // Value is a required field + Value *int64 `min:"1" type:"long" required:"true"` +} + +// String returns the string representation +func (s ReusableDelegationSetLimit) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ReusableDelegationSetLimit) GoString() string { + return s.String() +} + +// SetType sets the Type field's value. +func (s *ReusableDelegationSetLimit) SetType(v string) *ReusableDelegationSetLimit { + s.Type = &v + return s +} + +// SetValue sets the Value field's value. +func (s *ReusableDelegationSetLimit) SetValue(v int64) *ReusableDelegationSetLimit { + s.Value = &v + return s +} + // A complex type that contains the status that one Amazon Route 53 health checker // reports and the time of the health check. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/StatusReport +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/StatusReport type StatusReport struct { _ struct{} `type:"structure"` @@ -12590,7 +13380,7 @@ func (s *StatusReport) SetStatus(v string) *StatusReport { // A complex type that contains information about a tag that you want to add // or edit for the specified health check or hosted zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/Tag type Tag struct { _ struct{} `type:"structure"` @@ -12643,7 +13433,7 @@ func (s *Tag) SetValue(v string) *Tag { // Gets the value that Amazon Route 53 returns in response to a DNS request // for a specified record name and type. You can optionally specify the IP address // of a DNS resolver, an EDNS0 client subnet IP address, and a subnet mask. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TestDNSAnswerRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TestDNSAnswerRequest type TestDNSAnswerInput struct { _ struct{} `type:"structure"` @@ -12750,7 +13540,7 @@ func (s *TestDNSAnswerInput) SetResolverIP(v string) *TestDNSAnswerInput { } // A complex type that contains the response to a TestDNSAnswer request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TestDNSAnswerResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TestDNSAnswerResponse type TestDNSAnswerOutput struct { _ struct{} `type:"structure"` @@ -12838,7 +13628,7 @@ func (s *TestDNSAnswerOutput) SetResponseCode(v string) *TestDNSAnswerOutput { } // A complex type that contains settings for a traffic policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TrafficPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TrafficPolicy type TrafficPolicy struct { _ struct{} `type:"structure"` @@ -12923,7 +13713,7 @@ func (s *TrafficPolicy) SetVersion(v int64) *TrafficPolicy { } // A complex type that contains settings for the new traffic policy instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TrafficPolicyInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TrafficPolicyInstance type TrafficPolicyInstance struct { _ struct{} `type:"structure"` @@ -13057,7 +13847,7 @@ func (s *TrafficPolicyInstance) SetTrafficPolicyVersion(v int64) *TrafficPolicyI // A complex type that contains information about the latest version of one // traffic policy that is associated with the current AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TrafficPolicySummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TrafficPolicySummary type TrafficPolicySummary struct { _ struct{} `type:"structure"` @@ -13131,7 +13921,7 @@ func (s *TrafficPolicySummary) SetType(v string) *TrafficPolicySummary { // A complex type that contains information about a request to update a health // check. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHealthCheckRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHealthCheckRequest type UpdateHealthCheckInput struct { _ struct{} `locationName:"UpdateHealthCheckRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -13351,9 +14141,9 @@ type UpdateHealthCheckInput struct { // want Amazon Route 53 health checkers to check the specified endpoint from. Regions []*string `locationNameList:"Region" min:"3" type:"list"` - // A complex type that contains one ResetElement element for each element that - // you want to reset to the default value. Valid values for ResetElement include - // the following: + // A complex type that contains one ResettableElementName element for each element + // that you want to reset to the default value. Valid values for ResettableElementName + // include the following: // // * ChildHealthChecks: Amazon Route 53 resets HealthCheckConfig$ChildHealthChecks // to null. @@ -13520,7 +14310,7 @@ func (s *UpdateHealthCheckInput) SetSearchString(v string) *UpdateHealthCheckInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHealthCheckResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHealthCheckResponse type UpdateHealthCheckOutput struct { _ struct{} `type:"structure"` @@ -13548,7 +14338,7 @@ func (s *UpdateHealthCheckOutput) SetHealthCheck(v *HealthCheck) *UpdateHealthCh } // A request to update the comment for a hosted zone. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHostedZoneCommentRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHostedZoneCommentRequest type UpdateHostedZoneCommentInput struct { _ struct{} `locationName:"UpdateHostedZoneCommentRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -13599,7 +14389,7 @@ func (s *UpdateHostedZoneCommentInput) SetId(v string) *UpdateHostedZoneCommentI // A complex type that contains the response to the UpdateHostedZoneComment // request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHostedZoneCommentResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHostedZoneCommentResponse type UpdateHostedZoneCommentOutput struct { _ struct{} `type:"structure"` @@ -13627,7 +14417,7 @@ func (s *UpdateHostedZoneCommentOutput) SetHostedZone(v *HostedZone) *UpdateHost // A complex type that contains information about the traffic policy that you // want to update the comment for. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyCommentRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyCommentRequest type UpdateTrafficPolicyCommentInput struct { _ struct{} `locationName:"UpdateTrafficPolicyCommentRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -13703,7 +14493,7 @@ func (s *UpdateTrafficPolicyCommentInput) SetVersion(v int64) *UpdateTrafficPoli } // A complex type that contains the response information for the traffic policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyCommentResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyCommentResponse type UpdateTrafficPolicyCommentOutput struct { _ struct{} `type:"structure"` @@ -13731,7 +14521,7 @@ func (s *UpdateTrafficPolicyCommentOutput) SetTrafficPolicy(v *TrafficPolicy) *U // A complex type that contains information about the resource record sets that // you want to update based on a specified traffic policy instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyInstanceRequest type UpdateTrafficPolicyInstanceInput struct { _ struct{} `locationName:"UpdateTrafficPolicyInstanceRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -13826,7 +14616,7 @@ func (s *UpdateTrafficPolicyInstanceInput) SetTrafficPolicyVersion(v int64) *Upd // A complex type that contains information about the resource record sets that // Amazon Route 53 created based on a specified traffic policy. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyInstanceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyInstanceResponse type UpdateTrafficPolicyInstanceOutput struct { _ struct{} `type:"structure"` @@ -13854,7 +14644,7 @@ func (s *UpdateTrafficPolicyInstanceOutput) SetTrafficPolicyInstance(v *TrafficP // (Private hosted zones only) A complex type that contains information about // an Amazon VPC. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/VPC +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/VPC type VPC struct { _ struct{} `type:"structure"` @@ -13900,6 +14690,23 @@ func (s *VPC) SetVPCRegion(v string) *VPC { return s } +const ( + // AccountLimitTypeMaxHealthChecksByOwner is a AccountLimitType enum value + AccountLimitTypeMaxHealthChecksByOwner = "MAX_HEALTH_CHECKS_BY_OWNER" + + // AccountLimitTypeMaxHostedZonesByOwner is a AccountLimitType enum value + AccountLimitTypeMaxHostedZonesByOwner = "MAX_HOSTED_ZONES_BY_OWNER" + + // AccountLimitTypeMaxTrafficPolicyInstancesByOwner is a AccountLimitType enum value + AccountLimitTypeMaxTrafficPolicyInstancesByOwner = "MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER" + + // AccountLimitTypeMaxReusableDelegationSetsByOwner is a AccountLimitType enum value + AccountLimitTypeMaxReusableDelegationSetsByOwner = "MAX_REUSABLE_DELEGATION_SETS_BY_OWNER" + + // AccountLimitTypeMaxTrafficPoliciesByOwner is a AccountLimitType enum value + AccountLimitTypeMaxTrafficPoliciesByOwner = "MAX_TRAFFIC_POLICIES_BY_OWNER" +) + const ( // ChangeActionCreate is a ChangeAction enum value ChangeActionCreate = "CREATE" @@ -14026,6 +14833,14 @@ const ( HealthCheckTypeCloudwatchMetric = "CLOUDWATCH_METRIC" ) +const ( + // HostedZoneLimitTypeMaxRrsetsByZone is a HostedZoneLimitType enum value + HostedZoneLimitTypeMaxRrsetsByZone = "MAX_RRSETS_BY_ZONE" + + // HostedZoneLimitTypeMaxVpcsAssociatedByZone is a HostedZoneLimitType enum value + HostedZoneLimitTypeMaxVpcsAssociatedByZone = "MAX_VPCS_ASSOCIATED_BY_ZONE" +) + const ( // InsufficientDataHealthStatusHealthy is a InsufficientDataHealthStatus enum value InsufficientDataHealthStatusHealthy = "Healthy" @@ -14144,6 +14959,11 @@ const ( ResourceRecordSetRegionApSouth1 = "ap-south-1" ) +const ( + // ReusableDelegationSetLimitTypeMaxZonesByReusableDelegationSet is a ReusableDelegationSetLimitType enum value + ReusableDelegationSetLimitTypeMaxZonesByReusableDelegationSet = "MAX_ZONES_BY_REUSABLE_DELEGATION_SET" +) + const ( // StatisticAverage is a Statistic enum value StatisticAverage = "Average" diff --git a/vendor/github.com/aws/aws-sdk-go/service/route53/errors.go b/vendor/github.com/aws/aws-sdk-go/service/route53/errors.go index 24225020e50..18032111039 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/route53/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/route53/errors.go @@ -122,6 +122,12 @@ const ( // The specified HostedZone can't be found. ErrCodeHostedZoneNotFound = "HostedZoneNotFound" + // ErrCodeHostedZoneNotPrivate for service response error code + // "HostedZoneNotPrivate". + // + // The specified hosted zone is a public hosted zone, not a private hosted zone. + ErrCodeHostedZoneNotPrivate = "HostedZoneNotPrivate" + // ErrCodeIncompatibleVersion for service response error code // "IncompatibleVersion". // @@ -201,7 +207,14 @@ const ( // ErrCodeLimitsExceeded for service response error code // "LimitsExceeded". // - // The limits specified for a resource have been exceeded. + // This operation can't be completed either because the current account has + // reached the limit on reusable delegation sets that it can create or because + // you've reached the limit on the number of Amazon VPCs that you can associate + // with a private hosted zone. To get the current limit on the number of reusable + // delegation sets, see GetAccountLimit. To get the current limit on the number + // of Amazon VPCs that you can associate with a private hosted zone, see GetHostedZoneLimit. + // To request a higher limit, create a case (http://aws.amazon.com/route53-request) + // with the AWS Support Center. ErrCodeLimitsExceeded = "LimitsExceeded" // ErrCodeNoSuchChange for service response error code @@ -299,33 +312,70 @@ const ( // ErrCodeTooManyHealthChecks for service response error code // "TooManyHealthChecks". // + // This health check can't be created because the current account has reached + // the limit on the number of active health checks. + // + // For information about default limits, see Limits (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) + // in the Amazon Route 53 Developer Guide. + // + // For information about how to get the current limit for an account, see GetAccountLimit. + // To request a higher limit, create a case (http://aws.amazon.com/route53-request) + // with the AWS Support Center. + // // You have reached the maximum number of active health checks for an AWS account. - // The default limit is 100. To request a higher limit, create a case (http://aws.amazon.com/route53-request) + // To request a higher limit, create a case (http://aws.amazon.com/route53-request) // with the AWS Support Center. ErrCodeTooManyHealthChecks = "TooManyHealthChecks" // ErrCodeTooManyHostedZones for service response error code // "TooManyHostedZones". // - // This hosted zone can't be created because the hosted zone limit is exceeded. - // To request a limit increase, go to the Amazon Route 53 Contact Us (http://aws.amazon.com/route53-request/) - // page. + // This operation can't be completed either because the current account has + // reached the limit on the number of hosted zones or because you've reached + // the limit on the number of hosted zones that can be associated with a reusable + // delegation set. + // + // For information about default limits, see Limits (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) + // in the Amazon Route 53 Developer Guide. + // + // To get the current limit on hosted zones that can be created by an account, + // see GetAccountLimit. + // + // To get the current limit on hosted zones that can be associated with a reusable + // delegation set, see GetReusableDelegationSetLimit. + // + // To request a higher limit, create a case (http://aws.amazon.com/route53-request) + // with the AWS Support Center. ErrCodeTooManyHostedZones = "TooManyHostedZones" // ErrCodeTooManyTrafficPolicies for service response error code // "TooManyTrafficPolicies". // - // You've created the maximum number of traffic policies that can be created - // for the current AWS account. You can request an increase to the limit on - // the Contact Us (http://aws.amazon.com/route53-request/) page. + // This traffic policy can't be created because the current account has reached + // the limit on the number of traffic policies. + // + // For information about default limits, see Limits (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) + // in the Amazon Route 53 Developer Guide. + // + // To get the current limit for an account, see GetAccountLimit. + // + // To request a higher limit, create a case (http://aws.amazon.com/route53-request) + // with the AWS Support Center. ErrCodeTooManyTrafficPolicies = "TooManyTrafficPolicies" // ErrCodeTooManyTrafficPolicyInstances for service response error code // "TooManyTrafficPolicyInstances". // - // You've created the maximum number of traffic policy instances that can be - // created for the current AWS account. You can request an increase to the limit - // on the Contact Us (http://aws.amazon.com/route53-request/) page. + // This traffic policy instance can't be created because the current account + // has reached the limit on the number of traffic policy instances. + // + // For information about default limits, see Limits (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) + // in the Amazon Route 53 Developer Guide. + // + // For information about how to get the current limit for an account, see GetAccountLimit. + // + // To request a higher limit, create a case (http://aws.amazon.com/route53-request) + // with the AWS Support Center. ErrCodeTooManyTrafficPolicyInstances = "TooManyTrafficPolicyInstances" // ErrCodeTooManyVPCAssociationAuthorizations for service response error code diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/api.go b/vendor/github.com/aws/aws-sdk-go/service/s3/api.go index 1df7b373a0a..0d852f59c80 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/s3/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/s3/api.go @@ -39,7 +39,7 @@ const opAbortMultipartUpload = "AbortMultipartUpload" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUpload func (c *S3) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) (req *request.Request, output *AbortMultipartUploadOutput) { op := &request.Operation{ Name: opAbortMultipartUpload, @@ -75,7 +75,7 @@ func (c *S3) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) (req // * ErrCodeNoSuchUpload "NoSuchUpload" // The specified multipart upload does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUpload func (c *S3) AbortMultipartUpload(input *AbortMultipartUploadInput) (*AbortMultipartUploadOutput, error) { req, out := c.AbortMultipartUploadRequest(input) return out, req.Send() @@ -122,7 +122,7 @@ const opCompleteMultipartUpload = "CompleteMultipartUpload" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUpload func (c *S3) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput) (req *request.Request, output *CompleteMultipartUploadOutput) { op := &request.Operation{ Name: opCompleteMultipartUpload, @@ -149,7 +149,7 @@ func (c *S3) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput) // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation CompleteMultipartUpload for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUpload func (c *S3) CompleteMultipartUpload(input *CompleteMultipartUploadInput) (*CompleteMultipartUploadOutput, error) { req, out := c.CompleteMultipartUploadRequest(input) return out, req.Send() @@ -196,7 +196,7 @@ const opCopyObject = "CopyObject" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObject +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObject func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, output *CopyObjectOutput) { op := &request.Operation{ Name: opCopyObject, @@ -229,7 +229,7 @@ func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, ou // The source object of the COPY operation is not in the active tier and is // only stored in Amazon Glacier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObject +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObject func (c *S3) CopyObject(input *CopyObjectInput) (*CopyObjectOutput, error) { req, out := c.CopyObjectRequest(input) return out, req.Send() @@ -276,7 +276,7 @@ const opCreateBucket = "CreateBucket" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucket +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucket func (c *S3) CreateBucketRequest(input *CreateBucketInput) (req *request.Request, output *CreateBucketOutput) { op := &request.Operation{ Name: opCreateBucket, @@ -311,7 +311,7 @@ func (c *S3) CreateBucketRequest(input *CreateBucketInput) (req *request.Request // // * ErrCodeBucketAlreadyOwnedByYou "BucketAlreadyOwnedByYou" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucket +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucket func (c *S3) CreateBucket(input *CreateBucketInput) (*CreateBucketOutput, error) { req, out := c.CreateBucketRequest(input) return out, req.Send() @@ -358,7 +358,7 @@ const opCreateMultipartUpload = "CreateMultipartUpload" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUpload func (c *S3) CreateMultipartUploadRequest(input *CreateMultipartUploadInput) (req *request.Request, output *CreateMultipartUploadOutput) { op := &request.Operation{ Name: opCreateMultipartUpload, @@ -391,7 +391,7 @@ func (c *S3) CreateMultipartUploadRequest(input *CreateMultipartUploadInput) (re // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation CreateMultipartUpload for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUpload func (c *S3) CreateMultipartUpload(input *CreateMultipartUploadInput) (*CreateMultipartUploadOutput, error) { req, out := c.CreateMultipartUploadRequest(input) return out, req.Send() @@ -438,7 +438,7 @@ const opDeleteBucket = "DeleteBucket" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucket +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucket func (c *S3) DeleteBucketRequest(input *DeleteBucketInput) (req *request.Request, output *DeleteBucketOutput) { op := &request.Operation{ Name: opDeleteBucket, @@ -468,7 +468,7 @@ func (c *S3) DeleteBucketRequest(input *DeleteBucketInput) (req *request.Request // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation DeleteBucket for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucket +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucket func (c *S3) DeleteBucket(input *DeleteBucketInput) (*DeleteBucketOutput, error) { req, out := c.DeleteBucketRequest(input) return out, req.Send() @@ -515,7 +515,7 @@ const opDeleteBucketAnalyticsConfiguration = "DeleteBucketAnalyticsConfiguration // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfiguration func (c *S3) DeleteBucketAnalyticsConfigurationRequest(input *DeleteBucketAnalyticsConfigurationInput) (req *request.Request, output *DeleteBucketAnalyticsConfigurationOutput) { op := &request.Operation{ Name: opDeleteBucketAnalyticsConfiguration, @@ -545,7 +545,7 @@ func (c *S3) DeleteBucketAnalyticsConfigurationRequest(input *DeleteBucketAnalyt // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation DeleteBucketAnalyticsConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfiguration func (c *S3) DeleteBucketAnalyticsConfiguration(input *DeleteBucketAnalyticsConfigurationInput) (*DeleteBucketAnalyticsConfigurationOutput, error) { req, out := c.DeleteBucketAnalyticsConfigurationRequest(input) return out, req.Send() @@ -592,7 +592,7 @@ const opDeleteBucketCors = "DeleteBucketCors" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCors +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCors func (c *S3) DeleteBucketCorsRequest(input *DeleteBucketCorsInput) (req *request.Request, output *DeleteBucketCorsOutput) { op := &request.Operation{ Name: opDeleteBucketCors, @@ -621,7 +621,7 @@ func (c *S3) DeleteBucketCorsRequest(input *DeleteBucketCorsInput) (req *request // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation DeleteBucketCors for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCors +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCors func (c *S3) DeleteBucketCors(input *DeleteBucketCorsInput) (*DeleteBucketCorsOutput, error) { req, out := c.DeleteBucketCorsRequest(input) return out, req.Send() @@ -668,7 +668,7 @@ const opDeleteBucketEncryption = "DeleteBucketEncryption" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryption +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryption func (c *S3) DeleteBucketEncryptionRequest(input *DeleteBucketEncryptionInput) (req *request.Request, output *DeleteBucketEncryptionOutput) { op := &request.Operation{ Name: opDeleteBucketEncryption, @@ -697,7 +697,7 @@ func (c *S3) DeleteBucketEncryptionRequest(input *DeleteBucketEncryptionInput) ( // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation DeleteBucketEncryption for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryption +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryption func (c *S3) DeleteBucketEncryption(input *DeleteBucketEncryptionInput) (*DeleteBucketEncryptionOutput, error) { req, out := c.DeleteBucketEncryptionRequest(input) return out, req.Send() @@ -744,7 +744,7 @@ const opDeleteBucketInventoryConfiguration = "DeleteBucketInventoryConfiguration // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfiguration func (c *S3) DeleteBucketInventoryConfigurationRequest(input *DeleteBucketInventoryConfigurationInput) (req *request.Request, output *DeleteBucketInventoryConfigurationOutput) { op := &request.Operation{ Name: opDeleteBucketInventoryConfiguration, @@ -774,7 +774,7 @@ func (c *S3) DeleteBucketInventoryConfigurationRequest(input *DeleteBucketInvent // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation DeleteBucketInventoryConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfiguration func (c *S3) DeleteBucketInventoryConfiguration(input *DeleteBucketInventoryConfigurationInput) (*DeleteBucketInventoryConfigurationOutput, error) { req, out := c.DeleteBucketInventoryConfigurationRequest(input) return out, req.Send() @@ -821,7 +821,7 @@ const opDeleteBucketLifecycle = "DeleteBucketLifecycle" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycle +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycle func (c *S3) DeleteBucketLifecycleRequest(input *DeleteBucketLifecycleInput) (req *request.Request, output *DeleteBucketLifecycleOutput) { op := &request.Operation{ Name: opDeleteBucketLifecycle, @@ -850,7 +850,7 @@ func (c *S3) DeleteBucketLifecycleRequest(input *DeleteBucketLifecycleInput) (re // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation DeleteBucketLifecycle for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycle +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycle func (c *S3) DeleteBucketLifecycle(input *DeleteBucketLifecycleInput) (*DeleteBucketLifecycleOutput, error) { req, out := c.DeleteBucketLifecycleRequest(input) return out, req.Send() @@ -897,7 +897,7 @@ const opDeleteBucketMetricsConfiguration = "DeleteBucketMetricsConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfiguration func (c *S3) DeleteBucketMetricsConfigurationRequest(input *DeleteBucketMetricsConfigurationInput) (req *request.Request, output *DeleteBucketMetricsConfigurationOutput) { op := &request.Operation{ Name: opDeleteBucketMetricsConfiguration, @@ -927,7 +927,7 @@ func (c *S3) DeleteBucketMetricsConfigurationRequest(input *DeleteBucketMetricsC // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation DeleteBucketMetricsConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfiguration func (c *S3) DeleteBucketMetricsConfiguration(input *DeleteBucketMetricsConfigurationInput) (*DeleteBucketMetricsConfigurationOutput, error) { req, out := c.DeleteBucketMetricsConfigurationRequest(input) return out, req.Send() @@ -974,7 +974,7 @@ const opDeleteBucketPolicy = "DeleteBucketPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicy func (c *S3) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) (req *request.Request, output *DeleteBucketPolicyOutput) { op := &request.Operation{ Name: opDeleteBucketPolicy, @@ -1003,7 +1003,7 @@ func (c *S3) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) (req *req // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation DeleteBucketPolicy for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicy func (c *S3) DeleteBucketPolicy(input *DeleteBucketPolicyInput) (*DeleteBucketPolicyOutput, error) { req, out := c.DeleteBucketPolicyRequest(input) return out, req.Send() @@ -1050,7 +1050,7 @@ const opDeleteBucketReplication = "DeleteBucketReplication" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplication func (c *S3) DeleteBucketReplicationRequest(input *DeleteBucketReplicationInput) (req *request.Request, output *DeleteBucketReplicationOutput) { op := &request.Operation{ Name: opDeleteBucketReplication, @@ -1079,7 +1079,7 @@ func (c *S3) DeleteBucketReplicationRequest(input *DeleteBucketReplicationInput) // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation DeleteBucketReplication for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplication func (c *S3) DeleteBucketReplication(input *DeleteBucketReplicationInput) (*DeleteBucketReplicationOutput, error) { req, out := c.DeleteBucketReplicationRequest(input) return out, req.Send() @@ -1126,7 +1126,7 @@ const opDeleteBucketTagging = "DeleteBucketTagging" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTagging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTagging func (c *S3) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) (req *request.Request, output *DeleteBucketTaggingOutput) { op := &request.Operation{ Name: opDeleteBucketTagging, @@ -1155,7 +1155,7 @@ func (c *S3) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) (req *r // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation DeleteBucketTagging for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTagging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTagging func (c *S3) DeleteBucketTagging(input *DeleteBucketTaggingInput) (*DeleteBucketTaggingOutput, error) { req, out := c.DeleteBucketTaggingRequest(input) return out, req.Send() @@ -1202,7 +1202,7 @@ const opDeleteBucketWebsite = "DeleteBucketWebsite" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsite +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsite func (c *S3) DeleteBucketWebsiteRequest(input *DeleteBucketWebsiteInput) (req *request.Request, output *DeleteBucketWebsiteOutput) { op := &request.Operation{ Name: opDeleteBucketWebsite, @@ -1231,7 +1231,7 @@ func (c *S3) DeleteBucketWebsiteRequest(input *DeleteBucketWebsiteInput) (req *r // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation DeleteBucketWebsite for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsite +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsite func (c *S3) DeleteBucketWebsite(input *DeleteBucketWebsiteInput) (*DeleteBucketWebsiteOutput, error) { req, out := c.DeleteBucketWebsiteRequest(input) return out, req.Send() @@ -1278,7 +1278,7 @@ const opDeleteObject = "DeleteObject" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObject +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObject func (c *S3) DeleteObjectRequest(input *DeleteObjectInput) (req *request.Request, output *DeleteObjectOutput) { op := &request.Operation{ Name: opDeleteObject, @@ -1307,7 +1307,7 @@ func (c *S3) DeleteObjectRequest(input *DeleteObjectInput) (req *request.Request // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation DeleteObject for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObject +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObject func (c *S3) DeleteObject(input *DeleteObjectInput) (*DeleteObjectOutput, error) { req, out := c.DeleteObjectRequest(input) return out, req.Send() @@ -1354,7 +1354,7 @@ const opDeleteObjectTagging = "DeleteObjectTagging" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTagging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTagging func (c *S3) DeleteObjectTaggingRequest(input *DeleteObjectTaggingInput) (req *request.Request, output *DeleteObjectTaggingOutput) { op := &request.Operation{ Name: opDeleteObjectTagging, @@ -1381,7 +1381,7 @@ func (c *S3) DeleteObjectTaggingRequest(input *DeleteObjectTaggingInput) (req *r // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation DeleteObjectTagging for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTagging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTagging func (c *S3) DeleteObjectTagging(input *DeleteObjectTaggingInput) (*DeleteObjectTaggingOutput, error) { req, out := c.DeleteObjectTaggingRequest(input) return out, req.Send() @@ -1428,7 +1428,7 @@ const opDeleteObjects = "DeleteObjects" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjects +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjects func (c *S3) DeleteObjectsRequest(input *DeleteObjectsInput) (req *request.Request, output *DeleteObjectsOutput) { op := &request.Operation{ Name: opDeleteObjects, @@ -1456,7 +1456,7 @@ func (c *S3) DeleteObjectsRequest(input *DeleteObjectsInput) (req *request.Reque // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation DeleteObjects for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjects +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjects func (c *S3) DeleteObjects(input *DeleteObjectsInput) (*DeleteObjectsOutput, error) { req, out := c.DeleteObjectsRequest(input) return out, req.Send() @@ -1503,7 +1503,7 @@ const opGetBucketAccelerateConfiguration = "GetBucketAccelerateConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfiguration func (c *S3) GetBucketAccelerateConfigurationRequest(input *GetBucketAccelerateConfigurationInput) (req *request.Request, output *GetBucketAccelerateConfigurationOutput) { op := &request.Operation{ Name: opGetBucketAccelerateConfiguration, @@ -1530,7 +1530,7 @@ func (c *S3) GetBucketAccelerateConfigurationRequest(input *GetBucketAccelerateC // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketAccelerateConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfiguration func (c *S3) GetBucketAccelerateConfiguration(input *GetBucketAccelerateConfigurationInput) (*GetBucketAccelerateConfigurationOutput, error) { req, out := c.GetBucketAccelerateConfigurationRequest(input) return out, req.Send() @@ -1577,7 +1577,7 @@ const opGetBucketAcl = "GetBucketAcl" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAcl +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAcl func (c *S3) GetBucketAclRequest(input *GetBucketAclInput) (req *request.Request, output *GetBucketAclOutput) { op := &request.Operation{ Name: opGetBucketAcl, @@ -1604,7 +1604,7 @@ func (c *S3) GetBucketAclRequest(input *GetBucketAclInput) (req *request.Request // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketAcl for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAcl +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAcl func (c *S3) GetBucketAcl(input *GetBucketAclInput) (*GetBucketAclOutput, error) { req, out := c.GetBucketAclRequest(input) return out, req.Send() @@ -1651,7 +1651,7 @@ const opGetBucketAnalyticsConfiguration = "GetBucketAnalyticsConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfiguration func (c *S3) GetBucketAnalyticsConfigurationRequest(input *GetBucketAnalyticsConfigurationInput) (req *request.Request, output *GetBucketAnalyticsConfigurationOutput) { op := &request.Operation{ Name: opGetBucketAnalyticsConfiguration, @@ -1679,7 +1679,7 @@ func (c *S3) GetBucketAnalyticsConfigurationRequest(input *GetBucketAnalyticsCon // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketAnalyticsConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfiguration func (c *S3) GetBucketAnalyticsConfiguration(input *GetBucketAnalyticsConfigurationInput) (*GetBucketAnalyticsConfigurationOutput, error) { req, out := c.GetBucketAnalyticsConfigurationRequest(input) return out, req.Send() @@ -1726,7 +1726,7 @@ const opGetBucketCors = "GetBucketCors" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCors +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCors func (c *S3) GetBucketCorsRequest(input *GetBucketCorsInput) (req *request.Request, output *GetBucketCorsOutput) { op := &request.Operation{ Name: opGetBucketCors, @@ -1753,7 +1753,7 @@ func (c *S3) GetBucketCorsRequest(input *GetBucketCorsInput) (req *request.Reque // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketCors for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCors +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCors func (c *S3) GetBucketCors(input *GetBucketCorsInput) (*GetBucketCorsOutput, error) { req, out := c.GetBucketCorsRequest(input) return out, req.Send() @@ -1800,7 +1800,7 @@ const opGetBucketEncryption = "GetBucketEncryption" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryption +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryption func (c *S3) GetBucketEncryptionRequest(input *GetBucketEncryptionInput) (req *request.Request, output *GetBucketEncryptionOutput) { op := &request.Operation{ Name: opGetBucketEncryption, @@ -1827,7 +1827,7 @@ func (c *S3) GetBucketEncryptionRequest(input *GetBucketEncryptionInput) (req *r // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketEncryption for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryption +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryption func (c *S3) GetBucketEncryption(input *GetBucketEncryptionInput) (*GetBucketEncryptionOutput, error) { req, out := c.GetBucketEncryptionRequest(input) return out, req.Send() @@ -1874,7 +1874,7 @@ const opGetBucketInventoryConfiguration = "GetBucketInventoryConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfiguration func (c *S3) GetBucketInventoryConfigurationRequest(input *GetBucketInventoryConfigurationInput) (req *request.Request, output *GetBucketInventoryConfigurationOutput) { op := &request.Operation{ Name: opGetBucketInventoryConfiguration, @@ -1902,7 +1902,7 @@ func (c *S3) GetBucketInventoryConfigurationRequest(input *GetBucketInventoryCon // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketInventoryConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfiguration func (c *S3) GetBucketInventoryConfiguration(input *GetBucketInventoryConfigurationInput) (*GetBucketInventoryConfigurationOutput, error) { req, out := c.GetBucketInventoryConfigurationRequest(input) return out, req.Send() @@ -1949,7 +1949,7 @@ const opGetBucketLifecycle = "GetBucketLifecycle" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycle +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycle func (c *S3) GetBucketLifecycleRequest(input *GetBucketLifecycleInput) (req *request.Request, output *GetBucketLifecycleOutput) { if c.Client.Config.Logger != nil { c.Client.Config.Logger.Log("This operation, GetBucketLifecycle, has been deprecated") @@ -1979,7 +1979,7 @@ func (c *S3) GetBucketLifecycleRequest(input *GetBucketLifecycleInput) (req *req // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketLifecycle for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycle +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycle func (c *S3) GetBucketLifecycle(input *GetBucketLifecycleInput) (*GetBucketLifecycleOutput, error) { req, out := c.GetBucketLifecycleRequest(input) return out, req.Send() @@ -2026,7 +2026,7 @@ const opGetBucketLifecycleConfiguration = "GetBucketLifecycleConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfiguration func (c *S3) GetBucketLifecycleConfigurationRequest(input *GetBucketLifecycleConfigurationInput) (req *request.Request, output *GetBucketLifecycleConfigurationOutput) { op := &request.Operation{ Name: opGetBucketLifecycleConfiguration, @@ -2053,7 +2053,7 @@ func (c *S3) GetBucketLifecycleConfigurationRequest(input *GetBucketLifecycleCon // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketLifecycleConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfiguration func (c *S3) GetBucketLifecycleConfiguration(input *GetBucketLifecycleConfigurationInput) (*GetBucketLifecycleConfigurationOutput, error) { req, out := c.GetBucketLifecycleConfigurationRequest(input) return out, req.Send() @@ -2100,7 +2100,7 @@ const opGetBucketLocation = "GetBucketLocation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocation func (c *S3) GetBucketLocationRequest(input *GetBucketLocationInput) (req *request.Request, output *GetBucketLocationOutput) { op := &request.Operation{ Name: opGetBucketLocation, @@ -2127,7 +2127,7 @@ func (c *S3) GetBucketLocationRequest(input *GetBucketLocationInput) (req *reque // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketLocation for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocation func (c *S3) GetBucketLocation(input *GetBucketLocationInput) (*GetBucketLocationOutput, error) { req, out := c.GetBucketLocationRequest(input) return out, req.Send() @@ -2174,7 +2174,7 @@ const opGetBucketLogging = "GetBucketLogging" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLogging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLogging func (c *S3) GetBucketLoggingRequest(input *GetBucketLoggingInput) (req *request.Request, output *GetBucketLoggingOutput) { op := &request.Operation{ Name: opGetBucketLogging, @@ -2202,7 +2202,7 @@ func (c *S3) GetBucketLoggingRequest(input *GetBucketLoggingInput) (req *request // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketLogging for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLogging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLogging func (c *S3) GetBucketLogging(input *GetBucketLoggingInput) (*GetBucketLoggingOutput, error) { req, out := c.GetBucketLoggingRequest(input) return out, req.Send() @@ -2249,7 +2249,7 @@ const opGetBucketMetricsConfiguration = "GetBucketMetricsConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfiguration func (c *S3) GetBucketMetricsConfigurationRequest(input *GetBucketMetricsConfigurationInput) (req *request.Request, output *GetBucketMetricsConfigurationOutput) { op := &request.Operation{ Name: opGetBucketMetricsConfiguration, @@ -2277,7 +2277,7 @@ func (c *S3) GetBucketMetricsConfigurationRequest(input *GetBucketMetricsConfigu // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketMetricsConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfiguration func (c *S3) GetBucketMetricsConfiguration(input *GetBucketMetricsConfigurationInput) (*GetBucketMetricsConfigurationOutput, error) { req, out := c.GetBucketMetricsConfigurationRequest(input) return out, req.Send() @@ -2324,7 +2324,7 @@ const opGetBucketNotification = "GetBucketNotification" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotification +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotification func (c *S3) GetBucketNotificationRequest(input *GetBucketNotificationConfigurationRequest) (req *request.Request, output *NotificationConfigurationDeprecated) { if c.Client.Config.Logger != nil { c.Client.Config.Logger.Log("This operation, GetBucketNotification, has been deprecated") @@ -2354,7 +2354,7 @@ func (c *S3) GetBucketNotificationRequest(input *GetBucketNotificationConfigurat // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketNotification for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotification +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotification func (c *S3) GetBucketNotification(input *GetBucketNotificationConfigurationRequest) (*NotificationConfigurationDeprecated, error) { req, out := c.GetBucketNotificationRequest(input) return out, req.Send() @@ -2401,7 +2401,7 @@ const opGetBucketNotificationConfiguration = "GetBucketNotificationConfiguration // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationConfiguration func (c *S3) GetBucketNotificationConfigurationRequest(input *GetBucketNotificationConfigurationRequest) (req *request.Request, output *NotificationConfiguration) { op := &request.Operation{ Name: opGetBucketNotificationConfiguration, @@ -2428,7 +2428,7 @@ func (c *S3) GetBucketNotificationConfigurationRequest(input *GetBucketNotificat // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketNotificationConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationConfiguration func (c *S3) GetBucketNotificationConfiguration(input *GetBucketNotificationConfigurationRequest) (*NotificationConfiguration, error) { req, out := c.GetBucketNotificationConfigurationRequest(input) return out, req.Send() @@ -2475,7 +2475,7 @@ const opGetBucketPolicy = "GetBucketPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicy func (c *S3) GetBucketPolicyRequest(input *GetBucketPolicyInput) (req *request.Request, output *GetBucketPolicyOutput) { op := &request.Operation{ Name: opGetBucketPolicy, @@ -2502,7 +2502,7 @@ func (c *S3) GetBucketPolicyRequest(input *GetBucketPolicyInput) (req *request.R // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketPolicy for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicy func (c *S3) GetBucketPolicy(input *GetBucketPolicyInput) (*GetBucketPolicyOutput, error) { req, out := c.GetBucketPolicyRequest(input) return out, req.Send() @@ -2549,7 +2549,7 @@ const opGetBucketReplication = "GetBucketReplication" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplication func (c *S3) GetBucketReplicationRequest(input *GetBucketReplicationInput) (req *request.Request, output *GetBucketReplicationOutput) { op := &request.Operation{ Name: opGetBucketReplication, @@ -2576,7 +2576,7 @@ func (c *S3) GetBucketReplicationRequest(input *GetBucketReplicationInput) (req // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketReplication for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplication func (c *S3) GetBucketReplication(input *GetBucketReplicationInput) (*GetBucketReplicationOutput, error) { req, out := c.GetBucketReplicationRequest(input) return out, req.Send() @@ -2623,7 +2623,7 @@ const opGetBucketRequestPayment = "GetBucketRequestPayment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPayment +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPayment func (c *S3) GetBucketRequestPaymentRequest(input *GetBucketRequestPaymentInput) (req *request.Request, output *GetBucketRequestPaymentOutput) { op := &request.Operation{ Name: opGetBucketRequestPayment, @@ -2650,7 +2650,7 @@ func (c *S3) GetBucketRequestPaymentRequest(input *GetBucketRequestPaymentInput) // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketRequestPayment for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPayment +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPayment func (c *S3) GetBucketRequestPayment(input *GetBucketRequestPaymentInput) (*GetBucketRequestPaymentOutput, error) { req, out := c.GetBucketRequestPaymentRequest(input) return out, req.Send() @@ -2697,7 +2697,7 @@ const opGetBucketTagging = "GetBucketTagging" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTagging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTagging func (c *S3) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req *request.Request, output *GetBucketTaggingOutput) { op := &request.Operation{ Name: opGetBucketTagging, @@ -2724,7 +2724,7 @@ func (c *S3) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req *request // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketTagging for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTagging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTagging func (c *S3) GetBucketTagging(input *GetBucketTaggingInput) (*GetBucketTaggingOutput, error) { req, out := c.GetBucketTaggingRequest(input) return out, req.Send() @@ -2771,7 +2771,7 @@ const opGetBucketVersioning = "GetBucketVersioning" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioning +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioning func (c *S3) GetBucketVersioningRequest(input *GetBucketVersioningInput) (req *request.Request, output *GetBucketVersioningOutput) { op := &request.Operation{ Name: opGetBucketVersioning, @@ -2798,7 +2798,7 @@ func (c *S3) GetBucketVersioningRequest(input *GetBucketVersioningInput) (req *r // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketVersioning for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioning +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioning func (c *S3) GetBucketVersioning(input *GetBucketVersioningInput) (*GetBucketVersioningOutput, error) { req, out := c.GetBucketVersioningRequest(input) return out, req.Send() @@ -2845,7 +2845,7 @@ const opGetBucketWebsite = "GetBucketWebsite" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsite +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsite func (c *S3) GetBucketWebsiteRequest(input *GetBucketWebsiteInput) (req *request.Request, output *GetBucketWebsiteOutput) { op := &request.Operation{ Name: opGetBucketWebsite, @@ -2872,7 +2872,7 @@ func (c *S3) GetBucketWebsiteRequest(input *GetBucketWebsiteInput) (req *request // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetBucketWebsite for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsite +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsite func (c *S3) GetBucketWebsite(input *GetBucketWebsiteInput) (*GetBucketWebsiteOutput, error) { req, out := c.GetBucketWebsiteRequest(input) return out, req.Send() @@ -2919,7 +2919,7 @@ const opGetObject = "GetObject" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject func (c *S3) GetObjectRequest(input *GetObjectInput) (req *request.Request, output *GetObjectOutput) { op := &request.Operation{ Name: opGetObject, @@ -2951,7 +2951,7 @@ func (c *S3) GetObjectRequest(input *GetObjectInput) (req *request.Request, outp // * ErrCodeNoSuchKey "NoSuchKey" // The specified key does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject func (c *S3) GetObject(input *GetObjectInput) (*GetObjectOutput, error) { req, out := c.GetObjectRequest(input) return out, req.Send() @@ -2998,7 +2998,7 @@ const opGetObjectAcl = "GetObjectAcl" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAcl +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAcl func (c *S3) GetObjectAclRequest(input *GetObjectAclInput) (req *request.Request, output *GetObjectAclOutput) { op := &request.Operation{ Name: opGetObjectAcl, @@ -3030,7 +3030,7 @@ func (c *S3) GetObjectAclRequest(input *GetObjectAclInput) (req *request.Request // * ErrCodeNoSuchKey "NoSuchKey" // The specified key does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAcl +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAcl func (c *S3) GetObjectAcl(input *GetObjectAclInput) (*GetObjectAclOutput, error) { req, out := c.GetObjectAclRequest(input) return out, req.Send() @@ -3077,7 +3077,7 @@ const opGetObjectTagging = "GetObjectTagging" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTagging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTagging func (c *S3) GetObjectTaggingRequest(input *GetObjectTaggingInput) (req *request.Request, output *GetObjectTaggingOutput) { op := &request.Operation{ Name: opGetObjectTagging, @@ -3104,7 +3104,7 @@ func (c *S3) GetObjectTaggingRequest(input *GetObjectTaggingInput) (req *request // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetObjectTagging for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTagging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTagging func (c *S3) GetObjectTagging(input *GetObjectTaggingInput) (*GetObjectTaggingOutput, error) { req, out := c.GetObjectTaggingRequest(input) return out, req.Send() @@ -3151,7 +3151,7 @@ const opGetObjectTorrent = "GetObjectTorrent" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrent +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrent func (c *S3) GetObjectTorrentRequest(input *GetObjectTorrentInput) (req *request.Request, output *GetObjectTorrentOutput) { op := &request.Operation{ Name: opGetObjectTorrent, @@ -3178,7 +3178,7 @@ func (c *S3) GetObjectTorrentRequest(input *GetObjectTorrentInput) (req *request // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation GetObjectTorrent for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrent +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrent func (c *S3) GetObjectTorrent(input *GetObjectTorrentInput) (*GetObjectTorrentOutput, error) { req, out := c.GetObjectTorrentRequest(input) return out, req.Send() @@ -3225,7 +3225,7 @@ const opHeadBucket = "HeadBucket" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucket +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucket func (c *S3) HeadBucketRequest(input *HeadBucketInput) (req *request.Request, output *HeadBucketOutput) { op := &request.Operation{ Name: opHeadBucket, @@ -3260,7 +3260,7 @@ func (c *S3) HeadBucketRequest(input *HeadBucketInput) (req *request.Request, ou // * ErrCodeNoSuchBucket "NoSuchBucket" // The specified bucket does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucket +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucket func (c *S3) HeadBucket(input *HeadBucketInput) (*HeadBucketOutput, error) { req, out := c.HeadBucketRequest(input) return out, req.Send() @@ -3307,7 +3307,7 @@ const opHeadObject = "HeadObject" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObject +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObject func (c *S3) HeadObjectRequest(input *HeadObjectInput) (req *request.Request, output *HeadObjectOutput) { op := &request.Operation{ Name: opHeadObject, @@ -3339,7 +3339,7 @@ func (c *S3) HeadObjectRequest(input *HeadObjectInput) (req *request.Request, ou // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation HeadObject for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObject +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObject func (c *S3) HeadObject(input *HeadObjectInput) (*HeadObjectOutput, error) { req, out := c.HeadObjectRequest(input) return out, req.Send() @@ -3386,7 +3386,7 @@ const opListBucketAnalyticsConfigurations = "ListBucketAnalyticsConfigurations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurations +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurations func (c *S3) ListBucketAnalyticsConfigurationsRequest(input *ListBucketAnalyticsConfigurationsInput) (req *request.Request, output *ListBucketAnalyticsConfigurationsOutput) { op := &request.Operation{ Name: opListBucketAnalyticsConfigurations, @@ -3413,7 +3413,7 @@ func (c *S3) ListBucketAnalyticsConfigurationsRequest(input *ListBucketAnalytics // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation ListBucketAnalyticsConfigurations for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurations +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurations func (c *S3) ListBucketAnalyticsConfigurations(input *ListBucketAnalyticsConfigurationsInput) (*ListBucketAnalyticsConfigurationsOutput, error) { req, out := c.ListBucketAnalyticsConfigurationsRequest(input) return out, req.Send() @@ -3460,7 +3460,7 @@ const opListBucketInventoryConfigurations = "ListBucketInventoryConfigurations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurations +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurations func (c *S3) ListBucketInventoryConfigurationsRequest(input *ListBucketInventoryConfigurationsInput) (req *request.Request, output *ListBucketInventoryConfigurationsOutput) { op := &request.Operation{ Name: opListBucketInventoryConfigurations, @@ -3487,7 +3487,7 @@ func (c *S3) ListBucketInventoryConfigurationsRequest(input *ListBucketInventory // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation ListBucketInventoryConfigurations for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurations +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurations func (c *S3) ListBucketInventoryConfigurations(input *ListBucketInventoryConfigurationsInput) (*ListBucketInventoryConfigurationsOutput, error) { req, out := c.ListBucketInventoryConfigurationsRequest(input) return out, req.Send() @@ -3534,7 +3534,7 @@ const opListBucketMetricsConfigurations = "ListBucketMetricsConfigurations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurations +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurations func (c *S3) ListBucketMetricsConfigurationsRequest(input *ListBucketMetricsConfigurationsInput) (req *request.Request, output *ListBucketMetricsConfigurationsOutput) { op := &request.Operation{ Name: opListBucketMetricsConfigurations, @@ -3561,7 +3561,7 @@ func (c *S3) ListBucketMetricsConfigurationsRequest(input *ListBucketMetricsConf // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation ListBucketMetricsConfigurations for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurations +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurations func (c *S3) ListBucketMetricsConfigurations(input *ListBucketMetricsConfigurationsInput) (*ListBucketMetricsConfigurationsOutput, error) { req, out := c.ListBucketMetricsConfigurationsRequest(input) return out, req.Send() @@ -3608,7 +3608,7 @@ const opListBuckets = "ListBuckets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBuckets +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBuckets func (c *S3) ListBucketsRequest(input *ListBucketsInput) (req *request.Request, output *ListBucketsOutput) { op := &request.Operation{ Name: opListBuckets, @@ -3635,7 +3635,7 @@ func (c *S3) ListBucketsRequest(input *ListBucketsInput) (req *request.Request, // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation ListBuckets for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBuckets +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBuckets func (c *S3) ListBuckets(input *ListBucketsInput) (*ListBucketsOutput, error) { req, out := c.ListBucketsRequest(input) return out, req.Send() @@ -3682,7 +3682,7 @@ const opListMultipartUploads = "ListMultipartUploads" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploads +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploads func (c *S3) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) (req *request.Request, output *ListMultipartUploadsOutput) { op := &request.Operation{ Name: opListMultipartUploads, @@ -3715,7 +3715,7 @@ func (c *S3) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) (req // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation ListMultipartUploads for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploads +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploads func (c *S3) ListMultipartUploads(input *ListMultipartUploadsInput) (*ListMultipartUploadsOutput, error) { req, out := c.ListMultipartUploadsRequest(input) return out, req.Send() @@ -3812,7 +3812,7 @@ const opListObjectVersions = "ListObjectVersions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersions func (c *S3) ListObjectVersionsRequest(input *ListObjectVersionsInput) (req *request.Request, output *ListObjectVersionsOutput) { op := &request.Operation{ Name: opListObjectVersions, @@ -3845,7 +3845,7 @@ func (c *S3) ListObjectVersionsRequest(input *ListObjectVersionsInput) (req *req // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation ListObjectVersions for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersions func (c *S3) ListObjectVersions(input *ListObjectVersionsInput) (*ListObjectVersionsOutput, error) { req, out := c.ListObjectVersionsRequest(input) return out, req.Send() @@ -3942,7 +3942,7 @@ const opListObjects = "ListObjects" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects func (c *S3) ListObjectsRequest(input *ListObjectsInput) (req *request.Request, output *ListObjectsOutput) { op := &request.Operation{ Name: opListObjects, @@ -3982,7 +3982,7 @@ func (c *S3) ListObjectsRequest(input *ListObjectsInput) (req *request.Request, // * ErrCodeNoSuchBucket "NoSuchBucket" // The specified bucket does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects func (c *S3) ListObjects(input *ListObjectsInput) (*ListObjectsOutput, error) { req, out := c.ListObjectsRequest(input) return out, req.Send() @@ -4079,7 +4079,7 @@ const opListObjectsV2 = "ListObjectsV2" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2 +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2 func (c *S3) ListObjectsV2Request(input *ListObjectsV2Input) (req *request.Request, output *ListObjectsV2Output) { op := &request.Operation{ Name: opListObjectsV2, @@ -4120,7 +4120,7 @@ func (c *S3) ListObjectsV2Request(input *ListObjectsV2Input) (req *request.Reque // * ErrCodeNoSuchBucket "NoSuchBucket" // The specified bucket does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2 +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2 func (c *S3) ListObjectsV2(input *ListObjectsV2Input) (*ListObjectsV2Output, error) { req, out := c.ListObjectsV2Request(input) return out, req.Send() @@ -4217,7 +4217,7 @@ const opListParts = "ListParts" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListParts +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListParts func (c *S3) ListPartsRequest(input *ListPartsInput) (req *request.Request, output *ListPartsOutput) { op := &request.Operation{ Name: opListParts, @@ -4250,7 +4250,7 @@ func (c *S3) ListPartsRequest(input *ListPartsInput) (req *request.Request, outp // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation ListParts for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListParts +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListParts func (c *S3) ListParts(input *ListPartsInput) (*ListPartsOutput, error) { req, out := c.ListPartsRequest(input) return out, req.Send() @@ -4347,7 +4347,7 @@ const opPutBucketAccelerateConfiguration = "PutBucketAccelerateConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfiguration func (c *S3) PutBucketAccelerateConfigurationRequest(input *PutBucketAccelerateConfigurationInput) (req *request.Request, output *PutBucketAccelerateConfigurationOutput) { op := &request.Operation{ Name: opPutBucketAccelerateConfiguration, @@ -4376,7 +4376,7 @@ func (c *S3) PutBucketAccelerateConfigurationRequest(input *PutBucketAccelerateC // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketAccelerateConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfiguration func (c *S3) PutBucketAccelerateConfiguration(input *PutBucketAccelerateConfigurationInput) (*PutBucketAccelerateConfigurationOutput, error) { req, out := c.PutBucketAccelerateConfigurationRequest(input) return out, req.Send() @@ -4423,7 +4423,7 @@ const opPutBucketAcl = "PutBucketAcl" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAcl +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAcl func (c *S3) PutBucketAclRequest(input *PutBucketAclInput) (req *request.Request, output *PutBucketAclOutput) { op := &request.Operation{ Name: opPutBucketAcl, @@ -4452,7 +4452,7 @@ func (c *S3) PutBucketAclRequest(input *PutBucketAclInput) (req *request.Request // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketAcl for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAcl +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAcl func (c *S3) PutBucketAcl(input *PutBucketAclInput) (*PutBucketAclOutput, error) { req, out := c.PutBucketAclRequest(input) return out, req.Send() @@ -4499,7 +4499,7 @@ const opPutBucketAnalyticsConfiguration = "PutBucketAnalyticsConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfiguration func (c *S3) PutBucketAnalyticsConfigurationRequest(input *PutBucketAnalyticsConfigurationInput) (req *request.Request, output *PutBucketAnalyticsConfigurationOutput) { op := &request.Operation{ Name: opPutBucketAnalyticsConfiguration, @@ -4529,7 +4529,7 @@ func (c *S3) PutBucketAnalyticsConfigurationRequest(input *PutBucketAnalyticsCon // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketAnalyticsConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfiguration func (c *S3) PutBucketAnalyticsConfiguration(input *PutBucketAnalyticsConfigurationInput) (*PutBucketAnalyticsConfigurationOutput, error) { req, out := c.PutBucketAnalyticsConfigurationRequest(input) return out, req.Send() @@ -4576,7 +4576,7 @@ const opPutBucketCors = "PutBucketCors" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCors +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCors func (c *S3) PutBucketCorsRequest(input *PutBucketCorsInput) (req *request.Request, output *PutBucketCorsOutput) { op := &request.Operation{ Name: opPutBucketCors, @@ -4605,7 +4605,7 @@ func (c *S3) PutBucketCorsRequest(input *PutBucketCorsInput) (req *request.Reque // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketCors for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCors +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCors func (c *S3) PutBucketCors(input *PutBucketCorsInput) (*PutBucketCorsOutput, error) { req, out := c.PutBucketCorsRequest(input) return out, req.Send() @@ -4652,7 +4652,7 @@ const opPutBucketEncryption = "PutBucketEncryption" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryption +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryption func (c *S3) PutBucketEncryptionRequest(input *PutBucketEncryptionInput) (req *request.Request, output *PutBucketEncryptionOutput) { op := &request.Operation{ Name: opPutBucketEncryption, @@ -4682,7 +4682,7 @@ func (c *S3) PutBucketEncryptionRequest(input *PutBucketEncryptionInput) (req *r // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketEncryption for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryption +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryption func (c *S3) PutBucketEncryption(input *PutBucketEncryptionInput) (*PutBucketEncryptionOutput, error) { req, out := c.PutBucketEncryptionRequest(input) return out, req.Send() @@ -4729,7 +4729,7 @@ const opPutBucketInventoryConfiguration = "PutBucketInventoryConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfiguration func (c *S3) PutBucketInventoryConfigurationRequest(input *PutBucketInventoryConfigurationInput) (req *request.Request, output *PutBucketInventoryConfigurationOutput) { op := &request.Operation{ Name: opPutBucketInventoryConfiguration, @@ -4759,7 +4759,7 @@ func (c *S3) PutBucketInventoryConfigurationRequest(input *PutBucketInventoryCon // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketInventoryConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfiguration func (c *S3) PutBucketInventoryConfiguration(input *PutBucketInventoryConfigurationInput) (*PutBucketInventoryConfigurationOutput, error) { req, out := c.PutBucketInventoryConfigurationRequest(input) return out, req.Send() @@ -4806,7 +4806,7 @@ const opPutBucketLifecycle = "PutBucketLifecycle" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycle +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycle func (c *S3) PutBucketLifecycleRequest(input *PutBucketLifecycleInput) (req *request.Request, output *PutBucketLifecycleOutput) { if c.Client.Config.Logger != nil { c.Client.Config.Logger.Log("This operation, PutBucketLifecycle, has been deprecated") @@ -4838,7 +4838,7 @@ func (c *S3) PutBucketLifecycleRequest(input *PutBucketLifecycleInput) (req *req // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketLifecycle for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycle +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycle func (c *S3) PutBucketLifecycle(input *PutBucketLifecycleInput) (*PutBucketLifecycleOutput, error) { req, out := c.PutBucketLifecycleRequest(input) return out, req.Send() @@ -4885,7 +4885,7 @@ const opPutBucketLifecycleConfiguration = "PutBucketLifecycleConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfiguration func (c *S3) PutBucketLifecycleConfigurationRequest(input *PutBucketLifecycleConfigurationInput) (req *request.Request, output *PutBucketLifecycleConfigurationOutput) { op := &request.Operation{ Name: opPutBucketLifecycleConfiguration, @@ -4915,7 +4915,7 @@ func (c *S3) PutBucketLifecycleConfigurationRequest(input *PutBucketLifecycleCon // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketLifecycleConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfiguration func (c *S3) PutBucketLifecycleConfiguration(input *PutBucketLifecycleConfigurationInput) (*PutBucketLifecycleConfigurationOutput, error) { req, out := c.PutBucketLifecycleConfigurationRequest(input) return out, req.Send() @@ -4962,7 +4962,7 @@ const opPutBucketLogging = "PutBucketLogging" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLogging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLogging func (c *S3) PutBucketLoggingRequest(input *PutBucketLoggingInput) (req *request.Request, output *PutBucketLoggingOutput) { op := &request.Operation{ Name: opPutBucketLogging, @@ -4993,7 +4993,7 @@ func (c *S3) PutBucketLoggingRequest(input *PutBucketLoggingInput) (req *request // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketLogging for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLogging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLogging func (c *S3) PutBucketLogging(input *PutBucketLoggingInput) (*PutBucketLoggingOutput, error) { req, out := c.PutBucketLoggingRequest(input) return out, req.Send() @@ -5040,7 +5040,7 @@ const opPutBucketMetricsConfiguration = "PutBucketMetricsConfiguration" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfiguration func (c *S3) PutBucketMetricsConfigurationRequest(input *PutBucketMetricsConfigurationInput) (req *request.Request, output *PutBucketMetricsConfigurationOutput) { op := &request.Operation{ Name: opPutBucketMetricsConfiguration, @@ -5070,7 +5070,7 @@ func (c *S3) PutBucketMetricsConfigurationRequest(input *PutBucketMetricsConfigu // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketMetricsConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfiguration func (c *S3) PutBucketMetricsConfiguration(input *PutBucketMetricsConfigurationInput) (*PutBucketMetricsConfigurationOutput, error) { req, out := c.PutBucketMetricsConfigurationRequest(input) return out, req.Send() @@ -5117,7 +5117,7 @@ const opPutBucketNotification = "PutBucketNotification" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotification +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotification func (c *S3) PutBucketNotificationRequest(input *PutBucketNotificationInput) (req *request.Request, output *PutBucketNotificationOutput) { if c.Client.Config.Logger != nil { c.Client.Config.Logger.Log("This operation, PutBucketNotification, has been deprecated") @@ -5149,7 +5149,7 @@ func (c *S3) PutBucketNotificationRequest(input *PutBucketNotificationInput) (re // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketNotification for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotification +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotification func (c *S3) PutBucketNotification(input *PutBucketNotificationInput) (*PutBucketNotificationOutput, error) { req, out := c.PutBucketNotificationRequest(input) return out, req.Send() @@ -5196,7 +5196,7 @@ const opPutBucketNotificationConfiguration = "PutBucketNotificationConfiguration // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfiguration func (c *S3) PutBucketNotificationConfigurationRequest(input *PutBucketNotificationConfigurationInput) (req *request.Request, output *PutBucketNotificationConfigurationOutput) { op := &request.Operation{ Name: opPutBucketNotificationConfiguration, @@ -5225,7 +5225,7 @@ func (c *S3) PutBucketNotificationConfigurationRequest(input *PutBucketNotificat // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketNotificationConfiguration for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfiguration func (c *S3) PutBucketNotificationConfiguration(input *PutBucketNotificationConfigurationInput) (*PutBucketNotificationConfigurationOutput, error) { req, out := c.PutBucketNotificationConfigurationRequest(input) return out, req.Send() @@ -5272,7 +5272,7 @@ const opPutBucketPolicy = "PutBucketPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicy func (c *S3) PutBucketPolicyRequest(input *PutBucketPolicyInput) (req *request.Request, output *PutBucketPolicyOutput) { op := &request.Operation{ Name: opPutBucketPolicy, @@ -5302,7 +5302,7 @@ func (c *S3) PutBucketPolicyRequest(input *PutBucketPolicyInput) (req *request.R // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketPolicy for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicy func (c *S3) PutBucketPolicy(input *PutBucketPolicyInput) (*PutBucketPolicyOutput, error) { req, out := c.PutBucketPolicyRequest(input) return out, req.Send() @@ -5349,7 +5349,7 @@ const opPutBucketReplication = "PutBucketReplication" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplication func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) (req *request.Request, output *PutBucketReplicationOutput) { op := &request.Operation{ Name: opPutBucketReplication, @@ -5379,7 +5379,7 @@ func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) (req // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketReplication for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplication func (c *S3) PutBucketReplication(input *PutBucketReplicationInput) (*PutBucketReplicationOutput, error) { req, out := c.PutBucketReplicationRequest(input) return out, req.Send() @@ -5426,7 +5426,7 @@ const opPutBucketRequestPayment = "PutBucketRequestPayment" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPayment +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPayment func (c *S3) PutBucketRequestPaymentRequest(input *PutBucketRequestPaymentInput) (req *request.Request, output *PutBucketRequestPaymentOutput) { op := &request.Operation{ Name: opPutBucketRequestPayment, @@ -5459,7 +5459,7 @@ func (c *S3) PutBucketRequestPaymentRequest(input *PutBucketRequestPaymentInput) // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketRequestPayment for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPayment +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPayment func (c *S3) PutBucketRequestPayment(input *PutBucketRequestPaymentInput) (*PutBucketRequestPaymentOutput, error) { req, out := c.PutBucketRequestPaymentRequest(input) return out, req.Send() @@ -5506,7 +5506,7 @@ const opPutBucketTagging = "PutBucketTagging" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTagging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTagging func (c *S3) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req *request.Request, output *PutBucketTaggingOutput) { op := &request.Operation{ Name: opPutBucketTagging, @@ -5535,7 +5535,7 @@ func (c *S3) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req *request // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketTagging for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTagging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTagging func (c *S3) PutBucketTagging(input *PutBucketTaggingInput) (*PutBucketTaggingOutput, error) { req, out := c.PutBucketTaggingRequest(input) return out, req.Send() @@ -5582,7 +5582,7 @@ const opPutBucketVersioning = "PutBucketVersioning" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioning +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioning func (c *S3) PutBucketVersioningRequest(input *PutBucketVersioningInput) (req *request.Request, output *PutBucketVersioningOutput) { op := &request.Operation{ Name: opPutBucketVersioning, @@ -5612,7 +5612,7 @@ func (c *S3) PutBucketVersioningRequest(input *PutBucketVersioningInput) (req *r // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketVersioning for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioning +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioning func (c *S3) PutBucketVersioning(input *PutBucketVersioningInput) (*PutBucketVersioningOutput, error) { req, out := c.PutBucketVersioningRequest(input) return out, req.Send() @@ -5659,7 +5659,7 @@ const opPutBucketWebsite = "PutBucketWebsite" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsite +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsite func (c *S3) PutBucketWebsiteRequest(input *PutBucketWebsiteInput) (req *request.Request, output *PutBucketWebsiteOutput) { op := &request.Operation{ Name: opPutBucketWebsite, @@ -5688,7 +5688,7 @@ func (c *S3) PutBucketWebsiteRequest(input *PutBucketWebsiteInput) (req *request // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutBucketWebsite for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsite +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsite func (c *S3) PutBucketWebsite(input *PutBucketWebsiteInput) (*PutBucketWebsiteOutput, error) { req, out := c.PutBucketWebsiteRequest(input) return out, req.Send() @@ -5735,7 +5735,7 @@ const opPutObject = "PutObject" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObject +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObject func (c *S3) PutObjectRequest(input *PutObjectInput) (req *request.Request, output *PutObjectOutput) { op := &request.Operation{ Name: opPutObject, @@ -5762,7 +5762,7 @@ func (c *S3) PutObjectRequest(input *PutObjectInput) (req *request.Request, outp // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutObject for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObject +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObject func (c *S3) PutObject(input *PutObjectInput) (*PutObjectOutput, error) { req, out := c.PutObjectRequest(input) return out, req.Send() @@ -5809,7 +5809,7 @@ const opPutObjectAcl = "PutObjectAcl" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAcl +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAcl func (c *S3) PutObjectAclRequest(input *PutObjectAclInput) (req *request.Request, output *PutObjectAclOutput) { op := &request.Operation{ Name: opPutObjectAcl, @@ -5842,7 +5842,7 @@ func (c *S3) PutObjectAclRequest(input *PutObjectAclInput) (req *request.Request // * ErrCodeNoSuchKey "NoSuchKey" // The specified key does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAcl +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAcl func (c *S3) PutObjectAcl(input *PutObjectAclInput) (*PutObjectAclOutput, error) { req, out := c.PutObjectAclRequest(input) return out, req.Send() @@ -5889,7 +5889,7 @@ const opPutObjectTagging = "PutObjectTagging" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTagging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTagging func (c *S3) PutObjectTaggingRequest(input *PutObjectTaggingInput) (req *request.Request, output *PutObjectTaggingOutput) { op := &request.Operation{ Name: opPutObjectTagging, @@ -5916,7 +5916,7 @@ func (c *S3) PutObjectTaggingRequest(input *PutObjectTaggingInput) (req *request // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation PutObjectTagging for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTagging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTagging func (c *S3) PutObjectTagging(input *PutObjectTaggingInput) (*PutObjectTaggingOutput, error) { req, out := c.PutObjectTaggingRequest(input) return out, req.Send() @@ -5963,7 +5963,7 @@ const opRestoreObject = "RestoreObject" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObject +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObject func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Request, output *RestoreObjectOutput) { op := &request.Operation{ Name: opRestoreObject, @@ -5995,7 +5995,7 @@ func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Reque // * ErrCodeObjectAlreadyInActiveTierError "ObjectAlreadyInActiveTierError" // This operation is not allowed against this storage tier // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObject +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObject func (c *S3) RestoreObject(input *RestoreObjectInput) (*RestoreObjectOutput, error) { req, out := c.RestoreObjectRequest(input) return out, req.Send() @@ -6042,7 +6042,7 @@ const opUploadPart = "UploadPart" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPart +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPart func (c *S3) UploadPartRequest(input *UploadPartInput) (req *request.Request, output *UploadPartOutput) { op := &request.Operation{ Name: opUploadPart, @@ -6075,7 +6075,7 @@ func (c *S3) UploadPartRequest(input *UploadPartInput) (req *request.Request, ou // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation UploadPart for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPart +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPart func (c *S3) UploadPart(input *UploadPartInput) (*UploadPartOutput, error) { req, out := c.UploadPartRequest(input) return out, req.Send() @@ -6122,7 +6122,7 @@ const opUploadPartCopy = "UploadPartCopy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopy +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopy func (c *S3) UploadPartCopyRequest(input *UploadPartCopyInput) (req *request.Request, output *UploadPartCopyOutput) { op := &request.Operation{ Name: opUploadPartCopy, @@ -6149,7 +6149,7 @@ func (c *S3) UploadPartCopyRequest(input *UploadPartCopyInput) (req *request.Req // // See the AWS API reference guide for Amazon Simple Storage Service's // API operation UploadPartCopy for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopy +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopy func (c *S3) UploadPartCopy(input *UploadPartCopyInput) (*UploadPartCopyOutput, error) { req, out := c.UploadPartCopyRequest(input) return out, req.Send() @@ -6173,7 +6173,7 @@ func (c *S3) UploadPartCopyWithContext(ctx aws.Context, input *UploadPartCopyInp // Specifies the days since the initiation of an Incomplete Multipart Upload // that Lifecycle will wait before permanently removing all parts of the upload. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortIncompleteMultipartUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortIncompleteMultipartUpload type AbortIncompleteMultipartUpload struct { _ struct{} `type:"structure"` @@ -6198,7 +6198,7 @@ func (s *AbortIncompleteMultipartUpload) SetDaysAfterInitiation(v int64) *AbortI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadRequest type AbortMultipartUploadInput struct { _ struct{} `type:"structure"` @@ -6281,7 +6281,7 @@ func (s *AbortMultipartUploadInput) SetUploadId(v string) *AbortMultipartUploadI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadOutput type AbortMultipartUploadOutput struct { _ struct{} `type:"structure"` @@ -6306,7 +6306,7 @@ func (s *AbortMultipartUploadOutput) SetRequestCharged(v string) *AbortMultipart return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccelerateConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccelerateConfiguration type AccelerateConfiguration struct { _ struct{} `type:"structure"` @@ -6330,7 +6330,7 @@ func (s *AccelerateConfiguration) SetStatus(v string) *AccelerateConfiguration { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlPolicy type AccessControlPolicy struct { _ struct{} `type:"structure"` @@ -6383,7 +6383,7 @@ func (s *AccessControlPolicy) SetOwner(v *Owner) *AccessControlPolicy { } // Container for information regarding the access control for replicas. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlTranslation +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlTranslation type AccessControlTranslation struct { _ struct{} `type:"structure"` @@ -6422,7 +6422,7 @@ func (s *AccessControlTranslation) SetOwner(v string) *AccessControlTranslation return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsAndOperator +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsAndOperator type AnalyticsAndOperator struct { _ struct{} `type:"structure"` @@ -6475,7 +6475,7 @@ func (s *AnalyticsAndOperator) SetTags(v []*Tag) *AnalyticsAndOperator { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsConfiguration type AnalyticsConfiguration struct { _ struct{} `type:"structure"` @@ -6550,7 +6550,7 @@ func (s *AnalyticsConfiguration) SetStorageClassAnalysis(v *StorageClassAnalysis return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsExportDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsExportDestination type AnalyticsExportDestination struct { _ struct{} `type:"structure"` @@ -6594,7 +6594,7 @@ func (s *AnalyticsExportDestination) SetS3BucketDestination(v *AnalyticsS3Bucket return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsFilter type AnalyticsFilter struct { _ struct{} `type:"structure"` @@ -6657,7 +6657,7 @@ func (s *AnalyticsFilter) SetTag(v *Tag) *AnalyticsFilter { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsS3BucketDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsS3BucketDestination type AnalyticsS3BucketDestination struct { _ struct{} `type:"structure"` @@ -6737,7 +6737,7 @@ func (s *AnalyticsS3BucketDestination) SetPrefix(v string) *AnalyticsS3BucketDes return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Bucket +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Bucket type Bucket struct { _ struct{} `type:"structure"` @@ -6770,7 +6770,7 @@ func (s *Bucket) SetName(v string) *Bucket { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLifecycleConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLifecycleConfiguration type BucketLifecycleConfiguration struct { _ struct{} `type:"structure"` @@ -6817,7 +6817,7 @@ func (s *BucketLifecycleConfiguration) SetRules(v []*LifecycleRule) *BucketLifec return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLoggingStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLoggingStatus type BucketLoggingStatus struct { _ struct{} `type:"structure"` @@ -6855,7 +6855,7 @@ func (s *BucketLoggingStatus) SetLoggingEnabled(v *LoggingEnabled) *BucketLoggin return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSConfiguration type CORSConfiguration struct { _ struct{} `type:"structure"` @@ -6902,7 +6902,7 @@ func (s *CORSConfiguration) SetCORSRules(v []*CORSRule) *CORSConfiguration { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSRule type CORSRule struct { _ struct{} `type:"structure"` @@ -6986,7 +6986,141 @@ func (s *CORSRule) SetMaxAgeSeconds(v int64) *CORSRule { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CloudFunctionConfiguration +// Describes how a CSV-formatted input object is formatted. +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CSVInput +type CSVInput struct { + _ struct{} `type:"structure"` + + // Single character used to indicate a row should be ignored when present at + // the start of a row. + Comments *string `type:"string"` + + // Value used to separate individual fields in a record. + FieldDelimiter *string `type:"string"` + + // Describes the first line of input. Valid values: None, Ignore, Use. + FileHeaderInfo *string `type:"string" enum:"FileHeaderInfo"` + + // Value used for escaping where the field delimiter is part of the value. + QuoteCharacter *string `type:"string"` + + // Single character used for escaping the quote character inside an already + // escaped value. + QuoteEscapeCharacter *string `type:"string"` + + // Value used to separate individual records. + RecordDelimiter *string `type:"string"` +} + +// String returns the string representation +func (s CSVInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CSVInput) GoString() string { + return s.String() +} + +// SetComments sets the Comments field's value. +func (s *CSVInput) SetComments(v string) *CSVInput { + s.Comments = &v + return s +} + +// SetFieldDelimiter sets the FieldDelimiter field's value. +func (s *CSVInput) SetFieldDelimiter(v string) *CSVInput { + s.FieldDelimiter = &v + return s +} + +// SetFileHeaderInfo sets the FileHeaderInfo field's value. +func (s *CSVInput) SetFileHeaderInfo(v string) *CSVInput { + s.FileHeaderInfo = &v + return s +} + +// SetQuoteCharacter sets the QuoteCharacter field's value. +func (s *CSVInput) SetQuoteCharacter(v string) *CSVInput { + s.QuoteCharacter = &v + return s +} + +// SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value. +func (s *CSVInput) SetQuoteEscapeCharacter(v string) *CSVInput { + s.QuoteEscapeCharacter = &v + return s +} + +// SetRecordDelimiter sets the RecordDelimiter field's value. +func (s *CSVInput) SetRecordDelimiter(v string) *CSVInput { + s.RecordDelimiter = &v + return s +} + +// Describes how CSV-formatted results are formatted. +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CSVOutput +type CSVOutput struct { + _ struct{} `type:"structure"` + + // Value used to separate individual fields in a record. + FieldDelimiter *string `type:"string"` + + // Value used for escaping where the field delimiter is part of the value. + QuoteCharacter *string `type:"string"` + + // Single character used for escaping the quote character inside an already + // escaped value. + QuoteEscapeCharacter *string `type:"string"` + + // Indicates whether or not all output fields should be quoted. + QuoteFields *string `type:"string" enum:"QuoteFields"` + + // Value used to separate individual records. + RecordDelimiter *string `type:"string"` +} + +// String returns the string representation +func (s CSVOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CSVOutput) GoString() string { + return s.String() +} + +// SetFieldDelimiter sets the FieldDelimiter field's value. +func (s *CSVOutput) SetFieldDelimiter(v string) *CSVOutput { + s.FieldDelimiter = &v + return s +} + +// SetQuoteCharacter sets the QuoteCharacter field's value. +func (s *CSVOutput) SetQuoteCharacter(v string) *CSVOutput { + s.QuoteCharacter = &v + return s +} + +// SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value. +func (s *CSVOutput) SetQuoteEscapeCharacter(v string) *CSVOutput { + s.QuoteEscapeCharacter = &v + return s +} + +// SetQuoteFields sets the QuoteFields field's value. +func (s *CSVOutput) SetQuoteFields(v string) *CSVOutput { + s.QuoteFields = &v + return s +} + +// SetRecordDelimiter sets the RecordDelimiter field's value. +func (s *CSVOutput) SetRecordDelimiter(v string) *CSVOutput { + s.RecordDelimiter = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CloudFunctionConfiguration type CloudFunctionConfiguration struct { _ struct{} `type:"structure"` @@ -7044,7 +7178,7 @@ func (s *CloudFunctionConfiguration) SetInvocationRole(v string) *CloudFunctionC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CommonPrefix +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CommonPrefix type CommonPrefix struct { _ struct{} `type:"structure"` @@ -7067,7 +7201,7 @@ func (s *CommonPrefix) SetPrefix(v string) *CommonPrefix { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUploadRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUploadRequest type CompleteMultipartUploadInput struct { _ struct{} `type:"structure" payload:"MultipartUpload"` @@ -7158,7 +7292,7 @@ func (s *CompleteMultipartUploadInput) SetUploadId(v string) *CompleteMultipartU return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUploadOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUploadOutput type CompleteMultipartUploadOutput struct { _ struct{} `type:"structure"` @@ -7262,7 +7396,7 @@ func (s *CompleteMultipartUploadOutput) SetVersionId(v string) *CompleteMultipar return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedMultipartUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedMultipartUpload type CompletedMultipartUpload struct { _ struct{} `type:"structure"` @@ -7285,7 +7419,7 @@ func (s *CompletedMultipartUpload) SetParts(v []*CompletedPart) *CompletedMultip return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedPart +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedPart type CompletedPart struct { _ struct{} `type:"structure"` @@ -7319,7 +7453,7 @@ func (s *CompletedPart) SetPartNumber(v int64) *CompletedPart { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Condition +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Condition type Condition struct { _ struct{} `type:"structure"` @@ -7362,7 +7496,7 @@ func (s *Condition) SetKeyPrefixEquals(v string) *Condition { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectRequest type CopyObjectInput struct { _ struct{} `type:"structure"` @@ -7746,7 +7880,7 @@ func (s *CopyObjectInput) SetWebsiteRedirectLocation(v string) *CopyObjectInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectOutput type CopyObjectOutput struct { _ struct{} `type:"structure" payload:"CopyObjectResult"` @@ -7847,7 +7981,7 @@ func (s *CopyObjectOutput) SetVersionId(v string) *CopyObjectOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectResult type CopyObjectResult struct { _ struct{} `type:"structure"` @@ -7878,7 +8012,7 @@ func (s *CopyObjectResult) SetLastModified(v time.Time) *CopyObjectResult { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyPartResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyPartResult type CopyPartResult struct { _ struct{} `type:"structure"` @@ -7911,7 +8045,7 @@ func (s *CopyPartResult) SetLastModified(v time.Time) *CopyPartResult { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketConfiguration type CreateBucketConfiguration struct { _ struct{} `type:"structure"` @@ -7936,7 +8070,7 @@ func (s *CreateBucketConfiguration) SetLocationConstraint(v string) *CreateBucke return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketRequest type CreateBucketInput struct { _ struct{} `type:"structure" payload:"CreateBucketConfiguration"` @@ -8043,7 +8177,7 @@ func (s *CreateBucketInput) SetGrantWriteACP(v string) *CreateBucketInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketOutput type CreateBucketOutput struct { _ struct{} `type:"structure"` @@ -8066,7 +8200,7 @@ func (s *CreateBucketOutput) SetLocation(v string) *CreateBucketOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUploadRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUploadRequest type CreateMultipartUploadInput struct { _ struct{} `type:"structure"` @@ -8338,7 +8472,7 @@ func (s *CreateMultipartUploadInput) SetWebsiteRedirectLocation(v string) *Creat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUploadOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUploadOutput type CreateMultipartUploadOutput struct { _ struct{} `type:"structure"` @@ -8458,7 +8592,7 @@ func (s *CreateMultipartUploadOutput) SetUploadId(v string) *CreateMultipartUplo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Delete +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Delete type Delete struct { _ struct{} `type:"structure"` @@ -8515,7 +8649,7 @@ func (s *Delete) SetQuiet(v bool) *Delete { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfigurationRequest type DeleteBucketAnalyticsConfigurationInput struct { _ struct{} `type:"structure"` @@ -8575,7 +8709,7 @@ func (s *DeleteBucketAnalyticsConfigurationInput) SetId(v string) *DeleteBucketA return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfigurationOutput type DeleteBucketAnalyticsConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -8590,7 +8724,7 @@ func (s DeleteBucketAnalyticsConfigurationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCorsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCorsRequest type DeleteBucketCorsInput struct { _ struct{} `type:"structure"` @@ -8634,7 +8768,7 @@ func (s *DeleteBucketCorsInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCorsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCorsOutput type DeleteBucketCorsOutput struct { _ struct{} `type:"structure"` } @@ -8649,7 +8783,7 @@ func (s DeleteBucketCorsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryptionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryptionRequest type DeleteBucketEncryptionInput struct { _ struct{} `type:"structure"` @@ -8696,7 +8830,7 @@ func (s *DeleteBucketEncryptionInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryptionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryptionOutput type DeleteBucketEncryptionOutput struct { _ struct{} `type:"structure"` } @@ -8711,7 +8845,7 @@ func (s DeleteBucketEncryptionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketRequest type DeleteBucketInput struct { _ struct{} `type:"structure"` @@ -8755,7 +8889,7 @@ func (s *DeleteBucketInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfigurationRequest type DeleteBucketInventoryConfigurationInput struct { _ struct{} `type:"structure"` @@ -8815,7 +8949,7 @@ func (s *DeleteBucketInventoryConfigurationInput) SetId(v string) *DeleteBucketI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfigurationOutput type DeleteBucketInventoryConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -8830,7 +8964,7 @@ func (s DeleteBucketInventoryConfigurationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycleRequest type DeleteBucketLifecycleInput struct { _ struct{} `type:"structure"` @@ -8874,7 +9008,7 @@ func (s *DeleteBucketLifecycleInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycleOutput type DeleteBucketLifecycleOutput struct { _ struct{} `type:"structure"` } @@ -8889,7 +9023,7 @@ func (s DeleteBucketLifecycleOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfigurationRequest type DeleteBucketMetricsConfigurationInput struct { _ struct{} `type:"structure"` @@ -8949,7 +9083,7 @@ func (s *DeleteBucketMetricsConfigurationInput) SetId(v string) *DeleteBucketMet return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfigurationOutput type DeleteBucketMetricsConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -8964,7 +9098,7 @@ func (s DeleteBucketMetricsConfigurationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketOutput type DeleteBucketOutput struct { _ struct{} `type:"structure"` } @@ -8979,7 +9113,7 @@ func (s DeleteBucketOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicyRequest type DeleteBucketPolicyInput struct { _ struct{} `type:"structure"` @@ -9023,7 +9157,7 @@ func (s *DeleteBucketPolicyInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicyOutput type DeleteBucketPolicyOutput struct { _ struct{} `type:"structure"` } @@ -9038,7 +9172,7 @@ func (s DeleteBucketPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplicationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplicationRequest type DeleteBucketReplicationInput struct { _ struct{} `type:"structure"` @@ -9082,7 +9216,7 @@ func (s *DeleteBucketReplicationInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplicationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplicationOutput type DeleteBucketReplicationOutput struct { _ struct{} `type:"structure"` } @@ -9097,7 +9231,7 @@ func (s DeleteBucketReplicationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTaggingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTaggingRequest type DeleteBucketTaggingInput struct { _ struct{} `type:"structure"` @@ -9141,7 +9275,7 @@ func (s *DeleteBucketTaggingInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTaggingOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTaggingOutput type DeleteBucketTaggingOutput struct { _ struct{} `type:"structure"` } @@ -9156,7 +9290,7 @@ func (s DeleteBucketTaggingOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsiteRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsiteRequest type DeleteBucketWebsiteInput struct { _ struct{} `type:"structure"` @@ -9200,7 +9334,7 @@ func (s *DeleteBucketWebsiteInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsiteOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsiteOutput type DeleteBucketWebsiteOutput struct { _ struct{} `type:"structure"` } @@ -9215,7 +9349,7 @@ func (s DeleteBucketWebsiteOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteMarkerEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteMarkerEntry type DeleteMarkerEntry struct { _ struct{} `type:"structure"` @@ -9275,7 +9409,7 @@ func (s *DeleteMarkerEntry) SetVersionId(v string) *DeleteMarkerEntry { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectRequest type DeleteObjectInput struct { _ struct{} `type:"structure"` @@ -9365,7 +9499,7 @@ func (s *DeleteObjectInput) SetVersionId(v string) *DeleteObjectInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectOutput type DeleteObjectOutput struct { _ struct{} `type:"structure"` @@ -9410,7 +9544,7 @@ func (s *DeleteObjectOutput) SetVersionId(v string) *DeleteObjectOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTaggingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTaggingRequest type DeleteObjectTaggingInput struct { _ struct{} `type:"structure"` @@ -9478,7 +9612,7 @@ func (s *DeleteObjectTaggingInput) SetVersionId(v string) *DeleteObjectTaggingIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTaggingOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTaggingOutput type DeleteObjectTaggingOutput struct { _ struct{} `type:"structure"` @@ -9502,7 +9636,7 @@ func (s *DeleteObjectTaggingOutput) SetVersionId(v string) *DeleteObjectTaggingO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsRequest type DeleteObjectsInput struct { _ struct{} `type:"structure" payload:"Delete"` @@ -9585,7 +9719,7 @@ func (s *DeleteObjectsInput) SetRequestPayer(v string) *DeleteObjectsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsOutput type DeleteObjectsOutput struct { _ struct{} `type:"structure"` @@ -9626,7 +9760,7 @@ func (s *DeleteObjectsOutput) SetRequestCharged(v string) *DeleteObjectsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletedObject +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletedObject type DeletedObject struct { _ struct{} `type:"structure"` @@ -9674,7 +9808,7 @@ func (s *DeletedObject) SetVersionId(v string) *DeletedObject { } // Container for replication destination information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Destination +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Destination type Destination struct { _ struct{} `type:"structure"` @@ -9763,8 +9897,70 @@ func (s *Destination) SetStorageClass(v string) *Destination { return s } +// Describes the server-side encryption that will be applied to the restore +// results. +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Encryption +type Encryption struct { + _ struct{} `type:"structure"` + + // The server-side encryption algorithm used when storing job results in Amazon + // S3 (e.g., AES256, aws:kms). + // + // EncryptionType is a required field + EncryptionType *string `type:"string" required:"true" enum:"ServerSideEncryption"` + + // If the encryption type is aws:kms, this optional value can be used to specify + // the encryption context for the restore results. + KMSContext *string `type:"string"` + + // If the encryption type is aws:kms, this optional value specifies the AWS + // KMS key ID to use for encryption of job results. + KMSKeyId *string `type:"string"` +} + +// String returns the string representation +func (s Encryption) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Encryption) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Encryption) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Encryption"} + if s.EncryptionType == nil { + invalidParams.Add(request.NewErrParamRequired("EncryptionType")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEncryptionType sets the EncryptionType field's value. +func (s *Encryption) SetEncryptionType(v string) *Encryption { + s.EncryptionType = &v + return s +} + +// SetKMSContext sets the KMSContext field's value. +func (s *Encryption) SetKMSContext(v string) *Encryption { + s.KMSContext = &v + return s +} + +// SetKMSKeyId sets the KMSKeyId field's value. +func (s *Encryption) SetKMSKeyId(v string) *Encryption { + s.KMSKeyId = &v + return s +} + // Container for information regarding encryption based configuration for replicas. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EncryptionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EncryptionConfiguration type EncryptionConfiguration struct { _ struct{} `type:"structure"` @@ -9788,7 +9984,7 @@ func (s *EncryptionConfiguration) SetReplicaKmsKeyID(v string) *EncryptionConfig return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Error +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Error type Error struct { _ struct{} `type:"structure"` @@ -9835,7 +10031,7 @@ func (s *Error) SetVersionId(v string) *Error { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ErrorDocument +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ErrorDocument type ErrorDocument struct { _ struct{} `type:"structure"` @@ -9878,7 +10074,7 @@ func (s *ErrorDocument) SetKey(v string) *ErrorDocument { } // Container for key value pair that defines the criteria for the filter rule. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/FilterRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/FilterRule type FilterRule struct { _ struct{} `type:"structure"` @@ -9913,7 +10109,7 @@ func (s *FilterRule) SetValue(v string) *FilterRule { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfigurationRequest type GetBucketAccelerateConfigurationInput struct { _ struct{} `type:"structure"` @@ -9959,7 +10155,7 @@ func (s *GetBucketAccelerateConfigurationInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfigurationOutput type GetBucketAccelerateConfigurationOutput struct { _ struct{} `type:"structure"` @@ -9983,7 +10179,7 @@ func (s *GetBucketAccelerateConfigurationOutput) SetStatus(v string) *GetBucketA return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAclRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAclRequest type GetBucketAclInput struct { _ struct{} `type:"structure"` @@ -10027,7 +10223,7 @@ func (s *GetBucketAclInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAclOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAclOutput type GetBucketAclOutput struct { _ struct{} `type:"structure"` @@ -10059,7 +10255,7 @@ func (s *GetBucketAclOutput) SetOwner(v *Owner) *GetBucketAclOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfigurationRequest type GetBucketAnalyticsConfigurationInput struct { _ struct{} `type:"structure"` @@ -10119,7 +10315,7 @@ func (s *GetBucketAnalyticsConfigurationInput) SetId(v string) *GetBucketAnalyti return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfigurationOutput type GetBucketAnalyticsConfigurationOutput struct { _ struct{} `type:"structure" payload:"AnalyticsConfiguration"` @@ -10143,7 +10339,7 @@ func (s *GetBucketAnalyticsConfigurationOutput) SetAnalyticsConfiguration(v *Ana return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCorsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCorsRequest type GetBucketCorsInput struct { _ struct{} `type:"structure"` @@ -10187,7 +10383,7 @@ func (s *GetBucketCorsInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCorsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCorsOutput type GetBucketCorsOutput struct { _ struct{} `type:"structure"` @@ -10210,7 +10406,7 @@ func (s *GetBucketCorsOutput) SetCORSRules(v []*CORSRule) *GetBucketCorsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryptionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryptionRequest type GetBucketEncryptionInput struct { _ struct{} `type:"structure"` @@ -10257,7 +10453,7 @@ func (s *GetBucketEncryptionInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryptionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryptionOutput type GetBucketEncryptionOutput struct { _ struct{} `type:"structure" payload:"ServerSideEncryptionConfiguration"` @@ -10282,7 +10478,7 @@ func (s *GetBucketEncryptionOutput) SetServerSideEncryptionConfiguration(v *Serv return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfigurationRequest type GetBucketInventoryConfigurationInput struct { _ struct{} `type:"structure"` @@ -10342,7 +10538,7 @@ func (s *GetBucketInventoryConfigurationInput) SetId(v string) *GetBucketInvento return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfigurationOutput type GetBucketInventoryConfigurationOutput struct { _ struct{} `type:"structure" payload:"InventoryConfiguration"` @@ -10366,7 +10562,7 @@ func (s *GetBucketInventoryConfigurationOutput) SetInventoryConfiguration(v *Inv return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationRequest type GetBucketLifecycleConfigurationInput struct { _ struct{} `type:"structure"` @@ -10410,7 +10606,7 @@ func (s *GetBucketLifecycleConfigurationInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationOutput type GetBucketLifecycleConfigurationOutput struct { _ struct{} `type:"structure"` @@ -10433,7 +10629,7 @@ func (s *GetBucketLifecycleConfigurationOutput) SetRules(v []*LifecycleRule) *Ge return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleRequest type GetBucketLifecycleInput struct { _ struct{} `type:"structure"` @@ -10477,7 +10673,7 @@ func (s *GetBucketLifecycleInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleOutput type GetBucketLifecycleOutput struct { _ struct{} `type:"structure"` @@ -10500,7 +10696,7 @@ func (s *GetBucketLifecycleOutput) SetRules(v []*Rule) *GetBucketLifecycleOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocationRequest type GetBucketLocationInput struct { _ struct{} `type:"structure"` @@ -10544,7 +10740,7 @@ func (s *GetBucketLocationInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocationOutput type GetBucketLocationOutput struct { _ struct{} `type:"structure"` @@ -10567,7 +10763,7 @@ func (s *GetBucketLocationOutput) SetLocationConstraint(v string) *GetBucketLoca return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLoggingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLoggingRequest type GetBucketLoggingInput struct { _ struct{} `type:"structure"` @@ -10611,7 +10807,7 @@ func (s *GetBucketLoggingInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLoggingOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLoggingOutput type GetBucketLoggingOutput struct { _ struct{} `type:"structure"` @@ -10634,7 +10830,7 @@ func (s *GetBucketLoggingOutput) SetLoggingEnabled(v *LoggingEnabled) *GetBucket return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfigurationRequest type GetBucketMetricsConfigurationInput struct { _ struct{} `type:"structure"` @@ -10694,7 +10890,7 @@ func (s *GetBucketMetricsConfigurationInput) SetId(v string) *GetBucketMetricsCo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfigurationOutput type GetBucketMetricsConfigurationOutput struct { _ struct{} `type:"structure" payload:"MetricsConfiguration"` @@ -10718,7 +10914,7 @@ func (s *GetBucketMetricsConfigurationOutput) SetMetricsConfiguration(v *Metrics return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationConfigurationRequest type GetBucketNotificationConfigurationRequest struct { _ struct{} `type:"structure"` @@ -10764,7 +10960,7 @@ func (s *GetBucketNotificationConfigurationRequest) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyRequest type GetBucketPolicyInput struct { _ struct{} `type:"structure"` @@ -10808,7 +11004,7 @@ func (s *GetBucketPolicyInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyOutput type GetBucketPolicyOutput struct { _ struct{} `type:"structure" payload:"Policy"` @@ -10832,7 +11028,7 @@ func (s *GetBucketPolicyOutput) SetPolicy(v string) *GetBucketPolicyOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplicationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplicationRequest type GetBucketReplicationInput struct { _ struct{} `type:"structure"` @@ -10876,7 +11072,7 @@ func (s *GetBucketReplicationInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplicationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplicationOutput type GetBucketReplicationOutput struct { _ struct{} `type:"structure" payload:"ReplicationConfiguration"` @@ -10901,7 +11097,7 @@ func (s *GetBucketReplicationOutput) SetReplicationConfiguration(v *ReplicationC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPaymentRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPaymentRequest type GetBucketRequestPaymentInput struct { _ struct{} `type:"structure"` @@ -10945,7 +11141,7 @@ func (s *GetBucketRequestPaymentInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPaymentOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPaymentOutput type GetBucketRequestPaymentOutput struct { _ struct{} `type:"structure"` @@ -10969,7 +11165,7 @@ func (s *GetBucketRequestPaymentOutput) SetPayer(v string) *GetBucketRequestPaym return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTaggingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTaggingRequest type GetBucketTaggingInput struct { _ struct{} `type:"structure"` @@ -11013,7 +11209,7 @@ func (s *GetBucketTaggingInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTaggingOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTaggingOutput type GetBucketTaggingOutput struct { _ struct{} `type:"structure"` @@ -11037,7 +11233,7 @@ func (s *GetBucketTaggingOutput) SetTagSet(v []*Tag) *GetBucketTaggingOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioningRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioningRequest type GetBucketVersioningInput struct { _ struct{} `type:"structure"` @@ -11081,7 +11277,7 @@ func (s *GetBucketVersioningInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioningOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioningOutput type GetBucketVersioningOutput struct { _ struct{} `type:"structure"` @@ -11116,7 +11312,7 @@ func (s *GetBucketVersioningOutput) SetStatus(v string) *GetBucketVersioningOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsiteRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsiteRequest type GetBucketWebsiteInput struct { _ struct{} `type:"structure"` @@ -11160,7 +11356,7 @@ func (s *GetBucketWebsiteInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsiteOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsiteOutput type GetBucketWebsiteOutput struct { _ struct{} `type:"structure"` @@ -11207,7 +11403,7 @@ func (s *GetBucketWebsiteOutput) SetRoutingRules(v []*RoutingRule) *GetBucketWeb return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAclRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAclRequest type GetObjectAclInput struct { _ struct{} `type:"structure"` @@ -11287,7 +11483,7 @@ func (s *GetObjectAclInput) SetVersionId(v string) *GetObjectAclInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAclOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAclOutput type GetObjectAclOutput struct { _ struct{} `type:"structure"` @@ -11329,7 +11525,7 @@ func (s *GetObjectAclOutput) SetRequestCharged(v string) *GetObjectAclOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRequest type GetObjectInput struct { _ struct{} `type:"structure"` @@ -11564,7 +11760,7 @@ func (s *GetObjectInput) SetVersionId(v string) *GetObjectInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectOutput type GetObjectOutput struct { _ struct{} `type:"structure" payload:"Body"` @@ -11848,7 +12044,7 @@ func (s *GetObjectOutput) SetWebsiteRedirectLocation(v string) *GetObjectOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTaggingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTaggingRequest type GetObjectTaggingInput struct { _ struct{} `type:"structure"` @@ -11915,7 +12111,7 @@ func (s *GetObjectTaggingInput) SetVersionId(v string) *GetObjectTaggingInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTaggingOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTaggingOutput type GetObjectTaggingOutput struct { _ struct{} `type:"structure"` @@ -11947,7 +12143,7 @@ func (s *GetObjectTaggingOutput) SetVersionId(v string) *GetObjectTaggingOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrentRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrentRequest type GetObjectTorrentInput struct { _ struct{} `type:"structure"` @@ -12018,7 +12214,7 @@ func (s *GetObjectTorrentInput) SetRequestPayer(v string) *GetObjectTorrentInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrentOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrentOutput type GetObjectTorrentOutput struct { _ struct{} `type:"structure" payload:"Body"` @@ -12051,7 +12247,7 @@ func (s *GetObjectTorrentOutput) SetRequestCharged(v string) *GetObjectTorrentOu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GlacierJobParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GlacierJobParameters type GlacierJobParameters struct { _ struct{} `type:"structure"` @@ -12090,7 +12286,7 @@ func (s *GlacierJobParameters) SetTier(v string) *GlacierJobParameters { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grant +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grant type Grant struct { _ struct{} `type:"structure"` @@ -12137,7 +12333,7 @@ func (s *Grant) SetPermission(v string) *Grant { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grantee +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grantee type Grantee struct { _ struct{} `type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"` @@ -12212,7 +12408,7 @@ func (s *Grantee) SetURI(v string) *Grantee { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucketRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucketRequest type HeadBucketInput struct { _ struct{} `type:"structure"` @@ -12256,7 +12452,7 @@ func (s *HeadBucketInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucketOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucketOutput type HeadBucketOutput struct { _ struct{} `type:"structure"` } @@ -12271,7 +12467,7 @@ func (s HeadBucketOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObjectRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObjectRequest type HeadObjectInput struct { _ struct{} `type:"structure"` @@ -12453,7 +12649,7 @@ func (s *HeadObjectInput) SetVersionId(v string) *HeadObjectInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObjectOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObjectOutput type HeadObjectOutput struct { _ struct{} `type:"structure"` @@ -12710,7 +12906,7 @@ func (s *HeadObjectOutput) SetWebsiteRedirectLocation(v string) *HeadObjectOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IndexDocument +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IndexDocument type IndexDocument struct { _ struct{} `type:"structure"` @@ -12752,7 +12948,7 @@ func (s *IndexDocument) SetSuffix(v string) *IndexDocument { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Initiator +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Initiator type Initiator struct { _ struct{} `type:"structure"` @@ -12786,7 +12982,32 @@ func (s *Initiator) SetID(v string) *Initiator { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryConfiguration +// Describes the serialization format of the object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InputSerialization +type InputSerialization struct { + _ struct{} `type:"structure"` + + // Describes the serialization of a CSV-encoded object. + CSV *CSVInput `type:"structure"` +} + +// String returns the string representation +func (s InputSerialization) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputSerialization) GoString() string { + return s.String() +} + +// SetCSV sets the CSV field's value. +func (s *InputSerialization) SetCSV(v *CSVInput) *InputSerialization { + s.CSV = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryConfiguration type InventoryConfiguration struct { _ struct{} `type:"structure"` @@ -12915,7 +13136,7 @@ func (s *InventoryConfiguration) SetSchedule(v *InventorySchedule) *InventoryCon return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryDestination type InventoryDestination struct { _ struct{} `type:"structure"` @@ -12962,7 +13183,7 @@ func (s *InventoryDestination) SetS3BucketDestination(v *InventoryS3BucketDestin // Contains the type of server-side encryption used to encrypt the inventory // results. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryEncryption +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryEncryption type InventoryEncryption struct { _ struct{} `type:"structure"` @@ -13010,7 +13231,7 @@ func (s *InventoryEncryption) SetSSES3(v *SSES3) *InventoryEncryption { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryFilter type InventoryFilter struct { _ struct{} `type:"structure"` @@ -13049,7 +13270,7 @@ func (s *InventoryFilter) SetPrefix(v string) *InventoryFilter { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryS3BucketDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryS3BucketDestination type InventoryS3BucketDestination struct { _ struct{} `type:"structure"` @@ -13143,7 +13364,7 @@ func (s *InventoryS3BucketDestination) SetPrefix(v string) *InventoryS3BucketDes return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventorySchedule +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventorySchedule type InventorySchedule struct { _ struct{} `type:"structure"` @@ -13183,7 +13404,7 @@ func (s *InventorySchedule) SetFrequency(v string) *InventorySchedule { } // Container for object key name prefix and suffix filtering rules. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3KeyFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3KeyFilter type KeyFilter struct { _ struct{} `type:"structure"` @@ -13209,7 +13430,7 @@ func (s *KeyFilter) SetFilterRules(v []*FilterRule) *KeyFilter { } // Container for specifying the AWS Lambda notification configuration. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LambdaFunctionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LambdaFunctionConfiguration type LambdaFunctionConfiguration struct { _ struct{} `type:"structure"` @@ -13281,7 +13502,7 @@ func (s *LambdaFunctionConfiguration) SetLambdaFunctionArn(v string) *LambdaFunc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleConfiguration type LifecycleConfiguration struct { _ struct{} `type:"structure"` @@ -13328,7 +13549,7 @@ func (s *LifecycleConfiguration) SetRules(v []*Rule) *LifecycleConfiguration { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleExpiration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleExpiration type LifecycleExpiration struct { _ struct{} `type:"structure"` @@ -13375,7 +13596,7 @@ func (s *LifecycleExpiration) SetExpiredObjectDeleteMarker(v bool) *LifecycleExp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRule type LifecycleRule struct { _ struct{} `type:"structure"` @@ -13499,7 +13720,7 @@ func (s *LifecycleRule) SetTransitions(v []*Transition) *LifecycleRule { // This is used in a Lifecycle Rule Filter to apply a logical AND to two or // more predicates. The Lifecycle Rule will apply to any object matching all // of the predicates configured inside the And operator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRuleAndOperator +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRuleAndOperator type LifecycleRuleAndOperator struct { _ struct{} `type:"structure"` @@ -13554,7 +13775,7 @@ func (s *LifecycleRuleAndOperator) SetTags(v []*Tag) *LifecycleRuleAndOperator { // The Filter is used to identify objects that a Lifecycle Rule applies to. // A Filter must have exactly one of Prefix, Tag, or And specified. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRuleFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRuleFilter type LifecycleRuleFilter struct { _ struct{} `type:"structure"` @@ -13618,7 +13839,7 @@ func (s *LifecycleRuleFilter) SetTag(v *Tag) *LifecycleRuleFilter { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurationsRequest type ListBucketAnalyticsConfigurationsInput struct { _ struct{} `type:"structure"` @@ -13674,7 +13895,7 @@ func (s *ListBucketAnalyticsConfigurationsInput) SetContinuationToken(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurationsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurationsOutput type ListBucketAnalyticsConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -13729,7 +13950,7 @@ func (s *ListBucketAnalyticsConfigurationsOutput) SetNextContinuationToken(v str return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurationsRequest type ListBucketInventoryConfigurationsInput struct { _ struct{} `type:"structure"` @@ -13787,7 +14008,7 @@ func (s *ListBucketInventoryConfigurationsInput) SetContinuationToken(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurationsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurationsOutput type ListBucketInventoryConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -13842,7 +14063,7 @@ func (s *ListBucketInventoryConfigurationsOutput) SetNextContinuationToken(v str return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurationsRequest type ListBucketMetricsConfigurationsInput struct { _ struct{} `type:"structure"` @@ -13900,7 +14121,7 @@ func (s *ListBucketMetricsConfigurationsInput) SetContinuationToken(v string) *L return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurationsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurationsOutput type ListBucketMetricsConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -13957,7 +14178,7 @@ func (s *ListBucketMetricsConfigurationsOutput) SetNextContinuationToken(v strin return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketsInput type ListBucketsInput struct { _ struct{} `type:"structure"` } @@ -13972,7 +14193,7 @@ func (s ListBucketsInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketsOutput type ListBucketsOutput struct { _ struct{} `type:"structure"` @@ -14003,7 +14224,7 @@ func (s *ListBucketsOutput) SetOwner(v *Owner) *ListBucketsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsRequest type ListMultipartUploadsInput struct { _ struct{} `type:"structure"` @@ -14112,7 +14333,7 @@ func (s *ListMultipartUploadsInput) SetUploadIdMarker(v string) *ListMultipartUp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsOutput type ListMultipartUploadsOutput struct { _ struct{} `type:"structure"` @@ -14246,7 +14467,7 @@ func (s *ListMultipartUploadsOutput) SetUploads(v []*MultipartUpload) *ListMulti return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsRequest type ListObjectVersionsInput struct { _ struct{} `type:"structure"` @@ -14350,7 +14571,7 @@ func (s *ListObjectVersionsInput) SetVersionIdMarker(v string) *ListObjectVersio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsOutput type ListObjectVersionsOutput struct { _ struct{} `type:"structure"` @@ -14478,7 +14699,7 @@ func (s *ListObjectVersionsOutput) SetVersions(v []*ObjectVersion) *ListObjectVe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsRequest type ListObjectsInput struct { _ struct{} `type:"structure"` @@ -14584,7 +14805,7 @@ func (s *ListObjectsInput) SetRequestPayer(v string) *ListObjectsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsOutput type ListObjectsOutput struct { _ struct{} `type:"structure"` @@ -14689,7 +14910,7 @@ func (s *ListObjectsOutput) SetPrefix(v string) *ListObjectsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Request +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Request type ListObjectsV2Input struct { _ struct{} `type:"structure"` @@ -14815,7 +15036,7 @@ func (s *ListObjectsV2Input) SetStartAfter(v string) *ListObjectsV2Input { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Output +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Output type ListObjectsV2Output struct { _ struct{} `type:"structure"` @@ -14949,7 +15170,7 @@ func (s *ListObjectsV2Output) SetStartAfter(v string) *ListObjectsV2Output { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsRequest type ListPartsInput struct { _ struct{} `type:"structure"` @@ -15053,7 +15274,7 @@ func (s *ListPartsInput) SetUploadId(v string) *ListPartsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsOutput type ListPartsOutput struct { _ struct{} `type:"structure"` @@ -15203,7 +15424,136 @@ func (s *ListPartsOutput) SetUploadId(v string) *ListPartsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LoggingEnabled +// Describes an S3 location that will receive the results of the restore request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3Location +type Location struct { + _ struct{} `type:"structure"` + + // A list of grants that control access to the staged results. + AccessControlList []*Grant `locationNameList:"Grant" type:"list"` + + // The name of the bucket where the restore results will be placed. + // + // BucketName is a required field + BucketName *string `type:"string" required:"true"` + + // The canned ACL to apply to the restore results. + CannedACL *string `type:"string" enum:"ObjectCannedACL"` + + // Describes the server-side encryption that will be applied to the restore + // results. + Encryption *Encryption `type:"structure"` + + // The prefix that is prepended to the restore results for this request. + // + // Prefix is a required field + Prefix *string `type:"string" required:"true"` + + // The class of storage used to store the restore results. + StorageClass *string `type:"string" enum:"StorageClass"` + + // The tag-set that is applied to the restore results. + Tagging *Tagging `type:"structure"` + + // A list of metadata to store with the restore results in S3. + UserMetadata []*MetadataEntry `locationNameList:"MetadataEntry" type:"list"` +} + +// String returns the string representation +func (s Location) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Location) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Location) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Location"} + if s.BucketName == nil { + invalidParams.Add(request.NewErrParamRequired("BucketName")) + } + if s.Prefix == nil { + invalidParams.Add(request.NewErrParamRequired("Prefix")) + } + if s.AccessControlList != nil { + for i, v := range s.AccessControlList { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AccessControlList", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Encryption != nil { + if err := s.Encryption.Validate(); err != nil { + invalidParams.AddNested("Encryption", err.(request.ErrInvalidParams)) + } + } + if s.Tagging != nil { + if err := s.Tagging.Validate(); err != nil { + invalidParams.AddNested("Tagging", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccessControlList sets the AccessControlList field's value. +func (s *Location) SetAccessControlList(v []*Grant) *Location { + s.AccessControlList = v + return s +} + +// SetBucketName sets the BucketName field's value. +func (s *Location) SetBucketName(v string) *Location { + s.BucketName = &v + return s +} + +// SetCannedACL sets the CannedACL field's value. +func (s *Location) SetCannedACL(v string) *Location { + s.CannedACL = &v + return s +} + +// SetEncryption sets the Encryption field's value. +func (s *Location) SetEncryption(v *Encryption) *Location { + s.Encryption = v + return s +} + +// SetPrefix sets the Prefix field's value. +func (s *Location) SetPrefix(v string) *Location { + s.Prefix = &v + return s +} + +// SetStorageClass sets the StorageClass field's value. +func (s *Location) SetStorageClass(v string) *Location { + s.StorageClass = &v + return s +} + +// SetTagging sets the Tagging field's value. +func (s *Location) SetTagging(v *Tagging) *Location { + s.Tagging = v + return s +} + +// SetUserMetadata sets the UserMetadata field's value. +func (s *Location) SetUserMetadata(v []*MetadataEntry) *Location { + s.UserMetadata = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LoggingEnabled type LoggingEnabled struct { _ struct{} `type:"structure"` @@ -15270,7 +15620,39 @@ func (s *LoggingEnabled) SetTargetPrefix(v string) *LoggingEnabled { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsAndOperator +// A metadata key-value pair to store with an object. +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetadataEntry +type MetadataEntry struct { + _ struct{} `type:"structure"` + + Name *string `type:"string"` + + Value *string `type:"string"` +} + +// String returns the string representation +func (s MetadataEntry) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MetadataEntry) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *MetadataEntry) SetName(v string) *MetadataEntry { + s.Name = &v + return s +} + +// SetValue sets the Value field's value. +func (s *MetadataEntry) SetValue(v string) *MetadataEntry { + s.Value = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsAndOperator type MetricsAndOperator struct { _ struct{} `type:"structure"` @@ -15323,7 +15705,7 @@ func (s *MetricsAndOperator) SetTags(v []*Tag) *MetricsAndOperator { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsConfiguration type MetricsConfiguration struct { _ struct{} `type:"structure"` @@ -15378,7 +15760,7 @@ func (s *MetricsConfiguration) SetId(v string) *MetricsConfiguration { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsFilter type MetricsFilter struct { _ struct{} `type:"structure"` @@ -15442,7 +15824,7 @@ func (s *MetricsFilter) SetTag(v *Tag) *MetricsFilter { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MultipartUpload +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MultipartUpload type MultipartUpload struct { _ struct{} `type:"structure"` @@ -15515,7 +15897,7 @@ func (s *MultipartUpload) SetUploadId(v string) *MultipartUpload { // configuration action on a bucket that has versioning enabled (or suspended) // to request that Amazon S3 delete noncurrent object versions at a specific // period in the object's lifetime. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionExpiration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionExpiration type NoncurrentVersionExpiration struct { _ struct{} `type:"structure"` @@ -15547,7 +15929,7 @@ func (s *NoncurrentVersionExpiration) SetNoncurrentDays(v int64) *NoncurrentVers // versioning-enabled (or versioning is suspended), you can set this action // to request that Amazon S3 transition noncurrent object versions to the STANDARD_IA // or GLACIER storage class at a specific period in the object's lifetime. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionTransition +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionTransition type NoncurrentVersionTransition struct { _ struct{} `type:"structure"` @@ -15585,7 +15967,7 @@ func (s *NoncurrentVersionTransition) SetStorageClass(v string) *NoncurrentVersi // Container for specifying the notification configuration of the bucket. If // this element is empty, notifications are turned off on the bucket. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfiguration type NotificationConfiguration struct { _ struct{} `type:"structure"` @@ -15664,7 +16046,7 @@ func (s *NotificationConfiguration) SetTopicConfigurations(v []*TopicConfigurati return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfigurationDeprecated +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfigurationDeprecated type NotificationConfigurationDeprecated struct { _ struct{} `type:"structure"` @@ -15705,7 +16087,7 @@ func (s *NotificationConfigurationDeprecated) SetTopicConfiguration(v *TopicConf // Container for object key name filtering rules. For information about key // name filtering, go to Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfigurationFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfigurationFilter type NotificationConfigurationFilter struct { _ struct{} `type:"structure"` @@ -15729,7 +16111,7 @@ func (s *NotificationConfigurationFilter) SetKey(v *KeyFilter) *NotificationConf return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Object +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Object type Object struct { _ struct{} `type:"structure"` @@ -15793,7 +16175,7 @@ func (s *Object) SetStorageClass(v string) *Object { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectIdentifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectIdentifier type ObjectIdentifier struct { _ struct{} `type:"structure"` @@ -15844,7 +16226,7 @@ func (s *ObjectIdentifier) SetVersionId(v string) *ObjectIdentifier { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectVersion type ObjectVersion struct { _ struct{} `type:"structure"` @@ -15930,7 +16312,72 @@ func (s *ObjectVersion) SetVersionId(v string) *ObjectVersion { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Owner +// Describes the location where the restore job's output is stored. +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OutputLocation +type OutputLocation struct { + _ struct{} `type:"structure"` + + // Describes an S3 location that will receive the results of the restore request. + S3 *Location `type:"structure"` +} + +// String returns the string representation +func (s OutputLocation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputLocation) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *OutputLocation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "OutputLocation"} + if s.S3 != nil { + if err := s.S3.Validate(); err != nil { + invalidParams.AddNested("S3", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetS3 sets the S3 field's value. +func (s *OutputLocation) SetS3(v *Location) *OutputLocation { + s.S3 = v + return s +} + +// Describes how results of the Select job are serialized. +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OutputSerialization +type OutputSerialization struct { + _ struct{} `type:"structure"` + + // Describes the serialization of CSV-encoded Select results. + CSV *CSVOutput `type:"structure"` +} + +// String returns the string representation +func (s OutputSerialization) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OutputSerialization) GoString() string { + return s.String() +} + +// SetCSV sets the CSV field's value. +func (s *OutputSerialization) SetCSV(v *CSVOutput) *OutputSerialization { + s.CSV = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Owner type Owner struct { _ struct{} `type:"structure"` @@ -15961,7 +16408,7 @@ func (s *Owner) SetID(v string) *Owner { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Part +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Part type Part struct { _ struct{} `type:"structure"` @@ -16013,7 +16460,7 @@ func (s *Part) SetSize(v int64) *Part { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfigurationRequest type PutBucketAccelerateConfigurationInput struct { _ struct{} `type:"structure" payload:"AccelerateConfiguration"` @@ -16073,7 +16520,7 @@ func (s *PutBucketAccelerateConfigurationInput) getBucket() (v string) { return *s.Bucket } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfigurationOutput type PutBucketAccelerateConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -16088,7 +16535,7 @@ func (s PutBucketAccelerateConfigurationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAclRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAclRequest type PutBucketAclInput struct { _ struct{} `type:"structure" payload:"AccessControlPolicy"` @@ -16200,7 +16647,7 @@ func (s *PutBucketAclInput) SetGrantWriteACP(v string) *PutBucketAclInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAclOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAclOutput type PutBucketAclOutput struct { _ struct{} `type:"structure"` } @@ -16215,7 +16662,7 @@ func (s PutBucketAclOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfigurationRequest type PutBucketAnalyticsConfigurationInput struct { _ struct{} `type:"structure" payload:"AnalyticsConfiguration"` @@ -16294,7 +16741,7 @@ func (s *PutBucketAnalyticsConfigurationInput) SetId(v string) *PutBucketAnalyti return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfigurationOutput type PutBucketAnalyticsConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -16309,7 +16756,7 @@ func (s PutBucketAnalyticsConfigurationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCorsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCorsRequest type PutBucketCorsInput struct { _ struct{} `type:"structure" payload:"CORSConfiguration"` @@ -16370,7 +16817,7 @@ func (s *PutBucketCorsInput) SetCORSConfiguration(v *CORSConfiguration) *PutBuck return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCorsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCorsOutput type PutBucketCorsOutput struct { _ struct{} `type:"structure"` } @@ -16385,7 +16832,7 @@ func (s PutBucketCorsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryptionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryptionRequest type PutBucketEncryptionInput struct { _ struct{} `type:"structure" payload:"ServerSideEncryptionConfiguration"` @@ -16452,7 +16899,7 @@ func (s *PutBucketEncryptionInput) SetServerSideEncryptionConfiguration(v *Serve return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryptionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryptionOutput type PutBucketEncryptionOutput struct { _ struct{} `type:"structure"` } @@ -16467,7 +16914,7 @@ func (s PutBucketEncryptionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfigurationRequest type PutBucketInventoryConfigurationInput struct { _ struct{} `type:"structure" payload:"InventoryConfiguration"` @@ -16546,7 +16993,7 @@ func (s *PutBucketInventoryConfigurationInput) SetInventoryConfiguration(v *Inve return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfigurationOutput type PutBucketInventoryConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -16561,7 +17008,7 @@ func (s PutBucketInventoryConfigurationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationRequest type PutBucketLifecycleConfigurationInput struct { _ struct{} `type:"structure" payload:"LifecycleConfiguration"` @@ -16618,7 +17065,7 @@ func (s *PutBucketLifecycleConfigurationInput) SetLifecycleConfiguration(v *Buck return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationOutput type PutBucketLifecycleConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -16633,7 +17080,7 @@ func (s PutBucketLifecycleConfigurationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleRequest type PutBucketLifecycleInput struct { _ struct{} `type:"structure" payload:"LifecycleConfiguration"` @@ -16690,7 +17137,7 @@ func (s *PutBucketLifecycleInput) SetLifecycleConfiguration(v *LifecycleConfigur return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleOutput type PutBucketLifecycleOutput struct { _ struct{} `type:"structure"` } @@ -16705,7 +17152,7 @@ func (s PutBucketLifecycleOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLoggingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLoggingRequest type PutBucketLoggingInput struct { _ struct{} `type:"structure" payload:"BucketLoggingStatus"` @@ -16766,7 +17213,7 @@ func (s *PutBucketLoggingInput) SetBucketLoggingStatus(v *BucketLoggingStatus) * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLoggingOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLoggingOutput type PutBucketLoggingOutput struct { _ struct{} `type:"structure"` } @@ -16781,7 +17228,7 @@ func (s PutBucketLoggingOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfigurationRequest type PutBucketMetricsConfigurationInput struct { _ struct{} `type:"structure" payload:"MetricsConfiguration"` @@ -16860,7 +17307,7 @@ func (s *PutBucketMetricsConfigurationInput) SetMetricsConfiguration(v *MetricsC return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfigurationOutput type PutBucketMetricsConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -16875,7 +17322,7 @@ func (s PutBucketMetricsConfigurationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfigurationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfigurationRequest type PutBucketNotificationConfigurationInput struct { _ struct{} `type:"structure" payload:"NotificationConfiguration"` @@ -16939,7 +17386,7 @@ func (s *PutBucketNotificationConfigurationInput) SetNotificationConfiguration(v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfigurationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfigurationOutput type PutBucketNotificationConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -16954,7 +17401,7 @@ func (s PutBucketNotificationConfigurationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationRequest type PutBucketNotificationInput struct { _ struct{} `type:"structure" payload:"NotificationConfiguration"` @@ -17010,7 +17457,7 @@ func (s *PutBucketNotificationInput) SetNotificationConfiguration(v *Notificatio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationOutput type PutBucketNotificationOutput struct { _ struct{} `type:"structure"` } @@ -17025,7 +17472,7 @@ func (s PutBucketNotificationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicyRequest type PutBucketPolicyInput struct { _ struct{} `type:"structure" payload:"Policy"` @@ -17093,7 +17540,7 @@ func (s *PutBucketPolicyInput) SetPolicy(v string) *PutBucketPolicyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicyOutput type PutBucketPolicyOutput struct { _ struct{} `type:"structure"` } @@ -17108,7 +17555,7 @@ func (s PutBucketPolicyOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplicationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplicationRequest type PutBucketReplicationInput struct { _ struct{} `type:"structure" payload:"ReplicationConfiguration"` @@ -17172,7 +17619,7 @@ func (s *PutBucketReplicationInput) SetReplicationConfiguration(v *ReplicationCo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplicationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplicationOutput type PutBucketReplicationOutput struct { _ struct{} `type:"structure"` } @@ -17187,7 +17634,7 @@ func (s PutBucketReplicationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPaymentRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPaymentRequest type PutBucketRequestPaymentInput struct { _ struct{} `type:"structure" payload:"RequestPaymentConfiguration"` @@ -17248,7 +17695,7 @@ func (s *PutBucketRequestPaymentInput) SetRequestPaymentConfiguration(v *Request return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPaymentOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPaymentOutput type PutBucketRequestPaymentOutput struct { _ struct{} `type:"structure"` } @@ -17263,7 +17710,7 @@ func (s PutBucketRequestPaymentOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTaggingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTaggingRequest type PutBucketTaggingInput struct { _ struct{} `type:"structure" payload:"Tagging"` @@ -17324,7 +17771,7 @@ func (s *PutBucketTaggingInput) SetTagging(v *Tagging) *PutBucketTaggingInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTaggingOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTaggingOutput type PutBucketTaggingOutput struct { _ struct{} `type:"structure"` } @@ -17339,7 +17786,7 @@ func (s PutBucketTaggingOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioningRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioningRequest type PutBucketVersioningInput struct { _ struct{} `type:"structure" payload:"VersioningConfiguration"` @@ -17405,7 +17852,7 @@ func (s *PutBucketVersioningInput) SetVersioningConfiguration(v *VersioningConfi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioningOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioningOutput type PutBucketVersioningOutput struct { _ struct{} `type:"structure"` } @@ -17420,7 +17867,7 @@ func (s PutBucketVersioningOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsiteRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsiteRequest type PutBucketWebsiteInput struct { _ struct{} `type:"structure" payload:"WebsiteConfiguration"` @@ -17481,7 +17928,7 @@ func (s *PutBucketWebsiteInput) SetWebsiteConfiguration(v *WebsiteConfiguration) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsiteOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsiteOutput type PutBucketWebsiteOutput struct { _ struct{} `type:"structure"` } @@ -17496,7 +17943,7 @@ func (s PutBucketWebsiteOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAclRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAclRequest type PutObjectAclInput struct { _ struct{} `type:"structure" payload:"AccessControlPolicy"` @@ -17644,7 +18091,7 @@ func (s *PutObjectAclInput) SetVersionId(v string) *PutObjectAclInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAclOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAclOutput type PutObjectAclOutput struct { _ struct{} `type:"structure"` @@ -17669,7 +18116,7 @@ func (s *PutObjectAclOutput) SetRequestCharged(v string) *PutObjectAclOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRequest type PutObjectInput struct { _ struct{} `type:"structure" payload:"Body"` @@ -17973,7 +18420,7 @@ func (s *PutObjectInput) SetWebsiteRedirectLocation(v string) *PutObjectInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectOutput type PutObjectOutput struct { _ struct{} `type:"structure"` @@ -18068,7 +18515,7 @@ func (s *PutObjectOutput) SetVersionId(v string) *PutObjectOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingRequest type PutObjectTaggingInput struct { _ struct{} `type:"structure" payload:"Tagging"` @@ -18152,7 +18599,7 @@ func (s *PutObjectTaggingInput) SetVersionId(v string) *PutObjectTaggingInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingOutput type PutObjectTaggingOutput struct { _ struct{} `type:"structure"` @@ -18177,7 +18624,7 @@ func (s *PutObjectTaggingOutput) SetVersionId(v string) *PutObjectTaggingOutput // Container for specifying an configuration when you want Amazon S3 to publish // events to an Amazon Simple Queue Service (Amazon SQS) queue. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/QueueConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/QueueConfiguration type QueueConfiguration struct { _ struct{} `type:"structure"` @@ -18249,7 +18696,7 @@ func (s *QueueConfiguration) SetQueueArn(v string) *QueueConfiguration { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/QueueConfigurationDeprecated +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/QueueConfigurationDeprecated type QueueConfigurationDeprecated struct { _ struct{} `type:"structure"` @@ -18299,7 +18746,7 @@ func (s *QueueConfigurationDeprecated) SetQueue(v string) *QueueConfigurationDep return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Redirect +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Redirect type Redirect struct { _ struct{} `type:"structure"` @@ -18368,7 +18815,7 @@ func (s *Redirect) SetReplaceKeyWith(v string) *Redirect { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RedirectAllRequestsTo +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RedirectAllRequestsTo type RedirectAllRequestsTo struct { _ struct{} `type:"structure"` @@ -18419,7 +18866,7 @@ func (s *RedirectAllRequestsTo) SetProtocol(v string) *RedirectAllRequestsTo { // Container for replication rules. You can add as many as 1,000 rules. Total // replication configuration size can be up to 2 MB. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationConfiguration type ReplicationConfiguration struct { _ struct{} `type:"structure"` @@ -18485,7 +18932,7 @@ func (s *ReplicationConfiguration) SetRules(v []*ReplicationRule) *ReplicationCo } // Container for information about a particular replication rule. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRule type ReplicationRule struct { _ struct{} `type:"structure"` @@ -18582,7 +19029,7 @@ func (s *ReplicationRule) SetStatus(v string) *ReplicationRule { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RequestPaymentConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RequestPaymentConfiguration type RequestPaymentConfiguration struct { _ struct{} `type:"structure"` @@ -18621,7 +19068,7 @@ func (s *RequestPaymentConfiguration) SetPayer(v string) *RequestPaymentConfigur return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObjectRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObjectRequest type RestoreObjectInput struct { _ struct{} `type:"structure" payload:"RestoreRequest"` @@ -18637,6 +19084,7 @@ type RestoreObjectInput struct { // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"` + // Container for restore job parameters. RestoreRequest *RestoreRequest `locationName:"RestoreRequest" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"` VersionId *string `location:"querystring" locationName:"versionId" type:"string"` @@ -18713,13 +19161,17 @@ func (s *RestoreObjectInput) SetVersionId(v string) *RestoreObjectInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObjectOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObjectOutput type RestoreObjectOutput struct { _ struct{} `type:"structure"` // If present, indicates that the requester was successfully charged for the // request. RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"` + + // Indicates the path in the provided S3 output location where Select results + // will be restored to. + RestoreOutputPath *string `location:"header" locationName:"x-amz-restore-output-path" type:"string"` } // String returns the string representation @@ -18738,17 +19190,39 @@ func (s *RestoreObjectOutput) SetRequestCharged(v string) *RestoreObjectOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreRequest +// SetRestoreOutputPath sets the RestoreOutputPath field's value. +func (s *RestoreObjectOutput) SetRestoreOutputPath(v string) *RestoreObjectOutput { + s.RestoreOutputPath = &v + return s +} + +// Container for restore job parameters. +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreRequest type RestoreRequest struct { _ struct{} `type:"structure"` - // Lifetime of the active copy in days - // - // Days is a required field - Days *int64 `type:"integer" required:"true"` + // Lifetime of the active copy in days. Do not use with restores that specify + // OutputLocation. + Days *int64 `type:"integer"` + + // The optional description for the job. + Description *string `type:"string"` - // Glacier related prameters pertaining to this job. + // Glacier related parameters pertaining to this job. Do not use with restores + // that specify OutputLocation. GlacierJobParameters *GlacierJobParameters `type:"structure"` + + // Describes the location where the restore job's output is stored. + OutputLocation *OutputLocation `type:"structure"` + + // Describes the parameters for Select job types. + SelectParameters *SelectParameters `type:"structure"` + + // Glacier retrieval tier at which the restore will be processed. + Tier *string `type:"string" enum:"Tier"` + + // Type of restore request. + Type *string `type:"string" enum:"RestoreRequestType"` } // String returns the string representation @@ -18764,14 +19238,21 @@ func (s RestoreRequest) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *RestoreRequest) Validate() error { invalidParams := request.ErrInvalidParams{Context: "RestoreRequest"} - if s.Days == nil { - invalidParams.Add(request.NewErrParamRequired("Days")) - } if s.GlacierJobParameters != nil { if err := s.GlacierJobParameters.Validate(); err != nil { invalidParams.AddNested("GlacierJobParameters", err.(request.ErrInvalidParams)) } } + if s.OutputLocation != nil { + if err := s.OutputLocation.Validate(); err != nil { + invalidParams.AddNested("OutputLocation", err.(request.ErrInvalidParams)) + } + } + if s.SelectParameters != nil { + if err := s.SelectParameters.Validate(); err != nil { + invalidParams.AddNested("SelectParameters", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -18785,13 +19266,43 @@ func (s *RestoreRequest) SetDays(v int64) *RestoreRequest { return s } +// SetDescription sets the Description field's value. +func (s *RestoreRequest) SetDescription(v string) *RestoreRequest { + s.Description = &v + return s +} + // SetGlacierJobParameters sets the GlacierJobParameters field's value. func (s *RestoreRequest) SetGlacierJobParameters(v *GlacierJobParameters) *RestoreRequest { s.GlacierJobParameters = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RoutingRule +// SetOutputLocation sets the OutputLocation field's value. +func (s *RestoreRequest) SetOutputLocation(v *OutputLocation) *RestoreRequest { + s.OutputLocation = v + return s +} + +// SetSelectParameters sets the SelectParameters field's value. +func (s *RestoreRequest) SetSelectParameters(v *SelectParameters) *RestoreRequest { + s.SelectParameters = v + return s +} + +// SetTier sets the Tier field's value. +func (s *RestoreRequest) SetTier(v string) *RestoreRequest { + s.Tier = &v + return s +} + +// SetType sets the Type field's value. +func (s *RestoreRequest) SetType(v string) *RestoreRequest { + s.Type = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RoutingRule type RoutingRule struct { _ struct{} `type:"structure"` @@ -18844,7 +19355,7 @@ func (s *RoutingRule) SetRedirect(v *Redirect) *RoutingRule { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Rule +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Rule type Rule struct { _ struct{} `type:"structure"` @@ -18960,7 +19471,7 @@ func (s *Rule) SetTransition(v *Transition) *Rule { } // Specifies the use of SSE-KMS to encrypt delievered Inventory reports. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SSEKMS +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SSEKMS type SSEKMS struct { _ struct{} `locationName:"SSE-KMS" type:"structure"` @@ -19001,7 +19512,7 @@ func (s *SSEKMS) SetKeyId(v string) *SSEKMS { } // Specifies the use of SSE-S3 to encrypt delievered Inventory reports. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SSES3 +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SSES3 type SSES3 struct { _ struct{} `locationName:"SSE-S3" type:"structure"` } @@ -19016,10 +19527,92 @@ func (s SSES3) GoString() string { return s.String() } +// Describes the parameters for Select job types. +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectParameters +type SelectParameters struct { + _ struct{} `type:"structure"` + + // The expression that is used to query the object. + // + // Expression is a required field + Expression *string `type:"string" required:"true"` + + // The type of the provided expression (e.g., SQL). + // + // ExpressionType is a required field + ExpressionType *string `type:"string" required:"true" enum:"ExpressionType"` + + // Describes the serialization format of the object. + // + // InputSerialization is a required field + InputSerialization *InputSerialization `type:"structure" required:"true"` + + // Describes how the results of the Select job are serialized. + // + // OutputSerialization is a required field + OutputSerialization *OutputSerialization `type:"structure" required:"true"` +} + +// String returns the string representation +func (s SelectParameters) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SelectParameters) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SelectParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SelectParameters"} + if s.Expression == nil { + invalidParams.Add(request.NewErrParamRequired("Expression")) + } + if s.ExpressionType == nil { + invalidParams.Add(request.NewErrParamRequired("ExpressionType")) + } + if s.InputSerialization == nil { + invalidParams.Add(request.NewErrParamRequired("InputSerialization")) + } + if s.OutputSerialization == nil { + invalidParams.Add(request.NewErrParamRequired("OutputSerialization")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExpression sets the Expression field's value. +func (s *SelectParameters) SetExpression(v string) *SelectParameters { + s.Expression = &v + return s +} + +// SetExpressionType sets the ExpressionType field's value. +func (s *SelectParameters) SetExpressionType(v string) *SelectParameters { + s.ExpressionType = &v + return s +} + +// SetInputSerialization sets the InputSerialization field's value. +func (s *SelectParameters) SetInputSerialization(v *InputSerialization) *SelectParameters { + s.InputSerialization = v + return s +} + +// SetOutputSerialization sets the OutputSerialization field's value. +func (s *SelectParameters) SetOutputSerialization(v *OutputSerialization) *SelectParameters { + s.OutputSerialization = v + return s +} + // Describes the default server-side encryption to apply to new objects in the // bucket. If Put Object request does not specify any server-side encryption, // this default encryption will be applied. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionByDefault +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionByDefault type ServerSideEncryptionByDefault struct { _ struct{} `type:"structure"` @@ -19070,7 +19663,7 @@ func (s *ServerSideEncryptionByDefault) SetSSEAlgorithm(v string) *ServerSideEnc // Container for server-side encryption configuration rules. Currently S3 supports // one rule only. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionConfiguration type ServerSideEncryptionConfiguration struct { _ struct{} `type:"structure"` @@ -19122,7 +19715,7 @@ func (s *ServerSideEncryptionConfiguration) SetRules(v []*ServerSideEncryptionRu // Container for information about a particular server-side encryption configuration // rule. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionRule type ServerSideEncryptionRule struct { _ struct{} `type:"structure"` @@ -19164,7 +19757,7 @@ func (s *ServerSideEncryptionRule) SetApplyServerSideEncryptionByDefault(v *Serv } // Container for filters that define which source objects should be replicated. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SourceSelectionCriteria +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SourceSelectionCriteria type SourceSelectionCriteria struct { _ struct{} `type:"structure"` @@ -19204,7 +19797,7 @@ func (s *SourceSelectionCriteria) SetSseKmsEncryptedObjects(v *SseKmsEncryptedOb } // Container for filter information of selection of KMS Encrypted S3 objects. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SseKmsEncryptedObjects +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SseKmsEncryptedObjects type SseKmsEncryptedObjects struct { _ struct{} `type:"structure"` @@ -19244,7 +19837,7 @@ func (s *SseKmsEncryptedObjects) SetStatus(v string) *SseKmsEncryptedObjects { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysis +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysis type StorageClassAnalysis struct { _ struct{} `type:"structure"` @@ -19284,7 +19877,7 @@ func (s *StorageClassAnalysis) SetDataExport(v *StorageClassAnalysisDataExport) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysisDataExport +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysisDataExport type StorageClassAnalysisDataExport struct { _ struct{} `type:"structure"` @@ -19342,7 +19935,7 @@ func (s *StorageClassAnalysisDataExport) SetOutputSchemaVersion(v string) *Stora return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tag type Tag struct { _ struct{} `type:"structure"` @@ -19398,7 +19991,7 @@ func (s *Tag) SetValue(v string) *Tag { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tagging +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tagging type Tagging struct { _ struct{} `type:"structure"` @@ -19445,7 +20038,7 @@ func (s *Tagging) SetTagSet(v []*Tag) *Tagging { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TargetGrant +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TargetGrant type TargetGrant struct { _ struct{} `type:"structure"` @@ -19494,7 +20087,7 @@ func (s *TargetGrant) SetPermission(v string) *TargetGrant { // Container for specifying the configuration when you want Amazon S3 to publish // events to an Amazon Simple Notification Service (Amazon SNS) topic. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfiguration type TopicConfiguration struct { _ struct{} `type:"structure"` @@ -19566,7 +20159,7 @@ func (s *TopicConfiguration) SetTopicArn(v string) *TopicConfiguration { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfigurationDeprecated +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfigurationDeprecated type TopicConfigurationDeprecated struct { _ struct{} `type:"structure"` @@ -19618,7 +20211,7 @@ func (s *TopicConfigurationDeprecated) SetTopic(v string) *TopicConfigurationDep return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Transition +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Transition type Transition struct { _ struct{} `type:"structure"` @@ -19662,7 +20255,7 @@ func (s *Transition) SetStorageClass(v string) *Transition { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyRequest type UploadPartCopyInput struct { _ struct{} `type:"structure"` @@ -19906,7 +20499,7 @@ func (s *UploadPartCopyInput) SetUploadId(v string) *UploadPartCopyInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyOutput type UploadPartCopyOutput struct { _ struct{} `type:"structure" payload:"CopyPartResult"` @@ -19991,7 +20584,7 @@ func (s *UploadPartCopyOutput) SetServerSideEncryption(v string) *UploadPartCopy return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartRequest type UploadPartInput struct { _ struct{} `type:"structure" payload:"Body"` @@ -20164,7 +20757,7 @@ func (s *UploadPartInput) SetUploadId(v string) *UploadPartInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartOutput type UploadPartOutput struct { _ struct{} `type:"structure"` @@ -20240,7 +20833,7 @@ func (s *UploadPartOutput) SetServerSideEncryption(v string) *UploadPartOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/VersioningConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/VersioningConfiguration type VersioningConfiguration struct { _ struct{} `type:"structure"` @@ -20275,7 +20868,7 @@ func (s *VersioningConfiguration) SetStatus(v string) *VersioningConfiguration { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/WebsiteConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/WebsiteConfiguration type WebsiteConfiguration struct { _ struct{} `type:"structure"` @@ -20487,6 +21080,22 @@ const ( ExpirationStatusDisabled = "Disabled" ) +const ( + // ExpressionTypeSql is a ExpressionType enum value + ExpressionTypeSql = "SQL" +) + +const ( + // FileHeaderInfoUse is a FileHeaderInfo enum value + FileHeaderInfoUse = "USE" + + // FileHeaderInfoIgnore is a FileHeaderInfo enum value + FileHeaderInfoIgnore = "IGNORE" + + // FileHeaderInfoNone is a FileHeaderInfo enum value + FileHeaderInfoNone = "NONE" +) + const ( // FilterRuleNamePrefix is a FilterRuleName enum value FilterRuleNamePrefix = "prefix" @@ -20498,6 +21107,9 @@ const ( const ( // InventoryFormatCsv is a InventoryFormat enum value InventoryFormatCsv = "CSV" + + // InventoryFormatOrc is a InventoryFormat enum value + InventoryFormatOrc = "ORC" ) const ( @@ -20640,6 +21252,14 @@ const ( ProtocolHttps = "https" ) +const ( + // QuoteFieldsAlways is a QuoteFields enum value + QuoteFieldsAlways = "ALWAYS" + + // QuoteFieldsAsneeded is a QuoteFields enum value + QuoteFieldsAsneeded = "ASNEEDED" +) + const ( // ReplicationRuleStatusEnabled is a ReplicationRuleStatus enum value ReplicationRuleStatusEnabled = "Enabled" @@ -20678,6 +21298,11 @@ const ( RequestPayerRequester = "requester" ) +const ( + // RestoreRequestTypeSelect is a RestoreRequestType enum value + RestoreRequestTypeSelect = "SELECT" +) + const ( // ServerSideEncryptionAes256 is a ServerSideEncryption enum value ServerSideEncryptionAes256 = "AES256" diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go b/vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go index b794a63ba20..39b912c260b 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go +++ b/vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go @@ -35,7 +35,7 @@ // // The s3manager package's Downloader provides concurrently downloading of Objects // from S3. The Downloader will write S3 Object content with an io.WriterAt. -// Once the Downloader instance is created you can call Upload concurrently from +// Once the Downloader instance is created you can call Download concurrently from // multiple goroutines safely. // // // The session the S3 Downloader will use @@ -56,7 +56,7 @@ // Key: aws.String(myString), // }) // if err != nil { -// return fmt.Errorf("failed to upload file, %v", err) +// return fmt.Errorf("failed to download file, %v", err) // } // fmt.Printf("file downloaded, %d bytes\n", n) // diff --git a/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/api.go b/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/api.go index b9b2efdefb0..2b16bf7e776 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/api.go @@ -36,7 +36,7 @@ const opAcceptPortfolioShare = "AcceptPortfolioShare" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShare +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShare func (c *ServiceCatalog) AcceptPortfolioShareRequest(input *AcceptPortfolioShareInput) (req *request.Request, output *AcceptPortfolioShareOutput) { op := &request.Operation{ Name: opAcceptPortfolioShare, @@ -55,7 +55,7 @@ func (c *ServiceCatalog) AcceptPortfolioShareRequest(input *AcceptPortfolioShare // AcceptPortfolioShare API operation for AWS Service Catalog. // -// Accepts an offer to share a portfolio. +// Accepts an offer to share the specified portfolio. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -66,16 +66,17 @@ func (c *ServiceCatalog) AcceptPortfolioShareRequest(input *AcceptPortfolioShare // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // // * ErrCodeLimitExceededException "LimitExceededException" // The current limits of the service would have been exceeded by this operation. -// Reduce the resource use or increase the service limits and retry the operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShare +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShare func (c *ServiceCatalog) AcceptPortfolioShare(input *AcceptPortfolioShareInput) (*AcceptPortfolioShareOutput, error) { req, out := c.AcceptPortfolioShareRequest(input) return out, req.Send() @@ -122,7 +123,7 @@ const opAssociatePrincipalWithPortfolio = "AssociatePrincipalWithPortfolio" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolio func (c *ServiceCatalog) AssociatePrincipalWithPortfolioRequest(input *AssociatePrincipalWithPortfolioInput) (req *request.Request, output *AssociatePrincipalWithPortfolioOutput) { op := &request.Operation{ Name: opAssociatePrincipalWithPortfolio, @@ -152,16 +153,17 @@ func (c *ServiceCatalog) AssociatePrincipalWithPortfolioRequest(input *Associate // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // // * ErrCodeLimitExceededException "LimitExceededException" // The current limits of the service would have been exceeded by this operation. -// Reduce the resource use or increase the service limits and retry the operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolio func (c *ServiceCatalog) AssociatePrincipalWithPortfolio(input *AssociatePrincipalWithPortfolioInput) (*AssociatePrincipalWithPortfolioOutput, error) { req, out := c.AssociatePrincipalWithPortfolioRequest(input) return out, req.Send() @@ -208,7 +210,7 @@ const opAssociateProductWithPortfolio = "AssociateProductWithPortfolio" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolio func (c *ServiceCatalog) AssociateProductWithPortfolioRequest(input *AssociateProductWithPortfolioInput) (req *request.Request, output *AssociateProductWithPortfolioOutput) { op := &request.Operation{ Name: opAssociateProductWithPortfolio, @@ -227,7 +229,7 @@ func (c *ServiceCatalog) AssociateProductWithPortfolioRequest(input *AssociatePr // AssociateProductWithPortfolio API operation for AWS Service Catalog. // -// Associates a product with a portfolio. +// Associates the specified product with the specified portfolio. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -238,16 +240,17 @@ func (c *ServiceCatalog) AssociateProductWithPortfolioRequest(input *AssociatePr // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // // * ErrCodeLimitExceededException "LimitExceededException" // The current limits of the service would have been exceeded by this operation. -// Reduce the resource use or increase the service limits and retry the operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolio func (c *ServiceCatalog) AssociateProductWithPortfolio(input *AssociateProductWithPortfolioInput) (*AssociateProductWithPortfolioOutput, error) { req, out := c.AssociateProductWithPortfolioRequest(input) return out, req.Send() @@ -294,7 +297,7 @@ const opAssociateTagOptionWithResource = "AssociateTagOptionWithResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateTagOptionWithResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateTagOptionWithResource func (c *ServiceCatalog) AssociateTagOptionWithResourceRequest(input *AssociateTagOptionWithResourceInput) (req *request.Request, output *AssociateTagOptionWithResourceOutput) { op := &request.Operation{ Name: opAssociateTagOptionWithResource, @@ -313,7 +316,7 @@ func (c *ServiceCatalog) AssociateTagOptionWithResourceRequest(input *AssociateT // AssociateTagOptionWithResource API operation for AWS Service Catalog. // -// Associate a TagOption identifier with a resource identifier. +// Associate the specified TagOption with the specified portfolio or product. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -332,21 +335,22 @@ func (c *ServiceCatalog) AssociateTagOptionWithResourceRequest(input *AssociateT // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeLimitExceededException "LimitExceededException" // The current limits of the service would have been exceeded by this operation. -// Reduce the resource use or increase the service limits and retry the operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // // * ErrCodeDuplicateResourceException "DuplicateResourceException" // The specified resource is a duplicate. // // * ErrCodeInvalidStateException "InvalidStateException" -// An attempt was made to modify a resource that is in an invalid state. Inspect -// the resource you are using for this operation to ensure that all resource -// states are valid before retrying the operation. +// An attempt was made to modify a resource that is in a state that is not valid. +// Check your resources to ensure that they are in valid states before retrying +// the operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateTagOptionWithResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateTagOptionWithResource func (c *ServiceCatalog) AssociateTagOptionWithResource(input *AssociateTagOptionWithResourceInput) (*AssociateTagOptionWithResourceOutput, error) { req, out := c.AssociateTagOptionWithResourceRequest(input) return out, req.Send() @@ -393,7 +397,7 @@ const opCopyProduct = "CopyProduct" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CopyProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CopyProduct func (c *ServiceCatalog) CopyProductRequest(input *CopyProductInput) (req *request.Request, output *CopyProductOutput) { op := &request.Operation{ Name: opCopyProduct, @@ -415,8 +419,8 @@ func (c *ServiceCatalog) CopyProductRequest(input *CopyProductInput) (req *reque // Copies the specified source product to the specified target product or a // new product. // -// You can copy the product to the same account or another account. You can -// copy the product to the same region or another region. +// You can copy a product to the same account or another account. You can copy +// a product to the same region or another region. // // This operation is performed asynchronously. To track the progress of the // operation, use DescribeCopyProductStatus. @@ -433,9 +437,9 @@ func (c *ServiceCatalog) CopyProductRequest(input *CopyProductInput) (req *reque // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CopyProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CopyProduct func (c *ServiceCatalog) CopyProduct(input *CopyProductInput) (*CopyProductOutput, error) { req, out := c.CopyProductRequest(input) return out, req.Send() @@ -482,7 +486,7 @@ const opCreateConstraint = "CreateConstraint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraint +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraint func (c *ServiceCatalog) CreateConstraintRequest(input *CreateConstraintInput) (req *request.Request, output *CreateConstraintOutput) { op := &request.Operation{ Name: opCreateConstraint, @@ -501,7 +505,7 @@ func (c *ServiceCatalog) CreateConstraintRequest(input *CreateConstraintInput) ( // CreateConstraint API operation for AWS Service Catalog. // -// Creates a new constraint. For more information, see Using Constraints (http://docs.aws.amazon.com/servicecatalog/latest/adminguide/constraints.html). +// Creates a constraint. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -515,16 +519,17 @@ func (c *ServiceCatalog) CreateConstraintRequest(input *CreateConstraintInput) ( // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeLimitExceededException "LimitExceededException" // The current limits of the service would have been exceeded by this operation. -// Reduce the resource use or increase the service limits and retry the operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // // * ErrCodeDuplicateResourceException "DuplicateResourceException" // The specified resource is a duplicate. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraint +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraint func (c *ServiceCatalog) CreateConstraint(input *CreateConstraintInput) (*CreateConstraintOutput, error) { req, out := c.CreateConstraintRequest(input) return out, req.Send() @@ -571,7 +576,7 @@ const opCreatePortfolio = "CreatePortfolio" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolio func (c *ServiceCatalog) CreatePortfolioRequest(input *CreatePortfolioInput) (req *request.Request, output *CreatePortfolioOutput) { op := &request.Operation{ Name: opCreatePortfolio, @@ -590,7 +595,7 @@ func (c *ServiceCatalog) CreatePortfolioRequest(input *CreatePortfolioInput) (re // CreatePortfolio API operation for AWS Service Catalog. // -// Creates a new portfolio. +// Creates a portfolio. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -601,18 +606,19 @@ func (c *ServiceCatalog) CreatePortfolioRequest(input *CreatePortfolioInput) (re // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeLimitExceededException "LimitExceededException" // The current limits of the service would have been exceeded by this operation. -// Reduce the resource use or increase the service limits and retry the operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // // * ErrCodeTagOptionNotMigratedException "TagOptionNotMigratedException" // An operation requiring TagOptions failed because the TagOptions migration // process has not been performed for this account. Please use the AWS console // to perform the migration process before retrying the operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolio func (c *ServiceCatalog) CreatePortfolio(input *CreatePortfolioInput) (*CreatePortfolioOutput, error) { req, out := c.CreatePortfolioRequest(input) return out, req.Send() @@ -659,7 +665,7 @@ const opCreatePortfolioShare = "CreatePortfolioShare" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShare +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShare func (c *ServiceCatalog) CreatePortfolioShareRequest(input *CreatePortfolioShareInput) (req *request.Request, output *CreatePortfolioShareOutput) { op := &request.Operation{ Name: opCreatePortfolioShare, @@ -678,7 +684,7 @@ func (c *ServiceCatalog) CreatePortfolioShareRequest(input *CreatePortfolioShare // CreatePortfolioShare API operation for AWS Service Catalog. // -// Creates a new portfolio share. +// Shares the specified portfolio with the specified account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -693,12 +699,13 @@ func (c *ServiceCatalog) CreatePortfolioShareRequest(input *CreatePortfolioShare // // * ErrCodeLimitExceededException "LimitExceededException" // The current limits of the service would have been exceeded by this operation. -// Reduce the resource use or increase the service limits and retry the operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShare +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShare func (c *ServiceCatalog) CreatePortfolioShare(input *CreatePortfolioShareInput) (*CreatePortfolioShareOutput, error) { req, out := c.CreatePortfolioShareRequest(input) return out, req.Send() @@ -745,7 +752,7 @@ const opCreateProduct = "CreateProduct" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProduct func (c *ServiceCatalog) CreateProductRequest(input *CreateProductInput) (req *request.Request, output *CreateProductOutput) { op := &request.Operation{ Name: opCreateProduct, @@ -764,7 +771,7 @@ func (c *ServiceCatalog) CreateProductRequest(input *CreateProductInput) (req *r // CreateProduct API operation for AWS Service Catalog. // -// Creates a new product. +// Creates a product. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -775,18 +782,19 @@ func (c *ServiceCatalog) CreateProductRequest(input *CreateProductInput) (req *r // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeLimitExceededException "LimitExceededException" // The current limits of the service would have been exceeded by this operation. -// Reduce the resource use or increase the service limits and retry the operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // // * ErrCodeTagOptionNotMigratedException "TagOptionNotMigratedException" // An operation requiring TagOptions failed because the TagOptions migration // process has not been performed for this account. Please use the AWS console // to perform the migration process before retrying the operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProduct func (c *ServiceCatalog) CreateProduct(input *CreateProductInput) (*CreateProductOutput, error) { req, out := c.CreateProductRequest(input) return out, req.Send() @@ -833,7 +841,7 @@ const opCreateProvisioningArtifact = "CreateProvisioningArtifact" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifact +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifact func (c *ServiceCatalog) CreateProvisioningArtifactRequest(input *CreateProvisioningArtifactInput) (req *request.Request, output *CreateProvisioningArtifactOutput) { op := &request.Operation{ Name: opCreateProvisioningArtifact, @@ -852,8 +860,11 @@ func (c *ServiceCatalog) CreateProvisioningArtifactRequest(input *CreateProvisio // CreateProvisioningArtifact API operation for AWS Service Catalog. // -// Create a new provisioning artifact for the specified product. This operation -// does not work with a product that has been shared with you. +// Creates a provisioning artifact (also known as a version) for the specified +// product. +// +// You cannot create a provisioning artifact for a product that was shared with +// you. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -867,13 +878,14 @@ func (c *ServiceCatalog) CreateProvisioningArtifactRequest(input *CreateProvisio // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeLimitExceededException "LimitExceededException" // The current limits of the service would have been exceeded by this operation. -// Reduce the resource use or increase the service limits and retry the operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifact +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifact func (c *ServiceCatalog) CreateProvisioningArtifact(input *CreateProvisioningArtifactInput) (*CreateProvisioningArtifactOutput, error) { req, out := c.CreateProvisioningArtifactRequest(input) return out, req.Send() @@ -920,7 +932,7 @@ const opCreateTagOption = "CreateTagOption" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOption +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOption func (c *ServiceCatalog) CreateTagOptionRequest(input *CreateTagOptionInput) (req *request.Request, output *CreateTagOptionOutput) { op := &request.Operation{ Name: opCreateTagOption, @@ -939,7 +951,7 @@ func (c *ServiceCatalog) CreateTagOptionRequest(input *CreateTagOptionInput) (re // CreateTagOption API operation for AWS Service Catalog. // -// Create a new TagOption. +// Creates a TagOption. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -959,9 +971,10 @@ func (c *ServiceCatalog) CreateTagOptionRequest(input *CreateTagOptionInput) (re // // * ErrCodeLimitExceededException "LimitExceededException" // The current limits of the service would have been exceeded by this operation. -// Reduce the resource use or increase the service limits and retry the operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOption +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOption func (c *ServiceCatalog) CreateTagOption(input *CreateTagOptionInput) (*CreateTagOptionOutput, error) { req, out := c.CreateTagOptionRequest(input) return out, req.Send() @@ -1008,7 +1021,7 @@ const opDeleteConstraint = "DeleteConstraint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraint +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraint func (c *ServiceCatalog) DeleteConstraintRequest(input *DeleteConstraintInput) (req *request.Request, output *DeleteConstraintOutput) { op := &request.Operation{ Name: opDeleteConstraint, @@ -1041,9 +1054,9 @@ func (c *ServiceCatalog) DeleteConstraintRequest(input *DeleteConstraintInput) ( // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraint +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraint func (c *ServiceCatalog) DeleteConstraint(input *DeleteConstraintInput) (*DeleteConstraintOutput, error) { req, out := c.DeleteConstraintRequest(input) return out, req.Send() @@ -1090,7 +1103,7 @@ const opDeletePortfolio = "DeletePortfolio" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolio func (c *ServiceCatalog) DeletePortfolioRequest(input *DeletePortfolioInput) (req *request.Request, output *DeletePortfolioOutput) { op := &request.Operation{ Name: opDeletePortfolio, @@ -1109,9 +1122,10 @@ func (c *ServiceCatalog) DeletePortfolioRequest(input *DeletePortfolioInput) (re // DeletePortfolio API operation for AWS Service Catalog. // -// Deletes the specified portfolio. This operation does not work with a portfolio -// that has been shared with you or if it has products, users, constraints, -// or shared accounts associated with it. +// Deletes the specified portfolio. +// +// You cannot delete a portfolio if it was shared with you or if it has associated +// products, users, constraints, or shared accounts. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1125,18 +1139,18 @@ func (c *ServiceCatalog) DeletePortfolioRequest(input *DeletePortfolioInput) (re // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeResourceInUseException "ResourceInUseException" -// The operation was requested against a resource that is currently in use. -// Free the resource from use and retry the operation. +// A resource that is currently in use. Ensure the resource is not in use and +// retry the operation. // // * ErrCodeTagOptionNotMigratedException "TagOptionNotMigratedException" // An operation requiring TagOptions failed because the TagOptions migration // process has not been performed for this account. Please use the AWS console // to perform the migration process before retrying the operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolio func (c *ServiceCatalog) DeletePortfolio(input *DeletePortfolioInput) (*DeletePortfolioOutput, error) { req, out := c.DeletePortfolioRequest(input) return out, req.Send() @@ -1183,7 +1197,7 @@ const opDeletePortfolioShare = "DeletePortfolioShare" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShare +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShare func (c *ServiceCatalog) DeletePortfolioShareRequest(input *DeletePortfolioShareInput) (req *request.Request, output *DeletePortfolioShareOutput) { op := &request.Operation{ Name: opDeletePortfolioShare, @@ -1202,7 +1216,7 @@ func (c *ServiceCatalog) DeletePortfolioShareRequest(input *DeletePortfolioShare // DeletePortfolioShare API operation for AWS Service Catalog. // -// Deletes the specified portfolio share. +// Stops sharing the specified portfolio with the specified account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1215,7 +1229,7 @@ func (c *ServiceCatalog) DeletePortfolioShareRequest(input *DeletePortfolioShare // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShare +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShare func (c *ServiceCatalog) DeletePortfolioShare(input *DeletePortfolioShareInput) (*DeletePortfolioShareOutput, error) { req, out := c.DeletePortfolioShareRequest(input) return out, req.Send() @@ -1262,7 +1276,7 @@ const opDeleteProduct = "DeleteProduct" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProduct func (c *ServiceCatalog) DeleteProductRequest(input *DeleteProductInput) (req *request.Request, output *DeleteProductOutput) { op := &request.Operation{ Name: opDeleteProduct, @@ -1281,8 +1295,10 @@ func (c *ServiceCatalog) DeleteProductRequest(input *DeleteProductInput) (req *r // DeleteProduct API operation for AWS Service Catalog. // -// Deletes the specified product. This operation does not work with a product -// that has been shared with you or is associated with a portfolio. +// Deletes the specified product. +// +// You cannot delete a product if it was shared with you or is associated with +// a portfolio. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1296,18 +1312,18 @@ func (c *ServiceCatalog) DeleteProductRequest(input *DeleteProductInput) (req *r // The specified resource was not found. // // * ErrCodeResourceInUseException "ResourceInUseException" -// The operation was requested against a resource that is currently in use. -// Free the resource from use and retry the operation. +// A resource that is currently in use. Ensure the resource is not in use and +// retry the operation. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeTagOptionNotMigratedException "TagOptionNotMigratedException" // An operation requiring TagOptions failed because the TagOptions migration // process has not been performed for this account. Please use the AWS console // to perform the migration process before retrying the operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProduct func (c *ServiceCatalog) DeleteProduct(input *DeleteProductInput) (*DeleteProductOutput, error) { req, out := c.DeleteProductRequest(input) return out, req.Send() @@ -1354,7 +1370,7 @@ const opDeleteProvisioningArtifact = "DeleteProvisioningArtifact" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifact +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifact func (c *ServiceCatalog) DeleteProvisioningArtifactRequest(input *DeleteProvisioningArtifactInput) (req *request.Request, output *DeleteProvisioningArtifactOutput) { op := &request.Operation{ Name: opDeleteProvisioningArtifact, @@ -1373,10 +1389,12 @@ func (c *ServiceCatalog) DeleteProvisioningArtifactRequest(input *DeleteProvisio // DeleteProvisioningArtifact API operation for AWS Service Catalog. // -// Deletes the specified provisioning artifact. This operation does not work -// on a provisioning artifact associated with a product that has been shared -// with you, or on the last provisioning artifact associated with a product -// (a product must have at least one provisioning artifact). +// Deletes the specified provisioning artifact (also known as a version) for +// the specified product. +// +// You cannot delete a provisioning artifact associated with a product that +// was shared with you. You cannot delete the last provisioning artifact for +// a product, because a product must have at least one provisioning artifact. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1390,13 +1408,13 @@ func (c *ServiceCatalog) DeleteProvisioningArtifactRequest(input *DeleteProvisio // The specified resource was not found. // // * ErrCodeResourceInUseException "ResourceInUseException" -// The operation was requested against a resource that is currently in use. -// Free the resource from use and retry the operation. +// A resource that is currently in use. Ensure the resource is not in use and +// retry the operation. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifact +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifact func (c *ServiceCatalog) DeleteProvisioningArtifact(input *DeleteProvisioningArtifactInput) (*DeleteProvisioningArtifactOutput, error) { req, out := c.DeleteProvisioningArtifactRequest(input) return out, req.Send() @@ -1443,7 +1461,7 @@ const opDescribeConstraint = "DescribeConstraint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraint +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraint func (c *ServiceCatalog) DescribeConstraintRequest(input *DescribeConstraintInput) (req *request.Request, output *DescribeConstraintOutput) { op := &request.Operation{ Name: opDescribeConstraint, @@ -1462,7 +1480,7 @@ func (c *ServiceCatalog) DescribeConstraintRequest(input *DescribeConstraintInpu // DescribeConstraint API operation for AWS Service Catalog. // -// Retrieves detailed information for a specified constraint. +// Gets information about the specified constraint. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1475,7 +1493,7 @@ func (c *ServiceCatalog) DescribeConstraintRequest(input *DescribeConstraintInpu // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraint +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraint func (c *ServiceCatalog) DescribeConstraint(input *DescribeConstraintInput) (*DescribeConstraintOutput, error) { req, out := c.DescribeConstraintRequest(input) return out, req.Send() @@ -1522,7 +1540,7 @@ const opDescribeCopyProductStatus = "DescribeCopyProductStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeCopyProductStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeCopyProductStatus func (c *ServiceCatalog) DescribeCopyProductStatusRequest(input *DescribeCopyProductStatusInput) (req *request.Request, output *DescribeCopyProductStatusOutput) { op := &request.Operation{ Name: opDescribeCopyProductStatus, @@ -1541,7 +1559,7 @@ func (c *ServiceCatalog) DescribeCopyProductStatusRequest(input *DescribeCopyPro // DescribeCopyProductStatus API operation for AWS Service Catalog. // -// Describes the status of the specified copy product operation. +// Gets the status of the specified copy product operation. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1554,7 +1572,7 @@ func (c *ServiceCatalog) DescribeCopyProductStatusRequest(input *DescribeCopyPro // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeCopyProductStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeCopyProductStatus func (c *ServiceCatalog) DescribeCopyProductStatus(input *DescribeCopyProductStatusInput) (*DescribeCopyProductStatusOutput, error) { req, out := c.DescribeCopyProductStatusRequest(input) return out, req.Send() @@ -1601,7 +1619,7 @@ const opDescribePortfolio = "DescribePortfolio" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolio func (c *ServiceCatalog) DescribePortfolioRequest(input *DescribePortfolioInput) (req *request.Request, output *DescribePortfolioOutput) { op := &request.Operation{ Name: opDescribePortfolio, @@ -1620,8 +1638,7 @@ func (c *ServiceCatalog) DescribePortfolioRequest(input *DescribePortfolioInput) // DescribePortfolio API operation for AWS Service Catalog. // -// Retrieves detailed information and any tags associated with the specified -// portfolio. +// Gets information about the specified portfolio. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1634,7 +1651,7 @@ func (c *ServiceCatalog) DescribePortfolioRequest(input *DescribePortfolioInput) // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolio func (c *ServiceCatalog) DescribePortfolio(input *DescribePortfolioInput) (*DescribePortfolioOutput, error) { req, out := c.DescribePortfolioRequest(input) return out, req.Send() @@ -1681,7 +1698,7 @@ const opDescribeProduct = "DescribeProduct" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProduct func (c *ServiceCatalog) DescribeProductRequest(input *DescribeProductInput) (req *request.Request, output *DescribeProductOutput) { op := &request.Operation{ Name: opDescribeProduct, @@ -1700,10 +1717,7 @@ func (c *ServiceCatalog) DescribeProductRequest(input *DescribeProductInput) (re // DescribeProduct API operation for AWS Service Catalog. // -// Retrieves information about a specified product. -// -// This operation is functionally identical to DescribeProductView except that -// it takes as input ProductId instead of ProductViewId. +// Gets information about the specified product. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1717,9 +1731,9 @@ func (c *ServiceCatalog) DescribeProductRequest(input *DescribeProductInput) (re // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProduct func (c *ServiceCatalog) DescribeProduct(input *DescribeProductInput) (*DescribeProductOutput, error) { req, out := c.DescribeProductRequest(input) return out, req.Send() @@ -1766,7 +1780,7 @@ const opDescribeProductAsAdmin = "DescribeProductAsAdmin" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdmin +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdmin func (c *ServiceCatalog) DescribeProductAsAdminRequest(input *DescribeProductAsAdminInput) (req *request.Request, output *DescribeProductAsAdminOutput) { op := &request.Operation{ Name: opDescribeProductAsAdmin, @@ -1785,7 +1799,8 @@ func (c *ServiceCatalog) DescribeProductAsAdminRequest(input *DescribeProductAsA // DescribeProductAsAdmin API operation for AWS Service Catalog. // -// Retrieves information about a specified product, run with administrator access. +// Gets information about the specified product. This operation is run with +// administrator access. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1798,7 +1813,7 @@ func (c *ServiceCatalog) DescribeProductAsAdminRequest(input *DescribeProductAsA // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdmin +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdmin func (c *ServiceCatalog) DescribeProductAsAdmin(input *DescribeProductAsAdminInput) (*DescribeProductAsAdminOutput, error) { req, out := c.DescribeProductAsAdminRequest(input) return out, req.Send() @@ -1845,7 +1860,7 @@ const opDescribeProductView = "DescribeProductView" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductView +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductView func (c *ServiceCatalog) DescribeProductViewRequest(input *DescribeProductViewInput) (req *request.Request, output *DescribeProductViewOutput) { op := &request.Operation{ Name: opDescribeProductView, @@ -1864,10 +1879,7 @@ func (c *ServiceCatalog) DescribeProductViewRequest(input *DescribeProductViewIn // DescribeProductView API operation for AWS Service Catalog. // -// Retrieves information about a specified product. -// -// This operation is functionally identical to DescribeProduct except that it -// takes as input ProductViewId instead of ProductId. +// Gets information about the specified product. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1881,9 +1893,9 @@ func (c *ServiceCatalog) DescribeProductViewRequest(input *DescribeProductViewIn // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductView +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductView func (c *ServiceCatalog) DescribeProductView(input *DescribeProductViewInput) (*DescribeProductViewOutput, error) { req, out := c.DescribeProductViewRequest(input) return out, req.Send() @@ -1930,7 +1942,7 @@ const opDescribeProvisionedProduct = "DescribeProvisionedProduct" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProduct func (c *ServiceCatalog) DescribeProvisionedProductRequest(input *DescribeProvisionedProductInput) (req *request.Request, output *DescribeProvisionedProductOutput) { op := &request.Operation{ Name: opDescribeProvisionedProduct, @@ -1949,7 +1961,7 @@ func (c *ServiceCatalog) DescribeProvisionedProductRequest(input *DescribeProvis // DescribeProvisionedProduct API operation for AWS Service Catalog. // -// Retrieve detailed information about the provisioned product. +// Gets information about the specified provisioned product. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1962,7 +1974,7 @@ func (c *ServiceCatalog) DescribeProvisionedProductRequest(input *DescribeProvis // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProduct func (c *ServiceCatalog) DescribeProvisionedProduct(input *DescribeProvisionedProductInput) (*DescribeProvisionedProductOutput, error) { req, out := c.DescribeProvisionedProductRequest(input) return out, req.Send() @@ -2009,7 +2021,7 @@ const opDescribeProvisioningArtifact = "DescribeProvisioningArtifact" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifact +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifact func (c *ServiceCatalog) DescribeProvisioningArtifactRequest(input *DescribeProvisioningArtifactInput) (req *request.Request, output *DescribeProvisioningArtifactOutput) { op := &request.Operation{ Name: opDescribeProvisioningArtifact, @@ -2028,7 +2040,8 @@ func (c *ServiceCatalog) DescribeProvisioningArtifactRequest(input *DescribeProv // DescribeProvisioningArtifact API operation for AWS Service Catalog. // -// Retrieves detailed information about the specified provisioning artifact. +// Gets information about the specified provisioning artifact (also known as +// a version) for the specified product. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2041,7 +2054,7 @@ func (c *ServiceCatalog) DescribeProvisioningArtifactRequest(input *DescribeProv // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifact +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifact func (c *ServiceCatalog) DescribeProvisioningArtifact(input *DescribeProvisioningArtifactInput) (*DescribeProvisioningArtifactOutput, error) { req, out := c.DescribeProvisioningArtifactRequest(input) return out, req.Send() @@ -2088,7 +2101,7 @@ const opDescribeProvisioningParameters = "DescribeProvisioningParameters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParameters func (c *ServiceCatalog) DescribeProvisioningParametersRequest(input *DescribeProvisioningParametersInput) (req *request.Request, output *DescribeProvisioningParametersOutput) { op := &request.Operation{ Name: opDescribeProvisioningParameters, @@ -2107,19 +2120,15 @@ func (c *ServiceCatalog) DescribeProvisioningParametersRequest(input *DescribePr // DescribeProvisioningParameters API operation for AWS Service Catalog. // -// Provides information about parameters required to provision a specified product -// in a specified manner. Use this operation to obtain the list of ProvisioningArtifactParameters -// parameters available to call the ProvisionProduct operation for the specified -// product. +// Gets information about the configuration required to provision the specified +// product using the specified provisioning artifact. // // If the output contains a TagOption key with an empty list of values, there // is a TagOption conflict for that key. The end user cannot take action to -// fix the conflict, and launch is not blocked. In subsequent calls to the ProvisionProduct -// operation, do not include conflicted TagOption keys as tags. Calls to ProvisionProduct -// with empty TagOption values cause the error "Parameter validation failed: -// Missing required parameter in Tags[N]:Value ". Calls to ProvisionProduct -// with conflicted TagOption keys automatically tag the provisioned product -// with the conflicted keys with the value "sc-tagoption-conflict-portfolioId-productId". +// fix the conflict, and launch is not blocked. In subsequent calls to ProvisionProduct, +// do not include conflicted TagOption keys as tags, or this will cause the +// error "Parameter validation failed: Missing required parameter in Tags[N]:Value" +// and tag the provisioned product with the value sc-tagoption-conflict-portfolioId-productId. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2130,12 +2139,12 @@ func (c *ServiceCatalog) DescribeProvisioningParametersRequest(input *DescribePr // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParameters func (c *ServiceCatalog) DescribeProvisioningParameters(input *DescribeProvisioningParametersInput) (*DescribeProvisioningParametersOutput, error) { req, out := c.DescribeProvisioningParametersRequest(input) return out, req.Send() @@ -2182,7 +2191,7 @@ const opDescribeRecord = "DescribeRecord" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecord +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecord func (c *ServiceCatalog) DescribeRecordRequest(input *DescribeRecordInput) (req *request.Request, output *DescribeRecordOutput) { op := &request.Operation{ Name: opDescribeRecord, @@ -2201,9 +2210,10 @@ func (c *ServiceCatalog) DescribeRecordRequest(input *DescribeRecordInput) (req // DescribeRecord API operation for AWS Service Catalog. // -// Retrieves a paginated list of the full details of a specific request. Use -// this operation after calling a request operation (ProvisionProduct, TerminateProvisionedProduct, -// or UpdateProvisionedProduct). +// Gets information about the specified request operation. +// +// Use this operation after calling a request operation (for example, ProvisionProduct, +// TerminateProvisionedProduct, or UpdateProvisionedProduct). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2216,7 +2226,7 @@ func (c *ServiceCatalog) DescribeRecordRequest(input *DescribeRecordInput) (req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecord +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecord func (c *ServiceCatalog) DescribeRecord(input *DescribeRecordInput) (*DescribeRecordOutput, error) { req, out := c.DescribeRecordRequest(input) return out, req.Send() @@ -2263,7 +2273,7 @@ const opDescribeTagOption = "DescribeTagOption" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOption +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOption func (c *ServiceCatalog) DescribeTagOptionRequest(input *DescribeTagOptionInput) (req *request.Request, output *DescribeTagOptionOutput) { op := &request.Operation{ Name: opDescribeTagOption, @@ -2282,7 +2292,7 @@ func (c *ServiceCatalog) DescribeTagOptionRequest(input *DescribeTagOptionInput) // DescribeTagOption API operation for AWS Service Catalog. // -// Describes a TagOption. +// Gets information about the specified TagOption. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2300,7 +2310,7 @@ func (c *ServiceCatalog) DescribeTagOptionRequest(input *DescribeTagOptionInput) // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOption +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOption func (c *ServiceCatalog) DescribeTagOption(input *DescribeTagOptionInput) (*DescribeTagOptionOutput, error) { req, out := c.DescribeTagOptionRequest(input) return out, req.Send() @@ -2347,7 +2357,7 @@ const opDisassociatePrincipalFromPortfolio = "DisassociatePrincipalFromPortfolio // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolio func (c *ServiceCatalog) DisassociatePrincipalFromPortfolioRequest(input *DisassociatePrincipalFromPortfolioInput) (req *request.Request, output *DisassociatePrincipalFromPortfolioOutput) { op := &request.Operation{ Name: opDisassociatePrincipalFromPortfolio, @@ -2377,12 +2387,12 @@ func (c *ServiceCatalog) DisassociatePrincipalFromPortfolioRequest(input *Disass // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolio func (c *ServiceCatalog) DisassociatePrincipalFromPortfolio(input *DisassociatePrincipalFromPortfolioInput) (*DisassociatePrincipalFromPortfolioOutput, error) { req, out := c.DisassociatePrincipalFromPortfolioRequest(input) return out, req.Send() @@ -2429,7 +2439,7 @@ const opDisassociateProductFromPortfolio = "DisassociateProductFromPortfolio" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolio func (c *ServiceCatalog) DisassociateProductFromPortfolioRequest(input *DisassociateProductFromPortfolioInput) (req *request.Request, output *DisassociateProductFromPortfolioOutput) { op := &request.Operation{ Name: opDisassociateProductFromPortfolio, @@ -2462,13 +2472,13 @@ func (c *ServiceCatalog) DisassociateProductFromPortfolioRequest(input *Disassoc // The specified resource was not found. // // * ErrCodeResourceInUseException "ResourceInUseException" -// The operation was requested against a resource that is currently in use. -// Free the resource from use and retry the operation. +// A resource that is currently in use. Ensure the resource is not in use and +// retry the operation. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolio func (c *ServiceCatalog) DisassociateProductFromPortfolio(input *DisassociateProductFromPortfolioInput) (*DisassociateProductFromPortfolioOutput, error) { req, out := c.DisassociateProductFromPortfolioRequest(input) return out, req.Send() @@ -2515,7 +2525,7 @@ const opDisassociateTagOptionFromResource = "DisassociateTagOptionFromResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateTagOptionFromResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateTagOptionFromResource func (c *ServiceCatalog) DisassociateTagOptionFromResourceRequest(input *DisassociateTagOptionFromResourceInput) (req *request.Request, output *DisassociateTagOptionFromResourceOutput) { op := &request.Operation{ Name: opDisassociateTagOptionFromResource, @@ -2534,7 +2544,7 @@ func (c *ServiceCatalog) DisassociateTagOptionFromResourceRequest(input *Disasso // DisassociateTagOptionFromResource API operation for AWS Service Catalog. // -// Disassociates a TagOption from a resource. +// Disassociates the specified TagOption from the specified resource. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2552,7 +2562,7 @@ func (c *ServiceCatalog) DisassociateTagOptionFromResourceRequest(input *Disasso // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateTagOptionFromResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateTagOptionFromResource func (c *ServiceCatalog) DisassociateTagOptionFromResource(input *DisassociateTagOptionFromResourceInput) (*DisassociateTagOptionFromResourceOutput, error) { req, out := c.DisassociateTagOptionFromResourceRequest(input) return out, req.Send() @@ -2599,7 +2609,7 @@ const opListAcceptedPortfolioShares = "ListAcceptedPortfolioShares" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioShares +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioShares func (c *ServiceCatalog) ListAcceptedPortfolioSharesRequest(input *ListAcceptedPortfolioSharesInput) (req *request.Request, output *ListAcceptedPortfolioSharesOutput) { op := &request.Operation{ Name: opListAcceptedPortfolioShares, @@ -2624,7 +2634,7 @@ func (c *ServiceCatalog) ListAcceptedPortfolioSharesRequest(input *ListAcceptedP // ListAcceptedPortfolioShares API operation for AWS Service Catalog. // -// Lists details of all portfolios for which sharing was accepted by this account. +// Lists all portfolios for which sharing was accepted by this account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2635,9 +2645,9 @@ func (c *ServiceCatalog) ListAcceptedPortfolioSharesRequest(input *ListAcceptedP // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioShares +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioShares func (c *ServiceCatalog) ListAcceptedPortfolioShares(input *ListAcceptedPortfolioSharesInput) (*ListAcceptedPortfolioSharesOutput, error) { req, out := c.ListAcceptedPortfolioSharesRequest(input) return out, req.Send() @@ -2734,7 +2744,7 @@ const opListConstraintsForPortfolio = "ListConstraintsForPortfolio" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolio func (c *ServiceCatalog) ListConstraintsForPortfolioRequest(input *ListConstraintsForPortfolioInput) (req *request.Request, output *ListConstraintsForPortfolioOutput) { op := &request.Operation{ Name: opListConstraintsForPortfolio, @@ -2759,8 +2769,7 @@ func (c *ServiceCatalog) ListConstraintsForPortfolioRequest(input *ListConstrain // ListConstraintsForPortfolio API operation for AWS Service Catalog. // -// Retrieves detailed constraint information for the specified portfolio and -// product. +// Lists the constraints for the specified portfolio and product. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2774,9 +2783,9 @@ func (c *ServiceCatalog) ListConstraintsForPortfolioRequest(input *ListConstrain // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolio func (c *ServiceCatalog) ListConstraintsForPortfolio(input *ListConstraintsForPortfolioInput) (*ListConstraintsForPortfolioOutput, error) { req, out := c.ListConstraintsForPortfolioRequest(input) return out, req.Send() @@ -2873,7 +2882,7 @@ const opListLaunchPaths = "ListLaunchPaths" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPaths +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPaths func (c *ServiceCatalog) ListLaunchPathsRequest(input *ListLaunchPathsInput) (req *request.Request, output *ListLaunchPathsOutput) { op := &request.Operation{ Name: opListLaunchPaths, @@ -2898,9 +2907,9 @@ func (c *ServiceCatalog) ListLaunchPathsRequest(input *ListLaunchPathsInput) (re // ListLaunchPaths API operation for AWS Service Catalog. // -// Returns a paginated list of all paths to a specified product. A path is how -// the user has access to a specified product, and is necessary when provisioning -// a product. A path also determines the constraints put on the product. +// Lists the paths to the specified product. A path is how the user has access +// to a specified product, and is necessary when provisioning a product. A path +// also determines the constraints put on the product. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2911,12 +2920,12 @@ func (c *ServiceCatalog) ListLaunchPathsRequest(input *ListLaunchPathsInput) (re // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPaths +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPaths func (c *ServiceCatalog) ListLaunchPaths(input *ListLaunchPathsInput) (*ListLaunchPathsOutput, error) { req, out := c.ListLaunchPathsRequest(input) return out, req.Send() @@ -3013,7 +3022,7 @@ const opListPortfolioAccess = "ListPortfolioAccess" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccess +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccess func (c *ServiceCatalog) ListPortfolioAccessRequest(input *ListPortfolioAccessInput) (req *request.Request, output *ListPortfolioAccessOutput) { op := &request.Operation{ Name: opListPortfolioAccess, @@ -3032,8 +3041,7 @@ func (c *ServiceCatalog) ListPortfolioAccessRequest(input *ListPortfolioAccessIn // ListPortfolioAccess API operation for AWS Service Catalog. // -// Lists the account IDs that have been authorized sharing of the specified -// portfolio. +// Lists the account IDs that have access to the specified portfolio. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3046,7 +3054,7 @@ func (c *ServiceCatalog) ListPortfolioAccessRequest(input *ListPortfolioAccessIn // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccess +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccess func (c *ServiceCatalog) ListPortfolioAccess(input *ListPortfolioAccessInput) (*ListPortfolioAccessOutput, error) { req, out := c.ListPortfolioAccessRequest(input) return out, req.Send() @@ -3093,7 +3101,7 @@ const opListPortfolios = "ListPortfolios" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolios +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolios func (c *ServiceCatalog) ListPortfoliosRequest(input *ListPortfoliosInput) (req *request.Request, output *ListPortfoliosOutput) { op := &request.Operation{ Name: opListPortfolios, @@ -3129,9 +3137,9 @@ func (c *ServiceCatalog) ListPortfoliosRequest(input *ListPortfoliosInput) (req // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolios +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolios func (c *ServiceCatalog) ListPortfolios(input *ListPortfoliosInput) (*ListPortfoliosOutput, error) { req, out := c.ListPortfoliosRequest(input) return out, req.Send() @@ -3228,7 +3236,7 @@ const opListPortfoliosForProduct = "ListPortfoliosForProduct" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProduct func (c *ServiceCatalog) ListPortfoliosForProductRequest(input *ListPortfoliosForProductInput) (req *request.Request, output *ListPortfoliosForProductOutput) { op := &request.Operation{ Name: opListPortfoliosForProduct, @@ -3264,12 +3272,12 @@ func (c *ServiceCatalog) ListPortfoliosForProductRequest(input *ListPortfoliosFo // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProduct func (c *ServiceCatalog) ListPortfoliosForProduct(input *ListPortfoliosForProductInput) (*ListPortfoliosForProductOutput, error) { req, out := c.ListPortfoliosForProductRequest(input) return out, req.Send() @@ -3366,7 +3374,7 @@ const opListPrincipalsForPortfolio = "ListPrincipalsForPortfolio" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolio func (c *ServiceCatalog) ListPrincipalsForPortfolioRequest(input *ListPrincipalsForPortfolioInput) (req *request.Request, output *ListPrincipalsForPortfolioOutput) { op := &request.Operation{ Name: opListPrincipalsForPortfolio, @@ -3405,9 +3413,9 @@ func (c *ServiceCatalog) ListPrincipalsForPortfolioRequest(input *ListPrincipals // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolio func (c *ServiceCatalog) ListPrincipalsForPortfolio(input *ListPrincipalsForPortfolioInput) (*ListPrincipalsForPortfolioOutput, error) { req, out := c.ListPrincipalsForPortfolioRequest(input) return out, req.Send() @@ -3504,7 +3512,7 @@ const opListProvisioningArtifacts = "ListProvisioningArtifacts" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifacts +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifacts func (c *ServiceCatalog) ListProvisioningArtifactsRequest(input *ListProvisioningArtifactsInput) (req *request.Request, output *ListProvisioningArtifactsOutput) { op := &request.Operation{ Name: opListProvisioningArtifacts, @@ -3523,7 +3531,8 @@ func (c *ServiceCatalog) ListProvisioningArtifactsRequest(input *ListProvisionin // ListProvisioningArtifacts API operation for AWS Service Catalog. // -// Lists all provisioning artifacts associated with the specified product. +// Lists all provisioning artifacts (also known as versions) for the specified +// product. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3537,9 +3546,9 @@ func (c *ServiceCatalog) ListProvisioningArtifactsRequest(input *ListProvisionin // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifacts +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifacts func (c *ServiceCatalog) ListProvisioningArtifacts(input *ListProvisioningArtifactsInput) (*ListProvisioningArtifactsOutput, error) { req, out := c.ListProvisioningArtifactsRequest(input) return out, req.Send() @@ -3586,7 +3595,7 @@ const opListRecordHistory = "ListRecordHistory" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistory func (c *ServiceCatalog) ListRecordHistoryRequest(input *ListRecordHistoryInput) (req *request.Request, output *ListRecordHistoryOutput) { op := &request.Operation{ Name: opListRecordHistory, @@ -3605,8 +3614,7 @@ func (c *ServiceCatalog) ListRecordHistoryRequest(input *ListRecordHistoryInput) // ListRecordHistory API operation for AWS Service Catalog. // -// Returns a paginated list of all performed requests, in the form of RecordDetails -// objects that are filtered as specified. +// Lists the specified requests or all performed requests. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3617,9 +3625,9 @@ func (c *ServiceCatalog) ListRecordHistoryRequest(input *ListRecordHistoryInput) // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistory func (c *ServiceCatalog) ListRecordHistory(input *ListRecordHistoryInput) (*ListRecordHistoryOutput, error) { req, out := c.ListRecordHistoryRequest(input) return out, req.Send() @@ -3666,7 +3674,7 @@ const opListResourcesForTagOption = "ListResourcesForTagOption" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListResourcesForTagOption +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListResourcesForTagOption func (c *ServiceCatalog) ListResourcesForTagOptionRequest(input *ListResourcesForTagOptionInput) (req *request.Request, output *ListResourcesForTagOptionOutput) { op := &request.Operation{ Name: opListResourcesForTagOption, @@ -3691,7 +3699,7 @@ func (c *ServiceCatalog) ListResourcesForTagOptionRequest(input *ListResourcesFo // ListResourcesForTagOption API operation for AWS Service Catalog. // -// Lists resources associated with a TagOption. +// Lists the resources associated with the specified TagOption. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3710,9 +3718,9 @@ func (c *ServiceCatalog) ListResourcesForTagOptionRequest(input *ListResourcesFo // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListResourcesForTagOption +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListResourcesForTagOption func (c *ServiceCatalog) ListResourcesForTagOption(input *ListResourcesForTagOptionInput) (*ListResourcesForTagOptionOutput, error) { req, out := c.ListResourcesForTagOptionRequest(input) return out, req.Send() @@ -3809,7 +3817,7 @@ const opListTagOptions = "ListTagOptions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptions func (c *ServiceCatalog) ListTagOptionsRequest(input *ListTagOptionsInput) (req *request.Request, output *ListTagOptionsOutput) { op := &request.Operation{ Name: opListTagOptions, @@ -3834,7 +3842,7 @@ func (c *ServiceCatalog) ListTagOptionsRequest(input *ListTagOptionsInput) (req // ListTagOptions API operation for AWS Service Catalog. // -// Lists detailed TagOptions information. +// Lists the specified TagOptions or all TagOptions. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3850,9 +3858,9 @@ func (c *ServiceCatalog) ListTagOptionsRequest(input *ListTagOptionsInput) (req // to perform the migration process before retrying the operation. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptions func (c *ServiceCatalog) ListTagOptions(input *ListTagOptionsInput) (*ListTagOptionsOutput, error) { req, out := c.ListTagOptionsRequest(input) return out, req.Send() @@ -3949,7 +3957,7 @@ const opProvisionProduct = "ProvisionProduct" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProduct func (c *ServiceCatalog) ProvisionProductRequest(input *ProvisionProductInput) (req *request.Request, output *ProvisionProductOutput) { op := &request.Operation{ Name: opProvisionProduct, @@ -3968,18 +3976,17 @@ func (c *ServiceCatalog) ProvisionProductRequest(input *ProvisionProductInput) ( // ProvisionProduct API operation for AWS Service Catalog. // -// Requests a provision of a specified product. A provisioned product is a resourced -// instance for a product. For example, provisioning a CloudFormation-template-backed -// product results in launching a CloudFormation stack and all the underlying -// resources that come with it. +// Provisions the specified product. +// +// A provisioned product is a resourced instance of a product. For example, +// provisioning a product based on a CloudFormation template launches a CloudFormation +// stack and its underlying resources. You can check the status of this request +// using DescribeRecord. // -// You can check the status of this request using the DescribeRecord operation. -// The error "Parameter validation failed: Missing required parameter in Tags[N]:Value" -// indicates that your request contains a tag which has a tag key but no corresponding -// tag value (value is empty or null). Your call may have included values returned -// from a DescribeProvisioningParameters call that resulted in a TagOption key -// with an empty list. This happens when TagOption keys are in conflict. For -// more information, see DescribeProvisioningParameters. +// If the request contains a tag key with an empty list of values, there is +// a tag conflict for that key. Do not include conflicted keys as tags, or this +// will cause the error "Parameter validation failed: Missing required parameter +// in Tags[N]:Value". // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3990,7 +3997,7 @@ func (c *ServiceCatalog) ProvisionProductRequest(input *ProvisionProductInput) ( // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. @@ -3998,7 +4005,7 @@ func (c *ServiceCatalog) ProvisionProductRequest(input *ProvisionProductInput) ( // * ErrCodeDuplicateResourceException "DuplicateResourceException" // The specified resource is a duplicate. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProduct func (c *ServiceCatalog) ProvisionProduct(input *ProvisionProductInput) (*ProvisionProductOutput, error) { req, out := c.ProvisionProductRequest(input) return out, req.Send() @@ -4045,7 +4052,7 @@ const opRejectPortfolioShare = "RejectPortfolioShare" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShare +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShare func (c *ServiceCatalog) RejectPortfolioShareRequest(input *RejectPortfolioShareInput) (req *request.Request, output *RejectPortfolioShareOutput) { op := &request.Operation{ Name: opRejectPortfolioShare, @@ -4064,7 +4071,7 @@ func (c *ServiceCatalog) RejectPortfolioShareRequest(input *RejectPortfolioShare // RejectPortfolioShare API operation for AWS Service Catalog. // -// Rejects an offer to share a portfolio. +// Rejects an offer to share the specified portfolio. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4077,7 +4084,7 @@ func (c *ServiceCatalog) RejectPortfolioShareRequest(input *RejectPortfolioShare // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShare +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShare func (c *ServiceCatalog) RejectPortfolioShare(input *RejectPortfolioShareInput) (*RejectPortfolioShareOutput, error) { req, out := c.RejectPortfolioShareRequest(input) return out, req.Send() @@ -4124,7 +4131,7 @@ const opScanProvisionedProducts = "ScanProvisionedProducts" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProducts +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProducts func (c *ServiceCatalog) ScanProvisionedProductsRequest(input *ScanProvisionedProductsInput) (req *request.Request, output *ScanProvisionedProductsOutput) { op := &request.Operation{ Name: opScanProvisionedProducts, @@ -4143,8 +4150,7 @@ func (c *ServiceCatalog) ScanProvisionedProductsRequest(input *ScanProvisionedPr // ScanProvisionedProducts API operation for AWS Service Catalog. // -// Returns a paginated list of all the ProvisionedProduct objects that are currently -// available (not terminated). +// Lists the provisioned products that are available (not terminated). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4155,9 +4161,9 @@ func (c *ServiceCatalog) ScanProvisionedProductsRequest(input *ScanProvisionedPr // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProducts +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProducts func (c *ServiceCatalog) ScanProvisionedProducts(input *ScanProvisionedProductsInput) (*ScanProvisionedProductsOutput, error) { req, out := c.ScanProvisionedProductsRequest(input) return out, req.Send() @@ -4204,7 +4210,7 @@ const opSearchProducts = "SearchProducts" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProducts +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProducts func (c *ServiceCatalog) SearchProductsRequest(input *SearchProductsInput) (req *request.Request, output *SearchProductsOutput) { op := &request.Operation{ Name: opSearchProducts, @@ -4229,11 +4235,7 @@ func (c *ServiceCatalog) SearchProductsRequest(input *SearchProductsInput) (req // SearchProducts API operation for AWS Service Catalog. // -// Returns a paginated list all of the Products objects to which the caller -// has access. -// -// The output of this operation can be used as input for other operations, such -// as DescribeProductView. +// Gets information about the products to which the caller has access. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4244,9 +4246,9 @@ func (c *ServiceCatalog) SearchProductsRequest(input *SearchProductsInput) (req // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProducts +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProducts func (c *ServiceCatalog) SearchProducts(input *SearchProductsInput) (*SearchProductsOutput, error) { req, out := c.SearchProductsRequest(input) return out, req.Send() @@ -4343,7 +4345,7 @@ const opSearchProductsAsAdmin = "SearchProductsAsAdmin" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdmin +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdmin func (c *ServiceCatalog) SearchProductsAsAdminRequest(input *SearchProductsAsAdminInput) (req *request.Request, output *SearchProductsAsAdminOutput) { op := &request.Operation{ Name: opSearchProductsAsAdmin, @@ -4368,10 +4370,7 @@ func (c *ServiceCatalog) SearchProductsAsAdminRequest(input *SearchProductsAsAdm // SearchProductsAsAdmin API operation for AWS Service Catalog. // -// Retrieves summary and status information about all products created within -// the caller's account. If a portfolio ID is provided, this operation retrieves -// information for only those products that are associated with the specified -// portfolio. +// Gets information about the products for the specified portfolio or all products. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4385,9 +4384,9 @@ func (c *ServiceCatalog) SearchProductsAsAdminRequest(input *SearchProductsAsAdm // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdmin +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdmin func (c *ServiceCatalog) SearchProductsAsAdmin(input *SearchProductsAsAdminInput) (*SearchProductsAsAdminOutput, error) { req, out := c.SearchProductsAsAdminRequest(input) return out, req.Send() @@ -4484,7 +4483,7 @@ const opTerminateProvisionedProduct = "TerminateProvisionedProduct" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProduct func (c *ServiceCatalog) TerminateProvisionedProductRequest(input *TerminateProvisionedProductInput) (req *request.Request, output *TerminateProvisionedProductOutput) { op := &request.Operation{ Name: opTerminateProvisionedProduct, @@ -4503,14 +4502,12 @@ func (c *ServiceCatalog) TerminateProvisionedProductRequest(input *TerminateProv // TerminateProvisionedProduct API operation for AWS Service Catalog. // -// Requests termination of an existing ProvisionedProduct object. If there are -// Tags associated with the object, they are terminated when the ProvisionedProduct -// object is terminated. +// Terminates the specified provisioned product. // -// This operation does not delete any records associated with the ProvisionedProduct -// object. +// This operation does not delete any records associated with the provisioned +// product. // -// You can check the status of this request using the DescribeRecord operation. +// You can check the status of this request using DescribeRecord. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4523,7 +4520,7 @@ func (c *ServiceCatalog) TerminateProvisionedProductRequest(input *TerminateProv // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProduct func (c *ServiceCatalog) TerminateProvisionedProduct(input *TerminateProvisionedProductInput) (*TerminateProvisionedProductOutput, error) { req, out := c.TerminateProvisionedProductRequest(input) return out, req.Send() @@ -4570,7 +4567,7 @@ const opUpdateConstraint = "UpdateConstraint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraint +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraint func (c *ServiceCatalog) UpdateConstraintRequest(input *UpdateConstraintInput) (req *request.Request, output *UpdateConstraintOutput) { op := &request.Operation{ Name: opUpdateConstraint, @@ -4589,7 +4586,7 @@ func (c *ServiceCatalog) UpdateConstraintRequest(input *UpdateConstraintInput) ( // UpdateConstraint API operation for AWS Service Catalog. // -// Updates an existing constraint. +// Updates the specified constraint. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4603,9 +4600,9 @@ func (c *ServiceCatalog) UpdateConstraintRequest(input *UpdateConstraintInput) ( // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraint +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraint func (c *ServiceCatalog) UpdateConstraint(input *UpdateConstraintInput) (*UpdateConstraintOutput, error) { req, out := c.UpdateConstraintRequest(input) return out, req.Send() @@ -4652,7 +4649,7 @@ const opUpdatePortfolio = "UpdatePortfolio" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolio func (c *ServiceCatalog) UpdatePortfolioRequest(input *UpdatePortfolioInput) (req *request.Request, output *UpdatePortfolioOutput) { op := &request.Operation{ Name: opUpdatePortfolio, @@ -4671,8 +4668,9 @@ func (c *ServiceCatalog) UpdatePortfolioRequest(input *UpdatePortfolioInput) (re // UpdatePortfolio API operation for AWS Service Catalog. // -// Updates the specified portfolio's details. This operation does not work with -// a product that has been shared with you. +// Updates the specified portfolio. +// +// You cannot update a product that was shared with you. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4683,21 +4681,22 @@ func (c *ServiceCatalog) UpdatePortfolioRequest(input *UpdatePortfolioInput) (re // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // // * ErrCodeLimitExceededException "LimitExceededException" // The current limits of the service would have been exceeded by this operation. -// Reduce the resource use or increase the service limits and retry the operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // // * ErrCodeTagOptionNotMigratedException "TagOptionNotMigratedException" // An operation requiring TagOptions failed because the TagOptions migration // process has not been performed for this account. Please use the AWS console // to perform the migration process before retrying the operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolio +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolio func (c *ServiceCatalog) UpdatePortfolio(input *UpdatePortfolioInput) (*UpdatePortfolioOutput, error) { req, out := c.UpdatePortfolioRequest(input) return out, req.Send() @@ -4744,7 +4743,7 @@ const opUpdateProduct = "UpdateProduct" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProduct func (c *ServiceCatalog) UpdateProductRequest(input *UpdateProductInput) (req *request.Request, output *UpdateProductOutput) { op := &request.Operation{ Name: opUpdateProduct, @@ -4763,7 +4762,7 @@ func (c *ServiceCatalog) UpdateProductRequest(input *UpdateProductInput) (req *r // UpdateProduct API operation for AWS Service Catalog. // -// Updates an existing product. +// Updates the specified product. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4777,14 +4776,14 @@ func (c *ServiceCatalog) UpdateProductRequest(input *UpdateProductInput) (req *r // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeTagOptionNotMigratedException "TagOptionNotMigratedException" // An operation requiring TagOptions failed because the TagOptions migration // process has not been performed for this account. Please use the AWS console // to perform the migration process before retrying the operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProduct func (c *ServiceCatalog) UpdateProduct(input *UpdateProductInput) (*UpdateProductOutput, error) { req, out := c.UpdateProductRequest(input) return out, req.Send() @@ -4831,7 +4830,7 @@ const opUpdateProvisionedProduct = "UpdateProvisionedProduct" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProduct func (c *ServiceCatalog) UpdateProvisionedProductRequest(input *UpdateProvisionedProductInput) (req *request.Request, output *UpdateProvisionedProductOutput) { op := &request.Operation{ Name: opUpdateProvisionedProduct, @@ -4850,13 +4849,14 @@ func (c *ServiceCatalog) UpdateProvisionedProductRequest(input *UpdateProvisione // UpdateProvisionedProduct API operation for AWS Service Catalog. // -// Requests updates to the configuration of an existing ProvisionedProduct object. -// If there are tags associated with the object, they cannot be updated or added -// with this operation. Depending on the specific updates requested, this operation -// may update with no interruption, with some interruption, or replace the ProvisionedProduct -// object entirely. +// Requests updates to the configuration of the specified provisioned product. // -// You can check the status of this request using the DescribeRecord operation. +// If there are tags associated with the object, they cannot be updated or added. +// Depending on the specific updates requested, this operation can update with +// no interruption, with some interruption, or replace the provisioned product +// entirely. +// +// You can check the status of this request using DescribeRecord. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4867,12 +4867,12 @@ func (c *ServiceCatalog) UpdateProvisionedProductRequest(input *UpdateProvisione // // Returned Error Codes: // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The specified resource was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProduct +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProduct func (c *ServiceCatalog) UpdateProvisionedProduct(input *UpdateProvisionedProductInput) (*UpdateProvisionedProductOutput, error) { req, out := c.UpdateProvisionedProductRequest(input) return out, req.Send() @@ -4919,7 +4919,7 @@ const opUpdateProvisioningArtifact = "UpdateProvisioningArtifact" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifact +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifact func (c *ServiceCatalog) UpdateProvisioningArtifactRequest(input *UpdateProvisioningArtifactInput) (req *request.Request, output *UpdateProvisioningArtifactOutput) { op := &request.Operation{ Name: opUpdateProvisioningArtifact, @@ -4938,9 +4938,11 @@ func (c *ServiceCatalog) UpdateProvisioningArtifactRequest(input *UpdateProvisio // UpdateProvisioningArtifact API operation for AWS Service Catalog. // -// Updates an existing provisioning artifact's information. This operation does -// not work on a provisioning artifact associated with a product that has been -// shared with you. +// Updates the specified provisioning artifact (also known as a version) for +// the specified product. +// +// You cannot update a provisioning artifact for a product that was shared with +// you. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4954,9 +4956,9 @@ func (c *ServiceCatalog) UpdateProvisioningArtifactRequest(input *UpdateProvisio // The specified resource was not found. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifact +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifact func (c *ServiceCatalog) UpdateProvisioningArtifact(input *UpdateProvisioningArtifactInput) (*UpdateProvisioningArtifactOutput, error) { req, out := c.UpdateProvisioningArtifactRequest(input) return out, req.Send() @@ -5003,7 +5005,7 @@ const opUpdateTagOption = "UpdateTagOption" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOption +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOption func (c *ServiceCatalog) UpdateTagOptionRequest(input *UpdateTagOptionInput) (req *request.Request, output *UpdateTagOptionOutput) { op := &request.Operation{ Name: opUpdateTagOption, @@ -5022,7 +5024,7 @@ func (c *ServiceCatalog) UpdateTagOptionRequest(input *UpdateTagOptionInput) (re // UpdateTagOption API operation for AWS Service Catalog. // -// Updates an existing TagOption. +// Updates the specified TagOption. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5044,9 +5046,9 @@ func (c *ServiceCatalog) UpdateTagOptionRequest(input *UpdateTagOptionInput) (re // The specified resource is a duplicate. // // * ErrCodeInvalidParametersException "InvalidParametersException" -// One or more parameters provided to the operation are invalid. +// One or more parameters provided to the operation are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOption +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOption func (c *ServiceCatalog) UpdateTagOption(input *UpdateTagOptionInput) (*UpdateTagOptionOutput, error) { req, out := c.UpdateTagOptionRequest(input) return out, req.Send() @@ -5068,7 +5070,7 @@ func (c *ServiceCatalog) UpdateTagOptionWithContext(ctx aws.Context, input *Upda return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShareInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShareInput type AcceptPortfolioShareInput struct { _ struct{} `type:"structure"` @@ -5125,7 +5127,7 @@ func (s *AcceptPortfolioShareInput) SetPortfolioId(v string) *AcceptPortfolioSha return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShareOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShareOutput type AcceptPortfolioShareOutput struct { _ struct{} `type:"structure"` } @@ -5140,22 +5142,21 @@ func (s AcceptPortfolioShareOutput) GoString() string { return s.String() } -// The access level to limit results. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AccessLevelFilter +// The access level to use to filter results. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AccessLevelFilter type AccessLevelFilter struct { _ struct{} `type:"structure"` - // Specifies the access level. + // The access level. // - // Account allows results at the account level. + // * Account - Filter results based on the account. // - // Role allows results based on the federated role of the specified user. + // * Role - Filter results based on the federated role of the specified user. // - // User allows results limited to the specified user. + // * User - Filter results based on the specified user. Key *string `type:"string" enum:"AccessLevelFilterKey"` - // Specifies the user to which the access level applies. A value of Self is - // currently supported. + // The user to which the access level applies. The only supported value is Self. Value *string `type:"string"` } @@ -5181,7 +5182,7 @@ func (s *AccessLevelFilter) SetValue(v string) *AccessLevelFilter { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolioInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolioInput type AssociatePrincipalWithPortfolioInput struct { _ struct{} `type:"structure"` @@ -5199,12 +5200,12 @@ type AssociatePrincipalWithPortfolioInput struct { // PortfolioId is a required field PortfolioId *string `min:"1" type:"string" required:"true"` - // The ARN representing the principal (IAM user, role, or group). + // The ARN of the principal (IAM user, role, or group). // // PrincipalARN is a required field PrincipalARN *string `min:"1" type:"string" required:"true"` - // The principal type. Must be IAM + // The principal type. The supported value is IAM. // // PrincipalType is a required field PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"` @@ -5269,7 +5270,7 @@ func (s *AssociatePrincipalWithPortfolioInput) SetPrincipalType(v string) *Assoc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolioOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolioOutput type AssociatePrincipalWithPortfolioOutput struct { _ struct{} `type:"structure"` } @@ -5284,7 +5285,7 @@ func (s AssociatePrincipalWithPortfolioOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolioInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolioInput type AssociateProductWithPortfolioInput struct { _ struct{} `type:"structure"` @@ -5307,7 +5308,7 @@ type AssociateProductWithPortfolioInput struct { // ProductId is a required field ProductId *string `min:"1" type:"string" required:"true"` - // The identifier of the source portfolio to use with this association. + // The identifier of the source portfolio. SourcePortfolioId *string `min:"1" type:"string"` } @@ -5370,7 +5371,7 @@ func (s *AssociateProductWithPortfolioInput) SetSourcePortfolioId(v string) *Ass return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolioOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolioOutput type AssociateProductWithPortfolioOutput struct { _ struct{} `type:"structure"` } @@ -5385,7 +5386,7 @@ func (s AssociateProductWithPortfolioOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateTagOptionWithResourceInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateTagOptionWithResourceInput type AssociateTagOptionWithResourceInput struct { _ struct{} `type:"structure"` @@ -5441,7 +5442,7 @@ func (s *AssociateTagOptionWithResourceInput) SetTagOptionId(v string) *Associat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateTagOptionWithResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateTagOptionWithResourceOutput type AssociateTagOptionWithResourceOutput struct { _ struct{} `type:"structure"` } @@ -5456,21 +5457,27 @@ func (s AssociateTagOptionWithResourceOutput) GoString() string { return s.String() } -// Detailed constraint information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ConstraintDetail +// Information about a constraint. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ConstraintDetail type ConstraintDetail struct { _ struct{} `type:"structure"` // The identifier of the constraint. ConstraintId *string `min:"1" type:"string"` - // The text description of the constraint. + // The description of the constraint. Description *string `type:"string"` // The owner of the constraint. Owner *string `type:"string"` - // The type of the constraint. + // The type of constraint. + // + // * LAUNCH + // + // * NOTIFICATION + // + // * TEMPLATE Type *string `min:"1" type:"string"` } @@ -5508,15 +5515,21 @@ func (s *ConstraintDetail) SetType(v string) *ConstraintDetail { return s } -// An administrator-specified constraint to apply when provisioning a product. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ConstraintSummary +// Summary information about a constraint. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ConstraintSummary type ConstraintSummary struct { _ struct{} `type:"structure"` - // The text description of the constraint. + // The description of the constraint. Description *string `type:"string"` - // The type of the constraint. + // The type of constraint. + // + // * LAUNCH + // + // * NOTIFICATION + // + // * TEMPLATE Type *string `min:"1" type:"string"` } @@ -5542,7 +5555,7 @@ func (s *ConstraintSummary) SetType(v string) *ConstraintSummary { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CopyProductInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CopyProductInput type CopyProductInput struct { _ struct{} `type:"structure"` @@ -5559,9 +5572,9 @@ type CopyProductInput struct { // are copied to the target product. CopyOptions []*string `type:"list"` - // A token to disambiguate duplicate requests. You can use the same input in - // multiple requests, provided that you also specify a different idempotency - // token for each request. + // A unique identifier that you provide to ensure idempotency. If multiple requests + // differ only by the idempotency token, the same response is returned for each + // repeated request. // // IdempotencyToken is a required field IdempotencyToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"` @@ -5571,11 +5584,11 @@ type CopyProductInput struct { // SourceProductArn is a required field SourceProductArn *string `min:"1" type:"string" required:"true"` - // The IDs of the product versions to copy. By default, all provisioning artifacts - // are copied. + // The identifiers of the provisioning artifacts (also known as versions) of + // the product to copy. By default, all provisioning artifacts are copied. SourceProvisioningArtifactIdentifiers []map[string]*string `type:"list"` - // The ID of the target product. By default, a new product is created. + // The identifier of the target product. By default, a new product is created. TargetProductId *string `min:"1" type:"string"` // A name for the target product. The default is the name of the source product. @@ -5659,12 +5672,11 @@ func (s *CopyProductInput) SetTargetProductName(v string) *CopyProductInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CopyProductOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CopyProductOutput type CopyProductOutput struct { _ struct{} `type:"structure"` - // A unique token to pass to DescribeCopyProductStatus to track the progress - // of the operation. + // The token to use to track the progress of the operation. CopyProductToken *string `min:"1" type:"string"` } @@ -5684,7 +5696,7 @@ func (s *CopyProductOutput) SetCopyProductToken(v string) *CopyProductOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraintInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraintInput type CreateConstraintInput struct { _ struct{} `type:"structure"` @@ -5697,24 +5709,29 @@ type CreateConstraintInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The text description of the constraint. + // The description of the constraint. Description *string `type:"string"` - // A token to disambiguate duplicate requests. You can use the same input in - // multiple requests, provided that you also specify a different idempotency - // token for each request. + // A unique identifier that you provide to ensure idempotency. If multiple requests + // differ only by the idempotency token, the same response is returned for each + // repeated request. // // IdempotencyToken is a required field IdempotencyToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"` - // The constraint parameters. Expected values vary depending on which Type is - // specified. For more information, see the Examples section. + // The constraint parameters, in JSON format. The syntax depends on the constraint + // type as follows: + // + // LAUNCHSpecify the RoleArn property as follows: // - // For Type LAUNCH, the RoleArn property is required. + // \"RoleArn\" : \"arn:aws:iam::123456789012:role/LaunchRole\" // - // For Type NOTIFICATION, the NotificationArns property is required. + // NOTIFICATIONSpecify the NotificationArns property as follows: // - // For Type TEMPLATE, the Rules property is required. + // \"NotificationArns\" : [\"arn:aws:sns:us-east-1:123456789012:Topic\"] + // + // TEMPLATESpecify the Rules property. For more information, see Template Constraint + // Rules (http://docs.aws.amazon.com/servicecatalog/latest/adminguide/reference-template_constraint_rules.html). // // Parameters is a required field Parameters *string `type:"string" required:"true"` @@ -5729,8 +5746,13 @@ type CreateConstraintInput struct { // ProductId is a required field ProductId *string `min:"1" type:"string" required:"true"` - // The type of the constraint. Case-sensitive valid values are: LAUNCH, NOTIFICATION, - // or TEMPLATE. + // The type of constraint. + // + // * LAUNCH + // + // * NOTIFICATION + // + // * TEMPLATE // // Type is a required field Type *string `min:"1" type:"string" required:"true"` @@ -5825,14 +5847,14 @@ func (s *CreateConstraintInput) SetType(v string) *CreateConstraintInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraintOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraintOutput type CreateConstraintOutput struct { _ struct{} `type:"structure"` - // The resulting detailed constraint information. + // Information about the constraint. ConstraintDetail *ConstraintDetail `type:"structure"` - // The resulting constraint parameters. + // The constraint parameters. ConstraintParameters *string `type:"string"` // The status of the current request. @@ -5867,7 +5889,7 @@ func (s *CreateConstraintOutput) SetStatus(v string) *CreateConstraintOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioInput type CreatePortfolioInput struct { _ struct{} `type:"structure"` @@ -5880,7 +5902,7 @@ type CreatePortfolioInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The text description of the portfolio. + // The description of the portfolio. Description *string `type:"string"` // The name to use for display purposes. @@ -5888,9 +5910,9 @@ type CreatePortfolioInput struct { // DisplayName is a required field DisplayName *string `min:"1" type:"string" required:"true"` - // A token to disambiguate duplicate requests. You can use the same input in - // multiple requests, provided that you also specify a different idempotency - // token for each request. + // A unique identifier that you provide to ensure idempotency. If multiple requests + // differ only by the idempotency token, the same response is returned for each + // repeated request. // // IdempotencyToken is a required field IdempotencyToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"` @@ -5900,7 +5922,7 @@ type CreatePortfolioInput struct { // ProviderName is a required field ProviderName *string `min:"1" type:"string" required:"true"` - // Tags to associate with the new portfolio. + // The tags to associate with the portfolio. Tags []*Tag `type:"list"` } @@ -5988,14 +6010,14 @@ func (s *CreatePortfolioInput) SetTags(v []*Tag) *CreatePortfolioInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioOutput type CreatePortfolioOutput struct { _ struct{} `type:"structure"` - // The resulting detailed portfolio information. + // Information about the portfolio. PortfolioDetail *PortfolioDetail `type:"structure"` - // Tags successfully associated with the new portfolio. + // Information about the tags associated with the portfolio. Tags []*Tag `type:"list"` } @@ -6021,7 +6043,7 @@ func (s *CreatePortfolioOutput) SetTags(v []*Tag) *CreatePortfolioOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShareInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShareInput type CreatePortfolioShareInput struct { _ struct{} `type:"structure"` @@ -6034,7 +6056,7 @@ type CreatePortfolioShareInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The account ID with which to share the portfolio. + // The AWS account ID. // // AccountId is a required field AccountId *string `type:"string" required:"true"` @@ -6092,7 +6114,7 @@ func (s *CreatePortfolioShareInput) SetPortfolioId(v string) *CreatePortfolioSha return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShareOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShareOutput type CreatePortfolioShareOutput struct { _ struct{} `type:"structure"` } @@ -6107,7 +6129,7 @@ func (s CreatePortfolioShareOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProductInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProductInput type CreateProductInput struct { _ struct{} `type:"structure"` @@ -6120,15 +6142,15 @@ type CreateProductInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The text description of the product. + // The description of the product. Description *string `type:"string"` // The distributor of the product. Distributor *string `type:"string"` - // A token to disambiguate duplicate requests. You can use the same input in - // multiple requests, provided that you also specify a different idempotency - // token for each request. + // A unique identifier that you provide to ensure idempotency. If multiple requests + // differ only by the idempotency token, the same response is returned for each + // repeated request. // // IdempotencyToken is a required field IdempotencyToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"` @@ -6143,26 +6165,26 @@ type CreateProductInput struct { // Owner is a required field Owner *string `type:"string" required:"true"` - // The type of the product to create. + // The type of product. // // ProductType is a required field ProductType *string `type:"string" required:"true" enum:"ProductType"` - // Parameters for the provisioning artifact. + // The configuration of the provisioning artifact. // // ProvisioningArtifactParameters is a required field ProvisioningArtifactParameters *ProvisioningArtifactProperties `type:"structure" required:"true"` - // Support information about the product. + // The support information about the product. SupportDescription *string `type:"string"` - // Contact email for product support. + // The contact email for product support. SupportEmail *string `type:"string"` - // Contact URL for product support. + // The contact URL for product support. SupportUrl *string `type:"string"` - // Tags to associate with the new product. + // The tags to associate with the product. Tags []*Tag `type:"list"` } @@ -6291,17 +6313,17 @@ func (s *CreateProductInput) SetTags(v []*Tag) *CreateProductInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProductOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProductOutput type CreateProductOutput struct { _ struct{} `type:"structure"` - // The resulting detailed product view information. + // Information about the product view. ProductViewDetail *ProductViewDetail `type:"structure"` - // The resulting detailed provisioning artifact information. + // Information about the provisioning artifact. ProvisioningArtifactDetail *ProvisioningArtifactDetail `type:"structure"` - // Tags successfully associated with the new product. + // Information about the tags associated with the product. Tags []*Tag `type:"list"` } @@ -6333,7 +6355,7 @@ func (s *CreateProductOutput) SetTags(v []*Tag) *CreateProductOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifactInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifactInput type CreateProvisioningArtifactInput struct { _ struct{} `type:"structure"` @@ -6346,14 +6368,14 @@ type CreateProvisioningArtifactInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // A token to disambiguate duplicate requests. You can use the same input in - // multiple requests, provided that you also specify a different idempotency - // token for each request. + // A unique identifier that you provide to ensure idempotency. If multiple requests + // differ only by the idempotency token, the same response is returned for each + // repeated request. // // IdempotencyToken is a required field IdempotencyToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"` - // The parameters to use when creating the new provisioning artifact. + // The configuration for the provisioning artifact. // // Parameters is a required field Parameters *ProvisioningArtifactProperties `type:"structure" required:"true"` @@ -6428,14 +6450,14 @@ func (s *CreateProvisioningArtifactInput) SetProductId(v string) *CreateProvisio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifactOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifactOutput type CreateProvisioningArtifactOutput struct { _ struct{} `type:"structure"` - // Additional information about the creation request for the provisioning artifact. + // The URL of the CloudFormation template in Amazon S3, in JSON format. Info map[string]*string `min:"1" type:"map"` - // The resulting detailed provisioning artifact information. + // Information about the provisioning artifact. ProvisioningArtifactDetail *ProvisioningArtifactDetail `type:"structure"` // The status of the current request. @@ -6470,7 +6492,7 @@ func (s *CreateProvisioningArtifactOutput) SetStatus(v string) *CreateProvisioni return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOptionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOptionInput type CreateTagOptionInput struct { _ struct{} `type:"structure"` @@ -6529,11 +6551,11 @@ func (s *CreateTagOptionInput) SetValue(v string) *CreateTagOptionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOptionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOptionOutput type CreateTagOptionOutput struct { _ struct{} `type:"structure"` - // The resulting detailed TagOption information. + // Information about the TagOption. TagOptionDetail *TagOptionDetail `type:"structure"` } @@ -6553,7 +6575,7 @@ func (s *CreateTagOptionOutput) SetTagOptionDetail(v *TagOptionDetail) *CreateTa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraintInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraintInput type DeleteConstraintInput struct { _ struct{} `type:"structure"` @@ -6566,7 +6588,7 @@ type DeleteConstraintInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The identifier of the constraint to delete. + // The identifier of the constraint. // // Id is a required field Id *string `min:"1" type:"string" required:"true"` @@ -6610,7 +6632,7 @@ func (s *DeleteConstraintInput) SetId(v string) *DeleteConstraintInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraintOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraintOutput type DeleteConstraintOutput struct { _ struct{} `type:"structure"` } @@ -6625,7 +6647,7 @@ func (s DeleteConstraintOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioInput type DeletePortfolioInput struct { _ struct{} `type:"structure"` @@ -6638,7 +6660,7 @@ type DeletePortfolioInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The identifier of the portfolio for the delete request. + // The portfolio identifier. // // Id is a required field Id *string `min:"1" type:"string" required:"true"` @@ -6682,7 +6704,7 @@ func (s *DeletePortfolioInput) SetId(v string) *DeletePortfolioInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioOutput type DeletePortfolioOutput struct { _ struct{} `type:"structure"` } @@ -6697,7 +6719,7 @@ func (s DeletePortfolioOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShareInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShareInput type DeletePortfolioShareInput struct { _ struct{} `type:"structure"` @@ -6710,7 +6732,7 @@ type DeletePortfolioShareInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The account ID associated with the share to delete. + // The AWS account ID. // // AccountId is a required field AccountId *string `type:"string" required:"true"` @@ -6768,7 +6790,7 @@ func (s *DeletePortfolioShareInput) SetPortfolioId(v string) *DeletePortfolioSha return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShareOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShareOutput type DeletePortfolioShareOutput struct { _ struct{} `type:"structure"` } @@ -6783,7 +6805,7 @@ func (s DeletePortfolioShareOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProductInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProductInput type DeleteProductInput struct { _ struct{} `type:"structure"` @@ -6796,7 +6818,7 @@ type DeleteProductInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The identifier of the product for the delete request. + // The product identifier. // // Id is a required field Id *string `min:"1" type:"string" required:"true"` @@ -6840,7 +6862,7 @@ func (s *DeleteProductInput) SetId(v string) *DeleteProductInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProductOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProductOutput type DeleteProductOutput struct { _ struct{} `type:"structure"` } @@ -6855,7 +6877,7 @@ func (s DeleteProductOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifactInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifactInput type DeleteProvisioningArtifactInput struct { _ struct{} `type:"structure"` @@ -6873,8 +6895,7 @@ type DeleteProvisioningArtifactInput struct { // ProductId is a required field ProductId *string `min:"1" type:"string" required:"true"` - // The identifier of the provisioning artifact for the delete request. This - // is sometimes referred to as the product version. + // The identifier of the provisioning artifact. // // ProvisioningArtifactId is a required field ProvisioningArtifactId *string `min:"1" type:"string" required:"true"` @@ -6930,7 +6951,7 @@ func (s *DeleteProvisioningArtifactInput) SetProvisioningArtifactId(v string) *D return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifactOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifactOutput type DeleteProvisioningArtifactOutput struct { _ struct{} `type:"structure"` } @@ -6945,7 +6966,7 @@ func (s DeleteProvisioningArtifactOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraintInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraintInput type DescribeConstraintInput struct { _ struct{} `type:"structure"` @@ -7002,14 +7023,14 @@ func (s *DescribeConstraintInput) SetId(v string) *DescribeConstraintInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraintOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraintOutput type DescribeConstraintOutput struct { _ struct{} `type:"structure"` - // Detailed constraint information. + // Information about the constraint. ConstraintDetail *ConstraintDetail `type:"structure"` - // The current parameters associated with the specified constraint. + // The constraint parameters. ConstraintParameters *string `type:"string"` // The status of the current request. @@ -7044,7 +7065,7 @@ func (s *DescribeConstraintOutput) SetStatus(v string) *DescribeConstraintOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeCopyProductStatusInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeCopyProductStatusInput type DescribeCopyProductStatusInput struct { _ struct{} `type:"structure"` @@ -7057,7 +7078,7 @@ type DescribeCopyProductStatusInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The token returned from the call to CopyProduct that initiated the operation. + // The token for the copy product operation. This token is returned by CopyProduct. // // CopyProductToken is a required field CopyProductToken *string `min:"1" type:"string" required:"true"` @@ -7101,7 +7122,7 @@ func (s *DescribeCopyProductStatusInput) SetCopyProductToken(v string) *Describe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeCopyProductStatusOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeCopyProductStatusOutput type DescribeCopyProductStatusOutput struct { _ struct{} `type:"structure"` @@ -7111,7 +7132,7 @@ type DescribeCopyProductStatusOutput struct { // The status message. StatusDetail *string `type:"string"` - // The ID of the copied product. + // The identifier of the copied product. TargetProductId *string `min:"1" type:"string"` } @@ -7143,7 +7164,7 @@ func (s *DescribeCopyProductStatusOutput) SetTargetProductId(v string) *Describe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioInput type DescribePortfolioInput struct { _ struct{} `type:"structure"` @@ -7156,7 +7177,7 @@ type DescribePortfolioInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The identifier of the portfolio for which to retrieve information. + // The portfolio identifier. // // Id is a required field Id *string `min:"1" type:"string" required:"true"` @@ -7200,17 +7221,17 @@ func (s *DescribePortfolioInput) SetId(v string) *DescribePortfolioInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioOutput type DescribePortfolioOutput struct { _ struct{} `type:"structure"` - // Detailed portfolio information. + // Information about the portfolio. PortfolioDetail *PortfolioDetail `type:"structure"` - // TagOptions associated with the portfolio. + // Information about the TagOptions associated with the portfolio. TagOptions []*TagOptionDetail `type:"list"` - // Tags associated with the portfolio. + // Information about the tags associated with the portfolio. Tags []*Tag `type:"list"` } @@ -7242,7 +7263,7 @@ func (s *DescribePortfolioOutput) SetTags(v []*Tag) *DescribePortfolioOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdminInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdminInput type DescribeProductAsAdminInput struct { _ struct{} `type:"structure"` @@ -7255,7 +7276,7 @@ type DescribeProductAsAdminInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The identifier of the product for which to retrieve information. + // The product identifier. // // Id is a required field Id *string `min:"1" type:"string" required:"true"` @@ -7299,20 +7320,21 @@ func (s *DescribeProductAsAdminInput) SetId(v string) *DescribeProductAsAdminInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdminOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdminOutput type DescribeProductAsAdminOutput struct { _ struct{} `type:"structure"` - // Detailed product view information. + // Information about the product view. ProductViewDetail *ProductViewDetail `type:"structure"` - // A list of provisioning artifact summaries for the product. + // Information about the provisioning artifacts (also known as versions) for + // the specified product. ProvisioningArtifactSummaries []*ProvisioningArtifactSummary `type:"list"` - // List of TagOptions associated with the product. + // Information about the TagOptions associated with the product. TagOptions []*TagOptionDetail `type:"list"` - // Tags associated with the product. + // Information about the tags associated with the product. Tags []*Tag `type:"list"` } @@ -7350,7 +7372,7 @@ func (s *DescribeProductAsAdminOutput) SetTags(v []*Tag) *DescribeProductAsAdmin return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductInput type DescribeProductInput struct { _ struct{} `type:"structure"` @@ -7363,7 +7385,7 @@ type DescribeProductInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The ProductId of the product to describe. + // The product identifier. // // Id is a required field Id *string `min:"1" type:"string" required:"true"` @@ -7407,15 +7429,14 @@ func (s *DescribeProductInput) SetId(v string) *DescribeProductInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductOutput type DescribeProductOutput struct { _ struct{} `type:"structure"` - // The summary metadata about the specified product. + // Summary information about the product view. ProductViewSummary *ProductViewSummary `type:"structure"` - // A list of provisioning artifact objects for the specified product. The ProvisioningArtifacts - // parameter represent the ways the specified product can be provisioned. + // Information about the provisioning artifacts for the specified product. ProvisioningArtifacts []*ProvisioningArtifact `type:"list"` } @@ -7441,7 +7462,7 @@ func (s *DescribeProductOutput) SetProvisioningArtifacts(v []*ProvisioningArtifa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductViewInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductViewInput type DescribeProductViewInput struct { _ struct{} `type:"structure"` @@ -7454,7 +7475,7 @@ type DescribeProductViewInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The ProductViewId of the product to describe. + // The product view identifier. // // Id is a required field Id *string `min:"1" type:"string" required:"true"` @@ -7498,15 +7519,14 @@ func (s *DescribeProductViewInput) SetId(v string) *DescribeProductViewInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductViewOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductViewOutput type DescribeProductViewOutput struct { _ struct{} `type:"structure"` - // The summary metadata about the specified product. + // Summary information about the product. ProductViewSummary *ProductViewSummary `type:"structure"` - // A list of provisioning artifact objects for the specified product. The ProvisioningArtifacts - // represent the ways in which the specified product can be provisioned. + // Information about the provisioning artifacts for the product. ProvisioningArtifacts []*ProvisioningArtifact `type:"list"` } @@ -7532,7 +7552,7 @@ func (s *DescribeProductViewOutput) SetProvisioningArtifacts(v []*ProvisioningAr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProductInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProductInput type DescribeProvisionedProductInput struct { _ struct{} `type:"structure"` @@ -7589,11 +7609,11 @@ func (s *DescribeProvisionedProductInput) SetId(v string) *DescribeProvisionedPr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProductOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProductOutput type DescribeProvisionedProductOutput struct { _ struct{} `type:"structure"` - // Detailed provisioned product information. + // Information about the provisioned product. ProvisionedProductDetail *ProvisionedProductDetail `type:"structure"` } @@ -7613,7 +7633,7 @@ func (s *DescribeProvisionedProductOutput) SetProvisionedProductDetail(v *Provis return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifactInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifactInput type DescribeProvisioningArtifactInput struct { _ struct{} `type:"structure"` @@ -7631,13 +7651,12 @@ type DescribeProvisioningArtifactInput struct { // ProductId is a required field ProductId *string `min:"1" type:"string" required:"true"` - // The identifier of the provisioning artifact. This is sometimes referred to - // as the product version. + // The identifier of the provisioning artifact. // // ProvisioningArtifactId is a required field ProvisioningArtifactId *string `min:"1" type:"string" required:"true"` - // Enable a verbose level of details for the provisioning artifact. + // Indicates whether a verbose level of detail is enabled. Verbose *bool `type:"boolean"` } @@ -7697,14 +7716,14 @@ func (s *DescribeProvisioningArtifactInput) SetVerbose(v bool) *DescribeProvisio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifactOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifactOutput type DescribeProvisioningArtifactOutput struct { _ struct{} `type:"structure"` - // Additional information about the provisioning artifact. + // The URL of the CloudFormation template in Amazon S3. Info map[string]*string `min:"1" type:"map"` - // Detailed provisioning artifact information. + // Information about the provisioning artifact. ProvisioningArtifactDetail *ProvisioningArtifactDetail `type:"structure"` // The status of the current request. @@ -7739,7 +7758,7 @@ func (s *DescribeProvisioningArtifactOutput) SetStatus(v string) *DescribeProvis return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParametersInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParametersInput type DescribeProvisioningParametersInput struct { _ struct{} `type:"structure"` @@ -7752,9 +7771,9 @@ type DescribeProvisioningParametersInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The identifier of the path for this product's provisioning. This value is - // optional if the product has a default path, and is required if there is more - // than one path for the specified product. + // The path identifier of the product. This value is optional if the product + // has a default path, and required if the product has more than one path. To + // list the paths for a product, use ListLaunchPaths. PathId *string `min:"1" type:"string"` // The product identifier. @@ -7762,8 +7781,7 @@ type DescribeProvisioningParametersInput struct { // ProductId is a required field ProductId *string `min:"1" type:"string" required:"true"` - // The provisioning artifact identifier for this product. This is sometimes - // referred to as the product version. + // The identifier of the provisioning artifact. // // ProvisioningArtifactId is a required field ProvisioningArtifactId *string `min:"1" type:"string" required:"true"` @@ -7828,18 +7846,17 @@ func (s *DescribeProvisioningParametersInput) SetProvisioningArtifactId(v string return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParametersOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParametersOutput type DescribeProvisioningParametersOutput struct { _ struct{} `type:"structure"` - // The list of constraint summaries that apply to provisioning this product. + // Information about the constraints used to provision the product. ConstraintSummaries []*ConstraintSummary `type:"list"` - // The list of parameters used to successfully provision the product. Each parameter - // includes a list of allowable values and additional metadata about each parameter. + // Information about the parameters used to provision the product. ProvisioningArtifactParameters []*ProvisioningArtifactParameter `type:"list"` - // List of TagOptions associated with the provisioned provisioning parameters. + // Information about the TagOptions associated with the resource. TagOptions []*TagOptionSummary `type:"list"` // Any additional metadata specifically related to the provisioning of the product. @@ -7881,7 +7898,7 @@ func (s *DescribeProvisioningParametersOutput) SetUsageInstructions(v []*UsageIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecordInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecordInput type DescribeRecordInput struct { _ struct{} `type:"structure"` @@ -7894,20 +7911,17 @@ type DescribeRecordInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The record identifier of the ProvisionedProduct object for which to retrieve - // output information. This is the RecordDetail.RecordId obtained from the request - // operation's response. + // The record identifier of the provisioned product. This identifier is returned + // by the request operation. // // Id is a required field Id *string `min:"1" type:"string" required:"true"` - // The maximum number of items to return in the results. If more results exist - // than fit in the specified PageSize, the value of NextPageToken in the response - // is non-null. + // The maximum number of items to return with this call. PageSize *int64 `type:"integer"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` } @@ -7961,20 +7975,20 @@ func (s *DescribeRecordInput) SetPageToken(v string) *DescribeRecordInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecordOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecordOutput type DescribeRecordOutput struct { _ struct{} `type:"structure"` - // The page token to use to retrieve the next page of results for this operation. - // If there are no more pages, this value is null. + // The page token to use to retrieve the next set of results. If there are no + // additional results, this value is null. NextPageToken *string `type:"string"` - // Detailed record information for the specified product. + // Information about the product. RecordDetail *RecordDetail `type:"structure"` - // A list of outputs for the specified Product object created as the result - // of a request. For example, a CloudFormation-backed product that creates an - // S3 bucket would have an output for the S3 bucket URL. + // Information about the product created as the result of a request. For example, + // the output for a CloudFormation-backed product that creates an S3 bucket + // would include the S3 bucket URL. RecordOutputs []*RecordOutput `type:"list"` } @@ -8006,11 +8020,11 @@ func (s *DescribeRecordOutput) SetRecordOutputs(v []*RecordOutput) *DescribeReco return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOptionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOptionInput type DescribeTagOptionInput struct { _ struct{} `type:"structure"` - // The identifier of the TagOption. + // The TagOption identifier. // // Id is a required field Id *string `min:"1" type:"string" required:"true"` @@ -8048,11 +8062,11 @@ func (s *DescribeTagOptionInput) SetId(v string) *DescribeTagOptionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOptionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOptionOutput type DescribeTagOptionOutput struct { _ struct{} `type:"structure"` - // The resulting detailed TagOption information. + // Information about the TagOption. TagOptionDetail *TagOptionDetail `type:"structure"` } @@ -8072,7 +8086,7 @@ func (s *DescribeTagOptionOutput) SetTagOptionDetail(v *TagOptionDetail) *Descri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolioInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolioInput type DisassociatePrincipalFromPortfolioInput struct { _ struct{} `type:"structure"` @@ -8090,7 +8104,7 @@ type DisassociatePrincipalFromPortfolioInput struct { // PortfolioId is a required field PortfolioId *string `min:"1" type:"string" required:"true"` - // The ARN representing the principal (IAM user, role, or group). + // The ARN of the principal (IAM user, role, or group). // // PrincipalARN is a required field PrincipalARN *string `min:"1" type:"string" required:"true"` @@ -8146,7 +8160,7 @@ func (s *DisassociatePrincipalFromPortfolioInput) SetPrincipalARN(v string) *Dis return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolioOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolioOutput type DisassociatePrincipalFromPortfolioOutput struct { _ struct{} `type:"structure"` } @@ -8161,7 +8175,7 @@ func (s DisassociatePrincipalFromPortfolioOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolioInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolioInput type DisassociateProductFromPortfolioInput struct { _ struct{} `type:"structure"` @@ -8235,7 +8249,7 @@ func (s *DisassociateProductFromPortfolioInput) SetProductId(v string) *Disassoc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolioOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolioOutput type DisassociateProductFromPortfolioOutput struct { _ struct{} `type:"structure"` } @@ -8250,16 +8264,16 @@ func (s DisassociateProductFromPortfolioOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateTagOptionFromResourceInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateTagOptionFromResourceInput type DisassociateTagOptionFromResourceInput struct { _ struct{} `type:"structure"` - // Identifier of the resource from which to disassociate the TagOption. + // The resource identifier. // // ResourceId is a required field ResourceId *string `type:"string" required:"true"` - // Identifier of the TagOption to disassociate from the resource. + // The TagOption identifier. // // TagOptionId is a required field TagOptionId *string `min:"1" type:"string" required:"true"` @@ -8306,7 +8320,7 @@ func (s *DisassociateTagOptionFromResourceInput) SetTagOptionId(v string) *Disas return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateTagOptionFromResourceOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateTagOptionFromResourceOutput type DisassociateTagOptionFromResourceOutput struct { _ struct{} `type:"structure"` } @@ -8321,22 +8335,21 @@ func (s DisassociateTagOptionFromResourceOutput) GoString() string { return s.String() } -// Summary information about a path for a user to have access to a specified -// product. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/LaunchPathSummary +// Summary information about a product path for a user. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/LaunchPathSummary type LaunchPathSummary struct { _ struct{} `type:"structure"` - // List of constraints on the portfolio-product relationship. + // The constraints on the portfolio-product relationship. ConstraintSummaries []*ConstraintSummary `type:"list"` - // The unique identifier of the product path. + // The identifier of the product path. Id *string `min:"1" type:"string"` - // Corresponds to the name of the portfolio to which the user was assigned. + // The name of the portfolio to which the user was assigned. Name *string `type:"string"` - // List of tags used by this launch path. + // The tags associated with this product path. Tags []*Tag `type:"list"` } @@ -8374,7 +8387,7 @@ func (s *LaunchPathSummary) SetTags(v []*Tag) *LaunchPathSummary { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioSharesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioSharesInput type ListAcceptedPortfolioSharesInput struct { _ struct{} `type:"structure"` @@ -8387,13 +8400,11 @@ type ListAcceptedPortfolioSharesInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The maximum number of items to return in the results. If more results exist - // than fit in the specified PageSize, the value of NextPageToken in the response - // is non-null. + // The maximum number of items to return with this call. PageSize *int64 `type:"integer"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` } @@ -8425,15 +8436,15 @@ func (s *ListAcceptedPortfolioSharesInput) SetPageToken(v string) *ListAcceptedP return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioSharesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioSharesOutput type ListAcceptedPortfolioSharesOutput struct { _ struct{} `type:"structure"` - // The page token to use to retrieve the next page of results for this operation. - // If there are no more pages, this value is null. + // The page token to use to retrieve the next set of results. If there are no + // additional results, this value is null. NextPageToken *string `type:"string"` - // List of detailed portfolio information objects. + // Information about the portfolios. PortfolioDetails []*PortfolioDetail `type:"list"` } @@ -8459,7 +8470,7 @@ func (s *ListAcceptedPortfolioSharesOutput) SetPortfolioDetails(v []*PortfolioDe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolioInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolioInput type ListConstraintsForPortfolioInput struct { _ struct{} `type:"structure"` @@ -8472,13 +8483,11 @@ type ListConstraintsForPortfolioInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The maximum number of items to return in the results. If more results exist - // than fit in the specified PageSize, the value of NextPageToken in the response - // is non-null. + // The maximum number of items to return with this call. PageSize *int64 `type:"integer"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` // The portfolio identifier. @@ -8549,15 +8558,15 @@ func (s *ListConstraintsForPortfolioInput) SetProductId(v string) *ListConstrain return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolioOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolioOutput type ListConstraintsForPortfolioOutput struct { _ struct{} `type:"structure"` - // List of detailed constraint information objects. + // Information about the constraints. ConstraintDetails []*ConstraintDetail `type:"list"` - // The page token to use to retrieve the next page of results for this operation. - // If there are no more pages, this value is null. + // The page token to use to retrieve the next set of results. If there are no + // additional results, this value is null. NextPageToken *string `type:"string"` } @@ -8583,7 +8592,7 @@ func (s *ListConstraintsForPortfolioOutput) SetNextPageToken(v string) *ListCons return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPathsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPathsInput type ListLaunchPathsInput struct { _ struct{} `type:"structure"` @@ -8596,17 +8605,14 @@ type ListLaunchPathsInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The maximum number of items to return in the results. If more results exist - // than fit in the specified PageSize, the value of NextPageToken in the response - // is non-null. + // The maximum number of items to return with this call. PageSize *int64 `type:"integer"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` - // The product identifier. Identifies the product for which to retrieve LaunchPathSummaries - // information. + // The product identifier. // // ProductId is a required field ProductId *string `min:"1" type:"string" required:"true"` @@ -8662,15 +8668,15 @@ func (s *ListLaunchPathsInput) SetProductId(v string) *ListLaunchPathsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPathsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPathsOutput type ListLaunchPathsOutput struct { _ struct{} `type:"structure"` - // List of launch path information summaries for the specified PageToken. + // Information about the launch path. LaunchPathSummaries []*LaunchPathSummary `type:"list"` - // The page token to use to retrieve the next page of results for this operation. - // If there are no more pages, this value is null. + // The page token to use to retrieve the next set of results. If there are no + // additional results, this value is null. NextPageToken *string `type:"string"` } @@ -8696,7 +8702,7 @@ func (s *ListLaunchPathsOutput) SetNextPageToken(v string) *ListLaunchPathsOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccessInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccessInput type ListPortfolioAccessInput struct { _ struct{} `type:"structure"` @@ -8753,15 +8759,15 @@ func (s *ListPortfolioAccessInput) SetPortfolioId(v string) *ListPortfolioAccess return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccessOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccessOutput type ListPortfolioAccessOutput struct { _ struct{} `type:"structure"` - // List of account IDs associated with access to the portfolio. + // Information about the AWS accounts with access to the portfolio. AccountIds []*string `type:"list"` - // The page token to use to retrieve the next page of results for this operation. - // If there are no more pages, this value is null. + // The page token to use to retrieve the next set of results. If there are no + // additional results, this value is null. NextPageToken *string `type:"string"` } @@ -8787,7 +8793,7 @@ func (s *ListPortfolioAccessOutput) SetNextPageToken(v string) *ListPortfolioAcc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProductInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProductInput type ListPortfoliosForProductInput struct { _ struct{} `type:"structure"` @@ -8800,13 +8806,11 @@ type ListPortfoliosForProductInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The maximum number of items to return in the results. If more results exist - // than fit in the specified PageSize, the value of NextPageToken in the response - // is non-null. + // The maximum number of items to return with this call. PageSize *int64 `type:"integer"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` // The product identifier. @@ -8865,15 +8869,15 @@ func (s *ListPortfoliosForProductInput) SetProductId(v string) *ListPortfoliosFo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProductOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProductOutput type ListPortfoliosForProductOutput struct { _ struct{} `type:"structure"` - // The page token to use to retrieve the next page of results for this operation. - // If there are no more pages, this value is null. + // The page token to use to retrieve the next set of results. If there are no + // additional results, this value is null. NextPageToken *string `type:"string"` - // List of detailed portfolio information objects. + // Information about the portfolios. PortfolioDetails []*PortfolioDetail `type:"list"` } @@ -8899,7 +8903,7 @@ func (s *ListPortfoliosForProductOutput) SetPortfolioDetails(v []*PortfolioDetai return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosInput type ListPortfoliosInput struct { _ struct{} `type:"structure"` @@ -8912,13 +8916,11 @@ type ListPortfoliosInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The maximum number of items to return in the results. If more results exist - // than fit in the specified PageSize, the value of NextPageToken in the response - // is non-null. + // The maximum number of items to return with this call. PageSize *int64 `type:"integer"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` } @@ -8950,15 +8952,15 @@ func (s *ListPortfoliosInput) SetPageToken(v string) *ListPortfoliosInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosOutput type ListPortfoliosOutput struct { _ struct{} `type:"structure"` - // The page token to use to retrieve the next page of results for this operation. - // If there are no more pages, this value is null. + // The page token to use to retrieve the next set of results. If there are no + // additional results, this value is null. NextPageToken *string `type:"string"` - // List of detailed portfolio information objects. + // Information about the portfolios. PortfolioDetails []*PortfolioDetail `type:"list"` } @@ -8984,7 +8986,7 @@ func (s *ListPortfoliosOutput) SetPortfolioDetails(v []*PortfolioDetail) *ListPo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolioInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolioInput type ListPrincipalsForPortfolioInput struct { _ struct{} `type:"structure"` @@ -8997,13 +8999,11 @@ type ListPrincipalsForPortfolioInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The maximum number of items to return in the results. If more results exist - // than fit in the specified PageSize, the value of NextPageToken in the response - // is non-null. + // The maximum number of items to return with this call. PageSize *int64 `type:"integer"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` // The portfolio identifier. @@ -9062,12 +9062,12 @@ func (s *ListPrincipalsForPortfolioInput) SetPortfolioId(v string) *ListPrincipa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolioOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolioOutput type ListPrincipalsForPortfolioOutput struct { _ struct{} `type:"structure"` - // The page token to use to retrieve the next page of results for this operation. - // If there are no more pages, this value is null. + // The page token to use to retrieve the next set of results. If there are no + // additional results, this value is null. NextPageToken *string `type:"string"` // The IAM principals (users or roles) associated with the portfolio. @@ -9096,7 +9096,7 @@ func (s *ListPrincipalsForPortfolioOutput) SetPrincipals(v []*Principal) *ListPr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifactsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifactsInput type ListProvisioningArtifactsInput struct { _ struct{} `type:"structure"` @@ -9153,15 +9153,15 @@ func (s *ListProvisioningArtifactsInput) SetProductId(v string) *ListProvisionin return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifactsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifactsOutput type ListProvisioningArtifactsOutput struct { _ struct{} `type:"structure"` - // The page token to use to retrieve the next page of results for this operation. - // If there are no more pages, this value is null. + // The page token to use to retrieve the next set of results. If there are no + // additional results, this value is null. NextPageToken *string `type:"string"` - // List of detailed provisioning artifact information objects. + // Information about the provisioning artifacts. ProvisioningArtifactDetails []*ProvisioningArtifactDetail `type:"list"` } @@ -9187,7 +9187,7 @@ func (s *ListProvisioningArtifactsOutput) SetProvisioningArtifactDetails(v []*Pr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistoryInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistoryInput type ListRecordHistoryInput struct { _ struct{} `type:"structure"` @@ -9200,20 +9200,17 @@ type ListRecordHistoryInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The access level for obtaining results. If left unspecified, User level access - // is used. + // The access level to use to obtain results. The default is User. AccessLevelFilter *AccessLevelFilter `type:"structure"` - // The maximum number of items to return in the results. If more results exist - // than fit in the specified PageSize, the value of NextPageToken in the response - // is non-null. + // The maximum number of items to return with this call. PageSize *int64 `type:"integer"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` - // The filter to limit search results. + // The search filter to scope the results. SearchFilter *ListRecordHistorySearchFilter `type:"structure"` } @@ -9257,15 +9254,15 @@ func (s *ListRecordHistoryInput) SetSearchFilter(v *ListRecordHistorySearchFilte return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistoryOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistoryOutput type ListRecordHistoryOutput struct { _ struct{} `type:"structure"` - // The page token to use to retrieve the next page of results for this operation. - // If there are no more pages, this value is null. + // The page token to use to retrieve the next set of results. If there are no + // additional results, this value is null. NextPageToken *string `type:"string"` - // A list of record detail objects, listed in reverse chronological order. + // The records, in reverse chronological order. RecordDetails []*RecordDetail `type:"list"` } @@ -9291,15 +9288,20 @@ func (s *ListRecordHistoryOutput) SetRecordDetails(v []*RecordDetail) *ListRecor return s } -// The search filter to limit results when listing request history records. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistorySearchFilter +// The search filter to use when listing history records. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistorySearchFilter type ListRecordHistorySearchFilter struct { _ struct{} `type:"structure"` // The filter key. + // + // * product - Filter results based on the specified product identifier. + // + // * provisionedproduct - Filter results based on the provisioned product + // identifier. Key *string `type:"string"` - // The filter value for Key. + // The filter value. Value *string `type:"string"` } @@ -9325,23 +9327,25 @@ func (s *ListRecordHistorySearchFilter) SetValue(v string) *ListRecordHistorySea return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListResourcesForTagOptionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListResourcesForTagOptionInput type ListResourcesForTagOptionInput struct { _ struct{} `type:"structure"` - // The maximum number of items to return in the results. If more results exist - // than fit in the specified PageSize, the value of NextPageToken in the response - // is non-null. + // The maximum number of items to return with this call. PageSize *int64 `type:"integer"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` - // Resource type. + // The resource type. + // + // * Portfolio + // + // * Product ResourceType *string `type:"string"` - // Identifier of the TagOption. + // The TagOption identifier. // // TagOptionId is a required field TagOptionId *string `min:"1" type:"string" required:"true"` @@ -9397,15 +9401,15 @@ func (s *ListResourcesForTagOptionInput) SetTagOptionId(v string) *ListResources return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListResourcesForTagOptionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListResourcesForTagOptionOutput type ListResourcesForTagOptionOutput struct { _ struct{} `type:"structure"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` - // The resulting detailed resource information. + // Information about the resources. ResourceDetails []*ResourceDetail `type:"list"` } @@ -9431,18 +9435,18 @@ func (s *ListResourcesForTagOptionOutput) SetResourceDetails(v []*ResourceDetail return s } -// The ListTagOptions filters. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptionsFilters +// Filters to use when listing TagOptions. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptionsFilters type ListTagOptionsFilters struct { _ struct{} `type:"structure"` - // The ListTagOptionsFilters active state. + // The active state. Active *bool `type:"boolean"` - // The ListTagOptionsFilters key. + // The TagOption key. Key *string `min:"1" type:"string"` - // The ListTagOptionsFilters value. + // The TagOption value. Value *string `min:"1" type:"string"` } @@ -9490,21 +9494,19 @@ func (s *ListTagOptionsFilters) SetValue(v string) *ListTagOptionsFilters { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptionsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptionsInput type ListTagOptionsInput struct { _ struct{} `type:"structure"` - // The list of filters with which to limit search results. If no search filters - // are specified, the output is all TagOptions. + // The search filters. If no search filters are specified, the output includes + // all TagOptions. Filters *ListTagOptionsFilters `type:"structure"` - // The maximum number of items to return in the results. If more results exist - // than fit in the specified PageSize, the value of NextPageToken in the response - // is non-null. + // The maximum number of items to return with this call. PageSize *int64 `type:"integer"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` } @@ -9551,15 +9553,15 @@ func (s *ListTagOptionsInput) SetPageToken(v string) *ListTagOptionsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptionsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptionsOutput type ListTagOptionsOutput struct { _ struct{} `type:"structure"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` - // The resulting detailed TagOption information. + // Information about the TagOptions. TagOptionDetails []*TagOptionDetail `type:"list"` } @@ -9586,7 +9588,7 @@ func (s *ListTagOptionsOutput) SetTagOptionDetails(v []*TagOptionDetail) *ListTa } // The constraints that the administrator has put on the parameter. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ParameterConstraints +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ParameterConstraints type ParameterConstraints struct { _ struct{} `type:"structure"` @@ -9610,8 +9612,8 @@ func (s *ParameterConstraints) SetAllowedValues(v []*string) *ParameterConstrain return s } -// Detailed portfolio information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/PortfolioDetail +// Information about a portfolio. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/PortfolioDetail type PortfolioDetail struct { _ struct{} `type:"structure"` @@ -9621,13 +9623,13 @@ type PortfolioDetail struct { // The UTC timestamp of the creation time. CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"` - // The text description of the portfolio. + // The description of the portfolio. Description *string `type:"string"` // The name to use for display purposes. DisplayName *string `min:"1" type:"string"` - // The identifier for the portfolio. + // The portfolio identifier. Id *string `min:"1" type:"string"` // The name of the portfolio provider. @@ -9680,15 +9682,15 @@ func (s *PortfolioDetail) SetProviderName(v string) *PortfolioDetail { return s } -// A principal's ARN and type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/Principal +// Information about a principal. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/Principal type Principal struct { _ struct{} `type:"structure"` - // The ARN representing the principal (IAM user, role, or group). + // The ARN of the principal (IAM user, role, or group). PrincipalARN *string `min:"1" type:"string"` - // The principal type. Must be IAM + // The principal type. The supported value is IAM. PrincipalType *string `type:"string" enum:"PrincipalType"` } @@ -9716,7 +9718,7 @@ func (s *Principal) SetPrincipalType(v string) *Principal { // A single product view aggregation value/count pair, containing metadata about // each product to which the calling user has access. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProductViewAggregationValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProductViewAggregationValue type ProductViewAggregationValue struct { _ struct{} `type:"structure"` @@ -9749,27 +9751,28 @@ func (s *ProductViewAggregationValue) SetValue(v string) *ProductViewAggregation return s } -// Detailed product view information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProductViewDetail +// Information about a product view. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProductViewDetail type ProductViewDetail struct { _ struct{} `type:"structure"` // The UTC timestamp of the creation time. CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"` - // The ARN associated with the product. + // The ARN of the product. ProductARN *string `min:"1" type:"string"` - // The summary metadata about the specified product view. + // Summary information about the product view. ProductViewSummary *ProductViewSummary `type:"structure"` - // Current status of the product. + // The status of the product. // - // AVAILABLE - Product is available for use. + // * AVAILABLE - The product is ready for use. // - // CREATING - Creation of product started, not ready for use. + // * CREATING - Product creation has started; the product is not ready for + // use. // - // FAILED - Action on product failed. + // * FAILED - An action failed. Status *string `type:"string" enum:"Status"` } @@ -9807,8 +9810,8 @@ func (s *ProductViewDetail) SetStatus(v string) *ProductViewDetail { return s } -// The summary metadata about the specified product. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProductViewSummary +// Summary information about a product view. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProductViewSummary type ProductViewSummary struct { _ struct{} `type:"structure"` @@ -9816,11 +9819,10 @@ type ProductViewSummary struct { // significance of this value. Distributor *string `type:"string"` - // A value of false indicates that the product does not have a default path, - // while a value of true indicates that it does. If it's false, call ListLaunchPaths - // to disambiguate between paths. If true, ListLaunchPaths is not required, - // and the output of the ProductViewSummary operation can be used directly with - // DescribeProvisioningParameters. + // Indicates whether the product has a default path. If the product does not + // have a default path, call ListLaunchPaths to disambiguate between paths. + // Otherwise, ListLaunchPaths is not required, and the output of ProductViewSummary + // can be used directly with DescribeProvisioningParameters. HasDefaultPath *bool `type:"boolean"` // The product view identifier. @@ -9930,7 +9932,7 @@ func (s *ProductViewSummary) SetType(v string) *ProductViewSummary { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProductInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProductInput type ProvisionProductInput struct { _ struct{} `type:"structure"` @@ -9947,9 +9949,9 @@ type ProvisionProductInput struct { // events. NotificationArns []*string `type:"list"` - // The identifier of the path for this product's provisioning. This value is - // optional if the product has a default path, and is required if there is more - // than one path for the specified product. + // The path identifier of the product. This value is optional if the product + // has a default path, and required if the product has more than one path. To + // list the paths for a product, use ListLaunchPaths. PathId *string `min:"1" type:"string"` // The product identifier. @@ -9962,15 +9964,13 @@ type ProvisionProductInput struct { // ProvisionToken is a required field ProvisionToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"` - // A user-friendly name to identify the ProvisionedProduct object. This value - // must be unique for the AWS account and cannot be updated after the product - // is provisioned. + // A user-friendly name for the provisioned product. This value must be unique + // for the AWS account and cannot be updated after the product is provisioned. // // ProvisionedProductName is a required field ProvisionedProductName *string `min:"1" type:"string" required:"true"` - // The provisioning artifact identifier for this product. This is sometimes - // referred to as the product version. + // The identifier of the provisioning artifact. // // ProvisioningArtifactId is a required field ProvisioningArtifactId *string `min:"1" type:"string" required:"true"` @@ -9979,7 +9979,7 @@ type ProvisionProductInput struct { // the product. ProvisioningParameters []*ProvisioningParameter `type:"list"` - // A list of tags to use as provisioning options. + // The tags to use as provisioning options. Tags []*Tag `type:"list"` } @@ -10104,14 +10104,11 @@ func (s *ProvisionProductInput) SetTags(v []*Tag) *ProvisionProductInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProductOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProductOutput type ProvisionProductOutput struct { _ struct{} `type:"structure"` - // The detailed result of the ProvisionProduct request, containing the inputs - // made to that request, the current state of the request, a pointer to the - // ProvisionedProduct object of the request, and a list of any errors that the - // request encountered. + // Information about the result of ProvisionProduct. RecordDetail *RecordDetail `type:"structure"` } @@ -10131,54 +10128,53 @@ func (s *ProvisionProductOutput) SetRecordDetail(v *RecordDetail) *ProvisionProd return s } -// Detailed information about a ProvisionedProduct object. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionedProductDetail +// Information about a provisioned product. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionedProductDetail type ProvisionedProductDetail struct { _ struct{} `type:"structure"` - // The ARN associated with the ProvisionedProduct object. + // The ARN of the provisioned product. Arn *string `min:"1" type:"string"` // The UTC timestamp of the creation time. CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"` - // The identifier of the ProvisionedProduct object. + // The identifier of the provisioned product. Id *string `type:"string"` - // A token to disambiguate duplicate requests. You can use the same input in - // multiple requests, provided that you also specify a different idempotency - // token for each request. + // A unique identifier that you provide to ensure idempotency. If multiple requests + // differ only by the idempotency token, the same response is returned for each + // repeated request. IdempotencyToken *string `min:"1" type:"string"` - // The record identifier of the last request performed on this ProvisionedProduct - // object. + // The record identifier of the last request performed on this provisioned product. LastRecordId *string `type:"string"` - // The user-friendly name of the ProvisionedProduct object. + // The user-friendly name of the provisioned product. Name *string `min:"1" type:"string"` - // The current status of the ProvisionedProduct. + // The current status of the provisioned product. // - // AVAILABLE - Stable state, ready to perform any operation. The most recent - // action request succeeded and completed. + // * AVAILABLE - Stable state, ready to perform any operation. The most recent + // operation succeeded and completed. // - // UNDER_CHANGE - Transitive state, operations performed may or may not have - // valid results. Wait for an AVAILABLE status before performing operations. + // * UNDER_CHANGE - Transitive state, operations performed might not have + // valid results. Wait for an AVAILABLE status before performing operations. // - // TAINTED - Stable state, ready to perform any operation. The stack has completed - // the requested operation but is not exactly what was requested. For example, - // a request to update to a new version failed and the stack rolled back to - // the current version. + // * TAINTED - Stable state, ready to perform any operation. The stack has + // completed the requested operation but is not exactly what was requested. + // For example, a request to update to a new version failed and the stack + // rolled back to the current version. // - // ERROR - Something unexpected happened such that the provisioned product exists - // but the stack is not running. For example, CloudFormation received an invalid - // parameter value and could not launch the stack. + // * ERROR - An unexpected error occurred, the provisioned product exists + // but the stack is not running. For example, CloudFormation received a parameter + // value that was not valid and could not launch the stack. Status *string `type:"string" enum:"ProvisionedProductStatus"` - // The current status message of the ProvisionedProduct. + // The current status message of the provisioned product. StatusMessage *string `type:"string"` - // The type of the ProvisionedProduct object. + // The type of provisioned product. The supported value is CFN_STACK. Type *string `type:"string"` } @@ -10246,22 +10242,22 @@ func (s *ProvisionedProductDetail) SetType(v string) *ProvisionedProductDetail { return s } -// Contains information indicating the ways in which a product can be provisioned. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifact +// Information about a provisioning artifact. A provisioning artifact is also +// known as a product version. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifact type ProvisioningArtifact struct { _ struct{} `type:"structure"` // The UTC timestamp of the creation time. CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"` - // The text description of the artifact. + // The description of the provisioning artifact. Description *string `type:"string"` - // The identifier for the artifact. This is sometimes referred to as the product - // version. + // The identifier of the provisioning artifact. Id *string `min:"1" type:"string"` - // The name of the artifact. + // The name of the provisioning artifact. Name *string `type:"string"` } @@ -10299,30 +10295,34 @@ func (s *ProvisioningArtifact) SetName(v string) *ProvisioningArtifact { return s } -// Detailed provisioning artifact information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactDetail +// Information about a provisioning artifact (also known as a version) for a +// product. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactDetail type ProvisioningArtifactDetail struct { _ struct{} `type:"structure"` + // Indicates whether the product version is active. + Active *bool `type:"boolean"` + // The UTC timestamp of the creation time. CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"` - // The text description of the provisioning artifact. + // The description of the provisioning artifact. Description *string `type:"string"` - // The identifier of the provisioning artifact. This is sometimes referred to - // as the product version. + // The identifier of the provisioning artifact. Id *string `min:"1" type:"string"` - // The name assigned to the provisioning artifact. + // The name of the provisioning artifact. Name *string `type:"string"` - // The type of the provisioning artifact. The following provisioning artifact - // types are used by AWS Marketplace products: + // The type of provisioning artifact. + // + // * CLOUD_FORMATION_TEMPLATE - AWS CloudFormation template // - // MARKETPLACE_AMI - AMI products. + // * MARKETPLACE_AMI - AWS Marketplace AMI // - // MARKETPLACE_CAR - CAR (Cluster and AWS Resources) products. + // * MARKETPLACE_CAR - AWS Marketplace Clusters and AWS Resources Type *string `type:"string" enum:"ProvisioningArtifactType"` } @@ -10336,6 +10336,12 @@ func (s ProvisioningArtifactDetail) GoString() string { return s.String() } +// SetActive sets the Active field's value. +func (s *ProvisioningArtifactDetail) SetActive(v bool) *ProvisioningArtifactDetail { + s.Active = &v + return s +} + // SetCreatedTime sets the CreatedTime field's value. func (s *ProvisioningArtifactDetail) SetCreatedTime(v time.Time) *ProvisioningArtifactDetail { s.CreatedTime = &v @@ -10366,16 +10372,15 @@ func (s *ProvisioningArtifactDetail) SetType(v string) *ProvisioningArtifactDeta return s } -// A parameter used to successfully provision the product. This value includes -// a list of allowable values and additional metadata. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactParameter +// Information about a parameter used to provision a product. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactParameter type ProvisioningArtifactParameter struct { _ struct{} `type:"structure"` - // The default value for this parameter. + // The default value. DefaultValue *string `type:"string"` - // The text description of the parameter. + // The description of the parameter. Description *string `type:"string"` // If this value is true, the value for this parameter is obfuscated from view @@ -10383,7 +10388,7 @@ type ProvisioningArtifactParameter struct { // information. IsNoEcho *bool `type:"boolean"` - // The list of constraints that the administrator has put on the parameter. + // Constraints that the administrator has put on a parameter. ParameterConstraints *ParameterConstraints `type:"structure"` // The parameter key. @@ -10439,30 +10444,35 @@ func (s *ProvisioningArtifactParameter) SetParameterType(v string) *Provisioning return s } -// Provisioning artifact properties. For example request JSON, see CreateProvisioningArtifact. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactProperties +// Information about a provisioning artifact (also known as a version) for a +// product. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactProperties type ProvisioningArtifactProperties struct { _ struct{} `type:"structure"` - // The text description of the provisioning artifact properties. + // The description of the provisioning artifact, including how it differs from + // the previous provisioning artifact. Description *string `type:"string"` - // Additional information about the provisioning artifact properties. When using - // this element in a request, you must specify LoadTemplateFromURL. For more - // information, see CreateProvisioningArtifact. + // The URL of the CloudFormation template in Amazon S3. Specify the URL in JSON + // format as follows: + // + // "LoadTemplateFromURL": "https://s3.amazonaws.com/cf-templates-ozkq9d3hgiq2-us-east-1/..." // // Info is a required field Info map[string]*string `min:"1" type:"map" required:"true"` - // The name assigned to the provisioning artifact properties. + // The name of the provisioning artifact (for example, v1 v2beta). No spaces + // are allowed. Name *string `type:"string"` - // The type of the provisioning artifact properties. The following provisioning - // artifact property types are used by AWS Marketplace products: + // The type of provisioning artifact. + // + // * CLOUD_FORMATION_TEMPLATE - AWS CloudFormation template // - // MARKETPLACE_AMI - AMI products. + // * MARKETPLACE_AMI - AWS Marketplace AMI // - // MARKETPLACE_CAR - CAR (Cluster and AWS Resources) products. + // * MARKETPLACE_CAR - AWS Marketplace Clusters and AWS Resources Type *string `type:"string" enum:"ProvisioningArtifactType"` } @@ -10516,8 +10526,9 @@ func (s *ProvisioningArtifactProperties) SetType(v string) *ProvisioningArtifact return s } -// Stores summary information about a provisioning artifact. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactSummary +// Summary information about a provisioning artifact (also known as a version) +// for a product. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactSummary type ProvisioningArtifactSummary struct { _ struct{} `type:"structure"` @@ -10533,8 +10544,8 @@ type ProvisioningArtifactSummary struct { // The name of the provisioning artifact. Name *string `type:"string"` - // The provisioning artifact metadata. This data is used with products created - // by AWS Marketplace. + // The metadata for the provisioning artifact. This is used with AWS Marketplace + // products. ProvisioningArtifactMetadata map[string]*string `min:"1" type:"map"` } @@ -10578,16 +10589,15 @@ func (s *ProvisioningArtifactSummary) SetProvisioningArtifactMetadata(v map[stri return s } -// The parameter key-value pairs used to provision a product. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningParameter +// Information about a parameter used to provision a product. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningParameter type ProvisioningParameter struct { _ struct{} `type:"structure"` - // The ProvisioningArtifactParameter.ParameterKey parameter from DescribeProvisioningParameters. + // The parameter key. Key *string `min:"1" type:"string"` - // The value to use for provisioning. Any constraints on this value can be found - // in ProvisioningArtifactParameter for Key. + // The parameter value. Value *string `type:"string"` } @@ -10626,61 +10636,67 @@ func (s *ProvisioningParameter) SetValue(v string) *ProvisioningParameter { return s } -// The full details of a specific ProvisionedProduct object. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordDetail +// Information about a request operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordDetail type RecordDetail struct { _ struct{} `type:"structure"` // The UTC timestamp of the creation time. CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"` - // The identifier of the path for this product's provisioning. + // The path identifier. PathId *string `min:"1" type:"string"` // The product identifier. ProductId *string `min:"1" type:"string"` - // The identifier of the ProvisionedProduct object. + // The identifier of the provisioned product. ProvisionedProductId *string `min:"1" type:"string"` - // The user-friendly name of the ProvisionedProduct object. + // The user-friendly name of the provisioned product. ProvisionedProductName *string `min:"1" type:"string"` - // The type of the ProvisionedProduct object. + // The type of provisioned product. The supported value is CFN_STACK. ProvisionedProductType *string `type:"string"` - // The provisioning artifact identifier for this product. This is sometimes - // referred to as the product version. + // The identifier of the provisioning artifact. ProvisioningArtifactId *string `min:"1" type:"string"` - // A list of errors that occurred while processing the request. + // The errors that occurred while processing the request. RecordErrors []*RecordError `type:"list"` - // The identifier of the ProvisionedProduct object record. + // The identifier of the record. RecordId *string `min:"1" type:"string"` - // List of tags associated with this record. + // The tags associated with this record. RecordTags []*RecordTag `type:"list"` // The record type for this record. + // + // * PROVISION_PRODUCT + // + // * UPDATE_PROVISIONED_PRODUCT + // + // * TERMINATE_PROVISIONED_PRODUCT RecordType *string `type:"string"` - // The status of the ProvisionedProduct object. + // The status of the provisioned product. // - // CREATED - Request created but the operation has not yet started. + // * CREATED - The request was created but the operation has not started. // - // IN_PROGRESS - The requested operation is in-progress. + // * IN_PROGRESS - The requested operation is in progress. // - // IN_PROGRESS_IN_ERROR - The provisioned product is under change but the requested - // operation failed and some remediation is occurring. For example, a rollback. + // * IN_PROGRESS_IN_ERROR - The provisioned product is under change but the + // requested operation failed and some remediation is occurring. For example, + // a rollback. // - // SUCCEEDED - The requested operation has successfully completed. + // * SUCCEEDED - The requested operation has successfully completed. // - // FAILED - The requested operation has completed but has failed. Investigate - // using the error messages returned. + // * FAILED - The requested operation has unsuccessfully completed. Investigate + // using the error messages returned. Status *string `type:"string" enum:"RecordStatus"` - // The time when the record for the ProvisionedProduct object was last updated. + // The time when the record was last updated. UpdatedTime *time.Time `type:"timestamp" timestampFormat:"unix"` } @@ -10773,14 +10789,14 @@ func (s *RecordDetail) SetUpdatedTime(v time.Time) *RecordDetail { } // The error code and description resulting from an operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordError +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordError type RecordError struct { _ struct{} `type:"structure"` // The numeric value of the error. Code *string `type:"string"` - // The text description of the error. + // The description of the error. Description *string `type:"string"` } @@ -10806,14 +10822,14 @@ func (s *RecordError) SetDescription(v string) *RecordError { return s } -// An output for the specified Product object created as the result of a request. -// For example, a CloudFormation-backed product that creates an S3 bucket would -// have an output for the S3 bucket URL. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordOutput +// The output for the product created as the result of a request. For example, +// the output for a CloudFormation-backed product that creates an S3 bucket +// would include the S3 bucket URL. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordOutput type RecordOutput struct { _ struct{} `type:"structure"` - // The text description of the output. + // The description of the output. Description *string `type:"string"` // The output key. @@ -10852,7 +10868,7 @@ func (s *RecordOutput) SetOutputValue(v string) *RecordOutput { } // A tag associated with the record, stored as a key-value pair. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordTag +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordTag type RecordTag struct { _ struct{} `type:"structure"` @@ -10885,7 +10901,7 @@ func (s *RecordTag) SetValue(v string) *RecordTag { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShareInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShareInput type RejectPortfolioShareInput struct { _ struct{} `type:"structure"` @@ -10942,7 +10958,7 @@ func (s *RejectPortfolioShareInput) SetPortfolioId(v string) *RejectPortfolioSha return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShareOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShareOutput type RejectPortfolioShareOutput struct { _ struct{} `type:"structure"` } @@ -10957,24 +10973,24 @@ func (s RejectPortfolioShareOutput) GoString() string { return s.String() } -// Detailed resource information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ResourceDetail +// Information about a resource. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ResourceDetail type ResourceDetail struct { _ struct{} `type:"structure"` - // ARN of the resource. + // The ARN of the resource. ARN *string `type:"string"` - // Creation time of the resource. + // The creation time of the resource. CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"` - // Description of the resource. + // The description of the resource. Description *string `type:"string"` - // Identifier of the resource. + // The identifier of the resource. Id *string `type:"string"` - // Name of the resource. + // The name of the resource. Name *string `type:"string"` } @@ -11018,7 +11034,7 @@ func (s *ResourceDetail) SetName(v string) *ResourceDetail { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProductsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProductsInput type ScanProvisionedProductsInput struct { _ struct{} `type:"structure"` @@ -11031,17 +11047,14 @@ type ScanProvisionedProductsInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The access level for obtaining results. If left unspecified, User level access - // is used. + // The access level to use to obtain results. The default is User. AccessLevelFilter *AccessLevelFilter `type:"structure"` - // The maximum number of items to return in the results. If more results exist - // than fit in the specified PageSize, the value of NextPageToken in the response - // is non-null. + // The maximum number of items to return with this call. PageSize *int64 `type:"integer"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` } @@ -11079,15 +11092,15 @@ func (s *ScanProvisionedProductsInput) SetPageToken(v string) *ScanProvisionedPr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProductsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProductsOutput type ScanProvisionedProductsOutput struct { _ struct{} `type:"structure"` - // The page token to use to retrieve the next page of results for this operation. - // If there are no more pages, this value is null. + // The page token to use to retrieve the next set of results. If there are no + // additional results, this value is null. NextPageToken *string `type:"string"` - // A list of ProvisionedProduct detail objects. + // Information about the provisioned products. ProvisionedProducts []*ProvisionedProductDetail `type:"list"` } @@ -11113,7 +11126,7 @@ func (s *ScanProvisionedProductsOutput) SetProvisionedProducts(v []*ProvisionedP return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdminInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdminInput type SearchProductsAsAdminInput struct { _ struct{} `type:"structure"` @@ -11126,18 +11139,15 @@ type SearchProductsAsAdminInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The list of filters with which to limit search results. If no search filters - // are specified, the output is all the products to which the administrator - // has access. + // The search filters. If no search filters are specified, the output includes + // all products to which the administrator has access. Filters map[string][]*string `type:"map"` - // The maximum number of items to return in the results. If more results exist - // than fit in the specified PageSize, the value of NextPageToken in the response - // is non-null. + // The maximum number of items to return with this call. PageSize *int64 `type:"integer"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` // The portfolio identifier. @@ -11146,10 +11156,10 @@ type SearchProductsAsAdminInput struct { // Access level of the source of the product. ProductSource *string `type:"string" enum:"ProductSource"` - // The sort field specifier. If no value is specified, results are not sorted. + // The sort field. If no value is specified, the results are not sorted. SortBy *string `type:"string" enum:"ProductViewSortBy"` - // The sort order specifier. If no value is specified, results are not sorted. + // The sort order. If no value is specified, the results are not sorted. SortOrder *string `type:"string" enum:"SortOrder"` } @@ -11224,15 +11234,15 @@ func (s *SearchProductsAsAdminInput) SetSortOrder(v string) *SearchProductsAsAdm return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdminOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdminOutput type SearchProductsAsAdminOutput struct { _ struct{} `type:"structure"` - // The page token to use to retrieve the next page of results for this operation. - // If there are no more pages, this value is null. + // The page token to use to retrieve the next set of results. If there are no + // additional results, this value is null. NextPageToken *string `type:"string"` - // List of detailed product view information objects. + // Information about the product views. ProductViewDetails []*ProductViewDetail `type:"list"` } @@ -11258,7 +11268,7 @@ func (s *SearchProductsAsAdminOutput) SetProductViewDetails(v []*ProductViewDeta return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsInput type SearchProductsInput struct { _ struct{} `type:"structure"` @@ -11271,24 +11281,21 @@ type SearchProductsInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The list of filters with which to limit search results. If no search filters - // are specified, the output is all the products to which the calling user has - // access. + // The search filters. If no search filters are specified, the output includes + // all products to which the caller has access. Filters map[string][]*string `type:"map"` - // The maximum number of items to return in the results. If more results exist - // than fit in the specified PageSize, the value of NextPageToken in the response - // is non-null. + // The maximum number of items to return with this call. PageSize *int64 `type:"integer"` - // The page token of the first page retrieved. If null, this retrieves the first - // page of size PageSize. + // The page token for the next set of results. To retrieve the first set of + // results, use null. PageToken *string `type:"string"` - // The sort field specifier. If no value is specified, results are not sorted. + // The sort field. If no value is specified, the results are not sorted. SortBy *string `type:"string" enum:"ProductViewSortBy"` - // The sort order specifier. If no value is specified, results are not sorted. + // The sort order. If no value is specified, the results are not sorted. SortOrder *string `type:"string" enum:"SortOrder"` } @@ -11338,18 +11345,18 @@ func (s *SearchProductsInput) SetSortOrder(v string) *SearchProductsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsOutput type SearchProductsOutput struct { _ struct{} `type:"structure"` - // The page token to use to retrieve the next page of results for this operation. - // If there are no more pages, this value is null. + // The page token to use to retrieve the next set of results. If there are no + // additional results, this value is null. NextPageToken *string `type:"string"` - // A list of the product view aggregation value objects. + // The product view aggregations. ProductViewAggregations map[string][]*ProductViewAggregationValue `type:"map"` - // A list of the product view summary objects. + // Information about the product views. ProductViewSummaries []*ProductViewSummary `type:"list"` } @@ -11381,18 +11388,18 @@ func (s *SearchProductsOutput) SetProductViewSummaries(v []*ProductViewSummary) return s } -// Key-value pairs to associate with this provisioning. These tags are entirely -// discretionary and are propagated to the resources created in the provisioning. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/Tag +// Information about a tag. A tag is a key-value pair. Tags are entirely discretionary +// and are propagated to the resources created when provisioning a product. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/Tag type Tag struct { _ struct{} `type:"structure"` - // The ProvisioningArtifactParameter.TagKey parameter from DescribeProvisioningParameters. + // The tag key. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` - // The desired value for this key. + // The value for this key. // // Value is a required field Value *string `min:"1" type:"string" required:"true"` @@ -11442,21 +11449,21 @@ func (s *Tag) SetValue(v string) *Tag { return s } -// The TagOption details. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TagOptionDetail +// Information about a TagOption. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TagOptionDetail type TagOptionDetail struct { _ struct{} `type:"structure"` - // The TagOptionDetail active state. + // The TagOption active state. Active *bool `type:"boolean"` - // The TagOptionDetail identifier. + // The TagOption identifier. Id *string `min:"1" type:"string"` - // The TagOptionDetail key. + // The TagOption key. Key *string `min:"1" type:"string"` - // The TagOptionDetail value. + // The TagOption value. Value *string `min:"1" type:"string"` } @@ -11494,15 +11501,15 @@ func (s *TagOptionDetail) SetValue(v string) *TagOptionDetail { return s } -// The TagOption summary key-value pair. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TagOptionSummary +// Summary information about a TagOption. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TagOptionSummary type TagOptionSummary struct { _ struct{} `type:"structure"` - // The TagOptionSummary key. + // The TagOption key. Key *string `min:"1" type:"string"` - // The TagOptionSummary value. + // The TagOption value. Values []*string `type:"list"` } @@ -11528,7 +11535,7 @@ func (s *TagOptionSummary) SetValues(v []*string) *TagOptionSummary { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProductInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProductInput type TerminateProvisionedProductInput struct { _ struct{} `type:"structure"` @@ -11541,22 +11548,22 @@ type TerminateProvisionedProductInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // If set to true, AWS Service Catalog stops managing the specified ProvisionedProduct - // object even if it cannot delete the underlying resources. + // If set to true, AWS Service Catalog stops managing the specified provisioned + // product even if it cannot delete the underlying resources. IgnoreErrors *bool `type:"boolean"` - // The identifier of the ProvisionedProduct object to terminate. Specify either - // ProvisionedProductName or ProvisionedProductId, but not both. + // The identifier of the provisioned product. You cannot specify both ProvisionedProductName + // and ProvisionedProductId. ProvisionedProductId *string `min:"1" type:"string"` - // The name of the ProvisionedProduct object to terminate. Specify either ProvisionedProductName - // or ProvisionedProductId, but not both. + // The name of the provisioned product. You cannot specify both ProvisionedProductName + // and ProvisionedProductId. ProvisionedProductName *string `min:"1" type:"string"` // An idempotency token that uniquely identifies the termination request. This - // token is only valid during the termination process. After the ProvisionedProduct - // object is terminated, further requests to terminate the same ProvisionedProduct - // object always return ResourceNotFound regardless of the value of TerminateToken. + // token is only valid during the termination process. After the provisioned + // product is terminated, subsequent requests to terminate the same provisioned + // product always return ResourceNotFound. // // TerminateToken is a required field TerminateToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"` @@ -11624,14 +11631,11 @@ func (s *TerminateProvisionedProductInput) SetTerminateToken(v string) *Terminat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProductOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProductOutput type TerminateProvisionedProductOutput struct { _ struct{} `type:"structure"` - // The detailed result of the TerminateProvisionedProduct request, containing - // the inputs made to that request, the current state of the request, a pointer - // to the ProvisionedProduct object that the request is modifying, and a list - // of any errors that the request encountered. + // Information about the result of this request. RecordDetail *RecordDetail `type:"structure"` } @@ -11651,7 +11655,7 @@ func (s *TerminateProvisionedProductOutput) SetRecordDetail(v *RecordDetail) *Te return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraintInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraintInput type UpdateConstraintInput struct { _ struct{} `type:"structure"` @@ -11664,10 +11668,10 @@ type UpdateConstraintInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The updated text description of the constraint. + // The updated description of the constraint. Description *string `type:"string"` - // The identifier of the constraint to update. + // The identifier of the constraint. // // Id is a required field Id *string `min:"1" type:"string" required:"true"` @@ -11717,14 +11721,14 @@ func (s *UpdateConstraintInput) SetId(v string) *UpdateConstraintInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraintOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraintOutput type UpdateConstraintOutput struct { _ struct{} `type:"structure"` - // The resulting detailed constraint information. + // Information about the constraint. ConstraintDetail *ConstraintDetail `type:"structure"` - // The resulting updated constraint parameters. + // The constraint parameters. ConstraintParameters *string `type:"string"` // The status of the current request. @@ -11759,7 +11763,7 @@ func (s *UpdateConstraintOutput) SetStatus(v string) *UpdateConstraintOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioInput type UpdatePortfolioInput struct { _ struct{} `type:"structure"` @@ -11772,16 +11776,16 @@ type UpdatePortfolioInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // Tags to add to the existing list of tags associated with the portfolio. + // The tags to add. AddTags []*Tag `type:"list"` - // The updated text description of the portfolio. + // The updated description of the portfolio. Description *string `type:"string"` // The name to use for display purposes. DisplayName *string `min:"1" type:"string"` - // The identifier of the portfolio for the update request. + // The portfolio identifier. // // Id is a required field Id *string `min:"1" type:"string" required:"true"` @@ -11789,7 +11793,7 @@ type UpdatePortfolioInput struct { // The updated name of the portfolio provider. ProviderName *string `min:"1" type:"string"` - // Tags to remove from the existing list of tags associated with the portfolio. + // The tags to remove. RemoveTags []*string `type:"list"` } @@ -11877,14 +11881,14 @@ func (s *UpdatePortfolioInput) SetRemoveTags(v []*string) *UpdatePortfolioInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioOutput type UpdatePortfolioOutput struct { _ struct{} `type:"structure"` - // The resulting detailed portfolio information. + // Information about the portfolio. PortfolioDetail *PortfolioDetail `type:"structure"` - // Tags associated with the portfolio. + // Information about the tags associated with the portfolio. Tags []*Tag `type:"list"` } @@ -11910,7 +11914,7 @@ func (s *UpdatePortfolioOutput) SetTags(v []*Tag) *UpdatePortfolioOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProductInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProductInput type UpdateProductInput struct { _ struct{} `type:"structure"` @@ -11923,16 +11927,16 @@ type UpdateProductInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // Tags to add to the existing list of tags associated with the product. + // The tags to add to the product. AddTags []*Tag `type:"list"` - // The updated text description of the product. + // The updated description of the product. Description *string `type:"string"` // The updated distributor of the product. Distributor *string `type:"string"` - // The identifier of the product for the update request. + // The product identifier. // // Id is a required field Id *string `min:"1" type:"string" required:"true"` @@ -11943,7 +11947,7 @@ type UpdateProductInput struct { // The updated owner of the product. Owner *string `type:"string"` - // Tags to remove from the existing list of tags associated with the product. + // The tags to remove from the product. RemoveTags []*string `type:"list"` // The updated support description for the product. @@ -12058,14 +12062,14 @@ func (s *UpdateProductInput) SetSupportUrl(v string) *UpdateProductInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProductOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProductOutput type UpdateProductOutput struct { _ struct{} `type:"structure"` - // The resulting detailed product view information. + // Information about the product view. ProductViewDetail *ProductViewDetail `type:"structure"` - // Tags associated with the product. + // Information about the tags associated with the product. Tags []*Tag `type:"list"` } @@ -12091,7 +12095,7 @@ func (s *UpdateProductOutput) SetTags(v []*Tag) *UpdateProductOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProductInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProductInput type UpdateProvisionedProductInput struct { _ struct{} `type:"structure"` @@ -12104,31 +12108,28 @@ type UpdateProvisionedProductInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The identifier of the path to use in the updated ProvisionedProduct object. - // This value is optional if the product has a default path, and is required - // if there is more than one path for the specified product. + // The new path identifier. This value is optional if the product has a default + // path, and required if the product has more than one path. PathId *string `min:"1" type:"string"` - // The identifier of the ProvisionedProduct object. + // The identifier of the provisioned product. ProductId *string `min:"1" type:"string"` - // The identifier of the ProvisionedProduct object to update. Specify either - // ProvisionedProductName or ProvisionedProductId, but not both. + // The identifier of the provisioned product. You cannot specify both ProvisionedProductName + // and ProvisionedProductId. ProvisionedProductId *string `min:"1" type:"string"` - // The updated name of the ProvisionedProduct object. Specify either ProvisionedProductName - // or ProvisionedProductId, but not both. + // The updated name of the provisioned product. You cannot specify both ProvisionedProductName + // and ProvisionedProductId. ProvisionedProductName *string `min:"1" type:"string"` - // The provisioning artifact identifier for this product. This is sometimes - // referred to as the product version. + // The identifier of the provisioning artifact. ProvisioningArtifactId *string `min:"1" type:"string"` - // A list of ProvisioningParameter objects used to update the ProvisionedProduct - // object. + // The new parameters. ProvisioningParameters []*UpdateProvisioningParameter `type:"list"` - // The idempotency token that uniquely identifies the provisioning update request. + // The idempotency token that uniquely identifies the provisioning update rquest. // // UpdateToken is a required field UpdateToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"` @@ -12233,14 +12234,11 @@ func (s *UpdateProvisionedProductInput) SetUpdateToken(v string) *UpdateProvisio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProductOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProductOutput type UpdateProvisionedProductOutput struct { _ struct{} `type:"structure"` - // The detailed result of the UpdateProvisionedProduct request, containing the - // inputs made to that request, the current state of the request, a pointer - // to the ProvisionedProduct object that the request is modifying, and a list - // of any errors that the request encountered. + // Information about the result of the request. RecordDetail *RecordDetail `type:"structure"` } @@ -12260,7 +12258,7 @@ func (s *UpdateProvisionedProductOutput) SetRecordDetail(v *RecordDetail) *Updat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifactInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifactInput type UpdateProvisioningArtifactInput struct { _ struct{} `type:"structure"` @@ -12273,7 +12271,10 @@ type UpdateProvisioningArtifactInput struct { // * zh - Chinese AcceptLanguage *string `type:"string"` - // The updated text description of the provisioning artifact. + // Indicates whether the product version is active. + Active *bool `type:"boolean"` + + // The updated description of the provisioning artifact. Description *string `type:"string"` // The updated name of the provisioning artifact. @@ -12284,8 +12285,7 @@ type UpdateProvisioningArtifactInput struct { // ProductId is a required field ProductId *string `min:"1" type:"string" required:"true"` - // The identifier of the provisioning artifact for the update request. This - // is sometimes referred to as the product version. + // The identifier of the provisioning artifact. // // ProvisioningArtifactId is a required field ProvisioningArtifactId *string `min:"1" type:"string" required:"true"` @@ -12329,6 +12329,12 @@ func (s *UpdateProvisioningArtifactInput) SetAcceptLanguage(v string) *UpdatePro return s } +// SetActive sets the Active field's value. +func (s *UpdateProvisioningArtifactInput) SetActive(v bool) *UpdateProvisioningArtifactInput { + s.Active = &v + return s +} + // SetDescription sets the Description field's value. func (s *UpdateProvisioningArtifactInput) SetDescription(v string) *UpdateProvisioningArtifactInput { s.Description = &v @@ -12353,14 +12359,14 @@ func (s *UpdateProvisioningArtifactInput) SetProvisioningArtifactId(v string) *U return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifactOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifactOutput type UpdateProvisioningArtifactOutput struct { _ struct{} `type:"structure"` - // Additional information about the provisioning artifact update request. + // The URL of the CloudFormation template in Amazon S3. Info map[string]*string `min:"1" type:"map"` - // The resulting detailed provisioning artifact information. + // Information about the provisioning artifact. ProvisioningArtifactDetail *ProvisioningArtifactDetail `type:"structure"` // The status of the current request. @@ -12395,22 +12401,18 @@ func (s *UpdateProvisioningArtifactOutput) SetStatus(v string) *UpdateProvisioni return s } -// The parameter key-value pair used to update a ProvisionedProduct object. -// If UsePreviousValue is set to true, Value is ignored and the value for Key -// is kept as previously set (current value). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningParameter +// The parameter key-value pair used to update a provisioned product. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningParameter type UpdateProvisioningParameter struct { _ struct{} `type:"structure"` - // The ProvisioningArtifactParameter.ParameterKey parameter from DescribeProvisioningParameters. + // The parameter key. Key *string `min:"1" type:"string"` - // If true, uses the currently set value for Key, ignoring UpdateProvisioningParameter.Value. + // If set to true, Value is ignored and the previous parameter value is kept. UsePreviousValue *bool `type:"boolean"` - // The value to use for updating the product provisioning. Any constraints on - // this value can be found in the ProvisioningArtifactParameter parameter for - // Key. + // The parameter value. Value *string `type:"string"` } @@ -12455,14 +12457,14 @@ func (s *UpdateProvisioningParameter) SetValue(v string) *UpdateProvisioningPara return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOptionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOptionInput type UpdateTagOptionInput struct { _ struct{} `type:"structure"` // The updated active state. Active *bool `type:"boolean"` - // The identifier of the constraint to update. + // The TagOption identifier. // // Id is a required field Id *string `min:"1" type:"string" required:"true"` @@ -12518,11 +12520,11 @@ func (s *UpdateTagOptionInput) SetValue(v string) *UpdateTagOptionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOptionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOptionOutput type UpdateTagOptionOutput struct { _ struct{} `type:"structure"` - // The resulting detailed TagOption information. + // Information about the TagOption. TagOptionDetail *TagOptionDetail `type:"structure"` } @@ -12543,7 +12545,7 @@ func (s *UpdateTagOptionOutput) SetTagOptionDetail(v *TagOptionDetail) *UpdateTa } // Additional information provided by the administrator. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UsageInstruction +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UsageInstruction type UsageInstruction struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/doc.go b/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/doc.go index 4301b40580e..9617d193580 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/doc.go @@ -3,20 +3,11 @@ // Package servicecatalog provides the client and types for making API // requests to AWS Service Catalog. // -// Overview -// -// AWS Service Catalog (https://aws.amazon.com/servicecatalog/) allows organizations +// AWS Service Catalog (https://aws.amazon.com/servicecatalog/) enables organizations // to create and manage catalogs of IT services that are approved for use on -// AWS. This documentation provides reference material for the AWS Service Catalog -// end user API. To get the most out of this documentation, be familiar with +// AWS. To get the most out of this documentation, you should be familiar with // the terminology discussed in AWS Service Catalog Concepts (http://docs.aws.amazon.com/servicecatalog/latest/adminguide/what-is_concepts.html). // -// Additional Resources -// -// * AWS Service Catalog Administrator Guide (http://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html) -// -// * AWS Service Catalog User Guide (http://docs.aws.amazon.com/servicecatalog/latest/userguide/introduction.html) -// // See https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10 for more information on this service. // // See servicecatalog package documentation for more information. diff --git a/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/errors.go b/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/errors.go index c7bd5bca1a7..ad78b58b4ba 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/errors.go @@ -13,29 +13,30 @@ const ( // ErrCodeInvalidParametersException for service response error code // "InvalidParametersException". // - // One or more parameters provided to the operation are invalid. + // One or more parameters provided to the operation are not valid. ErrCodeInvalidParametersException = "InvalidParametersException" // ErrCodeInvalidStateException for service response error code // "InvalidStateException". // - // An attempt was made to modify a resource that is in an invalid state. Inspect - // the resource you are using for this operation to ensure that all resource - // states are valid before retrying the operation. + // An attempt was made to modify a resource that is in a state that is not valid. + // Check your resources to ensure that they are in valid states before retrying + // the operation. ErrCodeInvalidStateException = "InvalidStateException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // The current limits of the service would have been exceeded by this operation. - // Reduce the resource use or increase the service limits and retry the operation. + // Decrease your resource use or increase your service limits and retry the + // operation. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeResourceInUseException for service response error code // "ResourceInUseException". // - // The operation was requested against a resource that is currently in use. - // Free the resource from use and retry the operation. + // A resource that is currently in use. Ensure the resource is not in use and + // retry the operation. ErrCodeResourceInUseException = "ResourceInUseException" // ErrCodeResourceNotFoundException for service response error code diff --git a/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/api.go b/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/api.go new file mode 100644 index 00000000000..39f58928cf2 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/api.go @@ -0,0 +1,4745 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package servicediscovery + +import ( + "fmt" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" +) + +const opCreatePrivateDnsNamespace = "CreatePrivateDnsNamespace" + +// CreatePrivateDnsNamespaceRequest generates a "aws/request.Request" representing the +// client's request for the CreatePrivateDnsNamespace operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreatePrivateDnsNamespace for more information on using the CreatePrivateDnsNamespace +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreatePrivateDnsNamespaceRequest method. +// req, resp := client.CreatePrivateDnsNamespaceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePrivateDnsNamespace +func (c *ServiceDiscovery) CreatePrivateDnsNamespaceRequest(input *CreatePrivateDnsNamespaceInput) (req *request.Request, output *CreatePrivateDnsNamespaceOutput) { + op := &request.Operation{ + Name: opCreatePrivateDnsNamespace, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreatePrivateDnsNamespaceInput{} + } + + output = &CreatePrivateDnsNamespaceOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreatePrivateDnsNamespace API operation for Amazon Route 53 Auto Naming. +// +// Creates a private namespace based on DNS, which will be visible only inside +// a specified Amazon VPC. The namespace defines your service naming scheme. +// For example, if you name your namespace example.com and name your service +// backend, the resulting DNS name for the service will be backend.example.com. +// You can associate more than one service with the same namespace. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation CreatePrivateDnsNamespace for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// * ErrCodeNamespaceAlreadyExists "NamespaceAlreadyExists" +// The namespace that you're trying to create already exists. +// +// * ErrCodeResourceLimitExceeded "ResourceLimitExceeded" +// The resource can't be created because you've reached the limit on the number +// of resources. +// +// * ErrCodeDuplicateRequest "DuplicateRequest" +// This request tried to create an object that already exists. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePrivateDnsNamespace +func (c *ServiceDiscovery) CreatePrivateDnsNamespace(input *CreatePrivateDnsNamespaceInput) (*CreatePrivateDnsNamespaceOutput, error) { + req, out := c.CreatePrivateDnsNamespaceRequest(input) + return out, req.Send() +} + +// CreatePrivateDnsNamespaceWithContext is the same as CreatePrivateDnsNamespace with the addition of +// the ability to pass a context and additional request options. +// +// See CreatePrivateDnsNamespace for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) CreatePrivateDnsNamespaceWithContext(ctx aws.Context, input *CreatePrivateDnsNamespaceInput, opts ...request.Option) (*CreatePrivateDnsNamespaceOutput, error) { + req, out := c.CreatePrivateDnsNamespaceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreatePublicDnsNamespace = "CreatePublicDnsNamespace" + +// CreatePublicDnsNamespaceRequest generates a "aws/request.Request" representing the +// client's request for the CreatePublicDnsNamespace operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreatePublicDnsNamespace for more information on using the CreatePublicDnsNamespace +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreatePublicDnsNamespaceRequest method. +// req, resp := client.CreatePublicDnsNamespaceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespace +func (c *ServiceDiscovery) CreatePublicDnsNamespaceRequest(input *CreatePublicDnsNamespaceInput) (req *request.Request, output *CreatePublicDnsNamespaceOutput) { + op := &request.Operation{ + Name: opCreatePublicDnsNamespace, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreatePublicDnsNamespaceInput{} + } + + output = &CreatePublicDnsNamespaceOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreatePublicDnsNamespace API operation for Amazon Route 53 Auto Naming. +// +// Creates a public namespace based on DNS, which will be visible on the internet. +// The namespace defines your service naming scheme. For example, if you name +// your namespace example.com and name your service backend, the resulting DNS +// name for the service will be backend.example.com. You can associate more +// than one service with the same namespace. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation CreatePublicDnsNamespace for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// * ErrCodeNamespaceAlreadyExists "NamespaceAlreadyExists" +// The namespace that you're trying to create already exists. +// +// * ErrCodeResourceLimitExceeded "ResourceLimitExceeded" +// The resource can't be created because you've reached the limit on the number +// of resources. +// +// * ErrCodeDuplicateRequest "DuplicateRequest" +// This request tried to create an object that already exists. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespace +func (c *ServiceDiscovery) CreatePublicDnsNamespace(input *CreatePublicDnsNamespaceInput) (*CreatePublicDnsNamespaceOutput, error) { + req, out := c.CreatePublicDnsNamespaceRequest(input) + return out, req.Send() +} + +// CreatePublicDnsNamespaceWithContext is the same as CreatePublicDnsNamespace with the addition of +// the ability to pass a context and additional request options. +// +// See CreatePublicDnsNamespace for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) CreatePublicDnsNamespaceWithContext(ctx aws.Context, input *CreatePublicDnsNamespaceInput, opts ...request.Option) (*CreatePublicDnsNamespaceOutput, error) { + req, out := c.CreatePublicDnsNamespaceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateService = "CreateService" + +// CreateServiceRequest generates a "aws/request.Request" representing the +// client's request for the CreateService operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateService for more information on using the CreateService +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateServiceRequest method. +// req, resp := client.CreateServiceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateService +func (c *ServiceDiscovery) CreateServiceRequest(input *CreateServiceInput) (req *request.Request, output *CreateServiceOutput) { + op := &request.Operation{ + Name: opCreateService, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateServiceInput{} + } + + output = &CreateServiceOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateService API operation for Amazon Route 53 Auto Naming. +// +// Creates a service, which defines a template for the following entities: +// +// * One to five resource record sets +// +// * Optionally, a health check +// +// After you create the service, you can submit a RegisterInstance request, +// and Amazon Route 53 uses the values in the template to create the specified +// entities. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation CreateService for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// * ErrCodeResourceLimitExceeded "ResourceLimitExceeded" +// The resource can't be created because you've reached the limit on the number +// of resources. +// +// * ErrCodeNamespaceNotFound "NamespaceNotFound" +// No namespace exists with the specified ID. +// +// * ErrCodeServiceAlreadyExists "ServiceAlreadyExists" +// The service can't be created because a service with the same name already +// exists. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateService +func (c *ServiceDiscovery) CreateService(input *CreateServiceInput) (*CreateServiceOutput, error) { + req, out := c.CreateServiceRequest(input) + return out, req.Send() +} + +// CreateServiceWithContext is the same as CreateService with the addition of +// the ability to pass a context and additional request options. +// +// See CreateService for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) CreateServiceWithContext(ctx aws.Context, input *CreateServiceInput, opts ...request.Option) (*CreateServiceOutput, error) { + req, out := c.CreateServiceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteNamespace = "DeleteNamespace" + +// DeleteNamespaceRequest generates a "aws/request.Request" representing the +// client's request for the DeleteNamespace operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteNamespace for more information on using the DeleteNamespace +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteNamespaceRequest method. +// req, resp := client.DeleteNamespaceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespace +func (c *ServiceDiscovery) DeleteNamespaceRequest(input *DeleteNamespaceInput) (req *request.Request, output *DeleteNamespaceOutput) { + op := &request.Operation{ + Name: opDeleteNamespace, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteNamespaceInput{} + } + + output = &DeleteNamespaceOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteNamespace API operation for Amazon Route 53 Auto Naming. +// +// Deletes a namespace from the current account. If the namespace still contains +// one or more services, the request fails. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation DeleteNamespace for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// * ErrCodeNamespaceNotFound "NamespaceNotFound" +// No namespace exists with the specified ID. +// +// * ErrCodeResourceInUse "ResourceInUse" +// The specified resource can't be deleted because it contains other resources. +// For example, you can't delete a service that contains any instances. +// +// * ErrCodeDuplicateRequest "DuplicateRequest" +// This request tried to create an object that already exists. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespace +func (c *ServiceDiscovery) DeleteNamespace(input *DeleteNamespaceInput) (*DeleteNamespaceOutput, error) { + req, out := c.DeleteNamespaceRequest(input) + return out, req.Send() +} + +// DeleteNamespaceWithContext is the same as DeleteNamespace with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteNamespace for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) DeleteNamespaceWithContext(ctx aws.Context, input *DeleteNamespaceInput, opts ...request.Option) (*DeleteNamespaceOutput, error) { + req, out := c.DeleteNamespaceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteService = "DeleteService" + +// DeleteServiceRequest generates a "aws/request.Request" representing the +// client's request for the DeleteService operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteService for more information on using the DeleteService +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteServiceRequest method. +// req, resp := client.DeleteServiceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteService +func (c *ServiceDiscovery) DeleteServiceRequest(input *DeleteServiceInput) (req *request.Request, output *DeleteServiceOutput) { + op := &request.Operation{ + Name: opDeleteService, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteServiceInput{} + } + + output = &DeleteServiceOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteService API operation for Amazon Route 53 Auto Naming. +// +// Deletes a specified service. If the service still contains one or more registered +// instances, the request fails. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation DeleteService for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// * ErrCodeServiceNotFound "ServiceNotFound" +// No service exists with the specified ID. +// +// * ErrCodeResourceInUse "ResourceInUse" +// The specified resource can't be deleted because it contains other resources. +// For example, you can't delete a service that contains any instances. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteService +func (c *ServiceDiscovery) DeleteService(input *DeleteServiceInput) (*DeleteServiceOutput, error) { + req, out := c.DeleteServiceRequest(input) + return out, req.Send() +} + +// DeleteServiceWithContext is the same as DeleteService with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteService for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) DeleteServiceWithContext(ctx aws.Context, input *DeleteServiceInput, opts ...request.Option) (*DeleteServiceOutput, error) { + req, out := c.DeleteServiceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeregisterInstance = "DeregisterInstance" + +// DeregisterInstanceRequest generates a "aws/request.Request" representing the +// client's request for the DeregisterInstance operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeregisterInstance for more information on using the DeregisterInstance +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeregisterInstanceRequest method. +// req, resp := client.DeregisterInstanceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeregisterInstance +func (c *ServiceDiscovery) DeregisterInstanceRequest(input *DeregisterInstanceInput) (req *request.Request, output *DeregisterInstanceOutput) { + op := &request.Operation{ + Name: opDeregisterInstance, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeregisterInstanceInput{} + } + + output = &DeregisterInstanceOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeregisterInstance API operation for Amazon Route 53 Auto Naming. +// +// Deletes the resource record sets and the health check, if any, that Amazon +// Route 53 created for the specified instance. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation DeregisterInstance for usage and error information. +// +// Returned Error Codes: +// * ErrCodeDuplicateRequest "DuplicateRequest" +// This request tried to create an object that already exists. +// +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// * ErrCodeInstanceNotFound "InstanceNotFound" +// No instance exists with the specified ID. +// +// * ErrCodeResourceInUse "ResourceInUse" +// The specified resource can't be deleted because it contains other resources. +// For example, you can't delete a service that contains any instances. +// +// * ErrCodeServiceNotFound "ServiceNotFound" +// No service exists with the specified ID. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeregisterInstance +func (c *ServiceDiscovery) DeregisterInstance(input *DeregisterInstanceInput) (*DeregisterInstanceOutput, error) { + req, out := c.DeregisterInstanceRequest(input) + return out, req.Send() +} + +// DeregisterInstanceWithContext is the same as DeregisterInstance with the addition of +// the ability to pass a context and additional request options. +// +// See DeregisterInstance for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) DeregisterInstanceWithContext(ctx aws.Context, input *DeregisterInstanceInput, opts ...request.Option) (*DeregisterInstanceOutput, error) { + req, out := c.DeregisterInstanceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetInstance = "GetInstance" + +// GetInstanceRequest generates a "aws/request.Request" representing the +// client's request for the GetInstance operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetInstance for more information on using the GetInstance +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetInstanceRequest method. +// req, resp := client.GetInstanceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstance +func (c *ServiceDiscovery) GetInstanceRequest(input *GetInstanceInput) (req *request.Request, output *GetInstanceOutput) { + op := &request.Operation{ + Name: opGetInstance, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetInstanceInput{} + } + + output = &GetInstanceOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetInstance API operation for Amazon Route 53 Auto Naming. +// +// Gets information about a specified instance. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation GetInstance for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInstanceNotFound "InstanceNotFound" +// No instance exists with the specified ID. +// +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// * ErrCodeServiceNotFound "ServiceNotFound" +// No service exists with the specified ID. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstance +func (c *ServiceDiscovery) GetInstance(input *GetInstanceInput) (*GetInstanceOutput, error) { + req, out := c.GetInstanceRequest(input) + return out, req.Send() +} + +// GetInstanceWithContext is the same as GetInstance with the addition of +// the ability to pass a context and additional request options. +// +// See GetInstance for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) GetInstanceWithContext(ctx aws.Context, input *GetInstanceInput, opts ...request.Option) (*GetInstanceOutput, error) { + req, out := c.GetInstanceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetInstancesHealthStatus = "GetInstancesHealthStatus" + +// GetInstancesHealthStatusRequest generates a "aws/request.Request" representing the +// client's request for the GetInstancesHealthStatus operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetInstancesHealthStatus for more information on using the GetInstancesHealthStatus +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetInstancesHealthStatusRequest method. +// req, resp := client.GetInstancesHealthStatusRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstancesHealthStatus +func (c *ServiceDiscovery) GetInstancesHealthStatusRequest(input *GetInstancesHealthStatusInput) (req *request.Request, output *GetInstancesHealthStatusOutput) { + op := &request.Operation{ + Name: opGetInstancesHealthStatus, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetInstancesHealthStatusInput{} + } + + output = &GetInstancesHealthStatusOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetInstancesHealthStatus API operation for Amazon Route 53 Auto Naming. +// +// Gets the current health status (Healthy, Unhealthy, or Unknown) of one or +// more instances that are associated with a specified service. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation GetInstancesHealthStatus for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInstanceNotFound "InstanceNotFound" +// No instance exists with the specified ID. +// +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// * ErrCodeServiceNotFound "ServiceNotFound" +// No service exists with the specified ID. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstancesHealthStatus +func (c *ServiceDiscovery) GetInstancesHealthStatus(input *GetInstancesHealthStatusInput) (*GetInstancesHealthStatusOutput, error) { + req, out := c.GetInstancesHealthStatusRequest(input) + return out, req.Send() +} + +// GetInstancesHealthStatusWithContext is the same as GetInstancesHealthStatus with the addition of +// the ability to pass a context and additional request options. +// +// See GetInstancesHealthStatus for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) GetInstancesHealthStatusWithContext(ctx aws.Context, input *GetInstancesHealthStatusInput, opts ...request.Option) (*GetInstancesHealthStatusOutput, error) { + req, out := c.GetInstancesHealthStatusRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetInstancesHealthStatusPages iterates over the pages of a GetInstancesHealthStatus operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetInstancesHealthStatus method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetInstancesHealthStatus operation. +// pageNum := 0 +// err := client.GetInstancesHealthStatusPages(params, +// func(page *GetInstancesHealthStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *ServiceDiscovery) GetInstancesHealthStatusPages(input *GetInstancesHealthStatusInput, fn func(*GetInstancesHealthStatusOutput, bool) bool) error { + return c.GetInstancesHealthStatusPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetInstancesHealthStatusPagesWithContext same as GetInstancesHealthStatusPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) GetInstancesHealthStatusPagesWithContext(ctx aws.Context, input *GetInstancesHealthStatusInput, fn func(*GetInstancesHealthStatusOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetInstancesHealthStatusInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetInstancesHealthStatusRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetInstancesHealthStatusOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opGetNamespace = "GetNamespace" + +// GetNamespaceRequest generates a "aws/request.Request" representing the +// client's request for the GetNamespace operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetNamespace for more information on using the GetNamespace +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetNamespaceRequest method. +// req, resp := client.GetNamespaceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespace +func (c *ServiceDiscovery) GetNamespaceRequest(input *GetNamespaceInput) (req *request.Request, output *GetNamespaceOutput) { + op := &request.Operation{ + Name: opGetNamespace, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetNamespaceInput{} + } + + output = &GetNamespaceOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetNamespace API operation for Amazon Route 53 Auto Naming. +// +// Gets information about a namespace. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation GetNamespace for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// * ErrCodeNamespaceNotFound "NamespaceNotFound" +// No namespace exists with the specified ID. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespace +func (c *ServiceDiscovery) GetNamespace(input *GetNamespaceInput) (*GetNamespaceOutput, error) { + req, out := c.GetNamespaceRequest(input) + return out, req.Send() +} + +// GetNamespaceWithContext is the same as GetNamespace with the addition of +// the ability to pass a context and additional request options. +// +// See GetNamespace for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) GetNamespaceWithContext(ctx aws.Context, input *GetNamespaceInput, opts ...request.Option) (*GetNamespaceOutput, error) { + req, out := c.GetNamespaceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetOperation = "GetOperation" + +// GetOperationRequest generates a "aws/request.Request" representing the +// client's request for the GetOperation operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetOperation for more information on using the GetOperation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetOperationRequest method. +// req, resp := client.GetOperationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperation +func (c *ServiceDiscovery) GetOperationRequest(input *GetOperationInput) (req *request.Request, output *GetOperationOutput) { + op := &request.Operation{ + Name: opGetOperation, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetOperationInput{} + } + + output = &GetOperationOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetOperation API operation for Amazon Route 53 Auto Naming. +// +// Gets information about any operation that returns an operation ID in the +// response, such as a CreateService request. To get a list of operations that +// match specified criteria, see ListOperations. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation GetOperation for usage and error information. +// +// Returned Error Codes: +// * ErrCodeOperationNotFound "OperationNotFound" +// No operation exists with the specified ID. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperation +func (c *ServiceDiscovery) GetOperation(input *GetOperationInput) (*GetOperationOutput, error) { + req, out := c.GetOperationRequest(input) + return out, req.Send() +} + +// GetOperationWithContext is the same as GetOperation with the addition of +// the ability to pass a context and additional request options. +// +// See GetOperation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) GetOperationWithContext(ctx aws.Context, input *GetOperationInput, opts ...request.Option) (*GetOperationOutput, error) { + req, out := c.GetOperationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetService = "GetService" + +// GetServiceRequest generates a "aws/request.Request" representing the +// client's request for the GetService operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetService for more information on using the GetService +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetServiceRequest method. +// req, resp := client.GetServiceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetService +func (c *ServiceDiscovery) GetServiceRequest(input *GetServiceInput) (req *request.Request, output *GetServiceOutput) { + op := &request.Operation{ + Name: opGetService, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetServiceInput{} + } + + output = &GetServiceOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetService API operation for Amazon Route 53 Auto Naming. +// +// Gets the settings for a specified service. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation GetService for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// * ErrCodeServiceNotFound "ServiceNotFound" +// No service exists with the specified ID. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetService +func (c *ServiceDiscovery) GetService(input *GetServiceInput) (*GetServiceOutput, error) { + req, out := c.GetServiceRequest(input) + return out, req.Send() +} + +// GetServiceWithContext is the same as GetService with the addition of +// the ability to pass a context and additional request options. +// +// See GetService for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) GetServiceWithContext(ctx aws.Context, input *GetServiceInput, opts ...request.Option) (*GetServiceOutput, error) { + req, out := c.GetServiceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListInstances = "ListInstances" + +// ListInstancesRequest generates a "aws/request.Request" representing the +// client's request for the ListInstances operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListInstances for more information on using the ListInstances +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListInstancesRequest method. +// req, resp := client.ListInstancesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstances +func (c *ServiceDiscovery) ListInstancesRequest(input *ListInstancesInput) (req *request.Request, output *ListInstancesOutput) { + op := &request.Operation{ + Name: opListInstances, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListInstancesInput{} + } + + output = &ListInstancesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListInstances API operation for Amazon Route 53 Auto Naming. +// +// Gets summary information about the instances that you created by using a +// specified service. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation ListInstances for usage and error information. +// +// Returned Error Codes: +// * ErrCodeServiceNotFound "ServiceNotFound" +// No service exists with the specified ID. +// +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstances +func (c *ServiceDiscovery) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error) { + req, out := c.ListInstancesRequest(input) + return out, req.Send() +} + +// ListInstancesWithContext is the same as ListInstances with the addition of +// the ability to pass a context and additional request options. +// +// See ListInstances for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) ListInstancesWithContext(ctx aws.Context, input *ListInstancesInput, opts ...request.Option) (*ListInstancesOutput, error) { + req, out := c.ListInstancesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListInstancesPages iterates over the pages of a ListInstances operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListInstances method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListInstances operation. +// pageNum := 0 +// err := client.ListInstancesPages(params, +// func(page *ListInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *ServiceDiscovery) ListInstancesPages(input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool) error { + return c.ListInstancesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListInstancesPagesWithContext same as ListInstancesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) ListInstancesPagesWithContext(ctx aws.Context, input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListInstancesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListInstancesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListInstancesOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListNamespaces = "ListNamespaces" + +// ListNamespacesRequest generates a "aws/request.Request" representing the +// client's request for the ListNamespaces operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListNamespaces for more information on using the ListNamespaces +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListNamespacesRequest method. +// req, resp := client.ListNamespacesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListNamespaces +func (c *ServiceDiscovery) ListNamespacesRequest(input *ListNamespacesInput) (req *request.Request, output *ListNamespacesOutput) { + op := &request.Operation{ + Name: opListNamespaces, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListNamespacesInput{} + } + + output = &ListNamespacesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListNamespaces API operation for Amazon Route 53 Auto Naming. +// +// Gets information about the namespaces that were created by the current AWS +// account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation ListNamespaces for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListNamespaces +func (c *ServiceDiscovery) ListNamespaces(input *ListNamespacesInput) (*ListNamespacesOutput, error) { + req, out := c.ListNamespacesRequest(input) + return out, req.Send() +} + +// ListNamespacesWithContext is the same as ListNamespaces with the addition of +// the ability to pass a context and additional request options. +// +// See ListNamespaces for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) ListNamespacesWithContext(ctx aws.Context, input *ListNamespacesInput, opts ...request.Option) (*ListNamespacesOutput, error) { + req, out := c.ListNamespacesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListNamespacesPages iterates over the pages of a ListNamespaces operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListNamespaces method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListNamespaces operation. +// pageNum := 0 +// err := client.ListNamespacesPages(params, +// func(page *ListNamespacesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *ServiceDiscovery) ListNamespacesPages(input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool) error { + return c.ListNamespacesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListNamespacesPagesWithContext same as ListNamespacesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) ListNamespacesPagesWithContext(ctx aws.Context, input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListNamespacesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListNamespacesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListNamespacesOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListOperations = "ListOperations" + +// ListOperationsRequest generates a "aws/request.Request" representing the +// client's request for the ListOperations operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListOperations for more information on using the ListOperations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListOperationsRequest method. +// req, resp := client.ListOperationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListOperations +func (c *ServiceDiscovery) ListOperationsRequest(input *ListOperationsInput) (req *request.Request, output *ListOperationsOutput) { + op := &request.Operation{ + Name: opListOperations, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListOperationsInput{} + } + + output = &ListOperationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListOperations API operation for Amazon Route 53 Auto Naming. +// +// Lists operations that match the criteria that you specify. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation ListOperations for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListOperations +func (c *ServiceDiscovery) ListOperations(input *ListOperationsInput) (*ListOperationsOutput, error) { + req, out := c.ListOperationsRequest(input) + return out, req.Send() +} + +// ListOperationsWithContext is the same as ListOperations with the addition of +// the ability to pass a context and additional request options. +// +// See ListOperations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) ListOperationsWithContext(ctx aws.Context, input *ListOperationsInput, opts ...request.Option) (*ListOperationsOutput, error) { + req, out := c.ListOperationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListOperationsPages iterates over the pages of a ListOperations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListOperations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListOperations operation. +// pageNum := 0 +// err := client.ListOperationsPages(params, +// func(page *ListOperationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *ServiceDiscovery) ListOperationsPages(input *ListOperationsInput, fn func(*ListOperationsOutput, bool) bool) error { + return c.ListOperationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListOperationsPagesWithContext same as ListOperationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) ListOperationsPagesWithContext(ctx aws.Context, input *ListOperationsInput, fn func(*ListOperationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListOperationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListOperationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListOperationsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListServices = "ListServices" + +// ListServicesRequest generates a "aws/request.Request" representing the +// client's request for the ListServices operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListServices for more information on using the ListServices +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListServicesRequest method. +// req, resp := client.ListServicesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListServices +func (c *ServiceDiscovery) ListServicesRequest(input *ListServicesInput) (req *request.Request, output *ListServicesOutput) { + op := &request.Operation{ + Name: opListServices, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListServicesInput{} + } + + output = &ListServicesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListServices API operation for Amazon Route 53 Auto Naming. +// +// Gets settings for all the services that are associated with one or more specified +// namespaces. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation ListServices for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListServices +func (c *ServiceDiscovery) ListServices(input *ListServicesInput) (*ListServicesOutput, error) { + req, out := c.ListServicesRequest(input) + return out, req.Send() +} + +// ListServicesWithContext is the same as ListServices with the addition of +// the ability to pass a context and additional request options. +// +// See ListServices for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) ListServicesWithContext(ctx aws.Context, input *ListServicesInput, opts ...request.Option) (*ListServicesOutput, error) { + req, out := c.ListServicesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListServicesPages iterates over the pages of a ListServices operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListServices method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListServices operation. +// pageNum := 0 +// err := client.ListServicesPages(params, +// func(page *ListServicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *ServiceDiscovery) ListServicesPages(input *ListServicesInput, fn func(*ListServicesOutput, bool) bool) error { + return c.ListServicesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListServicesPagesWithContext same as ListServicesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) ListServicesPagesWithContext(ctx aws.Context, input *ListServicesInput, fn func(*ListServicesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListServicesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListServicesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListServicesOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opRegisterInstance = "RegisterInstance" + +// RegisterInstanceRequest generates a "aws/request.Request" representing the +// client's request for the RegisterInstance operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RegisterInstance for more information on using the RegisterInstance +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RegisterInstanceRequest method. +// req, resp := client.RegisterInstanceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstance +func (c *ServiceDiscovery) RegisterInstanceRequest(input *RegisterInstanceInput) (req *request.Request, output *RegisterInstanceOutput) { + op := &request.Operation{ + Name: opRegisterInstance, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RegisterInstanceInput{} + } + + output = &RegisterInstanceOutput{} + req = c.newRequest(op, input, output) + return +} + +// RegisterInstance API operation for Amazon Route 53 Auto Naming. +// +// Creates one or more resource record sets and optionally a health check based +// on the settings in a specified service. When you submit a RegisterInstance +// request, Amazon Route 53 does the following: +// +// * Creates a resource record set for each resource record set template +// in the service +// +// * Creates a health check based on the settings in the health check template +// in the service, if any +// +// * Associates the health check, if any, with each of the resource record +// sets +// +// One RegisterInstance request must complete before you can submit another +// request and specify the same service and instance ID. +// +// For more information, see CreateService. +// +// When Amazon Route 53 receives a DNS query for the specified DNS name, it +// returns the applicable value: +// +// * If the health check is healthy: returns all the resource record sets +// +// * If the health check is unhealthy: returns the IP address of the last +// healthy instance +// +// * If you didn't specify a health check template: returns all the resource +// record sets +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation RegisterInstance for usage and error information. +// +// Returned Error Codes: +// * ErrCodeDuplicateRequest "DuplicateRequest" +// This request tried to create an object that already exists. +// +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// * ErrCodeResourceInUse "ResourceInUse" +// The specified resource can't be deleted because it contains other resources. +// For example, you can't delete a service that contains any instances. +// +// * ErrCodeResourceLimitExceeded "ResourceLimitExceeded" +// The resource can't be created because you've reached the limit on the number +// of resources. +// +// * ErrCodeServiceNotFound "ServiceNotFound" +// No service exists with the specified ID. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstance +func (c *ServiceDiscovery) RegisterInstance(input *RegisterInstanceInput) (*RegisterInstanceOutput, error) { + req, out := c.RegisterInstanceRequest(input) + return out, req.Send() +} + +// RegisterInstanceWithContext is the same as RegisterInstance with the addition of +// the ability to pass a context and additional request options. +// +// See RegisterInstance for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) RegisterInstanceWithContext(ctx aws.Context, input *RegisterInstanceInput, opts ...request.Option) (*RegisterInstanceOutput, error) { + req, out := c.RegisterInstanceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateService = "UpdateService" + +// UpdateServiceRequest generates a "aws/request.Request" representing the +// client's request for the UpdateService operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateService for more information on using the UpdateService +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateServiceRequest method. +// req, resp := client.UpdateServiceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateService +func (c *ServiceDiscovery) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Request, output *UpdateServiceOutput) { + op := &request.Operation{ + Name: opUpdateService, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateServiceInput{} + } + + output = &UpdateServiceOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateService API operation for Amazon Route 53 Auto Naming. +// +// Updates the TTL setting for a specified service. You must specify all the +// resource record set templates (and, optionally, a health check template) +// that you want to appear in the updated service. Any current resource record +// set templates (or health check template) that don't appear in an UpdateService +// request are deleted. +// +// When you update the TTL setting for a service, Amazon Route 53 also updates +// the corresponding settings in all the resource record sets and health checks +// that were created by using the specified service. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Route 53 Auto Naming's +// API operation UpdateService for usage and error information. +// +// Returned Error Codes: +// * ErrCodeDuplicateRequest "DuplicateRequest" +// This request tried to create an object that already exists. +// +// * ErrCodeInvalidInput "InvalidInput" +// One or more specified values aren't valid. For example, when you're creating +// a namespace, the value of Name might not be a valid DNS name. +// +// * ErrCodeServiceNotFound "ServiceNotFound" +// No service exists with the specified ID. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateService +func (c *ServiceDiscovery) UpdateService(input *UpdateServiceInput) (*UpdateServiceOutput, error) { + req, out := c.UpdateServiceRequest(input) + return out, req.Send() +} + +// UpdateServiceWithContext is the same as UpdateService with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateService for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ServiceDiscovery) UpdateServiceWithContext(ctx aws.Context, input *UpdateServiceInput, opts ...request.Option) (*UpdateServiceOutput, error) { + req, out := c.UpdateServiceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePrivateDnsNamespaceRequest +type CreatePrivateDnsNamespaceInput struct { + _ struct{} `type:"structure"` + + // An optional parameter that you can use to resolve concurrent creation requests. + // CreatorRequestId helps to determine if a specific client owns the namespace. + CreatorRequestId *string `type:"string" idempotencyToken:"true"` + + // A description for the namespace. + Description *string `type:"string"` + + // The name that you want to assign to this namespace. When you create a namespace, + // Amazon Route 53 automatically creates a hosted zone that has the same name + // as the namespace. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // The ID of the Amazon VPC that you want to associate the namespace with. + // + // Vpc is a required field + Vpc *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s CreatePrivateDnsNamespaceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreatePrivateDnsNamespaceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreatePrivateDnsNamespaceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreatePrivateDnsNamespaceInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Vpc == nil { + invalidParams.Add(request.NewErrParamRequired("Vpc")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCreatorRequestId sets the CreatorRequestId field's value. +func (s *CreatePrivateDnsNamespaceInput) SetCreatorRequestId(v string) *CreatePrivateDnsNamespaceInput { + s.CreatorRequestId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreatePrivateDnsNamespaceInput) SetDescription(v string) *CreatePrivateDnsNamespaceInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreatePrivateDnsNamespaceInput) SetName(v string) *CreatePrivateDnsNamespaceInput { + s.Name = &v + return s +} + +// SetVpc sets the Vpc field's value. +func (s *CreatePrivateDnsNamespaceInput) SetVpc(v string) *CreatePrivateDnsNamespaceInput { + s.Vpc = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePrivateDnsNamespaceResponse +type CreatePrivateDnsNamespaceOutput struct { + _ struct{} `type:"structure"` + + // A value that you can use to determine whether the request completed successfully. + // To get the status of the operation, see GetOperation. + OperationId *string `type:"string"` +} + +// String returns the string representation +func (s CreatePrivateDnsNamespaceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreatePrivateDnsNamespaceOutput) GoString() string { + return s.String() +} + +// SetOperationId sets the OperationId field's value. +func (s *CreatePrivateDnsNamespaceOutput) SetOperationId(v string) *CreatePrivateDnsNamespaceOutput { + s.OperationId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespaceRequest +type CreatePublicDnsNamespaceInput struct { + _ struct{} `type:"structure"` + + // An optional parameter that you can use to resolve concurrent creation requests. + // CreatorRequestId helps to determine if a specific client owns the namespace. + CreatorRequestId *string `type:"string" idempotencyToken:"true"` + + // A description for the namespace. + Description *string `type:"string"` + + // The name that you want to assign to this namespace. + // + // Name is a required field + Name *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s CreatePublicDnsNamespaceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreatePublicDnsNamespaceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreatePublicDnsNamespaceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreatePublicDnsNamespaceInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCreatorRequestId sets the CreatorRequestId field's value. +func (s *CreatePublicDnsNamespaceInput) SetCreatorRequestId(v string) *CreatePublicDnsNamespaceInput { + s.CreatorRequestId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreatePublicDnsNamespaceInput) SetDescription(v string) *CreatePublicDnsNamespaceInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreatePublicDnsNamespaceInput) SetName(v string) *CreatePublicDnsNamespaceInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespaceResponse +type CreatePublicDnsNamespaceOutput struct { + _ struct{} `type:"structure"` + + // A value that you can use to determine whether the request completed successfully. + // To get the status of the operation, see GetOperation. + OperationId *string `type:"string"` +} + +// String returns the string representation +func (s CreatePublicDnsNamespaceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreatePublicDnsNamespaceOutput) GoString() string { + return s.String() +} + +// SetOperationId sets the OperationId field's value. +func (s *CreatePublicDnsNamespaceOutput) SetOperationId(v string) *CreatePublicDnsNamespaceOutput { + s.OperationId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateServiceRequest +type CreateServiceInput struct { + _ struct{} `type:"structure"` + + // An optional parameter that you can use to resolve concurrent creation requests. + // CreatorRequestId helps to determine if a specific client owns the namespace. + CreatorRequestId *string `type:"string" idempotencyToken:"true"` + + // A description for the service. + Description *string `type:"string"` + + // A complex type that contains information about the resource record sets that + // you want Amazon Route 53 to create when you register an instance. + // + // DnsConfig is a required field + DnsConfig *DnsConfig `type:"structure" required:"true"` + + // Public DNS namespaces only. A complex type that contains settings for an + // optional health check. If you specify settings for a health check, Amazon + // Route 53 associates the health check with all the resource record sets that + // you specify in DnsConfig. + // + // The health check uses 30 seconds as the request interval. This is the number + // of seconds between the time that each Amazon Route 53 health checker gets + // a response from your endpoint and the time that it sends the next health + // check request. A health checker in each data center around the world sends + // your endpoint a health check request every 30 seconds. On average, your endpoint + // receives a health check request about every two seconds. Health checkers + // in different data centers don't coordinate with one another, so you'll sometimes + // see several requests per second followed by a few seconds with no health + // checks at all. + // + // For information about the charges for health checks, see Amazon Route 53 + // Pricing (http://aws.amazon.com/route53/pricing). + HealthCheckConfig *HealthCheckConfig `type:"structure"` + + // The name that you want to assign to the service. + // + // Name is a required field + Name *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateServiceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateServiceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateServiceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateServiceInput"} + if s.DnsConfig == nil { + invalidParams.Add(request.NewErrParamRequired("DnsConfig")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.DnsConfig != nil { + if err := s.DnsConfig.Validate(); err != nil { + invalidParams.AddNested("DnsConfig", err.(request.ErrInvalidParams)) + } + } + if s.HealthCheckConfig != nil { + if err := s.HealthCheckConfig.Validate(); err != nil { + invalidParams.AddNested("HealthCheckConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCreatorRequestId sets the CreatorRequestId field's value. +func (s *CreateServiceInput) SetCreatorRequestId(v string) *CreateServiceInput { + s.CreatorRequestId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateServiceInput) SetDescription(v string) *CreateServiceInput { + s.Description = &v + return s +} + +// SetDnsConfig sets the DnsConfig field's value. +func (s *CreateServiceInput) SetDnsConfig(v *DnsConfig) *CreateServiceInput { + s.DnsConfig = v + return s +} + +// SetHealthCheckConfig sets the HealthCheckConfig field's value. +func (s *CreateServiceInput) SetHealthCheckConfig(v *HealthCheckConfig) *CreateServiceInput { + s.HealthCheckConfig = v + return s +} + +// SetName sets the Name field's value. +func (s *CreateServiceInput) SetName(v string) *CreateServiceInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateServiceResponse +type CreateServiceOutput struct { + _ struct{} `type:"structure"` + + // A complex type that contains information about the new service. + Service *Service `type:"structure"` +} + +// String returns the string representation +func (s CreateServiceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateServiceOutput) GoString() string { + return s.String() +} + +// SetService sets the Service field's value. +func (s *CreateServiceOutput) SetService(v *Service) *CreateServiceOutput { + s.Service = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespaceRequest +type DeleteNamespaceInput struct { + _ struct{} `type:"structure"` + + // The ID of the namespace that you want to delete. + // + // Id is a required field + Id *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteNamespaceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteNamespaceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteNamespaceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteNamespaceInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DeleteNamespaceInput) SetId(v string) *DeleteNamespaceInput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespaceResponse +type DeleteNamespaceOutput struct { + _ struct{} `type:"structure"` + + // A value that you can use to determine whether the request completed successfully. + // To get the status of the operation, see GetOperation. + OperationId *string `type:"string"` +} + +// String returns the string representation +func (s DeleteNamespaceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteNamespaceOutput) GoString() string { + return s.String() +} + +// SetOperationId sets the OperationId field's value. +func (s *DeleteNamespaceOutput) SetOperationId(v string) *DeleteNamespaceOutput { + s.OperationId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteServiceRequest +type DeleteServiceInput struct { + _ struct{} `type:"structure"` + + // The ID of the service that you want to delete. + // + // Id is a required field + Id *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteServiceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteServiceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteServiceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteServiceInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DeleteServiceInput) SetId(v string) *DeleteServiceInput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteServiceResponse +type DeleteServiceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteServiceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteServiceOutput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeregisterInstanceRequest +type DeregisterInstanceInput struct { + _ struct{} `type:"structure"` + + // The value that you specified for Id in the RegisterInstance request. + // + // InstanceId is a required field + InstanceId *string `type:"string" required:"true"` + + // The ID of the service that the instance is associated with. + // + // ServiceId is a required field + ServiceId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeregisterInstanceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeregisterInstanceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeregisterInstanceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeregisterInstanceInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.ServiceId == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceId sets the InstanceId field's value. +func (s *DeregisterInstanceInput) SetInstanceId(v string) *DeregisterInstanceInput { + s.InstanceId = &v + return s +} + +// SetServiceId sets the ServiceId field's value. +func (s *DeregisterInstanceInput) SetServiceId(v string) *DeregisterInstanceInput { + s.ServiceId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeregisterInstanceResponse +type DeregisterInstanceOutput struct { + _ struct{} `type:"structure"` + + // A value that you can use to determine whether the request completed successfully. + // For more information, see GetOperation. + OperationId *string `type:"string"` +} + +// String returns the string representation +func (s DeregisterInstanceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeregisterInstanceOutput) GoString() string { + return s.String() +} + +// SetOperationId sets the OperationId field's value. +func (s *DeregisterInstanceOutput) SetOperationId(v string) *DeregisterInstanceOutput { + s.OperationId = &v + return s +} + +// A complex type that contains information about the resource record sets that +// you want Amazon Route 53 to create when you register an instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsConfig +type DnsConfig struct { + _ struct{} `type:"structure"` + + // An array that contains one DnsRecord object for each resource record set + // that you want Amazon Route 53 to create when you register an instance. + // + // DnsRecords is a required field + DnsRecords []*DnsRecord `type:"list" required:"true"` + + // The ID of the namespace to use for DNS configuration. + // + // NamespaceId is a required field + NamespaceId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DnsConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DnsConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DnsConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DnsConfig"} + if s.DnsRecords == nil { + invalidParams.Add(request.NewErrParamRequired("DnsRecords")) + } + if s.NamespaceId == nil { + invalidParams.Add(request.NewErrParamRequired("NamespaceId")) + } + if s.DnsRecords != nil { + for i, v := range s.DnsRecords { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DnsRecords", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDnsRecords sets the DnsRecords field's value. +func (s *DnsConfig) SetDnsRecords(v []*DnsRecord) *DnsConfig { + s.DnsRecords = v + return s +} + +// SetNamespaceId sets the NamespaceId field's value. +func (s *DnsConfig) SetNamespaceId(v string) *DnsConfig { + s.NamespaceId = &v + return s +} + +// A complex type that contains information about changes to the resource record +// sets that Amazon Route 53 creates when you register an instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsConfigChange +type DnsConfigChange struct { + _ struct{} `type:"structure"` + + // An array that contains one DnsRecord object for each resource record set + // that you want Amazon Route 53 to create when you register an instance. + // + // DnsRecords is a required field + DnsRecords []*DnsRecord `type:"list" required:"true"` +} + +// String returns the string representation +func (s DnsConfigChange) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DnsConfigChange) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DnsConfigChange) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DnsConfigChange"} + if s.DnsRecords == nil { + invalidParams.Add(request.NewErrParamRequired("DnsRecords")) + } + if s.DnsRecords != nil { + for i, v := range s.DnsRecords { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DnsRecords", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDnsRecords sets the DnsRecords field's value. +func (s *DnsConfigChange) SetDnsRecords(v []*DnsRecord) *DnsConfigChange { + s.DnsRecords = v + return s +} + +// A complex type that contains the ID for the hosted zone that Amazon Route +// 53 creates when you create a namespace. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsProperties +type DnsProperties struct { + _ struct{} `type:"structure"` + + // The ID for the hosted zone that Amazon Route 53 creates when you create a + // namespace. + HostedZoneId *string `type:"string"` +} + +// String returns the string representation +func (s DnsProperties) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DnsProperties) GoString() string { + return s.String() +} + +// SetHostedZoneId sets the HostedZoneId field's value. +func (s *DnsProperties) SetHostedZoneId(v string) *DnsProperties { + s.HostedZoneId = &v + return s +} + +// A complex type that contains information about the resource record sets that +// you want Amazon Route 53 to create when you register an instance. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsRecord +type DnsRecord struct { + _ struct{} `type:"structure"` + + // The amount of time, in seconds, that you want DNS resolvers to cache the + // settings for this resource record set. + // + // TTL is a required field + TTL *int64 `type:"long" required:"true"` + + // The type of the resource, which indicates the value that Amazon Route 53 + // returns in response to DNS queries. The following values are supported: + // + // * A: Amazon Route 53 returns the IP address of the resource in IPv4 format, + // such as 192.0.2.44. + // + // * AAAA: Amazon Route 53 returns the IP address of the resource in IPv6 + // format, such as 2001:0db8:85a3:0000:0000:abcd:0001:2345. + // + // * SRV: Amazon Route 53 returns the value for an SRV record. The value + // for an SRV record uses the following template, which can't be changed: + // + // priority weight port resource-record-set-name + // + // The values of priority and weight are both set to 1. The value of port comes + // from the value that you specify for Port when you submit a RegisterInstance + // request. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"RecordType"` +} + +// String returns the string representation +func (s DnsRecord) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DnsRecord) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DnsRecord) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DnsRecord"} + if s.TTL == nil { + invalidParams.Add(request.NewErrParamRequired("TTL")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTTL sets the TTL field's value. +func (s *DnsRecord) SetTTL(v int64) *DnsRecord { + s.TTL = &v + return s +} + +// SetType sets the Type field's value. +func (s *DnsRecord) SetType(v string) *DnsRecord { + s.Type = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstanceRequest +type GetInstanceInput struct { + _ struct{} `type:"structure"` + + // The ID of the instance that you want to get information about. + // + // InstanceId is a required field + InstanceId *string `type:"string" required:"true"` + + // The ID of the service that the instance is associated with. + // + // ServiceId is a required field + ServiceId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s GetInstanceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetInstanceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetInstanceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetInstanceInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.ServiceId == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceId sets the InstanceId field's value. +func (s *GetInstanceInput) SetInstanceId(v string) *GetInstanceInput { + s.InstanceId = &v + return s +} + +// SetServiceId sets the ServiceId field's value. +func (s *GetInstanceInput) SetServiceId(v string) *GetInstanceInput { + s.ServiceId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstanceResponse +type GetInstanceOutput struct { + _ struct{} `type:"structure"` + + // A complex type that contains information about a specified instance. + Instance *Instance `type:"structure"` +} + +// String returns the string representation +func (s GetInstanceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetInstanceOutput) GoString() string { + return s.String() +} + +// SetInstance sets the Instance field's value. +func (s *GetInstanceOutput) SetInstance(v *Instance) *GetInstanceOutput { + s.Instance = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstancesHealthStatusRequest +type GetInstancesHealthStatusInput struct { + _ struct{} `type:"structure"` + + // An array that contains the IDs of all the instances that you want to get + // the health status for. To get the IDs for the instances that you've created + // by using a specified service, submit a ListInstances request. + // + // If you omit Instances, Amazon Route 53 returns the health status for all + // the instances that are associated with the specified service. + Instances []*string `min:"1" type:"list"` + + // The maximum number of instances that you want Amazon Route 53 to return in + // the response to a GetInstancesHealthStatus request. If you don't specify + // a value for MaxResults, Amazon Route 53 returns up to 100 instances. + MaxResults *int64 `min:"1" type:"integer"` + + // For the first GetInstancesHealthStatus request, omit this value. + // + // If more than MaxResults instances match the specified criteria, you can submit + // another GetInstancesHealthStatus request to get the next group of results. + // Specify the value of NextToken from the previous response in the next request. + NextToken *string `type:"string"` + + // The ID of the service that the instance is associated with. + // + // ServiceId is a required field + ServiceId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s GetInstancesHealthStatusInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetInstancesHealthStatusInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetInstancesHealthStatusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetInstancesHealthStatusInput"} + if s.Instances != nil && len(s.Instances) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Instances", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.ServiceId == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstances sets the Instances field's value. +func (s *GetInstancesHealthStatusInput) SetInstances(v []*string) *GetInstancesHealthStatusInput { + s.Instances = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetInstancesHealthStatusInput) SetMaxResults(v int64) *GetInstancesHealthStatusInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetInstancesHealthStatusInput) SetNextToken(v string) *GetInstancesHealthStatusInput { + s.NextToken = &v + return s +} + +// SetServiceId sets the ServiceId field's value. +func (s *GetInstancesHealthStatusInput) SetServiceId(v string) *GetInstancesHealthStatusInput { + s.ServiceId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstancesHealthStatusResponse +type GetInstancesHealthStatusOutput struct { + _ struct{} `type:"structure"` + + // If more than MaxResults instances match the specified criteria, you can submit + // another GetInstancesHealthStatus request to get the next group of results. + // Specify the value of NextToken from the previous response in the next request. + NextToken *string `type:"string"` + + // A complex type that contains the IDs and the health status of the instances + // that you specified in the GetInstancesHealthStatus request. + Status map[string]*string `type:"map"` +} + +// String returns the string representation +func (s GetInstancesHealthStatusOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetInstancesHealthStatusOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *GetInstancesHealthStatusOutput) SetNextToken(v string) *GetInstancesHealthStatusOutput { + s.NextToken = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetInstancesHealthStatusOutput) SetStatus(v map[string]*string) *GetInstancesHealthStatusOutput { + s.Status = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespaceRequest +type GetNamespaceInput struct { + _ struct{} `type:"structure"` + + // The ID of the namespace that you want to get information about. + // + // Id is a required field + Id *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s GetNamespaceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetNamespaceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetNamespaceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetNamespaceInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetNamespaceInput) SetId(v string) *GetNamespaceInput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespaceResponse +type GetNamespaceOutput struct { + _ struct{} `type:"structure"` + + // A complex type that contains information about the specified namespace. + Namespace *Namespace `type:"structure"` +} + +// String returns the string representation +func (s GetNamespaceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetNamespaceOutput) GoString() string { + return s.String() +} + +// SetNamespace sets the Namespace field's value. +func (s *GetNamespaceOutput) SetNamespace(v *Namespace) *GetNamespaceOutput { + s.Namespace = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperationRequest +type GetOperationInput struct { + _ struct{} `type:"structure"` + + // The ID of the operation that you want to get more information about. + // + // OperationId is a required field + OperationId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s GetOperationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetOperationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetOperationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetOperationInput"} + if s.OperationId == nil { + invalidParams.Add(request.NewErrParamRequired("OperationId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOperationId sets the OperationId field's value. +func (s *GetOperationInput) SetOperationId(v string) *GetOperationInput { + s.OperationId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperationResponse +type GetOperationOutput struct { + _ struct{} `type:"structure"` + + // A complex type that contains information about the operation. + Operation *Operation `type:"structure"` +} + +// String returns the string representation +func (s GetOperationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetOperationOutput) GoString() string { + return s.String() +} + +// SetOperation sets the Operation field's value. +func (s *GetOperationOutput) SetOperation(v *Operation) *GetOperationOutput { + s.Operation = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetServiceRequest +type GetServiceInput struct { + _ struct{} `type:"structure"` + + // The ID of the service that you want to get settings for. + // + // Id is a required field + Id *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s GetServiceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetServiceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetServiceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetServiceInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetServiceInput) SetId(v string) *GetServiceInput { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetServiceResponse +type GetServiceOutput struct { + _ struct{} `type:"structure"` + + // A complex type that contains information about the service. + Service *Service `type:"structure"` +} + +// String returns the string representation +func (s GetServiceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetServiceOutput) GoString() string { + return s.String() +} + +// SetService sets the Service field's value. +func (s *GetServiceOutput) SetService(v *Service) *GetServiceOutput { + s.Service = v + return s +} + +// Public DNS namespaces only. A complex type that contains settings for an +// optional health check. If you specify settings for a health check, Amazon +// Route 53 associates the health check with all the resource record sets that +// you specify in DnsConfig. +// +// The health check uses 30 seconds as the request interval. This is the number +// of seconds between the time that each Amazon Route 53 health checker gets +// a response from your endpoint and the time that it sends the next health +// check request. A health checker in each data center around the world sends +// your endpoint a health check request every 30 seconds. On average, your endpoint +// receives a health check request about every two seconds. Health checkers +// in different data centers don't coordinate with one another, so you'll sometimes +// see several requests per second followed by a few seconds with no health +// checks at all. +// +// For information about the charges for health checks, see Amazon Route 53 +// Pricing (http://aws.amazon.com/route53/pricing). +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/HealthCheckConfig +type HealthCheckConfig struct { + _ struct{} `type:"structure"` + + // The number of consecutive health checks that an endpoint must pass or fail + // for Amazon Route 53 to change the current status of the endpoint from unhealthy + // to healthy or vice versa. For more information, see How Amazon Route 53 Determines + // Whether an Endpoint Is Healthy (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html) + // in the Amazon Route 53 Developer Guide. + FailureThreshold *int64 `min:"1" type:"integer"` + + // The path that you want Amazon Route 53 to request when performing health + // checks. The path can be any value for which your endpoint will return an + // HTTP status code of 2xx or 3xx when the endpoint is healthy, such as the + // file /docs/route53-health-check.html. Amazon Route 53 automatically adds + // the DNS name for the service and a leading forward slash (/) character. + ResourcePath *string `type:"string"` + + // The type of health check that you want to create, which indicates how Amazon + // Route 53 determines whether an endpoint is healthy. + // + // You can't change the value of Type after you create a health check. + // + // You can create the following types of health checks: + // + // * HTTP: Amazon Route 53 tries to establish a TCP connection. If successful, + // Amazon Route 53 submits an HTTP request and waits for an HTTP status code + // of 200 or greater and less than 400. + // + // * HTTPS: Amazon Route 53 tries to establish a TCP connection. If successful, + // Amazon Route 53 submits an HTTPS request and waits for an HTTP status + // code of 200 or greater and less than 400. + // + // If you specify HTTPS for the value of Type, the endpoint must support TLS + // v1.0 or later. + // + // * TCP: Amazon Route 53 tries to establish a TCP connection. + // + // For more information, see How Amazon Route 53 Determines Whether an Endpoint + // Is Healthy (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html) + // in the Amazon Route 53 Developer Guide. + Type *string `type:"string" enum:"HealthCheckType"` +} + +// String returns the string representation +func (s HealthCheckConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HealthCheckConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *HealthCheckConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HealthCheckConfig"} + if s.FailureThreshold != nil && *s.FailureThreshold < 1 { + invalidParams.Add(request.NewErrParamMinValue("FailureThreshold", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFailureThreshold sets the FailureThreshold field's value. +func (s *HealthCheckConfig) SetFailureThreshold(v int64) *HealthCheckConfig { + s.FailureThreshold = &v + return s +} + +// SetResourcePath sets the ResourcePath field's value. +func (s *HealthCheckConfig) SetResourcePath(v string) *HealthCheckConfig { + s.ResourcePath = &v + return s +} + +// SetType sets the Type field's value. +func (s *HealthCheckConfig) SetType(v string) *HealthCheckConfig { + s.Type = &v + return s +} + +// A complex type that contains information about an instance that Amazon Route +// 53 creates when you submit a RegisterInstance request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Instance +type Instance struct { + _ struct{} `type:"structure"` + + // A string map that contains attribute keys and values. Supported attribute + // keys include the following: + // + // * AWS_INSTANCE_PORT: The port on the endpoint that you want Amazon Route + // 53 to perform health checks on. This value is also used for the port value + // in an SRV record if the service that you specify includes an SRV record. + // For more information, see CreateService. + // + // * AWS_INSTANCE_IP: If the service that you specify contains a resource + // record set template for an A or AAAA record, the IP address that you want + // Amazon Route 53 to use for the value of the A record. + // + // * AWS_INSTANCE_WEIGHT: The weight value in an SRV record if the service + // that you specify includes an SRV record. You can also specify a default + // weight that is applied to all instances in the Service configuration. + // For more information, see CreateService. + // + // * AWS_INSTANCE_PRIORITY: The priority value in an SRV record if the service + // that you specify includes an SRV record. + Attributes map[string]*string `type:"map"` + + // An optional parameter that you can use to resolve concurrent creation requests. + // CreatorRequestId helps to determine if a specific client owns the namespace. + CreatorRequestId *string `type:"string"` + + // An identifier that you want to associate with the instance. Note the following: + // + // * You can use this value to update an existing instance. + // + // * To associate a new instance, you must specify a value that is unique + // among instances that you associate by using the same service. + // + // Id is a required field + Id *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s Instance) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Instance) GoString() string { + return s.String() +} + +// SetAttributes sets the Attributes field's value. +func (s *Instance) SetAttributes(v map[string]*string) *Instance { + s.Attributes = v + return s +} + +// SetCreatorRequestId sets the CreatorRequestId field's value. +func (s *Instance) SetCreatorRequestId(v string) *Instance { + s.CreatorRequestId = &v + return s +} + +// SetId sets the Id field's value. +func (s *Instance) SetId(v string) *Instance { + s.Id = &v + return s +} + +// A complex type that contains information about the instances that you created +// by using a specified service. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/InstanceSummary +type InstanceSummary struct { + _ struct{} `type:"structure"` + + // A string map that contain attribute keys and values for an instance. Supported + // attribute keys include the following: + // + // * AWS_INSTANCE_PORT: The port on the endpoint that you want Amazon Route + // 53 to perform health checks on. This value is also used for the port value + // in an SRV record if the service that you specify includes an SRV record. + // For more information, see CreateService. + // + // * AWS_INSTANCE_IP: If the service that you specify contains a resource + // record set template for an A or AAAA record, the IP address that you want + // Amazon Route 53 to use for the value of the A record. + Attributes map[string]*string `type:"map"` + + // The ID for an instance that you created by using a specified service. + Id *string `type:"string"` +} + +// String returns the string representation +func (s InstanceSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InstanceSummary) GoString() string { + return s.String() +} + +// SetAttributes sets the Attributes field's value. +func (s *InstanceSummary) SetAttributes(v map[string]*string) *InstanceSummary { + s.Attributes = v + return s +} + +// SetId sets the Id field's value. +func (s *InstanceSummary) SetId(v string) *InstanceSummary { + s.Id = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstancesRequest +type ListInstancesInput struct { + _ struct{} `type:"structure"` + + // The maximum number of instances that you want Amazon Route 53 to return in + // the response to a ListInstances request. If you don't specify a value for + // MaxResults, Amazon Route 53 returns up to 100 instances. + MaxResults *int64 `min:"1" type:"integer"` + + // For the first ListInstances request, omit this value. + // + // If more than MaxResults instances match the specified criteria, you can submit + // another ListInstances request to get the next group of results. Specify the + // value of NextToken from the previous response in the next request. + NextToken *string `type:"string"` + + // The ID of the service that you want to list instances for. + // + // ServiceId is a required field + ServiceId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s ListInstancesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListInstancesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListInstancesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInstancesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.ServiceId == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListInstancesInput) SetMaxResults(v int64) *ListInstancesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListInstancesInput) SetNextToken(v string) *ListInstancesInput { + s.NextToken = &v + return s +} + +// SetServiceId sets the ServiceId field's value. +func (s *ListInstancesInput) SetServiceId(v string) *ListInstancesInput { + s.ServiceId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstancesResponse +type ListInstancesOutput struct { + _ struct{} `type:"structure"` + + // Summary information about the instances that are associated with the specified + // service. + Instances []*InstanceSummary `type:"list"` + + // If more than MaxResults instances match the specified criteria, you can submit + // another ListInstances request to get the next group of results. Specify the + // value of NextToken from the previous response in the next request. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s ListInstancesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListInstancesOutput) GoString() string { + return s.String() +} + +// SetInstances sets the Instances field's value. +func (s *ListInstancesOutput) SetInstances(v []*InstanceSummary) *ListInstancesOutput { + s.Instances = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListInstancesOutput) SetNextToken(v string) *ListInstancesOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListNamespacesRequest +type ListNamespacesInput struct { + _ struct{} `type:"structure"` + + // A complex type that contains specifications for the namespaces that you want + // to list. + // + // If you specify more than one filter, an operation must match all filters + // to be returned by ListNamespaces. + Filters []*NamespaceFilter `type:"list"` + + // The maximum number of namespaces that you want Amazon Route 53 to return + // in the response to a ListNamespaces request. If you don't specify a value + // for MaxResults, Amazon Route 53 returns up to 100 namespaces. + MaxResults *int64 `min:"1" type:"integer"` + + // For the first ListNamespaces request, omit this value. + // + // If more than MaxResults namespaces match the specified criteria, you can + // submit another ListNamespaces request to get the next group of results. Specify + // the value of NextToken from the previous response in the next request. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s ListNamespacesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListNamespacesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListNamespacesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListNamespacesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilters sets the Filters field's value. +func (s *ListNamespacesInput) SetFilters(v []*NamespaceFilter) *ListNamespacesInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListNamespacesInput) SetMaxResults(v int64) *ListNamespacesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListNamespacesInput) SetNextToken(v string) *ListNamespacesInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListNamespacesResponse +type ListNamespacesOutput struct { + _ struct{} `type:"structure"` + + // An array that contains one NamespaceSummary object for each namespace that + // matches the specified filter criteria. + Namespaces []*NamespaceSummary `type:"list"` + + // If more than MaxResults namespaces match the specified criteria, you can + // submit another ListNamespaces request to get the next group of results. Specify + // the value of NextToken from the previous response in the next request. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s ListNamespacesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListNamespacesOutput) GoString() string { + return s.String() +} + +// SetNamespaces sets the Namespaces field's value. +func (s *ListNamespacesOutput) SetNamespaces(v []*NamespaceSummary) *ListNamespacesOutput { + s.Namespaces = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListNamespacesOutput) SetNextToken(v string) *ListNamespacesOutput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListOperationsRequest +type ListOperationsInput struct { + _ struct{} `type:"structure"` + + // A complex type that contains specifications for the operations that you want + // to list, for example, operations that you started between a specified start + // date and end date. + // + // If you specify more than one filter, an operation must match all filters + // to be returned by ListOperations. + Filters []*OperationFilter `type:"list"` + + // The maximum number of items that you want Amazon Route 53 to return in the + // response to a ListOperations request. If you don't specify a value for MaxResults, + // Amazon Route 53 returns up to 100 operations. + MaxResults *int64 `min:"1" type:"integer"` + + // For the first ListOperations request, omit this value. + // + // If more than MaxResults operations match the specified criteria, you can + // submit another ListOperations request to get the next group of results. Specify + // the value of NextToken from the previous response in the next request. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s ListOperationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListOperationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListOperationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListOperationsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilters sets the Filters field's value. +func (s *ListOperationsInput) SetFilters(v []*OperationFilter) *ListOperationsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListOperationsInput) SetMaxResults(v int64) *ListOperationsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListOperationsInput) SetNextToken(v string) *ListOperationsInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListOperationsResponse +type ListOperationsOutput struct { + _ struct{} `type:"structure"` + + // If more than MaxResults operations match the specified criteria, you can + // submit another ListOperations request to get the next group of results. Specify + // the value of NextToken from the previous response in the next request. + NextToken *string `type:"string"` + + // Summary information about the operations that match the specified criteria. + Operations []*OperationSummary `type:"list"` +} + +// String returns the string representation +func (s ListOperationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListOperationsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListOperationsOutput) SetNextToken(v string) *ListOperationsOutput { + s.NextToken = &v + return s +} + +// SetOperations sets the Operations field's value. +func (s *ListOperationsOutput) SetOperations(v []*OperationSummary) *ListOperationsOutput { + s.Operations = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListServicesRequest +type ListServicesInput struct { + _ struct{} `type:"structure"` + + // A complex type that contains specifications for the namespaces that you want + // to list services for. + // + // If you specify more than one filter, an operation must match all filters + // to be returned by ListServices. + Filters []*ServiceFilter `type:"list"` + + // The maximum number of services that you want Amazon Route 53 to return in + // the response to a ListServices request. If you don't specify a value for + // MaxResults, Amazon Route 53 returns up to 100 services. + MaxResults *int64 `min:"1" type:"integer"` + + // For the first ListServices request, omit this value. + // + // If more than MaxResults services match the specified criteria, you can submit + // another ListServices request to get the next group of results. Specify the + // value of NextToken from the previous response in the next request. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s ListServicesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListServicesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListServicesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListServicesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilters sets the Filters field's value. +func (s *ListServicesInput) SetFilters(v []*ServiceFilter) *ListServicesInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListServicesInput) SetMaxResults(v int64) *ListServicesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListServicesInput) SetNextToken(v string) *ListServicesInput { + s.NextToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListServicesResponse +type ListServicesOutput struct { + _ struct{} `type:"structure"` + + // If more than MaxResults operations match the specified criteria, the value + // of NextToken is the first service in the next group of services that were + // created by the current AWS account. To get the next group, specify the value + // of NextToken from the previous response in the next request. + NextToken *string `type:"string"` + + // An array that contains one ServiceSummary object for each service that matches + // the specified filter criteria. + Services []*ServiceSummary `type:"list"` +} + +// String returns the string representation +func (s ListServicesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListServicesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListServicesOutput) SetNextToken(v string) *ListServicesOutput { + s.NextToken = &v + return s +} + +// SetServices sets the Services field's value. +func (s *ListServicesOutput) SetServices(v []*ServiceSummary) *ListServicesOutput { + s.Services = v + return s +} + +// A complex type that contains information about a specified namespace. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Namespace +type Namespace struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace + // when you create it. + Arn *string `type:"string"` + + // The date that the namespace was created, in Unix date/time format and Coordinated + // Universal Time (UTC). + CreateDate *time.Time `type:"timestamp" timestampFormat:"unix"` + + // An optional parameter that you can use to resolve concurrent creation requests. + // CreatorRequestId helps to determine if a specific client owns the namespace. + CreatorRequestId *string `type:"string"` + + // The description that you specify for the namespace when you create it. + Description *string `type:"string"` + + // The ID of a namespace. + Id *string `type:"string"` + + // The name of the namespace, such as example.com. + Name *string `type:"string"` + + // A complex type that contains information that's specific to the type of the + // namespace. + Properties *NamespaceProperties `type:"structure"` + + // The number of services that are associated with the namespace. + ServiceCount *int64 `type:"integer"` + + // The type of the namespace. Valid values are DNS_PUBLIC and DNS_PRIVATE. + Type *string `type:"string" enum:"NamespaceType"` +} + +// String returns the string representation +func (s Namespace) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Namespace) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Namespace) SetArn(v string) *Namespace { + s.Arn = &v + return s +} + +// SetCreateDate sets the CreateDate field's value. +func (s *Namespace) SetCreateDate(v time.Time) *Namespace { + s.CreateDate = &v + return s +} + +// SetCreatorRequestId sets the CreatorRequestId field's value. +func (s *Namespace) SetCreatorRequestId(v string) *Namespace { + s.CreatorRequestId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Namespace) SetDescription(v string) *Namespace { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *Namespace) SetId(v string) *Namespace { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *Namespace) SetName(v string) *Namespace { + s.Name = &v + return s +} + +// SetProperties sets the Properties field's value. +func (s *Namespace) SetProperties(v *NamespaceProperties) *Namespace { + s.Properties = v + return s +} + +// SetServiceCount sets the ServiceCount field's value. +func (s *Namespace) SetServiceCount(v int64) *Namespace { + s.ServiceCount = &v + return s +} + +// SetType sets the Type field's value. +func (s *Namespace) SetType(v string) *Namespace { + s.Type = &v + return s +} + +// A complex type that identifies the namespaces that you want to list. You +// can choose to list public or private namespaces. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/NamespaceFilter +type NamespaceFilter struct { + _ struct{} `type:"structure"` + + // The operator that you want to use to determine whether ListNamespaces returns + // a namespace. Valid values for condition include: + // + // * EQ: When you specify EQ for the condition, you can choose to list only + // public namespaces or private namespaces, but not both. EQ is the default + // condition and can be omitted. + // + // * IN: When you specify IN for the condition, you can choose to list public + // namespaces, private namespaces, or both. + Condition *string `type:"string" enum:"FilterCondition"` + + // Specify TYPE. + // + // Name is a required field + Name *string `type:"string" required:"true" enum:"NamespaceFilterName"` + + // If you specify EQ for Condition, specify either DNS_PUBLIC or DNS_PRIVATE. + // + // If you specify IN for Condition, you can specify DNS_PUBLIC, DNS_PRIVATE, + // or both. + // + // Values is a required field + Values []*string `type:"list" required:"true"` +} + +// String returns the string representation +func (s NamespaceFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NamespaceFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *NamespaceFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NamespaceFilter"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Values == nil { + invalidParams.Add(request.NewErrParamRequired("Values")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCondition sets the Condition field's value. +func (s *NamespaceFilter) SetCondition(v string) *NamespaceFilter { + s.Condition = &v + return s +} + +// SetName sets the Name field's value. +func (s *NamespaceFilter) SetName(v string) *NamespaceFilter { + s.Name = &v + return s +} + +// SetValues sets the Values field's value. +func (s *NamespaceFilter) SetValues(v []*string) *NamespaceFilter { + s.Values = v + return s +} + +// A complex type that contains information that is specific to the namespace +// type. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/NamespaceProperties +type NamespaceProperties struct { + _ struct{} `type:"structure"` + + // A complex type that contains the ID for the hosted zone that Amazon Route + // 53 creates when you create a namespace. + DnsProperties *DnsProperties `type:"structure"` +} + +// String returns the string representation +func (s NamespaceProperties) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NamespaceProperties) GoString() string { + return s.String() +} + +// SetDnsProperties sets the DnsProperties field's value. +func (s *NamespaceProperties) SetDnsProperties(v *DnsProperties) *NamespaceProperties { + s.DnsProperties = v + return s +} + +// A complex type that contains information about a namespace. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/NamespaceSummary +type NamespaceSummary struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace + // when you create it. + Arn *string `type:"string"` + + // The ID of the namespace. + Id *string `type:"string"` + + // The name of the namespace. When you create a namespace, Amazon Route 53 automatically + // creates a hosted zone that has the same name as the namespace. + Name *string `type:"string"` + + // The type of the namespace, either public or private. + Type *string `type:"string" enum:"NamespaceType"` +} + +// String returns the string representation +func (s NamespaceSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NamespaceSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *NamespaceSummary) SetArn(v string) *NamespaceSummary { + s.Arn = &v + return s +} + +// SetId sets the Id field's value. +func (s *NamespaceSummary) SetId(v string) *NamespaceSummary { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *NamespaceSummary) SetName(v string) *NamespaceSummary { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *NamespaceSummary) SetType(v string) *NamespaceSummary { + s.Type = &v + return s +} + +// A complex type that contains information about a specified operation. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Operation +type Operation struct { + _ struct{} `type:"structure"` + + // The date and time that the request was submitted, in Unix date/time format + // and Coordinated Universal Time (UTC). + CreateDate *time.Time `type:"timestamp" timestampFormat:"unix"` + + // The code associated with ErrorMessage. + ErrorCode *string `type:"string"` + + // If the value of Status is FAIL, the reason that the operation failed. + ErrorMessage *string `type:"string"` + + // The ID of the operation that you want to get information about. + Id *string `type:"string"` + + // The status of the operation. Values include the following: + // + // * SUBMITTED: This is the initial state immediately after you submit a + // request. + // + // * PENDING: Amazon Route 53 is performing the operation. + // + // * SUCCESS: The operation succeeded. + // + // * FAIL: The operation failed. For the failure reason, see ErrorMessage. + Status *string `type:"string" enum:"OperationStatus"` + + // The name of the target entity that is associated with the operation: + // + // * NAMESPACE: The namespace ID is returned in the ResourceId property. + // + // * SERVICE: The service ID is returned in the ResourceId property. + // + // * INSTANCE: The instance ID is returned in the ResourceId property. + Targets map[string]*string `type:"map"` + + // The name of the operation that is associated with the specified ID. + Type *string `type:"string" enum:"OperationType"` + + // The date and time that the value of Status changed to the current value, + // in Unix date/time format and Coordinated Universal Time (UTC). + UpdateDate *time.Time `type:"timestamp" timestampFormat:"unix"` +} + +// String returns the string representation +func (s Operation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Operation) GoString() string { + return s.String() +} + +// SetCreateDate sets the CreateDate field's value. +func (s *Operation) SetCreateDate(v time.Time) *Operation { + s.CreateDate = &v + return s +} + +// SetErrorCode sets the ErrorCode field's value. +func (s *Operation) SetErrorCode(v string) *Operation { + s.ErrorCode = &v + return s +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *Operation) SetErrorMessage(v string) *Operation { + s.ErrorMessage = &v + return s +} + +// SetId sets the Id field's value. +func (s *Operation) SetId(v string) *Operation { + s.Id = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *Operation) SetStatus(v string) *Operation { + s.Status = &v + return s +} + +// SetTargets sets the Targets field's value. +func (s *Operation) SetTargets(v map[string]*string) *Operation { + s.Targets = v + return s +} + +// SetType sets the Type field's value. +func (s *Operation) SetType(v string) *Operation { + s.Type = &v + return s +} + +// SetUpdateDate sets the UpdateDate field's value. +func (s *Operation) SetUpdateDate(v time.Time) *Operation { + s.UpdateDate = &v + return s +} + +// A complex type that lets you select the operations that you want to list. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/OperationFilter +type OperationFilter struct { + _ struct{} `type:"structure"` + + // The operator that you want to use to determine whether an operation matches + // the specified value. Valid values for condition include: + // + // * EQ: When you specify EQ for the condition, you can specify only one + // value. EQ is supported for NAMESPACE_ID, SERVICE_ID, STATUS, and TYPE. + // EQ is the default condition and can be omitted. + // + // * IN: When you specify IN for the condition, you can specify a list of + // one or more values. IN is supported for STATUS and TYPE. An operation + // must match one of the specified values to be returned in the response. + // + // * BETWEEN: Specify two values, a start date and an end date. The start + // date must be the first value. BETWEEN is supported for U. + Condition *string `type:"string" enum:"FilterCondition"` + + // Specify the operations that you want to get: + // + // * NAMESPACE_ID: Gets operations related to specified namespaces. + // + // * SERVICE_ID: Gets operations related to specified services. + // + // * STATUS: Gets operations based on the status of the operations: SUBMITTED, + // PENDING, SUCCEED, or FAIL. + // + // * TYPE: Gets specified types of operation. + // + // * UPDATE_DATE: Gets operations that changed status during a specified + // date/time range. + // + // Name is a required field + Name *string `type:"string" required:"true" enum:"OperationFilterName"` + + // Specify values that are applicable to the value that you specify for Name: + // + // * NAMESPACE_ID: Specify one namespace ID. + // + // * SERVICE_ID: Specify one service ID. + // + // * STATUS: Specify one or more statuses: SUBMITTED, PENDING, SUCCEED, or + // FAIL. + // + // * TYPE: Specify one or more of the following types: CREATE_NAMESPACE, + // DELETE_NAMESPACE, UPDATE_SERVICE, REGISTER_INSTANCE, or DEREGISTER_INSTANCE. + // + // * UPDATE_DATE: Specify a start date and an end date in Unix date/time + // format and Coordinated Universal Time (UTC). The start date must be the + // first value. + // + // Values is a required field + Values []*string `type:"list" required:"true"` +} + +// String returns the string representation +func (s OperationFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OperationFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *OperationFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "OperationFilter"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Values == nil { + invalidParams.Add(request.NewErrParamRequired("Values")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCondition sets the Condition field's value. +func (s *OperationFilter) SetCondition(v string) *OperationFilter { + s.Condition = &v + return s +} + +// SetName sets the Name field's value. +func (s *OperationFilter) SetName(v string) *OperationFilter { + s.Name = &v + return s +} + +// SetValues sets the Values field's value. +func (s *OperationFilter) SetValues(v []*string) *OperationFilter { + s.Values = v + return s +} + +// A complex type that contains information about an operation that matches +// the criteria that you specified in a ListOperations request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/OperationSummary +type OperationSummary struct { + _ struct{} `type:"structure"` + + // The ID for an operation. + Id *string `type:"string"` + + // The status of the operation. Values include the following: + // + // * SUBMITTED: This is the initial state immediately after you submit a + // request. + // + // * PENDING: Amazon Route 53 is performing the operation. + // + // * SUCCESS: The operation succeeded. + // + // * FAIL: The operation failed. For the failure reason, see ErrorMessage. + Status *string `type:"string" enum:"OperationStatus"` +} + +// String returns the string representation +func (s OperationSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s OperationSummary) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *OperationSummary) SetId(v string) *OperationSummary { + s.Id = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *OperationSummary) SetStatus(v string) *OperationSummary { + s.Status = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstanceRequest +type RegisterInstanceInput struct { + _ struct{} `type:"structure"` + + // A string map that contain attribute keys and values. Supported attribute + // keys include the following: + // + // * AWS_INSTANCE_PORT: The port on the endpoint that you want Amazon Route + // 53 to perform health checks on. This value is also used for the port value + // in an SRV record if the service that you specify includes an SRV record. + // For more information, see CreateService. + // + // * AWS_INSTANCE_IPV4: If the service that you specify contains a resource + // record set template for an A record, the IPv4 address that you want Amazon + // Route 53 to use for the value of the A record. + // + // * AWS_INSTANCE_IPV6: If the service that you specify contains a resource + // record set template for an AAAA record, the IPv6 address that you want + // Amazon Route 53 to use for the value of the AAAA record. + // + // Attributes is a required field + Attributes map[string]*string `type:"map" required:"true"` + + // An optional parameter that you can use to resolve concurrent creation requests. + // CreatorRequestId helps to determine if a specific client owns the namespace. + CreatorRequestId *string `type:"string" idempotencyToken:"true"` + + // An identifier that you want to associate with the instance. Note the following: + // + // * You can use this value to update an existing instance. + // + // * To register a new instance, you must specify a value that is unique + // among instances that you register by using the same service. + // + // InstanceId is a required field + InstanceId *string `type:"string" required:"true"` + + // The ID of the service that you want to use for settings for the resource + // record sets and health check that Amazon Route 53 will create. + // + // ServiceId is a required field + ServiceId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s RegisterInstanceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RegisterInstanceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RegisterInstanceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegisterInstanceInput"} + if s.Attributes == nil { + invalidParams.Add(request.NewErrParamRequired("Attributes")) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.ServiceId == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttributes sets the Attributes field's value. +func (s *RegisterInstanceInput) SetAttributes(v map[string]*string) *RegisterInstanceInput { + s.Attributes = v + return s +} + +// SetCreatorRequestId sets the CreatorRequestId field's value. +func (s *RegisterInstanceInput) SetCreatorRequestId(v string) *RegisterInstanceInput { + s.CreatorRequestId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *RegisterInstanceInput) SetInstanceId(v string) *RegisterInstanceInput { + s.InstanceId = &v + return s +} + +// SetServiceId sets the ServiceId field's value. +func (s *RegisterInstanceInput) SetServiceId(v string) *RegisterInstanceInput { + s.ServiceId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstanceResponse +type RegisterInstanceOutput struct { + _ struct{} `type:"structure"` + + // A value that you can use to determine whether the request completed successfully. + // To get the status of the operation, see GetOperation. + OperationId *string `type:"string"` +} + +// String returns the string representation +func (s RegisterInstanceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RegisterInstanceOutput) GoString() string { + return s.String() +} + +// SetOperationId sets the OperationId field's value. +func (s *RegisterInstanceOutput) SetOperationId(v string) *RegisterInstanceOutput { + s.OperationId = &v + return s +} + +// A complex type that contains information about the specified service. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Service +type Service struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the service + // when you create it. + Arn *string `type:"string"` + + // The date and time that the service was created, in Unix format and Coordinated + // Universal Time (UTC). + CreateDate *time.Time `type:"timestamp" timestampFormat:"unix"` + + // An optional parameter that you can use to resolve concurrent creation requests. + // CreatorRequestId helps to determine if a specific client owns the namespace. + CreatorRequestId *string `type:"string"` + + // The description of the service. + Description *string `type:"string"` + + // A complex type that contains information about the resource record sets that + // you want Amazon Route 53 to create when you register an instance. + DnsConfig *DnsConfig `type:"structure"` + + // Public DNS namespaces only. A complex type that contains settings for an + // optional health check. If you specify settings for a health check, Amazon + // Route 53 associates the health check with all the resource record sets that + // you specify in DnsConfig. + // + // The health check uses 30 seconds as the request interval. This is the number + // of seconds between the time that each Amazon Route 53 health checker gets + // a response from your endpoint and the time that it sends the next health + // check request. A health checker in each data center around the world sends + // your endpoint a health check request every 30 seconds. On average, your endpoint + // receives a health check request about every two seconds. Health checkers + // in different data centers don't coordinate with one another, so you'll sometimes + // see several requests per second followed by a few seconds with no health + // checks at all. + // + // For information about the charges for health checks, see Amazon Route 53 + // Pricing (http://aws.amazon.com/route53/pricing). + HealthCheckConfig *HealthCheckConfig `type:"structure"` + + // The ID that Amazon Route 53 assigned to the service when you created it. + Id *string `type:"string"` + + // The number of instances that are currently associated with the service. Instances + // that were previously associated with the service but that have been deleted + // are not included in the count. + InstanceCount *int64 `type:"integer"` + + // The name of the service. + Name *string `type:"string"` +} + +// String returns the string representation +func (s Service) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Service) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Service) SetArn(v string) *Service { + s.Arn = &v + return s +} + +// SetCreateDate sets the CreateDate field's value. +func (s *Service) SetCreateDate(v time.Time) *Service { + s.CreateDate = &v + return s +} + +// SetCreatorRequestId sets the CreatorRequestId field's value. +func (s *Service) SetCreatorRequestId(v string) *Service { + s.CreatorRequestId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Service) SetDescription(v string) *Service { + s.Description = &v + return s +} + +// SetDnsConfig sets the DnsConfig field's value. +func (s *Service) SetDnsConfig(v *DnsConfig) *Service { + s.DnsConfig = v + return s +} + +// SetHealthCheckConfig sets the HealthCheckConfig field's value. +func (s *Service) SetHealthCheckConfig(v *HealthCheckConfig) *Service { + s.HealthCheckConfig = v + return s +} + +// SetId sets the Id field's value. +func (s *Service) SetId(v string) *Service { + s.Id = &v + return s +} + +// SetInstanceCount sets the InstanceCount field's value. +func (s *Service) SetInstanceCount(v int64) *Service { + s.InstanceCount = &v + return s +} + +// SetName sets the Name field's value. +func (s *Service) SetName(v string) *Service { + s.Name = &v + return s +} + +// A complex type that contains changes to an existing service. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ServiceChange +type ServiceChange struct { + _ struct{} `type:"structure"` + + // A description for the service. + Description *string `type:"string"` + + // A complex type that contains information about the resource record sets that + // you want Amazon Route 53 to create when you register an instance. + // + // DnsConfig is a required field + DnsConfig *DnsConfigChange `type:"structure" required:"true"` + + // Public DNS namespaces only. A complex type that contains settings for an + // optional health check. If you specify settings for a health check, Amazon + // Route 53 associates the health check with all the resource record sets that + // you specify in DnsConfig. + // + // The health check uses 30 seconds as the request interval. This is the number + // of seconds between the time that each Amazon Route 53 health checker gets + // a response from your endpoint and the time that it sends the next health + // check request. A health checker in each data center around the world sends + // your endpoint a health check request every 30 seconds. On average, your endpoint + // receives a health check request about every two seconds. Health checkers + // in different data centers don't coordinate with one another, so you'll sometimes + // see several requests per second followed by a few seconds with no health + // checks at all. + // + // For information about the charges for health checks, see Amazon Route 53 + // Pricing (http://aws.amazon.com/route53/pricing). + HealthCheckConfig *HealthCheckConfig `type:"structure"` +} + +// String returns the string representation +func (s ServiceChange) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ServiceChange) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ServiceChange) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ServiceChange"} + if s.DnsConfig == nil { + invalidParams.Add(request.NewErrParamRequired("DnsConfig")) + } + if s.DnsConfig != nil { + if err := s.DnsConfig.Validate(); err != nil { + invalidParams.AddNested("DnsConfig", err.(request.ErrInvalidParams)) + } + } + if s.HealthCheckConfig != nil { + if err := s.HealthCheckConfig.Validate(); err != nil { + invalidParams.AddNested("HealthCheckConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *ServiceChange) SetDescription(v string) *ServiceChange { + s.Description = &v + return s +} + +// SetDnsConfig sets the DnsConfig field's value. +func (s *ServiceChange) SetDnsConfig(v *DnsConfigChange) *ServiceChange { + s.DnsConfig = v + return s +} + +// SetHealthCheckConfig sets the HealthCheckConfig field's value. +func (s *ServiceChange) SetHealthCheckConfig(v *HealthCheckConfig) *ServiceChange { + s.HealthCheckConfig = v + return s +} + +// A complex type that lets you specify the namespaces that you want to list +// services for. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ServiceFilter +type ServiceFilter struct { + _ struct{} `type:"structure"` + + // The operator that you want to use to determine whether a service is returned + // by ListServices. Valid values for Condition include the following: + // + // * EQ: When you specify EQ, specify one namespace ID for Values. EQ is + // the default condition and can be omitted. + // + // * IN: When you specify IN, specify a list of the IDs for the namespaces + // that you want ListServices to return a list of services for. + Condition *string `type:"string" enum:"FilterCondition"` + + // Specify NAMESPACE_ID. + // + // Name is a required field + Name *string `type:"string" required:"true" enum:"ServiceFilterName"` + + // The values that are applicable to the value that you specify for Condition + // to filter the list of services. + // + // Values is a required field + Values []*string `type:"list" required:"true"` +} + +// String returns the string representation +func (s ServiceFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ServiceFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ServiceFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ServiceFilter"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Values == nil { + invalidParams.Add(request.NewErrParamRequired("Values")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCondition sets the Condition field's value. +func (s *ServiceFilter) SetCondition(v string) *ServiceFilter { + s.Condition = &v + return s +} + +// SetName sets the Name field's value. +func (s *ServiceFilter) SetName(v string) *ServiceFilter { + s.Name = &v + return s +} + +// SetValues sets the Values field's value. +func (s *ServiceFilter) SetValues(v []*string) *ServiceFilter { + s.Values = v + return s +} + +// A complex type that contains information about a specified service. +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ServiceSummary +type ServiceSummary struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the service + // when you create it. + Arn *string `type:"string"` + + // The description that you specify when you create the service. + Description *string `type:"string"` + + // The ID that Amazon Route 53 assigned to the service when you created it. + Id *string `type:"string"` + + // The number of instances that are currently associated with the service. Instances + // that were previously associated with the service but that have been deleted + // are not included in the count. + InstanceCount *int64 `type:"integer"` + + // The name of the service. + Name *string `type:"string"` +} + +// String returns the string representation +func (s ServiceSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ServiceSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *ServiceSummary) SetArn(v string) *ServiceSummary { + s.Arn = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ServiceSummary) SetDescription(v string) *ServiceSummary { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *ServiceSummary) SetId(v string) *ServiceSummary { + s.Id = &v + return s +} + +// SetInstanceCount sets the InstanceCount field's value. +func (s *ServiceSummary) SetInstanceCount(v int64) *ServiceSummary { + s.InstanceCount = &v + return s +} + +// SetName sets the Name field's value. +func (s *ServiceSummary) SetName(v string) *ServiceSummary { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateServiceRequest +type UpdateServiceInput struct { + _ struct{} `type:"structure"` + + // The ID of the service that you want to update. + // + // Id is a required field + Id *string `type:"string" required:"true"` + + // A complex type that contains the new settings for the service. + // + // Service is a required field + Service *ServiceChange `type:"structure" required:"true"` +} + +// String returns the string representation +func (s UpdateServiceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateServiceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateServiceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateServiceInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Service == nil { + invalidParams.Add(request.NewErrParamRequired("Service")) + } + if s.Service != nil { + if err := s.Service.Validate(); err != nil { + invalidParams.AddNested("Service", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *UpdateServiceInput) SetId(v string) *UpdateServiceInput { + s.Id = &v + return s +} + +// SetService sets the Service field's value. +func (s *UpdateServiceInput) SetService(v *ServiceChange) *UpdateServiceInput { + s.Service = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateServiceResponse +type UpdateServiceOutput struct { + _ struct{} `type:"structure"` + + // A value that you can use to determine whether the request completed successfully. + // To get the status of the operation, see GetOperation. + OperationId *string `type:"string"` +} + +// String returns the string representation +func (s UpdateServiceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateServiceOutput) GoString() string { + return s.String() +} + +// SetOperationId sets the OperationId field's value. +func (s *UpdateServiceOutput) SetOperationId(v string) *UpdateServiceOutput { + s.OperationId = &v + return s +} + +const ( + // FilterConditionEq is a FilterCondition enum value + FilterConditionEq = "EQ" + + // FilterConditionIn is a FilterCondition enum value + FilterConditionIn = "IN" + + // FilterConditionBetween is a FilterCondition enum value + FilterConditionBetween = "BETWEEN" +) + +const ( + // HealthCheckTypeHttp is a HealthCheckType enum value + HealthCheckTypeHttp = "HTTP" + + // HealthCheckTypeHttps is a HealthCheckType enum value + HealthCheckTypeHttps = "HTTPS" + + // HealthCheckTypeTcp is a HealthCheckType enum value + HealthCheckTypeTcp = "TCP" +) + +const ( + // HealthStatusHealthy is a HealthStatus enum value + HealthStatusHealthy = "HEALTHY" + + // HealthStatusUnhealthy is a HealthStatus enum value + HealthStatusUnhealthy = "UNHEALTHY" + + // HealthStatusUnknown is a HealthStatus enum value + HealthStatusUnknown = "UNKNOWN" +) + +const ( + // NamespaceFilterNameType is a NamespaceFilterName enum value + NamespaceFilterNameType = "TYPE" +) + +const ( + // NamespaceTypeDnsPublic is a NamespaceType enum value + NamespaceTypeDnsPublic = "DNS_PUBLIC" + + // NamespaceTypeDnsPrivate is a NamespaceType enum value + NamespaceTypeDnsPrivate = "DNS_PRIVATE" +) + +const ( + // OperationFilterNameNamespaceId is a OperationFilterName enum value + OperationFilterNameNamespaceId = "NAMESPACE_ID" + + // OperationFilterNameServiceId is a OperationFilterName enum value + OperationFilterNameServiceId = "SERVICE_ID" + + // OperationFilterNameStatus is a OperationFilterName enum value + OperationFilterNameStatus = "STATUS" + + // OperationFilterNameType is a OperationFilterName enum value + OperationFilterNameType = "TYPE" + + // OperationFilterNameUpdateDate is a OperationFilterName enum value + OperationFilterNameUpdateDate = "UPDATE_DATE" +) + +const ( + // OperationStatusSubmitted is a OperationStatus enum value + OperationStatusSubmitted = "SUBMITTED" + + // OperationStatusPending is a OperationStatus enum value + OperationStatusPending = "PENDING" + + // OperationStatusSuccess is a OperationStatus enum value + OperationStatusSuccess = "SUCCESS" + + // OperationStatusFail is a OperationStatus enum value + OperationStatusFail = "FAIL" +) + +const ( + // OperationTargetTypeNamespace is a OperationTargetType enum value + OperationTargetTypeNamespace = "NAMESPACE" + + // OperationTargetTypeService is a OperationTargetType enum value + OperationTargetTypeService = "SERVICE" + + // OperationTargetTypeInstance is a OperationTargetType enum value + OperationTargetTypeInstance = "INSTANCE" +) + +const ( + // OperationTypeCreateNamespace is a OperationType enum value + OperationTypeCreateNamespace = "CREATE_NAMESPACE" + + // OperationTypeDeleteNamespace is a OperationType enum value + OperationTypeDeleteNamespace = "DELETE_NAMESPACE" + + // OperationTypeUpdateService is a OperationType enum value + OperationTypeUpdateService = "UPDATE_SERVICE" + + // OperationTypeRegisterInstance is a OperationType enum value + OperationTypeRegisterInstance = "REGISTER_INSTANCE" + + // OperationTypeDeregisterInstance is a OperationType enum value + OperationTypeDeregisterInstance = "DEREGISTER_INSTANCE" +) + +const ( + // RecordTypeSrv is a RecordType enum value + RecordTypeSrv = "SRV" + + // RecordTypeA is a RecordType enum value + RecordTypeA = "A" + + // RecordTypeAaaa is a RecordType enum value + RecordTypeAaaa = "AAAA" +) + +const ( + // ServiceFilterNameNamespaceId is a ServiceFilterName enum value + ServiceFilterNameNamespaceId = "NAMESPACE_ID" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/doc.go b/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/doc.go new file mode 100644 index 00000000000..b6cf1993926 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/doc.go @@ -0,0 +1,33 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package servicediscovery provides the client and types for making API +// requests to Amazon Route 53 Auto Naming. +// +// Amazon Route 53 autonaming lets you configure public or private namespaces +// that your microservice applications run in. When instances of the service +// become available, you can call the autonaming API to register the instance, +// and Amazon Route 53 automatically creates up to five DNS records and an optional +// health check. Clients that submit DNS queries for the service receive an +// answer that contains up to eight healthy records. +// +// See https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14 for more information on this service. +// +// See servicediscovery package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/servicediscovery/ +// +// Using the Client +// +// To contact Amazon Route 53 Auto Naming with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the Amazon Route 53 Auto Naming client ServiceDiscovery for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/servicediscovery/#New +package servicediscovery diff --git a/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/errors.go b/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/errors.go new file mode 100644 index 00000000000..71971511bf9 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/errors.go @@ -0,0 +1,70 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package servicediscovery + +const ( + + // ErrCodeDuplicateRequest for service response error code + // "DuplicateRequest". + // + // This request tried to create an object that already exists. + ErrCodeDuplicateRequest = "DuplicateRequest" + + // ErrCodeInstanceNotFound for service response error code + // "InstanceNotFound". + // + // No instance exists with the specified ID. + ErrCodeInstanceNotFound = "InstanceNotFound" + + // ErrCodeInvalidInput for service response error code + // "InvalidInput". + // + // One or more specified values aren't valid. For example, when you're creating + // a namespace, the value of Name might not be a valid DNS name. + ErrCodeInvalidInput = "InvalidInput" + + // ErrCodeNamespaceAlreadyExists for service response error code + // "NamespaceAlreadyExists". + // + // The namespace that you're trying to create already exists. + ErrCodeNamespaceAlreadyExists = "NamespaceAlreadyExists" + + // ErrCodeNamespaceNotFound for service response error code + // "NamespaceNotFound". + // + // No namespace exists with the specified ID. + ErrCodeNamespaceNotFound = "NamespaceNotFound" + + // ErrCodeOperationNotFound for service response error code + // "OperationNotFound". + // + // No operation exists with the specified ID. + ErrCodeOperationNotFound = "OperationNotFound" + + // ErrCodeResourceInUse for service response error code + // "ResourceInUse". + // + // The specified resource can't be deleted because it contains other resources. + // For example, you can't delete a service that contains any instances. + ErrCodeResourceInUse = "ResourceInUse" + + // ErrCodeResourceLimitExceeded for service response error code + // "ResourceLimitExceeded". + // + // The resource can't be created because you've reached the limit on the number + // of resources. + ErrCodeResourceLimitExceeded = "ResourceLimitExceeded" + + // ErrCodeServiceAlreadyExists for service response error code + // "ServiceAlreadyExists". + // + // The service can't be created because a service with the same name already + // exists. + ErrCodeServiceAlreadyExists = "ServiceAlreadyExists" + + // ErrCodeServiceNotFound for service response error code + // "ServiceNotFound". + // + // No service exists with the specified ID. + ErrCodeServiceNotFound = "ServiceNotFound" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/service.go b/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/service.go new file mode 100644 index 00000000000..3a0c82b22a6 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/service.go @@ -0,0 +1,95 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package servicediscovery + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol/jsonrpc" +) + +// ServiceDiscovery provides the API operation methods for making requests to +// Amazon Route 53 Auto Naming. See this package's package overview docs +// for details on the service. +// +// ServiceDiscovery methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type ServiceDiscovery struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "servicediscovery" // Service endpoint prefix API calls made to. + EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. +) + +// New creates a new instance of the ServiceDiscovery client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// // Create a ServiceDiscovery client from just a session. +// svc := servicediscovery.New(mySession) +// +// // Create a ServiceDiscovery client with additional configuration +// svc := servicediscovery.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *ServiceDiscovery { + c := p.ClientConfig(EndpointsID, cfgs...) + return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *ServiceDiscovery { + svc := &ServiceDiscovery{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + SigningName: signingName, + SigningRegion: signingRegion, + Endpoint: endpoint, + APIVersion: "2017-03-14", + JSONVersion: "1.1", + TargetPrefix: "Route53AutoNaming_v20170314", + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(jsonrpc.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(jsonrpc.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(jsonrpc.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed(jsonrpc.UnmarshalErrorHandler) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a ServiceDiscovery operation and runs any +// custom request initialization. +func (c *ServiceDiscovery) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/ses/api.go b/vendor/github.com/aws/aws-sdk-go/service/ses/api.go index 96d8bd5268b..83b299be378 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ses/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ses/api.go @@ -38,7 +38,7 @@ const opCloneReceiptRuleSet = "CloneReceiptRuleSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloneReceiptRuleSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloneReceiptRuleSet func (c *SES) CloneReceiptRuleSetRequest(input *CloneReceiptRuleSetInput) (req *request.Request, output *CloneReceiptRuleSetOutput) { op := &request.Operation{ Name: opCloneReceiptRuleSet, @@ -84,7 +84,7 @@ func (c *SES) CloneReceiptRuleSetRequest(input *CloneReceiptRuleSetInput) (req * // Indicates that a resource could not be created because of service limits. // For a list of Amazon SES limits, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloneReceiptRuleSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloneReceiptRuleSet func (c *SES) CloneReceiptRuleSet(input *CloneReceiptRuleSetInput) (*CloneReceiptRuleSetOutput, error) { req, out := c.CloneReceiptRuleSetRequest(input) return out, req.Send() @@ -131,7 +131,7 @@ const opCreateConfigurationSet = "CreateConfigurationSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSet func (c *SES) CreateConfigurationSetRequest(input *CreateConfigurationSetInput) (req *request.Request, output *CreateConfigurationSetOutput) { op := &request.Operation{ Name: opCreateConfigurationSet, @@ -177,7 +177,7 @@ func (c *SES) CreateConfigurationSetRequest(input *CreateConfigurationSetInput) // Indicates that a resource could not be created because of service limits. // For a list of Amazon SES limits, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSet func (c *SES) CreateConfigurationSet(input *CreateConfigurationSetInput) (*CreateConfigurationSetOutput, error) { req, out := c.CreateConfigurationSetRequest(input) return out, req.Send() @@ -224,7 +224,7 @@ const opCreateConfigurationSetEventDestination = "CreateConfigurationSetEventDes // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetEventDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetEventDestination func (c *SES) CreateConfigurationSetEventDestinationRequest(input *CreateConfigurationSetEventDestinationInput) (req *request.Request, output *CreateConfigurationSetEventDestinationOutput) { op := &request.Operation{ Name: opCreateConfigurationSetEventDestination, @@ -286,7 +286,7 @@ func (c *SES) CreateConfigurationSetEventDestinationRequest(input *CreateConfigu // Indicates that a resource could not be created because of service limits. // For a list of Amazon SES limits, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetEventDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetEventDestination func (c *SES) CreateConfigurationSetEventDestination(input *CreateConfigurationSetEventDestinationInput) (*CreateConfigurationSetEventDestinationOutput, error) { req, out := c.CreateConfigurationSetEventDestinationRequest(input) return out, req.Send() @@ -333,7 +333,7 @@ const opCreateConfigurationSetTrackingOptions = "CreateConfigurationSetTrackingO // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetTrackingOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetTrackingOptions func (c *SES) CreateConfigurationSetTrackingOptionsRequest(input *CreateConfigurationSetTrackingOptionsInput) (req *request.Request, output *CreateConfigurationSetTrackingOptionsOutput) { op := &request.Operation{ Name: opCreateConfigurationSetTrackingOptions, @@ -384,7 +384,7 @@ func (c *SES) CreateConfigurationSetTrackingOptionsRequest(input *CreateConfigur // // * When the tracking domain you specified is not a valid domain or subdomain. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetTrackingOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetTrackingOptions func (c *SES) CreateConfigurationSetTrackingOptions(input *CreateConfigurationSetTrackingOptionsInput) (*CreateConfigurationSetTrackingOptionsOutput, error) { req, out := c.CreateConfigurationSetTrackingOptionsRequest(input) return out, req.Send() @@ -406,6 +406,106 @@ func (c *SES) CreateConfigurationSetTrackingOptionsWithContext(ctx aws.Context, return out, req.Send() } +const opCreateCustomVerificationEmailTemplate = "CreateCustomVerificationEmailTemplate" + +// CreateCustomVerificationEmailTemplateRequest generates a "aws/request.Request" representing the +// client's request for the CreateCustomVerificationEmailTemplate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateCustomVerificationEmailTemplate for more information on using the CreateCustomVerificationEmailTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateCustomVerificationEmailTemplateRequest method. +// req, resp := client.CreateCustomVerificationEmailTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateCustomVerificationEmailTemplate +func (c *SES) CreateCustomVerificationEmailTemplateRequest(input *CreateCustomVerificationEmailTemplateInput) (req *request.Request, output *CreateCustomVerificationEmailTemplateOutput) { + op := &request.Operation{ + Name: opCreateCustomVerificationEmailTemplate, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateCustomVerificationEmailTemplateInput{} + } + + output = &CreateCustomVerificationEmailTemplateOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(query.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// CreateCustomVerificationEmailTemplate API operation for Amazon Simple Email Service. +// +// Creates a new custom verification email template. +// +// For more information about custom verification email templates, see Using +// Custom Verification Email Templates (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html) +// in the Amazon SES Developer Guide. +// +// You can execute this operation no more than once per second. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Email Service's +// API operation CreateCustomVerificationEmailTemplate for usage and error information. +// +// Returned Error Codes: +// * ErrCodeCustomVerificationEmailTemplateAlreadyExistsException "CustomVerificationEmailTemplateAlreadyExists" +// Indicates that a custom verification email template with the name you specified +// already exists. +// +// * ErrCodeFromEmailAddressNotVerifiedException "FromEmailAddressNotVerified" +// Indicates that the sender address specified for a custom verification email +// is not verified, and is therefore not eligible to send the custom verification +// email. +// +// * ErrCodeCustomVerificationEmailInvalidContentException "CustomVerificationEmailInvalidContent" +// Indicates that custom verification email template provided content is invalid. +// +// * ErrCodeLimitExceededException "LimitExceeded" +// Indicates that a resource could not be created because of service limits. +// For a list of Amazon SES limits, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateCustomVerificationEmailTemplate +func (c *SES) CreateCustomVerificationEmailTemplate(input *CreateCustomVerificationEmailTemplateInput) (*CreateCustomVerificationEmailTemplateOutput, error) { + req, out := c.CreateCustomVerificationEmailTemplateRequest(input) + return out, req.Send() +} + +// CreateCustomVerificationEmailTemplateWithContext is the same as CreateCustomVerificationEmailTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See CreateCustomVerificationEmailTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SES) CreateCustomVerificationEmailTemplateWithContext(ctx aws.Context, input *CreateCustomVerificationEmailTemplateInput, opts ...request.Option) (*CreateCustomVerificationEmailTemplateOutput, error) { + req, out := c.CreateCustomVerificationEmailTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateReceiptFilter = "CreateReceiptFilter" // CreateReceiptFilterRequest generates a "aws/request.Request" representing the @@ -431,7 +531,7 @@ const opCreateReceiptFilter = "CreateReceiptFilter" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilter func (c *SES) CreateReceiptFilterRequest(input *CreateReceiptFilterInput) (req *request.Request, output *CreateReceiptFilterOutput) { op := &request.Operation{ Name: opCreateReceiptFilter, @@ -472,7 +572,7 @@ func (c *SES) CreateReceiptFilterRequest(input *CreateReceiptFilterInput) (req * // * ErrCodeAlreadyExistsException "AlreadyExists" // Indicates that a resource could not be created because of a naming conflict. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilter func (c *SES) CreateReceiptFilter(input *CreateReceiptFilterInput) (*CreateReceiptFilterOutput, error) { req, out := c.CreateReceiptFilterRequest(input) return out, req.Send() @@ -519,7 +619,7 @@ const opCreateReceiptRule = "CreateReceiptRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRule func (c *SES) CreateReceiptRuleRequest(input *CreateReceiptRuleInput) (req *request.Request, output *CreateReceiptRuleOutput) { op := &request.Operation{ Name: opCreateReceiptRule, @@ -583,7 +683,7 @@ func (c *SES) CreateReceiptRuleRequest(input *CreateReceiptRuleInput) (req *requ // Indicates that a resource could not be created because of service limits. // For a list of Amazon SES limits, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRule func (c *SES) CreateReceiptRule(input *CreateReceiptRuleInput) (*CreateReceiptRuleOutput, error) { req, out := c.CreateReceiptRuleRequest(input) return out, req.Send() @@ -630,7 +730,7 @@ const opCreateReceiptRuleSet = "CreateReceiptRuleSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSet func (c *SES) CreateReceiptRuleSetRequest(input *CreateReceiptRuleSetInput) (req *request.Request, output *CreateReceiptRuleSetOutput) { op := &request.Operation{ Name: opCreateReceiptRuleSet, @@ -671,7 +771,7 @@ func (c *SES) CreateReceiptRuleSetRequest(input *CreateReceiptRuleSetInput) (req // Indicates that a resource could not be created because of service limits. // For a list of Amazon SES limits, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSet func (c *SES) CreateReceiptRuleSet(input *CreateReceiptRuleSetInput) (*CreateReceiptRuleSetOutput, error) { req, out := c.CreateReceiptRuleSetRequest(input) return out, req.Send() @@ -718,7 +818,7 @@ const opCreateTemplate = "CreateTemplate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateTemplate func (c *SES) CreateTemplateRequest(input *CreateTemplateInput) (req *request.Request, output *CreateTemplateOutput) { op := &request.Operation{ Name: opCreateTemplate, @@ -762,7 +862,7 @@ func (c *SES) CreateTemplateRequest(input *CreateTemplateInput) (req *request.Re // Indicates that a resource could not be created because of service limits. // For a list of Amazon SES limits, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateTemplate func (c *SES) CreateTemplate(input *CreateTemplateInput) (*CreateTemplateOutput, error) { req, out := c.CreateTemplateRequest(input) return out, req.Send() @@ -809,7 +909,7 @@ const opDeleteConfigurationSet = "DeleteConfigurationSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSet func (c *SES) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput) (req *request.Request, output *DeleteConfigurationSetOutput) { op := &request.Operation{ Name: opDeleteConfigurationSet, @@ -845,7 +945,7 @@ func (c *SES) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput) // * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" // Indicates that the configuration set does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSet func (c *SES) DeleteConfigurationSet(input *DeleteConfigurationSetInput) (*DeleteConfigurationSetOutput, error) { req, out := c.DeleteConfigurationSetRequest(input) return out, req.Send() @@ -892,7 +992,7 @@ const opDeleteConfigurationSetEventDestination = "DeleteConfigurationSetEventDes // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestination func (c *SES) DeleteConfigurationSetEventDestinationRequest(input *DeleteConfigurationSetEventDestinationInput) (req *request.Request, output *DeleteConfigurationSetEventDestinationOutput) { op := &request.Operation{ Name: opDeleteConfigurationSetEventDestination, @@ -932,7 +1032,7 @@ func (c *SES) DeleteConfigurationSetEventDestinationRequest(input *DeleteConfigu // * ErrCodeEventDestinationDoesNotExistException "EventDestinationDoesNotExist" // Indicates that the event destination does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestination func (c *SES) DeleteConfigurationSetEventDestination(input *DeleteConfigurationSetEventDestinationInput) (*DeleteConfigurationSetEventDestinationOutput, error) { req, out := c.DeleteConfigurationSetEventDestinationRequest(input) return out, req.Send() @@ -979,7 +1079,7 @@ const opDeleteConfigurationSetTrackingOptions = "DeleteConfigurationSetTrackingO // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetTrackingOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetTrackingOptions func (c *SES) DeleteConfigurationSetTrackingOptionsRequest(input *DeleteConfigurationSetTrackingOptionsInput) (req *request.Request, output *DeleteConfigurationSetTrackingOptionsOutput) { op := &request.Operation{ Name: opDeleteConfigurationSetTrackingOptions, @@ -1025,7 +1125,7 @@ func (c *SES) DeleteConfigurationSetTrackingOptionsRequest(input *DeleteConfigur // * ErrCodeTrackingOptionsDoesNotExistException "TrackingOptionsDoesNotExistException" // Indicates that the TrackingOptions object you specified does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetTrackingOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetTrackingOptions func (c *SES) DeleteConfigurationSetTrackingOptions(input *DeleteConfigurationSetTrackingOptionsInput) (*DeleteConfigurationSetTrackingOptionsOutput, error) { req, out := c.DeleteConfigurationSetTrackingOptionsRequest(input) return out, req.Send() @@ -1047,6 +1147,88 @@ func (c *SES) DeleteConfigurationSetTrackingOptionsWithContext(ctx aws.Context, return out, req.Send() } +const opDeleteCustomVerificationEmailTemplate = "DeleteCustomVerificationEmailTemplate" + +// DeleteCustomVerificationEmailTemplateRequest generates a "aws/request.Request" representing the +// client's request for the DeleteCustomVerificationEmailTemplate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteCustomVerificationEmailTemplate for more information on using the DeleteCustomVerificationEmailTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteCustomVerificationEmailTemplateRequest method. +// req, resp := client.DeleteCustomVerificationEmailTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteCustomVerificationEmailTemplate +func (c *SES) DeleteCustomVerificationEmailTemplateRequest(input *DeleteCustomVerificationEmailTemplateInput) (req *request.Request, output *DeleteCustomVerificationEmailTemplateOutput) { + op := &request.Operation{ + Name: opDeleteCustomVerificationEmailTemplate, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteCustomVerificationEmailTemplateInput{} + } + + output = &DeleteCustomVerificationEmailTemplateOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(query.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteCustomVerificationEmailTemplate API operation for Amazon Simple Email Service. +// +// Deletes an existing custom verification email template. +// +// For more information about custom verification email templates, see Using +// Custom Verification Email Templates (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html) +// in the Amazon SES Developer Guide. +// +// You can execute this operation no more than once per second. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Email Service's +// API operation DeleteCustomVerificationEmailTemplate for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteCustomVerificationEmailTemplate +func (c *SES) DeleteCustomVerificationEmailTemplate(input *DeleteCustomVerificationEmailTemplateInput) (*DeleteCustomVerificationEmailTemplateOutput, error) { + req, out := c.DeleteCustomVerificationEmailTemplateRequest(input) + return out, req.Send() +} + +// DeleteCustomVerificationEmailTemplateWithContext is the same as DeleteCustomVerificationEmailTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteCustomVerificationEmailTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SES) DeleteCustomVerificationEmailTemplateWithContext(ctx aws.Context, input *DeleteCustomVerificationEmailTemplateInput, opts ...request.Option) (*DeleteCustomVerificationEmailTemplateOutput, error) { + req, out := c.DeleteCustomVerificationEmailTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteIdentity = "DeleteIdentity" // DeleteIdentityRequest generates a "aws/request.Request" representing the @@ -1072,7 +1254,7 @@ const opDeleteIdentity = "DeleteIdentity" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentity func (c *SES) DeleteIdentityRequest(input *DeleteIdentityInput) (req *request.Request, output *DeleteIdentityOutput) { op := &request.Operation{ Name: opDeleteIdentity, @@ -1102,7 +1284,7 @@ func (c *SES) DeleteIdentityRequest(input *DeleteIdentityInput) (req *request.Re // // See the AWS API reference guide for Amazon Simple Email Service's // API operation DeleteIdentity for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentity func (c *SES) DeleteIdentity(input *DeleteIdentityInput) (*DeleteIdentityOutput, error) { req, out := c.DeleteIdentityRequest(input) return out, req.Send() @@ -1149,7 +1331,7 @@ const opDeleteIdentityPolicy = "DeleteIdentityPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityPolicy func (c *SES) DeleteIdentityPolicyRequest(input *DeleteIdentityPolicyInput) (req *request.Request, output *DeleteIdentityPolicyOutput) { op := &request.Operation{ Name: opDeleteIdentityPolicy, @@ -1187,7 +1369,7 @@ func (c *SES) DeleteIdentityPolicyRequest(input *DeleteIdentityPolicyInput) (req // // See the AWS API reference guide for Amazon Simple Email Service's // API operation DeleteIdentityPolicy for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityPolicy func (c *SES) DeleteIdentityPolicy(input *DeleteIdentityPolicyInput) (*DeleteIdentityPolicyOutput, error) { req, out := c.DeleteIdentityPolicyRequest(input) return out, req.Send() @@ -1234,7 +1416,7 @@ const opDeleteReceiptFilter = "DeleteReceiptFilter" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptFilter func (c *SES) DeleteReceiptFilterRequest(input *DeleteReceiptFilterInput) (req *request.Request, output *DeleteReceiptFilterOutput) { op := &request.Operation{ Name: opDeleteReceiptFilter, @@ -1266,7 +1448,7 @@ func (c *SES) DeleteReceiptFilterRequest(input *DeleteReceiptFilterInput) (req * // // See the AWS API reference guide for Amazon Simple Email Service's // API operation DeleteReceiptFilter for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptFilter func (c *SES) DeleteReceiptFilter(input *DeleteReceiptFilterInput) (*DeleteReceiptFilterOutput, error) { req, out := c.DeleteReceiptFilterRequest(input) return out, req.Send() @@ -1313,7 +1495,7 @@ const opDeleteReceiptRule = "DeleteReceiptRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRule func (c *SES) DeleteReceiptRuleRequest(input *DeleteReceiptRuleInput) (req *request.Request, output *DeleteReceiptRuleOutput) { op := &request.Operation{ Name: opDeleteReceiptRule, @@ -1350,7 +1532,7 @@ func (c *SES) DeleteReceiptRuleRequest(input *DeleteReceiptRuleInput) (req *requ // * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" // Indicates that the provided receipt rule set does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRule func (c *SES) DeleteReceiptRule(input *DeleteReceiptRuleInput) (*DeleteReceiptRuleOutput, error) { req, out := c.DeleteReceiptRuleRequest(input) return out, req.Send() @@ -1397,7 +1579,7 @@ const opDeleteReceiptRuleSet = "DeleteReceiptRuleSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleSet func (c *SES) DeleteReceiptRuleSetRequest(input *DeleteReceiptRuleSetInput) (req *request.Request, output *DeleteReceiptRuleSetOutput) { op := &request.Operation{ Name: opDeleteReceiptRuleSet, @@ -1436,7 +1618,7 @@ func (c *SES) DeleteReceiptRuleSetRequest(input *DeleteReceiptRuleSetInput) (req // * ErrCodeCannotDeleteException "CannotDelete" // Indicates that the delete operation could not be completed. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleSet func (c *SES) DeleteReceiptRuleSet(input *DeleteReceiptRuleSetInput) (*DeleteReceiptRuleSetOutput, error) { req, out := c.DeleteReceiptRuleSetRequest(input) return out, req.Send() @@ -1483,7 +1665,7 @@ const opDeleteTemplate = "DeleteTemplate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteTemplate func (c *SES) DeleteTemplateRequest(input *DeleteTemplateInput) (req *request.Request, output *DeleteTemplateOutput) { op := &request.Operation{ Name: opDeleteTemplate, @@ -1512,7 +1694,7 @@ func (c *SES) DeleteTemplateRequest(input *DeleteTemplateInput) (req *request.Re // // See the AWS API reference guide for Amazon Simple Email Service's // API operation DeleteTemplate for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteTemplate func (c *SES) DeleteTemplate(input *DeleteTemplateInput) (*DeleteTemplateOutput, error) { req, out := c.DeleteTemplateRequest(input) return out, req.Send() @@ -1559,7 +1741,7 @@ const opDeleteVerifiedEmailAddress = "DeleteVerifiedEmailAddress" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteVerifiedEmailAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteVerifiedEmailAddress func (c *SES) DeleteVerifiedEmailAddressRequest(input *DeleteVerifiedEmailAddressInput) (req *request.Request, output *DeleteVerifiedEmailAddressOutput) { op := &request.Operation{ Name: opDeleteVerifiedEmailAddress, @@ -1589,7 +1771,7 @@ func (c *SES) DeleteVerifiedEmailAddressRequest(input *DeleteVerifiedEmailAddres // // See the AWS API reference guide for Amazon Simple Email Service's // API operation DeleteVerifiedEmailAddress for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteVerifiedEmailAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteVerifiedEmailAddress func (c *SES) DeleteVerifiedEmailAddress(input *DeleteVerifiedEmailAddressInput) (*DeleteVerifiedEmailAddressOutput, error) { req, out := c.DeleteVerifiedEmailAddressRequest(input) return out, req.Send() @@ -1636,7 +1818,7 @@ const opDescribeActiveReceiptRuleSet = "DescribeActiveReceiptRuleSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeActiveReceiptRuleSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeActiveReceiptRuleSet func (c *SES) DescribeActiveReceiptRuleSetRequest(input *DescribeActiveReceiptRuleSetInput) (req *request.Request, output *DescribeActiveReceiptRuleSetOutput) { op := &request.Operation{ Name: opDescribeActiveReceiptRuleSet, @@ -1669,7 +1851,7 @@ func (c *SES) DescribeActiveReceiptRuleSetRequest(input *DescribeActiveReceiptRu // // See the AWS API reference guide for Amazon Simple Email Service's // API operation DescribeActiveReceiptRuleSet for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeActiveReceiptRuleSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeActiveReceiptRuleSet func (c *SES) DescribeActiveReceiptRuleSet(input *DescribeActiveReceiptRuleSetInput) (*DescribeActiveReceiptRuleSetOutput, error) { req, out := c.DescribeActiveReceiptRuleSetRequest(input) return out, req.Send() @@ -1716,7 +1898,7 @@ const opDescribeConfigurationSet = "DescribeConfigurationSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeConfigurationSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeConfigurationSet func (c *SES) DescribeConfigurationSetRequest(input *DescribeConfigurationSetInput) (req *request.Request, output *DescribeConfigurationSetOutput) { op := &request.Operation{ Name: opDescribeConfigurationSet, @@ -1751,7 +1933,7 @@ func (c *SES) DescribeConfigurationSetRequest(input *DescribeConfigurationSetInp // * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" // Indicates that the configuration set does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeConfigurationSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeConfigurationSet func (c *SES) DescribeConfigurationSet(input *DescribeConfigurationSetInput) (*DescribeConfigurationSetOutput, error) { req, out := c.DescribeConfigurationSetRequest(input) return out, req.Send() @@ -1798,7 +1980,7 @@ const opDescribeReceiptRule = "DescribeReceiptRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRule func (c *SES) DescribeReceiptRuleRequest(input *DescribeReceiptRuleInput) (req *request.Request, output *DescribeReceiptRuleOutput) { op := &request.Operation{ Name: opDescribeReceiptRule, @@ -1838,7 +2020,7 @@ func (c *SES) DescribeReceiptRuleRequest(input *DescribeReceiptRuleInput) (req * // * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" // Indicates that the provided receipt rule set does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRule func (c *SES) DescribeReceiptRule(input *DescribeReceiptRuleInput) (*DescribeReceiptRuleOutput, error) { req, out := c.DescribeReceiptRuleRequest(input) return out, req.Send() @@ -1885,7 +2067,7 @@ const opDescribeReceiptRuleSet = "DescribeReceiptRuleSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSet func (c *SES) DescribeReceiptRuleSetRequest(input *DescribeReceiptRuleSetInput) (req *request.Request, output *DescribeReceiptRuleSetOutput) { op := &request.Operation{ Name: opDescribeReceiptRuleSet, @@ -1922,7 +2104,7 @@ func (c *SES) DescribeReceiptRuleSetRequest(input *DescribeReceiptRuleSetInput) // * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" // Indicates that the provided receipt rule set does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSet func (c *SES) DescribeReceiptRuleSet(input *DescribeReceiptRuleSetInput) (*DescribeReceiptRuleSetOutput, error) { req, out := c.DescribeReceiptRuleSetRequest(input) return out, req.Send() @@ -1944,6 +2126,169 @@ func (c *SES) DescribeReceiptRuleSetWithContext(ctx aws.Context, input *Describe return out, req.Send() } +const opGetAccountSendingEnabled = "GetAccountSendingEnabled" + +// GetAccountSendingEnabledRequest generates a "aws/request.Request" representing the +// client's request for the GetAccountSendingEnabled operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetAccountSendingEnabled for more information on using the GetAccountSendingEnabled +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetAccountSendingEnabledRequest method. +// req, resp := client.GetAccountSendingEnabledRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetAccountSendingEnabled +func (c *SES) GetAccountSendingEnabledRequest(input *GetAccountSendingEnabledInput) (req *request.Request, output *GetAccountSendingEnabledOutput) { + op := &request.Operation{ + Name: opGetAccountSendingEnabled, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetAccountSendingEnabledInput{} + } + + output = &GetAccountSendingEnabledOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetAccountSendingEnabled API operation for Amazon Simple Email Service. +// +// Returns the email sending status of the Amazon SES account. +// +// You can execute this operation no more than once per second. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Email Service's +// API operation GetAccountSendingEnabled for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetAccountSendingEnabled +func (c *SES) GetAccountSendingEnabled(input *GetAccountSendingEnabledInput) (*GetAccountSendingEnabledOutput, error) { + req, out := c.GetAccountSendingEnabledRequest(input) + return out, req.Send() +} + +// GetAccountSendingEnabledWithContext is the same as GetAccountSendingEnabled with the addition of +// the ability to pass a context and additional request options. +// +// See GetAccountSendingEnabled for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SES) GetAccountSendingEnabledWithContext(ctx aws.Context, input *GetAccountSendingEnabledInput, opts ...request.Option) (*GetAccountSendingEnabledOutput, error) { + req, out := c.GetAccountSendingEnabledRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetCustomVerificationEmailTemplate = "GetCustomVerificationEmailTemplate" + +// GetCustomVerificationEmailTemplateRequest generates a "aws/request.Request" representing the +// client's request for the GetCustomVerificationEmailTemplate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetCustomVerificationEmailTemplate for more information on using the GetCustomVerificationEmailTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetCustomVerificationEmailTemplateRequest method. +// req, resp := client.GetCustomVerificationEmailTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetCustomVerificationEmailTemplate +func (c *SES) GetCustomVerificationEmailTemplateRequest(input *GetCustomVerificationEmailTemplateInput) (req *request.Request, output *GetCustomVerificationEmailTemplateOutput) { + op := &request.Operation{ + Name: opGetCustomVerificationEmailTemplate, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetCustomVerificationEmailTemplateInput{} + } + + output = &GetCustomVerificationEmailTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetCustomVerificationEmailTemplate API operation for Amazon Simple Email Service. +// +// Returns the custom email verification template for the template name you +// specify. +// +// For more information about custom verification email templates, see Using +// Custom Verification Email Templates (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html) +// in the Amazon SES Developer Guide. +// +// You can execute this operation no more than once per second. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Email Service's +// API operation GetCustomVerificationEmailTemplate for usage and error information. +// +// Returned Error Codes: +// * ErrCodeCustomVerificationEmailTemplateDoesNotExistException "CustomVerificationEmailTemplateDoesNotExist" +// Indicates that a custom verification email template with the name you specified +// does not exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetCustomVerificationEmailTemplate +func (c *SES) GetCustomVerificationEmailTemplate(input *GetCustomVerificationEmailTemplateInput) (*GetCustomVerificationEmailTemplateOutput, error) { + req, out := c.GetCustomVerificationEmailTemplateRequest(input) + return out, req.Send() +} + +// GetCustomVerificationEmailTemplateWithContext is the same as GetCustomVerificationEmailTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See GetCustomVerificationEmailTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SES) GetCustomVerificationEmailTemplateWithContext(ctx aws.Context, input *GetCustomVerificationEmailTemplateInput, opts ...request.Option) (*GetCustomVerificationEmailTemplateOutput, error) { + req, out := c.GetCustomVerificationEmailTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetIdentityDkimAttributes = "GetIdentityDkimAttributes" // GetIdentityDkimAttributesRequest generates a "aws/request.Request" representing the @@ -1969,7 +2314,7 @@ const opGetIdentityDkimAttributes = "GetIdentityDkimAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityDkimAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityDkimAttributes func (c *SES) GetIdentityDkimAttributesRequest(input *GetIdentityDkimAttributesInput) (req *request.Request, output *GetIdentityDkimAttributesOutput) { op := &request.Operation{ Name: opGetIdentityDkimAttributes, @@ -2017,7 +2362,7 @@ func (c *SES) GetIdentityDkimAttributesRequest(input *GetIdentityDkimAttributesI // // See the AWS API reference guide for Amazon Simple Email Service's // API operation GetIdentityDkimAttributes for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityDkimAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityDkimAttributes func (c *SES) GetIdentityDkimAttributes(input *GetIdentityDkimAttributesInput) (*GetIdentityDkimAttributesOutput, error) { req, out := c.GetIdentityDkimAttributesRequest(input) return out, req.Send() @@ -2064,7 +2409,7 @@ const opGetIdentityMailFromDomainAttributes = "GetIdentityMailFromDomainAttribut // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityMailFromDomainAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityMailFromDomainAttributes func (c *SES) GetIdentityMailFromDomainAttributesRequest(input *GetIdentityMailFromDomainAttributesInput) (req *request.Request, output *GetIdentityMailFromDomainAttributesOutput) { op := &request.Operation{ Name: opGetIdentityMailFromDomainAttributes, @@ -2095,7 +2440,7 @@ func (c *SES) GetIdentityMailFromDomainAttributesRequest(input *GetIdentityMailF // // See the AWS API reference guide for Amazon Simple Email Service's // API operation GetIdentityMailFromDomainAttributes for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityMailFromDomainAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityMailFromDomainAttributes func (c *SES) GetIdentityMailFromDomainAttributes(input *GetIdentityMailFromDomainAttributesInput) (*GetIdentityMailFromDomainAttributesOutput, error) { req, out := c.GetIdentityMailFromDomainAttributesRequest(input) return out, req.Send() @@ -2142,7 +2487,7 @@ const opGetIdentityNotificationAttributes = "GetIdentityNotificationAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityNotificationAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityNotificationAttributes func (c *SES) GetIdentityNotificationAttributesRequest(input *GetIdentityNotificationAttributesInput) (req *request.Request, output *GetIdentityNotificationAttributesOutput) { op := &request.Operation{ Name: opGetIdentityNotificationAttributes, @@ -2176,7 +2521,7 @@ func (c *SES) GetIdentityNotificationAttributesRequest(input *GetIdentityNotific // // See the AWS API reference guide for Amazon Simple Email Service's // API operation GetIdentityNotificationAttributes for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityNotificationAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityNotificationAttributes func (c *SES) GetIdentityNotificationAttributes(input *GetIdentityNotificationAttributesInput) (*GetIdentityNotificationAttributesOutput, error) { req, out := c.GetIdentityNotificationAttributesRequest(input) return out, req.Send() @@ -2223,7 +2568,7 @@ const opGetIdentityPolicies = "GetIdentityPolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityPolicies func (c *SES) GetIdentityPoliciesRequest(input *GetIdentityPoliciesInput) (req *request.Request, output *GetIdentityPoliciesOutput) { op := &request.Operation{ Name: opGetIdentityPolicies, @@ -2262,7 +2607,7 @@ func (c *SES) GetIdentityPoliciesRequest(input *GetIdentityPoliciesInput) (req * // // See the AWS API reference guide for Amazon Simple Email Service's // API operation GetIdentityPolicies for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityPolicies func (c *SES) GetIdentityPolicies(input *GetIdentityPoliciesInput) (*GetIdentityPoliciesOutput, error) { req, out := c.GetIdentityPoliciesRequest(input) return out, req.Send() @@ -2309,7 +2654,7 @@ const opGetIdentityVerificationAttributes = "GetIdentityVerificationAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityVerificationAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityVerificationAttributes func (c *SES) GetIdentityVerificationAttributesRequest(input *GetIdentityVerificationAttributesInput) (req *request.Request, output *GetIdentityVerificationAttributesOutput) { op := &request.Operation{ Name: opGetIdentityVerificationAttributes, @@ -2357,7 +2702,7 @@ func (c *SES) GetIdentityVerificationAttributesRequest(input *GetIdentityVerific // // See the AWS API reference guide for Amazon Simple Email Service's // API operation GetIdentityVerificationAttributes for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityVerificationAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityVerificationAttributes func (c *SES) GetIdentityVerificationAttributes(input *GetIdentityVerificationAttributesInput) (*GetIdentityVerificationAttributesOutput, error) { req, out := c.GetIdentityVerificationAttributesRequest(input) return out, req.Send() @@ -2404,7 +2749,7 @@ const opGetSendQuota = "GetSendQuota" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendQuota +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendQuota func (c *SES) GetSendQuotaRequest(input *GetSendQuotaInput) (req *request.Request, output *GetSendQuotaOutput) { op := &request.Operation{ Name: opGetSendQuota, @@ -2433,7 +2778,7 @@ func (c *SES) GetSendQuotaRequest(input *GetSendQuotaInput) (req *request.Reques // // See the AWS API reference guide for Amazon Simple Email Service's // API operation GetSendQuota for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendQuota +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendQuota func (c *SES) GetSendQuota(input *GetSendQuotaInput) (*GetSendQuotaOutput, error) { req, out := c.GetSendQuotaRequest(input) return out, req.Send() @@ -2480,7 +2825,7 @@ const opGetSendStatistics = "GetSendStatistics" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendStatistics +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendStatistics func (c *SES) GetSendStatisticsRequest(input *GetSendStatisticsInput) (req *request.Request, output *GetSendStatisticsOutput) { op := &request.Operation{ Name: opGetSendStatistics, @@ -2511,7 +2856,7 @@ func (c *SES) GetSendStatisticsRequest(input *GetSendStatisticsInput) (req *requ // // See the AWS API reference guide for Amazon Simple Email Service's // API operation GetSendStatistics for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendStatistics +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendStatistics func (c *SES) GetSendStatistics(input *GetSendStatisticsInput) (*GetSendStatisticsOutput, error) { req, out := c.GetSendStatisticsRequest(input) return out, req.Send() @@ -2558,7 +2903,7 @@ const opGetTemplate = "GetTemplate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetTemplate func (c *SES) GetTemplateRequest(input *GetTemplateInput) (req *request.Request, output *GetTemplateOutput) { op := &request.Operation{ Name: opGetTemplate, @@ -2594,7 +2939,7 @@ func (c *SES) GetTemplateRequest(input *GetTemplateInput) (req *request.Request, // Indicates that the Template object you specified does not exist in your Amazon // SES account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetTemplate func (c *SES) GetTemplate(input *GetTemplateInput) (*GetTemplateOutput, error) { req, out := c.GetTemplateRequest(input) return out, req.Send() @@ -2641,7 +2986,7 @@ const opListConfigurationSets = "ListConfigurationSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListConfigurationSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListConfigurationSets func (c *SES) ListConfigurationSetsRequest(input *ListConfigurationSetsInput) (req *request.Request, output *ListConfigurationSetsOutput) { op := &request.Operation{ Name: opListConfigurationSets, @@ -2678,7 +3023,7 @@ func (c *SES) ListConfigurationSetsRequest(input *ListConfigurationSetsInput) (r // // See the AWS API reference guide for Amazon Simple Email Service's // API operation ListConfigurationSets for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListConfigurationSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListConfigurationSets func (c *SES) ListConfigurationSets(input *ListConfigurationSetsInput) (*ListConfigurationSetsOutput, error) { req, out := c.ListConfigurationSetsRequest(input) return out, req.Send() @@ -2700,58 +3045,194 @@ func (c *SES) ListConfigurationSetsWithContext(ctx aws.Context, input *ListConfi return out, req.Send() } -const opListIdentities = "ListIdentities" +const opListCustomVerificationEmailTemplates = "ListCustomVerificationEmailTemplates" -// ListIdentitiesRequest generates a "aws/request.Request" representing the -// client's request for the ListIdentities operation. The "output" return +// ListCustomVerificationEmailTemplatesRequest generates a "aws/request.Request" representing the +// client's request for the ListCustomVerificationEmailTemplates operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListIdentities for more information on using the ListIdentities +// See ListCustomVerificationEmailTemplates for more information on using the ListCustomVerificationEmailTemplates // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListIdentitiesRequest method. -// req, resp := client.ListIdentitiesRequest(params) +// // Example sending a request using the ListCustomVerificationEmailTemplatesRequest method. +// req, resp := client.ListCustomVerificationEmailTemplatesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentities -func (c *SES) ListIdentitiesRequest(input *ListIdentitiesInput) (req *request.Request, output *ListIdentitiesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListCustomVerificationEmailTemplates +func (c *SES) ListCustomVerificationEmailTemplatesRequest(input *ListCustomVerificationEmailTemplatesInput) (req *request.Request, output *ListCustomVerificationEmailTemplatesOutput) { op := &request.Operation{ - Name: opListIdentities, + Name: opListCustomVerificationEmailTemplates, HTTPMethod: "POST", HTTPPath: "/", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, - LimitToken: "MaxItems", + LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { - input = &ListIdentitiesInput{} + input = &ListCustomVerificationEmailTemplatesInput{} } - output = &ListIdentitiesOutput{} + output = &ListCustomVerificationEmailTemplatesOutput{} req = c.newRequest(op, input, output) return } -// ListIdentities API operation for Amazon Simple Email Service. +// ListCustomVerificationEmailTemplates API operation for Amazon Simple Email Service. // -// Returns a list containing all of the identities (email addresses and domains) -// for your AWS account, regardless of verification status. +// Lists the existing custom verification email templates for your account. +// +// For more information about custom verification email templates, see Using +// Custom Verification Email Templates (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html) +// in the Amazon SES Developer Guide. +// +// You can execute this operation no more than once per second. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Email Service's +// API operation ListCustomVerificationEmailTemplates for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListCustomVerificationEmailTemplates +func (c *SES) ListCustomVerificationEmailTemplates(input *ListCustomVerificationEmailTemplatesInput) (*ListCustomVerificationEmailTemplatesOutput, error) { + req, out := c.ListCustomVerificationEmailTemplatesRequest(input) + return out, req.Send() +} + +// ListCustomVerificationEmailTemplatesWithContext is the same as ListCustomVerificationEmailTemplates with the addition of +// the ability to pass a context and additional request options. +// +// See ListCustomVerificationEmailTemplates for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SES) ListCustomVerificationEmailTemplatesWithContext(ctx aws.Context, input *ListCustomVerificationEmailTemplatesInput, opts ...request.Option) (*ListCustomVerificationEmailTemplatesOutput, error) { + req, out := c.ListCustomVerificationEmailTemplatesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListCustomVerificationEmailTemplatesPages iterates over the pages of a ListCustomVerificationEmailTemplates operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListCustomVerificationEmailTemplates method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListCustomVerificationEmailTemplates operation. +// pageNum := 0 +// err := client.ListCustomVerificationEmailTemplatesPages(params, +// func(page *ListCustomVerificationEmailTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *SES) ListCustomVerificationEmailTemplatesPages(input *ListCustomVerificationEmailTemplatesInput, fn func(*ListCustomVerificationEmailTemplatesOutput, bool) bool) error { + return c.ListCustomVerificationEmailTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListCustomVerificationEmailTemplatesPagesWithContext same as ListCustomVerificationEmailTemplatesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SES) ListCustomVerificationEmailTemplatesPagesWithContext(ctx aws.Context, input *ListCustomVerificationEmailTemplatesInput, fn func(*ListCustomVerificationEmailTemplatesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListCustomVerificationEmailTemplatesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListCustomVerificationEmailTemplatesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListCustomVerificationEmailTemplatesOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListIdentities = "ListIdentities" + +// ListIdentitiesRequest generates a "aws/request.Request" representing the +// client's request for the ListIdentities operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListIdentities for more information on using the ListIdentities +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListIdentitiesRequest method. +// req, resp := client.ListIdentitiesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentities +func (c *SES) ListIdentitiesRequest(input *ListIdentitiesInput) (req *request.Request, output *ListIdentitiesOutput) { + op := &request.Operation{ + Name: opListIdentities, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxItems", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListIdentitiesInput{} + } + + output = &ListIdentitiesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListIdentities API operation for Amazon Simple Email Service. +// +// Returns a list containing all of the identities (email addresses and domains) +// for your AWS account, regardless of verification status. // // You can execute this operation no more than once per second. // @@ -2761,7 +3242,7 @@ func (c *SES) ListIdentitiesRequest(input *ListIdentitiesInput) (req *request.Re // // See the AWS API reference guide for Amazon Simple Email Service's // API operation ListIdentities for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentities +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentities func (c *SES) ListIdentities(input *ListIdentitiesInput) (*ListIdentitiesOutput, error) { req, out := c.ListIdentitiesRequest(input) return out, req.Send() @@ -2858,7 +3339,7 @@ const opListIdentityPolicies = "ListIdentityPolicies" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentityPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentityPolicies func (c *SES) ListIdentityPoliciesRequest(input *ListIdentityPoliciesInput) (req *request.Request, output *ListIdentityPoliciesOutput) { op := &request.Operation{ Name: opListIdentityPolicies, @@ -2896,7 +3377,7 @@ func (c *SES) ListIdentityPoliciesRequest(input *ListIdentityPoliciesInput) (req // // See the AWS API reference guide for Amazon Simple Email Service's // API operation ListIdentityPolicies for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentityPolicies +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentityPolicies func (c *SES) ListIdentityPolicies(input *ListIdentityPoliciesInput) (*ListIdentityPoliciesOutput, error) { req, out := c.ListIdentityPoliciesRequest(input) return out, req.Send() @@ -2943,7 +3424,7 @@ const opListReceiptFilters = "ListReceiptFilters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptFilters +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptFilters func (c *SES) ListReceiptFiltersRequest(input *ListReceiptFiltersInput) (req *request.Request, output *ListReceiptFiltersOutput) { op := &request.Operation{ Name: opListReceiptFilters, @@ -2975,7 +3456,7 @@ func (c *SES) ListReceiptFiltersRequest(input *ListReceiptFiltersInput) (req *re // // See the AWS API reference guide for Amazon Simple Email Service's // API operation ListReceiptFilters for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptFilters +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptFilters func (c *SES) ListReceiptFilters(input *ListReceiptFiltersInput) (*ListReceiptFiltersOutput, error) { req, out := c.ListReceiptFiltersRequest(input) return out, req.Send() @@ -3022,7 +3503,7 @@ const opListReceiptRuleSets = "ListReceiptRuleSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptRuleSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptRuleSets func (c *SES) ListReceiptRuleSetsRequest(input *ListReceiptRuleSetsInput) (req *request.Request, output *ListReceiptRuleSetsOutput) { op := &request.Operation{ Name: opListReceiptRuleSets, @@ -3057,7 +3538,7 @@ func (c *SES) ListReceiptRuleSetsRequest(input *ListReceiptRuleSetsInput) (req * // // See the AWS API reference guide for Amazon Simple Email Service's // API operation ListReceiptRuleSets for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptRuleSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptRuleSets func (c *SES) ListReceiptRuleSets(input *ListReceiptRuleSetsInput) (*ListReceiptRuleSetsOutput, error) { req, out := c.ListReceiptRuleSetsRequest(input) return out, req.Send() @@ -3104,7 +3585,7 @@ const opListTemplates = "ListTemplates" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListTemplates +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListTemplates func (c *SES) ListTemplatesRequest(input *ListTemplatesInput) (req *request.Request, output *ListTemplatesOutput) { op := &request.Operation{ Name: opListTemplates, @@ -3133,7 +3614,7 @@ func (c *SES) ListTemplatesRequest(input *ListTemplatesInput) (req *request.Requ // // See the AWS API reference guide for Amazon Simple Email Service's // API operation ListTemplates for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListTemplates +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListTemplates func (c *SES) ListTemplates(input *ListTemplatesInput) (*ListTemplatesOutput, error) { req, out := c.ListTemplatesRequest(input) return out, req.Send() @@ -3180,7 +3661,7 @@ const opListVerifiedEmailAddresses = "ListVerifiedEmailAddresses" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListVerifiedEmailAddresses +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListVerifiedEmailAddresses func (c *SES) ListVerifiedEmailAddressesRequest(input *ListVerifiedEmailAddressesInput) (req *request.Request, output *ListVerifiedEmailAddressesOutput) { op := &request.Operation{ Name: opListVerifiedEmailAddresses, @@ -3208,7 +3689,7 @@ func (c *SES) ListVerifiedEmailAddressesRequest(input *ListVerifiedEmailAddresse // // See the AWS API reference guide for Amazon Simple Email Service's // API operation ListVerifiedEmailAddresses for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListVerifiedEmailAddresses +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListVerifiedEmailAddresses func (c *SES) ListVerifiedEmailAddresses(input *ListVerifiedEmailAddressesInput) (*ListVerifiedEmailAddressesOutput, error) { req, out := c.ListVerifiedEmailAddressesRequest(input) return out, req.Send() @@ -3255,7 +3736,7 @@ const opPutIdentityPolicy = "PutIdentityPolicy" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutIdentityPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutIdentityPolicy func (c *SES) PutIdentityPolicyRequest(input *PutIdentityPolicyInput) (req *request.Request, output *PutIdentityPolicyOutput) { op := &request.Operation{ Name: opPutIdentityPolicy, @@ -3298,7 +3779,7 @@ func (c *SES) PutIdentityPolicyRequest(input *PutIdentityPolicyInput) (req *requ // Indicates that the provided policy is invalid. Check the error stack for // more information about what caused the error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutIdentityPolicy +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutIdentityPolicy func (c *SES) PutIdentityPolicy(input *PutIdentityPolicyInput) (*PutIdentityPolicyOutput, error) { req, out := c.PutIdentityPolicyRequest(input) return out, req.Send() @@ -3345,7 +3826,7 @@ const opReorderReceiptRuleSet = "ReorderReceiptRuleSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReorderReceiptRuleSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReorderReceiptRuleSet func (c *SES) ReorderReceiptRuleSetRequest(input *ReorderReceiptRuleSetInput) (req *request.Request, output *ReorderReceiptRuleSetOutput) { op := &request.Operation{ Name: opReorderReceiptRuleSet, @@ -3389,7 +3870,7 @@ func (c *SES) ReorderReceiptRuleSetRequest(input *ReorderReceiptRuleSetInput) (r // * ErrCodeRuleDoesNotExistException "RuleDoesNotExist" // Indicates that the provided receipt rule does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReorderReceiptRuleSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReorderReceiptRuleSet func (c *SES) ReorderReceiptRuleSet(input *ReorderReceiptRuleSetInput) (*ReorderReceiptRuleSetOutput, error) { req, out := c.ReorderReceiptRuleSetRequest(input) return out, req.Send() @@ -3436,7 +3917,7 @@ const opSendBounce = "SendBounce" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBounce +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBounce func (c *SES) SendBounceRequest(input *SendBounceInput) (req *request.Request, output *SendBounceOutput) { op := &request.Operation{ Name: opSendBounce, @@ -3479,7 +3960,7 @@ func (c *SES) SendBounceRequest(input *SendBounceInput) (req *request.Request, o // Indicates that the action failed, and the message could not be sent. Check // the error stack for more information about what caused the error. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBounce +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBounce func (c *SES) SendBounce(input *SendBounceInput) (*SendBounceOutput, error) { req, out := c.SendBounceRequest(input) return out, req.Send() @@ -3526,7 +4007,7 @@ const opSendBulkTemplatedEmail = "SendBulkTemplatedEmail" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBulkTemplatedEmail +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBulkTemplatedEmail func (c *SES) SendBulkTemplatedEmailRequest(input *SendBulkTemplatedEmailInput) (req *request.Request, output *SendBulkTemplatedEmailOutput) { op := &request.Operation{ Name: opSendBulkTemplatedEmail, @@ -3597,7 +4078,18 @@ func (c *SES) SendBulkTemplatedEmailRequest(input *SendBulkTemplatedEmailInput) // Indicates that the Template object you specified does not exist in your Amazon // SES account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBulkTemplatedEmail +// * ErrCodeConfigurationSetSendingPausedException "ConfigurationSetSendingPausedException" +// Indicates that email sending is disabled for the configuration set. +// +// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. +// +// * ErrCodeAccountSendingPausedException "AccountSendingPausedException" +// Indicates that email sending is disabled for your entire Amazon SES account. +// +// You can enable or disable email sending for your Amazon SES account using +// UpdateAccountSendingEnabled. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBulkTemplatedEmail func (c *SES) SendBulkTemplatedEmail(input *SendBulkTemplatedEmailInput) (*SendBulkTemplatedEmailOutput, error) { req, out := c.SendBulkTemplatedEmailRequest(input) return out, req.Send() @@ -3619,6 +4111,110 @@ func (c *SES) SendBulkTemplatedEmailWithContext(ctx aws.Context, input *SendBulk return out, req.Send() } +const opSendCustomVerificationEmail = "SendCustomVerificationEmail" + +// SendCustomVerificationEmailRequest generates a "aws/request.Request" representing the +// client's request for the SendCustomVerificationEmail operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See SendCustomVerificationEmail for more information on using the SendCustomVerificationEmail +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the SendCustomVerificationEmailRequest method. +// req, resp := client.SendCustomVerificationEmailRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendCustomVerificationEmail +func (c *SES) SendCustomVerificationEmailRequest(input *SendCustomVerificationEmailInput) (req *request.Request, output *SendCustomVerificationEmailOutput) { + op := &request.Operation{ + Name: opSendCustomVerificationEmail, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &SendCustomVerificationEmailInput{} + } + + output = &SendCustomVerificationEmailOutput{} + req = c.newRequest(op, input, output) + return +} + +// SendCustomVerificationEmail API operation for Amazon Simple Email Service. +// +// Adds an email address to the list of identities for your Amazon SES account +// and attempts to verify it. As a result of executing this operation, a customized +// verification email is sent to the specified address. +// +// To use this operation, you must first create a custom verification email +// template. For more information about creating and using custom verification +// email templates, see Using Custom Verification Email Templates (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html) +// in the Amazon SES Developer Guide. +// +// You can execute this operation no more than once per second. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Email Service's +// API operation SendCustomVerificationEmail for usage and error information. +// +// Returned Error Codes: +// * ErrCodeMessageRejected "MessageRejected" +// Indicates that the action failed, and the message could not be sent. Check +// the error stack for more information about what caused the error. +// +// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. +// +// * ErrCodeCustomVerificationEmailTemplateDoesNotExistException "CustomVerificationEmailTemplateDoesNotExist" +// Indicates that a custom verification email template with the name you specified +// does not exist. +// +// * ErrCodeFromEmailAddressNotVerifiedException "FromEmailAddressNotVerified" +// Indicates that the sender address specified for a custom verification email +// is not verified, and is therefore not eligible to send the custom verification +// email. +// +// * ErrCodeProductionAccessNotGrantedException "ProductionAccessNotGranted" +// Indicates that the account has not been granted production access. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendCustomVerificationEmail +func (c *SES) SendCustomVerificationEmail(input *SendCustomVerificationEmailInput) (*SendCustomVerificationEmailOutput, error) { + req, out := c.SendCustomVerificationEmailRequest(input) + return out, req.Send() +} + +// SendCustomVerificationEmailWithContext is the same as SendCustomVerificationEmail with the addition of +// the ability to pass a context and additional request options. +// +// See SendCustomVerificationEmail for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SES) SendCustomVerificationEmailWithContext(ctx aws.Context, input *SendCustomVerificationEmailInput, opts ...request.Option) (*SendCustomVerificationEmailOutput, error) { + req, out := c.SendCustomVerificationEmailRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opSendEmail = "SendEmail" // SendEmailRequest generates a "aws/request.Request" representing the @@ -3644,7 +4240,7 @@ const opSendEmail = "SendEmail" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendEmail +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendEmail func (c *SES) SendEmailRequest(input *SendEmailInput) (req *request.Request, output *SendEmailOutput) { op := &request.Operation{ Name: opSendEmail, @@ -3720,7 +4316,18 @@ func (c *SES) SendEmailRequest(input *SendEmailInput) (req *request.Request, out // * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" // Indicates that the configuration set does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendEmail +// * ErrCodeConfigurationSetSendingPausedException "ConfigurationSetSendingPausedException" +// Indicates that email sending is disabled for the configuration set. +// +// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. +// +// * ErrCodeAccountSendingPausedException "AccountSendingPausedException" +// Indicates that email sending is disabled for your entire Amazon SES account. +// +// You can enable or disable email sending for your Amazon SES account using +// UpdateAccountSendingEnabled. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendEmail func (c *SES) SendEmail(input *SendEmailInput) (*SendEmailOutput, error) { req, out := c.SendEmailRequest(input) return out, req.Send() @@ -3767,7 +4374,7 @@ const opSendRawEmail = "SendRawEmail" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendRawEmail +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendRawEmail func (c *SES) SendRawEmailRequest(input *SendRawEmailInput) (req *request.Request, output *SendRawEmailOutput) { op := &request.Operation{ Name: opSendRawEmail, @@ -3879,7 +4486,18 @@ func (c *SES) SendRawEmailRequest(input *SendRawEmailInput) (req *request.Reques // * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" // Indicates that the configuration set does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendRawEmail +// * ErrCodeConfigurationSetSendingPausedException "ConfigurationSetSendingPausedException" +// Indicates that email sending is disabled for the configuration set. +// +// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. +// +// * ErrCodeAccountSendingPausedException "AccountSendingPausedException" +// Indicates that email sending is disabled for your entire Amazon SES account. +// +// You can enable or disable email sending for your Amazon SES account using +// UpdateAccountSendingEnabled. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendRawEmail func (c *SES) SendRawEmail(input *SendRawEmailInput) (*SendRawEmailOutput, error) { req, out := c.SendRawEmailRequest(input) return out, req.Send() @@ -3926,7 +4544,7 @@ const opSendTemplatedEmail = "SendTemplatedEmail" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendTemplatedEmail +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendTemplatedEmail func (c *SES) SendTemplatedEmailRequest(input *SendTemplatedEmailInput) (req *request.Request, output *SendTemplatedEmailOutput) { op := &request.Operation{ Name: opSendTemplatedEmail, @@ -4002,7 +4620,18 @@ func (c *SES) SendTemplatedEmailRequest(input *SendTemplatedEmailInput) (req *re // Indicates that the Template object you specified does not exist in your Amazon // SES account. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendTemplatedEmail +// * ErrCodeConfigurationSetSendingPausedException "ConfigurationSetSendingPausedException" +// Indicates that email sending is disabled for the configuration set. +// +// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. +// +// * ErrCodeAccountSendingPausedException "AccountSendingPausedException" +// Indicates that email sending is disabled for your entire Amazon SES account. +// +// You can enable or disable email sending for your Amazon SES account using +// UpdateAccountSendingEnabled. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendTemplatedEmail func (c *SES) SendTemplatedEmail(input *SendTemplatedEmailInput) (*SendTemplatedEmailOutput, error) { req, out := c.SendTemplatedEmailRequest(input) return out, req.Send() @@ -4049,7 +4678,7 @@ const opSetActiveReceiptRuleSet = "SetActiveReceiptRuleSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetActiveReceiptRuleSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetActiveReceiptRuleSet func (c *SES) SetActiveReceiptRuleSetRequest(input *SetActiveReceiptRuleSetInput) (req *request.Request, output *SetActiveReceiptRuleSetOutput) { op := &request.Operation{ Name: opSetActiveReceiptRuleSet, @@ -4089,7 +4718,7 @@ func (c *SES) SetActiveReceiptRuleSetRequest(input *SetActiveReceiptRuleSetInput // * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" // Indicates that the provided receipt rule set does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetActiveReceiptRuleSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetActiveReceiptRuleSet func (c *SES) SetActiveReceiptRuleSet(input *SetActiveReceiptRuleSetInput) (*SetActiveReceiptRuleSetOutput, error) { req, out := c.SetActiveReceiptRuleSetRequest(input) return out, req.Send() @@ -4136,7 +4765,7 @@ const opSetIdentityDkimEnabled = "SetIdentityDkimEnabled" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityDkimEnabled +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityDkimEnabled func (c *SES) SetIdentityDkimEnabledRequest(input *SetIdentityDkimEnabledInput) (req *request.Request, output *SetIdentityDkimEnabledOutput) { op := &request.Operation{ Name: opSetIdentityDkimEnabled, @@ -4180,7 +4809,7 @@ func (c *SES) SetIdentityDkimEnabledRequest(input *SetIdentityDkimEnabledInput) // // See the AWS API reference guide for Amazon Simple Email Service's // API operation SetIdentityDkimEnabled for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityDkimEnabled +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityDkimEnabled func (c *SES) SetIdentityDkimEnabled(input *SetIdentityDkimEnabledInput) (*SetIdentityDkimEnabledOutput, error) { req, out := c.SetIdentityDkimEnabledRequest(input) return out, req.Send() @@ -4227,7 +4856,7 @@ const opSetIdentityFeedbackForwardingEnabled = "SetIdentityFeedbackForwardingEna // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityFeedbackForwardingEnabled +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityFeedbackForwardingEnabled func (c *SES) SetIdentityFeedbackForwardingEnabledRequest(input *SetIdentityFeedbackForwardingEnabledInput) (req *request.Request, output *SetIdentityFeedbackForwardingEnabledOutput) { op := &request.Operation{ Name: opSetIdentityFeedbackForwardingEnabled, @@ -4265,7 +4894,7 @@ func (c *SES) SetIdentityFeedbackForwardingEnabledRequest(input *SetIdentityFeed // // See the AWS API reference guide for Amazon Simple Email Service's // API operation SetIdentityFeedbackForwardingEnabled for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityFeedbackForwardingEnabled +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityFeedbackForwardingEnabled func (c *SES) SetIdentityFeedbackForwardingEnabled(input *SetIdentityFeedbackForwardingEnabledInput) (*SetIdentityFeedbackForwardingEnabledOutput, error) { req, out := c.SetIdentityFeedbackForwardingEnabledRequest(input) return out, req.Send() @@ -4312,7 +4941,7 @@ const opSetIdentityHeadersInNotificationsEnabled = "SetIdentityHeadersInNotifica // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityHeadersInNotificationsEnabled +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityHeadersInNotificationsEnabled func (c *SES) SetIdentityHeadersInNotificationsEnabledRequest(input *SetIdentityHeadersInNotificationsEnabledInput) (req *request.Request, output *SetIdentityHeadersInNotificationsEnabledOutput) { op := &request.Operation{ Name: opSetIdentityHeadersInNotificationsEnabled, @@ -4346,7 +4975,7 @@ func (c *SES) SetIdentityHeadersInNotificationsEnabledRequest(input *SetIdentity // // See the AWS API reference guide for Amazon Simple Email Service's // API operation SetIdentityHeadersInNotificationsEnabled for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityHeadersInNotificationsEnabled +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityHeadersInNotificationsEnabled func (c *SES) SetIdentityHeadersInNotificationsEnabled(input *SetIdentityHeadersInNotificationsEnabledInput) (*SetIdentityHeadersInNotificationsEnabledOutput, error) { req, out := c.SetIdentityHeadersInNotificationsEnabledRequest(input) return out, req.Send() @@ -4393,7 +5022,7 @@ const opSetIdentityMailFromDomain = "SetIdentityMailFromDomain" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityMailFromDomain +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityMailFromDomain func (c *SES) SetIdentityMailFromDomainRequest(input *SetIdentityMailFromDomainInput) (req *request.Request, output *SetIdentityMailFromDomainOutput) { op := &request.Operation{ Name: opSetIdentityMailFromDomain, @@ -4428,7 +5057,7 @@ func (c *SES) SetIdentityMailFromDomainRequest(input *SetIdentityMailFromDomainI // // See the AWS API reference guide for Amazon Simple Email Service's // API operation SetIdentityMailFromDomain for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityMailFromDomain +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityMailFromDomain func (c *SES) SetIdentityMailFromDomain(input *SetIdentityMailFromDomainInput) (*SetIdentityMailFromDomainOutput, error) { req, out := c.SetIdentityMailFromDomainRequest(input) return out, req.Send() @@ -4475,7 +5104,7 @@ const opSetIdentityNotificationTopic = "SetIdentityNotificationTopic" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityNotificationTopic +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityNotificationTopic func (c *SES) SetIdentityNotificationTopicRequest(input *SetIdentityNotificationTopicInput) (req *request.Request, output *SetIdentityNotificationTopicOutput) { op := &request.Operation{ Name: opSetIdentityNotificationTopic, @@ -4513,7 +5142,7 @@ func (c *SES) SetIdentityNotificationTopicRequest(input *SetIdentityNotification // // See the AWS API reference guide for Amazon Simple Email Service's // API operation SetIdentityNotificationTopic for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityNotificationTopic +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityNotificationTopic func (c *SES) SetIdentityNotificationTopic(input *SetIdentityNotificationTopicInput) (*SetIdentityNotificationTopicOutput, error) { req, out := c.SetIdentityNotificationTopicRequest(input) return out, req.Send() @@ -4560,7 +5189,7 @@ const opSetReceiptRulePosition = "SetReceiptRulePosition" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetReceiptRulePosition +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetReceiptRulePosition func (c *SES) SetReceiptRulePositionRequest(input *SetReceiptRulePositionInput) (req *request.Request, output *SetReceiptRulePositionOutput) { op := &request.Operation{ Name: opSetReceiptRulePosition, @@ -4600,7 +5229,7 @@ func (c *SES) SetReceiptRulePositionRequest(input *SetReceiptRulePositionInput) // * ErrCodeRuleDoesNotExistException "RuleDoesNotExist" // Indicates that the provided receipt rule does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetReceiptRulePosition +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetReceiptRulePosition func (c *SES) SetReceiptRulePosition(input *SetReceiptRulePositionInput) (*SetReceiptRulePositionOutput, error) { req, out := c.SetReceiptRulePositionRequest(input) return out, req.Send() @@ -4647,7 +5276,7 @@ const opTestRenderTemplate = "TestRenderTemplate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TestRenderTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TestRenderTemplate func (c *SES) TestRenderTemplateRequest(input *TestRenderTemplateInput) (req *request.Request, output *TestRenderTemplateOutput) { op := &request.Operation{ Name: opTestRenderTemplate, @@ -4692,7 +5321,7 @@ func (c *SES) TestRenderTemplateRequest(input *TestRenderTemplateInput) (req *re // was not specified. Ensure that the TemplateData object contains references // to all of the replacement tags in the specified template. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TestRenderTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TestRenderTemplate func (c *SES) TestRenderTemplate(input *TestRenderTemplateInput) (*TestRenderTemplateOutput, error) { req, out := c.TestRenderTemplateRequest(input) return out, req.Send() @@ -4714,6 +5343,87 @@ func (c *SES) TestRenderTemplateWithContext(ctx aws.Context, input *TestRenderTe return out, req.Send() } +const opUpdateAccountSendingEnabled = "UpdateAccountSendingEnabled" + +// UpdateAccountSendingEnabledRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAccountSendingEnabled operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateAccountSendingEnabled for more information on using the UpdateAccountSendingEnabled +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateAccountSendingEnabledRequest method. +// req, resp := client.UpdateAccountSendingEnabledRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateAccountSendingEnabled +func (c *SES) UpdateAccountSendingEnabledRequest(input *UpdateAccountSendingEnabledInput) (req *request.Request, output *UpdateAccountSendingEnabledOutput) { + op := &request.Operation{ + Name: opUpdateAccountSendingEnabled, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateAccountSendingEnabledInput{} + } + + output = &UpdateAccountSendingEnabledOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(query.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateAccountSendingEnabled API operation for Amazon Simple Email Service. +// +// Enables or disables email sending across your entire Amazon SES account. +// You can use this operation in conjunction with Amazon CloudWatch alarms to +// temporarily pause email sending across your Amazon SES account when reputation +// metrics (such as your bounce on complaint rate) reach certain thresholds. +// +// You can execute this operation no more than once per second. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Email Service's +// API operation UpdateAccountSendingEnabled for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateAccountSendingEnabled +func (c *SES) UpdateAccountSendingEnabled(input *UpdateAccountSendingEnabledInput) (*UpdateAccountSendingEnabledOutput, error) { + req, out := c.UpdateAccountSendingEnabledRequest(input) + return out, req.Send() +} + +// UpdateAccountSendingEnabledWithContext is the same as UpdateAccountSendingEnabled with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateAccountSendingEnabled for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SES) UpdateAccountSendingEnabledWithContext(ctx aws.Context, input *UpdateAccountSendingEnabledInput, opts ...request.Option) (*UpdateAccountSendingEnabledOutput, error) { + req, out := c.UpdateAccountSendingEnabledRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateConfigurationSetEventDestination = "UpdateConfigurationSetEventDestination" // UpdateConfigurationSetEventDestinationRequest generates a "aws/request.Request" representing the @@ -4731,43 +5441,232 @@ const opUpdateConfigurationSetEventDestination = "UpdateConfigurationSetEventDes // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateConfigurationSetEventDestinationRequest method. -// req, resp := client.UpdateConfigurationSetEventDestinationRequest(params) +// // Example sending a request using the UpdateConfigurationSetEventDestinationRequest method. +// req, resp := client.UpdateConfigurationSetEventDestinationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetEventDestination +func (c *SES) UpdateConfigurationSetEventDestinationRequest(input *UpdateConfigurationSetEventDestinationInput) (req *request.Request, output *UpdateConfigurationSetEventDestinationOutput) { + op := &request.Operation{ + Name: opUpdateConfigurationSetEventDestination, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateConfigurationSetEventDestinationInput{} + } + + output = &UpdateConfigurationSetEventDestinationOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateConfigurationSetEventDestination API operation for Amazon Simple Email Service. +// +// Updates the event destination of a configuration set. Event destinations +// are associated with configuration sets, which enable you to publish email +// sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple +// Notification Service (Amazon SNS). For information about using configuration +// sets, see Monitoring Your Amazon SES Sending Activity (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html) +// in the Amazon SES Developer Guide. +// +// When you create or update an event destination, you must provide one, and +// only one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis +// Firehose, or Amazon Simple Notification Service (Amazon SNS). +// +// You can execute this operation no more than once per second. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Email Service's +// API operation UpdateConfigurationSetEventDestination for usage and error information. +// +// Returned Error Codes: +// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. +// +// * ErrCodeEventDestinationDoesNotExistException "EventDestinationDoesNotExist" +// Indicates that the event destination does not exist. +// +// * ErrCodeInvalidCloudWatchDestinationException "InvalidCloudWatchDestination" +// Indicates that the Amazon CloudWatch destination is invalid. See the error +// message for details. +// +// * ErrCodeInvalidFirehoseDestinationException "InvalidFirehoseDestination" +// Indicates that the Amazon Kinesis Firehose destination is invalid. See the +// error message for details. +// +// * ErrCodeInvalidSNSDestinationException "InvalidSNSDestination" +// Indicates that the Amazon Simple Notification Service (Amazon SNS) destination +// is invalid. See the error message for details. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetEventDestination +func (c *SES) UpdateConfigurationSetEventDestination(input *UpdateConfigurationSetEventDestinationInput) (*UpdateConfigurationSetEventDestinationOutput, error) { + req, out := c.UpdateConfigurationSetEventDestinationRequest(input) + return out, req.Send() +} + +// UpdateConfigurationSetEventDestinationWithContext is the same as UpdateConfigurationSetEventDestination with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateConfigurationSetEventDestination for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SES) UpdateConfigurationSetEventDestinationWithContext(ctx aws.Context, input *UpdateConfigurationSetEventDestinationInput, opts ...request.Option) (*UpdateConfigurationSetEventDestinationOutput, error) { + req, out := c.UpdateConfigurationSetEventDestinationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateConfigurationSetReputationMetricsEnabled = "UpdateConfigurationSetReputationMetricsEnabled" + +// UpdateConfigurationSetReputationMetricsEnabledRequest generates a "aws/request.Request" representing the +// client's request for the UpdateConfigurationSetReputationMetricsEnabled operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateConfigurationSetReputationMetricsEnabled for more information on using the UpdateConfigurationSetReputationMetricsEnabled +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateConfigurationSetReputationMetricsEnabledRequest method. +// req, resp := client.UpdateConfigurationSetReputationMetricsEnabledRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetReputationMetricsEnabled +func (c *SES) UpdateConfigurationSetReputationMetricsEnabledRequest(input *UpdateConfigurationSetReputationMetricsEnabledInput) (req *request.Request, output *UpdateConfigurationSetReputationMetricsEnabledOutput) { + op := &request.Operation{ + Name: opUpdateConfigurationSetReputationMetricsEnabled, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateConfigurationSetReputationMetricsEnabledInput{} + } + + output = &UpdateConfigurationSetReputationMetricsEnabledOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(query.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateConfigurationSetReputationMetricsEnabled API operation for Amazon Simple Email Service. +// +// Enables or disables the publishing of reputation metrics for emails sent +// using a specific configuration set. Reputation metrics include bounce and +// complaint rates. These metrics are published to Amazon CloudWatch. By using +// Amazon CloudWatch, you can create alarms when bounce or complaint rates exceed +// a certain threshold. +// +// You can execute this operation no more than once per second. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Email Service's +// API operation UpdateConfigurationSetReputationMetricsEnabled for usage and error information. +// +// Returned Error Codes: +// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetReputationMetricsEnabled +func (c *SES) UpdateConfigurationSetReputationMetricsEnabled(input *UpdateConfigurationSetReputationMetricsEnabledInput) (*UpdateConfigurationSetReputationMetricsEnabledOutput, error) { + req, out := c.UpdateConfigurationSetReputationMetricsEnabledRequest(input) + return out, req.Send() +} + +// UpdateConfigurationSetReputationMetricsEnabledWithContext is the same as UpdateConfigurationSetReputationMetricsEnabled with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateConfigurationSetReputationMetricsEnabled for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SES) UpdateConfigurationSetReputationMetricsEnabledWithContext(ctx aws.Context, input *UpdateConfigurationSetReputationMetricsEnabledInput, opts ...request.Option) (*UpdateConfigurationSetReputationMetricsEnabledOutput, error) { + req, out := c.UpdateConfigurationSetReputationMetricsEnabledRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateConfigurationSetSendingEnabled = "UpdateConfigurationSetSendingEnabled" + +// UpdateConfigurationSetSendingEnabledRequest generates a "aws/request.Request" representing the +// client's request for the UpdateConfigurationSetSendingEnabled operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateConfigurationSetSendingEnabled for more information on using the UpdateConfigurationSetSendingEnabled +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateConfigurationSetSendingEnabledRequest method. +// req, resp := client.UpdateConfigurationSetSendingEnabledRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetEventDestination -func (c *SES) UpdateConfigurationSetEventDestinationRequest(input *UpdateConfigurationSetEventDestinationInput) (req *request.Request, output *UpdateConfigurationSetEventDestinationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetSendingEnabled +func (c *SES) UpdateConfigurationSetSendingEnabledRequest(input *UpdateConfigurationSetSendingEnabledInput) (req *request.Request, output *UpdateConfigurationSetSendingEnabledOutput) { op := &request.Operation{ - Name: opUpdateConfigurationSetEventDestination, + Name: opUpdateConfigurationSetSendingEnabled, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UpdateConfigurationSetEventDestinationInput{} + input = &UpdateConfigurationSetSendingEnabledInput{} } - output = &UpdateConfigurationSetEventDestinationOutput{} + output = &UpdateConfigurationSetSendingEnabledOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(query.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) return } -// UpdateConfigurationSetEventDestination API operation for Amazon Simple Email Service. -// -// Updates the event destination of a configuration set. Event destinations -// are associated with configuration sets, which enable you to publish email -// sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple -// Notification Service (Amazon SNS). For information about using configuration -// sets, see Monitoring Your Amazon SES Sending Activity (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html) -// in the Amazon SES Developer Guide. +// UpdateConfigurationSetSendingEnabled API operation for Amazon Simple Email Service. // -// When you create or update an event destination, you must provide one, and -// only one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis -// Firehose, or Amazon Simple Notification Service (Amazon SNS). +// Enables or disables email sending for messages sent using a specific configuration +// set. You can use this operation in conjunction with Amazon CloudWatch alarms +// to temporarily pause email sending for a configuration set when the reputation +// metrics for that configuration set (such as your bounce on complaint rate) +// reach certain thresholds. // // You can execute this operation no more than once per second. // @@ -4776,44 +5675,29 @@ func (c *SES) UpdateConfigurationSetEventDestinationRequest(input *UpdateConfigu // the error. // // See the AWS API reference guide for Amazon Simple Email Service's -// API operation UpdateConfigurationSetEventDestination for usage and error information. +// API operation UpdateConfigurationSetSendingEnabled for usage and error information. // // Returned Error Codes: // * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" // Indicates that the configuration set does not exist. // -// * ErrCodeEventDestinationDoesNotExistException "EventDestinationDoesNotExist" -// Indicates that the event destination does not exist. -// -// * ErrCodeInvalidCloudWatchDestinationException "InvalidCloudWatchDestination" -// Indicates that the Amazon CloudWatch destination is invalid. See the error -// message for details. -// -// * ErrCodeInvalidFirehoseDestinationException "InvalidFirehoseDestination" -// Indicates that the Amazon Kinesis Firehose destination is invalid. See the -// error message for details. -// -// * ErrCodeInvalidSNSDestinationException "InvalidSNSDestination" -// Indicates that the Amazon Simple Notification Service (Amazon SNS) destination -// is invalid. See the error message for details. -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetEventDestination -func (c *SES) UpdateConfigurationSetEventDestination(input *UpdateConfigurationSetEventDestinationInput) (*UpdateConfigurationSetEventDestinationOutput, error) { - req, out := c.UpdateConfigurationSetEventDestinationRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetSendingEnabled +func (c *SES) UpdateConfigurationSetSendingEnabled(input *UpdateConfigurationSetSendingEnabledInput) (*UpdateConfigurationSetSendingEnabledOutput, error) { + req, out := c.UpdateConfigurationSetSendingEnabledRequest(input) return out, req.Send() } -// UpdateConfigurationSetEventDestinationWithContext is the same as UpdateConfigurationSetEventDestination with the addition of +// UpdateConfigurationSetSendingEnabledWithContext is the same as UpdateConfigurationSetSendingEnabled with the addition of // the ability to pass a context and additional request options. // -// See UpdateConfigurationSetEventDestination for details on how to use this API operation. +// See UpdateConfigurationSetSendingEnabled for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *SES) UpdateConfigurationSetEventDestinationWithContext(ctx aws.Context, input *UpdateConfigurationSetEventDestinationInput, opts ...request.Option) (*UpdateConfigurationSetEventDestinationOutput, error) { - req, out := c.UpdateConfigurationSetEventDestinationRequest(input) +func (c *SES) UpdateConfigurationSetSendingEnabledWithContext(ctx aws.Context, input *UpdateConfigurationSetSendingEnabledInput, opts ...request.Option) (*UpdateConfigurationSetSendingEnabledOutput, error) { + req, out := c.UpdateConfigurationSetSendingEnabledRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() @@ -4844,7 +5728,7 @@ const opUpdateConfigurationSetTrackingOptions = "UpdateConfigurationSetTrackingO // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetTrackingOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetTrackingOptions func (c *SES) UpdateConfigurationSetTrackingOptionsRequest(input *UpdateConfigurationSetTrackingOptionsInput) (req *request.Request, output *UpdateConfigurationSetTrackingOptionsOutput) { op := &request.Operation{ Name: opUpdateConfigurationSetTrackingOptions, @@ -4894,7 +5778,7 @@ func (c *SES) UpdateConfigurationSetTrackingOptionsRequest(input *UpdateConfigur // // * When the tracking domain you specified is not a valid domain or subdomain. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetTrackingOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetTrackingOptions func (c *SES) UpdateConfigurationSetTrackingOptions(input *UpdateConfigurationSetTrackingOptionsInput) (*UpdateConfigurationSetTrackingOptionsOutput, error) { req, out := c.UpdateConfigurationSetTrackingOptionsRequest(input) return out, req.Send() @@ -4916,6 +5800,102 @@ func (c *SES) UpdateConfigurationSetTrackingOptionsWithContext(ctx aws.Context, return out, req.Send() } +const opUpdateCustomVerificationEmailTemplate = "UpdateCustomVerificationEmailTemplate" + +// UpdateCustomVerificationEmailTemplateRequest generates a "aws/request.Request" representing the +// client's request for the UpdateCustomVerificationEmailTemplate operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateCustomVerificationEmailTemplate for more information on using the UpdateCustomVerificationEmailTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateCustomVerificationEmailTemplateRequest method. +// req, resp := client.UpdateCustomVerificationEmailTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateCustomVerificationEmailTemplate +func (c *SES) UpdateCustomVerificationEmailTemplateRequest(input *UpdateCustomVerificationEmailTemplateInput) (req *request.Request, output *UpdateCustomVerificationEmailTemplateOutput) { + op := &request.Operation{ + Name: opUpdateCustomVerificationEmailTemplate, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateCustomVerificationEmailTemplateInput{} + } + + output = &UpdateCustomVerificationEmailTemplateOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(query.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateCustomVerificationEmailTemplate API operation for Amazon Simple Email Service. +// +// Updates an existing custom verification email template. +// +// For more information about custom verification email templates, see Using +// Custom Verification Email Templates (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html) +// in the Amazon SES Developer Guide. +// +// You can execute this operation no more than once per second. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Email Service's +// API operation UpdateCustomVerificationEmailTemplate for usage and error information. +// +// Returned Error Codes: +// * ErrCodeCustomVerificationEmailTemplateDoesNotExistException "CustomVerificationEmailTemplateDoesNotExist" +// Indicates that a custom verification email template with the name you specified +// does not exist. +// +// * ErrCodeFromEmailAddressNotVerifiedException "FromEmailAddressNotVerified" +// Indicates that the sender address specified for a custom verification email +// is not verified, and is therefore not eligible to send the custom verification +// email. +// +// * ErrCodeCustomVerificationEmailInvalidContentException "CustomVerificationEmailInvalidContent" +// Indicates that custom verification email template provided content is invalid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateCustomVerificationEmailTemplate +func (c *SES) UpdateCustomVerificationEmailTemplate(input *UpdateCustomVerificationEmailTemplateInput) (*UpdateCustomVerificationEmailTemplateOutput, error) { + req, out := c.UpdateCustomVerificationEmailTemplateRequest(input) + return out, req.Send() +} + +// UpdateCustomVerificationEmailTemplateWithContext is the same as UpdateCustomVerificationEmailTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateCustomVerificationEmailTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SES) UpdateCustomVerificationEmailTemplateWithContext(ctx aws.Context, input *UpdateCustomVerificationEmailTemplateInput, opts ...request.Option) (*UpdateCustomVerificationEmailTemplateOutput, error) { + req, out := c.UpdateCustomVerificationEmailTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateReceiptRule = "UpdateReceiptRule" // UpdateReceiptRuleRequest generates a "aws/request.Request" representing the @@ -4941,7 +5921,7 @@ const opUpdateReceiptRule = "UpdateReceiptRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateReceiptRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateReceiptRule func (c *SES) UpdateReceiptRuleRequest(input *UpdateReceiptRuleInput) (req *request.Request, output *UpdateReceiptRuleOutput) { op := &request.Operation{ Name: opUpdateReceiptRule, @@ -5002,7 +5982,7 @@ func (c *SES) UpdateReceiptRuleRequest(input *UpdateReceiptRuleInput) (req *requ // Indicates that a resource could not be created because of service limits. // For a list of Amazon SES limits, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateReceiptRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateReceiptRule func (c *SES) UpdateReceiptRule(input *UpdateReceiptRuleInput) (*UpdateReceiptRuleOutput, error) { req, out := c.UpdateReceiptRuleRequest(input) return out, req.Send() @@ -5049,7 +6029,7 @@ const opUpdateTemplate = "UpdateTemplate" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateTemplate func (c *SES) UpdateTemplateRequest(input *UpdateTemplateInput) (req *request.Request, output *UpdateTemplateOutput) { op := &request.Operation{ Name: opUpdateTemplate, @@ -5090,7 +6070,7 @@ func (c *SES) UpdateTemplateRequest(input *UpdateTemplateInput) (req *request.Re // Indicates that a template could not be created because it contained invalid // JSON. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateTemplate func (c *SES) UpdateTemplate(input *UpdateTemplateInput) (*UpdateTemplateOutput, error) { req, out := c.UpdateTemplateRequest(input) return out, req.Send() @@ -5137,7 +6117,7 @@ const opVerifyDomainDkim = "VerifyDomainDkim" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainDkim +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainDkim func (c *SES) VerifyDomainDkimRequest(input *VerifyDomainDkimInput) (req *request.Request, output *VerifyDomainDkimOutput) { op := &request.Operation{ Name: opVerifyDomainDkim, @@ -5178,7 +6158,7 @@ func (c *SES) VerifyDomainDkimRequest(input *VerifyDomainDkimInput) (req *reques // // See the AWS API reference guide for Amazon Simple Email Service's // API operation VerifyDomainDkim for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainDkim +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainDkim func (c *SES) VerifyDomainDkim(input *VerifyDomainDkimInput) (*VerifyDomainDkimOutput, error) { req, out := c.VerifyDomainDkimRequest(input) return out, req.Send() @@ -5225,7 +6205,7 @@ const opVerifyDomainIdentity = "VerifyDomainIdentity" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainIdentity func (c *SES) VerifyDomainIdentityRequest(input *VerifyDomainIdentityInput) (req *request.Request, output *VerifyDomainIdentityOutput) { op := &request.Operation{ Name: opVerifyDomainIdentity, @@ -5257,7 +6237,7 @@ func (c *SES) VerifyDomainIdentityRequest(input *VerifyDomainIdentityInput) (req // // See the AWS API reference guide for Amazon Simple Email Service's // API operation VerifyDomainIdentity for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainIdentity func (c *SES) VerifyDomainIdentity(input *VerifyDomainIdentityInput) (*VerifyDomainIdentityOutput, error) { req, out := c.VerifyDomainIdentityRequest(input) return out, req.Send() @@ -5304,7 +6284,7 @@ const opVerifyEmailAddress = "VerifyEmailAddress" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailAddress func (c *SES) VerifyEmailAddressRequest(input *VerifyEmailAddressInput) (req *request.Request, output *VerifyEmailAddressOutput) { op := &request.Operation{ Name: opVerifyEmailAddress, @@ -5333,7 +6313,7 @@ func (c *SES) VerifyEmailAddressRequest(input *VerifyEmailAddressInput) (req *re // // See the AWS API reference guide for Amazon Simple Email Service's // API operation VerifyEmailAddress for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailAddress +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailAddress func (c *SES) VerifyEmailAddress(input *VerifyEmailAddressInput) (*VerifyEmailAddressOutput, error) { req, out := c.VerifyEmailAddressRequest(input) return out, req.Send() @@ -5380,7 +6360,7 @@ const opVerifyEmailIdentity = "VerifyEmailIdentity" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailIdentity func (c *SES) VerifyEmailIdentityRequest(input *VerifyEmailIdentityInput) (req *request.Request, output *VerifyEmailIdentityOutput) { op := &request.Operation{ Name: opVerifyEmailIdentity, @@ -5400,8 +6380,8 @@ func (c *SES) VerifyEmailIdentityRequest(input *VerifyEmailIdentityInput) (req * // VerifyEmailIdentity API operation for Amazon Simple Email Service. // // Adds an email address to the list of identities for your Amazon SES account -// and attempts to verify it. This operation causes a confirmation email message -// to be sent to the specified address. +// and attempts to verify it. As a result of executing this operation, a verification +// email is sent to the specified address. // // You can execute this operation no more than once per second. // @@ -5411,7 +6391,7 @@ func (c *SES) VerifyEmailIdentityRequest(input *VerifyEmailIdentityInput) (req * // // See the AWS API reference guide for Amazon Simple Email Service's // API operation VerifyEmailIdentity for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailIdentity func (c *SES) VerifyEmailIdentity(input *VerifyEmailIdentityInput) (*VerifyEmailIdentityOutput, error) { req, out := c.VerifyEmailIdentityRequest(input) return out, req.Send() @@ -5438,7 +6418,7 @@ func (c *SES) VerifyEmailIdentityWithContext(ctx aws.Context, input *VerifyEmail // // For information about adding a header using a receipt rule, see the Amazon // SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-add-header.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/AddHeaderAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/AddHeaderAction type AddHeaderAction struct { _ struct{} `type:"structure"` @@ -5496,7 +6476,7 @@ func (s *AddHeaderAction) SetHeaderValue(v string) *AddHeaderAction { // Represents the body of the message. You can specify text, HTML, or both. // If you use both, then the message should display correctly in the widest // variety of email clients. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/Body +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/Body type Body struct { _ struct{} `type:"structure"` @@ -5558,7 +6538,7 @@ func (s *Body) SetText(v *Content) *Body { // // For information about sending a bounce message in response to a received // email, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-bounce.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/BounceAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/BounceAction type BounceAction struct { _ struct{} `type:"structure"` @@ -5652,7 +6632,7 @@ func (s *BounceAction) SetTopicArn(v string) *BounceAction { // // For information about receiving email through Amazon SES, see the Amazon // SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/BouncedRecipientInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/BouncedRecipientInfo type BouncedRecipientInfo struct { _ struct{} `type:"structure"` @@ -5730,17 +6710,20 @@ func (s *BouncedRecipientInfo) SetRecipientDsnFields(v *RecipientDsnFields) *Bou // An array that contains one or more Destinations, as well as the tags and // replacement data associated with each of those Destinations. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/BulkEmailDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/BulkEmailDestination type BulkEmailDestination struct { _ struct{} `type:"structure"` // Represents the destination of the message, consisting of To:, CC:, and BCC: // fields. // - // By default, the string must be 7-bit ASCII. If the text must contain any - // other characters, then you must use MIME encoded-word syntax (RFC 2047) instead - // of a literal string. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=. - // For more information, see RFC 2047 (https://tools.ietf.org/html/rfc2047). + // Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531 + // (https://tools.ietf.org/html/rfc6531). For this reason, the local part of + // a destination email address (the part of the email address that precedes + // the @ sign) may only contain 7-bit ASCII characters (https://en.wikipedia.org/wiki/Email_address#Local-part). + // If the domain part of an address (the part after the @ sign) contains non-ASCII + // characters, they must be encoded using Punycode, as described in RFC3492 + // (https://tools.ietf.org/html/rfc3492.html). // // Destination is a required field Destination *Destination `type:"structure" required:"true"` @@ -5808,7 +6791,7 @@ func (s *BulkEmailDestination) SetReplacementTemplateData(v string) *BulkEmailDe } // An object that contains the response from the SendBulkTemplatedEmail operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/BulkEmailDestinationStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/BulkEmailDestinationStatus type BulkEmailDestinationStatus struct { _ struct{} `type:"structure"` @@ -5848,6 +6831,12 @@ type BulkEmailDestinationStatus struct { // * InvalidSendingPoolName: The configuration set you specified refers to // an IP pool that does not exist. // + // * AccountSendingPaused: Email sending for the Amazon SES account was disabled + // using the UpdateAccountSendingEnabled operation. + // + // * ConfigurationSetSendingPaused: Email sending for this configuration + // set was disabled using the UpdateConfigurationSetSendingEnabled operation. + // // * InvalidParameterValue: One or more of the parameters you specified when // calling this operation was invalid. See the error message for additional // information. @@ -5891,7 +6880,7 @@ func (s *BulkEmailDestinationStatus) SetStatus(v string) *BulkEmailDestinationSt // Represents a request to create a receipt rule set by cloning an existing // one. You use receipt rule sets to receive email with Amazon SES. For more // information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloneReceiptRuleSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloneReceiptRuleSetRequest type CloneReceiptRuleSetInput struct { _ struct{} `type:"structure"` @@ -5902,8 +6891,8 @@ type CloneReceiptRuleSetInput struct { // The name of the rule set to create. The name must: // - // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores - // (_), or dashes (-). + // * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), + // underscores (_), or dashes (-). // // * Start and end with a letter or number. // @@ -5952,7 +6941,7 @@ func (s *CloneReceiptRuleSetInput) SetRuleSetName(v string) *CloneReceiptRuleSet } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloneReceiptRuleSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloneReceiptRuleSetResponse type CloneReceiptRuleSetOutput struct { _ struct{} `type:"structure"` } @@ -5973,7 +6962,7 @@ func (s CloneReceiptRuleSetOutput) GoString() string { // Event destinations, such as Amazon CloudWatch, are associated with configuration // sets, which enable you to publish email sending events. For information about // using configuration sets, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloudWatchDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloudWatchDestination type CloudWatchDestination struct { _ struct{} `type:"structure"` @@ -6028,7 +7017,7 @@ func (s *CloudWatchDestination) SetDimensionConfigurations(v []*CloudWatchDimens // // For information about publishing email sending events to Amazon CloudWatch, // see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloudWatchDimensionConfiguration +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloudWatchDimensionConfiguration type CloudWatchDimensionConfiguration struct { _ struct{} `type:"structure"` @@ -6036,8 +7025,8 @@ type CloudWatchDimensionConfiguration struct { // if you do not provide the value of the dimension when you send an email. // The default value must: // - // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), - // or dashes (-). + // * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), + // underscores (_), or dashes (-). // // * Contain less than 256 characters. // @@ -6047,8 +7036,8 @@ type CloudWatchDimensionConfiguration struct { // The name of an Amazon CloudWatch dimension associated with an email sending // metric. The name must: // - // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), - // or dashes (-). + // * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), + // underscores (_), or dashes (-). // // * Contain less than 256 characters. // @@ -6118,7 +7107,7 @@ func (s *CloudWatchDimensionConfiguration) SetDimensionValueSource(v string) *Cl // emails you send using Amazon SES. For more information about using configuration // sets, see Using Amazon SES Configuration Sets (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-configuration-sets.html) // in the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ConfigurationSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ConfigurationSet type ConfigurationSet struct { _ struct{} `type:"structure"` @@ -6167,7 +7156,7 @@ func (s *ConfigurationSet) SetName(v string) *ConfigurationSet { // By default, the text must be 7-bit ASCII, due to the constraints of the SMTP // protocol. If the text must contain any other characters, then you must also // specify a character set. Examples include UTF-8, ISO-8859-1, and Shift_JIS. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/Content +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/Content type Content struct { _ struct{} `type:"structure"` @@ -6220,7 +7209,7 @@ func (s *Content) SetData(v string) *Content { // Firehose, describes an AWS service in which Amazon SES publishes the email // sending events associated with a configuration set. For information about // using configuration sets, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetEventDestinationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetEventDestinationRequest type CreateConfigurationSetEventDestinationInput struct { _ struct{} `type:"structure"` @@ -6281,7 +7270,7 @@ func (s *CreateConfigurationSetEventDestinationInput) SetEventDestination(v *Eve } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetEventDestinationResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetEventDestinationResponse type CreateConfigurationSetEventDestinationOutput struct { _ struct{} `type:"structure"` } @@ -6299,7 +7288,7 @@ func (s CreateConfigurationSetEventDestinationOutput) GoString() string { // Represents a request to create a configuration set. Configuration sets enable // you to publish email sending events. For information about using configuration // sets, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetRequest type CreateConfigurationSetInput struct { _ struct{} `type:"structure"` @@ -6344,7 +7333,7 @@ func (s *CreateConfigurationSetInput) SetConfigurationSet(v *ConfigurationSet) * } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetResponse type CreateConfigurationSetOutput struct { _ struct{} `type:"structure"` } @@ -6361,7 +7350,7 @@ func (s CreateConfigurationSetOutput) GoString() string { // Represents a request to create an open and click tracking option object in // a configuration set. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetTrackingOptionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetTrackingOptionsRequest type CreateConfigurationSetTrackingOptionsInput struct { _ struct{} `type:"structure"` @@ -6422,7 +7411,7 @@ func (s *CreateConfigurationSetTrackingOptionsInput) SetTrackingOptions(v *Track } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetTrackingOptionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetTrackingOptionsResponse type CreateConfigurationSetTrackingOptionsOutput struct { _ struct{} `type:"structure"` } @@ -6437,10 +7426,141 @@ func (s CreateConfigurationSetTrackingOptionsOutput) GoString() string { return s.String() } +// Represents a request to create a custom verification email template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateCustomVerificationEmailTemplateRequest +type CreateCustomVerificationEmailTemplateInput struct { + _ struct{} `type:"structure"` + + // The URL that the recipient of the verification email is sent to if his or + // her address is not successfully verified. + // + // FailureRedirectionURL is a required field + FailureRedirectionURL *string `type:"string" required:"true"` + + // The email address that the custom verification email is sent from. + // + // FromEmailAddress is a required field + FromEmailAddress *string `type:"string" required:"true"` + + // The URL that the recipient of the verification email is sent to if his or + // her address is successfully verified. + // + // SuccessRedirectionURL is a required field + SuccessRedirectionURL *string `type:"string" required:"true"` + + // The content of the custom verification email. The total size of the email + // must be less than 10 MB. The message body may contain HTML, with some limitations. + // For more information, see Custom Verification Email Frequently Asked Questions + // (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html#custom-verification-emails-faq) + // in the Amazon SES Developer Guide. + // + // TemplateContent is a required field + TemplateContent *string `type:"string" required:"true"` + + // The name of the custom verification email template. + // + // TemplateName is a required field + TemplateName *string `type:"string" required:"true"` + + // The subject line of the custom verification email. + // + // TemplateSubject is a required field + TemplateSubject *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateCustomVerificationEmailTemplateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateCustomVerificationEmailTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateCustomVerificationEmailTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateCustomVerificationEmailTemplateInput"} + if s.FailureRedirectionURL == nil { + invalidParams.Add(request.NewErrParamRequired("FailureRedirectionURL")) + } + if s.FromEmailAddress == nil { + invalidParams.Add(request.NewErrParamRequired("FromEmailAddress")) + } + if s.SuccessRedirectionURL == nil { + invalidParams.Add(request.NewErrParamRequired("SuccessRedirectionURL")) + } + if s.TemplateContent == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateContent")) + } + if s.TemplateName == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateName")) + } + if s.TemplateSubject == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateSubject")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFailureRedirectionURL sets the FailureRedirectionURL field's value. +func (s *CreateCustomVerificationEmailTemplateInput) SetFailureRedirectionURL(v string) *CreateCustomVerificationEmailTemplateInput { + s.FailureRedirectionURL = &v + return s +} + +// SetFromEmailAddress sets the FromEmailAddress field's value. +func (s *CreateCustomVerificationEmailTemplateInput) SetFromEmailAddress(v string) *CreateCustomVerificationEmailTemplateInput { + s.FromEmailAddress = &v + return s +} + +// SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value. +func (s *CreateCustomVerificationEmailTemplateInput) SetSuccessRedirectionURL(v string) *CreateCustomVerificationEmailTemplateInput { + s.SuccessRedirectionURL = &v + return s +} + +// SetTemplateContent sets the TemplateContent field's value. +func (s *CreateCustomVerificationEmailTemplateInput) SetTemplateContent(v string) *CreateCustomVerificationEmailTemplateInput { + s.TemplateContent = &v + return s +} + +// SetTemplateName sets the TemplateName field's value. +func (s *CreateCustomVerificationEmailTemplateInput) SetTemplateName(v string) *CreateCustomVerificationEmailTemplateInput { + s.TemplateName = &v + return s +} + +// SetTemplateSubject sets the TemplateSubject field's value. +func (s *CreateCustomVerificationEmailTemplateInput) SetTemplateSubject(v string) *CreateCustomVerificationEmailTemplateInput { + s.TemplateSubject = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateCustomVerificationEmailTemplateOutput +type CreateCustomVerificationEmailTemplateOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s CreateCustomVerificationEmailTemplateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateCustomVerificationEmailTemplateOutput) GoString() string { + return s.String() +} + // Represents a request to create a new IP address filter. You use IP address // filters when you receive email with Amazon SES. For more information, see // the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilterRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilterRequest type CreateReceiptFilterInput struct { _ struct{} `type:"structure"` @@ -6486,7 +7606,7 @@ func (s *CreateReceiptFilterInput) SetFilter(v *ReceiptFilter) *CreateReceiptFil } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilterResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilterResponse type CreateReceiptFilterOutput struct { _ struct{} `type:"structure"` } @@ -6504,7 +7624,7 @@ func (s CreateReceiptFilterOutput) GoString() string { // Represents a request to create a receipt rule. You use receipt rules to receive // email with Amazon SES. For more information, see the Amazon SES Developer // Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleRequest type CreateReceiptRuleInput struct { _ struct{} `type:"structure"` @@ -6575,7 +7695,7 @@ func (s *CreateReceiptRuleInput) SetRuleSetName(v string) *CreateReceiptRuleInpu } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleResponse type CreateReceiptRuleOutput struct { _ struct{} `type:"structure"` } @@ -6593,14 +7713,14 @@ func (s CreateReceiptRuleOutput) GoString() string { // Represents a request to create an empty receipt rule set. You use receipt // rule sets to receive email with Amazon SES. For more information, see the // Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSetRequest type CreateReceiptRuleSetInput struct { _ struct{} `type:"structure"` // The name of the rule set to create. The name must: // - // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores - // (_), or dashes (-). + // * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), + // underscores (_), or dashes (-). // // * Start and end with a letter or number. // @@ -6640,7 +7760,7 @@ func (s *CreateReceiptRuleSetInput) SetRuleSetName(v string) *CreateReceiptRuleS } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSetResponse type CreateReceiptRuleSetOutput struct { _ struct{} `type:"structure"` } @@ -6657,7 +7777,7 @@ func (s CreateReceiptRuleSetOutput) GoString() string { // Represents a request to create an email template. For more information, see // the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateTemplateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateTemplateRequest type CreateTemplateInput struct { _ struct{} `type:"structure"` @@ -6702,7 +7822,7 @@ func (s *CreateTemplateInput) SetTemplate(v *Template) *CreateTemplateInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateTemplateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateTemplateResponse type CreateTemplateOutput struct { _ struct{} `type:"structure"` } @@ -6717,11 +7837,74 @@ func (s CreateTemplateOutput) GoString() string { return s.String() } +// Contains information about a custom verification email template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CustomVerificationEmailTemplate +type CustomVerificationEmailTemplate struct { + _ struct{} `type:"structure"` + + // The URL that the recipient of the verification email is sent to if his or + // her address is not successfully verified. + FailureRedirectionURL *string `type:"string"` + + // The email address that the custom verification email is sent from. + FromEmailAddress *string `type:"string"` + + // The URL that the recipient of the verification email is sent to if his or + // her address is successfully verified. + SuccessRedirectionURL *string `type:"string"` + + // The name of the custom verification email template. + TemplateName *string `type:"string"` + + // The subject line of the custom verification email. + TemplateSubject *string `type:"string"` +} + +// String returns the string representation +func (s CustomVerificationEmailTemplate) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CustomVerificationEmailTemplate) GoString() string { + return s.String() +} + +// SetFailureRedirectionURL sets the FailureRedirectionURL field's value. +func (s *CustomVerificationEmailTemplate) SetFailureRedirectionURL(v string) *CustomVerificationEmailTemplate { + s.FailureRedirectionURL = &v + return s +} + +// SetFromEmailAddress sets the FromEmailAddress field's value. +func (s *CustomVerificationEmailTemplate) SetFromEmailAddress(v string) *CustomVerificationEmailTemplate { + s.FromEmailAddress = &v + return s +} + +// SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value. +func (s *CustomVerificationEmailTemplate) SetSuccessRedirectionURL(v string) *CustomVerificationEmailTemplate { + s.SuccessRedirectionURL = &v + return s +} + +// SetTemplateName sets the TemplateName field's value. +func (s *CustomVerificationEmailTemplate) SetTemplateName(v string) *CustomVerificationEmailTemplate { + s.TemplateName = &v + return s +} + +// SetTemplateSubject sets the TemplateSubject field's value. +func (s *CustomVerificationEmailTemplate) SetTemplateSubject(v string) *CustomVerificationEmailTemplate { + s.TemplateSubject = &v + return s +} + // Represents a request to delete a configuration set event destination. Configuration // set event destinations are associated with configuration sets, which enable // you to publish email sending events. For information about using configuration // sets, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestinationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestinationRequest type DeleteConfigurationSetEventDestinationInput struct { _ struct{} `type:"structure"` @@ -6775,7 +7958,7 @@ func (s *DeleteConfigurationSetEventDestinationInput) SetEventDestinationName(v } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestinationResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestinationResponse type DeleteConfigurationSetEventDestinationOutput struct { _ struct{} `type:"structure"` } @@ -6793,7 +7976,7 @@ func (s DeleteConfigurationSetEventDestinationOutput) GoString() string { // Represents a request to delete a configuration set. Configuration sets enable // you to publish email sending events. For information about using configuration // sets, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetRequest type DeleteConfigurationSetInput struct { _ struct{} `type:"structure"` @@ -6833,7 +8016,7 @@ func (s *DeleteConfigurationSetInput) SetConfigurationSetName(v string) *DeleteC } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetResponse type DeleteConfigurationSetOutput struct { _ struct{} `type:"structure"` } @@ -6850,7 +8033,7 @@ func (s DeleteConfigurationSetOutput) GoString() string { // Represents a request to delete open and click tracking options in a configuration // set. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetTrackingOptionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetTrackingOptionsRequest type DeleteConfigurationSetTrackingOptionsInput struct { _ struct{} `type:"structure"` @@ -6891,24 +8074,79 @@ func (s *DeleteConfigurationSetTrackingOptionsInput) SetConfigurationSetName(v s } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetTrackingOptionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetTrackingOptionsResponse type DeleteConfigurationSetTrackingOptionsOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s DeleteConfigurationSetTrackingOptionsOutput) String() string { +func (s DeleteConfigurationSetTrackingOptionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteConfigurationSetTrackingOptionsOutput) GoString() string { + return s.String() +} + +// Represents a request to delete an existing custom verification email template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteCustomVerificationEmailTemplateRequest +type DeleteCustomVerificationEmailTemplateInput struct { + _ struct{} `type:"structure"` + + // The name of the custom verification email template that you want to delete. + // + // TemplateName is a required field + TemplateName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteCustomVerificationEmailTemplateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteCustomVerificationEmailTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteCustomVerificationEmailTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteCustomVerificationEmailTemplateInput"} + if s.TemplateName == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTemplateName sets the TemplateName field's value. +func (s *DeleteCustomVerificationEmailTemplateInput) SetTemplateName(v string) *DeleteCustomVerificationEmailTemplateInput { + s.TemplateName = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteCustomVerificationEmailTemplateOutput +type DeleteCustomVerificationEmailTemplateOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteCustomVerificationEmailTemplateOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteConfigurationSetTrackingOptionsOutput) GoString() string { +func (s DeleteCustomVerificationEmailTemplateOutput) GoString() string { return s.String() } // Represents a request to delete one of your Amazon SES identities (an email // address or domain). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityRequest type DeleteIdentityInput struct { _ struct{} `type:"structure"` @@ -6948,7 +8186,7 @@ func (s *DeleteIdentityInput) SetIdentity(v string) *DeleteIdentityInput { } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityResponse type DeleteIdentityOutput struct { _ struct{} `type:"structure"` } @@ -6967,7 +8205,7 @@ func (s DeleteIdentityOutput) GoString() string { // Sending authorization is an Amazon SES feature that enables you to authorize // other senders to use your identities. For information, see the Amazon SES // Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityPolicyRequest type DeleteIdentityPolicyInput struct { _ struct{} `type:"structure"` @@ -7028,7 +8266,7 @@ func (s *DeleteIdentityPolicyInput) SetPolicyName(v string) *DeleteIdentityPolic } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityPolicyResponse type DeleteIdentityPolicyOutput struct { _ struct{} `type:"structure"` } @@ -7046,7 +8284,7 @@ func (s DeleteIdentityPolicyOutput) GoString() string { // Represents a request to delete an IP address filter. You use IP address filters // when you receive email with Amazon SES. For more information, see the Amazon // SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptFilterRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptFilterRequest type DeleteReceiptFilterInput struct { _ struct{} `type:"structure"` @@ -7086,7 +8324,7 @@ func (s *DeleteReceiptFilterInput) SetFilterName(v string) *DeleteReceiptFilterI } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptFilterResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptFilterResponse type DeleteReceiptFilterOutput struct { _ struct{} `type:"structure"` } @@ -7104,7 +8342,7 @@ func (s DeleteReceiptFilterOutput) GoString() string { // Represents a request to delete a receipt rule. You use receipt rules to receive // email with Amazon SES. For more information, see the Amazon SES Developer // Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleRequest type DeleteReceiptRuleInput struct { _ struct{} `type:"structure"` @@ -7158,7 +8396,7 @@ func (s *DeleteReceiptRuleInput) SetRuleSetName(v string) *DeleteReceiptRuleInpu } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleResponse type DeleteReceiptRuleOutput struct { _ struct{} `type:"structure"` } @@ -7176,7 +8414,7 @@ func (s DeleteReceiptRuleOutput) GoString() string { // Represents a request to delete a receipt rule set and all of the receipt // rules it contains. You use receipt rule sets to receive email with Amazon // SES. For more information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleSetRequest type DeleteReceiptRuleSetInput struct { _ struct{} `type:"structure"` @@ -7216,7 +8454,7 @@ func (s *DeleteReceiptRuleSetInput) SetRuleSetName(v string) *DeleteReceiptRuleS } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleSetResponse type DeleteReceiptRuleSetOutput struct { _ struct{} `type:"structure"` } @@ -7233,7 +8471,7 @@ func (s DeleteReceiptRuleSetOutput) GoString() string { // Represents a request to delete an email template. For more information, see // the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteTemplateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteTemplateRequest type DeleteTemplateInput struct { _ struct{} `type:"structure"` @@ -7272,7 +8510,7 @@ func (s *DeleteTemplateInput) SetTemplateName(v string) *DeleteTemplateInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteTemplateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteTemplateResponse type DeleteTemplateOutput struct { _ struct{} `type:"structure"` } @@ -7289,7 +8527,7 @@ func (s DeleteTemplateOutput) GoString() string { // Represents a request to delete an email address from the list of email addresses // you have attempted to verify under your AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteVerifiedEmailAddressRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteVerifiedEmailAddressRequest type DeleteVerifiedEmailAddressInput struct { _ struct{} `type:"structure"` @@ -7328,7 +8566,7 @@ func (s *DeleteVerifiedEmailAddressInput) SetEmailAddress(v string) *DeleteVerif return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteVerifiedEmailAddressOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteVerifiedEmailAddressOutput type DeleteVerifiedEmailAddressOutput struct { _ struct{} `type:"structure"` } @@ -7347,7 +8585,7 @@ func (s DeleteVerifiedEmailAddressOutput) GoString() string { // rule set that is currently active. You use receipt rule sets to receive email // with Amazon SES. For more information, see the Amazon SES Developer Guide // (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeActiveReceiptRuleSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeActiveReceiptRuleSetRequest type DescribeActiveReceiptRuleSetInput struct { _ struct{} `type:"structure"` } @@ -7364,7 +8602,7 @@ func (s DescribeActiveReceiptRuleSetInput) GoString() string { // Represents the metadata and receipt rules for the receipt rule set that is // currently active. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeActiveReceiptRuleSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeActiveReceiptRuleSetResponse type DescribeActiveReceiptRuleSetOutput struct { _ struct{} `type:"structure"` @@ -7401,7 +8639,7 @@ func (s *DescribeActiveReceiptRuleSetOutput) SetRules(v []*ReceiptRule) *Describ // Represents a request to return the details of a configuration set. Configuration // sets enable you to publish email sending events. For information about using // configuration sets, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeConfigurationSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeConfigurationSetRequest type DescribeConfigurationSetInput struct { _ struct{} `type:"structure"` @@ -7452,7 +8690,7 @@ func (s *DescribeConfigurationSetInput) SetConfigurationSetName(v string) *Descr // Represents the details of a configuration set. Configuration sets enable // you to publish email sending events. For information about using configuration // sets, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeConfigurationSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeConfigurationSetResponse type DescribeConfigurationSetOutput struct { _ struct{} `type:"structure"` @@ -7463,6 +8701,9 @@ type DescribeConfigurationSetOutput struct { // A list of event destinations associated with the configuration set. EventDestinations []*EventDestination `type:"list"` + // An object that represents the reputation settings for the configuration set. + ReputationOptions *ReputationOptions `type:"structure"` + // The name of the custom open and click tracking domain associated with the // configuration set. TrackingOptions *TrackingOptions `type:"structure"` @@ -7490,6 +8731,12 @@ func (s *DescribeConfigurationSetOutput) SetEventDestinations(v []*EventDestinat return s } +// SetReputationOptions sets the ReputationOptions field's value. +func (s *DescribeConfigurationSetOutput) SetReputationOptions(v *ReputationOptions) *DescribeConfigurationSetOutput { + s.ReputationOptions = v + return s +} + // SetTrackingOptions sets the TrackingOptions field's value. func (s *DescribeConfigurationSetOutput) SetTrackingOptions(v *TrackingOptions) *DescribeConfigurationSetOutput { s.TrackingOptions = v @@ -7499,7 +8746,7 @@ func (s *DescribeConfigurationSetOutput) SetTrackingOptions(v *TrackingOptions) // Represents a request to return the details of a receipt rule. You use receipt // rules to receive email with Amazon SES. For more information, see the Amazon // SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleRequest type DescribeReceiptRuleInput struct { _ struct{} `type:"structure"` @@ -7553,7 +8800,7 @@ func (s *DescribeReceiptRuleInput) SetRuleSetName(v string) *DescribeReceiptRule } // Represents the details of a receipt rule. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleResponse type DescribeReceiptRuleOutput struct { _ struct{} `type:"structure"` @@ -7582,7 +8829,7 @@ func (s *DescribeReceiptRuleOutput) SetRule(v *ReceiptRule) *DescribeReceiptRule // Represents a request to return the details of a receipt rule set. You use // receipt rule sets to receive email with Amazon SES. For more information, // see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSetRequest type DescribeReceiptRuleSetInput struct { _ struct{} `type:"structure"` @@ -7622,7 +8869,7 @@ func (s *DescribeReceiptRuleSetInput) SetRuleSetName(v string) *DescribeReceiptR } // Represents the details of the specified receipt rule set. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSetResponse type DescribeReceiptRuleSetOutput struct { _ struct{} `type:"structure"` @@ -7659,11 +8906,14 @@ func (s *DescribeReceiptRuleSetOutput) SetRules(v []*ReceiptRule) *DescribeRecei // Represents the destination of the message, consisting of To:, CC:, and BCC: // fields. // -// By default, the string must be 7-bit ASCII. If the text must contain any -// other characters, then you must use MIME encoded-word syntax (RFC 2047) instead -// of a literal string. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=. -// For more information, see RFC 2047 (https://tools.ietf.org/html/rfc2047). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/Destination +// Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531 +// (https://tools.ietf.org/html/rfc6531). For this reason, the local part of +// a destination email address (the part of the email address that precedes +// the @ sign) may only contain 7-bit ASCII characters (https://en.wikipedia.org/wiki/Email_address#Local-part). +// If the domain part of an address (the part after the @ sign) contains non-ASCII +// characters, they must be encoded using Punycode, as described in RFC3492 +// (https://tools.ietf.org/html/rfc3492.html). +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/Destination type Destination struct { _ struct{} `type:"structure"` @@ -7716,7 +8966,7 @@ func (s *Destination) SetToAddresses(v []*string) *Destination { // to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, // or Amazon Simple Notification Service (Amazon SNS). For information about // using configuration sets, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/EventDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/EventDestination type EventDestination struct { _ struct{} `type:"structure"` @@ -7741,8 +8991,8 @@ type EventDestination struct { // The name of the event destination. The name must: // - // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), - // or dashes (-). + // * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), + // underscores (_), or dashes (-). // // * Contain less than 64 characters. // @@ -7836,7 +9086,7 @@ func (s *EventDestination) SetSNSDestination(v *SNSDestination) *EventDestinatio // // For information about receiving email through Amazon SES, see the Amazon // SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ExtensionField +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ExtensionField type ExtensionField struct { _ struct{} `type:"structure"` @@ -7891,12 +9141,166 @@ func (s *ExtensionField) SetValue(v string) *ExtensionField { return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetAccountSendingEnabledInput +type GetAccountSendingEnabledInput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s GetAccountSendingEnabledInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetAccountSendingEnabledInput) GoString() string { + return s.String() +} + +// Represents a request to return the email sending status for your Amazon SES +// account. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetAccountSendingEnabledResponse +type GetAccountSendingEnabledOutput struct { + _ struct{} `type:"structure"` + + // Describes whether email sending is enabled or disabled for your Amazon SES + // account. + Enabled *bool `type:"boolean"` +} + +// String returns the string representation +func (s GetAccountSendingEnabledOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetAccountSendingEnabledOutput) GoString() string { + return s.String() +} + +// SetEnabled sets the Enabled field's value. +func (s *GetAccountSendingEnabledOutput) SetEnabled(v bool) *GetAccountSendingEnabledOutput { + s.Enabled = &v + return s +} + +// Represents a request to retrieve an existing custom verification email template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetCustomVerificationEmailTemplateRequest +type GetCustomVerificationEmailTemplateInput struct { + _ struct{} `type:"structure"` + + // The name of the custom verification email template that you want to retrieve. + // + // TemplateName is a required field + TemplateName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s GetCustomVerificationEmailTemplateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetCustomVerificationEmailTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetCustomVerificationEmailTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCustomVerificationEmailTemplateInput"} + if s.TemplateName == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTemplateName sets the TemplateName field's value. +func (s *GetCustomVerificationEmailTemplateInput) SetTemplateName(v string) *GetCustomVerificationEmailTemplateInput { + s.TemplateName = &v + return s +} + +// The content of the custom verification email template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetCustomVerificationEmailTemplateResponse +type GetCustomVerificationEmailTemplateOutput struct { + _ struct{} `type:"structure"` + + // The URL that the recipient of the verification email is sent to if his or + // her address is not successfully verified. + FailureRedirectionURL *string `type:"string"` + + // The email address that the custom verification email is sent from. + FromEmailAddress *string `type:"string"` + + // The URL that the recipient of the verification email is sent to if his or + // her address is successfully verified. + SuccessRedirectionURL *string `type:"string"` + + // The content of the custom verification email. + TemplateContent *string `type:"string"` + + // The name of the custom verification email template. + TemplateName *string `type:"string"` + + // The subject line of the custom verification email. + TemplateSubject *string `type:"string"` +} + +// String returns the string representation +func (s GetCustomVerificationEmailTemplateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetCustomVerificationEmailTemplateOutput) GoString() string { + return s.String() +} + +// SetFailureRedirectionURL sets the FailureRedirectionURL field's value. +func (s *GetCustomVerificationEmailTemplateOutput) SetFailureRedirectionURL(v string) *GetCustomVerificationEmailTemplateOutput { + s.FailureRedirectionURL = &v + return s +} + +// SetFromEmailAddress sets the FromEmailAddress field's value. +func (s *GetCustomVerificationEmailTemplateOutput) SetFromEmailAddress(v string) *GetCustomVerificationEmailTemplateOutput { + s.FromEmailAddress = &v + return s +} + +// SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value. +func (s *GetCustomVerificationEmailTemplateOutput) SetSuccessRedirectionURL(v string) *GetCustomVerificationEmailTemplateOutput { + s.SuccessRedirectionURL = &v + return s +} + +// SetTemplateContent sets the TemplateContent field's value. +func (s *GetCustomVerificationEmailTemplateOutput) SetTemplateContent(v string) *GetCustomVerificationEmailTemplateOutput { + s.TemplateContent = &v + return s +} + +// SetTemplateName sets the TemplateName field's value. +func (s *GetCustomVerificationEmailTemplateOutput) SetTemplateName(v string) *GetCustomVerificationEmailTemplateOutput { + s.TemplateName = &v + return s +} + +// SetTemplateSubject sets the TemplateSubject field's value. +func (s *GetCustomVerificationEmailTemplateOutput) SetTemplateSubject(v string) *GetCustomVerificationEmailTemplateOutput { + s.TemplateSubject = &v + return s +} + // Represents a request for the status of Amazon SES Easy DKIM signing for an // identity. For domain identities, this request also returns the DKIM tokens // that are required for Easy DKIM signing, and whether Amazon SES successfully // verified that these tokens were published. For more information about Easy // DKIM, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityDkimAttributesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityDkimAttributesRequest type GetIdentityDkimAttributesInput struct { _ struct{} `type:"structure"` @@ -7940,7 +9344,7 @@ func (s *GetIdentityDkimAttributesInput) SetIdentities(v []*string) *GetIdentity // domain identities, this response also contains the DKIM tokens that are required // for Easy DKIM signing, and whether Amazon SES successfully verified that // these tokens were published. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityDkimAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityDkimAttributesResponse type GetIdentityDkimAttributesOutput struct { _ struct{} `type:"structure"` @@ -7969,7 +9373,7 @@ func (s *GetIdentityDkimAttributesOutput) SetDkimAttributes(v map[string]*Identi // Represents a request to return the Amazon SES custom MAIL FROM attributes // for a list of identities. For information about using a custom MAIL FROM // domain, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityMailFromDomainAttributesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityMailFromDomainAttributesRequest type GetIdentityMailFromDomainAttributesInput struct { _ struct{} `type:"structure"` @@ -8009,7 +9413,7 @@ func (s *GetIdentityMailFromDomainAttributesInput) SetIdentities(v []*string) *G } // Represents the custom MAIL FROM attributes for a list of identities. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityMailFromDomainAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityMailFromDomainAttributesResponse type GetIdentityMailFromDomainAttributesOutput struct { _ struct{} `type:"structure"` @@ -8038,7 +9442,7 @@ func (s *GetIdentityMailFromDomainAttributesOutput) SetMailFromDomainAttributes( // Represents a request to return the notification attributes for a list of // identities you verified with Amazon SES. For information about Amazon SES // notifications, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityNotificationAttributesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityNotificationAttributesRequest type GetIdentityNotificationAttributesInput struct { _ struct{} `type:"structure"` @@ -8080,7 +9484,7 @@ func (s *GetIdentityNotificationAttributesInput) SetIdentities(v []*string) *Get } // Represents the notification attributes for a list of identities. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityNotificationAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityNotificationAttributesResponse type GetIdentityNotificationAttributesOutput struct { _ struct{} `type:"structure"` @@ -8110,7 +9514,7 @@ func (s *GetIdentityNotificationAttributesOutput) SetNotificationAttributes(v ma // for an identity. Sending authorization is an Amazon SES feature that enables // you to authorize other senders to use your identities. For information, see // the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityPoliciesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityPoliciesRequest type GetIdentityPoliciesInput struct { _ struct{} `type:"structure"` @@ -8170,7 +9574,7 @@ func (s *GetIdentityPoliciesInput) SetPolicyNames(v []*string) *GetIdentityPolic } // Represents the requested sending authorization policies. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityPoliciesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityPoliciesResponse type GetIdentityPoliciesOutput struct { _ struct{} `type:"structure"` @@ -8200,7 +9604,7 @@ func (s *GetIdentityPoliciesOutput) SetPolicies(v map[string]*string) *GetIdenti // of identities. For domain identities, this request also returns the verification // token. For information about verifying identities with Amazon SES, see the // Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityVerificationAttributesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityVerificationAttributesRequest type GetIdentityVerificationAttributesInput struct { _ struct{} `type:"structure"` @@ -8241,7 +9645,7 @@ func (s *GetIdentityVerificationAttributesInput) SetIdentities(v []*string) *Get // The Amazon SES verification status of a list of identities. For domain identities, // this response also contains the verification token. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityVerificationAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityVerificationAttributesResponse type GetIdentityVerificationAttributesOutput struct { _ struct{} `type:"structure"` @@ -8267,7 +9671,7 @@ func (s *GetIdentityVerificationAttributesOutput) SetVerificationAttributes(v ma return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendQuotaInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendQuotaInput type GetSendQuotaInput struct { _ struct{} `type:"structure"` } @@ -8284,7 +9688,7 @@ func (s GetSendQuotaInput) GoString() string { // Represents your Amazon SES daily sending quota, maximum send rate, and the // number of emails you have sent in the last 24 hours. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendQuotaResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendQuotaResponse type GetSendQuotaOutput struct { _ struct{} `type:"structure"` @@ -8331,7 +9735,7 @@ func (s *GetSendQuotaOutput) SetSentLast24Hours(v float64) *GetSendQuotaOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendStatisticsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendStatisticsInput type GetSendStatisticsInput struct { _ struct{} `type:"structure"` } @@ -8348,7 +9752,7 @@ func (s GetSendStatisticsInput) GoString() string { // Represents a list of data points. This list contains aggregated data from // the previous two weeks of your sending activity with Amazon SES. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendStatisticsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendStatisticsResponse type GetSendStatisticsOutput struct { _ struct{} `type:"structure"` @@ -8372,7 +9776,7 @@ func (s *GetSendStatisticsOutput) SetSendDataPoints(v []*SendDataPoint) *GetSend return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetTemplateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetTemplateRequest type GetTemplateInput struct { _ struct{} `type:"structure"` @@ -8411,7 +9815,7 @@ func (s *GetTemplateInput) SetTemplateName(v string) *GetTemplateInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetTemplateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetTemplateResponse type GetTemplateOutput struct { _ struct{} `type:"structure"` @@ -8437,7 +9841,7 @@ func (s *GetTemplateOutput) SetTemplate(v *Template) *GetTemplateOutput { } // Represents the DKIM attributes of a verified email address or a domain. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/IdentityDkimAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/IdentityDkimAttributes type IdentityDkimAttributes struct { _ struct{} `type:"structure"` @@ -8497,7 +9901,7 @@ func (s *IdentityDkimAttributes) SetDkimVerificationStatus(v string) *IdentityDk // Represents the custom MAIL FROM domain attributes of a verified identity // (email address or domain). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/IdentityMailFromDomainAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/IdentityMailFromDomainAttributes type IdentityMailFromDomainAttributes struct { _ struct{} `type:"structure"` @@ -8561,7 +9965,7 @@ func (s *IdentityMailFromDomainAttributes) SetMailFromDomainStatus(v string) *Id // an identity has Amazon Simple Notification Service (Amazon SNS) topics set // for bounce, complaint, and/or delivery notifications, and whether feedback // forwarding is enabled for bounce and complaint notifications. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/IdentityNotificationAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/IdentityNotificationAttributes type IdentityNotificationAttributes struct { _ struct{} `type:"structure"` @@ -8663,7 +10067,7 @@ func (s *IdentityNotificationAttributes) SetHeadersInDeliveryNotificationsEnable } // Represents the verification attributes of a single identity. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/IdentityVerificationAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/IdentityVerificationAttributes type IdentityVerificationAttributes struct { _ struct{} `type:"structure"` @@ -8706,7 +10110,7 @@ func (s *IdentityVerificationAttributes) SetVerificationToken(v string) *Identit // configuration sets, which enable you to publish email sending events. For // information about using configuration sets, see the Amazon SES Developer // Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/KinesisFirehoseDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/KinesisFirehoseDestination type KinesisFirehoseDestination struct { _ struct{} `type:"structure"` @@ -8772,7 +10176,7 @@ func (s *KinesisFirehoseDestination) SetIAMRoleARN(v string) *KinesisFirehoseDes // // For information about using AWS Lambda actions in receipt rules, see the // Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-lambda.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/LambdaAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/LambdaAction type LambdaAction struct { _ struct{} `type:"structure"` @@ -8848,7 +10252,7 @@ func (s *LambdaAction) SetTopicArn(v string) *LambdaAction { // AWS account. Configuration sets enable you to publish email sending events. // For information about using configuration sets, see the Amazon SES Developer // Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListConfigurationSetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListConfigurationSetsRequest type ListConfigurationSetsInput struct { _ struct{} `type:"structure"` @@ -8885,7 +10289,7 @@ func (s *ListConfigurationSetsInput) SetNextToken(v string) *ListConfigurationSe // A list of configuration sets associated with your AWS account. Configuration // sets enable you to publish email sending events. For information about using // configuration sets, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListConfigurationSetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListConfigurationSetsResponse type ListConfigurationSetsOutput struct { _ struct{} `type:"structure"` @@ -8919,10 +10323,102 @@ func (s *ListConfigurationSetsOutput) SetNextToken(v string) *ListConfigurationS return s } +// Represents a request to list the existing custom verification email templates +// for your account. +// +// For more information about custom verification email templates, see Using +// Custom Verification Email Templates (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html) +// in the Amazon SES Developer Guide. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListCustomVerificationEmailTemplatesRequest +type ListCustomVerificationEmailTemplatesInput struct { + _ struct{} `type:"structure"` + + // The maximum number of custom verification email templates to return. This + // value must be at least 1 and less than or equal to 50. If you do not specify + // a value, or if you specify a value less than 1 or greater than 50, the operation + // will return up to 50 results. + MaxResults *int64 `min:"1" type:"integer"` + + // An array the contains the name and creation time stamp for each template + // in your Amazon SES account. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s ListCustomVerificationEmailTemplatesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListCustomVerificationEmailTemplatesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListCustomVerificationEmailTemplatesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListCustomVerificationEmailTemplatesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListCustomVerificationEmailTemplatesInput) SetMaxResults(v int64) *ListCustomVerificationEmailTemplatesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListCustomVerificationEmailTemplatesInput) SetNextToken(v string) *ListCustomVerificationEmailTemplatesInput { + s.NextToken = &v + return s +} + +// A paginated list of custom verification email templates. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListCustomVerificationEmailTemplatesResponse +type ListCustomVerificationEmailTemplatesOutput struct { + _ struct{} `type:"structure"` + + // A list of the custom verification email templates that exist in your account. + CustomVerificationEmailTemplates []*CustomVerificationEmailTemplate `type:"list"` + + // A token indicating that there are additional custom verification email templates + // available to be listed. Pass this token to a subsequent call to ListTemplates + // to retrieve the next 50 custom verification email templates. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s ListCustomVerificationEmailTemplatesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListCustomVerificationEmailTemplatesOutput) GoString() string { + return s.String() +} + +// SetCustomVerificationEmailTemplates sets the CustomVerificationEmailTemplates field's value. +func (s *ListCustomVerificationEmailTemplatesOutput) SetCustomVerificationEmailTemplates(v []*CustomVerificationEmailTemplate) *ListCustomVerificationEmailTemplatesOutput { + s.CustomVerificationEmailTemplates = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListCustomVerificationEmailTemplatesOutput) SetNextToken(v string) *ListCustomVerificationEmailTemplatesOutput { + s.NextToken = &v + return s +} + // Represents a request to return a list of all identities (email addresses // and domains) that you have attempted to verify under your AWS account, regardless // of verification status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentitiesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentitiesRequest type ListIdentitiesInput struct { _ struct{} `type:"structure"` @@ -8967,7 +10463,7 @@ func (s *ListIdentitiesInput) SetNextToken(v string) *ListIdentitiesInput { // A list of all identities that you have attempted to verify under your AWS // account, regardless of verification status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentitiesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentitiesResponse type ListIdentitiesOutput struct { _ struct{} `type:"structure"` @@ -9006,7 +10502,7 @@ func (s *ListIdentitiesOutput) SetNextToken(v string) *ListIdentitiesOutput { // are attached to an identity. Sending authorization is an Amazon SES feature // that enables you to authorize other senders to use your identities. For information, // see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentityPoliciesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentityPoliciesRequest type ListIdentityPoliciesInput struct { _ struct{} `type:"structure"` @@ -9050,7 +10546,7 @@ func (s *ListIdentityPoliciesInput) SetIdentity(v string) *ListIdentityPoliciesI } // A list of names of sending authorization policies that apply to an identity. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentityPoliciesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentityPoliciesResponse type ListIdentityPoliciesOutput struct { _ struct{} `type:"structure"` @@ -9079,7 +10575,7 @@ func (s *ListIdentityPoliciesOutput) SetPolicyNames(v []*string) *ListIdentityPo // Represents a request to list the IP address filters that exist under your // AWS account. You use IP address filters when you receive email with Amazon // SES. For more information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptFiltersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptFiltersRequest type ListReceiptFiltersInput struct { _ struct{} `type:"structure"` } @@ -9095,7 +10591,7 @@ func (s ListReceiptFiltersInput) GoString() string { } // A list of IP address filters that exist under your AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptFiltersResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptFiltersResponse type ListReceiptFiltersOutput struct { _ struct{} `type:"structure"` @@ -9123,7 +10619,7 @@ func (s *ListReceiptFiltersOutput) SetFilters(v []*ReceiptFilter) *ListReceiptFi // Represents a request to list the receipt rule sets that exist under your // AWS account. You use receipt rule sets to receive email with Amazon SES. // For more information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptRuleSetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptRuleSetsRequest type ListReceiptRuleSetsInput struct { _ struct{} `type:"structure"` @@ -9149,7 +10645,7 @@ func (s *ListReceiptRuleSetsInput) SetNextToken(v string) *ListReceiptRuleSetsIn } // A list of receipt rule sets that exist under your AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptRuleSetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptRuleSetsResponse type ListReceiptRuleSetsOutput struct { _ struct{} `type:"structure"` @@ -9185,7 +10681,7 @@ func (s *ListReceiptRuleSetsOutput) SetRuleSets(v []*ReceiptRuleSetMetadata) *Li return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListTemplatesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListTemplatesRequest type ListTemplatesInput struct { _ struct{} `type:"structure"` @@ -9195,7 +10691,8 @@ type ListTemplatesInput struct { // results. MaxItems *int64 `type:"integer"` - // The token to use for pagination. + // A token returned from a previous call to ListTemplates to indicate the position + // in the list of email templates. NextToken *string `type:"string"` } @@ -9221,15 +10718,17 @@ func (s *ListTemplatesInput) SetNextToken(v string) *ListTemplatesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListTemplatesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListTemplatesResponse type ListTemplatesOutput struct { _ struct{} `type:"structure"` - // The token to use for pagination. + // A token indicating that there are additional email templates available to + // be listed. Pass this token to a subsequent call to ListTemplates to retrieve + // the next 50 email templates. NextToken *string `type:"string"` - // An array the contains the name of creation time stamp for each template in - // your Amazon SES account. + // An array the contains the name and creation time stamp for each template + // in your Amazon SES account. TemplatesMetadata []*TemplateMetadata `type:"list"` } @@ -9255,7 +10754,7 @@ func (s *ListTemplatesOutput) SetTemplatesMetadata(v []*TemplateMetadata) *ListT return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListVerifiedEmailAddressesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListVerifiedEmailAddressesInput type ListVerifiedEmailAddressesInput struct { _ struct{} `type:"structure"` } @@ -9272,7 +10771,7 @@ func (s ListVerifiedEmailAddressesInput) GoString() string { // A list of email addresses that you have verified with Amazon SES under your // AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListVerifiedEmailAddressesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListVerifiedEmailAddressesResponse type ListVerifiedEmailAddressesOutput struct { _ struct{} `type:"structure"` @@ -9297,7 +10796,7 @@ func (s *ListVerifiedEmailAddressesOutput) SetVerifiedEmailAddresses(v []*string } // Represents the message to be sent, composed of a subject and a body. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/Message +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/Message type Message struct { _ struct{} `type:"structure"` @@ -9366,7 +10865,7 @@ func (s *Message) SetSubject(v *Content) *Message { // // For information about receiving email through Amazon SES, see the Amazon // SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/MessageDsn +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/MessageDsn type MessageDsn struct { _ struct{} `type:"structure"` @@ -9442,14 +10941,14 @@ func (s *MessageDsn) SetReportingMta(v string) *MessageDsn { // Message tags, which you use with configuration sets, enable you to publish // email sending events. For information about using configuration sets, see // the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/MessageTag +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/MessageTag type MessageTag struct { _ struct{} `type:"structure"` // The name of the tag. The name must: // - // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), - // or dashes (-). + // * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), + // underscores (_), or dashes (-). // // * Contain less than 256 characters. // @@ -9458,8 +10957,8 @@ type MessageTag struct { // The value of the tag. The value must: // - // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), - // or dashes (-). + // * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), + // underscores (_), or dashes (-). // // * Contain less than 256 characters. // @@ -9509,7 +11008,7 @@ func (s *MessageTag) SetValue(v string) *MessageTag { // an identity. Sending authorization is an Amazon SES feature that enables // you to authorize other senders to use your identities. For information, see // the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutIdentityPolicyRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutIdentityPolicyRequest type PutIdentityPolicyInput struct { _ struct{} `type:"structure"` @@ -9593,7 +11092,7 @@ func (s *PutIdentityPolicyInput) SetPolicyName(v string) *PutIdentityPolicyInput } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutIdentityPolicyResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutIdentityPolicyResponse type PutIdentityPolicyOutput struct { _ struct{} `type:"structure"` } @@ -9609,7 +11108,7 @@ func (s PutIdentityPolicyOutput) GoString() string { } // Represents the raw data of the message. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/RawMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/RawMessage type RawMessage struct { _ struct{} `type:"structure"` @@ -9672,7 +11171,7 @@ func (s *RawMessage) SetData(v []byte) *RawMessage { // // For information about setting up receipt rules, see the Amazon SES Developer // Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReceiptAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReceiptAction type ReceiptAction struct { _ struct{} `type:"structure"` @@ -9806,7 +11305,7 @@ func (s *ReceiptAction) SetWorkmailAction(v *WorkmailAction) *ReceiptAction { // // For information about setting up IP address filters, see the Amazon SES Developer // Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-ip-filters.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReceiptFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReceiptFilter type ReceiptFilter struct { _ struct{} `type:"structure"` @@ -9818,8 +11317,8 @@ type ReceiptFilter struct { // The name of the IP address filter. The name must: // - // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores - // (_), or dashes (-). + // * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), + // underscores (_), or dashes (-). // // * Start and end with a letter or number. // @@ -9877,7 +11376,7 @@ func (s *ReceiptFilter) SetName(v string) *ReceiptFilter { // // For information about setting up IP address filters, see the Amazon SES Developer // Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-ip-filters.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReceiptIpFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReceiptIpFilter type ReceiptIpFilter struct { _ struct{} `type:"structure"` @@ -9944,7 +11443,7 @@ func (s *ReceiptIpFilter) SetPolicy(v string) *ReceiptIpFilter { // // For information about setting up receipt rules, see the Amazon SES Developer // Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReceiptRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReceiptRule type ReceiptRule struct { _ struct{} `type:"structure"` @@ -9957,8 +11456,8 @@ type ReceiptRule struct { // The name of the receipt rule. The name must: // - // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores - // (_), or dashes (-). + // * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), + // underscores (_), or dashes (-). // // * Start and end with a letter or number. // @@ -10059,7 +11558,7 @@ func (s *ReceiptRule) SetTlsPolicy(v string) *ReceiptRule { // // For information about setting up receipt rule sets, see the Amazon SES Developer // Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rule-set.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReceiptRuleSetMetadata +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReceiptRuleSetMetadata type ReceiptRuleSetMetadata struct { _ struct{} `type:"structure"` @@ -10068,8 +11567,8 @@ type ReceiptRuleSetMetadata struct { // The name of the receipt rule set. The name must: // - // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores - // (_), or dashes (-). + // * This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), + // underscores (_), or dashes (-). // // * Start and end with a letter or number. // @@ -10104,7 +11603,7 @@ func (s *ReceiptRuleSetMetadata) SetName(v string) *ReceiptRuleSetMetadata { // // For information about receiving email through Amazon SES, see the Amazon // SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/RecipientDsnFields +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/RecipientDsnFields type RecipientDsnFields struct { _ struct{} `type:"structure"` @@ -10231,7 +11730,7 @@ func (s *RecipientDsnFields) SetStatus(v string) *RecipientDsnFields { // Represents a request to reorder the receipt rules within a receipt rule set. // You use receipt rule sets to receive email with Amazon SES. For more information, // see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReorderReceiptRuleSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReorderReceiptRuleSetRequest type ReorderReceiptRuleSetInput struct { _ struct{} `type:"structure"` @@ -10286,7 +11785,7 @@ func (s *ReorderReceiptRuleSetInput) SetRuleSetName(v string) *ReorderReceiptRul } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReorderReceiptRuleSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReorderReceiptRuleSetResponse type ReorderReceiptRuleSetOutput struct { _ struct{} `type:"structure"` } @@ -10301,6 +11800,65 @@ func (s ReorderReceiptRuleSetOutput) GoString() string { return s.String() } +// Contains information about the reputation settings for a configuration set. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReputationOptions +type ReputationOptions struct { + _ struct{} `type:"structure"` + + // The date and time at which the reputation metrics for the configuration set + // were last reset. Resetting these metrics is known as a fresh start. + // + // When you disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled + // and later re-enable it, the reputation metrics for the configuration set + // (but not for the entire Amazon SES account) are reset. + // + // If email sending for the configuration set has never been disabled and later + // re-enabled, the value of this attribute is null. + LastFreshStart *time.Time `type:"timestamp" timestampFormat:"iso8601"` + + // Describes whether or not Amazon SES publishes reputation metrics for the + // configuration set, such as bounce and complaint rates, to Amazon CloudWatch. + // + // If the value is true, reputation metrics are published. If the value is false, + // reputation metrics are not published. The default value is false. + ReputationMetricsEnabled *bool `type:"boolean"` + + // Describes whether email sending is enabled or disabled for the configuration + // set. If the value is true, then Amazon SES will send emails that use the + // configuration set. If the value is false, Amazon SES will not send emails + // that use the configuration set. The default value is true. You can change + // this setting using UpdateConfigurationSetSendingEnabled. + SendingEnabled *bool `type:"boolean"` +} + +// String returns the string representation +func (s ReputationOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ReputationOptions) GoString() string { + return s.String() +} + +// SetLastFreshStart sets the LastFreshStart field's value. +func (s *ReputationOptions) SetLastFreshStart(v time.Time) *ReputationOptions { + s.LastFreshStart = &v + return s +} + +// SetReputationMetricsEnabled sets the ReputationMetricsEnabled field's value. +func (s *ReputationOptions) SetReputationMetricsEnabled(v bool) *ReputationOptions { + s.ReputationMetricsEnabled = &v + return s +} + +// SetSendingEnabled sets the SendingEnabled field's value. +func (s *ReputationOptions) SetSendingEnabled(v bool) *ReputationOptions { + s.SendingEnabled = &v + return s +} + // When included in a receipt rule, this action saves the received message to // an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes // a notification to Amazon Simple Notification Service (Amazon SNS). @@ -10315,7 +11873,7 @@ func (s ReorderReceiptRuleSetOutput) GoString() string { // // For information about specifying Amazon S3 actions in receipt rules, see // the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-s3.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/S3Action +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/S3Action type S3Action struct { _ struct{} `type:"structure"` @@ -10432,7 +11990,7 @@ func (s *S3Action) SetTopicArn(v string) *S3Action { // // For information about using a receipt rule to publish an Amazon SNS notification, // see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-sns.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SNSAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SNSAction type SNSAction struct { _ struct{} `type:"structure"` @@ -10492,7 +12050,7 @@ func (s *SNSAction) SetTopicArn(v string) *SNSAction { // Event destinations, such as Amazon SNS, are associated with configuration // sets, which enable you to publish email sending events. For information about // using configuration sets, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SNSDestination +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SNSDestination type SNSDestination struct { _ struct{} `type:"structure"` @@ -10536,7 +12094,7 @@ func (s *SNSDestination) SetTopicARN(v string) *SNSDestination { // Represents a request to send a bounce message to the sender of an email you // received through Amazon SES. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBounceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBounceRequest type SendBounceInput struct { _ struct{} `type:"structure"` @@ -10655,7 +12213,7 @@ func (s *SendBounceInput) SetOriginalMessageId(v string) *SendBounceInput { } // Represents a unique message ID. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBounceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBounceResponse type SendBounceOutput struct { _ struct{} `type:"structure"` @@ -10681,7 +12239,7 @@ func (s *SendBounceOutput) SetMessageId(v string) *SendBounceOutput { // Represents a request to send a templated email to multiple destinations using // Amazon SES. For more information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBulkTemplatedEmailRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBulkTemplatedEmailRequest type SendBulkTemplatedEmailInput struct { _ struct{} `type:"structure"` @@ -10743,11 +12301,16 @@ type SendBulkTemplatedEmailInput struct { // parameter. For more information about sending authorization, see the Amazon // SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html). // - // In all cases, the email address must be 7-bit ASCII. If the text must contain - // any other characters, then you must use MIME encoded-word syntax (RFC 2047) - // instead of a literal string. MIME encoded-word syntax uses the following - // form: =?charset?encoding?encoded-text?=. For more information, see RFC 2047 - // (https://tools.ietf.org/html/rfc2047). + // Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531 + // (https://tools.ietf.org/html/rfc6531). For this reason, the local part of + // a source email address (the part of the email address that precedes the @ + // sign) may only contain 7-bit ASCII characters (https://en.wikipedia.org/wiki/Email_address#Local-part). + // If the domain part of an address (the part after the @ sign) contains non-ASCII + // characters, they must be encoded using Punycode, as described in RFC3492 + // (https://tools.ietf.org/html/rfc3492.html). The sender name (also known as + // the friendly name) may contain non-ASCII characters. These characters must + // be encoded using MIME encoded-word syntax, as described in RFC 2047 (https://tools.ietf.org/html/rfc2047). + // MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=. // // Source is a required field Source *string `type:"string" required:"true"` @@ -10859,65 +12422,155 @@ func (s *SendBulkTemplatedEmailInput) SetReturnPath(v string) *SendBulkTemplated return s } -// SetReturnPathArn sets the ReturnPathArn field's value. -func (s *SendBulkTemplatedEmailInput) SetReturnPathArn(v string) *SendBulkTemplatedEmailInput { - s.ReturnPathArn = &v - return s +// SetReturnPathArn sets the ReturnPathArn field's value. +func (s *SendBulkTemplatedEmailInput) SetReturnPathArn(v string) *SendBulkTemplatedEmailInput { + s.ReturnPathArn = &v + return s +} + +// SetSource sets the Source field's value. +func (s *SendBulkTemplatedEmailInput) SetSource(v string) *SendBulkTemplatedEmailInput { + s.Source = &v + return s +} + +// SetSourceArn sets the SourceArn field's value. +func (s *SendBulkTemplatedEmailInput) SetSourceArn(v string) *SendBulkTemplatedEmailInput { + s.SourceArn = &v + return s +} + +// SetTemplate sets the Template field's value. +func (s *SendBulkTemplatedEmailInput) SetTemplate(v string) *SendBulkTemplatedEmailInput { + s.Template = &v + return s +} + +// SetTemplateArn sets the TemplateArn field's value. +func (s *SendBulkTemplatedEmailInput) SetTemplateArn(v string) *SendBulkTemplatedEmailInput { + s.TemplateArn = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBulkTemplatedEmailResponse +type SendBulkTemplatedEmailOutput struct { + _ struct{} `type:"structure"` + + // The unique message identifier returned from the SendBulkTemplatedEmail action. + // + // Status is a required field + Status []*BulkEmailDestinationStatus `type:"list" required:"true"` +} + +// String returns the string representation +func (s SendBulkTemplatedEmailOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SendBulkTemplatedEmailOutput) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *SendBulkTemplatedEmailOutput) SetStatus(v []*BulkEmailDestinationStatus) *SendBulkTemplatedEmailOutput { + s.Status = v + return s +} + +// Represents a request to send a custom verification email to a specified recipient. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendCustomVerificationEmailRequest +type SendCustomVerificationEmailInput struct { + _ struct{} `type:"structure"` + + // Name of a configuration set to use when sending the verification email. + ConfigurationSetName *string `type:"string"` + + // The email address to verify. + // + // EmailAddress is a required field + EmailAddress *string `type:"string" required:"true"` + + // The name of the custom verification email template to use when sending the + // verification email. + // + // TemplateName is a required field + TemplateName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s SendCustomVerificationEmailInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SendCustomVerificationEmailInput) GoString() string { + return s.String() } -// SetSource sets the Source field's value. -func (s *SendBulkTemplatedEmailInput) SetSource(v string) *SendBulkTemplatedEmailInput { - s.Source = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *SendCustomVerificationEmailInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SendCustomVerificationEmailInput"} + if s.EmailAddress == nil { + invalidParams.Add(request.NewErrParamRequired("EmailAddress")) + } + if s.TemplateName == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetSourceArn sets the SourceArn field's value. -func (s *SendBulkTemplatedEmailInput) SetSourceArn(v string) *SendBulkTemplatedEmailInput { - s.SourceArn = &v +// SetConfigurationSetName sets the ConfigurationSetName field's value. +func (s *SendCustomVerificationEmailInput) SetConfigurationSetName(v string) *SendCustomVerificationEmailInput { + s.ConfigurationSetName = &v return s } -// SetTemplate sets the Template field's value. -func (s *SendBulkTemplatedEmailInput) SetTemplate(v string) *SendBulkTemplatedEmailInput { - s.Template = &v +// SetEmailAddress sets the EmailAddress field's value. +func (s *SendCustomVerificationEmailInput) SetEmailAddress(v string) *SendCustomVerificationEmailInput { + s.EmailAddress = &v return s } -// SetTemplateArn sets the TemplateArn field's value. -func (s *SendBulkTemplatedEmailInput) SetTemplateArn(v string) *SendBulkTemplatedEmailInput { - s.TemplateArn = &v +// SetTemplateName sets the TemplateName field's value. +func (s *SendCustomVerificationEmailInput) SetTemplateName(v string) *SendCustomVerificationEmailInput { + s.TemplateName = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBulkTemplatedEmailResponse -type SendBulkTemplatedEmailOutput struct { +// The response received when attempting to send the custom verification email. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendCustomVerificationEmailResponse +type SendCustomVerificationEmailOutput struct { _ struct{} `type:"structure"` - // The unique message identifier returned from the SendBulkTemplatedEmail action. - // - // Status is a required field - Status []*BulkEmailDestinationStatus `type:"list" required:"true"` + // The unique message identifier returned from the SendCustomVerificationEmail + // operation. + MessageId *string `type:"string"` } // String returns the string representation -func (s SendBulkTemplatedEmailOutput) String() string { +func (s SendCustomVerificationEmailOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SendBulkTemplatedEmailOutput) GoString() string { +func (s SendCustomVerificationEmailOutput) GoString() string { return s.String() } -// SetStatus sets the Status field's value. -func (s *SendBulkTemplatedEmailOutput) SetStatus(v []*BulkEmailDestinationStatus) *SendBulkTemplatedEmailOutput { - s.Status = v +// SetMessageId sets the MessageId field's value. +func (s *SendCustomVerificationEmailOutput) SetMessageId(v string) *SendCustomVerificationEmailOutput { + s.MessageId = &v return s } // Represents sending statistics data. Each SendDataPoint contains statistics // for a 15-minute period of sending activity. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendDataPoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendDataPoint type SendDataPoint struct { _ struct{} `type:"structure"` @@ -10979,7 +12632,7 @@ func (s *SendDataPoint) SetTimestamp(v time.Time) *SendDataPoint { // Represents a request to send a single formatted email using Amazon SES. For // more information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-formatted.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendEmailRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendEmailRequest type SendEmailInput struct { _ struct{} `type:"structure"` @@ -11032,11 +12685,16 @@ type SendEmailInput struct { // parameter. For more information about sending authorization, see the Amazon // SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html). // - // In all cases, the email address must be 7-bit ASCII. If the text must contain - // any other characters, then you must use MIME encoded-word syntax (RFC 2047) - // instead of a literal string. MIME encoded-word syntax uses the following - // form: =?charset?encoding?encoded-text?=. For more information, see RFC 2047 - // (https://tools.ietf.org/html/rfc2047). + // Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531 + // (https://tools.ietf.org/html/rfc6531). For this reason, the local part of + // a source email address (the part of the email address that precedes the @ + // sign) may only contain 7-bit ASCII characters (https://en.wikipedia.org/wiki/Email_address#Local-part). + // If the domain part of an address (the part after the @ sign) contains non-ASCII + // characters, they must be encoded using Punycode, as described in RFC3492 + // (https://tools.ietf.org/html/rfc3492.html). The sender name (also known as + // the friendly name) may contain non-ASCII characters. These characters must + // be encoded using MIME encoded-word syntax, as described in RFC 2047 (https://tools.ietf.org/html/rfc2047). + // MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=. // // Source is a required field Source *string `type:"string" required:"true"` @@ -11159,7 +12817,7 @@ func (s *SendEmailInput) SetTags(v []*MessageTag) *SendEmailInput { } // Represents a unique message ID. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendEmailResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendEmailResponse type SendEmailOutput struct { _ struct{} `type:"structure"` @@ -11187,7 +12845,7 @@ func (s *SendEmailOutput) SetMessageId(v string) *SendEmailOutput { // Represents a request to send a single raw email using Amazon SES. For more // information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendRawEmailRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendRawEmailRequest type SendRawEmailInput struct { _ struct{} `type:"structure"` @@ -11252,10 +12910,16 @@ type SendRawEmailInput struct { // you must specify a "From" address in the raw text of the message. (You can // also specify both.) // - // By default, the string must be 7-bit ASCII. If the text must contain any - // other characters, then you must use MIME encoded-word syntax (RFC 2047) instead - // of a literal string. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=. - // For more information, see RFC 2047 (https://tools.ietf.org/html/rfc2047). + // Amazon SES does not support the SMTPUTF8 extension, as described inRFC6531 + // (https://tools.ietf.org/html/rfc6531). For this reason, the local part of + // a source email address (the part of the email address that precedes the @ + // sign) may only contain 7-bit ASCII characters (https://en.wikipedia.org/wiki/Email_address#Local-part). + // If the domain part of an address (the part after the @ sign) contains non-ASCII + // characters, they must be encoded using Punycode, as described in RFC3492 + // (https://tools.ietf.org/html/rfc3492.html). The sender name (also known as + // the friendly name) may contain non-ASCII characters. These characters must + // be encoded using MIME encoded-word syntax, as described in RFC 2047 (https://tools.ietf.org/html/rfc2047). + // MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=. // // If you specify the Source parameter and have feedback forwarding enabled, // then bounces and complaints will be sent to this email address. This takes @@ -11374,7 +13038,7 @@ func (s *SendRawEmailInput) SetTags(v []*MessageTag) *SendRawEmailInput { } // Represents a unique message ID. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendRawEmailResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendRawEmailResponse type SendRawEmailOutput struct { _ struct{} `type:"structure"` @@ -11402,7 +13066,7 @@ func (s *SendRawEmailOutput) SetMessageId(v string) *SendRawEmailOutput { // Represents a request to send a templated email using Amazon SES. For more // information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendTemplatedEmailRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendTemplatedEmailRequest type SendTemplatedEmailInput struct { _ struct{} `type:"structure"` @@ -11451,11 +13115,16 @@ type SendTemplatedEmailInput struct { // parameter. For more information about sending authorization, see the Amazon // SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html). // - // In all cases, the email address must be 7-bit ASCII. If the text must contain - // any other characters, then you must use MIME encoded-word syntax (RFC 2047) - // instead of a literal string. MIME encoded-word syntax uses the following - // form: =?charset?encoding?encoded-text?=. For more information, see RFC 2047 - // (https://tools.ietf.org/html/rfc2047). + // Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531 + // (https://tools.ietf.org/html/rfc6531). For this reason, the local part of + // a source email address (the part of the email address that precedes the @ + // sign) may only contain 7-bit ASCII characters (https://en.wikipedia.org/wiki/Email_address#Local-part). + // If the domain part of an address (the part after the @ sign) contains non-ASCII + // characters, they must be encoded using Punycode, as described in RFC3492 + // (https://tools.ietf.org/html/rfc3492.html). The sender name (also known as + // the friendly name) may contain non-ASCII characters. These characters must + // be encoded using MIME encoded-word syntax, as described inRFC 2047 (https://tools.ietf.org/html/rfc2047). + // MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=. // // Source is a required field Source *string `type:"string" required:"true"` @@ -11602,7 +13271,7 @@ func (s *SendTemplatedEmailInput) SetTemplateData(v string) *SendTemplatedEmailI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendTemplatedEmailResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendTemplatedEmailResponse type SendTemplatedEmailOutput struct { _ struct{} `type:"structure"` @@ -11631,7 +13300,7 @@ func (s *SendTemplatedEmailOutput) SetMessageId(v string) *SendTemplatedEmailOut // Represents a request to set a receipt rule set as the active receipt rule // set. You use receipt rule sets to receive email with Amazon SES. For more // information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetActiveReceiptRuleSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetActiveReceiptRuleSetRequest type SetActiveReceiptRuleSetInput struct { _ struct{} `type:"structure"` @@ -11657,7 +13326,7 @@ func (s *SetActiveReceiptRuleSetInput) SetRuleSetName(v string) *SetActiveReceip } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetActiveReceiptRuleSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetActiveReceiptRuleSetResponse type SetActiveReceiptRuleSetOutput struct { _ struct{} `type:"structure"` } @@ -11675,7 +13344,7 @@ func (s SetActiveReceiptRuleSetOutput) GoString() string { // Represents a request to enable or disable Amazon SES Easy DKIM signing for // an identity. For more information about setting up Easy DKIM, see the Amazon // SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityDkimEnabledRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityDkimEnabledRequest type SetIdentityDkimEnabledInput struct { _ struct{} `type:"structure"` @@ -11730,7 +13399,7 @@ func (s *SetIdentityDkimEnabledInput) SetIdentity(v string) *SetIdentityDkimEnab } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityDkimEnabledResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityDkimEnabledResponse type SetIdentityDkimEnabledOutput struct { _ struct{} `type:"structure"` } @@ -11748,7 +13417,7 @@ func (s SetIdentityDkimEnabledOutput) GoString() string { // Represents a request to enable or disable whether Amazon SES forwards you // bounce and complaint notifications through email. For information about email // feedback forwarding, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications-via-email.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityFeedbackForwardingEnabledRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityFeedbackForwardingEnabledRequest type SetIdentityFeedbackForwardingEnabledInput struct { _ struct{} `type:"structure"` @@ -11808,7 +13477,7 @@ func (s *SetIdentityFeedbackForwardingEnabledInput) SetIdentity(v string) *SetId } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityFeedbackForwardingEnabledResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityFeedbackForwardingEnabledResponse type SetIdentityFeedbackForwardingEnabledOutput struct { _ struct{} `type:"structure"` } @@ -11826,7 +13495,7 @@ func (s SetIdentityFeedbackForwardingEnabledOutput) GoString() string { // Represents a request to set whether Amazon SES includes the original email // headers in the Amazon SNS notifications of a specified type. For information // about notifications, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications-via-sns.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityHeadersInNotificationsEnabledRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityHeadersInNotificationsEnabledRequest type SetIdentityHeadersInNotificationsEnabledInput struct { _ struct{} `type:"structure"` @@ -11901,7 +13570,7 @@ func (s *SetIdentityHeadersInNotificationsEnabledInput) SetNotificationType(v st } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityHeadersInNotificationsEnabledResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityHeadersInNotificationsEnabledResponse type SetIdentityHeadersInNotificationsEnabledOutput struct { _ struct{} `type:"structure"` } @@ -11919,7 +13588,7 @@ func (s SetIdentityHeadersInNotificationsEnabledOutput) GoString() string { // Represents a request to enable or disable the Amazon SES custom MAIL FROM // domain setup for a verified identity. For information about using a custom // MAIL FROM domain, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityMailFromDomainRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityMailFromDomainRequest type SetIdentityMailFromDomainInput struct { _ struct{} `type:"structure"` @@ -11991,7 +13660,7 @@ func (s *SetIdentityMailFromDomainInput) SetMailFromDomain(v string) *SetIdentit } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityMailFromDomainResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityMailFromDomainResponse type SetIdentityMailFromDomainOutput struct { _ struct{} `type:"structure"` } @@ -12010,7 +13679,7 @@ func (s SetIdentityMailFromDomainOutput) GoString() string { // will publish bounce, complaint, or delivery notifications for emails sent // with that identity as the Source. For information about Amazon SES notifications, // see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications-via-sns.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityNotificationTopicRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityNotificationTopicRequest type SetIdentityNotificationTopicInput struct { _ struct{} `type:"structure"` @@ -12078,7 +13747,7 @@ func (s *SetIdentityNotificationTopicInput) SetSnsTopic(v string) *SetIdentityNo } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityNotificationTopicResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityNotificationTopicResponse type SetIdentityNotificationTopicOutput struct { _ struct{} `type:"structure"` } @@ -12096,7 +13765,7 @@ func (s SetIdentityNotificationTopicOutput) GoString() string { // Represents a request to set the position of a receipt rule in a receipt rule // set. You use receipt rule sets to receive email with Amazon SES. For more // information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetReceiptRulePositionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetReceiptRulePositionRequest type SetReceiptRulePositionInput struct { _ struct{} `type:"structure"` @@ -12159,7 +13828,7 @@ func (s *SetReceiptRulePositionInput) SetRuleSetName(v string) *SetReceiptRulePo } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetReceiptRulePositionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetReceiptRulePositionResponse type SetReceiptRulePositionOutput struct { _ struct{} `type:"structure"` } @@ -12180,7 +13849,7 @@ func (s SetReceiptRulePositionOutput) GoString() string { // // For information about setting a stop action in a receipt rule, see the Amazon // SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-stop.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/StopAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/StopAction type StopAction struct { _ struct{} `type:"structure"` @@ -12233,7 +13902,7 @@ func (s *StopAction) SetTopicArn(v string) *StopAction { // The content of the email, composed of a subject line, an HTML part, and a // text-only part. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/Template +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/Template type Template struct { _ struct{} `type:"structure"` @@ -12301,8 +13970,8 @@ func (s *Template) SetTextPart(v string) *Template { return s } -// Information about an email template. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TemplateMetadata +// Contains information about an email template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TemplateMetadata type TemplateMetadata struct { _ struct{} `type:"structure"` @@ -12335,7 +14004,7 @@ func (s *TemplateMetadata) SetName(v string) *TemplateMetadata { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TestRenderTemplateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TestRenderTemplateRequest type TestRenderTemplateInput struct { _ struct{} `type:"structure"` @@ -12390,7 +14059,7 @@ func (s *TestRenderTemplateInput) SetTemplateName(v string) *TestRenderTemplateI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TestRenderTemplateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TestRenderTemplateResponse type TestRenderTemplateOutput struct { _ struct{} `type:"structure"` @@ -12422,7 +14091,7 @@ func (s *TestRenderTemplateOutput) SetRenderedTemplate(v string) *TestRenderTemp // For more information, see Configuring Custom Domains to Handle Open and Click // Tracking (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-custom-open-click-domains.html) // in the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TrackingOptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TrackingOptions type TrackingOptions struct { _ struct{} `type:"structure"` @@ -12447,10 +14116,52 @@ func (s *TrackingOptions) SetCustomRedirectDomain(v string) *TrackingOptions { return s } +// Represents a request to enable or disable the email sending capabilities +// for your entire Amazon SES account. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateAccountSendingEnabledRequest +type UpdateAccountSendingEnabledInput struct { + _ struct{} `type:"structure"` + + // Describes whether email sending is enabled or disabled for your Amazon SES + // account. + Enabled *bool `type:"boolean"` +} + +// String returns the string representation +func (s UpdateAccountSendingEnabledInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateAccountSendingEnabledInput) GoString() string { + return s.String() +} + +// SetEnabled sets the Enabled field's value. +func (s *UpdateAccountSendingEnabledInput) SetEnabled(v bool) *UpdateAccountSendingEnabledInput { + s.Enabled = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateAccountSendingEnabledOutput +type UpdateAccountSendingEnabledOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateAccountSendingEnabledOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateAccountSendingEnabledOutput) GoString() string { + return s.String() +} + // Represents a request to update the event destination of a configuration set. // Configuration sets enable you to publish email sending events. For information // about using configuration sets, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetEventDestinationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetEventDestinationRequest type UpdateConfigurationSetEventDestinationInput struct { _ struct{} `type:"structure"` @@ -12511,7 +14222,7 @@ func (s *UpdateConfigurationSetEventDestinationInput) SetEventDestination(v *Eve } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetEventDestinationResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetEventDestinationResponse type UpdateConfigurationSetEventDestinationOutput struct { _ struct{} `type:"structure"` } @@ -12526,8 +14237,150 @@ func (s UpdateConfigurationSetEventDestinationOutput) GoString() string { return s.String() } +// Represents a request to modify the reputation metric publishing settings +// for a configuration set. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetReputationMetricsEnabledRequest +type UpdateConfigurationSetReputationMetricsEnabledInput struct { + _ struct{} `type:"structure"` + + // The name of the configuration set that you want to update. + // + // ConfigurationSetName is a required field + ConfigurationSetName *string `type:"string" required:"true"` + + // Describes whether or not Amazon SES will publish reputation metrics for the + // configuration set, such as bounce and complaint rates, to Amazon CloudWatch. + // + // Enabled is a required field + Enabled *bool `type:"boolean" required:"true"` +} + +// String returns the string representation +func (s UpdateConfigurationSetReputationMetricsEnabledInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateConfigurationSetReputationMetricsEnabledInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateConfigurationSetReputationMetricsEnabledInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateConfigurationSetReputationMetricsEnabledInput"} + if s.ConfigurationSetName == nil { + invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName")) + } + if s.Enabled == nil { + invalidParams.Add(request.NewErrParamRequired("Enabled")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfigurationSetName sets the ConfigurationSetName field's value. +func (s *UpdateConfigurationSetReputationMetricsEnabledInput) SetConfigurationSetName(v string) *UpdateConfigurationSetReputationMetricsEnabledInput { + s.ConfigurationSetName = &v + return s +} + +// SetEnabled sets the Enabled field's value. +func (s *UpdateConfigurationSetReputationMetricsEnabledInput) SetEnabled(v bool) *UpdateConfigurationSetReputationMetricsEnabledInput { + s.Enabled = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetReputationMetricsEnabledOutput +type UpdateConfigurationSetReputationMetricsEnabledOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateConfigurationSetReputationMetricsEnabledOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateConfigurationSetReputationMetricsEnabledOutput) GoString() string { + return s.String() +} + +// Represents a request to enable or disable the email sending capabilities +// for a specific configuration set. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetSendingEnabledRequest +type UpdateConfigurationSetSendingEnabledInput struct { + _ struct{} `type:"structure"` + + // The name of the configuration set that you want to update. + // + // ConfigurationSetName is a required field + ConfigurationSetName *string `type:"string" required:"true"` + + // Describes whether email sending is enabled or disabled for the configuration + // set. + // + // Enabled is a required field + Enabled *bool `type:"boolean" required:"true"` +} + +// String returns the string representation +func (s UpdateConfigurationSetSendingEnabledInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateConfigurationSetSendingEnabledInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateConfigurationSetSendingEnabledInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateConfigurationSetSendingEnabledInput"} + if s.ConfigurationSetName == nil { + invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName")) + } + if s.Enabled == nil { + invalidParams.Add(request.NewErrParamRequired("Enabled")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfigurationSetName sets the ConfigurationSetName field's value. +func (s *UpdateConfigurationSetSendingEnabledInput) SetConfigurationSetName(v string) *UpdateConfigurationSetSendingEnabledInput { + s.ConfigurationSetName = &v + return s +} + +// SetEnabled sets the Enabled field's value. +func (s *UpdateConfigurationSetSendingEnabledInput) SetEnabled(v bool) *UpdateConfigurationSetSendingEnabledInput { + s.Enabled = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetSendingEnabledOutput +type UpdateConfigurationSetSendingEnabledOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateConfigurationSetSendingEnabledOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateConfigurationSetSendingEnabledOutput) GoString() string { + return s.String() +} + // Represents a request to update the tracking options for a configuration set. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetTrackingOptionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetTrackingOptionsRequest type UpdateConfigurationSetTrackingOptionsInput struct { _ struct{} `type:"structure"` @@ -12588,7 +14441,7 @@ func (s *UpdateConfigurationSetTrackingOptionsInput) SetTrackingOptions(v *Track } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetTrackingOptionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetTrackingOptionsResponse type UpdateConfigurationSetTrackingOptionsOutput struct { _ struct{} `type:"structure"` } @@ -12603,10 +14456,116 @@ func (s UpdateConfigurationSetTrackingOptionsOutput) GoString() string { return s.String() } +// Represents a request to update an existing custom verification email template. +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateCustomVerificationEmailTemplateRequest +type UpdateCustomVerificationEmailTemplateInput struct { + _ struct{} `type:"structure"` + + // The URL that the recipient of the verification email is sent to if his or + // her address is not successfully verified. + FailureRedirectionURL *string `type:"string"` + + // The email address that the custom verification email is sent from. + FromEmailAddress *string `type:"string"` + + // The URL that the recipient of the verification email is sent to if his or + // her address is successfully verified. + SuccessRedirectionURL *string `type:"string"` + + // The content of the custom verification email. The total size of the email + // must be less than 10 MB. The message body may contain HTML, with some limitations. + // For more information, see Custom Verification Email Frequently Asked Questions + // (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html#custom-verification-emails-faq) + // in the Amazon SES Developer Guide. + TemplateContent *string `type:"string"` + + // The name of the custom verification email template that you want to update. + // + // TemplateName is a required field + TemplateName *string `type:"string" required:"true"` + + // The subject line of the custom verification email. + TemplateSubject *string `type:"string"` +} + +// String returns the string representation +func (s UpdateCustomVerificationEmailTemplateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateCustomVerificationEmailTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateCustomVerificationEmailTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateCustomVerificationEmailTemplateInput"} + if s.TemplateName == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFailureRedirectionURL sets the FailureRedirectionURL field's value. +func (s *UpdateCustomVerificationEmailTemplateInput) SetFailureRedirectionURL(v string) *UpdateCustomVerificationEmailTemplateInput { + s.FailureRedirectionURL = &v + return s +} + +// SetFromEmailAddress sets the FromEmailAddress field's value. +func (s *UpdateCustomVerificationEmailTemplateInput) SetFromEmailAddress(v string) *UpdateCustomVerificationEmailTemplateInput { + s.FromEmailAddress = &v + return s +} + +// SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value. +func (s *UpdateCustomVerificationEmailTemplateInput) SetSuccessRedirectionURL(v string) *UpdateCustomVerificationEmailTemplateInput { + s.SuccessRedirectionURL = &v + return s +} + +// SetTemplateContent sets the TemplateContent field's value. +func (s *UpdateCustomVerificationEmailTemplateInput) SetTemplateContent(v string) *UpdateCustomVerificationEmailTemplateInput { + s.TemplateContent = &v + return s +} + +// SetTemplateName sets the TemplateName field's value. +func (s *UpdateCustomVerificationEmailTemplateInput) SetTemplateName(v string) *UpdateCustomVerificationEmailTemplateInput { + s.TemplateName = &v + return s +} + +// SetTemplateSubject sets the TemplateSubject field's value. +func (s *UpdateCustomVerificationEmailTemplateInput) SetTemplateSubject(v string) *UpdateCustomVerificationEmailTemplateInput { + s.TemplateSubject = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateCustomVerificationEmailTemplateOutput +type UpdateCustomVerificationEmailTemplateOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateCustomVerificationEmailTemplateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateCustomVerificationEmailTemplateOutput) GoString() string { + return s.String() +} + // Represents a request to update a receipt rule. You use receipt rules to receive // email with Amazon SES. For more information, see the Amazon SES Developer // Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateReceiptRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateReceiptRuleRequest type UpdateReceiptRuleInput struct { _ struct{} `type:"structure"` @@ -12665,7 +14624,7 @@ func (s *UpdateReceiptRuleInput) SetRuleSetName(v string) *UpdateReceiptRuleInpu } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateReceiptRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateReceiptRuleResponse type UpdateReceiptRuleOutput struct { _ struct{} `type:"structure"` } @@ -12680,7 +14639,7 @@ func (s UpdateReceiptRuleOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateTemplateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateTemplateRequest type UpdateTemplateInput struct { _ struct{} `type:"structure"` @@ -12725,7 +14684,7 @@ func (s *UpdateTemplateInput) SetTemplate(v *Template) *UpdateTemplateInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateTemplateResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateTemplateResponse type UpdateTemplateOutput struct { _ struct{} `type:"structure"` } @@ -12743,7 +14702,7 @@ func (s UpdateTemplateOutput) GoString() string { // Represents a request to generate the CNAME records needed to set up Easy // DKIM with Amazon SES. For more information about setting up Easy DKIM, see // the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainDkimRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainDkimRequest type VerifyDomainDkimInput struct { _ struct{} `type:"structure"` @@ -12784,7 +14743,7 @@ func (s *VerifyDomainDkimInput) SetDomain(v string) *VerifyDomainDkimInput { // Returns CNAME records that you must publish to the DNS server of your domain // to set up Easy DKIM with Amazon SES. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainDkimResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainDkimResponse type VerifyDomainDkimOutput struct { _ struct{} `type:"structure"` @@ -12824,7 +14783,7 @@ func (s *VerifyDomainDkimOutput) SetDkimTokens(v []*string) *VerifyDomainDkimOut // the TXT records that you must publish to the DNS server of your domain to // complete the verification. For information about domain verification, see // the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-domains.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainIdentityRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainIdentityRequest type VerifyDomainIdentityInput struct { _ struct{} `type:"structure"` @@ -12865,7 +14824,7 @@ func (s *VerifyDomainIdentityInput) SetDomain(v string) *VerifyDomainIdentityInp // Returns a TXT record that you must publish to the DNS server of your domain // to complete domain verification with Amazon SES. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainIdentityResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainIdentityResponse type VerifyDomainIdentityOutput struct { _ struct{} `type:"structure"` @@ -12902,7 +14861,7 @@ func (s *VerifyDomainIdentityOutput) SetVerificationToken(v string) *VerifyDomai // Represents a request to begin email address verification with Amazon SES. // For information about email address verification, see the Amazon SES Developer // Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailAddressRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailAddressRequest type VerifyEmailAddressInput struct { _ struct{} `type:"structure"` @@ -12941,7 +14900,7 @@ func (s *VerifyEmailAddressInput) SetEmailAddress(v string) *VerifyEmailAddressI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailAddressOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailAddressOutput type VerifyEmailAddressOutput struct { _ struct{} `type:"structure"` } @@ -12959,7 +14918,7 @@ func (s VerifyEmailAddressOutput) GoString() string { // Represents a request to begin email address verification with Amazon SES. // For information about email address verification, see the Amazon SES Developer // Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailIdentityRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailIdentityRequest type VerifyEmailIdentityInput struct { _ struct{} `type:"structure"` @@ -12999,7 +14958,7 @@ func (s *VerifyEmailIdentityInput) SetEmailAddress(v string) *VerifyEmailIdentit } // An empty element returned on a successful request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailIdentityResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailIdentityResponse type VerifyEmailIdentityOutput struct { _ struct{} `type:"structure"` } @@ -13021,7 +14980,7 @@ func (s VerifyEmailIdentityOutput) GoString() string { // // For information using a receipt rule to call Amazon WorkMail, see the Amazon // SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-workmail.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/WorkmailAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/WorkmailAction type WorkmailAction struct { _ struct{} `type:"structure"` @@ -13131,6 +15090,12 @@ const ( // BulkEmailStatusInvalidSendingPoolName is a BulkEmailStatus enum value BulkEmailStatusInvalidSendingPoolName = "InvalidSendingPoolName" + // BulkEmailStatusAccountSendingPaused is a BulkEmailStatus enum value + BulkEmailStatusAccountSendingPaused = "AccountSendingPaused" + + // BulkEmailStatusConfigurationSetSendingPaused is a BulkEmailStatus enum value + BulkEmailStatusConfigurationSetSendingPaused = "ConfigurationSetSendingPaused" + // BulkEmailStatusInvalidParameterValue is a BulkEmailStatus enum value BulkEmailStatusInvalidParameterValue = "InvalidParameterValue" @@ -13147,6 +15112,9 @@ const ( // ConfigurationSetAttributeTrackingOptions is a ConfigurationSetAttribute enum value ConfigurationSetAttributeTrackingOptions = "trackingOptions" + + // ConfigurationSetAttributeReputationOptions is a ConfigurationSetAttribute enum value + ConfigurationSetAttributeReputationOptions = "reputationOptions" ) const ( diff --git a/vendor/github.com/aws/aws-sdk-go/service/ses/errors.go b/vendor/github.com/aws/aws-sdk-go/service/ses/errors.go index a30d70f5105..2d03c244004 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ses/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ses/errors.go @@ -4,6 +4,15 @@ package ses const ( + // ErrCodeAccountSendingPausedException for service response error code + // "AccountSendingPausedException". + // + // Indicates that email sending is disabled for your entire Amazon SES account. + // + // You can enable or disable email sending for your Amazon SES account using + // UpdateAccountSendingEnabled. + ErrCodeAccountSendingPausedException = "AccountSendingPausedException" + // ErrCodeAlreadyExistsException for service response error code // "AlreadyExists". // @@ -29,6 +38,34 @@ const ( // Indicates that the configuration set does not exist. ErrCodeConfigurationSetDoesNotExistException = "ConfigurationSetDoesNotExist" + // ErrCodeConfigurationSetSendingPausedException for service response error code + // "ConfigurationSetSendingPausedException". + // + // Indicates that email sending is disabled for the configuration set. + // + // You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. + ErrCodeConfigurationSetSendingPausedException = "ConfigurationSetSendingPausedException" + + // ErrCodeCustomVerificationEmailInvalidContentException for service response error code + // "CustomVerificationEmailInvalidContent". + // + // Indicates that custom verification email template provided content is invalid. + ErrCodeCustomVerificationEmailInvalidContentException = "CustomVerificationEmailInvalidContent" + + // ErrCodeCustomVerificationEmailTemplateAlreadyExistsException for service response error code + // "CustomVerificationEmailTemplateAlreadyExists". + // + // Indicates that a custom verification email template with the name you specified + // already exists. + ErrCodeCustomVerificationEmailTemplateAlreadyExistsException = "CustomVerificationEmailTemplateAlreadyExists" + + // ErrCodeCustomVerificationEmailTemplateDoesNotExistException for service response error code + // "CustomVerificationEmailTemplateDoesNotExist". + // + // Indicates that a custom verification email template with the name you specified + // does not exist. + ErrCodeCustomVerificationEmailTemplateDoesNotExistException = "CustomVerificationEmailTemplateDoesNotExist" + // ErrCodeEventDestinationAlreadyExistsException for service response error code // "EventDestinationAlreadyExists". // @@ -42,6 +79,14 @@ const ( // Indicates that the event destination does not exist. ErrCodeEventDestinationDoesNotExistException = "EventDestinationDoesNotExist" + // ErrCodeFromEmailAddressNotVerifiedException for service response error code + // "FromEmailAddressNotVerified". + // + // Indicates that the sender address specified for a custom verification email + // is not verified, and is therefore not eligible to send the custom verification + // email. + ErrCodeFromEmailAddressNotVerifiedException = "FromEmailAddressNotVerified" + // ErrCodeInvalidCloudWatchDestinationException for service response error code // "InvalidCloudWatchDestination". // @@ -159,6 +204,12 @@ const ( // to all of the replacement tags in the specified template. ErrCodeMissingRenderingAttributeException = "MissingRenderingAttribute" + // ErrCodeProductionAccessNotGrantedException for service response error code + // "ProductionAccessNotGranted". + // + // Indicates that the account has not been granted production access. + ErrCodeProductionAccessNotGrantedException = "ProductionAccessNotGranted" + // ErrCodeRuleDoesNotExistException for service response error code // "RuleDoesNotExist". // diff --git a/vendor/github.com/aws/aws-sdk-go/service/sfn/api.go b/vendor/github.com/aws/aws-sdk-go/service/sfn/api.go index 3d85a8df35f..c823dd0c587 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sfn/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sfn/api.go @@ -35,7 +35,7 @@ const opCreateActivity = "CreateActivity" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivity +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivity func (c *SFN) CreateActivityRequest(input *CreateActivityInput) (req *request.Request, output *CreateActivityOutput) { op := &request.Operation{ Name: opCreateActivity, @@ -54,12 +54,12 @@ func (c *SFN) CreateActivityRequest(input *CreateActivityInput) (req *request.Re // CreateActivity API operation for AWS Step Functions. // -// Creates an activity. An Activity is a task which you write, in any language -// and hosted on any machine which has access to AWS Step Functions. Activities -// must poll Step Functions using the GetActivityTask and respond using SendTask* -// API calls. This function lets Step Functions know the existence of your activity -// and returns an identifier for use in a state machine and when polling from -// the activity. +// Creates an activity. An activity is a task which you write in any programming +// language and host on any machine which has access to AWS Step Functions. +// Activities must poll Step Functions using the GetActivityTask API action +// and respond using SendTask* API actions. This function lets Step Functions +// know the existence of your activity and returns an identifier for use in +// a state machine and when polling from the activity. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -76,7 +76,7 @@ func (c *SFN) CreateActivityRequest(input *CreateActivityInput) (req *request.Re // * ErrCodeInvalidName "InvalidName" // The provided name is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivity +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivity func (c *SFN) CreateActivity(input *CreateActivityInput) (*CreateActivityOutput, error) { req, out := c.CreateActivityRequest(input) return out, req.Send() @@ -123,7 +123,7 @@ const opCreateStateMachine = "CreateStateMachine" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachine +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachine func (c *SFN) CreateStateMachineRequest(input *CreateStateMachineInput) (req *request.Request, output *CreateStateMachineOutput) { op := &request.Operation{ Name: opCreateStateMachine, @@ -143,7 +143,7 @@ func (c *SFN) CreateStateMachineRequest(input *CreateStateMachineInput) (req *re // CreateStateMachine API operation for AWS Step Functions. // // Creates a state machine. A state machine consists of a collection of states -// that can do work (Task states), determine which states to transition to next +// that can do work (Task states), determine to which states to transition next // (Choice states), stop an execution with an error (Fail states), and so on. // State machines are specified using a JSON-based, structured language. // @@ -175,7 +175,7 @@ func (c *SFN) CreateStateMachineRequest(input *CreateStateMachineInput) (req *re // The maximum number of state machines has been reached. Existing state machines // must be deleted before a new state machine can be created. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachine +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachine func (c *SFN) CreateStateMachine(input *CreateStateMachineInput) (*CreateStateMachineOutput, error) { req, out := c.CreateStateMachineRequest(input) return out, req.Send() @@ -222,7 +222,7 @@ const opDeleteActivity = "DeleteActivity" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivity +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivity func (c *SFN) DeleteActivityRequest(input *DeleteActivityInput) (req *request.Request, output *DeleteActivityOutput) { op := &request.Operation{ Name: opDeleteActivity, @@ -254,7 +254,7 @@ func (c *SFN) DeleteActivityRequest(input *DeleteActivityInput) (req *request.Re // * ErrCodeInvalidArn "InvalidArn" // The provided Amazon Resource Name (ARN) is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivity +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivity func (c *SFN) DeleteActivity(input *DeleteActivityInput) (*DeleteActivityOutput, error) { req, out := c.DeleteActivityRequest(input) return out, req.Send() @@ -301,7 +301,7 @@ const opDeleteStateMachine = "DeleteStateMachine" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachine +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachine func (c *SFN) DeleteStateMachineRequest(input *DeleteStateMachineInput) (req *request.Request, output *DeleteStateMachineOutput) { op := &request.Operation{ Name: opDeleteStateMachine, @@ -320,11 +320,12 @@ func (c *SFN) DeleteStateMachineRequest(input *DeleteStateMachineInput) (req *re // DeleteStateMachine API operation for AWS Step Functions. // -// Deletes a state machine. This is an asynchronous operation-- it sets the -// state machine's status to "DELETING" and begins the delete process. Each -// state machine execution will be deleted the next time it makes a state transition. -// After all executions have completed or been deleted, the state machine itself -// will be deleted. +// Deletes a state machine. This is an asynchronous operation: It sets the state +// machine's status to DELETING and begins the deletion process. Each state +// machine execution is deleted the next time it makes a state transition. +// +// The state machine itself is deleted after all executions are completed or +// deleted. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -337,7 +338,7 @@ func (c *SFN) DeleteStateMachineRequest(input *DeleteStateMachineInput) (req *re // * ErrCodeInvalidArn "InvalidArn" // The provided Amazon Resource Name (ARN) is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachine +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachine func (c *SFN) DeleteStateMachine(input *DeleteStateMachineInput) (*DeleteStateMachineOutput, error) { req, out := c.DeleteStateMachineRequest(input) return out, req.Send() @@ -384,7 +385,7 @@ const opDescribeActivity = "DescribeActivity" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivity +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivity func (c *SFN) DescribeActivityRequest(input *DescribeActivityInput) (req *request.Request, output *DescribeActivityOutput) { op := &request.Operation{ Name: opDescribeActivity, @@ -419,7 +420,7 @@ func (c *SFN) DescribeActivityRequest(input *DescribeActivityInput) (req *reques // * ErrCodeInvalidArn "InvalidArn" // The provided Amazon Resource Name (ARN) is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivity +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivity func (c *SFN) DescribeActivity(input *DescribeActivityInput) (*DescribeActivityOutput, error) { req, out := c.DescribeActivityRequest(input) return out, req.Send() @@ -466,7 +467,7 @@ const opDescribeExecution = "DescribeExecution" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecution func (c *SFN) DescribeExecutionRequest(input *DescribeExecutionInput) (req *request.Request, output *DescribeExecutionOutput) { op := &request.Operation{ Name: opDescribeExecution, @@ -501,7 +502,7 @@ func (c *SFN) DescribeExecutionRequest(input *DescribeExecutionInput) (req *requ // * ErrCodeInvalidArn "InvalidArn" // The provided Amazon Resource Name (ARN) is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecution func (c *SFN) DescribeExecution(input *DescribeExecutionInput) (*DescribeExecutionOutput, error) { req, out := c.DescribeExecutionRequest(input) return out, req.Send() @@ -548,7 +549,7 @@ const opDescribeStateMachine = "DescribeStateMachine" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine func (c *SFN) DescribeStateMachineRequest(input *DescribeStateMachineInput) (req *request.Request, output *DescribeStateMachineOutput) { op := &request.Operation{ Name: opDescribeStateMachine, @@ -583,7 +584,7 @@ func (c *SFN) DescribeStateMachineRequest(input *DescribeStateMachineInput) (req // * ErrCodeStateMachineDoesNotExist "StateMachineDoesNotExist" // The specified state machine does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine func (c *SFN) DescribeStateMachine(input *DescribeStateMachineInput) (*DescribeStateMachineOutput, error) { req, out := c.DescribeStateMachineRequest(input) return out, req.Send() @@ -605,6 +606,88 @@ func (c *SFN) DescribeStateMachineWithContext(ctx aws.Context, input *DescribeSt return out, req.Send() } +const opDescribeStateMachineForExecution = "DescribeStateMachineForExecution" + +// DescribeStateMachineForExecutionRequest generates a "aws/request.Request" representing the +// client's request for the DescribeStateMachineForExecution operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeStateMachineForExecution for more information on using the DescribeStateMachineForExecution +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeStateMachineForExecutionRequest method. +// req, resp := client.DescribeStateMachineForExecutionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecution +func (c *SFN) DescribeStateMachineForExecutionRequest(input *DescribeStateMachineForExecutionInput) (req *request.Request, output *DescribeStateMachineForExecutionOutput) { + op := &request.Operation{ + Name: opDescribeStateMachineForExecution, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeStateMachineForExecutionInput{} + } + + output = &DescribeStateMachineForExecutionOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeStateMachineForExecution API operation for AWS Step Functions. +// +// Describes the state machine associated with a specific execution. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Step Functions's +// API operation DescribeStateMachineForExecution for usage and error information. +// +// Returned Error Codes: +// * ErrCodeExecutionDoesNotExist "ExecutionDoesNotExist" +// The specified execution does not exist. +// +// * ErrCodeInvalidArn "InvalidArn" +// The provided Amazon Resource Name (ARN) is invalid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecution +func (c *SFN) DescribeStateMachineForExecution(input *DescribeStateMachineForExecutionInput) (*DescribeStateMachineForExecutionOutput, error) { + req, out := c.DescribeStateMachineForExecutionRequest(input) + return out, req.Send() +} + +// DescribeStateMachineForExecutionWithContext is the same as DescribeStateMachineForExecution with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeStateMachineForExecution for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SFN) DescribeStateMachineForExecutionWithContext(ctx aws.Context, input *DescribeStateMachineForExecutionInput, opts ...request.Option) (*DescribeStateMachineForExecutionOutput, error) { + req, out := c.DescribeStateMachineForExecutionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetActivityTask = "GetActivityTask" // GetActivityTaskRequest generates a "aws/request.Request" representing the @@ -630,7 +713,7 @@ const opGetActivityTask = "GetActivityTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTask func (c *SFN) GetActivityTaskRequest(input *GetActivityTaskInput) (req *request.Request, output *GetActivityTaskOutput) { op := &request.Operation{ Name: opGetActivityTask, @@ -655,7 +738,7 @@ func (c *SFN) GetActivityTaskRequest(input *GetActivityTaskInput) (req *request. // as soon as a task becomes available (i.e. an execution of a task of this // type is needed.) The maximum time the service holds on to the request before // responding is 60 seconds. If no task is available within 60 seconds, the -// poll will return a taskToken with a null string. +// poll returns a taskToken with a null string. // // Workers should set their client side socket timeout to at least 65 seconds // (5 seconds higher than the maximum time the service may hold the poll request). @@ -678,7 +761,7 @@ func (c *SFN) GetActivityTaskRequest(input *GetActivityTaskInput) (req *request. // * ErrCodeInvalidArn "InvalidArn" // The provided Amazon Resource Name (ARN) is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTask func (c *SFN) GetActivityTask(input *GetActivityTaskInput) (*GetActivityTaskOutput, error) { req, out := c.GetActivityTaskRequest(input) return out, req.Send() @@ -725,7 +808,7 @@ const opGetExecutionHistory = "GetExecutionHistory" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistory func (c *SFN) GetExecutionHistoryRequest(input *GetExecutionHistoryInput) (req *request.Request, output *GetExecutionHistoryOutput) { op := &request.Operation{ Name: opGetExecutionHistory, @@ -752,9 +835,11 @@ func (c *SFN) GetExecutionHistoryRequest(input *GetExecutionHistoryInput) (req * // // Returns the history of the specified execution as a list of events. By default, // the results are returned in ascending order of the timeStamp of the events. -// Use the reverseOrder parameter to get the latest events first. The results -// may be split into multiple pages. To retrieve subsequent pages, make the -// call again using the nextToken returned by the previous call. +// Use the reverseOrder parameter to get the latest events first. +// +// If a nextToken is returned by a previous call, there are more results available. +// To retrieve the next page of results, make the call again using the returned +// token in nextToken. Keep all other arguments unchanged. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -773,7 +858,7 @@ func (c *SFN) GetExecutionHistoryRequest(input *GetExecutionHistoryInput) (req * // * ErrCodeInvalidToken "InvalidToken" // The provided token is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistory func (c *SFN) GetExecutionHistory(input *GetExecutionHistoryInput) (*GetExecutionHistoryOutput, error) { req, out := c.GetExecutionHistoryRequest(input) return out, req.Send() @@ -870,7 +955,7 @@ const opListActivities = "ListActivities" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivities +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivities func (c *SFN) ListActivitiesRequest(input *ListActivitiesInput) (req *request.Request, output *ListActivitiesOutput) { op := &request.Operation{ Name: opListActivities, @@ -895,9 +980,11 @@ func (c *SFN) ListActivitiesRequest(input *ListActivitiesInput) (req *request.Re // ListActivities API operation for AWS Step Functions. // -// Lists the existing activities. The results may be split into multiple pages. -// To retrieve subsequent pages, make the call again using the nextToken returned -// by the previous call. +// Lists the existing activities. +// +// If a nextToken is returned by a previous call, there are more results available. +// To retrieve the next page of results, make the call again using the returned +// token in nextToken. Keep all other arguments unchanged. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -910,7 +997,7 @@ func (c *SFN) ListActivitiesRequest(input *ListActivitiesInput) (req *request.Re // * ErrCodeInvalidToken "InvalidToken" // The provided token is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivities +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivities func (c *SFN) ListActivities(input *ListActivitiesInput) (*ListActivitiesOutput, error) { req, out := c.ListActivitiesRequest(input) return out, req.Send() @@ -1007,7 +1094,7 @@ const opListExecutions = "ListExecutions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutions +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutions func (c *SFN) ListExecutionsRequest(input *ListExecutionsInput) (req *request.Request, output *ListExecutionsOutput) { op := &request.Operation{ Name: opListExecutions, @@ -1033,8 +1120,10 @@ func (c *SFN) ListExecutionsRequest(input *ListExecutionsInput) (req *request.Re // ListExecutions API operation for AWS Step Functions. // // Lists the executions of a state machine that meet the filtering criteria. -// The results may be split into multiple pages. To retrieve subsequent pages, -// make the call again using the nextToken returned by the previous call. +// +// If a nextToken is returned by a previous call, there are more results available. +// To retrieve the next page of results, make the call again using the returned +// token in nextToken. Keep all other arguments unchanged. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1053,7 +1142,7 @@ func (c *SFN) ListExecutionsRequest(input *ListExecutionsInput) (req *request.Re // * ErrCodeStateMachineDoesNotExist "StateMachineDoesNotExist" // The specified state machine does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutions +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutions func (c *SFN) ListExecutions(input *ListExecutionsInput) (*ListExecutionsOutput, error) { req, out := c.ListExecutionsRequest(input) return out, req.Send() @@ -1150,7 +1239,7 @@ const opListStateMachines = "ListStateMachines" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachines +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachines func (c *SFN) ListStateMachinesRequest(input *ListStateMachinesInput) (req *request.Request, output *ListStateMachinesOutput) { op := &request.Operation{ Name: opListStateMachines, @@ -1175,9 +1264,11 @@ func (c *SFN) ListStateMachinesRequest(input *ListStateMachinesInput) (req *requ // ListStateMachines API operation for AWS Step Functions. // -// Lists the existing state machines. The results may be split into multiple -// pages. To retrieve subsequent pages, make the call again using the nextToken -// returned by the previous call. +// Lists the existing state machines. +// +// If a nextToken is returned by a previous call, there are more results available. +// To retrieve the next page of results, make the call again using the returned +// token in nextToken. Keep all other arguments unchanged. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1190,7 +1281,7 @@ func (c *SFN) ListStateMachinesRequest(input *ListStateMachinesInput) (req *requ // * ErrCodeInvalidToken "InvalidToken" // The provided token is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachines +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachines func (c *SFN) ListStateMachines(input *ListStateMachinesInput) (*ListStateMachinesOutput, error) { req, out := c.ListStateMachinesRequest(input) return out, req.Send() @@ -1287,7 +1378,7 @@ const opSendTaskFailure = "SendTaskFailure" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailure +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailure func (c *SFN) SendTaskFailureRequest(input *SendTaskFailureInput) (req *request.Request, output *SendTaskFailureOutput) { op := &request.Operation{ Name: opSendTaskFailure, @@ -1323,7 +1414,7 @@ func (c *SFN) SendTaskFailureRequest(input *SendTaskFailureInput) (req *request. // // * ErrCodeTaskTimedOut "TaskTimedOut" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailure +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailure func (c *SFN) SendTaskFailure(input *SendTaskFailureInput) (*SendTaskFailureOutput, error) { req, out := c.SendTaskFailureRequest(input) return out, req.Send() @@ -1370,7 +1461,7 @@ const opSendTaskHeartbeat = "SendTaskHeartbeat" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeat +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeat func (c *SFN) SendTaskHeartbeatRequest(input *SendTaskHeartbeatInput) (req *request.Request, output *SendTaskHeartbeatOutput) { op := &request.Operation{ Name: opSendTaskHeartbeat, @@ -1394,7 +1485,7 @@ func (c *SFN) SendTaskHeartbeatRequest(input *SendTaskHeartbeatInput) (req *requ // clock. The Heartbeat threshold is specified in the state machine's Amazon // States Language definition. This action does not in itself create an event // in the execution history. However, if the task times out, the execution history -// will contain an ActivityTimedOut event. +// contains an ActivityTimedOut event. // // The Timeout of a task, defined in the state machine's Amazon States Language // definition, is its maximum allowed duration, regardless of the number of @@ -1418,7 +1509,7 @@ func (c *SFN) SendTaskHeartbeatRequest(input *SendTaskHeartbeatInput) (req *requ // // * ErrCodeTaskTimedOut "TaskTimedOut" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeat +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeat func (c *SFN) SendTaskHeartbeat(input *SendTaskHeartbeatInput) (*SendTaskHeartbeatOutput, error) { req, out := c.SendTaskHeartbeatRequest(input) return out, req.Send() @@ -1465,7 +1556,7 @@ const opSendTaskSuccess = "SendTaskSuccess" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccess +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccess func (c *SFN) SendTaskSuccessRequest(input *SendTaskSuccessInput) (req *request.Request, output *SendTaskSuccessOutput) { op := &request.Operation{ Name: opSendTaskSuccess, @@ -1505,7 +1596,7 @@ func (c *SFN) SendTaskSuccessRequest(input *SendTaskSuccessInput) (req *request. // // * ErrCodeTaskTimedOut "TaskTimedOut" // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccess +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccess func (c *SFN) SendTaskSuccess(input *SendTaskSuccessInput) (*SendTaskSuccessOutput, error) { req, out := c.SendTaskSuccessRequest(input) return out, req.Send() @@ -1552,7 +1643,7 @@ const opStartExecution = "StartExecution" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecution func (c *SFN) StartExecutionRequest(input *StartExecutionInput) (req *request.Request, output *StartExecutionOutput) { op := &request.Operation{ Name: opStartExecution, @@ -1605,7 +1696,7 @@ func (c *SFN) StartExecutionRequest(input *StartExecutionInput) (req *request.Re // * ErrCodeStateMachineDeleting "StateMachineDeleting" // The specified state machine is being deleted. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecution func (c *SFN) StartExecution(input *StartExecutionInput) (*StartExecutionOutput, error) { req, out := c.StartExecutionRequest(input) return out, req.Send() @@ -1652,7 +1743,7 @@ const opStopExecution = "StopExecution" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecution func (c *SFN) StopExecutionRequest(input *StopExecutionInput) (req *request.Request, output *StopExecutionOutput) { op := &request.Operation{ Name: opStopExecution, @@ -1687,7 +1778,7 @@ func (c *SFN) StopExecutionRequest(input *StopExecutionInput) (req *request.Requ // * ErrCodeInvalidArn "InvalidArn" // The provided Amazon Resource Name (ARN) is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecution func (c *SFN) StopExecution(input *StopExecutionInput) (*StopExecutionOutput, error) { req, out := c.StopExecutionRequest(input) return out, req.Send() @@ -1709,8 +1800,107 @@ func (c *SFN) StopExecutionWithContext(ctx aws.Context, input *StopExecutionInpu return out, req.Send() } +const opUpdateStateMachine = "UpdateStateMachine" + +// UpdateStateMachineRequest generates a "aws/request.Request" representing the +// client's request for the UpdateStateMachine operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateStateMachine for more information on using the UpdateStateMachine +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateStateMachineRequest method. +// req, resp := client.UpdateStateMachineRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachine +func (c *SFN) UpdateStateMachineRequest(input *UpdateStateMachineInput) (req *request.Request, output *UpdateStateMachineOutput) { + op := &request.Operation{ + Name: opUpdateStateMachine, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateStateMachineInput{} + } + + output = &UpdateStateMachineOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateStateMachine API operation for AWS Step Functions. +// +// Updates an existing state machine by modifying its definition and/or roleArn. +// Running executions will continue to use the previous definition and roleArn. +// +// All StartExecution calls within a few seconds will use the updated definition +// and roleArn. Executions started immediately after calling UpdateStateMachine +// may use the previous state machine definition and roleArn. You must include +// at least one of definition or roleArn or you will receive a MissingRequiredParameter +// error. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Step Functions's +// API operation UpdateStateMachine for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidArn "InvalidArn" +// The provided Amazon Resource Name (ARN) is invalid. +// +// * ErrCodeInvalidDefinition "InvalidDefinition" +// The provided Amazon States Language definition is invalid. +// +// * ErrCodeMissingRequiredParameter "MissingRequiredParameter" +// Request is missing a required parameter. This error occurs if both definition +// and roleArn are not specified. +// +// * ErrCodeStateMachineDeleting "StateMachineDeleting" +// The specified state machine is being deleted. +// +// * ErrCodeStateMachineDoesNotExist "StateMachineDoesNotExist" +// The specified state machine does not exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachine +func (c *SFN) UpdateStateMachine(input *UpdateStateMachineInput) (*UpdateStateMachineOutput, error) { + req, out := c.UpdateStateMachineRequest(input) + return out, req.Send() +} + +// UpdateStateMachineWithContext is the same as UpdateStateMachine with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateStateMachine for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SFN) UpdateStateMachineWithContext(ctx aws.Context, input *UpdateStateMachineInput, opts ...request.Option) (*UpdateStateMachineOutput, error) { + req, out := c.UpdateStateMachineRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + // Contains details about an activity which failed during an execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityFailedEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityFailedEventDetails type ActivityFailedEventDetails struct { _ struct{} `type:"structure"` @@ -1744,7 +1934,7 @@ func (s *ActivityFailedEventDetails) SetError(v string) *ActivityFailedEventDeta } // Contains details about an activity. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityListItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityListItem type ActivityListItem struct { _ struct{} `type:"structure"` @@ -1753,7 +1943,7 @@ type ActivityListItem struct { // ActivityArn is a required field ActivityArn *string `locationName:"activityArn" min:"1" type:"string" required:"true"` - // The date the activity was created. + // The date the activity is created. // // CreationDate is a required field CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix" required:"true"` @@ -1806,7 +1996,7 @@ func (s *ActivityListItem) SetName(v string) *ActivityListItem { // Contains details about an activity schedule failure which occurred during // an execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityScheduleFailedEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityScheduleFailedEventDetails type ActivityScheduleFailedEventDetails struct { _ struct{} `type:"structure"` @@ -1840,7 +2030,7 @@ func (s *ActivityScheduleFailedEventDetails) SetError(v string) *ActivitySchedul } // Contains details about an activity scheduled during an execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityScheduledEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityScheduledEventDetails type ActivityScheduledEventDetails struct { _ struct{} `type:"structure"` @@ -1894,11 +2084,11 @@ func (s *ActivityScheduledEventDetails) SetTimeoutInSeconds(v int64) *ActivitySc } // Contains details about the start of an activity during an execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityStartedEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityStartedEventDetails type ActivityStartedEventDetails struct { _ struct{} `type:"structure"` - // The name of the worker that the task was assigned to. These names are provided + // The name of the worker that the task is assigned to. These names are provided // by the workers when calling GetActivityTask. WorkerName *string `locationName:"workerName" type:"string"` } @@ -1921,7 +2111,7 @@ func (s *ActivityStartedEventDetails) SetWorkerName(v string) *ActivityStartedEv // Contains details about an activity which successfully terminated during an // execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivitySucceededEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivitySucceededEventDetails type ActivitySucceededEventDetails struct { _ struct{} `type:"structure"` @@ -1946,7 +2136,7 @@ func (s *ActivitySucceededEventDetails) SetOutput(v string) *ActivitySucceededEv } // Contains details about an activity timeout which occurred during an execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityTimedOutEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityTimedOutEventDetails type ActivityTimedOutEventDetails struct { _ struct{} `type:"structure"` @@ -1979,7 +2169,7 @@ func (s *ActivityTimedOutEventDetails) SetError(v string) *ActivityTimedOutEvent return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivityInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivityInput type CreateActivityInput struct { _ struct{} `type:"structure"` @@ -2036,7 +2226,7 @@ func (s *CreateActivityInput) SetName(v string) *CreateActivityInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivityOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivityOutput type CreateActivityOutput struct { _ struct{} `type:"structure"` @@ -2045,7 +2235,7 @@ type CreateActivityOutput struct { // ActivityArn is a required field ActivityArn *string `locationName:"activityArn" min:"1" type:"string" required:"true"` - // The date the activity was created. + // The date the activity is created. // // CreationDate is a required field CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix" required:"true"` @@ -2073,7 +2263,7 @@ func (s *CreateActivityOutput) SetCreationDate(v time.Time) *CreateActivityOutpu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineInput type CreateStateMachineInput struct { _ struct{} `type:"structure"` @@ -2164,11 +2354,11 @@ func (s *CreateStateMachineInput) SetRoleArn(v string) *CreateStateMachineInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineOutput type CreateStateMachineOutput struct { _ struct{} `type:"structure"` - // The date the state machine was created. + // The date the state machine is created. // // CreationDate is a required field CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix" required:"true"` @@ -2201,7 +2391,7 @@ func (s *CreateStateMachineOutput) SetStateMachineArn(v string) *CreateStateMach return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivityInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivityInput type DeleteActivityInput struct { _ struct{} `type:"structure"` @@ -2243,7 +2433,7 @@ func (s *DeleteActivityInput) SetActivityArn(v string) *DeleteActivityInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivityOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivityOutput type DeleteActivityOutput struct { _ struct{} `type:"structure"` } @@ -2258,7 +2448,7 @@ func (s DeleteActivityOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachineInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachineInput type DeleteStateMachineInput struct { _ struct{} `type:"structure"` @@ -2300,7 +2490,7 @@ func (s *DeleteStateMachineInput) SetStateMachineArn(v string) *DeleteStateMachi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachineOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachineOutput type DeleteStateMachineOutput struct { _ struct{} `type:"structure"` } @@ -2315,7 +2505,7 @@ func (s DeleteStateMachineOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivityInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivityInput type DescribeActivityInput struct { _ struct{} `type:"structure"` @@ -2357,7 +2547,7 @@ func (s *DescribeActivityInput) SetActivityArn(v string) *DescribeActivityInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivityOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivityOutput type DescribeActivityOutput struct { _ struct{} `type:"structure"` @@ -2366,7 +2556,7 @@ type DescribeActivityOutput struct { // ActivityArn is a required field ActivityArn *string `locationName:"activityArn" min:"1" type:"string" required:"true"` - // The date the activity was created. + // The date the activity is created. // // CreationDate is a required field CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix" required:"true"` @@ -2417,7 +2607,7 @@ func (s *DescribeActivityOutput) SetName(v string) *DescribeActivityOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionInput type DescribeExecutionInput struct { _ struct{} `type:"structure"` @@ -2459,7 +2649,7 @@ func (s *DescribeExecutionInput) SetExecutionArn(v string) *DescribeExecutionInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionOutput type DescribeExecutionOutput struct { _ struct{} `type:"structure"` @@ -2489,9 +2679,12 @@ type DescribeExecutionOutput struct { Name *string `locationName:"name" min:"1" type:"string"` // The JSON output data of the execution. + // + // This field is set only if the execution succeeds. If the execution fails, + // this field is null. Output *string `locationName:"output" type:"string"` - // The date the execution was started. + // The date the execution is started. // // StartDate is a required field StartDate *time.Time `locationName:"startDate" type:"timestamp" timestampFormat:"unix" required:"true"` @@ -2568,7 +2761,122 @@ func (s *DescribeExecutionOutput) SetStopDate(v time.Time) *DescribeExecutionOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecutionInput +type DescribeStateMachineForExecutionInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the execution you want state machine information + // for. + // + // ExecutionArn is a required field + ExecutionArn *string `locationName:"executionArn" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeStateMachineForExecutionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeStateMachineForExecutionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeStateMachineForExecutionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeStateMachineForExecutionInput"} + if s.ExecutionArn == nil { + invalidParams.Add(request.NewErrParamRequired("ExecutionArn")) + } + if s.ExecutionArn != nil && len(*s.ExecutionArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ExecutionArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExecutionArn sets the ExecutionArn field's value. +func (s *DescribeStateMachineForExecutionInput) SetExecutionArn(v string) *DescribeStateMachineForExecutionInput { + s.ExecutionArn = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecutionOutput +type DescribeStateMachineForExecutionOutput struct { + _ struct{} `type:"structure"` + + // The Amazon States Language definition of the state machine. + // + // Definition is a required field + Definition *string `locationName:"definition" min:"1" type:"string" required:"true"` + + // The name of the state machine associated with the execution. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of the IAM role of the State Machine for the + // execution. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of the state machine associated with the execution. + // + // StateMachineArn is a required field + StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"` + + // The date and time the state machine associated with an execution was updated. + // For a newly created state machine, this is the creation date. + // + // UpdateDate is a required field + UpdateDate *time.Time `locationName:"updateDate" type:"timestamp" timestampFormat:"unix" required:"true"` +} + +// String returns the string representation +func (s DescribeStateMachineForExecutionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeStateMachineForExecutionOutput) GoString() string { + return s.String() +} + +// SetDefinition sets the Definition field's value. +func (s *DescribeStateMachineForExecutionOutput) SetDefinition(v string) *DescribeStateMachineForExecutionOutput { + s.Definition = &v + return s +} + +// SetName sets the Name field's value. +func (s *DescribeStateMachineForExecutionOutput) SetName(v string) *DescribeStateMachineForExecutionOutput { + s.Name = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *DescribeStateMachineForExecutionOutput) SetRoleArn(v string) *DescribeStateMachineForExecutionOutput { + s.RoleArn = &v + return s +} + +// SetStateMachineArn sets the StateMachineArn field's value. +func (s *DescribeStateMachineForExecutionOutput) SetStateMachineArn(v string) *DescribeStateMachineForExecutionOutput { + s.StateMachineArn = &v + return s +} + +// SetUpdateDate sets the UpdateDate field's value. +func (s *DescribeStateMachineForExecutionOutput) SetUpdateDate(v time.Time) *DescribeStateMachineForExecutionOutput { + s.UpdateDate = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineInput type DescribeStateMachineInput struct { _ struct{} `type:"structure"` @@ -2610,11 +2918,11 @@ func (s *DescribeStateMachineInput) SetStateMachineArn(v string) *DescribeStateM return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineOutput type DescribeStateMachineOutput struct { _ struct{} `type:"structure"` - // The date the state machine was created. + // The date the state machine is created. // // CreationDate is a required field CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix" required:"true"` @@ -2704,7 +3012,7 @@ func (s *DescribeStateMachineOutput) SetStatus(v string) *DescribeStateMachineOu } // Contains details about an abort of an execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionAbortedEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionAbortedEventDetails type ExecutionAbortedEventDetails struct { _ struct{} `type:"structure"` @@ -2738,7 +3046,7 @@ func (s *ExecutionAbortedEventDetails) SetError(v string) *ExecutionAbortedEvent } // Contains details about an execution failure event. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionFailedEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionFailedEventDetails type ExecutionFailedEventDetails struct { _ struct{} `type:"structure"` @@ -2772,7 +3080,7 @@ func (s *ExecutionFailedEventDetails) SetError(v string) *ExecutionFailedEventDe } // Contains details about an execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionListItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionListItem type ExecutionListItem struct { _ struct{} `type:"structure"` @@ -2864,7 +3172,7 @@ func (s *ExecutionListItem) SetStopDate(v time.Time) *ExecutionListItem { } // Contains details about the start of the execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionStartedEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionStartedEventDetails type ExecutionStartedEventDetails struct { _ struct{} `type:"structure"` @@ -2899,7 +3207,7 @@ func (s *ExecutionStartedEventDetails) SetRoleArn(v string) *ExecutionStartedEve } // Contains details about the successful termination of the execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionSucceededEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionSucceededEventDetails type ExecutionSucceededEventDetails struct { _ struct{} `type:"structure"` @@ -2924,7 +3232,7 @@ func (s *ExecutionSucceededEventDetails) SetOutput(v string) *ExecutionSucceeded } // Contains details about the execution timeout which occurred during the execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionTimedOutEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionTimedOutEventDetails type ExecutionTimedOutEventDetails struct { _ struct{} `type:"structure"` @@ -2957,7 +3265,7 @@ func (s *ExecutionTimedOutEventDetails) SetError(v string) *ExecutionTimedOutEve return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTaskInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTaskInput type GetActivityTaskInput struct { _ struct{} `type:"structure"` @@ -2968,7 +3276,7 @@ type GetActivityTaskInput struct { ActivityArn *string `locationName:"activityArn" min:"1" type:"string" required:"true"` // You can provide an arbitrary name in order to identify the worker that the - // task is assigned to. This name will be used when it is logged in the execution + // task is assigned to. This name is used when it is logged in the execution // history. WorkerName *string `locationName:"workerName" min:"1" type:"string"` } @@ -3014,7 +3322,7 @@ func (s *GetActivityTaskInput) SetWorkerName(v string) *GetActivityTaskInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTaskOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTaskOutput type GetActivityTaskOutput struct { _ struct{} `type:"structure"` @@ -3049,7 +3357,7 @@ func (s *GetActivityTaskOutput) SetTaskToken(v string) *GetActivityTaskOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistoryInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistoryInput type GetExecutionHistoryInput struct { _ struct{} `type:"structure"` @@ -3058,15 +3366,15 @@ type GetExecutionHistoryInput struct { // ExecutionArn is a required field ExecutionArn *string `locationName:"executionArn" min:"1" type:"string" required:"true"` - // The maximum number of results that will be returned per call. nextToken can - // be used to obtain further pages of results. The default is 100 and the maximum - // allowed page size is 100. A value of 0 means to use the default. + // The maximum number of results that are returned per call. You can use nextToken + // to obtain further pages of results. The default is 100 and the maximum allowed + // page size is 100. A value of 0 uses the default. // - // This is an upper limit only; the actual number of results returned per call - // may be fewer than the specified maximum. + // This is only an upper limit. The actual number of results returned per call + // might be fewer than the specified maximum. MaxResults *int64 `locationName:"maxResults" type:"integer"` - // If a nextToken was returned by a previous call, there are more results available. + // If a nextToken is returned by a previous call, there are more results available. // To retrieve the next page of results, make the call again using the returned // token in nextToken. Keep all other arguments unchanged. // @@ -3131,7 +3439,7 @@ func (s *GetExecutionHistoryInput) SetReverseOrder(v bool) *GetExecutionHistoryI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistoryOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistoryOutput type GetExecutionHistoryOutput struct { _ struct{} `type:"structure"` @@ -3140,9 +3448,9 @@ type GetExecutionHistoryOutput struct { // Events is a required field Events []*HistoryEvent `locationName:"events" type:"list" required:"true"` - // If a nextToken is returned, there are more results available. To retrieve - // the next page of results, make the call again using the returned token in - // nextToken. Keep all other arguments unchanged. + // If a nextToken is returned by a previous call, there are more results available. + // To retrieve the next page of results, make the call again using the returned + // token in nextToken. Keep all other arguments unchanged. // // The configured maxResults determines how many results can be returned in // a single call. @@ -3172,7 +3480,7 @@ func (s *GetExecutionHistoryOutput) SetNextToken(v string) *GetExecutionHistoryO } // Contains details about the events of an execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/HistoryEvent +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/HistoryEvent type HistoryEvent struct { _ struct{} `type:"structure"` @@ -3407,7 +3715,7 @@ func (s *HistoryEvent) SetType(v string) *HistoryEvent { } // Contains details about a lambda function which failed during an execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionFailedEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionFailedEventDetails type LambdaFunctionFailedEventDetails struct { _ struct{} `type:"structure"` @@ -3442,7 +3750,7 @@ func (s *LambdaFunctionFailedEventDetails) SetError(v string) *LambdaFunctionFai // Contains details about a failed lambda function schedule event which occurred // during an execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionScheduleFailedEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionScheduleFailedEventDetails type LambdaFunctionScheduleFailedEventDetails struct { _ struct{} `type:"structure"` @@ -3476,7 +3784,7 @@ func (s *LambdaFunctionScheduleFailedEventDetails) SetError(v string) *LambdaFun } // Contains details about a lambda function scheduled during an execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionScheduledEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionScheduledEventDetails type LambdaFunctionScheduledEventDetails struct { _ struct{} `type:"structure"` @@ -3522,7 +3830,7 @@ func (s *LambdaFunctionScheduledEventDetails) SetTimeoutInSeconds(v int64) *Lamb // Contains details about a lambda function which failed to start during an // execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionStartFailedEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionStartFailedEventDetails type LambdaFunctionStartFailedEventDetails struct { _ struct{} `type:"structure"` @@ -3557,7 +3865,7 @@ func (s *LambdaFunctionStartFailedEventDetails) SetError(v string) *LambdaFuncti // Contains details about a lambda function which successfully terminated during // an execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionSucceededEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionSucceededEventDetails type LambdaFunctionSucceededEventDetails struct { _ struct{} `type:"structure"` @@ -3583,7 +3891,7 @@ func (s *LambdaFunctionSucceededEventDetails) SetOutput(v string) *LambdaFunctio // Contains details about a lambda function timeout which occurred during an // execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionTimedOutEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionTimedOutEventDetails type LambdaFunctionTimedOutEventDetails struct { _ struct{} `type:"structure"` @@ -3616,19 +3924,19 @@ func (s *LambdaFunctionTimedOutEventDetails) SetError(v string) *LambdaFunctionT return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivitiesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivitiesInput type ListActivitiesInput struct { _ struct{} `type:"structure"` - // The maximum number of results that will be returned per call. nextToken can - // be used to obtain further pages of results. The default is 100 and the maximum - // allowed page size is 100. A value of 0 means to use the default. + // The maximum number of results that are returned per call. You can use nextToken + // to obtain further pages of results. The default is 100 and the maximum allowed + // page size is 100. A value of 0 uses the default. // - // This is an upper limit only; the actual number of results returned per call - // may be fewer than the specified maximum. + // This is only an upper limit. The actual number of results returned per call + // might be fewer than the specified maximum. MaxResults *int64 `locationName:"maxResults" type:"integer"` - // If a nextToken was returned by a previous call, there are more results available. + // If a nextToken is returned by a previous call, there are more results available. // To retrieve the next page of results, make the call again using the returned // token in nextToken. Keep all other arguments unchanged. // @@ -3672,7 +3980,7 @@ func (s *ListActivitiesInput) SetNextToken(v string) *ListActivitiesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivitiesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivitiesOutput type ListActivitiesOutput struct { _ struct{} `type:"structure"` @@ -3681,9 +3989,9 @@ type ListActivitiesOutput struct { // Activities is a required field Activities []*ActivityListItem `locationName:"activities" type:"list" required:"true"` - // If a nextToken is returned, there are more results available. To retrieve - // the next page of results, make the call again using the returned token in - // nextToken. Keep all other arguments unchanged. + // If a nextToken is returned by a previous call, there are more results available. + // To retrieve the next page of results, make the call again using the returned + // token in nextToken. Keep all other arguments unchanged. // // The configured maxResults determines how many results can be returned in // a single call. @@ -3712,19 +4020,19 @@ func (s *ListActivitiesOutput) SetNextToken(v string) *ListActivitiesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutionsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutionsInput type ListExecutionsInput struct { _ struct{} `type:"structure"` - // The maximum number of results that will be returned per call. nextToken can - // be used to obtain further pages of results. The default is 100 and the maximum - // allowed page size is 100. A value of 0 means to use the default. + // The maximum number of results that are returned per call. You can use nextToken + // to obtain further pages of results. The default is 100 and the maximum allowed + // page size is 100. A value of 0 uses the default. // - // This is an upper limit only; the actual number of results returned per call - // may be fewer than the specified maximum. + // This is only an upper limit. The actual number of results returned per call + // might be fewer than the specified maximum. MaxResults *int64 `locationName:"maxResults" type:"integer"` - // If a nextToken was returned by a previous call, there are more results available. + // If a nextToken is returned by a previous call, there are more results available. // To retrieve the next page of results, make the call again using the returned // token in nextToken. Keep all other arguments unchanged. // @@ -3732,8 +4040,7 @@ type ListExecutionsInput struct { // a single call. NextToken *string `locationName:"nextToken" min:"1" type:"string"` - // The Amazon Resource Name (ARN) of the state machine whose executions will - // be listed. + // The Amazon Resource Name (ARN) of the state machine whose executions is listed. // // StateMachineArn is a required field StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"` @@ -3796,7 +4103,7 @@ func (s *ListExecutionsInput) SetStatusFilter(v string) *ListExecutionsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutionsOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutionsOutput type ListExecutionsOutput struct { _ struct{} `type:"structure"` @@ -3805,9 +4112,9 @@ type ListExecutionsOutput struct { // Executions is a required field Executions []*ExecutionListItem `locationName:"executions" type:"list" required:"true"` - // If a nextToken is returned, there are more results available. To retrieve - // the next page of results, make the call again using the returned token in - // nextToken. Keep all other arguments unchanged. + // If a nextToken is returned by a previous call, there are more results available. + // To retrieve the next page of results, make the call again using the returned + // token in nextToken. Keep all other arguments unchanged. // // The configured maxResults determines how many results can be returned in // a single call. @@ -3836,19 +4143,19 @@ func (s *ListExecutionsOutput) SetNextToken(v string) *ListExecutionsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachinesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachinesInput type ListStateMachinesInput struct { _ struct{} `type:"structure"` - // The maximum number of results that will be returned per call. nextToken can - // be used to obtain further pages of results. The default is 100 and the maximum - // allowed page size is 100. A value of 0 means to use the default. + // The maximum number of results that are returned per call. You can use nextToken + // to obtain further pages of results. The default is 100 and the maximum allowed + // page size is 100. A value of 0 uses the default. // - // This is an upper limit only; the actual number of results returned per call - // may be fewer than the specified maximum. + // This is only an upper limit. The actual number of results returned per call + // might be fewer than the specified maximum. MaxResults *int64 `locationName:"maxResults" type:"integer"` - // If a nextToken was returned by a previous call, there are more results available. + // If a nextToken is returned by a previous call, there are more results available. // To retrieve the next page of results, make the call again using the returned // token in nextToken. Keep all other arguments unchanged. // @@ -3892,13 +4199,13 @@ func (s *ListStateMachinesInput) SetNextToken(v string) *ListStateMachinesInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachinesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachinesOutput type ListStateMachinesOutput struct { _ struct{} `type:"structure"` - // If a nextToken is returned, there are more results available. To retrieve - // the next page of results, make the call again using the returned token in - // nextToken. Keep all other arguments unchanged. + // If a nextToken is returned by a previous call, there are more results available. + // To retrieve the next page of results, make the call again using the returned + // token in nextToken. Keep all other arguments unchanged. // // The configured maxResults determines how many results can be returned in // a single call. @@ -3930,7 +4237,7 @@ func (s *ListStateMachinesOutput) SetStateMachines(v []*StateMachineListItem) *L return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailureInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailureInput type SendTaskFailureInput struct { _ struct{} `type:"structure"` @@ -3991,7 +4298,7 @@ func (s *SendTaskFailureInput) SetTaskToken(v string) *SendTaskFailureInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailureOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailureOutput type SendTaskFailureOutput struct { _ struct{} `type:"structure"` } @@ -4006,12 +4313,12 @@ func (s SendTaskFailureOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeatInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeatInput type SendTaskHeartbeatInput struct { _ struct{} `type:"structure"` // The token that represents this task. Task tokens are generated by the service - // when the tasks are assigned to a worker (see GetActivityTask::taskToken). + // when the tasks are assigned to a worker (see GetActivityTaskOutput$taskToken). // // TaskToken is a required field TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` @@ -4049,7 +4356,7 @@ func (s *SendTaskHeartbeatInput) SetTaskToken(v string) *SendTaskHeartbeatInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeatOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeatOutput type SendTaskHeartbeatOutput struct { _ struct{} `type:"structure"` } @@ -4064,7 +4371,7 @@ func (s SendTaskHeartbeatOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccessInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccessInput type SendTaskSuccessInput struct { _ struct{} `type:"structure"` @@ -4074,7 +4381,7 @@ type SendTaskSuccessInput struct { Output *string `locationName:"output" type:"string" required:"true"` // The token that represents this task. Task tokens are generated by the service - // when the tasks are assigned to a worker (see GetActivityTask::taskToken). + // when the tasks are assigned to a worker (see GetActivityTaskOutput$taskToken). // // TaskToken is a required field TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` @@ -4121,7 +4428,7 @@ func (s *SendTaskSuccessInput) SetTaskToken(v string) *SendTaskSuccessInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccessOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccessOutput type SendTaskSuccessOutput struct { _ struct{} `type:"structure"` } @@ -4136,7 +4443,7 @@ func (s SendTaskSuccessOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecutionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecutionInput type StartExecutionInput struct { _ struct{} `type:"structure"` @@ -4153,6 +4460,20 @@ type StartExecutionInput struct { // Machine Executions (http://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions) // in the AWS Step Functions Developer Guide. // + // An execution can't use the name of another execution for 90 days. + // + // When you make multiple StartExecution calls with the same name, the new execution + // doesn't run and the following rules apply: + // + // When the original execution is open and the execution input from the new + // call is different, the ExecutionAlreadyExists message is returned. + // + // When the original execution is open and the execution input from the new + // call is identical, the Success message is returned. + // + // When the original execution is closed, the ExecutionAlreadyExists message + // is returned regardless of input. + // // A name must not contain: // // * whitespace @@ -4219,7 +4540,7 @@ func (s *StartExecutionInput) SetStateMachineArn(v string) *StartExecutionInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecutionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecutionOutput type StartExecutionOutput struct { _ struct{} `type:"structure"` @@ -4228,7 +4549,7 @@ type StartExecutionOutput struct { // ExecutionArn is a required field ExecutionArn *string `locationName:"executionArn" min:"1" type:"string" required:"true"` - // The date the execution was started. + // The date the execution is started. // // StartDate is a required field StartDate *time.Time `locationName:"startDate" type:"timestamp" timestampFormat:"unix" required:"true"` @@ -4257,7 +4578,7 @@ func (s *StartExecutionOutput) SetStartDate(v time.Time) *StartExecutionOutput { } // Contains details about a state entered during an execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateEnteredEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateEnteredEventDetails type StateEnteredEventDetails struct { _ struct{} `type:"structure"` @@ -4293,7 +4614,7 @@ func (s *StateEnteredEventDetails) SetName(v string) *StateEnteredEventDetails { } // Contains details about an exit from a state during an execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateExitedEventDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateExitedEventDetails type StateExitedEventDetails struct { _ struct{} `type:"structure"` @@ -4341,11 +4662,11 @@ func (s *StateExitedEventDetails) SetOutput(v string) *StateExitedEventDetails { } // Contains details about the state machine. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateMachineListItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateMachineListItem type StateMachineListItem struct { _ struct{} `type:"structure"` - // The date the state machine was created. + // The date the state machine is created. // // CreationDate is a required field CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix" required:"true"` @@ -4401,7 +4722,7 @@ func (s *StateMachineListItem) SetStateMachineArn(v string) *StateMachineListIte return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecutionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecutionInput type StopExecutionInput struct { _ struct{} `type:"structure"` @@ -4461,11 +4782,11 @@ func (s *StopExecutionInput) SetExecutionArn(v string) *StopExecutionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecutionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecutionOutput type StopExecutionOutput struct { _ struct{} `type:"structure"` - // The date the execution was stopped. + // The date the execution is stopped. // // StopDate is a required field StopDate *time.Time `locationName:"stopDate" type:"timestamp" timestampFormat:"unix" required:"true"` @@ -4487,6 +4808,98 @@ func (s *StopExecutionOutput) SetStopDate(v time.Time) *StopExecutionOutput { return s } +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachineInput +type UpdateStateMachineInput struct { + _ struct{} `type:"structure"` + + // The Amazon States Language definition of the state machine. + Definition *string `locationName:"definition" min:"1" type:"string"` + + // The Amazon Resource Name (ARN) of the IAM role of the state machine. + RoleArn *string `locationName:"roleArn" min:"1" type:"string"` + + // The Amazon Resource Name (ARN) of the state machine. + // + // StateMachineArn is a required field + StateMachineArn *string `locationName:"stateMachineArn" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateStateMachineInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateStateMachineInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateStateMachineInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateStateMachineInput"} + if s.Definition != nil && len(*s.Definition) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Definition", 1)) + } + if s.RoleArn != nil && len(*s.RoleArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 1)) + } + if s.StateMachineArn == nil { + invalidParams.Add(request.NewErrParamRequired("StateMachineArn")) + } + if s.StateMachineArn != nil && len(*s.StateMachineArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StateMachineArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDefinition sets the Definition field's value. +func (s *UpdateStateMachineInput) SetDefinition(v string) *UpdateStateMachineInput { + s.Definition = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *UpdateStateMachineInput) SetRoleArn(v string) *UpdateStateMachineInput { + s.RoleArn = &v + return s +} + +// SetStateMachineArn sets the StateMachineArn field's value. +func (s *UpdateStateMachineInput) SetStateMachineArn(v string) *UpdateStateMachineInput { + s.StateMachineArn = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachineOutput +type UpdateStateMachineOutput struct { + _ struct{} `type:"structure"` + + // The date and time the state machine was updated. + // + // UpdateDate is a required field + UpdateDate *time.Time `locationName:"updateDate" type:"timestamp" timestampFormat:"unix" required:"true"` +} + +// String returns the string representation +func (s UpdateStateMachineOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateStateMachineOutput) GoString() string { + return s.String() +} + +// SetUpdateDate sets the UpdateDate field's value. +func (s *UpdateStateMachineOutput) SetUpdateDate(v time.Time) *UpdateStateMachineOutput { + s.UpdateDate = &v + return s +} + const ( // ExecutionStatusRunning is a ExecutionStatus enum value ExecutionStatusRunning = "RUNNING" diff --git a/vendor/github.com/aws/aws-sdk-go/service/sfn/doc.go b/vendor/github.com/aws/aws-sdk-go/service/sfn/doc.go index e67996ed203..d212dce747e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sfn/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sfn/doc.go @@ -11,9 +11,9 @@ // and change applications quickly. Step Functions provides a console that helps // visualize the components of your application as a series of steps. Step Functions // automatically triggers and tracks each step, and retries steps when there -// are errors, so your application executes in order and as expected, every -// time. Step Functions logs the state of each step, so you can diagnose and -// debug problems quickly. +// are errors, so your application executes predictably and in the right order +// every time. Step Functions logs the state of each step, so you can quickly +// diagnose and debug any issues. // // Step Functions manages operations and underlying infrastructure to ensure // your application is available at any scale. You can run tasks on AWS, your diff --git a/vendor/github.com/aws/aws-sdk-go/service/sfn/errors.go b/vendor/github.com/aws/aws-sdk-go/service/sfn/errors.go index 510a8a79b82..84cab27312f 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sfn/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sfn/errors.go @@ -81,6 +81,13 @@ const ( // The provided token is invalid. ErrCodeInvalidToken = "InvalidToken" + // ErrCodeMissingRequiredParameter for service response error code + // "MissingRequiredParameter". + // + // Request is missing a required parameter. This error occurs if both definition + // and roleArn are not specified. + ErrCodeMissingRequiredParameter = "MissingRequiredParameter" + // ErrCodeStateMachineAlreadyExists for service response error code // "StateMachineAlreadyExists". // diff --git a/vendor/github.com/aws/aws-sdk-go/service/shield/api.go b/vendor/github.com/aws/aws-sdk-go/service/shield/api.go index 7446db223d7..7b1b19e8631 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/shield/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/shield/api.go @@ -35,7 +35,7 @@ const opCreateProtection = "CreateProtection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateProtection +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateProtection func (c *Shield) CreateProtectionRequest(input *CreateProtectionInput) (req *request.Request, output *CreateProtectionOutput) { op := &request.Operation{ Name: opCreateProtection, @@ -56,7 +56,7 @@ func (c *Shield) CreateProtectionRequest(input *CreateProtectionInput) (req *req // // Enables AWS Shield Advanced for a specific AWS resource. The resource can // be an Amazon CloudFront distribution, Elastic Load Balancing load balancer, -// or an Amazon Route 53 hosted zone. +// Elastic IP Address, or an Amazon Route 53 hosted zone. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -81,6 +81,10 @@ func (c *Shield) CreateProtectionRequest(input *CreateProtectionInput) (req *req // * ErrCodeLimitsExceededException "LimitsExceededException" // Exception that indicates that the operation would exceed a limit. // +// Type is the type of limit that would be exceeded. +// +// Limit is the threshold that would be exceeded. +// // * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" // Exception indicating the specified resource already exists. // @@ -91,7 +95,7 @@ func (c *Shield) CreateProtectionRequest(input *CreateProtectionInput) (req *req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Exception indicating the specified resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateProtection +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateProtection func (c *Shield) CreateProtection(input *CreateProtectionInput) (*CreateProtectionOutput, error) { req, out := c.CreateProtectionRequest(input) return out, req.Send() @@ -138,7 +142,7 @@ const opCreateSubscription = "CreateSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateSubscription func (c *Shield) CreateSubscriptionRequest(input *CreateSubscriptionInput) (req *request.Request, output *CreateSubscriptionOutput) { op := &request.Operation{ Name: opCreateSubscription, @@ -174,7 +178,7 @@ func (c *Shield) CreateSubscriptionRequest(input *CreateSubscriptionInput) (req // * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" // Exception indicating the specified resource already exists. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateSubscription func (c *Shield) CreateSubscription(input *CreateSubscriptionInput) (*CreateSubscriptionOutput, error) { req, out := c.CreateSubscriptionRequest(input) return out, req.Send() @@ -221,7 +225,7 @@ const opDeleteProtection = "DeleteProtection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteProtection +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteProtection func (c *Shield) DeleteProtectionRequest(input *DeleteProtectionInput) (req *request.Request, output *DeleteProtectionOutput) { op := &request.Operation{ Name: opDeleteProtection, @@ -261,7 +265,7 @@ func (c *Shield) DeleteProtectionRequest(input *DeleteProtectionInput) (req *req // Exception that indicates that the protection state has been modified by another // client. You can retry the request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteProtection +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteProtection func (c *Shield) DeleteProtection(input *DeleteProtectionInput) (*DeleteProtectionOutput, error) { req, out := c.DeleteProtectionRequest(input) return out, req.Send() @@ -308,7 +312,7 @@ const opDeleteSubscription = "DeleteSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteSubscription func (c *Shield) DeleteSubscriptionRequest(input *DeleteSubscriptionInput) (req *request.Request, output *DeleteSubscriptionOutput) { op := &request.Operation{ Name: opDeleteSubscription, @@ -327,7 +331,9 @@ func (c *Shield) DeleteSubscriptionRequest(input *DeleteSubscriptionInput) (req // DeleteSubscription API operation for AWS Shield. // -// Removes AWS Shield Advanced from an account. +// Removes AWS Shield Advanced from an account. AWS Shield Advanced requires +// a 1-year subscription commitment. You cannot delete a subscription prior +// to the completion of that commitment. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -342,13 +348,13 @@ func (c *Shield) DeleteSubscriptionRequest(input *DeleteSubscriptionInput) (req // You can retry the request. // // * ErrCodeLockedSubscriptionException "LockedSubscriptionException" -// Exception that indicates that the subscription has been modified by another -// client. You can retry the request. +// Exception that indicates that the subscription you are trying to delete has +// not yet completed the 1-year commitment. You cannot delete this subscription. // // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Exception indicating the specified resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteSubscription func (c *Shield) DeleteSubscription(input *DeleteSubscriptionInput) (*DeleteSubscriptionOutput, error) { req, out := c.DeleteSubscriptionRequest(input) return out, req.Send() @@ -395,7 +401,7 @@ const opDescribeAttack = "DescribeAttack" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeAttack +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeAttack func (c *Shield) DescribeAttackRequest(input *DescribeAttackInput) (req *request.Request, output *DescribeAttackOutput) { op := &request.Operation{ Name: opDescribeAttack, @@ -431,7 +437,7 @@ func (c *Shield) DescribeAttackRequest(input *DescribeAttackInput) (req *request // * ErrCodeInvalidParameterException "InvalidParameterException" // Exception that indicates that the parameters passed to the API are invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeAttack +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeAttack func (c *Shield) DescribeAttack(input *DescribeAttackInput) (*DescribeAttackOutput, error) { req, out := c.DescribeAttackRequest(input) return out, req.Send() @@ -478,7 +484,7 @@ const opDescribeProtection = "DescribeProtection" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtection +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtection func (c *Shield) DescribeProtectionRequest(input *DescribeProtectionInput) (req *request.Request, output *DescribeProtectionOutput) { op := &request.Operation{ Name: opDescribeProtection, @@ -514,7 +520,7 @@ func (c *Shield) DescribeProtectionRequest(input *DescribeProtectionInput) (req // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Exception indicating the specified resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtection +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtection func (c *Shield) DescribeProtection(input *DescribeProtectionInput) (*DescribeProtectionOutput, error) { req, out := c.DescribeProtectionRequest(input) return out, req.Send() @@ -561,7 +567,7 @@ const opDescribeSubscription = "DescribeSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeSubscription func (c *Shield) DescribeSubscriptionRequest(input *DescribeSubscriptionInput) (req *request.Request, output *DescribeSubscriptionOutput) { op := &request.Operation{ Name: opDescribeSubscription, @@ -597,7 +603,7 @@ func (c *Shield) DescribeSubscriptionRequest(input *DescribeSubscriptionInput) ( // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Exception indicating the specified resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeSubscription func (c *Shield) DescribeSubscription(input *DescribeSubscriptionInput) (*DescribeSubscriptionOutput, error) { req, out := c.DescribeSubscriptionRequest(input) return out, req.Send() @@ -619,6 +625,86 @@ func (c *Shield) DescribeSubscriptionWithContext(ctx aws.Context, input *Describ return out, req.Send() } +const opGetSubscriptionState = "GetSubscriptionState" + +// GetSubscriptionStateRequest generates a "aws/request.Request" representing the +// client's request for the GetSubscriptionState operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetSubscriptionState for more information on using the GetSubscriptionState +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetSubscriptionStateRequest method. +// req, resp := client.GetSubscriptionStateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/GetSubscriptionState +func (c *Shield) GetSubscriptionStateRequest(input *GetSubscriptionStateInput) (req *request.Request, output *GetSubscriptionStateOutput) { + op := &request.Operation{ + Name: opGetSubscriptionState, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetSubscriptionStateInput{} + } + + output = &GetSubscriptionStateOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetSubscriptionState API operation for AWS Shield. +// +// Returns the SubscriptionState, either Active or Inactive. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Shield's +// API operation GetSubscriptionState for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalErrorException "InternalErrorException" +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/GetSubscriptionState +func (c *Shield) GetSubscriptionState(input *GetSubscriptionStateInput) (*GetSubscriptionStateOutput, error) { + req, out := c.GetSubscriptionStateRequest(input) + return out, req.Send() +} + +// GetSubscriptionStateWithContext is the same as GetSubscriptionState with the addition of +// the ability to pass a context and additional request options. +// +// See GetSubscriptionState for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Shield) GetSubscriptionStateWithContext(ctx aws.Context, input *GetSubscriptionStateInput, opts ...request.Option) (*GetSubscriptionStateOutput, error) { + req, out := c.GetSubscriptionStateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListAttacks = "ListAttacks" // ListAttacksRequest generates a "aws/request.Request" representing the @@ -644,7 +730,7 @@ const opListAttacks = "ListAttacks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacks +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacks func (c *Shield) ListAttacksRequest(input *ListAttacksInput) (req *request.Request, output *ListAttacksOutput) { op := &request.Operation{ Name: opListAttacks, @@ -685,7 +771,7 @@ func (c *Shield) ListAttacksRequest(input *ListAttacksInput) (req *request.Reque // Exception that indicates that the operation would not cause any change to // occur. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacks +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacks func (c *Shield) ListAttacks(input *ListAttacksInput) (*ListAttacksOutput, error) { req, out := c.ListAttacksRequest(input) return out, req.Send() @@ -732,7 +818,7 @@ const opListProtections = "ListProtections" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtections +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtections func (c *Shield) ListProtectionsRequest(input *ListProtectionsInput) (req *request.Request, output *ListProtectionsOutput) { op := &request.Operation{ Name: opListProtections, @@ -768,7 +854,7 @@ func (c *Shield) ListProtectionsRequest(input *ListProtectionsInput) (req *reque // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // Exception indicating the specified resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtections +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtections func (c *Shield) ListProtections(input *ListProtectionsInput) (*ListProtectionsOutput, error) { req, out := c.ListProtectionsRequest(input) return out, req.Send() @@ -791,7 +877,7 @@ func (c *Shield) ListProtectionsWithContext(ctx aws.Context, input *ListProtecti } // The details of a DDoS attack. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AttackDetail +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AttackDetail type AttackDetail struct { _ struct{} `type:"structure"` @@ -801,7 +887,11 @@ type AttackDetail struct { // The unique identifier (ID) of the attack. AttackId *string `min:"1" type:"string"` - // The time the attack ended, in the format 2016-12-16T13:50Z. + // The array of AttackProperty objects. + AttackProperties []*AttackProperty `type:"list"` + + // The time the attack ended, in Unix time in seconds. For more information + // see timestamp (http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types). EndTime *time.Time `type:"timestamp" timestampFormat:"unix"` // List of mitigation actions taken for the attack. @@ -810,7 +900,8 @@ type AttackDetail struct { // The ARN (Amazon Resource Name) of the resource that was attacked. ResourceArn *string `min:"1" type:"string"` - // The time the attack started, in the format 2016-12-16T13:50Z. + // The time the attack started, in Unix time in seconds. For more information + // see timestamp (http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types). StartTime *time.Time `type:"timestamp" timestampFormat:"unix"` // If applicable, additional detail about the resource being attacked, for example, @@ -840,6 +931,12 @@ func (s *AttackDetail) SetAttackId(v string) *AttackDetail { return s } +// SetAttackProperties sets the AttackProperties field's value. +func (s *AttackDetail) SetAttackProperties(v []*AttackProperty) *AttackDetail { + s.AttackProperties = v + return s +} + // SetEndTime sets the EndTime field's value. func (s *AttackDetail) SetEndTime(v time.Time) *AttackDetail { s.EndTime = &v @@ -870,8 +967,72 @@ func (s *AttackDetail) SetSubResources(v []*SubResourceSummary) *AttackDetail { return s } +// Details of the described attack. +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AttackProperty +type AttackProperty struct { + _ struct{} `type:"structure"` + + // The type of DDoS event that was observed. NETWORK indicates layer 3 and layer + // 4 events and APPLICATION indicates layer 7 events. + AttackLayer *string `type:"string" enum:"AttackLayer"` + + // Defines the DDoS attack property information that is provided. + AttackPropertyIdentifier *string `type:"string" enum:"AttackPropertyIdentifier"` + + // The array of Contributor objects that includes the top five contributors + // to an attack. + TopContributors []*Contributor `type:"list"` + + // The total contributions made to this attack by all contributors, not just + // the five listed in the TopContributors list. + Total *int64 `type:"long"` + + // The unit of the Value of the contributions. + Unit *string `type:"string" enum:"Unit"` +} + +// String returns the string representation +func (s AttackProperty) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AttackProperty) GoString() string { + return s.String() +} + +// SetAttackLayer sets the AttackLayer field's value. +func (s *AttackProperty) SetAttackLayer(v string) *AttackProperty { + s.AttackLayer = &v + return s +} + +// SetAttackPropertyIdentifier sets the AttackPropertyIdentifier field's value. +func (s *AttackProperty) SetAttackPropertyIdentifier(v string) *AttackProperty { + s.AttackPropertyIdentifier = &v + return s +} + +// SetTopContributors sets the TopContributors field's value. +func (s *AttackProperty) SetTopContributors(v []*Contributor) *AttackProperty { + s.TopContributors = v + return s +} + +// SetTotal sets the Total field's value. +func (s *AttackProperty) SetTotal(v int64) *AttackProperty { + s.Total = &v + return s +} + +// SetUnit sets the Unit field's value. +func (s *AttackProperty) SetUnit(v string) *AttackProperty { + s.Unit = &v + return s +} + // Summarizes all DDoS attacks for a specified time period. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AttackSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AttackSummary type AttackSummary struct { _ struct{} `type:"structure"` @@ -881,13 +1042,15 @@ type AttackSummary struct { // The list of attacks for a specified time period. AttackVectors []*AttackVectorDescription `type:"list"` - // The end time of the attack, in the format 2016-12-16T13:50Z. + // The end time of the attack, in Unix time in seconds. For more information + // see timestamp (http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types). EndTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The ARN (Amazon Resource Name) of the resource that was attacked. ResourceArn *string `type:"string"` - // The start time of the attack, in the format 2016-12-16T13:50Z. + // The start time of the attack, in Unix time in seconds. For more information + // see timestamp (http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types). StartTime *time.Time `type:"timestamp" timestampFormat:"unix"` } @@ -932,11 +1095,41 @@ func (s *AttackSummary) SetStartTime(v time.Time) *AttackSummary { } // Describes the attack. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AttackVectorDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AttackVectorDescription type AttackVectorDescription struct { _ struct{} `type:"structure"` - // The attack type, for example, SNMP reflection or SYN flood. + // The attack type. Valid values: + // + // * UDP_TRAFFIC + // + // * UDP_FRAGMENT + // + // * GENERIC_UDP_REFLECTION + // + // * DNS_REFLECTION + // + // * NTP_REFLECTION + // + // * CHARGEN_REFLECTION + // + // * SSDP_REFLECTION + // + // * PORT_MAPPER + // + // * RIP_REFLECTION + // + // * SNMP_REFLECTION + // + // * MSSQL_REFLECTION + // + // * NET_BIOS_REFLECTION + // + // * SYN_FLOOD + // + // * ACK_FLOOD + // + // * REQUEST_FLOOD // // VectorType is a required field VectorType *string `type:"string" required:"true"` @@ -958,7 +1151,44 @@ func (s *AttackVectorDescription) SetVectorType(v string) *AttackVectorDescripti return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateProtectionRequest +// A contributor to the attack and their contribution. +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/Contributor +type Contributor struct { + _ struct{} `type:"structure"` + + // The name of the contributor. This is dependent on the AttackPropertyIdentifier. + // For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name + // could be United States. + Name *string `type:"string"` + + // The contribution of this contributor expressed in Protection units. For example + // 10,000. + Value *int64 `type:"long"` +} + +// String returns the string representation +func (s Contributor) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Contributor) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *Contributor) SetName(v string) *Contributor { + s.Name = &v + return s +} + +// SetValue sets the Value field's value. +func (s *Contributor) SetValue(v int64) *Contributor { + s.Value = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateProtectionRequest type CreateProtectionInput struct { _ struct{} `type:"structure"` @@ -969,6 +1199,18 @@ type CreateProtectionInput struct { // The ARN (Amazon Resource Name) of the resource to be protected. // + // The ARN should be in one of the following formats: + // + // * For an Application Load Balancer: arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id + // + // * For an Elastic Load Balancer (Classic Load Balancer): arn:aws:elasticloadbalancing:region:account-id:loadbalancer/load-balancer-name + // + // * For AWS CloudFront distribution: arn:aws:cloudfront::account-id:distribution/distribution-id + // + // * For Amazon Route 53: arn:aws:route53::account-id:hostedzone/hosted-zone-id + // + // * For an Elastic IP address: arn:aws:ec2:region:account-id:eip-allocation/allocation-id + // // ResourceArn is a required field ResourceArn *string `min:"1" type:"string" required:"true"` } @@ -1017,7 +1259,7 @@ func (s *CreateProtectionInput) SetResourceArn(v string) *CreateProtectionInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateProtectionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateProtectionResponse type CreateProtectionOutput struct { _ struct{} `type:"structure"` @@ -1041,7 +1283,7 @@ func (s *CreateProtectionOutput) SetProtectionId(v string) *CreateProtectionOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateSubscriptionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateSubscriptionRequest type CreateSubscriptionInput struct { _ struct{} `type:"structure"` } @@ -1056,7 +1298,7 @@ func (s CreateSubscriptionInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateSubscriptionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateSubscriptionResponse type CreateSubscriptionOutput struct { _ struct{} `type:"structure"` } @@ -1071,7 +1313,7 @@ func (s CreateSubscriptionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteProtectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteProtectionRequest type DeleteProtectionInput struct { _ struct{} `type:"structure"` @@ -1113,7 +1355,7 @@ func (s *DeleteProtectionInput) SetProtectionId(v string) *DeleteProtectionInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteProtectionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteProtectionResponse type DeleteProtectionOutput struct { _ struct{} `type:"structure"` } @@ -1128,7 +1370,7 @@ func (s DeleteProtectionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteSubscriptionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteSubscriptionRequest type DeleteSubscriptionInput struct { _ struct{} `type:"structure"` } @@ -1143,7 +1385,7 @@ func (s DeleteSubscriptionInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteSubscriptionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteSubscriptionResponse type DeleteSubscriptionOutput struct { _ struct{} `type:"structure"` } @@ -1158,7 +1400,7 @@ func (s DeleteSubscriptionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeAttackRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeAttackRequest type DescribeAttackInput struct { _ struct{} `type:"structure"` @@ -1200,7 +1442,7 @@ func (s *DescribeAttackInput) SetAttackId(v string) *DescribeAttackInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeAttackResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeAttackResponse type DescribeAttackOutput struct { _ struct{} `type:"structure"` @@ -1224,7 +1466,7 @@ func (s *DescribeAttackOutput) SetAttack(v *AttackDetail) *DescribeAttackOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtectionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtectionRequest type DescribeProtectionInput struct { _ struct{} `type:"structure"` @@ -1266,7 +1508,7 @@ func (s *DescribeProtectionInput) SetProtectionId(v string) *DescribeProtectionI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtectionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtectionResponse type DescribeProtectionOutput struct { _ struct{} `type:"structure"` @@ -1290,7 +1532,7 @@ func (s *DescribeProtectionOutput) SetProtection(v *Protection) *DescribeProtect return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeSubscriptionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeSubscriptionRequest type DescribeSubscriptionInput struct { _ struct{} `type:"structure"` } @@ -1305,7 +1547,7 @@ func (s DescribeSubscriptionInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeSubscriptionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeSubscriptionResponse type DescribeSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -1329,11 +1571,55 @@ func (s *DescribeSubscriptionOutput) SetSubscription(v *Subscription) *DescribeS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacksRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/GetSubscriptionStateRequest +type GetSubscriptionStateInput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s GetSubscriptionStateInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetSubscriptionStateInput) GoString() string { + return s.String() +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/GetSubscriptionStateResponse +type GetSubscriptionStateOutput struct { + _ struct{} `type:"structure"` + + // The status of the subscription. + // + // SubscriptionState is a required field + SubscriptionState *string `type:"string" required:"true" enum:"SubscriptionState"` +} + +// String returns the string representation +func (s GetSubscriptionStateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetSubscriptionStateOutput) GoString() string { + return s.String() +} + +// SetSubscriptionState sets the SubscriptionState field's value. +func (s *GetSubscriptionStateOutput) SetSubscriptionState(v string) *GetSubscriptionStateOutput { + s.SubscriptionState = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacksRequest type ListAttacksInput struct { _ struct{} `type:"structure"` - // The end of the time period for the attacks. + // The end of the time period for the attacks. This is a timestamp type. The + // sample request above indicates a number type because the default used by + // WAF is Unix time in seconds. However any valid timestamp format (http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types) + // is allowed. EndTime *TimeRange `type:"structure"` // The maximum number of AttackSummary objects to be returned. If this is left @@ -1348,7 +1634,10 @@ type ListAttacksInput struct { // is left blank, all applicable resources for this account will be included. ResourceArns []*string `type:"list"` - // The time period for the attacks. + // The start of the time period for the attacks. This is a timestamp type. The + // sample request above indicates a number type because the default used by + // WAF is Unix time in seconds. However any valid timestamp format (http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types) + // is allowed. StartTime *TimeRange `type:"structure"` } @@ -1405,7 +1694,7 @@ func (s *ListAttacksInput) SetStartTime(v *TimeRange) *ListAttacksInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacksResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacksResponse type ListAttacksOutput struct { _ struct{} `type:"structure"` @@ -1441,7 +1730,7 @@ func (s *ListAttacksOutput) SetNextToken(v string) *ListAttacksOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtectionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtectionsRequest type ListProtectionsInput struct { _ struct{} `type:"structure"` @@ -1489,7 +1778,7 @@ func (s *ListProtectionsInput) SetNextToken(v string) *ListProtectionsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtectionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtectionsResponse type ListProtectionsOutput struct { _ struct{} `type:"structure"` @@ -1527,7 +1816,7 @@ func (s *ListProtectionsOutput) SetProtections(v []*Protection) *ListProtections } // The mitigation applied to a DDoS attack. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/Mitigation +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/Mitigation type Mitigation struct { _ struct{} `type:"structure"` @@ -1552,7 +1841,7 @@ func (s *Mitigation) SetMitigationName(v string) *Mitigation { } // An object that represents a resource that is under DDoS protection. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/Protection +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/Protection type Protection struct { _ struct{} `type:"structure"` @@ -1595,7 +1884,7 @@ func (s *Protection) SetResourceArn(v string) *Protection { } // The attack information for the specified SubResource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/SubResourceSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/SubResourceSummary type SubResourceSummary struct { _ struct{} `type:"structure"` @@ -1647,11 +1936,12 @@ func (s *SubResourceSummary) SetType(v string) *SubResourceSummary { } // Information about the AWS Shield Advanced subscription for an account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/Subscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/Subscription type Subscription struct { _ struct{} `type:"structure"` - // The start time of the subscription, in the format "2016-12-16T13:50Z". + // The start time of the subscription, in Unix time in seconds. For more information + // see timestamp (http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types). StartTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The length, in seconds, of the AWS Shield Advanced subscription for the account. @@ -1681,7 +1971,7 @@ func (s *Subscription) SetTimeCommitmentInSeconds(v int64) *Subscription { } // A summary of information about the attack. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/SummarizedAttackVector +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/SummarizedAttackVector type SummarizedAttackVector struct { _ struct{} `type:"structure"` @@ -1717,7 +2007,7 @@ func (s *SummarizedAttackVector) SetVectorType(v string) *SummarizedAttackVector } // The counter that describes a DDoS attack. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/SummarizedCounter +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/SummarizedCounter type SummarizedCounter struct { _ struct{} `type:"structure"` @@ -1787,14 +2077,16 @@ func (s *SummarizedCounter) SetUnit(v string) *SummarizedCounter { } // The time range. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/TimeRange +// See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/TimeRange type TimeRange struct { _ struct{} `type:"structure"` - // The start time, in the format 2016-12-16T13:50Z. + // The start time, in Unix time in seconds. For more information see timestamp + // (http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types). FromInclusive *time.Time `type:"timestamp" timestampFormat:"unix"` - // The end time, in the format 2016-12-16T15:50Z. + // The end time, in Unix time in seconds. For more information see timestamp + // (http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types). ToExclusive *time.Time `type:"timestamp" timestampFormat:"unix"` } @@ -1820,6 +2112,34 @@ func (s *TimeRange) SetToExclusive(v time.Time) *TimeRange { return s } +const ( + // AttackLayerNetwork is a AttackLayer enum value + AttackLayerNetwork = "NETWORK" + + // AttackLayerApplication is a AttackLayer enum value + AttackLayerApplication = "APPLICATION" +) + +const ( + // AttackPropertyIdentifierDestinationUrl is a AttackPropertyIdentifier enum value + AttackPropertyIdentifierDestinationUrl = "DESTINATION_URL" + + // AttackPropertyIdentifierReferrer is a AttackPropertyIdentifier enum value + AttackPropertyIdentifierReferrer = "REFERRER" + + // AttackPropertyIdentifierSourceAsn is a AttackPropertyIdentifier enum value + AttackPropertyIdentifierSourceAsn = "SOURCE_ASN" + + // AttackPropertyIdentifierSourceCountry is a AttackPropertyIdentifier enum value + AttackPropertyIdentifierSourceCountry = "SOURCE_COUNTRY" + + // AttackPropertyIdentifierSourceIpAddress is a AttackPropertyIdentifier enum value + AttackPropertyIdentifierSourceIpAddress = "SOURCE_IP_ADDRESS" + + // AttackPropertyIdentifierSourceUserAgent is a AttackPropertyIdentifier enum value + AttackPropertyIdentifierSourceUserAgent = "SOURCE_USER_AGENT" +) + const ( // SubResourceTypeIp is a SubResourceType enum value SubResourceTypeIp = "IP" @@ -1827,3 +2147,25 @@ const ( // SubResourceTypeUrl is a SubResourceType enum value SubResourceTypeUrl = "URL" ) + +const ( + // SubscriptionStateActive is a SubscriptionState enum value + SubscriptionStateActive = "ACTIVE" + + // SubscriptionStateInactive is a SubscriptionState enum value + SubscriptionStateInactive = "INACTIVE" +) + +const ( + // UnitBits is a Unit enum value + UnitBits = "BITS" + + // UnitBytes is a Unit enum value + UnitBytes = "BYTES" + + // UnitPackets is a Unit enum value + UnitPackets = "PACKETS" + + // UnitRequests is a Unit enum value + UnitRequests = "REQUESTS" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/shield/errors.go b/vendor/github.com/aws/aws-sdk-go/service/shield/errors.go index be2c5bf9168..3410e89cfea 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/shield/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/shield/errors.go @@ -35,13 +35,17 @@ const ( // "LimitsExceededException". // // Exception that indicates that the operation would exceed a limit. + // + // Type is the type of limit that would be exceeded. + // + // Limit is the threshold that would be exceeded. ErrCodeLimitsExceededException = "LimitsExceededException" // ErrCodeLockedSubscriptionException for service response error code // "LockedSubscriptionException". // - // Exception that indicates that the subscription has been modified by another - // client. You can retry the request. + // Exception that indicates that the subscription you are trying to delete has + // not yet completed the 1-year commitment. You cannot delete this subscription. ErrCodeLockedSubscriptionException = "LockedSubscriptionException" // ErrCodeOptimisticLockException for service response error code diff --git a/vendor/github.com/aws/aws-sdk-go/service/sns/api.go b/vendor/github.com/aws/aws-sdk-go/service/sns/api.go index 549cd044fb8..8db14553fbd 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sns/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sns/api.go @@ -37,7 +37,7 @@ const opAddPermission = "AddPermission" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermission func (c *SNS) AddPermissionRequest(input *AddPermissionInput) (req *request.Request, output *AddPermissionOutput) { op := &request.Operation{ Name: opAddPermission, @@ -81,7 +81,7 @@ func (c *SNS) AddPermissionRequest(input *AddPermissionInput) (req *request.Requ // * ErrCodeNotFoundException "NotFound" // Indicates that the requested resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermission func (c *SNS) AddPermission(input *AddPermissionInput) (*AddPermissionOutput, error) { req, out := c.AddPermissionRequest(input) return out, req.Send() @@ -128,7 +128,7 @@ const opCheckIfPhoneNumberIsOptedOut = "CheckIfPhoneNumberIsOptedOut" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOut +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOut func (c *SNS) CheckIfPhoneNumberIsOptedOutRequest(input *CheckIfPhoneNumberIsOptedOutInput) (req *request.Request, output *CheckIfPhoneNumberIsOptedOutOutput) { op := &request.Operation{ Name: opCheckIfPhoneNumberIsOptedOut, @@ -175,7 +175,7 @@ func (c *SNS) CheckIfPhoneNumberIsOptedOutRequest(input *CheckIfPhoneNumberIsOpt // * ErrCodeInvalidParameterException "InvalidParameter" // Indicates that a request parameter does not comply with the associated constraints. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOut +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOut func (c *SNS) CheckIfPhoneNumberIsOptedOut(input *CheckIfPhoneNumberIsOptedOutInput) (*CheckIfPhoneNumberIsOptedOutOutput, error) { req, out := c.CheckIfPhoneNumberIsOptedOutRequest(input) return out, req.Send() @@ -222,7 +222,7 @@ const opConfirmSubscription = "ConfirmSubscription" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscription func (c *SNS) ConfirmSubscriptionRequest(input *ConfirmSubscriptionInput) (req *request.Request, output *ConfirmSubscriptionOutput) { op := &request.Operation{ Name: opConfirmSubscription, @@ -270,7 +270,7 @@ func (c *SNS) ConfirmSubscriptionRequest(input *ConfirmSubscriptionInput) (req * // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscription func (c *SNS) ConfirmSubscription(input *ConfirmSubscriptionInput) (*ConfirmSubscriptionOutput, error) { req, out := c.ConfirmSubscriptionRequest(input) return out, req.Send() @@ -317,7 +317,7 @@ const opCreatePlatformApplication = "CreatePlatformApplication" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplication func (c *SNS) CreatePlatformApplicationRequest(input *CreatePlatformApplicationInput) (req *request.Request, output *CreatePlatformApplicationOutput) { op := &request.Operation{ Name: opCreatePlatformApplication, @@ -380,7 +380,7 @@ func (c *SNS) CreatePlatformApplicationRequest(input *CreatePlatformApplicationI // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplication func (c *SNS) CreatePlatformApplication(input *CreatePlatformApplicationInput) (*CreatePlatformApplicationOutput, error) { req, out := c.CreatePlatformApplicationRequest(input) return out, req.Send() @@ -427,7 +427,7 @@ const opCreatePlatformEndpoint = "CreatePlatformEndpoint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformEndpoint func (c *SNS) CreatePlatformEndpointRequest(input *CreatePlatformEndpointInput) (req *request.Request, output *CreatePlatformEndpointOutput) { op := &request.Operation{ Name: opCreatePlatformEndpoint, @@ -481,7 +481,7 @@ func (c *SNS) CreatePlatformEndpointRequest(input *CreatePlatformEndpointInput) // * ErrCodeNotFoundException "NotFound" // Indicates that the requested resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformEndpoint func (c *SNS) CreatePlatformEndpoint(input *CreatePlatformEndpointInput) (*CreatePlatformEndpointOutput, error) { req, out := c.CreatePlatformEndpointRequest(input) return out, req.Send() @@ -528,7 +528,7 @@ const opCreateTopic = "CreateTopic" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopic +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopic func (c *SNS) CreateTopicRequest(input *CreateTopicInput) (req *request.Request, output *CreateTopicOutput) { op := &request.Operation{ Name: opCreateTopic, @@ -573,7 +573,7 @@ func (c *SNS) CreateTopicRequest(input *CreateTopicInput) (req *request.Request, // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopic +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopic func (c *SNS) CreateTopic(input *CreateTopicInput) (*CreateTopicOutput, error) { req, out := c.CreateTopicRequest(input) return out, req.Send() @@ -620,7 +620,7 @@ const opDeleteEndpoint = "DeleteEndpoint" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpoint func (c *SNS) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) { op := &request.Operation{ Name: opDeleteEndpoint, @@ -665,7 +665,7 @@ func (c *SNS) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Re // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpoint func (c *SNS) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) { req, out := c.DeleteEndpointRequest(input) return out, req.Send() @@ -712,7 +712,7 @@ const opDeletePlatformApplication = "DeletePlatformApplication" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplication func (c *SNS) DeletePlatformApplicationRequest(input *DeletePlatformApplicationInput) (req *request.Request, output *DeletePlatformApplicationOutput) { op := &request.Operation{ Name: opDeletePlatformApplication, @@ -754,7 +754,7 @@ func (c *SNS) DeletePlatformApplicationRequest(input *DeletePlatformApplicationI // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplication func (c *SNS) DeletePlatformApplication(input *DeletePlatformApplicationInput) (*DeletePlatformApplicationOutput, error) { req, out := c.DeletePlatformApplicationRequest(input) return out, req.Send() @@ -801,7 +801,7 @@ const opDeleteTopic = "DeleteTopic" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopic +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopic func (c *SNS) DeleteTopicRequest(input *DeleteTopicInput) (req *request.Request, output *DeleteTopicOutput) { op := &request.Operation{ Name: opDeleteTopic, @@ -847,7 +847,7 @@ func (c *SNS) DeleteTopicRequest(input *DeleteTopicInput) (req *request.Request, // * ErrCodeNotFoundException "NotFound" // Indicates that the requested resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopic +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopic func (c *SNS) DeleteTopic(input *DeleteTopicInput) (*DeleteTopicOutput, error) { req, out := c.DeleteTopicRequest(input) return out, req.Send() @@ -894,7 +894,7 @@ const opGetEndpointAttributes = "GetEndpointAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributes func (c *SNS) GetEndpointAttributesRequest(input *GetEndpointAttributesInput) (req *request.Request, output *GetEndpointAttributesOutput) { op := &request.Operation{ Name: opGetEndpointAttributes, @@ -937,7 +937,7 @@ func (c *SNS) GetEndpointAttributesRequest(input *GetEndpointAttributesInput) (r // * ErrCodeNotFoundException "NotFound" // Indicates that the requested resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributes func (c *SNS) GetEndpointAttributes(input *GetEndpointAttributesInput) (*GetEndpointAttributesOutput, error) { req, out := c.GetEndpointAttributesRequest(input) return out, req.Send() @@ -984,7 +984,7 @@ const opGetPlatformApplicationAttributes = "GetPlatformApplicationAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributes func (c *SNS) GetPlatformApplicationAttributesRequest(input *GetPlatformApplicationAttributesInput) (req *request.Request, output *GetPlatformApplicationAttributesOutput) { op := &request.Operation{ Name: opGetPlatformApplicationAttributes, @@ -1027,7 +1027,7 @@ func (c *SNS) GetPlatformApplicationAttributesRequest(input *GetPlatformApplicat // * ErrCodeNotFoundException "NotFound" // Indicates that the requested resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributes func (c *SNS) GetPlatformApplicationAttributes(input *GetPlatformApplicationAttributesInput) (*GetPlatformApplicationAttributesOutput, error) { req, out := c.GetPlatformApplicationAttributesRequest(input) return out, req.Send() @@ -1074,7 +1074,7 @@ const opGetSMSAttributes = "GetSMSAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributes func (c *SNS) GetSMSAttributesRequest(input *GetSMSAttributesInput) (req *request.Request, output *GetSMSAttributesOutput) { op := &request.Operation{ Name: opGetSMSAttributes, @@ -1118,7 +1118,7 @@ func (c *SNS) GetSMSAttributesRequest(input *GetSMSAttributesInput) (req *reques // * ErrCodeInvalidParameterException "InvalidParameter" // Indicates that a request parameter does not comply with the associated constraints. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributes func (c *SNS) GetSMSAttributes(input *GetSMSAttributesInput) (*GetSMSAttributesOutput, error) { req, out := c.GetSMSAttributesRequest(input) return out, req.Send() @@ -1165,7 +1165,7 @@ const opGetSubscriptionAttributes = "GetSubscriptionAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributes func (c *SNS) GetSubscriptionAttributesRequest(input *GetSubscriptionAttributesInput) (req *request.Request, output *GetSubscriptionAttributesOutput) { op := &request.Operation{ Name: opGetSubscriptionAttributes, @@ -1206,7 +1206,7 @@ func (c *SNS) GetSubscriptionAttributesRequest(input *GetSubscriptionAttributesI // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributes func (c *SNS) GetSubscriptionAttributes(input *GetSubscriptionAttributesInput) (*GetSubscriptionAttributesOutput, error) { req, out := c.GetSubscriptionAttributesRequest(input) return out, req.Send() @@ -1253,7 +1253,7 @@ const opGetTopicAttributes = "GetTopicAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributes func (c *SNS) GetTopicAttributesRequest(input *GetTopicAttributesInput) (req *request.Request, output *GetTopicAttributesOutput) { op := &request.Operation{ Name: opGetTopicAttributes, @@ -1295,7 +1295,7 @@ func (c *SNS) GetTopicAttributesRequest(input *GetTopicAttributesInput) (req *re // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributes func (c *SNS) GetTopicAttributes(input *GetTopicAttributesInput) (*GetTopicAttributesOutput, error) { req, out := c.GetTopicAttributesRequest(input) return out, req.Send() @@ -1342,7 +1342,7 @@ const opListEndpointsByPlatformApplication = "ListEndpointsByPlatformApplication // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplication func (c *SNS) ListEndpointsByPlatformApplicationRequest(input *ListEndpointsByPlatformApplicationInput) (req *request.Request, output *ListEndpointsByPlatformApplicationOutput) { op := &request.Operation{ Name: opListEndpointsByPlatformApplication, @@ -1396,7 +1396,7 @@ func (c *SNS) ListEndpointsByPlatformApplicationRequest(input *ListEndpointsByPl // * ErrCodeNotFoundException "NotFound" // Indicates that the requested resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplication func (c *SNS) ListEndpointsByPlatformApplication(input *ListEndpointsByPlatformApplicationInput) (*ListEndpointsByPlatformApplicationOutput, error) { req, out := c.ListEndpointsByPlatformApplicationRequest(input) return out, req.Send() @@ -1493,7 +1493,7 @@ const opListPhoneNumbersOptedOut = "ListPhoneNumbersOptedOut" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOut +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOut func (c *SNS) ListPhoneNumbersOptedOutRequest(input *ListPhoneNumbersOptedOutInput) (req *request.Request, output *ListPhoneNumbersOptedOutOutput) { op := &request.Operation{ Name: opListPhoneNumbersOptedOut, @@ -1543,7 +1543,7 @@ func (c *SNS) ListPhoneNumbersOptedOutRequest(input *ListPhoneNumbersOptedOutInp // * ErrCodeInvalidParameterException "InvalidParameter" // Indicates that a request parameter does not comply with the associated constraints. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOut +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOut func (c *SNS) ListPhoneNumbersOptedOut(input *ListPhoneNumbersOptedOutInput) (*ListPhoneNumbersOptedOutOutput, error) { req, out := c.ListPhoneNumbersOptedOutRequest(input) return out, req.Send() @@ -1590,7 +1590,7 @@ const opListPlatformApplications = "ListPlatformApplications" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplications +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplications func (c *SNS) ListPlatformApplicationsRequest(input *ListPlatformApplicationsInput) (req *request.Request, output *ListPlatformApplicationsOutput) { op := &request.Operation{ Name: opListPlatformApplications, @@ -1641,7 +1641,7 @@ func (c *SNS) ListPlatformApplicationsRequest(input *ListPlatformApplicationsInp // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplications +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplications func (c *SNS) ListPlatformApplications(input *ListPlatformApplicationsInput) (*ListPlatformApplicationsOutput, error) { req, out := c.ListPlatformApplicationsRequest(input) return out, req.Send() @@ -1738,7 +1738,7 @@ const opListSubscriptions = "ListSubscriptions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptions func (c *SNS) ListSubscriptionsRequest(input *ListSubscriptionsInput) (req *request.Request, output *ListSubscriptionsOutput) { op := &request.Operation{ Name: opListSubscriptions, @@ -1785,7 +1785,7 @@ func (c *SNS) ListSubscriptionsRequest(input *ListSubscriptionsInput) (req *requ // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptions +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptions func (c *SNS) ListSubscriptions(input *ListSubscriptionsInput) (*ListSubscriptionsOutput, error) { req, out := c.ListSubscriptionsRequest(input) return out, req.Send() @@ -1882,7 +1882,7 @@ const opListSubscriptionsByTopic = "ListSubscriptionsByTopic" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopic +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopic func (c *SNS) ListSubscriptionsByTopicRequest(input *ListSubscriptionsByTopicInput) (req *request.Request, output *ListSubscriptionsByTopicOutput) { op := &request.Operation{ Name: opListSubscriptionsByTopic, @@ -1932,7 +1932,7 @@ func (c *SNS) ListSubscriptionsByTopicRequest(input *ListSubscriptionsByTopicInp // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopic +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopic func (c *SNS) ListSubscriptionsByTopic(input *ListSubscriptionsByTopicInput) (*ListSubscriptionsByTopicOutput, error) { req, out := c.ListSubscriptionsByTopicRequest(input) return out, req.Send() @@ -2029,7 +2029,7 @@ const opListTopics = "ListTopics" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopics +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopics func (c *SNS) ListTopicsRequest(input *ListTopicsInput) (req *request.Request, output *ListTopicsOutput) { op := &request.Operation{ Name: opListTopics, @@ -2075,7 +2075,7 @@ func (c *SNS) ListTopicsRequest(input *ListTopicsInput) (req *request.Request, o // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopics +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopics func (c *SNS) ListTopics(input *ListTopicsInput) (*ListTopicsOutput, error) { req, out := c.ListTopicsRequest(input) return out, req.Send() @@ -2172,7 +2172,7 @@ const opOptInPhoneNumber = "OptInPhoneNumber" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumber +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumber func (c *SNS) OptInPhoneNumberRequest(input *OptInPhoneNumberInput) (req *request.Request, output *OptInPhoneNumberOutput) { op := &request.Operation{ Name: opOptInPhoneNumber, @@ -2217,7 +2217,7 @@ func (c *SNS) OptInPhoneNumberRequest(input *OptInPhoneNumberInput) (req *reques // * ErrCodeInvalidParameterException "InvalidParameter" // Indicates that a request parameter does not comply with the associated constraints. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumber +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumber func (c *SNS) OptInPhoneNumber(input *OptInPhoneNumberInput) (*OptInPhoneNumberOutput, error) { req, out := c.OptInPhoneNumberRequest(input) return out, req.Send() @@ -2264,7 +2264,7 @@ const opPublish = "Publish" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Publish +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Publish func (c *SNS) PublishRequest(input *PublishInput) (req *request.Request, output *PublishOutput) { op := &request.Operation{ Name: opPublish, @@ -2325,7 +2325,7 @@ func (c *SNS) PublishRequest(input *PublishInput) (req *request.Request, output // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Publish +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Publish func (c *SNS) Publish(input *PublishInput) (*PublishOutput, error) { req, out := c.PublishRequest(input) return out, req.Send() @@ -2372,7 +2372,7 @@ const opRemovePermission = "RemovePermission" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermission func (c *SNS) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput) { op := &request.Operation{ Name: opRemovePermission, @@ -2415,7 +2415,7 @@ func (c *SNS) RemovePermissionRequest(input *RemovePermissionInput) (req *reques // * ErrCodeNotFoundException "NotFound" // Indicates that the requested resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermission func (c *SNS) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) { req, out := c.RemovePermissionRequest(input) return out, req.Send() @@ -2462,7 +2462,7 @@ const opSetEndpointAttributes = "SetEndpointAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributes func (c *SNS) SetEndpointAttributesRequest(input *SetEndpointAttributesInput) (req *request.Request, output *SetEndpointAttributesOutput) { op := &request.Operation{ Name: opSetEndpointAttributes, @@ -2507,7 +2507,7 @@ func (c *SNS) SetEndpointAttributesRequest(input *SetEndpointAttributesInput) (r // * ErrCodeNotFoundException "NotFound" // Indicates that the requested resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributes func (c *SNS) SetEndpointAttributes(input *SetEndpointAttributesInput) (*SetEndpointAttributesOutput, error) { req, out := c.SetEndpointAttributesRequest(input) return out, req.Send() @@ -2554,7 +2554,7 @@ const opSetPlatformApplicationAttributes = "SetPlatformApplicationAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributes func (c *SNS) SetPlatformApplicationAttributesRequest(input *SetPlatformApplicationAttributesInput) (req *request.Request, output *SetPlatformApplicationAttributesOutput) { op := &request.Operation{ Name: opSetPlatformApplicationAttributes, @@ -2601,7 +2601,7 @@ func (c *SNS) SetPlatformApplicationAttributesRequest(input *SetPlatformApplicat // * ErrCodeNotFoundException "NotFound" // Indicates that the requested resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributes func (c *SNS) SetPlatformApplicationAttributes(input *SetPlatformApplicationAttributesInput) (*SetPlatformApplicationAttributesOutput, error) { req, out := c.SetPlatformApplicationAttributesRequest(input) return out, req.Send() @@ -2648,7 +2648,7 @@ const opSetSMSAttributes = "SetSMSAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributes func (c *SNS) SetSMSAttributesRequest(input *SetSMSAttributesInput) (req *request.Request, output *SetSMSAttributesOutput) { op := &request.Operation{ Name: opSetSMSAttributes, @@ -2696,7 +2696,7 @@ func (c *SNS) SetSMSAttributesRequest(input *SetSMSAttributesInput) (req *reques // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributes func (c *SNS) SetSMSAttributes(input *SetSMSAttributesInput) (*SetSMSAttributesOutput, error) { req, out := c.SetSMSAttributesRequest(input) return out, req.Send() @@ -2743,7 +2743,7 @@ const opSetSubscriptionAttributes = "SetSubscriptionAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributes func (c *SNS) SetSubscriptionAttributesRequest(input *SetSubscriptionAttributesInput) (req *request.Request, output *SetSubscriptionAttributesOutput) { op := &request.Operation{ Name: opSetSubscriptionAttributes, @@ -2786,7 +2786,7 @@ func (c *SNS) SetSubscriptionAttributesRequest(input *SetSubscriptionAttributesI // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributes func (c *SNS) SetSubscriptionAttributes(input *SetSubscriptionAttributesInput) (*SetSubscriptionAttributesOutput, error) { req, out := c.SetSubscriptionAttributesRequest(input) return out, req.Send() @@ -2833,7 +2833,7 @@ const opSetTopicAttributes = "SetTopicAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributes func (c *SNS) SetTopicAttributesRequest(input *SetTopicAttributesInput) (req *request.Request, output *SetTopicAttributesOutput) { op := &request.Operation{ Name: opSetTopicAttributes, @@ -2876,7 +2876,7 @@ func (c *SNS) SetTopicAttributesRequest(input *SetTopicAttributesInput) (req *re // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributes func (c *SNS) SetTopicAttributes(input *SetTopicAttributesInput) (*SetTopicAttributesOutput, error) { req, out := c.SetTopicAttributesRequest(input) return out, req.Send() @@ -2923,7 +2923,7 @@ const opSubscribe = "Subscribe" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Subscribe +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Subscribe func (c *SNS) SubscribeRequest(input *SubscribeInput) (req *request.Request, output *SubscribeOutput) { op := &request.Operation{ Name: opSubscribe, @@ -2970,7 +2970,7 @@ func (c *SNS) SubscribeRequest(input *SubscribeInput) (req *request.Request, out // * ErrCodeAuthorizationErrorException "AuthorizationError" // Indicates that the user has been denied access to the requested resource. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Subscribe +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Subscribe func (c *SNS) Subscribe(input *SubscribeInput) (*SubscribeOutput, error) { req, out := c.SubscribeRequest(input) return out, req.Send() @@ -3017,7 +3017,7 @@ const opUnsubscribe = "Unsubscribe" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Unsubscribe +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Unsubscribe func (c *SNS) UnsubscribeRequest(input *UnsubscribeInput) (req *request.Request, output *UnsubscribeOutput) { op := &request.Operation{ Name: opUnsubscribe, @@ -3065,7 +3065,7 @@ func (c *SNS) UnsubscribeRequest(input *UnsubscribeInput) (req *request.Request, // * ErrCodeNotFoundException "NotFound" // Indicates that the requested resource does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Unsubscribe +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Unsubscribe func (c *SNS) Unsubscribe(input *UnsubscribeInput) (*UnsubscribeOutput, error) { req, out := c.UnsubscribeRequest(input) return out, req.Send() @@ -3087,7 +3087,7 @@ func (c *SNS) UnsubscribeWithContext(ctx aws.Context, input *UnsubscribeInput, o return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermissionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermissionInput type AddPermissionInput struct { _ struct{} `type:"structure"` @@ -3172,7 +3172,7 @@ func (s *AddPermissionInput) SetTopicArn(v string) *AddPermissionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermissionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermissionOutput type AddPermissionOutput struct { _ struct{} `type:"structure"` } @@ -3188,7 +3188,7 @@ func (s AddPermissionOutput) GoString() string { } // The input for the CheckIfPhoneNumberIsOptedOut action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOutInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOutInput type CheckIfPhoneNumberIsOptedOutInput struct { _ struct{} `type:"structure"` @@ -3228,7 +3228,7 @@ func (s *CheckIfPhoneNumberIsOptedOutInput) SetPhoneNumber(v string) *CheckIfPho } // The response from the CheckIfPhoneNumberIsOptedOut action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOutResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOutResponse type CheckIfPhoneNumberIsOptedOutOutput struct { _ struct{} `type:"structure"` @@ -3259,7 +3259,7 @@ func (s *CheckIfPhoneNumberIsOptedOutOutput) SetIsOptedOut(v bool) *CheckIfPhone } // Input for ConfirmSubscription action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscriptionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscriptionInput type ConfirmSubscriptionInput struct { _ struct{} `type:"structure"` @@ -3325,7 +3325,7 @@ func (s *ConfirmSubscriptionInput) SetTopicArn(v string) *ConfirmSubscriptionInp } // Response for ConfirmSubscriptions action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscriptionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscriptionResponse type ConfirmSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -3350,7 +3350,7 @@ func (s *ConfirmSubscriptionOutput) SetSubscriptionArn(v string) *ConfirmSubscri } // Input for CreatePlatformApplication action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplicationInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplicationInput type CreatePlatformApplicationInput struct { _ struct{} `type:"structure"` @@ -3421,7 +3421,7 @@ func (s *CreatePlatformApplicationInput) SetPlatform(v string) *CreatePlatformAp } // Response from CreatePlatformApplication action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplicationResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplicationResponse type CreatePlatformApplicationOutput struct { _ struct{} `type:"structure"` @@ -3446,7 +3446,7 @@ func (s *CreatePlatformApplicationOutput) SetPlatformApplicationArn(v string) *C } // Input for CreatePlatformEndpoint action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformEndpointInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformEndpointInput type CreatePlatformEndpointInput struct { _ struct{} `type:"structure"` @@ -3524,7 +3524,7 @@ func (s *CreatePlatformEndpointInput) SetToken(v string) *CreatePlatformEndpoint } // Response from CreateEndpoint action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateEndpointResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateEndpointResponse type CreatePlatformEndpointOutput struct { _ struct{} `type:"structure"` @@ -3549,7 +3549,7 @@ func (s *CreatePlatformEndpointOutput) SetEndpointArn(v string) *CreatePlatformE } // Input for CreateTopic action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopicInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopicInput type CreateTopicInput struct { _ struct{} `type:"structure"` @@ -3593,7 +3593,7 @@ func (s *CreateTopicInput) SetName(v string) *CreateTopicInput { } // Response from CreateTopic action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopicResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopicResponse type CreateTopicOutput struct { _ struct{} `type:"structure"` @@ -3618,7 +3618,7 @@ func (s *CreateTopicOutput) SetTopicArn(v string) *CreateTopicOutput { } // Input for DeleteEndpoint action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpointInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpointInput type DeleteEndpointInput struct { _ struct{} `type:"structure"` @@ -3657,7 +3657,7 @@ func (s *DeleteEndpointInput) SetEndpointArn(v string) *DeleteEndpointInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpointOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpointOutput type DeleteEndpointOutput struct { _ struct{} `type:"structure"` } @@ -3673,7 +3673,7 @@ func (s DeleteEndpointOutput) GoString() string { } // Input for DeletePlatformApplication action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplicationInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplicationInput type DeletePlatformApplicationInput struct { _ struct{} `type:"structure"` @@ -3712,7 +3712,7 @@ func (s *DeletePlatformApplicationInput) SetPlatformApplicationArn(v string) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplicationOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplicationOutput type DeletePlatformApplicationOutput struct { _ struct{} `type:"structure"` } @@ -3727,7 +3727,7 @@ func (s DeletePlatformApplicationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopicInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopicInput type DeleteTopicInput struct { _ struct{} `type:"structure"` @@ -3766,7 +3766,7 @@ func (s *DeleteTopicInput) SetTopicArn(v string) *DeleteTopicInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopicOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopicOutput type DeleteTopicOutput struct { _ struct{} `type:"structure"` } @@ -3782,7 +3782,7 @@ func (s DeleteTopicOutput) GoString() string { } // Endpoint for mobile app and device. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Endpoint +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Endpoint type Endpoint struct { _ struct{} `type:"structure"` @@ -3816,7 +3816,7 @@ func (s *Endpoint) SetEndpointArn(v string) *Endpoint { } // Input for GetEndpointAttributes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributesInput type GetEndpointAttributesInput struct { _ struct{} `type:"structure"` @@ -3856,7 +3856,7 @@ func (s *GetEndpointAttributesInput) SetEndpointArn(v string) *GetEndpointAttrib } // Response from GetEndpointAttributes of the EndpointArn. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributesResponse type GetEndpointAttributesOutput struct { _ struct{} `type:"structure"` @@ -3894,7 +3894,7 @@ func (s *GetEndpointAttributesOutput) SetAttributes(v map[string]*string) *GetEn } // Input for GetPlatformApplicationAttributes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributesInput type GetPlatformApplicationAttributesInput struct { _ struct{} `type:"structure"` @@ -3934,7 +3934,7 @@ func (s *GetPlatformApplicationAttributesInput) SetPlatformApplicationArn(v stri } // Response for GetPlatformApplicationAttributes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributesResponse type GetPlatformApplicationAttributesOutput struct { _ struct{} `type:"structure"` @@ -3972,7 +3972,7 @@ func (s *GetPlatformApplicationAttributesOutput) SetAttributes(v map[string]*str } // The input for the GetSMSAttributes request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributesInput type GetSMSAttributesInput struct { _ struct{} `type:"structure"` @@ -4002,7 +4002,7 @@ func (s *GetSMSAttributesInput) SetAttributes(v []*string) *GetSMSAttributesInpu } // The response from the GetSMSAttributes request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributesResponse type GetSMSAttributesOutput struct { _ struct{} `type:"structure"` @@ -4027,7 +4027,7 @@ func (s *GetSMSAttributesOutput) SetAttributes(v map[string]*string) *GetSMSAttr } // Input for GetSubscriptionAttributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributesInput type GetSubscriptionAttributesInput struct { _ struct{} `type:"structure"` @@ -4067,7 +4067,7 @@ func (s *GetSubscriptionAttributesInput) SetSubscriptionArn(v string) *GetSubscr } // Response for GetSubscriptionAttributes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributesResponse type GetSubscriptionAttributesOutput struct { _ struct{} `type:"structure"` @@ -4109,7 +4109,7 @@ func (s *GetSubscriptionAttributesOutput) SetAttributes(v map[string]*string) *G } // Input for GetTopicAttributes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributesInput type GetTopicAttributesInput struct { _ struct{} `type:"structure"` @@ -4149,7 +4149,7 @@ func (s *GetTopicAttributesInput) SetTopicArn(v string) *GetTopicAttributesInput } // Response for GetTopicAttributes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributesResponse type GetTopicAttributesOutput struct { _ struct{} `type:"structure"` @@ -4197,7 +4197,7 @@ func (s *GetTopicAttributesOutput) SetAttributes(v map[string]*string) *GetTopic } // Input for ListEndpointsByPlatformApplication action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplicationInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplicationInput type ListEndpointsByPlatformApplicationInput struct { _ struct{} `type:"structure"` @@ -4248,7 +4248,7 @@ func (s *ListEndpointsByPlatformApplicationInput) SetPlatformApplicationArn(v st } // Response for ListEndpointsByPlatformApplication action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplicationResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplicationResponse type ListEndpointsByPlatformApplicationOutput struct { _ struct{} `type:"structure"` @@ -4283,7 +4283,7 @@ func (s *ListEndpointsByPlatformApplicationOutput) SetNextToken(v string) *ListE } // The input for the ListPhoneNumbersOptedOut action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOutInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOutInput type ListPhoneNumbersOptedOutInput struct { _ struct{} `type:"structure"` @@ -4310,7 +4310,7 @@ func (s *ListPhoneNumbersOptedOutInput) SetNextToken(v string) *ListPhoneNumbers } // The response from the ListPhoneNumbersOptedOut action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOutResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOutResponse type ListPhoneNumbersOptedOutOutput struct { _ struct{} `type:"structure"` @@ -4346,7 +4346,7 @@ func (s *ListPhoneNumbersOptedOutOutput) SetPhoneNumbers(v []*string) *ListPhone } // Input for ListPlatformApplications action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplicationsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplicationsInput type ListPlatformApplicationsInput struct { _ struct{} `type:"structure"` @@ -4372,7 +4372,7 @@ func (s *ListPlatformApplicationsInput) SetNextToken(v string) *ListPlatformAppl } // Response for ListPlatformApplications action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplicationsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplicationsResponse type ListPlatformApplicationsOutput struct { _ struct{} `type:"structure"` @@ -4407,7 +4407,7 @@ func (s *ListPlatformApplicationsOutput) SetPlatformApplications(v []*PlatformAp } // Input for ListSubscriptionsByTopic action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopicInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopicInput type ListSubscriptionsByTopicInput struct { _ struct{} `type:"structure"` @@ -4456,7 +4456,7 @@ func (s *ListSubscriptionsByTopicInput) SetTopicArn(v string) *ListSubscriptions } // Response for ListSubscriptionsByTopic action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopicResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopicResponse type ListSubscriptionsByTopicOutput struct { _ struct{} `type:"structure"` @@ -4491,7 +4491,7 @@ func (s *ListSubscriptionsByTopicOutput) SetSubscriptions(v []*Subscription) *Li } // Input for ListSubscriptions action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsInput type ListSubscriptionsInput struct { _ struct{} `type:"structure"` @@ -4516,7 +4516,7 @@ func (s *ListSubscriptionsInput) SetNextToken(v string) *ListSubscriptionsInput } // Response for ListSubscriptions action -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsResponse type ListSubscriptionsOutput struct { _ struct{} `type:"structure"` @@ -4550,7 +4550,7 @@ func (s *ListSubscriptionsOutput) SetSubscriptions(v []*Subscription) *ListSubsc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopicsInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopicsInput type ListTopicsInput struct { _ struct{} `type:"structure"` @@ -4575,7 +4575,7 @@ func (s *ListTopicsInput) SetNextToken(v string) *ListTopicsInput { } // Response for ListTopics action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopicsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopicsResponse type ListTopicsOutput struct { _ struct{} `type:"structure"` @@ -4618,7 +4618,7 @@ func (s *ListTopicsOutput) SetTopics(v []*Topic) *ListTopicsOutput { // name, type, and value, are included in the message size restriction, which // is currently 256 KB (262,144 bytes). For more information, see Using Amazon // SNS Message Attributes (http://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/MessageAttributeValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/MessageAttributeValue type MessageAttributeValue struct { _ struct{} `type:"structure"` @@ -4681,7 +4681,7 @@ func (s *MessageAttributeValue) SetStringValue(v string) *MessageAttributeValue } // Input for the OptInPhoneNumber action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumberInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumberInput type OptInPhoneNumberInput struct { _ struct{} `type:"structure"` @@ -4721,7 +4721,7 @@ func (s *OptInPhoneNumberInput) SetPhoneNumber(v string) *OptInPhoneNumberInput } // The response for the OptInPhoneNumber action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumberResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumberResponse type OptInPhoneNumberOutput struct { _ struct{} `type:"structure"` } @@ -4737,7 +4737,7 @@ func (s OptInPhoneNumberOutput) GoString() string { } // Platform application object. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PlatformApplication +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PlatformApplication type PlatformApplication struct { _ struct{} `type:"structure"` @@ -4771,7 +4771,7 @@ func (s *PlatformApplication) SetPlatformApplicationArn(v string) *PlatformAppli } // Input for Publish action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishInput type PublishInput struct { _ struct{} `type:"structure"` @@ -4943,7 +4943,7 @@ func (s *PublishInput) SetTopicArn(v string) *PublishInput { } // Response for Publish action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishResponse type PublishOutput struct { _ struct{} `type:"structure"` @@ -4970,7 +4970,7 @@ func (s *PublishOutput) SetMessageId(v string) *PublishOutput { } // Input for RemovePermission action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermissionInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermissionInput type RemovePermissionInput struct { _ struct{} `type:"structure"` @@ -5023,7 +5023,7 @@ func (s *RemovePermissionInput) SetTopicArn(v string) *RemovePermissionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermissionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermissionOutput type RemovePermissionOutput struct { _ struct{} `type:"structure"` } @@ -5039,7 +5039,7 @@ func (s RemovePermissionOutput) GoString() string { } // Input for SetEndpointAttributes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributesInput type SetEndpointAttributesInput struct { _ struct{} `type:"structure"` @@ -5105,7 +5105,7 @@ func (s *SetEndpointAttributesInput) SetEndpointArn(v string) *SetEndpointAttrib return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributesOutput type SetEndpointAttributesOutput struct { _ struct{} `type:"structure"` } @@ -5121,7 +5121,7 @@ func (s SetEndpointAttributesOutput) GoString() string { } // Input for SetPlatformApplicationAttributes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributesInput type SetPlatformApplicationAttributesInput struct { _ struct{} `type:"structure"` @@ -5207,7 +5207,7 @@ func (s *SetPlatformApplicationAttributesInput) SetPlatformApplicationArn(v stri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributesOutput type SetPlatformApplicationAttributesOutput struct { _ struct{} `type:"structure"` } @@ -5223,7 +5223,7 @@ func (s SetPlatformApplicationAttributesOutput) GoString() string { } // The input for the SetSMSAttributes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributesInput type SetSMSAttributesInput struct { _ struct{} `type:"structure"` @@ -5334,7 +5334,7 @@ func (s *SetSMSAttributesInput) SetAttributes(v map[string]*string) *SetSMSAttri } // The response for the SetSMSAttributes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributesResponse type SetSMSAttributesOutput struct { _ struct{} `type:"structure"` } @@ -5350,7 +5350,7 @@ func (s SetSMSAttributesOutput) GoString() string { } // Input for SetSubscriptionAttributes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributesInput type SetSubscriptionAttributesInput struct { _ struct{} `type:"structure"` @@ -5415,7 +5415,7 @@ func (s *SetSubscriptionAttributesInput) SetSubscriptionArn(v string) *SetSubscr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributesOutput type SetSubscriptionAttributesOutput struct { _ struct{} `type:"structure"` } @@ -5431,7 +5431,7 @@ func (s SetSubscriptionAttributesOutput) GoString() string { } // Input for SetTopicAttributes action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributesInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributesInput type SetTopicAttributesInput struct { _ struct{} `type:"structure"` @@ -5496,7 +5496,7 @@ func (s *SetTopicAttributesInput) SetTopicArn(v string) *SetTopicAttributesInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributesOutput type SetTopicAttributesOutput struct { _ struct{} `type:"structure"` } @@ -5512,7 +5512,7 @@ func (s SetTopicAttributesOutput) GoString() string { } // Input for Subscribe action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SubscribeInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SubscribeInput type SubscribeInput struct { _ struct{} `type:"structure"` @@ -5610,7 +5610,7 @@ func (s *SubscribeInput) SetTopicArn(v string) *SubscribeInput { } // Response for Subscribe action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SubscribeResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SubscribeResponse type SubscribeOutput struct { _ struct{} `type:"structure"` @@ -5636,7 +5636,7 @@ func (s *SubscribeOutput) SetSubscriptionArn(v string) *SubscribeOutput { } // A wrapper type for the attributes of an Amazon SNS subscription. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Subscription +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Subscription type Subscription struct { _ struct{} `type:"structure"` @@ -5698,7 +5698,7 @@ func (s *Subscription) SetTopicArn(v string) *Subscription { // A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a // topic's attributes, use GetTopicAttributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Topic +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Topic type Topic struct { _ struct{} `type:"structure"` @@ -5723,7 +5723,7 @@ func (s *Topic) SetTopicArn(v string) *Topic { } // Input for Unsubscribe action. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/UnsubscribeInput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/UnsubscribeInput type UnsubscribeInput struct { _ struct{} `type:"structure"` @@ -5762,7 +5762,7 @@ func (s *UnsubscribeInput) SetSubscriptionArn(v string) *UnsubscribeInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/UnsubscribeOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/UnsubscribeOutput type UnsubscribeOutput struct { _ struct{} `type:"structure"` } diff --git a/vendor/github.com/aws/aws-sdk-go/service/sqs/api.go b/vendor/github.com/aws/aws-sdk-go/service/sqs/api.go index 082f6928784..634a4457169 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sqs/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sqs/api.go @@ -37,7 +37,7 @@ const opAddPermission = "AddPermission" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/AddPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/AddPermission func (c *SQS) AddPermissionRequest(input *AddPermissionInput) (req *request.Request, output *AddPermissionOutput) { op := &request.Operation{ Name: opAddPermission, @@ -93,7 +93,7 @@ func (c *SQS) AddPermissionRequest(input *AddPermissionInput) (req *request.Requ // AddPermission returns this error if the maximum number of permissions for // the queue is reached. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/AddPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/AddPermission func (c *SQS) AddPermission(input *AddPermissionInput) (*AddPermissionOutput, error) { req, out := c.AddPermissionRequest(input) return out, req.Send() @@ -140,7 +140,7 @@ const opChangeMessageVisibility = "ChangeMessageVisibility" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibility +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibility func (c *SQS) ChangeMessageVisibilityRequest(input *ChangeMessageVisibilityInput) (req *request.Request, output *ChangeMessageVisibilityOutput) { op := &request.Operation{ Name: opChangeMessageVisibility, @@ -212,7 +212,7 @@ func (c *SQS) ChangeMessageVisibilityRequest(input *ChangeMessageVisibilityInput // * ErrCodeReceiptHandleIsInvalid "ReceiptHandleIsInvalid" // The receipt handle provided isn't valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibility +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibility func (c *SQS) ChangeMessageVisibility(input *ChangeMessageVisibilityInput) (*ChangeMessageVisibilityOutput, error) { req, out := c.ChangeMessageVisibilityRequest(input) return out, req.Send() @@ -259,7 +259,7 @@ const opChangeMessageVisibilityBatch = "ChangeMessageVisibilityBatch" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatch +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatch func (c *SQS) ChangeMessageVisibilityBatchRequest(input *ChangeMessageVisibilityBatchInput) (req *request.Request, output *ChangeMessageVisibilityBatchOutput) { op := &request.Operation{ Name: opChangeMessageVisibilityBatch, @@ -315,7 +315,7 @@ func (c *SQS) ChangeMessageVisibilityBatchRequest(input *ChangeMessageVisibility // * ErrCodeInvalidBatchEntryId "AWS.SimpleQueueService.InvalidBatchEntryId" // The Id of a batch entry in a batch request doesn't abide by the specification. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatch +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatch func (c *SQS) ChangeMessageVisibilityBatch(input *ChangeMessageVisibilityBatchInput) (*ChangeMessageVisibilityBatchOutput, error) { req, out := c.ChangeMessageVisibilityBatchRequest(input) return out, req.Send() @@ -362,7 +362,7 @@ const opCreateQueue = "CreateQueue" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/CreateQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/CreateQueue func (c *SQS) CreateQueueRequest(input *CreateQueueInput) (req *request.Request, output *CreateQueueOutput) { op := &request.Operation{ Name: opCreateQueue, @@ -439,7 +439,7 @@ func (c *SQS) CreateQueueRequest(input *CreateQueueInput) (req *request.Request, // if the request includes attributes whose values differ from those of the // existing queue. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/CreateQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/CreateQueue func (c *SQS) CreateQueue(input *CreateQueueInput) (*CreateQueueOutput, error) { req, out := c.CreateQueueRequest(input) return out, req.Send() @@ -486,7 +486,7 @@ const opDeleteMessage = "DeleteMessage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessage func (c *SQS) DeleteMessageRequest(input *DeleteMessageInput) (req *request.Request, output *DeleteMessageOutput) { op := &request.Operation{ Name: opDeleteMessage, @@ -542,7 +542,7 @@ func (c *SQS) DeleteMessageRequest(input *DeleteMessageInput) (req *request.Requ // * ErrCodeReceiptHandleIsInvalid "ReceiptHandleIsInvalid" // The receipt handle provided isn't valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessage func (c *SQS) DeleteMessage(input *DeleteMessageInput) (*DeleteMessageOutput, error) { req, out := c.DeleteMessageRequest(input) return out, req.Send() @@ -589,7 +589,7 @@ const opDeleteMessageBatch = "DeleteMessageBatch" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatch +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatch func (c *SQS) DeleteMessageBatchRequest(input *DeleteMessageBatchInput) (req *request.Request, output *DeleteMessageBatchOutput) { op := &request.Operation{ Name: opDeleteMessageBatch, @@ -644,7 +644,7 @@ func (c *SQS) DeleteMessageBatchRequest(input *DeleteMessageBatchInput) (req *re // * ErrCodeInvalidBatchEntryId "AWS.SimpleQueueService.InvalidBatchEntryId" // The Id of a batch entry in a batch request doesn't abide by the specification. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatch +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatch func (c *SQS) DeleteMessageBatch(input *DeleteMessageBatchInput) (*DeleteMessageBatchOutput, error) { req, out := c.DeleteMessageBatchRequest(input) return out, req.Send() @@ -691,7 +691,7 @@ const opDeleteQueue = "DeleteQueue" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteQueue func (c *SQS) DeleteQueueRequest(input *DeleteQueueInput) (req *request.Request, output *DeleteQueueOutput) { op := &request.Operation{ Name: opDeleteQueue, @@ -732,7 +732,7 @@ func (c *SQS) DeleteQueueRequest(input *DeleteQueueInput) (req *request.Request, // // See the AWS API reference guide for Amazon Simple Queue Service's // API operation DeleteQueue for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteQueue func (c *SQS) DeleteQueue(input *DeleteQueueInput) (*DeleteQueueOutput, error) { req, out := c.DeleteQueueRequest(input) return out, req.Send() @@ -779,7 +779,7 @@ const opGetQueueAttributes = "GetQueueAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributes func (c *SQS) GetQueueAttributesRequest(input *GetQueueAttributesInput) (req *request.Request, output *GetQueueAttributesOutput) { op := &request.Operation{ Name: opGetQueueAttributes, @@ -822,7 +822,7 @@ func (c *SQS) GetQueueAttributesRequest(input *GetQueueAttributesInput) (req *re // * ErrCodeInvalidAttributeName "InvalidAttributeName" // The attribute referred to doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributes func (c *SQS) GetQueueAttributes(input *GetQueueAttributesInput) (*GetQueueAttributesOutput, error) { req, out := c.GetQueueAttributesRequest(input) return out, req.Send() @@ -869,7 +869,7 @@ const opGetQueueUrl = "GetQueueUrl" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrl +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrl func (c *SQS) GetQueueUrlRequest(input *GetQueueUrlInput) (req *request.Request, output *GetQueueUrlOutput) { op := &request.Operation{ Name: opGetQueueUrl, @@ -908,7 +908,7 @@ func (c *SQS) GetQueueUrlRequest(input *GetQueueUrlInput) (req *request.Request, // * ErrCodeQueueDoesNotExist "AWS.SimpleQueueService.NonExistentQueue" // The queue referred to doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrl +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrl func (c *SQS) GetQueueUrl(input *GetQueueUrlInput) (*GetQueueUrlOutput, error) { req, out := c.GetQueueUrlRequest(input) return out, req.Send() @@ -955,7 +955,7 @@ const opListDeadLetterSourceQueues = "ListDeadLetterSourceQueues" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueues +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueues func (c *SQS) ListDeadLetterSourceQueuesRequest(input *ListDeadLetterSourceQueuesInput) (req *request.Request, output *ListDeadLetterSourceQueuesOutput) { op := &request.Operation{ Name: opListDeadLetterSourceQueues, @@ -992,7 +992,7 @@ func (c *SQS) ListDeadLetterSourceQueuesRequest(input *ListDeadLetterSourceQueue // * ErrCodeQueueDoesNotExist "AWS.SimpleQueueService.NonExistentQueue" // The queue referred to doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueues +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueues func (c *SQS) ListDeadLetterSourceQueues(input *ListDeadLetterSourceQueuesInput) (*ListDeadLetterSourceQueuesOutput, error) { req, out := c.ListDeadLetterSourceQueuesRequest(input) return out, req.Send() @@ -1039,7 +1039,7 @@ const opListQueueTags = "ListQueueTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTags func (c *SQS) ListQueueTagsRequest(input *ListQueueTagsInput) (req *request.Request, output *ListQueueTagsOutput) { op := &request.Operation{ Name: opListQueueTags, @@ -1086,7 +1086,7 @@ func (c *SQS) ListQueueTagsRequest(input *ListQueueTagsInput) (req *request.Requ // // See the AWS API reference guide for Amazon Simple Queue Service's // API operation ListQueueTags for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTags func (c *SQS) ListQueueTags(input *ListQueueTagsInput) (*ListQueueTagsOutput, error) { req, out := c.ListQueueTagsRequest(input) return out, req.Send() @@ -1133,7 +1133,7 @@ const opListQueues = "ListQueues" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueues +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueues func (c *SQS) ListQueuesRequest(input *ListQueuesInput) (req *request.Request, output *ListQueuesOutput) { op := &request.Operation{ Name: opListQueues, @@ -1162,7 +1162,7 @@ func (c *SQS) ListQueuesRequest(input *ListQueuesInput) (req *request.Request, o // // See the AWS API reference guide for Amazon Simple Queue Service's // API operation ListQueues for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueues +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueues func (c *SQS) ListQueues(input *ListQueuesInput) (*ListQueuesOutput, error) { req, out := c.ListQueuesRequest(input) return out, req.Send() @@ -1209,7 +1209,7 @@ const opPurgeQueue = "PurgeQueue" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/PurgeQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/PurgeQueue func (c *SQS) PurgeQueueRequest(input *PurgeQueueInput) (req *request.Request, output *PurgeQueueOutput) { op := &request.Operation{ Name: opPurgeQueue, @@ -1257,7 +1257,7 @@ func (c *SQS) PurgeQueueRequest(input *PurgeQueueInput) (req *request.Request, o // within the last 60 seconds (the time it can take to delete the messages in // the queue). // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/PurgeQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/PurgeQueue func (c *SQS) PurgeQueue(input *PurgeQueueInput) (*PurgeQueueOutput, error) { req, out := c.PurgeQueueRequest(input) return out, req.Send() @@ -1304,7 +1304,7 @@ const opReceiveMessage = "ReceiveMessage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ReceiveMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ReceiveMessage func (c *SQS) ReceiveMessageRequest(input *ReceiveMessageInput) (req *request.Request, output *ReceiveMessageOutput) { op := &request.Operation{ Name: opReceiveMessage, @@ -1385,7 +1385,7 @@ func (c *SQS) ReceiveMessageRequest(input *ReceiveMessageInput) (req *request.Re // AddPermission returns this error if the maximum number of permissions for // the queue is reached. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ReceiveMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ReceiveMessage func (c *SQS) ReceiveMessage(input *ReceiveMessageInput) (*ReceiveMessageOutput, error) { req, out := c.ReceiveMessageRequest(input) return out, req.Send() @@ -1432,7 +1432,7 @@ const opRemovePermission = "RemovePermission" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/RemovePermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/RemovePermission func (c *SQS) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput) { op := &request.Operation{ Name: opRemovePermission, @@ -1462,7 +1462,7 @@ func (c *SQS) RemovePermissionRequest(input *RemovePermissionInput) (req *reques // // See the AWS API reference guide for Amazon Simple Queue Service's // API operation RemovePermission for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/RemovePermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/RemovePermission func (c *SQS) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) { req, out := c.RemovePermissionRequest(input) return out, req.Send() @@ -1509,7 +1509,7 @@ const opSendMessage = "SendMessage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessage func (c *SQS) SendMessageRequest(input *SendMessageInput) (req *request.Request, output *SendMessageOutput) { op := &request.Operation{ Name: opSendMessage, @@ -1552,7 +1552,7 @@ func (c *SQS) SendMessageRequest(input *SendMessageInput) (req *request.Request, // * ErrCodeUnsupportedOperation "AWS.SimpleQueueService.UnsupportedOperation" // Error code 400. Unsupported operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessage func (c *SQS) SendMessage(input *SendMessageInput) (*SendMessageOutput, error) { req, out := c.SendMessageRequest(input) return out, req.Send() @@ -1599,7 +1599,7 @@ const opSendMessageBatch = "SendMessageBatch" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatch +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatch func (c *SQS) SendMessageBatchRequest(input *SendMessageBatchInput) (req *request.Request, output *SendMessageBatchOutput) { op := &request.Operation{ Name: opSendMessageBatch, @@ -1676,7 +1676,7 @@ func (c *SQS) SendMessageBatchRequest(input *SendMessageBatchInput) (req *reques // * ErrCodeUnsupportedOperation "AWS.SimpleQueueService.UnsupportedOperation" // Error code 400. Unsupported operation. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatch +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatch func (c *SQS) SendMessageBatch(input *SendMessageBatchInput) (*SendMessageBatchOutput, error) { req, out := c.SendMessageBatchRequest(input) return out, req.Send() @@ -1723,7 +1723,7 @@ const opSetQueueAttributes = "SetQueueAttributes" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributes func (c *SQS) SetQueueAttributesRequest(input *SetQueueAttributesInput) (req *request.Request, output *SetQueueAttributesOutput) { op := &request.Operation{ Name: opSetQueueAttributes, @@ -1764,7 +1764,7 @@ func (c *SQS) SetQueueAttributesRequest(input *SetQueueAttributesInput) (req *re // * ErrCodeInvalidAttributeName "InvalidAttributeName" // The attribute referred to doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributes +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributes func (c *SQS) SetQueueAttributes(input *SetQueueAttributesInput) (*SetQueueAttributesOutput, error) { req, out := c.SetQueueAttributesRequest(input) return out, req.Send() @@ -1811,7 +1811,7 @@ const opTagQueue = "TagQueue" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/TagQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/TagQueue func (c *SQS) TagQueueRequest(input *TagQueueInput) (req *request.Request, output *TagQueueOutput) { op := &request.Operation{ Name: opTagQueue, @@ -1860,7 +1860,7 @@ func (c *SQS) TagQueueRequest(input *TagQueueInput) (req *request.Request, outpu // // See the AWS API reference guide for Amazon Simple Queue Service's // API operation TagQueue for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/TagQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/TagQueue func (c *SQS) TagQueue(input *TagQueueInput) (*TagQueueOutput, error) { req, out := c.TagQueueRequest(input) return out, req.Send() @@ -1907,7 +1907,7 @@ const opUntagQueue = "UntagQueue" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/UntagQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/UntagQueue func (c *SQS) UntagQueueRequest(input *UntagQueueInput) (req *request.Request, output *UntagQueueOutput) { op := &request.Operation{ Name: opUntagQueue, @@ -1956,7 +1956,7 @@ func (c *SQS) UntagQueueRequest(input *UntagQueueInput) (req *request.Request, o // // See the AWS API reference guide for Amazon Simple Queue Service's // API operation UntagQueue for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/UntagQueue +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/UntagQueue func (c *SQS) UntagQueue(input *UntagQueueInput) (*UntagQueueOutput, error) { req, out := c.UntagQueueRequest(input) return out, req.Send() @@ -1978,7 +1978,7 @@ func (c *SQS) UntagQueueWithContext(ctx aws.Context, input *UntagQueueInput, opt return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/AddPermissionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/AddPermissionRequest type AddPermissionInput struct { _ struct{} `type:"structure"` @@ -2089,7 +2089,7 @@ func (s *AddPermissionInput) SetQueueUrl(v string) *AddPermissionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/AddPermissionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/AddPermissionOutput type AddPermissionOutput struct { _ struct{} `type:"structure"` } @@ -2106,7 +2106,7 @@ func (s AddPermissionOutput) GoString() string { // This is used in the responses of batch API to give a detailed description // of the result of an action on each entry in the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/BatchResultErrorEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/BatchResultErrorEntry type BatchResultErrorEntry struct { _ struct{} `type:"structure"` @@ -2163,7 +2163,7 @@ func (s *BatchResultErrorEntry) SetSenderFault(v bool) *BatchResultErrorEntry { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatchRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatchRequest type ChangeMessageVisibilityBatchInput struct { _ struct{} `type:"structure"` @@ -2232,7 +2232,7 @@ func (s *ChangeMessageVisibilityBatchInput) SetQueueUrl(v string) *ChangeMessage // For each message in the batch, the response contains a ChangeMessageVisibilityBatchResultEntry // tag if the message succeeds or a BatchResultErrorEntry tag if the message // fails. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatchResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatchResult type ChangeMessageVisibilityBatchOutput struct { _ struct{} `type:"structure"` @@ -2280,7 +2280,7 @@ func (s *ChangeMessageVisibilityBatchOutput) SetSuccessful(v []*ChangeMessageVis // &ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=Your_Receipt_Handle // // &ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45 -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatchRequestEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatchRequestEntry type ChangeMessageVisibilityBatchRequestEntry struct { _ struct{} `type:"structure"` @@ -2346,7 +2346,7 @@ func (s *ChangeMessageVisibilityBatchRequestEntry) SetVisibilityTimeout(v int64) } // Encloses the Id of an entry in ChangeMessageVisibilityBatch. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatchResultEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatchResultEntry type ChangeMessageVisibilityBatchResultEntry struct { _ struct{} `type:"structure"` @@ -2372,7 +2372,7 @@ func (s *ChangeMessageVisibilityBatchResultEntry) SetId(v string) *ChangeMessage return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityRequest type ChangeMessageVisibilityInput struct { _ struct{} `type:"structure"` @@ -2443,7 +2443,7 @@ func (s *ChangeMessageVisibilityInput) SetVisibilityTimeout(v int64) *ChangeMess return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityOutput type ChangeMessageVisibilityOutput struct { _ struct{} `type:"structure"` } @@ -2458,7 +2458,7 @@ func (s ChangeMessageVisibilityOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/CreateQueueRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/CreateQueueRequest type CreateQueueInput struct { _ struct{} `type:"structure"` @@ -2633,7 +2633,7 @@ func (s *CreateQueueInput) SetQueueName(v string) *CreateQueueInput { } // Returns the QueueUrl attribute of the created queue. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/CreateQueueResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/CreateQueueResult type CreateQueueOutput struct { _ struct{} `type:"structure"` @@ -2657,7 +2657,7 @@ func (s *CreateQueueOutput) SetQueueUrl(v string) *CreateQueueOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatchRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatchRequest type DeleteMessageBatchInput struct { _ struct{} `type:"structure"` @@ -2725,7 +2725,7 @@ func (s *DeleteMessageBatchInput) SetQueueUrl(v string) *DeleteMessageBatchInput // For each message in the batch, the response contains a DeleteMessageBatchResultEntry // tag if the message is deleted or a BatchResultErrorEntry tag if the message // can't be deleted. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatchResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatchResult type DeleteMessageBatchOutput struct { _ struct{} `type:"structure"` @@ -2763,7 +2763,7 @@ func (s *DeleteMessageBatchOutput) SetSuccessful(v []*DeleteMessageBatchResultEn } // Encloses a receipt handle and an identifier for it. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatchRequestEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatchRequestEntry type DeleteMessageBatchRequestEntry struct { _ struct{} `type:"structure"` @@ -2820,7 +2820,7 @@ func (s *DeleteMessageBatchRequestEntry) SetReceiptHandle(v string) *DeleteMessa } // Encloses the Id of an entry in DeleteMessageBatch. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatchResultEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatchResultEntry type DeleteMessageBatchResultEntry struct { _ struct{} `type:"structure"` @@ -2846,7 +2846,7 @@ func (s *DeleteMessageBatchResultEntry) SetId(v string) *DeleteMessageBatchResul return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageRequest type DeleteMessageInput struct { _ struct{} `type:"structure"` @@ -2901,7 +2901,7 @@ func (s *DeleteMessageInput) SetReceiptHandle(v string) *DeleteMessageInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageOutput type DeleteMessageOutput struct { _ struct{} `type:"structure"` } @@ -2916,7 +2916,7 @@ func (s DeleteMessageOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteQueueRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteQueueRequest type DeleteQueueInput struct { _ struct{} `type:"structure"` @@ -2957,7 +2957,7 @@ func (s *DeleteQueueInput) SetQueueUrl(v string) *DeleteQueueInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteQueueOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteQueueOutput type DeleteQueueOutput struct { _ struct{} `type:"structure"` } @@ -2972,7 +2972,7 @@ func (s DeleteQueueOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributesRequest type GetQueueAttributesInput struct { _ struct{} `type:"structure"` @@ -3110,7 +3110,7 @@ func (s *GetQueueAttributesInput) SetQueueUrl(v string) *GetQueueAttributesInput } // A list of returned queue attributes. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributesResult type GetQueueAttributesOutput struct { _ struct{} `type:"structure"` @@ -3134,7 +3134,7 @@ func (s *GetQueueAttributesOutput) SetAttributes(v map[string]*string) *GetQueue return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrlRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrlRequest type GetQueueUrlInput struct { _ struct{} `type:"structure"` @@ -3187,7 +3187,7 @@ func (s *GetQueueUrlInput) SetQueueOwnerAWSAccountId(v string) *GetQueueUrlInput // For more information, see Responses (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/UnderstandingResponses.html) // in the Amazon Simple Queue Service Developer Guide. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrlResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrlResult type GetQueueUrlOutput struct { _ struct{} `type:"structure"` @@ -3211,7 +3211,7 @@ func (s *GetQueueUrlOutput) SetQueueUrl(v string) *GetQueueUrlOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueuesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueuesRequest type ListDeadLetterSourceQueuesInput struct { _ struct{} `type:"structure"` @@ -3253,7 +3253,7 @@ func (s *ListDeadLetterSourceQueuesInput) SetQueueUrl(v string) *ListDeadLetterS } // A list of your dead letter source queues. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueuesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueuesResult type ListDeadLetterSourceQueuesOutput struct { _ struct{} `type:"structure"` @@ -3280,7 +3280,7 @@ func (s *ListDeadLetterSourceQueuesOutput) SetQueueUrls(v []*string) *ListDeadLe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTagsRequest type ListQueueTagsInput struct { _ struct{} `type:"structure"` @@ -3319,7 +3319,7 @@ func (s *ListQueueTagsInput) SetQueueUrl(v string) *ListQueueTagsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTagsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTagsResult type ListQueueTagsOutput struct { _ struct{} `type:"structure"` @@ -3343,7 +3343,7 @@ func (s *ListQueueTagsOutput) SetTags(v map[string]*string) *ListQueueTagsOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueuesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueuesRequest type ListQueuesInput struct { _ struct{} `type:"structure"` @@ -3371,7 +3371,7 @@ func (s *ListQueuesInput) SetQueueNamePrefix(v string) *ListQueuesInput { } // A list of your queues. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueuesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueuesResult type ListQueuesOutput struct { _ struct{} `type:"structure"` @@ -3396,7 +3396,7 @@ func (s *ListQueuesOutput) SetQueueUrls(v []*string) *ListQueuesOutput { } // An Amazon SQS message. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/Message +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/Message type Message struct { _ struct{} `type:"structure"` @@ -3492,7 +3492,7 @@ func (s *Message) SetReceiptHandle(v string) *Message { // Name, type, value and the message body must not be empty or null. All parts // of the message attribute, including Name, Type, and Value, are part of the // message size restriction (256 KB or 262,144 bytes). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/MessageAttributeValue +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/MessageAttributeValue type MessageAttributeValue struct { _ struct{} `type:"structure"` @@ -3576,7 +3576,7 @@ func (s *MessageAttributeValue) SetStringValue(v string) *MessageAttributeValue return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/PurgeQueueRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/PurgeQueueRequest type PurgeQueueInput struct { _ struct{} `type:"structure"` @@ -3617,7 +3617,7 @@ func (s *PurgeQueueInput) SetQueueUrl(v string) *PurgeQueueInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/PurgeQueueOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/PurgeQueueOutput type PurgeQueueOutput struct { _ struct{} `type:"structure"` } @@ -3632,7 +3632,7 @@ func (s PurgeQueueOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ReceiveMessageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ReceiveMessageRequest type ReceiveMessageInput struct { _ struct{} `type:"structure"` @@ -3865,7 +3865,7 @@ func (s *ReceiveMessageInput) SetWaitTimeSeconds(v int64) *ReceiveMessageInput { } // A list of received messages. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ReceiveMessageResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ReceiveMessageResult type ReceiveMessageOutput struct { _ struct{} `type:"structure"` @@ -3889,7 +3889,7 @@ func (s *ReceiveMessageOutput) SetMessages(v []*Message) *ReceiveMessageOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/RemovePermissionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/RemovePermissionRequest type RemovePermissionInput struct { _ struct{} `type:"structure"` @@ -3945,7 +3945,7 @@ func (s *RemovePermissionInput) SetQueueUrl(v string) *RemovePermissionInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/RemovePermissionOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/RemovePermissionOutput type RemovePermissionOutput struct { _ struct{} `type:"structure"` } @@ -3960,7 +3960,7 @@ func (s RemovePermissionOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatchRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatchRequest type SendMessageBatchInput struct { _ struct{} `type:"structure"` @@ -4028,7 +4028,7 @@ func (s *SendMessageBatchInput) SetQueueUrl(v string) *SendMessageBatchInput { // For each message in the batch, the response contains a SendMessageBatchResultEntry // tag if the message succeeds or a BatchResultErrorEntry tag if the message // fails. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatchResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatchResult type SendMessageBatchOutput struct { _ struct{} `type:"structure"` @@ -4067,7 +4067,7 @@ func (s *SendMessageBatchOutput) SetSuccessful(v []*SendMessageBatchResultEntry) } // Contains the details of a single Amazon SQS message along with an Id. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatchRequestEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatchRequestEntry type SendMessageBatchRequestEntry struct { _ struct{} `type:"structure"` @@ -4247,7 +4247,7 @@ func (s *SendMessageBatchRequestEntry) SetMessageGroupId(v string) *SendMessageB } // Encloses a MessageId for a successfully-enqueued message in a SendMessageBatch. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatchResultEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatchResultEntry type SendMessageBatchResultEntry struct { _ struct{} `type:"structure"` @@ -4324,7 +4324,7 @@ func (s *SendMessageBatchResultEntry) SetSequenceNumber(v string) *SendMessageBa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageRequest type SendMessageInput struct { _ struct{} `type:"structure"` @@ -4512,7 +4512,7 @@ func (s *SendMessageInput) SetQueueUrl(v string) *SendMessageInput { } // The MD5OfMessageBody and MessageId elements. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageResult type SendMessageOutput struct { _ struct{} `type:"structure"` @@ -4576,7 +4576,7 @@ func (s *SendMessageOutput) SetSequenceNumber(v string) *SendMessageOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributesRequest type SetQueueAttributesInput struct { _ struct{} `type:"structure"` @@ -4741,7 +4741,7 @@ func (s *SetQueueAttributesInput) SetQueueUrl(v string) *SetQueueAttributesInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributesOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributesOutput type SetQueueAttributesOutput struct { _ struct{} `type:"structure"` } @@ -4756,7 +4756,7 @@ func (s SetQueueAttributesOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/TagQueueRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/TagQueueRequest type TagQueueInput struct { _ struct{} `type:"structure"` @@ -4809,7 +4809,7 @@ func (s *TagQueueInput) SetTags(v map[string]*string) *TagQueueInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/TagQueueOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/TagQueueOutput type TagQueueOutput struct { _ struct{} `type:"structure"` } @@ -4824,7 +4824,7 @@ func (s TagQueueOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/UntagQueueRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/UntagQueueRequest type UntagQueueInput struct { _ struct{} `type:"structure"` @@ -4877,7 +4877,7 @@ func (s *UntagQueueInput) SetTagKeys(v []*string) *UntagQueueInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/UntagQueueOutput +// See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/UntagQueueOutput type UntagQueueOutput struct { _ struct{} `type:"structure"` } diff --git a/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go b/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go index 00615d7c164..0f57d3ff38b 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go @@ -36,7 +36,7 @@ const opAddTagsToResource = "AddTagsToResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResource func (c *SSM) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput) { op := &request.Operation{ Name: opAddTagsToResource, @@ -99,7 +99,7 @@ func (c *SSM) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *requ // The Targets parameter includes too many tags. Remove one or more tags and // try the command again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResource func (c *SSM) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error) { req, out := c.AddTagsToResourceRequest(input) return out, req.Send() @@ -146,7 +146,7 @@ const opCancelCommand = "CancelCommand" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelCommand +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelCommand func (c *SSM) CancelCommandRequest(input *CancelCommandInput) (req *request.Request, output *CancelCommandOutput) { op := &request.Operation{ Name: opCancelCommand, @@ -199,7 +199,7 @@ func (c *SSM) CancelCommandRequest(input *CancelCommandInput) (req *request.Requ // * ErrCodeDuplicateInstanceId "DuplicateInstanceId" // You cannot specify an instance ID in more than one association. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelCommand +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelCommand func (c *SSM) CancelCommand(input *CancelCommandInput) (*CancelCommandOutput, error) { req, out := c.CancelCommandRequest(input) return out, req.Send() @@ -246,7 +246,7 @@ const opCreateActivation = "CreateActivation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivation func (c *SSM) CreateActivationRequest(input *CreateActivationInput) (req *request.Request, output *CreateActivationOutput) { op := &request.Operation{ Name: opCreateActivation, @@ -282,7 +282,7 @@ func (c *SSM) CreateActivationRequest(input *CreateActivationInput) (req *reques // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivation func (c *SSM) CreateActivation(input *CreateActivationInput) (*CreateActivationOutput, error) { req, out := c.CreateActivationRequest(input) return out, req.Send() @@ -329,7 +329,7 @@ const opCreateAssociation = "CreateAssociation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation func (c *SSM) CreateAssociationRequest(input *CreateAssociationInput) (req *request.Request, output *CreateAssociationOutput) { op := &request.Operation{ Name: opCreateAssociation, @@ -415,7 +415,7 @@ func (c *SSM) CreateAssociationRequest(input *CreateAssociationInput) (req *requ // * ErrCodeInvalidSchedule "InvalidSchedule" // The schedule is invalid. Verify your cron or rate expression and try again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation func (c *SSM) CreateAssociation(input *CreateAssociationInput) (*CreateAssociationOutput, error) { req, out := c.CreateAssociationRequest(input) return out, req.Send() @@ -462,7 +462,7 @@ const opCreateAssociationBatch = "CreateAssociationBatch" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatch +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatch func (c *SSM) CreateAssociationBatchRequest(input *CreateAssociationBatchInput) (req *request.Request, output *CreateAssociationBatchOutput) { op := &request.Operation{ Name: opCreateAssociationBatch, @@ -548,7 +548,7 @@ func (c *SSM) CreateAssociationBatchRequest(input *CreateAssociationBatchInput) // * ErrCodeInvalidSchedule "InvalidSchedule" // The schedule is invalid. Verify your cron or rate expression and try again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatch +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatch func (c *SSM) CreateAssociationBatch(input *CreateAssociationBatchInput) (*CreateAssociationBatchOutput, error) { req, out := c.CreateAssociationBatchRequest(input) return out, req.Send() @@ -595,7 +595,7 @@ const opCreateDocument = "CreateDocument" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument func (c *SSM) CreateDocumentRequest(input *CreateDocumentInput) (req *request.Request, output *CreateDocumentOutput) { op := &request.Operation{ Name: opCreateDocument, @@ -645,7 +645,7 @@ func (c *SSM) CreateDocumentRequest(input *CreateDocumentInput) (req *request.Re // * ErrCodeInvalidDocumentSchemaVersion "InvalidDocumentSchemaVersion" // The version of the document schema is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument func (c *SSM) CreateDocument(input *CreateDocumentInput) (*CreateDocumentOutput, error) { req, out := c.CreateDocumentRequest(input) return out, req.Send() @@ -692,7 +692,7 @@ const opCreateMaintenanceWindow = "CreateMaintenanceWindow" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindow func (c *SSM) CreateMaintenanceWindowRequest(input *CreateMaintenanceWindowInput) (req *request.Request, output *CreateMaintenanceWindowOutput) { op := &request.Operation{ Name: opCreateMaintenanceWindow, @@ -732,7 +732,7 @@ func (c *SSM) CreateMaintenanceWindowRequest(input *CreateMaintenanceWindowInput // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindow func (c *SSM) CreateMaintenanceWindow(input *CreateMaintenanceWindowInput) (*CreateMaintenanceWindowOutput, error) { req, out := c.CreateMaintenanceWindowRequest(input) return out, req.Send() @@ -779,7 +779,7 @@ const opCreatePatchBaseline = "CreatePatchBaseline" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaseline +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaseline func (c *SSM) CreatePatchBaselineRequest(input *CreatePatchBaselineInput) (req *request.Request, output *CreatePatchBaselineOutput) { op := &request.Operation{ Name: opCreatePatchBaseline, @@ -819,7 +819,7 @@ func (c *SSM) CreatePatchBaselineRequest(input *CreatePatchBaselineInput) (req * // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaseline +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaseline func (c *SSM) CreatePatchBaseline(input *CreatePatchBaselineInput) (*CreatePatchBaselineOutput, error) { req, out := c.CreatePatchBaselineRequest(input) return out, req.Send() @@ -866,7 +866,7 @@ const opCreateResourceDataSync = "CreateResourceDataSync" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSync +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSync func (c *SSM) CreateResourceDataSyncRequest(input *CreateResourceDataSyncInput) (req *request.Request, output *CreateResourceDataSyncOutput) { op := &request.Operation{ Name: opCreateResourceDataSync, @@ -888,8 +888,7 @@ func (c *SSM) CreateResourceDataSyncRequest(input *CreateResourceDataSyncInput) // Creates a resource data sync configuration to a single bucket in Amazon S3. // This is an asynchronous operation that returns immediately. After a successful // initial sync is completed, the system continuously syncs data to the Amazon -// S3 bucket. To check the status of the sync, use the ListResourceDataSync -// (API_ListResourceDataSync.html) operation. +// S3 bucket. To check the status of the sync, use the ListResourceDataSync. // // By default, data is not encrypted in Amazon S3. We strongly recommend that // you enable encryption in Amazon S3 to ensure secure data storage. We also @@ -918,7 +917,7 @@ func (c *SSM) CreateResourceDataSyncRequest(input *CreateResourceDataSyncInput) // * ErrCodeResourceDataSyncInvalidConfigurationException "ResourceDataSyncInvalidConfigurationException" // The specified sync configuration is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSync +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSync func (c *SSM) CreateResourceDataSync(input *CreateResourceDataSyncInput) (*CreateResourceDataSyncOutput, error) { req, out := c.CreateResourceDataSyncRequest(input) return out, req.Send() @@ -965,7 +964,7 @@ const opDeleteActivation = "DeleteActivation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteActivation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteActivation func (c *SSM) DeleteActivationRequest(input *DeleteActivationInput) (req *request.Request, output *DeleteActivationOutput) { op := &request.Operation{ Name: opDeleteActivation, @@ -1012,7 +1011,7 @@ func (c *SSM) DeleteActivationRequest(input *DeleteActivationInput) (req *reques // There are concurrent updates for a resource that supports one update at a // time. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteActivation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteActivation func (c *SSM) DeleteActivation(input *DeleteActivationInput) (*DeleteActivationOutput, error) { req, out := c.DeleteActivationRequest(input) return out, req.Send() @@ -1059,7 +1058,7 @@ const opDeleteAssociation = "DeleteAssociation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteAssociation func (c *SSM) DeleteAssociationRequest(input *DeleteAssociationInput) (req *request.Request, output *DeleteAssociationOutput) { op := &request.Operation{ Name: opDeleteAssociation, @@ -1121,7 +1120,7 @@ func (c *SSM) DeleteAssociationRequest(input *DeleteAssociationInput) (req *requ // There are concurrent updates for a resource that supports one update at a // time. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteAssociation func (c *SSM) DeleteAssociation(input *DeleteAssociationInput) (*DeleteAssociationOutput, error) { req, out := c.DeleteAssociationRequest(input) return out, req.Send() @@ -1168,7 +1167,7 @@ const opDeleteDocument = "DeleteDocument" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocument +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocument func (c *SSM) DeleteDocumentRequest(input *DeleteDocumentInput) (req *request.Request, output *DeleteDocumentOutput) { op := &request.Operation{ Name: opDeleteDocument, @@ -1215,7 +1214,7 @@ func (c *SSM) DeleteDocumentRequest(input *DeleteDocumentInput) (req *request.Re // You must disassociate a document from all instances before you can delete // it. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocument +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocument func (c *SSM) DeleteDocument(input *DeleteDocumentInput) (*DeleteDocumentOutput, error) { req, out := c.DeleteDocumentRequest(input) return out, req.Send() @@ -1262,7 +1261,7 @@ const opDeleteMaintenanceWindow = "DeleteMaintenanceWindow" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteMaintenanceWindow func (c *SSM) DeleteMaintenanceWindowRequest(input *DeleteMaintenanceWindowInput) (req *request.Request, output *DeleteMaintenanceWindowOutput) { op := &request.Operation{ Name: opDeleteMaintenanceWindow, @@ -1294,7 +1293,7 @@ func (c *SSM) DeleteMaintenanceWindowRequest(input *DeleteMaintenanceWindowInput // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteMaintenanceWindow func (c *SSM) DeleteMaintenanceWindow(input *DeleteMaintenanceWindowInput) (*DeleteMaintenanceWindowOutput, error) { req, out := c.DeleteMaintenanceWindowRequest(input) return out, req.Send() @@ -1341,7 +1340,7 @@ const opDeleteParameter = "DeleteParameter" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameter func (c *SSM) DeleteParameterRequest(input *DeleteParameterInput) (req *request.Request, output *DeleteParameterOutput) { op := &request.Operation{ Name: opDeleteParameter, @@ -1376,7 +1375,7 @@ func (c *SSM) DeleteParameterRequest(input *DeleteParameterInput) (req *request. // * ErrCodeParameterNotFound "ParameterNotFound" // The parameter could not be found. Verify the name and try again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameter func (c *SSM) DeleteParameter(input *DeleteParameterInput) (*DeleteParameterOutput, error) { req, out := c.DeleteParameterRequest(input) return out, req.Send() @@ -1423,7 +1422,7 @@ const opDeleteParameters = "DeleteParameters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameters func (c *SSM) DeleteParametersRequest(input *DeleteParametersInput) (req *request.Request, output *DeleteParametersOutput) { op := &request.Operation{ Name: opDeleteParameters, @@ -1456,7 +1455,7 @@ func (c *SSM) DeleteParametersRequest(input *DeleteParametersInput) (req *reques // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameters func (c *SSM) DeleteParameters(input *DeleteParametersInput) (*DeleteParametersOutput, error) { req, out := c.DeleteParametersRequest(input) return out, req.Send() @@ -1503,7 +1502,7 @@ const opDeletePatchBaseline = "DeletePatchBaseline" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeletePatchBaseline +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeletePatchBaseline func (c *SSM) DeletePatchBaselineRequest(input *DeletePatchBaselineInput) (req *request.Request, output *DeletePatchBaselineOutput) { op := &request.Operation{ Name: opDeletePatchBaseline, @@ -1539,7 +1538,7 @@ func (c *SSM) DeletePatchBaselineRequest(input *DeletePatchBaselineInput) (req * // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeletePatchBaseline +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeletePatchBaseline func (c *SSM) DeletePatchBaseline(input *DeletePatchBaselineInput) (*DeletePatchBaselineOutput, error) { req, out := c.DeletePatchBaselineRequest(input) return out, req.Send() @@ -1586,7 +1585,7 @@ const opDeleteResourceDataSync = "DeleteResourceDataSync" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSync +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSync func (c *SSM) DeleteResourceDataSyncRequest(input *DeleteResourceDataSyncInput) (req *request.Request, output *DeleteResourceDataSyncOutput) { op := &request.Operation{ Name: opDeleteResourceDataSync, @@ -1624,7 +1623,7 @@ func (c *SSM) DeleteResourceDataSyncRequest(input *DeleteResourceDataSyncInput) // * ErrCodeResourceDataSyncNotFoundException "ResourceDataSyncNotFoundException" // The specified sync name was not found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSync +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSync func (c *SSM) DeleteResourceDataSync(input *DeleteResourceDataSyncInput) (*DeleteResourceDataSyncOutput, error) { req, out := c.DeleteResourceDataSyncRequest(input) return out, req.Send() @@ -1671,7 +1670,7 @@ const opDeregisterManagedInstance = "DeregisterManagedInstance" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterManagedInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterManagedInstance func (c *SSM) DeregisterManagedInstanceRequest(input *DeregisterManagedInstanceInput) (req *request.Request, output *DeregisterManagedInstanceOutput) { op := &request.Operation{ Name: opDeregisterManagedInstance, @@ -1720,7 +1719,7 @@ func (c *SSM) DeregisterManagedInstanceRequest(input *DeregisterManagedInstanceI // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterManagedInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterManagedInstance func (c *SSM) DeregisterManagedInstance(input *DeregisterManagedInstanceInput) (*DeregisterManagedInstanceOutput, error) { req, out := c.DeregisterManagedInstanceRequest(input) return out, req.Send() @@ -1767,7 +1766,7 @@ const opDeregisterPatchBaselineForPatchGroup = "DeregisterPatchBaselineForPatchG // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterPatchBaselineForPatchGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterPatchBaselineForPatchGroup func (c *SSM) DeregisterPatchBaselineForPatchGroupRequest(input *DeregisterPatchBaselineForPatchGroupInput) (req *request.Request, output *DeregisterPatchBaselineForPatchGroupOutput) { op := &request.Operation{ Name: opDeregisterPatchBaselineForPatchGroup, @@ -1803,7 +1802,7 @@ func (c *SSM) DeregisterPatchBaselineForPatchGroupRequest(input *DeregisterPatch // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterPatchBaselineForPatchGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterPatchBaselineForPatchGroup func (c *SSM) DeregisterPatchBaselineForPatchGroup(input *DeregisterPatchBaselineForPatchGroupInput) (*DeregisterPatchBaselineForPatchGroupOutput, error) { req, out := c.DeregisterPatchBaselineForPatchGroupRequest(input) return out, req.Send() @@ -1850,7 +1849,7 @@ const opDeregisterTargetFromMaintenanceWindow = "DeregisterTargetFromMaintenance // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindow func (c *SSM) DeregisterTargetFromMaintenanceWindowRequest(input *DeregisterTargetFromMaintenanceWindowInput) (req *request.Request, output *DeregisterTargetFromMaintenanceWindowOutput) { op := &request.Operation{ Name: opDeregisterTargetFromMaintenanceWindow, @@ -1890,7 +1889,7 @@ func (c *SSM) DeregisterTargetFromMaintenanceWindowRequest(input *DeregisterTarg // You specified the Safe option for the DeregisterTargetFromMaintenanceWindow // operation, but the target is still referenced in a task. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindow func (c *SSM) DeregisterTargetFromMaintenanceWindow(input *DeregisterTargetFromMaintenanceWindowInput) (*DeregisterTargetFromMaintenanceWindowOutput, error) { req, out := c.DeregisterTargetFromMaintenanceWindowRequest(input) return out, req.Send() @@ -1937,7 +1936,7 @@ const opDeregisterTaskFromMaintenanceWindow = "DeregisterTaskFromMaintenanceWind // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTaskFromMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTaskFromMaintenanceWindow func (c *SSM) DeregisterTaskFromMaintenanceWindowRequest(input *DeregisterTaskFromMaintenanceWindowInput) (req *request.Request, output *DeregisterTaskFromMaintenanceWindowOutput) { op := &request.Operation{ Name: opDeregisterTaskFromMaintenanceWindow, @@ -1973,7 +1972,7 @@ func (c *SSM) DeregisterTaskFromMaintenanceWindowRequest(input *DeregisterTaskFr // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTaskFromMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTaskFromMaintenanceWindow func (c *SSM) DeregisterTaskFromMaintenanceWindow(input *DeregisterTaskFromMaintenanceWindowInput) (*DeregisterTaskFromMaintenanceWindowOutput, error) { req, out := c.DeregisterTaskFromMaintenanceWindowRequest(input) return out, req.Send() @@ -2020,7 +2019,7 @@ const opDescribeActivations = "DescribeActivations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivations +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivations func (c *SSM) DescribeActivationsRequest(input *DescribeActivationsInput) (req *request.Request, output *DescribeActivationsOutput) { op := &request.Operation{ Name: opDescribeActivations, @@ -2067,7 +2066,7 @@ func (c *SSM) DescribeActivationsRequest(input *DescribeActivationsInput) (req * // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivations +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivations func (c *SSM) DescribeActivations(input *DescribeActivationsInput) (*DescribeActivationsOutput, error) { req, out := c.DescribeActivationsRequest(input) return out, req.Send() @@ -2164,7 +2163,7 @@ const opDescribeAssociation = "DescribeAssociation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation func (c *SSM) DescribeAssociationRequest(input *DescribeAssociationInput) (req *request.Request, output *DescribeAssociationOutput) { op := &request.Operation{ Name: opDescribeAssociation, @@ -2183,8 +2182,11 @@ func (c *SSM) DescribeAssociationRequest(input *DescribeAssociationInput) (req * // DescribeAssociation API operation for Amazon Simple Systems Manager (SSM). // -// Describes the associations for the specified Systems Manager document or -// instance. +// Describes the association for the specified target or instance. If you created +// the association by using the Targets parameter, then you must retrieve the +// association by using the association ID. If you created the association by +// specifying an instance ID and a Systems Manager document, then you retrieve +// the association by specifying the document name and the instance ID. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2223,7 +2225,7 @@ func (c *SSM) DescribeAssociationRequest(input *DescribeAssociationInput) (req * // The instance is not in valid state. Valid states are: Running, Pending, Stopped, // Stopping. Invalid states are: Shutting-down and Terminated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation func (c *SSM) DescribeAssociation(input *DescribeAssociationInput) (*DescribeAssociationOutput, error) { req, out := c.DescribeAssociationRequest(input) return out, req.Send() @@ -2270,7 +2272,7 @@ const opDescribeAutomationExecutions = "DescribeAutomationExecutions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutions func (c *SSM) DescribeAutomationExecutionsRequest(input *DescribeAutomationExecutionsInput) (req *request.Request, output *DescribeAutomationExecutionsOutput) { op := &request.Operation{ Name: opDescribeAutomationExecutions, @@ -2299,13 +2301,19 @@ func (c *SSM) DescribeAutomationExecutionsRequest(input *DescribeAutomationExecu // API operation DescribeAutomationExecutions for usage and error information. // // Returned Error Codes: +// * ErrCodeInvalidFilterKey "InvalidFilterKey" +// The specified key is not valid. +// +// * ErrCodeInvalidFilterValue "InvalidFilterValue" +// The filter value is not valid. Verify the value and try again. +// // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutions func (c *SSM) DescribeAutomationExecutions(input *DescribeAutomationExecutionsInput) (*DescribeAutomationExecutionsOutput, error) { req, out := c.DescribeAutomationExecutionsRequest(input) return out, req.Send() @@ -2327,6 +2335,99 @@ func (c *SSM) DescribeAutomationExecutionsWithContext(ctx aws.Context, input *De return out, req.Send() } +const opDescribeAutomationStepExecutions = "DescribeAutomationStepExecutions" + +// DescribeAutomationStepExecutionsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeAutomationStepExecutions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeAutomationStepExecutions for more information on using the DescribeAutomationStepExecutions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeAutomationStepExecutionsRequest method. +// req, resp := client.DescribeAutomationStepExecutionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutions +func (c *SSM) DescribeAutomationStepExecutionsRequest(input *DescribeAutomationStepExecutionsInput) (req *request.Request, output *DescribeAutomationStepExecutionsOutput) { + op := &request.Operation{ + Name: opDescribeAutomationStepExecutions, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeAutomationStepExecutionsInput{} + } + + output = &DescribeAutomationStepExecutionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeAutomationStepExecutions API operation for Amazon Simple Systems Manager (SSM). +// +// Information about all active and terminated step executions in an Automation +// workflow. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s +// API operation DescribeAutomationStepExecutions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeAutomationExecutionNotFoundException "AutomationExecutionNotFoundException" +// There is no automation execution information for the requested automation +// execution ID. +// +// * ErrCodeInvalidNextToken "InvalidNextToken" +// The specified token is not valid. +// +// * ErrCodeInvalidFilterKey "InvalidFilterKey" +// The specified key is not valid. +// +// * ErrCodeInvalidFilterValue "InvalidFilterValue" +// The filter value is not valid. Verify the value and try again. +// +// * ErrCodeInternalServerError "InternalServerError" +// An error occurred on the server side. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutions +func (c *SSM) DescribeAutomationStepExecutions(input *DescribeAutomationStepExecutionsInput) (*DescribeAutomationStepExecutionsOutput, error) { + req, out := c.DescribeAutomationStepExecutionsRequest(input) + return out, req.Send() +} + +// DescribeAutomationStepExecutionsWithContext is the same as DescribeAutomationStepExecutions with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeAutomationStepExecutions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SSM) DescribeAutomationStepExecutionsWithContext(ctx aws.Context, input *DescribeAutomationStepExecutionsInput, opts ...request.Option) (*DescribeAutomationStepExecutionsOutput, error) { + req, out := c.DescribeAutomationStepExecutionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeAvailablePatches = "DescribeAvailablePatches" // DescribeAvailablePatchesRequest generates a "aws/request.Request" representing the @@ -2352,7 +2453,7 @@ const opDescribeAvailablePatches = "DescribeAvailablePatches" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAvailablePatches +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAvailablePatches func (c *SSM) DescribeAvailablePatchesRequest(input *DescribeAvailablePatchesInput) (req *request.Request, output *DescribeAvailablePatchesOutput) { op := &request.Operation{ Name: opDescribeAvailablePatches, @@ -2384,7 +2485,7 @@ func (c *SSM) DescribeAvailablePatchesRequest(input *DescribeAvailablePatchesInp // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAvailablePatches +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAvailablePatches func (c *SSM) DescribeAvailablePatches(input *DescribeAvailablePatchesInput) (*DescribeAvailablePatchesOutput, error) { req, out := c.DescribeAvailablePatchesRequest(input) return out, req.Send() @@ -2431,7 +2532,7 @@ const opDescribeDocument = "DescribeDocument" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument func (c *SSM) DescribeDocumentRequest(input *DescribeDocumentInput) (req *request.Request, output *DescribeDocumentOutput) { op := &request.Operation{ Name: opDescribeDocument, @@ -2469,7 +2570,7 @@ func (c *SSM) DescribeDocumentRequest(input *DescribeDocumentInput) (req *reques // * ErrCodeInvalidDocumentVersion "InvalidDocumentVersion" // The document version is not valid or does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument func (c *SSM) DescribeDocument(input *DescribeDocumentInput) (*DescribeDocumentOutput, error) { req, out := c.DescribeDocumentRequest(input) return out, req.Send() @@ -2516,7 +2617,7 @@ const opDescribeDocumentPermission = "DescribeDocumentPermission" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermission func (c *SSM) DescribeDocumentPermissionRequest(input *DescribeDocumentPermissionInput) (req *request.Request, output *DescribeDocumentPermissionOutput) { op := &request.Operation{ Name: opDescribeDocumentPermission, @@ -2557,7 +2658,7 @@ func (c *SSM) DescribeDocumentPermissionRequest(input *DescribeDocumentPermissio // The permission type is not supported. Share is the only supported permission // type. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermission func (c *SSM) DescribeDocumentPermission(input *DescribeDocumentPermissionInput) (*DescribeDocumentPermissionOutput, error) { req, out := c.DescribeDocumentPermissionRequest(input) return out, req.Send() @@ -2604,7 +2705,7 @@ const opDescribeEffectiveInstanceAssociations = "DescribeEffectiveInstanceAssoci // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociations +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociations func (c *SSM) DescribeEffectiveInstanceAssociationsRequest(input *DescribeEffectiveInstanceAssociationsInput) (req *request.Request, output *DescribeEffectiveInstanceAssociationsOutput) { op := &request.Operation{ Name: opDescribeEffectiveInstanceAssociations, @@ -2654,7 +2755,7 @@ func (c *SSM) DescribeEffectiveInstanceAssociationsRequest(input *DescribeEffect // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociations +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociations func (c *SSM) DescribeEffectiveInstanceAssociations(input *DescribeEffectiveInstanceAssociationsInput) (*DescribeEffectiveInstanceAssociationsOutput, error) { req, out := c.DescribeEffectiveInstanceAssociationsRequest(input) return out, req.Send() @@ -2701,7 +2802,7 @@ const opDescribeEffectivePatchesForPatchBaseline = "DescribeEffectivePatchesForP // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectivePatchesForPatchBaseline +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectivePatchesForPatchBaseline func (c *SSM) DescribeEffectivePatchesForPatchBaselineRequest(input *DescribeEffectivePatchesForPatchBaselineInput) (req *request.Request, output *DescribeEffectivePatchesForPatchBaselineOutput) { op := &request.Operation{ Name: opDescribeEffectivePatchesForPatchBaseline, @@ -2748,7 +2849,7 @@ func (c *SSM) DescribeEffectivePatchesForPatchBaselineRequest(input *DescribeEff // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectivePatchesForPatchBaseline +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectivePatchesForPatchBaseline func (c *SSM) DescribeEffectivePatchesForPatchBaseline(input *DescribeEffectivePatchesForPatchBaselineInput) (*DescribeEffectivePatchesForPatchBaselineOutput, error) { req, out := c.DescribeEffectivePatchesForPatchBaselineRequest(input) return out, req.Send() @@ -2795,7 +2896,7 @@ const opDescribeInstanceAssociationsStatus = "DescribeInstanceAssociationsStatus // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatus func (c *SSM) DescribeInstanceAssociationsStatusRequest(input *DescribeInstanceAssociationsStatusInput) (req *request.Request, output *DescribeInstanceAssociationsStatusOutput) { op := &request.Operation{ Name: opDescribeInstanceAssociationsStatus, @@ -2845,7 +2946,7 @@ func (c *SSM) DescribeInstanceAssociationsStatusRequest(input *DescribeInstanceA // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatus func (c *SSM) DescribeInstanceAssociationsStatus(input *DescribeInstanceAssociationsStatusInput) (*DescribeInstanceAssociationsStatusOutput, error) { req, out := c.DescribeInstanceAssociationsStatusRequest(input) return out, req.Send() @@ -2892,7 +2993,7 @@ const opDescribeInstanceInformation = "DescribeInstanceInformation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceInformation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceInformation func (c *SSM) DescribeInstanceInformationRequest(input *DescribeInstanceInformationInput) (req *request.Request, output *DescribeInstanceInformationOutput) { op := &request.Operation{ Name: opDescribeInstanceInformation, @@ -2959,7 +3060,7 @@ func (c *SSM) DescribeInstanceInformationRequest(input *DescribeInstanceInformat // * ErrCodeInvalidFilterKey "InvalidFilterKey" // The specified key is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceInformation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceInformation func (c *SSM) DescribeInstanceInformation(input *DescribeInstanceInformationInput) (*DescribeInstanceInformationOutput, error) { req, out := c.DescribeInstanceInformationRequest(input) return out, req.Send() @@ -3056,7 +3157,7 @@ const opDescribeInstancePatchStates = "DescribeInstancePatchStates" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStates +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStates func (c *SSM) DescribeInstancePatchStatesRequest(input *DescribeInstancePatchStatesInput) (req *request.Request, output *DescribeInstancePatchStatesOutput) { op := &request.Operation{ Name: opDescribeInstancePatchStates, @@ -3091,7 +3192,7 @@ func (c *SSM) DescribeInstancePatchStatesRequest(input *DescribeInstancePatchSta // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStates +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStates func (c *SSM) DescribeInstancePatchStates(input *DescribeInstancePatchStatesInput) (*DescribeInstancePatchStatesOutput, error) { req, out := c.DescribeInstancePatchStatesRequest(input) return out, req.Send() @@ -3138,7 +3239,7 @@ const opDescribeInstancePatchStatesForPatchGroup = "DescribeInstancePatchStatesF // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroup func (c *SSM) DescribeInstancePatchStatesForPatchGroupRequest(input *DescribeInstancePatchStatesForPatchGroupInput) (req *request.Request, output *DescribeInstancePatchStatesForPatchGroupOutput) { op := &request.Operation{ Name: opDescribeInstancePatchStatesForPatchGroup, @@ -3178,7 +3279,7 @@ func (c *SSM) DescribeInstancePatchStatesForPatchGroupRequest(input *DescribeIns // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroup func (c *SSM) DescribeInstancePatchStatesForPatchGroup(input *DescribeInstancePatchStatesForPatchGroupInput) (*DescribeInstancePatchStatesForPatchGroupOutput, error) { req, out := c.DescribeInstancePatchStatesForPatchGroupRequest(input) return out, req.Send() @@ -3225,7 +3326,7 @@ const opDescribeInstancePatches = "DescribeInstancePatches" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatches +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatches func (c *SSM) DescribeInstancePatchesRequest(input *DescribeInstancePatchesInput) (req *request.Request, output *DescribeInstancePatchesOutput) { op := &request.Operation{ Name: opDescribeInstancePatches, @@ -3280,7 +3381,7 @@ func (c *SSM) DescribeInstancePatchesRequest(input *DescribeInstancePatchesInput // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatches +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatches func (c *SSM) DescribeInstancePatches(input *DescribeInstancePatchesInput) (*DescribeInstancePatchesOutput, error) { req, out := c.DescribeInstancePatchesRequest(input) return out, req.Send() @@ -3327,7 +3428,7 @@ const opDescribeMaintenanceWindowExecutionTaskInvocations = "DescribeMaintenance // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTaskInvocations +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTaskInvocations func (c *SSM) DescribeMaintenanceWindowExecutionTaskInvocationsRequest(input *DescribeMaintenanceWindowExecutionTaskInvocationsInput) (req *request.Request, output *DescribeMaintenanceWindowExecutionTaskInvocationsOutput) { op := &request.Operation{ Name: opDescribeMaintenanceWindowExecutionTaskInvocations, @@ -3364,7 +3465,7 @@ func (c *SSM) DescribeMaintenanceWindowExecutionTaskInvocationsRequest(input *De // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTaskInvocations +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTaskInvocations func (c *SSM) DescribeMaintenanceWindowExecutionTaskInvocations(input *DescribeMaintenanceWindowExecutionTaskInvocationsInput) (*DescribeMaintenanceWindowExecutionTaskInvocationsOutput, error) { req, out := c.DescribeMaintenanceWindowExecutionTaskInvocationsRequest(input) return out, req.Send() @@ -3411,7 +3512,7 @@ const opDescribeMaintenanceWindowExecutionTasks = "DescribeMaintenanceWindowExec // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasks func (c *SSM) DescribeMaintenanceWindowExecutionTasksRequest(input *DescribeMaintenanceWindowExecutionTasksInput) (req *request.Request, output *DescribeMaintenanceWindowExecutionTasksOutput) { op := &request.Operation{ Name: opDescribeMaintenanceWindowExecutionTasks, @@ -3447,7 +3548,7 @@ func (c *SSM) DescribeMaintenanceWindowExecutionTasksRequest(input *DescribeMain // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasks func (c *SSM) DescribeMaintenanceWindowExecutionTasks(input *DescribeMaintenanceWindowExecutionTasksInput) (*DescribeMaintenanceWindowExecutionTasksOutput, error) { req, out := c.DescribeMaintenanceWindowExecutionTasksRequest(input) return out, req.Send() @@ -3494,7 +3595,7 @@ const opDescribeMaintenanceWindowExecutions = "DescribeMaintenanceWindowExecutio // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutions func (c *SSM) DescribeMaintenanceWindowExecutionsRequest(input *DescribeMaintenanceWindowExecutionsInput) (req *request.Request, output *DescribeMaintenanceWindowExecutionsOutput) { op := &request.Operation{ Name: opDescribeMaintenanceWindowExecutions, @@ -3528,7 +3629,7 @@ func (c *SSM) DescribeMaintenanceWindowExecutionsRequest(input *DescribeMaintena // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutions func (c *SSM) DescribeMaintenanceWindowExecutions(input *DescribeMaintenanceWindowExecutionsInput) (*DescribeMaintenanceWindowExecutionsOutput, error) { req, out := c.DescribeMaintenanceWindowExecutionsRequest(input) return out, req.Send() @@ -3575,7 +3676,7 @@ const opDescribeMaintenanceWindowTargets = "DescribeMaintenanceWindowTargets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTargets func (c *SSM) DescribeMaintenanceWindowTargetsRequest(input *DescribeMaintenanceWindowTargetsInput) (req *request.Request, output *DescribeMaintenanceWindowTargetsOutput) { op := &request.Operation{ Name: opDescribeMaintenanceWindowTargets, @@ -3611,7 +3712,7 @@ func (c *SSM) DescribeMaintenanceWindowTargetsRequest(input *DescribeMaintenance // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTargets +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTargets func (c *SSM) DescribeMaintenanceWindowTargets(input *DescribeMaintenanceWindowTargetsInput) (*DescribeMaintenanceWindowTargetsOutput, error) { req, out := c.DescribeMaintenanceWindowTargetsRequest(input) return out, req.Send() @@ -3658,7 +3759,7 @@ const opDescribeMaintenanceWindowTasks = "DescribeMaintenanceWindowTasks" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasks func (c *SSM) DescribeMaintenanceWindowTasksRequest(input *DescribeMaintenanceWindowTasksInput) (req *request.Request, output *DescribeMaintenanceWindowTasksOutput) { op := &request.Operation{ Name: opDescribeMaintenanceWindowTasks, @@ -3694,7 +3795,7 @@ func (c *SSM) DescribeMaintenanceWindowTasksRequest(input *DescribeMaintenanceWi // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasks +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasks func (c *SSM) DescribeMaintenanceWindowTasks(input *DescribeMaintenanceWindowTasksInput) (*DescribeMaintenanceWindowTasksOutput, error) { req, out := c.DescribeMaintenanceWindowTasksRequest(input) return out, req.Send() @@ -3741,7 +3842,7 @@ const opDescribeMaintenanceWindows = "DescribeMaintenanceWindows" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindows +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindows func (c *SSM) DescribeMaintenanceWindowsRequest(input *DescribeMaintenanceWindowsInput) (req *request.Request, output *DescribeMaintenanceWindowsOutput) { op := &request.Operation{ Name: opDescribeMaintenanceWindows, @@ -3773,7 +3874,7 @@ func (c *SSM) DescribeMaintenanceWindowsRequest(input *DescribeMaintenanceWindow // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindows +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindows func (c *SSM) DescribeMaintenanceWindows(input *DescribeMaintenanceWindowsInput) (*DescribeMaintenanceWindowsOutput, error) { req, out := c.DescribeMaintenanceWindowsRequest(input) return out, req.Send() @@ -3820,7 +3921,7 @@ const opDescribeParameters = "DescribeParameters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParameters func (c *SSM) DescribeParametersRequest(input *DescribeParametersInput) (req *request.Request, output *DescribeParametersOutput) { op := &request.Operation{ Name: opDescribeParameters, @@ -3879,7 +3980,7 @@ func (c *SSM) DescribeParametersRequest(input *DescribeParametersInput) (req *re // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParameters func (c *SSM) DescribeParameters(input *DescribeParametersInput) (*DescribeParametersOutput, error) { req, out := c.DescribeParametersRequest(input) return out, req.Send() @@ -3976,7 +4077,7 @@ const opDescribePatchBaselines = "DescribePatchBaselines" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchBaselines +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchBaselines func (c *SSM) DescribePatchBaselinesRequest(input *DescribePatchBaselinesInput) (req *request.Request, output *DescribePatchBaselinesOutput) { op := &request.Operation{ Name: opDescribePatchBaselines, @@ -4008,7 +4109,7 @@ func (c *SSM) DescribePatchBaselinesRequest(input *DescribePatchBaselinesInput) // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchBaselines +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchBaselines func (c *SSM) DescribePatchBaselines(input *DescribePatchBaselinesInput) (*DescribePatchBaselinesOutput, error) { req, out := c.DescribePatchBaselinesRequest(input) return out, req.Send() @@ -4055,7 +4156,7 @@ const opDescribePatchGroupState = "DescribePatchGroupState" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupState +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupState func (c *SSM) DescribePatchGroupStateRequest(input *DescribePatchGroupStateInput) (req *request.Request, output *DescribePatchGroupStateOutput) { op := &request.Operation{ Name: opDescribePatchGroupState, @@ -4090,7 +4191,7 @@ func (c *SSM) DescribePatchGroupStateRequest(input *DescribePatchGroupStateInput // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupState +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupState func (c *SSM) DescribePatchGroupState(input *DescribePatchGroupStateInput) (*DescribePatchGroupStateOutput, error) { req, out := c.DescribePatchGroupStateRequest(input) return out, req.Send() @@ -4137,7 +4238,7 @@ const opDescribePatchGroups = "DescribePatchGroups" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroups func (c *SSM) DescribePatchGroupsRequest(input *DescribePatchGroupsInput) (req *request.Request, output *DescribePatchGroupsOutput) { op := &request.Operation{ Name: opDescribePatchGroups, @@ -4169,7 +4270,7 @@ func (c *SSM) DescribePatchGroupsRequest(input *DescribePatchGroupsInput) (req * // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroups +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroups func (c *SSM) DescribePatchGroups(input *DescribePatchGroupsInput) (*DescribePatchGroupsOutput, error) { req, out := c.DescribePatchGroupsRequest(input) return out, req.Send() @@ -4216,7 +4317,7 @@ const opGetAutomationExecution = "GetAutomationExecution" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecution func (c *SSM) GetAutomationExecutionRequest(input *GetAutomationExecutionInput) (req *request.Request, output *GetAutomationExecutionOutput) { op := &request.Operation{ Name: opGetAutomationExecution, @@ -4252,7 +4353,7 @@ func (c *SSM) GetAutomationExecutionRequest(input *GetAutomationExecutionInput) // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecution func (c *SSM) GetAutomationExecution(input *GetAutomationExecutionInput) (*GetAutomationExecutionOutput, error) { req, out := c.GetAutomationExecutionRequest(input) return out, req.Send() @@ -4299,7 +4400,7 @@ const opGetCommandInvocation = "GetCommandInvocation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocation func (c *SSM) GetCommandInvocationRequest(input *GetCommandInvocationInput) (req *request.Request, output *GetCommandInvocationOutput) { op := &request.Operation{ Name: opGetCommandInvocation, @@ -4356,7 +4457,7 @@ func (c *SSM) GetCommandInvocationRequest(input *GetCommandInvocationInput) (req // The command ID and instance ID you specified did not match any invocations. // Verify the command ID adn the instance ID and try again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocation func (c *SSM) GetCommandInvocation(input *GetCommandInvocationInput) (*GetCommandInvocationOutput, error) { req, out := c.GetCommandInvocationRequest(input) return out, req.Send() @@ -4403,7 +4504,7 @@ const opGetDefaultPatchBaseline = "GetDefaultPatchBaseline" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline func (c *SSM) GetDefaultPatchBaselineRequest(input *GetDefaultPatchBaselineInput) (req *request.Request, output *GetDefaultPatchBaselineOutput) { op := &request.Operation{ Name: opGetDefaultPatchBaseline, @@ -4437,7 +4538,7 @@ func (c *SSM) GetDefaultPatchBaselineRequest(input *GetDefaultPatchBaselineInput // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline func (c *SSM) GetDefaultPatchBaseline(input *GetDefaultPatchBaselineInput) (*GetDefaultPatchBaselineOutput, error) { req, out := c.GetDefaultPatchBaselineRequest(input) return out, req.Send() @@ -4484,7 +4585,7 @@ const opGetDeployablePatchSnapshotForInstance = "GetDeployablePatchSnapshotForIn // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstance func (c *SSM) GetDeployablePatchSnapshotForInstanceRequest(input *GetDeployablePatchSnapshotForInstanceInput) (req *request.Request, output *GetDeployablePatchSnapshotForInstanceOutput) { op := &request.Operation{ Name: opGetDeployablePatchSnapshotForInstance, @@ -4522,7 +4623,7 @@ func (c *SSM) GetDeployablePatchSnapshotForInstanceRequest(input *GetDeployableP // not supported for the operating system. Valid operating systems include: // Windows, AmazonLinux, RedhatEnterpriseLinux, and Ubuntu. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstance +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstance func (c *SSM) GetDeployablePatchSnapshotForInstance(input *GetDeployablePatchSnapshotForInstanceInput) (*GetDeployablePatchSnapshotForInstanceOutput, error) { req, out := c.GetDeployablePatchSnapshotForInstanceRequest(input) return out, req.Send() @@ -4569,7 +4670,7 @@ const opGetDocument = "GetDocument" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocument +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocument func (c *SSM) GetDocumentRequest(input *GetDocumentInput) (req *request.Request, output *GetDocumentOutput) { op := &request.Operation{ Name: opGetDocument, @@ -4607,7 +4708,7 @@ func (c *SSM) GetDocumentRequest(input *GetDocumentInput) (req *request.Request, // * ErrCodeInvalidDocumentVersion "InvalidDocumentVersion" // The document version is not valid or does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocument +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocument func (c *SSM) GetDocument(input *GetDocumentInput) (*GetDocumentOutput, error) { req, out := c.GetDocumentRequest(input) return out, req.Send() @@ -4654,7 +4755,7 @@ const opGetInventory = "GetInventory" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventory func (c *SSM) GetInventoryRequest(input *GetInventoryInput) (req *request.Request, output *GetInventoryOutput) { op := &request.Operation{ Name: opGetInventory, @@ -4699,7 +4800,7 @@ func (c *SSM) GetInventoryRequest(input *GetInventoryInput) (req *request.Reques // * ErrCodeInvalidResultAttributeException "InvalidResultAttributeException" // The specified inventory item result attribute is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventory func (c *SSM) GetInventory(input *GetInventoryInput) (*GetInventoryOutput, error) { req, out := c.GetInventoryRequest(input) return out, req.Send() @@ -4746,7 +4847,7 @@ const opGetInventorySchema = "GetInventorySchema" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchema +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchema func (c *SSM) GetInventorySchemaRequest(input *GetInventorySchemaInput) (req *request.Request, output *GetInventorySchemaOutput) { op := &request.Operation{ Name: opGetInventorySchema, @@ -4785,7 +4886,7 @@ func (c *SSM) GetInventorySchemaRequest(input *GetInventorySchemaInput) (req *re // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchema +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchema func (c *SSM) GetInventorySchema(input *GetInventorySchemaInput) (*GetInventorySchemaOutput, error) { req, out := c.GetInventorySchemaRequest(input) return out, req.Send() @@ -4832,7 +4933,7 @@ const opGetMaintenanceWindow = "GetMaintenanceWindow" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindow func (c *SSM) GetMaintenanceWindowRequest(input *GetMaintenanceWindowInput) (req *request.Request, output *GetMaintenanceWindowOutput) { op := &request.Operation{ Name: opGetMaintenanceWindow, @@ -4868,7 +4969,7 @@ func (c *SSM) GetMaintenanceWindowRequest(input *GetMaintenanceWindowInput) (req // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindow func (c *SSM) GetMaintenanceWindow(input *GetMaintenanceWindowInput) (*GetMaintenanceWindowOutput, error) { req, out := c.GetMaintenanceWindowRequest(input) return out, req.Send() @@ -4915,7 +5016,7 @@ const opGetMaintenanceWindowExecution = "GetMaintenanceWindowExecution" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecution func (c *SSM) GetMaintenanceWindowExecutionRequest(input *GetMaintenanceWindowExecutionInput) (req *request.Request, output *GetMaintenanceWindowExecutionOutput) { op := &request.Operation{ Name: opGetMaintenanceWindowExecution, @@ -4952,7 +5053,7 @@ func (c *SSM) GetMaintenanceWindowExecutionRequest(input *GetMaintenanceWindowEx // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecution func (c *SSM) GetMaintenanceWindowExecution(input *GetMaintenanceWindowExecutionInput) (*GetMaintenanceWindowExecutionOutput, error) { req, out := c.GetMaintenanceWindowExecutionRequest(input) return out, req.Send() @@ -4999,7 +5100,7 @@ const opGetMaintenanceWindowExecutionTask = "GetMaintenanceWindowExecutionTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTask func (c *SSM) GetMaintenanceWindowExecutionTaskRequest(input *GetMaintenanceWindowExecutionTaskInput) (req *request.Request, output *GetMaintenanceWindowExecutionTaskOutput) { op := &request.Operation{ Name: opGetMaintenanceWindowExecutionTask, @@ -5036,7 +5137,7 @@ func (c *SSM) GetMaintenanceWindowExecutionTaskRequest(input *GetMaintenanceWind // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTask func (c *SSM) GetMaintenanceWindowExecutionTask(input *GetMaintenanceWindowExecutionTaskInput) (*GetMaintenanceWindowExecutionTaskOutput, error) { req, out := c.GetMaintenanceWindowExecutionTaskRequest(input) return out, req.Send() @@ -5083,7 +5184,7 @@ const opGetMaintenanceWindowExecutionTaskInvocation = "GetMaintenanceWindowExecu // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocation func (c *SSM) GetMaintenanceWindowExecutionTaskInvocationRequest(input *GetMaintenanceWindowExecutionTaskInvocationInput) (req *request.Request, output *GetMaintenanceWindowExecutionTaskInvocationOutput) { op := &request.Operation{ Name: opGetMaintenanceWindowExecutionTaskInvocation, @@ -5120,7 +5221,7 @@ func (c *SSM) GetMaintenanceWindowExecutionTaskInvocationRequest(input *GetMaint // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocation func (c *SSM) GetMaintenanceWindowExecutionTaskInvocation(input *GetMaintenanceWindowExecutionTaskInvocationInput) (*GetMaintenanceWindowExecutionTaskInvocationOutput, error) { req, out := c.GetMaintenanceWindowExecutionTaskInvocationRequest(input) return out, req.Send() @@ -5167,7 +5268,7 @@ const opGetMaintenanceWindowTask = "GetMaintenanceWindowTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTask func (c *SSM) GetMaintenanceWindowTaskRequest(input *GetMaintenanceWindowTaskInput) (req *request.Request, output *GetMaintenanceWindowTaskOutput) { op := &request.Operation{ Name: opGetMaintenanceWindowTask, @@ -5203,7 +5304,7 @@ func (c *SSM) GetMaintenanceWindowTaskRequest(input *GetMaintenanceWindowTaskInp // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTask func (c *SSM) GetMaintenanceWindowTask(input *GetMaintenanceWindowTaskInput) (*GetMaintenanceWindowTaskOutput, error) { req, out := c.GetMaintenanceWindowTaskRequest(input) return out, req.Send() @@ -5250,7 +5351,7 @@ const opGetParameter = "GetParameter" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameter func (c *SSM) GetParameterRequest(input *GetParameterInput) (req *request.Request, output *GetParameterOutput) { op := &request.Operation{ Name: opGetParameter, @@ -5292,7 +5393,7 @@ func (c *SSM) GetParameterRequest(input *GetParameterInput) (req *request.Reques // The specified parameter version was not found. Verify the parameter name // and version, and try again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameter func (c *SSM) GetParameter(input *GetParameterInput) (*GetParameterOutput, error) { req, out := c.GetParameterRequest(input) return out, req.Send() @@ -5339,7 +5440,7 @@ const opGetParameterHistory = "GetParameterHistory" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistory func (c *SSM) GetParameterHistoryRequest(input *GetParameterHistoryInput) (req *request.Request, output *GetParameterHistoryOutput) { op := &request.Operation{ Name: opGetParameterHistory, @@ -5386,7 +5487,7 @@ func (c *SSM) GetParameterHistoryRequest(input *GetParameterHistoryInput) (req * // * ErrCodeInvalidKeyId "InvalidKeyId" // The query key ID is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistory func (c *SSM) GetParameterHistory(input *GetParameterHistoryInput) (*GetParameterHistoryOutput, error) { req, out := c.GetParameterHistoryRequest(input) return out, req.Send() @@ -5483,7 +5584,7 @@ const opGetParameters = "GetParameters" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameters func (c *SSM) GetParametersRequest(input *GetParametersInput) (req *request.Request, output *GetParametersOutput) { op := &request.Operation{ Name: opGetParameters, @@ -5518,7 +5619,7 @@ func (c *SSM) GetParametersRequest(input *GetParametersInput) (req *request.Requ // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameters func (c *SSM) GetParameters(input *GetParametersInput) (*GetParametersOutput, error) { req, out := c.GetParametersRequest(input) return out, req.Send() @@ -5565,7 +5666,7 @@ const opGetParametersByPath = "GetParametersByPath" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPath +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPath func (c *SSM) GetParametersByPathRequest(input *GetParametersByPathInput) (req *request.Request, output *GetParametersByPathOutput) { op := &request.Operation{ Name: opGetParametersByPath, @@ -5628,7 +5729,7 @@ func (c *SSM) GetParametersByPathRequest(input *GetParametersByPathInput) (req * // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPath +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPath func (c *SSM) GetParametersByPath(input *GetParametersByPathInput) (*GetParametersByPathOutput, error) { req, out := c.GetParametersByPathRequest(input) return out, req.Send() @@ -5725,7 +5826,7 @@ const opGetPatchBaseline = "GetPatchBaseline" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaseline +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaseline func (c *SSM) GetPatchBaselineRequest(input *GetPatchBaselineInput) (req *request.Request, output *GetPatchBaselineOutput) { op := &request.Operation{ Name: opGetPatchBaseline, @@ -5765,7 +5866,7 @@ func (c *SSM) GetPatchBaselineRequest(input *GetPatchBaselineInput) (req *reques // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaseline +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaseline func (c *SSM) GetPatchBaseline(input *GetPatchBaselineInput) (*GetPatchBaselineOutput, error) { req, out := c.GetPatchBaselineRequest(input) return out, req.Send() @@ -5812,7 +5913,7 @@ const opGetPatchBaselineForPatchGroup = "GetPatchBaselineForPatchGroup" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup func (c *SSM) GetPatchBaselineForPatchGroupRequest(input *GetPatchBaselineForPatchGroupInput) (req *request.Request, output *GetPatchBaselineForPatchGroupOutput) { op := &request.Operation{ Name: opGetPatchBaselineForPatchGroup, @@ -5845,7 +5946,7 @@ func (c *SSM) GetPatchBaselineForPatchGroupRequest(input *GetPatchBaselineForPat // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup func (c *SSM) GetPatchBaselineForPatchGroup(input *GetPatchBaselineForPatchGroupInput) (*GetPatchBaselineForPatchGroupOutput, error) { req, out := c.GetPatchBaselineForPatchGroupRequest(input) return out, req.Send() @@ -5892,7 +5993,7 @@ const opListAssociationVersions = "ListAssociationVersions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions func (c *SSM) ListAssociationVersionsRequest(input *ListAssociationVersionsInput) (req *request.Request, output *ListAssociationVersionsOutput) { op := &request.Operation{ Name: opListAssociationVersions, @@ -5930,7 +6031,7 @@ func (c *SSM) ListAssociationVersionsRequest(input *ListAssociationVersionsInput // * ErrCodeAssociationDoesNotExist "AssociationDoesNotExist" // The specified association does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions func (c *SSM) ListAssociationVersions(input *ListAssociationVersionsInput) (*ListAssociationVersionsOutput, error) { req, out := c.ListAssociationVersionsRequest(input) return out, req.Send() @@ -5977,7 +6078,7 @@ const opListAssociations = "ListAssociations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations func (c *SSM) ListAssociationsRequest(input *ListAssociationsInput) (req *request.Request, output *ListAssociationsOutput) { op := &request.Operation{ Name: opListAssociations, @@ -6018,7 +6119,7 @@ func (c *SSM) ListAssociationsRequest(input *ListAssociationsInput) (req *reques // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations func (c *SSM) ListAssociations(input *ListAssociationsInput) (*ListAssociationsOutput, error) { req, out := c.ListAssociationsRequest(input) return out, req.Send() @@ -6115,7 +6216,7 @@ const opListCommandInvocations = "ListCommandInvocations" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocations +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocations func (c *SSM) ListCommandInvocationsRequest(input *ListCommandInvocationsInput) (req *request.Request, output *ListCommandInvocationsOutput) { op := &request.Operation{ Name: opListCommandInvocations, @@ -6180,7 +6281,7 @@ func (c *SSM) ListCommandInvocationsRequest(input *ListCommandInvocationsInput) // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocations +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocations func (c *SSM) ListCommandInvocations(input *ListCommandInvocationsInput) (*ListCommandInvocationsOutput, error) { req, out := c.ListCommandInvocationsRequest(input) return out, req.Send() @@ -6277,7 +6378,7 @@ const opListCommands = "ListCommands" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommands +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommands func (c *SSM) ListCommandsRequest(input *ListCommandsInput) (req *request.Request, output *ListCommandsOutput) { op := &request.Operation{ Name: opListCommands, @@ -6338,7 +6439,7 @@ func (c *SSM) ListCommandsRequest(input *ListCommandsInput) (req *request.Reques // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommands +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommands func (c *SSM) ListCommands(input *ListCommandsInput) (*ListCommandsOutput, error) { req, out := c.ListCommandsRequest(input) return out, req.Send() @@ -6435,7 +6536,7 @@ const opListComplianceItems = "ListComplianceItems" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItems +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItems func (c *SSM) ListComplianceItemsRequest(input *ListComplianceItemsInput) (req *request.Request, output *ListComplianceItemsOutput) { op := &request.Operation{ Name: opListComplianceItems, @@ -6485,7 +6586,7 @@ func (c *SSM) ListComplianceItemsRequest(input *ListComplianceItemsInput) (req * // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItems +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItems func (c *SSM) ListComplianceItems(input *ListComplianceItemsInput) (*ListComplianceItemsOutput, error) { req, out := c.ListComplianceItemsRequest(input) return out, req.Send() @@ -6532,7 +6633,7 @@ const opListComplianceSummaries = "ListComplianceSummaries" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummaries +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummaries func (c *SSM) ListComplianceSummariesRequest(input *ListComplianceSummariesInput) (req *request.Request, output *ListComplianceSummariesOutput) { op := &request.Operation{ Name: opListComplianceSummaries, @@ -6573,7 +6674,7 @@ func (c *SSM) ListComplianceSummariesRequest(input *ListComplianceSummariesInput // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummaries +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummaries func (c *SSM) ListComplianceSummaries(input *ListComplianceSummariesInput) (*ListComplianceSummariesOutput, error) { req, out := c.ListComplianceSummariesRequest(input) return out, req.Send() @@ -6620,7 +6721,7 @@ const opListDocumentVersions = "ListDocumentVersions" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions func (c *SSM) ListDocumentVersionsRequest(input *ListDocumentVersionsInput) (req *request.Request, output *ListDocumentVersionsOutput) { op := &request.Operation{ Name: opListDocumentVersions, @@ -6658,7 +6759,7 @@ func (c *SSM) ListDocumentVersionsRequest(input *ListDocumentVersionsInput) (req // * ErrCodeInvalidDocument "InvalidDocument" // The specified document does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions func (c *SSM) ListDocumentVersions(input *ListDocumentVersionsInput) (*ListDocumentVersionsOutput, error) { req, out := c.ListDocumentVersionsRequest(input) return out, req.Send() @@ -6705,7 +6806,7 @@ const opListDocuments = "ListDocuments" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments func (c *SSM) ListDocumentsRequest(input *ListDocumentsInput) (req *request.Request, output *ListDocumentsOutput) { op := &request.Operation{ Name: opListDocuments, @@ -6749,7 +6850,7 @@ func (c *SSM) ListDocumentsRequest(input *ListDocumentsInput) (req *request.Requ // * ErrCodeInvalidFilterKey "InvalidFilterKey" // The specified key is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments func (c *SSM) ListDocuments(input *ListDocumentsInput) (*ListDocumentsOutput, error) { req, out := c.ListDocumentsRequest(input) return out, req.Send() @@ -6846,7 +6947,7 @@ const opListInventoryEntries = "ListInventoryEntries" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListInventoryEntries +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListInventoryEntries func (c *SSM) ListInventoryEntriesRequest(input *ListInventoryEntriesInput) (req *request.Request, output *ListInventoryEntriesOutput) { op := &request.Operation{ Name: opListInventoryEntries, @@ -6903,7 +7004,7 @@ func (c *SSM) ListInventoryEntriesRequest(input *ListInventoryEntriesInput) (req // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListInventoryEntries +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListInventoryEntries func (c *SSM) ListInventoryEntries(input *ListInventoryEntriesInput) (*ListInventoryEntriesOutput, error) { req, out := c.ListInventoryEntriesRequest(input) return out, req.Send() @@ -6950,7 +7051,7 @@ const opListResourceComplianceSummaries = "ListResourceComplianceSummaries" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummaries +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummaries func (c *SSM) ListResourceComplianceSummariesRequest(input *ListResourceComplianceSummariesInput) (req *request.Request, output *ListResourceComplianceSummariesOutput) { op := &request.Operation{ Name: opListResourceComplianceSummaries, @@ -6991,7 +7092,7 @@ func (c *SSM) ListResourceComplianceSummariesRequest(input *ListResourceComplian // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummaries +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummaries func (c *SSM) ListResourceComplianceSummaries(input *ListResourceComplianceSummariesInput) (*ListResourceComplianceSummariesOutput, error) { req, out := c.ListResourceComplianceSummariesRequest(input) return out, req.Send() @@ -7038,7 +7139,7 @@ const opListResourceDataSync = "ListResourceDataSync" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSync +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSync func (c *SSM) ListResourceDataSyncRequest(input *ListResourceDataSyncInput) (req *request.Request, output *ListResourceDataSyncOutput) { op := &request.Operation{ Name: opListResourceDataSync, @@ -7082,7 +7183,7 @@ func (c *SSM) ListResourceDataSyncRequest(input *ListResourceDataSyncInput) (req // * ErrCodeInvalidNextToken "InvalidNextToken" // The specified token is not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSync +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSync func (c *SSM) ListResourceDataSync(input *ListResourceDataSyncInput) (*ListResourceDataSyncOutput, error) { req, out := c.ListResourceDataSyncRequest(input) return out, req.Send() @@ -7129,7 +7230,7 @@ const opListTagsForResource = "ListTagsForResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListTagsForResource func (c *SSM) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ Name: opListTagsForResource, @@ -7169,7 +7270,7 @@ func (c *SSM) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListTagsForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListTagsForResource func (c *SSM) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { req, out := c.ListTagsForResourceRequest(input) return out, req.Send() @@ -7216,7 +7317,7 @@ const opModifyDocumentPermission = "ModifyDocumentPermission" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermission func (c *SSM) ModifyDocumentPermissionRequest(input *ModifyDocumentPermissionInput) (req *request.Request, output *ModifyDocumentPermissionOutput) { op := &request.Operation{ Name: opModifyDocumentPermission, @@ -7266,7 +7367,7 @@ func (c *SSM) ModifyDocumentPermissionRequest(input *ModifyDocumentPermissionInp // * ErrCodeDocumentLimitExceeded "DocumentLimitExceeded" // You can have at most 200 active Systems Manager documents. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermission +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermission func (c *SSM) ModifyDocumentPermission(input *ModifyDocumentPermissionInput) (*ModifyDocumentPermissionOutput, error) { req, out := c.ModifyDocumentPermissionRequest(input) return out, req.Send() @@ -7313,7 +7414,7 @@ const opPutComplianceItems = "PutComplianceItems" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItems +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItems func (c *SSM) PutComplianceItemsRequest(input *PutComplianceItemsInput) (req *request.Request, output *PutComplianceItemsOutput) { op := &request.Operation{ Name: opPutComplianceItems, @@ -7370,7 +7471,7 @@ func (c *SSM) PutComplianceItemsRequest(input *PutComplianceItemsInput) (req *re // The resource ID is not valid. Verify that you entered the correct ID and // try again. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItems +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItems func (c *SSM) PutComplianceItems(input *PutComplianceItemsInput) (*PutComplianceItemsOutput, error) { req, out := c.PutComplianceItemsRequest(input) return out, req.Send() @@ -7417,7 +7518,7 @@ const opPutInventory = "PutInventory" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventory func (c *SSM) PutInventoryRequest(input *PutInventoryInput) (req *request.Request, output *PutInventoryOutput) { op := &request.Operation{ Name: opPutInventory, @@ -7502,7 +7603,7 @@ func (c *SSM) PutInventoryRequest(input *PutInventoryInput) (req *request.Reques // * ErrCodeSubTypeCountLimitExceededException "SubTypeCountLimitExceededException" // The sub-type count exceeded the limit for the inventory type. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventory func (c *SSM) PutInventory(input *PutInventoryInput) (*PutInventoryOutput, error) { req, out := c.PutInventoryRequest(input) return out, req.Send() @@ -7549,7 +7650,7 @@ const opPutParameter = "PutParameter" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameter func (c *SSM) PutParameterRequest(input *PutParameterInput) (req *request.Request, output *PutParameterOutput) { op := &request.Operation{ Name: opPutParameter, @@ -7619,7 +7720,7 @@ func (c *SSM) PutParameterRequest(input *PutParameterInput) (req *request.Reques // * ErrCodeUnsupportedParameterType "UnsupportedParameterType" // The parameter type is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameter func (c *SSM) PutParameter(input *PutParameterInput) (*PutParameterOutput, error) { req, out := c.PutParameterRequest(input) return out, req.Send() @@ -7666,7 +7767,7 @@ const opRegisterDefaultPatchBaseline = "RegisterDefaultPatchBaseline" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultPatchBaseline +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultPatchBaseline func (c *SSM) RegisterDefaultPatchBaselineRequest(input *RegisterDefaultPatchBaselineInput) (req *request.Request, output *RegisterDefaultPatchBaselineOutput) { op := &request.Operation{ Name: opRegisterDefaultPatchBaseline, @@ -7706,7 +7807,7 @@ func (c *SSM) RegisterDefaultPatchBaselineRequest(input *RegisterDefaultPatchBas // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultPatchBaseline +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultPatchBaseline func (c *SSM) RegisterDefaultPatchBaseline(input *RegisterDefaultPatchBaselineInput) (*RegisterDefaultPatchBaselineOutput, error) { req, out := c.RegisterDefaultPatchBaselineRequest(input) return out, req.Send() @@ -7753,7 +7854,7 @@ const opRegisterPatchBaselineForPatchGroup = "RegisterPatchBaselineForPatchGroup // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterPatchBaselineForPatchGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterPatchBaselineForPatchGroup func (c *SSM) RegisterPatchBaselineForPatchGroupRequest(input *RegisterPatchBaselineForPatchGroupInput) (req *request.Request, output *RegisterPatchBaselineForPatchGroupOutput) { op := &request.Operation{ Name: opRegisterPatchBaselineForPatchGroup, @@ -7801,7 +7902,7 @@ func (c *SSM) RegisterPatchBaselineForPatchGroupRequest(input *RegisterPatchBase // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterPatchBaselineForPatchGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterPatchBaselineForPatchGroup func (c *SSM) RegisterPatchBaselineForPatchGroup(input *RegisterPatchBaselineForPatchGroupInput) (*RegisterPatchBaselineForPatchGroupOutput, error) { req, out := c.RegisterPatchBaselineForPatchGroupRequest(input) return out, req.Send() @@ -7848,7 +7949,7 @@ const opRegisterTargetWithMaintenanceWindow = "RegisterTargetWithMaintenanceWind // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTargetWithMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTargetWithMaintenanceWindow func (c *SSM) RegisterTargetWithMaintenanceWindowRequest(input *RegisterTargetWithMaintenanceWindowInput) (req *request.Request, output *RegisterTargetWithMaintenanceWindowOutput) { op := &request.Operation{ Name: opRegisterTargetWithMaintenanceWindow, @@ -7892,7 +7993,7 @@ func (c *SSM) RegisterTargetWithMaintenanceWindowRequest(input *RegisterTargetWi // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTargetWithMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTargetWithMaintenanceWindow func (c *SSM) RegisterTargetWithMaintenanceWindow(input *RegisterTargetWithMaintenanceWindowInput) (*RegisterTargetWithMaintenanceWindowOutput, error) { req, out := c.RegisterTargetWithMaintenanceWindowRequest(input) return out, req.Send() @@ -7939,7 +8040,7 @@ const opRegisterTaskWithMaintenanceWindow = "RegisterTaskWithMaintenanceWindow" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindow func (c *SSM) RegisterTaskWithMaintenanceWindowRequest(input *RegisterTaskWithMaintenanceWindowInput) (req *request.Request, output *RegisterTaskWithMaintenanceWindowOutput) { op := &request.Operation{ Name: opRegisterTaskWithMaintenanceWindow, @@ -7987,7 +8088,7 @@ func (c *SSM) RegisterTaskWithMaintenanceWindowRequest(input *RegisterTaskWithMa // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindow func (c *SSM) RegisterTaskWithMaintenanceWindow(input *RegisterTaskWithMaintenanceWindowInput) (*RegisterTaskWithMaintenanceWindowOutput, error) { req, out := c.RegisterTaskWithMaintenanceWindowRequest(input) return out, req.Send() @@ -8034,7 +8135,7 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RemoveTagsFromResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RemoveTagsFromResource func (c *SSM) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput) { op := &request.Operation{ Name: opRemoveTagsFromResource, @@ -8074,7 +8175,7 @@ func (c *SSM) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RemoveTagsFromResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RemoveTagsFromResource func (c *SSM) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error) { req, out := c.RemoveTagsFromResourceRequest(input) return out, req.Send() @@ -8121,7 +8222,7 @@ const opSendAutomationSignal = "SendAutomationSignal" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignal +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignal func (c *SSM) SendAutomationSignalRequest(input *SendAutomationSignalInput) (req *request.Request, output *SendAutomationSignalOutput) { op := &request.Operation{ Name: opSendAutomationSignal, @@ -8155,13 +8256,17 @@ func (c *SSM) SendAutomationSignalRequest(input *SendAutomationSignalInput) (req // There is no automation execution information for the requested automation // execution ID. // +// * ErrCodeAutomationStepNotFoundException "AutomationStepNotFoundException" +// The specified step name and execution ID don't exist. Verify the information +// and try again. +// // * ErrCodeInvalidAutomationSignalException "InvalidAutomationSignalException" // The signal is not valid for the current Automation execution. // // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignal +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignal func (c *SSM) SendAutomationSignal(input *SendAutomationSignalInput) (*SendAutomationSignalOutput, error) { req, out := c.SendAutomationSignalRequest(input) return out, req.Send() @@ -8208,7 +8313,7 @@ const opSendCommand = "SendCommand" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommand +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommand func (c *SSM) SendCommandRequest(input *SendCommandInput) (req *request.Request, output *SendCommandOutput) { op := &request.Operation{ Name: opSendCommand, @@ -8281,13 +8386,13 @@ func (c *SSM) SendCommandRequest(input *SendCommandInput) (req *request.Request, // an IAM role for notifications that includes the required trust policy. For // information about configuring the IAM role for Run Command notifications, // see Configuring Amazon SNS Notifications for Run Command (http://docs.aws.amazon.com/systems-manager/latest/userguide/rc-sns-notifications.html) -// in the Amazon EC2 Systems Manager User Guide. +// in the AWS Systems Manager User Guide. // // * ErrCodeInvalidNotificationConfig "InvalidNotificationConfig" // One or more configuration items is not valid. Verify that a valid Amazon // Resource Name (ARN) was provided for an Amazon SNS topic. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommand +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommand func (c *SSM) SendCommand(input *SendCommandInput) (*SendCommandOutput, error) { req, out := c.SendCommandRequest(input) return out, req.Send() @@ -8334,7 +8439,7 @@ const opStartAutomationExecution = "StartAutomationExecution" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecution func (c *SSM) StartAutomationExecutionRequest(input *StartAutomationExecutionInput) (req *request.Request, output *StartAutomationExecutionOutput) { op := &request.Operation{ Name: opStartAutomationExecution, @@ -8382,10 +8487,14 @@ func (c *SSM) StartAutomationExecutionRequest(input *StartAutomationExecutionInp // Error returned when an idempotent operation is retried and the parameters // don't match the original call to the API with the same idempotency token. // +// * ErrCodeInvalidTarget "InvalidTarget" +// The target is not valid or does not exist. It might not be configured for +// EC2 Systems Manager or you might not have permission to perform the operation. +// // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecution func (c *SSM) StartAutomationExecution(input *StartAutomationExecutionInput) (*StartAutomationExecutionOutput, error) { req, out := c.StartAutomationExecutionRequest(input) return out, req.Send() @@ -8432,7 +8541,7 @@ const opStopAutomationExecution = "StopAutomationExecution" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecution func (c *SSM) StopAutomationExecutionRequest(input *StopAutomationExecutionInput) (req *request.Request, output *StopAutomationExecutionOutput) { op := &request.Operation{ Name: opStopAutomationExecution, @@ -8465,10 +8574,13 @@ func (c *SSM) StopAutomationExecutionRequest(input *StopAutomationExecutionInput // There is no automation execution information for the requested automation // execution ID. // +// * ErrCodeInvalidAutomationStatusUpdateException "InvalidAutomationStatusUpdateException" +// The specified update status operation is not valid. +// // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecution func (c *SSM) StopAutomationExecution(input *StopAutomationExecutionInput) (*StopAutomationExecutionOutput, error) { req, out := c.StopAutomationExecutionRequest(input) return out, req.Send() @@ -8515,7 +8627,7 @@ const opUpdateAssociation = "UpdateAssociation" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation func (c *SSM) UpdateAssociationRequest(input *UpdateAssociationInput) (req *request.Request, output *UpdateAssociationOutput) { op := &request.Operation{ Name: opUpdateAssociation, @@ -8588,7 +8700,7 @@ func (c *SSM) UpdateAssociationRequest(input *UpdateAssociationInput) (req *requ // You have reached the maximum number versions allowed for an association. // Each association has a limit of 1,000 versions. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation func (c *SSM) UpdateAssociation(input *UpdateAssociationInput) (*UpdateAssociationOutput, error) { req, out := c.UpdateAssociationRequest(input) return out, req.Send() @@ -8635,7 +8747,7 @@ const opUpdateAssociationStatus = "UpdateAssociationStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus func (c *SSM) UpdateAssociationStatusRequest(input *UpdateAssociationStatusInput) (req *request.Request, output *UpdateAssociationStatusOutput) { op := &request.Operation{ Name: opUpdateAssociationStatus, @@ -8696,7 +8808,7 @@ func (c *SSM) UpdateAssociationStatusRequest(input *UpdateAssociationStatusInput // There are concurrent updates for a resource that supports one update at a // time. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus func (c *SSM) UpdateAssociationStatus(input *UpdateAssociationStatusInput) (*UpdateAssociationStatusOutput, error) { req, out := c.UpdateAssociationStatusRequest(input) return out, req.Send() @@ -8743,7 +8855,7 @@ const opUpdateDocument = "UpdateDocument" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument func (c *SSM) UpdateDocumentRequest(input *UpdateDocumentInput) (req *request.Request, output *UpdateDocumentOutput) { op := &request.Operation{ Name: opUpdateDocument, @@ -8798,7 +8910,7 @@ func (c *SSM) UpdateDocumentRequest(input *UpdateDocumentInput) (req *request.Re // * ErrCodeInvalidDocument "InvalidDocument" // The specified document does not exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument func (c *SSM) UpdateDocument(input *UpdateDocumentInput) (*UpdateDocumentOutput, error) { req, out := c.UpdateDocumentRequest(input) return out, req.Send() @@ -8845,7 +8957,7 @@ const opUpdateDocumentDefaultVersion = "UpdateDocumentDefaultVersion" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentDefaultVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentDefaultVersion func (c *SSM) UpdateDocumentDefaultVersionRequest(input *UpdateDocumentDefaultVersionInput) (req *request.Request, output *UpdateDocumentDefaultVersionOutput) { op := &request.Operation{ Name: opUpdateDocumentDefaultVersion, @@ -8886,7 +8998,7 @@ func (c *SSM) UpdateDocumentDefaultVersionRequest(input *UpdateDocumentDefaultVe // * ErrCodeInvalidDocumentSchemaVersion "InvalidDocumentSchemaVersion" // The version of the document schema is not supported. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentDefaultVersion +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentDefaultVersion func (c *SSM) UpdateDocumentDefaultVersion(input *UpdateDocumentDefaultVersionInput) (*UpdateDocumentDefaultVersionOutput, error) { req, out := c.UpdateDocumentDefaultVersionRequest(input) return out, req.Send() @@ -8933,7 +9045,7 @@ const opUpdateMaintenanceWindow = "UpdateMaintenanceWindow" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindow func (c *SSM) UpdateMaintenanceWindowRequest(input *UpdateMaintenanceWindowInput) (req *request.Request, output *UpdateMaintenanceWindowOutput) { op := &request.Operation{ Name: opUpdateMaintenanceWindow, @@ -8969,7 +9081,7 @@ func (c *SSM) UpdateMaintenanceWindowRequest(input *UpdateMaintenanceWindowInput // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindow func (c *SSM) UpdateMaintenanceWindow(input *UpdateMaintenanceWindowInput) (*UpdateMaintenanceWindowOutput, error) { req, out := c.UpdateMaintenanceWindowRequest(input) return out, req.Send() @@ -9016,7 +9128,7 @@ const opUpdateMaintenanceWindowTarget = "UpdateMaintenanceWindowTarget" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTarget func (c *SSM) UpdateMaintenanceWindowTargetRequest(input *UpdateMaintenanceWindowTargetInput) (req *request.Request, output *UpdateMaintenanceWindowTargetOutput) { op := &request.Operation{ Name: opUpdateMaintenanceWindowTarget, @@ -9068,7 +9180,7 @@ func (c *SSM) UpdateMaintenanceWindowTargetRequest(input *UpdateMaintenanceWindo // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTarget func (c *SSM) UpdateMaintenanceWindowTarget(input *UpdateMaintenanceWindowTargetInput) (*UpdateMaintenanceWindowTargetOutput, error) { req, out := c.UpdateMaintenanceWindowTargetRequest(input) return out, req.Send() @@ -9115,7 +9227,7 @@ const opUpdateMaintenanceWindowTask = "UpdateMaintenanceWindowTask" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTask func (c *SSM) UpdateMaintenanceWindowTaskRequest(input *UpdateMaintenanceWindowTaskInput) (req *request.Request, output *UpdateMaintenanceWindowTaskOutput) { op := &request.Operation{ Name: opUpdateMaintenanceWindowTask, @@ -9170,7 +9282,7 @@ func (c *SSM) UpdateMaintenanceWindowTaskRequest(input *UpdateMaintenanceWindowT // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTask func (c *SSM) UpdateMaintenanceWindowTask(input *UpdateMaintenanceWindowTaskInput) (*UpdateMaintenanceWindowTaskOutput, error) { req, out := c.UpdateMaintenanceWindowTaskRequest(input) return out, req.Send() @@ -9217,7 +9329,7 @@ const opUpdateManagedInstanceRole = "UpdateManagedInstanceRole" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateManagedInstanceRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateManagedInstanceRole func (c *SSM) UpdateManagedInstanceRoleRequest(input *UpdateManagedInstanceRoleInput) (req *request.Request, output *UpdateManagedInstanceRoleOutput) { op := &request.Operation{ Name: opUpdateManagedInstanceRole, @@ -9265,7 +9377,7 @@ func (c *SSM) UpdateManagedInstanceRoleRequest(input *UpdateManagedInstanceRoleI // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateManagedInstanceRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateManagedInstanceRole func (c *SSM) UpdateManagedInstanceRole(input *UpdateManagedInstanceRoleInput) (*UpdateManagedInstanceRoleOutput, error) { req, out := c.UpdateManagedInstanceRoleRequest(input) return out, req.Send() @@ -9312,7 +9424,7 @@ const opUpdatePatchBaseline = "UpdatePatchBaseline" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdatePatchBaseline +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdatePatchBaseline func (c *SSM) UpdatePatchBaselineRequest(input *UpdatePatchBaselineInput) (req *request.Request, output *UpdatePatchBaselineOutput) { op := &request.Operation{ Name: opUpdatePatchBaseline, @@ -9349,7 +9461,7 @@ func (c *SSM) UpdatePatchBaselineRequest(input *UpdatePatchBaselineInput) (req * // * ErrCodeInternalServerError "InternalServerError" // An error occurred on the server side. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdatePatchBaseline +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdatePatchBaseline func (c *SSM) UpdatePatchBaseline(input *UpdatePatchBaselineInput) (*UpdatePatchBaselineOutput, error) { req, out := c.UpdatePatchBaselineRequest(input) return out, req.Send() @@ -9374,7 +9486,7 @@ func (c *SSM) UpdatePatchBaselineWithContext(ctx aws.Context, input *UpdatePatch // An activation registers one or more on-premises servers or virtual machines // (VMs) with AWS so that you can configure those servers or VMs using Run Command. // A server or VM that has been registered with AWS is called a managed instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Activation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Activation type Activation struct { _ struct{} `type:"structure"` @@ -9472,7 +9584,7 @@ func (s *Activation) SetRegistrationsCount(v int64) *Activation { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResourceRequest type AddTagsToResourceInput struct { _ struct{} `type:"structure"` @@ -9556,7 +9668,7 @@ func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResourceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResourceResult type AddTagsToResourceOutput struct { _ struct{} `type:"structure"` } @@ -9572,7 +9684,7 @@ func (s AddTagsToResourceOutput) GoString() string { } // Describes an association of a Systems Manager document and an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Association +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Association type Association struct { _ struct{} `type:"structure"` @@ -9679,7 +9791,7 @@ func (s *Association) SetTargets(v []*Target) *Association { } // Describes the parameters for a document. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription type AssociationDescription struct { _ struct{} `type:"structure"` @@ -9839,7 +9951,7 @@ func (s *AssociationDescription) SetTargets(v []*Target) *AssociationDescription } // Describes a filter. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationFilter type AssociationFilter struct { _ struct{} `type:"structure"` @@ -9896,7 +10008,7 @@ func (s *AssociationFilter) SetValue(v string) *AssociationFilter { } // Information about the association. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationOverview +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationOverview type AssociationOverview struct { _ struct{} `type:"structure"` @@ -9941,7 +10053,7 @@ func (s *AssociationOverview) SetStatus(v string) *AssociationOverview { } // Describes an association status. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationStatus type AssociationStatus struct { _ struct{} `type:"structure"` @@ -10021,7 +10133,7 @@ func (s *AssociationStatus) SetName(v string) *AssociationStatus { } // Information about the association version. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo type AssociationVersionInfo struct { _ struct{} `type:"structure"` @@ -10133,7 +10245,7 @@ func (s *AssociationVersionInfo) SetTargets(v []*Target) *AssociationVersionInfo // Detailed information about the current state of an individual Automation // execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecution type AutomationExecution struct { _ struct{} `type:"structure"` @@ -10143,12 +10255,21 @@ type AutomationExecution struct { // The execution status of the Automation. AutomationExecutionStatus *string `type:"string" enum:"AutomationExecutionStatus"` + // The action of the currently executing step. + CurrentAction *string `type:"string"` + + // The name of the currently executing step. + CurrentStepName *string `type:"string"` + // The name of the Automation document used during the execution. DocumentName *string `type:"string"` // The version of the document to use during execution. DocumentVersion *string `type:"string"` + // The Amazon Resource Name (ARN) of the user who executed the automation. + ExecutedBy *string `type:"string"` + // The time the execution finished. ExecutionEndTime *time.Time `type:"timestamp" timestampFormat:"unix"` @@ -10159,6 +10280,15 @@ type AutomationExecution struct { // Failed. FailureMessage *string `type:"string"` + // The MaxConcurrency value specified by the user when the execution started. + MaxConcurrency *string `min:"1" type:"string"` + + // The MaxErrors value specified by the user when the execution started. + MaxErrors *string `min:"1" type:"string"` + + // The automation execution mode. + Mode *string `type:"string" enum:"ExecutionMode"` + // The list of execution outputs as defined in the automation document. Outputs map[string][]*string `min:"1" type:"map"` @@ -10166,9 +10296,29 @@ type AutomationExecution struct { // StartAutomationExecution. Parameters map[string][]*string `min:"1" type:"map"` + // The AutomationExecutionId of the parent automation. + ParentAutomationExecutionId *string `min:"36" type:"string"` + + // A list of resolved targets in the rate control execution. + ResolvedTargets *ResolvedTargets `type:"structure"` + // A list of details about the current state of all steps that comprise an execution. // An Automation document contains a list of steps that are executed in order. StepExecutions []*StepExecution `type:"list"` + + // A boolean value that indicates if the response contains the full list of + // the Automation step executions. If true, use the DescribeAutomationStepExecutions + // API action to get the full list of step executions. + StepExecutionsTruncated *bool `type:"boolean"` + + // The target of the execution. + Target *string `type:"string"` + + // The parameter name. + TargetParameterName *string `min:"1" type:"string"` + + // The specified targets. + Targets []*Target `type:"list"` } // String returns the string representation @@ -10193,6 +10343,18 @@ func (s *AutomationExecution) SetAutomationExecutionStatus(v string) *Automation return s } +// SetCurrentAction sets the CurrentAction field's value. +func (s *AutomationExecution) SetCurrentAction(v string) *AutomationExecution { + s.CurrentAction = &v + return s +} + +// SetCurrentStepName sets the CurrentStepName field's value. +func (s *AutomationExecution) SetCurrentStepName(v string) *AutomationExecution { + s.CurrentStepName = &v + return s +} + // SetDocumentName sets the DocumentName field's value. func (s *AutomationExecution) SetDocumentName(v string) *AutomationExecution { s.DocumentName = &v @@ -10205,6 +10367,12 @@ func (s *AutomationExecution) SetDocumentVersion(v string) *AutomationExecution return s } +// SetExecutedBy sets the ExecutedBy field's value. +func (s *AutomationExecution) SetExecutedBy(v string) *AutomationExecution { + s.ExecutedBy = &v + return s +} + // SetExecutionEndTime sets the ExecutionEndTime field's value. func (s *AutomationExecution) SetExecutionEndTime(v time.Time) *AutomationExecution { s.ExecutionEndTime = &v @@ -10223,6 +10391,24 @@ func (s *AutomationExecution) SetFailureMessage(v string) *AutomationExecution { return s } +// SetMaxConcurrency sets the MaxConcurrency field's value. +func (s *AutomationExecution) SetMaxConcurrency(v string) *AutomationExecution { + s.MaxConcurrency = &v + return s +} + +// SetMaxErrors sets the MaxErrors field's value. +func (s *AutomationExecution) SetMaxErrors(v string) *AutomationExecution { + s.MaxErrors = &v + return s +} + +// SetMode sets the Mode field's value. +func (s *AutomationExecution) SetMode(v string) *AutomationExecution { + s.Mode = &v + return s +} + // SetOutputs sets the Outputs field's value. func (s *AutomationExecution) SetOutputs(v map[string][]*string) *AutomationExecution { s.Outputs = v @@ -10235,19 +10421,57 @@ func (s *AutomationExecution) SetParameters(v map[string][]*string) *AutomationE return s } +// SetParentAutomationExecutionId sets the ParentAutomationExecutionId field's value. +func (s *AutomationExecution) SetParentAutomationExecutionId(v string) *AutomationExecution { + s.ParentAutomationExecutionId = &v + return s +} + +// SetResolvedTargets sets the ResolvedTargets field's value. +func (s *AutomationExecution) SetResolvedTargets(v *ResolvedTargets) *AutomationExecution { + s.ResolvedTargets = v + return s +} + // SetStepExecutions sets the StepExecutions field's value. func (s *AutomationExecution) SetStepExecutions(v []*StepExecution) *AutomationExecution { s.StepExecutions = v return s } +// SetStepExecutionsTruncated sets the StepExecutionsTruncated field's value. +func (s *AutomationExecution) SetStepExecutionsTruncated(v bool) *AutomationExecution { + s.StepExecutionsTruncated = &v + return s +} + +// SetTarget sets the Target field's value. +func (s *AutomationExecution) SetTarget(v string) *AutomationExecution { + s.Target = &v + return s +} + +// SetTargetParameterName sets the TargetParameterName field's value. +func (s *AutomationExecution) SetTargetParameterName(v string) *AutomationExecution { + s.TargetParameterName = &v + return s +} + +// SetTargets sets the Targets field's value. +func (s *AutomationExecution) SetTargets(v []*Target) *AutomationExecution { + s.Targets = v + return s +} + // A filter used to match specific automation executions. This is used to limit // the scope of Automation execution information returned. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecutionFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecutionFilter type AutomationExecutionFilter struct { _ struct{} `type:"structure"` - // The aspect of the Automation execution information that should be limited. + // One or more keys to limit the results. Valid filter keys include the following: + // DocumentNamePrefix, ExecutionStatus, ExecutionId, ParentExecutionId, CurrentAction, + // StartTimeBefore, StartTimeAfter. // // Key is a required field Key *string `type:"string" required:"true" enum:"AutomationExecutionFilterKey"` @@ -10301,7 +10525,7 @@ func (s *AutomationExecutionFilter) SetValues(v []*string) *AutomationExecutionF } // Details about a specific Automation execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecutionMetadata +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecutionMetadata type AutomationExecutionMetadata struct { _ struct{} `type:"structure"` @@ -10312,6 +10536,12 @@ type AutomationExecutionMetadata struct { // Timed out, or Cancelled. AutomationExecutionStatus *string `type:"string" enum:"AutomationExecutionStatus"` + // The action of the currently executing step. + CurrentAction *string `type:"string"` + + // The name of the currently executing step. + CurrentStepName *string `type:"string"` + // The name of the Automation document used during execution. DocumentName *string `type:"string"` @@ -10328,11 +10558,38 @@ type AutomationExecutionMetadata struct { // The time the execution started.> ExecutionStartTime *time.Time `type:"timestamp" timestampFormat:"unix"` + // The list of execution outputs as defined in the Automation document. + FailureMessage *string `type:"string"` + // An Amazon S3 bucket where execution information is stored. LogFile *string `type:"string"` + // The MaxConcurrency value specified by the user when starting the Automation. + MaxConcurrency *string `min:"1" type:"string"` + + // The MaxErrors value specified by the user when starting the Automation. + MaxErrors *string `min:"1" type:"string"` + + // The Automation execution mode. + Mode *string `type:"string" enum:"ExecutionMode"` + // The list of execution outputs as defined in the Automation document. Outputs map[string][]*string `min:"1" type:"map"` + + // The ExecutionId of the parent Automation. + ParentAutomationExecutionId *string `min:"36" type:"string"` + + // A list of targets that resolved during the execution. + ResolvedTargets *ResolvedTargets `type:"structure"` + + // The list of execution outputs as defined in the Automation document. + Target *string `type:"string"` + + // The list of execution outputs as defined in the Automation document. + TargetParameterName *string `min:"1" type:"string"` + + // The targets defined by the user when starting the Automation. + Targets []*Target `type:"list"` } // String returns the string representation @@ -10357,6 +10614,18 @@ func (s *AutomationExecutionMetadata) SetAutomationExecutionStatus(v string) *Au return s } +// SetCurrentAction sets the CurrentAction field's value. +func (s *AutomationExecutionMetadata) SetCurrentAction(v string) *AutomationExecutionMetadata { + s.CurrentAction = &v + return s +} + +// SetCurrentStepName sets the CurrentStepName field's value. +func (s *AutomationExecutionMetadata) SetCurrentStepName(v string) *AutomationExecutionMetadata { + s.CurrentStepName = &v + return s +} + // SetDocumentName sets the DocumentName field's value. func (s *AutomationExecutionMetadata) SetDocumentName(v string) *AutomationExecutionMetadata { s.DocumentName = &v @@ -10387,19 +10656,73 @@ func (s *AutomationExecutionMetadata) SetExecutionStartTime(v time.Time) *Automa return s } +// SetFailureMessage sets the FailureMessage field's value. +func (s *AutomationExecutionMetadata) SetFailureMessage(v string) *AutomationExecutionMetadata { + s.FailureMessage = &v + return s +} + // SetLogFile sets the LogFile field's value. func (s *AutomationExecutionMetadata) SetLogFile(v string) *AutomationExecutionMetadata { s.LogFile = &v return s } +// SetMaxConcurrency sets the MaxConcurrency field's value. +func (s *AutomationExecutionMetadata) SetMaxConcurrency(v string) *AutomationExecutionMetadata { + s.MaxConcurrency = &v + return s +} + +// SetMaxErrors sets the MaxErrors field's value. +func (s *AutomationExecutionMetadata) SetMaxErrors(v string) *AutomationExecutionMetadata { + s.MaxErrors = &v + return s +} + +// SetMode sets the Mode field's value. +func (s *AutomationExecutionMetadata) SetMode(v string) *AutomationExecutionMetadata { + s.Mode = &v + return s +} + // SetOutputs sets the Outputs field's value. func (s *AutomationExecutionMetadata) SetOutputs(v map[string][]*string) *AutomationExecutionMetadata { s.Outputs = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelCommandRequest +// SetParentAutomationExecutionId sets the ParentAutomationExecutionId field's value. +func (s *AutomationExecutionMetadata) SetParentAutomationExecutionId(v string) *AutomationExecutionMetadata { + s.ParentAutomationExecutionId = &v + return s +} + +// SetResolvedTargets sets the ResolvedTargets field's value. +func (s *AutomationExecutionMetadata) SetResolvedTargets(v *ResolvedTargets) *AutomationExecutionMetadata { + s.ResolvedTargets = v + return s +} + +// SetTarget sets the Target field's value. +func (s *AutomationExecutionMetadata) SetTarget(v string) *AutomationExecutionMetadata { + s.Target = &v + return s +} + +// SetTargetParameterName sets the TargetParameterName field's value. +func (s *AutomationExecutionMetadata) SetTargetParameterName(v string) *AutomationExecutionMetadata { + s.TargetParameterName = &v + return s +} + +// SetTargets sets the Targets field's value. +func (s *AutomationExecutionMetadata) SetTargets(v []*Target) *AutomationExecutionMetadata { + s.Targets = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelCommandRequest type CancelCommandInput struct { _ struct{} `type:"structure"` @@ -10454,7 +10777,7 @@ func (s *CancelCommandInput) SetInstanceIds(v []*string) *CancelCommandInput { // Whether or not the command was successfully canceled. There is no guarantee // that a request can be canceled. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelCommandResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelCommandResult type CancelCommandOutput struct { _ struct{} `type:"structure"` } @@ -10470,7 +10793,7 @@ func (s CancelCommandOutput) GoString() string { } // Describes a command request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Command +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Command type Command struct { _ struct{} `type:"structure"` @@ -10718,7 +11041,7 @@ func (s *Command) SetTargets(v []*Target) *Command { } // Describes a command filter. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CommandFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CommandFilter type CommandFilter struct { _ struct{} `type:"structure"` @@ -10779,7 +11102,7 @@ func (s *CommandFilter) SetValue(v string) *CommandFilter { // For example, if a user executes SendCommand against three instances, then // a command invocation is created for each requested instance ID. A command // invocation returns status and detail information about a command you executed. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CommandInvocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CommandInvocation type CommandInvocation struct { _ struct{} `type:"structure"` @@ -10972,7 +11295,7 @@ func (s *CommandInvocation) SetTraceOutput(v string) *CommandInvocation { } // Describes plugin details. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CommandPlugin +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CommandPlugin type CommandPlugin struct { _ struct{} `type:"structure"` @@ -11170,7 +11493,7 @@ func (s *CommandPlugin) SetStatusDetails(v string) *CommandPlugin { // A summary of the call execution that includes an execution ID, the type of // execution (for example, Command), and the date/time of the execution using // a datetime object that is saved in the following format: yyyy-MM-dd'T'HH:mm:ss'Z'. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceExecutionSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceExecutionSummary type ComplianceExecutionSummary struct { _ struct{} `type:"structure"` @@ -11232,7 +11555,7 @@ func (s *ComplianceExecutionSummary) SetExecutionType(v string) *ComplianceExecu // Information about the compliance as defined by the resource type. For example, // for a patch resource type, Items includes information about the PatchSeverity, // Classification, etc. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceItem type ComplianceItem struct { _ struct{} `type:"structure"` @@ -11336,7 +11659,7 @@ func (s *ComplianceItem) SetTitle(v string) *ComplianceItem { } // Information about a compliance item. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceItemEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceItemEntry type ComplianceItemEntry struct { _ struct{} `type:"structure"` @@ -11424,7 +11747,7 @@ func (s *ComplianceItemEntry) SetTitle(v string) *ComplianceItemEntry { } // One or more filters. Use a filter to return a more specific list of results. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceStringFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceStringFilter type ComplianceStringFilter struct { _ struct{} `type:"structure"` @@ -11436,7 +11759,7 @@ type ComplianceStringFilter struct { Type *string `type:"string" enum:"ComplianceQueryOperatorType"` // The value for which to search. - Values []*string `locationNameList:"FilterValue" min:"1" type:"list"` + Values []*string `min:"1" type:"list"` } // String returns the string representation @@ -11484,7 +11807,7 @@ func (s *ComplianceStringFilter) SetValues(v []*string) *ComplianceStringFilter } // A summary of compliance information by compliance type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceSummaryItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceSummaryItem type ComplianceSummaryItem struct { _ struct{} `type:"structure"` @@ -11529,7 +11852,7 @@ func (s *ComplianceSummaryItem) SetNonCompliantSummary(v *NonCompliantSummary) * // A summary of resources that are compliant. The summary is organized according // to the resource count for each compliance type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CompliantSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CompliantSummary type CompliantSummary struct { _ struct{} `type:"structure"` @@ -11562,7 +11885,7 @@ func (s *CompliantSummary) SetSeveritySummary(v *SeveritySummary) *CompliantSumm return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivationRequest type CreateActivationInput struct { _ struct{} `type:"structure"` @@ -11645,7 +11968,7 @@ func (s *CreateActivationInput) SetRegistrationLimit(v int64) *CreateActivationI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivationResult type CreateActivationOutput struct { _ struct{} `type:"structure"` @@ -11680,14 +12003,14 @@ func (s *CreateActivationOutput) SetActivationId(v string) *CreateActivationOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequest type CreateAssociationBatchInput struct { _ struct{} `type:"structure"` // One or more associations. // // Entries is a required field - Entries []*CreateAssociationBatchRequestEntry `locationNameList:"entries" min:"1" type:"list" required:"true"` + Entries []*CreateAssociationBatchRequestEntry `min:"1" type:"list" required:"true"` } // String returns the string representation @@ -11732,15 +12055,15 @@ func (s *CreateAssociationBatchInput) SetEntries(v []*CreateAssociationBatchRequ return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchResult type CreateAssociationBatchOutput struct { _ struct{} `type:"structure"` // Information about the associations that failed. - Failed []*FailedCreateAssociation `locationNameList:"FailedCreateAssociationEntry" type:"list"` + Failed []*FailedCreateAssociation `type:"list"` // Information about the associations that succeeded. - Successful []*AssociationDescription `locationNameList:"AssociationDescription" type:"list"` + Successful []*AssociationDescription `type:"list"` } // String returns the string representation @@ -11766,7 +12089,7 @@ func (s *CreateAssociationBatchOutput) SetSuccessful(v []*AssociationDescription } // Describes the association of a Systems Manager document and an instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry type CreateAssociationBatchRequestEntry struct { _ struct{} `type:"structure"` @@ -11886,7 +12209,7 @@ func (s *CreateAssociationBatchRequestEntry) SetTargets(v []*Target) *CreateAsso return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest type CreateAssociationInput struct { _ struct{} `type:"structure"` @@ -12007,7 +12330,7 @@ func (s *CreateAssociationInput) SetTargets(v []*Target) *CreateAssociationInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationResult type CreateAssociationOutput struct { _ struct{} `type:"structure"` @@ -12031,15 +12354,19 @@ func (s *CreateAssociationOutput) SetAssociationDescription(v *AssociationDescri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocumentRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocumentRequest type CreateDocumentInput struct { _ struct{} `type:"structure"` - // A valid JSON string. + // A valid JSON or YAML string. // // Content is a required field Content *string `min:"1" type:"string" required:"true"` + // Specify the document format for the request. The document format can be either + // JSON or YAML. JSON is the default format. + DocumentFormat *string `type:"string" enum:"DocumentFormat"` + // The type of document to create. Valid document types include: Policy, Automation, // and Command. DocumentType *string `type:"string" enum:"DocumentType"` @@ -12048,6 +12375,15 @@ type CreateDocumentInput struct { // // Name is a required field Name *string `type:"string" required:"true"` + + // Specify a target type to define the kinds of resources the document can run + // on. For example, to run a document on EC2 instances, specify the following + // value: /AWS::EC2::Instance. If you specify a value of '/' the document can + // run on all types of resources. If you don't specify a value, the document + // can't run on any resources. For a list of valid resource types, see AWS Resource + // Types Reference (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) + // in the AWS CloudFormation User Guide. + TargetType *string `type:"string"` } // String returns the string representation @@ -12085,6 +12421,12 @@ func (s *CreateDocumentInput) SetContent(v string) *CreateDocumentInput { return s } +// SetDocumentFormat sets the DocumentFormat field's value. +func (s *CreateDocumentInput) SetDocumentFormat(v string) *CreateDocumentInput { + s.DocumentFormat = &v + return s +} + // SetDocumentType sets the DocumentType field's value. func (s *CreateDocumentInput) SetDocumentType(v string) *CreateDocumentInput { s.DocumentType = &v @@ -12097,7 +12439,13 @@ func (s *CreateDocumentInput) SetName(v string) *CreateDocumentInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocumentResult +// SetTargetType sets the TargetType field's value. +func (s *CreateDocumentInput) SetTargetType(v string) *CreateDocumentInput { + s.TargetType = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocumentResult type CreateDocumentOutput struct { _ struct{} `type:"structure"` @@ -12121,7 +12469,7 @@ func (s *CreateDocumentOutput) SetDocumentDescription(v *DocumentDescription) *C return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindowRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindowRequest type CreateMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -12257,7 +12605,7 @@ func (s *CreateMaintenanceWindowInput) SetSchedule(v string) *CreateMaintenanceW return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindowResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindowResult type CreateMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -12281,7 +12629,7 @@ func (s *CreateMaintenanceWindowOutput) SetWindowId(v string) *CreateMaintenance return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaselineRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaselineRequest type CreatePatchBaselineInput struct { _ struct{} `type:"structure"` @@ -12311,9 +12659,8 @@ type CreatePatchBaselineInput struct { // Name is a required field Name *string `min:"3" type:"string" required:"true"` - // Defines the operating system the patch baseline applies to. Supported operating - // systems include WINDOWS, AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. - // The Default value is WINDOWS. + // Defines the operating system the patch baseline applies to. The Default value + // is WINDOWS. OperatingSystem *string `type:"string" enum:"OperatingSystem"` // A list of explicitly rejected patches for the baseline. @@ -12416,7 +12763,7 @@ func (s *CreatePatchBaselineInput) SetRejectedPatches(v []*string) *CreatePatchB return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaselineResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaselineResult type CreatePatchBaselineOutput struct { _ struct{} `type:"structure"` @@ -12440,7 +12787,7 @@ func (s *CreatePatchBaselineOutput) SetBaselineId(v string) *CreatePatchBaseline return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSyncRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSyncRequest type CreateResourceDataSyncInput struct { _ struct{} `type:"structure"` @@ -12501,7 +12848,7 @@ func (s *CreateResourceDataSyncInput) SetSyncName(v string) *CreateResourceDataS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSyncResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSyncResult type CreateResourceDataSyncOutput struct { _ struct{} `type:"structure"` } @@ -12516,7 +12863,7 @@ func (s CreateResourceDataSyncOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteActivationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteActivationRequest type DeleteActivationInput struct { _ struct{} `type:"structure"` @@ -12555,7 +12902,7 @@ func (s *DeleteActivationInput) SetActivationId(v string) *DeleteActivationInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteActivationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteActivationResult type DeleteActivationOutput struct { _ struct{} `type:"structure"` } @@ -12570,7 +12917,7 @@ func (s DeleteActivationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteAssociationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteAssociationRequest type DeleteAssociationInput struct { _ struct{} `type:"structure"` @@ -12612,7 +12959,7 @@ func (s *DeleteAssociationInput) SetName(v string) *DeleteAssociationInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteAssociationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteAssociationResult type DeleteAssociationOutput struct { _ struct{} `type:"structure"` } @@ -12627,7 +12974,7 @@ func (s DeleteAssociationOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocumentRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocumentRequest type DeleteDocumentInput struct { _ struct{} `type:"structure"` @@ -12666,7 +13013,7 @@ func (s *DeleteDocumentInput) SetName(v string) *DeleteDocumentInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocumentResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocumentResult type DeleteDocumentOutput struct { _ struct{} `type:"structure"` } @@ -12681,7 +13028,7 @@ func (s DeleteDocumentOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteMaintenanceWindowRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteMaintenanceWindowRequest type DeleteMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -12723,7 +13070,7 @@ func (s *DeleteMaintenanceWindowInput) SetWindowId(v string) *DeleteMaintenanceW return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteMaintenanceWindowResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteMaintenanceWindowResult type DeleteMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -12747,7 +13094,7 @@ func (s *DeleteMaintenanceWindowOutput) SetWindowId(v string) *DeleteMaintenance return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameterRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameterRequest type DeleteParameterInput struct { _ struct{} `type:"structure"` @@ -12789,7 +13136,7 @@ func (s *DeleteParameterInput) SetName(v string) *DeleteParameterInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameterResult type DeleteParameterOutput struct { _ struct{} `type:"structure"` } @@ -12804,7 +13151,7 @@ func (s DeleteParameterOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParametersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParametersRequest type DeleteParametersInput struct { _ struct{} `type:"structure"` @@ -12846,7 +13193,7 @@ func (s *DeleteParametersInput) SetNames(v []*string) *DeleteParametersInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParametersResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParametersResult type DeleteParametersOutput struct { _ struct{} `type:"structure"` @@ -12880,7 +13227,7 @@ func (s *DeleteParametersOutput) SetInvalidParameters(v []*string) *DeleteParame return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeletePatchBaselineRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeletePatchBaselineRequest type DeletePatchBaselineInput struct { _ struct{} `type:"structure"` @@ -12922,7 +13269,7 @@ func (s *DeletePatchBaselineInput) SetBaselineId(v string) *DeletePatchBaselineI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeletePatchBaselineResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeletePatchBaselineResult type DeletePatchBaselineOutput struct { _ struct{} `type:"structure"` @@ -12946,7 +13293,7 @@ func (s *DeletePatchBaselineOutput) SetBaselineId(v string) *DeletePatchBaseline return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSyncRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSyncRequest type DeleteResourceDataSyncInput struct { _ struct{} `type:"structure"` @@ -12988,7 +13335,7 @@ func (s *DeleteResourceDataSyncInput) SetSyncName(v string) *DeleteResourceDataS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSyncResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSyncResult type DeleteResourceDataSyncOutput struct { _ struct{} `type:"structure"` } @@ -13003,7 +13350,7 @@ func (s DeleteResourceDataSyncOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterManagedInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterManagedInstanceRequest type DeregisterManagedInstanceInput struct { _ struct{} `type:"structure"` @@ -13043,7 +13390,7 @@ func (s *DeregisterManagedInstanceInput) SetInstanceId(v string) *DeregisterMana return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterManagedInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterManagedInstanceResult type DeregisterManagedInstanceOutput struct { _ struct{} `type:"structure"` } @@ -13058,7 +13405,7 @@ func (s DeregisterManagedInstanceOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterPatchBaselineForPatchGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterPatchBaselineForPatchGroupRequest type DeregisterPatchBaselineForPatchGroupInput struct { _ struct{} `type:"structure"` @@ -13117,7 +13464,7 @@ func (s *DeregisterPatchBaselineForPatchGroupInput) SetPatchGroup(v string) *Der return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterPatchBaselineForPatchGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterPatchBaselineForPatchGroupResult type DeregisterPatchBaselineForPatchGroupOutput struct { _ struct{} `type:"structure"` @@ -13150,7 +13497,7 @@ func (s *DeregisterPatchBaselineForPatchGroupOutput) SetPatchGroup(v string) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindowRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindowRequest type DeregisterTargetFromMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -13220,7 +13567,7 @@ func (s *DeregisterTargetFromMaintenanceWindowInput) SetWindowTargetId(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindowResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindowResult type DeregisterTargetFromMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -13253,7 +13600,7 @@ func (s *DeregisterTargetFromMaintenanceWindowOutput) SetWindowTargetId(v string return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTaskFromMaintenanceWindowRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTaskFromMaintenanceWindowRequest type DeregisterTaskFromMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -13312,7 +13659,7 @@ func (s *DeregisterTaskFromMaintenanceWindowInput) SetWindowTaskId(v string) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTaskFromMaintenanceWindowResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTaskFromMaintenanceWindowResult type DeregisterTaskFromMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -13346,7 +13693,7 @@ func (s *DeregisterTaskFromMaintenanceWindowOutput) SetWindowTaskId(v string) *D } // Filter for the DescribeActivation API. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivationsFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivationsFilter type DescribeActivationsFilter struct { _ struct{} `type:"structure"` @@ -13379,7 +13726,7 @@ func (s *DescribeActivationsFilter) SetFilterValues(v []*string) *DescribeActiva return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivationsRequest type DescribeActivationsInput struct { _ struct{} `type:"structure"` @@ -13436,7 +13783,7 @@ func (s *DescribeActivationsInput) SetNextToken(v string) *DescribeActivationsIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivationsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivationsResult type DescribeActivationsOutput struct { _ struct{} `type:"structure"` @@ -13470,7 +13817,7 @@ func (s *DescribeActivationsOutput) SetNextToken(v string) *DescribeActivationsO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationRequest type DescribeAssociationInput struct { _ struct{} `type:"structure"` @@ -13524,7 +13871,7 @@ func (s *DescribeAssociationInput) SetName(v string) *DescribeAssociationInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationResult type DescribeAssociationOutput struct { _ struct{} `type:"structure"` @@ -13548,7 +13895,7 @@ func (s *DescribeAssociationOutput) SetAssociationDescription(v *AssociationDesc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutionsRequest type DescribeAutomationExecutionsInput struct { _ struct{} `type:"structure"` @@ -13619,7 +13966,7 @@ func (s *DescribeAutomationExecutionsInput) SetNextToken(v string) *DescribeAuto return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutionsResult type DescribeAutomationExecutionsOutput struct { _ struct{} `type:"structure"` @@ -13654,7 +14001,140 @@ func (s *DescribeAutomationExecutionsOutput) SetNextToken(v string) *DescribeAut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAvailablePatchesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutionsRequest +type DescribeAutomationStepExecutionsInput struct { + _ struct{} `type:"structure"` + + // The Automation execution ID for which you want step execution descriptions. + // + // AutomationExecutionId is a required field + AutomationExecutionId *string `min:"36" type:"string" required:"true"` + + // One or more filters to limit the number of step executions returned by the + // request. + Filters []*StepExecutionFilter `min:"1" type:"list"` + + // The maximum number of items to return for this call. The call also returns + // a token that you can specify in a subsequent call to get the next set of + // results. + MaxResults *int64 `min:"1" type:"integer"` + + // The token for the next set of items to return. (You received this token from + // a previous call.) + NextToken *string `type:"string"` + + // A boolean that indicates whether to list step executions in reverse order + // by start time. The default value is false. + ReverseOrder *bool `type:"boolean"` +} + +// String returns the string representation +func (s DescribeAutomationStepExecutionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeAutomationStepExecutionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeAutomationStepExecutionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeAutomationStepExecutionsInput"} + if s.AutomationExecutionId == nil { + invalidParams.Add(request.NewErrParamRequired("AutomationExecutionId")) + } + if s.AutomationExecutionId != nil && len(*s.AutomationExecutionId) < 36 { + invalidParams.Add(request.NewErrParamMinLen("AutomationExecutionId", 36)) + } + if s.Filters != nil && len(s.Filters) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAutomationExecutionId sets the AutomationExecutionId field's value. +func (s *DescribeAutomationStepExecutionsInput) SetAutomationExecutionId(v string) *DescribeAutomationStepExecutionsInput { + s.AutomationExecutionId = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeAutomationStepExecutionsInput) SetFilters(v []*StepExecutionFilter) *DescribeAutomationStepExecutionsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeAutomationStepExecutionsInput) SetMaxResults(v int64) *DescribeAutomationStepExecutionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeAutomationStepExecutionsInput) SetNextToken(v string) *DescribeAutomationStepExecutionsInput { + s.NextToken = &v + return s +} + +// SetReverseOrder sets the ReverseOrder field's value. +func (s *DescribeAutomationStepExecutionsInput) SetReverseOrder(v bool) *DescribeAutomationStepExecutionsInput { + s.ReverseOrder = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutionsResult +type DescribeAutomationStepExecutionsOutput struct { + _ struct{} `type:"structure"` + + // The token to use when requesting the next set of items. If there are no additional + // items to return, the string is empty. + NextToken *string `type:"string"` + + // A list of details about the current state of all steps that make up an execution. + StepExecutions []*StepExecution `type:"list"` +} + +// String returns the string representation +func (s DescribeAutomationStepExecutionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeAutomationStepExecutionsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeAutomationStepExecutionsOutput) SetNextToken(v string) *DescribeAutomationStepExecutionsOutput { + s.NextToken = &v + return s +} + +// SetStepExecutions sets the StepExecutions field's value. +func (s *DescribeAutomationStepExecutionsOutput) SetStepExecutions(v []*StepExecution) *DescribeAutomationStepExecutionsOutput { + s.StepExecutions = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAvailablePatchesRequest type DescribeAvailablePatchesInput struct { _ struct{} `type:"structure"` @@ -13720,7 +14200,7 @@ func (s *DescribeAvailablePatchesInput) SetNextToken(v string) *DescribeAvailabl return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAvailablePatchesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAvailablePatchesResult type DescribeAvailablePatchesOutput struct { _ struct{} `type:"structure"` @@ -13754,7 +14234,7 @@ func (s *DescribeAvailablePatchesOutput) SetPatches(v []*Patch) *DescribeAvailab return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentRequest type DescribeDocumentInput struct { _ struct{} `type:"structure"` @@ -13803,7 +14283,7 @@ func (s *DescribeDocumentInput) SetName(v string) *DescribeDocumentInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentResult type DescribeDocumentOutput struct { _ struct{} `type:"structure"` @@ -13827,7 +14307,7 @@ func (s *DescribeDocumentOutput) SetDocument(v *DocumentDescription) *DescribeDo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermissionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermissionRequest type DescribeDocumentPermissionInput struct { _ struct{} `type:"structure"` @@ -13880,13 +14360,13 @@ func (s *DescribeDocumentPermissionInput) SetPermissionType(v string) *DescribeD return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermissionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermissionResponse type DescribeDocumentPermissionOutput struct { _ struct{} `type:"structure"` // The account IDs that have permission to use this document. The ID can be // either an AWS account or All. - AccountIds []*string `locationNameList:"AccountId" type:"list"` + AccountIds []*string `type:"list"` } // String returns the string representation @@ -13905,7 +14385,7 @@ func (s *DescribeDocumentPermissionOutput) SetAccountIds(v []*string) *DescribeD return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociationsRequest type DescribeEffectiveInstanceAssociationsInput struct { _ struct{} `type:"structure"` @@ -13968,7 +14448,7 @@ func (s *DescribeEffectiveInstanceAssociationsInput) SetNextToken(v string) *Des return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociationsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociationsResult type DescribeEffectiveInstanceAssociationsOutput struct { _ struct{} `type:"structure"` @@ -14002,7 +14482,7 @@ func (s *DescribeEffectiveInstanceAssociationsOutput) SetNextToken(v string) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectivePatchesForPatchBaselineRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectivePatchesForPatchBaselineRequest type DescribeEffectivePatchesForPatchBaselineInput struct { _ struct{} `type:"structure"` @@ -14066,7 +14546,7 @@ func (s *DescribeEffectivePatchesForPatchBaselineInput) SetNextToken(v string) * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectivePatchesForPatchBaselineResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectivePatchesForPatchBaselineResult type DescribeEffectivePatchesForPatchBaselineOutput struct { _ struct{} `type:"structure"` @@ -14100,7 +14580,7 @@ func (s *DescribeEffectivePatchesForPatchBaselineOutput) SetNextToken(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatusRequest type DescribeInstanceAssociationsStatusInput struct { _ struct{} `type:"structure"` @@ -14163,7 +14643,7 @@ func (s *DescribeInstanceAssociationsStatusInput) SetNextToken(v string) *Descri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatusResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatusResult type DescribeInstanceAssociationsStatusOutput struct { _ struct{} `type:"structure"` @@ -14197,15 +14677,15 @@ func (s *DescribeInstanceAssociationsStatusOutput) SetNextToken(v string) *Descr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceInformationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceInformationRequest type DescribeInstanceInformationInput struct { _ struct{} `type:"structure"` // One or more filters. Use a filter to return a more specific list of instances. - Filters []*InstanceInformationStringFilter `locationNameList:"InstanceInformationStringFilter" type:"list"` + Filters []*InstanceInformationStringFilter `type:"list"` // One or more filters. Use a filter to return a more specific list of instances. - InstanceInformationFilterList []*InstanceInformationFilter `locationNameList:"InstanceInformationFilter" type:"list"` + InstanceInformationFilterList []*InstanceInformationFilter `type:"list"` // The maximum number of items to return for this call. The call also returns // a token that you can specify in a subsequent call to get the next set of @@ -14284,12 +14764,12 @@ func (s *DescribeInstanceInformationInput) SetNextToken(v string) *DescribeInsta return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceInformationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceInformationResult type DescribeInstanceInformationOutput struct { _ struct{} `type:"structure"` // The instance information list. - InstanceInformationList []*InstanceInformation `locationNameList:"InstanceInformation" type:"list"` + InstanceInformationList []*InstanceInformation `type:"list"` // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. @@ -14318,7 +14798,7 @@ func (s *DescribeInstanceInformationOutput) SetNextToken(v string) *DescribeInst return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroupRequest type DescribeInstancePatchStatesForPatchGroupInput struct { _ struct{} `type:"structure"` @@ -14408,7 +14888,7 @@ func (s *DescribeInstancePatchStatesForPatchGroupInput) SetPatchGroup(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroupResult type DescribeInstancePatchStatesForPatchGroupOutput struct { _ struct{} `type:"structure"` @@ -14442,7 +14922,7 @@ func (s *DescribeInstancePatchStatesForPatchGroupOutput) SetNextToken(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesRequest type DescribeInstancePatchStatesInput struct { _ struct{} `type:"structure"` @@ -14503,7 +14983,7 @@ func (s *DescribeInstancePatchStatesInput) SetNextToken(v string) *DescribeInsta return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesResult type DescribeInstancePatchStatesOutput struct { _ struct{} `type:"structure"` @@ -14537,7 +15017,7 @@ func (s *DescribeInstancePatchStatesOutput) SetNextToken(v string) *DescribeInst return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchesRequest type DescribeInstancePatchesInput struct { _ struct{} `type:"structure"` @@ -14621,7 +15101,7 @@ func (s *DescribeInstancePatchesInput) SetNextToken(v string) *DescribeInstanceP return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchesResult type DescribeInstancePatchesOutput struct { _ struct{} `type:"structure"` @@ -14670,7 +15150,7 @@ func (s *DescribeInstancePatchesOutput) SetPatches(v []*PatchComplianceData) *De return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTaskInvocationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTaskInvocationsRequest type DescribeMaintenanceWindowExecutionTaskInvocationsInput struct { _ struct{} `type:"structure"` @@ -14775,7 +15255,7 @@ func (s *DescribeMaintenanceWindowExecutionTaskInvocationsInput) SetWindowExecut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTaskInvocationsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTaskInvocationsResult type DescribeMaintenanceWindowExecutionTaskInvocationsOutput struct { _ struct{} `type:"structure"` @@ -14809,7 +15289,7 @@ func (s *DescribeMaintenanceWindowExecutionTaskInvocationsOutput) SetWindowExecu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasksRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasksRequest type DescribeMaintenanceWindowExecutionTasksInput struct { _ struct{} `type:"structure"` @@ -14897,7 +15377,7 @@ func (s *DescribeMaintenanceWindowExecutionTasksInput) SetWindowExecutionId(v st return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasksResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasksResult type DescribeMaintenanceWindowExecutionTasksOutput struct { _ struct{} `type:"structure"` @@ -14931,7 +15411,7 @@ func (s *DescribeMaintenanceWindowExecutionTasksOutput) SetWindowExecutionTaskId return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionsRequest type DescribeMaintenanceWindowExecutionsInput struct { _ struct{} `type:"structure"` @@ -15023,7 +15503,7 @@ func (s *DescribeMaintenanceWindowExecutionsInput) SetWindowId(v string) *Descri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionsResult type DescribeMaintenanceWindowExecutionsOutput struct { _ struct{} `type:"structure"` @@ -15057,7 +15537,7 @@ func (s *DescribeMaintenanceWindowExecutionsOutput) SetWindowExecutions(v []*Mai return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTargetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTargetsRequest type DescribeMaintenanceWindowTargetsInput struct { _ struct{} `type:"structure"` @@ -15143,7 +15623,7 @@ func (s *DescribeMaintenanceWindowTargetsInput) SetWindowId(v string) *DescribeM return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTargetsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTargetsResult type DescribeMaintenanceWindowTargetsOutput struct { _ struct{} `type:"structure"` @@ -15177,7 +15657,7 @@ func (s *DescribeMaintenanceWindowTargetsOutput) SetTargets(v []*MaintenanceWind return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasksRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasksRequest type DescribeMaintenanceWindowTasksInput struct { _ struct{} `type:"structure"` @@ -15263,7 +15743,7 @@ func (s *DescribeMaintenanceWindowTasksInput) SetWindowId(v string) *DescribeMai return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasksResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasksResult type DescribeMaintenanceWindowTasksOutput struct { _ struct{} `type:"structure"` @@ -15297,7 +15777,7 @@ func (s *DescribeMaintenanceWindowTasksOutput) SetTasks(v []*MaintenanceWindowTa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowsRequest type DescribeMaintenanceWindowsInput struct { _ struct{} `type:"structure"` @@ -15366,7 +15846,7 @@ func (s *DescribeMaintenanceWindowsInput) SetNextToken(v string) *DescribeMainte return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowsResult type DescribeMaintenanceWindowsOutput struct { _ struct{} `type:"structure"` @@ -15400,7 +15880,7 @@ func (s *DescribeMaintenanceWindowsOutput) SetWindowIdentities(v []*MaintenanceW return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParametersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParametersRequest type DescribeParametersInput struct { _ struct{} `type:"structure"` @@ -15487,7 +15967,7 @@ func (s *DescribeParametersInput) SetParameterFilters(v []*ParameterStringFilter return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParametersResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParametersResult type DescribeParametersOutput struct { _ struct{} `type:"structure"` @@ -15521,7 +16001,7 @@ func (s *DescribeParametersOutput) SetParameters(v []*ParameterMetadata) *Descri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchBaselinesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchBaselinesRequest type DescribePatchBaselinesInput struct { _ struct{} `type:"structure"` @@ -15591,7 +16071,7 @@ func (s *DescribePatchBaselinesInput) SetNextToken(v string) *DescribePatchBasel return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchBaselinesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchBaselinesResult type DescribePatchBaselinesOutput struct { _ struct{} `type:"structure"` @@ -15625,7 +16105,7 @@ func (s *DescribePatchBaselinesOutput) SetNextToken(v string) *DescribePatchBase return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupStateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupStateRequest type DescribePatchGroupStateInput struct { _ struct{} `type:"structure"` @@ -15667,7 +16147,7 @@ func (s *DescribePatchGroupStateInput) SetPatchGroup(v string) *DescribePatchGro return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupStateResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupStateResult type DescribePatchGroupStateOutput struct { _ struct{} `type:"structure"` @@ -15738,7 +16218,7 @@ func (s *DescribePatchGroupStateOutput) SetInstancesWithNotApplicablePatches(v i return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupsRequest type DescribePatchGroupsInput struct { _ struct{} `type:"structure"` @@ -15804,7 +16284,7 @@ func (s *DescribePatchGroupsInput) SetNextToken(v string) *DescribePatchGroupsIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupsResult type DescribePatchGroupsOutput struct { _ struct{} `type:"structure"` @@ -15843,7 +16323,7 @@ func (s *DescribePatchGroupsOutput) SetNextToken(v string) *DescribePatchGroupsO } // A default version of a document. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDefaultVersionDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDefaultVersionDescription type DocumentDefaultVersionDescription struct { _ struct{} `type:"structure"` @@ -15877,7 +16357,7 @@ func (s *DocumentDefaultVersionDescription) SetName(v string) *DocumentDefaultVe } // Describes a Systems Manager document. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDescription +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDescription type DocumentDescription struct { _ struct{} `type:"structure"` @@ -15890,6 +16370,9 @@ type DocumentDescription struct { // A description of the document. Description *string `type:"string"` + // The document format, either JSON or YAML. + DocumentFormat *string `type:"string" enum:"DocumentFormat"` + // The type of document. DocumentType *string `type:"string" enum:"DocumentType"` @@ -15916,10 +16399,10 @@ type DocumentDescription struct { Owner *string `type:"string"` // A description of the parameters for a document. - Parameters []*DocumentParameter `locationNameList:"DocumentParameter" type:"list"` + Parameters []*DocumentParameter `type:"list"` // The list of OS platforms compatible with this Systems Manager document. - PlatformTypes []*string `locationNameList:"PlatformType" type:"list"` + PlatformTypes []*string `type:"list"` // The schema version. SchemaVersion *string `type:"string"` @@ -15932,6 +16415,12 @@ type DocumentDescription struct { // The tags, or metadata, that have been applied to the document. Tags []*Tag `type:"list"` + + // The target type which defines the kinds of resources the document can run + // on. For example, /AWS::EC2::Instance. For a list of valid resource types, + // see AWS Resource Types Reference (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) + // in the AWS CloudFormation User Guide. + TargetType *string `type:"string"` } // String returns the string representation @@ -15962,6 +16451,12 @@ func (s *DocumentDescription) SetDescription(v string) *DocumentDescription { return s } +// SetDocumentFormat sets the DocumentFormat field's value. +func (s *DocumentDescription) SetDocumentFormat(v string) *DocumentDescription { + s.DocumentFormat = &v + return s +} + // SetDocumentType sets the DocumentType field's value. func (s *DocumentDescription) SetDocumentType(v string) *DocumentDescription { s.DocumentType = &v @@ -16040,8 +16535,14 @@ func (s *DocumentDescription) SetTags(v []*Tag) *DocumentDescription { return s } +// SetTargetType sets the TargetType field's value. +func (s *DocumentDescription) SetTargetType(v string) *DocumentDescription { + s.TargetType = &v + return s +} + // Describes a filter. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentFilter type DocumentFilter struct { _ struct{} `type:"structure"` @@ -16098,10 +16599,13 @@ func (s *DocumentFilter) SetValue(v string) *DocumentFilter { } // Describes the name of a Systems Manager document. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentIdentifier +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentIdentifier type DocumentIdentifier struct { _ struct{} `type:"structure"` + // The document format, either JSON or YAML. + DocumentFormat *string `type:"string" enum:"DocumentFormat"` + // The document type. DocumentType *string `type:"string" enum:"DocumentType"` @@ -16115,13 +16619,19 @@ type DocumentIdentifier struct { Owner *string `type:"string"` // The operating system platform. - PlatformTypes []*string `locationNameList:"PlatformType" type:"list"` + PlatformTypes []*string `type:"list"` // The schema version. SchemaVersion *string `type:"string"` // The tags, or metadata, that have been applied to the document. Tags []*Tag `type:"list"` + + // The target type which defines the kinds of resources the document can run + // on. For example, /AWS::EC2::Instance. For a list of valid resource types, + // see AWS Resource Types Reference (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) + // in the AWS CloudFormation User Guide. + TargetType *string `type:"string"` } // String returns the string representation @@ -16134,6 +16644,12 @@ func (s DocumentIdentifier) GoString() string { return s.String() } +// SetDocumentFormat sets the DocumentFormat field's value. +func (s *DocumentIdentifier) SetDocumentFormat(v string) *DocumentIdentifier { + s.DocumentFormat = &v + return s +} + // SetDocumentType sets the DocumentType field's value. func (s *DocumentIdentifier) SetDocumentType(v string) *DocumentIdentifier { s.DocumentType = &v @@ -16176,6 +16692,12 @@ func (s *DocumentIdentifier) SetTags(v []*Tag) *DocumentIdentifier { return s } +// SetTargetType sets the TargetType field's value. +func (s *DocumentIdentifier) SetTargetType(v string) *DocumentIdentifier { + s.TargetType = &v + return s +} + // One or more filters. Use a filter to return a more specific list of documents. // // For keys, you can specify one or more tags that have been applied to a document. @@ -16201,7 +16723,7 @@ func (s *DocumentIdentifier) SetTags(v []*Tag) *DocumentIdentifier { // to call the list-documents command: // // aws ssm list-documents --filters Key=tag:region,Values=east,west Key=Owner,Values=Self -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentKeyValuesFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentKeyValuesFilter type DocumentKeyValuesFilter struct { _ struct{} `type:"structure"` @@ -16249,7 +16771,7 @@ func (s *DocumentKeyValuesFilter) SetValues(v []*string) *DocumentKeyValuesFilte // Parameters specified in a System Manager document that execute on the server // when the command is run. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentParameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentParameter type DocumentParameter struct { _ struct{} `type:"structure"` @@ -16303,13 +16825,16 @@ func (s *DocumentParameter) SetType(v string) *DocumentParameter { } // Version information about the document. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentVersionInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentVersionInfo type DocumentVersionInfo struct { _ struct{} `type:"structure"` // The date the document was created. CreatedDate *time.Time `type:"timestamp" timestampFormat:"unix"` + // The document format, either JSON or YAML. + DocumentFormat *string `type:"string" enum:"DocumentFormat"` + // The document version. DocumentVersion *string `type:"string"` @@ -16336,6 +16861,12 @@ func (s *DocumentVersionInfo) SetCreatedDate(v time.Time) *DocumentVersionInfo { return s } +// SetDocumentFormat sets the DocumentFormat field's value. +func (s *DocumentVersionInfo) SetDocumentFormat(v string) *DocumentVersionInfo { + s.DocumentFormat = &v + return s +} + // SetDocumentVersion sets the DocumentVersion field's value. func (s *DocumentVersionInfo) SetDocumentVersion(v string) *DocumentVersionInfo { s.DocumentVersion = &v @@ -16359,7 +16890,7 @@ func (s *DocumentVersionInfo) SetName(v string) *DocumentVersionInfo { // state includes information about whether the patch is currently approved, // due to be approved by a rule, explicitly approved, or explicitly rejected // and the date the patch was or will be approved. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/EffectivePatch +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/EffectivePatch type EffectivePatch struct { _ struct{} `type:"structure"` @@ -16397,7 +16928,7 @@ func (s *EffectivePatch) SetPatchStatus(v *PatchStatus) *EffectivePatch { } // Describes a failed association. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/FailedCreateAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/FailedCreateAssociation type FailedCreateAssociation struct { _ struct{} `type:"structure"` @@ -16440,7 +16971,7 @@ func (s *FailedCreateAssociation) SetMessage(v string) *FailedCreateAssociation } // Information about an Automation failure. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/FailureDetails +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/FailureDetails type FailureDetails struct { _ struct{} `type:"structure"` @@ -16484,7 +17015,7 @@ func (s *FailureDetails) SetFailureType(v string) *FailureDetails { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecutionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecutionRequest type GetAutomationExecutionInput struct { _ struct{} `type:"structure"` @@ -16528,7 +17059,7 @@ func (s *GetAutomationExecutionInput) SetAutomationExecutionId(v string) *GetAut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecutionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecutionResult type GetAutomationExecutionOutput struct { _ struct{} `type:"structure"` @@ -16552,7 +17083,7 @@ func (s *GetAutomationExecutionOutput) SetAutomationExecution(v *AutomationExecu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationRequest type GetCommandInvocationInput struct { _ struct{} `type:"structure"` @@ -16624,7 +17155,7 @@ func (s *GetCommandInvocationInput) SetPluginName(v string) *GetCommandInvocatio return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationResult type GetCommandInvocationOutput struct { _ struct{} `type:"structure"` @@ -16843,7 +17374,7 @@ func (s *GetCommandInvocationOutput) SetStatusDetails(v string) *GetCommandInvoc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaselineRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaselineRequest type GetDefaultPatchBaselineInput struct { _ struct{} `type:"structure"` @@ -16867,7 +17398,7 @@ func (s *GetDefaultPatchBaselineInput) SetOperatingSystem(v string) *GetDefaultP return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaselineResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaselineResult type GetDefaultPatchBaselineOutput struct { _ struct{} `type:"structure"` @@ -16900,7 +17431,7 @@ func (s *GetDefaultPatchBaselineOutput) SetOperatingSystem(v string) *GetDefault return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstanceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstanceRequest type GetDeployablePatchSnapshotForInstanceInput struct { _ struct{} `type:"structure"` @@ -16957,7 +17488,7 @@ func (s *GetDeployablePatchSnapshotForInstanceInput) SetSnapshotId(v string) *Ge return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstanceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstanceResult type GetDeployablePatchSnapshotForInstanceOutput struct { _ struct{} `type:"structure"` @@ -17009,10 +17540,14 @@ func (s *GetDeployablePatchSnapshotForInstanceOutput) SetSnapshotId(v string) *G return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocumentRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocumentRequest type GetDocumentInput struct { _ struct{} `type:"structure"` + // Returns the document in the specified format. The document format can be + // either JSON or YAML. JSON is the default format. + DocumentFormat *string `type:"string" enum:"DocumentFormat"` + // The document version for which you want information. DocumentVersion *string `type:"string"` @@ -17045,6 +17580,12 @@ func (s *GetDocumentInput) Validate() error { return nil } +// SetDocumentFormat sets the DocumentFormat field's value. +func (s *GetDocumentInput) SetDocumentFormat(v string) *GetDocumentInput { + s.DocumentFormat = &v + return s +} + // SetDocumentVersion sets the DocumentVersion field's value. func (s *GetDocumentInput) SetDocumentVersion(v string) *GetDocumentInput { s.DocumentVersion = &v @@ -17057,13 +17598,16 @@ func (s *GetDocumentInput) SetName(v string) *GetDocumentInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocumentResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocumentResult type GetDocumentOutput struct { _ struct{} `type:"structure"` // The contents of the Systems Manager document. Content *string `min:"1" type:"string"` + // The document format, either JSON or YAML. + DocumentFormat *string `type:"string" enum:"DocumentFormat"` + // The document type. DocumentType *string `type:"string" enum:"DocumentType"` @@ -17090,6 +17634,12 @@ func (s *GetDocumentOutput) SetContent(v string) *GetDocumentOutput { return s } +// SetDocumentFormat sets the DocumentFormat field's value. +func (s *GetDocumentOutput) SetDocumentFormat(v string) *GetDocumentOutput { + s.DocumentFormat = &v + return s +} + // SetDocumentType sets the DocumentType field's value. func (s *GetDocumentOutput) SetDocumentType(v string) *GetDocumentOutput { s.DocumentType = &v @@ -17108,12 +17658,18 @@ func (s *GetDocumentOutput) SetName(v string) *GetDocumentOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventoryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventoryRequest type GetInventoryInput struct { _ struct{} `type:"structure"` + // Returns counts of inventory types based on one or more expressions. For example, + // if you aggregate by using an expression that uses the AWS:InstanceInformation.PlatformType + // type, you can see a count of how many Windows and Linux instances exist in + // your inventoried fleet. + Aggregators []*InventoryAggregator `min:"1" type:"list"` + // One or more filters. Use a filter to return a more specific list of results. - Filters []*InventoryFilter `locationNameList:"InventoryFilter" min:"1" type:"list"` + Filters []*InventoryFilter `min:"1" type:"list"` // The maximum number of items to return for this call. The call also returns // a token that you can specify in a subsequent call to get the next set of @@ -17125,7 +17681,7 @@ type GetInventoryInput struct { NextToken *string `type:"string"` // The list of inventory item types to return. - ResultAttributes []*ResultAttribute `locationNameList:"ResultAttribute" min:"1" type:"list"` + ResultAttributes []*ResultAttribute `min:"1" type:"list"` } // String returns the string representation @@ -17141,6 +17697,9 @@ func (s GetInventoryInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *GetInventoryInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GetInventoryInput"} + if s.Aggregators != nil && len(s.Aggregators) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Aggregators", 1)) + } if s.Filters != nil && len(s.Filters) < 1 { invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) } @@ -17150,6 +17709,16 @@ func (s *GetInventoryInput) Validate() error { if s.ResultAttributes != nil && len(s.ResultAttributes) < 1 { invalidParams.Add(request.NewErrParamMinLen("ResultAttributes", 1)) } + if s.Aggregators != nil { + for i, v := range s.Aggregators { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Aggregators", i), err.(request.ErrInvalidParams)) + } + } + } if s.Filters != nil { for i, v := range s.Filters { if v == nil { @@ -17177,6 +17746,12 @@ func (s *GetInventoryInput) Validate() error { return nil } +// SetAggregators sets the Aggregators field's value. +func (s *GetInventoryInput) SetAggregators(v []*InventoryAggregator) *GetInventoryInput { + s.Aggregators = v + return s +} + // SetFilters sets the Filters field's value. func (s *GetInventoryInput) SetFilters(v []*InventoryFilter) *GetInventoryInput { s.Filters = v @@ -17201,12 +17776,12 @@ func (s *GetInventoryInput) SetResultAttributes(v []*ResultAttribute) *GetInvent return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventoryResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventoryResult type GetInventoryOutput struct { _ struct{} `type:"structure"` // Collection of inventory entities such as a collection of instance inventory. - Entities []*InventoryResultEntity `locationNameList:"Entity" type:"list"` + Entities []*InventoryResultEntity `type:"list"` // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. @@ -17235,10 +17810,15 @@ func (s *GetInventoryOutput) SetNextToken(v string) *GetInventoryOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchemaRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchemaRequest type GetInventorySchemaInput struct { _ struct{} `type:"structure"` + // Returns inventory schemas that support aggregation. For example, this call + // returns the AWS:InstanceInformation type, because it supports aggregation + // based on the PlatformName, PlatformType, and PlatformVersion attributes. + Aggregator *bool `type:"boolean"` + // The maximum number of items to return for this call. The call also returns // a token that you can specify in a subsequent call to get the next set of // results. @@ -17278,6 +17858,12 @@ func (s *GetInventorySchemaInput) Validate() error { return nil } +// SetAggregator sets the Aggregator field's value. +func (s *GetInventorySchemaInput) SetAggregator(v bool) *GetInventorySchemaInput { + s.Aggregator = &v + return s +} + // SetMaxResults sets the MaxResults field's value. func (s *GetInventorySchemaInput) SetMaxResults(v int64) *GetInventorySchemaInput { s.MaxResults = &v @@ -17302,7 +17888,7 @@ func (s *GetInventorySchemaInput) SetTypeName(v string) *GetInventorySchemaInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchemaResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchemaResult type GetInventorySchemaOutput struct { _ struct{} `type:"structure"` @@ -17336,7 +17922,7 @@ func (s *GetInventorySchemaOutput) SetSchemas(v []*InventoryItemSchema) *GetInve return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionRequest type GetMaintenanceWindowExecutionInput struct { _ struct{} `type:"structure"` @@ -17378,7 +17964,7 @@ func (s *GetMaintenanceWindowExecutionInput) SetWindowExecutionId(v string) *Get return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionResult type GetMaintenanceWindowExecutionOutput struct { _ struct{} `type:"structure"` @@ -17447,7 +18033,7 @@ func (s *GetMaintenanceWindowExecutionOutput) SetWindowExecutionId(v string) *Ge return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskRequest type GetMaintenanceWindowExecutionTaskInput struct { _ struct{} `type:"structure"` @@ -17507,7 +18093,7 @@ func (s *GetMaintenanceWindowExecutionTaskInput) SetWindowExecutionId(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocationRequest type GetMaintenanceWindowExecutionTaskInvocationInput struct { _ struct{} `type:"structure"` @@ -17584,7 +18170,7 @@ func (s *GetMaintenanceWindowExecutionTaskInvocationInput) SetWindowExecutionId( return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocationResult type GetMaintenanceWindowExecutionTaskInvocationOutput struct { _ struct{} `type:"structure"` @@ -17710,7 +18296,7 @@ func (s *GetMaintenanceWindowExecutionTaskInvocationOutput) SetWindowTargetId(v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskResult type GetMaintenanceWindowExecutionTaskOutput struct { _ struct{} `type:"structure"` @@ -17849,7 +18435,7 @@ func (s *GetMaintenanceWindowExecutionTaskOutput) SetWindowExecutionId(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowRequest type GetMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -17891,7 +18477,7 @@ func (s *GetMaintenanceWindowInput) SetWindowId(v string) *GetMaintenanceWindowI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowResult type GetMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -17998,7 +18584,7 @@ func (s *GetMaintenanceWindowOutput) SetWindowId(v string) *GetMaintenanceWindow return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTaskRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTaskRequest type GetMaintenanceWindowTaskInput struct { _ struct{} `type:"structure"` @@ -18057,7 +18643,7 @@ func (s *GetMaintenanceWindowTaskInput) SetWindowTaskId(v string) *GetMaintenanc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTaskResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTaskResult type GetMaintenanceWindowTaskOutput struct { _ struct{} `type:"structure"` @@ -18202,7 +18788,7 @@ func (s *GetMaintenanceWindowTaskOutput) SetWindowTaskId(v string) *GetMaintenan return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistoryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistoryRequest type GetParameterHistoryInput struct { _ struct{} `type:"structure"` @@ -18278,7 +18864,7 @@ func (s *GetParameterHistoryInput) SetWithDecryption(v bool) *GetParameterHistor return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistoryResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistoryResult type GetParameterHistoryOutput struct { _ struct{} `type:"structure"` @@ -18312,7 +18898,7 @@ func (s *GetParameterHistoryOutput) SetParameters(v []*ParameterHistory) *GetPar return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterRequest type GetParameterInput struct { _ struct{} `type:"structure"` @@ -18364,7 +18950,7 @@ func (s *GetParameterInput) SetWithDecryption(v bool) *GetParameterInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterResult type GetParameterOutput struct { _ struct{} `type:"structure"` @@ -18388,7 +18974,7 @@ func (s *GetParameterOutput) SetParameter(v *Parameter) *GetParameterOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPathRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPathRequest type GetParametersByPathInput struct { _ struct{} `type:"structure"` @@ -18405,9 +18991,7 @@ type GetParametersByPathInput struct { // The hierarchy for the parameter. Hierarchies start with a forward slash (/) // and end with the parameter name. A hierarchy can have a maximum of five levels. - // Examples: /Environment/Test/DBString003 - // - // /Finance/Prod/IAD/OS/WinServ2016/license15 + // For example: /Finance/Prod/IAD/WinServ2016/license15 // // Path is a required field Path *string `min:"1" type:"string" required:"true"` @@ -18494,7 +19078,7 @@ func (s *GetParametersByPathInput) SetWithDecryption(v bool) *GetParametersByPat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPathResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPathResult type GetParametersByPathOutput struct { _ struct{} `type:"structure"` @@ -18528,7 +19112,7 @@ func (s *GetParametersByPathOutput) SetParameters(v []*Parameter) *GetParameters return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersRequest type GetParametersInput struct { _ struct{} `type:"structure"` @@ -18581,7 +19165,7 @@ func (s *GetParametersInput) SetWithDecryption(v bool) *GetParametersInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersResult type GetParametersOutput struct { _ struct{} `type:"structure"` @@ -18615,7 +19199,7 @@ func (s *GetParametersOutput) SetParameters(v []*Parameter) *GetParametersOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroupRequest type GetPatchBaselineForPatchGroupInput struct { _ struct{} `type:"structure"` @@ -18667,7 +19251,7 @@ func (s *GetPatchBaselineForPatchGroupInput) SetPatchGroup(v string) *GetPatchBa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroupResult type GetPatchBaselineForPatchGroupOutput struct { _ struct{} `type:"structure"` @@ -18709,7 +19293,7 @@ func (s *GetPatchBaselineForPatchGroupOutput) SetPatchGroup(v string) *GetPatchB return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineRequest type GetPatchBaselineInput struct { _ struct{} `type:"structure"` @@ -18751,7 +19335,7 @@ func (s *GetPatchBaselineInput) SetBaselineId(v string) *GetPatchBaselineInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineResult type GetPatchBaselineOutput struct { _ struct{} `type:"structure"` @@ -18876,7 +19460,7 @@ func (s *GetPatchBaselineOutput) SetRejectedPatches(v []*string) *GetPatchBaseli } // Status information about the aggregated associations. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAggregatedAssociationOverview +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAggregatedAssociationOverview type InstanceAggregatedAssociationOverview struct { _ struct{} `type:"structure"` @@ -18910,7 +19494,7 @@ func (s *InstanceAggregatedAssociationOverview) SetInstanceAssociationStatusAggr } // One or more association documents on the instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAssociation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAssociation type InstanceAssociation struct { _ struct{} `type:"structure"` @@ -18962,7 +19546,7 @@ func (s *InstanceAssociation) SetInstanceId(v string) *InstanceAssociation { } // An Amazon S3 bucket where you want to store the results of this request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAssociationOutputLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAssociationOutputLocation type InstanceAssociationOutputLocation struct { _ struct{} `type:"structure"` @@ -19002,7 +19586,7 @@ func (s *InstanceAssociationOutputLocation) SetS3Location(v *S3OutputLocation) * } // The URL of Amazon S3 bucket where you want to store the results of this request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAssociationOutputUrl +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAssociationOutputUrl type InstanceAssociationOutputUrl struct { _ struct{} `type:"structure"` @@ -19027,7 +19611,7 @@ func (s *InstanceAssociationOutputUrl) SetS3OutputUrl(v *S3OutputUrl) *InstanceA } // Status information about the instance association. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAssociationStatusInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAssociationStatusInfo type InstanceAssociationStatusInfo struct { _ struct{} `type:"structure"` @@ -19152,7 +19736,7 @@ func (s *InstanceAssociationStatusInfo) SetStatus(v string) *InstanceAssociation } // Describes a filter for a specific list of instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceInformation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceInformation type InstanceInformation struct { _ struct{} `type:"structure"` @@ -19340,7 +19924,7 @@ func (s *InstanceInformation) SetResourceType(v string) *InstanceInformation { } // Describes a filter for a specific list of instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceInformationFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceInformationFilter type InstanceInformationFilter struct { _ struct{} `type:"structure"` @@ -19352,7 +19936,7 @@ type InstanceInformationFilter struct { // The filter values. // // ValueSet is a required field - ValueSet []*string `locationName:"valueSet" locationNameList:"InstanceInformationFilterValue" min:"1" type:"list" required:"true"` + ValueSet []*string `locationName:"valueSet" min:"1" type:"list" required:"true"` } // String returns the string representation @@ -19397,7 +19981,7 @@ func (s *InstanceInformationFilter) SetValueSet(v []*string) *InstanceInformatio } // The filters to describe or get information about your managed instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceInformationStringFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceInformationStringFilter type InstanceInformationStringFilter struct { _ struct{} `type:"structure"` @@ -19412,7 +19996,7 @@ type InstanceInformationStringFilter struct { // The filter values. // // Values is a required field - Values []*string `locationNameList:"InstanceInformationFilterValue" min:"1" type:"list" required:"true"` + Values []*string `min:"1" type:"list" required:"true"` } // String returns the string representation @@ -19463,7 +20047,7 @@ func (s *InstanceInformationStringFilter) SetValues(v []*string) *InstanceInform // information about the number of installed, missing, not applicable, and failed // patches along with metadata about the operation when this information was // gathered for the instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstancePatchState +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstancePatchState type InstancePatchState struct { _ struct{} `type:"structure"` @@ -19617,7 +20201,7 @@ func (s *InstancePatchState) SetSnapshotId(v string) *InstancePatchState { // Defines a filter used in DescribeInstancePatchStatesForPatchGroup used to // scope down the information returned by the API. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstancePatchStateFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstancePatchStateFilter type InstancePatchStateFilter struct { _ struct{} `type:"structure"` @@ -19692,8 +20276,68 @@ func (s *InstancePatchStateFilter) SetValues(v []*string) *InstancePatchStateFil return s } +// Specifies the inventory type and attribute for the aggregation execution. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryAggregator +type InventoryAggregator struct { + _ struct{} `type:"structure"` + + // Nested aggregators to further refine aggregation for an inventory type. + Aggregators []*InventoryAggregator `min:"1" type:"list"` + + // The inventory type and attribute name for aggregation. + Expression *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s InventoryAggregator) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InventoryAggregator) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *InventoryAggregator) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InventoryAggregator"} + if s.Aggregators != nil && len(s.Aggregators) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Aggregators", 1)) + } + if s.Expression != nil && len(*s.Expression) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Expression", 1)) + } + if s.Aggregators != nil { + for i, v := range s.Aggregators { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Aggregators", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAggregators sets the Aggregators field's value. +func (s *InventoryAggregator) SetAggregators(v []*InventoryAggregator) *InventoryAggregator { + s.Aggregators = v + return s +} + +// SetExpression sets the Expression field's value. +func (s *InventoryAggregator) SetExpression(v string) *InventoryAggregator { + s.Expression = &v + return s +} + // One or more filters. Use a filter to return a more specific list of results. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryFilter type InventoryFilter struct { _ struct{} `type:"structure"` @@ -19710,7 +20354,7 @@ type InventoryFilter struct { // i-1a2b3c4d5e6,Type=Equal // // Values is a required field - Values []*string `locationNameList:"FilterValue" min:"1" type:"list" required:"true"` + Values []*string `min:"1" type:"list" required:"true"` } // String returns the string representation @@ -19765,7 +20409,7 @@ func (s *InventoryFilter) SetValues(v []*string) *InventoryFilter { // Information collected from managed instances based on your inventory policy // document -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryItem type InventoryItem struct { _ struct{} `type:"structure"` @@ -19872,7 +20516,7 @@ func (s *InventoryItem) SetTypeName(v string) *InventoryItem { // Attributes are the entries within the inventory item content. It contains // name and value. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryItemAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryItemAttribute type InventoryItemAttribute struct { _ struct{} `type:"structure"` @@ -19911,7 +20555,7 @@ func (s *InventoryItemAttribute) SetName(v string) *InventoryItemAttribute { // The inventory item schema definition. Users can use this to compose inventory // query filters. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryItemSchema +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryItemSchema type InventoryItemSchema struct { _ struct{} `type:"structure"` @@ -19919,7 +20563,11 @@ type InventoryItemSchema struct { // name. // // Attributes is a required field - Attributes []*InventoryItemAttribute `locationNameList:"Attribute" min:"1" type:"list" required:"true"` + Attributes []*InventoryItemAttribute `min:"1" type:"list" required:"true"` + + // The alias name of the inventory type. The alias name is used for display + // purposes. + DisplayName *string `type:"string"` // The name of the inventory type. Default inventory item type names start with // AWS. Custom inventory type names will start with Custom. Default inventory @@ -19949,6 +20597,12 @@ func (s *InventoryItemSchema) SetAttributes(v []*InventoryItemAttribute) *Invent return s } +// SetDisplayName sets the DisplayName field's value. +func (s *InventoryItemSchema) SetDisplayName(v string) *InventoryItemSchema { + s.DisplayName = &v + return s +} + // SetTypeName sets the TypeName field's value. func (s *InventoryItemSchema) SetTypeName(v string) *InventoryItemSchema { s.TypeName = &v @@ -19962,11 +20616,11 @@ func (s *InventoryItemSchema) SetVersion(v string) *InventoryItemSchema { } // Inventory query results. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryResultEntity +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryResultEntity type InventoryResultEntity struct { _ struct{} `type:"structure"` - // The data section in the inventory result entity json. + // The data section in the inventory result entity JSON. Data map[string]*InventoryResultItem `type:"map"` // ID of the inventory result entity. For example, for managed instance inventory @@ -19998,7 +20652,7 @@ func (s *InventoryResultEntity) SetId(v string) *InventoryResultEntity { } // The inventory result item. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryResultItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryResultItem type InventoryResultItem struct { _ struct{} `type:"structure"` @@ -20068,7 +20722,7 @@ func (s *InventoryResultItem) SetTypeName(v string) *InventoryResultItem { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersionsRequest type ListAssociationVersionsInput struct { _ struct{} `type:"structure"` @@ -20130,7 +20784,7 @@ func (s *ListAssociationVersionsInput) SetNextToken(v string) *ListAssociationVe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersionsResult type ListAssociationVersionsOutput struct { _ struct{} `type:"structure"` @@ -20165,12 +20819,12 @@ func (s *ListAssociationVersionsOutput) SetNextToken(v string) *ListAssociationV return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationsRequest type ListAssociationsInput struct { _ struct{} `type:"structure"` // One or more filters. Use a filter to return a more specific list of results. - AssociationFilterList []*AssociationFilter `locationNameList:"AssociationFilter" min:"1" type:"list"` + AssociationFilterList []*AssociationFilter `min:"1" type:"list"` // The maximum number of items to return for this call. The call also returns // a token that you can specify in a subsequent call to get the next set of @@ -20236,12 +20890,12 @@ func (s *ListAssociationsInput) SetNextToken(v string) *ListAssociationsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationsResult type ListAssociationsOutput struct { _ struct{} `type:"structure"` // The associations. - Associations []*Association `locationNameList:"Association" type:"list"` + Associations []*Association `type:"list"` // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. @@ -20270,7 +20924,7 @@ func (s *ListAssociationsOutput) SetNextToken(v string) *ListAssociationsOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocationsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocationsRequest type ListCommandInvocationsInput struct { _ struct{} `type:"structure"` @@ -20373,7 +21027,7 @@ func (s *ListCommandInvocationsInput) SetNextToken(v string) *ListCommandInvocat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocationsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocationsResult type ListCommandInvocationsOutput struct { _ struct{} `type:"structure"` @@ -20407,7 +21061,7 @@ func (s *ListCommandInvocationsOutput) SetNextToken(v string) *ListCommandInvoca return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandsRequest type ListCommandsInput struct { _ struct{} `type:"structure"` @@ -20500,7 +21154,7 @@ func (s *ListCommandsInput) SetNextToken(v string) *ListCommandsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandsResult type ListCommandsOutput struct { _ struct{} `type:"structure"` @@ -20534,13 +21188,13 @@ func (s *ListCommandsOutput) SetNextToken(v string) *ListCommandsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItemsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItemsRequest type ListComplianceItemsInput struct { _ struct{} `type:"structure"` // One or more compliance filters. Use a filter to return a more specific list // of results. - Filters []*ComplianceStringFilter `locationNameList:"ComplianceFilter" type:"list"` + Filters []*ComplianceStringFilter `type:"list"` // The maximum number of items to return for this call. The call also returns // a token that you can specify in a subsequent call to get the next set of @@ -20628,12 +21282,12 @@ func (s *ListComplianceItemsInput) SetResourceTypes(v []*string) *ListCompliance return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItemsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItemsResult type ListComplianceItemsOutput struct { _ struct{} `type:"structure"` // A list of compliance information for the specified resource ID. - ComplianceItems []*ComplianceItem `locationNameList:"Item" type:"list"` + ComplianceItems []*ComplianceItem `type:"list"` // The token for the next set of items to return. Use this token to get the // next set of results. @@ -20662,13 +21316,13 @@ func (s *ListComplianceItemsOutput) SetNextToken(v string) *ListComplianceItemsO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummariesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummariesRequest type ListComplianceSummariesInput struct { _ struct{} `type:"structure"` // One or more compliance or inventory filters. Use a filter to return a more // specific list of results. - Filters []*ComplianceStringFilter `locationNameList:"ComplianceFilter" type:"list"` + Filters []*ComplianceStringFilter `type:"list"` // The maximum number of items to return for this call. Currently, you can specify // null or 50. The call also returns a token that you can specify in a subsequent @@ -20730,14 +21384,14 @@ func (s *ListComplianceSummariesInput) SetNextToken(v string) *ListComplianceSum return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummariesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummariesResult type ListComplianceSummariesOutput struct { _ struct{} `type:"structure"` // A list of compliant and non-compliant summary counts based on compliance // types. For example, this call returns State Manager associations, patches, // or custom compliance types according to the filter criteria that you specified. - ComplianceSummaryItems []*ComplianceSummaryItem `locationNameList:"Item" type:"list"` + ComplianceSummaryItems []*ComplianceSummaryItem `type:"list"` // The token for the next set of items to return. Use this token to get the // next set of results. @@ -20766,7 +21420,7 @@ func (s *ListComplianceSummariesOutput) SetNextToken(v string) *ListComplianceSu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersionsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersionsRequest type ListDocumentVersionsInput struct { _ struct{} `type:"structure"` @@ -20829,7 +21483,7 @@ func (s *ListDocumentVersionsInput) SetNextToken(v string) *ListDocumentVersions return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersionsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersionsResult type ListDocumentVersionsOutput struct { _ struct{} `type:"structure"` @@ -20863,12 +21517,12 @@ func (s *ListDocumentVersionsOutput) SetNextToken(v string) *ListDocumentVersion return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentsRequest type ListDocumentsInput struct { _ struct{} `type:"structure"` // One or more filters. Use a filter to return a more specific list of results. - DocumentFilterList []*DocumentFilter `locationNameList:"DocumentFilter" min:"1" type:"list"` + DocumentFilterList []*DocumentFilter `min:"1" type:"list"` // One or more filters. Use a filter to return a more specific list of results. Filters []*DocumentKeyValuesFilter `type:"list"` @@ -20953,12 +21607,12 @@ func (s *ListDocumentsInput) SetNextToken(v string) *ListDocumentsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentsResult type ListDocumentsOutput struct { _ struct{} `type:"structure"` // The names of the Systems Manager documents. - DocumentIdentifiers []*DocumentIdentifier `locationNameList:"DocumentIdentifier" type:"list"` + DocumentIdentifiers []*DocumentIdentifier `type:"list"` // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. @@ -20987,12 +21641,12 @@ func (s *ListDocumentsOutput) SetNextToken(v string) *ListDocumentsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListInventoryEntriesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListInventoryEntriesRequest type ListInventoryEntriesInput struct { _ struct{} `type:"structure"` // One or more filters. Use a filter to return a more specific list of results. - Filters []*InventoryFilter `locationNameList:"InventoryFilter" min:"1" type:"list"` + Filters []*InventoryFilter `min:"1" type:"list"` // The instance ID for which you want inventory information. // @@ -21089,7 +21743,7 @@ func (s *ListInventoryEntriesInput) SetTypeName(v string) *ListInventoryEntriesI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListInventoryEntriesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListInventoryEntriesResult type ListInventoryEntriesOutput struct { _ struct{} `type:"structure"` @@ -21159,12 +21813,12 @@ func (s *ListInventoryEntriesOutput) SetTypeName(v string) *ListInventoryEntries return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummariesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummariesRequest type ListResourceComplianceSummariesInput struct { _ struct{} `type:"structure"` // One or more filters. Use a filter to return a more specific list of results. - Filters []*ComplianceStringFilter `locationNameList:"ComplianceFilter" type:"list"` + Filters []*ComplianceStringFilter `type:"list"` // The maximum number of items to return for this call. The call also returns // a token that you can specify in a subsequent call to get the next set of @@ -21226,7 +21880,7 @@ func (s *ListResourceComplianceSummariesInput) SetNextToken(v string) *ListResou return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummariesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummariesResult type ListResourceComplianceSummariesOutput struct { _ struct{} `type:"structure"` @@ -21237,7 +21891,7 @@ type ListResourceComplianceSummariesOutput struct { // A summary count for specified or targeted managed instances. Summary count // includes information about compliant and non-compliant State Manager associations, // patch status, or custom items according to the filter criteria that you specify. - ResourceComplianceSummaryItems []*ResourceComplianceSummaryItem `locationNameList:"Item" type:"list"` + ResourceComplianceSummaryItems []*ResourceComplianceSummaryItem `type:"list"` } // String returns the string representation @@ -21262,7 +21916,7 @@ func (s *ListResourceComplianceSummariesOutput) SetResourceComplianceSummaryItem return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSyncRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSyncRequest type ListResourceDataSyncInput struct { _ struct{} `type:"structure"` @@ -21310,7 +21964,7 @@ func (s *ListResourceDataSyncInput) SetNextToken(v string) *ListResourceDataSync return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSyncResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSyncResult type ListResourceDataSyncOutput struct { _ struct{} `type:"structure"` @@ -21344,7 +21998,7 @@ func (s *ListResourceDataSyncOutput) SetResourceDataSyncItems(v []*ResourceDataS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListTagsForResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListTagsForResourceRequest type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -21397,7 +22051,7 @@ func (s *ListTagsForResourceInput) SetResourceType(v string) *ListTagsForResourc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListTagsForResourceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListTagsForResourceResult type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -21422,7 +22076,7 @@ func (s *ListTagsForResourceOutput) SetTagList(v []*Tag) *ListTagsForResourceOut } // Information about an Amazon S3 bucket to write instance-level logs to. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/LoggingInfo +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/LoggingInfo type LoggingInfo struct { _ struct{} `type:"structure"` @@ -21491,7 +22145,7 @@ func (s *LoggingInfo) SetS3Region(v string) *LoggingInfo { } // The parameters for an AUTOMATION task type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowAutomationParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowAutomationParameters type MaintenanceWindowAutomationParameters struct { _ struct{} `type:"structure"` @@ -21538,7 +22192,7 @@ func (s *MaintenanceWindowAutomationParameters) SetParameters(v map[string][]*st } // Describes the information about an execution of a Maintenance Window. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowExecution type MaintenanceWindowExecution struct { _ struct{} `type:"structure"` @@ -21609,7 +22263,7 @@ func (s *MaintenanceWindowExecution) SetWindowId(v string) *MaintenanceWindowExe // Information about a task execution performed as part of a Maintenance Window // execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowExecutionTaskIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowExecutionTaskIdentity type MaintenanceWindowExecutionTaskIdentity struct { _ struct{} `type:"structure"` @@ -21699,7 +22353,7 @@ func (s *MaintenanceWindowExecutionTaskIdentity) SetWindowExecutionId(v string) // Describes the information about a task invocation for a particular target // as part of a task execution performed as part of a Maintenance Window execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowExecutionTaskInvocationIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowExecutionTaskInvocationIdentity type MaintenanceWindowExecutionTaskInvocationIdentity struct { _ struct{} `type:"structure"` @@ -21828,7 +22482,7 @@ func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetWindowTargetId(v s } // Filter used in the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowFilter type MaintenanceWindowFilter struct { _ struct{} `type:"structure"` @@ -21875,7 +22529,7 @@ func (s *MaintenanceWindowFilter) SetValues(v []*string) *MaintenanceWindowFilte } // Information about the Maintenance Window. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowIdentity type MaintenanceWindowIdentity struct { _ struct{} `type:"structure"` @@ -21946,7 +22600,7 @@ func (s *MaintenanceWindowIdentity) SetWindowId(v string) *MaintenanceWindowIden } // The parameters for a LAMBDA task type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowLambdaParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowLambdaParameters type MaintenanceWindowLambdaParameters struct { _ struct{} `type:"structure"` @@ -22012,7 +22666,7 @@ func (s *MaintenanceWindowLambdaParameters) SetQualifier(v string) *MaintenanceW } // The parameters for a RUN_COMMAND task type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowRunCommandParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowRunCommandParameters type MaintenanceWindowRunCommandParameters struct { _ struct{} `type:"structure"` @@ -22128,7 +22782,7 @@ func (s *MaintenanceWindowRunCommandParameters) SetTimeoutSeconds(v int64) *Main } // The parameters for the STEP_FUNCTION execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowStepFunctionsParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowStepFunctionsParameters type MaintenanceWindowStepFunctionsParameters struct { _ struct{} `type:"structure"` @@ -22175,7 +22829,7 @@ func (s *MaintenanceWindowStepFunctionsParameters) SetName(v string) *Maintenanc } // The target registered with the Maintenance Window. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTarget +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTarget type MaintenanceWindowTarget struct { _ struct{} `type:"structure"` @@ -22256,7 +22910,7 @@ func (s *MaintenanceWindowTarget) SetWindowTargetId(v string) *MaintenanceWindow } // Information about a task defined for a Maintenance Window. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTask +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTask type MaintenanceWindowTask struct { _ struct{} `type:"structure"` @@ -22396,7 +23050,7 @@ func (s *MaintenanceWindowTask) SetWindowTaskId(v string) *MaintenanceWindowTask } // The parameters for task execution. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTaskInvocationParameters +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTaskInvocationParameters type MaintenanceWindowTaskInvocationParameters struct { _ struct{} `type:"structure"` @@ -22478,7 +23132,7 @@ func (s *MaintenanceWindowTaskInvocationParameters) SetStepFunctions(v *Maintena } // Defines the values for a task parameter. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTaskParameterValueExpression +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTaskParameterValueExpression type MaintenanceWindowTaskParameterValueExpression struct { _ struct{} `type:"structure"` @@ -22503,19 +23157,19 @@ func (s *MaintenanceWindowTaskParameterValueExpression) SetValues(v []*string) * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermissionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermissionRequest type ModifyDocumentPermissionInput struct { _ struct{} `type:"structure"` // The AWS user accounts that should have access to the document. The account // IDs can either be a group of account IDs or All. - AccountIdsToAdd []*string `locationNameList:"AccountId" type:"list"` + AccountIdsToAdd []*string `type:"list"` // The AWS user accounts that should no longer have access to the document. // The AWS user account can either be a group of account IDs or All. This action // has a higher priority than AccountIdsToAdd. If you specify an account ID // to add and the same ID to remove, the system removes access to the document. - AccountIdsToRemove []*string `locationNameList:"AccountId" type:"list"` + AccountIdsToRemove []*string `type:"list"` // The name of the document that you want to share. // @@ -22578,7 +23232,7 @@ func (s *ModifyDocumentPermissionInput) SetPermissionType(v string) *ModifyDocum return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermissionResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermissionResponse type ModifyDocumentPermissionOutput struct { _ struct{} `type:"structure"` } @@ -22595,7 +23249,7 @@ func (s ModifyDocumentPermissionOutput) GoString() string { // A summary of resources that are not compliant. The summary is organized according // to resource type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/NonCompliantSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/NonCompliantSummary type NonCompliantSummary struct { _ struct{} `type:"structure"` @@ -22629,7 +23283,7 @@ func (s *NonCompliantSummary) SetSeveritySummary(v *SeveritySummary) *NonComplia } // Configurations for sending notifications. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/NotificationConfig +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/NotificationConfig type NotificationConfig struct { _ struct{} `type:"structure"` @@ -22641,7 +23295,7 @@ type NotificationConfig struct { // include the following: All (events), InProgress, Success, TimedOut, Cancelled, // Failed. To learn more about these events, see Setting Up Events and Notifications // (http://docs.aws.amazon.com/systems-manager/latest/userguide/monitor-commands.html) - // in the Amazon EC2 Systems Manager User Guide. + // in the AWS Systems Manager User Guide. NotificationEvents []*string `type:"list"` // Command: Receive notification when the status of a command changes. Invocation: @@ -22679,7 +23333,7 @@ func (s *NotificationConfig) SetNotificationType(v string) *NotificationConfig { } // An Amazon EC2 Systems Manager parameter in Parameter Store. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Parameter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Parameter type Parameter struct { _ struct{} `type:"structure"` @@ -22732,7 +23386,7 @@ func (s *Parameter) SetVersion(v int64) *Parameter { } // Information about parameter usage. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterHistory +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterHistory type ParameterHistory struct { _ struct{} `type:"structure"` @@ -22832,7 +23486,7 @@ func (s *ParameterHistory) SetVersion(v int64) *ParameterHistory { // Metada includes information like the ARN of the last user and the date/time // the parameter was last used. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterMetadata +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterMetadata type ParameterMetadata struct { _ struct{} `type:"structure"` @@ -22923,7 +23577,7 @@ func (s *ParameterMetadata) SetVersion(v int64) *ParameterMetadata { } // One or more filters. Use a filter to return a more specific list of results. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterStringFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterStringFilter type ParameterStringFilter struct { _ struct{} `type:"structure"` @@ -22991,7 +23645,7 @@ func (s *ParameterStringFilter) SetValues(v []*string) *ParameterStringFilter { } // One or more filters. Use a filter to return a more specific list of results. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParametersFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParametersFilter type ParametersFilter struct { _ struct{} `type:"structure"` @@ -23048,7 +23702,7 @@ func (s *ParametersFilter) SetValues(v []*string) *ParametersFilter { } // Represents metadata about a patch. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Patch +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Patch type Patch struct { _ struct{} `type:"structure"` @@ -23182,7 +23836,7 @@ func (s *Patch) SetVendor(v string) *Patch { } // Defines the basic information about a patch baseline. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchBaselineIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchBaselineIdentity type PatchBaselineIdentity struct { _ struct{} `type:"structure"` @@ -23200,9 +23854,8 @@ type PatchBaselineIdentity struct { // default patch baseline for each operating system. DefaultBaseline *bool `type:"boolean"` - // Defines the operating system the patch baseline applies to. Supported operating - // systems include WINDOWS, AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. - // The Default value is WINDOWS. + // Defines the operating system the patch baseline applies to. The Default value + // is WINDOWS. OperatingSystem *string `type:"string" enum:"OperatingSystem"` } @@ -23248,7 +23901,7 @@ func (s *PatchBaselineIdentity) SetOperatingSystem(v string) *PatchBaselineIdent // Information about the state of a patch on a particular instance as it relates // to the patch baseline used to patch the instance. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchComplianceData +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchComplianceData type PatchComplianceData struct { _ struct{} `type:"structure"` @@ -23332,7 +23985,7 @@ func (s *PatchComplianceData) SetTitle(v string) *PatchComplianceData { } // Defines a patch filter. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchFilter type PatchFilter struct { _ struct{} `type:"structure"` @@ -23389,7 +24042,7 @@ func (s *PatchFilter) SetValues(v []*string) *PatchFilter { } // A set of patch filters, typically used for approval rules. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchFilterGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchFilterGroup type PatchFilterGroup struct { _ struct{} `type:"structure"` @@ -23440,7 +24093,7 @@ func (s *PatchFilterGroup) SetPatchFilters(v []*PatchFilter) *PatchFilterGroup { // The mapping between a patch group and the patch baseline the patch group // is registered with. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchGroupPatchBaselineMapping +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchGroupPatchBaselineMapping type PatchGroupPatchBaselineMapping struct { _ struct{} `type:"structure"` @@ -23474,7 +24127,7 @@ func (s *PatchGroupPatchBaselineMapping) SetPatchGroup(v string) *PatchGroupPatc } // Defines a filter used in Patch Manager APIs. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchOrchestratorFilter +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchOrchestratorFilter type PatchOrchestratorFilter struct { _ struct{} `type:"structure"` @@ -23521,7 +24174,7 @@ func (s *PatchOrchestratorFilter) SetValues(v []*string) *PatchOrchestratorFilte } // Defines an approval rule for a patch baseline. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchRule type PatchRule struct { _ struct{} `type:"structure"` @@ -23592,7 +24245,7 @@ func (s *PatchRule) SetPatchFilterGroup(v *PatchFilterGroup) *PatchRule { } // A set of rules defining the approval rules for a patch baseline. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchRuleGroup +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchRuleGroup type PatchRuleGroup struct { _ struct{} `type:"structure"` @@ -23642,7 +24295,7 @@ func (s *PatchRuleGroup) SetPatchRules(v []*PatchRule) *PatchRuleGroup { } // Information about the approval status of a patch. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchStatus type PatchStatus struct { _ struct{} `type:"structure"` @@ -23685,7 +24338,7 @@ func (s *PatchStatus) SetDeploymentStatus(v string) *PatchStatus { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItemsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItemsRequest type PutComplianceItemsInput struct { _ struct{} `type:"structure"` @@ -23822,7 +24475,7 @@ func (s *PutComplianceItemsInput) SetResourceType(v string) *PutComplianceItemsI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItemsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItemsResult type PutComplianceItemsOutput struct { _ struct{} `type:"structure"` } @@ -23837,7 +24490,7 @@ func (s PutComplianceItemsOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventoryRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventoryRequest type PutInventoryInput struct { _ struct{} `type:"structure"` @@ -23849,7 +24502,7 @@ type PutInventoryInput struct { // The inventory items that you want to add or update on instances. // // Items is a required field - Items []*InventoryItem `locationNameList:"Item" min:"1" type:"list" required:"true"` + Items []*InventoryItem `min:"1" type:"list" required:"true"` } // String returns the string representation @@ -23903,7 +24556,7 @@ func (s *PutInventoryInput) SetItems(v []*InventoryItem) *PutInventoryInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventoryResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventoryResult type PutInventoryOutput struct { _ struct{} `type:"structure"` } @@ -23918,7 +24571,7 @@ func (s PutInventoryOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameterRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameterRequest type PutParameterInput struct { _ struct{} `type:"structure"` @@ -23927,7 +24580,7 @@ type PutParameterInput struct { // AllowedPattern=^\d+$ AllowedPattern *string `type:"string"` - // Information about the parameter that you want to add to the system + // Information about the parameter that you want to add to the system. Description *string `type:"string"` // The KMS Key ID that you want to use to encrypt a parameter when you choose @@ -23935,7 +24588,13 @@ type PutParameterInput struct { // the default key associated with your AWS account. KeyId *string `min:"1" type:"string"` - // The name of the parameter that you want to add to the system. + // The fully qualified name of the parameter that you want to add to the system. + // The fully qualified name includes the complete hierarchy of the parameter + // path and name. For example: /Dev/DBServer/MySQL/db-string13 + // + // The maximum length constraint listed below includes capacity for additional + // system attributes that are not part of the name. The maximum length for the + // fully qualified parameter name is 1011 characters. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -24034,7 +24693,7 @@ func (s *PutParameterInput) SetValue(v string) *PutParameterInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameterResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameterResult type PutParameterOutput struct { _ struct{} `type:"structure"` @@ -24063,7 +24722,7 @@ func (s *PutParameterOutput) SetVersion(v int64) *PutParameterOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultPatchBaselineRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultPatchBaselineRequest type RegisterDefaultPatchBaselineInput struct { _ struct{} `type:"structure"` @@ -24105,7 +24764,7 @@ func (s *RegisterDefaultPatchBaselineInput) SetBaselineId(v string) *RegisterDef return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultPatchBaselineResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultPatchBaselineResult type RegisterDefaultPatchBaselineOutput struct { _ struct{} `type:"structure"` @@ -24129,7 +24788,7 @@ func (s *RegisterDefaultPatchBaselineOutput) SetBaselineId(v string) *RegisterDe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterPatchBaselineForPatchGroupRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterPatchBaselineForPatchGroupRequest type RegisterPatchBaselineForPatchGroupInput struct { _ struct{} `type:"structure"` @@ -24188,7 +24847,7 @@ func (s *RegisterPatchBaselineForPatchGroupInput) SetPatchGroup(v string) *Regis return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterPatchBaselineForPatchGroupResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterPatchBaselineForPatchGroupResult type RegisterPatchBaselineForPatchGroupOutput struct { _ struct{} `type:"structure"` @@ -24221,7 +24880,7 @@ func (s *RegisterPatchBaselineForPatchGroupOutput) SetPatchGroup(v string) *Regi return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTargetWithMaintenanceWindowRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTargetWithMaintenanceWindowRequest type RegisterTargetWithMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -24351,7 +25010,7 @@ func (s *RegisterTargetWithMaintenanceWindowInput) SetWindowId(v string) *Regist return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTargetWithMaintenanceWindowResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTargetWithMaintenanceWindowResult type RegisterTargetWithMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -24375,7 +25034,7 @@ func (s *RegisterTargetWithMaintenanceWindowOutput) SetWindowTargetId(v string) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindowRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindowRequest type RegisterTaskWithMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -24607,7 +25266,7 @@ func (s *RegisterTaskWithMaintenanceWindowInput) SetWindowId(v string) *Register return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindowResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindowResult type RegisterTaskWithMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -24631,7 +25290,7 @@ func (s *RegisterTaskWithMaintenanceWindowOutput) SetWindowTaskId(v string) *Reg return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RemoveTagsFromResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RemoveTagsFromResourceRequest type RemoveTagsFromResourceInput struct { _ struct{} `type:"structure"` @@ -24698,7 +25357,7 @@ func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromRes return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RemoveTagsFromResourceResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RemoveTagsFromResourceResult type RemoveTagsFromResourceOutput struct { _ struct{} `type:"structure"` } @@ -24713,8 +25372,43 @@ func (s RemoveTagsFromResourceOutput) GoString() string { return s.String() } +// Information about targets that resolved during the Automation execution. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResolvedTargets +type ResolvedTargets struct { + _ struct{} `type:"structure"` + + // A list of parameter values sent to targets that resolved during the Automation + // execution. + ParameterValues []*string `type:"list"` + + // A boolean value indicating whether the resolved target list is truncated. + Truncated *bool `type:"boolean"` +} + +// String returns the string representation +func (s ResolvedTargets) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ResolvedTargets) GoString() string { + return s.String() +} + +// SetParameterValues sets the ParameterValues field's value. +func (s *ResolvedTargets) SetParameterValues(v []*string) *ResolvedTargets { + s.ParameterValues = v + return s +} + +// SetTruncated sets the Truncated field's value. +func (s *ResolvedTargets) SetTruncated(v bool) *ResolvedTargets { + s.Truncated = &v + return s +} + // Compliance summary information for a specific resource. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceComplianceSummaryItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceComplianceSummaryItem type ResourceComplianceSummaryItem struct { _ struct{} `type:"structure"` @@ -24804,7 +25498,7 @@ func (s *ResourceComplianceSummaryItem) SetStatus(v string) *ResourceComplianceS // Information about a Resource Data Sync configuration, including its current // status and last successful sync. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncItem +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncItem type ResourceDataSyncItem struct { _ struct{} `type:"structure"` @@ -24874,7 +25568,7 @@ func (s *ResourceDataSyncItem) SetSyncName(v string) *ResourceDataSyncItem { } // Information about the target Amazon S3 bucket for the Resource Data Sync. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncS3Destination +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncS3Destination type ResourceDataSyncS3Destination struct { _ struct{} `type:"structure"` @@ -24973,7 +25667,7 @@ func (s *ResourceDataSyncS3Destination) SetSyncFormat(v string) *ResourceDataSyn } // The inventory item result attribute. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResultAttribute +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResultAttribute type ResultAttribute struct { _ struct{} `type:"structure"` @@ -25017,7 +25711,7 @@ func (s *ResultAttribute) SetTypeName(v string) *ResultAttribute { } // An Amazon S3 bucket where you want to store the results of this request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/S3OutputLocation +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/S3OutputLocation type S3OutputLocation struct { _ struct{} `type:"structure"` @@ -25079,7 +25773,7 @@ func (s *S3OutputLocation) SetOutputS3Region(v string) *S3OutputLocation { // A URL for the Amazon S3 bucket where you want to store the results of this // request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/S3OutputUrl +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/S3OutputUrl type S3OutputUrl struct { _ struct{} `type:"structure"` @@ -25104,7 +25798,7 @@ func (s *S3OutputUrl) SetOutputUrl(v string) *S3OutputUrl { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignalRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignalRequest type SendAutomationSignalInput struct { _ struct{} `type:"structure"` @@ -25175,7 +25869,7 @@ func (s *SendAutomationSignalInput) SetSignalType(v string) *SendAutomationSigna return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignalResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignalResult type SendAutomationSignalOutput struct { _ struct{} `type:"structure"` } @@ -25190,7 +25884,7 @@ func (s SendAutomationSignalOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommandRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommandRequest type SendCommandInput struct { _ struct{} `type:"structure"` @@ -25404,7 +26098,7 @@ func (s *SendCommandInput) SetTimeoutSeconds(v int64) *SendCommandInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommandResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommandResult type SendCommandOutput struct { _ struct{} `type:"structure"` @@ -25431,7 +26125,7 @@ func (s *SendCommandOutput) SetCommand(v *Command) *SendCommandOutput { // The number of managed instances found for each patch severity level defined // in the request filter. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SeveritySummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SeveritySummary type SeveritySummary struct { _ struct{} `type:"structure"` @@ -25512,7 +26206,7 @@ func (s *SeveritySummary) SetUnspecifiedCount(v int64) *SeveritySummary { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecutionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecutionRequest type StartAutomationExecutionInput struct { _ struct{} `type:"structure"` @@ -25528,9 +26222,41 @@ type StartAutomationExecutionInput struct { // The version of the Automation document to use for this execution. DocumentVersion *string `type:"string"` + // The maximum number of targets allowed to run this task in parallel. You can + // specify a number, such as 10, or a percentage, such as 10%. The default value + // is 10. + MaxConcurrency *string `min:"1" type:"string"` + + // The number of errors that are allowed before the system stops running the + // automation on additional targets. You can specify either an absolute number + // of errors, for example 10, or a percentage of the target set, for example + // 10%. If you specify 3, for example, the system stops running the automation + // when the fourth error is received. If you specify 0, then the system stops + // running the automation on additional targets after the first error result + // is returned. If you run an automation on 50 resources and set max-errors + // to 10%, then the system stops running the automation on additional targets + // when the sixth error is received. + // + // Executions that are already running an automation when max-errors is reached + // are allowed to complete, but some of these executions may fail as well. If + // you need to ensure that there won't be more than max-errors failed executions, + // set max-concurrency to 1 so the executions proceed one at a time. + MaxErrors *string `min:"1" type:"string"` + + // The execution mode of the automation. Valid modes include the following: + // Auto and Interactive. The default mode is Auto. + Mode *string `type:"string" enum:"ExecutionMode"` + // A key-value map of execution parameters, which match the declared parameters // in the Automation document. Parameters map[string][]*string `min:"1" type:"map"` + + // The name of the parameter used as the target resource for the rate-controlled + // execution. Required if you specify Targets. + TargetParameterName *string `min:"1" type:"string"` + + // A key-value mapping to target resources. Required if you specify TargetParameterName. + Targets []*Target `type:"list"` } // String returns the string representation @@ -25552,9 +26278,28 @@ func (s *StartAutomationExecutionInput) Validate() error { if s.DocumentName == nil { invalidParams.Add(request.NewErrParamRequired("DocumentName")) } + if s.MaxConcurrency != nil && len(*s.MaxConcurrency) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MaxConcurrency", 1)) + } + if s.MaxErrors != nil && len(*s.MaxErrors) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MaxErrors", 1)) + } if s.Parameters != nil && len(s.Parameters) < 1 { invalidParams.Add(request.NewErrParamMinLen("Parameters", 1)) } + if s.TargetParameterName != nil && len(*s.TargetParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TargetParameterName", 1)) + } + if s.Targets != nil { + for i, v := range s.Targets { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Targets", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -25580,13 +26325,43 @@ func (s *StartAutomationExecutionInput) SetDocumentVersion(v string) *StartAutom return s } +// SetMaxConcurrency sets the MaxConcurrency field's value. +func (s *StartAutomationExecutionInput) SetMaxConcurrency(v string) *StartAutomationExecutionInput { + s.MaxConcurrency = &v + return s +} + +// SetMaxErrors sets the MaxErrors field's value. +func (s *StartAutomationExecutionInput) SetMaxErrors(v string) *StartAutomationExecutionInput { + s.MaxErrors = &v + return s +} + +// SetMode sets the Mode field's value. +func (s *StartAutomationExecutionInput) SetMode(v string) *StartAutomationExecutionInput { + s.Mode = &v + return s +} + // SetParameters sets the Parameters field's value. func (s *StartAutomationExecutionInput) SetParameters(v map[string][]*string) *StartAutomationExecutionInput { s.Parameters = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecutionResult +// SetTargetParameterName sets the TargetParameterName field's value. +func (s *StartAutomationExecutionInput) SetTargetParameterName(v string) *StartAutomationExecutionInput { + s.TargetParameterName = &v + return s +} + +// SetTargets sets the Targets field's value. +func (s *StartAutomationExecutionInput) SetTargets(v []*Target) *StartAutomationExecutionInput { + s.Targets = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecutionResult type StartAutomationExecutionOutput struct { _ struct{} `type:"structure"` @@ -25611,7 +26386,7 @@ func (s *StartAutomationExecutionOutput) SetAutomationExecutionId(v string) *Sta } // Detailed information about an the execution state of an Automation step. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StepExecution +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StepExecution type StepExecution struct { _ struct{} `type:"structure"` @@ -25636,21 +26411,37 @@ type StepExecution struct { // Fully-resolved values passed into the step before execution. Inputs map[string]*string `type:"map"` + // The maximum number of tries to run the action of the step. The default value + // is 1. + MaxAttempts *int64 `type:"integer"` + + // The action to take if the step fails. The default value is Abort. + OnFailure *string `type:"string"` + // Returned values from the execution of the step. Outputs map[string][]*string `min:"1" type:"map"` + // A user-specified list of parameters to override when executing a step. + OverriddenParameters map[string][]*string `min:"1" type:"map"` + // A message associated with the response code for an execution. Response *string `type:"string"` // The response code returned by the execution of the step. ResponseCode *string `type:"string"` + // The unique ID of a step execution. + StepExecutionId *string `type:"string"` + // The name of this execution step. StepName *string `type:"string"` // The execution status for this step. Valid values include: Pending, InProgress, // Success, Cancelled, Failed, and TimedOut. StepStatus *string `type:"string" enum:"AutomationExecutionStatus"` + + // The timeout seconds of the step. + TimeoutSeconds *int64 `type:"long"` } // String returns the string representation @@ -25699,12 +26490,30 @@ func (s *StepExecution) SetInputs(v map[string]*string) *StepExecution { return s } +// SetMaxAttempts sets the MaxAttempts field's value. +func (s *StepExecution) SetMaxAttempts(v int64) *StepExecution { + s.MaxAttempts = &v + return s +} + +// SetOnFailure sets the OnFailure field's value. +func (s *StepExecution) SetOnFailure(v string) *StepExecution { + s.OnFailure = &v + return s +} + // SetOutputs sets the Outputs field's value. func (s *StepExecution) SetOutputs(v map[string][]*string) *StepExecution { s.Outputs = v return s } +// SetOverriddenParameters sets the OverriddenParameters field's value. +func (s *StepExecution) SetOverriddenParameters(v map[string][]*string) *StepExecution { + s.OverriddenParameters = v + return s +} + // SetResponse sets the Response field's value. func (s *StepExecution) SetResponse(v string) *StepExecution { s.Response = &v @@ -25717,6 +26526,12 @@ func (s *StepExecution) SetResponseCode(v string) *StepExecution { return s } +// SetStepExecutionId sets the StepExecutionId field's value. +func (s *StepExecution) SetStepExecutionId(v string) *StepExecution { + s.StepExecutionId = &v + return s +} + // SetStepName sets the StepName field's value. func (s *StepExecution) SetStepName(v string) *StepExecution { s.StepName = &v @@ -25729,7 +26544,73 @@ func (s *StepExecution) SetStepStatus(v string) *StepExecution { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecutionRequest +// SetTimeoutSeconds sets the TimeoutSeconds field's value. +func (s *StepExecution) SetTimeoutSeconds(v int64) *StepExecution { + s.TimeoutSeconds = &v + return s +} + +// A filter to limit the amount of step execution information returned by the +// call. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StepExecutionFilter +type StepExecutionFilter struct { + _ struct{} `type:"structure"` + + // One or more keys to limit the results. Valid filter keys include the following: + // StepName, Action, StepExecutionId, StepExecutionStatus, StartTimeBefore, + // StartTimeAfter. + // + // Key is a required field + Key *string `type:"string" required:"true" enum:"StepExecutionFilterKey"` + + // The values of the filter key. + // + // Values is a required field + Values []*string `min:"1" type:"list" required:"true"` +} + +// String returns the string representation +func (s StepExecutionFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StepExecutionFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StepExecutionFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StepExecutionFilter"} + if s.Key == nil { + invalidParams.Add(request.NewErrParamRequired("Key")) + } + if s.Values == nil { + invalidParams.Add(request.NewErrParamRequired("Values")) + } + if s.Values != nil && len(s.Values) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Values", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetKey sets the Key field's value. +func (s *StepExecutionFilter) SetKey(v string) *StepExecutionFilter { + s.Key = &v + return s +} + +// SetValues sets the Values field's value. +func (s *StepExecutionFilter) SetValues(v []*string) *StepExecutionFilter { + s.Values = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecutionRequest type StopAutomationExecutionInput struct { _ struct{} `type:"structure"` @@ -25737,6 +26618,10 @@ type StopAutomationExecutionInput struct { // // AutomationExecutionId is a required field AutomationExecutionId *string `min:"36" type:"string" required:"true"` + + // The stop request type. Valid types include the following: Cancel and Complete. + // The default type is Cancel. + Type *string `type:"string" enum:"StopType"` } // String returns the string representation @@ -25771,7 +26656,13 @@ func (s *StopAutomationExecutionInput) SetAutomationExecutionId(v string) *StopA return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecutionResult +// SetType sets the Type field's value. +func (s *StopAutomationExecutionInput) SetType(v string) *StopAutomationExecutionInput { + s.Type = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecutionResult type StopAutomationExecutionOutput struct { _ struct{} `type:"structure"` } @@ -25790,7 +26681,7 @@ func (s StopAutomationExecutionOutput) GoString() string { // your resources in different ways, for example, by purpose, owner, or environment. // In Systems Manager, you can apply tags to documents, managed instances, Maintenance // Windows, Parameter Store parameters, and patch baselines. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Tag type Tag struct { _ struct{} `type:"structure"` @@ -25852,7 +26743,7 @@ func (s *Tag) SetValue(v string) *Tag { // An array of search criteria that targets instances using a Key,Value combination // that you specify. Targets is required if you don't provide one or more instance // IDs in the call. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Target +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Target type Target struct { _ struct{} `type:"structure"` @@ -25905,7 +26796,7 @@ func (s *Target) SetValues(v []*string) *Target { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest type UpdateAssociationInput struct { _ struct{} `type:"structure"` @@ -26037,7 +26928,7 @@ func (s *UpdateAssociationInput) SetTargets(v []*Target) *UpdateAssociationInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationResult type UpdateAssociationOutput struct { _ struct{} `type:"structure"` @@ -26061,7 +26952,7 @@ func (s *UpdateAssociationOutput) SetAssociationDescription(v *AssociationDescri return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatusRequest type UpdateAssociationStatusInput struct { _ struct{} `type:"structure"` @@ -26133,7 +27024,7 @@ func (s *UpdateAssociationStatusInput) SetName(v string) *UpdateAssociationStatu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatusResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatusResult type UpdateAssociationStatusOutput struct { _ struct{} `type:"structure"` @@ -26157,7 +27048,7 @@ func (s *UpdateAssociationStatusOutput) SetAssociationDescription(v *Association return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentDefaultVersionRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentDefaultVersionRequest type UpdateDocumentDefaultVersionInput struct { _ struct{} `type:"structure"` @@ -26210,7 +27101,7 @@ func (s *UpdateDocumentDefaultVersionInput) SetName(v string) *UpdateDocumentDef return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentDefaultVersionResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentDefaultVersionResult type UpdateDocumentDefaultVersionOutput struct { _ struct{} `type:"structure"` @@ -26235,7 +27126,7 @@ func (s *UpdateDocumentDefaultVersionOutput) SetDescription(v *DocumentDefaultVe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentRequest type UpdateDocumentInput struct { _ struct{} `type:"structure"` @@ -26244,6 +27135,10 @@ type UpdateDocumentInput struct { // Content is a required field Content *string `min:"1" type:"string" required:"true"` + // Specify the document format for the new document version. Systems Manager + // supports JSON and YAML documents. JSON is the default format. + DocumentFormat *string `type:"string" enum:"DocumentFormat"` + // The version of the document that you want to update. DocumentVersion *string `type:"string"` @@ -26251,6 +27146,9 @@ type UpdateDocumentInput struct { // // Name is a required field Name *string `type:"string" required:"true"` + + // Specify a new target type for the document. + TargetType *string `type:"string"` } // String returns the string representation @@ -26288,6 +27186,12 @@ func (s *UpdateDocumentInput) SetContent(v string) *UpdateDocumentInput { return s } +// SetDocumentFormat sets the DocumentFormat field's value. +func (s *UpdateDocumentInput) SetDocumentFormat(v string) *UpdateDocumentInput { + s.DocumentFormat = &v + return s +} + // SetDocumentVersion sets the DocumentVersion field's value. func (s *UpdateDocumentInput) SetDocumentVersion(v string) *UpdateDocumentInput { s.DocumentVersion = &v @@ -26300,7 +27204,13 @@ func (s *UpdateDocumentInput) SetName(v string) *UpdateDocumentInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentResult +// SetTargetType sets the TargetType field's value. +func (s *UpdateDocumentInput) SetTargetType(v string) *UpdateDocumentInput { + s.TargetType = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentResult type UpdateDocumentOutput struct { _ struct{} `type:"structure"` @@ -26324,7 +27234,7 @@ func (s *UpdateDocumentOutput) SetDocumentDescription(v *DocumentDescription) *U return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowRequest type UpdateMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -26454,7 +27364,7 @@ func (s *UpdateMaintenanceWindowInput) SetWindowId(v string) *UpdateMaintenanceW return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowResult type UpdateMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -26543,7 +27453,7 @@ func (s *UpdateMaintenanceWindowOutput) SetWindowId(v string) *UpdateMaintenance return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTargetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTargetRequest type UpdateMaintenanceWindowTargetInput struct { _ struct{} `type:"structure"` @@ -26669,7 +27579,7 @@ func (s *UpdateMaintenanceWindowTargetInput) SetWindowTargetId(v string) *Update return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTargetResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTargetResult type UpdateMaintenanceWindowTargetOutput struct { _ struct{} `type:"structure"` @@ -26738,7 +27648,7 @@ func (s *UpdateMaintenanceWindowTargetOutput) SetWindowTargetId(v string) *Updat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskRequest type UpdateMaintenanceWindowTaskInput struct { _ struct{} `type:"structure"` @@ -26953,7 +27863,7 @@ func (s *UpdateMaintenanceWindowTaskInput) SetWindowTaskId(v string) *UpdateMain return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskResult type UpdateMaintenanceWindowTaskOutput struct { _ struct{} `type:"structure"` @@ -27085,7 +27995,7 @@ func (s *UpdateMaintenanceWindowTaskOutput) SetWindowTaskId(v string) *UpdateMai return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateManagedInstanceRoleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateManagedInstanceRoleRequest type UpdateManagedInstanceRoleInput struct { _ struct{} `type:"structure"` @@ -27138,7 +28048,7 @@ func (s *UpdateManagedInstanceRoleInput) SetInstanceId(v string) *UpdateManagedI return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateManagedInstanceRoleResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateManagedInstanceRoleResult type UpdateManagedInstanceRoleOutput struct { _ struct{} `type:"structure"` } @@ -27153,7 +28063,7 @@ func (s UpdateManagedInstanceRoleOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdatePatchBaselineRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdatePatchBaselineRequest type UpdatePatchBaselineInput struct { _ struct{} `type:"structure"` @@ -27274,7 +28184,7 @@ func (s *UpdatePatchBaselineInput) SetRejectedPatches(v []*string) *UpdatePatchB return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdatePatchBaselineResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdatePatchBaselineResult type UpdatePatchBaselineOutput struct { _ struct{} `type:"structure"` @@ -27429,6 +28339,21 @@ const ( // AutomationExecutionFilterKeyExecutionStatus is a AutomationExecutionFilterKey enum value AutomationExecutionFilterKeyExecutionStatus = "ExecutionStatus" + + // AutomationExecutionFilterKeyExecutionId is a AutomationExecutionFilterKey enum value + AutomationExecutionFilterKeyExecutionId = "ExecutionId" + + // AutomationExecutionFilterKeyParentExecutionId is a AutomationExecutionFilterKey enum value + AutomationExecutionFilterKeyParentExecutionId = "ParentExecutionId" + + // AutomationExecutionFilterKeyCurrentAction is a AutomationExecutionFilterKey enum value + AutomationExecutionFilterKeyCurrentAction = "CurrentAction" + + // AutomationExecutionFilterKeyStartTimeBefore is a AutomationExecutionFilterKey enum value + AutomationExecutionFilterKeyStartTimeBefore = "StartTimeBefore" + + // AutomationExecutionFilterKeyStartTimeAfter is a AutomationExecutionFilterKey enum value + AutomationExecutionFilterKeyStartTimeAfter = "StartTimeAfter" ) const ( @@ -27447,6 +28372,9 @@ const ( // AutomationExecutionStatusTimedOut is a AutomationExecutionStatus enum value AutomationExecutionStatusTimedOut = "TimedOut" + // AutomationExecutionStatusCancelling is a AutomationExecutionStatus enum value + AutomationExecutionStatusCancelling = "Cancelling" + // AutomationExecutionStatusCancelled is a AutomationExecutionStatus enum value AutomationExecutionStatusCancelled = "Cancelled" @@ -27604,6 +28532,14 @@ const ( DocumentFilterKeyDocumentType = "DocumentType" ) +const ( + // DocumentFormatYaml is a DocumentFormat enum value + DocumentFormatYaml = "YAML" + + // DocumentFormatJson is a DocumentFormat enum value + DocumentFormatJson = "JSON" +) + const ( // DocumentHashTypeSha256 is a DocumentHashType enum value DocumentHashTypeSha256 = "Sha256" @@ -27650,6 +28586,14 @@ const ( DocumentTypeAutomation = "Automation" ) +const ( + // ExecutionModeAuto is a ExecutionMode enum value + ExecutionModeAuto = "Auto" + + // ExecutionModeInteractive is a ExecutionMode enum value + ExecutionModeInteractive = "Interactive" +) + const ( // FaultClient is a Fault enum value FaultClient = "Client" @@ -27986,4 +28930,41 @@ const ( // SignalTypeReject is a SignalType enum value SignalTypeReject = "Reject" + + // SignalTypeStartStep is a SignalType enum value + SignalTypeStartStep = "StartStep" + + // SignalTypeStopStep is a SignalType enum value + SignalTypeStopStep = "StopStep" + + // SignalTypeResume is a SignalType enum value + SignalTypeResume = "Resume" +) + +const ( + // StepExecutionFilterKeyStartTimeBefore is a StepExecutionFilterKey enum value + StepExecutionFilterKeyStartTimeBefore = "StartTimeBefore" + + // StepExecutionFilterKeyStartTimeAfter is a StepExecutionFilterKey enum value + StepExecutionFilterKeyStartTimeAfter = "StartTimeAfter" + + // StepExecutionFilterKeyStepExecutionStatus is a StepExecutionFilterKey enum value + StepExecutionFilterKeyStepExecutionStatus = "StepExecutionStatus" + + // StepExecutionFilterKeyStepExecutionId is a StepExecutionFilterKey enum value + StepExecutionFilterKeyStepExecutionId = "StepExecutionId" + + // StepExecutionFilterKeyStepName is a StepExecutionFilterKey enum value + StepExecutionFilterKeyStepName = "StepName" + + // StepExecutionFilterKeyAction is a StepExecutionFilterKey enum value + StepExecutionFilterKeyAction = "Action" +) + +const ( + // StopTypeComplete is a StopType enum value + StopTypeComplete = "Complete" + + // StopTypeCancel is a StopType enum value + StopTypeCancel = "Cancel" ) diff --git a/vendor/github.com/aws/aws-sdk-go/service/ssm/doc.go b/vendor/github.com/aws/aws-sdk-go/service/ssm/doc.go index ff9cb9e988b..4f18dadcb2c 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ssm/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ssm/doc.go @@ -3,16 +3,16 @@ // Package ssm provides the client and types for making API // requests to Amazon Simple Systems Manager (SSM). // -// Amazon EC2 Systems Manager is a collection of capabilities that helps you -// automate management tasks such as collecting system inventory, applying operating +// AWS Systems Manager is a collection of capabilities that helps you automate +// management tasks such as collecting system inventory, applying operating // system (OS) patches, automating the creation of Amazon Machine Images (AMIs), // and configuring operating systems (OSs) and applications at scale. Systems // Manager lets you remotely and securely manage the configuration of your managed // instances. A managed instance is any Amazon EC2 instance or on-premises machine // in your hybrid environment that has been configured for Systems Manager. // -// This reference is intended to be used with the Amazon EC2 Systems Manager -// User Guide (http://docs.aws.amazon.com/systems-manager/latest/userguide/). +// This reference is intended to be used with the AWS Systems Manager User Guide +// (http://docs.aws.amazon.com/systems-manager/latest/userguide/). // // To get started, verify prerequisites and configure managed instances. For // more information, see Systems Manager Prerequisites (http://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up.html). diff --git a/vendor/github.com/aws/aws-sdk-go/service/ssm/errors.go b/vendor/github.com/aws/aws-sdk-go/service/ssm/errors.go index 38c5a1c6ac0..c0030a51957 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ssm/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ssm/errors.go @@ -69,6 +69,13 @@ const ( // execution ID. ErrCodeAutomationExecutionNotFoundException = "AutomationExecutionNotFoundException" + // ErrCodeAutomationStepNotFoundException for service response error code + // "AutomationStepNotFoundException". + // + // The specified step name and execution ID don't exist. Verify the information + // and try again. + ErrCodeAutomationStepNotFoundException = "AutomationStepNotFoundException" + // ErrCodeComplianceTypeCountLimitExceededException for service response error code // "ComplianceTypeCountLimitExceededException". // @@ -210,6 +217,12 @@ const ( // The signal is not valid for the current Automation execution. ErrCodeInvalidAutomationSignalException = "InvalidAutomationSignalException" + // ErrCodeInvalidAutomationStatusUpdateException for service response error code + // "InvalidAutomationStatusUpdateException". + // + // The specified update status operation is not valid. + ErrCodeInvalidAutomationStatusUpdateException = "InvalidAutomationStatusUpdateException" + // ErrCodeInvalidCommandId for service response error code // "InvalidCommandId". ErrCodeInvalidCommandId = "InvalidCommandId" @@ -387,7 +400,7 @@ const ( // an IAM role for notifications that includes the required trust policy. For // information about configuring the IAM role for Run Command notifications, // see Configuring Amazon SNS Notifications for Run Command (http://docs.aws.amazon.com/systems-manager/latest/userguide/rc-sns-notifications.html) - // in the Amazon EC2 Systems Manager User Guide. + // in the AWS Systems Manager User Guide. ErrCodeInvalidRole = "InvalidRole" // ErrCodeInvalidSchedule for service response error code diff --git a/vendor/github.com/aws/aws-sdk-go/service/sts/api.go b/vendor/github.com/aws/aws-sdk-go/service/sts/api.go index 3b8be4378ae..23f0a06db8a 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sts/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sts/api.go @@ -35,7 +35,7 @@ const opAssumeRole = "AssumeRole" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRole func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, output *AssumeRoleOutput) { op := &request.Operation{ Name: opAssumeRole, @@ -168,7 +168,7 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) // in the IAM User Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRole +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRole func (c *STS) AssumeRole(input *AssumeRoleInput) (*AssumeRoleOutput, error) { req, out := c.AssumeRoleRequest(input) return out, req.Send() @@ -215,7 +215,7 @@ const opAssumeRoleWithSAML = "AssumeRoleWithSAML" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAML +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAML func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *request.Request, output *AssumeRoleWithSAMLOutput) { op := &request.Operation{ Name: opAssumeRoleWithSAML, @@ -341,7 +341,7 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) // in the IAM User Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAML +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAML func (c *STS) AssumeRoleWithSAML(input *AssumeRoleWithSAMLInput) (*AssumeRoleWithSAMLOutput, error) { req, out := c.AssumeRoleWithSAMLRequest(input) return out, req.Send() @@ -388,7 +388,7 @@ const opAssumeRoleWithWebIdentity = "AssumeRoleWithWebIdentity" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentity func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityInput) (req *request.Request, output *AssumeRoleWithWebIdentityOutput) { op := &request.Operation{ Name: opAssumeRoleWithWebIdentity, @@ -543,7 +543,7 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) // in the IAM User Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentity func (c *STS) AssumeRoleWithWebIdentity(input *AssumeRoleWithWebIdentityInput) (*AssumeRoleWithWebIdentityOutput, error) { req, out := c.AssumeRoleWithWebIdentityRequest(input) return out, req.Send() @@ -590,7 +590,7 @@ const opDecodeAuthorizationMessage = "DecodeAuthorizationMessage" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessage func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessageInput) (req *request.Request, output *DecodeAuthorizationMessageOutput) { op := &request.Operation{ Name: opDecodeAuthorizationMessage, @@ -655,7 +655,7 @@ func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessag // invalid. This can happen if the token contains invalid characters, such as // linebreaks. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessage +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessage func (c *STS) DecodeAuthorizationMessage(input *DecodeAuthorizationMessageInput) (*DecodeAuthorizationMessageOutput, error) { req, out := c.DecodeAuthorizationMessageRequest(input) return out, req.Send() @@ -702,7 +702,7 @@ const opGetCallerIdentity = "GetCallerIdentity" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentity func (c *STS) GetCallerIdentityRequest(input *GetCallerIdentityInput) (req *request.Request, output *GetCallerIdentityOutput) { op := &request.Operation{ Name: opGetCallerIdentity, @@ -730,7 +730,7 @@ func (c *STS) GetCallerIdentityRequest(input *GetCallerIdentityInput) (req *requ // // See the AWS API reference guide for AWS Security Token Service's // API operation GetCallerIdentity for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentity +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentity func (c *STS) GetCallerIdentity(input *GetCallerIdentityInput) (*GetCallerIdentityOutput, error) { req, out := c.GetCallerIdentityRequest(input) return out, req.Send() @@ -777,7 +777,7 @@ const opGetFederationToken = "GetFederationToken" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationToken +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationToken func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *request.Request, output *GetFederationTokenOutput) { op := &request.Operation{ Name: opGetFederationToken, @@ -899,7 +899,7 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) // in the IAM User Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationToken +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationToken func (c *STS) GetFederationToken(input *GetFederationTokenInput) (*GetFederationTokenOutput, error) { req, out := c.GetFederationTokenRequest(input) return out, req.Send() @@ -946,7 +946,7 @@ const opGetSessionToken = "GetSessionToken" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionToken +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionToken func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request.Request, output *GetSessionTokenOutput) { op := &request.Operation{ Name: opGetSessionToken, @@ -1027,7 +1027,7 @@ func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request. // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) // in the IAM User Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionToken +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionToken func (c *STS) GetSessionToken(input *GetSessionTokenInput) (*GetSessionTokenOutput, error) { req, out := c.GetSessionTokenRequest(input) return out, req.Send() @@ -1049,7 +1049,7 @@ func (c *STS) GetSessionTokenWithContext(ctx aws.Context, input *GetSessionToken return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleRequest type AssumeRoleInput struct { _ struct{} `type:"structure"` @@ -1241,7 +1241,7 @@ func (s *AssumeRoleInput) SetTokenCode(v string) *AssumeRoleInput { // Contains the response to a successful AssumeRole request, including temporary // AWS credentials that can be used to make AWS requests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleResponse type AssumeRoleOutput struct { _ struct{} `type:"structure"` @@ -1295,7 +1295,7 @@ func (s *AssumeRoleOutput) SetPackedPolicySize(v int64) *AssumeRoleOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLRequest type AssumeRoleWithSAMLInput struct { _ struct{} `type:"structure"` @@ -1436,7 +1436,7 @@ func (s *AssumeRoleWithSAMLInput) SetSAMLAssertion(v string) *AssumeRoleWithSAML // Contains the response to a successful AssumeRoleWithSAML request, including // temporary AWS credentials that can be used to make AWS requests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLResponse type AssumeRoleWithSAMLOutput struct { _ struct{} `type:"structure"` @@ -1548,7 +1548,7 @@ func (s *AssumeRoleWithSAMLOutput) SetSubjectType(v string) *AssumeRoleWithSAMLO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityRequest type AssumeRoleWithWebIdentityInput struct { _ struct{} `type:"structure"` @@ -1711,7 +1711,7 @@ func (s *AssumeRoleWithWebIdentityInput) SetWebIdentityToken(v string) *AssumeRo // Contains the response to a successful AssumeRoleWithWebIdentity request, // including temporary AWS credentials that can be used to make AWS requests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityResponse type AssumeRoleWithWebIdentityOutput struct { _ struct{} `type:"structure"` @@ -1804,7 +1804,7 @@ func (s *AssumeRoleWithWebIdentityOutput) SetSubjectFromWebIdentityToken(v strin // The identifiers for the temporary security credentials that the operation // returns. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumedRoleUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumedRoleUser type AssumedRoleUser struct { _ struct{} `type:"structure"` @@ -1847,7 +1847,7 @@ func (s *AssumedRoleUser) SetAssumedRoleId(v string) *AssumedRoleUser { } // AWS credentials for API authentication. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/Credentials +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/Credentials type Credentials struct { _ struct{} `type:"structure"` @@ -1906,7 +1906,7 @@ func (s *Credentials) SetSessionToken(v string) *Credentials { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessageRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessageRequest type DecodeAuthorizationMessageInput struct { _ struct{} `type:"structure"` @@ -1951,7 +1951,7 @@ func (s *DecodeAuthorizationMessageInput) SetEncodedMessage(v string) *DecodeAut // A document that contains additional information about the authorization status // of a request from an encoded message that is returned in response to an AWS // request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessageResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessageResponse type DecodeAuthorizationMessageOutput struct { _ struct{} `type:"structure"` @@ -1976,7 +1976,7 @@ func (s *DecodeAuthorizationMessageOutput) SetDecodedMessage(v string) *DecodeAu } // Identifiers for the federated user that is associated with the credentials. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/FederatedUser +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/FederatedUser type FederatedUser struct { _ struct{} `type:"structure"` @@ -2017,7 +2017,7 @@ func (s *FederatedUser) SetFederatedUserId(v string) *FederatedUser { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentityRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentityRequest type GetCallerIdentityInput struct { _ struct{} `type:"structure"` } @@ -2034,7 +2034,7 @@ func (s GetCallerIdentityInput) GoString() string { // Contains the response to a successful GetCallerIdentity request, including // information about the entity making the request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentityResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentityResponse type GetCallerIdentityOutput struct { _ struct{} `type:"structure"` @@ -2080,7 +2080,7 @@ func (s *GetCallerIdentityOutput) SetUserId(v string) *GetCallerIdentityOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenRequest type GetFederationTokenInput struct { _ struct{} `type:"structure"` @@ -2189,7 +2189,7 @@ func (s *GetFederationTokenInput) SetPolicy(v string) *GetFederationTokenInput { // Contains the response to a successful GetFederationToken request, including // temporary AWS credentials that can be used to make AWS requests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenResponse type GetFederationTokenOutput struct { _ struct{} `type:"structure"` @@ -2242,7 +2242,7 @@ func (s *GetFederationTokenOutput) SetPackedPolicySize(v int64) *GetFederationTo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenRequest type GetSessionTokenInput struct { _ struct{} `type:"structure"` @@ -2327,7 +2327,7 @@ func (s *GetSessionTokenInput) SetTokenCode(v string) *GetSessionTokenInput { // Contains the response to a successful GetSessionToken request, including // temporary AWS credentials that can be used to make AWS requests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenResponse type GetSessionTokenOutput struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/swf/api.go b/vendor/github.com/aws/aws-sdk-go/service/swf/api.go new file mode 100644 index 00000000000..a69f7b2887c --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/swf/api.go @@ -0,0 +1,15446 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package swf + +import ( + "fmt" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/jsonrpc" +) + +const opCountClosedWorkflowExecutions = "CountClosedWorkflowExecutions" + +// CountClosedWorkflowExecutionsRequest generates a "aws/request.Request" representing the +// client's request for the CountClosedWorkflowExecutions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CountClosedWorkflowExecutions for more information on using the CountClosedWorkflowExecutions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CountClosedWorkflowExecutionsRequest method. +// req, resp := client.CountClosedWorkflowExecutionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) CountClosedWorkflowExecutionsRequest(input *CountClosedWorkflowExecutionsInput) (req *request.Request, output *WorkflowExecutionCount) { + op := &request.Operation{ + Name: opCountClosedWorkflowExecutions, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CountClosedWorkflowExecutionsInput{} + } + + output = &WorkflowExecutionCount{} + req = c.newRequest(op, input, output) + return +} + +// CountClosedWorkflowExecutions API operation for Amazon Simple Workflow Service. +// +// Returns the number of closed workflow executions within the given domain +// that meet the specified filtering criteria. +// +// This operation is eventually consistent. The results are best effort and +// may not exactly reflect recent updates and changes. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the following parameters by using a Condition element with +// the appropriate keys. +// +// tagFilter.tag: String constraint. The key is swf:tagFilter.tag. +// +// typeFilter.name: String constraint. The key is swf:typeFilter.name. +// +// typeFilter.version: String constraint. The key is swf:typeFilter.version. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation CountClosedWorkflowExecutions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) CountClosedWorkflowExecutions(input *CountClosedWorkflowExecutionsInput) (*WorkflowExecutionCount, error) { + req, out := c.CountClosedWorkflowExecutionsRequest(input) + return out, req.Send() +} + +// CountClosedWorkflowExecutionsWithContext is the same as CountClosedWorkflowExecutions with the addition of +// the ability to pass a context and additional request options. +// +// See CountClosedWorkflowExecutions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) CountClosedWorkflowExecutionsWithContext(ctx aws.Context, input *CountClosedWorkflowExecutionsInput, opts ...request.Option) (*WorkflowExecutionCount, error) { + req, out := c.CountClosedWorkflowExecutionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCountOpenWorkflowExecutions = "CountOpenWorkflowExecutions" + +// CountOpenWorkflowExecutionsRequest generates a "aws/request.Request" representing the +// client's request for the CountOpenWorkflowExecutions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CountOpenWorkflowExecutions for more information on using the CountOpenWorkflowExecutions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CountOpenWorkflowExecutionsRequest method. +// req, resp := client.CountOpenWorkflowExecutionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) CountOpenWorkflowExecutionsRequest(input *CountOpenWorkflowExecutionsInput) (req *request.Request, output *WorkflowExecutionCount) { + op := &request.Operation{ + Name: opCountOpenWorkflowExecutions, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CountOpenWorkflowExecutionsInput{} + } + + output = &WorkflowExecutionCount{} + req = c.newRequest(op, input, output) + return +} + +// CountOpenWorkflowExecutions API operation for Amazon Simple Workflow Service. +// +// Returns the number of open workflow executions within the given domain that +// meet the specified filtering criteria. +// +// This operation is eventually consistent. The results are best effort and +// may not exactly reflect recent updates and changes. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the following parameters by using a Condition element with +// the appropriate keys. +// +// tagFilter.tag: String constraint. The key is swf:tagFilter.tag. +// +// typeFilter.name: String constraint. The key is swf:typeFilter.name. +// +// typeFilter.version: String constraint. The key is swf:typeFilter.version. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation CountOpenWorkflowExecutions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) CountOpenWorkflowExecutions(input *CountOpenWorkflowExecutionsInput) (*WorkflowExecutionCount, error) { + req, out := c.CountOpenWorkflowExecutionsRequest(input) + return out, req.Send() +} + +// CountOpenWorkflowExecutionsWithContext is the same as CountOpenWorkflowExecutions with the addition of +// the ability to pass a context and additional request options. +// +// See CountOpenWorkflowExecutions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) CountOpenWorkflowExecutionsWithContext(ctx aws.Context, input *CountOpenWorkflowExecutionsInput, opts ...request.Option) (*WorkflowExecutionCount, error) { + req, out := c.CountOpenWorkflowExecutionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCountPendingActivityTasks = "CountPendingActivityTasks" + +// CountPendingActivityTasksRequest generates a "aws/request.Request" representing the +// client's request for the CountPendingActivityTasks operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CountPendingActivityTasks for more information on using the CountPendingActivityTasks +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CountPendingActivityTasksRequest method. +// req, resp := client.CountPendingActivityTasksRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) CountPendingActivityTasksRequest(input *CountPendingActivityTasksInput) (req *request.Request, output *PendingTaskCount) { + op := &request.Operation{ + Name: opCountPendingActivityTasks, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CountPendingActivityTasksInput{} + } + + output = &PendingTaskCount{} + req = c.newRequest(op, input, output) + return +} + +// CountPendingActivityTasks API operation for Amazon Simple Workflow Service. +// +// Returns the estimated number of activity tasks in the specified task list. +// The count returned is an approximation and isn't guaranteed to be exact. +// If you specify a task list that no activity task was ever scheduled in then +// 0 is returned. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the taskList.name parameter by using a Condition element with +// the swf:taskList.name key to allow the action to access only certain task +// lists. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation CountPendingActivityTasks for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) CountPendingActivityTasks(input *CountPendingActivityTasksInput) (*PendingTaskCount, error) { + req, out := c.CountPendingActivityTasksRequest(input) + return out, req.Send() +} + +// CountPendingActivityTasksWithContext is the same as CountPendingActivityTasks with the addition of +// the ability to pass a context and additional request options. +// +// See CountPendingActivityTasks for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) CountPendingActivityTasksWithContext(ctx aws.Context, input *CountPendingActivityTasksInput, opts ...request.Option) (*PendingTaskCount, error) { + req, out := c.CountPendingActivityTasksRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCountPendingDecisionTasks = "CountPendingDecisionTasks" + +// CountPendingDecisionTasksRequest generates a "aws/request.Request" representing the +// client's request for the CountPendingDecisionTasks operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CountPendingDecisionTasks for more information on using the CountPendingDecisionTasks +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CountPendingDecisionTasksRequest method. +// req, resp := client.CountPendingDecisionTasksRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) CountPendingDecisionTasksRequest(input *CountPendingDecisionTasksInput) (req *request.Request, output *PendingTaskCount) { + op := &request.Operation{ + Name: opCountPendingDecisionTasks, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CountPendingDecisionTasksInput{} + } + + output = &PendingTaskCount{} + req = c.newRequest(op, input, output) + return +} + +// CountPendingDecisionTasks API operation for Amazon Simple Workflow Service. +// +// Returns the estimated number of decision tasks in the specified task list. +// The count returned is an approximation and isn't guaranteed to be exact. +// If you specify a task list that no decision task was ever scheduled in then +// 0 is returned. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the taskList.name parameter by using a Condition element with +// the swf:taskList.name key to allow the action to access only certain task +// lists. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation CountPendingDecisionTasks for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) CountPendingDecisionTasks(input *CountPendingDecisionTasksInput) (*PendingTaskCount, error) { + req, out := c.CountPendingDecisionTasksRequest(input) + return out, req.Send() +} + +// CountPendingDecisionTasksWithContext is the same as CountPendingDecisionTasks with the addition of +// the ability to pass a context and additional request options. +// +// See CountPendingDecisionTasks for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) CountPendingDecisionTasksWithContext(ctx aws.Context, input *CountPendingDecisionTasksInput, opts ...request.Option) (*PendingTaskCount, error) { + req, out := c.CountPendingDecisionTasksRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeprecateActivityType = "DeprecateActivityType" + +// DeprecateActivityTypeRequest generates a "aws/request.Request" representing the +// client's request for the DeprecateActivityType operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeprecateActivityType for more information on using the DeprecateActivityType +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeprecateActivityTypeRequest method. +// req, resp := client.DeprecateActivityTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) DeprecateActivityTypeRequest(input *DeprecateActivityTypeInput) (req *request.Request, output *DeprecateActivityTypeOutput) { + op := &request.Operation{ + Name: opDeprecateActivityType, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeprecateActivityTypeInput{} + } + + output = &DeprecateActivityTypeOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeprecateActivityType API operation for Amazon Simple Workflow Service. +// +// Deprecates the specified activity type. After an activity type has been deprecated, +// you cannot create new tasks of that activity type. Tasks of this type that +// were scheduled before the type was deprecated continue to run. +// +// This operation is eventually consistent. The results are best effort and +// may not exactly reflect recent updates and changes. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the following parameters by using a Condition element with +// the appropriate keys. +// +// activityType.name: String constraint. The key is swf:activityType.name. +// +// activityType.version: String constraint. The key is swf:activityType.version. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation DeprecateActivityType for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeTypeDeprecatedFault "TypeDeprecatedFault" +// Returned when the specified activity or workflow type was already deprecated. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) DeprecateActivityType(input *DeprecateActivityTypeInput) (*DeprecateActivityTypeOutput, error) { + req, out := c.DeprecateActivityTypeRequest(input) + return out, req.Send() +} + +// DeprecateActivityTypeWithContext is the same as DeprecateActivityType with the addition of +// the ability to pass a context and additional request options. +// +// See DeprecateActivityType for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) DeprecateActivityTypeWithContext(ctx aws.Context, input *DeprecateActivityTypeInput, opts ...request.Option) (*DeprecateActivityTypeOutput, error) { + req, out := c.DeprecateActivityTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeprecateDomain = "DeprecateDomain" + +// DeprecateDomainRequest generates a "aws/request.Request" representing the +// client's request for the DeprecateDomain operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeprecateDomain for more information on using the DeprecateDomain +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeprecateDomainRequest method. +// req, resp := client.DeprecateDomainRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) DeprecateDomainRequest(input *DeprecateDomainInput) (req *request.Request, output *DeprecateDomainOutput) { + op := &request.Operation{ + Name: opDeprecateDomain, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeprecateDomainInput{} + } + + output = &DeprecateDomainOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeprecateDomain API operation for Amazon Simple Workflow Service. +// +// Deprecates the specified domain. After a domain has been deprecated it cannot +// be used to create new workflow executions or register new types. However, +// you can still use visibility actions on this domain. Deprecating a domain +// also deprecates all activity and workflow types registered in the domain. +// Executions that were started before the domain was deprecated continues to +// run. +// +// This operation is eventually consistent. The results are best effort and +// may not exactly reflect recent updates and changes. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation DeprecateDomain for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeDomainDeprecatedFault "DomainDeprecatedFault" +// Returned when the specified domain has been deprecated. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) DeprecateDomain(input *DeprecateDomainInput) (*DeprecateDomainOutput, error) { + req, out := c.DeprecateDomainRequest(input) + return out, req.Send() +} + +// DeprecateDomainWithContext is the same as DeprecateDomain with the addition of +// the ability to pass a context and additional request options. +// +// See DeprecateDomain for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) DeprecateDomainWithContext(ctx aws.Context, input *DeprecateDomainInput, opts ...request.Option) (*DeprecateDomainOutput, error) { + req, out := c.DeprecateDomainRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeprecateWorkflowType = "DeprecateWorkflowType" + +// DeprecateWorkflowTypeRequest generates a "aws/request.Request" representing the +// client's request for the DeprecateWorkflowType operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeprecateWorkflowType for more information on using the DeprecateWorkflowType +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeprecateWorkflowTypeRequest method. +// req, resp := client.DeprecateWorkflowTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) DeprecateWorkflowTypeRequest(input *DeprecateWorkflowTypeInput) (req *request.Request, output *DeprecateWorkflowTypeOutput) { + op := &request.Operation{ + Name: opDeprecateWorkflowType, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeprecateWorkflowTypeInput{} + } + + output = &DeprecateWorkflowTypeOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeprecateWorkflowType API operation for Amazon Simple Workflow Service. +// +// Deprecates the specified workflow type. After a workflow type has been deprecated, +// you cannot create new executions of that type. Executions that were started +// before the type was deprecated continues to run. A deprecated workflow type +// may still be used when calling visibility actions. +// +// This operation is eventually consistent. The results are best effort and +// may not exactly reflect recent updates and changes. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the following parameters by using a Condition element with +// the appropriate keys. +// +// workflowType.name: String constraint. The key is swf:workflowType.name. +// +// workflowType.version: String constraint. The key is swf:workflowType.version. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation DeprecateWorkflowType for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeTypeDeprecatedFault "TypeDeprecatedFault" +// Returned when the specified activity or workflow type was already deprecated. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) DeprecateWorkflowType(input *DeprecateWorkflowTypeInput) (*DeprecateWorkflowTypeOutput, error) { + req, out := c.DeprecateWorkflowTypeRequest(input) + return out, req.Send() +} + +// DeprecateWorkflowTypeWithContext is the same as DeprecateWorkflowType with the addition of +// the ability to pass a context and additional request options. +// +// See DeprecateWorkflowType for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) DeprecateWorkflowTypeWithContext(ctx aws.Context, input *DeprecateWorkflowTypeInput, opts ...request.Option) (*DeprecateWorkflowTypeOutput, error) { + req, out := c.DeprecateWorkflowTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeActivityType = "DescribeActivityType" + +// DescribeActivityTypeRequest generates a "aws/request.Request" representing the +// client's request for the DescribeActivityType operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeActivityType for more information on using the DescribeActivityType +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeActivityTypeRequest method. +// req, resp := client.DescribeActivityTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) DescribeActivityTypeRequest(input *DescribeActivityTypeInput) (req *request.Request, output *DescribeActivityTypeOutput) { + op := &request.Operation{ + Name: opDescribeActivityType, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeActivityTypeInput{} + } + + output = &DescribeActivityTypeOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeActivityType API operation for Amazon Simple Workflow Service. +// +// Returns information about the specified activity type. This includes configuration +// settings provided when the type was registered and other general information +// about the type. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the following parameters by using a Condition element with +// the appropriate keys. +// +// activityType.name: String constraint. The key is swf:activityType.name. +// +// activityType.version: String constraint. The key is swf:activityType.version. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation DescribeActivityType for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) DescribeActivityType(input *DescribeActivityTypeInput) (*DescribeActivityTypeOutput, error) { + req, out := c.DescribeActivityTypeRequest(input) + return out, req.Send() +} + +// DescribeActivityTypeWithContext is the same as DescribeActivityType with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeActivityType for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) DescribeActivityTypeWithContext(ctx aws.Context, input *DescribeActivityTypeInput, opts ...request.Option) (*DescribeActivityTypeOutput, error) { + req, out := c.DescribeActivityTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeDomain = "DescribeDomain" + +// DescribeDomainRequest generates a "aws/request.Request" representing the +// client's request for the DescribeDomain operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeDomain for more information on using the DescribeDomain +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeDomainRequest method. +// req, resp := client.DescribeDomainRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Request, output *DescribeDomainOutput) { + op := &request.Operation{ + Name: opDescribeDomain, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeDomainInput{} + } + + output = &DescribeDomainOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeDomain API operation for Amazon Simple Workflow Service. +// +// Returns information about the specified domain, including description and +// status. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation DescribeDomain for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) DescribeDomain(input *DescribeDomainInput) (*DescribeDomainOutput, error) { + req, out := c.DescribeDomainRequest(input) + return out, req.Send() +} + +// DescribeDomainWithContext is the same as DescribeDomain with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeDomain for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) DescribeDomainWithContext(ctx aws.Context, input *DescribeDomainInput, opts ...request.Option) (*DescribeDomainOutput, error) { + req, out := c.DescribeDomainRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeWorkflowExecution = "DescribeWorkflowExecution" + +// DescribeWorkflowExecutionRequest generates a "aws/request.Request" representing the +// client's request for the DescribeWorkflowExecution operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeWorkflowExecution for more information on using the DescribeWorkflowExecution +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeWorkflowExecutionRequest method. +// req, resp := client.DescribeWorkflowExecutionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) DescribeWorkflowExecutionRequest(input *DescribeWorkflowExecutionInput) (req *request.Request, output *DescribeWorkflowExecutionOutput) { + op := &request.Operation{ + Name: opDescribeWorkflowExecution, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeWorkflowExecutionInput{} + } + + output = &DescribeWorkflowExecutionOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeWorkflowExecution API operation for Amazon Simple Workflow Service. +// +// Returns information about the specified workflow execution including its +// type and some statistics. +// +// This operation is eventually consistent. The results are best effort and +// may not exactly reflect recent updates and changes. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation DescribeWorkflowExecution for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) DescribeWorkflowExecution(input *DescribeWorkflowExecutionInput) (*DescribeWorkflowExecutionOutput, error) { + req, out := c.DescribeWorkflowExecutionRequest(input) + return out, req.Send() +} + +// DescribeWorkflowExecutionWithContext is the same as DescribeWorkflowExecution with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeWorkflowExecution for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) DescribeWorkflowExecutionWithContext(ctx aws.Context, input *DescribeWorkflowExecutionInput, opts ...request.Option) (*DescribeWorkflowExecutionOutput, error) { + req, out := c.DescribeWorkflowExecutionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeWorkflowType = "DescribeWorkflowType" + +// DescribeWorkflowTypeRequest generates a "aws/request.Request" representing the +// client's request for the DescribeWorkflowType operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeWorkflowType for more information on using the DescribeWorkflowType +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeWorkflowTypeRequest method. +// req, resp := client.DescribeWorkflowTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) DescribeWorkflowTypeRequest(input *DescribeWorkflowTypeInput) (req *request.Request, output *DescribeWorkflowTypeOutput) { + op := &request.Operation{ + Name: opDescribeWorkflowType, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeWorkflowTypeInput{} + } + + output = &DescribeWorkflowTypeOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeWorkflowType API operation for Amazon Simple Workflow Service. +// +// Returns information about the specified workflow type. This includes configuration +// settings specified when the type was registered and other information such +// as creation date, current status, etc. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the following parameters by using a Condition element with +// the appropriate keys. +// +// workflowType.name: String constraint. The key is swf:workflowType.name. +// +// workflowType.version: String constraint. The key is swf:workflowType.version. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation DescribeWorkflowType for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) DescribeWorkflowType(input *DescribeWorkflowTypeInput) (*DescribeWorkflowTypeOutput, error) { + req, out := c.DescribeWorkflowTypeRequest(input) + return out, req.Send() +} + +// DescribeWorkflowTypeWithContext is the same as DescribeWorkflowType with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeWorkflowType for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) DescribeWorkflowTypeWithContext(ctx aws.Context, input *DescribeWorkflowTypeInput, opts ...request.Option) (*DescribeWorkflowTypeOutput, error) { + req, out := c.DescribeWorkflowTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetWorkflowExecutionHistory = "GetWorkflowExecutionHistory" + +// GetWorkflowExecutionHistoryRequest generates a "aws/request.Request" representing the +// client's request for the GetWorkflowExecutionHistory operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetWorkflowExecutionHistory for more information on using the GetWorkflowExecutionHistory +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetWorkflowExecutionHistoryRequest method. +// req, resp := client.GetWorkflowExecutionHistoryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) GetWorkflowExecutionHistoryRequest(input *GetWorkflowExecutionHistoryInput) (req *request.Request, output *GetWorkflowExecutionHistoryOutput) { + op := &request.Operation{ + Name: opGetWorkflowExecutionHistory, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextPageToken"}, + OutputTokens: []string{"nextPageToken"}, + LimitToken: "maximumPageSize", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetWorkflowExecutionHistoryInput{} + } + + output = &GetWorkflowExecutionHistoryOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetWorkflowExecutionHistory API operation for Amazon Simple Workflow Service. +// +// Returns the history of the specified workflow execution. The results may +// be split into multiple pages. To retrieve subsequent pages, make the call +// again using the nextPageToken returned by the initial call. +// +// This operation is eventually consistent. The results are best effort and +// may not exactly reflect recent updates and changes. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation GetWorkflowExecutionHistory for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) GetWorkflowExecutionHistory(input *GetWorkflowExecutionHistoryInput) (*GetWorkflowExecutionHistoryOutput, error) { + req, out := c.GetWorkflowExecutionHistoryRequest(input) + return out, req.Send() +} + +// GetWorkflowExecutionHistoryWithContext is the same as GetWorkflowExecutionHistory with the addition of +// the ability to pass a context and additional request options. +// +// See GetWorkflowExecutionHistory for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) GetWorkflowExecutionHistoryWithContext(ctx aws.Context, input *GetWorkflowExecutionHistoryInput, opts ...request.Option) (*GetWorkflowExecutionHistoryOutput, error) { + req, out := c.GetWorkflowExecutionHistoryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetWorkflowExecutionHistoryPages iterates over the pages of a GetWorkflowExecutionHistory operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetWorkflowExecutionHistory method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetWorkflowExecutionHistory operation. +// pageNum := 0 +// err := client.GetWorkflowExecutionHistoryPages(params, +// func(page *GetWorkflowExecutionHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *SWF) GetWorkflowExecutionHistoryPages(input *GetWorkflowExecutionHistoryInput, fn func(*GetWorkflowExecutionHistoryOutput, bool) bool) error { + return c.GetWorkflowExecutionHistoryPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetWorkflowExecutionHistoryPagesWithContext same as GetWorkflowExecutionHistoryPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) GetWorkflowExecutionHistoryPagesWithContext(ctx aws.Context, input *GetWorkflowExecutionHistoryInput, fn func(*GetWorkflowExecutionHistoryOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetWorkflowExecutionHistoryInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetWorkflowExecutionHistoryRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*GetWorkflowExecutionHistoryOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListActivityTypes = "ListActivityTypes" + +// ListActivityTypesRequest generates a "aws/request.Request" representing the +// client's request for the ListActivityTypes operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListActivityTypes for more information on using the ListActivityTypes +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListActivityTypesRequest method. +// req, resp := client.ListActivityTypesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) ListActivityTypesRequest(input *ListActivityTypesInput) (req *request.Request, output *ListActivityTypesOutput) { + op := &request.Operation{ + Name: opListActivityTypes, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextPageToken"}, + OutputTokens: []string{"nextPageToken"}, + LimitToken: "maximumPageSize", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListActivityTypesInput{} + } + + output = &ListActivityTypesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListActivityTypes API operation for Amazon Simple Workflow Service. +// +// Returns information about all activities registered in the specified domain +// that match the specified name and registration status. The result includes +// information like creation date, current status of the activity, etc. The +// results may be split into multiple pages. To retrieve subsequent pages, make +// the call again using the nextPageToken returned by the initial call. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation ListActivityTypes for usage and error information. +// +// Returned Error Codes: +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +func (c *SWF) ListActivityTypes(input *ListActivityTypesInput) (*ListActivityTypesOutput, error) { + req, out := c.ListActivityTypesRequest(input) + return out, req.Send() +} + +// ListActivityTypesWithContext is the same as ListActivityTypes with the addition of +// the ability to pass a context and additional request options. +// +// See ListActivityTypes for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) ListActivityTypesWithContext(ctx aws.Context, input *ListActivityTypesInput, opts ...request.Option) (*ListActivityTypesOutput, error) { + req, out := c.ListActivityTypesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListActivityTypesPages iterates over the pages of a ListActivityTypes operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListActivityTypes method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListActivityTypes operation. +// pageNum := 0 +// err := client.ListActivityTypesPages(params, +// func(page *ListActivityTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *SWF) ListActivityTypesPages(input *ListActivityTypesInput, fn func(*ListActivityTypesOutput, bool) bool) error { + return c.ListActivityTypesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListActivityTypesPagesWithContext same as ListActivityTypesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) ListActivityTypesPagesWithContext(ctx aws.Context, input *ListActivityTypesInput, fn func(*ListActivityTypesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListActivityTypesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListActivityTypesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListActivityTypesOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListClosedWorkflowExecutions = "ListClosedWorkflowExecutions" + +// ListClosedWorkflowExecutionsRequest generates a "aws/request.Request" representing the +// client's request for the ListClosedWorkflowExecutions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListClosedWorkflowExecutions for more information on using the ListClosedWorkflowExecutions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListClosedWorkflowExecutionsRequest method. +// req, resp := client.ListClosedWorkflowExecutionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) ListClosedWorkflowExecutionsRequest(input *ListClosedWorkflowExecutionsInput) (req *request.Request, output *WorkflowExecutionInfos) { + op := &request.Operation{ + Name: opListClosedWorkflowExecutions, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextPageToken"}, + OutputTokens: []string{"nextPageToken"}, + LimitToken: "maximumPageSize", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListClosedWorkflowExecutionsInput{} + } + + output = &WorkflowExecutionInfos{} + req = c.newRequest(op, input, output) + return +} + +// ListClosedWorkflowExecutions API operation for Amazon Simple Workflow Service. +// +// Returns a list of closed workflow executions in the specified domain that +// meet the filtering criteria. The results may be split into multiple pages. +// To retrieve subsequent pages, make the call again using the nextPageToken +// returned by the initial call. +// +// This operation is eventually consistent. The results are best effort and +// may not exactly reflect recent updates and changes. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the following parameters by using a Condition element with +// the appropriate keys. +// +// tagFilter.tag: String constraint. The key is swf:tagFilter.tag. +// +// typeFilter.name: String constraint. The key is swf:typeFilter.name. +// +// typeFilter.version: String constraint. The key is swf:typeFilter.version. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation ListClosedWorkflowExecutions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) ListClosedWorkflowExecutions(input *ListClosedWorkflowExecutionsInput) (*WorkflowExecutionInfos, error) { + req, out := c.ListClosedWorkflowExecutionsRequest(input) + return out, req.Send() +} + +// ListClosedWorkflowExecutionsWithContext is the same as ListClosedWorkflowExecutions with the addition of +// the ability to pass a context and additional request options. +// +// See ListClosedWorkflowExecutions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) ListClosedWorkflowExecutionsWithContext(ctx aws.Context, input *ListClosedWorkflowExecutionsInput, opts ...request.Option) (*WorkflowExecutionInfos, error) { + req, out := c.ListClosedWorkflowExecutionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListClosedWorkflowExecutionsPages iterates over the pages of a ListClosedWorkflowExecutions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListClosedWorkflowExecutions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListClosedWorkflowExecutions operation. +// pageNum := 0 +// err := client.ListClosedWorkflowExecutionsPages(params, +// func(page *WorkflowExecutionInfos, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *SWF) ListClosedWorkflowExecutionsPages(input *ListClosedWorkflowExecutionsInput, fn func(*WorkflowExecutionInfos, bool) bool) error { + return c.ListClosedWorkflowExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListClosedWorkflowExecutionsPagesWithContext same as ListClosedWorkflowExecutionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) ListClosedWorkflowExecutionsPagesWithContext(ctx aws.Context, input *ListClosedWorkflowExecutionsInput, fn func(*WorkflowExecutionInfos, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListClosedWorkflowExecutionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListClosedWorkflowExecutionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*WorkflowExecutionInfos), !p.HasNextPage()) + } + return p.Err() +} + +const opListDomains = "ListDomains" + +// ListDomainsRequest generates a "aws/request.Request" representing the +// client's request for the ListDomains operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListDomains for more information on using the ListDomains +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListDomainsRequest method. +// req, resp := client.ListDomainsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) { + op := &request.Operation{ + Name: opListDomains, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextPageToken"}, + OutputTokens: []string{"nextPageToken"}, + LimitToken: "maximumPageSize", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListDomainsInput{} + } + + output = &ListDomainsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListDomains API operation for Amazon Simple Workflow Service. +// +// Returns the list of domains registered in the account. The results may be +// split into multiple pages. To retrieve subsequent pages, make the call again +// using the nextPageToken returned by the initial call. +// +// This operation is eventually consistent. The results are best effort and +// may not exactly reflect recent updates and changes. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. The element must be set to arn:aws:swf::AccountID:domain/*, +// where AccountID is the account ID, with no dashes. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation ListDomains for usage and error information. +// +// Returned Error Codes: +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) { + req, out := c.ListDomainsRequest(input) + return out, req.Send() +} + +// ListDomainsWithContext is the same as ListDomains with the addition of +// the ability to pass a context and additional request options. +// +// See ListDomains for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInput, opts ...request.Option) (*ListDomainsOutput, error) { + req, out := c.ListDomainsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListDomainsPages iterates over the pages of a ListDomains operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListDomains method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListDomains operation. +// pageNum := 0 +// err := client.ListDomainsPages(params, +// func(page *ListDomainsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *SWF) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error { + return c.ListDomainsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListDomainsPagesWithContext same as ListDomainsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) ListDomainsPagesWithContext(ctx aws.Context, input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListDomainsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListDomainsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListDomainsOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opListOpenWorkflowExecutions = "ListOpenWorkflowExecutions" + +// ListOpenWorkflowExecutionsRequest generates a "aws/request.Request" representing the +// client's request for the ListOpenWorkflowExecutions operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListOpenWorkflowExecutions for more information on using the ListOpenWorkflowExecutions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListOpenWorkflowExecutionsRequest method. +// req, resp := client.ListOpenWorkflowExecutionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) ListOpenWorkflowExecutionsRequest(input *ListOpenWorkflowExecutionsInput) (req *request.Request, output *WorkflowExecutionInfos) { + op := &request.Operation{ + Name: opListOpenWorkflowExecutions, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextPageToken"}, + OutputTokens: []string{"nextPageToken"}, + LimitToken: "maximumPageSize", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListOpenWorkflowExecutionsInput{} + } + + output = &WorkflowExecutionInfos{} + req = c.newRequest(op, input, output) + return +} + +// ListOpenWorkflowExecutions API operation for Amazon Simple Workflow Service. +// +// Returns a list of open workflow executions in the specified domain that meet +// the filtering criteria. The results may be split into multiple pages. To +// retrieve subsequent pages, make the call again using the nextPageToken returned +// by the initial call. +// +// This operation is eventually consistent. The results are best effort and +// may not exactly reflect recent updates and changes. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the following parameters by using a Condition element with +// the appropriate keys. +// +// tagFilter.tag: String constraint. The key is swf:tagFilter.tag. +// +// typeFilter.name: String constraint. The key is swf:typeFilter.name. +// +// typeFilter.version: String constraint. The key is swf:typeFilter.version. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation ListOpenWorkflowExecutions for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) ListOpenWorkflowExecutions(input *ListOpenWorkflowExecutionsInput) (*WorkflowExecutionInfos, error) { + req, out := c.ListOpenWorkflowExecutionsRequest(input) + return out, req.Send() +} + +// ListOpenWorkflowExecutionsWithContext is the same as ListOpenWorkflowExecutions with the addition of +// the ability to pass a context and additional request options. +// +// See ListOpenWorkflowExecutions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) ListOpenWorkflowExecutionsWithContext(ctx aws.Context, input *ListOpenWorkflowExecutionsInput, opts ...request.Option) (*WorkflowExecutionInfos, error) { + req, out := c.ListOpenWorkflowExecutionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListOpenWorkflowExecutionsPages iterates over the pages of a ListOpenWorkflowExecutions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListOpenWorkflowExecutions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListOpenWorkflowExecutions operation. +// pageNum := 0 +// err := client.ListOpenWorkflowExecutionsPages(params, +// func(page *WorkflowExecutionInfos, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *SWF) ListOpenWorkflowExecutionsPages(input *ListOpenWorkflowExecutionsInput, fn func(*WorkflowExecutionInfos, bool) bool) error { + return c.ListOpenWorkflowExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListOpenWorkflowExecutionsPagesWithContext same as ListOpenWorkflowExecutionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) ListOpenWorkflowExecutionsPagesWithContext(ctx aws.Context, input *ListOpenWorkflowExecutionsInput, fn func(*WorkflowExecutionInfos, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListOpenWorkflowExecutionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListOpenWorkflowExecutionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*WorkflowExecutionInfos), !p.HasNextPage()) + } + return p.Err() +} + +const opListWorkflowTypes = "ListWorkflowTypes" + +// ListWorkflowTypesRequest generates a "aws/request.Request" representing the +// client's request for the ListWorkflowTypes operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListWorkflowTypes for more information on using the ListWorkflowTypes +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListWorkflowTypesRequest method. +// req, resp := client.ListWorkflowTypesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) ListWorkflowTypesRequest(input *ListWorkflowTypesInput) (req *request.Request, output *ListWorkflowTypesOutput) { + op := &request.Operation{ + Name: opListWorkflowTypes, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextPageToken"}, + OutputTokens: []string{"nextPageToken"}, + LimitToken: "maximumPageSize", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListWorkflowTypesInput{} + } + + output = &ListWorkflowTypesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListWorkflowTypes API operation for Amazon Simple Workflow Service. +// +// Returns information about workflow types in the specified domain. The results +// may be split into multiple pages that can be retrieved by making the call +// repeatedly. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation ListWorkflowTypes for usage and error information. +// +// Returned Error Codes: +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +func (c *SWF) ListWorkflowTypes(input *ListWorkflowTypesInput) (*ListWorkflowTypesOutput, error) { + req, out := c.ListWorkflowTypesRequest(input) + return out, req.Send() +} + +// ListWorkflowTypesWithContext is the same as ListWorkflowTypes with the addition of +// the ability to pass a context and additional request options. +// +// See ListWorkflowTypes for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) ListWorkflowTypesWithContext(ctx aws.Context, input *ListWorkflowTypesInput, opts ...request.Option) (*ListWorkflowTypesOutput, error) { + req, out := c.ListWorkflowTypesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListWorkflowTypesPages iterates over the pages of a ListWorkflowTypes operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListWorkflowTypes method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListWorkflowTypes operation. +// pageNum := 0 +// err := client.ListWorkflowTypesPages(params, +// func(page *ListWorkflowTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *SWF) ListWorkflowTypesPages(input *ListWorkflowTypesInput, fn func(*ListWorkflowTypesOutput, bool) bool) error { + return c.ListWorkflowTypesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListWorkflowTypesPagesWithContext same as ListWorkflowTypesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) ListWorkflowTypesPagesWithContext(ctx aws.Context, input *ListWorkflowTypesInput, fn func(*ListWorkflowTypesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListWorkflowTypesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListWorkflowTypesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*ListWorkflowTypesOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opPollForActivityTask = "PollForActivityTask" + +// PollForActivityTaskRequest generates a "aws/request.Request" representing the +// client's request for the PollForActivityTask operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PollForActivityTask for more information on using the PollForActivityTask +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PollForActivityTaskRequest method. +// req, resp := client.PollForActivityTaskRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) PollForActivityTaskRequest(input *PollForActivityTaskInput) (req *request.Request, output *PollForActivityTaskOutput) { + op := &request.Operation{ + Name: opPollForActivityTask, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PollForActivityTaskInput{} + } + + output = &PollForActivityTaskOutput{} + req = c.newRequest(op, input, output) + return +} + +// PollForActivityTask API operation for Amazon Simple Workflow Service. +// +// Used by workers to get an ActivityTask from the specified activity taskList. +// This initiates a long poll, where the service holds the HTTP connection open +// and responds as soon as a task becomes available. The maximum time the service +// holds on to the request before responding is 60 seconds. If no task is available +// within 60 seconds, the poll returns an empty result. An empty result, in +// this context, means that an ActivityTask is returned, but that the value +// of taskToken is an empty string. If a task is returned, the worker should +// use its type to identify and process it correctly. +// +// Workers should set their client side socket timeout to at least 70 seconds +// (10 seconds higher than the maximum time service may hold the poll request). +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the taskList.name parameter by using a Condition element with +// the swf:taskList.name key to allow the action to access only certain task +// lists. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation PollForActivityTask for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +// * ErrCodeLimitExceededFault "LimitExceededFault" +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. +// +func (c *SWF) PollForActivityTask(input *PollForActivityTaskInput) (*PollForActivityTaskOutput, error) { + req, out := c.PollForActivityTaskRequest(input) + return out, req.Send() +} + +// PollForActivityTaskWithContext is the same as PollForActivityTask with the addition of +// the ability to pass a context and additional request options. +// +// See PollForActivityTask for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) PollForActivityTaskWithContext(ctx aws.Context, input *PollForActivityTaskInput, opts ...request.Option) (*PollForActivityTaskOutput, error) { + req, out := c.PollForActivityTaskRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPollForDecisionTask = "PollForDecisionTask" + +// PollForDecisionTaskRequest generates a "aws/request.Request" representing the +// client's request for the PollForDecisionTask operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PollForDecisionTask for more information on using the PollForDecisionTask +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the PollForDecisionTaskRequest method. +// req, resp := client.PollForDecisionTaskRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) PollForDecisionTaskRequest(input *PollForDecisionTaskInput) (req *request.Request, output *PollForDecisionTaskOutput) { + op := &request.Operation{ + Name: opPollForDecisionTask, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextPageToken"}, + OutputTokens: []string{"nextPageToken"}, + LimitToken: "maximumPageSize", + TruncationToken: "", + }, + } + + if input == nil { + input = &PollForDecisionTaskInput{} + } + + output = &PollForDecisionTaskOutput{} + req = c.newRequest(op, input, output) + return +} + +// PollForDecisionTask API operation for Amazon Simple Workflow Service. +// +// Used by deciders to get a DecisionTask from the specified decision taskList. +// A decision task may be returned for any open workflow execution that is using +// the specified task list. The task includes a paginated view of the history +// of the workflow execution. The decider should use the workflow type and the +// history to determine how to properly handle the task. +// +// This action initiates a long poll, where the service holds the HTTP connection +// open and responds as soon a task becomes available. If no decision task is +// available in the specified task list before the timeout of 60 seconds expires, +// an empty result is returned. An empty result, in this context, means that +// a DecisionTask is returned, but that the value of taskToken is an empty string. +// +// Deciders should set their client side socket timeout to at least 70 seconds +// (10 seconds higher than the timeout). +// +// Because the number of workflow history events for a single workflow execution +// might be very large, the result returned might be split up across a number +// of pages. To retrieve subsequent pages, make additional calls to PollForDecisionTask +// using the nextPageToken returned by the initial call. Note that you do not +// call GetWorkflowExecutionHistory with this nextPageToken. Instead, call PollForDecisionTask +// again. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the taskList.name parameter by using a Condition element with +// the swf:taskList.name key to allow the action to access only certain task +// lists. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation PollForDecisionTask for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +// * ErrCodeLimitExceededFault "LimitExceededFault" +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. +// +func (c *SWF) PollForDecisionTask(input *PollForDecisionTaskInput) (*PollForDecisionTaskOutput, error) { + req, out := c.PollForDecisionTaskRequest(input) + return out, req.Send() +} + +// PollForDecisionTaskWithContext is the same as PollForDecisionTask with the addition of +// the ability to pass a context and additional request options. +// +// See PollForDecisionTask for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) PollForDecisionTaskWithContext(ctx aws.Context, input *PollForDecisionTaskInput, opts ...request.Option) (*PollForDecisionTaskOutput, error) { + req, out := c.PollForDecisionTaskRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// PollForDecisionTaskPages iterates over the pages of a PollForDecisionTask operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See PollForDecisionTask method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a PollForDecisionTask operation. +// pageNum := 0 +// err := client.PollForDecisionTaskPages(params, +// func(page *PollForDecisionTaskOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *SWF) PollForDecisionTaskPages(input *PollForDecisionTaskInput, fn func(*PollForDecisionTaskOutput, bool) bool) error { + return c.PollForDecisionTaskPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// PollForDecisionTaskPagesWithContext same as PollForDecisionTaskPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) PollForDecisionTaskPagesWithContext(ctx aws.Context, input *PollForDecisionTaskInput, fn func(*PollForDecisionTaskOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *PollForDecisionTaskInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.PollForDecisionTaskRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + cont := true + for p.Next() && cont { + cont = fn(p.Page().(*PollForDecisionTaskOutput), !p.HasNextPage()) + } + return p.Err() +} + +const opRecordActivityTaskHeartbeat = "RecordActivityTaskHeartbeat" + +// RecordActivityTaskHeartbeatRequest generates a "aws/request.Request" representing the +// client's request for the RecordActivityTaskHeartbeat operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RecordActivityTaskHeartbeat for more information on using the RecordActivityTaskHeartbeat +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RecordActivityTaskHeartbeatRequest method. +// req, resp := client.RecordActivityTaskHeartbeatRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) RecordActivityTaskHeartbeatRequest(input *RecordActivityTaskHeartbeatInput) (req *request.Request, output *RecordActivityTaskHeartbeatOutput) { + op := &request.Operation{ + Name: opRecordActivityTaskHeartbeat, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RecordActivityTaskHeartbeatInput{} + } + + output = &RecordActivityTaskHeartbeatOutput{} + req = c.newRequest(op, input, output) + return +} + +// RecordActivityTaskHeartbeat API operation for Amazon Simple Workflow Service. +// +// Used by activity workers to report to the service that the ActivityTask represented +// by the specified taskToken is still making progress. The worker can also +// specify details of the progress, for example percent complete, using the +// details parameter. This action can also be used by the worker as a mechanism +// to check if cancellation is being requested for the activity task. If a cancellation +// is being attempted for the specified task, then the boolean cancelRequested +// flag returned by the service is set to true. +// +// This action resets the taskHeartbeatTimeout clock. The taskHeartbeatTimeout +// is specified in RegisterActivityType. +// +// This action doesn't in itself create an event in the workflow execution history. +// However, if the task times out, the workflow execution history contains a +// ActivityTaskTimedOut event that contains the information from the last heartbeat +// generated by the activity worker. +// +// The taskStartToCloseTimeout of an activity type is the maximum duration of +// an activity task, regardless of the number of RecordActivityTaskHeartbeat +// requests received. The taskStartToCloseTimeout is also specified in RegisterActivityType. +// +// This operation is only useful for long-lived activities to report liveliness +// of the task and to determine if a cancellation is being attempted. +// +// If the cancelRequested flag returns true, a cancellation is being attempted. +// If the worker can cancel the activity, it should respond with RespondActivityTaskCanceled. +// Otherwise, it should ignore the cancellation request. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation RecordActivityTaskHeartbeat for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) RecordActivityTaskHeartbeat(input *RecordActivityTaskHeartbeatInput) (*RecordActivityTaskHeartbeatOutput, error) { + req, out := c.RecordActivityTaskHeartbeatRequest(input) + return out, req.Send() +} + +// RecordActivityTaskHeartbeatWithContext is the same as RecordActivityTaskHeartbeat with the addition of +// the ability to pass a context and additional request options. +// +// See RecordActivityTaskHeartbeat for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) RecordActivityTaskHeartbeatWithContext(ctx aws.Context, input *RecordActivityTaskHeartbeatInput, opts ...request.Option) (*RecordActivityTaskHeartbeatOutput, error) { + req, out := c.RecordActivityTaskHeartbeatRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRegisterActivityType = "RegisterActivityType" + +// RegisterActivityTypeRequest generates a "aws/request.Request" representing the +// client's request for the RegisterActivityType operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RegisterActivityType for more information on using the RegisterActivityType +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RegisterActivityTypeRequest method. +// req, resp := client.RegisterActivityTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) RegisterActivityTypeRequest(input *RegisterActivityTypeInput) (req *request.Request, output *RegisterActivityTypeOutput) { + op := &request.Operation{ + Name: opRegisterActivityType, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RegisterActivityTypeInput{} + } + + output = &RegisterActivityTypeOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// RegisterActivityType API operation for Amazon Simple Workflow Service. +// +// Registers a new activity type along with its configuration settings in the +// specified domain. +// +// A TypeAlreadyExists fault is returned if the type already exists in the domain. +// You cannot change any configuration settings of the type after its registration, +// and it must be registered as a new version. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the following parameters by using a Condition element with +// the appropriate keys. +// +// defaultTaskList.name: String constraint. The key is swf:defaultTaskList.name. +// +// name: String constraint. The key is swf:name. +// +// version: String constraint. The key is swf:version. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation RegisterActivityType for usage and error information. +// +// Returned Error Codes: +// * ErrCodeTypeAlreadyExistsFault "TypeAlreadyExistsFault" +// Returned if the type already exists in the specified domain. You get this +// fault even if the existing type is in deprecated status. You can specify +// another version if the intent is to create a new distinct version of the +// type. +// +// * ErrCodeLimitExceededFault "LimitExceededFault" +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. +// +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) RegisterActivityType(input *RegisterActivityTypeInput) (*RegisterActivityTypeOutput, error) { + req, out := c.RegisterActivityTypeRequest(input) + return out, req.Send() +} + +// RegisterActivityTypeWithContext is the same as RegisterActivityType with the addition of +// the ability to pass a context and additional request options. +// +// See RegisterActivityType for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) RegisterActivityTypeWithContext(ctx aws.Context, input *RegisterActivityTypeInput, opts ...request.Option) (*RegisterActivityTypeOutput, error) { + req, out := c.RegisterActivityTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRegisterDomain = "RegisterDomain" + +// RegisterDomainRequest generates a "aws/request.Request" representing the +// client's request for the RegisterDomain operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RegisterDomain for more information on using the RegisterDomain +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RegisterDomainRequest method. +// req, resp := client.RegisterDomainRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) RegisterDomainRequest(input *RegisterDomainInput) (req *request.Request, output *RegisterDomainOutput) { + op := &request.Operation{ + Name: opRegisterDomain, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RegisterDomainInput{} + } + + output = &RegisterDomainOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// RegisterDomain API operation for Amazon Simple Workflow Service. +// +// Registers a new domain. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * You cannot use an IAM policy to control domain access for this action. +// The name of the domain being registered is available as the resource of +// this action. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation RegisterDomain for usage and error information. +// +// Returned Error Codes: +// * ErrCodeDomainAlreadyExistsFault "DomainAlreadyExistsFault" +// Returned if the specified domain already exists. You get this fault even +// if the existing domain is in deprecated status. +// +// * ErrCodeLimitExceededFault "LimitExceededFault" +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) RegisterDomain(input *RegisterDomainInput) (*RegisterDomainOutput, error) { + req, out := c.RegisterDomainRequest(input) + return out, req.Send() +} + +// RegisterDomainWithContext is the same as RegisterDomain with the addition of +// the ability to pass a context and additional request options. +// +// See RegisterDomain for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) RegisterDomainWithContext(ctx aws.Context, input *RegisterDomainInput, opts ...request.Option) (*RegisterDomainOutput, error) { + req, out := c.RegisterDomainRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRegisterWorkflowType = "RegisterWorkflowType" + +// RegisterWorkflowTypeRequest generates a "aws/request.Request" representing the +// client's request for the RegisterWorkflowType operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RegisterWorkflowType for more information on using the RegisterWorkflowType +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RegisterWorkflowTypeRequest method. +// req, resp := client.RegisterWorkflowTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) RegisterWorkflowTypeRequest(input *RegisterWorkflowTypeInput) (req *request.Request, output *RegisterWorkflowTypeOutput) { + op := &request.Operation{ + Name: opRegisterWorkflowType, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RegisterWorkflowTypeInput{} + } + + output = &RegisterWorkflowTypeOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// RegisterWorkflowType API operation for Amazon Simple Workflow Service. +// +// Registers a new workflow type and its configuration settings in the specified +// domain. +// +// The retention period for the workflow history is set by the RegisterDomain +// action. +// +// If the type already exists, then a TypeAlreadyExists fault is returned. You +// cannot change the configuration settings of a workflow type once it is registered +// and it must be registered as a new version. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the following parameters by using a Condition element with +// the appropriate keys. +// +// defaultTaskList.name: String constraint. The key is swf:defaultTaskList.name. +// +// name: String constraint. The key is swf:name. +// +// version: String constraint. The key is swf:version. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation RegisterWorkflowType for usage and error information. +// +// Returned Error Codes: +// * ErrCodeTypeAlreadyExistsFault "TypeAlreadyExistsFault" +// Returned if the type already exists in the specified domain. You get this +// fault even if the existing type is in deprecated status. You can specify +// another version if the intent is to create a new distinct version of the +// type. +// +// * ErrCodeLimitExceededFault "LimitExceededFault" +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. +// +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) RegisterWorkflowType(input *RegisterWorkflowTypeInput) (*RegisterWorkflowTypeOutput, error) { + req, out := c.RegisterWorkflowTypeRequest(input) + return out, req.Send() +} + +// RegisterWorkflowTypeWithContext is the same as RegisterWorkflowType with the addition of +// the ability to pass a context and additional request options. +// +// See RegisterWorkflowType for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) RegisterWorkflowTypeWithContext(ctx aws.Context, input *RegisterWorkflowTypeInput, opts ...request.Option) (*RegisterWorkflowTypeOutput, error) { + req, out := c.RegisterWorkflowTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRequestCancelWorkflowExecution = "RequestCancelWorkflowExecution" + +// RequestCancelWorkflowExecutionRequest generates a "aws/request.Request" representing the +// client's request for the RequestCancelWorkflowExecution operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RequestCancelWorkflowExecution for more information on using the RequestCancelWorkflowExecution +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RequestCancelWorkflowExecutionRequest method. +// req, resp := client.RequestCancelWorkflowExecutionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) RequestCancelWorkflowExecutionRequest(input *RequestCancelWorkflowExecutionInput) (req *request.Request, output *RequestCancelWorkflowExecutionOutput) { + op := &request.Operation{ + Name: opRequestCancelWorkflowExecution, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RequestCancelWorkflowExecutionInput{} + } + + output = &RequestCancelWorkflowExecutionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// RequestCancelWorkflowExecution API operation for Amazon Simple Workflow Service. +// +// Records a WorkflowExecutionCancelRequested event in the currently running +// workflow execution identified by the given domain, workflowId, and runId. +// This logically requests the cancellation of the workflow execution as a whole. +// It is up to the decider to take appropriate actions when it receives an execution +// history with this event. +// +// If the runId isn't specified, the WorkflowExecutionCancelRequested event +// is recorded in the history of the current open workflow execution with the +// specified workflowId in the domain. +// +// Because this action allows the workflow to properly clean up and gracefully +// close, it should be used instead of TerminateWorkflowExecution when possible. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation RequestCancelWorkflowExecution for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) RequestCancelWorkflowExecution(input *RequestCancelWorkflowExecutionInput) (*RequestCancelWorkflowExecutionOutput, error) { + req, out := c.RequestCancelWorkflowExecutionRequest(input) + return out, req.Send() +} + +// RequestCancelWorkflowExecutionWithContext is the same as RequestCancelWorkflowExecution with the addition of +// the ability to pass a context and additional request options. +// +// See RequestCancelWorkflowExecution for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) RequestCancelWorkflowExecutionWithContext(ctx aws.Context, input *RequestCancelWorkflowExecutionInput, opts ...request.Option) (*RequestCancelWorkflowExecutionOutput, error) { + req, out := c.RequestCancelWorkflowExecutionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRespondActivityTaskCanceled = "RespondActivityTaskCanceled" + +// RespondActivityTaskCanceledRequest generates a "aws/request.Request" representing the +// client's request for the RespondActivityTaskCanceled operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RespondActivityTaskCanceled for more information on using the RespondActivityTaskCanceled +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RespondActivityTaskCanceledRequest method. +// req, resp := client.RespondActivityTaskCanceledRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) RespondActivityTaskCanceledRequest(input *RespondActivityTaskCanceledInput) (req *request.Request, output *RespondActivityTaskCanceledOutput) { + op := &request.Operation{ + Name: opRespondActivityTaskCanceled, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RespondActivityTaskCanceledInput{} + } + + output = &RespondActivityTaskCanceledOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// RespondActivityTaskCanceled API operation for Amazon Simple Workflow Service. +// +// Used by workers to tell the service that the ActivityTask identified by the +// taskToken was successfully canceled. Additional details can be provided using +// the details argument. +// +// These details (if provided) appear in the ActivityTaskCanceled event added +// to the workflow history. +// +// Only use this operation if the canceled flag of a RecordActivityTaskHeartbeat +// request returns true and if the activity can be safely undone or abandoned. +// +// A task is considered open from the time that it is scheduled until it is +// closed. Therefore a task is reported as open while a worker is processing +// it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, +// RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed +// out (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types). +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation RespondActivityTaskCanceled for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) RespondActivityTaskCanceled(input *RespondActivityTaskCanceledInput) (*RespondActivityTaskCanceledOutput, error) { + req, out := c.RespondActivityTaskCanceledRequest(input) + return out, req.Send() +} + +// RespondActivityTaskCanceledWithContext is the same as RespondActivityTaskCanceled with the addition of +// the ability to pass a context and additional request options. +// +// See RespondActivityTaskCanceled for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) RespondActivityTaskCanceledWithContext(ctx aws.Context, input *RespondActivityTaskCanceledInput, opts ...request.Option) (*RespondActivityTaskCanceledOutput, error) { + req, out := c.RespondActivityTaskCanceledRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRespondActivityTaskCompleted = "RespondActivityTaskCompleted" + +// RespondActivityTaskCompletedRequest generates a "aws/request.Request" representing the +// client's request for the RespondActivityTaskCompleted operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RespondActivityTaskCompleted for more information on using the RespondActivityTaskCompleted +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RespondActivityTaskCompletedRequest method. +// req, resp := client.RespondActivityTaskCompletedRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) RespondActivityTaskCompletedRequest(input *RespondActivityTaskCompletedInput) (req *request.Request, output *RespondActivityTaskCompletedOutput) { + op := &request.Operation{ + Name: opRespondActivityTaskCompleted, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RespondActivityTaskCompletedInput{} + } + + output = &RespondActivityTaskCompletedOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// RespondActivityTaskCompleted API operation for Amazon Simple Workflow Service. +// +// Used by workers to tell the service that the ActivityTask identified by the +// taskToken completed successfully with a result (if provided). The result +// appears in the ActivityTaskCompleted event in the workflow history. +// +// If the requested task doesn't complete successfully, use RespondActivityTaskFailed +// instead. If the worker finds that the task is canceled through the canceled +// flag returned by RecordActivityTaskHeartbeat, it should cancel the task, +// clean up and then call RespondActivityTaskCanceled. +// +// A task is considered open from the time that it is scheduled until it is +// closed. Therefore a task is reported as open while a worker is processing +// it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, +// RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed +// out (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types). +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation RespondActivityTaskCompleted for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) RespondActivityTaskCompleted(input *RespondActivityTaskCompletedInput) (*RespondActivityTaskCompletedOutput, error) { + req, out := c.RespondActivityTaskCompletedRequest(input) + return out, req.Send() +} + +// RespondActivityTaskCompletedWithContext is the same as RespondActivityTaskCompleted with the addition of +// the ability to pass a context and additional request options. +// +// See RespondActivityTaskCompleted for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) RespondActivityTaskCompletedWithContext(ctx aws.Context, input *RespondActivityTaskCompletedInput, opts ...request.Option) (*RespondActivityTaskCompletedOutput, error) { + req, out := c.RespondActivityTaskCompletedRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRespondActivityTaskFailed = "RespondActivityTaskFailed" + +// RespondActivityTaskFailedRequest generates a "aws/request.Request" representing the +// client's request for the RespondActivityTaskFailed operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RespondActivityTaskFailed for more information on using the RespondActivityTaskFailed +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RespondActivityTaskFailedRequest method. +// req, resp := client.RespondActivityTaskFailedRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) RespondActivityTaskFailedRequest(input *RespondActivityTaskFailedInput) (req *request.Request, output *RespondActivityTaskFailedOutput) { + op := &request.Operation{ + Name: opRespondActivityTaskFailed, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RespondActivityTaskFailedInput{} + } + + output = &RespondActivityTaskFailedOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// RespondActivityTaskFailed API operation for Amazon Simple Workflow Service. +// +// Used by workers to tell the service that the ActivityTask identified by the +// taskToken has failed with reason (if specified). The reason and details appear +// in the ActivityTaskFailed event added to the workflow history. +// +// A task is considered open from the time that it is scheduled until it is +// closed. Therefore a task is reported as open while a worker is processing +// it. A task is closed after it has been specified in a call to RespondActivityTaskCompleted, +// RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed +// out (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types). +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation RespondActivityTaskFailed for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) RespondActivityTaskFailed(input *RespondActivityTaskFailedInput) (*RespondActivityTaskFailedOutput, error) { + req, out := c.RespondActivityTaskFailedRequest(input) + return out, req.Send() +} + +// RespondActivityTaskFailedWithContext is the same as RespondActivityTaskFailed with the addition of +// the ability to pass a context and additional request options. +// +// See RespondActivityTaskFailed for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) RespondActivityTaskFailedWithContext(ctx aws.Context, input *RespondActivityTaskFailedInput, opts ...request.Option) (*RespondActivityTaskFailedOutput, error) { + req, out := c.RespondActivityTaskFailedRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRespondDecisionTaskCompleted = "RespondDecisionTaskCompleted" + +// RespondDecisionTaskCompletedRequest generates a "aws/request.Request" representing the +// client's request for the RespondDecisionTaskCompleted operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RespondDecisionTaskCompleted for more information on using the RespondDecisionTaskCompleted +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RespondDecisionTaskCompletedRequest method. +// req, resp := client.RespondDecisionTaskCompletedRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) RespondDecisionTaskCompletedRequest(input *RespondDecisionTaskCompletedInput) (req *request.Request, output *RespondDecisionTaskCompletedOutput) { + op := &request.Operation{ + Name: opRespondDecisionTaskCompleted, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RespondDecisionTaskCompletedInput{} + } + + output = &RespondDecisionTaskCompletedOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// RespondDecisionTaskCompleted API operation for Amazon Simple Workflow Service. +// +// Used by deciders to tell the service that the DecisionTask identified by +// the taskToken has successfully completed. The decisions argument specifies +// the list of decisions made while processing the task. +// +// A DecisionTaskCompleted event is added to the workflow history. The executionContext +// specified is attached to the event in the workflow execution history. +// +// Access Control +// +// If an IAM policy grants permission to use RespondDecisionTaskCompleted, it +// can express permissions for the list of decisions in the decisions parameter. +// Each of the decisions has one or more parameters, much like a regular API +// call. To allow for policies to be as readable as possible, you can express +// permissions on decisions as if they were actual API calls, including applying +// conditions to some parameters. For more information, see Using IAM to Manage +// Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation RespondDecisionTaskCompleted for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) RespondDecisionTaskCompleted(input *RespondDecisionTaskCompletedInput) (*RespondDecisionTaskCompletedOutput, error) { + req, out := c.RespondDecisionTaskCompletedRequest(input) + return out, req.Send() +} + +// RespondDecisionTaskCompletedWithContext is the same as RespondDecisionTaskCompleted with the addition of +// the ability to pass a context and additional request options. +// +// See RespondDecisionTaskCompleted for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) RespondDecisionTaskCompletedWithContext(ctx aws.Context, input *RespondDecisionTaskCompletedInput, opts ...request.Option) (*RespondDecisionTaskCompletedOutput, error) { + req, out := c.RespondDecisionTaskCompletedRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opSignalWorkflowExecution = "SignalWorkflowExecution" + +// SignalWorkflowExecutionRequest generates a "aws/request.Request" representing the +// client's request for the SignalWorkflowExecution operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See SignalWorkflowExecution for more information on using the SignalWorkflowExecution +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the SignalWorkflowExecutionRequest method. +// req, resp := client.SignalWorkflowExecutionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) SignalWorkflowExecutionRequest(input *SignalWorkflowExecutionInput) (req *request.Request, output *SignalWorkflowExecutionOutput) { + op := &request.Operation{ + Name: opSignalWorkflowExecution, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &SignalWorkflowExecutionInput{} + } + + output = &SignalWorkflowExecutionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// SignalWorkflowExecution API operation for Amazon Simple Workflow Service. +// +// Records a WorkflowExecutionSignaled event in the workflow execution history +// and creates a decision task for the workflow execution identified by the +// given domain, workflowId and runId. The event is recorded with the specified +// user defined signalName and input (if provided). +// +// If a runId isn't specified, then the WorkflowExecutionSignaled event is recorded +// in the history of the current open workflow with the matching workflowId +// in the domain. +// +// If the specified workflow execution isn't open, this method fails with UnknownResource. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation SignalWorkflowExecution for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) SignalWorkflowExecution(input *SignalWorkflowExecutionInput) (*SignalWorkflowExecutionOutput, error) { + req, out := c.SignalWorkflowExecutionRequest(input) + return out, req.Send() +} + +// SignalWorkflowExecutionWithContext is the same as SignalWorkflowExecution with the addition of +// the ability to pass a context and additional request options. +// +// See SignalWorkflowExecution for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) SignalWorkflowExecutionWithContext(ctx aws.Context, input *SignalWorkflowExecutionInput, opts ...request.Option) (*SignalWorkflowExecutionOutput, error) { + req, out := c.SignalWorkflowExecutionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartWorkflowExecution = "StartWorkflowExecution" + +// StartWorkflowExecutionRequest generates a "aws/request.Request" representing the +// client's request for the StartWorkflowExecution operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartWorkflowExecution for more information on using the StartWorkflowExecution +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StartWorkflowExecutionRequest method. +// req, resp := client.StartWorkflowExecutionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) StartWorkflowExecutionRequest(input *StartWorkflowExecutionInput) (req *request.Request, output *StartWorkflowExecutionOutput) { + op := &request.Operation{ + Name: opStartWorkflowExecution, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StartWorkflowExecutionInput{} + } + + output = &StartWorkflowExecutionOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartWorkflowExecution API operation for Amazon Simple Workflow Service. +// +// Starts an execution of the workflow type in the specified domain using the +// provided workflowId and input data. +// +// This action returns the newly started workflow execution. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the following parameters by using a Condition element with +// the appropriate keys. +// +// tagList.member.0: The key is swf:tagList.member.0. +// +// tagList.member.1: The key is swf:tagList.member.1. +// +// tagList.member.2: The key is swf:tagList.member.2. +// +// tagList.member.3: The key is swf:tagList.member.3. +// +// tagList.member.4: The key is swf:tagList.member.4. +// +// taskList: String constraint. The key is swf:taskList.name. +// +// workflowType.name: String constraint. The key is swf:workflowType.name. +// +// workflowType.version: String constraint. The key is swf:workflowType.version. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation StartWorkflowExecution for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeTypeDeprecatedFault "TypeDeprecatedFault" +// Returned when the specified activity or workflow type was already deprecated. +// +// * ErrCodeWorkflowExecutionAlreadyStartedFault "WorkflowExecutionAlreadyStartedFault" +// Returned by StartWorkflowExecution when an open execution with the same workflowId +// is already running in the specified domain. +// +// * ErrCodeLimitExceededFault "LimitExceededFault" +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +// * ErrCodeDefaultUndefinedFault "DefaultUndefinedFault" +// The StartWorkflowExecution API action was called without the required parameters +// set. +// +// Some workflow execution parameters, such as the decision taskList, must be +// set to start the execution. However, these parameters might have been set +// as defaults when the workflow type was registered. In this case, you can +// omit these parameters from the StartWorkflowExecution call and Amazon SWF +// uses the values defined in the workflow type. +// +// If these parameters aren't set and no default parameters were defined in +// the workflow type, this error is displayed. +// +func (c *SWF) StartWorkflowExecution(input *StartWorkflowExecutionInput) (*StartWorkflowExecutionOutput, error) { + req, out := c.StartWorkflowExecutionRequest(input) + return out, req.Send() +} + +// StartWorkflowExecutionWithContext is the same as StartWorkflowExecution with the addition of +// the ability to pass a context and additional request options. +// +// See StartWorkflowExecution for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) StartWorkflowExecutionWithContext(ctx aws.Context, input *StartWorkflowExecutionInput, opts ...request.Option) (*StartWorkflowExecutionOutput, error) { + req, out := c.StartWorkflowExecutionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opTerminateWorkflowExecution = "TerminateWorkflowExecution" + +// TerminateWorkflowExecutionRequest generates a "aws/request.Request" representing the +// client's request for the TerminateWorkflowExecution operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TerminateWorkflowExecution for more information on using the TerminateWorkflowExecution +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the TerminateWorkflowExecutionRequest method. +// req, resp := client.TerminateWorkflowExecutionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *SWF) TerminateWorkflowExecutionRequest(input *TerminateWorkflowExecutionInput) (req *request.Request, output *TerminateWorkflowExecutionOutput) { + op := &request.Operation{ + Name: opTerminateWorkflowExecution, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &TerminateWorkflowExecutionInput{} + } + + output = &TerminateWorkflowExecutionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Remove(jsonrpc.UnmarshalHandler) + req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler) + return +} + +// TerminateWorkflowExecution API operation for Amazon Simple Workflow Service. +// +// Records a WorkflowExecutionTerminated event and forces closure of the workflow +// execution identified by the given domain, runId, and workflowId. The child +// policy, registered with the workflow type or specified when starting this +// execution, is applied to any open child workflow executions of this workflow +// execution. +// +// If the identified workflow execution was in progress, it is terminated immediately. +// +// If a runId isn't specified, then the WorkflowExecutionTerminated event is +// recorded in the history of the current open workflow with the matching workflowId +// in the domain. +// +// You should consider using RequestCancelWorkflowExecution action instead because +// it allows the workflow to gracefully close while TerminateWorkflowExecution +// doesn't. +// +// Access Control +// +// You can use IAM policies to control this action's access to Amazon SWF resources +// as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Workflow Service's +// API operation TerminateWorkflowExecution for usage and error information. +// +// Returned Error Codes: +// * ErrCodeUnknownResourceFault "UnknownResourceFault" +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. +// +// * ErrCodeOperationNotPermittedFault "OperationNotPermittedFault" +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. +// +func (c *SWF) TerminateWorkflowExecution(input *TerminateWorkflowExecutionInput) (*TerminateWorkflowExecutionOutput, error) { + req, out := c.TerminateWorkflowExecutionRequest(input) + return out, req.Send() +} + +// TerminateWorkflowExecutionWithContext is the same as TerminateWorkflowExecution with the addition of +// the ability to pass a context and additional request options. +// +// See TerminateWorkflowExecution for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SWF) TerminateWorkflowExecutionWithContext(ctx aws.Context, input *TerminateWorkflowExecutionInput, opts ...request.Option) (*TerminateWorkflowExecutionOutput, error) { + req, out := c.TerminateWorkflowExecutionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// Provides the details of the ActivityTaskCancelRequested event. +type ActivityTaskCancelRequestedEventAttributes struct { + _ struct{} `type:"structure"` + + // The unique ID of the task. + // + // ActivityId is a required field + ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the RequestCancelActivityTask decision for this cancellation + // request. This information can be useful for diagnosing problems by tracing + // back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s ActivityTaskCancelRequestedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ActivityTaskCancelRequestedEventAttributes) GoString() string { + return s.String() +} + +// SetActivityId sets the ActivityId field's value. +func (s *ActivityTaskCancelRequestedEventAttributes) SetActivityId(v string) *ActivityTaskCancelRequestedEventAttributes { + s.ActivityId = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *ActivityTaskCancelRequestedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *ActivityTaskCancelRequestedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// Provides the details of the ActivityTaskCanceled event. +type ActivityTaskCanceledEventAttributes struct { + _ struct{} `type:"structure"` + + // Details of the cancellation. + Details *string `locationName:"details" type:"string"` + + // If set, contains the ID of the last ActivityTaskCancelRequested event recorded + // for this activity task. This information can be useful for diagnosing problems + // by tracing back the chain of events leading up to this event. + LatestCancelRequestedEventId *int64 `locationName:"latestCancelRequestedEventId" type:"long"` + + // The ID of the ActivityTaskScheduled event that was recorded when this activity + // task was scheduled. This information can be useful for diagnosing problems + // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field + ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` + + // The ID of the ActivityTaskStarted event recorded when this activity task + // was started. This information can be useful for diagnosing problems by tracing + // back the chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s ActivityTaskCanceledEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ActivityTaskCanceledEventAttributes) GoString() string { + return s.String() +} + +// SetDetails sets the Details field's value. +func (s *ActivityTaskCanceledEventAttributes) SetDetails(v string) *ActivityTaskCanceledEventAttributes { + s.Details = &v + return s +} + +// SetLatestCancelRequestedEventId sets the LatestCancelRequestedEventId field's value. +func (s *ActivityTaskCanceledEventAttributes) SetLatestCancelRequestedEventId(v int64) *ActivityTaskCanceledEventAttributes { + s.LatestCancelRequestedEventId = &v + return s +} + +// SetScheduledEventId sets the ScheduledEventId field's value. +func (s *ActivityTaskCanceledEventAttributes) SetScheduledEventId(v int64) *ActivityTaskCanceledEventAttributes { + s.ScheduledEventId = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *ActivityTaskCanceledEventAttributes) SetStartedEventId(v int64) *ActivityTaskCanceledEventAttributes { + s.StartedEventId = &v + return s +} + +// Provides the details of the ActivityTaskCompleted event. +type ActivityTaskCompletedEventAttributes struct { + _ struct{} `type:"structure"` + + // The results of the activity task. + Result *string `locationName:"result" type:"string"` + + // The ID of the ActivityTaskScheduled event that was recorded when this activity + // task was scheduled. This information can be useful for diagnosing problems + // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field + ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` + + // The ID of the ActivityTaskStarted event recorded when this activity task + // was started. This information can be useful for diagnosing problems by tracing + // back the chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s ActivityTaskCompletedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ActivityTaskCompletedEventAttributes) GoString() string { + return s.String() +} + +// SetResult sets the Result field's value. +func (s *ActivityTaskCompletedEventAttributes) SetResult(v string) *ActivityTaskCompletedEventAttributes { + s.Result = &v + return s +} + +// SetScheduledEventId sets the ScheduledEventId field's value. +func (s *ActivityTaskCompletedEventAttributes) SetScheduledEventId(v int64) *ActivityTaskCompletedEventAttributes { + s.ScheduledEventId = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *ActivityTaskCompletedEventAttributes) SetStartedEventId(v int64) *ActivityTaskCompletedEventAttributes { + s.StartedEventId = &v + return s +} + +// Provides the details of the ActivityTaskFailed event. +type ActivityTaskFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The details of the failure. + Details *string `locationName:"details" type:"string"` + + // The reason provided for the failure. + Reason *string `locationName:"reason" type:"string"` + + // The ID of the ActivityTaskScheduled event that was recorded when this activity + // task was scheduled. This information can be useful for diagnosing problems + // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field + ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` + + // The ID of the ActivityTaskStarted event recorded when this activity task + // was started. This information can be useful for diagnosing problems by tracing + // back the chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s ActivityTaskFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ActivityTaskFailedEventAttributes) GoString() string { + return s.String() +} + +// SetDetails sets the Details field's value. +func (s *ActivityTaskFailedEventAttributes) SetDetails(v string) *ActivityTaskFailedEventAttributes { + s.Details = &v + return s +} + +// SetReason sets the Reason field's value. +func (s *ActivityTaskFailedEventAttributes) SetReason(v string) *ActivityTaskFailedEventAttributes { + s.Reason = &v + return s +} + +// SetScheduledEventId sets the ScheduledEventId field's value. +func (s *ActivityTaskFailedEventAttributes) SetScheduledEventId(v int64) *ActivityTaskFailedEventAttributes { + s.ScheduledEventId = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *ActivityTaskFailedEventAttributes) SetStartedEventId(v int64) *ActivityTaskFailedEventAttributes { + s.StartedEventId = &v + return s +} + +// Provides the details of the ActivityTaskScheduled event. +type ActivityTaskScheduledEventAttributes struct { + _ struct{} `type:"structure"` + + // The unique ID of the activity task. + // + // ActivityId is a required field + ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"` + + // The type of the activity task. + // + // ActivityType is a required field + ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"` + + // Data attached to the event that can be used by the decider in subsequent + // workflow tasks. This data isn't sent to the activity. + Control *string `locationName:"control" type:"string"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision that + // resulted in the scheduling of this activity task. This information can be + // useful for diagnosing problems by tracing back the chain of events leading + // up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The maximum time before which the worker processing this task must report + // progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, + // the activity task is automatically timed out. If the worker subsequently + // attempts to record a heartbeat or return a result, it is ignored. + HeartbeatTimeout *string `locationName:"heartbeatTimeout" type:"string"` + + // The input provided to the activity task. + Input *string `locationName:"input" type:"string"` + + // The maximum amount of time for this activity task. + ScheduleToCloseTimeout *string `locationName:"scheduleToCloseTimeout" type:"string"` + + // The maximum amount of time the activity task can wait to be assigned to a + // worker. + ScheduleToStartTimeout *string `locationName:"scheduleToStartTimeout" type:"string"` + + // The maximum amount of time a worker may take to process the activity task. + StartToCloseTimeout *string `locationName:"startToCloseTimeout" type:"string"` + + // The task list in which the activity task has been scheduled. + // + // TaskList is a required field + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` + + // The priority to assign to the scheduled activity task. If set, this overrides + // any default priority value that was assigned when the activity type was registered. + // + // Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) + // to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. + // + // For more information about setting task priority, see Setting Task Priority + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html) + // in the Amazon SWF Developer Guide. + TaskPriority *string `locationName:"taskPriority" type:"string"` +} + +// String returns the string representation +func (s ActivityTaskScheduledEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ActivityTaskScheduledEventAttributes) GoString() string { + return s.String() +} + +// SetActivityId sets the ActivityId field's value. +func (s *ActivityTaskScheduledEventAttributes) SetActivityId(v string) *ActivityTaskScheduledEventAttributes { + s.ActivityId = &v + return s +} + +// SetActivityType sets the ActivityType field's value. +func (s *ActivityTaskScheduledEventAttributes) SetActivityType(v *ActivityType) *ActivityTaskScheduledEventAttributes { + s.ActivityType = v + return s +} + +// SetControl sets the Control field's value. +func (s *ActivityTaskScheduledEventAttributes) SetControl(v string) *ActivityTaskScheduledEventAttributes { + s.Control = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *ActivityTaskScheduledEventAttributes) SetDecisionTaskCompletedEventId(v int64) *ActivityTaskScheduledEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetHeartbeatTimeout sets the HeartbeatTimeout field's value. +func (s *ActivityTaskScheduledEventAttributes) SetHeartbeatTimeout(v string) *ActivityTaskScheduledEventAttributes { + s.HeartbeatTimeout = &v + return s +} + +// SetInput sets the Input field's value. +func (s *ActivityTaskScheduledEventAttributes) SetInput(v string) *ActivityTaskScheduledEventAttributes { + s.Input = &v + return s +} + +// SetScheduleToCloseTimeout sets the ScheduleToCloseTimeout field's value. +func (s *ActivityTaskScheduledEventAttributes) SetScheduleToCloseTimeout(v string) *ActivityTaskScheduledEventAttributes { + s.ScheduleToCloseTimeout = &v + return s +} + +// SetScheduleToStartTimeout sets the ScheduleToStartTimeout field's value. +func (s *ActivityTaskScheduledEventAttributes) SetScheduleToStartTimeout(v string) *ActivityTaskScheduledEventAttributes { + s.ScheduleToStartTimeout = &v + return s +} + +// SetStartToCloseTimeout sets the StartToCloseTimeout field's value. +func (s *ActivityTaskScheduledEventAttributes) SetStartToCloseTimeout(v string) *ActivityTaskScheduledEventAttributes { + s.StartToCloseTimeout = &v + return s +} + +// SetTaskList sets the TaskList field's value. +func (s *ActivityTaskScheduledEventAttributes) SetTaskList(v *TaskList) *ActivityTaskScheduledEventAttributes { + s.TaskList = v + return s +} + +// SetTaskPriority sets the TaskPriority field's value. +func (s *ActivityTaskScheduledEventAttributes) SetTaskPriority(v string) *ActivityTaskScheduledEventAttributes { + s.TaskPriority = &v + return s +} + +// Provides the details of the ActivityTaskStarted event. +type ActivityTaskStartedEventAttributes struct { + _ struct{} `type:"structure"` + + // Identity of the worker that was assigned this task. This aids diagnostics + // when problems arise. The form of this identity is user defined. + Identity *string `locationName:"identity" type:"string"` + + // The ID of the ActivityTaskScheduled event that was recorded when this activity + // task was scheduled. This information can be useful for diagnosing problems + // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field + ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s ActivityTaskStartedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ActivityTaskStartedEventAttributes) GoString() string { + return s.String() +} + +// SetIdentity sets the Identity field's value. +func (s *ActivityTaskStartedEventAttributes) SetIdentity(v string) *ActivityTaskStartedEventAttributes { + s.Identity = &v + return s +} + +// SetScheduledEventId sets the ScheduledEventId field's value. +func (s *ActivityTaskStartedEventAttributes) SetScheduledEventId(v int64) *ActivityTaskStartedEventAttributes { + s.ScheduledEventId = &v + return s +} + +// Provides the details of the ActivityTaskTimedOut event. +type ActivityTaskTimedOutEventAttributes struct { + _ struct{} `type:"structure"` + + // Contains the content of the details parameter for the last call made by the + // activity to RecordActivityTaskHeartbeat. + Details *string `locationName:"details" type:"string"` + + // The ID of the ActivityTaskScheduled event that was recorded when this activity + // task was scheduled. This information can be useful for diagnosing problems + // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field + ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` + + // The ID of the ActivityTaskStarted event recorded when this activity task + // was started. This information can be useful for diagnosing problems by tracing + // back the chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` + + // The type of the timeout that caused this event. + // + // TimeoutType is a required field + TimeoutType *string `locationName:"timeoutType" type:"string" required:"true" enum:"ActivityTaskTimeoutType"` +} + +// String returns the string representation +func (s ActivityTaskTimedOutEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ActivityTaskTimedOutEventAttributes) GoString() string { + return s.String() +} + +// SetDetails sets the Details field's value. +func (s *ActivityTaskTimedOutEventAttributes) SetDetails(v string) *ActivityTaskTimedOutEventAttributes { + s.Details = &v + return s +} + +// SetScheduledEventId sets the ScheduledEventId field's value. +func (s *ActivityTaskTimedOutEventAttributes) SetScheduledEventId(v int64) *ActivityTaskTimedOutEventAttributes { + s.ScheduledEventId = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *ActivityTaskTimedOutEventAttributes) SetStartedEventId(v int64) *ActivityTaskTimedOutEventAttributes { + s.StartedEventId = &v + return s +} + +// SetTimeoutType sets the TimeoutType field's value. +func (s *ActivityTaskTimedOutEventAttributes) SetTimeoutType(v string) *ActivityTaskTimedOutEventAttributes { + s.TimeoutType = &v + return s +} + +// Represents an activity type. +type ActivityType struct { + _ struct{} `type:"structure"` + + // The name of this activity. + // + // The combination of activity type name and version must be unique within a + // domain. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The version of this activity. + // + // The combination of activity type name and version must be unique with in + // a domain. + // + // Version is a required field + Version *string `locationName:"version" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s ActivityType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ActivityType) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ActivityType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ActivityType"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Version == nil { + invalidParams.Add(request.NewErrParamRequired("Version")) + } + if s.Version != nil && len(*s.Version) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Version", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *ActivityType) SetName(v string) *ActivityType { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *ActivityType) SetVersion(v string) *ActivityType { + s.Version = &v + return s +} + +// Configuration settings registered with the activity type. +type ActivityTypeConfiguration struct { + _ struct{} `type:"structure"` + + // The default maximum time, in seconds, before which a worker processing a + // task must report progress by calling RecordActivityTaskHeartbeat. + // + // You can specify this value only when registering an activity type. The registered + // default value can be overridden when you schedule a task through the ScheduleActivityTaskDecision. + // If the activity worker subsequently attempts to record a heartbeat or returns + // a result, the activity worker receives an UnknownResource fault. In this + // case, Amazon SWF no longer considers the activity task to be valid; the activity + // worker should clean up the activity task. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + DefaultTaskHeartbeatTimeout *string `locationName:"defaultTaskHeartbeatTimeout" type:"string"` + + // The default task list specified for this activity type at registration. This + // default is used if a task list isn't provided when a task is scheduled through + // the ScheduleActivityTaskDecision. You can override the default registered + // task list when scheduling a task through the ScheduleActivityTaskDecision. + DefaultTaskList *TaskList `locationName:"defaultTaskList" type:"structure"` + + // The default task priority for tasks of this activity type, specified at registration. + // If not set, then 0 is used as the default priority. This default can be overridden + // when scheduling an activity task. + // + // Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) + // to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. + // + // For more information about setting task priority, see Setting Task Priority + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html) + // in the Amazon SWF Developer Guide. + DefaultTaskPriority *string `locationName:"defaultTaskPriority" type:"string"` + + // The default maximum duration, specified when registering the activity type, + // for tasks of this activity type. You can override this default when scheduling + // a task through the ScheduleActivityTaskDecision. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + DefaultTaskScheduleToCloseTimeout *string `locationName:"defaultTaskScheduleToCloseTimeout" type:"string"` + + // The default maximum duration, specified when registering the activity type, + // that a task of an activity type can wait before being assigned to a worker. + // You can override this default when scheduling a task through the ScheduleActivityTaskDecision. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + DefaultTaskScheduleToStartTimeout *string `locationName:"defaultTaskScheduleToStartTimeout" type:"string"` + + // The default maximum duration for tasks of an activity type specified when + // registering the activity type. You can override this default when scheduling + // a task through the ScheduleActivityTaskDecision. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + DefaultTaskStartToCloseTimeout *string `locationName:"defaultTaskStartToCloseTimeout" type:"string"` +} + +// String returns the string representation +func (s ActivityTypeConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ActivityTypeConfiguration) GoString() string { + return s.String() +} + +// SetDefaultTaskHeartbeatTimeout sets the DefaultTaskHeartbeatTimeout field's value. +func (s *ActivityTypeConfiguration) SetDefaultTaskHeartbeatTimeout(v string) *ActivityTypeConfiguration { + s.DefaultTaskHeartbeatTimeout = &v + return s +} + +// SetDefaultTaskList sets the DefaultTaskList field's value. +func (s *ActivityTypeConfiguration) SetDefaultTaskList(v *TaskList) *ActivityTypeConfiguration { + s.DefaultTaskList = v + return s +} + +// SetDefaultTaskPriority sets the DefaultTaskPriority field's value. +func (s *ActivityTypeConfiguration) SetDefaultTaskPriority(v string) *ActivityTypeConfiguration { + s.DefaultTaskPriority = &v + return s +} + +// SetDefaultTaskScheduleToCloseTimeout sets the DefaultTaskScheduleToCloseTimeout field's value. +func (s *ActivityTypeConfiguration) SetDefaultTaskScheduleToCloseTimeout(v string) *ActivityTypeConfiguration { + s.DefaultTaskScheduleToCloseTimeout = &v + return s +} + +// SetDefaultTaskScheduleToStartTimeout sets the DefaultTaskScheduleToStartTimeout field's value. +func (s *ActivityTypeConfiguration) SetDefaultTaskScheduleToStartTimeout(v string) *ActivityTypeConfiguration { + s.DefaultTaskScheduleToStartTimeout = &v + return s +} + +// SetDefaultTaskStartToCloseTimeout sets the DefaultTaskStartToCloseTimeout field's value. +func (s *ActivityTypeConfiguration) SetDefaultTaskStartToCloseTimeout(v string) *ActivityTypeConfiguration { + s.DefaultTaskStartToCloseTimeout = &v + return s +} + +// Detailed information about an activity type. +type ActivityTypeInfo struct { + _ struct{} `type:"structure"` + + // The ActivityType type structure representing the activity type. + // + // ActivityType is a required field + ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"` + + // The date and time this activity type was created through RegisterActivityType. + // + // CreationDate is a required field + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix" required:"true"` + + // If DEPRECATED, the date and time DeprecateActivityType was called. + DeprecationDate *time.Time `locationName:"deprecationDate" type:"timestamp" timestampFormat:"unix"` + + // The description of the activity type provided in RegisterActivityType. + Description *string `locationName:"description" type:"string"` + + // The current status of the activity type. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"RegistrationStatus"` +} + +// String returns the string representation +func (s ActivityTypeInfo) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ActivityTypeInfo) GoString() string { + return s.String() +} + +// SetActivityType sets the ActivityType field's value. +func (s *ActivityTypeInfo) SetActivityType(v *ActivityType) *ActivityTypeInfo { + s.ActivityType = v + return s +} + +// SetCreationDate sets the CreationDate field's value. +func (s *ActivityTypeInfo) SetCreationDate(v time.Time) *ActivityTypeInfo { + s.CreationDate = &v + return s +} + +// SetDeprecationDate sets the DeprecationDate field's value. +func (s *ActivityTypeInfo) SetDeprecationDate(v time.Time) *ActivityTypeInfo { + s.DeprecationDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ActivityTypeInfo) SetDescription(v string) *ActivityTypeInfo { + s.Description = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ActivityTypeInfo) SetStatus(v string) *ActivityTypeInfo { + s.Status = &v + return s +} + +// Provides the details of the CancelTimer decision. +// +// Access Control +// +// You can use IAM policies to control this decision's access to Amazon SWF +// resources as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +type CancelTimerDecisionAttributes struct { + _ struct{} `type:"structure"` + + // The unique ID of the timer to cancel. + // + // TimerId is a required field + TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s CancelTimerDecisionAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CancelTimerDecisionAttributes) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelTimerDecisionAttributes) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelTimerDecisionAttributes"} + if s.TimerId == nil { + invalidParams.Add(request.NewErrParamRequired("TimerId")) + } + if s.TimerId != nil && len(*s.TimerId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TimerId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTimerId sets the TimerId field's value. +func (s *CancelTimerDecisionAttributes) SetTimerId(v string) *CancelTimerDecisionAttributes { + s.TimerId = &v + return s +} + +// Provides the details of the CancelTimerFailed event. +type CancelTimerFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The cause of the failure. This information is generated by the system and + // can be useful for diagnostic purposes. + // + // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it + // lacked sufficient permissions. For details and example IAM policies, see + // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) + // in the Amazon SWF Developer Guide. + // + // Cause is a required field + Cause *string `locationName:"cause" type:"string" required:"true" enum:"CancelTimerFailedCause"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the CancelTimer decision to cancel this timer. This information + // can be useful for diagnosing problems by tracing back the chain of events + // leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The timerId provided in the CancelTimer decision that failed. + // + // TimerId is a required field + TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s CancelTimerFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CancelTimerFailedEventAttributes) GoString() string { + return s.String() +} + +// SetCause sets the Cause field's value. +func (s *CancelTimerFailedEventAttributes) SetCause(v string) *CancelTimerFailedEventAttributes { + s.Cause = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *CancelTimerFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *CancelTimerFailedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetTimerId sets the TimerId field's value. +func (s *CancelTimerFailedEventAttributes) SetTimerId(v string) *CancelTimerFailedEventAttributes { + s.TimerId = &v + return s +} + +// Provides the details of the CancelWorkflowExecution decision. +// +// Access Control +// +// You can use IAM policies to control this decision's access to Amazon SWF +// resources as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +type CancelWorkflowExecutionDecisionAttributes struct { + _ struct{} `type:"structure"` + + // Details of the cancellation. + Details *string `locationName:"details" type:"string"` +} + +// String returns the string representation +func (s CancelWorkflowExecutionDecisionAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CancelWorkflowExecutionDecisionAttributes) GoString() string { + return s.String() +} + +// SetDetails sets the Details field's value. +func (s *CancelWorkflowExecutionDecisionAttributes) SetDetails(v string) *CancelWorkflowExecutionDecisionAttributes { + s.Details = &v + return s +} + +// Provides the details of the CancelWorkflowExecutionFailed event. +type CancelWorkflowExecutionFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The cause of the failure. This information is generated by the system and + // can be useful for diagnostic purposes. + // + // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it + // lacked sufficient permissions. For details and example IAM policies, see + // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) + // in the Amazon SWF Developer Guide. + // + // Cause is a required field + Cause *string `locationName:"cause" type:"string" required:"true" enum:"CancelWorkflowExecutionFailedCause"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the CancelWorkflowExecution decision for this cancellation + // request. This information can be useful for diagnosing problems by tracing + // back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s CancelWorkflowExecutionFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CancelWorkflowExecutionFailedEventAttributes) GoString() string { + return s.String() +} + +// SetCause sets the Cause field's value. +func (s *CancelWorkflowExecutionFailedEventAttributes) SetCause(v string) *CancelWorkflowExecutionFailedEventAttributes { + s.Cause = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *CancelWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *CancelWorkflowExecutionFailedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// Provide details of the ChildWorkflowExecutionCanceled event. +type ChildWorkflowExecutionCanceledEventAttributes struct { + _ struct{} `type:"structure"` + + // Details of the cancellation (if provided). + Details *string `locationName:"details" type:"string"` + + // The ID of the StartChildWorkflowExecutionInitiated event corresponding to + // the StartChildWorkflowExecutionDecision to start this child workflow execution. + // This information can be useful for diagnosing problems by tracing back the + // chain of events leading up to this event. + // + // InitiatedEventId is a required field + InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` + + // The ID of the ChildWorkflowExecutionStarted event recorded when this child + // workflow execution was started. This information can be useful for diagnosing + // problems by tracing back the chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` + + // The child workflow execution that was canceled. + // + // WorkflowExecution is a required field + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` + + // The type of the child workflow execution. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s ChildWorkflowExecutionCanceledEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ChildWorkflowExecutionCanceledEventAttributes) GoString() string { + return s.String() +} + +// SetDetails sets the Details field's value. +func (s *ChildWorkflowExecutionCanceledEventAttributes) SetDetails(v string) *ChildWorkflowExecutionCanceledEventAttributes { + s.Details = &v + return s +} + +// SetInitiatedEventId sets the InitiatedEventId field's value. +func (s *ChildWorkflowExecutionCanceledEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionCanceledEventAttributes { + s.InitiatedEventId = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *ChildWorkflowExecutionCanceledEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionCanceledEventAttributes { + s.StartedEventId = &v + return s +} + +// SetWorkflowExecution sets the WorkflowExecution field's value. +func (s *ChildWorkflowExecutionCanceledEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionCanceledEventAttributes { + s.WorkflowExecution = v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *ChildWorkflowExecutionCanceledEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionCanceledEventAttributes { + s.WorkflowType = v + return s +} + +// Provides the details of the ChildWorkflowExecutionCompleted event. +type ChildWorkflowExecutionCompletedEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the StartChildWorkflowExecutionInitiated event corresponding to + // the StartChildWorkflowExecutionDecision to start this child workflow execution. + // This information can be useful for diagnosing problems by tracing back the + // chain of events leading up to this event. + // + // InitiatedEventId is a required field + InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` + + // The result of the child workflow execution. + Result *string `locationName:"result" type:"string"` + + // The ID of the ChildWorkflowExecutionStarted event recorded when this child + // workflow execution was started. This information can be useful for diagnosing + // problems by tracing back the chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` + + // The child workflow execution that was completed. + // + // WorkflowExecution is a required field + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` + + // The type of the child workflow execution. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s ChildWorkflowExecutionCompletedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ChildWorkflowExecutionCompletedEventAttributes) GoString() string { + return s.String() +} + +// SetInitiatedEventId sets the InitiatedEventId field's value. +func (s *ChildWorkflowExecutionCompletedEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionCompletedEventAttributes { + s.InitiatedEventId = &v + return s +} + +// SetResult sets the Result field's value. +func (s *ChildWorkflowExecutionCompletedEventAttributes) SetResult(v string) *ChildWorkflowExecutionCompletedEventAttributes { + s.Result = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *ChildWorkflowExecutionCompletedEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionCompletedEventAttributes { + s.StartedEventId = &v + return s +} + +// SetWorkflowExecution sets the WorkflowExecution field's value. +func (s *ChildWorkflowExecutionCompletedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionCompletedEventAttributes { + s.WorkflowExecution = v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *ChildWorkflowExecutionCompletedEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionCompletedEventAttributes { + s.WorkflowType = v + return s +} + +// Provides the details of the ChildWorkflowExecutionFailed event. +type ChildWorkflowExecutionFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The details of the failure (if provided). + Details *string `locationName:"details" type:"string"` + + // The ID of the StartChildWorkflowExecutionInitiated event corresponding to + // the StartChildWorkflowExecutionDecision to start this child workflow execution. + // This information can be useful for diagnosing problems by tracing back the + // chain of events leading up to this event. + // + // InitiatedEventId is a required field + InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` + + // The reason for the failure (if provided). + Reason *string `locationName:"reason" type:"string"` + + // The ID of the ChildWorkflowExecutionStarted event recorded when this child + // workflow execution was started. This information can be useful for diagnosing + // problems by tracing back the chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` + + // The child workflow execution that failed. + // + // WorkflowExecution is a required field + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` + + // The type of the child workflow execution. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s ChildWorkflowExecutionFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ChildWorkflowExecutionFailedEventAttributes) GoString() string { + return s.String() +} + +// SetDetails sets the Details field's value. +func (s *ChildWorkflowExecutionFailedEventAttributes) SetDetails(v string) *ChildWorkflowExecutionFailedEventAttributes { + s.Details = &v + return s +} + +// SetInitiatedEventId sets the InitiatedEventId field's value. +func (s *ChildWorkflowExecutionFailedEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionFailedEventAttributes { + s.InitiatedEventId = &v + return s +} + +// SetReason sets the Reason field's value. +func (s *ChildWorkflowExecutionFailedEventAttributes) SetReason(v string) *ChildWorkflowExecutionFailedEventAttributes { + s.Reason = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *ChildWorkflowExecutionFailedEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionFailedEventAttributes { + s.StartedEventId = &v + return s +} + +// SetWorkflowExecution sets the WorkflowExecution field's value. +func (s *ChildWorkflowExecutionFailedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionFailedEventAttributes { + s.WorkflowExecution = v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *ChildWorkflowExecutionFailedEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionFailedEventAttributes { + s.WorkflowType = v + return s +} + +// Provides the details of the ChildWorkflowExecutionStarted event. +type ChildWorkflowExecutionStartedEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the StartChildWorkflowExecutionInitiated event corresponding to + // the StartChildWorkflowExecutionDecision to start this child workflow execution. + // This information can be useful for diagnosing problems by tracing back the + // chain of events leading up to this event. + // + // InitiatedEventId is a required field + InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` + + // The child workflow execution that was started. + // + // WorkflowExecution is a required field + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` + + // The type of the child workflow execution. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s ChildWorkflowExecutionStartedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ChildWorkflowExecutionStartedEventAttributes) GoString() string { + return s.String() +} + +// SetInitiatedEventId sets the InitiatedEventId field's value. +func (s *ChildWorkflowExecutionStartedEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionStartedEventAttributes { + s.InitiatedEventId = &v + return s +} + +// SetWorkflowExecution sets the WorkflowExecution field's value. +func (s *ChildWorkflowExecutionStartedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionStartedEventAttributes { + s.WorkflowExecution = v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *ChildWorkflowExecutionStartedEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionStartedEventAttributes { + s.WorkflowType = v + return s +} + +// Provides the details of the ChildWorkflowExecutionTerminated event. +type ChildWorkflowExecutionTerminatedEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the StartChildWorkflowExecutionInitiated event corresponding to + // the StartChildWorkflowExecutionDecision to start this child workflow execution. + // This information can be useful for diagnosing problems by tracing back the + // chain of events leading up to this event. + // + // InitiatedEventId is a required field + InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` + + // The ID of the ChildWorkflowExecutionStarted event recorded when this child + // workflow execution was started. This information can be useful for diagnosing + // problems by tracing back the chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` + + // The child workflow execution that was terminated. + // + // WorkflowExecution is a required field + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` + + // The type of the child workflow execution. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s ChildWorkflowExecutionTerminatedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ChildWorkflowExecutionTerminatedEventAttributes) GoString() string { + return s.String() +} + +// SetInitiatedEventId sets the InitiatedEventId field's value. +func (s *ChildWorkflowExecutionTerminatedEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionTerminatedEventAttributes { + s.InitiatedEventId = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *ChildWorkflowExecutionTerminatedEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionTerminatedEventAttributes { + s.StartedEventId = &v + return s +} + +// SetWorkflowExecution sets the WorkflowExecution field's value. +func (s *ChildWorkflowExecutionTerminatedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionTerminatedEventAttributes { + s.WorkflowExecution = v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *ChildWorkflowExecutionTerminatedEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionTerminatedEventAttributes { + s.WorkflowType = v + return s +} + +// Provides the details of the ChildWorkflowExecutionTimedOut event. +type ChildWorkflowExecutionTimedOutEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the StartChildWorkflowExecutionInitiated event corresponding to + // the StartChildWorkflowExecutionDecision to start this child workflow execution. + // This information can be useful for diagnosing problems by tracing back the + // chain of events leading up to this event. + // + // InitiatedEventId is a required field + InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` + + // The ID of the ChildWorkflowExecutionStarted event recorded when this child + // workflow execution was started. This information can be useful for diagnosing + // problems by tracing back the chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` + + // The type of the timeout that caused the child workflow execution to time + // out. + // + // TimeoutType is a required field + TimeoutType *string `locationName:"timeoutType" type:"string" required:"true" enum:"WorkflowExecutionTimeoutType"` + + // The child workflow execution that timed out. + // + // WorkflowExecution is a required field + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` + + // The type of the child workflow execution. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s ChildWorkflowExecutionTimedOutEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ChildWorkflowExecutionTimedOutEventAttributes) GoString() string { + return s.String() +} + +// SetInitiatedEventId sets the InitiatedEventId field's value. +func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionTimedOutEventAttributes { + s.InitiatedEventId = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionTimedOutEventAttributes { + s.StartedEventId = &v + return s +} + +// SetTimeoutType sets the TimeoutType field's value. +func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetTimeoutType(v string) *ChildWorkflowExecutionTimedOutEventAttributes { + s.TimeoutType = &v + return s +} + +// SetWorkflowExecution sets the WorkflowExecution field's value. +func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionTimedOutEventAttributes { + s.WorkflowExecution = v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionTimedOutEventAttributes { + s.WorkflowType = v + return s +} + +// Used to filter the closed workflow executions in visibility APIs by their +// close status. +type CloseStatusFilter struct { + _ struct{} `type:"structure"` + + // The close status that must match the close status of an execution for it + // to meet the criteria of this filter. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"CloseStatus"` +} + +// String returns the string representation +func (s CloseStatusFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CloseStatusFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CloseStatusFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CloseStatusFilter"} + if s.Status == nil { + invalidParams.Add(request.NewErrParamRequired("Status")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetStatus sets the Status field's value. +func (s *CloseStatusFilter) SetStatus(v string) *CloseStatusFilter { + s.Status = &v + return s +} + +// Provides the details of the CompleteWorkflowExecution decision. +// +// Access Control +// +// You can use IAM policies to control this decision's access to Amazon SWF +// resources as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +type CompleteWorkflowExecutionDecisionAttributes struct { + _ struct{} `type:"structure"` + + // The result of the workflow execution. The form of the result is implementation + // defined. + Result *string `locationName:"result" type:"string"` +} + +// String returns the string representation +func (s CompleteWorkflowExecutionDecisionAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CompleteWorkflowExecutionDecisionAttributes) GoString() string { + return s.String() +} + +// SetResult sets the Result field's value. +func (s *CompleteWorkflowExecutionDecisionAttributes) SetResult(v string) *CompleteWorkflowExecutionDecisionAttributes { + s.Result = &v + return s +} + +// Provides the details of the CompleteWorkflowExecutionFailed event. +type CompleteWorkflowExecutionFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The cause of the failure. This information is generated by the system and + // can be useful for diagnostic purposes. + // + // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it + // lacked sufficient permissions. For details and example IAM policies, see + // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) + // in the Amazon SWF Developer Guide. + // + // Cause is a required field + Cause *string `locationName:"cause" type:"string" required:"true" enum:"CompleteWorkflowExecutionFailedCause"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the CompleteWorkflowExecution decision to complete this + // execution. This information can be useful for diagnosing problems by tracing + // back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s CompleteWorkflowExecutionFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CompleteWorkflowExecutionFailedEventAttributes) GoString() string { + return s.String() +} + +// SetCause sets the Cause field's value. +func (s *CompleteWorkflowExecutionFailedEventAttributes) SetCause(v string) *CompleteWorkflowExecutionFailedEventAttributes { + s.Cause = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *CompleteWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *CompleteWorkflowExecutionFailedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// Provides the details of the ContinueAsNewWorkflowExecution decision. +// +// Access Control +// +// You can use IAM policies to control this decision's access to Amazon SWF +// resources as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the following parameters by using a Condition element with +// the appropriate keys. +// +// tag – A tag used to identify the workflow execution +// +// taskList – String constraint. The key is swf:taskList.name. +// +// workflowType.version – String constraint. The key is swf:workflowType.version. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +type ContinueAsNewWorkflowExecutionDecisionAttributes struct { + _ struct{} `type:"structure"` + + // If set, specifies the policy to use for the child workflow executions of + // the new execution if it is terminated by calling the TerminateWorkflowExecution + // action explicitly or due to an expired timeout. This policy overrides the + // default child policy specified when registering the workflow type using RegisterWorkflowType. + // + // The supported child policies are: + // + // * TERMINATE – The child executions are terminated. + // + // * REQUEST_CANCEL – A request to cancel is attempted for each child execution + // by recording a WorkflowExecutionCancelRequested event in its history. + // It is up to the decider to take appropriate actions when it receives an + // execution history with this event. + // + // * ABANDON – No action is taken. The child executions continue to run. + // + // A child policy for this workflow execution must be specified either as a + // default for the workflow type or through this parameter. If neither this + // parameter is set nor a default child policy was specified at registration + // time then a fault is returned. + ChildPolicy *string `locationName:"childPolicy" type:"string" enum:"ChildPolicy"` + + // If set, specifies the total duration for this workflow execution. This overrides + // the defaultExecutionStartToCloseTimeout specified when registering the workflow + // type. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + // + // An execution start-to-close timeout for this workflow execution must be specified + // either as a default for the workflow type or through this field. If neither + // this field is set nor a default execution start-to-close timeout was specified + // at registration time then a fault is returned. + ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" type:"string"` + + // The input provided to the new workflow execution. + Input *string `locationName:"input" type:"string"` + + // The IAM role to attach to the new (continued) execution. + LambdaRole *string `locationName:"lambdaRole" min:"1" type:"string"` + + // The list of tags to associate with the new workflow execution. A maximum + // of 5 tags can be specified. You can list workflow executions with a specific + // tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions + // and specifying a TagFilter. + TagList []*string `locationName:"tagList" type:"list"` + + // The task list to use for the decisions of the new (continued) workflow execution. + TaskList *TaskList `locationName:"taskList" type:"structure"` + + // The task priority that, if set, specifies the priority for the decision tasks + // for this workflow execution. This overrides the defaultTaskPriority specified + // when registering the workflow type. Valid values are integers that range + // from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). + // Higher numbers indicate higher priority. + // + // For more information about setting task priority, see Setting Task Priority + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html) + // in the Amazon SWF Developer Guide. + TaskPriority *string `locationName:"taskPriority" type:"string"` + + // Specifies the maximum duration of decision tasks for the new workflow execution. + // This parameter overrides the defaultTaskStartToCloseTimout specified when + // registering the workflow type using RegisterWorkflowType. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + // + // A task start-to-close timeout for the new workflow execution must be specified + // either as a default for the workflow type or through this parameter. If neither + // this parameter is set nor a default task start-to-close timeout was specified + // at registration time then a fault is returned. + TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string"` + + // The version of the workflow to start. + WorkflowTypeVersion *string `locationName:"workflowTypeVersion" min:"1" type:"string"` +} + +// String returns the string representation +func (s ContinueAsNewWorkflowExecutionDecisionAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ContinueAsNewWorkflowExecutionDecisionAttributes) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ContinueAsNewWorkflowExecutionDecisionAttributes"} + if s.LambdaRole != nil && len(*s.LambdaRole) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LambdaRole", 1)) + } + if s.WorkflowTypeVersion != nil && len(*s.WorkflowTypeVersion) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowTypeVersion", 1)) + } + if s.TaskList != nil { + if err := s.TaskList.Validate(); err != nil { + invalidParams.AddNested("TaskList", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChildPolicy sets the ChildPolicy field's value. +func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetChildPolicy(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes { + s.ChildPolicy = &v + return s +} + +// SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value. +func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetExecutionStartToCloseTimeout(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes { + s.ExecutionStartToCloseTimeout = &v + return s +} + +// SetInput sets the Input field's value. +func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetInput(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes { + s.Input = &v + return s +} + +// SetLambdaRole sets the LambdaRole field's value. +func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetLambdaRole(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes { + s.LambdaRole = &v + return s +} + +// SetTagList sets the TagList field's value. +func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetTagList(v []*string) *ContinueAsNewWorkflowExecutionDecisionAttributes { + s.TagList = v + return s +} + +// SetTaskList sets the TaskList field's value. +func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetTaskList(v *TaskList) *ContinueAsNewWorkflowExecutionDecisionAttributes { + s.TaskList = v + return s +} + +// SetTaskPriority sets the TaskPriority field's value. +func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetTaskPriority(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes { + s.TaskPriority = &v + return s +} + +// SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value. +func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetTaskStartToCloseTimeout(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes { + s.TaskStartToCloseTimeout = &v + return s +} + +// SetWorkflowTypeVersion sets the WorkflowTypeVersion field's value. +func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetWorkflowTypeVersion(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes { + s.WorkflowTypeVersion = &v + return s +} + +// Provides the details of the ContinueAsNewWorkflowExecutionFailed event. +type ContinueAsNewWorkflowExecutionFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The cause of the failure. This information is generated by the system and + // can be useful for diagnostic purposes. + // + // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it + // lacked sufficient permissions. For details and example IAM policies, see + // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) + // in the Amazon SWF Developer Guide. + // + // Cause is a required field + Cause *string `locationName:"cause" type:"string" required:"true" enum:"ContinueAsNewWorkflowExecutionFailedCause"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the ContinueAsNewWorkflowExecution decision that started + // this execution. This information can be useful for diagnosing problems by + // tracing back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s ContinueAsNewWorkflowExecutionFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ContinueAsNewWorkflowExecutionFailedEventAttributes) GoString() string { + return s.String() +} + +// SetCause sets the Cause field's value. +func (s *ContinueAsNewWorkflowExecutionFailedEventAttributes) SetCause(v string) *ContinueAsNewWorkflowExecutionFailedEventAttributes { + s.Cause = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *ContinueAsNewWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *ContinueAsNewWorkflowExecutionFailedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +type CountClosedWorkflowExecutionsInput struct { + _ struct{} `type:"structure"` + + // If specified, only workflow executions that match this close status are counted. + // This filter has an affect only if executionStatus is specified as CLOSED. + // + // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually + // exclusive. You can specify at most one of these in a request. + CloseStatusFilter *CloseStatusFilter `locationName:"closeStatusFilter" type:"structure"` + + // If specified, only workflow executions that meet the close time criteria + // of the filter are counted. + // + // startTimeFilter and closeTimeFilter are mutually exclusive. You must specify + // one of these in a request but not both. + CloseTimeFilter *ExecutionTimeFilter `locationName:"closeTimeFilter" type:"structure"` + + // The name of the domain containing the workflow executions to count. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // If specified, only workflow executions matching the WorkflowId in the filter + // are counted. + // + // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually + // exclusive. You can specify at most one of these in a request. + ExecutionFilter *WorkflowExecutionFilter `locationName:"executionFilter" type:"structure"` + + // If specified, only workflow executions that meet the start time criteria + // of the filter are counted. + // + // startTimeFilter and closeTimeFilter are mutually exclusive. You must specify + // one of these in a request but not both. + StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure"` + + // If specified, only executions that have a tag that matches the filter are + // counted. + // + // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually + // exclusive. You can specify at most one of these in a request. + TagFilter *TagFilter `locationName:"tagFilter" type:"structure"` + + // If specified, indicates the type of the workflow executions to be counted. + // + // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually + // exclusive. You can specify at most one of these in a request. + TypeFilter *WorkflowTypeFilter `locationName:"typeFilter" type:"structure"` +} + +// String returns the string representation +func (s CountClosedWorkflowExecutionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CountClosedWorkflowExecutionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CountClosedWorkflowExecutionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CountClosedWorkflowExecutionsInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.CloseStatusFilter != nil { + if err := s.CloseStatusFilter.Validate(); err != nil { + invalidParams.AddNested("CloseStatusFilter", err.(request.ErrInvalidParams)) + } + } + if s.CloseTimeFilter != nil { + if err := s.CloseTimeFilter.Validate(); err != nil { + invalidParams.AddNested("CloseTimeFilter", err.(request.ErrInvalidParams)) + } + } + if s.ExecutionFilter != nil { + if err := s.ExecutionFilter.Validate(); err != nil { + invalidParams.AddNested("ExecutionFilter", err.(request.ErrInvalidParams)) + } + } + if s.StartTimeFilter != nil { + if err := s.StartTimeFilter.Validate(); err != nil { + invalidParams.AddNested("StartTimeFilter", err.(request.ErrInvalidParams)) + } + } + if s.TagFilter != nil { + if err := s.TagFilter.Validate(); err != nil { + invalidParams.AddNested("TagFilter", err.(request.ErrInvalidParams)) + } + } + if s.TypeFilter != nil { + if err := s.TypeFilter.Validate(); err != nil { + invalidParams.AddNested("TypeFilter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCloseStatusFilter sets the CloseStatusFilter field's value. +func (s *CountClosedWorkflowExecutionsInput) SetCloseStatusFilter(v *CloseStatusFilter) *CountClosedWorkflowExecutionsInput { + s.CloseStatusFilter = v + return s +} + +// SetCloseTimeFilter sets the CloseTimeFilter field's value. +func (s *CountClosedWorkflowExecutionsInput) SetCloseTimeFilter(v *ExecutionTimeFilter) *CountClosedWorkflowExecutionsInput { + s.CloseTimeFilter = v + return s +} + +// SetDomain sets the Domain field's value. +func (s *CountClosedWorkflowExecutionsInput) SetDomain(v string) *CountClosedWorkflowExecutionsInput { + s.Domain = &v + return s +} + +// SetExecutionFilter sets the ExecutionFilter field's value. +func (s *CountClosedWorkflowExecutionsInput) SetExecutionFilter(v *WorkflowExecutionFilter) *CountClosedWorkflowExecutionsInput { + s.ExecutionFilter = v + return s +} + +// SetStartTimeFilter sets the StartTimeFilter field's value. +func (s *CountClosedWorkflowExecutionsInput) SetStartTimeFilter(v *ExecutionTimeFilter) *CountClosedWorkflowExecutionsInput { + s.StartTimeFilter = v + return s +} + +// SetTagFilter sets the TagFilter field's value. +func (s *CountClosedWorkflowExecutionsInput) SetTagFilter(v *TagFilter) *CountClosedWorkflowExecutionsInput { + s.TagFilter = v + return s +} + +// SetTypeFilter sets the TypeFilter field's value. +func (s *CountClosedWorkflowExecutionsInput) SetTypeFilter(v *WorkflowTypeFilter) *CountClosedWorkflowExecutionsInput { + s.TypeFilter = v + return s +} + +type CountOpenWorkflowExecutionsInput struct { + _ struct{} `type:"structure"` + + // The name of the domain containing the workflow executions to count. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // If specified, only workflow executions matching the WorkflowId in the filter + // are counted. + // + // executionFilter, typeFilter and tagFilter are mutually exclusive. You can + // specify at most one of these in a request. + ExecutionFilter *WorkflowExecutionFilter `locationName:"executionFilter" type:"structure"` + + // Specifies the start time criteria that workflow executions must meet in order + // to be counted. + // + // StartTimeFilter is a required field + StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure" required:"true"` + + // If specified, only executions that have a tag that matches the filter are + // counted. + // + // executionFilter, typeFilter and tagFilter are mutually exclusive. You can + // specify at most one of these in a request. + TagFilter *TagFilter `locationName:"tagFilter" type:"structure"` + + // Specifies the type of the workflow executions to be counted. + // + // executionFilter, typeFilter and tagFilter are mutually exclusive. You can + // specify at most one of these in a request. + TypeFilter *WorkflowTypeFilter `locationName:"typeFilter" type:"structure"` +} + +// String returns the string representation +func (s CountOpenWorkflowExecutionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CountOpenWorkflowExecutionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CountOpenWorkflowExecutionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CountOpenWorkflowExecutionsInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.StartTimeFilter == nil { + invalidParams.Add(request.NewErrParamRequired("StartTimeFilter")) + } + if s.ExecutionFilter != nil { + if err := s.ExecutionFilter.Validate(); err != nil { + invalidParams.AddNested("ExecutionFilter", err.(request.ErrInvalidParams)) + } + } + if s.StartTimeFilter != nil { + if err := s.StartTimeFilter.Validate(); err != nil { + invalidParams.AddNested("StartTimeFilter", err.(request.ErrInvalidParams)) + } + } + if s.TagFilter != nil { + if err := s.TagFilter.Validate(); err != nil { + invalidParams.AddNested("TagFilter", err.(request.ErrInvalidParams)) + } + } + if s.TypeFilter != nil { + if err := s.TypeFilter.Validate(); err != nil { + invalidParams.AddNested("TypeFilter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomain sets the Domain field's value. +func (s *CountOpenWorkflowExecutionsInput) SetDomain(v string) *CountOpenWorkflowExecutionsInput { + s.Domain = &v + return s +} + +// SetExecutionFilter sets the ExecutionFilter field's value. +func (s *CountOpenWorkflowExecutionsInput) SetExecutionFilter(v *WorkflowExecutionFilter) *CountOpenWorkflowExecutionsInput { + s.ExecutionFilter = v + return s +} + +// SetStartTimeFilter sets the StartTimeFilter field's value. +func (s *CountOpenWorkflowExecutionsInput) SetStartTimeFilter(v *ExecutionTimeFilter) *CountOpenWorkflowExecutionsInput { + s.StartTimeFilter = v + return s +} + +// SetTagFilter sets the TagFilter field's value. +func (s *CountOpenWorkflowExecutionsInput) SetTagFilter(v *TagFilter) *CountOpenWorkflowExecutionsInput { + s.TagFilter = v + return s +} + +// SetTypeFilter sets the TypeFilter field's value. +func (s *CountOpenWorkflowExecutionsInput) SetTypeFilter(v *WorkflowTypeFilter) *CountOpenWorkflowExecutionsInput { + s.TypeFilter = v + return s +} + +type CountPendingActivityTasksInput struct { + _ struct{} `type:"structure"` + + // The name of the domain that contains the task list. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // The name of the task list. + // + // TaskList is a required field + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` +} + +// String returns the string representation +func (s CountPendingActivityTasksInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CountPendingActivityTasksInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CountPendingActivityTasksInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CountPendingActivityTasksInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.TaskList == nil { + invalidParams.Add(request.NewErrParamRequired("TaskList")) + } + if s.TaskList != nil { + if err := s.TaskList.Validate(); err != nil { + invalidParams.AddNested("TaskList", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomain sets the Domain field's value. +func (s *CountPendingActivityTasksInput) SetDomain(v string) *CountPendingActivityTasksInput { + s.Domain = &v + return s +} + +// SetTaskList sets the TaskList field's value. +func (s *CountPendingActivityTasksInput) SetTaskList(v *TaskList) *CountPendingActivityTasksInput { + s.TaskList = v + return s +} + +type CountPendingDecisionTasksInput struct { + _ struct{} `type:"structure"` + + // The name of the domain that contains the task list. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // The name of the task list. + // + // TaskList is a required field + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` +} + +// String returns the string representation +func (s CountPendingDecisionTasksInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CountPendingDecisionTasksInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CountPendingDecisionTasksInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CountPendingDecisionTasksInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.TaskList == nil { + invalidParams.Add(request.NewErrParamRequired("TaskList")) + } + if s.TaskList != nil { + if err := s.TaskList.Validate(); err != nil { + invalidParams.AddNested("TaskList", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomain sets the Domain field's value. +func (s *CountPendingDecisionTasksInput) SetDomain(v string) *CountPendingDecisionTasksInput { + s.Domain = &v + return s +} + +// SetTaskList sets the TaskList field's value. +func (s *CountPendingDecisionTasksInput) SetTaskList(v *TaskList) *CountPendingDecisionTasksInput { + s.TaskList = v + return s +} + +// Specifies a decision made by the decider. A decision can be one of these +// types: +// +// * CancelTimer – Cancels a previously started timer and records a TimerCanceled +// event in the history. +// +// * CancelWorkflowExecution – Closes the workflow execution and records +// a WorkflowExecutionCanceled event in the history. +// +// * CompleteWorkflowExecution – Closes the workflow execution and records +// a WorkflowExecutionCompleted event in the history . +// +// * ContinueAsNewWorkflowExecution – Closes the workflow execution and starts +// a new workflow execution of the same type using the same workflow ID and +// a unique run Id. A WorkflowExecutionContinuedAsNew event is recorded in +// the history. +// +// * FailWorkflowExecution – Closes the workflow execution and records a +// WorkflowExecutionFailed event in the history. +// +// * RecordMarker – Records a MarkerRecorded event in the history. Markers +// can be used for adding custom information in the history for instance +// to let deciders know that they don't need to look at the history beyond +// the marker event. +// +// * RequestCancelActivityTask – Attempts to cancel a previously scheduled +// activity task. If the activity task was scheduled but has not been assigned +// to a worker, then it is canceled. If the activity task was already assigned +// to a worker, then the worker is informed that cancellation has been requested +// in the response to RecordActivityTaskHeartbeat. +// +// * RequestCancelExternalWorkflowExecution – Requests that a request be +// made to cancel the specified external workflow execution and records a +// RequestCancelExternalWorkflowExecutionInitiated event in the history. +// +// * ScheduleActivityTask – Schedules an activity task. +// +// * SignalExternalWorkflowExecution – Requests a signal to be delivered +// to the specified external workflow execution and records a SignalExternalWorkflowExecutionInitiated +// event in the history. +// +// * StartChildWorkflowExecution – Requests that a child workflow execution +// be started and records a StartChildWorkflowExecutionInitiated event in +// the history. The child workflow execution is a separate workflow execution +// with its own history. +// +// * StartTimer – Starts a timer for this workflow execution and records +// a TimerStarted event in the history. This timer fires after the specified +// delay and record a TimerFired event. +// +// Access Control +// +// If you grant permission to use RespondDecisionTaskCompleted, you can use +// IAM policies to express permissions for the list of decisions returned by +// this action as if they were members of the API. Treating decisions as a pseudo +// API maintains a uniform conceptual model and helps keep policies readable. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// Decision Failure +// +// Decisions can fail for several reasons +// +// * The ordering of decisions should follow a logical flow. Some decisions +// might not make sense in the current context of the workflow execution +// and therefore fails. +// +// * A limit on your account was reached. +// +// * The decision lacks sufficient permissions. +// +// One of the following events might be added to the history to indicate an +// error. The event attribute's cause parameter indicates the cause. If cause +// is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked +// sufficient permissions. For details and example IAM policies, see Using IAM +// to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +// +// * ScheduleActivityTaskFailed – A ScheduleActivityTask decision failed. +// This could happen if the activity type specified in the decision isn't +// registered, is in a deprecated state, or the decision isn't properly configured. +// +// * RequestCancelActivityTaskFailed – A RequestCancelActivityTask decision +// failed. This could happen if there is no open activity task with the specified +// activityId. +// +// * StartTimerFailed – A StartTimer decision failed. This could happen if +// there is another open timer with the same timerId. +// +// * CancelTimerFailed – A CancelTimer decision failed. This could happen +// if there is no open timer with the specified timerId. +// +// * StartChildWorkflowExecutionFailed – A StartChildWorkflowExecution decision +// failed. This could happen if the workflow type specified isn't registered, +// is deprecated, or the decision isn't properly configured. +// +// * SignalExternalWorkflowExecutionFailed – A SignalExternalWorkflowExecution +// decision failed. This could happen if the workflowID specified in the +// decision was incorrect. +// +// * RequestCancelExternalWorkflowExecutionFailed – A RequestCancelExternalWorkflowExecution +// decision failed. This could happen if the workflowID specified in the +// decision was incorrect. +// +// * CancelWorkflowExecutionFailed – A CancelWorkflowExecution decision failed. +// This could happen if there is an unhandled decision task pending in the +// workflow execution. +// +// * CompleteWorkflowExecutionFailed – A CompleteWorkflowExecution decision +// failed. This could happen if there is an unhandled decision task pending +// in the workflow execution. +// +// * ContinueAsNewWorkflowExecutionFailed – A ContinueAsNewWorkflowExecution +// decision failed. This could happen if there is an unhandled decision task +// pending in the workflow execution or the ContinueAsNewWorkflowExecution +// decision was not configured correctly. +// +// * FailWorkflowExecutionFailed – A FailWorkflowExecution decision failed. +// This could happen if there is an unhandled decision task pending in the +// workflow execution. +// +// The preceding error events might occur due to an error in the decider logic, +// which might put the workflow execution in an unstable state The cause field +// in the event structure for the error event indicates the cause of the error. +// +// A workflow execution may be closed by the decider by returning one of the +// following decisions when completing a decision task: CompleteWorkflowExecution, +// FailWorkflowExecution, CancelWorkflowExecution and ContinueAsNewWorkflowExecution. +// An UnhandledDecision fault is returned if a workflow closing decision is +// specified and a signal or activity event had been added to the history while +// the decision task was being performed by the decider. Unlike the above situations +// which are logic issues, this fault is always possible because of race conditions +// in a distributed system. The right action here is to call RespondDecisionTaskCompleted +// without any decisions. This would result in another decision task with these +// new events included in the history. The decider should handle the new events +// and may decide to close the workflow execution. +// +// How to Code a Decision +// +// You code a decision by first setting the decision type field to one of the +// above decision values, and then set the corresponding attributes field shown +// below: +// +// * ScheduleActivityTaskDecisionAttributes +// +// * RequestCancelActivityTaskDecisionAttributes +// +// * CompleteWorkflowExecutionDecisionAttributes +// +// * FailWorkflowExecutionDecisionAttributes +// +// * CancelWorkflowExecutionDecisionAttributes +// +// * ContinueAsNewWorkflowExecutionDecisionAttributes +// +// * RecordMarkerDecisionAttributes +// +// * StartTimerDecisionAttributes +// +// * CancelTimerDecisionAttributes +// +// * SignalExternalWorkflowExecutionDecisionAttributes +// +// * RequestCancelExternalWorkflowExecutionDecisionAttributes +// +// * StartChildWorkflowExecutionDecisionAttributes +type Decision struct { + _ struct{} `type:"structure"` + + // Provides the details of the CancelTimer decision. It isn't set for other + // decision types. + CancelTimerDecisionAttributes *CancelTimerDecisionAttributes `locationName:"cancelTimerDecisionAttributes" type:"structure"` + + // Provides the details of the CancelWorkflowExecution decision. It isn't set + // for other decision types. + CancelWorkflowExecutionDecisionAttributes *CancelWorkflowExecutionDecisionAttributes `locationName:"cancelWorkflowExecutionDecisionAttributes" type:"structure"` + + // Provides the details of the CompleteWorkflowExecution decision. It isn't + // set for other decision types. + CompleteWorkflowExecutionDecisionAttributes *CompleteWorkflowExecutionDecisionAttributes `locationName:"completeWorkflowExecutionDecisionAttributes" type:"structure"` + + // Provides the details of the ContinueAsNewWorkflowExecution decision. It isn't + // set for other decision types. + ContinueAsNewWorkflowExecutionDecisionAttributes *ContinueAsNewWorkflowExecutionDecisionAttributes `locationName:"continueAsNewWorkflowExecutionDecisionAttributes" type:"structure"` + + // Specifies the type of the decision. + // + // DecisionType is a required field + DecisionType *string `locationName:"decisionType" type:"string" required:"true" enum:"DecisionType"` + + // Provides the details of the FailWorkflowExecution decision. It isn't set + // for other decision types. + FailWorkflowExecutionDecisionAttributes *FailWorkflowExecutionDecisionAttributes `locationName:"failWorkflowExecutionDecisionAttributes" type:"structure"` + + // Provides the details of the RecordMarker decision. It isn't set for other + // decision types. + RecordMarkerDecisionAttributes *RecordMarkerDecisionAttributes `locationName:"recordMarkerDecisionAttributes" type:"structure"` + + // Provides the details of the RequestCancelActivityTask decision. It isn't + // set for other decision types. + RequestCancelActivityTaskDecisionAttributes *RequestCancelActivityTaskDecisionAttributes `locationName:"requestCancelActivityTaskDecisionAttributes" type:"structure"` + + // Provides the details of the RequestCancelExternalWorkflowExecution decision. + // It isn't set for other decision types. + RequestCancelExternalWorkflowExecutionDecisionAttributes *RequestCancelExternalWorkflowExecutionDecisionAttributes `locationName:"requestCancelExternalWorkflowExecutionDecisionAttributes" type:"structure"` + + // Provides the details of the ScheduleActivityTask decision. It isn't set for + // other decision types. + ScheduleActivityTaskDecisionAttributes *ScheduleActivityTaskDecisionAttributes `locationName:"scheduleActivityTaskDecisionAttributes" type:"structure"` + + // Provides the details of the ScheduleLambdaFunction decision. It isn't set + // for other decision types. + ScheduleLambdaFunctionDecisionAttributes *ScheduleLambdaFunctionDecisionAttributes `locationName:"scheduleLambdaFunctionDecisionAttributes" type:"structure"` + + // Provides the details of the SignalExternalWorkflowExecution decision. It + // isn't set for other decision types. + SignalExternalWorkflowExecutionDecisionAttributes *SignalExternalWorkflowExecutionDecisionAttributes `locationName:"signalExternalWorkflowExecutionDecisionAttributes" type:"structure"` + + // Provides the details of the StartChildWorkflowExecution decision. It isn't + // set for other decision types. + StartChildWorkflowExecutionDecisionAttributes *StartChildWorkflowExecutionDecisionAttributes `locationName:"startChildWorkflowExecutionDecisionAttributes" type:"structure"` + + // Provides the details of the StartTimer decision. It isn't set for other decision + // types. + StartTimerDecisionAttributes *StartTimerDecisionAttributes `locationName:"startTimerDecisionAttributes" type:"structure"` +} + +// String returns the string representation +func (s Decision) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Decision) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Decision) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Decision"} + if s.DecisionType == nil { + invalidParams.Add(request.NewErrParamRequired("DecisionType")) + } + if s.CancelTimerDecisionAttributes != nil { + if err := s.CancelTimerDecisionAttributes.Validate(); err != nil { + invalidParams.AddNested("CancelTimerDecisionAttributes", err.(request.ErrInvalidParams)) + } + } + if s.ContinueAsNewWorkflowExecutionDecisionAttributes != nil { + if err := s.ContinueAsNewWorkflowExecutionDecisionAttributes.Validate(); err != nil { + invalidParams.AddNested("ContinueAsNewWorkflowExecutionDecisionAttributes", err.(request.ErrInvalidParams)) + } + } + if s.RecordMarkerDecisionAttributes != nil { + if err := s.RecordMarkerDecisionAttributes.Validate(); err != nil { + invalidParams.AddNested("RecordMarkerDecisionAttributes", err.(request.ErrInvalidParams)) + } + } + if s.RequestCancelActivityTaskDecisionAttributes != nil { + if err := s.RequestCancelActivityTaskDecisionAttributes.Validate(); err != nil { + invalidParams.AddNested("RequestCancelActivityTaskDecisionAttributes", err.(request.ErrInvalidParams)) + } + } + if s.RequestCancelExternalWorkflowExecutionDecisionAttributes != nil { + if err := s.RequestCancelExternalWorkflowExecutionDecisionAttributes.Validate(); err != nil { + invalidParams.AddNested("RequestCancelExternalWorkflowExecutionDecisionAttributes", err.(request.ErrInvalidParams)) + } + } + if s.ScheduleActivityTaskDecisionAttributes != nil { + if err := s.ScheduleActivityTaskDecisionAttributes.Validate(); err != nil { + invalidParams.AddNested("ScheduleActivityTaskDecisionAttributes", err.(request.ErrInvalidParams)) + } + } + if s.ScheduleLambdaFunctionDecisionAttributes != nil { + if err := s.ScheduleLambdaFunctionDecisionAttributes.Validate(); err != nil { + invalidParams.AddNested("ScheduleLambdaFunctionDecisionAttributes", err.(request.ErrInvalidParams)) + } + } + if s.SignalExternalWorkflowExecutionDecisionAttributes != nil { + if err := s.SignalExternalWorkflowExecutionDecisionAttributes.Validate(); err != nil { + invalidParams.AddNested("SignalExternalWorkflowExecutionDecisionAttributes", err.(request.ErrInvalidParams)) + } + } + if s.StartChildWorkflowExecutionDecisionAttributes != nil { + if err := s.StartChildWorkflowExecutionDecisionAttributes.Validate(); err != nil { + invalidParams.AddNested("StartChildWorkflowExecutionDecisionAttributes", err.(request.ErrInvalidParams)) + } + } + if s.StartTimerDecisionAttributes != nil { + if err := s.StartTimerDecisionAttributes.Validate(); err != nil { + invalidParams.AddNested("StartTimerDecisionAttributes", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCancelTimerDecisionAttributes sets the CancelTimerDecisionAttributes field's value. +func (s *Decision) SetCancelTimerDecisionAttributes(v *CancelTimerDecisionAttributes) *Decision { + s.CancelTimerDecisionAttributes = v + return s +} + +// SetCancelWorkflowExecutionDecisionAttributes sets the CancelWorkflowExecutionDecisionAttributes field's value. +func (s *Decision) SetCancelWorkflowExecutionDecisionAttributes(v *CancelWorkflowExecutionDecisionAttributes) *Decision { + s.CancelWorkflowExecutionDecisionAttributes = v + return s +} + +// SetCompleteWorkflowExecutionDecisionAttributes sets the CompleteWorkflowExecutionDecisionAttributes field's value. +func (s *Decision) SetCompleteWorkflowExecutionDecisionAttributes(v *CompleteWorkflowExecutionDecisionAttributes) *Decision { + s.CompleteWorkflowExecutionDecisionAttributes = v + return s +} + +// SetContinueAsNewWorkflowExecutionDecisionAttributes sets the ContinueAsNewWorkflowExecutionDecisionAttributes field's value. +func (s *Decision) SetContinueAsNewWorkflowExecutionDecisionAttributes(v *ContinueAsNewWorkflowExecutionDecisionAttributes) *Decision { + s.ContinueAsNewWorkflowExecutionDecisionAttributes = v + return s +} + +// SetDecisionType sets the DecisionType field's value. +func (s *Decision) SetDecisionType(v string) *Decision { + s.DecisionType = &v + return s +} + +// SetFailWorkflowExecutionDecisionAttributes sets the FailWorkflowExecutionDecisionAttributes field's value. +func (s *Decision) SetFailWorkflowExecutionDecisionAttributes(v *FailWorkflowExecutionDecisionAttributes) *Decision { + s.FailWorkflowExecutionDecisionAttributes = v + return s +} + +// SetRecordMarkerDecisionAttributes sets the RecordMarkerDecisionAttributes field's value. +func (s *Decision) SetRecordMarkerDecisionAttributes(v *RecordMarkerDecisionAttributes) *Decision { + s.RecordMarkerDecisionAttributes = v + return s +} + +// SetRequestCancelActivityTaskDecisionAttributes sets the RequestCancelActivityTaskDecisionAttributes field's value. +func (s *Decision) SetRequestCancelActivityTaskDecisionAttributes(v *RequestCancelActivityTaskDecisionAttributes) *Decision { + s.RequestCancelActivityTaskDecisionAttributes = v + return s +} + +// SetRequestCancelExternalWorkflowExecutionDecisionAttributes sets the RequestCancelExternalWorkflowExecutionDecisionAttributes field's value. +func (s *Decision) SetRequestCancelExternalWorkflowExecutionDecisionAttributes(v *RequestCancelExternalWorkflowExecutionDecisionAttributes) *Decision { + s.RequestCancelExternalWorkflowExecutionDecisionAttributes = v + return s +} + +// SetScheduleActivityTaskDecisionAttributes sets the ScheduleActivityTaskDecisionAttributes field's value. +func (s *Decision) SetScheduleActivityTaskDecisionAttributes(v *ScheduleActivityTaskDecisionAttributes) *Decision { + s.ScheduleActivityTaskDecisionAttributes = v + return s +} + +// SetScheduleLambdaFunctionDecisionAttributes sets the ScheduleLambdaFunctionDecisionAttributes field's value. +func (s *Decision) SetScheduleLambdaFunctionDecisionAttributes(v *ScheduleLambdaFunctionDecisionAttributes) *Decision { + s.ScheduleLambdaFunctionDecisionAttributes = v + return s +} + +// SetSignalExternalWorkflowExecutionDecisionAttributes sets the SignalExternalWorkflowExecutionDecisionAttributes field's value. +func (s *Decision) SetSignalExternalWorkflowExecutionDecisionAttributes(v *SignalExternalWorkflowExecutionDecisionAttributes) *Decision { + s.SignalExternalWorkflowExecutionDecisionAttributes = v + return s +} + +// SetStartChildWorkflowExecutionDecisionAttributes sets the StartChildWorkflowExecutionDecisionAttributes field's value. +func (s *Decision) SetStartChildWorkflowExecutionDecisionAttributes(v *StartChildWorkflowExecutionDecisionAttributes) *Decision { + s.StartChildWorkflowExecutionDecisionAttributes = v + return s +} + +// SetStartTimerDecisionAttributes sets the StartTimerDecisionAttributes field's value. +func (s *Decision) SetStartTimerDecisionAttributes(v *StartTimerDecisionAttributes) *Decision { + s.StartTimerDecisionAttributes = v + return s +} + +// Provides the details of the DecisionTaskCompleted event. +type DecisionTaskCompletedEventAttributes struct { + _ struct{} `type:"structure"` + + // User defined context for the workflow execution. + ExecutionContext *string `locationName:"executionContext" type:"string"` + + // The ID of the DecisionTaskScheduled event that was recorded when this decision + // task was scheduled. This information can be useful for diagnosing problems + // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field + ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` + + // The ID of the DecisionTaskStarted event recorded when this decision task + // was started. This information can be useful for diagnosing problems by tracing + // back the chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s DecisionTaskCompletedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DecisionTaskCompletedEventAttributes) GoString() string { + return s.String() +} + +// SetExecutionContext sets the ExecutionContext field's value. +func (s *DecisionTaskCompletedEventAttributes) SetExecutionContext(v string) *DecisionTaskCompletedEventAttributes { + s.ExecutionContext = &v + return s +} + +// SetScheduledEventId sets the ScheduledEventId field's value. +func (s *DecisionTaskCompletedEventAttributes) SetScheduledEventId(v int64) *DecisionTaskCompletedEventAttributes { + s.ScheduledEventId = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *DecisionTaskCompletedEventAttributes) SetStartedEventId(v int64) *DecisionTaskCompletedEventAttributes { + s.StartedEventId = &v + return s +} + +// Provides details about the DecisionTaskScheduled event. +type DecisionTaskScheduledEventAttributes struct { + _ struct{} `type:"structure"` + + // The maximum duration for this decision task. The task is considered timed + // out if it doesn't completed within this duration. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + StartToCloseTimeout *string `locationName:"startToCloseTimeout" type:"string"` + + // The name of the task list in which the decision task was scheduled. + // + // TaskList is a required field + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` + + // A task priority that, if set, specifies the priority for this decision task. + // Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) + // to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. + // + // For more information about setting task priority, see Setting Task Priority + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html) + // in the Amazon SWF Developer Guide. + TaskPriority *string `locationName:"taskPriority" type:"string"` +} + +// String returns the string representation +func (s DecisionTaskScheduledEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DecisionTaskScheduledEventAttributes) GoString() string { + return s.String() +} + +// SetStartToCloseTimeout sets the StartToCloseTimeout field's value. +func (s *DecisionTaskScheduledEventAttributes) SetStartToCloseTimeout(v string) *DecisionTaskScheduledEventAttributes { + s.StartToCloseTimeout = &v + return s +} + +// SetTaskList sets the TaskList field's value. +func (s *DecisionTaskScheduledEventAttributes) SetTaskList(v *TaskList) *DecisionTaskScheduledEventAttributes { + s.TaskList = v + return s +} + +// SetTaskPriority sets the TaskPriority field's value. +func (s *DecisionTaskScheduledEventAttributes) SetTaskPriority(v string) *DecisionTaskScheduledEventAttributes { + s.TaskPriority = &v + return s +} + +// Provides the details of the DecisionTaskStarted event. +type DecisionTaskStartedEventAttributes struct { + _ struct{} `type:"structure"` + + // Identity of the decider making the request. This enables diagnostic tracing + // when problems arise. The form of this identity is user defined. + Identity *string `locationName:"identity" type:"string"` + + // The ID of the DecisionTaskScheduled event that was recorded when this decision + // task was scheduled. This information can be useful for diagnosing problems + // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field + ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s DecisionTaskStartedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DecisionTaskStartedEventAttributes) GoString() string { + return s.String() +} + +// SetIdentity sets the Identity field's value. +func (s *DecisionTaskStartedEventAttributes) SetIdentity(v string) *DecisionTaskStartedEventAttributes { + s.Identity = &v + return s +} + +// SetScheduledEventId sets the ScheduledEventId field's value. +func (s *DecisionTaskStartedEventAttributes) SetScheduledEventId(v int64) *DecisionTaskStartedEventAttributes { + s.ScheduledEventId = &v + return s +} + +// Provides the details of the DecisionTaskTimedOut event. +type DecisionTaskTimedOutEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the DecisionTaskScheduled event that was recorded when this decision + // task was scheduled. This information can be useful for diagnosing problems + // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field + ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` + + // The ID of the DecisionTaskStarted event recorded when this decision task + // was started. This information can be useful for diagnosing problems by tracing + // back the chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` + + // The type of timeout that expired before the decision task could be completed. + // + // TimeoutType is a required field + TimeoutType *string `locationName:"timeoutType" type:"string" required:"true" enum:"DecisionTaskTimeoutType"` +} + +// String returns the string representation +func (s DecisionTaskTimedOutEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DecisionTaskTimedOutEventAttributes) GoString() string { + return s.String() +} + +// SetScheduledEventId sets the ScheduledEventId field's value. +func (s *DecisionTaskTimedOutEventAttributes) SetScheduledEventId(v int64) *DecisionTaskTimedOutEventAttributes { + s.ScheduledEventId = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *DecisionTaskTimedOutEventAttributes) SetStartedEventId(v int64) *DecisionTaskTimedOutEventAttributes { + s.StartedEventId = &v + return s +} + +// SetTimeoutType sets the TimeoutType field's value. +func (s *DecisionTaskTimedOutEventAttributes) SetTimeoutType(v string) *DecisionTaskTimedOutEventAttributes { + s.TimeoutType = &v + return s +} + +type DeprecateActivityTypeInput struct { + _ struct{} `type:"structure"` + + // The activity type to deprecate. + // + // ActivityType is a required field + ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"` + + // The name of the domain in which the activity type is registered. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeprecateActivityTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeprecateActivityTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeprecateActivityTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeprecateActivityTypeInput"} + if s.ActivityType == nil { + invalidParams.Add(request.NewErrParamRequired("ActivityType")) + } + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.ActivityType != nil { + if err := s.ActivityType.Validate(); err != nil { + invalidParams.AddNested("ActivityType", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActivityType sets the ActivityType field's value. +func (s *DeprecateActivityTypeInput) SetActivityType(v *ActivityType) *DeprecateActivityTypeInput { + s.ActivityType = v + return s +} + +// SetDomain sets the Domain field's value. +func (s *DeprecateActivityTypeInput) SetDomain(v string) *DeprecateActivityTypeInput { + s.Domain = &v + return s +} + +type DeprecateActivityTypeOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeprecateActivityTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeprecateActivityTypeOutput) GoString() string { + return s.String() +} + +type DeprecateDomainInput struct { + _ struct{} `type:"structure"` + + // The name of the domain to deprecate. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeprecateDomainInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeprecateDomainInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeprecateDomainInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeprecateDomainInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DeprecateDomainInput) SetName(v string) *DeprecateDomainInput { + s.Name = &v + return s +} + +type DeprecateDomainOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeprecateDomainOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeprecateDomainOutput) GoString() string { + return s.String() +} + +type DeprecateWorkflowTypeInput struct { + _ struct{} `type:"structure"` + + // The name of the domain in which the workflow type is registered. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // The workflow type to deprecate. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s DeprecateWorkflowTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeprecateWorkflowTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeprecateWorkflowTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeprecateWorkflowTypeInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.WorkflowType == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowType")) + } + if s.WorkflowType != nil { + if err := s.WorkflowType.Validate(); err != nil { + invalidParams.AddNested("WorkflowType", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomain sets the Domain field's value. +func (s *DeprecateWorkflowTypeInput) SetDomain(v string) *DeprecateWorkflowTypeInput { + s.Domain = &v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *DeprecateWorkflowTypeInput) SetWorkflowType(v *WorkflowType) *DeprecateWorkflowTypeInput { + s.WorkflowType = v + return s +} + +type DeprecateWorkflowTypeOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeprecateWorkflowTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeprecateWorkflowTypeOutput) GoString() string { + return s.String() +} + +type DescribeActivityTypeInput struct { + _ struct{} `type:"structure"` + + // The activity type to get information about. Activity types are identified + // by the name and version that were supplied when the activity was registered. + // + // ActivityType is a required field + ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"` + + // The name of the domain in which the activity type is registered. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeActivityTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeActivityTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeActivityTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeActivityTypeInput"} + if s.ActivityType == nil { + invalidParams.Add(request.NewErrParamRequired("ActivityType")) + } + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.ActivityType != nil { + if err := s.ActivityType.Validate(); err != nil { + invalidParams.AddNested("ActivityType", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActivityType sets the ActivityType field's value. +func (s *DescribeActivityTypeInput) SetActivityType(v *ActivityType) *DescribeActivityTypeInput { + s.ActivityType = v + return s +} + +// SetDomain sets the Domain field's value. +func (s *DescribeActivityTypeInput) SetDomain(v string) *DescribeActivityTypeInput { + s.Domain = &v + return s +} + +// Detailed information about an activity type. +type DescribeActivityTypeOutput struct { + _ struct{} `type:"structure"` + + // The configuration settings registered with the activity type. + // + // Configuration is a required field + Configuration *ActivityTypeConfiguration `locationName:"configuration" type:"structure" required:"true"` + + // General information about the activity type. + // + // The status of activity type (returned in the ActivityTypeInfo structure) + // can be one of the following. + // + // * REGISTERED – The type is registered and available. Workers supporting + // this type should be running. + // + // * DEPRECATED – The type was deprecated using DeprecateActivityType, but + // is still in use. You should keep workers supporting this type running. + // You cannot create new tasks of this type. + // + // TypeInfo is a required field + TypeInfo *ActivityTypeInfo `locationName:"typeInfo" type:"structure" required:"true"` +} + +// String returns the string representation +func (s DescribeActivityTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeActivityTypeOutput) GoString() string { + return s.String() +} + +// SetConfiguration sets the Configuration field's value. +func (s *DescribeActivityTypeOutput) SetConfiguration(v *ActivityTypeConfiguration) *DescribeActivityTypeOutput { + s.Configuration = v + return s +} + +// SetTypeInfo sets the TypeInfo field's value. +func (s *DescribeActivityTypeOutput) SetTypeInfo(v *ActivityTypeInfo) *DescribeActivityTypeOutput { + s.TypeInfo = v + return s +} + +type DescribeDomainInput struct { + _ struct{} `type:"structure"` + + // The name of the domain to describe. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeDomainInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeDomainInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeDomainInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDomainInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DescribeDomainInput) SetName(v string) *DescribeDomainInput { + s.Name = &v + return s +} + +// Contains details of a domain. +type DescribeDomainOutput struct { + _ struct{} `type:"structure"` + + // The domain configuration. Currently, this includes only the domain's retention + // period. + // + // Configuration is a required field + Configuration *DomainConfiguration `locationName:"configuration" type:"structure" required:"true"` + + // The basic information about a domain, such as its name, status, and description. + // + // DomainInfo is a required field + DomainInfo *DomainInfo `locationName:"domainInfo" type:"structure" required:"true"` +} + +// String returns the string representation +func (s DescribeDomainOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeDomainOutput) GoString() string { + return s.String() +} + +// SetConfiguration sets the Configuration field's value. +func (s *DescribeDomainOutput) SetConfiguration(v *DomainConfiguration) *DescribeDomainOutput { + s.Configuration = v + return s +} + +// SetDomainInfo sets the DomainInfo field's value. +func (s *DescribeDomainOutput) SetDomainInfo(v *DomainInfo) *DescribeDomainOutput { + s.DomainInfo = v + return s +} + +type DescribeWorkflowExecutionInput struct { + _ struct{} `type:"structure"` + + // The name of the domain containing the workflow execution. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // The workflow execution to describe. + // + // Execution is a required field + Execution *WorkflowExecution `locationName:"execution" type:"structure" required:"true"` +} + +// String returns the string representation +func (s DescribeWorkflowExecutionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeWorkflowExecutionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeWorkflowExecutionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeWorkflowExecutionInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.Execution == nil { + invalidParams.Add(request.NewErrParamRequired("Execution")) + } + if s.Execution != nil { + if err := s.Execution.Validate(); err != nil { + invalidParams.AddNested("Execution", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomain sets the Domain field's value. +func (s *DescribeWorkflowExecutionInput) SetDomain(v string) *DescribeWorkflowExecutionInput { + s.Domain = &v + return s +} + +// SetExecution sets the Execution field's value. +func (s *DescribeWorkflowExecutionInput) SetExecution(v *WorkflowExecution) *DescribeWorkflowExecutionInput { + s.Execution = v + return s +} + +// Contains details about a workflow execution. +type DescribeWorkflowExecutionOutput struct { + _ struct{} `type:"structure"` + + // The configuration settings for this workflow execution including timeout + // values, tasklist etc. + // + // ExecutionConfiguration is a required field + ExecutionConfiguration *WorkflowExecutionConfiguration `locationName:"executionConfiguration" type:"structure" required:"true"` + + // Information about the workflow execution. + // + // ExecutionInfo is a required field + ExecutionInfo *WorkflowExecutionInfo `locationName:"executionInfo" type:"structure" required:"true"` + + // The time when the last activity task was scheduled for this workflow execution. + // You can use this information to determine if the workflow has not made progress + // for an unusually long period of time and might require a corrective action. + LatestActivityTaskTimestamp *time.Time `locationName:"latestActivityTaskTimestamp" type:"timestamp" timestampFormat:"unix"` + + // The latest executionContext provided by the decider for this workflow execution. + // A decider can provide an executionContext (a free-form string) when closing + // a decision task using RespondDecisionTaskCompleted. + LatestExecutionContext *string `locationName:"latestExecutionContext" type:"string"` + + // The number of tasks for this workflow execution. This includes open and closed + // tasks of all types. + // + // OpenCounts is a required field + OpenCounts *WorkflowExecutionOpenCounts `locationName:"openCounts" type:"structure" required:"true"` +} + +// String returns the string representation +func (s DescribeWorkflowExecutionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeWorkflowExecutionOutput) GoString() string { + return s.String() +} + +// SetExecutionConfiguration sets the ExecutionConfiguration field's value. +func (s *DescribeWorkflowExecutionOutput) SetExecutionConfiguration(v *WorkflowExecutionConfiguration) *DescribeWorkflowExecutionOutput { + s.ExecutionConfiguration = v + return s +} + +// SetExecutionInfo sets the ExecutionInfo field's value. +func (s *DescribeWorkflowExecutionOutput) SetExecutionInfo(v *WorkflowExecutionInfo) *DescribeWorkflowExecutionOutput { + s.ExecutionInfo = v + return s +} + +// SetLatestActivityTaskTimestamp sets the LatestActivityTaskTimestamp field's value. +func (s *DescribeWorkflowExecutionOutput) SetLatestActivityTaskTimestamp(v time.Time) *DescribeWorkflowExecutionOutput { + s.LatestActivityTaskTimestamp = &v + return s +} + +// SetLatestExecutionContext sets the LatestExecutionContext field's value. +func (s *DescribeWorkflowExecutionOutput) SetLatestExecutionContext(v string) *DescribeWorkflowExecutionOutput { + s.LatestExecutionContext = &v + return s +} + +// SetOpenCounts sets the OpenCounts field's value. +func (s *DescribeWorkflowExecutionOutput) SetOpenCounts(v *WorkflowExecutionOpenCounts) *DescribeWorkflowExecutionOutput { + s.OpenCounts = v + return s +} + +type DescribeWorkflowTypeInput struct { + _ struct{} `type:"structure"` + + // The name of the domain in which this workflow type is registered. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // The workflow type to describe. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s DescribeWorkflowTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeWorkflowTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeWorkflowTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeWorkflowTypeInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.WorkflowType == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowType")) + } + if s.WorkflowType != nil { + if err := s.WorkflowType.Validate(); err != nil { + invalidParams.AddNested("WorkflowType", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomain sets the Domain field's value. +func (s *DescribeWorkflowTypeInput) SetDomain(v string) *DescribeWorkflowTypeInput { + s.Domain = &v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *DescribeWorkflowTypeInput) SetWorkflowType(v *WorkflowType) *DescribeWorkflowTypeInput { + s.WorkflowType = v + return s +} + +// Contains details about a workflow type. +type DescribeWorkflowTypeOutput struct { + _ struct{} `type:"structure"` + + // Configuration settings of the workflow type registered through RegisterWorkflowType + // + // Configuration is a required field + Configuration *WorkflowTypeConfiguration `locationName:"configuration" type:"structure" required:"true"` + + // General information about the workflow type. + // + // The status of the workflow type (returned in the WorkflowTypeInfo structure) + // can be one of the following. + // + // * REGISTERED – The type is registered and available. Workers supporting + // this type should be running. + // + // * DEPRECATED – The type was deprecated using DeprecateWorkflowType, but + // is still in use. You should keep workers supporting this type running. + // You cannot create new workflow executions of this type. + // + // TypeInfo is a required field + TypeInfo *WorkflowTypeInfo `locationName:"typeInfo" type:"structure" required:"true"` +} + +// String returns the string representation +func (s DescribeWorkflowTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeWorkflowTypeOutput) GoString() string { + return s.String() +} + +// SetConfiguration sets the Configuration field's value. +func (s *DescribeWorkflowTypeOutput) SetConfiguration(v *WorkflowTypeConfiguration) *DescribeWorkflowTypeOutput { + s.Configuration = v + return s +} + +// SetTypeInfo sets the TypeInfo field's value. +func (s *DescribeWorkflowTypeOutput) SetTypeInfo(v *WorkflowTypeInfo) *DescribeWorkflowTypeOutput { + s.TypeInfo = v + return s +} + +// Contains the configuration settings of a domain. +type DomainConfiguration struct { + _ struct{} `type:"structure"` + + // The retention period for workflow executions in this domain. + // + // WorkflowExecutionRetentionPeriodInDays is a required field + WorkflowExecutionRetentionPeriodInDays *string `locationName:"workflowExecutionRetentionPeriodInDays" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DomainConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DomainConfiguration) GoString() string { + return s.String() +} + +// SetWorkflowExecutionRetentionPeriodInDays sets the WorkflowExecutionRetentionPeriodInDays field's value. +func (s *DomainConfiguration) SetWorkflowExecutionRetentionPeriodInDays(v string) *DomainConfiguration { + s.WorkflowExecutionRetentionPeriodInDays = &v + return s +} + +// Contains general information about a domain. +type DomainInfo struct { + _ struct{} `type:"structure"` + + // The description of the domain provided through RegisterDomain. + Description *string `locationName:"description" type:"string"` + + // The name of the domain. This name is unique within the account. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The status of the domain: + // + // * REGISTERED – The domain is properly registered and available. You can + // use this domain for registering types and creating new workflow executions. + // + // + // * DEPRECATED – The domain was deprecated using DeprecateDomain, but is + // still in use. You should not create new workflow executions in this domain. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"RegistrationStatus"` +} + +// String returns the string representation +func (s DomainInfo) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DomainInfo) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *DomainInfo) SetDescription(v string) *DomainInfo { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *DomainInfo) SetName(v string) *DomainInfo { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DomainInfo) SetStatus(v string) *DomainInfo { + s.Status = &v + return s +} + +// Used to filter the workflow executions in visibility APIs by various time-based +// rules. Each parameter, if specified, defines a rule that must be satisfied +// by each returned query result. The parameter values are in the Unix Time +// format (https://en.wikipedia.org/wiki/Unix_time). For example: "oldestDate": +// 1325376070. +type ExecutionTimeFilter struct { + _ struct{} `type:"structure"` + + // Specifies the latest start or close date and time to return. + LatestDate *time.Time `locationName:"latestDate" type:"timestamp" timestampFormat:"unix"` + + // Specifies the oldest start or close date and time to return. + // + // OldestDate is a required field + OldestDate *time.Time `locationName:"oldestDate" type:"timestamp" timestampFormat:"unix" required:"true"` +} + +// String returns the string representation +func (s ExecutionTimeFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ExecutionTimeFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ExecutionTimeFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ExecutionTimeFilter"} + if s.OldestDate == nil { + invalidParams.Add(request.NewErrParamRequired("OldestDate")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLatestDate sets the LatestDate field's value. +func (s *ExecutionTimeFilter) SetLatestDate(v time.Time) *ExecutionTimeFilter { + s.LatestDate = &v + return s +} + +// SetOldestDate sets the OldestDate field's value. +func (s *ExecutionTimeFilter) SetOldestDate(v time.Time) *ExecutionTimeFilter { + s.OldestDate = &v + return s +} + +// Provides the details of the ExternalWorkflowExecutionCancelRequested event. +type ExternalWorkflowExecutionCancelRequestedEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding + // to the RequestCancelExternalWorkflowExecution decision to cancel this external + // workflow execution. This information can be useful for diagnosing problems + // by tracing back the chain of events leading up to this event. + // + // InitiatedEventId is a required field + InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` + + // The external workflow execution to which the cancellation request was delivered. + // + // WorkflowExecution is a required field + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` +} + +// String returns the string representation +func (s ExternalWorkflowExecutionCancelRequestedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ExternalWorkflowExecutionCancelRequestedEventAttributes) GoString() string { + return s.String() +} + +// SetInitiatedEventId sets the InitiatedEventId field's value. +func (s *ExternalWorkflowExecutionCancelRequestedEventAttributes) SetInitiatedEventId(v int64) *ExternalWorkflowExecutionCancelRequestedEventAttributes { + s.InitiatedEventId = &v + return s +} + +// SetWorkflowExecution sets the WorkflowExecution field's value. +func (s *ExternalWorkflowExecutionCancelRequestedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ExternalWorkflowExecutionCancelRequestedEventAttributes { + s.WorkflowExecution = v + return s +} + +// Provides the details of the ExternalWorkflowExecutionSignaled event. +type ExternalWorkflowExecutionSignaledEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the SignalExternalWorkflowExecutionInitiated event corresponding + // to the SignalExternalWorkflowExecution decision to request this signal. This + // information can be useful for diagnosing problems by tracing back the chain + // of events leading up to this event. + // + // InitiatedEventId is a required field + InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` + + // The external workflow execution that the signal was delivered to. + // + // WorkflowExecution is a required field + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` +} + +// String returns the string representation +func (s ExternalWorkflowExecutionSignaledEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ExternalWorkflowExecutionSignaledEventAttributes) GoString() string { + return s.String() +} + +// SetInitiatedEventId sets the InitiatedEventId field's value. +func (s *ExternalWorkflowExecutionSignaledEventAttributes) SetInitiatedEventId(v int64) *ExternalWorkflowExecutionSignaledEventAttributes { + s.InitiatedEventId = &v + return s +} + +// SetWorkflowExecution sets the WorkflowExecution field's value. +func (s *ExternalWorkflowExecutionSignaledEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ExternalWorkflowExecutionSignaledEventAttributes { + s.WorkflowExecution = v + return s +} + +// Provides the details of the FailWorkflowExecution decision. +// +// Access Control +// +// You can use IAM policies to control this decision's access to Amazon SWF +// resources as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +type FailWorkflowExecutionDecisionAttributes struct { + _ struct{} `type:"structure"` + + // Details of the failure. + Details *string `locationName:"details" type:"string"` + + // A descriptive reason for the failure that may help in diagnostics. + Reason *string `locationName:"reason" type:"string"` +} + +// String returns the string representation +func (s FailWorkflowExecutionDecisionAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s FailWorkflowExecutionDecisionAttributes) GoString() string { + return s.String() +} + +// SetDetails sets the Details field's value. +func (s *FailWorkflowExecutionDecisionAttributes) SetDetails(v string) *FailWorkflowExecutionDecisionAttributes { + s.Details = &v + return s +} + +// SetReason sets the Reason field's value. +func (s *FailWorkflowExecutionDecisionAttributes) SetReason(v string) *FailWorkflowExecutionDecisionAttributes { + s.Reason = &v + return s +} + +// Provides the details of the FailWorkflowExecutionFailed event. +type FailWorkflowExecutionFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The cause of the failure. This information is generated by the system and + // can be useful for diagnostic purposes. + // + // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it + // lacked sufficient permissions. For details and example IAM policies, see + // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) + // in the Amazon SWF Developer Guide. + // + // Cause is a required field + Cause *string `locationName:"cause" type:"string" required:"true" enum:"FailWorkflowExecutionFailedCause"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the FailWorkflowExecution decision to fail this execution. + // This information can be useful for diagnosing problems by tracing back the + // chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s FailWorkflowExecutionFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s FailWorkflowExecutionFailedEventAttributes) GoString() string { + return s.String() +} + +// SetCause sets the Cause field's value. +func (s *FailWorkflowExecutionFailedEventAttributes) SetCause(v string) *FailWorkflowExecutionFailedEventAttributes { + s.Cause = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *FailWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *FailWorkflowExecutionFailedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +type GetWorkflowExecutionHistoryInput struct { + _ struct{} `type:"structure"` + + // The name of the domain containing the workflow execution. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // Specifies the workflow execution for which to return the history. + // + // Execution is a required field + Execution *WorkflowExecution `locationName:"execution" type:"structure" required:"true"` + + // The maximum number of results that are returned per call. nextPageToken can + // be used to obtain futher pages of results. The default is 1000, which is + // the maximum allowed page size. You can, however, specify a page size smaller + // than the maximum. + // + // This is an upper limit only; the actual number of results returned per call + // may be fewer than the specified maximum. + MaximumPageSize *int64 `locationName:"maximumPageSize" type:"integer"` + + // If a NextPageToken was returned by a previous call, there are more results + // available. To retrieve the next page of results, make the call again using + // the returned token in nextPageToken. Keep all other arguments unchanged. + // + // The configured maximumPageSize determines how many results can be returned + // in a single call. + NextPageToken *string `locationName:"nextPageToken" type:"string"` + + // When set to true, returns the events in reverse order. By default the results + // are returned in ascending order of the eventTimeStamp of the events. + ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"` +} + +// String returns the string representation +func (s GetWorkflowExecutionHistoryInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetWorkflowExecutionHistoryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetWorkflowExecutionHistoryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetWorkflowExecutionHistoryInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.Execution == nil { + invalidParams.Add(request.NewErrParamRequired("Execution")) + } + if s.Execution != nil { + if err := s.Execution.Validate(); err != nil { + invalidParams.AddNested("Execution", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomain sets the Domain field's value. +func (s *GetWorkflowExecutionHistoryInput) SetDomain(v string) *GetWorkflowExecutionHistoryInput { + s.Domain = &v + return s +} + +// SetExecution sets the Execution field's value. +func (s *GetWorkflowExecutionHistoryInput) SetExecution(v *WorkflowExecution) *GetWorkflowExecutionHistoryInput { + s.Execution = v + return s +} + +// SetMaximumPageSize sets the MaximumPageSize field's value. +func (s *GetWorkflowExecutionHistoryInput) SetMaximumPageSize(v int64) *GetWorkflowExecutionHistoryInput { + s.MaximumPageSize = &v + return s +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *GetWorkflowExecutionHistoryInput) SetNextPageToken(v string) *GetWorkflowExecutionHistoryInput { + s.NextPageToken = &v + return s +} + +// SetReverseOrder sets the ReverseOrder field's value. +func (s *GetWorkflowExecutionHistoryInput) SetReverseOrder(v bool) *GetWorkflowExecutionHistoryInput { + s.ReverseOrder = &v + return s +} + +// Paginated representation of a workflow history for a workflow execution. +// This is the up to date, complete and authoritative record of the events related +// to all tasks and events in the life of the workflow execution. +type GetWorkflowExecutionHistoryOutput struct { + _ struct{} `type:"structure"` + + // The list of history events. + // + // Events is a required field + Events []*HistoryEvent `locationName:"events" type:"list" required:"true"` + + // If a NextPageToken was returned by a previous call, there are more results + // available. To retrieve the next page of results, make the call again using + // the returned token in nextPageToken. Keep all other arguments unchanged. + // + // The configured maximumPageSize determines how many results can be returned + // in a single call. + NextPageToken *string `locationName:"nextPageToken" type:"string"` +} + +// String returns the string representation +func (s GetWorkflowExecutionHistoryOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetWorkflowExecutionHistoryOutput) GoString() string { + return s.String() +} + +// SetEvents sets the Events field's value. +func (s *GetWorkflowExecutionHistoryOutput) SetEvents(v []*HistoryEvent) *GetWorkflowExecutionHistoryOutput { + s.Events = v + return s +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *GetWorkflowExecutionHistoryOutput) SetNextPageToken(v string) *GetWorkflowExecutionHistoryOutput { + s.NextPageToken = &v + return s +} + +// Event within a workflow execution. A history event can be one of these types: +// +// * ActivityTaskCancelRequested – A RequestCancelActivityTask decision was +// received by the system. +// +// * ActivityTaskCanceled – The activity task was successfully canceled. +// +// * ActivityTaskCompleted – An activity worker successfully completed an +// activity task by calling RespondActivityTaskCompleted. +// +// * ActivityTaskFailed – An activity worker failed an activity task by calling +// RespondActivityTaskFailed. +// +// * ActivityTaskScheduled – An activity task was scheduled for execution. +// +// * ActivityTaskStarted – The scheduled activity task was dispatched to +// a worker. +// +// * ActivityTaskTimedOut – The activity task timed out. +// +// * CancelTimerFailed – Failed to process CancelTimer decision. This happens +// when the decision isn't configured properly, for example no timer exists +// with the specified timer Id. +// +// * CancelWorkflowExecutionFailed – A request to cancel a workflow execution +// failed. +// +// * ChildWorkflowExecutionCanceled – A child workflow execution, started +// by this workflow execution, was canceled and closed. +// +// * ChildWorkflowExecutionCompleted – A child workflow execution, started +// by this workflow execution, completed successfully and was closed. +// +// * ChildWorkflowExecutionFailed – A child workflow execution, started by +// this workflow execution, failed to complete successfully and was closed. +// +// * ChildWorkflowExecutionStarted – A child workflow execution was successfully +// started. +// +// * ChildWorkflowExecutionTerminated – A child workflow execution, started +// by this workflow execution, was terminated. +// +// * ChildWorkflowExecutionTimedOut – A child workflow execution, started +// by this workflow execution, timed out and was closed. +// +// * CompleteWorkflowExecutionFailed – The workflow execution failed to complete. +// +// * ContinueAsNewWorkflowExecutionFailed – The workflow execution failed +// to complete after being continued as a new workflow execution. +// +// * DecisionTaskCompleted – The decider successfully completed a decision +// task by calling RespondDecisionTaskCompleted. +// +// * DecisionTaskScheduled – A decision task was scheduled for the workflow +// execution. +// +// * DecisionTaskStarted – The decision task was dispatched to a decider. +// +// * DecisionTaskTimedOut – The decision task timed out. +// +// * ExternalWorkflowExecutionCancelRequested – Request to cancel an external +// workflow execution was successfully delivered to the target execution. +// +// * ExternalWorkflowExecutionSignaled – A signal, requested by this workflow +// execution, was successfully delivered to the target external workflow +// execution. +// +// * FailWorkflowExecutionFailed – A request to mark a workflow execution +// as failed, itself failed. +// +// * MarkerRecorded – A marker was recorded in the workflow history as the +// result of a RecordMarker decision. +// +// * RecordMarkerFailed – A RecordMarker decision was returned as failed. +// +// * RequestCancelActivityTaskFailed – Failed to process RequestCancelActivityTask +// decision. This happens when the decision isn't configured properly. +// +// * RequestCancelExternalWorkflowExecutionFailed – Request to cancel an +// external workflow execution failed. +// +// * RequestCancelExternalWorkflowExecutionInitiated – A request was made +// to request the cancellation of an external workflow execution. +// +// * ScheduleActivityTaskFailed – Failed to process ScheduleActivityTask +// decision. This happens when the decision isn't configured properly, for +// example the activity type specified isn't registered. +// +// * SignalExternalWorkflowExecutionFailed – The request to signal an external +// workflow execution failed. +// +// * SignalExternalWorkflowExecutionInitiated – A request to signal an external +// workflow was made. +// +// * StartActivityTaskFailed – A scheduled activity task failed to start. +// +// * StartChildWorkflowExecutionFailed – Failed to process StartChildWorkflowExecution +// decision. This happens when the decision isn't configured properly, for +// example the workflow type specified isn't registered. +// +// * StartChildWorkflowExecutionInitiated – A request was made to start a +// child workflow execution. +// +// * StartTimerFailed – Failed to process StartTimer decision. This happens +// when the decision isn't configured properly, for example a timer already +// exists with the specified timer Id. +// +// * TimerCanceled – A timer, previously started for this workflow execution, +// was successfully canceled. +// +// * TimerFired – A timer, previously started for this workflow execution, +// fired. +// +// * TimerStarted – A timer was started for the workflow execution due to +// a StartTimer decision. +// +// * WorkflowExecutionCancelRequested – A request to cancel this workflow +// execution was made. +// +// * WorkflowExecutionCanceled – The workflow execution was successfully +// canceled and closed. +// +// * WorkflowExecutionCompleted – The workflow execution was closed due to +// successful completion. +// +// * WorkflowExecutionContinuedAsNew – The workflow execution was closed +// and a new execution of the same type was created with the same workflowId. +// +// * WorkflowExecutionFailed – The workflow execution closed due to a failure. +// +// * WorkflowExecutionSignaled – An external signal was received for the +// workflow execution. +// +// * WorkflowExecutionStarted – The workflow execution was started. +// +// * WorkflowExecutionTerminated – The workflow execution was terminated. +// +// * WorkflowExecutionTimedOut – The workflow execution was closed because +// a time out was exceeded. +type HistoryEvent struct { + _ struct{} `type:"structure"` + + // If the event is of type ActivityTaskcancelRequested then this member is set + // and provides detailed information about the event. It isn't set for other + // event types. + ActivityTaskCancelRequestedEventAttributes *ActivityTaskCancelRequestedEventAttributes `locationName:"activityTaskCancelRequestedEventAttributes" type:"structure"` + + // If the event is of type ActivityTaskCanceled then this member is set and + // provides detailed information about the event. It isn't set for other event + // types. + ActivityTaskCanceledEventAttributes *ActivityTaskCanceledEventAttributes `locationName:"activityTaskCanceledEventAttributes" type:"structure"` + + // If the event is of type ActivityTaskCompleted then this member is set and + // provides detailed information about the event. It isn't set for other event + // types. + ActivityTaskCompletedEventAttributes *ActivityTaskCompletedEventAttributes `locationName:"activityTaskCompletedEventAttributes" type:"structure"` + + // If the event is of type ActivityTaskFailed then this member is set and provides + // detailed information about the event. It isn't set for other event types. + ActivityTaskFailedEventAttributes *ActivityTaskFailedEventAttributes `locationName:"activityTaskFailedEventAttributes" type:"structure"` + + // If the event is of type ActivityTaskScheduled then this member is set and + // provides detailed information about the event. It isn't set for other event + // types. + ActivityTaskScheduledEventAttributes *ActivityTaskScheduledEventAttributes `locationName:"activityTaskScheduledEventAttributes" type:"structure"` + + // If the event is of type ActivityTaskStarted then this member is set and provides + // detailed information about the event. It isn't set for other event types. + ActivityTaskStartedEventAttributes *ActivityTaskStartedEventAttributes `locationName:"activityTaskStartedEventAttributes" type:"structure"` + + // If the event is of type ActivityTaskTimedOut then this member is set and + // provides detailed information about the event. It isn't set for other event + // types. + ActivityTaskTimedOutEventAttributes *ActivityTaskTimedOutEventAttributes `locationName:"activityTaskTimedOutEventAttributes" type:"structure"` + + // If the event is of type CancelTimerFailed then this member is set and provides + // detailed information about the event. It isn't set for other event types. + CancelTimerFailedEventAttributes *CancelTimerFailedEventAttributes `locationName:"cancelTimerFailedEventAttributes" type:"structure"` + + // If the event is of type CancelWorkflowExecutionFailed then this member is + // set and provides detailed information about the event. It isn't set for other + // event types. + CancelWorkflowExecutionFailedEventAttributes *CancelWorkflowExecutionFailedEventAttributes `locationName:"cancelWorkflowExecutionFailedEventAttributes" type:"structure"` + + // If the event is of type ChildWorkflowExecutionCanceled then this member is + // set and provides detailed information about the event. It isn't set for other + // event types. + ChildWorkflowExecutionCanceledEventAttributes *ChildWorkflowExecutionCanceledEventAttributes `locationName:"childWorkflowExecutionCanceledEventAttributes" type:"structure"` + + // If the event is of type ChildWorkflowExecutionCompleted then this member + // is set and provides detailed information about the event. It isn't set for + // other event types. + ChildWorkflowExecutionCompletedEventAttributes *ChildWorkflowExecutionCompletedEventAttributes `locationName:"childWorkflowExecutionCompletedEventAttributes" type:"structure"` + + // If the event is of type ChildWorkflowExecutionFailed then this member is + // set and provides detailed information about the event. It isn't set for other + // event types. + ChildWorkflowExecutionFailedEventAttributes *ChildWorkflowExecutionFailedEventAttributes `locationName:"childWorkflowExecutionFailedEventAttributes" type:"structure"` + + // If the event is of type ChildWorkflowExecutionStarted then this member is + // set and provides detailed information about the event. It isn't set for other + // event types. + ChildWorkflowExecutionStartedEventAttributes *ChildWorkflowExecutionStartedEventAttributes `locationName:"childWorkflowExecutionStartedEventAttributes" type:"structure"` + + // If the event is of type ChildWorkflowExecutionTerminated then this member + // is set and provides detailed information about the event. It isn't set for + // other event types. + ChildWorkflowExecutionTerminatedEventAttributes *ChildWorkflowExecutionTerminatedEventAttributes `locationName:"childWorkflowExecutionTerminatedEventAttributes" type:"structure"` + + // If the event is of type ChildWorkflowExecutionTimedOut then this member is + // set and provides detailed information about the event. It isn't set for other + // event types. + ChildWorkflowExecutionTimedOutEventAttributes *ChildWorkflowExecutionTimedOutEventAttributes `locationName:"childWorkflowExecutionTimedOutEventAttributes" type:"structure"` + + // If the event is of type CompleteWorkflowExecutionFailed then this member + // is set and provides detailed information about the event. It isn't set for + // other event types. + CompleteWorkflowExecutionFailedEventAttributes *CompleteWorkflowExecutionFailedEventAttributes `locationName:"completeWorkflowExecutionFailedEventAttributes" type:"structure"` + + // If the event is of type ContinueAsNewWorkflowExecutionFailed then this member + // is set and provides detailed information about the event. It isn't set for + // other event types. + ContinueAsNewWorkflowExecutionFailedEventAttributes *ContinueAsNewWorkflowExecutionFailedEventAttributes `locationName:"continueAsNewWorkflowExecutionFailedEventAttributes" type:"structure"` + + // If the event is of type DecisionTaskCompleted then this member is set and + // provides detailed information about the event. It isn't set for other event + // types. + DecisionTaskCompletedEventAttributes *DecisionTaskCompletedEventAttributes `locationName:"decisionTaskCompletedEventAttributes" type:"structure"` + + // If the event is of type DecisionTaskScheduled then this member is set and + // provides detailed information about the event. It isn't set for other event + // types. + DecisionTaskScheduledEventAttributes *DecisionTaskScheduledEventAttributes `locationName:"decisionTaskScheduledEventAttributes" type:"structure"` + + // If the event is of type DecisionTaskStarted then this member is set and provides + // detailed information about the event. It isn't set for other event types. + DecisionTaskStartedEventAttributes *DecisionTaskStartedEventAttributes `locationName:"decisionTaskStartedEventAttributes" type:"structure"` + + // If the event is of type DecisionTaskTimedOut then this member is set and + // provides detailed information about the event. It isn't set for other event + // types. + DecisionTaskTimedOutEventAttributes *DecisionTaskTimedOutEventAttributes `locationName:"decisionTaskTimedOutEventAttributes" type:"structure"` + + // The system generated ID of the event. This ID uniquely identifies the event + // with in the workflow execution history. + // + // EventId is a required field + EventId *int64 `locationName:"eventId" type:"long" required:"true"` + + // The date and time when the event occurred. + // + // EventTimestamp is a required field + EventTimestamp *time.Time `locationName:"eventTimestamp" type:"timestamp" timestampFormat:"unix" required:"true"` + + // The type of the history event. + // + // EventType is a required field + EventType *string `locationName:"eventType" type:"string" required:"true" enum:"EventType"` + + // If the event is of type ExternalWorkflowExecutionCancelRequested then this + // member is set and provides detailed information about the event. It isn't + // set for other event types. + ExternalWorkflowExecutionCancelRequestedEventAttributes *ExternalWorkflowExecutionCancelRequestedEventAttributes `locationName:"externalWorkflowExecutionCancelRequestedEventAttributes" type:"structure"` + + // If the event is of type ExternalWorkflowExecutionSignaled then this member + // is set and provides detailed information about the event. It isn't set for + // other event types. + ExternalWorkflowExecutionSignaledEventAttributes *ExternalWorkflowExecutionSignaledEventAttributes `locationName:"externalWorkflowExecutionSignaledEventAttributes" type:"structure"` + + // If the event is of type FailWorkflowExecutionFailed then this member is set + // and provides detailed information about the event. It isn't set for other + // event types. + FailWorkflowExecutionFailedEventAttributes *FailWorkflowExecutionFailedEventAttributes `locationName:"failWorkflowExecutionFailedEventAttributes" type:"structure"` + + // Provides the details of the LambdaFunctionCompleted event. It isn't set for + // other event types. + LambdaFunctionCompletedEventAttributes *LambdaFunctionCompletedEventAttributes `locationName:"lambdaFunctionCompletedEventAttributes" type:"structure"` + + // Provides the details of the LambdaFunctionFailed event. It isn't set for + // other event types. + LambdaFunctionFailedEventAttributes *LambdaFunctionFailedEventAttributes `locationName:"lambdaFunctionFailedEventAttributes" type:"structure"` + + // Provides the details of the LambdaFunctionScheduled event. It isn't set for + // other event types. + LambdaFunctionScheduledEventAttributes *LambdaFunctionScheduledEventAttributes `locationName:"lambdaFunctionScheduledEventAttributes" type:"structure"` + + // Provides the details of the LambdaFunctionStarted event. It isn't set for + // other event types. + LambdaFunctionStartedEventAttributes *LambdaFunctionStartedEventAttributes `locationName:"lambdaFunctionStartedEventAttributes" type:"structure"` + + // Provides the details of the LambdaFunctionTimedOut event. It isn't set for + // other event types. + LambdaFunctionTimedOutEventAttributes *LambdaFunctionTimedOutEventAttributes `locationName:"lambdaFunctionTimedOutEventAttributes" type:"structure"` + + // If the event is of type MarkerRecorded then this member is set and provides + // detailed information about the event. It isn't set for other event types. + MarkerRecordedEventAttributes *MarkerRecordedEventAttributes `locationName:"markerRecordedEventAttributes" type:"structure"` + + // If the event is of type DecisionTaskFailed then this member is set and provides + // detailed information about the event. It isn't set for other event types. + RecordMarkerFailedEventAttributes *RecordMarkerFailedEventAttributes `locationName:"recordMarkerFailedEventAttributes" type:"structure"` + + // If the event is of type RequestCancelActivityTaskFailed then this member + // is set and provides detailed information about the event. It isn't set for + // other event types. + RequestCancelActivityTaskFailedEventAttributes *RequestCancelActivityTaskFailedEventAttributes `locationName:"requestCancelActivityTaskFailedEventAttributes" type:"structure"` + + // If the event is of type RequestCancelExternalWorkflowExecutionFailed then + // this member is set and provides detailed information about the event. It + // isn't set for other event types. + RequestCancelExternalWorkflowExecutionFailedEventAttributes *RequestCancelExternalWorkflowExecutionFailedEventAttributes `locationName:"requestCancelExternalWorkflowExecutionFailedEventAttributes" type:"structure"` + + // If the event is of type RequestCancelExternalWorkflowExecutionInitiated then + // this member is set and provides detailed information about the event. It + // isn't set for other event types. + RequestCancelExternalWorkflowExecutionInitiatedEventAttributes *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes `locationName:"requestCancelExternalWorkflowExecutionInitiatedEventAttributes" type:"structure"` + + // If the event is of type ScheduleActivityTaskFailed then this member is set + // and provides detailed information about the event. It isn't set for other + // event types. + ScheduleActivityTaskFailedEventAttributes *ScheduleActivityTaskFailedEventAttributes `locationName:"scheduleActivityTaskFailedEventAttributes" type:"structure"` + + // Provides the details of the ScheduleLambdaFunctionFailed event. It isn't + // set for other event types. + ScheduleLambdaFunctionFailedEventAttributes *ScheduleLambdaFunctionFailedEventAttributes `locationName:"scheduleLambdaFunctionFailedEventAttributes" type:"structure"` + + // If the event is of type SignalExternalWorkflowExecutionFailed then this member + // is set and provides detailed information about the event. It isn't set for + // other event types. + SignalExternalWorkflowExecutionFailedEventAttributes *SignalExternalWorkflowExecutionFailedEventAttributes `locationName:"signalExternalWorkflowExecutionFailedEventAttributes" type:"structure"` + + // If the event is of type SignalExternalWorkflowExecutionInitiated then this + // member is set and provides detailed information about the event. It isn't + // set for other event types. + SignalExternalWorkflowExecutionInitiatedEventAttributes *SignalExternalWorkflowExecutionInitiatedEventAttributes `locationName:"signalExternalWorkflowExecutionInitiatedEventAttributes" type:"structure"` + + // If the event is of type StartChildWorkflowExecutionFailed then this member + // is set and provides detailed information about the event. It isn't set for + // other event types. + StartChildWorkflowExecutionFailedEventAttributes *StartChildWorkflowExecutionFailedEventAttributes `locationName:"startChildWorkflowExecutionFailedEventAttributes" type:"structure"` + + // If the event is of type StartChildWorkflowExecutionInitiated then this member + // is set and provides detailed information about the event. It isn't set for + // other event types. + StartChildWorkflowExecutionInitiatedEventAttributes *StartChildWorkflowExecutionInitiatedEventAttributes `locationName:"startChildWorkflowExecutionInitiatedEventAttributes" type:"structure"` + + // Provides the details of the StartLambdaFunctionFailed event. It isn't set + // for other event types. + StartLambdaFunctionFailedEventAttributes *StartLambdaFunctionFailedEventAttributes `locationName:"startLambdaFunctionFailedEventAttributes" type:"structure"` + + // If the event is of type StartTimerFailed then this member is set and provides + // detailed information about the event. It isn't set for other event types. + StartTimerFailedEventAttributes *StartTimerFailedEventAttributes `locationName:"startTimerFailedEventAttributes" type:"structure"` + + // If the event is of type TimerCanceled then this member is set and provides + // detailed information about the event. It isn't set for other event types. + TimerCanceledEventAttributes *TimerCanceledEventAttributes `locationName:"timerCanceledEventAttributes" type:"structure"` + + // If the event is of type TimerFired then this member is set and provides detailed + // information about the event. It isn't set for other event types. + TimerFiredEventAttributes *TimerFiredEventAttributes `locationName:"timerFiredEventAttributes" type:"structure"` + + // If the event is of type TimerStarted then this member is set and provides + // detailed information about the event. It isn't set for other event types. + TimerStartedEventAttributes *TimerStartedEventAttributes `locationName:"timerStartedEventAttributes" type:"structure"` + + // If the event is of type WorkflowExecutionCancelRequested then this member + // is set and provides detailed information about the event. It isn't set for + // other event types. + WorkflowExecutionCancelRequestedEventAttributes *WorkflowExecutionCancelRequestedEventAttributes `locationName:"workflowExecutionCancelRequestedEventAttributes" type:"structure"` + + // If the event is of type WorkflowExecutionCanceled then this member is set + // and provides detailed information about the event. It isn't set for other + // event types. + WorkflowExecutionCanceledEventAttributes *WorkflowExecutionCanceledEventAttributes `locationName:"workflowExecutionCanceledEventAttributes" type:"structure"` + + // If the event is of type WorkflowExecutionCompleted then this member is set + // and provides detailed information about the event. It isn't set for other + // event types. + WorkflowExecutionCompletedEventAttributes *WorkflowExecutionCompletedEventAttributes `locationName:"workflowExecutionCompletedEventAttributes" type:"structure"` + + // If the event is of type WorkflowExecutionContinuedAsNew then this member + // is set and provides detailed information about the event. It isn't set for + // other event types. + WorkflowExecutionContinuedAsNewEventAttributes *WorkflowExecutionContinuedAsNewEventAttributes `locationName:"workflowExecutionContinuedAsNewEventAttributes" type:"structure"` + + // If the event is of type WorkflowExecutionFailed then this member is set and + // provides detailed information about the event. It isn't set for other event + // types. + WorkflowExecutionFailedEventAttributes *WorkflowExecutionFailedEventAttributes `locationName:"workflowExecutionFailedEventAttributes" type:"structure"` + + // If the event is of type WorkflowExecutionSignaled then this member is set + // and provides detailed information about the event. It isn't set for other + // event types. + WorkflowExecutionSignaledEventAttributes *WorkflowExecutionSignaledEventAttributes `locationName:"workflowExecutionSignaledEventAttributes" type:"structure"` + + // If the event is of type WorkflowExecutionStarted then this member is set + // and provides detailed information about the event. It isn't set for other + // event types. + WorkflowExecutionStartedEventAttributes *WorkflowExecutionStartedEventAttributes `locationName:"workflowExecutionStartedEventAttributes" type:"structure"` + + // If the event is of type WorkflowExecutionTerminated then this member is set + // and provides detailed information about the event. It isn't set for other + // event types. + WorkflowExecutionTerminatedEventAttributes *WorkflowExecutionTerminatedEventAttributes `locationName:"workflowExecutionTerminatedEventAttributes" type:"structure"` + + // If the event is of type WorkflowExecutionTimedOut then this member is set + // and provides detailed information about the event. It isn't set for other + // event types. + WorkflowExecutionTimedOutEventAttributes *WorkflowExecutionTimedOutEventAttributes `locationName:"workflowExecutionTimedOutEventAttributes" type:"structure"` +} + +// String returns the string representation +func (s HistoryEvent) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HistoryEvent) GoString() string { + return s.String() +} + +// SetActivityTaskCancelRequestedEventAttributes sets the ActivityTaskCancelRequestedEventAttributes field's value. +func (s *HistoryEvent) SetActivityTaskCancelRequestedEventAttributes(v *ActivityTaskCancelRequestedEventAttributes) *HistoryEvent { + s.ActivityTaskCancelRequestedEventAttributes = v + return s +} + +// SetActivityTaskCanceledEventAttributes sets the ActivityTaskCanceledEventAttributes field's value. +func (s *HistoryEvent) SetActivityTaskCanceledEventAttributes(v *ActivityTaskCanceledEventAttributes) *HistoryEvent { + s.ActivityTaskCanceledEventAttributes = v + return s +} + +// SetActivityTaskCompletedEventAttributes sets the ActivityTaskCompletedEventAttributes field's value. +func (s *HistoryEvent) SetActivityTaskCompletedEventAttributes(v *ActivityTaskCompletedEventAttributes) *HistoryEvent { + s.ActivityTaskCompletedEventAttributes = v + return s +} + +// SetActivityTaskFailedEventAttributes sets the ActivityTaskFailedEventAttributes field's value. +func (s *HistoryEvent) SetActivityTaskFailedEventAttributes(v *ActivityTaskFailedEventAttributes) *HistoryEvent { + s.ActivityTaskFailedEventAttributes = v + return s +} + +// SetActivityTaskScheduledEventAttributes sets the ActivityTaskScheduledEventAttributes field's value. +func (s *HistoryEvent) SetActivityTaskScheduledEventAttributes(v *ActivityTaskScheduledEventAttributes) *HistoryEvent { + s.ActivityTaskScheduledEventAttributes = v + return s +} + +// SetActivityTaskStartedEventAttributes sets the ActivityTaskStartedEventAttributes field's value. +func (s *HistoryEvent) SetActivityTaskStartedEventAttributes(v *ActivityTaskStartedEventAttributes) *HistoryEvent { + s.ActivityTaskStartedEventAttributes = v + return s +} + +// SetActivityTaskTimedOutEventAttributes sets the ActivityTaskTimedOutEventAttributes field's value. +func (s *HistoryEvent) SetActivityTaskTimedOutEventAttributes(v *ActivityTaskTimedOutEventAttributes) *HistoryEvent { + s.ActivityTaskTimedOutEventAttributes = v + return s +} + +// SetCancelTimerFailedEventAttributes sets the CancelTimerFailedEventAttributes field's value. +func (s *HistoryEvent) SetCancelTimerFailedEventAttributes(v *CancelTimerFailedEventAttributes) *HistoryEvent { + s.CancelTimerFailedEventAttributes = v + return s +} + +// SetCancelWorkflowExecutionFailedEventAttributes sets the CancelWorkflowExecutionFailedEventAttributes field's value. +func (s *HistoryEvent) SetCancelWorkflowExecutionFailedEventAttributes(v *CancelWorkflowExecutionFailedEventAttributes) *HistoryEvent { + s.CancelWorkflowExecutionFailedEventAttributes = v + return s +} + +// SetChildWorkflowExecutionCanceledEventAttributes sets the ChildWorkflowExecutionCanceledEventAttributes field's value. +func (s *HistoryEvent) SetChildWorkflowExecutionCanceledEventAttributes(v *ChildWorkflowExecutionCanceledEventAttributes) *HistoryEvent { + s.ChildWorkflowExecutionCanceledEventAttributes = v + return s +} + +// SetChildWorkflowExecutionCompletedEventAttributes sets the ChildWorkflowExecutionCompletedEventAttributes field's value. +func (s *HistoryEvent) SetChildWorkflowExecutionCompletedEventAttributes(v *ChildWorkflowExecutionCompletedEventAttributes) *HistoryEvent { + s.ChildWorkflowExecutionCompletedEventAttributes = v + return s +} + +// SetChildWorkflowExecutionFailedEventAttributes sets the ChildWorkflowExecutionFailedEventAttributes field's value. +func (s *HistoryEvent) SetChildWorkflowExecutionFailedEventAttributes(v *ChildWorkflowExecutionFailedEventAttributes) *HistoryEvent { + s.ChildWorkflowExecutionFailedEventAttributes = v + return s +} + +// SetChildWorkflowExecutionStartedEventAttributes sets the ChildWorkflowExecutionStartedEventAttributes field's value. +func (s *HistoryEvent) SetChildWorkflowExecutionStartedEventAttributes(v *ChildWorkflowExecutionStartedEventAttributes) *HistoryEvent { + s.ChildWorkflowExecutionStartedEventAttributes = v + return s +} + +// SetChildWorkflowExecutionTerminatedEventAttributes sets the ChildWorkflowExecutionTerminatedEventAttributes field's value. +func (s *HistoryEvent) SetChildWorkflowExecutionTerminatedEventAttributes(v *ChildWorkflowExecutionTerminatedEventAttributes) *HistoryEvent { + s.ChildWorkflowExecutionTerminatedEventAttributes = v + return s +} + +// SetChildWorkflowExecutionTimedOutEventAttributes sets the ChildWorkflowExecutionTimedOutEventAttributes field's value. +func (s *HistoryEvent) SetChildWorkflowExecutionTimedOutEventAttributes(v *ChildWorkflowExecutionTimedOutEventAttributes) *HistoryEvent { + s.ChildWorkflowExecutionTimedOutEventAttributes = v + return s +} + +// SetCompleteWorkflowExecutionFailedEventAttributes sets the CompleteWorkflowExecutionFailedEventAttributes field's value. +func (s *HistoryEvent) SetCompleteWorkflowExecutionFailedEventAttributes(v *CompleteWorkflowExecutionFailedEventAttributes) *HistoryEvent { + s.CompleteWorkflowExecutionFailedEventAttributes = v + return s +} + +// SetContinueAsNewWorkflowExecutionFailedEventAttributes sets the ContinueAsNewWorkflowExecutionFailedEventAttributes field's value. +func (s *HistoryEvent) SetContinueAsNewWorkflowExecutionFailedEventAttributes(v *ContinueAsNewWorkflowExecutionFailedEventAttributes) *HistoryEvent { + s.ContinueAsNewWorkflowExecutionFailedEventAttributes = v + return s +} + +// SetDecisionTaskCompletedEventAttributes sets the DecisionTaskCompletedEventAttributes field's value. +func (s *HistoryEvent) SetDecisionTaskCompletedEventAttributes(v *DecisionTaskCompletedEventAttributes) *HistoryEvent { + s.DecisionTaskCompletedEventAttributes = v + return s +} + +// SetDecisionTaskScheduledEventAttributes sets the DecisionTaskScheduledEventAttributes field's value. +func (s *HistoryEvent) SetDecisionTaskScheduledEventAttributes(v *DecisionTaskScheduledEventAttributes) *HistoryEvent { + s.DecisionTaskScheduledEventAttributes = v + return s +} + +// SetDecisionTaskStartedEventAttributes sets the DecisionTaskStartedEventAttributes field's value. +func (s *HistoryEvent) SetDecisionTaskStartedEventAttributes(v *DecisionTaskStartedEventAttributes) *HistoryEvent { + s.DecisionTaskStartedEventAttributes = v + return s +} + +// SetDecisionTaskTimedOutEventAttributes sets the DecisionTaskTimedOutEventAttributes field's value. +func (s *HistoryEvent) SetDecisionTaskTimedOutEventAttributes(v *DecisionTaskTimedOutEventAttributes) *HistoryEvent { + s.DecisionTaskTimedOutEventAttributes = v + return s +} + +// SetEventId sets the EventId field's value. +func (s *HistoryEvent) SetEventId(v int64) *HistoryEvent { + s.EventId = &v + return s +} + +// SetEventTimestamp sets the EventTimestamp field's value. +func (s *HistoryEvent) SetEventTimestamp(v time.Time) *HistoryEvent { + s.EventTimestamp = &v + return s +} + +// SetEventType sets the EventType field's value. +func (s *HistoryEvent) SetEventType(v string) *HistoryEvent { + s.EventType = &v + return s +} + +// SetExternalWorkflowExecutionCancelRequestedEventAttributes sets the ExternalWorkflowExecutionCancelRequestedEventAttributes field's value. +func (s *HistoryEvent) SetExternalWorkflowExecutionCancelRequestedEventAttributes(v *ExternalWorkflowExecutionCancelRequestedEventAttributes) *HistoryEvent { + s.ExternalWorkflowExecutionCancelRequestedEventAttributes = v + return s +} + +// SetExternalWorkflowExecutionSignaledEventAttributes sets the ExternalWorkflowExecutionSignaledEventAttributes field's value. +func (s *HistoryEvent) SetExternalWorkflowExecutionSignaledEventAttributes(v *ExternalWorkflowExecutionSignaledEventAttributes) *HistoryEvent { + s.ExternalWorkflowExecutionSignaledEventAttributes = v + return s +} + +// SetFailWorkflowExecutionFailedEventAttributes sets the FailWorkflowExecutionFailedEventAttributes field's value. +func (s *HistoryEvent) SetFailWorkflowExecutionFailedEventAttributes(v *FailWorkflowExecutionFailedEventAttributes) *HistoryEvent { + s.FailWorkflowExecutionFailedEventAttributes = v + return s +} + +// SetLambdaFunctionCompletedEventAttributes sets the LambdaFunctionCompletedEventAttributes field's value. +func (s *HistoryEvent) SetLambdaFunctionCompletedEventAttributes(v *LambdaFunctionCompletedEventAttributes) *HistoryEvent { + s.LambdaFunctionCompletedEventAttributes = v + return s +} + +// SetLambdaFunctionFailedEventAttributes sets the LambdaFunctionFailedEventAttributes field's value. +func (s *HistoryEvent) SetLambdaFunctionFailedEventAttributes(v *LambdaFunctionFailedEventAttributes) *HistoryEvent { + s.LambdaFunctionFailedEventAttributes = v + return s +} + +// SetLambdaFunctionScheduledEventAttributes sets the LambdaFunctionScheduledEventAttributes field's value. +func (s *HistoryEvent) SetLambdaFunctionScheduledEventAttributes(v *LambdaFunctionScheduledEventAttributes) *HistoryEvent { + s.LambdaFunctionScheduledEventAttributes = v + return s +} + +// SetLambdaFunctionStartedEventAttributes sets the LambdaFunctionStartedEventAttributes field's value. +func (s *HistoryEvent) SetLambdaFunctionStartedEventAttributes(v *LambdaFunctionStartedEventAttributes) *HistoryEvent { + s.LambdaFunctionStartedEventAttributes = v + return s +} + +// SetLambdaFunctionTimedOutEventAttributes sets the LambdaFunctionTimedOutEventAttributes field's value. +func (s *HistoryEvent) SetLambdaFunctionTimedOutEventAttributes(v *LambdaFunctionTimedOutEventAttributes) *HistoryEvent { + s.LambdaFunctionTimedOutEventAttributes = v + return s +} + +// SetMarkerRecordedEventAttributes sets the MarkerRecordedEventAttributes field's value. +func (s *HistoryEvent) SetMarkerRecordedEventAttributes(v *MarkerRecordedEventAttributes) *HistoryEvent { + s.MarkerRecordedEventAttributes = v + return s +} + +// SetRecordMarkerFailedEventAttributes sets the RecordMarkerFailedEventAttributes field's value. +func (s *HistoryEvent) SetRecordMarkerFailedEventAttributes(v *RecordMarkerFailedEventAttributes) *HistoryEvent { + s.RecordMarkerFailedEventAttributes = v + return s +} + +// SetRequestCancelActivityTaskFailedEventAttributes sets the RequestCancelActivityTaskFailedEventAttributes field's value. +func (s *HistoryEvent) SetRequestCancelActivityTaskFailedEventAttributes(v *RequestCancelActivityTaskFailedEventAttributes) *HistoryEvent { + s.RequestCancelActivityTaskFailedEventAttributes = v + return s +} + +// SetRequestCancelExternalWorkflowExecutionFailedEventAttributes sets the RequestCancelExternalWorkflowExecutionFailedEventAttributes field's value. +func (s *HistoryEvent) SetRequestCancelExternalWorkflowExecutionFailedEventAttributes(v *RequestCancelExternalWorkflowExecutionFailedEventAttributes) *HistoryEvent { + s.RequestCancelExternalWorkflowExecutionFailedEventAttributes = v + return s +} + +// SetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes sets the RequestCancelExternalWorkflowExecutionInitiatedEventAttributes field's value. +func (s *HistoryEvent) SetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes(v *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) *HistoryEvent { + s.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = v + return s +} + +// SetScheduleActivityTaskFailedEventAttributes sets the ScheduleActivityTaskFailedEventAttributes field's value. +func (s *HistoryEvent) SetScheduleActivityTaskFailedEventAttributes(v *ScheduleActivityTaskFailedEventAttributes) *HistoryEvent { + s.ScheduleActivityTaskFailedEventAttributes = v + return s +} + +// SetScheduleLambdaFunctionFailedEventAttributes sets the ScheduleLambdaFunctionFailedEventAttributes field's value. +func (s *HistoryEvent) SetScheduleLambdaFunctionFailedEventAttributes(v *ScheduleLambdaFunctionFailedEventAttributes) *HistoryEvent { + s.ScheduleLambdaFunctionFailedEventAttributes = v + return s +} + +// SetSignalExternalWorkflowExecutionFailedEventAttributes sets the SignalExternalWorkflowExecutionFailedEventAttributes field's value. +func (s *HistoryEvent) SetSignalExternalWorkflowExecutionFailedEventAttributes(v *SignalExternalWorkflowExecutionFailedEventAttributes) *HistoryEvent { + s.SignalExternalWorkflowExecutionFailedEventAttributes = v + return s +} + +// SetSignalExternalWorkflowExecutionInitiatedEventAttributes sets the SignalExternalWorkflowExecutionInitiatedEventAttributes field's value. +func (s *HistoryEvent) SetSignalExternalWorkflowExecutionInitiatedEventAttributes(v *SignalExternalWorkflowExecutionInitiatedEventAttributes) *HistoryEvent { + s.SignalExternalWorkflowExecutionInitiatedEventAttributes = v + return s +} + +// SetStartChildWorkflowExecutionFailedEventAttributes sets the StartChildWorkflowExecutionFailedEventAttributes field's value. +func (s *HistoryEvent) SetStartChildWorkflowExecutionFailedEventAttributes(v *StartChildWorkflowExecutionFailedEventAttributes) *HistoryEvent { + s.StartChildWorkflowExecutionFailedEventAttributes = v + return s +} + +// SetStartChildWorkflowExecutionInitiatedEventAttributes sets the StartChildWorkflowExecutionInitiatedEventAttributes field's value. +func (s *HistoryEvent) SetStartChildWorkflowExecutionInitiatedEventAttributes(v *StartChildWorkflowExecutionInitiatedEventAttributes) *HistoryEvent { + s.StartChildWorkflowExecutionInitiatedEventAttributes = v + return s +} + +// SetStartLambdaFunctionFailedEventAttributes sets the StartLambdaFunctionFailedEventAttributes field's value. +func (s *HistoryEvent) SetStartLambdaFunctionFailedEventAttributes(v *StartLambdaFunctionFailedEventAttributes) *HistoryEvent { + s.StartLambdaFunctionFailedEventAttributes = v + return s +} + +// SetStartTimerFailedEventAttributes sets the StartTimerFailedEventAttributes field's value. +func (s *HistoryEvent) SetStartTimerFailedEventAttributes(v *StartTimerFailedEventAttributes) *HistoryEvent { + s.StartTimerFailedEventAttributes = v + return s +} + +// SetTimerCanceledEventAttributes sets the TimerCanceledEventAttributes field's value. +func (s *HistoryEvent) SetTimerCanceledEventAttributes(v *TimerCanceledEventAttributes) *HistoryEvent { + s.TimerCanceledEventAttributes = v + return s +} + +// SetTimerFiredEventAttributes sets the TimerFiredEventAttributes field's value. +func (s *HistoryEvent) SetTimerFiredEventAttributes(v *TimerFiredEventAttributes) *HistoryEvent { + s.TimerFiredEventAttributes = v + return s +} + +// SetTimerStartedEventAttributes sets the TimerStartedEventAttributes field's value. +func (s *HistoryEvent) SetTimerStartedEventAttributes(v *TimerStartedEventAttributes) *HistoryEvent { + s.TimerStartedEventAttributes = v + return s +} + +// SetWorkflowExecutionCancelRequestedEventAttributes sets the WorkflowExecutionCancelRequestedEventAttributes field's value. +func (s *HistoryEvent) SetWorkflowExecutionCancelRequestedEventAttributes(v *WorkflowExecutionCancelRequestedEventAttributes) *HistoryEvent { + s.WorkflowExecutionCancelRequestedEventAttributes = v + return s +} + +// SetWorkflowExecutionCanceledEventAttributes sets the WorkflowExecutionCanceledEventAttributes field's value. +func (s *HistoryEvent) SetWorkflowExecutionCanceledEventAttributes(v *WorkflowExecutionCanceledEventAttributes) *HistoryEvent { + s.WorkflowExecutionCanceledEventAttributes = v + return s +} + +// SetWorkflowExecutionCompletedEventAttributes sets the WorkflowExecutionCompletedEventAttributes field's value. +func (s *HistoryEvent) SetWorkflowExecutionCompletedEventAttributes(v *WorkflowExecutionCompletedEventAttributes) *HistoryEvent { + s.WorkflowExecutionCompletedEventAttributes = v + return s +} + +// SetWorkflowExecutionContinuedAsNewEventAttributes sets the WorkflowExecutionContinuedAsNewEventAttributes field's value. +func (s *HistoryEvent) SetWorkflowExecutionContinuedAsNewEventAttributes(v *WorkflowExecutionContinuedAsNewEventAttributes) *HistoryEvent { + s.WorkflowExecutionContinuedAsNewEventAttributes = v + return s +} + +// SetWorkflowExecutionFailedEventAttributes sets the WorkflowExecutionFailedEventAttributes field's value. +func (s *HistoryEvent) SetWorkflowExecutionFailedEventAttributes(v *WorkflowExecutionFailedEventAttributes) *HistoryEvent { + s.WorkflowExecutionFailedEventAttributes = v + return s +} + +// SetWorkflowExecutionSignaledEventAttributes sets the WorkflowExecutionSignaledEventAttributes field's value. +func (s *HistoryEvent) SetWorkflowExecutionSignaledEventAttributes(v *WorkflowExecutionSignaledEventAttributes) *HistoryEvent { + s.WorkflowExecutionSignaledEventAttributes = v + return s +} + +// SetWorkflowExecutionStartedEventAttributes sets the WorkflowExecutionStartedEventAttributes field's value. +func (s *HistoryEvent) SetWorkflowExecutionStartedEventAttributes(v *WorkflowExecutionStartedEventAttributes) *HistoryEvent { + s.WorkflowExecutionStartedEventAttributes = v + return s +} + +// SetWorkflowExecutionTerminatedEventAttributes sets the WorkflowExecutionTerminatedEventAttributes field's value. +func (s *HistoryEvent) SetWorkflowExecutionTerminatedEventAttributes(v *WorkflowExecutionTerminatedEventAttributes) *HistoryEvent { + s.WorkflowExecutionTerminatedEventAttributes = v + return s +} + +// SetWorkflowExecutionTimedOutEventAttributes sets the WorkflowExecutionTimedOutEventAttributes field's value. +func (s *HistoryEvent) SetWorkflowExecutionTimedOutEventAttributes(v *WorkflowExecutionTimedOutEventAttributes) *HistoryEvent { + s.WorkflowExecutionTimedOutEventAttributes = v + return s +} + +// Provides the details of the LambdaFunctionCompleted event. It isn't set for +// other event types. +type LambdaFunctionCompletedEventAttributes struct { + _ struct{} `type:"structure"` + + // The results of the Lambda task. + Result *string `locationName:"result" type:"string"` + + // The ID of the LambdaFunctionScheduled event that was recorded when this Lambda + // task was scheduled. To help diagnose issues, use this information to trace + // back the chain of events leading up to this event. + // + // ScheduledEventId is a required field + ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` + + // The ID of the LambdaFunctionStarted event recorded when this activity task + // started. To help diagnose issues, use this information to trace back the + // chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s LambdaFunctionCompletedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LambdaFunctionCompletedEventAttributes) GoString() string { + return s.String() +} + +// SetResult sets the Result field's value. +func (s *LambdaFunctionCompletedEventAttributes) SetResult(v string) *LambdaFunctionCompletedEventAttributes { + s.Result = &v + return s +} + +// SetScheduledEventId sets the ScheduledEventId field's value. +func (s *LambdaFunctionCompletedEventAttributes) SetScheduledEventId(v int64) *LambdaFunctionCompletedEventAttributes { + s.ScheduledEventId = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *LambdaFunctionCompletedEventAttributes) SetStartedEventId(v int64) *LambdaFunctionCompletedEventAttributes { + s.StartedEventId = &v + return s +} + +// Provides the details of the LambdaFunctionFailed event. It isn't set for +// other event types. +type LambdaFunctionFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The details of the failure. + Details *string `locationName:"details" type:"string"` + + // The reason provided for the failure. + Reason *string `locationName:"reason" type:"string"` + + // The ID of the LambdaFunctionScheduled event that was recorded when this activity + // task was scheduled. To help diagnose issues, use this information to trace + // back the chain of events leading up to this event. + // + // ScheduledEventId is a required field + ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` + + // The ID of the LambdaFunctionStarted event recorded when this activity task + // started. To help diagnose issues, use this information to trace back the + // chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s LambdaFunctionFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LambdaFunctionFailedEventAttributes) GoString() string { + return s.String() +} + +// SetDetails sets the Details field's value. +func (s *LambdaFunctionFailedEventAttributes) SetDetails(v string) *LambdaFunctionFailedEventAttributes { + s.Details = &v + return s +} + +// SetReason sets the Reason field's value. +func (s *LambdaFunctionFailedEventAttributes) SetReason(v string) *LambdaFunctionFailedEventAttributes { + s.Reason = &v + return s +} + +// SetScheduledEventId sets the ScheduledEventId field's value. +func (s *LambdaFunctionFailedEventAttributes) SetScheduledEventId(v int64) *LambdaFunctionFailedEventAttributes { + s.ScheduledEventId = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *LambdaFunctionFailedEventAttributes) SetStartedEventId(v int64) *LambdaFunctionFailedEventAttributes { + s.StartedEventId = &v + return s +} + +// Provides the details of the LambdaFunctionScheduled event. It isn't set for +// other event types. +type LambdaFunctionScheduledEventAttributes struct { + _ struct{} `type:"structure"` + + // Data attached to the event that the decider can use in subsequent workflow + // tasks. This data isn't sent to the Lambda task. + Control *string `locationName:"control" type:"string"` + + // The ID of the LambdaFunctionCompleted event corresponding to the decision + // that resulted in scheduling this activity task. To help diagnose issues, + // use this information to trace back the chain of events leading up to this + // event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The unique ID of the Lambda task. + // + // Id is a required field + Id *string `locationName:"id" min:"1" type:"string" required:"true"` + + // The input provided to the Lambda task. + Input *string `locationName:"input" type:"string"` + + // The name of the Lambda function. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The maximum amount of time a worker can take to process the Lambda task. + StartToCloseTimeout *string `locationName:"startToCloseTimeout" type:"string"` +} + +// String returns the string representation +func (s LambdaFunctionScheduledEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LambdaFunctionScheduledEventAttributes) GoString() string { + return s.String() +} + +// SetControl sets the Control field's value. +func (s *LambdaFunctionScheduledEventAttributes) SetControl(v string) *LambdaFunctionScheduledEventAttributes { + s.Control = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *LambdaFunctionScheduledEventAttributes) SetDecisionTaskCompletedEventId(v int64) *LambdaFunctionScheduledEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetId sets the Id field's value. +func (s *LambdaFunctionScheduledEventAttributes) SetId(v string) *LambdaFunctionScheduledEventAttributes { + s.Id = &v + return s +} + +// SetInput sets the Input field's value. +func (s *LambdaFunctionScheduledEventAttributes) SetInput(v string) *LambdaFunctionScheduledEventAttributes { + s.Input = &v + return s +} + +// SetName sets the Name field's value. +func (s *LambdaFunctionScheduledEventAttributes) SetName(v string) *LambdaFunctionScheduledEventAttributes { + s.Name = &v + return s +} + +// SetStartToCloseTimeout sets the StartToCloseTimeout field's value. +func (s *LambdaFunctionScheduledEventAttributes) SetStartToCloseTimeout(v string) *LambdaFunctionScheduledEventAttributes { + s.StartToCloseTimeout = &v + return s +} + +// Provides the details of the LambdaFunctionStarted event. It isn't set for +// other event types. +type LambdaFunctionStartedEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the LambdaFunctionScheduled event that was recorded when this activity + // task was scheduled. To help diagnose issues, use this information to trace + // back the chain of events leading up to this event. + // + // ScheduledEventId is a required field + ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s LambdaFunctionStartedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LambdaFunctionStartedEventAttributes) GoString() string { + return s.String() +} + +// SetScheduledEventId sets the ScheduledEventId field's value. +func (s *LambdaFunctionStartedEventAttributes) SetScheduledEventId(v int64) *LambdaFunctionStartedEventAttributes { + s.ScheduledEventId = &v + return s +} + +// Provides details of the LambdaFunctionTimedOut event. +type LambdaFunctionTimedOutEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the LambdaFunctionScheduled event that was recorded when this activity + // task was scheduled. To help diagnose issues, use this information to trace + // back the chain of events leading up to this event. + // + // ScheduledEventId is a required field + ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` + + // The ID of the ActivityTaskStarted event that was recorded when this activity + // task started. To help diagnose issues, use this information to trace back + // the chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` + + // The type of the timeout that caused this event. + TimeoutType *string `locationName:"timeoutType" type:"string" enum:"LambdaFunctionTimeoutType"` +} + +// String returns the string representation +func (s LambdaFunctionTimedOutEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LambdaFunctionTimedOutEventAttributes) GoString() string { + return s.String() +} + +// SetScheduledEventId sets the ScheduledEventId field's value. +func (s *LambdaFunctionTimedOutEventAttributes) SetScheduledEventId(v int64) *LambdaFunctionTimedOutEventAttributes { + s.ScheduledEventId = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *LambdaFunctionTimedOutEventAttributes) SetStartedEventId(v int64) *LambdaFunctionTimedOutEventAttributes { + s.StartedEventId = &v + return s +} + +// SetTimeoutType sets the TimeoutType field's value. +func (s *LambdaFunctionTimedOutEventAttributes) SetTimeoutType(v string) *LambdaFunctionTimedOutEventAttributes { + s.TimeoutType = &v + return s +} + +type ListActivityTypesInput struct { + _ struct{} `type:"structure"` + + // The name of the domain in which the activity types have been registered. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // The maximum number of results that are returned per call. nextPageToken can + // be used to obtain futher pages of results. The default is 1000, which is + // the maximum allowed page size. You can, however, specify a page size smaller + // than the maximum. + // + // This is an upper limit only; the actual number of results returned per call + // may be fewer than the specified maximum. + MaximumPageSize *int64 `locationName:"maximumPageSize" type:"integer"` + + // If specified, only lists the activity types that have this name. + Name *string `locationName:"name" min:"1" type:"string"` + + // If a NextPageToken was returned by a previous call, there are more results + // available. To retrieve the next page of results, make the call again using + // the returned token in nextPageToken. Keep all other arguments unchanged. + // + // The configured maximumPageSize determines how many results can be returned + // in a single call. + NextPageToken *string `locationName:"nextPageToken" type:"string"` + + // Specifies the registration status of the activity types to list. + // + // RegistrationStatus is a required field + RegistrationStatus *string `locationName:"registrationStatus" type:"string" required:"true" enum:"RegistrationStatus"` + + // When set to true, returns the results in reverse order. By default, the results + // are returned in ascending alphabetical order by name of the activity types. + ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"` +} + +// String returns the string representation +func (s ListActivityTypesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListActivityTypesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListActivityTypesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListActivityTypesInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.RegistrationStatus == nil { + invalidParams.Add(request.NewErrParamRequired("RegistrationStatus")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomain sets the Domain field's value. +func (s *ListActivityTypesInput) SetDomain(v string) *ListActivityTypesInput { + s.Domain = &v + return s +} + +// SetMaximumPageSize sets the MaximumPageSize field's value. +func (s *ListActivityTypesInput) SetMaximumPageSize(v int64) *ListActivityTypesInput { + s.MaximumPageSize = &v + return s +} + +// SetName sets the Name field's value. +func (s *ListActivityTypesInput) SetName(v string) *ListActivityTypesInput { + s.Name = &v + return s +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *ListActivityTypesInput) SetNextPageToken(v string) *ListActivityTypesInput { + s.NextPageToken = &v + return s +} + +// SetRegistrationStatus sets the RegistrationStatus field's value. +func (s *ListActivityTypesInput) SetRegistrationStatus(v string) *ListActivityTypesInput { + s.RegistrationStatus = &v + return s +} + +// SetReverseOrder sets the ReverseOrder field's value. +func (s *ListActivityTypesInput) SetReverseOrder(v bool) *ListActivityTypesInput { + s.ReverseOrder = &v + return s +} + +// Contains a paginated list of activity type information structures. +type ListActivityTypesOutput struct { + _ struct{} `type:"structure"` + + // If a NextPageToken was returned by a previous call, there are more results + // available. To retrieve the next page of results, make the call again using + // the returned token in nextPageToken. Keep all other arguments unchanged. + // + // The configured maximumPageSize determines how many results can be returned + // in a single call. + NextPageToken *string `locationName:"nextPageToken" type:"string"` + + // List of activity type information. + // + // TypeInfos is a required field + TypeInfos []*ActivityTypeInfo `locationName:"typeInfos" type:"list" required:"true"` +} + +// String returns the string representation +func (s ListActivityTypesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListActivityTypesOutput) GoString() string { + return s.String() +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *ListActivityTypesOutput) SetNextPageToken(v string) *ListActivityTypesOutput { + s.NextPageToken = &v + return s +} + +// SetTypeInfos sets the TypeInfos field's value. +func (s *ListActivityTypesOutput) SetTypeInfos(v []*ActivityTypeInfo) *ListActivityTypesOutput { + s.TypeInfos = v + return s +} + +type ListClosedWorkflowExecutionsInput struct { + _ struct{} `type:"structure"` + + // If specified, only workflow executions that match this close status are listed. + // For example, if TERMINATED is specified, then only TERMINATED workflow executions + // are listed. + // + // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually + // exclusive. You can specify at most one of these in a request. + CloseStatusFilter *CloseStatusFilter `locationName:"closeStatusFilter" type:"structure"` + + // If specified, the workflow executions are included in the returned results + // based on whether their close times are within the range specified by this + // filter. Also, if this parameter is specified, the returned results are ordered + // by their close times. + // + // startTimeFilter and closeTimeFilter are mutually exclusive. You must specify + // one of these in a request but not both. + CloseTimeFilter *ExecutionTimeFilter `locationName:"closeTimeFilter" type:"structure"` + + // The name of the domain that contains the workflow executions to list. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // If specified, only workflow executions matching the workflow ID specified + // in the filter are returned. + // + // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually + // exclusive. You can specify at most one of these in a request. + ExecutionFilter *WorkflowExecutionFilter `locationName:"executionFilter" type:"structure"` + + // The maximum number of results that are returned per call. nextPageToken can + // be used to obtain futher pages of results. The default is 1000, which is + // the maximum allowed page size. You can, however, specify a page size smaller + // than the maximum. + // + // This is an upper limit only; the actual number of results returned per call + // may be fewer than the specified maximum. + MaximumPageSize *int64 `locationName:"maximumPageSize" type:"integer"` + + // If a NextPageToken was returned by a previous call, there are more results + // available. To retrieve the next page of results, make the call again using + // the returned token in nextPageToken. Keep all other arguments unchanged. + // + // The configured maximumPageSize determines how many results can be returned + // in a single call. + NextPageToken *string `locationName:"nextPageToken" type:"string"` + + // When set to true, returns the results in reverse order. By default the results + // are returned in descending order of the start or the close time of the executions. + ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"` + + // If specified, the workflow executions are included in the returned results + // based on whether their start times are within the range specified by this + // filter. Also, if this parameter is specified, the returned results are ordered + // by their start times. + // + // startTimeFilter and closeTimeFilter are mutually exclusive. You must specify + // one of these in a request but not both. + StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure"` + + // If specified, only executions that have the matching tag are listed. + // + // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually + // exclusive. You can specify at most one of these in a request. + TagFilter *TagFilter `locationName:"tagFilter" type:"structure"` + + // If specified, only executions of the type specified in the filter are returned. + // + // closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually + // exclusive. You can specify at most one of these in a request. + TypeFilter *WorkflowTypeFilter `locationName:"typeFilter" type:"structure"` +} + +// String returns the string representation +func (s ListClosedWorkflowExecutionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListClosedWorkflowExecutionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListClosedWorkflowExecutionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListClosedWorkflowExecutionsInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.CloseStatusFilter != nil { + if err := s.CloseStatusFilter.Validate(); err != nil { + invalidParams.AddNested("CloseStatusFilter", err.(request.ErrInvalidParams)) + } + } + if s.CloseTimeFilter != nil { + if err := s.CloseTimeFilter.Validate(); err != nil { + invalidParams.AddNested("CloseTimeFilter", err.(request.ErrInvalidParams)) + } + } + if s.ExecutionFilter != nil { + if err := s.ExecutionFilter.Validate(); err != nil { + invalidParams.AddNested("ExecutionFilter", err.(request.ErrInvalidParams)) + } + } + if s.StartTimeFilter != nil { + if err := s.StartTimeFilter.Validate(); err != nil { + invalidParams.AddNested("StartTimeFilter", err.(request.ErrInvalidParams)) + } + } + if s.TagFilter != nil { + if err := s.TagFilter.Validate(); err != nil { + invalidParams.AddNested("TagFilter", err.(request.ErrInvalidParams)) + } + } + if s.TypeFilter != nil { + if err := s.TypeFilter.Validate(); err != nil { + invalidParams.AddNested("TypeFilter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCloseStatusFilter sets the CloseStatusFilter field's value. +func (s *ListClosedWorkflowExecutionsInput) SetCloseStatusFilter(v *CloseStatusFilter) *ListClosedWorkflowExecutionsInput { + s.CloseStatusFilter = v + return s +} + +// SetCloseTimeFilter sets the CloseTimeFilter field's value. +func (s *ListClosedWorkflowExecutionsInput) SetCloseTimeFilter(v *ExecutionTimeFilter) *ListClosedWorkflowExecutionsInput { + s.CloseTimeFilter = v + return s +} + +// SetDomain sets the Domain field's value. +func (s *ListClosedWorkflowExecutionsInput) SetDomain(v string) *ListClosedWorkflowExecutionsInput { + s.Domain = &v + return s +} + +// SetExecutionFilter sets the ExecutionFilter field's value. +func (s *ListClosedWorkflowExecutionsInput) SetExecutionFilter(v *WorkflowExecutionFilter) *ListClosedWorkflowExecutionsInput { + s.ExecutionFilter = v + return s +} + +// SetMaximumPageSize sets the MaximumPageSize field's value. +func (s *ListClosedWorkflowExecutionsInput) SetMaximumPageSize(v int64) *ListClosedWorkflowExecutionsInput { + s.MaximumPageSize = &v + return s +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *ListClosedWorkflowExecutionsInput) SetNextPageToken(v string) *ListClosedWorkflowExecutionsInput { + s.NextPageToken = &v + return s +} + +// SetReverseOrder sets the ReverseOrder field's value. +func (s *ListClosedWorkflowExecutionsInput) SetReverseOrder(v bool) *ListClosedWorkflowExecutionsInput { + s.ReverseOrder = &v + return s +} + +// SetStartTimeFilter sets the StartTimeFilter field's value. +func (s *ListClosedWorkflowExecutionsInput) SetStartTimeFilter(v *ExecutionTimeFilter) *ListClosedWorkflowExecutionsInput { + s.StartTimeFilter = v + return s +} + +// SetTagFilter sets the TagFilter field's value. +func (s *ListClosedWorkflowExecutionsInput) SetTagFilter(v *TagFilter) *ListClosedWorkflowExecutionsInput { + s.TagFilter = v + return s +} + +// SetTypeFilter sets the TypeFilter field's value. +func (s *ListClosedWorkflowExecutionsInput) SetTypeFilter(v *WorkflowTypeFilter) *ListClosedWorkflowExecutionsInput { + s.TypeFilter = v + return s +} + +type ListDomainsInput struct { + _ struct{} `type:"structure"` + + // The maximum number of results that are returned per call. nextPageToken can + // be used to obtain futher pages of results. The default is 1000, which is + // the maximum allowed page size. You can, however, specify a page size smaller + // than the maximum. + // + // This is an upper limit only; the actual number of results returned per call + // may be fewer than the specified maximum. + MaximumPageSize *int64 `locationName:"maximumPageSize" type:"integer"` + + // If a NextPageToken was returned by a previous call, there are more results + // available. To retrieve the next page of results, make the call again using + // the returned token in nextPageToken. Keep all other arguments unchanged. + // + // The configured maximumPageSize determines how many results can be returned + // in a single call. + NextPageToken *string `locationName:"nextPageToken" type:"string"` + + // Specifies the registration status of the domains to list. + // + // RegistrationStatus is a required field + RegistrationStatus *string `locationName:"registrationStatus" type:"string" required:"true" enum:"RegistrationStatus"` + + // When set to true, returns the results in reverse order. By default, the results + // are returned in ascending alphabetical order by name of the domains. + ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"` +} + +// String returns the string representation +func (s ListDomainsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListDomainsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListDomainsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListDomainsInput"} + if s.RegistrationStatus == nil { + invalidParams.Add(request.NewErrParamRequired("RegistrationStatus")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaximumPageSize sets the MaximumPageSize field's value. +func (s *ListDomainsInput) SetMaximumPageSize(v int64) *ListDomainsInput { + s.MaximumPageSize = &v + return s +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *ListDomainsInput) SetNextPageToken(v string) *ListDomainsInput { + s.NextPageToken = &v + return s +} + +// SetRegistrationStatus sets the RegistrationStatus field's value. +func (s *ListDomainsInput) SetRegistrationStatus(v string) *ListDomainsInput { + s.RegistrationStatus = &v + return s +} + +// SetReverseOrder sets the ReverseOrder field's value. +func (s *ListDomainsInput) SetReverseOrder(v bool) *ListDomainsInput { + s.ReverseOrder = &v + return s +} + +// Contains a paginated collection of DomainInfo structures. +type ListDomainsOutput struct { + _ struct{} `type:"structure"` + + // A list of DomainInfo structures. + // + // DomainInfos is a required field + DomainInfos []*DomainInfo `locationName:"domainInfos" type:"list" required:"true"` + + // If a NextPageToken was returned by a previous call, there are more results + // available. To retrieve the next page of results, make the call again using + // the returned token in nextPageToken. Keep all other arguments unchanged. + // + // The configured maximumPageSize determines how many results can be returned + // in a single call. + NextPageToken *string `locationName:"nextPageToken" type:"string"` +} + +// String returns the string representation +func (s ListDomainsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListDomainsOutput) GoString() string { + return s.String() +} + +// SetDomainInfos sets the DomainInfos field's value. +func (s *ListDomainsOutput) SetDomainInfos(v []*DomainInfo) *ListDomainsOutput { + s.DomainInfos = v + return s +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *ListDomainsOutput) SetNextPageToken(v string) *ListDomainsOutput { + s.NextPageToken = &v + return s +} + +type ListOpenWorkflowExecutionsInput struct { + _ struct{} `type:"structure"` + + // The name of the domain that contains the workflow executions to list. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // If specified, only workflow executions matching the workflow ID specified + // in the filter are returned. + // + // executionFilter, typeFilter and tagFilter are mutually exclusive. You can + // specify at most one of these in a request. + ExecutionFilter *WorkflowExecutionFilter `locationName:"executionFilter" type:"structure"` + + // The maximum number of results that are returned per call. nextPageToken can + // be used to obtain futher pages of results. The default is 1000, which is + // the maximum allowed page size. You can, however, specify a page size smaller + // than the maximum. + // + // This is an upper limit only; the actual number of results returned per call + // may be fewer than the specified maximum. + MaximumPageSize *int64 `locationName:"maximumPageSize" type:"integer"` + + // If a NextPageToken was returned by a previous call, there are more results + // available. To retrieve the next page of results, make the call again using + // the returned token in nextPageToken. Keep all other arguments unchanged. + // + // The configured maximumPageSize determines how many results can be returned + // in a single call. + NextPageToken *string `locationName:"nextPageToken" type:"string"` + + // When set to true, returns the results in reverse order. By default the results + // are returned in descending order of the start time of the executions. + ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"` + + // Workflow executions are included in the returned results based on whether + // their start times are within the range specified by this filter. + // + // StartTimeFilter is a required field + StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure" required:"true"` + + // If specified, only executions that have the matching tag are listed. + // + // executionFilter, typeFilter and tagFilter are mutually exclusive. You can + // specify at most one of these in a request. + TagFilter *TagFilter `locationName:"tagFilter" type:"structure"` + + // If specified, only executions of the type specified in the filter are returned. + // + // executionFilter, typeFilter and tagFilter are mutually exclusive. You can + // specify at most one of these in a request. + TypeFilter *WorkflowTypeFilter `locationName:"typeFilter" type:"structure"` +} + +// String returns the string representation +func (s ListOpenWorkflowExecutionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListOpenWorkflowExecutionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListOpenWorkflowExecutionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListOpenWorkflowExecutionsInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.StartTimeFilter == nil { + invalidParams.Add(request.NewErrParamRequired("StartTimeFilter")) + } + if s.ExecutionFilter != nil { + if err := s.ExecutionFilter.Validate(); err != nil { + invalidParams.AddNested("ExecutionFilter", err.(request.ErrInvalidParams)) + } + } + if s.StartTimeFilter != nil { + if err := s.StartTimeFilter.Validate(); err != nil { + invalidParams.AddNested("StartTimeFilter", err.(request.ErrInvalidParams)) + } + } + if s.TagFilter != nil { + if err := s.TagFilter.Validate(); err != nil { + invalidParams.AddNested("TagFilter", err.(request.ErrInvalidParams)) + } + } + if s.TypeFilter != nil { + if err := s.TypeFilter.Validate(); err != nil { + invalidParams.AddNested("TypeFilter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomain sets the Domain field's value. +func (s *ListOpenWorkflowExecutionsInput) SetDomain(v string) *ListOpenWorkflowExecutionsInput { + s.Domain = &v + return s +} + +// SetExecutionFilter sets the ExecutionFilter field's value. +func (s *ListOpenWorkflowExecutionsInput) SetExecutionFilter(v *WorkflowExecutionFilter) *ListOpenWorkflowExecutionsInput { + s.ExecutionFilter = v + return s +} + +// SetMaximumPageSize sets the MaximumPageSize field's value. +func (s *ListOpenWorkflowExecutionsInput) SetMaximumPageSize(v int64) *ListOpenWorkflowExecutionsInput { + s.MaximumPageSize = &v + return s +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *ListOpenWorkflowExecutionsInput) SetNextPageToken(v string) *ListOpenWorkflowExecutionsInput { + s.NextPageToken = &v + return s +} + +// SetReverseOrder sets the ReverseOrder field's value. +func (s *ListOpenWorkflowExecutionsInput) SetReverseOrder(v bool) *ListOpenWorkflowExecutionsInput { + s.ReverseOrder = &v + return s +} + +// SetStartTimeFilter sets the StartTimeFilter field's value. +func (s *ListOpenWorkflowExecutionsInput) SetStartTimeFilter(v *ExecutionTimeFilter) *ListOpenWorkflowExecutionsInput { + s.StartTimeFilter = v + return s +} + +// SetTagFilter sets the TagFilter field's value. +func (s *ListOpenWorkflowExecutionsInput) SetTagFilter(v *TagFilter) *ListOpenWorkflowExecutionsInput { + s.TagFilter = v + return s +} + +// SetTypeFilter sets the TypeFilter field's value. +func (s *ListOpenWorkflowExecutionsInput) SetTypeFilter(v *WorkflowTypeFilter) *ListOpenWorkflowExecutionsInput { + s.TypeFilter = v + return s +} + +type ListWorkflowTypesInput struct { + _ struct{} `type:"structure"` + + // The name of the domain in which the workflow types have been registered. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // The maximum number of results that are returned per call. nextPageToken can + // be used to obtain futher pages of results. The default is 1000, which is + // the maximum allowed page size. You can, however, specify a page size smaller + // than the maximum. + // + // This is an upper limit only; the actual number of results returned per call + // may be fewer than the specified maximum. + MaximumPageSize *int64 `locationName:"maximumPageSize" type:"integer"` + + // If specified, lists the workflow type with this name. + Name *string `locationName:"name" min:"1" type:"string"` + + // If a NextPageToken was returned by a previous call, there are more results + // available. To retrieve the next page of results, make the call again using + // the returned token in nextPageToken. Keep all other arguments unchanged. + // + // The configured maximumPageSize determines how many results can be returned + // in a single call. + NextPageToken *string `locationName:"nextPageToken" type:"string"` + + // Specifies the registration status of the workflow types to list. + // + // RegistrationStatus is a required field + RegistrationStatus *string `locationName:"registrationStatus" type:"string" required:"true" enum:"RegistrationStatus"` + + // When set to true, returns the results in reverse order. By default the results + // are returned in ascending alphabetical order of the name of the workflow + // types. + ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"` +} + +// String returns the string representation +func (s ListWorkflowTypesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListWorkflowTypesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListWorkflowTypesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListWorkflowTypesInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.RegistrationStatus == nil { + invalidParams.Add(request.NewErrParamRequired("RegistrationStatus")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomain sets the Domain field's value. +func (s *ListWorkflowTypesInput) SetDomain(v string) *ListWorkflowTypesInput { + s.Domain = &v + return s +} + +// SetMaximumPageSize sets the MaximumPageSize field's value. +func (s *ListWorkflowTypesInput) SetMaximumPageSize(v int64) *ListWorkflowTypesInput { + s.MaximumPageSize = &v + return s +} + +// SetName sets the Name field's value. +func (s *ListWorkflowTypesInput) SetName(v string) *ListWorkflowTypesInput { + s.Name = &v + return s +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *ListWorkflowTypesInput) SetNextPageToken(v string) *ListWorkflowTypesInput { + s.NextPageToken = &v + return s +} + +// SetRegistrationStatus sets the RegistrationStatus field's value. +func (s *ListWorkflowTypesInput) SetRegistrationStatus(v string) *ListWorkflowTypesInput { + s.RegistrationStatus = &v + return s +} + +// SetReverseOrder sets the ReverseOrder field's value. +func (s *ListWorkflowTypesInput) SetReverseOrder(v bool) *ListWorkflowTypesInput { + s.ReverseOrder = &v + return s +} + +// Contains a paginated list of information structures about workflow types. +type ListWorkflowTypesOutput struct { + _ struct{} `type:"structure"` + + // If a NextPageToken was returned by a previous call, there are more results + // available. To retrieve the next page of results, make the call again using + // the returned token in nextPageToken. Keep all other arguments unchanged. + // + // The configured maximumPageSize determines how many results can be returned + // in a single call. + NextPageToken *string `locationName:"nextPageToken" type:"string"` + + // The list of workflow type information. + // + // TypeInfos is a required field + TypeInfos []*WorkflowTypeInfo `locationName:"typeInfos" type:"list" required:"true"` +} + +// String returns the string representation +func (s ListWorkflowTypesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListWorkflowTypesOutput) GoString() string { + return s.String() +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *ListWorkflowTypesOutput) SetNextPageToken(v string) *ListWorkflowTypesOutput { + s.NextPageToken = &v + return s +} + +// SetTypeInfos sets the TypeInfos field's value. +func (s *ListWorkflowTypesOutput) SetTypeInfos(v []*WorkflowTypeInfo) *ListWorkflowTypesOutput { + s.TypeInfos = v + return s +} + +// Provides the details of the MarkerRecorded event. +type MarkerRecordedEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the RecordMarker decision that requested this marker. This + // information can be useful for diagnosing problems by tracing back the chain + // of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The details of the marker. + Details *string `locationName:"details" type:"string"` + + // The name of the marker. + // + // MarkerName is a required field + MarkerName *string `locationName:"markerName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s MarkerRecordedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MarkerRecordedEventAttributes) GoString() string { + return s.String() +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *MarkerRecordedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *MarkerRecordedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetDetails sets the Details field's value. +func (s *MarkerRecordedEventAttributes) SetDetails(v string) *MarkerRecordedEventAttributes { + s.Details = &v + return s +} + +// SetMarkerName sets the MarkerName field's value. +func (s *MarkerRecordedEventAttributes) SetMarkerName(v string) *MarkerRecordedEventAttributes { + s.MarkerName = &v + return s +} + +// Contains the count of tasks in a task list. +type PendingTaskCount struct { + _ struct{} `type:"structure"` + + // The number of tasks in the task list. + // + // Count is a required field + Count *int64 `locationName:"count" type:"integer" required:"true"` + + // If set to true, indicates that the actual count was more than the maximum + // supported by this API and the count returned is the truncated value. + Truncated *bool `locationName:"truncated" type:"boolean"` +} + +// String returns the string representation +func (s PendingTaskCount) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PendingTaskCount) GoString() string { + return s.String() +} + +// SetCount sets the Count field's value. +func (s *PendingTaskCount) SetCount(v int64) *PendingTaskCount { + s.Count = &v + return s +} + +// SetTruncated sets the Truncated field's value. +func (s *PendingTaskCount) SetTruncated(v bool) *PendingTaskCount { + s.Truncated = &v + return s +} + +type PollForActivityTaskInput struct { + _ struct{} `type:"structure"` + + // The name of the domain that contains the task lists being polled. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // Identity of the worker making the request, recorded in the ActivityTaskStarted + // event in the workflow history. This enables diagnostic tracing when problems + // arise. The form of this identity is user defined. + Identity *string `locationName:"identity" type:"string"` + + // Specifies the task list to poll for activity tasks. + // + // The specified string must not start or end with whitespace. It must not contain + // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f + // | \u007f-\u009f). Also, it must not contain the literal string arn. + // + // TaskList is a required field + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` +} + +// String returns the string representation +func (s PollForActivityTaskInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PollForActivityTaskInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PollForActivityTaskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PollForActivityTaskInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.TaskList == nil { + invalidParams.Add(request.NewErrParamRequired("TaskList")) + } + if s.TaskList != nil { + if err := s.TaskList.Validate(); err != nil { + invalidParams.AddNested("TaskList", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomain sets the Domain field's value. +func (s *PollForActivityTaskInput) SetDomain(v string) *PollForActivityTaskInput { + s.Domain = &v + return s +} + +// SetIdentity sets the Identity field's value. +func (s *PollForActivityTaskInput) SetIdentity(v string) *PollForActivityTaskInput { + s.Identity = &v + return s +} + +// SetTaskList sets the TaskList field's value. +func (s *PollForActivityTaskInput) SetTaskList(v *TaskList) *PollForActivityTaskInput { + s.TaskList = v + return s +} + +// Unit of work sent to an activity worker. +type PollForActivityTaskOutput struct { + _ struct{} `type:"structure"` + + // The unique ID of the task. + // + // ActivityId is a required field + ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"` + + // The type of this activity task. + // + // ActivityType is a required field + ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"` + + // The inputs provided when the activity task was scheduled. The form of the + // input is user defined and should be meaningful to the activity implementation. + Input *string `locationName:"input" type:"string"` + + // The ID of the ActivityTaskStarted event recorded in the history. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` + + // The opaque string used as a handle on the task. This token is used by workers + // to communicate progress and response information back to the system about + // the task. + // + // TaskToken is a required field + TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` + + // The workflow execution that started this activity task. + // + // WorkflowExecution is a required field + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` +} + +// String returns the string representation +func (s PollForActivityTaskOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PollForActivityTaskOutput) GoString() string { + return s.String() +} + +// SetActivityId sets the ActivityId field's value. +func (s *PollForActivityTaskOutput) SetActivityId(v string) *PollForActivityTaskOutput { + s.ActivityId = &v + return s +} + +// SetActivityType sets the ActivityType field's value. +func (s *PollForActivityTaskOutput) SetActivityType(v *ActivityType) *PollForActivityTaskOutput { + s.ActivityType = v + return s +} + +// SetInput sets the Input field's value. +func (s *PollForActivityTaskOutput) SetInput(v string) *PollForActivityTaskOutput { + s.Input = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *PollForActivityTaskOutput) SetStartedEventId(v int64) *PollForActivityTaskOutput { + s.StartedEventId = &v + return s +} + +// SetTaskToken sets the TaskToken field's value. +func (s *PollForActivityTaskOutput) SetTaskToken(v string) *PollForActivityTaskOutput { + s.TaskToken = &v + return s +} + +// SetWorkflowExecution sets the WorkflowExecution field's value. +func (s *PollForActivityTaskOutput) SetWorkflowExecution(v *WorkflowExecution) *PollForActivityTaskOutput { + s.WorkflowExecution = v + return s +} + +type PollForDecisionTaskInput struct { + _ struct{} `type:"structure"` + + // The name of the domain containing the task lists to poll. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // Identity of the decider making the request, which is recorded in the DecisionTaskStarted + // event in the workflow history. This enables diagnostic tracing when problems + // arise. The form of this identity is user defined. + Identity *string `locationName:"identity" type:"string"` + + // The maximum number of results that are returned per call. nextPageToken can + // be used to obtain futher pages of results. The default is 1000, which is + // the maximum allowed page size. You can, however, specify a page size smaller + // than the maximum. + // + // This is an upper limit only; the actual number of results returned per call + // may be fewer than the specified maximum. + MaximumPageSize *int64 `locationName:"maximumPageSize" type:"integer"` + + // If a NextPageToken was returned by a previous call, there are more results + // available. To retrieve the next page of results, make the call again using + // the returned token in nextPageToken. Keep all other arguments unchanged. + // + // The configured maximumPageSize determines how many results can be returned + // in a single call. + // + // The nextPageToken returned by this action cannot be used with GetWorkflowExecutionHistory + // to get the next page. You must call PollForDecisionTask again (with the nextPageToken) + // to retrieve the next page of history records. Calling PollForDecisionTask + // with a nextPageToken doesn't return a new decision task. + NextPageToken *string `locationName:"nextPageToken" type:"string"` + + // When set to true, returns the events in reverse order. By default the results + // are returned in ascending order of the eventTimestamp of the events. + ReverseOrder *bool `locationName:"reverseOrder" type:"boolean"` + + // Specifies the task list to poll for decision tasks. + // + // The specified string must not start or end with whitespace. It must not contain + // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f + // | \u007f-\u009f). Also, it must not contain the literal string arn. + // + // TaskList is a required field + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` +} + +// String returns the string representation +func (s PollForDecisionTaskInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PollForDecisionTaskInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PollForDecisionTaskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PollForDecisionTaskInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.TaskList == nil { + invalidParams.Add(request.NewErrParamRequired("TaskList")) + } + if s.TaskList != nil { + if err := s.TaskList.Validate(); err != nil { + invalidParams.AddNested("TaskList", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomain sets the Domain field's value. +func (s *PollForDecisionTaskInput) SetDomain(v string) *PollForDecisionTaskInput { + s.Domain = &v + return s +} + +// SetIdentity sets the Identity field's value. +func (s *PollForDecisionTaskInput) SetIdentity(v string) *PollForDecisionTaskInput { + s.Identity = &v + return s +} + +// SetMaximumPageSize sets the MaximumPageSize field's value. +func (s *PollForDecisionTaskInput) SetMaximumPageSize(v int64) *PollForDecisionTaskInput { + s.MaximumPageSize = &v + return s +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *PollForDecisionTaskInput) SetNextPageToken(v string) *PollForDecisionTaskInput { + s.NextPageToken = &v + return s +} + +// SetReverseOrder sets the ReverseOrder field's value. +func (s *PollForDecisionTaskInput) SetReverseOrder(v bool) *PollForDecisionTaskInput { + s.ReverseOrder = &v + return s +} + +// SetTaskList sets the TaskList field's value. +func (s *PollForDecisionTaskInput) SetTaskList(v *TaskList) *PollForDecisionTaskInput { + s.TaskList = v + return s +} + +// A structure that represents a decision task. Decision tasks are sent to deciders +// in order for them to make decisions. +type PollForDecisionTaskOutput struct { + _ struct{} `type:"structure"` + + // A paginated list of history events of the workflow execution. The decider + // uses this during the processing of the decision task. + // + // Events is a required field + Events []*HistoryEvent `locationName:"events" type:"list" required:"true"` + + // If a NextPageToken was returned by a previous call, there are more results + // available. To retrieve the next page of results, make the call again using + // the returned token in nextPageToken. Keep all other arguments unchanged. + // + // The configured maximumPageSize determines how many results can be returned + // in a single call. + NextPageToken *string `locationName:"nextPageToken" type:"string"` + + // The ID of the DecisionTaskStarted event of the previous decision task of + // this workflow execution that was processed by the decider. This can be used + // to determine the events in the history new since the last decision task received + // by the decider. + PreviousStartedEventId *int64 `locationName:"previousStartedEventId" type:"long"` + + // The ID of the DecisionTaskStarted event recorded in the history. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` + + // The opaque string used as a handle on the task. This token is used by workers + // to communicate progress and response information back to the system about + // the task. + // + // TaskToken is a required field + TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` + + // The workflow execution for which this decision task was created. + // + // WorkflowExecution is a required field + WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` + + // The type of the workflow execution for which this decision task was created. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s PollForDecisionTaskOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PollForDecisionTaskOutput) GoString() string { + return s.String() +} + +// SetEvents sets the Events field's value. +func (s *PollForDecisionTaskOutput) SetEvents(v []*HistoryEvent) *PollForDecisionTaskOutput { + s.Events = v + return s +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *PollForDecisionTaskOutput) SetNextPageToken(v string) *PollForDecisionTaskOutput { + s.NextPageToken = &v + return s +} + +// SetPreviousStartedEventId sets the PreviousStartedEventId field's value. +func (s *PollForDecisionTaskOutput) SetPreviousStartedEventId(v int64) *PollForDecisionTaskOutput { + s.PreviousStartedEventId = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *PollForDecisionTaskOutput) SetStartedEventId(v int64) *PollForDecisionTaskOutput { + s.StartedEventId = &v + return s +} + +// SetTaskToken sets the TaskToken field's value. +func (s *PollForDecisionTaskOutput) SetTaskToken(v string) *PollForDecisionTaskOutput { + s.TaskToken = &v + return s +} + +// SetWorkflowExecution sets the WorkflowExecution field's value. +func (s *PollForDecisionTaskOutput) SetWorkflowExecution(v *WorkflowExecution) *PollForDecisionTaskOutput { + s.WorkflowExecution = v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *PollForDecisionTaskOutput) SetWorkflowType(v *WorkflowType) *PollForDecisionTaskOutput { + s.WorkflowType = v + return s +} + +type RecordActivityTaskHeartbeatInput struct { + _ struct{} `type:"structure"` + + // If specified, contains details about the progress of the task. + Details *string `locationName:"details" type:"string"` + + // The taskToken of the ActivityTask. + // + // taskToken is generated by the service and should be treated as an opaque + // value. If the task is passed to another process, its taskToken must also + // be passed. This enables it to provide its progress and respond with results. + // + // TaskToken is a required field + TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RecordActivityTaskHeartbeatInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RecordActivityTaskHeartbeatInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RecordActivityTaskHeartbeatInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RecordActivityTaskHeartbeatInput"} + if s.TaskToken == nil { + invalidParams.Add(request.NewErrParamRequired("TaskToken")) + } + if s.TaskToken != nil && len(*s.TaskToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TaskToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetails sets the Details field's value. +func (s *RecordActivityTaskHeartbeatInput) SetDetails(v string) *RecordActivityTaskHeartbeatInput { + s.Details = &v + return s +} + +// SetTaskToken sets the TaskToken field's value. +func (s *RecordActivityTaskHeartbeatInput) SetTaskToken(v string) *RecordActivityTaskHeartbeatInput { + s.TaskToken = &v + return s +} + +// Status information about an activity task. +type RecordActivityTaskHeartbeatOutput struct { + _ struct{} `type:"structure"` + + // Set to true if cancellation of the task is requested. + // + // CancelRequested is a required field + CancelRequested *bool `locationName:"cancelRequested" type:"boolean" required:"true"` +} + +// String returns the string representation +func (s RecordActivityTaskHeartbeatOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RecordActivityTaskHeartbeatOutput) GoString() string { + return s.String() +} + +// SetCancelRequested sets the CancelRequested field's value. +func (s *RecordActivityTaskHeartbeatOutput) SetCancelRequested(v bool) *RecordActivityTaskHeartbeatOutput { + s.CancelRequested = &v + return s +} + +// Provides the details of the RecordMarker decision. +// +// Access Control +// +// You can use IAM policies to control this decision's access to Amazon SWF +// resources as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +type RecordMarkerDecisionAttributes struct { + _ struct{} `type:"structure"` + + // The details of the marker. + Details *string `locationName:"details" type:"string"` + + // The name of the marker. + // + // MarkerName is a required field + MarkerName *string `locationName:"markerName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RecordMarkerDecisionAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RecordMarkerDecisionAttributes) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RecordMarkerDecisionAttributes) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RecordMarkerDecisionAttributes"} + if s.MarkerName == nil { + invalidParams.Add(request.NewErrParamRequired("MarkerName")) + } + if s.MarkerName != nil && len(*s.MarkerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MarkerName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetails sets the Details field's value. +func (s *RecordMarkerDecisionAttributes) SetDetails(v string) *RecordMarkerDecisionAttributes { + s.Details = &v + return s +} + +// SetMarkerName sets the MarkerName field's value. +func (s *RecordMarkerDecisionAttributes) SetMarkerName(v string) *RecordMarkerDecisionAttributes { + s.MarkerName = &v + return s +} + +// Provides the details of the RecordMarkerFailed event. +type RecordMarkerFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The cause of the failure. This information is generated by the system and + // can be useful for diagnostic purposes. + // + // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it + // lacked sufficient permissions. For details and example IAM policies, see + // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) + // in the Amazon SWF Developer Guide. + // + // Cause is a required field + Cause *string `locationName:"cause" type:"string" required:"true" enum:"RecordMarkerFailedCause"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the RecordMarkerFailed decision for this cancellation request. + // This information can be useful for diagnosing problems by tracing back the + // chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The marker's name. + // + // MarkerName is a required field + MarkerName *string `locationName:"markerName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RecordMarkerFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RecordMarkerFailedEventAttributes) GoString() string { + return s.String() +} + +// SetCause sets the Cause field's value. +func (s *RecordMarkerFailedEventAttributes) SetCause(v string) *RecordMarkerFailedEventAttributes { + s.Cause = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *RecordMarkerFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *RecordMarkerFailedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetMarkerName sets the MarkerName field's value. +func (s *RecordMarkerFailedEventAttributes) SetMarkerName(v string) *RecordMarkerFailedEventAttributes { + s.MarkerName = &v + return s +} + +type RegisterActivityTypeInput struct { + _ struct{} `type:"structure"` + + // If set, specifies the default maximum time before which a worker processing + // a task of this type must report progress by calling RecordActivityTaskHeartbeat. + // If the timeout is exceeded, the activity task is automatically timed out. + // This default can be overridden when scheduling an activity task using the + // ScheduleActivityTaskDecision. If the activity worker subsequently attempts + // to record a heartbeat or returns a result, the activity worker receives an + // UnknownResource fault. In this case, Amazon SWF no longer considers the activity + // task to be valid; the activity worker should clean up the activity task. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + DefaultTaskHeartbeatTimeout *string `locationName:"defaultTaskHeartbeatTimeout" type:"string"` + + // If set, specifies the default task list to use for scheduling tasks of this + // activity type. This default task list is used if a task list isn't provided + // when a task is scheduled through the ScheduleActivityTaskDecision. + DefaultTaskList *TaskList `locationName:"defaultTaskList" type:"structure"` + + // The default task priority to assign to the activity type. If not assigned, + // then 0 is used. Valid values are integers that range from Java's Integer.MIN_VALUE + // (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate + // higher priority. + // + // For more information about setting task priority, see Setting Task Priority + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html) + // in the in the Amazon SWF Developer Guide.. + DefaultTaskPriority *string `locationName:"defaultTaskPriority" type:"string"` + + // If set, specifies the default maximum duration for a task of this activity + // type. This default can be overridden when scheduling an activity task using + // the ScheduleActivityTaskDecision. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + DefaultTaskScheduleToCloseTimeout *string `locationName:"defaultTaskScheduleToCloseTimeout" type:"string"` + + // If set, specifies the default maximum duration that a task of this activity + // type can wait before being assigned to a worker. This default can be overridden + // when scheduling an activity task using the ScheduleActivityTaskDecision. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + DefaultTaskScheduleToStartTimeout *string `locationName:"defaultTaskScheduleToStartTimeout" type:"string"` + + // If set, specifies the default maximum duration that a worker can take to + // process tasks of this activity type. This default can be overridden when + // scheduling an activity task using the ScheduleActivityTaskDecision. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + DefaultTaskStartToCloseTimeout *string `locationName:"defaultTaskStartToCloseTimeout" type:"string"` + + // A textual description of the activity type. + Description *string `locationName:"description" type:"string"` + + // The name of the domain in which this activity is to be registered. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // The name of the activity type within the domain. + // + // The specified string must not start or end with whitespace. It must not contain + // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f + // | \u007f-\u009f). Also, it must not contain the literal string arn. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The version of the activity type. + // + // The activity type consists of the name and version, the combination of which + // must be unique within the domain. + // + // The specified string must not start or end with whitespace. It must not contain + // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f + // | \u007f-\u009f). Also, it must not contain the literal string arn. + // + // Version is a required field + Version *string `locationName:"version" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RegisterActivityTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RegisterActivityTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RegisterActivityTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegisterActivityTypeInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Version == nil { + invalidParams.Add(request.NewErrParamRequired("Version")) + } + if s.Version != nil && len(*s.Version) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Version", 1)) + } + if s.DefaultTaskList != nil { + if err := s.DefaultTaskList.Validate(); err != nil { + invalidParams.AddNested("DefaultTaskList", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDefaultTaskHeartbeatTimeout sets the DefaultTaskHeartbeatTimeout field's value. +func (s *RegisterActivityTypeInput) SetDefaultTaskHeartbeatTimeout(v string) *RegisterActivityTypeInput { + s.DefaultTaskHeartbeatTimeout = &v + return s +} + +// SetDefaultTaskList sets the DefaultTaskList field's value. +func (s *RegisterActivityTypeInput) SetDefaultTaskList(v *TaskList) *RegisterActivityTypeInput { + s.DefaultTaskList = v + return s +} + +// SetDefaultTaskPriority sets the DefaultTaskPriority field's value. +func (s *RegisterActivityTypeInput) SetDefaultTaskPriority(v string) *RegisterActivityTypeInput { + s.DefaultTaskPriority = &v + return s +} + +// SetDefaultTaskScheduleToCloseTimeout sets the DefaultTaskScheduleToCloseTimeout field's value. +func (s *RegisterActivityTypeInput) SetDefaultTaskScheduleToCloseTimeout(v string) *RegisterActivityTypeInput { + s.DefaultTaskScheduleToCloseTimeout = &v + return s +} + +// SetDefaultTaskScheduleToStartTimeout sets the DefaultTaskScheduleToStartTimeout field's value. +func (s *RegisterActivityTypeInput) SetDefaultTaskScheduleToStartTimeout(v string) *RegisterActivityTypeInput { + s.DefaultTaskScheduleToStartTimeout = &v + return s +} + +// SetDefaultTaskStartToCloseTimeout sets the DefaultTaskStartToCloseTimeout field's value. +func (s *RegisterActivityTypeInput) SetDefaultTaskStartToCloseTimeout(v string) *RegisterActivityTypeInput { + s.DefaultTaskStartToCloseTimeout = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *RegisterActivityTypeInput) SetDescription(v string) *RegisterActivityTypeInput { + s.Description = &v + return s +} + +// SetDomain sets the Domain field's value. +func (s *RegisterActivityTypeInput) SetDomain(v string) *RegisterActivityTypeInput { + s.Domain = &v + return s +} + +// SetName sets the Name field's value. +func (s *RegisterActivityTypeInput) SetName(v string) *RegisterActivityTypeInput { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *RegisterActivityTypeInput) SetVersion(v string) *RegisterActivityTypeInput { + s.Version = &v + return s +} + +type RegisterActivityTypeOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s RegisterActivityTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RegisterActivityTypeOutput) GoString() string { + return s.String() +} + +type RegisterDomainInput struct { + _ struct{} `type:"structure"` + + // A text description of the domain. + Description *string `locationName:"description" type:"string"` + + // Name of the domain to register. The name must be unique in the region that + // the domain is registered in. + // + // The specified string must not start or end with whitespace. It must not contain + // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f + // | \u007f-\u009f). Also, it must not contain the literal string arn. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The duration (in days) that records and histories of workflow executions + // on the domain should be kept by the service. After the retention period, + // the workflow execution isn't available in the results of visibility calls. + // + // If you pass the value NONE or 0 (zero), then the workflow execution history + // isn't retained. As soon as the workflow execution completes, the execution + // record and its history are deleted. + // + // The maximum workflow execution retention period is 90 days. For more information + // about Amazon SWF service limits, see: Amazon SWF Service Limits (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-limits.html) + // in the Amazon SWF Developer Guide. + // + // WorkflowExecutionRetentionPeriodInDays is a required field + WorkflowExecutionRetentionPeriodInDays *string `locationName:"workflowExecutionRetentionPeriodInDays" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RegisterDomainInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RegisterDomainInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RegisterDomainInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegisterDomainInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.WorkflowExecutionRetentionPeriodInDays == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowExecutionRetentionPeriodInDays")) + } + if s.WorkflowExecutionRetentionPeriodInDays != nil && len(*s.WorkflowExecutionRetentionPeriodInDays) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowExecutionRetentionPeriodInDays", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *RegisterDomainInput) SetDescription(v string) *RegisterDomainInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *RegisterDomainInput) SetName(v string) *RegisterDomainInput { + s.Name = &v + return s +} + +// SetWorkflowExecutionRetentionPeriodInDays sets the WorkflowExecutionRetentionPeriodInDays field's value. +func (s *RegisterDomainInput) SetWorkflowExecutionRetentionPeriodInDays(v string) *RegisterDomainInput { + s.WorkflowExecutionRetentionPeriodInDays = &v + return s +} + +type RegisterDomainOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s RegisterDomainOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RegisterDomainOutput) GoString() string { + return s.String() +} + +type RegisterWorkflowTypeInput struct { + _ struct{} `type:"structure"` + + // If set, specifies the default policy to use for the child workflow executions + // when a workflow execution of this type is terminated, by calling the TerminateWorkflowExecution + // action explicitly or due to an expired timeout. This default can be overridden + // when starting a workflow execution using the StartWorkflowExecution action + // or the StartChildWorkflowExecutionDecision. + // + // The supported child policies are: + // + // * TERMINATE – The child executions are terminated. + // + // * REQUEST_CANCEL – A request to cancel is attempted for each child execution + // by recording a WorkflowExecutionCancelRequested event in its history. + // It is up to the decider to take appropriate actions when it receives an + // execution history with this event. + // + // * ABANDON – No action is taken. The child executions continue to run. + DefaultChildPolicy *string `locationName:"defaultChildPolicy" type:"string" enum:"ChildPolicy"` + + // If set, specifies the default maximum duration for executions of this workflow + // type. You can override this default when starting an execution through the + // StartWorkflowExecution Action or StartChildWorkflowExecutionDecision. + // + // The duration is specified in seconds; an integer greater than or equal to + // 0. Unlike some of the other timeout parameters in Amazon SWF, you cannot + // specify a value of "NONE" for defaultExecutionStartToCloseTimeout; there + // is a one-year max limit on the time that a workflow execution can run. Exceeding + // this limit always causes the workflow execution to time out. + DefaultExecutionStartToCloseTimeout *string `locationName:"defaultExecutionStartToCloseTimeout" type:"string"` + + // The default IAM role attached to this workflow type. + // + // Executions of this workflow type need IAM roles to invoke Lambda functions. + // If you don't specify an IAM role when you start this workflow type, the default + // Lambda role is attached to the execution. For more information, see http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html) + // in the Amazon SWF Developer Guide. + DefaultLambdaRole *string `locationName:"defaultLambdaRole" min:"1" type:"string"` + + // If set, specifies the default task list to use for scheduling decision tasks + // for executions of this workflow type. This default is used only if a task + // list isn't provided when starting the execution through the StartWorkflowExecution + // Action or StartChildWorkflowExecutionDecision. + DefaultTaskList *TaskList `locationName:"defaultTaskList" type:"structure"` + + // The default task priority to assign to the workflow type. If not assigned, + // then 0 is used. Valid values are integers that range from Java's Integer.MIN_VALUE + // (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate + // higher priority. + // + // For more information about setting task priority, see Setting Task Priority + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html) + // in the Amazon SWF Developer Guide. + DefaultTaskPriority *string `locationName:"defaultTaskPriority" type:"string"` + + // If set, specifies the default maximum duration of decision tasks for this + // workflow type. This default can be overridden when starting a workflow execution + // using the StartWorkflowExecution action or the StartChildWorkflowExecutionDecision. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + DefaultTaskStartToCloseTimeout *string `locationName:"defaultTaskStartToCloseTimeout" type:"string"` + + // Textual description of the workflow type. + Description *string `locationName:"description" type:"string"` + + // The name of the domain in which to register the workflow type. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // The name of the workflow type. + // + // The specified string must not start or end with whitespace. It must not contain + // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f + // | \u007f-\u009f). Also, it must not contain the literal string arn. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The version of the workflow type. + // + // The workflow type consists of the name and version, the combination of which + // must be unique within the domain. To get a list of all currently registered + // workflow types, use the ListWorkflowTypes action. + // + // The specified string must not start or end with whitespace. It must not contain + // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f + // | \u007f-\u009f). Also, it must not contain the literal string arn. + // + // Version is a required field + Version *string `locationName:"version" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RegisterWorkflowTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RegisterWorkflowTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RegisterWorkflowTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegisterWorkflowTypeInput"} + if s.DefaultLambdaRole != nil && len(*s.DefaultLambdaRole) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DefaultLambdaRole", 1)) + } + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Version == nil { + invalidParams.Add(request.NewErrParamRequired("Version")) + } + if s.Version != nil && len(*s.Version) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Version", 1)) + } + if s.DefaultTaskList != nil { + if err := s.DefaultTaskList.Validate(); err != nil { + invalidParams.AddNested("DefaultTaskList", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDefaultChildPolicy sets the DefaultChildPolicy field's value. +func (s *RegisterWorkflowTypeInput) SetDefaultChildPolicy(v string) *RegisterWorkflowTypeInput { + s.DefaultChildPolicy = &v + return s +} + +// SetDefaultExecutionStartToCloseTimeout sets the DefaultExecutionStartToCloseTimeout field's value. +func (s *RegisterWorkflowTypeInput) SetDefaultExecutionStartToCloseTimeout(v string) *RegisterWorkflowTypeInput { + s.DefaultExecutionStartToCloseTimeout = &v + return s +} + +// SetDefaultLambdaRole sets the DefaultLambdaRole field's value. +func (s *RegisterWorkflowTypeInput) SetDefaultLambdaRole(v string) *RegisterWorkflowTypeInput { + s.DefaultLambdaRole = &v + return s +} + +// SetDefaultTaskList sets the DefaultTaskList field's value. +func (s *RegisterWorkflowTypeInput) SetDefaultTaskList(v *TaskList) *RegisterWorkflowTypeInput { + s.DefaultTaskList = v + return s +} + +// SetDefaultTaskPriority sets the DefaultTaskPriority field's value. +func (s *RegisterWorkflowTypeInput) SetDefaultTaskPriority(v string) *RegisterWorkflowTypeInput { + s.DefaultTaskPriority = &v + return s +} + +// SetDefaultTaskStartToCloseTimeout sets the DefaultTaskStartToCloseTimeout field's value. +func (s *RegisterWorkflowTypeInput) SetDefaultTaskStartToCloseTimeout(v string) *RegisterWorkflowTypeInput { + s.DefaultTaskStartToCloseTimeout = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *RegisterWorkflowTypeInput) SetDescription(v string) *RegisterWorkflowTypeInput { + s.Description = &v + return s +} + +// SetDomain sets the Domain field's value. +func (s *RegisterWorkflowTypeInput) SetDomain(v string) *RegisterWorkflowTypeInput { + s.Domain = &v + return s +} + +// SetName sets the Name field's value. +func (s *RegisterWorkflowTypeInput) SetName(v string) *RegisterWorkflowTypeInput { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *RegisterWorkflowTypeInput) SetVersion(v string) *RegisterWorkflowTypeInput { + s.Version = &v + return s +} + +type RegisterWorkflowTypeOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s RegisterWorkflowTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RegisterWorkflowTypeOutput) GoString() string { + return s.String() +} + +// Provides the details of the RequestCancelActivityTask decision. +// +// Access Control +// +// You can use IAM policies to control this decision's access to Amazon SWF +// resources as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +type RequestCancelActivityTaskDecisionAttributes struct { + _ struct{} `type:"structure"` + + // The activityId of the activity task to be canceled. + // + // ActivityId is a required field + ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RequestCancelActivityTaskDecisionAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RequestCancelActivityTaskDecisionAttributes) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RequestCancelActivityTaskDecisionAttributes) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RequestCancelActivityTaskDecisionAttributes"} + if s.ActivityId == nil { + invalidParams.Add(request.NewErrParamRequired("ActivityId")) + } + if s.ActivityId != nil && len(*s.ActivityId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ActivityId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActivityId sets the ActivityId field's value. +func (s *RequestCancelActivityTaskDecisionAttributes) SetActivityId(v string) *RequestCancelActivityTaskDecisionAttributes { + s.ActivityId = &v + return s +} + +// Provides the details of the RequestCancelActivityTaskFailed event. +type RequestCancelActivityTaskFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The activityId provided in the RequestCancelActivityTask decision that failed. + // + // ActivityId is a required field + ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"` + + // The cause of the failure. This information is generated by the system and + // can be useful for diagnostic purposes. + // + // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it + // lacked sufficient permissions. For details and example IAM policies, see + // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) + // in the Amazon SWF Developer Guide. + // + // Cause is a required field + Cause *string `locationName:"cause" type:"string" required:"true" enum:"RequestCancelActivityTaskFailedCause"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the RequestCancelActivityTask decision for this cancellation + // request. This information can be useful for diagnosing problems by tracing + // back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s RequestCancelActivityTaskFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RequestCancelActivityTaskFailedEventAttributes) GoString() string { + return s.String() +} + +// SetActivityId sets the ActivityId field's value. +func (s *RequestCancelActivityTaskFailedEventAttributes) SetActivityId(v string) *RequestCancelActivityTaskFailedEventAttributes { + s.ActivityId = &v + return s +} + +// SetCause sets the Cause field's value. +func (s *RequestCancelActivityTaskFailedEventAttributes) SetCause(v string) *RequestCancelActivityTaskFailedEventAttributes { + s.Cause = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *RequestCancelActivityTaskFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *RequestCancelActivityTaskFailedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// Provides the details of the RequestCancelExternalWorkflowExecution decision. +// +// Access Control +// +// You can use IAM policies to control this decision's access to Amazon SWF +// resources as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +type RequestCancelExternalWorkflowExecutionDecisionAttributes struct { + _ struct{} `type:"structure"` + + // The data attached to the event that can be used by the decider in subsequent + // workflow tasks. + Control *string `locationName:"control" type:"string"` + + // The runId of the external workflow execution to cancel. + RunId *string `locationName:"runId" type:"string"` + + // The workflowId of the external workflow execution to cancel. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RequestCancelExternalWorkflowExecutionDecisionAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RequestCancelExternalWorkflowExecutionDecisionAttributes) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RequestCancelExternalWorkflowExecutionDecisionAttributes) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RequestCancelExternalWorkflowExecutionDecisionAttributes"} + if s.WorkflowId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowId")) + } + if s.WorkflowId != nil && len(*s.WorkflowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetControl sets the Control field's value. +func (s *RequestCancelExternalWorkflowExecutionDecisionAttributes) SetControl(v string) *RequestCancelExternalWorkflowExecutionDecisionAttributes { + s.Control = &v + return s +} + +// SetRunId sets the RunId field's value. +func (s *RequestCancelExternalWorkflowExecutionDecisionAttributes) SetRunId(v string) *RequestCancelExternalWorkflowExecutionDecisionAttributes { + s.RunId = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *RequestCancelExternalWorkflowExecutionDecisionAttributes) SetWorkflowId(v string) *RequestCancelExternalWorkflowExecutionDecisionAttributes { + s.WorkflowId = &v + return s +} + +// Provides the details of the RequestCancelExternalWorkflowExecutionFailed +// event. +type RequestCancelExternalWorkflowExecutionFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The cause of the failure. This information is generated by the system and + // can be useful for diagnostic purposes. + // + // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it + // lacked sufficient permissions. For details and example IAM policies, see + // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) + // in the Amazon SWF Developer Guide. + // + // Cause is a required field + Cause *string `locationName:"cause" type:"string" required:"true" enum:"RequestCancelExternalWorkflowExecutionFailedCause"` + + // The data attached to the event that the decider can use in subsequent workflow + // tasks. This data isn't sent to the workflow execution. + Control *string `locationName:"control" type:"string"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the RequestCancelExternalWorkflowExecution decision for + // this cancellation request. This information can be useful for diagnosing + // problems by tracing back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding + // to the RequestCancelExternalWorkflowExecution decision to cancel this external + // workflow execution. This information can be useful for diagnosing problems + // by tracing back the chain of events leading up to this event. + // + // InitiatedEventId is a required field + InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` + + // The runId of the external workflow execution. + RunId *string `locationName:"runId" type:"string"` + + // The workflowId of the external workflow to which the cancel request was to + // be delivered. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RequestCancelExternalWorkflowExecutionFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RequestCancelExternalWorkflowExecutionFailedEventAttributes) GoString() string { + return s.String() +} + +// SetCause sets the Cause field's value. +func (s *RequestCancelExternalWorkflowExecutionFailedEventAttributes) SetCause(v string) *RequestCancelExternalWorkflowExecutionFailedEventAttributes { + s.Cause = &v + return s +} + +// SetControl sets the Control field's value. +func (s *RequestCancelExternalWorkflowExecutionFailedEventAttributes) SetControl(v string) *RequestCancelExternalWorkflowExecutionFailedEventAttributes { + s.Control = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *RequestCancelExternalWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *RequestCancelExternalWorkflowExecutionFailedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetInitiatedEventId sets the InitiatedEventId field's value. +func (s *RequestCancelExternalWorkflowExecutionFailedEventAttributes) SetInitiatedEventId(v int64) *RequestCancelExternalWorkflowExecutionFailedEventAttributes { + s.InitiatedEventId = &v + return s +} + +// SetRunId sets the RunId field's value. +func (s *RequestCancelExternalWorkflowExecutionFailedEventAttributes) SetRunId(v string) *RequestCancelExternalWorkflowExecutionFailedEventAttributes { + s.RunId = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *RequestCancelExternalWorkflowExecutionFailedEventAttributes) SetWorkflowId(v string) *RequestCancelExternalWorkflowExecutionFailedEventAttributes { + s.WorkflowId = &v + return s +} + +// Provides the details of the RequestCancelExternalWorkflowExecutionInitiated +// event. +type RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct { + _ struct{} `type:"structure"` + + // Data attached to the event that can be used by the decider in subsequent + // workflow tasks. + Control *string `locationName:"control" type:"string"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the RequestCancelExternalWorkflowExecution decision for + // this cancellation request. This information can be useful for diagnosing + // problems by tracing back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The runId of the external workflow execution to be canceled. + RunId *string `locationName:"runId" type:"string"` + + // The workflowId of the external workflow execution to be canceled. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GoString() string { + return s.String() +} + +// SetControl sets the Control field's value. +func (s *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) SetControl(v string) *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes { + s.Control = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetRunId sets the RunId field's value. +func (s *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) SetRunId(v string) *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes { + s.RunId = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) SetWorkflowId(v string) *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes { + s.WorkflowId = &v + return s +} + +type RequestCancelWorkflowExecutionInput struct { + _ struct{} `type:"structure"` + + // The name of the domain containing the workflow execution to cancel. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // The runId of the workflow execution to cancel. + RunId *string `locationName:"runId" type:"string"` + + // The workflowId of the workflow execution to cancel. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RequestCancelWorkflowExecutionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RequestCancelWorkflowExecutionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RequestCancelWorkflowExecutionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RequestCancelWorkflowExecutionInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.WorkflowId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowId")) + } + if s.WorkflowId != nil && len(*s.WorkflowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomain sets the Domain field's value. +func (s *RequestCancelWorkflowExecutionInput) SetDomain(v string) *RequestCancelWorkflowExecutionInput { + s.Domain = &v + return s +} + +// SetRunId sets the RunId field's value. +func (s *RequestCancelWorkflowExecutionInput) SetRunId(v string) *RequestCancelWorkflowExecutionInput { + s.RunId = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *RequestCancelWorkflowExecutionInput) SetWorkflowId(v string) *RequestCancelWorkflowExecutionInput { + s.WorkflowId = &v + return s +} + +type RequestCancelWorkflowExecutionOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s RequestCancelWorkflowExecutionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RequestCancelWorkflowExecutionOutput) GoString() string { + return s.String() +} + +type RespondActivityTaskCanceledInput struct { + _ struct{} `type:"structure"` + + // Information about the cancellation. + Details *string `locationName:"details" type:"string"` + + // The taskToken of the ActivityTask. + // + // taskToken is generated by the service and should be treated as an opaque + // value. If the task is passed to another process, its taskToken must also + // be passed. This enables it to provide its progress and respond with results. + // + // TaskToken is a required field + TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RespondActivityTaskCanceledInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RespondActivityTaskCanceledInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RespondActivityTaskCanceledInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RespondActivityTaskCanceledInput"} + if s.TaskToken == nil { + invalidParams.Add(request.NewErrParamRequired("TaskToken")) + } + if s.TaskToken != nil && len(*s.TaskToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TaskToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetails sets the Details field's value. +func (s *RespondActivityTaskCanceledInput) SetDetails(v string) *RespondActivityTaskCanceledInput { + s.Details = &v + return s +} + +// SetTaskToken sets the TaskToken field's value. +func (s *RespondActivityTaskCanceledInput) SetTaskToken(v string) *RespondActivityTaskCanceledInput { + s.TaskToken = &v + return s +} + +type RespondActivityTaskCanceledOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s RespondActivityTaskCanceledOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RespondActivityTaskCanceledOutput) GoString() string { + return s.String() +} + +type RespondActivityTaskCompletedInput struct { + _ struct{} `type:"structure"` + + // The result of the activity task. It is a free form string that is implementation + // specific. + Result *string `locationName:"result" type:"string"` + + // The taskToken of the ActivityTask. + // + // taskToken is generated by the service and should be treated as an opaque + // value. If the task is passed to another process, its taskToken must also + // be passed. This enables it to provide its progress and respond with results. + // + // TaskToken is a required field + TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RespondActivityTaskCompletedInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RespondActivityTaskCompletedInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RespondActivityTaskCompletedInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RespondActivityTaskCompletedInput"} + if s.TaskToken == nil { + invalidParams.Add(request.NewErrParamRequired("TaskToken")) + } + if s.TaskToken != nil && len(*s.TaskToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TaskToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResult sets the Result field's value. +func (s *RespondActivityTaskCompletedInput) SetResult(v string) *RespondActivityTaskCompletedInput { + s.Result = &v + return s +} + +// SetTaskToken sets the TaskToken field's value. +func (s *RespondActivityTaskCompletedInput) SetTaskToken(v string) *RespondActivityTaskCompletedInput { + s.TaskToken = &v + return s +} + +type RespondActivityTaskCompletedOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s RespondActivityTaskCompletedOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RespondActivityTaskCompletedOutput) GoString() string { + return s.String() +} + +type RespondActivityTaskFailedInput struct { + _ struct{} `type:"structure"` + + // Detailed information about the failure. + Details *string `locationName:"details" type:"string"` + + // Description of the error that may assist in diagnostics. + Reason *string `locationName:"reason" type:"string"` + + // The taskToken of the ActivityTask. + // + // taskToken is generated by the service and should be treated as an opaque + // value. If the task is passed to another process, its taskToken must also + // be passed. This enables it to provide its progress and respond with results. + // + // TaskToken is a required field + TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RespondActivityTaskFailedInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RespondActivityTaskFailedInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RespondActivityTaskFailedInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RespondActivityTaskFailedInput"} + if s.TaskToken == nil { + invalidParams.Add(request.NewErrParamRequired("TaskToken")) + } + if s.TaskToken != nil && len(*s.TaskToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TaskToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetails sets the Details field's value. +func (s *RespondActivityTaskFailedInput) SetDetails(v string) *RespondActivityTaskFailedInput { + s.Details = &v + return s +} + +// SetReason sets the Reason field's value. +func (s *RespondActivityTaskFailedInput) SetReason(v string) *RespondActivityTaskFailedInput { + s.Reason = &v + return s +} + +// SetTaskToken sets the TaskToken field's value. +func (s *RespondActivityTaskFailedInput) SetTaskToken(v string) *RespondActivityTaskFailedInput { + s.TaskToken = &v + return s +} + +type RespondActivityTaskFailedOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s RespondActivityTaskFailedOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RespondActivityTaskFailedOutput) GoString() string { + return s.String() +} + +// Input data for a TaskCompleted response to a decision task. +type RespondDecisionTaskCompletedInput struct { + _ struct{} `type:"structure"` + + // The list of decisions (possibly empty) made by the decider while processing + // this decision task. See the docs for the Decision structure for details. + Decisions []*Decision `locationName:"decisions" type:"list"` + + // User defined context to add to workflow execution. + ExecutionContext *string `locationName:"executionContext" type:"string"` + + // The taskToken from the DecisionTask. + // + // taskToken is generated by the service and should be treated as an opaque + // value. If the task is passed to another process, its taskToken must also + // be passed. This enables it to provide its progress and respond with results. + // + // TaskToken is a required field + TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RespondDecisionTaskCompletedInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RespondDecisionTaskCompletedInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RespondDecisionTaskCompletedInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RespondDecisionTaskCompletedInput"} + if s.TaskToken == nil { + invalidParams.Add(request.NewErrParamRequired("TaskToken")) + } + if s.TaskToken != nil && len(*s.TaskToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TaskToken", 1)) + } + if s.Decisions != nil { + for i, v := range s.Decisions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Decisions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDecisions sets the Decisions field's value. +func (s *RespondDecisionTaskCompletedInput) SetDecisions(v []*Decision) *RespondDecisionTaskCompletedInput { + s.Decisions = v + return s +} + +// SetExecutionContext sets the ExecutionContext field's value. +func (s *RespondDecisionTaskCompletedInput) SetExecutionContext(v string) *RespondDecisionTaskCompletedInput { + s.ExecutionContext = &v + return s +} + +// SetTaskToken sets the TaskToken field's value. +func (s *RespondDecisionTaskCompletedInput) SetTaskToken(v string) *RespondDecisionTaskCompletedInput { + s.TaskToken = &v + return s +} + +type RespondDecisionTaskCompletedOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s RespondDecisionTaskCompletedOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RespondDecisionTaskCompletedOutput) GoString() string { + return s.String() +} + +// Provides the details of the ScheduleActivityTask decision. +// +// Access Control +// +// You can use IAM policies to control this decision's access to Amazon SWF +// resources as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the following parameters by using a Condition element with +// the appropriate keys. +// +// activityType.name – String constraint. The key is swf:activityType.name. +// +// activityType.version – String constraint. The key is swf:activityType.version. +// +// taskList – String constraint. The key is swf:taskList.name. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +type ScheduleActivityTaskDecisionAttributes struct { + _ struct{} `type:"structure"` + + // The activityId of the activity task. + // + // The specified string must not start or end with whitespace. It must not contain + // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f + // | \u007f-\u009f). Also, it must not contain the literal string arn. + // + // ActivityId is a required field + ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"` + + // The type of the activity task to schedule. + // + // ActivityType is a required field + ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"` + + // Data attached to the event that can be used by the decider in subsequent + // workflow tasks. This data isn't sent to the activity. + Control *string `locationName:"control" type:"string"` + + // If set, specifies the maximum time before which a worker processing a task + // of this type must report progress by calling RecordActivityTaskHeartbeat. + // If the timeout is exceeded, the activity task is automatically timed out. + // If the worker subsequently attempts to record a heartbeat or returns a result, + // it is ignored. This overrides the default heartbeat timeout specified when + // registering the activity type using RegisterActivityType. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + HeartbeatTimeout *string `locationName:"heartbeatTimeout" type:"string"` + + // The input provided to the activity task. + Input *string `locationName:"input" type:"string"` + + // The maximum duration for this activity task. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + // + // A schedule-to-close timeout for this activity task must be specified either + // as a default for the activity type or through this field. If neither this + // field is set nor a default schedule-to-close timeout was specified at registration + // time then a fault is returned. + ScheduleToCloseTimeout *string `locationName:"scheduleToCloseTimeout" type:"string"` + + // If set, specifies the maximum duration the activity task can wait to be assigned + // to a worker. This overrides the default schedule-to-start timeout specified + // when registering the activity type using RegisterActivityType. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + // + // A schedule-to-start timeout for this activity task must be specified either + // as a default for the activity type or through this field. If neither this + // field is set nor a default schedule-to-start timeout was specified at registration + // time then a fault is returned. + ScheduleToStartTimeout *string `locationName:"scheduleToStartTimeout" type:"string"` + + // If set, specifies the maximum duration a worker may take to process this + // activity task. This overrides the default start-to-close timeout specified + // when registering the activity type using RegisterActivityType. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + // + // A start-to-close timeout for this activity task must be specified either + // as a default for the activity type or through this field. If neither this + // field is set nor a default start-to-close timeout was specified at registration + // time then a fault is returned. + StartToCloseTimeout *string `locationName:"startToCloseTimeout" type:"string"` + + // If set, specifies the name of the task list in which to schedule the activity + // task. If not specified, the defaultTaskList registered with the activity + // type is used. + // + // A task list for this activity task must be specified either as a default + // for the activity type or through this field. If neither this field is set + // nor a default task list was specified at registration time then a fault is + // returned. + // + // The specified string must not start or end with whitespace. It must not contain + // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f + // | \u007f-\u009f). Also, it must not contain the literal string arn. + TaskList *TaskList `locationName:"taskList" type:"structure"` + + // If set, specifies the priority with which the activity task is to be assigned + // to a worker. This overrides the defaultTaskPriority specified when registering + // the activity type using RegisterActivityType. Valid values are integers that + // range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). + // Higher numbers indicate higher priority. + // + // For more information about setting task priority, see Setting Task Priority + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html) + // in the Amazon SWF Developer Guide. + TaskPriority *string `locationName:"taskPriority" type:"string"` +} + +// String returns the string representation +func (s ScheduleActivityTaskDecisionAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ScheduleActivityTaskDecisionAttributes) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ScheduleActivityTaskDecisionAttributes) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ScheduleActivityTaskDecisionAttributes"} + if s.ActivityId == nil { + invalidParams.Add(request.NewErrParamRequired("ActivityId")) + } + if s.ActivityId != nil && len(*s.ActivityId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ActivityId", 1)) + } + if s.ActivityType == nil { + invalidParams.Add(request.NewErrParamRequired("ActivityType")) + } + if s.ActivityType != nil { + if err := s.ActivityType.Validate(); err != nil { + invalidParams.AddNested("ActivityType", err.(request.ErrInvalidParams)) + } + } + if s.TaskList != nil { + if err := s.TaskList.Validate(); err != nil { + invalidParams.AddNested("TaskList", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActivityId sets the ActivityId field's value. +func (s *ScheduleActivityTaskDecisionAttributes) SetActivityId(v string) *ScheduleActivityTaskDecisionAttributes { + s.ActivityId = &v + return s +} + +// SetActivityType sets the ActivityType field's value. +func (s *ScheduleActivityTaskDecisionAttributes) SetActivityType(v *ActivityType) *ScheduleActivityTaskDecisionAttributes { + s.ActivityType = v + return s +} + +// SetControl sets the Control field's value. +func (s *ScheduleActivityTaskDecisionAttributes) SetControl(v string) *ScheduleActivityTaskDecisionAttributes { + s.Control = &v + return s +} + +// SetHeartbeatTimeout sets the HeartbeatTimeout field's value. +func (s *ScheduleActivityTaskDecisionAttributes) SetHeartbeatTimeout(v string) *ScheduleActivityTaskDecisionAttributes { + s.HeartbeatTimeout = &v + return s +} + +// SetInput sets the Input field's value. +func (s *ScheduleActivityTaskDecisionAttributes) SetInput(v string) *ScheduleActivityTaskDecisionAttributes { + s.Input = &v + return s +} + +// SetScheduleToCloseTimeout sets the ScheduleToCloseTimeout field's value. +func (s *ScheduleActivityTaskDecisionAttributes) SetScheduleToCloseTimeout(v string) *ScheduleActivityTaskDecisionAttributes { + s.ScheduleToCloseTimeout = &v + return s +} + +// SetScheduleToStartTimeout sets the ScheduleToStartTimeout field's value. +func (s *ScheduleActivityTaskDecisionAttributes) SetScheduleToStartTimeout(v string) *ScheduleActivityTaskDecisionAttributes { + s.ScheduleToStartTimeout = &v + return s +} + +// SetStartToCloseTimeout sets the StartToCloseTimeout field's value. +func (s *ScheduleActivityTaskDecisionAttributes) SetStartToCloseTimeout(v string) *ScheduleActivityTaskDecisionAttributes { + s.StartToCloseTimeout = &v + return s +} + +// SetTaskList sets the TaskList field's value. +func (s *ScheduleActivityTaskDecisionAttributes) SetTaskList(v *TaskList) *ScheduleActivityTaskDecisionAttributes { + s.TaskList = v + return s +} + +// SetTaskPriority sets the TaskPriority field's value. +func (s *ScheduleActivityTaskDecisionAttributes) SetTaskPriority(v string) *ScheduleActivityTaskDecisionAttributes { + s.TaskPriority = &v + return s +} + +// Provides the details of the ScheduleActivityTaskFailed event. +type ScheduleActivityTaskFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The activityId provided in the ScheduleActivityTask decision that failed. + // + // ActivityId is a required field + ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"` + + // The activity type provided in the ScheduleActivityTask decision that failed. + // + // ActivityType is a required field + ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"` + + // The cause of the failure. This information is generated by the system and + // can be useful for diagnostic purposes. + // + // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it + // lacked sufficient permissions. For details and example IAM policies, see + // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) + // in the Amazon SWF Developer Guide. + // + // Cause is a required field + Cause *string `locationName:"cause" type:"string" required:"true" enum:"ScheduleActivityTaskFailedCause"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision that + // resulted in the scheduling of this activity task. This information can be + // useful for diagnosing problems by tracing back the chain of events leading + // up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` +} + +// String returns the string representation +func (s ScheduleActivityTaskFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ScheduleActivityTaskFailedEventAttributes) GoString() string { + return s.String() +} + +// SetActivityId sets the ActivityId field's value. +func (s *ScheduleActivityTaskFailedEventAttributes) SetActivityId(v string) *ScheduleActivityTaskFailedEventAttributes { + s.ActivityId = &v + return s +} + +// SetActivityType sets the ActivityType field's value. +func (s *ScheduleActivityTaskFailedEventAttributes) SetActivityType(v *ActivityType) *ScheduleActivityTaskFailedEventAttributes { + s.ActivityType = v + return s +} + +// SetCause sets the Cause field's value. +func (s *ScheduleActivityTaskFailedEventAttributes) SetCause(v string) *ScheduleActivityTaskFailedEventAttributes { + s.Cause = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *ScheduleActivityTaskFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *ScheduleActivityTaskFailedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// Decision attributes specified in scheduleLambdaFunctionDecisionAttributes +// within the list of decisions decisions passed to RespondDecisionTaskCompleted. +type ScheduleLambdaFunctionDecisionAttributes struct { + _ struct{} `type:"structure"` + + // The data attached to the event that the decider can use in subsequent workflow + // tasks. This data isn't sent to the Lambda task. + Control *string `locationName:"control" type:"string"` + + // A string that identifies the Lambda function execution in the event history. + // + // Id is a required field + Id *string `locationName:"id" min:"1" type:"string" required:"true"` + + // The optional input data to be supplied to the Lambda function. + Input *string `locationName:"input" type:"string"` + + // The name, or ARN, of the Lambda function to schedule. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The timeout value, in seconds, after which the Lambda function is considered + // to be failed once it has started. This can be any integer from 1-300 (1s-5m). + // If no value is supplied, than a default value of 300s is assumed. + StartToCloseTimeout *string `locationName:"startToCloseTimeout" type:"string"` +} + +// String returns the string representation +func (s ScheduleLambdaFunctionDecisionAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ScheduleLambdaFunctionDecisionAttributes) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ScheduleLambdaFunctionDecisionAttributes) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ScheduleLambdaFunctionDecisionAttributes"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetControl sets the Control field's value. +func (s *ScheduleLambdaFunctionDecisionAttributes) SetControl(v string) *ScheduleLambdaFunctionDecisionAttributes { + s.Control = &v + return s +} + +// SetId sets the Id field's value. +func (s *ScheduleLambdaFunctionDecisionAttributes) SetId(v string) *ScheduleLambdaFunctionDecisionAttributes { + s.Id = &v + return s +} + +// SetInput sets the Input field's value. +func (s *ScheduleLambdaFunctionDecisionAttributes) SetInput(v string) *ScheduleLambdaFunctionDecisionAttributes { + s.Input = &v + return s +} + +// SetName sets the Name field's value. +func (s *ScheduleLambdaFunctionDecisionAttributes) SetName(v string) *ScheduleLambdaFunctionDecisionAttributes { + s.Name = &v + return s +} + +// SetStartToCloseTimeout sets the StartToCloseTimeout field's value. +func (s *ScheduleLambdaFunctionDecisionAttributes) SetStartToCloseTimeout(v string) *ScheduleLambdaFunctionDecisionAttributes { + s.StartToCloseTimeout = &v + return s +} + +// Provides the details of the ScheduleLambdaFunctionFailed event. It isn't +// set for other event types. +type ScheduleLambdaFunctionFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The cause of the failure. To help diagnose issues, use this information to + // trace back the chain of events leading up to this event. + // + // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it + // lacked sufficient permissions. For details and example IAM policies, see + // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) + // in the Amazon SWF Developer Guide. + // + // Cause is a required field + Cause *string `locationName:"cause" type:"string" required:"true" enum:"ScheduleLambdaFunctionFailedCause"` + + // The ID of the LambdaFunctionCompleted event corresponding to the decision + // that resulted in scheduling this Lambda task. To help diagnose issues, use + // this information to trace back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The ID provided in the ScheduleLambdaFunction decision that failed. + // + // Id is a required field + Id *string `locationName:"id" min:"1" type:"string" required:"true"` + + // The name of the Lambda function. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s ScheduleLambdaFunctionFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ScheduleLambdaFunctionFailedEventAttributes) GoString() string { + return s.String() +} + +// SetCause sets the Cause field's value. +func (s *ScheduleLambdaFunctionFailedEventAttributes) SetCause(v string) *ScheduleLambdaFunctionFailedEventAttributes { + s.Cause = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *ScheduleLambdaFunctionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *ScheduleLambdaFunctionFailedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetId sets the Id field's value. +func (s *ScheduleLambdaFunctionFailedEventAttributes) SetId(v string) *ScheduleLambdaFunctionFailedEventAttributes { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *ScheduleLambdaFunctionFailedEventAttributes) SetName(v string) *ScheduleLambdaFunctionFailedEventAttributes { + s.Name = &v + return s +} + +// Provides the details of the SignalExternalWorkflowExecution decision. +// +// Access Control +// +// You can use IAM policies to control this decision's access to Amazon SWF +// resources as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +type SignalExternalWorkflowExecutionDecisionAttributes struct { + _ struct{} `type:"structure"` + + // The data attached to the event that can be used by the decider in subsequent + // decision tasks. + Control *string `locationName:"control" type:"string"` + + // The input data to be provided with the signal. The target workflow execution + // uses the signal name and input data to process the signal. + Input *string `locationName:"input" type:"string"` + + // The runId of the workflow execution to be signaled. + RunId *string `locationName:"runId" type:"string"` + + // The name of the signal.The target workflow execution uses the signal name + // and input to process the signal. + // + // SignalName is a required field + SignalName *string `locationName:"signalName" min:"1" type:"string" required:"true"` + + // The workflowId of the workflow execution to be signaled. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s SignalExternalWorkflowExecutionDecisionAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SignalExternalWorkflowExecutionDecisionAttributes) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SignalExternalWorkflowExecutionDecisionAttributes) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SignalExternalWorkflowExecutionDecisionAttributes"} + if s.SignalName == nil { + invalidParams.Add(request.NewErrParamRequired("SignalName")) + } + if s.SignalName != nil && len(*s.SignalName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SignalName", 1)) + } + if s.WorkflowId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowId")) + } + if s.WorkflowId != nil && len(*s.WorkflowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetControl sets the Control field's value. +func (s *SignalExternalWorkflowExecutionDecisionAttributes) SetControl(v string) *SignalExternalWorkflowExecutionDecisionAttributes { + s.Control = &v + return s +} + +// SetInput sets the Input field's value. +func (s *SignalExternalWorkflowExecutionDecisionAttributes) SetInput(v string) *SignalExternalWorkflowExecutionDecisionAttributes { + s.Input = &v + return s +} + +// SetRunId sets the RunId field's value. +func (s *SignalExternalWorkflowExecutionDecisionAttributes) SetRunId(v string) *SignalExternalWorkflowExecutionDecisionAttributes { + s.RunId = &v + return s +} + +// SetSignalName sets the SignalName field's value. +func (s *SignalExternalWorkflowExecutionDecisionAttributes) SetSignalName(v string) *SignalExternalWorkflowExecutionDecisionAttributes { + s.SignalName = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *SignalExternalWorkflowExecutionDecisionAttributes) SetWorkflowId(v string) *SignalExternalWorkflowExecutionDecisionAttributes { + s.WorkflowId = &v + return s +} + +// Provides the details of the SignalExternalWorkflowExecutionFailed event. +type SignalExternalWorkflowExecutionFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The cause of the failure. This information is generated by the system and + // can be useful for diagnostic purposes. + // + // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it + // lacked sufficient permissions. For details and example IAM policies, see + // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) + // in the Amazon SWF Developer Guide. + // + // Cause is a required field + Cause *string `locationName:"cause" type:"string" required:"true" enum:"SignalExternalWorkflowExecutionFailedCause"` + + // The data attached to the event that the decider can use in subsequent workflow + // tasks. This data isn't sent to the workflow execution. + Control *string `locationName:"control" type:"string"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the SignalExternalWorkflowExecution decision for this signal. + // This information can be useful for diagnosing problems by tracing back the + // chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The ID of the SignalExternalWorkflowExecutionInitiated event corresponding + // to the SignalExternalWorkflowExecution decision to request this signal. This + // information can be useful for diagnosing problems by tracing back the chain + // of events leading up to this event. + // + // InitiatedEventId is a required field + InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` + + // The runId of the external workflow execution that the signal was being delivered + // to. + RunId *string `locationName:"runId" type:"string"` + + // The workflowId of the external workflow execution that the signal was being + // delivered to. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s SignalExternalWorkflowExecutionFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SignalExternalWorkflowExecutionFailedEventAttributes) GoString() string { + return s.String() +} + +// SetCause sets the Cause field's value. +func (s *SignalExternalWorkflowExecutionFailedEventAttributes) SetCause(v string) *SignalExternalWorkflowExecutionFailedEventAttributes { + s.Cause = &v + return s +} + +// SetControl sets the Control field's value. +func (s *SignalExternalWorkflowExecutionFailedEventAttributes) SetControl(v string) *SignalExternalWorkflowExecutionFailedEventAttributes { + s.Control = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *SignalExternalWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *SignalExternalWorkflowExecutionFailedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetInitiatedEventId sets the InitiatedEventId field's value. +func (s *SignalExternalWorkflowExecutionFailedEventAttributes) SetInitiatedEventId(v int64) *SignalExternalWorkflowExecutionFailedEventAttributes { + s.InitiatedEventId = &v + return s +} + +// SetRunId sets the RunId field's value. +func (s *SignalExternalWorkflowExecutionFailedEventAttributes) SetRunId(v string) *SignalExternalWorkflowExecutionFailedEventAttributes { + s.RunId = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *SignalExternalWorkflowExecutionFailedEventAttributes) SetWorkflowId(v string) *SignalExternalWorkflowExecutionFailedEventAttributes { + s.WorkflowId = &v + return s +} + +// Provides the details of the SignalExternalWorkflowExecutionInitiated event. +type SignalExternalWorkflowExecutionInitiatedEventAttributes struct { + _ struct{} `type:"structure"` + + // Data attached to the event that can be used by the decider in subsequent + // decision tasks. + Control *string `locationName:"control" type:"string"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the SignalExternalWorkflowExecution decision for this signal. + // This information can be useful for diagnosing problems by tracing back the + // chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The input provided to the signal. + Input *string `locationName:"input" type:"string"` + + // The runId of the external workflow execution to send the signal to. + RunId *string `locationName:"runId" type:"string"` + + // The name of the signal. + // + // SignalName is a required field + SignalName *string `locationName:"signalName" min:"1" type:"string" required:"true"` + + // The workflowId of the external workflow execution. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s SignalExternalWorkflowExecutionInitiatedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SignalExternalWorkflowExecutionInitiatedEventAttributes) GoString() string { + return s.String() +} + +// SetControl sets the Control field's value. +func (s *SignalExternalWorkflowExecutionInitiatedEventAttributes) SetControl(v string) *SignalExternalWorkflowExecutionInitiatedEventAttributes { + s.Control = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *SignalExternalWorkflowExecutionInitiatedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *SignalExternalWorkflowExecutionInitiatedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetInput sets the Input field's value. +func (s *SignalExternalWorkflowExecutionInitiatedEventAttributes) SetInput(v string) *SignalExternalWorkflowExecutionInitiatedEventAttributes { + s.Input = &v + return s +} + +// SetRunId sets the RunId field's value. +func (s *SignalExternalWorkflowExecutionInitiatedEventAttributes) SetRunId(v string) *SignalExternalWorkflowExecutionInitiatedEventAttributes { + s.RunId = &v + return s +} + +// SetSignalName sets the SignalName field's value. +func (s *SignalExternalWorkflowExecutionInitiatedEventAttributes) SetSignalName(v string) *SignalExternalWorkflowExecutionInitiatedEventAttributes { + s.SignalName = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *SignalExternalWorkflowExecutionInitiatedEventAttributes) SetWorkflowId(v string) *SignalExternalWorkflowExecutionInitiatedEventAttributes { + s.WorkflowId = &v + return s +} + +type SignalWorkflowExecutionInput struct { + _ struct{} `type:"structure"` + + // The name of the domain containing the workflow execution to signal. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // Data to attach to the WorkflowExecutionSignaled event in the target workflow + // execution's history. + Input *string `locationName:"input" type:"string"` + + // The runId of the workflow execution to signal. + RunId *string `locationName:"runId" type:"string"` + + // The name of the signal. This name must be meaningful to the target workflow. + // + // SignalName is a required field + SignalName *string `locationName:"signalName" min:"1" type:"string" required:"true"` + + // The workflowId of the workflow execution to signal. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s SignalWorkflowExecutionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SignalWorkflowExecutionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SignalWorkflowExecutionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SignalWorkflowExecutionInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.SignalName == nil { + invalidParams.Add(request.NewErrParamRequired("SignalName")) + } + if s.SignalName != nil && len(*s.SignalName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SignalName", 1)) + } + if s.WorkflowId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowId")) + } + if s.WorkflowId != nil && len(*s.WorkflowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomain sets the Domain field's value. +func (s *SignalWorkflowExecutionInput) SetDomain(v string) *SignalWorkflowExecutionInput { + s.Domain = &v + return s +} + +// SetInput sets the Input field's value. +func (s *SignalWorkflowExecutionInput) SetInput(v string) *SignalWorkflowExecutionInput { + s.Input = &v + return s +} + +// SetRunId sets the RunId field's value. +func (s *SignalWorkflowExecutionInput) SetRunId(v string) *SignalWorkflowExecutionInput { + s.RunId = &v + return s +} + +// SetSignalName sets the SignalName field's value. +func (s *SignalWorkflowExecutionInput) SetSignalName(v string) *SignalWorkflowExecutionInput { + s.SignalName = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *SignalWorkflowExecutionInput) SetWorkflowId(v string) *SignalWorkflowExecutionInput { + s.WorkflowId = &v + return s +} + +type SignalWorkflowExecutionOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s SignalWorkflowExecutionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SignalWorkflowExecutionOutput) GoString() string { + return s.String() +} + +// Provides the details of the StartChildWorkflowExecution decision. +// +// Access Control +// +// You can use IAM policies to control this decision's access to Amazon SWF +// resources as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * Constrain the following parameters by using a Condition element with +// the appropriate keys. +// +// tagList.member.N – The key is "swf:tagList.N" where N is the tag number from +// 0 to 4, inclusive. +// +// taskList – String constraint. The key is swf:taskList.name. +// +// workflowType.name – String constraint. The key is swf:workflowType.name. +// +// workflowType.version – String constraint. The key is swf:workflowType.version. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +type StartChildWorkflowExecutionDecisionAttributes struct { + _ struct{} `type:"structure"` + + // If set, specifies the policy to use for the child workflow executions if + // the workflow execution being started is terminated by calling the TerminateWorkflowExecution + // action explicitly or due to an expired timeout. This policy overrides the + // default child policy specified when registering the workflow type using RegisterWorkflowType. + // + // The supported child policies are: + // + // * TERMINATE – The child executions are terminated. + // + // * REQUEST_CANCEL – A request to cancel is attempted for each child execution + // by recording a WorkflowExecutionCancelRequested event in its history. + // It is up to the decider to take appropriate actions when it receives an + // execution history with this event. + // + // * ABANDON – No action is taken. The child executions continue to run. + // + // A child policy for this workflow execution must be specified either as a + // default for the workflow type or through this parameter. If neither this + // parameter is set nor a default child policy was specified at registration + // time then a fault is returned. + ChildPolicy *string `locationName:"childPolicy" type:"string" enum:"ChildPolicy"` + + // The data attached to the event that can be used by the decider in subsequent + // workflow tasks. This data isn't sent to the child workflow execution. + Control *string `locationName:"control" type:"string"` + + // The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout + // specified when registering the workflow type. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + // + // An execution start-to-close timeout for this workflow execution must be specified + // either as a default for the workflow type or through this parameter. If neither + // this parameter is set nor a default execution start-to-close timeout was + // specified at registration time then a fault is returned. + ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" type:"string"` + + // The input to be provided to the workflow execution. + Input *string `locationName:"input" type:"string"` + + // The IAM role attached to the child workflow execution. + LambdaRole *string `locationName:"lambdaRole" min:"1" type:"string"` + + // The list of tags to associate with the child workflow execution. A maximum + // of 5 tags can be specified. You can list workflow executions with a specific + // tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions + // and specifying a TagFilter. + TagList []*string `locationName:"tagList" type:"list"` + + // The name of the task list to be used for decision tasks of the child workflow + // execution. + // + // A task list for this workflow execution must be specified either as a default + // for the workflow type or through this parameter. If neither this parameter + // is set nor a default task list was specified at registration time then a + // fault is returned. + // + // The specified string must not start or end with whitespace. It must not contain + // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f + // | \u007f-\u009f). Also, it must not contain the literal string arn. + TaskList *TaskList `locationName:"taskList" type:"structure"` + + // A task priority that, if set, specifies the priority for a decision task + // of this workflow execution. This overrides the defaultTaskPriority specified + // when registering the workflow type. Valid values are integers that range + // from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). + // Higher numbers indicate higher priority. + // + // For more information about setting task priority, see Setting Task Priority + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html) + // in the Amazon SWF Developer Guide. + TaskPriority *string `locationName:"taskPriority" type:"string"` + + // Specifies the maximum duration of decision tasks for this workflow execution. + // This parameter overrides the defaultTaskStartToCloseTimout specified when + // registering the workflow type using RegisterWorkflowType. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + // + // A task start-to-close timeout for this workflow execution must be specified + // either as a default for the workflow type or through this parameter. If neither + // this parameter is set nor a default task start-to-close timeout was specified + // at registration time then a fault is returned. + TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string"` + + // The workflowId of the workflow execution. + // + // The specified string must not start or end with whitespace. It must not contain + // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f + // | \u007f-\u009f). Also, it must not contain the literal string arn. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` + + // The type of the workflow execution to be started. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s StartChildWorkflowExecutionDecisionAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartChildWorkflowExecutionDecisionAttributes) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartChildWorkflowExecutionDecisionAttributes) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartChildWorkflowExecutionDecisionAttributes"} + if s.LambdaRole != nil && len(*s.LambdaRole) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LambdaRole", 1)) + } + if s.WorkflowId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowId")) + } + if s.WorkflowId != nil && len(*s.WorkflowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowId", 1)) + } + if s.WorkflowType == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowType")) + } + if s.TaskList != nil { + if err := s.TaskList.Validate(); err != nil { + invalidParams.AddNested("TaskList", err.(request.ErrInvalidParams)) + } + } + if s.WorkflowType != nil { + if err := s.WorkflowType.Validate(); err != nil { + invalidParams.AddNested("WorkflowType", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChildPolicy sets the ChildPolicy field's value. +func (s *StartChildWorkflowExecutionDecisionAttributes) SetChildPolicy(v string) *StartChildWorkflowExecutionDecisionAttributes { + s.ChildPolicy = &v + return s +} + +// SetControl sets the Control field's value. +func (s *StartChildWorkflowExecutionDecisionAttributes) SetControl(v string) *StartChildWorkflowExecutionDecisionAttributes { + s.Control = &v + return s +} + +// SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value. +func (s *StartChildWorkflowExecutionDecisionAttributes) SetExecutionStartToCloseTimeout(v string) *StartChildWorkflowExecutionDecisionAttributes { + s.ExecutionStartToCloseTimeout = &v + return s +} + +// SetInput sets the Input field's value. +func (s *StartChildWorkflowExecutionDecisionAttributes) SetInput(v string) *StartChildWorkflowExecutionDecisionAttributes { + s.Input = &v + return s +} + +// SetLambdaRole sets the LambdaRole field's value. +func (s *StartChildWorkflowExecutionDecisionAttributes) SetLambdaRole(v string) *StartChildWorkflowExecutionDecisionAttributes { + s.LambdaRole = &v + return s +} + +// SetTagList sets the TagList field's value. +func (s *StartChildWorkflowExecutionDecisionAttributes) SetTagList(v []*string) *StartChildWorkflowExecutionDecisionAttributes { + s.TagList = v + return s +} + +// SetTaskList sets the TaskList field's value. +func (s *StartChildWorkflowExecutionDecisionAttributes) SetTaskList(v *TaskList) *StartChildWorkflowExecutionDecisionAttributes { + s.TaskList = v + return s +} + +// SetTaskPriority sets the TaskPriority field's value. +func (s *StartChildWorkflowExecutionDecisionAttributes) SetTaskPriority(v string) *StartChildWorkflowExecutionDecisionAttributes { + s.TaskPriority = &v + return s +} + +// SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value. +func (s *StartChildWorkflowExecutionDecisionAttributes) SetTaskStartToCloseTimeout(v string) *StartChildWorkflowExecutionDecisionAttributes { + s.TaskStartToCloseTimeout = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *StartChildWorkflowExecutionDecisionAttributes) SetWorkflowId(v string) *StartChildWorkflowExecutionDecisionAttributes { + s.WorkflowId = &v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *StartChildWorkflowExecutionDecisionAttributes) SetWorkflowType(v *WorkflowType) *StartChildWorkflowExecutionDecisionAttributes { + s.WorkflowType = v + return s +} + +// Provides the details of the StartChildWorkflowExecutionFailed event. +type StartChildWorkflowExecutionFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The cause of the failure. This information is generated by the system and + // can be useful for diagnostic purposes. + // + // When cause is set to OPERATION_NOT_PERMITTED, the decision fails because + // it lacks sufficient permissions. For details and example IAM policies, see + // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) + // in the Amazon SWF Developer Guide. + // + // Cause is a required field + Cause *string `locationName:"cause" type:"string" required:"true" enum:"StartChildWorkflowExecutionFailedCause"` + + // The data attached to the event that the decider can use in subsequent workflow + // tasks. This data isn't sent to the child workflow execution. + Control *string `locationName:"control" type:"string"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the StartChildWorkflowExecutionDecision to request this + // child workflow execution. This information can be useful for diagnosing problems + // by tracing back the chain of events. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of + // the StartChildWorkflowExecutionInitiated event that corresponds to the StartChildWorkflowExecutionDecision + // to start the workflow execution. You can use this information to diagnose + // problems by tracing back the chain of events leading up to this event. + // + // When the cause isn't WORKFLOW_ALREADY_RUNNING, initiatedEventId is set to + // 0 because the StartChildWorkflowExecutionInitiated event doesn't exist. + // + // InitiatedEventId is a required field + InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` + + // The workflowId of the child workflow execution. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` + + // The workflow type provided in the StartChildWorkflowExecutionDecision that + // failed. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s StartChildWorkflowExecutionFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartChildWorkflowExecutionFailedEventAttributes) GoString() string { + return s.String() +} + +// SetCause sets the Cause field's value. +func (s *StartChildWorkflowExecutionFailedEventAttributes) SetCause(v string) *StartChildWorkflowExecutionFailedEventAttributes { + s.Cause = &v + return s +} + +// SetControl sets the Control field's value. +func (s *StartChildWorkflowExecutionFailedEventAttributes) SetControl(v string) *StartChildWorkflowExecutionFailedEventAttributes { + s.Control = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *StartChildWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *StartChildWorkflowExecutionFailedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetInitiatedEventId sets the InitiatedEventId field's value. +func (s *StartChildWorkflowExecutionFailedEventAttributes) SetInitiatedEventId(v int64) *StartChildWorkflowExecutionFailedEventAttributes { + s.InitiatedEventId = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *StartChildWorkflowExecutionFailedEventAttributes) SetWorkflowId(v string) *StartChildWorkflowExecutionFailedEventAttributes { + s.WorkflowId = &v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *StartChildWorkflowExecutionFailedEventAttributes) SetWorkflowType(v *WorkflowType) *StartChildWorkflowExecutionFailedEventAttributes { + s.WorkflowType = v + return s +} + +// Provides the details of the StartChildWorkflowExecutionInitiated event. +type StartChildWorkflowExecutionInitiatedEventAttributes struct { + _ struct{} `type:"structure"` + + // The policy to use for the child workflow executions if this execution gets + // terminated by explicitly calling the TerminateWorkflowExecution action or + // due to an expired timeout. + // + // The supported child policies are: + // + // * TERMINATE – The child executions are terminated. + // + // * REQUEST_CANCEL – A request to cancel is attempted for each child execution + // by recording a WorkflowExecutionCancelRequested event in its history. + // It is up to the decider to take appropriate actions when it receives an + // execution history with this event. + // + // * ABANDON – No action is taken. The child executions continue to run. + // + // ChildPolicy is a required field + ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true" enum:"ChildPolicy"` + + // Data attached to the event that can be used by the decider in subsequent + // decision tasks. This data isn't sent to the activity. + Control *string `locationName:"control" type:"string"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the StartChildWorkflowExecutionDecision to request this + // child workflow execution. This information can be useful for diagnosing problems + // by tracing back the cause of events. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The maximum duration for the child workflow execution. If the workflow execution + // isn't closed within this duration, it is timed out and force-terminated. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" type:"string"` + + // The inputs provided to the child workflow execution. + Input *string `locationName:"input" type:"string"` + + // The IAM role to attach to the child workflow execution. + LambdaRole *string `locationName:"lambdaRole" min:"1" type:"string"` + + // The list of tags to associated with the child workflow execution. + TagList []*string `locationName:"tagList" type:"list"` + + // The name of the task list used for the decision tasks of the child workflow + // execution. + // + // TaskList is a required field + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` + + // The priority assigned for the decision tasks for this workflow execution. + // Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) + // to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. + // + // For more information about setting task priority, see Setting Task Priority + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html) + // in the Amazon SWF Developer Guide. + TaskPriority *string `locationName:"taskPriority" type:"string"` + + // The maximum duration allowed for the decision tasks for this workflow execution. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string"` + + // The workflowId of the child workflow execution. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` + + // The type of the child workflow execution. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s StartChildWorkflowExecutionInitiatedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartChildWorkflowExecutionInitiatedEventAttributes) GoString() string { + return s.String() +} + +// SetChildPolicy sets the ChildPolicy field's value. +func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetChildPolicy(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { + s.ChildPolicy = &v + return s +} + +// SetControl sets the Control field's value. +func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetControl(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { + s.Control = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *StartChildWorkflowExecutionInitiatedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value. +func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetExecutionStartToCloseTimeout(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { + s.ExecutionStartToCloseTimeout = &v + return s +} + +// SetInput sets the Input field's value. +func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetInput(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { + s.Input = &v + return s +} + +// SetLambdaRole sets the LambdaRole field's value. +func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetLambdaRole(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { + s.LambdaRole = &v + return s +} + +// SetTagList sets the TagList field's value. +func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetTagList(v []*string) *StartChildWorkflowExecutionInitiatedEventAttributes { + s.TagList = v + return s +} + +// SetTaskList sets the TaskList field's value. +func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetTaskList(v *TaskList) *StartChildWorkflowExecutionInitiatedEventAttributes { + s.TaskList = v + return s +} + +// SetTaskPriority sets the TaskPriority field's value. +func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetTaskPriority(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { + s.TaskPriority = &v + return s +} + +// SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value. +func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetTaskStartToCloseTimeout(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { + s.TaskStartToCloseTimeout = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetWorkflowId(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { + s.WorkflowId = &v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetWorkflowType(v *WorkflowType) *StartChildWorkflowExecutionInitiatedEventAttributes { + s.WorkflowType = v + return s +} + +// Provides the details of the StartLambdaFunctionFailed event. It isn't set +// for other event types. +type StartLambdaFunctionFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The cause of the failure. To help diagnose issues, use this information to + // trace back the chain of events leading up to this event. + // + // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because the + // IAM role attached to the execution lacked sufficient permissions. For details + // and example IAM policies, see Lambda Tasks (http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html) + // in the Amazon SWF Developer Guide. + Cause *string `locationName:"cause" type:"string" enum:"StartLambdaFunctionFailedCause"` + + // A description that can help diagnose the cause of the fault. + Message *string `locationName:"message" type:"string"` + + // The ID of the ActivityTaskScheduled event that was recorded when this activity + // task was scheduled. To help diagnose issues, use this information to trace + // back the chain of events leading up to this event. + ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long"` +} + +// String returns the string representation +func (s StartLambdaFunctionFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartLambdaFunctionFailedEventAttributes) GoString() string { + return s.String() +} + +// SetCause sets the Cause field's value. +func (s *StartLambdaFunctionFailedEventAttributes) SetCause(v string) *StartLambdaFunctionFailedEventAttributes { + s.Cause = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *StartLambdaFunctionFailedEventAttributes) SetMessage(v string) *StartLambdaFunctionFailedEventAttributes { + s.Message = &v + return s +} + +// SetScheduledEventId sets the ScheduledEventId field's value. +func (s *StartLambdaFunctionFailedEventAttributes) SetScheduledEventId(v int64) *StartLambdaFunctionFailedEventAttributes { + s.ScheduledEventId = &v + return s +} + +// Provides the details of the StartTimer decision. +// +// Access Control +// +// You can use IAM policies to control this decision's access to Amazon SWF +// resources as follows: +// +// * Use a Resource element with the domain name to limit the action to only +// specified domains. +// +// * Use an Action element to allow or deny permission to call this action. +// +// * You cannot use an IAM policy to constrain this action's parameters. +// +// If the caller doesn't have sufficient permissions to invoke the action, or +// the parameter values fall outside the specified constraints, the action fails. +// The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. +// For details and example IAM policies, see Using IAM to Manage Access to Amazon +// SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) +// in the Amazon SWF Developer Guide. +type StartTimerDecisionAttributes struct { + _ struct{} `type:"structure"` + + // The data attached to the event that can be used by the decider in subsequent + // workflow tasks. + Control *string `locationName:"control" type:"string"` + + // The duration to wait before firing the timer. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. + // + // StartToFireTimeout is a required field + StartToFireTimeout *string `locationName:"startToFireTimeout" min:"1" type:"string" required:"true"` + + // The unique ID of the timer. + // + // The specified string must not start or end with whitespace. It must not contain + // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f + // | \u007f-\u009f). Also, it must not contain the literal string arn. + // + // TimerId is a required field + TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s StartTimerDecisionAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartTimerDecisionAttributes) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartTimerDecisionAttributes) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartTimerDecisionAttributes"} + if s.StartToFireTimeout == nil { + invalidParams.Add(request.NewErrParamRequired("StartToFireTimeout")) + } + if s.StartToFireTimeout != nil && len(*s.StartToFireTimeout) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StartToFireTimeout", 1)) + } + if s.TimerId == nil { + invalidParams.Add(request.NewErrParamRequired("TimerId")) + } + if s.TimerId != nil && len(*s.TimerId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TimerId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetControl sets the Control field's value. +func (s *StartTimerDecisionAttributes) SetControl(v string) *StartTimerDecisionAttributes { + s.Control = &v + return s +} + +// SetStartToFireTimeout sets the StartToFireTimeout field's value. +func (s *StartTimerDecisionAttributes) SetStartToFireTimeout(v string) *StartTimerDecisionAttributes { + s.StartToFireTimeout = &v + return s +} + +// SetTimerId sets the TimerId field's value. +func (s *StartTimerDecisionAttributes) SetTimerId(v string) *StartTimerDecisionAttributes { + s.TimerId = &v + return s +} + +// Provides the details of the StartTimerFailed event. +type StartTimerFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The cause of the failure. This information is generated by the system and + // can be useful for diagnostic purposes. + // + // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it + // lacked sufficient permissions. For details and example IAM policies, see + // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) + // in the Amazon SWF Developer Guide. + // + // Cause is a required field + Cause *string `locationName:"cause" type:"string" required:"true" enum:"StartTimerFailedCause"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the StartTimer decision for this activity task. This information + // can be useful for diagnosing problems by tracing back the chain of events + // leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The timerId provided in the StartTimer decision that failed. + // + // TimerId is a required field + TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s StartTimerFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartTimerFailedEventAttributes) GoString() string { + return s.String() +} + +// SetCause sets the Cause field's value. +func (s *StartTimerFailedEventAttributes) SetCause(v string) *StartTimerFailedEventAttributes { + s.Cause = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *StartTimerFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *StartTimerFailedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetTimerId sets the TimerId field's value. +func (s *StartTimerFailedEventAttributes) SetTimerId(v string) *StartTimerFailedEventAttributes { + s.TimerId = &v + return s +} + +type StartWorkflowExecutionInput struct { + _ struct{} `type:"structure"` + + // If set, specifies the policy to use for the child workflow executions of + // this workflow execution if it is terminated, by calling the TerminateWorkflowExecution + // action explicitly or due to an expired timeout. This policy overrides the + // default child policy specified when registering the workflow type using RegisterWorkflowType. + // + // The supported child policies are: + // + // * TERMINATE – The child executions are terminated. + // + // * REQUEST_CANCEL – A request to cancel is attempted for each child execution + // by recording a WorkflowExecutionCancelRequested event in its history. + // It is up to the decider to take appropriate actions when it receives an + // execution history with this event. + // + // * ABANDON – No action is taken. The child executions continue to run. + // + // A child policy for this workflow execution must be specified either as a + // default for the workflow type or through this parameter. If neither this + // parameter is set nor a default child policy was specified at registration + // time then a fault is returned. + ChildPolicy *string `locationName:"childPolicy" type:"string" enum:"ChildPolicy"` + + // The name of the domain in which the workflow execution is created. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout + // specified when registering the workflow type. + // + // The duration is specified in seconds; an integer greater than or equal to + // 0. Exceeding this limit causes the workflow execution to time out. Unlike + // some of the other timeout parameters in Amazon SWF, you cannot specify a + // value of "NONE" for this timeout; there is a one-year max limit on the time + // that a workflow execution can run. + // + // An execution start-to-close timeout must be specified either through this + // parameter or as a default when the workflow type is registered. If neither + // this parameter nor a default execution start-to-close timeout is specified, + // a fault is returned. + ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" type:"string"` + + // The input for the workflow execution. This is a free form string which should + // be meaningful to the workflow you are starting. This input is made available + // to the new workflow execution in the WorkflowExecutionStarted history event. + Input *string `locationName:"input" type:"string"` + + // The IAM role to attach to this workflow execution. + // + // Executions of this workflow type need IAM roles to invoke Lambda functions. + // If you don't attach an IAM role, any attempt to schedule a Lambda task fails. + // This results in a ScheduleLambdaFunctionFailed history event. For more information, + // see http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html) + // in the Amazon SWF Developer Guide. + LambdaRole *string `locationName:"lambdaRole" min:"1" type:"string"` + + // The list of tags to associate with the workflow execution. You can specify + // a maximum of 5 tags. You can list workflow executions with a specific tag + // by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and + // specifying a TagFilter. + TagList []*string `locationName:"tagList" type:"list"` + + // The task list to use for the decision tasks generated for this workflow execution. + // This overrides the defaultTaskList specified when registering the workflow + // type. + // + // A task list for this workflow execution must be specified either as a default + // for the workflow type or through this parameter. If neither this parameter + // is set nor a default task list was specified at registration time then a + // fault is returned. + // + // The specified string must not start or end with whitespace. It must not contain + // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f + // | \u007f-\u009f). Also, it must not contain the literal string arn. + TaskList *TaskList `locationName:"taskList" type:"structure"` + + // The task priority to use for this workflow execution. This overrides any + // default priority that was assigned when the workflow type was registered. + // If not set, then the default task priority for the workflow type is used. + // Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) + // to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. + // + // For more information about setting task priority, see Setting Task Priority + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html) + // in the Amazon SWF Developer Guide. + TaskPriority *string `locationName:"taskPriority" type:"string"` + + // Specifies the maximum duration of decision tasks for this workflow execution. + // This parameter overrides the defaultTaskStartToCloseTimout specified when + // registering the workflow type using RegisterWorkflowType. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + // + // A task start-to-close timeout for this workflow execution must be specified + // either as a default for the workflow type or through this parameter. If neither + // this parameter is set nor a default task start-to-close timeout was specified + // at registration time then a fault is returned. + TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string"` + + // The user defined identifier associated with the workflow execution. You can + // use this to associate a custom identifier with the workflow execution. You + // may specify the same identifier if a workflow execution is logically a restart + // of a previous execution. You cannot have two open workflow executions with + // the same workflowId at the same time. + // + // The specified string must not start or end with whitespace. It must not contain + // a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f + // | \u007f-\u009f). Also, it must not contain the literal string arn. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` + + // The type of the workflow to start. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s StartWorkflowExecutionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartWorkflowExecutionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartWorkflowExecutionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartWorkflowExecutionInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.LambdaRole != nil && len(*s.LambdaRole) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LambdaRole", 1)) + } + if s.WorkflowId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowId")) + } + if s.WorkflowId != nil && len(*s.WorkflowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowId", 1)) + } + if s.WorkflowType == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowType")) + } + if s.TaskList != nil { + if err := s.TaskList.Validate(); err != nil { + invalidParams.AddNested("TaskList", err.(request.ErrInvalidParams)) + } + } + if s.WorkflowType != nil { + if err := s.WorkflowType.Validate(); err != nil { + invalidParams.AddNested("WorkflowType", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChildPolicy sets the ChildPolicy field's value. +func (s *StartWorkflowExecutionInput) SetChildPolicy(v string) *StartWorkflowExecutionInput { + s.ChildPolicy = &v + return s +} + +// SetDomain sets the Domain field's value. +func (s *StartWorkflowExecutionInput) SetDomain(v string) *StartWorkflowExecutionInput { + s.Domain = &v + return s +} + +// SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value. +func (s *StartWorkflowExecutionInput) SetExecutionStartToCloseTimeout(v string) *StartWorkflowExecutionInput { + s.ExecutionStartToCloseTimeout = &v + return s +} + +// SetInput sets the Input field's value. +func (s *StartWorkflowExecutionInput) SetInput(v string) *StartWorkflowExecutionInput { + s.Input = &v + return s +} + +// SetLambdaRole sets the LambdaRole field's value. +func (s *StartWorkflowExecutionInput) SetLambdaRole(v string) *StartWorkflowExecutionInput { + s.LambdaRole = &v + return s +} + +// SetTagList sets the TagList field's value. +func (s *StartWorkflowExecutionInput) SetTagList(v []*string) *StartWorkflowExecutionInput { + s.TagList = v + return s +} + +// SetTaskList sets the TaskList field's value. +func (s *StartWorkflowExecutionInput) SetTaskList(v *TaskList) *StartWorkflowExecutionInput { + s.TaskList = v + return s +} + +// SetTaskPriority sets the TaskPriority field's value. +func (s *StartWorkflowExecutionInput) SetTaskPriority(v string) *StartWorkflowExecutionInput { + s.TaskPriority = &v + return s +} + +// SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value. +func (s *StartWorkflowExecutionInput) SetTaskStartToCloseTimeout(v string) *StartWorkflowExecutionInput { + s.TaskStartToCloseTimeout = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *StartWorkflowExecutionInput) SetWorkflowId(v string) *StartWorkflowExecutionInput { + s.WorkflowId = &v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *StartWorkflowExecutionInput) SetWorkflowType(v *WorkflowType) *StartWorkflowExecutionInput { + s.WorkflowType = v + return s +} + +// Specifies the runId of a workflow execution. +type StartWorkflowExecutionOutput struct { + _ struct{} `type:"structure"` + + // The runId of a workflow execution. This ID is generated by the service and + // can be used to uniquely identify the workflow execution within a domain. + RunId *string `locationName:"runId" min:"1" type:"string"` +} + +// String returns the string representation +func (s StartWorkflowExecutionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartWorkflowExecutionOutput) GoString() string { + return s.String() +} + +// SetRunId sets the RunId field's value. +func (s *StartWorkflowExecutionOutput) SetRunId(v string) *StartWorkflowExecutionOutput { + s.RunId = &v + return s +} + +// Used to filter the workflow executions in visibility APIs based on a tag. +type TagFilter struct { + _ struct{} `type:"structure"` + + // Specifies the tag that must be associated with the execution for it to meet + // the filter criteria. + // + // Tag is a required field + Tag *string `locationName:"tag" type:"string" required:"true"` +} + +// String returns the string representation +func (s TagFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TagFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TagFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TagFilter"} + if s.Tag == nil { + invalidParams.Add(request.NewErrParamRequired("Tag")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTag sets the Tag field's value. +func (s *TagFilter) SetTag(v string) *TagFilter { + s.Tag = &v + return s +} + +// Represents a task list. +type TaskList struct { + _ struct{} `type:"structure"` + + // The name of the task list. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s TaskList) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TaskList) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TaskList) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TaskList"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *TaskList) SetName(v string) *TaskList { + s.Name = &v + return s +} + +type TerminateWorkflowExecutionInput struct { + _ struct{} `type:"structure"` + + // If set, specifies the policy to use for the child workflow executions of + // the workflow execution being terminated. This policy overrides the child + // policy specified for the workflow execution at registration time or when + // starting the execution. + // + // The supported child policies are: + // + // * TERMINATE – The child executions are terminated. + // + // * REQUEST_CANCEL – A request to cancel is attempted for each child execution + // by recording a WorkflowExecutionCancelRequested event in its history. + // It is up to the decider to take appropriate actions when it receives an + // execution history with this event. + // + // * ABANDON – No action is taken. The child executions continue to run. + // + // A child policy for this workflow execution must be specified either as a + // default for the workflow type or through this parameter. If neither this + // parameter is set nor a default child policy was specified at registration + // time then a fault is returned. + ChildPolicy *string `locationName:"childPolicy" type:"string" enum:"ChildPolicy"` + + // Details for terminating the workflow execution. + Details *string `locationName:"details" type:"string"` + + // The domain of the workflow execution to terminate. + // + // Domain is a required field + Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` + + // A descriptive reason for terminating the workflow execution. + Reason *string `locationName:"reason" type:"string"` + + // The runId of the workflow execution to terminate. + RunId *string `locationName:"runId" type:"string"` + + // The workflowId of the workflow execution to terminate. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s TerminateWorkflowExecutionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TerminateWorkflowExecutionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TerminateWorkflowExecutionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TerminateWorkflowExecutionInput"} + if s.Domain == nil { + invalidParams.Add(request.NewErrParamRequired("Domain")) + } + if s.Domain != nil && len(*s.Domain) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Domain", 1)) + } + if s.WorkflowId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowId")) + } + if s.WorkflowId != nil && len(*s.WorkflowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChildPolicy sets the ChildPolicy field's value. +func (s *TerminateWorkflowExecutionInput) SetChildPolicy(v string) *TerminateWorkflowExecutionInput { + s.ChildPolicy = &v + return s +} + +// SetDetails sets the Details field's value. +func (s *TerminateWorkflowExecutionInput) SetDetails(v string) *TerminateWorkflowExecutionInput { + s.Details = &v + return s +} + +// SetDomain sets the Domain field's value. +func (s *TerminateWorkflowExecutionInput) SetDomain(v string) *TerminateWorkflowExecutionInput { + s.Domain = &v + return s +} + +// SetReason sets the Reason field's value. +func (s *TerminateWorkflowExecutionInput) SetReason(v string) *TerminateWorkflowExecutionInput { + s.Reason = &v + return s +} + +// SetRunId sets the RunId field's value. +func (s *TerminateWorkflowExecutionInput) SetRunId(v string) *TerminateWorkflowExecutionInput { + s.RunId = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *TerminateWorkflowExecutionInput) SetWorkflowId(v string) *TerminateWorkflowExecutionInput { + s.WorkflowId = &v + return s +} + +type TerminateWorkflowExecutionOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s TerminateWorkflowExecutionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TerminateWorkflowExecutionOutput) GoString() string { + return s.String() +} + +// Provides the details of the TimerCanceled event. +type TimerCanceledEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the CancelTimer decision to cancel this timer. This information + // can be useful for diagnosing problems by tracing back the chain of events + // leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The ID of the TimerStarted event that was recorded when this timer was started. + // This information can be useful for diagnosing problems by tracing back the + // chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` + + // The unique ID of the timer that was canceled. + // + // TimerId is a required field + TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s TimerCanceledEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TimerCanceledEventAttributes) GoString() string { + return s.String() +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *TimerCanceledEventAttributes) SetDecisionTaskCompletedEventId(v int64) *TimerCanceledEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *TimerCanceledEventAttributes) SetStartedEventId(v int64) *TimerCanceledEventAttributes { + s.StartedEventId = &v + return s +} + +// SetTimerId sets the TimerId field's value. +func (s *TimerCanceledEventAttributes) SetTimerId(v string) *TimerCanceledEventAttributes { + s.TimerId = &v + return s +} + +// Provides the details of the TimerFired event. +type TimerFiredEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the TimerStarted event that was recorded when this timer was started. + // This information can be useful for diagnosing problems by tracing back the + // chain of events leading up to this event. + // + // StartedEventId is a required field + StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` + + // The unique ID of the timer that fired. + // + // TimerId is a required field + TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s TimerFiredEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TimerFiredEventAttributes) GoString() string { + return s.String() +} + +// SetStartedEventId sets the StartedEventId field's value. +func (s *TimerFiredEventAttributes) SetStartedEventId(v int64) *TimerFiredEventAttributes { + s.StartedEventId = &v + return s +} + +// SetTimerId sets the TimerId field's value. +func (s *TimerFiredEventAttributes) SetTimerId(v string) *TimerFiredEventAttributes { + s.TimerId = &v + return s +} + +// Provides the details of the TimerStarted event. +type TimerStartedEventAttributes struct { + _ struct{} `type:"structure"` + + // Data attached to the event that can be used by the decider in subsequent + // workflow tasks. + Control *string `locationName:"control" type:"string"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the StartTimer decision for this activity task. This information + // can be useful for diagnosing problems by tracing back the chain of events + // leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The duration of time after which the timer fires. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. + // + // StartToFireTimeout is a required field + StartToFireTimeout *string `locationName:"startToFireTimeout" min:"1" type:"string" required:"true"` + + // The unique ID of the timer that was started. + // + // TimerId is a required field + TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s TimerStartedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TimerStartedEventAttributes) GoString() string { + return s.String() +} + +// SetControl sets the Control field's value. +func (s *TimerStartedEventAttributes) SetControl(v string) *TimerStartedEventAttributes { + s.Control = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *TimerStartedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *TimerStartedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetStartToFireTimeout sets the StartToFireTimeout field's value. +func (s *TimerStartedEventAttributes) SetStartToFireTimeout(v string) *TimerStartedEventAttributes { + s.StartToFireTimeout = &v + return s +} + +// SetTimerId sets the TimerId field's value. +func (s *TimerStartedEventAttributes) SetTimerId(v string) *TimerStartedEventAttributes { + s.TimerId = &v + return s +} + +// Represents a workflow execution. +type WorkflowExecution struct { + _ struct{} `type:"structure"` + + // A system-generated unique identifier for the workflow execution. + // + // RunId is a required field + RunId *string `locationName:"runId" min:"1" type:"string" required:"true"` + + // The user defined identifier associated with the workflow execution. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s WorkflowExecution) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecution) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *WorkflowExecution) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WorkflowExecution"} + if s.RunId == nil { + invalidParams.Add(request.NewErrParamRequired("RunId")) + } + if s.RunId != nil && len(*s.RunId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RunId", 1)) + } + if s.WorkflowId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowId")) + } + if s.WorkflowId != nil && len(*s.WorkflowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRunId sets the RunId field's value. +func (s *WorkflowExecution) SetRunId(v string) *WorkflowExecution { + s.RunId = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *WorkflowExecution) SetWorkflowId(v string) *WorkflowExecution { + s.WorkflowId = &v + return s +} + +// Provides the details of the WorkflowExecutionCancelRequested event. +type WorkflowExecutionCancelRequestedEventAttributes struct { + _ struct{} `type:"structure"` + + // If set, indicates that the request to cancel the workflow execution was automatically + // generated, and specifies the cause. This happens if the parent workflow execution + // times out or is terminated, and the child policy is set to cancel child executions. + Cause *string `locationName:"cause" type:"string" enum:"WorkflowExecutionCancelRequestedCause"` + + // The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding + // to the RequestCancelExternalWorkflowExecution decision to cancel this workflow + // execution.The source event with this ID can be found in the history of the + // source workflow execution. This information can be useful for diagnosing + // problems by tracing back the chain of events leading up to this event. + ExternalInitiatedEventId *int64 `locationName:"externalInitiatedEventId" type:"long"` + + // The external workflow execution for which the cancellation was requested. + ExternalWorkflowExecution *WorkflowExecution `locationName:"externalWorkflowExecution" type:"structure"` +} + +// String returns the string representation +func (s WorkflowExecutionCancelRequestedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionCancelRequestedEventAttributes) GoString() string { + return s.String() +} + +// SetCause sets the Cause field's value. +func (s *WorkflowExecutionCancelRequestedEventAttributes) SetCause(v string) *WorkflowExecutionCancelRequestedEventAttributes { + s.Cause = &v + return s +} + +// SetExternalInitiatedEventId sets the ExternalInitiatedEventId field's value. +func (s *WorkflowExecutionCancelRequestedEventAttributes) SetExternalInitiatedEventId(v int64) *WorkflowExecutionCancelRequestedEventAttributes { + s.ExternalInitiatedEventId = &v + return s +} + +// SetExternalWorkflowExecution sets the ExternalWorkflowExecution field's value. +func (s *WorkflowExecutionCancelRequestedEventAttributes) SetExternalWorkflowExecution(v *WorkflowExecution) *WorkflowExecutionCancelRequestedEventAttributes { + s.ExternalWorkflowExecution = v + return s +} + +// Provides the details of the WorkflowExecutionCanceled event. +type WorkflowExecutionCanceledEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the CancelWorkflowExecution decision for this cancellation + // request. This information can be useful for diagnosing problems by tracing + // back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The details of the cancellation. + Details *string `locationName:"details" type:"string"` +} + +// String returns the string representation +func (s WorkflowExecutionCanceledEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionCanceledEventAttributes) GoString() string { + return s.String() +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *WorkflowExecutionCanceledEventAttributes) SetDecisionTaskCompletedEventId(v int64) *WorkflowExecutionCanceledEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetDetails sets the Details field's value. +func (s *WorkflowExecutionCanceledEventAttributes) SetDetails(v string) *WorkflowExecutionCanceledEventAttributes { + s.Details = &v + return s +} + +// Provides the details of the WorkflowExecutionCompleted event. +type WorkflowExecutionCompletedEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the CompleteWorkflowExecution decision to complete this + // execution. This information can be useful for diagnosing problems by tracing + // back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The result produced by the workflow execution upon successful completion. + Result *string `locationName:"result" type:"string"` +} + +// String returns the string representation +func (s WorkflowExecutionCompletedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionCompletedEventAttributes) GoString() string { + return s.String() +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *WorkflowExecutionCompletedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *WorkflowExecutionCompletedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetResult sets the Result field's value. +func (s *WorkflowExecutionCompletedEventAttributes) SetResult(v string) *WorkflowExecutionCompletedEventAttributes { + s.Result = &v + return s +} + +// The configuration settings for a workflow execution including timeout values, +// tasklist etc. These configuration settings are determined from the defaults +// specified when registering the workflow type and those specified when starting +// the workflow execution. +type WorkflowExecutionConfiguration struct { + _ struct{} `type:"structure"` + + // The policy to use for the child workflow executions if this workflow execution + // is terminated, by calling the TerminateWorkflowExecution action explicitly + // or due to an expired timeout. + // + // The supported child policies are: + // + // * TERMINATE – The child executions are terminated. + // + // * REQUEST_CANCEL – A request to cancel is attempted for each child execution + // by recording a WorkflowExecutionCancelRequested event in its history. + // It is up to the decider to take appropriate actions when it receives an + // execution history with this event. + // + // * ABANDON – No action is taken. The child executions continue to run. + // + // ChildPolicy is a required field + ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true" enum:"ChildPolicy"` + + // The total duration for this workflow execution. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + // + // ExecutionStartToCloseTimeout is a required field + ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" min:"1" type:"string" required:"true"` + + // The IAM role attached to the child workflow execution. + LambdaRole *string `locationName:"lambdaRole" min:"1" type:"string"` + + // The task list used for the decision tasks generated for this workflow execution. + // + // TaskList is a required field + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` + + // The priority assigned to decision tasks for this workflow execution. Valid + // values are integers that range from Java's Integer.MIN_VALUE (-2147483648) + // to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. + // + // For more information about setting task priority, see Setting Task Priority + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html) + // in the Amazon SWF Developer Guide. + TaskPriority *string `locationName:"taskPriority" type:"string"` + + // The maximum duration allowed for decision tasks for this workflow execution. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + // + // TaskStartToCloseTimeout is a required field + TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s WorkflowExecutionConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionConfiguration) GoString() string { + return s.String() +} + +// SetChildPolicy sets the ChildPolicy field's value. +func (s *WorkflowExecutionConfiguration) SetChildPolicy(v string) *WorkflowExecutionConfiguration { + s.ChildPolicy = &v + return s +} + +// SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value. +func (s *WorkflowExecutionConfiguration) SetExecutionStartToCloseTimeout(v string) *WorkflowExecutionConfiguration { + s.ExecutionStartToCloseTimeout = &v + return s +} + +// SetLambdaRole sets the LambdaRole field's value. +func (s *WorkflowExecutionConfiguration) SetLambdaRole(v string) *WorkflowExecutionConfiguration { + s.LambdaRole = &v + return s +} + +// SetTaskList sets the TaskList field's value. +func (s *WorkflowExecutionConfiguration) SetTaskList(v *TaskList) *WorkflowExecutionConfiguration { + s.TaskList = v + return s +} + +// SetTaskPriority sets the TaskPriority field's value. +func (s *WorkflowExecutionConfiguration) SetTaskPriority(v string) *WorkflowExecutionConfiguration { + s.TaskPriority = &v + return s +} + +// SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value. +func (s *WorkflowExecutionConfiguration) SetTaskStartToCloseTimeout(v string) *WorkflowExecutionConfiguration { + s.TaskStartToCloseTimeout = &v + return s +} + +// Provides the details of the WorkflowExecutionContinuedAsNew event. +type WorkflowExecutionContinuedAsNewEventAttributes struct { + _ struct{} `type:"structure"` + + // The policy to use for the child workflow executions of the new execution + // if it is terminated by calling the TerminateWorkflowExecution action explicitly + // or due to an expired timeout. + // + // The supported child policies are: + // + // * TERMINATE – The child executions are terminated. + // + // * REQUEST_CANCEL – A request to cancel is attempted for each child execution + // by recording a WorkflowExecutionCancelRequested event in its history. + // It is up to the decider to take appropriate actions when it receives an + // execution history with this event. + // + // * ABANDON – No action is taken. The child executions continue to run. + // + // ChildPolicy is a required field + ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true" enum:"ChildPolicy"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the ContinueAsNewWorkflowExecution decision that started + // this execution. This information can be useful for diagnosing problems by + // tracing back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The total duration allowed for the new workflow execution. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" type:"string"` + + // The input provided to the new workflow execution. + Input *string `locationName:"input" type:"string"` + + // The IAM role to attach to the new (continued) workflow execution. + LambdaRole *string `locationName:"lambdaRole" min:"1" type:"string"` + + // The runId of the new workflow execution. + // + // NewExecutionRunId is a required field + NewExecutionRunId *string `locationName:"newExecutionRunId" min:"1" type:"string" required:"true"` + + // The list of tags associated with the new workflow execution. + TagList []*string `locationName:"tagList" type:"list"` + + // The task list to use for the decisions of the new (continued) workflow execution. + // + // TaskList is a required field + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` + + // The priority of the task to use for the decisions of the new (continued) + // workflow execution. + TaskPriority *string `locationName:"taskPriority" type:"string"` + + // The maximum duration of decision tasks for the new workflow execution. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string"` + + // The workflow type of this execution. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s WorkflowExecutionContinuedAsNewEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionContinuedAsNewEventAttributes) GoString() string { + return s.String() +} + +// SetChildPolicy sets the ChildPolicy field's value. +func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetChildPolicy(v string) *WorkflowExecutionContinuedAsNewEventAttributes { + s.ChildPolicy = &v + return s +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetDecisionTaskCompletedEventId(v int64) *WorkflowExecutionContinuedAsNewEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value. +func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetExecutionStartToCloseTimeout(v string) *WorkflowExecutionContinuedAsNewEventAttributes { + s.ExecutionStartToCloseTimeout = &v + return s +} + +// SetInput sets the Input field's value. +func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetInput(v string) *WorkflowExecutionContinuedAsNewEventAttributes { + s.Input = &v + return s +} + +// SetLambdaRole sets the LambdaRole field's value. +func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetLambdaRole(v string) *WorkflowExecutionContinuedAsNewEventAttributes { + s.LambdaRole = &v + return s +} + +// SetNewExecutionRunId sets the NewExecutionRunId field's value. +func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetNewExecutionRunId(v string) *WorkflowExecutionContinuedAsNewEventAttributes { + s.NewExecutionRunId = &v + return s +} + +// SetTagList sets the TagList field's value. +func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetTagList(v []*string) *WorkflowExecutionContinuedAsNewEventAttributes { + s.TagList = v + return s +} + +// SetTaskList sets the TaskList field's value. +func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetTaskList(v *TaskList) *WorkflowExecutionContinuedAsNewEventAttributes { + s.TaskList = v + return s +} + +// SetTaskPriority sets the TaskPriority field's value. +func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetTaskPriority(v string) *WorkflowExecutionContinuedAsNewEventAttributes { + s.TaskPriority = &v + return s +} + +// SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value. +func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetTaskStartToCloseTimeout(v string) *WorkflowExecutionContinuedAsNewEventAttributes { + s.TaskStartToCloseTimeout = &v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetWorkflowType(v *WorkflowType) *WorkflowExecutionContinuedAsNewEventAttributes { + s.WorkflowType = v + return s +} + +// Contains the count of workflow executions returned from CountOpenWorkflowExecutions +// or CountClosedWorkflowExecutions +type WorkflowExecutionCount struct { + _ struct{} `type:"structure"` + + // The number of workflow executions. + // + // Count is a required field + Count *int64 `locationName:"count" type:"integer" required:"true"` + + // If set to true, indicates that the actual count was more than the maximum + // supported by this API and the count returned is the truncated value. + Truncated *bool `locationName:"truncated" type:"boolean"` +} + +// String returns the string representation +func (s WorkflowExecutionCount) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionCount) GoString() string { + return s.String() +} + +// SetCount sets the Count field's value. +func (s *WorkflowExecutionCount) SetCount(v int64) *WorkflowExecutionCount { + s.Count = &v + return s +} + +// SetTruncated sets the Truncated field's value. +func (s *WorkflowExecutionCount) SetTruncated(v bool) *WorkflowExecutionCount { + s.Truncated = &v + return s +} + +// Provides the details of the WorkflowExecutionFailed event. +type WorkflowExecutionFailedEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the DecisionTaskCompleted event corresponding to the decision task + // that resulted in the FailWorkflowExecution decision to fail this execution. + // This information can be useful for diagnosing problems by tracing back the + // chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field + DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` + + // The details of the failure. + Details *string `locationName:"details" type:"string"` + + // The descriptive reason provided for the failure. + Reason *string `locationName:"reason" type:"string"` +} + +// String returns the string representation +func (s WorkflowExecutionFailedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionFailedEventAttributes) GoString() string { + return s.String() +} + +// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. +func (s *WorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *WorkflowExecutionFailedEventAttributes { + s.DecisionTaskCompletedEventId = &v + return s +} + +// SetDetails sets the Details field's value. +func (s *WorkflowExecutionFailedEventAttributes) SetDetails(v string) *WorkflowExecutionFailedEventAttributes { + s.Details = &v + return s +} + +// SetReason sets the Reason field's value. +func (s *WorkflowExecutionFailedEventAttributes) SetReason(v string) *WorkflowExecutionFailedEventAttributes { + s.Reason = &v + return s +} + +// Used to filter the workflow executions in visibility APIs by their workflowId. +type WorkflowExecutionFilter struct { + _ struct{} `type:"structure"` + + // The workflowId to pass of match the criteria of this filter. + // + // WorkflowId is a required field + WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s WorkflowExecutionFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *WorkflowExecutionFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WorkflowExecutionFilter"} + if s.WorkflowId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowId")) + } + if s.WorkflowId != nil && len(*s.WorkflowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *WorkflowExecutionFilter) SetWorkflowId(v string) *WorkflowExecutionFilter { + s.WorkflowId = &v + return s +} + +// Contains information about a workflow execution. +type WorkflowExecutionInfo struct { + _ struct{} `type:"structure"` + + // Set to true if a cancellation is requested for this workflow execution. + CancelRequested *bool `locationName:"cancelRequested" type:"boolean"` + + // If the execution status is closed then this specifies how the execution was + // closed: + // + // * COMPLETED – the execution was successfully completed. + // + // * CANCELED – the execution was canceled.Cancellation allows the implementation + // to gracefully clean up before the execution is closed. + // + // * TERMINATED – the execution was force terminated. + // + // * FAILED – the execution failed to complete. + // + // * TIMED_OUT – the execution did not complete in the alloted time and was + // automatically timed out. + // + // * CONTINUED_AS_NEW – the execution is logically continued. This means + // the current execution was completed and a new execution was started to + // carry on the workflow. + CloseStatus *string `locationName:"closeStatus" type:"string" enum:"CloseStatus"` + + // The time when the workflow execution was closed. Set only if the execution + // status is CLOSED. + CloseTimestamp *time.Time `locationName:"closeTimestamp" type:"timestamp" timestampFormat:"unix"` + + // The workflow execution this information is about. + // + // Execution is a required field + Execution *WorkflowExecution `locationName:"execution" type:"structure" required:"true"` + + // The current status of the execution. + // + // ExecutionStatus is a required field + ExecutionStatus *string `locationName:"executionStatus" type:"string" required:"true" enum:"ExecutionStatus"` + + // If this workflow execution is a child of another execution then contains + // the workflow execution that started this execution. + Parent *WorkflowExecution `locationName:"parent" type:"structure"` + + // The time when the execution was started. + // + // StartTimestamp is a required field + StartTimestamp *time.Time `locationName:"startTimestamp" type:"timestamp" timestampFormat:"unix" required:"true"` + + // The list of tags associated with the workflow execution. Tags can be used + // to identify and list workflow executions of interest through the visibility + // APIs. A workflow execution can have a maximum of 5 tags. + TagList []*string `locationName:"tagList" type:"list"` + + // The type of the workflow execution. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s WorkflowExecutionInfo) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionInfo) GoString() string { + return s.String() +} + +// SetCancelRequested sets the CancelRequested field's value. +func (s *WorkflowExecutionInfo) SetCancelRequested(v bool) *WorkflowExecutionInfo { + s.CancelRequested = &v + return s +} + +// SetCloseStatus sets the CloseStatus field's value. +func (s *WorkflowExecutionInfo) SetCloseStatus(v string) *WorkflowExecutionInfo { + s.CloseStatus = &v + return s +} + +// SetCloseTimestamp sets the CloseTimestamp field's value. +func (s *WorkflowExecutionInfo) SetCloseTimestamp(v time.Time) *WorkflowExecutionInfo { + s.CloseTimestamp = &v + return s +} + +// SetExecution sets the Execution field's value. +func (s *WorkflowExecutionInfo) SetExecution(v *WorkflowExecution) *WorkflowExecutionInfo { + s.Execution = v + return s +} + +// SetExecutionStatus sets the ExecutionStatus field's value. +func (s *WorkflowExecutionInfo) SetExecutionStatus(v string) *WorkflowExecutionInfo { + s.ExecutionStatus = &v + return s +} + +// SetParent sets the Parent field's value. +func (s *WorkflowExecutionInfo) SetParent(v *WorkflowExecution) *WorkflowExecutionInfo { + s.Parent = v + return s +} + +// SetStartTimestamp sets the StartTimestamp field's value. +func (s *WorkflowExecutionInfo) SetStartTimestamp(v time.Time) *WorkflowExecutionInfo { + s.StartTimestamp = &v + return s +} + +// SetTagList sets the TagList field's value. +func (s *WorkflowExecutionInfo) SetTagList(v []*string) *WorkflowExecutionInfo { + s.TagList = v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *WorkflowExecutionInfo) SetWorkflowType(v *WorkflowType) *WorkflowExecutionInfo { + s.WorkflowType = v + return s +} + +// Contains a paginated list of information about workflow executions. +type WorkflowExecutionInfos struct { + _ struct{} `type:"structure"` + + // The list of workflow information structures. + // + // ExecutionInfos is a required field + ExecutionInfos []*WorkflowExecutionInfo `locationName:"executionInfos" type:"list" required:"true"` + + // If a NextPageToken was returned by a previous call, there are more results + // available. To retrieve the next page of results, make the call again using + // the returned token in nextPageToken. Keep all other arguments unchanged. + // + // The configured maximumPageSize determines how many results can be returned + // in a single call. + NextPageToken *string `locationName:"nextPageToken" type:"string"` +} + +// String returns the string representation +func (s WorkflowExecutionInfos) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionInfos) GoString() string { + return s.String() +} + +// SetExecutionInfos sets the ExecutionInfos field's value. +func (s *WorkflowExecutionInfos) SetExecutionInfos(v []*WorkflowExecutionInfo) *WorkflowExecutionInfos { + s.ExecutionInfos = v + return s +} + +// SetNextPageToken sets the NextPageToken field's value. +func (s *WorkflowExecutionInfos) SetNextPageToken(v string) *WorkflowExecutionInfos { + s.NextPageToken = &v + return s +} + +// Contains the counts of open tasks, child workflow executions and timers for +// a workflow execution. +type WorkflowExecutionOpenCounts struct { + _ struct{} `type:"structure"` + + // The count of activity tasks whose status is OPEN. + // + // OpenActivityTasks is a required field + OpenActivityTasks *int64 `locationName:"openActivityTasks" type:"integer" required:"true"` + + // The count of child workflow executions whose status is OPEN. + // + // OpenChildWorkflowExecutions is a required field + OpenChildWorkflowExecutions *int64 `locationName:"openChildWorkflowExecutions" type:"integer" required:"true"` + + // The count of decision tasks whose status is OPEN. A workflow execution can + // have at most one open decision task. + // + // OpenDecisionTasks is a required field + OpenDecisionTasks *int64 `locationName:"openDecisionTasks" type:"integer" required:"true"` + + // The count of Lambda tasks whose status is OPEN. + OpenLambdaFunctions *int64 `locationName:"openLambdaFunctions" type:"integer"` + + // The count of timers started by this workflow execution that have not fired + // yet. + // + // OpenTimers is a required field + OpenTimers *int64 `locationName:"openTimers" type:"integer" required:"true"` +} + +// String returns the string representation +func (s WorkflowExecutionOpenCounts) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionOpenCounts) GoString() string { + return s.String() +} + +// SetOpenActivityTasks sets the OpenActivityTasks field's value. +func (s *WorkflowExecutionOpenCounts) SetOpenActivityTasks(v int64) *WorkflowExecutionOpenCounts { + s.OpenActivityTasks = &v + return s +} + +// SetOpenChildWorkflowExecutions sets the OpenChildWorkflowExecutions field's value. +func (s *WorkflowExecutionOpenCounts) SetOpenChildWorkflowExecutions(v int64) *WorkflowExecutionOpenCounts { + s.OpenChildWorkflowExecutions = &v + return s +} + +// SetOpenDecisionTasks sets the OpenDecisionTasks field's value. +func (s *WorkflowExecutionOpenCounts) SetOpenDecisionTasks(v int64) *WorkflowExecutionOpenCounts { + s.OpenDecisionTasks = &v + return s +} + +// SetOpenLambdaFunctions sets the OpenLambdaFunctions field's value. +func (s *WorkflowExecutionOpenCounts) SetOpenLambdaFunctions(v int64) *WorkflowExecutionOpenCounts { + s.OpenLambdaFunctions = &v + return s +} + +// SetOpenTimers sets the OpenTimers field's value. +func (s *WorkflowExecutionOpenCounts) SetOpenTimers(v int64) *WorkflowExecutionOpenCounts { + s.OpenTimers = &v + return s +} + +// Provides the details of the WorkflowExecutionSignaled event. +type WorkflowExecutionSignaledEventAttributes struct { + _ struct{} `type:"structure"` + + // The ID of the SignalExternalWorkflowExecutionInitiated event corresponding + // to the SignalExternalWorkflow decision to signal this workflow execution.The + // source event with this ID can be found in the history of the source workflow + // execution. This information can be useful for diagnosing problems by tracing + // back the chain of events leading up to this event. This field is set only + // if the signal was initiated by another workflow execution. + ExternalInitiatedEventId *int64 `locationName:"externalInitiatedEventId" type:"long"` + + // The workflow execution that sent the signal. This is set only of the signal + // was sent by another workflow execution. + ExternalWorkflowExecution *WorkflowExecution `locationName:"externalWorkflowExecution" type:"structure"` + + // The inputs provided with the signal. The decider can use the signal name + // and inputs to determine how to process the signal. + Input *string `locationName:"input" type:"string"` + + // The name of the signal received. The decider can use the signal name and + // inputs to determine how to the process the signal. + // + // SignalName is a required field + SignalName *string `locationName:"signalName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s WorkflowExecutionSignaledEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionSignaledEventAttributes) GoString() string { + return s.String() +} + +// SetExternalInitiatedEventId sets the ExternalInitiatedEventId field's value. +func (s *WorkflowExecutionSignaledEventAttributes) SetExternalInitiatedEventId(v int64) *WorkflowExecutionSignaledEventAttributes { + s.ExternalInitiatedEventId = &v + return s +} + +// SetExternalWorkflowExecution sets the ExternalWorkflowExecution field's value. +func (s *WorkflowExecutionSignaledEventAttributes) SetExternalWorkflowExecution(v *WorkflowExecution) *WorkflowExecutionSignaledEventAttributes { + s.ExternalWorkflowExecution = v + return s +} + +// SetInput sets the Input field's value. +func (s *WorkflowExecutionSignaledEventAttributes) SetInput(v string) *WorkflowExecutionSignaledEventAttributes { + s.Input = &v + return s +} + +// SetSignalName sets the SignalName field's value. +func (s *WorkflowExecutionSignaledEventAttributes) SetSignalName(v string) *WorkflowExecutionSignaledEventAttributes { + s.SignalName = &v + return s +} + +// Provides details of WorkflowExecutionStarted event. +type WorkflowExecutionStartedEventAttributes struct { + _ struct{} `type:"structure"` + + // The policy to use for the child workflow executions if this workflow execution + // is terminated, by calling the TerminateWorkflowExecution action explicitly + // or due to an expired timeout. + // + // The supported child policies are: + // + // * TERMINATE – The child executions are terminated. + // + // * REQUEST_CANCEL – A request to cancel is attempted for each child execution + // by recording a WorkflowExecutionCancelRequested event in its history. + // It is up to the decider to take appropriate actions when it receives an + // execution history with this event. + // + // * ABANDON – No action is taken. The child executions continue to run. + // + // ChildPolicy is a required field + ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true" enum:"ChildPolicy"` + + // If this workflow execution was started due to a ContinueAsNewWorkflowExecution + // decision, then it contains the runId of the previous workflow execution that + // was closed and continued as this execution. + ContinuedExecutionRunId *string `locationName:"continuedExecutionRunId" type:"string"` + + // The maximum duration for this workflow execution. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" type:"string"` + + // The input provided to the workflow execution. + Input *string `locationName:"input" type:"string"` + + // The IAM role attached to the workflow execution. + LambdaRole *string `locationName:"lambdaRole" min:"1" type:"string"` + + // The ID of the StartChildWorkflowExecutionInitiated event corresponding to + // the StartChildWorkflowExecutionDecision to start this workflow execution. + // The source event with this ID can be found in the history of the source workflow + // execution. This information can be useful for diagnosing problems by tracing + // back the chain of events leading up to this event. + ParentInitiatedEventId *int64 `locationName:"parentInitiatedEventId" type:"long"` + + // The source workflow execution that started this workflow execution. The member + // isn't set if the workflow execution was not started by a workflow. + ParentWorkflowExecution *WorkflowExecution `locationName:"parentWorkflowExecution" type:"structure"` + + // The list of tags associated with this workflow execution. An execution can + // have up to 5 tags. + TagList []*string `locationName:"tagList" type:"list"` + + // The name of the task list for scheduling the decision tasks for this workflow + // execution. + // + // TaskList is a required field + TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` + + // The priority of the decision tasks in the workflow execution. + TaskPriority *string `locationName:"taskPriority" type:"string"` + + // The maximum duration of decision tasks for this workflow type. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string"` + + // The workflow type of this execution. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s WorkflowExecutionStartedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionStartedEventAttributes) GoString() string { + return s.String() +} + +// SetChildPolicy sets the ChildPolicy field's value. +func (s *WorkflowExecutionStartedEventAttributes) SetChildPolicy(v string) *WorkflowExecutionStartedEventAttributes { + s.ChildPolicy = &v + return s +} + +// SetContinuedExecutionRunId sets the ContinuedExecutionRunId field's value. +func (s *WorkflowExecutionStartedEventAttributes) SetContinuedExecutionRunId(v string) *WorkflowExecutionStartedEventAttributes { + s.ContinuedExecutionRunId = &v + return s +} + +// SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value. +func (s *WorkflowExecutionStartedEventAttributes) SetExecutionStartToCloseTimeout(v string) *WorkflowExecutionStartedEventAttributes { + s.ExecutionStartToCloseTimeout = &v + return s +} + +// SetInput sets the Input field's value. +func (s *WorkflowExecutionStartedEventAttributes) SetInput(v string) *WorkflowExecutionStartedEventAttributes { + s.Input = &v + return s +} + +// SetLambdaRole sets the LambdaRole field's value. +func (s *WorkflowExecutionStartedEventAttributes) SetLambdaRole(v string) *WorkflowExecutionStartedEventAttributes { + s.LambdaRole = &v + return s +} + +// SetParentInitiatedEventId sets the ParentInitiatedEventId field's value. +func (s *WorkflowExecutionStartedEventAttributes) SetParentInitiatedEventId(v int64) *WorkflowExecutionStartedEventAttributes { + s.ParentInitiatedEventId = &v + return s +} + +// SetParentWorkflowExecution sets the ParentWorkflowExecution field's value. +func (s *WorkflowExecutionStartedEventAttributes) SetParentWorkflowExecution(v *WorkflowExecution) *WorkflowExecutionStartedEventAttributes { + s.ParentWorkflowExecution = v + return s +} + +// SetTagList sets the TagList field's value. +func (s *WorkflowExecutionStartedEventAttributes) SetTagList(v []*string) *WorkflowExecutionStartedEventAttributes { + s.TagList = v + return s +} + +// SetTaskList sets the TaskList field's value. +func (s *WorkflowExecutionStartedEventAttributes) SetTaskList(v *TaskList) *WorkflowExecutionStartedEventAttributes { + s.TaskList = v + return s +} + +// SetTaskPriority sets the TaskPriority field's value. +func (s *WorkflowExecutionStartedEventAttributes) SetTaskPriority(v string) *WorkflowExecutionStartedEventAttributes { + s.TaskPriority = &v + return s +} + +// SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value. +func (s *WorkflowExecutionStartedEventAttributes) SetTaskStartToCloseTimeout(v string) *WorkflowExecutionStartedEventAttributes { + s.TaskStartToCloseTimeout = &v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *WorkflowExecutionStartedEventAttributes) SetWorkflowType(v *WorkflowType) *WorkflowExecutionStartedEventAttributes { + s.WorkflowType = v + return s +} + +// Provides the details of the WorkflowExecutionTerminated event. +type WorkflowExecutionTerminatedEventAttributes struct { + _ struct{} `type:"structure"` + + // If set, indicates that the workflow execution was automatically terminated, + // and specifies the cause. This happens if the parent workflow execution times + // out or is terminated and the child policy is set to terminate child executions. + Cause *string `locationName:"cause" type:"string" enum:"WorkflowExecutionTerminatedCause"` + + // The policy used for the child workflow executions of this workflow execution. + // + // The supported child policies are: + // + // * TERMINATE – The child executions are terminated. + // + // * REQUEST_CANCEL – A request to cancel is attempted for each child execution + // by recording a WorkflowExecutionCancelRequested event in its history. + // It is up to the decider to take appropriate actions when it receives an + // execution history with this event. + // + // * ABANDON – No action is taken. The child executions continue to run. + // + // ChildPolicy is a required field + ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true" enum:"ChildPolicy"` + + // The details provided for the termination. + Details *string `locationName:"details" type:"string"` + + // The reason provided for the termination. + Reason *string `locationName:"reason" type:"string"` +} + +// String returns the string representation +func (s WorkflowExecutionTerminatedEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionTerminatedEventAttributes) GoString() string { + return s.String() +} + +// SetCause sets the Cause field's value. +func (s *WorkflowExecutionTerminatedEventAttributes) SetCause(v string) *WorkflowExecutionTerminatedEventAttributes { + s.Cause = &v + return s +} + +// SetChildPolicy sets the ChildPolicy field's value. +func (s *WorkflowExecutionTerminatedEventAttributes) SetChildPolicy(v string) *WorkflowExecutionTerminatedEventAttributes { + s.ChildPolicy = &v + return s +} + +// SetDetails sets the Details field's value. +func (s *WorkflowExecutionTerminatedEventAttributes) SetDetails(v string) *WorkflowExecutionTerminatedEventAttributes { + s.Details = &v + return s +} + +// SetReason sets the Reason field's value. +func (s *WorkflowExecutionTerminatedEventAttributes) SetReason(v string) *WorkflowExecutionTerminatedEventAttributes { + s.Reason = &v + return s +} + +// Provides the details of the WorkflowExecutionTimedOut event. +type WorkflowExecutionTimedOutEventAttributes struct { + _ struct{} `type:"structure"` + + // The policy used for the child workflow executions of this workflow execution. + // + // The supported child policies are: + // + // * TERMINATE – The child executions are terminated. + // + // * REQUEST_CANCEL – A request to cancel is attempted for each child execution + // by recording a WorkflowExecutionCancelRequested event in its history. + // It is up to the decider to take appropriate actions when it receives an + // execution history with this event. + // + // * ABANDON – No action is taken. The child executions continue to run. + // + // ChildPolicy is a required field + ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true" enum:"ChildPolicy"` + + // The type of timeout that caused this event. + // + // TimeoutType is a required field + TimeoutType *string `locationName:"timeoutType" type:"string" required:"true" enum:"WorkflowExecutionTimeoutType"` +} + +// String returns the string representation +func (s WorkflowExecutionTimedOutEventAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowExecutionTimedOutEventAttributes) GoString() string { + return s.String() +} + +// SetChildPolicy sets the ChildPolicy field's value. +func (s *WorkflowExecutionTimedOutEventAttributes) SetChildPolicy(v string) *WorkflowExecutionTimedOutEventAttributes { + s.ChildPolicy = &v + return s +} + +// SetTimeoutType sets the TimeoutType field's value. +func (s *WorkflowExecutionTimedOutEventAttributes) SetTimeoutType(v string) *WorkflowExecutionTimedOutEventAttributes { + s.TimeoutType = &v + return s +} + +// Represents a workflow type. +type WorkflowType struct { + _ struct{} `type:"structure"` + + // The name of the workflow type. + // + // The combination of workflow type name and version must be unique with in + // a domain. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The version of the workflow type. + // + // The combination of workflow type name and version must be unique with in + // a domain. + // + // Version is a required field + Version *string `locationName:"version" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s WorkflowType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowType) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *WorkflowType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WorkflowType"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Version == nil { + invalidParams.Add(request.NewErrParamRequired("Version")) + } + if s.Version != nil && len(*s.Version) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Version", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *WorkflowType) SetName(v string) *WorkflowType { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *WorkflowType) SetVersion(v string) *WorkflowType { + s.Version = &v + return s +} + +// The configuration settings of a workflow type. +type WorkflowTypeConfiguration struct { + _ struct{} `type:"structure"` + + // The default policy to use for the child workflow executions when a workflow + // execution of this type is terminated, by calling the TerminateWorkflowExecution + // action explicitly or due to an expired timeout. This default can be overridden + // when starting a workflow execution using the StartWorkflowExecution action + // or the StartChildWorkflowExecutionDecision. + // + // The supported child policies are: + // + // * TERMINATE – The child executions are terminated. + // + // * REQUEST_CANCEL – A request to cancel is attempted for each child execution + // by recording a WorkflowExecutionCancelRequested event in its history. + // It is up to the decider to take appropriate actions when it receives an + // execution history with this event. + // + // * ABANDON – No action is taken. The child executions continue to run. + DefaultChildPolicy *string `locationName:"defaultChildPolicy" type:"string" enum:"ChildPolicy"` + + // The default maximum duration, specified when registering the workflow type, + // for executions of this workflow type. This default can be overridden when + // starting a workflow execution using the StartWorkflowExecution action or + // the StartChildWorkflowExecutionDecision. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + DefaultExecutionStartToCloseTimeout *string `locationName:"defaultExecutionStartToCloseTimeout" type:"string"` + + // The default IAM role attached to this workflow type. + // + // Executions of this workflow type need IAM roles to invoke Lambda functions. + // If you don't specify an IAM role when starting this workflow type, the default + // Lambda role is attached to the execution. For more information, see http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html) + // in the Amazon SWF Developer Guide. + DefaultLambdaRole *string `locationName:"defaultLambdaRole" min:"1" type:"string"` + + // The default task list, specified when registering the workflow type, for + // decisions tasks scheduled for workflow executions of this type. This default + // can be overridden when starting a workflow execution using the StartWorkflowExecution + // action or the StartChildWorkflowExecutionDecision. + DefaultTaskList *TaskList `locationName:"defaultTaskList" type:"structure"` + + // The default task priority, specified when registering the workflow type, + // for all decision tasks of this workflow type. This default can be overridden + // when starting a workflow execution using the StartWorkflowExecution action + // or the StartChildWorkflowExecution decision. + // + // Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) + // to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority. + // + // For more information about setting task priority, see Setting Task Priority + // (http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html) + // in the Amazon SWF Developer Guide. + DefaultTaskPriority *string `locationName:"defaultTaskPriority" type:"string"` + + // The default maximum duration, specified when registering the workflow type, + // that a decision task for executions of this workflow type might take before + // returning completion or failure. If the task doesn'tdo close in the specified + // time then the task is automatically timed out and rescheduled. If the decider + // eventually reports a completion or failure, it is ignored. This default can + // be overridden when starting a workflow execution using the StartWorkflowExecution + // action or the StartChildWorkflowExecutionDecision. + // + // The duration is specified in seconds, an integer greater than or equal to + // 0. You can use NONE to specify unlimited duration. + DefaultTaskStartToCloseTimeout *string `locationName:"defaultTaskStartToCloseTimeout" type:"string"` +} + +// String returns the string representation +func (s WorkflowTypeConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowTypeConfiguration) GoString() string { + return s.String() +} + +// SetDefaultChildPolicy sets the DefaultChildPolicy field's value. +func (s *WorkflowTypeConfiguration) SetDefaultChildPolicy(v string) *WorkflowTypeConfiguration { + s.DefaultChildPolicy = &v + return s +} + +// SetDefaultExecutionStartToCloseTimeout sets the DefaultExecutionStartToCloseTimeout field's value. +func (s *WorkflowTypeConfiguration) SetDefaultExecutionStartToCloseTimeout(v string) *WorkflowTypeConfiguration { + s.DefaultExecutionStartToCloseTimeout = &v + return s +} + +// SetDefaultLambdaRole sets the DefaultLambdaRole field's value. +func (s *WorkflowTypeConfiguration) SetDefaultLambdaRole(v string) *WorkflowTypeConfiguration { + s.DefaultLambdaRole = &v + return s +} + +// SetDefaultTaskList sets the DefaultTaskList field's value. +func (s *WorkflowTypeConfiguration) SetDefaultTaskList(v *TaskList) *WorkflowTypeConfiguration { + s.DefaultTaskList = v + return s +} + +// SetDefaultTaskPriority sets the DefaultTaskPriority field's value. +func (s *WorkflowTypeConfiguration) SetDefaultTaskPriority(v string) *WorkflowTypeConfiguration { + s.DefaultTaskPriority = &v + return s +} + +// SetDefaultTaskStartToCloseTimeout sets the DefaultTaskStartToCloseTimeout field's value. +func (s *WorkflowTypeConfiguration) SetDefaultTaskStartToCloseTimeout(v string) *WorkflowTypeConfiguration { + s.DefaultTaskStartToCloseTimeout = &v + return s +} + +// Used to filter workflow execution query results by type. Each parameter, +// if specified, defines a rule that must be satisfied by each returned result. +type WorkflowTypeFilter struct { + _ struct{} `type:"structure"` + + // Name of the workflow type. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // Version of the workflow type. + Version *string `locationName:"version" type:"string"` +} + +// String returns the string representation +func (s WorkflowTypeFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowTypeFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *WorkflowTypeFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WorkflowTypeFilter"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *WorkflowTypeFilter) SetName(v string) *WorkflowTypeFilter { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *WorkflowTypeFilter) SetVersion(v string) *WorkflowTypeFilter { + s.Version = &v + return s +} + +// Contains information about a workflow type. +type WorkflowTypeInfo struct { + _ struct{} `type:"structure"` + + // The date when this type was registered. + // + // CreationDate is a required field + CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix" required:"true"` + + // If the type is in deprecated state, then it is set to the date when the type + // was deprecated. + DeprecationDate *time.Time `locationName:"deprecationDate" type:"timestamp" timestampFormat:"unix"` + + // The description of the type registered through RegisterWorkflowType. + Description *string `locationName:"description" type:"string"` + + // The current status of the workflow type. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"RegistrationStatus"` + + // The workflow type this information is about. + // + // WorkflowType is a required field + WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` +} + +// String returns the string representation +func (s WorkflowTypeInfo) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WorkflowTypeInfo) GoString() string { + return s.String() +} + +// SetCreationDate sets the CreationDate field's value. +func (s *WorkflowTypeInfo) SetCreationDate(v time.Time) *WorkflowTypeInfo { + s.CreationDate = &v + return s +} + +// SetDeprecationDate sets the DeprecationDate field's value. +func (s *WorkflowTypeInfo) SetDeprecationDate(v time.Time) *WorkflowTypeInfo { + s.DeprecationDate = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *WorkflowTypeInfo) SetDescription(v string) *WorkflowTypeInfo { + s.Description = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *WorkflowTypeInfo) SetStatus(v string) *WorkflowTypeInfo { + s.Status = &v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *WorkflowTypeInfo) SetWorkflowType(v *WorkflowType) *WorkflowTypeInfo { + s.WorkflowType = v + return s +} + +const ( + // ActivityTaskTimeoutTypeStartToClose is a ActivityTaskTimeoutType enum value + ActivityTaskTimeoutTypeStartToClose = "START_TO_CLOSE" + + // ActivityTaskTimeoutTypeScheduleToStart is a ActivityTaskTimeoutType enum value + ActivityTaskTimeoutTypeScheduleToStart = "SCHEDULE_TO_START" + + // ActivityTaskTimeoutTypeScheduleToClose is a ActivityTaskTimeoutType enum value + ActivityTaskTimeoutTypeScheduleToClose = "SCHEDULE_TO_CLOSE" + + // ActivityTaskTimeoutTypeHeartbeat is a ActivityTaskTimeoutType enum value + ActivityTaskTimeoutTypeHeartbeat = "HEARTBEAT" +) + +const ( + // CancelTimerFailedCauseTimerIdUnknown is a CancelTimerFailedCause enum value + CancelTimerFailedCauseTimerIdUnknown = "TIMER_ID_UNKNOWN" + + // CancelTimerFailedCauseOperationNotPermitted is a CancelTimerFailedCause enum value + CancelTimerFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" +) + +const ( + // CancelWorkflowExecutionFailedCauseUnhandledDecision is a CancelWorkflowExecutionFailedCause enum value + CancelWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION" + + // CancelWorkflowExecutionFailedCauseOperationNotPermitted is a CancelWorkflowExecutionFailedCause enum value + CancelWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" +) + +const ( + // ChildPolicyTerminate is a ChildPolicy enum value + ChildPolicyTerminate = "TERMINATE" + + // ChildPolicyRequestCancel is a ChildPolicy enum value + ChildPolicyRequestCancel = "REQUEST_CANCEL" + + // ChildPolicyAbandon is a ChildPolicy enum value + ChildPolicyAbandon = "ABANDON" +) + +const ( + // CloseStatusCompleted is a CloseStatus enum value + CloseStatusCompleted = "COMPLETED" + + // CloseStatusFailed is a CloseStatus enum value + CloseStatusFailed = "FAILED" + + // CloseStatusCanceled is a CloseStatus enum value + CloseStatusCanceled = "CANCELED" + + // CloseStatusTerminated is a CloseStatus enum value + CloseStatusTerminated = "TERMINATED" + + // CloseStatusContinuedAsNew is a CloseStatus enum value + CloseStatusContinuedAsNew = "CONTINUED_AS_NEW" + + // CloseStatusTimedOut is a CloseStatus enum value + CloseStatusTimedOut = "TIMED_OUT" +) + +const ( + // CompleteWorkflowExecutionFailedCauseUnhandledDecision is a CompleteWorkflowExecutionFailedCause enum value + CompleteWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION" + + // CompleteWorkflowExecutionFailedCauseOperationNotPermitted is a CompleteWorkflowExecutionFailedCause enum value + CompleteWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" +) + +const ( + // ContinueAsNewWorkflowExecutionFailedCauseUnhandledDecision is a ContinueAsNewWorkflowExecutionFailedCause enum value + ContinueAsNewWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION" + + // ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDeprecated is a ContinueAsNewWorkflowExecutionFailedCause enum value + ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDeprecated = "WORKFLOW_TYPE_DEPRECATED" + + // ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist is a ContinueAsNewWorkflowExecutionFailedCause enum value + ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist = "WORKFLOW_TYPE_DOES_NOT_EXIST" + + // ContinueAsNewWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined is a ContinueAsNewWorkflowExecutionFailedCause enum value + ContinueAsNewWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" + + // ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined is a ContinueAsNewWorkflowExecutionFailedCause enum value + ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" + + // ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskListUndefined is a ContinueAsNewWorkflowExecutionFailedCause enum value + ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskListUndefined = "DEFAULT_TASK_LIST_UNDEFINED" + + // ContinueAsNewWorkflowExecutionFailedCauseDefaultChildPolicyUndefined is a ContinueAsNewWorkflowExecutionFailedCause enum value + ContinueAsNewWorkflowExecutionFailedCauseDefaultChildPolicyUndefined = "DEFAULT_CHILD_POLICY_UNDEFINED" + + // ContinueAsNewWorkflowExecutionFailedCauseContinueAsNewWorkflowExecutionRateExceeded is a ContinueAsNewWorkflowExecutionFailedCause enum value + ContinueAsNewWorkflowExecutionFailedCauseContinueAsNewWorkflowExecutionRateExceeded = "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED" + + // ContinueAsNewWorkflowExecutionFailedCauseOperationNotPermitted is a ContinueAsNewWorkflowExecutionFailedCause enum value + ContinueAsNewWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" +) + +const ( + // DecisionTaskTimeoutTypeStartToClose is a DecisionTaskTimeoutType enum value + DecisionTaskTimeoutTypeStartToClose = "START_TO_CLOSE" +) + +const ( + // DecisionTypeScheduleActivityTask is a DecisionType enum value + DecisionTypeScheduleActivityTask = "ScheduleActivityTask" + + // DecisionTypeRequestCancelActivityTask is a DecisionType enum value + DecisionTypeRequestCancelActivityTask = "RequestCancelActivityTask" + + // DecisionTypeCompleteWorkflowExecution is a DecisionType enum value + DecisionTypeCompleteWorkflowExecution = "CompleteWorkflowExecution" + + // DecisionTypeFailWorkflowExecution is a DecisionType enum value + DecisionTypeFailWorkflowExecution = "FailWorkflowExecution" + + // DecisionTypeCancelWorkflowExecution is a DecisionType enum value + DecisionTypeCancelWorkflowExecution = "CancelWorkflowExecution" + + // DecisionTypeContinueAsNewWorkflowExecution is a DecisionType enum value + DecisionTypeContinueAsNewWorkflowExecution = "ContinueAsNewWorkflowExecution" + + // DecisionTypeRecordMarker is a DecisionType enum value + DecisionTypeRecordMarker = "RecordMarker" + + // DecisionTypeStartTimer is a DecisionType enum value + DecisionTypeStartTimer = "StartTimer" + + // DecisionTypeCancelTimer is a DecisionType enum value + DecisionTypeCancelTimer = "CancelTimer" + + // DecisionTypeSignalExternalWorkflowExecution is a DecisionType enum value + DecisionTypeSignalExternalWorkflowExecution = "SignalExternalWorkflowExecution" + + // DecisionTypeRequestCancelExternalWorkflowExecution is a DecisionType enum value + DecisionTypeRequestCancelExternalWorkflowExecution = "RequestCancelExternalWorkflowExecution" + + // DecisionTypeStartChildWorkflowExecution is a DecisionType enum value + DecisionTypeStartChildWorkflowExecution = "StartChildWorkflowExecution" + + // DecisionTypeScheduleLambdaFunction is a DecisionType enum value + DecisionTypeScheduleLambdaFunction = "ScheduleLambdaFunction" +) + +const ( + // EventTypeWorkflowExecutionStarted is a EventType enum value + EventTypeWorkflowExecutionStarted = "WorkflowExecutionStarted" + + // EventTypeWorkflowExecutionCancelRequested is a EventType enum value + EventTypeWorkflowExecutionCancelRequested = "WorkflowExecutionCancelRequested" + + // EventTypeWorkflowExecutionCompleted is a EventType enum value + EventTypeWorkflowExecutionCompleted = "WorkflowExecutionCompleted" + + // EventTypeCompleteWorkflowExecutionFailed is a EventType enum value + EventTypeCompleteWorkflowExecutionFailed = "CompleteWorkflowExecutionFailed" + + // EventTypeWorkflowExecutionFailed is a EventType enum value + EventTypeWorkflowExecutionFailed = "WorkflowExecutionFailed" + + // EventTypeFailWorkflowExecutionFailed is a EventType enum value + EventTypeFailWorkflowExecutionFailed = "FailWorkflowExecutionFailed" + + // EventTypeWorkflowExecutionTimedOut is a EventType enum value + EventTypeWorkflowExecutionTimedOut = "WorkflowExecutionTimedOut" + + // EventTypeWorkflowExecutionCanceled is a EventType enum value + EventTypeWorkflowExecutionCanceled = "WorkflowExecutionCanceled" + + // EventTypeCancelWorkflowExecutionFailed is a EventType enum value + EventTypeCancelWorkflowExecutionFailed = "CancelWorkflowExecutionFailed" + + // EventTypeWorkflowExecutionContinuedAsNew is a EventType enum value + EventTypeWorkflowExecutionContinuedAsNew = "WorkflowExecutionContinuedAsNew" + + // EventTypeContinueAsNewWorkflowExecutionFailed is a EventType enum value + EventTypeContinueAsNewWorkflowExecutionFailed = "ContinueAsNewWorkflowExecutionFailed" + + // EventTypeWorkflowExecutionTerminated is a EventType enum value + EventTypeWorkflowExecutionTerminated = "WorkflowExecutionTerminated" + + // EventTypeDecisionTaskScheduled is a EventType enum value + EventTypeDecisionTaskScheduled = "DecisionTaskScheduled" + + // EventTypeDecisionTaskStarted is a EventType enum value + EventTypeDecisionTaskStarted = "DecisionTaskStarted" + + // EventTypeDecisionTaskCompleted is a EventType enum value + EventTypeDecisionTaskCompleted = "DecisionTaskCompleted" + + // EventTypeDecisionTaskTimedOut is a EventType enum value + EventTypeDecisionTaskTimedOut = "DecisionTaskTimedOut" + + // EventTypeActivityTaskScheduled is a EventType enum value + EventTypeActivityTaskScheduled = "ActivityTaskScheduled" + + // EventTypeScheduleActivityTaskFailed is a EventType enum value + EventTypeScheduleActivityTaskFailed = "ScheduleActivityTaskFailed" + + // EventTypeActivityTaskStarted is a EventType enum value + EventTypeActivityTaskStarted = "ActivityTaskStarted" + + // EventTypeActivityTaskCompleted is a EventType enum value + EventTypeActivityTaskCompleted = "ActivityTaskCompleted" + + // EventTypeActivityTaskFailed is a EventType enum value + EventTypeActivityTaskFailed = "ActivityTaskFailed" + + // EventTypeActivityTaskTimedOut is a EventType enum value + EventTypeActivityTaskTimedOut = "ActivityTaskTimedOut" + + // EventTypeActivityTaskCanceled is a EventType enum value + EventTypeActivityTaskCanceled = "ActivityTaskCanceled" + + // EventTypeActivityTaskCancelRequested is a EventType enum value + EventTypeActivityTaskCancelRequested = "ActivityTaskCancelRequested" + + // EventTypeRequestCancelActivityTaskFailed is a EventType enum value + EventTypeRequestCancelActivityTaskFailed = "RequestCancelActivityTaskFailed" + + // EventTypeWorkflowExecutionSignaled is a EventType enum value + EventTypeWorkflowExecutionSignaled = "WorkflowExecutionSignaled" + + // EventTypeMarkerRecorded is a EventType enum value + EventTypeMarkerRecorded = "MarkerRecorded" + + // EventTypeRecordMarkerFailed is a EventType enum value + EventTypeRecordMarkerFailed = "RecordMarkerFailed" + + // EventTypeTimerStarted is a EventType enum value + EventTypeTimerStarted = "TimerStarted" + + // EventTypeStartTimerFailed is a EventType enum value + EventTypeStartTimerFailed = "StartTimerFailed" + + // EventTypeTimerFired is a EventType enum value + EventTypeTimerFired = "TimerFired" + + // EventTypeTimerCanceled is a EventType enum value + EventTypeTimerCanceled = "TimerCanceled" + + // EventTypeCancelTimerFailed is a EventType enum value + EventTypeCancelTimerFailed = "CancelTimerFailed" + + // EventTypeStartChildWorkflowExecutionInitiated is a EventType enum value + EventTypeStartChildWorkflowExecutionInitiated = "StartChildWorkflowExecutionInitiated" + + // EventTypeStartChildWorkflowExecutionFailed is a EventType enum value + EventTypeStartChildWorkflowExecutionFailed = "StartChildWorkflowExecutionFailed" + + // EventTypeChildWorkflowExecutionStarted is a EventType enum value + EventTypeChildWorkflowExecutionStarted = "ChildWorkflowExecutionStarted" + + // EventTypeChildWorkflowExecutionCompleted is a EventType enum value + EventTypeChildWorkflowExecutionCompleted = "ChildWorkflowExecutionCompleted" + + // EventTypeChildWorkflowExecutionFailed is a EventType enum value + EventTypeChildWorkflowExecutionFailed = "ChildWorkflowExecutionFailed" + + // EventTypeChildWorkflowExecutionTimedOut is a EventType enum value + EventTypeChildWorkflowExecutionTimedOut = "ChildWorkflowExecutionTimedOut" + + // EventTypeChildWorkflowExecutionCanceled is a EventType enum value + EventTypeChildWorkflowExecutionCanceled = "ChildWorkflowExecutionCanceled" + + // EventTypeChildWorkflowExecutionTerminated is a EventType enum value + EventTypeChildWorkflowExecutionTerminated = "ChildWorkflowExecutionTerminated" + + // EventTypeSignalExternalWorkflowExecutionInitiated is a EventType enum value + EventTypeSignalExternalWorkflowExecutionInitiated = "SignalExternalWorkflowExecutionInitiated" + + // EventTypeSignalExternalWorkflowExecutionFailed is a EventType enum value + EventTypeSignalExternalWorkflowExecutionFailed = "SignalExternalWorkflowExecutionFailed" + + // EventTypeExternalWorkflowExecutionSignaled is a EventType enum value + EventTypeExternalWorkflowExecutionSignaled = "ExternalWorkflowExecutionSignaled" + + // EventTypeRequestCancelExternalWorkflowExecutionInitiated is a EventType enum value + EventTypeRequestCancelExternalWorkflowExecutionInitiated = "RequestCancelExternalWorkflowExecutionInitiated" + + // EventTypeRequestCancelExternalWorkflowExecutionFailed is a EventType enum value + EventTypeRequestCancelExternalWorkflowExecutionFailed = "RequestCancelExternalWorkflowExecutionFailed" + + // EventTypeExternalWorkflowExecutionCancelRequested is a EventType enum value + EventTypeExternalWorkflowExecutionCancelRequested = "ExternalWorkflowExecutionCancelRequested" + + // EventTypeLambdaFunctionScheduled is a EventType enum value + EventTypeLambdaFunctionScheduled = "LambdaFunctionScheduled" + + // EventTypeLambdaFunctionStarted is a EventType enum value + EventTypeLambdaFunctionStarted = "LambdaFunctionStarted" + + // EventTypeLambdaFunctionCompleted is a EventType enum value + EventTypeLambdaFunctionCompleted = "LambdaFunctionCompleted" + + // EventTypeLambdaFunctionFailed is a EventType enum value + EventTypeLambdaFunctionFailed = "LambdaFunctionFailed" + + // EventTypeLambdaFunctionTimedOut is a EventType enum value + EventTypeLambdaFunctionTimedOut = "LambdaFunctionTimedOut" + + // EventTypeScheduleLambdaFunctionFailed is a EventType enum value + EventTypeScheduleLambdaFunctionFailed = "ScheduleLambdaFunctionFailed" + + // EventTypeStartLambdaFunctionFailed is a EventType enum value + EventTypeStartLambdaFunctionFailed = "StartLambdaFunctionFailed" +) + +const ( + // ExecutionStatusOpen is a ExecutionStatus enum value + ExecutionStatusOpen = "OPEN" + + // ExecutionStatusClosed is a ExecutionStatus enum value + ExecutionStatusClosed = "CLOSED" +) + +const ( + // FailWorkflowExecutionFailedCauseUnhandledDecision is a FailWorkflowExecutionFailedCause enum value + FailWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION" + + // FailWorkflowExecutionFailedCauseOperationNotPermitted is a FailWorkflowExecutionFailedCause enum value + FailWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" +) + +const ( + // LambdaFunctionTimeoutTypeStartToClose is a LambdaFunctionTimeoutType enum value + LambdaFunctionTimeoutTypeStartToClose = "START_TO_CLOSE" +) + +const ( + // RecordMarkerFailedCauseOperationNotPermitted is a RecordMarkerFailedCause enum value + RecordMarkerFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" +) + +const ( + // RegistrationStatusRegistered is a RegistrationStatus enum value + RegistrationStatusRegistered = "REGISTERED" + + // RegistrationStatusDeprecated is a RegistrationStatus enum value + RegistrationStatusDeprecated = "DEPRECATED" +) + +const ( + // RequestCancelActivityTaskFailedCauseActivityIdUnknown is a RequestCancelActivityTaskFailedCause enum value + RequestCancelActivityTaskFailedCauseActivityIdUnknown = "ACTIVITY_ID_UNKNOWN" + + // RequestCancelActivityTaskFailedCauseOperationNotPermitted is a RequestCancelActivityTaskFailedCause enum value + RequestCancelActivityTaskFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" +) + +const ( + // RequestCancelExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution is a RequestCancelExternalWorkflowExecutionFailedCause enum value + RequestCancelExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" + + // RequestCancelExternalWorkflowExecutionFailedCauseRequestCancelExternalWorkflowExecutionRateExceeded is a RequestCancelExternalWorkflowExecutionFailedCause enum value + RequestCancelExternalWorkflowExecutionFailedCauseRequestCancelExternalWorkflowExecutionRateExceeded = "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" + + // RequestCancelExternalWorkflowExecutionFailedCauseOperationNotPermitted is a RequestCancelExternalWorkflowExecutionFailedCause enum value + RequestCancelExternalWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" +) + +const ( + // ScheduleActivityTaskFailedCauseActivityTypeDeprecated is a ScheduleActivityTaskFailedCause enum value + ScheduleActivityTaskFailedCauseActivityTypeDeprecated = "ACTIVITY_TYPE_DEPRECATED" + + // ScheduleActivityTaskFailedCauseActivityTypeDoesNotExist is a ScheduleActivityTaskFailedCause enum value + ScheduleActivityTaskFailedCauseActivityTypeDoesNotExist = "ACTIVITY_TYPE_DOES_NOT_EXIST" + + // ScheduleActivityTaskFailedCauseActivityIdAlreadyInUse is a ScheduleActivityTaskFailedCause enum value + ScheduleActivityTaskFailedCauseActivityIdAlreadyInUse = "ACTIVITY_ID_ALREADY_IN_USE" + + // ScheduleActivityTaskFailedCauseOpenActivitiesLimitExceeded is a ScheduleActivityTaskFailedCause enum value + ScheduleActivityTaskFailedCauseOpenActivitiesLimitExceeded = "OPEN_ACTIVITIES_LIMIT_EXCEEDED" + + // ScheduleActivityTaskFailedCauseActivityCreationRateExceeded is a ScheduleActivityTaskFailedCause enum value + ScheduleActivityTaskFailedCauseActivityCreationRateExceeded = "ACTIVITY_CREATION_RATE_EXCEEDED" + + // ScheduleActivityTaskFailedCauseDefaultScheduleToCloseTimeoutUndefined is a ScheduleActivityTaskFailedCause enum value + ScheduleActivityTaskFailedCauseDefaultScheduleToCloseTimeoutUndefined = "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED" + + // ScheduleActivityTaskFailedCauseDefaultTaskListUndefined is a ScheduleActivityTaskFailedCause enum value + ScheduleActivityTaskFailedCauseDefaultTaskListUndefined = "DEFAULT_TASK_LIST_UNDEFINED" + + // ScheduleActivityTaskFailedCauseDefaultScheduleToStartTimeoutUndefined is a ScheduleActivityTaskFailedCause enum value + ScheduleActivityTaskFailedCauseDefaultScheduleToStartTimeoutUndefined = "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED" + + // ScheduleActivityTaskFailedCauseDefaultStartToCloseTimeoutUndefined is a ScheduleActivityTaskFailedCause enum value + ScheduleActivityTaskFailedCauseDefaultStartToCloseTimeoutUndefined = "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED" + + // ScheduleActivityTaskFailedCauseDefaultHeartbeatTimeoutUndefined is a ScheduleActivityTaskFailedCause enum value + ScheduleActivityTaskFailedCauseDefaultHeartbeatTimeoutUndefined = "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED" + + // ScheduleActivityTaskFailedCauseOperationNotPermitted is a ScheduleActivityTaskFailedCause enum value + ScheduleActivityTaskFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" +) + +const ( + // ScheduleLambdaFunctionFailedCauseIdAlreadyInUse is a ScheduleLambdaFunctionFailedCause enum value + ScheduleLambdaFunctionFailedCauseIdAlreadyInUse = "ID_ALREADY_IN_USE" + + // ScheduleLambdaFunctionFailedCauseOpenLambdaFunctionsLimitExceeded is a ScheduleLambdaFunctionFailedCause enum value + ScheduleLambdaFunctionFailedCauseOpenLambdaFunctionsLimitExceeded = "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED" + + // ScheduleLambdaFunctionFailedCauseLambdaFunctionCreationRateExceeded is a ScheduleLambdaFunctionFailedCause enum value + ScheduleLambdaFunctionFailedCauseLambdaFunctionCreationRateExceeded = "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED" + + // ScheduleLambdaFunctionFailedCauseLambdaServiceNotAvailableInRegion is a ScheduleLambdaFunctionFailedCause enum value + ScheduleLambdaFunctionFailedCauseLambdaServiceNotAvailableInRegion = "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION" +) + +const ( + // SignalExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution is a SignalExternalWorkflowExecutionFailedCause enum value + SignalExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" + + // SignalExternalWorkflowExecutionFailedCauseSignalExternalWorkflowExecutionRateExceeded is a SignalExternalWorkflowExecutionFailedCause enum value + SignalExternalWorkflowExecutionFailedCauseSignalExternalWorkflowExecutionRateExceeded = "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" + + // SignalExternalWorkflowExecutionFailedCauseOperationNotPermitted is a SignalExternalWorkflowExecutionFailedCause enum value + SignalExternalWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" +) + +const ( + // StartChildWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist is a StartChildWorkflowExecutionFailedCause enum value + StartChildWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist = "WORKFLOW_TYPE_DOES_NOT_EXIST" + + // StartChildWorkflowExecutionFailedCauseWorkflowTypeDeprecated is a StartChildWorkflowExecutionFailedCause enum value + StartChildWorkflowExecutionFailedCauseWorkflowTypeDeprecated = "WORKFLOW_TYPE_DEPRECATED" + + // StartChildWorkflowExecutionFailedCauseOpenChildrenLimitExceeded is a StartChildWorkflowExecutionFailedCause enum value + StartChildWorkflowExecutionFailedCauseOpenChildrenLimitExceeded = "OPEN_CHILDREN_LIMIT_EXCEEDED" + + // StartChildWorkflowExecutionFailedCauseOpenWorkflowsLimitExceeded is a StartChildWorkflowExecutionFailedCause enum value + StartChildWorkflowExecutionFailedCauseOpenWorkflowsLimitExceeded = "OPEN_WORKFLOWS_LIMIT_EXCEEDED" + + // StartChildWorkflowExecutionFailedCauseChildCreationRateExceeded is a StartChildWorkflowExecutionFailedCause enum value + StartChildWorkflowExecutionFailedCauseChildCreationRateExceeded = "CHILD_CREATION_RATE_EXCEEDED" + + // StartChildWorkflowExecutionFailedCauseWorkflowAlreadyRunning is a StartChildWorkflowExecutionFailedCause enum value + StartChildWorkflowExecutionFailedCauseWorkflowAlreadyRunning = "WORKFLOW_ALREADY_RUNNING" + + // StartChildWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined is a StartChildWorkflowExecutionFailedCause enum value + StartChildWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" + + // StartChildWorkflowExecutionFailedCauseDefaultTaskListUndefined is a StartChildWorkflowExecutionFailedCause enum value + StartChildWorkflowExecutionFailedCauseDefaultTaskListUndefined = "DEFAULT_TASK_LIST_UNDEFINED" + + // StartChildWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined is a StartChildWorkflowExecutionFailedCause enum value + StartChildWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" + + // StartChildWorkflowExecutionFailedCauseDefaultChildPolicyUndefined is a StartChildWorkflowExecutionFailedCause enum value + StartChildWorkflowExecutionFailedCauseDefaultChildPolicyUndefined = "DEFAULT_CHILD_POLICY_UNDEFINED" + + // StartChildWorkflowExecutionFailedCauseOperationNotPermitted is a StartChildWorkflowExecutionFailedCause enum value + StartChildWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" +) + +const ( + // StartLambdaFunctionFailedCauseAssumeRoleFailed is a StartLambdaFunctionFailedCause enum value + StartLambdaFunctionFailedCauseAssumeRoleFailed = "ASSUME_ROLE_FAILED" +) + +const ( + // StartTimerFailedCauseTimerIdAlreadyInUse is a StartTimerFailedCause enum value + StartTimerFailedCauseTimerIdAlreadyInUse = "TIMER_ID_ALREADY_IN_USE" + + // StartTimerFailedCauseOpenTimersLimitExceeded is a StartTimerFailedCause enum value + StartTimerFailedCauseOpenTimersLimitExceeded = "OPEN_TIMERS_LIMIT_EXCEEDED" + + // StartTimerFailedCauseTimerCreationRateExceeded is a StartTimerFailedCause enum value + StartTimerFailedCauseTimerCreationRateExceeded = "TIMER_CREATION_RATE_EXCEEDED" + + // StartTimerFailedCauseOperationNotPermitted is a StartTimerFailedCause enum value + StartTimerFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" +) + +const ( + // WorkflowExecutionCancelRequestedCauseChildPolicyApplied is a WorkflowExecutionCancelRequestedCause enum value + WorkflowExecutionCancelRequestedCauseChildPolicyApplied = "CHILD_POLICY_APPLIED" +) + +const ( + // WorkflowExecutionTerminatedCauseChildPolicyApplied is a WorkflowExecutionTerminatedCause enum value + WorkflowExecutionTerminatedCauseChildPolicyApplied = "CHILD_POLICY_APPLIED" + + // WorkflowExecutionTerminatedCauseEventLimitExceeded is a WorkflowExecutionTerminatedCause enum value + WorkflowExecutionTerminatedCauseEventLimitExceeded = "EVENT_LIMIT_EXCEEDED" + + // WorkflowExecutionTerminatedCauseOperatorInitiated is a WorkflowExecutionTerminatedCause enum value + WorkflowExecutionTerminatedCauseOperatorInitiated = "OPERATOR_INITIATED" +) + +const ( + // WorkflowExecutionTimeoutTypeStartToClose is a WorkflowExecutionTimeoutType enum value + WorkflowExecutionTimeoutTypeStartToClose = "START_TO_CLOSE" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/swf/doc.go b/vendor/github.com/aws/aws-sdk-go/service/swf/doc.go new file mode 100644 index 00000000000..bbb8f45ab5c --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/swf/doc.go @@ -0,0 +1,38 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package swf provides the client and types for making API +// requests to Amazon Simple Workflow Service. +// +// The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications +// that use Amazon's cloud to coordinate work across distributed components. +// In Amazon SWF, a task represents a logical unit of work that is performed +// by a component of your workflow. Coordinating tasks in a workflow involves +// managing intertask dependencies, scheduling, and concurrency in accordance +// with the logical flow of the application. +// +// Amazon SWF gives you full control over implementing tasks and coordinating +// them without worrying about underlying complexities such as tracking their +// progress and maintaining their state. +// +// This documentation serves as reference only. For a broader overview of the +// Amazon SWF programming model, see the Amazon SWF Developer Guide (http://docs.aws.amazon.com/amazonswf/latest/developerguide/). +// +// See swf package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/swf/ +// +// Using the Client +// +// To contact Amazon Simple Workflow Service with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the Amazon Simple Workflow Service client SWF for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/swf/#New +package swf diff --git a/vendor/github.com/aws/aws-sdk-go/service/swf/errors.go b/vendor/github.com/aws/aws-sdk-go/service/swf/errors.go new file mode 100644 index 00000000000..7baff0daf68 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/swf/errors.go @@ -0,0 +1,80 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package swf + +const ( + + // ErrCodeDefaultUndefinedFault for service response error code + // "DefaultUndefinedFault". + // + // The StartWorkflowExecution API action was called without the required parameters + // set. + // + // Some workflow execution parameters, such as the decision taskList, must be + // set to start the execution. However, these parameters might have been set + // as defaults when the workflow type was registered. In this case, you can + // omit these parameters from the StartWorkflowExecution call and Amazon SWF + // uses the values defined in the workflow type. + // + // If these parameters aren't set and no default parameters were defined in + // the workflow type, this error is displayed. + ErrCodeDefaultUndefinedFault = "DefaultUndefinedFault" + + // ErrCodeDomainAlreadyExistsFault for service response error code + // "DomainAlreadyExistsFault". + // + // Returned if the specified domain already exists. You get this fault even + // if the existing domain is in deprecated status. + ErrCodeDomainAlreadyExistsFault = "DomainAlreadyExistsFault" + + // ErrCodeDomainDeprecatedFault for service response error code + // "DomainDeprecatedFault". + // + // Returned when the specified domain has been deprecated. + ErrCodeDomainDeprecatedFault = "DomainDeprecatedFault" + + // ErrCodeLimitExceededFault for service response error code + // "LimitExceededFault". + // + // Returned by any operation if a system imposed limitation has been reached. + // To address this fault you should either clean up unused resources or increase + // the limit by contacting AWS. + ErrCodeLimitExceededFault = "LimitExceededFault" + + // ErrCodeOperationNotPermittedFault for service response error code + // "OperationNotPermittedFault". + // + // Returned when the caller doesn't have sufficient permissions to invoke the + // action. + ErrCodeOperationNotPermittedFault = "OperationNotPermittedFault" + + // ErrCodeTypeAlreadyExistsFault for service response error code + // "TypeAlreadyExistsFault". + // + // Returned if the type already exists in the specified domain. You get this + // fault even if the existing type is in deprecated status. You can specify + // another version if the intent is to create a new distinct version of the + // type. + ErrCodeTypeAlreadyExistsFault = "TypeAlreadyExistsFault" + + // ErrCodeTypeDeprecatedFault for service response error code + // "TypeDeprecatedFault". + // + // Returned when the specified activity or workflow type was already deprecated. + ErrCodeTypeDeprecatedFault = "TypeDeprecatedFault" + + // ErrCodeUnknownResourceFault for service response error code + // "UnknownResourceFault". + // + // Returned when the named resource cannot be found with in the scope of this + // operation (region or domain). This could happen if the named resource was + // never created or is no longer available for this operation. + ErrCodeUnknownResourceFault = "UnknownResourceFault" + + // ErrCodeWorkflowExecutionAlreadyStartedFault for service response error code + // "WorkflowExecutionAlreadyStartedFault". + // + // Returned by StartWorkflowExecution when an open execution with the same workflowId + // is already running in the specified domain. + ErrCodeWorkflowExecutionAlreadyStartedFault = "WorkflowExecutionAlreadyStartedFault" +) diff --git a/vendor/github.com/aws/aws-sdk-go/service/swf/service.go b/vendor/github.com/aws/aws-sdk-go/service/swf/service.go new file mode 100644 index 00000000000..ac85f412c7a --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/swf/service.go @@ -0,0 +1,95 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package swf + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol/jsonrpc" +) + +// SWF provides the API operation methods for making requests to +// Amazon Simple Workflow Service. See this package's package overview docs +// for details on the service. +// +// SWF methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type SWF struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "swf" // Service endpoint prefix API calls made to. + EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. +) + +// New creates a new instance of the SWF client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// // Create a SWF client from just a session. +// svc := swf.New(mySession) +// +// // Create a SWF client with additional configuration +// svc := swf.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *SWF { + c := p.ClientConfig(EndpointsID, cfgs...) + return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *SWF { + svc := &SWF{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + SigningName: signingName, + SigningRegion: signingRegion, + Endpoint: endpoint, + APIVersion: "2012-01-25", + JSONVersion: "1.0", + TargetPrefix: "SimpleWorkflowService", + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(jsonrpc.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(jsonrpc.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(jsonrpc.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed(jsonrpc.UnmarshalErrorHandler) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a SWF operation and runs any +// custom request initialization. +func (c *SWF) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/waf/api.go b/vendor/github.com/aws/aws-sdk-go/service/waf/api.go index c6aa1c4c680..a37b373de7f 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/waf/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/waf/api.go @@ -36,7 +36,7 @@ const opCreateByteMatchSet = "CreateByteMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateByteMatchSet func (c *WAF) CreateByteMatchSetRequest(input *CreateByteMatchSetInput) (req *request.Request, output *CreateByteMatchSetOutput) { op := &request.Operation{ Name: opCreateByteMatchSet, @@ -136,7 +136,7 @@ func (c *WAF) CreateByteMatchSetRequest(input *CreateByteMatchSetInput) (req *re // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateByteMatchSet func (c *WAF) CreateByteMatchSet(input *CreateByteMatchSetInput) (*CreateByteMatchSetOutput, error) { req, out := c.CreateByteMatchSetRequest(input) return out, req.Send() @@ -183,7 +183,7 @@ const opCreateGeoMatchSet = "CreateGeoMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateGeoMatchSet func (c *WAF) CreateGeoMatchSetRequest(input *CreateGeoMatchSetInput) (req *request.Request, output *CreateGeoMatchSetOutput) { op := &request.Operation{ Name: opCreateGeoMatchSet, @@ -282,7 +282,7 @@ func (c *WAF) CreateGeoMatchSetRequest(input *CreateGeoMatchSetInput) (req *requ // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateGeoMatchSet func (c *WAF) CreateGeoMatchSet(input *CreateGeoMatchSetInput) (*CreateGeoMatchSetOutput, error) { req, out := c.CreateGeoMatchSetRequest(input) return out, req.Send() @@ -329,7 +329,7 @@ const opCreateIPSet = "CreateIPSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateIPSet func (c *WAF) CreateIPSetRequest(input *CreateIPSetInput) (req *request.Request, output *CreateIPSetOutput) { op := &request.Operation{ Name: opCreateIPSet, @@ -429,7 +429,7 @@ func (c *WAF) CreateIPSetRequest(input *CreateIPSetInput) (req *request.Request, // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateIPSet func (c *WAF) CreateIPSet(input *CreateIPSetInput) (*CreateIPSetOutput, error) { req, out := c.CreateIPSetRequest(input) return out, req.Send() @@ -476,7 +476,7 @@ const opCreateRateBasedRule = "CreateRateBasedRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRateBasedRule func (c *WAF) CreateRateBasedRuleRequest(input *CreateRateBasedRuleInput) (req *request.Request, output *CreateRateBasedRuleOutput) { op := &request.Operation{ Name: opCreateRateBasedRule, @@ -611,7 +611,7 @@ func (c *WAF) CreateRateBasedRuleRequest(input *CreateRateBasedRuleInput) (req * // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRateBasedRule func (c *WAF) CreateRateBasedRule(input *CreateRateBasedRuleInput) (*CreateRateBasedRuleOutput, error) { req, out := c.CreateRateBasedRuleRequest(input) return out, req.Send() @@ -658,7 +658,7 @@ const opCreateRegexMatchSet = "CreateRegexMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexMatchSet func (c *WAF) CreateRegexMatchSetRequest(input *CreateRegexMatchSetInput) (req *request.Request, output *CreateRegexMatchSetOutput) { op := &request.Operation{ Name: opCreateRegexMatchSet, @@ -726,7 +726,7 @@ func (c *WAF) CreateRegexMatchSetRequest(input *CreateRegexMatchSetInput) (req * // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexMatchSet func (c *WAF) CreateRegexMatchSet(input *CreateRegexMatchSetInput) (*CreateRegexMatchSetOutput, error) { req, out := c.CreateRegexMatchSetRequest(input) return out, req.Send() @@ -773,7 +773,7 @@ const opCreateRegexPatternSet = "CreateRegexPatternSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexPatternSet func (c *WAF) CreateRegexPatternSetRequest(input *CreateRegexPatternSetInput) (req *request.Request, output *CreateRegexPatternSetOutput) { op := &request.Operation{ Name: opCreateRegexPatternSet, @@ -837,7 +837,7 @@ func (c *WAF) CreateRegexPatternSetRequest(input *CreateRegexPatternSetInput) (r // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexPatternSet func (c *WAF) CreateRegexPatternSet(input *CreateRegexPatternSetInput) (*CreateRegexPatternSetOutput, error) { req, out := c.CreateRegexPatternSetRequest(input) return out, req.Send() @@ -884,7 +884,7 @@ const opCreateRule = "CreateRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRule func (c *WAF) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, output *CreateRuleOutput) { op := &request.Operation{ Name: opCreateRule, @@ -994,7 +994,7 @@ func (c *WAF) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, o // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRule func (c *WAF) CreateRule(input *CreateRuleInput) (*CreateRuleOutput, error) { req, out := c.CreateRuleRequest(input) return out, req.Send() @@ -1016,6 +1016,112 @@ func (c *WAF) CreateRuleWithContext(ctx aws.Context, input *CreateRuleInput, opt return out, req.Send() } +const opCreateRuleGroup = "CreateRuleGroup" + +// CreateRuleGroupRequest generates a "aws/request.Request" representing the +// client's request for the CreateRuleGroup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateRuleGroup for more information on using the CreateRuleGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateRuleGroupRequest method. +// req, resp := client.CreateRuleGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleGroup +func (c *WAF) CreateRuleGroupRequest(input *CreateRuleGroupInput) (req *request.Request, output *CreateRuleGroupOutput) { + op := &request.Operation{ + Name: opCreateRuleGroup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateRuleGroupInput{} + } + + output = &CreateRuleGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateRuleGroup API operation for AWS WAF. +// +// Creates a RuleGroup. A rule group is a collection of predefined rules that +// you add to a web ACL. You use UpdateRuleGroup to add rules to the rule group. +// +// Rule groups are subject to the following limits: +// +// * Three rule groups per account. You can request an increase to this limit +// by contacting customer support. +// +// * One rule group per web ACL. +// +// * Ten rules per rule group. +// +// For more information about how to use the AWS WAF API to allow or block HTTP +// requests, see the AWS WAF Developer Guide (http://docs.aws.amazon.com/waf/latest/developerguide/). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS WAF's +// API operation CreateRuleGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeStaleDataException "StaleDataException" +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// * ErrCodeDisallowedNameException "DisallowedNameException" +// The name specified is invalid. +// +// * ErrCodeLimitsExceededException "LimitsExceededException" +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleGroup +func (c *WAF) CreateRuleGroup(input *CreateRuleGroupInput) (*CreateRuleGroupOutput, error) { + req, out := c.CreateRuleGroupRequest(input) + return out, req.Send() +} + +// CreateRuleGroupWithContext is the same as CreateRuleGroup with the addition of +// the ability to pass a context and additional request options. +// +// See CreateRuleGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WAF) CreateRuleGroupWithContext(ctx aws.Context, input *CreateRuleGroupInput, opts ...request.Option) (*CreateRuleGroupOutput, error) { + req, out := c.CreateRuleGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateSizeConstraintSet = "CreateSizeConstraintSet" // CreateSizeConstraintSetRequest generates a "aws/request.Request" representing the @@ -1041,7 +1147,7 @@ const opCreateSizeConstraintSet = "CreateSizeConstraintSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSizeConstraintSet func (c *WAF) CreateSizeConstraintSetRequest(input *CreateSizeConstraintSetInput) (req *request.Request, output *CreateSizeConstraintSetOutput) { op := &request.Operation{ Name: opCreateSizeConstraintSet, @@ -1142,7 +1248,7 @@ func (c *WAF) CreateSizeConstraintSetRequest(input *CreateSizeConstraintSetInput // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSizeConstraintSet func (c *WAF) CreateSizeConstraintSet(input *CreateSizeConstraintSetInput) (*CreateSizeConstraintSetOutput, error) { req, out := c.CreateSizeConstraintSetRequest(input) return out, req.Send() @@ -1189,7 +1295,7 @@ const opCreateSqlInjectionMatchSet = "CreateSqlInjectionMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSqlInjectionMatchSet func (c *WAF) CreateSqlInjectionMatchSetRequest(input *CreateSqlInjectionMatchSetInput) (req *request.Request, output *CreateSqlInjectionMatchSetOutput) { op := &request.Operation{ Name: opCreateSqlInjectionMatchSet, @@ -1286,7 +1392,7 @@ func (c *WAF) CreateSqlInjectionMatchSetRequest(input *CreateSqlInjectionMatchSe // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSqlInjectionMatchSet func (c *WAF) CreateSqlInjectionMatchSet(input *CreateSqlInjectionMatchSetInput) (*CreateSqlInjectionMatchSetOutput, error) { req, out := c.CreateSqlInjectionMatchSetRequest(input) return out, req.Send() @@ -1333,7 +1439,7 @@ const opCreateWebACL = "CreateWebACL" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACL func (c *WAF) CreateWebACLRequest(input *CreateWebACLInput) (req *request.Request, output *CreateWebACLOutput) { op := &request.Operation{ Name: opCreateWebACL, @@ -1442,7 +1548,7 @@ func (c *WAF) CreateWebACLRequest(input *CreateWebACLInput) (req *request.Reques // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACL func (c *WAF) CreateWebACL(input *CreateWebACLInput) (*CreateWebACLOutput, error) { req, out := c.CreateWebACLRequest(input) return out, req.Send() @@ -1489,7 +1595,7 @@ const opCreateXssMatchSet = "CreateXssMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateXssMatchSet func (c *WAF) CreateXssMatchSetRequest(input *CreateXssMatchSetInput) (req *request.Request, output *CreateXssMatchSetOutput) { op := &request.Operation{ Name: opCreateXssMatchSet, @@ -1587,7 +1693,7 @@ func (c *WAF) CreateXssMatchSetRequest(input *CreateXssMatchSetInput) (req *requ // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateXssMatchSet func (c *WAF) CreateXssMatchSet(input *CreateXssMatchSetInput) (*CreateXssMatchSetOutput, error) { req, out := c.CreateXssMatchSetRequest(input) return out, req.Send() @@ -1634,7 +1740,7 @@ const opDeleteByteMatchSet = "DeleteByteMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteByteMatchSet func (c *WAF) DeleteByteMatchSetRequest(input *DeleteByteMatchSetInput) (req *request.Request, output *DeleteByteMatchSetOutput) { op := &request.Operation{ Name: opDeleteByteMatchSet, @@ -1714,7 +1820,7 @@ func (c *WAF) DeleteByteMatchSetRequest(input *DeleteByteMatchSetInput) (req *re // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteByteMatchSet func (c *WAF) DeleteByteMatchSet(input *DeleteByteMatchSetInput) (*DeleteByteMatchSetOutput, error) { req, out := c.DeleteByteMatchSetRequest(input) return out, req.Send() @@ -1761,7 +1867,7 @@ const opDeleteGeoMatchSet = "DeleteGeoMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteGeoMatchSet func (c *WAF) DeleteGeoMatchSetRequest(input *DeleteGeoMatchSetInput) (req *request.Request, output *DeleteGeoMatchSetOutput) { op := &request.Operation{ Name: opDeleteGeoMatchSet, @@ -1840,7 +1946,7 @@ func (c *WAF) DeleteGeoMatchSetRequest(input *DeleteGeoMatchSetInput) (req *requ // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteGeoMatchSet func (c *WAF) DeleteGeoMatchSet(input *DeleteGeoMatchSetInput) (*DeleteGeoMatchSetOutput, error) { req, out := c.DeleteGeoMatchSetRequest(input) return out, req.Send() @@ -1887,7 +1993,7 @@ const opDeleteIPSet = "DeleteIPSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteIPSet func (c *WAF) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Request, output *DeleteIPSetOutput) { op := &request.Operation{ Name: opDeleteIPSet, @@ -1966,7 +2072,7 @@ func (c *WAF) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Request, // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteIPSet func (c *WAF) DeleteIPSet(input *DeleteIPSetInput) (*DeleteIPSetOutput, error) { req, out := c.DeleteIPSetRequest(input) return out, req.Send() @@ -2013,7 +2119,7 @@ const opDeleteRateBasedRule = "DeleteRateBasedRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRateBasedRule func (c *WAF) DeleteRateBasedRuleRequest(input *DeleteRateBasedRuleInput) (req *request.Request, output *DeleteRateBasedRuleOutput) { op := &request.Operation{ Name: opDeleteRateBasedRule, @@ -2094,7 +2200,7 @@ func (c *WAF) DeleteRateBasedRuleRequest(input *DeleteRateBasedRuleInput) (req * // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRateBasedRule func (c *WAF) DeleteRateBasedRule(input *DeleteRateBasedRuleInput) (*DeleteRateBasedRuleOutput, error) { req, out := c.DeleteRateBasedRuleRequest(input) return out, req.Send() @@ -2141,7 +2247,7 @@ const opDeleteRegexMatchSet = "DeleteRegexMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexMatchSet func (c *WAF) DeleteRegexMatchSetRequest(input *DeleteRegexMatchSetInput) (req *request.Request, output *DeleteRegexMatchSetOutput) { op := &request.Operation{ Name: opDeleteRegexMatchSet, @@ -2221,7 +2327,7 @@ func (c *WAF) DeleteRegexMatchSetRequest(input *DeleteRegexMatchSetInput) (req * // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexMatchSet func (c *WAF) DeleteRegexMatchSet(input *DeleteRegexMatchSetInput) (*DeleteRegexMatchSetOutput, error) { req, out := c.DeleteRegexMatchSetRequest(input) return out, req.Send() @@ -2268,7 +2374,7 @@ const opDeleteRegexPatternSet = "DeleteRegexPatternSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexPatternSet func (c *WAF) DeleteRegexPatternSetRequest(input *DeleteRegexPatternSetInput) (req *request.Request, output *DeleteRegexPatternSetOutput) { op := &request.Operation{ Name: opDeleteRegexPatternSet, @@ -2336,7 +2442,7 @@ func (c *WAF) DeleteRegexPatternSetRequest(input *DeleteRegexPatternSetInput) (r // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexPatternSet func (c *WAF) DeleteRegexPatternSet(input *DeleteRegexPatternSetInput) (*DeleteRegexPatternSetOutput, error) { req, out := c.DeleteRegexPatternSetRequest(input) return out, req.Send() @@ -2383,7 +2489,7 @@ const opDeleteRule = "DeleteRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRule func (c *WAF) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, output *DeleteRuleOutput) { op := &request.Operation{ Name: opDeleteRule, @@ -2462,7 +2568,7 @@ func (c *WAF) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, o // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRule func (c *WAF) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error) { req, out := c.DeleteRuleRequest(input) return out, req.Send() @@ -2484,6 +2590,127 @@ func (c *WAF) DeleteRuleWithContext(ctx aws.Context, input *DeleteRuleInput, opt return out, req.Send() } +const opDeleteRuleGroup = "DeleteRuleGroup" + +// DeleteRuleGroupRequest generates a "aws/request.Request" representing the +// client's request for the DeleteRuleGroup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteRuleGroup for more information on using the DeleteRuleGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteRuleGroupRequest method. +// req, resp := client.DeleteRuleGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRuleGroup +func (c *WAF) DeleteRuleGroupRequest(input *DeleteRuleGroupInput) (req *request.Request, output *DeleteRuleGroupOutput) { + op := &request.Operation{ + Name: opDeleteRuleGroup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteRuleGroupInput{} + } + + output = &DeleteRuleGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteRuleGroup API operation for AWS WAF. +// +// Permanently deletes a RuleGroup. You can't delete a RuleGroup if it's still +// used in any WebACL objects or if it still includes any rules. +// +// If you just want to remove a RuleGroup from a WebACL, use UpdateWebACL. +// +// To permanently delete a RuleGroup from AWS WAF, perform the following steps: +// +// Update the RuleGroup to remove rules, if any. For more information, see UpdateRuleGroup. +// +// Use GetChangeToken to get the change token that you provide in the ChangeToken +// parameter of a DeleteRuleGroup request. +// +// Submit a DeleteRuleGroup request. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS WAF's +// API operation DeleteRuleGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeStaleDataException "StaleDataException" +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// * ErrCodeNonexistentItemException "NonexistentItemException" +// The operation failed because the referenced object doesn't exist. +// +// * ErrCodeReferencedItemException "ReferencedItemException" +// The operation failed because you tried to delete an object that is still +// in use. For example: +// +// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// +// * You tried to delete a Rule that is still referenced by a WebACL. +// +// * ErrCodeNonEmptyEntityException "NonEmptyEntityException" +// The operation failed because you tried to delete an object that isn't empty. +// For example: +// +// * You tried to delete a WebACL that still contains one or more Rule objects. +// +// * You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. +// +// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. +// +// * You tried to delete an IPSet that references one or more IP addresses. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRuleGroup +func (c *WAF) DeleteRuleGroup(input *DeleteRuleGroupInput) (*DeleteRuleGroupOutput, error) { + req, out := c.DeleteRuleGroupRequest(input) + return out, req.Send() +} + +// DeleteRuleGroupWithContext is the same as DeleteRuleGroup with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteRuleGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WAF) DeleteRuleGroupWithContext(ctx aws.Context, input *DeleteRuleGroupInput, opts ...request.Option) (*DeleteRuleGroupOutput, error) { + req, out := c.DeleteRuleGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteSizeConstraintSet = "DeleteSizeConstraintSet" // DeleteSizeConstraintSetRequest generates a "aws/request.Request" representing the @@ -2509,7 +2736,7 @@ const opDeleteSizeConstraintSet = "DeleteSizeConstraintSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSizeConstraintSet func (c *WAF) DeleteSizeConstraintSetRequest(input *DeleteSizeConstraintSetInput) (req *request.Request, output *DeleteSizeConstraintSetOutput) { op := &request.Operation{ Name: opDeleteSizeConstraintSet, @@ -2589,7 +2816,7 @@ func (c *WAF) DeleteSizeConstraintSetRequest(input *DeleteSizeConstraintSetInput // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSizeConstraintSet func (c *WAF) DeleteSizeConstraintSet(input *DeleteSizeConstraintSetInput) (*DeleteSizeConstraintSetOutput, error) { req, out := c.DeleteSizeConstraintSetRequest(input) return out, req.Send() @@ -2636,7 +2863,7 @@ const opDeleteSqlInjectionMatchSet = "DeleteSqlInjectionMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSqlInjectionMatchSet func (c *WAF) DeleteSqlInjectionMatchSetRequest(input *DeleteSqlInjectionMatchSetInput) (req *request.Request, output *DeleteSqlInjectionMatchSetOutput) { op := &request.Operation{ Name: opDeleteSqlInjectionMatchSet, @@ -2717,7 +2944,7 @@ func (c *WAF) DeleteSqlInjectionMatchSetRequest(input *DeleteSqlInjectionMatchSe // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSqlInjectionMatchSet func (c *WAF) DeleteSqlInjectionMatchSet(input *DeleteSqlInjectionMatchSetInput) (*DeleteSqlInjectionMatchSetOutput, error) { req, out := c.DeleteSqlInjectionMatchSetRequest(input) return out, req.Send() @@ -2764,7 +2991,7 @@ const opDeleteWebACL = "DeleteWebACL" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteWebACL func (c *WAF) DeleteWebACLRequest(input *DeleteWebACLInput) (req *request.Request, output *DeleteWebACLOutput) { op := &request.Operation{ Name: opDeleteWebACL, @@ -2840,7 +3067,7 @@ func (c *WAF) DeleteWebACLRequest(input *DeleteWebACLInput) (req *request.Reques // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteWebACL func (c *WAF) DeleteWebACL(input *DeleteWebACLInput) (*DeleteWebACLOutput, error) { req, out := c.DeleteWebACLRequest(input) return out, req.Send() @@ -2887,7 +3114,7 @@ const opDeleteXssMatchSet = "DeleteXssMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteXssMatchSet func (c *WAF) DeleteXssMatchSetRequest(input *DeleteXssMatchSetInput) (req *request.Request, output *DeleteXssMatchSetOutput) { op := &request.Operation{ Name: opDeleteXssMatchSet, @@ -2967,7 +3194,7 @@ func (c *WAF) DeleteXssMatchSetRequest(input *DeleteXssMatchSetInput) (req *requ // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteXssMatchSet func (c *WAF) DeleteXssMatchSet(input *DeleteXssMatchSetInput) (*DeleteXssMatchSetOutput, error) { req, out := c.DeleteXssMatchSetRequest(input) return out, req.Send() @@ -3014,7 +3241,7 @@ const opGetByteMatchSet = "GetByteMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetByteMatchSet func (c *WAF) GetByteMatchSetRequest(input *GetByteMatchSetInput) (req *request.Request, output *GetByteMatchSetOutput) { op := &request.Operation{ Name: opGetByteMatchSet, @@ -3054,7 +3281,7 @@ func (c *WAF) GetByteMatchSetRequest(input *GetByteMatchSetInput) (req *request. // * ErrCodeNonexistentItemException "NonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetByteMatchSet func (c *WAF) GetByteMatchSet(input *GetByteMatchSetInput) (*GetByteMatchSetOutput, error) { req, out := c.GetByteMatchSetRequest(input) return out, req.Send() @@ -3101,7 +3328,7 @@ const opGetChangeToken = "GetChangeToken" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeToken +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeToken func (c *WAF) GetChangeTokenRequest(input *GetChangeTokenInput) (req *request.Request, output *GetChangeTokenOutput) { op := &request.Operation{ Name: opGetChangeToken, @@ -3148,7 +3375,7 @@ func (c *WAF) GetChangeTokenRequest(input *GetChangeTokenInput) (req *request.Re // The operation failed because of a system problem, even though the request // was valid. Retry your request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeToken +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeToken func (c *WAF) GetChangeToken(input *GetChangeTokenInput) (*GetChangeTokenOutput, error) { req, out := c.GetChangeTokenRequest(input) return out, req.Send() @@ -3195,7 +3422,7 @@ const opGetChangeTokenStatus = "GetChangeTokenStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenStatus func (c *WAF) GetChangeTokenStatusRequest(input *GetChangeTokenStatusInput) (req *request.Request, output *GetChangeTokenStatusOutput) { op := &request.Operation{ Name: opGetChangeTokenStatus, @@ -3241,7 +3468,7 @@ func (c *WAF) GetChangeTokenStatusRequest(input *GetChangeTokenStatusInput) (req // The operation failed because of a system problem, even though the request // was valid. Retry your request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenStatus func (c *WAF) GetChangeTokenStatus(input *GetChangeTokenStatusInput) (*GetChangeTokenStatusOutput, error) { req, out := c.GetChangeTokenStatusRequest(input) return out, req.Send() @@ -3288,7 +3515,7 @@ const opGetGeoMatchSet = "GetGeoMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetGeoMatchSet func (c *WAF) GetGeoMatchSetRequest(input *GetGeoMatchSetInput) (req *request.Request, output *GetGeoMatchSetOutput) { op := &request.Operation{ Name: opGetGeoMatchSet, @@ -3328,7 +3555,7 @@ func (c *WAF) GetGeoMatchSetRequest(input *GetGeoMatchSetInput) (req *request.Re // * ErrCodeNonexistentItemException "NonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetGeoMatchSet func (c *WAF) GetGeoMatchSet(input *GetGeoMatchSetInput) (*GetGeoMatchSetOutput, error) { req, out := c.GetGeoMatchSetRequest(input) return out, req.Send() @@ -3375,7 +3602,7 @@ const opGetIPSet = "GetIPSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetIPSet func (c *WAF) GetIPSetRequest(input *GetIPSetInput) (req *request.Request, output *GetIPSetOutput) { op := &request.Operation{ Name: opGetIPSet, @@ -3415,7 +3642,7 @@ func (c *WAF) GetIPSetRequest(input *GetIPSetInput) (req *request.Request, outpu // * ErrCodeNonexistentItemException "NonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetIPSet func (c *WAF) GetIPSet(input *GetIPSetInput) (*GetIPSetOutput, error) { req, out := c.GetIPSetRequest(input) return out, req.Send() @@ -3462,7 +3689,7 @@ const opGetRateBasedRule = "GetRateBasedRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRule func (c *WAF) GetRateBasedRuleRequest(input *GetRateBasedRuleInput) (req *request.Request, output *GetRateBasedRuleOutput) { op := &request.Operation{ Name: opGetRateBasedRule, @@ -3503,7 +3730,7 @@ func (c *WAF) GetRateBasedRuleRequest(input *GetRateBasedRuleInput) (req *reques // * ErrCodeNonexistentItemException "NonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRule func (c *WAF) GetRateBasedRule(input *GetRateBasedRuleInput) (*GetRateBasedRuleOutput, error) { req, out := c.GetRateBasedRuleRequest(input) return out, req.Send() @@ -3550,7 +3777,7 @@ const opGetRateBasedRuleManagedKeys = "GetRateBasedRuleManagedKeys" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleManagedKeys +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleManagedKeys func (c *WAF) GetRateBasedRuleManagedKeysRequest(input *GetRateBasedRuleManagedKeysInput) (req *request.Request, output *GetRateBasedRuleManagedKeysOutput) { op := &request.Operation{ Name: opGetRateBasedRuleManagedKeys, @@ -3622,7 +3849,7 @@ func (c *WAF) GetRateBasedRuleManagedKeysRequest(input *GetRateBasedRuleManagedK // * Your request references an ARN that is malformed, or corresponds to // a resource with which a web ACL cannot be associated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleManagedKeys +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleManagedKeys func (c *WAF) GetRateBasedRuleManagedKeys(input *GetRateBasedRuleManagedKeysInput) (*GetRateBasedRuleManagedKeysOutput, error) { req, out := c.GetRateBasedRuleManagedKeysRequest(input) return out, req.Send() @@ -3669,7 +3896,7 @@ const opGetRegexMatchSet = "GetRegexMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexMatchSet func (c *WAF) GetRegexMatchSetRequest(input *GetRegexMatchSetInput) (req *request.Request, output *GetRegexMatchSetOutput) { op := &request.Operation{ Name: opGetRegexMatchSet, @@ -3709,7 +3936,7 @@ func (c *WAF) GetRegexMatchSetRequest(input *GetRegexMatchSetInput) (req *reques // * ErrCodeNonexistentItemException "NonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexMatchSet func (c *WAF) GetRegexMatchSet(input *GetRegexMatchSetInput) (*GetRegexMatchSetOutput, error) { req, out := c.GetRegexMatchSetRequest(input) return out, req.Send() @@ -3756,7 +3983,7 @@ const opGetRegexPatternSet = "GetRegexPatternSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexPatternSet func (c *WAF) GetRegexPatternSetRequest(input *GetRegexPatternSetInput) (req *request.Request, output *GetRegexPatternSetOutput) { op := &request.Operation{ Name: opGetRegexPatternSet, @@ -3796,7 +4023,7 @@ func (c *WAF) GetRegexPatternSetRequest(input *GetRegexPatternSetInput) (req *re // * ErrCodeNonexistentItemException "NonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexPatternSet func (c *WAF) GetRegexPatternSet(input *GetRegexPatternSetInput) (*GetRegexPatternSetOutput, error) { req, out := c.GetRegexPatternSetRequest(input) return out, req.Send() @@ -3843,7 +4070,7 @@ const opGetRule = "GetRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRule func (c *WAF) GetRuleRequest(input *GetRuleInput) (req *request.Request, output *GetRuleOutput) { op := &request.Operation{ Name: opGetRule, @@ -3884,7 +4111,7 @@ func (c *WAF) GetRuleRequest(input *GetRuleInput) (req *request.Request, output // * ErrCodeNonexistentItemException "NonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRule func (c *WAF) GetRule(input *GetRuleInput) (*GetRuleOutput, error) { req, out := c.GetRuleRequest(input) return out, req.Send() @@ -3906,6 +4133,92 @@ func (c *WAF) GetRuleWithContext(ctx aws.Context, input *GetRuleInput, opts ...r return out, req.Send() } +const opGetRuleGroup = "GetRuleGroup" + +// GetRuleGroupRequest generates a "aws/request.Request" representing the +// client's request for the GetRuleGroup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetRuleGroup for more information on using the GetRuleGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetRuleGroupRequest method. +// req, resp := client.GetRuleGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRuleGroup +func (c *WAF) GetRuleGroupRequest(input *GetRuleGroupInput) (req *request.Request, output *GetRuleGroupOutput) { + op := &request.Operation{ + Name: opGetRuleGroup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetRuleGroupInput{} + } + + output = &GetRuleGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetRuleGroup API operation for AWS WAF. +// +// Returns the RuleGroup that is specified by the RuleGroupId that you included +// in the GetRuleGroup request. +// +// To view the rules in a rule group, use ListActivatedRulesInRuleGroup. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS WAF's +// API operation GetRuleGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalErrorException "InternalErrorException" +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// * ErrCodeNonexistentItemException "NonexistentItemException" +// The operation failed because the referenced object doesn't exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRuleGroup +func (c *WAF) GetRuleGroup(input *GetRuleGroupInput) (*GetRuleGroupOutput, error) { + req, out := c.GetRuleGroupRequest(input) + return out, req.Send() +} + +// GetRuleGroupWithContext is the same as GetRuleGroup with the addition of +// the ability to pass a context and additional request options. +// +// See GetRuleGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WAF) GetRuleGroupWithContext(ctx aws.Context, input *GetRuleGroupInput, opts ...request.Option) (*GetRuleGroupOutput, error) { + req, out := c.GetRuleGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetSampledRequests = "GetSampledRequests" // GetSampledRequestsRequest generates a "aws/request.Request" representing the @@ -3931,7 +4244,7 @@ const opGetSampledRequests = "GetSampledRequests" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSampledRequests +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSampledRequests func (c *WAF) GetSampledRequestsRequest(input *GetSampledRequestsInput) (req *request.Request, output *GetSampledRequestsOutput) { op := &request.Operation{ Name: opGetSampledRequests, @@ -3977,7 +4290,7 @@ func (c *WAF) GetSampledRequestsRequest(input *GetSampledRequestsInput) (req *re // The operation failed because of a system problem, even though the request // was valid. Retry your request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSampledRequests +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSampledRequests func (c *WAF) GetSampledRequests(input *GetSampledRequestsInput) (*GetSampledRequestsOutput, error) { req, out := c.GetSampledRequestsRequest(input) return out, req.Send() @@ -4024,7 +4337,7 @@ const opGetSizeConstraintSet = "GetSizeConstraintSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSizeConstraintSet func (c *WAF) GetSizeConstraintSetRequest(input *GetSizeConstraintSetInput) (req *request.Request, output *GetSizeConstraintSetOutput) { op := &request.Operation{ Name: opGetSizeConstraintSet, @@ -4064,7 +4377,7 @@ func (c *WAF) GetSizeConstraintSetRequest(input *GetSizeConstraintSetInput) (req // * ErrCodeNonexistentItemException "NonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSizeConstraintSet func (c *WAF) GetSizeConstraintSet(input *GetSizeConstraintSetInput) (*GetSizeConstraintSetOutput, error) { req, out := c.GetSizeConstraintSetRequest(input) return out, req.Send() @@ -4111,7 +4424,7 @@ const opGetSqlInjectionMatchSet = "GetSqlInjectionMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSqlInjectionMatchSet func (c *WAF) GetSqlInjectionMatchSetRequest(input *GetSqlInjectionMatchSetInput) (req *request.Request, output *GetSqlInjectionMatchSetOutput) { op := &request.Operation{ Name: opGetSqlInjectionMatchSet, @@ -4151,7 +4464,7 @@ func (c *WAF) GetSqlInjectionMatchSetRequest(input *GetSqlInjectionMatchSetInput // * ErrCodeNonexistentItemException "NonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSqlInjectionMatchSet func (c *WAF) GetSqlInjectionMatchSet(input *GetSqlInjectionMatchSetInput) (*GetSqlInjectionMatchSetOutput, error) { req, out := c.GetSqlInjectionMatchSetRequest(input) return out, req.Send() @@ -4198,7 +4511,7 @@ const opGetWebACL = "GetWebACL" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetWebACL func (c *WAF) GetWebACLRequest(input *GetWebACLInput) (req *request.Request, output *GetWebACLOutput) { op := &request.Operation{ Name: opGetWebACL, @@ -4238,7 +4551,7 @@ func (c *WAF) GetWebACLRequest(input *GetWebACLInput) (req *request.Request, out // * ErrCodeNonexistentItemException "NonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetWebACL func (c *WAF) GetWebACL(input *GetWebACLInput) (*GetWebACLOutput, error) { req, out := c.GetWebACLRequest(input) return out, req.Send() @@ -4285,7 +4598,7 @@ const opGetXssMatchSet = "GetXssMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetXssMatchSet func (c *WAF) GetXssMatchSetRequest(input *GetXssMatchSetInput) (req *request.Request, output *GetXssMatchSetOutput) { op := &request.Operation{ Name: opGetXssMatchSet, @@ -4325,7 +4638,7 @@ func (c *WAF) GetXssMatchSetRequest(input *GetXssMatchSetInput) (req *request.Re // * ErrCodeNonexistentItemException "NonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetXssMatchSet func (c *WAF) GetXssMatchSet(input *GetXssMatchSetInput) (*GetXssMatchSetOutput, error) { req, out := c.GetXssMatchSetRequest(input) return out, req.Send() @@ -4347,71 +4660,183 @@ func (c *WAF) GetXssMatchSetWithContext(ctx aws.Context, input *GetXssMatchSetIn return out, req.Send() } -const opListByteMatchSets = "ListByteMatchSets" +const opListActivatedRulesInRuleGroup = "ListActivatedRulesInRuleGroup" -// ListByteMatchSetsRequest generates a "aws/request.Request" representing the -// client's request for the ListByteMatchSets operation. The "output" return +// ListActivatedRulesInRuleGroupRequest generates a "aws/request.Request" representing the +// client's request for the ListActivatedRulesInRuleGroup operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListByteMatchSets for more information on using the ListByteMatchSets +// See ListActivatedRulesInRuleGroup for more information on using the ListActivatedRulesInRuleGroup // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListByteMatchSetsRequest method. -// req, resp := client.ListByteMatchSetsRequest(params) +// // Example sending a request using the ListActivatedRulesInRuleGroupRequest method. +// req, resp := client.ListActivatedRulesInRuleGroupRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListByteMatchSets -func (c *WAF) ListByteMatchSetsRequest(input *ListByteMatchSetsInput) (req *request.Request, output *ListByteMatchSetsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListActivatedRulesInRuleGroup +func (c *WAF) ListActivatedRulesInRuleGroupRequest(input *ListActivatedRulesInRuleGroupInput) (req *request.Request, output *ListActivatedRulesInRuleGroupOutput) { op := &request.Operation{ - Name: opListByteMatchSets, + Name: opListActivatedRulesInRuleGroup, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &ListByteMatchSetsInput{} + input = &ListActivatedRulesInRuleGroupInput{} } - output = &ListByteMatchSetsOutput{} + output = &ListActivatedRulesInRuleGroupOutput{} req = c.newRequest(op, input, output) return } -// ListByteMatchSets API operation for AWS WAF. +// ListActivatedRulesInRuleGroup API operation for AWS WAF. // -// Returns an array of ByteMatchSetSummary objects. +// Returns an array of ActivatedRule objects. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS WAF's -// API operation ListByteMatchSets for usage and error information. +// API operation ListActivatedRulesInRuleGroup for usage and error information. // // Returned Error Codes: // * ErrCodeInternalErrorException "InternalErrorException" // The operation failed because of a system problem, even though the request // was valid. Retry your request. // -// * ErrCodeInvalidAccountException "InvalidAccountException" -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// * ErrCodeNonexistentItemException "NonexistentItemException" +// The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListByteMatchSets -func (c *WAF) ListByteMatchSets(input *ListByteMatchSetsInput) (*ListByteMatchSetsOutput, error) { - req, out := c.ListByteMatchSetsRequest(input) +// * ErrCodeInvalidParameterException "InvalidParameterException" +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: +// +// * You specified an invalid parameter name. +// +// * You specified an invalid value. +// +// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. +// +// * You tried to create a WebACL with a DefaultActionType other than ALLOW, +// BLOCK, or COUNT. +// +// * You tried to create a RateBasedRule with a RateKey value other than +// IP. +// +// * You tried to update a WebACL with a WafActionType other than ALLOW, +// BLOCK, or COUNT. +// +// * You tried to update a ByteMatchSet with a FieldToMatchType other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// +// * You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. +// +// * Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListActivatedRulesInRuleGroup +func (c *WAF) ListActivatedRulesInRuleGroup(input *ListActivatedRulesInRuleGroupInput) (*ListActivatedRulesInRuleGroupOutput, error) { + req, out := c.ListActivatedRulesInRuleGroupRequest(input) + return out, req.Send() +} + +// ListActivatedRulesInRuleGroupWithContext is the same as ListActivatedRulesInRuleGroup with the addition of +// the ability to pass a context and additional request options. +// +// See ListActivatedRulesInRuleGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WAF) ListActivatedRulesInRuleGroupWithContext(ctx aws.Context, input *ListActivatedRulesInRuleGroupInput, opts ...request.Option) (*ListActivatedRulesInRuleGroupOutput, error) { + req, out := c.ListActivatedRulesInRuleGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListByteMatchSets = "ListByteMatchSets" + +// ListByteMatchSetsRequest generates a "aws/request.Request" representing the +// client's request for the ListByteMatchSets operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListByteMatchSets for more information on using the ListByteMatchSets +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListByteMatchSetsRequest method. +// req, resp := client.ListByteMatchSetsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListByteMatchSets +func (c *WAF) ListByteMatchSetsRequest(input *ListByteMatchSetsInput) (req *request.Request, output *ListByteMatchSetsOutput) { + op := &request.Operation{ + Name: opListByteMatchSets, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListByteMatchSetsInput{} + } + + output = &ListByteMatchSetsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListByteMatchSets API operation for AWS WAF. +// +// Returns an array of ByteMatchSetSummary objects. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS WAF's +// API operation ListByteMatchSets for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalErrorException "InternalErrorException" +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// * ErrCodeInvalidAccountException "InvalidAccountException" +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListByteMatchSets +func (c *WAF) ListByteMatchSets(input *ListByteMatchSetsInput) (*ListByteMatchSetsOutput, error) { + req, out := c.ListByteMatchSetsRequest(input) return out, req.Send() } @@ -4456,7 +4881,7 @@ const opListGeoMatchSets = "ListGeoMatchSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListGeoMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListGeoMatchSets func (c *WAF) ListGeoMatchSetsRequest(input *ListGeoMatchSetsInput) (req *request.Request, output *ListGeoMatchSetsOutput) { op := &request.Operation{ Name: opListGeoMatchSets, @@ -4493,7 +4918,7 @@ func (c *WAF) ListGeoMatchSetsRequest(input *ListGeoMatchSetsInput) (req *reques // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListGeoMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListGeoMatchSets func (c *WAF) ListGeoMatchSets(input *ListGeoMatchSetsInput) (*ListGeoMatchSetsOutput, error) { req, out := c.ListGeoMatchSetsRequest(input) return out, req.Send() @@ -4540,7 +4965,7 @@ const opListIPSets = "ListIPSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListIPSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListIPSets func (c *WAF) ListIPSetsRequest(input *ListIPSetsInput) (req *request.Request, output *ListIPSetsOutput) { op := &request.Operation{ Name: opListIPSets, @@ -4577,7 +5002,7 @@ func (c *WAF) ListIPSetsRequest(input *ListIPSetsInput) (req *request.Request, o // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListIPSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListIPSets func (c *WAF) ListIPSets(input *ListIPSetsInput) (*ListIPSetsOutput, error) { req, out := c.ListIPSetsRequest(input) return out, req.Send() @@ -4624,7 +5049,7 @@ const opListRateBasedRules = "ListRateBasedRules" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRateBasedRules +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRateBasedRules func (c *WAF) ListRateBasedRulesRequest(input *ListRateBasedRulesInput) (req *request.Request, output *ListRateBasedRulesOutput) { op := &request.Operation{ Name: opListRateBasedRules, @@ -4661,7 +5086,7 @@ func (c *WAF) ListRateBasedRulesRequest(input *ListRateBasedRulesInput) (req *re // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRateBasedRules +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRateBasedRules func (c *WAF) ListRateBasedRules(input *ListRateBasedRulesInput) (*ListRateBasedRulesOutput, error) { req, out := c.ListRateBasedRulesRequest(input) return out, req.Send() @@ -4708,7 +5133,7 @@ const opListRegexMatchSets = "ListRegexMatchSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexMatchSets func (c *WAF) ListRegexMatchSetsRequest(input *ListRegexMatchSetsInput) (req *request.Request, output *ListRegexMatchSetsOutput) { op := &request.Operation{ Name: opListRegexMatchSets, @@ -4745,7 +5170,7 @@ func (c *WAF) ListRegexMatchSetsRequest(input *ListRegexMatchSetsInput) (req *re // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexMatchSets func (c *WAF) ListRegexMatchSets(input *ListRegexMatchSetsInput) (*ListRegexMatchSetsOutput, error) { req, out := c.ListRegexMatchSetsRequest(input) return out, req.Send() @@ -4792,7 +5217,7 @@ const opListRegexPatternSets = "ListRegexPatternSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexPatternSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexPatternSets func (c *WAF) ListRegexPatternSetsRequest(input *ListRegexPatternSetsInput) (req *request.Request, output *ListRegexPatternSetsOutput) { op := &request.Operation{ Name: opListRegexPatternSets, @@ -4829,7 +5254,7 @@ func (c *WAF) ListRegexPatternSetsRequest(input *ListRegexPatternSetsInput) (req // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexPatternSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexPatternSets func (c *WAF) ListRegexPatternSets(input *ListRegexPatternSetsInput) (*ListRegexPatternSetsOutput, error) { req, out := c.ListRegexPatternSetsRequest(input) return out, req.Send() @@ -4851,6 +5276,86 @@ func (c *WAF) ListRegexPatternSetsWithContext(ctx aws.Context, input *ListRegexP return out, req.Send() } +const opListRuleGroups = "ListRuleGroups" + +// ListRuleGroupsRequest generates a "aws/request.Request" representing the +// client's request for the ListRuleGroups operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListRuleGroups for more information on using the ListRuleGroups +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListRuleGroupsRequest method. +// req, resp := client.ListRuleGroupsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRuleGroups +func (c *WAF) ListRuleGroupsRequest(input *ListRuleGroupsInput) (req *request.Request, output *ListRuleGroupsOutput) { + op := &request.Operation{ + Name: opListRuleGroups, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListRuleGroupsInput{} + } + + output = &ListRuleGroupsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListRuleGroups API operation for AWS WAF. +// +// Returns an array of RuleGroup objects. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS WAF's +// API operation ListRuleGroups for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInternalErrorException "InternalErrorException" +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRuleGroups +func (c *WAF) ListRuleGroups(input *ListRuleGroupsInput) (*ListRuleGroupsOutput, error) { + req, out := c.ListRuleGroupsRequest(input) + return out, req.Send() +} + +// ListRuleGroupsWithContext is the same as ListRuleGroups with the addition of +// the ability to pass a context and additional request options. +// +// See ListRuleGroups for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WAF) ListRuleGroupsWithContext(ctx aws.Context, input *ListRuleGroupsInput, opts ...request.Option) (*ListRuleGroupsOutput, error) { + req, out := c.ListRuleGroupsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListRules = "ListRules" // ListRulesRequest generates a "aws/request.Request" representing the @@ -4876,7 +5381,7 @@ const opListRules = "ListRules" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRules +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRules func (c *WAF) ListRulesRequest(input *ListRulesInput) (req *request.Request, output *ListRulesOutput) { op := &request.Operation{ Name: opListRules, @@ -4913,7 +5418,7 @@ func (c *WAF) ListRulesRequest(input *ListRulesInput) (req *request.Request, out // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRules +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRules func (c *WAF) ListRules(input *ListRulesInput) (*ListRulesOutput, error) { req, out := c.ListRulesRequest(input) return out, req.Send() @@ -4960,7 +5465,7 @@ const opListSizeConstraintSets = "ListSizeConstraintSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSizeConstraintSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSizeConstraintSets func (c *WAF) ListSizeConstraintSetsRequest(input *ListSizeConstraintSetsInput) (req *request.Request, output *ListSizeConstraintSetsOutput) { op := &request.Operation{ Name: opListSizeConstraintSets, @@ -4997,7 +5502,7 @@ func (c *WAF) ListSizeConstraintSetsRequest(input *ListSizeConstraintSetsInput) // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSizeConstraintSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSizeConstraintSets func (c *WAF) ListSizeConstraintSets(input *ListSizeConstraintSetsInput) (*ListSizeConstraintSetsOutput, error) { req, out := c.ListSizeConstraintSetsRequest(input) return out, req.Send() @@ -5044,7 +5549,7 @@ const opListSqlInjectionMatchSets = "ListSqlInjectionMatchSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSqlInjectionMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSqlInjectionMatchSets func (c *WAF) ListSqlInjectionMatchSetsRequest(input *ListSqlInjectionMatchSetsInput) (req *request.Request, output *ListSqlInjectionMatchSetsOutput) { op := &request.Operation{ Name: opListSqlInjectionMatchSets, @@ -5081,7 +5586,7 @@ func (c *WAF) ListSqlInjectionMatchSetsRequest(input *ListSqlInjectionMatchSetsI // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSqlInjectionMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSqlInjectionMatchSets func (c *WAF) ListSqlInjectionMatchSets(input *ListSqlInjectionMatchSetsInput) (*ListSqlInjectionMatchSetsOutput, error) { req, out := c.ListSqlInjectionMatchSetsRequest(input) return out, req.Send() @@ -5103,6 +5608,89 @@ func (c *WAF) ListSqlInjectionMatchSetsWithContext(ctx aws.Context, input *ListS return out, req.Send() } +const opListSubscribedRuleGroups = "ListSubscribedRuleGroups" + +// ListSubscribedRuleGroupsRequest generates a "aws/request.Request" representing the +// client's request for the ListSubscribedRuleGroups operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListSubscribedRuleGroups for more information on using the ListSubscribedRuleGroups +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListSubscribedRuleGroupsRequest method. +// req, resp := client.ListSubscribedRuleGroupsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSubscribedRuleGroups +func (c *WAF) ListSubscribedRuleGroupsRequest(input *ListSubscribedRuleGroupsInput) (req *request.Request, output *ListSubscribedRuleGroupsOutput) { + op := &request.Operation{ + Name: opListSubscribedRuleGroups, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListSubscribedRuleGroupsInput{} + } + + output = &ListSubscribedRuleGroupsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListSubscribedRuleGroups API operation for AWS WAF. +// +// Returns an array of RuleGroup objects that you are subscribed to. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS WAF's +// API operation ListSubscribedRuleGroups for usage and error information. +// +// Returned Error Codes: +// * ErrCodeNonexistentItemException "NonexistentItemException" +// The operation failed because the referenced object doesn't exist. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSubscribedRuleGroups +func (c *WAF) ListSubscribedRuleGroups(input *ListSubscribedRuleGroupsInput) (*ListSubscribedRuleGroupsOutput, error) { + req, out := c.ListSubscribedRuleGroupsRequest(input) + return out, req.Send() +} + +// ListSubscribedRuleGroupsWithContext is the same as ListSubscribedRuleGroups with the addition of +// the ability to pass a context and additional request options. +// +// See ListSubscribedRuleGroups for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WAF) ListSubscribedRuleGroupsWithContext(ctx aws.Context, input *ListSubscribedRuleGroupsInput, opts ...request.Option) (*ListSubscribedRuleGroupsOutput, error) { + req, out := c.ListSubscribedRuleGroupsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListWebACLs = "ListWebACLs" // ListWebACLsRequest generates a "aws/request.Request" representing the @@ -5128,7 +5716,7 @@ const opListWebACLs = "ListWebACLs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListWebACLs +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListWebACLs func (c *WAF) ListWebACLsRequest(input *ListWebACLsInput) (req *request.Request, output *ListWebACLsOutput) { op := &request.Operation{ Name: opListWebACLs, @@ -5165,7 +5753,7 @@ func (c *WAF) ListWebACLsRequest(input *ListWebACLsInput) (req *request.Request, // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListWebACLs +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListWebACLs func (c *WAF) ListWebACLs(input *ListWebACLsInput) (*ListWebACLsOutput, error) { req, out := c.ListWebACLsRequest(input) return out, req.Send() @@ -5212,7 +5800,7 @@ const opListXssMatchSets = "ListXssMatchSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListXssMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListXssMatchSets func (c *WAF) ListXssMatchSetsRequest(input *ListXssMatchSetsInput) (req *request.Request, output *ListXssMatchSetsOutput) { op := &request.Operation{ Name: opListXssMatchSets, @@ -5249,7 +5837,7 @@ func (c *WAF) ListXssMatchSetsRequest(input *ListXssMatchSetsInput) (req *reques // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListXssMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListXssMatchSets func (c *WAF) ListXssMatchSets(input *ListXssMatchSetsInput) (*ListXssMatchSetsOutput, error) { req, out := c.ListXssMatchSetsRequest(input) return out, req.Send() @@ -5296,7 +5884,7 @@ const opUpdateByteMatchSet = "UpdateByteMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateByteMatchSet func (c *WAF) UpdateByteMatchSetRequest(input *UpdateByteMatchSetInput) (req *request.Request, output *UpdateByteMatchSetOutput) { op := &request.Operation{ Name: opUpdateByteMatchSet, @@ -5448,7 +6036,7 @@ func (c *WAF) UpdateByteMatchSetRequest(input *UpdateByteMatchSetInput) (req *re // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateByteMatchSet func (c *WAF) UpdateByteMatchSet(input *UpdateByteMatchSetInput) (*UpdateByteMatchSetOutput, error) { req, out := c.UpdateByteMatchSetRequest(input) return out, req.Send() @@ -5495,7 +6083,7 @@ const opUpdateGeoMatchSet = "UpdateGeoMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateGeoMatchSet func (c *WAF) UpdateGeoMatchSetRequest(input *UpdateGeoMatchSetInput) (req *request.Request, output *UpdateGeoMatchSetOutput) { op := &request.Operation{ Name: opUpdateGeoMatchSet, @@ -5646,7 +6234,7 @@ func (c *WAF) UpdateGeoMatchSetRequest(input *UpdateGeoMatchSetInput) (req *requ // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateGeoMatchSet func (c *WAF) UpdateGeoMatchSet(input *UpdateGeoMatchSetInput) (*UpdateGeoMatchSetOutput, error) { req, out := c.UpdateGeoMatchSetRequest(input) return out, req.Send() @@ -5693,7 +6281,7 @@ const opUpdateIPSet = "UpdateIPSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateIPSet func (c *WAF) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Request, output *UpdateIPSetOutput) { op := &request.Operation{ Name: opUpdateIPSet, @@ -5865,7 +6453,7 @@ func (c *WAF) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Request, // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateIPSet func (c *WAF) UpdateIPSet(input *UpdateIPSetInput) (*UpdateIPSetOutput, error) { req, out := c.UpdateIPSetRequest(input) return out, req.Send() @@ -5912,7 +6500,7 @@ const opUpdateRateBasedRule = "UpdateRateBasedRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRateBasedRule func (c *WAF) UpdateRateBasedRuleRequest(input *UpdateRateBasedRuleInput) (req *request.Request, output *UpdateRateBasedRuleOutput) { op := &request.Operation{ Name: opUpdateRateBasedRule, @@ -6073,7 +6661,7 @@ func (c *WAF) UpdateRateBasedRuleRequest(input *UpdateRateBasedRuleInput) (req * // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRateBasedRule func (c *WAF) UpdateRateBasedRule(input *UpdateRateBasedRuleInput) (*UpdateRateBasedRuleOutput, error) { req, out := c.UpdateRateBasedRuleRequest(input) return out, req.Send() @@ -6120,7 +6708,7 @@ const opUpdateRegexMatchSet = "UpdateRegexMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexMatchSet func (c *WAF) UpdateRegexMatchSetRequest(input *UpdateRegexMatchSetInput) (req *request.Request, output *UpdateRegexMatchSetOutput) { op := &request.Operation{ Name: opUpdateRegexMatchSet, @@ -6139,15 +6727,15 @@ func (c *WAF) UpdateRegexMatchSetRequest(input *UpdateRegexMatchSetInput) (req * // UpdateRegexMatchSet API operation for AWS WAF. // -// Inserts or deletes RegexMatchSetUpdate objects (filters) in a RegexMatchSet. +// Inserts or deletes RegexMatchTuple objects (filters) in a RegexMatchSet. // For each RegexMatchSetUpdate object, you specify the following values: // // * Whether to insert or delete the object from the array. If you want to // change a RegexMatchSetUpdate object, you delete the existing object and // add a new one. // -// * The part of a web request that you want AWS WAF to inspect, such as -// a query string or the value of the User-Agent header. +// * The part of a web request that you want AWS WAF to inspectupdate, such +// as a query string or the value of the User-Agent header. // // * The identifier of the pattern (a regular expression) that you want AWS // WAF to look for. For more information, see RegexPatternSet. @@ -6243,7 +6831,7 @@ func (c *WAF) UpdateRegexMatchSetRequest(input *UpdateRegexMatchSetInput) (req * // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexMatchSet func (c *WAF) UpdateRegexMatchSet(input *UpdateRegexMatchSetInput) (*UpdateRegexMatchSetOutput, error) { req, out := c.UpdateRegexMatchSetRequest(input) return out, req.Send() @@ -6290,7 +6878,7 @@ const opUpdateRegexPatternSet = "UpdateRegexPatternSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexPatternSet func (c *WAF) UpdateRegexPatternSetRequest(input *UpdateRegexPatternSetInput) (req *request.Request, output *UpdateRegexPatternSetOutput) { op := &request.Operation{ Name: opUpdateRegexPatternSet, @@ -6309,14 +6897,12 @@ func (c *WAF) UpdateRegexPatternSetRequest(input *UpdateRegexPatternSetInput) (r // UpdateRegexPatternSet API operation for AWS WAF. // -// Inserts or deletes RegexMatchSetUpdate objects (filters) in a RegexPatternSet. -// For each RegexPatternSet object, you specify the following values: +// Inserts or deletes RegexPatternString objects in a RegexPatternSet. For each +// RegexPatternString object, you specify the following values: // -// * Whether to insert or delete the object from the array. If you want to -// change a RegexPatternSet object, you delete the existing object and add -// a new one. +// * Whether to insert or delete the RegexPatternString. // -// * The regular expression pattern that you want AWS WAF to look for. For +// * The regular expression pattern that you want to insert or delete. For // more information, see RegexPatternSet. // // For example, you can create a RegexPatternString such as B[a@]dB[o0]t. AWS @@ -6365,6 +6951,9 @@ func (c *WAF) UpdateRegexPatternSetRequest(input *UpdateRegexPatternSetInput) (r // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // +// * ErrCodeNonexistentItemException "NonexistentItemException" +// The operation failed because the referenced object doesn't exist. +// // * ErrCodeNonexistentContainerException "NonexistentContainerException" // The operation failed because you tried to add an object to or delete an object // from another object that doesn't exist. For example: @@ -6409,7 +6998,7 @@ func (c *WAF) UpdateRegexPatternSetRequest(input *UpdateRegexPatternSetInput) (r // * ErrCodeInvalidRegexPatternException "InvalidRegexPatternException" // The regular expression (regex) you specified in RegexPatternString is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexPatternSet func (c *WAF) UpdateRegexPatternSet(input *UpdateRegexPatternSetInput) (*UpdateRegexPatternSetOutput, error) { req, out := c.UpdateRegexPatternSetRequest(input) return out, req.Send() @@ -6456,7 +7045,7 @@ const opUpdateRule = "UpdateRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRule func (c *WAF) UpdateRuleRequest(input *UpdateRuleInput) (req *request.Request, output *UpdateRuleOutput) { op := &request.Operation{ Name: opUpdateRule, @@ -6612,7 +7201,7 @@ func (c *WAF) UpdateRuleRequest(input *UpdateRuleInput) (req *request.Request, o // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRule func (c *WAF) UpdateRule(input *UpdateRuleInput) (*UpdateRuleOutput, error) { req, out := c.UpdateRuleRequest(input) return out, req.Send() @@ -6634,63 +7223,244 @@ func (c *WAF) UpdateRuleWithContext(ctx aws.Context, input *UpdateRuleInput, opt return out, req.Send() } -const opUpdateSizeConstraintSet = "UpdateSizeConstraintSet" +const opUpdateRuleGroup = "UpdateRuleGroup" -// UpdateSizeConstraintSetRequest generates a "aws/request.Request" representing the -// client's request for the UpdateSizeConstraintSet operation. The "output" return +// UpdateRuleGroupRequest generates a "aws/request.Request" representing the +// client's request for the UpdateRuleGroup operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateSizeConstraintSet for more information on using the UpdateSizeConstraintSet +// See UpdateRuleGroup for more information on using the UpdateRuleGroup // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateSizeConstraintSetRequest method. -// req, resp := client.UpdateSizeConstraintSetRequest(params) +// // Example sending a request using the UpdateRuleGroupRequest method. +// req, resp := client.UpdateRuleGroupRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSizeConstraintSet -func (c *WAF) UpdateSizeConstraintSetRequest(input *UpdateSizeConstraintSetInput) (req *request.Request, output *UpdateSizeConstraintSetOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleGroup +func (c *WAF) UpdateRuleGroupRequest(input *UpdateRuleGroupInput) (req *request.Request, output *UpdateRuleGroupOutput) { op := &request.Operation{ - Name: opUpdateSizeConstraintSet, + Name: opUpdateRuleGroup, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UpdateSizeConstraintSetInput{} + input = &UpdateRuleGroupInput{} } - output = &UpdateSizeConstraintSetOutput{} + output = &UpdateRuleGroupOutput{} req = c.newRequest(op, input, output) return } -// UpdateSizeConstraintSet API operation for AWS WAF. +// UpdateRuleGroup API operation for AWS WAF. // -// Inserts or deletes SizeConstraint objects (filters) in a SizeConstraintSet. -// For each SizeConstraint object, you specify the following values: +// Inserts or deletes ActivatedRule objects in a RuleGroup. // -// * Whether to insert or delete the object from the array. If you want to -// change a SizeConstraintSetUpdate object, you delete the existing object -// and add a new one. +// You can only insert REGULAR rules into a rule group. // -// * The part of a web request that you want AWS WAF to evaluate, such as -// the length of a query string or the length of the User-Agent header. +// You can have a maximum of ten rules per rule group. // -// * Whether to perform any transformations on the request, such as converting -// it to lowercase, before checking its length. Note that transformations -// of the request body are not supported because the AWS resource forwards +// To create and configure a RuleGroup, perform the following steps: +// +// Create and update the Rules that you want to include in the RuleGroup. See +// CreateRule. +// +// Use GetChangeToken to get the change token that you provide in the ChangeToken +// parameter of an UpdateRuleGroup request. +// +// Submit an UpdateRuleGroup request to add Rules to the RuleGroup. +// +// Create and update a WebACL that contains the RuleGroup. See CreateWebACL. +// +// If you want to replace one Rule with another, you delete the existing one +// and add the new one. +// +// For more information about how to use the AWS WAF API to allow or block HTTP +// requests, see the AWS WAF Developer Guide (http://docs.aws.amazon.com/waf/latest/developerguide/). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS WAF's +// API operation UpdateRuleGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeStaleDataException "StaleDataException" +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// * ErrCodeInternalErrorException "InternalErrorException" +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// * ErrCodeNonexistentContainerException "NonexistentContainerException" +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: +// +// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. +// +// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. +// +// * You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. +// +// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. +// +// * ErrCodeNonexistentItemException "NonexistentItemException" +// The operation failed because the referenced object doesn't exist. +// +// * ErrCodeInvalidOperationException "InvalidOperationException" +// The operation failed because there was nothing to do. For example: +// +// * You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. +// +// * You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. +// +// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. +// +// * You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. +// +// * You tried to add an IP address to an IPSet, but the IP address already +// exists in the specified IPSet. +// +// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. +// +// * ErrCodeLimitsExceededException "LimitsExceededException" +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. +// +// * ErrCodeInvalidParameterException "InvalidParameterException" +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: +// +// * You specified an invalid parameter name. +// +// * You specified an invalid value. +// +// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. +// +// * You tried to create a WebACL with a DefaultActionType other than ALLOW, +// BLOCK, or COUNT. +// +// * You tried to create a RateBasedRule with a RateKey value other than +// IP. +// +// * You tried to update a WebACL with a WafActionType other than ALLOW, +// BLOCK, or COUNT. +// +// * You tried to update a ByteMatchSet with a FieldToMatchType other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// +// * You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. +// +// * Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleGroup +func (c *WAF) UpdateRuleGroup(input *UpdateRuleGroupInput) (*UpdateRuleGroupOutput, error) { + req, out := c.UpdateRuleGroupRequest(input) + return out, req.Send() +} + +// UpdateRuleGroupWithContext is the same as UpdateRuleGroup with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateRuleGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WAF) UpdateRuleGroupWithContext(ctx aws.Context, input *UpdateRuleGroupInput, opts ...request.Option) (*UpdateRuleGroupOutput, error) { + req, out := c.UpdateRuleGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateSizeConstraintSet = "UpdateSizeConstraintSet" + +// UpdateSizeConstraintSetRequest generates a "aws/request.Request" representing the +// client's request for the UpdateSizeConstraintSet operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateSizeConstraintSet for more information on using the UpdateSizeConstraintSet +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateSizeConstraintSetRequest method. +// req, resp := client.UpdateSizeConstraintSetRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSizeConstraintSet +func (c *WAF) UpdateSizeConstraintSetRequest(input *UpdateSizeConstraintSetInput) (req *request.Request, output *UpdateSizeConstraintSetOutput) { + op := &request.Operation{ + Name: opUpdateSizeConstraintSet, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateSizeConstraintSetInput{} + } + + output = &UpdateSizeConstraintSetOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateSizeConstraintSet API operation for AWS WAF. +// +// Inserts or deletes SizeConstraint objects (filters) in a SizeConstraintSet. +// For each SizeConstraint object, you specify the following values: +// +// * Whether to insert or delete the object from the array. If you want to +// change a SizeConstraintSetUpdate object, you delete the existing object +// and add a new one. +// +// * The part of a web request that you want AWS WAF to evaluate, such as +// the length of a query string or the length of the User-Agent header. +// +// * Whether to perform any transformations on the request, such as converting +// it to lowercase, before checking its length. Note that transformations +// of the request body are not supported because the AWS resource forwards // only the first 8192 bytes of your request to AWS WAF. // // * A ComparisonOperator used for evaluating the selected part of the request @@ -6821,7 +7591,7 @@ func (c *WAF) UpdateSizeConstraintSetRequest(input *UpdateSizeConstraintSetInput // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSizeConstraintSet func (c *WAF) UpdateSizeConstraintSet(input *UpdateSizeConstraintSetInput) (*UpdateSizeConstraintSetOutput, error) { req, out := c.UpdateSizeConstraintSetRequest(input) return out, req.Send() @@ -6868,7 +7638,7 @@ const opUpdateSqlInjectionMatchSet = "UpdateSqlInjectionMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSqlInjectionMatchSet func (c *WAF) UpdateSqlInjectionMatchSetRequest(input *UpdateSqlInjectionMatchSetInput) (req *request.Request, output *UpdateSqlInjectionMatchSetOutput) { op := &request.Operation{ Name: opUpdateSqlInjectionMatchSet, @@ -7015,7 +7785,7 @@ func (c *WAF) UpdateSqlInjectionMatchSetRequest(input *UpdateSqlInjectionMatchSe // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSqlInjectionMatchSet func (c *WAF) UpdateSqlInjectionMatchSet(input *UpdateSqlInjectionMatchSetInput) (*UpdateSqlInjectionMatchSetOutput, error) { req, out := c.UpdateSqlInjectionMatchSetRequest(input) return out, req.Send() @@ -7062,7 +7832,7 @@ const opUpdateWebACL = "UpdateWebACL" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateWebACL func (c *WAF) UpdateWebACLRequest(input *UpdateWebACLInput) (req *request.Request, output *UpdateWebACLOutput) { op := &request.Operation{ Name: opUpdateWebACL, @@ -7233,7 +8003,10 @@ func (c *WAF) UpdateWebACLRequest(input *UpdateWebACLInput) (req *request.Reques // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateWebACL +// * ErrCodeSubscriptionNotFoundException "SubscriptionNotFoundException" +// The specified subscription does not exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateWebACL func (c *WAF) UpdateWebACL(input *UpdateWebACLInput) (*UpdateWebACLOutput, error) { req, out := c.UpdateWebACLRequest(input) return out, req.Send() @@ -7280,7 +8053,7 @@ const opUpdateXssMatchSet = "UpdateXssMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateXssMatchSet func (c *WAF) UpdateXssMatchSetRequest(input *UpdateXssMatchSetInput) (req *request.Request, output *UpdateXssMatchSetOutput) { op := &request.Operation{ Name: opUpdateXssMatchSet, @@ -7427,7 +8200,7 @@ func (c *WAF) UpdateXssMatchSetRequest(input *UpdateXssMatchSetInput) (req *requ // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateXssMatchSet func (c *WAF) UpdateXssMatchSet(input *UpdateXssMatchSetInput) (*UpdateXssMatchSetOutput, error) { req, out := c.UpdateXssMatchSetRequest(input) return out, req.Send() @@ -7456,7 +8229,7 @@ func (c *WAF) UpdateXssMatchSetWithContext(ctx aws.Context, input *UpdateXssMatc // // To specify whether to insert or delete a Rule, use the Action parameter in // the WebACLUpdate data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ActivatedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ActivatedRule type ActivatedRule struct { _ struct{} `type:"structure"` @@ -7471,8 +8244,26 @@ type ActivatedRule struct { // in the rule and then continues to inspect the web request based on the // remaining rules in the web ACL. // - // Action is a required field - Action *WafAction `type:"structure" required:"true"` + // The Action data type within ActivatedRule is used only when submitting an + // UpdateWebACL request. ActivatedRule|Action is not applicable and therefore + // not available for UpdateRuleGroup. + Action *WafAction `type:"structure"` + + // Use the OverrideAction to test your RuleGroup. + // + // Any rule in a RuleGroup can potentially block a request. If you set the OverrideAction + // to None, the RuleGroup will block a request if any individual rule in the + // RuleGroup matches the request and is configured to block that request. However + // if you first want to test the RuleGroup, set the OverrideAction to Count. + // The RuleGroup will then override any block action specified by individual + // rules contained within the group. Instead of blocking matching requests, + // those requests will be counted. You can view a record of counted requests + // using GetSampledRequests. + // + // The OverrideAction data type within ActivatedRule is used only when submitting + // an UpdateRuleGroup request. ActivatedRule|OverrideAction is not applicable + // and therefore not available for UpdateWebACL. + OverrideAction *WafOverrideAction `type:"structure"` // Specifies the order in which the Rules in a WebACL are evaluated. Rules with // a lower value for Priority are evaluated before Rules with a higher value. @@ -7492,11 +8283,12 @@ type ActivatedRule struct { // RuleId is a required field RuleId *string `min:"1" type:"string" required:"true"` - // The rule type, either REGULAR, as defined by Rule, or RATE_BASED, as defined - // by RateBasedRule. The default is REGULAR. Although this field is optional, - // be aware that if you try to add a RATE_BASED rule to a web ACL without setting - // the type, the UpdateWebACL request will fail because the request tries to - // add a REGULAR rule with the specified ID, which does not exist. + // The rule type, either REGULAR, as defined by Rule, RATE_BASED, as defined + // by RateBasedRule, or GROUP, as defined by RuleGroup. The default is REGULAR. + // Although this field is optional, be aware that if you try to add a RATE_BASED + // rule to a web ACL without setting the type, the UpdateWebACL request will + // fail because the request tries to add a REGULAR rule with the specified ID, + // which does not exist. Type *string `type:"string" enum:"WafRuleType"` } @@ -7513,9 +8305,6 @@ func (s ActivatedRule) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *ActivatedRule) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ActivatedRule"} - if s.Action == nil { - invalidParams.Add(request.NewErrParamRequired("Action")) - } if s.Priority == nil { invalidParams.Add(request.NewErrParamRequired("Priority")) } @@ -7530,6 +8319,11 @@ func (s *ActivatedRule) Validate() error { invalidParams.AddNested("Action", err.(request.ErrInvalidParams)) } } + if s.OverrideAction != nil { + if err := s.OverrideAction.Validate(); err != nil { + invalidParams.AddNested("OverrideAction", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -7543,6 +8337,12 @@ func (s *ActivatedRule) SetAction(v *WafAction) *ActivatedRule { return s } +// SetOverrideAction sets the OverrideAction field's value. +func (s *ActivatedRule) SetOverrideAction(v *WafOverrideAction) *ActivatedRule { + s.OverrideAction = v + return s +} + // SetPriority sets the Priority field's value. func (s *ActivatedRule) SetPriority(v int64) *ActivatedRule { s.Priority = &v @@ -7570,7 +8370,7 @@ func (s *ActivatedRule) SetType(v string) *ActivatedRule { // want AWS WAF to search for. If a ByteMatchSet contains more than one ByteMatchTuple // object, a request needs to match the settings in only one ByteMatchTuple // to be considered a match. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ByteMatchSet type ByteMatchSet struct { _ struct{} `type:"structure"` @@ -7626,7 +8426,7 @@ func (s *ByteMatchSet) SetName(v string) *ByteMatchSet { // Returned by ListByteMatchSets. Each ByteMatchSetSummary object includes the // Name and ByteMatchSetId for one ByteMatchSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ByteMatchSetSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ByteMatchSetSummary type ByteMatchSetSummary struct { _ struct{} `type:"structure"` @@ -7670,7 +8470,7 @@ func (s *ByteMatchSetSummary) SetName(v string) *ByteMatchSetSummary { // In an UpdateByteMatchSet request, ByteMatchSetUpdate specifies whether to // insert or delete a ByteMatchTuple and includes the settings for the ByteMatchTuple. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ByteMatchSetUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ByteMatchSetUpdate type ByteMatchSetUpdate struct { _ struct{} `type:"structure"` @@ -7734,7 +8534,7 @@ func (s *ByteMatchSetUpdate) SetByteMatchTuple(v *ByteMatchTuple) *ByteMatchSetU // The bytes (typically a string that corresponds with ASCII characters) that // you want AWS WAF to search for in web requests, the location in requests // that you want AWS WAF to search, and other settings. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ByteMatchTuple +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ByteMatchTuple type ByteMatchTuple struct { _ struct{} `type:"structure"` @@ -7980,7 +8780,7 @@ func (s *ByteMatchTuple) SetTextTransformation(v string) *ByteMatchTuple { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateByteMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateByteMatchSetRequest type CreateByteMatchSetInput struct { _ struct{} `type:"structure"` @@ -8040,7 +8840,7 @@ func (s *CreateByteMatchSetInput) SetName(v string) *CreateByteMatchSetInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateByteMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateByteMatchSetResponse type CreateByteMatchSetOutput struct { _ struct{} `type:"structure"` @@ -8075,7 +8875,7 @@ func (s *CreateByteMatchSetOutput) SetChangeToken(v string) *CreateByteMatchSetO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateGeoMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateGeoMatchSetRequest type CreateGeoMatchSetInput struct { _ struct{} `type:"structure"` @@ -8135,7 +8935,7 @@ func (s *CreateGeoMatchSetInput) SetName(v string) *CreateGeoMatchSetInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateGeoMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateGeoMatchSetResponse type CreateGeoMatchSetOutput struct { _ struct{} `type:"structure"` @@ -8171,7 +8971,7 @@ func (s *CreateGeoMatchSetOutput) SetGeoMatchSet(v *GeoMatchSet) *CreateGeoMatch return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateIPSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateIPSetRequest type CreateIPSetInput struct { _ struct{} `type:"structure"` @@ -8231,7 +9031,7 @@ func (s *CreateIPSetInput) SetName(v string) *CreateIPSetInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateIPSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateIPSetResponse type CreateIPSetOutput struct { _ struct{} `type:"structure"` @@ -8266,7 +9066,7 @@ func (s *CreateIPSetOutput) SetIPSet(v *IPSet) *CreateIPSetOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRateBasedRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRateBasedRuleRequest type CreateRateBasedRuleInput struct { _ struct{} `type:"structure"` @@ -8383,7 +9183,7 @@ func (s *CreateRateBasedRuleInput) SetRateLimit(v int64) *CreateRateBasedRuleInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRateBasedRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRateBasedRuleResponse type CreateRateBasedRuleOutput struct { _ struct{} `type:"structure"` @@ -8418,7 +9218,7 @@ func (s *CreateRateBasedRuleOutput) SetRule(v *RateBasedRule) *CreateRateBasedRu return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexMatchSetRequest type CreateRegexMatchSetInput struct { _ struct{} `type:"structure"` @@ -8478,7 +9278,7 @@ func (s *CreateRegexMatchSetInput) SetName(v string) *CreateRegexMatchSetInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexMatchSetResponse type CreateRegexMatchSetOutput struct { _ struct{} `type:"structure"` @@ -8513,7 +9313,7 @@ func (s *CreateRegexMatchSetOutput) SetRegexMatchSet(v *RegexMatchSet) *CreateRe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexPatternSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexPatternSetRequest type CreateRegexPatternSetInput struct { _ struct{} `type:"structure"` @@ -8573,7 +9373,7 @@ func (s *CreateRegexPatternSetInput) SetName(v string) *CreateRegexPatternSetInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexPatternSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexPatternSetResponse type CreateRegexPatternSetOutput struct { _ struct{} `type:"structure"` @@ -8608,8 +9408,8 @@ func (s *CreateRegexPatternSetOutput) SetRegexPatternSet(v *RegexPatternSet) *Cr return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleRequest -type CreateRuleInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleGroupRequest +type CreateRuleGroupInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. @@ -8617,34 +9417,34 @@ type CreateRuleInput struct { // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` - // A friendly name or description for the metrics for this Rule. The name can - // contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain - // whitespace. You can't change the name of the metric after you create the - // Rule. + // A friendly name or description for the metrics for this RuleGroup. The name + // can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't + // contain whitespace. You can't change the name of the metric after you create + // the RuleGroup. // // MetricName is a required field MetricName *string `type:"string" required:"true"` - // A friendly name or description of the Rule. You can't change the name of - // a Rule after you create it. + // A friendly name or description of the RuleGroup. You can't change Name after + // you create a RuleGroup. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s CreateRuleInput) String() string { +func (s CreateRuleGroupInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateRuleInput) GoString() string { +func (s CreateRuleGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateRuleInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateRuleInput"} +func (s *CreateRuleGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateRuleGroupInput"} if s.ChangeToken == nil { invalidParams.Add(request.NewErrParamRequired("ChangeToken")) } @@ -8668,60 +9468,60 @@ func (s *CreateRuleInput) Validate() error { } // SetChangeToken sets the ChangeToken field's value. -func (s *CreateRuleInput) SetChangeToken(v string) *CreateRuleInput { +func (s *CreateRuleGroupInput) SetChangeToken(v string) *CreateRuleGroupInput { s.ChangeToken = &v return s } // SetMetricName sets the MetricName field's value. -func (s *CreateRuleInput) SetMetricName(v string) *CreateRuleInput { +func (s *CreateRuleGroupInput) SetMetricName(v string) *CreateRuleGroupInput { s.MetricName = &v return s } // SetName sets the Name field's value. -func (s *CreateRuleInput) SetName(v string) *CreateRuleInput { +func (s *CreateRuleGroupInput) SetName(v string) *CreateRuleGroupInput { s.Name = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleResponse -type CreateRuleOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleGroupResponse +type CreateRuleGroupOutput struct { _ struct{} `type:"structure"` - // The ChangeToken that you used to submit the CreateRule request. You can also - // use this value to query the status of the request. For more information, + // The ChangeToken that you used to submit the CreateRuleGroup request. You + // can also use this value to query the status of the request. For more information, // see GetChangeTokenStatus. ChangeToken *string `min:"1" type:"string"` - // The Rule returned in the CreateRule response. - Rule *Rule `type:"structure"` + // An empty RuleGroup. + RuleGroup *RuleGroup `type:"structure"` } // String returns the string representation -func (s CreateRuleOutput) String() string { +func (s CreateRuleGroupOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateRuleOutput) GoString() string { +func (s CreateRuleGroupOutput) GoString() string { return s.String() } // SetChangeToken sets the ChangeToken field's value. -func (s *CreateRuleOutput) SetChangeToken(v string) *CreateRuleOutput { +func (s *CreateRuleGroupOutput) SetChangeToken(v string) *CreateRuleGroupOutput { s.ChangeToken = &v return s } -// SetRule sets the Rule field's value. -func (s *CreateRuleOutput) SetRule(v *Rule) *CreateRuleOutput { - s.Rule = v +// SetRuleGroup sets the RuleGroup field's value. +func (s *CreateRuleGroupOutput) SetRuleGroup(v *RuleGroup) *CreateRuleGroupOutput { + s.RuleGroup = v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSizeConstraintSetRequest -type CreateSizeConstraintSetInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleRequest +type CreateRuleInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. @@ -8729,32 +9529,43 @@ type CreateSizeConstraintSetInput struct { // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` - // A friendly name or description of the SizeConstraintSet. You can't change - // Name after you create a SizeConstraintSet. + // A friendly name or description for the metrics for this Rule. The name can + // contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain + // whitespace. You can't change the name of the metric after you create the + // Rule. + // + // MetricName is a required field + MetricName *string `type:"string" required:"true"` + + // A friendly name or description of the Rule. You can't change the name of + // a Rule after you create it. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s CreateSizeConstraintSetInput) String() string { +func (s CreateRuleInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateSizeConstraintSetInput) GoString() string { +func (s CreateRuleInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateSizeConstraintSetInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateSizeConstraintSetInput"} +func (s *CreateRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateRuleInput"} if s.ChangeToken == nil { invalidParams.Add(request.NewErrParamRequired("ChangeToken")) } if s.ChangeToken != nil && len(*s.ChangeToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("ChangeToken", 1)) } + if s.MetricName == nil { + invalidParams.Add(request.NewErrParamRequired("MetricName")) + } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } @@ -8769,27 +9580,128 @@ func (s *CreateSizeConstraintSetInput) Validate() error { } // SetChangeToken sets the ChangeToken field's value. -func (s *CreateSizeConstraintSetInput) SetChangeToken(v string) *CreateSizeConstraintSetInput { +func (s *CreateRuleInput) SetChangeToken(v string) *CreateRuleInput { s.ChangeToken = &v return s } +// SetMetricName sets the MetricName field's value. +func (s *CreateRuleInput) SetMetricName(v string) *CreateRuleInput { + s.MetricName = &v + return s +} + // SetName sets the Name field's value. -func (s *CreateSizeConstraintSetInput) SetName(v string) *CreateSizeConstraintSetInput { +func (s *CreateRuleInput) SetName(v string) *CreateRuleInput { s.Name = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSizeConstraintSetResponse -type CreateSizeConstraintSetOutput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleResponse +type CreateRuleOutput struct { _ struct{} `type:"structure"` - // The ChangeToken that you used to submit the CreateSizeConstraintSet request. - // You can also use this value to query the status of the request. For more - // information, see GetChangeTokenStatus. + // The ChangeToken that you used to submit the CreateRule request. You can also + // use this value to query the status of the request. For more information, + // see GetChangeTokenStatus. ChangeToken *string `min:"1" type:"string"` - // A SizeConstraintSet that contains no SizeConstraint objects. + // The Rule returned in the CreateRule response. + Rule *Rule `type:"structure"` +} + +// String returns the string representation +func (s CreateRuleOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateRuleOutput) GoString() string { + return s.String() +} + +// SetChangeToken sets the ChangeToken field's value. +func (s *CreateRuleOutput) SetChangeToken(v string) *CreateRuleOutput { + s.ChangeToken = &v + return s +} + +// SetRule sets the Rule field's value. +func (s *CreateRuleOutput) SetRule(v *Rule) *CreateRuleOutput { + s.Rule = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSizeConstraintSetRequest +type CreateSizeConstraintSetInput struct { + _ struct{} `type:"structure"` + + // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field + ChangeToken *string `min:"1" type:"string" required:"true"` + + // A friendly name or description of the SizeConstraintSet. You can't change + // Name after you create a SizeConstraintSet. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateSizeConstraintSetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateSizeConstraintSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateSizeConstraintSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateSizeConstraintSetInput"} + if s.ChangeToken == nil { + invalidParams.Add(request.NewErrParamRequired("ChangeToken")) + } + if s.ChangeToken != nil && len(*s.ChangeToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChangeToken", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChangeToken sets the ChangeToken field's value. +func (s *CreateSizeConstraintSetInput) SetChangeToken(v string) *CreateSizeConstraintSetInput { + s.ChangeToken = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateSizeConstraintSetInput) SetName(v string) *CreateSizeConstraintSetInput { + s.Name = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSizeConstraintSetResponse +type CreateSizeConstraintSetOutput struct { + _ struct{} `type:"structure"` + + // The ChangeToken that you used to submit the CreateSizeConstraintSet request. + // You can also use this value to query the status of the request. For more + // information, see GetChangeTokenStatus. + ChangeToken *string `min:"1" type:"string"` + + // A SizeConstraintSet that contains no SizeConstraint objects. SizeConstraintSet *SizeConstraintSet `type:"structure"` } @@ -8816,7 +9728,7 @@ func (s *CreateSizeConstraintSetOutput) SetSizeConstraintSet(v *SizeConstraintSe } // A request to create a SqlInjectionMatchSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSqlInjectionMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSqlInjectionMatchSetRequest type CreateSqlInjectionMatchSetInput struct { _ struct{} `type:"structure"` @@ -8877,7 +9789,7 @@ func (s *CreateSqlInjectionMatchSetInput) SetName(v string) *CreateSqlInjectionM } // The response to a CreateSqlInjectionMatchSet request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSqlInjectionMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSqlInjectionMatchSetResponse type CreateSqlInjectionMatchSetOutput struct { _ struct{} `type:"structure"` @@ -8912,7 +9824,7 @@ func (s *CreateSqlInjectionMatchSetOutput) SetSqlInjectionMatchSet(v *SqlInjecti return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACLRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACLRequest type CreateWebACLInput struct { _ struct{} `type:"structure"` @@ -9009,7 +9921,7 @@ func (s *CreateWebACLInput) SetName(v string) *CreateWebACLInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACLResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACLResponse type CreateWebACLOutput struct { _ struct{} `type:"structure"` @@ -9045,7 +9957,7 @@ func (s *CreateWebACLOutput) SetWebACL(v *WebACL) *CreateWebACLOutput { } // A request to create an XssMatchSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateXssMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateXssMatchSetRequest type CreateXssMatchSetInput struct { _ struct{} `type:"structure"` @@ -9106,7 +10018,7 @@ func (s *CreateXssMatchSetInput) SetName(v string) *CreateXssMatchSetInput { } // The response to a CreateXssMatchSet request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateXssMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateXssMatchSetResponse type CreateXssMatchSetOutput struct { _ struct{} `type:"structure"` @@ -9141,7 +10053,7 @@ func (s *CreateXssMatchSetOutput) SetXssMatchSet(v *XssMatchSet) *CreateXssMatch return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteByteMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteByteMatchSetRequest type DeleteByteMatchSetInput struct { _ struct{} `type:"structure"` @@ -9201,7 +10113,7 @@ func (s *DeleteByteMatchSetInput) SetChangeToken(v string) *DeleteByteMatchSetIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteByteMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteByteMatchSetResponse type DeleteByteMatchSetOutput struct { _ struct{} `type:"structure"` @@ -9227,7 +10139,7 @@ func (s *DeleteByteMatchSetOutput) SetChangeToken(v string) *DeleteByteMatchSetO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteGeoMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteGeoMatchSetRequest type DeleteGeoMatchSetInput struct { _ struct{} `type:"structure"` @@ -9287,7 +10199,7 @@ func (s *DeleteGeoMatchSetInput) SetGeoMatchSetId(v string) *DeleteGeoMatchSetIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteGeoMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteGeoMatchSetResponse type DeleteGeoMatchSetOutput struct { _ struct{} `type:"structure"` @@ -9313,7 +10225,7 @@ func (s *DeleteGeoMatchSetOutput) SetChangeToken(v string) *DeleteGeoMatchSetOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteIPSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteIPSetRequest type DeleteIPSetInput struct { _ struct{} `type:"structure"` @@ -9373,7 +10285,7 @@ func (s *DeleteIPSetInput) SetIPSetId(v string) *DeleteIPSetInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteIPSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteIPSetResponse type DeleteIPSetOutput struct { _ struct{} `type:"structure"` @@ -9399,7 +10311,7 @@ func (s *DeleteIPSetOutput) SetChangeToken(v string) *DeleteIPSetOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRateBasedRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRateBasedRuleRequest type DeleteRateBasedRuleInput struct { _ struct{} `type:"structure"` @@ -9459,7 +10371,7 @@ func (s *DeleteRateBasedRuleInput) SetRuleId(v string) *DeleteRateBasedRuleInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRateBasedRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRateBasedRuleResponse type DeleteRateBasedRuleOutput struct { _ struct{} `type:"structure"` @@ -9485,7 +10397,7 @@ func (s *DeleteRateBasedRuleOutput) SetChangeToken(v string) *DeleteRateBasedRul return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexMatchSetRequest type DeleteRegexMatchSetInput struct { _ struct{} `type:"structure"` @@ -9545,7 +10457,7 @@ func (s *DeleteRegexMatchSetInput) SetRegexMatchSetId(v string) *DeleteRegexMatc return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexMatchSetResponse type DeleteRegexMatchSetOutput struct { _ struct{} `type:"structure"` @@ -9571,7 +10483,7 @@ func (s *DeleteRegexMatchSetOutput) SetChangeToken(v string) *DeleteRegexMatchSe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexPatternSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexPatternSetRequest type DeleteRegexPatternSetInput struct { _ struct{} `type:"structure"` @@ -9631,7 +10543,7 @@ func (s *DeleteRegexPatternSetInput) SetRegexPatternSetId(v string) *DeleteRegex return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexPatternSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexPatternSetResponse type DeleteRegexPatternSetOutput struct { _ struct{} `type:"structure"` @@ -9657,7 +10569,93 @@ func (s *DeleteRegexPatternSetOutput) SetChangeToken(v string) *DeleteRegexPatte return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRuleGroupRequest +type DeleteRuleGroupInput struct { + _ struct{} `type:"structure"` + + // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field + ChangeToken *string `min:"1" type:"string" required:"true"` + + // The RuleGroupId of the RuleGroup that you want to delete. RuleGroupId is + // returned by CreateRuleGroup and by ListRuleGroups. + // + // RuleGroupId is a required field + RuleGroupId *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteRuleGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteRuleGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteRuleGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteRuleGroupInput"} + if s.ChangeToken == nil { + invalidParams.Add(request.NewErrParamRequired("ChangeToken")) + } + if s.ChangeToken != nil && len(*s.ChangeToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChangeToken", 1)) + } + if s.RuleGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("RuleGroupId")) + } + if s.RuleGroupId != nil && len(*s.RuleGroupId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RuleGroupId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChangeToken sets the ChangeToken field's value. +func (s *DeleteRuleGroupInput) SetChangeToken(v string) *DeleteRuleGroupInput { + s.ChangeToken = &v + return s +} + +// SetRuleGroupId sets the RuleGroupId field's value. +func (s *DeleteRuleGroupInput) SetRuleGroupId(v string) *DeleteRuleGroupInput { + s.RuleGroupId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRuleGroupResponse +type DeleteRuleGroupOutput struct { + _ struct{} `type:"structure"` + + // The ChangeToken that you used to submit the DeleteRuleGroup request. You + // can also use this value to query the status of the request. For more information, + // see GetChangeTokenStatus. + ChangeToken *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s DeleteRuleGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteRuleGroupOutput) GoString() string { + return s.String() +} + +// SetChangeToken sets the ChangeToken field's value. +func (s *DeleteRuleGroupOutput) SetChangeToken(v string) *DeleteRuleGroupOutput { + s.ChangeToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRuleRequest type DeleteRuleInput struct { _ struct{} `type:"structure"` @@ -9717,7 +10715,7 @@ func (s *DeleteRuleInput) SetRuleId(v string) *DeleteRuleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRuleResponse type DeleteRuleOutput struct { _ struct{} `type:"structure"` @@ -9743,7 +10741,7 @@ func (s *DeleteRuleOutput) SetChangeToken(v string) *DeleteRuleOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSizeConstraintSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSizeConstraintSetRequest type DeleteSizeConstraintSetInput struct { _ struct{} `type:"structure"` @@ -9803,7 +10801,7 @@ func (s *DeleteSizeConstraintSetInput) SetSizeConstraintSetId(v string) *DeleteS return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSizeConstraintSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSizeConstraintSetResponse type DeleteSizeConstraintSetOutput struct { _ struct{} `type:"structure"` @@ -9830,7 +10828,7 @@ func (s *DeleteSizeConstraintSetOutput) SetChangeToken(v string) *DeleteSizeCons } // A request to delete a SqlInjectionMatchSet from AWS WAF. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSqlInjectionMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSqlInjectionMatchSetRequest type DeleteSqlInjectionMatchSetInput struct { _ struct{} `type:"structure"` @@ -9891,7 +10889,7 @@ func (s *DeleteSqlInjectionMatchSetInput) SetSqlInjectionMatchSetId(v string) *D } // The response to a request to delete a SqlInjectionMatchSet from AWS WAF. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSqlInjectionMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSqlInjectionMatchSetResponse type DeleteSqlInjectionMatchSetOutput struct { _ struct{} `type:"structure"` @@ -9917,7 +10915,7 @@ func (s *DeleteSqlInjectionMatchSetOutput) SetChangeToken(v string) *DeleteSqlIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteWebACLRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteWebACLRequest type DeleteWebACLInput struct { _ struct{} `type:"structure"` @@ -9977,7 +10975,7 @@ func (s *DeleteWebACLInput) SetWebACLId(v string) *DeleteWebACLInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteWebACLResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteWebACLResponse type DeleteWebACLOutput struct { _ struct{} `type:"structure"` @@ -10004,7 +11002,7 @@ func (s *DeleteWebACLOutput) SetChangeToken(v string) *DeleteWebACLOutput { } // A request to delete an XssMatchSet from AWS WAF. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteXssMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteXssMatchSetRequest type DeleteXssMatchSetInput struct { _ struct{} `type:"structure"` @@ -10065,7 +11063,7 @@ func (s *DeleteXssMatchSetInput) SetXssMatchSetId(v string) *DeleteXssMatchSetIn } // The response to a request to delete an XssMatchSet from AWS WAF. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteXssMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteXssMatchSetResponse type DeleteXssMatchSetOutput struct { _ struct{} `type:"structure"` @@ -10092,7 +11090,7 @@ func (s *DeleteXssMatchSetOutput) SetChangeToken(v string) *DeleteXssMatchSetOut } // Specifies where in a web request to look for TargetString. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/FieldToMatch +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/FieldToMatch type FieldToMatch struct { _ struct{} `type:"structure"` @@ -10169,7 +11167,7 @@ func (s *FieldToMatch) SetType(v string) *FieldToMatch { // The country from which web requests originate that you want AWS WAF to search // for. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GeoMatchConstraint +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GeoMatchConstraint type GeoMatchConstraint struct { _ struct{} `type:"structure"` @@ -10224,7 +11222,7 @@ func (s *GeoMatchConstraint) SetValue(v string) *GeoMatchConstraint { } // Contains one or more countries that AWS WAF will search for. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GeoMatchSet type GeoMatchSet struct { _ struct{} `type:"structure"` @@ -10278,7 +11276,7 @@ func (s *GeoMatchSet) SetName(v string) *GeoMatchSet { } // Contains the identifier and the name of the GeoMatchSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GeoMatchSetSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GeoMatchSetSummary type GeoMatchSetSummary struct { _ struct{} `type:"structure"` @@ -10318,7 +11316,7 @@ func (s *GeoMatchSetSummary) SetName(v string) *GeoMatchSetSummary { } // Specifies the type of update to perform to an GeoMatchSet with UpdateGeoMatchSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GeoMatchSetUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GeoMatchSetUpdate type GeoMatchSetUpdate struct { _ struct{} `type:"structure"` @@ -10377,7 +11375,7 @@ func (s *GeoMatchSetUpdate) SetGeoMatchConstraint(v *GeoMatchConstraint) *GeoMat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetByteMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetByteMatchSetRequest type GetByteMatchSetInput struct { _ struct{} `type:"structure"` @@ -10420,7 +11418,7 @@ func (s *GetByteMatchSetInput) SetByteMatchSetId(v string) *GetByteMatchSetInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetByteMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetByteMatchSetResponse type GetByteMatchSetOutput struct { _ struct{} `type:"structure"` @@ -10453,7 +11451,7 @@ func (s *GetByteMatchSetOutput) SetByteMatchSet(v *ByteMatchSet) *GetByteMatchSe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenRequest type GetChangeTokenInput struct { _ struct{} `type:"structure"` } @@ -10468,7 +11466,7 @@ func (s GetChangeTokenInput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenResponse type GetChangeTokenOutput struct { _ struct{} `type:"structure"` @@ -10493,7 +11491,7 @@ func (s *GetChangeTokenOutput) SetChangeToken(v string) *GetChangeTokenOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenStatusRequest type GetChangeTokenStatusInput struct { _ struct{} `type:"structure"` @@ -10536,7 +11534,7 @@ func (s *GetChangeTokenStatusInput) SetChangeToken(v string) *GetChangeTokenStat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenStatusResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenStatusResponse type GetChangeTokenStatusOutput struct { _ struct{} `type:"structure"` @@ -10560,7 +11558,7 @@ func (s *GetChangeTokenStatusOutput) SetChangeTokenStatus(v string) *GetChangeTo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetGeoMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetGeoMatchSetRequest type GetGeoMatchSetInput struct { _ struct{} `type:"structure"` @@ -10603,7 +11601,7 @@ func (s *GetGeoMatchSetInput) SetGeoMatchSetId(v string) *GetGeoMatchSetInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetGeoMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetGeoMatchSetResponse type GetGeoMatchSetOutput struct { _ struct{} `type:"structure"` @@ -10629,7 +11627,7 @@ func (s *GetGeoMatchSetOutput) SetGeoMatchSet(v *GeoMatchSet) *GetGeoMatchSetOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetIPSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetIPSetRequest type GetIPSetInput struct { _ struct{} `type:"structure"` @@ -10672,7 +11670,7 @@ func (s *GetIPSetInput) SetIPSetId(v string) *GetIPSetInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetIPSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetIPSetResponse type GetIPSetOutput struct { _ struct{} `type:"structure"` @@ -10702,7 +11700,7 @@ func (s *GetIPSetOutput) SetIPSet(v *IPSet) *GetIPSetOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleRequest type GetRateBasedRuleInput struct { _ struct{} `type:"structure"` @@ -10745,7 +11743,7 @@ func (s *GetRateBasedRuleInput) SetRuleId(v string) *GetRateBasedRuleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleManagedKeysRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleManagedKeysRequest type GetRateBasedRuleManagedKeysInput struct { _ struct{} `type:"structure"` @@ -10800,7 +11798,7 @@ func (s *GetRateBasedRuleManagedKeysInput) SetRuleId(v string) *GetRateBasedRule return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleManagedKeysResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleManagedKeysResponse type GetRateBasedRuleManagedKeysOutput struct { _ struct{} `type:"structure"` @@ -10833,7 +11831,7 @@ func (s *GetRateBasedRuleManagedKeysOutput) SetNextMarker(v string) *GetRateBase return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleResponse type GetRateBasedRuleOutput struct { _ struct{} `type:"structure"` @@ -10858,7 +11856,7 @@ func (s *GetRateBasedRuleOutput) SetRule(v *RateBasedRule) *GetRateBasedRuleOutp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexMatchSetRequest type GetRegexMatchSetInput struct { _ struct{} `type:"structure"` @@ -10901,7 +11899,7 @@ func (s *GetRegexMatchSetInput) SetRegexMatchSetId(v string) *GetRegexMatchSetIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexMatchSetResponse type GetRegexMatchSetOutput struct { _ struct{} `type:"structure"` @@ -10926,7 +11924,7 @@ func (s *GetRegexMatchSetOutput) SetRegexMatchSet(v *RegexMatchSet) *GetRegexMat return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexPatternSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexPatternSetRequest type GetRegexPatternSetInput struct { _ struct{} `type:"structure"` @@ -10969,7 +11967,7 @@ func (s *GetRegexPatternSetInput) SetRegexPatternSetId(v string) *GetRegexPatter return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexPatternSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexPatternSetResponse type GetRegexPatternSetOutput struct { _ struct{} `type:"structure"` @@ -10995,7 +11993,74 @@ func (s *GetRegexPatternSetOutput) SetRegexPatternSet(v *RegexPatternSet) *GetRe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRuleGroupRequest +type GetRuleGroupInput struct { + _ struct{} `type:"structure"` + + // The RuleGroupId of the RuleGroup that you want to get. RuleGroupId is returned + // by CreateRuleGroup and by ListRuleGroups. + // + // RuleGroupId is a required field + RuleGroupId *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetRuleGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetRuleGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetRuleGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetRuleGroupInput"} + if s.RuleGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("RuleGroupId")) + } + if s.RuleGroupId != nil && len(*s.RuleGroupId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RuleGroupId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRuleGroupId sets the RuleGroupId field's value. +func (s *GetRuleGroupInput) SetRuleGroupId(v string) *GetRuleGroupInput { + s.RuleGroupId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRuleGroupResponse +type GetRuleGroupOutput struct { + _ struct{} `type:"structure"` + + // Information about the RuleGroup that you specified in the GetRuleGroup request. + RuleGroup *RuleGroup `type:"structure"` +} + +// String returns the string representation +func (s GetRuleGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetRuleGroupOutput) GoString() string { + return s.String() +} + +// SetRuleGroup sets the RuleGroup field's value. +func (s *GetRuleGroupOutput) SetRuleGroup(v *RuleGroup) *GetRuleGroupOutput { + s.RuleGroup = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRuleRequest type GetRuleInput struct { _ struct{} `type:"structure"` @@ -11038,7 +12103,7 @@ func (s *GetRuleInput) SetRuleId(v string) *GetRuleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRuleResponse type GetRuleOutput struct { _ struct{} `type:"structure"` @@ -11068,7 +12133,7 @@ func (s *GetRuleOutput) SetRule(v *Rule) *GetRuleOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSampledRequestsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSampledRequestsRequest type GetSampledRequestsInput struct { _ struct{} `type:"structure"` @@ -11080,10 +12145,10 @@ type GetSampledRequestsInput struct { // MaxItems is a required field MaxItems *int64 `min:"1" type:"long" required:"true"` - // RuleId is one of two values: + // RuleId is one of three values: // - // * The RuleId of the Rule for which you want GetSampledRequests to return - // a sample of requests. + // * The RuleId of the Rule or the RuleGroupId of the RuleGroup for which + // you want GetSampledRequests to return a sample of requests. // // * Default_Action, which causes GetSampledRequests to return a sample of // the requests that didn't match any of the rules in the specified WebACL. @@ -11176,7 +12241,7 @@ func (s *GetSampledRequestsInput) SetWebAclId(v string) *GetSampledRequestsInput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSampledRequestsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSampledRequestsResponse type GetSampledRequestsOutput struct { _ struct{} `type:"structure"` @@ -11224,7 +12289,7 @@ func (s *GetSampledRequestsOutput) SetTimeWindow(v *TimeWindow) *GetSampledReque return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSizeConstraintSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSizeConstraintSetRequest type GetSizeConstraintSetInput struct { _ struct{} `type:"structure"` @@ -11267,7 +12332,7 @@ func (s *GetSizeConstraintSetInput) SetSizeConstraintSetId(v string) *GetSizeCon return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSizeConstraintSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSizeConstraintSetResponse type GetSizeConstraintSetOutput struct { _ struct{} `type:"structure"` @@ -11302,7 +12367,7 @@ func (s *GetSizeConstraintSetOutput) SetSizeConstraintSet(v *SizeConstraintSet) } // A request to get a SqlInjectionMatchSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSqlInjectionMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSqlInjectionMatchSetRequest type GetSqlInjectionMatchSetInput struct { _ struct{} `type:"structure"` @@ -11346,7 +12411,7 @@ func (s *GetSqlInjectionMatchSetInput) SetSqlInjectionMatchSetId(v string) *GetS } // The response to a GetSqlInjectionMatchSet request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSqlInjectionMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSqlInjectionMatchSetResponse type GetSqlInjectionMatchSetOutput struct { _ struct{} `type:"structure"` @@ -11379,7 +12444,7 @@ func (s *GetSqlInjectionMatchSetOutput) SetSqlInjectionMatchSet(v *SqlInjectionM return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetWebACLRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetWebACLRequest type GetWebACLInput struct { _ struct{} `type:"structure"` @@ -11422,7 +12487,7 @@ func (s *GetWebACLInput) SetWebACLId(v string) *GetWebACLInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetWebACLResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetWebACLResponse type GetWebACLOutput struct { _ struct{} `type:"structure"` @@ -11458,7 +12523,7 @@ func (s *GetWebACLOutput) SetWebACL(v *WebACL) *GetWebACLOutput { } // A request to get an XssMatchSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetXssMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetXssMatchSetRequest type GetXssMatchSetInput struct { _ struct{} `type:"structure"` @@ -11502,7 +12567,7 @@ func (s *GetXssMatchSetInput) SetXssMatchSetId(v string) *GetXssMatchSetInput { } // The response to a GetXssMatchSet request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetXssMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetXssMatchSetResponse type GetXssMatchSetOutput struct { _ struct{} `type:"structure"` @@ -11538,7 +12603,7 @@ func (s *GetXssMatchSetOutput) SetXssMatchSet(v *XssMatchSet) *GetXssMatchSetOut // type that appears as Headers in the response syntax. HTTPHeader contains // the names and values of all of the headers that appear in one of the web // requests that were returned by GetSampledRequests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/HTTPHeader +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/HTTPHeader type HTTPHeader struct { _ struct{} `type:"structure"` @@ -11574,7 +12639,7 @@ func (s *HTTPHeader) SetValue(v string) *HTTPHeader { // The response from a GetSampledRequests request includes an HTTPRequest complex // type that appears as Request in the response syntax. HTTPRequest contains // information about one of the web requests that were returned by GetSampledRequests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/HTTPRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/HTTPRequest type HTTPRequest struct { _ struct{} `type:"structure"` @@ -11665,7 +12730,7 @@ func (s *HTTPRequest) SetURI(v string) *HTTPRequest { // you can specify a /128, /64, /56, /48, /32, /24, /16, or /8 CIDR. For more // information about CIDR notation, see the Wikipedia entry Classless Inter-Domain // Routing (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/IPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/IPSet type IPSet struct { _ struct{} `type:"structure"` @@ -11723,7 +12788,7 @@ func (s *IPSet) SetName(v string) *IPSet { // Specifies the IP address type (IPV4 or IPV6) and the IP address range (in // CIDR format) that web requests originate from. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/IPSetDescriptor +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/IPSetDescriptor type IPSetDescriptor struct { _ struct{} `type:"structure"` @@ -11795,7 +12860,7 @@ func (s *IPSetDescriptor) SetValue(v string) *IPSetDescriptor { } // Contains the identifier and the name of the IPSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/IPSetSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/IPSetSummary type IPSetSummary struct { _ struct{} `type:"structure"` @@ -11835,7 +12900,7 @@ func (s *IPSetSummary) SetName(v string) *IPSetSummary { } // Specifies the type of update to perform to an IPSet with UpdateIPSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/IPSetUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/IPSetUpdate type IPSetUpdate struct { _ struct{} `type:"structure"` @@ -11894,40 +12959,47 @@ func (s *IPSetUpdate) SetIPSetDescriptor(v *IPSetDescriptor) *IPSetUpdate { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListByteMatchSetsRequest -type ListByteMatchSetsInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListActivatedRulesInRuleGroupRequest +type ListActivatedRulesInRuleGroupInput struct { _ struct{} `type:"structure"` - // Specifies the number of ByteMatchSet objects that you want AWS WAF to return - // for this request. If you have more ByteMatchSets objects than the number - // you specify for Limit, the response includes a NextMarker value that you - // can use to get another batch of ByteMatchSet objects. + // Specifies the number of ActivatedRules that you want AWS WAF to return for + // this request. If you have more ActivatedRules than the number that you specify + // for Limit, the response includes a NextMarker value that you can use to get + // another batch of ActivatedRules. Limit *int64 `type:"integer"` - // If you specify a value for Limit and you have more ByteMatchSets than the + // If you specify a value for Limit and you have more ActivatedRules than the // value of Limit, AWS WAF returns a NextMarker value in the response that allows - // you to list another group of ByteMatchSets. For the second and subsequent - // ListByteMatchSets requests, specify the value of NextMarker from the previous - // response to get information about another batch of ByteMatchSets. + // you to list another group of ActivatedRules. For the second and subsequent + // ListActivatedRulesInRuleGroup requests, specify the value of NextMarker from + // the previous response to get information about another batch of ActivatedRules. NextMarker *string `min:"1" type:"string"` + + // The RuleGroupId of the RuleGroup for which you want to get a list of ActivatedRule + // objects. + RuleGroupId *string `min:"1" type:"string"` } // String returns the string representation -func (s ListByteMatchSetsInput) String() string { +func (s ListActivatedRulesInRuleGroupInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListByteMatchSetsInput) GoString() string { +func (s ListActivatedRulesInRuleGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListByteMatchSetsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListByteMatchSetsInput"} +func (s *ListActivatedRulesInRuleGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListActivatedRulesInRuleGroupInput"} if s.NextMarker != nil && len(*s.NextMarker) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextMarker", 1)) } + if s.RuleGroupId != nil && len(*s.RuleGroupId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RuleGroupId", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -11936,84 +13008,179 @@ func (s *ListByteMatchSetsInput) Validate() error { } // SetLimit sets the Limit field's value. -func (s *ListByteMatchSetsInput) SetLimit(v int64) *ListByteMatchSetsInput { +func (s *ListActivatedRulesInRuleGroupInput) SetLimit(v int64) *ListActivatedRulesInRuleGroupInput { s.Limit = &v return s } // SetNextMarker sets the NextMarker field's value. -func (s *ListByteMatchSetsInput) SetNextMarker(v string) *ListByteMatchSetsInput { +func (s *ListActivatedRulesInRuleGroupInput) SetNextMarker(v string) *ListActivatedRulesInRuleGroupInput { s.NextMarker = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListByteMatchSetsResponse -type ListByteMatchSetsOutput struct { +// SetRuleGroupId sets the RuleGroupId field's value. +func (s *ListActivatedRulesInRuleGroupInput) SetRuleGroupId(v string) *ListActivatedRulesInRuleGroupInput { + s.RuleGroupId = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListActivatedRulesInRuleGroupResponse +type ListActivatedRulesInRuleGroupOutput struct { _ struct{} `type:"structure"` - // An array of ByteMatchSetSummary objects. - ByteMatchSets []*ByteMatchSetSummary `type:"list"` + // An array of ActivatedRules objects. + ActivatedRules []*ActivatedRule `type:"list"` - // If you have more ByteMatchSet objects than the number that you specified - // for Limit in the request, the response includes a NextMarker value. To list - // more ByteMatchSet objects, submit another ListByteMatchSets request, and - // specify the NextMarker value from the response in the NextMarker value in - // the next request. + // If you have more ActivatedRules than the number that you specified for Limit + // in the request, the response includes a NextMarker value. To list more ActivatedRules, + // submit another ListActivatedRulesInRuleGroup request, and specify the NextMarker + // value from the response in the NextMarker value in the next request. NextMarker *string `min:"1" type:"string"` } // String returns the string representation -func (s ListByteMatchSetsOutput) String() string { +func (s ListActivatedRulesInRuleGroupOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListByteMatchSetsOutput) GoString() string { +func (s ListActivatedRulesInRuleGroupOutput) GoString() string { return s.String() } -// SetByteMatchSets sets the ByteMatchSets field's value. -func (s *ListByteMatchSetsOutput) SetByteMatchSets(v []*ByteMatchSetSummary) *ListByteMatchSetsOutput { - s.ByteMatchSets = v +// SetActivatedRules sets the ActivatedRules field's value. +func (s *ListActivatedRulesInRuleGroupOutput) SetActivatedRules(v []*ActivatedRule) *ListActivatedRulesInRuleGroupOutput { + s.ActivatedRules = v return s } // SetNextMarker sets the NextMarker field's value. -func (s *ListByteMatchSetsOutput) SetNextMarker(v string) *ListByteMatchSetsOutput { +func (s *ListActivatedRulesInRuleGroupOutput) SetNextMarker(v string) *ListActivatedRulesInRuleGroupOutput { s.NextMarker = &v return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListGeoMatchSetsRequest -type ListGeoMatchSetsInput struct { +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListByteMatchSetsRequest +type ListByteMatchSetsInput struct { _ struct{} `type:"structure"` - // Specifies the number of GeoMatchSet objects that you want AWS WAF to return - // for this request. If you have more GeoMatchSet objects than the number you - // specify for Limit, the response includes a NextMarker value that you can - // use to get another batch of GeoMatchSet objects. + // Specifies the number of ByteMatchSet objects that you want AWS WAF to return + // for this request. If you have more ByteMatchSets objects than the number + // you specify for Limit, the response includes a NextMarker value that you + // can use to get another batch of ByteMatchSet objects. Limit *int64 `type:"integer"` - // If you specify a value for Limit and you have more GeoMatchSets than the + // If you specify a value for Limit and you have more ByteMatchSets than the // value of Limit, AWS WAF returns a NextMarker value in the response that allows - // you to list another group of GeoMatchSet objects. For the second and subsequent - // ListGeoMatchSets requests, specify the value of NextMarker from the previous - // response to get information about another batch of GeoMatchSet objects. + // you to list another group of ByteMatchSets. For the second and subsequent + // ListByteMatchSets requests, specify the value of NextMarker from the previous + // response to get information about another batch of ByteMatchSets. NextMarker *string `min:"1" type:"string"` } // String returns the string representation -func (s ListGeoMatchSetsInput) String() string { +func (s ListByteMatchSetsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListGeoMatchSetsInput) GoString() string { +func (s ListByteMatchSetsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListGeoMatchSetsInput) Validate() error { +func (s *ListByteMatchSetsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListByteMatchSetsInput"} + if s.NextMarker != nil && len(*s.NextMarker) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextMarker", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLimit sets the Limit field's value. +func (s *ListByteMatchSetsInput) SetLimit(v int64) *ListByteMatchSetsInput { + s.Limit = &v + return s +} + +// SetNextMarker sets the NextMarker field's value. +func (s *ListByteMatchSetsInput) SetNextMarker(v string) *ListByteMatchSetsInput { + s.NextMarker = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListByteMatchSetsResponse +type ListByteMatchSetsOutput struct { + _ struct{} `type:"structure"` + + // An array of ByteMatchSetSummary objects. + ByteMatchSets []*ByteMatchSetSummary `type:"list"` + + // If you have more ByteMatchSet objects than the number that you specified + // for Limit in the request, the response includes a NextMarker value. To list + // more ByteMatchSet objects, submit another ListByteMatchSets request, and + // specify the NextMarker value from the response in the NextMarker value in + // the next request. + NextMarker *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ListByteMatchSetsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListByteMatchSetsOutput) GoString() string { + return s.String() +} + +// SetByteMatchSets sets the ByteMatchSets field's value. +func (s *ListByteMatchSetsOutput) SetByteMatchSets(v []*ByteMatchSetSummary) *ListByteMatchSetsOutput { + s.ByteMatchSets = v + return s +} + +// SetNextMarker sets the NextMarker field's value. +func (s *ListByteMatchSetsOutput) SetNextMarker(v string) *ListByteMatchSetsOutput { + s.NextMarker = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListGeoMatchSetsRequest +type ListGeoMatchSetsInput struct { + _ struct{} `type:"structure"` + + // Specifies the number of GeoMatchSet objects that you want AWS WAF to return + // for this request. If you have more GeoMatchSet objects than the number you + // specify for Limit, the response includes a NextMarker value that you can + // use to get another batch of GeoMatchSet objects. + Limit *int64 `type:"integer"` + + // If you specify a value for Limit and you have more GeoMatchSets than the + // value of Limit, AWS WAF returns a NextMarker value in the response that allows + // you to list another group of GeoMatchSet objects. For the second and subsequent + // ListGeoMatchSets requests, specify the value of NextMarker from the previous + // response to get information about another batch of GeoMatchSet objects. + NextMarker *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ListGeoMatchSetsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListGeoMatchSetsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListGeoMatchSetsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListGeoMatchSetsInput"} if s.NextMarker != nil && len(*s.NextMarker) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextMarker", 1)) @@ -12037,7 +13204,7 @@ func (s *ListGeoMatchSetsInput) SetNextMarker(v string) *ListGeoMatchSetsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListGeoMatchSetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListGeoMatchSetsResponse type ListGeoMatchSetsOutput struct { _ struct{} `type:"structure"` @@ -12074,7 +13241,7 @@ func (s *ListGeoMatchSetsOutput) SetNextMarker(v string) *ListGeoMatchSetsOutput return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListIPSetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListIPSetsRequest type ListIPSetsInput struct { _ struct{} `type:"structure"` @@ -12127,7 +13294,7 @@ func (s *ListIPSetsInput) SetNextMarker(v string) *ListIPSetsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListIPSetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListIPSetsResponse type ListIPSetsOutput struct { _ struct{} `type:"structure"` @@ -12163,7 +13330,7 @@ func (s *ListIPSetsOutput) SetNextMarker(v string) *ListIPSetsOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRateBasedRulesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRateBasedRulesRequest type ListRateBasedRulesInput struct { _ struct{} `type:"structure"` @@ -12215,7 +13382,7 @@ func (s *ListRateBasedRulesInput) SetNextMarker(v string) *ListRateBasedRulesInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRateBasedRulesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRateBasedRulesResponse type ListRateBasedRulesOutput struct { _ struct{} `type:"structure"` @@ -12251,7 +13418,7 @@ func (s *ListRateBasedRulesOutput) SetRules(v []*RuleSummary) *ListRateBasedRule return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexMatchSetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexMatchSetsRequest type ListRegexMatchSetsInput struct { _ struct{} `type:"structure"` @@ -12305,7 +13472,7 @@ func (s *ListRegexMatchSetsInput) SetNextMarker(v string) *ListRegexMatchSetsInp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexMatchSetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexMatchSetsResponse type ListRegexMatchSetsOutput struct { _ struct{} `type:"structure"` @@ -12342,7 +13509,7 @@ func (s *ListRegexMatchSetsOutput) SetRegexMatchSets(v []*RegexMatchSetSummary) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexPatternSetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexPatternSetsRequest type ListRegexPatternSetsInput struct { _ struct{} `type:"structure"` @@ -12396,7 +13563,7 @@ func (s *ListRegexPatternSetsInput) SetNextMarker(v string) *ListRegexPatternSet return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexPatternSetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexPatternSetsResponse type ListRegexPatternSetsOutput struct { _ struct{} `type:"structure"` @@ -12433,7 +13600,96 @@ func (s *ListRegexPatternSetsOutput) SetRegexPatternSets(v []*RegexPatternSetSum return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRulesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRuleGroupsRequest +type ListRuleGroupsInput struct { + _ struct{} `type:"structure"` + + // Specifies the number of RuleGroups that you want AWS WAF to return for this + // request. If you have more RuleGroups than the number that you specify for + // Limit, the response includes a NextMarker value that you can use to get another + // batch of RuleGroups. + Limit *int64 `type:"integer"` + + // If you specify a value for Limit and you have more RuleGroups than the value + // of Limit, AWS WAF returns a NextMarker value in the response that allows + // you to list another group of RuleGroups. For the second and subsequent ListRuleGroups + // requests, specify the value of NextMarker from the previous response to get + // information about another batch of RuleGroups. + NextMarker *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ListRuleGroupsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListRuleGroupsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListRuleGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListRuleGroupsInput"} + if s.NextMarker != nil && len(*s.NextMarker) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextMarker", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLimit sets the Limit field's value. +func (s *ListRuleGroupsInput) SetLimit(v int64) *ListRuleGroupsInput { + s.Limit = &v + return s +} + +// SetNextMarker sets the NextMarker field's value. +func (s *ListRuleGroupsInput) SetNextMarker(v string) *ListRuleGroupsInput { + s.NextMarker = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRuleGroupsResponse +type ListRuleGroupsOutput struct { + _ struct{} `type:"structure"` + + // If you have more RuleGroups than the number that you specified for Limit + // in the request, the response includes a NextMarker value. To list more RuleGroups, + // submit another ListRuleGroups request, and specify the NextMarker value from + // the response in the NextMarker value in the next request. + NextMarker *string `min:"1" type:"string"` + + // An array of RuleGroup objects. + RuleGroups []*RuleGroupSummary `type:"list"` +} + +// String returns the string representation +func (s ListRuleGroupsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListRuleGroupsOutput) GoString() string { + return s.String() +} + +// SetNextMarker sets the NextMarker field's value. +func (s *ListRuleGroupsOutput) SetNextMarker(v string) *ListRuleGroupsOutput { + s.NextMarker = &v + return s +} + +// SetRuleGroups sets the RuleGroups field's value. +func (s *ListRuleGroupsOutput) SetRuleGroups(v []*RuleGroupSummary) *ListRuleGroupsOutput { + s.RuleGroups = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRulesRequest type ListRulesInput struct { _ struct{} `type:"structure"` @@ -12485,7 +13741,7 @@ func (s *ListRulesInput) SetNextMarker(v string) *ListRulesInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRulesResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRulesResponse type ListRulesOutput struct { _ struct{} `type:"structure"` @@ -12521,7 +13777,7 @@ func (s *ListRulesOutput) SetRules(v []*RuleSummary) *ListRulesOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSizeConstraintSetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSizeConstraintSetsRequest type ListSizeConstraintSetsInput struct { _ struct{} `type:"structure"` @@ -12574,7 +13830,7 @@ func (s *ListSizeConstraintSetsInput) SetNextMarker(v string) *ListSizeConstrain return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSizeConstraintSetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSizeConstraintSetsResponse type ListSizeConstraintSetsOutput struct { _ struct{} `type:"structure"` @@ -12613,7 +13869,7 @@ func (s *ListSizeConstraintSetsOutput) SetSizeConstraintSets(v []*SizeConstraint // A request to list the SqlInjectionMatchSet objects created by the current // AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSqlInjectionMatchSetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSqlInjectionMatchSetsRequest type ListSqlInjectionMatchSetsInput struct { _ struct{} `type:"structure"` @@ -12667,7 +13923,7 @@ func (s *ListSqlInjectionMatchSetsInput) SetNextMarker(v string) *ListSqlInjecti } // The response to a ListSqlInjectionMatchSets request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSqlInjectionMatchSetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSqlInjectionMatchSetsResponse type ListSqlInjectionMatchSetsOutput struct { _ struct{} `type:"structure"` @@ -12704,7 +13960,97 @@ func (s *ListSqlInjectionMatchSetsOutput) SetSqlInjectionMatchSets(v []*SqlInjec return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListWebACLsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSubscribedRuleGroupsRequest +type ListSubscribedRuleGroupsInput struct { + _ struct{} `type:"structure"` + + // Specifies the number of subscribed rule groups that you want AWS WAF to return + // for this request. If you have more objects than the number you specify for + // Limit, the response includes a NextMarker value that you can use to get another + // batch of objects. + Limit *int64 `type:"integer"` + + // If you specify a value for Limit and you have more ByteMatchSetssubscribed + // rule groups than the value of Limit, AWS WAF returns a NextMarker value in + // the response that allows you to list another group of subscribed rule groups. + // For the second and subsequent ListSubscribedRuleGroupsRequest requests, specify + // the value of NextMarker from the previous response to get information about + // another batch of subscribed rule groups. + NextMarker *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ListSubscribedRuleGroupsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListSubscribedRuleGroupsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListSubscribedRuleGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListSubscribedRuleGroupsInput"} + if s.NextMarker != nil && len(*s.NextMarker) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextMarker", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLimit sets the Limit field's value. +func (s *ListSubscribedRuleGroupsInput) SetLimit(v int64) *ListSubscribedRuleGroupsInput { + s.Limit = &v + return s +} + +// SetNextMarker sets the NextMarker field's value. +func (s *ListSubscribedRuleGroupsInput) SetNextMarker(v string) *ListSubscribedRuleGroupsInput { + s.NextMarker = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSubscribedRuleGroupsResponse +type ListSubscribedRuleGroupsOutput struct { + _ struct{} `type:"structure"` + + // If you have more objects than the number that you specified for Limit in + // the request, the response includes a NextMarker value. To list more objects, + // submit another ListSubscribedRuleGroups request, and specify the NextMarker + // value from the response in the NextMarker value in the next request. + NextMarker *string `min:"1" type:"string"` + + // An array of RuleGroup objects. + RuleGroups []*SubscribedRuleGroupSummary `type:"list"` +} + +// String returns the string representation +func (s ListSubscribedRuleGroupsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListSubscribedRuleGroupsOutput) GoString() string { + return s.String() +} + +// SetNextMarker sets the NextMarker field's value. +func (s *ListSubscribedRuleGroupsOutput) SetNextMarker(v string) *ListSubscribedRuleGroupsOutput { + s.NextMarker = &v + return s +} + +// SetRuleGroups sets the RuleGroups field's value. +func (s *ListSubscribedRuleGroupsOutput) SetRuleGroups(v []*SubscribedRuleGroupSummary) *ListSubscribedRuleGroupsOutput { + s.RuleGroups = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListWebACLsRequest type ListWebACLsInput struct { _ struct{} `type:"structure"` @@ -12758,7 +14104,7 @@ func (s *ListWebACLsInput) SetNextMarker(v string) *ListWebACLsInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListWebACLsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListWebACLsResponse type ListWebACLsOutput struct { _ struct{} `type:"structure"` @@ -12795,7 +14141,7 @@ func (s *ListWebACLsOutput) SetWebACLs(v []*WebACLSummary) *ListWebACLsOutput { } // A request to list the XssMatchSet objects created by the current AWS account. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListXssMatchSetsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListXssMatchSetsRequest type ListXssMatchSetsInput struct { _ struct{} `type:"structure"` @@ -12849,7 +14195,7 @@ func (s *ListXssMatchSetsInput) SetNextMarker(v string) *ListXssMatchSetsInput { } // The response to a ListXssMatchSets request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListXssMatchSetsResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListXssMatchSetsResponse type ListXssMatchSetsOutput struct { _ struct{} `type:"structure"` @@ -12890,7 +14236,7 @@ func (s *ListXssMatchSetsOutput) SetXssMatchSets(v []*XssMatchSetSummary) *ListX // GeoMatchSet, and SizeConstraintSet objects that you want to add to a Rule // and, for each object, indicates whether you want to negate the settings, // for example, requests that do NOT originate from the IP address 192.0.2.44. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/Predicate +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/Predicate type Predicate struct { _ struct{} `type:"structure"` @@ -12986,7 +14332,7 @@ func (s *Predicate) SetType(v string) *Predicate { // Requests that meet both of these conditions and exceed 15,000 requests every // five minutes trigger the rule's action (block or count), which is defined // in the web ACL. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RateBasedRule type RateBasedRule struct { _ struct{} `type:"structure"` @@ -13088,7 +14434,7 @@ func (s *RateBasedRule) SetRuleId(v string) *RateBasedRule { // want AWS WAF to search for. If a RegexMatchSet contains more than one RegexMatchTuple // object, a request needs to match the settings in only one ByteMatchTuple // to be considered a match. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexMatchSet type RegexMatchSet struct { _ struct{} `type:"structure"` @@ -13148,7 +14494,7 @@ func (s *RegexMatchSet) SetRegexMatchTuples(v []*RegexMatchTuple) *RegexMatchSet // Returned by ListRegexMatchSets. Each RegexMatchSetSummary object includes // the Name and RegexMatchSetId for one RegexMatchSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexMatchSetSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexMatchSetSummary type RegexMatchSetSummary struct { _ struct{} `type:"structure"` @@ -13192,7 +14538,7 @@ func (s *RegexMatchSetSummary) SetRegexMatchSetId(v string) *RegexMatchSetSummar // In an UpdateRegexMatchSet request, RegexMatchSetUpdate specifies whether // to insert or delete a RegexMatchTuple and includes the settings for the RegexMatchTuple. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexMatchSetUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexMatchSetUpdate type RegexMatchSetUpdate struct { _ struct{} `type:"structure"` @@ -13266,7 +14612,7 @@ func (s *RegexMatchSetUpdate) SetRegexMatchTuple(v *RegexMatchTuple) *RegexMatch // // * Whether to perform any conversions on the request, such as converting // it to lowercase, before inspecting it for the specified string. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexMatchTuple +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexMatchTuple type RegexMatchTuple struct { _ struct{} `type:"structure"` @@ -13419,7 +14765,7 @@ func (s *RegexMatchTuple) SetTextTransformation(v string) *RegexMatchTuple { // The RegexPatternSet specifies the regular expression (regex) pattern that // you want AWS WAF to search for, such as B[a@]dB[o0]t. You can then configure // AWS WAF to reject those requests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexPatternSet type RegexPatternSet struct { _ struct{} `type:"structure"` @@ -13473,7 +14819,7 @@ func (s *RegexPatternSet) SetRegexPatternStrings(v []*string) *RegexPatternSet { // Returned by ListRegexPatternSets. Each RegexPatternSetSummary object includes // the Name and RegexPatternSetId for one RegexPatternSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexPatternSetSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexPatternSetSummary type RegexPatternSetSummary struct { _ struct{} `type:"structure"` @@ -13519,7 +14865,7 @@ func (s *RegexPatternSetSummary) SetRegexPatternSetId(v string) *RegexPatternSet // In an UpdateRegexPatternSet request, RegexPatternSetUpdate specifies whether // to insert or delete a RegexPatternString and includes the settings for the // RegexPatternString. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexPatternSetUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexPatternSetUpdate type RegexPatternSetUpdate struct { _ struct{} `type:"structure"` @@ -13558,102 +14904,272 @@ func (s *RegexPatternSetUpdate) Validate() error { invalidParams.Add(request.NewErrParamMinLen("RegexPatternString", 1)) } - if invalidParams.Len() > 0 { - return invalidParams - } - return nil + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAction sets the Action field's value. +func (s *RegexPatternSetUpdate) SetAction(v string) *RegexPatternSetUpdate { + s.Action = &v + return s +} + +// SetRegexPatternString sets the RegexPatternString field's value. +func (s *RegexPatternSetUpdate) SetRegexPatternString(v string) *RegexPatternSetUpdate { + s.RegexPatternString = &v + return s +} + +// A combination of ByteMatchSet, IPSet, and/or SqlInjectionMatchSet objects +// that identify the web requests that you want to allow, block, or count. For +// example, you might create a Rule that includes the following predicates: +// +// * An IPSet that causes AWS WAF to search for web requests that originate +// from the IP address 192.0.2.44 +// +// * A ByteMatchSet that causes AWS WAF to search for web requests for which +// the value of the User-Agent header is BadBot. +// +// To match the settings in this Rule, a request must originate from 192.0.2.44 +// AND include a User-Agent header for which the value is BadBot. +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/Rule +type Rule struct { + _ struct{} `type:"structure"` + + // A friendly name or description for the metrics for this Rule. The name can + // contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain + // whitespace. You can't change MetricName after you create the Rule. + MetricName *string `type:"string"` + + // The friendly name or description for the Rule. You can't change the name + // of a Rule after you create it. + Name *string `min:"1" type:"string"` + + // The Predicates object contains one Predicate element for each ByteMatchSet, + // IPSet, or SqlInjectionMatchSet object that you want to include in a Rule. + // + // Predicates is a required field + Predicates []*Predicate `type:"list" required:"true"` + + // A unique identifier for a Rule. You use RuleId to get more information about + // a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into + // a WebACL or delete a one from a WebACL (see UpdateWebACL), or delete a Rule + // from AWS WAF (see DeleteRule). + // + // RuleId is returned by CreateRule and by ListRules. + // + // RuleId is a required field + RuleId *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s Rule) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Rule) GoString() string { + return s.String() +} + +// SetMetricName sets the MetricName field's value. +func (s *Rule) SetMetricName(v string) *Rule { + s.MetricName = &v + return s +} + +// SetName sets the Name field's value. +func (s *Rule) SetName(v string) *Rule { + s.Name = &v + return s +} + +// SetPredicates sets the Predicates field's value. +func (s *Rule) SetPredicates(v []*Predicate) *Rule { + s.Predicates = v + return s +} + +// SetRuleId sets the RuleId field's value. +func (s *Rule) SetRuleId(v string) *Rule { + s.RuleId = &v + return s +} + +// A collection of predefined rules that you can add to a web ACL. +// +// Rule groups are subject to the following limits: +// +// * Three rule groups per account. You can request an increase to this limit +// by contacting customer support. +// +// * One rule group per web ACL. +// +// * Ten rules per rule group. +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RuleGroup +type RuleGroup struct { + _ struct{} `type:"structure"` + + // A friendly name or description for the metrics for this RuleGroup. The name + // can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't + // contain whitespace. You can't change the name of the metric after you create + // the RuleGroup. + MetricName *string `type:"string"` + + // The friendly name or description for the RuleGroup. You can't change the + // name of a RuleGroup after you create it. + Name *string `min:"1" type:"string"` + + // A unique identifier for a RuleGroup. You use RuleGroupId to get more information + // about a RuleGroup (see GetRuleGroup), update a RuleGroup (see UpdateRuleGroup), + // insert a RuleGroup into a WebACL or delete a one from a WebACL (see UpdateWebACL), + // or delete a RuleGroup from AWS WAF (see DeleteRuleGroup). + // + // RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups. + // + // RuleGroupId is a required field + RuleGroupId *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RuleGroup) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RuleGroup) GoString() string { + return s.String() +} + +// SetMetricName sets the MetricName field's value. +func (s *RuleGroup) SetMetricName(v string) *RuleGroup { + s.MetricName = &v + return s +} + +// SetName sets the Name field's value. +func (s *RuleGroup) SetName(v string) *RuleGroup { + s.Name = &v + return s +} + +// SetRuleGroupId sets the RuleGroupId field's value. +func (s *RuleGroup) SetRuleGroupId(v string) *RuleGroup { + s.RuleGroupId = &v + return s +} + +// Contains the identifier and the friendly name or description of the RuleGroup. +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RuleGroupSummary +type RuleGroupSummary struct { + _ struct{} `type:"structure"` + + // A friendly name or description of the RuleGroup. You can't change the name + // of a RuleGroup after you create it. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // A unique identifier for a RuleGroup. You use RuleGroupId to get more information + // about a RuleGroup (see GetRuleGroup), update a RuleGroup (see UpdateRuleGroup), + // insert a RuleGroup into a WebACL or delete one from a WebACL (see UpdateWebACL), + // or delete a RuleGroup from AWS WAF (see DeleteRuleGroup). + // + // RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups. + // + // RuleGroupId is a required field + RuleGroupId *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s RuleGroupSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RuleGroupSummary) GoString() string { + return s.String() } -// SetAction sets the Action field's value. -func (s *RegexPatternSetUpdate) SetAction(v string) *RegexPatternSetUpdate { - s.Action = &v +// SetName sets the Name field's value. +func (s *RuleGroupSummary) SetName(v string) *RuleGroupSummary { + s.Name = &v return s } -// SetRegexPatternString sets the RegexPatternString field's value. -func (s *RegexPatternSetUpdate) SetRegexPatternString(v string) *RegexPatternSetUpdate { - s.RegexPatternString = &v +// SetRuleGroupId sets the RuleGroupId field's value. +func (s *RuleGroupSummary) SetRuleGroupId(v string) *RuleGroupSummary { + s.RuleGroupId = &v return s } -// A combination of ByteMatchSet, IPSet, and/or SqlInjectionMatchSet objects -// that identify the web requests that you want to allow, block, or count. For -// example, you might create a Rule that includes the following predicates: -// -// * An IPSet that causes AWS WAF to search for web requests that originate -// from the IP address 192.0.2.44 -// -// * A ByteMatchSet that causes AWS WAF to search for web requests for which -// the value of the User-Agent header is BadBot. -// -// To match the settings in this Rule, a request must originate from 192.0.2.44 -// AND include a User-Agent header for which the value is BadBot. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/Rule -type Rule struct { +// Specifies an ActivatedRule and indicates whether you want to add it to a +// RuleGroup or delete it from a RuleGroup. +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RuleGroupUpdate +type RuleGroupUpdate struct { _ struct{} `type:"structure"` - // A friendly name or description for the metrics for this Rule. The name can - // contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain - // whitespace. You can't change MetricName after you create the Rule. - MetricName *string `type:"string"` - - // The friendly name or description for the Rule. You can't change the name - // of a Rule after you create it. - Name *string `min:"1" type:"string"` - - // The Predicates object contains one Predicate element for each ByteMatchSet, - // IPSet, or SqlInjectionMatchSet object that you want to include in a Rule. + // Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove + // an ActivatedRule from a RuleGroup. // - // Predicates is a required field - Predicates []*Predicate `type:"list" required:"true"` + // Action is a required field + Action *string `type:"string" required:"true" enum:"ChangeAction"` - // A unique identifier for a Rule. You use RuleId to get more information about - // a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into - // a WebACL or delete a one from a WebACL (see UpdateWebACL), or delete a Rule - // from AWS WAF (see DeleteRule). - // - // RuleId is returned by CreateRule and by ListRules. + // The ActivatedRule object specifies a Rule that you want to insert or delete, + // the priority of the Rule in the WebACL, and the action that you want AWS + // WAF to take when a web request matches the Rule (ALLOW, BLOCK, or COUNT). // - // RuleId is a required field - RuleId *string `min:"1" type:"string" required:"true"` + // ActivatedRule is a required field + ActivatedRule *ActivatedRule `type:"structure" required:"true"` } // String returns the string representation -func (s Rule) String() string { +func (s RuleGroupUpdate) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s Rule) GoString() string { +func (s RuleGroupUpdate) GoString() string { return s.String() } -// SetMetricName sets the MetricName field's value. -func (s *Rule) SetMetricName(v string) *Rule { - s.MetricName = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *RuleGroupUpdate) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RuleGroupUpdate"} + if s.Action == nil { + invalidParams.Add(request.NewErrParamRequired("Action")) + } + if s.ActivatedRule == nil { + invalidParams.Add(request.NewErrParamRequired("ActivatedRule")) + } + if s.ActivatedRule != nil { + if err := s.ActivatedRule.Validate(); err != nil { + invalidParams.AddNested("ActivatedRule", err.(request.ErrInvalidParams)) + } + } -// SetName sets the Name field's value. -func (s *Rule) SetName(v string) *Rule { - s.Name = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetPredicates sets the Predicates field's value. -func (s *Rule) SetPredicates(v []*Predicate) *Rule { - s.Predicates = v +// SetAction sets the Action field's value. +func (s *RuleGroupUpdate) SetAction(v string) *RuleGroupUpdate { + s.Action = &v return s } -// SetRuleId sets the RuleId field's value. -func (s *Rule) SetRuleId(v string) *Rule { - s.RuleId = &v +// SetActivatedRule sets the ActivatedRule field's value. +func (s *RuleGroupUpdate) SetActivatedRule(v *ActivatedRule) *RuleGroupUpdate { + s.ActivatedRule = v return s } // Contains the identifier and the friendly name or description of the Rule. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RuleSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RuleSummary type RuleSummary struct { _ struct{} `type:"structure"` @@ -13698,7 +15214,7 @@ func (s *RuleSummary) SetRuleId(v string) *RuleSummary { // Specifies a Predicate (such as an IPSet) and indicates whether you want to // add it to a Rule or delete it from a Rule. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RuleUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RuleUpdate type RuleUpdate struct { _ struct{} `type:"structure"` @@ -13761,7 +15277,7 @@ func (s *RuleUpdate) SetPredicate(v *Predicate) *RuleUpdate { // complex type that appears as SampledRequests in the response syntax. SampledHTTPRequests // contains one SampledHTTPRequest object for each web request that is returned // by GetSampledRequests. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SampledHTTPRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SampledHTTPRequest type SampledHTTPRequest struct { _ struct{} `type:"structure"` @@ -13773,6 +15289,12 @@ type SampledHTTPRequest struct { // Request is a required field Request *HTTPRequest `type:"structure" required:"true"` + // This value is returned if the GetSampledRequests request specifies the ID + // of a RuleGroup rather than the ID of an individual rule. RuleWithinRuleGroup + // is the rule within the specified RuleGroup that matched the request listed + // in the response. + RuleWithinRuleGroup *string `min:"1" type:"string"` + // The time at which AWS WAF received the request from your AWS resource, in // Unix time format (in seconds). Timestamp *time.Time `type:"timestamp" timestampFormat:"unix"` @@ -13808,6 +15330,12 @@ func (s *SampledHTTPRequest) SetRequest(v *HTTPRequest) *SampledHTTPRequest { return s } +// SetRuleWithinRuleGroup sets the RuleWithinRuleGroup field's value. +func (s *SampledHTTPRequest) SetRuleWithinRuleGroup(v string) *SampledHTTPRequest { + s.RuleWithinRuleGroup = &v + return s +} + // SetTimestamp sets the Timestamp field's value. func (s *SampledHTTPRequest) SetTimestamp(v time.Time) *SampledHTTPRequest { s.Timestamp = &v @@ -13824,7 +15352,7 @@ func (s *SampledHTTPRequest) SetWeight(v int64) *SampledHTTPRequest { // uses the Size, ComparisonOperator, and FieldToMatch to build an expression // in the form of "SizeComparisonOperator size in bytes of FieldToMatch". If // that expression is true, the SizeConstraint is considered to match. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SizeConstraint +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SizeConstraint type SizeConstraint struct { _ struct{} `type:"structure"` @@ -14012,7 +15540,7 @@ func (s *SizeConstraint) SetTextTransformation(v string) *SizeConstraint { // of web requests that you want AWS WAF to inspect the size of. If a SizeConstraintSet // contains more than one SizeConstraint object, a request only needs to match // one constraint to be considered a match. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SizeConstraintSet type SizeConstraintSet struct { _ struct{} `type:"structure"` @@ -14065,7 +15593,7 @@ func (s *SizeConstraintSet) SetSizeConstraints(v []*SizeConstraint) *SizeConstra } // The Id and Name of a SizeConstraintSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SizeConstraintSetSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SizeConstraintSetSummary type SizeConstraintSetSummary struct { _ struct{} `type:"structure"` @@ -14111,7 +15639,7 @@ func (s *SizeConstraintSetSummary) SetSizeConstraintSetId(v string) *SizeConstra // Specifies the part of a web request that you want to inspect the size of // and indicates whether you want to add the specification to a SizeConstraintSet // or delete it from a SizeConstraintSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SizeConstraintSetUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SizeConstraintSetUpdate type SizeConstraintSetUpdate struct { _ struct{} `type:"structure"` @@ -14179,7 +15707,7 @@ func (s *SizeConstraintSetUpdate) SetSizeConstraint(v *SizeConstraint) *SizeCons // of the header. If a SqlInjectionMatchSet contains more than one SqlInjectionMatchTuple // object, a request needs to include snippets of SQL code in only one of the // specified parts of the request to be considered a match. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SqlInjectionMatchSet type SqlInjectionMatchSet struct { _ struct{} `type:"structure"` @@ -14233,7 +15761,7 @@ func (s *SqlInjectionMatchSet) SetSqlInjectionMatchTuples(v []*SqlInjectionMatch } // The Id and Name of a SqlInjectionMatchSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SqlInjectionMatchSetSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SqlInjectionMatchSetSummary type SqlInjectionMatchSetSummary struct { _ struct{} `type:"structure"` @@ -14279,7 +15807,7 @@ func (s *SqlInjectionMatchSetSummary) SetSqlInjectionMatchSetId(v string) *SqlIn // Specifies the part of a web request that you want to inspect for snippets // of malicious SQL code and indicates whether you want to add the specification // to a SqlInjectionMatchSet or delete it from a SqlInjectionMatchSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SqlInjectionMatchSetUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SqlInjectionMatchSetUpdate type SqlInjectionMatchSetUpdate struct { _ struct{} `type:"structure"` @@ -14343,7 +15871,7 @@ func (s *SqlInjectionMatchSetUpdate) SetSqlInjectionMatchTuple(v *SqlInjectionMa // Specifies the part of a web request that you want AWS WAF to inspect for // snippets of malicious SQL code and, if you want AWS WAF to inspect a header, // the name of the header. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SqlInjectionMatchTuple +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SqlInjectionMatchTuple type SqlInjectionMatchTuple struct { _ struct{} `type:"structure"` @@ -14470,6 +15998,59 @@ func (s *SqlInjectionMatchTuple) SetTextTransformation(v string) *SqlInjectionMa return s } +// A summary of the rule groups you are subscribed to. +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SubscribedRuleGroupSummary +type SubscribedRuleGroupSummary struct { + _ struct{} `type:"structure"` + + // A friendly name or description for the metrics for this RuleGroup. The name + // can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't + // contain whitespace. You can't change the name of the metric after you create + // the RuleGroup. + // + // MetricName is a required field + MetricName *string `type:"string" required:"true"` + + // A friendly name or description of the RuleGroup. You can't change the name + // of a RuleGroup after you create it. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // A unique identifier for a RuleGroup. + // + // RuleGroupId is a required field + RuleGroupId *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s SubscribedRuleGroupSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SubscribedRuleGroupSummary) GoString() string { + return s.String() +} + +// SetMetricName sets the MetricName field's value. +func (s *SubscribedRuleGroupSummary) SetMetricName(v string) *SubscribedRuleGroupSummary { + s.MetricName = &v + return s +} + +// SetName sets the Name field's value. +func (s *SubscribedRuleGroupSummary) SetName(v string) *SubscribedRuleGroupSummary { + s.Name = &v + return s +} + +// SetRuleGroupId sets the RuleGroupId field's value. +func (s *SubscribedRuleGroupSummary) SetRuleGroupId(v string) *SubscribedRuleGroupSummary { + s.RuleGroupId = &v + return s +} + // In a GetSampledRequests request, the StartTime and EndTime objects specify // the time range for which you want AWS WAF to return a sample of web requests. // @@ -14480,7 +16061,7 @@ func (s *SqlInjectionMatchTuple) SetTextTransformation(v string) *SqlInjectionMa // If your resource receives more than 5,000 requests during that period, AWS // WAF stops sampling after the 5,000th request. In that case, EndTime is the // time that AWS WAF received the 5,000th request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/TimeWindow +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/TimeWindow type TimeWindow struct { _ struct{} `type:"structure"` @@ -14539,7 +16120,7 @@ func (s *TimeWindow) SetStartTime(v time.Time) *TimeWindow { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateByteMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateByteMatchSetRequest type UpdateByteMatchSetInput struct { _ struct{} `type:"structure"` @@ -14634,7 +16215,7 @@ func (s *UpdateByteMatchSetInput) SetUpdates(v []*ByteMatchSetUpdate) *UpdateByt return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateByteMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateByteMatchSetResponse type UpdateByteMatchSetOutput struct { _ struct{} `type:"structure"` @@ -14660,7 +16241,7 @@ func (s *UpdateByteMatchSetOutput) SetChangeToken(v string) *UpdateByteMatchSetO return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateGeoMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateGeoMatchSetRequest type UpdateGeoMatchSetInput struct { _ struct{} `type:"structure"` @@ -14755,7 +16336,7 @@ func (s *UpdateGeoMatchSetInput) SetUpdates(v []*GeoMatchSetUpdate) *UpdateGeoMa return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateGeoMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateGeoMatchSetResponse type UpdateGeoMatchSetOutput struct { _ struct{} `type:"structure"` @@ -14781,7 +16362,7 @@ func (s *UpdateGeoMatchSetOutput) SetChangeToken(v string) *UpdateGeoMatchSetOut return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateIPSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateIPSetRequest type UpdateIPSetInput struct { _ struct{} `type:"structure"` @@ -14873,7 +16454,7 @@ func (s *UpdateIPSetInput) SetUpdates(v []*IPSetUpdate) *UpdateIPSetInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateIPSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateIPSetResponse type UpdateIPSetOutput struct { _ struct{} `type:"structure"` @@ -14899,7 +16480,7 @@ func (s *UpdateIPSetOutput) SetChangeToken(v string) *UpdateIPSetOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRateBasedRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRateBasedRuleRequest type UpdateRateBasedRuleInput struct { _ struct{} `type:"structure"` @@ -15005,7 +16586,7 @@ func (s *UpdateRateBasedRuleInput) SetUpdates(v []*RuleUpdate) *UpdateRateBasedR return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRateBasedRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRateBasedRuleResponse type UpdateRateBasedRuleOutput struct { _ struct{} `type:"structure"` @@ -15031,7 +16612,7 @@ func (s *UpdateRateBasedRuleOutput) SetChangeToken(v string) *UpdateRateBasedRul return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexMatchSetRequest type UpdateRegexMatchSetInput struct { _ struct{} `type:"structure"` @@ -15119,7 +16700,7 @@ func (s *UpdateRegexMatchSetInput) SetUpdates(v []*RegexMatchSetUpdate) *UpdateR return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexMatchSetResponse type UpdateRegexMatchSetOutput struct { _ struct{} `type:"structure"` @@ -15145,7 +16726,7 @@ func (s *UpdateRegexMatchSetOutput) SetChangeToken(v string) *UpdateRegexMatchSe return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexPatternSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexPatternSetRequest type UpdateRegexPatternSetInput struct { _ struct{} `type:"structure"` @@ -15233,7 +16814,7 @@ func (s *UpdateRegexPatternSetInput) SetUpdates(v []*RegexPatternSetUpdate) *Upd return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexPatternSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexPatternSetResponse type UpdateRegexPatternSetOutput struct { _ struct{} `type:"structure"` @@ -15259,7 +16840,127 @@ func (s *UpdateRegexPatternSetOutput) SetChangeToken(v string) *UpdateRegexPatte return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleGroupRequest +type UpdateRuleGroupInput struct { + _ struct{} `type:"structure"` + + // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field + ChangeToken *string `min:"1" type:"string" required:"true"` + + // The RuleGroupId of the RuleGroup that you want to update. RuleGroupId is + // returned by CreateRuleGroup and by ListRuleGroups. + // + // RuleGroupId is a required field + RuleGroupId *string `min:"1" type:"string" required:"true"` + + // An array of RuleGroupUpdate objects that you want to insert into or delete + // from a RuleGroup. + // + // You can only insert REGULAR rules into a rule group. + // + // The Action data type within ActivatedRule is used only when submitting an + // UpdateWebACL request. ActivatedRule|Action is not applicable and therefore + // not available for UpdateRuleGroup. + // + // Updates is a required field + Updates []*RuleGroupUpdate `min:"1" type:"list" required:"true"` +} + +// String returns the string representation +func (s UpdateRuleGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateRuleGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateRuleGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateRuleGroupInput"} + if s.ChangeToken == nil { + invalidParams.Add(request.NewErrParamRequired("ChangeToken")) + } + if s.ChangeToken != nil && len(*s.ChangeToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChangeToken", 1)) + } + if s.RuleGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("RuleGroupId")) + } + if s.RuleGroupId != nil && len(*s.RuleGroupId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RuleGroupId", 1)) + } + if s.Updates == nil { + invalidParams.Add(request.NewErrParamRequired("Updates")) + } + if s.Updates != nil && len(s.Updates) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Updates", 1)) + } + if s.Updates != nil { + for i, v := range s.Updates { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Updates", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChangeToken sets the ChangeToken field's value. +func (s *UpdateRuleGroupInput) SetChangeToken(v string) *UpdateRuleGroupInput { + s.ChangeToken = &v + return s +} + +// SetRuleGroupId sets the RuleGroupId field's value. +func (s *UpdateRuleGroupInput) SetRuleGroupId(v string) *UpdateRuleGroupInput { + s.RuleGroupId = &v + return s +} + +// SetUpdates sets the Updates field's value. +func (s *UpdateRuleGroupInput) SetUpdates(v []*RuleGroupUpdate) *UpdateRuleGroupInput { + s.Updates = v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleGroupResponse +type UpdateRuleGroupOutput struct { + _ struct{} `type:"structure"` + + // The ChangeToken that you used to submit the UpdateRuleGroup request. You + // can also use this value to query the status of the request. For more information, + // see GetChangeTokenStatus. + ChangeToken *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s UpdateRuleGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateRuleGroupOutput) GoString() string { + return s.String() +} + +// SetChangeToken sets the ChangeToken field's value. +func (s *UpdateRuleGroupOutput) SetChangeToken(v string) *UpdateRuleGroupOutput { + s.ChangeToken = &v + return s +} + +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleRequest type UpdateRuleInput struct { _ struct{} `type:"structure"` @@ -15350,7 +17051,7 @@ func (s *UpdateRuleInput) SetUpdates(v []*RuleUpdate) *UpdateRuleInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleResponse type UpdateRuleOutput struct { _ struct{} `type:"structure"` @@ -15376,7 +17077,7 @@ func (s *UpdateRuleOutput) SetChangeToken(v string) *UpdateRuleOutput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSizeConstraintSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSizeConstraintSetRequest type UpdateSizeConstraintSetInput struct { _ struct{} `type:"structure"` @@ -15472,7 +17173,7 @@ func (s *UpdateSizeConstraintSetInput) SetUpdates(v []*SizeConstraintSetUpdate) return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSizeConstraintSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSizeConstraintSetResponse type UpdateSizeConstraintSetOutput struct { _ struct{} `type:"structure"` @@ -15499,7 +17200,7 @@ func (s *UpdateSizeConstraintSetOutput) SetChangeToken(v string) *UpdateSizeCons } // A request to update a SqlInjectionMatchSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSqlInjectionMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSqlInjectionMatchSetRequest type UpdateSqlInjectionMatchSetInput struct { _ struct{} `type:"structure"` @@ -15595,7 +17296,7 @@ func (s *UpdateSqlInjectionMatchSetInput) SetUpdates(v []*SqlInjectionMatchSetUp } // The response to an UpdateSqlInjectionMatchSets request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSqlInjectionMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSqlInjectionMatchSetResponse type UpdateSqlInjectionMatchSetOutput struct { _ struct{} `type:"structure"` @@ -15621,7 +17322,7 @@ func (s *UpdateSqlInjectionMatchSetOutput) SetChangeToken(v string) *UpdateSqlIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateWebACLRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateWebACLRequest type UpdateWebACLInput struct { _ struct{} `type:"structure"` @@ -15642,7 +17343,10 @@ type UpdateWebACLInput struct { // // * WebACLUpdate: Contains Action and ActivatedRule // - // * ActivatedRule: Contains Action, Priority, RuleId, and Type + // * ActivatedRule: Contains Action, Priority, RuleId, and Type. The OverrideAction + // data type within ActivatedRule is used only when submitting an UpdateRuleGroup + // request. ActivatedRule|OverrideAction is not applicable and therefore + // not available for UpdateWebACL. // // * WafAction: Contains Type Updates []*WebACLUpdate `type:"list"` @@ -15725,7 +17429,7 @@ func (s *UpdateWebACLInput) SetWebACLId(v string) *UpdateWebACLInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateWebACLResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateWebACLResponse type UpdateWebACLOutput struct { _ struct{} `type:"structure"` @@ -15752,7 +17456,7 @@ func (s *UpdateWebACLOutput) SetChangeToken(v string) *UpdateWebACLOutput { } // A request to update an XssMatchSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateXssMatchSetRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateXssMatchSetRequest type UpdateXssMatchSetInput struct { _ struct{} `type:"structure"` @@ -15847,7 +17551,7 @@ func (s *UpdateXssMatchSetInput) SetXssMatchSetId(v string) *UpdateXssMatchSetIn } // The response to an UpdateXssMatchSets request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateXssMatchSetResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateXssMatchSetResponse type UpdateXssMatchSetOutput struct { _ struct{} `type:"structure"` @@ -15878,7 +17582,7 @@ func (s *UpdateXssMatchSetOutput) SetChangeToken(v string) *UpdateXssMatchSetOut // the conditions in a rule. For the default action in a WebACL, specifies the // action that you want AWS WAF to take when a web request doesn't match all // of the conditions in any of the rules in a WebACL. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WafAction +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WafAction type WafAction struct { _ struct{} `type:"structure"` @@ -15927,6 +17631,47 @@ func (s *WafAction) SetType(v string) *WafAction { return s } +// The action to take if any rule within the RuleGroup matches a request. +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WafOverrideAction +type WafOverrideAction struct { + _ struct{} `type:"structure"` + + // COUNT overrides the action specified by the individual rule within a RuleGroup + // . If set to NONE, the rule's action will take place. + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"WafOverrideActionType"` +} + +// String returns the string representation +func (s WafOverrideAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s WafOverrideAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *WafOverrideAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WafOverrideAction"} + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetType sets the Type field's value. +func (s *WafOverrideAction) SetType(v string) *WafOverrideAction { + s.Type = &v + return s +} + // Contains the Rules that identify the requests that you want to allow, block, // or count. In a WebACL, you also specify a default action (ALLOW or BLOCK), // and the action for each Rule that you add to a WebACL, for example, block @@ -15935,7 +17680,7 @@ func (s *WafAction) SetType(v string) *WafAction { // the requests that you want AWS WAF to filter. If you add more than one Rule // to a WebACL, a request needs to match only one of the specifications to be // allowed, blocked, or counted. For more information, see UpdateWebACL. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WebACL type WebACL struct { _ struct{} `type:"structure"` @@ -16011,7 +17756,7 @@ func (s *WebACL) SetWebACLId(v string) *WebACL { } // Contains the identifier and the name or description of the WebACL. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WebACLSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WebACLSummary type WebACLSummary struct { _ struct{} `type:"structure"` @@ -16054,7 +17799,7 @@ func (s *WebACLSummary) SetWebACLId(v string) *WebACLSummary { } // Specifies whether to insert a Rule into or delete a Rule from a WebACL. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WebACLUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WebACLUpdate type WebACLUpdate struct { _ struct{} `type:"structure"` @@ -16121,7 +17866,7 @@ func (s *WebACLUpdate) SetActivatedRule(v *ActivatedRule) *WebACLUpdate { // If a XssMatchSet contains more than one XssMatchTuple object, a request needs // to include cross-site scripting attacks in only one of the specified parts // of the request to be considered a match. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/XssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/XssMatchSet type XssMatchSet struct { _ struct{} `type:"structure"` @@ -16174,7 +17919,7 @@ func (s *XssMatchSet) SetXssMatchTuples(v []*XssMatchTuple) *XssMatchSet { } // The Id and Name of an XssMatchSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/XssMatchSetSummary +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/XssMatchSetSummary type XssMatchSetSummary struct { _ struct{} `type:"structure"` @@ -16219,7 +17964,7 @@ func (s *XssMatchSetSummary) SetXssMatchSetId(v string) *XssMatchSetSummary { // Specifies the part of a web request that you want to inspect for cross-site // scripting attacks and indicates whether you want to add the specification // to an XssMatchSet or delete it from an XssMatchSet. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/XssMatchSetUpdate +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/XssMatchSetUpdate type XssMatchSetUpdate struct { _ struct{} `type:"structure"` @@ -16283,7 +18028,7 @@ func (s *XssMatchSetUpdate) SetXssMatchTuple(v *XssMatchTuple) *XssMatchSetUpdat // Specifies the part of a web request that you want AWS WAF to inspect for // cross-site scripting attacks and, if you want AWS WAF to inspect a header, // the name of the header. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/XssMatchTuple +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/XssMatchTuple type XssMatchTuple struct { _ struct{} `type:"structure"` @@ -17235,6 +18980,9 @@ const ( // ParameterExceptionFieldWafAction is a ParameterExceptionField enum value ParameterExceptionFieldWafAction = "WAF_ACTION" + // ParameterExceptionFieldWafOverrideAction is a ParameterExceptionField enum value + ParameterExceptionFieldWafOverrideAction = "WAF_OVERRIDE_ACTION" + // ParameterExceptionFieldPredicateType is a ParameterExceptionField enum value ParameterExceptionFieldPredicateType = "PREDICATE_TYPE" @@ -17356,10 +19104,21 @@ const ( WafActionTypeCount = "COUNT" ) +const ( + // WafOverrideActionTypeNone is a WafOverrideActionType enum value + WafOverrideActionTypeNone = "NONE" + + // WafOverrideActionTypeCount is a WafOverrideActionType enum value + WafOverrideActionTypeCount = "COUNT" +) + const ( // WafRuleTypeRegular is a WafRuleType enum value WafRuleTypeRegular = "REGULAR" // WafRuleTypeRateBased is a WafRuleType enum value WafRuleTypeRateBased = "RATE_BASED" + + // WafRuleTypeGroup is a WafRuleType enum value + WafRuleTypeGroup = "GROUP" ) diff --git a/vendor/github.com/aws/aws-sdk-go/service/waf/errors.go b/vendor/github.com/aws/aws-sdk-go/service/waf/errors.go index 83f4870dccb..0e429fbf19e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/waf/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/waf/errors.go @@ -154,4 +154,10 @@ const ( // The operation failed because you tried to create, update, or delete an object // by using a change token that has already been used. ErrCodeStaleDataException = "StaleDataException" + + // ErrCodeSubscriptionNotFoundException for service response error code + // "SubscriptionNotFoundException". + // + // The specified subscription does not exist. + ErrCodeSubscriptionNotFoundException = "SubscriptionNotFoundException" ) diff --git a/vendor/github.com/aws/aws-sdk-go/service/wafregional/api.go b/vendor/github.com/aws/aws-sdk-go/service/wafregional/api.go index 4e966dd9e7b..81da5cb4a69 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/wafregional/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/wafregional/api.go @@ -34,7 +34,7 @@ const opAssociateWebACL = "AssociateWebACL" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/AssociateWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/AssociateWebACL func (c *WAFRegional) AssociateWebACLRequest(input *AssociateWebACLInput) (req *request.Request, output *AssociateWebACLOutput) { op := &request.Operation{ Name: opAssociateWebACL, @@ -107,7 +107,7 @@ func (c *WAFRegional) AssociateWebACLRequest(input *AssociateWebACLInput) (req * // The operation failed because the entity referenced is temporarily unavailable. // Retry your request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/AssociateWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/AssociateWebACL func (c *WAFRegional) AssociateWebACL(input *AssociateWebACLInput) (*AssociateWebACLOutput, error) { req, out := c.AssociateWebACLRequest(input) return out, req.Send() @@ -154,7 +154,7 @@ const opCreateByteMatchSet = "CreateByteMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateByteMatchSet func (c *WAFRegional) CreateByteMatchSetRequest(input *waf.CreateByteMatchSetInput) (req *request.Request, output *waf.CreateByteMatchSetOutput) { op := &request.Operation{ Name: opCreateByteMatchSet, @@ -254,7 +254,7 @@ func (c *WAFRegional) CreateByteMatchSetRequest(input *waf.CreateByteMatchSetInp // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateByteMatchSet func (c *WAFRegional) CreateByteMatchSet(input *waf.CreateByteMatchSetInput) (*waf.CreateByteMatchSetOutput, error) { req, out := c.CreateByteMatchSetRequest(input) return out, req.Send() @@ -301,7 +301,7 @@ const opCreateGeoMatchSet = "CreateGeoMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateGeoMatchSet func (c *WAFRegional) CreateGeoMatchSetRequest(input *waf.CreateGeoMatchSetInput) (req *request.Request, output *waf.CreateGeoMatchSetOutput) { op := &request.Operation{ Name: opCreateGeoMatchSet, @@ -400,7 +400,7 @@ func (c *WAFRegional) CreateGeoMatchSetRequest(input *waf.CreateGeoMatchSetInput // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateGeoMatchSet func (c *WAFRegional) CreateGeoMatchSet(input *waf.CreateGeoMatchSetInput) (*waf.CreateGeoMatchSetOutput, error) { req, out := c.CreateGeoMatchSetRequest(input) return out, req.Send() @@ -447,7 +447,7 @@ const opCreateIPSet = "CreateIPSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateIPSet func (c *WAFRegional) CreateIPSetRequest(input *waf.CreateIPSetInput) (req *request.Request, output *waf.CreateIPSetOutput) { op := &request.Operation{ Name: opCreateIPSet, @@ -547,7 +547,7 @@ func (c *WAFRegional) CreateIPSetRequest(input *waf.CreateIPSetInput) (req *requ // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateIPSet func (c *WAFRegional) CreateIPSet(input *waf.CreateIPSetInput) (*waf.CreateIPSetOutput, error) { req, out := c.CreateIPSetRequest(input) return out, req.Send() @@ -594,7 +594,7 @@ const opCreateRateBasedRule = "CreateRateBasedRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRateBasedRule func (c *WAFRegional) CreateRateBasedRuleRequest(input *waf.CreateRateBasedRuleInput) (req *request.Request, output *waf.CreateRateBasedRuleOutput) { op := &request.Operation{ Name: opCreateRateBasedRule, @@ -729,7 +729,7 @@ func (c *WAFRegional) CreateRateBasedRuleRequest(input *waf.CreateRateBasedRuleI // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRateBasedRule func (c *WAFRegional) CreateRateBasedRule(input *waf.CreateRateBasedRuleInput) (*waf.CreateRateBasedRuleOutput, error) { req, out := c.CreateRateBasedRuleRequest(input) return out, req.Send() @@ -776,7 +776,7 @@ const opCreateRegexMatchSet = "CreateRegexMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexMatchSet func (c *WAFRegional) CreateRegexMatchSetRequest(input *waf.CreateRegexMatchSetInput) (req *request.Request, output *waf.CreateRegexMatchSetOutput) { op := &request.Operation{ Name: opCreateRegexMatchSet, @@ -844,7 +844,7 @@ func (c *WAFRegional) CreateRegexMatchSetRequest(input *waf.CreateRegexMatchSetI // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexMatchSet func (c *WAFRegional) CreateRegexMatchSet(input *waf.CreateRegexMatchSetInput) (*waf.CreateRegexMatchSetOutput, error) { req, out := c.CreateRegexMatchSetRequest(input) return out, req.Send() @@ -891,7 +891,7 @@ const opCreateRegexPatternSet = "CreateRegexPatternSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexPatternSet func (c *WAFRegional) CreateRegexPatternSetRequest(input *waf.CreateRegexPatternSetInput) (req *request.Request, output *waf.CreateRegexPatternSetOutput) { op := &request.Operation{ Name: opCreateRegexPatternSet, @@ -955,7 +955,7 @@ func (c *WAFRegional) CreateRegexPatternSetRequest(input *waf.CreateRegexPattern // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexPatternSet func (c *WAFRegional) CreateRegexPatternSet(input *waf.CreateRegexPatternSetInput) (*waf.CreateRegexPatternSetOutput, error) { req, out := c.CreateRegexPatternSetRequest(input) return out, req.Send() @@ -1002,7 +1002,7 @@ const opCreateRule = "CreateRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRule func (c *WAFRegional) CreateRuleRequest(input *waf.CreateRuleInput) (req *request.Request, output *waf.CreateRuleOutput) { op := &request.Operation{ Name: opCreateRule, @@ -1112,7 +1112,7 @@ func (c *WAFRegional) CreateRuleRequest(input *waf.CreateRuleInput) (req *reques // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRule func (c *WAFRegional) CreateRule(input *waf.CreateRuleInput) (*waf.CreateRuleOutput, error) { req, out := c.CreateRuleRequest(input) return out, req.Send() @@ -1134,6 +1134,112 @@ func (c *WAFRegional) CreateRuleWithContext(ctx aws.Context, input *waf.CreateRu return out, req.Send() } +const opCreateRuleGroup = "CreateRuleGroup" + +// CreateRuleGroupRequest generates a "aws/request.Request" representing the +// client's request for the CreateRuleGroup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateRuleGroup for more information on using the CreateRuleGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateRuleGroupRequest method. +// req, resp := client.CreateRuleGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRuleGroup +func (c *WAFRegional) CreateRuleGroupRequest(input *waf.CreateRuleGroupInput) (req *request.Request, output *waf.CreateRuleGroupOutput) { + op := &request.Operation{ + Name: opCreateRuleGroup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &waf.CreateRuleGroupInput{} + } + + output = &waf.CreateRuleGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateRuleGroup API operation for AWS WAF Regional. +// +// Creates a RuleGroup. A rule group is a collection of predefined rules that +// you add to a web ACL. You use UpdateRuleGroup to add rules to the rule group. +// +// Rule groups are subject to the following limits: +// +// * Three rule groups per account. You can request an increase to this limit +// by contacting customer support. +// +// * One rule group per web ACL. +// +// * Ten rules per rule group. +// +// For more information about how to use the AWS WAF API to allow or block HTTP +// requests, see the AWS WAF Developer Guide (http://docs.aws.amazon.com/waf/latest/developerguide/). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS WAF Regional's +// API operation CreateRuleGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeWAFStaleDataException "WAFStaleDataException" +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// * ErrCodeWAFInternalErrorException "WAFInternalErrorException" +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// * ErrCodeWAFDisallowedNameException "WAFDisallowedNameException" +// The name specified is invalid. +// +// * ErrCodeWAFLimitsExceededException "WAFLimitsExceededException" +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRuleGroup +func (c *WAFRegional) CreateRuleGroup(input *waf.CreateRuleGroupInput) (*waf.CreateRuleGroupOutput, error) { + req, out := c.CreateRuleGroupRequest(input) + return out, req.Send() +} + +// CreateRuleGroupWithContext is the same as CreateRuleGroup with the addition of +// the ability to pass a context and additional request options. +// +// See CreateRuleGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WAFRegional) CreateRuleGroupWithContext(ctx aws.Context, input *waf.CreateRuleGroupInput, opts ...request.Option) (*waf.CreateRuleGroupOutput, error) { + req, out := c.CreateRuleGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateSizeConstraintSet = "CreateSizeConstraintSet" // CreateSizeConstraintSetRequest generates a "aws/request.Request" representing the @@ -1159,7 +1265,7 @@ const opCreateSizeConstraintSet = "CreateSizeConstraintSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSizeConstraintSet func (c *WAFRegional) CreateSizeConstraintSetRequest(input *waf.CreateSizeConstraintSetInput) (req *request.Request, output *waf.CreateSizeConstraintSetOutput) { op := &request.Operation{ Name: opCreateSizeConstraintSet, @@ -1260,7 +1366,7 @@ func (c *WAFRegional) CreateSizeConstraintSetRequest(input *waf.CreateSizeConstr // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSizeConstraintSet func (c *WAFRegional) CreateSizeConstraintSet(input *waf.CreateSizeConstraintSetInput) (*waf.CreateSizeConstraintSetOutput, error) { req, out := c.CreateSizeConstraintSetRequest(input) return out, req.Send() @@ -1307,7 +1413,7 @@ const opCreateSqlInjectionMatchSet = "CreateSqlInjectionMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSqlInjectionMatchSet func (c *WAFRegional) CreateSqlInjectionMatchSetRequest(input *waf.CreateSqlInjectionMatchSetInput) (req *request.Request, output *waf.CreateSqlInjectionMatchSetOutput) { op := &request.Operation{ Name: opCreateSqlInjectionMatchSet, @@ -1404,7 +1510,7 @@ func (c *WAFRegional) CreateSqlInjectionMatchSetRequest(input *waf.CreateSqlInje // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSqlInjectionMatchSet func (c *WAFRegional) CreateSqlInjectionMatchSet(input *waf.CreateSqlInjectionMatchSetInput) (*waf.CreateSqlInjectionMatchSetOutput, error) { req, out := c.CreateSqlInjectionMatchSetRequest(input) return out, req.Send() @@ -1451,7 +1557,7 @@ const opCreateWebACL = "CreateWebACL" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACL func (c *WAFRegional) CreateWebACLRequest(input *waf.CreateWebACLInput) (req *request.Request, output *waf.CreateWebACLOutput) { op := &request.Operation{ Name: opCreateWebACL, @@ -1560,7 +1666,7 @@ func (c *WAFRegional) CreateWebACLRequest(input *waf.CreateWebACLInput) (req *re // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACL func (c *WAFRegional) CreateWebACL(input *waf.CreateWebACLInput) (*waf.CreateWebACLOutput, error) { req, out := c.CreateWebACLRequest(input) return out, req.Send() @@ -1607,7 +1713,7 @@ const opCreateXssMatchSet = "CreateXssMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateXssMatchSet func (c *WAFRegional) CreateXssMatchSetRequest(input *waf.CreateXssMatchSetInput) (req *request.Request, output *waf.CreateXssMatchSetOutput) { op := &request.Operation{ Name: opCreateXssMatchSet, @@ -1705,7 +1811,7 @@ func (c *WAFRegional) CreateXssMatchSetRequest(input *waf.CreateXssMatchSetInput // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateXssMatchSet func (c *WAFRegional) CreateXssMatchSet(input *waf.CreateXssMatchSetInput) (*waf.CreateXssMatchSetOutput, error) { req, out := c.CreateXssMatchSetRequest(input) return out, req.Send() @@ -1752,7 +1858,7 @@ const opDeleteByteMatchSet = "DeleteByteMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteByteMatchSet func (c *WAFRegional) DeleteByteMatchSetRequest(input *waf.DeleteByteMatchSetInput) (req *request.Request, output *waf.DeleteByteMatchSetOutput) { op := &request.Operation{ Name: opDeleteByteMatchSet, @@ -1832,7 +1938,7 @@ func (c *WAFRegional) DeleteByteMatchSetRequest(input *waf.DeleteByteMatchSetInp // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteByteMatchSet func (c *WAFRegional) DeleteByteMatchSet(input *waf.DeleteByteMatchSetInput) (*waf.DeleteByteMatchSetOutput, error) { req, out := c.DeleteByteMatchSetRequest(input) return out, req.Send() @@ -1879,7 +1985,7 @@ const opDeleteGeoMatchSet = "DeleteGeoMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteGeoMatchSet func (c *WAFRegional) DeleteGeoMatchSetRequest(input *waf.DeleteGeoMatchSetInput) (req *request.Request, output *waf.DeleteGeoMatchSetOutput) { op := &request.Operation{ Name: opDeleteGeoMatchSet, @@ -1958,7 +2064,7 @@ func (c *WAFRegional) DeleteGeoMatchSetRequest(input *waf.DeleteGeoMatchSetInput // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteGeoMatchSet func (c *WAFRegional) DeleteGeoMatchSet(input *waf.DeleteGeoMatchSetInput) (*waf.DeleteGeoMatchSetOutput, error) { req, out := c.DeleteGeoMatchSetRequest(input) return out, req.Send() @@ -2005,7 +2111,7 @@ const opDeleteIPSet = "DeleteIPSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteIPSet func (c *WAFRegional) DeleteIPSetRequest(input *waf.DeleteIPSetInput) (req *request.Request, output *waf.DeleteIPSetOutput) { op := &request.Operation{ Name: opDeleteIPSet, @@ -2084,7 +2190,7 @@ func (c *WAFRegional) DeleteIPSetRequest(input *waf.DeleteIPSetInput) (req *requ // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteIPSet func (c *WAFRegional) DeleteIPSet(input *waf.DeleteIPSetInput) (*waf.DeleteIPSetOutput, error) { req, out := c.DeleteIPSetRequest(input) return out, req.Send() @@ -2131,7 +2237,7 @@ const opDeleteRateBasedRule = "DeleteRateBasedRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRateBasedRule func (c *WAFRegional) DeleteRateBasedRuleRequest(input *waf.DeleteRateBasedRuleInput) (req *request.Request, output *waf.DeleteRateBasedRuleOutput) { op := &request.Operation{ Name: opDeleteRateBasedRule, @@ -2212,7 +2318,7 @@ func (c *WAFRegional) DeleteRateBasedRuleRequest(input *waf.DeleteRateBasedRuleI // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRateBasedRule func (c *WAFRegional) DeleteRateBasedRule(input *waf.DeleteRateBasedRuleInput) (*waf.DeleteRateBasedRuleOutput, error) { req, out := c.DeleteRateBasedRuleRequest(input) return out, req.Send() @@ -2259,7 +2365,7 @@ const opDeleteRegexMatchSet = "DeleteRegexMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexMatchSet func (c *WAFRegional) DeleteRegexMatchSetRequest(input *waf.DeleteRegexMatchSetInput) (req *request.Request, output *waf.DeleteRegexMatchSetOutput) { op := &request.Operation{ Name: opDeleteRegexMatchSet, @@ -2339,7 +2445,7 @@ func (c *WAFRegional) DeleteRegexMatchSetRequest(input *waf.DeleteRegexMatchSetI // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexMatchSet func (c *WAFRegional) DeleteRegexMatchSet(input *waf.DeleteRegexMatchSetInput) (*waf.DeleteRegexMatchSetOutput, error) { req, out := c.DeleteRegexMatchSetRequest(input) return out, req.Send() @@ -2386,7 +2492,7 @@ const opDeleteRegexPatternSet = "DeleteRegexPatternSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexPatternSet func (c *WAFRegional) DeleteRegexPatternSetRequest(input *waf.DeleteRegexPatternSetInput) (req *request.Request, output *waf.DeleteRegexPatternSetOutput) { op := &request.Operation{ Name: opDeleteRegexPatternSet, @@ -2454,7 +2560,7 @@ func (c *WAFRegional) DeleteRegexPatternSetRequest(input *waf.DeleteRegexPattern // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexPatternSet func (c *WAFRegional) DeleteRegexPatternSet(input *waf.DeleteRegexPatternSetInput) (*waf.DeleteRegexPatternSetOutput, error) { req, out := c.DeleteRegexPatternSetRequest(input) return out, req.Send() @@ -2501,7 +2607,7 @@ const opDeleteRule = "DeleteRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRule func (c *WAFRegional) DeleteRuleRequest(input *waf.DeleteRuleInput) (req *request.Request, output *waf.DeleteRuleOutput) { op := &request.Operation{ Name: opDeleteRule, @@ -2580,7 +2686,7 @@ func (c *WAFRegional) DeleteRuleRequest(input *waf.DeleteRuleInput) (req *reques // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRule func (c *WAFRegional) DeleteRule(input *waf.DeleteRuleInput) (*waf.DeleteRuleOutput, error) { req, out := c.DeleteRuleRequest(input) return out, req.Send() @@ -2602,6 +2708,127 @@ func (c *WAFRegional) DeleteRuleWithContext(ctx aws.Context, input *waf.DeleteRu return out, req.Send() } +const opDeleteRuleGroup = "DeleteRuleGroup" + +// DeleteRuleGroupRequest generates a "aws/request.Request" representing the +// client's request for the DeleteRuleGroup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteRuleGroup for more information on using the DeleteRuleGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteRuleGroupRequest method. +// req, resp := client.DeleteRuleGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRuleGroup +func (c *WAFRegional) DeleteRuleGroupRequest(input *waf.DeleteRuleGroupInput) (req *request.Request, output *waf.DeleteRuleGroupOutput) { + op := &request.Operation{ + Name: opDeleteRuleGroup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &waf.DeleteRuleGroupInput{} + } + + output = &waf.DeleteRuleGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteRuleGroup API operation for AWS WAF Regional. +// +// Permanently deletes a RuleGroup. You can't delete a RuleGroup if it's still +// used in any WebACL objects or if it still includes any rules. +// +// If you just want to remove a RuleGroup from a WebACL, use UpdateWebACL. +// +// To permanently delete a RuleGroup from AWS WAF, perform the following steps: +// +// Update the RuleGroup to remove rules, if any. For more information, see UpdateRuleGroup. +// +// Use GetChangeToken to get the change token that you provide in the ChangeToken +// parameter of a DeleteRuleGroup request. +// +// Submit a DeleteRuleGroup request. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS WAF Regional's +// API operation DeleteRuleGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeWAFStaleDataException "WAFStaleDataException" +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// * ErrCodeWAFInternalErrorException "WAFInternalErrorException" +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" +// The operation failed because the referenced object doesn't exist. +// +// * ErrCodeWAFReferencedItemException "WAFReferencedItemException" +// The operation failed because you tried to delete an object that is still +// in use. For example: +// +// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// +// * You tried to delete a Rule that is still referenced by a WebACL. +// +// * ErrCodeWAFNonEmptyEntityException "WAFNonEmptyEntityException" +// The operation failed because you tried to delete an object that isn't empty. +// For example: +// +// * You tried to delete a WebACL that still contains one or more Rule objects. +// +// * You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. +// +// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. +// +// * You tried to delete an IPSet that references one or more IP addresses. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRuleGroup +func (c *WAFRegional) DeleteRuleGroup(input *waf.DeleteRuleGroupInput) (*waf.DeleteRuleGroupOutput, error) { + req, out := c.DeleteRuleGroupRequest(input) + return out, req.Send() +} + +// DeleteRuleGroupWithContext is the same as DeleteRuleGroup with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteRuleGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WAFRegional) DeleteRuleGroupWithContext(ctx aws.Context, input *waf.DeleteRuleGroupInput, opts ...request.Option) (*waf.DeleteRuleGroupOutput, error) { + req, out := c.DeleteRuleGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteSizeConstraintSet = "DeleteSizeConstraintSet" // DeleteSizeConstraintSetRequest generates a "aws/request.Request" representing the @@ -2627,7 +2854,7 @@ const opDeleteSizeConstraintSet = "DeleteSizeConstraintSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSizeConstraintSet func (c *WAFRegional) DeleteSizeConstraintSetRequest(input *waf.DeleteSizeConstraintSetInput) (req *request.Request, output *waf.DeleteSizeConstraintSetOutput) { op := &request.Operation{ Name: opDeleteSizeConstraintSet, @@ -2707,7 +2934,7 @@ func (c *WAFRegional) DeleteSizeConstraintSetRequest(input *waf.DeleteSizeConstr // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSizeConstraintSet func (c *WAFRegional) DeleteSizeConstraintSet(input *waf.DeleteSizeConstraintSetInput) (*waf.DeleteSizeConstraintSetOutput, error) { req, out := c.DeleteSizeConstraintSetRequest(input) return out, req.Send() @@ -2754,7 +2981,7 @@ const opDeleteSqlInjectionMatchSet = "DeleteSqlInjectionMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSqlInjectionMatchSet func (c *WAFRegional) DeleteSqlInjectionMatchSetRequest(input *waf.DeleteSqlInjectionMatchSetInput) (req *request.Request, output *waf.DeleteSqlInjectionMatchSetOutput) { op := &request.Operation{ Name: opDeleteSqlInjectionMatchSet, @@ -2835,7 +3062,7 @@ func (c *WAFRegional) DeleteSqlInjectionMatchSetRequest(input *waf.DeleteSqlInje // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSqlInjectionMatchSet func (c *WAFRegional) DeleteSqlInjectionMatchSet(input *waf.DeleteSqlInjectionMatchSetInput) (*waf.DeleteSqlInjectionMatchSetOutput, error) { req, out := c.DeleteSqlInjectionMatchSetRequest(input) return out, req.Send() @@ -2882,7 +3109,7 @@ const opDeleteWebACL = "DeleteWebACL" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteWebACL func (c *WAFRegional) DeleteWebACLRequest(input *waf.DeleteWebACLInput) (req *request.Request, output *waf.DeleteWebACLOutput) { op := &request.Operation{ Name: opDeleteWebACL, @@ -2958,7 +3185,7 @@ func (c *WAFRegional) DeleteWebACLRequest(input *waf.DeleteWebACLInput) (req *re // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteWebACL func (c *WAFRegional) DeleteWebACL(input *waf.DeleteWebACLInput) (*waf.DeleteWebACLOutput, error) { req, out := c.DeleteWebACLRequest(input) return out, req.Send() @@ -3005,7 +3232,7 @@ const opDeleteXssMatchSet = "DeleteXssMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteXssMatchSet func (c *WAFRegional) DeleteXssMatchSetRequest(input *waf.DeleteXssMatchSetInput) (req *request.Request, output *waf.DeleteXssMatchSetOutput) { op := &request.Operation{ Name: opDeleteXssMatchSet, @@ -3085,7 +3312,7 @@ func (c *WAFRegional) DeleteXssMatchSetRequest(input *waf.DeleteXssMatchSetInput // // * You tried to delete an IPSet that references one or more IP addresses. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteXssMatchSet func (c *WAFRegional) DeleteXssMatchSet(input *waf.DeleteXssMatchSetInput) (*waf.DeleteXssMatchSetOutput, error) { req, out := c.DeleteXssMatchSetRequest(input) return out, req.Send() @@ -3132,7 +3359,7 @@ const opDisassociateWebACL = "DisassociateWebACL" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DisassociateWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DisassociateWebACL func (c *WAFRegional) DisassociateWebACLRequest(input *DisassociateWebACLInput) (req *request.Request, output *DisassociateWebACLOutput) { op := &request.Operation{ Name: opDisassociateWebACL, @@ -3201,7 +3428,7 @@ func (c *WAFRegional) DisassociateWebACLRequest(input *DisassociateWebACLInput) // * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DisassociateWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DisassociateWebACL func (c *WAFRegional) DisassociateWebACL(input *DisassociateWebACLInput) (*DisassociateWebACLOutput, error) { req, out := c.DisassociateWebACLRequest(input) return out, req.Send() @@ -3248,7 +3475,7 @@ const opGetByteMatchSet = "GetByteMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetByteMatchSet func (c *WAFRegional) GetByteMatchSetRequest(input *waf.GetByteMatchSetInput) (req *request.Request, output *waf.GetByteMatchSetOutput) { op := &request.Operation{ Name: opGetByteMatchSet, @@ -3288,7 +3515,7 @@ func (c *WAFRegional) GetByteMatchSetRequest(input *waf.GetByteMatchSetInput) (r // * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetByteMatchSet func (c *WAFRegional) GetByteMatchSet(input *waf.GetByteMatchSetInput) (*waf.GetByteMatchSetOutput, error) { req, out := c.GetByteMatchSetRequest(input) return out, req.Send() @@ -3335,7 +3562,7 @@ const opGetChangeToken = "GetChangeToken" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeToken +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeToken func (c *WAFRegional) GetChangeTokenRequest(input *waf.GetChangeTokenInput) (req *request.Request, output *waf.GetChangeTokenOutput) { op := &request.Operation{ Name: opGetChangeToken, @@ -3382,7 +3609,7 @@ func (c *WAFRegional) GetChangeTokenRequest(input *waf.GetChangeTokenInput) (req // The operation failed because of a system problem, even though the request // was valid. Retry your request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeToken +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeToken func (c *WAFRegional) GetChangeToken(input *waf.GetChangeTokenInput) (*waf.GetChangeTokenOutput, error) { req, out := c.GetChangeTokenRequest(input) return out, req.Send() @@ -3429,7 +3656,7 @@ const opGetChangeTokenStatus = "GetChangeTokenStatus" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeTokenStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeTokenStatus func (c *WAFRegional) GetChangeTokenStatusRequest(input *waf.GetChangeTokenStatusInput) (req *request.Request, output *waf.GetChangeTokenStatusOutput) { op := &request.Operation{ Name: opGetChangeTokenStatus, @@ -3475,7 +3702,7 @@ func (c *WAFRegional) GetChangeTokenStatusRequest(input *waf.GetChangeTokenStatu // The operation failed because of a system problem, even though the request // was valid. Retry your request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeTokenStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeTokenStatus func (c *WAFRegional) GetChangeTokenStatus(input *waf.GetChangeTokenStatusInput) (*waf.GetChangeTokenStatusOutput, error) { req, out := c.GetChangeTokenStatusRequest(input) return out, req.Send() @@ -3522,7 +3749,7 @@ const opGetGeoMatchSet = "GetGeoMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetGeoMatchSet func (c *WAFRegional) GetGeoMatchSetRequest(input *waf.GetGeoMatchSetInput) (req *request.Request, output *waf.GetGeoMatchSetOutput) { op := &request.Operation{ Name: opGetGeoMatchSet, @@ -3562,7 +3789,7 @@ func (c *WAFRegional) GetGeoMatchSetRequest(input *waf.GetGeoMatchSetInput) (req // * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetGeoMatchSet func (c *WAFRegional) GetGeoMatchSet(input *waf.GetGeoMatchSetInput) (*waf.GetGeoMatchSetOutput, error) { req, out := c.GetGeoMatchSetRequest(input) return out, req.Send() @@ -3609,7 +3836,7 @@ const opGetIPSet = "GetIPSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetIPSet func (c *WAFRegional) GetIPSetRequest(input *waf.GetIPSetInput) (req *request.Request, output *waf.GetIPSetOutput) { op := &request.Operation{ Name: opGetIPSet, @@ -3649,7 +3876,7 @@ func (c *WAFRegional) GetIPSetRequest(input *waf.GetIPSetInput) (req *request.Re // * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetIPSet func (c *WAFRegional) GetIPSet(input *waf.GetIPSetInput) (*waf.GetIPSetOutput, error) { req, out := c.GetIPSetRequest(input) return out, req.Send() @@ -3696,7 +3923,7 @@ const opGetRateBasedRule = "GetRateBasedRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRule func (c *WAFRegional) GetRateBasedRuleRequest(input *waf.GetRateBasedRuleInput) (req *request.Request, output *waf.GetRateBasedRuleOutput) { op := &request.Operation{ Name: opGetRateBasedRule, @@ -3737,7 +3964,7 @@ func (c *WAFRegional) GetRateBasedRuleRequest(input *waf.GetRateBasedRuleInput) // * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRule func (c *WAFRegional) GetRateBasedRule(input *waf.GetRateBasedRuleInput) (*waf.GetRateBasedRuleOutput, error) { req, out := c.GetRateBasedRuleRequest(input) return out, req.Send() @@ -3784,7 +4011,7 @@ const opGetRateBasedRuleManagedKeys = "GetRateBasedRuleManagedKeys" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRuleManagedKeys +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRuleManagedKeys func (c *WAFRegional) GetRateBasedRuleManagedKeysRequest(input *waf.GetRateBasedRuleManagedKeysInput) (req *request.Request, output *waf.GetRateBasedRuleManagedKeysOutput) { op := &request.Operation{ Name: opGetRateBasedRuleManagedKeys, @@ -3856,7 +4083,7 @@ func (c *WAFRegional) GetRateBasedRuleManagedKeysRequest(input *waf.GetRateBased // * Your request references an ARN that is malformed, or corresponds to // a resource with which a web ACL cannot be associated. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRuleManagedKeys +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRuleManagedKeys func (c *WAFRegional) GetRateBasedRuleManagedKeys(input *waf.GetRateBasedRuleManagedKeysInput) (*waf.GetRateBasedRuleManagedKeysOutput, error) { req, out := c.GetRateBasedRuleManagedKeysRequest(input) return out, req.Send() @@ -3903,7 +4130,7 @@ const opGetRegexMatchSet = "GetRegexMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexMatchSet func (c *WAFRegional) GetRegexMatchSetRequest(input *waf.GetRegexMatchSetInput) (req *request.Request, output *waf.GetRegexMatchSetOutput) { op := &request.Operation{ Name: opGetRegexMatchSet, @@ -3943,7 +4170,7 @@ func (c *WAFRegional) GetRegexMatchSetRequest(input *waf.GetRegexMatchSetInput) // * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexMatchSet func (c *WAFRegional) GetRegexMatchSet(input *waf.GetRegexMatchSetInput) (*waf.GetRegexMatchSetOutput, error) { req, out := c.GetRegexMatchSetRequest(input) return out, req.Send() @@ -3990,7 +4217,7 @@ const opGetRegexPatternSet = "GetRegexPatternSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexPatternSet func (c *WAFRegional) GetRegexPatternSetRequest(input *waf.GetRegexPatternSetInput) (req *request.Request, output *waf.GetRegexPatternSetOutput) { op := &request.Operation{ Name: opGetRegexPatternSet, @@ -4030,7 +4257,7 @@ func (c *WAFRegional) GetRegexPatternSetRequest(input *waf.GetRegexPatternSetInp // * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexPatternSet func (c *WAFRegional) GetRegexPatternSet(input *waf.GetRegexPatternSetInput) (*waf.GetRegexPatternSetOutput, error) { req, out := c.GetRegexPatternSetRequest(input) return out, req.Send() @@ -4077,7 +4304,7 @@ const opGetRule = "GetRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRule func (c *WAFRegional) GetRuleRequest(input *waf.GetRuleInput) (req *request.Request, output *waf.GetRuleOutput) { op := &request.Operation{ Name: opGetRule, @@ -4118,7 +4345,7 @@ func (c *WAFRegional) GetRuleRequest(input *waf.GetRuleInput) (req *request.Requ // * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRule func (c *WAFRegional) GetRule(input *waf.GetRuleInput) (*waf.GetRuleOutput, error) { req, out := c.GetRuleRequest(input) return out, req.Send() @@ -4140,6 +4367,92 @@ func (c *WAFRegional) GetRuleWithContext(ctx aws.Context, input *waf.GetRuleInpu return out, req.Send() } +const opGetRuleGroup = "GetRuleGroup" + +// GetRuleGroupRequest generates a "aws/request.Request" representing the +// client's request for the GetRuleGroup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetRuleGroup for more information on using the GetRuleGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetRuleGroupRequest method. +// req, resp := client.GetRuleGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRuleGroup +func (c *WAFRegional) GetRuleGroupRequest(input *waf.GetRuleGroupInput) (req *request.Request, output *waf.GetRuleGroupOutput) { + op := &request.Operation{ + Name: opGetRuleGroup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &waf.GetRuleGroupInput{} + } + + output = &waf.GetRuleGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetRuleGroup API operation for AWS WAF Regional. +// +// Returns the RuleGroup that is specified by the RuleGroupId that you included +// in the GetRuleGroup request. +// +// To view the rules in a rule group, use ListActivatedRulesInRuleGroup. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS WAF Regional's +// API operation GetRuleGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeWAFInternalErrorException "WAFInternalErrorException" +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" +// The operation failed because the referenced object doesn't exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRuleGroup +func (c *WAFRegional) GetRuleGroup(input *waf.GetRuleGroupInput) (*waf.GetRuleGroupOutput, error) { + req, out := c.GetRuleGroupRequest(input) + return out, req.Send() +} + +// GetRuleGroupWithContext is the same as GetRuleGroup with the addition of +// the ability to pass a context and additional request options. +// +// See GetRuleGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WAFRegional) GetRuleGroupWithContext(ctx aws.Context, input *waf.GetRuleGroupInput, opts ...request.Option) (*waf.GetRuleGroupOutput, error) { + req, out := c.GetRuleGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetSampledRequests = "GetSampledRequests" // GetSampledRequestsRequest generates a "aws/request.Request" representing the @@ -4165,7 +4478,7 @@ const opGetSampledRequests = "GetSampledRequests" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSampledRequests +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSampledRequests func (c *WAFRegional) GetSampledRequestsRequest(input *waf.GetSampledRequestsInput) (req *request.Request, output *waf.GetSampledRequestsOutput) { op := &request.Operation{ Name: opGetSampledRequests, @@ -4211,7 +4524,7 @@ func (c *WAFRegional) GetSampledRequestsRequest(input *waf.GetSampledRequestsInp // The operation failed because of a system problem, even though the request // was valid. Retry your request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSampledRequests +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSampledRequests func (c *WAFRegional) GetSampledRequests(input *waf.GetSampledRequestsInput) (*waf.GetSampledRequestsOutput, error) { req, out := c.GetSampledRequestsRequest(input) return out, req.Send() @@ -4258,7 +4571,7 @@ const opGetSizeConstraintSet = "GetSizeConstraintSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSizeConstraintSet func (c *WAFRegional) GetSizeConstraintSetRequest(input *waf.GetSizeConstraintSetInput) (req *request.Request, output *waf.GetSizeConstraintSetOutput) { op := &request.Operation{ Name: opGetSizeConstraintSet, @@ -4298,7 +4611,7 @@ func (c *WAFRegional) GetSizeConstraintSetRequest(input *waf.GetSizeConstraintSe // * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSizeConstraintSet func (c *WAFRegional) GetSizeConstraintSet(input *waf.GetSizeConstraintSetInput) (*waf.GetSizeConstraintSetOutput, error) { req, out := c.GetSizeConstraintSetRequest(input) return out, req.Send() @@ -4345,7 +4658,7 @@ const opGetSqlInjectionMatchSet = "GetSqlInjectionMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSqlInjectionMatchSet func (c *WAFRegional) GetSqlInjectionMatchSetRequest(input *waf.GetSqlInjectionMatchSetInput) (req *request.Request, output *waf.GetSqlInjectionMatchSetOutput) { op := &request.Operation{ Name: opGetSqlInjectionMatchSet, @@ -4385,7 +4698,7 @@ func (c *WAFRegional) GetSqlInjectionMatchSetRequest(input *waf.GetSqlInjectionM // * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSqlInjectionMatchSet func (c *WAFRegional) GetSqlInjectionMatchSet(input *waf.GetSqlInjectionMatchSetInput) (*waf.GetSqlInjectionMatchSetOutput, error) { req, out := c.GetSqlInjectionMatchSetRequest(input) return out, req.Send() @@ -4432,7 +4745,7 @@ const opGetWebACL = "GetWebACL" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACL func (c *WAFRegional) GetWebACLRequest(input *waf.GetWebACLInput) (req *request.Request, output *waf.GetWebACLOutput) { op := &request.Operation{ Name: opGetWebACL, @@ -4472,7 +4785,7 @@ func (c *WAFRegional) GetWebACLRequest(input *waf.GetWebACLInput) (req *request. // * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACL func (c *WAFRegional) GetWebACL(input *waf.GetWebACLInput) (*waf.GetWebACLOutput, error) { req, out := c.GetWebACLRequest(input) return out, req.Send() @@ -4519,7 +4832,7 @@ const opGetWebACLForResource = "GetWebACLForResource" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLForResource func (c *WAFRegional) GetWebACLForResourceRequest(input *GetWebACLForResourceInput) (req *request.Request, output *GetWebACLForResourceOutput) { op := &request.Operation{ Name: opGetWebACLForResource, @@ -4592,7 +4905,7 @@ func (c *WAFRegional) GetWebACLForResourceRequest(input *GetWebACLForResourceInp // The operation failed because the entity referenced is temporarily unavailable. // Retry your request. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLForResource +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLForResource func (c *WAFRegional) GetWebACLForResource(input *GetWebACLForResourceInput) (*GetWebACLForResourceOutput, error) { req, out := c.GetWebACLForResourceRequest(input) return out, req.Send() @@ -4639,7 +4952,7 @@ const opGetXssMatchSet = "GetXssMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetXssMatchSet func (c *WAFRegional) GetXssMatchSetRequest(input *waf.GetXssMatchSetInput) (req *request.Request, output *waf.GetXssMatchSetOutput) { op := &request.Operation{ Name: opGetXssMatchSet, @@ -4679,7 +4992,7 @@ func (c *WAFRegional) GetXssMatchSetRequest(input *waf.GetXssMatchSetInput) (req // * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" // The operation failed because the referenced object doesn't exist. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetXssMatchSet func (c *WAFRegional) GetXssMatchSet(input *waf.GetXssMatchSetInput) (*waf.GetXssMatchSetOutput, error) { req, out := c.GetXssMatchSetRequest(input) return out, req.Send() @@ -4701,6 +5014,118 @@ func (c *WAFRegional) GetXssMatchSetWithContext(ctx aws.Context, input *waf.GetX return out, req.Send() } +const opListActivatedRulesInRuleGroup = "ListActivatedRulesInRuleGroup" + +// ListActivatedRulesInRuleGroupRequest generates a "aws/request.Request" representing the +// client's request for the ListActivatedRulesInRuleGroup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListActivatedRulesInRuleGroup for more information on using the ListActivatedRulesInRuleGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListActivatedRulesInRuleGroupRequest method. +// req, resp := client.ListActivatedRulesInRuleGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListActivatedRulesInRuleGroup +func (c *WAFRegional) ListActivatedRulesInRuleGroupRequest(input *waf.ListActivatedRulesInRuleGroupInput) (req *request.Request, output *waf.ListActivatedRulesInRuleGroupOutput) { + op := &request.Operation{ + Name: opListActivatedRulesInRuleGroup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &waf.ListActivatedRulesInRuleGroupInput{} + } + + output = &waf.ListActivatedRulesInRuleGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListActivatedRulesInRuleGroup API operation for AWS WAF Regional. +// +// Returns an array of ActivatedRule objects. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS WAF Regional's +// API operation ListActivatedRulesInRuleGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeWAFInternalErrorException "WAFInternalErrorException" +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" +// The operation failed because the referenced object doesn't exist. +// +// * ErrCodeWAFInvalidParameterException "WAFInvalidParameterException" +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: +// +// * You specified an invalid parameter name. +// +// * You specified an invalid value. +// +// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. +// +// * You tried to create a WebACL with a DefaultActionType other than ALLOW, +// BLOCK, or COUNT. +// +// * You tried to create a RateBasedRule with a RateKey value other than +// IP. +// +// * You tried to update a WebACL with a WafActionType other than ALLOW, +// BLOCK, or COUNT. +// +// * You tried to update a ByteMatchSet with a FieldToMatchType other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// +// * You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. +// +// * Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListActivatedRulesInRuleGroup +func (c *WAFRegional) ListActivatedRulesInRuleGroup(input *waf.ListActivatedRulesInRuleGroupInput) (*waf.ListActivatedRulesInRuleGroupOutput, error) { + req, out := c.ListActivatedRulesInRuleGroupRequest(input) + return out, req.Send() +} + +// ListActivatedRulesInRuleGroupWithContext is the same as ListActivatedRulesInRuleGroup with the addition of +// the ability to pass a context and additional request options. +// +// See ListActivatedRulesInRuleGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WAFRegional) ListActivatedRulesInRuleGroupWithContext(ctx aws.Context, input *waf.ListActivatedRulesInRuleGroupInput, opts ...request.Option) (*waf.ListActivatedRulesInRuleGroupOutput, error) { + req, out := c.ListActivatedRulesInRuleGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListByteMatchSets = "ListByteMatchSets" // ListByteMatchSetsRequest generates a "aws/request.Request" representing the @@ -4726,7 +5151,7 @@ const opListByteMatchSets = "ListByteMatchSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListByteMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListByteMatchSets func (c *WAFRegional) ListByteMatchSetsRequest(input *waf.ListByteMatchSetsInput) (req *request.Request, output *waf.ListByteMatchSetsOutput) { op := &request.Operation{ Name: opListByteMatchSets, @@ -4763,7 +5188,7 @@ func (c *WAFRegional) ListByteMatchSetsRequest(input *waf.ListByteMatchSetsInput // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListByteMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListByteMatchSets func (c *WAFRegional) ListByteMatchSets(input *waf.ListByteMatchSetsInput) (*waf.ListByteMatchSetsOutput, error) { req, out := c.ListByteMatchSetsRequest(input) return out, req.Send() @@ -4810,7 +5235,7 @@ const opListGeoMatchSets = "ListGeoMatchSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListGeoMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListGeoMatchSets func (c *WAFRegional) ListGeoMatchSetsRequest(input *waf.ListGeoMatchSetsInput) (req *request.Request, output *waf.ListGeoMatchSetsOutput) { op := &request.Operation{ Name: opListGeoMatchSets, @@ -4847,7 +5272,7 @@ func (c *WAFRegional) ListGeoMatchSetsRequest(input *waf.ListGeoMatchSetsInput) // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListGeoMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListGeoMatchSets func (c *WAFRegional) ListGeoMatchSets(input *waf.ListGeoMatchSetsInput) (*waf.ListGeoMatchSetsOutput, error) { req, out := c.ListGeoMatchSetsRequest(input) return out, req.Send() @@ -4894,7 +5319,7 @@ const opListIPSets = "ListIPSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListIPSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListIPSets func (c *WAFRegional) ListIPSetsRequest(input *waf.ListIPSetsInput) (req *request.Request, output *waf.ListIPSetsOutput) { op := &request.Operation{ Name: opListIPSets, @@ -4931,7 +5356,7 @@ func (c *WAFRegional) ListIPSetsRequest(input *waf.ListIPSetsInput) (req *reques // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListIPSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListIPSets func (c *WAFRegional) ListIPSets(input *waf.ListIPSetsInput) (*waf.ListIPSetsOutput, error) { req, out := c.ListIPSetsRequest(input) return out, req.Send() @@ -4978,7 +5403,7 @@ const opListRateBasedRules = "ListRateBasedRules" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRateBasedRules +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRateBasedRules func (c *WAFRegional) ListRateBasedRulesRequest(input *waf.ListRateBasedRulesInput) (req *request.Request, output *waf.ListRateBasedRulesOutput) { op := &request.Operation{ Name: opListRateBasedRules, @@ -5015,7 +5440,7 @@ func (c *WAFRegional) ListRateBasedRulesRequest(input *waf.ListRateBasedRulesInp // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRateBasedRules +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRateBasedRules func (c *WAFRegional) ListRateBasedRules(input *waf.ListRateBasedRulesInput) (*waf.ListRateBasedRulesOutput, error) { req, out := c.ListRateBasedRulesRequest(input) return out, req.Send() @@ -5062,7 +5487,7 @@ const opListRegexMatchSets = "ListRegexMatchSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexMatchSets func (c *WAFRegional) ListRegexMatchSetsRequest(input *waf.ListRegexMatchSetsInput) (req *request.Request, output *waf.ListRegexMatchSetsOutput) { op := &request.Operation{ Name: opListRegexMatchSets, @@ -5099,7 +5524,7 @@ func (c *WAFRegional) ListRegexMatchSetsRequest(input *waf.ListRegexMatchSetsInp // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexMatchSets func (c *WAFRegional) ListRegexMatchSets(input *waf.ListRegexMatchSetsInput) (*waf.ListRegexMatchSetsOutput, error) { req, out := c.ListRegexMatchSetsRequest(input) return out, req.Send() @@ -5146,7 +5571,7 @@ const opListRegexPatternSets = "ListRegexPatternSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexPatternSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexPatternSets func (c *WAFRegional) ListRegexPatternSetsRequest(input *waf.ListRegexPatternSetsInput) (req *request.Request, output *waf.ListRegexPatternSetsOutput) { op := &request.Operation{ Name: opListRegexPatternSets, @@ -5183,7 +5608,7 @@ func (c *WAFRegional) ListRegexPatternSetsRequest(input *waf.ListRegexPatternSet // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexPatternSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexPatternSets func (c *WAFRegional) ListRegexPatternSets(input *waf.ListRegexPatternSetsInput) (*waf.ListRegexPatternSetsOutput, error) { req, out := c.ListRegexPatternSetsRequest(input) return out, req.Send() @@ -5198,95 +5623,175 @@ func (c *WAFRegional) ListRegexPatternSets(input *waf.ListRegexPatternSetsInput) // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *WAFRegional) ListRegexPatternSetsWithContext(ctx aws.Context, input *waf.ListRegexPatternSetsInput, opts ...request.Option) (*waf.ListRegexPatternSetsOutput, error) { - req, out := c.ListRegexPatternSetsRequest(input) +func (c *WAFRegional) ListRegexPatternSetsWithContext(ctx aws.Context, input *waf.ListRegexPatternSetsInput, opts ...request.Option) (*waf.ListRegexPatternSetsOutput, error) { + req, out := c.ListRegexPatternSetsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListResourcesForWebACL = "ListResourcesForWebACL" + +// ListResourcesForWebACLRequest generates a "aws/request.Request" representing the +// client's request for the ListResourcesForWebACL operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListResourcesForWebACL for more information on using the ListResourcesForWebACL +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListResourcesForWebACLRequest method. +// req, resp := client.ListResourcesForWebACLRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListResourcesForWebACL +func (c *WAFRegional) ListResourcesForWebACLRequest(input *ListResourcesForWebACLInput) (req *request.Request, output *ListResourcesForWebACLOutput) { + op := &request.Operation{ + Name: opListResourcesForWebACL, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListResourcesForWebACLInput{} + } + + output = &ListResourcesForWebACLOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListResourcesForWebACL API operation for AWS WAF Regional. +// +// Returns an array of resources associated with the specified web ACL. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS WAF Regional's +// API operation ListResourcesForWebACL for usage and error information. +// +// Returned Error Codes: +// * ErrCodeWAFInternalErrorException "WAFInternalErrorException" +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// * ErrCodeWAFInvalidAccountException "WAFInvalidAccountException" +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. +// +// * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" +// The operation failed because the referenced object doesn't exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListResourcesForWebACL +func (c *WAFRegional) ListResourcesForWebACL(input *ListResourcesForWebACLInput) (*ListResourcesForWebACLOutput, error) { + req, out := c.ListResourcesForWebACLRequest(input) + return out, req.Send() +} + +// ListResourcesForWebACLWithContext is the same as ListResourcesForWebACL with the addition of +// the ability to pass a context and additional request options. +// +// See ListResourcesForWebACL for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WAFRegional) ListResourcesForWebACLWithContext(ctx aws.Context, input *ListResourcesForWebACLInput, opts ...request.Option) (*ListResourcesForWebACLOutput, error) { + req, out := c.ListResourcesForWebACLRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListResourcesForWebACL = "ListResourcesForWebACL" +const opListRuleGroups = "ListRuleGroups" -// ListResourcesForWebACLRequest generates a "aws/request.Request" representing the -// client's request for the ListResourcesForWebACL operation. The "output" return +// ListRuleGroupsRequest generates a "aws/request.Request" representing the +// client's request for the ListRuleGroups operation. The "output" return // value will be populated with the request's response once the request complets // successfuly. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListResourcesForWebACL for more information on using the ListResourcesForWebACL +// See ListRuleGroups for more information on using the ListRuleGroups // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListResourcesForWebACLRequest method. -// req, resp := client.ListResourcesForWebACLRequest(params) +// // Example sending a request using the ListRuleGroupsRequest method. +// req, resp := client.ListRuleGroupsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListResourcesForWebACL -func (c *WAFRegional) ListResourcesForWebACLRequest(input *ListResourcesForWebACLInput) (req *request.Request, output *ListResourcesForWebACLOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRuleGroups +func (c *WAFRegional) ListRuleGroupsRequest(input *waf.ListRuleGroupsInput) (req *request.Request, output *waf.ListRuleGroupsOutput) { op := &request.Operation{ - Name: opListResourcesForWebACL, + Name: opListRuleGroups, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &ListResourcesForWebACLInput{} + input = &waf.ListRuleGroupsInput{} } - output = &ListResourcesForWebACLOutput{} + output = &waf.ListRuleGroupsOutput{} req = c.newRequest(op, input, output) return } -// ListResourcesForWebACL API operation for AWS WAF Regional. +// ListRuleGroups API operation for AWS WAF Regional. // -// Returns an array of resources associated with the specified web ACL. +// Returns an array of RuleGroup objects. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS WAF Regional's -// API operation ListResourcesForWebACL for usage and error information. +// API operation ListRuleGroups for usage and error information. // // Returned Error Codes: // * ErrCodeWAFInternalErrorException "WAFInternalErrorException" // The operation failed because of a system problem, even though the request // was valid. Retry your request. // -// * ErrCodeWAFInvalidAccountException "WAFInvalidAccountException" -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. -// -// * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" -// The operation failed because the referenced object doesn't exist. -// -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListResourcesForWebACL -func (c *WAFRegional) ListResourcesForWebACL(input *ListResourcesForWebACLInput) (*ListResourcesForWebACLOutput, error) { - req, out := c.ListResourcesForWebACLRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRuleGroups +func (c *WAFRegional) ListRuleGroups(input *waf.ListRuleGroupsInput) (*waf.ListRuleGroupsOutput, error) { + req, out := c.ListRuleGroupsRequest(input) return out, req.Send() } -// ListResourcesForWebACLWithContext is the same as ListResourcesForWebACL with the addition of +// ListRuleGroupsWithContext is the same as ListRuleGroups with the addition of // the ability to pass a context and additional request options. // -// See ListResourcesForWebACL for details on how to use this API operation. +// See ListRuleGroups for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *WAFRegional) ListResourcesForWebACLWithContext(ctx aws.Context, input *ListResourcesForWebACLInput, opts ...request.Option) (*ListResourcesForWebACLOutput, error) { - req, out := c.ListResourcesForWebACLRequest(input) +func (c *WAFRegional) ListRuleGroupsWithContext(ctx aws.Context, input *waf.ListRuleGroupsInput, opts ...request.Option) (*waf.ListRuleGroupsOutput, error) { + req, out := c.ListRuleGroupsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() @@ -5317,7 +5822,7 @@ const opListRules = "ListRules" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRules +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRules func (c *WAFRegional) ListRulesRequest(input *waf.ListRulesInput) (req *request.Request, output *waf.ListRulesOutput) { op := &request.Operation{ Name: opListRules, @@ -5354,7 +5859,7 @@ func (c *WAFRegional) ListRulesRequest(input *waf.ListRulesInput) (req *request. // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRules +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRules func (c *WAFRegional) ListRules(input *waf.ListRulesInput) (*waf.ListRulesOutput, error) { req, out := c.ListRulesRequest(input) return out, req.Send() @@ -5401,7 +5906,7 @@ const opListSizeConstraintSets = "ListSizeConstraintSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSizeConstraintSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSizeConstraintSets func (c *WAFRegional) ListSizeConstraintSetsRequest(input *waf.ListSizeConstraintSetsInput) (req *request.Request, output *waf.ListSizeConstraintSetsOutput) { op := &request.Operation{ Name: opListSizeConstraintSets, @@ -5438,7 +5943,7 @@ func (c *WAFRegional) ListSizeConstraintSetsRequest(input *waf.ListSizeConstrain // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSizeConstraintSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSizeConstraintSets func (c *WAFRegional) ListSizeConstraintSets(input *waf.ListSizeConstraintSetsInput) (*waf.ListSizeConstraintSetsOutput, error) { req, out := c.ListSizeConstraintSetsRequest(input) return out, req.Send() @@ -5485,7 +5990,7 @@ const opListSqlInjectionMatchSets = "ListSqlInjectionMatchSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSqlInjectionMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSqlInjectionMatchSets func (c *WAFRegional) ListSqlInjectionMatchSetsRequest(input *waf.ListSqlInjectionMatchSetsInput) (req *request.Request, output *waf.ListSqlInjectionMatchSetsOutput) { op := &request.Operation{ Name: opListSqlInjectionMatchSets, @@ -5522,7 +6027,7 @@ func (c *WAFRegional) ListSqlInjectionMatchSetsRequest(input *waf.ListSqlInjecti // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSqlInjectionMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSqlInjectionMatchSets func (c *WAFRegional) ListSqlInjectionMatchSets(input *waf.ListSqlInjectionMatchSetsInput) (*waf.ListSqlInjectionMatchSetsOutput, error) { req, out := c.ListSqlInjectionMatchSetsRequest(input) return out, req.Send() @@ -5544,6 +6049,89 @@ func (c *WAFRegional) ListSqlInjectionMatchSetsWithContext(ctx aws.Context, inpu return out, req.Send() } +const opListSubscribedRuleGroups = "ListSubscribedRuleGroups" + +// ListSubscribedRuleGroupsRequest generates a "aws/request.Request" representing the +// client's request for the ListSubscribedRuleGroups operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListSubscribedRuleGroups for more information on using the ListSubscribedRuleGroups +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListSubscribedRuleGroupsRequest method. +// req, resp := client.ListSubscribedRuleGroupsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSubscribedRuleGroups +func (c *WAFRegional) ListSubscribedRuleGroupsRequest(input *waf.ListSubscribedRuleGroupsInput) (req *request.Request, output *waf.ListSubscribedRuleGroupsOutput) { + op := &request.Operation{ + Name: opListSubscribedRuleGroups, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &waf.ListSubscribedRuleGroupsInput{} + } + + output = &waf.ListSubscribedRuleGroupsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListSubscribedRuleGroups API operation for AWS WAF Regional. +// +// Returns an array of RuleGroup objects that you are subscribed to. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS WAF Regional's +// API operation ListSubscribedRuleGroups for usage and error information. +// +// Returned Error Codes: +// * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" +// The operation failed because the referenced object doesn't exist. +// +// * ErrCodeWAFInternalErrorException "WAFInternalErrorException" +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSubscribedRuleGroups +func (c *WAFRegional) ListSubscribedRuleGroups(input *waf.ListSubscribedRuleGroupsInput) (*waf.ListSubscribedRuleGroupsOutput, error) { + req, out := c.ListSubscribedRuleGroupsRequest(input) + return out, req.Send() +} + +// ListSubscribedRuleGroupsWithContext is the same as ListSubscribedRuleGroups with the addition of +// the ability to pass a context and additional request options. +// +// See ListSubscribedRuleGroups for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WAFRegional) ListSubscribedRuleGroupsWithContext(ctx aws.Context, input *waf.ListSubscribedRuleGroupsInput, opts ...request.Option) (*waf.ListSubscribedRuleGroupsOutput, error) { + req, out := c.ListSubscribedRuleGroupsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListWebACLs = "ListWebACLs" // ListWebACLsRequest generates a "aws/request.Request" representing the @@ -5569,7 +6157,7 @@ const opListWebACLs = "ListWebACLs" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListWebACLs +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListWebACLs func (c *WAFRegional) ListWebACLsRequest(input *waf.ListWebACLsInput) (req *request.Request, output *waf.ListWebACLsOutput) { op := &request.Operation{ Name: opListWebACLs, @@ -5606,7 +6194,7 @@ func (c *WAFRegional) ListWebACLsRequest(input *waf.ListWebACLsInput) (req *requ // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListWebACLs +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListWebACLs func (c *WAFRegional) ListWebACLs(input *waf.ListWebACLsInput) (*waf.ListWebACLsOutput, error) { req, out := c.ListWebACLsRequest(input) return out, req.Send() @@ -5653,7 +6241,7 @@ const opListXssMatchSets = "ListXssMatchSets" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListXssMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListXssMatchSets func (c *WAFRegional) ListXssMatchSetsRequest(input *waf.ListXssMatchSetsInput) (req *request.Request, output *waf.ListXssMatchSetsOutput) { op := &request.Operation{ Name: opListXssMatchSets, @@ -5690,7 +6278,7 @@ func (c *WAFRegional) ListXssMatchSetsRequest(input *waf.ListXssMatchSetsInput) // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListXssMatchSets +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListXssMatchSets func (c *WAFRegional) ListXssMatchSets(input *waf.ListXssMatchSetsInput) (*waf.ListXssMatchSetsOutput, error) { req, out := c.ListXssMatchSetsRequest(input) return out, req.Send() @@ -5737,7 +6325,7 @@ const opUpdateByteMatchSet = "UpdateByteMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateByteMatchSet func (c *WAFRegional) UpdateByteMatchSetRequest(input *waf.UpdateByteMatchSetInput) (req *request.Request, output *waf.UpdateByteMatchSetOutput) { op := &request.Operation{ Name: opUpdateByteMatchSet, @@ -5889,7 +6477,7 @@ func (c *WAFRegional) UpdateByteMatchSetRequest(input *waf.UpdateByteMatchSetInp // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateByteMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateByteMatchSet func (c *WAFRegional) UpdateByteMatchSet(input *waf.UpdateByteMatchSetInput) (*waf.UpdateByteMatchSetOutput, error) { req, out := c.UpdateByteMatchSetRequest(input) return out, req.Send() @@ -5936,7 +6524,7 @@ const opUpdateGeoMatchSet = "UpdateGeoMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateGeoMatchSet func (c *WAFRegional) UpdateGeoMatchSetRequest(input *waf.UpdateGeoMatchSetInput) (req *request.Request, output *waf.UpdateGeoMatchSetOutput) { op := &request.Operation{ Name: opUpdateGeoMatchSet, @@ -6087,7 +6675,7 @@ func (c *WAFRegional) UpdateGeoMatchSetRequest(input *waf.UpdateGeoMatchSetInput // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateGeoMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateGeoMatchSet func (c *WAFRegional) UpdateGeoMatchSet(input *waf.UpdateGeoMatchSetInput) (*waf.UpdateGeoMatchSetOutput, error) { req, out := c.UpdateGeoMatchSetRequest(input) return out, req.Send() @@ -6134,7 +6722,7 @@ const opUpdateIPSet = "UpdateIPSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateIPSet func (c *WAFRegional) UpdateIPSetRequest(input *waf.UpdateIPSetInput) (req *request.Request, output *waf.UpdateIPSetOutput) { op := &request.Operation{ Name: opUpdateIPSet, @@ -6306,7 +6894,7 @@ func (c *WAFRegional) UpdateIPSetRequest(input *waf.UpdateIPSetInput) (req *requ // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateIPSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateIPSet func (c *WAFRegional) UpdateIPSet(input *waf.UpdateIPSetInput) (*waf.UpdateIPSetOutput, error) { req, out := c.UpdateIPSetRequest(input) return out, req.Send() @@ -6353,7 +6941,7 @@ const opUpdateRateBasedRule = "UpdateRateBasedRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRateBasedRule func (c *WAFRegional) UpdateRateBasedRuleRequest(input *waf.UpdateRateBasedRuleInput) (req *request.Request, output *waf.UpdateRateBasedRuleOutput) { op := &request.Operation{ Name: opUpdateRateBasedRule, @@ -6514,7 +7102,7 @@ func (c *WAFRegional) UpdateRateBasedRuleRequest(input *waf.UpdateRateBasedRuleI // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRateBasedRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRateBasedRule func (c *WAFRegional) UpdateRateBasedRule(input *waf.UpdateRateBasedRuleInput) (*waf.UpdateRateBasedRuleOutput, error) { req, out := c.UpdateRateBasedRuleRequest(input) return out, req.Send() @@ -6561,7 +7149,7 @@ const opUpdateRegexMatchSet = "UpdateRegexMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexMatchSet func (c *WAFRegional) UpdateRegexMatchSetRequest(input *waf.UpdateRegexMatchSetInput) (req *request.Request, output *waf.UpdateRegexMatchSetOutput) { op := &request.Operation{ Name: opUpdateRegexMatchSet, @@ -6580,15 +7168,15 @@ func (c *WAFRegional) UpdateRegexMatchSetRequest(input *waf.UpdateRegexMatchSetI // UpdateRegexMatchSet API operation for AWS WAF Regional. // -// Inserts or deletes RegexMatchSetUpdate objects (filters) in a RegexMatchSet. +// Inserts or deletes RegexMatchTuple objects (filters) in a RegexMatchSet. // For each RegexMatchSetUpdate object, you specify the following values: // // * Whether to insert or delete the object from the array. If you want to // change a RegexMatchSetUpdate object, you delete the existing object and // add a new one. // -// * The part of a web request that you want AWS WAF to inspect, such as -// a query string or the value of the User-Agent header. +// * The part of a web request that you want AWS WAF to inspectupdate, such +// as a query string or the value of the User-Agent header. // // * The identifier of the pattern (a regular expression) that you want AWS // WAF to look for. For more information, see RegexPatternSet. @@ -6684,7 +7272,7 @@ func (c *WAFRegional) UpdateRegexMatchSetRequest(input *waf.UpdateRegexMatchSetI // The operation failed because you tried to create, update, or delete an object // by using an invalid account identifier. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexMatchSet func (c *WAFRegional) UpdateRegexMatchSet(input *waf.UpdateRegexMatchSetInput) (*waf.UpdateRegexMatchSetOutput, error) { req, out := c.UpdateRegexMatchSetRequest(input) return out, req.Send() @@ -6731,7 +7319,7 @@ const opUpdateRegexPatternSet = "UpdateRegexPatternSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexPatternSet func (c *WAFRegional) UpdateRegexPatternSetRequest(input *waf.UpdateRegexPatternSetInput) (req *request.Request, output *waf.UpdateRegexPatternSetOutput) { op := &request.Operation{ Name: opUpdateRegexPatternSet, @@ -6750,14 +7338,12 @@ func (c *WAFRegional) UpdateRegexPatternSetRequest(input *waf.UpdateRegexPattern // UpdateRegexPatternSet API operation for AWS WAF Regional. // -// Inserts or deletes RegexMatchSetUpdate objects (filters) in a RegexPatternSet. -// For each RegexPatternSet object, you specify the following values: +// Inserts or deletes RegexPatternString objects in a RegexPatternSet. For each +// RegexPatternString object, you specify the following values: // -// * Whether to insert or delete the object from the array. If you want to -// change a RegexPatternSet object, you delete the existing object and add -// a new one. +// * Whether to insert or delete the RegexPatternString. // -// * The regular expression pattern that you want AWS WAF to look for. For +// * The regular expression pattern that you want to insert or delete. For // more information, see RegexPatternSet. // // For example, you can create a RegexPatternString such as B[a@]dB[o0]t. AWS @@ -6806,6 +7392,9 @@ func (c *WAFRegional) UpdateRegexPatternSetRequest(input *waf.UpdateRegexPattern // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // +// * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" +// The operation failed because the referenced object doesn't exist. +// // * ErrCodeWAFNonexistentContainerException "WAFNonexistentContainerException" // The operation failed because you tried to add an object to or delete an object // from another object that doesn't exist. For example: @@ -6850,7 +7439,7 @@ func (c *WAFRegional) UpdateRegexPatternSetRequest(input *waf.UpdateRegexPattern // * ErrCodeWAFInvalidRegexPatternException "WAFInvalidRegexPatternException" // The regular expression (regex) you specified in RegexPatternString is invalid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexPatternSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexPatternSet func (c *WAFRegional) UpdateRegexPatternSet(input *waf.UpdateRegexPatternSetInput) (*waf.UpdateRegexPatternSetOutput, error) { req, out := c.UpdateRegexPatternSetRequest(input) return out, req.Send() @@ -6897,7 +7486,7 @@ const opUpdateRule = "UpdateRule" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRule func (c *WAFRegional) UpdateRuleRequest(input *waf.UpdateRuleInput) (req *request.Request, output *waf.UpdateRuleOutput) { op := &request.Operation{ Name: opUpdateRule, @@ -7053,7 +7642,7 @@ func (c *WAFRegional) UpdateRuleRequest(input *waf.UpdateRuleInput) (req *reques // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRule +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRule func (c *WAFRegional) UpdateRule(input *waf.UpdateRuleInput) (*waf.UpdateRuleOutput, error) { req, out := c.UpdateRuleRequest(input) return out, req.Send() @@ -7075,6 +7664,187 @@ func (c *WAFRegional) UpdateRuleWithContext(ctx aws.Context, input *waf.UpdateRu return out, req.Send() } +const opUpdateRuleGroup = "UpdateRuleGroup" + +// UpdateRuleGroupRequest generates a "aws/request.Request" representing the +// client's request for the UpdateRuleGroup operation. The "output" return +// value will be populated with the request's response once the request complets +// successfuly. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateRuleGroup for more information on using the UpdateRuleGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateRuleGroupRequest method. +// req, resp := client.UpdateRuleGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRuleGroup +func (c *WAFRegional) UpdateRuleGroupRequest(input *waf.UpdateRuleGroupInput) (req *request.Request, output *waf.UpdateRuleGroupOutput) { + op := &request.Operation{ + Name: opUpdateRuleGroup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &waf.UpdateRuleGroupInput{} + } + + output = &waf.UpdateRuleGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateRuleGroup API operation for AWS WAF Regional. +// +// Inserts or deletes ActivatedRule objects in a RuleGroup. +// +// You can only insert REGULAR rules into a rule group. +// +// You can have a maximum of ten rules per rule group. +// +// To create and configure a RuleGroup, perform the following steps: +// +// Create and update the Rules that you want to include in the RuleGroup. See +// CreateRule. +// +// Use GetChangeToken to get the change token that you provide in the ChangeToken +// parameter of an UpdateRuleGroup request. +// +// Submit an UpdateRuleGroup request to add Rules to the RuleGroup. +// +// Create and update a WebACL that contains the RuleGroup. See CreateWebACL. +// +// If you want to replace one Rule with another, you delete the existing one +// and add the new one. +// +// For more information about how to use the AWS WAF API to allow or block HTTP +// requests, see the AWS WAF Developer Guide (http://docs.aws.amazon.com/waf/latest/developerguide/). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS WAF Regional's +// API operation UpdateRuleGroup for usage and error information. +// +// Returned Error Codes: +// * ErrCodeWAFStaleDataException "WAFStaleDataException" +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// * ErrCodeWAFInternalErrorException "WAFInternalErrorException" +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// * ErrCodeWAFNonexistentContainerException "WAFNonexistentContainerException" +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: +// +// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. +// +// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. +// +// * You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. +// +// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. +// +// * ErrCodeWAFNonexistentItemException "WAFNonexistentItemException" +// The operation failed because the referenced object doesn't exist. +// +// * ErrCodeWAFInvalidOperationException "WAFInvalidOperationException" +// The operation failed because there was nothing to do. For example: +// +// * You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. +// +// * You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. +// +// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. +// +// * You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. +// +// * You tried to add an IP address to an IPSet, but the IP address already +// exists in the specified IPSet. +// +// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. +// +// * ErrCodeWAFLimitsExceededException "WAFLimitsExceededException" +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. +// +// * ErrCodeWAFInvalidParameterException "WAFInvalidParameterException" +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: +// +// * You specified an invalid parameter name. +// +// * You specified an invalid value. +// +// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. +// +// * You tried to create a WebACL with a DefaultActionType other than ALLOW, +// BLOCK, or COUNT. +// +// * You tried to create a RateBasedRule with a RateKey value other than +// IP. +// +// * You tried to update a WebACL with a WafActionType other than ALLOW, +// BLOCK, or COUNT. +// +// * You tried to update a ByteMatchSet with a FieldToMatchType other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// +// * You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. +// +// * Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRuleGroup +func (c *WAFRegional) UpdateRuleGroup(input *waf.UpdateRuleGroupInput) (*waf.UpdateRuleGroupOutput, error) { + req, out := c.UpdateRuleGroupRequest(input) + return out, req.Send() +} + +// UpdateRuleGroupWithContext is the same as UpdateRuleGroup with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateRuleGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WAFRegional) UpdateRuleGroupWithContext(ctx aws.Context, input *waf.UpdateRuleGroupInput, opts ...request.Option) (*waf.UpdateRuleGroupOutput, error) { + req, out := c.UpdateRuleGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateSizeConstraintSet = "UpdateSizeConstraintSet" // UpdateSizeConstraintSetRequest generates a "aws/request.Request" representing the @@ -7100,7 +7870,7 @@ const opUpdateSizeConstraintSet = "UpdateSizeConstraintSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSizeConstraintSet func (c *WAFRegional) UpdateSizeConstraintSetRequest(input *waf.UpdateSizeConstraintSetInput) (req *request.Request, output *waf.UpdateSizeConstraintSetOutput) { op := &request.Operation{ Name: opUpdateSizeConstraintSet, @@ -7262,7 +8032,7 @@ func (c *WAFRegional) UpdateSizeConstraintSetRequest(input *waf.UpdateSizeConstr // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSizeConstraintSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSizeConstraintSet func (c *WAFRegional) UpdateSizeConstraintSet(input *waf.UpdateSizeConstraintSetInput) (*waf.UpdateSizeConstraintSetOutput, error) { req, out := c.UpdateSizeConstraintSetRequest(input) return out, req.Send() @@ -7309,7 +8079,7 @@ const opUpdateSqlInjectionMatchSet = "UpdateSqlInjectionMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSqlInjectionMatchSet func (c *WAFRegional) UpdateSqlInjectionMatchSetRequest(input *waf.UpdateSqlInjectionMatchSetInput) (req *request.Request, output *waf.UpdateSqlInjectionMatchSetOutput) { op := &request.Operation{ Name: opUpdateSqlInjectionMatchSet, @@ -7456,7 +8226,7 @@ func (c *WAFRegional) UpdateSqlInjectionMatchSetRequest(input *waf.UpdateSqlInje // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSqlInjectionMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSqlInjectionMatchSet func (c *WAFRegional) UpdateSqlInjectionMatchSet(input *waf.UpdateSqlInjectionMatchSetInput) (*waf.UpdateSqlInjectionMatchSetOutput, error) { req, out := c.UpdateSqlInjectionMatchSetRequest(input) return out, req.Send() @@ -7503,7 +8273,7 @@ const opUpdateWebACL = "UpdateWebACL" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateWebACL +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateWebACL func (c *WAFRegional) UpdateWebACLRequest(input *waf.UpdateWebACLInput) (req *request.Request, output *waf.UpdateWebACLOutput) { op := &request.Operation{ Name: opUpdateWebACL, @@ -7674,7 +8444,10 @@ func (c *WAFRegional) UpdateWebACLRequest(input *waf.UpdateWebACLInput) (req *re // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateWebACL +// * ErrCodeWAFSubscriptionNotFoundException "WAFSubscriptionNotFoundException" +// The specified subscription does not exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateWebACL func (c *WAFRegional) UpdateWebACL(input *waf.UpdateWebACLInput) (*waf.UpdateWebACLOutput, error) { req, out := c.UpdateWebACLRequest(input) return out, req.Send() @@ -7721,7 +8494,7 @@ const opUpdateXssMatchSet = "UpdateXssMatchSet" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateXssMatchSet func (c *WAFRegional) UpdateXssMatchSetRequest(input *waf.UpdateXssMatchSetInput) (req *request.Request, output *waf.UpdateXssMatchSetOutput) { op := &request.Operation{ Name: opUpdateXssMatchSet, @@ -7868,7 +8641,7 @@ func (c *WAFRegional) UpdateXssMatchSetRequest(input *waf.UpdateXssMatchSetInput // see Limits (http://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the AWS WAF Developer Guide. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateXssMatchSet +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateXssMatchSet func (c *WAFRegional) UpdateXssMatchSet(input *waf.UpdateXssMatchSetInput) (*waf.UpdateXssMatchSetOutput, error) { req, out := c.UpdateXssMatchSetRequest(input) return out, req.Send() @@ -7890,7 +8663,7 @@ func (c *WAFRegional) UpdateXssMatchSetWithContext(ctx aws.Context, input *waf.U return out, req.Send() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/AssociateWebACLRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/AssociateWebACLRequest type AssociateWebACLInput struct { _ struct{} `type:"structure"` @@ -7949,7 +8722,7 @@ func (s *AssociateWebACLInput) SetWebACLId(v string) *AssociateWebACLInput { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/AssociateWebACLResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/AssociateWebACLResponse type AssociateWebACLOutput struct { _ struct{} `type:"structure"` } @@ -7964,7 +8737,7 @@ func (s AssociateWebACLOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DisassociateWebACLRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DisassociateWebACLRequest type DisassociateWebACLInput struct { _ struct{} `type:"structure"` @@ -8007,7 +8780,7 @@ func (s *DisassociateWebACLInput) SetResourceArn(v string) *DisassociateWebACLIn return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DisassociateWebACLResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DisassociateWebACLResponse type DisassociateWebACLOutput struct { _ struct{} `type:"structure"` } @@ -8022,7 +8795,7 @@ func (s DisassociateWebACLOutput) GoString() string { return s.String() } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLForResourceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLForResourceRequest type GetWebACLForResourceInput struct { _ struct{} `type:"structure"` @@ -8064,7 +8837,7 @@ func (s *GetWebACLForResourceInput) SetResourceArn(v string) *GetWebACLForResour return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLForResourceResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLForResourceResponse type GetWebACLForResourceOutput struct { _ struct{} `type:"structure"` @@ -8089,7 +8862,7 @@ func (s *GetWebACLForResourceOutput) SetWebACLSummary(v *waf.WebACLSummary) *Get return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListResourcesForWebACLRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListResourcesForWebACLRequest type ListResourcesForWebACLInput struct { _ struct{} `type:"structure"` @@ -8132,7 +8905,7 @@ func (s *ListResourcesForWebACLInput) SetWebACLId(v string) *ListResourcesForWeb return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListResourcesForWebACLResponse +// See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListResourcesForWebACLResponse type ListResourcesForWebACLOutput struct { _ struct{} `type:"structure"` @@ -8983,6 +9756,9 @@ const ( // ParameterExceptionFieldWafAction is a ParameterExceptionField enum value ParameterExceptionFieldWafAction = "WAF_ACTION" + // ParameterExceptionFieldWafOverrideAction is a ParameterExceptionField enum value + ParameterExceptionFieldWafOverrideAction = "WAF_OVERRIDE_ACTION" + // ParameterExceptionFieldPredicateType is a ParameterExceptionField enum value ParameterExceptionFieldPredicateType = "PREDICATE_TYPE" @@ -9104,10 +9880,21 @@ const ( WafActionTypeCount = "COUNT" ) +const ( + // WafOverrideActionTypeNone is a WafOverrideActionType enum value + WafOverrideActionTypeNone = "NONE" + + // WafOverrideActionTypeCount is a WafOverrideActionType enum value + WafOverrideActionTypeCount = "COUNT" +) + const ( // WafRuleTypeRegular is a WafRuleType enum value WafRuleTypeRegular = "REGULAR" // WafRuleTypeRateBased is a WafRuleType enum value WafRuleTypeRateBased = "RATE_BASED" + + // WafRuleTypeGroup is a WafRuleType enum value + WafRuleTypeGroup = "GROUP" ) diff --git a/vendor/github.com/aws/aws-sdk-go/service/wafregional/errors.go b/vendor/github.com/aws/aws-sdk-go/service/wafregional/errors.go index fad8a77664a..677099c70ae 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/wafregional/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/wafregional/errors.go @@ -155,6 +155,12 @@ const ( // by using a change token that has already been used. ErrCodeWAFStaleDataException = "WAFStaleDataException" + // ErrCodeWAFSubscriptionNotFoundException for service response error code + // "WAFSubscriptionNotFoundException". + // + // The specified subscription does not exist. + ErrCodeWAFSubscriptionNotFoundException = "WAFSubscriptionNotFoundException" + // ErrCodeWAFUnavailableEntityException for service response error code // "WAFUnavailableEntityException". // diff --git a/vendor/github.com/aws/aws-sdk-go/service/workspaces/api.go b/vendor/github.com/aws/aws-sdk-go/service/workspaces/api.go index 017f0dbf55d..3e89a13a55e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/workspaces/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/workspaces/api.go @@ -36,7 +36,7 @@ const opCreateTags = "CreateTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTags func (c *WorkSpaces) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput) { op := &request.Operation{ Name: opCreateTags, @@ -74,7 +74,7 @@ func (c *WorkSpaces) CreateTagsRequest(input *CreateTagsInput) (req *request.Req // * ErrCodeResourceLimitExceededException "ResourceLimitExceededException" // Your resource limits have been exceeded. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTags func (c *WorkSpaces) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error) { req, out := c.CreateTagsRequest(input) return out, req.Send() @@ -121,7 +121,7 @@ const opCreateWorkspaces = "CreateWorkspaces" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaces func (c *WorkSpaces) CreateWorkspacesRequest(input *CreateWorkspacesInput) (req *request.Request, output *CreateWorkspacesOutput) { op := &request.Operation{ Name: opCreateWorkspaces, @@ -158,7 +158,7 @@ func (c *WorkSpaces) CreateWorkspacesRequest(input *CreateWorkspacesInput) (req // * ErrCodeInvalidParameterValuesException "InvalidParameterValuesException" // One or more parameter values are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaces func (c *WorkSpaces) CreateWorkspaces(input *CreateWorkspacesInput) (*CreateWorkspacesOutput, error) { req, out := c.CreateWorkspacesRequest(input) return out, req.Send() @@ -205,7 +205,7 @@ const opDeleteTags = "DeleteTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteTags func (c *WorkSpaces) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { op := &request.Operation{ Name: opDeleteTags, @@ -240,7 +240,7 @@ func (c *WorkSpaces) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Req // * ErrCodeInvalidParameterValuesException "InvalidParameterValuesException" // One or more parameter values are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteTags func (c *WorkSpaces) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { req, out := c.DeleteTagsRequest(input) return out, req.Send() @@ -287,7 +287,7 @@ const opDescribeTags = "DescribeTags" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeTags func (c *WorkSpaces) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { op := &request.Operation{ Name: opDescribeTags, @@ -319,7 +319,7 @@ func (c *WorkSpaces) DescribeTagsRequest(input *DescribeTagsInput) (req *request // * ErrCodeResourceNotFoundException "ResourceNotFoundException" // The resource could not be found. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeTags +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeTags func (c *WorkSpaces) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { req, out := c.DescribeTagsRequest(input) return out, req.Send() @@ -366,7 +366,7 @@ const opDescribeWorkspaceBundles = "DescribeWorkspaceBundles" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundles +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundles func (c *WorkSpaces) DescribeWorkspaceBundlesRequest(input *DescribeWorkspaceBundlesInput) (req *request.Request, output *DescribeWorkspaceBundlesOutput) { op := &request.Operation{ Name: opDescribeWorkspaceBundles, @@ -413,7 +413,7 @@ func (c *WorkSpaces) DescribeWorkspaceBundlesRequest(input *DescribeWorkspaceBun // * ErrCodeInvalidParameterValuesException "InvalidParameterValuesException" // One or more parameter values are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundles +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundles func (c *WorkSpaces) DescribeWorkspaceBundles(input *DescribeWorkspaceBundlesInput) (*DescribeWorkspaceBundlesOutput, error) { req, out := c.DescribeWorkspaceBundlesRequest(input) return out, req.Send() @@ -510,7 +510,7 @@ const opDescribeWorkspaceDirectories = "DescribeWorkspaceDirectories" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectories +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectories func (c *WorkSpaces) DescribeWorkspaceDirectoriesRequest(input *DescribeWorkspaceDirectoriesInput) (req *request.Request, output *DescribeWorkspaceDirectoriesOutput) { op := &request.Operation{ Name: opDescribeWorkspaceDirectories, @@ -555,7 +555,7 @@ func (c *WorkSpaces) DescribeWorkspaceDirectoriesRequest(input *DescribeWorkspac // * ErrCodeInvalidParameterValuesException "InvalidParameterValuesException" // One or more parameter values are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectories +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectories func (c *WorkSpaces) DescribeWorkspaceDirectories(input *DescribeWorkspaceDirectoriesInput) (*DescribeWorkspaceDirectoriesOutput, error) { req, out := c.DescribeWorkspaceDirectoriesRequest(input) return out, req.Send() @@ -652,7 +652,7 @@ const opDescribeWorkspaces = "DescribeWorkspaces" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaces func (c *WorkSpaces) DescribeWorkspacesRequest(input *DescribeWorkspacesInput) (req *request.Request, output *DescribeWorkspacesOutput) { op := &request.Operation{ Name: opDescribeWorkspaces, @@ -701,7 +701,7 @@ func (c *WorkSpaces) DescribeWorkspacesRequest(input *DescribeWorkspacesInput) ( // * ErrCodeResourceUnavailableException "ResourceUnavailableException" // The specified resource is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaces func (c *WorkSpaces) DescribeWorkspaces(input *DescribeWorkspacesInput) (*DescribeWorkspacesOutput, error) { req, out := c.DescribeWorkspacesRequest(input) return out, req.Send() @@ -798,7 +798,7 @@ const opDescribeWorkspacesConnectionStatus = "DescribeWorkspacesConnectionStatus // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatus func (c *WorkSpaces) DescribeWorkspacesConnectionStatusRequest(input *DescribeWorkspacesConnectionStatusInput) (req *request.Request, output *DescribeWorkspacesConnectionStatusOutput) { op := &request.Operation{ Name: opDescribeWorkspacesConnectionStatus, @@ -830,7 +830,7 @@ func (c *WorkSpaces) DescribeWorkspacesConnectionStatusRequest(input *DescribeWo // * ErrCodeInvalidParameterValuesException "InvalidParameterValuesException" // One or more parameter values are not valid. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatus func (c *WorkSpaces) DescribeWorkspacesConnectionStatus(input *DescribeWorkspacesConnectionStatusInput) (*DescribeWorkspacesConnectionStatusOutput, error) { req, out := c.DescribeWorkspacesConnectionStatusRequest(input) return out, req.Send() @@ -877,7 +877,7 @@ const opModifyWorkspaceProperties = "ModifyWorkspaceProperties" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceProperties +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceProperties func (c *WorkSpaces) ModifyWorkspacePropertiesRequest(input *ModifyWorkspacePropertiesInput) (req *request.Request, output *ModifyWorkspacePropertiesOutput) { op := &request.Operation{ Name: opModifyWorkspaceProperties, @@ -930,7 +930,7 @@ func (c *WorkSpaces) ModifyWorkspacePropertiesRequest(input *ModifyWorkspaceProp // * ErrCodeResourceUnavailableException "ResourceUnavailableException" // The specified resource is not available. // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceProperties +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceProperties func (c *WorkSpaces) ModifyWorkspaceProperties(input *ModifyWorkspacePropertiesInput) (*ModifyWorkspacePropertiesOutput, error) { req, out := c.ModifyWorkspacePropertiesRequest(input) return out, req.Send() @@ -977,7 +977,7 @@ const opRebootWorkspaces = "RebootWorkspaces" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootWorkspaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootWorkspaces func (c *WorkSpaces) RebootWorkspacesRequest(input *RebootWorkspacesInput) (req *request.Request, output *RebootWorkspacesOutput) { op := &request.Operation{ Name: opRebootWorkspaces, @@ -1009,7 +1009,7 @@ func (c *WorkSpaces) RebootWorkspacesRequest(input *RebootWorkspacesInput) (req // // See the AWS API reference guide for Amazon WorkSpaces's // API operation RebootWorkspaces for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootWorkspaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootWorkspaces func (c *WorkSpaces) RebootWorkspaces(input *RebootWorkspacesInput) (*RebootWorkspacesOutput, error) { req, out := c.RebootWorkspacesRequest(input) return out, req.Send() @@ -1056,7 +1056,7 @@ const opRebuildWorkspaces = "RebuildWorkspaces" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildWorkspaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildWorkspaces func (c *WorkSpaces) RebuildWorkspacesRequest(input *RebuildWorkspacesInput) (req *request.Request, output *RebuildWorkspacesOutput) { op := &request.Operation{ Name: opRebuildWorkspaces, @@ -1101,7 +1101,7 @@ func (c *WorkSpaces) RebuildWorkspacesRequest(input *RebuildWorkspacesInput) (re // // See the AWS API reference guide for Amazon WorkSpaces's // API operation RebuildWorkspaces for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildWorkspaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildWorkspaces func (c *WorkSpaces) RebuildWorkspaces(input *RebuildWorkspacesInput) (*RebuildWorkspacesOutput, error) { req, out := c.RebuildWorkspacesRequest(input) return out, req.Send() @@ -1148,7 +1148,7 @@ const opStartWorkspaces = "StartWorkspaces" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspaces func (c *WorkSpaces) StartWorkspacesRequest(input *StartWorkspacesInput) (req *request.Request, output *StartWorkspacesOutput) { op := &request.Operation{ Name: opStartWorkspaces, @@ -1176,7 +1176,7 @@ func (c *WorkSpaces) StartWorkspacesRequest(input *StartWorkspacesInput) (req *r // // See the AWS API reference guide for Amazon WorkSpaces's // API operation StartWorkspaces for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspaces func (c *WorkSpaces) StartWorkspaces(input *StartWorkspacesInput) (*StartWorkspacesOutput, error) { req, out := c.StartWorkspacesRequest(input) return out, req.Send() @@ -1223,7 +1223,7 @@ const opStopWorkspaces = "StopWorkspaces" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopWorkspaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopWorkspaces func (c *WorkSpaces) StopWorkspacesRequest(input *StopWorkspacesInput) (req *request.Request, output *StopWorkspacesOutput) { op := &request.Operation{ Name: opStopWorkspaces, @@ -1251,7 +1251,7 @@ func (c *WorkSpaces) StopWorkspacesRequest(input *StopWorkspacesInput) (req *req // // See the AWS API reference guide for Amazon WorkSpaces's // API operation StopWorkspaces for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopWorkspaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopWorkspaces func (c *WorkSpaces) StopWorkspaces(input *StopWorkspacesInput) (*StopWorkspacesOutput, error) { req, out := c.StopWorkspacesRequest(input) return out, req.Send() @@ -1298,7 +1298,7 @@ const opTerminateWorkspaces = "TerminateWorkspaces" // fmt.Println(resp) // } // -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspaces func (c *WorkSpaces) TerminateWorkspacesRequest(input *TerminateWorkspacesInput) (req *request.Request, output *TerminateWorkspacesOutput) { op := &request.Operation{ Name: opTerminateWorkspaces, @@ -1334,7 +1334,7 @@ func (c *WorkSpaces) TerminateWorkspacesRequest(input *TerminateWorkspacesInput) // // See the AWS API reference guide for Amazon WorkSpaces's // API operation TerminateWorkspaces for usage and error information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspaces +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspaces func (c *WorkSpaces) TerminateWorkspaces(input *TerminateWorkspacesInput) (*TerminateWorkspacesOutput, error) { req, out := c.TerminateWorkspacesRequest(input) return out, req.Send() @@ -1357,7 +1357,7 @@ func (c *WorkSpaces) TerminateWorkspacesWithContext(ctx aws.Context, input *Term } // Contains information about the compute type of a WorkSpace bundle. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ComputeType +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ComputeType type ComputeType struct { _ struct{} `type:"structure"` @@ -1382,7 +1382,7 @@ func (s *ComputeType) SetName(v string) *ComputeType { } // The request of the CreateTags operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTagsRequest type CreateTagsInput struct { _ struct{} `type:"structure"` @@ -1449,7 +1449,7 @@ func (s *CreateTagsInput) SetTags(v []*Tag) *CreateTagsInput { } // The result of the CreateTags operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTagsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTagsResult type CreateTagsOutput struct { _ struct{} `type:"structure"` } @@ -1465,7 +1465,7 @@ func (s CreateTagsOutput) GoString() string { } // Contains the inputs for the CreateWorkspaces operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspacesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspacesRequest type CreateWorkspacesInput struct { _ struct{} `type:"structure"` @@ -1518,7 +1518,7 @@ func (s *CreateWorkspacesInput) SetWorkspaces(v []*WorkspaceRequest) *CreateWork } // Contains the result of the CreateWorkspaces operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspacesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspacesResult type CreateWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -1556,7 +1556,7 @@ func (s *CreateWorkspacesOutput) SetPendingRequests(v []*Workspace) *CreateWorks } // Contains default WorkSpace creation information. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DefaultWorkspaceCreationProperties +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DefaultWorkspaceCreationProperties type DefaultWorkspaceCreationProperties struct { _ struct{} `type:"structure"` @@ -1620,7 +1620,7 @@ func (s *DefaultWorkspaceCreationProperties) SetUserEnabledAsLocalAdministrator( } // The request of the DeleteTags operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteTagsRequest type DeleteTagsInput struct { _ struct{} `type:"structure"` @@ -1677,7 +1677,7 @@ func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput { } // The result of the DeleteTags operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteTagsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteTagsResult type DeleteTagsOutput struct { _ struct{} `type:"structure"` } @@ -1693,7 +1693,7 @@ func (s DeleteTagsOutput) GoString() string { } // The request of the DescribeTags operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeTagsRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeTagsRequest type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -1736,7 +1736,7 @@ func (s *DescribeTagsInput) SetResourceId(v string) *DescribeTagsInput { } // The result of the DescribeTags operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeTagsResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeTagsResult type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -1761,7 +1761,7 @@ func (s *DescribeTagsOutput) SetTagList(v []*Tag) *DescribeTagsOutput { } // Contains the inputs for the DescribeWorkspaceBundles operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundlesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundlesRequest type DescribeWorkspaceBundlesInput struct { _ struct{} `type:"structure"` @@ -1829,7 +1829,7 @@ func (s *DescribeWorkspaceBundlesInput) SetOwner(v string) *DescribeWorkspaceBun } // Contains the results of the DescribeWorkspaceBundles operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundlesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundlesResult type DescribeWorkspaceBundlesOutput struct { _ struct{} `type:"structure"` @@ -1866,7 +1866,7 @@ func (s *DescribeWorkspaceBundlesOutput) SetNextToken(v string) *DescribeWorkspa } // Contains the inputs for the DescribeWorkspaceDirectories operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectoriesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectoriesRequest type DescribeWorkspaceDirectoriesInput struct { _ struct{} `type:"structure"` @@ -1918,7 +1918,7 @@ func (s *DescribeWorkspaceDirectoriesInput) SetNextToken(v string) *DescribeWork } // Contains the results of the DescribeWorkspaceDirectories operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectoriesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectoriesResult type DescribeWorkspaceDirectoriesOutput struct { _ struct{} `type:"structure"` @@ -1954,7 +1954,7 @@ func (s *DescribeWorkspaceDirectoriesOutput) SetNextToken(v string) *DescribeWor return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatusRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatusRequest type DescribeWorkspacesConnectionStatusInput struct { _ struct{} `type:"structure"` @@ -2003,7 +2003,7 @@ func (s *DescribeWorkspacesConnectionStatusInput) SetWorkspaceIds(v []*string) * return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatusResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatusResult type DescribeWorkspacesConnectionStatusOutput struct { _ struct{} `type:"structure"` @@ -2037,7 +2037,7 @@ func (s *DescribeWorkspacesConnectionStatusOutput) SetWorkspacesConnectionStatus } // Contains the inputs for the DescribeWorkspaces operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesRequest type DescribeWorkspacesInput struct { _ struct{} `type:"structure"` @@ -2141,7 +2141,7 @@ func (s *DescribeWorkspacesInput) SetWorkspaceIds(v []*string) *DescribeWorkspac } // Contains the results for the DescribeWorkspaces operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesResult type DescribeWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -2181,7 +2181,7 @@ func (s *DescribeWorkspacesOutput) SetWorkspaces(v []*Workspace) *DescribeWorksp } // Contains information about a WorkSpace that could not be created. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/FailedCreateWorkspaceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/FailedCreateWorkspaceRequest type FailedCreateWorkspaceRequest struct { _ struct{} `type:"structure"` @@ -2227,7 +2227,7 @@ func (s *FailedCreateWorkspaceRequest) SetWorkspaceRequest(v *WorkspaceRequest) // Contains information about a WorkSpace that could not be rebooted (RebootWorkspaces), // rebuilt (RebuildWorkspaces), terminated (TerminateWorkspaces), started (StartWorkspaces), // or stopped (StopWorkspaces). -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/FailedWorkspaceChangeRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/FailedWorkspaceChangeRequest type FailedWorkspaceChangeRequest struct { _ struct{} `type:"structure"` @@ -2269,7 +2269,7 @@ func (s *FailedWorkspaceChangeRequest) SetWorkspaceId(v string) *FailedWorkspace return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspacePropertiesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspacePropertiesRequest type ModifyWorkspacePropertiesInput struct { _ struct{} `type:"structure"` @@ -2322,7 +2322,7 @@ func (s *ModifyWorkspacePropertiesInput) SetWorkspaceProperties(v *WorkspaceProp return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspacePropertiesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspacePropertiesResult type ModifyWorkspacePropertiesOutput struct { _ struct{} `type:"structure"` } @@ -2339,7 +2339,7 @@ func (s ModifyWorkspacePropertiesOutput) GoString() string { // Contains information used with the RebootWorkspaces operation to reboot a // WorkSpace. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootRequest type RebootRequest struct { _ struct{} `type:"structure"` @@ -2379,7 +2379,7 @@ func (s *RebootRequest) SetWorkspaceId(v string) *RebootRequest { } // Contains the inputs for the RebootWorkspaces operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootWorkspacesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootWorkspacesRequest type RebootWorkspacesInput struct { _ struct{} `type:"structure"` @@ -2432,7 +2432,7 @@ func (s *RebootWorkspacesInput) SetRebootWorkspaceRequests(v []*RebootRequest) * } // Contains the results of the RebootWorkspaces operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootWorkspacesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootWorkspacesResult type RebootWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -2458,7 +2458,7 @@ func (s *RebootWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeReq // Contains information used with the RebuildWorkspaces operation to rebuild // a WorkSpace. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildRequest type RebuildRequest struct { _ struct{} `type:"structure"` @@ -2498,7 +2498,7 @@ func (s *RebuildRequest) SetWorkspaceId(v string) *RebuildRequest { } // Contains the inputs for the RebuildWorkspaces operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildWorkspacesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildWorkspacesRequest type RebuildWorkspacesInput struct { _ struct{} `type:"structure"` @@ -2551,7 +2551,7 @@ func (s *RebuildWorkspacesInput) SetRebuildWorkspaceRequests(v []*RebuildRequest } // Contains the results of the RebuildWorkspaces operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildWorkspacesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildWorkspacesResult type RebuildWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -2576,7 +2576,7 @@ func (s *RebuildWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRe } // Describes the start request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartRequest type StartRequest struct { _ struct{} `type:"structure"` @@ -2600,7 +2600,7 @@ func (s *StartRequest) SetWorkspaceId(v string) *StartRequest { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspacesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspacesRequest type StartWorkspacesInput struct { _ struct{} `type:"structure"` @@ -2642,7 +2642,7 @@ func (s *StartWorkspacesInput) SetStartWorkspaceRequests(v []*StartRequest) *Sta return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspacesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspacesResult type StartWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -2667,7 +2667,7 @@ func (s *StartWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequ } // Describes the stop request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopRequest type StopRequest struct { _ struct{} `type:"structure"` @@ -2691,7 +2691,7 @@ func (s *StopRequest) SetWorkspaceId(v string) *StopRequest { return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopWorkspacesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopWorkspacesRequest type StopWorkspacesInput struct { _ struct{} `type:"structure"` @@ -2733,7 +2733,7 @@ func (s *StopWorkspacesInput) SetStopWorkspaceRequests(v []*StopRequest) *StopWo return s } -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopWorkspacesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopWorkspacesResult type StopWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -2758,7 +2758,7 @@ func (s *StopWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeReque } // Describes the tag of the WorkSpace. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/Tag +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/Tag type Tag struct { _ struct{} `type:"structure"` @@ -2811,7 +2811,7 @@ func (s *Tag) SetValue(v string) *Tag { // Contains information used with the TerminateWorkspaces operation to terminate // a WorkSpace. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateRequest type TerminateRequest struct { _ struct{} `type:"structure"` @@ -2851,7 +2851,7 @@ func (s *TerminateRequest) SetWorkspaceId(v string) *TerminateRequest { } // Contains the inputs for the TerminateWorkspaces operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspacesRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspacesRequest type TerminateWorkspacesInput struct { _ struct{} `type:"structure"` @@ -2904,7 +2904,7 @@ func (s *TerminateWorkspacesInput) SetTerminateWorkspaceRequests(v []*TerminateR } // Contains the results of the TerminateWorkspaces operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspacesResult +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspacesResult type TerminateWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -2929,7 +2929,7 @@ func (s *TerminateWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChange } // Contains information about the user storage for a WorkSpace bundle. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UserStorage +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UserStorage type UserStorage struct { _ struct{} `type:"structure"` @@ -2954,7 +2954,7 @@ func (s *UserStorage) SetCapacity(v string) *UserStorage { } // Contains information about a WorkSpace. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/Workspace +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/Workspace type Workspace struct { _ struct{} `type:"structure"` @@ -3098,7 +3098,7 @@ func (s *Workspace) SetWorkspaceProperties(v *WorkspaceProperties) *Workspace { } // Contains information about a WorkSpace bundle. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceBundle +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceBundle type WorkspaceBundle struct { _ struct{} `type:"structure"` @@ -3170,7 +3170,7 @@ func (s *WorkspaceBundle) SetUserStorage(v *UserStorage) *WorkspaceBundle { } // Describes the connection status of a WorkSpace. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceConnectionStatus +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceConnectionStatus type WorkspaceConnectionStatus struct { _ struct{} `type:"structure"` @@ -3224,7 +3224,7 @@ func (s *WorkspaceConnectionStatus) SetWorkspaceId(v string) *WorkspaceConnectio // Contains information about an AWS Directory Service directory for use with // Amazon WorkSpaces. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceDirectory +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceDirectory type WorkspaceDirectory struct { _ struct{} `type:"structure"` @@ -3353,7 +3353,7 @@ func (s *WorkspaceDirectory) SetWorkspaceSecurityGroupId(v string) *WorkspaceDir } // Describes the properties of a WorkSpace. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceProperties +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceProperties type WorkspaceProperties struct { _ struct{} `type:"structure"` @@ -3390,7 +3390,7 @@ func (s *WorkspaceProperties) SetRunningModeAutoStopTimeoutInMinutes(v int64) *W } // Contains information about a WorkSpace creation request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceRequest +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceRequest type WorkspaceRequest struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/beevik/etree/CONTRIBUTORS b/vendor/github.com/beevik/etree/CONTRIBUTORS new file mode 100644 index 00000000000..084662c3a83 --- /dev/null +++ b/vendor/github.com/beevik/etree/CONTRIBUTORS @@ -0,0 +1,8 @@ +Brett Vickers (beevik) +Felix Geisendörfer (felixge) +Kamil Kisiel (kisielk) +Graham King (grahamking) +Matt Smith (ma314smith) +Michal Jemala (michaljemala) +Nicolas Piganeau (npiganeau) +Chris Brown (ccbrown) diff --git a/vendor/github.com/beevik/etree/LICENSE b/vendor/github.com/beevik/etree/LICENSE new file mode 100644 index 00000000000..e14ad682a0d --- /dev/null +++ b/vendor/github.com/beevik/etree/LICENSE @@ -0,0 +1,24 @@ +Copyright 2015 Brett Vickers. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER ``AS IS'' AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/github.com/beevik/etree/README.md b/vendor/github.com/beevik/etree/README.md new file mode 100644 index 00000000000..28558433c80 --- /dev/null +++ b/vendor/github.com/beevik/etree/README.md @@ -0,0 +1,203 @@ +[![Build Status](https://travis-ci.org/beevik/etree.svg?branch=master)](https://travis-ci.org/beevik/etree) +[![GoDoc](https://godoc.org/github.com/beevik/etree?status.svg)](https://godoc.org/github.com/beevik/etree) + +etree +===== + +The etree package is a lightweight, pure go package that expresses XML in +the form of an element tree. Its design was inspired by the Python +[ElementTree](http://docs.python.org/2/library/xml.etree.elementtree.html) +module. Some of the package's features include: + +* Represents XML documents as trees of elements for easy traversal. +* Imports, serializes, modifies or creates XML documents from scratch. +* Writes and reads XML to/from files, byte slices, strings and io interfaces. +* Performs simple or complex searches with lightweight XPath-like query APIs. +* Auto-indents XML using spaces or tabs for better readability. +* Implemented in pure go; depends only on standard go libraries. +* Built on top of the go [encoding/xml](http://golang.org/pkg/encoding/xml) + package. + +### Creating an XML document + +The following example creates an XML document from scratch using the etree +package and outputs its indented contents to stdout. +```go +doc := etree.NewDocument() +doc.CreateProcInst("xml", `version="1.0" encoding="UTF-8"`) +doc.CreateProcInst("xml-stylesheet", `type="text/xsl" href="style.xsl"`) + +people := doc.CreateElement("People") +people.CreateComment("These are all known people") + +jon := people.CreateElement("Person") +jon.CreateAttr("name", "Jon") + +sally := people.CreateElement("Person") +sally.CreateAttr("name", "Sally") + +doc.Indent(2) +doc.WriteTo(os.Stdout) +``` + +Output: +```xml + + + + + + + +``` + +### Reading an XML file + +Suppose you have a file on disk called `bookstore.xml` containing the +following data: + +```xml + + + + Everyday Italian + Giada De Laurentiis + 2005 + 30.00 + + + + Harry Potter + J K. Rowling + 2005 + 29.99 + + + + XQuery Kick Start + James McGovern + Per Bothner + Kurt Cagle + James Linn + Vaidyanathan Nagarajan + 2003 + 49.99 + + + + Learning XML + Erik T. Ray + 2003 + 39.95 + + + +``` + +This code reads the file's contents into an etree document. +```go +doc := etree.NewDocument() +if err := doc.ReadFromFile("bookstore.xml"); err != nil { + panic(err) +} +``` + +You can also read XML from a string, a byte slice, or an `io.Reader`. + +### Processing elements and attributes + +This example illustrates several ways to access elements and attributes using +etree selection queries. +```go +root := doc.SelectElement("bookstore") +fmt.Println("ROOT element:", root.Tag) + +for _, book := range root.SelectElements("book") { + fmt.Println("CHILD element:", book.Tag) + if title := book.SelectElement("title"); title != nil { + lang := title.SelectAttrValue("lang", "unknown") + fmt.Printf(" TITLE: %s (%s)\n", title.Text(), lang) + } + for _, attr := range book.Attr { + fmt.Printf(" ATTR: %s=%s\n", attr.Key, attr.Value) + } +} +``` +Output: +``` +ROOT element: bookstore +CHILD element: book + TITLE: Everyday Italian (en) + ATTR: category=COOKING +CHILD element: book + TITLE: Harry Potter (en) + ATTR: category=CHILDREN +CHILD element: book + TITLE: XQuery Kick Start (en) + ATTR: category=WEB +CHILD element: book + TITLE: Learning XML (en) + ATTR: category=WEB +``` + +### Path queries + +This example uses etree's path functions to select all book titles that fall +into the category of 'WEB'. The double-slash prefix in the path causes the +search for book elements to occur recursively; book elements may appear at any +level of the XML hierarchy. +```go +for _, t := range doc.FindElements("//book[@category='WEB']/title") { + fmt.Println("Title:", t.Text()) +} +``` + +Output: +``` +Title: XQuery Kick Start +Title: Learning XML +``` + +This example finds the first book element under the root bookstore element and +outputs the tag and text of each of its child elements. +```go +for _, e := range doc.FindElements("./bookstore/book[1]/*") { + fmt.Printf("%s: %s\n", e.Tag, e.Text()) +} +``` + +Output: +``` +title: Everyday Italian +author: Giada De Laurentiis +year: 2005 +price: 30.00 +``` + +This example finds all books with a price of 49.99 and outputs their titles. +```go +path := etree.MustCompilePath("./bookstore/book[p:price='49.99']/title") +for _, e := range doc.FindElementsPath(path) { + fmt.Println(e.Text()) +} +``` + +Output: +``` +XQuery Kick Start +``` + +Note that this example uses the FindElementsPath function, which takes as an +argument a pre-compiled path object. Use precompiled paths when you plan to +search with the same path more than once. + +### Other features + +These are just a few examples of the things the etree package can do. See the +[documentation](http://godoc.org/github.com/beevik/etree) for a complete +description of its capabilities. + +### Contributing + +This project accepts contributions. Just fork the repo and submit a pull +request! diff --git a/vendor/github.com/beevik/etree/etree.go b/vendor/github.com/beevik/etree/etree.go new file mode 100644 index 00000000000..36b279f6003 --- /dev/null +++ b/vendor/github.com/beevik/etree/etree.go @@ -0,0 +1,943 @@ +// Copyright 2015 Brett Vickers. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Package etree provides XML services through an Element Tree +// abstraction. +package etree + +import ( + "bufio" + "bytes" + "encoding/xml" + "errors" + "io" + "os" + "strings" +) + +const ( + // NoIndent is used with Indent to disable all indenting. + NoIndent = -1 +) + +// ErrXML is returned when XML parsing fails due to incorrect formatting. +var ErrXML = errors.New("etree: invalid XML format") + +// ReadSettings allow for changing the default behavior of the ReadFrom* +// methods. +type ReadSettings struct { + // CharsetReader to be passed to standard xml.Decoder. Default: nil. + CharsetReader func(charset string, input io.Reader) (io.Reader, error) + + // Permissive allows input containing common mistakes such as missing tags + // or attribute values. Default: false. + Permissive bool +} + +// newReadSettings creates a default ReadSettings record. +func newReadSettings() ReadSettings { + return ReadSettings{} +} + +// WriteSettings allow for changing the serialization behavior of the WriteTo* +// methods. +type WriteSettings struct { + // CanonicalEndTags forces the production of XML end tags, even for + // elements that have no child elements. Default: false. + CanonicalEndTags bool + + // CanonicalText forces the production of XML character references for + // text data characters &, <, and >. If false, XML character references + // are also produced for " and '. Default: false. + CanonicalText bool + + // CanonicalAttrVal forces the production of XML character references for + // attribute value characters &, < and ". If false, XML character + // references are also produced for > and '. Default: false. + CanonicalAttrVal bool +} + +// newWriteSettings creates a default WriteSettings record. +func newWriteSettings() WriteSettings { + return WriteSettings{ + CanonicalEndTags: false, + CanonicalText: false, + CanonicalAttrVal: false, + } +} + +// A Token is an empty interface that represents an Element, CharData, +// Comment, Directive, or ProcInst. +type Token interface { + Parent() *Element + dup(parent *Element) Token + setParent(parent *Element) + writeTo(w *bufio.Writer, s *WriteSettings) +} + +// A Document is a container holding a complete XML hierarchy. Its embedded +// element contains zero or more children, one of which is usually the root +// element. The embedded element may include other children such as +// processing instructions or BOM CharData tokens. +type Document struct { + Element + ReadSettings ReadSettings + WriteSettings WriteSettings +} + +// An Element represents an XML element, its attributes, and its child tokens. +type Element struct { + Space, Tag string // namespace and tag + Attr []Attr // key-value attribute pairs + Child []Token // child tokens (elements, comments, etc.) + parent *Element // parent element +} + +// An Attr represents a key-value attribute of an XML element. +type Attr struct { + Space, Key string // The attribute's namespace and key + Value string // The attribute value string +} + +// CharData represents character data within XML. +type CharData struct { + Data string + parent *Element + whitespace bool +} + +// A Comment represents an XML comment. +type Comment struct { + Data string + parent *Element +} + +// A Directive represents an XML directive. +type Directive struct { + Data string + parent *Element +} + +// A ProcInst represents an XML processing instruction. +type ProcInst struct { + Target string + Inst string + parent *Element +} + +// NewDocument creates an XML document without a root element. +func NewDocument() *Document { + return &Document{ + Element{Child: make([]Token, 0)}, + newReadSettings(), + newWriteSettings(), + } +} + +// Copy returns a recursive, deep copy of the document. +func (d *Document) Copy() *Document { + return &Document{*(d.dup(nil).(*Element)), d.ReadSettings, d.WriteSettings} +} + +// Root returns the root element of the document, or nil if there is no root +// element. +func (d *Document) Root() *Element { + for _, t := range d.Child { + if c, ok := t.(*Element); ok { + return c + } + } + return nil +} + +// SetRoot replaces the document's root element with e. If the document +// already has a root when this function is called, then the document's +// original root is unbound first. If the element e is bound to another +// document (or to another element within a document), then it is unbound +// first. +func (d *Document) SetRoot(e *Element) { + if e.parent != nil { + e.parent.RemoveChild(e) + } + e.setParent(&d.Element) + + for i, t := range d.Child { + if _, ok := t.(*Element); ok { + t.setParent(nil) + d.Child[i] = e + return + } + } + d.Child = append(d.Child, e) +} + +// ReadFrom reads XML from the reader r into the document d. It returns the +// number of bytes read and any error encountered. +func (d *Document) ReadFrom(r io.Reader) (n int64, err error) { + return d.Element.readFrom(r, d.ReadSettings) +} + +// ReadFromFile reads XML from the string s into the document d. +func (d *Document) ReadFromFile(filename string) error { + f, err := os.Open(filename) + if err != nil { + return err + } + defer f.Close() + _, err = d.ReadFrom(f) + return err +} + +// ReadFromBytes reads XML from the byte slice b into the document d. +func (d *Document) ReadFromBytes(b []byte) error { + _, err := d.ReadFrom(bytes.NewReader(b)) + return err +} + +// ReadFromString reads XML from the string s into the document d. +func (d *Document) ReadFromString(s string) error { + _, err := d.ReadFrom(strings.NewReader(s)) + return err +} + +// WriteTo serializes an XML document into the writer w. It +// returns the number of bytes written and any error encountered. +func (d *Document) WriteTo(w io.Writer) (n int64, err error) { + cw := newCountWriter(w) + b := bufio.NewWriter(cw) + for _, c := range d.Child { + c.writeTo(b, &d.WriteSettings) + } + err, n = b.Flush(), cw.bytes + return +} + +// WriteToFile serializes an XML document into the file named +// filename. +func (d *Document) WriteToFile(filename string) error { + f, err := os.Create(filename) + if err != nil { + return err + } + defer f.Close() + _, err = d.WriteTo(f) + return err +} + +// WriteToBytes serializes the XML document into a slice of +// bytes. +func (d *Document) WriteToBytes() (b []byte, err error) { + var buf bytes.Buffer + if _, err = d.WriteTo(&buf); err != nil { + return + } + return buf.Bytes(), nil +} + +// WriteToString serializes the XML document into a string. +func (d *Document) WriteToString() (s string, err error) { + var b []byte + if b, err = d.WriteToBytes(); err != nil { + return + } + return string(b), nil +} + +type indentFunc func(depth int) string + +// Indent modifies the document's element tree by inserting CharData entities +// containing carriage returns and indentation. The amount of indentation per +// depth level is given as spaces. Pass etree.NoIndent for spaces if you want +// no indentation at all. +func (d *Document) Indent(spaces int) { + var indent indentFunc + switch { + case spaces < 0: + indent = func(depth int) string { return "" } + default: + indent = func(depth int) string { return crIndent(depth*spaces, crsp) } + } + d.Element.indent(0, indent) +} + +// IndentTabs modifies the document's element tree by inserting CharData +// entities containing carriage returns and tabs for indentation. One tab is +// used per indentation level. +func (d *Document) IndentTabs() { + indent := func(depth int) string { return crIndent(depth, crtab) } + d.Element.indent(0, indent) +} + +// NewElement creates an unparented element with the specified tag. The tag +// may be prefixed by a namespace and a colon. +func NewElement(tag string) *Element { + space, stag := spaceDecompose(tag) + return newElement(space, stag, nil) +} + +// newElement is a helper function that creates an element and binds it to +// a parent element if possible. +func newElement(space, tag string, parent *Element) *Element { + e := &Element{ + Space: space, + Tag: tag, + Attr: make([]Attr, 0), + Child: make([]Token, 0), + parent: parent, + } + if parent != nil { + parent.addChild(e) + } + return e +} + +// Copy creates a recursive, deep copy of the element and all its attributes +// and children. The returned element has no parent but can be parented to a +// another element using AddElement, or to a document using SetRoot. +func (e *Element) Copy() *Element { + var parent *Element + return e.dup(parent).(*Element) +} + +// Text returns the characters immediately following the element's +// opening tag. +func (e *Element) Text() string { + if len(e.Child) == 0 { + return "" + } + if cd, ok := e.Child[0].(*CharData); ok { + return cd.Data + } + return "" +} + +// SetText replaces an element's subsidiary CharData text with a new string. +func (e *Element) SetText(text string) { + if len(e.Child) > 0 { + if cd, ok := e.Child[0].(*CharData); ok { + cd.Data = text + return + } + } + cd := newCharData(text, false, e) + copy(e.Child[1:], e.Child[0:]) + e.Child[0] = cd +} + +// CreateElement creates an element with the specified tag and adds it as the +// last child element of the element e. The tag may be prefixed by a namespace +// and a colon. +func (e *Element) CreateElement(tag string) *Element { + space, stag := spaceDecompose(tag) + return newElement(space, stag, e) +} + +// AddChild adds the token t as the last child of element e. If token t was +// already the child of another element, it is first removed from its current +// parent element. +func (e *Element) AddChild(t Token) { + if t.Parent() != nil { + t.Parent().RemoveChild(t) + } + t.setParent(e) + e.addChild(t) +} + +// InsertChild inserts the token t before e's existing child token ex. If ex +// is nil (or if ex is not a child of e), then t is added to the end of e's +// child token list. If token t was already the child of another element, it +// is first removed from its current parent element. +func (e *Element) InsertChild(ex Token, t Token) { + if t.Parent() != nil { + t.Parent().RemoveChild(t) + } + t.setParent(e) + + for i, c := range e.Child { + if c == ex { + e.Child = append(e.Child, nil) + copy(e.Child[i+1:], e.Child[i:]) + e.Child[i] = t + return + } + } + e.addChild(t) +} + +// RemoveChild attempts to remove the token t from element e's list of +// children. If the token t is a child of e, then it is returned. Otherwise, +// nil is returned. +func (e *Element) RemoveChild(t Token) Token { + for i, c := range e.Child { + if c == t { + e.Child = append(e.Child[:i], e.Child[i+1:]...) + c.setParent(nil) + return t + } + } + return nil +} + +// ReadFrom reads XML from the reader r and stores the result as a new child +// of element e. +func (e *Element) readFrom(ri io.Reader, settings ReadSettings) (n int64, err error) { + r := newCountReader(ri) + dec := xml.NewDecoder(r) + dec.CharsetReader = settings.CharsetReader + dec.Strict = !settings.Permissive + var stack stack + stack.push(e) + for { + t, err := dec.RawToken() + switch { + case err == io.EOF: + return r.bytes, nil + case err != nil: + return r.bytes, err + case stack.empty(): + return r.bytes, ErrXML + } + + top := stack.peek().(*Element) + + switch t := t.(type) { + case xml.StartElement: + e := newElement(t.Name.Space, t.Name.Local, top) + for _, a := range t.Attr { + e.createAttr(a.Name.Space, a.Name.Local, a.Value) + } + stack.push(e) + case xml.EndElement: + stack.pop() + case xml.CharData: + data := string(t) + newCharData(data, isWhitespace(data), top) + case xml.Comment: + newComment(string(t), top) + case xml.Directive: + newDirective(string(t), top) + case xml.ProcInst: + newProcInst(t.Target, string(t.Inst), top) + } + } +} + +// SelectAttr finds an element attribute matching the requested key and +// returns it if found. The key may be prefixed by a namespace and a colon. +func (e *Element) SelectAttr(key string) *Attr { + space, skey := spaceDecompose(key) + for i, a := range e.Attr { + if spaceMatch(space, a.Space) && skey == a.Key { + return &e.Attr[i] + } + } + return nil +} + +// SelectAttrValue finds an element attribute matching the requested key and +// returns its value if found. The key may be prefixed by a namespace and a +// colon. If the key is not found, the dflt value is returned instead. +func (e *Element) SelectAttrValue(key, dflt string) string { + space, skey := spaceDecompose(key) + for _, a := range e.Attr { + if spaceMatch(space, a.Space) && skey == a.Key { + return a.Value + } + } + return dflt +} + +// ChildElements returns all elements that are children of element e. +func (e *Element) ChildElements() []*Element { + var elements []*Element + for _, t := range e.Child { + if c, ok := t.(*Element); ok { + elements = append(elements, c) + } + } + return elements +} + +// SelectElement returns the first child element with the given tag. The tag +// may be prefixed by a namespace and a colon. +func (e *Element) SelectElement(tag string) *Element { + space, stag := spaceDecompose(tag) + for _, t := range e.Child { + if c, ok := t.(*Element); ok && spaceMatch(space, c.Space) && stag == c.Tag { + return c + } + } + return nil +} + +// SelectElements returns a slice of all child elements with the given tag. +// The tag may be prefixed by a namespace and a colon. +func (e *Element) SelectElements(tag string) []*Element { + space, stag := spaceDecompose(tag) + var elements []*Element + for _, t := range e.Child { + if c, ok := t.(*Element); ok && spaceMatch(space, c.Space) && stag == c.Tag { + elements = append(elements, c) + } + } + return elements +} + +// FindElement returns the first element matched by the XPath-like path +// string. Panics if an invalid path string is supplied. +func (e *Element) FindElement(path string) *Element { + return e.FindElementPath(MustCompilePath(path)) +} + +// FindElementPath returns the first element matched by the XPath-like path +// string. +func (e *Element) FindElementPath(path Path) *Element { + p := newPather() + elements := p.traverse(e, path) + switch { + case len(elements) > 0: + return elements[0] + default: + return nil + } +} + +// FindElements returns a slice of elements matched by the XPath-like path +// string. Panics if an invalid path string is supplied. +func (e *Element) FindElements(path string) []*Element { + return e.FindElementsPath(MustCompilePath(path)) +} + +// FindElementsPath returns a slice of elements matched by the Path object. +func (e *Element) FindElementsPath(path Path) []*Element { + p := newPather() + return p.traverse(e, path) +} + +// indent recursively inserts proper indentation between an +// XML element's child tokens. +func (e *Element) indent(depth int, indent indentFunc) { + e.stripIndent() + n := len(e.Child) + if n == 0 { + return + } + + oldChild := e.Child + e.Child = make([]Token, 0, n*2+1) + isCharData, firstNonCharData := false, true + for _, c := range oldChild { + + // Insert CR+indent before child if it's not character data. + // Exceptions: when it's the first non-character-data child, or when + // the child is at root depth. + _, isCharData = c.(*CharData) + if !isCharData { + if !firstNonCharData || depth > 0 { + newCharData(indent(depth), true, e) + } + firstNonCharData = false + } + + e.addChild(c) + + // Recursively process child elements. + if ce, ok := c.(*Element); ok { + ce.indent(depth+1, indent) + } + } + + // Insert CR+indent before the last child. + if !isCharData { + if !firstNonCharData || depth > 0 { + newCharData(indent(depth-1), true, e) + } + } +} + +// stripIndent removes any previously inserted indentation. +func (e *Element) stripIndent() { + // Count the number of non-indent child tokens + n := len(e.Child) + for _, c := range e.Child { + if cd, ok := c.(*CharData); ok && cd.whitespace { + n-- + } + } + if n == len(e.Child) { + return + } + + // Strip out indent CharData + newChild := make([]Token, n) + j := 0 + for _, c := range e.Child { + if cd, ok := c.(*CharData); ok && cd.whitespace { + continue + } + newChild[j] = c + j++ + } + e.Child = newChild +} + +// dup duplicates the element. +func (e *Element) dup(parent *Element) Token { + ne := &Element{ + Space: e.Space, + Tag: e.Tag, + Attr: make([]Attr, len(e.Attr)), + Child: make([]Token, len(e.Child)), + parent: parent, + } + for i, t := range e.Child { + ne.Child[i] = t.dup(ne) + } + for i, a := range e.Attr { + ne.Attr[i] = a + } + return ne +} + +// Parent returns the element token's parent element, or nil if it has no +// parent. +func (e *Element) Parent() *Element { + return e.parent +} + +// setParent replaces the element token's parent. +func (e *Element) setParent(parent *Element) { + e.parent = parent +} + +// writeTo serializes the element to the writer w. +func (e *Element) writeTo(w *bufio.Writer, s *WriteSettings) { + w.WriteByte('<') + if e.Space != "" { + w.WriteString(e.Space) + w.WriteByte(':') + } + w.WriteString(e.Tag) + for _, a := range e.Attr { + w.WriteByte(' ') + a.writeTo(w, s) + } + if len(e.Child) > 0 { + w.WriteString(">") + for _, c := range e.Child { + c.writeTo(w, s) + } + w.Write([]byte{'<', '/'}) + if e.Space != "" { + w.WriteString(e.Space) + w.WriteByte(':') + } + w.WriteString(e.Tag) + w.WriteByte('>') + } else { + if s.CanonicalEndTags { + w.Write([]byte{'>', '<', '/'}) + if e.Space != "" { + w.WriteString(e.Space) + w.WriteByte(':') + } + w.WriteString(e.Tag) + w.WriteByte('>') + } else { + w.Write([]byte{'/', '>'}) + } + } +} + +// addChild adds a child token to the element e. +func (e *Element) addChild(t Token) { + e.Child = append(e.Child, t) +} + +// CreateAttr creates an attribute and adds it to element e. The key may be +// prefixed by a namespace and a colon. If an attribute with the key already +// exists, its value is replaced. +func (e *Element) CreateAttr(key, value string) *Attr { + space, skey := spaceDecompose(key) + return e.createAttr(space, skey, value) +} + +// createAttr is a helper function that creates attributes. +func (e *Element) createAttr(space, key, value string) *Attr { + for i, a := range e.Attr { + if space == a.Space && key == a.Key { + e.Attr[i].Value = value + return &e.Attr[i] + } + } + a := Attr{space, key, value} + e.Attr = append(e.Attr, a) + return &e.Attr[len(e.Attr)-1] +} + +// RemoveAttr removes and returns the first attribute of the element whose key +// matches the given key. The key may be prefixed by a namespace and a colon. +// If an equal attribute does not exist, nil is returned. +func (e *Element) RemoveAttr(key string) *Attr { + space, skey := spaceDecompose(key) + for i, a := range e.Attr { + if space == a.Space && skey == a.Key { + e.Attr = append(e.Attr[0:i], e.Attr[i+1:]...) + return &a + } + } + return nil +} + +var xmlReplacerNormal = strings.NewReplacer( + "&", "&", + "<", "<", + ">", ">", + "'", "'", + `"`, """, +) + +var xmlReplacerCanonicalText = strings.NewReplacer( + "&", "&", + "<", "<", + ">", ">", + "\r", " ", +) + +var xmlReplacerCanonicalAttrVal = strings.NewReplacer( + "&", "&", + "<", "<", + `"`, """, + "\t", " ", + "\n", " ", + "\r", " ", +) + +// writeTo serializes the attribute to the writer. +func (a *Attr) writeTo(w *bufio.Writer, s *WriteSettings) { + if a.Space != "" { + w.WriteString(a.Space) + w.WriteByte(':') + } + w.WriteString(a.Key) + w.WriteString(`="`) + var r *strings.Replacer + if s.CanonicalAttrVal { + r = xmlReplacerCanonicalAttrVal + } else { + r = xmlReplacerNormal + } + w.WriteString(r.Replace(a.Value)) + w.WriteByte('"') +} + +// NewCharData creates a parentless XML character data entity. +func NewCharData(data string) *CharData { + return newCharData(data, false, nil) +} + +// newCharData creates an XML character data entity and binds it to a parent +// element. If parent is nil, the CharData token remains unbound. +func newCharData(data string, whitespace bool, parent *Element) *CharData { + c := &CharData{ + Data: data, + whitespace: whitespace, + parent: parent, + } + if parent != nil { + parent.addChild(c) + } + return c +} + +// CreateCharData creates an XML character data entity and adds it as a child +// of element e. +func (e *Element) CreateCharData(data string) *CharData { + return newCharData(data, false, e) +} + +// dup duplicates the character data. +func (c *CharData) dup(parent *Element) Token { + return &CharData{ + Data: c.Data, + whitespace: c.whitespace, + parent: parent, + } +} + +// Parent returns the character data token's parent element, or nil if it has +// no parent. +func (c *CharData) Parent() *Element { + return c.parent +} + +// setParent replaces the character data token's parent. +func (c *CharData) setParent(parent *Element) { + c.parent = parent +} + +// writeTo serializes the character data entity to the writer. +func (c *CharData) writeTo(w *bufio.Writer, s *WriteSettings) { + var r *strings.Replacer + if s.CanonicalText { + r = xmlReplacerCanonicalText + } else { + r = xmlReplacerNormal + } + w.WriteString(r.Replace(c.Data)) +} + +// NewComment creates a parentless XML comment. +func NewComment(comment string) *Comment { + return newComment(comment, nil) +} + +// NewComment creates an XML comment and binds it to a parent element. If +// parent is nil, the Comment remains unbound. +func newComment(comment string, parent *Element) *Comment { + c := &Comment{ + Data: comment, + parent: parent, + } + if parent != nil { + parent.addChild(c) + } + return c +} + +// CreateComment creates an XML comment and adds it as a child of element e. +func (e *Element) CreateComment(comment string) *Comment { + return newComment(comment, e) +} + +// dup duplicates the comment. +func (c *Comment) dup(parent *Element) Token { + return &Comment{ + Data: c.Data, + parent: parent, + } +} + +// Parent returns comment token's parent element, or nil if it has no parent. +func (c *Comment) Parent() *Element { + return c.parent +} + +// setParent replaces the comment token's parent. +func (c *Comment) setParent(parent *Element) { + c.parent = parent +} + +// writeTo serialies the comment to the writer. +func (c *Comment) writeTo(w *bufio.Writer, s *WriteSettings) { + w.WriteString("") +} + +// NewDirective creates a parentless XML directive. +func NewDirective(data string) *Directive { + return newDirective(data, nil) +} + +// newDirective creates an XML directive and binds it to a parent element. If +// parent is nil, the Directive remains unbound. +func newDirective(data string, parent *Element) *Directive { + d := &Directive{ + Data: data, + parent: parent, + } + if parent != nil { + parent.addChild(d) + } + return d +} + +// CreateDirective creates an XML directive and adds it as the last child of +// element e. +func (e *Element) CreateDirective(data string) *Directive { + return newDirective(data, e) +} + +// dup duplicates the directive. +func (d *Directive) dup(parent *Element) Token { + return &Directive{ + Data: d.Data, + parent: parent, + } +} + +// Parent returns directive token's parent element, or nil if it has no +// parent. +func (d *Directive) Parent() *Element { + return d.parent +} + +// setParent replaces the directive token's parent. +func (d *Directive) setParent(parent *Element) { + d.parent = parent +} + +// writeTo serializes the XML directive to the writer. +func (d *Directive) writeTo(w *bufio.Writer, s *WriteSettings) { + w.WriteString("") +} + +// NewProcInst creates a parentless XML processing instruction. +func NewProcInst(target, inst string) *ProcInst { + return newProcInst(target, inst, nil) +} + +// newProcInst creates an XML processing instruction and binds it to a parent +// element. If parent is nil, the ProcInst remains unbound. +func newProcInst(target, inst string, parent *Element) *ProcInst { + p := &ProcInst{ + Target: target, + Inst: inst, + parent: parent, + } + if parent != nil { + parent.addChild(p) + } + return p +} + +// CreateProcInst creates a processing instruction and adds it as a child of +// element e. +func (e *Element) CreateProcInst(target, inst string) *ProcInst { + return newProcInst(target, inst, e) +} + +// dup duplicates the procinst. +func (p *ProcInst) dup(parent *Element) Token { + return &ProcInst{ + Target: p.Target, + Inst: p.Inst, + parent: parent, + } +} + +// Parent returns processing instruction token's parent element, or nil if it +// has no parent. +func (p *ProcInst) Parent() *Element { + return p.parent +} + +// setParent replaces the processing instruction token's parent. +func (p *ProcInst) setParent(parent *Element) { + p.parent = parent +} + +// writeTo serializes the processing instruction to the writer. +func (p *ProcInst) writeTo(w *bufio.Writer, s *WriteSettings) { + w.WriteString("") +} diff --git a/vendor/github.com/beevik/etree/helpers.go b/vendor/github.com/beevik/etree/helpers.go new file mode 100644 index 00000000000..4f8350e70c6 --- /dev/null +++ b/vendor/github.com/beevik/etree/helpers.go @@ -0,0 +1,188 @@ +// Copyright 2015 Brett Vickers. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package etree + +import ( + "io" + "strings" +) + +// A simple stack +type stack struct { + data []interface{} +} + +func (s *stack) empty() bool { + return len(s.data) == 0 +} + +func (s *stack) push(value interface{}) { + s.data = append(s.data, value) +} + +func (s *stack) pop() interface{} { + value := s.data[len(s.data)-1] + s.data[len(s.data)-1] = nil + s.data = s.data[:len(s.data)-1] + return value +} + +func (s *stack) peek() interface{} { + return s.data[len(s.data)-1] +} + +// A fifo is a simple first-in-first-out queue. +type fifo struct { + data []interface{} + head, tail int +} + +func (f *fifo) add(value interface{}) { + if f.len()+1 >= len(f.data) { + f.grow() + } + f.data[f.tail] = value + if f.tail++; f.tail == len(f.data) { + f.tail = 0 + } +} + +func (f *fifo) remove() interface{} { + value := f.data[f.head] + f.data[f.head] = nil + if f.head++; f.head == len(f.data) { + f.head = 0 + } + return value +} + +func (f *fifo) len() int { + if f.tail >= f.head { + return f.tail - f.head + } + return len(f.data) - f.head + f.tail +} + +func (f *fifo) grow() { + c := len(f.data) * 2 + if c == 0 { + c = 4 + } + buf, count := make([]interface{}, c), f.len() + if f.tail >= f.head { + copy(buf[0:count], f.data[f.head:f.tail]) + } else { + hindex := len(f.data) - f.head + copy(buf[0:hindex], f.data[f.head:]) + copy(buf[hindex:count], f.data[:f.tail]) + } + f.data, f.head, f.tail = buf, 0, count +} + +// countReader implements a proxy reader that counts the number of +// bytes read from its encapsulated reader. +type countReader struct { + r io.Reader + bytes int64 +} + +func newCountReader(r io.Reader) *countReader { + return &countReader{r: r} +} + +func (cr *countReader) Read(p []byte) (n int, err error) { + b, err := cr.r.Read(p) + cr.bytes += int64(b) + return b, err +} + +// countWriter implements a proxy writer that counts the number of +// bytes written by its encapsulated writer. +type countWriter struct { + w io.Writer + bytes int64 +} + +func newCountWriter(w io.Writer) *countWriter { + return &countWriter{w: w} +} + +func (cw *countWriter) Write(p []byte) (n int, err error) { + b, err := cw.w.Write(p) + cw.bytes += int64(b) + return b, err +} + +// isWhitespace returns true if the byte slice contains only +// whitespace characters. +func isWhitespace(s string) bool { + for i := 0; i < len(s); i++ { + if c := s[i]; c != ' ' && c != '\t' && c != '\n' && c != '\r' { + return false + } + } + return true +} + +// spaceMatch returns true if namespace a is the empty string +// or if namespace a equals namespace b. +func spaceMatch(a, b string) bool { + switch { + case a == "": + return true + default: + return a == b + } +} + +// spaceDecompose breaks a namespace:tag identifier at the ':' +// and returns the two parts. +func spaceDecompose(str string) (space, key string) { + colon := strings.IndexByte(str, ':') + if colon == -1 { + return "", str + } + return str[:colon], str[colon+1:] +} + +// Strings used by crIndent +const ( + crsp = "\n " + crtab = "\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t" +) + +// crIndent returns a carriage return followed by n copies of the +// first non-CR character in the source string. +func crIndent(n int, source string) string { + switch { + case n < 0: + return source[:1] + case n < len(source): + return source[:n+1] + default: + return source + strings.Repeat(source[1:2], n-len(source)+1) + } +} + +// nextIndex returns the index of the next occurrence of sep in s, +// starting from offset. It returns -1 if the sep string is not found. +func nextIndex(s, sep string, offset int) int { + switch i := strings.Index(s[offset:], sep); i { + case -1: + return -1 + default: + return offset + i + } +} + +// isInteger returns true if the string s contains an integer. +func isInteger(s string) bool { + for i := 0; i < len(s); i++ { + if (s[i] < '0' || s[i] > '9') && !(i == 0 && s[i] == '-') { + return false + } + } + return true +} diff --git a/vendor/github.com/beevik/etree/path.go b/vendor/github.com/beevik/etree/path.go new file mode 100644 index 00000000000..9cf245eb393 --- /dev/null +++ b/vendor/github.com/beevik/etree/path.go @@ -0,0 +1,516 @@ +// Copyright 2015 Brett Vickers. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package etree + +import ( + "strconv" + "strings" +) + +/* +A Path is an object that represents an optimized version of an +XPath-like search string. Although path strings are XPath-like, +only the following limited syntax is supported: + + . Selects the current element + .. Selects the parent of the current element + * Selects all child elements + // Selects all descendants of the current element + tag Selects all child elements with the given tag + [#] Selects the element of the given index (1-based, + negative starts from the end) + [@attrib] Selects all elements with the given attribute + [@attrib='val'] Selects all elements with the given attribute set to val + [tag] Selects all elements with a child element named tag + [tag='val'] Selects all elements with a child element named tag + and text matching val + [text()] Selects all elements with non-empty text + [text()='val'] Selects all elements whose text matches val + +Examples: + +Select the title elements of all descendant book elements having a +'category' attribute of 'WEB': + //book[@category='WEB']/title + +Select the first book element with a title child containing the text +'Great Expectations': + .//book[title='Great Expectations'][1] + +Starting from the current element, select all children of book elements +with an attribute 'language' set to 'english': + ./book/*[@language='english'] + +Starting from the current element, select all children of book elements +containing the text 'special': + ./book/*[text()='special'] + +Select all descendant book elements whose title element has an attribute +'language' set to 'french': + //book/title[@language='french']/.. + +*/ +type Path struct { + segments []segment +} + +// ErrPath is returned by path functions when an invalid etree path is provided. +type ErrPath string + +// Error returns the string describing a path error. +func (err ErrPath) Error() string { + return "etree: " + string(err) +} + +// CompilePath creates an optimized version of an XPath-like string that +// can be used to query elements in an element tree. +func CompilePath(path string) (Path, error) { + var comp compiler + segments := comp.parsePath(path) + if comp.err != ErrPath("") { + return Path{nil}, comp.err + } + return Path{segments}, nil +} + +// MustCompilePath creates an optimized version of an XPath-like string that +// can be used to query elements in an element tree. Panics if an error +// occurs. Use this function to create Paths when you know the path is +// valid (i.e., if it's hard-coded). +func MustCompilePath(path string) Path { + p, err := CompilePath(path) + if err != nil { + panic(err) + } + return p +} + +// A segment is a portion of a path between "/" characters. +// It contains one selector and zero or more [filters]. +type segment struct { + sel selector + filters []filter +} + +func (seg *segment) apply(e *Element, p *pather) { + seg.sel.apply(e, p) + for _, f := range seg.filters { + f.apply(p) + } +} + +// A selector selects XML elements for consideration by the +// path traversal. +type selector interface { + apply(e *Element, p *pather) +} + +// A filter pares down a list of candidate XML elements based +// on a path filter in [brackets]. +type filter interface { + apply(p *pather) +} + +// A pather is helper object that traverses an element tree using +// a Path object. It collects and deduplicates all elements matching +// the path query. +type pather struct { + queue fifo + results []*Element + inResults map[*Element]bool + candidates []*Element + scratch []*Element // used by filters +} + +// A node represents an element and the remaining path segments that +// should be applied against it by the pather. +type node struct { + e *Element + segments []segment +} + +func newPather() *pather { + return &pather{ + results: make([]*Element, 0), + inResults: make(map[*Element]bool), + candidates: make([]*Element, 0), + scratch: make([]*Element, 0), + } +} + +// traverse follows the path from the element e, collecting +// and then returning all elements that match the path's selectors +// and filters. +func (p *pather) traverse(e *Element, path Path) []*Element { + for p.queue.add(node{e, path.segments}); p.queue.len() > 0; { + p.eval(p.queue.remove().(node)) + } + return p.results +} + +// eval evalutes the current path node by applying the remaining +// path's selector rules against the node's element. +func (p *pather) eval(n node) { + p.candidates = p.candidates[0:0] + seg, remain := n.segments[0], n.segments[1:] + seg.apply(n.e, p) + + if len(remain) == 0 { + for _, c := range p.candidates { + if in := p.inResults[c]; !in { + p.inResults[c] = true + p.results = append(p.results, c) + } + } + } else { + for _, c := range p.candidates { + p.queue.add(node{c, remain}) + } + } +} + +// A compiler generates a compiled path from a path string. +type compiler struct { + err ErrPath +} + +// parsePath parses an XPath-like string describing a path +// through an element tree and returns a slice of segment +// descriptors. +func (c *compiler) parsePath(path string) []segment { + // If path starts or ends with //, fix it + if strings.HasPrefix(path, "//") { + path = "." + path + } + if strings.HasSuffix(path, "//") { + path = path + "*" + } + + // Paths cannot be absolute + if strings.HasPrefix(path, "/") { + c.err = ErrPath("paths cannot be absolute.") + return nil + } + + // Split path into segment objects + var segments []segment + for _, s := range splitPath(path) { + segments = append(segments, c.parseSegment(s)) + if c.err != ErrPath("") { + break + } + } + return segments +} + +func splitPath(path string) []string { + pieces := make([]string, 0) + start := 0 + inquote := false + for i := 0; i+1 <= len(path); i++ { + if path[i] == '\'' { + inquote = !inquote + } else if path[i] == '/' && !inquote { + pieces = append(pieces, path[start:i]) + start = i + 1 + } + } + return append(pieces, path[start:]) +} + +// parseSegment parses a path segment between / characters. +func (c *compiler) parseSegment(path string) segment { + pieces := strings.Split(path, "[") + seg := segment{ + sel: c.parseSelector(pieces[0]), + filters: make([]filter, 0), + } + for i := 1; i < len(pieces); i++ { + fpath := pieces[i] + if fpath[len(fpath)-1] != ']' { + c.err = ErrPath("path has invalid filter [brackets].") + break + } + seg.filters = append(seg.filters, c.parseFilter(fpath[:len(fpath)-1])) + } + return seg +} + +// parseSelector parses a selector at the start of a path segment. +func (c *compiler) parseSelector(path string) selector { + switch path { + case ".": + return new(selectSelf) + case "..": + return new(selectParent) + case "*": + return new(selectChildren) + case "": + return new(selectDescendants) + default: + return newSelectChildrenByTag(path) + } +} + +// parseFilter parses a path filter contained within [brackets]. +func (c *compiler) parseFilter(path string) filter { + if len(path) == 0 { + c.err = ErrPath("path contains an empty filter expression.") + return nil + } + + // Filter contains [@attr='val'], [text()='val'], or [tag='val']? + eqindex := strings.Index(path, "='") + if eqindex >= 0 { + rindex := nextIndex(path, "'", eqindex+2) + if rindex != len(path)-1 { + c.err = ErrPath("path has mismatched filter quotes.") + return nil + } + switch { + case path[0] == '@': + return newFilterAttrVal(path[1:eqindex], path[eqindex+2:rindex]) + case strings.HasPrefix(path, "text()"): + return newFilterTextVal(path[eqindex+2 : rindex]) + default: + return newFilterChildText(path[:eqindex], path[eqindex+2:rindex]) + } + } + + // Filter contains [@attr], [N], [tag] or [text()] + switch { + case path[0] == '@': + return newFilterAttr(path[1:]) + case path == "text()": + return newFilterText() + case isInteger(path): + pos, _ := strconv.Atoi(path) + switch { + case pos > 0: + return newFilterPos(pos - 1) + default: + return newFilterPos(pos) + } + default: + return newFilterChild(path) + } +} + +// selectSelf selects the current element into the candidate list. +type selectSelf struct{} + +func (s *selectSelf) apply(e *Element, p *pather) { + p.candidates = append(p.candidates, e) +} + +// selectParent selects the element's parent into the candidate list. +type selectParent struct{} + +func (s *selectParent) apply(e *Element, p *pather) { + if e.parent != nil { + p.candidates = append(p.candidates, e.parent) + } +} + +// selectChildren selects the element's child elements into the +// candidate list. +type selectChildren struct{} + +func (s *selectChildren) apply(e *Element, p *pather) { + for _, c := range e.Child { + if c, ok := c.(*Element); ok { + p.candidates = append(p.candidates, c) + } + } +} + +// selectDescendants selects all descendant child elements +// of the element into the candidate list. +type selectDescendants struct{} + +func (s *selectDescendants) apply(e *Element, p *pather) { + var queue fifo + for queue.add(e); queue.len() > 0; { + e := queue.remove().(*Element) + p.candidates = append(p.candidates, e) + for _, c := range e.Child { + if c, ok := c.(*Element); ok { + queue.add(c) + } + } + } +} + +// selectChildrenByTag selects into the candidate list all child +// elements of the element having the specified tag. +type selectChildrenByTag struct { + space, tag string +} + +func newSelectChildrenByTag(path string) *selectChildrenByTag { + s, l := spaceDecompose(path) + return &selectChildrenByTag{s, l} +} + +func (s *selectChildrenByTag) apply(e *Element, p *pather) { + for _, c := range e.Child { + if c, ok := c.(*Element); ok && spaceMatch(s.space, c.Space) && s.tag == c.Tag { + p.candidates = append(p.candidates, c) + } + } +} + +// filterPos filters the candidate list, keeping only the +// candidate at the specified index. +type filterPos struct { + index int +} + +func newFilterPos(pos int) *filterPos { + return &filterPos{pos} +} + +func (f *filterPos) apply(p *pather) { + if f.index >= 0 { + if f.index < len(p.candidates) { + p.scratch = append(p.scratch, p.candidates[f.index]) + } + } else { + if -f.index <= len(p.candidates) { + p.scratch = append(p.scratch, p.candidates[len(p.candidates)+f.index]) + } + } + p.candidates, p.scratch = p.scratch, p.candidates[0:0] +} + +// filterAttr filters the candidate list for elements having +// the specified attribute. +type filterAttr struct { + space, key string +} + +func newFilterAttr(str string) *filterAttr { + s, l := spaceDecompose(str) + return &filterAttr{s, l} +} + +func (f *filterAttr) apply(p *pather) { + for _, c := range p.candidates { + for _, a := range c.Attr { + if spaceMatch(f.space, a.Space) && f.key == a.Key { + p.scratch = append(p.scratch, c) + break + } + } + } + p.candidates, p.scratch = p.scratch, p.candidates[0:0] +} + +// filterAttrVal filters the candidate list for elements having +// the specified attribute with the specified value. +type filterAttrVal struct { + space, key, val string +} + +func newFilterAttrVal(str, value string) *filterAttrVal { + s, l := spaceDecompose(str) + return &filterAttrVal{s, l, value} +} + +func (f *filterAttrVal) apply(p *pather) { + for _, c := range p.candidates { + for _, a := range c.Attr { + if spaceMatch(f.space, a.Space) && f.key == a.Key && f.val == a.Value { + p.scratch = append(p.scratch, c) + break + } + } + } + p.candidates, p.scratch = p.scratch, p.candidates[0:0] +} + +// filterText filters the candidate list for elements having text. +type filterText struct{} + +func newFilterText() *filterText { + return &filterText{} +} + +func (f *filterText) apply(p *pather) { + for _, c := range p.candidates { + if c.Text() != "" { + p.scratch = append(p.scratch, c) + } + } + p.candidates, p.scratch = p.scratch, p.candidates[0:0] +} + +// filterTextVal filters the candidate list for elements having +// text equal to the specified value. +type filterTextVal struct { + val string +} + +func newFilterTextVal(value string) *filterTextVal { + return &filterTextVal{value} +} + +func (f *filterTextVal) apply(p *pather) { + for _, c := range p.candidates { + if c.Text() == f.val { + p.scratch = append(p.scratch, c) + } + } + p.candidates, p.scratch = p.scratch, p.candidates[0:0] +} + +// filterChild filters the candidate list for elements having +// a child element with the specified tag. +type filterChild struct { + space, tag string +} + +func newFilterChild(str string) *filterChild { + s, l := spaceDecompose(str) + return &filterChild{s, l} +} + +func (f *filterChild) apply(p *pather) { + for _, c := range p.candidates { + for _, cc := range c.Child { + if cc, ok := cc.(*Element); ok && + spaceMatch(f.space, cc.Space) && + f.tag == cc.Tag { + p.scratch = append(p.scratch, c) + } + } + } + p.candidates, p.scratch = p.scratch, p.candidates[0:0] +} + +// filterChildText filters the candidate list for elements having +// a child element with the specified tag and text. +type filterChildText struct { + space, tag, text string +} + +func newFilterChildText(str, text string) *filterChildText { + s, l := spaceDecompose(str) + return &filterChildText{s, l, text} +} + +func (f *filterChildText) apply(p *pather) { + for _, c := range p.candidates { + for _, cc := range c.Child { + if cc, ok := cc.(*Element); ok && + spaceMatch(f.space, cc.Space) && + f.tag == cc.Tag && + f.text == cc.Text() { + p.scratch = append(p.scratch, c) + } + } + } + p.candidates, p.scratch = p.scratch, p.candidates[0:0] +} diff --git a/vendor/vendor.json b/vendor/vendor.json index df8952e3eed..16fbf45c5ed 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -141,740 +141,834 @@ "revisionTime": "2017-07-27T15:54:43Z" }, { - "checksumSHA1": "1yWi/sgzK+3VyPnv2wDDr6F8obs=", + "checksumSHA1": "5w4Jb36IWgEo9UEhPDiFNumIbBY=", "path": "github.com/aws/aws-sdk-go/aws", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "DtuTqKH29YnLjrIJkRYX0HQtXY0=", "path": "github.com/aws/aws-sdk-go/aws/arn", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "Y9W+4GimK4Fuxq+vyIskVYFRnX4=", "path": "github.com/aws/aws-sdk-go/aws/awserr", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "yyYr41HZ1Aq0hWc3J5ijXwYEcac=", "path": "github.com/aws/aws-sdk-go/aws/awsutil", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "slpNCdnZ2JbBr94ZHc/9UzOaP5A=", + "checksumSHA1": "9nE/FjZ4pYrT883KtV2/aI+Gayo=", "path": "github.com/aws/aws-sdk-go/aws/client", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "ieAJ+Cvp/PKv1LpUEnUXpc3OI6E=", "path": "github.com/aws/aws-sdk-go/aws/client/metadata", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "7/8j/q0TWtOgXyvEcv4B2Dhl00o=", "path": "github.com/aws/aws-sdk-go/aws/corehandlers", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "Y+cPwQL0dZMyqp3wI+KJWmA9KQ8=", "path": "github.com/aws/aws-sdk-go/aws/credentials", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "u3GOAJLmdvbuNUeUEcZSEAOeL/0=", "path": "github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "NUJUTWlc1sV8b7WjfiYc4JZbXl0=", "path": "github.com/aws/aws-sdk-go/aws/credentials/endpointcreds", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "JEYqmF83O5n5bHkupAzA6STm0no=", "path": "github.com/aws/aws-sdk-go/aws/credentials/stscreds", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "ZdtYh3ZHSgP/WEIaqwJHTEhpkbs=", + "checksumSHA1": "OnU/n7R33oYXiB4SAGd5pK7I0Bs=", "path": "github.com/aws/aws-sdk-go/aws/defaults", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "/EXbk/z2TWjWc1Hvb4QYs3Wmhb8=", "path": "github.com/aws/aws-sdk-go/aws/ec2metadata", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "vVKUiiZzOwre3zlHIGcjFgjjR68=", + "checksumSHA1": "Fh9Vt1+lXYG7lc57koj5Fb+/WV4=", "path": "github.com/aws/aws-sdk-go/aws/endpoints", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "OB2foQOM27puEGoW4+bM/K2KR5g=", + "checksumSHA1": "9GvAyILJ7g+VUg8Ef5DsT5GuYsg=", "path": "github.com/aws/aws-sdk-go/aws/request", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "HcGL4e6Uep4/80eCUI5xkcWjpQ0=", "path": "github.com/aws/aws-sdk-go/aws/session", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "yzP2WtJtlWQ07Yxlb8NUJREAUEU=", + "checksumSHA1": "iU00ZjhAml/13g+1YXT21IqoXqg=", "path": "github.com/aws/aws-sdk-go/aws/signer/v4", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "04ypv4x12l4q0TksA1zEVsmgpvw=", "path": "github.com/aws/aws-sdk-go/internal/shareddefaults", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "wk7EyvDaHwb5qqoOP/4d3cV0708=", + "checksumSHA1": "NStHCXEvYqG72GknZyv1jaKaeH0=", "path": "github.com/aws/aws-sdk-go/private/protocol", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "1QmQ3FqV37w0Zi44qv8pA1GeR0A=", "path": "github.com/aws/aws-sdk-go/private/protocol/ec2query", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "O6hcK24yI6w7FA+g4Pbr+eQ7pys=", + "checksumSHA1": "yHfT5DTbeCLs4NE2Rgnqrhe15ls=", "path": "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "R00RL5jJXRYq1iiK1+PGvMfvXyM=", "path": "github.com/aws/aws-sdk-go/private/protocol/jsonrpc", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "ZqY5RWavBLWTo6j9xqdyBEaNFRk=", "path": "github.com/aws/aws-sdk-go/private/protocol/query", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "9V1PvtFQ9MObZTc3sa86WcuOtOU=", "path": "github.com/aws/aws-sdk-go/private/protocol/query/queryutil", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "VCTh+dEaqqhog5ncy/WTt9+/gFM=", + "checksumSHA1": "pkeoOfZpHRvFG/AOZeTf0lwtsFg=", "path": "github.com/aws/aws-sdk-go/private/protocol/rest", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "Rpu8KBtHZgvhkwHxUfaky+qW+G4=", "path": "github.com/aws/aws-sdk-go/private/protocol/restjson", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "ODo+ko8D6unAxZuN1jGzMcN4QCc=", "path": "github.com/aws/aws-sdk-go/private/protocol/restxml", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "0qYPUga28aQVkxZgBR3Z86AbGUQ=", "path": "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "F6mth+G7dXN1GI+nktaGo8Lx8aE=", "path": "github.com/aws/aws-sdk-go/private/signer/v2", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "2O+F6NwIHEgAHqLGKTJbxYwsUHs=", + "checksumSHA1": "vnYDXA1NxJ7Hu+DMfXNk1UnmkWg=", "path": "github.com/aws/aws-sdk-go/service/acm", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "tOhN1amVVhAATGDCc4tMTubP964=", + "checksumSHA1": "8mGhHG7WChxuu8Hu3Vv5j2sMKNQ=", "path": "github.com/aws/aws-sdk-go/service/apigateway", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "M1hyCwy0T28W02SWk8gFftnjXpA=", + "checksumSHA1": "X8tOI6i+RJwXIgg1qBjDNclyG/0=", "path": "github.com/aws/aws-sdk-go/service/applicationautoscaling", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "1/p8oChMJW38gBTOA8AUCWkHuM8=", + "checksumSHA1": "aDAaH6YiA50IrJ5Smfg0fovrniA=", + "path": "github.com/aws/aws-sdk-go/service/appsync", + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" + }, + { + "checksumSHA1": "oBXDw1zQTfxcKsK3ZjtKcS7gBLI=", "path": "github.com/aws/aws-sdk-go/service/athena", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "ILLTTjBCwDHKcx6D/Ja5k4Nn5Ww=", + "checksumSHA1": "ITAwWyJp4t9AGfUXm9M3pFWTHVA=", "path": "github.com/aws/aws-sdk-go/service/autoscaling", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "kR7Urxv5JUC6cx3bBQ3lX1/0cEM=", + "checksumSHA1": "Zz8qI6RloveM1zrXAglLxJZT1ZA=", "path": "github.com/aws/aws-sdk-go/service/batch", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "86Gd/aNE5+OAAibFQg6YWh7YKU0=", + "checksumSHA1": "/nO06EpnD22+Ex80gHi4UYrAvKc=", "path": "github.com/aws/aws-sdk-go/service/budgets", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "DV0NlREKdcYMrsmdJbtZyuUDK+8=", + "checksumSHA1": "6gM3CZZgiB0JvS7EK1c31Q8L09U=", "path": "github.com/aws/aws-sdk-go/service/cloudformation", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "vbSfNKXjDDYLLAYafrD37T5xBFk=", + "checksumSHA1": "T80IDetBz1hqJpq5Wqmx3MwCh8w=", "path": "github.com/aws/aws-sdk-go/service/cloudfront", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "V5UO7ojp8/EuLhPIS4OOOurke3M=", + "checksumSHA1": "bYrI9mxspB0xDFZEy3OIfWuez5g=", "path": "github.com/aws/aws-sdk-go/service/cloudtrail", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "Rx8tIQPEmYZhy1zbRpDmMBmGfvg=", + "checksumSHA1": "LW6GGO3fnealwJTWtbZk5ShjHdg=", "path": "github.com/aws/aws-sdk-go/service/cloudwatch", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "UlNtqtd2PcKoWqqXmOj4kfu8hyc=", + "checksumSHA1": "Nc3vXlV7s309PprScYpRDPQWeDQ=", "path": "github.com/aws/aws-sdk-go/service/cloudwatchevents", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "7SPaq0IXgoe1Cqph7ws9vFYr3zg=", + "checksumSHA1": "bPh7NF3mLpGMV0rIakolMPHqMyw=", "path": "github.com/aws/aws-sdk-go/service/cloudwatchlogs", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "bufH/3DIJxDr0DAskWeAXGaLSNU=", + "checksumSHA1": "OqrWtx9iyIJ9roP2sEcmP9UCfXE=", "path": "github.com/aws/aws-sdk-go/service/codebuild", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "ySI/pbSD5vrnosWYB3qI6KuXH7g=", + "checksumSHA1": "7nW1Ho2X3RcUU8FaFBhJIUeuDNw=", "path": "github.com/aws/aws-sdk-go/service/codecommit", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "8T1UkQcbxF08m5xJL16lsWLdT6k=", + "checksumSHA1": "m19PZt1B51QCWo1jxSbII2zzL6Q=", "path": "github.com/aws/aws-sdk-go/service/codedeploy", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "EEVCD+xa8rnlVXoFULjc9fWcVzY=", + "checksumSHA1": "LKw7fnNwq17Eqy0clzS/LK89vS4=", "path": "github.com/aws/aws-sdk-go/service/codepipeline", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "GHaVqY5f85olNwlO5J4f160D+mI=", + "checksumSHA1": "aXh1KIbNX+g+tH+lh3pk++9lm3k=", "path": "github.com/aws/aws-sdk-go/service/cognitoidentity", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "svRJtQKo7tvAZYpW7UCpxFlG8mQ=", + "checksumSHA1": "IWi9xZz+OncotjM/vJ87Iffg2Qk=", "path": "github.com/aws/aws-sdk-go/service/cognitoidentityprovider", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "YONbbZXdr13qIiKYzqk4cptd2XE=", + "checksumSHA1": "6uudO8hkB5uERXixPA/yL3xcguQ=", "path": "github.com/aws/aws-sdk-go/service/configservice", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "FAIF4ppLR5URLY2m0BuQO2Gwdg0=", + "checksumSHA1": "hYCwLQdIjHj8rMHLGVyUVhecI4s=", "path": "github.com/aws/aws-sdk-go/service/databasemigrationservice", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "TSYWqKDCe6RaR2kYrExoDIC+7LU=", + "checksumSHA1": "26CWoHQP/dyL2VzE5ZNd8zNzhko=", "path": "github.com/aws/aws-sdk-go/service/devicefarm", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "2139YRKSqXN9N49CFTopzwftCDw=", + "checksumSHA1": "6g94rUHAgjcqMMTtMqKUbLU37wY=", "path": "github.com/aws/aws-sdk-go/service/directconnect", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "0T4esELn9yJKr3D7b1/apnu1ZOA=", + "checksumSHA1": "oFnS6I0u7KqnxK0/r1uoz8rTkxI=", "path": "github.com/aws/aws-sdk-go/service/directoryservice", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "kEGGjvoqrbTSX3Kno7GJrV7UflY=", + "checksumSHA1": "0TXXUPjrbOCHpX555B6suH36Nnk=", "path": "github.com/aws/aws-sdk-go/service/dynamodb", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "BHB7eLK8xj7rGSvXoDyq1mXZx/I=", + "checksumSHA1": "BOjSO1uO7Coj6o3oqpPUtEhQrPI=", "path": "github.com/aws/aws-sdk-go/service/ec2", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "tvxhxL5w10Qau4eUabsLK4L60iA=", + "checksumSHA1": "uEv9kkBsVIjg7K4+Y8TVlU0Cc8o=", "path": "github.com/aws/aws-sdk-go/service/ecr", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "mAxOqBf3ogPggwlAeqbOowg0kns=", + "checksumSHA1": "sD9Urgwx7F3ImX+tJg2Q+ME/oFM=", "path": "github.com/aws/aws-sdk-go/service/ecs", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "9I1RdgcMUEYJlyNIqdtSgFTdWKM=", + "checksumSHA1": "eoM9nF5iVMbuGOmkY33d19aHt8Y=", "path": "github.com/aws/aws-sdk-go/service/efs", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "jmTYmZVr8dw9kPDYlBhe4oG556U=", + "checksumSHA1": "dU5MPXUUOYD/E9sNncpFZ/U86Cw=", "path": "github.com/aws/aws-sdk-go/service/elasticache", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "xylCApLVAqLTW6uTYCziTDxgRMI=", + "checksumSHA1": "pj8mBWT3HE0Iid6HSmhw7lmyZDU=", "path": "github.com/aws/aws-sdk-go/service/elasticbeanstalk", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "RmVY7K2zivKjDe0ad8Grd+81J/M=", + "checksumSHA1": "VYGtTaSiajfKOVTbi9/SNmbiIac=", "path": "github.com/aws/aws-sdk-go/service/elasticsearchservice", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "SZ7yLDZ6RvMhpWe0Goyem64kgyA=", "path": "github.com/aws/aws-sdk-go/service/elastictranscoder", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "i+zp7see74G8qx251yfQiTvbz4U=", + "checksumSHA1": "WYqHhdRNsiGGBLWlBLbOItZf+zA=", "path": "github.com/aws/aws-sdk-go/service/elb", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "/YIietAo4WlCdiZFayAMsqjW2TM=", + "checksumSHA1": "ae7VWg/xuXpnSD6wGumN44qEd+Q=", "path": "github.com/aws/aws-sdk-go/service/elbv2", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "jrndlHaS4MJcOsRIX91tFg6tbfM=", + "checksumSHA1": "NbkH6F+792jQ7BW4lGCb+vJVw58=", "path": "github.com/aws/aws-sdk-go/service/emr", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "eBESkYAb0koQ4a+pg5k2Ikwo/dA=", + "checksumSHA1": "5btWHj2fZrPc/zfYdJLPaOcivxI=", "path": "github.com/aws/aws-sdk-go/service/firehose", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "+gED8OQZsY/taXgjkGbBJlx1hnY=", + "checksumSHA1": "oDoGvSfmO2Z099ixV2HXn+SDeHE=", "path": "github.com/aws/aws-sdk-go/service/glacier", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "3AcW4E/TxmNXfklpo1szXmY+QzE=", + "checksumSHA1": "HRmbBf3dUEBAfdC2xKaoWAGeM7Y=", "path": "github.com/aws/aws-sdk-go/service/glue", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" + }, + { + "checksumSHA1": "6JlxJoy1JCArNK2qBkaJ5IV6qBc=", + "path": "github.com/aws/aws-sdk-go/service/guardduty", + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "HBlNyNP2zLI589MIX82zMvANmLY=", + "checksumSHA1": "oZaxMqnwl2rA+V/W0tJ3uownORI=", "path": "github.com/aws/aws-sdk-go/service/iam", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "WoIsJOP3M2BAhZ5p46LJNd9FQPk=", + "checksumSHA1": "dnNMSn5aHAtdOks+aWHLpwbi/VE=", "path": "github.com/aws/aws-sdk-go/service/inspector", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "jWoHNr5dOtwUmlC5bi5kRcW30wE=", + "checksumSHA1": "96OBMJ3R9BD402LJsUUA8a82/UY=", "path": "github.com/aws/aws-sdk-go/service/iot", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "I8rx/IBJ6NXPOQXoJs6AthfAAd0=", + "checksumSHA1": "IoSyRZhlL0petrB28nXk5jKM9YA=", "path": "github.com/aws/aws-sdk-go/service/kinesis", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "CqvUs/OKC5GYojf8InoQpTWUI30=", + "checksumSHA1": "oAFLgD0uJiVOZkFkL5dd/wUgBz4=", "path": "github.com/aws/aws-sdk-go/service/kms", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "UNmVsLSjqCWcNd30lHo3T/qOHOY=", + "checksumSHA1": "XDVse9fKF0RkAywzzgsO31AV4oc=", "path": "github.com/aws/aws-sdk-go/service/lambda", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" + }, + { + "checksumSHA1": "HluEcyZNywrbKnj/aR3tXbu29d8=", + "path": "github.com/aws/aws-sdk-go/service/lexmodelbuildingservice", + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "j8nuIO3+q7Xb2wywXNNBTVUZbQM=", + "checksumSHA1": "wjs9YBsHx0YQH0zKBA7Ibd1UV5Y=", "path": "github.com/aws/aws-sdk-go/service/lightsail", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" + }, + { + "checksumSHA1": "4VfB5vMLNYs0y6K159YCBgo9T3c=", + "path": "github.com/aws/aws-sdk-go/service/mediaconvert", + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" + }, + { + "checksumSHA1": "Ox3VWHYSQq0YKmlr0paUPdr5W/0=", + "path": "github.com/aws/aws-sdk-go/service/medialive", + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" + }, + { + "checksumSHA1": "Rs7QtkcLl3XNPnKb8ss/AhF2X50=", + "path": "github.com/aws/aws-sdk-go/service/mediapackage", + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "xkNWwN2rw+szg+zXAxCun34zxhs=", + "checksumSHA1": "QjiIL8LrlhwrQw8FboF+wMNvUF0=", + "path": "github.com/aws/aws-sdk-go/service/mediastore", + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" + }, + { + "checksumSHA1": "+srPYMy6U6+D29GNDM+FEtzj05g=", + "path": "github.com/aws/aws-sdk-go/service/mediastoredata", + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" + }, + { + "checksumSHA1": "ynB7Flcudp0VOqBVKZJ+23DtLHU=", + "path": "github.com/aws/aws-sdk-go/service/mq", + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" + }, + { + "checksumSHA1": "fpsBu+F79ktlLRwal1GugVMUDo0=", "path": "github.com/aws/aws-sdk-go/service/opsworks", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "rW2FYtv/Vh+XA5UulIfiTFyCGQs=", + "checksumSHA1": "Iqkgx2nafQPV7fjw+uP35jtF6t4=", "path": "github.com/aws/aws-sdk-go/service/rds", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "BwFxr+n+xU7TOQxxONFxdtrWjG4=", + "checksumSHA1": "vP1FcccUZbuUlin7ME89w1GVJtA=", "path": "github.com/aws/aws-sdk-go/service/redshift", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "J7ie0uuhhyWKkYsveypGUBTP+vM=", + "checksumSHA1": "yV47oX5pFLCiMLSlfEPkPY3oqJg=", "path": "github.com/aws/aws-sdk-go/service/route53", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "ZjWHq0sDldcDC+Zd/ZIBy5Oj3hI=", + "checksumSHA1": "sCaHoPWsJXRHFbilUKwN71qFTOI=", "path": "github.com/aws/aws-sdk-go/service/s3", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "Tz5NbDa/SGUINmuFD8KQLh1HDOI=", + "checksumSHA1": "QZU8vR9cOIenYiH+Ywl4Gzfnlp0=", "path": "github.com/aws/aws-sdk-go/service/servicecatalog", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "I/ZZixFzXbdhPrhhvAnbG26eark=", + "checksumSHA1": "dk6ebvA0EYgdPyc5HPKLBPEtsm4=", + "path": "github.com/aws/aws-sdk-go/service/servicediscovery", + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" + }, + { + "checksumSHA1": "Ex1Ma0SFGpqeNuPbeXZtsliZ3zo=", "path": "github.com/aws/aws-sdk-go/service/ses", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "PFP/uQld8X4SiwNDc98IPVMsmjE=", + "checksumSHA1": "maVXeR3WDAkONlzf04e4mDgCYxo=", "path": "github.com/aws/aws-sdk-go/service/sfn", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "Ip9SzZFvBpbH2BuqLDawUAyFTCA=", + "checksumSHA1": "ADoR4mlCW5usH8iOa6mPNSy49LM=", "path": "github.com/aws/aws-sdk-go/service/shield", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { "checksumSHA1": "B3CgAFSREebpsFoFOo4vrQ6u04w=", "path": "github.com/aws/aws-sdk-go/service/simpledb", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "rwSNHPn9iLEaoDx6vX0KbWefcHY=", + "checksumSHA1": "FfY8w4DM8XIULdRnFhd3Um8Mj8c=", "path": "github.com/aws/aws-sdk-go/service/sns", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "aWWSD60GhNwldZ7mxL9Z8Q+fiXo=", + "checksumSHA1": "Wx189wAbIhWChx4kVbvsyqKMF4U=", "path": "github.com/aws/aws-sdk-go/service/sqs", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "PtuIN89eMO5SviABD90qwoGPD4M=", + "checksumSHA1": "ijz0rBDeR6JP/06S+97k84FRYxc=", "path": "github.com/aws/aws-sdk-go/service/ssm", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "d9vR1rl8kmJxJBwe00byziVFR/o=", + "checksumSHA1": "W1oFtpaT4TWIIJrAvFcn/XdcT7g=", "path": "github.com/aws/aws-sdk-go/service/sts", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" + }, + { + "checksumSHA1": "Uw4pOUxSMbx4xBHUcOUkNhtnywE=", + "path": "github.com/aws/aws-sdk-go/service/swf", + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "sjZeBzVjWM2tWSIOr7p13Kx2iNU=", + "checksumSHA1": "on6d7Hydx2bM9jkFOf1JZcZZgeY=", "path": "github.com/aws/aws-sdk-go/service/waf", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "rM51Xn6MSt2XJzSF1p51m6G4u/8=", + "checksumSHA1": "rHqjsOndIR82gX5mSKybaRWf3UY=", "path": "github.com/aws/aws-sdk-go/service/wafregional", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" }, { - "checksumSHA1": "AUwsvYff1GCOYtCgB6wd0doC9kc=", + "checksumSHA1": "5HDSvmMW7F3xzPAzughe4dEn6RM=", "path": "github.com/aws/aws-sdk-go/service/workspaces", - "revision": "e6c5e190452424b404ecdb81d6e3991d46b18e9d", - "revisionTime": "2017-11-09T19:26:00Z", - "version": "v1.12.26", - "versionExact": "v1.12.26" + "revision": "fd9b7491525896e01db35c1e20a5bd94bf11491c", + "revisionTime": "2017-12-15T20:15:07Z", + "version": "v1.12.48", + "versionExact": "v1.12.48" + }, + { + "checksumSHA1": "usT4LCSQItkFvFOQT7cBlkCuGaE=", + "path": "github.com/beevik/etree", + "revision": "af219c0c7ea1b67ec263c0b1b1b96d284a9181ce", + "revisionTime": "2017-10-15T22:09:51Z" }, { "checksumSHA1": "nqw2Qn5xUklssHTubS5HDvEL9L4=", diff --git a/website/aws.erb b/website/aws.erb index 71453affcc6..5bf9ba7af53 100644 --- a/website/aws.erb +++ b/website/aws.erb @@ -104,6 +104,9 @@ > aws_elasticache_replication_group + > + aws_elb + > aws_elb_hosted_zone_id @@ -134,6 +137,9 @@ > aws_instance + > + aws_instances + > aws_internet_gateway @@ -154,6 +160,10 @@ > aws_nat_gateway + + > + aws_network_interface + > aws_lb @@ -292,7 +302,9 @@ > aws_appautoscaling_policy - + > + aws_appautoscaling_scheduled_action + > aws_appautoscaling_target @@ -387,6 +399,10 @@ aws_cloudwatch_log_metric_filter + > + aws_cloudwatch_log_resource_policy + + > aws_cloudwatch_log_stream @@ -468,6 +484,9 @@ > aws_cognito_identity_pool_roles_attachment + > + aws_cognito_user_pool + @@ -547,6 +566,9 @@ > aws_dx_connection + > + aws_dx_connection_association + > aws_dx_lag @@ -1103,6 +1125,30 @@ + > + MQ Resources + + + + > + MediaStore Resources + + + > OpsWorks Resources + > + Service Discovery Resources + + + > Step Function Resources